updated package.json + added typescript as a devDependencies

Hi all. A small contribution.
Updated in package.json:
@astrolib/seo                     ^0.2.0  →   ^0.2.1
@tailwindcss/typography   ^0.5.4  →   ^0.5.7
limax                                   ^v2.1.0  →  ^v3.0.0
subfont                               ^6.9.0  →  ^6.12.0
Added typescript as a devDependency. ( needed for @typescript-eslint/parser )

Thanks @Angra974
In the case of limax, I kept it at ^v2.1.0 due to a bug that is raised on some devices. We have to review this in depth.
✘ [ERROR] No loader is configured for ".node" files<EMAIL_ADDRESS>
    node_modules/@napi-rs/pinyin/index.js:89:36:
      89 │             nativeBinding = require('@napi-rs/pinyin-darwin-arm64')
         ╵                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/Users/pixel/Workspace/onwidget/astrowind/node_modules/esbuild/lib/main.js:1624
  let error = new Error(`${text}${summary}`);
              ^

Error: Build failed with 1 error:
node_modules/@napi-rs/pinyin/index.js:89:36: ERROR: No loader is configured for ".node" files<EMAIL_ADDRESS>    at failureErrorWithLog (/Users/pixel/Workspace/onwidget/astrowind/node_modules/esbuild/lib/main.js:1624:15)
    at /Users/pixel/Workspace/onwidget/astrowind/node_modules/esbuild/lib/main.js:1266:28
    at runOnEndCallbacks (/Users/pixel/Workspace/onwidget/astrowind/node_modules/esbuild/lib/main.js:1046:63)
    at buildResponseToResult (/Users/pixel/Workspace/onwidget/astrowind/node_modules/esbuild/lib/main.js:1264:7)
    at /Users/pixel/Workspace/onwidget/astrowind/node_modules/esbuild/lib/main.js:1377:14
    at /Users/pixel/Workspace/onwidget/astrowind/node_modules/esbuild/lib/main.js:678:9
    at handleIncomingPacket (/Users/pixel/Workspace/onwidget/astrowind/node_modules/esbuild/lib/main.js:775:9)
    at Socket.readFromStdout (/Users/pixel/Workspace/onwidget/astrowind/node_modules/esbuild/lib/main.js:644:7)
    at Socket.emit (node:events:527:28)
    at addChunk (node:internal/streams/readable:315:12) {
  errors: [
    {
      detail: undefined,
      id: '',
      location: {
        column: 36,
        file<EMAIL_ADDRESS>        length: 30,
        line: 89,
        lineText: "            nativeBinding = require('@napi-rs/pinyin-darwin-arm64')",
        namespace: '',
        suggestion: ''
      },
      notes: [],
      pluginName: '',
      text: 'No loader is configured for ".node" files<EMAIL_ADDRESS>    }
  ],
  warnings: []
}


How to fintune model on ASR task from stage-2?

Dear authors,
Can you tell me how to finetune a model trained in stage-2 for ASR task?
We can also draw a conclusion of your paper, for ASR Task, we can directly pretrain stage-2 from scratch without training stage-1?
Looking forward to your reply.
Shylock

Hi Shylock,
For ASR task finetuning, I suggest implementing it using s3prl or espnet.
In our paper, we concluded that initializing stage-2 pre-training with stage-1 weights is not beneficial.
However, training a stage-1 model is still necessary, as the pre-training target for the stage-2 model is constructed by applying k-means clustering to the features from the stage-1 model.

Thanks for your reply. I understand what you mean.


HELP! Serenity

Until yesterday my project work. Now the serenity name is not found in typescript.
Can help me?

Nobody touched your project, so you should find out what changed from yesterday.

Yes, I know, but I have not done changes. Then now I realized that the Scripts\serenity dir is empty.
I copied the files from serene and is ok.
But I really not deleted those files...
The computer science mysteries :D


Install action - obsolete?

It's more of a shortcut than anything. Since the install action is the most common and widely used action. It's bad practice, though.
I'm perfectly fine with removing it. We should decide this in a stakeholder's meeting, I guess.

It OK for me to keep it there


x/build: windows-arm64-11 builder stops working

It stops showing new result on the dashboard. And some new builds fail immediately with something like
  builder: windows-arm64-11
      rev: 998fdce3ae5954735157da43c285022a8bff707f
 buildlet: %!s(<nil>)
  started: 2023-11-01 22:23:24.823000759 +0000 UTC m=+770933.260919300
    ended: 2023-11-01 22:23:31.643393852 +0000 UTC m=+770940.081312402
  success: false

Events:
  2023-11-01T22:23:24Z get_buildlet
  2023-11-01T22:23:31Z finish_get_buildlet after 6.71s; err=500 Internal Server Error; body: remove C:\workdir\go\src\runtime: The process cannot access the file because it is being used by another process.

Build log:

Error: failed to get a buildlet: 500 Internal Server Error; body: remove C:\workdir\go\src\runtime: The process cannot access the file because it is being used by another process.

I'll look into it.
cc @golang/release

Logged into the VM and tried to delete C:\workdir\go\src\runtime (which is an empty folder) with no success. Restarted the VMs. It seems to work now.

The builder seems stuck again, same error message.
I wonder if it has anything to do with #63938 , especially before https://go.dev/cl/538697 . When that test timed out, maybe the process is not completely killed and somehow holds some file open?
I'll look into it.

All commits in that bad range have failed now, every time cause the undeleteable folder and hang the builder. Manually deleted the folder and restarted the buildlet every time.
Hopefully this time it will work. Optimistically call it fixed.


Updating a nested Collection item via em.assign() does not work

Describe the bug
When updating an item of a nested Collection via em.assign(), the change is not persisted when calling em.persistAndFlush().
Steps to reproduce

Define entities:

@Entity()
class Category {
  @PrimaryKey()
  public id: string

  @OneToMany(() => Article, (attr) => attr.category, {
    cascade: [Cascade.ALL],
    orphanRemoval: true,
  })
  public articles = new Collection<Article>(this)
}

@Entity()
class Article {
  @PrimaryKey()
  public id: string

  @ManyToOne(() => Category, {
    primary: true,
    ref: true,
  })
  public category: Ref<Category>

  public [PrimaryKeyType]?: [string, string]

  @OneToMany(() => ArticleAttribute, (attr) => attr.article, {
    cascade: [Cascade.ALL],
    orphanRemoval: true,
  })
  public attributes = new Collection<ArticleAttribute>(this)
}

@Entity()
class ArticleAttribute {
  @PrimaryKey()
  public id: string

  @Property()
  public name: string

  @ManyToOne(() => Article, {
    primary: true,
    ref: true,
  })
  public article: Ref<Article, "id" | "category">

  public [PrimaryKeyType]?: [string, [string, string]]
}

Create entities:

    const em = orm.em.fork()
    const category = new Category()
    category.id = "category1"

    const article = new Article()
    article.id = "article1"
    category.articles.add(article)

    const articleAttribute = new ArticleAttribute()
    articleAttribute.id = "articleAttribute1"
    articleAttribute.name = "nameBeforeUpdate"
    article.attributes.add(articleAttribute)

    await em.persistAndFlush(category)
    em.clear()

Try to update them:

    const plainUpdate: EntityData<Category> = {
      articles: [
        {
          id: article.id,
          category: category.id,
          attributes: [
            {
              id: articleAttribute.id,
              article: [article.id, category.id],
              name: "nameAfterUpdate",
            },
          ],
        },
      ],
    }

    const loaded = await em.findOneOrFail(
      Category,
      { id: category.id },
      { populate: true },
    )

    em.assign(loaded, plainUpdate, { mergeObjects: true })
    await em.persistAndFlush(loaded)
    em.clear()

Expected behavior
The entities are updated in the database. articleAttribute1.name is "nameAfterUpdate".
    const updated = await em.findOneOrFail(
      Category,
      { id: category.id },
      { populate: true },
    )
    console.dir(wrap(updated).toPOJO().articles, { depth: 3 })

[
  {
    id: 'article1',
    category: { id: 'category1' },
    attributes: [
      {
        id: 'articleAttribute1',
        article: [Object],
        name: 'nameAfterUpdate'
      }
    ]
  }
]

Actual behavior
articleAttribute1.name is still "nameBeforeUpdate"
[
  {
    id: 'article1',
    category: { id: 'category1' },
    attributes: [
      {
        id: 'articleAttribute1',
        article: [Object],
        name: 'nameBeforeUpdate'
      }
    ]
  }
]

Additional information
The error seems to occur when persisting. Calling console.dir(wrap(loaded).toPOJO().articles, { depth: 3 }) after em.assign(loaded, plainUpdate, { mergeObjects: true }) produces the expected output.
Versions

Dependency
Version

node
14.17.3

typescript
4.9.4

@mikro-orm/core
5.6.12

@mikro-orm/mysql
5.6.12

I see it again and again, so let me say this: mergeObjects does not have any effect on your code, it is only for object merging of JSON properties, with no effect on entities/relations. And its default is true...
I'd also appreciate reproductions as a single script, it only adds time when you split it into multiple code blocks without imports :] Even better, if your reproduction is based on some previous one, send a PR adjusting the existing test.

I see it again and again, so let me say this: mergeObjects does not have any effect on your code, it is only for object merging of JSON properties, with no effect on entities/relations. And its default is true...

I wasn't aware that it defaults to true. Thanks for the information.

I'd also appreciate reproductions as a single script, it only adds time when you split it into multiple code blocks without imports :] Even better, if your reproduction is based on some previous one, send a PR adjusting the existing test.

I'll keep it in mind for the future.


Vulnerabilities found

removed

Sorry I wasn't aware of them. Please disclose vulnerabilities responsibly in private so the author can actually address them.

This is a couple websites that display the known vulnerabilities for this module for those who are looking:
https://snyk.io/node-js/basic-auth (reports "No known vulnerabilities" at this time of posting)
https://www.npmjs.com/advisories (not currently searchable or has a page for this module at time of posting)

New versions of npm will also automatically audit installed packages being installed and the npm audit` command can give a detailed report. Here is the current version of this module as an example at the time of this posting:
$npm install basic-auth
+<EMAIL_ADDRESS>added 2 packages from 1 contributor and audited 2 packages in 0.972s
found 0 vulnerabilities

$ npm audit

                       === npm audit security report ===

found 0 vulnerabilities
 in 2 scanned packages


File "/home/gussand/github/mentat/mentat/app.py", line 117

Hi:
Great demos, but when I installed from github and tried to run my local copy I always get this error. I created it's own virtual environment and all.  Any ideas?
Thank you so much! Very excited to try it.
[1] % mentat .
Traceback (most recent call last):
File "/home/gussand/.venv/bin/mentat", line 5, in
from mentat.app import run_cli
File "/home/gussand/github/mentat/mentat/app.py", line 117
match user_response.lower():
^
SyntaxError: invalid syntax

You're using a version of python before python 3.10 (where match statement was added). Try updating your python version and it should work!

Thanks for the quick response. That's what I thought initially, but:
[0] % python --version
Python 3.9.12

So it seems that match is only supported in 3.1. So I will have to change to using if else... :(
And also in code_change.py

Python 3.10 is the version after 3.9; version numbers aren't decimals (no matter what they look like, haha), so version 3.10 != version 3.1. I would recommend just updating python to 3.10, since there might be other features from 3.10 that we use.


Create a new terminal when running active in task terminals

Fixes #170715

think you meant to link to #170715

Fixed


add stat.q to sample/q

example source file for language q

Looks like this may be related to https://github.com/github/linguist/pull/3398. Closing this PR in favour of you completing that PR which is where this sample file should be added.


[Impeller] The API should disallow creating separate depth and stencil attachments.

This is only available when using extensions in Vulkan and it tricky to do in other APIs as well. We should not allow this usage.

FYI the depth and stencil is combined in Flutter GPU.
Do any backends actually support having a depth and stencil attachments with separate textures? IIRC Metal throws a validation error when you do this, but maybe that's just for a subset of devices.

I don't think this is something we should support out of the box. Support is extremely spotty.


hs_core views dunder init imports fragile

The imports for init.py in hs_core/views are not sorted/listed properly. However, if you do sort them properly all sorts of thing break, like making groups public, creating resources. Consider optimizing imports and getting them in proper order, while refactoring to ensure functionality is maintained and nothing breaks.
Existing imports:
from __future__ import absolute_import
import json
import datetime
import pytz
import logging

from drf_yasg.utils import swagger_auto_schema

from django.core.mail import send_mail
from django.contrib.auth import authenticate, login as auth_login
from django.contrib.auth.decorators import login_required
from django.contrib.auth.models import Group, User
from django.contrib.sites.models import Site
from django.contrib import messages
from django.utils.decorators import method_decorator
from django.core.exceptions import ValidationError, PermissionDenied, ObjectDoesNotExist
from django.http import HttpResponseRedirect, HttpResponse, JsonResponse, \
    HttpResponseBadRequest, HttpResponseForbidden
from django.shortcuts import get_object_or_404, render, redirect
from django.core import signing
from django.db import Error, IntegrityError
from django import forms
from django.views.generic import TemplateView
from django.core.urlresolvers import reverse
from django.forms.models import model_to_dict

from rest_framework import status
from rest_framework.decorators import api_view

from mezzanine.conf import settings
from mezzanine.pages.page_processors import processor_for
from mezzanine.utils.email import subject_template, send_mail_template

from autocomplete_light import shortcuts as autocomplete_light
from inplaceeditform.commons import get_dict_from_obj, apply_filters
from inplaceeditform.views import _get_http_response, _get_adaptor
from django_irods.icommands import SessionException

from hs_core import hydroshare
from hs_core.hydroshare.utils import get_resource_by_shortkey, resource_modified, resolve_request
from .utils import authorize, upload_from_irods, ACTION_TO_AUTHORIZE, run_script_to_update_hyrax_input_files, \
    get_my_resources_list, send_action_to_take_email, get_coverage_data_dict

from hs_core.models import GenericResource, resource_processor, CoreMetaData, Subject
from hs_core.hydroshare.resource import METADATA_STATUS_SUFFICIENT, METADATA_STATUS_INSUFFICIENT, \
    replicate_resource_bag_to_user_zone, update_quota_usage as update_quota_usage_utility

from . import resource_rest_api
from . import resource_metadata_rest_api
from . import user_rest_api
from . import resource_folder_hierarchy

from . import resource_access_api
from . import resource_folder_rest_api
from . import debug_resource_view
from . import resource_ticket_rest_api
from . import apps

from hs_core.hydroshare import utils

from hs_core.signals import *
from hs_access_control.models import PrivilegeCodes, GroupMembershipRequest, GroupResourcePrivilege, GroupAccess

from hs_collection_resource.models import CollectionDeletedResource

Properly Sorted Might Look Something Like This (but with fixes for breaking changes):
from __future__ import absolute_import

import datetime
import json
import logging

import pytz
from autocomplete_light import shortcuts as autocomplete_light
from django import forms
from django.contrib import messages
from django.contrib.auth import authenticate, login as auth_login
from django.contrib.auth.decorators import login_required
from django.contrib.auth.models import Group, User
from django.contrib.sites.models import Site
from django.core import signing
from django.core.exceptions import ValidationError, PermissionDenied, ObjectDoesNotExist
from django.core.mail import send_mail
from django.core.urlresolvers import reverse
from django.db import Error, IntegrityError
from django.forms.models import model_to_dict
from django.http import HttpResponseRedirect, HttpResponse, JsonResponse, \
    HttpResponseBadRequest, HttpResponseForbidden
from django.shortcuts import get_object_or_404, render, redirect
from django.utils.decorators import method_decorator
from django.views.generic import TemplateView
from drf_yasg.utils import swagger_auto_schema
from inplaceeditform.commons import get_dict_from_obj, apply_filters
from inplaceeditform.views import _get_http_response, _get_adaptor
from mezzanine.conf import settings
from mezzanine.pages.page_processors import processor_for
from mezzanine.utils.email import subject_template, send_mail_template
from rest_framework import status
from rest_framework.decorators import api_view

from django_irods.icommands import SessionException
from hs_access_control.models import PrivilegeCodes, GroupMembershipRequest, GroupResourcePrivilege, GroupAccess
from hs_collection_resource.models import CollectionDeletedResource
from hs_core import hydroshare
from hs_core.hydroshare import utils
from hs_core.hydroshare.resource import METADATA_STATUS_SUFFICIENT, METADATA_STATUS_INSUFFICIENT, \
    replicate_resource_bag_to_user_zone, update_quota_usage as update_quota_usage_utility
from hs_core.hydroshare.utils import get_resource_by_shortkey, resource_modified, resolve_request
from hs_core.models import GenericResource, resource_processor, CoreMetaData, Subject
from hs_core.signals import *
from . import apps
from . import debug_resource_view
from . import resource_access_api
from . import resource_folder_hierarchy
from . import resource_folder_rest_api
from . import resource_metadata_rest_api
from . import resource_rest_api
from . import resource_ticket_rest_api
from . import user_rest_api
from .utils import authorize, upload_from_irods, ACTION_TO_AUTHORIZE, run_script_to_update_hyrax_input_files, \
    get_my_resources_list, send_action_to_take_email, get_coverage_data_dict

Covered by https://github.com/hydroshare/hydroshare/issues/3929 the person working 3929 should look at the larger picture and see that the file needs to be separated out and cleaned up.

Covered by https://github.com/hydroshare/hydroshare/issues/3929 the person working 3929 should look at the larger picture and see that the file needs to be separated out and cleaned up.


feat: clickable badges, new UI behavior for clickable badge

Summary of Changes
Add overlay to clickable badges on hover and press. Related to this PR.
Tests
N/A
Documentation
N/A
CheckList
Make sure you have checked all steps below to ensure a timely review.

[ ] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[ ] PR includes a summary of changes, including screenshots of any UI changes.
[ ] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public python functions and the classes in the PR contain docstrings that explain what it does

[ ] PR passes all tests documented in the developer guide

Codecov Report

Merging #528 into asuarezmiranda-clickable-badges will decrease coverage by 5.56%.
The diff coverage is 75.00%.

@@                         Coverage Diff                         @@
##           asuarezmiranda-clickable-badges     #528      +/-   ##
===================================================================
- Coverage                            81.27%   75.71%   -5.57%
===================================================================
  Files                                  230       42     -188
  Lines                                 5763     1816    -3947
  Branches                               687      174     -513
===================================================================
- Hits                                  4684     1375    -3309
+ Misses                                1014      391     -623
+ Partials                                65       50      -15

Impacted Files
Coverage Δ

amundsen_application/api/utils/metadata_utils.py
87.36% <75.00%> (-3.71%)
:arrow_down:

...js/components/SearchPage/SearchFilter/constants.ts

...dsen_application/static/js/ducks/bookmark/sagas.ts

...atic/js/components/Feedback/FeedbackForm/index.tsx

...on/static/js/components/AnnouncementPage/index.tsx

...dsen_application/static/js/ducks/bookmark/types.ts

...on/static/js/components/DashboardPage/constants.ts

amundsen_application/static/js/ducks/tags/sagas.ts

...ts/SearchPage/SearchFilter/FilterSection/index.tsx

... and 175 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dcb8f3c...757ef87. Read the comment docs.


Permit # all caps

Is there any way we can have the Permit number (under vessel information) appear in all caps? The keyboard should come up as all caps so the user enters any letters as capital.

Hey there! Can I help you on this one as part of Hacktoberfest 2020?


Don't have libGL with conda (in Docker)

Hi Jon,
I tried installing cad-to-dagmc but can't run anything.
Here's my Dockerfile
FROM continuumio/miniconda3

RUN conda config --add channels conda-forge

RUN conda install mamba && \
    mamba install -c conda-forge openmc && \
    mamba install -c fusion-energy -c cadquery -c conda-forge cad_to_dagmc

When running from cad_to_dagmc import CadToDagmc, I have the following error:
  File "/home/convert_cad.py", line 5, in <module>
    from cad_to_dagmc import CadToDagmc
  File "/opt/conda/lib/python3.9/site-packages/cad_to_dagmc/__init__.py", line 1, in <module>
    from .core import CadToDagmc
  File "/opt/conda/lib/python3.9/site-packages/cad_to_dagmc/core.py", line 4, in <module>
    from cadquery import importers
  File "/opt/conda/lib/python3.9/site-packages/cadquery/__init__.py", line 10, in <module>
    from .occ_impl.geom import Plane, BoundBox, Vector, Matrix, Location
  File "/opt/conda/lib/python3.9/site-packages/cadquery/occ_impl/geom.py", line 5, in <module>
    from OCP.gp import (
ImportError: libGL.so.1: cannot open shared object file: No such file or directory

Maybe the installation instructions should be extended to include libGL?

Or maybe it's due to the fact that I try to have openmc with this environment?

Adding
RUN apt-get update
RUN apt-get install ffmpeg libsm6 libxext6  -y

Seems to solve the problem...

i just wondered if it was worth mentionning this in the install instructions or if this was just a me problem


Namespace in singleton give "Script does not inherit a Node"

Godot version:

3.3  mono stable
OS/device including version:

Debian 10
Issue description:

If I add a namespace in my singleton CS script I have this error when i run the scene
Steps to reproduce:
Run a scene with a script attached using a namespace into script
Minimal reproduction project:

NA I think is easy to check - any mono project you have is good to reproduce it - but if you need I can prepare one from  scratch

Duplicate of https://github.com/godotengine/godot/issues/36787.


Am I making my file wrong or my understanding of GED is wrong?

So I have 2 graph, I think the distance should be 1, but ./ged gives me 3
wg25r@vultr:~/CMT/Graph_Edit_Distance$ cat data.txt;echo "----";cat q.txt
t 1 methane
v 1 carbon1
v 2 H1
v 3 H2
v 4 H3
v 5 H4
e 1 2 1
e 1 3 2
e 1 4 3
e 1 5 4
----
t 1 Chloromethane
v 1 carbon1
v 2 H1
v 3 H2
v 4 H3
v 5 Cl
e 1 2 1
e 1 3 2
e 1 4 3
e 1 5 4
wg25r@vultr:~/CMT/Graph_Edit_Distance$ ./ged -d data.txt -q q.txt -g
**** GED (Release) build at 04:15:36 May 25 2022 ***
Usage: ./ged -h -d database_file -q query_file -m running_mode -p search_paradigm -l lower_bound_method -t ged_threshold
**** Note that for GED verification, if the returned value is not -1, then it is only an upper bound of (and may be larger than) the exact GED

*** search astar BMao -1: data.txt q.txt ***
*** GEDs ***
[100% finished]3

*** GEDs ***
min_ged: 3, max_ged: 3
Total time: 1,113 (microseconds), total search space: 1
 #candidates: 1, #matches: 1

vertex id should start from 0. I think this caused the problem.

Problem solved! Thank you


Crash on version 2024.131.0

crashes when joining a map.
here are the first few lines of the error:
[error]: An unhandled error has occurred.
[error]: System.MissingMethodException: Method not found: 'osu.Framework.Bindables.Bindable`1 osu.Framework.Graphics.UserInterface.CircularProgress.get_Current()'.
[error]: at osu.Game.Rulesets.Soyokaze.Skinning.SkinnableHoldProgress..ctor()
[error]: at osu.Game.Rulesets.Soyokaze.Objects.Drawables.DrawableHold.load()
[error]: at osu.Game.Rulesets.Soyokaze.Objects.Drawables.DrawableHold.<>c.b__25_0(Object t, IReadOnlyDependencyContainer d)

just loads forever

Thanks for the notification! Seems the auto-updater stopped working because osu! moved to a new .NET version, which I had no idea about. Should be fixed with latest release (#171).


Allow plugins to register blade components

Plugins should be able to register components and coresponding classes and templates. Related to #10

Is this possible yet? Also is there a way to register anonymous components? @fabianmichael

@samlinck Don’t know to be honest, since I personally habe moved away from using blade in new projects. But as far as I remember I used this in some form. But since I don’t plan to make any further contributions to this plugin and I don’t think that @lukasleitsch has the time to bring this issue forward, I am closing this issue now. Sorry.


FALCON-1973 : Falcon build failure due to checkstyle issue

Please review the following pull request in which Falcon build failure is happening with checkstyle issue from the FALCON-1964 patch.

+1 looks good


CCXT Pair Converter may not be available for people in the US

It seems like the Binance Public API has been geolocked for the US. Since Binance is the default exchange for the CCXT pair converter, pricing might not be available for those using Dali-RP2 in the US.
We need another default exchange. Kraken is good candidate, but fetching pricing is really slow.

 Kraken seems like a good alternative and hopefully caching will help with slowness issues.

It's just a simple line change. But, any prices from the last full quarter on (currently Q42022~) will take 5 seconds to retrieve.
The KuCoin API seems more responsive and has more markets, but prices start 9/2017. Kraken has a deeper history.
Can you access Binance's CSV files? Can you click the link and see if you are locked out? That is another option as well.
Obviously, it would beneficial for users to set this as a parameter as well.

Should we implement #61 to fix this? That would give users full flexibility to choose what they want, I think. I can access the Binance CSV files you linked.

This has been resolved with #115 .


PDF Formatting

Need someone to fix up the PDF formatting so that the data looks nice and organized.

Is this issue still open ? Would like to help.

@toms3t  hi, I can do the required modifications. Let me know if this is still open :)

Hi is this still open..
Would like to work on it

Hi Prakhar,
Zillow has discontinued their API so I’m working on finding a new source. If you can work on the PDF formatting without the data, go for it!
On Oct 11, 2022, at 1:41 PM, PrakharMundra @.***> wrote:

Hi is this still open..
Would like to work on it
—
Reply to this email directly, view it on GitHubhttps://github.com/toms3t/Propalyzer/issues/106#issuecomment-1275052955, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACRKKXIFZCVJGDMZZMOENSTWCWRDDANCNFSM4SVGCZCQ.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @toms3t were you able to find a new source? I'd like to work on this.

Hi Meet, I found a new data source. I’ll be writing up the new README in the next day or two. Stay tuned!
On Oct 19, 2022, at 7:01 AM, Meet Parekh @.***> wrote:

Hi @toms3thttps://github.com/toms3t were you able to find a new source? I'd like to work on this.
—
Reply to this email directly, view it on GitHubhttps://github.com/toms3t/Propalyzer/issues/106#issuecomment-1283826666, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACRKKXOOPGYSFVW74HATEWLWD7IHRANCNFSM4SVGCZCQ.
You are receiving this because you were mentioned.Message ID: @.***>

That's great ! I'd like to work on this so please assign this to me once you are done updating the Readme.

@Pmeet - PR is complete into Main. The site it back up and ready for you to work on the PDF formatting.

@toms3t I don't see a PR linked to this issue. is this still open?

hey @toms3t is this still open? I would be happy to work on this


Can't load agent in other namespace.

Run two containers.
One was privileged container (docker run  -it --privileged=true --pid=host openjdk-8-jdk  bash)
I copy jattach into privileged container.
I have copied the file(agent.jar) to another container(spring project) before executing the command
jattach  28509 load instrument false "/agent.jar"
root@a83b8d5684cf:/dosec/memshell_detect# jattach  28509 load instrument false "/agent.jar"
Connected to remote JVM
Response code = 0
return code: 102

pid = 28509 is another container which run springboot demo. I get this pid by docker inspect xxx | grep -i "pid"
container  log
The result is the same, whether the container jdk is 8 or 11
2021-05-16 06:52:43.266  INFO 1 --- [           main] com.example.demo.DemoApplication         : Starting DemoApplication v0.0.1-SNAPSHOT using Java 11.0.11 on 1047004b4806 with PID 1 (/app.jar started by root in /)
2021-05-16 06:52:43.268  INFO 1 --- [           main] com.example.demo.DemoApplication         : No active profile set, falling back to default profiles: default
2021-05-16 06:52:43.884  INFO 1 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8080 (http)
2021-05-16 06:52:43.893  INFO 1 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2021-05-16 06:52:43.893  INFO 1 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.45]
2021-05-16 06:52:43.929  INFO 1 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2021-05-16 06:52:43.929  INFO 1 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 623 ms
2021-05-16 06:52:44.056  INFO 1 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'
2021-05-16 06:52:44.183  INFO 1 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8080 (http) with context path ''
2021-05-16 06:52:44.191  INFO 1 --- [           main] com.example.demo.DemoApplication         : Started DemoApplication in 1.218 seconds (JVM running for 1.618)
Exception in thread "Attach Listener" java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:513)
        at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(InstrumentationImpl.java:535)
