Suggested edits to rakudo.org

I really like the new website, however I've tried to take a subjective/objective look at it from a user perspective, and I have some comments as listed below:
Rationale : purely to make the website as user-friendly and internally consistent as possible, whilst pushing Rakudo Star to the fore, and limiting mentions of the "Compiler".
The suggested edits should be viewed as a whole, hopefully together they would prove beneficial.
I'll work through the pages in order, it'll help the reader to understand comments, if the webpages are visible at the same time.
Menu Bar

Insert "Rakudo Perl6" after the japanese symbol in the menu bar, that way it's in the heading of each page.
Change "Posts" to "News", "Files" to "Download", "Bugs" to "Feedback", "People" to "Community" - thereby instilling purpose to web page clicks, and ensuring consistency with page body text.

Home page body
Remove the word "Compiler" - The main purpose of the site is to make available Rakudo Star. (But no need to use "Rakudo Star" until the Files [Downloads] page). "Rakudo Perl 6" is fine for the Home Page body.
Posts (News) page body

Change "Posts" to "News" in page body - news is what it is, not everyone knows what "Posts" is.
In the release announcement docs, the first paragraph has a link that takes the reader to the old files/downloads page, maybe change the link in those docs so the reader stays in the new webpages.

Files (Downloads) page body

Title already consistent with [edited] menu bar.

Change "Rakudo Star Collection" title to "Rakudo (Star Edition)" - simply because "collection" seems "wooly", need something more "official/punchy", the brackets provide the link between Rakudo and Star, to me at least.

Change "a collection of modules from the Perl6 ecosystem" to a "specific set of ...", that way the reader is not under any illusion he/she might be able to do the selecting of modules for Star.

Compiler Only Installation box : use the phrase "Install the most up-to-date components" or such like.

Compiler Only Installation box : "View Options" button, at a different level, and inconsistent size, it ought to be aligned and consistent with the "pre-built packages" button.

Add Feature : on a level with the "Downloads" title, across the page, insert a counter till the next Rakudo Star release, why? because I'd be slightly disappointed to install Perl6 and then find I could have waited a day. Something along the lines of "next official Rakudo Star release [20##.##] - (2 months [or] 3 weeks [or] 5 days) from now".

Docs page body

To be honest, the "text file"-like layout of the Documentation section, spoils the otherwise excellent look of the pages. It's a bit wordy, and I want to emphasise Rakudo Star and Perl6 documentation, so here goes :

1a. First sentence should point to Perl6 docs
1b. Second sentence should be "Rakudo Compiler-specific docs .. link"
1c. That's it
1d. words about #IRC channel - it's on the People (Community) page already
Bugs (Feedback) page body

Change "Bugs" title to "Feedback" in page body - cos it's not just bugs we're reporting

People (Community) page body

Change "People" title to "Community" in page body - cos "People" sounds like I should be getting a list of the folks who have built Rakudo / Perl6, "Community" gives me a sense that I'm involved too.
The "#Perl6 IRC" button should spawn another tab in the browser, rather than taking me away from the rakudo.org site

Anyhow, that's my 6pennysworth. Like I say, this is purely meant to help the overall Perl6 effort.
bazzaar

FWIW, once the perl6.org update is completed (2-4 months) to make it more apt at conveying the distinction between the language and implementations, rakudo.org's content is planned to be subsumed by perl6.org and it'll become just a forwarding domain.
So I wouldn't fret too much about about tiny details of the current site as it'll be wiped out soon-enough.

Going over this ticket, some of the issues have been dealt with, some were obviated by the rename to Raku. Here's outstanding issues that I think are left:

[ ] Change "a collection of modules from the Perl6 ecosystem" to a "specific set of ...", that way the reader is not under any illusion he/she might be able to do the selecting of modules for Star.

Easy fix, this makes sense

[ ] Add Feature : on a level with the "Downloads" title, across the page, insert a counter till the next Rakudo Star release, why? because I'd be slightly disappointed to install Perl6 and then find I could have waited a day. Something along the lines of "next official Rakudo Star release [20##.##] - (2 months [or] 3 weeks [or] 5 days) from now".

To do this well, we'd need to have a fixed release schedule, which we don't currently have.

[ ] The "#Perl6 IRC" button should spawn another tab in the browser, rather than taking me away from the rakudo.org site

Easy fix.

[ ] rakudo.org's content is planned to be subsumed by perl6.org and it'll become just a forwarding domain.

Is this still planned?

Chat on IRC indicates that the plan to convert site to a redirect is no longer on the table. Closing this ticket, thank you for the suggestions, sorry about the delay. If you have items you'd still like to see resolved, please open a new ticket (and link back to this one.)
Thanks.


A method to lookup the label for a ChoiceItem

I attempted to use your library for choices in a Django model field, but ended up rolling back to a more primitive approach.  Here's a (slightly obfuscated) overview of my use case:
class User(models.Model):

    class UserType(DjangoChoices):
        Trial = ChoiceItem('T', label='Trial')
        Active = ChoiceItem('A', label='Active')
        Expired = ChoiceItem('E', label='Expired')

    status = models.CharField(max_length=1, choices=UserType.choices,
                              default=UserType.Trial,
                              validators=[UserType.validator])

    ...

But I needed a way to represent the status in in a view.
What I'd like to be able to do is something like this:
u = User.objects.get(...)
print u.status.label

and get:
'Expired'

I didn't see an intuitive way to do this mentioned in the docs.
Because at view level, I have access to the model field, all I can see is E.
So I considered iterating through the dict from UserType, but in terms of interface, that felt weird.  I was wondering if there's a better solution or if you've had this use case?
Best,
Taylor

That's actually provided by Django core, see: https://docs.djangoproject.com/en/1.9/ref/models/instances/#django.db.models.Model.get_FOO_display
You can thus use u.get_status_display()

How quickly we forget :).  That's exactly what I was looking for. :+1:

No problem, happy to help.


Fixes #85 - Prevent extra empty string argument

Not 100% sure if this is the right fix, but looking at the error in #85 the quotes that have been removed here seemed to be the cause.

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

Can this be merged, please?

Thanks :+1:


when we add characters in date of birth it  not show any error message

Bagisto Version

[ ] master branch

Steps To Reproduce

go to the admin panel
then customers

Actual Result

No need for an error message here as invalid characters automatically get deleted.


[NIFI-9381] Test Does not pass due to NonDex

Description of PR
fixes bug NIFI-9381.
Tests related to initCompositeUserGroupProvider under CompositeUserGroupProviderTestBase may express non-deterministic behavior due to the nature of HashMap. The fix is changing HashMap with LinkedHashMap to ensure deterministic behavior.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

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

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

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

[x] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[x] Have you verified that the full build is successful on JDK 8?
[ ] Have you verified that the full build is successful on JDK 11?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI for build issues and submit an update to your PR as soon as possible.

Thanks for updating the import @SpiceOwlf. After closer inspection, it is not clear how changing to use the LinkedHashMap resolves the test failure in the Jira issue.  The failing assertion compares the number of users associated with the group, and that does not appear directly related to the mocked properties provided through the Map.  Each property set in the Map should have a unique number, and order should not matter.  Can you describe how using LinkedHashMap resolves the potential non-deterministic test behavior?

Here are what I observed:
While using HashMap, NonDex will complain that java.lang.AssertionError: expected:<1> but was:<2>, and the error was cast from CompositeUserGroupProviderTest.testMultipleProvidersWithConflictingUsers:135->CompositeUserGroupProviderTestBase.testUserGroupProviderTwo:122
With a little bit more digging, userGroupProvider.getGroup(GROUP_2_IDENTIFIER).getUsers().size() is the cause of this error, and  userGroupProvider.getGroup(GROUP_2_IDENTIFIER).getUsers() will return <[user-identifier-4, user-identifier-1]> or <[user-identifier-3]> depending on the random seed NonDex received. Changing HashMap to LinkedHashMap eliminate such random behavior. It ensures that initCompositeUserGroupProvider has deterministic order while using mockProperties.  Please let me know if my explaination makes sense or not. I will also attach the steps to reproduce this error later.


[BUG] The TOC doesn't highlight the current section of the page.

Describe the bug
First of all, sorry if my English is not correct, my native language is Spanish. Well, as I said in the title the TOC isn't working properly. Depending on the content it just gets crazy. I have tested it in Firefox and Chrome and building the exampleSite, but it is still not working. I even tried the demo.
Expected behavior
It should highlight the name of the current section, but it highlights any of the next sections. I don't know if there is some configuration I'm not considering, but I have checked the documentation and the config.toml that comes with the exampleSite and didn't find anything that can solve this.
Screenshots
In the next screenshot (theme-documentation-built-in-shortcodes), the "Instagram" tag gets highlighted, but we are in the "gist" section.

Build Environment

OS: Windows 10
Theme version/commit addce32
Hugo version 0.80.0 (extended)

Preview Environment

OS: Windows 10
Browsers: Chrome, Edge, Firefox

Additional Information
I would send my code, but I've also tried using the exampleSite and even the demo works this way.

Yes, I know about this problem until my hands reached it))

Yes, I know about this problem until my hands reached it))

Is this error also responsible for the console messages?
Uncaught TypeError: Cannot read property 'classList' of undefined
    at _tocOnScroll (theme.min.js:50)
    at theme.min.js:64
_tocOnScroll @ theme.min.js:50
(anonymous) @ theme.min.js:64

Happens here: https://ublogger.netlify.app/theme-documentation-basics/ if you scroll beyond the TOC

I don't know if this have been fixed or not, but the bug is caused because $headerLinkElements is selecting ToC + Title and Subtitle (if exists), while $tocLinkElements only selected the ToC part itself.
activeTocIndex are using the index from $headerLinkElements resulting in wrong highlighting.
This can be fixed if the index is subtracted by one (title only) or two (title + subtitle).

@noaione Unfortunately, I did not find the time to fix it, so thanks more for the hint. If you have the desire and the time, could you make a PR to the dev branch with a fix?

I hasten to inform you that thanks to the efforts of @noaione, we managed to solve this problem. The solution is already available in the dev branch, and one of these days there will be a new release


Add Communities button

Just adds Communities in the Navigation Buttons.

Thanks so much for the PR @boubacar-io! This will be landed in 5.0: https://github.com/typefully/minimal-twitter/pull/129


Pass through AWS STS session token when provided

Inadvertently opened this PR here, apologies for the noise!

Inadvertently opened this PR here, apologies for the noise!


Provide a target to build docker image to use outside the Platform

See comment https://github.com/neuromation/ml-recipe-project-zero/pull/1#discussion_r405416445 and onward.
Would be great to change make setup to the following:

Have a Dockerfile generated by cookiecutter, something like:

FROM neuromation/base
COPY requirements.txt /project/
COPY startup.sh /project/
COPY build.sh /project/
RUN sh /project/bulid.sh

