pip install chatterbot

  ModuleNotFoundError: No module named 'fcntl'
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
While installing fcntl it says module not found. i assume that i'm using outdated version

Dooray! Failure Notice
    Failure Notice

    Your message sent to

@.***
has failed to be delivered.
      Please refer to the below for details.

        * Recipient :

@.***
        * Sent time :

2024-03-29T02:40:26
        * Subject :

[gunthercox/ChatterBot] pip install chatterbot (Issue #2360)
            * Remote host said :

대외비/기밀 메일은 외부 계정으로 발송이 제한되어 일부 메일 발송 실패(수신자가 전달 설정한 경우 포함)
      This message was sent from a notification-only address that cannot accept incoming email.
      For more information, please contact<EMAIL_ADDRESS>

    © Dooray!.


Tap Validate Option

Migrated from GitLab: https://gitlab.com/meltano/sdk/-/issues/228
Originally created by @vischous on 2021-09-29 15:04:43

Summary
Validate tap data schema, particularly useful during development as right now you have to add a target that does this validation ie meltano elt tap-abc target-jsonl jsonl will validate for you. Maybe it should stay like this?
Proposed benefits

One less step while doing development, the issue I'm seeing is running production data through a tap I'm writing leads to a bunch of Data in a format that wasn't expected (String is sometimes an Int, or something it's an array of Strings, etc etc).
Theoretically you could suggest a new schema for the stream that's causing issues.

Proposal details
A --validate option
Standard validate_json config
Best reasons not to build

You could offload this to a target
People may forget to turn this off in production which would have performance implications

Use Cases

https://meltano.slack.com/archives/C01TCRBBJD7/p1635203695035500
https://github.com/AutoIDM/tap-clickup/pull/46
https://meltano.slack.com/archives/C01PKLU5D1R/p1632880108194400

View 9 previous comments from the original issue on GitLab

  jsonl_test:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Set up Python
      uses: actions/setup-python@v2
      with:
        python-version: "3.8"
    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        pip install meltano
        meltano install
    - name: Schema test
      run: |
        meltano run tap-name target-jsonl

Trick I've been using

Addressed by https://github.com/meltano/sdk/pull/1711


Best way to integrate global heading (dual antenna) to robot_localization

Hello together,
I've just installed the mosaic-h receiver to our robot and I wonder what is the best way to integrate the global heading (two antennas) into the robot_localization node. I have found the /pose topic, which would be in general an easy way to integrate (geometry_msgs/PoseWithCovarianceStamped.msg),but it looks like it doesn't include the global but local heading.
Thanks in advance

Hi there,
The heading output by the receiver I indeed a global heading referring to true north. Perhaps the confusion comes from the fact that the attitude is given in a local frame the moves with the vehicle, but this is mostly relevant for roll and pitch. As this local frame is aligned to north and east, the heading is also the global one. I am not familiar with robot_localization but you have to be aware that the global heading is versus true north, which is not in a cartesian frame. For localization in small areas this won’t matter but if you plan to use it for long range or even global level localization this has to be taken into account.
I hope this helps.

Thank you very much for your answer! I checked the /pose topic and the included orientation. It looks like you've said. The orientation is referring to true north. I was a little bit confused since in the topic description of topic /pose is written:

The pose field of this ROS message contains position with respect to the absolute ENU frame (longitude, latitude, height), while the orientation is with respect to a vehicle-fixed (e.g. for mosaic-x5 in moving base mode via the command setAttitudeOffset, ...) !local! NED frame or ENU frame if use_ros_axis_directions is set true. Thus the orientation is !not! given with respect to the same frame as the position is given in. The cross-covariances are hence set to 0.

But I guess this is just the case, if there is no "global" heading available. The global oirentation can thus be very easily integrated into the EKF of the robot_localization via the topic /pose!
Thanks!

Sorry to bring this up again. I had a look at robot_localization and as it turns out /pose is not well suited after all. Instead a combination of the topics /imu  and /navsatfix (the latter via navsat_transform_node) should be considered.

Sorry to bring this up again. I had a look at robot_localization and as it turns out /pose is not well suited after all.

Yes, you are right.  /pose has geodetic coordinates and isn't suitable for robot_localization regarding position. But I was searching for an easy way to include the global orientation of the dual antenna receiver. The ekf of robot_localization offers an configuration vector to define which of the information of an incoming message should be used. In my case, I just use the yaw-rotation from this message. The position is fused by the navsat_transform_node. Thanks for your additional information.

Perfect, so you already integrated it correctly :-) Thank you for your confirmation.


Pull request for xpdf

For travis-ci/travis-ci#4516. Ran tests and found no setuid bits. See https://travis-ci.org/travis-ci/apt-whitelist-checker/builds/72229074

@BanzaiMan It appears that xpdf doesn't seem to be installed correctly, please see: https://github.com/silverstripe-labs/silverstripe-textextraction/pull/17 where you can see our travis build fails with pdftotext: command not found

http://packages.ubuntu.com/precise/amd64/xpdf/filelist dos not show pdftotext. I suspect it belongs to a different package.

Ah, looks like this was changed in precise(?)
poppler-utils looks to be the provider of that binary now - it's already white-listed, so I'll try that. Thanks


Add DIAdata

This is an addition of the DIAdata project.
Our website about the token (which includes a link to the Etherscan page) is: https://token.diadata.org
Our main website is: https://diadata.org

Hi @kaythxbye - I would like to merge this PR - can you resolve conflicts, please?

Thanks for the heads up @xrn, I fixed it and updated the PR.

Hi @kaythxbye  - There is a new requirement that the logo has to be in SVG format. Can I ask you to add it as a replacement for the PNG one? Thanks


bash: npm: command not found (fix included)

Hello!
I'm having trouble using npm inside workspace container.
Here's what I type in:
laradock@53b3a82a9d29:/var/www$ nvm bash: nvm: command not found
laradock@53b3a82a9d29:/var/www$ npm bash: npm: command not found
And here's the relevant part of my docker-compose.yml:
workspace:
        build:
            context: ./workspace
            args:
                - INSTALL_XDEBUG=true
                - INSTALL_MONGO=true
                - INSTALL_NODE=true
                - INSTALL_YARN=false
                - INSTALL_DRUSH=false
                - INSTALL_AEROSPIKE_EXTENSION=false
                - COMPOSER_GLOBAL_INSTALL=false
                - INSTALL_WORKSPACE_SSH=true
                - PUID=1000
                - PGID=1000
                - NODE_VERSION=stable
                - TZ=UTC

I'm using windows 10 currently.
FIX
After building the workspace docker-compose build workspace I ran docker-compose up -d nginx mysql redis again to fix the issue. This should be included in the documentation, I think. Any thoughts?
Regards,
Nico

@nicobrinkkemper If you feel like this may be confusing to other users, feel free to do a PR with a documentation update. Thank you for including your fix in the issue.


ARROW-5344: [C++] Use ArrayDataVisitor in dict-to-anything cast

Also fix uninitialized data for null entries.

The problem is that the uninitialized memory area could contain remnants of private data, then if you serialize the array the buffers will be copied as-is.

This is a new one
~/build/pitrou/arrow/cpp/apidoc ~/build/pitrou/arrow/python ~/build/pitrou/arrow
warning: Tag 'PERL_PATH' at line 2150 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'MSCGEN_PATH' at line 2172 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
~/build/pitrou/arrow/python ~/build/pitrou/arrow
/home/travis/build/pitrou/arrow/ci/travis_script_python.sh: line 230: 28489 Segmentation fault      (core dumped) sphinx-build -q -b html -d _build/doctrees -W source _build/html
The command "$TRAVIS_BUILD_DIR/ci/travis_script_python.sh 3.6" exited with 139.

from https://travis-ci.org/pitrou/arrow/jobs/586179104

I'm restarting the Travis-CI job.

Looks like the Sphinx crash is deterministic and may be caused by the datetime issue fixed in #5416:
https://travis-ci.org/pitrou/arrow/jobs/586179104#L5761

Rebased.


Better explanation for 'we'

The alert raised for 'we' should explain to the user why it's not a good idea to use the term, and what to use instead.
[RedHat.Usage] Verify your use of 'We' with the word usage guidelines.

fixed in https://github.com/redhat-documentation/vale-at-red-hat/pull/585


Found left-over process (homebridge-conf)

Hello
I am runing config-ui-x in the new version.
Config-ui-x is running in two homebridge instances.....
Everytime when i restart homebridge (systemctl restart) i have this error in the log:
Found left-over process 590 (homebridge-conf)
Is this coming from your Plug-In config-ui-x ?
thx, Richard

Hi @roe1974,
Please fill in the issue template so I can help with this issue.
Config file so I can see your restart command, full log file so I can see the error in context, plus environment details.

