Any plan to support group

Any plan to support group, for example, use a group to manage a group of hosts.

Are you thinking of glob-like matching on the hostname? Can you give me an example?
Unfortunately /etc/hosts does not support wildcard domains like *.example.com, though you can use these with dnsmasq or a similar tool.

@cbednarski
For example, I have a group named issue_1, when enable this group, a list of domain will enable:

a.issue_1.domain.com
b.issue_2.domain.com
c.domain.com
d.test.com

I can use hostess group on issue_1 to enable all of these domains, and use hostess group off issue_1 disable all of these domains. And use hostess group add issue_1 a.domain.com and hostess group del issue_1 b.domain to add or remove domain in group.

Thanks for clarifying! This is not something I plan to support, because it requires encoding additional metadata into /etc/hosts (or another file) to keep track of the groups. I recommend using a bash script instead to enable or disable multiple entries.
However, I would not mind supporting glob-like syntax, as in: https://github.com/cbednarski/hostess/issues/25. That feature may simplify things for you.

My solution, use script to manage hosts group.
demo: https://github.com/alswl/.oOo./blob/4a46365177439c729198bc8bd4092d8de6607fa0/.zshrc.etc.d/hosts-on-off.zshrc


[WFLY-18118] Removing the victims-scan profile

Issue: https://issues.redhat.com/browse/WFLY-18118
is cloned by https://issues.redhat.com/browse/WFCORE-6390

Thanks @khermano

Thank you for the review :)


Can I have my custom colors in circle palette.

Hi, I don't want all those VIBGYOR colors in my color picker, I need only 3 colors that can spread in a circle. Can this be achievable.

Yes, you can create your own "picker" component with just 3 colors. How to do it is in readme. Hope this helps.

@RastislavMirek Can you please let me know where I can change the color details. Am very new to this.


Removing unneeded files from public

⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠
What
Remove files from public.
Why
These are the error pages, favicon and robots.txt from a default rails app. They were added 11 years ago and haven't been modified since. Our application static handles error pages, favicon and (I believe) robots.txt, so it seems like we don't need these files.
Visual changes
None.

@kevindew can you take a quick look and confirm I'm not going to horribly break anything with this PR? Thanks.

Thanks @kevindew. Yes I wasn't sure if removing the files would automatically remove the directory, so I removed only the files in case the dir was needed - but it does and it isn't so that's fine. Thanks!


More unit test reasons

📦 Published PR as canary version: Canary Versions

:sparkles: Test out this PR locally via:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

:rocket: PR was released in<EMAIL_ADDRESS>:rocket:


Cannot edit project metadata if OR is not in English

Could it be simply because the word "About" needs to be translated?

right, the "About" link is not shown because it is not translated. could you help to translate it in French from the weblate(you can find the link from readme page). The key is under "core-index-open" section.

I will try to translate "About" into all languages supported. But how does this system work? Does Weblate update the interface itself in the development version?

That will be merged automatically. It supposed to fallback to English. I will double check on this.

@jackyq2015 Yes it falls back to English, @wetneb and I already confirmed this.

The word "About" has been translated on Weblate into all language.

Just tried to remove a translation "rename" from import page, the fallback dose NOT happen. something is broken on this part in general. Not sure started from when though.  will look into this.

We probably need to configure weblate so that by default the strings are copied from English into the localization files for other languages. Also, it could be useful to have a "feature freeze" period before a release so that translators have the time to catch up on new messages to translate.

@wetneb ah!

I am sure we have the fallback. Just tried up to version 2.6, the feature is not working properly. have to dig further.

looks like we are wrong. there is "default language" in the code but never worked.
we can enable the fallback plugin jquery.i18n.fallbacks.js to have this:
https://github.com/wikimedia/jquery.i18n
@ostephens , could you take a look of this?

@jackyq2015 and then how does the existing Pull Request affect this or that ? https://github.com/OpenRefine/OpenRefine/pull/1285

@thadguidry It is not merged yet

@jackyq2015 lolol, I KNOW that.  What's the effect of the changes in that pull request ?  How do they relate to this issue is my wonder as well.

@jackyq2015 I've had a look, but I think until we switch to using the wikipedia i8n library (as per the PR @thadguidry asked about) we can't use the fallback option in isoloation.
So I'd suggest that any effort here should be put into getting #1285 to the point where we can merge?


Is this guaranteed not to split the file up in the middle of a row?

If you run this util on a very large file made up of data rows, is it guaranteed not to split a row in the middle and therefore corrupt the data?

The splits are determined on a new line character and there shouldn't be
any incomplete line splits happening like in the middle of a row. So either
you get file splits that are not incomplete or you don't get any splits at
all.
On Tue, Apr 24, 2018, 9:56 PM Tony Gomez<EMAIL_ADDRESS>wrote:

If you run this util on a very large file made up of data rows, is it
guaranteed not to split a row in the middle and therefore corrupt the data?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ram-jayapalan/filesplit/issues/2, or mute the thread
https://github.com/notifications/unsubscribe-auth/AIqns3bTtlQAEiaKbZ1_P-oEnjdBQ9Exks5tr9fLgaJpZM4Tiq1-
.

I am getting file split with incomplete line. It got split without encountering a new line character

Hi,
What type of file are you using? Is it a structured file? Is it a Windows
or Unix based machine?
On Thu, Aug 2, 2018, 1:58 PM Raja<EMAIL_ADDRESS>wrote:

I am getting file split with incomplete line. It got split without
encountering a new line character
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/ram-jayapalan/filesplit/issues/2#issuecomment-410014773,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIqnswPa9z7N8XR_4iqOtlDBOrZKZysAks5uMz2_gaJpZM4Tiq1-
.

Sorry, it was my editor. It was not cutting the file short. It is all good.


[chore/service]: fix typo on sqlite

I have a question why are all the words "service" written differently

For typo when I look at the code process, I think I might still mention it, after all it has an impact


Standardized z-indices

Over and over again we are having issues with components overlapping each other.
https://favro.com/organization/aee06c3fe6503c804f507dd9/22c630cc02b09f2d6f98b8b3?card=Goo-42141
We mostly use:

-1 (Mostly 'put decoration below')
1 (Mostly 'overlap this one inner element')
2 (Dropdown, ...)
3 (Tooltip, Layout, ...)
9 (Modal)

I think we should go for a more structured approach. Bootstraps z-index system should work for us too.
https://getbootstrap.com/docs/5.0/layout/z-index/
We should still allow non-variable z-indices for stuff like overlapping borders or 'show button above map'.
What to watch out for: Setting z-index on the root of anything that could contain a modal, popup or tooltip will create a new stacking context and will cause our intended ordering to fail. Really think about when to use z-index and especially what this element's children may contain.

the problem with this approach is that we're limiting ourselves to a single digit of stacking. it's probably enough in 99% of the cases, but having say 1100, 1200, 1300 would have 100 sublayers per layer.
otherwise LGTM

@suprMax don't really see your point. There are 999 free 'local indicies' for components to use on their own will, they are not limited to 1 - 9 (you need a very good reason to use 9 different layers).


HTML in markdown failed to render

https://takase1121.github.io/Haruna/
The failed p and img tags are pretty obvious. Can I get them to work?

Pls paste or attach your docma.json / config.