Caused by: java.lang.NullPointerException
        at cn.dosec.copagent.Agent.catchThief(Agent.java:79)
        at cn.dosec.copagent.Agent.agentmain(Agent.java:22)
        ... 6 more
Agent failed to start!

Is it possible load agent by this way?

jattach did its job - the agent has been successfully loaded into the target process.
As you can see in the stack trace, it's the agent code being executed:
Caused by: java.lang.NullPointerException
        at cn.dosec.copagent.Agent.catchThief(Agent.java:79)
        at cn.dosec.copagent.Agent.agentmain(Agent.java:22)

Looks like a problem in the agent code.

Thanks,I forgot to pass in the parameters。


New version: Tencent.VooVMeeting version <IP_ADDRESS>0

Created by 🥟 Dumplings in workflow run #6946.

Log
Updated: <IP_ADDRESS>0 → <IP_ADDRESS>0
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

/azp run


URL in description and README broken

The URL in the repository description and README are pointing to github-training-workshops's copy of the game instead of yours.
Please fix both, so they point to your copy of the game at https://github-training-workshops.github.io/github-games-cody-carlson.

Issue resolved!


Remove OBC references from UTXO readme

Removes OBC references from the UTXO example chaincode readme. Also, updates URL to the example Java client.

Signed-off-by<EMAIL_ADDRESS>

