How can I just get the data from realsense device on android : depth sensor, rgb camera . I have requirement of those resources in my background service. I dont want any container for rendering image on UI. Just I want data I will decrypt it on other way if required. Is there any API which solves this

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{ R200 / F200 / SR300 / ZR300 / D400 }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
{Win (8.1/10) / Linux (Ubuntu 14/16/17) / MacOS

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC/Raspberry Pi/ NVIDIA Jetson / etc..

SDK Version
{ legacy / 2.. }

Language
{C/C#/labview/nodejs/opencv/pcl/python/unity }

Segment
{Robot/Smartphone/VR/AR/others }

Issue Description
<Describe your issue / question / feature request / etc..>

Hi @bjain409   The librealsense Android wrapper's example program capture may meet your needs with some modification to disable visual rendering, as it makes use of depth and RGB streams.
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/android/examples/capture/
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/android/examples/capture/src/main/java/com/intel/realsense/capture/MainActivity.java#L163
My understanding is that the visual rendering is handled by the OpenGL GLRsSurfaceView elements of the script.  So you could try removing or commenting-out these parts out or removing them until the program meets your needs of displayless streaming.

Hi @bjain409 The librealsense Android wrapper's example program capture may meet your needs with some modification to disable visual rendering, as it makes use of depth and RGB streams.
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/android/examples/capture/
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/android/examples/capture/src/main/java/com/intel/realsense/capture/MainActivity.java#L163
My understanding is that the visual rendering is handled by the OpenGL GLRsSurfaceView elements of the script. So you could try removing or commenting-out these parts out or removing them until the program meets your needs of displayless streaming.
The case in the link below about the Android capture example includes an image of the unmodified program running on a phone, to provide you with an illustration of the captured data:
#4091 (comment)

Hi,
@MartyG-RealSense
Thanks for responding
I am not completely following the process.
Let me tell you the actual requirement.
I am building an android apk with realsense 4351i.
wherein I will create an trigger from android end  for capture.
The apk will be a  background process running continously .
After capture is triggered I need object of rgb camera and depth camera. is there any API defined . which returns be just the object of bitmaps.
If not can you please create a service which returns.
.

Thanks..

Hi @bjain409 The librealsense Android wrapper's example program capture may meet your needs with some modification to disable visual rendering, as it makes use of depth and RGB streams.
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/android/examples/capture/
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/android/examples/capture/src/main/java/com/intel/realsense/capture/MainActivity.java#L163
My understanding is that the visual rendering is handled by the OpenGL GLRsSurfaceView elements of the script. So you could try removing or commenting-out these parts out or removing them until the program meets your needs of displayless streaming.
The case in the link below about the Android capture example includes an image of the unmodified program running on a phone, to provide you with an illustration of the captured data:
#4091 (comment)

Hi,
@MartyG-RealSense
Thanks for responding
I am not completely following the process.
Let me tell you the actual requirement.
I am building an android apk with realsense 4351i.
wherein I will create an trigger from android end  for capture.
The apk will be a  background process running continously .
After capture is triggered I need object of rgb camera and depth camera. is there any API defined . which returns be just the object of bitmaps.
If not can you please create a service which returns.
.

Thanks..
@

Hi @bjain409 The librealsense Android wrapper's example program capture may meet your needs with some modification to disable visual rendering, as it makes use of depth and RGB streams.
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/android/examples/capture/
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/android/examples/capture/src/main/java/com/intel/realsense/capture/MainActivity.java#L163
My understanding is that the visual rendering is handled by the OpenGL GLRsSurfaceView elements of the script. So you could try removing or commenting-out these parts out or removing them until the program meets your needs of displayless streaming.
The case in the link below about the Android capture example includes an image of the unmodified program running on a phone, to provide you with an illustration of the captured data:
#4091 (comment)

Hi,
@MartyG-RealSense
Thanks for responding
I am not completely following the process.
Let me tell you the actual requirement.
I am building an android apk with realsense 4351i.
wherein I will create an trigger from android end  for capture.
The apk will be a  background process running continously .
After capture is triggered I need object of rgb camera and depth camera. is there any API defined . which returns be just the object of bitmaps.
If not can you please create a service which returns.
.

Thanks..
@
@MartyG-RealSense
Can you please create a service which will return the rgb and dept camera image
which accepts an flag 2d or 3d(optional if not feasible for android framework) and returns result to calling thread?

My understanding from your description earlier is that the Android app will be streaming depth and color continuously.  You wish to be able to trigger a capture, which will save depth and color images.  Is that correct, please?
If it is, the links below provide examples of scripting references for converting an Android frame to a bitmap and then saving it as an image.  These could possibly be used to program the desired feature in your Android application yourself.
https://github.com/IntelRealSense/librealsense/issues/5446
https://github.com/IntelRealSense/librealsense/issues/4455
https://github.com/IntelRealSense/librealsense/issues/6089
https://github.com/IntelRealSense/librealsense/issues/8316

My understanding from your description earlier is that the Android app will be streaming depth and color continuously. You wish to be able to trigger a capture, which will save depth and color images. Is that correct, please?
If it is, the links below provide examples of scripting references for converting an Android frame to a bitmap and then saving it as an image. These could possibly be used to program the desired feature in your Android application yourself.
#5446
#4455
#6089
#8316

Hi @bjain409   Your new comment above just quotes my previous comment from 7 days ago.  Do you require further assistance please?  Thanks!

Hi @bjain409 Your new comment above just quotes my previous comment from 7 days ago. Do you require further assistance please? Thanks!

@MartyG-RealSense  I am not getting proper support for my requirement.
@dorodnic  Can you please help me with my requirements?
Thanks.

Dorodnic is not available.
It is important to be realistic with expectations.  In most cases, a new feature cannot be created immediately.  We can certainly provide developers with advice about scripting as I have done earlier in this discussion, but the emphasis is on the customer using that advice to develop their own solution.

Hi again @bjain409  Is there anything more that I can do for you, bearing in mind that Intel cannot quickly create an Android feature to meet your needs.

Hi again @bjain409 Is there anything more that I can do for you, bearing in mind that Intel cannot quickly create an Android feature to meet your needs.

@MartyG-RealSense
By when I can expect this feature?

A feature request can be made but the process can take a significant period of time to complete and does not necesarily result in the feature request being approved for creation.  This is why the preferable option is to develop your own solution based upon advice provided on this forum.

A feature request can be made but the process can take a significant period of time to complete and does not necessarily result in the feature request being approved for creation. This is why the preferable option is to develop your own solution based upon advice provided on this forum.

@MartyG-RealSense
None of the solutions provided is useful.

@bjain409   In your opening message of this discussion, you stated the requirement for depth and RGB data on Android but with no UI rendering.  As the Android Capture example provides simultaneous depth and RGB streaming, I suggested using that example's code but disabling the visual rendering elements so that your application could access the live stream data without needing to render it on-screen.
After that suggestion, you added the following requirement:
"I am building an Android apk with RealSense 4351i, wherein I will create an trigger from Android end for capture.  The apk will be a background process running continuously.  After capture is triggered I need object of RGB camera and depth camera.  Is there any API defined which returns just the object of bitmaps".
The Capture code with rendering disabled would seem to meet your needs for a background process running continuously.  Am I correct in thinking that you also require a trigger mechanism in the Android app that will export a depth image and RGB image of the frame that was captured when the trigger was activated, please?  And if that is correct, would the trigger be automatic (for examle, a capture every 5 minutes) or would it be manually activated by a button press on the app?
In link https://github.com/IntelRealSense/librealsense/issues/8551#issuecomment-797663275 I pointed to examples of code for converting an Android frame to a bitmap and capturing it as a image.
If that code is suitable for creating an image capture mechanism, then the only part of the project that would seem to be missing is the trigger mechanism.
If the suggestions made in this case have not been suitable for your needs, could you provide information please about why it is not suitable for your project so that I can research alternative approaches.  Thanks very much.

Hi @bjain409   Could you provide feedback about the advice provided in the comment above please?  Thanks!

Hi @bjain409 Could you provide feedback about the advice provided in the comment above please? Thanks!

@MartyG-RealSense
I am not at all satisfied with the advice.
I thought purchasing intel-realsense device would be greatly helpful and would have support for it, But it's not true!
I might get the depth sensor integrated with RGB of different OEMs.
At least that would not cost me as high as intel costs me.

I am sorry that you feel that your needs have not been met.  Extensive advice about programming an Android application to fulfill the functions that you require has been provided in the comments above.  There is not any more that I can do to help in this particular case.

@MartyG-RealSense Can you check
It's not working adding a dependency
as in
"https://github.com/IntelRealSense/librealsense/blob/master/wrappers/android/examples/java_example/readme.md"

It looks as though in this example, the dependency code mentioned in the above link is located in the build.gradle file in the folder examples/java_example/app/
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/android/examples/java_example/app/build.gradle#L30

It looks as though in this example, the dependency code mentioned in the above link is located in the build.gradle file in the folder examples/java_example/app/
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/android/examples/java_example/app/build.gradle#L30

Hello @MartyG-RealSense
I have followed the same instruction
But while attaching a device  get the pop-up only once
Not like in the case of the capture or recording module wherein I get the pop-up twice.
So the app crashes and I don't get frames

It looks as though in this example, the dependency code mentioned in the above link is located in the build.gradle file in the folder examples/java_example/app/
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/android/examples/java_example/app/build.gradle#L30

Hello @MartyG-RealSense
I have followed the same instruction
But while attaching a device get the pop-up only once
Not like in the case of the capture or recording module wherein I get the pop-up twice.
So the app crashes and I don't get frames

@MartyG-RealSense
https://github.com/bjain409/libRealsenseViaDependency.git
This is what I did. Its not working

It looks as though the Android example has been cloned to your GitHub so it is mostly the same except for the MainActivity.java file.
Did the program run okay on your GitHub in its original form before you began adapting it?

It looks as though the Android example has been cloned to your GitHub so it is mostly the same except for the MainActivity.java file.
Did the program run okay on your GitHub in its original form before you began adapting MainActivity.java?
@MartyG-RealSense
It's not working. I copied the same content from the capture module and in the java example as you can see.
Did you try running?

It looks as though the Android example has been cloned to your GitHub so it is mostly the same except for the MainActivity.java file.
Did the program run okay on your GitHub in its original form before you began adapting MainActivity.java?
@MartyG-RealSense
It's not working. I copied the same content from the capture module and in the java example as you can see.
Did you try running?
@MartyG-RealSense
I had invested more than 10 days in using dependencies
But it was not helpful. I was working with the whole project I was using the capture module. I thought something is wrong at my end. But as you suggested I followed the same. Its still not helpful
Can you plz check it

My Android programming knowledge is limited, so I will seek advice from Intel about your case.

My Android programming knowledge is limited, so I will seek advice from Intel about your case.

@But were you able to run the app?

I am not able to test Android programs myself unfortunately.  I have sent a message to Intel for programming advice about your case.

I am not able to test Android programs myself unfortunately. I have sent a message to Intel for programming advice about your case.

@MartyG-RealSense
Please resolve this asap.
This is blocking my further development.

I have talked about your case with Intel.  Another RealSense team member will join this discussion.

I have talked about your case with Intel. Another RealSense team member will join this discussion.

@MartyG-RealSense
Just a question I want to ask.
How can something get merged into master without being verified

If you are referring to Pull Requests, then you could edit a change into the source code version of librealsense and build it.  Because it is a private custom version of librealsense though, only your librealsense build would have it and the change would not be a part of the public master branch of librealsense.

If you are referring to Pull Requests, then you could edit a change into the source code version of librealsense and build it. Because it is a private custom version of librealsense though, only your librealsense build would have it and the change would not be a part of the public master branch of librealsense.
Some RealSense users make a custom version by cloning a fork of librealsense from the librealsense GitHub to their own GitHub and then using that version.

@MartyG-RealSense
Ok, nevermind please fix the issue asap.

The other RealSense team member will work with you on your case when they join it.  Please work with them.  Thanks very much.

The other RealSense team member will work with you on your case when they join it. Please work with them. Thanks very much.

@MartyG-RealSense
Can I expect their correspondence by eod?

As it is Saturday at the time of writing this, it may be after the weekend now.

As it is Saturday at the time of writing this, it may be after the weekend now.

@MartyG-RealSense
Ok no worries
Just ask them to correspond asap.
Thanks for being kind and being helpful🙏

As it is Saturday at the time of writing this, it may be after the weekend now.

@MartyG-RealSense
Ok no worries
Just ask them to correspond asap.
Thanks for being kind and being helpful

@MartyG-RealSense
Any update?

I will send Intel a reminder now.

@bjain409 Sorry I didn't follow your requirement. If for the requirement in the ticket title, I think MartyG has replied the good solution. https://github.com/IntelRealSense/librealsense/issues/8551#issuecomment-808031352  Or could you please clarify more about your requirements? Or anything missing in MartyG's reply? Thanks!
And for your issue mentioned later, I saw you created another ticket https://github.com/IntelRealSense/librealsense/issues/8728 We'll look into this issue in that ticket.

@bjain409 Sorry I didn't follow your requirement. If for the requirement in the ticket title, I think MartyG has replied the good solution. #8551 (comment) Or could you please clarify more about your requirements? Or anything missing in MartyG's reply? Thanks!
And for your issue mentioned later, I saw you created another ticket #8728 We'll look into the later issue in that ticket.

@RealSenseSupport
Thanks for responding.
The current requirement is #8728 Sorry I quoted that issue here.
Can you please fix issue #8728 asap.
Currently, I am directly working on the capture module And I can't delete any of the other folders from root As it breaks the app.
By when it can be done?

@bjain409 So can I understand this issue https://github.com/IntelRealSense/librealsense/issues/8551 resolved now?
For https://github.com/IntelRealSense/librealsense/issues/8728, we need more information from you to debug. Please move to that issue for more details. Thanks!

@bjain409 So can I understand this issue #8551 resolved now?
For #8728, we need more information from you to debug. Please move to that issue for more details. Thanks!

#8551 is still not done.
What I need is not provided.

@bjain409 Okay. Please clarify you detailed requirement in this ticket #8551.

@bjain409 Okay. Please clarify you detailed requirement in this ticket #8551.

@RealSenseSupport
I am building an android app that will be used for object detection.
It will background app. It won't have any UI components.
There will be a job that will trigger a capture event. In capture, it will store RGB image and depth sensor data.
For instance, take an example there will be a job which will run every 30mins.
Now every 30min images should be captured from both RGB and depth sensors simultaneously.
So I need a method that will return me RGB data and I need a matrix of depth data.
In the case of the depth sensor, I need the depth of individual pixel/point from the depth sensor.
I should get all the depth data from the individual point. It's required for 3D imaging to verify whether the object is real or just the 2d image/photo.
For instance, Consider I have capture triggered and now I want to recognize humans.
So by default nose tip will have the shortest distance from the sensor and the eyes will have more distance.
This will guarantee no one is spoofing. This is just the use case.

@bjain409 Okay. Please clarify you detailed requirement in this ticket #8551.

@RealSenseSupport
I am building an android app that will be used for object detection.
It will background app. It won't have any UI components.
There will be a job that will trigger a capture event. In capture, it will store RGB image and depth sensor data.
For instance, take an example there will be a job which will run every 30mins.
Now every 30min images should be captured from both RGB and depth sensors simultaneously.
So I need a method that will return me RGB data and I need a matrix of depth data.
In the case of the depth sensor, I need the depth of individual pixel/point from the depth sensor.
I should get all the depth data from the individual point. It's required for 3D imaging to verify whether the object is real or just the 2d image/photo.
For instance, Consider I have capture triggered and now I want to recognize humans.
So by default nose tip will have the shortest distance from the sensor and the eyes will have more distance.
This will guarantee no one is spoofing. This is just the use case.

@RealSenseSupport
Any update?

@bjain409 I think MartyG has provided some reference to you in this ticket. Could you please check if these examples help you ? https://github.com/IntelRealSense/librealsense/issues/8551#issuecomment-797663275

@MartyG-RealSense
After getting the depth frame and video frame.
We have a method frame.getHeight,  getWidth
are these values constants?
Does it change in any case at runtime?

Hi @bjain409  Your case is being handled by @RealSenseSupport now.  Thank you.

@bjain409 The value got from frame.getHeight, getWidth are constant which are the resolution you configure or default value if not configured. They will not change during streaming.

@bjain409 Any other questions for this ticket? Thanks for your update!

@bjain409 Anything else we can help on this ticket? Looking forward to your update. Please note that this ticket will be closed if we don't hear from you for another 7 days. Thanks!


AppStore: fix selecting apps according to their categories.

To be tested in combination with https://github.com/aiidalab/aiidalab/pull/240

The AiidaLabApp class should not be directly instantiated, but always instantiated via the from_id() constructor method. What is the motivation for this patch?

But from_id() is gone, no? At least this is the error I got.

Why then do we do:
https://github.com/aiidalab/aiidalab-home/blob/84bed162a21b466f7c59a66e95f116b52a9852ea/home/app_store.py#L75-L77
?

You're right, calling the constructor like this calls the from_id() function internally on the data class: https://github.com/aiidalab/aiidalab/blob/c439d3e901179a7ce3f113c50e28bfb24abc0faf/aiidalab/app.py#L571-L572


✨ Initial Setting

General Setup
After cloning the repository, ensure you have the required configurations and dependencies set up.
application-dev.yml Setup
Create an application-dev.yml file under the resources folder and add the following content:
spring:
  datasource:
    url: 'jdbc:postgresql://localhost:5432/timetodo-spring-db-postgres'
    username: 'compose-postgres'
    password: 'compose-postgres'
  mvc:
    pathmatch:
      matching-strategy: ant_path_matcher
  jpa:
    show-sql: true
    hibernate:
      ddl-auto: create # change to 'none' after the schema is created
    defer-datasource-initialization: true
  sql:
    init:
      mode: always
      continue-on-error: true
  spring:
    container_name: spring-boot-timetodo
    build:
      context: .
      dockerfile: Dockerfile
    ports:
      - "8080:8080"
    depends_on:
      - db
    environment:
      SPRING_DATASOURCE_URL: jdbc:postgresql://timetodo-spring-db-postgres:5432/timetodo-spring-db-timetodo
      SPRING_DATASOURCE_USERNAME: compose-postgres
      SPRING_DATASOURCE_PASSWORD: compose-postgres
    volumes:
      - spring_data:/spring/data
    extra_hosts:
      - "host.docker.internal:host-gateway"
  security:
    oauth2:
      client:
        registration:
          google:
            client-id: '295638385756-ti9ko0nf845ej0h6f522v554f19iv9ft.apps.googleusercontent.com'
            client-secret: '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'
volumes:
  spring_data:

jwt:
  issuer: time-todo
  secret-key: 19adc9c82d95c5f3a4f285de51ad8e02ebc2deaa872326480180649a8de99b5cb28f8ab76e7acb711a061ab7b8125837d4a5d86cd260e868168e870441e36f20

Docker Setup
Ensure that Docker Desktop is running, and in the IntelliJ terminal, execute the following command:

docker-compose up db

If you see a successful output similar to the below image, the database container is running correctly.

I feel like using docker is new and good for users to understand!


Config reader of authenticationendpoint duplicated

Authentication endpoint web app includes several manager classes like TenantManager, MutualSSLManager, etc, that reads the same config file.
It would be better to have a one configuration manager and that to be used in each based on their usecases

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Response body is object for GET and string for POST

For any GET request, if you inspect response.body it is an object. But if you make a POST request, the response.body is always a string instead.
client.createTextPost(
    'longblognamethatdoesntexist',
    { body:'hello there' },
    function(err, data, resp) { typeof console.log(resp.body) }
);
> string

client.blogPosts(
    'longblognamethatdoesntexist',
    {},
    function(err, data, resp) { typeof console.log(resp.body) }
);
> object

Ideally it should always be an object, but it is possible that there may be some edge cases (400 or 500 error responses) where the response is not actually JSON as well.

I think we largely leave the response alone, aside from just converting it to JSON (one level). So, you get something like:
{
  "response": {
    "body": "{}"
  }
}

Basically, we leave body alone in this case, because we don't want to make too many assumptions about the response object.
However, you can do this instead:
client.createTextPost(
  'blogname',
  { body:'hello there' },
  function(err, response, body) { console.log(typeof body) }
);

> object


Enrol tacticalproducts AWS account into central GuardDuty

@brown-a2 GuardDuty is enabled on an account-by-account basis, so they'll be encapsulated in it as well 👍🏼

@brown-a2 GuardDuty is enabled on an account-by-account basis, so they'll be encapsulated in it as well 👍🏼


Specify reviewdog image to GitHub CheckRun API

Lol

I hoped it will change the logo of comments and status check icon, but I was wrong :cry:


Updated the event schema

Description
Updated the event schema so that it is more feasible to recreate the state using events.
Review Checklists
Please check each item before approving the pull request. While going
through the checklist, it is recommended to leave comments on items that are
referenced in the checklist to make sure that they are reviewed. If there are
multiple reviewers, copy the checklists into sections titled ## [Reviewer Name].
If the PR doesn't touch Solidity and/or Rust, the corresponding checklist can
be removed.
[[Reviewer Name]]

[ ] Tokens

[ ] Do all approve calls use forceApprove?
[ ] Do all transfer calls use safeTransfer?
[ ] Do all transferFrom calls use msg.sender as the from address?

[ ] If not, is the function access restricted to prevent unauthorized
token spend?

[ ] Low-level calls (call, delegatecall, staticcall, transfer, send)

[ ] Is the returned success boolean checked to handle failed calls?
[ ] If using delegatecall, are there strict access controls on the
addresses that can be called? It shouldn't be possible to delegatecall
arbitrary addresses, so the list of possible targets should either be
immutable or tightly controlled by an admin.

[ ] Reentrancy

[ ] Are functions that make external calls or transfer ether marked as nonReentrant?

[ ] If not, is there documentation that explains why reentrancy is
not a concern or how it's mitigated?

[ ] Gas Optimizations

[ ] Is the logic as simple as possible?
[ ] Are the storage values that are used repeatedly cached in stack or
memory variables?
[ ] If loops are used, are there guards in place to avoid out-of-gas
issues?

[ ] Visibility

[ ] Are all payable functions restricted to avoid stuck ether?

[ ] Math

[ ] Is all of the arithmetic checked or guarded by if-statements that will
catch underflows?
[ ] If Safe functions are altered, are potential underflows and
overflows caught so that a failure flag can be thrown?
[ ] Are all of the rounding directions clearly documented?

[ ] Testing

[ ] Are there new or updated unit or integration tests?
[ ] Do the tests cover the happy paths?
[ ] Do the tests cover the unhappy paths?
[ ] Are there an adequate number of fuzz tests to ensure that we are
covering the full input space?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.3%) to 93.195%

Files with Coverage Reduction
New Missed Lines
%

contracts/src/libraries/LPMath.sol
1
84.29%

contracts/src/internal/HyperdriveBase.sol
4
94.35%

Totals

Change from base Build<PHONE_NUMBER>:
-0.3%

Covered Lines:
1835

Relevant Lines:
1969

💛  - Coveralls


♻ Refactor/reboot chain to v0.46.1

This PR "reboots" (once again) the chain OKP4 using the latest available version of Ignite CLI v0.24.0 and accordingly, the latest versions of CØSMOS SDK v0.46.1 at time of writting.
This is required to address #112.
To do:

[x] 🏗 blockchain scaffolding using Ignite CLI v0.24.0
[x] 🧹 code cleaning
[x] 📏 adaptation to the needs of okp4
[x] 🩺 healing of CI

Notes:
🚨 The CosmWasm module has been removed and its re-introduction will be part of another PR.

Great! Let's go!

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

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


500 : Internal Server Error KeyError: 'user'

Hi,
I'm trying to install jupyterhub locally.
but running and connecting to the server I get a 500, I can get to the administrator pages (when sudo jupyterhub 'ing) but not add users etc.
however when I go to the root page (or users dashboard) I get a 500 with :
Uncaught exception GET /user/user/tree (<IP_ADDRESS>)
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/tornado/web.py", line 1346, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/usr/local/lib/python3.4/dist-packages/tornado/web.py", line 2613, in wrapper
if not self.current_user:
File "/usr/local/lib/python3.4/dist-packages/tornado/web.py", line 1028, in current_user
self._current_user = self.get_current_user()
File "/usr/local/lib/python3.4/dist-packages/IPython/html/base/handlers.py", line 72, in get_current_user
return self.login_handler.get_user(self)
File "/src/jupyterhub/jupyterhub/singleuser.py", line 95, in get_user
user = auth_data['user']
KeyError: 'user'
any ideas ?

broken by a recent patch. Should be fixed in master.

Thanks.
That worked


Update cats-core, cats-kernel, cats-macros to 2.1.1

Updates

org.typelevel:cats-core
org.typelevel:cats-kernel
org.typelevel:cats-macros

from 2.0.0 to 2.1.1.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel" } ]

labels: library-update, semver-minor

Codecov Report

Merging #45 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #45   +/-   ##
======================================
  Coverage    59.4%   59.4%
======================================
  Files          97      97
  Lines        4239    4239
  Branches      182     182
======================================
  Hits         2518    2518
  Misses       1721    1721

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 c2ef3ac...c01cdf9. Read the comment docs.


Height of StatefulInput vs. StatefulSelect in Safari

Current Behavior
I have a simple filtering UI with a StatefulSelect and a StatefulInput next to each other plugged inside a Block grid (I also tried this with the FlexGrid with the same result). Noticed that the StatefulInput renders 4px taller than the StatefulSelect in Safari (latest 12.1.1).
I've created this CodeSandbox, based on the Block demo, to show how this is happening.
Demo: https://codesandbox.io/s/block-with-grid-usage-87gle
Expected Behavior
UI components should render the same height and be consistent across browsers.
Your Environment

Tech
Version

Base UI
v8.6.1

React
16.8.2

browser
Safari 12.1.1

browser
Chrome 75.x

[x] I have searched the issues of this repository and believe that this is not a duplicate.

In 8.7.0 the height is no longer the same in Chrome for StatefulSelect vs. StatefulInput.
Interestingly it seems that in Chrome the StatefulSelect is 44px and in Safari it's 48px tall.
StatefulInput is 48px in Chrome and 52px tall in Safari. This is with standard default size applied.
#1564 seems to be the reason for this change in height.

The Chrome issue is not an issue with standard fields. I had an beforeEnhancer with a 18px icon that made the field taller, but even with standard fields the issue is still present in Safari.

I've had a look into this via the storybook.
The StatefulSelect and StatefulInput are the same height in Chrome and Safari. However, that size differs between the browsers. Seems there's a margin being included in Safari on the input itself. margin: 0em in Safari didn't seem to be doing what it was saying.
I've opened a PR for this 👍


Package request: Valent

Project description

Valent is an implementation of the KDE Connect protocol, built on GNOME platform libraries.
Seems to be a re-implementation of GSConnect without the GNOME Shell bits made by the same author, intended to work on more desktop environments but it also has a (separate) GNOME Shell extension.
I have packaged it myself (here) and it works surprisingly well for an alpha.

Metadata

homepage URL: https://valent.andyholmes.ca/
source URL: https://github.com/andyholmes/valent
license: gpl3Plus, cc0
platforms: linux

The linked package works for the part. Tested the clipboard syncing, presentation mode, and remote input (among other things). I've yet to test the app with the GNOME Shell extension though. Looking forward for the PR.


rbspy: add an update script

Description of changes
This project is released based on tags, so add the standard update script.
Cleanup the arguments.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Closing as the significance of this is low, and OP hasn't replied to review.

OP did not realise this was still open :)
Reopening with a fix.


Implement furnace events

@simon816: I'm aware of the build errors. The PR is currently blocked on the implementation of the Inventory API, as the furnace inventory is needed in the event.


Slavedriver's hand not counting attack and cast speed nodes

Frenzy charges, Trickster passives, and other sources of both attack and cast speed are not modifying trap throwing time with Slavedriver's Hand equipped.

I'll add on this: specifically it's not adding cast speed from onslaught and frenzy charges. Cast speed on passive nodes are working for me

Fixed in the next update.


Add save-game.

Could probably store:

Seed.
Current PC position.
Inventory items.
Inventory states.

The problem is that door states are not deterministic for a fixed seed. I have no clue why.


apiKey support for yandex is implemented

The current release doesn't add apiKey to yandex request and return 403 Forbidden as result. The patch is solves this issue.

 Thanks for the great library.


Solarium_Query_Select_Component_Spellcheck::getCorrectlySpelled() failed

I checked the spellcheck component on the library and the method getCorrectlySpelled isn't included which maybe the reason why spellchecking example fails.

Can you give some extra details about the bug, so I can reproduce it?

the Solarium version you tested
the example you tried to execute

The Solarium library version I used is 2.3.0. I just tried to execute the example from the download, specifically /examples/<IP_ADDRESS>-spellcheck.php where I got the error.

I think I know what is happening here. Your Solr instance doesn't have spellchecking configured. In that case the spellcheck query is ignored and the spellcheck result is missing in the response. Because of the missing response data Solarium cannot create a spellcheck result object.
The example expects a result object and calls the getCorrectlySpelled method. This method does exist (in Solarium_Result_Select_Spellcheck) if you get a result object.
I've tested it by disabling spellcheck and now I can reproduce it.
The main issue here is Solr configuration, but maybe Solarium should handle this with a detailed error message.

"Your Solr instance doesn't have spellchecking configured."
But I already do have it enabled in solrconfig.xml.

<str name="queryAnalyzerFieldType">textSpell</str>

<lst name="spellchecker">
  <str name="name">default</str>
  <str name="field">name</str>
  <str name="spellcheckIndexDir">./spellchecker</str>
</lst>

There are multiple ways to configure spellchecking. Because the error is based on a select query class I assume you are using a select query with a spellcheck component. In that case you need to have spellchecking configured for the search handler you are using. By default this is the handler named "search". I use the following config inside this requesthander:

spellcheck

If this doesn't solve your issue please post your complete solrconfig.xml file.

In your solrconfig only the /spell requesthandler has the spellcheck component configured.
However the select query will use the standard requesthandler. This doesn't have the spellcheck component. If you add this to your standard request handler it should work.
<arr name="last-components">
   <str>spellcheck</str>
</arr>


Output cell snaps focus to the left when highlighting column name in dataframe.

Bug: Notebook Editor, Interactive Window, Editor cells
Steps to cause the bug to occur

Create and display a pandas.Dataframe with enough columns that You can scroll to the right. The following code should do it.

import numpy as np
import pandas as pd
pd.options.display.max_columns = None
df = pd.DataFrame(np.zeros((10, 100)), columns=[f"Column {i}" for i in range(100)])
df.head()

Scroll the output cell to the right.
Attempt to highlight a column name.
NOTE: This also occurs when scrolling down to view dataframes with lot of rows. The output cell will snap back to the top.

Actual behavior
"Bug" is probably an overstatement.

Expected behavior
It shouldn't snap focus back to the left.
Environment

Jupyter server running:                        Local
Jupyter mode:                                       Interactive and ipynb
Extension version:                                2020.2.64397
VS Code version:                                  1.43.0
Setting python.jediEnabled:               false
Python and/or Anaconda version:     3.8.1
OS:                                                          macOS Catalina
Virtual environment:                             conda

@theelderbeever . Thanks for the report and the detailed steps on this. I'm currently not reproing this myself, but we do sometimes have behavior for scrolling that is different between mac and windows and I'm currently on my windows machine. I'll see if I can grab my mac tomorrow to try this out there as well.

Hmmm, I'm also not seeing this on my Mac. @rchiodo, @DavidKutu @DonJayamanne . Can anyone else try this repro quick?

I can repro it with our latest if I use the insiders version of VS code.

I couldn't repro on windows using insiders.


CSS for cart-view needs to be separated from general homeview css

I created a new div, and showed separation using different CSS background colors.
They're not the prettiest, but they'll suffice.

I created a new div, and showed separation using different CSS background colors.
They're not the prettiest, but they'll suffice.


Enable cloudwatch cluster logging .

During the eks workshop I have seen Brent enabling the logging from the EKS dashboard. Thought it would be better to enable it from the ClusterConfig itself.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

We've been (perhaps overly) cautious about adding on layers of additional cost... what would you think about including this information in the file, but commented out? That way someone could turn it on if they decide it would be valuable to them.

@brentley , Perfect. Adding it there with comments makes more sense to avoid additional costs. Along the same lines I was thinking that if we can supply the instance type for managed node group to something like t2, t3 etc to make this workshop little less costly. It spins m5.large nodes by default.

I’m in favor of that, but we need to test first. Let’s make that a separate change.

I’m in favor of that, but we need to test first. Let’s make that a separate change.

Sure.


python37Packages.py4j: 0.10.9 -> <IP_ADDRESS>

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python37Packages.py4j is: "Py4J enables Python programs running in a Python interpreter to dynamically access Java objects in a Java Virtual Machine. Methods are called as if the Java objects resided in the Python interpreter and Java collections can be accessed through standard Python collection methods. Py4J also enables Java programs to call back Python objects."
meta.homepage for python37Packages.py4j is: "https://www.py4j.org/"
meta.changelog for python37Packages.py4j is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found <IP_ADDRESS> with grep in /nix/store/rhp1yg22rgdm2ffr73il971fhbprizdx-python3.7-py4j-<IP_ADDRESS>

directory tree listing: https://gist.github.com/354870703ec38d3282eb19115833a9eb

du listing: https://gist.github.com/d5e06e6161892ee152f22c27e8a72ca4

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

48 total rebuild path(s)

12 package rebuild(s)

12 x86_64-linux rebuild(s)
12 i686-linux rebuild(s)
12 x86_64-darwin rebuild(s)
12 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
python27Packages.databricks-connect
python27Packages.py4j
python27Packages.pyspark
python27Packages.python-ldap-test
python37Packages.databricks-connect
python37Packages.py4j
python37Packages.pyspark
python37Packages.python-ldap-test
python38Packages.databricks-connect
python38Packages.py4j
python38Packages.pyspark
python38Packages.python-ldap-test

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/rhp1yg22rgdm2ffr73il971fhbprizdx-python3.7-py4j-<IP_ADDRESS> \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/rhp1yg22rgdm2ffr73il971fhbprizdx-python3.7-py4j-<IP_ADDRESS>
ls -la /nix/store/rhp1yg22rgdm2ffr73il971fhbprizdx-python3.7-py4j-<IP_ADDRESS>/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

6 packages failed to build:

python27Packages.databricks-connect
python27Packages.pyspark
python37Packages.databricks-connect
python37Packages.pyspark
python38Packages.databricks-connect
python38Packages.pyspark

6 packages built:

python27Packages.py4j
python27Packages.python-ldap-test
python37Packages.py4j
python37Packages.python-ldap-test
python38Packages.py4j
python38Packages.python-ldap-test

Maintainer pings
cc @shlevy for testing.

Result of nixpkgs-review pr 100623 run on x86_64-linux 1

3 packages failed to build:

python27Packages.databricks-connect
python37Packages.databricks-connect
python38Packages.databricks-connect

9 packages built:

python27Packages.py4j
python27Packages.pyspark
python27Packages.python-ldap-test
python37Packages.py4j
python37Packages.pyspark
python37Packages.python-ldap-test
python38Packages.py4j
python38Packages.pyspark
python38Packages.python-ldap-test

py4j is on version <IP_ADDRESS> on master


Histogram single digit bin sizes are hard to manipulate

Data Explorer -> Histogram -> view options (settings wheel)

Use backspace to delete the default custom bin size

Deleting all of the characters puts the bin size into Auto

Attempting to input a single digit bin size is not intuitive, because steps 1 and 2 are what a user normally would do before inputting a single digit. And once the bin size goes into Auto, user must start over again.

See example:

Expected behavior:
Should be able to input single digit bin sizes after deleting the existing bin size
Actual behavior:
Auto selection is too aggressive, making it difficult for user to input single digit bin sizes.
Environment info:
latest master

Previously, numeric Input components were made delete-able when issue https://github.com/influxdata/influxdb/issues/15024 was resolved. Bin sizes in Histograms should be one of the use cases for delete-able numeric Input.


pg_file_settings

I think it's very useful to get an alert ...

If the config file has been edited, but postgresql is pending a reload
If an error has been introduced into the config file (and probably a "systemctl restart postgresql" will fail to start up postgresql again)

This information is easily available in the view pg_file_settings, which has been around since pg 9.6.
I'd suggest adding this either as a separate "service" or do a check on this view as part of the existing "settings" service.
I cannot promise anything, but if I get a green light on this one, if I find time for it, and if I understand the perl code (not my favorite language), then perhaps I will write up a pull request.  (it can't be that hard, can it?)
The task is basically just to do a check like ...
SELECT * FROM pg_file_settings WHERE not applied

... and yield a warning with some descriptive text if anything is returned from said query.

+1
(Coincidence, we had a discussion about this yesterday)
You have the same problem with pg_hba.conf, and the view pg_hba_file_rules
BTW, it seems to be a duplicate of  #157

for that , and a new service would be better I think.

We should probably close this issue and switch to #157.


Dependency conflict with commonly used AWS libraries

Description
Dependency conflict with PyYAML.
Kedro requires PyYAML>=5.1, <6.0 while various AWS libraries require in the range PyYAML<4.3,>=3.10.
This is the same issue encountered here: https://github.com/quantumblacklabs/kedro/issues/36
Looking to relax the requirements here:
https://github.com/quantumblacklabs/kedro-viz/blob/develop/package/test_requirements.txt
Context
I'm unable to visualize my project, with the error:

Steps to Reproduce

pip install kedro sagemaker kedro-viz
kedro viz

Expected Result
This should launch the kedro viz.
Actual Result
Fails when checking dependencies, see error above.
Your Environment
Include as many relevant details as possible about the environment you experienced the bug in:

Kedro version used (pip show kedro or kedro -V): 0.14.3
Python version used (python -V): 3.7.3
Operating system and version: macOS Mojave 10.14.5

Checklist

[x] Include labels so that we can categorize your issue

The next version of Kedro will loosen the requirement on PyYAML to >=4.2.
Will that fix the problem? or am I missing some additional detail?

Hi @chriswynnyk! I just realised we forgot to close this issue. Current pinning for PyYAML>=4.2, <6.0 in kedro.
And hang on, I just realised, you made a kedro sagemaker plugin? 🎉

@chriswynnyk We're working with the AWS team to produce a knowledge document on using Kedro and Sagemaker. Would we be able to talk to you about how you used them together?


fragmentScope() doesn't take any effect on geoSpatialRegion

It seems that fragmentScope is not taking any effect. When I put properties as the value, it's still returning the documents although the documents don't have any properties
Shouldn't it return no document?
    dbWriter.documents.query(
      q.where(
        q.geospatialRegion(
          q.geoPath('/root/item/point'),
          'equals',
          q.point(0, -66.09374),
          q.geoOptions(['tolerance=1']),
          q.fragmentScope('properties')
        )
      )
    )

Hmmm.  The Node.js API is sending the qualification to the REST API.

The root cause is in the Search API.

We should add tests on the Search API to confirm that the fragment scope from geospatial queries is getting passed in.  Previously, only the fragment scope from the options for geospatial queries was passed.

Added test on nodejs-documents-query-region.js


Archetypes

I'm thinking maybe the archetypes could all be under /archetypes/examples/, and then recommend that they be symlinked to on websites. This would be the best for making sure that the theme doesn't feel limited to one specific URL scheme and usecase.

Fixed by 72cfb0834be38dd6494516139d18ca5bdd6f9d12, use hugo new --kind blog blog/some-post.md or hugo new --kind blog blog/some-post for example


install.sh: Cleanup of quotes

Where no variable expansion is done, " is replaced with '.
Copying content of one variable to another variable never needs quotes.
Some calls to echo and fatal need no quotes at all, but have been left
with ' to make it easier to see where the string begins and ends.
The fatal function now also sends output to stderr.
Change-Id: I2504707e5c550bc498e7663cedf58c224cd0a15b
Signed-off-by: Joakim Roubert<EMAIL_ADDRESS>

It seems there are some hickups with the amd64 test pipeline:
E1008 05:52:50.222703 1 node.go:124] Failed to retrieve node info: nodes "b31d543f8bcf" not found

E1008 05:52:51.258245 1 core.go:201] failed to start cloud node lifecycle controller: no cloud provider provided

