Keywords and categories

Description
Author supplied keywords and categories into which content is sorted.
User stories
Keywords
Author

As an author, I want to be able to check the keywords so that I can make sure they are correct.
As an author, I want to be able to edit the keywords so that I can correct mistakes.
As an author, I want to be able to add new keywords so that I can include missing information.
As an author, I want to be able to delete keywords associated with my manuscript so that I can make sure that my work is correctly.
As an Author, I want to be able to organize keywords associated with my manuscript by category so that I can make my work more discoverable.

Production staff

As production staff, I want to be able to add a new keyword category to help organize the content of my journal.

Categories
Author

As an author, I want to be able to see which subject areas my manuscript has been associated with so that I check that this information is correct.

Production staff and Erudit

As production staff, I want to be able to associate subject areas with a manuscript so that I can correct any missing information.
As production staff, I want to be able to remove subject areas associated with a manuscript so that I can adjust this information when it is incorrect.

But what if . . . ?
Consideration

eLife has two categories of keywords, 'Author keywords' and 'Research organisms'. Research organisms are populated from a pre-set list, though we should also be able to add custom values to this category.
At eLife, one or two major subject areas are allowed per research-type article. Non-research content does not need to have a major subject area.
At Erudit we need to support multiple levels of categories with a maximum of 3 levels.

XML requirements
Article keywords:
There are two categories of keyword for eLife - Author Keywords and Research Organisms.
The <kwd-group> element is used for each category. <kwd> for each keyword - all of them are distinct, e.g.

        ...
        <kwd-group kwd-group-type="author">
                <kwd>long non-coding RNA</kwd>
                <kwd>intellectual disabilities</kwd>
                <kwd>autism</kwd>
                <kwd>genomics</kwd>
                <kwd>gene regulation</kwd>
                <kwd>neuronal development</kwd>
                <kwd><italic>Homo sapien</italic></kwd>
        </kwd-group>
        <kwd-group kwd-group-type="research-organism">
                <kwd>Human</kwd>
                <kwd>Mouse</kwd>
        </kwd-group>

They are captured as children of article-meta.
<kwd-group> may also contain an @xml:lang attribute and a title:
<kwd-group xml:lang="pt">
  <title>Palavra-chave</title>
   <kwd>Broncoscopia</kwd>
</kwd-group>

Which suggests that there might be more than one kwd-group, one for each language.
eLife only needs <kwd-group> to have the following children:

title
kwd

eLife only needs <kwd> to have the following children:

italic
sub
sup

Categories
Captured as <subject> elements in a <subj-group subj-group-type="heading"> element. They are captured as children of article-categories. 0-2 subjects allowed in eLife articles

     <subj-group subj-group-type="heading">
          <subject>Epidemiology and Global Health</subject>
          <subject>Human Biology and Medicine</subject>
     </subj-group>

        <subj-group subj-group-type="heading">
          <subject>Articles</subject>
          <subj-group subj-group-type="heading">
            <subject>Review Articles</subject>
            <subj-group subj-group-type="heading">
              <subject>Report</subject>
            </subj-group>
          </subj-group>
        </subj-group>
        <subj-group subj-group-type="heading" xml:lang="en">
          <subject>Articles english</subject>
          <subj-group subj-group-type="heading" xml:lang="en">
            <subject>Review Articles english</subject>
            <subj-group subj-group-type="heading" xml:lang="en">
              <subject>Report english</subject>
            </subj-group>
          </subj-group>
        </subj-group>

eLife are not wedded to the @subj-group-type value given.
@xml:lang can be used on the subj-group element if needed.
Keywords are currently under JATS4R public review .
Mock ups
Proposal
This will be added by the Texture team after the feature request is discussed and agreed.

@Melissa37 please add your user stories here.

@michael I have pulled this out of the ticket but it is kept here for now. They cannot be in the ticket without user stories attached to them.
Figure Metadata keywords:
<fig>
<kwd-group kwd-group-type="exp-system">
  Exp. System
  <kwd>immunostaining</kwd>
  <kwd>confocal microscopy</kwd>
</kwd-group>
<kwd-group kwd-group-type="measured-variables">
  Measured-Variables
  <kwd>immunostaining</kwd>
  <kwd>confocal microscopy</kwd>
</kwd-group>
</fig>

@Melissa37 I sense some source of confusion re <fig> level keywords. IMO the user-stories are essentially the same as for '' level keywords. Also there we might consider more scopes for keywords, such as table-wrap or supplementary-material. Wouldn't it make sense to cover all of such cases with one set of user-stories, and add refinements where necessary?

Yes I agree. Shall we pull in the figure metadata ones here and close the ticket
https://github.com/substance/texture/issues/1249
The tickets we're generating have good user stories that have been verified by Nick, so we'd like to keep that process going.
Also, we want to provide the Consortium tickets as we produce them and I am happy to pull the ScourceData use cases and examples into them, with good user stories added, but we can't have our user stories generated by anyone else and before we get to them :-)

@Melissa37, @michael, @source-data - I have added user stories related to figure-specific keywords here. I am assuming these will be at the panel level, but will update if that's not right.


Digital signatures

This is a first go at implementing digital signatures into ebay_rest and I think it is mostly working. It involves the following parts:

The 'cryptography' package is now a required dependency (at least for now)
ebay_rest.json gets a new (optional) section 'key_pairs'. Each section can contain all the information you get from the eBay call 'createSigningKey', but only really has to contain the private key and the signing_key_id (although it will also accept the private key and the expiration time).
The API instance init accepts this as a new parameter as well (to avoid using ebay_rest.json)
The API instance init gets a new boolean parameter (default False) 'use_digital_signatures' which must be True for ebay_rest to attempt to use digital signatures
There is a new KeyPairToken class which lives in api._key_pair_token and has various methods to handle storing the public/private key pairs
There is a new file digital_signatures.py. This has a 'signed_request' function which takes what would normally be passed to a urllib3 PoolManager 'request' function and digitally signs the request
generate_code.py is modified so that rest.py for all APIs calls this modified signed_request instead of request (and also passes the pool manager and the key pair, which is saved in the RESTClientObject).
There is a new method on API 'get_digital_signature_key'. This allows easy retrieval of the current public/private key pair in a form suitable for insertion into ebay_rest.json/parameters. Using the 'create_new' parameter this also allows you to easily create a new public/private key pair and retrieve the necessary parameters.

Things to note:
Currently if you don't supply a public/private key pair, the API instance will create one. This means you will create a new public/private key pair for every API and there is no way of deleting them off eBay AFAIK so this is probably to be avoided.
I have used 'ValueError' in a few places; I'm not sure the purpose of the 'Error' class but I'm sure this could be made consistent with the rest of the code.
I have only really tested this with sell_finances_get_transactions; I haven't really tried it with a function that has parameters or a content body.

Further note - this wants review before merging; it's a bit rough and ready (but the deadline is approaching...)

OK, this is now 'complete'

Added details to the README.md file
Add three unit tests. You need to have an existing valid private_key and signing_key_id in your ebay_rest.json file. The first checks that the details of that key can be loaded. The second checks that a call to sell_finances_get_transaction_summary works with the digital signature, but fails if the private key is changed. The third tests new key creation and use but is disabled by default because it creates a new key pair which cannot be removed. If people are repeatedly re-running the unit tests, you don't want to be creating lots of key pairs I suspect...

I am in two minds about whether the API should automatically request a new public/private key pair, as it does, when there is no current key provided (or it is expired). This key will likely be lost in real use, leading to the creation of a lot of keys. In fact I think I will add a flag...

I have decided that making new private keys automatically is madness, and thus disabled it. Failing to supply a key and then attempting an API call will instead result in an error.


Search Form Fields

Add fields to search form including role(dropdown menu), budget, and length of time.

Added field tags to address the above. Created a dropdown menu for the length of time.


Where can the google-services.json be downloaded?

You mention in the readme, that we have to download and install a google-services.json, but you don't mention, where it can be downloaded. Could you add that info, please? Thank you!
Reason: I think that somebody, who comes to this site directly and does not know about Firebase or your course or whatever, should get all information needed to be well-informed what to do. In this case it would help to make things very clear, when sth  like "Download google-services.json from your firebase account that is needed for this project."
This is even helpful for people, who already worked through your tutorial and come back to it sometimes later. Thank you!

Hi @rowild,
You can get it from step mentioned at firebase

@srihamat I know that, but the readme should mention that, in order to get a successfull setup it is still necessary to implement a google-services.json as I mentioned above. It's about having a clear and concise Read.md.

I could found it by google search keyword "firebase google-services.json"
But yes, it's good for perfect README.


Maintenance of pandas type stubs

The pandas team has an open issue with regards to type stubs:  https://github.com/pandas-dev/pandas/issues/28142
We'd like to have some discussion with the key developers (@jakebailey ? @gramster ? others ?) of the pandas type stubs to determine a best way forward for upkeep of these type stubs.  I brought this up at our December, 2020, monthly core developers meeting.
Might be best for you guys to contribute over there in that pandas issue.
Thanks!

Hi Irv, we'd be very interested in having this discussion; what forum do you suggest?

Hi Irv, we'd be very interested in having this discussion; what forum do you suggest?

Hi Irv, we'd be very interested in having this discussion; what forum do you suggest?

Thanks for commenting on the pandas issue.  I will also bring it up with the core team as we may want to do a deeper discussion in our next core dev meeting (which I believe is on 1/13/2021).

Hi Irv, we'd be very interested in having this discussion; what forum do you suggest?

Thanks for commenting on the pandas issue.  I will also bring it up with the core team as we may want to do a deeper discussion in our next core dev meeting (which I believe is on 1/13/2021).

