[Card group, Card in Card]: Cannot click card to navigate to new page - React wrapper Safari mobile

Description
On Safari mobile with VoiceOver using the React wrapper build, I cannot double click on a card to navigate to the linked page (Example domain page). Tapping multiple times will trigger a page preview in Safari. Compared to the current Web Component version, which does navigate with VoiceOver on.
Card group

Card in card

Component(s) impacted
Card group
Card in card
Card link
Browser
Safari
Carbon for IBM.com version
v1.17.0-rc.1
Severity
Severity 2 = Aspects of design is broken, and impedes users in a significant way, but there is a way to complete their tasks. Affects major functionality, has a workaround.
Application/website
C4IBM.com
Package
@carbon/ibmdotcom-web-components
CodeSandbox example
https://codesandbox.io/s/github/carbon-design-system/carbon-for-ibm-dotcom/tree/main/packages/web-components/examples/codesandbox/components-react/card-group
Steps to reproduce the issue (if applicable)
No response
Release date (if applicable)
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate issues

@RichKummer I just spoke to @ariellalgilmore about this and we actually don't think it's a bug at all. In the mobile context the user needs to be able to swipe through each element, which will announce its role in the context of the landmark. In this case, there is in fact only one link, which is the text CTA. Clicking the eyebrow/header wouldn't make sense, as they are not actually links and were never announced that way. Thoughts?
@oliviaflory Happy to keep discussion going, but like I said this is behaving correctly as far as screen readers go. I lowered the severity and moved to pending scheduling.

@kennylam makes sense to me! Thanks for looking into it, should we close because it's behaving as expected?

@oliviaflory Yep, sounds good!


libofx: 0.10.7 -> 0.10.9

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/LibOFX/libofx/releases.
meta.description for libofx is: "Opensource implementation of the Open Financial eXchange specification"
meta.homepage for libofx is: "http://libofx.sourceforge.net/"
meta.changelog for libofx is: ""
Updates performed

Version 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.10.8 with grep in /nix/store/csnzc5hiygqb5s51zfx7vh0d4b1mmv3d-libofx-0.10.8
found 0.10.8 in filename of file in /nix/store/csnzc5hiygqb5s51zfx7vh0d4b1mmv3d-libofx-0.10.8

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

6 total rebuild path(s)

6 package rebuild(s)

First fifty rebuilds by attrpath
gnucash
grisbi
homebank
kmymoney
libofx
skrooge

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/csnzc5hiygqb5s51zfx7vh0d4b1mmv3d-libofx-0.10.8 \
  --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 libofx https://github.com/r-ryantm/nixpkgs/archive/8740c18d242537c5165cb5f892e1a655e720c0d3.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/csnzc5hiygqb5s51zfx7vh0d4b1mmv3d-libofx-0.10.8
ls -la /nix/store/csnzc5hiygqb5s51zfx7vh0d4b1mmv3d-libofx-0.10.8/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

6 packages built:

gnucash
grisbi
homebank
kmymoney
libofx
skrooge

Maintainer pings

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/LibOFX/libofx/releases.
meta.description for libofx is: "Opensource implementation of the Open Financial eXchange specification"
meta.homepage for libofx is: "http://libofx.sourceforge.net/"
meta.changelog for libofx is: ""
Updates performed

Version 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.10.9 with grep in /nix/store/kq66f1r1v9wvkzz3d4z3dxc9299sngbr-libofx-0.10.9
found 0.10.9 in filename of file in /nix/store/kq66f1r1v9wvkzz3d4z3dxc9299sngbr-libofx-0.10.9

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

6 total rebuild path(s)

6 package rebuild(s)

First fifty rebuilds by attrpath
gnucash
grisbi
homebank
kmymoney
libofx
skrooge

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/kq66f1r1v9wvkzz3d4z3dxc9299sngbr-libofx-0.10.9 \
  --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 libofx https://github.com/r-ryantm/nixpkgs/archive/2d296495e7a8d042a173cab98fcba598f49404ac.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/kq66f1r1v9wvkzz3d4z3dxc9299sngbr-libofx-0.10.9
ls -la /nix/store/kq66f1r1v9wvkzz3d4z3dxc9299sngbr-libofx-0.10.9/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

6 packages built:

gnucash
grisbi
homebank
kmymoney
libofx
skrooge

Maintainer pings

@ofborg build gnucash grisbi homebank kmymoney libofx skrooge


fix: improve vuln report verifier report messages

Description
What this PR does / why we need it:

Updates vuln report verifier report message to be more user friendly

Sample Deny List CVE message:
{
      "subject": "artifactstest.azurecr.io/vuln/alpine:3.18.2",
      "isSuccess": false,
      "name": "vulnerabilityreport",
      "message": "Validation failed: found denied CVEs. See extensions field for details.",
      "extensions": {
        "createdAt": "2023-10-13T22:22:50Z",
        "denylistCVEs": [
          "CVE-2022-48174-busybox"
        ],
        "scanner": "grype",
        "cveViolations": [
          "cve-2022-48174-busybox"
        ]
      },
      "artifactType": "application/sarif+json"
}

Sample disallowed severity message:
{
      "subject": "artifactstest.azurecr.io/vuln/alpine:3.18.2",
      "isSuccess": false,
      "name": "vulnerabilityreport",
      "message": "Validation failed: found disallowed severities. See extensions field for details.",
      "extensions": {
        "createdAt": "2023-10-13T21:16:58Z",
        "disallowedSeverities": [
          "critical"
        ],
        "scanner": "trivy",
        "severityViolations": {
          "CVE-2022-48174": "critical"
        }
      },
      "artifactType": "application/sarif+json"
}

Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Helm Chart Change (any edit/addition/update that is necessary for changes merged to the main branch)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Checklist:

[ ] Does the affected code have corresponding tests?
[ ] Are the changes documented, not just with inline documentation, but also with conceptual documentation such as an overview of a new feature, or task-based documentation like a tutorial? Consider if this change should be announced on your project blog.
[ ] Does this introduce breaking changes that would require an announcement or bumping the major version?
[ ] Do all new files have appropriate license header?

Post Merge Requirements

[ ] MAINTAINERS: manually trigger the "Publish Package" workflow after merging any PR that indicates Helm Chart Change

@akashsinghal How about the following?

Validation failed: found denied CVEs. See extensions field for details.

Validation failed: found disallowed severities. See extensions field for details.

@yizha1 thanks for the suggestions. I have incorporated the message exactly as you had suggested. I've updated the sample outputs in the description of the PR. Please take a look when you have a chance. Thanks.


Handle jl_array_copy

Requires jll bump for https://github.com/wsmoses/Enzyme/pull/384

Codecov Report

Merging #160 (2aa12d3) into master (790ab6e) will decrease coverage by 3.13%.
The diff coverage is 95.52%.

@@            Coverage Diff             @@
##           master     #160      +/-   ##
==========================================
- Coverage   78.57%   75.43%   -3.14%
==========================================
  Files          12       12
  Lines        2296     2337      +41
==========================================
- Hits         1804     1763      -41
- Misses        492      574      +82

Impacted Files
Coverage Δ

src/api.jl
42.71% <76.92%> (+2.93%)
:arrow_up:

src/compiler.jl
81.47% <100.00%> (-0.79%)
:arrow_down:

src/compiler/orcv2.jl
0.00% <0.00%> (-71.43%)
:arrow_down:

src/logic.jl
75.00% <0.00%> (-5.00%)
:arrow_down:

src/Enzyme.jl
82.97% <0.00%> (-0.18%)
:arrow_down:

src/compiler/optimize.jl
98.42% <0.00%> (-0.04%)
:arrow_down:

src/typetree.jl
82.95% <0.00%> (+1.23%)
:arrow_up:

src/compiler/orcv1.jl
85.10% <0.00%> (+4.33%)
:arrow_up:

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 790ab6e...2aa12d3. Read the comment docs.


Return string from GetShaderInfoLog may contain garbage?

On https://github.com/bwasty/learn-opengl-rs/blob/master/src/shader.rs#L107 and related code, we have:
gl::GetShaderInfoLog(shader, 1024, ptr::null_mut(), infoLog.as_mut_ptr() as *mut GLchar);
println!("ERROR::SHADER_COMPILATION_ERROR of type: {}\n{}\n \
     -- --------------------------------------------------- -- ",
    type_,
    str::from_utf8(&infoLog).unwrap());
}

GetShaderInfoLog stores a null-terminated string into infoLog, which may contain garbage after the null terminator.  str::from_utf8() may fail if the garbage in infoLog contains invalid unicode values.

use str::from_utf8_unchecked()
Its not safe but it works for now. In the future i would look for the earliest null terminator.


Give the first jumpman a 'grace period'

The first jumpman often times starves before producing offspring.
Estimated time: 10 m.

Closed by 21a1b97.


Translation Support

Testing draft PRs!
!!!

