Stroke Color and Width merges incorrectly

This is likely very similar to #67 except for the inclusion of custom values.
Example: stroke-[3] stroke-current I would expect to not conflict, but will output stroke-current only.

Hey @austin-thrive! 👋
Just tested this. The reason is that stroke width is a length and tailwind-merge doesn't identify it without any length unit. So correct would be to use stroke-[3px] stroke-current which tailwind-merge would handle correctly.
I just tested this and found out that stroke-[3] also works in Tailwind and CSS which surprised me. Probably SVG handles purely numerical values as px? 🤔
Do you have a use case for using stroke-[3] instead of stroke-[3px]?

Okay, I think if this is officially supported by Tailwind CSS, tailwind-merge should support that too. I'll work out a fix soon!


Update Baseview

Update to the latest version of Baseview. Includes some important fixes for window lifetime management on macOS and removes the Window::open_as_if_parented API.

Does nih_plug use open_parented rather than open_as_if_parented then do you know?

Yeah, NIH-plug doesn't actually make use of open_as_if_parented anywhere, and as far as I know nothing else does either. It's specifically only useful for Audio Unit plugins on macOS (using it in other contexts is incorrect).

Fixes #247


I believe the issue was already reported in the Adonis Discord server and nothing can really be done about it.

ok

ok

chad

I think this pull should be broken up into multiple pull requests to mske merging easier

@xhayper can you potentially remove the nil command, it was broken in a Roblox update and has never been removed from Adonis since. I believe the issue was already reported in the Adonis Discord server and nothing can really be done about it.

@xhayper do not remove :nil. I use it constantly regardless if Roblox no longer allows clients with a nil player object.

@xhayper do not remove :nil. I use it constantly regardless if Roblox no longer allows clients with a nil player object.

Gonna close this PR, it will be much better idea to just create multiple PR for this.


Create rootfinding.py

function file created to find the roots

@s4il3sh Can you add the docstrings and then pull the merge again.

@s4il3sh Can you add the docstrings and then pull the merge again.

sure!


Add support for swizzling readPixels

Add support for swizzling during a readPixel operation on Metal.
Question for reviewers: Would it make more sense to add a new readPixelsSwizzle driver method?

I think we need to implement the swizzle in all backends.
For example by doing the swizzle on the cpu side if needed.

That wouldn't be fun. I'm going to close this for now, as I don't think there's any immediate need for it.


⚠ PrivateHD has degraded performance

In 91babbb, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 3192 ms

Resolved: PrivateHD performance has improved in 3c2fb1e.


change of language

lthe app does not have the option to change the language, and to add new default buttons, such as vacations or medical leave

Hi.  Unfortunately we haven't been able to localise the app with additional languages.   Perhaps in the future.
We made a conscious decision to not differentiate between leave types.  Most organizations have a dedicated vacation tool and some people don't want to share if they have medical leave.  We originally had the Not Working category listed as vacation  but received feedback that it was too limiting as some people have compassionate leave, medical leave, parental leave etc which all don't count as vacation.


Add 'provide' option to Nitro Plugins.

Describe the feature
It would be nice if you could provide objects from Nitro plugins, like you can with Nuxt plugins. In my opinion, this would make the usage of something like Prisma ORM with Nitro much easier.
For example using this syntax, inspired by Nuxt plugins:
import { PrismaClient } from "@prisma/client";

// plugins/prisma.ts
export default defineNitroPlugin((nitroApp) => {
  const prisma = new PrismaClient();

  return {
    provide: {
      db: prisma
    }
  };
});

If there is a better way to do this, or I am misunderstanding something, please let me know.
Additional information

[ ] Would you be willing to help implement this feature?

Would love that too, because I literally ran into just that...also with prisma.
Did you find a good way to get this done for now?

You can use a nitro middleware and do sth. like
import { PrismaClient } from '@prisma/client'

let prisma
export default defineEventHandler((event) => {
  if (!prisma) {
    prisma = new PrismaClient()
  }
  event.context.prisma = prisma
})

A workaround would be a middleware doing sth. like:
import { PrismaClient } from '@prisma/client'

let prisma
export default defineEventHandler((event) => {
  if (!prisma) {
    prisma = new PrismaClient()
  }
  event.context.prisma = prisma
})

For prisma, I simply do this:
Create utils/prisma.ts (server/utils/prisma.ts for nuxt):
import { PrismaClient } from '@prisma/client'

let _prisma: PrismaClient

export const usePrisma = () => {
  if (!_prisma) {
    _prisma = new PrismaClient()
  }
  return _prisma
}

You now have usePrisma() globally in any event handler with types support!

If a service needs context, you can pass event as well to cache it in event.context instead of global context.
import type { EventHandler } from 'h3'

export const useAPIClient = (event: EventHandler) => {
  if (!event.context.apiClient) {
    event.context.apiClient = new MyClient({ /* options basd on events */ })
  }
  return event.context.apiClient
}

You now have useAPIClient(event) in any event handler.

I would generally highly recommend the above solutions, over using a classic global initializer in plugins or middleware providing to the rest of the app. Both H3 and Nitro are designed to have low startup+runtime impact with this mindset.

Global services will be only initialized when the first handler needs them
Request services, will be only initialized when inside a handler, we reach to the first point that needs them

If you prefer, you can still use useNitroApp().prisma = new PrismaClient() to access it in other places with useNitroApp().prisma.

Thank @pi0 for your detailed and clear answer!
So what to do with $connect()?
// @/server/utils/prisma.ts

import { PrismaClient } from '@prisma/client';

let _prisma: PrismaClient;

export const usePrisma = () => {
  if (!_prisma) _prisma = new PrismaClient();

  return _prisma;
};

// @/server/plugins/prisma.ts

export default defineNitroPlugin(async (nitroApp) => {
  const prisma = usePrisma();

  await prisma.$connect();
});

As far as i know, prisma does the connection on first query (it is not required) but if any other usecase needs it, we can cache the promise and access utility as const db = await useDBConnection()

For prisma, I simply do this:
Create utils/prisma.ts (server/utils/prisma.ts for nuxt):
import { PrismaClient } from '@prisma/client'

let _prisma: PrismaClient

export const usePrisma = () => {
  if (!_prisma) {
    _prisma = new PrismaClient()
  }
  return _prisma
}

You now have usePrisma() globally in any event handler with types support!
If a service needs context, you can pass event as well to cache it in event.context instead of global context.
import type { H3Event } from 'h3'

export const useAPIClient = (event: H3Event) => {
  if (!event.context.apiClient) {
    event.context.apiClient = new MyClient({ /* options basd on events */ })
  }
  return event.context.apiClient
}

You now have useAPIClient(event) in any event handler.
I would generally highly recommend the above solutions, over using a classic global initializer in plugins or middleware providing to the rest of the app. Both H3 and Nitro are designed to have low startup+runtime impact with this mindset.

Global services will be only initialized when the first handler needs them
Request services, will be only initialized when inside a handler, we reach to the first point that needs them

If you prefer, you can still do useNitroApp().prisma = new PrismaClient() in a plugin to access it in other places with useNitroApp().prisma or better make a companion utils file that exports usePrisma() for types support.

Thanks @pi0, I must say, your approach to using the Prisma Client is very clear and concise! You've made it incredibly easy to understand how to implement and use it. I am impressed with the way you've structured the code.
However, I am curious about how to gracefully shut down the Prisma Client. Could you kindly provide some guidance or best practices on handling a graceful shutdown? Your expertise would be greatly appreciated.

Thanks for the kind words and happy it was helpful @trylovetom.
I think you need to depend on a node worker event for dev preset to gracefully shutdown. Let me check and come back to you.

@pi0 This topic is important as it may be related to proper resource management and ensuring a smooth application shutdown process, as well as being potentially connected to nuxt #9219. Your insight and guidance on this matter would be greatly appreciated.

@pi0 Hello! I've come across a few workarounds that seem to address this issue. If you have some time, would you mind taking a look and providing your thoughts?
You can find the workarounds here: https://github.com/nuxt/nuxt/issues/19888#issuecomment-1542111353. Your feedback would be much appreciated!

Since Nitro is aiming to be a composable framework, this pattern won't be supported (nor I would advice to use plugins to inject server-wide utils, please consider utils/ dir instead)


chore(repo): pull in ts-reset package

:pencil: Description

:link: Related Issues

:tada: This PR is included in version 1.35.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


BootInfo: Add tls_align

See

https://github.com/hermitcore/libhermit-rs/pull/311

bors r+

bors r+

bors r+

bors r+

bors r+

bors r+


Add ball throwing animation for bowling

Acceptance Criteria

An animation is created for throwing the bowling ball
Animation specifics are discussed with the team (in Discord) - we should have a standard process for animations, especially for Citizen

Completed with #9


Failed to post to Studio

I have a setup with DVC and Ultralytics Yolov8 where I can successfully log my training metrics with dvc live to studio. However on the other machine (Jetson Orin) with the same setup (matching dependency versions) I get the following Warnings:
At the beginning of training:
WARNING:dvclive:'dvclive/dvc.yaml' is in outputs of stage 'dvclive.dvc'.
Remove it from outputs to make DVCLive work as expected.
content of dvclive.dvc:
outs:

md5:<PHONE_NUMBER>20738ff1370ef5fef7b90b.dir
nfiles: 36
hash: md5
path: dvclive
size: 104109217

at each training epoch:
WARNING:dvc_studio_client.post_live_metrics:Failed to post to Studio: Out of range float values are not JSON compliant
WARNING:dvclive:post_to_studio data event failed. Data will be resent on next call.
I just instqlled dvclive and setup dvc logging true in Yolo settings.

@daavoo  Thanks for the fast response !
here is my pipeline:
stages:
train:
cmd: python train.py
params:
- train
deps:
- train.py
- data
test_inference:
cmd: python track.py
deps:
- inference
- model.pt
- track.py
artifacts:
yolo-model:
path: model.pt
type: model
desc: 'Object Detection model, Yolov8'
labels:
- object detection
Yes dvclive is being tracked by dvc.
It seems strange to me that it run smoothly on my first machine. I verified the versions of dvc (3.12) and dvclive (2.14) and they match.
I will check the outcome of the open issue thanks for the support :)

Yes dvclive is being tracked by dvc.

Unfortunately, the dvclive/dvc.yaml file is not meant to be cached by DVC.
Is there a reason for you to dvc add the entire dvclive folder?
If you still want to track all dvclive contents with DVC, you would need to skip dvclive/dvc.yaml.
One option would be to dvc remove dvclive.dvc and track the rest of the contents individually (i.e. dvc add dvclive/plots).
Note that DVCLive has the option to automatically track the images with DVC if you pass Live(cache_images=True), the rest of the contest are plain text files which should not be a problem to track with Git