{
    "src": [
        "./src/*.js",
        "./README.md"
    ],
    "dest": "./docs",
    "clean": true,
    "jsdoc": {
        "plugins": ["plugins/markdown"]
    },
    "app": {
        "title": "Haruna Documentation",
        "entrance": "content:readme",
        "base": "/Haruna",
        "routing": {
            "method": "path"
        }
    }
}```

Pls remove "plugins": ["plugins/markdown"] from your config. Docma includes a markdown parser.

The problem with HTML tag still persists. Not only that, If I disable jsdoc markdown plugin markdown in jsdoc is now ignored! Any ideas on how to fix it?

Can you upload a sample project for me to reproduce the problem? I'll try to look into it tomorrow.

Haruna.zip
This should be it. Thank you!

I got it! I turned markdown.sanitize to false in docma config and it worked!

I had to do this as well to get html in markdown to work. It says in the docs that it's by default set to false... Do the docs need to be updated?


[7744] Create upload summary page part 2

Context
Create upload summary page - part 2
This PR implements the summary page which renders the following:

The number of trainees to be created if the upload is successful
The number of validation errors
The number of duplicate errors

Changes proposed in this pull request

Add row_errors association for trainee uploads
Add enum to to BulkUpdate::RowError to determine if each row is of type validation or duplicate
Refactors the uploads show page
Refactors the BulkAddTraineesUploadForm
Add BulkUpdate::TraineeUploadPolicy
Add BulkUpdate::Submissions::TraineeUploadPolicy

Guidance to review

Currently row_errors are not created if a validation error occurs and this logic will be implemented as part of a separate ticket.

Important business

[ ] Does this PR introduce any PII fields that need to be overwritten or deleted in db/scripts/sanitise.sql?
[ ] Does this PR change the database schema? If so, have you updated the config/analytics.yml file and considered whether you need to send 'import_entity' events?
[ ] Do we need to send any updates to DQT as part of the work in this PR?
[ ] Does this PR need an ADR?

NB: Please notify the #twd_data_insights team and ask for a review if new fields are being added to analytics.yml

Looks good. I've included a few minor comments/questions inline. The only other question would be whether we need to extend the feature specs?

The feature specs have been extended and refactored to cover the changes of this PR. Is there a scenario that is not covered?


fix: user tags invalid rendered

Standards checklist:

[x] The PR title is descriptive.
[x] The PR doesn't replicate another PR which is already open.
[x] The PR has self-explained commits history.
[x] The code is mine, or it's from somewhere with an Apache-2.0 compatible license.
[ ] The code is efficient, to the best of my ability, and does not waste computer resources.
[ ] The code is stable, and I have tested it myself, to the best of my abilities.
[ ] If the code introduces new classes, methods, I provide a valid use case for all of them.

Changes:

Fix user tags invalid rendered

Other comments:
Related to https://github.com/pocketnetteam/bastyon-chat/pull/108

Closing as resolved


not done

Problem encountered on https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/install
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Hey @mrattitide! Can you provide more details about your issue so we can try to help?


Show the status of the overall system in URL embeds using meta tags

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
UI Feature
🔖 Feature description
It would be nice if the status that shows up in the overall status div on the status page would be in URL embeds. This is similar to what was asked in #1630.
#1513 partially solves this issue by including the site title and description, but favicon/logos are not embedded.
Ideally, this would be the case, along with making the rest of the embed more valuable by adding an embed color, emoji for quick status indication, and a description that shows the current overall status.
This would also make the link embed more pleasing to the eye using other meta tags.
✔ Solution
I would like to see the embed shown below have its meta tags set according to the overall status of the status page, similar to the information displayed in the overall-status div.
Before:

Sample After:

or

Ideally, the og:image tag would be replaced with the sites logo, the theme-color tag would reflect the current overall status with either green, yellow or red to indicate at-a-glance system status, and the og:description tag would reflect the site's title and also state the overall system status as indicated in the overall-status div.
Additionally, emojis could be added by using ✅,⚠, or ❌ in the og:description tag like:
✅ All systems operaitonal
⚠ Partially degraded Service
❌ Danger! All systems down
Another thought would be to include incident text if one exists as an image that shows in the embed, just like how GitHub pull request links embed an image displaying information about the pull request.
A sample image might look something like this:

❓ Alternatives
I haven't found any alternatives that would achieve this same effect.
📝 Additional Context
No response

I add this to my to-do.
I'll try to implement it asap !


Rewrite to run serially

What
Rewrites most of Floorplan to run serially rather than running in separate processes, to eliminate crashes.
Introduces breaking changes to the top-level API.

:cake:

@moxley :clap: awesome work! Time to cut a new release :)


error: expected {

Not entirely sure where this is originating from, but it appears to be a bug given that the syntax is otherwise valid. At first I thought it was because the comma was required (which would be odd but acceptable), but CI is failing even with it.
Check out the build failure on @jhpratt/standback for an example. This error occurs in a number of places.

Published 0.2.9 which fixes this issue. Thanks for the reporting!

Thank you for the very fast bugfixes as always!


Invalid parsing when value contains comma after single quote.

In [1]: import toml

In [2]: toml.loads("test = 'me', ")
Out[2]: {'test': "me'"}

In this example parsed value contains quote at the end: me'. But lib validates double quotes:
In [2]: toml.loads('test = "me",')
TomlDecodeError: Stuff after closed string. WTF?

Thank you for the bug report! It has been fixed in the latest development versions.


split apiserver rules for onprem and cloud

fixed the deprecated latency metric along the way
This PR:

adds/changes/removes etc

Checklist

[x] Update changelog in CHANGELOG.md.
[x] Request review from oncall area, as well as team (e.g: oncall-kaas-cloud GitHub group).
[x] Alerting rules must have a comment documenting why it needs to exist.

I am not sure if for gcloud the provider label is "google" or "gcloud" or "gce". @AverageMarcus @zewolfe did we decide that already?

I've been going with gcp to keep inline with aws. Though I'm not sure if that's "official".

All good. I've changed it anyway. The helper (wasn't created by me) just defines rocket providers and everything else goes to phoenix :smile:
https://github.com/giantswarm/prometheus-rules/blob/master/helm/prometheus-rules/templates/_helpers.tpl#L31

All good. I've changed it anyway. The helper (wasn't created by me) just defines rocket providers and everything else goes to phoenix smile
https://github.com/giantswarm/prometheus-rules/blob/master/helm/prometheus-rules/templates/_helpers.tpl#L31

We are the catchall team :rofl:


Unable to move een AGO-assistant copied item from rootfolder to original folder AGOL

Hi, I have copied a AGO item from de a folder to the 'root folder'. There i have renamed de item, next i want to move the item to his original folder. Where also the original item still is.
But it's not possible, and i get the notification that the item already exists. But it's not.
Now the only solution is to make another copy within the rootfolder en rename it again. Then it's allowed to move that one tot de original folder. But it is not user friendly.
Is that sommething AGO-assistant can fix or prevent?

It seemed to be a hick up in de software. Other examples went good.
Seems to be resolved it self.

Closed.


Cables not showing up

Hi. I've just installed NTmap on two different instances. Both running Python 3.8.
One with Netbox 2.11.12 and other Netbox 3.0.7.
Looks like everything is working as expected, but cables do not show up on any given topology map.

I confirm. I have the same problem. Also Netbox 3.0.7 and Python 3.8.

The problem also persists with the upgrade to netbox version 3.0.11 and Python version 3.8.2.
The ntmap version is 0.7.1.

NTMAP v0.7.1
NETBOX v3.2.2
Python 3.10.4
PostgreSQL 14.2
Ubuntu 14.2
As described here, I was already able to find the errors for the current version, why ntmap does not show any devices.
https://github.com/den-it/ntmap/issues/14
But now I am also at the stage where no lines are displayed.

Hi all, I have the same Problem I don't view any cable in the maps.

Hi all. I can confirm that no cables are shown with version
netbox 3.2.6
ntmap 0.7.1

It might be a problem with using variables in CSS file. CSS colors were changed in 0.8.0. Now they are defined explicitly and tey don't use variables. Can anyone confirm that it helped?

Thanks for the fix in the other issue.
You seem to have fixed the connection problem as well.
In the current NetBox version it works again.
Many Thanks

![2022-09-18_22h18_27](https://user-images.githubusercontent.com
/46369917/190927186-7506140c-16b8-41a0-94e1-45ec5bff88d4.png)
Thanks for the fix in the other issue.
You seem to have fixed the connection problem as well.
In the current NetBox version it works again.
Many Thanks

Thanks for the fix in the other issue.
You seem to have fixed the connection problem as well.
In the current NetBox version it works again.
Many Thanks
I just haven't uploaded any icons to the name definition yet ;)

Tanks for te feedback. Closing the isse

Currently NetBox Version 3.3.4

Yes. Ntmap 0.8.0 supports NetBox 3.3.4 as well.


Video and audio for 1 item in playlist separated in 2 files

After installing downloader and trying it out not changing any settings except (changing video quality to 1080p and checking "open destination folder when done" option) I got two files for every item in playlist with the same name but the video file was of type "File" and audio file was MP4 as you can see in the picture bellow. Video can be openned in vlc and windows media player (but doesn't have any sound). As for me, I don't mind as much I can easily add audio track to the video and the timing is correct. Love the tool.

Very strange, can you tell me what video caused this? I tried with a random video and this problem did not occur

It was a school lecture, unlisted youtube video. But I tried it with some random playlist after your message with the same result.
After that, I tried to restart the computer (it wasn't restarted after installing) and tried it again, now with desktop as a video save folder.
Now, video was with .mkv postfix (before there was none) but the audio file is missing on the desktop. So as before, I looked up the downloaded files in temp folder and there they was (audio and video in 2 seperated files, video is playable if openned through a media player software but has no postfix format in the name, audio file now has postfix .webm).

I tried again, and I also tried on an unlisted video and I can't reproduce the issue. Try again while running the program as administrator (right clik-> run as administrator)
You can also send me the errors file so I can check what went wrong, the error file is located at %appdata%/Youtube Playlist Downloader

Tried starting it as administrator with no luck. Here is the error file (copied after I tried running it as administrator 2.2.2021)
Errors.txt

I'm not able to reproduce this error, can you give me the link of the video? does it happen with ALL videos you're trying? Does it happen with this video as well?

Yes, with your video as well.

I'm really sorry but I cant find a reason to why its not working for you.. it could that ffmpeg crashes, but that seems impossible since ffmpeg is very reliable
:(

Okay, its resolved. I'm not sure from when the option was available but now I could change the audio track.
I wasn't able to do that earlier because there was none. Now even the files from temp folder are gone.
So it works now but I have to manually change the audio track.

I don't really understand what you mean by audio track, did you mean the audio format (mp3, opus, wav, etc)?

Oh, if its something in a 3rd party program then that's out of the scope of my program
If you want to be sure you could check your files with MediaInfo or a similar software

Np, have fun :)


Inverse matching inconsistent

Currently the plugin checks for the <cword> under the cursor. This will not work for e.g. == inside this line if (foo == bar) {. The detected cword when on the equality operator is bar. I have not yet completely understood the behavior. From :h word:
A word consists of a sequence of letters, digits and underscores, or a
sequence of other non-blank characters, separated with white space (spaces,
tabs, <EOL>).  This can be changed with the 'iskeyword' option.  An empty line
is also considered to be a word.

So I guess when there is an alphanum+underscore word after == it will detect that, otherwise it falls back to a sequence of non-blank characters and finds ==.
There is also <cWORD> which will detect ==, but also fails to detect true when e.g. wrapped like this: "true". That's because cWORD only takes non-blank character sequences (see :h WORD).
One idea would be to first match against cword and then against cWORD, but this will fail in a situation like the following: if (my_var == true). Here cword will match with true and replace the equality operator with the inverse, false (as can be seen in the video).
Another one would be to match each key in the lookup-table against cWORD and only toggle the matched part of the cWORD. But again, what about a situation where one has < and << in the lookup table? Would it toggle the first occurrence? All occurrences? Is it correct by accident?
Finally, it is possible to modify what counts as a word via the iskeyword option. However, this may have unwanted side-effects and should therefore probably only be done by the users themselves.
I have no solution for this yet, will investigate further.
PS: @nguyenvukhang I will continue posting issues that others might encounter here if you don't mind, for documentation purposes. Of course, only issues that happen with the base repo, not just in my fork :+1:

Fixed with 9346d5b


UnPullOperator for HTN

About the PR
Added new HTN operator to tore pulls, i just can't imagine why space carps, and space bears keeps in your hands when you pull them, wtf
Why / Balance
No one could pull hostile animals anymore, you need to kill it before pulling. I don't think it will influence gameplay much, but still..
Technical details
Just added a new primitive task for MeleeCombatCompound, if PulledPrecondition is true, then use UnPullOperator
Media

https://github.com/space-wizards/space-station-14/assets/48524572/6b51e84e-b763-4a4a-aa6e-9ec5897b091b

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl: JerryImMouse

add: Added an UnPullOperator to prevent pulling hostile mobs

salvbros its joever...

I'll back to this, when ill have enough time


Tooltester Logs Publicly Available

Feature Request
Desired behaviour
Make tooltester logs publicly available.  Some ideas:
Use Jenkins s3 plugin to upload logs to s3 bucket and then have the dockstore webservice point to the logs.
┆Issue is synchronized with this Jira Story
┆Issue Type: Story
┆Fix Versions: Dockstore 1.7
┆Sprint: Seabright Sprint 9 Ice Boat
┆Issue Number: DOCK-660

Also clean up OICR collab jenkins instances

I'd like to see one log per version of workflow kept (last success, don't care too much about failures)

should include checker workflows

bucket structure can probably look like s3://dockstore.tooltester.backup/runner/#workflow/foo_org/foo_tool//output.log

webservice should have a new config key for a s3 bucket

if enabled, webservice can look at bucket and return via a new endpoint logs for a version of a workflow

user can in the GUI click through the UI and link a snippet of the log that is useful for click through to the full log ala. travis

[x] Also clean up OICR collab jenkins instances
[x] I'd like to see at least one log per version of workflow kept (last success, don't care too much about failures)
[ ] should include checker workflows (not sure if not run, or not visible)
[x]  bucket structure looks good

the rest look good, will just create new issue


what is artifact-metadata-list

How do I know what to supply for the artifact-metadata-list argument? It's not really explained.

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

ID: f912b9b3-f27c-deb7-54c1-8e3f477ed26f
Version Independent ID: fb24966a-f6fb-1828-2e0e-4374ae1df3d9
Content: az pipelines release
Content Source: latest/docs-ref-autogen/ext/azure-devops/pipelines/release.yml
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

pipelines

pipelines

The parameter --artifact-metadata-list documented in the command can be used to refer the Build definition and Run Id for the artifact to be consumed. e.g. --artifact-metadata-list Fabirkam.CI=123
will consume artifacts produced by run number 123 of the Fabrikam.CI build definition.


Use of Deprecated Package

Describe the issue
In your new BlazorWebAssemblyStandaloneWithIdentity project, in the backend you appear to be using the now deprecated package
Microsoft.AspNetCore.Identity 2.2.0?
Am I missing something?
To Reproduce
Steps to reproduce the behavior:
Open project and look at dependancies.
Expected behavior
No deprecated dependancies
Screenshots

Additional context
Add any other context about the issue here.
.NET Version
8.0

Issue Details
⚠ Do not edit this section. It is required for issue processing.

Content Source: dotnet/blazor-samples
GitHub Login: @guardrex

No, that's the latest version of that package. That one doesn't version with a number that matches the shared framework.
https://www.nuget.org/packages/Microsoft.AspNetCore.Identity

It would be good to have some clarity.  I've used it in a .NET 7 project already directly and I've seen posts across the web where people are unsure about what they should be using in place of Microsoft.AspNetCore.Identity - or if it is good to continue using it.

Ok ... we're good now ... fixed on commit ...
https://github.com/dotnet/blazor-samples/commit/9f7ea512e4e807365ce2b4d92cca38fe456b084b
Thanks for opening this issue!

Thanks - I think if you just remove the package you'll have the following error:
Error	CS0246	The type or namespace name 'ClaimsPrincipal' could not be found (are you missing a using directive or an assembly reference?)	Program.cs
potentially this can be resolved by referencing System.Security.Claims

That's simply downloading your repository.  No code changed.

And sorry it's in the 8.0 Backend project as per my original screenshot.

I agree. We needed this for years ... and was asked for it quite a bit. We do need the roles piece for sure. However ... even in this form ... it shoudn't be too difficult for folks to roll their own controller into the backend and send back role claims for use by the frontend.
We're going to leave the extra coverage on the other scenarios/endpoints (e.g., 2FA) over in the main doc set. That coverage is being worked on now at ...
https://github.com/dotnet/AspNetCore.Docs/pull/31197
What I don't know is if they'll relent and provide a fully working implementation for token auth. Right now, they just guide toward it with notes and a partial implementation. I'm telling them on ...
https://github.com/dotnet/AspNetCore.Docs/pull/31214
... that I think it should be fully worked out and presented.


Plesk php-fpm issue

Hello
i have a issue with the php version. I use plesk and the puffer installer tells me that php 5.0+ is missing. I had version 5.5 - 5.6 installed. I dont know how i can solve this issue.
Best regards
moddyLP

What does php -v return?

here the output:
PHP 5.4.16 (cli) (built: Jun 23 2015 21:17:27)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies with the ionCube PHP Loader v4.6.0, Copyright (c) 2002-2014, by ionCube Ltd.
I had set in plesk 5.6.16
My PHP handler i had installed in Plesk:

Setting on my first domain where puffer will be installed:

We use php-cli to validate that you have installed PHP 5.5 correctly. You will need to determine how to update php-cli to at least 5.5.

i had an php handler from plesk i had version 5.4.16, 5.5.30 and 5.6.16. But i get with the command php-v only the lowest. I had ask the plesk support, but i get only a weird answer.

Can you please make me a version where the php version 5.4 is requried one? I take over all erros are coming if there are compatibility problems with that version. The other option is that i can install the panel directly on my webserver without a way over the shell console.

No. We require the panel to use in the end PHP 5.5+. If stuff like that is not installed, then the install won't work as intended and we cannot guarantee anything will work right. PHP 5.4 is also 3 years old, and is not recommended.

It's also end of life.

Can you give me some instruction or the direct installfiles so i can modify and install it on myself?? I cant change the version becouse of inkompatibilty with plesk. I want to use plesk and your panel, so may i can have the direct install files and a little instruction how to install it from these files???
I would be very nice if you can do that for me.

I had complete the installation with editing the install file and change the proofment from php to 5.4. that works.

Then you will have to deny any assistance from here-on out, because we require what we require in order for the panel to function. Should things break, we cannot assist you.


Mat-table-filter not working with angular 8 (angular/cdk)

Mat-table-filter 1.2.5 seems to support angular/cdk version 7 and 6 while the next version of mat-table filter I can find , that is 9 supports angular/cdk version 9 . We are using 8 . Was working fine till 21st August this year , has started failing now .

Any help is appreciated , thank you!

Nevermind upgraded to angular 9 , working now for me


React Stateless function don't get syntax coloring

Hi,
Using latest version of VSCode with React Native extension.
I don't get syntax coloring for React Stateless functions. You can see in the image. There is no yellow coloring on <Text></Text> or <View></View>

The inconsistent coloring is caused by #3008.


Clarify 'delegate parameters' in contexts where it could be read as 'delegate-typed parameters'

First commit fixes typos. Also, 'its' doesn't look like a word to me now. :D
Second commit closes #190.

Thanks @jnm2!


roblox wont even let me play the game for some reason

i was just playing a game but then the game just crashed on me without any error messages at all.
this also happpens other games if you have bloxstrap

while loading btw

i found a way on to stop crashing:
make the launcher and robloxplayerbeta run in admin mode

nevermind it didnt fix the issue.

Are you sure that's a Bloxstrap issue? That's sounding like a Hyperion issue to me. Uninstall Bloxstrap and see if it's still happening.

no its like robloxs issue i Have no idea why so i dont know how to fix this.

Install Bloxstrap again, but set your channel in the installation tab to LIVE, and enable "prompt on automatic channel change" in the Behaviour tab. You'll have to click no whenever the prompt to switch channels comes up though.

its actullay fixed months later thanks


Redis password authentication support

Pull Request type

[ ] Bugfix
[x] Feature
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes (Please run ./gradlew generateLock saveLock to refresh dependencies)
[ ] WHOSUSING.md
[ ] Other (please describe):

Changes in this PR
Added Redis password authentication support for conductor.db.type

redis_standalone
redis_cluster
redis_sentinel

Issue #2533

The password is set as the 4th param in the host configuration. E.g.:
conductor.redis.hosts=localhost:6379:us-east-1c:my_str0ng_pazz

For Cluster and Sentinel configuration the password from the first host is used.
In Sentinel configuration sentinels and redis nodes use the same password.

Alternatives considered
Considered changing RedisProperties to add a new password property un conductor.redis. That would have made it more explicit but since host.getPassword() already exists it seems like an OK alternative if documented properly.

Please add documentation about usage of this new field. As such, users would need to read through the code to make use of this feature.

@apanicker-nflx sure - I'll add some documentation.
What would be the best place for it and its extent?
The only thing I was able to find related to conductor.redis.hosts is a comment in application.properties
#format is host:port:rack separated by semicolon
conductor.redis.hosts=host1:port:rack;host2:port:rack:host3:port:rack

Would it be enough just adding to that? or would you prefer having something like "Configuring Redis" under /docs/how-tos and an entry in spring-configuration-metadata.json?

A comment in application.properties would help devs.
Additionally, a section in the docs to elaborate would provide more clarity. @dougsillars Could you point to the best place for adding this documentation?

docs/docs/how-tos/redis.md is probably the best place, IMO.

Added a Redis Configuration page to docs with documentation related to the scope of this PR.

We can later work with @dougsillars to improve it.

Some tests are failing after rebasing changes, I'll take a look.

nvm, the build/test issue was fixed before I got a chance to look at it


Future TODO: upgrade corpus to MuseScore 4 when stable (currently not)

I've tried to run the MusescoreXML (mscx) to MusicXML (musicxml) conversion from this repo with MuseScore 4 and for a small percentage of the pieces, MuseScore 4 crashes with the following rather cryptic exception:
[70154:1327906:20230413,091641.168260:WARNING crash_report_exception_handler.cc:240] UniversalExceptionRaise: (os/kern) failure (5)

Given the nature of the batch-processing of the conversion script, which stops when the first conversion fails, I wasn't able to identify which pieces cause the issues, so I rewrote the script to this:
import argparse
import subprocess
from pathlib import Path

from tqdm import tqdm

def convert(
    musescore_xml_path: Path,
    musicxml_path: Path,
    # This is the path where MuseScore 4 executable is located on my MacOS machine and will be different for other OS installations
    musescore_command="/Applications/MuseScore 4.app/Contents/MacOS/mscore"
):
    convert_comand = f'"{musescore_command}" -o "{str(musicxml_path.absolute())}" "' \
                     f'{str(musescore_xml_path.absolute())}"'
    process = subprocess.run(convert_comand, stderr=subprocess.PIPE, text=True, shell=True)
    if not musicxml_path.exists():
        print("Failed to convert: " + str(musescore_xml_path) + "\n" + process.stderr)

if __name__ == '__main__':
    parser = argparse.ArgumentParser(
        description='Converts a directory of MuseScoreXML files to MusicXML using '
                    'MuseScore'
    )
    parser.add_argument('-i', '--input_directory', default="scores", help='The input directory')
    parser.add_argument('-o', '--output_directory', default="scores", help='The output directory')

    args = parser.parse_args()
    input_directory = Path(args.input_directory)
    output_directory = Path(args.output_directory)

    all_musicxml_files = list(input_directory.rglob("*.mscx"))
    for musescore_xml_path in tqdm(all_musicxml_files, desc="Converting MuseScoreXML to MusicXML"):
        musicxml_path = (output_directory / musescore_xml_path.relative_to(input_directory)).with_suffix(".musicxml")
        if musicxml_path.exists():
            continue
        convert(musescore_xml_path, musicxml_path)

which skips pieces that have already been converted and runs the conversion per file (be aware that this kind of blocks your computer because of opening and closing of musescore for each file).
The list of affected files is as follows:
scores/Reichardt,_Louise/12_Deutsche_und_Italiänische_Romantische_Gesänge/01_Frühlingslied/lc5067312.mscx
scores/Reichardt,_Louise/12_Deutsche_und_Italiänische_Romantische_Gesänge/02_Wenn_ich_ihn_nur_habe/lc5100067.mscx
scores/Reichardt,_Louise/12_Deutsche_und_Italiänische_Romantische_Gesänge/04_Wohl_dem_Mann/lc5100073.mscx
scores/Reichardt,_Louise/12_Deutsche_und_Italiänische_Romantische_Gesänge/12_Heymdal_(aus_Ariels_Offenbarungen)/lc5101826.mscx
scores/Reichardt,_Louise/6_Lieder_von_Novalis,_Op.4/3a_Geistliches_Lied/lc5092560.mscx
scores/Reichardt,_Louise/6_Lieder_von_Novalis,_Op.4/5_Noch_ein_Bergmannslied/lc5092612.mscx
scores/Reichardt,_Louise/12_Gesänge/03_Nach_Sevilla/lc5046249.mscx
scores/Reichardt,_Louise/12_Gesänge/01_Erinnrung_zum_Bach/lc5087917.mscx
scores/Reichardt,_Louise/12_Gesänge/07_Volkslied/lc5001925.mscx
scores/Reichardt,_Louise/12_Gesänge/05_Für_die_Laute_componirt/lc5001880.mscx
scores/Reichardt,_Louise/12_Gesänge/09_Der_Spinnerin_Nachtlied/lc5001937.mscx
scores/Reichardt,_Louise/12_Gesänge/02_Der_Sänger_geht/lc5002130.mscx
scores/Reichardt,_Louise/12_Gesänge/04_Vaters_Klage/lc5001870.mscx
scores/Reichardt,_Louise/12_Gesänge/08_Ein_recht_Gemüth/lc5001930.mscx
scores/Reichardt,_Louise/12_Gesänge/10_Die_Veilchen/lc5087944.mscx
scores/Reichardt,_Louise/12_Gesänge,_Op.3/07_Die_Wiese/lc5046362.mscx
scores/Reichardt,_Louise/12_Gesänge,_Op.3/01_Frühlingsblumen/lc5001965.mscx
scores/Reichardt,_Louise/12_Gesänge,_Op.3/03_Die_Blume_der_Blumen/lc5001980.mscx
scores/Reichardt,_Louise/12_Gesänge,_Op.3/08_Kaeuzlein/lc5002015.mscx
scores/Reichardt,_Louise/12_Gesänge,_Op.3/05_Betteley_der_Vögel/lc5001997.mscx
scores/Reichardt,_Louise/12_Gesänge,_Op.3/10_Der_Mond/lc5061932.mscx
scores/Reichardt,_Louise/12_Gesänge,_Op.3/04_Wachtelwacht/lc5001994.mscx
scores/Reichardt,_Louise/12_Gesänge,_Op.3/02_Der_traurige_Wanderer/lc5061310.mscx
scores/Reichardt,_Louise/12_Gesänge,_Op.3/06_Kriegslied_des_Mays/lc5002006.mscx
scores/Reichardt,_Louise/12_Gesänge,_Op.3/09_Hier_liegt_ein_Spielmann_begraben/lc5002019.mscx
scores/Schubert,_Franz/Die_schöne_Müllerin,_D.795/09_Des_Müllers_Blumen/lc4985932.mscx

MuseScore 4 reliably crashes with these files, I'm attaching one here as an example:
09_Der_Spinnerin_Nachtlied.zip
Those files were able to be opened with MuseScore 3, so it might be a bug in MuseScore 4. When opening with MuseScore 3, and saving the files again, it seems to correctly migrate the files and allows to open those files (at least the piece by Schubert was working like this).
Environment:

macOS 13.3, Arch.: x86_64, MuseScore version (64-bit): 4.0.2-230651546, revision: github-musescore-musescore-dbe7c6d

Hi @apacha ! How's it going?
Thanks for flagging this up. As you note, this repo is built in ms3 (and earlier) and tested for that. It sounds like that's working as expected.
I'm not surprised to find that there's issues with ms4. We're not taking on an ms4 update until that's stable. Same goes for the quartets (for which the GitHub mirror is coming v soon -- watch this space!).
Tagging @shoogle for input, but I suspect he'll agree that bug-fixing ms4 will take a while and is best coordinated over there.
All the same, I'll leave this issue open, renamed as a future TODO ms4 upgrade.
Thanks again. See you at MEC in Paderborn?

Hi @MarkGotham, I'm great, thanks! Congratulations to your professorship in Dortmund. Alright, then I'll keep using MS3 for those failed conversions. I was hoping that an upgrade to MS4 would fix some of those nasty issues with visibility of objects like this: https://musescore.org/en/node/327607 and indeed it seems like that issue is solved, so I'll keep converting them with MS3 (see https://github.com/apacha/Lieder/blob/feat/musicxml_conversion/data/single_file_conversion.py).
Not sure yet whether I'll make it to Paderborn, but I'm afraid that it currently will rather not happen :-(

issues with visibility of objects like this: https://musescore.org/en/node/327607

Oh yeah that's a nasty one. So for the scores where ms4 works, would you say that's a net improvement? If so it's perhaps worth considering a "try ms4; except use ms3", even now?

As far as I've tested, absolutely. And yes, that's exactly what I'm doing now: https://github.com/apacha/Lieder/blob/feat/musicxml_conversion/data/single_file_conversion.py#L14-L23
The result is quite dramatic:
Old version

New version

@apacha, thanks for reporting and including the Python script! Please could you report the crash at https://github.com/musescore/MuseScore/issues and attach the example score there? Thanks!

Hmm. Better ... but:

Still not entirely great. I wonder about those dynamics/hairpins. We must be able to get that looking better, even via mxl conversion. Sometimes there are oddities in the original transcription like putting them on RH/LH staves.
Main issue here is the metronome marks. Easy to delete all of them on conversion ... and in fact I'd be inclined to remove them from the source anyway. We discourage transcribers from these extras but there are a few around. @shoogle shall we test what a corpus-wide deletion at least of these clusters would look like? We could keep 1 per piece or section at the start – there's a value to that and not too much detraction?

As MuseScore 4 is out now for some time it would be nice to star updating/upgrading the corpus, too. Maybe create a new branch for this, that may be merged back into main, when everything is finished?

Thanks @rettinghaus.
MS4 has indeed been out for some time, but have the above issues been resolved?

There are various considerations wrt usability here, especially as conversion among MS versions is one directional. There's no reversion to previous version, so one view would be that we move to MS4 when pretty much everyone has. From what I heard, that's definitely not the case yet.
That doesn't speak against @rettinghaus 's proposal of a branch.
Tagging @shoogle for views.

I think most of the issues have been resolved. Furthermore, the transition is one directional but Git isn't, and using versioning we can keep a MS3 version stable here.

I agree with @rettinghaus. If we tag the latest version before the upgrade with something like musescore-3 and put a note into the README it would also be clear that the files have been migrated to the latest version of MuseScore. I've seen similar things in other repos. Alternatively, you could keep an entire musescore-3 branch, if you want to continue support both versions.

True, and we don't anticipate major changes to the songs that would require duplicate work.
So perhaps an MS3 release now (or back-dated to a commit near the time of the MEC paper), then all MS3>MS4 with a manual clean-up as necessary.
That also brings us an important step closer to integration with MEI (via MS>4.2).
@shoogle: OK?
@apacha do you want to PR your script?

How does this sound?

Create new musescore-4 branch.
Repeat as necessary:

Update main with latest MS3 files.
Convert to MS4 on musescore-4 branch.
Everyone checks MS4 files for problems and reports here.
Update conversion script to fix problems that can be fixed programmatically.
Repeat...

When ready, create musescore-3 tag on main.
Run final MS3 to MS4 conversion on main.
Delete musescore-4 branch.

Before we do the final conversion (step 3+), I think we should wait a month or so for the MuseScore (Studio) 4.4 release, plus another month for any patches. But we can do steps 1 and 2 before then.
I'm open to creating more branches in the future. For example, a no-hidden-elements branch that mirrors main but with invisible tempo markings removed. However, I think this should wait until after the MS4 conversion.

MS4 uses uncompressed folders rather than individual files.
Using scores/Beach,_Amy/4_Songs,_Op.51/3_Juni as an example:

MS4 files go in a new subdirectory called lc6245973 (so lc6245973.mscx becomes lc6245973/lc6245973.mscx).
MusicXML and other files remain where they are now.

Are we happy with this layout?
Another option would be lc6245973.mscx becomes lc6245973/score.mscx, but I think it's best to keep the number in the file name so it's easily visible when these scores are opened in MS4.

MS uses zip compressed files (mscz), other files in the folder are not really relevant. (score_style.mss keeps all style settings.) So we could just keep the mscx file and stick with the old structure.

other files in the folder are not really relevant

Maybe not for musicology, but the scores won't look right without score_style.mss (it contains the page size, staff spacing, text styles, and various other settings), and if anything has been changed in the Mixer (instrument sound, volume, reverb, pan, etc.) then they won't sound right without audiosettings.json. So we'll need those two files at least in addition to the MSCX.
I guess we can put them in the current score folder rather than a new subdirectory, so the path to the MSCX won't change.

@shoogle Then why not keep the compressed mscz files?

In the repository? The MSCZ compression...

Spoils the diff, so you can't see what changed between commits.

Git just says "binary file was changed", so the new file might not even be a score for all you know!

Interferres with Git's own compression, so the repository grows larger more rapidly.*

git clone, git checkout etc. would probably become slower over time.

Is annoying when parsing files with programs besides MuseScore.

For example, if scores are uncompressed, it's easy to find out which ones were created in MuseScore 2:grep -Flr '<programVersion>2' scores/
But if scores are compressed, it requires a more complicated command:find scores/ -type f -iname '*.mscz' | xargs -I% sh -c "unzip -p % | grep -q '<programVersion>2' && echo %"

* Admittedly the checked-out files are much, much smaller if you use MSCZ, but you can get the best of both worlds if you use MSCX and enable transparent filesystem compression for the scores directory or the volume it's stored on.

Windows: File explorer > Right-click on scores > Properties > Advanced > Compress..., or use IridiumIO/CompactGUI.
Linux: Transparent compression is possible with BTRFS, ZFS, and Bcachefs.
macoS: You can try this, but you may need to compile afsctool yourself because the Homebrew version appears to lack support for APFS.

Thanks for this.
It seems to me that your positions (@shoogle  and @rettinghaus) are compatible in the "best of all possible worlds" that Peter points to (... with a nod to Candide ;) ...).

The case for uncompressed files clearly applies to the main, dev. version.
At the point of release this (arguably) changes. Probably many/most people at the point of download/clone would prefer the mscz files. This is the substance of @rettinghaus's request as I understand it – a proper release, and preferably with mscz files.
So we could track .mscx on main and then provide a couple of release options including (at a minimum) the mscz.

Beyond that, we could consider other release options.

part vs whole: Apart from mscx and mscz, there could be a distinction between releases with every file, and those that are corpus only. That's probably not enough of an issue to bother with now but might be if the code side grows or poses any issues for download (e.g., permissions).
different formats: We almost certainly don't want releases for every one of MuseScore's export formats, but the recent bringing together of MuseScore with MEI (converter since v4.2) is a potential game changer for coordination of the field and might be worth considering as a special case. Right @lpugin, @ahankinson, @musicog, et al.?


Fix global leak

The error reported by mocha was the following:
Error: global leak detected: objectAssign

@pofider could you accept this fix, this is really an easy one to proof-read. Thanks!

Thank you

Very warm thank you to you @pofider!


docs: Use correct @deprecated formatting

The @deprecated TSDoc tag does not require a dash after it, and if one is there it's included in the rendered doc, which looks weird.
This PR replaces all @deprecated -  strings with @deprecated . Hopefully this will make it less likely for folks to copy a bad example in the repo.

Thanks for the review, @alexvy86!


Variable 'e' is no longer parsed properly

A change was recently made to add support for scientific notation. I believe in doing so we lost the ability to use the built-in variable e.
Attempts to use any formula using the variable e as previously done now fail. e.g.
var engine = new CalculationEngine(CultureInfo.InvariantCulture, ExecutionMode.Compiled);
var result = engine.Calculate("e");

When using more complex functions (1 * e) you receive a rather unclear error message:
There is a syntax issue for the operation \"*\" at position 2. The number of arguments does not match with what is expected.

Reverting the following line change seems to avoid the issue, but I am sure will also prevent the scientific notation support from functioning properly:
https://github.com/pieterderycke/Jace/blob/25b8d70f903be6a27a2513f3a87db936d4c20981/Jace/Tokenizer/TokenReader.cs#L224

@pieterderycke Was this an intended change? There are some performance changes recently released I am anxious to try out but the above issue is preventing us from doing so.

@keyneom Thanks for letting me know. I will look to fix the bug and to release a bug fix release

I have released a Jace 0.9.2 to fix this bug

Amazingly fast!! Thank you so much!!


point source painting utilities

This PR adds a radial Fourier transform via Hankel (FFTLog), which allows a beam to be applied to a radial real-space profile. I'll keep specific profile information in XGPaint.

Codecov Report
Base: 89.32% // Head: 89.94% // Increases project coverage by +0.61% :tada:

Coverage data is based on head (85d2de9) compared to base (4e6fcc9).
Patch coverage: 95.55% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #56      +/-   ##
==========================================
+ Coverage   89.32%   89.94%   +0.61%
==========================================
  Files           8        8
  Lines         815      905      +90
==========================================
+ Hits          728      814      +86
- Misses         87       91       +4

Impacted Files
Coverage Δ

src/Pixell.jl
100.00% <ø> (ø)

src/utils.jl
95.50% <95.12%> (-4.50%)
:arrow_down:

src/enmap_ops.jl
91.78% <100.00%> (+0.31%)
:arrow_up:

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

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


 I tried to delete my data and reset my game but neither will work.

I've seen a lot of people get this on GBA games. Currently, there is no known way to turn off sleep mode on the emulator. Sorry. This hasn't happened to me, but other people might be able to help you.


Fix code scanning alert - CI-Tests

Tracking issue for:

[ ] https://github.com/RalphHightower/RalphHightower/security/code-scanning/1

no file associated with this alert:1


PDF parsing

Existing pdf parsing solutions are often not high enough quality. This is a wishlist for things we would want in a PDF parser.

multilingual - should work for all (or at least, a lot of) languages
table detection - be able to detect tables and convert to some kind of structured format (this item is more of a wishlist thing; I'd be ok if for the first version it just omitted tables. However, I really want to avoid ending up with a big mess of numbers where the table is supposed to be.)
handle both ocr and hidden layer - for documents with a high quality hidden layer text, that should be used. it should also detect when the hidden layer quality is bad and perform sota ocr on it, and if the quality is still bad it should discard altogether
error correction - it should be able to correct minor ocr errors, detect and reject irrecoverable errors. There are a lot of different failure cases, but a few off the top of my head are: wrong script extraction (i.e cyrillic gets turned into garbage that looks like üúôóöú by latin-only ocr), lots of extra spaces between words (i.e ex t ra c tio n), things like math get irrecoverably mangled into a big mess, sometimes ocr introduces typos
multi column or other nonlinear layouts - it should be able to do something sane for these cases. maybe sometimes the order is ambiguous, but at least it shouldn't i.e interleave different text boxes
Header and footer detection - explicitly seperate from main content
output some kind of structured format - possibly pandoc compatible, or possibly something else. we want this because we'd want to be able to get all sorts of different format output.

I do have access to a commercial OCR that do check all those boxes. I cannot share the code, but if you provide the PDFs I can generate the .html or .txt for each file.

I will give it a try. Using PDFMiner.six I convert a random sci-hub PDF to text and obtain for its first page the text appended below.
Issues:

Works only for PDFs that contain text (not OCR)
Text flows in correct order, but contains footnotes and similar pieces within
No distinction between headings and body text

In general I believe that a useful fraction is convertible (>10%). Perhaps we need "only" an automatically way to determine whether the output is fine or garbage? What is the expected minimum quality level?
`PHYTOTHERAPY RESEARCH
Phytother. Res. 13, 655–659 (1999)
Effects of Mistletoe Lectin I and Ionizing
Radiation on the Glucose and Thymidine
Uptake in Tumour Cells in vitro
Tamara Kubasova,1* Ileana Petcu,2 U. Pfu¨ller3 and G. J. Ko¨teles1
1Fre´de´ric Joliot-Curie National Research Institute for Radiobiology and Radiohygiene, Budapest, P.O. Box 101, H-1775 Hungary
2Horia Hulubei Institute of Physics and Nuclear Engineering, P.O. Box MG-6, R-76900 Bucharest, Romania
3Institute of Phytochemistry, University of Witten/Herdecke, D-58448 Witten, Germany
The increased uptake of hexose by mammalian cells is considered to be a general response to stress.
Nowadays, mistletoe lectin separated from the extracts of the European mistletoe (Viscum album L.) is
often used in adjuvant cancer therapy. The present work studies the effect of the lectin on unirradiated
and x-irradiated tumour cells. The response of cultured human lung carcinoma cells (Calu-1) was fol-
lowed by radioactive glucose uptake as well as by tritiated thymidine incorporation. The cells were main-
tained either in a complete or a so-called restrictive medium.
Slight metabolic changes were found in the restrictive medium but not in the complete one. Mistletoe
lectin I at a very low concentration (0.001 ng/mL)
increased the glucose uptake and thymidine
incorporation. Ionizing radiation (1 Gy) did not inﬂuence the hexose uptake but it enhanced the
incorporation of thymidine. It seems that the actions of two different factors (mistletoe lectin I and
radiation) proved to be rather provoking stress effects for the tumour cells as detected in the restrictive
medium. Copyright # 1999 John Wiley & Sons, Ltd.
Keywords: Calu-1; mistletoe lectin I; ionizing radiation; thymidine; D-glucose; metabolic response.
INTRODUCTION
The hexose uptake of mammalian cells is known to
change under certain stress circumstances (Gray et al.,
1983; Weber et al., 1984; Warren et al., 1986; Pasternak
et al., 1991). This increased glucose uptake upon
environmental stress can be considered as a general
response of cells through changes in plasma membrane
function. Alteration of the physiological conditions of
membranes have also been shown in our earlier
experiments in vitro on different cell cultures and blood
cells exposed to ionizing radiation at relatively low doses
(0.25–2.5 Gy), as detected by the binding of radiolabelled
concanavalin A lectin to the cell surfaces (Ko¨teles et al.,
1976; Kubasova et al., 1981a, 1981b, 1984).
the use of different
treatments
(cytostatic drugs, radiation, adjuvant preparations) in
cancer therapy can lead to the alteration of plasma
membrane function and metabolic processes in both
malignant and normal cells. The favourable effects of
extracts from the European mistletoe Viscum album L.
have been known for over 70 years for the treatment of
inﬂammatory diseases and also cancer
hypertonia,
(Kwaja et al., 1986; Hajto et al., 1989; Franz, 1991;
Kuttan, 1993; Gabius et al., 1994). The effect of the
extracts is attributed to their main constituent, lectin.
is evident
that
It

