Fix downstream dependencies for spl-program-error

This PR fixes the requirement for crates that wish to use spl-program-error to have to import thiserror, num-derive, and num-traits.
Note: This will NOT require these crates to be present in the Cargo.toml file to use the procedural macro attribute #[spl_program_error], however, if you decide to use any of the derive macros you'll need to import these crates.

Ran a rebase from master, looks like didn't really even need to


api: create and delete blueprint endpoint

This is my proposal for the create blueprint endpoint. It is 1:1 copy of the payload from the create compose request. Let’s discuss the API first, then I will start working on the code and DDL.

Ping @croissanne any comments before I start?

Ping @croissanne any comments before I start?

Go for it :)

Rebased the code logic for inserting the record into the database. As part of the PR, I am introducing new type named BlueprintV1 and a version flag that is stored in a separate column. This allows taking advantage of types in Go as I expect us to modify the schema a bit and unstructured data in SQL database is always a problem: existing records on stage will carry old versions which can be easily "upgraded".
Other than that, it is just a copy-paste.

Ok rebased and added UNIQUE constraint.

So I have also created new endpoint /blueprints/UUID/compose which forwards the creation to the existing code. I had to slightly refactor one handler, I introduced composeImage which is called from ComposeImage as well as ComposeBlueprint except the latter uses input data from the database.

This is now ready for re-review, I removed "compose blueprint" endpoint, this is only create operation (with get/delete DB operations). The rest will be followed in separate PRs. I am leaving few small changes in tests and db tests because I stuggled hard to set it up and with performance. @croissanne

Resolved conflicts.

Rebased, this is now ready for re-review, thanks.

The tests seem to not agree with the swagger spec, I guess it needs to get updated? :thinking:

Oh right, rebased.

We are :green_apple: :tada:

Let's go @croissanne or @lucasgarfield we have more than one PRs to work on. Thanks.

Rebased, I will do a followup on those nasty imports scattered around.
The test refactoring is unfortunately buried deep in the patch, I can do hunk by hunk split if you insist.

All green.

Here is the followup which I can rebase after this is merged: https://github.com/osbuild/image-builder/pull/895

Some unrelated changes I guess?
/retest

/retest

Some unrelated changes I guess?

quai was  down for the whole day ;)

/retest

ALL TESTS GREEN.

