docs: fix link to github pages documentation

This PR fixes the link for the github pages documentation in the README, which is case sensitive.
By the way, thanks for the great work you put in, I really enjoy your VSCode plugin for Godot as well!

thanks


added changes in footer

Ma,am I have made changes in footer section !
Can you please check it and accept my pull request?

Hi @palakyadav1807 sorry but this issue has been resolved. Please work on another open issue!

Hi @palakyadav1807 sorry but this issue has been resolved. Please work on another open issue!

Ma'am can you please tell me on what part should
I  contribute so that my work wont get rejected?I am contributing to open source for the first time


Prune stale issues

Adds regression tests for the following issues which seem to be fixed on
master:
Closes #1762
Closes #2388
Closes #2672
Closes #2755
Closes #2947
Closes #2978
Closes #3148
Closes #3206
@topecongiro @calebcartwright appologies for the large number of issues
in this commit; if you prefer I can split it up into 2+.

No worries @ayazhafiz, for now this is fine as one PR

Yeah I'll add them in a couple hours
On Mon, Jun 8, 2020 at 5:54 PM Caleb Cartwright<EMAIL_ADDRESS>wrote:

@calebcartwright commented on this pull request.
In tests/target/issue-2672.rs
https://github.com/rust-lang/rustfmt/pull/4246#discussion_r437078297:

fn test(

   shortname: i32,

   averylongname_asdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdsffffffffffffffffffffffffffffffffffffffffffffffff: i32,

) {
}

let averylongname_asdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff =

   0;

+}
+
+mod asdf {

fn test(

   averylongname_asdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdsffffffffffffffffffffffffffffffffffffffffffffffff: i32,

) {
}
+}

Could we include the other snippets posted in #2672 (comment)
https://github.com/rust-lang/rustfmt/issues/2672#issuecomment-416498411
on that thread?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rust-lang/rustfmt/pull/4246#pullrequestreview-426717571,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE6GL6QDBEINUSTRPN4WQR3RVWB4DANCNFSM4NY42ABA
.


What's new in 2.0?

Struggling to find an answer to this. CHANGES file only goes up to 1.0.3-beta.

The release notes might help: https://github.com/gss/engine/releases/tag/v2.0.0
I believe the documentation at http://gridstylesheets.com has been updated now but the site seems to be having a few issues at the moment.

It's http://gridstylesheets.org/. Our dear @cbchouinard  fixed the site :-)


Invalid request method.

Waiting for your authorization...
Authorization received, processing...
Invalid request method
pub finished with exit code 69

Hi, could you please confirm if this problem still exists with the latest versions on stable or master?
Also does this happen on Android and iOS?
Thanks a lot

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


/api/teams is O(n) again!

/api/teams has fallen back to O(n) somehow.

Will no one rid me of the turbulent priest^W^WO(n) /api/teams

At least we will now have a regression test.  :)


FUSETOOLS2-1138 - added type information for kamelet parameters

based on #611 to provide a more complete test experience (have both hover / description + the type information) available

builds are failing. Removing "ready for review" label

It is already indirectly tested by KameletCompletionTest.

added another test


What happened to disable logs?

Hello.
Was that moved somewhere?
Thanks.

PusherChannelsPackageLogger.disableLogs()


Missing step of package.json during version.sh script

The version in package-lock.json also need to update, then stage the package.json and package-lock.json files.

What happens exactly if we don't stage package.json and package-lock.json? I remember seeing a package-lock.json out of line in my set up once in between changing branches, sounds like this was the reason

git add those files so they are included in the version update commit.

When running npm run version, we make sure every place has the same version number.

When running npm run version, we make sure every place has the same version number.

You shouln't do npm run version.
The version action is a hook that runs when we do npm version patch|minor|major to up the version number. It takes care of creating a new commit with the package and package lock files.

TIL 👍 thanks for sharing the info @stephanebisson


Compilation error

Thanks for the prompt response to the previous call, I get the following error when compiling

Pls help me.

My OC config:

Get latest, your using an old version with something that was fixed a while ago in it.

This works, thank you very much.


stty doesn't accept output from stty -g as input

stty "$(stty -g)"
stty: not integer: 500:5:bf:8a3b:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0