Correspondence to: T. Kubasova, Budapest, P.O. Box 101, H-1775
Hungary.
Contract/grant sponsor: European Commission PECO Programme; Contract/
grant number: ERBBMHICT 931238; Contract/grant number: ERBCIPDCT
940224

The aim of the present work was to study the metabolic
changes in cultured tumour cells (human lung carcinoma
line Calu-1) on the effect of mistletoe lectin I (ML I) used
widely in cancer adjuvant therapy. Uptake of 3H-glucose
by the cells and incorporation of 3H-thymidine into them
were used to reﬂect the metabolic changes in Calu-1 cell
cultures. This experimental approach was intended to
reveal whether ML I treatment at very low lectin
concentrations (0.001 ng/mL) produces any modiﬁcation
in the response of x-irradiated cells.
MATERIALS AND METHODS
Human lung carcinoma cell line Calu-1. This was a gift
of the Memorial Sloan-Kettering Cancer Center, since
1986 the cells have been adapted to RPMI-1640 medium
supplemented with 10% fetal calf serum (FCS), L-
glutamine and antibiotics (complete medium). The cells
were grown on tissue culture plates of 24 wells (Greiner,
Germany). In separate experiments, 1 (cid:2) 105–1.4 (cid:2) 105
cells/mL in a well were used for plating. All cells were
incubated in the complete medium for 4 h; then, for one
part of the cells (used in the deoxy-D-glucose uptake
assay),
the medium was replaced by the restrictive
medium containing 0.5 % FCS only and the incubation
was continued for 3 h. Half of the cultures, in both the
complete and the restrictive media, were irradiated with
x-rays. For the irradiation period the medium was
changed to a serum-free one. Starting immediately after
the radiation exposure the irradiated and unirradiated
CCC 0951–418X/99/080655–05 $17.50
Copyright # 1999 John Wiley & Sons, Ltd.
Received 25 November 1998
Accepted 28 January 1999
656

