ModuleNotFoundError: No module named 'autograd_4bit'

import peft

===================================BUG REPORT===================================
Welcome to bitsandbytes. For bug reports, please submit your error trace to: https://github.com/TimDettmers/bitsandbytes/issues
/home/platform/anaconda3/envs/hcs/lib/python3.11/site-packages/bitsandbytes/cuda_setup/main.py:136: UserWarning: /home/platform/anaconda3/envs/hcs did not contain libcudart.so as expected! Searching further paths...
warn(msg)
CUDA SETUP: CUDA runtime path found: /usr/local/cuda-11.2/lib64/libcudart.so
CUDA SETUP: Highest compute capability among GPUs detected: 8.0
CUDA SETUP: Detected CUDA version 112
CUDA SETUP: Loading binary /home/platform/anaconda3/envs/hcs/lib/python3.11/site-packages/bitsandbytes/libbitsandbytes_cuda112.so...
Traceback (most recent call last):
File "", line 1, in
File "/home/platform/huangchensen/llama_qunt/peft_main/src/peft/init.py", line 22, in
from .mapping import MODEL_TYPE_TO_PEFT_MODEL_MAPPING, PEFT_TYPE_TO_CONFIG_MAPPING, get_peft_config, get_peft_model
File "/home/platform/huangchensen/llama_qunt/peft_main/src/peft/mapping.py", line 16, in
from .peft_model import (
File "/home/platform/huangchensen/llama_qunt/peft_main/src/peft/peft_model.py", line 31, in
from .tuners import LoraModel, PrefixEncoder, PromptEmbedding, PromptEncoder
File "/home/platform/huangchensen/llama_qunt/peft_main/src/peft/tuners/init.py", line 20, in
from .lora import LoraConfig, LoraModel
File "/home/platform/huangchensen/llama_qunt/peft_main/src/peft/tuners/lora.py", line 643, in
from autograd_4bit import Autograd4bitQuantLinear
ModuleNotFoundError: No module named 'autograd_4bit'

import peft

===================================BUG REPORT===================================
Welcome to bitsandbytes. For bug reports, please submit your error trace to: https://github.com/TimDettmers/bitsandbytes/issues
/home/platform/anaconda3/envs/hcs/lib/python3.11/site-packages/bitsandbytes/cuda_setup/main.py:136: UserWarning: /home/platform/anaconda3/envs/hcs did not contain libcudart.so as expected! Searching further paths...
warn(msg)
CUDA SETUP: CUDA runtime path found: /usr/local/cuda-11.2/lib64/libcudart.so
CUDA SETUP: Highest compute capability among GPUs detected: 8.0
CUDA SETUP: Detected CUDA version 112
CUDA SETUP: Loading binary /home/platform/anaconda3/envs/hcs/lib/python3.11/site-packages/bitsandbytes/libbitsandbytes_cuda112.so...
Traceback (most recent call last):
File "", line 1, in
File "/home/platform/anaconda3/envs/hcs/lib/python3.11/site-packages/peft-0.3.0.dev0-py3.11.egg/peft/init.py", line 22, in
File "/home/platform/anaconda3/envs/hcs/lib/python3.11/site-packages/peft-0.3.0.dev0-py3.11.egg/peft/mapping.py", line 16, in
File "/home/platform/anaconda3/envs/hcs/lib/python3.11/site-packages/peft-0.3.0.dev0-py3.11.egg/peft/peft_model.py", line 31, in
File "/home/platform/anaconda3/envs/hcs/lib/python3.11/site-packages/peft-0.3.0.dev0-py3.11.egg/peft/tuners/init.py", line 20, in
File "/home/platform/anaconda3/envs/hcs/lib/python3.11/site-packages/peft-0.3.0.dev0-py3.11.egg/peft/tuners/lora.py", line 643, in
File "/home/platform/huangchensen/llama_qunt/autograd_4bit.py", line 6, in
from peft import PeftModel
ImportError: cannot import name 'PeftModel' from partially initialized module 'peft' (most likely due to a circular import) (/home/platform/anaconda3/envs/hcs/lib/python3.11/site-packages/peft-0.3.0.dev0-py3.11.egg/peft/init.py)

@FastBCSD it seems you haven't installed cudatoolkit package. Also I would recommend to use non-default conda environment

One of the solution is start your script from the path of this repo.
The other is add path of the repo in pythonpath which enables python to find the file.
import sys
sys.path.append(your path to alpaca_lora_4bit)

thanks, the reason was found, I repeated the import of peft in autograd_4bit.py, and it was fine after deleting it


Feat(compiler-base): reuse 'rustc_span' for code location.

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y

issue #115
2. What is the scope of this PR (e.g. component or file name):
kclvm/compiler_base/3rdparty/rustc_span
kclvm/compiler_base/3rdparty/rustc_data_structures
kclvm/compiler_base/span
3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[x] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Other

'Compiler-Base' decides to reuse 'rustc_span' to describe code snippets and the location of code elements in the file.
'rustc_span' depends on 'rustc_data_structure', so we need to copy the code of these two parts at the same time.
copy -r '3rdparty/rustc_span' and '3rdparty/rustc_data_structure' from 'kclvm' to 'kclvm/compiler_base'.
add 'span' in 'kclvm/compiler_base' to pub use some parts of '3rdparty/rustc_span'.

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[x] Other

At present, the ''rustc_span'' and 'rustc_data_structure' are not used and tested separately. In the future, the methods will be individually provided according to the parts used, and tests will be provided together.
6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.6%) to 59.021%

Totals

Change from base Build<PHONE_NUMBER>:
-0.6%

Covered Lines:
21364

Relevant Lines:
36197

💛  - Coveralls

LGTM


Incorrect browser tab title shown in Manage section of the console

https://user-images.githubusercontent.com/24982871/180676036-86ac412f-ad4f-4759-8606-5b5ac6810d2a.mov

Fixed in https://github.com/wso2/identity-apps/pull/3271


Metadata File Import UI

What does this PR do and why?
Created a new metadata file import modal.
Fixes #357
Screenshots or screen recordings

Successful import:

File validation errors:

Missing sample errors:

How to set up and validate locally

Navigate to a project samples page that the logged in user has access to update.
Hit the Import Metadata button.
Select a file.
Select the Sample ID Column. (Note: Currently finds samples by name.)
Hit the Import Metadata button.
Verify the sample metadata was updated.
Try with and without ignoring empty values.

PR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

[ ] I have evaluated the PR acceptance checklist for this PR.

So as I was testing this out I realized that the file import service isn't adding any of the errors from the metadata update service to the response. I tried importing metadata to a project with 5 samples that have 2 metadata fields (with values) each, and for one of the samples I updated the metadata provenance for one of the keys to analysis using the rails console. Then I tried importing metadata and it shows that the metadata was successfully imported. I see in the file import controller we only check for errors attached to the project.
To get the error messages attached to the sample by the metadata update service, The file import service -> perform_file_import method needs to keep track of any errors that were attached to the sample from the metadata update service. Then before returning the response you can add the errors to the response with a key errors or something similar. The controller will need to be updated as well to render the appropriate status and send the errors to the UI.

So as I was testing this out I realized that the file import service isn't adding any of the errors from the metadata update service to the response. I tried importing metadata to a project with 5 samples that have 2 metadata fields (with values) each, and for one of the samples I updated the metadata provenance for one of the keys to analysis using the rails console. Then I tried importing metadata and it shows that the metadata was successfully imported even though one of the values was not updated as it was set by an analysis. I see in the file import controller we only check for errors attached to the project. To get the error messages attached to the sample by the metadata update service, The file import service -> perform_file_import method needs to keep track of any errors that were attached to the sample from the metadata update service. Then before returning the response you can add the errors to the response with a key errors or something similar. The controller will need to be updated as well to render the appropriate status and send the errors to the UI.

Yeah, I should checking if any metadata is not_updated and then append the sample error. From our discussion, I will create a new PR to address this issue as this is fix to the service.


StakeRegistration and StakeDelegation certificates not witnessed when using ScriptHash rather than StakeKeyHash.

Describe the bug
TransactionBuilder.build_and_sign does not seem to correctly build the witness  set if the Certificates are constructed using ScriptHash rather than StakeKeyHash.
I am attempting to recreate the plutus pioneer program week 8 task in opshin/pycardano. If I'm not mistaken this task requires the stake registration and stake delegation certificates to be created with a ScriptHash.
I can't seem to find any methods to add certificates other than to set TransactionBuilder.certificates directly.
I'm currently working like so:
# Build and hash script
plutus_script = build(script_path, staking_user.verification_key.hash())
script_hash = pycardano.plutus_script_hash(plutus_script)

#Create addresses, and credentials
stake_address = pycardano.Address(staking_part = script_hash)
script_payment_address = pycardano.Address(payment_part = staking_user.verification_key.hash(), staking_part = script_hash)

stake_credentials = pycardano.StakeCredential(script_hash)
stake_registration = pycardano.StakeRegistration(stake_credentials)
pool_id = bytes(decode('pool1pu5jlj4q9w9jlxeu370a3c9myx47md5j5m2str0naunn2q3lkdy'))
pool_keyhash = pycardano.PoolKeyHash(pool_id)
stake_delegation = pycardano.StakeDelegation(stake_credentials, pool_keyhash)

builder = pycardano.TransactionBuilder(context)
builder.add_input_address(staking_user.address)
builder.certificates = [stake_registration, stake_delegation]
builder.add_output(pycardano.TransactionOutput(address=script_payment_address, amount = pycardano.Value(), datum = pycardano.Unit()))
tx = builder.build_and_sign(
        signing_keys = [staking_user.signing_key],
        change_address = script_payment_address,
)

The equivalent cardano-cli commands are:
cardano-cli transaction build \
    --babbage-era \
    --testnet-magic 42 \
    --change-address $(cat $script_payment_addr) \
    --out-file $body \
    --tx-in $txin \
    --tx-in-collateral $txin \
    --certificate-file $registration \
    --certificate-file $delegation \
    --certificate-script-file $script \
    --certificate-redeemer-file /workspace/code/Week08/assets/unit.json \
    --protocol-params-file $pp

cardano-cli transaction sign \
    --testnet-magic 42 \
    --tx-body-file $body \
    --out-file $signed \
    --signing-key-file /workspace/cardano-private-testnet-setup/private-testnet/stake-delegator-keys/payment1.skey

particularly I can't seem to find any methods or arguments equivalent to the --certificate-script-file option. My understanding is that a script witness needs to be created for the plutus script but I can't seem to find a clean way of adding the script or adding it to the witness set.
Environment and software version (please complete the following information):