@daavoo thanks for your help !
Actually Im using dvclive automatic logging with Yolov8 as described here: https://dvc.org/doc/dvclive/ml-frameworks/yolo. I would also be interested in knowing how I can customize or add other metrics in the logging.
Concerning the file tracked by dvc I thought it would be useful to compare the metrics for the different experiment I am running. But maybe Im wrong here, do we only want to track large file with DVC and the rest with git ?

Closing since the Studio bug has been fixed and (hopefully) the expectations of what to track with git and what with DVC have been clarified


Create a QuantumTensorNetwork

We've had multiple requests to include features that are specific to quantum systems. While we would like to keep TensorNetwork as basic and laser focused as possible, it would be useful to have a good tool set for analyzing quantum systems, as I expect that will be the main use case for our users.
What features should we include?

See https://github.com/google/TensorNetwork/issues/145 and https://github.com/google/TensorNetwork/issues/144 for features requests.

I imagine having wrapper classes containing networks together with an interpretation of the dangling legs. This could be done for wavefunctions and operators, where there is some labelling/ordering of the physical sites; two sets of physical legs for the operator case. The network can otherwise be of arbitrary structure. Then we have some functionality on top of these classes, e.g.:

norm of state
trace of operator
operator amplitudes / inner products <psi1|O|psi2>
apply operator to state (how to represent action on only a subsystem, i.e. product with identity?).
multiply operators
state <-> operator isomorphism (reshaping)
reduced density matrices (state -> operator)
...
perhaps: add operators and states (need a lazy representation for a sum of tensor networks? might be useful elsewhere too...)

These operations would just return new tensor networks, which can be contracted later if desired (this would all benefit a lot from contraction-order optimization). This would allow easy quantum experimentation with tensor networks. The nice thing is that all of these operations are very straightforward to implement as abstract operations on tensor networks. This is a bit like how I imagine quimb to work, although I have not used it.
One could also imagine building MPS and other functionality for specific tensor networks on top of this interface: With knowledge about the network structure (e.g. it is an MPS), we can implement more efficient versions of these operations by overriding.

I'd keep the core library as focused as possible and clearly separated from applications. As a first basic application, we can implement 0-dimensional quantum systems, where no specific algorithms are needed to perform the operations @amilsted mentions.
After that, we can extend the base class to higher dimensions and corresponding network architecture. All of this will require specific, and often intricate, implementations of most methods.

@MichaelMarien Why specify a number of dimensions at all? I was thinking of a many-body Hilbert space where each dangling leg represents a "site". Dimensionality, as well as the particular tensor network underlying each operator or state, need not be specified for any of the operations above to make sense.
In other words, I should be able to set up the tensor network contained in a "QuantumState" (or "QuantumOperator") object any way I like, as long as it has the right number of dangling legs (of the right dimensions) to match the targeted Hilbert space. I should also be able to interpret each dangling leg however I want: They might represent sites on some spatial lattice, or they might represent electron orbitals in a molecule, or whatever!

@amilsted not sure we are talking about the same thing. You can for sure define and set up a quantum state and interpret it any way you like, but actually doing calculations (for instance expectations of operators) will be very dimension (spatial, not Hilbert space) dependent.
In 0-dim, i.e., undergraduate QM all you need is matrix multiplication + trace, in 1D, (with MPS) you need to start thinking about left and right eigenvectors of the transfer matrix, gauges, etc.
We might be in agreement after all, to set up a class that describes you one-site tensor, this can be done very generally, but all physically interesting things you'd like to do with them, probably require specific implementations, especially when dealing with thermodynamic limit (as it is no longer just a tensor contraction).

@MichaelMarien I think we are indeed very close to agreement. Perhaps we are just using certain terms differently? I think our only difference is that you seem to be proposing that the most basic implementation of the operations above work with just dense matrices and vectors (if I understood correctly), whereas I do not want to presuppose any particular form for the tensor network underlying a state or operator in the most general (and least efficient) version of this code.
For example, a QuantumState might consist of a single dense tensor with many dangling legs (many sites), or it could be a complicated tensor network with just one dangling leg (a 0-dimensional system). Importantly, we can in principle compute all quantities listed above whatever the tensor network looks like! I want to think of this as a toolbox for experimentation with possibly weird tensor networks (not just MPS, PEPS, etc.), and perhaps as a fallback for code that makes more assumptions. This would not be the code to use e.g. for highly efficient manipulation of MPS, or for states of infinite systems, but it would be fine for occasionally doing nonstandard things like, say, taking the inner product of a small finite MPS with a small PEPS as an experiment (because I should be able to do these things if I want to!).
Regarding particular tensor network ansätze for states and operators, we already have code for infinite and finite MPS, MERA, trees etc. in the repository. That code could be modified and added to, so that it provides the same API for basic operations as the hypothetical QuantumState and QuantumOperator classes that do not assume particular tensor network structure. I completely agree with you that we should carefully consider such specializations when we design the basic API.

@amilsted agreed. Sounds very nice to be able to experiment quickly with weird tensor networks and still be able to contract everything with the same API (although a lot slower) than for particular ansätze. Most importantly, we should think carefully about the API and keep it aligned as much as possible throughout the use cases.

Actually, I have an idea. Rather than trying to create a new QuantumTensorNetwork class, what if instead we provide a set of operations that can be applied to a TensorNetwork object?
The first thing we could try and build would be reduced_density operation. You would give it the TensorNetwork object as well as a list of edges to trace out (Or maybe the list of dangling edges that are to remain, I haven't decided yet). The API would look like this:
tensornetwork.quantum.reduced_density(net, list_of_edges)
This would then return a new TensorNetwork object which when contracted would exactly be the reduced density matrix. The user would still be responsible for contracting the network, but with our new contracting algorithms this shouldn't be too hard.
We could also then prebuild a bunch of quantum operations as node objects, so you could do things like tn.quantum.Hadamard(...), tn.quantum.CZ(...), tn.quantum.CNOT, etc.
I think this would be pretty nice to have, and it should be able to integrate with an TensorNetwork, allowing users to exploit symmetries in operations and build networks that might not exactly be a quantum circuit.

Yes. Of course, we could do both :) The classes could just use these functions internally. The functional interface gives us the advantage (perhaps for JIT or autograph?) of avoiding more container classes, whereas the OO version means we can do operator overloading, e.g. state.conj() @ operator @ state for an expectation value.


[stability] Add low resource tests

TestAppRepeatedlyInLowDisk
TestAppRepeatedlyInLowBattery
Failure analysis:
In low disk, the app cann't be installed repleatly, because their temp files isn't removed when unintall, need to reboot device to clean the temp files.
Impacted tests(approved): new 2, update 0, delete 0
Unit test platform: Crosswalk Project for Android 15.43.355.0
Unit test result summary: pass 1, fail 1, block 0

Report the issue in https://crosswalk-project.org/jira/browse/XWALK-4399


Moderate Severity Vulnerability in Dependency

I have just installed the package using npm and was notified of 2 moderate severity vulnerabilities.
After running npm audit report I get the following output:
# npm audit report

jsonwebtoken  <=8.5.1
Severity: moderate
jsonwebtoken unrestricted key type could lead to legacy keys usage  - https://github.com/advisories/GHSA-8cf7-32gw-wr33
jsonwebtoken's insecure implementation of key retrieval function could lead to Forgeable Public/Private Tokens from RSA to HMAC - https://github.com/advisories/GHSA-hjrf-2m68-5959
jsonwebtoken vulnerable to signature validation bypass due to insecure default algorithm in jwt.verify() - https://github.com/advisories/GHSA-qwph-4952-7xr6
No fix available
node_modules/jsonwebtoken
  intuit-oauth  *
  Depends on vulnerable versions of jsonwebtoken
  node_modules/intuit-oauth

2 moderate severity vulnerabilities

Some issues need review, and may require choosing
a different dependency.

After installing the latest version of the vulnerable package, I do not get any warnings. Therefore I believe that the dependency version may only need updating.

I have just noticed the issue is mentioned in the vulnerability tracker.

Thanks @Sf298 . Please check the latest npm package: https://www.npmjs.com/package/intuit-oauth/v/4.1.1.     closing this issue for now. Feel free to re-open if you see any issues. Thanks again!

npm audit report
jsonwebtoken  <=8.5.1
Severity: moderate
jsonwebtoken unrestricted key type could lead to legacy keys usage  - https://github.com/advisories/GHSA-8cf7-32gw-wr33
jsonwebtoken's insecure implementation of key retrieval function could lead to Forgeable Public/Private Tokens from RSA to HMAC - https://github.com/advisories/GHSA-hjrf-2m68-5959
jsonwebtoken vulnerable to signature validation bypass due to insecure default algorithm in jwt.verify() - https://github.com/advisories/GHSA-qwph-4952-7xr6
No fix available
node_modules/jsonwebtoken
json-server-auth  *
Depends on vulnerable versions of jsonwebtoken
node_modules/json-server-auth
Im too facing this issue and try the following solution, none is working


Error：Cannot find API  'cacheFirst'

https://github.com/GoogleChrome/workbox/blob/master/packages/workbox-sw/demo/service-worker.js#L17
workboxSW.cacheFirst() 　 -> error
workboxSW.strategies.cacheFirst() -> correct

We've removed those demo/ directories, with the intention of https://workboxjs.org/examples/ being the canonical resource.


新版本dubbo-ops使用dubbo.registry.address=redis://XXXX:6379 无法启动

是否还没实现redis作为注册中心

are you using redis as registry center? can you provide the exception during startup

are you using redis as registry center? can you provide the exception during startup

When I started dubbo-admin with redis registry center I can't find providers and consumers. Did I do something wrong or It's not supported yet?

are you using redis as registry center? can you provide the exception during startup

When I started dubbo-admin with redis registry center I can't find providers and consumers. Did I do something wrong or It's not supported yet?

Ok, it's done, It's my mistake. But when I stop provides or consumers, It's still displayed on the page. There isn't a heartbeat to check alive service?


nodejs_22: 22.7.0 -> 22.8.0

Description of changes
https://github.com/nodejs/node/releases/tag/v22.8.0

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Building on aarch64-linux and aarch64-darwin.

Can you rebase/retarget this to staging-next? We shouldn’t wait several more weeks to avoid shipping a known‐broken Node.js and it’d make testing the builds a lot faster.


Correct text instruction

After generating link, it show's Anyone with the PIN also can join the chat
Change it to: Anyone with the PIN or the Link can join your chat

can you assign this to me?

can you please add hacktoberfest accepted tag?

can you please add hacktoberfest-accepted tag?
On Sun, Oct 18, 2020 at 7:41 PM Mukesh<EMAIL_ADDRESS>wrote:

Closed #177 https://github.com/muke1908/chat-e2ee/issues/177.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/muke1908/chat-e2ee/issues/177#event-3890281065, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ARGXF2QV6S3UPJHRMXYHBILSLLZPVANCNFSM4SU42OCQ
.


