Update to responsive bullet SVG

What?
Updating the current list bullet numbered SVG into a responsive version so it scales correctly via zoom-text-only / improves a11y considerations
Why?
"Step numbers don't get bigger with bigger font size" - [Ticket] (https://trello.com/c/RurRepSL)
Fail of WCAG SC 1.4.4
Visual Changes
Example page under FOI request
Before > After (100% - Chrome)

Before > After (@ 200% - Firefox)

Before > After (100% - Firefox)

Before > After (@ 200% - Firefox)

IE11

Anything else?
Vertically aligns better for FF and uses "NTA" font when available.

Looks much better than before, also good call regarding using the NTA font if available.
However, I noticed this issue testing IE11 on Browserstack:
Before: circular but text is misaligned

After: text centred but surrounding circle is cut off at the edges

It doesn't look massively broken, but also does not look as good as it does on other modern browsers.
If it's massively hard to fix, then it might not be worth the effort to fix it though.

It doesn't look massively broken, but also does not look as good as it does on other modern browsers.
If it's massively hard to fix, then it might not be worth the effort to fix it though.

It does look more pronounced in the side-by-side 🤔
I've timeboxed some effort this morning without arriving at simple solution.  I'm wondering if the continued time investment is warranted, eg IE11 would expected to get a less than ideal experience.
I was also basing this on another SVG element nearby - the "download link" that is a bit different also in IE11

I'm going to suggest I'll raise an issue on this one as an enhancement so I doesn't get lost however suggest for this PR that's OK for now - what do you think?

Yeah as I said, don't worry about it if it's hard to fix @chris-gds.
Definitely don't spend any more time on it, it looks better than it did before even as it is.


fix: upgrade deps

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


fix(wallet): Fix wallet tests and error handling

We have to update the test data when transferring to the neo3 because NEP2 uses a hash of the address and the address in neo3 has changed due to the change in scripthash.

Update wallet tests to use async await style
Update wallet json in test
wallet encrypt decrypt to throw instead of returning Promise.reject. This was causing jest not to catch the errors due to double wrapped promises.

200 points snowypowers

https://neoscan.io/transaction/44C84C9E7582DC00411BC9D9D075F6993BA7E203FFDDE366E21DFEBD125EA580


add an mbedtls_platform_safer_memcmp() function

Description

Type: Enhancement\Feature Request
Priority: Major

Enhancement\Feature Request
Justification - why does the library need this feature?
Since more than one module needs a safer_memcmp function, it would be good to have such a function in platform_utils module.
Suggested enhancement
migrate mbedtls_ssl_safer_memcmp() function from ssl_internal.h() to platform_utils and add tests.

We want to create a new library module for constant-flow code, to make it easier for both computers and humans to validate that code that should be constant-flow is indeed constant-flow. So I'm closing this as a duplicate of https://github.com/ARMmbed/mbedtls/issues/3649.


bugfix: raise kin.errors.AccountNotActivatedError when my account actived

I want to test the sdk, but get a error, so I made a change. I'm not quite sure, should you determine if an account is active or not based on native asset?

My mistake.


Improved UI and made texts more readable

Can you please send a PR by making another branch?

Can you please send a PR by making another branch? Make an issue for the same too

Yeah I have done that , check it kindly
On Sun, 30 Oct, 2022, 6:33 pm Shubham Vyas, @.***>
wrote:

Can you please send a PR by making another branch? Make an issue for the
same too
—
Reply to this email directly, view it on GitHub
https://github.com/Wishy-S/SmallWebProjects/pull/12#issuecomment-1296253705,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AX3UFGEL5YOJMJRRKFOIVLLWFZW2DANCNFSM6AAAAAARRN4I7A
.
You are receiving this because you were mentioned.Message ID:
@.***>


Update Node.js to LTS 20.11.0

Which image would you like to change?
Latest LTS version of Node.js is 20.11.0, current version in CloudShell image is 16.20.2
What changes are you requesting?
Update to latest LTS of Node.js
What scenario are these changes enabling?
The current version in the image does not support the Node.js templates for Azure Developer CLI (azd), which is another tool here in this image.
https://github.com/Azure/CloudShell/blob/d58f4fa9e4aa6ec361d058ec323eadd3b9efd883/linux/tools.Dockerfile#L32
By how much does this change the image size?
Almost 0 cost change

Mariner 2.0 only has Node 18, we will be able to use Node 20 when Mariner 3.0 rolls out, ETA Summer 2024


Co house 50 update

Retired Rochelle Galindo and added Mary Young in accordance to issue #179

Pull Request Test Coverage Report for Build 540

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

Totals

Change from base Build 537:
0.0%

Covered Lines:
969

Relevant Lines:
1511

💛  - Coveralls


[SCB-786] when instances cache is not sync to SC caused by bug, auto fix it

Coverage increased (+0.007%) to 86.734% when pulling bd4730e3dd7109249d03d1e5f065bdafaa6efba2 on wujimin:auto-fix-instances-cache-not-sync into e4b74c9745d40360d58a7600b50ce705be0bf0dc on apache:master.


DNS error when attaching a PV on vSphere

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

pgadmin installed through Apps was working fine and accessing a existing PV on vSphere.
I scale down the workload to 0 to rename vmdk from ugly name kubernetes-dynamic-pvc-266c3e63-ec40-4153-ab5e-0e0785f968c6.vmdk to pgadmin.vmdk.
Vmdk file was successfully renamed in vSphere and PV and PVC were successfully reconfigured in Rancher UI.
When I scale up the workload to 1, UI shows the error below:

Result:
AttachVolume.Attach failed for volume "pgadmin" : Post https://vcshomolog.tre-pa.jus.br:443/sdk: dial tcp: lookup vcshomolog.tre-pa.jus.br on [::1]:53: read udp [::1]:43003->[::1]:53: read: connection refused

Other details that may be helpful:

vcshomolog.tre-pa.jus.br is my vCenter
Despite this DNS error, Rancher UI can successfully create new nodes on that vSphere
nslookup from busybox:1.28.4 in both local and downstream clusters resolves vcshomolog.tre-pa.jus.br fine.
Creating new volumes from Rancher UI stucks on Pending state

Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): v2.3.5
Installation option (single install/HA): HA

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): vSphere 6.5 on premise
Machine type (cloud/VM/metal) and specifications (CPU/memory): VM
Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.3", GitCommit:"06ad960bfd03b39c8310aaf92d1e7c12ce618213", GitTreeState:"clean", BuildDate:"2020-02-12T13:43:46Z", GoVersion:"go1.13.7", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.3", GitCommit:"06ad960bfd03b39c8310aaf92d1e7c12ce618213", GitTreeState:"clean", BuildDate:"2020-02-11T18:07:13Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"linux/amd64"}

Docker version (use docker version):

Client: Docker Engine - Community
 Version:           19.03.6
 API version:       1.40
 Go version:        go1.12.16
 Git commit:        369ce74a3c
 Built:             Thu Feb 13 01:27:49 2020
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.5
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.12
  Git commit:       633a0ea838
  Built:            Wed Nov 13 07:28:22 2019
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.2.10
  GitCommit:        b34a5c8af56e510852c35414db4c1f4fa6172339
 runc:
  Version:          1.0.0-rc8+dev
  GitCommit:        3e425f80a8c931f88e6d94a8c831b9d5aa481657
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

What Rancher component is responsible for this message? It's not shown in the Rancher logs.
AttachVolume.Attach failed for volume "pgadmin" : Post https://vcshomolog.tre-pa.jus.br:443/sdk: dial tcp: lookup vcshomolog.tre-pa.jus.br on [::1]:53: read udp [::1]:43003->[::1]:53: read: connection refused

I don't now why or how, but problem was SOLVED when I deleted and recreate the underlying StorageClass.


Soundfilter

Why not use the dalamud plugin soundfilter for identification of voice files?

I actually wasn't aware the plugin existed, but definitely appears to be a very good alternative for a portion of this tools functionality.
Will probably accelerate my plans to simply have selections for what voice and race combination people want to replace sounds on.

Tool has now been updated so that guessing file names is no longer a required process of making custom voice packs.
I consolidated the data I grabbed with the help of Sound Filter.


Changed bollinger styling to new color scheme

Resolves #184

Yes, happy to change the PR for those suggestions

:+1:


Custom uploadFile function

Hi guys and thanks for the great component!
I would like to ask if it is possible to add an ability to completely override the behavior of the uploadFile function? There is a quite complicated upload procedure in my current project; in fact, I use the @azure/storage-blob package to upload files to the cloud and it turns out that a single POST request made by react-dropzone-uploader is not enough to replace all the magic that happens inside the storage-blob package. :-)
Therefore it would be great to have a property for the custom uploadFile function that could be used to implement the specific logic of file uploading. It should be also possible to set the uploading progress and mark the file as successfully uploaded or not uploaded because of an error.
Again - thank you for the component! Best regards.

We have a similar situation using aws amplify/storage AND aws Appsync in the upload process.

@rberger Did you find any way to show the progress bar when calling onSubmit ?

@sepsol Its been a while. I think we created an independent widget that manages its own progress bar by monitoring some aspect of the upload. Unfortunately I don't have any simple snippets to share. Its all kind of engrained in our Clojurescript app...


Bug: BaseLayoutPage.UpdateSelectionSize OverflowException

Description
BaseLayoutPage.UpdateSelectionSize ()
System.OverflowException: Arithmetic operation resulted in an overflow.
Steps To Reproduce
Unknown
Requirements

Resolve crash

Files Version
v3.4.4
Windows Version
Windows 11
Log File
System.Linq
Enumerable.Sum[TSource,TResult,TAccumulator] (IEnumerable`1 source, Func`2 selector)
Files.App.Views.Layouts
BaseLayoutPage.UpdateSelectionSize ()
Files.App.Views.Shells
BaseShellPage.FilesystemViewModel_DirectoryInfoUpdated (Object sender, EventArgs e)
System.Threading.Tasks.Task
<>c.<ThrowAsync>b__128_0 (Object state)
WinRT
ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0 (Int32 hr)
ABI.Windows.ApplicationModel.Core
IUnhandledErrorMethods.Propagate (IObjectReference _obj)
Microsoft.AppCenter.Utils
ApplicationLifecycleHelperWinUI.<ctor>b__0_3 (Object sender, UnhandledErrorDetectedEventArgs eventArgs)

Does that mean the total file size exceeded 9 EB (9,000,000 TB)? Is that possible under normal use?

I don't really know

@hishitetsu I linked the report from Sentry but it doesn't really offer anything more than what we have here.

The only difference is the advice given by the AI, which only states the obvious lol


PAPI Breaking Stuff Again

