text:
Uncaught TypeError: Cannot read property 'length' of undefined in Chrome 48

As of Chrome 48 (specifically tested on 48.0.2564.97), the following error appears upon initialization
Messenger()

yields...
Uncaught TypeError: Cannot read property 'length' of undefined (line 840)

It appears this.history is not being set...

Is no one else having this issue? Now on Chrome 51 and issue still exists. Even with 1.5

I also have this error, but not how to fix it

@crissty I ended up removing the plugin and using my own code since this project doesn't seem to be thriving

Do either of you have an example page where this is happening? I can't seem to replicate it.

I am having a similar issue but for this.options.themes in the file https://github.com/HubSpot/messenger/blob/master/docs/welcome/javascripts/theme-sel.js#L25:

Uncaught TypeError: Cannot read property 'themes' of undefined

Got it!!! My similar issue was gone with UnderscoreJS VERSION 1.4.3 and BackboneJS VERSION 0.9.10.

authors: Friss crissty kjantzer leomperes

repo: HubSpot/messenger


text:
center atom css conflicts with bootstrap css

One cannot use pace center atom theme when using bootstrap. The center atom orientation and design breaks.
there is some problem because of bootstraps default box-sizing property.
However, I fixed by adding the following to pace-theme-center-atom.css in css of pace classes
-webkit-box-sizing:initial !important;
-moz-box-sizing:initial !important;
box-sizing:initial !important;
Someone should resolve this issue or fix the center atom css and make it compatible with bootstrap.

Looks like this PR will fix the issue
#222

Here is what I get using center atom with the PR#222.

It did not fix for me.

source: gharchive/issue

authors: Alex-Werner ShubhamBadal joaocastanho kennyglenn

repo: HubSpot/pace

license: mit

license_type: permissive

license_source: bigquery


text:
Add copyTargetWidth / copyTargetHeight options

This PR implements two new options that allow to force tethered elements to take the same size than the target. It's useful in a large number of use case, such as the one demonstrated by the Select library (https://github.com/HubSpot/select/issues/13).

👍

Ping ?

I feel like this is beyond the scope of what Tether should do. Tether is for positioning, not styling. If Tether provided a callback at this stage, it would be easy for the user to add this functionality.

I don't quite agree. Positionning is directly related with an object size, as evidenced by the constraint feature. Furthermore, I think there is only few use cases requiring to manually update the tethered element - and because how basic copying the container width/height is, I believe it should be done manually.
WDYT?

ping ? 😃

I've rebased my changes and commited a version increase commit.

Ping @adamschwartz @TrevorBurnham?

@arcanis instead of just copy target width and height, what about being able to specify a percentage of the width and height?

That would be a possibility. However, I don't work on the project who used tether anymore, so I won't be able to test any further change. You can open another PR if you wish to implement a more complex solution.

Ah that's a bummer. Yea it seems like a useful feature and a good PR. Oh well. Thanks for your help and effort.

Definitely useful, in scope with this module and very simple ! And I need this, too :)

I'm going to go ahead and close this PR to clean my list. Maintainers don't seem willing to merge this anytime soon, despite the clear interest.

Sad, this was such a trivial PR. As far as im concerned I'll stick to the fork.

Is this still impossible in upstream? :sob:

I feel like this is beyond the scope of what Tether should do. Tether is for positioning, not styling.

Once the tethered element is moved outside its original position, there's no elegant way to assign a width to the element equal to its target. It is plain impossible to do with CSS, and it's extremely frustrating to do with JS due to having to wait for animations, transitions, etc.
Therefore, Tether.js is the only player that can make it right. This PR is simple and efficient.
Please @TrevorBurnham @arcanis, you must advance this. :bow:

Agree with @lolmaus
I just installed the version @arcanis created, and it worked flawlessly. I recommend install his fork if you need this functionality:
npm install aracanis/tether#patch-1

You may want to look at https://popper.js.org, it's similar, with a plugin API.

source: gharchive/pull-request

authors: TrevorBurnham adamschwartz arcanis bdwain jide lolmaus tsnolan23

repo: HubSpot/tether


text:
Select table inside Area element in form mode throws properties of undefined with controlId

version
0.0.97
Link to minimal reproduction
No response
Steps to reproduce
Create a Area element
Change to form mode
Insert a table
Select all rows
Right click for table options
Editor is frozen and error is displayed on console

What is expected?
User needs to be able to add and remove tables and edit content in form mode
What is actually happening?
Editor is frozen and log is displayed

Editor Value
No response
System Info
No response
Any additional comments?
No response

https://github.com/Hufe921/canvas-editor/issues/899

license: MIT

license_source: github-api


text:
"Download manifest" button bug behaviour when one project is selected

Hello,
When one project is selected (see screenshot) - the Download manifest button still has all projects selected. This should be corrected to reflect user expectations to only get that one project.
Let me know if questions!
p.s. this is a project link we send out to individual projects so that they can view their data:
https://staging.data.humancellatlas.org/explore/projects?filter=[{"facetName"%3A"project"%2C"terms"%3A["1M+Immune+Cells"]}]
Gabby

┆Issue Number: HCAB-312

Hi @gabsie We had the fix for this on develop and I just now promoted it to staging. Can you take a look and see if it looks like you expect now? Refresh your browser and give your demo link a try.

Oh that's cool, thanks @NoopDog!
Gabs

authors: NoopDog gabsie

repo: HumanCellAtlas/data-browser


text:
Duplicate/Copy/Paste nodes?

Doesn't seem like this is possible, and it would be awesome!
Copying multiple nodes from one graph to another is my use case.

I'm working on these but local to a graph. I'm not sure how it will work from one graph to another but I'll see what I can do!

Copy / duplicate / paste in the same graph was added in f1e2ef745c7d6c5c9ab0a1af9c522a4b9fcdb943
From one graph to another though :thinking: it wont be as easy but I think one possible way to do it for now would be to add an "Import template" button and it just copy everything from one graph to the current one.

authors: BryceBubbles HungryProton


text:
Evo 1018 port widget data selection

So I want to propose a pattern for us to follow.
As I mention in the readme update:
A new pattern being introduced for the application is the addition of useEnsureX, which is a custom hook that handles both selecting X from the store and, if it isn't present, also handles the fetching of that data.
Take a look at the below initial example useEnsureCurrentGroup and tell me what you think about the idea of moving to this idea. In my eyes, the biggest benefit is that when you drop one of these hooks into a component, you know that component won't have an implicit dependency on something else to make the request for the data it needs.

I had greater ambitions to replace getWidgetItems and push those data selections/transformations into their respective widget components but a bunch of the logic around visibility is handled in the Widget component. So I don't currently have a good idea about how to handle that...

Closes #1018

repo: Hylozoic/hylo-evo


text:
Feature/eddie branch2

update main handlebars to render two different navbars

looks good


text:
Change Detection Variable Deletion causes a 500 error

Describe the bug
In a test that I'm editing on Red Hat's internal Horreum instance (https://horreum.corp.redhat.com/test/212), when deleting a variable in change detection, upon clicking "Save", a 500 error from the server occurs, and nothing is displayed to the user to indicate something went wrong.  No details are given in the 500 error that can be seen on the client browser.
To Reproduce
TBD
Simply making a new test, then adding a change detection variable, saving, then removing it does NOT reproduce this bug

@kdvalin this looks like a referential constraint that should have been solved by https://github.com/Hyperfoil/Horreum/pull/550 .
@whitingjr Looks like we still might have an issue with fk constraints;
2023-07-11 17:19:35,445 2d64d8fced09 quarkus-run.jar[7] WARN  [org.hib.eng.jdb.spi.SqlExceptionHelper] (executor-thread-7652) SQL Error: 0, SQLState: 23503
2023-07-11 17:19:35,446 2d64d8fced09 quarkus-run.jar[7] ERROR [org.hib.eng.jdb.spi.SqlExceptionHelper] (executor-thread-7652) ERROR: update or delete on table "variable" violates foreign key constraint "fk_datapoint_variable_id" on table "datapoint"
  Detail: Key is still referenced from table "datapoint".
2023-07-11 17:19:35,446 2d64d8fced09 quarkus-run.jar[7] INFO  [org.hib.eng.jdb.bat.int.AbstractBatchImpl] (executor-thread-7652) HHH000010: On release of batch it still contained JDBC statements
2023-07-11 17:19:35,447 2d64d8fced09 quarkus-run.jar[7] ERROR [io.hyp.too.hor.svc.AlertingServiceImpl] (executor-thread-7652) Failed to update variables: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not execute statement
        at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:154)
        at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:181)
        at org.hibernate.query.internal.AbstractProducedQuery.executeUpdate(AbstractProducedQuery.java:1705)
        at io.quarkus.hibernate.orm.panache.common.runtime.AbstractJpaOperations.delete(AbstractJpaOperations.java:405)
        at io.hyperfoil.tools.horreum.entity.alerting.DataPoint.delete(DataPoint.java)
        at io.hyperfoil.tools.horreum.svc.AlertingServiceImpl.lambda$updateVariables$38(AlertingServiceImpl.java:794)

For clarity:  This is not a blocker for me presently, but it is a bit annoying

@johnaohara yes it looks like the trigger called before_variable_delete in #550 was not deployed to the db. The function before_variable_delete_func did get in.

before_variable_delete is installed on variable

1713979 [2023-07-12 10:22:19.103 EDT] [horreum] [4433110] ERROR:  update or delete on table "variable" violates foreign key constraint "fk_datapoint_variable_id" on table "datapoint"
1713979 [2023-07-12 10:22:19.103 EDT] [horreum] [4433110] DETAIL:  Key is still referenced from table "datapoint".
1713979 [2023-07-12 10:22:19.103 EDT] [horreum] [4433110] STATEMENT:  delete from variable where id=$1

I cannot recreate this issue using Change Detection Variables on another Test. Deletion of the Variable works as intended. For me the BEFORE DELETE trigger removes any Datapoint and Change rows before the Variable itself is deleted. This opaque issue reminds me that RLS may be tripping us up here.

Any progress on this?  This problem is still present, and I would like to remove some variables from change detection in my test.

This issue is still WIP (Work In Progress)

@kdvalin is this still an issue? I have been trying to recreate this issue using the production data and I am not able to recreate

nvm I can recreate

The root cause of the issue is that we have datapoints (from change detection) that have a dataset_id that no longer exists.  RLS is unable to verify ownership of these datapoints, so the delete fails for datapoints, then variable.delete also fails
Checking the referential integrity of the schema, there is a FK constraint on the datapoints table: https://github.com/Hyperfoil/Horreum/blob/master/horreum-backend/src/main/resources/db/changeLog.xml#L2236
However, the column was subsequently changed, and it does not appear to enforce that constraint any longer: https://github.com/Hyperfoil/Horreum/blob/master/horreum-backend/src/main/resources/db/changeLog.xml#L2888
Deleting the orphaned datapoints resolves the issue, but we need to ;

clean up all orphaned datapoints
fix the referential integrity between datapoints and datasets