W1008 05:53:02.715802 1 actual_state_of_world.go:506] Failed to update statusUpdateNeeded field in actual state of world: Failed to set statusUpdateNeeded to needed true, because nodeName="b31d543f8bcf" does not exist

(Patch has been verified on armv7 device here)


Issue Title: "Add Footer Section"

@DeadmanAbir
Issue Description: The website currently lacks a footer section. I propose adding a footer that includes useful links, contact information, social media icons, and other relevant details to improve navigation and provide users with easy access to important resources.
I’d like to work on adding this feature. Please assign this issue to me under gssoc-ext, hacktoberfest-accepted, level

@DeadmanAbir Issue Description: The website currently lacks a footer section. I propose adding a footer that includes useful links, contact information, social media icons, and other relevant details to improve navigation and provide users with easy access to important resources.
I’d like to work on adding this feature. Please assign this issue to me under gssoc-ext, hacktoberfest-accepted, level

The footer we have is okay for now, we don't think we need a new one , if we need we will  raise a issue in future.


error: no member named 'standardOptimizeOption' in struct 'std.build.Builder'

I installed zig on my Fedora 39 but upon building doctest I get the below error:
./build.zig:12:23: error: no member named 'standardOptimizeOption' in struct 'std.build.Builder'
    const optimize = b.standardOptimizeOption(.{});