This is very new, just reporting in case you weren't aware yet: https://gist.github.com/mercurialmusic/db436c922b990158f429e1ac260e8962

What version of PAPI is that from?
Would be annoying if they changed the API.. seems like that'd break 100's of plugins, kind of hard to believe?
In the meantime if you want you can set placeholder_api_enabled: false in plugins/Magic/config.yml to disable PAPI integration.

They updated today: https://www.spigotmc.org/resources/placeholderapi.6245/update?update=351340
Very annoying, especially since it's not the first time even this year that they've done that. I just rolled back the PAPI version for now, because yeah, it's several plugins that aren't able to hook into it anymore.

Ok, thanks for the link!
Looks like it's easy enough to switch, I didn't realize I was using an already-deprecated version of their API. Should be a dev build available shortly, but sounds like you'll need to wait on other plugins anyway.

Not tested, but hopefully fixed: http://jenkins.elmakers.com/job/MagicPlugin/3112/

Thank you!


[WIP] Improve related mainstream linking

Work in progress, opening for comments - do not merge s'il vous plait :-)

Perhaps we could take this opportunity make the naming more generic, since this basically allows linking to any GOV.UK page, not just mainstream content. The distinction between "mainstream" and "government" content is becoming less and less clear anyway.

I did consider this, however I think that step is more likely to come once the format rationalisation work kicks in, or the whitehall replacement work starts.

A few changes here that will need reviewing by someone else. A small refactoring to the DetailedGuide model to reduce the levels of indirection, and just use Rails a bit more. No longer requires callers to know when to make the model fetch the content ids.
@gpeng can you have a look through this please?


Clarify enum documentation

Simple docs change to help clarify how to decalre an enum

I'm just going to go ahead and merge this as you didn't respond.

Oh I'm sorry, I saw the requested changes when I was about to sleep and just forgot about it, I can do the rest when I get home. If there's any specific sections that you want me to do, then let me know.

No stress - did you get see my ping in Discord? It's not a biggy so don't worry about doing the rest of them!

Thank you, I have mentions silenced by default when I join a server so I didn't, sorry.


Update gist failed in git action