All green.


Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
hi have read all the documentation available and run the colab
and get the same error
documents = GithubRepositoryReader(
TypeError: GithubRepositoryReader.init() got an unexpected keyword argument 'github_token'
what is the usage as ive used the documentation usage but doesn't work?

@ifeingewgewmlkm  I am getting the same error, did you find any solution?

Not yet
On Mon, 11 Mar 2024, 21:34 Kaushal Powar, @.***> wrote:

@ifeingewgewmlkm https://github.com/ifeingewgewmlkm I am getting the
same error, did you find any solution?
—
Reply to this email directly, view it on GitHub
https://github.com/run-llama/llama_index/issues/11799#issuecomment-1987871438,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZB5XB7XFCYYKHU5USD4IFLYXVT7TAVCNFSM6AAAAABEOZO4LSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXHA3TCNBTHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

@ifeingewgewmlkm this worked for me:
from llama_index.readers.github.repository.github_client import GithubClient
github_client = GithubClient(github_token=os.environ["GITHUB_TOKEN"], verbose=True)
GithubRepositoryReader(
github_client=github_client,
# rest...
)

@kaushalpowar Are you specifying branch explicitly? If not a good default is the 'main' branch of github repo.
In your case, you could change: GithubRepositoryReader(...).load_data(branch='main')

@zmusaddique  Yes, I am using branch = "master".

Just in case, check if 'master' is a valid branch. Else, check the GithubRepositoryReader documentation.
Or you also can use commit instead of branch

@kaushalpowar Just in case, check if 'master' is a valid branch. Else, check the GithubRepositoryReader documentation.
Or you also can use commit instead of branch


Python 3

There are some test failures under Python 3.  Mostly str related changes, so it shouldnt be too difficult, but it does need to be manual as futurize and modernize make a bit of a mess of the conversion.

Added Python 3 support in b7a26e76 and b3f70260 for the v0.4 release.

Lovely .  Built at https://build.opensuse.org/package/show/home:jayvdb:py-new/python-pyle for Python 3.4, 3.6 and 3.7
v0.4 isnt on PyPI so I used the github archive.
install_requires shouldnt need to list argparse on Python 2.7+, as it already exists.  Or is the argparse shipped with Python not good enough?
The most urgent fix needed is py_modules=['pyle', 'pyle_test'], shouldnt include 'pyle_test' , as it isnt a useful installed module.  To distribute that file in the sdist, it should be added to MANIFEST, which is already done.
Also the LICENSE and README.md should be included in the sdist, and the LICENSE included in the bdist_wheel.  https://github.com/justinmayer/django-autoslug/pull/56 is a reasonable PR to follow for those packaging improvements, or I can submit a PR if you like.
Also it would be nice if python setup.py test ran the tests, which should be just adding test_suite='pyle_test' in setup.py

Hmm I'm pretty sure the only reason argparse is there was for Python 2.6 compatibility. That's not necessary any more so I'll go ahead and remove it.

Fixed by 0c83bfae, 586a988b, 4573ac48, d11a7c92, b9401991 and d7565ad9. Also uploaded the final version to PyPi.
Thanks for the comments!


recovery: binary search sent packets

This feels like more of a bandaid. I've submitted some other changes that have reduced the queue size (e.g. #1312 )


Dynamic Chunk loading is off by a bit

You can see it quite easily: Just fly above the map and look down while moving. In some directions, chunks are loaded closer to the player, while in others they're loaded farther away.
The chunk positions are just missing an offset so that the position we use for the calculation is in the middle of them instead of being on a corner. Easy fix, just needs a good eye to see if it's fixed. Also a good way to get into how dynamic chunk loading works if anyone's interested.

Not easy, this is a more intricate issue (it works well when in positive chunk coordinates but breaks when entering negative coordinates). Might be a bug in from_real.


make versioning consistent in Jenkins

Fixes Jenkins ErrImagePull issue on #682 . Might be associated with issue #673.
Jenkins' version-based tagging became out of sync with the Makefile's. This PR has Jenkins decide and explicitly set the version on each of the steps it needs to run, so that it remains consistent throughout (even if different than the default Makefile version).

@kibbles-n-bytes is this rebased onto current master? I'm curious whether it'll fix the travis issue...

@arschles Yes it is. Unfortunately it won't, these changes won't affect the integration tests, only the walkthrough. And I've been having to push identical commits with different shas in order to get Travis to restart after the integration tests fail :(

@kibbles-n-bytes got it, ok. I can restart travis tests for you if you like.

Let's try to get this in tomorrow before the release

@arschles @pmorie That shouldn't cause any issues and is one of the things addressed by this PR. It did cause an issue before, as I'm assuming tracked files were being modified on the build and causing it to attach a "dirty" to the version when it came time to run the e2e tests. However, by precomputing the version here before anything runs and using that premade version for all builds/tests, even if files are modified the tag used will stay consistent.
The inclusion of --dirty here really is just to attempt to stay consistent with the Makefile; it's effectively doing nothing, as there's no way to trigger Jenkins on a dirty build.

@kibbles-n-bytes what was causing the -dirty suffixes on image tags?

@arschles I'm assuming that during the make actions, tracked files were being modified. This meant that the response to git describe --dirty was coming back different before and after those were run. Don't know which files specifically.

@kibbles-n-bytes ok. keep a look out for failures with that image name. For now, I get that it should be fixed


Using { a, b, .. } as data Instead of { a, b, ..rest } for Full Record Captures

As much as using { a, b, ..rest } as a way to capture the entirety of an open/constrained record would be obvious syntax based on the changes suggested in https://github.com/roc-lang/roc/issues/7094, it implies that we would remove the a and b fields from rest, which as seen in Elm's development, would be an unperformant and messy feature to support. As such, we should just use the as data capture syntax on an open record to capture all fields.

@smores56
I am interested in solving this issue but want to do it under Hacktoberfest label. Can you please add hacktoberfest label and assign it to me.

@lukewilliamboswell ,
I am having some issues in finding the exact location of this functionality. Can you help by telling the appropriate location to look for it.
Is this is the location of this functionality?
https://github.com/roc-lang/roc/blob/72011fba7387a6d8346ea5d8befdb00b90ecb5b6/crates/compiler/can/src/expr.rs#L1508

I'm not familiar with this part of our codebase. I'm hoping @smores56 or someone else could help you with this.

I was surprised to find that { a, b, ..rest } is not currently supported, if I re-read the original issue this is clear.
Knowing that, perhaps this is too complicated for a good first issue @smores56?

Actually, this one will need to wait for https://github.com/roc-lang/roc/issues/7097 to be implemented first. It's (presumably) an easy issue once that issue gets finished. @Aditya-PS-05 you should do something else first. Let me know if you need help selecting an issue!


Store path of file that was read in

Often when maniplating a PDB, I want to create an output PDB using a name that matches the input path with a one/two word description appended to the name.  To facilitate this, I wonder your thoughts about storing the path string for an input file as metadata on the PandasPdb class.  Looking at the code called when reading in a PDB, it does not seem this is already done (though I may have missed it).
https://github.com/rasbt/biopandas/blob/master/biopandas/pdb/pandas_pdb.py#L58-L74
This could potentially be added to the __str__ property so when printing the object it returns more helpful info than <biopandas.pdb.pandas_pdb.PandasPdb object at 0x7fe1f5f2a390>.

Good idea! I agree,  attaching the file path can definitely come in handy.
I wouldn't overwrite the __str__ property though, but I was thinking about adding a self.file_path='' attribute to the __init__, which then gets set to the actual path when read_pdb is called (and the file URL if fetch_pdb was used, e.g., http://www.rcsb.org/pdb/files/xxxx.pdb)
What do you think?

This sounds great.  This would be a valuable addition.
Also, perhaps instead of __str__, do you think it would make sense to have __repr__ include self.file_path?  Here is an example implementation:
def __repr__(self):
    return 'Pandas PDB defined by {}'.format(self.file_path)

Just an idea.

Hm, I would actually prefer to return general information about the class instance upon calling print(pandaspdb_obj) -- I find that more intuitive in context how other object-oriented packages work (e.g,. scikit-learn). Since the PandasPDB does not have any params for the __init__ method, I'd maybe just return the class name, like
def __repr__(self):
    class_name = self.__class__.__name__

Addressed in #35


GetMempoolTx removed breaks wallet client

What is the bug?
GetMempoolTx was removed in favor of GetMempoolStream.
The commit message says it has never been used.
But once an API is deployed to production, clients will assume it is available.
Additional context
Unfortunately, this break Y/ZWallet which uses this API. We could switch to the new API but IMO, GetMempoolStream
isn't always the best solution.
Pro:
GetMempoolStream is more reactive than GetMempoolTx
Con:

GetMempoolTx allows the device to go to sleep at a deterministic interval (the polling rate). With GetMempoolStream, the device will not sleep if there is a continuous stream of new transactions.
After coming back from sleep, the app needs to start GetMempoolStream from the beginning or it may miss some transactions. GetMempoolTx has a filtering ability.

Solution
I'd like to keep GetMempoolTx side by side with GetMempoolStream.
Thanks,
--h

Let's revert the removal of GetMempoolTx, at least for now.

Sorry I removed this when you were still depending on it! It's been restored by #374, which is in the master branch, and the latest release v0.4.9


feat: add rtlcss-rspack-plugin

support rtlscss-webpack-plugin

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


Hovering increases all datasets' points of same index on scatter plot

Just kind of a weird one that I'm not good enough yet to fix.  If you have multiple data sets on a scatter plot, you end up with arrays of x:y coordinates.  If you hover over a point on one of the datasets, you only get one tooltip as expected, but this hovering increases the radius of the point to the hoverRadius in every dataset for that corresponding array index.  Try it out here:
https://jsfiddle.net/gritnix/1mnpf9kv/
Hover over the first point on the red line, and the first point in all three lines expands.  Same w/second, same with third.  That's not really correct.  It's probably a simple fix.  If I figure it out I'll post it here and do a pull request.

@gritnix you can turn this off by setting the hover.mode property.
I updated your fiddle: https://jsfiddle.net/1mnpf9kv/17/

Awesome.  Jeez....RFTM, I just didn't comprehend the documentation behind that one.  Thanks!


Add support for Hosted Payment Pages (Details)

the skipDefaults.shtml endpoint requires brandCode and issuerId values.

Would you be interested in rebasing this PR to get it finally merged?


fix(build): application startup with container image

AsIs
Because we have added @nestjs/cli as devDependencies instead of dependencies, the containerized application built by CI and running on GKE is not starting up properly.
Since new revisions of application could not start successfully, this triggers also failures of rollout of deployment on GKE cluster.
% kubectl -n 6ow3idgirl rollout restart deployment express
deployment.apps/express restarted

% kubectl -n 6ow3idgirl get pods
NAME                       READY   STATUS             RESTARTS      AGE
express-579cc98c55-77c7d   1/1     Running            0             17d
express-579cc98c55-mz7dr   1/1     Running            0             17d
express-579cc98c55-ztn9c   1/1     Running            0             17d
express-66b76868d7-447p7   0/1     CrashLoopBackOff   1 (14s ago)   69s

% kubectl -n 6ow3idgirl logs express-66b76868d7-447p7

><EMAIL_ADDRESS>start
> nest start

sh: 1: nest: not found

ToDo

[x] removed @nestjs/cli from devDependencies
[x] added removed @nestjs/cli as dependencies

(Optional) Acceptance criteria

confirmed that new container image will be published
confirmed that we can access to production application on GKE

(Optional) Additional contexts
N/A

Confirmed that image have been published identified sha256:a9a65158d1f26bd8c27acb88b606692ce1be8d32f58b89f059a289e444f78ea4.

24-03-20 21:57:49 git/6ow3idGirl [main] % kubectl apply -f manifests/express.yaml
24-03-20 21:59:04 git/6ow3idGirl [main] % kubectl -n 6ow3idgirl get pods
NAME                       READY   STATUS    RESTARTS   AGE
express-5b57668667-7cstk   1/1     Running   0          65s
express-5b57668667-s5r9r   1/1     Running   0          65s
express-5b57668667-sxtff   1/1     Running   0          65s

# Confirmed that same SHA have been applied
24-03-20 22:01:26 git/6ow3idGirl [main] % kubectl -n 6ow3idgirl get pod/express-5b57668667-7cstk -o jsonpath='{.status.containerStatuses[].imageID}' ; echo
ghcr.io/hwakabh/6ow3idgirl@sha256:a9a65158d1f26bd8c27acb88b606692ce1be8d32f58b89f059a289e444f78ea4

24-03-20 22:01:40 git/6ow3idGirl [main] % kubectl -n 6ow3idgirl get pod/express-5b57668667-s5r9r -o jsonpath='{.status.containerStatuses[].imageID}' ; echo
ghcr.io/hwakabh/6ow3idgirl@sha256:a9a65158d1f26bd8c27acb88b606692ce1be8d32f58b89f059a289e444f78ea4

24-03-20 22:01:51 git/6ow3idGirl [main] % kubectl -n 6ow3idgirl get pod/express-5b57668667-sxtff -o jsonpath='{.status.containerStatuses[].imageID}' ; echo
ghcr.io/hwakabh/6ow3idgirl@sha256:a9a65158d1f26bd8c27acb88b606692ce1be8d32f58b89f059a289e444f78ea4


Worpdress integration

Is there a plug in for WordPress ?

Regrettably, the mentioned feature is not supported at present and is not included in our current plans. However, we would be delighted to review your pull request if you would like to contribute.


Batch Normalization in nolearn

Hi,
I was just wondering how it would be possible to include batch normalization using nolearn.
Lasagne has a convenience function batch_norm, but I'm not sure how to use this in the format that you define neural nets using the nolearn wrapper?

You can do that by initializing your layers lasagne style and then pass the last layer to the layers argument of NeuralNet. See here for an example.

Here's another example of using Lasagne-style layer initialization:
layer = InputLayer(shape=(None, 1, 28, 28))
layer = Conv2DLayer(layer, filter_size=5, num_filters=8)
layer = MaxPool2DLayer(layer, pool_size=2)
layer = Conv2DLayer(layer, filter_size=5, num_filters=8)
layer = MaxPool2DLayer(layer, pool_size=2)
layer = DenseLayer(layer, num_units=128)
layer = DenseLayer(layer, nonlinearity=softmax, num_units=10)

net = NeuralNet(
    layer,
    update=nesterov_momentum,
    update_learning_rate=0.01,
    update_momentum=0.9,
    )


fix: update rnpm

Updates the rnpm config based on the newest version of React Native. Instead of adding it to the package.json, it is recommended that you add it to a react-native.config.js file.
Changes

add helper function copyFile
remove rnpm.json file
create react-native.config.js file
update setup to copy file into root of directory.

Screenshots
It works!

And the app still runs

Checklist

[ ] Automated tests
[X] Creating a new project still works
[ ] Added docs

Fixes #64

@jsjoeio Could we just add this file to the root of the project and lean on react-native init to copy for us? Similar to this https://github.com/echobind/react-native-template-echobind/blob/master/rn-cli.config.js

@jsjoeio Could we just add this file to the root of the project and lean on react-native init to copy for us? Similar to this https://github.com/echobind/react-native-template-echobind/blob/master/rn-cli.config.js

@cball that's too simple! we must overengineer everything 😜
Great idea - I didn't even think of doing it that way. I'll refactor.

All good! It's not really an obvious direction if you're new to it

Oh no! Should have tested this in last PR - I will fix in this one.

Success!


Migrating tests to Github Actions

Will keep Travis for now. I saw flapping test ig GHA before, but now they're working...

Merging, but keeping Travis for now - I'm still not sure on tests stability on GHA and in general.


latest commit break git-fat find

$python git-fat find 1000000
Traceback (most recent call last):
  File "git-fat", line 616, in <module>
    fat.cmd_find(sys.argv[2:])
  File "git-fat", line 540, in cmd_find
    for path, sizes in sorted(pathsizes.items(), key=lambda p,s: max(s), reverse=True):
TypeError: <lambda>() takes exactly 2 arguments (1 given)

Changing line 540 to for path, sizes in sorted(pathsizes.items(), key=lambda s: max(s), reverse=True) works

Thanks. Your suggestion needed a tweak to get the correct sort order.

Thanks.


Remove references to deprecated book font weight

BREAKING CHANGE: Book version of Benton Sans has been removed
Closes #251

Don't merge yet


Feature request

Could you please add a world black list, I dont want to see any sleep msgs unless im in the overworld. Sleeping in the nether or end doesnt make much sense and theres no reason at all for it to be seen in the creative or minigame worlds

Added this feature in the latest build!

I know this issue is closed, but can this be converted to a generic world list? And the list would have the option of blacklist or whitelist.

I know this issue is closed, but can this be converted to a generic world list? And the list would have the option of blacklist or whitelist.

Sure thing, I'll get on that.

737c9bd implements this- I just made a toggle for whitelist-mode right below the list as an optional feature.


Add Just Dance by Lady Gaga

Song Name
Just Dance
Artist Name
Lady Gaga
Source
Youtube
Youtube Link
ACNwMzZejQQ
Direct File Link
No response
Song ID
528136
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 7880934

accept


Create plan - blank message

When you select a research org or funder on the create plan page, a blank notice appears at the top of the page. Need to update the JS to not display this when its returning template options. It should only be setting the flash notice when the plan is created.

related to #684

While trying to test this I discovered I can't create a plan @briri . When I made selections I didn't notice any blank message so maybe this is fixed...?
but I did get the following weird json output after clicking "Create plan"

@briri - so now i can create a new plan and the correct message is displayed. but there's a new bug that displays a secondary template drop-down for every funder even if there's only one template (see screenshot).

@briri - functionality is back to normal for dropdowns and creating the plan, but the message is weird (screenshot below). i assume this is because we need to display the name for subtemplates, but for funders w/only 1 template it should only say:
"This plan is based on the Wellcome Trust template"

I had updated it to display: "This plan is based on the [Organization Name]: '[Template Name]' template" per an earlier ticket.
Do we want to clean up the template names or try to introduce logic that determines how best to structure the message. That could get messy though.

we definitely want to clean up the template names. can the message display: This plan is based on the [Template Name]: [Subtemplate Name]? so e.g., Department of Energy: Office of Science template

We don't really have a concept of sub-templates in Roadmap. We have Organization and Template so in the example above, [Organization name]: [Template Name] would be "Department of Energy (DOE): Department of Energy (DOE): Office of Science"We'd ideally remove the 'Department of Energy (DOE)' from the template name.
I think that approach would be ok in most situations. All of the tables that list templates also list the funder/org name. The only place where I could see an issue is in lists of plans. We display the template names there but not the org name. So you'd see something like:

Plan: 'Impact of autonomous vehicles on the price of tomatoes' Template: 'Office of Science'

I agree this approach will work. We may need to adjust some data on our side as most template names also include the funder name, but we can change this as needed.

@briri - just confirming that it sounds like we can resolve this by adjusting template names. no tricky logic necessary.

alright. do we feel comfortable closing this out then?

sure thing. i'll confer w/ @sjDCC  to make sure we understand how to curate template names so we display a sensible message.


forms pro responses

[Enter feedback here]

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

ID: 33886e55-fe3b-627c-cd2c-0782798f126b
Version Independent ID: 52480bca-1cb6-5c8a-daae-9cc5fb1352ee
Content: Frequently asked questions - Microsoft Forms Pro
Content Source: fp-docs/mfp-faq.md
Service: forms-pro
GitHub Login: @sbmjais
Microsoft Alias: shjais

Hi @JoellenMS, the feedback section is empty. Please share your feedback.

Thanks for contacting us. As we haven’t heard back from you, I am closing this issue. If you need further help, please reopen the issue or open a new issue.


Artist MBID lookup failed due to multiple relations

The artist MBID wasn't found while I was seeding https://mpsc.bandcamp.com/album/days-as-echoes. I see this in the logs:
Failed getting artist MBID from https://mpsc.bandcamp.com/: got 3 relations for URL

There's already a TODO in mbdb/db.go about figuring out how to handle this case.

Here's the XML from https://musicbrainz.org/ws/2/url?resource=https%3A%2F%2Fmpsc.bandcamp.com%2F&inc=artist-rels (after manual reformatting):
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://musicbrainz.org/ns/mmd-2.0#">
  <url id="726abe3f-03e8-479a-8fff-237be75b78e9">
    <resource>https://mpsc.bandcamp.com/</resource>
    <relation-list target-type="artist">
      <relation type="bandcamp" type-id="c550166e-0548-4a18-b1d4-e2ae423a3e88">
        <target>4e1a1a2c-32c5-4013-9264-61b92e06b7d4</target>
        <direction>backward</direction>
        <artist id="4e1a1a2c-32c5-4013-9264-61b92e06b7d4" type="Group" type-id="e431f5f6-b5d2-343d-8b36-72607fffb74b">
          <name>Hanz Mambo & his Cigarettes</name>
          <sort-name>Hanz Mambo & his Cigarettes</sort-name>
          <disambiguation>aka Misha Panfilov Sound Combo</disambiguation>
        </artist>
      </relation>
      <relation type="bandcamp" type-id="c550166e-0548-4a18-b1d4-e2ae423a3e88">
        <target>c6d215c4-c718-4bb6-a54a-4c1eee8bc068</target>
        <direction>backward</direction>
        <artist id="c6d215c4-c718-4bb6-a54a-4c1eee8bc068" type="Group" type-id="e431f5f6-b5d2-343d-8b36-72607fffb74b">
          <name>Misha Panfilov Sound Combo</name>
          <sort-name>Misha Panfilov Sound Combo</sort-name>
        </artist>
      </relation>
      <relation type="bandcamp" type-id="c550166e-0548-4a18-b1d4-e2ae423a3e88">
        <target>eef9b345-2daa-4209-b595-a3e290335f64</target>
        <direction>backward</direction>
        <artist id="eef9b345-2daa-4209-b595-a3e290335f64" type="Person" type-id="b6e035f4-3ce9-331c-97df-83397230b0df">
          <name>Misha Panfilov</name>
          <sort-name>Panfilov, Misha</sort-name>
        </artist>
      </relation>
    </relation-list>
  </url>
</metadata>

Maybe I should just choose the MBID corresponding to the name that's closest to the artist name from Bandcamp.


[Web Portal] reduce bundle size

Result
job-detail gzipped size:  760.51KB -> 561.4KB
Change

monaco-editor: remove unused features and languages
js-yaml: remove optional esprima dependency
chart.js: remove optional moment dependency

Coverage increased (+0.01%) to 53.064% when pulling 3cc97a6968d1061299069ca702914c353927f1c9 on qinsu/bundle into bd08823c0be7fea9fb55efe42e5a48e06724ea29 on master.


Feature... Integrate with iCal?

Afternoon,
Is it possible to sync this plugin with an iCAL URL?
Sorry if mentioned elsewhere.
Thanks! So excited is possible as it may have changed how we do some displays at work!

@daven1985 It should be possible if you can retrieve iCal data using one of the existing Data Source. I am not sure if the iCal Data Source exists, maybe you can use JSON API or Infinity Data Source to retrieve data.
I would love to know if you make it work.

I would also be interested to know if someone was able to import events from an ical feed.
For now I have just found a google calendar data source here

@wokawoka Google Calendar Data Source is an outdated Angular plugin not supported in Grafana 10.
I don't see a lot of interest from the community in supporting iCloud or Google Calendar.
Please consider storing events in any other data source supported by Grafana.

@wokawoka Google Calendar Data Source is an outdated Angular plugin not supported in Grafana 10.
I don't see a lot of interest from the community in supporting iCloud or Google Calendar. Please consider storing events in any other data source supported by Grafana.

@mikhail-vl
thank you for your answer.
Then I will investigate more and look for alternative solutions

@wokawoka Great!
Let us know if there is anything else.


System Warning of 'A resource failed to call close' on API >28

Error being logged by the system as the navigation starts ...
...
W/CustomTabs: onNavigationEvent: Code = 1:NAVIGATION_STARTED
W/dispatchEvent: NAVIGATION_STARTED
W/System: A resource failed to call close.
W/System: A resource failed to call close.
W/CustomTabs: onNavigationEvent: Code = 2:NAVIGATION_FINISHED
W/dispatchEvent: NAVIGATION_FINISHED
...

Seems to be related to the Solar2d app going to the background so will close.


SEAS: Checkpoint Green's functions

This PR provides functionality to store / load GFs to / from disk.
It periodically will dump the GFs every 30 mins by default.
It supports partial writing / loading of GFs such that you can incrementally compute the GFs over multiple job executions. e.g. to support cases when you cannot generate ALL GFs within a given walltime.

@uphoffc This MR now allows users to specify the path where the checkpoint data will be written via the toml file. The path is optional. In the event a path is not provided, checkpointing of the GFs will not occur (checkpointing is disabled). When checkpointing is disabled, the previous functionality you wrote is called.

@Thomas-Ulrich Can you please go through each of Carsten's comments and reply to them and resolve them as necessary.


There is no way to install a specific version of CLI with current bash installer

Background
I am using TX on my CI, for which the machine spins up automatically and installs the TX CLI every time I build a new image for it. Considering that the CLI is evolving actively at the moment, I would like to take control over the version that gets installed on my machine so that I don't have my logic broken due to new breaking changes from the latest version.
Requirements

Adjust https://github.com/transifex/cli/blob/f5475ffb4c267f320dc97ea2facb7ae4e1400e2d/install.sh to accept the TX version that should be installed as a parameter.
If the parameter is not passed, the latest version should be installed.

How to test

Run ./install.sh v1.4.0
Make sure "TX Client, version=1.4.0" gets printed on the last line in the output
Run ./install.sh
Make sure "TX Client, version=1.4.1" gets printed on the last line in the output

Hey @maximbircu,
Again, thank you for your contribution! The change is now on master, so you and everyone else can use it! 👏


 I'm not using docker-compose due to the local environment.
I have attached the logs
_valheim_logs.txt

based on that log, your server should be running

Odd because steam isn't able to find it, and telnet even to the docker IP over port 2456 doesn't work.
I checked netstat in the container and it looks like 2457 is open, but not 2456

inside the docker, whats pidof valheim_server.x86_64 return?

Minor note, you should not be using a privileged container for this

--privileged

Okay, I don't know what I did, but it's working; maybe it just took a while to register with steam? Not sure, as for privileged, ya I need to properly set up my security profiles but haven't had a chance.
Thank you for your assistance :)


