text:
Migration to Spring Security   5.x version

Dear Team,
We have upgraded our spring boot application with 2.3.3.RELEASE,this in turn upgraded Spring Security to  5.x version.
We realized ResourceServerConfigurerAdapter is now deprecated, so we followed the migration guide https://github.com/SAP/cloud-security-xsuaa-integration/blob/master/spring-xsuaa/Migration_JavaContainerSecurityProjects.md
Now we have included  the below xs-security jar along with other recommended security jars.
   <dependency>
              <groupId>com.sap.cloud.security.xsuaa</groupId>
              <artifactId>spring-xsuaa</artifactId>
              <version>2.7.6</version>
    </dependency>

Though we have configured the resource server , but still whenever we are trying to access the service endpoint with a valid jwt token,we are getting 401 unauthorized error.
I have also created a sample project , could you please have a look into pom.xml/resource service configuration and see if something is not correct or missing.
https://github.wdf.sap.corp/i325519/Spring-Security-Upgrade
P.S.: This change is important for our upcoming production release.
Thanks,
Mazhar

Hi @Mazhar7860 thanks for your request!
Would you mind to provide as the missing information as listed here in the "Issues" section:
https://github.com/SAP/cloud-security-xsuaa-integration/blob/master/spring-xsuaa/Migration_JavaContainerSecurityProjects.md#issues
or here in the "troubleshoot" section
https://github.com/SAP/cloud-security-xsuaa-integration/blob/master/spring-xsuaa/README.md#troubleshoot
Thanks!
Nena

