near_bindgen methods with no self check for attached deposit

Methods like this will add the codegen assumed when a contract mutates state. A slightly strange pattern we have that defaults to checking this only when the parameter is &mut self even though in any function there can be state changes not tied to the contract state.
Tying the check for attached deposit to whether or not contract state changes is a strange pattern IMO but the band-aid fix is to just remove this check when contract state isn't used. This needs to be done so that these methods can be called with a view operation, otherwise, the runtime will fail when trying to call env::attached_deposit from within a view call.
#[near_bindgen]
pub struct SomeContract;

#[near_bindgen]
impl SomeContract {
    pub fn get_val(s: &String) -> Option<u8>

    { // ... }

// ...

Test for this looks like:
#[test]
fn no_self_no_args() {
    let impl_type: Type = syn::parse_str("Hello").unwrap();
    let mut method: ImplItemMethod = syn::parse_str("pub fn method() { }").unwrap();
    let method_info = ImplItemMethodInfo::new(&mut method, impl_type).unwrap();
    let actual = method_info.method_wrapper();
    let expected = quote!(
       #[cfg(target_arch = "wasm32")]
       #[no_mangle]
       pub extern "C" fn method()

       { near_sdk::env::setup_panic_hook(); Hello::method(); }

     );
    assert_eq!(expected.to_string(), actual.to_string());
}

which is currently failing because it adds the extra check

Just to be clear, codegen having a check for the attached deposit is a side effect of such functions being identified as call functions.
Also, the markdown is all messed up again, curse you exalate

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I have 4 years working in development environments, have encountered several challenges, requests and teams focusing in reusable and efficient code, so that gives me a better understanding of the code and how to solve problems efficiently.
How I plan on tackling this issue
My approach here would be adding checks for env::attached_deposit in NEAR contract methods, the solution involves refining the code generation logic to more accurately distinguish between view methods and state-changing methods.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I'm developer working around blockchain

I’d like to help with this.


Move Adoptium Github Wiki brand-related to https://adoptium.net/docs/

Is your feature request related to a problem? Please describe.
The final goal is to deprecate all marketing and brand-related information currently available at the GitHub Adoptium wiki  https://github.com/adoptium/adoptium/wiki and move  this information to Adoptium.net documentation, the best approach will be creating a new section and move the logo information from "others"
Describe the solution you'd like
Have a new section under https://adoptium.net/docs/ for all brand-related and marketing criteria information.
Pending to define the title.
Under this section, migrate all the content currently available in these wiki pages:

https://github.com/adoptium/adoptium/wiki/Adoptium-Color-Schema-and-Fonts
https://github.com/adoptium/adoptium/wiki/Adoptium-Project-Logos For this page, there is an open issue pending to add Mission control logo at Adoptium Logo page https://adoptium.net/docs/logo-styleguide/ https://github.com/adoptium/adoptium.net/issues/1574
Once migrated, deprecate the wiki page and add the information that this will be redirected to the new documentation section.

And include the new brand guide: https://drive.google.com/file/d/1RvpspXOQe6PcHVGVuQMZ9IF4BJCcYp0Q/view?usp=share_link

and the new slide template: https://docs.google.com/presentation/d/1ChGhqZrAHCdk5S2Ii5s5RROng1saTaTtjZzsxWJ_MPA/edit?usp=share_link

Hey! @hendrikebbers @gdams
Am working on this issue and I dont know if I could get permission to access the google docs @CarmenDelgadoEclipse shared to be added

regarding the new slide template I do not know if we now have a final version. If yes, @CarmenDelgadoEclipse can share the final link

Here the final slide temaplte link:https://docs.google.com/presentation/d/1ChGhqZrAHCdk5S2Ii5s5RROng1saTaTtjZzsxWJ_MPA/edit?usp=sharing

@Ndacyayisenga-droid thanks for helping with this issue.
Where is the Brandguiline allocated now?

To close this ticket, we should deprecate this page: https://github.com/adoptium/adoptium/wiki/Adoptium-Project-Logos and redirect to the website :)
cc: @hendrikebbers @karianna

I was in sync with @CarmenDelgadoEclipse a while a go, and she suggested that we would add  brand in https://adoptium.net/en-GB/docs/ where it would be the brand page under other resources. If that sounds good, I would send a PR for that.
cc @hendrikebbers @gdams @karianna

It is totally fine for me to create a section for all that content. I do not know if I like "brand" as a category but do not have any better suggestion.

It is totally fine for me to create a section for all that content. I do not know if I like "brand" as a category but do not have any better suggestions.

Marketing criteria (a new documentation page following this document: https://docs.google.com/document/d/1T2_h4SSX9Ird8xNnEl-88BpR55yBaZqBxaLfq3O1d_c/edit?usp=sharing)

@gdams, to fully close  this issue, we need someone with the right access to deprecate both wikis:

https://github.com/adoptium/adoptium/wiki/Adoptium-Color-Schema-and-Fonts
https://github.com/adoptium/adoptium/wiki/Adoptium-Project-Logos

Thank you!

@gdams, to fully close this issue, we need someone with the right access to deprecate both wikis:

https://github.com/adoptium/adoptium/wiki/Adoptium-Color-Schema-and-Fonts
https://github.com/adoptium/adoptium/wiki/Adoptium-Project-Logos

Thank you!

done


Editor freezes while compiling

Start a sufficiently large F# project.
Start editing.
Start a xbuild session in the background, compiling the solution.
Watch the editing capabilities of VSCode freeze; you can't navigate with h, j, k, l or change text or do anything until the compilation is done. Sometimes the cursor agrees to a single action, like writing a character.
The debug output doesn't contain any information about the freeze (nothing is printed meanwhile)

Do you start xbuild using Ionide (MsBuild commands) ?
I don't see how this is Ionide issue, we're not responsible for navigation or text editing... maybe xbuild is using 100% CPU or something weird happens?

No, I run it in the background/a terminal.
The 8 cores are not close to saturated.
I don't see how it can be anything but, since it only happens when F# is being compiled. Why would not other type of compiler trigger the same problems?

Can you try reproducing behavior with Ionide disabled?

Yes, I just tried. The editor is really smooth when disabling ionide-fsharp and doesn't freeze.

re: the msbuild integration - it actually doesn't work on non-Windows ATM, which should be addressed in #390.

I can share a screen if that helps?

I've created a bug report in the main repo https://github.com/Microsoft/vscode/issues/25183 because it's not necessarily this issue.

I've only ever seen this in the F# extension of vscode. Any pointers on how it can be debugged?

This is displayed in the log

Can you please try 2.25.13 ? I think I found one place with crazy CPU leak [file watcher watching on any file change in opened workspace] which I think could cause this problem.
(But don't expect much, it's kind of blind shot ;) )


[Bug]: For select widget default selected value, Label doesn't evaluate numbers

Is there an existing issue for this?

[X] I have searched the existing issues

Description
For select widget default selected value, Label doesn't evaluate numbers
Either we should start accepting numbers or throw proper error message .Current error message states label: num|string
Steps To Reproduce

Dnd a select widget
add label and value in the default selected value and label == Number

Public Sample App
No response
Issue video log
No response
Version
Production

@kamakshibhat-appsmith the value doesn't have a closing quote and the label is a number instead of a string. Seems like an incorrect configuration

@Nikhil-Nandagopal Updates screenshot (with closing quote in Value)

I was checking some personal use cases where label was a number and came across this . Though , we donot have any sort of validation check based on label at the moment for default value. But if user has a use case and has entered label=number as a part of consistency, then we might run into this issue.
Still an open discussion

@kamakshibhat-appsmith but label has to be a string. I think that is the agreed upon format for this property


Support @id in Models

Fixes #33.
Adds support for keeping a given @id when creating and loading entities.

Codecov Report

Merging #66 into master will decrease coverage by -0.39%.
The diff coverage is 83.33%.

@@            Coverage Diff             @@
##           master      #66      +/-   ##
==========================================
- Coverage    95.1%   94.72%   -0.39%
==========================================
  Files          11       11
  Lines         429      436       +7
==========================================
+ Hits          408      413       +5
- Misses         21       23       +2

Impacted Files
Coverage Δ

coalaip/entities.py
96.52% <100%> (-0.06%)
:x:

coalaip/models.py
95.4% <81.81%> (-2.04%)
:x:

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 eb33978...60a5c7a. Read the comment docs.


Create Developer Guides for the Library and CLI

This issue is to create a:

[ ] Developer Guide for the Library
[ ] Developer Guide for the CLI

Each one should contain steps / make commands on how to:

install dependencies
compile and run locally
run the linter
run unit/integration tests e.g. flux, eksctl

Examples:

eksctl
helm

@nikimanoledaki : Priority-wise, I would like to move this back to "New", and rather focus on things related to endusers of the OCM (like creating more / better examples and guides for the OCM usage itself). Meaning I suggest we focus on adoption of OCM rather than getting other developers involved (which seems the focus of this issue here). WDYT ?

@nikimanoledaki, @jensh007, @mandelsoft : Now that the enduser docu is in a much better shape, we have to start working on the developer documentation. Already now teams are starting to work with the go libraries (and trying to integrate them into other codebases in order to work with component descriptors), but are having a very hard time doing so.
The reason is not necessarily missing documentation about how to set up a suitable dev environment, but a missing architectural documentation of the libraries, and how they work, what the main parts are, how they are structured and so on. So I believe we have to give this topic here high priority, if we want to get more developers on board.

Updated description of this issue, classified it as epic, moved to Backlog.

In favour of two separate tasks we have now on the backlog (https://github.com/open-component-model/ocm/issues/186 and https://github.com/open-component-model/ocm/issues/392), I'd close this one.


#201 - Initial proposal with static OutputImpl factory

Next commit for the plugin version

Build would be failed so far, while magpie-api is not merged

Assigned to @kickroot to review

As discussed with @kickroot we will decouple producer and consumer side of ScanResults by serializing payloads to json, and forcing consumers (output-plugin) to deserialize payload as per their needs and required contract

Leftovers:

minor refactoring. Proper shutdown
config processing for output plugins
csv output enabling

All leftovers has been resolved. PR is ready for review @kickroot


How about let sideOffset in DropDown using string?

Feature request
Overview
When we using <DropdownMenu.Content sideOffset={12}>, the sideOffset can only be a number. But we want to using rem but not only using px.
After reading source... I cannot find where to parse sideOffset, I have no idea how to change it...

Hi @PeterlitsZo,
It's all in the popper implementation and all the calculations are pixel based so trying to use rem would never work.
This is why the type is number, because they have to be pixel values.
I will close the issue but feel free to keep discussing.

You can create a utility to calculate the correct pixel value for this prop based on your projects root font-size.
const rem = (rootSize) => {
  return (rem) => rem * rootSize;
}

export default rem(16);

import rem from './rem'

export default () => {
  <DropdownMenu.Root>
    <DropdownMenu.Trigger>Open</DropdownMenu.Trigger>
    <DropdownMenu.Content sideOffset={rem(2)}>
      <DropdownMenu.Item>Item</DropdownMenu.Item>
      <DropdownMenu.Item>Item</DropdownMenu.Item>
    </DropdownMenu.Content>
  <DropdownMenu.Root>
}

Thanks.


Change component name to match the release plan component name

Thank you for finding the naming issue. Per our discussion, we will rename the component via the konflux ui


hostname does not affect dhclient

I think device-init is running too late in the boot process.
After configuring the network  stack and after starting avahi-daemon.service.
connects to #4

Fixed with fda11e97887.


[Emulation Tuning] Adjusts Add Admin Roles to User(s) emulation

Overview
This pull request adjusts the emulation Add Admin Roles to User(s). Previously, this emulation served as a hello world for examples of running emulations. This emulation is now fully operational.
Emulation workflow

create a user in google workspace
dynamically generate a 12 character password for user
get a list of pre-built administrator roles from Google Workspace
for every admin role, assign it to the new user
delete the created user

Additional Information

updated base_emulation.py to set self.domain from the etc/config.yaml value. This is important when dealing with the admin SDK API regarding users, groups, role's etc. If the user has not set this domain, emulations will not run as assumptions are made in emulations when dealing with users.
this emulation requires a config admin_add_admin_roles_to_users.yaml which includes all the information for the user being added
priority wise, the emulation sets user information based on arguments -> config -> default (dynamic)
if an existing user exists, then roles are added to this user
cleanup is optional but included
required ['admin.directory.user', 'admin.directory.rolemanagement', 'admin.directory.user.security'] roles to operate therefore the default session referenced needs to accept this. These scopes were added to the config.yaml for SWAT to be globally set within the application since this is an OOTB emulation
while doing this emulation, I noticed that the emulations should include descriptions and references if applicable. This will be good for users who may want to read Google Workspace documentation, 3rd-party blogs, or understand what the emulation is attempting to accomplish

Are you generating an alert or some event data to validate that the emulation works as expected, or do you have a screenshot to show that the automation works?

Are you generating an alert or some event data to validate that the emulation works as expected, or do you have a screenshot to show that the automation works?

@Mikaayenson For sure. The audit command allows us to pull logs from Google Workspace and output to console in a tabular format.
Command: audit admin 24h --export --export-format=csv
Results: admin_24h.csv
Command: audit admin 24h --interactive
Results: Below

In the screenshot above, you will see a user<EMAIL_ADDRESS>created, followed by admin roles being assigned before the cleanup method removes the user, which is the USER_LICENSE_REVOKE event name. Happy to do a demo as well to make sure we thoroughly review.


build fail of base/mutex.h, FreeBSD

version: mozc-0.13.464.102
target file: base/mutex.h
category: build fail
OS: FreeBSD 9-CURRENT / 8.1-RELEASE
CC: gcc 4.2.1 (FreeBSD default compiler)

FreeBSD needs to define follow line as the same as OSX:

#define PTHREAD_MUTEX_RECURSIVE_VALUE PTHREAD_MUTEX_RECURSIVE

follow line leads build fail.

#define PTHREAD_MUTEX_RECURSIVE_VALUE PTHREAD_MUTEX_RECURSIVE_NP

Please fix that. thanks

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 20 Sep 2010 at 3:01

4b579a914bc04be38c2cba707c1a99d232bef618 removed base/mutex.h and migrated to Abseil.


feat: H1009-Payment create and payment authorize for bambora

Type of Change

[x] New feature
[ ] Enhancement
[ ] Refactoring
[ ] Dependency updates

Description
Added Bombora Connector
Integrated Payment Create and Payment Retrive for Bambora
Additional Changes

[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?

Checklist

[ ] I formatted the code cargo +nightly fmt --all
[ ] I addressed lints thrown by cargo clippy
[ ] I reviewed submitted code
[ ] I added unit tests for my changes where possible
[ ] I added a CHANGELOG entry if applicable

Thanks for the contribution @Adien7368  , We are merging the changes from different participant as it has more flows implemented. You can still continue your contributions on the open issues.

Thanks for the contribution @Adien7368  , We are merging the changes from different participant as it has more flows implemented. You can still continue your contributions on the open issues.

Thanks for the contribution @Adien7368 , We are merging the changes from different participant as it has more flows implemented. You can still continue your contributions on the open issues.


Adding integer scaling ability

Do you consider to continue the development of this application maybe adding the integer scaling possibility?
https://github.com/Marat-Tanalin/integer-scaling

It's mainly in maintenance mode. I've added similar functionality (with aspect ratio correction like the tool you refer to) to my IGCS camera system some time ago so people don't need a separate tool anymore.


Don't use the deprecated gov style

Currently in .golangci.yml we exclude issues with staticcheck that contain simtypes because we're still converting governance types from the 45 style.
We'd want to:

use only the 47 gov message style
remove the exclusion of simtypes in .golangci.yml

TODO: fix the use of deprecated gov style, that'll remove the exclusion of "simtypes" in .golangci.yml

There's also a viable #wontfix option here, I reckon.

closing in favor of #1246 and moving in notes about .golangci.yml


ProposalType Scope Validation

Closes #4

One thing to note, is that we assume that only one proposal type has no scopes assigned to it. When configuring new types in production we should ensure that this remains the case since performing a hard check on each creation is rather expensive.


Creating an instance gives cannot exec in a stopped state: unknown error

Describe the situation
Summary: Creating an instance gives cannot exec in a stopped state: unknown error
Description: This isn't fully documented anywhere, but installing everything from the beginning does not solve the issue.
Screenshots:

Steps to reproduce the issue (if applicable):

Installing dependencies with this:

apt-get update
apt-get upgrade -y
for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg -y; done
apt-get install ca-certificates curl -y
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
chmod a+r /etc/apt/keyrings/docker.asc
echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
  $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin -y
DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker}
mkdir -p $DOCKER_CONFIG/cli-plugins
curl -SL https://github.com/docker/compose/releases/download/v2.29.1/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose
chmod +x $DOCKER_CONFIG/cli-plugins/docker-compose
curl -fsL https://raw.githubusercontent.com/CanastaWiki/Canasta-CLI/main/install.sh | bash

Run canasta create -i <ANYTHINGUWANT> -n <DOMAIN> -w <WIKINAME> -a admin -o compose
Enter the wiki sysop's password as required
Wait for almost 3 minutes and still get the error above

Expected behavior
Canasta should be ready with no issue at all and ready to be served to users, accessing the specified domain direct you to the wiki's main page
System info
Please complete the following information:

MediaWiki version: N O N E (not fully installed)
Canasta CLI version: 13b43d8 (a.k.a LATEST)
Installed extensions and versions: N O N E (not fully installed)
Host operating system: Ubuntu 22.04 LTS
Do you have sudo/root permissions on the host OS? - Yes (ssh-ed with root)

Sanity checks

Have you checked the documentation on canasta.wiki for how to address this? Yes
Have you checked prior issues on GitHub yet? Yes
Are you following all Canasta approaches and have avoided doing things such as running docker exec directly on the container, removing the Caddy/Varnish containers, adding unauthorized files to the Docker container after startup, etc.? Yes

uh... @yaronkoren?
running docker logs on the problematic container shows that:
+ . /functions.sh
+ mountpoint -q -- /mediawiki
Folder /mediawiki contains important data and must be mounted to persistent storage!
+ echo 'Folder /mediawiki contains important data and must be mounted to persistent storage!'
+ isTrue ''
+ case $1 in
+ return 1
+ exit 1

(and it was sudo-ed)

Sanity check update: After starting up my Canasta repo for the first time, I am getting a "Error 503 Backend fetch failed / Guru Meditation" error. was found in the documentation, but the error by itself is not relevant to the main issue

I ran a docker pull on my canasta instance today to update to latest. I'm using 22.04 also and am seeing the same errors in my container logs. I think this is a bug?

I ran a docker pull on my canasta instance today to update to latest. I'm using Ubuntu 22.04 also and am seeing the same errors in my container logs. I think this is a bug?

what version have you use before this happened?

I ran a docker pull on my canasta instance today to update to latest. I'm using Ubuntu 22.04 also and am seeing the same errors in my container logs. I think this is a bug?

what version have you use before this happened?

How do I determine this? (I have rolled back my VM so am currently running my previous "latest" version)

I ran a docker pull on my canasta instance today to update to latest. I'm using Ubuntu 22.04 also and am seeing the same errors in my container logs. I think this is a bug?

what version have you use before this happened?

How do I determine this? (I have rolled back my VM so am currently running my previous "latest" version which is using MediaWiki version 1.39.6)
just run sudo canasta version

Hi guys - just so you know, I'm monitoring this discussion, and we're looking into the issue. But any more information (like the exact version of the code) could indeed be helpful.

I ran a docker pull on my canasta instance today to update to latest. I'm using Ubuntu 22.04 also and am seeing the same errors in my container logs. I think this is a bug?

what version have you use before this happened?

How do I determine this? (I have rolled back my VM so am currently running my previous "latest" version which is using MediaWiki version 1.39.6)

just run sudo canasta version

canasta version
2024/08/12 09:39:59 Using /etc/canasta for configuration...
This is canasta: built at 2024-02-13 22:03:30 from git commit 24df936.

I think it broke when I did a docker compose pull to upgrade it, I just tried with a canasta upgrade command and that seems to have worked? What is the difference here?


Add terminalOpen to frontmatter metadata

Is your feature request related to a problem?
It's not possible to have lessons where terminal is open by default. In tutorial lessons like https://tutorial-vite-plugin.pages.dev/1-vite-plugin/2-env-plugin/4-env-variables-in-load-hook/ I need to guide users to manually click the terminal open.
Describe the solution you'd like.
Add an option to frontmatter metadata for setting terminal open by default.
---
type: lesson
title: Some lesson
terminalOpen: true. # <-- New option, sets terminal open
---

Would it maybe make more sense to have it as a property of the terminal configuration?
Like open:
---
type: lesson
title: Some lesson
terminal:
  open: true
---

Otherwise you could end up with this:
---
type: lesson
title: Some lesson
terminalOpen: true
terminal: false
---

Oh right there is already terminal option. Let's add this option there!


CUDA error: no kernel image is available for execution on the device

No description provided.

你好请问你解决这个问题了吗

Could you provide the full error message? I had the same issue and it because triton was compiled with a different CUDA version compared to mamba_ssm
Compiling both from scratch on my device solved the issue

Could you provide the full error message? I had the same issue and it because triton was compiled with a different CUDA version compared to mamba_ssm
Compiling both from scratch on my device solved the issue

this is my error
CUDA error: no kernel image is available for execution on the device
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.
Can you help me? thx

No description provided.

你好请问你解决这个问题了吗

Have you solved it?

Could you provide the full error message? I had the same issue and it because triton was compiled with a different CUDA version compared to mamba_ssm
Compiling both from scratch on my device solved the issue

this is my error CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. Compile with TORCH_USE_CUDA_DSA to enable device-side assertions. Can you help me? thx

Hello, I have encountered the same problem, have you solved it?

你能提供完整的错误消息吗？我遇到了同样的问题，因为与triton``mamba_ssm
在我的设备上从头开始编译两者解决了这个问题
Hello, I have encountered the same problem, have you solved it?

Could you provide the full error message? I had the same issue and it because triton was compiled with a different CUDA version compared to mamba_ssm
Compiling both from scratch on my device solved the issue

this is my error CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. Compile with TORCH_USE_CUDA_DSA to enable device-side assertions. Can you help me? thx

Hello, I have encountered the same problem, have you solved it?

Yes, I solved it by rented a more powerful server with better GPU

Regarding the computing power of NVIDIA graphics cards, the minimum requirement is 70


[draft]  single proxy interface

8.0.6-SINGLE-PROXY-INTERFACE-SNAPSHOT

8.0.7-SINGLE-PROXY-INTERFACE-SNAPSHOT

Regression was done for verification


Audible navigation instructions

The main blocker for this feature is the navigation instruction creation which is a challenge for cyclists. The complexity of crossings and options is greater for cyclists than for cars. The underlying map data source "DRN" currently has problems setting the correct street name.  Instruction generation heavily depends on correct street names. DRN has significant advantages over OSM and is therefore set as default in the app. This means, that this feature stays blocked right now.
We first have to create good navigation instructions.
Then we can solve issues in the concept of the auditive speed advisory.

@PaulPickhardt do you consider this blocked our should we open another issue that focuses on removing the navigation instruction part, keeping only the speed advisory part?

Blocked until the DRN data foundation problems are fixed. New ticket for audible speed advisory: https://github.com/orgs/priobike/projects/1/views/1?pane=issue&itemId=71730915


Missed adding new source and header files in BUILD.gn

In this commit b31baff4ee, new files are added:
struct_packing_pass.cpp
struct_packing_pass.h
However, they are not added in the BUILD.gn. This causes the compilation errors when we try to merge this change to the projects that rely on BUILD.gn to compile.
Would you please make the change to add these files to the BUILD.gn? Thank you.

Fixed with #5791.

Thank you very much for the fix!


fix: support Xcode 15 Swift version 5.9

This to be more compatible with the minimum supported Xcode 15.0 version in brew context.

Duh! Right you are. It's better to be more compatible!

Thanks for merging! It would be good to produce a new version and update also the homebrew formula to have benefit of it.

Done


fix create analyzer sql syntax reference documentation

when using a parameterized tokenizer/token_filter/char_filter, one must
use a ccustom name while defining the base built-in to use by the
type parameter.

retest this please


Add redirects to login

With regard to the destruction of the cookie, I think we could fix it in the next release :).


GetRoles method implementation of IRoleService should not enumerate to concrete collection

The GetRoles method of IRoleService returns a generic IEnumerable collection of type RoleRecord.
 IEnumerable<RoleRecord> GetRoles();

The implementation of this in RoleService.cs builds an enumerable of this type from a repository, then enumerates this to a collection before returning.
public IEnumerable<RoleRecord> GetRoles() {
            var roles = from role in _roleRepository.Table select role;
            return roles.ToList();
        }

This means developers cannot take advantage of SQL filtering or restricting columns as such filtering will be done against the concrete collection in server memory after the entire collection is enumerated. Furthermore this is opaque to the developer as the interface type is an enumerable, not generic ICollection or IList.
Using deferred execution would allow developers to write code like -
 _rolesServices.GetRoles().Where(r => r.Name.Equals("Administrator").Select(r => r.Id);

This can then take advantage of SQL optimisations to only query for the data that is actually required, restricting returned columns and using a where predicate.

The example above is arbitrary and intentionally simple.

Deferred and lazy execution reference https://blogs.msdn.microsoft.com/charlie/2007/12/10/linq-and-deferred-execution/

I could understand that users should call ToList if they want to prevent multiple enumerations, even if they thought these are not queries.


Keyboard typing

fixes #17
Describe the changes you've made

-keyboard listener has been set up to react to keypresses- Now calculation can be done directly by pressing keys on keyboard .Implemented by using event listeners like keyup , keydown.
-shows error message as well, whenever wrong syntax is used.

Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] New and existing unit tests pass locally with my changes.

#GSSOC'21
Screenshots
https://user-images.githubusercontent.com/57864526/110376287-05b3ce00-8079-11eb-832e-7652397b6646.mp4
#17

@urvashi-code1255
For this PR label were not mentioned.
Can u please mention the labels.
I think for this PR my points are not added.
Thank you:)

@bitaashna I have applied PR.


flask.cli.NoAppException when building superset from master source

Make sure these boxes are checked before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

I have tried to build superset from master branch to have the filter-box disappear issue sorted. In doing so, I have carefully followed the CONTRIBUTING.MD. All the installation steps were executed successfully. Now, when I start the development server using the "flask run  8080 --with-threads --reload --debugger" command, it starts up successfully. However, the below error is shown on the browser while launching http://<IP_ADDRESS>:8080
flask.cli.NoAppException
flask.cli.NoAppException: Failed to find Flask application or factory in module "superset.app". Use "FLASK_APP=superset.app:name to specify one
I have attached the python stack-trace as well as a screenshot showing the error at the browser. I would appreciate if you could help me to resolve this issue. Thanks.
python-stacktrace.txt

Did you skip pip install -r requirements-dev.txt ? Maybe you're missing python-dotenv. Otherwise maybe you are running the flask run command from outside the repo?

Also you might want to try the latest release candidate.

@mistercrunch Thanks a tonne dear Maxime. It finally worked. I did install the requirements-dev.txt. However, the python-dotenv module was not existing in that requirement file. I separately installed python-dotenv through "pip install python-dotenv" and the issue was fixed. The  https://pypi.org/project/superset/0.29.0rc7/ has the same python-dotenv module missing in its requirements files. Again, thank you.

only pointing out that @farzad2004 suggested a step that also worked for me: pip install python-dotenv

@farzad2004 @mistercrunch this one line PR should solve the problem for all users going forward. I put it together because there were a lot grumblings: (https://github.com/apache/incubator-superset/pull/6547/commits/465e490a654d6e01838100994951925a29888f0a)

I am using docker for installation and getting the same error. How do I fix this error?

I am using docker for installation and getting the same error. How do I fix this error?

@krdeepak  Any luck with this thing. I am getting the same error now.
assword:
Repeat for confirmation:
Usage: flask fab create-admin [OPTIONS]
Error: A valid Flask application was not obtained from "superset:app".

@bharath0208 I was getting the same error because an earlier version of Superset's docker  container was existing (although it was stopped). Deleting the image fixed it for me.


⚠ ClamAV has degraded performance

In 2e9ef2e, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 68 ms

Resolved: ClamAV performance has improved in 6552362.


fix(@sap-ux/fe-mockserver-core): Support actions that do not return a value

Actions do not need to return anything, but the MockDataContributor API did not allow to return undefined as an action result. If this was still done, the HTTP response contained the OData context stuff, but it should be a plain 204 No Content response instead.

Thanks :)


Support UDF in aggregation function

Add PQL compiler support for UDF in aggregation function
Aggregation function should always work on single argument, remove the redundant split on ',' (split on ',' will also break the UDF)

Codecov Report

Merging #3008 into master will increase coverage by 10.1%.
The diff coverage is 74.44%.

@@            Coverage Diff             @@
##           master    #3008      +/-   ##
==========================================
+ Coverage   59.74%   69.84%   +10.1%
==========================================
  Files         917      917
  Lines       43389    43356      -33
  Branches     5931     5920      -11
==========================================
+ Hits        25923    30284    +4361
+ Misses      15545    11038    -4507
- Partials     1921     2034     +113

Impacted Files
Coverage Δ

...aggregation/function/CountAggregationFunction.java
100% <ø> (+4.16%)
:arrow_up:

...kedin/pinot/core/query/reduce/EqualComparison.java
0% <0%> (ø)
:arrow_up:

...pinot/core/query/reduce/GreaterThanComparison.java
0% <0%> (ø)
:arrow_up:

...ot/core/plan/MetadataBasedAggregationPlanNode.java
55% <0%> (ø)
:arrow_up:

...inot/core/query/reduce/GreaterEqualComparison.java
0% <0%> (ø)
:arrow_up:

.../pinot/core/query/reduce/InAndNotInComparison.java
0% <0%> (ø)
:arrow_up:

...din/pinot/core/query/reduce/BetweenComparison.java
0% <0%> (ø)
:arrow_up:

...n/pinot/core/query/reduce/LessEqualComparison.java
0% <0%> (ø)
:arrow_up:

...in/pinot/core/query/reduce/LessThanComparison.java
0% <0%> (ø)
:arrow_up:

...in/pinot/core/query/reduce/NotEqualComparison.java
0% <0%> (ø)
:arrow_up:

... and 322 more

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 3606ace...39cfc55. Read the comment docs.


add project description in pom.xml

@xscript,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Codecov Report

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

@@          Coverage Diff           @@
##           master      #9   +/-   ##
======================================
  Coverage    63.8%   63.8%
======================================
  Files          20      20
  Lines         442     442
  Branches       70      70
======================================
  Hits          282     282
  Misses        140     140
  Partials       20      20

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 3ad8176...413ff1b. Read the comment docs.


Make examples tested

At the moment we have an examples folder but they might be outdated or broken without us knowing, so we should set up our tests to execute them to ensure they do what is expected.

Better idea, make the tests as readable as possible as use them as the examples :)