Storages list endpoint

Description:  Information about supported storage types & payments
Path:  /storages/
Arguments:  None
Returns:
[
    {
        "type": "filecoin",
        "description":  "File storage on FileCoin",
        "payment":
            [
                {
                    "chainId": 1,
                    "acceptedTokens":
                        [
                            "OCEAN": "0xOCEAN_on_MAINNET",
                            "DAI": "0xDAI_ON_MAINNET"
                        ]
                },
                {
                    "chainId": "polygon_chain_id",
                    "acceptedTokens":
                        [
                            "OCEAN": "0xOCEAN_on_POLYGON",
                            "DAI": "0xDAI_ON_POLYGON"
                        ]
                }
            ]
    },
    {
        "type": "arweave",
        "description":  "File storage on Arweave",
        "payment":
            [
                {
                    "chainId": 1,
                    "acceptedTokens":
                        [
                            "OCEAN": "0xOCEAN_on_MAINNET",
                            "DAI": "0xDAI_ON_MAINNET"
                        ]
                },
                {
                    "chainId": "arweave_chain_id",
                    "acceptedTokens":
                        [
                            "ARWEAVE": "0xARWEAVEtoken_on_arweaveChain"
                        ]
                }
            ]
    }
]

@alexcos20 @happy-dev : Three things for which I need your inputs here.
First, the result given as example is not a valid JSON as is, as JSON/JS do not support associative arrays (checked with JSON). As specified in the current PR, the format I propose is the following:
[
  {
    "type": "filecoin",
    "description": "The file coin storage description.",
    "payment_methods": [
      {
        "chain_id": "1",
        "accepted_tokens": [
          {
            "OCEAN": "0xOCEAN_on_MAINNET"
          },
          {
            "DAI": "0xDAI_ON_MAINNET"
          }
        ]
      },
      {
        "chain_id": "polygon_chain_id",
        "accepted_tokens": [
          {
            "OCEAN": "0xOCEAN_on_POLYGON"
          },
          {
            "DAI": "0xDAI_ON_POLYGON"
          }
        ]
      }
    ]
  }
]

Only change being the accepted tokens array format from
"acceptedTokens":
[
    "OCEAN": "0xOCEAN_on_MAINNET",
    "DAI": "0xDAI_ON_MAINNET"
]

To
"accepted_tokens": [
  {
    "OCEAN": "0xOCEAN_on_MAINNET"
  },
  {
    "DAI": "0xDAI_ON_MAINNET"
  }
]

Is that ok ?
Second question, I see there is now a URL field on the storage objects which makes sense, but what are examples valid values for this field ?
Third question, the initial specification issue suggests to use a /info/ path. To be more REST compliant I suggest to use a GET on /storages/ for that. Is that ok ?
@happy-dev I'd like to discuss the chains vs accepted_tokens usage here.

@balessan For questions n°1 and 3, they sound like valid points to me. I let @alexcos20 express his opinion since he has the final say on this.
Regarding question n°2, is this what you are looking for?
{
    "type": "filecoin",
    "description":  "File storage on FileCoin",
    "url": "http://microservice.url",
    "payment":
            [
                {
                    "chainId": 1,
                    "acceptedTokens":
                        [
                            "OCEAN": "0xOCEAN_on_MAINNET",
                            "DAI": "0xDAI_ON_MAINNET"
                        ]
                },
                {
                    "chainId": "polygon_chain_id",
                    "acceptedTokens":
                        [
                            "OCEAN": "0xOCEAN_on_POLYGON",
                            "DAI": "0xDAI_ON_POLYGON"
                        ]
                }
            ]
}
´´´

I assume it is not but... I'm trying to help 😌

Call back whenever


Text rendering issues

The text isn't rendered properly IMHO - somehow it's not looking clean and is difficult to read. I even see it on your screenshots. There is a noticeable difference between the font on pages that are designed to be dark and the view created by this extension. It feels like the "text stroke" option is never really disabled even when it tells that it's switched off.
Anyways - this is a very cool and useful extension I've been waiting for. A big thank your for sharing it!
UPDATE:
I just found an easy work around:
html {
    text-shadow: 0 0 0 rgba(0,0,0,0.5);
}

This is also being inverted so the result is higher text contrast - the bitten out parts are being smoothed ;)

Nice solution, thanks, will be released soon.

Many thanks ;)


Comparison operations

More comparison operations can be implemented and sped up using vector operations.

== (basic version available in src/utils)
<
<=

The order can be pretty arbitrary; its just that some consistent order has to exist to allow sorting and binary search tree operations to be well-defined.

More I think on nuc2bit more I think we need to create a type to store the 2 bit representation of nucleotide.
Maybe we can use or by inspired by bv or bitvec

That is a very good point. It allows the internal representation, which is a contiguous piece of memory, to be manually managed (aligned) for maximum efficiency, so allocations do not have to be done for every operation.


" object is not registered in this provider" exception when trying to serialise objects

MemoryPack serialization/deserialization works for basic variables (strings, lists, etc.). Once an object var is used (record, class, etc.), I get "__________ is not registered in this provider". I am not sure if this is a System issue or an incorrect usage of MemoryPack. Additionally, I checked my Dependencies > Analyzers, and "MemoryPack.Generator" is not creating any files...

