[BUG] - React.Key is not the same as Key from @react-types/shared

NextUI Version
2.4.2
Describe the bug
I'm using Autocomplete component. I defined a state to control the field
const [key, setKey] = useState<React.Key | null>(null);
//                             ^ It's `string | number | bigint`
// ...
<Autocomplete
	label="Search a course"
	isDisabled={coursesQuery.isPending}
	defaultItems={coursesQuery.data?.data.courses ?? []}
	selectedKey={key}
//  ^ want `string | number` for key
	onSelectionChange={setKey}
>

Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Define a controlled Autocomplete component
Expected behavior
selectedKey should be React.Key
Screenshots or Videos
No response
Operating System Version
macOS
Browser
Chrome

duplicate - https://github.com/nextui-org/nextui/issues/2182


WARNING: No PortMapper for port 80

I installed openwayback-2.3.2.war with apache-tomcat-8.5.38 as ROOT webapp.
My wayback.xml config file:
wayback.basedir.default=/tmp/openwayback
wayback.url.scheme.default=http
wayback.url.host.default=localhost
wayback.url.port.default=8080

wayback.basedir=#{ systemEnvironment['WAYBACK_BASEDIR'] ?: '${wayback.basedir.default}' }
wayback.url.scheme=#{ systemEnvironment['WAYBACK_URL_SCHEME'] ?: '${wayback.url.scheme.default}' }
wayback.url.host=#{ systemEnvironment['WAYBACK_URL_HOST'] ?: '${wayback.url.host.default}' }
wayback.url.port=#{ systemEnvironment['WAYBACK_URL_PORT'] ?: '${wayback.url.port.default}' }

wayback.url.prefix.default=${wayback.url.scheme}://${wayback.url.host}:${wayback.url.port}
wayback.url.prefix=#{ systemEnvironment['WAYBACK_URL_PREFIX'] ?: '${wayback.url.prefix.default}' }

wayback.archivedir.1=/opt/WARCS/

 <bean id="resourcefilelocationdb" class="org.archive.wayback.resourcestore.locationdb.FlatFileResourceFileLocationDB">
    <property name="path" value="/opt/path-index-tmp.txt" />
  </bean>

<import resource="CDXCollection.xml"/>

My error from catalina.out:
Mar 04, 2019 9:31:33 AM org.archive.wayback.util.webapp.RequestMapper mapRequest
WARNING: No PortMapper for port 80

I tried port 80,8080 but not working properly.

any idea ?
Regards,
xavi

If you've configured Tomcat to listen on port 80, you'll need to change wayback.url.port.default to match:
wayback.url.port.default=80

As, @anjackson mentions, port 80 wouldn't be serving OpenWayback if you have wayback.url.port.default=8080 in your configuration. It looks like from your comment that you also tried 8080, and it wasn't working either. Looking at the 404 screenshot, it looks to me like you would have been trying the URL http://localhost:8080/query to reach that screen. The default home page for the application should be http://localhost:8080/wayback/. Does that URL work for you? If not, did you change anything in your standardaccesspoint bean?

Hi, @anjackson  & @ldko I resolved my problem.
I change in my wayback.xml
<!-- <property name="replayPrefix" value="${wayback.url.prefix}/wayback/" />-->
   <property name="replayPrefix" value="http://mydomain:8080/wayback/" />
<!--    <property name="queryPrefix" value="${wayback.url.prefix}/wayback/" /> -->
   <property name="queryPrefix" value="http://mydomain:8080/wayback/" />
<!--   <property name="staticPrefix" value="${wayback.url.prefix}/wayback/" /> -->
   <property name="staticPrefix" value="http://mydomain:8080/wayback/" />

Thanks,
jafamo.


Investment journey (start and create stages)

This adds the start of the journey for adding a new investment
project.
The journey has a few different scenarios:

Starting with a UK based company and searching for foreign source
of equity
Starting with a foreign company and choosing it as the equity source
Starting with a foreign company and searching for a different equity
source

TODO

[ ] Switch the search to use an endpoint that only returns foreign companies
[ ] Check what data needs to be returned under the client company heading and where to get it from
[x] Validate foreign equity check

@jim68000 regarding the API changes. Can we add an endpoint to return only foreign companies? Or maybe the ability to pass an option to the companies endpoint.
Also, the current visuals show data that I'm not is available yet. Do we have any of these:

Number of investments in the UK
Account tier
Client relationship manager

The foreign only/uk only is a search change - I'm going to catch up with Pawel on Monday to find out where he's got to
Number of investments in UK is this call: GET /v3/investment/{companyId}/projects
I think the Account Tier and Client Relationship Manager are the same as One List Status and One List Account Manager, which we do have, but I need to double check that with the Investment guys on Tuesdays

Good stuff @teneightfive
A few thoughts from this Pr:

Big PR's are difficult to go through especially if you haven't had your head in the code. Small and often wins every time, means less things get through. I appreciate this isn't always possible with chunks of work
Once we have more markup in we should start looking at abstracting it into views

Big PR's are difficult to go through especially if you haven't had your head in the code. Small and often wins every time, means less things are missed. I appreciate this isn't always possible with chunks of work

@feedmypixel absolutely agree. I'm not a fan of big PRs either. This started to spiral a bit but was all related to one chunk of work.
Tried to reduce the complexity by not including the logic for the next step yet. It will be a separate change off the back of this work.

Once we have more markup in we should start looking at abstracting it into smaller chunks for reuse to be consumed by views/pages

Definitely. Once we've printed everything out and have an understanding of what components we currently need we'll start to see what has lots of cases of re-use so can structure the macros/markup appropriately.

Have created a ticket in JIRA for adding foreign company search support.


Show and allow editing of typeahead

Description of the new feature/enhancement
While a command is running today, you can be typing the next command(s), but you can't see what you're typing.
It would be wonderful if for example a horizontal splitter showed up at the bottom of the screen,
above which would be the console output of the currently running command,
and below which would be a standard editing line.
Type more than one command, and the splitter moves up to make room.

This might be covered by https://github.com/microsoft/terminal/issues/8178.

Yeah, I don't understand the division between Terminal and console so wasn't sure how feasible it would be. I type ahead a lot, and I should trust my fingers, but it would be nice to see what I'm typing, and sometimes I know I need to make an edit :)

gods now I'm terribly aware of every single time I'm doing this
<crazy idea time>
Okay, so we need a way for the shell to say "I'm going to start a command now", and a way to say "I'm ready for input again". If you start typing between those two, we'll stick them in the buffer, instead of sending them to the terminal. If you do nothing between those two, then whatever, nothing happens.
Open questions

[ ] how does something like vim play with this? tmux?

vim would want to emit the "I'm ready for input", probably immediately, right? They'd need to explicitly add code to enable this, that's probably not a good solution. Entering the alt buffer might be a good solution, but then there's tmux
tmux runs in the alt buffer. Shells within it will want to enter & exit. Presumably, if you're using this feature, then you're not switching tmux panes during this buffering. You'd be in the context of a single pane, buffer some commands, submit them, then switch to other panes?
That raises the question of things like arrow key input - that we probably ignore, right? This is a command buffer, not a generic input buffer
what about mouse input? If you click in the terminal such that it would send mouse input, do we

send the buffered text, then the mouse event?
dismiss the buffer UI, then send the mouse event?
dismiss the buffer UI(but keep the text in it), then send the mouse event?
ignore the mouse event entirely?

[ ] Does this work for something like ssh?

[x] bash: Link to SuperUser post describing how a user could use that

[ ] powershell: ? this has got to exist....

[ ] zsh: Implied by the bash post that precmd and preexec are what we want

[ ] cmd: Impossible, unless we shipped a new version of cmd. Various alternatives to cmd that have been thrown around in the past:

[ ] yori?
[ ] clink?

from @LucasDondo in #15854

The problem is that sometimes a command takes too long to execute (and in the meantime, we want to start writing the one that follows). For example, we run something like python -m pip install --upgrade pip. But during the installation, we remember we must also install Django. So, instead of waiting for the previous execution to end and just then being able to write python -m pip install django, this feature would let users start writing the following command even before the previous one has finished. This way, while pip gets updated, we can start writing python -m install django. If I press enter, that command should be run right after the previous finishes. If not, then at least we already have it written for the very moment the first command finishes.
P.D.: While testing, I saw that this is a thing already. What is missing is what I describe in the next paragraph: somehow show what is being written.
https://github.com/microsoft/terminal/assets/59975541/a468a88d-f136-4007-8793-3d7480ea7616
What I want to happen is that instead of the keyboard cursor being positioned at the very end of the terminal and that whatever I write in it get overlaped with the text generated by the previous command, it was positioned also at the bottom of the terminal but in a different "section", after the command's output. Whatever you write there is persistent and once the command execution comes to an end, whatever you wrote gets in the "traditional input of commands" (what appears in the video after the tree command finished).


Add a set of unit-tests for serializing and deserializing BuildEventArgs.

Two minor fixes from code review feedback (Rainer).
The way the tests are written is objects are manually created, then serialized and deserialized back. The length of the bytes written needs to be the same as the number of bytes read back.
For each object type, a set of fields are compared on the original object and deserialized copy and we make sure the values are the same.

Looks like missing cases for TaskCommandLine and CriticalBuildMessage. Also, is this the right place to try writing an event without an EndOfFile or some other corruption that could occur if the writer crashed?

Good catch, added tests for TaskCommandLine and CriticalBuildMessage. Also added a test for abruptly ending stream.

@dotnet-bot test Windows_NT Build for Desktop please


feat: HTML template to register a node

I was trying to get a somewhat non-technical user to access my network. When using the tailscale app on iOS, we got presented with an HTML for registering the node. This was a little shocking in comparison with the rest of the experience.
So, I went on to https://v0.dev; asked it to craft a little QR code registration website, and exported it as a static HTML page. I connected it with https://github.com/davidshimjs/qrcodejs/. I then added some js code to add a copy button. I made sure it all works without javascript. I copied the "embed" approach from the OIDC routes.
This can be a controversial PR; but I think it adds some value. Now, due to how important security is in this project, I'm not sure you will be inclined at all to accept this approach; particularly I'm not happy that:

This embeds too much CSS and makes the download pretty heavy (currently sitting at 93kb)
It clutters the repository with generated code and makes checkouts heavier
It's dubious whether our use case is also important for other headscale users

Here's how it looks like (on dark-mode):

Without js:

I would like to know your opinions, and I'm happy to contribute a solution with a different approach that satisfies you. One approach that I thought of involved allowing for the configuration of a templates folder; so that it can be modified at runtime and not compile time.
Looking forward to your comments!

Summary by CodeRabbit

New Features

Introduced a new registration interface for Headscale nodes with a responsive design.
Added functionality for dynamic QR code generation to simplify machine registration.
Enabled users to copy registration commands easily from the interface.

Improvements

Enhanced maintainability of the registration web API by separating HTML content from source code.

This was a little shocking in comparison with the rest of the experience

Considering Headscale no UI and CLI approach I am not sure if I would call it "shocking" :P
I am failing to see how having the command encoded into a QR code will help?
In any case, CSS is fine, but embedding tailwindcss is too much, both as an external dependency or embedding.
I am sure someone (or an llm) can vipp up something that we can comfortably add to make it prettier if that is desired.

Closing due to no response


Seemingly unecessary delay in Pool.getOutputAmount (also getInputAmount and swap)

Been testing Pool. Long story short, I discovered something odd when timing the performance of some functions.
I've made a gist for replication:
https://gist.github.com/NoUJoe/d57b3d478767dd409bab7e8f6aff44e0.js
The code sets up a pool, and then calls getOutputAmount 4 times, measuring the time from execution to the promise resolving. When all 4 have finished, it will then log the total time taken. Here's an example result:
o4 232
o2 297
o3 337
o1 347
Total time 348
o1 / o2 / o3 / o4 is each getOutputAmount call and Total time is... y'know, total time. All in MS
I know getOutputAmount is async for data retrieval reasons, like web calls etc. But all data used in my example is all local, no network requests or anything. So execution should be pretty synchronous.
But as we can see, total time is about the same time as the longest getOutputAmount call and not the sum of all calls, indicating there's some sort of delay happening somewhere.

The calls are executed simultaneously, thats also the point of making the function async as it doesn't rely on any network requests.
So the total time is the longest execution + 1ms for everything else.


v2.0.6 Script Error

Hello,
on my DS918+ with DSM 7.2.1-69057 Update 3, i start the script syno_app_mover.sh  v2.0.6 and short time after there follows this error.
syno_app_mover.sh: line 507: syntax error near unexpected token <' syno_app_mover.sh: line 507:     done < <(find . -maxdepth 2 -type l -ls | grep "$1"'$' | awk '{print $(NF-2), $NF}')'
thanx for Help and for this great Tool -- if it run's :-)

Did you download the .zip file from here: https://github.com/007revad/Synology_app_mover/releases/tag/v2.0.6 and save it to a shared folder on the Synology?
Then unzip the downloaded zip file and run the script from that folder?

Hello Dave,
yes download from git, then i put it into a Sharefolder on my DS918+, then unzip there. Per ssh on my DS918 change to the unzip folder from syno_app_mover.sh then i run the script syno_app_mover.sh with command
sh syno_app_mover.sh
the error follows.
same error with
sudo sh syno_app_mover.sh
and same as with user root
thanx for help

Try sudo -s ./syno_app_mover.sh

Looks good. The mistake is gone. Soon I will use the script and am curious to see if it does what it should. Great.
Thank you very much


Doesn't work with custom symphony backend url

Fix
https://github.com/symphonists/importcsv/pull/5


Cherry-pick 23909 to release

As requested by @bot-gradle

@bot-gradle test and merge

I've triggered a build for you.


Add example workaround for conditional attributes when using unsafeStatic

Trying to use ifDefined inside of unsafeStatic causes  a type error from TS and a runtime error from JS: “Cannot convert a Symbol value to a string”. This wasn't immediately apparent to us and, in our case, our editors (Webstorm and VSCode) did not flag the type conversion error from TS at all when the invalid usage is wrapped inside of a <template> element.
The workaround is to use a conditional to determine whether to render the attribute:
import { html, unsafeStatic } from 'lit/static-html';

@property()
type?: string;

render() {
  return html`
    ${unsafeStatic(`
        <input ${this.type ? 'type="${this.type}"' : ''}>some text</input>
    `)}
  `
}

We should fix the original problem: you should be able to use ifDefined in a static template.

Wouldn't that require the static unwrapper to lookback and remove the attribute and whole value on nothing?

Ohhh, right. Sorry I thought it was purely a type issue


UnexpectedResponseError(error, server_response)

Today it return error, It seems bypass captcha is not working
........
File ".../re_gpt/sync_chatgpt.py", line 135, in chat
raise UnexpectedResponseError(error, server_response)
re_gpt.errors.UnexpectedResponseError: An unexpected error occurred. Error message: 'NoneType' object is not subscriptable.
This is what the server returned:

I am also getting this error


[Organizational] As a @beartype bro, allow me to just mutter...

This is awesome sauce! Actually... allow me to start over.
Hi! This is @leycec, @rbroderi. Bearded bear bros, unite. :man_beard:
I still love your GitHub Avatar. It feels me with indescribable childhood nostalgia. It also fills me with painful flashbacks to playing flutes alone in graveyards, which I then wilfully desecrate by pushing tombstones around until a dungeon filled with horrifying monsters magically appears.

The 80's: it was a different time.

What I'm trying to say here is... I'd love to promote this package! Would you like to officially join the @beartype family at a new URL of https://github.com/beartype/flake8_require_beartype? Of course, you'd still retain full control over everything here – including your own GitHub Sponsors-driven monetization if you wanted to pay for weekend all-night binge-drinking coffee and tea. do it, do it If so, just lemme know; else, feel free to quietly close this and pretend this embarrassing episode in your life never happened. Also...
Classes: Yup, @beartype does that too now
@beartype now supports class decoration as of beartype ≥ 0.11.0. We rejoice.
In fact, class decoration is strongly preferable to method decoration. There are increasingly many classes of type hints that can only be runtime type-checked when @beartype is applied as a class decorator (e.g., typing.Self).
If you find a spare weekend full of copious free time, this plugin should (probably) advise that undecorated classes be decorated by @beartype. Undecorated methods should (probably) then be silently ignored. Maybe. Possibly. Assuming that is even feasible. Which it might not be.
Static analysis is rough stuff, indeed.
Documentation: Yup, we should promote this plugin.
@beartype documentation now officially lives at ReadTheDocs (RTD). My single goal this year is to transition the entirety of our README.rst to RTD. We can do this... and we must!
Meanwhile, we should promote this plugin in our FAQ. I am envisioning a new FAQ entry that reads something like:
Can I ensure that my code is protected by @beartype?
Yes! Just:

Install Flake8.
Install the official flake8_require_beartype plugin.
Enable Flake8 in your IDE of choice, which is of course Vim.

Then watch the :bear: :muscle:.

Hey thanks for the email. That all sounds great. I'll need to clean up the
code as it still is kinda proof of concept, but I can look at it over the
next week or so and get it in shape to be made official.
On Tue, Feb 7, 2023, 1:17 AM Cecil Curry @.***> wrote:

This is awesome sauce! Actually... allow me to start over.
Hi! This is @leycec https://github.com/leycec, @rbroderi
https://github.com/rbroderi. Bearded bear bros, unite. 🧔♂
I still love your GitHub Avatar. It feels me with indescribable childhood
nostalgia. It also fills me with painful flashbacks to playing flutes alone
in graveyards, which I then wilfully desecrate by pushing tombstones around
until a dungeon filled with horrifying monsters magically appears.
The 80's: it was a different time.
What I'm trying to say here is... I'd love to promote this package!
Would you like to officially join the @beartype
https://github.com/beartype family at a new URL of
https://github.com/beartype/flake8_require_beartype? Of course, you'd
still retain full control over everything here – including your own GitHub
Sponsors-driven monetization if you wanted to pay for weekend all-night
binge-drinking coffee and tea. do it, do it If so, just lemme know;
else, feel free to quietly close this and pretend this embarrassing episode
in your life never happened. Also...
Classes: Yup, @beartype https://github.com/beartype does that too now
@beartype https://github.com/beartype now supports class decoration
as of beartype ≥ 0.11.0. We rejoice.
In fact, class decoration is strongly preferable to method decoration.
There are increasingly many classes of type hints that can only be
runtime type-checked when @beartype https://github.com/beartype is
applied as a class decorator (e.g., typing.Self).
If you find a spare weekend full of copious free time, this plugin should
(probably) advise that undecorated classes be decorated by @beartype
https://github.com/beartype. Undecorated methods should (probably) then
be silently ignored. Maybe. Possibly. Assuming that is even feasible. Which
it might not be.
Static analysis is rough stuff, indeed.
Documentation: Yup, we should promote this plugin.
@beartype documentation now officially lives at ReadTheDocs (RTD)
https://beartype.readthedocs.io/en/latest. My single goal this year is
to transition the entirety of our README.rst to RTD. We can do this... and
we must!
Meanwhile, we should promote this plugin in our FAQ. I am envisioning a
new FAQ entry that reads something like:
Can I ensure that my code is protected by @beartype
https://github.com/beartype?
Yes! Just:

Install Flake8 https://flake8.pycqa.org.
Install the official flake8_require_beartype
https://github.com/rbroderi/flake8_require_beartype plugin.
Enable Flake8 https://flake8.pycqa.org in your IDE of choice,
which is of course Vim.