I do have access to a commercial OCR that do check all those boxes. I cannot share the code, but if you provide the PDFs I can generate the .html or .txt for each file.

Try it on this pdf http://www.math.bas.bg/mathmod/Proceedings_CTF/CTF-1984/files_CTF-1984/CTF-1984-334-345.pdf

Attached is the result from ABBYY FineReader 15. Looks OK to me. I'd give it 90%. The document is pretty difficult (russian math) and in bad shape (warps). Most of sci-hub will be much better. I estimate >90% of sci-hub will be 99% or better.
ABBYY has automation capability.
Is that "good enough"?
CTF-1984-334-345.docx
CTF-1984-334-345-from-abbyy.txt

Also, companies like ABBYY and Omnipage have built these OCR solutions over decades, and likely put 100m++ USD into the research and dev. We won't improve over that on our own in the short term. It's either such a solution, or it's not good enough and can be tried again in a decade.

Attached is the result from ABBYY FineReader 15. Looks OK to me. I'd give it 90%. The document is pretty difficult (russian math) and in bad shape (warps). Most of sci-hub will be much better. I estimate >90% of sci-hub will be 99% or better.
ABBYY has automation capability.
Is that "good enough"?
CTF-1984-334-345.docx
CTF-1984-334-345-from-abbyy.txt

