add releasedOn date to new challenges

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[ ] Closes currently open issue (replace XXXX with an issue no): Closes #XXXX

Description

This adds a "releasedOn" date so they will get a "New" tag in the challenge map (though this feature has yet to be implemented in our reactified platform).
I also moved some of our retired backend projects into our "take-home practice projects" section so campers can still build them if they're looking for extra practice.
Finally, I fixed the "isRequired" flag for a couple of the intermediate algorithm challenges that were moved over from advanced algorithm challenges (and were previously un-required)

Seems that's we should update /difficulty!
On Jan 22, 2017 3:14 AM, "Quincy Larson"<EMAIL_ADDRESS>wrote:

Pre-Submission Checklist

Your pull request targets the staging branch of freeCodeCamp.
Branch starts with either fix/, feature/, or translate/ (e.g.
fix/signin-issue)
You have only one commit (if not, squash
http://forum.freecodecamp.com/t/how-to-squash-multiple-commits-into-one-with-git/13231
them into one commit).
All new and existing tests pass the command npm test. Use git commit
--amend to amend any fixes.

Type of Change

Small bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds new functionality)
Breaking change (fix or feature that would change existing
functionality)
Add new translation (feature adding new translations)

Checklist:

Tested changes locally.
Closes currently open issue (replace XXXX with an issue no): Closes
#XXXX

Description
This adds a "releasedOn" date so they will get a "New" tag in the
challenge map (though this feature has yet to be implemented in our
reactified platform).
I also moved some of our retired backend projects into our "take-home
practice projects" section so campers can still build them if they're
looking for extra practice.
Finally, I fixed the "isRequired" flag for a couple of the intermediate
algorithm challenges that were moved over from advanced algorithm
challenges (and were previously un-required)
You can view, comment on, or merge this pull request online at:
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720
Commit Summary

add releasedOn date to new challenges

File Changes

M seed/challenges/01-responsive-web-design/applied-
accessibility.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-0
(26)
M seed/challenges/01-responsive-web-design/applied-visual-
design.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-1
(60)
M seed/challenges/01-responsive-web-design/basic-css.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-2
(2)
M seed/challenges/01-responsive-web-design/basic-html-and-
html5.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-3
(4)
M seed/challenges/01-responsive-web-design/css-flexbox.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-4
(959)
M seed/challenges/01-responsive-web-design/responsive-web-
design-projects.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-5
(14)
M seed/challenges/01-responsive-web-design/responsive-web-
design.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-6
(8)
M seed/challenges/02-javascript-algorithms-and-data-
structures/basic-data-structures.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-7
(21)
M seed/challenges/02-javascript-algorithms-and-data-
structures/basic-javascript.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-8
(4)
M seed/challenges/02-javascript-algorithms-and-data-
structures/debugging.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-9
(50)
M seed/challenges/02-javascript-algorithms-and-data-
structures/es6.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-10
(31)
M seed/challenges/02-javascript-algorithms-and-data-
structures/functional-programming.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-11
(102)
M seed/challenges/02-javascript-algorithms-and-data-
structures/object-oriented-programming.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-12
(30)
M seed/challenges/02-javascript-algorithms-and-data-
structures/regular-expressions.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-13
(86)
M seed/challenges/03-front-end-libraries/front-end-libraries-
projects.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-14
(2)
M seed/challenges/03-front-end-libraries/react-and-redux.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-15
(4)
M seed/challenges/03-front-end-libraries/react.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-16
(4)
M seed/challenges/03-front-end-libraries/redux.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-17
(4)
M seed/challenges/03-front-end-libraries/sass.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-18
(13)
M seed/challenges/04-data-visualization/data-
visualization-projects.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-19
(4)
M seed/challenges/04-data-visualization/data-
visualization-with-d3.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-20
(33)
M seed/challenges/04-data-visualization/json-apis-and-ajax.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-21
(17)
M seed/challenges/05-apis-and-microservices/api-and-
microservice-projects.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-22
(23)
M seed/challenges/05-apis-and-microservices/basic-node-and-
express.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-23
(118)
M seed/challenges/05-apis-and-microservices/managing-
packages-with-npm.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-24
(56)
M seed/challenges/05-apis-and-microservices/mongodb-and-
mongoose.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-25
(54)
M seed/challenges/06-information-security-and-
quality-assurance/advanced-express-tools.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-26
(33)
M seed/challenges/06-information-security-and-
quality-assurance/information-security-with-helmetjs.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-27
(16)
M seed/challenges/06-information-security-and-
quality-assurance/quality-assurance-and-information-
security-projects.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-28
(10)
M seed/challenges/06-information-security-and-
quality-assurance/quality-assurance-and-testing-with-chai.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-29
(33)
M seed/challenges/08-coding-interview-questions-and-take-
home-assignments/coding-interview-data-structure-questions.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-30
(60)
M seed/challenges/08-coding-interview-questions-and-take-
home-assignments/take-home-interview-projects.json
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720/files#diff-31
(185)

Patch Links:

https://github.com/freeCodeCamp/freeCodeCamp/pull/12720.patch
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/freeCodeCamp/freeCodeCamp/pull/12720, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AVHZedr_4SFMUOW8Wpj2bDDwrphmLIvdks5rUx3lgaJpZM4LqU8i
.

@QuincyLarson

Merge conflicts 😢
The last commit seems to be doing something completely different from the rest of this PR. I think it would probably be easier to QA if they were separate PRs (that may have even been your intention).

@systimotic I think this is ready. Please squash these commits when you merge this.

@no-stack-dub-sack OK - this should be good to merge. Please take another look when time permits :)

@no-stack-dub-sack Ok - I've made the fix you recommended, then rebased staging in and addressed the conflicts. Please double check, then squash and merge.

@QuincyLarson This PR shows 154 commits for me, and still has merge conflicts. Is that intended?

@systimotic yes - this branch has become quite ugly. I'm going branch of staging and re-apply the changes manually real quick, then put in a fresh PR.


Fix typo "lnk" in category teaser link block-comment

Description

Questions
Answers

Why?
Fixes a typo.

BC breaks?
no

Tests exists & pass?
not tested

Related tickets?
none

How to test?
-

Requirements met?
yes

Thanks @vintagesucks, but we do not merge typo's in comments anymore since the overhead of merging this change is currently too high for its benefit.
For more information about our contribution guidelines, see https://developers.shopware.com/contributing/contribution-guideline/.


Possible BC break for zend-inputfilter > V2.5.1

I think I've found an issue with zend-inputfilter which has prevented me from being able to upgrade successfully (first time it broke in production, second time I added some tests on validators which broke when moving to any version greater than V2.5.1.
I believe the issue was introduced with 3575ece7f53f58cab8086ffc5a88afc0ee4ddc76 -
I've got a few Apigility APIs which have fields that are set to required, allow_empty and continue_if_empty. The intent is that depending on the value of other fields in the API, these fields may or may not be actually required.
As a simplified example, of what used to work, suppose I have an "account_type" field which can be either "state" or "county". If the value is "county", then a "county" field must be provided with a non-empty value. If the value is "state" then the county field must be blank or not provided.
After upgrading to V2.5.2 (or V2.5.5) instead of a successful validation, I get the error message from the NotEmpty validator indicating that the value is required and cannot be empty.
Ideally, I'd like my work as it did after upgrading. Essentially if the account_type is state then I should not need to send in the county field at all. If there's a set of config changes I can make that will allow this to work, please let me know.
Ping @weierophinney and @Maks3w at Matthew's request.

We are deprecating continue_if_empty and allow_empty options.
As alternative do the following
$input = new Input();
$input->setAllowEmpty(true);         // Disable BC Break logic related to treat `null` values as valid empty value instead *not set*.
$input->setContinueIfEmpty(true);    // Disable BC Break logic related to treat `null` values as valid empty value instead *not set*.
$input->getValidatorChain()->attach(
    new Zend\Validator\NotEmpty(),
    true                             // break chain on failure

);

or
$inputSpecification = [
  'allow_empty'       => true,
  'continue_if_empty' => true,
  'validators' => [
    [
      'break_chain_on_failure' => true,
      'name'                   => 'Zend\\Validator\\NotEmpty',
    ],
  ],
];

If not please provide a Gist with the minimum code necessary for reproduce the issue

@Maks3w The tests in this gist all pass for V2.5.1. The first data set fails on V2.5.2, V2.5.3, V2.5.4 and V2.5.5. The "CountyValidator" isn't strictly needed to see a difference, but some of the other tests will fail without it.
https://gist.github.com/dstockto/a9e241dcf7d90f59fbaf
The messages from the failure are all:
['result' => [ 'county' => [ 'isEmpty' => "Value is required and ca't be empty"]]]

The suggestion to add the NotEmpty validator with 'break_chain_on_failure' doesn't appear to work anyway as I need the validators to continue to run.

I confirm the test works on 2.3.9 and 2.5.1

I'm not sure if this should be fixed or not.
We have basically two scenarios which could be reduced to just invoke the validator chain always:

If the input is required call the ValidatorChain even if data was not present.
If the input is not required call the ValidatorChain even if data was not present.

For to be honest I don't find any scenario because an Input should be validated with unknown data, not matter if required or not.
Also your CountyValidator basically validate the input itself is required.
So the problem can be rewording about how to conditional require an input.
For me the expected way of require a field is modifying the required flag instead of hacking with validationchain.
I opt for do something like this in my Apigility API https://gist.github.com/Maks3w/119477c754e5d4a8377e
I will forward this to @weierophinney so he decide if we should restore previous behavior.

I understand the sentiment that it's a bug and should be fixed, but at the same time, it is a behavior change and a backward compatibility break at that. If semver is important then it should be fixed back to previous behavior.
I appreciate the workaround, but at the same time, this is a pattern that occurs in a number of places in my application currently and putting validation the resource is definitely not ideal. It means that you could fail on a number of validators initially, then pass those and now receive additional new errors that were not even mentioned previously. It's not a great situation from a usability standpoint for sure.
I am hoping that you, @Maks3w or @weierophinney would consider this a breaking change and reconsider fixing.
Thank you.