EXPOSE 8888

Have an empty shell script build.sh that's executed as a step in Dockerfile

The only problem here is how to build this image on the platform -- so far we don't have API for that.

So this Dockerfile could be great for better control (more clear what environment you use) , reproducibility and portability (can give Dockerfile to the client and use it anywhere).

we do rely on a dockerfiles now
users could build them locally
or pull images from the platform
the issue is outdated


Circular dependency problem

I'm having this error while running bundle install:

Your Gemfile requires gems that depend on each other, creating an infinite loop. Please remove gem 'casein' and try again.

The error started when I added the gem countries to Gemfile.
I think it's a weird bug, because countries and casein have very different dependencies:
Puelos-Macbook:ChataBackend paulo$ gem dependency countries
Gem countries-0.11.4
  currencies (~> 0.4.2)
  i18n_data (~> 0.7.0)
  rspec (>= 3, development)
  yard (>= 0, development)

Puelos-Macbook:ChataBackend paulo$ gem dependency casein
Gem casein-<IP_ADDRESS>
  authlogic (= 3.4.2)
  casein (>= 0)
  jquery-rails (>= 0)
  scrypt (= 1.2.1)
  will_paginate (= 3.0.5)

sorry, my fault, the error was caused by casein, not countries


Docs: create API docs

Description of the improvement
Summary of the proposal
As a part of our documentation we have a section that focuses on the APIs available. The new utility should feature docstrings that will then populate the corresponding pages of this documentation.
How, where did you look for information
This unit of work tracks the activities related to having the API docs for the new utility. On an high level, these are:

Create docstrings for each class / method / function
Review content accuracy & wording
Review visually the docs locally

Missing or unclear documentation
https://awslabs.github.io/aws-lambda-powertools-typescript/latest/api/modules/_aws_lambda_powertools_parameters.html
Improvement
N/A
Related existing documentation
[N/A](https://awslabs.github.io/aws-lambda-powertools-typescript/latest/api/
Related issues, RFCs
#846

It seems that it's not possible to have multiple entry points and so, in order to have the documentation, we'll have to export all providers from the main src/index.ts.
I did some tests both with esbuild and tsc and as long as using scoped imports like (note ending):
import { SSMProvider } from '@aws-lambda-powertools/parameters/ssm';

It seems to work without throwing missing dependency errors for the other providers.


Track ContentStack CMS

Vendor site - https://www.contentstack.com/
Example site - https://www.golfbreaks.com/en-gb/
Detection method - assets loaded from images.contentstack.io

Hey added #4038


Clean up heartbeat and stop loop earlier while revoking leadership

Description
Clean up heartbeat and stop loop earlier during revoking leadership.

Delete all heartbeat timestamps during revoking leadership
Change the reconnection interval (100ms seems to harsh)

Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #2420
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[x] Unit tests passing
[x] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

/ok-to-test


Unsupported platform mas; must be one of: darwin, linux, win32

Hi :). I trying to package my Electron app, but i still geting error:
Unsupported platform mas; must be one of: darwin, linux, win32
I use this:
electron-packager ~/ProjectFolder Project --platform=mas --arch=x64 --app-bundle-id=com.me.project --app-category-type=public.app-category.business --version=0.35.6 --helper-bundle-id=com.me.project.helper --app-version=1.0.1
Any help with this? Thansk :)

Hi @kasik96, please check https://github.com/electron-userland/electron-packager/issues/266. Platform mas should be supported in the next release of module.

So that means im not able to make Electron App version to App Store?