It's too bad you can't change a non-draft PR to a draft PR. :(

All your JSON files need trailing linebreaks.

Travis tests have failed
Hey @bumbadadabum,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.
TravisBuddy Request Identifier: b6be35a0-34b3-11e9-8c53-fd1917ca979d


⚠ Bofrost.at has degraded performance

In 076c882, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2140 ms

Resolved: Bofrost.at performance has improved in eea15fe.


Update setup.cfg: remove napari[all] from dev

napari[all] intalls pyqt5, but napari can use other Qt backends
Currently, if a developer has a different Qt backend installed (e.g. PyQt6, which as of 0.5.0a is no longer an experimental backend) and installs the dev installation of napari-threedee they will get an extra Qt backend which can cause major issues in the environment.
Note: trying to launch napari without a Qt backend gives a reasonably informative message.

Broke docs! I thought i checked everything. sorry! PR to fix


Slow performance after sleep mode

Just started testing Nitro and I'm loving it. But I'm having trouble with slow load times running Nitro on MacOS.
Tried two different Macbook Pros. Haven't tried Craft CMS yet only flat-file CMS systems.
Load time DOMContentLoaded: 2.50 s
Tried bumping up CPU and memory but without any changes in the performance.

Seems like Nitro gets significantly slower after the Mac has been in sleep mode for some time.

Using multipass to stop then then start the machine back up improved things for me. I didn't need to restart my whole machine.

@mmorkt and @simeon-smith this seems somewhat related to https://github.com/canonical/multipass/issues/1531.
When the computer goes to sleep, it stops processing the mount and when its awake it appears to take a long time to get caught up. If this occurs again, you can run nitro restart to stop and start the machine, which would tell the mounts to "reinitialize".


Feature Request: How about the SSH Dynamic Port Forwarding?

The local/remote portforwarding options in terminus are very very nice but what is when i want to portforwading the connection dynamically? then i need to do it in a normal terminal a third option for dynamic pf would be nice
to be clear i mean the ssh option -D like => ssh -D 8080 lxwulf@myserver

Very handy! I use it every day - no vpn needed with this socks5 tunnel.

This would indeed be a great feature to have.

The project ssh2 supports dynamic port forwarding using the api forwardOut.
See example:
https://github.com/mscdex/ssh2/blob/v0.8.x/README.md#dynamic-11-port-forwarding-using-a-socksv5-proxy-using-socksv5

+1
I like port forwarding in termiushttps://termius.com/

Now available in the nightlies


Load AWQ quantization model OOM !!!

example:

https://huggingface.co/TheBloke/CodeLlama-7B-AWQ: physical size is 4GB but use VRAM about 20GB
https://huggingface.co/TheBloke/deepseek-coder-33B-instruct-AWQ: physical size is 17GB but can not run on a dual-A100(40G) server.

--tensor-parallel-size 2 is configured

Why is that? Is it related to the model AWQ process or my VLLM usage?
@TheBloke May you please help me with this?

This is normal and good - vLLM always uses nearly 100% VRAM, using the extra for caching.
Sorry I've not tested AWQ with tensor parallelism on vLLM, so no experience.  You should definitely be able to run on 1x GPU though, even if TP doesn't work with AWQ.

set --gpu-memory-utilization .8

vLLM should have some memory manage issue when tp>1 for AWQ model. Also see #1472

At present, we have found a workaround and set the swap space directly to 0. This way, we will not call the CPU swap space and will not report any errors. However, the CPU blocks will also become 0, which may slow down the speed a bit, but at least it will not hang and die.

@bonuschild I think I have found the solution to this problem.
It appears that the issue is the derived_max_model_len. DeepSeek has a RoPE scaling factor of 4, which means that the derived_max_model_len becomes 65535, which is probably too big for your VRAM. If you use --max-model-len 16384 you should be able to run this model on a single GPU with <40GB VRAM.
Offending code block:
https://github.com/vllm-project/vllm/blob/d79ced3292445d8471b3c4e5ce2dbf311834ec1b/vllm/config.py#L591-L598


ERR_dlopen_failed after installation

Hi all,
i use node-red inside a docker container in bridged mode.
The installation of this node runs without any errors.
-----------------------------------------------------------
2023-10-12T07:00:30.770Z Installieren : node-red-contrib-teachable-machine 1.4.1

2023-10-12T07:00:30.776Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict<EMAIL_ADDRESS>2023-10-12T07:00:31.658Z [err] npm
2023-10-12T07:00:31.658Z [err]  WARN config production Use `--omit=dev` instead.
2023-10-12T07:01:05.690Z [out]
2023-10-12T07:01:05.690Z [out] added 26 packages, and changed 1 package in 34s
2023-10-12T07:01:05.700Z rc=0

But after some time (1 min) i get the ERR_dlopen_failed error.
And i cannot use the node.
Also see the terminal print:
2023-10-12 09:00:30 12 Oct 07:00:30 - [info] Installing module: node-red-contrib-teachable-machine, version: 1.4.1
2023-10-12 09:01:05 12 Oct 07:01:05 - [info] Installed module: node-red-contrib-teachable-machine
2023-10-12 09:01:13 12 Oct 07:01:13 - [info] Added node types:
2023-10-12 09:01:13 12 Oct 07:01:13 - [info]  - node-red-contrib-teachable-machine:teachable machine : Error: Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by<EMAIL_ADDRESS>
Thanks for your help.

Got a workaround:
I now use the node-red-debian image. Now it runs flawlessly!

Cool! Sorry for not reaching out in time.
Yeah only debian images work fine. Alpine does not work wel with TensorFlow dependencies.


Update "Getting Started::JavaScript SDK" page

Update "Getting Started::JavaScript SDK" page to make the java sdk content includes both Metrics and Traces sample code

https://github.com/aws-otel/aws-otel.github.io/pull/15


NTVS 1.1 folder naming doesn't work with web publish

When folders are renamed from "public" to "public (browser)" or "public (node)" this breaks web publishing as it now publishes files to a "public (browser)" folder instead of "public".

The suffix should only be in the display name, not the actual underlying folder. If we're trying to deploy using the display name, seems like we'll need to fix this. Thanks for reporting!

Right.  The local folder keeps the correct name, but web publish seems to use the display name when sending it to the server via FTP.  I had to revert back to v1.0 and this resolved it for now.

Just sent a PR out for this (see #439). Just to make sure we're on the same page here since it took me some time to get a repro... normal publish-project was working fine, but right-clicking and publishing a specific folder was not?

I was right clicking in solution explorer and using publish for specific folders.  That's the "normal" publish for my work flow.  That's just the way I've always done it.
On another subject, the thing that just drives me crazy right now is getting intellisense working properly, or at all.  I know you guys are aware of this problem.    I really, really miss this coming from C#.  I know there are technical limitations here related to languages, but getting this working solidly would be a huge step forward.  I can't seem to get anything working for nodejs modules or JavaScript libraries, and I can't seem to figure out what is supposed to actually work and what is a known technology limitation currently, or how to debug the problem.  Lost in the weeds....

@tomscharf We just pushed a new release with the fix for the publishing, and a couple of fixes for intellisense issues. See https://github.com/Microsoft/nodejstools/releases if you'd like to check it out. Thanks!


adding var in that is now used

What does this PR do?
Adding clusterid var that is now being used
How should this be manually tested?
manual deploy
Is there a relevant Issue open for this?
n/a
Who would you like to review this?
cc: @e-minguez @mazzystr  PTAL

It seems travis is complaining :$
reference-architecture/aws-ansible/playbooks/openshift-setup.yaml:

  29:44     error    trailing spaces  (trailing-spaces)

Otherwise LGTM but I'll let @mazzystr as AWS expert to review it :)


Added capability for dynamic queue

I added the ability to provide a function to sweetAlert.queue instead of an array. The function acts as a dynamic alert generator that allows variables from the calling scope to be dynamically referenced in the swal event handlers see fiddle.  I'd like to enhance this further to make the dynamic queue function like a state machine based on user input, but i thought i'd start with this to get feedback before i go any further. I'd also like to create tests and update the docs if this jives with the direction of the project.

@simo9000 I like this improvement! :+1:
Go forward with tests and docs.


Include additional scopes in google singin

How do I add additional scopes when using google singin

not supported currently. Can you please write specs that you would need, maybe it can be implemented easily @Taz03

@mirzemehdi i'd need a few scopes its no specific ones, if you could add a parameter which takes in List<String> so I can pass my scopes it'll be great

I need custom scopes like this
List scopes = [
'email',
'https://www.googleapis.com/auth/contacts.readonly',
'drive scopes'
];
late final GoogleSignIn _googleSignIn = GoogleSignIn(
// Optional clientId
// clientId: 'your-client_id.apps.googleusercontent.com',
scopes: scopes,
);


How to update local state once async remote data arrived, without refreshing constantly?

When rendering a component,
I need a local state to update some elements involving interactive sub-components,
and the local state should be initialized by requesting remote serving data.
But, when I used use_future response data to update the local state variable, like following:
let a_state = use_state(&cx, || 0);
let serving = use_future(&cx, (), move |_| {
};

Could someone delete this issue?

Looks like you made an updated version in #506 .
In the future, consider editing the existing issue instead. Anyway, don't worry about it, I think it's fine (I can't delete personally).


Console log generating multiple messages in production!

There are two instances of console.log()  in the file below:
https://github.com/AlexTorresDev/custom-electron-titlebar/blob/e57a1685644edc2071c079446867e7579016ed07/src/menubar/index.ts#L868

Sorry, it was duplicated


[PT Run] [Time and Date plugin] Allow custom format string

Description of the new feature / enhancement
The PR #16662 implements a new plugin for date and time values.
It might be interesting to support custom format string as user input like the wox plugin "DateTimeFormatter".
Scenario when this would be used?
If the user needs an unsupported format.
Supporting information
https://github.com/sobujbd/Wox.Plugin.DateTimeFormatter

⚠ The work on this enhancement can't begin before the plugin code is merged into main branch!!

PR is merged.

Hi @htcfreek , I think this is a really good idea. Even better would be to also be able to manually add custom format string in the Date and Time plugin settings. So the user could specify their own custom format and always have it appear as the very last result (hence possible to navigate directly to it by pressing up).
The reason this functionality would be pretty useful is because currently none of the include date & time formats can be directly pasted into a Windows file / directory name, since they include either forward slashes or colons. I created an issue #24911 for a proposal for a simple addition of one more date time format, but more robust solution with custom persistable format would be preferable I think.


Run

  git config --global user.email<EMAIL_ADDRESS>  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

Is it possible to run it without writing global config? Thanks.

I believe the problem is this line - https://github.com/Debian/dh-make-golang/blob/71f5e23f27a23baa4018d2aebae05360e323431a/make.go#L316
Is it possible to catch the error and commit this line under some different name (or don't commit), so that I can later configure local params for this repo?

Can you explain the use-case for this? Usually, I’d expect people to set the DEBEMAIL and DEBFULLNAME environment variables (for Debian Developers/Maintainers) or at least their git configuration.

I just wanted to check if micro compiles on Debian, to see if I can package and install latest version from GitHub for troubleshooting. As I am not a Debian developer/maintainer, I don't have those DEB* credentials (and didn't know about them).
I also do this inside container environment, and setting up git for committing there is tedious for every project.

Thanks for clarifying.
I’ll have to reject this feature request, as the tool is first and foremost targeted at debian developers. I think when trying to (re)build packages, it’s fair to require a development setup, which in this case includes git setup or the DEB* environment variables.
Failing early is the preferred failure mode (instead of, for example, putting in “nobody” as user name, which you’d only discover later on if at all).

It is fair to require development setup when you're trying to commit stuff, but testing it should go in read only mode. Seeing that this tool wants to commit something fails this smoke test. I wouldn't risk giving it my credentials in production as it seems too capable.

What I really wanted to say is that having a focus on Debian users helps with onboarding them as debian developers someday (if you need more developers, of course). =)

dh-make-golang uses a local git working copy.  There are no credentials required. DEBFULLNAME and DEBEMAIL are plain text strings, no credentials.

Yes, but users don't know that.

At least this info can be added to error message.

I agree that error messages should be as friendly and helpful as possible.
I tried reproducing the issue in order to see how we could improve the error message, but I fail to reproduce it:
$ docker run -t -i debian:sid /bin/bash

root# apt update && apt install git-buildpackage dh-make-golang

root# dh-make-golang -allow_unknown_hoster github.com/zyedidia/micro
2017/03/23 08:56:13 Downloading "github.com/zyedidia/micro/..."
2017/03/23 08:56:32 Determining upstream version number
2017/03/23 08:56:32 WARNING: Annotated tag not found, using lightweight tag "nightly"
2017/03/23 08:56:32     Lightweight tags (created by e.g. "git tag nightly"
2017/03/23 08:56:32     with no flag) are problematic because, among other
2017/03/23 08:56:32     things, they are ignored by "git describe" by default.
2017/03/23 08:56:32     Please suggest that the upstream replaces the
2017/03/23 08:56:32     lightweight tags with annotated ones.  See
2017/03/23 08:56:32     https://github.com/russross/blackfriday/issues/196
2017/03/23 08:56:32     for details.
2017/03/23 08:56:32
2017/03/23 08:56:32 Package version is "nightly+git20170311.0.53a19af"
2017/03/23 08:56:32 Determining package type
2017/03/23 08:56:32 Assuming you are packaging a program (because "github.com/zyedidia/micro/cmd/micro" defines a main package), use -type to override
2017/03/23 08:56:32 Determining dependencies
2017/03/23 08:56:32 WARNING: Using "layeh" as canonical hostname for "layeh.com". If that is not okay, please file a bug against dh-make-golang.
2017/03/23 08:56:34 Build-Dependency "golang-github-go-errors-errors-dev" is not yet available in Debian
2017/03/23 08:56:34 Build-Dependency "golang-github-zyedidia-clipboard-dev" is not yet available in Debian
2017/03/23 08:56:34 Build-Dependency "golang-github-zyedidia-glob-dev" is not yet available in Debian
2017/03/23 08:56:34 Build-Dependency "golang-github-zyedidia-json5-dev" is not yet available in Debian
2017/03/23 08:56:34 Build-Dependency "golang-layeh-gopher-luar-dev" is not yet available in Debian
2017/03/23 08:56:34 Build-Dependency "golang-github-yuin-gopher-lua-dev" is not yet available in Debian
2017/03/23 08:56:34 Build-Dependency "golang-github-zyedidia-tcell-dev" is not yet available in Debian
2017/03/23 08:56:36
2017/03/23 08:56:36 Packaging successfully created in /usr/src/micro
2017/03/23 08:56:36
2017/03/23 08:56:36 Resolve all TODOs in itp-micro.txt, then email it out:
2017/03/23 08:56:36     sendmail -t < itp-micro.txt
2017/03/23 08:56:36
2017/03/23 08:56:36 Resolve all the TODOs in debian/, find them using:
2017/03/23 08:56:36     grep -r TODO debian
2017/03/23 08:56:36
2017/03/23 08:56:36 To build the package, commit the packaging and use gbp buildpackage:
2017/03/23 08:56:36     git add debian && git commit -a -m 'Initial packaging'
2017/03/23 08:56:36     gbp buildpackage --git-pbuilder
2017/03/23 08:56:36
2017/03/23 08:56:36 To create the packaging git repository on alioth, use:
2017/03/23 08:56:36     ssh git.debian.org "/git/pkg-go/setup-repository micro 'Packaging for micro'"
2017/03/23 08:56:36
2017/03/23 08:56:36 Once you are happy with your packaging, push it to alioth using:
2017/03/23 08:56:36     git push git+ssh://git.debian.org/git/pkg-go/packages/micro.git --tags master pristine-tar upstream

root# cd micro

root# git log
commit 9b5a32c9b15a129a373006fec289af8fd03b1c7f
Author: root <root@886c7f97b923>
[…]

I can't repeat it myself, so it seems resolved. Thanks. =)


Understand 2D tensor load format like tl.load(tl.arange()[:, None] + tl.arange()[None, :])

Hi, I am new to triton and looking into the tutorial about matrix-multiplication at triton-lang.org
Here's what I have got:

For a row-major 2D tensor X, the memory location of X[i, j] is given by &X[i, j] = X + i*stride_xi + j*stride_xj. Therefore, blocks of pointers for A[m : m+BLOCK_SIZE_M, k:k+BLOCK_SIZE_K] and B[k : k+BLOCK_SIZE_K, n : n+BLOCK_SIZE_N] can be defined in pseudo-code as:

&A[m : m+BLOCK_SIZE_M, k:k+BLOCK_SIZE_K] =  a_ptr + (m : m+BLOCK_SIZE_M)[:, None]*A.stride(0) + (k : k+BLOCK_SIZE_K)[None, :]*A.stride(1);
&B[k : k+BLOCK_SIZE_K, n:n+BLOCK_SIZE_N] =  b_ptr + (k : k+BLOCK_SIZE_K)[:, None]*B.stride(0) + (n : n+BLOCK_SIZE_N)[None, :]*B.stride(1);

code at 03-matrix-multiplication.py(here):
    a_ptrs = a_ptr + (offs_am[:, None] * stride_am + offs_k[None, :] * stride_ak)
    b_ptrs = b_ptr + (offs_k[:, None] * stride_bk + offs_bn[None, :] * stride_bn)

I failed to understand the get_item [:, None] and [None, :] (it seems differ from what a torch.tensor does), and no documentation is found to explain this, so I looked into the source code and found that:

tl.arange() returns a tl.tensor
tl.tensor only supports (in __getitem__) None (to somehow expand dims of a tl.tensor) and : (to do nothing)

I am guessing the code here is creating something like a 2D pointers. A tensor with shape (1, N) is added to another (M, 1) and becomes a tensor like(M, N) (broadcasting happens) with each of it pointing at the positions of each element.
Is that correct? If true, is it possible to get elements that seperates from each other?
BTW, I am using triton v2.2.0

I think your understanding is correct: a_ptrs will be a 2d array of pointers, given by the grid specified with the broadcasting offset sum. Another way to achieve similar things is using tl.make_block_ptr, which is even less well documented since there are no analogues in torch.
I think the get_item [:, None] etc syntax mimics pytorch well, why do you think they differ?


youtube-dl Fails to Parse Public Facebook Video Data

Checklist:

[x] Reporting a broken site support issue
[x] Running latest youtube-dl version
[x] URL is alive and playable in a browser
[x] URLs and special characters properly quoted/escaped
[x] Searched bugtracker for similar reports
[x] Read bugs section in FAQ

Verbose Log:
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.facebook.com/mousa.madfa/videos/378107074704278/']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: c32bd1c7c
[debug] Python version 3.12.1 (CPython) - macOS-14.1.2-arm64-arm-64bit
[debug] exe versions: ffmpeg 6.0, ffprobe 6.0, rtmpdump 2.4
[debug] Proxy map: {}
[facebook]<PHONE_NUMBER>04278: Downloading webpage
[facebook]<PHONE_NUMBER>04278: Downloading webpage
ERROR: Cannot parse data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.12/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.12/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
                ^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.12/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.12/site-packages/youtube_dl/extractor/facebook.py", line 680, in _real_extract
    return self._extract_from_url(real_url, video_id)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.12/site-packages/youtube_dl/extractor/facebook.py", line 594, in _extract_from_url
    raise ExtractorError('Cannot parse data')

Description:
Encountering an issue with youtube-dl when trying to download a public Facebook video. The command used was youtube-dl -v https://www.facebook.com/mousa.madfa/videos/378107074704278/. Despite the video being publicly accessible, youtube-dl fails to parse the data, leading to an error. The verbose log is provided for detailed examination.

#30872


Add examples of diagnostic setting logging

Should not require blob storage contributor RA to publish. Will remove these resources from examples


added "en" command

@booniepepper this isn't working right but I'm curious if you have any ideas.
The problem is that it will still load your rc files, so if you do something like `export PATH="/opt/homebrew/bin:$PATH" in your rc file that will make the mise tools lower priority than homebrew so it won't use mise tools if brew provides any.
One idea I had was running mise env when the shell starts but I'm not sure if it's possible to have zsh (for example) load a script like that.
Technically it does work though.

I think I figured out a decent way forward. I just put some docs on how to disable the rc files with bash or zsh. I think that's better than trying to automatically do anything.

I think my issue is actually limited to fish (what I use) and how fish_user_paths work. It's a universal variable that always gets loaded. Skipping rc files isn't really a solution because that means you get no prompt or anything. I handled fish uniquely by running it with fish -C "fish_add_path -gm ..." which causes the mise paths to get loaded after fish gets loaded. That should fix the issue I had. I don't think this would be a problem with bash or zsh since in those shells users should be putting that stuff into ~/.bash_profile and ~/.zprofile I think.
Well, it would be an issue if it was in ~/.zshenv or whatever the bash equivalent to that is but I think in that case I can just tell users not to do that since that shouldn't be there anyways.
Anyhow, this might be just a fish thing mostly but I fixed fish.


Include angled snapping in gizmo

Most CAD viewers will also include tri-angle views like “isometric” so you can easily snap to 3D angles

I'm guessing this would add another 6 arms to the gizmo yeah, maybe we make them a bit shorter than the existing arms?


--path installation broken, throws exception

[x] I am on the latest Poetry version.
[x] I have searched the issues of this repo and believe that this is not a duplicate.
[x] If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

OS version and name: Ubuntu 18.04
Poetry version: 0.12.5
Link of a Gist with the contents of your pyproject.toml file: Included below

Issue
I get an exception when I try to install a dependency from a path, as follows.
[TypeError]
install_directory() got an unexpected keyword argument 'update'

Exception trace:
 .../lib/python3.6/site-packages/cleo/application.py in run() at line 94
   status_code = self.do_run(input_, output_)
 .../lib/python3.6/site-packages/poetry/console/application.py in do_run() at line 88
   return super(Application, self).do_run(i, o)
 .../lib/python3.6/site-packages/cleo/application.py in do_run() at line 197
   status_code = command.run(input_, output_)
 .../lib/python3.6/site-packages/poetry/console/commands/command.py in run() at line 77
   return super(BaseCommand, self).run(i, o)
 .../lib/python3.6/site-packages/cleo/commands/base_command.py in run() at line 146
   status_code = self.execute(input_, output_)
 .../lib/python3.6/site-packages/cleo/commands/command.py in execute() at line 107
   return self.handle()
 .../lib/python3.6/site-packages/poetry/console/commands/update.py in handle() at line 41
   return installer.run()
 .../lib/python3.6/site-packages/poetry/installation/installer.py in run() at line 76
   self._do_install(local_repo)
 .../lib/python3.6/site-packages/poetry/installation/installer.py in _do_install() at line 287
   self._execute(op)
 .../lib/python3.6/site-packages/poetry/installation/installer.py in _execute() at line 295
   getattr(self, "_execute_{}".format(method))(operation)
 .../lib/python3.6/site-packages/poetry/installation/installer.py in _execute_install() at line 320
   self._installer.install(operation.package)
 .../lib/python3.6/site-packages/poetry/installation/pip_installer.py in install() at line 28
   self.install_directory(package, update=update)

update [--no-dev] [--dry-run] [--lock] [--] [<packages>]...

The dependencies section of my pyproject.toml looks like this.
[tool.poetry.dependencies]
python = ">=3.7"
abc = {path = "../abc"}

Similar to #569. Closing to not have duplicates.


new file:   PrimeChecker.java

Could you please delete your version and make the commits again? It ha become non-merge able.

Could you please delete your version and make the commits again? It ha become non-merge able.

Sure

Could you please delete your version and make the commits again? It ha become non-merge able.

Sure, Thanks🤝


Fix the hubblestack/cent7dev for caching

Originally I was just going to turn off caching for the build altogether
and just do a full clone every time. But that seems a little silly. So
I added back in the ADD command even though we don't use the result. I
figure it's better to download the develop archive than to have to
install osquery and the other deps every time.
I think with these changes I can re-enable caching on the docker hub
build which will save time and resources overall even though we have the
wasted ADD command.
@mew1033 Any thoughts?

I like it. Leaving in the unused ADD is a good solution.


Implement My Programs on Mobile

Description
LEARNER-2060

Introduce configurations for programs on mobile.
WebView links parsing and handling has been standardised
Enrolment and Viewing of courses within a Program has been implemented
Offline mode for Programs tab has also been done

TODO:

[x] Remove unused classes link EdxEnrollLink and EdxCourseInfoLink
[x] Update tests related to the classes above

In the programs section when i select a session from some course having multiple sessions i am experiencing following pop-up. Its an issue on web actually.

Press the 'Explore New Programs' button.
Enroll some course/program from the web.
Come back to app (you can press app banner).
When you will come back to app, Program tab will not be refreshed.
Go to 'Courses' tab and do the pull to refresh, program tab will still not be refreshed.

We should implement 'Pull to refresh' in Programs tab.

Google analytics implementation is missing in the PR.

In 'User Experience (UX) Research and Design' program's course 'Understanding User Needs' when i press the 'View Course' button, it doesn't redirect me to the particular course after enrolment, neither its appearing in the 'Courses' tab later on.

Done with my first pass.

In the programs section when i select a session from some course having multiple sessions i am experiencing following pop-up. Its an issue on web actually.

Its a server side issue. Link to ticket: https://openedx.atlassian.net/browse/LEARNER-6522

When course enrollment is tried in offline mode. Following dialog is appearing. It should be some proper internet dialog like iOS.

The behavior is same as in Course Discovery workflow. I'd punt on it for now and count it as out of scope for this ticket since we are atleast seeing an informative error nonetheless.

We should implement 'Pull to refresh' in Programs tab.

Done!

Google analytics and a11y implementation is missing in the PR.

Analytics are out of scope in this ticket. What the problem with a11y?

In 'User Experience (UX) Research and Design' program's course 'Understanding User Needs' when i press the 'View Course' button, it doesn't redirect me to the particular course after enrolment, neither its appearing in the 'Courses' tab later on.

This is happening due to an ongoing test on backend. More details can be found here: https://openedx.atlassian.net/browse/LEARNER-6525.
For now, I've fixed the logic to atleast show an error message in such a case.

@farhan ready for another pass.

Spiral never stopped
During the testing, in some un-known scenario spiral apeared on the screen and then never disappeared.

During the testing, in some un-known scenario spiral apeared on the screen and then never disappeared.

Can you give some hints on how to reproduce this?

Done with a11y testing:
When i select the 'Programs' tab keeping talk back ON. Web view get the initial focus and read some misleading content. It will be great if we can customize that.

@farhan code review points have been fixed. Moving on the a11y issue you mentioned.

Spiral never stopped

This should now be fixed.
btw a11y is out of scope for this ticket/PR.
ready for another pass @farhan.

When programs page is fully loaded, try pull to refresh, during pull to refresh turn of the wifi, you will get following error.

Also in unknown scenario, wifi was enabled but couldn't perform the pull to refresh gesture.


When pressed  ，dispaly "Undefined variable: s:timer_id"

I met the same problem, have you solved the problem?

Disable the comfortable motion plugin:
let g:loaded_comfortable_motion = 1

Thanks for answering, @FlyClover 👍


netstat.go: File handler leak

In case of successfull reading, fs handler is not closed.
https://github.com/prometheus/procfs/blob/45f8bbf7767e825c530bde78868438a9702fb7b3/netstat.go#L31-#L48

Can you provide more information? You linked to a whole function, which doesn't contain a leak.
The internal function parseNetstat() contains a defer file.Close(), so there is no leak.

Can you provide more information? You linked to a whole function, which doesn't contain a leak.
The internal function parseNetstat() contains a defer file.Close(), so there is no leak.

Sorry, looks like i mistook a version<EMAIL_ADDRESS>Not relevant in last version


Navmesh modifier volume

Hi,
I am using recastnavigation 1.5.0-100-g05b2b8d on Windows 10.
When I create a convex volume and generate a navigation mesh, I get kinks near the tile boundaries.  I have tried reducing the cell size, and it does ameliorate the situation, but the kink is still present.  Any suggestions on how to fix this?
Below is a screenshot of the problem: (notice the kink highlighted by the two red arrows)

BTW, I did try the same with the latest version of recastnavigation (2.0-release) but the kink is still there.

Hi!  Can you provide any additional detail or input geometry that reproduces this issue?


Fix angular AOT compilation

Currently most modules are not built with AOT. This ensures all packages that have angular components are built as libraries (skipTemplateCodegen) with the angular compiler (ngc)
This solves my issues with textfield and bottomsheet (the only two I'm currently using)

@edusperoni awesome!


Add support for inserts into partitioned bucket tables

removing check since the inserts into partitioned buckets are supported
adding specific test to capture this behaviour
removing repeated verification of failing inserts, as it's covered b a separate test right now
updating products tests to simulate new behaviour

Lgtm % Travis green tick and lgtm from findepi

@cla-bot check

Merged, thanks!


chore(models): simplify conditions and fix return types

What does this implement/fix?
Minor PR to simplify a couple of conditions and fix the return type in some methods' signatures.

It's hard to review this since a lot of the changes are just formatting changes. Could you roll those back? Hoping to add a formatted soon, so this doesn't happen again.

@klieret Pycharm automatically reformatted the file, sorry for that. Just rolled back. I can open another PR with a simple action to auto-check formatting and spelling if you want :)

I can open another PR with a simple action to auto-check formatting and spelling if you want :)

I'll add this as a pre-commit later. It's less of a technical issue but more about getting everyone to agree on this ;)

Thanks for the type fixes! (side note: We currently seek less refactorings, because they cost a lot of reviewing time and there's quite a lot of other things to do -- the type fixes are much appreciated though!)


Parser should not fail on unknown elements

There are and likely always will be some legal elements that we forgot to define in our python structure. The parser should not fail when it encounters such unknown elements.
For example, the formerly unknown element that is introduced in https://github.com/pretix/python-drafthorse/pull/50 should not have made the parser fail. The element is rather unimportant. I'd still like to read the rest of the invoice, even when this piece of information gets lost.
Reproduce
Terminal:
mkdir drafthorse-51
cd drafthorse-51
python3 -m venv env
source env/bin/activate
pip install drafthorse
curl https://raw.githubusercontent.com/ConnectingEurope/eInvoicing-EN16931/7ce3772aff315588f37e38b509173f253d340e45/cii/examples/CII_example5.xml > sample.xml
python

REPL:
>>> from drafthorse.models.document import Document
>>> samplexml = open("sample.xml", "rb").read()
...
>>> doc = Document.parse(samplexml)
Traceback (most recent call last):
  File "<python-input-2>", line 1, in <module>
    doc = Document.parse(samplexml)
  File "/Users/raffael/Code/drafthorse-51/env/lib/python3.13/site-packages/drafthorse/models/elements.py", line 124, in parse
    return cls().from_etree(root)
           ~~~~~~~~~~~~~~~~^^^^^^
  File "/Users/raffael/Code/drafthorse-51/env/lib/python3.13/site-packages/drafthorse/models/elements.py", line 114, in from_etree
    getattr(self, name).from_etree(child)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
  File "/Users/raffael/Code/drafthorse-51/env/lib/python3.13/site-packages/drafthorse/models/elements.py", line 114, in from_etree
    getattr(self, name).from_etree(child)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
  File "/Users/raffael/Code/drafthorse-51/env/lib/python3.13/site-packages/drafthorse/models/elements.py", line 116, in from_etree
    raise TypeError("Unknown element {}".format(child.tag))
TypeError: Unknown element {urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100}ReceivingAdviceReferencedDocument

Hmm, I'm undecided on this one. Currently, the library is "roundtrip-safe", i.e. if you open an XML and serialize it back out, you can be sure to have all information in there. With fixing this like #52 proposes, this would be lost, which could lead to unexpected bugs if someone relies on this property for some post-processing of documents. But I agree that there are legitimate cases for unknown elements to be in there. So we need to decide how important this roundtip-mode is to us and maybe either introduce a "strict mode" where the validation is turned back on, or store the unexpected elements in a way we can serialize them again (likely too much effort).

"strict mode" sounds fine to me. This could even be enabled by default, so we don't have any breaking changes.


Rename ORKTaskResult+MORK category header to match implementation

The header ORKTaskResult+MORK.h not having a like-named implementation file is quite confusing as it doesn't follow common naming expectations.  I see a commit message where it was blatantly done this way so as to only expose it to ORKTaskResult only but I'm not sure why?  Based on the implementation, both ORKTaskResult and ORKStepResult can use it.
I think this should be renamed ORKCollectionResult+MORK.h to match ORKCollectionResult+MORK.m to follow traditional objective-c naming patterns.
This also makes much more sense as both ORKTaskResult and ORKStepResult are subclasses of ORKCollectionResult and both can (and do) use the category extension.

Thanks Kerry this is a little odd agreed.
As an external interface we're only really interested in serializing ORKTaskResult instances, not individual ORKStepResult - even if we do operate on ORKStepResult internally. Do you have any ideas on how we could communicate this more clearly?

Yeah, lemme marinate on this a little.  If we rename the both .h/.m of the category to ORKTaskResult+MORK, there's bound to be some way to have a class extension for ORKStepResult added to the .m file so we can use it for that guy as well, while also maintaining some semblance of clarity for others.

Ok, this works to just use a private function in the implementation file to do all the heavy lifting.  The explosed ORKTaskResult method just calls into the function while ORKStepResult can call the function directly in the implementation file.


modified sparse matrix unit test, made it cleaner

create a template to generate both sparse and dense matrix and made the rest of the test more concise. @iglesias

I am at the phone with crappy connection now. Will continue reviewing later.
On 4 Mar 2015 19:47, "Yingrui Chang"<EMAIL_ADDRESS>wrote:

create a template to generate both sparse and dense matrix and made the
rest of the test more concise. @iglesias https://github.com/iglesias
You can view, comment on, or merge this pull request online at:
https://github.com/shogun-toolbox/shogun/pull/2759
Commit Summary

modified sparse matrix unit test, made it cleaner

File Changes

M tests/unit/lib/SGSparseMatrix_unittest.cc
https://github.com/shogun-toolbox/shogun/pull/2759/files#diff-0
(105)

Patch Links:

https://github.com/shogun-toolbox/shogun/pull/2759.patch
https://github.com/shogun-toolbox/shogun/pull/2759.diff

—
Reply to this email directly or view it on GitHub
https://github.com/shogun-toolbox/shogun/pull/2759.

@yingryic hey could you please rebase and push again? There was a compilation error in absence of Eigen3 (your newly added method to generate test sparse matrix was under that ifdef guard which was being used outside of that guard in the other tests). small issue - #2760 fixed it.
thanks for the tests btw :) really useful :)

Hi @yingryic. If you're using a RNG in unit-tests, I think it would be better that you use a fixed seed. I think the following failure is due to that
[ RUN      ] SGSparseMatrix.from_dense
/usr/home/wiking/shogun-buildbot/bsd1_-_libshogun/build/tests/unit/lib/SGSparseMatrix_unittest.cc:278: Failure
Value of: denseMatrix(featIndex,vecIndex)
  Actual: nan
Expected: sparseMatrix(vecIndex,featIndex)
Which is: nan
/usr/home/wiking/shogun-buildbot/bsd1_-_libshogun/build/tests/unit/lib/SGSparseMatrix_unittest.cc:278: Failure
Value of: denseMatrix(featIndex,vecIndex)
  Actual: nan
Expected: sparseMatrix(vecIndex,featIndex)
Which is: nan
[  FAILED  ] SGSparseMatrix.from_dense (1 ms)

See buildbot log. It works fine on linux but fails on bsd.

Ah sorry I didn't notice you're already using a fixed seed. Maybe something else then causing a nan value then?

@lambday I use unix, then how can I test it against bsd.

committed again, please tell me what you think @iglesias


cars: platform enums -> prepend brand name

keeps the enums consistent. for example
RAM_HD_5TH_GEN -> has brand before
PACIFICA_2017_HYBRID -> no brand

dont think we need to add these to migration since it was only in master for a few hours

replay diff is the car fingerprints changing (again!)

Do your notebook tests pass? It's missing more migrations on the same line

Do your notebook tests pass? It's missing more migrations on the same line

ah, we disabled them because of the huggingface thing. I'll fix them


Tab completion for targets when on the command line

It would be awesome if buck2 could, on the command line, auto-complete the name of a target given a target pattern prefix such as path/to/module: (completing any target in the BUCK file) or path/to/library:foo (anything with a name prefix of foo). I often find myself wanting this.
I am not sure how much "work" is necessary to resolve all the names in 100% of cases, but it seems like a in theory BUCK files can be parsed for their target outputs without actually constructing the action graph, right? If you can just iterate every name field on every rule in the file, that's probably a good start.

Completely agreed! I would imagine you want to race parsing the Starlark file for name = ... entries and actually run the Starlark code in the equivalent of buck2 targets, and if after 0.5s you don't have the real stuff, you use the Starlark file data. We've had this as an internal request for some time, often being a "nice to have", but never becoming a "we'll do it now". Volunteers most welcome.

For what it's worth, I think this might be blocked on https://github.com/clap-rs/clap/issues/1232.

It looks like as of 3 weeks ago clap might support this now. I could try to put something together?


Update Actions and Repo

NOTE: Huge number of files changed is due to pre-commit hook that is newly setup and ran on all the files in the repo.
This PR is aimed at making this repo look as much applicable/possble as GeoCAT-comp repo with respect to actions, folder structure, etc. for consistency purposes. Therefore it makes the following changes:

Please first beware that the Github actions "Build documentation pages" is now renamed to "CI/Build Sphinx Docs". Thus, for review/approval, see if the newly named actions are passing even though the older name is required by branch protection rules.

Moves readthedocs related files into newly created /docs folder as in geocat-comp.

Renames CI action and step names similar to geocat-comp wherever applicable.

Previously we only CI-tested for Python 3.9 on ubuntu-latest. Now I added matrices that also include macos and Python=3.6 since I think testing against two OS and min and max versions of Python would be good. Though, let me know if you think this is an overkill for this repo (Since they are run almost in parallel, my thought is it is just fine).

Adds pre-commit hooks to the repo.
Note: To use these pre-commit hooks in local, each developer needs to do the followings (after pulling this branch or main branch after merge into local):
pip install pre-commit
pre-commit install

Adds a LICENSE file and then several badges into README.md to have similar badges with GeoCAT-comp

Was preparing to give my review, when I saw that some automated function had modified the fortran files. While I do not expect that any of the fortran files have been broken, I do not like that they have been touched at all. They need to remain untouched, in order to preserve our confidence that they do in fact provide the exact desired behavior from NCL.

Was preparing to give my review, when I saw that some automated function had modified the fortran files. While I do not expect that any of the fortran files have been broken, I do not like that they have been touched at all. They need to remain untouched, in order to preserve our confidence that they do in fact provide the exact desired behavior from NCL.

It does not apply to here (Though it is a great catch for GeoCAT-f2py), and I believe this PR is ready for review unless you have another point.
Fyi: Since this is the first run of our pre-commit hooks on all the files, there are unfortunately many files changed, but most of those changes are insignificant.

I think we should consider moving the RTD configuration files in geocat-examples into a docs file like in this PR, too.

Did you meant some other repository other than GeoCAT-examples? That is because this PR is already going to do that once it is merged in GeoCAT-examples. Am I missing something?

@michaelavs @pilotchute If you are not planning to give this PR a review, can I merge this?

Apologies for the late review, I think I had mixed this PR with the one in f2py! I am ok with these changes and merging when you are ready!

No worries at all! I had already mentioned I did not intend to get the actual review of you all but aimed at having you all know what I changed overall about our CI actions and so.


Custom generator no longer seems to work

We are trying to migrate from 2.11.0 to 2.15.1 and found that the custom code generator logic no longer seems to work as expected (using a 2.x based custom generator). Currently in 2.15.1 its returning:
Can't load config class with name net.test.build.HotelsSpringCodegen Available: ada (continues to list supported codeGen config strings.

Would you provide the root cause of stack trace? You can see stack trace by ./gradlew -s option.
For example,
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':generateSwaggerCodePetstore'.
(snip)

Caused by: java.lang.RuntimeException: Error while running swagger-codegen-cli
(snip)

Caused by: java.lang.RuntimeException: Can't load config class with name generators.MySpring Available: ...
(snip)

Caused by: java.lang.ClassCastException: generators.MySpring cannot be cast to io.swagger.codegen.v3.CodegenConfig
	at io.swagger.codegen.v3.CodegenConfigLoader.forName(CodegenConfigLoader.java:29)
	... 2 more

I had to do this customization in the config:
...
code.configuration = project.buildscript.configurations.getByName("classpath")
...

it's been a while on this thread, but...did you solve the issue? I tried the code.configuration =...but the problem with that is it seems to override the dependency information too, so then it fails because it thinks swagger-codegen-cli isn't a dependency
happen to know how can i get it on the classpath but also the other dependency?

Got it working, using swagger2 codegen, adding
`
implementation("io.swagger:swagger-codegen:$swaggerVersion") { exclude("org.slf4", "sl4j-simple") }
swaggerCodegen("io.swagger:swagger-codegen-cli:$swaggerVersion")
//// .....
dependencies {
swaggerCodegen("com.myorg.generator:my-swagger-generator:3.7.0-SNAPSHOT@jar")
}` was the trick, ultimately. the @jar syntax, in particular...(sample here is truncated, so groupid/etc may not be uniform)
for tests (using junit & testkit), i did:
   val SWAGGER_TEST_CASE = """ import org.hidetake.gradle.swagger.generator.GenerateSwaggerCode plugins {    kotlin-dsl maven-publish`
id("com.myorg.service-conventions") version "+"
}
repositories {
gradlePluginPortal()
mavenCentral()
}
dependencies {
swaggerCodegen("com.myorg:my-swagger-generator:3.7.0-SNAPSHOT@jar")
}
swaggerSources {
register("swagger-test-plugin") {
// Need to save a reference of it here because the this scope changes below.
val validationTask = validation
    val yamlResourceDir = sourceSets.test.get().resources.srcDirs.first().path

    println("test using resource dir ${'$'}yamlResourceDir ")
    val yamlDir = "${'$'}yamlResourceDir/yaml"

    println("test yamlDir is ${'$'}yamlDir")
    setInputFile(file("${'$'}yamlDir/test.yaml"))

    code(delegateClosureOf<GenerateSwaggerCode> {
        language = "com.myorg.generator.swagger.MySpringCodegen"
        outputDir = file("build/generated")
        components = listOf("models")

        dependsOn(validationTask, tasks.named("build")
         , project.getTasksByName("my-swagger-generator:jar", true))
    })
}

}`
@bjconlan-fc  close this issue please if you don't need it open still. it works for me
or @int128 can you close this, trying to clean up..


Pagination not working with findBySql?

If i use find() it work like normal but when i'm using findBySql() for search page it not.
Look like offset doesn't work with findBySql, i have to set offset manually to query
What i'm missing?
$query = Model::findBySql("Select * from table");
$countQuery = clone $query;
$pages = new Pagination(['totalCount' => $countQuery->count(),'defaultPageSize' => 16]);
$anime = $query->offset($pages->offset)
	->limit($pages->limit)
	->all();
return $this->render('search', [
	'anime' => $anime,
	'pages' => $pages,
]);

$query = Model::find();
$countQuery = clone $query;
$pages = new Pagination(['totalCount' => $countQuery->count(),'defaultPageSize' => 16]);
$models= $query->offset($pages->offset)
	->limit($pages->limit)
	->all();
return $this->render('search', [
	'models' => $models,
	'pages' => $pages,
]);

This is known limitation of findBySql(). You may consider using SqlDataProvider.

Note that because the SQL statement is already specified, calling additional query modification methods (such as where(), order()) on the created yii\db\ActiveQuery instance will have no effect. However, calling with(), asArray() or indexBy() is still fine.

http://www.yiiframework.com/doc-2.0/yii-db-activerecord.html#findBySql()-detail
See: https://github.com/yiisoft/yii2/issues/12205


Feature Support array_concat function

Proposed changes
Issue Number: close #17307
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[X] Has document been added or modified
[ ] Does it need to update dependencies
[X] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run beut

run feut

This pr has conflicts, please rebase

This pr has conflicts, please rebase

done

run buildall


Gles2 tex target

Gles2 changes pulled out of
https://github.com/swaywm/wlroots/pull/724
to unbreak rendering GL_TEXTURE_EXTERNAL_OES. See individual commits for details.

Thanks!


MQM/ESA separate tutorials

A few points by @kocmitom that point to the tutorial having to be distinct between MQM and ESA:

Tutorial: Add information to each segment that the slider needs to be changed (for Roman, we decided to not precompute it as the severity levels are arbitrary and do not work for paragraph-level EN-DE)
MQM: tutorial mentions slider, but that one is not present, therefore the first item cannot be marked as done
MQM: tutorial doesn’t mention which error categories it should be (can you easily update it?). I will explain our vendor the MQM in more details

The result is that we'll have to have distinct batches for ESA and MQM because the tutorial is data.

For ESA:

For MQM:

I would mention in each ESA step "and move slider to X". Since they need to do two steps

I don't understand. What do you mean by "in each ESA step"? Are you suggesting to edit the instructions? How exactly?


Consider oauth2 or openIdConnect authentication over HTTP basic auth

Thank you for offering a new example for OpenAPI!
It is widely understood that APIs should avoid HTTP Basic Auth, which is inherently insecure.
I recommend revising the Museum OpenAPI example to use a more secure security scheme.

use oauth2 security scheme (with authorizationCode flow and  with specific read and write scopes -- scope names left to implementors)  or openIdConnect security scheme
change the default security requirement to be a reference to that security scheme (not basic auth) and use a read scope
operations that require write access should not use the default security, but use an explicit operation-level security requirement with write or other scope.

It would be nice if we mocked this too.


Feature/bump version

I discovered some things that we still did not support when bumping the version so I fixed these things in this PR as well.

We did not support that fields can't use the name default in Java.
We did not support to generate generic types that used more than 2 generic type parameters.

✅ Approved!


Site: cannot click on scroll bar on large screens in docs

Describe the bug
inside https://kit.svelte.dev/docs on a large screen the 'ON THIS PAGE' section seems to cause you to not be able to click on the scroll bar.

Reproduction
none
Logs
No response
System Info
windows 11
Chrome Versión 120.0.6099.109
Edge Versión 120.0.2210.61

Severity
serious, but I can work around it
Additional Information
No response

I'm able to reproduce this issue when the viewport is sized from 1201px - 1450px in width. From 1451px and greater the issue goes away.
I'm on Windows 11 and can reproduce on both Edge 120 and Brave 1.61.101

@Conduitry  From a screen width of >1200px the problem occurs, as mentioned @AdrianGonz97

Closing this since the website got remade


Have a look at SpeechBrain

From https://github.com/k2-fsa/snowfall/pull/173#issuecomment-833624666

BTW, someone should have a close look at SpeechBrain to see whether we might be able to use it with Lhotse and k2 as the base for Icefall (in that case we might not use the name Icefall).

Would be great if someone can do this.

I will spare some time for it.

Maybe I can have a try.  The most of codes in speechbrain are based on python and pytorch. So I think it's good for me.


[TS] Bug. When I used package version 5.3.0

Module '../addon/rule' has already exported a member named 'addon'. Consider explicitly re-exporting to resolve the ambiguity.
Maybe reason - https://github.com/streamich/nano-css/commit/23a1adeeb8f436b108644ee9fb1b2c83dc2265b4

@s-kobets Have you found a workaround (besides downgrading)? 🤔

🤔 Today, I don't see problem with this problem. Sorry, I will close issue.

Hm. Is there a chance you can share you TS config? I just updated today, after sitting on an old version for a long time, and encountered this very problem. So the issue is still relevant, I believe.

{
"compilerOptions": {
"module": "es2015",
"target": "esnext",
"lib": ["dom", "es6", "es7"],
"jsx": "react",
"declaration": true,
"esModuleInterop": true,
"skipLibCheck": true,
"strict": false,
"noEmit": false,
"sourceMap": true,
"importHelpers": false,
"noEmitHelpers": true,
"moduleResolution": "node",
"experimentalDecorators": true,
"resolveJsonModule": true,
"typeRoots": ["node_modules/@types"],
"plugins": [{ "name": "typescript-workspace-plugin" }]
},
"exclude": ["node_modules"]
}


Consistency between new write and materialized view

I learned about Noria from the TwoSigma talk and I find Noria extremely interesting and it can potentially for a great fit for my use case.
If I understand correctly, the materialized view (cache) is eventually consistent with the new writes but not atomically i.e. the re-calculation of the materialized view is being done async to the write operation (with the machine's best effort)? If this is the case, may I ask if every (transaction of) write operation will trigger a re-calc of the cache? Or the re-calc inside Noria actually has its own interval (if there is, how long?) to check if a re-calc is required i.e. doing it in its own pace - to avoid the "backlog" which can happen (e.g. peak-time) when the write operation is more frequent than the time it takes to do the re-calc of the materialized view?
I understand from another GitHub issue that Noria at the moment is still a research-prototype and probably not as mature as MySQL etc for a general production use case, but may I ask which subset of the system/feature is actually mature enough to use with production data? thank you very much!

take the following with a grain of salt, I'm not an author of this project :)
Yes the materialized view is eventually consistent. Every write is stored durably, then is propagated throughout the graph to inner and materialized views that depend on the new information. In the meantime, reads can access stale data - which is assumed to be fine for normal usage. Note as well that because we are working with partially materialized views (i.e. entries in the cache can be evicted to maintain a reasonable memory footprint), read queries to a view might require to launch upqueries to fetch information further up the graph - which I believe is done asynchronously.
The underlying storage of the cache uses evmap (which is the double hashmap discussed in the two-sigma presentation). As mentioned in the README:

Specifically, readers only see the operations that preceeded the last call to WriteHandle::refresh by a writer. This lets writers decide how stale they are willing to let reads get. They can refresh the map after every write to emulate a regular concurrent HashMap, or they can refresh only occasionally to reduce the synchronization overhead at the cost of stale reads.

For read-heavy workloads, the scheme used by this module is particularly useful. Writers can afford to refresh after every write, which provides up-to-date reads, and readers remain fast as they do not need to ever take locks.

From this description, I would tend to believe that Noria refreshes after every write, but I might very well be wrong about this. At least, we know that both usages are possible.
For more details, I would recommend reading the paper!

Hi! Jonathan's summary is essentially correct, though let me try to give a more direct answer to your question. The materialized views in Noria are not re-calculated in the same way that traditional systems that provide materialized views do. Specifically, we do not "refresh" the view at some fixed frequency, or when certain events happen. Instead, every update incrementally updates all dependent views, so the delay between a write and when it is visible should only be the (relatively short) time it takes for the write to go through the query operators and reach the view in question. You can essentially consider this the same as refreshing the view on every write, though in practice it's more efficient than this because a) writes are processed in batch, and b) the view is updated incrementally rather than fully re-executed.


Arguement Parsing , Valid File Check and Docstring added. Readme need…

Tested and Working.
Readme needs to be fixed

Could the .swp file in the root could be gitignored? Does it provide any useful info?

Nope.
It can be fixed when the readme is re written


Repository is again excluded from Hacktoberfest

@pandeydhruv2001 ,
I have contacted the Hacktoberfest Team regarding the issue and am waiting for their reply

You can also checkout our Idea-Arca, the project idea bank for any languages, for open-source contributions.
This repo is in hacktoberfest
Happy Contributing season!
Keep up the good work!


Mail plugin

Hello there, you have done an asthonishing work here, I really like the whole setup and the idea of this bar!
I have one request though, Is there a possibility for a mail indicator plugin on the bar?

You can just implement this as a user plugin.
The script for simple global inbox count:
osascript -l JavaScript -e '((x) => {x.checkForNewMail();return x.inbox().unreadCount()})(Application("Mail"))'

My personal script (unread count over all mailboxes except my gmail accounts archive ('All Mail') to avoid duplicates):
osascript -l JavaScript -e '((x) => {x.checkForNewMail();return x.accounts().flatMap(a => a.mailboxes()).filter(a => a.name() !== "All Mail").map(a => a.unreadCount()).reduce((a,b) => a+b, 0)})(Application('Mail'))'


Fixes bad link for instructions on how to build and run AppRTCDemo app

LGTM.

So when does it get deployed?

So when does it get deployed?

I've manually updated www.webrtc.org/native-code/android  — we're working on getting webrtc.org to point here.


Comment popup window jumps over tool menu

The text of the comments window pops up, sort of, over the top of the tool/block menu bar after clicking back on "?" to hide and re-display comments.
Initial entry:

1st Click on "?" to close: (BTW, seems related that comments do not show in arduino source code until  the block is moved around)

2nd click back on "?" to view comment:

Additional view and hide clicks respond the same as 2nd until the block is moved with the comment popup exposed then it works along with the comment now present in the arduino source code:

Once the comment is closed, it will again act the same way with the text top left of window until you drag the block, then, it does pop back in place.  However, when the comment is hidden, there is a brief blip of the text in the correct popup location before it fully closes.  Additionally, removal or changes of the comment do not update in arduino source code until the block is drug around.

Thanks for the detailed report! This was an odd one, and seemed to be a bug with chromium. So, I updated it to the latest version and I haven't been able to replicate again, so hopefully that should have fixed it.

It is no longer bouncing around on the screen, or leaving any artifacts, but it still does not update the arduino source code until I drag around the block.

Thanks for confirming.
The code generation is a different issue with how often the code is generated, I'll open a different issue for that one.


Fix S390 compile errors in gcm due to renamed defines

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

Sigh - this happened when I merged aria into the aes gcm code.. Forgot to rename the variable in s390.

Dupe of #9501


Please create docker container

So it's easy to use with script init containers for jobs

https://github.com/monzo/envoy-preflight/pull/11

any way we could get this for a few more distributions? Like Debian slim?


net: openthread: Use settings subsystem

OpenThread writing directly into flash to store its settings has been a recurring issue (#12944 or more recent #21780). This PR approaches to tackle this problem by replacing OpenThread's native settings implementation (which writes directly into flash), with a solution based on the Zephyr settings submodule.
Signed-off-by: Robert Lubos<EMAIL_ADDRESS>

@braiden You could give it a try as a solution for #21780

LGTM.
Using nRF52 Dongle with bootloader; I joined an existing thread network and confirmed settings were preserved after power cycle, and reset with ot factoryreset.
Thanks for quick work!

Thanks, fixed both nits.


ReferenceError: window is not defined

I use with Next.js and i got this error

This might be a problem with next.js since it is rendering the html in server side and it is not able to access window object. In this package I am using window. Anyway, I will try this in next.js and see what the issue is.

+1 using next js


ipBlock ingress rule selector is not working, while others (label based) are

Expected Behavior
I have a simple NetworkPolicy defined by k8s NetworkPolicy object:
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  namespace: test-netpol
  name: echo-netpol
spec:
  podSelector:
    matchLabels:
      app: piontec-echo
  policyTypes:
  - Ingress
  ingress:
  - from:
    - ipBlock:
        cidr: <IP_ADDRESS>/8
    ports:
    - protocol: TCP
      port: 8080

I expect this to generate calico policy, which allows traffic from <IP_ADDRESS>/8 prefix.
Current Behavior
The NetworkPolicy object above generates the following policy in calico:
# calicoctl get policies test-netpol.echo-netpol -o yaml
- apiVersion: v1
  kind: policy
  metadata:
    name: test-netpol.echo-netpol
  spec:
    egress:
    - action: allow
      destination: {}
      source: {}
    order: 1000
    selector: calico/k8s_ns == 'test-netpol' && app == 'piontec-echo'

which seems to be missing a whole "ingress" block in "spec".
Steps to Reproduce (for bugs)

Install kubernetes 1.8.5 with calico 1.5.0.
Create Network Policy object in k8s as above.
Please let me know how to provide more detailed debug info for you.

Your Environment

Calico version:

# calicoctl version
Client Version:    v1.5.0
Build date:        2017-08-29T04:02:07+0000
Git commit:        118b8ae1
Cluster Version:   v2.5.0
Cluster Type:      kubespray,bgp

Orchestrator version (e.g. kubernetes, mesos, rkt):

Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.1+coreos.0", GitCommit:"59359d9fdce74738ac9a672d2f31e9a346c5cece", GitTreeState:"clean", BuildDate:"2017-10-12T21:53:13Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"8+", GitVersion:"v1.8.5+coreos.0", GitCommit:"b8e596026feda7b97f4337b115d1a9a250afa8ac", GitTreeState:"clean", BuildDate:"2017-12-12T11:01:08Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}

Operating System and version:
Ubuntu 16.04.4 LTS with kernel 4.14.16-041416-generic

@piontec ipBlock and egress support weren't added to Calico until version v2.6.0: https://github.com/projectcalico/calico/releases/tag/v2.6.0

@caseydavenport Thanks for the info! Unfortunately - correct me if I'm wrong - I think this is not clearly stated nowhere in the docs. Maybe you could do a global "feature matrix" page, which will match features with versions where they have been introduced?

@caseydavenport retested with 2.6.8, everything works, sorry for false positives. Still, I think docs update would be nice.


3.0.0alpha15: crypto/bn/asm/rsaz-avx512.pl needs Perl 5.14

The new script crypto/bn/asm/rsaz-avx512.pl uses the non-distructive modifier "/r" for the substitution operator "s" in two places. This feature was introduced in Perl 5.14, but OpenSSL 3.0.0 is expected to compile using Perl 5.10. Two platforms which suffer from this problem are eg. RHEL 6 and SLES 11.
The following trivial fix seems to work for me:
--- crypto/bn/asm/rsaz-avx512.pl.orig   2021-04-22 16:33:53.140939443 +0200
+++ crypto/bn/asm/rsaz-avx512.pl        2021-04-22 18:13:28.777239513 +0200
@@ -128,7 +128,8 @@
 #                of data for corresponding AMM operation;
 # _b_offset    - offset in the |b| array pointing to the next qword digit;
 my ($_data_offset,$_b_offset,$_acc,$_R0,$_R0h,$_R1,$_R1h,$_R2,$_k0) = @_;
-my $_R0_xmm = $_R0 =~ s/%y/%x/r;
+my $_R0_xmm = $_R0;
+$_R0_xmm =~ s/%y/%x/;
 $code.=<<___;
     movq    $_b_offset($b_ptr), %r13             # b[i]

@@ -525,7 +526,8 @@
 my ($out,$red_tbl,$red_tbl_idx,$tbl_idx) = @_6_args_universal_ABI;

 my ($t0,$t1,$t2,$t3,$t4) = map("%ymm$_", (0..4));
-my $t4xmm = $t4 =~ s/%y/%x/r;
+my $t4xmm = $t4;
+$t4xmm =~ s/%y/%x/;
 my ($tmp0,$tmp1,$tmp2,$tmp3,$tmp4) = map("%ymm$_", (16..20));
 my ($cur_idx,$idx,$ones) = map("%ymm$_", (21..23));

Thanks and regards,
Rainer

I should have also mentioned the original error (recreated here with "perl -wc"):
Bareword found where operator expected at crypto/bn/asm/rsaz-avx512.pl line 131, near "s/%y/%x/r"
Unquoted string "r" may clash with future reserved word at crypto/bn/asm/rsaz-avx512.pl line 131.
Bareword found where operator expected at crypto/bn/asm/rsaz-avx512.pl line 528, near "s/%y/%x/r"
Unquoted string "r" may clash with future reserved word at crypto/bn/asm/rsaz-avx512.pl line 528.
syntax error at crypto/bn/asm/rsaz-avx512.pl line 131, near "s/%y/%x/r"
syntax error at crypto/bn/asm/rsaz-avx512.pl line 528, near "s/%y/%x/r"
crypto/bn/asm/rsaz-avx512.pl had compilation errors.

Would you like to open a PR with this fix?

Huh, I didn't notice that one...
In other places, we've done something like this, which is equivalent:
(my $_R0_xmm = $_R0) =~ s/%y/%x/;

If you could apply the trivial fix (I don't care which style) without me opening a PR, that would be great.

I think you can close this issue. It should be fixed by #15379. The underlying issue #15378 is a duplicate of this one here.

Closing as fixed on master.


split the TccServiceProxy

What happened:
Resource and branch registration occur simultaneously in TccServiceProxy, which needs to be split to accommodate RPC calls
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:

i will submit a pr.


Just curious - What exactly do you mean recycle?

I am just trying to understand what this does..

It deposits all your DAI, USDC, USDT, TUSD and yCRV into the Yearn.finance yVault (also calld yUSD) in one transaction.
Otherwise you would have to:

Deposit DAI (or other stablecoins) into the Curve.fi y pool here, which gives you yCRV tokens.
Deposit the yCRV tokens into the yUSD Vault here

Both are relatively expensive (read: gas intensive) operations. By batching both, you save time as well as gas.
Still, it remains a rather expensive operation: ca. $0.45 per Gwei, or $45 at 100 Gwei.
Why it is called a recycler? I am not 100% sure. Maybe because it bundles your scraps (standard stablecoins and yCRV) into something more useful.

I'm interested in using this. I have 1000 USDC to invest. Are you essentially saying that including permission fee, I could expect to pay a roughly $234 gas price for that 90% yield with gwei prices at 476?

Yes, current gas prices are making it quite prohibitive.
Alternatively, you could add your USDC to the USDC Vault on https://yearn.finance/vaults for ~25% APY. This costs about $30 to deposit at 400 Gwei.
Or, swap the USDC to DAI, and enter the DAI Vault on https://yearn.finance/vaults for ~65% APY. The deposit should be quite comparible in tx fee.

So that is like $0.08 per gwei on Dai vault vs $0.45 per gwei on Y vault? Yields looks similar enough for me to look at Dai option. I wonder if this could be a way to deposit tokenized bitcoin in the future because I know I'll want to do that.


fix(Documentation): add missing documentation

The docs were not auto generated for the new velocity tracker and length axis multiplier, they have now been generated.

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

npm package (@latest dist-tag)
v2.3.2
GitHub release

Your semantic-release bot :package::rocket:


How to deactivate before today?

I'd like to know if it is possible to deactivate all days before today?

I don't know if it is open for other, if so I will post the solution to someone else might have same question:
//This set the enddate
final Calendar nextYear = Calendar.getInstance();
nextYear.add(Calendar.YEAR, 10);
//This set the start date
final Calendar lastYear = Calendar.getInstance();
    calendar.init(lastYear.getTime(), nextYear.getTime(), new SimpleDateFormat("MMM, YYYY", Locale.getDefault())) //
            .inMode(CalendarPickerView.SelectionMode.RANGE) //
            .withSelectedDate(new Date());


New API fails:  Attempted to assign to readonly property.

I installed with:
$ composer create-project -sdev zfcampus/zf-apigility-skeleton . 1.1.1
$ php public/index.php development enable

I then loaded up the admin page in my browser and clicked 'New API'.  The modal popped-up and I entered a name and clicked 'Create'.  A success 'API was created' message showed, but nothing else happened.  The console shows a javascript error in a resolve handler:

I cannot reproduce locally following the same steps. :-/

Ok, it was a file permissions issue.  I see the note in the 'Getting Started' docs, but I never saw a warning dialog.


Crash iOS: dyld: Library not loaded

Hi all,
on iOS 9.3 there is a start error:
dyld: Library not loaded: @rpath/Braintree3DSecure.framework/Braintree3DSecure
Referenced from: /var/containers/Bundle/Application/BE616B00-B06A-4D88-84BB-FFEB9EE27422/XX.app/XX
Reason: image not found
(lldb)
This error appear after
cordova plugin add https://github.com/taracque/cordova-plugin-braintree
Then, on remove this plugin all run correctly.
Any idea?
Luca

Can you please check your XCode project, that you have the Braintree3DSecure.framework in Build Phases and Code Sign On Copy is checked?

Probably you didn't removed the ios platform before plugin installation. Try to use the following to install the plugin:
    cordova platform remove ios
    cordova plugin add https://github.com/taracque/cordova-plugin-braintree
    cordova platform add ios

I followed the instructions. Now I did it again and it seems to work.
I can not explain it now works.
Thanks for your replay


Added DISM command and button to tool

This request adds a button into the config(tab 3)/fixes section to run the DISM command in a new elevated PowerShell window. The window then will remain open until the user press enter.
Tested in:
[x] Windows 10
[ ] Windows 11
DISM seems to be a little better than SFC /scannow

It might be better to have a 'Scan for Corruption' button instead that runs Chkdsk, SFC /scanow, DISM, then SFC /scannow again as that is the best way to catch everything

Good one!. I have added that in the commit above.


Implement parallel execution of sub-queries for hybrid search

Description
Add new thread pool to schedule tasks that are related to hybrid query execution
Register executor builders with Plugin
Use Lucene's Task Executor to execute and collect results
Parallelize Query re-write
Parallelize score supplier creation
Issues Resolved
#279
Check List

[x] New functionality includes testing.

[x] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Commits are signed as per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Client ( large dataset )

1 Search Client ( opensearch-py )
10K Queries

Query Count
Vector Count
Max segments
No of Vector Search Query
No of Term Query
No of Sub-queries
Parallelization enabled
K
size
P50 ( client time in ms )
P90 (  client time in ms )
P99 ( client time in ms )
P50 Took Time (ms)
P50 Took Time Boost
P90 Took Time (ms)
P90 Took Time Boost
P99 Took Time (ms)
P99 Took Time Boost
Max CPU

10K
1M
10
1
1
2
Yes
100
100
123
149
198
31
22.50%
38
25%
45
23%
4%

10K
1M
10
1
1
2
No
100
100
158
176
215
40
baseline
51
baseline
59
baseline
2.50%

10K
1M
1
1
1
2
Yes
100
100
99
118
172
6
25%
7
22%
8
20%
1%

10K
1M
1
1
1
2
No
100
100
127
145
191
8
baseline
9
baseline
10
baseline
1%

Client Configuration ( large dataset )

15 Search clients
10K Queries each

Query Count
Vector Count
Max segments
Number of search clients
No of Vector Search Query
No of Term Query
No of Sub-queries
Parallelization enabled
K
size
P50 ( client time in ms )
P90 (  client time in ms )
P99 ( client time in ms )
P50 Took Time (ms)
P50 Took Time Boost
P90 Took Time (ms)
P90 Took Time Boost
P99 Took Time (ms)
P99 Took Time Boost
Max CPU

150K
1M
10
15
1
1
2
Yes
100
100
123
149
198
33
26%
41
28%
49
28%
22%

150K
1M
10
15
1
1
2
No
100
100
158
176
215
45
baseline
57
baseline
69
baseline
17.50%

150K
1M
1
15
1
1
2
Yes
100
100

6
25%
8
27%
9
18%
5%

150K
1M
1
15
1
1
2
No
100
100

8
baseline
11
baseline
11
baseline
3%


tour: [Starting go]

Context: https://tour.golang.org/welcome/1
Change the title above to describe your issue and add your feedback here, including code if necessary

Empty issue, closing.


Support for Visual Studio 2019

Make ASP.NET Core Blazor Language Services available for VS 2019.

Any news?

Just for reference: https://blogs.msdn.microsoft.com/webdev/2019/01/29/aspnet-core-3-preview-2/

I've tried on VS 2019 Preview 2.1 with .Net Core 3.0 preview 2 SDK installed, but still, my Blazor app does work. Any extensions I need to install or changes I need to do to my project?

Same:

This is not currently supported. You can try temporarily moving your project to a prerelease feed, like here: https://github.com/dotnet-presentations/blazor-workshop/pull/47/commits/df702048edddc586bce6ad389b220b27ca8bfeac

@chucker thanks, works fine.

I'm a little confused; This is marked as done, But the VSIX/Intellisense doesn't seem to be supported yet. Is that intentional?

I'm a little confused; This is marked as done, But the VSIX/Intellisense doesn't seem to be supported yet. Is that intentional?

Me too, I have VS 2019 Community RTM installed and both intellisense and debugging don't work properly. Building and running works fine.

For ASP.NET Core 3.0 Preview 4 and newer, you need Visual Studio 2019 16.1 Preview.

For ASP.NET Core 3.0 Preview 4 and newer, you need Visual Studio 2019 16.1 Preview. 16.0 will work for building, but not for IntelliSense, etc.

Oh wow, thanks. That was just what was missing!

I have Visual Studio 2019 for Mac.
I created a blazor hosted through the cli 2 days ago and it worked fine.
Now I'm performing the same steps but the new app is not building.
The build error description is" rzc generate exited with code 1." in file RazorCompilation.targets.
I'm not sure how to solve this.

I created a blazor hosted through the cli 2 days ago and it worked fine.

Have you updated your .NET Core 3.0 SDK to preview 8?

I have.  Now I'm worse off.
I'm running Visual Studio for Mac 8.2.3 (build 16).
.Net 3.0.100-preview8-013656
I have updated templates.  From the cli the option for blazorhosted  does not appear.  instead, blazorwasm seems to have replaced it.  I create a project, I build it and get no errors.
However, when I run it without any modifications, it just does not do anything, it does not even give an error message.
I'm attaching the Package console view.


cursorWordPartLeftSelect and cursorWordPartRightSelect should not include underscore when selecting

VSCode Version: Version: 1.31.0 (system setup)
Commit: 7c66f58312b48ed8ca4e387ebd9ffe9605332caa
Date: 2019-02-05T22:35:56.624Z
Electron: 3.1.2
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.10586
OS Version: Windows 10 Pro

Steps to Reproduce:
Let's say we have a word snake_case,
when using this feature it should not include the underscore
Does this issue occur when all extensions are disabled?: Yes

Duplicates #68043


Autorest respect clientName in more places

fix #442
@clientName is respected for:

definition names
enum values names
parameters names(for body it replace the name for other it adds x-ms-client-name)

Doing this now as this will help getting rid of some use of @extension
This makes this doc accurate now https://azure.github.io/typespec-azure/docs/next/migrate-swagger/faq/breakingchange#createorupdate-put-apis as well

You can try these changes here

🛝 Playground
🌐 Website
📚 Next docs


Inconsistent tone when selecting "Stay true to my color inputs"

When selecting the option to stay true to color input, the Primary color does not come out as P-40 in the color system anymore, nor is it the same as the input color. The color I tested (#0646D1), which has a tone of 36, resulted in an output Primary color with a tone of 27. The Secondary color maintained a tone of 40 as advertised, and the Tertiary color seemed to match the tone chosen for the Primary color at 27. Error color is maintained at 40.
I thought one of the main advantages of using this system was to be able to maintain similar tone levels across colors to make other things easier such as ensuring accessibility. The tone consistency between primary, secondary, tertiary, and error is maintained when "Stay true to my color inputs" is disabled.
Why this inconsistency in tone when this is option enabled, and why the seemingly arbitrary tone shift from the input color (i.e., going from 36 to 27)?

You mean you thought turn on "stay true to color input" this option, the Primary color's hue chroma as will same with input color, but tone is still at 40?

The hue stayed the same. But the chroma and tone changed even when I selected "stay true to color input". However, the output Primary color still says "P-40" (meaning Tone of 40; see attached), which is incorrect. To be precise, the input color HCT was H:275, C:69, T:36; and the output color HCT was H:275, C:60, T:27.
My confusion can be broken down into three related questions:

Why did it change the Primary color even though I selected "stay true to color input"?
Regarding the change it made to the Primary color, why did it decide to reduce Chroma by 9, and Tone by 9?
Why does it advertise as P-40 for the Primary, Secondary, and Tertiary colors, when in reality the Tone of the Primary (and Tertiary) colors are not really 40?

About always show "P-40" in primary, it might be they forgot to let this label update when color changing.

for the question 1&2, maybe this is answer
https://m3.material.io/styles/color/advanced/adjust-existing-colors#cb49eeb4-3bbd-4521-9612-0856c27f91ef

for the question 1&2, maybe this is answer https://m3.material.io/styles/color/advanced/adjust-existing-colors#cb49eeb4-3bbd-4521-9612-0856c27f91ef

Yes, I looked at this, but based on what it says, if you toggle the “match color” option on, then it should disable fidelity and match the color. The issue I described above was with this option toggled on, and it is still occurring. I think you may be right that they forgot to update the label when color changing, however I am curious how the formula works if they are making a change and why they are making the change.

Isn't this more of a material-theme-builder question then a material-color-util question?

The hue stayed the same. But the chroma and tone changed even when I selected "stay true to color input". However, the output Primary color still says "P-40" (meaning Tone of 40; see attached), which is incorrect. To be precise, the input color HCT was H:275, C:69, T:36; and the output color HCT was H:275, C:60, T:27.
My confusion can be broken down into three related questions:

Why did it change the Primary color even though I selected "stay true to color input"?
Regarding the change it made to the Primary color, why did it decide to reduce Chroma by 9, and Tone by 9?
Why does it advertise as P-40 for the Primary, Secondary, and Tertiary colors, when in reality the Tone of the Primary (and Tertiary) colors are not really 40?

I am running into the same issue. @Harm-Nullix this package is used winin the material-theme-builder if i am not mistaken. Thats how i ended up here


Add utf8 charset when exporting file to HTML.

Currently there is no support for languages other than English. So I suggest adding <meta charset="utf8"> in the head element when exporting. As far as I saw, the head element is empty.

@tniessen is right on this one. I don't really intend to change the export format to a document either, but prefer the block of html that is exported at the moment.


Dialyzer complains on ~>>

Hello,
The following snipplet
defmodule Test do
  import OK, only: ["~>>": 2]

  defp check1(value) do
    cond do
      value > 5 -> {:ok, value}
      true -> {:error, "abc"}
    end
  end

  defp check2(value) do
    cond do
      value > 7 -> {:ok, value}
      true -> {:error, "def"}
    end
  end

  @spec hello(integer) :: {:ok, integer} | {:error, String.t}
  def hello(v) do
    {:ok, v}
    ~>> check1
    ~>> check2
  end
end

Complains with
lib/test.ex:21: The pattern {'error', _@2} can never match the type {'ok',_}

any ideas how to manage that. The code looks correct.

Dialyzer is right here. {:ok, v} is not of type {:ok, any()} | {:error, any()} it's only the first half.

what about when
  def hello(v) do
    v
    |> check1
    ~>> check2
  end

Pefect! That works, thank you!


feat: Create community section

Demo: https://madjin.github.io/eliza/
Cleaned up docs, removed old pages, moved community section to new tab
It also contains summarized notes from discord chat logs

also adding page for github contributors

Other than the comment above I think this looks great and is a very good addition to the docs. Just make sure that above change to your fork is intentional, but it seems like a mistake.
It is a lot. Which makes me wonder if we may want to have these docs in a separate repo at some point in the near future. Thinking perhaps we'd keep the docs here focused on eliza the tech, and have more of the community-type docs in another repo - this would complicate things though... so maybe not.

I think a good defense for keeping docs here is that we're autogenerating the API docs with the markdown-typedoc plugin. That and if we do a good job with docs, people can use tools like https://github.com/raphaelmansuy/code2prompt to ingest docs to give enough context for a LLM to help them solve issues or create new features all in the same repo.

I agree, let's keep docs in for now. What we can do is also make an auto docs branch that builds docs separately so we don't need to commit the changes to generated docs


crontab improvement

[ ] Bypass crontab 24 days limit
If making a virtual crontab method to renew the crontab, it should work.

[ ] do not call cron_parse_expr every time run crontab task

cron_parse_expr("8 */2 15-16 29 2 *", &expr, &err);  take less time than access from j.get<std::vector<uint8_t>>().data()
So give up.


Bump cleanup job

Description
Changes proposed in this pull request:

bump cleanup job

Related issue(s)

No need to bump the ver. from v20230621-89009079 to v20230614-bcb66b55. Security scan for v20230621-89009079 ver. didn't show any vulnerabilities.


Problem with curl_json Template

If I use the curl_json plugin the keys list is not ordered and changed every time the puppet client calls for an update.
Example:
  collectd::plugin::curl_json {
    'zend_opcache':
      url => 'http://localhost/zend.php',
      instance => 'zend_opcache',
      keys => {
        'memory_reserved' => {'type' => 'bytes'},
        'memory_used'     => {'type' => 'bytes'},
        'memory_free'     => {'type' => 'bytes'},
        'memory_wasted'   => {'type' => 'bytes'},
        'cached_scripts'  => {'type' => 'gauge'},
        'cached_hitrate'  => {'type' => 'gauge'},
      }
  }

To solve the problem you have to add sort to the erb Template curl_json.conf.erb
-  <% @keys.each do |key,keydata| %>
+ <% @keys.sort.each do |key,keydata| %>

fixed with #342