Then watch the 🐻 💪.
—
Reply to this email directly, view it on GitHub
https://github.com/rbroderi/flake8_require_beartype/issues/1, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADZF2W3SDKMX366RXWA4NETWWHSJHANCNFSM6AAAAAAUTRPKMY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Absolutely no worries. We're all about the fun and not at all about the hard deliverables. Since everybody's (mostly) unpaid here, nobody can complain! Freedom is the only rule here. Take the entirety of your time. Whatever you come up with will be wonderful, because you are @rbroderi.
Until then, I continue beating Sphinx repeatedly until it submits to @beartype. :grin:


fix: Support base array type

@haileymoon Please follow this PR!

@haileymoon Please follow this PR!

Thank you for the valuable time today!


cmd/go: go.mod replace directive with local path containing '@'

What version of Go are you using (go version)?

$ go version
go version go1.20.2 darwin/arm64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="arm64"
GOBIN=""
GOCACHE="/Users/ivasanth/Library/Caches/go-build"
GOENV="/Users/ivasanth/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="arm64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/ivasanth/go/pkg/mod"
GONOPROXY="github.com/iceye-ltd"
GONOSUMDB="github.com/iceye-ltd"
GOOS="darwin"
GOPATH="/Users/ivasanth/go"
GOPRIVATE="github.com/iceye-ltd"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_arm64"
GOVCS=""
GOVERSION="go1.20.2"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/ivasanth/GitHub/features/capture/go.mod"
GOWORK=""
CGO_CFLAGS="-O2 -g"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-O2 -g"
CGO_FFLAGS="-O2 -g"
CGO_LDFLAGS="-O2 -g"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/pd/wwbhc60s0zlbnnzh7rj73r600000gq/T/go-build2792899238=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
Using the replace directive on go.mod with a local FilePath containing an @ character is breaking the module path. Per the pkg docs, EBNF for FilePath says platform specific relative or absolute file path.
ReplaceDirective = "replace" ( ReplaceSpec | "(" newline { ReplaceSpec } ")" newline ) .
ReplaceSpec = ModulePath [ Version ] "=>" FilePath newline
            | ModulePath [ Version ] "=>" ModulePath Version newline .
FilePath = /* platform-specific relative or absolute file path */

On macOS, @ is a valid filesystem path. So expecting a replace command like below should work (for test purposes). Assuming the path ./local/@path/tools contains a valid go.mod
go mod edit -replace=golang.org/x/tools=./local/@path/tools

What did you expect to see?
The filepath should be treated as valid and be present in go.mod as
replace golang.org/x/tools => ./local/@path/tools

What did you see instead?
But the above produces a broken path in go.mod as
replace golang.org/x/tools => ./local/ path/tools

Thanks for reporting. Want to send a fix?

Thanks for reporting. Want to send a fix?

I can certainly give it a shot @bcmills

Along with the fix for the original problem reported, the changes also address an the error message when the @ char is present in the replace directive's new path, if specified as a import path. Though the @ character is not allowed in an import path, it throws an incorrect error, i.e.
go mod edit -replace=golang.org/x/tools=github.com/@x/tools@v2
go: -replace=golang.org/x/tools=github.com/@x/tools@v2: invalid new path: malformed import path "github.com/": trailing slash

It should have ideally warned about the @ character present in the module path. With the current CL, it rightly updates the error as
go: -replace=golang.org/x/tools=github.com/@x/tools@v2: invalid new path: malformed import path "github.com/@x/tools": invalid char '@'

Change https://go.dev/cl/512975 mentions this issue: cmd/go: fix issue with replace file path containing '@' character

@bcmills I hope I was able to solve the problem. Do take a look at it in your own time. Thanks


csexec-cbmc: start cbmc in sane environment

csexec-cbmc is transparently invoked from test programs that often
run in specially crafted environment to exercise the tested binaries.
For example, GNU coreutils sets $PATH such that the just built binaries
are preferred over system-provided binaries with the same name.  This
causes havoc in case cbmc wants to use system-provided binaries
without specifying them with absolute path.  Especially, when cbmc
by mistake invokes binaries that use csexec-loader as ELF interpreter,
this recursively invokes csexec-cbmc and cbmc in a loop and attacks
the machine with a fork bomb.

Thanks for review!  Merging...


A prior work with exactly same approach?

This paper [1] seems to propose exactly the same computation method for spherical harmonics product as this work. Can you give some comments about this paper?
[1] Xin, Hanggao, et al. "Fast and accurate spherical harmonics products." ACM Trans. Graph. 40.6 (2021): 280-1.
(https://dl.acm.org/doi/abs/10.1145/3478513.3480563) by @111116

Thank you for pointing this out. I would like to clarify here:

The contributions of our work: as mentioned in our paper, our main contribution in this work is the new perspective on tensor products of irreps, which is novel and original to the machine learning community. The whole Section 3.1 elaborates on how to establish the connection between tensor products of irreps and integrals of products of spherical harmonics. Our establishment and derivation are based on a series of rigorous deductions with many efforts on building a solid mathematical foundation including group theory and quantum mechanics (please refer to Appendix A.1-A.7, page 16-28), which is not straightforward and trivial to obtain. Without these efforts, we cannot establish such connections, let alone the efficient algorithm. In the context of equivariant machine learning, this derivation presents significance to refresh the understanding of basic equivariant operations.

The similarities of the efficient algorithms between our work and the mentioned work: firstly, we would like to apologize that we did not cite this work in our submission, which is unintentional and due to the gap between these two communities. We will update the arXiv version of our paper asap by adding a discussion paragraph to carefully discuss the mentioned work and our work. On the other hand, we also would like to clarify the similarity: after we figure out the relation between the tensor product of irreps and integrals of the product of three spherical harmonics, it is rather natural to connect it with products of spherical functions. Moreover, there exist classical results for efficient computation of products of spherical functions, i.e., Convolution Theorem and FFT, which involve elementary knowledge that can be learned in several undergraduate classes: (1) change of basis, which can be learned in algebra and signal processing and is used in both paper to connect spherical harmonics and Fourier basis; (2) FFT, which is commonly taught in signal processing and numerical computation classes and is used for acceleration. Due to the basicness of these mathematical tools, both works follow the standard way to formalize and present, which leads to similarity.

The implementation: it is noteworthy that, as a work for the equivariant machine learning community, it is not enough to simply propose an approach just for the tensor product operation. What we really care about is the various design paradigms of equivariant operations, which are built upon tensor products. In Section 3.3, we categorize these paradigms into three classes in terms of their different characteristics and applied range. For each class of equivariant operations, we carefully specialize our approach by combining their properties and considering the restrictions. For example, for the equivariant convolution, we figure out that we can further leverage eSCN/EquiformerV2's findings to achieve further acceleration; for the equivariant many-body interactions, a divide-and-conquer approach is natural, which is also generally taught in various CS courses and projects. There also exist different instantiation strategies in modern equivariant networks when applying these classes of operations, please refer to the Discussion paragraph in Section 3.3 and Appendix C. Simply proposing the efficient approach for tensor products is not feasible to these mentioned points. Without these additional efforts and contributions, the efficient algorithm is not practical to be used for the equivariant machine learning community,  which cannot be omitted.

Lastly, I would also like to apologize for the delayed responses and updates of the GitHub repo, which indeed somehow led to the misunderstanding. The notification email of the issue got buried among a flood of other GitHub notification emails, which made me omit it. We hope our clarifications here can address the concerns, and we will quickly update the arXiv version of our paper and the implementation code of Gaunt Tensor Product.


New Introspection feedback

Prisma Introspection Feedback
When introspecting a Postgres database that has been created by Prisma for the following datamodel
type User {
  id: ID! @unique
  name355: String! @db(name: "name300")
  car: Car
  houses: [House!]!
  scalarStringList: [String!]!
  scalarIntList: [Int!]!
}

type Car {
  id: ID! @unique
  name: String!
}

type House {
  id: ID! @unique
  windows: Int!
}

The output for Datamodel v1 looks like this:
type Car {
  createdAt: DateTime!
  id: String!
  name: String!
  updatedAt: DateTime!
  User: [User!]! @relation(name: "_CarToUser")
}

type House {
  createdAt: DateTime!
  id: String!
  updatedAt: DateTime!
  User: [User!]! @relation(name: "_HouseToUser")
  windows: Int!
}

type User {
  Car: [Car!]! @relation(name: "_CarToUser")
  createdAt: DateTime!
  House: [House!]! @relation(name: "_HouseToUser")
  id: String!
  name355: String!
  updatedAt: DateTime!
}

type User_scalarIntList {
  # Multiple ID fields (compound indices) are not supported
  # Multiple ID fields (compound indices) are not supported
  # ID field must be called "id" in relational models.
  # nodeId: User!
  position: Int!
  value: Int!
}

type User_scalarStringList {
  # Multiple ID fields (compound indices) are not supported
  # Multiple ID fields (compound indices) are not supported
  # ID field must be called "id" in relational models.
  # nodeId: User!
  position: Int!
  value: String!
}

The output for Datamodel v2 looks like this:
type Car {
  createdAt: DateTime! @createdAt
  id: String! @id
  name: String!
  updatedAt: DateTime! @updatedAt
  User: [User!]! @relation(name: "_CarToUser")
}

type House {
  createdAt: DateTime! @createdAt
  id: String! @id
  updatedAt: DateTime! @updatedAt
  User: [User!]! @relation(name: "_HouseToUser")
  windows: Int!
}

type User {
  Car: [Car!]! @relation(name: "_CarToUser")
  createdAt: DateTime! @createdAt
  House: [House!]! @relation(name: "_HouseToUser")
  id: String! @id
  name355: String!
  updatedAt: DateTime! @updatedAt
}

type User_scalarIntList {
  # Multiple ID fields (compound indices) are not supported
  # Multiple ID fields (compound indices) are not supported
  # nodeId: User! @id
  position: Int!
  value: Int!
}

type User_scalarStringList {
  # Multiple ID fields (compound indices) are not supported
  # Multiple ID fields (compound indices) are not supported
  # nodeId: User! @id
  position: Int!
  value: String!
}

While using introspection.getNormalizedDatamodel.
We, however, want to achieve an exact match between the input datamodel (which is in v1) and the output v1 datamodel.
For the v1 output also a few changes are necessary.
Changes needed for v1 and v2

In case you find an inline relation, the question is, wether you turn it into a 1 to 1 or 1 to n relation by default, if no reference datamodel is available. We would like to go with 1 to n for now. However, you could (stretch goal) find this out by performing a GROUP BY on the actual data, to find out, if there are instances with multiple mapping from one node to another. This is not required though, getting the "happy path" working is more important right now.
Remove the @relation directive if there is only one relation from type A to B
Turn id: String! into id: ID!
Always add back relations, if not excluded from datamodel. We just discussed this default. It’s more conservative for the user as we don’t know which side of the relation the user actually wants to use.
In Prisma datamodel v1 and probably also v2, we’re using Tables to represent scalar lists. This should be taken into account by the introspection. By the following conventions, the introspection should be able to deduce that we’re looking at a scalar list:

the name of the scalar list table is ${typeName}_${fieldName}
it includes a compound index over nodeId and position
the type of the value is also the type of the scalar field. For the int list, it’s for example Int!

Changes to be implemented by getNormalizedDatamodel
- Preserve the order of types and fields
- Remove `createdAt` and `updatedAt` from the types if they’re  not provided in the datamodel
- If a relation is one sided in the datamodel, remove the other side
- In v1, even “to 1” relations use a join table, when created by Prisma. This should be taken into account when using the `getNormalizedDatamodel` method, but is not possible to deduce just from the database structure

Changes needed for v1

Recognize id fields as ID! @unique  -> this should be done if a primary key is added

An important difference  between v1 & v2: Defaults for Join Tables
The current behavior with v1 is, that we’re always creating a join table, even for 1 to 1 relations. However, the new default behavior in Datamodel v2 will  be, to create an inline relation for a 1 to 1 or 1 to n relation, if no further instructions are provided in the datamodel.
That new default is the equivalent of adding the directive @relation(link: INLINE). In  other words, in the case,  that we should find a v1-style connection between two types, which is using a join table, but is just a to 1 relation, in the v2 datamodel we now have to explicitly add the @relation(link: TABLE) directive, as otherwise Prisma in datamodel v2 mode would delete the join table and turn it into an inline relation. For n to n relations, Prisma would, however, still create a join table as the default behavior.

The introspection module should now properly respect existing schemas. Please give it a spin.


fix cluster recreation logic

What type of PR is this?

What this PR does / why we need it:
Fixes cluster recreation logic within the new AB E2E go implementation. Specifically, the testing code will now create a new cluster if the 'agentbaker-e2e-test-cluster' in 'agentbaker-e2e-tests' RG does not already exist when the test is run. It will check for both RG and cluster existence to determine whether or not a new cluster needs to be created.
Which issue(s) this PR fixes:

Fixes #2916
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2091

Relevant Lines:
2715

💛  - Coveralls


Added secondary location check for pbxProject

Task name: XcodeV5
Description: Adds a fallback check for pbxproj file. The current check looks for a location I have need seen in a Xcode project. I was hesitant to remove as it was coded for a reason, so I added a fall back location should work for most projects
Documentation changes required: (Y/N) N
Added unit tests: (Y/N) N, I would, but can't get project to build
Attached related issue: (Y/N) #14577
Checklist:

[ ] Task version was bumped - please check instruction how to do it
[ ] Checked that applied changes work as expected

@timothy-volvo thanks for contribution! Could you please bump task version also according to steps?

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

@timothy-volvo could you please also take a look?

I am verifying with my org whether I have permission to agree, will respond as soon as I get word

I am verifying with my org whether I have permission to agree, will respond as soon as I get word

@timothy-volvo do you have any updates?

/azp run

@timothy-volvo could you please to sync it with master? I think we are good to merge it after it, thanks!

I have rebased the branch on top of the current master

/azp run


fix(auth): error message on failure

Issue Reference(s):
Fixes #1665
/claim 1665

closing in favor of #1672


feat: Allow to specify for run-time permissions comma separated lists

For Runtime permissions it's now permitted to specify PermissionTypes, Resoures, Users or EntityNames using a comma separated list.
This greatly simplifies writing permissions for entities that share access control

Thanks! Can you please submit a pull request with the entities exported via source control? I'd like to keep the format provided by that functionality.

I've recreated the PR using Thingworx source control export


Game Room - player entering/exiting

[ ] Player can restart
[ ] User can exit to main room

Player can enter from Main room


[CI] Only run build checks when a rust related file has changed

This should save us a few actions minutes with all the CI PRs lately :).