Until 6.0.0 is released (subscribe to #266 for updates), you need to install electron-packager from its git repository. For instructions on how to do that, please see the npm install documentation for packages using a "git remote url".


DOCS-8432 setting field level permissions

Further review with Jesus de Oliveira determined that there are multiple ways to accomplish this, and the current instructions correctly explain the preferred way. Closing PR.


Cody Gray: Watch soyentrepreneur.com

Cody Gray requests the watch of the watch_keyword soyentrepreneur\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

soyentrepreneur\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ


Fixing issue with icons color

This update fixes an issue with the svg fill color.

In another PR, the css rule was changed to target only the path that has a fill property. Not all icons are using that property, causing some issue to set a new icon color.
This update also included a fix for the time-day-sun.svg icon leveraging the fill-opacity property to hide the fill color from a path, but it keeps the stroke visible

Pull Request Test Coverage Report for Build 2277

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

Totals

Change from base Build 2275:
0.0%

Covered Lines:
11250

Relevant Lines:
11250

💛  - Coveralls


pre-commit mypy check seems outdated

https://github.com/google/jax/blob/375777f43c919dd4133c4b438c31f920e0dad6a6/.pre-commit-config.yaml#L16-L21
It seems that it use jaxlib==0.1.74.
In addition, mypy version can be updated to v0.942.

And I can't pass mypy typecheck locally on main branch
jax/_src/lib/__init__.py:111: error: Skipping analyzing "jaxlib.cpu_feature_guard": module is installed, but missing library stubs or py.typed marker  [import]
jax/_src/lib/__init__.py:111: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
jax/_src/lib/__init__.py:124: error: Skipping analyzing "jaxlib.cusolver": module is installed, but missing library stubs or py.typed marker  [import]
jax/_src/lib/__init__.py:129: error: Skipping analyzing "jaxlib.hipsolver": module is installed, but missing library stubs or py.typed marker  [import]
jax/_src/lib/__init__.py:134: error: Skipping analyzing "jaxlib.cusparse": module is installed, but missing library stubs or py.typed marker  [import]
jax/_src/lib/__init__.py:139: error: Skipping analyzing "jaxlib.hipsparse": module is installed, but missing library stubs or py.typed marker  [import]
jax/_src/lib/__init__.py:147: error: Skipping analyzing "jaxlib.cuda_prng": module is installed, but missing library stubs or py.typed marker  [import]
jax/_src/lib/__init__.py:152: error: Skipping analyzing "jaxlib.hip_prng": module is installed, but missing library stubs or py.typed marker  [import]
jax/_src/lib/__init__.py:157: error: Skipping analyzing "jaxlib.cuda_linalg": module is installed, but missing library stubs or py.typed marker  [import]
jax/_src/lib/__init__.py:162: error: Skipping analyzing "jaxlib.hip_linalg": module is installed, but missing library stubs or py.typed marker  [import]
jax/interpreters/xla.py:160: error: Argument 1 to "list" has incompatible type "Union[Tuple[int, ...], Tuple[Optional[Tuple[int, ...]], ...]]"; expected "Iterable[int]"  [arg-type]
jax/_src/nn/functions.py:382: error: Argument 1 to "index" has incompatible type "Union[int, Hashable]"; expected "SupportsIndex"  [arg-type]
jax/experimental/jax2tf/converters_eval/examples.py:19: error: Cannot find implementation or library stub for module named "flax"  [import]
jax/experimental/gda_serialization/serialization.py:26: error: Cannot find implementation or library stub for module named "tensorstore"  [import]
jax/tools/jax_to_ir.py:86: error: Cannot find implementation or library stub for module named "tensorflow"  [import]
jax/experimental/jax2tf/converters_eval/converters.py:25: error: Cannot find implementation or library stub for module named "tensorflow"  [import]
jax/experimental/jax2tf/converters_eval/converters.py:26: error: Cannot find implementation or library stub for module named "tensorflowjs.converters"  [import]
Found 16 errors in 7 files (checked 257 source files)

Thanks, done in https://github.com/google/jax/pull/10308


AzureAD SSO appears to break

[Enter feedback here]
Hello, I have attempted to use Azure AD SSO in my Hybrid Azure AD environment. I had the toughest time getting it to work initially. It kept authenticating and getting caught in a loop for Azure AD authentication. Once I supplied the credentials, it circled back and prompted me for Azure AD authentication again. This keeps happening again and again in a loop. Then, a GBB (Global Black Belt) colleague (I am a Microsoft employee) informed me that I needed to remove AVD user accounts from "Domain Admins" group in Active Directory. When I went ahead and tried this, I was able to get Azure AD SSO to work! Unfortunately, I then went ahead and pushed a Group Policy, "Restricted Groups" in the "Default Domain Policy" GPO to add my AVD users group to be added to local administrators group. Applying this policy broke the SSO again where the Azure AD auth page is being looped again. I tried removing the policy altogether but could not restore SSO policy to work again. Please let me know if this is a known issue and if currently there is a known resolution. Thank you.

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

ID: 2abd6b51-f5b4-a4f3-5cb5-c1f49fd2ce11
Version Independent ID: 1768eb36-2628-f33a-35c0-320e895b75c7
Content: Configure single sign-on for Azure Virtual Desktop using Azure AD Authentication - Azure
Content Source: articles/virtual-desktop/configure-single-sign-on.md
Service: virtual-desktop
GitHub Login: @Heidilohr
Microsoft Alias: helohr

@hoyapark
Thanks for your feedback! We will investigate and update as appropriate.

@hoyapark
I'm going to assign this to the document author so they can take a look at it accordingly.
@Heidilohr
Please review it.


[LI-HOTFIX] Down pin non-databind jackson dependencies

LI_DESCRIPTION =
Linkedin internal system blocks jar import on dependencies that declares a dependency transitively.
For example, with a dependency chain
A > B > C

when C is found vulnerable, both A & B will be blocked, which is normal.
However, if A pins a fixed C' and the dependency becomes
A > B > C
  > C'

// Which should resolve to A, B, C'

A is still blocked even if the whole dependency resolution does not
include vulnerable C, because the system still blocks B, and it thinks
"A is not usable without B", thus rejecting importing A.
In order to get over this, we have to down pin B to a lib that already
exists internally (in this specific use case, all non-databind jackson
dependencies) while maintaining the directly vulnerable library C (in
this case, jackson-databind) pinned to a fixed, non-vulnerable
version.
TICKET = CVE-2020-36518, KAFKA-13775
EXIT_CRITERIA = "When upstream bumps all jackson series to > 2.13.3"
More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

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

Sample internal ELR
https://dependency-portal.tools.corp.linkedin.com/#/elr/details/49151

https://github.com/advisories/GHSA-57j2-w4cx-62h2 shows that the affected versions include

= 2.13.0, <= <IP_ADDRESS>
<= <IP_ADDRESS>

Are you sure that down pinning the version to 2.12.5 can resolve the ELR failure?

@gitlw Here's the

GHSA-57j2-w4cx-62h2 shows that the affected versions include

= 2.13.0, <= <IP_ADDRESS>
<= <IP_ADDRESS>

Are you sure that down pinning the version to 2.12.5 can resolve the ELR failure?

Yes, the above ELR is the test release I made exactly using this config.
The tricky part is that the vulnerability is only on jackson-databind, whereas "non-databind" jackson dependencies (e.g. jackson-core) are not vulnerable, but as they point to the same version jackson-databind these non-databind jackson libs won't pass ELR.  For example, jackson-core:2.12.6, which is not vulnerable, points to vulnerable version jackson-databind:2.12.6 so won't be able to be ELR'd.  While jackson-core:2.12.5 is the same case, it's in the Artifactory already; pinning jackson-core:2.12.5 won't make our dependency resolution include vulnerable libraries and lets us pass the ELR check.

Discussed with @lmr3796 about this offline. We are relying on the fact that the "non-databind" jackson libs 2.12.5 are already ELRed, and they are not vulnerable.
We believe the long-term fix for this issue should be on the ELR side https://jira01.corp.linkedin.com:8443/browse/TOOLS-305763, and this PR is used to unblock us in the short term.


Removed defintion for Arduino (programming language).

Hi,
Please let me know if I botched this PR like I've botched others in the past. :)
E.

This looks good (very simple diff). Mergin'


Added Cryptonite

Solving cryptic crosswords :detective:
Based on the new Cryptonite dataset: https://arxiv.org/pdf/2103.01242.pdf

@googlebot I signed it!

Thank you for submitting your task! We are in the process of pairing submissions with task reviewers and will be in touch soon.

Hello, I am one of your reviewers, thank you for submitting this task! I really liked the task, as I believe that it requires deep understanding of language and the ability to resolve disambiguation, which is required for various natural understanding tasks.
correctness
The task is valid and passes the tests.
specificity
The task evaluates the ability of models to solve cryptic crosswords, as a proxy to measuring complex reasoning paths that require deep language understanding and the ability to resolve disambiguation.
I am not sure if specifying multiple task formats (i.e., zero-shot, one-shot, and many-shot) is acceptable. @chiafullo ?
thoroughness
The task consists of cryptic crosswords written by various authors, published in a range of 20 years in the newspapers The Times and The Telegraph.
difficulty
The task is clearly beyond the capabilities of current language models. I believe that even the current giant models would not perform better than the baselines reported in the paper (Table 2). The authors do have some interesting experiments that show how providing hints for the model improves performance. For this reason, I agree with the task submitters that clustering examples by their wordplay type is a promising direction for future work.
not solvable by memorizing the internet
If data from cryptic crosswords websites will be memorized by models, then they might be able to solve this dataset. However, as far as I know, these examples originate from specific websites (e.g. the Telegraph and The Times), which require a subscription. Therefore, I believe it is unlikely that language models will be trained on such examples.
novelty
The setup of the task is creative and novel.
justification
The task is well motivated (both in the readme file and in the paper). Consider adding examples for concrete NLP tasks requiring creativity and disambiguation (such as story generation and open-domain question answering).
size
The task has ~25,000 examples and thus has an acceptable size.
Please consider mentioning in the README file what is this subset from the Cryptonite dataset (is this the validation set? a subset of the training set?).
compute resources
The task is a json task and thus can be run in parallel across examples.

@mega002 They can specify multiple formats, but don't have to. If they don't specify, we will have a few formats we will use by default.

Hi authors, thanks for submitting your task. I am a reviewer for this task.
In general, I think the Cryptonie task is exciting, even though it might be too challenging. I agree that solving Cypotonie requires a deep understanding of the language and world knowledge, which is very challenging for current pre-trained LMs. In the associated paper, the authors conducted interesting experiments to analyze the dataset's different perspectives and provided several potential directions to work on. I look forward to the performance of GPT-3 and even larger language models.
Correctness: The task is valid.
Specificity: The task evaluates the ability of models to solve cryptic crosswords
Thoroughness: The task is thorough.
Difficulty: The task is obviously very challenging for current language models. (It took me a while to understand the example in Figure 1).  It would be interesting to see the performance of GPT-3.
Not solvable by memorizing the Internet: Can’t be memorized using the internet.
Novelty: Good
Justification: The README file is clear and easy to follow. More details can be found in the paper, which is very helpful.
Size: The data scale is very good.
Compute resources: Not a concern for this task.

We thank the reviewers for their comments.
We added a commit addressing their suggestions.

Thanks! I do not have any additional comments for the final review.
@chiafullo Accept

@panda0881 Please signal to "accept" or "reject" by Friday, March 26th.

Thanks! I do not have any other comments. @chiafullo Accept.


Review that simulator API returns expected statuscode & json (according to original flask api)

this messed with the tests after we changed to hosted database


Update CUSTOM_ENV.md

Small typo fix in the doc. I was too late to catch this in the original PR. The guide for this looks great otherwise!

I'm merging this as it's a small doc change, no functionality change.


Use Autoprefixer instead node-bourbon mixins

At the time of build for the project start or to run the test stack, warnings are appearing for me about mixins that Bourbon will deprecated in its new version 5.x.x.
In the repository of wrapper for Bourbon node-bourbon has a issue about it and it seems that the project is not using the most current version of Bourbon.
In the Bourbon repository there is an issue talking about the project option and, according to them, ... we've decided to remove browser prefixing features from Bourbon.
Alternatively, they suggest post-processors and the Autoprefixer are best for this.
With this, I configured postcss-loader in the project and removed the node-bourbon dependency.

Coverage decreased (-0.08%) to 74.1% when pulling db3af0f399e5216a63710c79384f8f6f28ca0436 on joaopaulovieira:style-project-refactor into 26f8d47bac1288c347502ff419ec578f955da9c6 on clappr:master.

🍻


Feature request: Option to blacklist certain teleport locations

Would it be possible to add an option to blacklist/ignore teleport locations in AetheryteLinkInChat?
Such as Base Omicron, Tertium, Bestways Burrow and The Macarenses Angle?

Hi!
Sorry for the late response. I just released v6.58.10.
Release 6.58.10 · SlashNephy/Divination
Can you close the Issue once you are sure the issue has been resolved?

Everything seems to work during my testing 👍
Thank you for accepting my feature request.


Error with Extension scn community shared (Lumira Designer 23.0.1)

Hello everyone,
when i try to open the template it stays empty, after selecting the neccessary variables.
The following error message occurs:

The versions installed on Lumira Designer and Server:

What could cause this to happen?
Kind regards
Robert

Hi @PlanorgRM
Have you succeded to resolve this issue ? I have the same one (on version 2.4)
Regards


⚠ Bofrost.at has degraded performance

In 80977f6, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2195 ms

Resolved: Bofrost.at performance has improved in 4fd1011.


UnboundLocalError: local variable 'idx' referenced before assignment

Traceback (most recent call last):
File "basicsr/train.py", line 218, in
train_pipeline(root_path)
File "basicsr/train.py", line 194, in train_pipeline
model.validation(val_loader, current_iter, tb_logger, opt['val']['save_img'])
File "/home/cnu105/WJQ/code/DAT/DAT-main/basicsr/models/base_model.py", line 48, in validation
self.nondist_validation(dataloader, current_iter, tb_logger, save_img)
File "/home/cnu105/WJQ/code/DAT/DAT-main/basicsr/models/sr_model.py", line 197, in nondist_validation
self.metric_results[metric] /= (idx + 1)
UnboundLocalError: local variable 'idx' referenced before assignment

This issue might be due to having no validation data while still needing to calculate metrics. You could either remove the part that calculates metrics from the yml file or check the path to your validation data to make sure it's not empty.


175377597 payment links

A couple of things needs optimisation.

The SplashScreenForStaxLinkActivity - I had to use this because the same Splash screen activity as the launcher wasn't working for the app link intent filter.

EncryptionSettings in the DatabaseRepo. We might need to store those settings somewhere in the server and cache it locally alongside actions or elsewhere. So that the same settings can be used for online payments. Just my thoughts, please share other approaches to this.

I just realized that the check for whether an action works with a channel is not correct. An action can be owned by one channel and send to another. The channel id field on the action model says who owns the action, not which channel is receiving the money. We actually don't have a direct link from the action to the recipient channel because we may not have that channel or the recipient institution could have multiple channels. So I think we need to skip the validation for now


Trigger a build after ssi-service documentation is updated

ssi-service documentation is updated in the main_swagger branch of https://github.com/TBD54566975/ssi-service
Currently, after there is a new commit into the docs, the documentation shown in https://developer.tbd.website/docs/apis/ssi-service isn't updated. Would be nice to fix.

outdated


Compute Score

implement viewing detection (ray tracing to opponent player)
update own score continuously

This is now extended to also includes:

determining when the game is over/there is a winner.
randomizing the spawn positions of the players


Resolving merge conflict in https://github.com/Azure/azure-content/pull/4706

Hi @tysonn, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (tysonn). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


Configuration: design review

Plugin support with a bunch of configuration simplification.
I suggest to simplify configuration routines to a pair of files:

Configuration — base configuration class. Works in any environment, used by StringChecker.
NodeConfiguration (temporal name) — node.js-specific configuration class. Works in node.js.

This replaces all configuration code in Checker, StringChecker, files at lib/options. Can replace routines at CLI-module during further development.
Still we can keep full backward compatibility. This is just an internal redesign.
/cc @markelog, @mikesherov, @mrjoelkemp

Coverage decreased (-5.4%) to 86.943% when pulling 5e8e4c8355d4d933c38e277eaf156c66c68e1b19 on mdevils.plugins into c70fec7216d5ec5f08c0451d428c6e8b04f778be on mdevils.camel-case.


docs: fix typos

Fix typo in .golangci.yml

duplicate of https://github.com/scroll-tech/scroll/pull/1025

close it


support for dotnet ef dbcontext scaffold

Hi! First of all, this is an awesome project. Thank you very much for making it available.
I would like to know if ef-core scaffolding is supported or planned to be supported. I'm trying to scaffold a table with a halfvec(3072) column and it's not working. I have the following table:
create table "memory-default"
(
    _pk       text                                          not null
        primary key,
    embedding halfvec(3072),
    labels    text[]                   default '{}'::text[] not null,
    chunk     text                     default ''::text     not null,
    extras    jsonb                    default '{}'::jsonb  not null,
    my_field1 text                     default ''::text,
    _update   timestamp with time zone default CURRENT_TIMESTAMP
);

alter table "memory-default"
    owner to postgres;

create index "memory-default_labels_idx"
    on "memory-default" using gin (labels);

create index "memory-default_embedding_idx"
    on "memory-default" using hnsw (embedding halfvec_cosine_ops);

I tried executing the following command:
dotnet ef dbcontext scaffold \
  --project src/MyProject.Core/MyProject.Core.csproj \
  --startup-project src/MyProject.Core/MyProject.Core.csproj \
  --data-annotations \
  --context MyProjectContext \
  --force \
  --output-dir Data/Entities \
  --namespace MyProject.Core.Entities \
  --context-namespace  MyProject.Core.Data \
  --context-dir Data \
  --no-onconfiguring \
  "Host=postgres;Port=5432;Username=postgres;Password=password;Database=myproject" \
  Npgsql.EntityFrameworkCore.PostgreSQL

And I got the following error:
Build started...
Build succeeded.
Could not load database collations.
Could not find type mapping for column 'public.memory-default.embedding' with data type 'halfvec(3072)'. Skipping column.
Unable to scaffold the index 'memory-default_embedding_idx'. The following columns could not be scaffolded: embedding.

The generated output only goes as far as the following in the DBContext:
public virtual DbSet<MemoryDefault> MemoryDefaults { get; set; }

And for the model iteself the output is:
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
using NodaTime;

namespace MyProject.Core.Entities;

[Table("memory-default")]
public partial class MemoryDefault
{
    [Key]
    [Column("_pk")]
    public string Pk { get; set; } = null!;

    [Column("labels")]
    public List<string> Labels { get; set; } = null!;

    [Column("chunk")]
    public string Chunk { get; set; } = null!;

    [Column("extras", TypeName = "jsonb")]
    public string Extras { get; set; } = null!;

    [Column("my_field1")]
    public string? MyField1 { get; set; }

    [Column("_update")]
    public Instant? Update { get; set; }
}

Btw, I'm using the NodaTime library for the Instant type. In the case of the Instant type NodaTime was able to replace the timestamp with time zone type from sql.
Maybe there is a way to implement proper mapping as well for scaffolding as NodaTime has?

Yeah, this shouldn't be too hard to do - I'll try to take care of this soon.

Thanks @roji! 🙏 I have no background at the moment at this level of programming extensions/plugins with dotnet and efcore but I'm really interested myself to understand how this is going to be implemented. Looking forward to this.


Intel ISPC

It's a compiler but the language it compiles is a dialect of C but not C itself.
https://github.com/ispc/ispc

Thanks! I'm still not sure, cause it's a compiler and C dialect. It doesn't even have a name. Added for now.


Output is quarantined

The output file of Recaf is immediately quarantined by Windows Defender and flagged as Trojan:Script/Sabsik.TE.B!ml
Besides disabling the anti-virus, is there any advice on how to work around this?

What files was the input?

A proprietary JAR artifact that I created. I changed a method to always return true by swapping the iconst_0 at L: with iconst_1

I appended "-MODIFIED" to the filename and saved to a new artifact.


keybinding for focusing search input

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

When I hit / on my keyboard, the search input should be focused.
Current Behavior

Nothing happens :)