I’ll take a look at it this weekend. Just an FYI, the text is in English not Russian. It’s from a Russian academic journal.
And yeah, we know it’s worse than most texts we will encounter. That’s what makes it a good test case :)

I do have access to a commercial OCR that do check all those boxes. I cannot share the code, but if you provide the PDFs I can generate the .html or .txt for each file.

@bratao What volume of pdfs are you able to process? We may be processing a very large amount of pdfs. (Think 100TB in total)

Compute will be relevant. For the 7.3 MB testfile my Core i7-7700k needs 15s in FineReader, i.e. 500kb/sec. For 100 TB of PDFs it would be 5 months.

Compute will be relevant. For the 7.3 MB testfile my Core i7-7700k needs 15s in FineReader, i.e. 500kb/sec. For 100 TB of PDFs it would be 5 months.

That is not an issue. We're not in a hurry, and we can obtain much, much more compute than a single 7700k.

I would recommend checking out JSL's PDF OCR - has high scalability, and have tested it myself on 4GBs of PDFs, with good results. Getting started requires some tweaking and fine tuning (memory, cores, etc), but once all the settings are in place, it's fairly stable and reliable.
I went through several PDF readers including the ones listed above (notable mention to parsr) and ultimately went with JSL.

@leogao2 the ocr I do have access will have results very similar or better than the finereader or omnipage. So the results are practically identical to @hippke . But I can further tweak to try to eliminate the header and footer.
It can process 30 pages per minute in a single vps core.
If I rent a epyc dedicated server from hetzner I think it will process 100tb in less than a month. I can do it.