There is approx 1.1k datapoints affected by this issue

@kdvalin this issue has been solved. You can now delete the problem Change Detection Variables on your test.

I can confirm that this problem has been fixed.  Thank you!

authors: jesperpedersen johnaohara kdvalin whitingjr

repo: Hyperfoil/Horreum


text:
Setup unit testing bypassing REST

Changes proposed
With this PR I am proposing teh following improvements:

[x] Setup new tests bypassing the REST, this way we can directly inject and call the services we want to test (I added them for SchemaService and TestService).

[x] Improve test coverage for TestService, this won't be a huge improvement but at least a starting point

Before:

After:

[x] Make some fixes or improvements that I noticed while implementing additional tests.

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.

Unfortunately, I noticed only right now that I introduced some formatting changes :disappointed:

Hi @johnaohara , thanks for the review :pray:
I think I addressed all your comments (and applied changes accordingly) - see also this https://github.com/Hyperfoil/Horreum/pull/1656#discussion_r1595321834

@lampajr please can you squash and then I will merge, thanks

Done :heavy_check_mark:


text:
Nitfixing24

FAQ in error msg
fabric 2.4 in CI
doc update

fix ci error

这里拿不到 ${{ secrets.TWGC_DAVIDKHALA }}有点神奇，我在[这里]开个sancheck 检查下
github.com/Hyperledger-TWGC/Hyperledger-TWGC

LGTM

authors: SamYuan1990 davidkhala guoger

repo: Hyperledger-TWGC/tape


text:
The help-text should wrap only after the width of the input box.

Help text should utilize the available width.

@frjo should we mark this as won't fix.

repo: HyphaApp/hypha


text:
Extend the validate() signature

Please confirm that this PR has done the following:

[x] Tests Added
[x] Documentation Added
~Name of contributors Added to AUTHORS.rst~
[x] Description in RELEASE_NOTES.md Added

Description of PR
This PR extends the signature of the validate() method to take filter-arguments directly instead of using a (nested) dictionary, so
df.validate({"Primary Energy": {"up": x, year=y}})

can now be called as
df.validate(variable="Primary Energy", year=y, upper=x)

This allows to validate only a selection of the datapoints, e.g., filtered by region or model/scenario name. The signature can also more easily be called from a (to-be-implemented) processor in the nomenclature package.
The option to use nested dicts is marked as deprecated with release 3.0.

Thanks @phackstock - implemented your suggestion for upper_bound and lower_bound, but I don't think that checking deprecation-warnings is worth the effort...

repo: IAMconsortium/pyam


text:
Please specify what version of tensorflow and keras was used for development.

There are some consecutive errors when using tensorflow 2.1.0, keras 2.3.1, which is the latest version currently.

This script was designed back when TF2.0 was not yet around. Sadly, I did not save the versions of these libraries back then. On doing some digging, I think Keras 2.2.5 with Tensorflow 1.14 or Tensorflow 1.13 should work.

Thank you so much brother.

authors: IAmSuyogJadhav harimohanrai kyuchoi


text:
Code is breaking on xcode 8.0 beta 4

Code is not working on xcode 8.0 beta 4, throws many error

@techmehra did you try swift3 branch https://github.com/IBAnimatable/IBAnimatable/tree/swift3

Yes I have try the swift3 branch but throwing lot of error
and is there is any way to integrate it through cocoapods

@JakeLin this library become one of my toolkit for ios development please help me with this

I need to upgrade it to support Xcode 8 beta 4, or can you help me with this to create a PR?

@JakeLin    guard let unwrappedAnimationTypeString = animationType, animationType = AnimationType(rawValue: unwrappedAnimationTypeString) else {
return
}
getting use of local variable animationType before it declaration

Type 'ContainerTransition' does not conform to protocol 'UIViewControllerContextTransitioning'

Method does not override any method from its superclass  for frameOfPresentedViewInContainerView

@JakeLin  i am not able to fix the  guard let unwrappedAnimationTypeString = animationType, animationType = AnimationType(rawValue: unwrappedAnimationTypeString) else {
return
} and now the code is working but animation is not working

@JakeLin I have fixed the code for xcode 8.0 beta 4 please check the pull request

I meet the same problem in another framework, can you tell me how to fix it by myself?

@Clcanny Could you please put more details on what are you talking about? We support Xcode Version 8.2.1 (8C1002) already.

authors: Clcanny JakeLin techmehra

repo: IBAnimatable/IBAnimatable


text:
Fix for 'No such module IBAnimatable' in playground

Fix for issue #251
Users may need to do a clean & build and/or close and open the project again after applying this fix in order for Playgrounds to behave itself.

          1 Error

:no_entry_sign:
Any changes to library code need a summary in the Changelog.

  Generated by :no_entry_sign: danger

authors: IBAnimatableBot emcphersonburke


text:
Install to $HOME

Please add an option in the install_bluemix_cli installer script to install to $HOME without requiring root access.
$HOME/.local/bin etc, is a well-established convention that I'd be very happy if you supported.

Thanks for your feature requirement.
So far the design is to install to system path, so that every user on the machine will be able to use it.  The installation to user's directory is in backlog, we will consider it in the future.

repo: IBM-Bluemix/bluemix-cli-sdk


text:
Merge the memory leak fixes into master

Description
Remove reuse of ServerRequest and ServerResponse objects in KituraNet in cases of KeepAlive. Move up in the stack the HTTP Parsing and as a result remove the super class HTTPIncomingMessage, that was common to ClientResponse and HTTPServerRequest.
Motivation and Context
This fixes major memory leak issues.
This code needs some cleaning up. But it solves such a real problem, that I think it should be merged now.
How Has This Been Tested?
This has been tested by the KituraNet unit tests and the performance benchmark.
Checklist:

[ ] I have submitted a CLA form
[ ] If applicable, I have updated the documentation accordingly.
[ ] If applicable, I have added tests to cover my changes.

Codecov Report

Merging #176 into master will decrease coverage by -1.09%.
The diff coverage is 75.96%.

@@            Coverage Diff             @@
##           master     #176      +/-   ##
==========================================
- Coverage   84.47%   83.38%   -1.09%
==========================================
  Files          27       26       -1
  Lines        2428     2510      +82
==========================================
+ Hits         2051     2093      +42
- Misses        377      417      +40

Impacted Files
Coverage Δ

Sources/KituraNet/IncomingSocketManager.swift
85.45% <ø> (ø)
:white_check_mark:

Sources/KituraNet/HTTP/HTTPServerResponse.swift
77.45% <100%> (-5.55%)
:x:

Sources/KituraNet/HTTP/HTTPServer.swift
77.5% <100%> (+0.77%)
:white_check_mark:

Sources/KituraNet/ClientResponse.swift
76.82% <69.84%> (-23.18%)
:x:

Sources/KituraNet/HTTP/HTTPServerRequest.swift
73.68% <73.4%> (-26.32%)
:x:

...s/KituraNet/HTTP/IncomingHTTPSocketProcessor.swift
81.1% <82.35%> (+1.1%)
:white_check_mark:

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 3dccb76...8b159ed. Read the comment docs.

It turns out that the performance test we ran for this issue was flawed;  due to an error in the git commands, while building, the issue_1012 branch was reset back to the point it was branched (we effectively compared Kitura-net 1.6.1 to itself).
There is a performance penalty to this change of up to 20% (Hello World, which is the worst case scenario).
Ubuntu 16.04:
               | Throughput (req/s)      | CPU (%) | Mem (kb)     | Latency (ms)                   | good
Implementation | Average    | Max        | Average | Avg peak RSS | Average  | 99%      | Max      | iters
---------------|------------|------------|---------|--------------|----------|----------|----------|-------
    -net 1.6.1 |    83123.9 |    84042.8 |    98.7 |        25398 |      1.6 |      7.9 |     33.5 |     3
    -net 1.6.2 |    66985.0 |    68645.2 |    95.7 |        24392 |      1.9 |      4.1 |     22.7 |     3

Macbook:
               | Throughput (req/s)      | CPU (%) | Mem (kb)     | Latency (ms)                   | good
Implementation | Average    | Max        | Average | Avg peak RSS | Average  | 99%      | Max      | iters
---------------|------------|------------|---------|--------------|----------|----------|----------|-------
    -net 1.6.1 |    39925.3 |    41563.7 |    80.5 |        64074 |      6.7 |    223.8 |    546.4 |     3
    -net 1.6.2 |    37547.3 |    38003.8 |    78.6 |       114065 |     10.0 |    410.7 |    730.7 |     3

authors: codecov-io djones6 shmuelk

repo: IBM-Swift/Kitura-net


text:
Enhance support for nil values

This PR adds support for using nil to represent NULL for default column values.
The PR also adds test for inset, update and table creation when using nil values.

I have reconsider the api changes involved here and concluded they carry too much risk of accidental breakage.
I am going to re-work the API to make this change safer.

repo: IBM-Swift/Swift-Kuery


text:
Question : How did you generate "angular-app" folder?

Hi ,
I just wanted to know the command you have used to generate the "angular-app" folder when I try to generate It is creating only for asset but not for participant, but in your example I can see it is generating for both of them.

@rajadilipkolli I created the participant and transactions separately by using similar format but making their respective rest-server api calls

@raheelzubairy would you show me your code/ commands, how you created participants and transactions?

I created participants and transactions with similar template as assets.  With the new update, the generator now is creating an angular app with participants and transactions: https://hyperledger.github.io/composer/latest/tutorials/developer-tutorial

authors: nekyl raheelzubairy rajadilipkolli

repo: IBM/Decentralized-Energy-Composer


text:
CORS Support fix

These changes update the conditional check for CORS Support to work in both Debug: ON and OFF modes. Fixes #23

Need to publish new https://pypi.org/project/maxfw/ package and update https://github.com/IBM/max-base for the change to take effect

^ @djalova

Just published it
https://pypi.org/project/maxfw/
Took a little longer because Travis took a while to run the build yesterday.

authors: djalova gdequeiroz kastentx ptitzler

repo: IBM/MAX-Framework


text:
put focus on primary focus element in modal if specified

Closes IBM/carbon-components-angular#102
Allows the developer to specify what element within a modal initial focus should go to when the modal is opened.
Changelog
Changed

selectorPrimaryFocus property added to the Modal which determines which element to focus.
ngOnInit updated to find the element with the selectorPrimaryFocus selector and focus is called on it if available

Behavior after this change when the data-modal-primary-focus selector is placed on the primary button in the modal footer - note the focus styling on the close button in the modal footer, instead of the previous blue border on the entire modal:

@cal-smith @asudoh Comments addressed. Can you review again please?

@zvonimirfras I updated the selector to remove 'data-' and removed the extra space.
I created a new issue focusing the first focusable element by default as I don't have time to work on that right now - https://github.com/IBM/carbon-components-angular/issues/124

repo: IBM/carbon-components-angular


text:
NumberInput cannot be controlled in case an invalid value has been entered directly