I think at this point, providing a fix to restore previous behavior will make this component too difficult to maintain; the test matrix currently is ridiculous, and adding one more flag to restore the behavior essentially doubles the number of data sets we need to test, introducing further brittleness to the suite — which is what the changes in the 2.5 series were trying to address.
We're working on a new validation suite of components, which began with zend-datavalidator. I'm thinking those will be the correct place to address the usability and consistency issues going forward.


Add support for multiple locations in an isochrone search

I've built a tool called "Zoning Assessment" that measures the geographic area of the different zoning districts, and symbolizes by their classification (R-Residential, B-Business, etc.) within a 10 minute walk shed of Chicago Transit Authority stations.
Currently, the Isochrone API can only handle a single location.
However, Chicago has a transit-oriented development law that changes the zoning rules for properties within a certain distance of a CTA station entrance.
I would like to provide the isochrone service all three station entrances for the Wilson station.
Without knowing that the isochrone API accepted only 1 location I tried this API call:
https://matrix.mapzen.com/isochrone?api_key=search-zN8_XgQ&json=%7B%22locations%22%3A%5B%0A%7B%22lon%22%3A-87.6580399%2C+%22lat%22%3A41.9655093%7D%2C%0A%7B%22lon%22%3A-87.657989%2C%22lat%22%3A41.965262%7D%2C%0A%7B%22lon%22%3A-87.6574901%2C%22lat%22%3A41.9635788%7D%0A%5D%2C+%22costing%22%3A%22pedestrian%22%2C%22contours%22%3A+%5B%7B%22time%22%3A10%2C%22color%22%3A%22ff0000%22%7D%5D%2C+%22polygons%22%3A+true%7D

The JSON payload looks like this:
{
  "locations": [
    {
      "lon": -87.6580399,
      "lat": 41.9655093
    },
    {
      "lon": -87.657989,
      "lat": 41.965262
    },
    {
      "lon": -87.6574901,
      "lat": 41.9635788
    }
  ],
  "costing": "pedestrian",
  "contours": [
    {
      "time": 10,
      "color": "ff0000"
    }
  ],
  "polygons": true
}

The error message I got:
{
  "error_code": 150,
  "error": "Exceeded max locations:1",
  "status_code": 400,
  "status": "Bad Request"
}

Hey @stevevance -- there was some work done to support multiple points in an isochrone, though it is not yet exposed in the Mapzen-hosted API.
https://github.com/valhalla/valhalla/issues/452


Added Crystal AI

Can you please read the CONTRIBUTING.md file in the base of the repo and modify your PR. Specifically the section about PR titles and descriptions. It's be great to hear why you think this project is great and better than any of the alternatives out there.
Thanks

Well, to my knowledge, there isn't any other utility AI available in C# that is compatible with unity and that is also open source. Is there anything in particular in the description I've added that you have an objection to?
P.S. I did read the CONTRIBUTING.md, maybe I missed something?

Well the description you added to the readme is fine. I'm just moreso looking for a more detailed description in the PR description section itself, that's what I'm referring to.
Maybe a quick overview of features or unique aspects of your project. Stuff like that. Haven't had time to check out your link yet, which is why I like to just get a quick overview in the PR description. Though you look to have a Github page that I might be able to get all the info I need from.

Oh, I see! Here's a short description of Crystal:
`Crystal AI is an artificial intelligence framework based on state-of-the-art research in utility theory and decision making. Crystal enables developers express their ideas about how the AI should behave naturally thus reducing the complexity involved in creating believable AI behaviours.
Features

Fast
Zero Dependencies
Can Debug AI Outside the Unity Editor
Expandable
Low Memory Usage
Intuitive Design
Comprehensive Test Suite 3000+ Unit Tests
Written in C#
AI Execution Scheduler for complete control over the AI execution cycle and ms used.
Execution Time Limiter
Easily Extensible
Open Source
`


Update appBuilderUtil.ts

idk if this will work as ive just done this in the github IDE
fixes #232

Closing. This should be resolved here: https://github.com/mandarineorg/mandarinets/pull/237


Xamarin Forms Android and IOS video not playing in .Net Standard

Xamarin Forms Android and IOS video not playing in .Net Standard  but in UWP its played, i tried with emulator and device both are showing black screen
PLease help me to resolve this.. in UWP it was working perfectly without any issue...
Thanks in advance.

The only time I got that issue was when I did not initialized the MediaManager in the MainActivity in android.


Add prefix utilization to API

As ...
Austin - Network Automation Engineer
I want ...
Hi, it would be really useful to be able to obtain prefix utilization information also via API.
(currently the utilization is available only via Nautobot GUI)
So that ...

So that any script or automation (in general) can use this information where to allocate more prefixes within its logic.
Use this information in reports about IP usage

I know this is done when...

I send a request to some (prefix) API endpoint and receive information about its utilization.

Optional - Feature groups this request pertains to.

[ ] Automation
[ ] Circuits
[ ] DCIM
[X] IPAM
[ ] Misc (including Data Sources)
[ ] Organization
[ ] Plugins (and other Extensibility)
[ ] Security (Secrets, etc)
[ ] Image Management
[ ] UI/UX
[ ] Documentation
[ ] Other (not directly a platform feature)

Database Changes

None ?

External Dependencies

None ?

May be good to have this as an opt-in field on the existing Prefix API views


MLCube image downloads at get time

This PR retrieves the mlcube image when executing Cube.get() if the image is stored in some container hub. Previously, the image would be downloaded at run-time, which could cause issues when using execution timeout, since the execution time would have to also consider download time. Closes #192

@hasan7n good catch! I must have thought of placing it somewhere else and forgot to add it again. I fixed the bug and I als ocreated a test to ensure it doesn't go undetected next time. Please give it another look


lib/mkFlake: Document _file infinite recursion

Split out from #137. Please read the individual commit messages.

You mean https://github.com/NixOS/nix/pull/7796/commits/5d834c40d0a1e397cc650f88b1544ee2e5912400

both outPath and sourceInfo would have to be inputs

I don't think we need sourceInfo, but perhaps its metadata would be nice to use. We should be careful with metadata though, because differentiating by origin can be a double edged sword. We have to make sure that inputs are interchangeable: a fork should work just as well as the original. (Not saying this is an immediate problem; just raising awareness of the requirement)

would have to be inputs to outputs that don't force self in order to consistently provide proper error messages when evaluation of self errors?

Sounds about right. I think outPath would be a very unfortunate name for such a parameter.
A similar effect could be achieved by asking the caller to say something like mkFlake { here = ./.; ... }.
Not sure if we should act on the "here" idea now. For most users it's probably better to get a change into Nix so we can improve this structurally without bothering them with an extra parameter.

I don't think we need sourceInfo, but perhaps its metadata would be nice to use. We should be careful with metadata though, because differentiating by origin can be a double edged sword. We have to make sure that inputs are interchangeable: a fork should work just as well as the original. (Not saying this is an immediate problem; just raising awareness of the requirement)

Alright. Balancing this is hard when debug information is sourced the same as normal information.

Not sure if we should act on the "here" idea now. For most users it's probably better to get a change into Nix so we can improve this structurally without bothering them with an extra parameter.

I agree on this. A manual parameter that they have to set to ./flake.nix is definitely not what this should be long-term.


Fixed broken links - 2023.05 (Part 2)

How to categorize this PR?

/area documentation
/kind enhancement
What this PR does / why we need it:
This PR fixes additional broken links in the documentation.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

NONE

/lgtm
/approve


'Hit F5' is not enough as guide suggests

The initial guide suggests that debugging MIEngine could be started automatically as soon as F5 is hit, when solution is opened. That's not correct for me and should be updated. Or am I doing something wrong?
I noticed that MIEngine actually shares the same GUIDs as VS build-in MDD debug-engine used for Android development (which RTM version doesn't work for me neither; can't start debugging on my 2 non-VM machines, failing with 'Reference not set to an instance of object' exception). That's why MIEngine is never loaded, then no breakpoints are working etc.
Very first step is actually following redistribution instructions to customize the GUIDs. Then it works as expected.

Are you running in the experimental instance? You can verify that by confirming that:

The startup project is MIDebugPackage
If you go to debug properties for that project, you see that --

The 'Start Action' is 'Start External Program' and that the external program is the path to devenv.exe
The command line arguments are '/rootsuffix Exp'

If you

Yes, the MIEngine is the engine used for Android development.

Hi Gregg,
Yes, I am pretty sure I am running experimental instance and solution setup seems to be fine.
Honestly, after a manual clean it started to behave (sometimes) as expected and I can debug MIEngine invoked from my plugin (sometimes). So I don't want to waste too much of your time.
I mean sometimes as for example - after 'F5' everything always builds fine, but few times I got this error, while starting debugging:

Also something not related to initial problem is - by clicking 'Rebuild Solution' all fails unexpectedly doing some IL magic in JDbg. I didn't investigate it further.

Or while opening the VSIX manifest file I got errors:

If I look at regular VS instance, Android project builds fine:

But debugging fails unexpectedly (all under official MIEngine distributed with VS, NOT experimental build):

I already reinstalled the cross-platform SDK twice and the error seems to be persistent.