zig-doctest uses zig master

Can you please elaborate so that I can better understand?

if you do zig version in a terminal my guess is that you'd see 0.11.0. whereas doctest is built to support the latest/master/nightly version from https://ziglang.org/download/

Okay, so do i need to download source and build and install zig? My current version is 0.9?

either that or download a tarball from the link yes

Thanks, I followed the latter option and downloaded the latest tarball and then built zig-doctest and it was successful.


Updated Short Rest interface

I have updated the Short Rest interface:

It is fully localized, relevant keys have been added or updated in the other language jsons, as requested by Logmelna.
The short rest chat messages have been localized too.
Restoring stamina is now a checkbox you can tick rather than a separate button that immediately performs the rest.
Performing Rest is now done by clicking on the Rest button.

A good point. I have adjusted the margin on the rest form so that the checkbox has a little room to breathe.


The ability to configure an ip address for the mysql server.

(mysql_host variable was added)

@spheresh please have a look on my comment above

Hi @spheresh!
I'd like to clear the misunderstanding. It seems to me that @podarok has made a point that CIBox is flexible enough to solve your problem with a single line of configuration without making pathes or so.
Just try to add this line here: https://github.com/propeoplemd/cibox/blob/master/github/files/drupal7/scripts/devops/reinstall/vars/environments/global_env.yml#L4
- { name: '$databases["default"]["default"]["host"]', status: true, value: '<IP_ADDRESS>' }