I following this README.md. But I failed to git action in update gist.
I set project secret variable to correctly (GIT_TOKEN, GIST_ID) and My git credential token is not expired.
What`s happen? I want solved.
[failed action]

[repository secrets setting]

[.github/workflows/schedule.yml]

For trouble shooting, try this workflow on your local environment.
Step1:  clone project
git clone https://github.com/maxam2017/productive-box

Step2: install deps
yarn

Step3: add environment variables
touch .env

and add few lines of env variable
# example of .env file
GH_TOKEN=ghp_oooxxooxx
GIST_ID=oxoxoxox
TIMEZONE=Asia/Taipei

⚠ make sure https://gist.github.com/<username>/<GIST_ID> exists.
Step4: trigger gist file updating
yarn dev

and check if your gist file update correctly.
If you encounter something wrong, feel free to report here.

I tried your comment but following this error.
~/workspace/southouse/git/productive-box master ❯ yarn dev                                                                                14:28:13
yarn run v1.22.19
$ ts-node src/index.ts
/Users/southouse/workspace/southouse/git/productive-box/node_modules/ts-node/src/index.ts:859
    return new TSError(diagnosticText, diagnosticCodes, diagnostics);
           ^
TSError: ⨯ Unable to compile TypeScript:
src/index.ts:40:15 - error TS7006: Parameter 'repoInfo' implicitly has an 'any' type.

40       .filter(repoInfo => !repoInfo?.isFork)
                 ~~~~~~~~
src/index.ts:41:12 - error TS7006: Parameter 'repoInfo' implicitly has an 'any' type.

41       .map(repoInfo => ({
              ~~~~~~~~
src/index.ts:64:7 - error TS7006: Parameter 'edge' implicitly has an 'any' type.

64       edge => {
         ~~~~

    at createTSError (/Users/southouse/workspace/southouse/git/productive-box/node_modules/ts-node/src/index.ts:859:12)
    at reportTSError (/Users/southouse/workspace/southouse/git/productive-box/node_modules/ts-node/src/index.ts:863:19)
    at getOutput (/Users/southouse/workspace/southouse/git/productive-box/node_modules/ts-node/src/index.ts:1077:36)
    at Object.compile (/Users/southouse/workspace/southouse/git/productive-box/node_modules/ts-node/src/index.ts:1433:41)
    at Module.m._compile (/Users/southouse/workspace/southouse/git/productive-box/node_modules/ts-node/src/index.ts:1617:30)
    at Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
    at Object.require.extensions.<computed> [as .ts] (/Users/southouse/workspace/southouse/git/productive-box/node_modules/ts-node/src/index.ts:1621:12)
    at Module.load (node:internal/modules/cjs/loader:1004:32)
    at Function.Module._load (node:internal/modules/cjs/loader:839:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
  diagnosticCodes: [ 7006, 7006, 7006 ]
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I resolve this error. I created tsconfig.json and write below content.

Inside the error log, the gist id d8b503d46060afa60cc8f5fe20c0a0e8 is not the same as your .env file provided. Please check if your env file load correctly.

I retry this problem with updated .env file. but following this error.
~/workspace/southouse/git/productive-box master* ❯ yarn dev                                                                                13:06:23
yarn run v1.22.19
$ ts-node src/index.ts
RequestError [HttpError]: Not Found
    at /Users/southouse/workspace/southouse/git/productive-box/node_modules/@octokit/rest/node_modules/@octokit/request/dist-src/fetch-wrapper.js:68:27
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  status: 404,
  response: {
    url: 'https://api.github.com/gists/976cd730b9a94c596046da7e5c75e12e',
    status: 404,
    headers: {
      'access-control-allow-origin': '*',
      'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset',
      connection: 'close',
      'content-encoding': 'gzip',
      'content-security-policy': "default-src 'none'",
      'content-type': 'application/json; charset=utf-8',
      date: 'Tue, 05 Sep 2023 04:06:34 GMT',
      'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
      server: 'GitHub.com',
      'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
      'transfer-encoding': 'chunked',
      vary: 'Accept-Encoding, Accept, X-Requested-With',
      'x-accepted-oauth-scopes': '',
      'x-content-type-options': 'nosniff',
      'x-frame-options': 'deny',
      'x-github-api-version-selected': '2022-11-28',
      'x-github-media-type': 'github.v3; format=json',
      'x-github-request-id': 'D085:4738:12E2CD:162B47:64F6A949',
      'x-oauth-scopes': 'project, repo, write:packages',
      'x-ratelimit-limit': '100',
      'x-ratelimit-remaining': '99',
      'x-ratelimit-reset': '1693890394',
      'x-ratelimit-resource': 'gist_update',
      'x-ratelimit-used': '1',
      'x-xss-protection': '0'
    },
    data: {
      message: 'Not Found',
      documentation_url: 'https://docs.github.com/rest/gists/gists#update-a-gist'
    }
  },
  request: {
    method: 'PATCH',
    url: 'https://api.github.com/gists/976cd730b9a94c596046da7e5c75e12e',
    headers: {
      accept: 'application/vnd.github.v3+json',
      'user-agent': 'octokit-rest.js/17.11.2 octokit-core.js/2.5.4 Node.js/16.17.0 (macOS Unknown; arm64)',
      authorization: 'token [REDACTED]',
      'content-type': 'application/json; charset=utf-8'
    },
    body: `{"files":{"abc":{"filename":"I'm an early 🐤","content":"🌞 Morning    27 commits  ████▍░░░░░░░░░░░░░░░░  20.9%\\n🌆 Daytime    68 commits  ███████████░░░░░░░░░░  52.7%\\n🌃 Evening    30 commits  ████▉░░░░░░░░░░░░░░░░  23.3%\\n🌙 Night       4 commits  ▋░░░░░░░░░░░░░░░░░░░░   3.1%"}}}`,
    request: { hook: [Function: bound bound register] }
  }
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

You ever get this working? I was running into the issue as well when you were seeing the typescript error. I was able to get it working after adding
interface RepoInfo {
  name: string;
  owner: {
    login: string;
  };
  isFork: boolean;
}

interface Edge {
  node: {
    committedDate: string;
  };
}


Fix path to PID file of pgbouncer

Hi, @andyone.
I found that pgbouncer by default running with an error of kaosv:
Restoring PID file: /etc/init.d/kaosv: line 2071: /var/run/pgbouncer/pgbouncer.pid: No such file or directory
ERROR
chown: cannot access '/var/run/pgbouncer/pgbouncer.pid': No such file or directory
ERROR
Restoring PID file: /etc/init.d/kaosv: line 2071: /var/run/pgbouncer/pgbouncer.pid: No such file or directory
ERROR
chown: cannot access '/var/run/pgbouncer/pgbouncer.pid': No such file or directory
ERROR
Restoring PID file: /etc/init.d/kaosv: line 2071: /var/run/pgbouncer/pgbouncer.pid: No such file or directory
ERROR
[...]

I have not investigate the main reason of this behaviour, but I suppose we should fix path to PID file in pgbouncer package first.

Oh, sorry about that. I will try to check it ASAP.

Oh, sorry about that. I will try to check it ASAP.

OMG Looks like something wrong with Travis CI right now.

This very is strange. kaosv should create this directory automatically. Moreover, I not sure that this fix will work, because you create a directory as root, not as pgbouncer user.

@gongled Which version of kaosv do you use?

I checked pgbouncer-1.7.2-2.el6 with kaosv-2.13.4-0.el6. All works like a charm.

I use kaosv-2.13.3-0.el7. I have already seen this error before with the same package, but I decided to report about this bug only few days ago.

I checked pgbouncer-1.7.2-2.el7 with kaosv-2.13.3-0.el7 with no luck with this problem. Anyway, line 2071 in 2.13.3 it is echo command, with suppressed errors. I don't know how this message was printed.
I don't know how to reproduce this problem in the test environment. 😞

@andyone I know that it is wrong, but I can reproduce this bug in Oracle Linux 7.4.

@gongled Many thanks for your help with this issue! I very appreciate it.
The main reason for this problem is too wide search pattern used in init script. I've fixed it in 2b7f2729c71cc6d731394d30e50f66a4869add27 and will try to find a more safe way to search PID in kaosv.


[4337] Deploy a testing Safe

Context / issue
To unlock developing of transaction execution while we polish the Safe deployment flow we need to create some testing Safes that are already setup with the 4337 module.
Proposed solution

Manually create Safes in Sepolia with 4337 module enabled.

Resolved with https://github.com/safe-global/safe-core-sdk/blob/025910756c77ce2f21f2fc75344163c125b66974/playground/relay-kit/deploy-4337-safe.ts


Missing LV522 Ports

About the PR

Ports Strata Ice, Strata Dirty Ice and Two Shale Tiles for LV-522.
Why / Balance

Needed for LV-522
Technical details

None
Media

Requirements

[ ] I have read and am following the Pull Request and Changelog Guidelines.
[ ] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

none
Changelog

none

test fail unrelated to pr i believe


Opaque return type sendability checking hole

Description
For a Sendable opaque return type, the compiler allows the actual type to be non-Sendable.
Reproduction
extension AsyncSequence {
    func makeSendable() -> some (AsyncSequence<Element, Failure> & Sendable) {
        self
    }
}

Expected behavior
Depending on checking level, an error or warning should be emitted indicating that Self is not Sendable.
Environment
nightly-6.0-jammy: swift-6.0-DEVELOPMENT-SNAPSHOT-2024-04-06-a
Swift version 6.0-dev (LLVM c7c963afc327ad1, Swift bca5018bca30ddf)
Tested with both -strict-concurrency=complete and -swift-version 6.
Additional information
No response

This is fixed in https://github.com/apple/swift/pull/73697


Update Ambient Module section in modules.md

This section under Ambient Module should be removed:

... We could define each module in its own .d.ts file with top-level export declarations, but it’s more convenient to write them as one larger .d.ts file. To do so, we use a construct similar to ambient namespaces, but we use the module keyword and the quoted name of the module which will be available to a later import

This will prohibit renaming at consumption and create conflict when there are two versions of the package is in used.
Related to:
https://github.com/Microsoft/TypeScript/issues/7398
See example on how it will fail:
https://github.com/typings/typings/blob/master/docs/external-modules.md

The entire section sort of need a rewrite. I'll admit that I unfortunately haven't gotten the chance to really take a look at #185

That's a big rewrite. :smile:

Collaborative editing markdown is much easier on hackpad then through PR. :stuck_out_tongue:


bugfix_makefile

Now the python version check uses an exact match for the major version
and a compatible match for the minor.micro versions (e.g. actual >=
required). Also improved documentation of script.

Thank you @ltshb

Thank you @ltshb


CWL: symlink jobStore files instead of copying

getFile would copy all input files from the jobStore previous due to a
refactoring bug: the copy function argument was removed but still
referenced; it picked up the copy module and was always true.
This moves to using symlinks to avoid the extra file copy. In doing so
it exposed some new issues, also fixed in this PR:

Needed to correctly set basename and location in the File objects to
avoid resolving the original Toil name instead of the actual file name.

We don't support writable InitialWorkDirRequirement in CWL, but still
support the more common readable case.

Fixes #1627

@chapmanb looks good, thanks for fixing this!


Provide documentation for using wasm "mode"

Hi,
It's pretty clear that https://dotnet.microsoft.com/platform/try-dotnet is using something different than the global dotnet-try tool. When I load up the chrome developer tools I clearly see that somehow, magically, mono.wasm is being used:

At the same time, the dotnet-try global tool seems to work very differently:

and there seems to be no mono.wasm being loaded/ used.
I'd like for some guidance / documentation to be provided on how to get a mono.wasm / blazor enabled so I can host runnable documentation in a static web-site without needing to use server side resources...
I'm working on a blog series and would love to host some runnable docs / code and provide them to people reading the posts and wanting to play with the code. I don't mind going through  less-than ready code or instructions, but it would be great if at the very least so pointers to how to get this obviously working feature of dotnet-try off the ground!

@damageboy It's not quite purely "static". True, the wasm dependencies are served in a static manner, but we still compile the user's code serverside. The basic flow is:

editor JavaScript served statically and configured to run code using wasm
editor JS code creates a hidden iframe that loads Wasm/Framework (served statically)
user clicks run
editor calls a service to compile the user code, service returns a base64-encoded DLL
editor communicates with iframe that loaded wasm to send it the dll/waits for wasm to run the code/prints console output to user

All the parts you need to implement the above are available in dotnet-try if you want to host your own service.

@rchande Thanks for the explanation!


Ciphertext::data() and RNS

Hi Developers,
Just starting with this really awesome tool, thanks again for your contribution!
I have a small issue understanding the Ciphertext::data() format, as follows:
Setup:
Using seal 4.0 with the standard BFV example.
The example code picks N=4096 and Q=109.
The large Q was divided into three smaller RNS slices.
So far so good.
I opted to print out the ciphertext::data.
Given Wei Dai's comment in #88, I looped over the number of polynomials (2), then on the number of rns_slices (3) and then on N (4096), and dumped the smaller coeffs out, as follows:
for (int i = 0; i < poly_num; i++)
		for (int j = 0; j < rns_slices; j++)
			for (int k = 0; k < poly_n; k++) {
				int index = j * poly_n + k;
				if ((k % 1024) == 0)
					printf("  >> Coeff[%8d] (poly=%4d, rns=%4d, degree=%8d) = %016llx\n", index, i, j, k, ciphertext.data(i)[index]);
			}

I was expecting to see 2 * 3 * 4096 values (in the code above I have a limiter on the number of prints, so ignore that for now), yet the data towards the end of the printout suggests that I overstepped the buffer's boundary.
To exemplify the issue at hand, I re-run the code, this time with 4 rns slices:
   parms.set_coeff_modulus(CoeffModulus::Create(poly_modulus_degree, { 37, 32, 24, 16 }));
Reason: its easier to detect the origin rns q, just by examining the number of hex chars on the printout.
Here is the output:
  >> RNS[ 0] = 0000001ffffe0001 (37 bits, prime)
  >> RNS[ 1] = 00000000fffde001 (32 bits, prime)
  >> RNS[ 2] =<PHONE_NUMBER>ffc001 (24 bits, prime)
  >> RNS[ 3] =<PHONE_NUMBER>00a001 (16 bits, prime)
  >> Coeff[       0] (poly=   0, rns=   0, degree=       0) = 000000112fd44945
  >> Coeff[    1024] (poly=   0, rns=   0, degree=    1024) = 0000001bcc0c306f
  >> Coeff[    2048] (poly=   0, rns=   0, degree=    2048) = 0000001acdccca6a
  >> Coeff[    3072] (poly=   0, rns=   0, degree=    3072) = 0000001a9f6c0ed6
  >> Coeff[    4096] (poly=   0, rns=   1, degree=       0) =<PHONE_NUMBER>d0237e
  >> Coeff[    5120] (poly=   0, rns=   1, degree=    1024) =<PHONE_NUMBER>9c163f
  >> Coeff[    6144] (poly=   0, rns=   1, degree=    2048) = 000000006e71ea06
  >> Coeff[    7168] (poly=   0, rns=   1, degree=    3072) = 000000000cb6f4bf
  >> Coeff[    8192] (poly=   0, rns=   2, degree=       0) =<PHONE_NUMBER>6e2e7d
  >> Coeff[    9216] (poly=   0, rns=   2, degree=    1024) =<PHONE_NUMBER>7b909e
  >> Coeff[   10240] (poly=   0, rns=   2, degree=    2048) =<PHONE_NUMBER>108c83
  >> Coeff[   11264] (poly=   0, rns=   2, degree=    3072) =<PHONE_NUMBER>214024
  >> Coeff[   12288] (poly=   0, rns=   3, degree=       0) = 0000000dbd65bdc3
  >> Coeff[   13312] (poly=   0, rns=   3, degree=    1024) =<PHONE_NUMBER>6667c9
  >> Coeff[   14336] (poly=   0, rns=   3, degree=    2048) =<PHONE_NUMBER>ffdc1d
  >> Coeff[   15360] (poly=   0, rns=   3, degree=    3072) =<PHONE_NUMBER>08feff
  >> Coeff[       0] (poly=   1, rns=   0, degree=       0) = 0000000dbd65bdc3
  >> Coeff[    1024] (poly=   1, rns=   0, degree=    1024) =<PHONE_NUMBER>6667c9
  >> Coeff[    2048] (poly=   1, rns=   0, degree=    2048) =<PHONE_NUMBER>ffdc1d
  >> Coeff[    3072] (poly=   1, rns=   0, degree=    3072) =<PHONE_NUMBER>08feff
  >> Coeff[    4096] (poly=   1, rns=   1, degree=       0) =<PHONE_NUMBER>f47bbc
  >> Coeff[    5120] (poly=   1, rns=   1, degree=    1024) =<PHONE_NUMBER>396615
  >> Coeff[    6144] (poly=   1, rns=   1, degree=    2048) = 00000000f7d4f724
  >> Coeff[    7168] (poly=   1, rns=   1, degree=    3072) = 000000009b388e26
  >> Coeff[    8192] (poly=   1, rns=   2, degree=       0) =<PHONE_NUMBER>2fc4dc
  >> Coeff[    9216] (poly=   1, rns=   2, degree=    1024) =<PHONE_NUMBER>369c11
  >> Coeff[   10240] (poly=   1, rns=   2, degree=    2048) =<PHONE_NUMBER>ee5536
  >> Coeff[   11264] (poly=   1, rns=   2, degree=    3072) =<PHONE_NUMBER>b6e1f9
  >> Coeff[   12288] (poly=   1, rns=   3, degree=       0) = cdcdcdcdcdcdcdcd
  >> Coeff[   13312] (poly=   1, rns=   3, degree=    1024) =<PHONE_NUMBER>000000
  >> Coeff[   14336] (poly=   1, rns=   3, degree=    2048) =<PHONE_NUMBER>000000
  >> Coeff[   15360] (poly=   1, rns=   3, degree=    3072) =<PHONE_NUMBER>000000

As you can see, the 4th rns slice (16bit) does not exist, neither on the first polynomial, nor on the second. In fact, it was overwritten by the second polynomial's data
 >> Coeff[   12288] (poly=   0, rns=   3, degree=       0) = 0000000dbd65bdc3
To wit:
 >> Coeff[       0] (poly=   1, rns=   0, degree=       0) = 0000000dbd65bdc3
Furthermore, the 2nd polynomial data seems to contain junk right after the 3rd rns slice, suggesting that the 4th RNS slice does not exists in .data(). Lastly, ciphertext.save_size(seal::compr_mode_type::none) confirms that the 4th RNS slice is perhaps unused.
Since seal is able to decrypt the ciphertext, this issue is on my end, and most probably stems from my insufficient understanding of the ciphertext::data() format, and perhaps how to address it properly.
Can you please shed more details on the ciphertext::data() format, and specifically, what am I doing wrong?
Thank you in advance!
[I know about .save() and .load() - but these save the ciphertext in binary form, while I need to actually see the RNS coefficients.]

Arr... should not have jumped the gun. 3_levels.cpp states that the last prime is "special", and further that "All key objects, such as SecretKey, are created at this highest level. All data objects, such as Ciphertext, can be only at lower levels."


Scrubber button doesn't appear on iOS

I'm in the process of porting over from our private RN video view to react-native-video and have been running into issues when playing HLS content. The first time the video plays, the scrubber button doesn't appear. If I quit the video player then try again, it works the second time.
Everything works properly when playing normal MP4s.
I'm playing the video fullscreen.
Any help on how I might get more diagnostic info to understand why the video player is doing this would be useful.

This is working properly for me in our native view, but there must be some difference between the initialization process in react-native-video and our component.


Suggestion - API scheme improvement

Current Clipper provides the following clipper_admin APIs in Python level, but I think that some additional APIs will have to be implemented to maintain Clipper cluster.

[x] Add unlink_model_from_app, which unlinks specified model from specified application.
[x] Add unregister_versioned_models, which unregisters versioned models from Clipper Internal (remove all related resources as like working threads and queues also).
[x] Add unregister_application to keep consistency with others.
[x] Mark delete_application deprecated, but must be redirected to unregister_application.

All the APIs are implemented. Closed.


Updated goto.zsh to support zsh beginning search

One of my favorite features of zsh is history-beginning-search which can be done backward or forward in this commit I enabled this feature.

Sounds interesting, can you give me more info about how that works, and what I need to do to install and use the plugin?

I'm glad you're interested. No plugin is needed. this features comes with zsh however can be further improved by installing some plugins.
bindkey "^[[A" history-beginning-search-backward
bindkey "^[[B" history-beginning-search-forward

This binds Up and Down (adjust for your own escape sequences) to a history search, backwards and forwards, based upon what has already been entered at the prompt.
So, if you were to enter "vim" and hit Up, zsh will traverse backwards through your history for only those commands commencing with "vim".
you can see the implemented code here: https://github.com/zsh-users/zsh/blob/master/Functions/Zle/up-line-or-beginning-search

Wouldn't it be better to add it to a separate vim.zsh file then?

I used vim as an example @ChristianLempa. It IS NOT specific to vim.
It works with any command. suppose you enter command_x (for example vim or docker) and hit UP Arrow Key it searches your history and goes through commands starting with command_x (for example last vim file you opened or docker node ls since it was in your history) since it covers under autoload config and you originally used this file for zsh autoload I added to this file.

Thanks for the clarification. I'll merge it then and might add it to another file later, as goto is something different.


feat(AccessCode): handle creating/editing codes

closes #276
closes #277
Notable things

Did not implement code requirements (ie. numbers only, 4-8 characters) as this information could be different per device, and I don't think there's an endpoint to fetch it via seam-connect.
Handled invalid_access_code error which contains more info on why a certain code failed to create (ie. reason for failing validation).
Could not verify generating an access code. There seems to be a bug in client.accessCodes.generateCode, where the device_id is not being passed through as a query param.
Made the Generate code button always visible vs. show on focus to avoid layout jumpiness (discussed this with @razor-x).

Screenshots

Missing device_id when hitting api/access_codes/generate_code even though there are no TS errors.

Params should be fixed via https://github.com/seamapi/javascript/pull/277

Params should be fixed via seamapi/javascript#277

ah, thank you for the quick fix!

I am not suggesting adding this right now, but we may want to consider bringing in https://www.react-hook-form.com/ if our forms / field level validation gets more complex.

Did not implement code requirements (ie. numbers only, 4-8 characters) as this information could be different per device, and I don't think there's an endpoint to fetch it via seam-connect.

We can use https://docs.seam.co/latest/products/smart-locks/access-codes/access-code-requirements-for-door-locks#supported-code-lengths
Issue here: https://github.com/seamapi/react/issues/436

@razor-x good to merge this, and handle https://github.com/seamapi/react/issues/436 in a separate PR?

Yes, but can we make sure generate code works before merge?

Yes, but can we make sure generate code works before merge?

Sure against the fake connect, or live?

We can test it works for both.

@razor-x
works 🙌 !!
Fake
https://github.com/seamapi/react/assets/11449462/d4bc248a-be83-4fbf-b66f-f33b47a5992f
Real
https://github.com/seamapi/react/assets/11449462/c5f8ad3b-faf3-4642-8206-3467976b9c70


🐛 Bug Report: microsite adopters form doesn't scroll

📜 Description
On the homepage, when selecting "New Adopters" the form is opened but it cuts off and doesn't scroll correctly, blocking the top of the form.

👍 Expected behavior
scroll correctly OR be able to see the full form
👎 Actual Behavior with Screenshots

👟 Reproduction steps

go to https://backstage.io/
click New Adopters on the right side
Form opens

📃 Provide the context for the Bug.
I was trying to fill out the form but was unable to the bug
🖥 Your Environment
Windows 10. Google Chrome browser.
👀 Have you spent some time to check if this bug has been raised before?

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

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
No, I don't have time to work on this right now

@Rugvip I can work on this issue.

Thanks ❤

@shardulsrivastava Are you still working on this? I didn't see a PR yet and would love to start contributing. I'm happy to take over if you haven't gotten to it yet!

@pagman77 I looked into this and tried a couple of workarounds, and it looks like this now:

The changes I added are these :
.Sidebar__Container {
  top: 50%;
  top: 56.5%;
  right: 0;
  position: fixed;
  overflow-y: scroll;
  color: rgb(0, 0, 0);
  transition: transform 250ms ease-in-out, height 250ms ease-in-out;
  display: flex;

#Sidebar__HubSpotContainer {
  width: 500px;
  height: 810px;
  position: sticky;
  background-color: white;
  border-radius: 8px 0 0 8px;
  padding: 16px;
  padding-bottom: 0px;
  padding-top: 15px;
  z-index: 10001;
  min-height: 260px;
}

After testing extensively, I found that when there are errors for all the fields, there is another problem that it overflows at the bottom.

Would appreciate any pointers to fix this

@shardulsrivastava I started poking around with it and I'm pretty sure the problem lies in the fact that the form is being rendered and injected into the DOM. So you have a container inside of a container and THEN the form inside of that.
(@mattbhenley  not sure if you want me to dig deeper into this and submit another issue entirely. The hubspot form is being directly injected into the DOM:

import React from 'react';

export class HubSpotForm extends React.Component {
  render() {
    return (
      <>

      </>
    );
  }
}

There is a 3rd party npm package that just allows you to use a React Component, but I also don't mind building one from scratch if you think it might be necessary. I would imagine this was created before hooks became standard practice)
Heres the fix I have just from a couple of lines:
#Sidebar__HubSpotContainer {
  width: 500px;
  background-color: white;
  border-radius: 8px 0 0 8px;
  z-index: 10001;
  min-height: 260px;
  height: 500px;
}

#Sidebar__HubSpotContainer form{
 overflow-y: auto;
 height: 100%;
 padding: 25px 25px 0px 25px;
}

It seems to be fine with errors too:

I want to keep messing around with it to optimize it for mobile. I think a few media queries for smaller screen sizes wouldn't hurt. The form and wesbite is completely unusable if you open it on a smartphone.


feat: add compatible compilation.modules

Related issue (if exists)

Closed #2719

Summary

🤖 Generated by Copilot at 9eb3a4e
This pull request adds a getter method for the modules property of the Compilation class in packages/rspack/src/compilation.ts. This allows other classes, such as the ModuleGraph, to access the modules of the compilation.

Walkthrough

🤖 Generated by Copilot at 9eb3a4e

Add a getter method for the modules property of the Compilation class (link)

!bench

!bench

I don't think this would affect the current benchmark cases. compilation.modules is computed lazily.


[FEATURE] Add Hungarian adjectives

Is your feature request related to a problem? Please describe.
We use FoundryVTT's UI in English, but we play in Hungarian. Having Hungarian adjectives in generated token names would ease our immersion and would improve our experience.
Describe the solution you'd like
I prepared a dictionary of en: hu translations based on the curated English list of 700 adjectives:

CSV
JSON

Possible solutions I see:

Since I haven't found documentation on extending the adjectives.db I'd like you to add the list I provided.
Alternatively, let me know, what's the preferred way to extend the database and I'll prepare a PR. (I guess I just need to fake a roll table export with some random UIDs and add it as a new line to the database?)

Describe alternatives you've considered

I started to create my own name generator plugin that also uses the list of officially allowed Hungarian first names, but I'd rather use your plugin, since we already have it in our stack.

Additional context
Slightly off, the English adjective table is missing results for range [191, 191] and [387, 387].

I just created a PR where I directly extend assets/adjectives.db.


Bug: Enabling gzip only sends large streaming responses

Description
Enabling gzip compression causes small streaming responses to be completely ignored and never sent to the client browser.
I have verified that the request headers to specify at the very least:
Accept-Encoding: gzip
As can be seen in the logs.
URL to code causing the issue
https://github.com/LeckerenSirupwaffeln/Litestar_StreamingResponseGzip_Bug
MCVE
https://github.com/LeckerenSirupwaffeln/Litestar_StreamingResponseGzip_Bug

Steps to reproduce
1. git clone https://github.com/LeckerenSirupwaffeln/Litestar_StreamingResponseGzip_Bug
2. cd Litestar_StreamingResponseGzip_Bug
3. docker compose up
4. Open your browser
5. Navigate to http://<IP_ADDRESS>:8000/event
6. Open developer tools, go to Console
7. Click "Start retrieving data"
8. Observe that only the large arrays of data get received by the client browser. These arrays should have a size of 1000000, while arrays that have a size of 500 do not get printed to the console, and thus do not get received.

Alternatively:
Disable gzip compression in app construction and observe that arrays of size of 500 do get printed to the console as do the arrays of size of 10000000.

Screenshots
No response
Logs
Request headers:

POST /event HTTP/1.1
Accept: application/json
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9,nl-NL;q=0.8,nl;q=0.7
Connection: keep-alive
Content-Length: 2
Content-Type: application/json
DNT: 1
Host: <IP_ADDRESS>:8000
Origin: http://<IP_ADDRESS>:8000
Referer: http://<IP_ADDRESS>:8000/event
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
sec-ch-ua: "Google Chrome";v="113", "Chromium";v="113", "Not-A.Brand";v="24"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"

Litestar Version
2.0.0alpha3
Platform

[X] Linux
[ ] Mac
[ ] Windows
[ ] Other (Please specify in the description above)

Thanks for the report @LeckerenSirupwaffeln
When I run docker compose up on your example repo I get:
failed to solve: process "/bin/sh -c apt-get update && apt-get upgrade && apt-get install -y --no-install-recommends sudo && apt-get install -y --no-install-recommends bash && apt-get install -y --no-install-recommends git && apt-get install -y --no-install-recommends vim && apt-get purge -y --auto-remove && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 1

Hi, peterschutt

It is possible that it prompted you on apt-get update && apt-get upgrade, so I made a small commit to include the -y flag this time. Please try again with the new commit.
You could have CRLF line-endings due to git. Verify that the line-endings in the file are all LF.
Further I am not sure why this error would occur, I do not have it on my system.

@LeckerenSirupwaffeln do you think it would be possible to create a self contained MCVE that does not require docker etc.?
That would make testing on our end a lot easier.

I cannot reproduce this with:
from litestar import get, Litestar
from litestar.config.compression import CompressionConfig
from litestar.testing import TestClient

@get(path="/", sync_to_thread=False)
def handler() -> str:
    return "foo"

app = Litestar(
    route_handlers=[handler],
    compression_config=CompressionConfig(
        backend="gzip",
        minimum_size=1,
    ),
)

with TestClient(app=app) as client:
    res = client.get("/")
    assert res.headers.get("content-encoding") == "gzip"

Are you sure you have set minimum_size to something other than the default value?

Hi provinzkraut,

I have indeed tried to set a different minimum_size, I also do not think the default should cause this bug.
Sorry for the non-working Docker, here is the MCVE, took me a while to make because I could not replicate the bug exactly either, but I eventually did:

from litestar import Litestar, MediaType, post
from litestar.config.compression import CompressionConfig
from litestar.response_containers import Stream
from litestar.serialization import encode_json

from asyncio import sleep
from pathlib import Path

GLOBAL_SMALL_DICT = {}
for i in range(500):
  GLOBAL_SMALL_DICT[str(i)] = i

GLOBAL_LARGE_DICT = {}
for i in range(1000000):
  GLOBAL_LARGE_DICT[str(i)] = i

class SmallDataStreamer:
  def __aiter__(self) -> "DataStreamer":
    return self

  async def __anext__(self) -> bytes:
    await sleep(1)
    return encode_json(GLOBAL_SMALL_DICT)

class LargeDataStreamer:
  def __aiter__(self) -> "DataStreamer":
    return self

  async def __anext__(self) -> bytes:
    await sleep(1)
    return encode_json(GLOBAL_LARGE_DICT)

@post("/raw_small_example", media_type=MediaType.JSON) # Always works.
async def raw_small_example(data: dict[str, str]) -> dict[str, str]:
  return GLOBAL_SMALL_DICT

@post("/raw_large_example", media_type=MediaType.JSON) # Always works.
async def raw_large_example(data: dict[str, str]) -> dict[str, str]:
  return GLOBAL_LARGE_DICT

@post("/stream_small_example", media_type=MediaType.JSON) # Only works when gzip is disabled.
async def stream_small_example(data: dict[str, str]) -> Stream:
  small_data_streamer = SmallDataStreamer()
  return Stream(iterator=small_data_streamer)

@post("/stream_large_example", media_type=MediaType.JSON) # Always works.
async def stream_large_example(data: dict[str, str]) -> Stream:
  large_data_streamer = LargeDataStreamer()
  return Stream(iterator=large_data_streamer)

app = Litestar(
  route_handlers=[raw_small_example, raw_large_example, stream_small_example, stream_large_example],
  compression_config=CompressionConfig(backend="gzip", gzip_compress_level=9),
)

How to use this MCVE:

Set it up to be running locally.
curl -X POST -H 'Accept-encoding: gzip' --data '{\"data\": \"\"}' <IP_ADDRESS>:8000/raw_large_example --compressed
curl -X POST -H 'Accept-encoding: gzip' --data '{\"data\": \"\"}' <IP_ADDRESS>:8000/stream_large_example --compressed
After getting the data once: CTRL+C
curl -X POST -H 'Accept-encoding: gzip' --data '{\"data\": \"\"}' <IP_ADDRESS>:8000/raw_small_example --compressed
curl -X POST -H 'Accept-encoding: gzip' --data '{\"data\": \"\"}' <IP_ADDRESS>:8000/stream_small_example --compressed
Notice you never get the data within a reasonable time.
Now comment-out gzip compression and repeat steps 1 to 7, now you always get the data within a reasonable time after POST to <IP_ADDRESS>:8000/stream_small_example.

Can you try installing from https://github.com/litestar-org/litestar/tree/1681-gzip-small-responses and see if that has solved the issue for you @LeckerenSirupwaffeln

@all-contributors add @LeckerenSirupwaffeln for bug

Hi, thank you all for your hard and swift work. I can verify indeed that the curl now works correctly. I can also verify the browser correctly gets the small stream of data as expected. All of this after building from main, which was version:
Successfully installed litestar-2.0.0a7


Fix examples/interceptor-basics2/package.json

Thanks @paullucas! FWIW pls also see the example build instructions: https://github.com/thi-ng/umbrella/wiki/Example-build-instructions


When decorating a class, The Around decorator only works on methods modified by @Path

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

The Around decoration modifier only works for methods modified by @Path when decorating the class, but now other ordinary methods in the controller will also be wrapped by Around before execution, and a promise is forced to return.

like this
import { BaseController, Path, Around } from '@umajs/core';
import { method } from '../aspect/method.aspect';

@Around(method)
@Path('/aroundTest')
export default class AroundController extends BaseController {
    @Path()
    index() {
        const name = this.getName(); // return a promise
        return this.view('index.html', {
            frameName: name,
        });
    }
    getName(){
        return 'UMajs'
    }
}

Describe the solution you'd like

The Around decoration modifier only works for methods modified by @Path when decorating the class
Around decorator must be used with Path decorator   How about it？

感谢您的来信，您的邮件已收到，我会尽快查看并回复！


tensorflow VisionTransformer compile error

I use this model in Xilinx model zoo do quantize and compile for zcu102:

the freeze and quantize model is as followings:
link：https://pan.baidu.com/s/1H0MShq2cQDmiYUNtoYI-hg
code：x2k7
The compile command is as follows:
vai_c_tensorflow -f quantize_results/quantize_eval_model_1000.pb    -a /opt/vitis_ai/compiler/arch/DPUCZDX8G/ZCU102/arch.json     -o quantize_results/ -n vit  --options '{"input_shape": "1,352,3521,3"}'
and get the following error:

print the self.tmp_params:
{'Tmultiples': 3, 'data_type': 'float32', 'name': 'Tile', 'kind': 'Tile'}
{'data_type': 'float32', 'name': 'Transformer/encoderblock_0/LayerNorm_0/moments/StopGradient', 'kind': 'StopGradient'}
{'adj_x': False, 'adj_y': True, 'data_type': 'float32', 'name': 'Transformer/encoderblock_0/MultiHeadDotProductAttention_0/MatMul', 'kind': 'BatchMatMulV2'}

@wang7393 Hello!
I am also implementing VIT recently from model zoo. I get some problem, could you help me?
There is no ckpt.meta in the folder, and I can't freeze the model. How do you make it？
Or would you like to share the freeze and quantize model to me? The link is no longer valid.
It will be very happy if I can add your wechat to learn more!
Thanks!

Hi @wang7393
Sorry for the late reply. This ViT quantized model need to match customized DPU and xclbin. You could refer to this demo.
https://github.com/Xilinx/Vitis-AI/tree/2.5/examples/Transformer


Add 3.0-RC2 schemas

Include RC2 changes (listed in the commits names)

Thank you @tdelmas for this very helpful contribution! ⚡
I would recommend to include https://github.com/MobilityData/gbfs/pull/559 in this PR once the vote has passed (the vote closes in a few hours).

@richfab thank you for that very detailed review! Everything should be fix now


Star Citizen - On import DAE files are ignoring created materials from script

For Star Citizen assets. The script output is creating materials in Blender but, when DAE files begin their import toward the bottom of script, it seems the DAE files are essentially ignoring the material created by the script. They instead seem to  create additional materials which are included in the DAE files themselves instead of using the existing materials with matching names. Not sure if this behavior is correctable via blender python script window.

Are you using converted .mtl files?  It can't read the binary versions in CIG.  I think you can get away with not having exact same .mtl file name (using holoxplorer to create deserialized, regular mtl versions), as it's just creating a bunch of materials that then get assigned by material name.
The extra materials created in Blender when you import a .dae file are due to Blender not clearing out Material references after a material is deleted.  Instead, the material continues to exist with no Users, until the file is saved, closed, and reloaded.  Upon reload, if Blender sees there are no Users for a material, it will be deleted.  (There is a way to save materials with no Users, but no point in this particular application.)  As a result, when you import a few dozen .dae files, you'll see material.000, material.001, etc.  There is a reason Blender does this, but I can't remember it off the top of my head.
Although, rereading your report... you're seeing the proper Materials being created, but that material doesn't get assigned to the Object in Blender?  Do you have a directory in SC I can test out?

Yes sir, materials are created from script but they aren't getting assigned to their respective objects after the dae files import. If you remove the LODs to save yourself some hassle (otherwise will make your outliner a mess), for both 2.6.3 and PTU 3.0 \Data\Objects\Spaceships\Ships\ANVL\Hornet\F7CM


Need a sample for react CustomEditor web extension

I think there are some unique issues with this combination.
React apps (e.g. create-react-app-based) usually involve special compilation, processing and packaging, but CustomEditor extension sample just uses webviewPanel.webview.html = this.getHtmlForWebview(webviewPanel.webview).
How can I develop a react CustomEditor web extension in a way where I can use all react tooling?

This repo is about how to use the VS Code apis themselves. Examples of how to use specific frameworks with these apis is out of scope

@mjbvz I do not think this is out of scope.
Consider the existing WIP React sample for example. https://github.com/microsoft/vscode-extension-samples/tree/main/notebook-renderer-react-sample
It's not about react really. The VSCode's CustomEditor plugin model makes it pretty inconvenient to embed compiled apps into WebView. Current samples just use static Javascript (not even TypeScript) and stuff static HTML string in a WebView like the innerHtml codes of the 2000s.  https://github.com/microsoft/vscode-extension-samples/blob/4af6cd05ce18c7ec1e0a8280dbe67b2c634d2e79/custom-editor-sample/src/catScratchEditor.ts#L111
Getting proper developer experience where the dev can hot patch the extension code or debug the original extension code is very hard. This is why it's important to have PoC extension where all the plumbing options (compilation etc) of both the inside and outside extension parts are properly configured.
If you cannot make write a simple extension that uses any framework (say, React) to show a simple
Hello World
, then it for us, non-MS developers it's almost impossible.
I beg you to reconsider and help the community by adding a minimal tsx CustomEditor sample. Ideally with working debug and hot-patching.


[Android] Release builds broken when using Android Gradle plugin 7.1.0 or higher

Description
I have noticed that the RN Android project is creating broken release builds when using the Android Gradle plugin (com.android.tools.build:gradle) version 7.1.0 or higher. 7.1.0 got stable with the recent Android Studio Bumblebee release.
The actual issue is around the index.android.bundle file which is still correctly generated but is missing from the actual apk/bundle file. That results in the application showing "Unable to load script from assets 'index.android.bundle'...". Possible workarounds are running react-native bundle and creating a index.android.bundle file in the app assets folder or to simply downgrade to Android Gradle plugin version 7.0.4.
Version
0.67.1
Output of npx react-native info
System:
OS: macOS 12.1
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 49.55 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.17.5 - /usr/local/bin/node
Yarn: 1.22.11 - /usr/local/bin/yarn
npm: 8.3.0 - /usr/local/bin/npm
Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.2 - /Users/alex/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3
Android SDK:
API Levels: 28, 31
Build Tools: 30.0.2, 30.0.3, 32.0.0
System Images: android-28 | Google Play Intel x86 Atom_64, android-31 | Google APIs Intel x86 Atom_64, android-31 | Google Play Intel x86 Atom_64
Android NDK: Not Found
IDEs:
Android Studio: 2021.1 AI-211.7628.21.2111.8092744
Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild
Languages:
Java: 11.0.12 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.67.1 => 0.67.1
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
Upgrade the Android Gradle plugin to version 7.1.0 for any RN project and run a release build for that one. That will successfully compile but the release build will be useless because of the "Unable to load script from assets 'index.android.bundle'..." error when starting the app.
Snack, code example, screenshot, or link to a repository
No response

Upgrade the Android Gradle plugin to version 7.1.0 for any RN project and run a release build for that one. That will successfully compile but the release build will be useless because of the "Unable to load script from assets 'index.android.bundle'..." error when starting the app.

Thanks for having tried this. We haven't looked into AGP 7.1.x as it was released as stable some days ago.
Happy to review a PR that bumps AGP to 7.1.x. and fixes the issue you mentioned 👍

@cortinico When do you think a new release will include the relevant fix mentioned in #33057? Android 12L will be coming out in a few weeks and the relevant sdk version recommends to use 7.1.x.

@cortinico When do you think a new release will include the relevant fix mentioned in #33057?

I believe we should be able to merge that soon. This means that this PR is due to be shipped in RN 0.69.x
The tentative release schedule is here: https://github.com/facebook/react-native/wiki/Release-Schedule


ovsdb: don't create sized arrays for OVS Sets

OVS Sets must be unique, but modelgen created sized arrays to represent OVS Sets, which when marshalled are filled with duplicate default values.
For a column schema like:
"cvlans": {
"type": {"key": {"type": "integer",
"minInteger": 0,
"maxInteger": 4095},
"min": 0, "max": 4096}},
modelgen would create:
CVLANs [4096]int
which when marshalled and sent to ovsdb-server becomes:
cvlans:{GoSet:[0 0 0 0 0 0 0 ]}
and is rejected by ovsdb-server with:
{Count:0 Error:ovsdb error Details:set contains duplicate UUID:{GoUUID:} Rows:[]}] and errors [ovsdb error: set contains duplicate]: 1 ovsdb operations failed
Instead, generate these fields as slices instead of sized arrays and enforce the size when marshalling the set.
Signed-off-by: Jaime Caamaño Ruiz<EMAIL_ADDRESS>Co-authored-by: Dan Williams<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 6 (33.33%)  changed or added relevant lines in 3 files are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.2%) to 75.216%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

ovsdb/bindings.go
0
1
0.0%

cache/cache.go
1
4
25.0%

Files with Coverage Reduction
New Missed Lines
%

ovsdb/bindings.go
1
79.82%

client/client.go
2
71.55%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
5044

Relevant Lines:
6706

💛  - Coveralls

This looks good to me Jaime. We've run into this issue as well. Would be great to get it merged!

@jcaamano want to grab https://github.com/ovn-org/libovsdb/pull/333/commits/a4ac416a90ce42b902ee1b6b0f1db53ead6e8365 here? It's rebased on current main.


Can't configure signs

I've tried different symbols and plain text. Doesn't seem to make any difference. The action_keys config works.
use {
  'folke/lsp-trouble.nvim',
  requires = {
    'kyazdani42/nvim-web-devicons'
  },
  config = function()
    require( 'trouble' ).setup {
      action_keys = {
        toggle_fold = { '<Space>' }
      },
      signs = {
        error = ' ',
        warning = ' ',
        hint = ' ',
        information = ' '
      }
    }
  end
}

That's odd, can you post a screenshot?

The signs are there in the list on the left 😄
You probably mean the signs in the editor? Trouble doesn't change those. I use lsp-saga for that, but you can probably also easily define them yourself using the lsp API

No I mean changing the signs. Those are same as the default if I don't configure any signs. I can't set them to anything else.

The signs are there in the list on the left
You probably mean the signs in the editor? Trouble doesn't change those. I use lsp-saga for that, but you can probably also easily define them yourself using the lsp API with
vim.lsp.diagnostic.set_signs()

@folke can you elaborate more on set those signs? maybe an example or your config; either for lsp saga or through vim.lsp.diagnostic.set_signs(), I tried with the latter but simply don't know how to get it to working:-(

@LuisxSullivaN you can check the lspconfig wiki. That's the exact code I use https://github.com/nanotee/nvim-lua-guide#learning-lua


Plugin not working in sub paths (example.org/mattermost/)

Mattermost Version
5.21.0
Plugin Version
1.3.0
Describe the issue
The Plugin doesn't work in sub paths.
Server Error Logs
None
Chromium Error Logs (I replaced my server with {DOMAIN})
jitsi_72139af559ab6c74_bundle.js:1 POST https://{DOMAIN}/plugins/jitsi/api/v1/meetings 404 (Not Found)
R._end @ jitsi_72139af559ab6c74_bundle.js:1
R.end @ jitsi_72139af559ab6c74_bundle.js:1
(anonymous) @ jitsi_72139af559ab6c74_bundle.js:1
l.then @ jitsi_72139af559ab6c74_bundle.js:1
Additional context
I host mattermost in a sub path: {DOMAIN}/mattermost/
so the POST (shown in Chrome Error Log) should go to https://{DOMAIN}/mattermost/plugins/jitsi/api/v1/meetings

Thanks for issuing this bug, it is already solved for the next version (1.4), you can try it building the plugin from the master branch or wait until is released, probably it will be soon, maybe the next week.

Ok, thanks

When will v1.4.0 be released?
I have problems building (docker-make says golangcli-lint not installed | make throws error when testing with npm)
Or could you build it for me?

@mozzieongit sorry, I normally use the regular make dist I going to test the docker image and script to verify it. and yes, I can build a tar.gz for you, can you send me an email to<EMAIL_ADDRESS>and I'll reply to you with the file. Anyway, I going to try to fix the docker approach ASAP.

@mozzieongit now should be fixed, can you try again?

Worked. Thank you


load on the processor.

Hi. Great project.
You can tell why recognition is causing such a heavy load on the processor.
I am sending a file of 500 kb, this is enough for the detection, but the CPU load is huge at the moment of recognition.
Can the load be reduced? Does it depend on the file format for recognition?
Thanks!

@masksshow,
Unfortunately, I don't have much time to check it myself.
If you have the time and opportunities, check it out and do a PR.

https://github.com/dotX12/ShazamIO/pull/32 - Partial solution to the problem.

https://github.com/dotX12/ShazamIO/issues/78

Closed, problem fixed.
https://github.com/shazamio/ShazamIO/issues/76#issuecomment-1961610344


Issue with manually entering file path for .xlsx

Great tutorial! Got it working ok, struggled with adding my file path though - I could only add through using the pop-up file-selection GUI, instead of entering my filepath maunally (i.e. same path for example "/TestFolder/task-reminder.xlsx" but it failed on testing).

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

ID: 5d5d64ce-91a7-5caa-89f4-d16acac667bd
Version Independent ID: 07baec70-00d6-e47b-f73a-f52bb10fd92e
Content: Office Scripts sample scenario: Automated task reminders - Office Scripts
Content Source: docs/resources/scenarios/task-reminders.md
Product: excel
Technology: scripts
GitHub Login: @o365devx
Microsoft Alias: o365devx

Hi @km594,
Thanks for reporting this issue. Let me do some investigation and I'll get back to you soon. Just to check, you have the same values for the Location and Document Library fields as the sample, right?

I just reproed this issue: Manually entering the file path caused the flow to fail, whereas using the file picker lead to success.
@danielgwilson, is this a Power Automate issue that you've encountered before?

Thanks OfficeDev/office-scripts-docs!
On Fri, 4 Dec 2020, 11:13 am Alex Jerabek<EMAIL_ADDRESS>wrote:

Closed #191 https://github.com/OfficeDev/office-scripts-docs/issues/191
via #193 https://github.com/OfficeDev/office-scripts-docs/pull/193.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/OfficeDev/office-scripts-docs/issues/191#event-4070384939,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJSAYY53VSQHVGPCWE5Z5WLSTASRHANCNFSM4UBOPZJQ
.


Allow environment variables to configure SAM cli flags

Description:
Common parameters like --host, --port, --template[-file] should be configurable by environment variables to allow common flags to be set in ~/.bashrc or the likes.
Observed result:
Currently, we don't allow this
Expected result:
Setting environment variables like: SAM_HOSTNAME or SAM_APIGW_PORT for example would override the requirement for the --host or --port flags

This sounds more like a request for a SAM configuration file. This is much more scalable than using environment variables to accomplish the same thing.
Are you just trying to shorten commands by doing this or attempting to accomplish something else?
Regarding the --template[-file], all commands but package and deploy default to [default: template.[yaml|yml]] in the current working directory.

Something else, I wrap sam in a container because python, so I'd like to be able to permanently set the host.
if SAM plans to add a cfg file, that would work.

We have been wanting to have a cfg file for SAM CLI so these things can be defined in one place. I will keep this issue open as feature request for cfg file

samconfig.toml supports this today. Closing this issue.


[CT-610] Prefer SQL for create_schema + drop_schema

reopening https://github.com/dbt-labs/dbt-bigquery/issues/30
Today, dbt-bigquery operates as a "base" (Python) adapter for most low-level operations. This means that standard stuff like creating schemas, dropping schemas, getting columns in relations, etc, are all actually API calls wired through the Python client.
As BigQuery adds more support for SQL, it's preferable to use it where possible, and where there are few trade-offs. Two reasons:

It's clearer for end users to reason about, and read in the logs
It moves create_schema + drop_schema into "user-space" code, allowing for custom reimplementations if desired. This is a capability users have on other databases. It's especially important for create_schema + drop_schema, since these don't pass through SQL/Jinja land at all when called as adapter methods from dbt's Python tasks, namely here

The trade-offs I can imagine:

Performance. Generally, BigQuery's SQL "API" is always slower than its Python client API for the equivalent operation (and occasionally more expensive)
Reliability. get_columns_in_relation can return a contracted SchemaField, which we can turn into dbt BigQueryColumn objects, much more easily than passing query results through agate

@Victoriapm look what just got merged in! I think you were looking at this, right?

@boxysean @Victoriapm We didn't manage to sneak this in ahead of cutting v1.2.0-rc1, so this won't be in for v1.2. But it will be in for v1.3! We're planning to put out a first beta (v1.3.0-b1) around the same time as v1.2.0 final, at the end of the month.


docs: Add Rewriting the Apache APISIX response-rewrite plugin in Rust…

Anyone else wants to take a review here? @SylviaBABY @juzhiyuan @EmilyKeer @SkyeYoung @hf400159


ctr export strictly matching

When attempting to export an image without providing a specific platform(s)( eg: ctr i export <output.tar> <imag_ref>) , ctr returns an error: ctr: content digest sha256:<hash>: not found . ctr exports default matcher platforms.Default() , uses the Only() match comparer which matches for a single platform and all its variants (IE linux/amd64 and linux/386). The index/manifest list that is pulled when using ctr i pull <image_ref>( without providing --all-platforms or --platform options) only pulls the platform that is relevant to the users machine(eg: only linux/amd64). Although the manifest contains references to different platforms only the default(host machines platform) content is pulled. The export function matches loosely against the different platformed manifests and as a result fails when attempting to retrieve manifest content that does not exist (eg: for an amd/64 machine the manifest for 386 does not exist for an image pulled, at least, without specifying it explicitly when pulling/using the all platforms option).
This commit changes the behavior to adopt strictly matching platform using platforms.DefaultStrict()  which would match only with a single type of a platform (eg: only amd/64) using the OnlyStrict() match comparer when exporting without the --platform  or --all-platform options. This change is similar to that introduced in this PR- https://github.com/containerd/containerd/pull/6906 which addresses a similar bug for ctr import - https://github.com/containerd/containerd/issues/6441.
Signed-off-by: Yasin Turan<EMAIL_ADDRESS>

Fixes #6812?


Advanced Search

This ticket tracks the design and development of the advanced challenge search. Let's discuss search parameters and design issues here.

Hi gang! I like the idea of a "search by area" query. I also like the idea of a better search. Could a field of "tags" be added to the challenge item so users could tag challenges with searchable queries? And maybe the description should be required to pick up more words?

The advanced search now allows various ways to search for challenges. You can search by challenge name, by project name, by challenge tags and by area. To search by area, you just check the "Use map bounds" option and then zoom to the area of the map you want to limit you search in and click the search button. For challenge name, you can either just type in text in the search bar and click enter, if you want to use the challenge name with other options you use the keyword challenge:<SEARCH_TEXT> and then following it with the search text directly after (no spaces). Project name and tags are similar except you would always use the keywords project: and tags:


Allow map keys that are effectively strings

Fixes https://github.com/Aaronepower/tokei/issues/83. cc @Aaronepower

If we are serializing unit variants, shouldn't we also serialize unit structs and units ( the latter as the empty string)? Does roundtripping work/ should it?

Unit structs and units are different because they serialize as null which is not a string. Unit variants serialize as "VariantName" which is a string. I don't think it is obvious to expect null in a map key to behave like an empty string (I know, even though we deserialize null to String as an empty string). Also who uses maps with unit keys?
Round tripping works, I added a test.


Sm124 conversation view

As an: Internal User
I need: To be able to see all of the previous messages in a conversation
So that: I have the full context of a message
https://digitaleq.atlassian.net/wiki/x/oIBiDQ

Codecov Report

Merging #87 into master will increase coverage by 0.07%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #87      +/-   ##
==========================================
+ Coverage   97.18%   97.26%   +0.07%
==========================================
  Files          27       27
  Lines         711      731      +20
==========================================
+ Hits          691      711      +20
  Misses         20       20

Impacted Files
Coverage Δ

response_operations_ui/views/messages.py
96.73% <100%> (+0.31%)
:arrow_up:

...e_operations_ui/controllers/message_controllers.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 739e6ec...7aec9c2. Read the comment docs.


how about adding image or component to adapter

how can i add chekbox, radio button or image and handle them?

You can handle that all using data binding.
For loading images, you'll need to use a custom BindingAdapter https://developer.android.com/topic/libraries/data-binding/index.html#custom_setters


[ENHANCEMENT] Schemas load: avoid breaking too early in case of error + add monitoring for it

Description
Currently if we have e.g 10 panels plugin installed and the 4th one in alphabetical order is faulty/corrupted, the 6 following plugins wont be loaded even though they'd be valid, which is too bad..
This PR aims to change that + take advantage of changing this part of the code to add instrumentation of schemas load.
New metrics overview:
# HELP perses_plugin_schemas_load_attempts Amount of attempts to load plugin schemas
# TYPE perses_plugin_schemas_load_attempts gauge
perses_plugin_schemas_load_attempts{load="change",schema="model",status="error"} 0
perses_plugin_schemas_load_attempts{load="change",schema="model",status="success"} 4
perses_plugin_schemas_load_attempts{load="full",schema="migration",status="error"} 0
perses_plugin_schemas_load_attempts{load="full",schema="migration",status="success"} 9
perses_plugin_schemas_load_attempts{load="full",schema="model",status="error"} 0
perses_plugin_schemas_load_attempts{load="full",schema="model",status="success"} 15

Just in case, because I assume it may not be fully self-explanatory:

load="change" tracks the case of dynamic changes detected by file watch
load="full" tracks the case of full schemas load (= at start + cron task)
schema="migration" tracks the migration schemas only (= migrate.cue files). Btw the error timeserie is always 0 here because we have no relevant error case to detect for these in the current state.
schema="model" tracks the "real" plugin schema to be used for backend validation.

Checklist

[x] Pull request has a descriptive title and context useful to a reviewer.
[x] Pull request title follows the [<catalog_entry>] <commit message> naming convention using one of the
following catalog_entry values: FEATURE, ENHANCEMENT, BUGFIX, BREAKINGCHANGE, DOC,IGNORE.
[x] All commits have DCO signoffs.

I believe it's worth it to put the explanation of different load and schema types in the documentation alongside the code.


Add fragment API github.com/facebook/react/issues/2127 is already fixed

https://github.com/facebook/react/issues/2127

@rofrol I'm considering discontinuing this library with the arrival and surging growth of the pretty amazing Formik library which pretty much covers what I was trying to do here and more:
https://github.com/jaredpalmer/formik
Is there a case where you see this library differing or offering something different? If so, perhaps I'd consider pulling out that functionality to create something more focused towards that.


how to add a default value while adding column to table while migration

DBFlow Version: 4.0.4
Issue Kind : Question
Description:  I want to add a column to the Table through the migration with below given snippet :
`@Migration(version = 4, priority = 5, database = AppDatabase.class)
public static class Migration2 extends AlterTableMigration {
    public Migration2(Class<JokeSingle> table) {
        super(table);
    }