OS: Ubuntu 20.04.3 LTS
PyCardano Version 0.11.1

A corresponding function likely has to be added similar to the minting script file and withdrawal script file fields - simply because they were never used by anyone so far.

For reference I added a similar function for withdrawals a while ago here: https://github.com/Python-Cardano/pycardano/pull/308

It doesn't look like it will be too tricky, I'll scrape a pull request together

Closing this as the fix has been merged.


Need support in upgrading moodle to v3.8

Hello there, I need some tips in upgrading my Moodle deployment before  my experimentation mess up the deployment. first time with Glusters.

moved  ....../html/moodle to ......./html/moodle-original.
Downloaded moodle source and copied config.php from moodle-original to moodle(new).
Restarted VM's  still No change. Anything need to be donw ?

This is an open source project, there is no support - sorry. Of course we can help guide you in the right direction so you can support yourself. It would be great to have you update the templates and docs when you succeed.
If you want to upgrade in-place then you need to follow the Moodle documentation on upgrading. The documentation in https://github.com/Azure/Moodle/blob/master/docs/Manage.md will guide you on what you need to do to get the right version of Moodle onto your cluster.
The easiest way to upgrade is to simply cahnge the templates to support the new version, redeploy and then connect an existing DB and Filestore. Assuming no new requirements from Moodle this is a simple case see https://github.com/Azure/Moodle/pull/118/commits

Moodle 3.8 is now the default version of Moodle deployed by the template. In addition 3.9 is also available to install (fully configurable option).


logging

Codecov Report
Base: 29.11% // Head: 25.84% // Decreases project coverage by -3.28% :warning:

Coverage data is based on head (6afdb42) compared to base (72d0420).
Patch coverage: 0.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@             Coverage Diff              @@
##             master      #89      +/-   ##
============================================
- Coverage     29.11%   25.84%   -3.28%
  Complexity        9        9
============================================
  Files            10       10
  Lines            79       89      +10
  Branches          2        0       -2
============================================
  Hits             23       23
- Misses           56       66      +10

Impacted Files
Coverage Δ

...main/java/com/l3r8yj/elegramapi/bot/BtDefault.java
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

@rultor merge

@rultor merge

@l3r8yj OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@l3r8yj Done! FYI, the full log is here (took me 1min)


Map filter/search control

Map is currently missing any filter/search functionality. It would be great to implement it with turf.js.

Wrong commit message.


handle facebook's consolidated "X added n new photos" stories

The comments from this post is showing up on this post:
http://known.mattbeckett.me/2015/nice-try-non-gmo-project#comments
Not sure if it's a bridgy or known issue.  Will also submit over there.

ugh, sorry about that. our log shows it's our fault. i'll mention that on the known bug.
i'm tempted to say this is related to #383, figure out how to fix that, and call it a day...but i suspect connecting the comments to the wrong post is a different bug that we should also find. whee!

the poll log that created the comments is truncated and doesn't have the useful part. :/
the SyndicatedPost entities are correct, they just link the non-GMO known and facebook posts.
here's the propagate log:
Params: UnicodeMultiDict([(u'response_key', u'aglzfmJy...')])
Source: Matt Beckett (Facebook)<PHONE_NUMBER>71368, http://brid-gy.appspot.com/facebook/948590525171368
Created by this poll: http://brid-gy.appspot.com/log?start_time=1448605153&key=aglzfmJyaWQtZ3lyIQsSDEZhY2Vib29rUGFnZSIPOTQ4NTkwNTI1MTcxMzY4DA
Starting Response comment tag:facebook.com,2013:1070245399672546_1070258966337856 https://www.facebook.com/1070245399672546?comment_id=1070258966337856
Webmention from https://brid-gy.appspot.com/comment/facebook/948590525171368/1070373182993101/1070245399672546_1070258966337856 to http://known.mattbeckett.me/2015/a-natural-gmo-now-what
Using cached webmention endpoint u'W http known.mattbeckett.me': http://known.mattbeckett.me/webmention/
Sending...
Starting new HTTP connection (1): known.mattbeckett.me
"POST /webmention/ HTTP/1.1" 202 None
Sent! {'body': u'', 'request': u'POST http://known.mattbeckett.me/webmention/ (with source=https://brid-gy.appspot.com/comment/facebook/948590525171368/1070373182993101/1070245399672546_1070258966337856, target=http://known.mattbeckett.me/2015/a-natural-gmo-now-what)', 'http_status': 202}
Setting last_webmention_sent
Webmention from https://brid-gy.appspot.com/comment/facebook/948590525171368/1070373182993101/1070245399672546_1070258966337856 to http://known.mattbeckett.me/2015/nice-try-non-gmo-project
Using cached webmention endpoint u'W http known.mattbeckett.me': http://known.mattbeckett.me/webmention/
Sending...
Starting new HTTP connection (1): known.mattbeckett.me
"POST /webmention/ HTTP/1.1" 202 None
Sent! {'body': u'', 'request': u'POST http://known.mattbeckett.me/webmention/ (with source=https://brid-gy.appspot.com/comment/facebook/948590525171368/1070373182993101/1070245399672546_1070258966337856, target=http://known.mattbeckett.me/2015/nice-try-non-gmo-project)', 'http_status': 202}
Setting last_webmention_sent

looking at the ids in one of the comment handlers, /comment/facebook/948590525171368/1070373182993101/1070245399672546_1070258966337856, in order:

1070373182993101 is non-GMO photo (ie object) id
1070245399672546 is the Edison post id
1070258966337856 is "Poor Edison!" comment id

hey @beck24, you don't happen to have any other examples of this, do you? totally ok if not, just curious since our logs for this one are incomplete. :/

I don't, but I'll keep an eye on it.
I'll try to replicate it...  I'll upload a photo with friends only access via mobile, then post a different photo to known with FB syndication and see what happens.
I'm not sure if it will work, but other than the fact that they were both photos and they are adjacent posts in my timeline there really isn't anything connecting them.

Oh, that reminds me - maybe this is relevant, those posts were 7 hours apart.  I think bridgy had stopped updating things and I went to brid.gy and manually restarted it shortly after posting the non-gmo post.
I imagine that would make replication harder, but maybe it means something to you.

Interestingly, a comment I made on the Edison post just half an hour ago is still being pushed to the Non-GMO post.  Does that help?

I've made 2 new posts under the same conditions (same access, same post type, same order) and it's not happening again.  I guess it's due to manually restarting bridgy?
Interesting that new comments posted to the Edison post are still coming through to the Non-GMO post though.
This is the new post I was using as a test, all comments coming in are correctly for that post.  Is it normal that they come in out of order?  I've noticed that with other posts but it didn't bother me enough to mention.  Since I'm here...
http://known.mattbeckett.me/2015/buy-nothing-this-black-friday#comments

@snarfed sorry if you already saw this. Bridgy's SyndicatedPost for
http://known.mattbeckett.me/2015/nice-try-non-gmo-project
links to
https://www.facebook.com/948590525171368/posts/1070373182993101
which is one of those "Matt Beckett added 2 new photos." activities and not an actual post permalink.

ah, thanks! the new comment is definitely useful. and, i don't think restarting your account caused it, but I'll definitely keep it in mind.
ordering is a tough one, since Facebook doesn't actually tell us when each comment was made, and there are a bunch of async queues along the way in bridgy and known... but us bridgy preserves order, that might do it. I'll look into that. thanks for the nudge!

Oooh ooh - replication!
http://known.mattbeckett.me/2015/buy-nothing-this-black-friday#comments
Comments from the test post are actually coming through.

^ These comments should actually belong to this post
https://www.facebook.com/matt.beckett.39/posts/1070590272971392

augh facebook fml :sob: :gun:
thank you @kylewm for double checking the SyndicatedPosts! i only lightly glanced at the ids; glad you looked closer.
@beck24 the problem is that when you post multiple pictures in a certain amount of time, facebook may collapse them into a single "X added n new photos" timeline story, sometimes retroactively to one of the individual posts with the same id.
@kylewm do you remember if we've ever done a deep dive into this or found FB developer-oriented docs on it?

btw i was wrong about comment ordering, looks like we get FB comment timestamps and send them to known properly. i filed a bug with them, attached above.

@snarfed this "facebook may collapse them into a single "X added n new photos" timeline story" doesn't only happen with pictures. I've seen it happen with Tumblr posts (I have my Tumblr posts feeding to Twitter and FB) and I think also with Vine videos, but I'm not entirely sure about the latter. I haven't really spotted any rhyme or rhythm in it though, sometimes it happens, sometimes it doesn't...

I have the same problem with a couple of comments like:
https://brid-gy.appspot.com/comment/facebook/728407677/10154334939807678/10154331930037678_10154345865592678
https://brid-gy.appspot.com/comment/facebook/728407677/10154334939807678/10154331930037678_10154332303892678
https://brid-gy.appspot.com/comment/facebook/728407677/10154334939807678/10154331930037678_10154342491442678

aha. the account wasn't actully deleted, he just changed his username: https://twitter.com/rossini_martins ...which we actually handled fine, even including searching for replies with @rossini_martins.
ok. one mystery solved. still need to fine tune our twitter search for links though.

Trying to sort basically this same thing out with silo.pub... I just uploaded a photo and got the return value

oh damn, OK. so actually what happened is I uploaded the first photo, got back
``
{
'id': 'XXXX'
'post_id': 'USERID_XXXX'
}

then uploaded the second photo and got back

``
{
  'id': 'YYYY'
  'post_id': 'USERID_XXXX'
}

XXXX -- the first photo's ostensible ID -- became the collapsed n-new photos post. Apparently I was never given an ID that uniquely identifies the first photo.

thanks for investigating!
yeah, that's the behavior i've seen before too. photos each have a unique photo object (id here, object_id from the API) and a not necessarily unique post object (post_id here, id  from the API). when more picture(s) are posted within the time limit, the post object turns into a consolidated post and continues to accumulate any more photos uploaded within the limit. (and maybe the limit gets extended, not sure.)
it's great that we have this explicitly tested now. it'd probably worth documenting what we know on https://indiewebcamp.com/Facebook or wherever. and maybe the fix is as simple as no longer assuming a one to one mapping between photo objects and story objects?

the next step here is to check how comments behave. i think the photo objects only get their own comments, and the post objects get copies of all the photos' comments...but i'm not sure.

...and likes and shares too, i guess.

hey @kylewm, since you've got that consolidated post set up, would you mind doing a little more investigation? specifically, mind commenting on each object - the consolidated post and the two photos - and then fetch the objects from the API with their ids and post the JSON here? or send it to me offline if you prefer. i'd do it myself, but https://www.facebook.com/will.a.bharambesen 404s, maybe since his profile is private? :P