rustfmt inconsistently formats blank lines in the beginning of blocks

Description
The current implementation exhibits inconsistent behavior for blank lines in the beginning of blocks depending on the type of the block.
The formatter removes all blank lines in the beginning of enum, union, struct, impl and trait.
However, blank lines in fns are trimmed and inserted to match the number of blank lines to blank_lines_lower_bound.
In mod and extern, blank lines are clamped according to blank_lines_lower_bound and blank_lines_upper_bound.
This mismatch appears very strange with custom blank_lines_*_bound values, but even with default values it seems weird.
From the document on blank_lines_lower_bound in Configurations.md, the number of blank lines should be decided according to the blank_lines_*_bound options.
This matches to the current behavior for mod and extern.
On the other hand, some discussions in #2954 and #3382 concluded those options should not affect on it.
This matches to the current behavior for enum, union, struct, impl and trait.
#4295 tried to fix the v2 code, but it is not yet back-ported and still has some bugs like one reported in #5067.
Environment
version: rustfmt 1.4.38-nightly (3e38399e 2022-05-26)
Sample
Source
enum Enum {

    Variant(i64),
}

union Union {

    value: i64,
}

struct Struct {

    value: i64,
}

impl Struct {

    fn struct_func() {}
}

trait Trait {

    fn trait_func();
}

fn toplevel_func() {

    println!("");
}

mod Mod {

    fn mod_func() {}
}

extern "C" {

    fn extern_func();
}

Expected
enum Enum {
    Variant(i64),
}

union Union {
    value: i64,
}

struct Struct {
    value: i64,
}

impl Struct {
    fn struct_func() {}
}

trait Trait {
    fn trait_func();
}

fn toplevel_func() {
    println!("");
}

mod Mod {
    fn mod_func() {}
}

extern "C" {
    fn extern_func();
}

Actual
enum Enum {
    Variant(i64),
}

union Union {
    value: i64,
}

struct Struct {
    value: i64,
}

impl Struct {
    fn struct_func() {}
}

trait Trait {
    fn trait_func();
}

fn toplevel_func() {
    println!("");
}

mod Mod {

    fn mod_func() {}
}

extern "C" {

    fn extern_func();
}

Actual (with blank_lines_lower_bound=1,blank_lines_upper_bound=2)
enum Enum {
    Variant(i64),
}

union Union {
    value: i64,
}

struct Struct {
    value: i64,
}

impl Struct {
    fn struct_func() {}
}

trait Trait {
    fn trait_func();
}

fn toplevel_func() {

    println!("");
}

mod Mod {

    fn mod_func() {}
}

extern "C" {

    fn extern_func();

}

The extern block has an extra blank line in the end of the block, but this is a separate issue?

I noticed this while re-implementing #4303 into the current master branch.
It makes re-implementation trickier than I initially thought...

Thank you for looking at this @wafrelka. Truth be told, I suspect this may require a number of backports (properly sequenced) or perhaps even a re-imagining in the 1.x branch context. My recollection is that the relevant PRs built on some significant code changes that we actually can't (or don't want) to land on the mainline, so the latter may end up being required.
Given the age of both implementation and preceding discussion, it may even be worth trying to figure out what people want, as well as whether the style guide has (or should have) any prescriptions


⚠ Fortnite has degraded performance

In 6eb3625, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1603 ms

Resolved: Fortnite performance has improved in d5c93cc.


Add ternary and math logic in place if/then statements in stream.js

This change substitutes if/then and or statements with corresponding ternary operators, mathematical expressions, or default argument options.

A number of these changes don't even pass linting, which unfortunately means that no testing was done.
Furthermore some of the changes modify the logic, there's also no motivation for why this is necessary, and in my opinion it doesn't improve readability (but rather the opposite).
Finally please keep in mind that this is crucial code, that we don't want to change unless absolutely necessary.


feat: document environment variables

Closed in favor of https://github.com/kamilkisiela/graphql-hive/pull/398


Use Refresh Tokens in Inferno

Would it be possible for inferno to use refresh tokens? Our tokens have a time limit of 10 minutes and that is no longer enough time to run through the 5.0.1 test suite, due to the additional tests.
As we assume inferno will continue to add tests as ONC requirements expand, it would be helpful if inferno could utilize refresh tokens to account for the additional needed time.
Thank you!

Inferno does use refresh tokens.

The  refresh token field in test 6 is not able to be filled out and does not pull forward from the tests that generate the authorization token.

That will be populated if a refresh token is granted.

Did the token refresh tests pass?

Yes, the refresh token test passed.

If you look at test 3.6.04, do the outputs contain a refresh token? If you look at this session, you can see that the refresh token from that test is present in the single patient inputs:

https://inferno.healthit.gov/suites/test_sessions/ab27d38d-95d6-4f55-ab30-dbadf22bce88#g10_certification-g10_smart_ehr_practitioner_app

hmmm. We do not have a refresh token as part of the output.

So I'm assuming if you look at the response to the token request in that test, no refresh token was granted, so there is no refresh token available for the client to use.

We have done more investigation and we are granting a refresh token, but it is not being pulled into the system. The output can be seen on 3.3.07 in this test run, as well as the highlighted portion in the below screenshot.

It is going to use the credentials received from refreshing the access token in 3.6.04. If you look at the token request in 3.6.04, it does not contain a refresh token.

I understand that is the current functionality. Is there a possibility to change the functionality? Because there is no requirement to return a new refresh token at that point when a valid token has already been returned in a different portion of the test.

So in this case the duration of the refresh token is being extended even though a new refresh token is not being granted?

I'm not sure I understand what you mean.
My question is why that refresh token that was granted is not slotted into the single patient tests in the g10 kit. You can copy and paste it into the individual US Core tests, but it doesn't carry through in the g10 test kit and you can't copy it in manually since that field is locked.

From the CCG:

For subsequent connections, access must be granted...when a valid refresh token is supplied by the application. Additionally, a Health IT Module's authorization server must issue a refresh token valid for a new period of no less than three months to applications capable of storing a client secret.

It is a requirement that when a token is refreshed, the new refresh token has a lifetime of at least three months, so I am asking whether the lifetime of the refresh token is being extended in this case even though a new refresh token is not being issued.

@Jammjammjamm The core issue is the way inferno is implemented.  By not using the refresh token from the initial auth, inferno is enforcing that a refresh token be supplied during the token refresh process which is not a requirement in smart v1.  How we handle the duration of the refresh token is immaterial to the issue raised.
Per spec: http://hl7.org/fhir/smart-app-launch/1.0.0/#step-5-later-app-uses-a-refresh-token-to-obtain-a-new-access-token
refresh token in response to a refresh request is optional.
For the record, the refresh token is extended with each use.

Right, we shouldn't discard the original refresh token if we do not receive a refresh_token claim in the refresh token response.  We can fix that -- thanks for identifying that issue for us.  We had previously updated the tests so that systems wouldn't explicitly fail the token refresh tests with this behavior, but we either missed this separate problem or introduced it inadvertently.
@Jammjammjamm's question was motivated by the fact that these tests are in the context of (g)(10), which layers on some requirements on top of SMART, and in that context this behavior is only ok if the duration of the existing refresh token is extended.  Your answer doesn't change that we should fix this behavior in the tests.

Thank you for looking into this, we appreciate it.


Remove Atom from Windows context menu

Atom is integrated into Windows' context menu. For some this might be useful, however I find it annoying. It would be useful if the "Open with Atom" only appeared on eligible files, but the message even appears when right-clicking on an executable.

I tried disabling Atom in the context menu with CCleaner, but even though I disabled it, it's still there:

I also looked in Atom's settings, but I can't find anything. Is there a way to remove Atom from the context menu?

I think this is a duplicate of https://github.com/atom/atom/issues/5901 – let's keep the discussion going there.


Configure custom domain "santeligio.com" on Netlify

References:

https://docs.netlify.com/domains-https/custom-domains/
https://docs.netlify.com/domains-https/custom-domains/configure-external-dns/

Netlify deployment now accessible at

https://santeligio.netlify.app (Netlify subdomain)
https://www.santeligio.com (Primary domain)
https://santeligio.com (Redirects automatically to primary domain)

See https://app.netlify.com/sites/santeligio/domain-management


Make notify route accept any

Klarna (Checkout) sends their callbacks over POST, not GET. Thats why we need to accept any http type in our routes.

agree! thanks for sending a PR


spi_controller: Initial support

This includes initial support for the spi_controller api, including
embedded-hal support. This also sets up a spi_controller_write_read
example for testing.
This applies on top of https://github.com/tock/libtock-rs/pull/540

Am I ok to merge this?


UnicodeEncodeError

Please type any relevant information here
Trace Log