    @Override
    public void onPreMigrate() {

        addColumn(SQLiteType.INTEGER, "**alreadyRead**");
    }
}`

but this adds a column with the default value of NULL. but i want to add "0" to the all values in the "alreadyRead";
I'm using the default value in the table Class for the "alreadyRead" like
  @Column(defaultValue = "0")     public int alreadyRead;
please suggest what can i do for making all values 0 while adding column.

I have same problem when migration, AlterTableMigration missing a method to add column with constraints like "not null", "default value", etc.

best part about lib is you can copy source and modify to fit your needs :). Ill add this as an enhancement.

I've racked my brain over some table migrations, and ended up just changing the table name ("table_v2") and upping the db version. You get a new table with all the new stuff and none of the code changes. The caveat of course is you might have to move the data over. But that's easily done with a migration and an insert select statement.

Add the library:   no Kotlin
annotationProcessor "com.github.Raizlabs.DBFlow:dbflow-processor:4.1.0"
compile "com.github.Raizlabs.DBFlow:dbflow-core:4.1.0"
compile "com.github.Raizlabs.DBFlow:dbflow:4.1.0"
but Error：
Java.lang.NoClassDefFoundError: kotlin/jvm/internal/Intrinsics
if UpData：
annotationProcessor "com.github.Raizlabs.DBFlow:dbflow-processor:4.0.5"
compile "com.github.Raizlabs.DBFlow:dbflow-core:4.0.5"
compile "com.github.Raizlabs.DBFlow:dbflow:4.0.5"

is Ok！

This is still broken as of 3.1.1, not sure if it's been fixed in 4+.
@Column(name = "my_column", defaultValue = "0")
Boolean myColumn;

Expected table creation syntax after initial migration:
CREATE TABLE IF NOT EXISTS `my_table`(`my_column` INTEGER NOT NULL DEFAULT '0');

Actual table creation syntax verified from MyTable$Adapter:
CREATE TABLE IF NOT EXISTS `my_table`(`my_column` INTEGER NOT NULL);

This is particularly devastating because due to the primary bug/feature of SQLite that table columns can't be updated or dropped, there is no easy way to fix this manually either after creation or in a subsequent migration.  More info:
https://stackoverflow.com/a/805375/539149
http://www.sqlitetutorial.net/sqlite-alter-table/
I've lost a day to this so far and am expecting to lose at least several more.

Digging into this deeper, the root of the problem seems to be that MyModel$Adapter doesn't store MyModel's class and column annotations anywhere after compilation.  So (as far as I know) there is no way to detect that model fields have default values (or other attributes) or what those attributes should be at runtime.
I could add @Retention(RetentionPolicy.RUNTIME) to MyModel and use:
(new MyModel()).getClass().getDeclaredFields()
(new MyModel()).getClass().getDeclaredField("myColumn").getDeclaredAnnotations()

to retrieve the annotations and then add a bugfix method to creation and migrations that would go through the rigamarole of creating a new table with the corrected column creation code and default value statements.  But this defeats the entire purpose of using DBFlow (which is designed specifically to avoid reflection).
I think this situation reveals a conceptual problem with DBFlow that users need to be aware of.  A tremendous amount of effort has obviously been made to generate performant code from annotations, but then all of that metadata gets simply thrown away, with no methods to retrieve it at runtime.  I see little advantage in throwing that stuff away, as the full metadata for all of the models in an executable might take up a few kilobytes at most.  But the cost of not having it severely limits the extensibility of the framework.
All of the above means that there is (currently) no way to solve this problem in a general way.  For now I'll probably manually repair any columns that need default values.  But that's not future-proof because other developers and future me will have to remember to do it every time.
Please let me know if there is a way to retrieve model and column metadata/annotations/reflection information at runtime using DBFlow thanks!

Hacking through this further, I managed to list a model class's default values.  It's ugly and probably not ideal, but since it's only going to happen in migrations that's ok:
MyModel myModel = new MyModel();
ContentValues contentValues = new ContentValues();

myModel.getModelAdapter().bindToInsertValues(contentValues, myModel)

HashMap<String, Object> defaultValuesNotNull = new HashMap<String, Object>();

for (String key : contentValues.keySet()) {
	Object value = contentValues.get(key);

	if(value != null) {
		defaultValuesNotNull.put(key, value);
		// defaultValuesNotNull.put(key.replace("`", ""), value);	// untick
	}
}