@gramster @erictraut Info on our monthly dev meeting can be found here:  https://pandas.pydata.org/docs/development/meeting.html
It would be great if you could attend the next one on 1/13/2021 at 1PM Eastern time, as we'd like to have a discussion with you on how to move forward.  Thanks!

@gramster @erictraut Info on our monthly dev meeting can be found here:  https://pandas.pydata.org/docs/development/meeting.html
It would be great if you could attend the next one on 1/13/2021 at 1PM Eastern time, as we'd like to have a discussion with you on how to move forward.  Thanks!

I'd like to attend -- is that okay? I might know a thing or two about stubs (though not necessarily about the ins and outs of how Pylance and Pyright use them -- the expert there would be @erictraut).

I'd like to attend -- is that okay? I might know a thing or two about stubs (though not necessarily about the ins and outs of how Pylance and Pyright use them -- the expert there would be @erictraut).

@gvanrossum absolutely!  Our pandas dev meetings are open to all.  When I get more info, I will post here.

@gvanrossum absolutely!  Our pandas dev meetings are open to all.  When I get more info, I will post here.

@gramster @erictraut @gvanrossum Info on tomorrow's dev meeting can be found here:
https://github.com/pandas-dev/pandas/issues/39125

@gramster @erictraut @gvanrossum Info on tomorrow's dev meeting can be found here:
https://github.com/pandas-dev/pandas/issues/39125

I think we have a rough plan of action:

add tests to the stubs to improve the quality and avoid regressions. The adding of initial tests has been done (https://github.com/microsoft/python-type-stubs/commit/b19436ad3c648d11571089a302b011891d8d67d3) although there is work to be done to pass them and we'll likely want more;
following that, we can start upstreaming some of the type annotations from here into pandas; my hope is that we can do that on a file-by-file basis, and as we complete each file, we can remove it from here and start regenerating the stub from the pandas source. I still need to add the tooling to do the latter but will do that once we get to the initial set of upstream commits.

Moving this to discussions.


Round text positions to the nearest pixel

This helps text be less blurry, though the positioning may be off if the rest of the layout has fractional positions.

We'll probably want to round in more places.

Heads up, I ended up reverting this because it caused a pretty severe regression for text rendering with DPI scaling

.

Maybe the text's overall starting position should be rounded instead?


confusing axiom in mondo.owl

Mondo term (ID and Label):
MONDO:0000001
Xref that should be fixed (ID and label):
the file mondo.owl has an axiom asserting:
MONDO:0000001, MONDO:equivalentTo, ICD10:N18

but isn't ICD10:N18.9 "chronic kidney disease"?
see the 2020 ICD-10-CM codes
Apologies if we have misunderstood the ICD10:N18 identifier in mondo.owl.
Other comments:

I should add that this is causing issues in KG2 because it is leading to a biolink:same_as relationship between MONDO:0000001 and "chronic kidney disease", which is causing problems for node synonymization and some of our reasoning code.

I was about to report the same issue.
Indeed ICD10 N18 refers to "chronic kidney disease" (https://icd.who.int/browse10/2019/en#/N17-N19)

Hello MONDO team, any update on this?

Hi, My apologies for the long delay! I'll look at this now.

good catch @saramsey and @asmvernon
I fixed this on a PR, it will be resolved in the next release in early March

thank you!


test and cached pundit policies

Hi everyone,
I get a strange effect with pundit, I didn't run my test for a long time, and now some of them don't pass. When I debug, I see that my authlogic current user is the one specified by my test, but the returned policy has the previous one (chronologically in the tests).
  def policy(record)
    policies[record] ||= Pundit.policy!(pundit_user, record)
    #here I've pundit_user set correctly, but policies[record] return a policy initialized with another user fo the same record.
  end

...
  def policies
    @_pundit_policies ||= {}
  end

I hadn't that before, I've never written my tests according attention to cached policies. Any idea?
If I just modify the gem that way
def policy(record)
    #policies[record] ||= Pundit.policy!(pundit_user, record)
    Pundit.policy!(pundit_user, record)
  end

My tests pass. Except controller index test.
So, same problem with scope, i've just changed policy scope to avoid caching and now all my tests pass.
def pundit_policy_scope(scope)
    #policy_scopes[scope] ||= Pundit.policy_scope!(pundit_user, scope)
    Pundit.policy_scope!(pundit_user, scope)
  end

I think this will be limited to test environment but if not it's a critical issue.

Usually you'll include Pundit in your ApplicationController which will be fershly instantiated for each test. The cache shouldn't bleed over between tests. It could bleed over if you're doing something like setting instance variables on (could be by extending class with Pundit instead of including it) or storing instances somewhere. I know Authlogic stores stuff in thread-locals, are you sure it's cleared between tests?

No reply from OP. Closing.


Added Bug Report, Feature Request and Pull Request Template.

Added Bug Report, Feature Request and Pull Request Template for the better standards of the the project and for easily understand the issue or pull request.

good idea.
please add an issue and link it. We use issues also for documentation what we change or introduce.

good idea.
please add an issue and link it. We use issues also for documentation what we change or introduce.

Done, and resolved all issues with this PR 👍🏻


Changed destiny to destination in Ride model

Signed-off-by: Eduardo Vital<EMAIL_ADDRESS>Signed-off-by: Wilton Rodrigues<EMAIL_ADDRESS>

Fixed in #7


refactor(report): right-trim labels in HTML report

In preparation for #588, this pull request removes all whitespace at the end of the label when formatting the HTML report.
As demonstrated in test/end-to-end/cases/expected/, this change affects only some headings in the HTML report.
We could possibly perform whitespace normalization in another way. But doing that requires the specification of @label and x:label to be defined in more details. So this pull request just right-trims HTML headings. For further consideration, I left a TODO comment.

Since this is prerequisite to #588 which in turn is prerequisite to testing on Oxygen 22.0, I'm merging this.


[material-ui][Autocomplete] Passing slotProps to the TextField in renderInput throws an error

Steps to reproduce
Link to live example: https://stackblitz.com/edit/react-1qmjam?file=Demo.tsx
Steps:

Click in the Autocomplete to see the error

Current behavior
I found 2 strange behaviors

When passing { htmlInput: { ... } } more padding is added and clicking in the input throws an error.
When passing { input: { ... } } the endAdornment disappears and clicking in input doesn't open the list of options.

Expected behavior
I expect to be able to use slotProps.input the same way I was using InputProps and slotProps.htmlInput the same way I was using inputProps.
Context
In our app we have an Autocomplete with a custom endAdornment. We are adding another adornment before the existing one to be exact. I was trying to migrate from InputProps and inputProps to slotProps since they became deprecated in MUI v6.
Before migrating the code looked like this (which is still working in v6 but won't in v7):
<Autocomplete
  ...
  renderInput={(params) => (
    <TextField
      {...params}
      InputProps={{
        endAdornment: (
          <>
            <MyCustomIcon />
            {params.InputProps?.endAdornment}
          </>
        ),
      }}
    />
  )}
/>

After the migration the code looks like this:
<Autocomplete
  renderInput={(params) => (
    <TextField
      {...params}
      slotProps={{
        input: {
          endAdornment: (
            <>
              <MyCustomIcon />
              {params.InputProps?.endAdornment}
            </>
          ),
        },
      }}
    />
  )}
/>

Both adornments disappeared and the list of options isn't displaying on focus anymore.
Your environment

npx @mui/envinfo
  System:
    OS: Linux 6.8 Ubuntu 24.04.1 LTS 24.04.1 LTS (Noble Numbat)
  Binaries:
    Node: 20.17.0 - ~/.volta/tools/image/node/20.17.0/bin/node
    npm: 10.8.2 - ~/.volta/tools/image/node/20.17.0/bin/npm
    pnpm: Not Found
  Browsers:
    Chrome: 128.0.6613.113
  npmPackages:
    @emotion/react: 11.13.3 => 11.13.3
    @emotion/styled: 11.13.0 => 11.13.0
    @mui/core-downloads-tracker:  6.0.1
    @mui/icons-material: 6.0.1 => 6.0.1
    @mui/material: 6.0.1 => 6.0.1
    @mui/material-nextjs: ^6.0.0 => 6.0.1
    @mui/private-theming:  6.0.1
    @mui/styled-engine:  6.0.1
    @mui/system:  6.0.1
    @mui/types:  7.2.16
    @mui/utils:  6.0.1
    @types/react: ^18.3.3 => 18.3.5
    react: 18.3.1 => 18.3.1
    react-dom: 18.3.1 => 18.3.1
    typescript: ^5.4.5 => 5.5.4

Search keywords: Autocomplete slotProps

@DiegoAndai do you think this issue should be added to Material-UI v6 issues board?

@sai6855 I just added it to the v6 issues board.

@ClementDreptin - I am definitely experiencing some odd behaviors since upgrading to v6. In general, I feel like what is being passed as params from the Autocomplete component needs to be updated to reflect the v6 changes with regards to slotProps.
However, I've had some luck by spreading the params.InputProps as follows:
<Autocomplete
  renderInput={(params) => (
    <TextField
      {...params}
      slotProps={{
        input: {
          ...params.InputProps, // <-- ADD THIS LINE
          endAdornment: (
            <>
              <MyCustomIcon />
              {params.InputProps?.endAdornment}
            </>
          ),
        },
      }}
    />
  )}
/>

for what its worth, this seems to fail on all TextField input adornment props.  Autocomplete uses TextField so that's why there's an issue here.
See the problem here - https://codesandbox.io/p/sandbox/broken-text-field-adornment-8zhlqc?file=%2Fsrc%2FApp.tsx%3A53%2C72&workspaceId=bdebcbbe-982a-40d5-9c2e-b543cf24c982

I had same problem with autocomplete throwing, and @mjkstudios solution worked.
DatePickers also broke silently, and were also fixed by the same change, I think they also pass old InputProps/inputProps and need to be updated to slots

Hey everyone, sorry for the late reply.
About the bug
It's important to note that when overriding InputProps or slotProps.input for the Autocomplete's TextField, params.InputProps must be spread. This is true in v5 as well as v6, here are the examples:

v5: https://codesandbox.io/p/sandbox/issue-43573-v5-examples-n8vhg5
v6: https://codesandbox.io/p/sandbox/issue-43573-v6-examples-44yc7t

So the issues should be fixed by correctly spreading params.InputProps (or params.inputProps)
About slots pattern consistency
I agree that "Autocomplete component needs to be updated to reflect the v6 changes with regards to slotProps", as mentioned above. This should be possible:
<Autocomplete
  disablePortal
  options={options}
  sx={{ width: 300 }}
  renderInput={(params) => (
    <TextField
      {...params}
      label="Correct override slotProps"
      placeholder="Correct override slotProps"
      slotProps={{
        input: {
          ...params.slotProps,
          endAdornment: (
            <>

icon

              {params.slotProps?.endAdornment}
            </>
          ),
        },
      }}
    />
  )}
/>

Which is not currently the case.
Summary
I don't think there's a bug besides the consistency issue. If you can confirm that the bug you're experiencing is fixed by spreading params.InputProps (or params.inputProps), then we can move forward with making the slotProps usage consistent, as mentioned above.
Please confirm if this fixes the issue, or correct me if I'm wrong or missed something in my demos.

@DiegoAndai I confirm that spreading params.InputProps in slotProps.input or params.inputProps in slotProps.htmlInput fixes the error being thrown, the actual issue is just the slots pattern inconsistency.
Thank you for pointing the missing spreads in the original examples, I don't know how we never ran into any issues in our app.

Closing since it's not a bug and we already have an issue to standardize the slots API across components: https://github.com/mui/material-ui/issues/41281


Cant File Release v2017-03-17 for 5.0.1

Cant find the plugin for v2017-03-17 for 5.0.1
https://github.com/nreese/enhanced_tilemap/releases/download/v2017-03-17/enhanced-tilemap-v2017-03-17-5.0.2.zip

Just download and change the version number in the package.json file. It is too much work to make a separate release for each minor version of kibana


Renaming behaviors example to adding-cubes

although technically they are not all cubes.

boxes? :-)
On Fri, Oct 23, 2015 at 2:34 PM, Amber Roy<EMAIL_ADDRESS>wrote:

although technically they are not all cubes.
You can view, comment on, or merge this pull request online at:
https://github.com/AltspaceVR/AltspaceSDK/pull/71
Commit Summary

Renaming behaviors example to adding-cubes

File Changes

R examples/adding-cubes.html
https://github.com/AltspaceVR/AltspaceSDK/pull/71/files#diff-0 (0)

Patch Links:

https://github.com/AltspaceVR/AltspaceSDK/pull/71.patch
https://github.com/AltspaceVR/AltspaceSDK/pull/71.diff

—
Reply to this email directly or view it on GitHub
https://github.com/AltspaceVR/AltspaceSDK/pull/71.


ext_authz: Check for cluster before sending HTTP request

Description:
This patch adds a cluster existence checking before sending the HTTP check request to the responsible cluster.
Risk Level: Low
Testing: Unit
Docs Changes: N/A
Release Notes: N/A
Fixes #8025
cc. @containscafeine
Signed-off-by: Dhi Aurrahman<EMAIL_ADDRESS>

@gsagula thanks for the review. I have updated it. PTAL.

/retest

@dio I think you will need to merge master.

Anything else @gsagula?

@mattklein123 when you have time could you help to take a look? Thank you!


[FEATURE] Allow user to change image's DisplayName

Is your feature request related to a problem? Please describe.

Since the displayName of image isn't really the name of image,
Should allow user to change image's displayname
Describe the solution you'd like

Describe alternatives you've considered

Additional context

I found 2 issues when updating existent Images, which will be blockers for the UI part:

https://github.com/harvester/harvester/issues/6030 - Error after image update
https://github.com/harvester/harvester/issues/6031 - displayName label not updated

cc @bk201


ImportError: No module named google.protobuf.internal

run 'sudo docker run --volume=$(pwd):/workspace caffe:cpu python classify_nsfw.py --model_def nsfw_model/deploy.prototxt --pretrained_model nsfw_model/resnet_50_1by2_nsfw.caffemodel 1.png
'
and it returns me:
libdc1394 error: Failed to initialize libdc1394
/usr/local/lib/python2.7/dist-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')
Traceback (most recent call last):
File "classify_nsfw.py", line 16, in
import caffe
File "/opt/caffe/python/caffe/init.py", line 1, in
from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver
File "/opt/caffe/python/caffe/pycaffe.py", line 15, in
import caffe.io
File "/opt/caffe/python/caffe/io.py", line 8, in
from caffe.proto import caffe_pb2
File "/opt/caffe/python/caffe/proto/caffe_pb2.py", line 4, in
from google.protobuf.internal import enum_type_wrapper
ImportError: No module named google.protobuf.internal

And when i run 'sudo docker run caffe:cpu caffe --version', it shows
'
libdc1394 error: Failed to initialize libdc1394
caffe version 1.0.0-rc3
'

I've got the same problem when I tried installing caffe. I solved it by reinstall:
sudo pip install protobuf
Reference link: https://groups.google.com/forum/#!topic/caffe-users/9Q10WkpCGxs
The another error: libdc1394 error: Failed to initialize libdc1394. I solved it by:
sudo ln /dev/null /dev/raw1394
Reference link: http://stackoverflow.com/questions/12689304/ctypes-error-libdc1394-error-failed-to-initialize-libdc1394/12689392#12689392

Thank you, XuefeiWen. Before i opened this issue, i had tried some ways like you advice, but it didn't work. I guess it occurred because of my computer, i will try again on another machine. Thanks a lot.

I hit "libdc1394 error" too, and "sudo ln /dev/null /dev/raw1394" did not work in my two ubantu sytems (both of them were inited from VM) .... Is this a fatal issue? I can see it did not block follwoing process.

This is an automatically generated message.
<EMAIL_ADDRESS>is no longer with Yahoo! Inc.
Your message will not be forwarded.
If you have a sales inquiry, please email<EMAIL_ADDRESS>and someone will follow up with you shortly.
If you require assistance with a legal matter, please send a message to<EMAIL_ADDRESS>Thank you!

I have meet the similar question.when I input the commond:docker run --volume=$(pwd):/workspace caffe:cpu python ./classify_nsfw.py --model_def nsfw_model/deploy.prototxt --pretrained_model nsfw_model/resnet_50_1by2_nsfw.caffemodel test_image.jpg
it failed with the output:
libdc1394 error: Failed to initialize libdc1394
Traceback (most recent call last):
File "./classify_nsfw.py", line 16, in
import caffe
File "/opt/caffe/python/caffe/init.py", line 1, in
from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver
File "/opt/caffe/python/caffe/pycaffe.py", line 15, in
import caffe.io
File "/opt/caffe/python/caffe/io.py", line 2, in
import skimage.io
ImportError: No module named skimage.io
Who knows how solve it? I would very greatful to you.

I have tested in another computer with ubuntu system which is not inited from VM, it still has the same problem("libdc1394 error"). So i guess it's none of the VM's business. And i ignore the notice and  try running "sudo docker run --volume=$(pwd):/workspace caffe:cpu python classify_nsfw.py --model_def nsfw_model/deploy.prototxt --pretrained_model nsfw_model/resnet_50_1by2_nsfw.caffemodel 1.png", it works! And you could ignore that problem, too. If you hit "ImportError", please test it with ubuntu system which is not inited from VM. @XuefeiW @willswl @ZhaoQiang2015


Load publicParticipantData instead of private participant data for cohorts

@vivtsai Please provide context or close it out if you don't remember what this is about either 😆

Right now, all participants can fetch other participants' full profiles. The complete backend design solves for this by subscribing to publicParticipantData collection instead of the full (private) profiles, so we'll want to create that (and update it on trigger whenever the private profiles update).


Progress bar

Users generally want to know how much more they have to do to complete something. A progress bar would be ideal.

Ah, that's a pretty good idea! I do now remember multiple people in my section wondering aloud (some more annoyed than others :) how much more they had to do... or at least how close they were to finishing.


[*] update the version variable default value to match the current release v2.4.0

The version number remains 2.0.0 while the the release number has upgraded to v2.4.0. We suggest to update the version number along with the release number to avoid version confusion.

Hello.
This variable is automatically set during the release workflow.
But thanks anyway.

@pashagolub It's my pleasure to make a little contribution to the community. Could you please double check if the release workflow is working normally and this variable is automatically set? Seems this variable keeps 2.0.0 in recent several releases.

How did you get the binary? Did you download it from GitHub?

Oh，I got it. The binary directly downloaded from GitHub has the correct version number. I built the binary from source so got the legacy version number. Anyway, we should have the updated version number in source code, right?

Yeah, I already merged the PR. Thanks for pointing this out!


course/grading

Develop controller which will fetch the course model information and displays course grading policy.

Task completed, here is a screenshot.


Pressing the enter key after tab selecting the Enable help icon on the Copy Projects dialog closes the dialog

After entering a valid name in the Copy Project dialog, if the help icon for the Enable link is selected via keyboard navigation, pressing the enter key causes the dialog to be closed without submitting the form.

:+1:


Update Claim a Facility claim form & profile fields

Overview

add job_title and linkedin_profile fields to claim a facility claim form
enable claimants to control visibility of facility website
split facility_name field into facility_name_english and
facility_name_non_english profile fields
add facility_workers_count profile field
add facility_female_workers_percentage profile field
add facility_type field & choices for facility claim profile
add other_facility_type field for facility claim profile
adjust display order of claim info fields on facility details screen

Connects #617
Connects #634
Demo

Notes
There are a bunch of migrations here but I'll squash them when the other PRs are merged in -- so I didn't bother renaming anything.
I made discrete followup issues for handling

product type #651
production type #652
certifications #653
membership bodies #654

Testing Instructions

get this branch, then resetdb & processfixtures
sign in and turn on claim a facility
try to claim a facility and verify that you see the new claim form fields, with validation
sign in as an admin and view the claim, verifying that you see the new claim form fields displayed in the dashboard
approve the claim, then sign back in as the user who has claimed the facility and visit the claim edit profile page
verify that you can update and save data in the new inputs
visit the facility details page and verify that the new fields are visible (if they aren't null) and that the order matches the order requested in #617

Checklist

[ ] fixup! commits have been squashed
[ ] CI passes after rebase
[x] CHANGELOG.md updated with summary of features or fixes, following Keep a Changelog guidelines

Note from https://github.com/open-apparel-registry/open-apparel-registry/pull/647#issuecomment-509779056
Also

[ ] Make the website textbox be red when the URL is incorrect in the Claim application form
[ ] Make the website clickable when reviewing a claim as an admin

I will hold off on reviewing this until the migration and code conflicts are resolved.

Rebased this on develop and also made some adjustments

we now use save rather than update for the claim update PUT endpoint so that things work with django-simple-history
I made the website link clickable on the dashboard and also added the validation styling on the claim form website input

@jwalgran I believe this is ready for review!

Looking at this now.

I pushed d67149dc1b112b4d868c3bbfff1a22a48a645f07 which is a new commit to adjust the facility type field options to match the new request on #634

Rebased on develop

@jwalgran this is ready for another review!

Looking at this now.

Commit message for cf92229249e6a6b1a53287c35399e82f62e5de7d
is incorrect. the isInteger || isInt thing is to check whether the value is an int or can be cast to an int.

Fixes look good and work well. Thanks. Mind the squash.

Awesome, thanks!


BerSequence and DerSequence derive macros produce code that can panic

The code generated by both BerSequence and DerSequence for the TryFrom<Any> trait uses the finish function for error convertion.  The issue with finish is that it can panic when the parser's result is Err(Err::Incomplete(_)). This is problematic when parsing ASN.1 structures that are corrupted.
I've found this issue while trying to use the x509-parser crate for parsing X509 certificates in Windows PE files. The files are sometimes corrupt, and make the program panic.
Consider the AlgorithmIdentifier structure:
#[derive(Clone, Debug, PartialEq, DerSequence)]
#[error(X509Error)]
pub struct AlgorithmIdentifier<'a> {
    #[map_err(|_| X509Error::InvalidAlgorithmIdentifier)]
    pub algorithm: Oid<'a>,
    #[optional]
    pub parameters: Option<Any<'a>>,
}

The code generated by DerSequence for the try_from function looks like:
fn try_from(any: Any<'ber>) -> asn1_rs::Result<Self, X509Error> {
    use asn1_rs::nom::*;
    any.tag().assert_eq(Self::TAG)?;
    let i = any.data;
    let (i, algorithm) = FromBer::from_ber(i).finish().map_err(|_| X509Error::InvalidAlgorithmIdentifier)?;
    let (i, parameters) = FromBer::from_ber(i).finish()?;
    let _ = i;
    Ok(Self {
        algorithm,
        parameters,
    })
}

Notice the use of finish after parsing both the algorithm and parameters fields. The documentation for finish says:

warning: if the result is Err(Err::Incomplete(_)), this method will panic.
“complete” parsers: It will not be an issue, Incomplete is never used
“streaming” parsers: Incomplete will be returned if there’s not enough data for the parser to decide, and you should gather more data before parsing again. Once the parser returns either Ok(), Err(Err::Error()) or Err(Err::Failure(_)), you can get out of the parsing loop and call finish() on the parser’s result

So, it looks like "streaming" parsing is being used, but I'm not sure if that's the case, or why.

This is indeed a serious problem (unwanted panic in a library), thanks for reporting it
I am investigating for a solution

Thank you for the fix! Any plans to publish a release that includes this fix?

The fix has been published in asn1-rs-derive 0.5.1
A simple cargo update on this crate should be enough (there is no breaking change).

Great! Thank you!


Crash after picking images from gallery

kotlin.UninitializedPropertyAccessException: lateinit property _callback has not been initialized
at com.github.windsekirun.naraeimagepicker.NaraeImagePicker$ResultFragment.access$get_callback$p(NaraeImagePicker.kt:54)
at com.github.windsekirun.naraeimagepicker.NaraeImagePicker$ResultFragment$onActivityResult$1.invoke(NaraeImagePicker.kt:69)
at com.github.windsekirun.naraeimagepicker.NaraeImagePicker$ResultFragment$onActivityResult$1.invoke(NaraeImagePicker.kt:54)

Was not happening until a few days ago.
Gradle version: 3.6.0

@WindSekirun @deepakkumardk ever seen this?

@thefabbulus Is this happening every time or just a one time crash.
This could happen when you use restart activity or apply changes options.

@deepakkumardk always.

@deepakkumardk noticed that this is only happening on a real device, and not happening on a virtual device.
NaraeImagePicker.instance.start(
    ActivityUtils.getTopActivity(), pickerOption,
        object : OnPickResultListener {
            override fun onSelect(resultCode: Int, imageList: ArrayList<String>) {
                if (resultCode != NaraeImagePicker.PICK_SUCCESS) {
                    single.onError(Error("Operation canceled!"))
                } else {
                    single.onSuccess(imageList.map { File(it) })
                }
            }
        }
    )

@thefabbulus could you please provide the implementation of ActivityUtils.getTopActivity() and pickerOption.

https://javadoc.io/doc/com.hanhuy.android/protify-agent/0.7/com/hanhuy/android/protify/agent/internal/LifecycleListener.html#getTopActivity--
val pickerOption = PickerSettingItem().apply {
    pickLimit = 3
    viewMode = ViewMode.FolderView
    enableDetailMode = true
    uiSetting.enableUpInParentView = true
}

@thefabbulus @deepakkumardk
Sorry, I can't check this issue because notifications doesn't delivered.
Probably, I guess the implementation of getActivityLifecycle() is the problem.
Can you tell me why you are using getActivityLifecycle() instead of this?

@thefabbulus Are you using some library for getTopActivity(). Please, mention the library too.
Most probably this could be the cause of the error.
To fix the issue try to use fragment/activity context or applicationcontext, if this happens again let me know.
I will update this thread on this issue.

@deepakkumardk weird since it was working good until last week.
Activity getTopActivity() {
    if (!mActivityList.isEmpty()) {
        for (int i = mActivityList.size() - 1; i >= 0; i--) {
            Activity activity = mActivityList.get(i);
            if (activity == null || activity.isFinishing() || (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1 && activity.isDestroyed())) {
                continue;
            }
            return activity;
        }
    }
    Activity topActivityByReflect = getTopActivityByReflect();
    if (topActivityByReflect != null) {
        setTopActivity(topActivityByReflect);
    }
    return topActivityByReflect;
}

@thefabbulus I have tested the app with library AndroidUtilCode's (v1.26.0) method getTopActivity() with one activity stack (without any fragment, what's your scenario) and it's working fine in my real device.

@deepakkumardk here is a screenshot of the crash report

@sagar-docterz could you please provide the sample code that you are using to start the Picker.


⚠ Processors has degraded performance

In 7fb8667, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 87 ms

Resolved: Processors performance has improved in 4173573.


autostart after login error

Describe the bug
autostart after login cant use and have garbled characters.
To reproduce
when i press the "settings"

the windows settings will say "can't find the app". The details page also seems to have garbled characters.

but when i found the value of localsend and changed [ D:\Software\LocalSend\localsend_app.exe ] to [ "D:\Software\LocalSend\localsend_app.exe" --hidden ] in register

it would be ok

Expected behavior
Bug fixes
Screenshots
No response
Desktop (please complete the following information)
Windows 11 26120.770
Smartphone (please complete the following information)
No response
Additional context
No response

Should be fixed in the next update (around next week)


 Pretty sure it's not my scripts or anything as I tested this without them, but I could be wrong
I'm using 6.1 but it happens on 6.0 as well from what I tried
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
Nope, just raw Psych power

Solved 👍


Calibration (Lidar-camera, camera-camera, lidar-IMU) in Apollo requires data recorded as rosbag or .record format?

The calibration documentation mentions that the data should be in rosbag format. Since early versions of Apollo were supporting ROS, it was fine. But the drivers in Apollo currently outputs as cyberRT channels and saved as .record. How do we make use of Apollo's calibration tool now?

We use record for now. I'm not sure why the bag format is used, but it's because the open source ROS tool


SQLSTATE[HY000] [1040] Too many connections

Bug description
Each tenant has their own MySQL database.
This has worked perfect for several years, but with some recent growth (just over 70 tenants), I've run into several situations now where MySQL is overloaded with too many connections. This has happened during deploys (when running DB migrations for each tenant) or when otherwise needing to run the same action on each database such as updating certain configurations.
The error is:
SQLSTATE[HY000] [1040] Too many connections

Steps to reproduce
This seems to be related to running the runForMultiple method. As mentioned above, I have ~70 tenants on a single AWS RDS database (so I can't simply increase max connections - this is determined programmatically based on available CPU).
Expected behavior
Close the connection after each tenant is done?
Seems like adding DB::disconnect('tenant'); at the bottom of the callback for runForMultiple is solving this.
Should the runForMultiple method automatically close the connection after each iteration is complete?
Laravel version
10.46
stancl/tenancy version
3.7

Since this isn't a bug in the package but a support question, please use our Discord.

Happy to take this to the Discord, but I'd argue this is in fact a bug.
My understanding is that Laravel only closes an active connection immediately before the HTTP response is sent back to the  client.
In which case, each time this package's runForMultiple method runs there's an additional DB connection (and not closed).  This results in an n+1 for each tenant.
As I mentioned above, the solve for this is to close the tenant DB connection by running DB::disconnect('tenant'); after each iteration of the runForMultiple method. In my opinion this should be included in the package - not something users should have to consider, especially since the ethos of this package is to make tenancy more or less transparent to the dev.
tenancy/src/Tenancy.php:
    public function runForMultiple($tenants, callable $callback)
    {
        // Convert null to all tenants
        $tenants = is_null($tenants) ? $this->model()->cursor() : $tenants;

        // Convert incrementing int ids to strings
        $tenants = is_int($tenants) ? (string) $tenants : $tenants;

        // Wrap string in array
        $tenants = is_string($tenants) ? [$tenants] : $tenants;

        // Use all tenants if $tenants is falsey
        $tenants = $tenants ?: $this->model()->cursor();

        $originalTenant = $this->tenant;

        foreach ($tenants as $tenant) {
            if (! $tenant instanceof Tenant) {
                $tenant = $this->find($tenant);
            }

            $this->initialize($tenant);
            $callback($tenant);

            // check if the tenant model implements TenantWithDatabase // <----- suggestion
            `DB::disconnect('tenant');`
        }

        if ($originalTenant) {
            $this->initialize($originalTenant);
        } else {
            $this->end();
        }
    }
}

Although, now that I've looked at this a bit deeper, when the DB is bootstrapped, it should be calling $this->database->purge('tenant'); on the tenant's database. That should be closing the excessive DB connections.
Perhaps there's some issue there.

I'd prefer to use Discord for this because we can communicate faster. There's many things to try here, such as persistent PDO connections. If you think something in the package can be improved, I can tell you where adding some code might help and then we can add that to the codebase. But it isn't a bug in the package, we're only talking about a concrete deployment and maybe that the package could handle it better.

My understanding is that Laravel only closes an active connection immediately before the HTTP response is sent back to the client

This wouldn't be the case during deployments, since that's PHP CLI context, not php-fpm content. There's no HTTP response to be sent.
I don't remember exactly if PDO connections get closed the moment we switch to another tenant. They PDO connection instances do get destroyed, but perhaps in the CLI context the socket remains open and we could do a manual disconnect earlier.
If we added something like your code suggestion, we'd likely wrap it in a check to determine if we're in CLI context, or add some global config for this, since we do not want to do this in all scenarios necessarily. Connections remaining open can be a good thing too.
Again, these conversations are better suited for our Discord.


fix getting ocx url in webhook api endpoint

In import source api end point we were getting
ocxUrl but what we send from lcms application
is just { url: "", timestamp: ""} format so we should we url

Fine for me, but we could maybe do req.body.url || req.body.ocxUrl just to be sure

@danmaz74 done


I have a question I don't know where to ask

Maybe this is a silly question I'm sorry about it. could you guys tell me how can I get this layout? is it an script or this is a setting in IMDB site?

It can be set in your IMDb's acc.
Or in the scripts settings, it's named similar to this - > "Force Reference View without login?"


How should Consumption parameters be handled in TaxBrain runs?

When #431 is implemented, a user will be able to upload a file-based reform that includes: policy parameters, growth parameters, behavior parameters, and consumption parameters. When the only parameters are policy parameters, the comparison carried out by TaxBrain is trivial (delta of policy with no reform and policy with reform). With the other parameters, the TaxBrain comparison is defined as follows:
With growth parameters:
(policy with no reform and with growth parameters) - (policy with reform and with growth parameters)
With behavior parameters and growth parameters:
(policy with no reform and with growth parameters) - (policy with reform and with growth parameters and with behavior parameters)
So with consumption parameters is the proper handling:
(policy with no reform and with growth parameters) - (policy with reform and with growth parameters and with behavior parameters and with consumption parameters)
OR
(policy with no reform and with growth parameters and with consumption parameters) - (policy with reform and with growth parameters and with behavior parameters and with consumption parameters)
cc @MattHJensen

Should be:
(policy with no reform and with growth parameters and with consumption parameters) - (policy with reform and with growth parameters and with behavior parameters and with consumption parameters)

got it, thanks!


Avoid floating point numbers for transactions dataSize value

dataSize should be an integer value, (see the Rust implementation of the function which calculates the dataSize value) the current implementation was returning floating-point numbers.

Coverage: 78.585% (+0.2%) from 78.426% when pulling 4307f506c3da09f4f6767ad800521d23ad6c3c5f on fix-data-size-mapping into 38c8b42bd5a35517b5149df19456bc2a64fbcc04 on main.

🚀


Add number type cast to date conversion sample

Docs Build status updates of commit 7996055:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/resources/excel-samples.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Overlapping UI elements in Currency Converter for large numerical input

In an LtR language where currency symbol precedence is set to the right, or in an RtL language where currency symbol precedence is set to the right, there are overlapping UI elements in Currency Converter when the input is a large number.
Repro Steps

Open the Run dialog (WIN + R) and type 'intl.cpl' and hit Enter.
In the Region settings, click 'Additional settings'.
Navigate to the Currency tab.
Change Postive symbol precedence to be on the right side.
Open Calculator.
Navigate to Currency Converter.
Resize to wide layout.
Input a large number.

Observe overlapping UI elements.

It looks like it was fixed by one of the recent PR!

Yep, though I think we uncovered a new bug. The refresh content should be right-aligned here:

Created #409 to track new bug. Closing this as no repro.


Unable to access volumes after restart

I have seaweed master and several volumes running in docker containers.
Everything was working fine until I restarted machine. After this I can't access old volumes at all.
I tried restarting nodes/master in different order. But result is the same - I can't access old volumes.
The only way to add old volumes is to manually add this volume runnning http://ip:port/admin/assign_volume?replication=001&volume=47&collection=collection-name.
After this I can see volumes with correct sizes and file counts in web ui, but I'm getting 404 trying to access file. In the logs I can see this message:
weed-volume3-1 | 2015-12-26T09:23:46.882381452Z I1226 09:23:46 00001 volume_server_handlers_read.go:53] read error: Unsupported Version! (0) /47,6ec1d4a2d5bc2e
weed-volume3-1 | 2015-12-26T09:24:29.131064161Z I1226 09:24:29 00001 needle.go:211] Invalid key_hash 6ec1d4a2d5bc2e' length: 0 error encoding/hex: odd length hex string
weed-volume3-1 | 2015-12-26T09:24:32.311548879Z I1226 09:24:32 00001 volume_server_handlers_read.go:53] read error: Unsupported Version! (0) /47,6ec1d4a2d5bc2e
weed-volume3-1 | 2015-12-26T09:24:34.405941356Z I1226 09:24:34 00001 volume_server_handlers_read.go:53] read error: Unsupported Version! (0) /47,6ec1d4a2d5bc2e
weed-volume3-1 | 2015-12-26T09:24:35.179841335Z I1226 09:24:35 00001 volume_server_handlers_read.go:53] read error: Unsupported Version! (0) /47,6ec1d4a2d5bc2e