Hmm, would we need to also add Cargo.lock to these files? It's a generated file, yeah, but maybe we could touch it by accident?

Hmm, would we need to also add Cargo.lock to these files

It's in the .gitignore so shouldn't ever be added to the repo, but could add anyway.

Oh, completely forgot its in .gitignore, I guess thats fine.
... or maybe not?
Anyways, out of the scope of this pr.


TXT-file formatting not compatible with Windows 10?

Hi!
Take a look at this image.

The EXE doesn't work on Windows 10, so I tried downloading the Source, but I'm getting strange results. "requirements.txt can't be found" is the first issue, and even when editing the txt file to have the proper line breaks, it still gives me the same error.

I used notepad++ to edit the files. This worked under Windows


add config options for enabling/disabling color

Use context.EnableColor flag for aurora.
Use config.EnableColor flag for diff/code output.
Maybe refactor Styles functionality into Logger.
Add --enable-colors/--disable-colors flags.
Maybe add an environment variable too.

Flags added in #92, refactor to follow


Ability to assign color to glyph outline and fill area

Currently, glyphs in SBOLDesign 3.0 are black and white. It's helpful to communicate differences, relationships, etc. using color. For example, it would be useful to color the interior of the CDS glyph of a regulatory protein to match the color of the glyph line of its cognate promoter.

Great suggestion.  I assume we would have both a means to set the color of a glyph, which would be stored as a custom annotation.
Linking colors of CDS and corresponding promoter is a bit trickier.  This would only make sense when both are specified in the same diagram and the CD being viewed is contained within an MD with the corresponding interactions.  Namely, there would be genetic production interaction from the CDS to a Protein CD, then another inhibition or stimulation interaction from the Protein CD to the promoter.


Nuget Readme: whitelist GitHub.com for readme

NuGet Product(s) Involved
Other/NA
The Elevator Pitch
Please can we whitelist the domain *.GitHub.com for Nuget.org package readme’s.
Why?
Well currently the image to embed in project readme’s for opening a GitHub project on GitHub CodeSpaces is hosted at https://github.com/codespaces/badge.svg
Additional Context and Details
No response

@warrenbuckley, thanks for your feedback. We generally don't support for codespace, could you please explain your user case here? so that we could re-evaluate. Also, you could try workaround using following domain: https://learn.microsoft.com/en-us/NuGet/nuget-org/package-readme-on-nuget-org#allowed-domains-for-images-and-badges.

The use case is mentioned in the issue description. NuGet.org does not show the Codespace badge which does not make sense, e.g.: https://www.nuget.org/packages/Testcontainers.
The "Open in GitHub Codespaces" badge is missing, compared to the original README.md.

Thanks for your detail information. A README for a GitHub repository and a README for a package share some similarities but also have some differences. Both types of README files are crucial in providing important information about your project or package, such as what it is and does, how to get started with it, and where users can seek assistance. However, a GitHub README might contain information regarding the code of conduct, expectations for the project, and how contributions are managed, which may not be of interest to package consumers. Thus, it is worth to create a separate README for your package specifically if the README in GitHub repository primarily focuses on contributions. the codespace badge points to the source code, it relates to the code contribution.
We will keep eyes on the ticket and re-evaluate if there are more upvotes.
Thanks again!

Also here is our blog about how to write high-quality readme from our perspective, https://devblogs.microsoft.com/nuget/write-a-high-quality-readme-for-nuget-packages/, hopefully it helps.

@lyndaidaii @theot12 please reconsider, Codespaces provide an easy, low-effort way to set up a playground environment where a potential user of the package can view and run sample code. Every package should have a badge to open user samples in Codespaces.

Besides the question whether a README should link to Codespaces or not, the primary issue here is that github.com/codespaces/badge.svg is not allowed for security reasons. However since github.com/.../workflows/.../badge.svg is allowed, is it really a problem to allow codespaces badges?

Trying to leverage an image asset from within my repository, for which project is referenced by the corresponding nuget package. However, the <img /> is not rendering in the README. It was hinted at that raw.githubusercontent.com (discord) should work as an "accepted" (big air quotes) URL for this purpose, which happens to also forward to github.com, BTW; and yet github.com is not accepted? Makes no sense, or the NuGet policy around that needs to reflect the forwarding decision.


Misleading error message when using getSecret in a SecureObject parameters

Bicep version
VS Code v0.7.4
Describe the bug
If you have a SecureObject parameter, and attempt to use the getSecret function within that, you get the error:

Function "getSecret" is not valid at this location. It can only be used when directly assigning to a module parameter with a secure decorator.bicep(BCP180)

But I am using it when directly assigning a module parameter with a secure decorator, so this error doesn't make sense to me.
Is this something bicep should allow, or should the error be updated to

Function "getSecret" is not valid at this location. It can only be used when directly assigning to a STRING module parameter with a secure decorator.bicep(BCP180)

To Reproduce
foo.bicep
@secure()
param foo object

bar.bicep
resource kv 'Microsoft.KeyVault/vaults@2021-11-01-preview' existing = {
  name: ''
}

module foo 'foo.bicep' = {
  name: 'foo'
  params: {
    foo: {
      bar: kv.getSecret('blah')
    }
  }
}

Additional context
Add any other context about the problem here.

But what if someone says -foo.bar is a string(this can surface when we will have strong typing), and it's in a secure param, so why we can't assign it?

Would Function "getSecret" is not valid at this location. It can only be used as a direct assignment to a module parameter with a secure decorator.  error message be more accurate? English is not my native language so I might be missing some context...

