Improving project

What did you do?
Updated projects who were using node dependencies.

husky: removing unused sample script

database: removing unused husky dependency and script

services: removing unused husky dependency and script

ui: removing unused husky dependency and script

src: fixing prettier errors with prettier --write "src/**/*.{js,vue,scss}"

ui: upgrading serialize-javascript and yargs-parser

ui: upgrading lit-element and lit-html, are they used??

ui: upgrading babel-jest dependency

upgrading amplitude-js to latest version

running yarn lint

ui: upgrading vue-plugin-load-script and @vue/test-utils

services,ui: requiring node engine >=14.x

upgrading dependencies to last version using yarn upgrade-interactive --latest

<EMAIL_ADDRESS>sass-loader@^10 https://stackoverflow.com/a/66087132/3963422
<EMAIL_ADDRESS>

upgrading vue-cli dependencies with npx vue upgrade
Upgrading @vue/cli-plugin-babel from 3.12.1 to 4.5.15

✨  Done in 6.84s.
✔  Successfully invoked migrator for plugin: @vue/cli-plugin-babel
 babel  core-js has been upgraded from v2 to v3.
If you have any custom polyfills defined in babel.config.js, please be aware their names may have been changed.
For more complete changelog, see https://github.com/zloirock/core-js/blob/master/CHANGELOG.md#300---20190319

yarn: removing all .yarnrc and yarn*.cjs files
Not useful and/or used in the project, it's better to use the official
yarn package installed in the system.
https://yarnpkg.com/configuration/yarnrc/#yarnPath

services: upgrading jsdom dependency to latest version
No breaking changes: https://github.com/jsdom/jsdom/blob/master/Changelog.md

services: upgrading dotenv dependency to latest version
No breaking changes: https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md

services: upgrading axios to latest version to solve high level audit warnings

Server-Side Request Forgery in Axios
solved in axios>=0.21.1
https://www.npmjs.com/advisories/1002990

Incorrect Comparison in axios
solved in axios>=0.21.2
https://www.npmjs.com/advisories/1002477

No breaking changes: https://github.com/axios/axios/blob/master/CHANGELOG.md

ui: upgrading axios to latest version to solve high level audit warnings

Server-Side Request Forgery in Axios
solved in axios>=0.21.1
https://www.npmjs.com/advisories/1002990

Incorrect Comparison in axios
solved in axios>=0.21.2
https://www.npmjs.com/advisories/1002477

No breaking changes: https://github.com/axios/axios/blob/master/CHANGELOG.md

services: upgrading outdated dependencies with yarn upgrade

ui: upgrading outdated dependencies with yarn upgrade

Why did you do it?
Keeping up-to-date all dependencies and removing error/warnings with deprecated/critical dependencies.
How have you tested it?
I've tested it running all test/build/lint scripts inside package.json files.
Were docs updated if needed?

[ ] No
[X] Yes
[ ] N/A

Type of change

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] My changes generate no new console logs
[ ] Fixes entire issue
[ ] Partial fix for issue

yarn: removing all .yarnrc and yarn*.cjs files
Not useful and/or used in the project, it's better to use the official
yarn package installed in the system.
https://yarnpkg.com/configuration/yarnrc/#yarnPath

Currently the project is running with yarn 1.x and not 2.x. These files are used to explicitly set the yarn version to yarn-1.22.11.
I would like to upgrade to yarn 2 and use the monorepo support but I have not opened and issue for that either.

I don't understand why prettier made changes. When I run the lint check locally I see no issues.

localhost:~/projects/Five-Fifths-Voter/ui$ yarn ci-check
yarn run v1.22.11
$ yarn format:diff
$ prettier --list-different "src/**/*.{js,vue,scss}"
✨  Done in 3.31s.

checking further ...

Hmmm the prettier config issue is strange and I had not noticed before some inconsistencies.
with a clean repo from the ui dir

localhost:~/projects/Five-Fifths-Voter/ui$ yarn ci-check
yarn run v1.22.11
$ yarn format:diff
$ prettier --list-different "src/**/*.{js,vue,scss}"
✨  Done in 2.70s

But if I run prettier outside of yarn

localhost:~/projects/Five-Fifths-Voter/ui$ prettier --list-different "src/**/*.{js,vue,scss}"
src/components/Absentee/Absentee.vue
src/components/AppHeader/AppHeader.vue
src/components/BallotReturn/BallotReturn.vue
src/components/Countdown/Countdown.vue
src/components/EarlyVoting/EarlyVoting.vue
src/components/Hero/Hero.vue
src/components/MainContent/MainContent.vue
src/components/Maps/constants/mapSettings.js
src/components/Maps/GoogleMap.vue
src/components/Maps/GoogleMapLoader.vue
src/components/Maps/GoogleMapMarker.vue
src/components/MarkDown/MarkDown.vue
src/components/PageLayout/PageLayout.vue
src/components/Register/Register.vue
src/components/TwitterChatter/TwitterChatter.vue
src/components/VoteNow/VoteNow.vue
src/main.js
src/plugins/i18n.js
src/router.js
src/views/ConnectPage/ConnectPage.vue
src/views/JourneyPage/JourneyPage.vue
src/views/LandingPage/LandingPage.vue
src/views/NotFoundPage/NotFoundPage.vue
src/views/RatePage/RatePage.vue
src/views/SupportPage/SupportPage.vue
src/views/WhyVotePage/WhyVotePage.vue

I'm not sure what is happening here but checking ...

Hmmm the prettier config issue is strange and I had not noticed before some inconsistencies. with a clean repo from the ui dir

localhost:~/projects/Five-Fifths-Voter/ui$ yarn ci-check
...

But if I run prettier outside of yarn
...
I'm not sure what is happening here but checking ...

Yarn executes the local version of prettier (inside node_modules) if present, running the prettier command will use the globally installed version. Maybe they are different, this is the reason I never use globally installed packages.
For other changes, I'll make the required changes tomorrow 😉

Currently the project is running with yarn 1.x and not 2.x. These files are used to explicitly set the yarn version to yarn-1.22.11.

Yes, but it's strange that in the repo there are four copies of yarn-1.22.11.cjs file, 4.9MB each.
I solved with a commit referencing to the root yarn-1.22.11.cjs file instead of duplicating each one.
We can also update to yarn-1.22.11.cjs launching yarn set version 1 in the root directory.


[Outlook] (custom pane) Replace obsolete image

Fixes https://github.com/OfficeDev/office-js-docs-pr/issues/2561.

Docs Build status updates of commit 774461d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/images/bing-maps-add-in.jpg
:white_check_mark:Succeeded

docs/outlook/outlook-add-ins-overview.md
:white_check_mark:Succeeded
View

docs/outlook/read-scenario.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Use hex for Displaying CanonicalAddr

Right now, Display of CanonicalAddr is implemented by displaying .0, i.e. base64. I think we should use a hex format instead. This becomes especially important when CanonicalAddr is turned into strings as part of custom errors as in https://github.com/CosmWasm/cosmwasm-examples/pull/96/files (see PollNotCreator).
The options are

0xaabbaabbaabbccdd33aa…
AABBAABBDDFFEE99DD…

The later is Cosmos style, the first is a more general hint that this is hex.
@ethanfrey @orkunkl what do you think?

I agree hex is nicer than base64 for display.
I am okay with both formats, but figure to stick with sdk style over ethereum style is better


fix: TP2000-980 filter 09 quotas from quotas cant be used report

TP2000-980 - filter 09 quotas from quotas cant be used report

Why

We are filtering out “09xxxx”, these are effectively EU quotas and they’re slowly being closed down.
What

During the query against the db, we are excluding quota order numbers that begin with 09.

Codecov Report
Patch coverage: 96.18% and project coverage change: +0.02% :tada:

Comparison is base (896cf2f) 92.59% compared to head (07aabab) 92.62%.
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1020      +/-   ##
==========================================
+ Coverage   92.59%   92.62%   +0.02%
==========================================
  Files         448      450       +2
  Lines       32366    32619     +253
  Branches     2471     2491      +20
==========================================
+ Hits        29970    30213     +243
- Misses       1918     1922       +4
- Partials      478      484       +6

Files Changed
Coverage Δ

commodities/urls.py
100.00% <ø> (ø)

common/jinja2.py
90.56% <66.66%> (-3.06%)
:arrow_down:

common/tests/test_tariffs_api.py
94.64% <81.81%> (ø)

reports/reports/quotas_cannot_be_used.py
86.79% <86.79%> (ø)

commodities/tests/conftest.py
97.54% <100.00%> (+0.28%)
:arrow_up:

commodities/tests/test_views.py
100.00% <100.00%> (ø)

commodities/views.py
99.06% <100.00%> (+0.13%)
:arrow_up:

common/tariffs_api.py
100.00% <100.00%> (ø)

common/tests/util.py
90.28% <100.00%> (+0.12%)
:arrow_up:

conftest.py
93.79% <100.00%> (ø)

... and 5 more

... and 2 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[FEATURE 💡] Adding content to the README.md file

Description
I am not sure what we should include. So please feel free to drop your suggestions.

I would like to work on this issue.

@Ratangulati What are you planning to add to the README file?

I am planning to add some description about the Open Code Era. Future goals and links to connect.

@Ratangulati go ahead !!


Missing imports

Forgot to include imports... Oops, sorted now :)

Cancelling this, got my PR issues resolved. I'm gonna be merging stuff in from my own branch.


Deleting

Woops

I'll get to this once I've finished adding webkit support in accordance with Zawinski's law ;).


Does gridster work with structures other than ?

All the examples of gridster I've seen use unordered lists (ul and li) to organize the things being handled.  Is this required, or will other structures (like just a div containing a sequence of other divs) work, as long as things are properly organized and the gridster init selectors are written properly?

Answer: Yes, it works fine (assuming everything else is arranged properly, of course)


[ADDRESS] - Memory use within the repository to be cleared.

Description:
As time goes on some areas are meant to be cleaned up in order to ensure that the documentation have enough space as well as future functionality, currently the repository uses approximently 10 mbs, though the 500 mbs is shared between the rest of the repositories.
As currently the provided repository is still hosted by a paid plan it should be around 1gb to 5gbs, but unsure if its to remain, will be found out in the upcoming week as according to the referenced documentation the use of WIKI editing goes away after subscrition ends.
Proposed Solution:
One solution would be to remove previous deployments to remove about 1.1 mbs of data from it.
Alternatives:

Remove previously deployments.
Globalize the main repository for the base site so that only documentation would be hosted within this repository, whereas the base is shared between multiple such alike ITCH.io Handbook which is aimed at relocation to the organization.

Additional Context
There is a purposed solution for deployment deletion foudn within the given article
Bandwitdth information Info
Though to keep in mind the idea is not to limit or just remove stuff it is to make sure that images and other important information can be used, if and when there is a requirement for it.
As in theory according to github a repository can with a maximum hold about 1gb of data, which is split between image data, information data, code data and a few other areas.