I tried removing idx file and rebuilding it - no effect.
How can I fix this and restore my volumes?

The error you showed is not related to the issue. But it also showed you are using an old version. It's better to build the latest version.
To help your problem, please show the commands you use to start the master and volumes.  So also need to know the timing and how fast you determine it is not working.

Hi, thanks for reply. Looks like you are correct about old version, I was using docker image from carmark/seaweedfs with lattest commit from july.
Now I'm using the lattest one.
I used to run it like this:
master -mdir="/data" -port 9333 -ip.bind="<IP_ADDRESS>" -ip "<IP_ADDRESS>" -defaultReplication="001"
volume -dir="/data" -max=50 -mserver="<IP_ADDRESS>:9333" -port=9102  -ip "<IP_ADDRESS>"
volume -dir="/data" -max=50 -mserver="<IP_ADDRESS>:9333" -port=9103  -ip "<IP_ADDRESS>"
Regarding timing - usually I'm looking at the logs to determine that everything is loaded. But also I tried to wait for half an hour.
I tried to test new image from the directory where I have 6 old volumes:
docker run --rm  -p 9333:9333 -p 8080:8080 --name weed -v /seaweed/volume1/:/data tutum.co/lwolf/seaweed server -ip "<IP_ADDRESS>" -dir='/data' -master.dir='/data'
I1227 09:49:08 00001 file_util.go:20] Folder /data Permission: -rwxr-xr-x
I1227 09:49:08 00001 file_util.go:20] Folder /data Permission: -rwxr-xr-x
I1227 09:49:08 00001 topology.go:86] Using default configurations.
I1227 09:49:08 00001 master_server.go:59] Volume Size Limit is 30000 MB
I1227 09:49:08 00001 server.go:203] Start Seaweed Master 0.70 beta at <IP_ADDRESS>:9333
I1227 09:49:08 00001 raft_server.go:90] Initializing new cluster
I1227 09:49:08 00001 master_server.go:93] [ <IP_ADDRESS>:9333 ] I am the leader!
I1227 09:49:08 00001 store.go:225] Store started on dir: /data with 0 volumes max 7
I1227 09:49:08 00001 server.go:257] Start Seaweed volume server 0.70 beta at <IP_ADDRESS>:8080
I1227 09:49:08 00001 volume_server.go:70] Volume server bootstraps with master <IP_ADDRESS>:9333
I1227 09:49:08 00001 node.go:208] topo adds child DefaultDataCenter
I1227 09:49:08 00001 node.go:208] topo:DefaultDataCenter adds child DefaultRack
I1227 09:49:08 00001 node.go:208] topo:DefaultDataCenter:DefaultRack adds child <IP_ADDRESS>:8080