Thanks for your patch! We'll think about ability to add MySQL host to the settings.

@Sanchiz ^^^ let's talk about this at our Friday Standup. Feel free to add it to our agenda

@podarok +

@spheresh merged! thank you! Looking forward to new PRs from you:)


hapi-fhir-base/hapi-fhir-structures-dstu3 - java.lang.IllegalStateException: Could not find any HAPI-FHIR structure JARs on the classpath

James,
We are trying to upgrade our libraries from hapi-fhir dstu2 to dstu3. We were able to upgrade and resolve all the conflicts but getting issue while initiating FHIRContext with below error.
java.lang.IllegalStateException: Could not find any HAPI-FHIR structure JARs on the classpath. Note that as of HAPI-FHIR v0.8, a separate FHIR strcture JAR must be added to your classpath (or project pom.xml if you are using Maven)
	at ca.uhn.fhir.context.FhirContext.<init>(FhirContext.java:190) ~[hapi-fhir-base-2.0.jar!/:na]
	at ca.uhn.fhir.context.FhirContext.<init>(FhirContext.java:163) ~[hapi-fhir-base-2.0.jar!/:na]
	at ca.uhn.fhir.context.FhirContext.<init>(FhirContext.java:136) ~[hapi-fhir-base-2.0.jar!/:na]
	at ca.uhn.fhir.rest.server.RestfulServer.getFhirContext(RestfulServer.java:401) ~[hapi-fhir-base-2.0.jar!/:na]
	at ca.uhn.fhir.rest.server.RestfulServer.init(RestfulServer.java:751) ~[hapi-fhir-base-2.0.jar!/:na]