Removed 200 environment deployments, kept the logs ffor deployments.
Going to keep the base of the site within the repository currently until Itchio handbook is transported to the organization or iff it will be.


Data ingestion

Describe your changes
Ingestion pipeline finished. We got our datas from data-gouv api.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation added

Checklist before requesting a review

[x] I have performed a self-review of my code

Need documentation


Offline Sync

The library can work with realm offline sync or not? if yes, can anyone suggest how to implement them pls?
Thank in advance.

@jaycreate
Hi, at the moment Realm Sync isn't supported yet.
I think that you can do it manually using your own implementation using method channel, I don't know yet and when I will add it to this plugin

@jaycreate I don't know it realm_dart is good enough at the moment to solve this, but I think it's worth trying


ShaderC Compile & CI

Our CI server currently failed one of the builds due to shaderc compile stalling.   I believe we need the option to use pre-compiled shaderC for the shaderc Rust package and am chasing this over to the ShaderC repo.
Gathering up some info here.
https://travis-ci.org/vulkano-rs/vulkano/jobs/506588484
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.

Packages exist:
https://packages.gentoo.org/packages/media-libs/shaderc
https://www.archlinux.org/packages/extra/x86_64/shaderc/
This might be a lie on our CI setup:
# The shaderc dependencies are already installed on the base images

https://github.com/google/shaderc-rs/issues/44
Going to try to kill this at the Rust package level.

https://github.com/google/shaderc-rs/pull/46
Headline change is using a static build path instead of the dynamic ones that cargo generates for out directory.
I don't know an Ubuntu package to make this process easy.  Who even controls the keys to the CI servers?  @rukai @tomaka

This seems to have been addressed by ShaderC?


Datamodel-code-generator does not process additionalProperties

Models generated on schemas with additionalProperties don't have extra='allow' config feature.

Closed with #35


A more detailed list of clients

Issue
Rather than listing a simple list of strings in the config file, we should have a more detailed list of clients. https://github.com/canonical/cos-alerter/issues/60
Solution
Adjust the server logic to receive both client UUID and match it with it's key and then show the client name in the dashboard instead of the id
Testing Instructions

Add a client's details in the cos-alerter config that contain (valid UUID, Key and client's Name)
Run COS Alerter.
Configure Alertmanager to route the watchdog alert to cos-alerter using the same UUID&Key
Validate that heartbeat is received in dashboard

Release Notes
User is now able to set uuid, key and client's name in cos-alerter config rather than just the client ID

I almost forgot, you will also need a version bump and a changelog entry.


New contract instances of existing versioned implementations should have appropriate semantic versioning

Expected Behavior
Formally specified versioning of new contracts (StableTokenEUR is StableToken) inheriting from existing implementations
Current Behavior
Independent versioning in getVersionNumber and as understood by contract release/verification tooling

How urgent do we think this is? @yorhodes


support auth to multiple regs in secret file

I saw you merged my previous PR while I was finalizing this.
It makes it possible to have all authentication info in a docker secret file, and it also allows authenticating to one registry with different accounts. This last point requires the container to be updated to be labeled accordingly to identify which authentication information to use. See the README changes for details. Let me know what you think, it works fine for me.

@rbauduin Sorry, would you mind rebasing? I just fixed all issues reported by shellcheck on the codebase.

I didn't have the time to test correctly the last changes, but that way you can already have a look.

FYI I've deployed it and am using it successfully

@djmaze : no interest in this?

Maybe we can sync to get it merged?

And there's a conflict again.. sorry

@rbauduin Thanks, and sorry for the long wait!


Removed graduated custom media headers

Closes #1488

I'll review this later today.

Thank you, @nightlark!
Merging.


Receiving an error while running demo on Jetson

Traceback (most recent call last):
File "deepstream.py", line 178, in tracker_src_pad_buffer_probe
parse_pose_from_meta(frame_meta, obj_meta)
File "deepstream.py", line 129, in parse_pose_from_meta
x1 = int((data[(skeleton[i][0] - 1) * 3 + 0] - pad_x) / gain)
IndexError: index 45 is out of bounds for axis 0 with size 0

Which model are you using?

Yolov8

Please send me the output from the terminal from the beginning to the error.

https://github.com/marcoslucianops/DeepStream-Yolo-Pose/blob/master/docs/YOLOv8_Pose.md

For Current Config of DeepStream, Do I have to change size and shape of input image?. I think there the problem is occuring.

You need to use my export_yoloV8_pose.py file to export the model. Please follow the link I sent.

Thank you @marcoslucianops  I'll follow  export_yolov8_pose.py to export the model.
Once I am able to run it, I'll close this Issue.

@marcoslucianops Just an update, It started running after exporting onnx file using export_yolov8_pose.py .
Made it running at 19 fps 👍


chore: Merge alpha into main

Merge alpha into main so we can delete the alpha branch, perhaps?

@cobraz, I'm not sure whether this is valuable or not. I would like to delete the alpha branch, nonetheless. Thoughts?

Let's just delete alpha


feat: manage & excluding testing executions

Hello Team!
Somethimes we have to make test executions and exclude them from the final calculations of the saved time. For this purpose I've created a separate table with executed for test task ids. The final task list is filtered with condition for the tasks not to be presetnted there.
Take a look please!

@stanislavec please bump backend plugin version

also better to use excluded tasks name as it will be more self explainable instead of test tasks.

@tduniec
Hey Tomasz!
You comments seems to be resolved. Check please!


feat(input): add ability to hide text divider

@hansl @kara @jelbourn
Adds the ability to show or hide the underline beneath the input (just like with the floating placeholder)

I signed it!

That's called text divider, not underline.
Should it be allowed to hide per docs (just wondering)?
https://www.google.com/design/spec/components/text-fields.html#text-fields-input

@soyzamudio I chatted with @hansl about this and we agreed that this is something that would be better done with CSS than a new directive API. We want people to be able to do something like
md-input-underline {
  display: none;
}

To hide this part of the component. Right now the view encapsulation makes this difficult, so we're going to change the component to ViewEncapsulation.None and document the approach once we have our more complete documentation.


Fix iOS build phase

In this commit https://github.com/callstack-io/haul/pull/90/commits/afd93e1b42c050b9690d81419464e5ceb819ffb2 @grabbou changed the comparison from > to ===.
I don't know if it was intended but it broke the script. If a section is matched and replaced it doesn't save but exits with an error.

Thanks, releasing patch version now. Some debugging slipped through 👎

Released as 0.3.1


I can't build in android again

I patch 5 file but build error
Log show clang16

Any detail logs?

I think you didn't patch this file?

~/../usr/share/cmake-3.26/Modules/Platform/Android/Determine-Compiler.cmake

Or there is a possibility that you patch the wrong file, the path ~/../usr/share/cmake-${version}/Modules/Platform is CMake scripts path in Termux.
If you didn't find those 5 original files in the CMake scripts path, then you must be patching the wrong path.

Try rm -rf build, then build again.

Termux CMake3.26 patch files for TermuxNDK.zip
Link: https://github.com/Bzi-Han/AndroidSurfaceImgui/files/12544702/Termux.CMake3.26.patch.files.for.TermuxNDK.zip
You must patch failed.
Just download this upload file using wget or curl.
Then unzip the file, modify +x permission, and run PatchCMake3.26.sh.

Use this NDK: https://github.com/lzhiyong/termux-ndk/releases/download/ndk-r24/android-ndk-r24-aarch64.zip
Try again.
If it fails, I have no idea how to help you.


installation guide fixes

Targets https://github.com/ColoredCow/portal/issues/1606

Description
I have added a new line in readme file for windows user to use gitbash or power shell instead of cmd.
Checklist:

[x] I have performed a self-review of my own code.

We can merge the PR 1607 without worrying about the failing check. It's happening because Lakshya created the PR from a forked repository and Github does not pass secrets (in our case CYPRESS_DASHBOARD_KEY) when workflow are triggered from a forked repository.
See note here: https://docs.github.com/en/actions/security-guides/encrypted-secrets#using-encrypted-secrets-in-a-workflow


Stream FileBox does not support multiple operations on it

Seems like the FileBox in Stream type does not behave the same as all the other types, since the data for this type of FileBox is lazy loaded and can only be transferred once. So how might we support multiple operations on the Stream FileBox?
I created a unit test to test this case and currently it is failed. Let's make it pass.

Solution 1
We can add a flag to Stream type FileBox when doing operations, like persist, which means this will save the stream data locally somewhere(TBD, memory or disk), then the FileBox can support more operations. If this flag is not set, the data can only be access once, and future call on this FileBox related to data, will throw an exception.

I believe that this is the expected behavior of the node stream design.
Why do we need to use a stream twice, and could we save it to reuse next time so that we can just let the stream passed by?

I agree this is the expected behavior of the node stream, but this should not be the expected behavior for FileBox. Since FileBox does not include only Stream files. Sometimes when user get a FileBox, they don't know what type is it, and they just use it in their code as a normal FileBox. If the Stream type FileBox behaves differently from all the other types, this will cause confusion, also this will be very hard for developer to debug. Since I just debugged this bug in wechaty-puppet-hostie, the behavior of this bug is that I got an empty file.
I believe that the design for FileBox is aim to provide a class for developers to manipulate different kind of files with ease, so we might want to align the Stream FileBox's behavior to all the other types.

Yes, you are right, the file box behavior should be consist.
The best solution I could think right now, is that all the typed of the file box can be only used once.
If the file box has been used once, the next time it should throw an error.
The reason for doing this, is that we have to save the stream to memory (or tmp file) if we want to support reusing of the file box.
Just image that we have a stream with 1TB data to transfer from the network (e.g. gRPC), and the file box use fromStream and then use toFile to save it. It is obviously we can not call the toFile twice because all the data were gone.

I agree that if we transfer large data with FileBox, problem will be introduced with multiple operations. But for the current use case, Wechaty is heavily depends on FileBox, and inside Wechaty, the file that we transferred are usually images, videos or files that under 10M, 99% files are under 100M. So for the current use case, allow the FileBox to be used multiple times makes more sense than just 1 time.
If we change the behavior here, the update will definitely break the current code of the developers using FileBox.

I think the streaming type file-box will behave differently from the other types.
We might not be able to reuse a stream file box because of the following thoughts:

When we use FileBox.from(stream) and the stream contains 100MB data, where can we get the data again after the first stream has been consumed?

Should we store all the data in the memory for later use?
If we stored the data in the memory, and no one consumes this data again, then we will cost lots of memory before it can be garbage collected, and if the bot receives lots of files (e.g. 10 x 100MB videos), then it will easily meet an OOM for a 1GB ram container.

What if we received a 1TB stream data? I agree with what you said is true: most of the time, 99% of files are under 100M. However:

what can we do when we received the 1% probability 1TB stream data?
If we have no good to deal with it, then this is not an acceptable solution.

So for now, the solution that I can imagine is to:

For the non-stream type of the file-box, it can be reused
for the stream type of the file-box, it can be only used once. If it is used the second time, it will through exception.

But the above workaround will cause non-consists behavior for the FileBox system, so I'd like to always choose an "always can be able to use once" straitegy for the FileBox.
The above is just my draft after start thinking about this problem, please feel free to let me know if you have a better solution, thanks.

When we use FileBox.from(stream) and the stream contains 100MB data, where can we get the data again after the first stream has been consumed?

Should we store all the data in the memory for later use?
If we stored the data in the memory, and no one consumes this data again, then we will cost lots of memory before it can be garbage collected, and if the bot receives lots of files (e.g. 10 x 100MB videos), then it will easily meet an OOM for a 1GB ram container.

What if we received a 1TB stream data? I agree with what you said is true: most of the time, 99% of files are under 100M. However:

what can we do when we received the 1% probability 1TB stream data?
If we have no good to deal with it, then this is not an acceptable solution.

Yes, you are right, seems like it is pretty hard to support reusable Stream FileBox.
We should at least throw an exception when the toFile() or toBuffer() etc is called the second times for Stream FileBox.

I'm glad that you agree with me, and the exception has already added by the last commit yesterday, please upgrade to the latest version of the file box to test it.

One more thing: do you think we should always throw error when the file box has been used twice, no matter than what type it is? Because as you said, the box might be any type, and the user should get a consist behavior for it.

One more thing: do you think we should always throw error when the file box has been used twice, no matter than what type it is? Because as you said, the box might be any type, and the user should get a consist behavior for it.

Seems like this is a workaround. What do you think about this design below:
We add another method into FileBox called isConsumable(), for Stream type, this will only return true before the first consume, but for all the other types, this will always return true. Thus developers could use this to check the status of the FileBox before they consume it.

I believe the user who is using the FileBox instance should take the responsibility to remember whether this instance has been consumed, and they should not consume the FileBox again because the FileBox has already finished its mission.
If anyone wants to get a reusable filehandle, they should save the FileBox to a local temp file so that it can be reused later.

haha, I just encounter this problem: UnhandledPromiseRejectionWarning: Error: The stream has already been consumed once, and now it was destroyed. See: https://github.com/huan/file-box/issues/50
Thanks for the clear explanation.
It seems I have to save as a temp and read locally by myself for later use.


Test data stuck in "exporting" in staging

I have created test data in ingest staging which needs to be exported. However, the submission has got stuck in "exporting" status. This needs investigating and then the project should be exported.
https://staging.contribute.data.humancellatlas.org/projects/detail?uuid=14746c66-f605-4eb1-af65-f5cbf6658f82&tab=upload

Closing this as there is a duplicate ticket.


Modify API for retrieving grouped URLs

Return a list of PwPairs instead of UrlGroups
Include ungrouped URLs in the returned list

Other than the 2 naming comments, LGTM


Updated Live battery Status on taskbar #113

Hii ,
Tried to Built Battery Live Status

Why add all other commits...

Why add all other commits... Please clean your branch, before creating a new PR... lmao... I also didn't get the phone message

I didn't get the phone message @andrewstech

I thought the same about the phone message


Where is bootstrap.css?

Hi, just wondering where I could find the bootstrap.css file? It's not in the distribution file.
Thanks

Hi, you should run bower install to include dependencies, or you could include them manually by downloading bootstrap and jquery.


Determine if Bedrock Geology layer is sufficient

Look at the data coming back from WMS to see if we can format this in such a way to make it more useable

Do not want to keep the WHSE_CADASTRE.PMBC_PARCEL_FABRIC_POLY_SVW (other one) layer - too detailed. Replace with simplified


rule function gets called twice for each invalid test case

Issue workflow progress

Progress of the issue based on the Contributor Workflow

[ ] 1. The issue provides a reproduction available on GitHub, Stackblitz or CodeSandbox

Please make sure the graphql-eslint version under package.json matches yours.

[x] 2. A failing test has been provided
[ ] 3. A local solution has been provided
[ ] 4. A pull request is pending review

Describe the bug
the create function is called twice for each invalid test cases:
1 valid + 2 invalid = 1 + 2* 2 = 5 times logging

When I only keep 1 invalid test case:

This does NOT happen in eslint or typescript-eslint rule test runner.

To Reproduce
Steps to reproduce the behavior:
This can be easily reproduced by adding a console log like here: https://github.com/B2o5T/graphql-eslint/blob/7251269d9806202a1d9d6651a809a49396656978/packages/plugin/src/rules/no-unused-fields.ts#L105-L107
then run the spec:

yarn test packages/plugin/tests/no-unused-fields.spec.ts

Expected behavior

Environment:

OS: macOS
@graphql-eslint/eslint-plugin:
Node.js: 16.10

Additional context

Hi @shogunsea, nice catch 🙈 I know about this issue 🙂, it happens because I run tests 2 times, the first one with the default eslint rule tester
https://github.com/B2o5T/graphql-eslint/blob/5336c0a0212b74bb9c333b0311ab1ce62248404f/packages/plugin/src/testkit.ts#L85
and the second with snapshot rule tester
https://github.com/B2o5T/graphql-eslint/blob/5336c0a0212b74bb9c333b0311ab1ce62248404f/packages/plugin/src/testkit.ts#L123
to ensure correct highlight cursor position, example:
https://github.com/B2o5T/graphql-eslint/blob/5336c0a0212b74bb9c333b0311ab1ce62248404f/packages/plugin/tests/__snapshots__/alphabetize.spec.md?plain=1#L3-L43
I thought about removing GraphQLRuleTester from the bundle to avoid confusing by users. What do you think?
Also, you can always use the default RuleTester by eslint, just specify a correct parser
Closing it for now because I do not plan to fix it for the current moment and still waiting for support snapshot testing out of box from eslint
The related issue from eslint about snapshots testing is here https://github.com/eslint/eslint/issues/14936

SGTM, thanks for the workaround 👍


Fixes #161

Fixes #161 based on workaround for bug in TensorFlow.
Includes regression test.

Current coverage is 99.27% (diff: 100%)

Merging #164 into master will not change coverage

@@             master       #164   diff @@
==========================================
  Files            20         20
  Lines          1524       1524
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           1513       1513
  Misses           11         11
  Partials          0          0

Powered by Codecov. Last update b3dab02...c1047e2


MyCupra API Error

Describe the bug
When the MyCupra Session Api is used every call will get a 500. Maybe there are some headers missing but without any documentation there is no way to fix this for me. I used the changes of the branch below to use the already implemented api.
To Reproduce

merge in branch derco0n:cupra_testing
execute allVehicles.py

Expected behavior
Return all vehilcels of the MyCupra account
Logs
#  Initialize WeConnect
Selected servicetype is: MyCupra

#  Login
#  update
Traceback (most recent call last):
  File "./allVehicles.py", line 43, in <module>
    main()
  File "./allVehicles.py", line 34, in main
    weConnect.update()
  File "./venv/lib/python3.9/site-packages/weconnect/weconnect.py", line 195, in update
    self.updateVehicles(updateCapabilities=updateCapabilities, updatePictures=updatePictures, force=force, selective=selective)
  File "./venv/lib/python3.9/site-packages/weconnect/weconnect.py", line 206, in updateVehicles
    data = self.fetchData(url, force)
  File "./venv/lib/python3.9/site-packages/weconnect/weconnect.py", line 400, in fetchData
    raise RetrievalError(f'Could not fetch data. Status Code was: {statusResponse.status_code} {statusResponse.text}')
weconnect.errors.RetrievalError: Could not fetch data. Status Code was: 500

Response
{
    "error": {
        "message": "Internal Server Error"
    }
}

OS: MacOS
Version used 0.60.3

Additional context
My goal is to get the data from my Cupra Leon ST (gasoline). If I use the default api is I get an empty list returned. I suppose its because the data is saved at the MyCupra api. That's why used the approach from @derco0n

Any update ?

There is currently no Cupra support, sorry


Catch up on missed changes while application was not running?

Is it possible to get notifications on start-up from changes that happened while my application was not running? I'm implementing an application which needs the guarantee that all changes are captured, but every time the application restarts it runs the risk of missing changes.

Is it possible to get notifications on start-up from changes that happened while my application was not running?
No, is not possible.


Ksoup.parse The link tag doesn't end symbol

Describe the bug
A clear and concise description of what the bug is.
Ksoup.parse The link tag doesn't end symbol
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Sample Code
If applicable, add sample code or snippets to help explain your problem.
Device (please complete the following information):

Device: [e.g. Android]
OS: [e.g. Android]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

If i use Parser.xmlParser, it can be parsed normally

Hi @panxuedian could you please provide a sample HTML page or web link to reproduce this issue?

@panxuedian I’m closing this issue due to no response from you. If you’re still facing this problem, you can reopen it. Thank you.


fix: article links, course links and events hero

Description
-fixed the link sizes in single course and article page content
-fixed hero sizing for events project
Issues
Closes
DEV-XXX:
Related
Testing
Automated tests
Manual testing
Screenshots
Additional notes

Codecov Report

Merging #76 (cce6abe) into main (093d48e) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main      #76   +/-   ##
=======================================
  Coverage   67.40%   67.40%
=======================================
  Files         306      306
  Lines        7409     7409
  Branches     1700     1700
=======================================
  Hits         4994     4994
  Misses       2191     2191
  Partials      224      224

Impacted Files
Coverage Δ

...i/src/common-events/utils/headless-cms/service.tsx
0.00% <0.00%> (ø)

...i/src/common-events/utils/headless-cms/service.tsx
0.00% <0.00%> (ø)

...i/src/common-events/utils/headless-cms/service.tsx
0.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Handle time-varying model coefficients

For example, in the Hull-White model.

In fact, the Vasicek model should be a subclass of the Hull-White in which the theta parameter is fixed over time. Perhaps there needs to be a TermStructure class that can handle these types of inputs?

I like the idea of a TermStructure class, which could have a few useful functions:

Bootstrapping yield curves
Fitting interest rate model parameters
Interest rate conversions/calculations (discount rates, spot rates, forward rates, swap rates, etc)

Do you plan/desire to also incorporate financial security classes (bonds, derivatives, equities, portfolio, etc.) or financial analysis calculations into this pyesg package, or do you want users/developers to build those outside/on top of pyesg?
For example, one of the use cases for pyesg is creating scenarios for retirement planning.  Is that something you would want users to construct on their own and pull in pyesg for the scenarios only, or should a user be able to construct a portfolio in pyesg with certain parameters (perhaps allocations to fixed income assets and equities that change as they age) and project the returns natively using only pyesg?

Do you plan/desire to also incorporate financial security classes (bonds, derivatives, equities, portfolio, etc.) or financial analysis calculations into this pyesg package...