After a minute I added 1 volume manually:
I1227 09:50:26 00001 store.go:192] In dir /data adds volume:68 collection:production replicaPlacement:000 ttl:
I1227 09:50:26 00001 volume.go:110] loading index file /data/production_68.idx readonly false

And tried to access file from it:
I1227 09:51:13 00001 volume_server_handlers_read.go:53] read error: CRC error! Data On Disk Corrupted /68,916038875fdf09

What is strange for me is that after every restart of any volume It can't find volumes
I1227 09:49:08 00001 store.go:225] Store started on dir: /data with 0 volumes max 7

No clear action to take for this.

Hi, thanks for reply. Looks like you are correct about old version, I was using docker image from carmark/seaweedfs with lattest commit from july. Now I'm using the lattest one. I used to run it like this: master -mdir="/data" -port 9333 -ip.bind="<IP_ADDRESS>" -ip "<IP_ADDRESS>" -defaultReplication="001" volume -dir="/data" -max=50 -mserver="<IP_ADDRESS>:9333" -port=9102 -ip "<IP_ADDRESS>" volume -dir="/data" -max=50 -mserver="<IP_ADDRESS>:9333" -port=9103 -ip "<IP_ADDRESS>"
Regarding timing - usually I'm looking at the logs to determine that everything is loaded. But also I tried to wait for half an hour.
I tried to test new image from the directory where I have 6 old volumes: docker run --rm -p 9333:9333 -p 8080:8080 --name weed -v /seaweed/volume1/:/data tutum.co/lwolf/seaweed server -ip "<IP_ADDRESS>" -dir='/data' -master.dir='/data'
I1227 09:49:08 00001 file_util.go:20] Folder /data Permission: -rwxr-xr-x
I1227 09:49:08 00001 file_util.go:20] Folder /data Permission: -rwxr-xr-x
I1227 09:49:08 00001 topology.go:86] Using default configurations.
I1227 09:49:08 00001 master_server.go:59] Volume Size Limit is 30000 MB
I1227 09:49:08 00001 server.go:203] Start Seaweed Master 0.70 beta at <IP_ADDRESS>:9333
I1227 09:49:08 00001 raft_server.go:90] Initializing new cluster
I1227 09:49:08 00001 master_server.go:93] [ <IP_ADDRESS>:9333 ] I am the leader!
I1227 09:49:08 00001 store.go:225] Store started on dir: /data with 0 volumes max 7
I1227 09:49:08 00001 server.go:257] Start Seaweed volume server 0.70 beta at <IP_ADDRESS>:8080
I1227 09:49:08 00001 volume_server.go:70] Volume server bootstraps with master <IP_ADDRESS>:9333
I1227 09:49:08 00001 node.go:208] topo adds child DefaultDataCenter
I1227 09:49:08 00001 node.go:208] topo:DefaultDataCenter adds child DefaultRack
I1227 09:49:08 00001 node.go:208] topo:DefaultDataCenter:DefaultRack adds child <IP_ADDRESS>:8080