Hello @nenaraab ,
Please find the dependency tree information here -
xsuaa-resource-mvn-dependency-tree.txt
I was getting 401 unauthorised error when i was explicitly creating XsuaaServiceConfiguration with default configuration.
Because i have autowired XsuaaServiceConfiguration into ResourceServerConfig.java and spring container keeps complaining about this missing bean so i had to explicitly declare this bean in the configuration . Later app was up and but i was getting 401 even with valid jwt token.
@Bean
XsuaaServiceConfiguration xsuaaServiceConfiguration()
{
return new XsuaaServiceConfigurationDefault();
}
Please find the debug app log here -
Error_401.txt
Then i thought lets not declare XsuaaServiceConfiguration explicitly so i then added the following component scan @SpringBootApplication
@ComponentScan({"com.sap.cloud.security.xsuaa","com.sap.cloud.security.xsuaa.","org.springframework.security.oauth."})
public class ResourceServerApplication {
My application started working as expected if i dont pass valid jwt token it throws 401 otherwise with a valid token it allows to access the app services. Please find the logs here
withcomponentscan.txt
Now the question is, is it mandatory to include cloud security xsuaa in the component scan ? If not what is the ritgh way to configure resource server.
Second since in our application we do bind both broken and application xsuaa plans , so how will we authorise the authority/application scope ?
Some where in the migration guide it was mentioned that TokenAuthenticationConverter should not be used if there is more one xsuaa plan
so if i dont include this change
Converter<Jwt, AbstractAuthenticationToken> getJwtAuthoritiesConverter() {
TokenAuthenticationConverter converter = new TokenAuthenticationConverter(xsuaaServiceConfiguration);
converter.setLocalScopeAsAuthorities(true);
return converter;
in the resource server configuration, will scope/authority still work ?
Thanks,
Mazhar

Hi @Mazhar7860
Instead of this
<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-security</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
		</dependency>
		<dependency>
		    <groupId>com.sap.cloud.security.xsuaa</groupId>
		    <artifactId>spring-xsuaa</artifactId>
		    <version>2.7.6</version>
        </dependency>

just add this xsuaa spring boot starter
<dependency>
            <groupId>com.sap.cloud.security.xsuaa</groupId>
            <artifactId>xsuaa-spring-boot-starter</artifactId>
            <version>2.7.6</version>
        </dependency>

as described there:
https://github.com/SAP/cloud-security-xsuaa-integration/tree/master/spring-xsuaa#maven-dependencies
Your current ResourceServerConfig looks good. But you can get rid of jwtDecoder bean when you have updated to xsuaa-spring-boot-starter (as this is done with auto-configation then).
Further references:

sample: https://github.com/SAP/cloud-security-xsuaa-integration/blob/master/samples/spring-security-xsuaa-usage/

Dear @nenaraab ,
Thanks auto configuration really helped, now i could see with valid jwt token i could access an application :)
I need few more clarification, since in our productive application we do bind both broker and application xsuaa plans , so how will we authorise the authority/application scope ?
Here in the migration guide it has been mentioned that TokenAuthenticationConverter not applicable in case of multiple xsuaa bindings
so if i dont include this change
Converter<Jwt, AbstractAuthenticationToken> getJwtAuthoritiesConverter() {
TokenAuthenticationConverter converter = new TokenAuthenticationConverter(xsuaaServiceConfiguration);
converter.setLocalScopeAsAuthorities(true);
return converter;
in the resource server configuration, will scope/authority still work ?
As per the documentation,TokenAuthenticationConverter must be configured to  check against the authorities.
Thanks,
Mazhar

hi @Mazhar7860
in case you can't avoid two xsuaa bindings and you can't only use one (the "unified" broker plan) then you can follow the description in the migration guide:
https://github.com/SAP/cloud-security-xsuaa-integration/blob/master/spring-xsuaa/Migration_JavaContainerSecurityProjects.md#multiple-xsuaa-bindings
the only disadvantage is that you have to do "global scope" checks that mean you have to provide the xsappid as described in step 4.
Best regards,
Nena

repo: SAP/cloud-security-xsuaa-integration


text:
[FEATURE] Installation instructions

Duplicate issue

[X] I've searched for any related issues and avoided creating a duplicate issue.

Description
Working through the installation instructions, it's not 100% clear which config files I should be copying/editing/using.
I've copied the config-template.json file in /src/assets into a config.json file, with a change in the URL for the OCPP server from localhost to the URL of an actual OCPP server. Should I also be copying or changing other template files? It's not clear.
When I try to npm start after doing that (windows 10), I get the following outputs.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
PS D:\hughs\e-mobility-charging-stations-simulator-main> npm start
npm WARN config global --global, --local are deprecated. Use --location=global instead.

e-mobility-charging-stations-simulator@1.1.63 prestart
npm run build

npm WARN config global --global, --local are deprecated. Use --location=global instead.

e-mobility-charging-stations-simulator@1.1.63 build
npm run rollup

npm WARN config global --global, --local are deprecated. Use --location=global instead.

e-mobility-charging-stations-simulator@1.1.63 rollup
rollup --config

'rollup' is not recognized as an internal or external command,
operable program or batch file.
PS D:\hughs\e-mobility-charging-stations-simulator-main>
Attachments
No response

You first have to run npm install. It's not documented because it's a implicit when you want to run node.js code.

npm install

I try to follow the exact instructions. Jumping from language to language means that I don't know what should be implicit.

A PR to enhance the README will be welcome

I'm very reluctant to do PRs on well run projects.
But another question on the readme. Should the "npm start:server" instruction be "npm run start:server"
H

source: gharchive/issue

authors: hughsheehy jerome-benoit

license_type: permissive

license_source: github-api


text:
Complex annotation ends with error

"Format/FitToPage/ErrorRecoveryBehavior" -> Unknow model path format, "/lib/model/nw/CsdlSchema.js:61:11"

Hi,
I have fixed the issue in version 1.0.2. Could you check it.

authors: norbertvolf slybag

repo: SAP/odata-library


text:
Where / how can I download an older openui5 runtime?

I'm searching for OpenUI5 version 1.44.21.
Where can I download the runtime.zip?

Hi, you can download the runtimes from there: https://tools.hana.ondemand.com/#sapui5
There is an button "Show old versions".

Thanks grischan, but that's only for SAPui5. I'm searching for the same with OPENui5... Any other ideas?

Hello @gesslinger, I've forwarded your question to a delivery responsible colleague, but still waiting for reply. At least from what I can see you could get 1.44, but in its latest subversion, which is now Version 1.44.32.
Regards, Mihail.

For sure you could request it directly in your app with https://openui5.hana.ondemand.com/1.44.21/resources/sap-ui-core.js,
but for download we have to wait for the reply.

@myordanov thanks for the info. Yes, currently we use 1.44.21 on demand. But I got now the request to self-host it. Therefore I want to use the 1.44.21 version, to avoid software clearing process etc. Would be great if your colleague can help here temporary.
For long term we will upgrade to the new lts-version and upload the runtime right now... ;-)

Hi @gesslinger, I got the answer, but unfortunately we don't store such older versions online, available for download, but only the latest and greatest one for a corresponding version. The closest you can get, but sapui5 is on https://tools.hana.ondemand.com/#sapui5 which @grischan stated in his comment.
Regards, Mihail.

I'd suggest to try with https://openui5.hana.ondemand.com/downloads/openui5-runtime-1.44.32.zip
Yes, it's a few patches after 1.44.21, but there is special care taken to stay compatible between patches of a released version. And 1.44.21 was already stabilized for a long time, so there really didn't happen a lot from there until 1.44.32:
https://openui5.hana.ondemand.com/1.44.32/#releasenotes.html

authors: akudev gesslinger grischan myordanov

license_source: bigquery


text:
Wrong documentation example for MessageToast offset param

OpenUI5 version: latest (1.69.1), documentation
affected component: sap.m.MessageToast
The offset param is a String representing coordinates [x,y] (or screen coordinates? --> #2658).
The docs for MessageToast offset param is giving a wrong example. It says:
[...] (e.g. "0 10" to move the message toast 10 pixels to the right).
Should be:
[...] (e.g. "10 0" to move the message toast 10 pixels to the right).
https://github.com/SAP/openui5/blob/297723e6d589331cd44ab0476b2104a93a2db037/src/sap.m/src/sap/m/MessageToast.js#L362

Hello @fkriegl ,
I have created an internal incident 1980365313.
This way the colleagues can have a look into this and provide further information.
The status of the issue will be updated here in GitHub.
Kind Regards,
Nikolay Hristov

authors: NHristov-sap fkriegl


text:
[1.32.5] Documentation omission: How to define a composite control via xml file?

https://openui5.hana.ondemand.com/#docs/guide/c1512f6ce1454ff1913e3857bad56392.html talks about defining a composite control with a XML "OpenUI5 metamodel file".
How does one get this to actually be used when eg issueing  jQuery.sap.require for it? Background: I have a composite control for which the metamodel information would enough, I need no specific javascript code.
I was unable to find this in the documentation...

Forget about the metamodel files. That was an older approach that we used at a time when multi-platform support for UI5 was considered. The metamodel allowed us to generate partial control files from one API declaration.
But with the move to OpenUI5, this concept has been abandoned in favour of the JavaScript declaration (Control.extend("name", { metadata: { ...})). The wish to have a mostly tool-free build cycle led to this decision.
The documentation that you found is quite old (and outdated) and therefore still references the metamodel.
There newer was a mechanism to convert the metamodel files at runtime to a control - it was always done at build time for performance reasons.
Sorry for the potential confusion. I'll let documentation know.
BR, Frank

authors: DerGuteWolf codeworrior


text:
#1103 changes default to full width; adds inline option

#1103

@like-me1 The behavior of the input-group should match a plain input so we shouldn't ass side spacing. You would use it in a form__item which will give you a label and the correct side padding.

source: gharchive/pull-request

repo: SAP/techne


text:
[FEATURE] Ability to Share Service Instances

What area do you want to see improved?
terraform provider
Is your feature request related to a problem? Please describe.
I'm moving from a CloudFoundry environment into a Kyma environment, and it would be very helpful to enable a service to be consumed by both Kyma (via BTP Service Operator) and CloudFoundry at the same time.
My understanding is that this can be done via the btp share services/instance command on the BTP CLI. However, I can't find any way to do this with the existing BTP TF provider. One can read whether the service is shared, but cannot set whether it is shared. As a result, I have to share the service via the BTP CLI as a separate command in order to then pick up the service in my Kyma environment Terraform.
Describe the solution you would like
On the subaccount_service_instance resource, I think it would make sense to have a value, shared, that defaults to false. When set to true, is reconciled by performing this command.
Describe alternatives you have considered
No response
Additional context
No response

@SeanKilleen Thanks for the valuable feedback. I added this to our backlog.
Please be aware that the described sharing of service instances is service-dependent, so your approach must be validated against the different services in your solution

@lechnerc77 thanks - I did come to that conclusion as well. There did not seem to be any easy way to tell which services were shareable. I ended up moving my Kyma instance into its own subaccount to create a new credstore instance that we can move to. And, the BTP terraform was quite useful in that, so thank you!

It looks like I may have been able to achieve this had I used a different parameter. https://answers.sap.com/questions/13976090/sharing-a-credential-store-instance-between-cloudf.html?childToView=13984730
Since we're all in on Kyma, I won't be able to explore this further. I'm fine if it's closed because it doesn't represent a realistic backlog item.

The way forward you referenced is implementing the sharing via referencing it in the BTP service operator running in Kyma. This is one option, but I will leave this request open to check if there is the demand to include this BTP CLI command into the Terraform provider.

repo: SAP/terraform-provider-btp


text:
Vs30 differences between statewide map (ucvm.e) and CVM vs30 method

UCVM provides two methods of accessing vs30 values. The statewide topography and vs30 map provides vs30 values based on a wills site type, and vs30 relationship, or from a wald topography relationship.
UCVM also provides scripts for calculating vs30 from specific CVM models.
We should test the difference in vs30 values produced by each source of vs30. It's not clear which source of vs30 is more accurate.

Code now supports query Vs30 from model, or query Vs30 from etree model.

repo: SCECcode/UCVMC


text:
updated offset calculation, reduce factorial part. handle full scroll…

Hi please check the changes that I've made. I've found the issue with wrong offset calculation related to fraction part. And also layout behavior was extended with ability to scroll scrollview to top without hide floating panel.

I've found the issue with wrong offset calculation related to fraction part.

Sounds great! I will add some comments later.

And also layout behavior was extended with ability to scroll scrollview to top without hide floating panel.

Could you please tell me more detail?

hi sure. we want to have an ability to scroll scrollview to top and only after that hide floating panel. It's when we trying to resolve recognizer conflicts. I've added the new option that give ability scroll to top without issue until we reach top most position.

hi sure. we want to have an ability to scroll scrollview to top and only after that hide floating panel. It's when we trying to resolve recognizer conflicts. I've added the new option that give ability scroll to top without issue until we reach top most position.

I'm sorry I'm still not able to understand the API's effect and use case. I might need to know about  "full" scroll-to-top. I tried to use supportFullScrollToTop API as below, but I didn't know the change of a panel behavior with the API.
class FUllScrollToTopLayout: FloatingPanelLayout {
    var supportedPositions: Set<FloatingPanelPosition> {
        return [.full, .hidden]
    }
    var initialPosition: FloatingPanelPosition {
        return .full
    }

    func insetFor(position: FloatingPanelPosition) -> CGFloat? {
        return FloatingPanelDefaultLayout().insetFor(position: position)
    }

    func supportFullScrollToTop() -> Bool {
        return true
    }
}

hi ))
Ok, here I'm trying to prevent close panel until the scroll position will be on top. In our case we found some incorrect behavior with recognizers, when you have a long feed and scroll it to top. in 50% of cases user close the panel, instead of scrolling top. This key: supportFullScrollToTop prevent this behavior until we do not scroll to top. the default behavior in extension does not change the main behavior. You can only set it to true if you will face with this kind of issue.

In our case we found some incorrect behavior with recognizers, when you have a long feed and scroll it to top. in 50% of cases user close the panel, instead of scrolling top.

I got it. It should be resolved. I suppose that the expect behavior is close to scroll handling of Sheet modal on iOS 13. Is my understanding correct?
And now I'v recognized the lib's scroll handling isn't working well on the full-only layout, but unfotunatelly I haven't be able to feel the effect of supportFullScrollToTop.

Could you please split supportFullScrollToTop feature from the PR?
Because I would like to merge your fix of offset calculation at first and then discuss and apply the new feature on a new PR.

Could you please split supportFullScrollToTop feature from the PR?
Because I would like to merge your fix of offset calculation at first and then discuss and apply the new feature on a new PR.

probably would be better to not split the PR, I've send you an video how it works without those changes.

please check

@dmytrofrolov1
Thank you for your commits! I so appreciate your PR and our discussion. Unfortunately you added some additional 4 spaces line, but I will take care of them later.

repo: SCENEE/FloatingPanel

license: MIT


text:
Many places on the system throwing an error message

Many places on the system are throwing a generic "An error has occurred" error message. This error message needs to be more specific.

Error changed to be more specific.

repo: SCantan/Typhoon

license: mit


text:
Not able to add SPM in frameworks

While importing SDWebImageSwiftUI in different project instead of the main project, I'm getting this Waring
Module 'SDWebImageSwiftUI' was not compiled with library evolution support; using it means binary compatibility for 'AAA' can't be guaranteed

See: https://github.com/SDWebImage/SDWebImageSwiftUI?tab=readme-ov-file#backward-deployment-on-ios-122
SPM at that time ( 4 years ago) don't supports to control Library Evolution on or off
I don't know whether it's supported now ?

repo: SDWebImage/SDWebImageSwiftUI


text:
Closes #273 | Implement dataloader for UIT_ViON

Closes #273.
Checkbox

[x] Confirm that this PR is linked to the dataset issue.
[x] Create the dataloader script seacrowd/sea_datasets/my_dataset/my_dataset.py (please use only lowercase and underscore for dataset naming).
[x] Provide values for the _CITATION, _DATASETNAME, _DESCRIPTION, _HOMEPAGE, _LICENSE, _URLs, _SUPPORTED_TASKS, _SOURCE_VERSION, and _SEACROWD_VERSION variables.
[x] Implement _info(), _split_generators() and _generate_examples() in dataloader script.
[x] Make sure that the BUILDER_CONFIGS class attribute is a list with at least one SEACrowdConfig for the source schema and one for a seacrowd schema.
[x] Confirm dataloader script works with datasets.load_dataset function.
[x] Confirm that your dataloader script passes the test suite run with python -m tests.test_seacrowd seacrowd/sea_datasets/<my_dataset>/<my_dataset>.py.
[ ] If my dataset is local, I have provided an output of the unit-tests in the PR (please copy paste). This is OPTIONAL for public datasets, as we can test these without access to the data files.

@Alex-HaochenLi I forgot earlier. Could you please an empty __init__.py?

authors: Alex-HaochenLi holylovenia

repo: SEACrowd/seacrowd-datahub


text:
Fixed navigation arrows on events page.

Past behaviour: Arrows at 100px from the top.
Current behaviour: Arrows translating 45vh in the y-direction.
Changes in file: src\pages\events.svelte
Also built using npm run build.

This will be problematic as when images don't load it will just jump to the next Container and be out of place. Also when images are not of the appropriate size, it will either be poorly positioned (as is now) or it will again be outside container

repo: SEDSCelestiaBPGC/Korolev


text:
Nybble / fixing optional field in events but listed in rule

sometimes, events are not containing all fields present in the rule which has triggered the alert.
Fixing the code to handle this.

The code looks good to me. Can you add a litlle entry in the changelog? Thanks.

Thanks ! changelog entry added

repo: SEKOIA-IO/automation-library


text:
Add extlibs for arm64-v8a and x86_64 on android

The included extlibs do not provide binaries for all supported ABIs of the current NDK.
I could update the scripts and make a PR but since it will contain binaries probably a team member should do it?

Feel free to update the scripts, but maybe the better solution would be to find some way to allow people to build them themselves. I'm not a real fan of binaries in a repository. It's less about security for me, but bloat (thanks, slow internet connection!).
In theory, CMake is capable of downloading and building most dependencies as an external project. I think the only one which always gave me trouble is libFLAC.

Yes, Cmake has some great functionality to checkout and build dependencies, that would be my preferred way to handle them too

the SFML team could always create a separate repository for dependencies and create build scripts for them and add the sfml-dependencies repository as a git submodule to the sfml repository thus providing both build scripts for all dependencies and by adding it as a submodule ensuring the end user receives the dependencies, you could even make the SFML cmake build script build dependencies if they haven't been already completely automating the process, i have already done this with my engine which uses SFML as its base, though my code wont be compatible since i merely used SFML source not the library directly

This has been implemented with #2165

authors: AlexAUT DanielDorn JonnyPtn MarioLiebisch eXpl0it3r

repo: SFML/SFML

license: Zlib


text:
Can't run any programs in SFML without it crashing.

Any SFML program (Sorry if this post is bad, actually my first one in my entire life on any platform)
The title says it all, can't even run the test program on the SFML site, watch the video for more info.

Windows 11
SFML 2.5.1
Visual Studio 2022

This is the code i'm trying to use, but it does it with any code.
#include <SFML/Graphics.hpp>
#include <SFML/GpuPreference.hpp>

int main()
{
    sf::RenderWindow window(sf::VideoMode(1280, 720), "Test");
    window.setVerticalSyncEnabled(true);

    sf::RectangleShape rect;

    sf::Vector2f rectanglePosition(600, 350);

    rect.setPosition(rectanglePosition);

    rect.setSize(sf::Vector2f(100, 100));

    float xVelocity = 3;
    float yVelocity = 3;

    while (window.isOpen())
    {

        sf::Event event;

        while (window.pollEvent(event))
        {

            if (event.type == sf::Event::Closed) window.close();

            if (sf::Keyboard::isKeyPressed(sf::Keyboard::Escape)) window.close();

        }

        //Physics

        if (rectanglePosition.x < 0 || rectanglePosition.x > 1280) xVelocity *= -1;
        if (rectanglePosition.y < 0 || rectanglePosition.y > 720) yVelocity *= -1;

        rectanglePosition.x += xVelocity;
        rectanglePosition.y += yVelocity;
        rect.setPosition(rectanglePosition);

        //Rendering
        window.clear();

        window.draw(rect);

        window.display();

    }

    return 0;
}

https://user-images.githubusercontent.com/117928116/201439568-bfc7ad7f-a2bc-45d8-9809-764da3d136fb.mp4

I got helped by 2 SFML developers and some guys on the SFML Discord server, we tried everything, CMake, vcpkg. It only does this for me, i tried it on a VM and it works, updated drivers and the GPU is a Nvidia 2070 that works just fine, CPU Ryzen 7 3700x, 16GB ram.

I helped them build from vcpkg. They were able to build and link.
I was informed that they updated their graphics drivers.

We tried the following when attempting to help this user:

Verified their initial Visual Studio project was configured correctly for x86 Debug/Release
Got them to configure their Visual Studio project for x64 Debug/Release
Built from source using the CMake template project
Used vcpkg to install SFML then use in a Visual Studio project
Swap between FPS/Vsync (can't remember why we tried this)
Update GPU drivers
Got them to build the basic green circle example from the website (also produced the same errors in the log)

This is unlikely an SFML issue.

Try running any other OpenGL applications.
Make sure you're not running any odd system-wide "utility" applications, like Flux or similar
Run a basic OpenGL-only application (e.g. render a triangle with OpenGL only)
Use gDebugger or similar to get more information on the actual failure
Ensure your PATH doesn't contain some broken OpenGL DLL
Do a clean install of your GPU driver (remove e.g. with Display Driver Uninstaller) and reinstall it
Reseat your GPU
Reinstall Windows 🤷


text:
Fix NULL in Android EGL_DEFAULT_DISPLAY

Thanks a lot for making a contribution to SFML! 🙂
Before you create the pull request, we ask you to check the follow boxes. (For small changes not everything needs to ticked, but the more the better!)

[x] Has this change been discussed on the forum or in an issue before?
[x] Does the code follow the SFML Code Style Guide?
[ ] Have you provided some example/test code for your changes?
[ ] If you have additional steps which need to be performed list them as tasks!

Description
This PR is related to the issue #1639
Tasks

[x] Tested on Android

How to test this PR?
I have this code in a complete Android app which I linked in the issue: https://github.com/sevagh/ElectroPARTYogram/commit/96e9d9e5c619a03faaa54f443d224f0d2be0dc51#diff-37bf2c59ebc2b07df4acb6df16d6fd006ae639c855a4bd65547edbc09932d673

SFMLBuildMaster: Build this please.

SFMLBuildMaster: Build this please.

Thanks a lot for the fix! 🙂

Thanks a lot for the fix! 🙂


text:
Remove standard '' depedency in common headers

Description
The standard <algorithm> header is expensive to compile in comparison to other standard headers. I have benchmarked this myself using clang++ -ftime-trace on a large SFML-powered codebase and it has also been experienced and verified by others in the past.
When benchmarking, I've noticed that many of my object files were taking an unexpected extra 800-900ms to compile due to <algorithm> being brought in by Rect.hpp. Upon investigation, I noticed that Rect.hpp only needs std::min and std::max -- including <algorithm> is overkill for that functionality.
Furthermore, Rect.hpp's usage of std::min and std::max is only on primitive types, which can generate suboptimal codegen when taken by reference in functions.
I removed the <algorithm> dependency in Rect.hpp by implementing two private static functions (getMin and getMax). I have also removed another <algorithm> depedency in JoystickImpl.hpp by using some simple loops.
Some other SFML files relied on transitive <algorithm> inclusion of std::size_t (which is pretty bad), so I fixed those by explicitly including <cstddef>.
Tasks

[ ] Tested on Linux
[x] Tested on Windows
[ ] Tested on macOS
[ ] Tested on iOS
[ ] Tested on Android

How to test this PR?
Compile/run entirety of SFML + test suite.

I'm personally not a fan of this change, I don't think the benefit is worth it for the majority of users and prefer to keep the code cleaner/simpler

Not a fan of std::min/std::max change. However, replacing std::fill by a simple loop looks easier to understand to me.

@JonnyPtn @eliasdaler: I would keep the code as is if there weren't actual tangible benefits to this change. Unfortunately, until C++20 modules become widespread, header files come with a large baggage -- they're literally a copy-paste mechanism.
The <algorithm> header is one of the most expensive ones to include in terms of compilation time (see this article) and I have benchmarked it myself.
I have about 20 objects files in my project that end up depending on Rect.hpp due to transitive dependencies, and after this PR, each one takes 700-800ms less to compile which is a huge improvement for me. If this is not merged, it is worthwhile for me to maintain my own fork of SFML.
I think this change will benefit many users with faster compilation time, and possibly better codegen as std::min/std::max always take their argument by reference, which is a pessimization for primitive types.

Okay, faster compilation argument is pretty strong.
However, I think it's better to make replacement min/max functions free functions (somewhere in sf::priv namespace) instead of member functions.

Not to invalidate this PR, but wouldn't pre-compiled headers solve this issue for your code base?
It saved quite a lot of time in the ÖbEngine, but I'm not deep enough in the whole C++ build system world to fully judge.
I vote against the JoystickImpl changes:

Using algorithms over loops is the preferred way
It only adds to the SFML compile-time and not SFML user code compile-time

I agree that Rect.hpp as Vector2.hpp and similar should be lightweight enough, since they should be used generously.
Changing the private interface of a class to avoid a standard header doesn't seem like the best solution.
Would templated free functions in an anonymous namespace also work?

@SuperV1234 Can you share the results of your benchmark? I'm fully aware of how includes work and the costs involved, I'm just not convinced the cost here is significant enough to warrant the changes.
In my benchmarks the difference is so negligible as to almost be unnoticeable - can you provide more details on your benchmarks?

Discussed on Discord, not going forward with this idea as the advantages probably do not outweigh having to reimplement and maintain our own min/max and people should use PCH instead.

@SuperV1234 Could you summarize the important points from the Discord discussion here?
I'm generally also a fan of reducing compile times, especially if gets significant gains (almost 1s for a user) for little changes.
PCH are nice, but still a workaround and often intrusive (one needs to change every translation unit).
I don't think SFML (or many C++ libraries, for that matter) will migrate to C++20 modules anytime soon.

@Bromeon

Could you summarize the important points from the Discord discussion here?

At least three users felt that PCH is a better solution, some quotes:

it's not our job to optimize the compilation process of the users

pre-compiled headers are a thing and most big projects I've worked on uses them

(referring to the benefit of this PR)  A few seconds for every build of every project using SFML. That would be worth it, if there's no alternative, like PCH

It's not a few seconds for every project

it's bad code design to do it for a few and not all. It's inconsistent and doesn't give any big real advantage. It becomes a maintenance issue

Setting up PCH is as non-trivial as setting up a third party library like SFML. It's far from being as complicated as people make it to be

CMake even supports it, it's a peice of cake

Having never done any PCH before in my life, I was able to add it to a project I'm not really familiar with in a very short time period

At least one user felt that this could set a precedent for micro-optimization of compile-times

It would set a precedent though - where do we draw the line on micro-optimisations for users case studies?

we'd need our own utility/stdlib replacement header

And this is my main argument for not changing it - current code is cleanest, and there’s no strong empirical argument to change

On the context of possible run-time optimization when min/max do not get inlined, people felt debug performance is not important and the possible optimization is not guaranteed/worth it

Debug build performance DOES NOT matter

Thanks! While I don't agree with the "it's not our job" or "micro-optimization" arguments (it's almost 1s after all), I also don't see a nice solution other than rewriting min/max from scratch. I wouldn't have anything for such isolated instances, but this looks a bit like the start of "rewrite STL because we know better" trap that many game engines fell into.
But yes, dependencies in headers are a big problem in C++, especially with templates. There are countless workarounds at the build system level, but no really nice solutions in the language (not sure about modules). Just for completeness, explicit instantiation of the templates (for float, int, unsigned int) would also be a possibility, but I don't think it makes sense for SFML, and it would break user code that uses Rect, Vector2 and Vector3 with other types.


text:
9.longest_substring.cpp

Pull Request Template
What have you Changed(must)
Write here what you have changed in cosebase
i have solved problem of finding longest substring in a given string in C++.
Issue no.(must) - #9
Pr will be close and marked as spam. If issue number not found or issue was assigned to someone else.
Marking as spam can block your account from HacktoberFest.
Self Check(Tick After Making pull Request)

[ ] This issue was assigned to me if not it will marked as spam.
[x] My file is in proper folder
[x] I am following clean code and Documentation.
[ ] I have added title and what program will do first in the file
[ ] I have named the file as (Problem #). (Problem Title(in Camel Case)).(extension)
ex. 2. AddToNumbers.py

README - How to Contribute

i have solved

Please tell me where is issue no . Required and how to do.

@VIPUL662 you need to add the issue # to the PR text right next to "Issue no.(must) -"  Right here where its pointing, there would be an edit option at the three dots at top right of the post.

Sure

Good afternoon sir,
Please lable my contribution as hacktober fest accepted ,it is showing that your contribution is in review period.please sir solve this .

Hlo sir please solve my problem 🙏🙏🙏

repo: SHY-Corp/LeetCode-Solutions


text:
🛑 Timmerdorp is down

In c0ec45c, Timmerdorp (https://timmerdorp.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Timmerdorp is back up in fc8099c.

repo: SHoogland/upptime


text:
Update to pydantic v2

Use new way of configuring models and new type of validators.
Closes #12
I put this as a draft for now, to determine whether other parts of the code should be re-written according to new pydantic v2 functionality. Like, e.g., the dynamic model creation using create_model().
Furthermore, since dependencies of this package pin pydantic to v1 still, it is difficult to see an update happening right now.

~This PR now does a few things, along with migrating to pydantic v2~ (EDIT: Nope, it just migrates):

Use ruff instead of pylint and isort (this is also implemented in #19, so I advice to merge that one first and fix this afterwards).
EDIT: This has been done.
Update type annotations throughout the code base to be Python 3.10 styling (utilizing from __future__ import annotations, which should be removed once the minimum required Python version is set to 3.10).
EDIT: This has been reverted - it doesn't work. Since Python 3.9 is the minimum supported version, Python 3.9 style typing has been implemented everywhere. Note, this can also be done dynamically using the pyupgrade package with the --py39-plus option (for example as a pre-commit hook, if so desired).

@quaat and @Treesarj, I think I'll merge this. It shouldn't change any contents, really, just update usage of pydantic to pydantic v2 styling - and then there's a bit of static typing updates as well.


text:
🛑 Website is down

In 0ed786a, Website (ELTeam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Website is back up in 8eddde0 after 39 minutes.

repo: SIRMaxis/uptime-robot


text:
🛑 DNS1.electro is down

In 1506b8b, DNS1.electro (ns1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS1.electro is back up in 5cbe040 after 8 minutes.


text:
🛑 DE Server is down

In 54567a5, DE Server (de1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DE Server is back up in 163460c after 7 minutes.


text:
🛑 DNS1.electro is down

In f085bbe, DNS1.electro (ns1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS1.electro is back up in edf9d51 after 1 hour, 45 minutes.


text:
🛑 DNS2.electro is down

In cd8da6a, DNS2.electro (ns2.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS2.electro is back up in ead0f5c after 11 minutes.


text:
🛑 DNS1.electro is down

In c270af7, DNS1.electro (ns1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS1.electro is back up in e16da74 after 8 minutes.


text:
🛑 DNS1.electro is down

In de99ab0, DNS1.electro (ns1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS1.electro is back up in 6e751e3 after 19 minutes.


text:
🛑 Website is down

In 7cbd7a6, Website (ELTeam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Website is back up in 384d495 after 17 minutes.


text:
Run this cause PS Vita turn off

I just install normal version that for vita shell.
After install, I run the app and dark screen shown. Several seconds later my PS Vita turn off.
I am on 3.65 using enso.

This sounds like a plugin conflict or incompatible fw type.

What are your installed plugins?
Are you using any firmware mods such as testkit mod?
Are unsafe homebrews enabled in henkaku settings?

What are your installed plugins?
-download my config from link below.
https://www.dropbox.com/s/w7oyi38e4w74f96/config.txt?dl=0
Are you using any firmware mods such as testkit mod?
-I am not sure but my firmware is official and used enso.
Are unsafe homebrews enabled in henkaku settings?
-yes, it is enabled.

That's alot of plugins, just run VitaDeploy with plugins disabled (hold LT at boot). I will add a mention in the readme.

repo: SKGleba/VitaDeploy


text:
Bugfix: remove spurious Exception from questaal band_structure

Presumably this was added for debugging, and accidentally included in a commit. My bad!
Error was reported by @badw
The fact that this got through testing tells us that the testing could use some work! Still I'm inclined to push this out sooner rather than later, as currently Questaal band structures are broken in the PyPI release.
@utf is it ok if I do a quick merge and release for this?

Would you like to release so you can see how it works? Or should I?

Instructions are here btw: https://github.com/SMTG-UCL/sumo/blob/master/docs/admin/version-releases.md

Sure, I'll have a go!

Great. Looks like it went smoothly!

authors: ajjackson utf

repo: SMTG-UCL/sumo


text:
fix no unused vars lint error

Esse erro impede o build ocorrer sem problemas.
Antes

Depois

Ótimo catch Lucas, mb!

authors: MatheusDubin lucianomlima

repo: SOS-RS/frontend


text:
♻ 이미지 변경

세부 사항

에러 페이지의 이미지를 png로 변경했습니다.

기타 질문 및 특이 사항

비 상업적인 용도로 사용 가능합니다.

체크 리스트 (아래 사항들이 전부 체크되어야만 merge)

[x]  필요한 test들을 완료하였고 기능이 제대로 실행되는지 확인 하였습니다.
[x]  코드 스타일 가이드에 맞추어 코드를 작성 하였습니다.
[x]  제가 의도한 파일들과 수정 사항들만 커밋이 된 것을 확인 하였습니다.
[x]  본 수정 사항들을 팀원들과 사전에 상의하였고 팀원들 모두 해당 PR에 대하여 알고 있습니다.

This pull request has been deployed to Vercel.

Latest commit:
ac516c1

✅ Preview:
https://space-dev-club-front-rg1z3vttv-junghoon-p.vercel.app

🔍 Inspect:
https://vercel.com/junghoon-p/space-dev-club-front/EoJML3qYsGbE2MA6PHrNFWDRQoxz

View Workflow Logs

이미지가 예뻐졌네요ㅎㅎ


text:
Crash when closing the player

On some test devices (iPad Mini, iOS 9), we encounter crashes when closing the media player. Those seem to be related to picture in picture.
The problem is probably related to the device (a slow one) or the iOS version. I could not reproduce it with an iPad Air 2 running on iOS 10.
Issue overview

[ ] Incorrect behavior
[ ] Feature request
[X] Crash
[ ] Help / documentation
[ ] Other: classification

Description of the problem
The stack trace is entirely made of internal system calls and does not involve SRG media player library or the demo in any way:
* thread #1: tid = 0x344a2, 0x0000000181f76b40 CoreFoundation`___forwarding___ + 700, queue = 'com.apple.main-thread', stop reason = EXC_BREAKPOINT (code=1, subcode=0x181f76b40)
  * frame #0: 0x0000000181f76b40 CoreFoundation`___forwarding___ + 700
    frame #1: 0x0000000181e74c5c CoreFoundation`_CF_forwarding_prep_0 + 92
    frame #2: 0x0000000181e589b4 CoreFoundation`-[__NSArrayM dealloc] + 152
    frame #3: 0x00000001815f1ae8 libobjc.A.dylib`(anonymous namespace)::AutoreleasePoolPage::pop(void*) + 508
    frame #4: 0x0000000181e509fc CoreFoundation`_CFAutoreleasePoolPop + 28
    frame #5: 0x00000001873889e4 UIKit`_prepareForCAFlush + 352
    frame #6: 0x000000018738e320 UIKit`_beforeCACommitHandler + 16
    frame #7: 0x0000000181f28728 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
    frame #8: 0x0000000181f264cc CoreFoundation`__CFRunLoopDoObservers + 372
    frame #9: 0x0000000181f268fc CoreFoundation`__CFRunLoopRun + 928
    frame #10: 0x0000000181e50c50 CoreFoundation`CFRunLoopRunSpecific + 384
    frame #11: 0x0000000183738088 GraphicsServices`GSEventRunModal + 180
    frame #12: 0x0000000187132088 UIKit`UIApplicationMain + 204
    frame #13: 0x00000001000c4bd4 SRGMediaPlayer-demo`main(argc=1, argv=0x000000016fd4ba98) + 124 at main.m:14
    frame #14: 0x00000001819ee8b8 libdyld.dylib`start + 4

If enabling zombies, the following information is logged to the console when the crash is encountered:
2017-03-17 08:53:42.170 SRGMediaPlayer-demo[916:214178] *** -[PGHostedWindow release]: message sent to deallocated instance 0x13fe58600

The PGHostedWindow class belongs to Pegasus.framework, a private framework intended for picture in picture. This seems plausible, as the crash does not happen on non PiP enabled devices.
Environment information

Library version: 2.0
iOS version: 9.3.4
Device: iPad Mini

Reproducibility

[X] Always reproducible
[ ] Difficult to reproduce

Steps to reproduce

Open the media player demo on a device (not all devices will suffer the crash, see above)
Play with the custom timeshift / segment demos, opening and dismissing them in a row, until the crash occurs

I couldn't reproduce this issue with the most recent version of the library and of the associated demo, on the same iPad still running iOS 9.3.4. The many fixes made to the tricky custom transition animation are probably the reason why everything now works without crashing.
I will therefore close this ticket.

repo: SRGSSR/SRGMediaPlayer-iOS


text:
Gather player metrics

Description
This PR gathers player metrics by reading player item access logs.
Changes made

Add Metrics public type, providing information (server, uri, etc.) as well as total values (e.g. number of stalls) and increments between consecutive measurements.
Store consolidated uninterrupted session metrics in properties.
Provide accessor for current metrics retrieval at any time.
Add publisher periodically publishing metrics.
Update non-working SWI example.

Checklist

[x] APIs have been properly documented (if relevant).
[x] The documentation has been updated (if relevant).
[x] New unit tests have been written (if relevant).
[x] The demo has been updated (if relevant).

@waliid Thanks for approving the PR as it is. We can still discuss any coding style improvements tomorrow and make changes on future branches.

repo: SRGSSR/pillarbox-apple


text:
Column by name

Hi, tanks for your work.
Is there a way to get column by name instead of index.
Or could you add this to your todo list.

Thanks for your work.

repo: SRombauts/SQLiteCpp


text:
Function descriptions not supported in distributed

Expected Behavior
When using HPX with APEX, typically function descriptions are used to hold annotate_function() annotated_function() and action descriptions.
Actual Behavior
When executing in distributed mode, only locality 0 has valid thread descriptions, and tasks aren't annotated correctly.  Most end up as <unknown>.
Steps to Reproduce the Problem
... Please be as specific as possible while describing how to reproduce your problem.

Configure HPX for distributed execution, and with APEX enabled
Run a distributed example (any will do), with the environment variable APEX_CSV_OUTPUT=1
At the end of execution, apex.0.csv will have accurate results, but apex.1.csv will not

Specifications
... Please describe your environment

HPX Version:  current master
Platform (compiler, OS):  all

@hkaiser @biddisco FYI

I think this has been resolved by #4257. Please reopen if necessary.

authors: hkaiser khuck

repo: STEllAR-GROUP/hpx


text:
Doc updates starting the hpx runtime

Update the old branch

bors merge

authors: dimitraka hkaiser


text:
🛑 SPCast / Loadbalancer is down

In aaf761c, SPCast / Loadbalancer (https://loadbalancer.sp.radio.fm/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SPCast / Loadbalancer is back up in c7aa133 after 8 minutes.


text:
BUG: Top Contributor Component Hiding Under Footer in Mobile version

Is there an existing issue for this?

[X] I have searched the existing issues

What went down?
The Top Contributor is box which at the bottom of the mobile version is partially hidden by the footer, that must be fixed.

@SUGAM-ARORA Assign this to me
Record

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

@MinavKaria Issue assigned to you

authors: MinavKaria SUGAM-ARORA

repo: SUGAM-ARORA/UniCollab


text:
mkcloud: cleanup duplicate want_* proposal vars

because people can already use e.g. want_aodh_proposal=0

maybe the comment needs to be a bit more verbose about what is on and off by default

authors: bmwiedemann jdsn

repo: SUSE-Cloud/automation


text:
Airship doc 05 20

edits, typos, clarification, flow

not intended to merge into master branch


text:
Better Sub-URI handling & configurable config-local.yml path

Hi,
Would you mind to add these changes? Both are falling back gracefully and therefore shouldn't break anything.
First change improves Sub-URI compatibility with non-passenger setups: you just set RAILS_RELATIVE_URL_ROOT environment variable to something like /portus and app server starts to serve Portus from subdirectory.
Second change adds ability to set custom path to config-local.yml file by setting PORTUS_LOCAL_CONFIG_PATH environment variable. This is helpful when setting up on Kubernetes where it's not possible to mount just single file to container, but directory.

LGTM, nice idea the PORTUS_LOCAL_CONFIG_PATH

LGTM, thanks for this :+1:
That being said, rubocop is complaining about the code style. Could you fix that ?

This fix should be backported into the v2.0 branch.

@mssola please cherry-pick this commit into the v2 branch

@mssola Sorry about that, I fixed it.

@leshik thanks :clap:

Cherry-picked into the v2.0 branch. See this and this commits.

authors: flavio leshik mssola

repo: SUSE/Portus


text:
archiving the aws service broker directory

This PR is intended to archive the AWS service broker directory since its no longer needed as the upstream AWS service broker works now.
Docs have been updated:
https://www.suse.com/documentation/cloud-application-platform-1/singlehtml/book_cap_guides/book_cap_guides.html#sec.cap.aws-service-broker
Details: https://trello.com/c/9vxkwy92/916-archive-the-aws-service-broker-wrapper-repo

:+1:

authors: bikramnehra btat

repo: SUSE/cf-brokers


text:
what should be done

Heyy Hii!!
THE CHALLENGE IS GOINGG REALLY WELL
But, what should be done if i was not able to solve some dayyy
it the certificate based of like day 1 to day 10 or any 10 days of the challenge

Hi
It's great to know that the challenge is going really for you.
The certificates will be awarded based on completion of all problems from day 1 to day 10, day 1 to day 21 and day 1 to day 31.
You have time to solve the problems till Jan 15th. So I suggest you don't give up and take your time and try to solve at least all the first 10 problems.

Hi
It's great to know that the challenge is going really well for you.
The certificates will be awarded based on completion of all problems from day 1 to day 10, day 1 to day 21 and day 1 to day 31.
You have time to solve the problems till Jan 15th. So I suggest you don't give up and take your time and try to solve at least all the first 10 problems.


text:
xi_sum initialization c

File : main_bwa_hmm.c
Line 115: float *xi_sum;
Line 537: xi_sum = malloc(sizeof(*xi_sum)*nstates*nstates);
// sizeof(*xi_sum) is same as sizeof(float)
//xi_sum is a 2D array which is stored as 1D array
Line 336: memset(xi_sum 0, sizeof(float *)*nstates);
// xi_sum is initialized to zero, but it doesn't seem correct because it only initializes some bytes ( nstates * size of pointer) of xi_sum array instead of whole array (nstates * nstates * sizeof(float) )

Same as #36.

authors: elavoie naturegift

repo: Sable/Ostrich


text:
🛑 Rahanet Movie AF is down

In e46923d, Rahanet Movie AF (http://movie.af/) was down:

HTTP code: 403
Response time: 1016 ms

Resolved: Rahanet Movie AF is back up in de45146 after 11 minutes.

repo: Saboor-Hakimi/upptime


text:
Created /info

Includes statistics removed from the restart message

Added fix for not being able to timeout for 1 minute

repo: Sachin-dot-py/r-igcse-bot


text:
feat: basic implementation of partial evaluator service

Closes partially #603
Summary of Changes

Add partial evaluator service. This replaces the old toConstantExpressionOrUndefined function.
Improve the model classes that represent evaluation results.
Evaluate more types of expressions.
Add more tests.

Still TODO in a future PR: Add tests for the model classes, particularly for their toString and equals methods, and include them in the coverage computation.

:tada: This PR is included in version 0.2.0 :tada:
The release is available on:

Visual Studio Marketplace
GitHub release

Your semantic-release bot :package::rocket:

repo: Safe-DS/DSL


text:
PLFM-4266

Extend ACTAccessRequirement object

Great job!

authors: brucehoff kimyen


text:
Set default branch to main

Most developers expect the default branch to be main.
Tagging @rrchai

Done

repo: Sage-Bionetworks/rocc-schemas


text:
feat(data): add minor gray hover state

Add action minor gray 700 for use on subtle button hover state (on darkbg)

:tada: This PR is included in version 4.22.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: carbonci ljemmo

repo: Sage/design-tokens


text:
KeyError instances from

This is related to #327 . The following 9 chunks from social0.2 (from AEON3 and AEON4) have errored out during acquisition.Environment ingestion.
[{'experiment_name': 'social0.2-aeon3',
  'chunk_start': datetime.datetime(2024, 2, 25, 17, 0)},
 {'experiment_name': 'social0.2-aeon3',
  'chunk_start': datetime.datetime(2024, 2, 28, 12, 0)},
 {'experiment_name': 'social0.2-aeon3',
  'chunk_start': datetime.datetime(2024, 3, 1, 15, 0)},
 {'experiment_name': 'social0.2-aeon4',
  'chunk_start': datetime.datetime(2024, 2, 5, 14, 0)},
 {'experiment_name': 'social0.2-aeon4',
  'chunk_start': datetime.datetime(2024, 2, 13, 13, 0)},
 {'experiment_name': 'social0.2-aeon4',
  'chunk_start': datetime.datetime(2024, 2, 13, 14, 0)},
 {'experiment_name': 'social0.2-aeon4',
  'chunk_start': datetime.datetime(2024, 2, 13, 14, 48, 13)},
 {'experiment_name': 'social0.2-aeon4',
  'chunk_start': datetime.datetime(2024, 2, 13, 14, 56, 28)},
 {'experiment_name': 'social0.2-aeon4',
  'chunk_start': datetime.datetime(2024, 2, 25, 17, 0)}]

For example, running the following code yields a KeyError.
from aeon.schema.schemas import social02
from aeon.io.api import load
from aeon.dj_pipeline import acquisition
import pandas as pd
import datetime

key = {'experiment_name': 'social0.2-aeon3',
  'chunk_start': datetime.datetime(2024, 2, 25, 17, 0)}

chunk_start, chunk_end = (acquisition.Chunk & key).fetch1("chunk_start", "chunk_end")
raw_data_dir = acquisition.Experiment.get_data_directory(key)
stream_reader = getattr(social02.Environment, "SubjectVisits")
stream_data = load(
    root=raw_data_dir.as_posix(),
    reader=stream_reader,
    start=pd.Timestamp(chunk_start),
    end=pd.Timestamp(chunk_end),
)

---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/core/indexes/base.py:3802, in Index.get_loc(self, key, method, tolerance)
   3801 try:
-> 3802     return self._engine.get_loc(casted_key)
   3803 except KeyError as err:

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/_libs/index.pyx:516, in pandas._libs.index.DatetimeEngine.get_loc()

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/_libs/index.pyx:545, in pandas._libs.index.DatetimeEngine.get_loc()

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/_libs/index.pyx:203, in pandas._libs.index.IndexEngine._get_loc_duplicates()

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/_libs/index.pyx:211, in pandas._libs.index.IndexEngine._maybe_get_bool_indexer()

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/_libs/index.pyx:107, in pandas._libs.index._unpack_bool_indexer()

KeyError: 1708880400000000000

The above exception was the direct cause of the following exception:

KeyError                                  Traceback (most recent call last)
File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/core/indexes/datetimes.py:736, in DatetimeIndex.get_loc(self, key, method, tolerance)
    735 try:
--> 736     return Index.get_loc(self, key, method, tolerance)
    737 except KeyError as err:

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/core/indexes/base.py:3804, in Index.get_loc(self, key, method, tolerance)
   3803 except KeyError as err:
-> 3804     raise KeyError(key) from err
   3805 except TypeError:
   3806     # If we have a listlike key, _check_indexing_error will raise
   3807     #  InvalidIndexError. Otherwise we fall through and re-raise
   3808     #  the TypeError.

KeyError: Timestamp('2024-02-25 17:00:00')

The above exception was the direct cause of the following exception:

KeyError                                  Traceback (most recent call last)
File ~/ProjectAeon/aeon_mecha/aeon/io/api.py:141, in load(root, reader, start, end, time, tolerance, epoch)
    140 try:
--> 141     return data.loc[start:end]
    142 except KeyError:

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/core/indexing.py:1073, in _LocationIndexer.__getitem__(self, key)
   1072 maybe_callable = com.apply_if_callable(key, self.obj)
-> 1073 return self._getitem_axis(maybe_callable, axis=axis)

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/core/indexing.py:1290, in _LocIndexer._getitem_axis(self, key, axis)
   1289     self._validate_key(key, axis)
-> 1290     return self._get_slice_axis(key, axis=axis)
   1291 elif com.is_bool_indexer(key):

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/core/indexing.py:1324, in _LocIndexer._get_slice_axis(self, slice_obj, axis)
   1323 labels = obj._get_axis(axis)
-> 1324 indexer = labels.slice_indexer(slice_obj.start, slice_obj.stop, slice_obj.step)
   1326 if isinstance(indexer, slice):

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/core/indexes/datetimes.py:809, in DatetimeIndex.slice_indexer(self, start, end, step, kind)
    804 if (
    805     check_str_or_none(start)
    806     or check_str_or_none(end)
    807     or self.is_monotonic_increasing
    808 ):
--> 809     return Index.slice_indexer(self, start, end, step, kind=kind)
    811 mask = np.array(True)

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/core/indexes/base.py:6559, in Index.slice_indexer(self, start, end, step, kind)
   6557 self._deprecated_arg(kind, "kind", "slice_indexer")
-> 6559 start_slice, end_slice = self.slice_locs(start, end, step=step)
   6561 # return a slice

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/core/indexes/base.py:6767, in Index.slice_locs(self, start, end, step, kind)
   6766 if start is not None:
-> 6767     start_slice = self.get_slice_bound(start, "left")
   6768 if start_slice is None:

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/core/indexes/base.py:6686, in Index.get_slice_bound(self, label, side, kind)
   6684     except ValueError:
   6685         # raise the original KeyError
-> 6686         raise err
   6688 if isinstance(slc, np.ndarray):
   6689     # get_loc may return a boolean array, which
   6690     # is OK as long as they are representable by a slice.

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/core/indexes/base.py:6680, in Index.get_slice_bound(self, label, side, kind)
   6679 try:
-> 6680     slc = self.get_loc(label)
   6681 except KeyError as err:

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/core/indexes/datetimes.py:738, in DatetimeIndex.get_loc(self, key, method, tolerance)
    737 except KeyError as err:
--> 738     raise KeyError(orig_key) from err

KeyError: Timestamp('2024-02-25 17:00:00')

During handling of the above exception, another exception occurred:

KeyError                                  Traceback (most recent call last)
File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/_libs/index.pyx:548, in pandas._libs.index.DatetimeEngine.get_loc()

File pandas/_libs/hashtable_class_helper.pxi:2263, in pandas._libs.hashtable.Int64HashTable.get_item()

File pandas/_libs/hashtable_class_helper.pxi:2273, in pandas._libs.hashtable.Int64HashTable.get_item()

KeyError: 1708880400000000000

During handling of the above exception, another exception occurred:

KeyError                                  Traceback (most recent call last)
File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/core/indexes/base.py:3802, in Index.get_loc(self, key, method, tolerance)
   3801 try:
-> 3802     return self._engine.get_loc(casted_key)
   3803 except KeyError as err:

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/_libs/index.pyx:516, in pandas._libs.index.DatetimeEngine.get_loc()

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/_libs/index.pyx:550, in pandas._libs.index.DatetimeEngine.get_loc()

KeyError: Timestamp('2024-02-25 17:00:00')

The above exception was the direct cause of the following exception:

KeyError                                  Traceback (most recent call last)
File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/core/indexes/datetimes.py:736, in DatetimeIndex.get_loc(self, key, method, tolerance)
    735 try:
--> 736     return Index.get_loc(self, key, method, tolerance)
    737 except KeyError as err:

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/core/indexes/base.py:3804, in Index.get_loc(self, key, method, tolerance)
   3803 except KeyError as err:
-> 3804     raise KeyError(key) from err
   3805 except TypeError:
   3806     # If we have a listlike key, _check_indexing_error will raise
   3807     #  InvalidIndexError. Otherwise we fall through and re-raise
   3808     #  the TypeError.

KeyError: Timestamp('2024-02-25 17:00:00')

The above exception was the direct cause of the following exception:

KeyError                                  Traceback (most recent call last)
Cell In[5], line 13
     11 raw_data_dir = acquisition.Experiment.get_data_directory(key)
     12 stream_reader = getattr(social02.Environment, "SubjectVisits")
---> 13 stream_data = load(
     14     root=raw_data_dir.as_posix(),
     15     reader=stream_reader,
     16     start=pd.Timestamp(chunk_start),
     17     end=pd.Timestamp(chunk_end),
     18 )

File ~/ProjectAeon/aeon_mecha/aeon/io/api.py:151, in load(root, reader, start, end, time, tolerance, epoch)
    149             warnings.warn(f"data index for {reader.pattern} contains duplicate keys!")
    150             data = data[~data.index.duplicated(keep="first")]
--> 151         return data.loc[start:end]
    152 return data

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/core/indexing.py:1073, in _LocationIndexer.__getitem__(self, key)
   1070 axis = self.axis or 0
   1072 maybe_callable = com.apply_if_callable(key, self.obj)
-> 1073 return self._getitem_axis(maybe_callable, axis=axis)

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/core/indexing.py:1290, in _LocIndexer._getitem_axis(self, key, axis)
   1288 if isinstance(key, slice):
   1289     self._validate_key(key, axis)
-> 1290     return self._get_slice_axis(key, axis=axis)
   1291 elif com.is_bool_indexer(key):
   1292     return self._getbool_axis(key, axis=axis)

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/core/indexing.py:1324, in _LocIndexer._get_slice_axis(self, slice_obj, axis)
   1321     return obj.copy(deep=False)
   1323 labels = obj._get_axis(axis)
-> 1324 indexer = labels.slice_indexer(slice_obj.start, slice_obj.stop, slice_obj.step)
   1326 if isinstance(indexer, slice):
   1327     return self.obj._slice(indexer, axis=axis)

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/core/indexes/datetimes.py:809, in DatetimeIndex.slice_indexer(self, start, end, step, kind)
    801 # GH#33146 if start and end are combinations of str and None and Index is not
    802 # monotonic, we can not use Index.slice_indexer because it does not honor the
    803 # actual elements, is only searching for start and end
    804 if (
    805     check_str_or_none(start)
    806     or check_str_or_none(end)
    807     or self.is_monotonic_increasing
    808 ):
--> 809     return Index.slice_indexer(self, start, end, step, kind=kind)
    811 mask = np.array(True)
    812 deprecation_mask = np.array(True)

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/core/indexes/base.py:6559, in Index.slice_indexer(self, start, end, step, kind)
   6516 """
   6517 Compute the slice indexer for input labels and step.
   6518
   (...)
   6555 slice(1, 3, None)
   6556 """
   6557 self._deprecated_arg(kind, "kind", "slice_indexer")
-> 6559 start_slice, end_slice = self.slice_locs(start, end, step=step)
   6561 # return a slice
   6562 if not is_scalar(start_slice):

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/core/indexes/base.py:6767, in Index.slice_locs(self, start, end, step, kind)
   6765 start_slice = None
   6766 if start is not None:
-> 6767     start_slice = self.get_slice_bound(start, "left")
   6768 if start_slice is None:
   6769     start_slice = 0

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/core/indexes/base.py:6686, in Index.get_slice_bound(self, label, side, kind)
   6683         return self._searchsorted_monotonic(label, side)
   6684     except ValueError:
   6685         # raise the original KeyError
-> 6686         raise err
   6688 if isinstance(slc, np.ndarray):
   6689     # get_loc may return a boolean array, which
   6690     # is OK as long as they are representable by a slice.
   6691     assert is_bool_dtype(slc.dtype)

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/core/indexes/base.py:6680, in Index.get_slice_bound(self, label, side, kind)
   6678 # we need to look up the label
   6679 try:
-> 6680     slc = self.get_loc(label)
   6681 except KeyError as err:
   6682     try:

File ~/.conda/envs/aeon/lib/python3.11/site-packages/pandas/core/indexes/datetimes.py:738, in DatetimeIndex.get_loc(self, key, method, tolerance)
    736     return Index.get_loc(self, key, method, tolerance)
    737 except KeyError as err:
--> 738     raise KeyError(orig_key) from err

KeyError: Timestamp('2024-02-25 17:00:00')

Thanks @JaerongA .
@jkbhagatio, these are the files to be manually fixed and placed into the preprocessed directory

@JaerongA any other chunks/files from other streams? (potentially ingestion errors from the streams schema)?

@ttngu207 Yes, there are 16 keys that errored out in the streams schema.
Here's the code and an error stack from one key. It's all key errors.
from aeon.schema import schemas
from aeon.io.api import load
from aeon.dj_pipeline import acquisition, streams
import pandas as pd
import datetime

key = {'experiment_name': 'social0.1-aeon3',
 'chunk_start': datetime.datetime(2023, 12, 1, 14, 0),
 'device_serial_number': 'COM15',
 'rfid_reader_install_time': datetime.datetime(2023, 11, 22, 10, 19, 33)}

chunk_start, chunk_end, dir_type = (acquisition.Chunk & key).fetch1(
    "chunk_start", "chunk_end", "directory_type"
)
raw_data_dir = acquisition.Experiment.get_data_directory(key, directory_type=dir_type)

device_name = (streams.RfidReader & key).fetch1('rfid_reader_name')

devices_schema = getattr(
    schemas,
    (acquisition.Experiment.DevicesSchema & {"experiment_name": key["experiment_name"]}).fetch1(
        "devices_schema_name"
    ),
)
stream_reader = getattr(getattr(devices_schema, device_name), "RfidEvents")

stream_data = load(
    root=raw_data_dir.as_posix(),
    reader=stream_reader,
    start=pd.Timestamp(chunk_start),
    end=pd.Timestamp(chunk_end),
)

keys
keys = [
    {
        "experiment_name": "social0.1-aeon3",
        "chunk_start": datetime.datetime(2023, 12, 1, 14, 0),
        "device_serial_number": "COM15",
        "rfid_reader_install_time": datetime.datetime(2023, 11, 22, 10, 19, 33),
    },
    {
        "experiment_name": "social0.1-aeon3",
        "chunk_start": datetime.datetime(2023, 11, 30, 15, 47, 19),
        "device_serial_number": "COM12",
        "rfid_reader_install_time": datetime.datetime(2023, 11, 22, 10, 19, 33),
    },
    {
        "experiment_name": "social0.1-aeon3",
        "chunk_start": datetime.datetime(2023, 12, 2, 15, 58, 34),
        "device_serial_number": "COM13",
        "rfid_reader_install_time": datetime.datetime(2023, 11, 22, 10, 19, 33),
    },
    {
        "experiment_name": "social0.1-aeon3",
        "chunk_start": datetime.datetime(2023, 12, 3, 13, 5, 15),
        "device_serial_number": "COM15",
        "rfid_reader_install_time": datetime.datetime(2023, 11, 22, 10, 19, 33),
    },
    {
        "experiment_name": "social0.1-aeon3",
        "chunk_start": datetime.datetime(2023, 11, 30, 13, 0),
        "device_serial_number": "COM13",
        "rfid_reader_install_time": datetime.datetime(2023, 11, 22, 10, 19, 33),
    },
    {
        "experiment_name": "social0.1-aeon3",
        "chunk_start": datetime.datetime(2023, 11, 30, 14, 0),
        "device_serial_number": "COM17",
        "rfid_reader_install_time": datetime.datetime(2023, 11, 22, 10, 19, 33),
    },
    {
        "experiment_name": "social0.1-aeon3",
        "chunk_start": datetime.datetime(2023, 12, 2, 15, 0),
        "device_serial_number": "COM13",
        "rfid_reader_install_time": datetime.datetime(2023, 11, 22, 10, 19, 33),
    },
    {
        "experiment_name": "social0.1-aeon3",
        "chunk_start": datetime.datetime(2023, 12, 3, 13, 30, 30),
        "device_serial_number": "COM15",
        "rfid_reader_install_time": datetime.datetime(2023, 11, 22, 10, 19, 33),
    },
    {
        "experiment_name": "social0.1-aeon3",
        "chunk_start": datetime.datetime(2023, 11, 30, 13, 55, 41),
        "device_serial_number": "COM13",
        "rfid_reader_install_time": datetime.datetime(2023, 11, 22, 10, 19, 33),
    },
    {
        "experiment_name": "social0.1-aeon3",
        "chunk_start": datetime.datetime(2023, 11, 30, 15, 0),
        "device_serial_number": "COM17",
        "rfid_reader_install_time": datetime.datetime(2023, 11, 22, 10, 19, 33),
    },
    {
        "experiment_name": "social0.1-aeon3",
        "chunk_start": datetime.datetime(2023, 11, 30, 15, 47, 19),
        "device_serial_number": "COM17",
        "rfid_reader_install_time": datetime.datetime(2023, 11, 22, 10, 19, 33),
    },
    {
        "experiment_name": "social0.1-aeon3",
        "chunk_start": datetime.datetime(2023, 12, 3, 13, 0),
        "device_serial_number": "COM15",
        "rfid_reader_install_time": datetime.datetime(2023, 11, 22, 10, 19, 33),
    },
    {
        "experiment_name": "social0.1-aeon3",
        "chunk_start": datetime.datetime(2023, 12, 2, 14, 0),
        "device_serial_number": "COM13",
        "rfid_reader_install_time": datetime.datetime(2023, 11, 22, 10, 19, 33),
    },
    {
        "experiment_name": "social0.1-aeon3",
        "chunk_start": datetime.datetime(2023, 11, 30, 14, 0),
        "device_serial_number": "COM12",
        "rfid_reader_install_time": datetime.datetime(2023, 11, 22, 10, 19, 33),
    },
    {
        "experiment_name": "social0.1-aeon3",
        "chunk_start": datetime.datetime(2023, 11, 30, 15, 0),
        "device_serial_number": "COM12",
        "rfid_reader_install_time": datetime.datetime(2023, 11, 22, 10, 19, 33),
    },
    {
        "experiment_name": "social0.1-aeon3",
        "chunk_start": datetime.datetime(2023, 12, 1, 14, 0),
        "device_serial_number": "COM12",
        "rfid_reader_install_time": datetime.datetime(2023, 11, 22, 10, 19, 33),
    },
]

Thanks @JaerongA
Looks like the errors are mostly from SubjectVisits and Rfid streams

Once the corrected data has been put in 'processed' I will let @ttngu207 @JaerongA know, to proceed with ingestion

@ttngu207 will provide an update with block and device info for those that are still causing this error

authors: JaerongA jkbhagatio ttngu207


text:
コマンドの補完機能

コマンドの補完機能を実装する

正直必要なさそうな気がするのでヘルプコマンドの作成で済ませることに

repo: Sakaki-Aruka/custom-crafter


text:
レシピのretuenにも正規表現を使えるようにする

return を正規表現で一括指定できるようにする

needless


text:
🛑 Nostr Relay - wss://nostr.oxtr.dev is down

In c4c98be, Nostr Relay - wss://nostr.oxtr.dev (https://nostr.oxtr.dev) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nostr Relay - wss://nostr.oxtr.dev is back up in a9081c2 after 19 minutes.

repo: Sakhalinfox/orangepilldevuptime


text:
Django 3.0+ Required

https://github.com/Salaah01/django-email-signals/blob/f05a80e5fa1ae26e58e69eee567417b6d483403e/setup.cfg#L30
In the config Django 2.2+ is listed as required but Singal.SignalTypeChoices uses models.TextChoices which was introduced in Django 3.0.

Good catch!
I'll update that

Good catch!
I'll change that later tonight and just double-check all the other packages.


text:
Add a page around transcription billing

@mgorkii-nlplogix any thoughts here towards adding a table that quickly outlines the pricing? I think Shawn's comment above covers my perspective while reading the doc - it's hard to understand how billing works if I don't have a clear perception of pricing. Yes, they could quickly navigate to the website page, but perhaps a quick table with our tiers as it stands today could help users get quicker answers.

authors: mgorkii-nlplogix seanwmiller

repo: SaladTechnologies/salad-cloud-docs


text:
If lead conversion creates the Household account, the Type field is not updated as with other HH Accounts

Thread.
Needs an update here to add the correct picklist value using the same constant for HH_Type?

**lurch: add

Tracking W-018741

Salesforce has determined that this issue will not be explored further.

authors: LurchTheButler judisohn mbeaty-sf

repo: SalesforceFoundation/NPSP


text:
Consider changing the name

Clear and concise description of the problem
This project seems to be more 'inspired by podgrab' than 'podgrab 2'. I expected there to be some shared code or contributors, but as far as I can tell this is an entirely separate project that just uses the name. Other potential users and contributors might arrive with similar expectations. Would you consider changing the name to signal the differences better?
Suggested solution
Names are hard, er... PodNab? Gatherpod?
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Yes you are right. I started from scratch and rebuilt the functionality of the original project which was written in Go/Vue. I didn't invest much time in the naming of the project so any suggestions are welcome. What would be the story behind PodNap or Gatherpod? Podgrab was the allusion to grabbing podcasts from the internet.

Found a good name while browsing some ideas: Podfetch - A sleek and efficient podcast downloader.


text:
Issue when installing one of the extra packages

For instance, when selecting dynongo in the last question, the package.json file looks like this.
  "dependencies": {
    "bragg": "^0.2.0",
    "bragg-router": "^0.2.0",
    "bragg-env": "^0.2.0",
    "bragg-route-invoke": "^0.1.0",
,
    "dynongo": "^0.6.0"
  },

Still an issue but now the output is valid
  "dependencies": {
    "bragg": "^0.2.0",
    "bragg-router": "^0.2.0",
    "bragg-env": "^0.2.0",
    "bragg-route-invoke": "^0.1.0"
,
    "dynongo": "^0.6.0"
  }

repo: SamVerschueren/generator-aws-lambda


text:
oAuthToken

Hello, looks like oAuthToken expiring after 1 year (365 days) after add.
is there any method to prevent it?
I need to re-add accounts, because getting 401 error exactly after 1 year after add account.

As far as I know, you will need to re-run the login function with the password. So one way to trigger that ensures each data file has a 'password' property and no 'oAuthToken' property.
Since I didn't really handle this error in the tool (my bad, didn't expect it), you may have to manually delete that property (or write a script to do so, if you have a lot of accounts).

Thank you for informations, so I will do it like before: I deleting .dat file (with account info) and re-adding it.

authors: SamerAlsayegh nextTOPMODEL

repo: SamerAlsayegh/node-steam-bot-manager


text:
Introduce csslint and htmlhint as dev packages

This will introduce csslint and htmlhint as development packages and run as pretest.
ONE-vscode-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@gmail.com

From draft #113

csslint tool fails if there is no .css file exist in the  directory...

repo: Samsung/ONE-vscode


text:
Improve Attribute-> Box Models input value

Technical
WATT/ VSCode
Description

box shadow : now default value is blank. Default value have to set.
border: It is difficult to recognize what value should be put in the first input field.
It need to guide (integer or range etc)
border radius:It is difficult to recognize what value should be put in the  input field.
It need to guide (integer or range etc)
==> There is a description of each property and range when  mouse is over
Set the border value and Save -> Select the widget in Template-> Open again the Box Model
: The input value is disappear. The set value should be remaind.
Border default color is black, but the border of widget color is not black.
Need to change the border default color.

Steps to reproduce

Create a new project in Design Editor
Select the Attributes and open the Box Model tab

Expected behaviour
It should be intuitive for using the Attribute->Box Model
==> There is a description of each property and range when mouse is over
Actual behaviour
It is difficult to recognize what value should be put in the  input field.

I have assigned incorrect issue to myself, sorry.

Summarizing this task consist of smaller issues:

[ ] Add placeholders to inputs where value is difficult to recognize
[ ] Add properties description on mouse over above inputs elements
[ ] Get real default values on inputs
[ ] Get values after saving documents

I've done placeholders today

Now I was working on hints on mouse over the inputs. The screenshot below shows cursor and the hint

I've investigated the next part of the problem. It turnt out more difficult that I expected ealier. I separate this issue into smaller ones #302 and #303. So I think we can close this issue.

authors: korneliakobiela pkaczmarczy singa2000

repo: Samsung/TAU-Design-Editor


text:
Run tests in CI with address and leak sanitizer

This would help to find issues like in https://github.com/Samsung/thorvg/issues/982 earlier
I suggest to use address and undefined sanitizer instead valgrind
e.g.
meson  -Dtools=svg2png -Db_sanitize=address,undefined . build

edit:
Hmm.... I see that CI is already setup, but strange that it green mark after commit hash shows only github pages

@JSUYA can you help for this?

This would help to find issues like in #982 earlier
I suggest to use address and undefined sanitizer instead valgrind e.g.
meson  -Dtools=svg2png -Db_sanitize=address,undefined . build

@qarmin Hi Thanks for the suggestion.
We don't have any plans yet for adding analyzer to a github action.
We will discuss this suggestion..

edit: Hmm.... I see that CI is already setup, but strange that it green mark after commit hash shows only github pages
oh I didn't understand. is this what you're talking about? https://github.com/Samsung/thorvg/actions/workflows/actions.yml
The badge on the main page shows the latest result of the action(pull_request).
I know we need to improve on this too.

Yup, now I see that running actions on push is not enabled and that is why I didn't see all results(Godot with push and thorvg without as example)

I worked to add valgrind test in CI. #1045
Unfortunately, i can't add ASAN.
I tested it on my forked git several times, but asan error was not detected. (unlike local environment)
So I hold adding this to CI.

It was a meson version problem that I couldn't apply asan.
Now, when a dev makes a PR, CI check for memory leaks and let us know in the comments if there are any problems. :)
https://github.com/Samsung/thorvg/pull/1059

authors: JSUYA hermet qarmin

repo: Samsung/thorvg


text:
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation

Excuse me, when I run python nasbench1_pred.py --dataset cifar10 --start 0 --end 1000, such error occurs at idx=22 :
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.DoubleTensor [1, 512, 8, 8]], which is output 0 of ReluBackward0, is at version 1; expected version 0 instead. Hint: enable anomaly detection to find the operation that failed to compute its
gradient, with torch.autograd.set_detect_anomaly(True).

idx = 22
Traceback (most recent call last):
  File "E:\jupyter file\zero-cost-nas-main\nasbench1_pred.py", line 110, in <module>
    measures = predictive.find_measures(net,
  File "E:\jupyter file\zero-cost-nas-main\foresight\pruners\predictive.py", line 118, in find_measures
    measures_arr = find_measures_arrays(net_orig, dataloader, dataload_info, device, loss_fn=loss_fn, measure_names=measure_names)
  File "E:\jupyter file\zero-cost-nas-main\foresight\pruners\predictive.py", line 82, in find_measures_arrays
    raise e
  File "E:\jupyter file\zero-cost-nas-main\foresight\pruners\predictive.py", line 67, in find_measures_arrays
    val = measures.calc_measure(measure_name, net_orig, device, inputs, targets, loss_fn=loss_fn, split_data=ds)
  File "E:\jupyter file\zero-cost-nas-main\foresight\pruners\measures\__init__.py", line 47, in calc_measure
    return _measure_impls[name](net, device, *args, **kwargs)
  File "E:\jupyter file\zero-cost-nas-main\foresight\pruners\measures\__init__.py", line 28, in measure_impl
    ret = func(net, *args, **kwargs, **impl_args)
  File "E:\jupyter file\zero-cost-nas-main\foresight\pruners\measures\synflow.py", line 54, in compute_synflow_per_weight
    torch.sum(output).backward(retain_graph=True)
  File "E:\anaconda\lib\site-packages\torch\_tensor.py", line 396, in backward
    torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs)
  File "E:\anaconda\lib\site-packages\torch\autograd\__init__.py", line 173, in backward
    Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.DoubleTensor [1, 512, 8, 8]], which is output 0 of ReluBackward0, is at version 1; expected version 0 instead. Hint: enable anomaly detection to find the operation that failed to compute its
 gradient, with torch.autograd.set_detect_anomaly(True).

I have the same problem. Have you tackled it?

Not sure why you see this problem while we did not when we originally run our experiments (could be a newer pytorch version?). However, the simple solution to problems like those is to avoid using in-place operations. Please check if you still experience problems when use change this line:
https://github.com/SamsungLabs/zero-cost-nas/blob/main/foresight/models/nasbench1.py#L169 to avoid using +=, and maybe for nb201 also try changing https://github.com/SamsungLabs/zero-cost-nas/blob/main/foresight/models/nasbench2_ops.py#L107 and line 109 to inplace=False.

It works for me. Thank you for getting back to me.

authors: thompsondd vaenyr zhengyuntao123

repo: SamsungLabs/zero-cost-nas


text:
🛑 Monetizemedia is down

In ebb8500, Monetizemedia (http://monetizemedia.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Monetizemedia is back up in 5c1c9d2 after 9 minutes.

repo: Sandip-XDS/upptime


text:
🛑 Eris - eris.co.in is down

In f3e418e, Eris - eris.co.in (https://eris.co.in) was down:

HTTP code: 503
Response time: 743 ms

Resolved: Eris - eris.co.in is back up in c1d03a4 after 2 hours, 9 minutes.


text:
🛑 Intelliloop is down

In f83fdf0, Intelliloop (https://www.intelliloop.app) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Intelliloop is back up in 5b9306f.


text:
🛑 ASCT Systems - asct.systems is down

In 92126e2, ASCT Systems - asct.systems (http://asct.systems) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ASCT Systems - asct.systems is back up in 422e83d after 19 minutes.


text:
Medals

Medials should be implemented in the encyclopedia.
In the original game, medals were a way to show off having cleared particular content with a certain unit. For instance, a medal to clear an Agito Uprising quest on Legend would be earned when you cleared it with character X, and then when you viewed character X's medals in the encyclopedia it would be there. The implicit encouragement here is to clear content with a wide range of units.
The wiki article contains a full list of the available medals: https://dragalialost.wiki/w/Medals
The proposed DB schema would be

DbMedalClear table [DeviceAccountId, QuestId, CharaId, ClearCount]

At a precursory glance and guessing at the right property name, this data appears to be sent in album/index via chara_honor_list
{
    "data_headers": {
        "result_code": 1
    },
    "data": {
        "chara_honor_list": [
            {
                "chara_id": 10140302,
                "honor_list": [
                    {
                        "honor_id": 100101
                    }
                ]
            }
        ]
    }
}

Here honor_id is an ID from the HonorData asset in the masterasset. A JSON dump of this is below which can be included as a MasterAsset instance in the code:
HonorData.json
Outstanding questions:

How do we go from a quest ID to an honor_id? Does not seem to be a way to link this using the data in the asset alone. A manual map may be required.
When viewing medals you see a quantity against each one, but the AtgenHonorList type only contains an honor_id and no quantity field or similar. Do we send the same honor_id multiple times to reflect quantity?

Hey @SapiensAnatis can you please add a bit more detail for this just while I get my head around the code base to begin with :)

@Antimeify Sure, I've fleshed out the description a bit describing the core mechanic and some initial investigation into what the client is expecting here.

authors: Antimeify SapiensAnatis

repo: SapiensAnatis/Dawnshard


text:
SARAALERT-908: Shorten report weblink

Description
Jira Ticket: SARAALERT-908
Game Plan
High Level Changes

Patient submission_token is changing from a 40 character hex string to a 10 character url-safe string
Jurisdiction unique_identifier (within the link) is changing from a 32 character hex string to a 10 character url-safe string
AssessmentReceipts will use new submission_token as soon as code is deployed and migration has taken place

Supporting Backwards Compatibility

Patients using old submission_tokens and unique_identifiers in their links will still be able to submit assessments via lookup tables

In assessment new/create/update methods, the patient_submission_token from the params is validated (for both the old and new variation) and if an old_submission_token is used, the lookup will find the new_submission_token
In assessment new, if a jurisdiction is not found based on the unique_identifier provided via the params, a lookup will be performed and if there's a match, the jurisdiction will still be found via the old unique_identifier

Deployment

Ensure that the deployment of this code and the migration happens at the same time (which it normally will)
Make sure there are no jurisdiction hash collisions during migration
No twilio changes will be needed

Post-Deployment Checks

Patient.where(purged: false).first.submission_token should be a 10 character string
Jurisdiction.first.unique_identifier should be a 10 character string
PatientLookup.first.old_submission_token
PatientLookup.first.new_submission_token
JurisdictionLookup.first.old_unique_identifier
JurisdictionLookup.first.new_unique_identifier

Sub-Tasks

[x] create migration

[x] create patient and jurisdiction lookup tables
[x] update patient and jurisdiction tokens (in assessment receipts as well) and identifiers and warn for duplicates

[x] update patient and jurisdiction tokens and identifiers in other places as well

[x] patients_controller (patient submission_token)
[x] api_controller (patient submission_token)
[x] admin.rake (jurisdiction unique_identifier)
[x] demo.rake (patient submission_token)

[x] create new routes

[x] shorter report route
[x] invalid link route

[x] update assessment controller to handle new and old submission tokens for backwards compatibility
[x] add initials-age to assessment form page
[x] update mailers

[x] use new link
[x] only send one combined message instead of two (intro and link)
[x] update locales with new intro message

[ ] get official translations from PO team

[x] system tests for assessments

[x] old link
[x] new link
[x] invalid link
[x] already reported

Important Changes
Please list important files (meaning substantial or integral to the PR) along with a list of the general changes that should be highlighted for reviewers.
schema.rb

added patient and jurisdiction lookup tables
update patients and jurisdictions with new tokens and identifiers

routes.rb

added new report routes and invalid link route

demo.rake

generate patient submission tokens with new method and add assessment receipts

admin.rake

generate jurisdiction unique identifiers with new method

patients_controller.rb

generate patient submission tokens with new method

assessments_controller.rb

modify new/create/update methods to handle new submission tokens and unique identifiers

SymptomsAssessments.js

added initials-age to title of assessment form

Testing
This fix was tested on the following browsers (submitter must check all those that apply):

[x] Chrome
[ ] Firefox
[ ] Safari
[ ] IE11

Oh also - I believe after testing this we are comfortable with putting this in to 1.15.0. So @timwongj could you change the target branch to master and update?

authors: kylietmo timwongj

repo: SaraAlert/SaraAlert


text:
Feature: A logo would make it attractive.

Feature description
A logo in the website would make it attractive.
👀 Have you spent some time to check if this issue has been raised before?

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

🏢 Have you read the Code of Conduct?

[X] I agree to follow this project's Code of Conduct

@riyajaiswal25  Where would the logo come up and what about the existing logo ?

is someone working on this issue??

if this issue is still open I want to work on this issue. can you please assign me this issue? for GSSoC

I would like to work on this issue. Please assign me as a GSSOC 2022 Contributor.

@SHRUTI-SINGH16  assigned

repo: SaraswatGit/PlanZap


text:
Support cmake-format

It maybe not directly related, but usually people check native code with clang-format (this script) and cmake files with cmake-format. The tools have relatively similar interface and both of them don't support scanning folders :) While this scripts solves is for clang-format, it would be nice to have the similar wrapper on cmake-format.
Possible options:

Completely different script/repo
Integrate the possibility to run both tools from this script

I think latter will be useful for a lot of people, so there won't be the need to different wrappers and there can be one to rule them all.

I would first try to see if cmake-format cannot it himself, unlike clang-format, it is already coded in python, and the project is smaller, younger, so it's easier to add features to it.

authors: Sarcasm okainov

repo: Sarcasm/run-clang-format


text:
SpeedRatio is ignored

Hi,
When I play a video and change the SpeedRatio value it has no effect.
My code example:
mediaUriElement.Source = new Uri(@"test.mp4");
mediaUriElement.SpeedRatio = 4.0;

Is this correct?

Set the speed ration after the media has been opened (the MediaOpened event).

Hello tpgalan,
I use the speed ratio thing a lot. It depends on the codec which is used to decode the media if it supports speed ratio setting or not. It doesn't matter if speed ratio is set after or before media is opened. With h.264 speed ratio 4.0 is the maximum I get with K-Lite-Codec-Pack and LAV. If I set it to 8.0, the setting is ignored and speed ratio is still 4.0. I have no special tweaks in K-Lite. I attached my settings.
CodecSettingsBackup20171108.zip
Check this clip: https://www.youtube.com/watch?v=QVx-_HpHe7c

@tpgalan
You can also check this link from the old mediakit
https://wpfmediakit.codeplex.com/discussions/85603

I am closing the issue. @tpgalan reopen it, if your problem is not caused by the codec.
You can also set a custom sync clock:
IMediaFilter filt = Graph as IMediaFilter;
clock = new MyCustomClock(); // DirectShowLib.IReferenceClock
filt.SetSyncSource(clock);

authors: skaterlui tpgalan xmedeko

repo: Sascha-L/WPF-MediaKit

license: MS-PL


text:
Vaxx: disable certain UI if demographic data is missing

fixes #1113

This is showing poverty just as an example, it will be for Vaccinated once that is in place.
Currently it DISABLES (grays out and doesn't allow clicking) the demographic toggle, and it also stops the dropdown SELECT GROUP and the COMPARE ACROSS XYZ links/buttons from rendering

I was just going to suggest that, thanks Ben

authors: benhammondmusic joshzarrabi

repo: SatcherInstitute/health-equity-tracker


text:
task(files): Add buttons to file popup

It'd be awesome to add two buttons to copy the file to clipboard, or copy a "url" to the file (we can use an IPFS gateway plus the files multihash). I can address the styling once the functionality is there.

still valid

moving to backlog

repo: Satellite-im/Uplink


text:
Timer "e" not found, do you forget to record it?

Describe the bug
Just a nomal demo of milkdown run with vue3.0
To Reproduce
Steps to reproduce the behavior:

create  a vue project with vite
import file MilkdownEditor.vue in app.vue
run the app
See error

Expected behavior
no errors
Screenshots

Milkdown version
6.3.1
Desktop (please complete the following information):

OS: win11
Browser edge
Version 103.0.1264.62

Additional context
code
MilkdownEditor.vue

<template>
  <VueEditor :editor="editor"/>
</template>

App.vue
<template>

Milkdown Sample

      <MilkdownEditor v-model="content"/>

</template>

Please provide the version and follow the issue template.

Can not reproduce on my side, can you provide a demo project?

https://stackblitz.com/edit/vue-dg5ek3?file=src%2FApp.vue,src%2Fcomponents%2FMilkdown.vue
This demo seems doesn't have any issue.

https://stackblitz.com/edit/vue-dg5ek3?file=src%2FApp.vue,src%2Fcomponents%2FMilkdown.vue This demo seems doesn't have any issue.

thanks you , yes it looks fine ,but the error shows in the browser's console

I can't see this error in the demo I provided. How can I see it?

I can't see this error in the demo I provided. How can I see it?

here is the project,thank u!
https://github.com/gkdgo/markdown_dome

Everything looks fine on my side.

Maybe it's related to some of your browser extension.

Maybe it's related to some of your browser extension.

thank u,I fix it by delete 'node_modules',and rerun pnpm install,the error desappeared!

authors: Saul-Mirone gkdgo

repo: Saul-Mirone/milkdown


text:
Add ability to change volume

Linked config to music player. I think it works, not 100% sure since I wasn't able to change the settings mid-game.

volume doesn't update if the setting is changed from the pause menu. likewise with the on/off

Can you merge this because I'm unable to change from the pause menu as of now. Then I can rebase from master in my branch where I'm working on the pause thing and fix it there. please and thank you

volume doesn't update if the setting is changed from the pause menu. likewise with the on/off

Can you merge this because I'm unable to change from the pause menu as of now. Then I can rebase from master in my branch where I'm working on the pause thing and fix it there. please and thank you

Ah wait, I think I created the pause branch from this one, not master, so you shouldn't need to merge it (I think). Don't delete the PR though just in case

You were wrong about the pause thing (I think) >:(


text:
Keep up the good work!

Thanks for the database update. Gonna throw you some btc here shortly.
Anyway you can update the database to the current date?
Also is their anyway to make this use GPU instead of CPU?

Thank you for the nice words!
I will update the database again, if I find some time.
For questions about Plutus, you should ask in the original repository. I haven’t coded Plutus.

@DigitalCorrosion : Can you please let me know if you were able to find any btc with balance using this? If yes could you pleaee let me know how? Can I DM you?

license: Unlicense