Also, let's have in mind that we want at some point (sooner than later) to allow getSecret to be used in a conditional expression assigned to module parameter (#4270)

closing due to lack of feedback from reporter


Run intermediate counts in FinRegistry

Closing as: Cancelled because too tricky to re-run the endpointter for the intermediate count.


Network Tasks do not follow a standard error reporting procedure

ASyncTasks follow their own or sometimes random error reporting procedure. Standardize these into a uniform error report with relevant information.

Any Alert Received from the server should be displayed via a popup and if debug is enabled a toast should appear to say the code if it is not 200.


Synchronizing changes stays in a loop

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.62.1
OS Version: Windows_NT x64 10.0.19043

When I try to push some changes to Github, commit works just fine but when trying to push it stays in a loop and never syncs.
Steps to Reproduce:

Stage changes
Commit changes
Click on push
Sync stays in a loop

Same here. Got the bug on 2 PC when update to 1.62.1.

All git related actions just stuck there on ssh remote machines

Same problem after upgrade to 1.62.1. Git pull/push loops forever. I'm using Remote-SSH to work on my server.

Maybe this is related to this issue: https://github.com/microsoft/vscode/issues/136837


IMP add setup.py for pyspark

Make PySpark friendly to the Python ecosystem.
Now, we consider it as a package with dependencies on py4j.
Changes were tested manually.

LGTM


Array type attributes in class constructor method

For some reason, array type attributes are not being set correctly in class constructor method by OpenAPI Generator.
Example:
https://github.com/zendesk/sunshine-conversations-ruby/blob/master/lib/sunshine-conversations-client/models/conversation_create_body.rb#L83

Thank you for bringing this to our attention.
The engineering team has triaged this issue and queued it for investigation.
Please keep and eye out for any updates in the releases section of the repository in question, or directly in the Sunshine Conversations Changelog:

https://github.com/zendesk/sunshine-conversations-ruby/releases
https://docs.smooch.io/changelog/


Issue when Configuring superset (config.py) with LDAP

Hi,
I am trying to configure superset to work with LDAP. I am using Superset Version 0.25.6. When I give the configurations in config.py file on the following path /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/superset/config.py. Following are the configurations I am giving.
AUTH_TYPE = AUTH_LDAP
AUTH_LDAP_SERVER = "ldap.forumsys.com"
AUTH_LDAP_USE_TLS = False
AUTH_LDAP_SEARCH = "dc=domain,dc=local"
AUTH_LDAP_BIND_USER = "CN=read-only-admin,OU=mathematicians,dc=example,dc=com"
AUTH_LDAP_BIND_PASSWORD = "password"

After I login with the users given in free online ldap server (https://www.forumsys.com/tutorials/integration-how-to/ldap/online-ldap-test-server/), I gets the following error.
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/flask/app.py", line 1997, in __call__
    return self.wsgi_app(environ, start_response)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/flask/app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/flask/app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
    raise value
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
    raise value
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request
    rv = self.dispatch_request()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/flask_appbuilder/security/views.py", line 402, in login
    user = self.appbuilder.sm.auth_user_ldap(form.username.data, form.password.data)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/flask_appbuilder/security/manager.py", line 662, in auth_user_ldap
    except ldap.LDAPError as e:
AttributeError: module 'ldap' has no attribute 'LDAPError'

I would really appreciate if someone can help me.
Regards,
Hamid

Hi Hamid,
did you import the submodule AUTH_LDAP?
At start of config.py you must change
from flask_appbuilder.security.manager import AUTH_DB
to
from flask_appbuilder.security.manager import AUTH_LDAP

Error AttributeError: module 'ldap' has no attribute 'LDAPError' looks to me like you didn't import the right ldap module in your environment or that there is some conflict there.

@datinho @mistercrunch thanks for your response. I was facing this problem due to multiple ldap libraries in my environment. My problem has been resolved by deleting all ldap libraries and re-installing by pip install python-ldap.
Thanks


regExp not working as described.

Operating System: Windows 10
Node Version: v8.11.1
NPM Version: 5.6.0
webpack Version: 4.9.1
file-loader Version: 1.1.11

This issue is for a:

[x] bug
[ ] feature request
[ ] modification request

Code
CLI Command
  # paste the CLI command you're using. if this isn't applicable, it's safe to remove.
  $ npx webpack --mode development

webpack.config.js
                test: /\.php$/,
                use: [
                    {
                        loader: 'file-loader',
                        options: {
                            regExp: /\/php\/((?:[a-z0-9]+\/)*)[a-z0-9]+\.php$/,
                            name: '[1]-[name].[ext]',
                          }
                    }
                ]

Expected Behavior
I'm trying to move my PHP files from src/php/ to the dist folder using the file-loader.
problem is I want to keep the relative file structure from within the php folder. So if they are top level there, they are top level in the php folder, they get top level in dist, if they are within a folder called /inc they appear in the same kind of folder.
Files are moved into the dist folder with the relevant file structure from within the PHP folder
Actual Behavior
Files appear as [1]header.php, or [1]index.php etc.

@IngoVals don't use file-loader to moving files, use CopyWebpackPlugin or other plugins for this.

@IngoVals Can you create minimum reproducible test repo?

Thanks for the CopyWebpackPlugin suggestion, looks to be what I need. I was initially trying to use the html-loader and extract-loader to fulfill svg imports in PHP but I'm moving over to twig html needs so I still only needed to move the files.
I'll see if I can reproduce the result in a separate repo.
I'm wondering if it is the non-capturing group in the regex that is causing the issue.

https://github.com/IngoVals/fileloaderbugrepo
Just npm install and run npm start and notice the names of the php files in the dist folder.

Could we remove the "needs more info flag" ?

I tracked this down, in my regex i'm using linux style path delimiters ( forward slashes ) while I was running this on a windows machine. This results in the resourcePath having backward slashes.
This will of course not be system agnostic this way. I could change the regex to look for either forward or backward slash. But this is more a problem with loader-utils.

Relevant issue on loader-util


Sync eng/common directory with azure-sdk-tools for PR 2824

Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/2824  See eng/common workflow

/check-enforcer override


Removes working dir in nms charm command

Checklist

[ ] My code follows the style guidelines of this project.
[ ] I have performed a self-review of my own code.
[ ] I have made corresponding changes to the documentation.
[ ] I have added tests that validate the behaviour of the software.
[ ] I validated that new and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.
[ ] I have bumped the version of any required library.

Not needed after all. Addressed in the pr of using the rock


Baseline

MDN and Google will use the term "Baseline" to communicate which Web features are stable and supported across all three browser engines.
According to this comment, caniuse.com was consulted but it does not look like anything came off it. Are there any plans to add a Baseline label to caniuse.com, e.g. by highlighting which browser versions are part of Baseline in the compatibility table?

Yes, I plan on adding Baseline-related information in some form in the future and am in contact with some of the folks involved, that's all I can say on this for now. :)

https://caniuse.com/ciu/news

Dec 12, 2023
Baseline badges now on Can I use
Starting today, you will start noticing badges on feature tables that map to Web Features. These badges match those seen on MDN Web Docs and offer a quick at-a-glance view of feature support based on the Baseline definition.
To learn more about the badges on Can I use and what they mean see this web.dev announcement. If you'd like to learn more about Baseline see this explanation from the WebDX community group.
Note that the badges are intended as a helpful way to see if support meets a certain defined threshold, the full support table should always be consulted to learn details about a feature's support.

Example:
https://caniuse.com/css-grid

I believe this issue can be closed 0:-)


need to restart docker daemon after every reboot/start

Whenever I turn on my laptop or reboot, I've to restart docker daemon first with sudo systemctl restart docker.service. I'm on Arch Linux. Otherwise, my lamp containers are not accessible from localhost in the browser.
Docker version 1.8.1, build d12ea79
docker-compose version: 1.3.1
CPython version: 2.7.9
OpenSSL version: OpenSSL 1.0.1e 11 Feb 2013

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

Not much familiar with Arch Linux, but don't you have any init script or something, where you can just put the service and it's already started on boot?

@k0377 @Pensu
Thanks for reporting the issue. But this is a dupe of https://github.com/docker/docker/issues/15630. pls use 1.8.2.
Closing this.


travis: quote cwd build-docker-push script

That seems to have fixed it. Though for some reason it's still complaining about ruby: https://travis-ci.org/coreos/dex/jobs/103652830


Improve error message

Try to Improve error message #62

This is a great start! You've taken care of the situation where someone tries to initialize a project that's using a newer version of RN than RNDom supports, but there's a few other cases that need to be taken into account:

RN version is older than any that RNDom supports
RN version is in a support "hole", for example 0.56 broke out of tree platform support and it is likely that it won't be fixed until 0.57, so someone can either upgrade or downgrade their RN version

I'd also like to challenge you to try and make the error message recommend the specific version of RN to upgrade/downgrade to. I'm pretty positive that all the information needed for this is already available in that method.


Making sure async_mpi test does not depend on distributed runtime

See https://github.com/STEllAR-GROUP/hpx/pull/5715 for a report on this issue