Short answer is "not really", but more accurately is "not unless there's a need." Suppose you want to value an option. You need scenarios, and you need some cash flow logic tied to the scenarios. The first one is squarely in scope for pyesg. In my opinion, generating the scenarios is the harder part of the two, so that was where I focused. I wanted users to be able to overlay any number of contingent cash flows using the scenarios from pyesg, understanding that it would take some coding on their part.
Instead of building functionality like that within pyesg I think a good option would be to create example notebooks with those sorts of things: how you would value an option, or construct an equities portfolio, or measure tail risk, etc.

For example, one of the use cases for pyesg is creating scenarios for retirement planning. Is that something you would want users to construct on their own and pull in pyesg for the scenarios only, or should a user be able to construct a portfolio in pyesg with certain parameters (perhaps allocations to fixed income assets and equities that change as they age) and project the returns natively using only pyesg?

This one feels different than the above to me, because it's still focused on generating scenarios. If I could rephrase, I think your main question is actually about the API. Right now, users can generate scenarios with a pyesg.GeometricBrownianMotion class, but not with a pyesg.RetirementPortfolio(equity=0.7, bond=0.3) class. This feels to me like a question about what level of abstraction is most useful based on how people want to use the library. I think all the functionality to do what you describe is definitely in scope for the library, and it would be an interesting discussion for what sorts of classes and functions would make it easiest for the users to solve their problems. pyesg.GeometricBrownianMotion might be easiest for someone in a financial math class, while pyesg.RetirementPortfolio might be easiest for a financial planner. I could easily see both being in the library, leveraging the underlying stochastic processes to generate scenarios.

By the way, thanks @jakemcaferty for the suggestions! Really appreciate them!

That makes sense, and you're correct that my main question was about the capabilities of the API.  I agree that the economic scenarios are much more challenging than the financial calculations (which are relatively easy to code into a function as needed).  I actually like the idea of coding the financial analysis calculations in a notebook better anyways since it grants more flexibility.
I do think some kind of general TermStructure class makes sense, particularly for many of the models that are currently available within pyesg which are most likely to be used for interest rates.  In addition to the Vasicek being a subclass of Hull-White, you could actually create a generalized AffineTermStructure(StochasticProcess), which could be inherited by Hull-White, Ho-Lee and CIR processes; all of which are more specific examples of the generalized affine term structure model.


Provide Reference Test Reproducer

Provide a denoising that functions, based on the original oidn cmake build.
This should be as reproducible cli instructions (ideally ubuntu and windows).

This is so to say the offical oidn denoiser:
https://github.com/OpenImageDenoise/oidn/blob/master/apps/oidnDenoise.cpp
Furthermore, there is https://declanrussell.com/portfolio/intel-open-image-denoiser-2/ - uses SConstruct but can server as a reference how things should work

@abebeos Sorry for the fast closing. I considered the issue solved. Feel free to reopen it again.
I cannot provide CLI instructions. I did the OIDN build using the CMake GUI and manually Clicking on my Windows machine (and did beforehand manually install ISPC, oneTBB, etc.) - in the past I tried to come up with scripts for each step - e.g. building oneTBB -> https://github.com/Vertexwahn/Percdems/blob/master/Build_tbb-2018_U2_Visual Studio 15 2017 Win64.ps1
I can say one thing - it is not as easy as the Bazel approach:
cd ${HOME}
git clone https://github.com/Vertexwahn/rules_oidn.git
cd rules_oidn
cd tests
azel run --config=gcc11 //:example -- --input=${HOME}/rules_oidn/tests/data/cornell_box.naive_diffuse.box_filter.spp64.embree.exr --output=${HOME}/denoised_spp64.exr

That's exactly why I switch to Bazel and give up CMake -> https://medium.com/@Vertexwahn/bazel-as-an-alternative-to-cmake-fb7c86d95b48

Feel free to reopen it again.

It looks like github does not support this (one of its long lasting flaws, see https://github.com/isaacs/github/issues/583#issuecomment-910502478)

That's exactly why I switch to Bazel and give up CMake ->

I understand this, and if I had a personal project, I would most possibly prefer your rules_oidn build that links everything together (including ispc)
As for going on:
If you still have the goal to add (secondary) bazel support to repository with (primary) cmake support, then your build needs to be ideally 100% identical (possibly unreachable perfection: 100% identical binaries).
Starting point would be a reproducer/comparison for the primary build that's what this issue here is about. (Prerequisites can be installed manually, that's ok).
The relevant issue is #13.
All Good
If you're ok with your current (non identical, possibly different behavior under special circumstances) rules_oidn result, then everything is ok, and the reproducer here and issue #13 is not needed.