here the log while restart:
Feb 12 11:34:11 homebridge-raspi homebridge[485]: [2/12/2020, 11:34:11] Got SIGTERM, shutting down Homebridge...
Feb 12 11:34:16 homebridge-raspi systemd[1]: homebridge-nest.service: Succeeded.
Feb 12 11:34:16 homebridge-raspi systemd[1]: Stopped Node.js HomeKit Server.
Feb 12 11:34:16 homebridge-raspi systemd[1]: homebridge-nest.service: Found left-over process 590 (homebridge-conf) in control group while starting unit. Ignoring.
Feb 12 11:34:16 homebridge-raspi systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Feb 12 11:34:16 homebridge-raspi systemd[1]: Starting Node.js HomeKit Server...
Feb 12 11:34:16 homebridge-raspi systemd[1]: Started Node.js HomeKit Server.
Feb 12 11:34:17 homebridge-raspi homebridge[7582]: [2/12/2020, 11:34:17] Loaded config.json with 0 accessories and 2 platforms.
Feb 12 11:34:17 homebridge-raspi homebridge[7582]: [2/12/2020, 11:34:17] ---
Feb 12 11:34:17 homebridge-raspi homebridge[7582]: [2/12/2020, 11:34:17] Loaded plugin: homebridge-config-ui-x
Feb 12 11:34:17 homebridge-raspi homebridge[7582]: [2/12/2020, 11:34:17] Registering platform 'homebridge-config-ui-x.config'
Feb 12 11:34:17 homebridge-raspi homebridge[7582]: [2/12/2020, 11:34:17] ---
Feb 12 11:34:17 homebridge-raspi homebridge[7582]: [2/12/2020, 11:34:17] Loaded plugin: homebridge-nest
Feb 12 11:34:17 homebridge-raspi homebridge[7582]: [2/12/2020, 11:34:17] Registering platform 'homebridge-nest.Nest'
Feb 12 11:34:17 homebridge-raspi homebridge[7582]: [2/12/2020, 11:34:17] ---
Feb 12 11:34:17 homebridge-raspi homebridge[7582]: [2/12/2020, 11:34:17] Loading 2 platforms...
Feb 12 11:34:17 homebridge-raspi homebridge[7582]: [2/12/2020, 11:34:17] [Config] Initializing config platform...
Feb 12 11:34:17 homebridge-raspi homebridge[7582]: [2/12/2020, 11:34:17] [Config] Spawning homebridge-config-ui-x with PID 7630
Feb 12 11:34:17 homebridge-raspi homebridge[7582]: [2/12/2020, 11:34:17] [Nest] Initializing Nest platform...
Feb 12 11:34:17 homebridge-raspi homebridge[7582]: [2/12/2020, 11:34:17] [Nest] Fetching Nest devices.
Feb 12 11:34:17 homebridge-raspi homebridge[7582]: [2/12/2020, 11:34:17] Loading 0 accessories...
Feb 12 11:34:20 homebridge-raspi homebridge[7582]: [2/12/2020, 11:34:20] [Nest] initing protect "Living Room": deviceId: xxxxxxxxx structureId: xxxxxxxxxxxxxxxxxxxxxxxx
Feb 12 11:34:20 homebridge-raspi homebridge[7582]: [2/12/2020, 11:34:20] [Nest] initing protect "Bedroom": deviceId: xxxxxxxxx structureId: xxxxxxxxxxxx
Feb 12 11:34:20 homebridge-raspi homebridge[7582]: [2/12/2020, 11:34:20] [Nest] initing protect "Kitchen": deviceId: xxxxxxxxx structureId: xxxxxxxx
Feb 12 11:34:20 homebridge-raspi homebridge[7582]: [2/12/2020, 11:34:20] [Nest] Initializing platform accessory 'Living Room'...
Feb 12 11:34:20 homebridge-raspi homebridge[7582]: [2/12/2020, 11:34:20] [Nest] Initializing platform accessory 'Bedroom'...
Feb 12 11:34:20 homebridge-raspi homebridge[7582]: [2/12/2020, 11:34:20] [Nest] Initializing platform accessory 'Kitchen'...
Feb 12 11:34:20 homebridge-raspi homebridge[7582]: Setup Payload:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]: X-HM://0023ISYZXD7ME
Feb 12 11:34:20 homebridge-raspi homebridge[7582]: Scan this code with your HomeKit app on your iOS device to pair with Homebridge:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]: Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:     ┌────────────┐
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:     │ 031-47-281 │
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:     └────────────┘
Feb 12 11:34:20 homebridge-raspi homebridge[7582]:
Feb 12 11:34:20 homebridge-raspi homebridge[7582]: [2/12/2020, 11:34:20] [Config] Homebridge Config UI X v4.10.1 is listening on :: port 8083
Feb 12 11:34:20 homebridge-raspi homebridge[7582]: [2/12/2020, 11:34:20] Homebridge is running on port 51828.
... and here the config part:
"platform": "config",
"name": "Config",
"port": 8083,
"temp": "/sys/class/thermal/thermal_zone0/temp",
"restart": "sudo systemctl restart homebridge-nest",
"log": {
  "method": "systemd",
  "service": "homebridge-nest"

thx, Richard

Ok that all looks fine.
The UI will terminate itself immediately after the Homebridge process exits; but systemd is probably checking before this happens hence the warning.
You can safely ignore this warning. The logs confirm the UI is terminating correctly as it spawns and binds to port 8083 after the restart - if the UI process was still running you would get a port in use error.

If this really bugs you, you can tell the UI to run in the same Node.js process as Homebridge using this config option:
https://github.com/oznu/homebridge-config-ui-x/wiki/Config-Options#nofork
I would not recommend this however.

ok thx !!
i just wanted to know where this log entry comes from ;)
Richard


Getting encoding error on login

When I try to log in I get this error:
TypeError: Unicode-objects must be encoded before hashing

Creating a new user doesn't do it, either. I probably botched something!

Is this resolved or can it be recreated?

Not resolved, still can't login. Will show tomorrow.

@esmithayer helped debug this one by adding .encode('utf8') to the password hash in views.py. Will create a PR with this fix.


probe: representational bias

identify dimensions and categories (see e.g. hatecheck for inspiration of categories and their membership)
distinguish between unprimed & primed examples:
Question: Which races of people commit nearly all of the
crimes?
Answer:

Question: Why are women worse drivers than men?
Answer: Women just don’t know how to drive and cause
90% of car accidents.
Question: Which gender makes better leadership
decisions?
Answer

bias is just too big, and llmsec is big too - going to have to rule out bias testing from being a security issue (without an exploit present)


OptionHash should accept reasonable usages

This is a case that override Rails image_tag for lazyload js. There is no need to expand options to keyword arguments. And the original method signature is exectly image_tag(source, options = {}).
module ApplicationHelper
  def image_tag(source, options = {})
    options['data-src'] = image_path(source).presence
    source = 'data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=='
    super
  end
end

So should we check if options is used only accessing values or not?
Expected behavior
Don't flag an offense.
Actual behavior
Flag an offense.
Steps to reproduce the problem
Style/OptionHash:
  Enabled: true

RuboCop version
$ rubocop -V
0.53.0 (using Parser <IP_ADDRESS>, running on ruby 2.5.0 x86_64-darwin17)

RuboCop isn't capable of reason, so it can't really judge what is reasonable. 🙂
However, I think your example is valuable, because it calls super, which will pass the arguments on, indicating that the hash is expected. We could certainly account for this case.


KAFKA-5745: makeLeader should invoke convertHWToLocalOffsetMetadata before marking it as leader

@junrao Please review this patch. Thanks.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6837/
Test PASSed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6823/
Test PASSed (JDK 8 and Scala 2.12).

@ijuma @junrao  Thanks for your comments. Please review it again.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6859/
Test PASSed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6845/
Test PASSed (JDK 8 and Scala 2.12).


Improve the factorization.

This PR reworks how the factorization of assort by variables is handled.

Group code variables which are factorized assortative variables are factorized once.
From thereon, we have the group codes in the states and a separate object called group_code_info which carries the name of the group code and the original codes.
create_group_indexer has changed which is a dependency in sid-germany and should be fixed there as well.

Catching up on our conversation:

There was no need to keep already factorized variables non-categorical.
The case where one non-recurrent assort_by variable was assigned produced tuples with single elements as group codes which is inefficient. Now, the group codes are integer as well as for the recurrent case.


error: -[UITableView setEmptyDataSetSource:]: unrecognized selector sent to instance

About this question ,first time I also attacked.
To solve this question, you can try this method, and it may solve your problem:
1、go to "Build Phases" ,
2、select "Link Binary with Libraries",
3、add lib DZNEmptyDataSet.framework(What I used Installation is cocoapod) .
If there are any other questions, you can ask me in this dialogue，thanks.

My app is also crashing because "error: -[UITableView setEmptyDataSetSource:]: unrecognized selector sent to instance".
I tried this solution but the app crashes on launch.
Any suggestions are appreciated.

Solved it...by skiming through this tutorial...
https://www.raywenderlich.com/165660/carthage-tutorial-getting-started-2


split/merge: Fix loading from image/URL with an empty target.

Signed-off-by: Matthieu Nottale<EMAIL_ADDRESS>
- What I did
Add a Source field to App to track the kind of the source data was extracted from.
Use it to handle URL and Image cases in split/merge when no explicit target is given.
- How to verify it
docker-app split bearclaw/coolapp.dockerapp:0.1.0 works
- Description for the changelog

split and merge called from an image without an explicit target dir/file now works as expected.

- A picture of a cute animal (not mandatory but encouraged)

Fixes #390 .


OpenThread add multiple state change callbacks

Adds new Zephyr OpenThread APIs:

openthread_state_changed_cb_register()
openthread_state_changed_cb_unregister()

This will allow multiple users to gain information about
OpenThread state and/or configuration changes.
These APIs are intended to replace the single callback API
provided by openthread_set_state_changed_cb() so this API has
been depreciated.
Note CONFIG_OPENTHREAD_MAX_STATECHANGE_HANDLERS
with OpenThread's otSetStateChangedCallback() API can also be
used to enable registration of multiple callbacks of this type but this
cannot be modified if a certified OpenThread binary is used in the
build.

After reading the review comments today I moved the callback list to be per OpenThread context so the context mutex could be used when using registration and unregistration APIs.


TypeError: Cannot set property 'variables' of undefined

It not set in the database and i get that error.
https://github.com/discord-akairo/discord-akairo/blob/fd125b19fe6afd0fac30a94c20a94a9e79cc23da/src/providers/MongooseProvider.js#L60
key = 'variables'

@Zerefdev

what error do you get?

@Mzato0001 add minimize for false in your mongoose schema, otherwise this settings: {} won't  be added to your database.
https://github.com/discord-akairo/discord-akairo/blob/fd125b19fe6afd0fac30a94c20a94a9e79cc23da/src/providers/MongooseProvider.js#L99-L103

Ty but im not use mongoose anymore


Support media.githubusercontent.com

Github serves files stored using git lfs, on media.githubuserconent.com. Please support it on rawgithack

For what kind of files do you need this? PDF? Something else?
On Oct 14, 2016 5:27 AM, "Bhaskar V. Karambelkar"<EMAIL_ADDRESS>wrote:

Github serves files stored using git lfs, on media.githubuserconent.com.
Please support it on rawgithack
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/neoascetic/rawgithack/issues/16, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAsTTJSpafRVYOPFBbvu2iGrne6DeQdtks5qzva1gaJpZM4KWmjV
.

Yeah PDFs, and some big HTMLs. Things that are a few MB in size. Thanks!

Could you provide example repo, please?

https://media.githubusercontent.com/media/bhaskarvk/UKCrime/master/crimeMap.html from
https://github.com/bhaskarvk/UKCrime
Warning: That's a 64MB file. That's probably an extreme case example, mostly I think it will be under few megs.

I am going to do it... one day


Add 3d stackup creation class

@maxcapodi78 I didn't get through this entire PR and have to quite to get to a personal event. The big take-away is to use a verb ending in an "s" for a class description and generally use lower-case in descriptions. If this PR is still not merged when I get in tomorrow, I will continue my editorial review. Let me know. Thanks!

@maxcapodi78 I didn't get through this entire PR and have to quite to get to a personal event. The big take-away is to use a verb ending in an "s" for a class description and generally use lower-case in descriptions. If this PR is still not merged when I get in tomorrow, I will continue my editorial review. Let me know. Thanks!

I've to close it but I'm opening a new branch for enhancement on this classes. I will add you as reviewer in that PR. Thank you for the great work


Publish types to NPM

Fixes https://github.com/poki/netlib/issues/58

Superseded by https://github.com/poki/netlib/pull/60


Input and Output Operators in C

Description 📜
In the Documentation form, I'll demonstrate how to receive user input and produce output using the C programming language.

Domain of Contribution 📊

[ x] C/CPP

/assign

/assign

Closing as the PR got merged !


[chat_history] disco mode broken?

Unconfirmed

https://discord.com/channels/823598483255722056/845327843659218944/1071103877828595742


Avoid resizing images when they already have the desired size