defaultValuesNotNull	// lists key-value pairs in Android Studio expression evaluator

Note that there is currently no way to detect DEFAULT = NULL clauses in the generated model adapter, but that's ok because @NotNull column annotations work correctly.  So we only really need a way to retrieve the non-null default values, which the above code provides.  Hope this helps someone.

DBFlow uses mostly source only annotations which get discarded at runtime. Default values do not go into the generated sqlite currently.

we dont utilize actual sqlite default value. in code, if missing from Cursor, we fill it with @Column(defaultValue = ). Closing due to inactivity.

for migration, AlterTableMigration in 5.0.0-alpha2 will support adding a default value.


Wiki/Glossary/Resource Linking Syntax

I started putting [[ and ]] around key terms when creating copy as an experiment (currently only in Overview). The idea is when a term appears in these brackets, it would:

Link to a full resource page, if one exists
Link to a deterministic glossary URL (e.g. lbry.tech/glossary#term) if it doesn't

Possibly only the latter (glossary links) are necessary.

I installed markdown-it-wikilinks on the site.

Link to a deterministic glossary URL (e.g. lbry.tech/glossary#term) if it doesn't

This part was easily done, so now every time you make [[something]] link it goes to glossary.html#something. For testing, there's a blockchain link here: https://lbry.tech/community/
And it links to the basic glossary page I did: https://lbry.tech/glossary.html#blockchain

Link to a full resource page, if one exists

This is bit hard to do using this package, I would suggest just using simple link tags, or link to glossary, then have a link there like "See page 'something' for more information"

Looks good to me.


feat: stop during runtime

Signed-off-by: liuying<EMAIL_ADDRESS>
What type of PR is this?
/kind feature

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for reviewers:

Does this PR introduced a user-facing change?

Additional documentation, usage docs, etc.:

Codecov Report

Merging #359 (b9b0dc5) into master (45fcc76) will not change coverage.
The diff coverage is n/a.


Bootstrap controller and add CA resource

Description of changes:

Bootstrap controller
CertificateAuthority Resource with custom Status field: CertificateSigningRequest

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/ok-to-test

/retest

/verify-owners

/lgtm cancel

/lgtm

/lgtm cancel

/lgtm


[WIP] Implement ProjectionQuery for GetItem API

What this PR does:
This PR implements ProjectionExpression functionality of GetItem API. Basically, this allows users to define a subset of attributes that they want to retain, e.g. colA, colB[0], colB[1].nestedC[2], colB[3].nestedD.nestedE.
Which issue(s) this PR fixes:
Fixes #
Checklist

[ ] Changes manually tested
[ ] Automated Tests added/updated
[ ] Documentation added/updated
[ ] CLA Signed: DataStax CLA

Marked as WIP because we will refactor it using ANTLR parser.

Using a parser generated by ANTLR, we can easily extract the projected values. That is if the result is an items array, and the projection statement is items[0], items[2], with the help of the parser, we can extract items[0] and items[2] respectively. (Side note: the projection could be much more complicated, e.g. items[0].ratings[1][2].content.
However, there is no (easy) way for us to combine the results together and retain their original data structure. In the above case, the response should be "items: [item0, item2]withitem1, item3, item4, ...` removed. You can imagine it gets more complicated when the projection itself is complicated.
Thus, I would have to abandon the usage of ANTLR here and write our own "parser" that can extract the values and merge them.


putting action_restart in the stories break training

Rasa Core version:
Python version:
Operating system (windows, osx, ...):
Issue:
Content of domain file (if used & relevant):

@Ghostvv please describe what you mean by "breaks" and provide steps to reproduce. Also what version are you using, I guess master?

should be fixed in new forms


State of SVSM with Linux 6.11?

Hi folks,
Bit of a newcomer to SVSM, but I was wondering what the state of coconut-svsm was with the announcement of some SVSM patchs being checked in Linux 6.11. From what I can tell in this merge, some core components for SNP + SVSM were checked into the Linux 6.11 rc, but I'm unsure if there's additional work beyond this given that the installation instructions still suggest that things haven't been upstreamed yet. Is it simply because these docs haven't been updated yet?
For instance, it seems like the svsm host section indicates that the current host kernel is still based on the 6.5 kernel, but with the 6.11 merge, I'm not sure if this is still correct. It also seems like the latest changes to the linux fork were five months ago, whereas the changes for SVSM in 6.11 landed last month. Is there anywhere I can search to find the most up-to-date information? I couldn't find a similar issue which talks about the most recent patches to the upstream kernel.

Hi!
As you already noticed, there are two sides to this: The kernel needs changes to act as an SVSM guest and it needs changes to act as an SVSM host. The announcement you referred to is about some core SNP host changes and SVSM guest patches being merged. As a result Linux 6.11 doesn't support acting as a SVSM host yet, but it might support acting as a guest (I haven't actually tried it, but it should work). Our fork is needed to run a host.

For instance, it seems like the svsm host section indicates that the current host kernel is still based on the 6.5 kernel, but with the 6.11 merge, I'm not sure if this is still correct.

Two things: 1. That version number in the docs is slightly out of date, the kernel is actually based on Linux 6.8. 2. As I explained above, upstream Linux 6.11 is not sufficient to run a host, so our fork still has to be used.

It also seems like the latest changes to the linux fork were five months ago, whereas the changes for SVSM in 6.11 landed last month.

There are efforts to update our fork for the host kernel to a newer Linux version: https://github.com/coconut-svsm/linux/pull/6.

Is there anywhere I can search to find the most up-to-date information? I couldn't find a similar issue which talks about the most recent patches to the upstream kernel.

AFAICT, the section about the host part is mostly up to date (except for the version number). I'm not too sure about the guest part, Linux 6.11 might work or it might not. If you're just trying to get something up and running just following the docs is probably easiest, they might not use the newest possible kernels, but running the latest SVSM with it should work.

Hi! Thanks for letting me know. I'm currently trying to launch with SVSM enabled using Roy's latest patches for the 6.11 kernel + QEMU. We can probably close this to avoid polluting the open issues backlog!


Is this project's still alive?

It seems that further development is frozen for now (latest commit was in Sep 12, 2016).
Is this project still maintained?
There are few PRs, but I'd be glad to help in near future with development. Can I count on code review from maintainers or should I fork it for my own?
Thanks in advance!

@nlyubchich
Hi! Good question. I had quite lack of time to maintain it and provide support of modern aiohttp versions. Now I'm getting slowly back to things I left in past days, so yes, it will be returned to maintained state in few next days.
Any help and PRs are welcome!

@kxepal, glad to hear! Thanks for your work BTW


Only take agent processes into account (#3323)

Pull request opened by the merge tool on behalf of #3323

Merged into branches iso3 in c0017ae3b3b2bbb3952bd2df404983211862b274


Hardcode AWS default algorithm as RSA.

It is currently unset, but this removes a pitfall in setup.

This change is


WSL2: The network was not found

After multiple experiments with WSL2 VPN network issues (Cisco AnyConnect), I lost "vEthernet (WSL)" adapter in Hyper-V. It happened after reboot. I'm not sure why, because didn't change Hyper-V settings.
When I try to open wsl2, I see:
WslRegisterDistribution failed with error: 0xffffffff
Error: 0xffffffff (null)

Mentioned missing  "vEthernet (WSL)" is the problem, so I added it manually as "internal" network. Now I see:
WslRegisterDistribution failed with error: 0x803b0001
Error: 0x803b0001 The network was not found.

I tried reenabling WSL/Hyper-V or freshing distro installation, but didn't help.
Uncle Google is out of ideas, so I'm creating this issue.

Try to reinstall windows subsystem for Linux. It worked for me

Try to reinstall windows subsystem for Linux. It worked for me

By (un)checking it in Features list? Already tried that.

I had to temporarily disable dnscrypt-proxy service to unblock port 53


Enforce single org for series key reads

Briefly describe your proposed changes:
These changes modify the parameters to a series cursor request and render the intent explicitly; series keys returned by the cursor must never cross organization boundaries.

SeriesCursorRequest takes a single Name parameter, specifying the 16-byte tsdb encoded org and bucket ID
seriesCursor ensures the first 8 bytes of the measurement name returned from the series index matches the current organization ID

@e-dard, cleaned up the code a bit more:

replaced orgID with name [influxdb.IDLength]byte and use that to test the prefix with name[:influxdb.OrgIDLength]
removed all the measurement iterator stuff, as it was redundant

That end-to-end test you shared does exercise this new code and passes, however, there is no easy way to test the negative case, besides explicitly adding ways to break the invariants in the series and index logic.


Augment types

Include a few more common source code and video formats

@gsfr I'm using these types for gear outputs. These edits will allow complete coverage (so far) of the files coming out of those gears.

Thanks, @lmperry.
Couple of things:

I think the plan is to maintain the types list in core and get rid of this one. It is only used by the folder uploader, which would simply stop submitting types and leave that to the core. (Both locations violate my intent to not have instrument-specific terms like dicom or nifti show up in our codebase. Maybe we could think about a synchronous, but external classifier.)
If you end up editing files.py, please correct the pre-existing typo in the word spreadsheet.
Thoughts on a new markup type for .htm and .html? Might make sense since we don't render those as source, by default.

@nagem Could you please verify my assertion in the first bullet above?

That makes sense.
I like the cleanliness of having the types defined in an external file (I am actually adding the file to the gear, on build, and using it to classify type).
Markup type for html and htm - web? www? w3?

Wanna propose a PR on core, pulling the types out into a separate file there and adding your new types?
I was literally thinking markup. Or maybe webpage.

@gsfr I hadn't heard of that plan, but I agree with it.

Plan is such a strong word... https://github.com/scitran/core/pull/323#issuecomment-221442603

Closing here. PR on scitran/core/pull/345