Because it's very convenient when using the documentation :)
It may sound ridiculous but having a big screen makes me do a lot of "mouse travel" between the search bar and the documentation.
And I guess that's also for the same kind of conveniency that GitHub and so many other tools provide keybindings :)

I didn't know GitHub had keyboard shortcuts 😄 but site search seem to be 's' rather than '/'. I don't have any objection to shortcuts per-se if you wanted to implement them,, but discoverability might be challenging - as in the GitHub case!

Well, / is used a lot by people from the CLI-world ;)
Google also use / in its products like Inbox, Gmail, Calendar, etc. (you need to activate keyboard shortcuts though).

Well, / is used a lot by people from the CLI-world

Makes sense - no reason you couldn't alias a few common options. It's not like a docs site needs to reserve a lot of shortcuts. 😄

So happy this landed.. thanks!


JSON Schema property type does not support multiple types

According to the JSON Schema Spec, which in this case is also a valid Swagger Spec, it is possible to define multiple types for a property by setting the type property to an array containing strings.  This is especially useful for properties that support the null value, which is not the same as being a required property.
Are there any plans to support this case?

We don't support 100% of JSON schema.  I suggest you please look at the Open API specification (FKA Swagger specification) for details.  If you feel strongly about a lack of feature in the spec, please add an issue there.
But per the spec, it's intentionally not supported.

I just read the specification and it is clearly mentionned that the type property is supported.

Further information about the properties can be found in JSON Schema Core and JSON Schema Validation. Unless stated otherwise, the property definitions follow the JSON Schema specification as referenced here.

The following properties are taken directly from the JSON Schema definition and follow the same specifications:

type

The other thing is that swaggerhub actually parses this correctly just like the spec mentionned.
I would appreciate if you could put more attention to this issue.
Thank you

@ebelanger - you're right about the documentation problem, it is indeed not clear that schema objects don't support multiple types (which is not supported anywhere else in the spec where type is used).
There's a ticket about it here, feel free to subscribe to it for updates.


landscape does not support url message replies

I tried sending the string https://github.com/urbit/arvo/issues/1107 in a reply to another message in talk and noticed that in landscape the reply shows up as <unknown message type>.  The message is in ~dopzod/urbit-help and was sent around 8:11PM PST on March 11th.

Moving to the landscape repo, since this is an issue with Landscape UI not having display states for every %sep (message type).


Add redirect field to schema

What problem is your feature request trying to solve?
When a feed has status=deprecated, we should provide an ID for the feed that should be used instead. In most cases, URLs will just be swapped out. This redirect field should only be used in cases where there is a many-to-one relationship between the old and new feeds (e.g there are 6 old, out of date municipal feeds that have stopped being updated in favour for 1 active aggregated feed).
Describe the solution you'd like
A redirect field that can be used that points to a mdb_source_id.

Duplicate of #131


Laravel 6.0 Support

First take a look at the following

https://github.com/jeremykenedy/laravel-roles#opening-an-issue
https://github.com/jeremykenedy/laravel-roles/issues?q=is%3Aissue+is%3Aclosed

Is your feature request related to a problem? Please describe.
I can't update my laravel project from 5.8 to 6.0 because laravel-roles doesn't support laravel 6.0

It hasn't been added yet.
L6 only released today.


why skip some points in test model,and why are the predicted results and ground_truth the same?

In my test process:
Processing IMG_400.jpg ...
In data_reader.create_heatmap: Error in annotations; 1 point(s) skipped.
Processing IMG_44.jpg ...
Processing IMG_54.jpg ...
In data_reader.create_heatmap: Error in annotations; 1 point(s) skipped.
Processing IMG_59.jpg ...
Processing IMG_65.jpg ...
In data_reader.create_heatmap: Error in annotations; 2 point(s) skipped.
My predicted results' paths is "/home4/shuai/projects/LSC-CNN/dataset/stpartb_dotmaps_predscale0.5_rgb_ddcnn++_test/test/1/"
I notice that  the predicted counts and ground_truth is the same results.
Can you answer my question?Thanks.

Hi,
Since you don't have the dataset already dumped, it will do it.
For testing, you need to run the command again.


Installation with conda forge causes pip check to fail

Solution to issue cannot be found in the documentation.

[X] I checked the documentation.

Issue
Installation of heapdict from conda-forge generates an inaccurate WHEEL file, causeing pip check to fail. This is not a problem with installing the package with pip. Here is a bash script that demonstrates this:
conda create -c conda-forge -n heapdict-test -y python=3.12 pip heapdict
conda run -n heapdict-test pip check # stderr: HeapDict 1.0.1 is not supported on this platform
echo $? # exit code is 1
grep Tag $CONDA_PREFIX/../heapdict-test/lib/python3.12/site-packages/HeapDict-1.0.1.dist-info/WHEEL # Tag: cp37-none-any
conda remove -n heapdict-test -y heapdict
conda run -n heapdict-test pip install heapdict
conda run -n heapdict-test pip check # No broken requirements found.
grep Tag $CONDA_PREFIX/../heapdict-test/lib/python3.12/site-packages/HeapDict-1.0.1.dist-info/WHEEL # Tag: py3-none-any

pip check failing is a problem for my CI tests.
Installed packages
List of packages in environment: "/Users/petern/micromamba/envs/heapdict-test"

  Name             Version   Build               Channel
──────────────────────────────────────────────────────────────
  bzip2            1.0.8     h99b78c6_7          conda-forge
  ca-certificates  2024.7.4  hf0a4a13_0          conda-forge
  heapdict         1.0.1     py_0                conda-forge
  libexpat         2.6.2     hebf3989_0          conda-forge
  libffi           3.4.2     h3422bc3_5          conda-forge
  libsqlite        3.46.0    hfb93653_0          conda-forge
  libzlib          1.3.1     hfb2fe0b_1          conda-forge
  ncurses          6.5       hb89a1cb_0          conda-forge
  openssl          3.3.1     hfb2fe0b_2          conda-forge
  pip              24.2      pyhd8ed1ab_0        conda-forge
  python           3.12.4    h30c5eda_0_cpython  conda-forge
  readline         8.2       h92ec313_1          conda-forge
  setuptools       71.0.4    pyhd8ed1ab_0        conda-forge
  tk               8.6.13    h5083fa2_1          conda-forge
  tzdata           2024a     h0c530f3_0          conda-forge
  wheel            0.43.0    pyhd8ed1ab_1        conda-forge
  xz               5.2.6     h57fd34a_0          conda-forge

Environment info
libmamba version : 1.5.8
     micromamba version : 1.5.8
           curl version : libcurl/8.6.0 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12
ghttp2/1.61.0
     libarchive version : libarchive 3.5.3 zlib/1.2.12 liblzma/5.4.3 bz2lib/1.0.8
       envs directories : /Users/petern/micromamba/envs
          package cache : /Users/petern/micromamba/pkgs
                          /Users/petern/.mamba/pkgs
            environment : heapdict-test (active)
           env location : /Users/petern/micromamba/envs/heapdict-test
      user config files : /Users/petern/.mambarc
 populated config files :
       virtual packages : __unix=0=0
                          __osx=14.5=0
                          __archspec=1=arm64
               channels :
       base environment : /Users/petern/micromamba
               platform : osx-arm64

When  build number 1 hits the channel can you try this again and let us know if #9 fixed it?


Please add support for TVR TS0601 _TZE200_sur6q7ko

          Hi,

Sorry to maybe misuse this thead.
Very new to the whole quirk functionality in HA. All my devices were recognised perfectly in the past untill I bought some TVR's.
Could you point me to the correct place to request that my device can be added to a quirk or should I first test it with a custom quirk?
Device: TS0601 by _TZE200_sur6q7ko
Originally posted by @malfunctioningEddy in https://github.com/jacekk015/zha_quirks/issues/1#issuecomment-1407379415

Diagnostic:
zha-aa64a7367a57a35c45ede02f9329a924-_TZE200_sur6q7ko TS0601-95a0ad68a5ae486737293ba12b16397b.json_diagnostic.txt
Signature:
signature.txt
Log after putting HA in debug:
home-assistant_2023-01-28T17-47-52.687Z.log

What I found is that in debug mode the device looks different:
Debug:

Normal:

Enable "custom_quirks_path"
https://github.com/jacekk015/zha_quirks#usage
Download file: https://github.com/jacekk015/zha_quirks/blob/main/ts0601_trv_zonnsmart.py
and put it in that folder.
Restart HA and re-pair device again.
In case of errors post FULL HA log file.

Thanks for making this easy.  Again, I'm learning.
Will try this evening and report back.

Hi I managed to do a first test.
After completing all the steps I restarted Home Assistant.
ZHA failed to set up however:

Log view:

Full logs:
home-assistant_2023-01-30T19-07-00.508Z.log

Something is bad in the local quirk:
  File "/usr/local/lib/python3.10/site-packages/zigpy/quirks/__init__.py", line 34, in get_device
    return _DEVICE_REGISTRY.get_device(device)
  File "/usr/local/lib/python3.10/site-packages/zigpy/quirks/registry.py", line 148, in get_device
    device = candidate(device._application, device.ieee, device.nwk, device)
  File "/config/custom_zha_quirks/ts0601_trv_zonnsmart.py", line 164, in __init__
    self.ZONNSMARTManufCluster_bus = Bus()

I think @jacekk015 is fixing it then hi have time.
What version of HA is you running ?

Hi,
I'm running:

Hi,
I would like to run another test if that is possible. Just upgraded to:

But seems the device was not added yet. How can I find out in which release it will be?

@jacekk015 , @MattWestb
Hi again, just performed another test with a custom quirk.
Downloaded the ts0601_trv_zonnsmart.py file again and put it in correct directory.
Tried to add the device but HA remained configuring.

I did manage now to enable logging as I was not able to do that correctly before. The ZHA bridge would than fail to set up.
So here are the logs of my latest attemp:
home-assistant_2023-02-04T11-32-50.696Z.log

From what I can see in the log in failes to initialize:
2023-02-04 12:28:00.065 WARNING (MainThread) [zigpy.device] Device  failed to initialize due to unexpected error

@malfunctioningEddy
Bug was corrected.
Download quirk again.
https://github.com/jacekk015/zha_quirks/blob/main/ts0601_trv_zonnsmart.py

@jacekk015
Right! :)

That looks very good thanks!
First time I got the device in this state so I will start playing with it now.
Again thanks very much!

First thoughts:

Battery 100% does not seem very good as I've had these batteries in there for a while now and manualy operating the device.
Controls: thermostat shows the current temp now bit I can't seem to set a setpoint temperature. Though I don't know if I should.
In the dashboard card I am able to set the device to "heating" and "idle" which actually work well. But I would think I could set a target temperature and the device would "heat" or "idle" untill it reaches the target temp.

What do you think?

Did some fixing now. Download newer file.
Firstly - without logs I can't say anything, but:

Battery - TRV's are sometimes strange. Not every TRV report battery level each percent. Sometimes it's 100% and next 0%. That's what your TRV do. Treat it more like battery low warning.
You should have possibility when you click Thermostat on Controls panel.
Your TRV actually supported enable/disable function - eventually users reported that.
There are two things:

system mode: on/off
state: heating/idle
You are controlling system mode.
For state we need an information from TRV. Unfortunately your TRV doesn't send any valve state, so we don't know when it is heating or idle.

@jacekk015
Thanks for all your help.

I uploaded new file
Deleted device
Reboot HA
Added device again

Now showing as an unknon manufacturer:

After reset it's better (don't know why):

Thermostat control look better as well, I have setpoint!

When I lower setpoint the valve closes which is good. However the state remains "Heating":

Added logs:
home-assistant_2023-02-04T22-06-00.438Z.log

As I wrote above. Your TRV device doesn't report any valve opening.
That image you've posted doesn't state that TRV is heating or idle.
That's system mode: Heating as a function. It can be Heating or Off.
That card is an Thermostat card and Thermostat can Heat or Cool or be Off.
Air conditioner can Heat, Cool, Dry and etc...
Take a look at my Air conditioner card.
Second to the left is a flame icon - that's what yours Heating is - a function/mode.

To check state you need to look at device view - because it's not the same:

Moreover since your TRV doesn't report Heating/Idle state it can only be faked by the quirk code.
My TRV also doesn't report Heating/Idle state.
I made for myself simplest thing I can do:
When the room temp < temp set - state Heating
When the room temp >= temp set - state Idle
That doesn't show exact real state but it's better to have something.
Some users checked their hysteresis on the device so we've shifted that idle +/- according to their needs.

Hi,
Thanks for explaining all this.
I did more testing and added another tvr to the system:

Strange thing is that the second one does not have the same icons as the first one, which is a little weird. It does work fine though by setting target temperature.
What I found is that the original app has some more features like child lock which aren't standard available in HA. By Device Mangement so I guess it's available by scripting:

Again, thanks for all the work on this.

Device probably has more features. We often add child lock as a switch in HA. I can do it later.
As for other features - often plenty of them are added... it takes time... and they aren't used.
Like for example open window detection which for 99% of times doesn't work properly and no one can rely on that feature.
Test showed that you need to put a TRV in the freezer to make that function work. Room temp drop is too slow - probably.
As for icons - they should be exact same. That code wasn't 100% written by me from the beginning - later will take a look what happens here.

After file replace and restart new switch should be available - that's child lock.

Thanks very much. I will run tests tomorrow.

@jacekk015
Hi the integration failed to initialize, had to revert back to previous version:

Logs:
home-assistant_2023-02-08T19-10-45.744Z.log

Small bug - fixed in repo.

Hi,
Now works better. I removed both TVRs from HA and re-added them.

Child lock is working perfectly!
However I still have the difference in icons between the two TVRs:

They both have the same zigbee device id: TS0601 by _TZE200_sur6q7ko.
I'm not sure if they have the same firmware though. I connected one of them temporarily to the LSC Smart Connect app to check which options they had. Maybe that app updated the formware of that TVR.
Is there any way we can retrieve the firmware using ZHA?


Fix awkward consvar code from ancient Python