Performance test reportHPXLocal PerformanceComparisonBENCHMARKNO-EXECUTORFuture Overhead - Create Thread Hierarchical - Latch=InfoPropertyBeforeAfterHPXLocal Datetime2021-12-10T13:50:04+00:002021-12-21T17:56:27+00:00HPXLocal Commitf499a2233385060b8a2612ab88163e62b0881888876000e2f725e21b60502a8c0baf6cf0cea15da2Datetime2021-12-10T15:19:42.442217+01:002021-12-21T19:51:05.580816+01:00Hostnamenid00243nid01326Compiler/apps/daint/SSL/HPX/packages/llvm-11.0.0/bin/clang++ 11.0.0/apps/daint/SSL/HPX/packages/llvm-11.0.0/bin/clang++ 11.0.0ClusternamedaintdaintEnvfileComparisonBENCHMARKFORK_JOIN_EXECUTORPARALLEL_EXECUTORSCHEDULER_EXECUTORStream Benchmark - Add--(=)Stream Benchmark - Scale(=)(=)(=)Stream Benchmark - Triad(=)-(=)Stream Benchmark - Copy(=)(=)(=)InfoPropertyBeforeAfterHPXLocal Datetime2021-11-12T11:29:27+00:002021-12-21T17:56:27+00:00HPXLocal Commitf64fbd02165a132a6276cedd14c586910abb79e4876000e2f725e21b60502a8c0baf6cf0cea15da2Datetime2021-11-12T12:57:50.824026+01:002021-12-21T19:51:24.598618+01:00Hostnamenid00007nid01326Compiler/apps/daint/SSL/HPX/packages/llvm-11.0.0/bin/clang++ 11.0.0/apps/daint/SSL/HPX/packages/llvm-11.0.0/bin/clang++ 11.0.0ClusternamedaintdaintEnvfileExplanation of SymbolsSymbolMEANING=No performance change (confidence interval within ±1%)(=)Probably no performance change (confidence interval within ±2%)(+)/(-)Very small performance improvement/degradation (≤1%)+/-Small performance improvement/degradation (≤5%)++/--Large performance improvement/degradation (≤10%)+++/---Very large performance improvement/degradation (>10%)?Probably no change, but quite large uncertainty (confidence interval with ±5%)??Unclear result, very large uncertainty (±10%)???Something unexpected…


App stuck on provisioning (I can't push changes anymore)

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
d30sp90kn4a1an
Region
us-east-1
Amplify Console feature
Not applicable
Describe the bug
My app is stuck on provisioning and I can't deploy updates. It's been stuck since yesterday.

Expected behavior
I expect to be able to deploy new changes
Reproduction steps
I don't know how it started happening and why, but now I always got the error message I showed above when I run amplify push.
Build Settings
No response
Additional information
No response

I'm closing it as it is already working again 🤷♂ . It may be related to all that crazy stuff of Fastly... who knows, but it's working again.


Add settings menu

We might want to let the user tweak a few things regarding the app and the game they are playing.
Currently thinking of:

[ ] Add a settings modal menu in the intro screen
[ ] #31

For the game screen:

[ ] Let the user change the max score
[ ] Implement a few systems for the various varieties of rummy (advantage, taking turns dealing cards)
[ ] Decide if ties are allowed, or if tiebreakers are forced, or prompt each game.

This will be a dynamic list, things will be added/removed/ticked off as development goes on.

Moving to 0.3.


fix: default basepath to / instead of resource name

Codecov Report

Merging #85 (152822b) into master (05a28b9) will decrease coverage by 0.09%.
The diff coverage is 83.33%.

@@            Coverage Diff             @@
##           master      #85      +/-   ##
==========================================
- Coverage   74.14%   74.04%   -0.10%
==========================================
  Files          34       34
  Lines        1315     1314       -1
  Branches      308      308
==========================================
- Hits          975      973       -2
  Misses        230      230
- Partials      110      111       +1

Flag
Coverage Δ

core
78.51% <83.33%> (-0.19%)
:arrow_down:

graphql
72.29% <ø> (ø)

mongoose
64.89% <ø> (ø)

reflector
76.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

packages/core/src/route/openapi/openapiDocs.ts
94.28% <80.00%> (-2.94%)
:arrow_down:

packages/core/src/route/createRouter.ts
65.00% <100.00%> (ø)


pass additional options to simplecrawler

It could be useful for guys who behind proxy like me to set HTTP/HTTPS agent. Although there is useProxy option also, but in my case that was not enough to pass the proxy.

Hi, thanks four your PR! I'm open to such a feature. Why is the useProxy option not sufficient? It is not included yet, but can be easily added. Did you see the corresponding options (proxyHostname, proxyPort etc.)?

Hello! Agree, useProxy could be userful as well. But when I worked with SimpleCrawler that didn't works. Our corporate proxy configured as HTTP for both HTTP and HTTPS requests. But SimpleCrawler doesn't take into account the proxy protocol. Instead it appends that based on requested URL. When URL is HTTPS it uses corresponding proxy protocol. Thus I was not able to crawl HTTPS sites. useProxy options works for HTTP sites, though.
After some search I've found http-proxy-agent and https-proxy-agent modules and was able to fix the problem with httpAgent, httpsAgent options.

That's indeed a problem. Could you add an example how to use it to the README? Would go for your suggested option as it seems more flexible.

Just added new options to the README. Hope it is descriptive enough.

Awesome, thanks!


Change lobby status into player game status

Changed the lobby status into a game status. You are either in the lobby (ready or not ready), or in the game
Made it more clear that you can have a game status, but not be connected
Fixed places that assumed the Session was usable, when it might not be, by not storing the session.
Removed Status tracking from the client, bunch of code that didn't show up in the UI anywhere, and maybe didn't work.
Removed InGameStatus, wasn't reliable. PlayerGameStatuses has been changed to be able to handle what it was used for.
_playerGameStatuses (previously _playersInLobby) is now cleaned up in a more reliable way.

@wrexbe This PR broke the ability for players to rejoin after disconnecting from a full server.

I thought about this scenario when I was changing it, but I forgot to remove "_playerGameStatuses.Remove(session.UserId);" in the disconnect. I'm going to make an attempt at adding a test for this, along with the change.


two instances

Sometimes i cant launch two instances of gekko with differents asset/currency
look like #413 even if this morning i've three instance lauched i dont know how.
{ Error: SQLITE_BUSY: database is locked
at Error (native) errno: 5, code: 'SQLITE_BUSY' }

As for now: copy the history folder and configure each instance to use a different one OR use different exchanges. Will sort this out once the web-wrapper is at a further stage.
Sorry about the inconvenience!

I just pulled in a commit that changs DB behaviour (by using WAL mode), you could try to download the develop branch of Gekko and see if the problem is fixed here.


Adding animations to the Page on loading and scrolling

I can Add animations to the Page on loading and scrolling just like in my portfolio website https://mhportfolio.vercel.app/. Please assign me this to add new feature.

I have checked the existing issues *
I have read the Contributing Guidelines *
I have starred the repository *
Working under Gssoc'24

can u suggest some animations that you are planning to implement, you can share in discord channel, link is mentioned in readme.md

yes, I can add animations in vanilla CSS and a library of animations data-aos https://michalsnik.github.io/aos/

@akshitagupta15june  If this task is not completed, can you please assign it to me?


Add crate for XPS operations

Wanted to get some administrative tasks + skeleton out of the way before committing code

add x86_64-unknown-linux-gnu to rust-toolchain.toml

I wasn't actually sure where this should live, but the way we discussed it at the offsite seemed like it would be in libxmtp.
this is the crate where we plan to impl XmtpMlsClient using xps
nothing will build yet until reorg is merged into xps

I agree this makes sense to me.  Thanks Andrew!


E04 : Add alert dialog for shouldShowRequestRational and refactor unu…

Hello, please take a look into my commit where I have added an alert dialog for shouldShowRequestRational and refactor some code. It will be my pleasure to know if there is anything I have missed.
Thanks.

Thanks for the first PR.
Intentionally, it wrote without considering process of 'shouldShowRequestPermissionRationale()', because it's not compulsory.
I'm thinking whether to add it or not.

Thanks for the first PR.
Intentionally, it wrote without considering process of 'shouldShowRequestPermissionRationale()', because it's not compulsory.
I'm thinking whether to add it or not.

Thanks for reviewing.


Ar hdf5

Adds the ability to save AnalysisResults to HDF5 files which are more flexible than FITS, thus we can expand on their content in the future. Conversion utilities are supplied to convert old saved files in FITS format.
Does not break past result saving.

looks like some this failed with python2...

Do we still need to support python 2 at this point?

I will look into this and see if we can continue to support py27.

I am happy to drop py2 support at this point.

@grburgess I dropped py27 support. Do you have any idea why it is now failing on py37 (linux)?

@ndilalla I am checking.

Codecov Report

Merging #386 (8c70abe) into master (98b41f5) will decrease coverage by 0.13%.
The diff coverage is 88.73%.

@@            Coverage Diff             @@
##           master     #386      +/-   ##
==========================================
- Coverage   69.93%   69.80%   -0.14%
==========================================
  Files         104      105       +1
  Lines       12561    12870     +309
==========================================
+ Hits         8785     8984     +199
- Misses       3776     3886     +110

@ndilalla Ok, I fixed it... another one of these very strange byte string issues.

@ndilalla Ok, I fixed it... another one of these very strange byte string issues.

Great, thank you! Now I can merge this one and tag the first py37-only release.


A documentation for build, installation and first steps is available from the readme page

Dear CTA community,
It would be very nice to have a documentation to build, deploy and do the first steps with CTA with an example.
I can help validating this documentation.
Thanks

@pattama

@jeffeland  - thx mate, let me add you as contributor.


Anchors possibly not working

Steps to Reproduce

Copy (or merge) anchor tests from commit 9ec7d26 to the sample/index.html
Run npm run start

Expected Results
All the test anchors except "Name Only Anchor" and "Name Only Invisible Anchor" would have the anchor flag and be editable.
Actual Results
Only the two Invisible anchors with ids are editable. I also seem to have the same result in my Drupal instance.
Proposed Resolution
Remove line 125 in src/anchorediting.js (commit 5119d4b).  This seems to fix the problem both in the sample/index.html dev environment and also on our Drupal.  But I'm not super confident in this solution, or if this is a problem others are seeing.  I found this as part of trying to add support for legacy code with anchors that only have a name attribute. I will be posting another merge request for that one.

Thanks @mkimmet, that's a good catch. Probably should've checked this a little closer before I merged it in. I think what's happening is instead of filtering links that don't have href it's filtering links with href false. I'm keeping the change in your PR and pushing an alternate fix for links with hrefs being picked up by the plugin which specifically checks for the attribute existing.


Move docs to gRPC on C# page

Addresses https://github.com/grpc/grpc-dotnet/issues/605
Move useful information from troubleshooting page to primary docs

Thank you for the PR, @JamesNK


RewriteURI bug with differents path

What steps will reproduce the problem?

docRoot    : /var/www/public/site/admin
currentDir : /var/www/public/site/includes/css

file-relative URI  : ../../images/bg_foot.jpg
path prepended     : /var/www/public/site/includes/css/../../images/bg_foot.jpg
docroot stripped   : des/css/../../images/bg_foot.jpg
traversals removed : des/../images/bg_foot.jpg

the file-relative URI and the path prepended are OK, but the error appears
because of the admin directory.

I think the probleme comes from this line
$path = substr($path, strlen($realDocRoot));
in the rewriteRelative function

the traversals removed line should be ../images/bg_foot.jpg
(/var/www/public/site/images/bg_foot.jpg)

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 1 Dec 2010 at 9:05

I think to get this working you'd need to place /min/ inside
/var/www/public/site and include the code on the AlternateFileLayouts wiki page.

Original comment by<EMAIL_ADDRESS>on 1 Dec 2010 at 4:54

Changed state: NeedInfo

in fact I don't use minify fully, I'm just using the CSS compressor and
UriRewriter class

Original comment by<EMAIL_ADDRESS>on 2 Dec 2010 at 8:16

The rewriter can only produce root-relative URIs, so assuming the URI
"/images/bg_foot.jpg" would work for you, then you really need to pass in
"/var/www/public/site" as your docRoot.

Original comment by<EMAIL_ADDRESS>on 2 Dec 2010 at 1:17


IML does not trigger (TargetOfflineAlet) when the vagrant VMs are are not running even after the browser refreshed or “chroma-config restart” is run.

Steps:

Install IML and add all the servers and create a filesystem.

If there were no issues with the above, IML GUI will show all status green and 0 alerts/warnings.

Kill the browser where IML GUI is running.

Halt all the vagrant nodes except adm

Check the status of the vagrant nodes. It should show:
adm                       running (virtualbox)
mds1                      aborted (virtualbox)
mds2                      aborted (virtualbox)
oss1                      aborted (virtualbox)
oss2                      aborted (virtualbox)

Load IML GUI in the browser again.

The GUI will show no alters/warnings and everything is up and no issues  even if the browser is refreshed or “chroma-config restart” is run. Normally if the node goes or is down, TargetOfflineAlet is triggered.

Intel® Manager for Lustre* software Build jenkins_manager_for_lustre_549


Breaking changes in output of the transformer

Hi,
I had embedded the enketo-transformer and enketo-core in my application last year. This year I updated to latest release of the two products. I see there are some changes in the output of the transformer. In the xml model instance now I am getting two identical nodes for the repeat type like below, which in the past was not like that. This change caused error in my code and I had to change the way I deal with the output of transformer. My question is: Does enketo-transformer now always produces two identical xml nodes for the repeat types or is it for specific cases? because I need to change my code to always work fine with the xml model instance produced by enketo-transformer
Note: Always the first node has (jr:template="") attribute, while second one doesn't.

<ListOfKeyInformants jr:template="">
    <KeyInfoName />
    <KeyInfoType />
    <Sex />
    <ContactDetails />
 </ListOfKeyInformants>
 <ListOfKeyInformants>
    <KeyInfoName />
    <KeyInfoType />
    <Sex />
    <ContactDetails />
 </ListOfKeyInformants>

Are you sure this change is Enketo Transformer related and not pyxform related? Pyxform has indeed changed to always output the first repeat instance in addition to the repeat template: https://github.com/XLSForm/pyxform/issues/182

Actually I am not sure. I am first transforming to xform using pyxform and then to enketo (model and form) using enketo-transformer. But thanks for letting me know about changes in pyxform. It actually does not matter for me where is the change. I just needed to make sure I always get the same output.

It's pyxform. I think you may be able to deal with this by deleting all templates. Will close this now, but feel free to re-open if you think there is an enketo-transformer change you'd like clarification on.

I did so. Appreciate your fast replies on the issues! :)


