Need @jsonKey(name: "") keyword feature in dart for freezed compactability.

When using a json model which contains spaces or capital letter in json, need this keyword for freezed to generate the class with the correct spelling,
For example:
   "Semester Details": [             {                 "Semester Name": "Semester1",                 "Semester Amount": "100000"             },             {                 "Semester Name": "Semester2",                 "Semester Amount": "120000"             },
This json has capital named variable, which is "Semester Details" which has space also,
so,
Freezed will generate the class like this:   const factory SemesterDetail({         String? semesterName,         String? semesterAmount,     }) = _SemesterDetail;
which will generate class in the name name as the variable name,
so adding @jsonKey(name: "") can override the naming of the variable ,
for eg:
  const factory SemesterDetail({     @JsonKey(name: 'Semester Name') String? semesterName,     @JsonKey(name: 'Semester Amount') String? semesterAmount,   }) = _SemesterDetail;
which would generate the json parsing function as the name given in the keyword.

I think this feature is very needed, my json does have a long list of properties, and it takes a long time to add these jsonkey annotations myself. please add this feature.

I also have a case where my data is underscore and when it comes to dart I want it to be camelCase using JsonKey.

I also use underscores and this causes each time an issue because it's converted to camelCase.

This will be fixed by https://github.com/quicktype/quicktype/pull/2348

Closing this considering the PR! #2348


The tutorial fine-tuning asr fails even with 16GB GPU memory ?

Question
I have been trying to fine-tune the acoustic model (i.e, am_transformer_ctc_stride3_letters_70Mparams.bin) for a while by following this notebook provided in asr tutorials. Initially I used google colab, then it gave  ArrayFire error stating "Failed to allocate memory". Then I purchased Google colab pro which offered me around 15.89GiB memory. Surprisingly, I got the same error in Google colab pro when I ran this notebook as it is. But according to the provided notebook around 13GiB of GPU memory is enough to fine-tune the model. What might have gone wrong? Here I am providing the logs. Our notebook contains all those logs. Can someone help me with this?
Additional Context
`I1225 13:26:04.616024  9758 FinetuneCTC.cpp:278] [Network Params: 70498735]
I1225 13:26:04.616062  9758 FinetuneCTC.cpp:283] [Criterion] ConnectionistTemporalClassificationCriterion
I1225 13:26:04.892974  9758 FinetuneCTC.cpp:287] [Network Optimizer] SGD (momentum=0.8)
I1225 13:26:04.894064  9758 FinetuneCTC.cpp:540] Shuffling trainset
I1225 13:26:04.894713  9758 FinetuneCTC.cpp:547] Epoch 1 started!
Failed to allocate memory of size 126.00 MiB (Device: 0, Capacity: 15.89 GiB, Allocated: 15.33 GiB, Cached: 811.44 MiB) with error 'ArrayFire Exception (Device out of memory:101):
ArrayFire error:
In function fl::MemoryManagerInstaller::MemoryManagerInstaller(std::shared_ptrfl::MemoryManagerAdapter)::<lambda(size_t)>
In file /content/flashlight/flashlight/fl/memory/MemoryManagerInstaller.cpp:180'
terminate called after throwing an instance of 'af::exception'
what():  ArrayFire Exception (Device out of memory:101):
In function virtual void* MemoryManagerFunctionWrapper::alloc(bool, unsigned int, dim_t*, unsigned int)
In file src/api/c/memory.cpp:684
`

same problem when run fl_asr_tutorial_finetune_ctc with TPU colab

After working on it for some time, these are our findings

Below are the stats when we fine-tuned 70M transformer model with batch size 4

Memory manager stats just after model is loaded
  Type: CachingMemoryManager
  Device: 0, Capacity: 15.89 GiB, Allocated: 600.00 MiB, Cached: 327.08 MiB
  Total native calls: 138(mallocs), 0(frees)

So the model is taking around 600MiB of GPU memory

After first batch is trained, memory manager stats are Type: CachingMemoryManager
 Device: 0, Capacity: 15.89 GiB, Allocated: 10.90 GiB, Cached: 10.48 GiB
 Total native calls: 289(mallocs), 0(frees)

Around 10GiB of space is used for storing activation outputs of that batch.
The error that we are getting after few batches are trained is
Failed to allocate memory of size 126.00 MiB (Device: 0, Capacity: 15.89 GiB, Allocated: 15.33 GiB, Cached: 811.44 MiB) with error 'ArrayFire Exception (Device out of memory:101):
We have observed that the activation outputs of a batch are remaining in the memory till the next batch is trained.
Holding the activation outputs of two batches at a time is causing the issue (Device out of memory) when two big batches come one after other unless we are wrong
Our thought process is to free the memory occupied by the activation outputs of a batch as soon as it is trained which is not happening automatically.
Please correct me if my understanding is not correct somewhere. If anyone has tried this please help me. Thanks in advance:)


Add support for third-party icons

Related to #297
Add mechanism to load and reference icon fonts (FA, etc.) in the icon attributes of cards and components.

Since we already have the ability to add external stylesheets in master, any app that wants to use, say, FontAwesome, can load it from the CDN.
Maybe a fa: prefix to any icon attribute value can be special-cased to generate FA nodes instead of Fluent nodes (e.g. icon='fa:foo').

The problem with different icon sets is they expect various markups, e.g.
FontAwesome

MaterialDesign
face