The env.Append and `env.Prepend methods which add to existing construction variables had some deeply nested try blocks because according to the comments, Python 1.5.2 would not allow a continue statement inside a try block.  This has now been aligned to more modern usage for better readability.
Docs and tests not impacted (tests still pass here).
Signed-off-by: Mats Wichmann<EMAIL_ADDRESS>Contributor Checklist:

[ ] I have created a new test or updated the unit tests to cover the new/changed functionality.
[X] I have updated CHANGES.txt (and read the README.rst)
[ ] I have updated the appropriate documentation

Oops. looks like a cleanup deleted a few extra lines - and took with it a necessary function, not intended. Fix presently.

Oops. looks like a cleanup deleted a few extra lines - and took with it a necessary function, not intended. Fix presently.


Correct the repo name in readme

It seems that the current repo name in README file is outdated.

Nice!

Nice!


PTFM-17112 - App and applet for remote builds on 14.04 workers

@psung Please review at your convenience, and thanks in advance!  This pull request basically contains an app and an applet for remote builds on trusty workers and they are used by the companion pull request in the 'dx-toolkit' repo.

Thanks for the comments!  I added a commit to address them.


Rename veriform.rs => rust

Should be easier to understand at a glance

Codecov Report

Merging #71 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop      #71   +/-   ##
========================================
  Coverage    63.03%   63.03%
========================================
  Files            4        4
  Lines          487      487
  Branches       127      127
========================================
  Hits           307      307
  Misses          71       71
  Partials       109      109

Impacted Files
Coverage Δ

rust/src/field.rs
64% <ø> (ø)

rust/src/encoder.rs
63.33% <ø> (ø)

rust/vint64/src/lib.rs
66.66% <ø> (ø)

rust/src/decoder.rs
61.04% <ø> (ø)

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 4417883...e1d4771. Read the comment docs.


Fix missing bitmaptools issues

Apparently something changed (likely on a dependency) in the time period between when I submitted #93 and when it was merged in causing it to break. This should fix the issue.

Merging in immediately since the current state of the release is broken.


Remove Scala prodecure syntax

This removes the Scala procedure syntax from the codebase as this is deprecated since Scala 2.11:
https://github.com/scala/scala/pull/3076
Let me know your thoughts.
Committer Checklist (excluded from commit message)

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

This is ready to go. I will rebase once I have a first feedback.

cc @ijuma for reviews.

Thanks for the PR. I think we eventually want to do something like this, but it's a bit invasive as it makes it harder to backport changes to previous branches and it introduces conflicts to in-progress PRs. It may make sense to discuss the usage of scalafix in the project and which rules we want to apply, etc. There is a JIRA for using scalastyle, but we never took that to completion.

Note this is not introducing scalafix (yet). I'm waiting on 0.6 to be released to get some stuff sorted out.

makes it harder to backport changes to previous branches and it introduces conflicts to in-progress PRs
Is this a reason strong enough to continue using a deprecated language feature that we will have to remove anyway at some point when it will be completely dropped? Do you have any suggestions on how can we do better?

In this case, the feature itself is harmless and the benefit is small, so it's lower priority than some of the other things we have to do for the upcoming release.
For the scalafmt PR, we probably need to discuss it in the mailing list since it's even more disruptive and people have strong feelings when it comes to stuff like that.

@ijuma I see, let's keep this PR open until I manage to add scalafix.

people have strong feelings when it comes to stuff like that
Indeed this is why Scalafmt would remove this feelings since there would be a rule settled for everyone. Personally I have no preference except consistency across the codebase and the peace of mind of not having to think about that because it will be taken care by a tool.
Should I send a message to the mailing list then?


[Docs]: Add opcua-commander sample to verify-data-is-flowing chapter

Is your docs request related to a problem? Please describe.
The latest version of the azure docs does contain a "Verify data is flowing"-chapter which provides a quickstart sample to install mqtt-client cli-ui (see https://raw.githubusercontent.com/Azure-Samples/explore-iot-operations/main/samples/quickstarts/mqtt-client.yaml)
It would be great to have the same quickstart sample for OPC UA as well. We can use the opcua-commander CLI Tool which works similar to mqtt-client.

Describe the solution you'd like

Add a Azure-Samples quickstart example to install opcua-commander container
Add the example to Azure Docs https://learn.microsoft.com/en-us/azure/iot-operations/get-started/quickstart-add-assets#verify-data-is-flowing
(Optional) Think about a Azure IoT Operations UI-native way, to enable lookup for non-IT colleagues who will configure iotops assets in the future. They wont have knowledge about kubernetes or linux command lines :)

Proposed implementation details (optional)
https://github.com/node-opcua/opcua-commander

Thank you so much for your feedback! We added the request to our backlog


Increase compiler optimization when using target=release on iOS/Android

This improves performance on projects exported in release mode on iOS and Android, at the cost of slightly increased binary sizes.
Note that this may not be safe to cherry-pick to 3.x on iOS (assuming the bug mentioned in https://github.com/godotengine/godot-proposals/issues/1987 was fixed in the GDScript rewrite in master).

For size optimization, we could try -Oz on platforms that build with Clang.

I'd probably make that a separate option (such as optimize=size_extra), as -Oz is more aggressive and can lose quite a lot of speed.

If it's the only change, it's keep the startswith and just do: [...]

WDYT about this change? Worth doing, or do you prefer to keep it as is?

WDYT about this change? Worth doing, or do you prefer to keep it as is?

It looks more readable with your change, so I applied it :slightly_smiling_face:

Thanks!

Cherry-picked for 3.5.


Remove 1.x builds from weekly builds

Yes, and it's not worth it running them every week if we don't moify these branches anyway. If we ever had to, we will have to first migrate them to the new template build.


Revert "Aws In-tree support (#9643)"

This reverts changes made by  Aws In-tree support (#9643). While testing, it appears that the intent of this PR (to handle upgrade cases and display a banner) can never be triggered.
fixes #10426

@mantis-toboggan-md that looks to be correct, initialCloudProvider can be removed. This is ready for another review.


[Airbrake] [Production] comparison of String with 0 failed

Airbrake error: #4776
Airbrake project: ETMoses
Error type: ArgumentError
Error message: comparison of String with 0 failed
Where: testing_grounds#update
Occurred at: Sep 01, 2016 12:04:40 UTC
First seen at: Sep 01, 2016 12:04:40 UTC
Occurrences: 1 (1 since last deploy on Jul 18, 2016 11:54:39 UTC)
URL: https://moses.energytransitionmodel.com/testing_grounds/539
File: [PROJECT_ROOT]/app/models/testing_ground.rb
Backtrace:
[PROJECT_ROOT]/app/models/testing_ground.rb:182:in <
[PROJECT_ROOT]/app/models/testing_ground.rb:182:in block in validate_technology_profile_units
[PROJECT_ROOT]/app/models/technology_list.rb:111:in each
[PROJECT_ROOT]/app/models/technology_list.rb:111:in each_tech

This is another type casting done wrong. units is interpreted as as String probably due to a faulty CSV import. In Excel, when the CSV is exported, the numbers are being seen as a String due to a fauly separator setting (?) would be my guess.


[Bug]: Source control view icon is overridden when pinned

Describe the bug
With the new insider release, the panes made by the plugin have their icon overridden when pinned. Also, If I have the source control view in the sidebar and don't pin it, I get stuck in the diff view if I click on a file change, so pinning becomes necessary.
Relevant errors (if available)
No response
Steps to reproduce
Open source control view, pin the pane in the sidebar.
Expected Behavior
No response
Addition context
No response
Operating system
Windows
Plugin version
1.26.1

I'm running Obsidian v0.15.6 and Obsidian Git v1.26.1 on MacOS, and I couldn't figure out how to get out of diff view.
Pinning the pane forces diff view to open in another pane, while the Source Control View stays open, and then it's easy to close the diff pane when I'm done with it. So pinning is necessary to be able to get back to Source Control View.
And as OP notes, the Source Control View icon at the top is overridden by the pin icon.

I think overriding the icon is an Obsidian issue, because the same happens to Obsidian's own sidebar panes like "Backlinks".
You are correct that since Obsidian v0.15 the diff view gets opened in the sidebar. Will fix this.


Cannot run Slay the Spire from Steam

Describe the bug
Cannot run Slay the Spire from Steam.
Game
Slay the Spire
Versions

IndieRunner version: Latest (commit c343ea5d5c0f1a5a32876c61f7c26847e4b595ca)
Operating System with architecture and version: OpenBSD sentinel.lan 7.5 GENERIC.MP#82 amd64
Datasize limit: 16777216
Game version: Latest (downloaded on 2024-07-08 with steamctl depot download -a 646570)
Intermediate library versions:  Not sure

To Reproduce
> mkdir SlayTheSpire
> cd SlayTheSpire
> steamctl depot download -a 646570
[INFO] Reusing previous username: X
[INFO] Hint: use 'steamctl --user <username> ...' to change
[INFO] Enter credentials for: X
Password:
Enter 2FA code: XXXXX
[INFO] Login to Steam successful
[INFO] Checking licenses
[INFO] Checking change list
[INFO] Getting manifests for 'public' branch
[INFO] Locating and counting files...
[INFO] Processing manifest<PHONE_NUMBER>324604124) '646571' ...
[INFO] Processing manifest<PHONE_NUMBER>030023273) '646572' ...
[INFO] Processing manifest<PHONE_NUMBER>033040636) '646573' ...
[INFO] Processing manifest<PHONE_NUMBER>980710352) '646574' ...
[INFO] Processing manifest<PHONE_NUMBER>194586177) '228983' ...
Data : 100%|| 2.14G/2.14G [02:38<00:00, 13.5MB/s]
Files: 100%|| 864/864 [02:38<00:00,  5.46 file/s]

[INFO] Download complete
> $HOME/Repos/IndieRunner/bin/indierunner -vv
[IndieRunner::new] Mode: Run
[IndieRunner::detect_engine] Engine detection: 1st pass
[IndieRunner::new] Engine: Java
[IndieRunner::Engine::Java::new] Collecting data from config file: config.json
[IndieRunner::Engine::Java::new] Bundled Java version:          1.8.0
[IndieRunner::Engine::Java::new] LWJGL3 preferred Java version: 1.8.0
[IndieRunner::Engine::Java::new] Java version to be used:       1.8.0
[IndieRunner::Engine::Java::new] Java Home:                     /usr/local/jdk-1.8.0
[IndieRunner::new] Game Name: SlayTheSpire
[IndieRunner::setup] Setup
[IndieRunner::Engine::setup] Setup
[IndieRunner::Mode::check_rigg_binary] rigg disabled (no support for java)
[IndieRunner::Engine::Java::setup] Symlink native system libraries.
libgdx.so |
libgdx64.so |
libgdx-controllers-desktop.so |
libgdx-controllers-desktop64.so |
libgdx-freetype.so |
libgdx-freetype64.so |
libsteam_api.so | /usr/local/lib/libsteam_api.so.3.0
libsteamworks4j.so |
liblwjgl.so | /usr/local/share/lwjgl/liblwjgl64.so
liblwjgl64.so | /usr/local/share/lwjgl/liblwjgl64.so
libopenal.so | /usr/local/lib/libopenal.so.5.0
libopenal64.so | /usr/local/lib/libopenal.so.5.0
libjinput-linux.so |
libjinput-linux64.so |
libgdx-box2d64.so |
com/sun/jna/freebsd-x86-64/libjnidispatch.so |
com/sun/jna/freebsd-x86/libjnidispatch.so |
com/sun/jna/linux-aarch64/libjnidispatch.so |
com/sun/jna/linux-arm/libjnidispatch.so |
com/sun/jna/linux-armel/libjnidispatch.so |
com/sun/jna/linux-mips64el/libjnidispatch.so |
com/sun/jna/linux-ppc/libjnidispatch.so |
com/sun/jna/linux-ppc64le/libjnidispatch.so |
com/sun/jna/linux-s390x/libjnidispatch.so |
com/sun/jna/linux-x86-64/libjnidispatch.so |
com/sun/jna/linux-x86/libjnidispatch.so |
com/sun/jna/openbsd-x86-64/libjnidispatch.so |
com/sun/jna/openbsd-x86/libjnidispatch.so |
com/sun/jna/sunos-sparc/libjnidispatch.so |
com/sun/jna/sunos-sparcv9/libjnidispatch.so |
com/sun/jna/sunos-x86-64/libjnidispatch.so |
linux/libdiscord-rpc.so |
libopenal64.so | /usr/local/lib/libopenal.so.5.0
libopenal.so | /usr/local/lib/libopenal.so.5.0
liblwjgl64.so | /usr/local/share/lwjgl/liblwjgl64.so
liblwjgl.so | /usr/local/share/lwjgl/liblwjgl64.so
libsteam_api.so | /usr/local/lib/libsteam_api.so.3.0
[IndieRunner::Engine::Java::LibGDX::setup] Identified bundled LibGDX version: 1.9.9
Will use system LibGDX at: /usr/local/share/libgdx/1.9.9
[IndieRunner::run] Run

[IndieRunner::Mode::run] Lauching SlayTheSpire
[IndieRunner::Mode::run] Executing: env JAVA_HOME=/usr/local/jdk-1.8.0 /usr/local/jdk-1.8.0/bin/java -Xmx1G -Dsun.java2d.dpiaware=true -Djava.library.path=/usr/X11R6/lib:/usr/local/lib:/usr/local/share/lwjgl:. -Dorg.lwjgl.system.allocator=system -Dorg.lwjgl.util.DebugLoader=true -Dorg.lwjgl.util.Debug=true -cp /usr/local/share/libgdx/1.9.9:/usr/local/share/lwjgl/AppleJavaExtensions.jar:/usr/local/share/lwjgl/asm-debug-all.jar:/usr/local/share/lwjgl/jinput.jar:/usr/local/share/lwjgl/lwjgl.jar:/usr/local/share/lwjgl/lwjgl_test.jar:/usr/local/share/lwjgl/lwjgl_util.jar:/usr/local/share/lwjgl/lwjgl_util_applet.jar:/usr/local/share/lwjgl/lzma.jar:/usr/local/share/steamworks4j:. com.megacrit.cardcrawl.desktop.DesktopLauncher

05:11:39.561 INFO desktop.DesktopLauncher> time:<PHONE_NUMBER>560
05:11:39.570 INFO desktop.DesktopLauncher> version: 2022-12-18
05:11:39.570 INFO desktop.DesktopLauncher> libgdx:  1.9.5
05:11:39.570 INFO desktop.DesktopLauncher> default_locale: en
05:11:39.570 INFO desktop.DesktopLauncher> default_charset: UTF-8
05:11:39.570 INFO desktop.DesktopLauncher> default_encoding: UTF-8
05:11:39.570 INFO desktop.DesktopLauncher> java_version: 1.8.0_402
05:11:39.570 INFO desktop.DesktopLauncher> os_arch: amd64
05:11:39.570 INFO desktop.DesktopLauncher> os_name: OpenBSD
05:11:39.570 INFO desktop.DesktopLauncher> os_version: 7.5
05:11:39.572 INFO core.SystemStats> MEMORY STATS:
Free Memory: 140Mb
Max Memory: 910Mb
Allocated Memory: 184Mb
Unallocated Memory: 726Mb
Total Free Memory: 867Mb
Used Memory: 43Mb

05:11:39.573 INFO core.SystemStats> DISK STATS:
Total Space: 985Mb
Usable Space: 726Mb
Free Space: 775M

05:11:39.575 INFO core.DisplayConfig> Reading info.displayconfig
05:11:39.578 INFO core.DisplayConfig> DisplayConfig successfully read.
05:11:39.578 INFO desktop.DesktopLauncher> [WINDOWED_MODE]
05:11:39.578 INFO desktop.DesktopLauncher> Settings successfully loaded
05:11:39.578 INFO desktop.DesktopLauncher> Launching application...
[LWJGL] getPathFromClassLoader: searching for: openal
[LWJGL] Failed to locate findLibrary method: java.lang.NoSuchMethodException: sun.misc.Launcher$AppClassLoader.findLibrary(java.lang.String)
[LWJGL] Failed to locate findLibrary method: java.lang.NoSuchMethodException: java.net.URLClassLoader.findLibrary(java.lang.String)
[LWJGL] Failed to locate findLibrary method: java.lang.NoSuchMethodException: java.security.SecureClassLoader.findLibrary(java.lang.String)
[LWJGL] getPathFromClassLoader: searching for: lwjgl
[LWJGL] Failed to locate findLibrary method: java.lang.NoSuchMethodException: sun.misc.Launcher$AppClassLoader.findLibrary(java.lang.String)
[LWJGL] Failed to locate findLibrary method: java.lang.NoSuchMethodException: java.net.URLClassLoader.findLibrary(java.lang.String)
[LWJGL] Failed to locate findLibrary method: java.lang.NoSuchMethodException: java.security.SecureClassLoader.findLibrary(java.lang.String)
[LWJGL] getPathFromClassLoader: searching for: lwjgl
[LWJGL] Failed to locate findLibrary method: java.lang.NoSuchMethodException: sun.misc.Launcher$AppClassLoader.findLibrary(java.lang.String)
[LWJGL] Failed to locate findLibrary method: java.lang.NoSuchMethodException: java.net.URLClassLoader.findLibrary(java.lang.String)
[LWJGL] Failed to locate findLibrary method: java.lang.NoSuchMethodException: java.security.SecureClassLoader.findLibrary(java.lang.String)
[LWJGL] getPathFromClassLoader: searching for: lwjgl
[LWJGL] Failed to locate findLibrary method: java.lang.NoSuchMethodException: sun.misc.Launcher$AppClassLoader.findLibrary(java.lang.String)
[LWJGL] Failed to locate findLibrary method: java.lang.NoSuchMethodException: java.net.URLClassLoader.findLibrary(java.lang.String)
[LWJGL] Failed to locate findLibrary method: java.lang.NoSuchMethodException: java.security.SecureClassLoader.findLibrary(java.lang.String)
[LWJGL] Found 21 OpenAL paths
[LWJGL] Testing '/tmp/libgdxqys/19780df8/libopenal64.so'
[LWJGL] Found OpenAL at '/tmp/libgdxqys/19780df8/libopenal64.so'
[LWJGL] MemoryUtil Accessor: AccessorUnsafe
Could not locate symbol glXEnumerateVideoDevicesNV
Could not locate symbol glXBindVideoCaptureDeviceNV
[LWJGL] Xrandr extension version 1.6
[LWJGL] Using Xrandr for display mode switching
[LWJGL] XF86VidMode extension version 2.2
[LWJGL] Initial mode: 1920 x 1080 x 24 @60Hz
[LWJGL] Pixel format info: r = 8, g = 8, b = 8, a = 8, depth = 24, stencil = 0, sample buffers = 0, samples = 0
05:11:39.906 INFO ststwitch.TwitchConfig> The 'twitchconfig.txt' already exists, not overwriting it.
05:11:39.907 INFO core.CardCrawlGame> DistributorPlatform=steam
05:11:39.907 INFO core.CardCrawlGame> isModded=false
05:11:39.907 INFO core.CardCrawlGame> isBeta=false
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: java.lang.ExceptionInInitializerError
        at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:133)
Caused by: java.lang.ExceptionInInitializerError
        at com.codedisaster.steamworks.SteamAPI.loadLibraries(SteamAPI.java:20)
        at com.codedisaster.steamworks.SteamAPI.loadLibraries(SteamAPI.java:11)
        at com.megacrit.cardcrawl.integrations.steam.SteamIntegration.<init>(SteamIntegration.java:73)
        at com.megacrit.cardcrawl.integrations.DistributorFactory.getEnabledDistributor(DistributorFactory.java:28)
        at com.megacrit.cardcrawl.core.CardCrawlGame.create(CardCrawlGame.java:224)
        at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:149)
        at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)
Caused by: java.lang.RuntimeException: Unknown host architecture: OpenBSD, amd64
        at com.codedisaster.steamworks.SteamSharedLibraryLoader.<clinit>(SteamSharedLibraryLoader.java:43)
        ... 7 more
[LWJGL] XF86VidMode extension version 2.2
[IndieRunner::finish] Finish

Expected behavior
The game should run, as recorded in the status tracker.
Verbose Output
See above.
dmesg
https://pastebin.com/4UgjaV2Q

do you have steamworks4j to run it? That's what the comment in the Status Tracker indicates will be needed for the Steam version. Also the L in the table means that this was done with the download of the Linux version. If you don't specify -os linux64 or similar with steamctl, you will likely get a mishmash of files for all platforms...
I have previous work to make a steamworks4j port, but that got stalled. I suggest generally to use GOG or itch.io versions if possible because there is usually less risk of them plugging in their own distribution libraries (though GOG sometimes has games that depend on libgalaxy and there isn't even any stub or replacement for it at the moment...)

I don't have steamworks4j installed yet. Do you have any build instruction for OpenBSD? The document says I need to use something called jnigen, but the GitHub wiki link doesn't even work. It also requires me to "run JNICodeGenerator.main() as a plain Java application from inside your favorite IDE." Is it possible to do that on the command line so that I don't need to install an IDE? Regarding steamctl, I tried -os linux64 , but it gives me the same error.
Slay the Spire is indeed available on both Steam and GOG (but not itch.io), but I don't really want to pay twice for the same game. I'll probably get another copy when it's on sale though. It's frustratingly hard to get a truly DRM game...

I know it's been a while. The main barrier to resurrecting my steamworks4j draft is that I (accidentally) deleted the bundle of java/maven dependencies that it needs to build offline.
I moved this summer, now am more or less settled in again, so hope to find a time to pick this up again ...


How to update Python version within Spyder?

I'm not trying to update Spyder version, but rather the Python version inside of Spyder.
I've tried conda update spyder and conda update conda
I'm on the latest version of Spyder however the python version within that is 3.8.10

Hey @NilAtabey, thanks for reporting. It seems you're using our Windows installer, i.e. the program you can download either from our webpage or our releases page.
If that's the case, then I'm sorry to say that it's not possible to update the Python version that comes with the installer due to the way it is built. Could you let us know why do you need that?

I'm sorry, but me needing Python 3.9 is not something I care to discuss.
Thanks for the answer.

Just in case, maybe this entry in the Spyder docs FAQ page could be useful for you: https://docs.spyder-ide.org/current/faq.html#using-packages-installer
Basically, you could create a conda environment with the specific python version, along side with the spyder-kernels and any other package you want to use, and then set that environment interpreter as the custom interpreter for Spyder

@NilAtabey, sorry if my question was not properly framed. The thing is we have very limited resources to work on Spyder, so I wanted to know if this is a critical issue for our users to decide if we need to invest time on it.
Anyhow, as @dalthviz said, you can connect an external Python 3.9 environment to our standalone version and work with it instead.


Build System: Add support for source files in mcal/shared folders

Currently all method definitions must be in class's header file.

This will require the developer to add the required source files to the project-level CMakeLists.txt (like this one). I support the change but want to note this.

No changes to the build system are required. The code file can be added as a source in the project CMake file as follows:
target_sources(main
PRIVATE
	main.cc
	${CMAKE_SOURCE_DIR}/shared/path/to/code.c
)

Note the use of CMAKE_SOURCE_DIR and not CMAKE_CURRENT_SOURCE_DIR. CURRENT refers to the directory containing the CMakeLists.txt file (in this case, firmware/projects/DemoProject), while CMAKE_SOURCE_DIR is the directory of the top-level CMake file, which is firmware, which is desired when locating shared code files.


502 Bad Gateway

Hello,
I ran python download_crowdsource_dataset.py  but got 502 Bad Gateway:
girder_client.HttpError: HTTP error 502: POST https://demo.kitware.com/histomicstk/api/v1/api_key/token?key=n0Kp1ez8YOnOiWNoACryzeBlIzbUDW3iOD2DmPLI
Response text:
<title>502 Bad Gateway</title>

502 Bad Gateway

nginx/1.14.0 (Ubuntu)

Is the data not available now?

Hi,
I have the same issue here. It seems that the histomicstk is not working at the moment. But it's odd  that it has been down at least for three days now. @kheffah  can you please confirm if this is the issue? Thanks,

Dear @player1321 and @mostafajahanifar Thank you for raising this issue. It seems the Kitware server has been down a few times lately. To avoid disruptions, now the dataset can also be downloaded directly at 0.25 MPP, using this direct link.

Dear @player1321 and @mostafajahanifar Thank you for raising this issue. It seems the Kitware server has been down a few times lately. To avoid disruptions, now the dataset can also be downloaded directly at 0.25 MPP, using this direct link.

Wonderful. Thanks for the prompt reply Mohamed.

Sorry @kheffah, I understand you have closed this issue, but can you kindly provide the information on the train/validation/test splits as well.

@mostafajahanifar You are more than welcome. I like to separate training and testing sets by hospital for a better reflection of the external generalization of the model. The train/test split used for the model in our paper is discussed here. Recently, I've switched to internal-external cross-validation, where the hospitals that constitute the testing set are switched around to provide some variance around the accuracy metric -- for example, see how we split the train-test sets for the NuCLS paper here. Note that some hospitals have more slides than others. In my recent projects, I make sure each fold has at least one "big" hospital, having at least 9 slides. Note that the slide name encodes the hospital name, so the slide TCGA-E2-A14X-DX1, for example, comes from the hospital E2.
I hope this answers your question. Let me know if you need any clarifications.

@mostafajahanifar You are more than welcome. I like to separate training and testing sets by hospital for a better reflection of the external generalization of the model. The train/test split used for the model in our paper is discussed here. Recently, I've switched to internal-external cross-validation, where the hospitals that constitute the testing set are switched around to provide some variance around the accuracy metric -- for example, see how we split the train-test sets for the NuCLS paper here. Note that some hospitals have more slides than others. In my recent projects, I make sure each fold has at least one "big" hospital, having at least 9 slides. Note that the slide name encodes the hospital name, so the slide TCGA-E2-A14X-DX1, for example, comes from the hospital E2.
I hope this answers your question. Let me know if you need any clarifications.

Thank you very much @kheffah for your detailed explanations. I cannot agree more with the new internal-external cross-validation scheme that you are taking. However, for this particular purpose I want to compare my model performance with your baseline for which you directed me to the related information. Again, I appreciate your help.

@mostafajahanifar You're more than welcome. Let me know if you need anything else.

@player1321 and @kheffah , just to let you know, I have contacted the Kitware people and they have fixed the problem with the website. So, I guess it's problem free to use the code for dataset extraction now.

@mostafajahanifar Thank you! That was very nice of you.


Make formatters work with @-keywords

My use-case for formatters on @-keywords is that I need to compute the previous/next index in a loop.
In the template I have the following:
{{ for graph in graphs }}

    previous
    next

...

{{ endfor }}

and in the template compiler something like:
    tt.add_formatter("prev", |value, output| {
        let value = match value {
            Value::Number(n) => n.as_i64().unwrap(),
            _ => unreachable!(),
        };
        write!(output, "{}", value - 1)?;
        Ok(())
    });

Another way around this would be to add "next"/"prev" fields to each "graph", but it seems pretty verbose?


Request for Documentation: Deployment Guides for FrankenPHP on Various Platforms

Hello @dunglas ,
I hope this message finds you well. I have been thoroughly enjoying the capabilities and features offered by FrankenPHP for PHP application deployment. It's an incredible tool for enhancing PHP applications, and I appreciate the effort you've put into developing it.
I was wondering if it would be possible to include comprehensive deployment guides in the FrankenPHP documentation. Specifically, I believe it would greatly benefit users like myself if there were step-by-step guides on deploying FrankenPHP-powered applications on popular cloud platforms such as DigitalOcean, AWS, Heroku, and others.
These guides would ideally cover the following aspects:

Setting up a FrankenPHP environment on the chosen cloud platform.
Configuring FrankenPHP to work optimally with the platform's infrastructure.
Best practices for scaling and managing FrankenPHP applications.
Tips for optimizing performance and security in a cloud environment.

I believe that having such guides readily available in the documentation would not only make it easier for existing users to deploy FrankenPHP applications but also attract new users looking for a powerful and efficient way to host their PHP applications on these cloud platforms.
If you could consider adding these deployment guides to the documentation, it would be greatly appreciated and would undoubtedly enhance the overall user experience.
Thank you for your time and consideration. I look forward to seeing FrankenPHP continue to evolve and thrive.

Yes, was gonna ask this. Took me a while on a local ubuntu to figure the following out:
sudo /home/luis/web/frankenphp-linux-x86_64 start config /etc/caddy/Caddyfile
For example in my case I mainly use caddy + php-fpm + mysql. I use other stuff but for this particular case I install caddy via their PPA, php-fpm from the repo, same for mysql. Which means, I do not use symfony, nor docker.
How for example

Can I use frankenphp as a service? (With or without docker, in my case without it)
How to configure the internal Caddy server file (Already solved with the investigation I did) by calling the start and config parameters. But it was not clear.
How to use mercure (without docker, composer, etc..) Like is it internally inside frankenphp or how is it configure). I have no clue how to configure it or even test it at this point.

Other questions about a step by step guide to understand this would be much appreciated. In the mean time I am guessing stuff by reading he mercure documentation. for example, how to update frankenphp when PHP 8.3 comes out.

Yes, was gonna ask this. Took me a while on a local ubuntu to figure the following out:
sudo /home/luis/web/frankenphp-linux-x86_64 start config /etc/caddy/Caddyfile
For example in my case I mainly use caddy + php-fpm + mysql. I use other stuff but for this particular case I install caddy via their PPA, php-fpm from the repo, same for mysql. Which means, I do not use symfony, nor docker.
How for example

Can I use frankenphp as a service? (With or without docker, in my case without it)

How to configure the internal Caddy server file (Already solved with the investigation I did) by calling the start and config parameters. But it was not clear.

How to use mercure (without docker, composer, etc..) Like is it internally inside frankenphp or how is it configure). I have no clue how to configure it or even test it at this point.

Other questions about a step by step guide to understand this would be much appreciated. In the mean time I am guessing stuff by reading he mercure documentation. for example, how to update frankenphp when PHP 8.3 comes out.

You can use it as standalone without docker, did you try or did i understand wrong?

@sneycampos that's the problem. There is no documentation about how to do it. I went from the official page to the github and back. Was not able to find someone step by step to at least have a base to use frankenphp. That is what I am referring to with all the points.

Good idea! Having such guides would definitely serve the project. Pull requests welcome!
Also, providing packages for popular distributions (Debian, Homebrew...) would help a lot.

Hello @dunglas,
Do you know if there's any article or older documentation I could refer to as a starting point for writing the documentation?

@Trusted97 running FrankenPHP is effectively just "running Caddy", so you should probably refer to the Caddy docs to answer your questions. For example: https://caddyserver.com/docs/running

@Trusted97 running FrankenPHP is effectively just "running Caddy", so you should probably refer to the Caddy docs to answer your questions. For example: https://caddyserver.com/docs/running

Hi Francis, awesome new documentation thank you. Would you help me i knowing, where should I got if I want to leave feedback about how to improve the documentation for caddy. I started with caddy a bunch of years ago and went over a lot of documentation iterations. This last one is looking great but in case I would want to help with quality, how may I do that. Thank you for all the work you do as always.

Our docs are at https://github.com/caddyserver/website
That page isn't new, it's existed for over two years https://github.com/caddyserver/website/commit/5f09f05e0825f0835691788699d32698faa55a54

The Caddy website source is at https://github.com/caddyserver/website
That page isn't new, it's existed for over two years caddyserver/website@5f09f05

That is weird because the last times I tried the tutorial it always took me to a different one. The last time meaning about 6 months ago more or less.

It's under "Articles", not "Tutorials", in the sidebar.

Hi to everyone,
I've made this PR for add Digital Ocean Documentation on FrankenPHP


New release with Playwright driver v1.7.1?

There was 2 selector regression bug found in the v0.170.2 (with v1.7.0 drivers), and are fixed in the v1.7.1 drivers.
I can workaround by downgrading it to v0.162.1, but is there any planned release that will use the latest driver?
Thanks,
Frankie

We can ship a new version @xyfoo!

We can ship a new version @xyfoo!

That's great!

That's great!


feat: Viem migration

What it solves
Partially resolves #856
How this PR fixes it
This pull request migrates the relay-kit to viem and removes ethers as dependency.
The 4337 bundler client is now an instance of PublicClient from viem instead of ether's JsonRpcProvider.
The migration of the other packages will follow.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

53 of 56 (94.64%)  changed or added relevant lines in 8 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 77.786%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/relay-kit/src/packs/safe-4337/utils.ts
8
11
72.73%

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
768

Relevant Lines:
918

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

53 of 57 (92.98%)  changed or added relevant lines in 8 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 77.496%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/relay-kit/src/packs/safe-4337/SafeOperation.ts
2
3
66.67%

packages/relay-kit/src/packs/safe-4337/utils.ts
8
11
72.73%

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
780

Relevant Lines:
935

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

53 of 57 (92.98%)  changed or added relevant lines in 8 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 77.496%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/relay-kit/src/packs/safe-4337/SafeOperation.ts
2
3
66.67%

packages/relay-kit/src/packs/safe-4337/utils.ts
8
11
72.73%

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
780

Relevant Lines:
935

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

48 of 52 (92.31%)  changed or added relevant lines in 8 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 77.496%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/relay-kit/src/packs/safe-4337/SafeOperation.ts
1
2
50.0%

packages/relay-kit/src/packs/safe-4337/utils.ts
7
10
70.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
780

Relevant Lines:
935

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

71 of 75 (94.67%)  changed or added relevant lines in 13 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.06%) to 77.479%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/relay-kit/src/packs/safe-4337/SafeOperation.ts
1
2
50.0%

packages/relay-kit/src/packs/safe-4337/utils.ts
7
10
70.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.06%

Covered Lines:
779

Relevant Lines:
934

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

71 of 75 (94.67%)  changed or added relevant lines in 13 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.06%) to 77.479%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/relay-kit/src/packs/safe-4337/SafeOperation.ts
1
2
50.0%

packages/relay-kit/src/packs/safe-4337/utils.ts
7
10
70.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.06%

Covered Lines:
779

Relevant Lines:
934

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

71 of 75 (94.67%)  changed or added relevant lines in 13 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.06%) to 77.479%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/relay-kit/src/packs/safe-4337/SafeOperation.ts
1
2
50.0%

packages/relay-kit/src/packs/safe-4337/utils.ts
7
10
70.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.06%

Covered Lines:
779

Relevant Lines:
934

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

71 of 75 (94.67%)  changed or added relevant lines in 13 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 74.541%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/relay-kit/src/packs/safe-4337/SafeOperation.ts
1
2
50.0%

packages/relay-kit/src/packs/safe-4337/utils.ts
7
10
70.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
791

Relevant Lines:
989

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

71 of 75 (94.67%)  changed or added relevant lines in 13 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 74.541%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/relay-kit/src/packs/safe-4337/SafeOperation.ts
1
2
50.0%

packages/relay-kit/src/packs/safe-4337/utils.ts
7
10
70.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
791

Relevant Lines:
989

💛  - Coveralls

General question, did you retest the playgrounds?


explanation of GFA output

Dear Developer,
I would like to know if there is a meaning behind the "l" or "c" at the end of a contig name.
I see that a conting with "c" is taking long time to finish the nanopolish process.
Thanks in advance
Luigi

Hi,
"c" means the contig is circular. If this is a plasmid or other extrachromosomal element it might have very high depth, which will take nanopolish a long time to process. You may want to downsample the data to ~100-200x.
Jared


Update ReCaptchaProvider.tsx

getRecaptchaScriptSrc cannot accept null value as reCaptchaKey and causes a TypeError

Can you show me what TypeError are you getting, please?

I assume you are using "strict": true mode in your tsconfig?
And TS complains about strict null / undefined conversion checks?
I usually use non-strict ts mode in my projects, since explicit null conversion gives an incredible amount of headaches for almost no benefit. So, I've never seen this TypeError before when working locally.
But I guess we can enable strict mode for this repo, just to be extra safe.
I would need to explicitly add null as an acceptable type for optional interface props.
No need to remove || null; fallback in the ReCaptchaProvider, though.
I'll close this PR, but expect to see a new release with related changes.

Should be fixed in v1.4.0

That's cool


With the new style, it doesn't look good at all when you don't have characters and you create a text event

It should go to the same line as the icon

Or you could have it say "No character" or something like that?

This is no longer the case in 2.0


RenderSection rendering incorrectly inside tag attribute

To reproduce the issue write the RenderSection inside a tag attribute in your Layout in Shared folder:
Exp: <body class="@RenderSection("cls",false)">
Set the section content:
@section cls{login}
The result is rendered as following:
<bodylogin class>

Looks like ASP.NET or WebPages question - can you please file it in appropriate aspnet repo? https://github.com/aspnet