(he's a silo.pub Test User)
I tried commenting on the two photos and the album
Fetching the consolidated post ID:
/v2.5/111018509268924_111054749265300
{
  "created_time": "2015-12-06T21:18:47+0000",
  "story": "Will Alajhbcbegggc Bharambesen added 4 new photos.",
  "id": "111018509268924_111054749265300"
}

Fetch comments for the consolidated ID -- gives the comment on the first photo only!
/v2.5/111018509268924_111054749265300?fields=comments
and
/v2.5/111018509268924_111054749265300/comments
{
  "comments": {
    "data": [
      {
        "from": {
          "name": "Will Alajhbcbegggc Bharambesen",
          "id": "111018509268924"
        },
        "message": "A comment on the first single photo",
        "created_time": "2015-12-09T18:01:25+0000",
        "id": "111054749265300_114701712233937"
      }
    ],
    "paging": {
      "cursors": {
        "after": "WTI5dGJXVnVkRjlqZFhKemIzSTZNVEUwTnpBeE56RXlNak16T1RNM09qRTBORGsyT0RRd09EWT0=",
        "before": "WTI5dGJXVnVkRjlqZFhKemIzSTZNVEUwTnpBeE56RXlNak16T1RNM09qRTBORGsyT0RRd09EWT0="
      }
    }
  },
  "id": "111018509268924_111054749265300"
}

Comment on the second picture solo
/v2.5/111117232592385?fields=comments
and
/v2.5/111018509268924_111117232592385?fields=comments
and
/v2.5/111018509268924_111117232592385/comments
{
  "comments": {
    "data": [
      {
        "created_time": "2015-12-09T18:01:48+0000",
        "from": {
          "name": "Will Alajhbcbegggc Bharambesen",
          "id": "111018509268924"
        },
        "message": "a comment on the second photo",
        "id": "111117232592385_114705138900261"
      }
    ],
    "paging": {
      "cursors": {
        "before": "WTI5dGJXVnVkRjlqZAFhKemIzSTZANVEUwTnpBMU1UTTRPVEF3TWpZAeE9qRTBORGsyT0RReE1EZAz0ZD",
        "after": "WTI5dGJXVnVkRjlqZAFhKemIzSTZANVEUwTnpBMU1UTTRPVEF3TWpZAeE9qRTBORGsyT0RReE1EZAz0ZD"
      }
    }
  },
  "id": "111117232592385"
}

I don't have the right permissions for silo.pub to try fetching /me/album to get the ID of the actual album  (called "silo.pub Photos", and distinct from the consolidated 4-new-photos post)

thanks @kylewm!
i also looked at matt's photo and consolidated post objects with v2.2. interestingly, /v2.2/948590525171368_1070373182993101 (id USERID_POSTID) returns the consolidated post, while just /v2.2/1070373182993101 (same POSTID!) returns an individual photo object. facebook you so crazy!
useful: the consolidated post object has object_id, type=photo, and especially status_type=added_photos.
/v2.2/948590525171368_1070373182993101

{
  "id": "948590525171368_1070373182993101"
  "object_id": "1070591592971260",
  "status_type": "added_photos",
  "type": "photo",
  "link": "https://www.facebook.com/photo.php?fbid=1070591592971260&set=a.948627845167636.1073741831.100000612876186&type=3",
  "story": "Matt Beckett added 2 new photos to the album: known.mattbeckett.me Photos.",
  "name": "known.mattbeckett.me Photos",
  "picture": "https://scontent.xx.fbcdn.net/hphotos-xft1/v/t1.0-0/s130x130/12316348_1070591592971260_4173282704167778273_n.jpg?oh=dfe2ca11067d234ca2def60c8b8dfae1&oe=56D688A0",
  "from": {
    "name": "Matt Beckett",
    "id": "948590525171368"
  },
  "application": {"name": "known.mattbeckett.me", "id": "860763080638367"},
}

/v2.2/1070591592971260

{
  "id": "1070591592971260",
  "link": "https://www.facebook.com/photo.php?fbid=1070591592971260&set=a.948627845167636.1073741831.100000612876186&type=3",
  "name": "Buy nothing this Black Friday ...",
  "from": {
    "name": "Matt Beckett",
    "id": "948590525171368"
  },
  "images": [...],
  "comments": {...},
  "likes": {...},
  "picture": "https://scontent.xx.fbcdn.net/hphotos-xft1/v/t1.0-0/s130x130/12316348_1070591592971260_4173282704167778273_n.jpg?oh=dfe2ca11067d234ca2def60c8b8dfae1&oe=56D688A0",
  "source": "https://scontent.xx.fbcdn.net/hphotos-xft1/t31.0-8/s720x720/12265926_1070591592971260_4173282704167778273_o.jpg",
}

thanks @kylewm!
i also looked at matt's photo and consolidated post objects with v2.2. interestingly, /v2.2/948590525171368_1070373182993101 (id USERID_POSTID) returns the consolidated post, while just /v2.2/1070373182993101 (same POSTID!) returns an individual photo object. facebook you so crazy!
useful: the consolidated post object has object_id, type=photo, and especially status_type=added_photos.
/v2.2/948590525171368_1070373182993101

{
  "id": "948590525171368_1070373182993101"
  "object_id": "1070591592971260",
  "status_type": "added_photos",
  "type": "photo",
  "link": "https://www.facebook.com/photo.php?fbid=1070591592971260&set=a.948627845167636.1073741831.100000612876186&type=3",
  "story": "Matt Beckett added 2 new photos to the album: known.mattbeckett.me Photos.",
  "name": "known.mattbeckett.me Photos",
  "picture": "https://scontent.xx.fbcdn.net/hphotos-xft1/v/t1.0-0/s130x130/12316348_1070591592971260_4173282704167778273_n.jpg?oh=dfe2ca11067d234ca2def60c8b8dfae1&oe=56D688A0",
  "from": {
    "name": "Matt Beckett",
    "id": "948590525171368"
  },
  "application": {"name": "known.mattbeckett.me", "id": "860763080638367"},
}

/v2.2/1070591592971260

{
  "id": "1070591592971260",
  "link": "https://www.facebook.com/photo.php?fbid=1070591592971260&set=a.948627845167636.1073741831.100000612876186&type=3",
  "name": "Buy nothing this Black Friday ...",
  "from": {
    "name": "Matt Beckett",
    "id": "948590525171368"
  },
  "images": [...],
  "comments": {...},
  "likes": {...},
  "picture": "https://scontent.xx.fbcdn.net/hphotos-xft1/v/t1.0-0/s130x130/12316348_1070591592971260_4173282704167778273_n.jpg?oh=dfe2ca11067d234ca2def60c8b8dfae1&oe=56D688A0",
  "source": "https://scontent.xx.fbcdn.net/hphotos-xft1/t31.0-8/s720x720/12265926_1070591592971260_4173282704167778273_o.jpg",
}

same pattern with this consolidated post from test user (ahem) Snoøpy Barrett. /v2.2/1407574399567467_1520022328322673 returns the consolidated post, which includes object_id, type=photo, and status_type=added_photos. /v2.2/1520022328322673 returns the first photo object.

here's a non-consolidated post. sadly it looks almost the same as the consolidated one. in particular, it has object_id, type=photo, and status_type=added_photos too.
/v2.2/212038_10102004709308273

{
  "id": "212038_10102004709308273"
  "object_id": "10102004709273343",
  "status_type": "added_photos",
  "type": "photo",
  "link": "https://www.facebook.com/photo.php?fbid=10102004709273343&set=a.725223993143.2289690.212038&type=3",
  "story": "Ryan Barrett with Gina Rossman Barrett.",
  "message": "sippin on some syrup",
  "picture": "https://scontent.xx.fbcdn.net/hphotos-xfp1/v/t1.0-0/s130x130/12341573_10102004709273343_4308588042540558292_n.jpg?oh=0dd6126e12b83de3516217f77d3bf513&oe=572219AB",
  "from": {
    "name": "Ryan Barrett",
    "id": "212038"
  },
  "comments": {...}
  "likes": {...}
}

confirmed. here's a non-consolidated post with no message.
...which may mean there's no structural way to tell consolidated and non-consolidated posts apart. you either parse the story field, with all the brittleness that entails, or you switch to only handling photo objects via object_id, and ignore the post objects altogether. hrmph.
/v2.2/212038_10101921412066613

{
  "id": "212038_10101921412066613"
  "object_id": "10101921412066613",
  "type": "photo",
  "status_type": "added_photos",
  "story": "Ryan Barrett added a new photo — at Pop-Up Magazine.",
  "name": "Mobile Uploads",
  "from": {
    "name": "Ryan Barrett",
    "id": "212038"
  },
  "link": "https://www.facebook.com/photo.php?fbid=10101921412066613&set=a.725223993143.2289690.212038&type=3",
  "picture": "https://scontent.xx.fbcdn.net/hphotos-xtl1/v/t1.0-0/s130x130/12106739_10101921412066613_1859979090960798014_n.jpg?oh=876d23c1a1c876017a8f5fd1eaf87654&oe=56E66072",
  "place": {"..."},
}

current plan is to always replace post objects with photo objects without merging any data from the post objects.
the catch is that i need to figure out public vs private: https://github.com/snarfed/bridgy/issues/383#issuecomment-90935938 . the privacy field is only in the post object, but it looks like it's always CUSTOM in consolidated posts, even when all of the consolidated photos are public...so then we have to fetch the...album?...and look at its privacy field? not sure. gah. fml.

That sounds terribly complicated.  Sorry :(

yup. that looks right, based on looking at these examples in the explorer and docs. the catches are:

photo objects don't include the album field by default, so we'll have to ask for it explicitly with ?fields=album, which means we also have to ask for all of the other fields we want.
the Album.privacy field is a different type and format (single string) than the Post.privacy field (composite object).

gah fml indeed.

on the plus side, if consolidated posts all have privacy CUSTOM, that's at least a way to distinguish them. small favors!

deployed this just now and it looks ok. tentatively closing. woo!

Fantastic, thank you!


add stdout, maybe use out

I add an option to output the indent to stdout instead of doing it in place. This is really convenient to write simple format function in editor like emacs or vim. I am open to suggestion and willing to make any changes.

Coverage decreased (-0.1%) to 60.191% when pulling 3f95b1a5a317b99be277c31f6dcf8f426e0aaf11 on hommeabeil:add-stdout into 1d242dc06eff71d5184e86b7f7d25405d43fe065 on erlang:master.


Add "Benchmarks" section to Guide

The #[bench] attribute is currently unstable, and is only usable on nightly Rust.
However, being able to benchmark code with cargo bench is very useful functionality when writing performance-focused code, and something that the Cargo documentation currently glosses over.
Some useful information on how to get benchmark tests up and running, with necessary caveats about stability, would likely be very helpful to new users.

Thanks for this! I'm kind of conflicted, as it's not totally clear how stable/unstable stuff should work in Cargo's docs. And about half of this is more about Rust than it is about the cargo bits. Which also isn't bad..... i dunno.
We certainly need to explain this somehow, though.

:umbrella: The latest upstream changes (presumably #3004) made this pull request unmergeable. Please resolve the merge conflicts.

I'm gonna close this due to inactivity, but feel free to resubmit with a rebase!


[Bug fix] Make time.time public Fixes #221

CI is failing because the compiler version needs to be bumped, but I'll just do that when I merge to master and automation is going to merge it back.

Doesn't CI always fail on next-moc?

Doesn't CI always fail on next-moc?

Yes, that’s why a PR like this should have gone to master instead, where we do have CI. Note that master automatically gets merged into next-moc and thus makes it into the next release.
Only changes that can’t be on master should go directly to next-moc, and should be manually tested, e.g. using
~ $ NIV_OVERRIDE_motoko_base=$HOME/dfinity/motoko-base nix-build -A base-tests

from the motoko repo.
(Not a big deal for this one, just saying this for reference.)


GDPR docs for AOL adaptor.

Added GDPR docs for AOL adaptor.

thanks for the update -- this will be merged once PBJS 1.9 is released


ASR server connection timeout

I successfully setup the server using apahe2 and it's working fine . But the app stops after 2-3 hrs automatically and needs to be started again. Any help ?
The following error comes :
packet_write_wait : Connection to <IP_ADDRESS> port 22 : Broken pipe

Where you able to download the KALDI ASR Model Zip from api.ai  link. For me its saying 404 not found

22 is ssh port. This probably mean, that you run server from you ssh session and then when it is disconnected server is killed. Try to run it in background or use screen or create /etc/init.d initialization script.

i get this result:

<title>404 Not Found</title>

404 Not Found

nginx/1.10.3 (Ubuntu)

what's wrong?

This means that Apache server is up and running but nothing can be found at URL you provided. Likely because FastCGI is not working or configured properly.


Infinite scroll (configurable)

Include also this issue: Both at the beginning and at the end, side arrows should be hidden #45

Add unit testing for this feature


http: adds check for request line missing protocol

Ticket
Redmine ticket: https://redmine.openinfosecfoundation.org/issues/6856

Indeed, see https://github.com/OISF/suricata-verify/pull/1704


Update project Information and contacts into the README

@VitoCastellana : is this done?
I am closing it as fixed.


Silently ignore custom tags

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (4dc05d2 2023-01-18T00:12:40.613647591Z)
What command(s) is the bug in?
forge doc
Operating System
Linux
Describe the bug
I tried to generate docs using forge doc. My contract had some comments with custom tags like @audit. The command abruptly failed throwing the following error:
Failed to parse source: unknown comment tag: audit

Can the custom tags be silently ignored when parsing?

Same problem here:
Failed to parse source: unknown comment tag: authors:

Apparently, it expects custom tags to be preceded by "custom:" ?
https://github.com/foundry-rs/foundry/blob/e1eb91208b304ec9c44831db2945cd1d6ac209cb/doc/src/parser/comment.rs#L40
Natspec in 0.8.17 also expects this

Custom tags start with @custom: and must be followed by one or more lowercase letters or hyphens. It cannot start with a hyphen however. They can be used everywhere and are part of the developer documentation.

reopening, because it shouldn't prevent doc generation


Set Up GitHub Runner with Terraform

https://registry.terraform.io/providers/TelkomIndonesia/linux/latest/docs

made changes in main.tf file and added GitHub env secrets for credentials within the workflow file

added GitHub env

remove aws vars

I have removed aws env vars and added some env's please review it


match() function needs double backslash in the regex

Is there an existing issue for this?

[X] I have searched the existing issues

Version of Corteza
2023.9.4
Current Behavior
When using match() function in field validation, the regex definition containing backslashes must have these backslashed doubled to work.
For example, a single regex that should return true on digits:
^\d+$
throws an error:

if I define the digits in another way, it works fine:
^[0-9]+$
Adding a second backslash to the original regex seems to fix it:
^\\d+$
Expected Behavior
match() function should accept raw regex expression, without the need to double-escape special characters.
Steps To Reproduce

Create a text field
Add the following validation step:
match(value, "^\d+$")

Environment and versions
No response
Anything else?
No response

Someone else has this regex:
match(value,"\b([A-ZÀ-ÿ][-,a-z. '_]+[ ()]*)+")
https://regexr.com/7ucc2
I tried to add a double backslash, but to no avail. match(value, "^\d+$") works, but match(value,"\b([A-ZÀ-ÿ][-,a-z. '_]+[ ()]*)+") not.
Maybe there are more characters that are problematic?


Ability to capture the widget which is outside the viewport.

If the widget is outside the viewport, meaning the entire widget comes into view only if we have to scroll, Then this package fails.
This can be achieved by converting the entire widget into a canvas and then export it as image.
Check if the widget is in viewport, i.e key.currentContext.findRenderObject is not null or doesn't throw any exception

If yes, use the existing method to export the widget into a image.
If not, convert the widget to canvas then export it as image.

Find the feasibility of going down the widget to canvas route or https://github.com/flutter/flutter/issues/40064

By some research I've found these StackOverflow Answers, which might help in this scenario
To convert widget to canvas
https://stackoverflow.com/questions/61863958/how-can-i-paint-a-widget-on-a-canvas-in-flutter
From Canvas to image.
https://stackoverflow.com/questions/50320479/flutter-how-would-one-save-a-canvas-custompainter-to-an-image-file
I, personally haven't tested out these methods. Will update it when I do that.

@xihuny
By some research, I've found these StackOverflow Answers, which might help in this scenario
To convert widget to the canvas
https://stackoverflow.com/questions/61863958/how-can-i-paint-a-widget-on-a-canvas-in-flutter
From Canvas to image.
https://stackoverflow.com/questions/50320479/flutter-how-would-one-save-a-canvas-custompainter-to-an-image-file
I, personally haven't tested out these methods. Will update it when I do that.

Implemented flutter/flutter#40064. Now you can make the widgets to images even if they are not mounted to the widget tree.
Thanks to Christian Muertz
update the package to 2.0.0

update which package?


Support constants in language server.

Stack:

#1827
#1826 ⬅
#1822
#1821
#1820

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.


Provide rcon-cli equivalent script

Hello, I found a way to send commands to the server, when it was not started with the -it flags.
The docker image used is very simple so it lacks a few basic linux commands, lis ps.
Anyway, this is what you have to do:

get bash on the container with docker exec -it <bedrock id>  /bin/bash
send your command to the server process' STDIN echo "<your command>" > /proc/10/fd/0

That is it.
The process that has the console running is /data/bedrock_server-<IP_ADDRESS>, you can find the correct id with
find /proc -mindepth 2 -maxdepth 2 -name exe -exec ls -lh {} \; 2>/dev/null
Since we have the same image, I would guess we get the same PID for that process: 10
so you can just send commands like
echo "gamerule showcoordinates true" > /proc/10/fd/0
echo "op myuser_please" > /proc/10/fd/0
Originally posted by @Bass-03 in https://github.com/itzg/docker-minecraft-bedrock-server/issues/15#issuecomment-1197622695

Already tracked by #15


Additional proxy level configuration options

Description:
Currently, my company is interested to spike the Envoy Gateway as our Ingress Controller replacement, therefore we do some load testing and apparently need to configure additional options to the Envoy Proxy.
So, I would like to know the chance of providing additional Envoy proxy options such as --concurrency, referring to the Istio implementation such as ProxyConfig.
I would appreciate it if you could inform me whether this enhancement is already planned for the next development phase. If not, I am eager to contribute to the project and would like to get in touch for further collaboration.

thanks @ardikabs , this's something EG must supported.

it's ok, let get it step by step.

@ardikabs curious why you need to tune concurrency, by default concurrency is equal to the number of hardware threads https://www.envoyproxy.io/docs/envoy/latest/operations/cli
are you trying to reduce this number for high core machines ?

@arkodg
We are under a circumstance where everything needs to be controlled, including the resources that have been taken by the workload. Thus, when we are setting it with the necessary limits such as 4 cores, Envoy won't run with that value according to the --concurrency default value which will preserve all hardware threads in the machine. Following https://www.envoyproxy.io/docs/envoy/latest/faq/performance/how_to_benchmark_envoy, we need to set the concurrency to match the number of cores/threads that are being reserved.

@ardikabs have you tried to limit resources at a container level first, you can tweak the container resources for the EnvoyProxy https://gateway.envoyproxy.io/v0.4.0/api/config_types.html#kubernetescontainerspec ?

@ardikabs if im understanding correctly, the container cpu requests/limits are set to 4, but the hardware threads are much higher so concurrency is needed to improve thread scheduling/performance of Envoy ?

@arkodg

have you tried to limit resources at a container level first, you can tweak the container resources for the EnvoyProxy https://gateway.envoyproxy.io/v0.4.0/api/config_types.html#kubernetescontainerspec ?

We have done this, but apparently, during the performance test, we got slightly different results, with concurrency, the result was slightly better in terms of utilization, given that the same RPM was reached but the utilization was slightly lower.
The setup was Envoy Proxy with Guaranteed QoS 4 core and 4 GiB, with concurrency set to the same size of resources (4 core) 70-72% CPU, but without concurrency being set the utilization getting 78-79%, thus we believe that predefined concurrency will help us get a better result.

if im understanding correctly, the container cpu requests/limits are set to 4, but the hardware threads are much higher so concurrency is needed to drop Envoy worker thread count to improve thread scheduling/context-switch/performance of Envoy ?

Yes, I'm kinda new to this Envoy world, but apparently, the test result giving us this assumption, please CMIIW.

@ardikabs thanks for the comment, dug a little deeper, in Envoy the number of worker threads can be possibly reduced by enabling --cpuset-threads thats based off the cpuset size which may be lesser than total hardware threads, but on my local k8s setup, I can't find a way to reduce cpusets for my Envoy pod, so end up with cpuset == hardware thread size == num envoy worker threads
TLDR, --concurrency is probably needed for fine tuning cpu performance


Enhancement - Track Changes for undo

We should track changes for an "undo" option. This should be pretty easy with the system already implemented — just store previous states. Since we removed the update throttle, we have to be a bit more strategic here.

Would be interesting to add — something to note is that we can't just simply hook in the text state to some history system unless we wanted each Cmd-z to trace each letter


If not specified from the settings, ask the user to select his odoo.conf file.

https://github.com/caburj/odoo-dev-plugin/commit/78b4a3841fa4c84400077e8a0f24d8e720ebc715


Minor patch description changes

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


Left click on upgrade icon

To mark a package to update, my first try was to left-click on the blue up arrow, byt it does nothing.
I see 2 solution:

a left click on the version column of an upgradeable package should mark the package to be upgraded to the mosts recent version (without dislaying the menu)
change the up arrow icon so that it looks less like a button, and more like a simple arrow.

Yes, @Nodd I agree, I did not manage to make the icon change on time for the release.
Will apply option #2

Although I actually like option # 1.
 BEing able to click on the Update arrow that appears when updates are available and having the package marked for Update. Of course the arrow icon in Navigator does not convey the push me message, but it could.


Add string support and update for the lastest cranelift.

Add string support, now you can use "Content" in the toy language.
Add symbol log, you can use it to print content to the console.
Replace fn -> extern fn.
Update the examples.
Format the code.
Update for the lastesr cranelift (0.84).
Add test.yml

Do I need to do anything else?

LGTM, but I don't have merge permission, so someone else will have to merge it.

LGTM, but I don't have merge permission, so someone else will have to merge it.

Thanks!


Small patches to restrax module

A few small patches after https://github.com/XENONnT/straxen/pull/1074, mainly relating to a blocs error encountered and also safeguarded against in https://github.com/AxFoundation/strax/pull/714.

Coverage: 93.562% (+0.02%) from 93.539% when pulling 7aefd644eda8cc6a8cfc8c930d6fbd47b3f900b8 on restrax_fix into d04a3428c52c159577b61af2a28ddd0af5652027 on master.


Can't execute k3d widget notebook

Testing #177719

Open https://github.com/microsoft/vscode-jupyter/blob/main/src/test/datascience/widgets/notebooks/k3d_widgets.ipynb
Install k3d
Run first cell
:bug: Cell never completes, no errors in output or dev tools

Please could you enable logging as follows:

Open settings & go into Jupyter->Logging
Change the value to verbose
Reload VS Code,
Attempt to repro the issue & then copy the output from the Jupyter output panel.


[BERTE-565] debug date

Hello erwan-b,
My role is to assist you with the merge of this
pull request. Please type @bert-e help to get information
on this process, or consult the user documentation.
Status report is not available.

Incorrect fix version
The Fix Version/s in issue BERTE-565 contains:

3.6.11

Considering where you are trying to merge, I ignored possible hotfix versions and I expected to find:

3.6.12

Please check the Fix Version/s of BERTE-565, or the target
branch of this pull request.

/bypass_peer_approval

Incorrect fix version
The Fix Version/s in issue BERTE-565 contains:

3.6.11

Considering where you are trying to merge, I ignored possible hotfix versions and I expected to find:

3.6.12

Please check the Fix Version/s of BERTE-565, or the target
branch of this pull request.
The following options are set: bypass_peer_approval

Waiting for approval
The following approvals are needed before I can proceed with the merge:

the author

2 peers

Peer approvals must include at least 1 approval from the following list:

@cmeron-scality

@mcolzi

@tcarmet

@bertranddemiddelaer

@flavien-scality

The following options are set: bypass_peer_approval

/approve

In the queue
The changeset has received all authorizations and has been added to the
relevant queue(s). The queue(s) will be merged in the target development
branch(es) as soon as builds have passed.
The changeset will be merged in:

:heavy_check_mark: development/3.6

The following branches will NOT be impacted:

development/1.0
development/2.0
development/3.0
development/3.1
development/3.2
development/3.3
development/3.4
development/3.5

There is no action required on your side. You will be notified here once
the changeset has been merged. In the unlikely event that the changeset
fails permanently on the queue, a member of the admin team will
contact you to help resolve the matter.
IMPORTANT
Please do not attempt to modify this pull request.

Any commit you add on the source branch will trigger a new cycle after the
current queue is merged.
Any commit you add on one of the integration branches will be lost.

If you need this pull request to be removed from the queue, please contact a
member of the admin team now.
The following options are set: approve, bypass_peer_approval

I have successfully merged the changeset of this pull request
into targetted development branches:

:heavy_check_mark: development/3.6

The following branches have NOT changed:

development/1.0
development/2.0
development/3.0
development/3.1
development/3.2
development/3.3
development/3.4
development/3.5

Please check the status of the associated issue BERTE-565.
Goodbye erwan-b.


[Misc] Use github url in gitmodules.

LGTM. This patch is for Cargo can't resolve git submodule with relative path.


Can not access the project.

Describe the bug
I would like to checkout the HMS, but can not access the web page.
I think its server-side CORS problem.
Also, I had try to clone the project to my local, and the npm installation also failed.
To Reproduce
Steps to reproduce the behavior:

node version, v16.6.2
npm install

Screenshots

Hello, @yuetong3yu we have been working busily to implement multi-tenant platform and so the server environment is not working fine for now. We will get in touch with you as soon as we resolve this

@yuetong3yu Yeah everything is okay. Just working hard for Saas platform

Hi, @yuetong3yu we have managed to configure the previous platform to work in another database. You can access it from this link https://ospic.github.io/webapp/#/ . API's documentation can still be found in heroku https://ospicapi.herokuapp.com/api/swagger-ui.html
You may experience slowness in data retrieval and display it is because of the free database from db4free which has limited bandwidth.
We have also managed to implement the SAAS platform in which most of the developments now will be moved to this new platform. This version will be moved to live server as soon as we as assured that everything is fine. Thanks for your concern

@elirehema Impressive! Thank you~

@yuetong3yu can I close this issue now?

@elirehema it works fine for me, thx for your work.


some build troble

when i make it,it`s fail.
tensorRTWrapper/code/include/PluginFactory.h:54:141: error: invalid new-expression of abstract class type ‘nvinfer1::UpsampleLayerPlugin’
UpsampleLayerPlugin>(new UpsampleLayerPlugin(UPSAMPLE_SCALE,CUDA_THREAD_NUM)));

Hi @JoelYang-github  what is your TensorRT version? I only tried in <IP_ADDRESS>/<IP_ADDRESS>.

5.0.4 on ubuntu18.04 with CUDA v10.0.

I modified this bug.
Because my GCC let me implement all the virtual functions of the parent class.

Hi,@JoelYang-github ,which abstract function are not implemented? It seems that I have already override the virtual funcs inherited from the IPluginExt. Can you show me the funcs ,Thanks.

I modified this bug.
Because my GCC let me implement all the virtual functions of the parent class.

Hi, I have the same problem. Could you please tell me how to fix it?
Thanks


[#4151] improvement(api): Support for setting arbitrary username in the constructor of class SimpleTokenProvider

What changes were proposed in this pull request?
Support setting any username in SimpleTokenProvider.
Why are the changes needed?
For better uses
Fix: #4151
Does this PR introduce any user-facing change?
Yes
How was this patch tested?
UT

You can see https://github.com/apache/gravitino/pull/3866

@yuqi1129 please check #3866 and help work on that one.

Duplicated with #3866


Add OOM Protection Support for Multi-Stage Queries

OOM Protection in Pinot depends on accounting of resource usage of threads that execute a query. Resource accounting is currently supported for Single-Stage queries only. This PR adds instrumentation for Multi-Stage query engine as well. OOM protection is automatically available as resource usage is accounted in same data structures checked by the OOM protection thread.
Tracing recognizes two types of threads: runners and workers. Runner submits worker tasks to an executor service. Runner setups a parent context with identification information such as query id. The id information in parent context is used by workers when reporting resource usage.
Query execution in broker and servers is tracked. In the broker, the runner is the same thread that executes MultiStageRequestBrokerHandler. In the server, the runner is the QueryServer. Workers are setup in OpChainSchedulerService.
The following operators have been instrumented. Instrumentation calls Tracing.sample() to sample resource usage after processing a block from the input operator.

AggregateOperator
HashJoinOperator
SetOperator
SortOperator
WindowAggregateOperator
These operators where chosen because they allocate memory.

MailBoxSendOperator and MailboxReceiveOperator have also been instrumented to sample usage across other operators.
Tags: multi-stage, observability

Codecov Report
Attention: Patch coverage is 0% with 17 lines in your changes missing coverage. Please review.

Project coverage is 0.00%. Comparing base (59551e4) to head (69dacb4).
Report is 750 commits behind head on master.

Files
Patch %
Lines

...uery/runtime/executor/OpChainSchedulerService.java
0.00%
4 Missing :warning:

...ot/query/runtime/plan/OpChainExecutionContext.java
0.00%
3 Missing :warning:

...apache/pinot/query/service/server/QueryServer.java
0.00%
3 Missing :warning:

...g/apache/pinot/query/runtime/operator/OpChain.java
0.00%
2 Missing :warning:

.../pinot/query/service/dispatch/QueryDispatcher.java
0.00%
2 Missing :warning:

...requesthandler/MultiStageBrokerRequestHandler.java
0.00%
1 Missing :warning:

...apache/pinot/query/runtime/operator/OpChainId.java
0.00%
1 Missing :warning:

...runtime/plan/pipeline/PipelineBreakerExecutor.java
0.00%
1 Missing :warning:

:exclamation:  There is a different number of reports uploaded between BASE (59551e4) and HEAD (69dacb4). Click for more details.
HEAD has 53 uploads less than BASE

Flag
BASE (59551e4)
HEAD (69dacb4)

integration
7
1

integration2
3
1

temurin
12
1

java-21
7
1

skip-bytebuffers-true
3
1

skip-bytebuffers-false
7
0

unittests
5
0

unittests1
2
0

java-11
5
0

unittests2
3
0

integration1
2
0

custom-integration1
2
0

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #13598       +/-   ##
=============================================
- Coverage     61.75%    0.00%   -61.76%
=============================================
  Files          2436     2480       +44
  Lines        133233   136955     +3722
  Branches      20636    21263      +627
=============================================
- Hits          82274        0    -82274
- Misses        44911   136955    +92044
+ Partials       6048        0     -6048

Flag
Coverage Δ

custom-integration1
?

integration
0.00% <0.00%> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <0.00%> (ø)

java-11
?

java-21
0.00% <0.00%> (-61.63%)
:arrow_down:

skip-bytebuffers-false
?

skip-bytebuffers-true
0.00% <0.00%> (-27.73%)
:arrow_down:

temurin
0.00% <0.00%> (-61.76%)
:arrow_down:

unittests
?

unittests1
?

unittests2
?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Test failure is unrelated. Looks like a flaky test


Exporting Dataset Eats up local disk memory, canceling the exportation and restarting it

I've always had memory issues with cvat, since I'm using my local machine as storage. I am using cvat within wsl. Yesterday I decided to move cvat to my 2nd drive which has more storage (around 1 terabyte). Cvat was working seamlessly until I started to export my datasets.

Above is the storage before I started exporting the datasets

Above is the storage after I began exporting the datasets
Thereafter, +- 300 gigs of extra memory suddenly decreased to a few gigs. Now, all of a sudden I have only 6 gigs left. I have already checked the logs for cvat_server, and it's here below:
[2024-02-20 07:34:29,941] ERROR health-check: warning: 603a12ee426c 92.9% disk usage exceeds 90%
It's clear that the issue is memory, it's just that I am not sure how to fix it now, since i am using local storage instead of cloud storage. My annotations are probably a lot. Is there a way to stop the exportation and restart it. I think it may have been that I made multiple export requests, because I wasn't getting a quick response (the downloading of the dataset). I feel like I may be suffering the repurrcussions of exporting multiple datasets simultaneously, and now my storage is taking the lagging backlash.

You did not specify which version you are using and what dataset you tried to export. So, I can't estimate how many gygabytes the dataset file is.
When you export a dataset, it creates an archive file on filesystem where all annotations and images are stored. This file is not removed immediately, usually after several hours. If you export more datasets in this period, it will collect more files on the filesystem.
WSL file system is not shrink-ed automatically. Once it has eaten more gygabites, it will not become less itself. Please, google for more information.

To cancel current processes you may just restart CVAT server (or only cvat_worker_export)
Like: docker compose restart cvat_worker_export. One more way is to go inside a container and kill processes.
To free memory, you may go inside the container and remove unnecessary files:
docker exec -it cvat_server bash
cd /home/django/data/projects/<project_id>/export_cache # or the same for tasks if you are exporting tasks
rm <export_file>

Thanks. I could eventually solve the storage problem by deleting the export cache. I think another thing that created a problem was that I was saving the images from the annotations (the save images option when exporting the dataset). Saving every image from a large video (where I only annotated 20% of the frame that make up the video) created a huge overhead. When I download the annotations without saving the images/frames, I don't get storage issues.


user-story.md

As a Revenue Product Owner
I need Payment function
So that Customer can pay tax
Details and Assumptions
* Payments_Process.pdf

Acceptance Criteria
gherkin
Given Customer does payment with credit card
When Amount is more than $100
Then Deposit the amount to account

Hi @MehulBheda , You probably ment for this to go to your fork not our upstream. :)

Hi John,
My sincere apology for this. Thank you for highlighting the mistake.
Your in-depth knowledge and clear explanations on the topics were truly
impressive throughout the entire certification process.
Thank you for your invaluable guidance!
Kind regards,
Mehul
On Sun, Oct 20, 2024 at 6:58 PM John Rofrano @.***>
wrote:

Hi @MehulBheda https://github.com/MehulBheda , You probably ment for
this to go to your fork not our upstream. :)
—
Reply to this email directly, view it on GitHub
https://github.com/ibm-developer-skills-network/aolwx-devops-capstone-template/issues/16#issuecomment-2424961489,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A47MHQPXBCCOSXBHXJ6KRELZ4OVYXAVCNFSM6AAAAABQHIYVWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRUHE3DCNBYHE
.
You are receiving this because you were mentioned.Message ID:
<ibm-developer-skills-network/aolwx-devops-capstone-template/issues/16/2424961489
@github.com>


Maxwell 1: Fundamentals - Refactoring

This is a large tracking-issue. The items will later be parsed into smaller bite-sized issues.

[ ] Formative Laws needs an intro on the index page
[ ] move interface conditions out of Formative Laws
[ ] Pull everything under "Maxwell's equations" up a level. The toctree should now be

Formative Laws
Time-domain equations
Frequency domain equations
interface conditions
wave equation (quasistatic, wave regime, wavenumber, skin depth...) much of this content is currently in "plane wave sources" and should be elevated a level.
plane wave sources in homogeneous media
dipole sources in homogeneous media

[ ] Index page for plane wave sources and dipole sources need a Purpose and a Setup
[ ] plane wave index page "Solving plane wave equations" can be made more concise. Much of this content can be introduced in "Maxwell's equations in frequency" and "wave equation" and linked.

Another item that we have to deal with in the Maxell 1: Fundamental is "Reflection and refraction of plane waves"

@sgkang , @dccowan : can you update me when the dipole and sphere material is in? This issue cannot be addressed until they are in (otherwise we will make a big mess!) This means that

[ ] #69 and
[ ] #70
need to be cleaned up and merged in cc @dccowan

Finalized re-organization of Maxwell 1: Fundamentals was taken care of in MaxwellFundamentalsEdits branch. This branch has been reviewed by @lheagy and merged into master.


Motion planning controller issue

So I am trying to do this, and the gazebo starts fine, but then when I start the motion_planning.py script, it just stays at Initializing node of kinematics, and i stayed like that 10 minutes or so, and then when i close, it throws this.
Traceback (most recent call last):
File "motion_planning.py", line 346, in
controller = ArmController()
File "/home/odin/UR5-Pick-and-Place-Simulation/catkin_ws/src/motion_planning/scripts/controller.py", line 34, in init
joint_states = get_controller_state(controller_topic).actual.positions
File "/home/odin/UR5-Pick-and-Place-Simulation/catkin_ws/src/motion_planning/scripts/controller.py", line 12, in get_controller_state
return rospy.wait_for_message(
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/client.py", line 428, in wait_for_message
raise rospy.exceptions.ROSInterruptException("rospy shutdown")
rospy.exceptions.ROSInterruptException: rospy shutdown
I tried pressing play on gazebo, tried commenting the line with the ArmController(), but then it just stays at Initializing gripper controller.

Same issue!


Python Version Available?

Hi
I wanted to know if you have the source code available in Python.

The source code is in Python.


sqlectron GUI connection error

hi
I am working on AWS RDS. trying for hands on
and I just install sqlectron GUI for that
but getting error
Connection Error
ER_ACCESS_DENIED_ERROR: Access denied for user"

Are you able to connect fine using another DB client? Have you double checked that you typed in the credentials correctly?

I get the same error too

then it seem's it's not sqlEctron which is the root cause of your troubles. :p

@shelphysingh  , @secdini
It's a known issue which is documented by AWS. Here's the Docs Link for ref(For Postgres) : https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ConnectToPostgreSQLInstance.html
Basically apart from the usual hostname, username, password, database name is also expected when connecting.

@shelphysingh , @secdini
It's a known issue which is documented by AWS. Here's the Docs Link for ref(For Postgres) : https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ConnectToPostgreSQLInstance.html
Basically apart from the usual hostname, username, password, Initial Database/Keyspace name is also expected when connecting.


Improve test on Login.tsx

It's necessary to improve the testing of Login.tsx because it lowers the global percentage by a lot

Hi, I would like to try this one.

@rsousaj assigned

@tehKapa Working on this! Tks

Matteo, I still working on this trying to deliver best practices possibles. Is that fine ? @tehKapa


Support dependencies defined with one rule per dependency

ARM's RVCT compiler outputs dependency files with one rule for each dependency, like so:
foo.o: foo.cpp
foo.o: foo.h
foo.o: bar.h
# ...etc

The existing dependency file parser would treat these repeated instances of foo.o as dependencies, and identify this as a circular dependency.
This patch resets the "parsing_targets" flag when we encounter a non-indented line after a non-escaped newline in a rule, and if the later targets match the first one, drops them and continues reading dependencies.  If they don't match (i.e. the dependency file defines dependencies for more than one target), the parser fails as before.

Once #1050 is done, depfile parsing speed might be less of an issue.

Fixed by #1039.


Integer validation rule not applying for empty string

Framework: laravel/lumen-framework
Lumen Version: v6.2.0
PHP Version: 7.3.6
Database Driver & Version:

Description:
Integer validation rule not applied for empty string
Steps To Reproduce:
Query:
http://localhost/search?page=
$this->validate($request, [
        'page' => 'integer|min:1',
 ]);

Empty strings are converted to null, which is allowed since you're not using the "required" rule.

According to me, by default, the validation should check the integer if the input field is present.

Hmm gonna try to reproduce.

This is odd since this method returns false for empty strings.
https://github.com/laravel/framework/blob/6.x/src/Illuminate/Validation/Concerns/ValidatesAttributes.php#L1093
output
Psy Shell v0.9.9 (PHP 7.3.12 — cli) by Justin Hileman
>>> (int) ''
=> 0
>>> filter_var('', FILTER_VALIDATE_INT)
=> false
>>>

Yeah I can't reproduce, the following rule fails with "The number must be an integer", when passing empty string:
['number' => 'integer|min:1']

In your kernel.php, do you have the ConvertEmptyStringsToNull middleware in the protected $middleware property? If I comment out this middleware, I get the exact behavior you describe.

Yes the ConvertEmptyStringsToNull middleware will be why.

@devcircus I believe Lumen does not have kernel.php
https://github.com/laravel/laravel/blob/9bc23ee468e1fb3e5b4efccdc35f1fcee5a8b6bc/app/Http/Kernel.php

Integer validation rule not applied for empty string

Heya. This is actually explained for the integer rule here in a note on the integer rule docs: https://laravel.com/docs/6.x/validation#rule-integer

This validation rule does not verify that the input is of the "integer" variable type, only that the input is a string or numeric value that contains an integer.

So you'll need to add the numeric validation rule if you want to make sure that the value is numeric and not an empty string. An empty string for 'integer|min:1' still passes because you're not adding required to the ruleset. min:1 only denounces that when a value is present that it should have a minimum length of 1. In this case I believe you want: required|integer.
Does that help?

Hi, Thank you for the detail response.
The difference between integer|min:1 and required|integer is significant as the API request will fail if the input value is not available.
I can see Laravel deal with this issue by using ConvertEmptyStringsToNull middleware. Is there any plan for Lumen framework to use a similar kind of middleware?

Ah completely missed that you were using lumen.

I am pretty positive you can port this middleware to lumen

@anam-hossain you'll need to use integer|nullable then in this case as the ConvertEmptyStringsToNull isn't available in Lumen. We don't have any plans to add this to Lumen for the time being, sorry.


Allow loading datacenters from a custom location

This is to allow updating datacenters (stored in a different location) without having to update the gem. This PR has two changes:

allow specifying custom datacenter path in load! method
load datacenters on the first request instead of loading it when loading the gem

@frewsxcv Is there a way to get this change merged? Like, say, splitting the changes in two separate Pull Requests?
(I'm just asking as a triage question - this is the final open PR.)


Add macOS runtime build using GitHub-hosted macos-14 runner.

Hoping to get earlier signal on breaks in hal/drivers/metal/ like https://github.com/iree-org/iree/pull/17730#issuecomment-2217594021 (see sample CI run with that error reported on this PR: https://github.com/iree-org/iree/actions/runs/9860754926/job/27227679469?pr=17835#step:6:551).
Unfortunately, the GitHub-hosted runners don't support Metal, so we can compile but not actually run those tests: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#limitations-for-arm64-macos-runners.
ci-exactly: build_test_runtime

Phew, finally got all the checks to pass :P


CollisionIT failed

While building PR #761 the following failure was seen by TravisCI.  I was able to run mvn verify 3 times locally w/o issue, so I don't think that PR is causing the change.  Need to further investigate why this test failed.
Running org.apache.fluo.integration.impl.CollisionIT

Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 35.071 sec <<< FAILURE! - in org.apache.fluo.integration.impl.CollisionIT

testLotsOfCollisions(org.apache.fluo.integration.impl.CollisionIT)  Time elapsed: 35.055 sec  <<< FAILURE!

java.lang.AssertionError: Duplicate row col 4:stat:total:2000000000000000

	at org.apache.fluo.integration.impl.CollisionIT.testLotsOfCollisions(CollisionIT.java:170)

I saw:
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 17.547 sec <<< FAILURE! - in org.apache.fluo.integration.impl.CollisionIT
testLotsOfCollisions(org.apache.fluo.integration.impl.CollisionIT)  Time elapsed: 17.545 sec  <<< FAILURE!
java.lang.AssertionError: Duplicate row col all:stat:total:2000000000000000
	at org.apache.fluo.integration.impl.CollisionIT.testLotsOfCollisions(CollisionIT.java:170)

Same problem. Different row.

So, this was just a test bug, not a problem with collisions? That's a relief.

So, this was just a test bug, not a problem with collisions? That's a relief.

I don't have positive confirmation of that.  Looking at the code I could see that the logic for waiting was wrong, so maybe sometimes the test did not wait long enough.
In the place where the test failed it was attempting to verify the Fluo GC iterator worked correctly.    The earlier part of the test that checks transactions worked correctly w/ collisions did not fail.


fix(work-item-create-selector): Give clickable elements a pointer cursor

[test]

@jarifibrahim I am adding common class cursor in PR: https://github.com/fabric8-ui/fabric8-planner/pull/2177.
Wait for that and just add cursor class. We don't need to add separate css for that.
Either I will add these changes in same PR

Closing this since https://github.com/fabric8-ui/fabric8-planner/pull/2177 fixes the issue https://openshift.io/openshiftio/openshiftio/plan/detail/1553.

@jarifibrahim fabric8/fabric8-ui:SNAPSHOT-PR-2267-2 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2267-fabric8-planner.badger.fabric8.io


Tests fail with ome-zarr 0.8.3

In https://github.com/ome/napari-ome-zarr/pull/107 I had to pin the version of ome-zarr to get the tests to pass; this should be fixed so napari-ome-zarr works with the latest version of ome-zarr.  A quick glance at the diff between version 0.8.2 and 0.8.3 doesn't reveal anything obvious to me that would have broke the tests here...

At a guess, ome/ome-zarr-py@c159b79 (#322) might be the culprit?

Interesting, I can use the plugin ok with ome-zarr 0.8.3, with napari 0.4.19.
e.g. napari https://uk1s3.embassy.ebi.ac.uk/idr/zarr/v0.4/idr0001A/2551.zarr/A/1/0
Here's the validation:
https://ome.github.io/ome-ngff-validator/?source=https://uk1s3.embassy.ebi.ac.uk/idr/zarr/v0.4/idr0001A/2551.zarr/A/1/0/

No, just reading.


Add ec2.amazonaws.com to Service

Fixes the NoCredentialProviders error that appears when the ecs-agent tries to register with cluster:
http://stackoverflow.com/questions/34582908/error-registering-nocredentialproviders-no-valid-providers-in-chain-ecs-agent

Great - Thanks!


Fix generating versioned identifiers if pre-registration is enabled

References

Fixes #8675

Description
This PR fixes the creation of versioned identifiers if the submission pre-registration is enabled.
Instructions for Reviewers
To test:

Turn on identifier pre-registration in identifiers.cfg
Use VersionedDOIIdentifierProvider in identifier-service.xml
Create an item
Create a new version of this item
You get an versioned  DOI with the pattern olddoi.versionnumber

List of changes in this PR:

WorkspaceItemServiceImpl: modify the create method to take a boolean flag (isNewVersion) to allow to skip identifiers minting for versioned items as this process is done after the version is created and the versionhistory is updated
DefaultItemVersionProvider: modify createNewItemAndAddItInWorkspace to call the create method with the isNewVersion flag set to true

Checklist
This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!

[X] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & integration tests). Exceptions may be made if previously agreed upon.
[X] My PR passes Checkstyle validation based on the Code Style Guide.
[X] My PR includes Javadoc for all new (or modified) public methods and classes. It also includes Javadoc for large or complex private methods.
[X] My PR passes all tests and includes new/updated Unit or Integration Tests based on the Code Testing Guide.
[X] If my PR fixes an issue ticket, I've linked them together.

I have tested the following scenarios, which all work as expected:

New submission (without workflow): versioned handle and doi waiting for registration
New submission (in workflow and approving item): versioned handle and doi waiting for registration
New version of item (with/without workflow and with filters enabled: the item meets the conditions and a DOI is generated): versioned handle and doi waiting for registration

New version of item (with/without workflow and with filters enabled: the item does not meet the conditions): in this case a versioned handle is created but the versioned doi is only minted (and not registered) as expected


The reference backend is not responding

The reference backend (https://conduit.productionready.io/api) is not responding and therefore most frontend implementations are broken! 😢
We are desperately trying to contact the maintainer of this backend and find a solution as soon as possible.
We are very sorry for the inconvenience. Thank you for your patience.

Is there any progress ?

Yesterday was ok, today seems that problem still exists.

Right now, the backend is responding normally. It is possible that it is under an intermittent DoS attack. We could reach the maintainer, but, unfortunately, he will not be able to do anything before Monday.

it used to be totally broken but now it seems fixed but hanging forever. Thanks for all ur efforts to maintain this backend implementation ( : -

Still very slow, hardly get data from API...

Still very slow, hardly get data from API...

Yeah , only works occasionally and unstable. One suggestion here is to run a daemon scripts every day to keep posts amount below the threshold since this is an API used for demonstrating the usage of frameworks rather than a real commercial one. ( prerequisite is that we can get the access tho ( :-

@apai4 I think you are in charge of this backend and we really need your help there. If you are too busy to take care of it, could you please give us (@geromegrignon or me) access to the subdomain conduit.productionready.io so that we can deploy a new backend? Or, if you prefer, we can deploy a new backend first and you'd just have to make the necessary changes so that conduit.productionready.io points to it. You can reach me at<EMAIL_ADDRESS>Thanks.

Still very slow, hardly get data from API...

Yeah , only works occasionally and unstable. One suggestion here is to run a daemon scripts every day to keep posts amount below the threshold since this is an API used for demonstrating the usage of frameworks rather than a real commercial one. ( prerequisite is that we can get the access tho ( :-

Indeed, the purpose of this API is to provide a demo.
But no update occurred since it was released a few years ago.
We don't plan to move it to a more scalable solution (for money reasons).
But I want to create a webcontainer sample with stackblitz to provide a way to run locally an API as a workaround (with the benefit of running into the browser without installation requirements).

@geromegrignon yeah , makes sense aboslutely. BTW there's lots of NSFW tags now...

@geromegrignon
Could you provide the source code to the backend of conduit.productionready.io/api? Better if there would be a Docker container that anyone can spin up on the localhost and use for application without calling actual API.
Thumbs up if you like the idea.

@geromegrignon
Could you provide the source code to the backend of conduit.productionready.io/api? Better if there would be a Docker container that anyone can spin up on the localhost and use for application without calling actual API.
Thumbs up if you like the idea.

It's an awesome idea!
The deployed backend is from the rails implementation: https://github.com/gothinkster/rails-realworld-example-app/tree/master

@geromegrignon
Thank you for the repo! I was trying to run it on my Mac, unfotunately no luck...
As far as I was able to go is just successfully make "bundle install" using Ruby 2.6.4 and rails 4.2.6. But stuck on "rake db:migrate" with error "rake aborted!" and any meaningful descriptoion why.
I have tried the branch "rails-5.1" brans but that didn't work because it has a reference to the repo that does not exist anymore, which is this one "https://github.com/gogovan/devise.git"
Could you maybe take a look in the project and check if it's possible to update to make it work? Then I can try to wrap it into Docker and publish the image.

@geromegrignon
Thank you for the repo! I was trying to run it on my Mac, unfotunately no luck...
As far as I was able to go is just successfully make "bundle install" using Ruby 2.6.4 and rails 4.2.6. But stuck on "rake db:migrate" with error "rake aborted!" and any meaningful descriptoion why.
I have tried the branch "rails-5.1" brans but that didn't work because it has a reference to the repo that does not exist anymore, which is this one "https://github.com/gogovan/devise.git"
Could you maybe take a look in the project and check if it's possible to update to make it work? Then I can try to wrap it into Docker and publish the image.

ROR is a great framework , but if you just want an available backend here I will recommend https://github.com/err0r500/go-realworld-clean which uses the full binary-compatiable advantage of go.  There is a docker one and you may also wanna have a try : https://github.com/raahii/golang-grpc-realworld-example

@Postavshik I never used Ruby so I won't be that useful.
I'm fine with creating the docker image with another backend listed on CodebaseShow.
Just make sure it passes the Postman collection tests (instructions here).
@cirosantilli made a great contribution to improve it to tests backend implementations.

BTW, I would recommend using a Node.js + Express.js + Sequelize as the reference due to the popularity of Node.js and the other elements of the that stack. I think Node.js is already making/will inevitably make Ruby/Rails disappear moving forward. Uber subjective of course.
This is the backend I've been using: https://github.com/cirosantilli/node-express-sequelize-realworld-example-app and which works out of box on Ubuntu 21.04 and passes all postman tests.
Sequelize over mongodb is more portable, in particular since mongo now has licensing issues, so is not being shipped anymore on major distros as easily.

I was indeed considering Node.js + Express.js.
About the ORM, I was taking a look at Prisma as an alternative.

Quick update,
I'm working on a new backend implementation to deploy it as soon as possible.
It'll be a temporary solution while waiting for access to the real-world domain.
I still have some bugs to fix (the postman collection helping me a lot):

Once live, I'll update the documentation.

Here is the URL of the new API: https://realworld-temp-api.herokuapp.com/api
Keep in mind it's a temporary one. The goal is to deploy it to the existing productionready.io domain for existing implementations relying on it.
The API is deployed for free on Heroku, meaning the server sleeps after 30 minutes of inactivity.
So you may encounter latency on the first request on it (few seconds).
Besides applying to the current specs, this API includes:

a cron deleting all articles on Sundays
a rate limitation (500 requests every 15 minutes)
a swagger UI to test the API on https://realworld-temp-api.herokuapp.com/api-docs

related to #708
Make it work, make it right, make it fast
Make it work
The new API passes the Postman collection.
Would you please open an issue if you find out a bug?
Make it right
I'll spend next week cleaning the code.
Once done, I'll open source it.
Make it fast
As explained earlier, the API sleeps after 30 minutes of inactivity.
Please open an issue if you encounter any additional latency on requests.

Here is the URL of the new API: https://realworld-temp-api.herokuapp.com/api
Keep in mind it's a temporary one. The goal is to deploy it to the existing productionready.io domain for existing implementations relying on it.
The API is deployed for free on Heroku, meaning the server sleeps after 30 minutes of inactivity.
So you may encounter latency on the first request on it (few seconds).
Besides applying to the current specs, this API includes:

a cron deleting all articles on Sundays
a rate limitation (500 requests every 15 minutes)
a swagger UI to test the API on https://realworld-temp-api.herokuapp.com/api-docs

related to #708
Make it work, make it right, make it fast
Make it work
The new API passes the Postman collection.
Would you please open an issue if you find out a bug?
Make it right
I'll spend next week cleaning the code.
Once done, I'll open source it.
Make it fast
As explained earlier, the API sleeps after 30 minutes of inactivity.
Would you please open an issue if you encounter any additional latency on requests?
Limitations
The API is deployed on a free account on Heroku with row and connection limits.
Thanks to sponsors, the plan is to move to a production solution on Heroku while limiting the costs.
Meanwhile, please keep in mind this new API is a workaround for current issues.

awesome job ! ！ I just update my project with new API here : https://react-typescript-hooks-realworld.vercel.app/ and find that for retrieving feed&tags , we still need to get authorized.  This seems an unexpected behaviour ?

@Allianzcortex
Authentication isn't required on the feed (global feed, the personal feed still need authentication) and on tags.
I can't reproduce it on Postman and by using the swagger on https://realworld-temp-api.herokuapp.com/api-docs

@geromegrignon yeah,very weird one. After cleaning up my old token and it works well. NVM ( - :

@Allianzcortex
I still need to fix:

personal feed not retrieving data
tags not being deleted on article deletion

@geromegrignon feel it's better if we open another issue for the new API discussion. Here just curious that, for comments, the return format is :

{"comments":{"comments":[]}}
If it has passed all the postman tests then it should be np , but I feel it may be :
{"comments":[]}
My current implementation is broken for this

it says map is not a function.

@Allianzcortex I fixed it.

You can submit and track issues related to this new API on #712

Resolved with a new API release.


fix: solve race condition bug on sample application

This Pull Request closes issue #499
What I've done

Added a new state variable to keep track locally of the counter before actually increasing the real counter.
Added a new hook to update the real counter when the local counter was updated, and only if there is no pending update ongoing to avoid race conditions (using a useEffect hook cleanup function).
Changed the displayed counter to the real counter value.

Why i have done this way
I feel that this is the most elegant and quick solution for the problem since it prevents additional simultaneous requests only by using a cleanup function which is a useEffect's hook feature ready to use, and this is enough to prevent a race condition bug.
I know that there are other ways to accomplish that, like, for instance, keeping track of transaction ID or creating a loading state on the button, but taking into consideration the user experience and the effort necessary to make those solutions i felt that mine solution is more appropriated.

As the example app, it's been removed (#679). We can close this issue. Thanks, @itspauloroberto, for the contribution.


change the position of the stream after reading

replace seek(oldPos)  by changing the position of the stream only

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/2541/
Test PASSed.

@pfxuan @haoyuan can you take a look?

Thanks @shimingfei ; Do you mind adding unit test for this?
Also, it will be great to go to the HDFS docs, create tests for all the different cases, and verify that our implement doesn't break the protocol. Could you please create a JIRA and a patch for this?

sure, I will

Thanks!

@haoyuan I have added test for the change.
and created another JIRA to address the testing for HDFS interface.
https://tachyon.atlassian.net/browse/TACHYON-261

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/2544/
Test PASSed.


YAML Section Line Highlighting Bug

Different line number and line are highlighted when a line number is clicked.

@bhatiadivij I've tested Sublime and VS Code, and they all behaved the same as this. I suppose it's intended to do so.

Oh. I see. I think you are right.


any readme and dataset?

Hi @loveJasmine,
You can find the dataset used in data/semeval2010_task8.
As for README, I don't plan to write one because this repo was a quick development for my Master's Thesis. You can check the slides I used (in spanish), though.


fix(release): remove newline from rev-parse

/skip-e2e

@bartoszmajsak Testing in production is our mantra! :D


componentProps in starter-app not working

<stencil-router id="app-content">
  <stencil-route url="/" component="first-name" componentProps={{ first: 'Stencil' }} exact={true} />
  <stencil-route url="/second" component="second-name" componentProps={{ first: 'Stencil2' }} />
</stencil-router>

I would expect the above to pass the value of the first prop down to <first-name/> and <second-name/> but nothing seems to happen. The prop is undefined on render.
If I use the components outside of the router they work correctly.

https://github.com/ionic-team/stencil-router/blob/master/src/components/__tests__/test-app.tsx#L56
https://github.com/ionic-team/stencil-router/blob/master/src/components/__tests__/test-demo-three.tsx#L9
This should work please ensure you are using the latest which is 0.0.17. Above is an example about usage.

Hello all! As it seems it has been a while since there was any activity on this issue I will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Stencil!


Fix Bruker side-by-side VC execution

A user reported a COM initialization failure when trying to convert a YEP file and I reproduced it on a Windows Server 2016 instance.

updated VC90 DLLs to 30729.6161 and updated versions in the embedded manifests of Bruker CompassXtract DLLs (it was the only way I could get it to run without VC9 redist, at least on Windows Server 2016)
fixed name of vcomp90.dll; apparently it only lacks the suffix in its System32 hard-link

@brendanx67 The scope of this PR expanded when I discovered that Thermo MSFileReader wouldn't run without the VC9 CRT installed, which was the case on one of the AWS boxes I tested. So due to some manifest updates, Skyline had to be updated too. When I looked at prerequisites in ClickOnce I didn't see any CRT/MFC ones added, but maybe I don't really understand what that old commented out section in the manifest is really saying.

MSFileReader is now 32-bit only, right?

MSFileReader is now 32-bit only, right?

Right.


build: sink BlocksRuntime into its own directory

This follows the CMake recommendations for the tree layout.  It makes it
easier to follow the build infrastructure, and prepares the tree for
migration to CMake 3.15 to enable Swift support.

@swift-ci please test


Updated docs to include rename functionality.

@UkiahSmith while we're at it, shouldn't it include config.rename.body as well?


Update weaver-cats to 0.6.1

Updates com.disneystreaming:weaver-cats from 0.6.0-M6 to 0.6.1.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.disneystreaming", artifactId = "weaver-cats" } ]

labels: library-update, semver-pre-release

Superseded by #196.


vscode can't identify es6 method

VSCode Version:1.8.0
OS Version:win10 x64
typescript version:  2.1.4
nodejs:6.9.2

Steps to Reproduce:

i used vscode to dev angular2 app,below is my tsconfig

{
  "compilerOptions": {
    "target": "es5",
    "module": "commonjs",
    "moduleResolution": "node",
    "sourceMap": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "lib": [ "es2015", "dom" ],
    "removeComments": true,
    "noImplicitAny": true,
    "suppressImplicitAnyIndexErrors": true,
    "types": [
      "node"
    ]
  },
  "exclude": [
    "node_modules",
    "backup",
    "output"
  ]
}

because compilerOptions.target must es5,so i add  "lib": [ "es2015", "dom" ],but vscode still can't identify es6 method.

@keyiis This is because Object.entries and Object.values are not part of es2015(es6). You need to use
"lib": [
  "dom",
  "es2015",
  "es2017.object"
]

or more broadly
"lib": [
  "dom",
  "es2017"
]

@aluanhaddad
thanks reply!i added "es2017" to lib,Object.entries fixed, but still tip error
ERROR in [at-loader] src\angular\app\ui\kit\form\form.component.ts:38:31
    Property 'isObject' does not exist on type 'ObjectConstructor'.

Did you mean Object.is? I don't know about Object.isObject, never hear of it.
If such a thing exists in your runtime, you can declare that Object has it using
// form.component.ts
declare global {
  interface ObjectConstructor {
    isObject(...args: any[]): boolean;
  }
}

@aluanhaddad not object.is.  it's too weird,i used webpack with ts-loader and typings,all work fine!when i change ts-loader to at-loader and typings to @types/...  error appear

@keyiis That is because typings and @types work differently. Check stack overflow.


[docs] changed link name from "docker" to "source code"

changed link name from "docker" to "source code"
Changelog entry
changed link name from "docker" to "source code"
...
Changelog category

Documentation (changelog entry is not required)

Additional information
...

Fixed in #8716


Jenayah: Watch facts.ae

Jenayah requests the watch of the watch_keyword facts\.ae. See the MS search here and the Stack Exchange search here.

facts\.ae has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Shree in Charcoal HQ


vue build: uglifyjs error

build gives
ERROR in static/js/vendor.762c1915334a8c8c4e6a.js from UglifyJs
Unexpected token: operator (>) [./~/vue-strap/src/utils/utils.js:4,0][static/js/vendor.762c1915334a8c8c4e6a.js:60098,16]

$ uglifyjs -V
uglify-js 3.0.27

After fixing that, stuck on
ERROR in static/js/app.28a21fe1eb8f853ee90e.js from UglifyJs
Unexpected token: punc (() [static/js/app.28a21fe1eb8f853ee90e.js:263,9]

That's the     click() line in Header.vue

  methods: {
    click() {
      // do nothing
    },
    sidebarToggle(e) {

Tried click(e), still the same error.

Where is uglify-js required?
using uglify-es manually works, but not uglify-js

I met the same problem, could you tell me how to fix it, please?