Traceback (most recent call last):
  File "C:\Users\IdeaPad\AppData\Roaming\FlowLauncher\Plugins\ChatGPT-1.1.2\lib\flox\launcher.py", line 44, in run
    results = request_method(*request_parameters) or self._results
  File "C:\Users\IdeaPad\AppData\Roaming\FlowLauncher\Plugins\ChatGPT-1.1.2\lib\flox\__init__.py", line 132, in _query
    self.query(query)
  File "C:\Users\IdeaPad\AppData\Roaming\FlowLauncher\Plugins\ChatGPT-1.1.2\plugin\main.py", line 59, in query
    answer, prompt_timestamp, answer_timestamp = self.send_prompt(
  File "C:\Users\IdeaPad\AppData\Roaming\FlowLauncher\Plugins\ChatGPT-1.1.2\plugin\main.py", line 122, in send_prompt
    response = requests.request(
  File "C:\Users\IdeaPad\AppData\Roaming\FlowLauncher\Plugins\ChatGPT-1.1.2\lib\requests\api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Users\IdeaPad\AppData\Roaming\FlowLauncher\Plugins\ChatGPT-1.1.2\lib\requests\sessions.py", line 587, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Users\IdeaPad\AppData\Roaming\FlowLauncher\Plugins\ChatGPT-1.1.2\lib\requests\sessions.py", line 701, in send
    r = adapter.send(request, **kwargs)
  File "C:\Users\IdeaPad\AppData\Roaming\FlowLauncher\Plugins\ChatGPT-1.1.2\lib\requests\adapters.py", line 489, in send
    resp = conn.urlopen(
  File "C:\Users\IdeaPad\AppData\Roaming\FlowLauncher\Plugins\ChatGPT-1.1.2\lib\urllib3\connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "C:\Users\IdeaPad\AppData\Roaming\FlowLauncher\Plugins\ChatGPT-1.1.2\lib\urllib3\connectionpool.py", line 398, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "C:\Users\IdeaPad\AppData\Roaming\FlowLauncher\Plugins\ChatGPT-1.1.2\lib\urllib3\connection.py", line 244, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "http\client.py", line 1252, in request
  File "http\client.py", line 1293, in _send_request
  File "C:\Users\IdeaPad\AppData\Roaming\FlowLauncher\Plugins\ChatGPT-1.1.2\lib\urllib3\connection.py", line 224, in putheader
    _HTTPConnection.putheader(self, header, *values)
  File "http\client.py", line 1225, in putheader
UnicodeEncodeError: 'latin-1' codec can't encode character '\u01a1' in position 18: ordinal not in range(256)

Hi @luwukien,
It looks like there is non-latin-1 character in your API key. This is a bit surprising though, since I haven't seen this before. Could you validate that you have correctly copy/pasted your API key from OpenAI. Or maybe generate a new one and see if that works?

Hi @MichielvanBeers
I try change API of Chat GPT but I always see this error :

Hi @luwukien,
This is most likely due to the fact that you haven't defined a payment method in your account. If you link a payment method, I expect it to work.

Closing this issue since it has been marked as stall. Please create a new issue if this is still a problem. Thank you for your contribution!


[New game]: Flappy Bird Game #490

PR Description 📜
This project is a web-based implementation of the popular game Flappy Bird using HTML, CSS, and JavaScript. The game aims to guide a bird through a series of obstacles by clicking or tapping on the screen to make the bird flap its wings.
Fixes #490

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[ ] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Thank you @Enhancer18 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

@kunjgit please review this PR

Thank you  @Enhancer18 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


various Evaluate rules

The fromJust/Just stuff is something I saw in the wild. Most others are simply analogous.

I have removed the point-free versions.


add crisis/MsgVerifyInvariant

add crisis module and MsgVerifyInvariant
cc: @ALPAC-4 see this example

Hey! 👋🏻
It would be great to have some documentation. Also on those PR/issues.
External people do not have access to your task management software (Trello?), so hard for us to understand why this is added, what it is for and how to use it.

@RomainLanz This PR adds support for message type /cosmos.crisis.v1beta1.MsgVerifyInvariant from CosmosSDK. The tx has occurred in bombay testnet at height 8152638
https://finder.terra.money/testnet/tx/7BCDA0294CF92DDAB4A8FA758F272CF5DF99B8F20FC106D57288EB1EFAFD2D57


What is the use of duration param?

I want to set an expiry time to my branch IO link. Can I use the duration param? I tried setting it to 60 seconds but it did not expire my link. Here is my code:
def get_branch_io_link(invite_token, invite_role):
client = branchio.Client(settings.BRANCH_IO_KEY)
response = client.create_deep_link_url(
duration=60,
data={
"user": {
"invite_token": invite_token,
"invite_role": invite_role,
}
},
)
url = response[branchio.RETURN_URL]
return url

Sadly I honestly don't remember.  It was a branch.io v1 parameter but I can't find it in the documentation.  I think it was how long to keep the deep link active.
It is not a timeout for the API call.


After having updated it in "2.4.4", a test fails

After having updated it in "2.4.4", my test came to fail.
stacktrace is as follows:
/home/yaginuma/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `require': cannot load such file -- guard (LoadError)
	from /home/yaginuma/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `block in require'
	from /home/yaginuma/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:in `load_dependency'
	from /home/yaginuma/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `require'
	from /home/yaginuma/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/guard-minitest-2.4.4/lib/minitest/guard_minitest_plugin.rb:4:in `<top (required)>'
	from /home/yaginuma/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `require'
	from /home/yaginuma/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `block in require'
	from /home/yaginuma/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:in `load_dependency'
	from /home/yaginuma/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `require'
	from /home/yaginuma/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/minitest-5.5.1/lib/minitest.rb:91:in `block in load_plugins'
	from /home/yaginuma/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/minitest-5.5.1/lib/minitest.rb:85:in `each'
	from /home/yaginuma/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/minitest-5.5.1/lib/minitest.rb:85:in `load_plugins'
	from /home/yaginuma/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/minitest-5.5.1/lib/minitest.rb:114:in `run'
	from /home/yaginuma/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/minitest-5.5.1/lib/minitest.rb:56:in `block in autorun'

I seem to fail for require 'guard'.
Originally I did not add guard to my Gemfile, will it be necessary?
Thanks.

The short answer is yes - you should include gem 'guard' in your Gemfile.
It's a bit tricky to get everything working around guard-minitest, so please do report issues.
Basically, for notification to work, guard-minitest has to use Guard. But since guard-minitest is used for testing other guard plugins, it has to also work without Guard as well (so guard is not a dependency for guard-minitest).
Let me know if you have issues.

Thank you for explanation!
No problem.  I add guard to my Gemfile and cope.
Thanks.


Document our requirement of find_package(Threads)

Per #1472, we require find_package(Threads) when using our CMake package, and don't really document or enforce this.

Well, this one is closed via #1472. But I saw other dependencies we'll have to fix and filed #1563.


Add my first file

i have created my first branch, my file and i have done commit.

This is my first branch.


Setup instructions in conjunction with jaeger-client-python leads to pitfall

See https://github.com/uber/jaeger-client-python/issues/60. Doing the obvious setup, according to the readme of these two projects, leads to a deadlock which is quite tricky to sort out.
I've not yet found an elegant workaround, though I'm not an expert in Jaeger, or Django. In the linked issue, it's suggested the Jaeger tracer not be initialized until after the WSGI server (gunicorn in my case) forks. That seems like a good idea, even if it didn't deadlock.
The closest solution would seem to be putting the initialization of the Jaeger tracer in gunicorns post_fork() hook (or similar for other WSGI servers). Trouble is by that time I'd think OpenTracingMiddleware has already saved a reference to the tracer. So I'm looking at doing something ugly.

So it looks like someone made a fix for this already in #6 , which is from work on the issue at jaegertracing/jaeger-client-python#69
The PR appears to not be approved because the code has jaeger_client hardcoded in and also the maintainer hasn't been given a clear enough picture as to why this solution has to be in place.

I'm hoping @tanner-bruce , @bhs ,  or @carlosalberto  could comment, as we could use this fix too.

@dudymas I'm hoping to get back to it really soon, simply haven't had a chance. There are a few things that need to be fixed in the PR, as well as a change or two and I need to rationalize some of the decisions. I also want to test a different approach to storing the root span that would make the middleware arguably cleaner.

@tanner-bruce would you mind if I make a PR to your repo? I already removed the jaeger client dep and also dried up the middleware to use more of the django helper class for init

@dudymas sure, thanks for putting in the work.

Hi guys, thanks for your work on this! Any idea when can we expect this in master? If there's any work that still needs to be done, I'd be happy to do that...

@ror6ax I've tried a different way of approaching this in #9

@mikebryant - awesome! Hopefully this gets merged soon...


Fix permissions on update.delete

Permission check on deleteUpdate was calling remoteUser.isAdmin with an update ID as param. However isAdmin takes a CollectiveID as parameter, not an update.id:
  User.prototype.isAdmin = function(CollectiveId) {
    const result =
      this.CollectiveId === Number(CollectiveId) ||
      this.hasRole([roles.HOST, roles.ADMIN], CollectiveId);
    debug('isAdmin of CollectiveId', CollectiveId, '?', result);
    return result;
  };

Test deletes an update was successful because the ID we were giving was matching an existing collective for which user had the authorization.

New check has been copied from editUpdate permissions.
However I see a security issue here: if a contributor creates an update then gets removed from the collective, he will still be able to edit and delete updates.
I think we should change the permissions check on both editUpdate and deleteUpdate to only check if user has permissions to edit this collective.

@Betree I agree, who created the update should not matter. +1 for a change.

@znarf I've amended my commit to limit updates edition and deletion to collective admins only.


Add discovery of fuzz targets

Ideally we'd just be able to use the inventory crate and be able to register fuzz targets, but there are some worrisome issues which might mean we miss some :(
The alternative way @dtolnay and I discussed is to statically analyze the Rust source using syn-inline-mod, looking for any instances of the #[propfuzz] macro. This is quite a bit hackier as we have to deal with a bunch of terrible crate visibility issues, but combined with guppy plus some clever hacks it should work in most cases.

This is coming along nicely -- once the upstream change at https://github.com/TedDriggs/syn-inline-mod/pull/17 lands, we should have most of what we need.


Macro: the pop-up window does not appear in fullscreen mode after clicking the “Open” button and the “Save as” button

Case 1: the “Open” button
Steps to Reproduce

Launch “Ketcher” and switch to the Macro mode
Expand the Macromolecules window
Click on the “Open” button
Switch to the collapsed mode

Actual behavior
The “Open Structure” window does not appear in fullscreen mode, when the “Open” button is pressed. When switching to the collapsed mode, the “Open Structure” window is displayed (so this looks like the window is displayed below the fullscreen mode)
Expected behavior
The “Open Structure” window is displayed in fullscreen mode, when the “Open” button is pressed
Case 2:  the “Save as” button
Steps to Reproduce

Launch “Ketcher” and switch to the Macro mode
Expand the Macromolecules window
Click on the “Save as” button
Switch to the collapsed mode

Actual behavior
The “Save Structure” window does not appear in fullscreen mode, when the “Save as” button is pressed. When switching to the collapsed mode, the “Save Structure” window is displayed (so this looks like the window is displayed below the fullscreen mode).
Expected behavior
The “Save Structure” window is displayed in fullscreen mode, when the “Save as” button is pressed
Screenshots
https://github.com/epam/ketcher/assets/139227567/40fc7e51-0932-4d9a-b598-9069d9b0fa72
https://github.com/epam/ketcher/assets/139227567/99097899-2f35-46d9-82ae-4af8b64c4670
Desktop (please complete the following information):

OS: Windows 10 Pro (version 22H2) x64
Browser: Сhrome
Version: (122.0.6261.94) x64

Ketcher version 2.19.0 – rc.1

Tests added to the automation table.

Tested. Fixed. But during testing found bug: https://github.com/epam/ketcher/issues/4263


Change date display format to yyyy.mm.dd for more easy lexical sorting

Eg, 2018.04.25 instead of the current 04/19/2018 or the older 25 April 2018
(not using the ISO format so that we can have the option of using hyphens for compact display of ranges)

Now "%Y-%m-%d" in ice.py app.template_filter("format_date")


Fix Uncaught TypeError: value is undefined when switching Chat Templates

I think the undefined fimTemplates were causing problems with the replaceNewlines function when trying to generate after switching the template. Again a ? should fix the issue.
Uncaught TypeError: value is undefined
    replaceNewlines mikupad.html:3581

Thank you for the patch! I didn't see this coming.


plots.plot_poisson_consistency_test is not capturing inf statistic

For an EvaluationResult object with attribute observed_statistic which equals to inf, (such as the case in the S-test of a forecast with bin rates of 0.0) the plotting function does not capture correctly this issue, but rather lets ax.set_xlim() throw the error.
https://github.com/SCECcode/pycsep/blob/22e964021c73bf33fdd3567bbcd8f6c2b04ef7a4/csep/utils/plots.py#L1051
To reproduce
input
import csep
import numpy
result_dict = {'name': 'Poisson S-Test',
               'sim_name': 'Dummy model',
               'obs_name': None,
               'obs_catalog_repr': '',
               'quantile': 0.0,
               'observed_statistic': -numpy.inf,
               'test_distribution': [-150., -145.],
               'status': 'normal',
               'min_mw': 4.95,
               'type': 'EvaluationResult'}
Result = csep.core.poisson_evaluations.EvaluationResult.from_dict(result_dict)
csep.utils.plots.plot_poisson_consistency_test(Result)

output
  File ".../pycsep/venv/lib/python3.7/site-packages/matplotlib/axes/_base.py", line 3213, in _validate_converted_limits
    raise ValueError("Axis limits cannot be NaN or Inf")
ValueError: Axis limits cannot be NaN or Inf

Do you think we can make a try/except blockthat indicates that this model is diverging, rather than let matplotlib throws the error? Or plot something for this model that indicates that is diverging...  for example something like:

Let me know

im not sure what circumstances would cause this issue except for a forecast that prescribes a zero rate in some cell. regardless, maybe we address this. do you wanna try and make a fix? if not, ill include it in one of the next prs

Perfect. I'll make all the consistency tests  of my models, and then do the fix, so I don't mess with other types of tests.

sounds good. since this issue impacts only the plotting, this fix can be made at any time.

This is solved in #57


Allow empty output and error queues

The response and errors will be put in logs instead.

Don't know what happened. How to rerun the checks?


[Tracking issue] Angular support

- [ ] https://github.com/web-infra-dev/rspack/issues/2377
- [ ] #2374
- [ ] #2375
- [ ] #2376
- [ ] https://github.com/web-infra-dev/rspack/issues/2601

Should we add compilation.rebuildModule as its own task on this issue as well?

shouldn't #2385 also be included for Angular support for namedChunks option?

closed in favor of https://github.com/web-infra-dev/rspack/pull/3009


Complete this implementation

Where are you with this implementation?
Would you be ok to try and integrate it to the apalis ecosystem?

Thank you for following up! I’ve been on my annual vacation but will resume work on this in January 2025.
I’ll also look into integrating it into the Apalis ecosystem as suggested.

Is there anywhere I can help?
Do you have a list of the pending things?

I need to finalize the implementation of the single-table design with the DynamoDB database—this is what I can recall off the top of my head. Since I’m not carrying my laptop, it’s difficult for me to list down the pending issues for this project right now. If you can wait, I’ll start working on this from the third week of January.


Repeated characters inserted in editor

Create the following file.py:
name = f"joao {dsaname}"
ddd
modifieddsadsadsa a long long long modifieddsadsadsa a long long long modifieddsadsadsa a long long long
dsanamedass
dsasdaadss

dsaa

Close the file, open the file again, move the cursor to the end of line 2 and type d.

Duplicate of #49480


Automated cherry pick of #3428: fix: 避免创建vmware磁盘快照

Cherry pick of #3428 on release/2.10.0.
#3428: fix: 避免创建vmware磁盘快照

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.10.0@6b29135). Click here to learn what that means.
The diff coverage is 0%.

@@               Coverage Diff                @@
##             release/2.10.0   #3446   +/-   ##
================================================
  Coverage                  ?   7.46%
================================================
  Files                     ?     414
  Lines                     ?   66251
  Branches                  ?       0
================================================
  Hits                      ?    4946
  Misses                    ?   60882
  Partials                  ?     423

Flag
Coverage Δ

#aFlag
7.46% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/disks.go
0.71% <0%> (ø)

pkg/compute/models/snapshots.go
1.74% <0%> (ø)

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 6b29135...54450e1. Read the comment docs.

/approve
/lgtm


Speed up testing with jest

Description
Also fix a test case which was reporting false positive.
The effect is mostly significant when running a subset of the test cases.
closes #2629
Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[x] Attached issue to pull request
[x] Changelog entry
[x] Code is clear and sufficiently documented
[x] Sufficient test cases (reproduces the bug/tests the requested feature)
[x] Correct, in line with design
[x] ~End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )~

Reviewer Checklist:

[ ] Sufficient test cases (reproduces the bug/tests the requested feature)
[ ] Code is clear and sufficiently documented
[ ] Correct, in line with design

Processing this pull request

Failed to merge changes into iso4 due to merge conflict.Please open a pull request for these branches separately.

Merged into branches master, iso5 in f7efa33d81ff356db7f38f1e04d4e1cbf449807a

Not closing this pull request due to previously commented issues for some of the destination branches. Please open a separate pull request for those branches. You can safely close this pull request and delete the source branch.


It works on cmd.exe now! #1

I changed the section which changes name of .env file.
Now, it can be used with cmd.exe

I changed rename function to async type.


Fixes to variant qc evaluation

First pass at a PR to fix variant QC evaluation bugs found by Grace and revert back to ranking then binning instead of using approx quantile.

The current PR replaces the quantile approx functionality, but I am also open to adding it in with a warning about unequal binning when there are duplicate boundaries

The current PR replaces the quantile approx functionality, but I am also open to adding it in with a warning about unequal binning when there are duplicate boundaries


[REQ]Add Nervos Network - CKB logo

Project info
{
    "ckb": {
        "name": "Nervos Network",
        "symbol": "CKB",
        "website": "https://nervos.org"
    }
}

Logos

Logo Requirements:

Format: PNG, SVG
Dimensions: Square, minimum size of 200 * 200 pixels
Thumbnail: PNG format, size of 100 * 100 pixels

Upload your logo to here:

PNG logo:

SVG logo:

Thumbnail logo:

Notes:
Please ensure that the provided logo meets the above requirements.
When submitting the logo, please include the project name in the title.
If there are any additional relevant details, please add them here.

issue template.


fix scalafix on JDK 9

references https://github.com/sbt/zinc/issues/520 /cc @olafurpg

https://scala-ci.typesafe.com/view/scala-2.12.x/job/scala-2.12.x-jdk9-integrate-community-build/439/consoleFull

[scalafix] [error] Failed tests:
[scalafix] [error] 	scalafix.tests.cli.CliSyntacticSuite
[scalafix] [error] 	scalafix.tests.cli.CliSemanticSuite
[scalafix] [error] 	scalafix.tests.util.PrettyExpectSuite
[scalafix] [error] 	scalafix.tests.cli.CliGitDiffSuite
[scalafix] [error] 	scalafix.tests.cli.CliSuppressSuite
[scalafix] [error] Error during tests:
[scalafix] [error] 	scalafix.tests.core.SemanticdbIndexSuite
[scalafix] [error] 	scalafix.tests.rule.RuleSuite
[scalafix] [error] 	scalafix.tests.core.PrettyTypeFuzzSuite
[scalafix] [error] 	scalafix.tests.core.PrettyTypeSuite
[scalafix] [error] 	scalafix.tests.v0.LegacyDenotationSuite
[scalafix] [error] 	scalafix.tests.v1.SymbolInfoSuite
[scalafix] [error] 	scalafix.tests.core.DenotationOpsSuite
[scalafix] [error] 	scalafix.tests.core.BasePrettyTypeSuite
[scalafix] [error] 	scalafix.tests.core.SymbolMatcherSuite
[scalafix] [error] 	scalafix.tests.v0.LegacySyntheticsSuite

this is reproducible outside dbuild with by running on Java 9 and doing sbt -J--add-modules=java.xml.bind followed by set every javaHome := None (I find this is needed on my Mac as well as Jenkins) followed by unit/Test/test
I tried JDK 10 as well, same result.
@olafurpg shall I open a ticket in the scalafix repo? I see your https://github.com/scalacenter/scalafix/blob/master/.travis.yml only has oraclejdk8
an example failure looks like
[info] - --help *** FAILED *** (349 milliseconds)
[info]   CommandLineError=4 did not equal Ok=0 error: Unable to load symbol table (BaseCliSuite.scala:73)

@olafurpg for context, it's not strictly necessary that every project in the Scala community build be buildable on Java 9, 10, or 11. we're just trying to get as many of them green as we can to increase overall coverage, and since often the required fixes are tiny.

I guess this line here is the culprit https://github.com/scalacenter/scalafix/blob/6584af204fd2a5ef0c261fdc97ad599962a8ffa0/scalafix-reflect/src/main/scala/scalafix/internal/reflect/ClasspathOps.scala#L20
def bootClasspath: Option[Classpath] = sys.props.collectFirst {
    case (k, v) if k.endsWith(".boot.class.path") => Classpath(v)
}

What is the JDK 9 equivalent? We do the same in the Scalameta build to access the local file path to rt.jar and friends.

@retronym can you advise Olaf on this...?

we can bother Jason about it after he's not on the 2.12.7 hot seat anymore :-)

note that --add-modules=java.xml.bind doesn't work anymore as of JDK 11, instead you do e.g. libraryDependencies += "javax.xml.bind" % "jaxb-api" % "2.3.0"

ping @retronym

We BTW already have a java-11-compat branch in scalafix that fixes lower hanging fruit issues like build.sbt settings and String.lines.

anyway in the 2.12.x-on-JDK11 build currently,
[info] Project scalafix--------------------: DID NOT RUN (stuck on broken dependencies: coursier, slick)

so this isn't an even an issue currently until those two upstream projects become buildable on JDK 11

Scalafix works on JDK 11 now and we run CI on openjdk11 for every PR.


Proxy Providers Alternatives.

Thanks so much for this great app.
I'm using IPRoyal at the moment. they were very kind to give me 1gb for free trial. After testing everything look all is woriking OK.   but it seems that even using lowering resolution in the settings every 20 views cost about  1 USD to watch 25-35% of an 8 Minutes Video.    I would love to increase my watch time but would get really expensive in my case.
My Goal would be like 1000 Views  ,  50-60% of a 8 minutes video.  (If I'm not wrong the data useage is about 170gb) At current offer pricing  (BTW I  know IPRoyal  is great wen compared to other) would be about  100 USD which is eye-watering eye.
Those these number seems OK or I'm using too much data?   What would be the best alternative for me? there is any other proxy provides that can do 170GB  for cheaper like 30 USD or so ?

Basically, residential proxies costs a lot. But Iproyal offered 80% discount for my users in their royal residential proxies. You could use data center proxies too, that will cost less. Search Google for more proxy providers compare them and choose one that cost effective for your need. Like some providers will give you huge bandwidth you will pay for the number of proxies..some will give you unlimited proxies but you will for bandwidth.. to answer your last question, yes data center proxies would give you that kind of deal


[DateTimePicker] Handle onChange and add types

Handle onChange event and add three separate types of rendering (date / time / datetime).

:tada: This issue has been resolved in version 9.9.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Blocked scroll page

Blocked scroll page, when we haven't items in scrollArea(we have fixed height).
How does it solve?

Hi,
By "scroll page" you mean native browser scrollbar? If yes, version 0.4.1 of react-scrollbar should fix that problem (see issue #31).

Thanks!


container: use distro packages

Use the distribution packages in the container instead of downloading them from pypi.

Draft PR for now, we need to drop the click dependency for this to work #67.

click droppage in #102.


Refactor paths / Limit paths

Whats in this PR:

Slight path refactoring
Limits number of paths
Closes gap between path and body
Deletes last point in path when max is reached instead of deleting whole path (Shifting arrays is surprisingly efficient)

How to test:

[ ] Select a far-orbiting body and allow the path to grow.
[ ] Notice the end of the path begins to move instead of the entire thing disheartening
[ ] Select a total of five paths, remember the path that was selected first
[ ] Select a new path and notice the first one is deleted
[ ] Confirm there is never a visible gap between body and path
[ ] Confirm line doesn't look weird with cardinal interpolation
[ ] Give yourself a pat on the back, you dun gud

I like reading your PRs.


Decimal field: can't delete the value

Add another check if value is empty or use it.toIntOrNull() ?: 0

Yeah, I was too strict with this "validation". Now it actually validates and shows an error if it doesn't like the input :) Thanks for opening an issue :)


Map drifts after long rotation

Hello,
I'm using Google Cartographer (master branch) to build a 2D map with odometry and laser scan from RPLidar - A3 on Intel NUC with Intel Core i7-7567U and 16GB on Ubuntu 16.04 with ROS Kinetic. But map drifts while robot is rotated for a long time as you can see on images below:

It happens on angular velocity equals to 1 rad/sec. For a smaller velocities (near 0.2-0.3) map seems good.
I'm also using laser filter (from ROS laser_filters package : LaserScanAngularBoundsFilterInPlace) because of robot construction

I've tried to tune cartographer's local slam (POSE_GRAPH.optimize_every_n_nodes is set to 0), but could not achieve any good results.
This is my configuration file:  configuration lua
There are my bag files (for first and second images respectively):
bag of fist map
bag of second map
And there are outputs from rosbag_validate:
rosbag_validate of first map's bagfile
rosbag_validate of second map's bagfile
There is also some problem with timestamps of /odom topic from OpenCR, so i change stams in another ros node (just using ros::Time::now() )and then send it to cartographer node via remap from="/odom" to "/odom_server".
So the question is:
How can i tune Google Cartographer for my robot? Or the problem grows from robot's hardware and sensors?

Change the rotation weight and look if it helps

Change the rotation weight and look if it helps

There are modified weights in the configuration file. The problem appears after scan goes with it rear side split. Real time correlative scan matcher gives better results but they aren't ideal too.
I'd like to understand if such scan filter is a problem for the Cartographer. Or maybe problem in scan rate or something else?

I'm dealing with the exact same problem as you. My temporary fix for it is to change ceres_scan_matcher.rotation_weight = 4e3, voxel_filter_size = 0.01 and use a phone as IMU source instead of regular MPU6050 (or similar). But as the map get bigger, it broken. Another problem is that this method seem to overwrite old/added scan within submap.
The rest setting is mostly same as turtlebot3 slam simulation example.
Tell me if you found anything else! I'm banging my head with the tuning instruction because it lack of image or video for illustration. Besides it does not tell when the tune is good enough to move on to the next tuning step so I'm just blindly tuning what I suspect to be the culprit right now.

@ArcticCat yeah cartographer need accurate predict to do scan match, when you get faster, your angular prediction from odometry become inaccurate. You can try to use IMU and publish Imu message at high frequency, that maybe helped.

But cartographer uses IMU only for finding a normal to the horizontal surface in 2D mapping, doesn't it?

@Yu-Xiaoxian , but cartographer uses IMU only for finding a normal to the the horizontal surface in 2D mapping, doesn't it?

@Yu-Xiaoxian , but cartographer uses IMU only for finding a normal to the the horizontal surface in 2D mapping, doesn't it?

Correct! That's what they said in Cartographer doc. Even in the simulation example of turtlebot3, I saw they use a node (flat_world_imu_node) which zero-ing xy components & set z to a constant number (9.8 m/s^2) to filter IMU data before feeding it to cartographer node.

@Yu-Xiaoxian , but cartographer uses IMU only for finding a normal to the the horizontal surface in 2D mapping, doesn't it?

Exactly, pose extrapolator use IMU to predict the pose, which will be the initial guess for ceres scan matcher. And ceres scan matcher is very sensitive to initial pose, as a result an accurate orientation is very important.


Pytorch reimplementation

Hi, I really like this work. I just wonder whether you have the plan to reimplement it using Pytorch? Or release the pytorch pre-trained model?

I am currently working on this project with PyTorch and PyTorch3D. Things are almost done except the settings of the camera so that the 8 transformation parameters can work with the rendered image. Now I hope the author could provide the parameters of the camera.

@HoiM Hello, any progress？

@HoiM Hello, any progress？

Got no reply from the author...

I am confused about the parameters of the camera you said. are they different from camera projection parameters？In the paper, it said "the camera projection parameters estimated by the encoder"

I am currently working on this project with PyTorch and PyTorch3D. Things are almost done except the settings of the camera so that the 8 transformation parameters can work with the rendered image. Now I hope the author could provide the parameters of the camera.

Hi, did you find that the z-buffer kernel is not differentiable in the code? How can you resovle this problem with pytorch?

@invisprints Maybe I was confused. The camera model used in the paper is weak perspective projection camera model. Based on my understanding, the 8 parameters can directly convert a 3D point to a plane. While in my implementation, I used the perspective projection camera model, where field of view, location of the camera in the world system, and the focal length must be set. Maybe the 8 parameters are already enough.
Please feel free to correct me if anything I said was wrong.

@chaoshiedwin I switched to another work and successfully implemented the rendering process. Here the camera model is weak perspective model. But I used OpenGLPerspectiveCamera in PyTorch3D, where Z-buffer is not needed to be coded by hand.


Add touchpad angle as the .z component in touchpadAxis

In some cases I've found it really useful to have the angle the users finger is around the centre of the touchpad available in all the touchpad events.
E.g. if you divide the pad up into sections, each of which does a different thing.
0 degrees would be up and 90 would be right.

I like the idea. Is this something you could do a PR on?

Yep absolutely, will do that later
On Tue, 7 Jun 2016 07:10 StoneFox<EMAIL_ADDRESS>wrote:

I like the idea. Is this something you could do a PR on?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/thestonefox/SteamVR_Unity_Toolkit/issues/141#issuecomment-224188096,
or mute the thread
https://github.com/notifications/unsubscribe/AAkO_lhmvCgQ-iT3MmuehtkjFf04rGHtks5qJQqzgaJpZM4IvlAe
.

Done - however I've added it as an extra field rather than the .z of
.touchpadAxis.  I think the ability to get the magnitude of .touchpadAxis
is useful and would be broken by adding the angle to .z.
On Tue, 7 Jun 2016 at 07:11 Tenebrous<EMAIL_ADDRESS>wrote:

Yep absolutely, will do that later
On Tue, 7 Jun 2016 07:10 StoneFox<EMAIL_ADDRESS>wrote:

I like the idea. Is this something you could do a PR on?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/thestonefox/SteamVR_Unity_Toolkit/issues/141#issuecomment-224188096,
or mute the thread
https://github.com/notifications/unsubscribe/AAkO_lhmvCgQ-iT3MmuehtkjFf04rGHtks5qJQqzgaJpZM4IvlAe
.

Completed with 0e5ccab5da13478990055ceec7e4750278435c4f
Thanks @Tenebrous :heart: :green_heart: :blue_heart: :yellow_heart:


Track parsed url parts in GitSourceUrl

Like in GitSourceDist, we should track the parsed url parts in GitSourceUrl to resolve https://github.com/astral-sh/uv/pull/3458/files#r1599281039. Half of it is https://github.com/astral-sh/uv/compare/konsti/track-url-parts-in-git-source-url, but it still needs lifetime fixes for resolve_requirement.

I can do this.


Add search

Navigating through menus to find a particular command or set of docs is getting tricky now that there's a bunch of categories. It'd be great if we could search with Algolia or similar.

there is search: 🔍

Oops, I overlooked that tiny icon. 🙈


Add CocoaPods support

Please, register sumup-ios-sdk project in CocoaPods. This will help to keep SDK up to date in our projects.

we agree it is not in there yet right?

Correct. Not supported at the moment.

When you plan to add this? This is very easy to implement. I've made pod for this locally in just few minutes, but local pod does not solve problem.

We are currently working on it.

Hi
I think I found part of the issue and have been able to reproduce it .
When Adding the SDK , my version of XCode  added the project as a target
for the SDK.
Unckecking the project for the bundle file and SDK seem to have remove some
of error message.
I still have SumupSDK.framework: bundle format unrecognized, invalid, or
unsuitable
Command /usr/bin/codesign failed with exit code 1
2017-03-03 9:17 GMT+01:00 Hagi<EMAIL_ADDRESS>
We are currently working on it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sumup/sumup-ios-sdk/issues/19#issuecomment-283893419,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADghiOVuim_EFuXrHt1V1FeMv-3M5yUMks5rh8yWgaJpZM4KcFzZ
.

Any update on this?

Since this issue is not solved yet, @thom-ek , could you elaborate on how you created a pod locally? What is your .podspec? Any help would be greatly appreciated!

We have just released the SumUpSDK 3.0 beta 1, which among many other improvements, includes support for CocoaPods.
https://github.com/sumup/sumup-ios-sdk/releases/tag/v3.0b1
Version 3.0 includes a couple of source-breaking changes. While all of them should be trivial to fix (if not, please let us know), we encourage you to read the migration guide carefully.
We hope the Pods support works as expected. Thanks for your patience.

Sorry for the long wait, but not v3.0 is officially out, including CocoaPods support.


Bug with Something and empty line right after

Hello!
I was writing a markdown and compiling it with Stylemark normally. However, the page started to translate some code blocks into  elements instead of the i-code block. I did some tests and apparently, this bug needs a
Something
 followed by an empty line in order to work.
An example:
---base.html

        <button class="btn">Base Default</button>

      .btn

        <button class=btn" disabled>Base Default</button>

      .btn [disabled]

---

Test

Test

Obs.: I put '---' just to indicate a code inside .md
This results in breaking some of the code blocks in the page. I tried the same thing with h1, h2, h3, h5 and h6. Apparently, it only works with

Test

Test

This code will not break the page since it doesn't have an empty line being followed by the
 line.
To solve this problem, I just used
 instead, but I think it is important to report it.

This sounds very strange indeed. We’ll investigate soon.


Referencecomp

Reference component improved. Implements canvas changes from tooltip  and resizes with sidebar. Opens and toggles sidebar and reference tool onclick reference.

Looks good, however I've noticed a few more things:

in the reference view wrapper, add a border-radius: 4px; so it matches the design on Figma
also in the reference view wrapper, add a margin-bottom: 16px; to the image, and vertical-align: top; (that removes the extra margin that svg images sometimes have)

Also could we remove the changes made to the files that are not relevant to this PR (specifically Amplify files).

done with changes. Pls kindly verify @vlahovivan @nMedic246


Move server context creation to a factory

The puzzle 33-8cc5359b from #33 has to be resolved:
https://github.com/Decision-Driven-Development/logic-checker/blob/81cbe76b90579f5f889d0571d85f7eb8abfe910e/src/main/java/ru/ewc/checklogic/ServerContext.java#L137-L137
The puzzle was created by Евгений Терехов on 24-Jul-24.
role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 33-8cc5359b has disappeared from the source code, that's why I closed this issue.


Spring webflux has trace context removed before response finishes

Describe the Bug
The scope.close() method is called in the TracingFilter after the chain.doFilter call has been executed. However, for Spring Webflux requests the response is not yet resolved. Other filters cannot log until the response is returned (e.g. they need to log the response code). This occurs after the full filter chain executes. By this point the trace context has been deleted so the other filter cannot then associate its log statement with the trace context.
Steps to Reproduce

Create a SpringBoot WebFlux project with the TracingFilter enabled (The Spring Sleuth library should do this by default).
Add new custom Filter

public class AccessLoggingFilter implements Filter {

    private static final Logger logger = LoggerFactory.getLogger(AccessLoggingFilter.class);

    @Override
    public final void doFilter(ServletRequest request, ServletResponse response, FilterChain filterChain) throws IOException, ServletException {
        try {
            filterChain.doFilter(request, response);
        } finally {
            if (request.isAsyncStarted()) {
                request.getAsyncContext().addListener(new AsyncListener() {
                    @Override
                    public void onStartAsync(AsyncEvent event) {
                    }

                    @Override
                    public void onComplete(AsyncEvent event) {
                        logger.info("COMPLETE" + MDC.get("traceId"))
                    }

                    @Override
                    public void onTimeout(AsyncEvent event) {
                        logger.info("TIMEOUT" + MDC.get("traceId"))
                    }

                    @Override
                    public void onError(AsyncEvent event) {
                        logger.info("ERROR" + MDC.get("traceId"))
                    }
                });
            } else {
                logger.info("Not async")
            }
        }
    }
}

Create A @RestController with two endpoints

@RestController
@RequestMapping("/api/test")
class TestController {
    @GetMapping("asynchronous")
    public void Mono<String> getAsyncResponse(){
    	return Mono.just("Anything");
    }

    @GetMapping("synchronous")
    public void String getSyncResponse(){
    	return "Anything;
    }
}

Make a request to each endpoint and check the log output
Expected Behaviour
The call to get the trace id in the logged filter has access to the trace context regardless of whether the request is synchronous or not

can you join gitter first? sleuth uses direct instrumentation for webflux, not servlet filter. let's discuss first https://gitter.im/openzipkin/zipkin

regardless, I'll try to add something to our collection in ITServlet3Container. thanks

ok reactor was a red-herring. this is a problem when tomcat is the backend of webflux

To fix this at servlet abstraction would be pretty gnarly because what we'd have to do is wrap the HttpServletRequest, so that we can later wrap request.getAsyncContext().addListener(
This would also be extremely brittle because similar to JMS we'd have to guard all the methods on our wrapper of HttpServletRequest and AsyncContext to see which methods were added in version 3.0 vs 3.1 and 4.0.
As this is significant work, I'd like to understand the impact. I assume access logging is just an example as there are other ways to do that. How is this effecting you?
Also, the current trace context is already a servlet attribute named TraceContext.class.getName(), does this avail any workarounds to you?
cc @nicmunroe for trivia

Thanks for the ping - it's always nice to know what dragons exist.
I'm confused though, WebFlux is not servlet-based. Servlet stuff shouldn't work at all from what I understand, and I'm surprised a servlet filter works at all.
Ah, just read the rest of the comments. I didn't realize tomcat could even be used to power WebFlux. 🤷♂
In any case thanks for the heads-up, and good luck untangling it!


Requesting new feature 'async'.

https://github.com/ms-jpq/lua-async-await

I don't get it. Lua already has coroutines, and Pluto already has the scheduler library to reduce the boilerplate around using them.
Furthermore, the way we design our standard library is so that it can be used in both blocking and non-blocking ways, so I just don't see what problem this is trying to solve.


Add conda build recipe and anaconda.org build script

@jonathanslenders ... I saw you added conda packages to https://conda.anaconda.org/conda-forge . That is great. I will just close this one...


New

Updating OSSP master and also a few in OSSP CVE details.

@vasanth2023 Please rename the OSSPCVE files based on the standard we discussed.


Rename hook to display toolbar buttons + some fixes

SOme fixes introduced by https://github.com/PrestaShop/PrestaShop/pull/27485/commits/8962136813325f48d96343908c15fcd557b7c874

We cannot merge this one until https://github.com/PrestaShop/PrestaShop/pull/27485 is validated


In multi selection option if we have same name for 2 entries then these names selected when tap on one.

In multi selection option if we have same name for 2 entries then these 2 names selected when tap on one.
If i want to select 1 entry at one click, how is it possible? Is there any solution?

@jasmit34 each entry should be unique for the selection. You should only show one of them in the list.

Thanks for your prompt response.
Yes but sometimes both users have same name so it creates issue, Let me know if any workaround.

@jasmit34 Menu accepts any type that implements Equatable. You should pass entier model in the list instead of passing strings array. Also your model should implement Equatable to uniquely identify each user.

Yes working fine. Thanks @rushisangani


failed to apply update 11: Failed to add project_id column: FOREIGN KEY constraint failed

Required information

Distribution: Ubuntu
Distribution version: 16.04
The output of "lxc info" or if that fails:

Kernel version: 4.4.0-135
LXC version: 3.5 (6decb1bfad667f23e7a5534b86df0efc096ca0a1) build from the source
LXD version: 3.5 (6decb1bfad667f23e7a5534b86df0efc096ca0a1) build from the source
Storage backend in use: zfs

Issue description
Everything was fine, I tried to build from the source normally as I do weekly.
When I tried to access the LXC I got this message:
Error: Get http://unix.socket/1.0: dial unix /var/lib/lxd/unix.socket: connect: no such file or directory
Then I tried see the daemon log in debug mode and saw this message:
failed to apply update 11: Failed to add project_id column: FOREIGN KEY constraint failed
Information to attach
sudo -E $GOPATH/bin/lxd --debug --group sudo
INFO[10-10|00:27:06] LXD 3.5 is starting in normal mode       path=/var/lib/lxd
INFO[10-10|00:27:06] Kernel uid/gid map:
INFO[10-10|00:27:06]  - u 0 0<PHONE_NUMBER>
INFO[10-10|00:27:06]  - g 0 0<PHONE_NUMBER>
INFO[10-10|00:27:06] Configured LXD uid/gid map:
INFO[10-10|00:27:06]  - u 0 1000000 65536
INFO[10-10|00:27:06]  - g 0 1000000 65536
WARN[10-10|00:27:06] CGroup memory swap accounting is disabled, swap limits will be ignored.
DBUG[10-10|00:27:06] Failed to set NETLINK_DUMP_STRICT_CHK socket option
DBUG[10-10|00:27:06] Running kernel does not support netnsid-based network retrieval
DBUG[10-10|00:27:06] Running kernel does not support uevent injection
INFO[10-10|00:27:06] Initializing local database
INFO[10-10|00:27:06] Initializing database gateway
INFO[10-10|00:27:06] Start database node                      address= id=1
INFO[10-10|00:27:06] Raft: Restored from snapshot 1-20209-1538402836859
INFO[10-10|00:27:06] Raft: Initial configuration (index=1): [{Suffrage:Voter ID:1 Address:0}]
INFO[10-10|00:27:06] Raft: Node at 0 [Leader] entering Leader state
INFO[10-10|00:27:06] Dqlite: starting event loop
DBUG[10-10|00:27:06] Dqlite: accepting connections
INFO[10-10|00:27:06] LXD isn't socket activated
INFO[10-10|00:27:06] Starting /dev/lxd handler:
INFO[10-10|00:27:06]  - binding devlxd socket                 socket=/var/lib/lxd/devlxd/sock
INFO[10-10|00:27:06] REST API daemon:
INFO[10-10|00:27:06]  - binding Unix socket                   socket=/var/lib/lxd/unix.socket
INFO[10-10|00:27:06]  - binding TCP socket                    socket=[::]:8443
INFO[10-10|00:27:06] Initializing global database
INFO[10-10|00:27:06] Dqlite: handling new connection (fd=19)
INFO[10-10|00:27:06] Dqlite: connected address=0 attempt=0
INFO[10-10|00:27:06] Updating the LXD global schema. Backup made as "global.bak"
DBUG[10-10|00:27:06] Updating global DB schema from 11 to 12
DBUG[10-10|00:27:06] Database error: &errors.errorString{s:"failed to apply update 11: Failed to add project_id column: FOREIGN KEY constraint failed"}
EROR[10-10|00:27:06] Failed to start the daemon: failed to open cluster database: failed to ensure schema: failed to apply update 11: Failed to add project_id column: FOREIGN KEY constraint failed
INFO[10-10|00:27:06] Starting shutdown sequence
INFO[10-10|00:27:06] Stopping REST API handler:
INFO[10-10|00:27:06]  - closing socket                        socket=[::]:8443
INFO[10-10|00:27:06]  - closing socket                        socket=/var/lib/lxd/unix.socket
INFO[10-10|00:27:06] Stopping /dev/lxd handler:
INFO[10-10|00:27:06]  - closing socket                        socket=/var/lib/lxd/devlxd/sock
INFO[10-10|00:27:06] Stop database gateway
INFO[10-10|00:27:06] Stop raft instance
INFO[10-10|00:27:06] Dqlite: stopping event loop
EROR[10-10|00:27:06] Dqlite: aborting (fd=19 state=header msg=(null))
INFO[10-10|00:27:06] Dqlite: event loop stopped
DBUG[10-10|00:27:06] Not unmounting temporary filesystems (containers are still running)
INFO[10-10|00:27:06] Saving simplestreams cache
INFO[10-10|00:27:06] Saved simplestreams cache
Error: failed to open cluster database: failed to ensure schema: failed to apply update 11: Failed to add project_id column: FOREIGN KEY constraint failed

[ ] Any relevant kernel output (dmesg)
[ ] Container log (lxc info NAME --show-log)
[ ] Container configuration (lxc config show NAME --expanded)
[ ] Main daemon log (at /var/log/lxd/lxd.log or /var/snap/lxd/common/lxd/logs/lxd.log)
[ ] Output of the client with --debug
[x] Output of the daemon with --debug (alternatively output of lxc monitor while reproducing the issue)

Assigning to @freeekanayaka if I don't get to look into this before going to bed

Thank you worked nice ! :)


Alternative for Snort Rule Options Dict

Cant use the current dictionary set up for SnortRule objects, as having multiple options with the same keyword overwrites options.

Ended up using a list and adding each option as a dictionary to the list.


Background point (negative sample) for prompt

请问在推理时输入点提示，除了输入前景（正样本）的提示外，还可以输出负样本的样点吗，谢谢！

Hi @helonin ,
We did not experiment with such functionality. However, you can try it yourself by modifying the code.
Best regards,


Help in understanding TVMWrap_GetInputPtr and TVMWrap_GetOutputPtr

Hello,
First of all I'd like to thank you, it is indeed a great work what you've done.
I have a question not really an issue, but I am having trouble understanding the call to TVMWrap_GetInputPtr and TVMWrap_GetOutputPtr functions in main.c.
For example, for the given model example cifar10.tflite, which has an input of size (32x32x3) how come we only pass a float (3.14/2f) to TVMWrap_GetInputPtr(0) ? And same for TVMWrap_GetOutputPtr, I'm not sure about what "result" actually represents.
Thanks in advance !
int main()
{
    TVMWrap_Init();

    *(float*)TVMWrap_GetInputPtr(0) = 3.14/2f;

    TVMWrap_Run();

    float result;
    *(volatile float*)&result = *(float *)TVMWrap_GetOutputPtr(0);

    DBGPRINTF("out: %f\n", result);
}

Hello, thanks for you interest!
This is actually just a lazy test that does not do anything useful for cifar10. The test code was primarility intended for the sine_model.tflite, where we pass a value x and expect ~sin(x) in the output. It is also "valid" for cifar10, but the computation is not meaningful.
For cifar10, the input is supposed to be an image from the "cifar10" dataset (3 channels for 3 colors) and the output is the softmax of the 10 classes that you can classify with this dataset. The GetInput/OutputPtr functions just return a base pointer where you can copy the flattened tensor data. For writing a bit more generic code, you have TVMWrap_GetInputSize, TVMWrap_GetOutputSize, TVMWrap_GetNumInputs and TVMWrap_GetNumOutputs, but usually you'd know your model inputs and outputs anyway.

Thank you for your reply!
Ok, that's what I thought.
I tried passing a flattened tensor but I don't think I am doing this correctly as it doesn't work, what am I missing?
Should I pass it in the runtime_wrapper.c instead?
That's what I tried:
int main()
{
    TVMWrap_Init();

    float input_data[32 * 32 * 3];
    FILE* fp = fopen("cat.bin", "rb");
    (void)fread(input_data, 3072, 4, fp);
    fclose(fp);

    *(float*)TVMWrap_GetInputPtr(0) = *(float*)&input_data;

    TVMWrap_Run();

    float result[10];
    *(volatile float*)&result = *(float *)TVMWrap_GetOutputPtr(0);

    for(int i = 0; i < 10; i++) {
        DBGPRINTF("out: %f\n", result[i]);
    }
}

Thanks in advance :)

Alright, I tried out the model and it seems to work fine for me.
Based on this example, the input preparation is a bit more complex than just flattening: https://github.com/deep-diver/CIFAR10-img-classification-tensorflow/blob/master/CIFAR10_image_classification.py
So I used the following code for preparing some test data. The input file is the "python version" of the dataset.
import struct
import pickle

with open("data_batch_1", "rb") as f:
    batch = pickle.load(f, encoding="latin1")

features = batch['data'].reshape((len(batch['data']), 3, 32, 32)).transpose(0, 2, 3, 1)
labels = batch['labels']

for n in range(0, 10):
    data = b""
    for i in range(0, 32*32*3):
        v = features[n].flatten()[i]
        v = float(v) / 255
        data += struct.pack("f", v)

    with open("input/" + str(n) + ".bin", "wb") as f:
        f.write(data)

    print("Label", labels[n])

If I use the resulting binary files as input, I get the following output for the first three images, which matches the labels from the dataset:
-5.70180511,-7.33687449,1.12904537,1.30579066,0.636840641,1.99929345,3.69460416,3.66799283,-5.66724348,-7.26373482
-> highest: 6
0.55146718,-2.15028167,-0.291549176,-2.43002295,-3.20001435,-2.59800267,-7.58031082,3.3427918,0.470968604,8.39957428
-> highest 9
2.75353885,1.3455565,-1.51044416,-1.64057207,-3.36897111,-2.75683594,-4.08160257,3.24108791,-2.57346535,5.26013899
-> highest 9

Small correction: It is not using Softmax, but just outputting ten categories where the highest value represents the prediction.

Ok, thank you for the explanation of the CIFAR dataset preprocessing.
But is what I showed you previously the correct way to pass the input data to TVMWrap_GetInputPtr(0)? Or maybe I am not knowing how to read the output from TVMWrap_GetOutputPtr(0).
If you could help me with the calling of those functions in main.c I'd be glad. Thank you very much for your attention !
Again I tried:
int main()
{
    TVMWrap_Init();

    float input_data[32 * 32 * 3];
    FILE* fp = fopen("input/0.bin", "r");
    (void)fread(input_data, 3072, 4, fp);
    fclose(fp);

    *(float*)TVMWrap_GetInputPtr(0) = *( float*)&input_data;

    TVMWrap_Run();

    float result[10];
    *( float*)&result = *(float *)TVMWrap_GetOutputPtr(0);

    for(int i = 0; i < 10; i++) {
        DBGPRINTF("out: %f\n", result[i]);
    }
}

No, your code is not correct.
TVMWrap_GetInput/OutputPtr returns a pointer to the start of the buffer.
Your line
*(float*)TVMWrap_GetInputPtr(0) = *( float*)&input_data;

copies the address of input_data (casted as float) to the first float of the buffer. What you probably want is:
memcpy(TVMWrap_GetInputPtr(0), input_data, sizeof(input_data));

For the output, this might be most practical:
float result[10];
for(int i = 0; i < 10; i++) {
    result[i] = ((float*)TVMWrap_GetOutputPtr(0))[i];
    DBGPRINTF("out: %f\n", result[i]);
}

Yes, it works like a charm! Thank you very much for helping me understand this.


Broken links in code comments

Confirm this is a Node library issue and not an underlying OpenAI API issue

[X] This is an issue with the Node library

Describe the bug
Broken link: https://platform.openai.com/docs/guides/gpt/parameter-details
Locations:

https://github.com/openai/openai-node/blob/09127e8425bb07ea0f9e6a80470edef6a87dcea7/src/resources/chat/completions.ts#L582

https://github.com/openai/openai-node/blob/09127e8425bb07ea0f9e6a80470edef6a87dcea7/src/resources/chat/completions.ts#L639C69-L639C130

To Reproduce
You can go to the given locations on the source code.
Code snippets
No response
OS
macOS
Node version
Node V20
Library version
openai v4.18.0

Thanks for reporting! This will be fixed by https://github.com/openai/openai-openapi/pull/126
Closing preemptively since it's a minor bug.


Flags loss fix

I want to find out is nameserver has AA flag for requested domain.
I wrote this code:
   resolver = ProxyResolver(proxies=['ns1.google.com.'])     res = await resolver.query('www.google.com', types.ANY, timeout=2)     print("AA: ", res.aa)
But AA is 0 (incorrect).
It happend because "self.result" variable in query.py didnt get flags from "inter_res"

If I understand the RFC correctly AA should be 0 because the proxy server is not authoritative and it returns a cached result. IMHO the other props should not be overridden by the upstream response.
It seems to be a defect that this library didn't expose a pure resolver without cache.

because the proxy server is not authoritative

response from "dig"
; <<>> DiG 9.10.3-P4-Ubuntu <<>> @ns1.google.com ns www.google.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41011
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; WARNING: recursion requested but not available

As u can see, i used "ns1.google.com" as nameserver and get AA = 1.
oh..I see - cache mechanism doesnt save nameserver.
If I make query as above and than make another ( e.g. with <IP_ADDRESS> as nameserver) I still get AA = 1 (because I save it from first query for this domain).

There is a client to get the raw response from remote server now. See readme for more detail.


Does it suggest the places when we start typing addrress?

Hi,
Thank you for the detailed tutorial.
Just wanted to check does it suggest the places when we start typing either start or destination places?
In my case it was not showing any suggestions so wanted to check with you.
Thanks

Oh, yes it should show the suggested places after you start typing. If you are not able to see the suggestions that means you don't have the correct APIs enabled for Google Maps or the billing setup is not done correctly for the project on GCP.


fix bug where normalizeStartTime result in nan when startTime is unde…

…fined

Coverage increased (+0.03%) to 39.262% when pulling 990ea64b728b9789bde59375213a767a996028b2 on u9520107:bug/start-time-nan into 09514d95061ea5cf39a102780bd0babb67285c5f on ringcentral:dynamics-regression.


Keep matplotlib installed in the CI

Summary
VQE has a statement logger.info(self.print_settings()) that ends up calling __str__ in QuantumCircuit which calls str(self.draw(output="text")). This ends up importing circuit_drawer from visualization that imports Bloch which finally imports matplotlib and fails it it is not installed.
Keeping it installed in the CI.
Details and comments

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 85.293%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
16691

Relevant Lines:
19569

💛  - Coveralls


MAJOR: go-version: update Go min. version

with https://github.com/haproxytech/haproxy-consul-connect/commit/6a6fdaa29e3779376c5b7c75934c0142c1971458 commit
Milliseconds() is used. Since it is a Go 1.13 feature, Go min. version is updated from 1.12 to 1.13 in go.mod file

LGTM


Out of date "Customer-Churn-Project.zip" project

When following the cloudpak course on IBM's website, I found myself stuck at the beginning when loading the "Customer-Churn-Project.zip" file as a project on CloudPak, as shown on the following screen. It seems that the file format is no longer supported, and that a new version of the file exported by IBM Cloud's Watson Studio is needed to complete the course.
EDIT: in case the screen disappears someday, the exact error prompted is the following: "You can't import this project because it was exported from a different edition of Watson Studio. You can import only projects that are exported from Watson Studio on IBM Cloud."

same kind of error here..

same kind of error here..


bug: Error: HttpError: Review cannot be requested from pull request author.

Problem
The workflow works for PRs not authored by myself, @YazzyYaz or @ebuchman. If we are the author of the PR, it will not work based on the error: Error: HttpError: Review cannot be requested from pull request author.
Solution
Modify workflow to not request if the author is an editor.

i think it's just on ones that are made by Yaz and Ethan atm, but haven't looked deeper

I think this is nonissue, can be reopened if an issue in future