Upgraded the maven dependencies to dstu3 version 2.0 as below and initiated FhirContext with
FhirContext.forDstu3()
<dependency>
	<groupId>ca.uhn.hapi.fhir</groupId>
	<artifactId>hapi-fhir-base</artifactId>
	<version>2.0</version>
</dependency>
<dependency>
	<groupId>ca.uhn.hapi.fhir</groupId>
	<artifactId>hapi-fhir-structures-dstu3</artifactId>
	<version>2.0</version>
</dependency>

When we verified, the FhirContext initialization in hapi-fhir-base 2.0, does not look for version Dstu3 which happend to cause this exception,
https://github.com/jamesagnew/hapi-fhir/blob/master/hapi-fhir-base/src/main/java/ca/uhn/fhir/context/FhirContext.java
private FhirContext(FhirVersionEnum theVersion, Collection<Class<? extends IBaseResource>> theResourceTypes) {
		VersionUtil.getVersion();

		if (theVersion != null) {
			if (!theVersion.isPresentOnClasspath()) {
				throw new IllegalStateException(getLocalizer().getMessage(FhirContext.class, "noStructuresForSpecifiedVersion", theVersion.name()));
			}
			myVersion = theVersion.getVersionImplementation();
		} else if (FhirVersionEnum.DSTU1.isPresentOnClasspath()) {
			myVersion = FhirVersionEnum.DSTU1.getVersionImplementation();
		} else if (FhirVersionEnum.DSTU2.isPresentOnClasspath()) {
			myVersion = FhirVersionEnum.DSTU2.getVersionImplementation();
		} else if (FhirVersionEnum.DSTU2_HL7ORG.isPresentOnClasspath()) {
			myVersion = FhirVersionEnum.DSTU2_HL7ORG.getVersionImplementation();
		} else {
			throw new IllegalStateException(getLocalizer().getMessage(FhirContext.class, "noStructures"));
		}

		if (theVersion == null) {
			ourLog.info("Creating new FhirContext with auto-detected version [{}]. It is recommended to explicitly select a version for future compatibility by invoking FhirContext.forDstuX()", myVersion.getVersion().name());
		} else {
			ourLog.info("Creating new FHIR context for FHIR version [{}]", myVersion.getVersion().name());
		}

		myResourceTypesToScan = theResourceTypes;
	}

Could you please verifiy if this is a miss or do we need to add/update any other dependencies?
Thanks,
Vijay

This does look like a version is missing there, I'd agree.
You can work around this by passing in a copy of a context for the appropriate version to the RestfulServer's constructor (or by calling setContext in the initialization method), which is better anyhow since it avoids the server guessing which version you want.

Do we have any sample for the workaround?
We are facing while FhirContext initialization itself, so even when passing FhirContext with DSTU3 version in constructor will have this problem.
new FhirContext(FhirVersionEnum.DSTU3)

Try initializing the context using the static initializer, ie.
FhirContext ctx = FhirContext.forDstu3();

James,
No luck still.
FhirContext.forDstu3() was my initial try, and I also tried all the otherways.
public static FhirContext forDstu3() {
	return new FhirContext(FhirVersionEnum.DSTU3);
}

All the constructor methods will eventually hit FhirContext(FhirVersionEnum.DSTU3) contructor
and there is no way to assign "IFhirVersion"(FhirDstu3) to FhirContext with out version number ("FhirVersionEnum")
so not sure if there is a workaround in creating fhircontext with dstu3 structure?
Sorry If miss something,
Thanks,
Vijay

Ok, something is definitely up with your environment in that case. It's definitely possible to create STU3 servers using the static constructor method, we've done this lots of times. :)
I'm wondering if you have a stray old version of HAPI still being bundled in your WAR file or something like that? Can you try running a full mvn clean install and then verifying that there is only one hapi-fhir-base JAR in the WAR?

your are right, its my bad.
FhirContext.forDstu3(); is indeed working, my code internally tried to initialize again with out version which caused the issue.


Add IsIterableIntersecting

Fixes #195. I create a simple matcher IsIterableIntersecting to check whether the two iterable have an intersection.

Going to try and kick start hamcrest, so if you want to get it merged, please rebase from the branch v2.3-candidates.
Still trying to understand how has permissions to perform a release.


Could not find a valid gem 'sorbet-static' (= 0.5.5631) (required by 'sorbet' (= 0.5.5631)) in any repository

Input
On MacOS Big Sur version 11.1
gem install sorbet -v 0.5.5631

Observed output
ERROR:  Could not find a valid gem 'sorbet-static' (= 0.5.5631) (required by 'sorbet' (= 0.5.5631)) in any repository
ERROR:  Possible alternatives: sorbet-static

Expected behavior
gem install sorbet -v 0.5.5631 should succeed on Big Sur.

I suspect that older versions of sorbet-static is not available for universal-darwin-20.
When I install gem install sorbet, it actually succeeds:
gem install sorbet
Fetching sorbet-static-0.5.6267-universal-darwin-20.gem
Fetching sorbet-0.5.6267.gem
Successfully installed sorbet-static-0.5.6267-universal-darwin-20

  Thanks for installing Sorbet! To use it in your project, first run:

    bundle exec srb init

  which will get your project ready to use with Sorbet.
  After that whenever you want to typecheck your code, run:

    bundle exec srb tc

  For more docs see: https://sorbet.org/docs/adopting
Successfully installed sorbet-0.5.6267
Parsing documentation for sorbet-static-0.5.6267-universal-darwin-20
Installing ri documentation for sorbet-static-0.5.6267-universal-darwin-20
Parsing documentation for sorbet-0.5.6267
Installing ri documentation for sorbet-0.5.6267
Done installing documentation for sorbet-static, sorbet after 0 seconds
2 gems installed