It seems to be because of
else if (atoi(arg) > 0 ) {

being before
else if (sscanf(arg, "%x:%x:%x:%x:%n", &new.c_iflag, &new.c_oflag,

and is true, because atoi(arg) in this case evaluates to 500, so instead of accepting the argument as saved stty -g output, it interprets it as a number for setting input and output speed, and the "not integer" error comes from when that argument is passed to atolx_range.


TimePicker reset on clock/popup click

Each click on the clock to open the dropdown send a new value as 'null', something wrong ? Time is a "DateTime?" property
<MahApps:TimePicker SelectedDateTime="{Binding Time}"
SelectedTimeFormat="Short"
PickerVisibility="HourMinute" HandVisibility="HourMinute"
/>
was working with the 1.6.5 version

Hi @TheCamel ,
which version of MahApps do you use? It would be the best, if you use the Bug-Template next time.
If you can share a sample App it might also be useful.
Thank you & Happy coding
Tim

sorry for the issue template, version 2.2.0
btw,
why do you change from TimeSpan to DateTime ?
I cannot compile the latest source of Demo (all errors related to time control or textboxhelper)
MahApps.Metro is build ok
and also had unexplained troubles with themes when i try to update from 1.6.5 to 220 :-)
sorry have to go back to 165 because application in production

@TheCamel please read this: https://mahapps.com/docs/guides/migration-to-v2.0 . I think it explains much about what is going on with Theming.

Thanks, i allready seens that one, but had trouble with the

i can't find out...
but don't care i go back to 165

I achieve to build the lastest source and you have the same problem with the time control (latest in the right panel ) in the demo application: click the clock and change the time, validate; it is ok
re click the clock, control gets empty and red, display an error
bye

Hi @TheCamel ,
thank you for this updated comment :+1:. I can now reproduce this issue with the latest demo.
Seems like it comes from using AM and PM notation. TimeSpan.TryParse cannot accept this. I have an idea and will try to provide a fix for that.
Happy coding
Tim

Hi @timunie ,
you're welcome, it seams it exist since 2.0
See u

hi, by the way I find it unfortunate that the control manages a DateTime and not a TimeSpan; the most logical unit of time in base is an "integer / long"; i don't want to manage a string or a date to store a time / hour for scheduling; this will lock me to the 165, do i have to create a feature request?

@TheCamel This was changed by this PR #3254 (original #2763 ) . So both classes , TimePicker and DateTimePicker, use DateTime? which is also used by the WPF DatePicker. One way is to use a value converter which stores the DateTime? as TimeSpan and back. Or you just use the DateTime? value.

@TheCamel why did you close this issue? There is definitive an issue with storing / converting the value. The possible solution (see #3932 ) is not implemented yet.

sorry, it's a mistake.


Faulty export to myparcel backend with housenumber suffix

Plugin version
4.9.2
WooCommerce version
6.2.1
WordPress version
5.9.1
PHP version
7.4.28
What went wrong?
When there is a housenumber suffix, the address isn't recognized in the backend of myparcel. The label created in the backend has the street name with the original housenumber at the end and the suffix is used in the housenumber field.
Reproduction steps

Fill in a housenumber suffix when ordering
Export order to myparcel
See "check address" notification in backend myparcel

Relevant log output
No response
Additional context
No response

fixed in version v4.13.0


ImportError: cannot import name 'init_dist' from 'mmdet.apis'

Thanks for your error report and we appreciate it a lot.
Checklist

I have searched related issues but cannot get the expected help.
The bug has not been fixed in the latest version.

Describe the bug
A clear and concise description of what the bug is.
Reproduction

What command or script did you run?
bash ./tools/dist_train.sh configs/point_set_anchor_pose/8GPUs_points_set_anchor_pose_HRNetw32_115E.py 8 ${YOUR_WORK_DIR}

A placeholder for the command.

Did you make any modifications on the code or config? Did you understand what you have modified?
What dataset did you use?

Environment

Please run python mmdet/utils/collect_env.py to collect necessary environment information and paste it here.
You may add addition that may be helpful for locating the problem, such as

How you installed PyTorch [e.g., pip, conda, source]
Other environment variables that may be related (such as $PATH, $LD_LIBRARY_PATH, $PYTHONPATH, etc.)

Error traceback
If applicable, paste the error trackback here.
A placeholder for trackback.

Bug fix
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!

Please update your mmdetection and mmcv

i already have updated version
Torchvision-0.8.2
open-CV-  4.4.0
MMCV- 1.2.1
MMCV COMPILER: GCC: 9.3
On Mon, Dec 14, 2020, 8:21 AM Cao Yuhang<EMAIL_ADDRESS>wrote:

Please update your mmdetection and mmcv
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/open-mmlab/mmdetection/issues/4293#issuecomment-744133158,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANQL5YGZM4UU4F7OYSIILJ3SUV4SBANCNFSM4UZQ3SCQ
.

init_dist is moved to MMCV now, please check here.
https://github.com/open-mmlab/mmcv/blob/02920db2ccfea1fc2e789da485b6d5607af23ec2/mmcv/runner/dist_utils.py#L16-L26

How can i solve this problem?
On Mon, Dec 14, 2020, 8:47 AM Cao Yuhang<EMAIL_ADDRESS>wrote:

init_dist is moved to MMCV now, please check here.
https://github.com/open-mmlab/mmcv/blob/02920db2ccfea1fc2e789da485b6d5607af23ec2/mmcv/runner/dist_utils.py#L16-L26
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/open-mmlab/mmdetection/issues/4293#issuecomment-744139624,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANQL5YHS6WD55PARINSM5HTSUV7WPANCNFSM4UZQ3SCQ
.

import init_dist frommmcv.runner instead of mmdet.apis


[TEVA-2007] Terraform CLI upgrade

Jira ticket URL
https://dfedigital.atlassian.net/browse/TEVA-2007
Changes in this PR:

Updated GitHub Actions workflows to use Terraform 0.14.6
Used version constraints as per Terraform documentation - >= inside the module and ~> outside
Set the module constraints to require 0.13.0 and above
Set the root constraints to require 0.14.0 and above (within the 0.14 release family)
Updated the provider name for AWS from -/aws to hashicorp/aws, as this was throwing an error when using 0.14.6

Next steps:

[ ] Update AWS provider in existing state files with

terraform state replace-provider 'registry.terraform.io/-/aws' 'terraform.example.com/hashicorp/aws'

Closing to re-open with more atomic changes


feat: added logs for postgres.

resolving issue #836
I have incorporated logging in the internal/storage/postgres/dataReader.go file. Kindly review the format, and inform me if any modifications are necessary. Additionally, I would appreciate confirmation that I am following the correct approach.

Thanks for addressing issue #836. The logging in internal/storage/postgres/dataReader.go looks good, and your approach is on the right track 🚀

Resolved issue #836
Please review @tolgaOzen and let me know if any changes required.

Hi @saifxd7, it seems to be done. I'm merging it. Thanks for your contribution.


Can't see the name of other player's pokemon

Whenever I am next to someone who is battling or just have their pokemon out, I cannot see their pokemon's owner name. My wife could not see mine but i could see my own's, and I could not see hers, but she could see her pokemon's owner.
I.E.
[GodNoct]    <--- This is what she cant see but i can, my name on my pokemon.
Mimikyu
lvl: 28

Forwarded to the devs

Closing since forwarded to Pixelmon.


Transfer props from

This allows for styling the accordion, among other things. More information about method.

Thanks for your PR! I didn't want to blindly pass all properties since they are divided between three elements so I made a slightly different implementation. Available in 0.5.1.

Ah yes. That is much better. I appreciate you implementing this!


Fix/test_multiprocessing.py and data_utils_test.py, increase test coverage

Summary
This PR is an attempt in order to increase code coverage and test again ests/keras/utils/data_utils_test.py and tests/test_multiprocessing.py with tensorflow backend.
Related Issues
https://github.com/keras-team/keras/pull/10929, https://github.com/keras-team/keras/pull/10674

PR does not work with Python 2.7., so I'm closing it.


V10 -> v13 upgrade data issue

Hi,
We're in the process of upgrading an umbraco v10 installation to v13 LTS.
We use the OEmbed-picker-property editor in our content blocks in combination with block grids.
We notice that all our properties using the OEmbed-picker-property editor are currently empty in the Umbraco backoffice.

Upon further investigation we notice that the format of the property value has been updated, but our content has not been updated after upgrading Umbraco to v13 and this package to v13.
Old format:
"[{"url":"https://www.youtube.com/watch?v=nv-_zh0Vnzo\",\"width\":244,\"height\":203,\"preview\":\"<iframe width=\"360\" height=\"203\" src=\"https://www.youtube.com/embed/nv-_zh0Vnzo?feature=oembed\\\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen title=\"test\">"}]",
New format:
"["<iframe width=\"360\" height=\"203\" src=\"https://www.youtube.com/embed/nv-_zh0Vnzo?feature=oembed\\\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen title=\"test\">"]"
Any idea how we can convert our values to the new format via code?
Thanks in advance!

Hi @IOSven,
Can you tell me which version of Umbraco you are exactly using.
Dave

Hey @dawoe,
Umbraco v13.3.2

Thank you!
Note: In Umbraco 10 we used nested content in combination with doc type grid editor (https://our.umbraco.com/packages/backoffice-extensions/doc-type-grid-editor)
We've used uSync.Migrations to convert nested content and doc type grid editor to block lists and block grids.

Hi @IOSven
I just setup a sample website using this script
# Ensure we have the version specific Umbraco templates
dotnet new -i Umbraco.Templates::10.8.6 --force

# Create solution/project
dotnet new sln --name "OEmbedTest"
dotnet new umbraco --force -n "OEmbedTest.Web" --friendly-name "Administrator" --email<EMAIL_ADDRESS>--password "1234567890" --development-database-type SQLite
dotnet sln add "OEmbedTest.Web"

#Add starter kit
dotnet add "OEmbedTest.Web" package Umbraco.TheStarterKit --version 10.0.0

#Add Packages
dotnet add "OEmbedTest.Web" package Dawoe.OEmbedPickerPropertyEditor --version 10.0.0

dotnet run --project "OEmbedTest.Web"
#Running

I added a OEmbed picker to the content page doctype and on one of the pages I added a youtube video.
I then stopped the project and updated the csproj file to this to trigger the update to v13
<Project Sdk="Microsoft.NET.Sdk.Web">
  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
    <ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Dawoe.OEmbedPickerPropertyEditor" Version="13.0.0" />
    <PackageReference Include="Umbraco.Cms" Version="13.3.2" />
    <PackageReference Include="Umbraco.TheStarterKit" Version="13.0.0" />
  </ItemGroup>

  <ItemGroup>
    <!-- Opt-in to app-local ICU to ensure consistent globalization APIs across different platforms -->
    <PackageReference Include="Microsoft.ICU.ICU4C.Runtime" Version="<IP_ADDRESS>" />
    <RuntimeHostConfigurationOption Include="System.Globalization.AppLocalIcu" Value="<IP_ADDRESS>" Condition="$(RuntimeIdentifier.StartsWith('linux')) or $(RuntimeIdentifier.StartsWith('win')) or ('$(RuntimeIdentifier)' == '' and !$([MSBuild]::IsOSPlatform('osx')))" />
  </ItemGroup>

  <PropertyGroup>
    <!-- Razor files are needed for the backoffice to work correctly -->
    <CopyRazorGenerateFilesToPublishDirectory>true</CopyRazorGenerateFilesToPublishDirectory>
  </PropertyGroup>

  <PropertyGroup>
    <!-- Remove RazorCompileOnBuild and RazorCompileOnPublish when not using ModelsMode InMemoryAuto -->
    <RazorCompileOnBuild>false</RazorCompileOnBuild>
    <RazorCompileOnPublish>false</RazorCompileOnPublish>
  </PropertyGroup>

</Project>

After that I started the website again.
I can still see the video. So I think the uSync Migrations might have changed the json structure for this package

I suspect it has to do something with the uSync Migrations.
I just checked a website we upgraded from V10 to V13 where we use this property editor in a block list block. And I don't see the issue there.
Dave


TriangularFacetInterpolator: valid average formula?

There is code for computing average that uses twice z0. I think that it should be (z0+z1+z2)/3.0
https://github.com/gwlucastrig/Tinfour/blob/787e8ad69b7f2a47ccdfe49714f97c575d2b16f8/src/main/java/tinfour/interpolation/TriangularFacetInterpolator.java#L199

Good catch!
This line is reached only if the code computes a normal to the triangle's plane and the resulting vector is of length zero or nearly zero.  This condition will occur only when the three vertices lie in a straight line... In which case the triangle is degenerate (has area zero).  When Tinfour is operating properly, all the triangles should be valid and the line will never be reached.
So...  The code is wrong.  The fix is easy.  I will attend to it at my first opportunity.
I am impressed by how closely you are inspecting the Tinfour code.

Fix posted.  Issue is closed.  Thank you for identifying this problem.


Add Rick to team page

Description of changes

Changes some copy
Adds @rickr

@hollomancer couldn't get past the git instructions


Prevent images in cards to overflow

Problem visible on the projects page with narrower browser windows.

Thanks!


代码报错

AttributeError: module 'tensorflow._api.v2.summary' has no attribute 'FileWriter'

On which TF version did you get that error?


cilium-cli: 0.12.3 -> 0.12.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/cilium/cilium-cli/releases.
meta.description for cilium-cli is: "CLI to install, manage & troubleshoot Kubernetes clusters running Cilium"
meta.homepage for cilium-cli is: "https://www.cilium.io/"
meta.changelog for cilium-cli is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.12.4 with grep in /nix/store/rdzxmqyxvwvwvi34a91xdyrc0iw8zjxv-cilium-cli-0.12.4
found 0.12.4 in filename of file in /nix/store/rdzxmqyxvwvwvi34a91xdyrc0iw8zjxv-cilium-cli-0.12.4

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
cilium-cli

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/rdzxmqyxvwvwvi34a91xdyrc0iw8zjxv-cilium-cli-0.12.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A cilium-cli https://github.com/r-ryantm/nixpkgs/archive/d48e7fe59c70ba91981c140dc41171afc07435bb.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/rdzxmqyxvwvwvi34a91xdyrc0iw8zjxv-cilium-cli-0.12.4
ls -la /nix/store/rdzxmqyxvwvwvi34a91xdyrc0iw8zjxv-cilium-cli-0.12.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

cilium-cli

Maintainer pings
cc @humancalico @bryanasdev000 for testing.

Result of nixpkgs-review pr 192413 run on x86_64-linux 1

1 package built:

cilium-cli


Add entry count to directories

Not sure how im supposed to treat the case when file is not a directory.

Could you describe in detail what it's used for, when it is needed, and how you would use it?

i needed it for the plugin that displays filecount on the directories, replicating ranger's behaviour
local save = ya.sync(function(st, counts)
	st.counts = counts
	ya.render()
end)

local function setup(st, opts)
	st.counts = {}

	Linemode:children_add(function(self)
    		if self._file.cha.is_dir and next(st.counts) then
        		local count = st.counts[tostring(self._file.url)]
			return ui.Line { ui.Span(tostring(count)) }
		else
    			return ui.Line("")
		end
	end, opts.order or 4000)
end

local function fetch(self)
	local counts = {}

	for _, file in ipairs(self.files) do
    		if file.cha.is_dir then counts[tostring(file.url)] = file:count() end
	end

	save(counts)

	return 3
end

return { setup = setup, fetch = fetch }

It seems this PR is attempting to solve #1277? I've been looking for this feature for a while. After applying this commit, I found two issues:

When I navigate to / or /home, directories and files don't display correctly.

When counting the number of files, hidden and unhidden files aren't distinguished, which could be confusing.

In my opinion, if the item is a folder, it should show the item count, and if the item is a file, it should show the file size.
P.S.: I also tried to solve this with fs::read_dir (See https://github.com/TobisLee/yazi/commit/aa965199f5c2c5ec03d393db5e9fc83bc41de0e8), but I don't think it's the best approach since there's already a Folder struct, and folder.files.len() can get the file count without considering the hidden files. However, I couldn't find a way to use files.len() to implement this feature. :(

works fine on my machine. unless you are using the plugin i provided, it shouldn't have any effect on your setup.

I'll make a PR to re-implement it - we don't need any sync I/O, and also we need to avoid any I/O as much as possible. In this case, history already contains the complete directory list the user passed through.
https://github.com/sxyazi/yazi/blob/fdd574997bf237a20dde31c9c7a28b3c47345cfc/yazi-core/src/tab/tab.rs#L23

this was more of an rfc, since im not familiar with either rust or yazi's performance sensitive internals. as long as i can display a count and filesize.


Metronome 0.4.3 bump for 1.10

High-level description
What features does this change enable? What bugs does this change fix?
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

DCOS_OSS-3813 Release Metronome 0.4.3 on DCOS 1.10.

Related tickets (optional)
Other tickets related to this change:

DCOS_OSS-2564 Docker Parameter Support.
DCOS_OSS-39324 Better Error Handling.
DCOS_OSS-39102 Graceful handing of Errors during task launching.

Checklist for all PRs

[x] Added a comprehensible changelog entry to CHANGES.md or explain why this is not a user-facing change:
[x] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Change log from the last version integrated (this should be a link to commits for easy verification and review): diff
[x] Test Results: ci test
[x] Code Coverage (if available): N/A

@mesosphere-mergebot bump-ee

@mesosphere-mergebot label ready for review

@mesosphere-mergebot label ready for review


feat: make endpointOverride configurable by DataAddress

What this PR changes/adds
PR adds possibility to specify 'endpointOverride' property in DataAddress.
Why it does that
So that it's possible to push data into different instance of S3 compatible storage than configured via dataplane's properties.
Further notes
Change mostly based on previous PR (https://github.com/eclipse-edc/Connector/pull/1904) by @reisman234, recreated due to changes in project structure.
Linked Issue(s)
Closes https://github.com/eclipse-edc/Technology-Aws/issues/24

@ndr-brt please take a look now - is this what you expected?

@ndr-brt please take a look at newest changes, thanks in advance!

@maciejkizlich-zf just re-request my review through github without adding a comment, so I will be notified correctly ;)

thanks!


Add signature "www.keralarescue.in" to share/copy feature in District needs

Subject of the issue
Add signature "www.keralarescue.in" or something which looks meaningful to share/copy function in district needs

Added


my color tag is not coming in css

Is your feature request related to a problem? Please describe.

Describe the solution you'd like:

Describe alternatives you've considered:

Additional context:

Can you explain in more detail what you mean?

Closing because of lack of information


Which Map API should I get credentials for?

Which of the available Google Map API:s should I get credentials for? Maybe I am doing something wrong. Is there a guide to getting the correct credentials somewhere?

Seems like I did everything correct. At least according to this guide: https://github.com/mchristopher/PokemonGo-DesktopMap/wiki/Google-Maps-API:-a-brief-guide-to-your-own-key
However, no map is appearing and "Loading..." is displayed forever, even though I can see the bot running around to pokestops in the terminal.

Yeah thats the right way to get gapi key. Make sure you are running latest version, because we had similar problem fixed recently.


feat: mkdocs documentation

Adds mkdocs support for readthedocs. View the current feature branch docs here: https://id-mava.readthedocs.io/en/feat-mkdocs-documentation/
Additionally, the readme has been simplified as things like benchmarks have been moved to the docs pages.
Note: the User Guide and Evaluation pages are currently "in the works" and are not currently displayed on readthedocs (they have been commented out in the mkdocs.yml file)

Something that could be good to add to the sharp bits section is to have a part on how total_timesteps and num_updates interact with each other and why we have both config options

Unfortunately this is too stale :(


Enabling the index.

Closes #561
Very simple change.  After running on WGS samples , speed did not seem to improve much.  Leaving in the change, since, according to the javadoc, the index should not hurt performance.

That was an easy review.


Unknown issue following 3.0.0 update

We have a table gets populated with attributes from the points displayed on the map, showing at the lower part of the map.  The attributes have about 10 columns that is working fine with the original v2.9.0 but now it only load 2 columns and looks like it is on a loop and keep loading.  Data is in AGOL.  Got this error when debugging and wonder if this provides a clue?
index.js:163 Uncaught Error: Assertion Failed: You must call `this._super(...arguments);` when overriding `init` on a framework object. Please update <crashmap@service:crashmapdata::ember413> to call `this._super(...arguments);` from `init`.
    at assert (index.js:163)
    at Class._proto.<computed> [as __ASSERT_INIT_WAS_CALLED__ember1564610496677861481332005__] (object.js:131)
    at sendEvent (metal.js:465)
    at initialize (core_object.js:107)
    at Function.create (core_object.js:686)
    at FactoryManager.create (container.js:554)
    at instantiateFactory (container.js:358)
    at _lookup (container.js:290)
    at Container.lookup (container.js:134)
    at Class.lookup (container_proxy.js:78)

npm updated the following dependencies as well:
Package: @ember/jquery

Specified: ^0.6.1

Package: ember-cli

Specified: ^3.11.0

Package: ember-cli-dependency-checker

Specified: ^3.2.0

Package: ember-cli-htmlbars

Specified: ^3.1.0

Package: ember-cli-htmlbars-inline-precompile

Specified: ^1.0.5

Package: ember-cli-inject-live-reload

Specified: ^1.10.2

Package: ember-cli-template-lint

Specified: ^1.0.0-beta.3

Package: ember-data

Specified: ^3.11.4

Package: ember-esri-loader

Specified: ^3.0.0

Package: ember-lodash

Specified: ^4.19.5

Package: ember-paper

Specified: ^1.0.0-beta.26

Package: ember-power-select

Specified: ^2.3.5

Package: ember-responsive

Specified: ^3.0.5

Package: ember-source

Specified: ^3.11.1

Package: eslint-plugin-ember

Specified: ^5.4.0

Package: qunit-dom

Specified: ^0.8.5

Package: sass

Specified: ^1.22.7

Package: esri-loader

Specified: ^2.10.0

Hm..
Seems like the code in this addon always calls this._super(...arguments);:
https://github.com/Esri/ember-esri-loader/search?l=JavaScript&q=init

npm updated the following dependencies as well

Is there any way you can reset to the last known good commit and only update ember-esri-loader and esri-loader and see if you still have this issue?

Thank you, my problem was resolved.


Support Rails 8.0

This change updates acts_as_paranoid's dependencies to allow activerecord and activesupport version 8.0.
No functional changes are needed.

Update acts_as_paranoid's dependencies on activerecord and activesupport to allow version 8.0
Remove activerecord-jdbcsqlite3-adapter dependency to allow Bundler to consider activerecord 8.0
Add an appraisal for activerecord 8.0
Update GitHub Actions configuration to test with the new active_record_80 appraisal

Is there a plan to release a new version that is compatible with Rails 8?


Pretty print not pretty in Swift 2.0?

I use
debugPrint(Mapper().toJSONString(user, prettyPrint: true))
to print and it shows all stuff together with \n print out in the middle.
turn prettyPrint to false will make it looks the same besides no \n in the string.
I like ObjectMapper very much, hope you guys can get this better!
Thanks!

Hey @wenxin3262, pretty print is still working for me. However, I did notice that it doesnt work if you print() an optional value. You have to make sure the value is unwrapped.
Hope this helps


Update for Vue 3

Hello, can you update this script for Vue 3?
Thanks

Hi @mrsnax,
Vue 3 and vite support, is in progress. I plan to release the 1.0 version in the next 1-2 weeks, and it is going to have support for vue3 and vite, also should remove some dependencies, and have a choice of 2 frontend options.

@mrsnax DataGrid 1.0.0 was released with Vue3 support, and 2 frontend options! 🎉


Creating initial code to run R2X

Creating code to calculate error between parafac2 and tensor, also created code to save error to plot R2X plots

@aarmey should _parafac2_rec_error() give an error that's between 0 and 1? That's currently not the case.

No, this function returns the sum of squared error. You have to divide by the overall dataset error to get the fraction unexplained, and then take 1 minus that for R2X.

P.S. You don't necessarily need to use R2X. Just plotting error would be fine, too.

@aarmey for the function _parafac2_rec_error(), there is a current error. Does the projections need to be rearranged into a 3-mode tensor as well, since we rearranged the tensor?

@aarmey for the function _parafac2_rec_error(), there is a current error. Does the projections need to be rearranged into a 3-mode tensor as well, since we rearranged the tensor?

Nevermind found the other function to do that!

function returns the sum of squared error. You have to divide by the overall dataset error to get the fraction unexplained, and then take 1 minus that for R2X

@aarmey I attempted to solve for this, but the function seems to far off from 0 to 1

Just plot error for now.

@aarmey Made the changes!


Demo needs OpenCV for webcam images.

what means about this?

The whole project needs openCV.
sudo apt-get install libopencv-dev python-opencv

And you will be fine

I will try it, Thank you so much.
At 2017-12-19 22:59:43, "Philippe Rémy"<EMAIL_ADDRESS>wrote:
The whole project needs openCV.
sudo apt-get install libopencv-dev python-opencv
And you will be fine
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Ok, Thank you so much.

Ok great!


Music sync by frequency.

Hi would be possible to add music sync that would work by setting at what frequency what colour is going to turn on ?
Like in this https://play.google.com/store/apps/details?id=com.microcadsystems.serge.magichome&hl=en&gl=US
Keep it up incredible work

@TheTrueMysiak  Looking for this feature for ages, its coming anytime soon?

As discussed in our Discord server - yes. It is tracked over https://github.com/rgb-master-team/RGBMaster/projects/9.


Force update and hide dismiss button

[x ] I have verified there are no duplicate active or recent bugs, questions, or requests.
[x ] I have verified that I am using the latest version of AppUpdater.
[x ] I have given my issue a non-generic title.
[x ] I have read over the README, Wiki and FAQs (before asking questions on how to do something).
How to Hide Button.
Particular how to force user to download new Version (How to hide dismiss button )
Thanks!!

There are already some issues on this topic. Try using .setCancelable(false) and .setButtonDismiss("").


[ISSUE #2883] [Part F] Improve produce performance in M/S mode.

Change log level to debug: "Half offset {} has been committed/rolled back"
Optimise lock in WaitNotifyObject
Remove lock in HAService
Remove lock in GroupCommitService
Eliminate array copy in HA
Remove putMessage/putMessages method in CommitLog which has too many duplicated code.
Change default value of some parameters: sendMessageThreadPoolNums/useReentrantLockWhenPutMessage/flushCommitLogTimed/endTransactionThreadPoolNums
Optimise performance of asyncPutMessage (extract some code out of putMessage lock)
extract generation of msgId out of lock in CommitLog (now only for single message processor)
extract generation of topicQueueTable key out of sync code
extract generation of msgId out of lock in CommitLog (for batch)
fix ipv6 problem introduced in commit "Optimise performance of asyncPutMessage (extract some code out of putMessage lock)"
Remove an duplicate MessageDecoder.string2messageProperties for each message, and prevent store "WAIT=true" property (in most case) to save 9 bytes for each message.
Improve performance of string2messageProperties/messageProperties2String, and save 1 byte for each message.

Benchmark                               Mode  Cnt     Score   Error  Units(10000 loop in each op)
TempTest.messageProperties2String      thrpt    2  2257.276          ops/s
TempTest.messageProperties2String_old  thrpt    2  1464.342          ops/s
TempTest.string2messageProperties      thrpt    2  1590.499          ops/s
TempTest.string2messageProperties_old  thrpt    2   605.118          ops/s

Coverage decreased (-0.009%) to 54.11% when pulling a23df96790ee81147abfb38fe1c58cbbf8941828 on areyouok:dev_speed_F into 1eaa38f63989fc06fa50a1aa0f162d8050982ce8 on apache:develop.


Position window with unknown size at right bottom

I want to place my mpv window with autofit configuration at the bottom right of my screen. Currently the move [x] [y] rule only allow to set positions by subtract fix offset values for x and y.
Since I don't know any use case where you want to move the window out of the screen to the right, I simply subtracted the size of the window when the right or bottom pane is selected with '100%-' option in my fork.  Maybe we could adopt this solution or introduce a variable which is substituted by the window size at runtime for the move [x] [y] rule.

I'd love to see this feature too!


Investigate CLA

I spoke with @ferventcoder the other day, and he suggested that we add a CLA to Cake.
We would need to get sign off from existing contributors as well, and if they don't want to sign, remove their code or rewrite it. Would also need some kind of CLA bot to enforce new contributors to sign before merging.
https://julien.ponge.org/blog/in-defense-of-contributor-license-agreements/

:+1:

:+1:

:+1:

Well, if everyone else is doing it... :+1:

This is done with the DNF work.


Fix case sensitivity issue that can cause UsingFactoryMethod to fail …

…if 2 class names only differ by case.
We use an obfuscator that will generate class names that only differ by case. This was causing an issue if one of these classes was registered with UsingFactoryMethod. A class of type FactoryMethodActivator<T> is created with the wrong type parameter because it will create a class of FactoryMethodActivator<t> instead which caused the registration to fail.

@dohansen you've got some line ending issues with your commit.

When I pulled down the repo, git reported lots of changed files. I had core.autocrlf set to false. I was able to get rid of the modified files by using  core.autocrlf  set to input and clearing and checking the files out again. One of the files seems OK, but the other one I couldn't get to commit without reporting line ending changes.
Do you have any advice on how to fix it?

From: Jonathon Rossi<EMAIL_ADDRESS>Sent: Thursday, January 7, 2016 8:01 PM
To: castleproject/Windsor
Cc: dohansen
Subject: Re: [Windsor] Fix case sensitivity issue that can cause UsingFactoryMethod to fail … (#116)
@dohansenhttps://github.com/dohansen you've got some line ending issues with your commit.
[https://avatars3.githubusercontent.com/u/13125119?v=3&s=400]https://github.com/dohansen
dohansenhttps://github.com/dohansen
github.com
dohansen has 1 repository written in ASP, Batchfile, and C#. Follow their code on GitHub.
—
Reply to this email directly or view it on GitHubhttps://github.com/castleproject/Windsor/pull/116#issuecomment-169879439.

@dohansen it is annoying we've still got an unnormalized repo, I'll have to look into that. I think I've worked around that problem in the past using core.autocrlf true assuming you are on Windows. It looks like a combination of an unnormalized repo and the fact we've got a .gitattributes file now.

I am on Windows. The only way I can get it to work is to first commit the line ending changes to src/Castle.Windsor.Tests/TypeNameConverterTestCase.cs as one commit and then apply my changes after that. It seems that what is currently committed in the repo is in conflict with the settings in .gitattributes so it will always update the line endings on commit no matter what core.autocrlf is set to.

Came to the same conclusion. I think what might work is to remove all eol-settings from .gitattributes without committing them. I didn't have time to try it with my own PR but since .gitattributes overrides any settings like --global core.autocrlf true/input it could bring back expected behaviour.

I've applied your patch as ff25c560171ec2ce0bb53d9bcdd584b702b86ba1 with the whitespace fixed.
@dohansen you should fix your git config user.email even if you want to keep your email private. I've amended this commit from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>so it gets attributed to you.


linux: GetVersionInfo from resource

On Windows AutoSystemInfo::GetVersionInfo reads major/minor versions from module resource. It is used by ByteCodeSerializer, SourceDynamicProfileManager etc. to read jscript dll version info and store together with other data.
How do we make this cross-platform?
Can we change all the usage to use CHAKRA_CORE_MAJOR_VERSION etc. instead?

See discussion here https://github.com/Microsoft/ChakraCore/issues/109

The relevant code is here:
https://github.com/Microsoft/ChakraCore/blob/7b32fe07fde7750bfd4ab2062063dbc70d6cebb3/lib/Common/Core/SysInfo.cpp#L547-L552

In ReleaseVersioningScheme bytecode serializer is dependent on guid and in EngineeringVersioningScheme buildDateHash, buildTimeHash takes care of versioning. Don't see a value in doing this right now.


Any ways to get the actual size of the ciphertexts when transfering to others?

Looks like unsafe.Sizeof(obj) is not correct?
BR

For example, write to std::stringstream and get the actual serialized  object from str()


Path traversed by policy visualization

Could you provide the code for visualizing the path traversed by policy?
Thank you !

I am also interested in the code for policy visualizations. Would you mind sharing it?


Model features to consider for setting up pypesto import

Beer_MolBioSystems2014

using piecewise

Brannmark_JBC2010

using piecewise

Isensee_JCB2018

using piecewise

Bruno_JExpBio2016

parameter names in condition table

Fiedler_BMC2016

timepoint-specific observableParameters

Swameye_PNAS2003

events

Weber_BMC2015

numeric observable overrides

The piecewise command is used in several models to implement steps. Is there another way which is already supported by (py)AMICI?

The piecewise command is used in several models to implement steps. Is there another way which is already supported by (py)AMICI?

As far as I know, there isn't

In matlab AMICI, piecewise works, for python see https://github.com/ICB-DCM/AMICI/issues/615.
Model peculiarites now listed in table in the model directory. Closing.


feature: 修复日志相关的问题

Codecov Report

Merging #377 (829d9cb) into v2.6.x_develop (feb9566) will decrease coverage by 0.00%.
The diff coverage is 50.00%.

@@                Coverage Diff                 @@
##           v2.6.x_develop     #377      +/-   ##
==================================================
- Coverage           62.73%   62.73%   -0.01%
==================================================
  Files                 441      441
  Lines               26938    26939       +1
==================================================
  Hits                16900    16900
- Misses              10038    10039       +1

Impacted Files
Coverage Δ

itsm/auth_iam/utils.py
61.34% <50.00%> (-0.52%)
:arrow_down:

itsm/iadmin/models.py
91.66% <0.00%> (ø)

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 feb9566...829d9cb. Read the comment docs.


Hide/show components based on user role

Hi there, I can restrict views depending on user role, but I want to know if menu_items can be hidden / shown based on current users role as well?

Hi there

Please see the config file and try these flags

Also please see


Remove 'tense' from the reference to 'Classes' section

The current text refers to the classes section in the 'past tense' when in the handbook flow it is in the future. I am proposing that the sentence be changed to 'tense neutral' to account for the reading sequence changes, if any, that happen, or if the reader follows a different flow.

Thanks


Fail the build if a referenced init script does not exist

If any of the init scripts specified on the command line does not exist
or is not a file, the build will fail.
Issue: #4672
Signed-off-by: Patrik Erdes<EMAIL_ADDRESS>Context
I thought I could attempt to fix #4672. It follows the existing pattern for checking if files exist, both in the implementation and in the test.
Contributor Checklist

[x] Review Contribution Guidelines
[x] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[x] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[x] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[ ] Provide unit tests (under <subproject>/src/test) to verify logic
[ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[x] Ensure that tests pass locally: ./gradlew <changed-subproject>:check

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

@lptr I agree that there is a risk of this breaking builds for people. How big that risk is, and what precautions are needed, I think all of you are better at judging than me.
I gave it a shot to update the release notes and docs: I rebased the branch on the master branch to get the current release notes, and added a note under "Potential breaking changes". I also updated the documentation page for init scripts.

Oops, sorry, I missed that.

@patrikerdes can you please sign off on your commits? You can use git rebase --signoff for that: https://git-scm.com/docs/git-rebase#git-rebase---signoff
After that I think we are good to merge.

Branch build: https://builds.gradle.org/viewQueued.html?itemId=12246985

No you don't need to be sorry, you did not miss anything. I had not yet done the release notes and docs when you wrote your comment :)
Ok, I just did git rebase --signoff and force pushed.

But now it complains about me signing off the commit by Marc Philipp. Not sure how to fix that...

Regarding my previous comment about the DCO check failing: I assumed that the individual commits were not that interesting, so I just squashed it all together into one big commit. So now all checks pass.

Branch build: https://builds.gradle.org/viewQueued.html?itemId=12267951

Duh, will need to re-merge this because of CI troubles. Will try to do that today.

Retry merge as #5078.

Merged. This will be delivered as part of Gradle 4.8. Thanks @patrikerdes for your contribution!

And of course the first build this broke was ours:
* What went wrong:
The specified initialization script '/home/tcagent1/agent/work/668602365d1521fc/gradle/gradle/init-scripts/build-scan.init.gradle.kts' does not exist.

https://builds.gradle.org/viewLog.html?buildId=12367636&tab=buildResultsDiv&buildTypeId=Gradle_Check_SanityCheck


Setup mirage + faker

Replace msw by mirage and add mock for account, authentication, users endpoints

Closed because included in #32


Plugin stopped working on latest AEM SDK version

With the new versions of AEM SDK, the search stopped working and ajax call to /system/console/search/by-phrase returns the content of plugin.html itself instead of returning the json output from ByPhraseServlet. Tried to debug the code but ByPhraseServlet is never called. Not sure if this is binding issue because no error appears in the log and bundle [com.neva.felix.webconsole.plugins.search] is in Active state.
The last aem-sdk working version was v2023.9.13665.20230927T063259Z-230800.

Seems that something have changed on the felix framework side. The question if the change is a bug or a new feature that we need to adapt into 🤔🙂 I appreciate the help from your side. If you will find the cause and a fix I offer that then I will quickly release it and make avaliable to the others. Right now I pretty busy in another project and not using SDK at the moment so I am not sure when I will be able to handle it by myself.
Greetings, Krystian

whenever you will provide a fix a will test it and release quickly ;)
thanks!

fixed and released in https://github.com/neva-dev/felix-search-webconsole-plugin/releases/tag/2.0.2
thanks @vivekmalviya0104 and @bencebarna for reporting and investigations ;)

@vivekmalviya0104 the problem was that usually WebConsole plugin is a single Servlet. This plugin consists of n servlets and they were registered by using OSGi HTTP service directly. For some reason it stopped working. I used HTTP whiteboard instead and it works now.

Tested and works absolutely fine. Thanks a lot @krystian-panek-wttech for the fix.


Auto-generated seeds.rb with empty hash

Hi there.
Ruby 2.3.1p112
Rails 5.0.1
seed_migration 1.2.2

# db/data/20170111085301_add_foo_bar.rb

class AddFooBar < SeedMigration::Migration
  def up
    Foo::Bar.create!(name: 'Name 1')
  end

  def down
    Foo::Bar.find_by!(name: 'Name 1').destroy
  end
end

If I set extend_native_migration_task = true and run rails db:migrate, then I get the seeds.rb with the following content:
ActiveRecord::Base.transaction do

  Foo::Bar.create!({})

  ActiveRecord::Base.connection.reset_pk_sequence!('foo_bars')
end

SeedMigration::Migrator.bootstrap(20170111095343)

Hi,
Sorry for the late reply, I don't exactly know what I changed but I apparently muted the notifications from this repo by mistake and didn't notice new issues opened in the last 6 months. Sorry about that.
Thanks for the bug report. I can't promise that I'll have time to reproduce and fix it (but I'll try), but feel free to open a PR if you want to try to fix the bug. I'll happily review it.

I can also confirm the issue is currently there in 1.2.2, contradicting with README.

Also confirming we're getting the same bug on 1.2.2


uploading a PDF with many pages (for example, more than 20 pages) to Chainlit, the Chainlit page may become unresponsive

Describe the bug
When uploading a PDF with many pages (for example, more than 20 pages) to Chainlit, the Chainlit page may become unresponsive during the process of embedding the content into the vector database if it takes a long time. You may need to refresh the page to continue.
To Reproduce
Steps to reproduce the behavior:

Use the upload button in the dialog box to upload PDF files.
The backend program performs OCR scanning and embeds the content into the vector database.
After performing OCR recognition and embedding tasks，the Chainlit page become unresponsive

Screenshots

Desktop (please complete the following information):
chainlit ==1.3.1

@seleniumpython2016 Thanks for the feedback.
Could it be that your OCR code is not running in async?

Does this problem also occur when you're not doing OCR? In that case, the problem is the OCR (probably it not being async), not with chainlit.
If it still persists, love to hear what's happening in the browser (e.g. profiling, console log etc.).

I used async OCR 。because the page was dead. In the background, I saw 'connection closed'. When I refreshed the page, the data replied by the big model had already been released

@dokterbob I guess the session timed out? May I ask how long the default session time is? How to set the timeout for this session?

@dosu  what do you think ?


Flet APK build error for psycopg2-binary Cannot_compile_native_modules

I have created a flet app that need to run SQL Queries with psycopg (postgresql client module )

**$ cat requirements.txt**
flet
psycopg2-binary

when i do
$ flet build apk
`
VERBOSE: Building wheels for collected packages: psycopg2-binary
VERBOSE: Building wheel for psycopg2-binary (pyproject.toml): started
VERBOSE: Building wheel for psycopg2-binary (pyproject.toml): finished with status 'error'
VERBOSE: Failed to build psycopg2-binary
/tmp/hostpython3.11_TYVJJF/python/lib/python3.11/site-packages/_distutils_hack/init.py:33: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
error: subprocess-exited-with-error
× Building wheel for psycopg2-binary (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [33 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-311
creating build/lib.linux-x86_64-cpython-311/psycopg2
copying lib/_range.py -> build/lib.linux-x86_64-cpython-311/psycopg2
copying lib/_ipaddress.py -> build/lib.linux-x86_64-cpython-311/psycopg2
copying lib/tz.py -> build/lib.linux-x86_64-cpython-311/psycopg2
copying lib/extensions.py -> build/lib.linux-x86_64-cpython-311/psycopg2
copying lib/pool.py -> build/lib.linux-x86_64-cpython-311/psycopg2
copying lib/extras.py -> build/lib.linux-x86_64-cpython-311/psycopg2
copying lib/errors.py -> build/lib.linux-x86_64-cpython-311/psycopg2
copying lib/init.py -> build/lib.linux-x86_64-cpython-311/psycopg2
copying lib/sql.py -> build/lib.linux-x86_64-cpython-311/psycopg2
copying lib/errorcodes.py -> build/lib.linux-x86_64-cpython-311/psycopg2
copying lib/_json.py -> build/lib.linux-x86_64-cpython-311/psycopg2
running build_ext
building 'psycopg2._psycopg' extension
creating build/temp.linux-x86_64-cpython-311
creating build/temp.linux-x86_64-cpython-311/psycopg
Cannot_compile_native_modules -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fdebug-default-version=4 -fPIC -I/tools/deps/include -I/tools/deps/include/ncursesw -I/tools/deps/libedit/include -fPIC "-DPSYCOPG_VERSION=2.9.9 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=140010 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/tmp/hostpython3.11_TYVJJF/python/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -I/usr/include/libxml2 -c psycopg/adapter_asis.c -o build/temp.linux-x86_64-cpython-311/psycopg/adapter_asis.o -Wdeclaration-after-statement
  It appears you are missing some prerequisite to build the package from source.

  You may install a binary package by installing 'psycopg2-binary' from PyPI.
  If you want to install psycopg2 from source, please install the packages
  required for the build and try again.

  For further information please check the 'doc/src/install.rst' file (also at
  <https://www.psycopg.org/docs/install.html>).

  error: command 'Cannot_compile_native_modules' failed: No such file or directory
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for psycopg2-binary
ERROR: Could not build wheels for psycopg2-binary, which is required to install pyproject.toml-based projects
[notice] A new release of pip is available: 23.2.1 -> 23.3.2
[notice] To update, run: /tmp/hostpython3.11_TYVJJF/python/bin/python3 -m pip install --upgrade pip
Deleting Flutter bootstrap directory /tmp/flet_flutter_build_JQUjPPFpcO
Error building Flet app - see the log of failed command above.
`
redis is working fine as it is a pure python module, but i need to connnct via psycopg
Please help

please follow this procedure. do p4a with psycopg
https://flet.dev/docs/guides/python/packaging-app-for-distribution/#android
Note: please remove psycopg from requirements.txt before next build.

Closing this issue in favour of https://github.com/flet-dev/flet/issues/3839


[SW-223] Bigger QR code

Easier scanning of complex QR codes

For me it became to work more smoothly.


BUG: Importing "filter-boolean" only does not seem to work

When importing the whole ts-reset like following, i get the correct type narrowing from, filter-boolean:
import '@total-typescript/ts-reset/';

When using only filter-boolean it does not work:
import '@total-typescript/ts-reset/filter-boolean';

Have you tried reloading the window?

I'm having exactly same issue with @total-typescript/ts-reset/array-includes

I'm having exactly same issue with @total-typescript/ts-reset/array-includes.
Importing @total-typescript/ts-reset works, importing @total-typescript/ts-reset/array-includes doesn't

So it is not exclusive for filter-boolean.
Could you try it for each of the files?
And maybe list what files are working when imported solo.

@m10rten All are working through dist folder imports
import "@total-typescript/ts-reset/dist/filter-boolean";
@mattpocock can you look at this ?

As if all are only available through /dist, when all should redirect to /dist

Could you check if this is a duplicate of #36? Will re-open if not.

It was indeed a duplicate, the same fix resolved the Issue. With commonJs the imports need to be in this format: `import "@total-typescript/ts-reset/dist/filter-boolean";.
Could you maybe add this to the readme. I copied the import from the readme and therefore assumed it was a Bug which others will probably assume aswell, instead of trying other imports.
Great work @mattpocock btw.


Removing .DS_Store MacOS files

Make it easier for browse files on Github

Hey Will, do you have any ideas as to why the gitIgnore isn't working for other parts of the repository? For example, it's meant to not include the ".idea",and other IDE folders. But everything seems to still be pushing into the repo.

Nevermind, seems like the gitIgnore on this repo is different. The behavior makes sense.


OOM termination when using extends nuxt feature

Environment
Nuxi 3.6.3
Nuxt 3.6.3 with Nitro 2.5.2
Node v20.4.0
pnpm 8.6.6
Windows 11 and Windows 11 WSL2 Debian
Reproduction
https://github.com/Aareksio/nitro-issue-build-workspace
Describe the bug
Nitro runs into OOM when working with pnpm layers. Seems to be related to pnpm workspaces - not sure, but this is how it's easy to replicate. Effectively results in 503 error on dev server URL, which ultimatelly ends with memory allocation failure during "nitro build" phase.
Layers extended from remote dependencies does not seem to share the issue.
Additional context
Naturally I understand building the project requires resources and an example with extending 50 layers is reasonably expected to be problematic. The real issue is how even a single empty layer adds 2.5s on i9-13900 - seems more like a bug than intended behavior.
Reproduces on: Windows 11 and WSL 2 running Debian (WSL filesystem)
Does not reproduce on macos (intel and m1)
Logs
Base project (expected behavior):
ℹ Vite client warmed up in 327ms
✔ Nitro built in 182 ms

Extending empty layer (minimal reproduction):
ℹ Vite client warmed up in 439ms
✔ Nitro built in 2562 ms

Extending empty layer x50 (minimal OOM reproduction):
ℹ Vite client warmed up in 4727ms

<--- Last few GCs --->

[16210:0x5ae9ce0]    83427 ms: Mark-Compact 1978.6 (2083.8) -> 1963.2 (2084.0) MB, 661.54 / 0.00 ms  (average mu = 0.088, current mu = 0.028) task; scavenge might not succeed
[16210:0x5ae9ce0]    84061 ms: Mark-Compact 1979.2 (2084.3) -> 1964.6 (2084.8) MB, 618.62 / 0.00 ms  (average mu = 0.057, current mu = 0.025) allocation failure; scavenge might not succeed

<--- JS stacktrace --->

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 0xc94240 node::Abort() [/usr/bin/node]
 2: 0xb6df9f  [/usr/bin/node]
 3: 0xeb4120 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/usr/bin/node]
 4: 0xeb4407 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/usr/bin/node]
 5: 0x10c5a75  [/usr/bin/node]
 6: 0x10c6004 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [/usr/bin/node]
 7: 0x10dcef4 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::internal::GarbageCollectionReason, char const*) [/usr/bin/node]
 8: 0x10dd70c v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/bin/node]
 9: 0x11364cc v8::internal::MinorGCJob::Task::RunInternal() [/usr/bin/node]
10: 0xd0b8b6  [/usr/bin/node]
11: 0xd0e46f node::PerIsolatePlatformData::FlushForegroundTasksInternal() [/usr/bin/node]
12: 0x1874233  [/usr/bin/node]
13: 0x1888bfb  [/usr/bin/node]
14: 0x1874f57 uv_run [/usr/bin/node]
15: 0xbafba6 node::SpinEventLoopInternal(node::Environment*) [/usr/bin/node]
16: 0xce16b6 node::NodeMainInstance::Run() [/usr/bin/node]
17: 0xc4ce0f node::LoadSnapshotDataAndRun(node::SnapshotData const**, node::InitializationResultImpl const*) [/usr/bin/node]
18: 0xc50792 node::Start(int, char**) [/usr/bin/node]
19: 0x7fe21c935d0a __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
20: 0xbac62e _start [/usr/bin/node]

Would you please make a "Nitro" minimal reproduction to track from here? 🙏🏼

I am not quite sure (yet) how to reproduce with nitro only. Trying to debug it myself, I stumbled upon related discussion in nuxt/nuxt with someone having the exactly same issue with docus. This is definitely not related to the other 503 issue :)
https://github.com/nuxt/nuxt/discussions/20213

Thanks for the investigation @Aareksio ❤
@danielroe Should we transfer this back to Nuxt ?

Yes, it sounds like it is a Nuxt issue 👍
I'll investigate further and close here.

Confirmed. And should be fixed within Nuxt in https://github.com/nuxt/nuxt/pull/22214. Thank you @Aareksio for lovely investigation. ❤


Show ellipses on shortened testimony #1040

#1040

@daniellehzhao are you still working on this?

My fault on a continued/delayed review. Danielle, If you have time, I'd like to go over this with you


Adding AM/PM Support

Hello!
First of all, thank you for the excellent work on this. One question I do have: I'm trying to add english locale support to show events in am/pm format on the longpress view and in the JZRowHeader. I can get the JZRowHeader to work by changing the dateformatter when overriding viewForSupplementaryElementOfKind in  a subclass of JZLongPressWeekView. However, I can't change the date format that shows up when you long press an event. I think it's the  getTimeIgnoreSecondsFormat method that is called. Is there any simple way to add am/pm support here? Or can we make some of the private methods fileprivate so I can edit the behavior of the long press in a subclass?
Thanks!

Hi
Is that okay for me to just simply change the private updateTimeLabel to public?

I think that could work.

I divided the original updateTimeLabel  into two methods, which are updateTimeLabelText and updateTimeLabelPosition.
I made updateTimeLabelText be open, so you can override this method and change you label text.
I will only push to master, if you want to update pod, let me know.
Thanks


Write out OM10 lensed quasar images as input catalogs to image simulator

Anyone trying to drop OM10 lensed quasars into images is going to need an input catalog that contains something like
id    nim    ra    dec    g    r    i    z

for each lensed quasar image (as in eg this PS1QLS issue). This needs some sort of write_sim_catalog method.

NB. Before we can write_sim_catalog we first need to assign positions with a db.place() method, issued at #15.

I think it will be helpful to write out both (RA,Dec) and (x,y), where x and y are offsets in arcsec from the lens center (so the lens objects will have zeros for these quantities). Probably x should increase in the -RA direction, and y should increase in the positive Dec direction (which I think is what the OM10 coordinates can already be interpreted as).

LENSID needs to be an integer

when using db.select_random(), set area=100,000 to 3x oversample the PS1 footprint for the final training catalog

...but when forecasting the number of lenses the PS1QLS classifier should
return, we should use the PS1 3pi area of 30,000 sq deg.
On Wed, Jul 1, 2015 at 6:19 PM, Mike Baumer<EMAIL_ADDRESS>wrote:

when using db.select_random(), set area=100,000 to 3x oversample the PS1
footprint for the final training catalog
—
Reply to this email directly or view it on GitHub
https://github.com/drphilmarshall/OM10/issues/14#issuecomment-117867909.

yep!

On Jul 1, 2015, at 6:33 PM, Phil Marshall<EMAIL_ADDRESS>wrote:
...but when forecasting the number of lenses the PS1QLS classifier should
return, we should use the PS1 3pi area of 30,000 sq deg.
On Wed, Jul 1, 2015 at 6:19 PM, Mike Baumer<EMAIL_ADDRESS>wrote:

when using db.select_random(), set area=100,000 to 3x oversample the PS1
footprint for the final training catalog
—
Reply to this email directly or view it on GitHub
https://github.com/drphilmarshall/OM10/issues/14#issuecomment-117867909.

—
Reply to this email directly or view it on GitHub https://github.com/drphilmarshall/OM10/issues/14#issuecomment-117869684.


bulk insert breaks if  one of the dict has missing key

Inserting multiple rows or dicts results in error `wrong number of argumentsq if one of the dicts has a missing key.

closed in #22

closed in #22


Add the meta primary

So making Object/Array predicate accept an NPE ValuePredicate gives the RQL some generality that wash find doesn't have (e.g. it paves the way for people to construct predicates on value types), but it also makes metadata schema stuff hard. Having Object/Array predicate accept PE ValuePredicate means we can mirror the metadata schema stuff in find here (by importing that key sequence stuff). But we also lose that type-checking generality.
Metadata schemas were built before the kind primary; with kind, metadata schemas aren't really necessary when it comes to optimizing find. I guess they are useful for making something like find -m .tags[?] .key termination_date -exists expressive if the CWD is the instances directory so meh (other way is to write find -k '*instance' -m .tags[?] .key termination_date -exists but that can be a bit verbose).
I like keeping the RQL general, but maybe that generality isn't necessary. E.g. when would you ever care about a metadata value's type? I guess if you were encoding type-values as strings (like we do for termination_date tag?). Even then, why not just query a specific value?
So seems like PE ValuePredicate seems like a good idea.

Actually ignore my earlier comment. I think there's a way I could do the schemaP while still preserving the current grammar.

I'm going to tack on the metadata schema stuff here.

Still working on metadata schemas. I pushed up an update that slightly changed the metadata schema framework; the change came as a result of me trying to formalize all the semantics as can be seen in meta/valuePredicate.go.

Ok, this is ready for review. I split up all the schema work into their own commits.
I think I'm leaning towards changing ["boolean", <value>] back to just <value> since JSON does have Boolean types. I'll wait once all the schema stuff's reviewed before I do that.

Updated.


Send version/build through HTTP Headers

Eg. X-Version-Commit, X-Version-Number

Perhaps injecting GitHub vars through Nginx configuration.


Add TS linter configuration to playground environment.

Currently, within the playground container, no linting is taking place.

Done in b95cf1814ef66fed45ada0ed6f4799e8a8745797 .


Novel-Grabber not working at all

C:\Users\XXXX\Desktop>java -jar Novel-Grabber.jar
[CONFIG]Fetching latest selector JSON...
[CONFIG-ERROR]Could not fetch selectors from: https://raw.githubusercontent.com/Flameish/Novel-Grabber/master/src/main/resources/siteSelector.json
org.jsoup.HttpStatusException: HTTP error fetching URL. Status=404, URL=https://raw.githubusercontent.com/Flameish/Novel-Grabber/master/src/main/resources/siteSelector.json
In recent update i think u removed selector file from github is that why its happening? yesterday it was working fine

https://prnt.sc/vjp7yb
commit a531828
u removed sites elector file maybe thats why?

I always forget about that file breaking everything. My apologizes.
The new version will be released in a few hours. At least everyone will get the notice to download the new NG-Updater.

New version: Novel-Grabber.zip

Why can't I download from WW? I got error[Null] every time I attempt to download from WW.

It seems like WW is using Clouflare and sometimes it blocks the requests. I'll see what I can do about it.

I've added headless grabbing to be used optionally for Wuxiaworld in the Source Settings.

When I check the Source Settings, I can only see the "Novelupdates" Tab. Did I do something wrong?

The updater should download the new version. Maybe try deleting Novel-Graber.jar inside the bin folder.

Thank you for the advice, I'm now able to see the WW Source Settings but I still get Error[null]. Thank you in advance!

Okay I need some more info then. Can you post the link and the output of the console when you start Novel-Grabber.jar (not the launcher) from a terminal?

Help, the program stops after it ask to me to choose what browser to emulate.  Here is the output of the console window:
PS I:\Novel-Grabber\bin> java -jar Novel-Grabber.jar
java.lang.NullPointerException
at system.data.Settings.setPassword(Settings.java:173)
at system.data.Settings.load(Settings.java:58)
at system.data.Settings.getInstance(Settings.java:44)
at system.notifications.EmailNotification.(EmailNotification.java:25)
at system.library.LibrarySystem.(LibrarySystem.java:27)
at system.init.processParams(init.java:34)
at system.init.main(init.java:25)
[ERROR]Could not establish connection to SMTP Server. Check email settings.
Working...
java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at java.util.Properties.setProperty(Unknown Source)
at system.data.Settings.save(Settings.java:84)
at gui.GUI.createUIComponents(GUI.java:1374)
at gui.GUI.$$$setupUI$$$(GUI.java)
at gui.GUI.(GUI.java:45)
at system.init.lambda$startGUI$0(init.java:61)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Working...

I think this might have something to do with your settings.ini. Does your folder structure look like this:
NG/
bin/
library.json
manifest.json
NG-Launcher.jar
settings.ini
Maybe try to remove everything except NG-Launcher and let it download everything again.

Yes, that worked!!!  Thanks for your awesome program.


[WIP][SPARK-17184][[CORE]]Replace ByteBuf with InputStream

What changes were proposed in this pull request?
The size of ByteBuf can not be greater than 2G, should be replaced by InputStream.
[WIP]
How was this patch tested?
[WIP]

Test build #64204 has started for PR 14751 at commit 7ab9ba5.

Test build #64204 has finished for PR 14751 at commit 7ab9ba5.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
public class InputStreamManagedBuffer extends ManagedBuffer
 public static class Longs
 public static class Doubles
 public static class Ints
 public static class Bytes
public class InputStreamByteBuf extends InputStream
public final class MessageDecoder extends MessageToMessageDecoder<LinkedList<ByteBuf>>
public abstract class BlockTransferMessage

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/64204/
Test FAILed.


Recording: allow for storing recorded responses in human-readable form

This pull requests adds the option to disable hex-encoding of the recording in the response.
The reasoning for this feature is to be able to save the recordings in human-readable form
The human readable form of the recordings allows easy review of new mocks and hand-tuning them to cover a wider variaty of cases when used with interceptors such as pook

I am sorry I cannot accept this PR the way it is.
Mocket core is not bound to a specific protocol, while your code works with the assumption that what you want to dump is an HTTP call.

Closing in wait for https://github.com/mindflayer/python-mocket/pull/274

I've just released a beta version with the huge refactor allowing to set a different storage class: https://pypi.org/project/mocket/3.13.3b1/


Process dispatch

Generic Asynchronous Dispatcher
Motivation
Since mesos code is based on the actor model and dispatching an interface
asynchronously is a large part of the code base, generalizing the higher level concept of
asynchronously dispatching an interface would eliminate the need to manually
program the dispatch boilerplate.
An example usage:
For a simple interface like:
class Interface
{
  virtual Future<size_t> writeToFile(const char* data) = 0;
  virtual ~Interface();
};

Today the developer has to do the following:
a.  Write a wrapper class that implements the same interface to add the
dispatching boilerplate.
b.  Spend precious time in reviews.
c.  Risk introducing bugs.
None of the above steps add any value to the executable binary.
The wrapper class would look like:

// -- hpp file
class InterfaceProcess;

class InterfaceImpl : public Interface
{
public:
  Try<Owned<InterfaceImpl>> create(const Flags& flags);

  virtual Future<size_t> writeToFile(const char* data);

  ~InterfaceImpl();
private:
  Owned<InterfaceProcess> process;
};

// -- cpp file
Try<Owned<InterfaceImpl>> create(const Flags& flags)
{
  // Code to create the InterfaceProcess class.
}

Future Future<size_t> InterfaceImpl::writeToFile(const char* data)
{
  process->dispatch(
    &InterfaceProcess::writeToFile,
    data);
}

InterfaceImpl::InterfaceImpl()
{
  // Code to spawn the process
}

InterfaceImpl::~InterfaceImpl()
{
  // Code to stop the process.
}

At the caller/client site, the code would look like:
Try<Owned<Interface>> in = InterfaceImpl::create(flags);
Future<size_t> result =
  in->writeToFile(data);

Proposal
We should use C++'s rich language semnatics to express the intent and avoid
the boilerplate we write manually.
The basic intent of the code that leads to all the boilerplate above is:
a. An interface that provides a set of functionality.
b. An implementation of the interface.
c. Ability to dispatch that interface asynchronously using actor.
C++ has a rich set of generics that can be used to express above.
Components

ProcessDispatcher
This component will "dispatch" an interface implementation asychronously using
the process framework.
This component can be expressed as:

ProcessDispatcher<Interface, InterfaceImplmentation>

DispatchInterface
Any interface that provides an implementation that can be "dispatched" can be
expressed using this component.
This component can be expressed as:

Dispatchable<Interface>

Usage:

Simple usage

Try<Owned<Dispatchable<Interface>>> dispatcher =
  ProcessDispatcher<Interface, InterfaceImpl>::create(flags);

Future<size_t> result =
  dispatcher->dispatch(
    Interface::writeToFile,
    data);

Collecting the interface in a container

vector<Owned<Dispatchable<Interface>>> dispatchCollection;

Try<Owned<Dispatchable<Interface>>> dispatcher1 =
 ProcessDispatcher<Interface, InterfaceImpl1>::create(flags);

Try<Owned<Dispatchable<Interface>>> dispatcher2 =
 ProcessDispatcher<Interface, InterfaceImpl2>::create("test");

dispatchCollection.push_back(dispatcher1);
dispatchCollection.push_back(dispatcher2);

The advantages of using the generic dispatcher:

Saves time by avoiding to write all the boilerplate and going through review
cycles.
Less bugs.
Focus on real problem and not boilerplate.
Less code to represent a primitive.

@conqer Could you please provide a description and a link to a JIRA so we can understand what you're proposing/fixing here?

@adam-mesos, @mpark  I have updated the description.

This idea looks cool. :+1:

@haosdent  What do you think about the usage difference. Earlier at the call site it used to be:
interface->foo(arg1, arg2);
With this change, the interface would be:
dispatcher.dispatch(&interface::foo, arg1, arg2);

@jieyu

@conqer I had a related idea years ago. Some discussion and code can be found here:
https://reviews.apache.org/r/14686
The goal is slightly different. You want to get rid of those 'dispatch' boilerplate code. My goal is to create a common base class for those libprocess Process wrapper classes so that we don't need to pass raw pointer (or smart pointer) around. It's safe to copy the wrapper class.
Looking at your examples, the following code hurts the readability a bit. We'll be having a lot of 'dispatch' calls in the code base, at which moment, people might be asking why not just use the raw dispatch (i.e., dispatch(process, xxx, args...);) instead?
Future<size_t> result =
  dispatcher->dispatch(
    Interface::writeToFile,
    data);

If would be cool if we can do the following directly. But I guess it not quite possible.
Future<size_t> result = dispatcher->writeToFile(data);

@jieyu I agree that there is a inconvenience factor in writing "dispatch". The advantage is that you just write the process implementation class (no wrapper) and life cycle management comes for free. I am guessing that writing hundreds of lines of wrapper is more inconvenient.

@conqer It's a trade off, right? User has to use 'dispatch' at very single call site vs. only has one dispatch in the boilerplate code. I personally prefer the second one to simply the call sites.

I see your point about the familiarity of using c++ syntax to call a
method. Since I have been writing both the caller sites and callee
code(wrapper), i feel that i might be happy trading off adapting my call
style to avoid writing 100s of boilerplate. If this was an external facing
API, I would not have second thoughts about using C++ language syntax. Here
the caller and callee is usually the same developer and developers usually
avoid boilerplate. WDYT?
On Thu, Sep 17, 2015 at 3:26 PM, Jie Yu<EMAIL_ADDRESS>wrote:

@conqer https://github.com/conqer It's a trade off, right? User has to
use 'dispatch' at very single call site vs. only has one dispatch in the
boilerplate code. I personally prefer the second one to simply the call
sites.
—
Reply to this email directly or view it on GitHub
https://github.com/apache/mesos/pull/65#issuecomment-141254728.

--
Jojy G Varghese

If you are OK with using dispatch(&TokenManager::xxx, args...) at the callsite, why not just use TokenManagerProcess directly? Why do you need TokenManager?

Couple of reasons:

Conceptually I will be tightly coupled with the dispatch mechanism
(process)
Life cycle management and process'ness of the implementation will also
have to be done at the client site. By process'ness i mean process start,
end, terminate etc. In a way this is the same point as the above point
(tight coupling).

On Thu, Sep 17, 2015 at 3:56 PM, Jie Yu<EMAIL_ADDRESS>wrote:

If you are OK with using dispatch(&TokenManager::xxx, args...) at the
callsite, why not just use TokenManagerProcess directly? Why do you need
TokenManager?
—
Reply to this email directly or view it on GitHub
https://github.com/apache/mesos/pull/65#issuecomment-141263272.

--
Jojy G Varghese

Yeah, I think the lifecycle management part is definitely useful.
I am just not very convinced about the 'dispatch' part. I could be wrong. Maybe you should ping BenH.

Yes i think it will come down to :

Inconvenience in adapting to the dispatch way of calling things

vs

getting rid of all the boilerplate
representation of dispatch primitive
Automatic life cycle management.

thanks for your feedback.
On Thu, Sep 17, 2015 at 4:29 PM, Jie Yu<EMAIL_ADDRESS>wrote:

Yeah, I think the lifecycle management part is definitely useful.
I am just not very convinced about the 'dispatch' part. I could be wrong.
Maybe you should ping BenH.
—
Reply to this email directly or view it on GitHub
https://github.com/apache/mesos/pull/65#issuecomment-141275625.

--
Jojy G Varghese

@conqer Thanks for the summary! I think we all agree that  "Automatic life cycle management." is a useful thing to do (as you already did). We can iterate on the "dispatch" primitive later and see what other people think about this.

To clarify what i meant by representation of dispatch as a higher level construct-
Sent from my iPhone

On Sep 18, 2015, at 10:26 AM, Jie Yu<EMAIL_ADDRESS>wrote:
@conqer Thanks for the summary! I think we all agree that "Automatic life cycle management." is a useful thing to do (as you already did). We can iterate on the "dispatch" primitive later and see what other people think about this.
—
Reply to this email directly or view it on GitHub.

Closing stale PR.


add individual user

let me know if I should revert prettier commit

let me know if I should revert prettier commit

Yes, please.


update self_cell

if I use osmpbfreader in another repo i get the following error:
error: failed to select a version for the requirement `self_cell = "^0.9.0"`
candidate versions found which didn't match: 0.10.0
location searched: crates.io index
required by package `osmpbfreader v0.15.0`

I expect to fix this by upgrading self_cell

duplicate to #38

v0.15.1 published


feat: New Module avm/res/communication/communication-service

Description
New Module avm/res/communication/communication-service.
Related Module Proposal: https://github.com/Azure/Azure-Verified-Modules/issues/748
Adding a new module

[x] A proposal has been submitted and approved.
[ ] I have included "Closes #{module_proposal_issue_number}" in the PR description.
[ ] I have run brm validate locally to verify the module files.
[x] I have run deployment tests locally to ensure the module is deployable.

Pipeline references

Pipeline

Hey @krbar, the PR looks fine to me, but seems to have conflicts (presumably because of the other communication module being merged first. Please resolve. If you need help with that, let me know.

Hey @krbar, the PR looks fine to me, but seems to have conflicts (presumably because of the other communication module being merged first. Please resolve. If you need help with that, let me know.

Thank you @AlexanderSehr, the conflicts were expected and are already resolved. A final pipeline run is in progress.


How to get fastify swagger to read the schema definition.

I tried to integrate fastify-swagger to use the route options, but it seems impossible. Do you have any tips?
Here my fastify swagger config
import fp from 'fastify-plugin';
import swagger, { FastifySwaggerOptions } from 'fastify-swagger';

export default fp<FastifySwaggerOptions>(async (fastify) => {
  fastify.register(swagger, {
    routePrefix: '/docs',
    swagger: {
      info: {
        title: 'Test swagger',
        description: 'Testing the Fastify swagger API',
        version: '0.1.0',
      },
      externalDocs: {
        url: 'https://swagger.io',
        description: 'Find more info here',
      },
      host: 'localhost',
      schemes: ['http'],
      consumes: ['application/json'],
      produces: ['application/json'],
      tags: [],
      definitions: {},
      securityDefinitions: {},
    },
    uiConfig: {
      docExpansion: 'full',
      deepLinking: false,
    },
    staticCSP: true,
    transformStaticCSP: (header) => header,
    exposeRoute: true,
  });
});

And using on src/index.ts
import path from 'path';

import fastify from 'fastify';
import now from 'fastify-now';
import swagger from './plugins/swagger';

// Load env vars
import loadConfig from '@lib/config';
loadConfig();

export async function createServer() {
  const server = fastify({
    logger: {
      level: process.env.LOG_LEVEL,
    },
  });

  // Register routes
  server.register(now, {
    routesFolder: path.join(__dirname, './routes'),
  });

  // Load all plugins from plugins folder
  swagger(server, {});

  await server.ready();
  return server;
}

The docs doesn't print anything, I think it should print the / route options there.

@mandaputtra did you try to register swagger before loading the routes? It seems that the swagger plugin only has knowledge of routes declared after it has been registered.
The following setup works for me, I have correct documentation for all routes in the routes directory:
  // Load all plugins from plugins folder
  swagger(server, {});

  // Register routes
  server.register(now, {
    routesFolder: path.join(__dirname, './routes'),
  });

Indeed working great! Thanks


feat: PR title json and yml added

Fixes Issue🛠
Example: Closes #22
Description👨💻
Added the files after checking the corrections
Type of change📄

[] New feature (non-breaking change which adds functionality)

Checklist✅

[] My code follows the style guidelines of this project
[] I have performed a self-review of my own code
[] I have added demonstration in the form of GIF/video file
[] I am an Open Source Contributor

@1010varun hv a look!


[LLama.KernelMemory] Fixed System.ArgumentException: EmbeddingMode must be true & #617

Unhandled exception. System.ArgumentException: EmbeddingMode must be true (Parameter 'params')
   at LLama.LLamaEmbedder..ctor(LLamaWeights weights, IContextParams params, ILogger logger)
   at LLamaSharp.KernelMemory.LLamaSharpTextEmbeddingGenerator..ctor(LLamaSharpConfig config)
   at LLamaSharp.KernelMemory.BuilderExtensions.WithLLamaSharpTextEmbeddingGeneration(IKernelMemoryBuilder builder, LLamaSharpConfig config)

#617

Why unit tests always fail🤔

Tests are flakey in CI, I think it's because the test runners can't handle the load we're putting on them (loading LLMs, even small ones, into machines with very limited memory).


Add lol-pick-ban-ui

This PR adds lol-pick-ban-ui to the list under content creation, may not be the best category but I believed since tournaments are streamed its content creation.

Sure, I think it's an excellent application and a great addition to the list.


Remove obsolete enum34 package

Remove enum34 from requirements.txt which was only necessary for backwards compatibility with versions prior to 3.4 which introduced Enum (PEP 435).
See https://pypi.org/project/enum34/ which details its support for earlier python versions 2.4 ... 3.3

Hasn't this already been merged? https://github.com/apache/cassandra/commit/32bdf14ec916404f5fdd4b918b7d80a7bb92aa38


2024 Changes to FD Single Game

Hello,
First of all, this is an incredible resource and I have greatly enjoyed playing with it.
It looks like Fanduel slightly changed the positions and scoring parameters of the NFL Single Game mode for the 2024-25 NFL season.
In pydfs the positions are 'MVP - 2X Points', 'UTIL', 'UTIL', 'UTIL', 'UTIL'
However the current single game positions are now 'MVP - 1.5X Points', 'AnyFLEX', 'AnyFLEX', 'AnyFLEX', 'AnyFLEX'
It would seem a new class needs to be created to handle these changes in the single game importer.py and settings.py files as well as potentially an additional class in lineup_exporter.py. Maybe more, you would know much better than me.
I have a manual workaround going, but it seemed an actual correct solution wouldn't be that terrible to add so I thought I'd raise it.
Thank you!

That would be an easy fix
On Mon, Sep 9, 2024, 6:44 PM EdCarGoes @.***> wrote:

Hello,
First of all, this is an incredible resource and I have greatly enjoyed
playing with it.
It looks like Fanduel slightly changed the positions and scoring
parameters of the NFL Single Game mode for the 2024-25 NFL season.
In pydfs the positions are 'MVP - 2X Points', 'UTIL', 'UTIL', 'UTIL',
'UTIL'
However the current single game positions are now 'MVP - 1.5X Points',
'AnyFLEX', 'AnyFLEX', 'AnyFLEX', 'AnyFLEX'
It would seem a new class needs to be created to handle these changes in
the single game importer.py and settings.py files as well as potentially an
additional class in lineup_exporter.py. Maybe more, you would know much
better than me.
I have a manual workaround going, but it seemed an actual correct solution
wouldn't be that terrible to add so I thought I'd raise it.
Thank you!
—
Reply to this email directly, view it on GitHub
https://github.com/DimaKudosh/pydfs-lineup-optimizer/issues/430, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ANBWO7TE6TTMSRNUON5HPQDZVYQDHAVCNFSM6AAAAABN5P35QCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUYTKMBVGM4DMMQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Good news! I can help test once the fix is in. Just let me know. Thanks.


"No payment method selected. Please select one." when using Skip Bank Selection

We're using this module for a new store and noticed an odd behavior. We can't get through the order process when Skip Bank Selection is active, because the frontend JS validation in app/code/Op/Checkout/view/frontend/web/js/view/payment/method-renderer/opcheckout-method.js fails consistently. I've tried looking around if something in our setup has broken this, but I can't find anything that suggests that.
We're using the latest version of this module, 1.1.2 and Magento 2.3.5. The issue has repeated on both the default Magento Checkout as well as Amasty's One Step Checkout. The issue was also on Magento 2.3.4.
The issue seems to start on row 156 on opcheckout-method.js where the validation checks if (self.selectedPaymentMethodId() == 0) which is always true for us because selectedPaymentMethodId never changes.
The only place where selectedPaymentMethodId is updated is setPaymentMethodId() which is only called when the observable selectedMethodGroup is updated. This observable should be updated when selectPaymentMethod is called, but at least on our setup, this does not happen because on row 120 it looks for this.id which is always undefined. Below is a screencap of the debugger on the line.

I assume this should have an ID of opcheckout but for some reason doesn't. At that moment, the value of this looks like this:
UiClass {_super: undefined, ignoreTmpls: {…}, _requested: {…}, containers: Array(1), exports: {…}, …}
component: "Op_Checkout/js/view/payment/method-renderer/opcheckout-method"
containers: [UiClass]
dataScope: ""
displayArea: "payment-methods-items-default"
elems: ƒ observable()
exports: {}
extendProvider: true
hasUnique: undefined
ignoreTmpls: {templates: true, childDefaults: true}
imports: {}
index: "opcheckout"
item: {title: "Verkkopankki tai luottokortti", method: "opcheckout", __disableTmpl: {…}}
links: {}
listens: {}
maps: {imports: {…}, exports: {…}}
messageContainer: UiClass {_super: undefined, ignoreTmpls: {…}, errorMessages: ƒ, successMessages: ƒ}
modules: {storage: "localStorage"}
name: "checkout.steps.billing-step.payment.payments-list.opcheckout"
ns: "checkout"
parent: "checkout.steps.billing-step.payment.payments-list"
parentName: "checkout.steps.billing-step.payment.payments-list"
parentScope: ""
provider: ""
regions: {messages: ƒ}
registerNodes: true
source: undefined
statefull: {}
storage: ƒ ()
storageConfig: {provider: "localStorage", namespace: "checkout.steps.billing-step.payment.payments-list.opcheckout", path: "localStorage:checkout.steps.billing-step.payment.payments-list.opcheckout"}
template: "Op_Checkout/payment/checkout"
tracks: {}
_elems: [UiClass]
_requested: {localStorage: ƒ}
_super: undefined
__proto__: UiClass

@sofokus-jali-rainio Thanks for reporting, we'll look in to this

@sofokus-jali-rainio This bug was fixed in the latest release: https://github.com/OPMerchantServices/op-payment-service-for-magento-2/releases/tag/v1.1.3

@loueranta Thank you, everything seems to be working now


pygravity.twod util import error

Hello, I just found Python-Gravity. I tried joining the discord server but is said there were no channels that existed.
I'm trying to run Python-Gravity in google colab. I'm able to install it using pip, and I was trying to run the example.py code. This line fails:
from pygravity.twod import util

with the following error. Do I have a missing package?
ImportError                               Traceback (most recent call last)
<ipython-input-4-cd49094550c1> in <module>()
      2
      3 from pygravity import twod
----> 4 from pygravity.twod import util
      5
      6

/usr/local/lib/python3.7/dist-packages/pygravity/twod/util.py in <module>()
      4 from pygravity.twod.gravity import GravityAcceptor, GravityCaster, GravityContainer
      5 from pygravity.twod.vector import Vector2
----> 6 from typing import Dict, Generator, Iterable, List, Optional, Tuple, TypedDict, Union
      7
      8

ImportError: cannot import name 'TypedDict' from 'typing' (/usr/lib/python3.7/typing.py)

The util module uses TypedDict, which, according to PEP 589, wasn't added until Python 3.8. I didn't realize I had added this incompatibility, sorry. I will fix it when I return from vacation in a little over a week. For now, just use Python 3.8 or 3.9, if that's an option!

Ah, thanks, yes I can try this. Will report back if there are more issues.


Gatsby v2 compat

Possibly related to  #17 (not that familiar with svgr itself), but gatsby-plugin-svgr completely breaks render in Gatsby 2, causing it to silently fail (took me aaages to figure out it was svgr going wrong).
Since it fails silently, can't be much help debugging, but I can only assume it's to do with Webpack 4, and that bumping to @svgr/webpack would fix it.
Could we try that and release under a next tag for Gatsby v2? Seems to solve both issues, don't have to worry about breaking gatsby/webpack 1, keeps compat going forward for Gatsby 2

Just saw #14 and #18 – any plans to merge one of these?

Any update on this? Using #21 in prod (here). Would be great to get it merged to mainline

#21 is now published. You can install it using the @next tag. Sorry for the long delay.

Thanks! I'll close this issue since that resolves v2 compat.


Missing icons?

Any idea why some icons seem to be missing? Is it just me?

Probably has something to do with themes. Any troubleshooting tips would be appreciated.

How to get this running on OS X:

I'm going to assume you already have homebrew and cask but if you don't go install them now. I use zsh but these steps should work for bash as well.
Install perlbrew and cpanm:
\curl -L http://install.perlbrew.pl | bash
echo 'source $HOME/perl5/perlbrew/etc/bashrc' >> ~/.zprofile # or the bash profile
perlbrew install perl-5.23.7
perlbrew switch perl-5.23.7
perlbrew install-cpanm

Get youtube-viewer installed:
We need to link openssl because OS X has stopped shipping headers with the OS:
brew install openssl
brew link openssl --force # --force is important here

Now we can install cpan stuff including the https stuff that requires those linked headers:
cpanm Module::Build
cpanm Data::Dump
cpanm HTTP::Request
cpanm JSON
cpanm LWP::Protocol::https
cpanm LWP::UserAgent
cpanm URI::Escape
cpanm JSON::XS
cpanm LWP::UserAgent::Cached
cpanm Mozilla::CA
cpanm Term::ReadLine::Gnu::XS
cpanm Text::CharWidth

Now it's a simple matter of running the documented install commands within the cloned repo directory:
perl Build.PL
./Build test
sudo ./Build install

Get gtk-youtube-viewer installed for the fancy GUI:
We're going to need various CLI apps for the viewer to work nicely (or at all):
brew install youtube-dl
brew install ffmpeg --with-faac --with-openssl
brew install mpv --with-bundle
brew linkapps mpv # you could exclude this and  --with-bundle above, for CLI-only mpv
brew install gtk+
brew install gtk-engines
brew cask install xquartz

Now that we have gtk+, add this export to the end of ~/.bashrc or ~/.zshrc:
export GTK_PATH=/usr/local/lib/gtk-2.0

Open a new shell so that export gets executed, then get the two remaining cpanm things:
cpanm File::ShareDir
export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig # not sure if needed
cpanm Gtk2 --force # --force because tests fail

Now we can finally install gtk-youtube-viewer:
perl Build.PL --gtk-youtube-viewer
sudo ./Build install

If you run gtk-youtube-viewer you will notice missing icons and downloads won't work (at least for me when using zsh). Let's fix these issues. For the icons download and unzip http://gnome-look.org/content/show.php?content=128143 and extract Faenza.tar.gz from within.
Next run cp Faenza ~/.icons on the extracted directory. Then make ~/.gtkrc-2.0 look like:
include "/usr/local/Cellar/gtk-engines/2.20.2_1/share/themes/Clearlooks/gtk-2.0/gtkrc"

gtk-icon-theme-name="Faenza"
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size=GTK_ICON_SIZE_SMALL_TOOLBAR
gtk-button-images=1
gtk-menu-images=1

Almost done. If video downloading is behaving strangely, I have found my solution on OS X with zsh is editing the terminal_exec in gtk-youtube-viewer.conf to be like this:
terminal_exec                       => "`%s` >/dev/null",

HTH