npm start - failed extract queries from components

I'm getting a bunch of errors after installing fresh, any ideas?
> npm start

><EMAIL_ADDRESS>start /Users/sfong/Projects/mate-portfolio
> npm run develop

><EMAIL_ADDRESS>develop /Users/sfong/Projects/mate-portfolio
> gatsby clean && gatsby develop

info Deleting .cache, public
info Successfully deleted directories
success open and validate gatsby-configs - 0.044s
success load plugins - 0.105s
success onPreInit - 0.002s
success initialize cache - 0.010s
success copy gatsby files - 0.047s
success onPreBootstrap - 0.010s
success createSchemaCustomization - 0.002s
success source and transform nodes - 0.037s
success building schema - 0.178s
success createPages - 0.002s
success createPagesStatefully - 0.065s
success onPreExtractQueries - 0.002s
success update schema - 0.017s

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulFixed".

File: node_modules/gatsby-source-contentful/src/fragments.js:20:37

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulFixed".

File: node_modules/gatsby-source-contentful/src/fragments.js:34:47

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulFixed".

File: node_modules/gatsby-source-contentful/src/fragments.js:48:46

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulFixed".

File: node_modules/gatsby-source-contentful/src/fragments.js:61:46

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulFixed".

File: node_modules/gatsby-source-contentful/src/fragments.js:77:55

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulFluid".

File: node_modules/gatsby-source-contentful/src/fragments.js:92:37

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulFluid".

File: node_modules/gatsby-source-contentful/src/fragments.js:106:47

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulFluid".

File: node_modules/gatsby-source-contentful/src/fragments.js:120:46

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulFluid".

File: node_modules/gatsby-source-contentful/src/fragments.js:133:46

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulFluid".

File: node_modules/gatsby-source-contentful/src/fragments.js:149:55

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulResolutions".

File: node_modules/gatsby-source-contentful/src/fragments.js:161:43

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulResolutions".

File: node_modules/gatsby-source-contentful/src/fragments.js:171:53

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulResolutions".

File: node_modules/gatsby-source-contentful/src/fragments.js:181:52

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulResolutions".

File: node_modules/gatsby-source-contentful/src/fragments.js:190:52

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulResolutions".

File: node_modules/gatsby-source-contentful/src/fragments.js:202:61

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulSizes".

File: node_modules/gatsby-source-contentful/src/fragments.js:213:37

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulSizes".

File: node_modules/gatsby-source-contentful/src/fragments.js:223:47

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulSizes".

File: node_modules/gatsby-source-contentful/src/fragments.js:233:46

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulSizes".

File: node_modules/gatsby-source-contentful/src/fragments.js:242:46

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulSizes".

File: node_modules/gatsby-source-contentful/src/fragments.js:254:55

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Cannot query field "contentfulAbout" on type "Query".