(@Vertexwahn , if #13 stays open, then it should be transferred to https://github.com/Vertexwahn/oidn - after enabling issues there)


Conveyor Resistance Boot doesn't accept rice slimeballs.

We have Actually Additions in our pack which allows the crafting of Rice Slimeballs from, well, rice. These can be used in many places but I'm told your "Conveyor Resistance Boot" doesn't accept them. Time and enthusiasm willing, perhaps you could add oredict support for slimeballs?
Cheers!

Yeah, no problem. Will add it in the next version :P.

Has been fixed in latest update.

Wonderful, thank you!


local flake registry freezes NUR input

Expected Behavior

Running flk update on a DevOS machine should update the nur input to the tip of the appropriate git branch.
Current Behavior

flk update idempotently converts the input to the equivalent path:/nix/store/xxx-source.
Possible Solution
Explicitly specify nur.url = "github:nix-community/nur", downside being that it is redundant- and silly-looking as well as fragile.
Altternatively, fix this in a more general way, since this is the second time such an issue occurs (#142) which suggests there's an underlying issue.
Steps to Reproduce

Be on a DevOS based system
Try to update any flakes that requires nur from the registry
Check commit message and contents of flake.lock

Context

I use NUR together with DevOS. I believe based on looking at the code that this issue is still present in develop.
Your Environment

I use a system configuration based on the current tip of core. This phenomenon hit me on Friday at this commit but took me until today to realize.

This is a side effect of https://github.com/divnix/digga/commit/3d3d6bba608e83abaabb5d5373444d03f7ca9442. Which makes it so that a local flake registry is created from all your inputs. So once you rebuild once and the flake registry gets created the next time you update your inputs they get set to paths in the nix store.
The goal with that commit and the feature in fup is to allow you to easily do nix shell nur#... and not have to download the flake. But it creates side effects like this when you use the nix registry. I'm ok with reverting that commit so thats its opt-in. I generally avoid the public nix registry so I like having a local one auto generated, but I understand that its frustrating for others who make use of the registry.

Absolutely, the custom registry comes handy sometimes. OTOH, when they shadow the normal one it breaks assumptions. Nix has a --no-registries flag, but not one that could be used to select the normal registry. Maybe it should have an option for that?

I agree, we should make this opt-in.

Nix has a --no-registries flag, but not one that could be used to select the normal registry. Maybe it should have an option for that?

There has been some upstream work recently, let me check if I find it.

We no longer set the registry by default to all your inputs. Since that feature is now opt-in, I think we can close this.


Notifications have stopped working

Steps to reproduce:

Select any tea timer.
Wait for timer to count down to zero.

Expected behavior: What did you expect to happen when performing these steps?
I expect, upon reaching zero, that the app would make the clinking sound it normally makes, it will cause my phone to vibrate, and it will push a notification to both my phone's notification shade as well as my watch.
Observed behavior: What actually happened and why is it a problem? If applicable, consider adding screenshots to help explain.
Nothing happened. Yesterday, when I made my evening cup of tea, it worked as expected. Today, when I made my morning cup, and again when I made my evening cup, it counted down to zero, but no notifications were served. Neither visual, audio, nor hepatic notifications were served.
Device information: Include your device operating system and version.
I'm currently using Android 14 on a Pixel Six. I am receiving notifications from other apps. I checked to make sure the notifications were not muted in the app. I made sure notifications were enabled in the system settings. I deleted the cache from the app, opened it again, granted it notification permissions again. No dice. I deleted the app, rebooted the phone, and reinstalled the app. Opened it again, granted it notification permissions once again. None of these efforts restored notifications.
This app was automatically installed on my Pixel tablet when I set it up, but I'd never used it on the tablet before. I opened it up on the tablet and found that the app is having the same lack of notifications on the Pixel tablet, which is also running Android 14.

Oh no! Thank you so much for reporting the problem. I've been able to reproduce this bug on my Pixel, and I think I have a fix for it. Look for version 2.7.1 shortly...

Version 2.7.1 has resolved the notifications bug on my Pixel running Android 14. Sorry about this—I will be careful to test on an actual device instead of just an emulator, going forward.
Please let me know if 2.7.1 doesn’t work for you.


Create rules for JDBC exception translator

According to the migration guide:

Spring's default JDBC exception translator is the JDBC 4 based SQLExceptionSubclassTranslator now, detecting JDBC driver subclasses as well as common SQL state indications (without database product name resolution at runtime). As of 6.0.3, this includes a common SQL state check for DuplicateKeyException, addressing a long-standing difference between SQL state mappings and legacy default error code mappings.

Investigate and create rules if necessary.
In the rule description and message, try to be as verbose and clear as possible. Code examples are always welcome and useful. Feel free to use markdown syntax for these.

Need to investigate whether this needs a rule.


Fix NAT reflection rules if dest > 1 IP. Issue #7614

[ ] Redmine Issue: https://redmine.pfsense.org/issues/7614
[ ] Ready for review

For example if the chosen destination is 'WAN net' and there is a VIP on the WAN in the different subnet.
NAT reflection is enabled and "Enable automatic outbound NAT for Reflection" is also enabled.
The rule created might be:
NAT Inbound Redirects
rdr on igb1 proto tcp from any to { <IP_ADDRESS>/24 <IP_ADDRESS>/32 } port 5201 -> <IP_ADDRESS>
Reflection redirect
rdr on { igb0 igb4_vlan1002 igb5_vlan1003 openvpn } proto tcp from any to { <IP_ADDRESS>/24 <IP_ADDRESS>/32 } port 5201 -> <IP_ADDRESS>
no nat on igb0 proto tcp from igb0 to <IP_ADDRESS> port <IP_ADDRESS>/32
nat on igb0 proto tcp from <IP_ADDRESS>/24 to <IP_ADDRESS> port <IP_ADDRESS>/32 -> <IP_ADDRESS> port 1024:65535
The additional IP/subnet is placed in the port variable position resulting in an invalid ruleset...
In case of VIP filter_generate_adress() return string with more than one address, i.e.
{ <IP_ADDRESS>/24 <IP_ADDRESS>/32 } port 5201
and
if (empty($localport_nat) && $dstaddr_port[2]) {
				$localport_nat = " port " . $dstaddr_port[2]
}

take a second IP as a port
this fix just use the filter_generate_adress() output as-is to pass it to the filter_generate_reflection_nat() if $localport is not defined

@vktg please rebase your fork to solve conflicts

same issue with upstream changes:
nat on vtnet0 proto tcp from <IP_ADDRESS>/24 to <IP_ADDRESS> port <IP_ADDRESS>/32 -> <IP_ADDRESS> port 1024:65535
(<IP_ADDRESS> is IP Alias on dest address net interface)
with this fix:
nat on vtnet0 proto tcp from <IP_ADDRESS>/24 to { <IP_ADDRESS>/24 <IP_ADDRESS>/32 } port 3389 -> <IP_ADDRESS> port 1024:65535

it seems that it fixed by https://redmine.pfsense.org/issues/10246
maybe last time I tested it on not so fresh 2.5


Update Links

See https://github.com/Senzing/template-repository/issues/40
docker-xterm/docs/development.md:    1. [docker](https://github.com/Senzing/knowledge-base/blob/main/HOWTO/install-docker.md)
docker-xterm/docs/development.md:    1. [git](https://github.com/Senzing/knowledge-base/blob/main/HOWTO/install-git.md)
docker-xterm/docs/development.md:    1. [make](https://github.com/Senzing/knowledge-base/blob/main/HOWTO/install-make.md)
docker-xterm/README.md:1. [docker](https://github.com/Senzing/knowledge-base/blob/main/HOWTO/install-docker.md)

Pull requests:

https://github.com/Senzing/docker-xterm/pull/207


Legacy builds running on staging should not try to upload artifacts to prod

A few legacy engine builds were moved to staging but they kept trying to upload artifacts to the production bucket.
Some examples:

https://ci.chromium.org/p/flutter/builders/staging/Mac iOS Engine Profile/25
https://ci.chromium.org/p/flutter/builders/staging/Mac iOS Engine Release/24

\cc @zanderso

Upload of dsym files is still failing:

https://ci.chromium.org/p/flutter/builders/staging/Mac iOS Engine Release/27

Fix https://flutter-review.googlesource.com/c/recipes/+/41720

Ios docs are still being uploaded from staging. Fix https://flutter-review.googlesource.com/c/recipes/+/41715


⚠ Jenkins Plugins Artifactory has degraded performance

In 57af83f, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1209 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 636092a after 12 minutes.


PdfKit generate pdf in server side but not send it to client using browserify

Hi friend,
I am going to use http://pdfkit.org/demo/browser.html to generate pdf in iframe but it gives error
this._blob = new Blob(this._chunks, {
TypeError: undefined is not a function
at BlobStream.toBlob (/home/hacker201501/Desktop/cocreate/node_modules/blob-stream/index.js:33:18)
at BlobStream. (/home/hacker201501/Desktop/cocreate/app/controllers/designs.js:275:17)
at BlobStream.EventEmitter.emit (events.js:129:20)
at finishMaybe (_stream_writable.js:446:14)
at endWritable (_stream_writable.js:455:3)
at BlobStream.Writable.end (_stream_writable.js:422:5)
at PDFDocument.onend (_stream_readable.js:501:10)
at PDFDocument.g (events.js:199:16)
at PDFDocument.EventEmitter.emit (events.js:129:20)
at _stream_readable.js:898:16
this is my code
stream.on('finish', function() {
var blob, url;
blob = stream.toBlob('application/pdf');
url = stream.toBlobURL('application/pdf');
console.log(url)
return iframe.src = url;
});

Any progress on this issue?

+1

Hello I got a similar error:
My code:
var pdfDoc = require("pdfkit");
var doc = new pdfDoc();
var blobStream = require("blob-stream");
var stream = doc.pipe(blobStream());
// some document stuff here e.g doc.text()
doc.end()
stream.on("finish",function(){
        var blob = stream.toBlob("application/pdf");
        // use blob here
});

This is the error Im getting:
    this._blob = new Blob(this._chunks, {
                 ^

TypeError: Blob is not a function
    at BlobStream.toBlob (.../node_modules/blob-stream/index.js:33:18)
    at BlobStream.<anonymous> (.../make-invoice.js:269:27)
    at emitNone (events.js:72:20)
    at BlobStream.emit (events.js:166:7)
    at finishMaybe (_stream_writable.js:482:14)
    at endWritable (_stream_writable.js:492:3)
    at BlobStream.Writable.end (_stream_writable.js:457:5)
    at PDFDocument.onend (_stream_readable.js:498:10)
    at PDFDocument.g (events.js:260:16)
    at emitNone (events.js:67:13)


Add http verbs to Search Connection

This is largely a refactoring of the existing Search Connection to use the API (but not the actual implementation) of Google API Client. This refactoring should make it much easier to convert to using the real Google API Client once the Search REST API is discoverable.

This looks great! I love this approach. I say we merge this and then I'll rebase my WIP to use it. Once we get to POST and DELETE we can make those changes.


Consider having pub use its own naming schema for temporary directories

Using the system provided mkdtemp will make the directory only readable by the user running the script
Snippet from discussion:
could we simply fix this by not relying on system generated temporary dirs for this? You are already creating these in a directory you control, how about temp/temp_package_name_millisecondsSinceEpoch for the temporary name? Creating that with the normal Directory.create function? It should be a pretty local change if I remember correctly on how pub has the io library
Since there can potentially be more than one pub instance running (in different directories concurrently, getting the same package) - consider also including a hash of the directory you are invoking pub on in the dir name.

This issue has been moved to dart-lang/pub#1258.


examples: setup TPC-H data

https://duckdb.org/docs/extensions/tpch.html -> parquet files as easiest path?


SKLearn ElasticNetCV model not supported.

Hello,
I´ve used this code to train an ElasticNet model and then use Shap to visualize a waterfall plot.

    model = ElasticNetCV(cv=5, random_state=0)
    model.fit(train_data.drop('Case', axis=1), train_data["Case"])

    explainer = shap.Explainer(model)
    shap_values = explainer(train_data.drop('Case', axis=1))

    # visualize the first prediction's explanation
    shap.plots.waterfall(shap_values[0])

However,  this code throws the following exception:
Traceback (most recent call last):

File "biopsy_prediction.py", line 39, in
explainer = shap.Explainer(model)
File "/venv/lib/python3.9/site-packages/shap/explainers/_explainer.py", line 173, in init
raise TypeError("The passed model is not callable and cannot be analyzed directly with the given masker! Model: " + str(model))
TypeError: The passed model is not callable and cannot be analyzed directly with the given masker! Model: ElasticNetCV(cv=5, random_state=0)

Is this not supported or do I use Shap in a non-intended way?

I have the same problem.


Allow axe specific enchantments on axe

Fixes #4211
NOTE: target branch is 1.10, can also be cleanly merged in 1.11.

Whoops... I mentioned the wrong issue here.. #4122 is the right one

Thanks!


Implement Rest APIs for user associations management.

Implement Rest APIs for user associations management.

Implemted with https://github.com/wso2/identity-api-user/pull/17


"baddbmm__mkl" not implemented for 'Half'

Hello!
I was trying to run the first line in the demo, but an error occured.
"python gen_t2m.py --gpu_id 1 --ext exp1 --text_prompt "A person is running on a treadmill.".
It is important to mention, that this is being executed without cuda or GPU, just the CPU. In the attempt of doing so, it loads CLIP correctly however in the step after it fails. The error is the following:
anaconda3/envs/momask/lib/python3.7/site-packages/torch/nn/functional.py", line 4294, in multi_head_attention_forward
attn_output_weights = torch.bmm(q, k.transpose(1, 2))
RuntimeError: "baddbmm__mkl" not implemented for 'Half'
Of what I have seen, it is an error that can't be solved unless I use cuda or I change some parameters, which I don't know where to change.

Hi,
Pleased refer to this:
https://github.com/EricGuo5513/momask-codes/blob/c7825522ccf259b232aee71418f62724e84e06c3/models/mask_transformer/transformer.py#L184

Hi,
I commented the line, however the same error appears. Do you know what else it might be?

Thanks, it worked!


Perf uses capital F for fields

I used ./perfcollect install to install perf tools on Ubuntu 14.04, and whatever version it pulled down (I tried to find the version couldn't) uses -F instead of -f for fields now. I see that in perfcollect this is special cased for RHEL, but now the update has propagated through to what is running on ubuntu.

Fixed via #45.


Re-enable mima

now that 0.2.0 is out, let's keep binary compatibility for a while.
closes #6

Codecov Report

Merging #10 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #10   +/-   ##
=======================================
  Coverage   86.24%   86.24%
=======================================
  Files          12       12
  Lines         189      189
  Branches       15       15
=======================================
  Hits          163      163
  Misses         26       26

Continue to review full report at Codecov.

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

👍


[Bug] Headscale attempts to use non-existent TLS certs when using OIDC behind a reverse proxy

Is this a support request?

[X] This is not a support request

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Context: in our deployment, a central proxy handles everything HTTPS, so the proxy talks HTTP to Headscale, however, the server URL is still https, since all incoming requests will be HTTPS.
When marking OIDC as mandatory, headscale attempts to read a non-existent certificate in /etc/let's encrypt/live/headscale/cert.pem
That certificate did exist once, however, since we're handling HTTPS at the proxy level now, I deleted them from certbot.
Expected Behavior
Headscale works fine with OIDC required for startup enabled
Steps To Reproduce

Using a reverse proxy that handles HTTPS, and a HTTP server URL, with empty TLS certs in the config file
Marking OIDC as mandatory in the config file
Headscale crashes on startup

Environment
- OS: Ubuntu 20.04
- Headscale version: 0.23.0
- Tailscale version: [not applicable]

Runtime environment

[X] Headscale is behind a (reverse) proxy
[ ] Headscale runs in a container

Anything else?
No response

Apologies, that issue was written somewhat from memory, I thought I had installed 0.22.3 because that's what I remember from my setup at home.
I actually set up 0.23.0, and never anything else in this case.

I've attempted using http instead of https in the server URL as well, but the issue persists. Here's my (somewhat sanitized) config:
server_url: "https://cluster.<root domain>:443"
listen_addr: <IP_ADDRESS>:443
metrics_listen_addr: <IP_ADDRESS>:9090
grpc_listen_addr: <IP_ADDRESS>:50443
grpc_allow_insecure: false
noise:
  private_key_path: /var/lib/headscale/noise_private.key
prefixes:
  v6: fd7a:115c:a1e0::/48
  v4: <IP_ADDRESS>/10

  # Strategy used for allocation of IPs to nodes, available options:
  # - sequential (default): assigns the next free IP from the previous given IP.
  # - random: assigns the next free IP from a pseudo-random IP generator (crypto/rand).
  allocation: sequential

# DERP is a relay system that Tailscale uses when a direct
# connection cannot be established.
# https://tailscale.com/blog/how-tailscale-works/#encrypted-tcp-relays-derp
#
# headscale needs a list of DERP servers that can be presented
# to the clients.
derp:
  server:
    enabled: true
    region_id: 999
    region_code: "headscale"
    region_name: "Headscale Embedded DERP"
    stun_listen_addr: "<IP_ADDRESS>:3478"
   private_key_path: /var/lib/headscale/derp_server_private.key
    ipv4: <IP_ADDRESS>
    ipv6: 2001:db8::1
  urls:
    - https://controlplane.tailscale.com/derpmap/default
  paths: []
  auto_update_enabled: true
  update_frequency: 24h
disable_check_updates: false
ephemeral_node_inactivity_timeout: 30m

database:
  type: sqlite
  debug: false
  gorm:
    prepare_stmt: true
    parameterized_queries: true
    skip_err_record_not_found: true
    slow_threshold: 1000
  sqlite:
    path: /var/lib/headscale/db.sqlite
    write_ahead_log: true

acme_url: https://acme-v02.api.letsencrypt.org/directory
acme_email: ""
tls_letsencrypt_hostname: ""
tls_letsencrypt_cache_dir: /var/lib/headscale/cache
tls_letsencrypt_challenge_type: HTTP-01
tls_letsencrypt_listen: ":http"
tls_cert_path: ""
tls_key_path: ""

log:
  format: text
  level: debug

policy:
  mode: file
  path: ""

dns:
  magic_dns: true
  base_domain: example.com
  nameservers:
    global:
      - <IP_ADDRESS>
      - <IP_ADDRESS>
      - 2606:4700:4700::1111
      - 2606:4700:470
      - 0::1001
    split:
      {}
  search_domains: []
  extra_records: []
  use_username_in_magic_dns: false

unix_socket: /var/run/headscale/headscale.sock
unix_socket_permission: "0770"

oidc:
  only_start_if_oidc_is_available: true
  issuer: "https://intranet.<root domain>/fast-sso/auth/"
  client_id: "headscale"
  client_secret: "<client secret>"
  scope: ["openid", "profile", "email", "roles", "web-origins"]

logtail:
  enabled: false
randomize_client_port: false```

Our OIDC provider is a locally running instance of Keycloak, in case that matters.

Hey @vguttmann I am running a similar setup as you, I cant seem to replicate this, however I have never used letsencrypt in the past.
Could try backing up and cleaning out tls_letsencrypt_cache_dir ?

That directory didn't even exist for me, maybe because I did not use Certbot as it's usually used - we just use certbot to request certificates for a subdomain of our choice from Sectigo without any actual verification (since they're just subdomains of our actual domain), using preshared keys, which obviously isn't really covered by the config file.
I just left those entries unchanged (except for cert and private key path), as they were supplied, and pointed headscale to /etc/letsencrypt/live/headscale/fullchain.pem and privkey.pem. Why it is now attempting to read cert.pem, even after I have used certbot to delete the certificate, and removed any mentions of them from the config file, is a mystery to me.
If you can work with Proxmox VM dumps, I could send one over to you after sanitizing the image a bit.

If you could please attach the server logs when its starting up that might be helpful for anyone trying to help troubleshoot.

Oh, right. Here's the output of journalctl -u headscale for a single start attempt
Dec 13 19:38:14 headscale systemd[1]: headscale.service: Scheduled restart job, restart counter is at 1.
Dec 13 19:38:14 headscale systemd[1]: Started headscale.service - headscale coordination server for Tailscale.
Dec 13 19:38:14 headscale headscale[2207]: 2024-12-13T19:38:14Z WRN
Dec 13 19:38:14 headscale headscale[2207]: WARN: The "dns.use_username_in_magic_dns" configuration key is deprecated and has been removed. Please see the changelog for more details.
Dec 13 19:38:14 headscale headscale[2207]: 2024-12-13T19:38:14Z INF Opening database database=sqlite3 path=/var/lib/headscale/db.sqlite
Dec 13 19:38:14 headscale headscale[2207]: 2024-12-13T19:38:14Z INF ../../../home/runner/work/headscale/headscale/hscontrol/derp/server/derp_server.go:103 > DERP region: {RegionID:99>
Dec 13 19:38:14 headscale headscale[2207]: 2024-12-13T19:38:14Z INF ../../../home/runner/work/headscale/headscale/hscontrol/derp/server/derp_server.go:104 > DERP Nodes[0]: &{Name:999>
Dec 13 19:38:14 headscale headscale[2207]: 2024-12-13T19:38:14Z INF STUN server started at [::]:3478
Dec 13 19:38:14 headscale headscale[2207]: 2024-12-13T19:38:14Z INF Setting up a DERPMap update worker frequency=86400000
Dec 13 19:38:14 headscale headscale[2207]: 2024-12-13T19:38:14Z FTL ../../../home/runner/work/headscale/headscale/cmd/headscale/cli/serve.go:29 > Headscale ran into an error and had >
Dec 13 19:38:14 headscale systemd[1]: headscale.service: Main process exited, code=exited, status=1/FAILURE

Oh my god.  I just assumed that journalctl gives me the most recent stuff first. THE DATE WAS RIGHT THERE. THE TIMESTAMPS WERE THERE.

No worries, glad you figured it out!


First pass at tape tests instead of bats tests

Main advantage is that these can run on windows more easily, thus fixes #249
cc @AndrewFarley @kichik @heri16

This is great @dschep thanks for bootstrapping this.  If you want a hand with something in particular or a second eye let me know.  Happy to help.  Cheers!

Thanks @AndrewFarley. I currently need help debugging the errors with npm not being found by spawnSync in appveyor, if someone with Windows could try to run the tests locally (clone this branch, then: npm i && node test.js) that would be much appreciated. For further help, I'm gonna first get the skip conditions worked out (ie: when not to run the docker tests) and then I'll probably want some help just porting over the remaining tests.

woo hooo. tests passing. temporarily cherrypicked a "fix" for #252 to make it happen

Merging this now as it's already way better than the current(broken) windows test coverage.


Re-add default port tests

I don't think these tests are flaky when run in their own test group. See https://github.com/aspnet/KestrelHttpServer/issues/2784#issuecomment-415148647

Reverted in https://github.com/aspnet/KestrelHttpServer/commit/f6cc980b2ca6c688e7147effbb21ee9e04ca1c1b


Be explicit in query for distinct application_id

Coverage remained the same at 87.017% when pulling 3b211a40a075aa52de2b05bf22d7da9cfc597269 on bug/404 into feda49d4bf950f24287b9f5dfe82407884a603dd on main.


Fix license headers on source files

https://github.com/IBM/repo-template#license
Should be:
# Copyright contributors to the python-itoolkit project
# SPDX-License-Identifier: MIT

Hi! I would like to work on this issue. Can this issue count towards hacktoberfest?

Sure!


Document the usage of the SNAP config file

The SNAP configuration file is not well documented, which leads to confusion as to when/where this config file should be used.

Resolved by #184, which deleted the SNAP input.


Update composer.json

Tested manually and working fine on 1.5.

~1.4 does not exclude 1.5...?

Yeh, this doesn't need changing.

I'm sorry to say this, but RTFM: https://getcomposer.org/doc/01-basic-usage.md#next-significant-release-tilde-and-caret-operators-
About the caret operator - basically ~1.4 and  ^1.4 means the same thing, but ^ is more accurate regarding SemVer, so I guess in the long run it is better to use it at least for educational purposes. In short we could change ~1.4 to ^1.4, but there is no point in increasing the minimum to 1.5.

It's fine as it is. It doesn't need changing.

@hkdobrev ^ only makes sense if a specific minor version is required, ~1.4 and ^1.4 are equivalent.

Going to close this as it wasn't designed to be a debate.


BOTW Everything Blacked Out on Resolution Pack Rel 87

Hi There,
Having Problems with Botw. Despite the Menue its not rendering Anything with activated resolution Pack.
GPU = Rx Vega 64
Cpu = i5 6600k @ 5Ghz
Ram = 16Gb
Deleted all Packs Several Times an tried the last 4 Releases.

#7


Display data in MB, GB instead of MiB, GiB

Hello, is there a way to display output in Megabytes and Gigabytes instead of default Gibibyte units?
I can't find the option on the manual.
Thanks in advance.

Hello, currently there's no way to change the units. However, I can certainly look into it. It should also be part of issue #178.
As a side note, simply changing it to mb/gb should be fairly easy, just need to edit the following three lines and build again.

Thanks a lot, it would be awesome if you can add that option someday. At this moment i'll change those lines and rebuild.


Add content in the Readme

done!
https://github.com/venugopalgajam/tepp-in/commit/4c06dcb58d26e22af8e6f7bb284afffd355fdbf7


Multicluster Service MeshGateway - Connected Clusters - Could not resolve host: httpbin.bar.global

I'm following the steps to create connected clusters from this page:
https://istio.io/docs/examples/multicluster/gateways/
I get to step 5 which calls:
kubectl exec --context=$CTX_CLUSTER1 $SLEEP_POD -n foo -c sleep -- curl -I httpbin.bar.global:8000/headers
and the response is:
curl: (6) Could not resolve host: httpbin.bar.global
Also, when looking at the CoreDNS ConfigMap which has been taken from this page and applied:
https://istio.io/docs/setup/kubernetes/install/multicluster/gateways/
the ConfigMap reverts back and deletes the global section after a few minutes:
global:53 {
        errors
        cache 30
        proxy . xx.xx.xx.xx
    }

Are there any issues which would cause this to happen?
Thanks

I also suffered from the same issue. Is there any help on the way?

Same here...
istio-coredns-plugin container shows de registry but cannot resolve
2019-05-23T19:07:30.655920Z	info	adding DNS mapping: httpbin.bar.global.->[<IP_ADDRESS>]
<IP_ADDRESS> is the address of my istiocoredns svc
nslookup: can't resolve 'httpbin.bar.global': Name does not resolve
/ # nslookup httpbin.bar.global. <IP_ADDRESS>

Lost a day to this problem last week. It appears to be a limitation with AKS - https://github.com/Azure/AKS/issues/811
The coredns configmap cannot be overwritten. The resolution is to extend the coredns configmap by creating a coredns-custom configmap.
Please take note of the name used in the data section. It must be suffixed with ".service" otherwise it will not work.
kubectl apply -f - <<EOF
apiVersion: v1
kind: ConfigMap
metadata:
  name: coredns-custom
  namespace: kube-system
data:
  istio.service: | # you may select any name here, but it must end with the .server file extension
    global:53 {
        errors
        cache 30
        proxy . $(kubectl get svc -n istio-system istiocoredns -o jsonpath={.spec.clusterIP})
    }
EOF

Same issue in K8 not in AKS.
curl: (6) Could not resolve host: httpbin.bar.global
apiVersion: v1
kind: ConfigMap
metadata:
name: coredns
namespace: kube-system
labels:
addonmanager.kubernetes.io/mode: EnsureExists
data:
Corefile: |
.:53 {
errors
health
kubernetes cluster.local in-addr.arpa ip6.arpa {
pods insecure
upstream /etc/resolv.conf
fallthrough in-addr.arpa ip6.arpa
}
prometheus :9153
forward . /etc/resolv.conf
cache 30
loop
reload
loadbalance
}
global:53 {
errors
cache 30
forward . xx.xx.xx.xx
}

I am blocked on this issue and the workaround does not seem to work for me.


Adafruit qtpy rp2040 target starts CDC/ACM USB only once - suspect flash timing

Changes:
PICO_FLASH_SPI_CLKDIV from 2 to 4
(to slow the clock, by halving it)    and

PICO_FLASH_SIZE_BYTES from 4 to 8
(from branch 'develop' which already has the flash sized to 8MB)

Reference system Linux host PC will not enumerate /dev/ttyACM0
(or related device names) except upon UF2 firmware upload.
UF2 upload is fine and program will run once, until power is removed.
Then, never again.
This patch is meant to allow the (end-user authored) firmware/program
to run repeatedly, including cycling power to the target board.
First (SPI clock divisor) value tried was '4' (from '2').
No other experiments done, in search of the optimal clock divisor.
Not at all sure what the clock divisor 'does'.
Simple guess:
Going from 2, to 4 would 'halve' the clock frequency (divide it
by 2).
Halving the frequency would cause the subsystem to evolve
all events more slowly, which apparently helps in enumeration
of the CDC/ACM device to the host PC.

@wa1tnr Please change this PR to target develop instead of master.
ping @tannewt and @dhalbert

@lurch I think I've complied - created a parallel branch and PR.
Don't know what to do with this one #400.
Thanks for your help!


Fixes issue 381

This fixes the issue https://github.com/guardian/scribe/issues/381 where two characters are left off the selection after the indent command is executed.
This does not fix:

the behaviour where multiple Ps are automatically converted into a single H2 (step 2 of the process outlined in the issue which is something to do with scribe-plugin-heading-command)
FF only: the behaviour where the selection is lost and therefore the whole operation fails when scribe.el is focused (something to do with scribe-plugin-toolbar)

Not strictly related but I thought could come in handy: the changes in selection serve to spare the need of creating many Selection instances by calling the update method instead. In fact, I was wondering if Selection wouldn't be better as a singleton.

Could you add some unit tests to demonstrate the behaviour/fix?

Sure, I'll work this out today

The tests are failing, if you have the chance to look then I think I'd be happy to merge.

This may be that I need to bring this PR up to date will the latest changes. I'll look into it when I get back next week. Thanks!

oh, that is my own test failing. I'll see what's wrong this evening.

Yeah!

Awesome, I'll look into releasing it soon

@regiskuckaertz second favour of the day, could you rebase with master so I can release this?

Sure!


Option to allow tooltip to show distance in the UI

Added an option in the Mod for the UI to show the distance to a creature during an ally's turn. The distance is displayed under the label "Ally" or "Enemy".
This is useful because otherwise you don't know the distance you are from an Ally or Enemy during your turn, and often need to count squares by moving the 'movement shadow' of the character.

Actually, I found a new thing to improve, don't approve just yet please

Okay, everything ready. Waiting for a review/approval. Thanks guys!

I momentarily closed this to inspect a possible minor UI error. Will open once I get it fixed and tested

Fixed the small UI error and tested again


Obfuscates pocket slots from the Strip Menu

About the PR
Hides pocket items from strip menu changes.
It is a bit hardcoded right now and the only other example of this in code hardcodes it something similar. I'd like to try to not hardcode it, but I'm having issues getting to that point.
Screenshots

Changelog

:cl:

add: Adds obfuscation to pocket items so players can't check the strip menu to see what they have.

you could maybe have a datafield bool on the slot for whether it should be 'hidden'? and then check that instead of pocket1/pocket2

you could maybe have a datafield bool on the slot for whether it should be 'hidden'? and then check that instead of pocket1/pocket2

Oh that's a good idea, but in this instance how would I check for that? I know I can throw it on the slot like how it's done for the strip delay, but here it's seemingly not going through the inventory system the same way it would on the strip delay PR if that makes sense?
Like I tried to understand how it grabs inventory, but following in breakpoints or in code hasn't exactly been helpful on trying to figure out how it's grabbed.
For example if I made it I can't just do slot.IsHidden because even if I added it to the inventory template, it's not grabbing it from that.
I would add a bool to the dictionary so then it would have 3 variables? But again even if I followed up to the files that I know it's in (StrippableBounderUserInterface, SharedStrippableComponent) I just don't understand how it exactly grabs the data and how to work that in.

this should definitely be a bool. you'd need to network that bool using the strippingboundinterfacestate

I do not understand how this works. If you can give me an example I could try, but I do not know what to add here or how to grab the information.

It looks like the easiest way to do this would be to just update the server's StrippableSystem.SendUpdate(), which is where it gets the slot & the name of the item. Just check if slot.StripHidden or whatever the bool will be called there and obfuscate the name of the item if needed

It looks like the easiest way to do this would be to just update the server's StrippableSystem.SendUpdate(), which is where it gets the slot & the name of the item. Just check if slot.StripHidden or whatever the bool will be called there and obfuscate the name of the item if needed

Got it. This latest push should fix it.


Fix the websocket failover client test failure

Purpose
$Subject
Fixes #22992
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #23684 into ballerina-1.2.x will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           ballerina-1.2.x   #23684   +/-   ##
================================================
  Coverage            14.59%   14.59%
================================================
  Files                   51       51
  Lines                 1411     1411
  Branches               219      219
================================================
  Hits                   206      206
  Misses                1189     1189
  Partials                16       16

Continue to review full report at Codecov.

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


'no-class-fields' work not good for firefox@75

Instance public fields supported from firefox@69
Static public fields supported from firefox@45
my browserslist: ['firefox >= 75']
but, the code below
class {
  a = 1;
  static b = 2;
}

it will throw some errors as ES2022 field 'a' is forbidden., ES2022 static field 'b' is forbidden.
i need only to disable the private_class_fields and private_class_methods;

This plugin does not refer to browserlist, config your preferences yourself.

Maybe my words made you misunderstand.
i mean's，
this rule can be spilt?
then, i can enable public property and disable the private property.

Ah, I see. I think rule splitting is possible, but I think it needs to be done in major versions.
What "syntax" units do you think would be useful to split rules into in order to control compatibility with Firefox, other browsers, and Node.js?
Could you please open a new issue and suggest?


go beyond localstorage limit

The limit for localstorage is 3MB which is not enough to store all the master data we have.
we would be willing to finance the development of a new version of ground-db that stores the data in another manner and allows unlimited data volumes

Hi @drgorb did you ever find a solution to this? Thanks

Hello, GorundDB version 2.0.0 now works with IndexedDB or WebSQL since it is based on LocalForage.
IndexedDB is the newer option, but can be very slow. It has much more room that LocalStorage.

(I had actually added cordova support for native storage but it did not work consistently)

Hello @raix
In our testing we have found that IndexedDB can take more than 5 minutes to give an answer in some cases, Native Storage should be a lot better than that.

@btafel no I could never get it to work reliably. we ended up restricting access to the master data only in online mode


CardFaces do not have an oracle_id field.

Describe the search option you'd like
Reversible cards do not have oracle_ids, instead each face has its own. I believe that CardFaces should have an Option<Uuid> field called oracle_id with the ids of each face when that card is a reversible card.
Link showing the option
Link to the docs or a link show how the option can be used.

Fixed in 0.16.1!
Thanks for the bug reports!


HHH-11037 - Same named subtype embeddable properties ignored

https://hibernate.atlassian.net/browse/HHH-11037

Merged. Thanks!


Link to schedule syntax in GitHub Actions guide

This updates the Events section of the "Understanding GitHub Actions" guide, to link to the schedule events syntax.

This updates the Events section of the "Understanding GitHub Actions" guide, to link to the schedule events syntax.


CommentsEndpointTests - PATCH /comments/{commentId}/votes/*: Refactor comment upvote and downvote test suite to match new spec

What does this PR do?
Continues PR #98  Issue #75
Summarise the main tasks handled in the pull request

Match specification
Ensure the number of votes returned is correct

Describe (in detail) what the task completed in the pull request does as per the relevant task

Inserts a comment into the database, and visit the upvote route, then check that the total number of votes and the total number of upvotes are both equal to 1 and total number of downvote is 0
Inserts a comment into the database and visit the downvote route, then check that the number of votes returned is as expected

Any background context you want to provide?
I had already written the tests when upvote and downvote were separate routes.
Any pertinent information that should be considered
What is the link to the issue on Github?
Issue #75

Done @piouson


How  can I process other original datasets into the format files of 'x', 'y', 'allx', 'ally' etc like yours?

Hi, could you tell me how  can I process other original datasets into the format files of 'x', 'y', 'allx', 'ally' etc like yours? Thanks a lot!

I'm thinking about it, too.

I have the same question anybody find out the solution please let me know as well

It's a good question indeed, I checked active forks of this repository and found nothing useful. https://techgaun.github.io/active-forks/index.html#kimiyoung/planetoid

I tried the origional dataset but the accuracy is pretty low . Please let me konw if anyone found the solution

I'm thinking about it,，please let me know if anyone found the solution,thank you.

Hi, could you tell me how can I process other original datasets into the format files of 'x', 'y', 'allx', 'ally' etc like yours? Thanks a lot!

Excuse me, have you found the solution?

Anyone found any solution?

找不到啊，好烦好烦。

<EMAIL_ADDRESS>


Make main the default branch

@paranoya you need to change the default branch to main. I cannot see the settings button that appears after the insights tab.

This has already been solved


HELP ME! while typing python SocialFish.py then showing this traceback (most recent call last):   File "SocialFish.py", line 3, in      from flask import Flask, request, render_template, jsonify, redirect, g, flash ImportError: No module named flask

"no module named Flask" - did you follow the installation instructions and installed the requirements before running?
if yes try:
python3 -m pip install Flask
if no follow:
https://github.com/UndeadSec/SocialFish/wiki/Setting-Up-SocialFish

Solution:
python3 -m pip install Flask
python3 SocialFish.py


fix delete customized clusterClaim

issue: https://github.com/open-cluster-management/backlog/issues/13368

/retest

/lgtm

/retest

/lgtm


sc-tracing: Only print events for whitelisted targets

We should only print events for whitelisted targets, otherwise we may run into some stack overflow while printing the event.

bot merge

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-each-crate-macos
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3105632

bot merge


error when building with vite-ssg

Attempting to run npm build on my vitesse-based project and I'm seeing the following error:
...
[vite-ssg] Build for server...
vite v2.5.6 building SSR bundle for production...
✓ 78 modules transformed.
.vite-ssg-temp/manifest.webmanifest        0.38 KiB
.vite-ssg-temp/main.js                     137.98 KiB
.vite-ssg-temp/assets/style.1bff94d7.css   22.56 KiB
TypeError: Cannot read property '_s' of undefined
    at useStore (/home/weiner/Sites/hc_project/handcrafted/vue/node_modules/pinia/dist/pinia.cjs.js:1544:20)
    at Module.<anonymous> (/home/weiner/Sites/hc_project/handcrafted/vue/.vite-ssg-temp/main.js:2673:19)
    at Module.o._compile (/home/weiner/Sites/hc_project/handcrafted/vue/node_modules/jiti/dist/v8cache.js:2:2778)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
    at Module.load (internal/modules/cjs/loader.js:937:32)
    at Function.Module._load (internal/modules/cjs/loader.js:778:12)
    at Module.require (internal/modules/cjs/loader.js:961:19)
    at require (internal/modules/cjs/helpers.js:92:18)
    at __require (/home/weiner/Sites/hc_project/handcrafted/vue/node_modules/vite-ssg/dist/chunk-3FHQZVYO.js:22:12)
    at build (/home/weiner/Sites/hc_project/handcrafted/vue/node_modules/vite-ssg/dist/node/cli.js:140:52)

Any idea if the issue is with pinia or with vite-ssg? The only ticket I can find that references both is https://github.com/antfu/vite-ssg/issues/72. Here's the app init in my main.ts
// https://github.com/antfu/vite-ssg
// https://github.com/antfu/vite-ssg/issues/72
export const createApp = ViteSSG(
  App,
  {routes},
  (ctx) => {
    // install all modules under `modules/`
    Object.values(import.meta.globEager('./modules/*.ts')).map(i => i.install?.(ctx));
    const pinia = createPinia()
    pinia.use(({store}) => {
      store.router = markRaw(ctx.router)
    })

    ctx.app.use(pinia)
  },
)

@mrweiner take a look at this example updated a few days ago here https://github.com/antfu/vite-ssg/tree/main/examples/multiple-pages-with-store
Anyway,  why are you storing the router on the store?

Yeah the store on the router was actually just in that other ticket, so that's just what I dropped in. I couldn't find any references at the time on how to properly implement this.
I did just try the example that you provided and I'm still seeing the same error. I should note that I removed the router.beforeEach() section because I don't really have any sort of initialize method on my stores that I could call in there. For instance, one is just an auth store to help store/manage access and refresh tokens, so the store isn't really "initialized" locally unless somebody uses the login form. Maybe I'm misunderstanding why that bit is there.

@mrweiner this store is for ssr/ssg initialization to avoid a roundtrip to the server. To use your stores just use poinía on the app. You should read this on vite-ssg docs https://github.com/antfu/vite-ssg#initial-state

Fwiw I'm seeing the error on build with just this as well. This seems like the minimum needed, right? My app in general breaks without this.
export const createApp = ViteSSG(
  App,
  {routes},
  (ctx) => {
    // install all modules under `modules/`
    Object.values(import.meta.globEager('./modules/*.ts')).map(i => i.install?.(ctx));
    const pinia = createPinia()
    ctx.app.use(pinia)
  },
)

If you are not using the pinia object there you dont need to create it on the callback.

if you are using it on the app then this is the way to initialize it or you can create another module to register it.

I guess that's what I'm saying. I'm using pinia stores throughout the app so I'm initializing pinia here. The app runs as expected on localhost, but npm run build errors out.
That said, I did just try adding the above ViteSSG with pinia to a clean instance of https://github.com/antfu/vitesse and the build ran fine, so there must be something else going on with my implementation. I'll need to dig around to figure out what's causing the issue.

It looks like the cause of this is using my store outside of a vue component.
/~/store/auth.ts
export const useAuthStore = defineStore({ ... })

/~/modules/cart.ts
import { useAuthStore } from "~/store/auth";
const authStore = useAuthStore();
...
export const cartApi = { ... }

Then cartApi is used around the app. Removing all of the store-related code from carts.ts allows the build to run fine, but useAuthStore() causes the build to break. Maybe I need to open a new issue over in vite-ssg to see how I should deal with this. I'd assume that the stores just don't exist yet when the ssg is looking at the module or something.

I'm having the same issue with the code below. When I remove the useAuthStore the build runs fine. I just can't find the best practice of setting up global middleware with the store. In development mode I have no issues like the rest here.
import { createPinia } from 'pinia'
import type { RouteParams } from 'vue-router'
import { ModuleInstall } from '~/types'
import { useAuthStore } from '~/stores/auth'

// Setup Pinia
// https://pinia.esm.dev/
export const install: ModuleInstall = ({ isClient, initialState, app, router }) => {
  const pinia = createPinia()
  app.use(pinia)
  // Refer to
  // https://github.com/antfu/vite-ssg/blob/main/README.md#state-serialization
  // for other serialization strategies.
  if (isClient) {
    pinia.state.value = (initialState.pinia) || {}
  } else {
    initialState.pinia = pinia.state.value
  }

  // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
  router.beforeEach((to, from): boolean | void | RouteParams => {
    const auth = useAuthStore()
    if (to.meta.middleware) {
      if (to.meta.middleware === 'auth' && !auth.user) {
        return { name: 'login' }
      }
      if (to.meta.middleware === 'guest' && auth.user) {
        return { name: 'index' }
      }
    }
  })
}

Do you have a boiled down repro I can check?

@posva, you can just clone the vitesse repo that uses vite-ssg, and update the main.ts file with a reference to the store:
If you await router.ctx.isReady before using a store this error is not thrown, then, however, vite-ssg skips page generation.
// register vue composition api globally
import { ViteSSG } from 'vite-ssg'
import generatedRoutes from 'virtual:generated-pages'
import { setupLayouts } from 'virtual:generated-layouts'
import App from './App.vue'

// windicss layers
import 'virtual:windi-base.css'
import 'virtual:windi-components.css'
// your custom styles here
import './styles/main.css'
// windicss utilities should be the last style import
import 'virtual:windi-utilities.css'
// windicss devtools support (dev only)
import 'virtual:windi-devtools'
import { useUserStore } from './stores/user'

const routes = setupLayouts(generatedRoutes)

// https://github.com/antfu/vite-ssg
export const createApp = ViteSSG(
  App,
  { routes },
  async (ctx) => {
    // install all modules under `modules/`
    await Promise.all(Object.values(import.meta.globEager('./modules/*.ts')).map(i => i.install?.(ctx)))
    // if enabled, the error is not thrown but vite-ssg does not generate pages.
    // await ctx.router.isReady()
    const userStore = useUserStore()
    console.log(userStore.savedName)
  },
)

I would be easier to check with something smaller.
I'm worried the problem comes from the changes using cjs and mjs files

I was able to solve this differently than @isokosan since (at the moment) I'm not trying to use my stores in main.ts, but instead in an arbitrary module. In the module, above useMyStore(), I added this:

if (!getActivePinia()) {
const p = createPinia();
setActivePinia(p);
}


Htmlproofer suddenly failing due to internal link errors

Whenever I commit a change to any of my themes, I have TravisCI run htmlproofer on a site generated using hugoBasicExample to check whether the generated HTML is still valid. As I commited a change today, htmlproofer found several broken internal links:
- public/post/goisforlovers/index.html
  *  internally linking to /content/front-matter, which does not exist (line 315)
     front matter
  *  internally linking to /layout/functions, which does not exist (line 127)
     Hugo template functions
  *  internally linking to /layout/variables, which does not exist (line 110)
     variables
- public/post/migrate-from-jekyll/index.html
  *  internally linking to /doc/shortcodes/, which does not exist (line 108)
     shortcodes
  *  internally linking to /layout/templates/, which does not exist (line 102)
     Hugo’s template
  *  internally linking to /overview/configuration/, which does not exist (line 76)
     Hugo configuration documentation
htmlproofer 3.10.2 | Error:  HTML-Proofer found 6 failures!

See this log from TravisCI.
I checked the source code of the basic example repo to find that the lines containing these links have not changed in a few years. I also checked the htmlproofer repo and it seems that there haven't been any changes pertaining to internal links there either.
Do you have a clue what might have triggered these errors all of a sudden? Have there been any other changes to hugoBasicExample that may have triggered these?
Thanks for your help!

As you noticed we haven’t changed these links in years. So we do not know what triggered the errors you experience.
However he HugoBasicExample is in the process of being updated.
As a matter of fact it’s content will be completely overhauled provided that the coming changes are accepted and soon most of these links will not exist anymore.
(Also note that there were some changes with Travis CI itself lately, things do not look to bright for it at the moment-look it up).

Alright, thanks a lot for your help! I'm going to look into this a little but further myself.


fix #288 : leave response stream open on swagger json endpoint

Hello,
This should fix #288 by leaving the response stream open.
What do you think ?

Thanks @domaindrivendev !
Any planned release ?

This commit has the side-effect that the generated JSON will now start with a byte-order-mark (BOM) due to the different StreamWriter constructor. (I just found this out the hard way and wanted to leave a comment if someone else is stumped by this)


Mac keeps blocking GC Adapter Driver v.1.6

Hello, I'm using Ventura 13.1 on an M1 MacBook Pro. I seem to have a very similar issue to this person https://github.com/secretkeysio/GCAdapterDriver/issues/8.
I am using the official Nintendo Gamecube adapter for Wii U and the latest version of Dolphin.
Every time I activate the GCAdapterDriver I have to allow it again in my system settings even though my settings allow apps downloaded from anywhere.
When I do this, it still does not work. When I deactivate GCAdapterDriver I am prompted to enter my password. Then the same cycle occurs.
I've tried unplugging and replugging in everything and uninstalling and reinstalling the software, as well as restarting the Mac.
GC Adapter Driver did used to work for me, several months ago, on the same 2021 M1 MacBook Pro with the same peripherals. The official adapter and controller work just fine when plugged into other devices like a Switch.
Any ideas? Thank you.

I missed this, was on vacation. Still an issue?
You should be able to keep it activated, by the way - that switch is just offering a method for loading/unloading the driver in the OS. If it's loaded but no device is plugged in, nothing should happen.


[151527583] Use alpine

https://www.pivotaltracker.com/story/show/151527583

Whoops - did not mean to make this pull request against Aptible's master branch.


Doc: remove deprecated document reference

Change Log
Doc: remove deprecated document reference
The link https://datafuselabs.github.io/openraft/storage.html no longer exists, and I can't find a similar document. I think it's OK to remove this part of the comment.
Checklist

[x] Updated guide with pertinent info (may not always apply).
[x] Squash down commits to one or two logical commits which clearly describe the work you've done.
[x] Unittest is a friend:)

This change is

Oh right. Thanks my hero!


Automated cherry pick of #3909: Add more MC Service info and ToC to Multi-cluster user guide

Cherry pick of #3909 on release-1.7.
#3909: Add more MC Service info and ToC to Multi-cluster user guide
For details on the cherry pick process, see the cherry pick requests page.

/skip-all


Remove version: Nvidia.GeForceNow version <IP_ADDRESS>

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://ota-downloads.nvidia.com/ota/GeForceNOW-release_2597C2.exe
Status code: 200
(Automated message - build 608)

URL: https://ota-downloads.nvidia.com/ota/GeForceNOW-release_2597C2.exe
Status code: 200
(Automated message - build 608)