LGTM
Reviewed-by: Greg Haskins<EMAIL_ADDRESS>


SpanFocusQuery() needs to sort spans

Currently spans returned by focus() are not guaranteed to be sorted, but a lot of queries rely on that property. There are two cases that are problematic and force the use of forward-looking span caches:
a) The span ...{1:...}... is modified using focus(1:...). A following span {1:...}... has the class 1 in a preceding position.
b) The span ...{1:...}...{2:...}... is modified using focus(2:...), but still contains a class 1. Now, if the span is again modified using focus(1:...) a preceding match span may be ...{2:...}...{1:...}..., so the second class 1 may precede the first class 1.
There is now a failing test TestFocusIndex#testFocusSorting in the focus-sort branch.
P.S. This issue refers to #169 in our old Trac ticket system.

Rebased and part of master.

Thank you! Yes, you can remove the focus-sort branch.
I will update the wrapper to use the sorted FocusSpans. I don't think the solution is perfect, as it operates on a fixed window size, so it's easy to create a broken test (that will skip a correct match without a warning for the user), but it's definitely better than no sorting.

yes otherwise, all the matches in a doc has to be collected and sorted.

Only in the worst case, I think. The wrapping query is guaranteed to be sorted, so when it moves forward, all spans in the priority queue with start position smaller than the new start position of the wrapping query can be released, I assume. In most real cases this will make the window smaller than 10 (like focussing on the noun in an np).

For the very common case of the text being the wrapping query of the focus operation (which is done for right extending queries automatically), I will introduce a special handling, as a Within query is theoretically a "maybeUnsorted" query, but in this case, it is guaranteed to be sorted.

Improvement adopted in https://github.com/KorAP/Krill/commit/8c67615a491e4c61e5bbd6d6cfe8d5a5517990e6 .

The wrapping query is guaranteed to be sorted, so when it moves forward, all spans in the priority queue with start position smaller than the new start position of the wrapping query can be released, I assume.

Thanks for the suggestion! It has been implemented in 8c67615a491e4c61e5bbd6d6cfe8d5a5517990e6.
Focus-sort branch has been removed.