Here is my sample project where this issue occurs:
Exception:  "MemoryPack.MemoryPackSerializationException : System.Object is not registered in this provider."

Serializer.cs

public interface SerializerInterface
{
    MemoryStream Serialize(object unpacked);

    object Deserialize(MemoryStream packed);
}

public class Serializer : SerializerInterface
{
    public Serializer()
    {
    }

    public MemoryStream Serialize(object unpacked)
    {
        return new MemoryStream(MemoryPackSerializer.Serialize(unpacked));
    }

    public object Deserialize(MemoryStream packed)
    {
        return MemoryPackSerializer.Deserialize<object>(packed.ToArray());
    }

}

SerializerTest.cs

public class SerializerTest
{
    [Fact]
    public void SerializeAndDeserialize()
    {
        // arrange.
        TestEvent e = new(1, "Test 1");
        SerializerInterface serializerObj = new Serializer();

        // act.
        MemoryStream packed = serializerObj.Serialize(e);
        object unpacked = serializerObj.Deserialize(packed);

        // verify.
        Assert.Equal(e, unpacked);
    }
    [MemoryPackable]
    public partial record TestEvent(int Id, string Message) ;
}

object is not supported by default.
A custom formatter can be provided to add support, but we have no intention of including it in the standard.


Use thread-safe random generator

Go race detector detects an issue with random generator:
==================
WARNING: DATA RACE
Read at 0x00c0003e6000 by goroutine 186:
  math/rand.(*rngSource).Uint64()
      /usr/local/go/src/math/rand/rng.go:239 +0x3e
  math/rand.(*rngSource).Int63()
      /usr/local/go/src/math/rand/rng.go:234 +0x1d9
  math/rand.(*Rand).Int63()
      /usr/local/go/src/math/rand/rand.go:85 +0x8e
  math/rand.(*Rand).Int()
      /usr/local/go/src/math/rand/rand.go:103 +0x6f
  github.com/hekmon/transmissionrpc.(*Client).request.func1()
      go/src/github.com/hekmon/transmissionrpc/request.go:57 +0x45

Previous write at 0x00c0003e6000 by goroutine 181:
  math/rand.(*rngSource).Uint64()
      /usr/local/go/src/math/rand/rng.go:239 +0x54
  math/rand.(*rngSource).Int63()
      /usr/local/go/src/math/rand/rng.go:234 +0x1d9
  math/rand.(*Rand).Int63()
      /usr/local/go/src/math/rand/rand.go:85 +0x8e
  math/rand.(*Rand).Int()
      /usr/local/go/src/math/rand/rand.go:103 +0x6f
  github.com/hekmon/transmissionrpc.(*Client).request.func1()
      go/src/github.com/hekmon/transmissionrpc/request.go:57 +0x45

From https://golang.org/pkg/math/rand/

The default Source is safe for concurrent use by multiple goroutines, but Sources created by NewSource are not.

good catch !
However I am not comfortable having a lib initializing or modifying global std lib objects (same goes for the default http client). In my opinion only the main package should do that kind of things without overstepping with one of the lib it uses.
I would prefer to make this private source concurrent safe as the default Source. Unfortunately it is unexported even if there is some talks about exporting it or the golang exp rand which has an exported LockedSource.
So how I see a potential fix:

switching from the std lib rand to the exp rand
implementing a mutex and an unexported method wrapping around it, thus mimicking the LockedSource behavior

What do you thing of that ?

switching from the std lib rand to the exp rand
Looks like it's not thread safe as well: https://pkg.go.dev/golang.org/x/exp/rand
I can implement simple mutex-locked wrapper which serializes access to the random source, would that be ok?

lgtm !
Thank you for the fix :)


Use noexpand: prefix for formula branches.

root_numpy supports branch names to be formulas, such as 2*sqrt(x), which are parsed by ROOT’s TFormula class.
The use of * by root_pandas for branch name matching conflicted with this behaviour. This commit adds the NOEXPAND_PREFIX string, which causes column names to skip the branch name matching mechanisms.
See #14 for more.

Force pushed after rebase.

Awesome, thanks!
Can you also document the functionality in the doctoring for read_root?

How about something like this?
columns: str or sequence of str
    A sequence of shell-patterns (can contain *, ?, [] or {}). Matching columns are read.
    The columns beginning with `noexpand:` are not interpreted as shell-patterns,
    allowing formula columns such as `noexpand:2*x`. The column in the returned DataFrame
    will not have the `noexpand:` prefix.

The docstring is great, thank you 👍


[swarm mode][volume plugin] docker volume rm does not delete info in metadata.db when run in different host

Description
In swarm mode, with volume plugin, If create volume in host1, then run docker volume rm in host2, the volume is deleted, but the info in /var/lib/docker/volumes/metadata.db in host1 is not cleaned up, and it stays there forever.
Maybe we should error out when can't find metadata info on current host for volume rm.

Steps to reproduce the issue:

on host1: docker volume create -d testvol
on host2: docker volume rm testvol
check host1: /var/lib/docker/volumes/metadata.db

Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker version:
docker version
Client:
 Version:      1.13.0
 API version:  1.25
 Go version:   go1.7.3
 Git commit:   49bf474
 Built:        Tue Jan 17 09:55:28 2017
 OS/Arch:      linux/amd64

Server:
 Version:      1.13.0
 API version:  1.25 (minimum version 1.12)
 Go version:   go1.7.3
 Git commit:   49bf474
 Built:        Tue Jan 17 09:55:28 2017
 OS/Arch:      linux/amd64
 Experimental: false

Output of docker info:
(paste your output here)

Additional environment details (AWS, VirtualBox, physical, etc.):

Yep, this is expected.
docker volume * are node-local commands and swarm-mode is not supported currently.
Closing as this is currently expected behavior... but feel free to discuss.
Thanks for the report 🙇


Add some more icons

The memtest86 icon has been created by me, the other ones are taken from:
https://github.com/theracermaster/clover-minimal

I won't be merging this. Thank you though!


API-109: add initial support for 'list giftcards'

I updated the base so that we can merge each ticket into one branch for the stoplight sandbox


for pv, lens not reflecting true K8 state but kubectl does

Using LENS 5.0.2. But I experienced the issue even with 4.2.4
After deleting the PV using kubectl. kubectl shows no PV :

But Lens still shows PV is active :

I've waited to 3-4hrs for the GUI to refresh automatically, but I still see the PV in the GUI.  I have to restart Lens everytime to refresh the GUI to reflect the true K8 state.
Please have a look.
Thanks

Also Ctrl + R solves the issue sometimes on windows - but most of the times Ctrl + R indefinitely freezes the entire Lens GUI and as a result I have to shutdown Lens and restart it

Hi, can you provide some logs from the Developer Tools console?

I see the same problem with 5.0.2-latest (20210705.2) using NetApp Trident CSI with SolidFire and K8s v1.21.2 (Ubuntu 20.04).
In my case with Lens on Ubuntu 20.04, CTRL+R does help refresh and update ghost PVs, making them disappear.


The docker image of version 1.6.3 is invalid, it is still version 1.6.2.

@syepes Thank you very much for your timely update, but I found that using The docker image of version 1.6.3 is invalid, it is still version 1.6.2.
this is log :
kubectl logs -f -n kube-system network-exporter-b4bc8dd9b-bdvh5  ts=2022-11-04T15:52:01.558Z caller=main.go:54 level=info msg="Starting network_exporter" version=1.6.2 ts=2022-11-04T15:52:01.560Z caller=main.go:56 level=info msg="Loading config" ts=2022-11-04T15:52:01.560Z caller=main.go:58 level=error msg="Loading config" err="reading config file: open /network_exporter.yml: no such file or directory"

Strange, give a try on the 1.6.4.

@syepes Thank you very much, now it can run normally in k8s with the latest version 1.6.4, the attachment is the yml file deployed in k8s.
network_exporter-deployment.zip


[SPARK-41666][PYTHON] Support parameterized SQL by sql()

What changes were proposed in this pull request?
In the PR, I propose to extend the sql() method in PySpark to support parameterized SQL queries, see https://github.com/apache/spark/pull/38864, and add new parameter - args of the type Dict[str, str]. This parameter maps named parameters that can occur in the input SQL query to SQL literals like 1, INTERVAL '1-1' YEAR TO MONTH, DATE'2022-12-22' (see the doc of supported literals).
For example:
    >>> spark.sql("SELECT * FROM range(10) WHERE id > :minId", args = {"minId" : "7"})
       id
    0   8
    1   9

Closes #39159
Why are the changes needed?
To achieve feature parity with Scala/Java API, and provide PySpark users the same feature.
Does this PR introduce any user-facing change?
No, it shouldn't.
How was this patch tested?
Checked the examples locally, and running the tests:
$ python/run-tests --modules=pyspark-sql --parallelism=1

Merging to master. Thank you, @HyukjinKwon for review.


translate docs/concepts/workloads/pods/downward-api/

This is Support

/language zh
/kind feature

/assign

English page: https://kubernetes.io/docs/concepts/workloads/pods/downward-api/
/remove-kind support

/triage accepted


_MSC_VER for VS2019 => 1920

Visual Studio 2019 version 16.0: _MSC_VER is 1920.

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

ID: 302c807b-34ed-c367-be11-c1528666cb75
Version Independent ID: acf8ddce-337a-1a41-d39e-b7d2b52360cf
Content: Predefined Macros
Content Source: docs/preprocessor/predefined-macros.md
Product: visual-cpp
Technology: cpp-language
GitHub Login: @mikeblome
Microsoft Alias: mblome

Update is live.


base/range interval without range