The NumberControl ignores the value property if invalid data has been entered in the input field directly
Detailed description
Using a simple
currentValue = 2;
<NumberInput
   min={0}
   max={10}
   value={currentValue}
   onChange={...}
/>

If a user enters something invalid like ,,  into the input field directly, it is not possible to ignore such input in onChange by keeping the currently used value property.
Which means that NumberControl cannot be properly controlled if it gets into invalid state.
Additional information
Code wise this is due to the implementation of
static getDerivedStateFromProps({ min, value }, state) {
    const { prevValue } = state;
    return prevValue === value
      ? null
      : {
          value: isNaN(min) ? value : Math.max(min, value),
          prevValue: value,
        };
  }

This method is the only place where state.prevValue is changed. Given the condition prevValue === value, this method will only ever update the state if prevValue !== value.
Which means it is not possible to ignore input because ignoring means to provide the same value property all the time, which causes prevValue === value to hold.
At the same time
 handleChange = evt => {
    if (!this.props.disabled) {
      evt.persist();
      evt.imaginaryTarget = this._inputRef;
      this.setState(
        {
          value: evt.target.value,
        },
        () => {
          this.props.onChange(evt);
        }
      );
    }
  };

ensures that even invalid data entered into the input field updates the internal state (which cannot be patched from outside due to the finding above).
Expected behavior: It should be possible to enforce a certain value using properties.

I have found an easy workaround that allows to get rid of the internal state if necessary:
<NumberInput
   key={"KEY_PREFIX_" + this.state.resetCounter}
   ...
/>

I introduce a key property that is incremented (thereby changed) each time a new component instance is needed in order to enforce that my value property might be ignored.

hi @anschoen thank you for reporting this! As you pointed out, this issue may be due to our usage of derived state, which I believe stems from our need to provide a fully controlled as well as a fully uncontrolled component. For the time being, I believe we can proceed with your recommendation to use the key attribute to create new instances
on a side note, it may be worth it for us to look into provided separate fully controlled/uncontrolled implementations of our form components, but first we'll have to look into this further

Hi @anschoen 👋 thank you for reporting - Dropped the following code into https://codesandbox.io/s/github/IBM/carbon-components-react/tree/master/examples/codesandbox but couldn't reproduce the issue (comma couldn't be entered there):
import React from 'react';
import { render } from 'react-dom';
import { NumberInput } from 'carbon-components-react';

let currentValue = 2;

const App = () => (
  <div>
    <NumberInput
      min={0}
      max={10}
      value={currentValue}
      onChange={evt => {
        console.log('Event:', evt);
      }}
    />
  </div>
);

render(<App />, document.getElementById('root'));

That said, do you want to create a reduced case like that? Thanks!

authors: anschoen asudoh emyarod

repo: IBM/carbon-components-react


text:
zero length get/read causes hang

While putting zero-length data into the storage works (an empty string can be found in Redis after dbrPut()), attempting to read or get the empty value causes the library to get stuck in an endless loop.

fails because of a wrong check for 0 length string when creating completions for read/get. Fix is on the way.

repo: IBM/data-broker


text:
Remove extra login in config_docker.sh

Signed-off-by: Rob Hundley rwhundle@us.ibm.com

/lgtm

repo: IBM/ibm-iam-operator


text:
DDS FILE object not detected by make, always rebuilt

For DSPF/PRTF/PF/LF source, Bob is rebuilding the *FILE objects every single time.

It turns out the the *FILE objects are represented as directories in the IFS view of /QSYS.LIB/name.LIB/file.FILE/mbr1.MBR
This is probably confusing the VPATH of the make

Also turns out that our IBM i machine is in a different timezone - make sure that this is not simply an artifact of using rsync.

repo: IBM/ibmi-bob


text:
feat(IamAssumeAuthenticator): introduce new authenticator type

This commit introduces the new IamAssumeAuthenticator which will fetch an IAM access token using the IAM getToken operation's "assume" grant type.  The resulting access token allows the application to assume the identity of a trusted profile, similar to the "sudo" feature of Linux.

in the Authentication.md I found 4 typos

fixed

Just pushed the commit with the immutable-related changes.  I'll request a re-review...

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

authors: ibm-devx-sdk padamstx

repo: IBM/java-sdk-core


text:
windows travis coverage

add windows travis
build windows electron distribution on windows travis
test the build

initial support landed in #3332

repo: IBM/kui


text:
chore(readme): updated the semantic tags in readme

PR summary
updated the semantic tags in readme
Fixes: <! -- link to issue -->
PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[ ] Build/CI related changes
[x] Documentation content changes
[ ] Other (please describe)

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

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

repo: IBM/networking-go-sdk


text:
Change handleWarning function

Signed-off-by: Alan Cha Alan.cha1@ibm.com

@Alan-Cha Great work!

authors: Alan-Cha ErikWittern

repo: IBM/openapi-to-graphql


text:
ibm-platform-services is not compatible with ibm-cos-sdk-config which is >1.1.0 version.

Describe the bug
ibm-platform-services is not compatible with ibm-cos-sdk-config which is >1.1.0 version. (any version of ibm-platform-services)
To Reproduce
pip install --upgrade ibm-platform-services  ibm-cos-sdk-config
This always installs ibm-cos-sdk-config 1.1.0. Which is a pretty old version and conflicts with actual cos sdk usages and produces errors like :
b_size, b_num = getBucketSize(b)

File "/code/cosGetBuckets.py", line 25, in getBucketSize
client = ResourceConfigurationV1(iam_apikey=os.environ["CLOUD_API_KEY"])
File "/usr/local/lib/python3.7/site-packages/cos_config/resource_configuration_v1.py", line 79, in init
display_name='ResourceConfiguration')
TypeError: init() got an unexpected keyword argument 'vcap_services_name'
List the steps that can be used to demonstrate the bug.  Include the name of the service and operation that you're trying to invoke, if applicable.  Be sure to describe any relevant info regarding parameter values used with your API invocation.
Expected behavior
As I need to use platform services for getting billing information from Cloud account and ibm cos sdk to get bucketsize as well. Even if I let pip decide for apporpirate versions together it eventually goes down to 1.1.0 level
Screenshots
If applicable, add screenshots to help explain your problem.
Must gather (please complete the following information):

Python Version 3.7

Hi @lokeshdubeyin,
Thanks for letting us know about this issue. Let us take a look at it and get back to you!
Thank you!