I like that :)

@VictorBjelkholm what would be a good metric to define when a test is as readable as possible? Should examples be points in the README.md?

@diasdavid if you can show a new person (new to js-ipfs-api, not ipfs in general) a test case and they know what the output would be based on the assertions, the test is readable enough

@VictorBjelkholm @dignifiedquire want to give an updated comment on this one? Any hopes of getting those examples tested on CI without making the example more complicated than necessary? (Adding tests and other set ups for the tests will create noise in the learning experience)

@diasdavid yeah, not sure how we can go about to make sure the examples are working. Unit tests would add too much noise and not really be useful, since we're already testing most things + examples contains mostly glue-code to just show something...
Maybe acceptance tests or something like that could be easily setup and help? @dignifiedquire any ideas?


Release v0.40.0

Allow unlimited timeouts in retries (#904). By setting RETRY_TIMEOUT_SECONDS to a negative value, WorkspaceClient and AccountClient will retry retriable failures indefinitely. As a reminder, without setting this parameter, the default retry timeout is 5 minutes.

API Changes:

Changed Create method for w.Apps workspace-level service . New request type is serving.CreateAppRequest.
Changed Create method for w.Apps workspace-level service to return serving.App.
Removed DeleteApp method for w.Apps workspace-level service.
Removed GetApp method for w.Apps workspace-level service.
Removed GetAppDeploymentStatus method for w.Apps workspace-level service.
Removed GetApps method for w.Apps workspace-level service.
Removed GetEvents method for w.Apps workspace-level service.
Added CreateDeployment method for w.Apps workspace-level service.
Added Delete method for w.Apps workspace-level service.
Added Get method for w.Apps workspace-level service.
Added GetDeployment method for w.Apps workspace-level service.
Added GetEnvironment method for w.Apps workspace-level service.
Added List method for w.Apps workspace-level service.
Added ListDeployments method for w.Apps workspace-level service.
Added Stop method for w.Apps workspace-level service.
Added Update method for w.Apps workspace-level service.
Removed serving.AppEvents.
Removed serving.AppManifest.
Removed serving.AppServiceStatus.
Removed serving.DeleteAppResponse.
Removed serving.DeployAppRequest.
Removed serving.DeploymentStatus.
Removed serving.DeploymentStatusState.
Removed serving.GetAppDeploymentStatusRequest.
Removed serving.GetAppResponse.
Removed serving.GetEventsRequest.
Removed serving.ListAppEventsResponse.
Changed Apps field for serving.ListAppsResponse to serving.AppList.
Added serving.App.
Added serving.AppDeployment.
Added serving.AppDeploymentState.
Added serving.AppDeploymentStatus.
Added serving.AppEnvironment.
Added serving.AppState.
Added serving.AppStatus.
Added serving.CreateAppDeploymentRequest.
Added serving.CreateAppRequest.
Added serving.EnvVariable.
Added serving.GetAppDeploymentRequest.
Added serving.GetAppEnvironmentRequest.
Added serving.ListAppDeploymentsRequest.
Added serving.ListAppDeploymentsResponse.
Added serving.ListAppsRequest.
Added serving.StopAppRequest.
Added any.
Added serving.UpdateAppRequest.
Removed w.CspEnablement workspace-level service.
Removed w.EsmEnablement workspace-level service.
Added w.ComplianceSecurityProfile workspace-level service.
Added w.EnhancedSecurityMonitoring workspace-level service.
Removed settings.CspEnablement.
Removed settings.CspEnablementSetting.
Removed settings.EsmEnablement.
Removed settings.EsmEnablementSetting.
Removed settings.GetCspEnablementSettingRequest.
Removed settings.GetEsmEnablementSettingRequest.
Removed settings.UpdateCspEnablementSettingRequest.
Removed settings.UpdateEsmEnablementSettingRequest.
Added settings.ComplianceSecurityProfile.
Added settings.ComplianceSecurityProfileSetting.
Added settings.EnhancedSecurityMonitoring.
Added settings.EnhancedSecurityMonitoringSetting.
Added settings.GetComplianceSecurityProfileSettingRequest.
Added settings.GetEnhancedSecurityMonitoringSettingRequest.
Added settings.UpdateComplianceSecurityProfileSettingRequest.
Added settings.UpdateEnhancedSecurityMonitoringSettingRequest.
Added Tags field for sql.DashboardEditContent.
Added Tags field for sql.QueryEditContent.
Added Catalog field for sql.QueryOptions.
Added Schema field for sql.QueryOptions.
Added Tags field for sql.QueryPostContent.
Added Query field for sql.Visualization.

OpenAPI SHA: master, Date: 2024-05-02
Dependency updates:

Bump version of mockery (#907).

One test failure (TestAccServicePrincipalsOnAWS) which seems likely to be flaky for the same reason as the other flaky IAM tests.


Install script can't install on immutable OS (Fedora Atomic)

Environmental Info:
K3s Version:
v1.28.5

Node(s) CPU architecture, OS, and Version:
Linux fedora 6.6.14-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jan 26 20:12:16 UTC 2024 x86_64 GNU/Linux

Cluster Configuration:
1 laptop, where I'm trying to set up dev environment

Describe the bug:

The oneliner on the k3s.io website fails, with the following error:

yum is not available

This is because Fedora Atomic variants use rpm-ostree, like coreos does.
Steps To Reproduce:

Installed K3s: using the oneliner on the project website.

Expected behavior:

Fedora Kinoite and other Atomic variants of Fedora are treated more like coreos by the installer script.
There are differences between coreos and Fedora Atomic variants, but the use of rpm-ostree is mostly the same.
Actual behavior:

Fedora Atomic variants are treated like regular fedora.
These variants have neither yum or dnf available, so the install script fails.
Additional context / logs:

os-release for Kinoite:
cat /etc/os-release
NAME="Fedora Linux"
VERSION="39.20240205.0 (Kinoite)"
ID=fedora
VERSION_ID=39
VERSION_CODENAME=""
PLATFORM_ID="platform:f39"
PRETTY_NAME="Fedora Linux 39.20240205.0 (Kinoite)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:39"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://kinoite.fedoraproject.org"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora-kinoite/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://pagure.io/fedora-kde/SIG/issues"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=39
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=39
SUPPORT_END=2024-11-12
VARIANT="Kinoite"
VARIANT_ID=kinoite
OSTREE_VERSION='39.20240205.0'

Until Fedora standardizes around a VARIANT and/or VARIANT_ID in /etc/os-release for the different atomic desktop variants; a solution could be to change line 518 in the install script from
elif [ "${ID_LIKE:-}" = coreos ] || [ "${VARIANT_ID:-}" = coreos ]; then
to
elif [ "${ID_LIKE:-}" = coreos ] || [ "${VARIANT_ID:-}" = coreos || [ "${VARIANT_ID:-}" = kinoite || [ "${VARIANT_ID:-}" = silverblue || [ "${VARIANT_ID:-}" = onyx || [ "${VARIANT_ID:-}" =  sericea ]; then

That is horrid and I don't think I'd want to do that.

That's a fair assessment. Shall we just wait for Fedora to settle on a common VARIANT and/or VARIANT_ID then?

Yeah, I think that's probably what I'd ask for.

Just got bitten by this issue with Silverblue.
Could it be a sensible approach, instead of checking for a range of variants for fedora, to just check for ID = "fedora" and OSTREE_VERSION != "" ?

We don't officially support this distro, so we're not going to test it. We just need to confirm that it still works on supported fedora variants.

Performed validation on Fedora 41 with v1.31.2+k3s1 and Fedora 39 with v1.28.15+k3s1
Observed the installation went through successfully
Will also validate other supported OS's as part of November 2024 Patch Validation
# cat /etc/os-release
NAME="Fedora Linux"
VERSION="39 (Server Edition)"

# k3s -v
k3s version v1.28.15+k3s1 (869dd4d6)
go version go1.22.8

# kubectl get nodes
NAME                                     STATUS   ROLES                       AGE     VERSION
xxx-xx-xxx-56.ip.linodeusercontent.com   Ready    control-plane,etcd,master   5m13s   v1.28.15+k3s1

# kubectl get pods -A
NAMESPACE     NAME                                      READY   STATUS      RESTARTS   AGE
kube-system   coredns-559656f558-7tkv5                  1/1     Running     0          5m6s
kube-system   helm-install-traefik-8tm2q                0/1     Completed   1          5m6s
kube-system   helm-install-traefik-crd-hbd5z            0/1     Completed   0          5m6s
kube-system   local-path-provisioner-7677785564-j4cq6   1/1     Running     0          5m6s
kube-system   metrics-server-7cbbc464f4-wdk8b           0/1     Running     0          5m6s
kube-system   svclb-traefik-6cdcc509-gqmtq              2/2     Running     0          4m57s
kube-system   traefik-6c7b69cd74-dd7tz                  1/1     Running     0          4m57s

# cat /etc/os-release
NAME="Fedora Linux"
VERSION="41 (Server Edition)"

# k3s -v
k3s version v1.31.2+k3s1 (6da20424)
go version go1.22.8

# kubectl get nodes
NAME                                      STATUS   ROLES                       AGE   VERSION
xxx-xx-xxx-168.ip.linodeusercontent.com   Ready    control-plane,etcd,master   68s   v1.31.2+k3s1

# kubectl get pods -A
NAMESPACE     NAME                                      READY   STATUS      RESTARTS   AGE
kube-system   coredns-56f6fc8fd7-zg6p8                  1/1     Running     0          70s
kube-system   helm-install-traefik-8qblm                0/1     Completed   1          70s
kube-system   helm-install-traefik-crd-5wtlk            0/1     Completed   0          70s
kube-system   local-path-provisioner-5cf85fd84d-9tssv   1/1     Running     0          70s
kube-system   metrics-server-5985cbc9d7-hh6t2           0/1     Running     0          70s
kube-system   svclb-traefik-2a072cd7-zx54z              2/2     Running     0          62s
kube-system   traefik-57b79cf995-lrmss                  1/1     Running     0          62s


Channel disappearing

Hi,
we are experiencing problems with disappearing channels. We have created a channel and when a user opens its link in a browser or re-login on his device, the channel disappears.
When he/she clicks on the link he gets the following messages: "We can't find that channel due to connectivity issues. Please try again later."

@KenticoMartinS Thanks for reporting this. We have forwarded this to the right folks who are looking into it. Will get back to you if we need any further information.

I found a relationship with the browser language in Teams Web. When opened in PT-BR, all channels are visible, in EN-US some channels disappear.

@KenticoMartinS It appears that we have a livesite incident we are investigating that would explain what you are seeing. Meanwhile, could you please use the "Report a problem" feature under Help to report this:

Hi @Gousia-MSFT,
I'd love to report this issue, but unfortunately, I don't have that option for some reason.

@KenticoMartinS This is fixed now. Please check and re-open if you are still facing the issue.


Custom validation as a composition of available validations

Is there a way to add a custom validation rule as a composition of already present rules? Basically, introducing a shortcut for rules often used together in a project.
Example:
'integer|min:1|required' -> 'id'
'numeric|between:-90,90' -> 'latitude'

No there isn't, but that sounds like a great feature if you're interested in adding it.

This doesn't seem much different than doing
var rules = {
    id: 'integer|min:1|required',
    latitude: 'numeric|between:-90,90'
};

var validator = new Validator({ id: 1, latitude: 3 }, { id: rules.id, latitude: rules.latitude });

Where you have a place to specify your common app rules. Sorry, -1 to this

Having said that, could add support for passing a string to the .register()
Validator.register('latitude', 'numeric|between:-90,90');


Unstable API in ProductsDbConnector

Describe the bug
The ProductsDbConnector has a very messy API.
I assume that some methods were intended for class internal usage and not to be publicly accessible.
def createOfferItems(List<ProductItem> items, int offerId)
int findProductId(Product product)
static String parseProductId(String productId)

Suggestion
I would suggest deprecating them and removing them from the code base

 Unstable API in ProductsDbConnector


Issue with referencing project from multi-project repository

Hey @freddydk,
I followed your blog post, and made multi-project repository with 3 projects: core, Italian & norvegian apps.
My Norvegian app depends on core app. Therefore, i want to set it at  appDependencyProbingPaths. I tried to do likes this:
{
    "country":  "no",
    "appFolders":  [
    ],
    "testFolders":  [
    ],
    "appDependencyProbingPaths":  [
        {
            "repo":  "sede-res/srs-bc",
            "release_status":  "include",
            "projects":  "SRS.core"
        }
    ]
}

or like this:
{
    "country":  "no",
    "appFolders":  [
    ],
    "testFolders":  [
    ],
    "appDependencyProbingPaths":  [
        {
            "repo":  ".",
            "release_status":  "include",
            "projects":  "SRS.core"
        }
    ]
}

but it gives the following error message: You cannot call a method on a null-valued expression.
full log uploaded at wetransfer here
Any advice?

Are you using the preview?
I think this functionality is only in preview - which will be released later this week.

You were right, i was using stable channel. Once i switched to preview, it resolves dependencies successfully from the same repository.


[chip-tool] Add a parameter on pairing commands to bypass attestation verifier

Add a new parameter in the "pairing" commands of chip-tool (--bypass-attestation-verifier).
This parameter can be used to bypass the attestation verifier.
If the parameter is not set, the bypass is not enabled so in case of failure there is still a failure.
If the parameter is set (and active), we configure a DeviceAttestationDelegate using SetDeviceAttestationDelegate() that always continue the commissioning with chip::Credentials::AttestationVerificationResult::kSuccess

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Add Alexa Support

Make "play" and "pause" (and maybe night mode/volume) work through Alexa

Great idea. I’ve already implemented this feature in a Raspberry version of TonUINO. I used MQTT for communication as it works very well with firewalls and different WiFi installations.
Do you have ideas about the implementation?
The main problem is the song name recognition. Therefore I used only numbers as folder names.

I'd go with a simple on/off using https://github.com/igorantolic/esp32-alexa-wemo-emulator Anything more seems to be beyond the scope if this project.

Implemented


Tall Modals get cut off at top and bottom

Feature Request
Context
If any of our modals are taller than the size of your screen, they get cut off at the top and bottom. Making them hard to save or close. The browswer should scroll to allow us to see the whole modal.
Story
As a People Allocator
I want to be able to see my entire modal
So that I have all of the options - including being able to close or save the modal

Acceptance Criteria
Given I am in a modal
When That modal is taller than the size of the screen
Then It automatically makes the screen size taller so that the page will scroll and keep some space (32 or 48 px?) above and below the modal.
Notes
The whole page behind doesnt have to scroll, just the overlay area. Assuming that it's easier if everything just scrolls together though.

@jshaddac Does the image I uploaded capture the issue correctly?


Add splitmix64, xoshiro+ and xoshiro** PRNGs

Adds splitmix64 along with some PRNG from the xoshiro family:

splitmix64 (64-bit) is mostly to properly seed the xoshiro PRNGs (as recommended by authors);
xoshiro256** (64-bit, 256-bit state) is a little slower than PCG32 in stdlib (32-bit, 128-bit state) but generates 64-bit numbers with twice the state;
xoshiro128** (32-bit, 128-bit state) is similar to and slower than PCG32 in stdlib;
xoshiro256+ and xoshiro128+ are a little faster than their ** counterparts but meant for generating Float64 and Float32 numbers only (not general purpose).

As per its authors, xoshiro256** can be appreciable for highly concurrent applications that need to generate lots of random numbers.

Updated with the + variant and more specs.
Benchmark on x86_84 (i7 haswell laptop), crystal 0.31.1, llvm 8:
             Random::ISAAC 112.01M (  8.93ns) (± 0.61%)  0.0B/op   1.90× slower
           Random::MT19937 130.67M (  7.65ns) (± 0.47%)  0.0B/op   1.63× slower
             Random::PCG32 212.49M (  4.71ns) (± 1.00%)  0.0B/op        fastest
        Random::SplitMix64 182.24M (  5.49ns) (± 0.63%)  0.0B/op   1.17× slower
        Random::Splittable 202.72M (  4.93ns) (± 1.11%)  0.0B/op   1.05× slower
    Random::XoShiRo128Plus 190.97M (  5.24ns) (± 1.89%)  0.0B/op   1.11× slower
Random::XoShiRo128StarStar 186.49M (  5.36ns) (± 4.62%)  0.0B/op   1.14× slower
    Random::XoShiRo256Plus 190.25M (  5.26ns) (± 2.13%)  0.0B/op   1.12× slower
Random::XoShiRo256StarStar 188.46M (  5.31ns) (± 2.20%)  0.0B/op   1.13× slower


API competitions exposing all competitions

This should show only public competitions or private competitions which user's participation approved.

I close this issue to keep track of it in #1047


Latest winget

Proposed Changes
Now with the constant developing/releases of WinGet we need to update all the time...
Related Issues
https://github.com/Romanitho/Winget-Install/discussions/89

Maybe we can use your Get-AvailableWinGetVersion function during install and post install tasks?

Maybe we can use your Get-AvailableWinGetVersion function during install and post install tasks?

Does that in Post alteady
$AvailableWinGetVersion = Get-AvailableWinGetVersion

👌🏼


Please publish new version to npmjs

Hey,
it would be cool if you could update this repo and npm publish the latest version of the original angular-utf8-base64 (currently 0.0.5, see https://github.com/stranger82/angular-utf8-base64/blob/master/package.json#L3).
We want to move from bower to npm, and would like to use the latest version of that module. Thanks!

@fstoerkle yes, it is on my TODO list. I'll try to make some time for this during the week.

Awesome, thanks @munkychop

@fstoerkle I have now updated to the latest version published by @stranger82 and published to npm 😄
https://www.npmjs.com/package/angular-utf8-base64
Note that I have also bumped the version number in order to match @stranger82's release.


.Net Standard 2.0 support

Hi!
So, as far i good understand the table with compability of .net standard It should work but i get error: 'Could not load file or assembly 'NStack, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.'
I try to run a MessageBox example.
I am using .Net Standard 2.0 class library

Okay, If anyone have simmilar problem. Go and install Nstack.Core :D


Implement all SPI pins for STM32F303

I needed to use PB3 as SPI1 SCK for a project, and noticed that it was in the HAL, but commented out. I went through the datasheet for the STM32F303xD/E and saw no reason why it needed to be excluded, and, indeed, my program does work using it.
While I was at it, I figured I could update the rest of the SPI HAL to allow all of the pins that the chip does. If this is the right approach, I wouldn't mind doing the same type of update for the rest of the supported chips. I could add on to this PR, or make those additions in a later (or multiple later) PRs, whichever works better for you.

Also, I would be happy about a CHANGELOG entry :)

Speaking of changelog entries... I can't seem to find any reference to STM32F301xB/C/D/E anywhere, only to STM32F301x6/8. The crate only lists the former, and not the latter. I'll probably just end up ignoring the 301 series for this PR, but I might come back to it in the future.
Could also be worth opening an issue to reconcile the 301 crate features with the datasheets.

I can't seem to find any reference to STM32F301xB/C/D/E anywhere, only to STM32F301x6/8

I recently added the STM32F302xB/C/D/E as targets, because they where missing, so it's fine to add missing devices.
But is seems like, taht STM32F301xB/C/D/E devices do not exsist? At least they are not listed on st.com

But it seems like, that STM32F301xB/C/D/E devices do not exsist? At least they are not listed on st.com

That's what I found too. So I think I'll just not touch the 301 series in this PR, but I'll go ahead and update the rest.

Merge!

I rebased it onto master and resolved the Changelog issue.


URLA not EULA

I think it is URLA not EULA. (uniform residential loan application)

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 20355734-9f75-8b29-e91d-a0b765f67927
Version Independent ID: 68c6b840-22a5-f337-b88b-d9da6054b8f7
Content: Document Intelligence US mortgage documents - Azure AI services
Content Source: articles/ai-services/document-intelligence/concept-mortgage-documents.md
Service: azure-ai-document-intelligence
GitHub Login: @laujan
Microsoft Alias: lajanuar

@jen-novaprime
It looks like your issue is resolved since you closed this thread.
If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.


Set up an automatic pipeline for publishing to npm

Ideally we create a tag, push it, and it magically appears on npm for us.

@t3chguy 😇


Add --validate-record to CLI

Corresponding to #147.
python -m installer --validate-record=all pkg.whl
Choices are all entries (only name precedence in RECORD) and none (default)

Adding a cross-reference to https://github.com/pypa/installer/issues/156 :)

Thanks @BlueGlassBlock! ^>^


Add link to self-managed backend on self-hosted pages.

Attempt to help with confusion between Self-Hosted and Self-Managed backends.

Your site preview for commit 33840d1 is ready! 🎉
http://pulumi-hugo-origin-pr-110-33840d15.s3-website.us-west-2.amazonaws.com.

Quick links based on this bucket:

http://pulumi-hugo-origin-pr-110-33840d15.s3-website.us-west-2.amazonaws.com/docs/guides/self-hosted/
http://pulumi-hugo-origin-pr-110-33840d15.s3-website.us-west-2.amazonaws.com/docs/guides/self-hosted/console/
http://pulumi-hugo-origin-pr-110-33840d15.s3-website.us-west-2.amazonaws.com/docs/guides/self-hosted/api/


GENERAL / Filters from a widget launches unrequired calculations on itself

Story details: https://app.shortcut.com/cartoteam/story/182594

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 74.532%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
695

Relevant Lines:
866

💛  - Coveralls

Do you think that it could be useful for custom widgets, maybe?

@VictorVelarde Yes, I thought it would be an useful hook in PS. It's common to create custom widgets.


qpy not recognizing complex number as a parameter for Initialize

Information

Qiskit Terra version: 0.18.0
Python version:
Operating system:

What is the current behavior?
When trying to serialize a QuantumCircuit using qpy, I got
~/Documents/Q/Github/qiskit-terra/qiskit/circuit/qpy_serialization.py in _write_instruction(file_obj, instruction_tuple, custom_instructions, index_map)
    722             size = len(data)
    723         else:
--> 724             raise TypeError(
    725                 f"Invalid parameter type {instruction_tuple[0]} for gate {type(param)},"
    726             )

TypeError: Invalid parameter type <qiskit.extensions.quantum_initializer.initializer.Initialize object at 0x103fd6dc0> for gate <class 'complex'>,

Steps to reproduce the problem
The circuit I used:
import io
import numpy as np
from qiskit.circuit import QuantumCircuit, qpy_serialization
from qiskit.circuit.library import QFT
from qiskit.quantum_info import Statevector

k = 5
state = (1/np.sqrt(8))*np.array([np.exp(-1j*2*np.pi*k*(0)/8),np.exp(-1j*2*np.pi*k*(1)/8),
                                 np.exp(-1j*2*np.pi*k*(2)/8),
 np.exp(-1j*2*np.pi*k*3/8),np.exp(-1j*2*np.pi*k*4/8),np.exp(-1j*2*np.pi*k*5/8),
 np.exp(-1j*2*np.pi*k*6/8), np.exp(-1j*2*np.pi*k*7/8)])

qubits = 3

circuit = QuantumCircuit(qubits, qubits)
circuit.initialize(state)
circuit.append(QFT(qubits),range(qubits))
circuit.measure(range(qubits),range(qubits))
buffer = io.BytesIO()
qpy_serialization.dump(circuit, buffer)

What is the expected behavior?
Suggested solutions

There are actually 2 bugs here. The first is that initialize takes it's statevector as a single parameter on init but stores it as a list internally. This is why we get the conversion error on complex because every other instruction that takes complex does it as a numpy array as a single parameter. The other half though is with qft (and I think all blueprint circuits from the circuit library) passing the stored parameters to the constructor doesn't build an equivalent circuit object that can be appended to the reconstructed circuit in the deserializer. The only way I could come up with for handling this.  I'll push a fix for this in a few minutes (it might have to wait for 0.18.1 though).
One thing you can do while waiting for the fix to merge is I think if you decompose() both initialize and qft prior to saving the qpy circuit it should work fine. Granted it's not exactly the same but it will at least work around the hard failure (I think).


AWS: Some images require volume mounts on /dev/xvdX

It seems impossible to determine from outside.  Thankfully we're running
the attachment from inside the instance, so can check for /dev/sdX or
/dev/xvdX.
More modern images seem to be moving to /dev/xvdX

@iterion for review, assigned to CJ from a blame on the corresponding gce file

LGTM - self contained, at least

LGTM.
@mohr or @robertbailey for a final rubber stamp.

LGTM.


Seems Facebook mentions have stopped again

Haven't had time to check anything (and am on phone only for now), but it looks like Facebook mentions stopped working some time last night. Just as Twitter started to work again...

hey armin! hmm, facebook backfeed is definitely still working for at least some users, eg https://brid.gy/facebook/10206605282077198 and https://brid.gy/facebook/508178999257997 .
what's your bridgy user page?

Should be this one for Facebook: https://brid.gy/facebook/776938267
Twitter still works fine, but FB stopped at some point. I know there have been a few likes of the picture I posted this morning, about 8 hours ago. Last one picked up was for yesterday's picture about 22 hours ago.

thanks! agreed, your latest two posts are missing.
suspicious that it stopped working (for you at least) precisely on GDPR day. although the other two working examples are in the EU too, so who knows.
regardless, sorry for the trouble! i'll look into it.

another report: https://twitter.com/thorkon/status/1000113381297270784

no consistent difference in the FB access token permissions for these accounts.
working: https://brid.gy/facebook/508178999257997
user_photos, user_status, user_posts, manage_pages, pages_show_list, business_management, public_profile
working: https://brid.gy/facebook/10206605282077198
user_photos, user_status, user_posts, manage_pages, pages_show_list, business_management, public_profile
broken: https://brid.gy/facebook/776938267 (armin)
user_photos, user_status, user_posts, manage_pages, pages_show_list, public_profile
broken: https://brid.gy/facebook/555706984828608 (thorkon)
user_photos, user_status, user_posts, manage_pages, pages_show_list, publish_pages, business_management, public_profile

hey @armingrewe could you try logging into Facebook on https://brid.gy/ again? probably won't fix it, but worth a shot.

Sure. Just done, disabled and logged in again. Sadly doesn't seem to have made any difference (so far).
I so wish I could dump Facebook, unfortunately there are so many of my friends on there who won't touch Twitter or G+.

looks like this is actually affecting everyone after all. the accounts i thought were working, eg https://brid.gy/facebook/10206605282077198 , are actually only getting their own comments and likes, not other people's.
specifically /v2.10/me/feed?... is returning everyone's posts ok, but only their own responses. or maybe only bridgy users'; not sure.
(interestingly https://brid.gy/facebook/508178999257997 is getting everything, but it's a FB page, not a user, which i expect is the difference.)
regardless, i expect the fix is #814...except facebook claims we have until august 1 to resubmit for approval, so i'm not entirely sure this is that.

i actually now wonder if this is a facebook bug, specifically https://developers.facebook.com/support/bugs/721093238281702/
lots more reports of this there, and FB hasn't yet concluded said it's due to permissions. search for eg comments likes on https://developers.facebook.com/support/bugs/ (the search box under Other Platform Bug Reports, not the top one). eg https://developers.facebook.com/support/bugs/1627371787379210/ .

The timing looks about right, they both say it started Thu/Fri if I read it right, which would be the same time as bridgy not getting them any more.

woo, progress, of a sort. facebook confirmed and said they're investigating.

Thanks for clarifying this. We've managed to repro this problem. We're assigning this to our product team for further investigation.

sigh. looks like it is permissions after all. another update from FB today:

Sorry for the confusion.
This is intentional and due to the changes we announced here - https://developers.facebook.com/blog/post/2018/05/01/facebook-login-updates-further-protect-privacy/
Specifically:

Additionally, other users' profile information and comments will not be returned when accessing user posts, photos, albums, videos, likes, and reactions unless authorized by those users. These changes are effective immediately for new apps. Apps created before May 1, 2018 will continue to have access to this data until May 24, 2018.

this may mean the end of Facebook backfeed. 😱

Very much looks like it. Must admit I don't understand the "unless authorized by those users" part. How would they do that? Can't think of a setting in Facebook to do that.
Well, apparently Generation Z is killing Facebook anyway, so might not be a big loss ;-)

So basically Facebook comments import is screwed for good from now on?

very possibly yes. 😢

m.facebook.com doesn't work, it doesn't serve posts unless you're signed in. and that was my last idea. if anyone else has any ideas, feel free to speak up! otherwise i expect I'll write bridgy facebook's obituary and turn it off.

My suspicion is that after the Cambridge Analytica scandal they are going to lock this down fairly hard and any way you find around it will only be short lived.

i used this remote_api_shell snippet to send FB notifications to all bridgy listen users, based on #817:
$ setenv FACEBOOK_APP_ID `cat facebook_app_id`
$ setenv FACEBOOK_APP_SECRET `cat facebook_app_secret`
$ remote_api_shell.py brid-gy

import traceback
from facebook import FacebookPage

for src in FacebookPage.query(
    FacebookPage.status == 'enabled',
    FacebookPage.features == 'listen',
  ):
  if src.auth_entity.get().type == 'user':
    print(src.label(), src.silo_url())
    try:
      src.gr_source.create_notification(
        src.key.id(),
        "Facebook has disabled the API support Bridgy needs, so we're turning off Faceook support. So long, and thanks for all the fish!",
        'https://brid.gy/about#facebook-listen')
    except Exception as e:
      traceback.print_exc()

82d0b0cc9f9b6c3c30d0b04255636b9b0326a0b4

@singpolyma not immediately, no, but Facebook is turning off API publish support in August too, independently: #817

I'll leave you to close this one once you're happy that the big clean up you unfortunately have to go through is finished.

so long, and thanks for all the fish! https://snarfed.org/2018-06-07_turning-off-facebook-for-bridgy


Use nanoids as Eids for schema-based hierarchy generation

Issue #, if available: #86
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Correct.

Approved, but I imagine you'll have to fix the CI break before merging.


Support Growatt MIN 6000TL XH

I have a Growatt MIN 6000TL XH coupled to an ARK 10 kWh battery system with HVC 60050-A1 BMS and a backup box in order to have the possibility to go off-grid when needed. In order for this to work, an RS-485 power meter is installed in order to measure the power to/from the grid, which is coupled to the syscom port of the inverter, which is why I can't use that port for the integration.
So, I decided to try a usb-to-rs485 converter both on the inverter as well as on the RPI, on which I'm running HA OS. The first ones I tried didn't work, which is because the inverter only works with a CH340, as can be read here:

I tested several ESP8266-boards with builtin USB-Serial converters so far only boards with CH340 do work (CP21XX and FTDI chips do not work).

Now I got it working with the offgrid-inverter branch, which I forked and installed as described in the readme, but there are some issues.
The first is that the status of the inverter goes to "no response" quite often. It may be because I used the cheapest usb converters I could find, but it may also be because the inverter talks to the battery manager as well as the power meter over modbus as well, albeit over separate 9600 bps interfaces. In any case, it seems a good idea to implement retries and I was thinking of modyfing _async_update_data in init.py as well as read_holding_registers and read_input_registers in growatt.py.  It may also be that the time-out is too short. Growatt specifies 850ms.
The next issue is that there is a total power entry for input 1, but not for input 2, which I suspect is caused by a "no response" when scanning for available registers. Since I intend to add more registers (such as the number of cycles my batteries have made), I would like to know how to re-scan.
Further, I had to set the protocol version manually. I already checked the protocol version register before and IIRC it said 3.05, even though it appears to work quite well with v1.20., so I'm not sure how to proceed with adding registers. It may be a good idea to copy the v1.20 stuff to a new v3.05 version, but perhaps you have other suggestions.
Finally, my log file contains a lot of these messages:
2023-09-01 07:53:43.229 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'dict object' has no attribute 'voltage_l1' when rendering '{{ value_json.voltage_l1.value | float }}'
2023-09-01 07:53:43.234 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'dict object' has no attribute 'voltage_l2' when rendering '{{ value_json.voltage_l2.value | float }}'
2023-09-01 07:53:43.238 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'dict object' has no attribute 'voltage_l3' when rendering '{{ value_json.voltage_l3.value | float }}'
2023-09-01 07:53:43.241 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'dict object' has no attribute 'current_l2' when rendering '{{ value_json.current_l2.value | float }}'
2023-09-01 07:53:43.243 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'dict object' has no attribute 'current_l3' when rendering '{{ value_json.current_l3.value | float }}'
2023-09-01 07:53:43.247 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'dict object' has no attribute 'power_delivered_l2' when rendering '{{ value_json.power_delivered_l2.value | float }}'
2023-09-01 07:53:43.250 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'dict object' has no attribute 'power_delivered_l3' when rendering '{{ value_json.power_delivered_l3.value | float }}'
2023-09-01 07:53:43.253 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'dict object' has no attribute 'power_returned_l2' when rendering '{{ value_json.power_returned_l2.value | float }}'
2023-09-01 07:53:43.257 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'dict object' has no attribute 'power_returned_l3' when rendering '{{ value_json.power_returned_l3.value | float }}'

This is what's currently in my core.config_entries:
  {
    "entry_id": "1db4177128478ebcd9662c260a8cb347",
    "version": 1,
    "domain": "growatt_local",
    "title": "Growatt MIN 6000TL XH",
    "data": {
      "communication_layer": "serial",
      "port": "/dev/ttyUSB0",
      "baudrate": 115200,
      "stopbits": 1.0,
      "parity": "None",
      "bytesize": 8.0,
      "address": 1,
      "serial_number": "SNL0CGV020",
      "firmware": "AL1.0ZAba\u001d",
      "name": "Growatt ",
      "model": "MIN 6000",
      "type": "hybride_120",
      "dc_string": 2.0,
      "ac_phases": 1.0,
      "scan_interval": 60,
      "power_scan_enabled": true,
      "power_scan_interval": 20
    },
    "options": {},
    "pref_disable_new_entities": false,
    "pref_disable_polling": false,
    "source": "user",
    "unique_id": "SNL0CGV020",
    "disabled_by": null
  },

I have had some initial problems with getting the interfacing working as well. I found out that the CH340 that I coincidental have as well worked on a windows device but on a SBC running linux it didn't work correctly the data was malformed. I set up a different converter for my SBC and it worked fine.
You could check whether it's data range is the problem or just the general data return on any device but running a part of the API only. The following code example (using offgrid-inverter-branch) can be run from within the API test functionality without requiring to run Home Assistant.
import asyncio
from growatt import GrowattSerial, GrowattDevice, DeviceTypes
from utils import RegisterKeys

growatt = GrowattDevice(
    GrowattSerial("/dev/ttyUSB0"),
    DeviceTypes.HYBRIDE_120,
    1
)

async def main():
    await growatt.connect()

    result = await growatt.update(RegisterKeys(input=set(range(0, 30))))

    print(result)

asyncio.run(main())

Feel free to implement retries but be aware that only could be advise to use in certain conditions:

When running relatively high update rates it should be limited amount
Solar inverters only will startup later than when then sun is up and default have a time window where status is: no_response
It should not run infinite amount of retries to get all register values.

It may also be that the time-out is too short. Growatt specifies 850ms. -Potentially yes, but I'm not effected by it I can send the message directly after I received the last one
I already checked the protocol version register before and IIRC it said 3.05 -My feeling says that the same value is returned for all growatt devices and that it is a library version or so and not based on the register format protocol they designed. v1.20 would be this protocol design: https://www.photovoltaicsolar.in/Growatt_Manual/MAX Series Modbus RTU Protocol.pdf

Thanks a lot for that example code, I'll see if I can get that working on my old laptop.  I've ordered a couple of new CH340 usb sticks from two different vendors. The ones I have do not have any markings on the chip, so I guess those are unstable clones. At first, I could easily swap the stock ShineWifi stick back in and that would work, but now the inverter just won't respond anymore even after just a few modbus read attempts and I have to reset the inverter before the stock stick works again. So, once the new converters arrive I'll see if I can scan registers and inputs based on your example.
When looking through the code, I saw there already are retries in the GrowattNetwork init, but not in GrowattSerial init. I tried editing the ones in GrowattNetwork, but now I realize these are not used for the serial interface. :(
The timeout for serial is set to 3 seconds, so that's not the problem. In any case, AsyncModbusSerialClient should also support the retries option, since that comes from ModbusBaseClient.

v1.20 would be this protocol design: https://www.photovoltaicsolar.in/Growatt_Manual/MAX Series Modbus RTU Protocol.pdf

In that document, it says: V1.05 2018-04-19, while it only has 55 pages and when you search for "xh" in this one, you find nothing.
I found a v1.20 version here that has 65 pages:
https://blog.moospirit.org/post/2022/growatt/growatt-inverter-modbus-rtu-protocol-ii-v1-20-english.pdf
However, I also found a v1.24 version that has 85 pages here:
https://tuxdoc.com/download/growatt-inverter-modbus-rtu-protocol-ii-v1-24-english-new_pdf
In these two, there is quite some info about register ranges of various inverters, including the X(H) range.

The new sticks arrived and I have been able to make a scan using modbus-scanner, which I forked and edited. The result can be found in this file:
https://github.com/l4m4re/python-modbus-scanner/blob/main/scan3.txt
I only printed the registers/inputs that had a non-zero value, since the inverter responded to lots of registers/inputs with a value of 0 (see scan1.txt, which is incomplete).
Further, it seems that these declarations are wrong in inverter_120.py
    GrowattDeviceRegisters(
        name=ATTR_OUTPUT_REACTIVE_POWER, register=58, value_type=float, length=2,
    ),
    GrowattDeviceRegisters(
        name=ATTR_OUTPUT_REACTIVE_ENERGY_TODAY, register=60, value_type=float, length=2,
    ),
    GrowattDeviceRegisters(
        name=ATTR_OUTPUT_REACTIVE_ENERGY_TOTAL, register=62, value_type=float, length=2,
    ),

These registers are already declared further up as part of other length 2 values, so they can't be correct.
The next one, register 65, is declared twice.


Task 3: Final touches

In this pull request I did the following:

I improved  the look and feel of the application by adding the styles of my choice using plain CSS.

Thank you for your feedback.


[UT] Fix test number bugfix

Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[x] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)


remove numpy from callbacks

As numpy update to 2.0.0, no such np.Inf usage any more.

@zhuyuhua-v pls help review. thx


Cannot download settings

Visual Studio Code Version : 1.5.2
**Code Sync Settings Version :**2.2.7
Operating System : OSX 10.11.6/Windows 10

I got this error after updating Code Sync weeks ago. And it happened to all my four computers(two of them running windows and the other OSX). I waited for a new release but still got this error each time launching VSCode. So I uninstalled Code Sync to avoid the annoying popups. Today I reinstalled it on one of my windows PC and did a upload however no errors popped up so that I thought it was fixed somehow and later I reinstalled in on one of mac. It still happens even after reinstalling and resetting config. I really don't know what is wrong.
//Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:121 Cannot read property 'content' of undefined: TypeError: Cannot read property 'content' of undefined
    at /Users/sean/.vscode/extensions/Shan.code-settings-sync-2.2.7/out/src/extension.js:427:101
    at next (native)
    at fulfilled (/Users/sean/.vscode/extensions/Shan.code-settings-sync-2.2.7/out/src/extension.js:4:58)
    at process._tickCallback (internal/process/next_tick.js:103:7)e.onUnexpectedError @ //Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:121

can you test now on 2.3.0 version ?

Still the same :(

Now there is something more information

Data is Empty for Null.

Thanks, will look more into it.

I cleared all personal settings and cache files of VSCode and then made a re-install and a re-upload and a re-download, everything's fine now.

Guess the glitch is caused by some dead plugins.
Before cleaning I checked my .vscode/extensions folder and found a couple of plugins which have been uninstalled previously but somehow still lay there.

Also I switched to a new gist just in case.

Hope these help.

Great to know you have solved the problem.
You may close the issue if extension is working fine now :)


Automate email signup to public Slack channel

As per various conversations in Slack, we need to figure out a simple way to invite people to join the Slack channel to collaborate on the project.
These have been suggested as implementation options:

https://github.com/rauchg/slackin
https://github.com/outsideris/slack-invite-automation

We've been using slackin on heroku for awhile - it works well for us.

It seems that slackin is used by the borojs slack channels in New York and the Open Design channels.

One question that was brought up is - is it too early in the development for us to automate this? Right now it's invite - only so it's pretty much exclusively contributors, while we figure out the format for all of this.

I use Slackin for the Picturefill project and the RICG; so far so good.

Up to you, I mean if you plan on bringing on more than 100 users then you definitely want it.

Will this still live in the Bocoup Community Slack team, or will there be a separate one now?

We should move to a new Slack space now, good point @mjchamplin

I wonder - should we make a new Slack team - open design kit or should we make a new channel within  another team, such as the Open Design Foundation?

@iamjessklein whatever works, but you are always welcome on the Open Design Foundation. What name would you like for the channel?

Thanks @GarthDB - I would make it #opendesignkit
@pamela-drouin @mjchamplin @susanjrobertson  - if you are for or against this change, please "vote" with a 👍  or 👎 emoji reaction.

@jess I don't have a lot of feelings on this, so do whatever you think will work best.

Ok I've added a channel to the Open Design Foundation Slack Channel.
Please join the channel at #opendesignkit
cc/ @GarthDB

Closing this issue now as the channel is up and running.


HSEARCH-4370 Event processing triggers deadlock with Oracle database

https://hibernate.atlassian.net/browse/HSEARCH-4370

Merged, thanks!


Exporter enhancements and refactor

This is a significant refactor of the farcaster exporter.
I started with the goal of adding features to serve the metrics directly over http, rather than relying on the prometheus node exporter. This was challenging because of the global state and calls to terminate that caused the entire program to exit.
This refactor removes all global variables, implements separate daemon and miner subclasses of the lotus class, and uses context and with as statements to handle writing out the final metrics for collection time and success status.
As for features this adds several. First of all farcaster will now use the same environment variables that lotus does FULLNODE_API_INFO and MINER_API_INFO to discover the urls and tokens. Falling back to looking for the files in LOTUS_PATH and LOTUS_MINER_PATH. Command line arguments are also supported which take priority.
Farcaster can now write to a file directly without relying on redirection in a cron job, using the --file option. And the feature I originally set out to build, farcaster can now listen on a TCP port and serve metrics directly to prometheus for scraping. It also supports sytemd socket activation so that farcaster can automatically be started when prometheus tries to scrape it. Sample service and socket unit files have been added.
These changes should be backwards compatible and not change anything about the metrics exported.

Hi @clinta thank you very much for your PR !  let me look and it during the week.


run error

python GDmicro.py -i Input_files/CRC_10fold.csv -t 1  -d CRC -o GDmicro_new_pipe/CRC_10fold
There was an error running CRC dataset directly, and no modifications were made before execution.

Hi, thanks for using GDmicro!
The log shows that "Rscript" is not found. Have you installed all required packages with the conda command? (please see "Install" section of the README page)

Thank you, now it runs successfully. In running 10-fold cross-validation, I found that the Area Under the Curve (AUC) result of each fold is determined by selecting the best AUC result from 150 epochs.

In practical applications, GDmicro strives to identify robust and accurate microbial markers that can effectively distinguish between case and control samples. Consequently, the program has been updated to implement the model with the highest performance, ensuring satisfactory results for this task.


Support NFTs which are bought and sold multiple times

Currently, an NFT asset can only occur once.
asset_id must be unique
asset_id = openseaEvent['asset']['asset_contract']['address'] + '-' + openseaEvent['asset']['token_id']
Need to figure a way for ERC1159 where multiple ones are owned

In progress in branch erc1159

https://github.com/elsewhat/nft-profit-loss/commit/8147db9a5a7ee0b1104b0e7d580412c0fb44d329


[WIP] Implement soa parsing

Implement SOA record type parsing.
I am unsure how to deal with the SOA enum type. Should I leave it as is below, or should I create a struct for it since it has so many fields? I personally don't even need all the fields; I just figured that I might as well parse them all.
Thoughts? I will create tests after deciding on this.
Thanks!

I think creating a structure would be more convenient for working with SOA records.

@tailhook I've updated this branch to use a SoaRecord struct. If you have any changes you would like done regarding names or whatnot, let me know.
Also, I found a bug in the OpCode parsing.
Here: https://github.com/tailhook/dns-parser/blob/master/src/header.rs#L45
The bitwise shift was happening to the flag::OPCODE_MASK instead of the flags variable.
So the bitwise and only checked the last 4 bits which is the response code, and since all the tests besides my soa test had NoError for the response code, all the other tests passed.

Nice catch. Thanks!

Released v0.3.4.
By the way, feel free to add yourself to the list of the authors of the library.


New Provider: Gitlab.com

Hey there,  would love to see Gitlab pages on jamstackdeploy.com

Hi, @lohman. Sounds like a good idea. I will add it to our roadmap.
Thanks!

Done!


map <c-*> to

Describe the solution you'd like
Currently it is possible to enter normal mode via  or <c-[> . I would like to be able to enter normal mode via  as well. How can I make this happen in the configuration file?

I would also love seeing this feature. I want to use 'jk' so much

I would also love seeing this feature. I want to use 'jk' so much


Does FLAML support distributed models such as pytorch ddp or distributed xgb/lgbm?

As I noticed that flaml integrating Ray to support distributed hyperparamerters tuning, but what if the model need to be distributed, how it works on FLAML or it is not supported yet ?

my mistake, i just learn that ray already supported DDP and xgb.  but as we already using kubeflow training operators for pytorch and xgb，it is possible to integrate with kubeflow directly instead of ray?

my mistake, i just learn that ray already supported DDP and xgb. but as we already using kubeflow training operators for pytorch and xgb，it is possible to integrate with kubeflow directly instead of ray?

Yes. You can modify https://github.com/microsoft/FLAML/blob/46f80dfa16a1396027a2f8fea2460f5795e3ee20/test/tune_example.py#L21
For example, you can replace https://github.com/microsoft/FLAML/blob/46f80dfa16a1396027a2f8fea2460f5795e3ee20/test/tune_example.py#L30 with your distributed training code.


BUG: Fixed the issue of wrong font color in clerk UI component

📚 Description
This PR fixes the issue of wrong font color in the Clerk UI component .
The issue arises because of the theme difference between the original component and the component used in codemod.
Fixed the issue by doing the said changes by going through the documentation of clerk at : https://clerk.com/docs
The documentation that supports the change done can be found at : https://clerk.com/docs/customization/overview
🔗 Linked Issue
Fixes #1197
🧪 Test Plan
Tests not required as it was a UI change.
📄 Documentation to Update
No need to update the documentation.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Support for Animated Tiles

As TexturePacker already has the feature below, feature request in short: enable animated tile groups export/import for the godot plugin.

In Godot a 2d-sprite-Animation can be defined by using a single sprite and setting a number of columns and rows. This sprite can also be contained in an Atlas Texture. My idea/request: Make it possible to mark multiple images as an single animation, which then will be added to the atlas texture by texturepacker using a strict column/row layout (only this subimage, not the whole atlas). When importing just detect the sub-image as animation and configure it in that way.
why: the animated tile in godots tilemap is much more performant than calling set_tile every frame for every animated tile.

I've added this to the backlog of TexturePacker. We'll add the feature as soon as we get more requests from users.


BuilderTransition no longer requires variables

Sometimes you want to just make a transition driven straight from the
performance's progress, rather than with an explicit variable.

LGTM


🚀 Feature: Integrated a new Vector DB Milvus

🔖 Feature description
Add a new Vector DB into the original project, Milvus
🎤 Why is this feature needed ?
This provides more options for customers to choose from
✌ How do you aim to achieve this?
Milvus integration which already done
🔄 Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?

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

Are you willing to submit PR?
Yes I am willing to submit a PR!

Was added
https://github.com/arc53/DocsGPT/blob/main/application/vectorstore/milvus.py


Update members.json

Hi there, thanks for contributing! I prefer that you embed your webring outside of the menu bar so it's visible without clicking the hamburger/toggle, though I won't be enforcing it. Anyways, welcome to the webring! 🎉

Actually, don't worry about moving the embed, it's fine where it is. Thanks again for contributing!


More tests

Codecov Report

Merging #21 (bb68a7e) into main (4cfe34d) will increase coverage by 1.04%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main      #21      +/-   ##
============================================
+ Coverage     93.62%   94.67%   +1.04%
+ Complexity      377      374       -3
============================================
  Files            24       24
  Lines          1083     1071      -12
============================================
  Hits           1014     1014
+ Misses           69       57      -12

Impacted Files
Coverage Δ

src/Runner/Fixer.php
78.50% <100.00%> (+4.16%)
:arrow_up:

src/Sniff/AbstractSpacingSniff.php
100.00% <100.00%> (ø)

src/Sniff/BlankEOFSniff.php
100.00% <100.00%> (ø)

src/Sniff/EmptyLinesSniff.php
100.00% <100.00%> (ø)

src/Sniff/TrailingSpaceSniff.php
100.00% <100.00%> (ø)

src/Report/TextFormatter.php
93.75% <0.00%> (+3.12%)
:arrow_up:

src/Report/Report.php
100.00% <0.00%> (+10.25%)
: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 4cfe34d...bb68a7e. Read the comment docs.


Get a score like result

Hey, thanks for all your great work regarding VPR/Image matching etc.
I want to compare two images and get a result, how much image 1 matches 2. Any kind of metric.
I thought about something like
total_possible_keypoints = min(len(result['kpts0']), len(result['kpts1']))
matching_score = (num_inliers / total_possible_keypoints) * 100

Or ensuring the homography matrix is close to the identity matrix or the number of inliers surpasses a certain threshold...
Any hints are helpful. Thanks :)

Usually we rely on the number of inliers (num_inliers) to estimate if two images match or not, which is also what we did in the paper.
The only thing to take into account is that the number of inliers is dependent on the method and not absolute (e.g. RoMa produces a lot of inliers while SIFT-LG produces few)


NTR: 'de novo' GMP biosynthetic process

Please provide as much information as you can:

Suggested term label:
'de novo' GMP biosynthetic process

Definition (free text)
The chemical reactions and pathways resulting in the formation of guanosine 5'-monophosphate (GMP) through an inosine 5'-monophosphate (IMP) intermediate.

Reference, in format PMID:#######
PMID:25605736

Parent term(s)
GMP biosynthetic process (GO:0006177)

Children terms (if applicable) Should any existing terms that should be moved underneath this new proposed term?

Synonyms (please specify, EXACT, BROAD, NARROW or RELATED)

'de novo' guanosine 5'-monophosphate biosynthetic process (exact)

Cross-references

For enzymes, please provide RHEA and/or EC numbers.

Can also provide MetaCyc, KEGG, Wikipedia, and other links.

Any other information
@hdrabkin @deustp01  do you think it would be worthwhile to create the generic 'de novo' purine nucleotide 5'-monophosphate biosynthetic process' term as well? This might allow us to create logical definitions.

@hdrabkin @deustp01 do you think it would be worthwhile to create the generic 'de novo' purine nucleotide 5'-monophosphate biosynthetic process' term as well?
Childe of purine nucleotide biosynthetic process (GO:0006164)?

+id: GO:0106387
+name: 'de novo' GMP biosynthetic process

Child of purine nucleotide biosynthetic process (GO:0006164)?
Yeah. Let's talk about this on the call tomorrow.