Is it possible to annotate an interval without its range ? What to do with this?:
a certain temperature interval1 around 4 0 " ~
(where " ~ is actually C°)
a certain temperature interval1 around <measure type="interval"><num type="base">4 0</num>
<measure type="TEMPERATURE" unit="°C">" ~</measure></measure>

?

Could you please share the file where this is contained? Looks like an error of the extraction from the pdf, but I'd like to see.

It's in jpa-00251546.training.tei.xml

Ok so it looks an OCR problem and @kermitt2 says

when there is an OCR error, you can keep it and annotate it as it would be the right sequence of characters

so I think all good.


🗃 update position data structure

🗃 update position data structure
chore: release version 0.9.5

#102  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @mingi3314 and the rest of your teammates on  Graphite


Override BQ load job location when necessary

Found a case where if we retry a successful load job (e.g. due to bundle failure), we get a 409 ALREADY_EXISTS error along with a job reference that does not contain a location.
In finish bundle, we perform wait operations on job references, where we get and poll until the job is finished. If we attempt to get a job without a location, the API will default it to US multi region. However, this is problematic when we're writing to a different region because BQ won't be able to find the job and we encounter a 404 NOT_FOUND error.
In such a case where the job reference has null location, we should override it with the table's location

Looks like there are some presubmit error caused by the code change.
apitools.base.protorpclite.messages.ValidationError: Expected type <class 'str'> for field location, found <Mock name='mock.tables.Get().location' id='133722614311760'> (type <class 'mock.mock.Mock'>)

I think we need to mock location when creating the mocked object of bq_client.

waiting on author

@shunping can you PTAL?

There is a racing condition here such that the retry job could happen when the conflict job is running, and then get_table_location will fail on 404, thus failing the Dataflow job.


get_studies_by_label failing

Summary
NameError: name 'get_studies_by_label' is not defined
Additional details

NiMARE version: 0.0.11
python 3.6

What were you trying to do?
Using terms to filter papers and doing a meta-analysis
What did you expect to happen?
Get the ids of the filtered papers
What actually happened?
Function 'get_studies_by_label' can not be found, which is given on the website of NiMARE.
Reproducing the bug

# Use neurosynth database
dset = Dataset.load("neurosynth_dataset_with_abstracts.pkl.gz")

#define target variables
ids = get_studies_by_label(labels='(child* | adolescen*) & (trauma* | maltreat* | abuse | advers* | neglect)', label_threshold=0.001)
dset_sel = dset.slice(ids)
print(len(ids))

#do meta-analysis with ALE
from nimare.meta.cbma.ale import ALE

meta = ALE()
results = meta.fit(dset_sel)

corr = FWECorrector(method="montecarlo", n_cores=8)
cres = corr.transform(results)

plot_stat_map(
    results.get_map("z"),
    cut_coords=[0, 0, -8],
    draw_cross=False,
    cmap="RdBu_r",
    threshold=0.1,
)
plot_stat_map(
    cres.get_map("z_desc-size_level-cluster_corr-FWE_method-montecarlo"),
    cut_coords=[0, 0, -8],
    draw_cross=False,
    cmap="RdBu_r",
    threshold=0.1,
)

I tried to do the same thing on NiMARE as I did on NeuroSynth but it reported errors. If the function 'get_studies_by_label' did not work, how could I filter papers by terms?

In order to understand the nature of your problem, it would be helpful to have the code you used. Can you share the minimal code necessary to reproduce the issue?

I have add the code in the issue in triple back-ticks('''), but I don't why it disappeared,

Thank you.
There are two issues that I can see:

get_studies_by_label is not a function in NiMARE. It is actually a method of the Dataset class. You can see a bit more about it in this example, but the gist is that you need to do dset.get_studies_by_label() instead.

NiMARE's version of get_studies_by_label doesn't support the advanced searches that Neurosynth did.

The main reason for this is that we want most search capabilities to happen online, using Neurosynth 2.0 (once it's operational).
Also, Tal considered the search method he implemented in Neurosynth buggy.

If you want to reproduce your search with NiMARE, you will need to search for individual labels and then combine the lists of IDs based on the search pattern.
For example, to get the (child* | adolescen*) part of the search, you could do the following:
all_labels = dset.get_labels()
# NiMARE labels start with a label group (e.g., terms_abstract_tfidf__) followed by the label
child_labels = [label for label in all_labels if "__child" in label]
adolescen_labels =  [label for label in all_labels if "__ adolescen" in label]
c_or_a_labels = child_labels + adolescen_labels
child_or_adolescen_ids = []
for label in c_or_a_labels:
    label_ids = dset.get_studies_by_label(label, 0.001)
    child_or_adolescen_ids += label_ids

child_or_adolescen_ids = sorted(list(set(child_or_adolescen_ids)))

Thank you for your kind reply, I'll try it later cause it's too late.

Hey, Taylor. I met another problem that I could not understand. I use your code

child_labels = [label for label in all_labels if "child" in label]
adolescen_labels =  [label for label in all_labels if " adolescen" in label]
...
len(child_or_adolescen_ids)

It returned 738.
I found there was a space in "__ adolescen", and I deleted it. Then it returned 1121.
I think it may be similar to this: https://neurostars.org/t/nimare-neurosynth-complex-features-meta-analysis/19172/9.
But I do not figure out why.

One more question was that I met an error "ValueError: No objects to concatenate" when I ran meta-analysis. The full code was as follows. The error appeared in the last part.
My aim was to do a complex features meta-analysis. Could you please give me some suggestions about that error and the code? Thank you.
import and read data
import nimare, os
dset_file = "neurosynth_dataset_with_abstracts.pkl.gz"
basedir = os.path.dirname(dset_file)
update_path = os.path.join(basedir, "D:\PHD_design\NiMARE", dset_file)
dset = nimare.dataset.Dataset.load(update_path)
Get labels
all_labels = dset.get_labels()
Get studies id of childhood
child_labels = [label for label in all_labels if "__child" in label]
adolescen_labels = [label for label in all_labels if "__adolescen" in label]
c_or_a_labels = child_labels + adolescen_labels
child_or_adolescen_ids = []
for label in c_or_a_labels:
label_ids = dset.get_studies_by_label(label, 0.001)
child_or_adolescen_ids += label_ids
child_or_adolescen_ids = sorted(list(set(child_or_adolescen_ids)))
Get studies id of schizophrenia
schizophrenia_labels = [label for label in all_labels if "__schizophrenia" in label]
psychosis_labels = [label for label in all_labels if "__psychosis" in label]
schizophrenia_labels = schizophrenia_labels + psychosis_labels
schizophrenia_ids = []
for label in schizophrenia_labels:
label_ids = dset.get_studies_by_label(label, 0.001)
schizophrenia_ids += label_ids
schizophrenia_ids = sorted(list(set(schizophrenia_ids)))
Get studies id of schizophrenia and childhood
childhood_and_schizophrenia_ids=[]
for id in child_or_adolescen_ids:
if(id in schizophrenia_ids):
childhood_and_schizophrenia_ids += id
Get dataset of childhood and schizophrenia
label_childhood_and_schizophrenia_dset = dset.slice(childhood_and_schizophrenia_ids)
Do meta-anlysis
from nimare.meta.cbma.ale import ALE
meta = ALE()
results = meta.fit(label_childhood_and_schizophrenia_dset)
corr = FWECorrector(method="montecarlo", n_cores=8)
cres = corr.transform(results)

I found there was a space in "__ adolescen", and I deleted it. Then it returned 1121.

Yes, it looks like that was a typo on my part. I'm pretty sure there are no labels with __ adolscen in them, so the difference in the number of identified studies is due to the fact that no adolescen* labels were being selected.

Could you please give me some suggestions about that error and the code?

# Get studies id of schizophrenia and childhood
childhood_and_schizophrenia_ids=[]
for id in child_or_adolescen_ids:
    if(id in schizophrenia_ids):
        childhood_and_schizophrenia_ids += id

As simpler alternative would be:
childhood_and_schizophrenia_ids = list(set(child_or_adolescen_ids).intersection(schizophrenia_ids)))

Regarding the error, can you share the full traceback? Also, can you share the string returned by print(dset) for each of the Datasets you created?

The full traceback was as follows:
'''
results = meta.fit(label_childhood_and_schizophrenia_dset)
INFO:nimare.dataset:Retaining 0/440 studies
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\psyhy\AppData\Local\Programs\Python\Python36\lib\site-packages\nimare\base.py", line 312, in fit
self._validate_input(dataset, drop_invalid=drop_invalid)
File "C:\Users\psyhy\AppData\Local\Programs\Python\Python36\lib\site-packages\nimare\base.py", line 262, in _validate_input
data = dataset.get(self._required_inputs, drop_invalid=drop_invalid)
File "C:\Users\psyhy\AppData\Local\Programs\Python\Python36\lib\site-packages\nimare\dataset.py", line 428, in get
results[k] = pd.concat(results[k])
File "C:\Users\psyhy\AppData\Local\Programs\Python\Python36\lib\site-packages\pandas\core\reshape\concat.py", line 284, in concat
sort=sort,
File "C:\Users\psyhy\AppData\Local\Programs\Python\Python36\lib\site-packages\pandas\core\reshape\concat.py", line 331, in init
raise ValueError("No objects to concatenate")
ValueError: No objects to concatenate
'''
For each of the Datasets:

print(dset) #print the whole dset
Dataset(14371 experiments, space='mni152_2mm')
print(label_childhood_and_schizophrenia_dset)
Dataset(440 experiments, space='mni152_2mm')

Another more question is that whether I can do meta-analysis using both Neurosynth and NeuroQuery at the same time, but removing the repeat study.

Thank you for your patient guidance! It seems that most of problems have been solved. Maybe the last one is this:
from nimare.meta.cbma.ale import ALE
>>> meta = ALE(kernel__sample_size=20)
>>> results = meta.fit(label_childhood_and_schizophrenia_dset)
**WARNING**:nimare.utils:Metadata field 'sample_sizes' not found. Set a constant value for this field as an argument, if possible.

But it seems that there is a sample size.
>>> print(meta)
ALE(kernel_transformer=ALEKernel(sample_size=20))

And if I run the test, it will stop at here:
>>> from nimare.correct import FWECorrector
>>> corr = FWECorrector(method="montecarlo", n_iters=10, n_cores=8)
>>> cres = corr.transform(results)
INFO:nimare.correct:Using correction method implemented in Estimator: nimare.meta.cbma.ale.ALE.correct_fwe_montecarlo.
  0%|                                                                                | 0/10 [00:00<?, ?it/s]

But it seems that there is a sample size.

That warning is specifically referring to the lack of a study-wise sample size in the Dataset metadata, so it's okay as long as you provided one yourself (which you did).

And if I run the test, it will stop at here:

It might just be taking a very long time to run. How many studies are in the dataset now?

How many studies are in the dataset now?
44 studies

Only 44? It definitely shouldn't take long to run FWE correction such a small Dataset...

In the method of list.intersection，it combines schizophrenia（700+）and childhood （1100+), and gets a total of 44 ids.

Only 44? It definitely shouldn't take long to run FWE correction such a small Dataset...

>>> from nimare.correct import FWECorrector
>>> corr = FWECorrector(method="montecarlo", n_iters=10, n_cores=8)
>>> cres = corr.transform(results)

Maybe I figured out why. As mentioned earlier, the code above will get stuck without error report. That's werid. If I change the iterations to default (I think it's 10000), it will report a lot of  memory errors, and the terminal will shut down.
When I change n_cores to 1, it works normally. But I do set n_cores=8 in R language without error report, maybe it doesn't not work in Python.
from nimare.correct import FWECorrector
corr = FWECorrector(method="montecarlo", n_cores=1)
cres = corr.transform(results)

The result without corrector makes sense with a lot of activation areas, while the result after FWE correction has a  very very small activation area. What can I do to increase the area of activation? Or it's just due to the small sample of results.

Thank you for your patience! You solved all my questions! What an amazing man you are!


import_image: response not checked for errors

When running the import_image plugin, the responses from creating or importing the image stream are not checked and so failures are silent.

Actually an osbs-client issue.


[Improvement] Add possibility to review logs and screenshots for hanged/aborted test runs

need to implement possibility to review attachments for aborted and hanged test runs

not possible by design, logs aggregated and uploaded on test finish, abort/hang is runtime exception that does not allow to execute on test finish listener


median/examples/multi: median.multi.sig~ only available after adding median.multi

Is it expected that median.multi.sig~ is only available after adding median.multi?
https://user-images.githubusercontent.com/6558089/185285581-7beb0005-103f-49ee-a13e-e98888ae3837.mp4

Yeah, I'm aware of this though maybe I can use an init file to indicate that median.mult.sig~ exists in the median.multi binary

@FrancescElies sorry for the delayed response..
If you install via cargo make install are you still seeing this behavior? There is an init file that should set up the mapping so that Max knows to look in the median.multi binary for median.multi.sig~
If install doesn't work for you, you could always copy that file into an init directory next to externals:
xnor:~/dev/rust/median/median/examples/multi (develop) find ~/Documents/Max\ 8/Packages/multi/
/Users/xnor/Documents/Max 8/Packages/multi/
/Users/xnor/Documents/Max 8/Packages/multi//init
/Users/xnor/Documents/Max 8/Packages/multi//init/median-multi-objectmappings.txt
/Users/xnor/Documents/Max 8/Packages/multi//externals
/Users/xnor/Documents/Max 8/Packages/multi//externals/median.multi.mxo
/Users/xnor/Documents/Max 8/Packages/multi//externals/median.multi.mxo/Contents
/Users/xnor/Documents/Max 8/Packages/multi//externals/median.multi.mxo/Contents/MacOS
/Users/xnor/Documents/Max 8/Packages/multi//externals/median.multi.mxo/Contents/MacOS/median.multi
/Users/xnor/Documents/Max 8/Packages/multi//externals/median.multi.mxo/Contents/PkgInfo

@x37v thanks!


feat(STONEINTG-1072): removing sidecard and implement it by Clamav DB

Before you complete this pull request ...
Look for any open pull requests in the repository with the title "e2e-tests update" and
see if there are recent e2e-tests updates that will be applicable to your change.

/test all

/retest

check this newer run log,  duration took 4 minutes
step-extract-and-scan-image

Extracting image(s).
Running "oc image extract" on image of arch amd64
Scanning image for arch amd64. This operation may take a while.
LibClamAV Warning: Max file-size was set to<PHONE_NUMBER> bytes. Unfortunately, scanning files greater than<PHONE_NUMBER> bytes (2 GiB - 1) is not supported.

----------- SCAN SUMMARY -----------
Known viruses: 8700659
Engine version: 1.0.7
Scanned directories: 2933
Scanned files: 24155
Infected files: 0
Data scanned: 1051.98 MB
Data read: 880.60 MB (ratio 1.19:1)
Time: 188.728 sec (3 m 8 s)
Start Date: 2024:12:02 18:25:08
End Date:   2024:12:02 18:28:17
Executed-on: Scan was executed on clamscan version - ClamAV 1.0.7/27474/Sun Dec  1 09:42:26 2024 Database version: 27474
[
	{
		"filename": "/work/logs/clamscan-result-log-amd64.json",
		"namespace": "required_checks",
		"successes": 2
	}
]
{"timestamp":"1733164097","namespace":"required_checks","successes":2,"failures":0,"warnings":0,"result":"SUCCESS","note":"All checks passed successfully"}
{"timestamp":"1733164097","namespace":"required_checks","successes":2,"failures":0,"warnings":0,"result":"SUCCESS","note":"All checks passed successfully"}
{"timestamp":"1733164097","namespace":"required_checks","successes":2,"failures":0,"warnings":0,"result":"SUCCESS","note":"All checks passed successfully"}
{"image": {"pullspec": "quay.io/redhat-user-workloads/kalem-tenant/devfile-sample-python-basic:3fe0848df23095703ded201abf40026a6648330f", "digests": ["sha256:70a9c298dccedbde0dfc3b679807db118cf2152ee63b779f95ca4267828bb0b8"]}}
step-upload

Selecting auth
Using token for quay.io/redhat-user-workloads/kalem-tenant/devfile-sample-python-basic
Attaching to quay.io/redhat-user-workloads/kalem-tenant/devfile-sample-python-basic:3fe0848df23095703ded201abf40026a6648330f
Uploading 4f523535a2d9 clamscan-ec-test-amd64.json
Uploading 0476087e82b1 clamscan-result-amd64.log
Uploaded  4f523535a2d9 clamscan-ec-test-amd64.json
Uploaded  0476087e82b1 clamscan-result-amd64.log
Attached to [registry] quay.io/redhat-user-workloads/kalem-tenant/devfile-sample-python-basic@sha256:70a9c298dccedbde0dfc3b679807db118cf2152ee63b779f95ca4267828bb0b8
Digest: sha256:37ed439a4d59e4959913186258e720344f3badd831607c27863e31369f9d6613


java.lang.NoClassDefFoundError only when running compiled JAR

After building with Maven to a JAR, I am receiving:
Exception in thread "main" java.lang.NoClassDefFoundError: com/mashape/unirest/http/Unirest Caused by: java.lang.ClassNotFoundException: com.mashape.unirest.http.Unirest.
The program only does a GET via Unirest.get(url).asJson();
I imported all required dependencies (Maven method) as installation section showed. The program runs fine when run in IntelliJ, but if I run the .jar, I get the above error. Here is my full pom.xml dependencies. Are any of the other dependencies known to be conflicting in any way?
<dependencies>
    <dependency>
        <groupId>com.mashape.unirest</groupId>
        <artifactId>unirest-java</artifactId>
        <version>1.4.9</version>
    </dependency>
    <dependency>
        <groupId>org.apache.httpcomponents</groupId>
        <artifactId>httpclient</artifactId>
        <version>4.3.6</version>
    </dependency>
    <dependency>
        <groupId>org.apache.httpcomponents</groupId>
        <artifactId>httpasyncclient</artifactId>
        <version>4.0.2</version>
    </dependency>
    <dependency>
        <groupId>org.apache.httpcomponents</groupId>
        <artifactId>httpmime</artifactId>
        <version>4.3.6</version>
    </dependency>
    <dependency>
        <groupId>org.json</groupId>
        <artifactId>json</artifactId>
        <version>20140107</version>
    </dependency>
    <dependency>
        <groupId>org.apache.httpcomponents</groupId>
        <artifactId>httpcore</artifactId>
        <version>4.4.11</version>
    </dependency>
    <dependency>
        <groupId>commons-logging</groupId>
        <artifactId>commons-logging</artifactId>
        <version>1.2</version>
    </dependency>
    <dependency>
        <groupId>org.apache.httpcomponents</groupId>
        <artifactId>httpcore-nio</artifactId>
        <version>4.4.11</version>
    </dependency>
    <dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate-agroal</artifactId>
        <version>5.3.8.Final</version>
        <type>pom</type>
    </dependency>
    <dependency>
        <groupId>mysql</groupId>
        <artifactId>mysql-connector-java</artifactId>
        <version>5.1.6</version>
    </dependency>
    <dependency>
        <groupId>javax.mail</groupId>
        <artifactId>mail</artifactId>
        <version>1.4</version>
    </dependency>
    <dependency>
        <groupId>log4j</groupId>
        <artifactId>log4j</artifactId>
        <version>1.2.17</version>
    </dependency>
</dependencies>

What do you mean by "when I run the jar". Are you importing the classpath when you do that? dependencies are not, by default, built into a jar like they are for a war.
You could make a shaded jar that includes them all inside the jar. or execute defining the classpath with your maven repo,
Also you don't need to include all the sub-dependencies as direct dependencies because maven will do that for you

I was importing the classpath, using a shaded jar was causing issues with log4j, even when explicitly excluding it from the shaded jar. I decided to use Spring Boot for my project and it worked instantly. I'm moving to close this issue as it very likely is not actually related to Unirest. Thanks a ton for your response and Unirest itself.


Push Successful Docker Builds on develop to dev Server

dev-xcp-mainnet-develop-r5p

Now there's a develop tag that's updated automatically. To update the server, just do some docker stuff.


Package request:  DPP

Project description
C++ Discord API Bot Library
Metadata

homepage URL: https://dpp.dev/index.html
source URL: https://github.com/brainboxdotcc/DPP
license: apl 2.0
platforms: linux, macOS, freeBSD, openBSD, raspberry pi, windows

Good timing, just created #259008


Expose helm template option "--skip-tests" to avoid deploying test resources

Helm charts can include tests that are executed after a deploy to ensure the deploy was successful. However when running helm template these test resources (usually Pods) end up in the resulting kubernetes yaml, and then get applied each time the terraform pipeline is run. These Pods might get scheduled before the main app becomes healthy. Moreover these often don't have the same security controls as the main application leading to OPA policy failures (if OPA is used on the cluster).
To avoid this, helm template has the --skip-tests flag which is also exposed by kustomize (issue, pr).
This PR adds this flag to the kustomize provider.
I decided not to change the default behavior, so tests will only be excluded from the output if one explicitly sets the skip_tests option to true. In the unit tests I'm reusing the existing chart, so I had to add skip_tests=true to all other tests to avoid having the test Pod in their output. Let me know if there is a better solution to this.

All unit tests are passing now: https://github.com/markszabo/terraform-provider-kustomization/actions/runs/5052639581/jobs/9065684492

Done, commits squashed, tests passing (gave you access to my fork of the repo, incase you can't see it otherwise). This has been merged to upstream since February, so I think it fulfills all your requests @pst
On the helm crap: I agree, but unfortunately I need to deploy vendor software packaged as helm charts


[minor] Updates kubernetes.v1 to k8s.v1 in the sample files

This is really a minor documentation fix, but, in tandem with the recent changes to the CRD name change, and the change from s/kubernetes.v1/k8s.v1/ in the namespace, I went ahead and made the changes to the sample files as well.

+1 LGTM


No compression for CLI test ouputs

This PR proposes a simple method for turning off compression in the save wrapper using an imported environment variable. This will enable us to run the CLI tests without compression, which speeds them up by a factor of more than 2 (essentially reclaiming lost speed).
Note that a particular pylint check has been disabled for the test_save.py file as there is currently a bug in pylint which does not seem to be being fixed very rapidly: https://github.com/PyCQA/pylint/issues/1498
Testing:

[x] Ran tests and they passed OK

Following discussion with @benfitzpatrick we will take an approach in which the call to save_netcdf is modified in each CLI to include the flag determining whether or not to use compression. This will require changes to all the CLIs and so will not be undertaken until @neilCrosswaite has completed his ongoing modifications to the CLIs.


Add FMPB songs

While adding songs, please ensure that the following are set:

Alternate title
Author
Topic (e.g Praise, Worship, Thanksgiving etc)
Media Url

Currently there 53 songs with author as FMPB

Since the scope of this issue is too big, closing it.


Error when completing: attempt to call local 'snip_info' (a number value)

I updated to the last version of LuaSnip and am now getting the following error when I finish completion  (I got it first when using dictionary completion with <C-X><C-K>):
Error detected while processing CompleteDone Autocommands for "*":
Error executing lua callback: ...packer.nvim/pack/packer/opt/LuaSnip/lua/luasnip/ini
t.lua:75: attempt to call local 'snip_info' (a number value)
stack traceback:
        ...packer.nvim/pack/packer/opt/LuaSnip/lua/luasnip/init.lua:75: in function
'available'
        [string "..."]: in function <[string "..."]:0>

Not sure why it's happening, but it seems related to the open_snippet_list feature that was just merged.

Oh, okay: we added an option to ls.available, it now accepts an optional function instead of no arguments.
I was not aware ppl were calling it with superfluous arguments (a number in your case, IIUC).
Could you confirm that this is the case, or share the source-code of your autocompletion?

(oh, and the fix is to not pass any arguments, the default should work just fine)

Ah! Sorry, I didn't realize this was coming from my code, not something that changed in the plugin. I have the following in my LuaSnip config:
	vim.api.nvim_create_autocmd("CompleteDone", {
		group = augroup,
		callback = function()
			if ls.available(1) then
				ls.expand()
			end
		end,
	})

I don't remember where I got that from (possibly the wiki a while ago), but removing the 1 fixes the error I was seeing.

Very subtle, unfortunately :sweat_smile:
I won't make it a breaking change retroactively, but I'll have to keep in mind that there's nothing wrong with calling a function with more arguments than it currently has


[Feature]: Giving zoom-In/zoom-Out effect on hovering on a product card .

Describe the feature
When user hovers on the product card then i will be shown with the hovering animation to differentiate from the other cards .

Add ScreenShots
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Dear Contributor @Ayushmaanagarwal1211 ,
You have been assigned this issue. As you begin working on the assigned issue, please ensure that you follow the contributing guidelines closely. This will help maintain the quality and consistency of the project. If a Pull Request (PR) is not created within 5 days from the issue assignment, the issue will be reassigned. We appreciate your understanding and look forward to your valuable contribution.


deprecated methods in changelog are not appearing

In https://vincit.github.io/objection.js/release-notes/migration.html#dropped-a-bunch-of-deprecated-methods-and-features
List of deprecated methods in objection v2 are not appearing

They are not supposed to


Don't run NPN tests when NPN is disabled

Checklist

[x] tests are added or updated
[x] CLA is signed

Description of change

if you're inclined to backport, enh, okay for that too.

Not needed.  I checked.

Merged


Auto Login for iFrame

Hello
I have a question. Is it possible to implement an auto login for the iFrame window.
When we connect to a specific dashing-icinga over the browser it ask everytime for credentials in the iframe part. Do you know how to implement an auto login parameter for the iframe.
Thanks

Please follow along in #91 where this already is asked & explained.


Is there a way to abort during extracting?

Is there a way to abort the process during extracting a zip file?

There is no way to abort the process of extraction. But it is a good idea for a pull request :).

Closed due to a long time of inactivity.


Make Modal's beforeClose accept promise

It would be nice to have beforeClose prop in Modal component accept Promise as a return value.
It was a must-have for me when integrating my app with VeeValidate where validate method returns a promise.
I created a Pull Request with this enhancement, let me know what you think. :)
Cheers!

Thanks, pls see my comment in PR.


Does not recognize MSYS Makefiles

I have msys2 installed on Windows 7 64-bit.
I have the mingw-w64-x86_64-cmake package installed.
I have this in my user settings:
    "cmake.cmakePath": "C:\\msys64\\mingw64\\bin\\cmake.exe",
    "cmake.preferredGenerators": [
        "MSYS Makefiles",
        "MinGW Makefiles",
        "Unix Makefiles",
        "NMake Makefiles",
        "Ninja",
    ],

And when I try to build a project I get this:
Unknown CMake generator "MSYS Makefiles"
cmake -G shows that MSYS Makefiles is an option. And it works when invoked from MSYS or Windows terminal.

this is the reason why I suggest that the VSCode cmake plugin should not parse
the generator strings: #33

In this case MSYS Makefiles is a legit generator. So it's unrelated to that issue but I see your point and I agree.

@MinnieTheMoocher, you're right. I'll poke around with some alternative approaches to see how to best set the generator.
@tapir, you can work around this by configuring your project once from the command line, then CMake Tools will continue to use the MSYS Generator as long as the build directory is kept around.

As of the 0.5.4 release, you can force CMake Tools to use a generator with the cmake.generator setting, so I believe this issue is fixed. @tapir, if it is fixed to your liking, please close the issue. Thanks!

I'll close this issue for lack of activity.

Sorry I couldn't test it yet. From what I see it creates a new problem as I
explained on my previous post. I can't make my project settings
cross-platform. If I want my app to compile on linux, mingw and mac now I
have to have 3 different workspaces If I'm not mistaken. A very simple
solutuon is to have 3 setting properties like
cmake.generator.win32/linux/macos so that we can have single settings.json
that will work on all platforms
On 4 Oct 2016 08:33, "vector-of-bool"<EMAIL_ADDRESS>wrote:

I'll close this issue for lack of activity.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vector-of-bool/vscode-cmake-tools/issues/39#issuecomment-251300007,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AANq8BFYXVxtxHz001m4PbpUW-EEet_lks5qweUngaJpZM4KJ0vG
.

Hmm... That is a problem.
I'll reopen and think about the best solution.

My solution comes from the integrated terminal addon. MS uses it like that
as well to specify platform specific shell.
On 4 Oct 2016 08:43, "vector-of-bool"<EMAIL_ADDRESS>wrote:

Reopened #39
https://github.com/vector-of-bool/vscode-cmake-tools/issues/39.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vector-of-bool/vscode-cmake-tools/issues/39#event-811273691,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AANq8JUEMt17sRqRHduH4erOI45acWxDks5qweebgaJpZM4KJ0vG
.

Done! Should be ready in 0.5.5.

Thanks much appreciated!


use line colors from vbb-line-colors

vbb-line-colors has line colors.
We would have to wrap the default parseLine from the VBB hafas-client profile into a function that adds .color.

Implemented as of 8eb5ae81cb1d8c0f264414c39eb2cbb135c5fb90, published as<EMAIL_ADDRESS>


Fix double loop in data channel ID generation

Description
(*SCTPTransport).generateAndSetDataChannelID performed a double loop to find the next available data channel ID. This changes that behavior to generate a lookup map with the taken IDs first, so generating a data channel ID takes much less time.
Before, it would take more than 1000ms to generate the next data channel ID once you had roughly 50k of them. Now it only takes 4ms at that same point.
Reference issue
Fixes #1945
cc @coadler @kylecarbs

Fantastic work @deansheather! Thanks for improving this

I hope you stay involved with Pion. It is hard to find people that can go and clean up existing code like this. If you have any suggestions on things we should do I would love to hear your suggestions.

Tagged v3.1.0-beta.7 so you can move back onto pion/webrtc and off of fork!
Also would you be interested in being added to the Pion org @deansheather? Then you can just push branches instead, makes things easier.


firmware: select release type (release, stable, devel)

I think there was an issue for this but I can't find it now.
An option to be able to pick the branch you are fetching updates from, for now we have develop and the stable release, a drop down to select this would be nice.

yup!

linking this to #371 and closing in favour of that other one


[Question] How do you do the missile effect?

Hey,
Ive been looking allover the files to see how you do the missile effect with effectlib, but i didnt really find out how you do it.
So how do you really create it?
This is how i do it but its really slow..
http://hastebin.com/sanojucari.java

That's more or less how it's done, just plays an effect at every step. That part really has nothing to do with effectlib.
There is also a ConeEffect overlaid on that, if I remember correctly.
Never use distance() for things like this, favor distanceSquared (you'd be comparing against 1.5 * 1.5 in this case). Not sure if by "slow" you meant inefficient, or if it's really just moving slowly through the world.

Ok.
With slow i mean this

That is completely a matter of how quickly you move your point:
double x = t*dir.getX() + 0.005;

That means you are moving 0.005 meters per tick, which is going to be pretty slow.

Oh ye that does make it slower..
But it also changes possition of where it spawns.

The CustomProjectile class plays multiple particles per tick, which is why the speed of the projectile doesn't change the frequency of particles.
So if you move the projectile 1 meter per tick, you might play 10 particles per tick, each stepping 1/10 of a meter.

Ok i made my effect/particle work, i found a code and i modified it a little bit
But could u help me with a tiny thing?
I want to change color of my SPELL_MOB_AMBIENT
I use this code
`try{
ParticleEffect.SPELL_MOB_AMBIENT.display(l, 40.0D);
}
catch (Exception ex) {
ParticleEffect.SPELL_MOB_AMBIENT.display(0.0F, 0.0F, 0.0F, 0.0F, 1, l, 40.0D);
}
			        if ((i > 5)){
			          block = start.getWorld().getBlockAt(l);
			          if (block.getType().isSolid()) {
			           // l.getWorld().createExplosion(l.getX(), l.getY(), l.getZ(), 1.0F, false, false);
			            break;
			          }
			        }`

Thank you.

Assuming that's the EffectLib ParticleEffect class, you can use this display call:
    public void display(ParticleData data, Location center, Color color, double range, float offsetX, float offsetY, float offsetZ, float speed, int amount) {

"data" can be null, so long as you're not using block_crack, icon_crack or one of the other particle types that needs data.

Ty!


Pretrained model

Hi,
Is there any model other than chinese ?

hi, currently we only support Chinese


⚠ Bofrost.de has degraded performance

In 5b334ec, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1022 ms

Resolved: Bofrost.de performance has improved in 5e4dcaf after 7 minutes.


Can't store secret keys in .env & .env.local files

Describe the bug
(Write your answer here.)
Did you try recovering your dependencies?

(Write your answer here.)
Which terms did you search for in User Guide?

(Write your answer here if relevant.)
Environment

(paste the output of the command here.)
Steps to reproduce

(Write your steps here:)

Expected behavior

(Write what you thought would happen.)
Actual behavior

(Write what happened. Please add screenshots!)
Reproducible demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

Secret keys are not being read properly from .env files using process.env.REACT_APP_<KEY>


ELSE or afFieldValueIs value!= (deferent)

Please i want to know how to do else or afFieldValueIs value!= (deferent) in the autoform

i found it
it works
{{#if afFieldValueIs name="parent_account" value="0"}}
{{else}}
{{/if}}

Blaze has the {{# unless }} tag, if that's what you're looking for.


GEODE-6422: Fix test timeout issue

This test was timing out when run in CI. Since it never fails locally,
the issue appears to be with resource contention. Increasing the timeout
should reduce the frequency of failures as it gives the test more time
to spin up the required threads. This test will still fail if it fails
to start two threads within a minute.
Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[x] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[x] Is your initial contribution a single, squashed commit?

[x] Does gradlew build run cleanly?

[x] Have you written or updated unit tests to verify your changes?

[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

DistributedTestOpenJDK11 failed due to known flaky tests:

https://issues.apache.org/jira/browse/GEODE-6440 - resolved but not merged into this branch.
https://issues.apache.org/jira/browse/GEODE-6437 - fix in progress by Jinmei

Thank you for the failure summary and link to existing issues.  I wish everyone did this in a PR they wanted to merge that didn't have a green precheckin.


Fixed unit tests for local execution and AppVeyor

Hi Liryna,
Ok, so I got the unit test suite working again - at least for local execution and for the non-Overlapped tests. It was missing a Mock setup for the new DokanOperations.Mounted(...) method - very likely the reason for the total failure on your local environment - and some very curious parameter combinations apparently related to ReparsePoints appear more normal now. There is also a new requirement on the FindFiles (...) method to return a non-null IList<FileInformation> that was not there before.
All this said, I have just now been able to run 96 of the 100 separate tests successfully against dokany 1.0.0-beta on my local machine. However, AppVeyor is throwing a fit again and enters an endless loop on the first test of the DirectoryInfoTests class. I'll look into this tomorrow.

Hi Liryna,
there you go. There are still some slightly irritating anomalies - i.e. differences i behaviour between AppVeyor and local test execution - for the test CopyTo_WhereSourceIsEmpty_CallsApiCorrectly(), and I still haven't gotten the ReadFileEx / Overlapped tests to work reliably, but otherwise I think we're back in business with the unit test suite.
AppVeyor ran against dokany 0.8.0 as usual, my own local tests on dokany 1.0.0-beta were likewise successful.

Hi @viciousviper
YEAHH :sunglasses: !
That's seems to work very well for Appveyor ! Nice work !
Could you rebase all your commit into one ?

Replaced by PR #64


Preferences show other user's name and username instead of the logged in user

Rancher versions:
rancher/server or rancher/rancher: v2.0.4
rancher/agent or rancher/rancher-agent:
Infrastructure Stack versions:
healthcheck:
ipsec:
network-services:
scheduler:
kubernetes (if applicable): 1.10.3
**Docker version: 17.03.2
**Operating system and kernel: Ubuntu 16.04
**Type/provider of hosts: Openstack
**Setup details: Rancher HA with 3 nodes and internal DB
**Environment Template: Kubernetes
Steps to Reproduce:
Create new Admin user say<EMAIL_ADDRESS>Using any admin user create standard user say<EMAIL_ADDRESS>Now login with standard user.
Go to Preferences.
Results:
Check that My Account contains name and username of Admin user<EMAIL_ADDRESS>Expected Result
Name and username should be of logged in user and not the admin user.

Hi @divyangjp , I can not reproduce this issue.
Can you provide the screenshot like this, please?

Steps to reproduce:

Create an admin user user1.
Login as user1 and create a standard user user2.
Change the role of user1 to standard user.
Logout user1 and Login as user2

API /v3/users?me=true returns user1.
I think we need to fix this issue in server side.

Thanks for the steps @loganhz

I am still seeing this issue in the v2.0.6 release. I am using the OpenLDAP setup and have only the admin user locally. All the users see the Preferences user info as the admin user.

It appears this was fixed in v2.0.8

API /v3/users?me=true returns the multiple users in v2.0.4

API /v3/users?me=true returns the current user in v2.1.4

This issue has been fixed in current rancher/rancher:stable version

It still happens in Rancher 2.3.5.
Steps:

Login as Admin user
Create a new admin user user1
DO NOT close the current tab. Open a new tab in browser and login as user1
Switch back to previous tab.
Edit admin user without any change.

Results:
/v3/users?me=true will always return 2 users.
Expected:
Maybe we should  change me to readonly field

The bug is reproduced with Rancher server rancher\rancher:v2.0.4 and rancher\rancher:v2.3.5
Steps:
Login as Admin user
Create a new admin user user1
DO NOT close the current tab. Open a new tab in browser and login as user1
Switch back to previous tab.
Edit default admin user without any change.

The bug fix is verified with Rancher server rancher\rancher:master-head version ea9700b41 and rancher\rancher:v2.4-head version 481cb64b3
Only 1 user is shown


Fixes bugs with copy and eq on SliceDict (#388).

Calling .copy() now correctly returns another SliceDict instead of a
dict.
== should now work as long as values are numpy arrays or torch
tensors.
raise an error when fromkeys is called. It is generally not useful
to use this method with SliceDicts.

Fixes #388 and then some.


remove linting from recipe as it's done by pre-commit

Checklist

[ ] Used a static YAML file for the patch if possible (instructions).
[ ] Only wrote code directly into generate_patch_json.py if absolutely necessary.
[ ] Ran pre-commit run -a and ensured all files pass the linting checks.
[ ] Ran python show_diff.py and posted the output as part of the PR.
[ ] Modifications won't affect packages built in the future.

Thank you!


Put documentation to dedicated web page

makbet's version
makbet master+g39122cf-2021-01-10T14:53:10+01:00

Feature description
Additional documentation outside GitHub, for example readthedocs.
Expected solution
Documentation available also on dedicated web page, not only as a part of source code.
Additional context
N/A

Some possible options are:

Read the Docs (https://readthedocs.org)
bookdown (https://pkgs.rstudio.com/bookdown)


Dowloading a virus?

Whenever I download this or run this, it says this is a virus according to my PC. The virus is this, do recognize this file or at least know what this is?

See: #54

Oh, sorry. Thank you!

I also dont know if this is because of the Mod Manager, but after I downloaded this the toolbox stopped working and some other things im not familiar. I've also restarted the studio multiple times.  The error message is that it cant load the module of the toolbox..


Intermittent build failures with jib-maven-plugin

I have below jib-maven-plugin dependency added in my maven pom.xml file as below:
<plugin>
              <groupId>com.google.cloud.tools</groupId>
              <artifactId>jib-maven-plugin</artifactId>
              <version>${jib-maven-plugin.version}</version>
              <configuration>
                <skip>true</skip>
                <from>
                  <image>${jib-maven-plugin.image}</image>
                  <credHelper>ecr-login</credHelper>
                  <platforms>
                    <platform>
                      <architecture>${jib-maven-plugin.architecture}</architecture>
                      <os>linux</os>
                    </platform>
                  </platforms>
                </from>
                <to>
                  <credHelper>ecr-login</credHelper>
                </to>
                <container>
                  <entrypoint>
                    <shell>bash</shell>
                    <option>-c</option>
                    <arg>/entrypoint.sh</arg>
                  </entrypoint>
                  <environment>
                    <SPRING_OUTPUT_ANSI_ENABLED>ALWAYS</SPRING_OUTPUT_ANSI_ENABLED>
                  </environment>
                  <creationTime>USE_CURRENT_TIMESTAMP</creationTime>
                  <user>9002</user>
                  <workingDirectory>/home/javarun</workingDirectory>
                </container>
              </configuration>
            </plugin>

Usually my build runs completely fine and all images are built as expected but there are intermittent failure issues where the build starts failing and fails continuously for 2-3 days sometimes a week and then gets fixed on its own all of a sudden.
I get below error when the build fails:
Error: -04 12:46:45.430000: [ERROR] Failed to execute goal com.google.cloud.tools:jib-maven-plugin:3.3.1:dockerBuild (default-cli) on project demo-service: Obtaining project build output files failed; make sure you have compiled your project before trying to build the image. (Did you accidentally run "mvn clean jib:build" instead of "mvn clean compile jib:build"?): /codebuild/output/src3077/src/DemoService/demo-service/target/classes -> [Help 1]
Error: -04 12:46:45.430000: [ERROR]

The exception is thrown here.
I guess you project is not a war project, right? Then what the code does is simple: retrieving project build output (e.g., compiled .class files, dependency .jars, resource files, etc.), and normally, it won't throw an IOException (except for the obvious case where /codebuild/output/src3077/src/DemoService/demo-service/target/classes is empty, which means you didn't compile your project or somehow Jib ran before Maven had a chance to built them).
But looking at this part,

instead of "mvn clean compile jib:build"?): /codebuild/output/src3077/src/DemoService/demo-service/target/classes -> [Help 1]

the message is the underlying exception from here, so it definitely means there was an I/O error when dealing with this particular directory (/codebuild/output/src3077/src/DemoService/demo-service/target/classes).
BTW, you can make Maven output debug logs and get the full stack trace with mvn -X ..., although I think the exception message you will get would be the same.

Thank you for taking time to respond to the query, the problem with the issue is its not consistent things are working perfectly fine now so I won't be able to regenerate it somehow all of a sudden I start getting this error and it keeps on going for a while and it again gets resolved all on its own.
We are using 3.3.1 of the jib plugin can this be resolved using the higher version. Or we need to change something the way we are building our project.
Yes you said it right we don't have the application getting build as a war.

I don't think upgrading Jib will fix it. It's an error in your system where Jib is unable to read  /codebuild/output/src3077/src/DemoService/demo-service/target/classes because a normal I/O operation fails. One common cause is that the user didn't run mvn compile, which would create the output directory. But I am not sure if that's the case here. Your filesystem might genuinely have IO issues.
Some possibilities I can think of:

/codebuild/output/src3077/src is a network file system and you sometimes have issues accessing them.
Someone Jib and the regular Maven compile plugin run in parallel, making Jib sometimes run before /codebuild/output/src3077/src/DemoService/demo-service/target/classes is created.
Some plugin or application (e.g., Anti-Virus) interferes with the directory somehow.

As a desperate move, you could try mvn compile && sleep 5s && ls <project root>/demo-service/target/classes && sleep 5s && ls <project root>/demo-service/target/classes && mvn jib:build or something like that

confirming will not fix
Please note our updated contributing policy.
We are primarily focused on critical bug fixes and platform evolution to ensure it continues to work for its supported use cases. Closing as out of scope.


WIP: Gradual Transition to Typescript

WIP/Idea discussion: Adding Typescript Support to Tonic UI for Gradual Migration
Many teams, especially in Canada (Ottawa), build Tonic UI components using Typescript. While this works well in the short term, it would be beneficial for Tonic UI to fully integrate Typescript into its codebase and export component types.
Path to Migration
Step 1: Start by introducing Typescript to core Tonic components gradually. Begin with adding the Rollup Typescript plugin and configuring Rollup to support .ts and .tsx files.
Step 2: Currently, Tonic UI uses Babel to support older browsers. We can adopt a hybrid approach: keep using Babel and introduce the Typescript compiler as a separate command to type-check and transpile .ts and .tsx files to JavaScript.
Step 3: Transpile Typescript code to ES6 using the Typescript compiler, then use Babel to re-transpile it to ES5/ES3 for broader compatibility. This allows for [tree-shaking](https://webpack.js.org/guides/tree-shaking/), which optimizes the code by removing unused parts. After tree-shaking, compile the ES6 JavaScript down to ES5 to ensure it works in most JavaScript environments.

An alternative approach is to rename all .js files to either .ts or .tsx and turn off TypeScript compiler warnings by default. This allows for TypeScript file support while enabling a gradual migration. Temporarily disabling TypeScript warnings permits incremental migration of files and components to fully utilize TypeScript types. Contributors can enable type checking while working on specific files or components, making it more manageable to address issues across numerous components in the library.

Hi @trend-albert-shala
Thank you for the great sharing. We may decide to split Tonic UI into separate versions: one for open source and one for internal use. This approach is similar to Nginx open-source and Nginx Plus. It will enable us to accelerate development to meet our internal needs, while ensuring the open-source version remains updated as needed.
Sorry, I can't share too many details here as this is a public space. Kevin will keep you updated once we finalize our direction. I think the TypeScript support can be implemented first in the internal version of Tonic UI (a.k.a. Tonic One).

Thanks for sharing those details @cheton, i'd like to offer some help on the internal version where possible.


add rust-gdbgui to rustup

Please add rust-gdbgui to binlinks in the post install script of rustup.
rust-gdbgui was recently added to the list of proxied tools in rustup.
https://github.com/rust-lang/rustup/pull/2811
However, the change that's now present in latest master of rustup is not yet part of a tagged release. I'm assuming that updates to a package are only done to tagged releases? I'm also not sure how disruptive updating the cargoSha256 is.
So, I think this issue cannot be resolved until the next release of rustup.
Checklist

[X] Checked the nixpkgs master branch
[X] Checked the nixpkgs pull requests

Project name
nix search name: rustup
current version: 1.24.2
desired version: > 1.24.3 (not yet released)
Notify maintainers
maintainers: @Mic92
Note for maintainers
Please tag this issue in your PR.

Can you make a pull request?

Sure. I'll make a PR on the next rustup release.

See pr #181686


There is a typo in readme

opens the QT5 Gui and allows for further customization
$ yin-yang -Gui
should read:
opens the QT5 Gui and allows for further customization
$ yin-yang -gui

Thanks for catching this, will fix this now!