After a minute I added 1 volume manually:
I1227 09:50:26 00001 store.go:192] In dir /data adds volume:68 collection:production replicaPlacement:000 ttl:
I1227 09:50:26 00001 volume.go:110] loading index file /data/production_68.idx readonly false

And tried to access file from it:
I1227 09:51:13 00001 volume_server_handlers_read.go:53] read error: CRC error! Data On Disk Corrupted /68,916038875fdf09

With the lattest version I can restart nodes without loosing volumes, so now I only need to recover old volumes.

Did you resolve this problem?


Support Environment import and export

Currently it't not possible to export environments and share them with the team. Also an import option of existing postman environments would be very helpful.

Hi @ChristophSchwenk
In Bruno, When you export a collection as a file, the environments are also exported in the same file.

Also an import option of existing postman environments would be very helpful.

Yes, We will support this soon.

@helloanoop has any work been done yet on importing Postman environments?

Not yet. This should be rather straight forward parsing of a simple key value pair.
@therealrinku please see if you could pick this up when you have some time.
UX wise, I'd imagine a "Import button" just below the "+ Create" button in Bruno's Environment Config UI

@helloanoop I am working on this currently. Will raise the PR asap unless someone else beats me up on it. Just need some help/inputs in testing out the changes in my local.

@premeaswaran Send a across the PR once it's ready. I will review it.

was going to do it but I can wait!

@helloanoop Please let me know if any changes required. Newbie here for js and react. So any kind of inputs welcomed!

I was just trying to export environment variables from bruno and currently I can export my collections but not my environments. I am on v1.11.0.
I might be missing something, but this issue is asking for support of import and export of environments and this was closed without support export.

@zachradtka yeah, I don't care much about postman migrations. I have a clean start, but it would be cool to share my environment to collaborate on.
Look into this one: https://github.com/usebruno/bruno/issues/2017


Windows build no longer working