0.5.5874 was the first version to publish a gem archive for universal-darwin-20
Sorbet only support HEAD, so we have no plans to update old gem versions.
If you want to hack around this, all universal-darwin-* binaries are identical.
Here are the lines in our CI where we use the same folder with a quick sed to make all the versions of macOS:
https://github.com/sorbet/sorbet/blob/d570e3bac6ccbc5e7678eeef00e8b7763b4a78f8/.buildkite/build-static-release.sh#L26-L43
You could unpack the universal-darwin-19 gem, sed 19 to 20 everywhere, and re-tar it up, and host the *.gem file somewhere.
Otherwise, i'd recommend upgrading. You're on a 9 month old sorbet version—we've made a lot of improvements since then.

Thank you, @jez, 🙏   for the lighting fast response that confirmed my suspicion and suggested workarounds.


Fix mod for matching with pandas.

Resolves #1398
>>> pser
0    10
dtype: int64

>>> kser
0    10
Name: 0, dtype: int64

>>> pser.mod(-3)
0   -2
dtype: int64

>>> kser.mod(-3)
0    -2
Name: 0, dtype: int64

I have no idea how can I handling the 'negative zero' like the below.
Any good idea?
>>> pser
0    100.0
1      NaN
2   -300.0
3      NaN
4    500.0
5   -700.0
Name: Koalas, dtype: float64
>>> kser
0    100.0
1      NaN
2   -300.0
3      NaN
4    500.0
5   -700.0
Name: Koalas, dtype: float64

>>> pser.mod(150)
0    100.0
1      NaN
2      0.0
3      NaN
4     50.0
5     50.0
Name: Koalas, dtype: float64
>>> kser.mod(150)
0    100.0
1      NaN
2     -0.0  # << Here is the matter. how can we handle this negative zero?
3      NaN
4     50.0
5     50.0
Name: Koalas, dtype: float64

Codecov Report

Merging #1399 into master will decrease coverage by 2.28%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1399      +/-   ##
==========================================
- Coverage   95.24%   92.96%   -2.29%
==========================================
  Files          34       34
  Lines        7826     7830       +4
==========================================
- Hits         7454     7279     -175
- Misses        372      551     +179

Impacted Files
Coverage Δ

databricks/koalas/base.py
97.55% <100.00%> (+0.04%)
:arrow_up:

databricks/koalas/usage_logging/__init__.py
24.32% <0.00%> (-70.28%)
:arrow_down:

databricks/koalas/usage_logging/usage_logger.py
50.00% <0.00%> (-50.00%)
:arrow_down:

databricks/koalas/__init__.py
78.72% <0.00%> (-14.90%)
:arrow_down:

databricks/conftest.py
88.67% <0.00%> (-7.55%)
:arrow_down:

databricks/koalas/frame.py
93.41% <0.00%> (-3.40%)
:arrow_down:

databricks/koalas/namespace.py
87.36% <0.00%> (-1.38%)
:arrow_down:

databricks/koalas/plot.py
93.33% <0.00%> (-0.96%)
:arrow_down:

databricks/koalas/testing/utils.py
78.26% <0.00%> (-0.73%)
:arrow_down:

databricks/koalas/groupby.py
90.26% <0.00%> (-0.21%)
:arrow_down:

... and 1 more

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 2579312...da68b8b. Read the comment docs.

There have been ongoing issues about 0.0 vs -0.0 in Spark itself. I think you can avoid to address it here.

There have been ongoing issues about 0.0 vs -0.0 in Spark itself. I think you can avoid to address it here.

I made it works properly for every cases by fixing the existing calculation properly.

Thanks. merging.
Since I have a concern, I'll submit a follow-up PR soon.


add dedicated pip index url config for full project

Follow-up for #5976.

[x] deprecate package source config
[x] introduce pip: { index_url: str[] } config option: applies to all the project's pip installs, not only v2
[ ] Open question: what with agent installs?
[ ] make sure pytest-inmanta etc still work + create follow-up tickets for migration to non-deprecated config
[ ] update project template: also make sure there is no confusion on repo_url vs package_repo, renaming them and adding comments clarifying what they are and why they're there, then pointing to the docs.

As discussed in planning meeting don't rename the options in the project template


Skip satellite subscription deletion when the subscription is not found