The wrapping algorithm for sorting focus spans is now a bit cautious, but should work. A focus query requires sorting when the operand
Subqueries are marked as "maybeUnsorted", in case they are

relation queries
within queries (but not match or startswith)
have relevant "maybeUnsorted" operands

This is also true for subqueries that do not contain any classes, so this should be optimized. There are probably more cases where sorting is not relevant.

The wrapping mechanism was added in https://github.com/KorAP/Krill/commit/a26184e949df2e4228d44ac0304659ce6531cbd3 .


return db value if layer is stale

Return the layer from the database if it's stale.

closing to point towards master instead


[FEATURE] control eww through socket

Description of the requested feature
it would be nice to control eww through socket, this lets ppl make wrappers for the socket and possibly allow to config eww  in any language
it would let eww work more like the awesomewm widget system
Proposed configuration syntax
No response
Additional context
No response

How would that work? the Eww CLI already connects to the eww daemon through socket-based IPC, so in that sense that's already how it works -- eww update is a good example of how you can control your eww instance from any outside language. Eww, at it's core, is a declarative system that is primarily concerned about its state management, so just going "pls render a square here uwu" won't quite work out in that architecture, although you can always have a literal widget and then use eww update to set the contents of that dynamically from anywhere

i was talking about the "pls render a square here uwu" type of socket so you can possibly make a proper widget without ever writing any yuck.
if its not possible with how eww works, well looks like i gotta learn yuck then

How would that work? the Eww CLI already connects to the eww daemon through socket-based IPC, so in that sense that's already how it works -- eww update is a good example of how you can control your eww instance from any outside language. Eww, at it's core, is a declarative system that is primarily concerned about its state management, so just going "pls render a square here uwu" won't quite work out in that architecture, although you can always have a literal widget and then use eww update to set the contents of that dynamically from anywhere

What if the socket was didn't support the lower-level kinds of controls that the daemon does but instead just sat above a sandbox shell that could rewrite files, make daemon command invocations, etc.?
If the socket was just a dirty hack, and only required work on the serialization/deserialization to support intentional behavior, I would think this gets a lot easier.

If you're talking about updating the UI directly, there's the literal widget -- that's more or less directly what you're asking for. just set the content to some variable, and then use eww update to change the displayed contents through the socket.


Webpack 2 is not able to handle files with no exports

Do you want to request a feature or report a bug?

Bug

What is the current behavior?

Webpack is not able to proceed when a file does not contain any export's but the file is re-exported by another file.

export * from './file-with-no-exports.js';

If the current behavior is a bug, please provide the steps to reproduce.

I've created a small repository to reproduce the issue. Please take a look at it
See https://github.com/DevVersion/webpack2-bug-no-exports

What is the expected behavior?

Webpack 2 should be still able to handle exports from other files

Referencing https://github.com/angular/material2/issues/2401

Add export {} (exports nothing, not empty object) as a workaround.
Webpack still has to be able to support commonjs modules so the lack of import or export cannot be made into an error, like TypeScript's isolatedModules option...
export * from also can't just reject modules webpack thinks are commonjs as they may be babelmodules

@Kovensky Unless exporting an empty file is defined as invalid by the modules spec this is a bug.
In the @angular/material case its a third party lib so if the author won't fix it it won't work...

Can we get some feedback on this @d3viant0ne @TheLarkInn?

This is a bug that happens in this combination of exports:
export { x } from "a" -> export * from "b" -> export * from "c" -> c is a commonjs module not exporting x.
In this case a incorrectly exports x = undefined which overrides/hiddes other exports of x in a.

@DevVersion - Looks like you got one better ^^ :)

Note that an empty module (or any module without import or export statement) is threaded as commonjs module and disables tree shaking and other harmony optimizations for all module reexporting all exports (export *).
We cannot say anything about the exports of a commonjs module, so we cannot say anything about the exports of a module reexporting all exports of the commonjs module.

@sokra - Cheers for the quick turn around on this one :) All us Material junkies thank you in advance

@sokra RC3!!! so soon! THANK YOU!


[Bug]: It is impossible to bump compatibility level if you mutually depend on another module.

What happened?
Trying to add rules_pkg/1.0.0, which bumps compatibility_level.
Presubmit fails:

https://github.com/bazelbuild/bazel-central-registry/pull/2180
https://buildkite.com/bazel/bcr-presubmit/builds/6179#0190084e-eb88-447c-9f83-9c84070c8fca
Protobuf depends on us at capability level 1.
Since this is a breaking change, we are at level 2.
We depend transitively on protobuf but don't use it.

So, the obvious problem with enforcing this

If I bump protobuf to depend on the new version, that will fail because this is not submitted yet.
If I include protobuf in rules_pkg/MODULE.bazel, I suspect that won't help, because we'll still be at mismatched levels.

Version
module(
name = "rules_pkg",
version = "1.0.0",  # Must sync with version.bzl.
compatibility_level = 2,
repo_name = "rules_pkg",
)
Do not update to newer versions until you need a specific new feature.
bazel_dep(name = "rules_license", version = "0.0.7")
bazel_dep(name = "rules_python", version = "0.31.0")
bazel_dep(name = "bazel_skylib", version = "1.4.2")
Only for development
bazel_dep(name = "platforms", version = "0.0.9", dev_dependency = True)
bazel_dep(name = "rules_cc", version = "0.0.9", dev_dependency = True)
bazel_dep(name = "stardoc", version = "0.6.2", dev_dependency = True)
Find the system rpmbuild if one is available.
find_rpm = use_extension("//toolchains/rpm:rpmbuild_configure.bzl", "find_system_rpmbuild_bzlmod", dev_dependency = True)
use_repo(find_rpm, "rules_pkg_rpmbuild")
register_toolchains(
"@rules_pkg_rpmbuild//:all",
dev_dependency = True,
)
How to reproduce
https://github.com/bazelbuild/bazel-central-registry/pull/2180

Any other information?
No response

Possible solution:

Allow bazel_dep(min_version="...", [max_version="..."])
This would just make sure we get any version of the package at least min_version.
and no more than max_version

rules_proto only cares about the most backwards portable pieces of rules_pkg, so it would set min_version="0.1.0".   Then it could pick up either the 0.x series or the 1.x series.
Another solution:
Loops in module dependencies that come back to different compatibility levels are allowed, with a warning message.
Or that the compatibilty_level of anything specified in the project MODULE.bazel wins in favor of any explicit versions called out transitively. Maybe that happens in general, but not if the compat level is in the module() stanza.

Allow bazel_dep(min_version="...", [max_version="..."])

We already have this: https://bazel.build/rules/lib/globals/module#bazel_dep.max_compatibility_level

OK. That is half the battle. But the problem remains that I have to modify rules_proto to push my new version of rules_pkg.  That is a lot of friction.

Well, yes... I don't know what your expected outcome is. If you upload a version of rules_pkg which transitively depend on some rules_proto, you need to at least depend on a rules_proto that can work with the rules_pkg you're uploading. That seems reasonable to me.
 Bazel's default here is to be safe and disallow multiple compatibility levels to coexist -- the other alternatives are bad in their own ways.

Closing as this doesn't seem actionable -- we can reopen if you have other suggestions.

This is actionable.  We could change the repository update to be able to
ignore bzlmod loops that don't matter.
On Tue, Jul 23, 2024 at 6:37 PM Xùdōng Yáng @.***>
wrote:

Closing as this doesn't seem actionable -- we can reopen if you have other
suggestions.
—
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/bazel-central-registry/issues/2232#issuecomment-2246423348,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXHHHFN7OM4ECYPBETDL6TZN3LJZAVCNFSM6AAAAABJE4OUPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBWGQZDGMZUHA
.
You are receiving this because you authored the thread.Message ID:
<bazelbuild/bazel-central-registry/issues/2232/2246423348
@.***>


(feature) Add a kafka data exporter

Requirements
Add a kafka data exporter but this time since we are using an async system we should produce an event everytime someone is calling a variation.

Hello!
Do you still need help with this?

Hello @MattSilvaa,
I did not start anything around that, so if you want to help it would be awesome.

Hello Thomas!
Is this feature still needed ?
Kind regards,
David

Hey @davidaparicio yes this feature is still needed.
Would you be interested to implement it?

Yes, why not to try to implement it ;)

/assigne-me

/assign-me


IGNITE-16534 Make BplusMetaIo abstract

https://issues.apache.org/jira/browse/IGNITE-16534

@ibessonov Could you review it?


Download manager server filter duplicates server names

Describe the bug
The download manager server filter isn't useful. It contains the same server name multiple times in the filter.
What operating system and which version? macOS 11.4 (20F71)
Which version of Rocket.Chat (Server)? 3.18.0
Which version of Rocket.Chat.Electron (Electron/Desktop)? 3.5.6
Is there any setting relevant changed?
To Reproduce
Steps to reproduce the behavior:

Open download manager
Click on server dropdown

Expected behavior
Only one option per server should exist.
Screenshots

Hey @wreiske I think that this problem is fixed. Just tested and this doesn't happens. I will close the issue but if it persists please tell me to reopen it.


bugfix Fix thread safety issue in BaseTablet destructor

What problem does this PR solve?
Core Dump
(gdb) bt
#0  0x000055f476bcda1d in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x7f1187acbb00)
    at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:168
#1  std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (this=0x7f12bbeaac98)
    at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:702
#2  std::__shared_ptr<doris::MetricEntity, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr (this=0x7f12bbeaac90)
    at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1149
#3  doris::BaseTablet::~BaseTablet (this=0x7f12bbeaac10) at /root/be/src/olap/base_tablet.cpp:53
#4  0x000055f476beabbb in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x7f12bbeaac00)
    at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:168
#5  std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (this=0x7f11b8d046c8)
    at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:702
#6  std::__shared_ptr<doris::Tablet, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr (this=0x7f11b8d046c0)
    at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1149
#7  std::destroy_at<std::shared_ptr<doris::Tablet> > (__location=0x7f11b8d046c0)
    at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_construct.h:88
#8  std::_Destroy<std::shared_ptr<doris::Tablet> > (__pointer=0x7f11b8d046c0)
    at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_construct.h:138
#9  std::_Destroy_aux<false>::__destroy<std::shared_ptr<doris::Tablet>*> (__first=0x7f11b8d046c0, __last=0x7f11b8d04c80)
    at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_construct.h:152
#10 std::_Destroy<std::shared_ptr<doris::Tablet>*> (__first=<optimized out>, __last=0x7f11b8d04c80)
    at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_construct.h:184
#11 std::_Destroy<std::shared_ptr<doris::Tablet>*, std::shared_ptr<doris::Tablet> > (__first=<optimized out>, __last=0x7f11b8d04c80)
    at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/alloc_traits.h:746
#12 std::vector<std::shared_ptr<doris::Tablet>, std::allocator<std::shared_ptr<doris::Tablet> > >::~vector (this=<optimized out>)
    at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h:680