[FEATURE] Add github link to the footer

Description
Please add a GitHub icon and link on the footer

Optional:
Add also Twitter and Discord
Screenshots
No response

assign me please

is anyone working on it or should i do it

is anyone working on it or should i do it
I'm on it brother,

assign me please

Assigned!


[mount] git on fuse no longer works

Describe the bug
Since mount2 was made default in 2.91, I have found that git repositories no longer work on the FUSE mount.

Expected behavior
The git commit does not fail.
Additional context
# weed version [built on commit 0716092b396941e07ab2e41e782641ae658b3793]
version 30GB 3.16  linux amd64
# weed version (bisected) [built on commit be3fc7739161a29e57ae1481358656af385b1002]
version 30GB 2.90  linux amd64

Added a fix. Can you try https://github.com/chrislusf/seaweedfs/releases/tag/dev

Still running into the same issue, but it seems that if I try to commit over and over again in quick succession, sometimes it will succeed.

Added a fix. Can you try dev (release)

This commit seems to have made cloning large git repos slightly more consistent, but sometimes they will still fail with either:
error: failed to read delta-pack base object ca3167fb83a89814634a7ef33af0425f60a97e77
fatal: unpack-objects failed

or
fatal: bad object 02f0038db6e41ccc7f86fb68624b8271a289388e
error: remote did not send all necessary objects

or
fatal: serious inflate inconsistency
fatal: fetch-pack: invalid index-pack output

I haven't found a way to consistently reproduce it as it seems very sporadic. One way that I have found that will eventually hit an issue is trying to fetch AOSP source. Might be related to #2305?

I have a large git repository, approx 2GB, which if I clone to a seaweedfs mount either gets stuck Resolving deltas or if it does work then without touching anything git status shows that one file, a symbolic link, has been changed.
However I've not managed to create a test case that I can give to you.

Something interesting to note is that this command chain with fail:
# in mount
➜ mkdir test && cd test && touch a && git init && git add a && git commit -m "test"
Initialized empty Git repository in /mnt/test/.git/
error: invalid object 100644 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 for 'a'
error: invalid object 100644 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 for 'a'
error: Error building trees

while adding a sleep 1 between the git add and the git commit makes it fail with a different error:
# in mount
➜ mkdir test && cd test && touch a && git init && git add a && sleep 1 && git commit -m "test"
Initialized empty Git repository in /mnt/test/.git/
fatal: cannot update ref 'refs/heads/main': trying to write ref 'refs/heads/main' with nonexistent object 57d6c3c2ee0bd46e7778034856a0f77de8bedcf3

but if there are two git commits in the same second the first one will fail but the second one will succeed:
# in mount
➜ mkdir test && cd test && touch a && git init && git add a && sleep 1 && git commit -m "test" || git commit -m "test"
Initialized empty Git repository in /mnt/test/.git/
fatal: cannot update ref 'refs/heads/main': trying to write ref 'refs/heads/main' with nonexistent object b9202c4f5f922d4072885ebb12d4802b758ad6c0
[main (root-commit) b9202c4] test
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 a

Seems only reproducible on linux. Added a few fixes. Please help to test with the dev version.

With the new dev version it seems like git commits now work properly, but the issue with sporadic large git clones failing still exists but it happens less frequently now.

any large git repo to test with?

Upon further testing it seems like large git clones are working fine now, the servers I was testing weren't running the right version.

@wozeparrot thanks for the quick confirmation!
@paularlott does it work for you now?

@chrislusf It doesn't look like it has resolved the issue I'm seeing.
I tried a git clone however it's stopping dead at the Resolving deltas step, no errors, it just stops with a very high IO wait.
I also tried rsync from my main drive to the SeaweedFS mount and git status on the copy is reporting that the sym link has changed.

@paularlott any large git repo for me to try?

I've not found one yet that I can give you, I'm still looking.

Does it work on smaller git repo? Is it related to git LFS?

Yes, it works for every other repo I've tried, but they are all a lot smaller. I don't think it's LFS related as another repo using LFS is fine.

@chrislusf For the sym link error I've just realised it is as simple as the following to replicate it, I'm not sure why this didn't show it up before:
mkdir test
cd test
git init
touch a
ln -fs a b
git add a
git add b
git commit -m "test"
git status

The git status shows:
On branch master
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   b

If I do the same on the local drive then b isn't flagged as modified.
I'm on ubuntu 22.04 using the last dev build of SeaweedFS.
I'm still trying to find a way to replicate the stall.

@chrislusf I'm very sorry but it looks like I have a failed network card, I moved my tests to another machine and I can pull the repository without the stall. I'm not sure why it's only showing up with SeaweedFS.
So it's only the symlink issue that's remaining.

Upon further testing it appears that the failed git clone issue has appeared again, but I found that it only happens my cluster which uses slower drives than the ones I have in my development machine.
➜ repo init -u https://github.com/LineageOS/android.git -b lineage-19.1 --no-use-superproject -v
Downloading Repo source from https://gerrit.googlesource.com/git-repo
Cloning git repository https://gerrit.googlesource.com/git-repo
Downloading clone bundle https://gerrit.googlesource.com/git-repo/clone.bundle
repo: error: "git" failed with exit status 1
  cwd: /mnt/tmp/wozeroid/wozeroid/.repo/repo
  cmd: ['git', 'fetch', '--quiet', '/mnt/tmp/wozeroid/wozeroid/.repo/repo/.git/clone.bundle', '+refs/heads/*:refs/remotes/origin/*', '+refs/tags/*:refs/tags/*']
  stderr:
  >> error: inflate: data stream error (incorrect header check)
  >> error: inflate: data stream error (incorrect header check)
  >> error: inflate: data stream error (incorrect header check)
  >> fatal: serious inflate inconsistency
  >> fatal: serious inflate inconsistency
  >> fatal: serious inflate inconsistency
  >> error: inflate: data stream error (unknown compression method)
  >> warning: die() called many times. Recursion error or racy threaded death!
  >> fatal: serious inflate inconsistency
  >> error: index-pack died
fatal: double check your --repo-rev setting.
fatal: cloning the git-repo repository failed, will remove '.repo/repo'