GraphQL request:3:9
2 |       query FooterQuery {
3 |         contentfulAbout {
  |         ^
4 |           name

File: src/components/Footer.js:31:9

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Cannot query field "contentfulAbout" on type "Query".

GraphQL request:3:9
2 |       query HelmetQuery {
3 |         contentfulAbout {
  |         ^
4 |           name

File: src/components/Helmet.js:11:9

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Cannot query field "contentfulAbout" on type "Query".

GraphQL request:3:11
2 |         query AboutMeQuery {
3 |           contentfulAbout {
  |           ^
4 |             aboutMe {

File: src/sections/About.js:50:11

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Cannot query field "contentfulAbout" on type "Query".

GraphQL request:3:11
2 |         query SiteTitleQuery {
3 |           contentfulAbout {
  |           ^
4 |             name

File: src/sections/Landing.js:49:11

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Cannot query field "siteMetadata" on type "Site".

GraphQL request:14:13
13 |           site {
14 |             siteMetadata {
   |             ^
15 |               deterministicBehaviour

File: src/sections/Landing.js:60:13

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Cannot query field "contentfulAbout" on type "Query".

GraphQL request:3:11
2 |         query ProjectsQuery {
3 |           contentfulAbout {
  |           ^
4 |             projects {

File: src/sections/Projects.js:184:11

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Cannot query field "siteMetadata" on type "Site".

GraphQL request:4:11
3 |         site {
4 |           siteMetadata {
  |           ^
5 |             isMediumUserDefined

File: src/sections/Writing.js:140:11

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Cannot query field "allMediumPost" on type "Query".

GraphQL request:8:9
7 |         }
8 |         allMediumPost(limit: 7, sort: { fields: createdAt, order: DESC }) {
  |         ^
9 |           totalCount

File: src/sections/Writing.js:144:9

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Cannot query field "mediumUser" on type "Query".

GraphQL request:26:9
25 |         }
26 |         author: mediumUser {
   |         ^
27 |           username

File: src/sections/Writing.js:162:9

failed extract queries from components - 1.003s
success write out requires - 0.044s
success write out redirect data - 0.003s
success onPostBootstrap - 0.002s

info bootstrap finished - 5.155 s

success run queries - 0.025s - 4/4 158.50/s

You can now view gatsby-starter-mate in the browser.

  http://localhost:8000/

View GraphiQL, an in-browser IDE, to explore your site's data and schema

  http://localhost:8000/___graphql

Note that the development build is not optimized.
To create a production build, use gatsby build

success Building development bundle - 3.471s

————————————————————————————————————————————————————————————————————————————————
4 pages                        Failed                        gatsby-starter-mate

I got it to work by cloning the repo git clone https://github.com/EmaSuriano/gatsby-starter-mate.git mate-portfolio and then running npm install followed by npm  run setup and finally npm start.
running $ gatsby new mate-portfolio https://github.com/EmaSuriano/gatsby-starter-mate did not seem to work and the 'package-lock.json' was not present.

Hey @fongaloid, as you said the gatsby-cli was not cloning the package-lock.json when running gatsby new. This is because it's set by default as yarn --> https://www.gatsbyjs.org/docs/gatsby-cli/#how-to-change-your-default-package-manager-for-your-next-project
Besides that, I investigated a little bit further about the issue of Contentful and found out that it's a well-known issue inside the package --> https://github.com/gatsbyjs/gatsby/issues/15397
The issue is still opened and there is no definitive solution yet ...
In the meantime, I manually set the version of gatsby and gatsby-source-contentful which will work with the starter when running gatsby new.
Please let me know if your issue is fixed so I can close this issue 😄

Tested again and can confirm that it works! Thanks.

Hi, I'm having the same issue as @fongaloid. I tried with gatsby new then yarn start and although the package-lock.json was there with me, but still got the same errors. I also tried by git clone your repository and ran with npm start but still got the same issue.

Hi, I'm having the same issue as @fongaloid. I tried with gatsby new then yarn start and although the package-lock.json was there with me, but still got the same errors. I also tried by git clone your repository and ran with npm start but still got the same issue.

Have you fixed your issue if so then how?


Is it possible to override database url for migrations?

I set up multiple fixtures, as shown in documentation:
@pytest.fixture()
def async_engine(database_settings) -> AsyncEngine:
    return create_async_engine(
        database_settings.url,
        echo=database_settings.echo,
        poolclass=NullPool,
    )

@pytest.fixture()
def alembic_engine(async_engine):
    return async_engine

@pytest.fixture()
def alembic_config(database_settings):
    return Config(config_options={"sqlalchemy.url": database_settings.url})

database_settings is a fixture which provides actual settings for the database. URL is different from the one defined in env.py. However, when I use alembic_runner fixture, the migration is applied to the database specified in env.py (postgresql+asyncpg://user:password@localhost:5433/test), not database_settings.url (postgresql+asyncpg://user:password@localhost:5433/test_1):
@pytest.fixture()
def _init_db(alembic_runner: MigrationContext, database_settings):
    with DatabaseJanitor(
        user=database_settings.username,
        host=database_settings.host,
        port=database_settings.port,
        dbname=database_settings.name,
        version="16.0",
        password=database_settings.password,
    ):
        logger.debug(f"Database setup for {database_settings.url}")  # prints postgresql+asyncpg://user:password@localhost:5433/test_1
        current = alembic_runner.migrate_up_to("heads", return_current=True)
        logger.debug("Current revision: %s", current)
        yield
        logger.debug(f"Database teardown for {database_settings.url}").

Did you follow https://pytest-alembic.readthedocs.io/en/latest/setup.html#env-py? Slash what is the rough content of your env.py, where the engine/connection are produced?
It sounds like either the database.url alembic config is not making it into the actual migration, or your env.py is perhaps not reading it?
We've always included the connection conditional in our env.py definitions, but I suppose use of the sqlalchemy.url is fine as well, we should probably add a test to verify this works (although i think it should already if there's not a bug)

Thank you, I was inattentive and forgot to include the following lines in env.py
    connectable = context.config.attributes.get("connection", None)
    if connectable is None:

By the way, newer version of alembic (with SQLAlchemy 2.0) support async engine out of the box, and it generates the env.py which is a little bit different from this: https://pytest-alembic.readthedocs.io/en/latest/asyncio.html.
Here is mine:
async def run_async_migrations() -> None:
    """In this scenario we need to create an Engine
    and associate a connection with the context.

    """
    connectable = context.config.attributes.get("connection", None)

    if connectable is None:
        connectable = async_engine_from_config(
            config.get_section(config.config_ini_section, {}),
            prefix="sqlalchemy.",
            poolclass=pool.NullPool,
        )

    async with connectable.connect() as connection:
        await connection.run_sync(do_run_migrations)

    await connectable.dispose()

def run_migrations_online() -> None:
    """Run migrations in 'online' mode."""

    asyncio.run(run_async_migrations())

Finally, made it working with pytest-xdist, many thanks for your quick response.


[Feature] Admin panel: Change user in anonymous stripe donations

In #958 we have added the option to change the user of a donation when it originates from bank transfer.
We will need the same feature for anonymous stripe donations (Please note if the donation is NOT Anonymous it shouldn't be editable).
The reason behind this request : If a donations is not associated with a user, he or she won't be able to have a donation certifcate and not able to use tax deduction. Some people donate anonymously by mistake and then would like to see their donations in their profile.

To make this low-hanging fruit:
Currently only the donor of the bank donations is editable in AdminUI.  The needed change is to allow also card donations person to be editable and the logic for it is on this line:
https://github.com/podkrepi-bg/frontend/blob/9a9c4ec21d8e7b79db82a68deba5319b2a14e7e1/src/components/donations/grid/Grid.tsx#L205

Can I be assigned to this issue, please :)

@mariatopchieva  ping - would you have time to complete this?

@mariatopchieva ping - would you have time to complete this?

@igoychev I unassigned myself, I am having some issues and will take another task at a later moment. Sorry for blocking it until now.


Set AP Membership in genesis

See #221
You can close them both at once if you wish.

Resolved in #314


solc exited with signal: 9 (SIGKILL)

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 (a17869a 2024-10-09T00:21:58.527050792Z)
What command(s) is the bug in?
forge build
Operating System
Linux
Describe the bug
cxp@CXPfromR9000P:~/solana_learn/v2-core$ forge build
[⠆] Compiling...
[⠔] Compiling 197 files with Solc 0.8.26
Error:
solc exited with signal: 9 (SIGKILL)
<empty output>

Oh, I don't know why. Cannot compile anymore.
How did this founder roll back the version and update the latest one, but the compilation keeps reporting insufficient memory. cxp@CXPfromR9000P:~/solana_learn/v2-core$ forge -V forge 0.2.0 (a17869a 2024-10-09T00:21:58.527050792Z)
When compiling, my memory was almost full. There was no such problem yesterday.

Unfortunately this is not something we have control over in Foundry, related: https://github.com/foundry-rs/foundry/issues/8525 + https://github.com/ethereum-optimism/optimism/issues/8646#issuecomment-1863282669
Marking as non-actionable


Flush output from TTSService on LLMFullResponseEndFrame

To cover cases when the LLM response does not end in punctuation.

LGTM!


The problem with erasing spaces

If you use tabs, the code editor easily removes them.
But if you use spaces, they will be erased one at a time instead of the number that is specified in the settings, so it would be great if this problem was fixed and made like in vscode.

My app has a similar problem after the last update, I select something to delete and it just deletes the whole line, imagebs below:

Set Keyboard mode to Aggressive from Acode App > Settings> App Settings> key board mode


Min-Height on Date, Time, Month form fields

On iOS the form fields for Date, Time, and Month get smaller then normal when there are no values.


fix(Makefile): remove useless symbols

Signed-off-by: pengyiqiang<EMAIL_ADDRESS>

Ups, they really shouldn't be there. Thakns.


Abnormal github maintenance format for the R package

Hi!
I need to install Robyn version 3.0.0.
There are 2 problems:

Version 3.0.0 does not swing from the tap via<EMAIL_ADDRESS>I don't have direct access to github, but there is a package manager from R Studio that does. But, unfortunately, package manager does not eat this non-standard facebookexperimental/Robyn/R path, everyone always behaves normally on github, for example via facebookexperimental/Robyn.

The question is - how do I push this repository into package manager RStudio or when version 3.0.0 appears on "CRAN"?

Hi @avraam-inside

I'd strongly recommend you use the latest version of Robyn, given we are constantly adding new features and fixing bugs.
As you can see here, the first CRAN version is 3.6.3, and the latest (and second) CRAN version is 3.7.2. That's why you can't install CRAN's 3.0.0.
We started documenting the releases with version 3.4.4 so using the tag '3.0.0' won't work.
All that said, to install any previous version you can use the following code: remotes::install_github("facebookexperimental/Robyn/R", ref = "any_reference") where any_reference can be a commit ID, a branch, or a release tag.


Remove the get-container-image API

Some more context: we talked about making it implicit when a job is submitted. The client shouldn't necessarily have to do that work on their own. The client process should do it for them.


Tiling functionality

Describe the bug
Hello people, i am trying to use tiling in order to get better results. Currently i am using the toothbrush dataset from MVTec to test it.
I noticed that the results are almost the same using the patchcore model (maybe tiling is not implemented there yet? pls answer).
I also tried using tiling on the PADiM model with an image_size of 256 and tiling size of 128 and recieved a little improvement compared to no tiling.
In order to check if tiling is really working i tried to compare the results of using tiling with a image_size of 1000 and a tiling_size of 100. The idea was to compare the results with using no tiling at a image_size of 100. The computation for the GPU should be almost the same because it is calculating in both cases images of size 100. Somehow my jupyter-notebook kernel always crashes when i try to use the image_size 1000 and tiling_size 100 while training.
I also compared the case: image_size 100 and tiling_size 100 with image_size 100 and no tiling and recieved exactly the same results. Why does the tiling result depends on the image size? Is tiling performed after resizing the image?
And yes, i have added tiling to the callback function.
Dataset
MVTec
Model
PADiM
Steps to reproduce the behavior
model = get_model(config)
experiment_logger = get_experiment_logger(config)
callbacks = get_callbacks(config)
datamodule = get_datamodule(config)
Start training
trainer = Trainer(**config.trainer, logger=experiment_logger, callbacks=callbacks)
trainer.fit(model=model, datamodule=datamodule)
OS information
OS information:

OS: [Ubuntu 20.04]
GPU models and configuration: [GeForce GTX 1080]

Expected behavior
I expected tiling to help me use bigger image_sizes with less GPU capacity in order to get more detailed results.
Screenshots
No response
Pip/GitHub
GitHub
What version/branch did you use?
No response
Configuration YAML
dataset:
  name: toothbrush
  format: folder
  path: ./datasets/toothbrush
  normal_dir: ./train/good # name of the folder containing normal images.
  abnormal_dir: ./test/defective # name of the folder containing abnormal images.
  normal_test_dir: ./test/good # name of the folder containing normal test images.
  task: segmentation
  mask: ./ground_truth/defective #optional
  extensions: null
  split_ratio: 0.2 # ratio of the normal images that will be used to create a test split
  train_batch_size: 4
  eval_batch_size: 4
  num_workers: 8
  image_size: 1000 # dimensions to which images are resized (mandatory)
  center_crop: null # dimensions to which images are center-cropped after resizing (optional)
  normalization: imagenet # data distribution to which the images will be normalized: [none, imagenet]
  transform_config:
    train: null
    eval: null
  test_split_mode: from_dir # options: [from_dir, synthetic]
  test_split_ratio: 0.2 # fraction of train images held out testing (usage depends on test_split_mode)
  val_split_mode: same_as_test # options: [same_as_test, from_test, synthetic]
  val_split_ratio: 0.5 # fraction of train/test images held out for validation (usage depends on val_split_mode)
  tiling:
    apply: True
    tile_size: 100
    stride: 100
    remove_border_count: 0
    use_random_tiling: False
    random_tile_count: 16

model:
  name: padim
  backbone: resnet18
  pre_trained: true
  layers:
    - layer1
    - layer2
    - layer3
  normalization_method: min_max # options: [none, min_max, cdf]

metrics:
  image:
    - F1Score
    - AUROC
  pixel:
    - F1Score
    - AUROC
  threshold:
    method: adaptive #options: [adaptive, manual]
    manual_image: null
    manual_pixel: null

visualization:
  show_images: False # show images on the screen
  save_images: True # save images to the file system
  log_images: True # log images to the available loggers (if any)
  image_save_path: null # path to which images will be saved
  mode: full # options: ["full", "simple"]

project:
  seed: 42
  path: ./results/padim/tiling_1000

logging:
  logger: [] # options: [comet, tensorboard, wandb, csv] or combinations.
  log_graph: false # Logs the model graph to respective logger.

optimization:
  export_mode: null # options: torch, onnx, openvino

# PL Trainer Args. Don't add extra parameter here.
trainer:
  enable_checkpointing: true
  default_root_dir: null
  gradient_clip_val: 0
  gradient_clip_algorithm: norm
  num_nodes: 1
  devices: 1
  enable_progress_bar: true
  overfit_batches: 0.0
  track_grad_norm: -1
  check_val_every_n_epoch: 1 # Don't validate before extracting features.
  fast_dev_run: false
  accumulate_grad_batches: 1
  max_epochs: 1
  min_epochs: null
  max_steps: -1
  min_steps: null
  max_time: null
  limit_train_batches: 1.0
  limit_val_batches: 1.0
  limit_test_batches: 1.0
  limit_predict_batches: 1.0
  val_check_interval: 1.0 # Don't validate before extracting features.
  log_every_n_steps: 50
  accelerator: auto # <"cpu", "gpu", "tpu", "ipu", "hpu", "auto">
  strategy: null
  sync_batchnorm: false
  precision: 32
  enable_model_summary: true
  num_sanity_val_steps: 0
  profiler: null
  benchmark: false
  deterministic: false
  reload_dataloaders_every_n_epochs: 0
  auto_lr_find: false
  replace_sampler_ddp: true
  detect_anomaly: false
  auto_scale_batch_size: false
  plugins: null
  move_metrics_to_cpu: false
  multiple_trainloader_mode: max_size_cycle

Logs
The Kernel crashed while executing code in the the current cell or a previous cell. Please review the code in the cell(s) to identify a possible cause of the failure. Click here for more info. View Jupyter log for further details

Code of Conduct

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

Hello,

I expected tiling to help me use bigger image_sizes with less GPU capacity in order to get more detailed results.

I think tiling is mainly supposed to help you get better results if defects are small. Tiles are seemingly being processed as many smaller images, in the same batch, so I am unsure if it helps with memory requirements.

I also compared the case: image_size 100 and tiling_size 100 with image_size 100 and no tiling and recieved exactly the same results. Why does the tiling result depends on the image size? Is tiling performed after resizing the image?

See Fig.3 in anomalib paper, in this case you can expect the same result.

Somehow my jupyter-notebook kernel always crashes when i try to use the image_size 1000 and tiling_size 100 while training.

PaDiM estimates the Gaussian parameters from the whole training dataset, so it seems like having more images (or tiles) can get you "not enough memory" error (or kernel crash in jupyter notebook).
I hope this helps you


Versions of individual Ankaios packages

Description
The versions in the individual Ankaios packages are currently imported from the main Ankaios workspace. We did this for convenience, but it is a problem for the bitbake build.
We should think about adding individual versions again and maybe writing a script to update them all al once.
Goals

Final result

Summary
To be filled when the final solution is sketched.
Tasks

[ ] Task 1
[ ] Task 2
[ ] ...

Done.


The Radial Button mesh has a typo

Describe the bug
The 'Radial Button' mesh has a typo. It is listed in the inspector as 'Raial Buton' instead of 'Radial Button'.
To reproduce
Steps to reproduce the behavior:

Open the Reading Mode example scene
In the Hierarchy panel navigate to SceneContent > RadialSet > Radial (X) > ButtonContent > Dot/Button/Background
Look at the inspector after clicking one of the ButtonContent objects

Screenshots

Your setup (please complete the following information)

Unity Version 2019 LTS 2020 LTS
MRTK Version 2.6.1

@cre8ivepark Are you able to make this edit? It looks like it's a rename of one of the sub objects.
I tried editing this myself in blender, but it ended up making the file 5 times as large and added a bunch of random nodes...not quite sure what I'm doing! 😅

We appreciate your feedback and thank you for reporting this issue.
Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.
Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.
Please note that MRTK3 was released in August 2023. It features an all new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visithttps://www.mixedrealitytoolkit.org.
Thank you for your continued support of the Mixed Reality Toolkit!


Great project. Will the SparseInst algorithm continue to be updated, it seems incomplete?

Great project. Will the SparseInst algorithm continue to be updated, it seems incomplete?

Thanks, I will try.

Unfortunately, the model turned out to be quite difficult to train. It required large batch size (>64), didn't really work well with gradient accumulation, was unstable with half precision... I'd recommend to use the official implementation.

I also want to ask whether the reproduction of CondInst can achieve the accuracy of the paper? I see that this open source warehouse only wrote about 20 mAPs. Is it because the training time is not enough?

Tweaking training parameters like batch size or data augmentation might increase accuracy. But this implementaiton of CondInst is probably too simple to reproduce the official results. For the sake of simplicity, I used CenterNet without deformable conv layers to detect instances, instead of FCOS as in the CondInst paper.

OK，Thank you.


chore: migrate current Elastic PHP agent

The current Elastic PHP agent is not under maintenance anymore, and the author agreed on transfering the ownership to an organization. This PR contains the necessary changes to make this migration possible. Thanks to @dstepe who perfomed most of the work to make it happen.
It includes the following changes:

Replace philkra/elastic-apm-php-agent with nipwaayoni/elastic-apm-php-agent.
Refactor ServiceProvider:  the new Agent includes an AgentBuilder to facilitate constructing the agent. Use it to fulfill the Agent implementation in the service container.
The Agent no longer relies on the class __destruct() method to call send(). We need to explicitly call send() on the agent which is best done in an App::terminating() registered callback. This is executed after the framework has sent the response to the consumer.
Remove injection of Agent class into EventDataCollector classes.
The FrameworkCollector is created during the Laravel 'register' phase, which was forcing the Agent to be constructed as well. This occurred before other service providers had completed registering and therefore prevented modifying the Agent construction through the AgentBuilder abstraction.
Collectors are now tagged during 'register' and given to the Agent, rather than being created within the Agent.
The Agent is given to the Collector objects during the add process to meet the need of the JobCollector interacting with it.

Because of the changes to the Agent, I think we should release a version 2 of the package. If any customer is extending the existing implementation, this new version will break their code.
Closes #52, closes #67

@dstepe did you have time to test the changes on your side? Everything works as expected except for asynchronous jobs. Looks like the collector is registered, but callbacks on events are never executed. Not sure if it's because of service tags or the way workers boot/register services. Or both. I couldn't find the reason.

@arkaitzgarro I'm very happy to see this moving forward. I've been testing on a small demo app I maintain for this purpose. I'll add jobs to that and have a go at it. I'll start adding this to some of my production applications next week.

@arkaitzgarro I suggest holding off on a new release of this package until I get the next release of the Agent package out. I'm adding things which I believe users of this package will find useful and it may make sense to bundle them all as one major release. I expect to finish that in the next few days.

@arkaitzgarro The issue with jobs not being recorded is due to the work I did to move the Agent creation out of the Laravel register phase. The previous register process resulted in the agent being created and adding all the collectors, including the job collector, during the register phase. Now that I split that up, the agent is only resolved when something needs it. In the case of http requests, the http middleware asks for an Agent to be provided in the constructor. That happens early and results in everything working.
There is currently nothing which causes an Agent to made before a job is processed, therefore the JobCollector object is never created to register its listeners.
I can force everything to work by resolving the Agent at the end of the ServiceProvider::boot() method, but that seems ugly. Now that I know the problem, I'll track down a more elegant solution.
Is there a reason you don't automatically register the job middleware as you do the http middleware? If we did so, and the job middleware asked for an Agent, I think we would get the same results as with the http requests.

Ah. After reading a bit more I see that job middleware is different. It need to be specified in the job, as stated in your README. I'm sure we can find a way to make this work without complicating the application job setup.

@arkaitzgarro I submitted a PR to the working branch that should enable the job event collection. I still feel there is an opportunity in the JobCollector class. It depends on an Agent, unlike all the other collectors, which makes the problem awkward to solve. But that can be handled as internal refactoring later. I think this solution works with no change for users of the package.

This will close #52  and #67 if you want to link them.

@arkaitzgarro What's the status of this PR? Is there anything I can do to assist moving it forward?

@arkaitzgarro What's the status of this PR? Is there anything I can do to assist moving it forward?

Hey @dstepe, I was actually waiting for your feedback, since you mentioned that you were planing to use this implementation in your production apps. From my side, this is ready to go and can be merged into master and we could release a v2.0-RC1. I would also like to include these extra collectors in the new version.
Since this will introduce breaking changes, I'm also thinking on dropping support for Laravel 5.5, but this can be discussed in a separate thread.

Sorry about that. I have on particular app I want to get this into and I ended up pulled onto something else last week. I'll get back to it in the next day or two. The package has worked well in the cases I have tried, however, and I'm confident in it at this point.
What changes are leading to dropping support for Laravel 5.5? Not that I object, but I'm curious.

Sorry about that. I have on particular app I want to get this into and I ended up pulled onto something else last week. I'll get back to it in the next day or two. The package has worked well in the cases I have tried, however, and I'm confident in it at this point.

Great, let me know when we are ready to go!

What changes are leading to dropping support for Laravel 5.5? Not that I object, but I'm curious.

The main reason is the introduction of a scheduled command collector, as Illuminate\Console\Events\ScheduledTask* events are only available from Laravel 5.8 version.

Would it make sense to have the scheduled command collector only register listeners when the version of Laravel is at or above 5.8 then? I know we have some small internal apps that have not been updated to 5.8 or higher yet, and the absence of scheduled command collecting would not impact them. I'd still like to keep up with other feature releases of this package though.

Definitely. I’ve just found out the existence of version_compare PHP function, so we could use that to dynamically register the collector or the listeners and keep the compatibility with 5.5.

@arkaitzgarro How would you like to handle incorporating the latest code from the main branch into this PR? I could rebase my branch, but I'm not sure how that will work with the PR. We could simply make the changes directly, or cherry pick the commits, but then you'll likely end up with conflicts on the final merge. Do you have a preference?

Hey @dstepe, I rebase master into the branch, it is up to date now.

@arkaitzgarro I've had this branch running in a production app for a couple of days now and not seen any problem. I think it's good to go.
For release planning, I suggest this will be a good RC1, but not complete. I'm preparing a 7.5 release of the Agent package and while I don't expect any breaking changes, there are new features and deprecations that would make sense to deal with as part of a new major release in this package. I should have that release done and be able to start PRs to you in a few days. I've been holding off until this is merged since it's gotten quite large on it's own.

@arkaitzgarro I've had this branch running in a production app for a couple of days now and not seen any problem. I think it's good to go.
For release planning, I suggest this will be a good RC1, but not complete. I'm preparing a 7.5 release of the Agent package and while I don't expect any breaking changes, there are new features and deprecations that would make sense to deal with as part of a new major release in this package. I should have that release done and be able to start PRs to you in a few days. I've been holding off until this is merged since it's gotten quite large on it's own.

That's really good news! I'm merging this PR and creating a v2.0-RC1 release.


Is is possible that this repo is not up to date with latest aurelia framework.

Looks great !
V0.0.2 still uses aurelia.globalizeResources.
Master seems to be more aligned with latest aurelia framework.

@paulvanbladel Fixed: https://github.com/CharlesPockert/aurelia-bs-grid/releases/tag/0.0.3 - let me know if issues

@paulvanbladel FYI there's an update to v0.0.4 if you are interested, there were some github mixed case username issues so I decided to switch my username and fix the references in the repos.

Cool.  Thanks a lot for the info.


Improve packaging by using PBR

PBR (Python Build Reasonableness)[1].
Overview:

remove python code
introduce meta project configuration
allow pypi to display readme at markdown format
automatize semver management based on git tag name (example 1.0.0)
automatize changelog generate
automatize authors file generate

PBR allow to automatically manage your version bumping,
your changelog, your authors file and a lot of useful
features like this.
You just have to publish a git tag and pbr generate
a version number based on the git tag name (example: 1.0.0).
It also a good practice to use setup.cfg to centralize
project configuration:

project meta
wheel
etc...

This commit remove python code to maintain by transform it
into configuration.
If you choose to distribute this project with pypi these
changes introduce readme displayed at markdown format compatible
with pypi.
[1] https://docs.openstack.org/pbr/latest/
Signed-off-by: Hervé Beraud<EMAIL_ADDRESS>

This is the first part of the pypi automation.
After that you need to create a travis-ci account to use it to deploy by git tag push on github

Also I guess you need to activate the issues for this project in the repo settings

This is the first part of the pypi automation.
After that you need to create a travis-ci account to use it to deploy by git tag push on github

Do you have any updates about this?

I am fine with this, as I said in the other PR.  But I would want others who might know more about PYPY to handle it.
@jwhonce @lsm5 @vrothberg PTAL
@4383 Right now we have pulled resources from working on pypodman, and are concentrating on podman-remote (Golang version).  I am not sure if any engineering is going to happen in this Repo any longer.
BTW I am very interested in seeing podman-python going forward.

@lsm5 @jwhonce @baude please can you take a look?
Thanks.

Hi @4383 , this is unfamiliar territory to me. Is there a walkthrough on using this for rpm builds? Also, if there's no certain plans for pypodman, can you do this for python-podman repo instead?

@lsm5 I already submit the same patch on python-podman.
Concerning the rpm builds I'm not an expert but it's a straightforward things to build an rpm from source.

Concerning the rpm builds I'm not an expert but it's a straightforward things to build an rpm from source.

ack, in that case, I'm good to go either way if it doesn't really affect rpm workflow. I'll let the others decide on this.

LGTM
But I think we need @jwhonce Approval for merge.


Adding TimesNet as an imputation model

What does this PR do?

Fixing #250;
Before submitting

[x] This PR is made to fix a typo or improve the docs (you can dismiss the other checks if this is the case).
[x] Was this discussed/approved via a GitHub issue? Please add a link to it if that's the case.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have written necessary tests and already run them locally.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

240 of 265 (90.57%)  changed or added relevant lines in 8 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.3%) to 83.742%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pypots/imputation/timesnet/modules/layer.py
63
66
95.45%

pypots/imputation/timesnet/model.py
67
74
90.54%

pypots/imputation/timesnet/modules/embedding.py
58
73
79.45%

Files with Coverage Reduction
New Missed Lines
%

pypots/cli/env.py
1
65.31%

pypots/data/base.py
1
80.77%

Totals

Change from base Build<PHONE_NUMBER>:
0.3%

Covered Lines:
4708

Relevant Lines:
5622

💛  - Coveralls


pretrained model and data formatting

Do you have a pretrained SDP model that we can download?
What is the expected formatting to train an SDP model? It seems that the required fields in `conllu_vocabs.py' are different from the SemEval 2015 format (below)

SemheadVocab and SemrelVocab in `conllu_vocabs.py' have the same index. Is that expected?

Even if I change the indices to point to the "frame" column, there is still an error
Traceback (most recent call last):
  File "main.py", line 284, in <module>
    main()
  File "main.py", line 107, in main
    kwargs.pop('action')(**kwargs)
  File "main.py", line 169, in train
    network.train(load=load, noscreen=noscreen)
  File "/homes/iws/lyt826/Parser-v3/parser/base_network.py", line 115, in train
    config=self._config)
  File "/homes/iws/lyt826/Parser-v3/parser/structs/conllu_dataset.py", line 230, in __init__
    super(CoNLLUTrainset, self).__init__(config.getfiles(self, 'train_conllus'), *args, config=config, **kwargs)
  File "/homes/iws/lyt826/Parser-v3/parser/structs/conllu_dataset.py", line 60, in __init__
    self.load_next()
  File "/homes/iws/lyt826/Parser-v3/parser/structs/conllu_dataset.py", line 85, in load_next
    self.add(sent)
  File "/homes/iws/lyt826/Parser-v3/parser/structs/conllu_dataset.py", line 85, in load_next
    self.add(sent)
  File "/homes/iws/lyt826/Parser-v3/parser/structs/conllu_dataset.py", line 110, in add
    indices = vocab.add_sequence(tokens) # for graphs, list of (head, label) pairs
  File "/homes/iws/lyt826/Parser-v3/parser/structs/vocabs/base_vocabs.py", line 60, in add_sequence
    return [self.add(token) for token in tokens]
  File "/homes/iws/lyt826/Parser-v3/parser/structs/vocabs/base_vocabs.py", line 60, in <listcomp>
    return [self.add(token) for token in tokens]
  File "/homes/iws/lyt826/Parser-v3/parser/structs/vocabs/index_vocabs.py", line 51, in add
    return self.index(token)
  File "/homes/iws/lyt826/Parser-v3/parser/structs/vocabs/index_vocabs.py", line 466, in index
    nodes.append(int(head))
ValueError: invalid literal for int() with base 10: 'named'

Hi there, I was wondering where to find the word embeddings en.vectors.xz?
I try to train the model, using conll2018 English data, but this occurs:
(py36) yangyy@amax:~/SemEval/Parser-v3$ python main.py train ParserNetwork
saves/CoNLL18/English-EWT/ParserNetwork already exists. It will be deleted if you continue. Do you want to proceed? [Y/n] y
Traceback (most recent call last):
  File "main.py", line 284, in <module>
    main()
  File "main.py", line 107, in main
    kwargs.pop('action')(**kwargs)
  File "main.py", line 168, in train
    network = NetworkClass(input_networks=input_networks, config=config)
  File "/home/yangyy/SemEval/Parser-v3/parser/base_network.py", line 79, in __init__
    vocab.load() or vocab.count(self.train_conllus)
  File "/home/yangyy/SemEval/Parser-v3/parser/structs/vocabs/multivocabs.py", line 102, in count
    status = (vocab._loaded or vocab.count(train_conllus) if hasattr(vocab, 'count') else True) and status
  File "/home/yangyy/SemEval/Parser-v3/parser/structs/vocabs/pretrained_vocabs.py", line 112, in count
    with open_func(self.pretrained_file, 'rb') as f:
  File "/home/yangyy/miniconda3/envs/py36/lib/python3.6/lzma.py", line 302, in open
    preset=preset, filters=filters)
  File "/home/yangyy/miniconda3/envs/py36/lib/python3.6/lzma.py", line 120, in __init__
    self._fp = builtins.open(filename, mode)
FileNotFoundError: [Errno 2] No such file or directory: 'data/word2vec/English/en.vectors.xz'

@TonyNemo we have documented the process for downloading these word vectors here in our new stanfordnlp repo: https://github.com/stanfordnlp/stanfordnlp/blob/master/scripts/download_vectors.sh
Hope this helps!

@TonyNemo we have documented the process for downloading these word vectors here in our new stanfordnlp repo: https://github.com/stanfordnlp/stanfordnlp/blob/master/scripts/download_vectors.sh
Hope this helps!

Thanks for your reply! It is very helpful!


Support for named element ID's in Netflow and IPfix

I've got a feature request for vflow. It would be very convenient if the Netflow and IPfix could be configured to output decoded named IANA elements. Sort of like the sFlow module currently does. This way the JSON output could be ingested into a logstash shipper (through an MQ).

It would be great.

It would be great.

Looks like ipfix.elements on /etc/vflow/ doen't work anymore from:
https://github.com/VerizonDigital/vflow/issues/68

Looks like ipfix.elements on /etc/vflow/ doen't work anymore from:
https://github.com/VerizonDigital/vflow/issues/68

it means the file is not exist through rpm or it doesn't load?
https://github.com/VerizonDigital/vflow/blob/master/scripts/ipfix.elements

it means the file is not exist through rpm or it doesn't load?
https://github.com/VerizonDigital/vflow/blob/master/scripts/ipfix.elements

it means the file is not exist through rpm or it doesn't load?
https://github.com/VerizonDigital/vflow/blob/master/scripts/ipfix.elements

doesn't load, currently i have installed the latest version of RPM and copy https://github.com/VerizonDigital/vflow/blob/master/scripts/ipfix.elements to /etc/vflow/
with same rights as mq and vflow.conf and restart vflow service, i see only element ID not names.

it means the file is not exist through rpm or it doesn't load?
https://github.com/VerizonDigital/vflow/blob/master/scripts/ipfix.elements

doesn't load, currently i have installed the latest version of RPM and copy https://github.com/VerizonDigital/vflow/blob/master/scripts/ipfix.elements to /etc/vflow/
with same rights as mq and vflow.conf and restart vflow service, i see only element ID not names.

it means the file is not exist through rpm or it doesn't load?
https://github.com/VerizonDigital/vflow/blob/master/scripts/ipfix.elements

doesn't load, currently i have installed the latest version of RPM and copy https://github.com/VerizonDigital/vflow/blob/master/scripts/ipfix.elements to /etc/vflow/
with same rights as mq and vflow.conf and restart vflow service, i see only element ID not names.

it means the file is not exist through rpm or it doesn't load?
https://github.com/VerizonDigital/vflow/blob/master/scripts/ipfix.elements

doesn't load, currently i have installed the latest version of RPM and copy https://github.com/VerizonDigital/vflow/blob/master/scripts/ipfix.elements to /etc/vflow/
with same rights as mq and vflow.conf and restart vflow service, i see only element ID not names.

it means the file is not exist through rpm or it doesn't load?
https://github.com/VerizonDigital/vflow/blob/master/scripts/ipfix.elements

@mehrdadrad could you please describe how i can configure vflow with ipfix.elements if it works on current release.

it means the file is not exist through rpm or it doesn't load?
https://github.com/VerizonDigital/vflow/blob/master/scripts/ipfix.elements

@mehrdadrad could you please describe how i can configure vflow with ipfix.elements if it works on current release.

@Slepwin  Once you copied the file to /etc/vflow or your specified config directory, you can add enterprise elements:
enterprise-number:
  element-id:
  - name
  - datatype

you can find those information from the vendor documentation.
if you want to add to the zero, you can append the new elements which defined at IANA at the end of the current ipfix.elements (after element number 433)
the IANA https://www.iana.org/assignments/ipfix/ipfix.xhtml
 433:
  - ignoredLayer2FrameTotalCount
  - unsigned64

@Slepwin  Once you copied the file to /etc/vflow or your specified config directory, you can add enterprise elements:
enterprise-number:
  element-id:
  - name
  - datatype

you can find those information from the vendor documentation.
if you want to add to the zero, you can append the new elements which defined at IANA at the end of the current ipfix.elements (after element number 433)
the IANA https://www.iana.org/assignments/ipfix/ipfix.xhtml
 433:
  - ignoredLayer2FrameTotalCount
  - unsigned64

@Slepwin Once you copied the file to /etc/vflow or your specified config directory, you can add enterprise elements:
enterprise-number:
  element-id:
  - name
  - datatype

you can find those information from the vendor documentation.
if you want to add to the zero, you can append the new elements which defined at IANA at the end of the current ipfix.elements (after element number 433)
the IANA https://www.iana.org/assignments/ipfix/ipfix.xhtml
 433:
  - ignoredLayer2FrameTotalCount
  - unsigned64

Hi @mehrdadrad my question not about enterprise elements, i see in kafka topics only element ID not names:
{"AgentID":"<IP_ADDRESS>","Header":{"Version":10,"Length":105,"ExportTime":1610638197,"SequenceNo":1618410321,"DomainID":524288},"DataSets":[[{"I":8,"V":"<IP_ADDRESS>"},{"I":12,"V":"<IP_ADDRESS>"},{"I":5,"V":0},{"I":4,"V":6},{"I":7,"V":35634},{"I":11,"V":10050},{"I":32,"V":0},{"I":10,"V":631},{"I":58,"V":2011},{"I":9,"V":16},{"I":13,"V":16},{"I":16,"V":65001},{"I":17,"V":65002},{"I":15,"V":"<IP_ADDRESS>"},{"I":6,"V":"0x10"},{"I":14,"V":584},{"I":1,"V":40},{"I":2,"V":1},{"I":52,"V":60},{"I":53,"V":60},{"I":152,"V":1610638137600},{"I":153,"V":1610638137600},{"I":136,"V":2},{"I":61,"V":255},{"I":243,"V":0},{"I":245,"V":0},{"I":54,”V”:0}]]}
How i can achieve this format on vflow side:
{"AgentID"=>"<IP_ADDRESS>", "Header"=>{"Version"=>10, "Length"=>105, "ExportTime"=>1610638197, "SequenceNo"=>1618410321, "DomainID"=>524288}, "DataSets"=>[{"sourceIPv4Address"=>"<IP_ADDRESS>"}, {"destinationIPv4Address"=>"<IP_ADDRESS>"}, {"ipClassOfService"=>0}, {"protocolIdentifier"=>6}, {"sourceTransportPort"=>35634}, {"destinationTransportPort"=>10050}, {"icmpTypeCodeIPv4"=>0}, {"ingressInterface"=>631}, {"vlanId"=>2011}, {"sourceIPv4PrefixLength"=>16}, {"destinationIPv4PrefixLength"=>16}, {"bgpSourceAsNumber"=>65001}, {"bgpDestinationAsNumber"=>65002}, {"ipNextHopIPv4Address"=>"<IP_ADDRESS>"}, {"tcpControlBits"=>"0x10"}, {"egressInterface"=>584}, {"octetDeltaCount"=>40}, {"packetDeltaCount"=>1}, {"minimumTTL"=>60}, {"maximumTTL"=>60}, {"flowStartMilliseconds"=>1610638137600}, {"flowEndMilliseconds"=>1610638137600}, {"flowEndReason"=>2}, {"flowDirection"=>255}, {"dot1qVlanId"=>0}, {"dot1qCustomerVlanId"=>0}, {"fragmentIdentification"=>0}]}

@Slepwin Once you copied the file to /etc/vflow or your specified config directory, you can add enterprise elements:
enterprise-number:
  element-id:
  - name
  - datatype

you can find those information from the vendor documentation.
if you want to add to the zero, you can append the new elements which defined at IANA at the end of the current ipfix.elements (after element number 433)
the IANA https://www.iana.org/assignments/ipfix/ipfix.xhtml
 433:
  - ignoredLayer2FrameTotalCount
  - unsigned64

Hi @mehrdadrad my question not about enterprise elements, i see in kafka topics only element ID not names:
{"AgentID":"<IP_ADDRESS>","Header":{"Version":10,"Length":105,"ExportTime":1610638197,"SequenceNo":1618410321,"DomainID":524288},"DataSets":[[{"I":8,"V":"<IP_ADDRESS>"},{"I":12,"V":"<IP_ADDRESS>"},{"I":5,"V":0},{"I":4,"V":6},{"I":7,"V":35634},{"I":11,"V":10050},{"I":32,"V":0},{"I":10,"V":631},{"I":58,"V":2011},{"I":9,"V":16},{"I":13,"V":16},{"I":16,"V":65001},{"I":17,"V":65002},{"I":15,"V":"<IP_ADDRESS>"},{"I":6,"V":"0x10"},{"I":14,"V":584},{"I":1,"V":40},{"I":2,"V":1},{"I":52,"V":60},{"I":53,"V":60},{"I":152,"V":1610638137600},{"I":153,"V":1610638137600},{"I":136,"V":2},{"I":61,"V":255},{"I":243,"V":0},{"I":245,"V":0},{"I":54,”V”:0}]]}
How i can achieve this format on vflow side:
{"AgentID"=>"<IP_ADDRESS>", "Header"=>{"Version"=>10, "Length"=>105, "ExportTime"=>1610638197, "SequenceNo"=>1618410321, "DomainID"=>524288}, "DataSets"=>[{"sourceIPv4Address"=>"<IP_ADDRESS>"}, {"destinationIPv4Address"=>"<IP_ADDRESS>"}, {"ipClassOfService"=>0}, {"protocolIdentifier"=>6}, {"sourceTransportPort"=>35634}, {"destinationTransportPort"=>10050}, {"icmpTypeCodeIPv4"=>0}, {"ingressInterface"=>631}, {"vlanId"=>2011}, {"sourceIPv4PrefixLength"=>16}, {"destinationIPv4PrefixLength"=>16}, {"bgpSourceAsNumber"=>65001}, {"bgpDestinationAsNumber"=>65002}, {"ipNextHopIPv4Address"=>"<IP_ADDRESS>"}, {"tcpControlBits"=>"0x10"}, {"egressInterface"=>584}, {"octetDeltaCount"=>40}, {"packetDeltaCount"=>1}, {"minimumTTL"=>60}, {"maximumTTL"=>60}, {"flowStartMilliseconds"=>1610638137600}, {"flowEndMilliseconds"=>1610638137600}, {"flowEndReason"=>2}, {"flowDirection"=>255}, {"dot1qVlanId"=>0}, {"dot1qCustomerVlanId"=>0}, {"fragmentIdentification"=>0}]}

@Slepwin  It doesn't!

@Slepwin  It doesn't!


Cannot open lf after renaming the currently open file

If you try renaming the currently open file then start  lf, this error message shows up and you'll never be able to open lf afterwards unless you restart Neovim, even if you switch to the newly created file or to other buffers:
Error executing Lua callback: /home/mahdi/.local/share/nvim/lazy/lf.nvim/lua/lf/main.lua:299: wrong number of arguments to 'insert'
stack traceback:
        [C]: in function 'insert'
        /home/mahdi/.local/share/nvim/lazy/lf.nvim/lua/lf/main.lua:299: in function '__set_argv'
        /home/mahdi/.local/share/nvim/lazy/lf.nvim/lua/lf/main.lua:75: in function 'new'
        /home/mahdi/.local/share/nvim/lazy/lf.nvim/lua/lf.lua:127: in function 'start'
        /home/mahdi/.local/share/nvim/lazy/lf.nvim/lua/lf.lua:37: in function </home/mahdi/.local/share/nvim/lazy/lf.nvim/lua/lf.lua:36>

This error also occurs if you delete the file. The working solution is to manually unload the buffer. lf should behave normally afterwards.

I made a little change to the code, and it seems to resolve the problem. However, I am not sure whether this change will introduce any new unknown issues, as I am not familiar with the codebase.
Hi @lmburns , do you have some time to take a look at the change?
https://github.com/tanloong/lf.nvim/commit/ffd7e71fb090068931df50993e686140622995ec

@tanloong Wouldn't it make more sense to do a check around this line https://github.com/tanloong/lf.nvim/blob/ffd7e71fb090068931df50993e686140622995ec/lua/lf/main.lua#L157
What happens if you replace curfile with null?

Is anyone able to fix this? This is a very annoying bug


PYTHONPATH not properly honored when using pkg_resources

Originally reported by: Anonymous

Here's a sample run: https://gist.github.com/nailor/7f4ddb3a76c325b5bab5
In a nutshell it involves creating two packages named package and a module (in this case called herp) in them both. In addition a package/__init__.py will have the pkg_resources namespace declaration in it.
What I did?
PYTHONPATH=path_to_package1:path_to_package2 python -c 'from package import herp; print herp.__file__'

What I expected?
path_to_package1/package/herp.py would be the file printed because it has precedence in the PYTHONPATH
What happened instead?
path_to_package2/package/herp.py was printed.
In addition this behaviour differs between Python 2.6 with setuptools 0.6c12 and the Python2.7 with setuptools 3.3.
Going through different versions of setuptools looks like this breakage happened in setuptools 2.2 and is present in the latest released version 17.x

Bitbucket: https://bitbucket.org/pypa/setuptools/issue/397

Can we get this fixed?  Note that at least from the POV of PEP420, the behavior on collisions is well defined, and requires following the order of PYTHONPATH (see https://www.python.org/dev/peps/pep-0420/#specification).
A basic use case would be developing on a library while also having another version of the library installed system-wide.  While typically this can be done just by doing PYTHONPATH=. <your command>, this fails if the library uses namespace packages, as the system-wide version will be used instead.  (Yes, I know about editable mode installs.)

This bug has hit us as well. We use PYTHONPATH to override packages and the randomness is causing us a lot of trouble. See https://community.lsst.org/t/pytest-reorders-order-of-python-import-lookups/3247


Update CSharp projects to .NET 6 in sample k.direct-line-token

Is your feature request related to a problem?
Yes, the current BotFramework-WebChat samples for C# in k.direct-line-token are using .NET Core 3.1, which has reached its end of life. This poses potential security and compatibility risks for developers who are looking to use these samples in their projects.
Describe the suggestion or request in detail
I suggest updating the BotFramework-WebChat samples, specifically the csharp sample for direct-line-token, to use a more recent and supported version of .NET Core or .NET 5/6. This will ensure that developers are working with a version that receives security updates and is in line with current best practices.
Describe alternatives you have considered

Developers could manually update the samples to a newer version of .NET Core or .NET 5/6, but this might lead to potential issues or incompatibilities.
Another alternative is to provide multiple versions of the samples for different .NET versions, but this might increase the maintenance overhead.

Additional context
.NET Core 3.1 reaching its end of life means it won't receive further security updates or bug fixes. By updating the samples to a supported version, it ensures that developers have a secure and stable starting point for their projects.

🔗 Related Issues: https://github.com/microsoft/BotFramework-WebChat/issues/4871, https://github.com/microsoft/BotFramework-WebChat/issues/4872, https://github.com/microsoft/BotFramework-WebChat/issues/4873
I've identified these issues are all related to the k.direct-line-token sample. I'm currently working on a fix to address all three issues together.

Update:
I'm currently in the process of updating the C# projects in the k.direct-line-token/csharp sample to .NET 6. This new version is simpler and easier to use.
Before, we had two main files: Program.cs and Startup.cs. Now, we will only use a single file of Program.cs.
This offers a more streamlined and "JavaScript-like" approach to configuring and running the .NET apps, making it more intuitive and reducing boilerplate code.
Before:
+-----------------+     +-----------------+
|   Program.cs    | --> |   Startup.cs    |
+-----------------+     +-----------------+

After:
+-----------------+
|   Program.cs    |
+-----------------+

Small example of how single file of Program.cs might look in .NET 6 with minimal hosting:
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Hosting;

var builder = WebApplication.CreateBuilder(args);
var app = builder.Build();

app.MapGet("/", () => "Hello, World!");

app.Run();

Documentation: Code samples migrated to the new minimal hosting model in ASP.NET Core 6.0

@ramfattah , the .net 6 will be out of support at the end of 2024, do you consider to wait for .net 8?
https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core

Thanks @dawwa.
I reviewed the .NET 8 RC1 details. I'll hold off on pushes for k.direct-line-token/csharp projects until .NET 8 is stable.
Then I can prep a PR when it's time to migrate.
Appreciate the heads up.


WPInternals 3.0 Preview 1 timebomb

Description
please remove timebomb
Steps To Reproduce
open WPInternals 3.0 Preview 1
Expected behavior
WPInternals 3.0 Preview 1 will launch normally
WPinternals Version
v3.0
Windows Version
Windows 11 10.0.26040.1000
Phone model
Lumia 950 (RM-1118)
Relevant Assets
Windows Phone Internals version 3.0.8730.32231
Copyright Heathcliff74
This prerelease version is expired!

Works as intended


Document return value of _.defaults

I understand that _.defaults modifies its first argument (object) and also returns that value. However the return value of this function is not documented on http://underscorejs.org/#defaults
It's nice to be able to rely on the return value, e.g. in Backbone this is done:
https://github.com/jashkenas/backbone/blob/c3a829a91aa656582b372f924cd87057ff8b3641/backbone.js#L403
Wouldn't it make sense to document the return value so people can feel comfortable relying on this behavior?
EDIT: I suppose it is somewhat documented by the => line in the code sample there, however I would still propose just using the word "returns" in the description, like you do with other similar functions.

Yeah, technically the => notation indicates the return value. If you want to open a pull request to make the docs more explicit, I'd merge it.


D3D10 and D3D11 support?

I am aware that this is most likely the intended behavior, given how many header files both of them require, whom are missing from this repository.
Despite that, it would be nice if support past dx9 was documented/mentioned anywhere, since I've attempted compiling this for dx11 with no success whatsoever.

There is not really support past DirectX 9. DirectX 10 removed fixed function which is required for Remix to work, it was only in DX 9 really for compatibility purposes anyways (since it originated from DX 7).
In addition, games even around DX 9 times and especially later on once Fixed Function was removed rely more on shaders which makes it essentially impractical to extract the information Remix needs about the game through API calls (e.g. camera matrices, light properties, geometry information, skeletal animation information, material textures). This is also why Remix works best with games designed more around a DirectX 8 era of behavior, as the more they use shaders even in DirectX 9 the harder it gets to deal with them.
It's in theory possible to extract this information with a lot of per-game effort (essentially hijacking the buffers and data given to shaders and parsing it in a way specific to that game based on known layouts of information) but that is a lot more complicated than how Remix works currently.

Docs for compatibility are available here:
https://docs.omniverse.nvidia.com/kit/docs/rtx_remix/latest/docs/remix-overview.html#compatibility

Would it be possible to solve the shader limitations by hijacking shader compilation?


Change options_for from class method to instance method

Based on the thread from #146
This will help with:

Allowing a controller to use instance data e.g. current_user
Allowing a controller instance to override the default keys set in ::SecureHeaders::Configuration.configure

Can you add a test? e.g. https://github.com/twitter/secureheaders/blob/master/fixtures/rails_4_1_8/spec/controllers/things_controller_spec.rb

Because I moved the method from public to private I was thinking the existing test coverage would suffice. If that doesn't work what kind of a test would you like to see?

In one of the fixture apps, override the default behavior for a single action that would alter the policy and verify the value on the way out. It will at least show that per-action results are possible.
e.g. add an action to https://github.com/twitter/secureheaders/blob/master/fixtures/rails_4_1_8/app/controllers/things_controller.rb, override options_for or whatever with something like return something if params[:action] == :my_new_action, check the policy in https://github.com/twitter/secureheaders/blob/master/fixtures/rails_4_1_8/spec/controllers/things_controller_spec.rb

btw, I submitted an alternative: https://github.com/twitter/secureheaders/pull/148
I do plan on shipping both options. I like https://github.com/twitter/secureheaders/pull/148 because it keeps all of the related code in the config file. That handles the case where the logic isn't too complex. I still like this approach for more complicated scenarios.


KAFKA-17871: avoid blocking the herder thread when producer flushing hangs

The call to backingStore.get() (called by connector task threads through OffsetStorageReaderImpl.offsets()) can block for long time waiting for data flush to complete (KafkaProducer.flush()).
This change moves that call outside the synchronized clause that holds offsetReadFutures, so that if backingStore.get() hangs then it does not keep offsetReadFutures locked. The access to closed flag (closed.get()) is kept inside the synchronize clause to avoid race condition with close().
This is important because OffsetStorageReaderImpl.close() needs to lock offsetReadFutures as well in order to cancel the futures.
Since the herder thread calls OffsetStorageReaderImpl.close() when attempting to stops a task, before this change this was resulting in the herder thread hanging indefinetely waiting for backingStore.get() to complete.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Hi @davide-armand
CI is complaining about check style violations. Could you take a look at it?
Thanks

The CI is now green.
The additional commit that fixed the CI should be squashed before merging.


dd.read_csv() segfaults for csv files beyond certain size, Py3.4 only

# gen_garbage_csv.py
import numpy as np
import pandas as pd
NCOLS = 9
NROWS = 2e5

df = pd.DataFrame(np.random.randn(NROWS, NCOLS))
df.to_csv('./garbage.csv', index=False)

# test_garbage.py
import dask.dataframe as dd
print(dd.read_csv('./garbage.csv', header=0).count().compute())

When NCOLS = 8, the garbage.csv file is ~30M, and test_garbage.py runs successfully.
When NCOLS = 9, garbage.csv is ~34M, and python test_garbage.py segfaults.
This bug only manifests when using dask (0.8.1 or master) with Python 3.4.
With Python 3.5, I see no segfaults.
In case it's helpful, here's the error dump before segfaulting.
Fatal Python error: GC object already tracked

Thread 0x0000000115ee1000 (most recent call first):
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 290 in wait
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/queue.py", line 167 in get
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/multiprocessing/pool.py", line 429 in _handle_results
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 859 in run
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 911 in _bootstrap_inner
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 879 in _bootstrap

Thread 0x00000001159de000 (most recent call first):
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 290 in wait
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/queue.py", line 167 in get
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/multiprocessing/pool.py", line 376 in _handle_tasks
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 859 in run
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 911 in _bootstrap_inner
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 879 in _bootstrap

Thread 0x00000001154db000 (most recent call first):
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/multiprocessing/pool.py", line 367 in _handle_workers
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 859 in run
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 911 in _bootstrap_inner
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 879 in _bootstrap

Thread 0x0000000114fd8000 (most recent call first):
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 290 in wait
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/queue.py", line 167 in get
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/multiprocessing/pool.py", line 108 in worker
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 859 in run
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 911 in _bootstrap_inner
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 879 in _bootstrap

Thread 0x0000000114ad5000 (most recent call first):
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 290 in wait
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/queue.py", line 167 in get
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/multiprocessing/pool.py", line 108 in worker
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 859 in run
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 911 in _bootstrap_inner
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 879 in _bootstrap

Thread 0x00000001145d2000 (most recent call first):
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 290 in wait
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/queue.py", line 167 in get
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/multiprocessing/pool.py", line 108 in worker
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 859 in run
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 911 in _bootstrap_inner
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 879 in _bootstrap

Thread 0x00000001140cf000 (most recent call first):
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 290 in wait
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/queue.py", line 167 in get
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/multiprocessing/pool.py", line 108 in worker
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 859 in run
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 911 in _bootstrap_inner
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 879 in _bootstrap

Thread 0x0000000113bcc000 (most recent call first):
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 290 in wait
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/queue.py", line 167 in get
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/multiprocessing/pool.py", line 108 in worker
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 859 in run
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 911 in _bootstrap_inner
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 879 in _bootstrap

Thread 0x00000001136c9000 (most recent call first):
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 290 in wait
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/queue.py", line 167 in get
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/multiprocessing/pool.py", line 108 in worker
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 859 in run
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 911 in _bootstrap_inner
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 879 in _bootstrap

Thread 0x00000001131c6000 (most recent call first):
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/site-packages/pandas/io/parsers.py", line 1197 in read
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/site-packages/pandas/io/parsers.py", line 747 in read
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/site-packages/pandas/io/parsers.py", line 285 in _read
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/site-packages/pandas/io/parsers.py", line 498 in parser_f
  File "/Users/ksmith/work/dask/dask/dataframe/io.py", line 53 in _read_csv
  File "/Users/ksmith/work/dask/dask/async.py", line 246 in _execute_task
  File "/Users/ksmith/work/dask/dask/async.py", line 264 in execute_task
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/multiprocessing/pool.py", line 119 in worker
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 859 in run
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 911 in _bootstrap_inner
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 879 in _bootstrap

Current thread 0x0000000112cc3000 (most recent call first):
  File "/Users/ksmith/work/dask/dask/utils.py", line 276 in textblock
  File "/Users/ksmith/work/dask/dask/dataframe/io.py", line 51 in _read_csv
  File "/Users/ksmith/work/dask/dask/async.py", line 246 in _execute_task
  File "/Users/ksmith/work/dask/dask/async.py", line 264 in execute_task
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/multiprocessing/pool.py", line 119 in worker
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 859 in run
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 911 in _bootstrap_inner
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 879 in _bootstrap

Thread 0x00007fff7dd11300 (most recent call first):
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/threading.py", line 290 in wait
  File "/Users/ksmith/anaconda/envs/blaze-3.4/lib/python3.4/queue.py", line 167 in get
  File "/Users/ksmith/work/dask/dask/async.py", line 467 in get_async
  File "/Users/ksmith/work/dask/dask/threaded.py", line 57 in get
  File "/Users/ksmith/work/dask/dask/base.py", line 110 in compute
  File "/Users/ksmith/work/dask/dask/base.py", line 37 in compute
  File "test_garbage.py", line 3 in <module>
[1]    22095 abort      python test_garbage.py

Are you using pandas 0.18?

Nope, I was on 0.17.1 -- upgrading to pandas 0.18 fixed it, thanks!


Zappa certify command "not recognised"

Following the instructions in lets encrypt with zappa is giving me this error when I call certify. I've tried pip install zappa --upgrade and it hasn't helped.
$ zappa certify
The command 'certify' is not recognized. Please supply a command to execute. Can be one of: deploy, init, invoke, manage, rollback, schedule, status, tail, undeploy, unschedule, update

That's not in the PyPi release from 2016-08-11, you need to install Zappa from git.

Hey Antman!
Sorry about that - we've been developing on the -master branch, not -dev like we should be - I've been using the Let's Encrypt successfully, I think it's ready to get published once #267 is confirmed and I've written one or two more LE tests.
I think you can probably consider certify to be "experimental" at least for another version or two as it gets battle tests, it's currently in a "works for me" state, but as people have more specific use cases it may need a bit more work.


POOM payment not received

My CPK name used to be RubeGold, but I hope a hacker didn't hack BiblePay and change it to sunk without my permission.
Anyway, I sponsored two children and sent 85k BBP x 2 to Todd @ CameroonONE (Payment 1, Payment 2 )
When I first ran sponsorchild (and before sending 85k BBP), listchildren showed -999 then changed to 40 under balance. I after I submitted payment 1 & 2, the value went from 40 to 0. Strangely, I showed up on Leaderboard though:

Thinking I would get paid, I was expecting ~9k today from the Smart Contract Reward (~5k BBP for POOM and ~4k for healing). I only received ~4k which means the healing campaign paid out, but not the POOM payment.
21:21:37 listchildren
21:21:37￼
{
  "List Of": "Cameroon-One Children",
  "Child ID": "8bc83da6",
  "CPK": "BLENRYgVPwzfsrJoJNbvC537qMHsCVyeFU",
  "Biography": "https://biblepay.cameroonone.org/8bc83da6.htm",
  "Balance": 0,
  "Nickname": "RubeGold",
  "Child ID": "caffec51",
  "CPK": "BLENRYgVPwzfsrJoJNbvC537qMHsCVyeFU",
  "Biography": "https://biblepay.cameroonone.org/caffec51.htm",
  "Balance": 0,
  "Nickname": "RubeGold"
}

I sent you an e-mail regarding Rube, please reply to that first.

Question on Rube:  You had a prayer in for healing that you prayed for the dead Texas postal worker, but you live in LA.  You said "he was my mailman".  How was he your mailman?

@biblepay I replied to your e-mail days ago (although I'm not sure it is relevant to the specific issue, or is it?).  "he was my mailman" -- please don't take it literally. The postal worker that delivers mail. He is literally not my mailman, but he is everyone's mailman. It is a method to personalize an event so it is more meaningful. The prayer had multiple carriage lines so perhaps the rest of the prayer got cut off.
If you have contention with this, are you implying that you are able to withhold payment for POOM even though I've donated to CameroonONE for two orphans already plus 50k BBP x 2 to authorize sponsorship of children?
Plus I've written three articles already about POOM: https://whitewalr.us/biblepay

So, Sun, why was your nickname Rube, can you explain the reasoning behind that mean spirited nickname?  (Being that your name is Sun, and you are not an inventor, why RubeGold?)
Yes, its relevant to know these answers first, in order to help diagnose your "potential problem" (that  does not appear to be a "problem").
I believe you are being dishonest now- you didn't reply to my email and now you erased the comment that you replied to my email.
Lets look at this prayer:
"prayed for gary's knee paind.  went from 5 to 7."  Isnt this mocking Christianity?  It doesnt even have capitalization and its misspelled.  Did you really pray for a Gary, and his knee got worse?  No, I think you are trying to be funny by mocking us.  (I PRAYED FOR GARY THAT DAY!  And you took my pain numbers and reversed them!)  The reason I say that is there are many prayers you entered that mock and scoff at Christianity.
What Im alluding to is I believe, from what I see, as I uncover each prayer that we should enter a ticket to clawback our BBP back from you.
We didn't create a HEALing campaign to be taken advantage of (by you stealing from us) and making fun of Christians at the same time (making a mockery of our system).  I am leaning towards thinking you owe us these healing payments.
If you want to reply to my email first that I sent days ago lets discuss the healing issue first and lets discuss your replies.  Point being, if you don't have a valid CPK, you don't generate POOM rewards either.
As far as remaining civil, I have not changed Sun.  You will have to consider controlling your temper, repenting of your sins and being honest.    I forgave you of that, but I Did expect an apology.

why RubeGold?

I love the videos on YouTube where people make contraptions.

trying to be funny by mocking

Yes, I agree, perhaps that was in poor attempt at humor.
I've since gotten advice from oncoapop3 and he's helped me make my prayers more meaningful.

Ok, so looking at this POOM payment issue:
You have to wait for the following superblock after your first payment.  So, if you just made these two payments (I see the block paid was less than 24 hours ago), your reward will start regularly as of the next superblock.
Type:
leaderboard true 143935
And you should see 2667 for POOM as of today, meaning as of the block 143935+205 you will receive the actual reward listed (it might be off by 1% due to rounding issues).
If your POOM balance is 0, thats OK, that counts as a credit (IE rewards occur when balances are 0 or lower).
So everything looks OK.
Please let me know if you are happy and if we can close this.

My CPK name used to be RubeGold

Do you know how my CPK can go back to being RubeGold?
In details, it shows Sunk but in ALL in shows RubeGold

Do you know what the following values mean under balance?
I notice only BBP reward is made when balance is 0.
-999
0
40

I don't see POOM payment just now. GSC Transmission sent for CameroonONE on these blocks for me:
Height: 146951
Height: 146946
Height: 146830
19:01:01 |   | leaderboard Sunk 147005
19:01:02 |   | {   "Prominence v1.1": "Details",   "CAMEROON-ONE: BLENRYgVPwzfsrJoJNbvC537qMHsCVyeFU [Sunk], Pts: 0.00": "0.00%",   "HEALING: BLENRYgVPwzfsrJoJNbvC537qMHsCVyeFU [Sunk], Pts: 7364778.00": "1.14%",   "POG: BLENRYgVPwzfsrJoJNbvC537qMHsCVyeFU [Sunk], Pts: 0.00": "0.00%",   "Healing": "Diary Entries",   "Sunk": "prayed for healing of the marriage of m/m after discovery of infidelity. may they grow stronger together discover the forgiveness and healing power of Jesus",   "Prominence": "Totals",   "ALL: BLENRYgVPwzfsrJoJNbvC537qMHsCVyeFU [Sunk], Pts: 7364778.00, Reward: 3886.440": "1.140%" }

@sunk818

Multiple wallets are OK, as long as one is sending an official Cameroon-One transmission per day.
Sending more than one transmission per day for Cameroon is OK.  We will only regard one as valid.
Not sure what you mean by "no tithe went to BB2".  The GSC system requires you to either leave the miner running, or type 'sengscc cameroon-one 1' once per day.
Could you please paste the output of 'exec sentgsc'.  Lets see that so we can look at the transmissions within the 24 hour period that correspond to the 'leaderboard Sunk 147005's height.

On my above post, let me clarify # 3, where you said you didnt Tithe to BB2 in the Cameroon transaction.  I investigated our code, to ensure we dont require a tithe on cameroon (IE, maybe it was possible we skipped zero tithes) - but anyway, no we don't require tithes on cameroons.  If we see a GSC transmission with zero tithe, but its to cameroon, we accept it.    So you are ok in that case anyway.
Moving on to this particular days missing payment, I went ahead and modified the 'exec sentgsc' RPC command to take the CPK and the leaderboard superblock payment height, in case we want to check other cpks.
Here is your CPKs output for that days range.  On a side note, a leaderboard superblock height of 147005 includes GSC transmissions from height 146595 through 146799.  I also added the "range" of the leaderboard into the "leaderboard" RPC output for the next version, so you can see the range easily from the rpc.
So here is the output of exec sentgsc your_cpk 147005 (for range<PHONE_NUMBER>99):
"bcd9fbf7971361526e880c21b634f476d95cf1761dd60079dac5d1bbcbe8669c": "ABN Weight: 192420.71, Height: 146630, Date: 09-22-2019 21:47:40",
"9eea7f93bd62057c21aaf7bf4f6e63c21b1ad734e3aa85f2f965269497f01ee0": "ABN Weight: 178337.48, Height: 146652, Date: 09-23-2019 00:00:48",
"fabbb04ec0447e362b79048fc87291645125cad68eb3d8878de16e7d7a3795bd": "ABN Weight: 231295.37, Height: 146675, Date: 09-23-2019 02:37:29",
"90a97056461e1e5666f4983dce30bfc44edee4e5148cc849bbf80e65ddaae0f2": "Points: 7364778, Campaign: HEALING, CoinAge: 7364778, Donation: 1.00, Height: 146687, Date: 09-23-2019 04:04:06",
"72c6246aa525e81eb8b79b45c80a9f957ae8074f647fb7db7638da872b3da949": "ABN Weight: 130246.27, Height: 146722, Date: 09-23-2019 07:53:27",
Notice how there are No cameroon transmissions in that 205 block range.
You have 4 ABN hits that day and one healing; that explains the single healing payment in the superblock.

Multiple wallets are OK, as long as one is sending an official Cameroon-One transmission per day.

I figured out that two wallets were transmitting GSC for CameroonONE. I had disablegsctransmission=1 but the biblepay.conf was corrupted with line ending being CR only (Macintosh) instead of CRLF. So, my settings were ignored. 146951 donated 1.777 BBP CameroonONE, but 26 minutes later 146951 donated 0. So, my thought is that whatever the last GSC transmission is for CameroonONE is the one that got processed. I think as long as my biblepay.conf doesn't get corrupted, the biblepay.conf parameters should be observed. Once I resaved biblepay.conf for line ending CRLF, this issue went away (only have one wallet send gsc tx).
this is exec sentgsc
{
  "af71362b8e3a382628ac91150e8f2a917ee39262945e7846cea761e979a99e8b": "ABN Weight: 175885.97, Height: 146891, Date: 09-24-2019 03:08:33",
  "3fe81948673d12c27713b67667eea82f51973c96591948c26fee978713b27af3": "ABN Weight: 136160.88, Height: 146893, Date: 09-24-2019 03:21:49",
  "48e56b6080b63deb837897c82c268805f1b6473e20d741bd8689736f2c55abb8": "Points: 6128765, Campaign: HEALING, CoinAge: 6128765, Donation: 1.78, Height: 146909, Date: 09-24-2019 05:15:27",
  "89e5b1c3879050c7f2164fe1ed8cb0c9a781f528044f65b7bdc3e4dc50a07f62": "Points: 0, Campaign: CAMEROON-ONE, CoinAge: 822, Donation: 1.78, Height: 146946, Date: 09-24-2019 09:16:51",
  "1a50ca538ee6546b42f6a3dea2205ddde0d501970779e6f92527a919dd3a0361": "Points: 0, Campaign: CAMEROON-ONE, CoinAge: 692, Donation: 0.00, Height: 146951, Date: 09-24-2019 09:51:52",
  "6e7eb6206f1635f37df5037673c12829c71e384d50e711df0639103a381822ec": "ABN Weight: 144031.45, Height: 146957, Date: 09-24-2019 10:34:27",
  "5073bf9c185ddc9a16ac7d6b1b27c7efc5ca7e347d74c86e09f3924317c1ac89": "Points: 2821348, Campaign: HEALING, CoinAge: 2821348, Donation: 2.78, Height: 147005, Date: 09-24-2019 15:52:22",

this is leaderboard Sunk 147005
{
  "Prominence v1.1": "Details",
  "Block Range": "146595-146800",
  "HEALING: BLENRYgVPwzfsrJoJNbvC537qMHsCVyeFU [Sunk], Pts: 7364778.00": "1.14%",
  "POG: BLENRYgVPwzfsrJoJNbvC537qMHsCVyeFU [Sunk], Pts: 0.00": "0.00%",
  "Healing": "Diary Entries",
  "Sunk": "prayed for healing xxx",
  "Prominence": "Totals",
  "ALL: BLENRYgVPwzfsrJoJNbvC537qMHsCVyeFU [Sunk], Pts: 7364778.00, Reward: 3886.440": "1.140%"
}

On "Child ID": "77563464" Todd said,

"It is showing correctly input on our end. I just re-uploaded
the main file that reflects correctly. Let's see if it adjusts."

Would you happen to know why the sponsored child is showing a balance of 40?
"Child ID": "77563464",
  "CPK": "BLENRYgVPwzfsrJoJNbvC537qMHsCVyeFU",
  "Biography": "https://biblepay.cameroonone.org/bios/77563464.htm",
  "Balance": 40,
  "Nickname": "xxxx",

It looks like 77563464 has two $40 charges  (9-17, and 9-23)  and one $40 payment.  That means this child would have a $40.00 balance.  I assume the problem is you want one $40 charge in September?  Would you like me to ask Todd to remove the 9-23 charge?  The reason I ask is I assume Todd has not charged $40 for October yet (based on the date of the charge).
Let me know if you want me to reach out to him or if you are reaching?

I was told a balance of 40 means that $40 is due. It showed up as balance of 0 (all paid up for month), but then it changed to 40 a day or two later. If you can help, that's great. I just was not sure who needs to review or make the adjustments.
ChildID: 007c26f3
To: Todd @ CameroonONE BHRiFZYUpHj2r3gxw7pHyvByTUk1dGb8vz
Debit: -70<PHONE_NUMBER>0 BBP
Transaction ID: 3041ba1025c0b6031472077a3644c13899db7446ba9ad3cd0afc95c78faa5605
ChildID: 77563464
To: Todd @ CameroonONE BHRiFZYUpHj2r3gxw7pHyvByTUk1dGb8vz
Debit: -70<PHONE_NUMBER>0 BBP
Transaction ID: 021e197c2fa05a7d3478bb3ac2f4c0b666d9460eca52b62bb8f3661d7ef0af14

So to summarize:
Your poom payment was not received because your GSC was not sent.
Your POOM child balance is correct - you currently owe $40.00 based on the charges entered.
A balance of -999 means child is not provisioned.  No poom rewards are paid.

A positive balance means you owe Cameroon and are not applicable for poom rewards.
For transaction history, please see Cameroons payment history interface - as this is your personal sponsored child (the child is not sponsored with BiblePay).


gdb: only install necessary stuff

--- /home/testuser/kiss/community/community/gdb/build
+++ build
@@ -17,4 +17,6 @@
     --disable-nls

 make
-make DESTDIR="$1" install
+
+make -C gdb DESTDIR="$1" install
+make -C gdbserver DESTDIR="$1" install

@Xeno-Hypster
gdb installs a bunch of un-needed stuff that creates alternatives to binutils-provided files, this fixes it

Oh heck I missed the ping for this, sorry.
Cheers, I'll patch the build, always appreciated.


enable 'list shopcarts' and complete 'read shopcarts'

Implemented the function of listing all shopcarts
Ensured the right usage of 'create shopcarts' (not to mess with 'update shopcarts' when it comes to items, some work related to 'update shopcarts' so I haved requested review from TimothyXu)
Completed some tests which cannot be done without implementation of 'read shopcarts'

Maybe due to the previous revert or auto merge mistake, it seems like some codes for 'get shopcarts' disappear from main, and I bring it back now. I think actually revert is also very bad, although it happened because of mistakes.

Agreed I hate to revert too, hopefully won't have to do it again. I'm reviewing now. Thanks for helping sort out the mistakes


change join node role judge

When a node has joined a swarm cluster, cli will judge whether this a manager or worker.
This PR change the judge way that just using info API response field to finish this.
ping @aaronlehmann
Signed-off-by: allencloud<EMAIL_ADDRESS>

LGTM
ping @tonistiigi - do you see any corner cases where this would behave differently?

I think it should be fine on join. There is a possibility that role is manager and controlAvailable is false if there is an error and connection to control api is being reestablished. But that shouldn't happen on joining manager because join doesn't return until this connection is up.
SGTM


[Crash report] Lateinit property textLayout is not initialized at FilterChip#onDraw L291

Overview (Required)

Crash on resuming session list screen, caused by accessing lateinit property textLayout without initialization in FilterChip.

textLayout is initialized at onMeasure procedure.
seems like there's a path to call onDraw without initializing textLayout.

Steps To Reproduce
It's not consistently reproducible but I have observed the issue several times with these steps.

Launch conference app
Lock the device
Unlock after some time

Expected behavior
Resume session list screen without a crash.
Env:

Device: Pixel 4 XL
OS: Android 10
App Version: DeployGate #130 / 1.0.5 (1000500)

@roana0229
Sorry, I give up. I can't reproduce this issue.

Maybe, we can avoid this issue to change lateinit property to nullable property.
https://github.com/DroidKaigi/conference-app-2020/blob/master/corecomponent/androidcomponent/src/main/java/io/github/droidkaigi/confsched2020/ui/widget/FilterChip.kt#L146
However, this workaround is not good because the root cause cannot be fix.
To investigate this issue I want reproduce,  but I can't do.
So, I give up now. Sorry 🙏

No need to apologize 😄
Thank you for your dedicated investigation. 👍


Example description

The description for the second example is wrong. It says that it adds the site to the hub.

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

ID: 62a34e81-3375-ae68-0675-b8a680362e6f
Version Independent ID: 5485c39d-f5fa-bf3f-c860-bdc5759bb997
Content: Remove-PnPHubSiteAssociation (sharepoint-pnp)
Content Source: sharepoint/sharepoint-ps/sharepoint-pnp/Remove-PnPHubSiteAssociation.md
GitHub Login: @techwriter40
Microsoft Alias: kirks

@officedocsbot assign @yogkumgit

Hello @giveitaGo Robert how are you ? 👍
PnP documentation is directly reflected from cmdlet's source code.
I will need to kindly ask you to visit this other repo to open PnP issues/questions. PnP cmdlets are maintained by the community, a member of it will pick it up there.

@get-itips  Thank you very much for the contribution and sharing this explanation. @giveitaGo
Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Easier Sharing

Currently the only way to share route with others is by uploading to github. This is troublesome for people who are not familar with git, or just want to do a one-time quick share
Being able to share routes with a copy-paste service like rentry.co would be nice
Also, maybe allow loading from arbitrary URL? This might have some security risk tho

Added copy paste sharing feature. 3rd party service is unlikely to work bc of CORS


Restart kernel message appears in the wrong spot

Create the interactive window from the command palette. A 'Started kernel' message should appear in the interactive window as a markdown cell
Restart the kernel
🐛 the previous 'Started kernel' message gets overwritten with a 'Restarted kernel' message. The 'Restarted kernel' message should appear in a new cell at the bottom of the history

Closed via https://github.com/microsoft/vscode-jupyter/pull/7340

There's a timing issue here where metadata edits aren't being processed.

Fixed in Jupyter stable release.


Guidance on patching existing secrets

Hey - thanks for a great tool! I have a general usage/guidance type question.
I tried to use an ExternalSecret to update an existing secret - one containing certs used for the UI components of a popular tool. The secret is created by that deployment and is supposed to be updated if customisation is wanted.
As this secret was created outside of KES and not produced/owned by it, I see a failed sync with:
NAMESPACE    NAME                       LAST SYNC   STATUS
dev          argocd-server-tls          1s          ERROR, secrets "argocd-server-tls" is forbidden: cannot set an ownerRef on a resource you can't delete: , <nil>   5m48s

I can cause this to succeed by granting delete permissions (on secrets) to the KES controller via its rbac clusterrole external-secrets-kubernetes-external-secrets.
I'm trying to weigh up the pros/cons of passing this delete permission to the KES clusterrole (via role aggregation). I'm not sure what the downside is, but there must be some... so, my question is, what is the reason why delete is omitted from the role here (I'm using v8.0.1).
Aside - if the above isn't the right approach, is there a native solution for this kind of use case? Or is this just not something KES was built to do? No sweat either way!
Thanks - hope to hear from you.

KES expects to fully own any secret it interacts with and does not support modifying / managing data in existing secrets. Any update or change in the ExternalSecret will overwrite the existing secret.
There's no need for the delete permission for KES as it never deletes any Secrets, deletion of an ExternalSecret by the user would orphan the created Secret which would then be deleted.

Thanks @Flydiverny for the super quick response.
That helped me understand, closing this now. Have a great day!

@piyat
If you are just getting started with KES, you might want to explore ESO (https://external-secrets.io/) the Go rewrite of KES it allows for using a creationPolicy: 'Merge' (https://external-secrets.io/spec/#external-secrets.io/v1alpha1.ExternalSecretCreationPolicy) to update in an existing secret.  ESO is still flagged as alpha but the beta stamp is inching closer.

Thanks for following this up. This does indeed look to be what I'm after. I will try it out.
Again, many thanks @Flydiverny


Default values omitted in returned instance after creation

Package version
4.1.0
Node.js and npm version
Node: 10.15.3, npm: 6.4.1
Sample Code (to reproduce the issue)
I have a table which has a boolean column that defaults to true.
class MechanicSchema extends Schema {
  up() {
    this.create('mechanics', (table) => {
      ...
      table.boolean('is_available').notNullable().defaultTo(true);
      ...
    });
  }
  ...
}

Since it has a default value, it is not mandatory to pass this field while creating an object. I am using create method to create new instance which should return the newly created instance. However, the value of this field is missing from the instance that is returned as seen in below console log:
Mechanic {
  ...
  '$attributes':
   { name: 'Mechanic2',
     date_of_joining: '2019-05-10 00:00:00',
     user_id: 8,
     created_at: '2019-05-11 16:31:09',
     updated_at: '2019-05-11 16:31:09',
     id: 3 },
  '$persisted': true,
  '$originalAttributes':
   { name: 'Mechanic2',
     date_of_joining: '2019-05-10 00:00:00',
     user_id: 8,
     created_at: '2019-05-11 16:31:09',
     updated_at: '2019-05-11 16:31:09',
     id: 3 },
  ...
}

Am I doing something wrong? Please advise on how to get correct output after creation.

I facing the same issue. any update?

Hey all, 👋
You need to reload your model after creating it to get the new value added by your DBMS.
const User = use('App/Models/User')
const user = await User.create(props)

await user.reload()

Closing, as the reply from @RomainLanz fixes the issue


Documentation/packaging: Document metadata-svc and gc systemd units

Add a note about the example systemd unit files for the gc and metadata-service services.
Fixes #1636

@alban Typo. I've made the systemd units section its own heading with the latest change. PTAL.

@alban (cc @jonboulle @robszumski ) I've re-shuffled the headings and moved directory modes out of "run time dependencies".
I have left "offline builds" as a subheading beneath "build-time dependencies", because it seems to belong there.
PTAL again.

I wonder why we don't talk about the src flavour here? @alban

I wonder why we don't talk about the src flavour here? @alban

There is a section "Additional build-time dependencies for the src flavor".
But otherwise, I thought that the "src" flavor was not suitable for distribution packaging because it picks libs from the build host. (cc @vcaputo )

@joshix thanks! LGTM


Create tokens for non-tokenized whitespace when importing from relANNIS

Since the text of the primary data sources is not stored as a label (because this would be huge for some texts), we need another way to reconstruct the original primary text for documents imported from relANNIS. By adding the white space segments as tokens (but with the special node type "white-space-token") and connected them with ordering edges this becomes possible.

@thomaskrause I saw this, and while I have no idea about the implementation and performance details, this sounded really expensive to me, since it effectively doubles the token count. Have you considered using a 'following whitespace' attribute, so that trailing whitespace becomes something like 'one more column' in the data model rather than a token? This is what UD does with SpaceAfter:
https://github.com/UniversalDependencies/UD_English-GUM/blob/master/en_gum-ud-dev.conllu#L15
Just a thought!

Thanks for the hint to the UD implementation of this. I did some smaller benchmarks but still need to test it on a full benchmark set to know for sure. The additional edge component is not that problematic because it's just ignored for search but the node annotation count is going up indeed. For the relANNIS implementation I made sure these token are neither counted for tok or node queries to ensure backward-compatibility. Adding an implementation like the UD solution would also need some additional node annotations for the new category "SpaceAfter", but less than adding a full node: A token node has at least three annotations, the node type, name and the token value, just having the "SpaceAfter" category would only add one node annotation. I will report back when I have the full benchmark done, probably I will also compare the disk-based node annotation storage with the in memory one to see if the overhead in space can be avoided by using the disk.

P.S. Having three additional node annotations instead of only one is of course also a significant overhead. Especially since the node name needs to be unique and therefore will occupy relatively large space in the dictionary. I will try to implement the alternative approach and see how it compares in flexibility.

Great, glad if it helps. You'll also need a possible initial pseudo token if the field always represents trailing whitespace, but I think it could be a solid and fairly minimalistic approach (since you have to have this info somewhere, and adding zero nodes seems to be the most economic). Another way would be to store just a second data structure on the side with pointers to those tokens that have trailing white space. That saves you the empty field for tokens that don't, but gives the overhead of joining the information to the relevant tokens, so it seems less optimal to me (but not knowing about the implementation I don't really know).
Happy to bounce around more ideas if you like!