update readme; add sglang implementation

Can you move all tactic selection and SGL related functionalities out of pantograph/server.py? That file should only have the REPL driver for Pantograph.


Explanations of parameters

Here're some explanations of basic parameters. Most are copied from the codes.
My questions and unfamiliar parts are in bold.

Feature identification
To identify features use tobac.themes.tobac_v1.feature_detection_multithreshold method.
Tobac allows getting features by checking data above/below one threshold or multiple thresholds (recommended).

target
Flag to determine if tracking is targeting minima or maxima in the data. Default is 'maximum'.

position_threshold
It sets the method to determine the position from the region. Default is 'center'.
Four options are available: center, extreme, weighted_diff or weighted_abs.

center
geometrical center of identified region

extreme
max/min position inside the identified region

weighted_diff
center of identified region, weighted by difference from the threshold

weighted_abs
center of identified region, weighted by absolute values of the field

sigma_threshold
Standard deviation for intial filtering step. Default is 0.5
I'm not quite sure of the definition above ...
Here's my opinion: That is how many pixels are used to apply a Gaussian filter. How could 0.5 is used to smooth the data. Shouldn't it larger than 1 at least?

n_erosion_threshold
Number of pixel by which to erode the identified features. Default is 0 which means keep the mask as clear as it is.

n_min_threshold
Minimum number of identified features. Default is 0.
If the number of pixel in masked region is less than n_min_threshold, the region is deleted.

min_distance
Minimum distance between detected features. Default is 0.
Remove features that are closer together than min_distance and keep larger one (higher threshold). if threshold is same, keep the larger area.

This is an example to track the minimum TBB:
parameters_features = {}
parameters_features['target'] = 'minimum'
parameters_features['position_threshold'] = 'weighted_diff'
parameters_features['sigma_threshold'] = 0.5
parameters_features['threshold'] = np.arange(280,190,-10)
parameters_features['min_distance'] = 0
parameters_features['n_erosion_threshold'] = 0

dxy = 5000 # unit: m
Features=tobac.themes.tobac_v1.feature_detection_multithreshold(TBB, dxy, **parameters_features)

Segmentation

threshold
Threshold for the watershedding field to be used for the mask. Default is 3e-3.
The algorithm fills the area (2-D) or volume (3-D) based on the input field starting from the weighted mean centers until reaching the threshold.

target
Flag to determine if tracking is targeting minima or maxima in the data. Default is 'maximum'.
This can be different from the target in parameters_features.

level
Levels at which to seed the cells for the watershedding algorithm. Default is None.
I'm not familiar with iris. So not sure the meaning of level

max_distance
Maximum distance from a marker allowed to be classified as belonging to that cell. Default is None. Unit is m which is as same as dxy

Continue the example:
parameters_segmentation={}
parameters_segmentation['target']='minimum'
parameters_segmentation['method']='watershed'
parameters_segmentation['threshold'] = 280
Mask_TBB, Features_TBB = tobac.themes.tobac_v1.segmentation(Features, TBB, dxy, **parameters_segmentation)

Linking

dt
Time resolution of tracked features. Unit: s

d_max
Maximum search range Default is None.

d_min
Variations in the shape of the regions used to determine the positions of the features can lead to quasi-instantaneous shifts of the position of the feature by one or two grid cells even for a very high temporal resolution of the input data, potentially jeopardising the tracking procedure. To prevent this, tobac uses an additional minimum radius of the search range.
Default is None. Unit: m

v_max
Speed at which features are allowed to move. Default is None. Unit: m/s

memory
Number of output timesteps features allowed to vanish for to be still considered tracked. Default is 0.
.. warning :: This parameter should be used with caution, as it can lead to erroneous trajectory linking, especially for data with low time resolution.

stubs
Minimum number of timesteps of a tracked cell to be reported. Default is 1.

time_cell_min
Minimum length in time of tracked cell to be reported in minutes. Default is None.

extrapolate
Number or timesteps to extrapolate trajectories. Default is 0.
This allows for the inclusion of both the initiation of the cell and the decaying later stages in the
analysis of the cloud life cycle.

method_linking {'random', 'predict'}
Flag choosing method used for trajectory linking. Default is 'random'.
predict is useful for cloud and fluid tracking.

adaptive_step
Reduce search range by multiplying it by this factor.

adaptive_stop
If not None, when encountering an oversize subnet, retry by progressively reducing search_range until the subnet is solvable.
If search_range becomes <= adaptive_stop, give up and raise a SubnetOversizeException. Default is None

cell_number_start
Cell number for first tracked cell. Default is 1.

Example:
dt = 600 # unit: s
parameters_linking={}
parameters_linking['v_max'] = 20  # 20*600 = 12 km
parameters_linking['stubs'] = 3  # keeps only trajectories that last for 3 frames.
parameters_linking['order'] = 1
parameters_linking['extrapolate'] = 0
parameters_linking['memory'] = 0
parameters_linking['adaptive_stop'] = 0.2
parameters_linking['adaptive_step'] = 0.95
parameters_linking['subnetwork_size'] = 100
parameters_linking['d_min'] = 2*dxy
parameters_linking['method_linking']= 'predict'

Result
It looks good for tracking deep convections using 10 min TBB data:

I suppose we can use the diagrams in @mheikenfeld 's GMD paper to explain these parameters, like @w-k-jones has done for the Feature detection section.

Thanks for your comments!
Explanation of units should be part of the documentation, for sure! This needs to be integrated into the respective rst files.
Gaussian Filter: The filter width just determines how fast the weights for the convolution decay. sigma < 1 is therefore no problem.

@zxdawn a +1 of thanks from me, as I needed this just now. Also, I would say the docstring for n_min_threshold is misleading, as it refers to features (tracked regions?) and not pixels, and the docstring for n_min is either absent or unclear. What is n_min counting? Is it tracked regions, or something else?

@deeplycloudy You're welcome. Glad it's useful ;)
Which n_min do you mean? Could you copy the permalink here?

Sorry, I meant min_num, such as in feature_detection_multithreshold_timestep

Ha, it seems that's not used at all. The only appearance is here. But, that's commented. That should be the minimum number of features at one timestamp.
BTW, n_min_threshold is the num of pixels in each mask of features. See here if I understand correctly.

Ah, maybe a candidate for removal in v. 2.0, then! Or at least deprecation. And thanks for the clarification on n_min_threshold - I agree with your interpretation.

I suppose if there're n_1 features at t_1 and n_2 features at t_2, and the n_min is between n_1 and n_2, then that may cause the missing features at t_2, so the tracking won't work correctly.

Looking at the default heuristic for search_range, the units for v_max are (grid spacing units)/(time step units)

@deeplycloudy Yes, you're right. Because we usually use m for grid spacing units and s for time step units, the unit of v_max is m/s. See the get_spacings in utils. If you use other units, it should also work. Feel free to test ;)

I believe this is now being resolved in v1.x with #138 et al. I also think this has been resolved in v2.x, but correct me if I'm wrong. I'm inclined to close this when #138 is merged in, if you're happy with that @zxdawn ?

@freemansw1 It's fine to me except for the clarification of the unit. Leave the review on that PR now ;)

Now that #138 is in, I'm going to close this issue. There is still room for improvement on the docs, but I think we have addressed this specific issue.


custom padding

custom padding make it well

I'm sorry. Can you update this with latest master?

With no further follow ups, I'll close this PR. is that ok?


feat: add a install script

What type of PR is this?
/kind feature

What this PR does / why we need it
feat: add a install script
Which issue(s) this PR fixes

Fixes #
Special notes for your reviewer
root@ecs-4fc018ff-1ded-4c65-92dc-67dc1911226c:~/workspace/core/hack$ ./install.sh
nodename: kubebb-core-worker, nodeip: <IP_ADDRESS>

1. add repo as kubebb
"kubebb12" already exists with the same configuration, skipping
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "kubebb12" chart repository
...Successfully got an update from the "kubebb123" chart repository
...Successfully got an update from the "kubebb" chart repository
Update Complete. ⎈Happy Helming!⎈