I found that I can somewhat reliably (about 1/5 times) reproduce the issue by trying to initialize a git-repo project:
# have git-repo installed
mkdir test && cd test
repo init -u https://github.com/LineageOS/android.git -b lineage-19.1 --no-use-superproject -v
# if it succeeds remove the .repo directory

Simpler test case that I've found
mkdir test && cd test
curl -O "https://storage.googleapis.com/gerritcodereview/gerrit_git-repo_clone.bundle"
git init

# this command will fail
git fetch ./gerrit_git-repo_clone.bundle

Another thing that I've noticed is that it only fails if mounting the cluster remotely, if I mount the cluster on the same machine that filer is running on it doesn't fail.

Tried to debug the symlink problem. I could not tell why git considers b is modified. I guess it is about some time comparison. But I do not tell the difference with common file system.
> GIT_TRACE=2 GIT_CURL_VERBOSE=2 GIT_TRACE_PERFORMANCE=2 GIT_TRACE_PACK_ACCESS=2 GIT_TRACE_PACKET=2 GIT_TRACE_PACKFILE=2 GIT_TRACE_SETUP=2 GIT_TRACE_SHALLOW=2 git status
18:31:54.504452 trace.c:387             setup: git_dir: .git
18:31:54.504958 trace.c:388             setup: git_common_dir: .git
18:31:54.504968 trace.c:389             setup: worktree: /Users/chrislu/tmp/mm/test
18:31:54.504971 trace.c:390             setup: cwd: /Users/chrislu/tmp/mm/test
18:31:54.504975 trace.c:391             setup: prefix: (null)
18:31:54.505303 chdir-notify.c:67       setup: chdir from '/Users/chrislu/tmp/mm/test' to '/Users/chrislu/tmp/mm/test'
18:31:54.505321 git.c:455               trace: built-in: git status
18:31:54.536869 read-cache.c:2398       performance: 0.006502000 s:  read cache .git/index
18:31:54.554564 read-cache.c:1690       performance: 0.017119000 s:  refresh index
18:31:54.558796 diff-lib.c:266          performance: 0.000423000 s:  diff-files
18:31:54.584727 unpack-trees.c:1802     performance: 0.000009000 s:    traverse_trees
18:31:54.585108 unpack-trees.c:418      performance: 0.000361000 s:    check_updates
18:31:54.585144 unpack-trees.c:1892     performance: 0.001730000 s:   unpack_trees
18:31:54.585153 diff-lib.c:629          performance: 0.019750000 s:  diff-index
18:31:54.585841 name-hash.c:607         performance: 0.000014000 s:  initialize name hash
18:31:54.590437 read-cache.c:3072       performance: 0.003064000 s:  write index, changed mask = 2
On branch master
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   b

no changes added to commit (use "git add" and/or "git commit -a")
18:31:54.594870 trace.c:487             performance: 0.105520000 s: git command: git status

I tried the same set of operations using rclone to mount a s3 bucket off SeaweedFS, that doesn't exhibit the git link issue, so whatever it is it is related to weed mount. I can't see a difference, however I don't think it's the time stamp.

Did you find any simple steps to reproduce the symlink problem?

Testing again with the latest release it's still present and the only way I can reproduce it is with the steps from https://github.com/chrislusf/seaweedfs/issues/3351#issuecomment-1193289253 I can't seem to reproduce it outside of git,  probably because it's specific to the way git works.
I suspect it's something to do with lstat call which I think git does on the files.
I did notice that if I do stat on b on a seaweedfs mount I get:
  File: b -> a
  Size: 0         	Blocks: 0          IO Block: 512    symbolic link
Device: 2dh/45d	Inode:<PHONE_NUMBER>9265252888  Links: 1
Access: (0777/lrwxrwxrwx)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2022-07-27 09:17:25.000000000 +0800
Modify: 2022-07-27 09:17:25.000000000 +0800
Change: 2022-07-27 09:17:25.000000000 +0800
 Birth: -

while on local disk I get:
  File: b -> a
  Size: 1         	Blocks: 0          IO Block: 4096   symbolic link
Device: fd00h/64768d	Inode: 2097697     Links: 1
Access: (0777/lrwxrwxrwx)  Uid: ( 1000/    paul)   Gid: (  999/  docker)
Access: 2022-07-27 09:20:33.355045905 +0800
Modify: 2022-07-27 09:20:29.939043475 +0800
Change: 2022-07-27 09:20:29.939043475 +0800
 Birth: 2022-07-27 09:20:29.939043475 +0800

Size is 0 vs 1
Birth is missing on the seaweedfs volume
timestamp is less accurate on seaweedfs.
If I do stat on the file a, then both return Size as 0 as I'd expect.
I'm not sure if any of these are the cause, however at this point I'd take a guess Size might have something to do with it.

Doing a quick search reveals this: https://github.com/upspin/upspin/issues/619 which shows the same behavior that we are experiencing here.

added a fix. seems related to symlink size.


chore(deps): update terraform terraform-ibm-modules/powervs-workspace/ibm to v1.13.0

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/powervs-workspace/ibm (source)
module
minor
1.12.0 -> 1.13.0

Release Notes

terraform-ibm-modules/terraform-ibm-powervs-workspace (terraform-ibm-modules/powervs-workspace/ibm)
v1.13.0
Compare Source
Features

switch tor01 and us-south DC to PER DC (#118) (16261d0)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

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


Demonstrate how to use ILogger and Python Log Providers together

Demonstrate how writing to Python logs will work with ILogger and DI

Could part of this see the print command in Python redirect back to the ILogger instance?

This is part of the Aspire demo already


Axis freezes when one axis is a integer range

E.g.
axis(8:11, 8:1.0:10.0, 8.0:1.0:10.)

Ah yeah, I don't promote and there is only a signature for matching ranges


Parser Refactor

closes #587

Nice work, that was desperately needed. It now makes me eager to go in each parser, one after the other to improve them and get some nice backtracking errors.
I've left a few comments which I don't mind addressing myself or in a pairing session. I'll be on Discord streaming, feel free to join :)


Failed to create vault backup error

Failed to create vault backup after 1
attempts: RangeError
[ERR_CHILD_PROCESS_STDIO_MAXBUFFER]:
stdout maxBuffer length exceeded
proper
even after it shows the error, i can see the backup file made in the local folder.
this is my settings

Hi, is the backup file complete? Any files missed in the file?

the number of notes inside obsidian  were the same. i dont think anything is missing ... but it throws the error everytime it backsup

I can commit the same issue (it occures only with bandizip):

Console:

Thanks for the replies, I'll try to reproduce the problem first.


n-gram

I want to use n-gram, to build my window topic model:
python prep-text.py data/sample/month1 data/sample/month2 data/sample/month3 -o data --tfidf --norm --ngram 3
python find-window-topics.py data/*.pkl -k 5 -o out
python display-topics.py out/month1_windowtopics_k05.pkl out/month2_windowtopics_k05.pkl out/month3_windowtopics_k05.pkl
when I display the window topics, why it is still unigram?

Specifying the parameter "--ngram 3" means that the maximum n-grams size will be 3. So each document will be represented by unigrams, bigrams and trigrams. Since unigrams are far more common than longer ngrams, they will still tend to appear far more frequently in the descriptors of topics produced on many document collections. In the sample data, notice that some bi-grams do appear in the descriptors (e.g. "prime minister").
Regards,
Derek.


Add option to ignore "Automatically rename function names to avoid keyword conflict" check

Describe the bug
Re: Automatically rename function names to avoid keyword conflict #2150
We have method named sync() on our project, which didn't cause any keyword conflict issues so far*, and with this new change, it's generated as sync_().
Force renaming it as sync via #[frb(name = "...")] macro isn't applied.
#[frb(name = "sync")]
pub fn sync(&self) {
    ...
}

Can we add a macro to ignore this check or apply the rename macro after this check?
Thanks!

*: After investigating, not all Dart keywords cause an issue when used as a function name so there has to be made a distinction between problematic & unproblematic ones when automatically renaming.

Steps to reproduce
Create an empty Dart project & class, then create functions using Dart keywords. Here are a couple of the cases I run into and there ought to be more.

default()

error: 'default' can't be used as an identifier because it's a keyword.

false()

error: The expression doesn't evaluate to a function, so it can't be invoked.

else()

info: Statements in an if should be enclosed in a block.

sync()

non-problematic

Expected behavior
Automatic rename should not apply to Dart keywords that are not problematic to be used as a function name.
Generated binding code
// Rust input
pub async fn sync() {
    ...
}

// Dart output
Future<void> sync_();

OS
macOS Sonoma Version 14.5
Version of flutter_rust_bridge_codegen
2.1.0
Flutter info
Flutter 3.22.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 761747bfc5 (5 weeks ago) • 2024-06-05 22:15:13 +0200
Engine • revision edd8546116
Tools • Dart 3.4.3 • DevTools 2.34.3

Version of clang++
clang version 18.1.5
Additional context
No response

Looks reasonable! Then we should change the check when it is used as function name.
Feel free to PR for this, alternatively I will work on it in the next batch.
For completeness: The workaround - as you have already done - is to stick to 2.0.0 before it is fixed

Looks reasonable! Then we should change the check when it is used as function name.
Feel free to PR for this, alternatively I will work on it in the next batch.
For completeness: The workaround - as you have already done - is to stick to 2.0.0 before it is fixed

Thank you for the swift response!
Some notes: See footnote on Dart keywords, keywords that are flagged 2-3 should be good to use as a function name.
Keywords that are flagged 1 are not safe to use as a function name in some contexts.
For example; using yield() inside a generator function is unsafe
Which, imo, should be overwriteable using a macro if you are certain they won't be used in such contexts.

I see.

Which, imo, should be overwriteable using a macro if you are certain they won't be used in such contexts.

Then a simpler method may be:

When user provide a dart name via #[frb(name = ...)], we should NOT run the auto checker and should directly follow what the user requires.