Before #703, it appears that Windows was detected and early returned. In the new code, it's going down a path that invokes os.environ["HOME"] which raises KeyError on Windows:
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [39 lines of output]
    running egg_info
    writing triton.egg-info\PKG-INFO
    writing dependency_links to triton.egg-info\dependency_links.txt
    writing requirements to triton.egg-info\requires.txt
    writing top-level names to triton.egg-info\top_level.txt
    package init file 'triton/_C\__init__.py' not found (or not a regular file)
    reading manifest file 'triton.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'triton.egg-info\SOURCES.txt'
    running build_ext
    Traceback (most recent call last):
      File "<string>", line 2, in <module>
      File "<pip-setuptools-caller>", line 34, in <module>
      File "C:\Users\flogu\Development\dreamface\worker\venv\src\triton\python\setup.py", line 151, in <module>
        setup(
      File "C:\Users\flogu\Development\dreamface\worker\venv\lib\site-packages\setuptools\__init__.py", line 153, in setup
        return distutils.core.setup(**attrs)
      File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\distutils\core.py", line 148, in setup
        dist.run_commands()
      File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\distutils\dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\distutils\dist.py", line 985, in run_command
        cmd_obj.run()
      File "C:\Users\flogu\Development\dreamface\worker\venv\lib\site-packages\setuptools\command\develop.py", line 34, in run
        self.install_for_development()
      File "C:\Users\flogu\Development\dreamface\worker\venv\lib\site-packages\setuptools\command\develop.py", line 114, in install_for_development
        self.run_command('build_ext')
      File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\distutils\cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\distutils\dist.py", line 985, in run_command
        cmd_obj.run()
      File "C:\Users\flogu\Development\dreamface\worker\venv\src\triton\python\setup.py", line 113, in run
        self.build_extension(ext)
      File "C:\Users\flogu\Development\dreamface\worker\venv\src\triton\python\setup.py", line 116, in build_extension
        triton_cache_path = os.path.join(os.environ["HOME"], ".triton")
      File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\os.py", line 679, in __getitem__
        raise KeyError(key) from None
    KeyError: 'HOME'
    [end of output]

Same issue here on Windows 10 Pro with AMD CPU.

You may need to run git submodule update --init --recursive;

For those who had it working on windows previously - could you share what LLVM version you are using and any other knowledge it takes to get it building?

any news? i have the same error like ericflo :(

We're in the middle of merging the Triton rewrite we've been working on for the past 6 months. We'll revisit the issues after it's merged :)

Have run into the same issue. Can we set some value to HOME to bypass this for now?


New package: SERC v0.1.0

Registering package: SERC
Repository: https://github.com/JinraeKim/SERC.jl
Created by: @JinraeKim
Version: v0.1.0
Commit: 170da0c3b4f75255382a055d630c0145579d1845
Reviewed by: @JinraeKim
Reference: https://github.com/JinraeKim/SERC.jl/commit/170da0c3b4f75255382a055d630c0145579d1845#commitcomment-103831324
Description: Julia implementation of "Sensitivity Matrices as Keys to Local Structural System Properties of Large-scale Nonlinear Systems" by L. G. Van Willigenburg et al.

Renamed as https://github.com/JinraeKim/SensitivityRankCondition.jl


⚠ Bofrost.be has degraded performance

In c272e42, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1240 ms

Resolved: Bofrost.be performance has improved in f099d1e after 6 minutes.


Doc generation promotion

I feel like the functional benefits are already sufficiently defined to be drawing serious attention to rtype, even this far ahead of a production release. In terms of convincing people of it's suitability as a replacement for JSDoc though, I think we need some more examples / thought on it's capacity as the base of a doc gen specification.
There are three things that I would like to raise for further discussion.

Potential for rtype definitions above function blocks.
The rfx framework will enforce type checking using rtype definitions, and people can write rtypes into their specifications for descriptive purposes (like stampit). However, including an rtype definition above a function for JSDoc style scanning and extraction would be great too. It's not clear to me that there is a plan to support this.

The potential inter-relatability of objects within the application
rtypes, by nature, will do a great job of representing the types involved in a function, and with 'requires' & the potential use of type aliases (#98), the relationship between functions and the objects they produce has rich (and wikilinked) documentation potential. I don't think enough of a point has been made of this, with attention (understandably) focused on the cleanness of the signature representation.

Function descriptions along with rtype definitions
I notice that rfx interface definitions include a 'description' & 'doc' property. I assume any rtype based documentation specification would include similar capabilities.

I'm sure there's a good chance that these things are already being considered, in which case they probably just need to be more clearly defined in the readme.

It sounds like you're asking for rfx -- but in some other form (like comments?)

I prefer something like rfx for this, but I don't see any reason that putting rtype signatures in comments above functions should be unsupported.
Again, rfx enshrines that relationship in code.
Yeah. This is what rfx is for, but we also need to support the use of .rtype files, which we have discussed before (think C header files).

I'm open to suggestions, with the caveat that all of these have already been considered in rfx, and the runtime capabilities that rfx will enable that comments could not are quite interesting.
Runtime capabilities are a big part of the motivation for rtype, and if you dismiss rfx too quickly in favor of JSDoc style comments, you'll miss out on a lot of the power that rtype could provide. See the Node Machine project for inspiration.

Thanks for clearing that up @ericelliott. I now see that a comment-style documentation spec built around rtype is not a consequential part of either the type or rfx projects.
I think the benefits of such a project are well worth considering though. I for one was very excited about the possibility (as I misinterpreted it) of commenting up existing code with an rtype based doc spec, immediately benefit from more readable doc comments and look forward to the powerful doc generation mentioned above.
rfx looks to have a powerful potential and it may be used widely where applicable, but if there is a way to make rtypes accessible to everyone, with further power to those using rfx as well then all the better I think.

Yep. That's the plan. Feel free to contribute to it. =)

Great. I'll have a play

It seems that the discussion is over and your issues were addressed by @ericelliott's comment.
We might to have to track the support of .rtype files in a new issue though.
If you have subsequent suggestions you could probably open a new issue on rfx repository.


Tweak interpreter constructor

These changes should be inocuous, yet add back some source compatibility with Ammonite 1.6.7 (allows downstream users to keep supporting 2.11 via 1.6.7, while still depending on the latest Ammonite for 2.12 and 2.13).

🤔


[Airbrake] [Production] undefined is not iterable (cannot read property Symbol(Symbol.iterator))

Airbrake error: #9464
Airbrake project: datanator_frontend
Error type: TypeError
Error message: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
Where: <no information>
Occurred at: Aug 19, 2020 14:00:16 UTC
First seen at: Aug 19, 2020 14:00:16 UTC
Occurrences: 0 (0 since last deploy on Aug 18, 2020 14:51:12 UTC)
Severity: error
URL: https://datanator.info/gene/K01981/
File<EMAIL_ADDRESS>Backtrace:
https://datanator.info/static/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js:3:in Symbol
https://datanator.info/static/js/scenes/BiochemicalEntityDetails/Gene/RnaModificationDataTable.js:32:in rawDatum
https://datanator.info/static/js/scenes/BiochemicalEntityDetails/DataTable/DataTable.js:319:in query
https://datanator.info/static/js/scenes/BiochemicalEntityDetails/DataTable/DataTable.js:183:in formatData

Fixed

Comment from Airbrake: Resolved error reoccurred.

This issue is fixed. The re-occurrence was from reading the same page again with the same older version of the code.


Add camera info output to panopt converter.

This is needed for some other libraries that consume the images, i.e., nvblox which needs the focal length and the principal point.

Ahh whooops! Sorry for missing the pre-commit hooks! Thanks Victor!


Revert #1535

I think we should revert #1535, as it can be proven that the necessity of querying a second id_type to a promise is the result of incorrect code.
I posted the detailed thought process as a comment of #1535.

@Finomnis In #1535 you said:

If someone needs to request a second id_type directly from a promise, this means that the first id_type he requested is out-of-reach for the person requesting it, and it can not be guaranteed that it did not get released yet.

I wouldn't agree to this. I'd rather find a way to make sure the object the users calls get_id() for is still in valid state.

Is this still an issue? I would also like to think that what @Finomnis describes in #1535 should always work, even the parts tagged as 'UNSAFE' as the promise should really hold the component alive. If that really is an issue, is there a testcase demonstrating this?

Testcase:
// Copyright (c)       2015 Martin Stumpf
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

#include <hpx/config.hpp>
#include <hpx/hpx.hpp>
#include <hpx/hpx_start.hpp>
#include <hpx/include/iostreams.hpp>

int hpx_main(int argc, char* argv[])
{
    {
        hpx::id_type promise_id;

        {

            hpx::promise<int> p;

            {
                auto local_promise_id = p.get_id();
                hpx::cout << local_promise_id << hpx::endl;
            }

            hpx::this_thread::sleep_for(boost::chrono::milliseconds(100));

            promise_id = p.get_id();
            hpx::cout << promise_id << hpx::endl;

        }

        hpx::this_thread::sleep_for(boost::chrono::milliseconds(100));

        // This segfaults, because the promise is not alive any more.
        // It SHOULD get kept alive by AGAS though.
        hpx::set_lco_value(promise_id, 10, false);

    }
	return hpx::finalize();
}

int main(int argc, char* argv[])
{
	// initialize HPX, run hpx_main.
	hpx::start(argc, argv);

	// wait for hpx::finalize being called.
	return hpx::stop();
}

I still think we should rather make this test case work than to inhibit this kind of thing altogether.

The problem here is in that line:
https://github.com/STEllAR-GROUP/hpx/blob/master/hpx/lcos/promise.hpp#L189
upon the first retrieval of the GID, the credit count of the GID in the promise itself is set to zero. When the promise goes out of scope, AGAS thinks the credit is zero and issues the deletion. The promise GID needs to get split for this case in order to keep the promise itself alive.

That's not true, the gid in the promise becomes an unmanaged gid, which is
important to prevent it from keeping itself alive, causing a recursive loop
preventing any deallocation.
If the promise goes out of scope out will get kept alive by the other gid.
The problem is  if the other gid gets out of scope, then agas forgets about
the promise, even if the user issues a second gid. (base problem ist : agas
can't be "reminded" to re-learn about a gid once it is forgotten).
But as I already said, it can be proven that requesting a second gid is
never necessary, so that functionality should be removed.
On Oct 29, 2015 09:45, "Thomas Heller"<EMAIL_ADDRESS>wrote:

The problem here is in that line:
https://github.com/STEllAR-GROUP/hpx/blob/master/hpx/lcos/promise.hpp#L189
upon the first retrieval of the GID, the credit count of the GID in the
promise itself is set to zero. When the promise goes out of scope, AGAS
thinks the credit is zero and issues the deletion. The promise GID needs to
get split for this case in order to keep the promise itself alive.
—
Reply to this email directly or view it on GitHub
https://github.com/STEllAR-GROUP/hpx/issues/1620#issuecomment-152113948.

On 10/29/2015 12:08 PM, Martin Stumpf wrote:

That's not true, the gid in the promise becomes an unmanaged gid, which is
important to prevent it from keeping itself alive, causing a recursive loop
preventing any deallocation.

promise<T>::get_id() returns a managed id_type which keeps the
promise alive as long as the id_type doesn't get out of scope.
The first time promise<T>::get_id() gets called, the returned
id_type takes away all the credit. Once this id_type goes out of
scope, the total global credit in agas is then set to zero.
Once this happened and the promise itself goes out of scope, it doesn't
have any remaining credits and will eventually delete itself. The second
request for an id is never accounted for in the promise itself (it's
gid's credit remains 0, aka has no credits) and it will get deleted
which then eventually leads to the segfault.

If the promise goes out of scope out will get kept alive by the other gid.
The problem is if the other gid gets out of scope, then agas forgets about
the promise, even if the user issues a second gid. (base problem ist : agas
can't be "reminded" to re-learn about a gid once it is forgotten).

Right. that is why we need to split the credit instead of taking all
the credit with us. That way, we can request as many id_types as we want.

But as I already said, it can be proven that requesting a second gid is
never necessary, so that functionality should be removed.

Why is it never necessary? Can you show the prove? What should happen
instead when promise<T>::get_id() is being called? We can't invalidate
the promise in that case.

Exactly.

If you split the credit, there is no way to delete the promise, as it
keeps itself alive.

The second call to get_id should throw.

The basic idea of the proof is, that in order to prevent 1., the user would
actively have to keep one promise alive, which he could simple re-use
instead of using a new one.
On Oct 29, 2015 12:33, "Thomas Heller"<EMAIL_ADDRESS>wrote:

On 10/29/2015 12:08 PM, Martin Stumpf wrote:

That's not true, the gid in the promise becomes an unmanaged gid, which
is
important to prevent it from keeping itself alive, causing a recursive
loop
preventing any deallocation.

promise<T>::get_id() returns a managed id_type which keeps the
promise alive as long as the id_type doesn't get out of scope.
The first time promise<T>::get_id() gets called, the returned
id_type takes away all the credit. Once this id_type goes out of
scope, the total global credit in agas is then set to zero.
Once this happened and the promise itself goes out of scope, it doesn't
have any remaining credits and will eventually delete itself. The second
request for an id is never accounted for in the promise itself (it's
gid's credit remains 0, aka has no credits) and it will get deleted
which then eventually leads to the segfault.

If the promise goes out of scope out will get kept alive by the other
gid.
The problem is if the other gid gets out of scope, then agas forgets
about
the promise, even if the user issues a second gid. (base problem ist :
agas
can't be "reminded" to re-learn about a gid once it is forgotten).

Right. that is why we need to split the credit instead of taking all
the credit with us. That way, we can request as many id_types as we want.

But as I already said, it can be proven that requesting a second gid is
never necessary, so that functionality should be removed.

Why is it never necessary? Can you show the prove? What should happen
instead when promise<T>::get_id() is being called? We can't invalidate
the promise in that case.
—
Reply to this email directly or view it on GitHub
https://github.com/STEllAR-GROUP/hpx/issues/1620#issuecomment-152153368.

Fixed by merging #1828


License file?

I don't see any license file. Can one added to the repository?

I support the request - I see under Readme "This plugin is released under an MIT License." but I would as well appriciate a customary license file with copyright notice. Thank you.

Basically the MIT conditions are impossible to fulfil without a copyright.

Please feel free to add a MIT license with my name in the project

https://github.com/xtuc/acorn-import-attributes/pull/26


Improve rounding when converting between mg/dL and mmol/L

Addresses Issue #267
Currently, Trio just rounds down when logging a manual glucose entry in mmol/L. This means that 7.6 gets logged as 7.5 because 7.6 / 0.0555 ≈ 136.9 gets rounded to 136 when Int(glucose) is performed which gets displayed as 7.5 because 136 * 0.0555 ≈ 7.5.
This PR rounds asMgdL to 0 decimal places and asMmolL to 1 decimal place which allows for more accurate rounding when converting units and back.
Here's a spreadsheet that highlights the mmol/L readings that caused mismatches: https://docs.google.com/spreadsheets/d/10ZHV7ZDd0_fjrV6k0FH1ouuqy2TSsDSBpBULE4yAFyg/edit?usp=sharing

I've tested this with manual glucose entries, temp targets, profile overrides, and target glucose. Setting it to a known problem number (like 7.6 or 8.1) in mmol/L and then switching to mg/dL and then switching back to mmol/L.

Status:
Success
Test with dev:

started with Trio dev, commit c04d33e0
test a few of the mmol/L values in @MikePlante1 spreadsheet
use the log glucose screen:

enter 6.1, see 6.0 (109)
enter 11.1, see 11.1 (200)
enter 10.6, see 10.5 (190)

Test with PR 377

applied patch for PR

requires a Product Clean Folder before building

test same entries in the log glucose screen:

enter 10.6, see 10.6 (191)
enter 11.1, see 11.1 (200)
enter 6.1, see 6.1 (110)

Modify to mg/dL, add to list above the mg/dL value in parentheses.

Note that this PR does not solve rounding issues pointed out in this comment where settings can shift up to 1 mg/dL when switching units from mg/dL to mmol/L and then back to mg/dL.
I think the best way to solve that issue would be to update Trio so all mmol/L inputs are converted to mg/dL upon entry and only converted back to mmol/L when used for display. (Work has already begun on this in a private fork)


Typo "a Azure Databricks"→"an Azure Databricks"

https://learn.microsoft.com/en-us/azure/databricks/workflows/jobs/create-run-jobs

#PingMSFTDocs

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 3b2904d7-196a-fcc3-ff21-2355877cf49d
Version Independent ID: 3b2904d7-196a-fcc3-ff21-2355877cf49d
Content: Create and run Azure Databricks Jobs - Azure Databricks
Content Source: databricks/workflows/jobs/create-run-jobs.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@hyoshioka0128
Thanks for your feedback! We will investigate and update as appropriate.

@hyoshioka0128
Thank you for bringing this to our attention! We've initiated a pull request (PR) to address this issue. Once the author reviews the changes, they will be merged, and the updates should go live shortly. Your diligence is much appreciated!


chore: switch using node-open with opn

ref: https://github.com/sindresorhus/opn

On WSL/Win10 draft release page does not open. Using opn would probably fix this.


Posts for papers published by Romero et al. and Caputo et al.

Adds posts for two recently published papers.
Adds a convenience script for running a local server to preview changes.
Adds a GH action to check the site will build.

FYI @ahernank @cclarkson


Phoenix 3534

I'll squash these down after a review

I'll check it out, but in the meantime would you mind amending your commit message from "Phoenix 3534" to "PHOENIX-3534 Support multi region SYSTEM.CATALOG table" - that way comments on the pull will become JIRA comments.

@twdsilva would you mind taking a look as well?

This is looking really good, @churrodog. For testing purposes, I think it'd be really good if we split the SYSTEM.CATALOG table at points that'll force it to span multiple regions during the running of tests like AlterTableWithViewsIT, TenantSpecificTablesDDLIT, AlterTableIT, QueryDatabaseMetaDataIT, and maybe more.
Any full table scans let in the CREATE or DROP code path?

Looks like there are still conflicts, @churrodog. Would you mind amending your commit message to "PHOENIX-3534 Support multi region SYSTEM.CATALOG table" so that the JIRA is linked to the PR?

Already merged.


feat(frontend): dapp modal

Motivation
Implement a modal to show the details of a dapp.
Changes

implement DappModal
add modal to store
enhance external link with class so that it can be better reused (IOC)

mobile with screenshot

mobile without screenshot

desktop with screenshot

desktop without screenshot

rdy for second round

@AntonioVentilii-DFINITY also good for you?


Failed to set value 'vaapi=sma:/dev/dri/renderD128' for option 'init_hw_device'

I'm running on a headless FreeBSD jail, and the script worked fine until i decided to update everything. After some issues with pkg not wanting to work, I got python3 and pip and all the dependencies installed, but for some reason when I run a ./manual.py to test settings before letting the script run loose, I get this error.
[                    ] 0% Error converting file, FFMPEG error. Traceback (most recent call last):   File "/Data/Downloads/scripts/resources/mediaprocessor.py", line 1525, in convert     for timecode, debug in conv:   File "/Data/Downloads/scripts/converter/__init__.py", line 309, in convert     timeout=timeout, preopts=preopts, postopts=postopts):   File "/Data/Downloads/scripts/converter/ffmpeg.py", line 707, in convert     total_output, pid=p.pid) converter.ffmpeg.FFMpegConvertError: <unprintable FFMpegConvertError object> /usr/local/bin/ffmpeg -init_hw_device vaapi=sma:/dev/dri/renderD128 -hwaccel_device sma -hwaccel vaapi -hwaccel_output_format vaapi -i (File and Switches) ffmpeg version 4.0.3 Copyright (c) 2000-2018 the FFmpeg developers   built with FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0)   configuration: --prefix=/usr/local --mandir=/usr/local/man --datadir=/usr/local/share/ffmpeg --pkgconfigdir=/usr/local/libdata/pkgconfig --enable-shared --enable-pic --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --enable-pthreads --cc=cc --disable-alsa --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libaom --disable-libass --disable-libbs2b --disable-libcaca --disable-libcdio --disable-libcelt --disable-chromaprint --disable-libcodec2 --disable-libdc1394 --disable-debug --enable-htmlpages --disable-libdrm --disable-libfdk-aac --disable-libflite --enable-fontconfig --enable-libfreetype --enable-frei0r --disable-libfribidi --disable-gcrypt --disable-libgme --enable-gmp --enable-gnutls --enable-version3 --disable-libgsm --enable-iconv --disable-libilbc --disable-libjack --disable-libkvazaar --disable-ladspa --disable-libmp3lame --disable-libbluray --disable-librsvg --disable-librtmp --disable-libxml2 --disable-lv2 --enable-mmx --disable-libmodplug --disable-libmysofa --disable-nonfree --disable-openal --disable-opencl --enable-libopencv --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --disable-openssl --enable-optimizations --enable-libopus --disable-libpulse --enable-runtime-cpudetect --disable-librubberband --disable-sdl2 --disable-libsmbclient --disable-libsnappy --disable-sndio --disable-libsoxr --disable-libspeex --disable-libsrt --enable-sse --disable-libssh --disable-libtesseract --enable-libtheora --disable-libtwolame --enable-libv4l2 --enable-vaapi --enable-vdpau --disable-libvidstab --enable-libvorbis --disable-libvo-amrwbenc --enable-libvpx --disable-libwavpack --disable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxvid --disable-outdev=xv --disable-libzimg --disable-libzmq --disable-libzvbi   libavutil      56. 14.100 / 56. 14.100   libavcodec     58. 18.100 / 58. 18.100   libavformat    58. 12.100 / 58. 12.100   libavdevice    58.  3.100 / 58.  3.100   libavfilter     7. 16.100 /  7. 16.100   libavresample   4.  0.  0 /  4.  0.  0   libswscale      5.  1.100 /  5.  1.100   libswresample   3.  1.100 /  3.  1.100   libpostproc    55.  1.100 / 55.  1.100 [AVHWDeviceContext @ 0x80ce1b1c0] No VA display found for device: /dev/dri/renderD128. Device creation failed: -22. Failed to set value 'vaapi=sma:/dev/dri/renderD128' for option 'init_hw_device': Invalid argument Error parsing global options: Invalid argument
I've racked my brain, browsed everywhere I can but I can't seem to find anything that works. Perhaps my GoogleFu is not that good?

Set hwaccels to
hwaccels =

So that worked, but now it is going extremely slow. Anyway to get hwaccel working on a headless freebsd jail with an intel xeon? :D

You can restore those options and put the correct path to your hardware acceleration device.
You didn't indicate anywhere that you were trying to use hardware acceleration in your post so I assumed you just didn't bother to check the default settings.
'VA display found for device: /dev/dri/renderD128'
That's your main error. You need to make sure that path to your render device is correct and adjust accordingly. Read up on VAAPI and FFMPEG documentation for starters.
If you're using some kind of container or virtualization you'll need to ensure that it has access to that device and that permissions are correct.

Oh, ok. Thanks for the quick responses.


Add: Password hashing on BE

Add hashing function to ensure data safety on the db

I will pick this up!