#13 doris::TabletManager::start_trash_sweep()::$_2::operator()() const (this=<optimized out>) at /root/be/src/olap/tablet_manager.cpp:1105
#14 doris::TabletManager::start_trash_sweep (this=0x7f17fc2d1d00) at /root/be/src/olap/tablet_manager.cpp:1110
#15 0x000055f4761ac0c6 in doris::StorageEngine::start_trash_sweep (this=0x7f17fbef7000, usage=0x7f150f1bf3d0, ignore_guard=<optimized out>)
    at /root/be/src/olap/storage_engine.cpp:803
#16 0x000055f476a355e6 in doris::StorageEngine::_garbage_sweeper_thread_callback (this=0x7f17fbef7000) at /root/be/src/olap/olap_server.cpp:300
#17 0x000055f47707da51 in std::function<void ()>::operator()() const (this=0x7f1187acbb00)
    at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/std_function.h:560
#18 doris::Thread::supervise_thread (arg=0x7f17fbf7da40) at /root/be/src/util/thread.cpp:498
#19 0x00007f182d17fea5 in start_thread () from /lib64/libpthread.so.0
#20 0x00007f182dbae9fd in clone () from /lib64/libc.so.6

Cause of occurrence
The crash occurred during the processing of _metric_entity at BaseTablet destructor, from memory, the reference count for _metric_entity is already 0, but there is still a weak reference, n a multithreaded environment, a race condition may occur between deregister_entity and reset_metric_entity
GDB
(gdb) f 0
#0  0x000055f476bcda1d in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x7f1187acbb00)
    at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:168
168     in /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h
(gdb) p *this
$18 = {<std::_Mutex_base<(__gnu_cxx::_Lock_policy)2>> = {<No data fields>}, _vptr$_Sp_counted_base = 0x55f46f61696a, _M_use_count = 0,
  _M_weak_count = 1}

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.
Please clearly describe your PR:

What problem was fixed (it's best to include specific error reporting information). How it was fixed.
Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
What features were added. Why was this function added?
Which code was refactored and why was this part of the code refactored?
Which functions were optimized and what is the difference before and after the optimization?

run buildall

run p0


⚠ Fortnite has degraded performance

In da87eba, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1631 ms

Resolved: Fortnite performance has improved in 9ddbdde.


unix,win: add uv_os_gethostname()

Fixes: https://github.com/libuv/libuv/issues/1315

CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/265/

Removed the thread safety warning and added the additional requested assertion in the test.

New CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/271/


If mDNS fails to listen fallback to non-mDNS

If we are unable to bind continue Agent startup but without mDNS.
Log an error to help debugging

Codecov Report

Merging #84 into master will decrease coverage by 0.18%.
The diff coverage is 52.17%.

@@            Coverage Diff             @@
##           master      #84      +/-   ##
==========================================
- Coverage   75.37%   75.19%   -0.19%
==========================================
  Files          22       22
  Lines        1669     1677       +8
==========================================
+ Hits         1258     1261       +3
- Misses        288      293       +5
  Partials      123      123

Impacted Files
Coverage Δ

agent.go
75.13% <52.17%> (-0.55%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8508d5a...db0f787. Read the comment docs.


Update device-plugins.md

Hey there! @wangrong2012, looks like you haven't signed the CLA yet. Could I please have you do that? https://github.com/kubernetes/community/blob/master/CLA.md

No CLA for 30+ days.
/close


Use attribute binding for 'twitterWidgetOptions'

See https://github.com/arusahni/ngtweet/issues/16

Thanks for taking this up! I've never been fully happy with how I've been handling options, so it's good to get input from devs with different needs.

Merging this in. Thanks for the contribution!


More info on how long it takes to start kernels

For https://github.com/microsoft/vscode-jupyter/issues/9909

Codecov Report

Merging #11020 (7e87a24) into main (cf26925) will decrease coverage by 0%.
The diff coverage is 100%.

@@          Coverage Diff           @@
##            main   #11020   +/-   ##
======================================
- Coverage     63%      63%   -1%
======================================
  Files        482      482
  Lines      33829    33841   +12
  Branches    5512     5513    +1
======================================
- Hits       21375    21374    -1
- Misses     10412    10429   +17
+ Partials    2042     2038    -4

Impacted Files
Coverage Δ

src/telemetry.ts
100% <ø> (ø)

src/kernels/common/baseJupyterSession.ts
80% <100%> (+<1%)
:arrow_up:

src/kernels/jupyter/session/jupyterSession.ts
75% <100%> (+<1%)
:arrow_up:

src/kernels/raw/session/rawJupyterSession.node.ts
78% <100%> (+<1%)
:arrow_up:

src/kernels/common/chainingExecuteRequester.ts
66% <0%> (-17%)
:arrow_down:

src/kernels/execution/cellExecution.ts
72% <0%> (-8%)
:arrow_down:

.../notebooks/debugger/debugLocationTrackerFactory.ts
96% <0%> (-4%)
:arrow_down:

src/platform/common/cancellation.ts
68% <0%> (-4%)
:arrow_down:

src/kernels/raw/launcher/kernelProcess.node.ts
69% <0%> (-1%)
:arrow_down:

src/kernels/helpers.ts
60% <0%> (-1%)
:arrow_down:

... and 6 more


AnimEvents aren't created when animations are loaded via anim.assignAnimation

Thread: https://forum.playcanvas.com/t/seeking-with-animcomponent/27060
Project: https://playcanvas.com/project/970251/overview/rewinding-animation-events
Animation event is added on the Idle animation and the animation is added via anim.assignAnimation
An event listener is added to script to console out some text but it is never called
Looking at the engine code, AnimEvents is only created on onAnimationAssetLoaded so no events are created here.
Workaround is to add the events manually before calling anim.assignAnimation

Example of workaround:
https://playcanvas.com/project/970264/overview/rewinding-animation-events-patch
// initialize code called once per entity
AddAnimations.prototype.initialize = function() {
    // We can add animations to the component without needing to create a state graph
    // as assignAnimation will create state if one doesn't exist

    // We can then later call https://developer.playcanvas.com/en/api/pc.AnimComponentLayer.html#transition
    // to play the state with that animation

    // To mimic the older Animation component, the state name will be the name of the asset
    for (var i = 0; i < this.animationAssets.length; ++i) {
        var animationAsset = this.animationAssets[i];
        var animTrack = animationAsset.asset.resource;
        if (animationAsset.asset.data.events) {
            animTrack.events = new pc.AnimEvents(Object.values(animationAsset.asset.data.events));
        }
        this.entity.anim.assignAnimation(animationAsset.stateName, animationAsset.asset.resource);
    }
};

Public project available here : https://playcanvas.com/project/970223/overview/debug-seeking-animation
Steps to reproduce the context :

open JS console
click on "load ollie"
wait a little, you should see logs, and the animation will stop on step_0
click on play, animation continue to step_1
click on play and after the animation ends.

Steps to reproduce the issue :

click on "load ollie"
wait a little, the animation will stop on step_0
click on Next, the animation move to step_1 (i just updated activeStateCurrentTime)
click on play and after the animation ends but no log for AnimEvents. But it is strange, they restarted a few seconds later...

I just use the source code of the engine to try debugging my issue.
Seems related to function activeEventsForFrame of AnimClip class.
For the step_1 (time stop at 3.5) where i want to stop, if i seek at 3.4, everything is fine, and if i seek at 3.5, it breaks.

@ellthompson Did you watch my debug project ?
Just tested your PR in my local env, and i always have missing events frame.


Update docs to add details about creating a new postgres user for the tests

Added some more info the the CONTRIBUTING.md document about Postgres. I got stuck because I didn't have the default user setup.

Awesome, thanks :+1:


Add Se** And I Know It by LMFAO

Song Name
Se** And I Know It
Artist Name
LMFAO
Source
Youtube
Youtube Link
wyx6JDQCslE
Direct File Link
No response
Song ID
593621
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 22162890

accept


Best way to remove old styles

What is the best way to remove old styles from s3 for an attachment? Is there a build in way to do this? For example, in s3, an attachment currently has thumbnail, standard, original, and zoom.  However, on the model, I have removed the standard style. When I run the reprocess command on the attachment, I was hoping the standard style would be deleted from s3, but that doesn't seem to be happening.
Is there a way to do this using the library or do I have to manually remove the old files?

The reprocess command doesn't remove old styles because it has no way of knowing what was (previously) there. If you wanna build a command specifically for removing an old style I'll help you get it cleaned up and merged in, but it needs to be for the laravel-stapler repo. I'm working on a 2.0 release that I could add this to if it doesn't get done now. I've gotta ask though; If you just have a single style that you want to remove, why not just remove those images (in the standard folder) using the AWS console?

Ok, I will try to find some time to build that command. I think your question is assuming that all of the standard style images are in a single folder. That's not how the files are organized. They are first partitioned by id, then the different style directories are within that. In other words:
001 > original
      standard
      thumbnail
      zoom
002 > original
      standard
      thumbnail
      zoom
003 > original
      standard
      thumbnail
      zoom

There are hundreds of images, so I would need to go into every id folder and delete the standard directory.


Option to hide the first column and table header

Thanks for this panel, it looks like it could be useful for displaying metrics of multiple items.
Would it be possible to be able to hide the first column.
Example. When using the CloudWatch data source I query multiple loadbalancers for HealthyHostCount and SurgeQueue. I display these by repeating the panel for each loadbalancer.
This results in me displaying the loadbalancer name in the title AND in the first column.

Thanks @rickbowden for the feature request. This is now implemented in master /  3ef4b1312c0f2ac846db852b330a7d53a65c0001 which is also released as Version v0.4.5

Couple of following options in the options tab will be introduced to achieve the above scenario

Setup example

If you need metrics vertically, make the row names unique and column names same.
Otherwise if you need metrics horizontally like the one showed in the original issue request, make column name unique and row name same. Example given below.
You can use "Transform value" feature to show the details along with the metric

Example of metrics shown horizontally

You can also use _row_name_ or _col_name_ in the value transform field

Feel free to test. If you see any issues or need more features, let me know.
BOOM,
Sriram

@yesoreyeram Thanks very much for adding this so quick.

Can you post a simple data structure that supports this feature?  thanks


Support XK_ISO_Level3_Shift and XK_ISO_Level5_Shift

This PR adds support for XK_ISO_Level3_Shift and XK_ISO_Level5_Shift.
The AltGr key is mapped to XK_ISO_Level3_Shift in the default German keyboard layout (and others). The Neo keyboard layout (which is like a German Dvorak) and other layouts derived from it additionally use XK_ISO_Level5_Shift. Adding these might make it possible to fix some keyboard layout related bugs in VS Code, p.e. https://github.com/Microsoft/vscode/issues/24043, https://github.com/Microsoft/vscode/issues/23991 (at least for Linux).
The property withAltGr now depends on kLevel3KeyModifierMask (instead of kControlKeyModifierMask | kAltKeyModifierMask). This works for both the default German keyboard layout as well as for the Neo layout. Without this PR it doesn't work for Neo (see https://github.com/microsoft/vscode/issues/24043#issuecomment-612576998).
This PR also considers level 5 in the output. This is only important for layouts that use XK_ISO_Level5_Shift, like Neo.
I have added withLevel3Level5 as sixth property (instead of the expected withShiftLevel5) because the latter seems to have no relevance but the former corresponds layer 6 in the Neo keyboard layout.

Property
Layer in Neo

value
1

withShift
2

withAltGr
3

withShiftAltGr
5

withLevel5
4

withLevel3Level5
6

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: MaxGyver83 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

I don't have a reviewer. @alexdima : What do you think about this PR?

Is anybody there?

This looks very good! Thank you! :heart:

Thank you for merging!


Reorganize

As the list grows, it is getting a little more unorganized - imo. Need to think of a better architecture.
Maybe move this to github pages?
Use other tools , like Ruby Toolbox to categorize gems?
Allow gems/resources to live under more than one header?

move to searchable, taggable jekyll site?


[Bug]: https://plus.fluttercommunity.dev/ not reachable. seems to not being deployed?

Platform

Plugin

Version

Flutter SDK

Steps to reproduce
go to https://plus.fluttercommunity.dev/ -> see blank firebase hosting page
Code Sample
-

Logs
-

Flutter Doctor
-

Checklist before submitting a bug

[X] I searched issues in this repository and couldn't find such bug/problem
[X] I Google'd a solution and I couldn't find it
[X] I searched on StackOverflow for a solution and I couldn't find it
[X] I read the README.md file of the plugin
[X] I'm using the latest version of the plugin
[X] All dependencies are up to date with flutter pub upgrade
[X] I did a flutter clean
[X] I tried running the example project

The website was taken down on purpose, as keeping the site code and documentation up to date was too much of an effort.

thx @miquelbeltran
ok,  makes sense. sorry for my confusion.
i just looked at the battery_plus plugin package and there are 2 dead links still pointing to that site.
https://pub.dev/packages/battery_plus

Ah thanks, that needs to be removed from the pubspec.yaml files: https://github.com/fluttercommunity/plus_plugins/blob/main/packages/battery_plus/battery_plus/pubspec.yaml#L4

I have changed the homepage url to https://github.com/fluttercommunity/plus_plugins. Can you please confirm, what about Plugin documentation website this link?

Did you submit a PR? @muhib349

Did you submit a PR? @muhib349
homepage should be https://github.com/fluttercommunity/plus_plugins or https://github.com/fluttercommunity/plus_plugins/tree/main/packages/<package> I think, but I am not sure which one of the two options is better.

I guess first one is better. I'm submitting the PR.


[bug] Error: WebSocket connection closed abnormally with code: 3000

Is there an existing issue for this?

[X] I have searched the existing issues

RainbowKit Version
1.0.3
wagmi Version
1.2.2
Current Behavior
A lot of errors appears every seconds in the console "Error: WebSocket connection closed abnormally with code: 3000". It seems to come from the walletauth:

How can we fix this ?
Expected Behavior
I expect no errors at all...
Steps To Reproduce
I implemented the rainbowkit in a Next.js app v13 by following the doc but you can even go directly on the sandbox here: https://codesandbox.io/p/sandbox/github/rainbow-me/rainbowkit/tree/main/examples/with-next-app.
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
https://codesandbox.io/p/sandbox/github/rainbow-me/rainbowkit/tree/main/examples/with-next-app
Anything else?
No response

@Camillebzd Hey! Did you supply a valid projectId in the example?

@DanielSinclair Hey, I fill really dump because this is written in big on the documentation that I needed a projectId from WalletConnect... Thank you very much for your time that was indeed the problem!


[ISSUE] Mod is unavailable on Third-party Launchers

Issue Report (Not for Crashes - Please use Crash Report template for crashes)

You have the Curseforge "Prevent Third-Party Distribution" setting enabled, which prevents your mod from being used on third-party launchers. Many people do not want to use the Overwolf launcher due to privacy and data-harvesting concerns, or inaccessibility on Linux, and this restriction makes it difficult for those people to use modpacks with your mod in them, as well as discouraging pack developers from including your mod. Additionally, it makes it much more difficult to host a server with this mod. For more details, see https://gist.github.com/copygirl/7d45bad739453d2be61138cebafce04c
What happens:
The Mod is inaccessible from non-overwolf launchers
What you expected to happen:
The Mod to be accessible from non-overwolf launchers
Important Versions Info (Do not use "latest"):

Minecraft: N/A
Forge: N/A
GalacticTweaks: N/A
Galacticraft: N/A
Using a server (yes/no): N/A

If yes, are any Server API's used, what version? (ex: Sponge):

List any Galacticraft Addons w/ versions:
Addons:

Your most recent log file where the issue was present:
N/A

https://modrinth.com/mod/galactictweaks
these are the platforms the mod is available from. This will not change nor will I be adjusting the availability because of an obscure random rant from someone i don't know. This isn't said or meant to come off as rude or anything like that just more direct on the request.


Giving attribution to original work

Hi! Sorry that I'm opening an issue for this.
We needed a ruby library to validate and generate eip55 checksums, so we extracted the relevant code and tests into ruby-eip55, since we did not need most of the features ruby-eth offers.
We kept the original license, credited the original project in the README and left the original authors in the gem spec.
This might be enough, but still we felt we should ask if you want any other way to give attribution to the original project?
Thanks

Looks good to me. Thanks for the heads up!


Release on hackage?

Would it be possible that you or @aloiscochard put this on hackage?

It's still pretty unstable since we're trying out new things that come up when implementing Eta features. We would ideally like to make it more complete, document it, and release it once it's done.
If you need it urgently for a project you're working on, I'd be happy to help you set it up with a git dependency.

Hi Rahul,
thanks for the status update! It wouldn't be an issue to include codec-vm via git for now. Generally, I was looking around for solutions to bytecode generation. As far as I understood, you used hs-java instead of codec-jvm before, idris-java just generates java code and idris-jvm uses an external java assembler. Since you know the inner workings of haskell/jvm very well, I am pretty sure that codec-jvm would be the preferred library these days - but then, it wasn't on hackage ;)
Compared to java code generation the advantage (besides not relying on javac) is that you can use invokedynamic directly, but that doesn't seems to be supported by codec-jvm yet? You are probably planning to implement this and use it in eta? One of the major downsides of the jvm for functional compilers seems to me that you don't get first class functions. As long as you don't defunctionalize, you have to generate all these classes for lambdas or stg closures. A while ago I made an experiment where I generated java code with many lambdas and equivalent code using anonymous classes. The size of the jar with lambdas was way smaller. I think I've heard that scala also suffers from this. Did you try invokdynamic in eta too or is it not a problem for you to generate large jar files? Or maybe you work around it in another way?
Daniel

Hi Daniel,
Great questions! I can see you've thought about bytecode generation quite a bit :)
Yeah I used hs-java in the beginning. It uses uses knot-tying semantics in its implementation which in practice means it's a pain to debug "missing constants from constant pool" errors. Then @aloiscochard brought up his codec-jvm library and I just loved the simplicity of the design and I've been using it since.
I mean codec-jvm works pretty well. I just haven't kept up with proper versioning and proper API structuring. Once things settle down from the Eta side, I'll sit down and refactor the code. Moreover, if you need to use invokedynamic for your project, I'd be happy to guide you through the implementation.  It shouldn't be too difficult to do. Eta has been giving little time for me to work on other things :)
Invokedynamic I've been avoiding primarily for backwards compatibility, but I do intend to work on an indy codgen in the future once all the major features have been implemented. And yes, as of now Eta generates monster jar files (a simple hello world program can be ~20MB if uberjared with the runtime, ghc-prim, integer, and base), but it turns out a lot of the classes are never used and running it through proguard reduced the size by almost 60%. It would've reduced even more if I had implemented lazy initialisation of StgClosures.
Also indy is still very new, and takes up a long time to warmup, and it's not always getting the speedups that they hoped for and probably by Java 9 and beyond it'll be in a state that can add lots of benefit.
Yes, Scala does indeed suffer from the same problem, but I recently was looking at bytecode generated by Scala 2.11 and I noticed use of invokedynamic. I think they're generating lambdas now?
So far generating large jar files hasn't been a huge problem. We'll find ways to address it when the time comes. I did find though, that not using uberjars ends up being pretty fast. Like deploying the dependencies as individual jars and setting the classpath manually (currently epm will generate the classpath for you).