2. create namespace u4a-system, kubebb-system
namespace/u4a-system unchanged
namespace/kubebb-system unchanged

3. install kubebb-core in namesapce kubebb-system with name kubebb-core
kubebb-core-component installed successfully

4. install the cluster-component in namespace u4a-system with name cluster-component
4.1 replace <replaced-ingress-node-name> in values.yaml
4.2 intall cluster-component
cluster-component installed successfully

5. install the u4a-component in namespace u4a-system with name u4a-component
5.1 replace <replaced-ingress-nginx-ip> in values.yaml
5.2 install u4a-compnent
u4a-component installed successfully

Done

also cc @bincherry


Switch graphqa example in docs to langgraph

why delete the how-tos?

They are now part of the langgraph example
V pon., 9. dec. 2024, 02:32 je oseba Bagatur @.***>
napisala:

why delete the how-tos?
—
Reply to this email directly, view it on GitHub
https://github.com/langchain-ai/langchain/pull/28574#issuecomment-2526597936,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEYGGTNIB3LRTIHYD3VTMGD2ETXMPAVCNFSM6AAAAABTE2HPTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRWGU4TOOJTGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

@tomasonjo thanks very much for this. I think we should either:

Keep the how-to guides;
Add re-directs to specific areas of the tutorial via Vercel: https://github.com/langchain-ai/langchain/blob/6e6061fe738323d8cd3e1d1702affdfb974118f9/docs/vercel.json#L57-L60

Is it easy to do the mapping in (2)?

The other two examples are for the "deprecated" CypherQAChain, which we mention in the main docs, but say it's much better to use langgraph. In the langraph we add steps on dynamic fewshot examples to text2cypher, do relationship direction validation, and also mapping to database values. So separate docs without the context of the whole langgraph might not be the best, and I also am not a fan of promoting CypherQAChain and how to optimize it. Just use langgraph


Does not work on 13.0.1

Crashes on new smash update, unfortunately. After choosing Steve, the menu doesn't show up. And the game crashes in the match loading screen.

See release: https://github.com/jam1garner/smash-minecraft-skins/releases/tag/v1.2.5


It's unclear how to setup an MRTK project from the github landing page

In my opinion, the MRTK landing page doesn't contain enough information to understand how to setup a new MRTK project.

It's not obvious what purpose 'Building the Artifacts" fulfills. Are these steps required? What do they achieve?
How is the MRTK added to a project? Are users expected to just include/import the default assets folder? Should the MRTK be useable after running through the 'Building the Artifacts' step?
What examples currently exist for the MRTK? Stating that examples will/do exist somewhere in a development branch without a direct link doesn't build confidence/may generate frustration for new users.

I'm just getting trying to get up to speed on the vNext branch and I would like to second this concern. I thought it is best to record it now while I am in a minor state of confusion transitioning to the new branch and the issues are fresh.
In addition to @chrisfromwork 's issues, I stumbled on the following:

What is the expected behavior when running in the Unity editor. When running the MRTK release branch in the editor it works with mouse, keyboard, etc. but in vNext I was only able to get controller input when in Holographic Emulation mode. Is Holographic Emulation mode (or deploying to a device required)?

No mouse controller input, even in Holographic Emulation mode. Using the mouse was a big part of testing minor changes. It would be a shame to lose it, though I'm still uncertain if this is by design or a configuration issue on my part. Has the mouse behavior from the previous version been removed?

While there are a lot of words around the config files, a few examples of how you might make changes to achieve specific goals would be useful, as well as where and how the files hook into the code. While I think this system is great, it feels a bit opaque in where and how it interacts with the code.

Hello,
I have a few queries regarding UWP app development for HoloLens. Below are the questions:

Does MRTK default config profile support HoloLens v1?
In Example demos, the interactions (Gesture, Air-Tap, Gaze) in the scenes are not working with HoloLens v1.
Are there any other profile settings required to make them work?
How can we map input actions like gaze and hand gestures for HoloLens v1?
Can we have more in-depth configuration guides for each of the features?
Is there any link available for detailed API documentation?

Can anyone please provide the assistance in this regard?
Thanks!


reorder teardown sequence

#1459  👈 (View in Graphite)
main

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


Validate arguments

My apologies but I continue study your library. And I don't understand where can I validate arguments?
For example, I have a mutation:
mutation (
        $alias: String,
        $isVisible: Boolean
    ) {
    updateRecord(
        alias: $alias,
        is_visible: $isVisible
    ) {
        alias,
        is_visible
    }
}

Ok, it's easy because arguments use variables and attached separately. But what if the query will be like this (without variables):
mutation {
    updateRecord(
        alias: 'new_alias',
        is_visible: 1
    ) {
        alias,
        is_visible
    }
}

This is a very simple example but I really need the ability to validate incoming data.
I can use resolve method in my schema:
'resolve' => function ($record, $args, $context, ResolveInfo $info) {
   // $info->getFieldSelection()
   // Validate arguments
},

However, maybe this is not the best idea?
I see that your library has validators. But documentation is pure. So maybe I need to create my own validator?
Please, tell me where should I work with the incoming data?

There are two kinds of validations:
1. Formal type vaidation.
When you need to make sure that args provided by user match your type definitions. GraphQL does it for you automatically. So for example you have following mutation:
$mutations = new ObjectType([
  'name' => 'Mutation',
  'fields' => [
    'updateRecord' => [
      'type' => $somePayloadType,
      'args' => [
        'alias' => Type::nonNull(Type::string()),
        'is_visible' => [
          'type' => Type::nonNull(Type::boolean()),
          'defaultValue' => false
        ]
      ],
      'resolve' => function($record, $args, $context, ResolveInfo $info) {
        // here `$args['alias']` is always set and is string
        // and `$args['is_visible']` is always set and boolean (false by default if omitted in query)
      }
    ]
  ]
]);

In other words you can safely rely on $args being formally valid inside resolve. If user provides invalid args (for example object for alias arg which expects string) - graphql will return error in response and will not call resolve.
2. Domain or business logic validation
It is perfectly fine to do additional business logic validation in resolve method. The only thing you should consider is how to return errors.
One option would be to just throw in resolver. Then you will get error entry in response automatically. Other option is to include userErrors field in your mutation Payload type to differentiate formal errors (which are usually client developer errors) from app logic errors.
But I have a feeling that I am missing something in your problem, so if it doesn't answer your question - feel free to continue asking %) I am totally fine with it.

I'm interested in the second kind: "Domain or business logic validation".
For example, we have several fields:
alias - must be unique
name - must be string (min 5 and max 32 characters)
lang - value from the list [ru, en, fr]
My app has a library for validation. Assume, client entered the wrong data and got 2 errors:
alias - Already exists
lang - Not found
I can throw Exception and the error is automatically placed in the errors list.
The description of this is here: http://webonyx.github.io/graphql-php/error-handling/
But I would like to show the client all of the errors. What do I do?
And one more question about "Custom Error Formatting":
Assume I have my custom exception (MyCustomException) and I want catch it:
try {
    $schema = new Schema([
        // ...
    ]);

    $body = GraphQL::execute($schema, $query);
    $status = 200;
} catch(\MyCustomException $e) {
...
} catch(\Exception $e) {
...
}

I can't do it because it falls in GraphQL\Error\Error and $error->getPrevious() even not  returns MyCustomException. I can't define my exception.
Why was this decision taken and what should I do?

All errors are caught because GraphQL spec defines what should appear in result and what shouldn't in different error scenarios. In order to ensure that all implementations do follow the spec we handle this logic automatically.
Another reason is that whole query shouldn't fail if some nullable field throws (it's the same idea why php has notices and warnings - errors in nullable fields are not fatal for query to be processed and shouldn't affect user experience).
But every exception you throw in resolver must be available via $error->getPrevious(). If you don't get it somewhere - then this is a bug. Can you provide a test case when you can't get your error this way?

Also note that for business logic / domain errors - it makes sense to use different approach for error handling: not throwing in resolver, but having common interface for all mutation payload types, e.g.:
interface Payload {
  ok: Boolean!

  # Contains errors which are safe to show to end-user:
  userErrors: String[]
}

type UpdateRecordPayload implements Payload {
  ok: Boolean!
  userErrors: String[]
  myField: String
  myOtherField: String
}

type Mutation {
  updateRecord(alias: String!, is_visible: Boolean!): UpdateRecordPayload
}