Upgrade to 4.0.0-alpha-7 and exclude dependency to sisu (fixes #17)

Thx. In the long term we can think about making this lighter dependency


fix: add version to download-extension targetDirName

Types

[x] 🐛 Bug Fixes

Background or solution

🤖 Generated by Copilot at fbdcf24

Append extension version to downloaded zip file name to avoid conflicts (link)

fix: #2875
Changelog

🤖 Generated by Copilot at fbdcf24
Improved naming of downloaded extension zip files in scripts/download.js. The zip file name now includes the extension version to distinguish different versions.

ide-startup 项目的下载脚本也可以改一下 https://github.com/opensumi/ide-startup/blob/main/scripts/download.js#L83


Display error Date when set labels for xaxis

Description

Steps to Reproduce

Config chart type as 'line'. and xaxis type is 'datetime'
Config max as<PHONE_NUMBER>463, min as<PHONE_NUMBER>463, tickAmount as 10.
Config labels as

labels: {
      datetimeUTC: false,
      formatter: undefined,
      datetimeFormatter: {
        year: 'yyyy',
        month: 'MMM yyyy',
        day: 'dd MMM',
        hour: 'HH:mm'
      }
    }

Reproduce Env

OS version: Edition Windows 10 Enterprise LTSC
Chrome version: 129.0.6668.70 (Official Build) (64-bit)
Chrome version:  87.0.4280.141 (Official Build) (64-bit)

I can reproduce both of above chrome version .
Expected Behavior
Display correct Date 4 May at the left of xaxis label .
Actual Behavior
Display incorrect Date 24 May the the left of xaxis label.
Screenshots

Reproduction Link
https://codepen.io/cuobiezi/pen/MWNpqJr

your reproduction link does not reproduce the issue. Nothing is being rendered on the chart as it seems the data is not correct. Please verify the reproduction code.

your reproduction link does not reproduce the issue. Nothing is being rendered on the chart as it seems the data is not correct. Please verify the reproduction code.

Updated data.
Actually, My issue didn't relate to data , It is xaxis label display incorrect.  Config Max Time<PHONE_NUMBER>463 is 5 May  ,Min time<PHONE_NUMBER>463 is 4 May. But the xaxis label display start form 24 May, not in the correct range 4 May - 5 May

I am not seeing the issue you are describing. Can you provide a screenshot of what you are seeing?

Updated in the description, Thanks.

@cuobiezi What browser are you using? I am unable to see what's in the screenshot.

@cuobiezi What browser are you using? I am unable to see what's in the screenshot.
@junedchhipa Updated reproduce env in the Description , Thanks.

@cuobiezi What browser are you using? I am unable to see what's in the screenshot.

@junedchhipa Updated reproduce env in the Description , Thanks.

This is what the code pen shows me on Windows and Chrome version 129.0.6668.101

This is what the code pen shows me on Windows and Chrome version 129.0.6668.101

Your screen xaxis start from 4 May morning.  The reproduce case xaixs min config field<PHONE_NUMBER>463 the xaixs should be from ** 4 May ** start evening.

This is what the code pen shows me on Windows and Chrome version 129.0.6668.101

Oh , I got it , we are difference time zone, LOL. The reproduce key step is set the xaixs start time close to next day .

@cuobiezi What browser are you using? I am unable to see what's in the screenshot.

that because time zone issue, Please refer step 3 in description

This is what the code pen shows me on Windows and Chrome version 129.0.6668.101

Oh , I got it , we are difference time zone, LOL. The reproduce key step is set the xaixs start time close to next day . like (Sat May 04 2024 23:55:01)

I have a similiar issue.

The label '12-31 Tue` should be '11-30 Sun'. You may reproduce this with this dataset:
[
    { "x": "2024-11-30T23:50:00.000Z", "y": 0 },
    { "x": "2024-12-01T00:00:00.000Z", "y": 10 },
    { "x": "2024-12-02T00:00:00.000Z", "y": 20 },
    { "x": "2024-12-02T00:30:00.000Z", "y": 0 }
]

If the first entry is more far away from 12-01 00:00:00, the date label is correct.

@Leon0824  fixed in 4.1.0.
@junedchhipa  @brianlagunas @franklx  But when I upgrade to 4.1.0 will get an error https://github.com/apexcharts/apexcharts.js/discussions/4848, Would you help to check ?


redo stack is empty

Description
A description of what the bug is.
makes the program not work
To Reproduce
Steps to reproduce the issue.
have a few 100 edits in the history menu and start pressing ctrl+z
Additional Info
If applicable, add a screenshot or attach an example file that demonstrates the issue.
Version
Please include your operating system (e.g. Ubuntu 22.04) and which version of Pinta (e.g. 2.1) you are using.
Utgåva	Windows 11 Pro
Version	23H2
Installerad	2023-03-02
OS-version	22631.2338
Gränssnitt	Windows Feature Experience Pack 1000.22674.1000.0
pinta 2.1.1

Thanks for the report!
Would you be able to attach the full log from when the error happens? When the error dialog appears this text should be in the contents of the Details tab when expanded

No i can not because i don't have it but next time i encounter the same bug i will do

System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Object has already been disposed'.
at Cairo.Surface.CheckDisposed()
at Cairo.ImageSurface.get_Width()
at Pinta.Gui.Widgets.CellRendererSurface.RenderCell(Context g, Int32 width, Int32 height) in D:\a\Pinta\Pinta\Pinta.Gui.Widgets\Widgets\Layers\CellRendererSurface.cs:line 114
at Pinta.Gui.Widgets.CellRendererSurface.OnRender(Context g, Widget widget, Rectangle background_area, Rectangle cell_area, CellRendererState flags) in D:\a\Pinta\Pinta\Pinta.Gui.Widgets\Widgets\Layers\CellRendererSurface.cs:line 69
at Gtk.CellRenderer.Render_cb(IntPtr inst, IntPtr cr, IntPtr widget, IntPtr background_area, IntPtr cell_area, Int32 flags)

That sounds like a separate issue from the original error you were describing?

nah it happend the same way

Från: Cameron White @.>
Skickat: den 6 oktober 2023 07:18
Till: PintaProject/Pinta @.>
Kopia: temginson @.>; Author @.>
Ämne: Re: [PintaProject/Pinta] redo stack is empty (Issue #536)
That sounds like a separate issue from the original error you were describing?
—
Reply to this email directly, view it on GitHubhttps://github.com/PintaProject/Pinta/issues/536#issuecomment-1749998098, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7RWI6KYFPRN5B2IGIHP3HLX56IB5AVCNFSM6AAAAAA5PDDH2GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBZHE4TQMBZHA.
You are receiving this because you authored the thread.Message ID: @.***>


[NEW EXAMPLE] Security Monkey - Watchers

General

Project name: Security Monkey
Example name: Watchers
Project home page: https://github.com/Netflix/security_monkey
Programming language(s): Python

Description
"Security Monkey monitors AWS, GCP, OpenStack, and GitHub orgs for assets and their changes over time. "
"Watcher — The component that monitors a given AWS account and technology (e.g. S3, IAM, EC2). The Watcher detects and records changes to configurations. So, if a new IAM user is created or if an S3 bucket policy changes, the Watcher will detect this and store the change in Security Monkey’s database."
Links

https://github.com/Netflix/security_monkey/blob/c28592ffd518fa399527d26262683fc860c30eef/security_monkey/watcher.py
https://github.com/Netflix/security_monkey/tree/develop/security_monkey/watchers
https://github.com/Netflix/security_monkey/tree/c28592ffd518fa399527d26262683fc860c30eef/security_monkey/tests/watchers

What makes it interesting

Popular product.
Overall very reusable approach.

Related work

https://netflixtechblog.com/announcing-security-monkey-aws-security-configuration-monitoring-and-analysis-1f2bfb001708

Other
Security Monkey is not being actively developed and is (?) effectively deprecated. But the code is still interesting.

After spending quite a lot of time reading this code, unfortunately I'm not sure I'm ready to call this good code worth featuring.


React in Ionic

It's hard to tell based on the documentation and examples whether this should be usable with React within Ionic. I've been attempting to tackle the problem of wrapping our React app in Ionic, and we use Okta (both okta-auth-js and okta-react) for authentication. With capacitor using capacitor:// for requests within ios I haven't been able to make any progress due to Okta CORS configuration.
@mraible  I noticed your issue here https://github.com/wi3land/ionic-appauth-capacitor-demo/issues/2 and had hoped there would be some way to pass an http client to the Okta React SDK (and okta-auth-js for that matter) but again, I haven't had much luck.

Hello @DarrenAllen! This integration only supports Angular at this time. I updated the instructions this morning to indicate that.
For Capacitor, I had to use a Cordova plugin to make the HTTP request b/c the Capacitor HTTP module sends ionic:// as a schema, and Okta only allows http:// and https://.
The Ionic team is working on a fix for this. Follow https://github.com/ionic-team/capacitor/pull/2495 for more information.

Thanks so much for the information @mraible !

Related: I haven't been able to get any of our JS SDKs to work with Ionic. The last time I tried was with our Auth JS SDK in 2017. From that post:

If you use the Network tab, you can see that only one network request is made (to /authn), which is different than the two requests (to /authn and /authorize) that are made when running in a browser.

I believe this doesn’t work when the app is packaged with Cordova because it’s making a request to the server with an embedded iframe that then posts back to the current window using postMessage. It seems that Ionic/Cordova doesn’t support this flow (yet). To work around this issue, you can talk directly to Okta’s OAuth service using an in-app browser that’s provided by Cordova.

Since this post, I now use Ionic AppAuth instead of the in-app browser.


OS X: title-bar-style: hidden-inset does not work in fullscreen mode

OS X 10.11.1 (also happens in 10.11.0), Electron 0.34.0
Steps to reproduce:

Create a new browser window with "title-bar-style": "hidden-inset".
Enter fullscreen mode.

The titlebar is not hidden in fullscreen mode, meaning there is a blank bar on the top of the screen:

This should have the same behavior as ``"title-bar-style": "hidden"``` - The title bar is hidden, and mousing over the top of the window reveals a small title bar with window controls.

This is a duplicate of #2810.


Remove the dependency to LOV for every validation

LOV is not very stable any more and results in failed RDFUnit executions.
instead generate and store the vocabulary metadata offline and save them as a Java resource which will be updated before each release

This is quite a strong statement. LOV had difficulties over the last few weeks due to attacks on OKFN servers and lack of response from the OKFN team. The LOV team aims definitively to be responsive and reliable. I suggest you discuss this issue with @pyvandenbussche

LOV is a great service and I plan to continue depending on it.
What happens now is that RDFUnit calls LOV at the start of every evaluation and if it fails we cannot do any prefix dereferencing or auto schema discovery.
This task is about to cache the vocabularies locally for faster access and give the option to additionally call LOV for up-to-date data. So calling the online service would be optional.
I changed the issue title to make the statement less strong :)

BTW, @pyvandenbussche I again had to put the internal LOV URI to get results from the endpoint https://github.com/AKSW/RDFUnit/commit/6d0a0be2c055c2ccca08328f3a43eb0e0fa5f0c3 :
http://s110.okserver.org:3030/lov/sparql

Hi Dimitris,
that sounds like a very sounded approach. Having a cache in case LOV is not available and in case id is, run the query live.
I will look at the URI again. You can as well now consider using the LOV Linked Data Fragment https://plus.google.com/+PierreYvesVandenbussche/posts/Bb3dRqCp3hi
Cheers.

FYI, I already had caching on the client with 1 week expiration and this
issue is about putting the cache directly in the repo

Since LOV has been down lately the adress of the sparql endpoint is changed, also an additional graph specification is needed in the query. The following changes must be made to fix this:
https://github.com/AKSW/RDFUnit/blob/master/rdfunit-core/src/main/java/org/aksw/rdfunit/Utils/RDFUnitUtils.java#L105 >>
Source lov = new EndpointTestSource("lov", "http://lov.okfn.org", "http://lov.okfn.org/dataset/lov/sparql", Arrays.asList("http://lov.okfn.org/dataset/lov"), null);
https://github.com/AKSW/RDFUnit/blob/master/rdfunit-core/src/main/java/org/aksw/rdfunit/Utils/RDFUnitUtils.java#L129 >>
"WHERE{ GRAPH http://lov.okfn.org/dataset/lov{ \n" +
https://github.com/AKSW/RDFUnit/blob/master/rdfunit-core/src/main/java/org/aksw/rdfunit/Utils/RDFUnitUtils.java#L134 >>
"}} \n" +

Hi Dimitris,
I've cleaned the way to access LOV sparql endpoint. I blocked the internal URL and now the only URL for LOV endpoint is: http://lov.okfn.org/dataset/lov/sparql
This URL will not change in the future.

Hi @pyvandenbussche
I changed the new URL and I get the following error
java.lang.RuntimeException: com.hp.hpl.jena.query.QueryException: Endpoint returned Content-Type: text/html which is not currently supported for SELECT queries

also make sure you allow the additional url parameters default-graph-uri & named-graph-uri to be passed to the internal endpoint

IIRC we had the same problem before and you told be it was a jena v2.11 vs v2.12+ issue

I try to find back our discussion on that topic to see what was the solution :)

@jimkont The LOV SPARQL Endpoint seems to be unattainable.

Now everything is working using the permanent URL: http://lov.okfn.org/dataset/lov/sparql
Thanks @jimkont for your help.


Add docker container for running preview locally

Hi! Currently, it is not very convenient to run jekyll on a personal machine since it would require us to install ruby and related tooling. So I added a docker configuration for those who prefer containerized preview of the docs.
Thanks!

Hi @chernodub
Thanks a lot for this. I'm currently using github codespaces for this. See the https://github.com/prebid/prebid.github.io/blob/master/guide.md on how it's done.
This is the most convenient way to start this project. Maintaining this docker image may pose challening in the future.

I wonder how I missed this. Handling it via codespaces looks way more convenient, exactly what I needed. I'm closing the PR then, thanks a lot @muuki88!

Awesome 😍 maybe we should put this more prominent in the README as well.
If you have a suggestion, feel free to open a PR ☺


Invalid left handed error

TypeScript Version:  first seen on 3..8.3 to typescript@next

Search Terms:
Code
methodRoot(mode: number): void{
    delete this._lastError; // Works when this line is commented

    mode === 1 ? this.runStuff1() : this.runStuff2();

    if (this._lastError instanceof MyClassError) {
        throw this._lastError;
    }
}

Expected behavior:
Valid sentence
Actual behavior:
Error on this._lastError inside the if instruction: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.
Playground Link: https://www.typescriptlang.org/play/index.html#code/FAYwNghgzlAECyBPAwpGBRATpg9p2ApgB4AuBAdgCZxa74DewwAvk+NHEqh7I7P7AAOmAJYA3CGVgB9NCVp4A-AC5YCzAG4mA2AFsCJABY5KAJRw4SACl0mCq8gFddAIwKYAlKrE4RlPjoClARgBgSwRiJQAHSy0PLYeBqwAPQpsADqeADWcADuhhQRhlGwYCLk4aUgOLr65GSU2oH8tsGwALxdsACMsIrFUdGYjuQAyiSOAGZTPVYesKqRMSPjkzMATPNawC38IlOwVsuxcuqwFVAkEOQgBDiHXGhQ6gsBewJGuHmDMXFX6i0H1YOlYuwEqwm01m828vn84JaJEwiF4iI+qXSUJmsAggkEFCawPROhAkhAhiO7k8aIxnxKfzOiXwHUI2CBexBAjBOkh6ymWy8sB8fnegWRqLFHzSsGxhzxBKoJO5yv4ZJIFKp2DeqvFDNO8XOrOpHJaXP4rGYQA

See #9998

How its dupplicate?!
Why even that does not work:
if (this._lastError && this._lastError instanceof MyClassError)
this._lastError can't be undefined... I valid it. And the instanceof does the same.
The link doesn't help and have no meaning on the matter.

How its dupplicate?!

The linked bug concerns the question: Should TypeScript assume that functions have side effects over any possibly-affected property? Both answers result in unpleasant outcomes in certain situations.

And whatever the result, valid and safe JS have to work with typescript or this is not a superset.

See https://stackoverflow.com/questions/41750390/what-does-all-legal-javascript-is-legal-typescript-mean . I'd encourage you to use JavaScript instead of TypeScript if you don't want type errors.

The question is ask in favor of Typescript...
Should Typescript for infering and override any proper validation... Why Typescript infer "never" when this is a "Variable" and by definition vary.
Even in languages like C# this does not exists !! Why changing the type of my class member... This make no cense!!
I can understand changing the type of a scoped variable.... but when typescript can't ensure its changes, why does it assume the life of a member as stop and the state will never change.
Dont try to make cense of this case.

And whatever your answer, why this work when I do that in an other method... Maybe you can be consistant and fix that.

I'd encourage you to use JavaScript instead of TypeScript if you don't want type errors.
This is the kind inappropriate comment that make people avoid reporting issues... This is my case from now.

I'm a Typescript veteran that have multiple repositories of thousand LOC in a big tech compagny and I follow every new feature of the language.
Your linked article is off topic in case of class member and you didn't even consider a second my request.


Discover OAuth endpoints on console startup

/assign @deads2k
cc @simo5 @jwforres

/retest

/lgtm

/retest

/lgtm

Hm.

During a build, a go file on disk could not be found: vendor/k8s.io/apimachinery/pkg/runtime/schema/generated.pb.go. It appears that files disappear from disk during a run - possibly due to some other component deleting them, or a temporary directory being cleaned up while a Go build is running.

/retest

Opened #36 for polling config.


zio-json support

Are there any plans of adding zio-json support? If so, I would like to work on a PR to add it.

Contributions would be welcome!


[automated] Re-Apply Coding Standards

Automated changes by create-pull-request GitHub action

Codecov Report
Base: 92.85% // Head: 92.85% // No change to project coverage :thumbsup:

Coverage data is based on head (4b85f87) compared to base (407d1fb).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #172   +/-   ##
=========================================
  Coverage     92.85%   92.85%
  Complexity      542      542
=========================================
  Files           120      120
  Lines          2212     2212
=========================================
  Hits           2054     2054
  Misses          158      158

Flag
Coverage Δ

phpunit
92.85% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/graphql-scalars/src/Character.php
100.00% <ø> (ø)

src/graphql-scalars/src/Float8.php
100.00% <ø> (ø)

src/graphql-scalars/src/Numeric.php
100.00% <ø> (ø)

src/graphql-scalars/src/AbstractJson.php
90.47% <100.00%> (ø)

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

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


Error Instancing bedrock model from example code

Example code I am using:
"""
Basic example of scraping pipeline using SmartScraper
"""
import os
from dotenv import load_dotenv
from scrapegraphai.graphs import SmartScraperGraph
from scrapegraphai.utils import prettify_exec_info
load_dotenv()
************************************************
Define the configuration for the graph
************************************************
graph_config = {
"llm": {
"client": "client_name",
"model": "bedrock/anthropic.claude-3-sonnet-20240229-v1:0",
"temperature": 0.0
}
}
************************************************
Create the SmartScraperGraph instance and run it
************************************************
smart_scraper_graph = SmartScraperGraph(
prompt="List me all the projects with their description",
# also accepts a string with the already downloaded HTML code
source="https://perinim.github.io/projects/",
config=graph_config
)
result = smart_scraper_graph.run()
print(result)
************************************************
Get graph execution info
************************************************
graph_exec_info = smart_scraper_graph.get_execution_info()
print(prettify_exec_info(graph_exec_info))
Error received:
Error instancing model: 1 validation error for ChatBedrock
temperature
extra fields not permitted (type=value_error.extra)
Lib\site-packages\langchain_core\runnables\base.py", line 5554, in coerce_to_runnable
raise TypeError(
TypeError: Expected a Runnable, callable or dict.Instead got an unsupported type: <class 'NoneType'>
I think what is happening is because temperature is forced as a default value, and bedrock doesn't take it as a parameter, then the model is failing to instantiate and breaking the rest of the pipeline.
I would create and exception for bedrock models, but I may be wrong.

The way I fixed this is by removing the temperature parameter. However, somehow, somewhere in the pipeline, the instantiation of the bedrock model turns into a string, and I get an error about 'str' object has no attribute .invoke_model.
I will fix this next and raise an issue about it.

Okay, here is the problem.
In this chunk of code:
graph_config = {
"llm": {
"client": "client_name",
"model": "bedrock/anthropic.claude-3-sonnet-20240229-v1:0"
}
}
"client" needs to map to a boto3 instance of bedrock client. The langchain library for aws has the method init_chat_model(), which will not throw an error if you pass in a string for the client, but it will throw an error when trying to use llm_model.generate_prompt() saying that "AttributeError: 'str' object has no attribute 'to_messages'"
I am going to keep going down this rabbit hole to see if I can solve this and continue reporting on this thread.


Requesting fix CVE-2023-29530 for 2.17.*

As it stands right now, I'd have to use 2.18.1 or higher but those versions require PHP 8.
I need to support PHP 7.4 for my project and only 2.17.0 will work with but it has the CVE-2023-29530 vulnerability.
Would it be possible to officially release 2.17.1 (I saw it in the milestone) so I don't have to manually patch my copy.
Thanks!

PHP 7.4 is EOL: versions for PHP releases that are EOL are also closed for security patches.
See https://github.com/laminas/technical-steering-committee/blob/19e2bd56028580a7bb876a9d3ab2b4a0e3f9cc6b/meetings/minutes/2020-03-02-TSC-Minutes.md#summary-1


[🐛esl-utils]: there is no unsubscribe in promisifyEvent for timeout case

Steps:

Subscribe to the event with timeout using

  const promise$ = promisifyEvent(el, 100);

reproduce timeout case (event is not dispatched during a timeout)
CHeck the subscription state

Current:
event listener presented in subscription until the dispatch of the event
Expected:
Event listener should be unsubscribed when promise fulfilled independently of the promise result state (resolved or rejected)
Originally posted by @dshovchko in https://github.com/exadel-inc/esl/pull/1691#discussion_r1212964291

:tada: This issue has been resolved in version 4.7.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Package request: serve-d

Project description
serve-d is an LSP (language server protocol) server for the D programming language
Metadata

homepage URL: https://github.com/Pure-D/serve-d
source URL: https://github.com/Pure-D/serve-d
license: MIT
platforms: unix, linux, macos, windows

Add a :+1: reaction to issues you find important.

Will be added in https://github.com/NixOS/nixpkgs/pull/299618


Move data tests to tests/unit/data

Description

Move tests/pre_merge/data tests to tests/unit/data
Add GPU support to accelerate the unit tests. (Reduce the time from 120s to 20s)
Use data subsampling to accelerate the the synthetic data tests. (Significant gain here as well)

Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] Refactor (non-breaking change which refactors the code base)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist

[ ] My code follows the pre-commit style and check guidelines of this project.
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing tests pass locally with my changes
[ ] I have added a summary of my changes to the CHANGELOG (not for minor changes, docs and tests).

Tests will be addressed after Fabric migration.


Basic acceptance testing

This PR introduces a setup for high-level acceptance testing, where test cases live in pods under acceptance. Each test case renders the component for that pod, and then verifies according to its expectation module that the computed styles for key elements within that component are as expected.
There are three test cases included in this PR as a proof-of-concept:

ampersand-self-selector verifies styling within & { } is applied to the component
component-self-selector verifies styling within :--component { } is applied to the component
descendant-namespacing verifies descendant classes with the same name across components don't conflict

I'm hoping to get feedback on the form factor of the tests and the harness, and thoughts on what else may be useful moving forward.
@ebryn I started down the more broccoli-oriented path we'd discussed, but given the tooling ember-cli provides for high level tests of this nature, this felt like a nice low-cost way to verify integration across all the moving parts within an actual application.
As far as finer-grained "this input yields this output" testing, my feeling is that it makes sense to break index.js into smaller unit-tested chunks and verify such things at that level. Probably a good next step to start considering once this is wrapped up.

I like this approach as a starting point. And I agree that breaking up index.js is needed before trying to write tests for it. At the least, the various classes in there should be broken into separate files and tested individually.

@dfreeman This looks awesome!
@trentmwillis Thanks for reviewing it <3
I'm going to merge assuming these pass, but we need to get Travis setup... looking into that now.


tests revamp.

move to latest stable web3 version.
move redundant functions and constants to external file.

done


ensure the mnt_ns opened before the process exit

quote of the log:

open container mount ns failed: No such file or directory
start containers failed

the process exits when hyper_enter_sandbox(), so we have
to move the wait before hyper_enter_sandbox().
Signed-off-by: Lai Jiangshan<EMAIL_ADDRESS>

LGTM


Update how-to-create-manage-compute-instance.md

@vijetajo : Thanks for your contribution! The author(s) have been notified to review your proposed change.


"No server certificate CA names sent"  message is confusing

speed% openssl version
OpenSSL 1.1.1b  26 Feb 2019

I ran openssl server as follows:

speed% openssl s_server -port 29999  -CAfile ca.crt -verify 1 -cert server.pem

I then attempted to connect to this server from my client. The server produced the following output in its terminal:

verify depth is 1
Using default temp DH parameters
ACCEPT
-----BEGIN SSL SESSION PARAMETERS-----
MH4CAQECAgMEBAITAgQgGg71gUjGt2LGFJrCZZVsZpRtIEG4KAX/jtXDHu3X6J0E
MO61KEPzOh/yfnWJlsSde8DE6L9PETpav7n1BoStU6TYVZArmMKye/WOfvE2fByr
2KEGAgRc9u4wogQCAhwgpAYEBAEAAACuBwIFAIPYu9Q=
-----END SSL SESSION PARAMETERS-----
Shared ciphers:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES128-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA
Signature Algorithms: ECDSA+SHA256:ECDSA+SHA384:ECDSA+SHA512:Ed25519:Ed448:RSA-PSS+SHA256:RSA-PSS+SHA384:RSA-PSS+SHA512:RSA-PSS+SHA256:RSA-PSS+SHA384:RSA-PSS+SHA512:RSA+SHA256:RSA+SHA384:RSA+SHA512:ECDSA+SHA224:RSA+SHA224:DSA+SHA224:DSA+SHA256:DSA+SHA384:DSA+SHA512
Shared Signature Algorithms: ECDSA+SHA256:ECDSA+SHA384:ECDSA+SHA512:Ed25519:Ed448:RSA-PSS+SHA256:RSA-PSS+SHA384:RSA-PSS+SHA512:RSA-PSS+SHA256:RSA-PSS+SHA384:RSA-PSS+SHA512:RSA+SHA256:RSA+SHA384:RSA+SHA512:ECDSA+SHA224:RSA+SHA224
Supported Elliptic Groups: X25519:P-256:X448:P-521:P-384
Shared Elliptic groups: X25519:P-256:X448:P-521:P-384
---
No server certificate CA names sent
CIPHER is TLS_AES_256_GCM_SHA384
Secure Renegotiation IS supported
ERROR
shutting down SSL
CONNECTION CLOSED

This issue is with respect to No server certificate CA names sent message. What does it mean? Searching the internet for this message seems to yield as a general description of what happened, "something related to openssl was not correctly configured".

Is this an error or a status message? Since the server produced it, is this a reference to the client not supplying some important information, or a note that the server is not going to send certificate CA names to the client?
According to the internet this seems like an error message. But it is produced by the server side (openssl s_server) and it is complaining about a server certificate - is this the server complaining about itself?
Was a certificate not provided, or was a certificate provided but was missing a name? Which name? Common name? OU? Issuer?
How can a user diagnose and resolve the condition that led to this message/error being printed, assuming this indicates an error?

Yeah, I agree it is quite confusing. I had to go figure out what it actually means. It's a status message - not an error.
It was introduced as part of #3015 and is related to TLSv1.3 support. #3015 adds the ability for a client to send a list of acceptable CA names to the server. It's explained in more details here:
https://www.openssl.org/docs/man1.1.1/man3/SSL_get0_peer_CA_list.html
That document actually actively discourages a client setting a list of acceptable CA names "in most cases", so it would actually be unusual to see anything other than this message.
The message itself is quite misleading anyway - especially where it says "server". What it actually means is "The client did not send a list of certificate CA names that are acceptable for the server to respond with"! In the case where a client doesn't send this list (which is the normal case) we just assume that any CA name is acceptable.
The extension that this relates to is available in TLSv1.2, but is used for a server to tell a client which CA names are acceptable in any client certificate if client auth is used. The same code for printing this message is also used on the client side (and existed prior to OpenSSL 1.1.1) but there the message would be "No client certificate CA names sent".
I'd be tempted to suppress this message on the server side when the list is empty, since almost all of the time it would be. Could be a good first issue for someone to tackle.

you can encrypt it through your name panel .. it's simple !

Hi, I'd like to get involved and found this issue while looking for good first issues. Can I take it up?

@wbrawner - please do!

Just want to add a little cheer for more verbose messages. The amount of developer time lost due to this kind of ambiguous or unclear output is extraordinary. I'd be happy to pass a -verbose flag in order to get lengthy (full paragraph / sentence) error and info messages. And there is no better authority than the software itself and the programmers who wrote it.

any solution on this issue from client ssl debug? like
---
Server certificate
subject=CN = djfidicjmwos.com

issuer=C = AT, O = ZeroSSL, CN = ZeroSSL RSA Domain Secure Site CA

---
No client certificate CA names sent
Peer signing digest: SHA256
Peer signature type: RSA-PSS
Server Temp Key: X25519, 253 bits
---
SSL handshake has read 2208 bytes and written 396 bytes
Verification error: certificate has expired
---
New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384
Server public key is 2048 bit
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 10 (certificate has expired)
---

no peer certificate available
No client certificate CA names sent
SSL handshake has read 7 bytes and written 201 bytes
Verification: OK
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol  : TLSv1.2
Cipher    : 0000
Session-ID:
Session-ID-ctx:
Master-Key:
PSK identity: None
PSK identity hint: None
SRP username: None
Start Time:<PHONE_NUMBER>
Timeout   : 7200 (sec)
Verify return code: 0 (ok)
Extended master secret: no
read from 0x559663a227e0 [0x559663a14fa0] (8192 bytes => 0 (0x0))


Panoviewer too slow when loading pano for the first time. can we pre-load those images in pannellum feature.

Hi Matthew Petroff,
pannellum.viewer too slow when loading pano images for first time. can i pre-load images.
"I used Preview option for displaying static image while pano images loading but that also took time for displaying static image well."
Please give me alternative solution for not loading too much time. all images from amazon server.
Image sizes can be in 4 or 6 or 8 MB.
Regards
Sanny Soni

If you're worried about load times, you should use the multiresolution panorama feature. This allows the panoramas to be loaded incrementally as needed.

Hi Matthew Petroff,
I think you getting me wrong.. i have pan_images not to have simple images for making one pan_image.
i want to alternative solutions for collection of pan_images to displaying into slider. i used multiresolution panorama and created folder of client side for collection of images. that would not be proper solution for more than pan images from another server.
Regards
Sanny Soni

Hi, @sannysoni123 have you found any solution loading issue for the single Panorama image. I am facing same.
Please help me
Thanks,
Punita


Windows x64

APM now supports x64. Atom is putting x64 in beta now.
https://github.com/atom/atom/pull/13135

There seems to be some sort of build issue with AppVeyor. Possibly related to #3043 and https://github.com/nylas/N1/commit/e89fd364b4706b4a0d9972a1c4ce2fa131eaa4c6

Hey! Thanks for submitting this - do you know of any major benefits to shipping 64-bit apps on Windows? Not questioning this effort or anything, I'm just honestly not sure. We've put off getting 64 bit support working because everyone seemed OK using the 32-bit version and N1 doesn't use enough memory to need the 64-bit address space.

Maybe a default install won't need the 64-bit address space, but when you add multiple plugins and need to search through hundreds of contacts/threads/emails/etc, there should be some benefit.
Atom team had a similar stance, but realized it was important, because most people don't use the default installation without plugins.

@bengotow the AppVeyor CI test is passing now.

Will this get merged?

Doubtful since the architecture for Nylas Mail has changed from Nylas N1/Pro


claim rewards - fee column text changes

protection table:
column name change:
current: Fees
updated: Fess & Rewards
tool tip:
current: Fees your stake has earned since you entered the pool.
updated: Fees and rewards earned by your stake since you entered the pool.

@pingustar

@pingustar

done.

done.


Error when login to zulip (self host)

I have this error, just this morning today, but I do not know how to fix
I login by [google login]
2024-07-14 04:27:48.102 ERR  [pika.adapters.utils.connection_workflow:9800] AMQPConnector - reporting failure: >
2024-07-14 04:27:48.102 ERR  [pika.adapters.utils.connection_workflow:9800] AMQP connection workflow failed: AM>
2024-07-14 04:27:48.102 ERR  [pika.adapters.utils.connection_workflow:9800] AMQPConnectionWorkflow - reporting >
2024-07-14 04:27:48.103 ERR  [pika.adapters.base_connection:9800] Full-stack connection workflow failed: AMQPCo>
2024-07-14 04:27:48.103 ERR  [pika.adapters.base_connection:9800] Self-initiated stack bring-up failed: AMQPCon>
2024-07-14 04:27:48.104 CRIT [zulip.queue:9800] TornadoQueueClient couldn't connect to RabbitMQ, retrying in 2 >
2024-07-14 04:27:50.107 WARN [zulip.queue:9800] TornadoQueueClient attempting to reconnect to RabbitMQ
2024-07-14 04:27:50.109 ERR  [pika.adapters.utils.io_services_utils:9800] Socket failed to connect: <socket.soc>
2024-07-14 04:27:50.109 ERR  [pika.adapters.utils.connection_workflow:9800] TCP Connection attempt failed: Conn>
2024-07-14 04:27:50.110 ERR  [pika.adapters.utils.connection_workflow:9800] AMQPConnector - reporting failure: >
2024-07-14 04:27:50.110 ERR  [pika.adapters.utils.connection_workflow:9800] AMQP connection workflow failed: AM>
2024-07-14 04:27:50.110 ERR  [pika.adapters.utils.connection_workflow:9800] AMQPConnectionWorkflow - reporting >
2024-07-14 04:27:50.110 ERR  [pika.adapters.base_connection:9800] Full-stack connection workflow failed: AMQPCo>
2024-07-14 04:27:50.110 ERR  [pika.adapters.base_connection:9800] Self-initiated stack bring-up failed: AMQPCon>
2024-07-14 04:27:50.111 CRIT [zulip.queue:9800] TornadoQueueClient couldn't connect to RabbitMQ, retrying in 2 >
2024-07-14 04:27:52.114 WARN [zulip.queue:9800] TornadoQueueClient attempting to reconnect to RabbitMQ
2024-07-14 04:27:52.115 ERR  [pika.adapters.utils.io_services_utils:9800] Socket failed to connect: <socket.soc>
2024-07-14 04:27:52.116 ERR  [pika.adapters.utils.connection_workflow:9800] TCP Connection attempt failed: Conn>
2024-07-14 04:27:52.116 ERR  [pika.adapters.utils.connection_workflow:9800] AMQPConnector - reporting failure: >
2024-07-14 04:27:52.116 ERR  [pika.adapters.utils.connection_workflow:9800] AMQP connection workflow failed: AM>
2024-07-14 04:27:52.117 ERR  [pika.adapters.utils.connection_workflow:9800] AMQPConnectionWorkflow - reporting >
2024-07-14 04:27:52.117 ERR  [pika.adapters.base_connection:9800] Full-stack connection workflow failed: AMQPCo>
2024-07-14 04:27:52.117 ERR  [pika.adapters.base_connection:9800] Self-initiated stack bring-up failed: AMQPCon>
2024-07-14 04:27:52.118 CRIT [zulip.queue:9800] TornadoQueueClient couldn't connect to RabbitMQ, retrying in 2 >
2024-07-14 04:27:54.121 WARN [zulip.queue:9800] TornadoQueueClient attempting to reconnect to RabbitMQ
2024-07-14 04:27:54.122 ERR  [pika.adapters.utils.io_services_utils:9800] Socket failed to connect: <socket.soc>
2024-07-14 04:27:54.123 ERR  [pika.adapters.utils.connection_workflow:9800] TCP Connection attempt failed: Conn>
2024-07-14 04:27:54.123 ERR  [pika.adapters.utils.connection_workflow:9800] AMQPConnector - reporting failure: >
2024-07-14 04:27:54.123 ERR  [pika.adapters.utils.connection_workflow:9800] AMQP connection workflow failed: AM>
2024-07-14 04:27:54.123 ERR  [pika.adapters.utils.connection_workflow:9800] AMQPConnectionWorkflow - reporting >
2024-07-14 04:27:54.124 ERR  [pika.adapters.base_connection:9800] Full-stack connection workflow failed: AMQPCo>
2024-07-14 04:27:54.124 ERR  [pika.adapters.base_connection:9800] Self-initiated stack bring-up failed: AMQPCon>
2024-07-14 04:27:54.124 CRIT [zulip.queue:9800] TornadoQueueClient couldn't connect to RabbitMQ, retrying in 2 >

Please drop by the #production help stream in the Zulip development community to get help with your question.


[Footer] Add dynamic news and event list

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #24: Dynamic news and event list
Test URLs:

Before: https://main--moleculardevices--hlxsites.hlx.page/
After: https://24-footer-news--moleculardevices--hlxsites.hlx.page/

Tests are all passing locally...


Allow scaling to 0 to stop workloads

Close https://github.com/mariadb-operator/mariadb-operator/issues/642
Close https://github.com/mariadb-operator/mariadb-operator/issues/638
Allows scaling to 0 to stop workloads. Works both ways, by scaling mariadb resource (kubectl scale mdb) and statefulset (kubectl scale sts) - changes are reflected to the related resource.

I implemented most of the changes (except tests, did not check them out yet), but I ran into issue that it tries runs reconciliation cycle on Downscaled (non-Ready) mariadb resources, causing frequent API calls.


difference in calling dehazing using pip package

In the readme it show the implementation of the dehazing as follows
$ import image_dehazer										# Load the library

$ HazeImg = cv2.imread('image_path', 0)						# read input image
$ HazeCorrectedImg = image_dehazer.remove_haze(HazeImg)

That means we are loading the image as grayscale and simply passing that image in remove_haze function.
But in example.py we are doing the following
https://github.com/Utkarsh-Deshmukh/Single-Image-Dehazing-Python/blob/393a51439a56f90f78aba50d6ba5b8e7a9a184a6/src/example.py#L14-L40
That is we are using the color image and calculating Transmission Airlight and then passing those values to  removeHaze(HazeImg, Transmission, A, 0.85)
Is the pip documentation wrong/outdated? or image_dehazer.remove_haze(HazeImg) function calculates them internally? If so why we are using grayscale image?

You are right. There is a mistake in the documentation. I have corrected the mistake. You should be using a color image, and not a grayscale image

@Utkarsh-Deshmukh Okey, thanks.
But what about this?

That is we are using the color image and calculating Transmission Airlight and then passing those values to removeHaze(HazeImg, Transmission, A, 0.85)

is this being calculated internally in pip package?

On Further Inspection i found that it does calculate internally
def remove_haze(HazeImg, airlightEstimation_windowSze=15, boundaryConstraint_windowSze=3, C0=20, C1=300, regularize_lambda=0.1, sigma=0.5, delta=0.85):
    Dehazer = image_dehazer(airlightEstimation_windowSze=airlightEstimation_windowSze,
                            boundaryConstraint_windowSze=boundaryConstraint_windowSze, C0=C0, C1=C1,
                            regularize_lambda=regularize_lambda, sigma=sigma, delta=delta)
    HazeCorrectedImg = Dehazer.remove_haze(HazeImg)

Thanks for the awesome package :smile:

Hi, why must it take color image but not a single channel image as input? @Utkarsh-Deshmukh

because in order to compute the airlight(which is later used to compute the haze transmission), we compute the dynamic range of the pixel within all the color channels


Peer Quality Metrics

Suggestion details
This feature would enable peers to advertise a quality metric related to computer stress at time of artifact download. The idea is to have peers calculate how "busy" they are with respect to network traffic, cpu load and disk load and return it upon demand at artifact download time.
Additional details
No response

I have completed the three metrics and added unit tests for them. Need to discuss some odd behavior but the tests are passing all all has been integrated to handlers.rs file. Next step is to add the metric to the exchange when asking for artifacts from peers.

I have the unit tests passing now.


Question on the MatchMaking System

In the game there is a restriction on the orders of weapons and a level, is it possible to configure the server config to disable these restrictions that, for example, 200 LVL could be renewed to 1. I know that with the help of a red chalk and password, this restrictions can be bypassed, but it is interesting to me exactly the invasion of Random players with a red eye. I noticed that in the config there are lines responsible for the balance and conducted monipulations with them, but the results did not give it, so I ask to help explain about the omniscient)

There are 2 options called "DisableLevelMatching" and "DisableWeaponLevelMatching".
Is this what you are looking for?

What @Jeyyu said, those flags should disable level matching.
Be aware this doesn't disable any of the other matching mechanics - like cooldown between invasions. Thats entirely handled by the client and something DS3OS has no way to effect.

I tried to change this line earlier, I will try again and report the result.

I checked that this does not disable the matchmaking system, which means it is tied to the client itself or there are some other conditions.

Really works, but when intruding, the phantom does not become weaker in accordance with the host, and when invading 131 lvl to 20 I feel uncomfortable, is it possible to somehow disable the selection of games but leave the balancer?

The way matching works is the client requests a list of currently available invasion targets, which the server returns, filtered by levels criteria. The server doesnt effect balancing in any way, that's entirely client side. It might very well be that the balancing code do L9esn't expect to handle such huge level differences and behaves poorly. Nothing that can be directly done about that unfortunantely, not without modifying the client.

You said everything correctly, but I would like to ask you to implement the balance system in the future. when using a red crayon and a password to view it, the character becomes the same level as the player who called him, if this rule was done by all other methods of calling, then everything will work.

Afaik this is not possible from the server alone, everyone on the server would need to install some mod on the client side. (besides the fact that the mod itself first need to be created)
Only option I could think of is maybe to only allow a certain level to be matched or only if they are the same level, but then again its not exactly what you want


set default diagnostics class so code works when diagnostics are not …

…specified. Tested in test_dcmip_setup

fine by me.


Add diagram

Adds the architectural diagram to the README file.

 I'll try rebasing from Thor instead of my fork.


Edit superfile config

Fixed grammar and punctuation. Rewrote for clarity.

Also, can you please advise on these?
default_directory has conflicting instructions on using ~.

superfile-config.mdx:

Supports ~ and .

config.toml:

DON'T USE '~'

file_preview_width is unclear if 1 and 10 are allowed.

superfile-config.mdx:

The number of entries must be from 2 to 10

config.toml:

x must be less than 10 and greater than 1

superfile-config.mdx:

The number of entries must be from 2 to 10

config.toml:

x must be less than 10 and greater than 1
I think the meaning is the same. But just use 2-10.

DON'T USE '~'
You can use ~ I think I typed it wrong

Thanks for your contribution!

Actually you don't need to close this PR, it still makes the documentation clearer.
I just thought you might change the commit.

Actually you don't need to close this PR, it still makes the documentation clearer. I just thought you might change the commit.

Yeah that would've been simpler - will do that in the future!


Remove the white border in entity

The goal is to remove the white border in entity.
The alpha blending is bleeding in the border of the texture, because is sampling the transparent part of picture in weighted average, resulting in a white pixel. To correct the problem, the transparent border that is used in weighted average is recolored with color close to the opaque border.

The depth buffer depends on the order of drawing, if you draw a transparent pixel, you can't draw a opaque pixel before the transparent pixel, to fix the problem, we sort by the value of the distance between the camera and the entity and render from farthest to nearest distance to camera.

A small fix is made in the picker, after sorting the entities, the initial entries is not the current player anymore.

The new way is changing the alpha from (0.0;1.0] into 1.0, when the entity is opaque. When the entity is transparent, we need to sort to treat the ordering, but even sorting won't solve it all, as the first transparent pixel will overwrite the depth buffer, you will need new techniques such as depth peeling or other order-independent transparency method and is process intensive to fix transparency. Another problem is the way that the entities is structured in the moment doesn't allow easy sorting without affecting hot loop.

156,  157, fixed the problem


Create the scaffold for the kdoc front(or back?)end

We need to expose kdoc from the command line. I've created a separate mvn module kdoc but I'm not sure how to hook it further. I don't want to use other backends as a model because this command doesn't have separate kompile/krun phases.
The kdoc module is here: https://github.com/kframework/k/pull/1961
(the implementation is not complete, but it has all the basic ingredients, including latex generation for both outer and inner)
This guide is likely outdated so I haven't tried following it:
https://github.com/kframework/k/wiki/Creating-a-Code-Module
@dwightguth, I would appreciate your help with this. It is likely a half-an-hour job for you while it would take me much longer. I just need the basic scaffold classes, you don't need to hook it to the KDoc class.
Also, feel free to add it to that branch if you like.

@edgar-pek, I'm not using the implementation in the kdoc branch because it looks like it is based on the compiled module. Let me know if I'm wrong.

Basically, I'm trying to keep this as small as possible, if possible.

You are right, @cos. Your approach looks much cleaner than what I had, btw.

You are not going to be able to generate pdfs of all the  definitions in the tutorial in a reasonable time frame if you try to reparse each one of them.

Considering the approach, I need to parse each one of them with the slower e-kore.k-based parser anyhow.
At most I could save time on the KIL-to-KORE pipeline parsing, but that should be fairly fast generally, especially as I'm not parsing the rules at all. In that respect, avoiding the standard compilation pipeline is useful.

sorry I'm confused. You're not parsing the rules at all? how then can you interpret the production's latex attributes?

I'm only parsing the "outer" parts of definitions. Rules in most definitions remain as bubbles. The only rules that are parsed are for the definition File/String (let's call it target) you're generating latex from, and they're only parsed once.
Because we still rely on KIL-to-KORE to get a org.kframework.defintion.Definition, the target is processed twice. Once by KIL-to-KORE to get a Definition and once by our parser using e-kore.k to get the meta-level (the full-K, not KORE, meta-level). The meta-level contains bubbles which are then parsed using the Definition from KIL-to-KORE.

Okay but that means you have to point kdoc both to a source (to get the outer) and to a compiled definition (to get the inner) at the same time, right? Or am I misunderstanding?

The compiled definition is not needed. I just need as input the source (and lookup directories). From there I get a non-compiled definition from KIL-to-KORE which I then use along with e-kore.k to generate the latex.

So I need the scaffold for something that exposes roughly the same inputs as Kompile.

Okay. I would suggest taking a look at kdep then. It's a tool I wrote
recently to provide makefile integration with k definitions. The code is
pretty much entirely self contained to the org.kframework.kdep package, and
it does very little besides accept all the inputs needed to perform outer
parsing. You should be able to make use of most of it with only minimal
modifcations. And the boot sequence wiring for kdoc is already in place in
org.kframework.kdoc. You just will need to strip out the code of the
frontend, module, and options and replace it with something more similar to
kdep. I can help if you run into issues. But it would be good for someone
at the university to understand this part of the code base.
On Tue, Dec 29, 2015 at 6:49 PM, Cosmin Radoi<EMAIL_ADDRESS>wrote:

So I need the scaffold for something that exposes roughly the same inputs
as Kompile.
—
Reply to this email directly or view it on GitHub
https://github.com/kframework/k/issues/1964#issuecomment-167908032.

After talking with Grigore I have agreed to work on this this afternoon. There should be a pull request for it out shortly.

fixed in #1971. I suggest you steal the code and adapt it into the form you want it. Everything is more or less there with one exception. The kdoc backends are not wired in this because they have not been updated and still rely on Context which we don't have anymore. So what I suggest you do is to modify the PosterBackend interface to your satisfaction, create a LatexBackend class that implements the new PosterBackend, and then add the following line to KDocModule.java after line 35:
posterBinder.addBinding("latex").to(LatexBackend.class);

You should be able to add other formats the same way, and they will have access to anything you want to inject into them in their creation, although I would suggest making them as simple as possible and passing as much as possible in from KDocFrontEnd which has been wired to have access to the currently selected poster backend.


Rule for com.zaxxer:HikariCP-java7

It conflicts with com.zaxxer:HikariCP.

There is also a HikariCP-java6 that should probably be considered as well.
See: https://repo1.maven.org/maven2/com/zaxxer/
If you like, feel free to do a PR @boris-petrov. :)


Implement MSelectionList

Added

Add full stub for MSelectionList

Implement __len__, .isEmpty()
Implement .getDependNode
Implement .getDagPath
Implement .getPlug
Implement .getSelectionStrings

Add full stub for MPlug

Fixed

Fix bugs in parse_header script

Support multi-line statements
Ignore trailing comments
Skip "No Script Support" blocks

wat

MSelectionList::getPlug returns an OK status for a node. You have to check if the attribute is null.

Notes

We should implement a C++ style guide.
We should implement MString <-> std::string helper functions
We should implement M[T]Array <-> std::vector helper functions

Great work!

We should implement a C++ style guide.

Can you elaborate? What would such a style look like, and who would it be for?

We should implement MString <-> std::string helper functions
We should implement M[T]Array <-> std::vector helper functions

What kind of helper functions?

For the style guide... just conventions for how to handle things like:

Enum classes (excluding MFn::Type)
Which exception to use when (so that everything is not a RuntimeError)

Can we define custom exceptions?

Curly braces

For the helper functions...

For MString <-> std::string I don't actually know.
For M[T]Array <-> std::vector, functions to convert between the two. See SelectionList.getSelectionStrings for an example. Since the M[T]Array objects do not have a common base class, I think one would have to write a separate function for each conversion, unless there's some arcane template magic I am unaware of.

Which exception to use when (so that everything is not a RuntimeError)
Can we define custom exceptions?

Good question. I glanced at the native C++ exceptions and there aren't many to choose from. I think it'd make sense to raise our own, but it'd depend on what errors we actually encounter. I'd imagine time and experience could lead the way here. For the time being I'm quite happy making it all runtime errors rather than to try and predict what we might want in the future. Unless it's obvious, like index errors or key errors etc.
A style guide is probably too early. We'd have to speculate a little too much about what might become a problem. I'd imagine we could make note of things that stand out in the README.md for now. What do you think?

For MString <-> std::string I don't actually know.

Hah. But what made you point it out in the first place? :D

For M[T]Array <-> std::vector

Ah, yes good point. Let's do what you just did, convert it into a native Python list. I'd imagine we could make a simple helper function to deal with them since these are quite common. Maybe a template, but at the very least just an inline function if performance really was a concern.
On the other hand, generators is another appealing option. Especially if the lists are long, and computing them is expensive.

Would you mind if we used nose instead of pytest? I'm setting up automated testing with GitHub Actions next.

I'm fine using nose.
I suggested the MString <-> std::string interop functions because I had to bounce back and forth between the two a few times and it's clunky.
I know there is a blog post out there somewhere about replacing or wrapping M[T]Arrays with stdlib components. I'll try to dig it up - I think it did some pointer trickery to traverse the Maya array types...

I suggested the MString <-> std::string interop functions because I had to bounce back and forth between the two a few times and it's clunky.

Oh I see. Ok, interesting. Well, next time you do, do document it so we can have a nice old look. I imagine it'd be..

std::string(myMString.asChar()) and then back again as..
MString(myString.c_str())

I know there is a blog post out there somewhere about replacing or wrapping M[T]Arrays with stdlib components. I'll try to dig it up - I think it did some pointer trickery to traverse the Maya array types...

In 2019 and above, they've added the means of calling for (auto& el : mayaArray) {}, which I think should translate natively via pybind11 to native Python types. I'd imagine we could implement similar means for the missing types of 2018.
I do believe it comes down to this addition here: https://help.autodesk.com/view/MAYAUL/2020/ENU/?guid=__cpp_ref_class_m_point_array_html#a5d852fe292e05aaca41615209679fde6

Will do.
GitHub says there are merge conflicts that can't be resolved in the web app. Do I need to pull from upstream to resolve the conflicts, or is this something you have to do?

You'll need to merge or rebase the changes from here into your local copy.

There's something not right on Linux at the moment, have a look at the Details on any of the builds. If you're on Windows (like me) you can build locally on Linux using the Dockerfile included in the repo.
I've added an example to the README on how to do that.

https://github.com/mottosso/cmdc#build

Yep, I got the error e-mail last night. I'll look into it after work.

The code builds on Linux now, and I replaced the pytest usages with nose.
...please tell me we can squash the commits from this branch.

...please tell me we can squash the commits from this branch.

:D If you'd like. Let's do it!

Thanks, Marcus! I prefer squashed merges because it keeps the mainline neat and tidy :)

Yeah, but we gotta work on getting that high-score too! xD The repo with the most commits wins!


Add intercom component

Added the intercom component. Just needs the app id for highlight and it's good to go. Styles are tweaked in the intercom dashboard.

Awaiting HL intercom app ID


Fix fixed offset timezone conversion bug.

Closes #3267

Since we are going through a license change, please also have a loot at #3108

Not sure what the Windows build failures are about. Is the Python installation missing the time zone database there?

Not sure what the Windows build failures are about. Is the Python installation missing the time zone database there?

It's because Windows only supports times in 1970-2038 I believe, but the proptest is using a much larger range, I am fixing this now

Hunting down some more bugs the more exhaustive proptest found. Found one in chrono: https://github.com/chronotope/chrono/issues/1154
There is another one that results in the python vs rust datetimes being 1 second off when the time falls exactly on the daylight savings switchover. Unsure if pyo3 conversion bug (with the fold parameter) or just a discrepancy between python and chrono. Investigating further...

@grantslatton I am interested in the issues you may run into.

@grantslatton I am interested in the issues you may run into.

Does chrono have facilities for supporting ambiguous instants created at the end of daylight savings? i.e. https://peps.python.org/pep-0495/

I am wondering if we should also fix https://github.com/PyO3/pyo3/issues/3266 in the same change, because this change will result in fold information being lost on FromPyObject, because PyO3's doesn't have a conversion out to DateTime<Tz> -- only DateTime<Utc> and DateTime<FixedOffset.
But doing this would require changing the IntoPy for DateTime<Tz: TimeZone> path to different impls: one for DateTime<Utc>, DateTime<FixedOffset>, DateTime<Local>, and DateTime<Tz>. This would be a breaking change that would break any downstream code that has defined their own custom TimeZone impl. There is probably no such code, as everyone is probably using timezones defined by chrono and chrono_tz.
I think such a change increases the correctness of this crate, because right now the conversion is lossy and loses daylight savings information present in chrono_tz::Tz locale timezones.

This would be a breaking change that would break any downstream code that has defined their own custom TimeZone impl. There is probably no such code, as everyone is probably using timezones defined by chrono and chrono_tz.

This would mean the fix would also be limited to 0.20, the next release where breakage is possible. So I think the question is whether the side effects of losing the fold information is serious enough that one would say the backwards-compatible version of the fix cannot be used anyway?
Personally, I would be fine with try to fix this properly for 0.20 only because the chrono integration is still a relatively new feature of PyO3 and some churn seems expected.

P.S.: You seem to have included two unrelated commits during your rebase.

Ok, sorry for the delay. I've reviewed the issue and the PR, the bug is there, and this fixes it, nice catch.

I am wondering if we should also fix https://github.com/PyO3/pyo3/issues/3266 in the same change, because this change will result in fold information being lost on FromPyObject, because PyO3's doesn't have a conversion out to DateTime<Tz> -- only DateTime<Utc> and DateTime<FixedOffset>.

The problem with the chrono_tz integration IIRC, is that python<3.9 doesn't have the zoneinfo package in the standard library, and I'm not sure it's reasonable to implement the integration without that. So, unless there is an alternative solution I missed (that doesn't require adding a python dependency like backports.zoneinfo and/or tzdata), we'd probably need to put the chrono_tz integration under a separate feature (dependent on python>=3.9), and keep only the chrono one for python<3.9. The two features would also have to be mutually exclusive I think, because we can't implement the python traits for both chrono::Tz (the trait) and chrono_tz::Tz (the enum).
All that to say that it's probably ok to lose the fold info with just chrono (since we only handle fixedoffsets), and fix this for python>=3.9 in the chrono_tz integration.
Gating the new integration under a separate feature will also avoid breaking code that uses the current one, because you'd need to enable the chrono_tz feature.

@grantslatton @Psykopear Ok, you to summarize my understanding: We take as it is and it fixes #3267 but #3266 will need a more involved approach which might even use an independent code path. Do you both agree with this?

Yes this is right


Fix VEBA broker name

Closes: #3
Signed-off-by: Michael Gasch<EMAIL_ADDRESS>

Codecov Report

Merging #6 (8a1e64d) into main (54b3671) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #6   +/-   ##
=======================================
  Coverage   14.90%   14.90%
=======================================
  Files           4        4
  Lines         208      208
=======================================
  Hits           31       31
  Misses        177      177

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 54b3671...8a1e64d. Read the comment docs.


fix image rendering bug on home/search and reader pages

Description

use encodeURI to fix urls with spaces in them

Context/Issue Link

https://github.com/participedia/usersnaps/issues/977
https://github.com/participedia/usersnaps/issues/975
https://github.com/participedia/usersnaps/issues/973

How has this been tested? How can it be tested?

copied an offending image url to my localdb to verify the issue and test the fix
tested locally on the home/search page and on entry reader pages

this fixed some of the issues, but not all of the issues.


What are session replays anyway and how are they triggered and consumed?

User Need
As a Sentry custodian
I want to provide some guidance for users on how to best use the Session Replay feature
so that they get the most value for money out of it and do not exceed the quota
Value
This ensures users are aware of how the Sentry Replay quota is consumed and are able to limit their use accordingly, thus having less impact on each other.
Functional Requirements:

[ ] Find out what triggers a Sentry session replay - how is the quota consumed; are there ways to minimise consumption or reduce unnecessary  consumption.
[ ] Update the Operations Engineering Sentry user guidance with appropriate information

Acceptance Criteria:

[ ] User guidance clearly details MoJ session replay usage best practice.

Notes:
A session replay is a video-like replay of a user journey through an app. It is not a recording but a creation. From a quick glance it looks like  the creation of a session replay is what consumes the replay quota (rather than simply playing a recording - as it sounds from the name). It seems the creation of a session replay can be triggered by other events such as errors or transactions. Need confirm this and work out best practice. Session replay quota is currently 500 a month.

Duplicate


Un-nested defaults found, need fix

I (@briesenberg07 ) can fix this. But I wanted to ask for feedback first in case this  is anything other than just an aberrant, one-off-type mistake. (That is, unless anybody [ @gerontakos @alexiskeely @CECSpecialistI @mcm104 ] knows anything else about why this is like this.)
Came across the following un-nested defaults while creating HTML profiles. defaultURI and defaultLiteral below should be located within a defaults array.
I think that this is the only such instance*...
{
                        "propertyLabel": "has degree granting institution (RDA 18.5)",
                        "propertyURI": "http://rdaregistry.info/Elements/w/P10006",
                        "mandatory": "false",
                        "repeatable": "true",
                        "type": "lookup",
                        "valueConstraint": {
                            "useValuesFrom": ["urn:ld4p:qa:names:organization"],
                            "defaultURI": ["http://id.loc.gov/authorities/names/n79054596"],
                            "defaultLiteral": ["University of Washington"]
                        },

This'll be important to fix, of course, so that defaults work correctly in Sinopia, etc. Screenshot below is of this prop in the RT in Sinopia (I believe)... Am I correct in thinking that the default is not showing when it should be showing?

* Searching for un-nested defaults using RDA profile json-in-xml and the following XPath:
/map/map[@key = 'Profile']/array[@key = 'resourceTemplates']/map/array[@key = 'propertyTemplates']/map/map[@key = 'valueConstraint']/array[@key  = 'defaultURI']

Mentioned to @CECSpecialistI in case she wants to take a look.
Fixed one-off error in 24e82ceab951494c1d132a4f59d65b9626ece43e .
Closing issue.


Make the stop command, when no content is passed, ask the user if he wants to stop the latest currently running command

This could use the CommandConfirmed utility to confirm it.
This would also mean putting the latest running command into the buffer of the associated guild (which the Buffer can already do).
Example :
User runs spam 100 command.

spam runs 100 times, which takes a medium span of time.

User now runs timer command.

timer command now runs in a thread of it's own.

User enters the stop command with no content.

stop command realizes the latest command inputted that is still running is actually the timer command, so it asks the user if he wants to stop the timer command.

Taking the issue on me since it require a higher technical knowledge as I first though (running commands are parallels and can end before the latest, we need to store them all and retreive them using a key in some sort).

This works well in a single guild but apprently, different text channels also get stopped using this method, which is not supposed to happen.
I'll take a look on what could be the potential issue.

Moving this issue to #25 as the feature is working but is bugged. May you stop the life within all!

Actually, I just realized that currently, it does not confirms if the user want to stop the command, it just does it.
I'll open up a new issue that talks about it.