This can change also among versions.
I would suggest introducing some kind of icon register mechanism, similar to this:
q.page['meta'] = ui.meta_card(stylesheets=[font_stylesheet_url], custom_icons=[
    ui.custom_icon(name='faAndroid', markup=''
]

This way we would free ourselves from the burden of supporting particular icon sets ourselves and let app devs to pick whatever icons / version they want.
Btw, Fluent provides a register mechanism for these cases so should be a no-brainer.
@lo5 wdyt?

The Fluent register mechanism requires import { FontAwesomeIcon } from '@fortawesome/react-fontawesome', which probably means we need to bundle it with Wave at build-time (unless there's some way to pull assets at run time).
I like the icon register mechanism, but prefer it to use patterns rather than having to pre-register every icon in use individually, e.g. custom_icons=[ui.custom_icon(prefix='fa', markup='')] using our expression syntax.
Also consider that we now have the ability to expose arbitrary directories to the browser, so it should be possible to serve application-defined webfonts, scripts, stylesheets directly.

The Fluent register mechanism requires import { FontAwesomeIcon } from '@fortawesome/react-fontawesome', which probably means we need to bundle it with Wave at build-time (unless there's some way to pull assets at run time).

Yes, this example is a specific FontAwesome implementation. However, we would use markup provided instead of a specific icon wrapper. We only need to register new icons with Fluent to make it work across all existing components.

unless there's some way to pull assets at run time

Little side node: Yes, this is totally doable and even encouraged (see code splitting / lazy loading). We should probably do this for most of our 3rd party libs - especially visualization ones. Currently, Wave loads all viz packages (g2, vega, d3) on load, but it is highly unlikely a user will use all types at once. People usually only stick with a single one for consistency purposes.

I like the icon register mechanism, but prefer it to use patterns rather than having to pre-register every icon in use individually, e.g. custom_icons=[ui.custom_icon(prefix='fa', markup='')] using our expression syntax.

Agree, having to specify every icon individually can be tedious. However, the problem is I am not aware of any way how to extract icon key names (e.g. fa-android) from woff or other font file.
However, the icon registration can be simply wrapped into a helper function that would fairly simplify the process:
def register_icon(name: str):
    return ui.custom_icon(name=name, markup=''

Also consider that we now have the ability to expose arbitrary directories to the browser, so it should be possible to serve application-defined webfonts, scripts, stylesheets directly.

+1 on this


Support for security administrator role

@natabal pls review/approve.

@natabal Im pushing this in since I need to use it in a vsd-architect PR. Will address comments, if any, later


⚠ Bofrost.at has degraded performance

In 5ae78ee, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1258 ms

Resolved: Bofrost.at performance has improved in 8b85f32 after 32 minutes.


fix(listener_builder.go): move tcpProxyFilter pointer constructor to for loop #29318

avoid tcpProxyFilter pointer shared causing envoyfilter patch twice to the same filter
refer to issue #29318
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[x] Does not have any changes that may affect Istio users.

Hi @jiangshantao-dbg. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/ok-to-test
Please add a test

This type of bug will keep popping up again and again I suspect. Maybe we need to do proto.Merge(proto.Clone(config), patch) instead of proto.Merge(config, patch). It will have some perf impact, but probably worth it..

This type of bug will keep popping up again and again I suspect. Maybe we need to do proto.Merge(proto.Clone(config), patch) instead of proto.Merge(config, patch). It will have some perf impact, but probably worth it..

yes, i think this is a better way to resolve the problem. should i patch on this way or need more consideration？


remove remotedb

The docs folder isn't relevant anymore, we can add some
release info that begins at 1.0 to Readme.md.
Remotedb added many imports to this library, and
removing it reduces the total amount of code here
significantly while reducing the matienance burden.
The before and after on go.mod is pretty telling:
require (
	github.com/cosmos/gorocksdb v1.2.0
	github.com/dgraph-io/badger/v3 v3.2103.2
	github.com/gogo/protobuf v1.3.2
	github.com/google/btree v1.1.2
	github.com/jmhodges/levigo v1.0.0
	github.com/stretchr/testify v1.8.0
	github.com/syndtr/goleveldb v1.0.1-0.20200815110645-5c35d600f0ca
	go.etcd.io/bbolt v1.3.6
	google.golang.org/grpc v1.48.0
)

require (
	github.com/cespare/xxhash v1.1.0 // indirect
	github.com/cespare/xxhash/v2 v2.1.1 // indirect
	github.com/davecgh/go-spew v1.1.1 // indirect
	github.com/dgraph-io/ristretto v0.1.0 // indirect
	github.com/dustin/go-humanize v1.0.0 // indirect
	github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b // indirect
	github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6 // indirect
	github.com/golang/protobuf v1.5.2 // indirect
	github.com/golang/snappy v0.0.3 // indirect
	github.com/google/flatbuffers v1.12.1 // indirect
	github.com/klauspost/compress v1.12.3 // indirect
	github.com/pkg/errors v0.9.1 // indirect
	github.com/pmezard/go-difflib v1.0.0 // indirect
	go.opencensus.io v0.22.5 // indirect
	golang.org/x/net v0.0.0-20201021035429-f5854403a974 // indirect
	golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9 // indirect
	golang.org/x/text v0.3.3 // indirect
	google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 // indirect
	google.golang.org/protobuf v1.27.1 // indirect
	gopkg.in/yaml.v3 v3.0.1 // indirect
)

becomes

module github.com/cosmos/cosmos-db

go 1.19

require (
	github.com/cosmos/gorocksdb v1.2.0
	github.com/google/btree v1.1.2
	github.com/jmhodges/levigo v1.0.0
	github.com/stretchr/testify v1.8.0
	github.com/syndtr/goleveldb v1.0.1-0.20200815110645-5c35d600f0ca
)

require (
	github.com/davecgh/go-spew v1.1.1 // indirect
	github.com/golang/snappy v0.0.3 // indirect
	github.com/kr/pretty v0.1.0 // indirect
	github.com/pmezard/go-difflib v1.0.0 // indirect
	golang.org/x/net v0.0.0-20201021035429-f5854403a974 // indirect
	golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9 // indirect
	gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
	gopkg.in/yaml.v3 v3.0.1 // indirect
)

By removing remotedb, we end up with a very clear set of upstream dependencies.

@faddat could you resolve conflicts

🔥

@faddat can you fix this then we merge and prepare a release

Yep-- I also want to do a cleanup


no matching manifest for linux/amd64 in the manifest list entries

Just tried pulling traefik:latest and traefik:1.4.2 and received the title response. Anyone else experience this issue?

Duplicate of #20


[reactive-element] Support babel decorator plugin when using version 2021-12

Which package is this a feature request for?
Lit Core (lit / lit-html / lit-element / reactive-element)
Description
Now, lit does not support the version 2021-12 decorator proposal.
Alternatives and Workarounds
No.
The version 2018-09 and legacy work, but I cannot convert other decorators back to the old version.

We'll probably support the current decorators proposal when it ships in TypeScript and one native runtime.

FYI native decorators already implemented in TS v5 https://github.com/microsoft/TypeScript/pull/50820

But not metadata, which we need for attribute conversion. I'm hoping that's settled by TypeScript 5.1

Tentatively scheduled for TypeScript 5.2.
https://github.com/microsoft/TypeScript/issues/53461#issuecomment-1481760507

This is fixed in 3.0 branch.


evict old data

hello,
Is it possible to implement an evict old data into ardb,
what happened when ardb cache disk is full ?
Regards,

u mean evict redis's data to ardb?


What's the relationship between drawdb-io/drawdb and this project?

If i want to use drawdb-io/drawdb, should I set up this project too?

This is for the survey and bug report form submissions. It just sends me an email whenever someone submits a form. It used to have a lot more but I stripped it all down. You don't need this if you don't plan to have the forms.


Add stu.fynu.edu.cn(Fuyang Normal University)

Institution/School Name:
Fuyang Normal University, Anhui, China
Official site:http://www.fynu.edu.cn/
Wiki:https://en.wikipedia.org/wiki/Fuyang_Normal_University
Student email<EMAIL_ADDRESS>School of Computer and Information Engineering:http://www.fynu.edu.cn/xxgc/jxgz/jxdg.htm
I think these information can help your checking more easily.

@jlatch96 Thank you for your patience while waiting for a review and processing your request. Pull request merged. Thank you!


EventReader behaves oddly with 0.12.1

Bevy version
0.12.1
video example of event deltas acting up and somehow it seems a new event is influenced by a previous event.
https://github.com/bevyengine/bevy/assets/7761473/7413b9ea-c952-49fd-a6ce-cf6397c9e382
To give an idea on how I'm accessing the event. Only when the mouse is pressed.
if mouse.pressed(mouse.pressed(MouseButton::Left) {
  //...
  for event in mouse_motion_events.read() {
    //...

What you did
taking the events delta.x and delta.y I'm able to move around seemlessly. But after a release and another click I get inconsistent results. And If I try to move around quickly I'll snap back to the previous position.
This doesn't happen at all with 0.12.0.
A work around is pointing bevy and bevy_ecs to 0.12.0.

The issue is that you need to read or clear the event reader to mark events as read, so they won't show up in the reader the next time the system runs.
Not doing this didn't cause very noticeable issues before because events only stuck around for two frames but with 0.12.1 unread events can stick around for dozens of frames.

fwiw changing the loop to be like this instead where im just simply reading every event fixed most of my issues.
for event in mouse_motion_events.read() {
  //...
  if mouse.pressed(mouse.pressed(MouseButton::Left) {
    //...

Working as intended. It might be improved upon in the future by clearing events automatically.
Your original code should work if you add an unconditional call to clear after the if statement.


[Bug]: Enforce Separation of Logical Client and Logical Server

In render.rs we currently have some code which is supposed to be run by the logical server, but is instead in this file, the logical client. This code will break both physical servers and physical clients when in multiplayer mode

separated into crates now


Insertion toast showed before we can actually insert

How to reproduce

Go to insertion menu
Choose link
Click mark button
See toast and click on the empty space without waiting a few seconds
See that your link is not inserted

This issue is well reproduced when your server is not local and located for example in gitpod

What I mean by saying "Insertion Toast"


some codes doesnt work,, for example overview and pan codes

some codes doesnt work,, for example overview and pan codes

plz help me

Please see stackoverflow.


[Feature Request] Get avatar info by clicking on item in Feed

One of the things Feed records is Avatar changes.
It would be great if I could click on an item (for example the text "Avatar" under Type) and it would open up the info for the avatar the person switched into.
Thank you.

This looks great, thank you.


Update supervisor_switchover_test.go

Look up the controller card by type instead of matching the component name.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1050

Relevant Lines:
1491

💛  - Coveralls


Starting on a tf.contrib.learn notebook

I'd like to add an IPython notebook using tf.contrib.learn.
I've started on this one. Content is similar to the MNIST For ML Beginners tutorial: https://www.tensorflow.org/versions/r0.10/tutorials/mnist/beginners/index.html
Can continue fleshing it out down the road, and open to suggestions on how to improve.

Can one of the admins verify this patch?

I signed it!


how to export multiple files by paging,can be imported into excel

import into excel multiple sheets

Hello,
I thought about exporting data on several pages depending on the number of rows and\or column values(s) but it seemed to me that this featire is needed in very rare cases.
Сan you give me a brief description of your vision of multipage export.
Thanks,
Andrew

i need can be export into excel,and can be export into excel multi  sheets at a time

Done. Rows must be placed on different excel worksheet depends on rows count and (optional) column value. PR #1895


Depend on LilyPond from PyPI

You may be interested in this:
https://lists.gnu.org/archive/html/lilypond-user/2023-05/msg00240.html

Thanks for your information. It seems that this package has not supported all popular platforms (such as macOS) yet. I trending to optional depend on it.

I will use this wheel in 2.x version.


Testing support: 2nd 'all-clusters-app' with ONLY mandatory attribute support

Problem
We are looking to update some of our client/controller test cases for TE9. In PR 875 we want to pull in tests where a client/controller attempts to read/write to optional attributes that are not supported by the server. This testing is more cluster specific, validation is done on each cluster the client claims support for.
An example would be an app made by company A that supports lightbulbs from company A and from company B. In this case company A lightbulb supports all optional attributes, but company B lightbulb only supports mandatory attributes. We would want to ensure that if this app attempts to read optional attributes on lightbulb B, it handles the "UNSUPPORTED_ATTRIBUTE" error gracefully.
From the discussion in 875 it sounds like it is a possibility and not forbidden by the spec for a client to read/write to an attribute ignoring any listed support in the servers attributeList.
Proposed Solution
In addition to the existing "all-clusters-app" example we would be supplied with a similar app that only has support for the mandatory attributes. An "all-clusters-mandatory-app" if you will

all-clusters-mandatory-attributes-app ?

Hey @bzbarsky-apple, yes its to validate the additional steps suggested in the test plan PR mentioned above. We want to include these steps in TE9.
As for how it's implemented, I don't have an opinion either way. Whether it's a separate app or another endpoint, as long as we can facilitate testing a client attempting to read from an optional attribute that is not present on the server we should be good.

I guess one question is whether we'd also want to implement only the bare-minimum set of functionality on the clusters on endpoint 0.
That is, do we just need an attribute that is optional and not present on the server, or do we want all optional attributes to not be present, for all clusters including Basic Information and so on?

We would need all optional attributes to not be present since this test is present in all app cluster tests. Essentially it is to check that if your client claims support for a given cluster, make sure it can gracefully handle clusters that may not have optional attributes.

OK, but app clusters only, or utility clusters too?
Sounds like you want utility clusters too, which means we'd need a separate app.

Was thinking originally just app clusters, but utility clusters make sense as well.

@dwgaul this "UNSUPPORTED_ATTRIBUTE" error scenario is covered in IDM test plan, do we still need a separate app for that ? we can just test for the test cluster, which is not implemented in the production devices anyway ..

Cert Blocker Review: Assigning to myself to find an assignee for this issue.

We've got a PR up on the test plan side if this slips out of V1. Will keep an eye out and merge appropriately.


add support for impressum page

Mainly to help with EU GDPR rules.

@alshedivat ping

@alshedivat ping


Next

Checklist

[ ] run npm run test and npm run benchmark
[ ] tests and/or benchmarks are included
[ ] documentation is changed or added
[ ] commit message and code follows the Developer's Certification of Origin
and the Code of conduct

Is this PR duplicating #109 ?


5.6.0 npt x64 binary hanging

Describe the bug
Whilst testing for https://github.com/atsign-foundation/operations/issues/179 I'm finding that the npt binary from the 5.6.0 is causing a hung connection.
Steps to reproduce

First I get sshnpd installed on a test VM
Then I run up a test web server (in a gnu screen) with python -m http.server
And then I run a daemon that's permissioned to connect to that web server (port 8000) sshnpd -a @bareindoornetball -m @cpswan -d ocinpd1 --po localhost:8000
Then I run an npt client to connect: npt -f @cpswan -t @bareindoornetball -d ocinpd1 -p 8000 -l 8000 -r @rv_eu -K
Then (in another shell) I try to get something from the web server with: curl localhost:8000

That curl just hangs, whilst if I use npt from the 5.5.0 release it's just fine.
Expected behavior
I get the HTML wrapped directory listing from the test VM

WIth my testing these are my results against a 5.5.0 sshnpd on a remote machine
using the 5.6.0 npt
╰$ ./npt -f @cconstab -t @ssh_1 -r @rv_am -d orac -l 9000 -p 22 -T 0 -K
Connecting ... Connected
2024-08-23 15:40:20.971849 : Requested "never" timeout: set to 365 days
2024-08-23 15:40:20.984932 : Sending daemon feature check request
2024-08-23 15:40:20.991174 : Fetching host and port from srvd
2024-08-23 15:40:23.409389 : Received host and port from srvd
2024-08-23 15:40:23.409498 : Waiting for daemon feature check response
2024-08-23 15:40:23.786456 : Received daemon feature check response
2024-08-23 15:40:23.788417 : Required daemon features are supported
2024-08-23 15:40:24.312620 : Sending session request to the device daemon
2024-08-23 15:40:24.616581 : Waiting for response from the device daemon
2024-08-23 15:40:25.678414 : Received response from the device daemon
2024-08-23 15:40:25.697107 : Will use local port 9000
2024-08-23 15:40:25.709360 : Creating connection to socket rendezvous
2024-08-23 15:40:25.713331 : Sending session request to the device daemon
2024-08-23 15:40:25.953350 : Waiting for response from the device daemon
2024-08-23 15:40:26.104417 : Received response from the device daemon
2024-08-23 15:40:26.130513 : Will use local port 9000
2024-08-23 15:40:26.133414 : Creating connection to socket rendezvous
2024-08-23 15:40:26.162776 : npt is listening on localhost:9000

Then connecting to the port 9000 with ncat I see
╭─cconstab@cally in ~
╰$ ncat localhost 9000
��,��2���٫7��}eGЏ�ICCS��VZ0���BU%�_^C
╭─cconstab@cally in ~

but using 5.5.0 npt
╭─cconstab@cally in ~/test/sshnp
╰$ npt -f @cconstab -t @ssh_1 -r @rv_am -d orac -l 9000 -p 22 -T 0 -K
Connecting ... Connected
2024-08-23 15:39:55.398137 : Requested "never" timeout: set to 365 days
2024-08-23 15:39:55.409452 : Sending daemon feature check request
2024-08-23 15:39:55.413924 : Fetching host and port from srvd
2024-08-23 15:39:58.084404 : Received host and port from srvd
2024-08-23 15:39:58.084515 : Waiting for daemon feature check response
2024-08-23 15:39:58.084550 : Received daemon feature check response
2024-08-23 15:39:58.086382 : Required daemon features are supported
2024-08-23 15:40:01.132847 : Sending session request to the device daemon
2024-08-23 15:40:01.382362 : Waiting for response from the device daemon
2024-08-23 15:40:02.295409 : Received response from the device daemon
2024-08-23 15:40:02.328552 : Will use local port 9000
2024-08-23 15:40:02.329504 : Creating connection to socket rendezvous
2024-08-23 15:40:02.380042 : npt is listening on localhost:9000

the ncat looks just fine
╰$ ncat localhost 9000
SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.10

Looks like the npt_to_port_22 test has not been running in recent action runs which likely explains how this slipped through

Looks like the npt_to_port_22 test has not been running in recent action runs which likely explains how this slipped through

That wasn't the case, I just wasn't reading the test output properly

Progress:
If I run npt with the -x flag (exit once connected) then everything works fine. This is the scenario which the e2e test covers.
However if I run npt without the -x flag, so npt keeps running in the foreground, then the program hangs. This scenario is not covered by the e2e tests.

Identified the bug, introduced in this PR
In brief: when running npt from the command line without the -x flag, the new _preRun function is being executed twice, thus sending two requests to the daemon with the same parameters
Have made a fix and tested; will make a PR. Have created another ticket to add the e2e test

How does that explain the oddness with the encryption ?

Two srv's on the daemon side; both open control sockets; srvd now has two connections from daemon.
Client creates control socket - gets joined at the srvd to the 1st control socket on the daemon side
Client creates "real" socket - gets joined at the srvd to the 2nd control socket on the daemon side. Encryption keys are therefore different, therefore boom


[Subtask]: Fix custom date picker selecting wrong date

The custom date picker is selecting the wrong date whenever we select the custom date picker. i.e. If we use the picker to select the date 12th of august, if we change are mind and reselect it then it shows the currently selected date as the 8th of December. Looks like we are putting the month and day the wrong way round maybe?

@nicole-obrien , I don't seem to have this issue


Set rating on tap

I may be doing something wrong, but currently I can only set the rating by touching and sliding from left to right. I cannot simply tap a star to set the rating. If this is possible, how is it implemented?
Thanks,
Jerry

Hi Jerry, this is interesting. The rating should change either on tap or swipe, it should not matter. Do you have this problem in the demo app of this repository as well?

I could have easily missed something in my implementation. I'll give the demo app a try and go back over my code. I just wanted to verify that this was possible.
Thank you


Add "material you" icon

Looks good to me

On a serious note if I remove the blue bg how does it look any different from the discord logo? Mods are meant to break rules I think it fits

🤮

On a serious note if I remove the blue bg how does it look any different from the discord logo? Mods are meant to break rules I think it fits

material you logos are white with transparent background, you do not need to remove "background", also it does not affect main logo (that blue one)

🤮

Why was this said?

@bluemods https://stackoverflow.com/questions/69800362/how-to-implement-themed-icons-by-material-you-in-my-android-app

will it be implemented?


pmtools: remove and alias

Motivation for this change
These are the old tools that later became part of ACPICA.
It is obsolete and we already have newer acpica-tools in .
Alias to acpica-tools for out of tree backward-compat
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Homepage and source tarballs are long gone too

Thank you for cleaning this up!


No sound in iOS 15

My app works fine on Android but there is no sound at all in Safari on iOS 15. The README says that iOS 11+ is supposed to be supported. The sounds on https://pixijs.io/sound/examples/ don't work either.
Is this a known issue? I tried to set useLegacy to true but it didn't make any difference.
Not sure how to get some console logs from iOS.

Make sure you use .mp3 and not .ogg or .wav

Yes, I do use .mp3, and so does https://pixijs.io/sound/examples/, but it does not produce any sounds.

I have ios 18 and it works. is it only on iOS 15 or from iOS 15?

Hmm, I don’t have an iOS 18 device to test, but I tested on two different iOS 15 devices and didn’t have sound in either. Might be an issue specific to iOS 15.


No AHRS on v0.5b5

I know just enough to get myself in trouble, but I soldered jumpers to my RY835AI and hooked it up to the GPIOs.  On v0.5b4, I was able to get AHRS movement on the Web UI, but with the new image, I get now movement.  The Status page has a green check by AHRS, though.

 I had the same issue and one of those actions fixed it.

Roger!  That did it.


Virtual-hosted style URL is not supported by S3Cient with endpoint override

Bug Report
Describe the Bug
If endpoint is overridden, virtual-hosted style URL can not be used due to https://github.com/aws/aws-sdk-java-v2/issues/2317.
Context Information
Used version: main cc5b34833574be9b5f20d7c128f4e1c6a840e129
OS: Ubuntu 22.04 x86_64
openjdk-11-jdk (11.0.16+8-0ubuntu1~22.04)
Possible Implementation
bump the version of AWS SDK for Java to 2.18.x or above.

is this still relevant?


Display Call Stack a vulnerability match

To make it easier for users to understand how they can resolve the problem, and how it affects them we should display the call stack of the VF-call.

Added a script that gets the stack trace using jstack in the base Docker image for Java applications https://hub.docker.com/r/moule3053/jdk-docker-jstack

Also added to arvos-poc the ability to display the stack traces related to an invoked symbol. Take a look at https://github.com/arvos-dev/arvos/commit/4dd7b234960e47661c972677590f1049ac5a2552

This works and was really nicely demoed. However, the current implementation might have performance impact which needs to be evaluated.


Add support for Django 5.0

Right now this tool is not allowed with Django 5.0, as per dependencies it requires Django 3.x or 4.x. Therefore installing django-contract-tester leads to a downgrade of Django (with 5.0 installed).
For my use case it works flawlessly with Django 5.0, so it would be great having that also supported in the dependencies. I'm not sure whether it makes sense to set a maximum Django version in the dependencies at all or whether going with >= 3 would be fine.

Hi @StopMotionCuber, thanks for bringing this to attention.
I agree we should add 5.0 to be allowed in the dependencies. I will revisit actually current django version constraints at pyproject.toml and do some tests, ideally probably it should align with defined django compatibility


Clean up aggregation and scaling tests

Describe changes

Separate aggregation & scaling tests from each other for readability. Will delete test_agg_scale.R later

Also remove tests that were testing features/expectations already tested.

Improve descriptions to better match with the function design and description (not specific to age/year/location etc.)

Update to style guide

What issues are related
Related to #51
Checklist

Packages Repositories

[X] Have you read the contributing guidelines for ihmeuw-demographics R packages?

[X] Have you updated or added function (and vignette if applicable) documentation? Did you update the 'man' and 'NAMESPACE' files with devtools::document()?
[X] Have you added in tests for the changes included in the PR?
[X] Do the changes follow the ihmeuw-demographics code style?
[ ] Do the changes need to be immediately included in a new build of docker-base or docker-internal? If so follow directions in those repositories to rebuild and redeploy the images.
[ ] Do the changes require updates to other repositories which use this package? If yes, make the necessary updates in those repos, and consider integration tests for those repositories.

Details of PR
We should check that all the features we want in the aggregation/scaling function have appropriate example data/tests #51 #53

Have now finished cleaning/clarifying the existing tests. It would be helpful to review the tests we currently have (at least the descriptions of the different test scenarios) and brainstorm any other use cases we need to account for.
Remaining tasks I will add in separate PRs:

add vignette profiling how fast these functions are on large datasets
add na_value_severity functionality and tests
see if square argument is still needed for additional speed ups


Issue fix #9504

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] My change requires changes to the documentation.
[x] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Fix button issue #9504

For the reasons mentioned by Sital above, I am closing this PR.


nodes._status() -- 'new' in pandas.Series always False due to evaluation

Following #83 (and @martinfleis's explanation there) I want to triple check the correctness of the 'new' in ... condition in nodes._status(). Currently this will never evaluate to True since it is passed in as a pandas.Series:
import pandas, sgeop

# this should print `new` but does not
print(sgeop.nodes._status(pandas.Series(["one", "new", "two"])))
# "changed"

# due to how `pandas.Series` is evaluated
print("new" in pandas.Series(["one", "new", "two"]))
# False

# so we need to evaluate the values of the Series
print("new" in pandas.Series(["one", "new", "two"]).values)
# True

For the small test case of Apalachicola, FL the results of '_status' change as follows:
current main -- 'new' in x:
.["_status"].value_counts()
# original    549
# changed     125
# new          95
# Name: count, dtype: int64

updated condition -- 'new' in x.values:
.["_status"].value_counts()
# original    549
# new         209
# changed      11
# Name: count, dtype: int64

This of course affects the full scale FUA testing for '_status' labeling.
xref:

#92

The plot here highlights the difference where:

thinnest black lines are the original input
medium lines are the updated conditions
thickest lines are the original conditions

It does appear that the results from the original condition are the most correct where lines that are extended are not marked as entirely new. So I am pretty sure our current implementation is accurate, but we should be absolutely sure.

Data:

gh93_status_comparison.zip

How come the sum of value counts above is different?

How come the sum of value counts above is different?

In [1]: (549 + 125 + 95) == (549 + 209 + 11)
Out[1]: True

In [2]: (549 + 125 + 95)
Out[2]: 769

In [3]: (549 + 209 + 11)
Out[3]: 769

They are equivalent, no?

So if x is passed in as a list then the condition can potentially evaluate as True (otherwise the condition will always evaluate to False no matter if 'new' is present). But after combing through the code base I am not finding anywhere we are doing that. @martinfleis Any more thoughts off the top of your head here?
While this does not have a direct impact on geometries being generated, it does have a meaningful impact on geometry labeling, which then could affect the algorithm (from my understanding).
I'd say we need to figure this out before I continue with testing/refactor and transfer functionality to simplification.core.

No idea...

But after combing through the code base I am not finding anywhere we are doing that.

Confirmed programmatically there are no instances of passing in a list

So I guess we need to determine if our logic of "new" vs. "changed" is sound. Currently:
def _status(x: pd.Series) -> str:
    """Determine the status of edge line(s)."""
    if len(x) == 1:
        return x.iloc[0]
    if "new" in x:
        # This logic is here just to be safe. It will be hit if we create a new line
        # and in a subsequent step extend it which is not what normally happens.
        # All the new bits are caught likely by the first ``if``.
        return "new"
    return "changed"

... a linestring geometry is considered "new" only if len(x) == 1 and "new" is that value. Since the second conditional is flawed.
So:

Is a line "new" if partially new or entirely new?
I think "new" only if entirely new, elsewise "changed".
Therefore, I think our current labeling is correct and we can simply remove that final conditional

@martinfleis @anastassiavybornova Do yall concur with this logic?


Oversight in keywordprg handling.

When keywordprg is set to an Ex command, the argument is quoted as if keywordprg was set to an external command. This makes using an arbitrary Ex command for keywordprg useless.
Sample file:
111 console
aaa
console
  ^ cursor on the first o

Commands:
:set keywordprg=:psearch
K

Expected result: the first line containing console is displayed in the preview window.
Actual result:
E389: Couldn't find pattern

Explanation: the argument seems to be quoted before being given to the Ex command, preventing it to do anything useful.
:psearch 'console'
E389: Couldn't find pattern

Cause: kp_ex is not checked in this conditional.
if (cmdchar == 'K' && !kp_help)

VERY NAIVE solution that will probably break other things:
if (cmdchar == 'K' && !kp_help && !kp_ex)

I unfortunately don't know enough about C and/or the Vim internals to provide an actual patch.
FWIW, $ git blame shows that the faulty line didn't change since 7.2-010.

if (cmdchar == 'K' && (!kp_help || !kp_ex))

kp_ex is always true when kp_help is non-zero, however kp_help is
not always true when kp_ex is true.
This is likely a bug in neovim as well, since the patch came from there -
unless they handle escaping differently.

Neovim is using just kp_ex instead of both kp_help and kp_ex, and assert that kp is not a null pointer instead of default to ':help'.


Issue 405 Fix regression in empty string Form param handling in AkkaHttpServer

This fixes https://github.com/twilio/guardrail/issues/405 by removing the contentRequiredUnmarshaller from the generated form param parsing code. This prevented clients from sending empty string values to String form params which was a regression from earlier versions of guardrail.
The contentRequiredUnmarshaller is not required because for other types, the type specific parser should fail on an empty string input, however for String this should be allowed.
Contributing to Twilio

All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.

[x] I acknowledge that all my contributions will be made under the project's license.

Looks like a formatting issue, could you sbt format and commit the result? No other objections


Provide url to uploaded file

Hi @andrewrk
Can you, please, return your previous very useful api feature: url in the end event. I guess it can look something like that:
var uploader = client.uploadFile(params);
uploader.on('end', function(data) {
  console.log("done uploading. File available at " + data.url);
});

Does  s3.getPublicUrl still work? I see not a function error.


update map syntax works for more key types than just atoms

http://elixirschool.com/lessons/basics/collections/#maps
At the bottom it states

Another interesting property of maps is that they provide their own syntax for updating and accessing atom keys:

iex> map = %{foo: "bar", hello: "world"}
%{foo: "bar", hello: "world"}
iex> %{map | foo: "baz"}
%{foo: "baz", hello: "world"}
iex> map.hello
"world"

However, the updating syntax works for more than just atom keys, e.g.
iex> %{map | "STRINGKEY" => :new_val}

Howdy @nhooyr for the most part we don't attempt to cover every possibility, rather we aim to provide a foundation from which to build on.  I'm not sure we need to make changes to call out each supported key type but pull requests are welcome if you think a change could be made 👍

Its misleading because it implies that the syntax only works for updating atom keys.

@nhooyr perhaps we should then expand on the commentary around that block?  My concern is that more than just atoms and strings are valid map keys, where do we draw the line with examples?
# You can use numbers
iex> map = %{1 => "one"}
%{1 => "one"}
iex> %{map | 1 => "two"}
%{1 => "two"}

# You can use modules (which are admittedly atoms under the hood)
iex> map = %{Test: "foo"}
%{Test: "foo"}
iex> %{map | Test: "bar"}
%{Test: "bar"}

It's not a issue with the examples, its an issue with the text. Examples don't have to consider every case but the text should because otherwise it is misleading. A fix for this is included in #1094


Fix typos

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

:partying_face: :partying_face: :partying_face: :partying_face: :partying_face:


Improve block validation in terms of set of transactions provided

Resolve issues related to the conversation below:
Dmitry Mugtasimov  6 hours ago
def test_missing_transaction():
    """Block with missing transaction should be invalid"""
    block = {
        'account_number': '0cdd4ba04456ca169baca3d66eace869520c62fe84421329086e03d91a68acdb',
        'message': {
            'balance_key': '0cdd4ba04456ca169baca3d66eace869520c62fe84421329086e03d91a68acdb',
            'txs': [
                {
                    'amount': 1,
                    'recipient': '5e12967707909e62b2bb2036c209085a784fabbc3deccefee70052b6181c8ed8'
                },
                {
                    'amount': 4,
                    'fee': BANK,
                    'recipient': 'ad1f8845c6a1abb6011a2a434a079a087c460657aad54329a84b406dce8bf314'
                }
            ]
        },
        'signature': 'cfcba759125dfbaaefa627c4a41db4e5052705875d01228e5e280e13d403483fff495157b53192a6c1032ee815429f4979c0b4beb10d259fae3692123cf01f0d'
    }
    is_valid, account_balance = is_block_valid(block=block)
    assert not is_valid
this test passes because of signature validation fails, not because PV fee transaction is missing. Do we need to validate completeness of transactions: existence of 2 fee transaction and the main money transfer transaction?

Bucky:computer:  5 hours ago
Yep we do. Blocks should contain both fees in addition to the main money Tx. We can rename 'fee': BANK to 'fee': NODE as well since we no longer have “Banks”. So:
fee: PV
fee: NODE
We also have the edge case where the node itself is currently the PV for the network. In this case they are still able to receive blocks like any other node, however instead of forwarding that block to another PV it will just process it itself. Maybe still including both fees in the block with the same recipient is the easiest solution? It would make it clear from a data point of view, however we do also have logic in place to ensure that users can not send multiple Txs to the same recipient within the same block. Any ideas on how we could structure that?

@buckyroberts On the last call we decided that it is not mandatory to have fee transactions to consider a block valid. Since it is node and validator responsibility to check if they are being paid (in theory some nodes or validators may accept 0 fee transfer requests just to improve trust for example). I suggest to closed the task.


Private Rooms

Does Devzat supports secret rooms? Does it has password protected rooms?

Nope, you can host your own instances which may be whitelist-protected. But inside an instance, everyone can go to any room.
Still, if you want to do secret 1 on 1 conversation, you can used DMs.

@Arkaeriit ok tysm

Are password protected rooms a feature that you'd like?

@quackduck yes.


mimemagic (0.3.5) has been yanked from rubygems.org

bundle install does not finish installation correctly.
RUN cd roadmap && gem install bundler --conservative && bundle install:
#14 10.40 Fetching gem metadata from https://rubygems.org/.......
#14 15.74 Your bundle is locked to mimemagic (0.3.5), but that version could not be found
#14 15.74 in any of the sources listed in your Gemfile. If you haven't changed sources,
#14 15.74 that means the author of mimemagic (0.3.5) has removed it. You'll need to update
#14 15.74 your bundle to a version other than mimemagic (0.3.5) that hasn't been removed
#14 15.74 in order to install.

The version used in Gemfile.lock has been yanked couple of days ago: see here
I have updated My Gemfile.lock file from
  mimemagic (0.3.5)

to
    mimemagic (0.4.2)
      nokogiri (~> 1)
      rake (>= 0)

and the bundle install is finishing correctly, but I am not sure that if would not cause any other issues down the road.
Please complete the following fields as applicable:
What version of the DMPRoadmap code are you running? (e.g. v2.2.0)
master
Expected behaviour:
gem install bundler finish without errors
Actual behaviour:
gem install bundler finish with errors
Steps to reproduce:
Fresh install

Thanks for reporting this @yjarosz
https://www.theregister.com/2021/03/25/ruby_rails_code/
It looks like the mimemagic team released some temporary updates late Thursday to address an issue with their gem, and the Rails team is working on a longer-term fix.
For now, on most Linux systems, you can simply bundle update mimemagic
But on OSX, you will need to first run (assuming you use brew to manage dependencies): brew install shared-mime-info


chore(Order/Lattice): Resolve porting notes

The dsimp issue has been resolved.
I knew that the lemmas provable by simp were provable by simp in Lean 3, but the simp nf linter was more lax. Now there's definitely no need to tag them.
ematch is not coming back (and was already completely unused for years in Lean 3).
Unification has changed in Lean 4, so it's really unsurprising that we need to provide an extra argument to sup_ind. It's not expectable that this will ever change, neither is it necessary.
Dot notation on Function.update is still broken. This is the last remaining porting note.

maintainer merge

Thanks!
bors merge


Proving mingw variant for windows

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

The top level meta keys are in an unexpected order. Expecting ['package', 'source', 'requirements', 'test', 'outputs', 'about', 'extra'].
The recipe must have a build/number section.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

The top level meta keys are in an unexpected order. Expecting ['source', 'requirements', 'test', 'outputs', 'about', 'extra'].
The recipe must have a build/number section.
Recipe name has invalid characters. only lowercase alpha, numeric, underscores, hyphens and dots allowed

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

The top level meta keys are in an unexpected order. Expecting ['package', 'source', 'build', 'requirements', 'test', 'outputs', 'about', 'extra'].
The recipe must have a build/number section.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

The recipe must have a build/number section.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

I think this is outdated with Adrien's recent work.


bug: rust constants not highlighted

Neovim version (nvim -v)
0.10
Terminal / multiplexer
win terminal
Describe the bug
Rust constants are not highlighted. This was reported as #227, fixed in #233, reverted in #240.
Suggest alternate fix:
diff --git a/lua/rose-pine.lua b/lua/rose-pine.lua
index 40ba83e..9f118e9 100644
--- a/lua/rose-pine.lua
+++ b/lua/rose-pine.lua
@@ -416,6 +416,7 @@ local function set_highlights()
<EMAIL_ADDRESS>= { link =<EMAIL_ADDRESS>},
<EMAIL_ADDRESS>= { link = "@operator" },
<EMAIL_ADDRESS>= { link = "@string" },
+<EMAIL_ADDRESS>= { link = "@constant" },
<EMAIL_ADDRESS>= { link =<EMAIL_ADDRESS>},
<EMAIL_ADDRESS>= { link = "@variable" },

Repro
see #227

Appreciate the report, linking to constant makes sense (due to naming) but I'm actually surprised constant is gold. If we're okay with that colour for constants I can merge #246

Appreciate the report, linking to constant makes sense (due to naming) but I'm actually surprised constant is gold. If we're okay with that colour for constants I can merge #246

Yes please!


webpack configuration not respecting main script of dependency

- [x] bug report -> please search issues before submitting
- [ ] feature request

I have a (private) TypeScript package that contains some Angular services and that has a compiled bundle that is ready to require.
This was working in a project generated with angular-cli before.
Versions.
@angular/cli: 1.0.4
node: 6.10.3
os: win32 x64

Repro steps.

Add a dependency that has an index.js/index.d.ts and a main entry in the package.json
Run ng serve or ng build

The log given by the failure.
Webpack tries to require the TypeScript code, resulting in error messages about the use of require.
Desired functionality.
Webpack should require the bundle given by the main property.
Mention any other details that might be useful.
If I require the bundle directly using
import { ServiceName } from 'package/bundles/bundle.js';

webpack compiles fine and the application works.
I'm fairly certain this is a configuration error on my side, but I couldn't find any relevant documentation.

Of course, just after I post this I realize that the error is not thrown from webpack.
A TypeScript language update caused a problem with the mentioned package.
I am still not sure what actually tried to load the TypeScript code (perhaps a linter?), but the main script is properly included into the bundle after fixing the require issues.


Is creating an appname with a slash ("/") character possible?

I have encountered a situation that requires using a slash ("/") in an AppName, such as "live/0", and I'm curious about its feasibility within Livego. My interest arose while examining the code, particularly at this point in the HLS module, where I suspect the issue I'm facing originates.
Can Livego support an AppName with a slash ("/"), specifically names like "live/0"? If this is not supported, is there an alternative approach to achieve a hierarchical naming system for streams?
Given the code segment mentioned, are there any modifications or configurations I can apply to bypass or mitigate this limitation?
What are the implications or potential issues of attempting to use a slash ("/") in an AppName, based on Livego's current implementation?
The hierarchical naming convention is crucial for the structure and organization of my project, and understanding whether Livego can accommodate this format directly affects my planning and development process.

I have opened the following #235 to try to fix the slash appname issue.


Issue with /docs/troubleshooting/

This is a...

[ ] Feature Request
[x] Bug Report

Problem:
http://kubernetes.io/docs/user-guide/jobs/work-queue-2/ has a link to https://github.com/kubernetes/kubernetes/tree/master/examples/redis/README.md which gives 404
Proposed Solution:
Page to Update:
http://kubernetes.io/docs/user-guide/jobs/work-queue-2/

Being addressed in PR #2208


#198: enhancement: tvpaint - add extract_psd toggle button for scene render

Changelog Description
Add toggle option for activating Extract PSD for render scene base subset.
This MR needs to be merge with this one : https://github.com/quadproduction/openpype-custom-plugins/pull/31
Testing notes:

Open tvPaint
Launch a Scene render for any scene
Check for .psd file in publish folder.

Waiting for the tests of @hfarre, will be add to the next release, probably 3.16.9-quad-1.4.0.


Add more Ladle stories

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (cf3e52e) to head (19a4afd).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #499   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           30        30
  Lines          313       313
  Branches        79        79
=========================================
  Hits           313       313

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


v4.0.0-alpha.3.1 Release Date / NuGet Update

I was wondering if you had an expected date for the push of release v4.0.0-alpha.3.1, and if you would be pushing this update to NuGet. The current release is not on NuGet.

The current release is on NuGet: https://www.nuget.org/packages/bootstrap/4.0.0-alpha3

I was wondering if you had an expected date for the push of release v4.0.0-alpha.3.1

"Pretty soon"

At the moment, it looks like 6 to 8 weeks.

Closing out as we'll be shipping it soon.


[decisely/juno#7202] Add navbar light blue styles support

Are we start using yarn in umka?

@evheny0 Let's start


Remove or adjust some controversial rules

Problem
Some of the rules are of dubious benefit.

     - avoid-accessing-collections-by-constant-index

Question is - how we'll be process such cases?
  final someString = 'some-decoded-id-in-the-middle';
  final parts = someString.split('-');
  assert(parts.length == 6, 'Incorrect format');
  return parts[2];
}

       - avoid-explicit-type-declaration

I used to avoid reduntant getter like this:
class SomeWm extends WidgetModel<SomeWidget> {
   @override
   final ValueNotifier<int> counter = ValueNotifier(0);
}

abstract class ISomeWm extends IWidgetModel<SomeWidget> {
    ValueListenable<int> get counter;
}

I have to declare type explicitly. Will it work with this rule?

     - avoid-long-files:
           max-length: 500

What about situations, when we have many private widgets for one screen? They are not reusable and have to be private.

  - avoid-long-functions:

Does it rule work also for build method?

It's okay because you can declare index variables/constants and use them::

  const indexOfId = 2;

  final someString = 'some-decoded-id-in-the-middle';
  final parts = someString.split('-');
  assert(parts.length == 6, 'Incorrect format');
  return parts[indexOfId];
}

We don't have this rule right now.

This is a rare case, in such cases it can be ignored.

Similar to 3.


Thank you for your tutorial. Can you help me with this problem?

Hi,
Thank you very much for your audioplayer tutorial. I have learnt a lot.
But how do i populate the audioList with multiple data from firestore?
My code only fetches a single song. How do i get all the songs in a collection into the List audioList;
audioList.length only gets a single document
audioList.add(
Audio.network(widget.document.data()['song'],
metas: Metas(
title: widget.document.data()['songTitle'],
artist: widget.document.data()['artistName'],
image: MetasImage.network(widget.document.data()['songImage']))),
Thank you for your efforts.

Hey! Unfortunately, fetching data from firestore is something I haven't really done yet, so I think I won't be much of a help here... In case the problem persists even after you are able to fetch all songs - so the problem has something to do with the audioplayer itself-  then I will be glad to help you out :)


New avro4k release - upgrade kotlinx.serialization to 1.0.0 etc

First stable release of kotlinx.serialization has been released. avro4k should be upgrade to it or probably none/minor changes
https://github.com/Kotlin/kotlinx.serialization/releases/tag/v1.0.0
EDIT: Oh sorry versions are upgrade already in this commit:  https://github.com/avro-kotlin/avro4k/commit/b38560f83cae881b9a0031da5c95744b7578e981 by @thake . Well perhaps time for new release of avro4k ? EDIT v2 perhaps it was after this issue
P.S. I noticed that this Github repository is missing tags from latest releases. Or at least after project transferred to use GH actions. So probably missing from its definitions.

@kossi you were right. I created the commit after the issue has been created. I forgot to mention this issue in the commit message. I'm currently still working on a refactoring of the Avro API that should be part of the release. Shouldn't take too long.

@kossi took a little bit longer. The release 0.41.0 is now available.

Great, and now with even git tag. Thanks!

Thx :)


Error - "unable to open database file" when using bind mount

Hello,
When I use a bind mount for the /home/ldap/db directory, I get an error that the database cannot be opened, before the initial database is even created. I've tried a populated folder (with config.cfg), and an empty one. This does not happen when I use a volume mount. My docker-compose.yml is as follows:
version: '3'
services:
  glauth:
    image: glauth/glauth
    container_name: glauth
    restart: unless-stopped
    ports:
      - 389:389
      - 636:636
    volumes:
      - $DOCKERDIR/swag/config/keys:/app/config/certs
      - $DOCKERDIR/glauth/config.cfg:/app/config/config.cfg

  glauthui:
    image: glauthui:latest
    container_name: glauth-ui
    restart: unless-stopped
    ports:
      - 9045:5000
    volumes:
      - $DOCKERDIR/glauth:/home/ldap/db
      - $SECRETSDIR/glauth:/secrets
    environment:
      - SECRET_KEY=<redacted>
      - MAIL_SERVER=smtp.gmail.com
      - MAIL_PORT=587
      - MAIL_USE_TLS=1
      - MAIL_USERNAME=
      - MAIL_PASSWORD=
      - MAIL_ADMIN=

Works if:
    volumes:
      - dockervolume:/home/ldap/db

Error:
[2021-04-20 20:56:31,397] INFO in __init__: Glauth UI
sqlite3.OperationalError: unable to open database file

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/ldap/venv/bin/flask", line 8, in <module>
    sys.exit(main())
  File "/home/ldap/venv/lib/python3.8/site-packages/flask/cli.py", line 967, in main
    cli.main(args=sys.argv[1:], prog_name="python -m flask" if as_module else None)
  File "/home/ldap/venv/lib/python3.8/site-packages/flask/cli.py", line 586, in main
    return super(FlaskGroup, self).main(*args, **kwargs)
  File "/home/ldap/venv/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/ldap/venv/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/ldap/venv/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/ldap/venv/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/ldap/venv/lib/python3.8/site-packages/click/decorators.py", line 21, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/ldap/venv/lib/python3.8/site-packages/flask/cli.py", line 426, in decorator
    return __ctx.invoke(f, *args, **kwargs)
  File "/home/ldap/venv/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/ldap/app/__init__.py", line 74, in createdbdata
    if models.User.query.count() == 0:
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 3803, in count
    return self.from_self(col).scalar()
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 3523, in scalar
    ret = self.one()
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 3490, in one
    ret = self.one_or_none()
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none
    ret = list(self)
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__
    return self._execute_and_instances(context)
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 3556, in _execute_and_instances
    conn = self._get_bind_args(
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 3571, in _get_bind_args
    return fn(
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 3550, in _connection_from_session
    conn = self.session.connection(**kw)
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/orm/session.py", line 1142, in connection
    return self._connection_for_bind(
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/orm/session.py", line 1150, in _connection_for_bind
    return self.transaction._connection_for_bind(
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/orm/session.py", line 433, in _connection_for_bind
    conn = bind._contextual_connect()
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 2302, in _contextual_connect
    self._wrap_pool_connect(self.pool.connect, None),
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 2339, in _wrap_pool_connect
    Connection._handle_dbapi_exception_noconnection(
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1583, in _handle_dbapi_exception_noconnection
    util.raise_(
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/util/compat.py", line 182, in raise_
    raise exception
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 2336, in _wrap_pool_connect
    return fn()
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 364, in connect
    return _ConnectionFairy._checkout(self)
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 778, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 495, in checkout
    rec = pool._do_get()
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/pool/impl.py", line 241, in _do_get
    return self._create_connection()
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 309, in _create_connection
    return _ConnectionRecord(self)
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 440, in __init__
    self.__connect(first_connect_check=True)
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 661, in __connect
    pool.logger.debug("Error on connect(): %s", e)
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 68, in __exit__
    compat.raise_(
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/util/compat.py", line 182, in raise_
    raise exception
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 656, in __connect
    connection = pool._invoke_creator(self)
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/engine/strategies.py", line 114, in connect
    return dialect.connect(*cargs, **cparams)
  File "/home/ldap/venv/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 508, in connect
    return self.dbapi.connect(*cargs, **cparams)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file
(Background on this error at: http://sqlalche.me/e/13/e3q8)

Am I dense and am missing something, or doing something wrong?
Thanks in advance!

this is weird. im using bind-mounts as well with no issues:
volumes:
  - './docker-data:/home/ldap/db'

As you can see I'm mapping a subfolder in my docker-compose directory to the db directory.
Maybe the variable isnt working for some reason?

While testing this on another system i encountered the same error and this may be the solution for you.
The ui (gunicorn server) isn't run as root but uses the user "ldap" group "users" in the container. To create its config files the directory you mounted using docker must be able to write to this folder.
On my debian host system this worked fine by allow the users group write access to the folder.


Missing companion libraries

I see in this commit that all of the companion libraries have been deleted from the repository (committed directly to master).  What is the plan for getting this functionality back?

Unity.Configuration
Unity.RegistrationByConvention
Unity.RegistrationByConvention.NetCore
Unity.RegistrationByConvention.WindowsPhone
Unity.Interception
Unity.Interception.Configuration
Unity.WebApi
Unity.Mvc

Can we get details about what is getting worked on and anything that is on the roadmap?  It would be good for the community to be aware.

It is all back


Perf/point cloud showing

:tada: This PR is included in version 1.0.0 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


⚠ SSH 🇮🇩 Indonesia IDA 1 has degraded performance

In d2dbfd2, SSH 🇮🇩 Indonesia IDA 1 (http://ids-2.opensvr.net:8080/) experienced degraded performance:

HTTP code: 400
Response time: 16125 ms

Resolved: SSH 🇮🇩 Indonesia IDA 1 performance has improved in 4e0dad9.


[feature/django-osf] Fix Timezone [#CAS-9]

Issue
@sloria @chris
Python's datetime.datetime.utcnow() is not timezone aware, when assigned to a Django-Postgres DateTimeField, it is treated as local time. Date of type Timestamp with Time Zone stored in Postgres has UTC timestamp but local timezone.
Fix
Use Django's django.util.timezone.now() instead.
UTC timestamp in Django: 2016-09-29 19:03:21.439057
Date stored in DB (before fix): 2016-09-29 19:03:21.439057-04
Date stored in DB (after fix): 2016-09-29 15:03:21.439057-04
Changes
Replace AMOST EVERY occurrence of dt.datetime.utcnow(), datetime.utcnow() and datetime.datetime.utcnow() with timezone.now(). Add from django.util import timezone if necessary.

Exceptions

\admin\ and \admin_tests\
utcnow = timezone.now() where utcnow is used as a var
website.util.time.py where datetime and timezone are handled separately
deprecated model declaration fields.DateTimeField(default=datetime.datetime.utcnow)

Side effects

[ ] What about timestamp in DateTimeAwareJSONField()?
[x] What about those in osf-models: see https://github.com/CenterForOpenScience/osf-models/pull/142

Related PR
OSF-Models: https://github.com/CenterForOpenScience/osf-models/pull/142
Ticket
https://openscience.atlassian.net/browse/CAS-9

@cwisecarver
this PR duplicates your PR for fixing datetime issue, closed


Templating

Updated code to work for simple templating for future cohorts

@stevebrownlee @megducharme can you clone this down and run it to see if you are ok with this as a simple template for class websites?


Feature Request: Browse/Source Categories backup

Describe your suggested feature
Please add the Browse/Source Categories to backup as it's this app unique feature to categorize sources yet it won't be included in the backup.
It's really quite frustrating when changing devices or having multiple devices, restoring a backup while using this feature, especially when having a lot of sources nicely sorted out previously only to have to restart the process all over each time you need to restore a backup etc.
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extensions repository.
[X] I have updated the app to version 1.9.3.
[X] I will fill out all of the requested information in this form.

+1🙏


Api

[Enter feedback here]

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

ID: 25a33ff6-8ffc-ad26-d429-3170bcca9498
Version Independent ID: fcd9c088-8b17-e53b-4c93-f90f2dc5c09c
Content: Publish versions of your API using Azure API Management
Content Source: articles/api-management/api-management-get-started-publish-versions.md
Service: api-management
GitHub Login: @vladvino
Microsoft Alias: apimpm

@Hasansiam Looks like the issue was created without any content. Please feel free to share your feedback if you are still facing issues with the doc.

@Hasansiam Please feel free to create a new issue for any feedback you may have on this doc.
Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Inconsistent output in some queries

Inconsistent output in JOINs
I have create and populated the following tables:

applications table:

id
name
description

1
application name
application description

2
application 2 name
small application description

tags table:

id
name

1
tax

2
car

applications_tags table:

application_id
tag_id

1
1

1
2

2
1

// Create tables
db.run(`
  CREATE TABLE IF NOT EXISTS applications (
    id INTEGER PRIMARY KEY,
    name TEXT NOT NULL,
    description TEXT
  )`, errorHandlingCallBack)
  .run(`
  CREATE TABLE IF NOT EXISTS tags (
    id INTEGER PRIMARY KEY,
    name TEXT NOT NULL
  )`, errorHandlingCallBack)
  .run(`
  CREATE TABLE IF NOT EXISTS applications_tags (
    id INTEGER PRIMARY KEY,
    application_id INTEGER NOT NULL,
    tag_id INTEGER NOT NULL
  )`, errorHandlingCallBack);

// Populate tables
db.run(`
  INSERT INTO applications
    (name,description)
  VALUES
    ("application name",   "application description"),
    ("application 2 name", "small application description")
  `, errorHandlingCallBack)
.run(`
  INSERT INTO tags
    (name)
  VALUES
    ("tax"),
    ("car")
  `, errorHandlingCallBack)
.run(`
  INSERT INTO applications_tags
    (application_id, tag_id)
  VALUES
    (1, 1),
    (1, 2),
    (2, 1)
  `, errorHandlingCallBack)

// ... more code

db.close(errorHandlingCallBack);

Then I run this query:
db.all(`
  SELECT a.description, t.name
  FROM applications a
  JOIN applications_tags at
    ON a.id = at.application_id
  JOIN tags t
    ON at.tag_id = t.id
`, function (err, tables) {
  console.log(JSON.stringify(tables, null, 2));
});

which returns me the following array:
[{
  "description": "application description",
  "name": "tax"
},
{
  "description": "application description",
  "name": "car"
},
{
  "description": "small application description",
  "name": "tax"
}]

Until this point, everything runs as expected. However, if I change the query from SELECT a.description, t.name to SELECT a.name, t.name, it doesn't return the a.name, I only get the t.name:
[{
  "name": "tax"
},
{
  "name": "car"
},
{
  "name": "tax"
}]

Where are my a.name? Is there any mapping conflict?
EDIT:
This unexpected behaviour happens with this query as well:
db.all(`
  SELECT
    a.description,
    t.name
  FROM
    applications a,
    applications_tags at,
    tags t
  WHERE a.id = at.application_id
  AND at.tag_id = t.id
`, function (err, tables) {
  console.log(JSON.stringify(tables, null, 2));
});

I believe the answer above is correct so I'm going to close this 🙂


Web subgrid support

Added subgrid get records, get record count, open, & delete (#462 #156)

@jlattimer - Can we move these new methods from Grid.cs to Entity.cs? This will fall inline with some other existing methods (e.g SelectSubgridLookup).
The page naming might be a little confusing, but the intent behind Entity.cs will be direct interactions against the contents on an Entity form while the page is loaded in that context (e.g fields, tabs, sectons, and subgrids)

@TYLEROL Done


I found such a feature useful and thought I'd share it in the examples.
thanks!

I wonder if we might instead point users towards dask.delayed and da.stack in cases like this.  Here is an example from a blogpost:
import dask.array as da
from dask import delayed

imread = delayed(skimage.io.imread, pure=True)  # Lazy version of imread

urls = ['http://emdata.janelia.org/api/node/bf1/grayscale/raw/xy/2000_2000/1800_2300_%d' % i
        for i in range(10000)]  # A list of our URLs

lazy_values = [imread(url) for url in urls]     # Lazily evaluate imread on each url

arrays = [da.from_delayed(lazy_value,           # Construct a small Dask array
                          dtype=sample.dtype,   # for every lazy value
                          shape=sample.shape)
          for lazy_value in lazy_values]

stack = da.stack(arrays, axis=0)                # Stack all small Dask arrays into one

http://matthewrocklin.com/blog/work/2017/01/17/dask-images
Also, not particularly relevant for this example (which is more general), but you might want to look at to_npy_stack and from_npy_stack

I've pushed some proposed changes

Thanks, I was not aware of da.from_delayed. This is a very useful example!
I like how you include both methods.
I just have one question and one comment:

for the task graph, when supplying a list of args:

        dsk = {(name, i, 0, 0): (func, (a,), (b,b2))}

implies
func(a)(b, b2)

for example is that correct? (I tested example and it works)

I just realized this example assumes the reader returns numpy arrays. It might be good that we add a mention of this. I have added this in the docstring.
should we link your blog post as a reference for a more elaborate example?

If you have no comments I think this looks good to me. This would be very useful.
thanks for sharing all this information, very interesting!

See http://dask.pydata.org/en/latest/spec.html for information on the graph spec.
(func, (a,), (b,b2)) converts to func(a(), b(b2)) if a and b are both callables

I should have checked the documentation again, silly question... I appreciate the answer.

thanks!


borgbackup: extraCreateArgs (and other args) are broken

Describe the bug
extraCreateArgs escapes the args, breaking them because they are not expanded by bash, being passed from systemd through an env var. Easier to understand with the repro:
Steps To Reproduce
Steps to reproduce the behavior:

Set up a borgbackup job test with extraCreateArgs = [ "--exclude-caches" ]
systemctl cat borgbackup-job-test will have a line Environment="extraCreateArgs='--exclude-caches'"
systemctl start borgbackup-job-test will then fail with borg create: error: argument ARCHIVE: "'--exclude-caches'": No archive specified
Manually setting extraCreateArgs correctly in the preHook works around the issue.

Expected behavior
It should work as expected, I assume the same issue applies to other extraArgs parameters.
Notify maintainers
@dotlambda
<!--

### Metadata
Please run `nix-shell -p nix-info --run "nix-info -m"` and paste the result.

```console
λ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.8.9, NixOS, 24.11 (Vicuna), 24.11.20240624.2893f56`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.23.0`
 - channels(necauqua): `""`
 - channels(root): `""`
 - nixpkgs: `/nix/store/vsbi6gfwf2bdamw0d0d9xndb1rrxfnbk-source`
```

---

Add a :+1: [reaction] to [issues you find important].

[reaction]: https://github.blog/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/
[issues you find important]: https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc

I'm having the same issue with setting extraArgs. A crappy workaround could be to process the arguments in the bash script, removing the literal single quotes around them. But it seems like the root of the problem is upstream with how the systemd service is created.

See #332319


[multistage][bugfix] fix group-by without agg call plan failure

group-by without agg call is basically a DISTINCT operation. we should allow this.

Codecov Report

Merging #9383 (af30a87) into master (987480b) will decrease coverage by 37.47%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master    #9383       +/-   ##
=============================================
- Coverage     63.44%   25.96%   -37.48%
+ Complexity     5069       44     -5025
=============================================
  Files          1832     1873       +41
  Lines         98122   100039     +1917
  Branches      15017    15238      +221
=============================================
- Hits          62250    25977    -36273
- Misses        31283    71434    +40151
+ Partials       4589     2628     -1961

Flag
Coverage Δ

integration1
25.96% <0.00%> (?)

unittests1
?

unittests2
?

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

 Learn more


switching from the pirate UUID to the premium UUID

https://prnt.sc/t694aa
When switching from the pirate UUID to the premium UUID, a very strange error occurs, causing permission to break down on the entire BungeeCord. I think this is due to the fact that the pirate and licensed account are completely different, although the nickname is the same, but still, we can ask you to fix it

The plugin you're using to dynamically change UUIDs isn't supported.


Differences in downloaded tags

Hello.  I don't know if this is a repository-specific issue, or a GitHub issue. I have already e-mailed GitHub about this. I am posting here just in case.
Here is what I am seeing:
I go here:
https://github.com/vision5/ngx_devel_kit/releases
And I download the file at this link:
https://github.com/vision5/ngx_devel_kit/archive/refs/tags/v0.3.1.tar.gz
I can also download the file at this link:
https://github.com/vision5/ngx_devel_kit/archives/refs/tags/v0.3.1.tar.gz
The 2 links are equal, except s/archive/archives/.
And the files downloaded are different sizes.
The file at /archive/ is ~65K.
The file at /archives/ is ~74K.
What is going on?
Cheers,

Daniel

Sorry for the late reply.  I only just saw your post.

https://github.com/vision5/ngx_devel_kit/archive/refs/tags/v0.3.1.tar.gz is the correct URL
https://github.com/vision5/ngx_devel_kit/archives/refs/tags/v0.3.1.tar.gz is an incorrect URL.  You're downloading the 404 page (I'm guessing).  I don't get anything that's ~74K.

There aren't any /archives/ URLs on that page - at least not now.  If there was a Github issue, then it looks like it's been resolved.  Am closing this issue.
Thanks.


HTTP 409 Conflict responses with no body content cause an error with ajax requests

Apologies for the really long issue description here but I couldn't find a way to explain it without starting at the beginning.
Summary
I believe phantomjs's QtWebKit implementation suffers from a bug where a HTTP 409 Conflict response to an ajax request will have an error status of 0 when the response body is empty. It seems like this bug used to exist in Safari, may still exist in similar situations on Firefox, and so maybe still exists in QtWebKit.
Note that this error happens even on a same-origin request where there is no issue around preventDefault().
Longer explanation
We have a Rails application (using PhantomJS through Poltergeist) which returns a HTTP 409 Conflict in response to a jQuery $.ajax POST request. When the 409 response comes back, the $.ajax error handler triggers, as expected, which looks like this:
error: function(jqXHR, textStatus, errorThrown) {
  if (jqXHR.status === 409) {
    window.location = jqXHR.getResponseHeader("Location");
  }
}

This all worked fine on Rails 4.2.0, but when upgrading to Rails 4.2.1 we encountered failing tests suggesting that jqXHR.status === 409 was no longer true. To get better insight, I added a line to the top of the error handler to simply
throw "" + jqXHR.status + " -- " + jqXHR.readyState + " -- " + textStatus;

On the test-passing 4.2.0, this shows the correct jqXHR.status of 409. On the test-failing 4.2.1, it instead gives

jqXHR.status as 0.
jqXHR.readyState as 0.
textStatus as "error".

I'd like to pre-emptively address 2 questions here, in light of various parts of the Internet that talk about the error values above.
This error can happen from cross-origin requests. Are you doing cross-origin requests?
No. Nothing about the application, URL structure, domain structure, or other cross-origin related architectural stuff changed. The only difference between the passing commit and the failing commit is that the former is Rails 4.2.0 and the latter is Rails 4.2.1. No JavaScript libraries or dependencies change between the passing and failing commits.
This error can happen when form submissions or links have JavaScript handlers that don't call preventDefault(). The browser's regular execution of a hyperlink or a form submission can break the ajax handler. Have you tried adding that?
Again, there are no changes to HTML structure between the passing and failing commits. Second, the elements that trigger the ajax request don't have any default behaviour like a link or a form submission. In this specific case they're <input>s floating free from any actual <form> element.

After much digging, I discovered that one change included in Rails 4.2.1 was the way that HEAD responses work. Our response of 409 Conflict is implemented with
head :conflict, location: a_location_value

In Rails 4.2.0 (and many versions earlier), this actually included a single space for the response body. (For some specifics, responses with a HTTP code other than the 1xx series, 204, 205, and 304 are marked as never including content, whereas others — including the 409 in question — can include content as per the HTTP spec, and in those cases a single space " " is used.) After https://github.com/rails/rails/pull/18255 (as part of fixing https://github.com/rails/rails/issues/18253), included in Rails 4.2.1, the response body for head :conflict is now empty, and not a single space. This seems to be directly responsible for causing the 0/0/"error" values in XHR error handler. The reason being that replacing the head response allows you to toggle the pass/fail status of the test in question.
# this fails because it's basically equivalent to the `head` call
render text: "", status: :conflict, location: a_location_value

# this works, by working around the altered implementation of `head`
render text: " ", status: :conflict, location: a_location_value

I recreated this failure with phantomjs 1.8.2, 1.9.8 and 2.0.0, using jQuery 1.11.2. I also reproduced it with jQuery 1.11.1 and 1.11.2 using, I think, either phantomjs 1.7.0 or 1.8.2.
Sounds like a jQuery problem — isn't this a jQuery problem?
I don't think so. There have been (and still are?) similar bugs to the one I'm describing here, where the bug is reported with the browser and where the jQuery team has explicitly stated it's a browser bug. Here's my thinking:

It works fine in a regular Chrome browser, 42.0.2311.60 beta (64-bit).

It works fine in a regular Firefox browser (version 34?).
Through http://bugs.jquery.com/ticket/13654 and https://bugzilla.mozilla.org/show_bug.cgi?id=521301 this sort of bug used to(?) exist for responses where there was no body, e.g., 204 No Content.
Similarly, the whole point that Rails included an empty space (" ") in their head responses was to work around a Safari bug. (See https://github.com/rails/rails/commit/cb0f8fda9652c4d24d04693bdb82cecd3b067e5c and https://github.com/rails/rails/commit/807df4fcf021fc4d15972aa1c17ba7398d43ab0d).

Specifically, the comment at http://bugs.jquery.com/ticket/13654#comment:14 seems to suggest that this issue comes directly from the browser. The fact that https://bugzilla.mozilla.org/show_bug.cgi?id=521301 exists as a bug in Firefox backs that up, too.
All that leads me to think that this is a bug in the XHR implementation of QtWebKit, especially given the inevitably mismatch between what QtWebKit does and what a plain WebKit browser would do. With more time I could provide a minimal failing test application.

We are seeing similar behavior in a test that depends on jQuery evaluating the status code returned by a head :forbidden in Rails 4.2.1  Instead of a 403 as expected, we get a 0.

nice find!


Value can't be changed on Windows 11 machine

Hello,
I use a combination of the swipe card and the tab card. This works fine on my android phone, but not on a windows machine. On windows (11) I can’t change the value (I don’t get a cursor) ?!
I don't know if this is a problem of the tab card or the swipe card...
So this works fine :
`
type: custom:tabbed-card
options: {}
tabs:

card:
type: vertical-stack
cards:
- type: entities
entities:
- entity: input_datetime.tijdstip_alles_uitschakelen
name: All air conditioning off (again) at
attributes:
label: TEST
`

But this doesn't :
`
type: custom:swipe-card
cards:

type: custom:tabbed-card
options: {}
tabs:

card:
type: vertical-stack
cards:
- type: entities
entities:
- entity: input_datetime.tijdstip_alles_uitschakelen
name: All air conditioning off (again) at
attributes:
label: TEST
`

Post a FORMATTED code. Currently your code is not readable. Place a code inside a triple "`".

If your tabbed-card works fine w/o swipe-card - then probably the swipe-card is a culprit. Try this simple code:

type: custom:swipe-card
cards:
  - type: entities
    entities:
      - sun.sun
      - sun.sun
      - sun.sun
      - input_text.test_text
      - input_boolean.test_boolean
      - input_number.test_value_uom
      - input_datetime.test_datetime
      - input_select.test_value
      - sun.sun
      - sun.sun

  - type: entities
    entities:
      - sun.sun
      - sun.sun
      - sun.sun

Currently in FF & Chrome (Win, at least in Win10 + FF 115.0, Chrome 115.0.5790.171) a user CANNOT edit values in input fields for:
-- input_number (box mode);
-- input_text;
-- input_datetime (for time);
-- input_time.
But it works in Companion App iOS (at least in 15.x.).
There is a workaround - adding this option:
type: custom:swipe-card
cards:
  ...
parameters:
  touchStartPreventDefault: false

which allows to edit controls.

Hello,
This did the trick :
parameters:
touchStartPreventDefault: false
Thank you very much !
Greetings
Op zo 6 aug 2023 om 17:18 schreef ildar170975 @.***>:

Post a FORMATTED code. Currently your code is not readable. Place a
code inside a triple "`".
[image: image]
https://user-images.githubusercontent.com/71872483/258649607-67ee8879-6e79-4d8f-9db9-af1843bae5ba.png
2.
If your tabbed-card works fine w/o swipe-card - then probably the
swipe-card is a culprit. Try this simple code:
type: custom:swipe-card
cards:

type: entities
entities:

sun.sun
sun.sun
sun.sun
input_text.test_text
input_boolean.test_boolean
input_number.test_value_uom
input_datetime.test_datetime
input_select.test_value
sun.sun
sun.sun

type: entities
entities:

sun.sun
sun.sun
sun.sun

[image: изображение]
https://user-images.githubusercontent.com/71872483/258650933-3a04ce05-0909-460d-92d0-45f7b5500b76.png
Currently in FF & Chrome (Win, at least in Win10 + FF 115.0, Chrome
115.0.5790.171) a user CANNOT edit values in input fields for:
-- input_number (box mode);
-- input_text;
-- input_datetime (for time);
-- input_time.
But it works in Companion App iOS (at least in 15.x.).
There is a workaround - adding this option:
type: custom:swipe-card
cards:
...
parameters:
touchStartPreventDefault: false
which allows to edit controls.
—
Reply to this email directly, view it on GitHub
https://github.com/kinghat/tabbed-card/issues/108#issuecomment-1666893601,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AW2H5ACUD3HT65HWNZXY53LXT6YVHANCNFSM6AAAAAA3FXEQMI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Close the issue then.


can not recongize usb devices in Boot Manger, pxiel 2015

I have succefully run this scripts on google chromebook pixel 2015 (Samus). Now I can enter the Boot Manger.
I make a win10-install U-disk using rufus-3.10p.exe, but my U-disk cannot be auto-recongized by machine. In another word, the boot manger did not show any other options except EFI Interal Shell and SATA:KINGSTON RBU-****.
Stucking in this step during install windows 10. Help pls

did you try the solutions listed in https://mrchromebox.tech/#faq ?
If the USB isn't being recognized, easiest thing to do is use a different USB


:wqa abandons running terminal job

The docs say it will abort if a buffer cannot be saved, so it seems this isn't consistent with the terminal docs.
8.0.1523

Jason Felice wrote:

The docs say it will abort if a buffer cannot be saved, so it seems
this isn't consistent with the terminal docs.

Yeah, that's not right, it would require :wqa!
--
A hamburger walks into a bar, and the bartender says: "I'm sorry,
but we don't serve food here."
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///


usm: kafka: Support fetch v12

What does this PR do?
Add support for v12 of the Fetch API.  The main change is the use of
varints and addition of tagged values.  While that change itself is
fairly straightforward, the need to parse varints caused the programs to
exceed the instruction size supported by older kernels (4096
instructions), so the programs had to be split into separate programs
for pre-v12 and v12, as well as to do the parsing in two steps in
separate programs: a first step to parse the locations of the record
batches arrays, and a second step to parse the list of found locations.
The split between pre-v12 and v12 is simple and handled by informing the
compiler about the bounds of the versions, and then depending on it to
eliminate the unused branches.  The split of the parsing into two steps
requires code to handle the transition between the two steps correctly.
Also mainly due to code size restrictions on older kernels (even after
the above optimizations), the following limitations are currently
present:

A maximum of four bytes of varints are supported
The tagged values fields are always assumed to be empty

Motivation
https://datadoghq.atlassian.net/browse/USMON-829

Additional Notes
Maps change
kafka_response map increased from 6.92 MiB to 7.15 MiB (with 30k entries).
Load test results
Base version is main (c4dd4ac). Test type is kafka.plain.

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


bthrm - Fix restarting issue and more debug logging

Fixes an issue where powering down the HRM and then powering on would prevent BTHRM from reconnecting
Better logging for errors
Additional setting in debug menu for active scanning

Thanks!


Remove "nokokoro" tag from dynamic_library_test.

I'm looking to remove the "nokokoro" tag, but this use still remains. If this test passes now, we can remove the tag entirely rather than just rename it.

https://stackoverflow.com/questions/13502156/what-are-possible-causes-of-failed-to-map-segment-from-shared-object-operation
sounds like a permissions issue on the mount point - stack overflow says sudo mount /tmp -o remount,exec (or whatever)

https://stackoverflow.com/questions/13502156/what-are-possible-causes-of-failed-to-map-segment-from-shared-object-operation
sounds like a permissions issue on the mount point - stack overflow says sudo mount /tmp -o remount,exec (or whatever)

https://groups.google.com/g/bazel-discuss/c/XG1O_FuX3UY

Bazel's sandbox doesn't mount paths as noexec, unless they already were mounted with noexec on your host system

Looks like we could create our own sandbox directory and pass  --experimental_sandbox_base=

Also - that thread mentions Docker being the source of /dev/shm being mounted as noexec, which explains why we were only seeing this on CI and not locally.


top-down analysis of each node

Hi Daniel,
I know there is a possibility to do a Bottom-up analysis of each node (using --modular true).
What about a top-down analysis in a compositional setting. I believe it may produce results for top contracts in the limited timeout given by the user for large complex models. While most of the time in bottom-up analysis, I noticed kind2 gives up quickly on the bottom contracts as they are hard to prove and it stops the analysis.
top-down analysis may require computing the dependency graph of nodes and do a BFS of contracts.
--timeout_analysis is useful to limit the timeout per analysis, but I would like to experiment kind2 in a top-down analysis.
In the mean time, what about an option to give a list of nodes to analyze by order in the same execution?  Currently I use --lus_main for each node on several executions of kind2.
Thanks

Hi Hamza,
The choice of a bottom-up approach in modular analysis was not an arbitrary one. A bottom-up analysis has several advantages over a top-down analysis or other analyses that use an arbitrary order. For instance, it allows Kind 2 to easily reuse in parent nodes previously discovered invariants in subnodes, or avoid re-checking proved properties after the refinement of a subnode whose contract was proved valid.
If your main concern is that Kind 2 doesn't start the analysis of top-level nodes given some global timeout because it spends a lot of time in hard-to-verify leave nodes, and you don't want to use a timeout per analysis, then I recommend you to create a version of the model with an abstraction of the hard-to-verify nodes by removing their body, keeping only their contract, and marking them as imported. In this way, Kind 2 will not spend time analyzing these nodes, but it will use their contracts in the analysis of the top-level nodes, and you will enjoy the rest of the advantages of a bottom-up approach.
Daniel


Cannot see Windows Workload/Pod/Container metrics with cluster monitoring enabled

rancher/rancher:v2.3.0-alpha3
Steps:

Deploy windows cluster
Enable cluster monitoring
Deploy a Windows workload
Try to look at the metrics for the windows workload

Results:
Cannot see it.

Version: master-head (v2.3) (8/29/19)
I am able to see Workload/Pod/Container metrics (CPU and Memory) without any issues on windows workloads now. I am going to check project-level monitoring via https://github.com/rancher/rancher/issues/20076