Hi Rahul,
thanks for your extensive answer! Yes, they switched in scala it seems (https://issues.scala-lang.org/browse/SI-8359), but I don't know much about scala to be honest. But it seems indy might be interesting for eta too and it is good to know that you are investigating that.
You mentioned lazy initialization of stg closures. How would that work?
And how would it lead to a reduction in code size?
Since we are in the discussion right now, I just write down some other thoughts quickly. Totally out of scope of this issue... I see the following reasonable possibilites for
the compilation of the closures:

Compile closures to classes (anonymous or not). Entering the closures
will be an invokevirtual call. I think this is how it is done in eta and also frege?

Advantages: Maybe the most direct translation to java?
Disadvantages: Many classes, large jars, potentially slow invokevirtual?

Compile closures to dynamically generated classes using invokedynamic. This
will probably have similar performance characteristics as option 1 except
for the lazy generation of function objects.

Advantages: Much fewer classes, lazy initialization
Disadvantages: Similar performance as invokevirtual after initialization, feels wrong because of the dynamic ;)

Compile all closures to static functions. Use global defunctionalization and one
global static dispatcher which dispatches based on the id of the called function.
The dispatcher could be one large switch or a nested switch to avoid JVM restrictions.
This option is probably out of scope since it needs one global linking step.

Advantages: Fast,
Only few classes needed,
maybe the JVM could inline functions in the dispatcher which are called often.
Disadvantages: Not reasonable for the JVM or many similar dynamic targets,
A function call involves one jump table lookup and two invokestatic calls (one to the dispatcher and one to the function body),
Works against JVM optimizations since we have our own method dispatcher
which is stressed a lot.

Compile all closures to static functions but use "local" defunctionalization.
Every module would have one dispatcher object which could be passed around.
Function references would then be a reference to such dispatcher objects plus a function id.

Advantages: Would work on JVM and similar targets, could be fast if the dispatcher overhead is small,
only few classes needed,
Maybe the JVM could inline functions in the dispatcher which are called often.
Disadvantages: A function call involves one jump table lookup, one invokevirtual call to the dispatcher and one invokestatic call to the function body,
Works against JVM optimizations since we have our method dispatchers.