What this PR does / why we need it:
When the satellite subscription has been deleted manually or wasn't registered correctly in the first place due to some custom setup, the deletion of the subscription should be avoid otherwise the machine will be stuck in deletion phase
Which issue(s) this PR fixes (optional, in fixes #<issue number> format, will close the issue(s) when PR gets merged):
Fixes #980
Special notes for your reviewer:
Optional Release Note:

None

/cc @chrkl

/retest

/unhold

/retest


New core plugin: browser

Adds the ability to easily open a site in your browser by typing a URL.

Coverage increased (+0.4%) to 87.778% when pulling d7b0588992f9b3e68c1334ddeccecb7305e4c2c5 on plugin-browser into 8e8df611f6671599c55809a691b3bf43dcef42f1 on develop.

Coverage increased (+0.4%) to 87.778% when pulling c729f07c2e5b2b1bbcdd46a0884d3a6cc7eefe84 on plugin-browser into 8e8df611f6671599c55809a691b3bf43dcef42f1 on develop.

Coverage increased (+0.4%) to 87.778% when pulling 68ac7cff6b0fa9aaef806a2ec0c1bf06aa73c964 on plugin-browser into 8e8df611f6671599c55809a691b3bf43dcef42f1 on develop.

Coverage increased (+0.4%) to 87.744% when pulling e5867f715468a099852316fdfb730cdb5818f8d7 on plugin-browser into 8e8df611f6671599c55809a691b3bf43dcef42f1 on develop.

Coverage increased (+0.4%) to 87.744% when pulling 241fe91e031370739df180723d4603e2074858fa on plugin-browser into 8e8df611f6671599c55809a691b3bf43dcef42f1 on develop.

Ah, very good catch! Will resolve that tomorrow. 👍

Coverage increased (+0.4%) to 87.744% when pulling 1ec715721423ef0a7abaa228ae1843eb0b43bcdb on plugin-browser into 8e8df611f6671599c55809a691b3bf43dcef42f1 on develop.


Update freefilesync to 10.0

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Details on VirusTotal

[VirusTotal's Details tab]

Thanks for posting VirusTotal but doesn't work for pkg installers.

Package "FreeFileSync_10.0_macOS.pkg":
   Status: signed by a certificate trusted by Mac OS X
   Certificate Chain:
    1. Developer ID Installer: Florian Bauer (Y8U4RUM443)
       SHA1 fingerprint: 16 2C 90 26 39 01 AC 55 E0 EE 3C 9F 9A F1 E4 D2 0A CB AB 5B
       -----------------------------------------------------------------------------
    2. Developer ID Certification Authority
       SHA1 fingerprint: 3B 16 6C 3B 7D C4 B7 51 C9 FE 2A FA B9 13 56 41 E3 88 E1 86
       -----------------------------------------------------------------------------
    3. Apple Root CA
       SHA1 fingerprint: 61 1E 5B 66 2C 59 3A 08 FF 58 D1 4A E2 24 52 D1 98 DF 6C 60


any scipy.interpolate.lagrange alternative?

Hi, I've tried to solve https://projecteuler.net/problem=101 problem using scipy's lagrange method and the solutions i was getting were wrong.
After that I've decided to give it a shot to a custom lagrange function of mine and the problem was solved perfectly. So, am i missing something or that scipy's method is definitely buggy?
Regards.

Indeed there are several alternatives to scipy.interpolate.lagrange; it is
basically the worst option. But all the scipy alternatives work in
floating-point, when this problem is better handled with exact
(rational/integer) arithmetic. If you want to work in floating-point,
scipy.interpolate.BarycentricInterpolator is the most stable option. For
integer/rational options, try sympy or mpmath.
Anne
On Fri, Aug 5, 2016 at 4:07 PM Bruno Pedrosa<EMAIL_ADDRESS>wrote:

Hi, I've tried to solve https://projecteuler.net/problem=101 problem
using scipy's lagrange method and I couldn't do it.
After that I've decided to give it a shot to a custom lagrange function of
mine and the problem was solved perfectly... Am i missing something or that
scipy's method is buggy?
Regards.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/scipy/scipy/issues/6460, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIWo832PqbGuAr9lTvHwmvmWlH4StAgks5qc0O0gaJpZM4Jdt0e
.

Question answered, closing.
The reason for scipy.interpolate.lagrange is that it construct a power basis representation, which is numerically unstable. Feature, not a bug. BarycentricInterpolator uses more stable lagrange representation.


[RR Request]: CLI for Microsoft 365 v7

Open Source Project name
CLI for Microsoft 365
What is your project?
Using the CLI for Microsoft 365, you can manage your Microsoft 365 tenant and SharePoint Framework projects on any platform. No matter if you are on Windows, macOS or Linux, using Bash, Cmder or PowerShell, using the CLI for Microsoft 365 you can configure Microsoft 365, manage SharePoint Framework projects and build automation scripts.
CLI for Microsoft 365 is a Microsoft 365 Platform Community (PnP) project. Microsoft 365 Platform Community is a virtual team consisting of Microsoft employees and community members focused on helping the community make the best use of Microsoft products.
Version
7.0
Date
1.10.2023
Description of breaking changes
😍 huge stuff (breaking changes) :
👉 interactive by default 🚀. This means CLI will ask the user with a prompt for any missing required option, or to select one of the required options and even will ask to select a single value when multiple were found and a single was expected. This is awesome (IMO 😜) check it out (till now user had to type the exact command and be sure to specify all required options)

👉 we refactored our code base (sick PR, over 2k files changed) and moved to using ECMAScript Modules (ESM) instead of CommonJS modules. This is huge as CLI for M365 is not only a CLI tool but may also be used programmatically as a single API to everything around Microsoft 365 (for example other products base on it like VS Code extension Viva Connections Toolkit. In this case, if CLI npm packages are used in some Node.js app then this app also needs to be refactored to ESM.
🤷 small stuff (breaking changes):
👉 we have renamed the option --confirm to --force in all commands. This change aims to be more consistent with other CLI tools where --force is used to suppress prompts.
👉 bunch of command and options renaming
👉 updated some commands output
checkout the link to upgrade guidance to help folks update scripts from v6 to v7
https://pnp.github.io/cli-microsoft365/v7-upgrade-guidance
📝link to the release blog post which also covers most of the stuff:
https://pnp.github.io/blog/cli-for-microsoft-365/cli-for-microsoft-365-v7-0/
GitHub Repo
https://github.com/pnp/cli-microsoft365
Website
https://pnp.github.io/cli-microsoft365/
Link to changelog
https://pnp.github.io/cli-microsoft365/about/release-notes#v700
Social media
https://twitter.com/climicrosoft365/status/1708798784149352784
Anything else to add?
Of course, You Rock 🤩.
I know I have already written to much but just wanted to point out some awesome milestoned we did/had along this awesome (and veeery long) year full of work on the product:
👉 we migrated our docs to Docusaurus 🦖 and we introduced AI based search, to give direct answer to a prompt, on the page powered by Mendable
👉 we had one month with over 100 PR opened created by contributors outside of the maintainers team 🤯. Even as I write we have 77 (lucky seven 😜) PRs opened. This is awesome for us to see how the open source community actually creates this product 👍
👉 to keep up to date with our community we created a Discord Server to be in constant contact with our community and contributors: https://aka.ms/cli-m365/discord. We have a help section, announcements... etc and we even did our first time office hours to meet our contributors 'face to face' (screen to screen 😋)
👉 we introduced a AI based command which we call CLI assistant (chili 🌶 ). Directly in any consol shell users may ask prompts regarding CLI for M365 to get for example a command which will execute and output what they ask for. Check it out: https://pnp.github.io/cli-microsoft365/user-guide/chili
👉 since the last release (v6) we added 129 new commands 🤯 to help manage almost any area of Micorosft 365 (SharePoint, Power Platfrom, Planner.... etc or manage your SPFx projects). For example we added a command that generates a CI/CD GitHub workflow for your SPFx project 😉 https://pnp.github.io/cli-microsoft365/cmd/spfx/project/project-github-workflow-add
👉... I could gooo on forever 😜. give it a check

This is so awesome. You've done so much stuff!

Congrats on being featured in the MONTHOF Release Radar 🥳

Read the blog here
Check out our GitHub Tweet
Feel free to retweet Mish's tweet featuring you


Columns of a nested view are not created in Jenkins ver. 1.609.1

Columns of a nested view are not created in Jenkins ver. 1.609.1

confirmed on my machine as well

Maybe I've inaccurately described my case. When a new branch is created in repository a set of nested views is created too. Unfortunately these views are not contain any columns as it were in the previous version of Jenkins. Columns can be added manually but it is inconvenient as you know.

I have the same issue

It may be linked with
https://issues.jenkins-ci.org/browse/JENKINS-25403


Namespace name 'Touch' does not exist in the namespace 'MvvmCross.Plugins.BLE

I have just installed version 0.9.1 into a Xamarin.Forms PCL project, targetting ios & android. However, when I run an ios build, I get the following error.

Error: CS0234	The type or namespace name 'Touch' does not exist in the namespace 'MvvmCross.Plugins.BLE' (are you missing an assembly reference?)	My_App.iOS	C:\Users\George\Desktop\My_App_Xamarin_Forms\iOS\Bootstrap\BlePluginBootstrap.cs

I have a few other issues I am running into with my project, so it could be related to those, but It struck me as an odd thing to get, is this a know issue or a common problem - any idea what might be causing it?

Just an outdated namespace reference. Should be "iOS" instead of "Touch". I noticed that myself yesterday.

Fixed in the 0.9.2 release.


module:migrate-*

This set of commands just don't seem to work, reset & rollback give me cant find one of the migration classes
and refresh throw an error about cant find ../storage/app/modules/modules.used

Try publish the migration files to your database/migrations path and run php artisan migrate or php artisan migrate:rollback as usual.

hrm, that seemd to have worked, had to fix a path in the main config though

Hello I am tentnado create seed for a specific module more feature coffee this error
[Illuminate\Contracts\Filesystem\FileNotFoundException]
File does not exist at path /var/www/hibrid/storage/app/modules/modules.used

Hey,
use command module:use  before seed generation or attach module name
at the end of seed command (php artisan module:make-seed Test
Greetings from Germany
Am 16. Juni 2015 22:54:46 schrieb Luiz Martins Silva
<EMAIL_ADDRESS>
Hello I am tentnado create seed for a specific module more feature coffee
this error
[Illuminate\Contracts\Filesystem\FileNotFoundException]
File does not exist at path /var/www/hibrid/storage/app/modules/modules.used

Reply to this email directly or view it on GitHub:
https://github.com/pingpong-labs/modules/issues/148#issuecomment-112566400

Thanks


Highlight search terms in the results

Hi there,
to make results easier to scan, search terms could be highlighted, like in these examples:

based on Fuse.js : https://hbs.razonyang.com/v1/en/search/?q=hugo
based on Fuse too: https://codingnconcepts.com/hugo/client-side-search-engine-hugo/
handmade code + Mark.js: https://decovar.dev/blog/2020/01/05/hugo-search/
https://demo.stack.jimmycai.com/search/?keyword=hugo

Thanks for sharing this repo!

Normally I only fixes bugs, and don't do "nice to haves". But I like this idea.
Done in https://github.com/zwbetz-gh/hugo-client-side-search-template/commit/30652915e1aeec5bf39699ba6682255510714e82.
Now substring matches will be highlighted.
Sample screenshot:

Awesome, thank you!


Add Number.toLocaleString to core.js

This is a simple change that fixes #4036. While it looked pretty straightforward, I'm brand new to this project, so I appreciate feedback.

Is the failure of AppVeyor related to #4062?

Bump.  Can this get merged?


Improve CI

This a WIP so please don't merge.
I'm trying to improve the CI to benefit more from docker cache. I'd like to take the occasion to experiment here to improve the ocaml CI scripts in general.
There are some more things I'd like to do before unWIPing this:

[x] Make formatting check a separate build as @Julow smartly suggested.
[ ] Make the script more generic so it can be reused elsewhere, ie pass build args through PACKAGES, OCAML_VERSION and so on to the docker build.
[ ] Use more generic default build and test commands and expose a way to customize them and even run an extra step to fit everyone's need.

It seems like travis won't actually let us benefit from the docker cache, which is a damn shame if that's indeed the case.
I found an article mentioning that it's worth pulling your images at the begining of the build and pushing them at the end  to a docker hub or a an S3 bucket to effictively use the cache with travis.
I believe we're looking into moving away from travis so it might be a good time to experiment with other providers.

There's actually already Docker support for Travis builtin to the ocaml-ci-scripts (see cohttp for an example).  However, it would be good to slowly move away from Travis to avoid being locked in.
One alternative in https://github.com/avsm/ocaml-yaml is the Azure CI setup, which tests this whole lot on macOS, Windows and Linux.  However, rather than copying those scripts, I have another idea: we could just add support to Dune itself to generate the CI boilerplate after https://github.com/ocaml/dune/pull/2091 is merged :-)

I use .travis-docker.sh on a few projects of mine but I'm not a huge fan as I don't think it takes advantage of docker cache by doing the two step copy I.e.:

copy the .opam files first and install dependencies
copy the rest of the repo and build
Which allow you to use the cache instead of reinstalling everything everytime, which, even though it isn't really natively compatible with travis, is at least convenient to try the builds locally.

I agree it would be nice to let dune generate our CI scripts, I think I was more trying to experiment around what is it exactly that it should generate.
Also I'm curious to know what you think about the separate ocamlformat build which is, I believe, something we should aim at for the future of OCaml's CI.

I'm unWIPing this as I think it's already an improvement over the current script. I'll try to contribute the separate formatting check to ocaml-ci-scripts as well.
To do that it would be nice to be able to host the ocamlformat:VERSION images on the ocaml docker hub instead of mine!

Ok let's merge this as is and we improve it over time!


mvp-cockpit: API for updating Actor Templates of a repository

Currently in order for instance to update the actor template for a VDC you need to access the Cockpit and execute:
cd /optvar/cockpit_repos/repo_name
ays update -n vdc

We need API for updating both the shared Actor Templates directory and the Actor Templates directory local to a repository.
Also we need to have that exposed in the Cockpit Portal

fixed in https://github.com/Jumpscale/jscockpit/issues/160


Text-line Extraction based on Deep Learining [Feature Wanted]

@theraysmith @stweil @egorpugin @Shreeshrii @amitdo
Thank you for your hard work.
Concept:
Implement a deep learning model for page layout analysis, such model could extract text-lines.
The idea is simple, we train a model with ground-truth images & their annotated pixel baselines.
Later-on, the model would try to predict the baselines by itself, & finally extract each text-line.
Benefit:
A layout analysis model based on deep learning could extract text-lines even in the most complex layouts, also when the layout contains many elements, such as: (images, tables, degradation, handwriting).
Current situation of Tesseract:
Tesseract works best on black&white pages with simple layouts, and are mostly printed text-lines.
Example projects:
https://dhlab-epfl.github.io/dhSegment/
https://github.com/dhlab-epfl/dhSegment
https://github.com/NVlabs/ocroseg
https://github.com/mittagessen/seg/tree/baseline
https://github.com/PRHLT/BaseLinePage
https://github.com/TobiasGruening/ARU-Net
https://github.com/lquirosd/P2PaLA
https://github.com/gaxler/dataset_agnostic_segmentation
https://github.com/watersink/ocrsegment
Demonstrations:
Training

Detection

Another Line Detection example

@zdenop Please label as Feature Request.

Here is another deep learning work which works pretty well.
https://github.com/argman/EAST

Text Line Segmentation for Challenging Handwritten Document Images using Fully Convolutional Network
https://github.com/beratkurar/textline-segmentation-using-fcn
https://www.cs.bgu.ac.il/~berat/papers/Icfhr2018Text.pdf
https://www.cs.bgu.ac.il/~berat/papers/Icfhr2018TextPoster.pdf

@MrOCR. thanks for the links.

We don't plan to implement this feature request.


line 3: /packages/flutter_tools/bin/xcode_backend.sh: No such file or directory  ../ios/Flutter does not exist

1,
"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh" build
"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh" embed
error
line 3: /packages/flutter_tools/bin/xcode_backend.sh: No such file or directory
2,  Add User-Defined Setting
FLUTTER_ROOT
error
../ios/Flutter does not exist
3,
export FLUTTER_ROOT=/Users/xx/Documents/flutter
not work too!!

Please include the output of flutter doctor -v and a minimal reproduction of this issue.  /cc @jmagman

[✓] Flutter (Channel stable, v1.17.2, on Mac OS X 10.15.5 19F96, locale
zh-Hans-CN)
• Flutter version 1.17.2 at /Users/huchu/Documents/flutter
• Framework revision 5f21edf8b6 (11 days ago), 2020-05-28 12:44:12 -0700
• Engine revision b851c71829
• Dart version 2.8.3
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/huchu/Library/Android/sdk
• Platform android-29, build-tools 29.0.3
• ANDROID_HOME = /Users/huchu/Library/Android/sdk
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_152-release-1343-b01)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.1, Build version 11A1027
• CocoaPods version 1.8.4
[✓] Android Studio (version 3.4)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 39.0.1
• Dart plugin version 183.6270
• Java version OpenJDK Runtime Environment (build
1.8.0_152-release-1343-b01)
[✓] Connected device (1 available)
• iPhone 11 Pro Max • 3AB7B31D-998B-4AEF-B0A2-AE0B26A8E490 • ios •
com.apple.CoreSimulator.SimRuntime.iOS-13-1 (simulator)
• No issues found!
1->>
iOS :   NativeDemo
podfile
target 'NativeApp' do
Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
flutter_application_path = '../flutter_module'
load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')
install_all_flutter_pods(flutter_application_path)
end
2-->>>
iOS NativeDemo
Run Script
"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh" build
"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh" embed
3->>
hc2088:day2 ss$ pwd
/Users/hc2088/Desktop/flutter/day2
hc2088:day2 hc2088$ ls -l
total 0
drwxr-xr-x  10 hc2088  staff  320 Jun  8 23:23 NativeApp
drwxr-xr-x  18 hc2088  staff  576 Jun  9 01:04 flutter_module

1, ->
hc2088:day2 ss$ pwd
/Users/hc2088/Desktop/flutter/day2
hc2088:day2 hc2088$ ls -l
total 0
drwxr-xr-x  10 hc2088  staff  320 Jun  8 23:23 NativeApp
drwxr-xr-x  18 hc2088  staff  576 Jun  9 01:04 flutter_module
2, ->
NativeApp
Run Script
"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh" build
"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh" embed
3, ->
flutter doctor -v
[✓] Flutter (Channel stable, v1.17.2, on Mac OS X 10.15.5 19F96, locale
zh-Hans-CN)
• Flutter version 1.17.2 at /Users/hc2088/Documents/flutter
• Framework revision 5f21edf8b6 (11 days ago), 2020-05-28 12:44:12 -0700
• Engine revision b851c71829
• Dart version 2.8.3
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/hc2088/Library/Android/sdk
• Platform android-29, build-tools 29.0.3
• ANDROID_HOME = /Users/hc2088/Library/Android/sdk
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_152-release-1343-b01)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.1, Build version 11A1027
• CocoaPods version 1.8.4
[✓] Android Studio (version 3.4)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 39.0.1
• Dart plugin version 183.6270
• Java version OpenJDK Runtime Environment (build
1.8.0_152-release-1343-b01)
[✓] Connected device (1 available)
• iPhone 11 Pro Max • 3AB7B31D-998B-4AEF-B0A2-AE0B26A8E490 • ios •
com.apple.CoreSimulator.SimRuntime.iOS-13-1 (simulator)
• No issues found!

1, ->
hc2088:day2 ss$ pwd
/Users/hc2088/Desktop/flutter/day2
hc2088:day2 hc2088$ ls -l
total 0
drwxr-xr-x  10 hc2088  staff  320 Jun  8 23:23 NativeApp
drwxr-xr-x  18 hc2088  staff  576 Jun  9 01:04 flutter_module
2, ->
NativeApp
Podfile

target 'NativeApp' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

flutter_application_path = '../flutter_module'
load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')

  # install_all_flutter_pods(flutter_application_path)
end

3, ->
NativeApp
Run Script
"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh" build
"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh" embed
4, ->
flutter doctor -v
[✓] Flutter (Channel stable, v1.17.2, on Mac OS X 10.15.5 19F96, locale
zh-Hans-CN)
• Flutter version 1.17.2 at /Users/hc2088/Documents/flutter
• Framework revision 5f21edf8b6 (11 days ago), 2020-05-28 12:44:12 -0700
• Engine revision b851c71829
• Dart version 2.8.3
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/hc2088/Library/Android/sdk
• Platform android-29, build-tools 29.0.3
• ANDROID_HOME = /Users/hc2088/Library/Android/sdk
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_152-release-1343-b01)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.1, Build version 11A1027
• CocoaPods version 1.8.4
[✓] Android Studio (version 3.4)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 39.0.1
• Dart plugin version 183.6270
• Java version OpenJDK Runtime Environment (build
1.8.0_152-release-1343-b01)
[✓] Connected device (1 available)
• iPhone 11 Pro Max • 3AB7B31D-998B-4AEF-B0A2-AE0B26A8E490 • ios •
com.apple.CoreSimulator.SimRuntime.iOS-13-1 (simulator)
• No issues found!

NativeApp
Run Script

"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh" build
"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh" embed

That's not correct.  Your native app does not need any build script phase added.  The module embedding is already handled by CocoaPods with the changes you made to your Podfile.  There's no reference to this script in the iOS add-to-app instructions.  https://flutter.dev/docs/development/add-to-app/ios/project-setup
Closing.


Add custom tool to send notification

Hi! Thanks for this xontrib!
It will be cool to have an ability to send notification using external tool.
For example run wsl-notify-send as
sp.check_output(['/tmp/wsl-notify-send.exe', '--appId', 'Title!', '-c', 'Subtitle!', 'Message!']).decode().strip()

instead of this:
https://github.com/jnoortheen/xontrib-cmd-durations/blob/383b6ad31944b285bba909e9d8e2c492e43f627d/xontrib/cmd_done.py#L128-L133
For community
⬇  Please click the 👍 reaction instead of leaving a +1 or 👍  comment

is there any advantage using that? using this library is convenient , that we don't have haggle on each OS

could you answer why this is needed?

Thanks now I understand. PRs welcome to add such functionality.


Bug: first run error

in this repo run extension basic sample, the first time clicking the side button will appear top error.
next will be fixed

Same here.
First run didn't work. Next one is like expected.
The same when you change something inside of the *.spec.ts and run without saveing, occurs error


Measures back-pressure on the job queue, and exerts control strategies at Block Generation

Refer to this link for build results (access rights to CI server needed):
https://ci.typesafe.com/job/ghprb-spark-multi-conf/23/
Build Log
last 10 lines
[...truncated 20 lines...]
First time build. Skipping changelog.
Triggering ghprb-spark-multi-conf » Spark-Ora-JDK7-PV,2.10
Triggering ghprb-spark-multi-conf » Spark-Ora-JDK7-PV,2.11
Configuration ghprb-spark-multi-conf » Spark-Ora-JDK7-PV,2.10 is still in the queue: Waiting for next available executor on Spark JDK-7 PV (i-9fb5fe4f)
Configuration ghprb-spark-multi-conf » Spark-Ora-JDK7-PV,2.10 is still in the queue: Waiting for next available executor on Spark-Ora-JDK7-PV
ghprb-spark-multi-conf » Spark-Ora-JDK7-PV,2.10 completed with result FAILURE
ghprb-spark-multi-conf » Spark-Ora-JDK7-PV,2.11 completed with result FAILURE
Notifying upstream projects of job completion
Setting status of 834d24d20bff57c184248e0da9d57650c90da35a to FAILURE with url http://ci.typesafe.com/job/ghprb-spark-multi-conf/23/ and message: Merged build finished.

Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://ci.typesafe.com/job/ghprb-spark-multi-conf/24/
Build Log
last 10 lines
[...truncated 20 lines...]
First time build. Skipping changelog.
Triggering ghprb-spark-multi-conf » Spark-Ora-JDK7-PV,2.10
Triggering ghprb-spark-multi-conf » Spark-Ora-JDK7-PV,2.11
Configuration ghprb-spark-multi-conf » Spark-Ora-JDK7-PV,2.10 is still in the queue: Waiting for next available executor on Spark JDK-7 PV (i-206332f0)
Configuration ghprb-spark-multi-conf » Spark-Ora-JDK7-PV,2.10 is still in the queue: Waiting for next available executor on Spark-Ora-JDK7-PV
ghprb-spark-multi-conf » Spark-Ora-JDK7-PV,2.10 completed with result FAILURE
ghprb-spark-multi-conf » Spark-Ora-JDK7-PV,2.11 completed with result FAILURE
Notifying upstream projects of job completion
Setting status of 1e684838a366f20bbed90b5bb2cdefb858850846 to FAILURE with url http://ci.typesafe.com/job/ghprb-spark-multi-conf/24/ and message: Merged build finished.

Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://ci.typesafe.com/job/ghprb-spark-multi-conf/25/
Build Log
last 10 lines
[...truncated 13 lines...]
> git config core.sparsecheckout # timeout=10
> git checkout -f ec30a555a731487152a25eda7c1f3026a4eeac39
First time build. Skipping changelog.
Triggering ghprb-spark-multi-conf » Spark-Ora-JDK7-PV,2.10
Triggering ghprb-spark-multi-conf » Spark-Ora-JDK7-PV,2.11
ghprb-spark-multi-conf » Spark-Ora-JDK7-PV,2.10 completed with result FAILURE
ghprb-spark-multi-conf » Spark-Ora-JDK7-PV,2.11 completed with result FAILURE
Notifying upstream projects of job completion
Setting status of 374fb9ce83f1f52bc53244511bc21bb72d3eefd0 to FAILURE with url http://ci.typesafe.com/job/ghprb-spark-multi-conf/25/ and message: Merged build finished.

Test FAILed.

Closing and re-opening with the Reactive API