@lokeshdubeyin
I believe the root of the issue is that the two package requires different version from ibm_cloud_sdk_core. ibm-platform-services requires ibm_cloud_sdk_core>=3.11.3,<4.0.0 while ibm-cos-sdk-config requires [ibm-cloud-sdk-core>=0.5.3,<1.0.0]{https://github.com/IBM/ibm-cos-sdk-python-config/blob/master/requirements.txt}.
What versions do you have installed in your project?

@lokeshdubeyin
We had a chat with the COS team about this issue and there will be a release which resolves this issue in the future. Unfortunately no solid timeline or date for this yet. I opened an issue in the COS team repo so they are aware of your issue and they might can help you to find a workaround until the new release comes out.

Thanks @Andras-Csanyi for letting us know. I'll be on the look out for this.

authors: Andras-Csanyi lokeshdubeyin

repo: IBM/platform-services-python-sdk


text:
It took 5 seconds for a consumer group to start

Versions
Please specify real version numbers or git SHAs, not just "Latest" since that changes fairly regularly.

Sarama
Kafka
Go

v1.34.0

1.16

Configuration
What configuration values are you using for Sarama and Kafka?
default configuration

Logs
When filing an issue please provide logs from Sarama and Kafka if at all
possible. You can set sarama.Logger to a log.Logger to capture Sarama debug
output.
logs: CLICK ME

Problem Description
Hi, I'm using the sarama consumer group in our service. In the unit test, I created a mock broker, and create one consumer group object. In the test function, I started another goroutine to let the consumer group start to consume messages from the mocked broker, then the original one just sleep for a while and cancel the consumer group goroutine to stop consuming.
func (suite *KafkaConsumerTestSuite) TestConsumeMessage() {
	handler := func(ctx context.Context, message string) error {
		suite.logger.Printf("handle: %s", message)
		suite.True(message == "foo" || message == "bar")
		return nil
	}

	ctx, cancel := context.WithCancel(suite.ctx)

	// ConsumeMessage is a blocking call, runs in a goroutine
	go func() {
		suite.logger.Infof("start consuming")
                 // ConsumeMessage is a wrapper function of consumerGroup.Consume()
		suite.Nil(suite.consumer.ConsumeMessage(ctx, handler))
	}()

	// Wait 5 seconds to let ConsumeMessage finish and then cancel
	// Test on a mac with local kafka cluster shows it takes at least 5 seconds
	// for a sarama consumer group comming up and running
	time.Sleep(5 * time.Second)
	cancel()
}

After the test, I found it took at least 5s for a consumer group to start.
If I set the time less then 5s, I got the error log:
time="2022-07-11T14:29:00-07:00" level=error msg="Error from consumer: kafka: tried to use a consumer group that was closed"

On the contrary, if it's longer than 5s :
time="2022-07-11T14:39:04-07:00" level=info msg="start consuming"
time="2022-07-11T14:39:08-07:00" level=info msg="Sarama consumer up and running!..."
time="2022-07-11T14:39:08-07:00" level=info msg="handle: foo"
time="2022-07-11T14:39:08-07:00" level=info msg="handle: bar"

We need to add many unit tests of consumer group to our service, including the functionality of handler, and each topic has different ways of handling. Since there is no mock for the consumer group, we create a mock broker for each consumer for simplicity. However, due to this "5s", our unit tests for the consumer are ended up around 1 min in total to finish, which is quite long, comparing to the rest module in our services which took at most 1s.
Is there anyway to get a quick response from the consumer group, or is there anything I missed? I really appreciate your help. Thanks

@tuliogomesbarbosa @Siyu-silvia are you still seeing this behaviour with modern Sarama versions? There were a bunch of fixes and improvements in this area of code over time.

@dnwe it looks like this is still happening: https://github.com/dapr/dapr/issues/7235

@dnwe this is causing significant problems for us who use Dapr for Kafka PubSub

@dnwe is this something that you are able to triage again?

@tuliogomesbarbosa @Siyu-silvia are you still seeing this behaviour with modern Sarama versions? There were a bunch of fixes and improvements in this area of code over time.

Hi, Could you please help to show the pull request links?

authors: ParrySMS Siyu-silvia dnwe olitomlinson yaron2

repo: IBM/sarama


text:
Please clarify Open Shift CRC installation documentation in the SPM Runbook

I am following the SPM Runbook and I want to install Openshift CRC (please see  https://ibm.github.io/spm-kubernetes/prereq/openshift/codeready-containers).  I clicked that that latest release link to download Code Ready Containers, but the page catches me off guard. I was expecting to see the software listed/download options. Instead I had to poke around a bit, and I finally realized/discovered what I needed was under the "Sandbox" tab. We should update the documentation to clarify that / eliminate confusion for the developer/customer.
It looks like this when you click latest release link:

The installer and pull secret are actually under the Sandbox tab:

Hi @kdombros
Thanks for pointing this out. This is certainly not what the page looked like when we write that section.

Hi @kdombros
Thanks for pointing this out. This is certainly not what the page looked like when we write that section.

Looks like the RedHat site has been updated and the link currently in the runbook is once again redirecting to the intended Sandbox/Local page.
Closing.

authors: andreyzher kdombros

repo: IBM/spm-kubernetes


text:
Changed order of defer function to avoid iterating and updating map a…

…t same time.

This change is

Coverage remained the same at 58.774% when pulling a52b99fd237e5c7e784d2b66f4553c2a533fc0e9 on UB-1761 into ae2f7c461899526ccdfb69a597e2ef2eecbb5ff8 on release_v2.0.0.

authors: coveralls olgashtivelman

repo: IBM/ubiquity


text:
Gallery update

As discussed at IDR meeting this morning:

/gallery/ will become the home-page of IDR (see https://github.com/ome/omero-gallery/pull/31).
https://idr.openmicroscopy.org/about/ will include text from https://idr.openmicroscopy.org/about/about.html
The "About Us > Overview" link in header links to https://idr.openmicroscopy.org/about/index.html.
The "Take a look at the data" orange button links to /gallery/ home page"

@sbesson That's strange: when I initially compared font-sizes on the idr vv gallery, I also saw some difference, but it turned out for me that I had the gallery page zoomed in to 110%. With Ctrl - I reset to 100% and now they look the same.
Also added Cell-IDR and Tissue-IDR links and moved Analysis and Deployment links under 'About' menu on the right of the page, as suggested in https://github.com/ome/omero-gallery/issues/26#issuecomment-499144751

Thanks @will-moore for aligning the styles. I also appreciate the reduction in the number of top-level elements. Proposing to get this tagged and deployed with gallery together with the redirects i.e. in a production like environment. From there, we can review the outstanding styling issues and capture RFEs as issues.

authors: sbesson will-moore


text:
🛑 IDR (well 4852) is down

In 0e78789, IDR (well 4852) (https://idr.openmicroscopy.org/webclient/?show=well-4852) was down:

HTTP code: 502
Response time: 99 ms

Resolved: IDR (well 4852) is back up in de258ed after 29 minutes.

repo: IDR/upptime


text:
🛑 IDR (dataset 369) is down

In ac68b17, IDR (dataset 369) (https://idr.openmicroscopy.org/webclient/?show=dataset-369) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IDR (dataset 369) is back up in 9e00631 after 14 minutes.


text:
Do not translate specific JSON keys

Hey there,
It would be awesome if you could include the option to specify an array of JSON keys whose values wouldn't be translated.
Azure Translator supports marking certain parts of the origin doc not to be translated, unfortunately that only works for HTML, and not for JSON.
Thanks!

This too seems like a good feature ask, I like it. Is this something that you might be interested in adding a PR for?

authors: IEvangelist erjosito

repo: IEvangelist/resource-translator


text:
add capability statements

close #70

Given that these did not exist before, I ask for review of the PR.
There is no functional change, but some may want CS. (will be helpful in MHDS)
Note that these CS pull ALL of the profiles.

@JohnMoehrke Is this a temporary home until RESTful ATNA is converted to an IG?

The CapabilityStatements are still needed. There is replication of the ATNA actor because there is no CapabiltyStatement to import from. Once that is done, yes we could adjust these.

as you have noticed the ATNA RESTful supplement is likely needing to be updated. Why did we specify patient.identifier, but not patient? same for others.
Note I did not use the extensions in the CapabilityStatement to indicate that date is required.

as you have noticed the ATNA RESTful supplement is likely needing to be updated. Why did we specify patient.identifier, but not patient? same for others.
Note I did not use the extensions in the CapabilityStatement to indicate that date is required.

I'm not sure why only resource.identifier was specified.  Maybe @gregoriocanal remembers?

I suspect it was because at the time we were mostly thinking of providing a Query against a DICOM AuditMessage database, that would have had identifiers only and not had resources. To have added patient resource search, would have meant that we addressed what a patient resource was.    -- That was then, now is different.

That was exactly the case.
When we wrote the supplement we did not have Patient resources but just
Patient identifiers
Gregorio
Il giorno gio 3 nov 2022 alle ore 18:31 John Moehrke <
@.***> ha scritto:

I suspect it was because at the time we were mostly thinking of providing
a Query against a DICOM AuditMessage database, that would have had
identifiers only and not had resources. To have added patient resource
search, would have meant that we addressed what a patient resource was. --
That was then, now is different.
—
Reply to this email directly, view it on GitHub
https://github.com/IHE/ITI.BasicAudit/pull/71#issuecomment-1302447229,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKOCWECWOLUI4XBB4NPLXCDWGPZFZANCNFSM6AAAAAARRFJWZA
.
You are receiving this because you were mentioned.Message ID: <IHE/ITI.
@.***>

--
Gregorio Canal
Standardization and Testing Area | Arsenàl.IT
http://www.consorzioarsenal.it/web/guest/home

reviewed on tcon

authors: JohnMoehrke gregoriocanal lukeaduncan


text:
Minor improvements

Added support for including and excluding top level directories in config.json (new grabbit feature), instead of using the exclude_dir parameter. By default, only subject directories are indexed.

Added test in which files under models are ignored

Require all files with subject entities to be under a subject folder (and added test with invalid file)
add underscore to get_nearest_helper (internal function)
find_match is made obsolete by get_nearest, removed.

Fixed conflicts w/ master. I think the only thing left to decide is what are sensible defaults for inclusion/exclusion of bids folders.
For now excluded derivatives and models which were needed in specific test databases, but may want to instead of use include and come up with comprehensive list of bids valid directories.

It makes sense to exclude those. I would also add "sourcedata" and "code"
to that list.
On Mon, Sep 4, 2017 at 6:40 PM, Alejandro de la Vega <
notifications@github.com> wrote:

Fixed conflicts w/ master. I think the only thing left to decide is what
are sensible defaults for inclusion/exclusion of bids folders.
For now excluded derivatives and models which were needed in specific
test databases, but may want to instead of use include and come up with
comprehensive list of bids valid directories.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/INCF/pybids/pull/64#issuecomment-327049659, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAOkp42lsJRzj0-XUEPxgSH31EKn6RP0ks5sfKZ6gaJpZM4PJgTi
.

Status update: Waiting on new grabbit release. @tyarkoni when do you plan to do that?

As soon as someone reviews the pending grabbit PRs. Which--lucky for you--could be you! I'll add you as a reviewer.

Actually, it probably doesn't make sense to merge that PR until Yarik or Michael look at it, since it's designed to be wrapped by DataLad. So you'll have to wait a bit longer.

I thought the same thing, no worries

@adelavega I bumped grabbit. Can you update the required version on this branch to 0.0.8? Hopefully that'll fix the tests.

Allright @tyarkoni, looks like tests are passing on Mac but failing on Windows. They're also failing on Linux on travis, but it looks like its a Anaconda cache issue. Can you clear the cache or something? I can confirm my tests pass locally w/ the latest grabbit release.
I imagine the file exclusion regex is incorrect for Windows so I'll debug that on the workstation.

Linux (and I assume Mac, once it's done running) tests pass after clearing the cache. Will wait on the Windows resolution before merging. One possibility is that the bug is coming from the change in the subject pattern, where you're requiring the directory to exist. I don't think you need to capture the group in the directory, just the one in the file. I don't see why this would cause problems, but it's worth removing the first set of parentheses from the pattern definition in any case just to prevent confusion.

Oh, also: requiring the directory to exist in order for a subject entity to be picked up is going to make life very difficult if we want to deal with BIDS-generated files that aren't necessarily in a full hierarchy. E.g., they could be living in a /derivatives directory, in which case there would be no restriction at all (at least, not until there's a formal spec) on where subject files could live.
In general, I like the idea of separating validation from parsing; since we now have a validator that should check to make sure that full paths are legal, I suggest reverting this change, and the validator can catch problems as needed (or turned off for users who don't care about full compliance).

Oh, and totally unrelated, but I just randomly happened to notice this: can you remove the mandatory: false line from the session entity? I believe it should be completely unnecessary, because the default is False for all Entity objects.

I think that's fair, especially given the flat files requirement. I've reverted it, let's see if this also happens to fix the Windows problem.

Looks like it's passing on Windows, except again the Linux travis cache is causing problems. But again, it passed locally.

Done, but if the problem doesn't resolve itself at some point soon (most likely because of a fix to miniconda), we'll need to figure out what the hell is going on with the caching, because I can't keep deleting the cache on every build. We could manually delete the directory it's having trouble with in after_cache, but that seems kind of silly.

Cool, well then merge whenever you're ready.

authors: adelavega chrisfilo tyarkoni

repo: INCF/pybids


text:
🛑 IOGT CLOUD is down

In 71ab3d6, IOGT CLOUD ($CLOUD_SERVER) was down:

HTTP code: 530
Response time: 190 ms

Resolved: IOGT CLOUD is back up in 685809c.

repo: IOGT/upptime


text:
🛑 Main is down

In ab83303, Main (https://ipmgroupuk.com) was down:

HTTP code: 521
Response time: 97 ms

Resolved: Main is back up in 00a688d after 9 minutes.

repo: IPMGroupLtd/Uptime


text:
🛑 Main is down

In 4eb0d2e, Main (https://ipmgroupuk.com) was down:

HTTP code: 403
Response time: 707 ms

Resolved: Main is back up in 359b7ed after 18 minutes.


text:
Create index.md

Application for Registering Team to CODE CAMP 1.0
This pull request template helps you complete an application to the CODE CAMP 1.0 HACKATHON. Use the checklist below to verify that you have followed the instructions correctly.
(Put x inside [] like [x])
Select the type of Pull Request

[x] Registration Pull request.

[] Submission Pull request.
Checklist ✅

[x] I have read the instructions on the README file before submitting my application and gone through CODE_OF_CONDUCT.
[x] I have Submitted my team's details by making a folder of my team as instructed in How to send Pull Request page.
[x] I have used the Markdown file template to add my information for the Hackathon.
[x] I have given all the necessary details as mentioned in template index.md file and the details are correct and best to my knowledge.
[x] I understand that a reviewer will merge my pull request after examining it or ask for changes in case needed.
[x] I understand I should not tag or add a reviewer to this Pull Request.
[x] I understand the Details added to the template will be used as a means of communication at the time of result declaration.
[x] I have added the event to my calendar.

@swathi-vennela  , please join the group and text [we are team team_name, we are in]


text:
Fix email credentials in staging

pls check credentials for email in staging aws email
https://monitoring.osparc-staging.io/graylog/messages/graylog_160/b98ee3a1-3ff9-11ee-b601-0242ac12001a
TIP: to check the email settings you can use https://staging.osparc.io/dev/doc#/admin/test_email entrypoint

These variables are missing in all deployments!

SMTP_PASSWORD
SMTP_USERNAME
SMTP_PROTOCOL

authors: YuryHrytsuk pcrespov

repo: ITISFoundation/osparc-ops-environments


text:
Time format

on the cards time format is hr,min,sec.
on the playing its min.sec
make the one playing same as card

this is fixed now, thanks @unjown

authors: IanWalston unjown

repo: IanWalston/qasong

license: ISC


text:
feat: add support access_type param

Some providers does not return refresh_token without a couple of params:
{
  prompt: 'consent',
  access_type: 'offline',
}

refs:

Not receiving Google OAuth refresh token
Using OAuth 2.0 for Web Server Applications

This adds support of access_type param which currently is not supported yet.

Why can't you use the extrqQueryParams and extraTokenParams? That param you list from google is non-standard.

I think the built in extra params should handle this.

authors: brockallen oklas

repo: IdentityModel/oidc-client-js


text:
Does GitVersion update your assembly/csproj automatically via the GitReleaseManager.yaml?

If so, where is that done? I do not see the GitVersion MSBuild NuGet, or the GitVersion.exe command anywhere in the project.
How is the package version incremented? What am I missing?

I notice we are using this: https://github.com/adamralph/minver
And I notice theres a build task here https://github.com/IdentityServer/IdentityServer4/blob/master/src/Directory.Build.targets#L46
But im not sure how this eventually makes it way into the final nuget package.

MinVer is doing all the magic. Check their docs.
GitReleaseManager is unrelated (it's for release notes).

authors: VictorioBerra leastprivilege


text:
🛑 GeminiAIChatBot is down

In 70d065b, GeminiAIChatBot (https://chat.waithakasam.com) was down:

HTTP code: 530
Response time: 125 ms

Resolved: GeminiAIChatBot is back up in 5ca0365 after 39 minutes.

repo: IdrisFallout/upptime


text:
[FXServer] basic_atm and gui.lua errors

this one:
Error running system event handling function for resource vrp: citizen:/scripting/lua/scheduler.lua:39: Failed to execute thread: modules/basic_atm.lua:47: attempt to compare number with nil
stack traceback:
modules/basic_atm.lua:47: in local 'prompt'
modules/gui.lua:197: in local 'f'
[string "..."]:100: in upvalue 'handler'
citizen:/scripting/lua/scheduler.lua:124: in function citizen:/scripting/lua/scheduler.lua:123
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/scheduler.lua:39: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:123: in function citizen:/scripting/lua/scheduler.lua:92
and this one:
Error running system event handling function for resource vrp: citizen:/scripting/lua/scheduler.lua:39: Failed to execute thread: modules/basic_atm.lua:24: attempt to compare number with nil
stack traceback:
modules/basic_atm.lua:24: in local 'prompt'
modules/gui.lua:197: in local 'f'
[string "..."]:100: in upvalue 'handler'
citizen:/scripting/lua/scheduler.lua:124: in function citizen:/scripting/lua/scheduler.lua:123
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/scheduler.lua:39: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:123: in function citizen:/scripting/lua/scheduler.lua:92

Should be fixed.

authors: ImagicTheCat benjatw

repo: ImagicTheCat/vRP


text:
Intermediate files still in old path

As others have observed, in v0.3.0 the intermediate files are still in the ext/component folders and not in the project root. This should not happen and needs to be investigated.

@Joe91 Maybe we can arrange a session to troubleshoot this

Looks like this isn't the case. Closing.

repo: Imposter/vscode-lua-vu


text:
Soft wrap for error messages

I get

429 - message: Rate limit reached for gpt-4o in organization org-3M84iZQTliRuKpVVeuB53iHJ on tokens per min (TPM): Limit 30000, Used 14494, Requested 16221. Please try again in 1.43s. Visit https://platform.openai.com/account/rate-limits to learn more., type: tokens, param: null, code: rate_limit_exceeded

This message is should be wrapped (and not span to the right.

Fixed

authors: InAnYan koppor

repo: InAnYan/jabref


text:
Convert "Office Sought" field into a dropdown

Would likely be best for backend data mgmt for our 'office sought' field to be a dropdown (as follows) as opposed to an open field.
Mayor
Public Advocate
Comptroller
Brooklyn Borough President
City Council District 33
City Council District 34
City Council District 35
City Council District 36
City Council District 37

I think we discussed this, but not sure: Do we want to allow people to submit this if they're running for an office not on that list? Raises the "no 'Other' field" issue again (which might mean we should just implement that).

Ah, YES! We should amend that list to include an 'Other' option, and then probably, upon clicking that, give them another text box to put in whatever they want. Is that reasonable?

authors: rgardaphe zopa

repo: InTheFight/ITF-website


text:
Switch conan repo source to Bincrafters and add .travis.yml

Bincrafters provides a more modular Boost package and more prebuilts. This will reduce build time for many and lead to more compact executables.

Thanks for this!

authors: appurist cinderblocks

repo: InWorldz/aperture


text:
Disable for private repositories by default?

Congrats on the idea, it works well and it's pretty cool.
I have one concern though, the extension does work with private repositories. Looking at the code, it sends some of the repository's data to your servers. Would it be possible to disable that by default and add an option to enable it explicitly, with the appropriate warnings?
Also, I am surprised that the API endpoint https://git.indexstorm.com/similar is not listed in the manifest.json's permissions. I thought the browser wouldn't allow making requests without that. I think it would be great to add it regardless, this way users are informed in the web store and extension's page that it sends data to an API.
Overall it would show that the extension cares about privacy and it's more trustworthy. Let me know what you think and perhaps I can submit a PR!

Just came here to report the same thing. (And to thank you for the Firefox extension)

authors: panckreous zhouzi

repo: IndexStorm/git-rec-ext


text:
上传字幕处理失败

上传的srt转换失败
视频地址：
https://www.bilibili.com/video/BV1b64y1c7MF/?spm_id_from=333.999.0.0&vd_source=cc8a2933c895a90cbef73ffd6f0cd799
字幕srt为：
链接: https://pan.baidu.com/s/1V5GexkjWCcHk-UZCT8H4dg?pwd=eafh 提取码: eafh

close，是srt文件字符编码的问题

repo: IndieKKY/bilibili-subtitle


text:
TODO: Rename all *.iy plugins to *.plugin.luau

[x] rename all plugins in the store to *.plugin.luau and
[x] tell is to save .luau plugins as .iy files

close this smh didnt u just do it!!!

https://github.com/Infinite-Store/Infinite-Store/commit/e6a168c1c67a692f5ae1433abff0995483ae0fe4

not fixed

authors: Epikest Toon-arch

repo: Infinite-Store/Infinite-Store


text:
🛑 Home Assistant Mairena is down

In 17f0ed3, Home Assistant Mairena (https://kabble.duckdns.org/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Home Assistant Mairena is back up in 86a6f8f.

repo: Infinitte/upptime


text:
Portal 申請周期是13天而非14天

謝謝, 不過好像不太重要

authors: iamCristYe lokpro


text:
SRORAM gives random numbers, recursive binary ORAM and recursive TP ORAM give run-time error messages

I faced the following issues when running the test-bed:

SRORM:  the run gives random numbers unlike the other ORAMs where the numbers are listed from 0... 1023.

Recursive Binary ORAM: gives the following run-time error message:
terminate called after throwing an instance of 'std::out_of_range'
what():  basic_string::substr: __pos (which is 4) > this->size() (which is 0)
Aborted (core dumped)

Recursive TP ORAM:  gives the following run-time error message:
Segmentation fault (core dumped)

Pleases note:  The parameters that I used in the config.h are the same as the ones used in the SEAL ORAM test-bed, I didn't change any of them. I am using windows 10 and I have installed the Oracle virtual machine to install Ubuntu 16.04. I have used the MongoDB legacy driver and every thing you listed in the GitHub page.
Thank you and regards,
Kholoud

There is something I haven't listed on the README (which I probably should). First, you need to make sure you compile the mongo legacy driver with C++11 enabled. Generally, you want a build script like this:
scons --prefix=/usr/local --c++11=on --disable-warnings-as-errors install

I think at least this will make the SRORAM running. It is weird that the program will get errors when the c++11 flag is not on. So do make sure the flag is there when you compile the mongo legacy driver.
There are also some errors that can happen at the end of recursive ORAMs during the deconstruction in my experience. I will try to get some time looking into your issues.

I have solved the problem it has to do with the size of the memory. When I ran it on a server with 128 G RAM it worked.
Thank you and regards,
Kholoud

On Jun 21, 2017, at 9:38 PM, Dong Xie notifications@github.com wrote:
There is something I haven't listed on the README (which I probably should). First, you need to make sure you compile the mongo legacy driver with C++11 enabled. Generally, you want a build script like this:
scons --prefix=/usr/local --c++11=on --disable-warnings-as-errors install
I think at least this will make the SRORAM running. It is weird that the program will get errors when the c++11 flag is not on. So do make sure the flag is there when you compile the mongo legacy driver.
There are also some errors that can happen at the end of recursive ORAMs during the deconstruction in my experience. I will try to get some time looking into your issues.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

authors: Skyprophet kholoudAlSaleh

repo: InitialDLab/SEAL-ORAM


text:
Order execution modal

This prompt should only show if my order crosses the opposite side.

I can't reproduce.

authors: achilleas-kal bangjelkoski

repo: InjectiveLabs/injective-dex


text:
Black hole units filled with air, wont accept items

Industrial Foregoing Version: 1.12.13
TeslaCoreLib Version: 1.12.2-1.0.15
Crashlog (If Any): no crashes with this problem.
Hi, I have the following problem: Im using black hole units as input/output for ores to be smelted, when i lock the unit to only be filled with an ore, the input box gets empty and next to it says "air" and wont accept more blocks until I unlock it again, then lock it up to only be filled with the ore i want and the problem comes back again and again, btw when this happen the black hole label shows nothing in it.

:wave: Sorry but Industrial Foregoing has ended support for version 1.12. I'm closing this issue as it will no longer be updated for that version. Thanks for playing with the mod.


text:
Definitions with createdAtStart=true and no qualifier aren't generated correctly

Describe the bug
@Single(createdAtStart = true) with no qualifier generates invalid code
To Reproduce
Steps to reproduce the behavior:

Annotate class with @Single(createdAtStart = true)
Do not specify qualifier
The generated code contains an extra comma and is invalid:

single(,createdAtStart=true) { … }

Expected behavior
The generated code is valid
Koin project used and used version (please complete the following information):
koin-annotations version 1.2.1

duplicated from https://github.com/InsertKoinIO/koin/issues/1604

authors: arnaudgiuliani ithersta

repo: InsertKoinIO/koin-annotations


text:
Oversized ITK logo in Doxygen documentation

Description
The ITK logo is shown oversized in the Doxygen documentation:
https://itk.org/Doxygen/html/
Expected information
The ITK logo should have a reasonable size in the Doxygen documentation welcome page.
Actual information
The ITK logo has an excessively large size.
Versions
master.
Additional Information
Visited in Chrome Version 126.0.6478.126 (Official Build) (64-bit).

Hi! I would love to take this up as my first open source issue. I would appreciate it if I could work on this. :)

@viv511 Feel free to propose a PR.

@viv511 we would welcome your help with this!
Logos of different sizes can be found here:
https://github.com/InsightSoftwareConsortium/ITK/tree/master/Documentation/Art

Any idea how the logo became so large?

It was updated recently :-)

Hi! Thank you all so much!
Would you rather me change the image to a smaller image in the Art folder or scale down the "itkLogo.png" image down 50%?
I had previously thought that the code was written in HTML, but after looking around I believe it uses a Doxygen file to display the image. I believe the relevant code is here I looked at the image docs and I think I can append the optional size parameters to fix this.

As this is my first time contributing, I've tried my best to follow the guidelines of ITK contributing. When I tried to commit my change on a branch on the cloned repo, I got the following error message:
pre-commit hook failure
-----------------------

clang-format executable was not found.

A clang-format binary will be downloaded and configured when ITK
is built with the (i) BUILD_TESTING=True and (ii) ITK_USE_CLANG_FORMAT=True CMake configuration options enabled.

Alternatively, install clang-format version 8.0 or set the executable location with

  git config clangFormat.binary /path/to/clang-format

I'm sorry if the fix is intuitive, but I'm unable to figure out what I need to change without breaking any other parts of the code. I appreciate your patience and help a lot!
Furthermore, I also had troubles with locally testing the doxygen files. I tried turning on the CMAKE flags  BUILD_DOCUMENTATION and ITK_BUILD_ALL_MODULES and also tried to edit the Doxyfile configuration, but neither of these methods gave me any success. It is my first time working with Doxygen in a larger repository like this, so I would really appreciate the help in understanding how to correctly locally test the doxygen changes so that I can be more effective in the future.
Thank you all so much again,
@viv511

Would you rather me change the image to a smaller image in the Art folder or scale down the "itkLogo.png" image down 50%?

@viv511 the image from the Art folder that is used could be changed or a different file with a different size could be created. But we could leave itkLogo.png as-is in case it has been used in a different context.

I got the following error message:
pre-commit hook failure
-----------------------

clang-format executable was not found.

A clang-format binary will be downloaded and configured when ITK
is built with the (i) BUILD_TESTING=True and (ii) ITK_USE_CLANG_FORMAT=True CMake configuration options enabled.

Alternatively, install clang-format version 8.0 or set the executable location with

  git config clangFormat.binary /path/to/clang-format

I'm sorry if the fix is intuitive, but I'm unable to figure out what I need to change without breaking any other parts of the code. I appreciate your patience and help a lot!

If that message is not intuitive, you can skip the pre-commit hooks by passing -n to git commit for now. I assume you are on an ARM system? We are in the process of improving automated fetching and configuration of the clang-format binary.

Furthermore, I also had troubles with locally testing the doxygen files. I tried turning on the CMAKE flags BUILD_DOCUMENTATION and ITK_BUILD_ALL_MODULES and also tried to edit the Doxyfile configuration, but neither of these methods gave me any success. It is my first time working with Doxygen in a larger repository like this, so I would really appreciate the help in understanding how to correctly locally test the doxygen changes so that I can be more effective in the future.

The Dockerfile and build scripts in this repository may be a helpful reference.

Would you rather me change the image to a smaller image in the Art folder or scale down the "itkLogo.png" image down 50%?

Ideally, the website should keep a stable size of the ITK logo, regardless of the original size of the image it uses, so I would discourage changing the file used by the website (as long as it has a reasonable size).

Thanks everyone! Yes, I'm using a MB Pro (13-inch, M2, 2022) (ARM System).
To clarify, could I scale the current image via code rather than create a new file of the scaled logo?
The Doxygen repository provided has been helpful, but I'm still running into issues on step [4/7] @ [183/214]. I've provided the error code that I get. I have created a clone of the repository on my own machine to run the commands locally. I've also installed Docker and Doxygen so there should be no issues there.
.... (running code)
180.8 [182/214] Building CXX object src/CMakeFiles/doxymain.dir/language.cpp.o
180.8 ninja: build stopped: subcommand failed.
------
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)
Dockerfile:18
--------------------
  17 |
  18 | >>> RUN git clone https://github.com/doxygen/doxygen.git && \
  19 | >>>     ( cd doxygen && \
  20 | >>>       git checkout Release_1_9_3 && \
  21 | >>>       mkdir bld && cd bld && \
  22 | >>>       cmake -G Ninja -DCMAKE_BUILD_TYPE=Release .. && \
  23 | >>>       ninja install) && \
  24 | >>>     rm -rf ./doxygen
  25 |
--------------------
ERROR: failed to solve: process "/bin/sh -c git clone https://github.com/doxygen/doxygen.git &&     ( cd doxygen &&       git checkout Release_1_9_3 &&       mkdir bld && cd bld &&       cmake -G Ninja -DCMAKE_BUILD_TYPE=Release .. &&       ninja install) &&     rm -rf ./doxygen" did not complete successfully: exit code: 1
Unable to find image 'itk-doxygen:latest' locally
docker: Error response from daemon: pull access denied for itk-doxygen, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.

Let me know what next steps I should take. Thank you for your patience!
Best,
@viv511

To clarify, could I scale the current image via code rather than create a new file of the scaled logo?

Yes, as @jhlegarreta suggested, an HTML / CSS fix is probably the best, if possible.

Yes, I'm using a MB Pro (13-inch, M2, 2022) (ARM System).

Unable to find image 'itk-doxygen:latest' locally
docker: Error response from daemon:

It may be easier to get the doxygen executable from Homebrew or pixi.
@viv511 thank you for your persistence! What does seem at the surface to be a simple fix is turning out to be more of an adventure, but hopefully you find it to be a good learning experience.

It may be easier to get the doxygen executable from Homebrew or pixi.

You can just download a pre-built doxygen for Mac from https://www.doxygen.nl/files/Doxygen-1.11.0.dmg

To clarify, could I scale the current image via code rather than create a new file of the scaled logo?

Yes, as @jhlegarreta suggested, an HTML / CSS fix is probably the best, if possible.

Yes, I'm using a MB Pro (13-inch, M2, 2022) (ARM System).

Unable to find image 'itk-doxygen:latest' locally
docker: Error response from daemon:

It may be easier to get the doxygen executable from Homebrew or pixi.
@viv511 thank you for your persistence! What does seem at the surface to be a simple fix is turning out to be more of an adventure, but hopefully you find it to be a good learning experience.

That makes sense, thanks!
Of course! I'm always ready to take on a new challenge and I'm having a fun time figuring stuff out. Thank you for your continued assistance! :)
I already downloaded Doxygen yesterday from their website. Running doxygen -v in my terminal prints out 1.11.0, which I believe is the same version you are referencing.
Are there any other places I should look into further? I can try reinstalling doxygen and seeing if that changes anything, although I don't think it will.

Running doxygen -v in my terminal prints out 1.11.0, which I believe is the same version you are referencing.

https://itk.org/Doxygen/html/ is still generated with Doxygen version 1.8.16.
Slightly related, I did use Doxygen version 1.11.0 to generate the elastix API documentation, at https://elastix.dev/doxygen/index.html  Then I encountered a breaking change: "Modules" is renamed to "Topics", meaning that the old "Modules" menu item should be adjusted. No problem for now, just something to keep in mind when upgrading to Doxygen version 1.11.0!

For details: pull request https://github.com/SuperElastix/elastix/pull/1204

Oh I see, I'll try installing the older version of Doxygen from Sourceforge.

Hi all,
I have since done a deeper dive to understand how Docker/Doxygen/and all of the other technologies work together and I feel much better about how the commands and the scripts work together.
Here are the commands that I executed:

docker build --build-arg TAG=v1.1.0 . -f Dockerfile -t itk-doxygen
This command ran successfully and I was able to create a docker image & build successfully

export TAG=v1.2.0
Also successful; to use the TAG environment variable.

The docker run command is where I ran into problems. I replaced the !ITK with the path to my own cloned directory as I presumed that it was a placeholder.

docker run \
  --env TAG \
  --mount type=bind,source=/Users/...myownpath.../ITK,destination=/work/ITK,readonly \
  --name itk-dox itk-doxygen

This command worked until it had to clone the ITKAdaptiveDenoising repository.
-- Performing Test have_sse2_extensions_var
-- Performing Test have_sse2_extensions_var - Failed
-- Performing Test CXX_HAS_DISABLE_OPTIMIZATION_FLAG
-- Performing Test CXX_HAS_DISABLE_OPTIMIZATION_FLAG - Failed
-- Found Python3: /usr/bin/python3.8 (found suitable version "3.8.10", minimum required is "3.8") found components: Interpreter
CMake Error at CMake/ITKModuleRemote.cmake:15 (message):
  Failed to clone repository:
  'https://github.com/ntustison/ITKAdaptiveDenoising.git'
Call Stack (most recent call first):
  CMake/ITKModuleRemote.cmake:138 (_git_clone)
  CMake/ITKModuleRemote.cmake:273 (_fetch_with_git)
  Modules/Remote/AdaptiveDenoising.remote.cmake:44 (itk_fetch_module)
  Modules/Remote/CMakeLists.txt:21 (include)

-- Configuring incomplete, errors occurred!
See also "/work/ITK-bld/CMakeFiles/CMakeOutput.log".
See also "/work/ITK-bld/CMakeFiles/CMakeError.log".

To troubleshoot, I tried to run these commands on the unaltered ITK cloned repository, I set the flags for that module to OFF (because I don't actually require that module for testing the main page of the documentation, so it should be okay to remove), and I thought it might be a problem with git parallel fetching, so I turned that off as well. However, none of these solved the issue.
Here are the Docker Logs for the docker run issue:
2024-07-25 11:15:06 Call Stack (most recent call first):
2024-07-25 11:15:06   CMake/ITKModuleRemote.cmake:138 (_git_clone)
2024-07-25 11:15:06   CMake/ITKModuleRemote.cmake:273 (_fetch_with_git)
2024-07-25 11:15:06   Modules/Remote/AdaptiveDenoising.remote.cmake:44 (itk_fetch_module)
2024-07-25 11:15:06   Modules/Remote/CMakeLists.txt:21 (include)

I believe the problem may lie with some git issue, but I'm not entirely sure. Following the error messages in the Docker logs seems to confirm this.
Help would be greatly appreciated! Let me know if I should provide more information.
Thank you so much for your patience and understanding,
@viv511

I suspect the issue you are encountering is now due to the ITK repo directory is now readonly. So when git tries to clone into the readonly ITK source directory an error occours.
You may want to work in an interactive docker session to experiment. You may be able to run something like
docker run --rm -i -u $(id -u):$(id -g)
--mount type=bind,source=/Users/...myownpath.../ITK,destination=/work/ITK,readonly
--entrypoint /usr/bin/bash
--name itk-dox itk-doxygen
This will mount the source code into the docker as read/write and run the docker processes as you current user id.

Hi! I removed the readonly part of the command and was able to build successfully. I then unzipped the .tar.gz file and was able to access the index.html file in order to build the documentation locally.
The change that I had originally proposed turned out to work quite well! Here is a before/after of the homepage of the documentation (Using chrome browser).
Before

After

Thank you to everyone who has helped me on this thread, I appreciate it so much! :D I've truly learned a lot through this process and will look through some other issues and try to help out where I can. I'll submit my change shortly.

Best,
@viv511

Hi! I made a PR in the ITKDoxygen repository as I saw some issues with the Markdown and instructions that I could fix based on my experience using it to test this change.
Best,
@viv511

@viv511 thank you for contributing! :taco: :tada: :sparkler:

@viv511 thank you for contributing! 🌮 🎉 🎇

Thank you so much for the opportunity :) I learned a lot through this process! I'd love to continue to keep helping out.

authors: N-Dekker blowekamp jhlegarreta seanm thewtex viv511

repo: InsightSoftwareConsortium/ITK


text:
Was having problems getting the location.point object and I noticed it was being passed in the args.

Hi,
I've been using this library over the past few days and it's really nice, but I did encounter one problem.  I was having problems getting the location.point object and I noticed it was being passed in the args. The location object was using key,value in args to assign it's attributes, but the args were not being iterated over. This caused the point object to not be assigned to the location class - effectively ruling out the long/lat data.
So I updated the Location model to pass point in the kwargs as opposed the to args. This makes it available to the location object as location.point
I thought I'd offer a solution, rather than state the problem, but if you've done it like this for a reason ( and there is every chance I've missed something being new to the library) then feel free to ignore the pull request.
Cheers & have a great day.
Jamie.

Thanks Jamie! I merged your change for Location in. Sorry for the huge delay!

authors: jamiecurle mikeyk

repo: Instagram/python-instagram


text:
Unittest intervention change beta layers

Makes these better! I've got layers doing things now and the tests appear to work...

Aye, looks good!

authors: CWiswell-IDM ckerr-IDM

repo: InstituteforDiseaseModeling/covasim


text:
Separate OAP,Parquet and Orc FileFormat

Now we support Oap and Parquet file format, and support orc immediately, but there is only one FileFormat named OapFileFormat and a lot of personalization config and if else branch mixed up, I think we should extract a template like BaseOptimizedFileFormat and  separate different logic into different fileformat as:
Oap -> OapFileFormat
Parquet ->OptimizedParquetFileFormat
Orc -> OptimizedOrcFileFormat
Xxx -> OptimizedXxxFileFormat

#912 complete this work, close this issue

repo: Intel-bigdata/OAP


text:
RE3 Sheva lower body missing

Version
3.1.1
Seed
R730-VRB5-XX6666AZ9YH10AJ9KR92WZZZZZZZZZZZZZP2YZZZZZ
Scenario
RE 3 (Jill)
Player Character
Sheva
What happened?
Hi there.
Sheva lower body is missing. I tried in different seeds but it still happens. Cheers!

It will be an issue with the PLD file for that character. It is possibly going over some game limits which cause various corruption to occur.

repo: IntelOrca/biorand


text:
Pandas.DataFrame class support part 2

Tests status for SDC_CONFIG_PIPELINE_SDC=0 python -m hpat.runtests hpat.tests.test_dataframe
Ran 95 tests in 14.682s
FAILED (failures=3, errors=59, skipped=14)

Hello @shssf! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file hpat/hiframes/pd_dataframe_ext.py:

Line 97:1: E302 expected 2 blank lines, found 1
Line 113:1: E305 expected 2 blank lines after class or function definition, found 1
Line 119:1: E302 expected 2 blank lines, found 1

Will provide more fixes with following results:
----------------------------------------------------------------------
Ran 95 tests in 50.942s

FAILED (failures=1, errors=22, skipped=14)

after this PR merged

@shssf This PR doesn't solve issues with aggregate. Do you plan to do it in other PRs?

authors: AlexanderKalistratov pep8speaks shssf

repo: IntelPython/sdc


text:
Jetson Orin with Jetpack 6.0

Required Info

Camera Model
D455

Firmware Version
5.15.1

Operating System & Version
Ubuntu 22.04

Kernel Version (Linux Only)
5.15

Platform
Jetson AGX Orin

SDK Version
2.54.2

Jetpack
6.0

Jetson L4T
36.2

Issue Description
Hi, I am trying to get the Realsense D455 camera up and running using newest Jetpack 6.0. I know that L4T 36.2 is not supported, so I can't rely on kernel modules using the patch-realsense-ubuntu-L4T.sh script. I tried installing the SDK using the -DFORCE_RSUSB_BACKEND=true flag to bypass the kernel modules and I did it so successfully. Now I am able to run the realsense-viewer and display the data, but something is not working properly because every time I run the realsense-viewer everything gets laggy and after a few seconds Jetson literally freezes. When I unplug the camera, everything gets back to normal.
Dmesg logs:
[11230.388791] usb 2-3.1: USB disconnect, device number 23
[11232.809292] usb 2-3.1: new SuperSpeed USB device number 24 using tegra-xusb
[11232.842183] uvcvideo 2-3.1:1.1: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[11232.842650] usb 2-3.1: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 455  (8086:0b5c)
[11232.860298] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/bus@0/3610000.usb/usb2/2-3/2-3.1/2-3.1:1.0/input/input1214
[11232.862540] uvcvideo 2-3.1:1.4: Unknown video format 36315752-1a66-a242-9065-d01814a8ef8a
[11232.862562] usb 2-3.1: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 455  (8086:0b5c)
[11232.885375] hid-generic 0003:8086:0B5C.001E: device has no listeners, quitting

When I run the realsense-viewer app dmesg logs are spammed with:
[11450.904794] uvcvideo 2-3.1:1.1: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[11450.905285] usb 2-3.1: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 455  (8086:0b5c)
[11450.921954] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/bus@0/3610000.usb/usb2/2-3/2-3.1/2-3.1:1.0/input/input1318

and console displays warning:
0/01 14:40:11,739 WARNING [281473731156032] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11

Question
Is it somehow possible to use the Realsense camera under Jetson L4T 36.2 using kernel modules or RUSB backend?

I have installed D455 on Jetpack 6 DP Orin nano with https://github.com/IntelRealSense/librealsense/blob/master/scripts/libuvc_installation.sh, although for some reason it only works with sudo realsense-viewer so maybe I have to fix permissions or udev rules somehow.

Thanks so much @martinerk0 for your advice to @Yaccobv2
Hi @Yaccobv2  If a new JetPack version is not yet supported by the L4T kernel patch script then the choices for getting librealsense working with an Nvidia Jetson device are usually to (a) do not apply the L4T patch script and use the SDK unpatched, or (b) build from source code with CMake with -DFORCE_RSUSB_BACKEND=TRUE.
The libuvc procedure referred to by @martinerk0 is the predecessor of RSUSB and has a similar kernel bypass effect to using that build flag.
If either RSUSB or libuvc are used then as well as bypassing the kernel, it should also be easier to use llibrealsense with Ubuntu 22.04 as RSUSB / libuvc is not dependent on a particular Linux version.

I just reinstalled SDK using
sudo ./libuvc_installation.sh -DBUILD_WITH_CUDA=true
but when I run realsense-viewer without sudo I get:
   10/01 16:24:35,692 INFO [281473192276000] (backend-v4l2.cpp:657) Enumerating UVC video0 realpath=/sys/devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.2/2-1.2:1.0/video4linux/video0
   10/01 16:24:35,693 INFO [281473192276000] (backend-v4l2.cpp:657) Enumerating UVC video1 realpath=/sys/devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.2/2-1.2:1.0/video4linux/video1
   10/01 16:24:35,693 INFO [281473192276000] (backend-v4l2.cpp:657) Enumerating UVC video2 realpath=/sys/devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.2/2-1.2:1.0/video4linux/video2
   10/01 16:24:35,693 INFO [281473192276000] (backend-v4l2.cpp:657) Enumerating UVC video3 realpath=/sys/devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.2/2-1.2:1.0/video4linux/video3
   10/01 16:24:35,694 INFO [281473192276000] (backend-v4l2.cpp:657) Enumerating UVC video4 realpath=/sys/devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.2/2-1.2:1.3/video4linux/video4
   10/01 16:24:35,694 INFO [281473192276000] (backend-v4l2.cpp:657) Enumerating UVC video5 realpath=/sys/devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.2/2-1.2:1.3/video4linux/video5
   10/01 16:24:35,705 WARNING [281473192276000] (d400-factory.cpp:1195) DS5 group_devices is empty.

with sudo it works fine. @MartyG-RealSense any ideas?  There are few old issues with FW/SDK mismatch https://github.com/IntelRealSense/librealsense/issues/12047
Same with rs-enumerate-devices, without sudo nothing, with sudo it works.

Okay I also checked this issue and when I checked installed packages there was also:  ros-humble-librealsense2 installed through apt :skull_and_crossbones:
So using:
sudo apt remove ros-humble-librealsense2
removed possible conflicts and now it works :smiley:
@Yaccobv2 did the libuvc_installation.sh work for you? I remember few years ago on Xavier NX trying to do kernel patching and I never got it working, but with libuvc script it worked fine.

@martinerk0  I'm pleased to hear that you achieved a non-sudo solution.  :)

Thanks guys for the help, it worked. I've been tricked by a strange error that occurs when displaying only the rgb image in the realsense-viewer, while using the libuvc or rsusb flags when building the driver. As I mentioned earlier, the video becomes extremely laggy and my system freezes, but after enabling both the depth camera and rgb everything works perfectly. I'd also like to mention that this happened once when I was using the ros2 package for realsense, so I'm assuming it's something at a lower level.

Hi @Yaccobv2  I'm pleased to hear that it is working for you now.  Thanks very much for the update!

Hi @MartyG-RealSense @Yaccobv2 !
You guys can also use Jetsonhacks install sh. It's been there for a couple of years and still working for on Jetson Orin
source: https://github.com/jetsonhacks/installRealSenseSDK
and run the buildLibrealsense.sh
It is a very complete solution and also noticed that it is used under isaac_ros_common, exactly the same build script
Anyhow, just trying to share an existing tool to install without much complication.
Side Note:
In the meantime, I've been struggling to get the RealSense D455 to work on the examples for Jetpack 5.1.2 in containers since it's still not supported for JetPack 6.0D (versions of libraries are different, then need to update the versions on dockerfiles)

Hi @javiercordon  Thanks very much for your recommendation of what has worked well for you!

Thanks guys for the help, it worked. I've been tricked by a strange error that occurs when displaying only the rgb image in the realsense-viewer, while using the libuvc or rsusb flags when building the driver. As I mentioned earlier, the video becomes extremely laggy and my system freezes, but after enabling both the depth camera and rgb everything works perfectly. I'd also like to mention that this happened once when I was using the ros2 package for realsense, so I'm assuming it's something at a lower level.

I have the same problem - high frame drop rate, while only RGB stream is enabled
I opened issue here: https://github.com/IntelRealSense/librealsense/issues/13020
Do you have a solution?

Hi @Yaccobv2, I have the same problem - high frame drop rate, while only RGB stream is enabled And looks like IMU doesn't work either, which I'm trying to fix by using this tutorial More details here: #13020 Do you have a solution or at least some helpful thoughts?

Same exact problem here

Hi @MartyG-RealSense @Yaccobv2 ! You guys can also use Jetsonhacks install sh. It's been there for a couple of years and still working for on Jetson Orin source: https://github.com/jetsonhacks/installRealSenseSDK and run the buildLibrealsense.sh
It is a very complete solution and also noticed that it is used under isaac_ros_common, exactly the same build script
Anyhow, just trying to share an existing tool to install without much complication.
Side Note: In the meantime, I've been struggling to get the RealSense D455 to work on the examples for Jetpack 5.1.2 in containers since it's still not supported for JetPack 6.0D (versions of libraries are different, then need to update the versions on dockerfiles)

What's not supported for JetPack 6.0? the hack install installRealSenseSDK or the whole realsense thing? I make installRealSenseSDK and jetpack 5.1.x worked. But I just updated it to jetpack 6.0...

My problem is that after update to jetpack 6.0, realsense-viewer installed fine, but can't detect camera while lsusb showed realsense. I tried installRealSenseSDK method and reinstall with sudo ./libuvc_installation.sh -DBUILD_WITH_CUDA=true too. nothing works. Do you have any idea? @MartyG-RealSense

Hi @jeezrick  Is your Viewer version 2.55.1, please?  Official support for JetPack 6 was added in SDK 2.55.1.
If your SDK version is 2.55.1, have you updated your camera's firmware driver version to 5.16.0.1

Hi @jeezrick Is your Viewer version 2.55.1, please? Official support for JetPack 6 was added in SDK 2.55.1.
If your SDK version is 2.55.1, have you updated your camera's firmware driver version to 5.16.0.1

Hi, I can't detect the device by running rs-enumerate-devices, but I can see it in lsusb:
$ rs-enumerate-devices
No device detected. Is it plugged in?
$ lsusb
Bus 002 Device 003: ID 8086:0b5c Intel Corp. Intel(R) RealSense(TM) Depth Camera 455
Bus 002 Device 002: ID 0bda:0489 Realtek Semiconductor Corp. 4-Port USB 3.0 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0bda:c822 Realtek Semiconductor Corp. Bluetooth Radio
Bus 001 Device 004: ID 1ea7:0066 SHARKOON Technologies GmbH [Mediatrack Edge Mini Keyboard]
Bus 001 Device 002: ID 0bda:5489 Realtek Semiconductor Corp. 4-Port USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I ran 'rs-enumerate-devices` on another non-jetson device, it's indeed 5.16.0.1, and Viewer is 2.55.1 too.

I changed line 47 in ./libuvc_installation.sh file to
cmake ../ -DFORCE_LIBUVC=true -DCMAKE_BUILD_TYPE=release -DFORCE_RSUSB_BACKEND=ON, and build it.
Now rs-enumerate-devices can detect camera fine, but in the Viewer the rgb and depth stream is highly unstable, can't hold at 30 fps. And cannot open motion module too. What should I do to fix it?

Hi @jeezrick  In the RGB controls in the Viewer's options side-panel, please try finding and disabling an option called Auto-Exposure Priority.  If Auto-Exposure is true and Auto-Exposure Priority is false then the Viewer will try to enforce a constant FPS for both the depth and RGB streams instead of permitting their FPS to vary.
It is a known issue that for some RealSense users, enabling three streams simultaneously that include the Motion Module will cause one of the streams to fail.  The trigger for this is the enabling of the Motion Module, so changing the order that the streams are enabled in will make no difference.  There is no fix in the Viewer for this issue, except to only enable two streams if you need to use the IMU (such as Depth and IMU, or RGB and IMU), or enable IMU only.

HI, thanks for the reply. Turns out my problem is exactly like his

Thanks guys for the help, it worked. I've been tricked by a strange error that occurs when displaying only the rgb image in the realsense-viewer, while using the libuvc or rsusb flags when building the driver. As I mentioned earlier, the video becomes extremely laggy and my system freezes, but after enabling both the depth camera and rgb everything works perfectly. I'd also like to mention that this happened once when I was using the ros2 package for realsense, so I'm assuming it's something at a lower level.

After this:

I changed line 47 in ./libuvc_installation.sh file to cmake ../ -DFORCE_LIBUVC=true -DCMAKE_BUILD_TYPE=release -DFORCE_RSUSB_BACKEND=ON, and build it. Now rs-enumerate-devices can detect camera fine, but in the Viewer the rgb and depth stream is highly unstable, can't hold at 30 fps. And cannot open motion module too. What should I do to fix it?

I downgrade firmware to 5.13 like some other issue mentioned. Then IMU works. But still has that problem that when only enable rgb, the stream is highly unstable. Enable both rgb and depth, everything seems fine.
So I still feels like I'm working with a broken realsense lib.
I wonder should I add the https://github.com/IntelRealSense/realsense_mipi_platform_driver/blob/dev/README_JP6.md#build-nvidia-kernel-drivers-dtb-and-d457-driver---cross-compile-x86-64 patch? since my imu is working. Will this fix the rgb stream problem?

Using the MIPI driver with a USB connection on a computer with JetPack 6 adds support for the IMU.  It should not affect RGB.
# Kernel Image with SENSOR_HID support for RealSense USB cameras with IMU
scp -r images/6.0/rootfs/boot/Image nvidia@10.0.0.116:~/

authors: Dygitz MartyG-RealSense Yaccobv2 javiercordon jeezrick martinerk0 yurii-drevnytskyi-dianomix

repo: IntelRealSense/librealsense


text:
Left-IR (RGB8) and depth not in sync

Key
Value

Camera Model
D415

Firmware Version
05.09.11.00

Operating System & Version
Win10

Platform
PC

SDK Version
2.11.1

The D415 left IR image and the depth image are not in sync. This was tested with left IR being set to 1280x720 RGB8 at 30 fps.
Assuming frames are queried fast enough the depth lags behind the IR by exactly one frame. If frames are not queried fast enough the lag varies. Here are some timestamp pairs (depth, color):
772438 772471
772471 772504
772504 772538
772538 772571
772571 772604
772604 772638
772638 772671
772671 772704
772704 772738
772738 772771
772771 772804
...

Here's the code that generated these. This is based on the rs-capture example:
// License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2017 Intel Corporation. All Rights Reserved.

#include <iostream>

#include <librealsense2/rs.hpp> // Include RealSense Cross Platform API
#include "example.hpp"          // Include short list of convenience functions for rendering

// Capture Example demonstrates how to
// capture depth and color video streams and render them to the screen
int main(int argc, char * argv[]) try {
  const int width = 1280;
  const int height = 720;

  // Create a simple OpenGL window for rendering:
  window app(width, height, "RealSense Capture Example");
  // Declare two textures on the GPU, one for color and one for depth
  texture depth_image, color_image;

  // Declare depth colorizer for pretty visualization of depth data
  rs2::colorizer color_map;

  // Declare RealSense pipeline, encapsulating the actual device and sensors
  rs2::pipeline pipe;

  rs2::config cfg;
  cfg.enable_stream(RS2_STREAM_INFRARED, 0, width, height, RS2_FORMAT_RGB8, 30);
  cfg.enable_stream(RS2_STREAM_DEPTH, -1, width, height, RS2_FORMAT_Z16, 30);
  cfg.disable_stream(RS2_STREAM_COLOR);

  // Start streaming with default recommended configuration
  pipe.start(cfg);

  while(app) // Application still alive?
  {
    rs2::frameset data = pipe.wait_for_frames(); // Wait for next set of frames from the camera

    rs2::frame depth = color_map(data.get_depth_frame()); // Find and colorize the depth data
    rs2::frame color = data.get_color_frame();            // Find the color data

    std::cout << data.get_depth_frame().get_timestamp() << " "
                << color.get_timestamp() << std::endl;

    // Render depth on to the first half of the screen and color on to the second
    depth_image.render(depth, { 0,               0, app.width() / 2, app.height() });
    if (color) {
      color_image.render(color, { app.width() / 2, 0, app.width() / 2, app.height() });
    }
  }

  return EXIT_SUCCESS;
}
catch (const rs2::error & e)
{
  std::cerr << "RealSense error calling " << e.get_failed_function() << "("
          << e.get_failed_args() << "):\n    " << e.what() << std::endl;
  return EXIT_FAILURE;
}
catch (const std::exception& e)
{
  std::cerr << e.what() << std::endl;
  return EXIT_FAILURE;
}

I suspect the frame metadata isn't available. We can check using the Viewer, by clicking on (i) icon above any of the streams and checking timestamp domain field. It is supposed to be hardware clock.

I don't see a timestamp domain field. I have

Name
Serial No
FW Version
Min FW Version
Physical Port
Debug Op Code
Advanced Mode
Product ID
USB Type Descriptor

I am running version 2.11.1 of the Viewer. Any other way I can check?

Please look for (i) icon above the streams themselves (above depth / ir output)

I just checked. It is in fact saying hardware clock for both Depth and Left-camera RGB-8 streams.

This should not happen, we will try to reproduce and see what went wrong

[Realsense Customer Engineering Team Comment]
@xtrawurst
The problem has been fixed in latest FW 5.9.14, and it will be released soon.

5.9.14 is now public, please let us know if the issue was resolved.

[Realsense Customer Engineering Team Comment]
@xtrawurst
Issue fixed?


text:
All Xcode examples do not work. Does anybody have a guideline from start to finish?

Just bought the D415 Camera and I want to run it on Xcode, because I am using it within another already built project. I have tried all the guidelines posted, but I cannot start an Xcode project.

Is there a guideline for beginners like me?
Did anybody build a successful Xcode project, that can show me how to at least view the camera?

@omarfakhr So you have referred to https://github.com/IntelRealSense/librealsense/blob/master/doc/installation_osx.md and still has problem?  Any error prompted when you get the issue?

@omarfakhr Any update from your side? Looking forward to your reply. Thanks!

I am on vacation right now. Can I check it when I come back?
Thanks a lot
Omar Fakhr
Sent from my mobile device

On 25. Jun 2019, at 03:51, RealSense Customer Support notifications@github.com wrote:
@omarfakhr Any update from your side? Looking forward to your reply. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@omarfakhr No problem. Enjoy your vacation! Let's check it later.

@omarfakh Did you get chance to try now? Thanks!

@omarfakh Could you please update? Thanks!

@omarfakh Any update from your side? Thanks!

@omarfakh Sorry that we didn't get feedback from you several weeks. Will close this at this point. Please feel free to open new ticket if you still have issue or questions. Thanks!

authors: RealSenseCustomerSupport omarfakhr