Now the advantages/disadvantages are just me guessing. In the end one should benchmark in a real world scenario like Haskell benchmark code compiled using eta and chose... What are your thoughts?
Best,
Daniel


Implement button to delete a fridge

When clicking this button, must delete all items owned by that fridge and then delete the fridge it self.
This happens:

Partially done, can delete empty fridges. Need to implement a new mutation to clear all fridgeItems in a fridge

this was implemented


merge from template-browser-ava

.github/workflows/update_package_lock.yml

chore(actions): merge from template .github/workflows/update_package_lock.yml

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 94.43%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1280

Relevant Lines:
1355

💛  - Coveralls


Crash on multiple initializations in load_checkpoint() calls

🐛 Bug
I am getting an exception in:
migration.py
Particularly with the line:
del sys.modules["pytorch_lightning.utilities.argparse_utils"]
A cheap patch was to try:/catch the line.
To Reproduce
I am using a threadexecutor to init 4 threads to run a model on each thread (each with a cuda device). At some point between thread loads of checkpoints i get a KeyError in the line I mentioned above. I think that on the first load it deletes this module, but doesnt check if its deleted in subsequent loads.
Expected behavior
That the checkpoints load in the multiple threads.
Environment

CUDA:

GPU:

NVIDIA RTX A6000
NVIDIA RTX A6000
NVIDIA RTX A6000
NVIDIA RTX A6000

available:         True
version:           11.3

Packages:

numpy:             1.21.2
pyTorch_debug:     False
pyTorch_version:   1.10.0
pytorch-lightning: 1.6.0
tqdm:              4.62.3

System:

OS:                Linux
architecture:

64bit
ELF

processor:         x86_64
python:            3.9.7
version:           #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022

Additional context
The idea was to have each model in a thread feeding it data.

Hi, @pedrocolon93 - Thank you for creating this issue. Just to let you know, I'm taking a look at it and trying to reproduce it first on my system. :) If you have any code sample to share that will help reproduce, it would be helpful, but if not - that's also okay. I'll keep you updated here. ⚡

Update: can reproduce this locally. Will create a fix today! :)

Hi, @pedrocolon93 - Upon further investigation, I believe it's more about fixing race conditions with threading. You can use and acquire a lock and release once you are done loading the checkpoint in your function. Example:
import threading
from pytorch_lightning.utilities.migration import pl_legacy_patch
import torch

def model_load(lock):
    lock.acquire()
    with pl_legacy_patch():
        m = torch.load("checkpoint_version_1.1.6.ckpt")
    lock.release()
    return m

def main():
    lock = threading.Lock()
    t1 = threading.Thread(target=model_load, args=(lock,))
    t2 = threading.Thread(target=model_load, args=(lock,))

    t1.start()
    t2.start()

    t1.join()
    t2.join()

Or you can use a ThreadPool and use apply_async method. This should hopefully solve the issues with you. Let me know if it doesn't. :)

I am using a threadexecutor to init 4 threads to run a model on each thread (each with a cuda device).

@pedrocolon93 Could you share more details and ideally some code about your use case? Manually handling threads is unusual and not recommended by the framework. Is there any reason why not enable Trainer(strategy="ddp_spawn") to let the framework do this for you?
Depending on your code structure, the above suggestion by @krshrimali is good.

Hi! I was loading a model checkpoint for inference (loading a language model for language generation), so I was not even using the trainer, but the above suggestion seems to work. Seems like an odd issue to have either way; I thought model loading was independent/could be handled with multi-threading.

I think that's a usecase that should be supported then. I'm thinking that this logic should only be done on rank zero since sys.modules are shared
cc @awaelchli

@carmocca the rank information, in general, wouldn't be available I think. Considering the simple load_from_checkpoint method, for example.


query-watchman error when working in a worktree

When I use worktree I get a query watchmen error for every git command:
mdejongh@C02XP02SJGH7|~/Projects/Atlassian/a-f2 on RenovateSharedConfig
± git status
fatal: cannot exec '.git/hooks/query-watchman': Not a directory
On branch RenovateSharedConfig
nothing to commit, working tree clean
mdejongh@C02XP02SJGH7|~/Projects/Atlassian/a-f2 on RenovateSharedConfig
±

I set my repo up using scalar register instead of clone, so figured maybe the old worktree's I had when I ran register were broken. But creating a new worktree from the main checkout, also returns a error:
mdejongh@C02XP02SJGH7|~/Projects/Atlassian/atlassian-frontend on master
± git worktree add ../a-f9 bla
Preparing worktree (checking out 'bla')
fatal: cannot exec '.git/hooks/query-watchman': Not a directory
Can't find Husky, skipping post-checkout hook
You can reinstall it using 'npm install husky --save-dev' or delete this hook
mdejongh@C02XP02SJGH7|~/Projects/Atlassian/atlassian-frontend on master
±

Thanks for the report, @marcodejongh ! We'll take a look.

Scalar can be improved to handle worktrees. In particular, we should probably set our fsmonitor hook setting in the worktree config (using git config --worktree ...) and then enable the ability in this worktree. I believe that Scalar will ignore the worktree if you try to run scalar register or scalar run config in the worktree.
@marcodejongh: you may be able to get out of this state by doing one of the following:

Disable the hook in your worktree: git config --worktree core.fsmonitor ""
Move the hook to your base dir hooks directory: git config core.fsmonitor "/full/path/to/repo/.git/hooks/query-fsmonitor"

Perhaps it is enough for Scalar to discover the fully-rooted path and use that in the config.

@marcodejongh: This will be fixed in the next release. In my testing, my existing, incorrect config values were upgraded to the new values shortly after installing my new version (since we run scalar run config on every registered repo). For now, you can replace the core.fsmonitor config value with a fully-scoped path <repo>/.git/hooks/query-watchman.

Thanks will do!

For anybody just googling - I am not using scaler, just git worktrees. At some point I enabled the query-watchman hook per the instructions here: https://github.com/git/git/blob/v2.28.0/templates/hooks--fsmonitor-watchman.sample
Then, adding a worktree, I could see this:
master ➤ git worktree add ../aCoWorker
Preparing worktree (new branch 'aCoWorker')
fatal: cannot exec '.git/hooks/query-watchman': Not a directory
fatal: cannot exec '.git/hooks/query-watchman': Not a directory
HEAD is now at ...

Fix from @derrickstolee worked great!
Just cd to main/original/host repo/worktree. Edit .git/config, and change core.fsmonitor config value to a fully-scoped path to the query-watchman file (<repo>/.git/hooks/query-watchman)


Updating base image

Updated from python:3.6.3-alpine3.6 to python:3.6.4-alpine3.7.

These changes were tested successfully on staging.


carlasim/carla:0.9.13 keep restarting and fail in runing carla_apollo_bridge

the instruction before Runing carla_apollo_bridge works well,
but after i perform these
cd /apollo/cyber/carla_bridge
python carla_cyber_bridge/bridge.py

error as follows:
[2023-04-24 12:27:33,509] [carla_bridge] [ERROR]: Error: time-out of 30000ms while waiting for the simulator, make sure the simulator is ready and connected to <IP_ADDRESS>:2000
^CTraceback (most recent call last):
  File "carla_cyber_bridge/bridge.py", line 485, in <module>
    main()
  File "carla_cyber_bridge/bridge.py", line 471, in main
    carla_world = carla_client.get_world()
RuntimeError: time-out of 30000ms while waiting for the simulator, make sure the simulator is ready and connected to <IP_ADDRESS>:2000

Check whether Carla-Simulator-1 is running
Use Docker Inspect Carla-Simulator-to see the namemode name of CARLA-SIMULATOR-1 container.
If you have any questions, you can provide screenshots

It looks like this issue hasn’t been active in longer than a few weeks. In the absence of more information, we will close it, If you find that this is still a problem, please feel free to reopen it.

It looks like this issue hasn’t been active in longer than a few weeks. In the absence of more information, we will close it, If you find that this is still a problem, please feel free to reopen it.

sorry for ignore the message. I still have this question. Some screenshots are shown below.

I don't know why it can't works. it seems that i follow the instructions step by step TAT. And after I performed the './docker_run_carla.sh' , it didn't evoke the UE enviroment.
Thanks a lot for your reply!

any reliable solution？TAT

Hi,Judging from your screenshot, you have started Carla, but you did not enter Carla_cyber_0.9.14 container and execute
 ./apollo.sh build_cyber opt

Hi,Judging from your screenshot, you have started Carla, but you did not enter Carla_cyber_0.9.14 container and execute
 ./apollo.sh build_cyber opt

I follow the instruction again. But after i execuate

I'm sure that I execute the instruction sentence by sentence, including  ./apollo.sh build_cyber opt.
My carla container looks like not starting. After executing docker ps -a:

docker logs carla-simulator-1:

There is nothing but sh: 1: xdg-user-dir: not found. And it seems not a error

Hi,Judging from your screenshot, you have started Carla, but you did not enter Carla_cyber_0.9.14 container and execute

 ./apollo.sh build_cyber opt

can you reopen this issue？thanks

@2019211753

Check whether Carla-Simulator-1 is running

If it is running,you can try to follow the steps below

Install firewall (if already installed, skip this step)

sudo apt-get install firewalld

close firewall

systemctl stop firewalld.service

Test whether the container carla_cyber_0.9.14 can connect to the Carla service

docker exec -ti carla_cyber_0.9.14 bash
curl -v <IP_ADDRESS>:2000

If the following information is displayed,the firewalld was closed