You may need some code to automate creating such mutations, but then in case of errors your resolver could do something like this:
'resolve' => function($record, $args, $context, ResolveInfo $info) {
  if (!isUnique($args['alias'])) {
    $errors[] = 'Alias must be unique';
  }
  if (somethingElseIsWrong($args['alias']) {
    $errors[] = 'Something else is wrong';
  }
  if (!empty($errors)) {
    return ['ok' => false, 'userErrors' => $errors];
  }
}

We do use similar approach internally.

1 - about $error->getPrevious()
I was checked it one more time and everything works correctly.
2 - about errors
I create my custom type:
class ErrorsType extends Type implements InputType, OutputType, LeafType
{
    public function __construct()
    {
        Utils::invariant('ErrorsList');
    }

    public static function getInstance()
    {
        return new self();
    }

    public function serialize($value)
    {
        return $this->parseValue($value);
    }

    public function parseValue($value = [])
    {
        return $value;
    }

    public function parseLiteral($ast)
    {
        // TODO: test
        return null;
    }

}

And my test resolve:
'resolve' => (function ($obj, $args) {

    $errors = [];
    $errors['alias'] = 'Alias must be unique';
    $errors['name'] = 'Something else is wrong';

    if (count($errors)) {
        return [
           'errors' => $errors
        ];
      }

       return [
           'alias' => $args['alias'] ?? null,
           'is_visible' => $args['is_visible'] ?? null,
       ];

}),

Assume I do this query:
mutation (
    $alias: String,
    $isVisible: Boolean,
    $translateTitle: String,
    ...
) {
    updateRecord(
        alias: $alias,
        is_visible: $isVisible,
        translate: {
            title: $translateTitle,
           ...
        }
    ) {
        alias,
        is_visible,
        errors
    }
}

And get this answer:
{
  "data": {
    "updateRecord": {
      "alias": null,
      "is_visible": null,
      "errors": {
        "alias": "Alias must be unique",
        "name": "Something else is wrong"
      }
    }
  }
}

or this (if there are no errors):
{
  "data": {
    "updateRecord": {
      "alias": "test",
      "is_visible": false,
      "errors": null
    }
  }
}

There are two questions which I’d like to know:

Do I understand this idea correctly?
Should client always ask for error attribute in the request?

What is ErrorsType? Why is it extending Type and implements InputType, OutputType, LeafType? Where did you get this? This is never needed - these are pretty much internal stuff in graphql-php, you shouldn't be touching it this way.
Your custom error type should be ObjectType or just String (if you only need message for errors).
As for resolver, mutation query and response - everything looks correct. And yes - client is supposed to request errors in query explicitly.

I created ErrorsType for return an array of errors.
If I use Type::string() I must return json, like this:
'resolve' => (function ($obj, $args) {
...
    return [
       'errors' => json_encode($errors),
    ];
...
}),

I try use Type::listOf(Type::string()) but the response skipped array keys, for example:
{
  "data": {
    "updateRecord": {
      "alias": null,
      "is_visible": null,
      "errors": [
        "Alias must be unique",
        "Something else is wrong"
      ]
    }
  }
}

So I created custom ErrorsType and I can return correct errors list (with array keys).
Can I do it in another way?
A few words about explicit error field in the request:

error field  mixed with other fields. Are you sure those are best practices?
If error field is not empty then other fields is empty. It's not pretty.  What do you think about this?

Thank you.

On best practices - see this discussion and answers of Lee Byron who is an author of the specification and graphql-js.
About error type.
Your error should be object type. GraphQL doesn't support arbitrary keys in responses (and your ErrorsType is definitely not a best practice), so what you actually want is something like this:
type UserError {
  message: String!
  code: Int
  # Here you store original argument that caused an error (if you need it)
  inputKey: String
}

type Mutation {
  updateRecord(alias: String!, is_visible: Boolean): UpdateRecordResult
}

# This type can implement some interface common to all mutations
type UpdateRecordResult {
  ok: Boolean!
  userErrors: [UserError!],
  # This is not included in response when there are errors
  # Alternatively you can just add payload as fields of this type directly (but then all of them must be not null)
  payload: UpdateRecordPayload
}

type UpdateRecordPayload {
  field1: MyType!
  field2: SomeOtherType
}

I forgot about one more option you have to return several errors. You can do so by returning array of exceptions from your resolver. GraphQL should convert them all to errors (but I don't remember excactly, so you should try it first)
Also this discussion is not related to graphql-php itself. It's about general GraphQL concepts and approaches. I shared my vision, but you may also ask at graphql spec repo where authors of spec can help you with idiomatic best practices or on stackoverflow.

Thank you very much.
When I find this information, I will create the message here. I think it will be useful.


ARROW-7778: [Integration][C++] Enable nested dictionaries

@wesm I would like your high-level opinion on this. With this PR, we can decode nested dictionaries if inner dictionaries are serialized before outer dictionaries on the IPC stream. This seems like a reasonable requirement to me, but of course it isn't spelled out in the format spec.

Or should I ask on the ML?

Let's bring it up on the ML. Seems a reasonable requirement to me.


great expectations: ValidationAction api change

Adjust _run api to 0.13.34 release changes.
Signed-off-by: Maciej Obuchowski<EMAIL_ADDRESS>

Codecov Report

Merging #296 (e318419) into main (fd1c5f7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #296   +/-   ##
=======================================
  Coverage   87.69%   87.69%
=======================================
  Files          31       31
  Lines        1707     1707
=======================================
  Hits         1497     1497
  Misses        210      210

Impacted Files
Coverage Δ

...neage/common/provider/great_expectations/action.py
72.59% <ø> (ø)

Continue to review full report at Codecov.

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


failed to start plugin 1 for clinet 1

How to solve this issue while i am trying to install harpoon

What version of Zellij are you running?

Will close since this looks like an outdated version of Zellij us running


Exception when running encoding

[26352] Analyzing Table 'bill_trans_test' for Columnar Encoding Optimisations with 1 Threads...
-- [26352] Recommended encoding changes will be applied automatically...
-- [26352] Analyzing 1 table(s) which contain allocated data blocks
-- [26352] Table merlin.bill_trans_test contains 0 unoptimised columns
-- [26352] Using Force Override Option
-- [26352] Analyzing Table 'merlin.bill_trans_test'
Exception 'process_timeperiod' during analysis of bill_trans_test
Traceback (most recent call last):
File "analyze-schema-compression.py", line 640, in analyze
row_sortkey = descr[col][4]
KeyError: 'process_timeperiod'

Error in worker thread: return code 1. Exiting.
Is this related to the safewords issue?

Hi All,
Just wanted to report back this is due to the cluster not having anything in the information_schema.schemata.
Maybe we can just take the schema name if they use the --schema param or look up the table if they use --table param and use the schema that comes back from that.
Wanted to ask you all about possibilities of adding dependency checking and relinking if you think that's possible, thanks!

The line that has the issue doesn't actually access information_schema.schemata, but is based on the query in get_table_desc() using pg_table_def and pg_attribute. Can you give me a bit more information about this table and setup? I can't see why we'd get a column in one case and not in another.

Hi Ian,
What I found out is this is due to the user (--db_user) not being the owner of the object/schema. Which then in turns does set the schema into the path(line 200 aws_utils.set_search_paths(conn, schema_name, target_schema).
Then when the get_table_desc() function is ran, pg_table_def, and pg_attribute actually return nothing

Got it. Looking.


App crashed and freezed when removing site which is opened on startup

debug.txt
debug_fulltrust.txt

@R3voA3 Is this still an issue in v0.21.1?

Unfortunately, yes.
Uploading debug_fulltrust.txt…

@R3voA3 Can you share some steps to reproduce this issue?

We need a little more information from you in order to investigate this issue, please reopen this issue once you provided steps to reproduce this issue.


Bugfix/issue 33 no shadows exported

Fixes #33

Coverage increased (+0.09%) to 93.614% when pulling f00f08db95c8bfb8ce7f032844c01b40e04d4078 on bugfix/ISSUE-33-no-shadows-exported into 5b0d62d6fbfaad86e676dfa556a48fd86f0e835e on develop.


in ligand index, unable to find mol file, only first without others.

in docking environment, i run this command: unidocktools ligandprep -i orig_smiles/filenames_part1.txt -sd prep_smiles/ -bs 10. filenames file contains following content.
mol_0.sdf
mol_1.sdf
mol_2.sdf
mol_3.sdf
mol_4.sdf
mol_5.sdf
mol_6.sdf
mol_7.sdf
mol_8.sdf
mol_9.sdf
but errors happen.
unidocktools ligandprep -i orig_smiles/filenames_part1.txt -sd prep_smiles/ -bs 10
[INFO][2024-05-13 01:46:18,881][main.py 28] [Params] {'cmd': 'ligandprep', 'ligands': None, 'ligand_index': 'orig_smiles/filenames_part1.txt', 'savedir': 'prep_smiles/', 'save_format': 'sdf', 'batch_size': 10, 'use_file_name': False}
[ERROR][2024-05-13 01:46:18,881][ligandprep.py 64] Cannot find mol_1.sdf
[ERROR][2024-05-13 01:46:18,882][ligandprep.py 64] Cannot find mol_2.sdf
[ERROR][2024-05-13 01:46:18,882][ligandprep.py 64] Cannot find mol_3.sdf
[ERROR][2024-05-13 01:46:18,882][ligandprep.py 64] Cannot find mol_4.sdf
[ERROR][2024-05-13 01:46:18,882][ligandprep.py 64] Cannot find mol_5.sdf
[ERROR][2024-05-13 01:46:18,882][ligandprep.py 64] Cannot find mol_6.sdf
[ERROR][2024-05-13 01:46:18,882][ligandprep.py 64] Cannot find mol_7.sdf
[ERROR][2024-05-13 01:46:18,882][ligandprep.py 64] Cannot find mol_8.sdf
[ERROR][2024-05-13 01:46:18,882][ligandprep.py 64] Cannot find mol_9.sdf
which means it can't find other mol files, but they exist actually. so what should i do?

I solved it, this error occurs due to an incorrect file path


can't access summary-hub

Since We are processing to store file in Firebase. In the HTML it not done yet
Thank you for your observation.

This is a defect.  Actually it is TWO DEFECTS.

Tantikorn clearly got an error page while using your app.  Respondihg "its not done yet" does not excuse the error.
Tantikorn got a Traceback, which looks like you deployed your app with DEBUG=True.

Find the code that caused the problem and add try - except.
In the "catch" block using LOGGING to record the error.
All projects must use logging for anything likely to fail, which includes
external services like Firebase.


any plan for waymo and MVF?

Hi, shaoshuai, thank you for provide so Clear code structure,  it did helps me finding why my implementation 's result is poor than official.
do you have any plan for implementing waymo dataloader recently, if not I will give it a try within a mouth. and also I can add my implementation of MVF and pixor to your PCDet.

Hi AndyYuan, thanks for your interests of this repo. I plan to update the PCDet repo and release the waymo related dataloader and models next month.

@AndyYuan96 Hello, I really want to know where can find your implementation of pixor based on OpenPCDet? I haven't found a correct public implementation of pixor yet. I need to do some experiments based on pixor. Looking forward to your reply!


Update workspace yaml

Captured In this PR is the removal of version information from the description field in each of our primary workspace's meta.yaml file.

Was there any other way we were going to let users know what version of the workspace they are running ?
In the default-name prefix or having a versions.txt file in the workspace?

Was there any other way we were going to let users know what version of the workspace they are running ? In the default-name prefix or having a versions.txt file in the workspace?

We postponed the output of the "version.txt" file to a future release.  We could alter the name of the "instance" to be 'python-default' if you want, but we were trying to keep the name of the environment (shown in the terminal), consistent with the name shown in che and the instance. @sujen1412


Remove "is" attributes

This PR breaks with the following error when running tests:
Warning: The tag <tspan> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.
          in tspan (created by NodeText)
          in text (created by NodeText)
          in NodeText (created by Node)
          in g (created by Node)
          in Node (created by WrapperComponent)
          in WrapperComponent

"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
"jest": "^26.6.3",

There are 2 ways to fix this (besides downgrading Enzyme/Jest, because that's not a compatible solution):

We can either use the "is" attribute and change the tests a little, while keeping the DOM structure exactly the same (compatible with old and new Enzyme/Jest)
We can wrap all components that throw the error above in  and change the tests selectors, which pollutes the DOM with needless elements.

Both solutions require changes to the tests, the difference is that one pollutes the DOM with an extra element wrapper while the other pollutes the element's attribute tree but doesn't necessarily follow HTML spec ("This attribute can only be used if the specified custom element name has been successfully defined in the current document").

Adding xmlns="http://www.w3.org/2000/svg" to the elements also fixes the problem. While It also pollutes the attribute tree, it doesn't necessarily violate HTML specs. I'll use this.