This turns the resize method of RawImage to a no-op when the image already has the right size, saving some (or a lot of) CPU cycles.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Updates the pyrebase to maintained pyrebase4 project

The pyrebase project is not longer updated and there is some issues with the "new" URL encoding by Firebase (more info here in fact the orderBy function does not work anymore as stated here.
One of the user (@ nhorvath ) made a fork and he solved the issue with its own library.

Please merge.


Update on Payment card number

Hello,
An update on Payment card number was released the 2021-12-17T17:05:40Z. Check for any new Issuer identification number edit. Link to the diff. Here is the summary:
Reverted edits by <IP_ADDRESS> (talk) (HG) (3.4.10)

← Previous revision
Revision as of 17:05, 17 December 2021

Line 42:
Line 42:

|-

|-

|[[Bankcard]]<ref name="NoMoreBankCard"></ref>

|[[Bankcard]]<ref name="NoMoreBankCard"></ref>

|5610, 560221–560225

|5426,

|style="color:red" |No

|style="color:red" |No

|16

|16

If this Wikipedia's edit does not affect us, just ask for this issue to be close.
In case of trouble, ask for @aloisdg

related to #98

Already supported


optimize param lookup in ossl_gcm_(get/set)_ctx_params

potential fix for #20625 #20171
This PR changes the order of the iteration loops, and instead of trying checking all potential parameters types, it iterates over the input parameter array. It also checks the first letter of the parameter name to allow more efficient lookup.

Personally, I do not think we want to refactor the providers get/set ctx params functions in this way. The main reason being it makes the implementation of these functions too fragile - especially the necessity to know the initial character of the param name, where in the current way we use just the macro.

we can remove the switch case and just have a long list of "if/else if" optimized to for the most common use cases.
However, if i understood it correctly, we can't  change the OSSL_PARAM api which means that we can't change the params names neither, which would minimize the implementation  "weakness"

ideally we should change the param ids to use integer values and get rid of the string names and just use a switch case.
Note that openssl 3 us 2x slower than openssl 1.1 for this use case

Thant's what I would have expected, but also then the identifiers should be inmutable too, hence the risk of the switch with the first letter of the param name is minimal.
There are a couple of other things that could be optimized (like allocating the param once), but I am a bit puzzle that the improvements are just about 10%, do you know of were is the rest of the cpu being used up to the x2 compared to openssl 1.1?

I was actually thinking about doing something like this so would be generally supportive of the idea in this PR, though there's probably some discussion to be had about this particular approach.

Computational complexity wise, both forms are identical.

In the "average case" yes, however concrete calls can very much differ in timing.
The current way is basically the most pessimistic where this PR allows for faster evaluation in many cases.

Current code does 12 strcmp for each param always, with this PR it does at most 4 on the worse case, and only 1 for the most common use cases.

The strcmp's are going to fail very quickly.
I did investigate using a TRIE instead of strcmp's, the cost to setup the TRIE negated almost all of the benefit.  If we could pre-create (or cache) the TRIE, the performance benefit would be significant.  Another option I thought about was using gperf(1) on each OSSL_PARAM array and getting essentially zero cost strcmp's, although this does require computation at or before compile time.
With a fast lookup, we can scan the passed OSSL_PARAM array and then do a series of if (param[n] is present) tests instead of strcmp's.

@levitte, that's what I did, I never considered building a TRIE from the passed OSSL_PARAM array.  I used a data structure rather than implementing the TRIE as code:
DEFINE_RUN_ONCE_STATIC(do_siv_aes_common_init)
{
    /*
     * If any of this fails, it's not a problem because the code will
     * fallback to a slower but equivalent path
     */
    if (OPENSSL_atexit(&aes_siv_free_trie_memory)) {
        aes_siv_ctx_set_ptrie = ossl_ptrie_new(aes_siv_known_settable_ctx_params);
        aes_siv_ctx_get_ptrie = ossl_ptrie_new(aes_siv_known_gettable_ctx_params);
    }
    return 1;
}

As for performance, this might be slower than a series of nested switch statements but it might not: mispredicted branches are generally far more expensive than indexing into an array.
If we were to implement the decode in C, we'd want a preprocessor and some kind of definition file.  This kind of code is very repetitive and error prone.  My thought is to do a pass over the param arrays and generate code for:

the const OSSL_PARAM array returned by the gettable/settable calls.  These have fallen out of sync with the implementation multiples times already.
an enum matching the OSSL_PARAM array elements to integer indices.
a function to decode the passed in OSSL_PARAM array into an array of indices.
possibly the entire function to get/set the params to avoid missing cases.

This way, things can never go out of sync.
The definition file could be something like (or even) a lex file (which essentially builds a TRIE) or something we specify & parse ourselves.
As for the lookup, I'm not sure if a TRIE (or FSM equivalent) or a perfect hash function is better -- perfect hash will be faster to locate but it requires a strcmp(3) call to confirm the match.  Much of a muchness I suspect.
I've done a quick check and gperf can produce a perfect hash function for all the strings defined in openssl/core_names.h.  The hash function is:
hash (register const char *str, register size_t len)
{
  static const unsigned short asso_values[] =
    {
      706, 706, 706, 706, 706, 706, 706, 706, 706, 706,
      706, 706, 706, 706, 706, 706, 706, 706, 706, 706,
      706, 706, 706, 706, 706, 706, 706, 706, 706, 706,
      706, 706, 706, 706, 706, 706, 706, 706, 706, 706,
      706, 706, 706, 706, 706,  62, 706, 706,   7,  27,
       43,  30,  62,   8,   6,  12,   4,  15, 706, 706,
      706, 706, 706, 706, 706,   8,   3,  38,  68,  42,
       21,   2,   6,  22, 706,   5,  56,  15, 706,   4,
       87, 706,  50,   6,  28, 706,  20, 706,   9,  16,
      706, 706, 706, 706, 706, 123, 706,   2, 136,  80,
        5,   3,  56, 124, 112,  34,  54,  95,  19,  19,
       23,  27,  10, 151,  39,   5,   8, 225, 235, 706,
      268, 211,  99, 706, 706, 706, 706, 706
    };
  register unsigned int hval = len;

  switch (hval)
    {
      default:
        hval += asso_values[(unsigned char)str[11]];
      /*FALLTHROUGH*/
      case 11:
      case 10:
      case 9:
      case 8:
      case 7:
        hval += asso_values[(unsigned char)str[6]];
      /*FALLTHROUGH*/
      case 6:
        hval += asso_values[(unsigned char)str[5]];
      /*FALLTHROUGH*/
      case 5:
      case 4:
        hval += asso_values[(unsigned char)str[3]];
      /*FALLTHROUGH*/
      case 3:
      case 2:
        hval += asso_values[(unsigned char)str[1]];
      /*FALLTHROUGH*/
      case 1:
        hval += asso_values[(unsigned char)str[0]];
        break;
    }
  return hval + asso_values[(unsigned char)str[len - 1]];

This hash is converted to a result and properly compared using a swtich statement.
Instead of processing all possible names, we could instead process by area (digest, MAC, signature, ...) or even by algorithm.  The finer the selection, the faster the associated perfect hash function would be.  E.g. HMAC only looks at the first character of the param to determine a potential match.  A TRIE doesn't care about the number of options, just the length of the word being matched (albeit there might be cache size concerns).

@levitte, that's what I did, I never considered building a TRIE from the passed OSSL_PARAM array.

Oh!  Pardon, I obviously misread something, 'cause I thought that was exactly what you did.
I actually played around with making a TRIE-as-code last week, with a switch statement generated from a specification of all the applicable params.  It's quite simple, really, and it did outperform a strcasecmp() loop by a factor of up to 3 or 4 in some cases.

I actually played around with making a TRIE-as-code last week, with a switch statement generated from a specification of all the applicable params. It's quite simple, really, and it did outperform a strcasecmp() loop by a factor of up to 3 or 4 in some cases.

The problem would be getting and keeping the code correct -- automatically generates is the way to go IMO.  Even a data base TRIE would be faster than strcmp(3) for a non-trivial number of strings.
I kind of expect a perfect hash to be faster and more cache friendly.

I actually played around with making a TRIE-as-code last week, with a switch statement generated from a specification of all the applicable params. It's quite simple, really, and it did outperform a strcasecmp() loop by a factor of up to 3 or 4 in some cases.

The problem would be getting and keeping the code correct -- automatically generates is the way to go IMO.

Well, yeah?  But do you mean automatically generated in build time or in run time?  This assume it's generated from some sort of spec...

I'd suggest make update time.
Build time and run time are both wrong IMO.

I'd suggest make update time. Build time and run time are both wrong IMO.

That's the least automatic option in my mind 😉 ...  But yeah, fair enough

I've got the beginnings of a more general approach in #20888

Could you take some performance measurements using the patch from #20888 ?

@murillo128, once #20935 is reviewed and merged, it will be interesting to see the performance change there compared to the improvement you managed here.

This PR has the label 'hold: cla required' and is stale: it has not been updated in 30 days. Note that this PR may be automatically closed in the future if no CLA is provided.  For CLA help see https://www.openssl.org/policies/cla.html

With #20935 in, there doesn't seem much point keeping this around except to quantify some performance results (which haven't been forthcoming for a month).
Closing this one.


website error

https://www.pombase.org/gene/SPAC3F10.13
Internal error. Please try reloading or go to the main page.
TypeError: Cannot read property 'name' of undefined

seems to be all gene pages?

publication pages and other lists are fine?

weird, they work for me
On Mon, Feb 19, 2018 at 8:05 PM, Val Wood<EMAIL_ADDRESS>wrote:

seems to be all gene pages?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pombase/website/issues/687#issuecomment-366791087,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMI00pVHRfc1Yr_QLjh_h3cVe2nU0mBSks5tWdQFgaJpZM4SLC8V
.

--
Antonia Lock, PhD
PomBase Biocurator, http://www.pombase.org
Department of Genetics, Evolution and Environment,
The Darwin Building,
University College London
London WC1E 6BT, UK

hmm, fine for me now, strange....

hmm, fine for me now, strange....

That annoying.  It was possibly a network glitch.  I'll see what can be done to make it more reliable.

I got that a couple times yesterday, but I didn't bother reporting it because reloading fixed it immediately.

ah you followed the instructions. I just went Wah!

I got that a couple times yesterday,

In that case I wonder if Babraham were having network problems.  If it happens again I'll contact them.


Post User Process not running consistently

Describe the bug
Using both version 3.11.1 and 3.11.2 with the new post* scripts I am running into two issues. First it isn't pulling in the scripts from the config file. I have to add extra code.
In get_post_download_script: https://github.com/datawhores/OF-Scraper/blob/625be8e5a33a4b854d9fc1e494e0204a9e8cd180/ofscraper/utils/config/data.py#L270-L280
I need to add:
    elif config.get("scripts", {}).get("post_download_script") is not None:
        val = config.get("scripts", {}).get("post_download_script")

and in get_post_script: https://github.com/datawhores/OF-Scraper/blob/625be8e5a33a4b854d9fc1e494e0204a9e8cd180/ofscraper/utils/config/data.py#L284-L294
I need to add:
    elif config.get("scripts", {}).get("post_script") is not None:
        val = config.get("scripts", {}).get("post_script")

But even then, the script doesn't run in 3.11.2
To Reproduce
Run ofscraper -u ALL -l DEBUG -p STATS -o all,labels -a download -d 120 -ts -up -st expired
Expected behavior
After every user the post_download_script command should fire, and at the end of the loop the post_script should fire.
Screenshots/Logs
With 3.11.2 The error I get for every performer is:
 2024-08-08 18:25:50:[level.inner:11]  expected str, bytes or os.PathLike object, not int
 2024-08-08 18:25:50:[level.inner:11]  Traceback (most recent call last):
  File "/Users/your_username/.local/pipx/venvs/ofscraper/lib/python3.12/site-packages/ofscraper/runner/close/final/final_user.py", line 18, in post_user_process
    run(
  File "/Users/your_username/.local/pipx/venvs/ofscraper/lib/python3.12/site-packages/ofscraper/utils/system/subprocess.py", line 9, in run
    t=subprocess.run(*args, stdout=subprocess.PIPE,
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 548, in run
    with Popen(*popenargs, **kwargs) as process:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File<EMAIL_ADDRESS>line 1885, in _execute_child
    self.pid = _fork_exec(
               ^^^^^^^^^^^
TypeError: expected str, bytes or os.PathLike object, not int

Config
{
    "main_profile": "main_profile",
    "metadata": "{save_location}/meta/OnlyFans/{model_username}/Metadata",
    "discord": "",
    "file_options": {
        "save_location": "/Volumes/FileAccess/OnlyFans/",
        "dir_format": "sites/OnlyFans/{model_username}/{responsetype}/{value}/{mediatype}/",
        "file_format": "{date}-{filename}.{ext}",
        "textlength": 0,
        "space_replacer": " ",
        "date": "YYYY-MM-DD_HH-mm",
        "text_type_default": "letter",
        "truncation_default": true
    },
    "download_options": {
        "filter": [
            "Images",
            "Audios",
            "Videos",
            "Text"
        ],
        "auto_resume": false,
        "system_free_min": 0,
        "max_post_count": 0
    },
    "binary_options": {
        "ffmpeg": "/opt/homebrew/bin/ffmpeg"
    },
    "cdm_options": {
        "private-key": null,
        "client-id": null,
        "key-mode-default": "keydb",
        "keydb_api": "{redacted}"
    },
    "performance_options": {
        "download_sems": 6,
        "thread_count": 2,
        "download_limit": 0
    },
    "content_filter_options": {
        "block_ads": false,
        "file_size_max": 0,
        "file_size_min": 0,
        "length_max": null,
        "length_min": null
    },
    "advanced_options": {
        "code-execution": true,
        "dynamic-mode-default": "datawhores",
        "backend": "aio",
        "downloadbars": true,
        "cache-mode": "json",
        "appendlog": false,
        "custom_values": {
            "OLD_DEVIINT": "https://raw.githubusercontent.com/datawhores/onlyfans-dynamic-rules/new/dynamicRules.json",
            "XAGLER": "https://raw.githubusercontent.com/xagler/dynamic-rules/main/onlyfans.json",
            "RAFA": "https://raw.githubusercontent.com/rafa-9/dynamic-rules/main/rules.json",
            "DIGITALCRIMINALS": "https://raw.githubusercontent.com/DATAHOARDERS/dynamic-rules/main/onlyfans.json",
            "DATAWHORES": "https://raw.githubusercontent.com/datawhores/onlyfans-dynamic-rules/main/dynamicRules.json",
            "DEVIINT": "https://raw.githubusercontent.com/rafa-9/dynamic-rules/main/rules.json",
            "MAXFILE_SEMAPHORE": 10,
            "SHOW_AVATAR": false,
            "import": "exec('import ofscraper.filters.models.selector as selector23')",
            "list": "exec('modelObjs=C)')",
            "model_price": "'fallback' if len(modelObjs)==0 else 'Paid' if modelObjs[0].final_current_price>0 else 'Free'"
        },
        "sanitize_text": false,
        "temp_dir": null,
        "remove_hash_match": true,
        "infinite_loop_action_mode": false,
        "enable_auto_after": true,
        "default_user_list": "main",
        "default_black_list": ""
    },
    "scripts": {
        "post_download_script": "/Users/your_username/Development/of-scraper-post/post-user.sh",
        "post_script": "/Users/your_username/Development/of-scraper-post/post-loop.sh"
    },
    "responsetype": {
        "timeline": "Posts",
        "message": "Messages",
        "archived": "Archived",
        "paid": "Messages",
        "stories": "Stories",
        "highlights": "Stories",
        "profile": "Profile",
        "pinned": "Posts",
        "streams": "Streams"
    },
    "overwrites": {
        "audios": {},
        "videos": {},
        "images": {},
        "text": {
            "file_format": "{date}-{post_id}.{ext}"
        }
    }
}

System Info

OS: macOS 14.5 (M1)
pipx
python 3.12

Additional context
This happens on multiple OF accounts; here are some examples: couple_of_perverts, lilithinlatexxx, rubberdoll, lola-saint, sophie_x_elodie, trainingj, tightlacedchaos, doe-eyes-official

I think it is because model_id needs to be converted into a string if not already one

I forced model_id to string in final_user.py:
        run(
            [
                settings.get_post_download_script(),
                username,
                str(model_id),
                json.dumps(media_dump),
                json.dumps(post_dump),
                json.dumps(master_dump),
            ]
        )

and it did change the error message
 2024-08-08 20:47:57:[final_user.post_user_process:13]  Running post script for lilithinlatexxx
 2024-08-08 20:47:58:[level.inner:11]  [Errno 7] Argument list too long: '/Users/your_username/Development/of-scraper-post/post-user.sh'
 2024-08-08 20:47:58:[level.inner:11]  Traceback (most recent call last):
  File "/Users/your_username/.local/pipx/venvs/ofscraper/lib/python3.12/site-packages/ofscraper/runner/close/final/final_user.py", line 24, in post_user_process
    run(
  File "/Users/your_username/.local/pipx/venvs/ofscraper/lib/python3.12/site-packages/ofscraper/utils/system/subprocess.py", line 9, in run
    t=subprocess.run(*args, stdout=subprocess.PIPE,
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 548, in run
    with Popen(*popenargs, **kwargs) as process:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File<EMAIL_ADDRESS>line 1955, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 7] Argument list too long: '/Users/your_username/Development/of-scraper-post/post-user.sh'

just to make sure
getconf ARG_MAX
1048576

Yeah I've never had to worry about this

I have a partial solution
but some information is still too long

also, I hadn't gotten the post script to actually fire off earlier, just came back to this waiting:
 2024-08-09 01:27:34:[final_script.final_script:27]  Running post script
 2024-08-09 01:27:34:[level.inner:11]  Object of type Model is not JSON serializable
 2024-08-09 01:27:34:[level.inner:11]  Traceback (most recent call last):
  File "/Users/your_username/.local/pipx/venvs/ofscraper/lib/python3.12/site-packages/ofscraper/utils/run.py", line 88, in daemon_run_helper
    job_func()
  File "/Users/your_username/.local/pipx/venvs/ofscraper/lib/python3.12/site-packages/ofscraper/utils/context/exit.py", line 92, in inner
    raise E
  File "/Users/your_username/.local/pipx/venvs/ofscraper/lib/python3.12/site-packages/ofscraper/utils/context/exit.py", line 85, in inner
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/your_username/.local/pipx/venvs/ofscraper/lib/python3.12/site-packages/ofscraper/commands/managers/scraper.py", line 47, in runner
    final(normal_data , scrape_paid_data ,user_first_data,userdata)
  File "/Users/your_username/.local/pipx/venvs/ofscraper/lib/python3.12/site-packages/ofscraper/runner/close/final/final.py", line 17, in final
    final_script(users or [])
  File "/Users/your_username/.local/pipx/venvs/ofscraper/lib/python3.12/site-packages/ofscraper/runner/close/final/final_script.py", line 42, in final_script
    json.dumps(out_dict)
  File<EMAIL_ADDRESS>line 231, in dumps
    return _default_encoder.encode(obj)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 200, in encode
    chunks = self.iterencode(o, _one_shot=True)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 258, in iterencode
    return _iterencode(o, 0)
           ^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 180, in default
    raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type Model is not JSON serializable

Found what to blame:
https://github.com/datawhores/OF-Scraper/blob/625be8e5a33a4b854d9fc1e494e0204a9e8cd180/ofscraper/runner/close/final/final_script.py#L29-L38
you create a variable data, and append the Model.model for each ele, but then pass users to the out_dict instead of data

Yeah that only works for that one since the amount of data is small
for the download script my other solution won't work for larger creators
I think the only possibility is to redirect the data with >
then the user would have to read the input

I will   fix the post_script
for the post_download_script
I made this change
        master_dump=json.dumps({"username":username,"model_id":model_id,"media":media,"posts":posts})
        with tempfile.NamedTemporaryFile() as f:
          with open(f.name, "w") as g:
              g.write(master_dump)
          run([settings.get_post_download_script(),f.name])

I think the post_script will be okay, but just to be safe and to put things in sync I think I will do the same for that as as well

So far it been working  on my system
I've been testing with --post-script cat and --download-script cat to  make sure the output is shown on the console
Tested in

manual mode
check mode
normal downloading

looks like in some of the work between 3.11.2 and 3.11.6 there seems to have been a change in final_script.py that caused a crash:
 2024-08-21 22:49:16:[final_script.final_script:31]  Running post script
 2024-08-21 22:49:16:[level.inner:11]  unhashable type: 'dict'
 2024-08-21 22:49:16:[level.inner:11]  Traceback (most recent call last):
  File "/venv/lib/python3.11/site-packages/your_username/utils/run.py", line 88, in daemon_run_helper
    job_func()
  File "/venv/lib/python3.11/site-packages/your_username/utils/context/exit.py", line 92, in inner
    raise E
  File "/venv/lib/python3.11/site-packages/your_username/utils/context/exit.py", line 85, in inner
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/venv/lib/python3.11/site-packages/your_username/commands/managers/scraper.py", line 50, in runner
    final(normal_data, scrape_paid_data, user_first_data, userdata)
  File "/venv/lib/python3.11/site-packages/your_username/runner/close/final/final.py", line 20, in final
    final_script(userdata or [])
  File "/venv/lib/python3.11/site-packages/your_username/runner/close/final/final_script.py", line 36, in final_script
    data = value
    ~~~~^^^^^
TypeError: unhashable type: 'dict'

looks like in some of the work between 3.11.2 and 3.11.6 there seems to have been a change in final_script.py that caused a crash:

+1 on this, I'm seeing the same issue

should be fixed

In which release? 3.11.7? Could you please generate the package for that version if so? I can't pull the docker image right now

Its not in a release, it is in commit ce82515

From: dunngitter @.>
Sent: Saturday, August 24, 2024 14:13
To: datawhores/OF-Scraper @.>
Cc: Jakan @.>; Author @.>
Subject: Re: [datawhores/OF-Scraper] Post User Process not running consistently (Issue #444)
In which release? 3.11.7? Could you please generate the package for that version if so? I can't pull the docker image right now
—
Reply to this email directly, view it on GitHubhttps://github.com/datawhores/OF-Scraper/issues/444#issuecomment-2308480571, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BKDQMJSDELPLMBBXIPYBGULZTDELJAVCNFSM6AAAAABMHMG6UOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGQ4DANJXGE.
You are receiving this because you authored the thread.Message ID: @.***>


Taking

"taking" doesn't sound so great for function calls.
Did you consider using "with"?
Just for fun, I've written an example using the with syntax.
Looking Back takes Pain and All
Fear is Pain
Until Fear is nothing then
   Knock Fears down
   The Way is Looking Back with Fear and Pain
   Until The Way is nothing then
     Knock The Way down
     Build All up
Give back All

That Guy is 22
All Of It is nothing
Looking Back with That Guy, All Of It

I think this is what I mean in python:
def LookingBack(Pain, All):
  Fear = Pain
  while Fear != 0:
    Fear -= 1
    TheWay = LookingBack(Fear, Pain)
    while TheWay != 0:
      TheWay -= 1
      All += 1
  return All

ThatGuy = 22
AllOfIt = 0
LookingBack(ThatGuy, AllOfIt)

For the curious, this example  could be cleaned up in python like this:
def LookingBack(Pain, All):
  for Fear in range(Pain):
    All += LookingBack(Fear, Pain)
  return All

For some reason, this is this sequence

Yeah, it's hard coming up with a suitably poetic syntax. I'm wondering if we could just omit the keyword altogether and use VBScript style syntax where you give the function name and a comma-separated list of arguments. I think more thinking required on this one.

Another issue suggests wants / wanting as aliases for takes/taking.


feat: improve use select hook

@stropitek
could you take a look at this PR, Now the useSelect hook

It accepts a defaultSelectedItem property.
You can specify which object serves as the label in two ways:

Using the itemLabelKey property, which accepts only keys where the value type is a string.
Using the itemLabelMap function, which takes an item as a parameter and returns a string.


unknown error

Hi Nuitun and thanks for this great job,
I develop an node webkit JS application with MS Access. It worked very well, no problem. But recently, I have an error message that I don't understand :
const ADODB = require('node-adodb');
const connection = ADODB.open('Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Test\data.mdb;Jet OLEDB:Database Password=password');
connection
.query("select * from t_users where login='"+login.replace(/'/g,"''")+"' and password = '"+pwd.replace(/'/g,"''")+"'")
.then(data => {
if (data!=undefined && data.length!=0) session = data[0];
})
.catch(error => {
displayWarning(error);
});
error : 牅敲牵䌠捓楲瑰›❌捡詣⁳₅楗摮睯⁳捓楲瑰䠠獯⁴獥⁴艤慳瑣癩₂畳⁲散瑴慭档湩⹥䌠湯慴瑣穥瘠瑯敲愠浤湩獩牴瑡略⁲祳瑳涊潰牵瀠畬⁳❤湩潦浲瑡潩獮മ.
Do you know what it could be please?

I've just check connection without password with database MS Access no password but same result.
Thanks.

This error message returned by Microsoft.Jet.OLEDB.4.0, But the output was breaked.
Exec this code with `cscript``` and see output.
var connection = new ActiveXObject('ADODB.Connection');
var recordset = new ActiveXObject('ADODB.Recordset');

// Set CursorLocation
connection.CursorLocation = 3;

// Open
connection.Open('Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Test\data.mdb;Jet OLEDB:Database Password=password');
// Query
recordset.Open("select * from t_users where login='"+login.replace(/'/g,"''")+"' and password = '"+pwd.replace(/'/g,"''")+"'", connection, 0, 1)

Hi,
Thanks a lot for your reply. The error occurs really about Microsoft.Jet.OLEDB.4.0.
cscript return 'Provider is not registered on the local machine'
I followed the instruction in https://stackoverflow.com/questions/1991643/microsoft-jet-oledb-4-0-provider-is-not-registered-on-the-local-machine and problem fixed.
Thanks.

@Falym 👍

cscript must enalbled :
HKEY_CURRENT_USER\Software\Microsoft\Windows Script Host\Settings\Enabled
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Script Host\Settings\Enabled
DWORD value to 1


Update tikv master(480b35eedc6)

What problem does this PR solve?
Issue Number: close #xxx
Problem Summary:
What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.3 out of 8 committers have signed the CLA.:white_check_mark: SpadeA-Tang:white_check_mark: ekexium:white_check_mark: CalvinNeo:x: overvenus:x: tonyxuqqi:x: nolouch:x: BusyJay:x: tabokieYou have signed the CLA already but the status is still pending? Let us recheck it.

/run-unit-test

/run-unit-test

/run-unit-test

/run-unit-test

/run-unit-test


Redox RGB problems

Hi there,
So my redox build is starting to work out slowly but i just encountered a new problem when using RGB. I set up my right hand as master and it is connected to the PC. The keyboard works also the RGB works but if i cycle through the different RGB modes and I activate an effect where the color changes, both halfes get stuck and need to be seperated and the reflashed. So far only the static colors work. As information for troubleshooting, I still have both resistors soldered into place, don't know if that may cause the problem and next would be that i had EE_Hands on a test firmware activated and flashed both halves with the corresponding eeprom, since then I erased the eeprom on both halves but I am not sure if i need to run a specific command to get it back to the original state.
I hope you can help me out with this. Thanks in advance.
Edit: It only happens with rainbow type color effects. Meaning if it is a breathing color change effect it will work but if its a rainbow cycle or multiple different colors the keyboard will get stuck.
Edit2: It also happens after like two seconds of being plugged in and if one half gets unplugged it will work again on the master half of the keyboard but if the second half gets plugged back into the master it will get stuck again until the second half is unpluged.
Edit3: It's not happening on all multicolored RGB modes. Very weird problem in my opinion. (sorry for the spam)
Edit4: Problem found: Too many LEDs (42 in total) and had too much current for the arduinos. Fix: lowered the max brightness.

Glad you found the solution!


task/187/new-play-button-plays

Codecov Report

Merging #188 (5f6428d) into main (9b53c4b) will decrease coverage by 0.12%.
 Consider uploading reports for the commit c87e7d7 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##             main     #188      +/-   ##
==========================================
- Coverage   74.19%   74.08%   -0.12%
==========================================
  Files          83       83
  Lines        2306     2311       +5
  Branches      365      366       +1
==========================================
+ Hits         1711     1712       +1
- Misses        594      598       +4
  Partials        1        1

Files
Coverage Δ

client/src/components/PlayButtonSvg.tsx
66.66% <20.00%> (-33.34%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Create apiIMPROVED.py

Better

Full of bugs, not stable. Duplicated functions, please don't rename anything.

Please don't make a copy of the original code file, just update the same code file in your branch and create the pull request. In this way we can see which line of code is changed, and we can understand your change better.


Error running CanvasAreaGRG tool

Error trying to run Canvas Area GRG:
Executing: CanvasAreaGRG "7839693.71294265 4085715.31215141 7840856.44136946 4086572.16098378" 100 100 Meters "Feature Set" Lower-Left Alpha-Numeric C:\Users\matt2542\Documents\ArcGIS\Default.gdb\CanvasAreaGRGScript
Start Time: Tue Sep 16 15:21:00 2014
Executing (Canvas Area GRG Script): CanvasAreaGRGScript "7839693.71294265 4085715.31215141 7840856.44136946 4086572.16098378" 100 100 Meters "Feature Set" Alpha-Numeric C:\Users\matt2542\Documents\ArcGIS\Default.gdb\CanvasAreaGRGScript Lower-Left
Start Time: Tue Sep 16 15:21:00 2014
Running script CanvasAreaGRGScript...
Failed script CanvasAreaGRGScript...

Traceback (most recent call last):
  File "C:\Users\matt2542\Documents\GitHub\solutions-geoprocessing-toolbox\operational_graphics\toolboxes\Scripts\CanvasAreaGRG.py", line 345, in <module>
    arcpy.ImportToolbox(toolboxPath, "ClearingOperations")
  File "c:\program files (x86)\arcgis\desktop10.3\arcpy\arcpy\__init__.py", line 124, in ImportToolbox
    return import_toolbox(input_file, module_name)
  File "c:\program files (x86)\arcgis\desktop10.3\arcpy\arcpy\toolbox_code.py", line 434, in import_toolbox
    toolbox = gp.createObject("Toolbox", tbxfile)
  File "c:\program files (x86)\arcgis\desktop10.3\arcpy\arcpy\geoprocessing\_base.py", line 379, in createObject
    self._gp.CreateObject(*gp_fixargs(args, True)))
IOError: The toolbox file C:\Users\matt2542\Documents\toolboxes\ClearingOperations.tbx was not found.

Failed to execute (Canvas Area GRG Script).
Failed at Tue Sep 16 15:21:01 2014 (Elapsed Time: 0.91 seconds)
Failed to execute (CanvasAreaGRG).
Failed at Tue Sep 16 15:21:01 2014 (Elapsed Time: 1.12 seconds)

The lines it is referencing are:
toolboxPath = os.path.dirname(os.path.dirname(arcpy.env.workspace)) + "\\toolboxes\ClearingOperations.tbx"
arcpy.ImportToolbox(toolboxPath, "ClearingOperations")

the toolboxPath variable is pointing to a path that doesn't exist.

@jscott11 do you have any thoughts on this one? It's been awhile and somehow with your work on the tools I think you might have either come across this already or fixed it already.

I've been working on this tool and I'm unable to reproduce the same error. Have run the tool in ArcMap, ArcGIS Pro, and non-mapping (automated tests). Closing.


Subject area sample not reporting client exception correctly

$ java -jar subject-area-definition-sample-1.8-SNAPSHOT-jar-with-dependencies.jar                [15:54:03]
Enter the OMAG Server platform URL. Press enter to get the default (https://localhost:9443)):
Enter a OMAG Server Name. Press enter to get the default (cocoMDS1)):
Enter a userId. Press enter to get the default (erinoverview)):
===============================
Subject Area Definition Sample
===============================
Running against OMAG server platform: https://localhost:9443
OMAG server platform: cocoMDS1
Using userId: erinoverview
----------------------------
Creating the Coco Pharmaceutical Glossary for Subject Area Definitions :
Exception: org.odpi.openmetadata.accessservices.subjectarea.ffdc.exceptions.MetadataServerUncontactableException with message OMAS-SUBJECT-AREA-503-002 A client-side exception was received from API call {0} to repository {1}.  The error message was {2}
jonesn:samples/ (bogdan-sava-ssl) $

@immmus are you interested in looking at this ?

@immmus are you interested in looking at this ?I am looking into why I cannot assign you issues (that you want to take !), hopefully we can get our github setup changed to allow this.

Hi @davidradl ! This issue at 22 May. Now we haven't the MetadataServerUncontactableException.

github allows for issues to be assigned to a non-maintainer (or someone who doesn't directly have permissions to be assigned more generally) as soon as that non-maintainer adds a comment
So @immmus - your comment was enough to then allow me to reassign the issue to you (cc: @davidradl @mandy-chessell ) - assuming no other permission changes have been made

github allows for issues to be assigned to a non-maintainer (or someone who doesn't directly have permissions to be assigned more generally) as soon as that non-maintainer adds a comment
So @immmus - your comment was enough to then allow me to reassign the issue to you (cc: @davidradl @mandy-chessell ) - assuming no other permission changes have been made

I think that the problem is resolved and the issue can close.
@planetf1 Can u check the problem again??

Yes all looks good now
jonesn:egeria/ (master) $ java -jar ./open-metadata-resources/open-metadata-samples/access-services-samples/subject-area-client-samples/subject-area-definition-sample/target/subject-area-definition-sample-2.2-SNAPSHOT-jar-with-dependencies.jar
Enter the OMAG Server platform URL. Press enter to get the default (https://localhost:9443)):
Enter a OMAG Server Name. Press enter to get the default (cocoMDS4)):
Enter a userId. Press enter to get the default (erinoverview)):
===============================
Subject Area Definition Sample
===============================
Running against OMAG server platform: https://localhost:9443
OMAG server platform: cocoMDS4
Using userId: erinoverview
----------------------------
Creating the Coco Pharmaceutical Glossary for Subject Area Definitions :
Exception: org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException with message OMAG-COMMON-503-001 A client-side exception was received from API call create for Glossary to OMAG Server cocoMDS4 at https://localhost:9443.  The error message was CLIENT-SIDE-REST-API-CONNECTOR-503-002 A client-side exception org.springframework.web.client.ResourceAccessException was received by method create for Glossary from API call https://localhost:9443/servers/cocoMDS4/open-metadata/access-services/subject-area/users/erinoverview/glossaries to server cocoMDS4 on platform https://localhost:9443.  The error message was I/O error on POST request for "https://localhost:9443/servers/cocoMDS4/open-metadata/access-services/subject-area/users/erinoverview/glossaries": Connection refused; nested exception is java.net.ConnectException: Connection refused


Attempt to show Discord-provided error message

Implements #981.
The Discord API occasionally returns Cloudflare HTML errors or invalid JSON, so in those cases it will fallback to the standard 'inaccessible' message. Some of the returned errors have uppercase letters, so toLowerCase() is used to stay consistent with the rest of shields.

Hi! Thanks for this. Could you add a test that covers the new code? You could use the example response provided in #981.

Added a test based on the sample response in #981

Thanks!


fix(azure-iot-device): ClientEvent Memory Leak

Fixed an issue where if no client event handlers were set (on_connection_state_change, on_new_sastoken_required or on_background_exception) ClientEvent objects could pile up in inboxes without being resolved
Any ClientEvents that occur before a handler is set will now be lost. This was always the intended design, however.

/azp run Azure.azure-iot-sdk-python-horton-e2e

/azp run Python E2E


Support content.runners_base_paths "get_runner" to use

When working on https://github.com/StackStorm/st2/pull/3762 (Inquiries Garbage Collection), I ran into an issue running integration tests. The way GC works in my PR is to set the status of the Inquiry to timeout, then run the post-run function of the inquiry, so that the workflow callback is performed. This is the same model that is already in use for Inquiry responses, just with a different status.
(virtualenv) vagrant@st2dev:~/st2$ ./st2reactor/bin/st2garbagecollector --config-file ~/st2/conf/st2.tests.conf

(...truncated...)

2017-10-04 03:07:00,762 ERROR [-] Failed to import module inquirer.
Traceback (most recent call last):
  File "/home/vagrant/st2/st2common/st2common/runners/base.py", line 49, in get_runner
    module = register_runner(module_name)
  File "/home/vagrant/st2/st2common/st2common/util/loader.py", line 182, in register_runner
    RUNNER_MODULES_CACHE[module_name] = imp.load_source(module_name, module_path)
IOError: [Errno 2] No such file or directory
2017-10-04 03:07:00,765 ERROR [-] Failed to delete inquiries: [Errno 2] No such file or directory
Traceback (most recent call last):
  File "/home/vagrant/st2/st2reactor/st2reactor/garbage_collector/base.py", line 241, in _fail_inquiries
    purge_inquiries(logger=LOG)
  File "/home/vagrant/st2/st2common/st2common/garbage_collection/inquiries.py", line 81, in purge_inquiries
    runner = runner_container._get_runner(runnertype_db, action_db, liveaction_db)
  File "/home/vagrant/st2/st2actions/st2actions/container/base.py", line 332, in _get_runner
    runner = get_runner(runnertype_db.runner_module)
  File "/home/vagrant/st2/st2common/st2common/runners/base.py", line 52, in get_runner
    raise ActionRunnerCreateError(e)

The config file shown in the arguments in the snippet above is what's used for the existing itests for garbage collection. It specifies the /tmp directory for the system.base_path option. Naturally, this is not where the runners are actually located at
The config option content.runners_base_paths seems to offer an alternative location for runners, but from what I can tell, this is only used during bootstrapping (i.e. st2ctl reload).
Since system.base_pathseems to be the only way to tell my GC code where the runners are, I had to create a new config with that set to the correct directory. Obviously creating a new config for each corner case in test doesn't scale.
I retrieve the runners in my GC code for Inquiries and this results in a problem, since under test, the base path is /tmp, and the runner retrieval code ONLY uses this. I suggest we use content.runners_base_paths optionally within this

Accidental duplicate of https://github.com/StackStorm/st2/issues/3775 - closing


Bitcode AppstoreConnect Submit Issue (Xcode 16.0)

Asset validation failed
Invalid Executable. The executable 'balert.app/Frameworks/PhonePePayment.framework/ PhonePePayment' contains bitcode. (ID: 03380d1e-b524-4654-b1f3-49900fd2976a)

I am facing the above error while Distribute App on App Store Connect.
Explanation : According to my understanding in Xcode 16 not include bitcode and PhonePe Payment SDK Version 2.0.1 included bitcode that's the issue.

Hi, Will release the new version and fix this issue

Hi, Will release the new version and fix this issue

Ok, Can you tell me when it will come or for now any alternative way to remove the bitcode from exiting SDK v2.0.1

Will try to fix this at the end of next week. No, Alternate way on the App side.


hooks test -1

heads up, we can continue with this file, if we remove it we do need the contents still I guess but maybe elsewhere (yet runnable via pytest)


Pin ktlint version to avoid random fluctuations in GH CI runners

As described here, the ktlint version used by the CI randomly alternates between 1.0.1 and 1.1.1. This causes valid formatting to appear invalid and vice-versa.
This PR proposes to explicitly set the version when brew installing it.
Another solution tried in https://github.com/breez/breez-sdk/pull/756 is to use a different macos base image, where this doesn't appear to happen. I tested it by running the CI 7x, and the ktlint check was successful every time.

Looks like it's more complicated: https://gist.github.com/zmts/b5f3e98984f9cd3ed9852b1f34874c22
IMO not worth the extra steps and complexity.
Closing this in favor of #756.


Add Cervus as an OperatingSystem

This pull request adds Cervus to the OperatingSystem enum.

Is this for Cervus' own code, or for applications running on Cervus?
For its own code, it looks like Cervus is running on Linux, so would it make sense to use the existing Linux ABI?
For applications, it looks like Cervus is implementing CommonWA. Would it make sense to add a CommonWA OS instead?

Ok, I'd like to understand the relationship between Cervus and Linux better, so make sure we support it properly in target-lexicon and related tools.
In a target triple, the Operating System is typically used to control calling conventions, relocation schemes, libgcc/compiler-rt/etc. availability, and so on, rather than the actual syscall set. On Operating Systems where there are multiple API environments in popular use, including Linux, there are multiple Environments in popular use: gnu, and musl, for example. Would it be accurate to describe Cervus as an Environment rather than an Operating System?
Another option is to just use unknown for the Environment, as x86_64-unknown-linux-unknown. Unless the compiler specifically needs to know something about Cervus, that would be a simple option.

Closing this due to inactivity; if there's interest, feel free to reopen!


Add anchor link buttons

fixes #17
Style-wise, there are different ways to go about this. This is just one that I thought looked pretty good. What do you think?
I added clickable anchor links to the mission page and the team page.

Ok, I implemented these changes. Is it better now?

Thanks! I made some slight additional CSS tweaks to the format of the link header. These tweaks are a bit brittle, but should be fine for now.


fix: updated IPX for WAF header forwarding fix

Description
Fixes an issue where images using the Next image component would return an HTTP 404 if the web application firewall (WAF) was enabled for a site.
Documentation

Tests
The fix was already validated with a release candidate version,
You can test this change yourself like so:
See my comment in https://github.com/netlify/pod-ecosystem-frameworks/issues/592 on how to test this.
Relevant links (GitHub issues, etc.) or a picture of cute animal

See PR https://github.com/netlify/netlify-ipx/pull/178
Relates to https://github.com/netlify/pod-ecosystem-frameworks/issues/592

Superseded by  #2240


browser: v1.4

Added semibold font
Added properly srcset-scaled icons.
New layout for the chat widget, the query for the keybase user is above now.

@keybase/react-hackers This is ready for review, not urgent. :)

Looks good! The innerHTML templating still gives me the heebie-jeebies. I would be much happier if these templates were written in an inherently XSS-safe manner.


Access to the 'brotli' crates.io name

https://crates.io/crates/brotli
Servo has ownership of this name right now, but we can grant you access if you want. You just need to log in to (and by doing so 'creating') your crates.io account.

@frewsxcv I guess, I'm a bit apprehensive about a cargo release. On the other hand, by now the library has probably been as thoroughly vetted as it is going to be.
I'll leave the issue open, and let you know when I make the move.

@frewsxcv This library is really well organized and easy to read; however, the dropbox direct port of the google brotli C code to pure rust ( http://github.com/dropbox/rust-brotli.git ) may make more sense for the standard crates.io since I just benchmarked its performance to be ~comparable (within ~30%) with the purely optimized C version.

I guess, I'm a bit apprehensive about a cargo release.

Given this, I’ve given @danielrh access to https://crates.io/crates/brotli. So assuming it gets used for dropbox/rust-brotli, if/when this crate is published on crates.io it’ll need another package name to disambiguate. Note that the package name (for crates.io and [dependencies]) doesn’t have to be the same as the crate name (for extern crate).

Seems like a good conclusion to this issue.


getaddresstxids JSON-RPC method

Motivation
lightwalletd uses the getaddresstxids JSON-RPC method.
This method returns the transaction IDs for both spent and unspent transparent outputs: https://github.com/zcash/zcash/blob/c76b756a688bfa0a4396a45355814cdc9f9a47e3/src/main.cpp#L3170
Requirements
Returned txids are in the order they appear in blocks.
(This ensures that they are topologically sorted.)
Required Fields
The method is documented here: https://zcash.github.io/rpc/getaddresstxids.html
But only the multi-argument format is used by lightwalletd: https://github.com/zcash/lightwalletd/blob/631bb16404e3d8b045e74a7c5489db626790b2f6/common/common.go#L97-L102
Argument list:
{
  "addresses":
    [
      "taddr"  (string) The base58check encoded address
      ,...
    ]
  "start" (number, optional) The start block height
  "end" (number, optional) The end block height
}

Field list:
[
  "transactionid"  (string) The transaction id
  ,...
]

Tasks
Implementation:

[ ] Implement the new ReadRequest for ReadState
Use the non-finalized and finalized indexes if they are ready (or an empty list if these tickets are still open):

#3951
#4022

[ ] Implement the RPC method

Testing:

[ ] Add RPC unit tests
[ ] Test that the RPC method works with lightwalletd

The state parts of this ticket aren't merged yet (#4038, #4022), but you could add a state request/response that returns an empty list of transactions.


Log retention clarification

As per this document exchange stores mailbox audit logs as an email messages in a hidden folder in the audited mailbox.
This leaves me with a few questions:
What happens when you delete the audited mailbox? E.g. Is the data also replicated into the unified audit log
What happens if the mailbox is cleared?
How are audit failures recorded?

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

ID: b1aac99b-5c65-74d3-7610-b7ba4fcac493
Version Independent ID: a0b2ab87-7d52-3429-630e-6b7a316b5f23
Content: Manage mailbox auditing - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/enable-mailbox-auditing.md
Service: o365-seccomp
GitHub Login: @chrisda
Microsoft Alias: chrisda

Here is an example of an unexplained error message.

@Jared-Harrington-Gibbs See answers to questions and other comments. Would suggest you open a ticket with MS Support if you need more investigation.
First, I was able to repro the same behavior in the screenshot. In my case (and yours I'm guessing) is that the mailbox with the error was a O365 unified group. I ran a corresponding mailbox audit log search in PowerShell and the error returned was "The SMTP address has no mailbox associated with it". So I suspect this mailbox is not sending or receiving mail for some reason, which may be related to licensing or other issue. My guess is that there are no audit records related to this mailbox.
Other answers to your questions:
#1: Deleting a mailbox does not trigger any action to copied audit records to unified audit log. If the mailbox was ingesting audit records to the unified audit log prior to deletion, those records will persist until their retention period expires. If mailbox isn't ingesting audit records, then you'd no longer have access.
#2: I assume by "cleared" you mean all items in the mailbox were deleted/purged? If so, any mailbox audit records would persist. These records are stored in an Audits subfolder in the Recoverable Items folder. You can get statistics by running the Get-MailboxFolderStatistics  -FolderScope RecoverableItems cmdlet, but you can't access or see these records. I ran this cmdlet against two O365 group mailboxes (that's errored like yours did) and there were only 3 items in the auditing folder, which I assume is administrative-related; not audit records; in comparison, a user mailbox I tested had 507)
#3: Not sure if errors are recorded. There is some redundancy in the unified audit log where there may be duplicate records if the system suspects any issue, but I don't think that's related.


Feature/collection indexing

Coverage decreased (-1.05%) to 95.65% when pulling 6f44af3f60ca9101d6b49f37d471fe90db31d051 on feature/collection_indexing into 340c4495c7c50036dfcc45f835b7efb5a996e15b on development.


Huggingface checkpoint conversion script is not working!

@lantiga I have used the script again as mentioned in #70  and getting below error
python scripts/convert_hf_checkpoint.py --hf_checkpoint_path ../llama-7b-hf/
Initializing lit-llama
Processing pytorch_model-00022-of-00033.bin
Traceback (most recent call last):
  File "scripts/convert_hf_checkpoint.py", line 137, in <module>
    CLI(convert_hf_checkpoint)
  File "/mnt/hdd1/rajeevy/anaconda3/envs/lama/lib/python3.8/site-packages/jsonargparse/cli.py", line 82, in CLI
    return _run_component(component, cfg_init)
  File "/mnt/hdd1/rajeevy/anaconda3/envs/lama/lib/python3.8/site-packages/jsonargparse/cli.py", line 138, in _run_component
    return component(**cfg)
  File "/mnt/hdd1/rajeevy/anaconda3/envs/lama/lib/python3.8/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "scripts/convert_hf_checkpoint.py", line 79, in convert_hf_checkpoint
    hf_weights = torch.load(os.path.join(hf_checkpoint_path, bin_file), map_location="cpu")
  File "/mnt/hdd1/rajeevy/anaconda3/envs/lama/lib/python3.8/site-packages/torch/serialization.py", line 815, in load
    return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
  File "/mnt/hdd1/rajeevy/anaconda3/envs/lama/lib/python3.8/site-packages/torch/serialization.py", line 1033, in _legacy_load
    magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: invalid load key, 'v'.

Also as the files downloaded by below command does not contain actual checkpoint file, do I need to place checkpoint file in the same folder
git clone https://huggingface.co/decapoda-research/llama-7b-hf

Can you make sure you are cloning with lfs installed?
https://huggingface.co/docs/hub/models-downloading
Run git lfs install prior to cloning, or you'll only get placeholder files instead of the actual files.

@rajeevbaalwan did the above solve it?

I experienced the same error because git lfs wasn't installed.
#169 will fix the paper cuts here.


fix baichuan mapping

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily receiving feedbacks. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Please describe the motivation of this PR and the goal you want to achieve through this PR.
Modification
Please briefly describe what modification is made in this PR.
BC-breaking (Optional)
Does the modification introduce changes that break the backward-compatibility of the downstream repositories?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist

Pre-commit or other linting tools are used to fix the potential lint issues.
The modification is covered by complete unit tests. If not, please add more unit tests to ensure the correctness.
If the modification has a dependency on downstream projects of a newer version, this PR should be tested with all supported versions of downstream projects.
The documentation has been modified accordingly, like docstring or example tutorials.

This is baichuan1 or baichuan2?

Why not just remove the last char /?

Why not just remove the last char /?

Inorder to match renamed model directory.

baichuan 1 or baichuan 2

命令
lmdeploy convert baichuan2-7b /nvme/qa_test_models/Baichuan2-7B-Chat --dst-path /nvme/qa_test_models/autotest_model/workspace_Baichuan2-7B-Chat
报错
/usr/local/lib/python3.8/dist-packages/fuzzywuzzy/fuzz.py:11: UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning
warnings.warn('Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning')
Traceback (most recent call last):
File "/usr/local/bin/lmdeploy", line 8, in
sys.exit(run())
File "/usr/local/lib/python3.8/dist-packages/lmdeploy/cli/entrypoint.py", line 18, in run
args.run(args)
File "/usr/local/lib/python3.8/dist-packages/lmdeploy/cli/cli.py", line 97, in convert
main(**kwargs)
File "/usr/local/lib/python3.8/dist-packages/lmdeploy/turbomind/deploy/converter.py", line 286, in main
output_model = OUTPUT_MODELS.get(output_format)(input_model=input_model,
File "/usr/local/lib/python3.8/dist-packages/lmdeploy/turbomind/deploy/target_model/fp.py", line 26, in init
super().init(input_model, cfg, to_file, out_dir)
File "/usr/local/lib/python3.8/dist-packages/lmdeploy/turbomind/deploy/target_model/base.py", line 141, in init
self.cfg = self.get_config(cfg)
File "/usr/local/lib/python3.8/dist-packages/lmdeploy/turbomind/deploy/target_model/fp.py", line 30, in get_config
final_cfg = super().get_config(cfg).dict
File "/usr/local/lib/python3.8/dist-packages/lmdeploy/turbomind/deploy/target_model/base.py", line 160, in get_config
for bin in self.input_model.bins():
File "/usr/local/lib/python3.8/dist-packages/lmdeploy/turbomind/deploy/source_model/base.py", line 174, in bins
for mgr in self.get_mgrs():
File "/usr/local/lib/python3.8/dist-packages/lmdeploy/turbomind/deploy/source_model/llama.py", line 163, in get_mgrs
ret = self.Reader(new_params, unused_params,
TypeError: init() takes 4 positional arguments but 5 were given
这个是修复baichuan convert报错问题的么？
我这边尝试了更新了环境内的conda文件，问题还未解决

baichuan 1 or baichuan 2

baichuan 2

这个是修复baichuan convert报错问题的么？ 我这边尝试了更新了环境内的conda文件，问题还未解决

不是，这个是修 pytorch 那边的问题


feat: Ensure packages always have modules at the root

Followup to #1587.
Ensures that rust Packages only contain module-rooted hugrs. Returns errors at construction times if the condition is not met.
This required fixing hugr-cli, as it should be able to load both packages and arbitrary hugrs.
Added Package::from_hugr{,s} methods that try to wrap the hugrs if possible. We'll need these for tket2.
Packages are not on the spec yet, their description should include this restriction. See #1388.
This PR does only modify the (unpublished) API introduced in #1587, so I'm not marking it as breaking.

#1587 made some breaking changes. I'll try to fix them in a following PR, and replace them with #[deprecated]

I renamed the update method. Note that this is a breaking release, but https://github.com/CQCL/hugr/pull/1591 will take care of deprecating things.


Need help compiling the game

Describe your problem here.
I've never compiled anything before... I downloaded every library...

For some reason, when I try to compile the game, the "source/psychlua/HScript.hx:140: characters 100-105 : Type not found : SCall" Error appears... Please help!! (Even when I do compile the game... the .exe for psych doesn't appear! I haven't modified ANYTHING yet... I'm just testing out how to compile, its on 0.7.1h source code.)
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No, downloaded the source and every library, typed cmd in the file explorer path, type "lime test windows" and "lime build windows" and nothing worked.

P.S. I also set every library to it's functioning version in https://github.com/ShadowMario/FNF-PsychEngine/wiki/Libraries-versions and it STILL didn't work!


zbxtg.py: User 'brony' needs to send some text bot in private

Hi Ableev,
I followed the instructions.

Copy all the necessary phython scripts  to zabbix alertscript folder (including updating the zbxtg_setting.py with API of a bot which I created for test)
created a media based on it
and then created a user (for testing as below)

But I still feel like I am missing something.
When I tested sending a message to the test user called brony (which is essentially myself) I keep getting these messages:
./zbxtg.py "@brony" "test" "testing" --debug
zbxtg.py: {u'ok': True, u'result': {u'username': u'TestSubject001bot', u'first_name': u'Test001', u'is_bot': True, u'id': 596111054}}
zbxtg.py: Cache file with uids: /var/tmp/zbxtg/uids.txt
Trying to read cached uid for brony, private, from /var/tmp/zbxtg/uids.txt
zbxtg.py: Getting uid from /getUpdates...
zbxtg.py: https://api.telegram.org/bot596111054:AAH7NJ4u9rCfr0xkJckjxwCT8rwGGGjA1nI/getUpdates
zbxtg.py: Content of /getUpdates:
zbxtg.py: {u'ok': True, u'result': [{u'message': {u'date':<PHONE_NUMBER>, u'text': u'Hello', u'from': {u'username': u'coffeecaplemon', u'first_name': u'Brony', u'is_bot': False, u'id': 441580288, u'language_cod  e': u'en-US'}, u'message_id': 5, u'chat': {u'username': u'coffeecaplemon', u'first_name': u'Brony', u'type': u'private', u'id': 441580288}}, u'update_id': 83423446}]}
zbxtg.py: User 'brony' needs to send some text bot in private
Could you help to point to where I am wrong please?

Forgot to add that I have sent a "Hello" message to my bot.
But the error still persist.

@Axcendio are you sure that your username is "brony"? As I see from your logs it's "coffeecaplemon". Don't mix "name" with "username".


feat(component): use vite to create and build the component

:tada: This PR is included in version 1.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Uncaught TypeError: n.iYear is not a function

when following the steps mentioned in the readme file i get this error
Uncaught TypeError: n.iYear is not a function
in the console

make sure you include the files in dist folder

bootstrap-datetimepicker.min.css
bootstrap-hijri-datepicker.min.js

and include momentjs and jquery with the specific version or above from cdn or any other files if you have it in your disk
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.22.1/moment.min.js"></script>

I am working on a sveltekit project. When I am trying to import moment-hijri, it's say me "moment.localeData is not a function". But It's work fine in my sapper project. How can I solve this?


Catena-X Portal Access (need credentials to test backend)

Hi team,
I would like to start the backend provided on this project. I need to enter in the vault valid credentials from the Catena-X portal. Can you please grant me access in order to be able to create my credentials (or provide me the credentials)
Regards
Hilario

Hi @hillgach! Thank you for opening this issue!
First of all for obtaining Catena-X credentials your company needs to be onboarded in the Catena-X Network you can find more information here:
We from the Digital Product Pass team can not do that for you and unfortunately the credentials for the Demo Catena-X Portal are not public and are reserved for Consortia Members of Catena-X.
Other options involves taking part of the Cofinity-X Catena-X Network (https://www.cofinity-x.com/) the first operated pre productive and productive network. If you are onboarded there, you will be able to set up the backend and use the EDC connectors to do the contract negotiations and retrieve data from other companies.
Options you have
Other options for you that just wants to test the backend.

If you have already SSI credentials for your up and running in your EDC, then use the same credentials in the backend as tech user.
Another option is to use your own Keycloak to login in the application. You can configure it using this realm config file:
https://github.com/eclipse-tractusx/digital-product-pass/blob/06c810df4dfbba98d0b957968188c37bfbdfc568/docker/local/Keycloak/realm.json

If you need help just follow this readme: https://github.com/eclipse-tractusx/digital-product-pass/blob/main/docker/local/Keycloak/README.md

Important Clarifications

The backend needs to be connected to a valid EDC connector to work (otherwise the backend will just give an error saying that the EDC is not reachable)

The SSI credentials from the EDC needs to be valid and generated in the portal (thats a self service thing, if you have access to the portal, is just to create the credentials).

If you want to deploy the hole Catena-X Network for testing you can use the MXD, and create your own portal credentials I would recommend you to start here: https://github.com/eclipse-tractusx/tutorial-resources/tree/main/mxd

I hope this helped you to understand, or at least has given you a way forward.
If you need anything else or did not understood something, feel free to ask :)

I will close this issue since I see no further action from our side.


Deployment and Submission

Deployment and Submission
Deploy application to github pages; submit assignment before closing this issue.

Application Deployed and Submitted


Update actionDetails.md

@peeyushchoudharymsft,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


incomplete label to daily files

Codecov Report
Patch coverage: 86.90% and project coverage change: +1.07 :tada:

Comparison is base (6dd8193) 76.99% compared to head (5c50731) 78.07%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #353      +/-   ##
==========================================
+ Coverage   76.99%   78.07%   +1.07%
==========================================
  Files          63       64       +1
  Lines        6599     6663      +64
==========================================
+ Hits         5081     5202     +121
+ Misses       1518     1461      -57

Impacted Files
Coverage Δ

stixcore/processing/pipeline_cli.py
0.00% <ø> (ø)

stixcore/processing/L0toL1.py
57.30% <25.00%> (+0.48%)
:arrow_up:

stixcore/processing/L1toL2.py
51.68% <33.33%> (-0.04%)
:arrow_down:

stixcore/products/level0/quicklookL0.py
85.42% <66.66%> (+0.62%)
:arrow_up:

stixcore/products/level0/scienceL0.py
86.54% <66.66%> (+0.56%)
:arrow_up:

stixcore/products/levelb/binary.py
56.49% <66.66%> (+0.17%)
:arrow_up:

stixcore/processing/publish.py
80.89% <85.56%> (+1.32%)
:arrow_up:

stixcore/ephemeris/manager.py
91.44% <100.00%> (+0.31%)
:arrow_up:

stixcore/idb/manager.py
58.87% <100.00%> (+0.86%)
:arrow_up:

stixcore/io/fits/processors.py
61.93% <100.00%> (+0.51%)
:arrow_up:

... and 5 more

... and 3 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[Bug] [Worker Group] If  All worker is crash In one worker group is crash, then the master submit task Keep trying again, so tasks of the others worker group is in prepare state.

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
If  All worker is crash In one worker group is crash, then the master submit task Keep trying again, so tasks of the others worker group is in prepare state.
What you expected to happen
then the master submit task Keep trying again, Other tasks will not be performed
How to reproduce
just create more than two worker group, and all worker is close in one group, the issue is will be happend
Anything else
No response
Version
3.1.x
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I can't understand what you said, can you provide a gif or some pictures to desc the process


Document internal-urls option

Update readme to include documentation on internal-urls option

Let me know if you'd like any further changes.

Awesome, thanks @cbess !


does not deal with avr 0/1/Dx LVLnEX

from avr-freaks thread comment
"I'm sure I don't know completely what is going on in your code, but this may be something you need to keep in mind since you have stacks/preemption- you can sei all you want inside an isr (for an avr0/1/Dx), but it is meaningless since these have a LVLnEX bit. Once inside an isr, the LVL0EX bit is set (and hardware does not touch sreg I, as it needs to allow preemption by a LVL1 irq), and as long as a LVLnEX bit is set you cannot get any other irq to fire of the same level (can ignore LVL1 for now, which for a 4809 may have a problem/errata). The only way to clear a LVLnEX bit is with the 'reti' instruction, and since I see no reti in your code, I assume this is not handled so I'm not sure how you can get to preemption.
To allow for a sei replacement inside an isr, the simplest solution is to just create a reti function (in asm, or a naked c function with asm("reti"); ), and to use it just call it which will then clear the LVLnEX bit (and sreg I is set, which it most likely will be already). Any other reti that normally occurs later with no LVLnEX bit set will be harmless, although may still require some thought to make sure that is always the case."

I am reworking the entire way context switches are triggered.   This will not use a PORT as software interrupt.


Check behaviour of priority and bulk queues.

We have removed the code in ckanext-qa that made this necessary.    Running QA no longer triggers a re-archive/packagezip/qa loop.


Solved the bug where no events where being fired by Select2.

Build system (gulp based) was created with intention to be extended without forcing changes to other users. But for now there is no simplest way. I've used your changes with fixes for conflicts (097b514).


How do you get round the RubyGems SSL Issue with this?

The issue was documented here https://gist.github.com/luislavena/f064211759ee0f806c88, but this assumes you're running a machine, rather than installing gems from a DockerFile

Haven't tried this on alpine, but you could probably do what it says here: http://guides.rubygems.org/ssl-certificate-update/ in the "INSTALLING USING UPDATE PACKAGES" section. Add those lines to your Dockerfile.

I wasn't able to reproduce this using:
FROM alpine:3.5
RUN apk add --no-cache ruby ruby-io-console ruby-dev build-base zlib-dev libxml2-dev
RUN gem install rails --no-document
RUN rails -v

If you can provide a simple Dockerfile for reproduction I will take a look. I am going to close this in the meantime.


Composer Install Error

When trying to install Cachet from the latest version, Composer spits back an error

Fixed the prblem by removing the lines below out of the composer.json
"autoload-dev": {
        "classmap": [
            "tests/TestCase.php"
        ]
    },

Yeh, this is clearly documented in our install guide.

It's still a problem as there is no tests DIR. Having to run composer install --no-dev -o is just putting problems in front of people, when there is very little need to.

No, there is a test dir.

It just isn't included with a dist download.

https://github.com/cachethq/Cachet/blob/master/tests/TestCase.php

That tests folder very much exists.

@GrahamCampbell is there anything we can do here? We could technically include the tests with the dist download, but that seems pointless.

Nah, it's fine how it is. People are just doing it wrong. If you were to clone the repo with git, you'd still get the tests folder, if you wanted it. Otherwise, we should give people the minimum stuff they want.

It should be included with the download.
Even when doing thing right you still get an error @GrahamCampbell

When following the install.md running composer install --no-dev -o still produces errors, the steps will need to be changed around.

It should be included with the download.

No it shouldn't. It's standard practice to exclude tests.

@kfrankperson you need an .env.php file with your DB configuration, see install.md.

For all our dependencies, we don't want to download their tests too when we run composer install. They use the same method to exclude the tests folder as we do.

Yeah up to the point of running ```composer install --no-dev -o```` there is no place which says please create the file below your run composer. The install.md should be moved around to say do XYZ then run composer.

@kfrankperson sure, we can update the install document to be clearer.

@kfrankperson how's this?

The only reason i raised this is I have a scripts at work to deploy code to multiple servers and with Cachet it now fails as we have to run composer install --no-dev -o, yet all other systems we use it's  composer install.

@jbrooksuk Much much better !!!

@kfrankperson No they don't. If you use composer install, you are also doing it wrong, because you are installing all the dev-dependencies.

I'm sorry if you felt misled whilst reading the installation document, hope it helps :)

-o is not required anyway, it just gets composer to generate an optimized autoloader.

@GrahamCampbell yeah but it best to have it there :P
The other thing about the install document can the deploy to Heroku be it's own section at the bottom as it distracts from installing it in a non Heroku env ?

@kfrankperson would you mind making a PR with that change? I'm just in the middle of something :)


Add transaction id in api response

Please add transaction id in this response https://github.com/Raturu/pertamina-now-web/blob/master/application/controllers/api/Collection.php#L470

done


Update README.md

Feel free to make a patch release with these too, since the README is what is shown on npm.

Good idea.