root@a5b2fce9f53f:/apollo# curl -v <IP_ADDRESS>:2000
Rebuilt URL to: <IP_ADDRESS>:2000/
Trying <IP_ADDRESS>...
TCP_NODELAY set
Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 2000 (#0)
GET / HTTP/1.1
Host: <IP_ADDRESS>:2000
User-Agent: curl/7.58.0
Accept: /

Else the following content is displayed, it indicates that the firewall has not been successfully shut down and Carla cannot perform joint simulation with Apollo normally:

curl: (7) Failed to connect to <IP_ADDRESS> port 2000: No route to host

You first need to turn off the firewall!

After execuate  curl -v <IP_ADDRESS>:2000
* Rebuilt URL to: <IP_ADDRESS>:2000/
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* connect to <IP_ADDRESS> port 2000 failed: Connection refused
* Failed to connect to <IP_ADDRESS> port 2000: Connection refused
* Closing connection 0
curl: (7) Failed to connect to <IP_ADDRESS> port 2000: Connection refused

It seems that there is no progress running in the port.?
I used to deploy based on "https://github.com/AuroAi/carla_apollo_bridge"，the bridge and the carla simulator works well, except that there is no carla graphic interface.

Did you Install firewall and close firewall?

I tried to download carla0.9.14 in my server instead of running in docker，it works.


Bug 2297285: exporter: bind to all interfaces if IPv6 is enabled

Previously ceph-exporter would only bind to IPv4 interfaces. Now if the CephCluster is configured with dualStack: true and/or ipFamily: IPv6 an additional flag (--addrs ::) will be added to the ceph-exporter container to make it listen both IPv6 and IPv4 interfaces.
Signed-off-by: Matthew Penner<EMAIL_ADDRESS>(cherry picked from commit d09a43df3789652d7932933d1fadf2597342d7f5) (cherry picked from commit 9744c97227af25b4ca4320428d204938c31f435f)

Checklist:

[ ] Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide.
[ ] Reviewed the developer guide on Submitting a Pull Request
[ ] Pending release notes updated with breaking and/or notable changes for the next minor release.
[ ] Documentation has been updated, if necessary.
[ ] Unit tests have been added, if necessary.
[ ] Integration tests have been added, if necessary.

/bugzilla refresh

/bugzilla refresh

/bugzilla refresh

/bugzilla refresh


Freezing Windows system

I don't exactly why but working around "stylize" things causes freezing Windows System.
Especially, when I try to configure files inside "stylize" folder  like deleting or moving a file with file explorer, even after every process are done, the entire screen excepet the mouse movement goes freeze. All I can do is just forcing shut down the system by pressing a physical power button and restart the system to use my computer again.
I think there's some inappropriate process or missing process for GPU memory.
I didn't try original animatediff-cli, so I don't know this problem is specific for this repo.
my environment:
OS: windows 11
CPU: 12900K
GPU: RTX 4090 24GB

Are you running out of vram by entering large widths and heights?


array merge

ever needed to merge 1 or more arrays?
adding this to the prototype is tacky, and would necessitate its own file. instead provide a function that takes infinite arguments. heres the prototype:
var merge = function(){
	var args = [],
	result = [],
	unique = function(a,b) {
		var a = a.concat(b);
		for(var i=0; i<a.length; ++i) {
			for(var j=i+1; j<a.length; ++j) {
				if(a[i] === a[j])
					a.splice(j--, 1);
			}
		}
		return a;
	};
	Array.prototype.push.apply(args,arguments);
	for(k=0;k<args.length;k++){
		result = unique(result,args[k]);
	}
	return result;
};

if you feel like its useful, just use it. no attribution necessary.

@LeaVerou - Lea, is this something you want for Bliss? Just calling your attention to it.

Hi there,
Thanks for the contribution! However, I’d rather avoid adding new lengthy methods to Bliss unless there's existing demand, at least for the time being.


Implement transaction options API

This adds begin_with methods for creating transactions with additional options. The exact options object varies depending upon the backend. For MS-SQL and AnyDatabase the options are currently just () although this could be extended, with each backend transaction option struct potentially supporting From<AnyTransactionOptions>.
MySQL and Postgres both support the same ANSI isolation levels, although they are currently separate enums which could potentially be combined.
As much as possible, the tests try to verify that the correct transaction options have been applied.
Related to #481, #853, #851

This looks really awesome! As #481 indicates, there is currently no way to do a BEGIN IMMEDIATE TRANSACTION for SQLite databases in SQLx (if I understand things correctly), and we need that functionality. I hope this can be merged soon!

Thanks for the review @abonander, it sounds like this might need to wait for another minor release? I see there's another PR applying the feedback.

Closing in favor of #1924


ci: support arn automation within release pipeline

What does this PR do?

Enable automation for the AWS lambda publishing.
Create ARN table with the details in each region.
Add two parameters:

whether to publish the AWS lambda, to support the old releases without lambda support.
build number for the release job where the AWS zip file is stored.

Follow ups

This PR is the very first attempt to support the automated publishing. We will merge it and test and if it works then:

re-enable the disabled steps
test a full release

Upload the  aws-lambda zip file in the GiHub release, so far disabled but we can revisit
Publish the ARN details somewhere else rather than in the GitHub releases

Issues
Superseedes https://github.com/elastic/apm-agent-java/pull/2452
Test

:grey_exclamation: Build Aborted

There is a new build on-going so the previous on-going builds have been aborted.

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-02-07T15:51:57.118+0000

Duration: 5 min 9 sec

:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

In order to test this we need to merge it, and these changes are not validated in the apm-ci as they are not executed as part of the main pipeline. I'll proceed and merge to be able to move forward with the release


readonly mode

This PR adds a readonly mode to display items in its current state while preventing accidental edits.
The changes are quite a lot due to the fact that Android's EditText does not have a decent readonly state. Therefore, in readonly mode the code hides the EditText and displays a TextView instead.
Since EditText widgets are also used by DatePicker and TimePicker, I created a TextController class which all controllers using EditText inherit from. Maybe the select controllers should use it, too.

Thanks for your contribution! This feature is useful.
I was wondering why you chose to implement it this way as opposed to the other possible approaches, such as using editText.setInputType.

Setting the input type (and all other approaches mentioned in this SO thread) all have at least one drawback: the underline of the EditText is still there - to me, this implies the field is editable.


npm build error

When I tried to run npm run build in Terminal, it threw an error:
% npm run build

><EMAIL_ADDRESS>build
> npm run lint && rollup --config rollup.config.js --environment BUILD:production

npm ERR! Missing script: "lint"
npm ERR!
npm ERR! Did you mean this?
npm ERR!     npm link # Symlink a package folder
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR!   npm run

Am I missing something, or is this a bug?

Thank you for your report! This is indeed a bug, I forgot to remove the lint part from the command when I removed the rest of the related dependencies. It should be fixed now. :)
I'm not sure if it's suitable for you to update to the last version of the template, but it's also possible to just mimic my fix in your own package.json file.


Invalid endpoint or your Appwrite server is not running as expected.

Having a bit of trouble installing Appwrite on private webhosting, only able to access cpanel + I can import github repositories... any advice?

hm... not sure what you meant there. Maybe a screenshot would help?


faster array iteration

@eslachance @kyranet you're the speedwhores, is this faster?

This is not faster, but much slower.
Iterating over the array, doing value + value in each iteration:
const array = [1, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31];
// forEach
array.forEach(value => (value + value));
// for-of
for (const value of array) value + value;
// for-in
for (const value in array) value + value;
// for
for (let i = 0; i < array.length; i++) array[i] + array[i];

Results are:
forEach x 26,881,746 ops/sec ±0.86% (88 runs sampled)
for-of x 9,539,651 ops/sec ±0.65% (91 runs sampled)
for-in x 1,317,369 ops/sec ±0.64% (89 runs sampled)
for x 59,724,087 ops/sec ±0.63% (90 runs sampled)

Based on the facts by the Idiot's Guide Resident Speedwhore, I'm going to have to decline this PR as it will slow the bot down.


Add citation information?

I am trying to cite this amazing tool in a paper revision and noticed this does not have any citation info?
Would it be possible to mint a DOI via e.g. zenodo?
That way I could cite it properly in the final version of the paper.

Thanks @jbusecke!  It seems like it should be possible.  It looks like SciTools/iris does this.  Is there any kind of special guidance from @SciTools regarding minting Zenodo DOIs, or is simply following the generic process described in the GitHub docs sufficient?

It could be that there are now better solutions out there, newer than Iris' solution. I will raise this at my team meeting tomorrow to see what folks think.

Thanks @trexfeathers!

Awesome. Thanks @trexfeathers and @spencerkclark.

@trexfeathers sorry I don't want to lose track of this -- was there any news from the team meeting on this front?

Ah, sorry folks! 'Spinning too many plates'.
We're happy with Zenodo. @spencerkclark you have as many permissions as I have, so feel free to have a go with GitHub's Zenodo instructions that you linked. If you run into any problems we'll get one of the SciTools 'responsible adults' to press the appropriate buttons.

No worries, thanks @trexfeathers!  I'll give it a go some time in the next few days and will let you know if I run into any issues.

I flipped the switch in Zenodo to enable DOIs to be minted automatically upon new releases.  I can't seem to find a seamless way to mint a DOI for an existing release, so we may need to make a new minor one to address this.  It might be good to address #97 at the same time, so I went ahead and made a PR.

Sorry I let this slip for a bit.  With #97 now closed, if there are no objections I’ll go ahead and make a v1.4.1 release this week.

The release is in progress -- I am still waiting on the automatic conda-forge PR to be opened -- but I cut the release on GitHub and the Zenodo DOI was created (see here)!
Do you also recommend we create a CITATION.cff file?  At a minimum I will add the Zenodo badge to the README (https://github.com/SciTools/nc-time-axis/pull/110).

I thought the CITATION.cff was required by zenodo these days? I have started adding it, since it usually is a bit more reliable with names and adds a link to ORCID which is very handy.

I thought the CITATION.cff was required by zenodo these days?

There is no requirement as far as I can tell based on the Zenodo instructions.  But in hindsight it does seem like they try to integrate it now if a repository has a CITATION.cff file (I can't seem to find this documented anywhere but twitter).
We can add one here and I presume it will take that author metadata into account upon the next release.  It will take a moment to collect it from all the contributors.

Yes we have just been going through that process over at https://github.com/xgcm/xgcm/issues/449. No rush from my end.

Hey @jbusecke and @spencerkclark,
PR #129 will add a CITATION.cff to the repo, so this should help matters. Along with the Zenodo service being enables, I think we're now in a happier place :smile:
Once PR #129 lands, I'll create a pinned issue and @ all contributors to nc-time-axis asking them to add their ORCID credentials to the file (if they want).
HTH :+1:


Feature: Improvement in the UI

Feature description
Can I change the font of the website and make it better than before. If you found it cool ,then add that otherwise not.
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

@Deep-anjali01 Yes you can start working on it. All the best.

@Deep-anjali01 Go for it!


Signup

Firstname
Lastname
Email
password
Signup button
Link to privacy policies
Terms and condition checkbox
Link to login

Design draft


ItemTags create lagspike

spigot version: 1.15.2
denizen version: build 5876-DEV
profiler: https://spark.lucko.me/fVlhnlWhR1
code: https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ItemTag.java#L445
//timings
PctTotal  PctTick  Total   Avg        PerTick   Count     Event
0.68%     156.99   0.08 s  78.50 ms   0.0       0.0k      ItemSpawnsScriptEvent::onItemSpawns(ItemSpawnEvent)

//script
MyLagScript:
  type: world
  events:
    on item spawns:
    - define x <context.item>

Hi!

Basically making all ItemTags unusable, or brings a major risk for an attacker.
It seems to be a problem in the engine, to stringify the item on each use.
To reproduce an empty server with the above script can be used.
Fixing this in favour of all denizen users would be appreciated.

Support is on Discord @ https://discord.gg/Q6pZGSR