Giant Suburbs Failing

The 6-hour runtime limit is being exceeded will need to investigate potential solutions.
https://github.com/LukePrior/nbn-upgrade-map/actions/runs/6013018009

Did something get stuck?  This suburb has been processed before, and was only running for 1hr (according to logs)
2023-08-29 13:37:27,871 INFO MainThread Checking for externally updated geojson results...
..
2023-08-29 14:16:28,117 INFO MainThread Writing results to results/NSW/lillian-rock.geojson
2023-08-29 14:16:28,667 INFO MainThread Updating progress.json
2023-08-29 14:16:28,669 INFO MainThread Processing Sydney, NSW
2023-08-29 14:16:28,670 INFO MainThread Time elapsed: 0:38:58/1:00:00
2023-08-29 14:16:28,670 INFO MainThread Fetching all addresses for Sydney, NSW
2023-08-29 14:16:28,988 INFO MainThread Fetched 41612 addresses from database
2023-08-29 14:16:29,159 INFO MainThread Loaded 41610 addresses from output file
2023-08-29 14:16:29,171 INFO MainThread Submitting 41612 requests to add NBNco data...
...
2023-08-29 14:32:14,111 INFO nbn_2 Completed 41272 requests
2023-08-29 14:32:16,116 INFO nbn_1 Completed 41352 requests
2023-08-29 14:32:29,325 WARNING nbn_3 Error fetching NBN data for UNIT 905, 160 KING STREET SYDNEY 2000: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
2023-08-29 14:32:31,786 INFO nbn_3 Completed 41532 requests
2023-08-29 14:36:43,423 WARNING nbn_0 Error fetching NBN data for UNIT 95, 3 MACQUARIE STREET SYDNEY 2000: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
2023-08-29 14:36:49,541 INFO nbn_0 Completed 41572 requests
Error: The operation was canceled.

And ran successfully the next time https://github.com/LukePrior/nbn-upgrade-map/actions/runs/6019795004/job/16330128286

Interesting, maybe it was something else then.

similar issue i think here: https://github.com/LukePrior/nbn-upgrade-map/actions/runs/6160968702

Yeah.  Looks like it was running fine, then "got stuck" and then timed out ~5.5 hours later.  Race condition somewhere causing a deadlock?

Happens every week or two.  Example https://github.com/LukePrior/nbn-upgrade-map/actions/runs/6594758905

Doesn't seem to be impacting anything


chore: fix the logo URL

Closes #
NA
📑 Description

the original PNG file was missing. Replace it with an existing new logo.
✅ Checks

[x] My pull request adheres to the code style of this project
[x] My code requires changes to the documentation
[x] I have updated the documentation as required
[x] All the tests have passed

Tested

ℹ Additional Information

Hey @panpan0000 thanks for the contribution, I don't see blank image in our folder though https://github.com/k8sgpt-ai/k8sgpt/tree/main/images ?

Hey @panpan0000 thanks for the contribution, I don't see blank image in our folder though https://github.com/k8sgpt-ai/k8sgpt/tree/main/images ?

Ooops, typo fixed.
original one

fixed one


Update Devfile API reference for 2.0

The published Devfile API reference (https://devfile.github.io/devfile/api-reference.html) needs to reflect 2.0 status of the specification.

@rkratky is it our of date?
The API Reference is generated automatically, see https://github.com/devfile/docs#contributing and https://github.com/devfile/docs/pull/11

@rkratky devfile json schema also is pushed to the docs repo automatically: https://github.com/devfile/api/pull/176

@boczkowska, great. I missed that. One thing we don't need to worry about.


Tab completion does not work for all commands with make open_cts

Description
Opening OpenROAD in console mode is very useful when working with large designs and logging into remote machines, however tab completion does not work as well:

Run make open_cts
type report_, hit tab, alternatives are shown
type report_clock, hit tab. The alternatives for report_clock are not shown.

Alternatives for report_clock in the GUI:

Suggested Solution
Make tab completion work as well in console mode as GUI mode.
Additional Context
No response

The GUI is custom qt code and not applicable to the console.  We rely on tclreadline there which apparently doesn't work well with imported namespaced:
openroad> sta::report_cl
sta::report_clk_infos          sta::report_clock_properties
sta::report_clk_skew           sta::report_clock_skew
sta::report_clock1             sta::report_clock_skew_metric
sta::report_clock_min_period

works fine but
openroad> report_cl

produces nothing despite having done namespace import sta::* at startup.  This seems to be more of a tclreadline issue than OR so I'm not clear on how to resolve it.

@maliberty I see....

Reopen if there this feature request can come with some sort of idea on what to do about it...


Linux build is missing symbols as it is impossible to link to the shared library

Hi.
I am in the need of a JS engine, and as ChakraCore looks simpler to embed than google's one (I need the debug features), I tried to build an application with it.
The build of the library itself did perform well. But when I try the Hello World Sample, I get:
../out/Release/libChakraCore.so : undefined reference to « Js::WasmLibrary::WasmDeferredParseEntryPoint(Js::RecyclableObject*, Js::CallInfo, ...) »
I succeeded to build a program in « static mode » or with the 1.4 branch.
Build informations:

ChakraCore Version: the master branch (bfc4da44e3f9560c72bf87aad9f63b8fcdd5cd16)
OS: Debian testing
kernel: 4.9.0-2-amd64  (SMP Debian 4.9.18-1)
arch: amd64
target: Release Shared
main libraries/tools:

component
version/info

libc6
2.24-9

libstdc++6
6.3.0-12

gcc-6
6.3.0-12

@lemmel That new sample should work with release/2.0

I am in the need of a JS engine, and as ChakraCore looks simpler to embed than .....

I'm a ChakraCore project member. However, I did spend couple of years with other Javascript engines and embedded them into a node.js size project prior to working in this project.
I have to say, regardless from my connection with the project, ChakraCore is indeed easiest to embed and use among the others.
Performance wise, ChakraCore performs well on Windows and we are close to catch that performance on other platforms.
We are close to our first cross platform release which is 2.0.0. So, if you are into using ChakraCore on other platforms, 2.0.0 should be the starting point.

Hi @obastemur and thanks for the answer.
I can't find out the new sample, could you be more precise ?
As to my project, it is indeed a multi-plateform software; it used QtScript from Qt, library that is now deprecated.
I'm wary and tired of the Qt's changes, and I prefer to invest some time on a external and lasting project.
So even though my program is a simple one, it may be a test for you as an multiplateform software. I hope I will be able to provide you useful informations.

I can't find out the new sample, could you be more precise ?

I mean, that sample is a new sample project that requires release/2.0 instead of 1.4 version of ChakraCore.

So even though my program is a simple one, it may be a test for you as an multiplateform software. I hope I will be able to provide you useful informations.

Let us know if you have any questions then. Closing this for now. Feel free to re-open if that sample project doesn't work with release/2.0 branch.
Thanks!

Sorry if I didn't me make clear enough: I did used the Sample with a fresh cloned repo, and I did get the error message I posted above.
It is then/after that I build a « Hello World » (as I didn't find an sample for the 1.4 branch).
So basicaly, I wasn't successfull with the current sample and the current master.

@lemmel The error you've been receiving was due to wrongly exported WASM declaration. I'm sending a PR very soon that fixes this issue and adds a test case so we don't end-up breaking again.
Thanks again!

Thanks: the « Hello World » is now running.
I will next week on ChakraCore.


Possible bug:  Nexus-prisma is causing multiple queries to be run for a single query

Background: We just implemented prisma-nexus into our project. We are using apollo-server and graphql-middleware. Upon introducing prisma-nexus, we saw a huge dip in performance during testing. This lead me to investigate.
Problem: I'm seeing some extremely inefficient behavior with queries generated by nexus-prisma.  Sometimes at a point where my prisma DB gets overloaded by queries and becomes unresponsive for a second or two.  There's a lot of cases I'm seeing where it seems nexus-prisma is taking one query and breaking them out into multiple queries (the highest I saw was 213 queries). I've just picked two to illustrate my point.
It seems the issue arises when the query is selecting relational properties and enum properties.  The first query I'm sending through illustrates the relational properties issue. The second illustrates enum properties. These show the query inefficiencies.
Note 1: I've turned on query logging on my prisma DB. This is how I was able to see this and grab the queries.
Note 2: Worried that my team and I had done something wrong with our implementation, I cloned the repo and ran the example (nexus-prisma/example) code against my prisma DB and saw the exact same behavior.
QUERY 1
query {
userProfiles(where:{id:"cjoal2g9501im08129j5xc6kv"}) {
id
favorites{title}
}
}
Note: favorites is the relation property (array of Favorite)
Results in 2 prisma queries being run:
This one gets ALL non-relational properties for the UserProfile ... even though we're just querying for id and favorites.
[{"query":"query ($where: UserProfileWhereInput) {
 userProfiles(where: $where) {
id
oktaId
firstName
lastName
userName
email
phone
status
countryCode
profilePicture
location
 pending
defaultLandingPage
dateFormat
timeFormat
lastActive
accountAdmin
programAdmin
employee
authId
createdAt
updatedAt
}
}
","variables":{"where":{"id":"cjoal2g9501im08129j5xc6kv"}}}]
This one just gets the Favorite (relational property) and all non-relational properties of the Favorite
[{"query":"query ($where: UserProfileWhereUniqueInput!) {
userProfile(where: $where) {
favorites {
id
title
url
subdomain
relativePath
 openNewTab
sortOrder
createdAt
updatedAt
}
}
}
","variables":{"where":{"id":"cjoal2g9501im08129j5xc6kv"}}}]
QUERY 2
query {
userProfiles(where:{}) {
status
}
}
Note:Status is UserProfileStatus, an enum.
There are 82 UserProfiles
Results in 83 (!) prisma queries (this only happens when including an enum value in the query):
The preliminary one; gets ALL non-relational properties for the UserProfile
[{"query":"query ($where: UserProfileWhereInput) {
userProfiles(where: $where) {
id
oktaId
firstName
lastName
userName
email
phone
status
countryCode
profilePicture
location
pending
defaultLandingPage
dateFormat
timeFormat
lastActive
accountAdmin
programAdmin
employee
authId
createdAt
updatedAt
 }
}
","variables":{"where":{}}}]
The next 82 are the same query...just querying on status for each UserProfile:
[{"query":"query ($where: UserProfileWhereUniqueInput!) {
userProfile(where: $where) {
status
}
}
","variables":{"where":{"id":"cjoal2g9501im08129j5xc6kv"}}}
,{"query":"query ($where: UserProfileWhereUniqueInput!) {
userProfile(where: $where) {
status
}
}
","variables":{"where":{"id":"cjoeybj5702r30812g6fmz24d"}}}
...
80 more queries - all with different ids
...
]
Here's our relevant types for the datamodel.prisma file:
type UserProfile {
id: ID! @unique
oktaId: ID
firstName: String!
lastName: String!
userName: String
email: String! @unique
phone: String
-->	status: UserProfileStatus!
userGroup: UserGroup
-->	favorites: [Favorite!]!
notifications: [Notification!]!
countryCode: String
profilePicture: String
location: String
pending: Boolean
defaultLandingPage: LandingPage
dateFormat: String
timeFormat: String
lastActive: String
accountAdmin: Boolean! @default(value: "false")
programAdmin: Boolean! @default(value: "false")
employee: Boolean! @default(value: "false")
userPrograms: [UserProgram!]! @relation(name: "UserAndUserProgram" onDelete: CASCADE)
authId: String! @unique
accountUsers: [AccountUser!]! @relation(name: "UserAndAccountUser" onDelete: CASCADE)
createdAt: DateTime!
updatedAt: DateTime!
}
type Favorite {
id: ID! @unique
title: String!
url: String
subdomain: String
relativePath: String
openNewTab: Boolean!
sortOrder: Int!
users: [UserProfile!]!
createdAt: DateTime!
updatedAt: DateTime!
}`
enum UserProfileStatus {
DISABLED
LOCKED
ACTIVE
}

Maybe related to this issue?
https://github.com/prisma/prisma/issues/3599

Maybe related to this issue?
prisma/prisma#3599

I don't think it's related to this. In my project when I use a GraphQLSchema without nexus, I don't see this problem. The query is sent to the prisma server exactly as I sent it - not broken up into multiple queries.

Hey there 👋,
I believe this was a duplicate/related to #229. I just fixed that issue. Enums should no longer be fetched twice, only relations will.
It'll be released in the next version of nexus-prisma. I'll let that issue open till then 🙂

@Weakky Ok, great. It looks like 0.3.7 is out, so we'll have to re-evaluate performance here. Thanks.

Ok. We've evaluated and the enum issue is resolved. Thanks for that.
However, we're still seeing inefficient queries with relational properties.
Here's a somewhat straightforward explanation of what I'm still seeing: I'm seeing nexus breaking up one query into multiple queries. In almost all cases this is causing multiple queries being run. These queries grab more properties than needed and repeat for the number of records they are querying against. Here's a simplified example:
Here's the schema:
type User {
id: ID
email: String
name: String
posts: [Post]
}
type Post {
id: ID!
createdAt: DateTime
updatedAt: DateTime
published: Boolean
title: String
type:PostType
content: String
author: User
}
enum PostType{
AUTO
MANUAL
}
Let's say I have 2 Users and 3 posts in the DB.
When running this query:
{
posts(where:{}){id author{id}}
}
It results in 3 queries sent to prisma. One query for each post. And the queries are for all the properties on both types.
Example of nexus-generated query:
{"query":"query ($where: PostWhereUniqueInput!) {
post(where: $where) {
author {
id
email
name
}
}
}
","variables":{"where":{"id":"cjujykxsx00270708hyu8rt4d"}}},{"query":"query ($where: PostWhereUniqueInput!) {
post(where: $where) {
author {
id
email
name
}
}
}
","variables":{"where":{"id":"cjujyv7tb00370708vdqvwa49"}}},{"query":"query ($where: PostWhereUniqueInput!) {
post(where: $where) {
author {
id
email
name
}
}
}
","variables":{"where":{"id":"cjuk7told007l07441076g6rs"}}},{"query":"query ($where: PostWhereUniqueInput!) {
post(where: $where) {
author {
id
email
name
}
}
}
","variables":{"where":{"id":"cjuk7w4s300a30744rwmj4nwt"}}}
I'm not sure why it's querying for each Post, but it seems like a bug.

Any updates to this? Just watched @tgriesser at GraphQL conf in San Francisco and anxious to use nexus, but we are still seeing this problem.

We are are getting this issue as well. It causes a n+1 problem for all relationships that are fetched. We hit the 1000 item batch size limit causing a prisma server exception because of this.
A workaround that works for us is to use .$graphql and write the query that the client uses on the server, but it’s not A good solution and only works when you have full control over the clients..

We're having an N+1 issue with nexus-prisma on nested queries.  It seems like nexus-prisma is resolving fields using findOne here (snippet from nexus-prisma builder.ts):
const fieldConfig = this.buildFieldConfig({
          field,
          publisherConfig,
          typeName,
          resolve:
            field.outputType.kind === 'object'
              ? (root, args, ctx) => {
                  const photon = this.getPhoton(ctx)
                  return photon[lowerFirst(mapping.model)]
                    ['findOne']({
                      where: { [idField.name]: root[idField.name] },
                    })
                    [field.name](args)
                }
              : undefined,
        })

Which is causing hundreds of queries for a moderately-sized three-level nesting query.  The generated queries when running this query directly from prisma look fine, so we're pretty certain that this field resolver is causing the problem.
We do rely on nexus for generating types, so in lieu of moving away from it, we're looking to see if there's a possible workaround that would let us run the query directly.  If anyone knows how we can do this, an example would be incredibly appreciated!
We're using prisma2 alpha.799 (preview22)

FYI this is actually a prisma issue. I talked to a prisma developer and he told me they have plans to tackle this issue in prisma 2..

We're using prisma2 so there's no longer a prisma server for us.  I'm in contact with the prisma team for a possible workaround, but keeping track of the issue in this ticket, since it's an issue coming out of nexus.  I may end up breaking it out to a new prisma2 issue if that makes more sense for them.

My understanding is that there still is a prisma server. Its just that its a rust binary instead of a docker image.
Have you tried prisma2 without nexus and can verify that you don't get n+1 issues when querying relationships? If so I start migrating our project ASAP 👍

My understanding is that the findOne you will not be an issue once Prisma Client begins to implement some dataloader patterns. Namely that all fetchOne calls in the same tick get batched into one query. That alone will probably cover 80% of users/cases (but there's yet more to do, like caching to dedupe fetches of the same record if it shows up multiple times in the graph data of the query).

Prisma Client has optimized findOne queries since 2.0.0-preview023, see the headline Optimize nested GraphQL queries that use Prisma Client ("dataloader") on https://github.com/prisma/prisma2/releases/tag/2.0.0-preview023
If you upgrade to that version @Linktheoriginal you should see a definitive improvement.

Woho optimized nested queries is huge! It will help our app a lot! will try upgrading to prisma2..
@jasonkuhrt this was my understanding as well.. deducing same records in the graph would be awesome, but think you're right that DataLoader solves 80% of use cases!

@LarsJK to be clear a dedupe cache is something Prisma Client could do one day too. It's just unclear as a priority. It falls under the responsibilities of what dataloader does :) I'm not on the core team this is just me speaking from discussions I've head with @timsuchanek. I think for queries with highly cyclical relations that also show up in client queries then deduping could be a major benefit. Will be interesting to see how much the community asks for it.

Going to close this issue as it appears there is nothing for nexus-prisma to do.

Hey everyone 👋, the latest Prisma Client shipped query batching to prevent that exact bug. Please update<EMAIL_ADDRESS>to add support for the latest preview23. Find more information on the release notes here: https://github.com/prisma-labs/nexus-prisma/releases/tag/0.11.0


gsl library build failure

Host Environment

OS: Windows 10
Compiler: Visual Studio 2019

To Reproduce
Steps to reproduce the behavior:

git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
.\bootstrap-vcpkg.bat
.\vcpkg integrate install
.\vcpkg install gsl gsl:x64-windows

Failure logs
-Cut and past the appropriate build messages from the console output.
Computing installation plan...
A suitable version of cmake was not found (required v3.21.1). Downloading portable cmake v3.21.1...
Downloading cmake...
https://github.com/Kitware/CMake/releases/download/v3.21.1/cmake-3.21.1-windows-i386.zip -> C:\Users\Charlie\OneDrive\QIjob\QIQA\Lambda Calculus & semantics\Haskell\HaskellWikibook\vcpkg\downloads\cmake-3.21.1-windows-i386.zip
Extracting cmake...
A suitable version of 7zip was not found (required v19.0.0). Downloading portable 7zip v19.0.0...
Downloading 7zip...
https://www.7-zip.org/a/7z1900-x64.msi -> C:\Users\Charlie\OneDrive\QIjob\QIQA\Lambda Calculus & semantics\Haskell\HaskellWikibook\vcpkg\downloads\7z1900-x64.msi
Extracting 7zip...
The following packages will be built and installed:
gsl[core]:x64-windows -> 2.6#1
gsl[core]:x86-windows -> 2.6#1
Warning: The following VS instances are excluded because the English language pack is unavailable.
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
Please install the English language pack.
Detecting compiler hash for triplet x64-windows...
A suitable version of git was not found (required v2.32.0). Downloading portable git v2.32.0...
Downloading git...
https://github.com/git-for-windows/git/releases/download/v2.32.0.windows.2/PortableGit-<IP_ADDRESS>-32-bit.7z.exe -> C:\Users\Charlie\OneDrive\QIjob\QIQA\Lambda Calculus & semantics\Haskell\HaskellWikibook\vcpkg\downloads\PortableGit-<IP_ADDRESS>-32-bit.7z.exe
Extracting git...
A suitable version of powershell-core was not found (required v7.1.3). Downloading portable powershell-core v7.1.3...
Downloading powershell-core...
https://github.com/PowerShell/PowerShell/releases/download/v7.1.3/PowerShell-7.1.3-win-x86.zip -> C:\Users\Charlie\OneDrive\QIjob\QIQA\Lambda Calculus & semantics\Haskell\HaskellWikibook\vcpkg\downloads\PowerShell-7.1.3-win-x86.zip
Extracting powershell-core...
Detecting compiler hash for triplet x86-windows...
Could not locate cached archive: C:\Users\Charlie\AppData\Local\vcpkg\archives\7c\7cd588fa8d5ed04b734747033dbe52f14f034c595a823d5110060af37ec35f84.zip
Could not locate cached archive: C:\Users\Charlie\AppData\Local\vcpkg\archives\b9\b967dd41ca29fc9c849dea991970952920e1923290c171079a24a2d9bc425e92.zip
Starting package 1/2: gsl:x64-windows
Building package gsl[core]:x64-windows...
-- Downloading https://ftp.gnu.org/gnu/gsl/gsl-2.6.tar.gz;https://www.mirrorservice.org/sites/ftp.gnu.org/gnu/gsl/gsl-2.6.tar.gz -> gsl-2.6.tar.gz...
-- Extracting source C:/Users/Charlie/OneDrive/QIjob/QIQA/Lambda Calculus & semantics/Haskell/HaskellWikibook/vcpkg/downloads/gsl-2.6.tar.gz
-- Applying patch 0001-configure.patch
-- Applying patch 0002-add-fp-control.patch
-- Using source at C:/Users/Charlie/OneDrive/QIjob/QIQA/Lambda Calculus & semantics/Haskell/HaskellWikibook/vcpkg/buildtrees/gsl/src/gsl-2-fb511965d5.clean
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: ninja -v
Working Directory: C:/Users/Charlie/OneDrive/QIjob/QIQA/Lambda Calculus & semantics/Haskell/HaskellWikibook/vcpkg/buildtrees/gsl/x64-windows-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
C:\Users\Charlie\OneDrive\QIjob\QIQA\Lambda Calculus & semantics\Haskell\HaskellWikibook\vcpkg\buildtrees\gsl\config-x64-windows-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_configure_cmake.cmake:356 (vcpkg_execute_required_process)
scripts/ports.cmake:141 (include)
Error: Building package gsl:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: gsl:x64-windows
Vcpkg version: 2021-08-12-85ab112d5ee102bc6eac8cdbbfdd173a71374e04
Additionally, attach any relevant sections from the log files above.
-Please attach any additional failure logs mentioned in the console output. (see below)
config-x64-windows-out.log
Additional context
Add any other context about the problem here, such as what you have already tried to resolve the issue.
PS C:\Users\Charlie\OneDrive\QIjob\QIQA\Lambda Calculus & semantics\Haskell\HaskellWikibook\vcpkg> .\vcpkg update
Using local portfile versions. To update the local portfiles, use git pull.
No packages need updating.
PS C:\Users\Charlie\OneDrive\QIjob\QIQA\Lambda Calculus & semantics\Haskell\HaskellWikibook\vcpkg> git pull
Already up to date.

C:\Users\Charlie\OneDrive\QIjob\QIQA\Lambda Calculus & semantics\Haskell\HaskellWikibook\vcpkg\...

Please use a path without space, and also without &, for vcpkg. Some tools can't handle it correctly.

Thanks.  I used a pathname without space and & sign, but it still didn't work.  Then I noticed a yellow-colored warning in the build message from console output: I did not have English community package of Visual Studio 2019.  So, I fixed this from Visual Studio Installer and it worked.


Remove duplicate and make str enums in config

Hey,
This small PR is to adjust enums to explicitly say they are string based and removed duplicate when initializing at the bottom.

How can you not be romantic about open source? (Moneyball reference)
This is truly special. We open sourced Polar and only a few hours later you committed the first ever contributor PR. It's been a special day, but this takes the prize! @sultaniman please drop me a note at<EMAIL_ADDRESS>– I'd love to ship you something nice to remember and celebrate the moment :)
In terms of the PR: Looks great – merging now. Fun fact with the duplicate line: Don't run two linters at once in VSCode. Fully switched to the amazing Ruff now, but there was a day when competing linters caused duplicate lines on each save 😅 Thanks for cleaning that one up.

Woohoo, what a great honor! I love the tech stack used and this comes very close to what I am used to develop with FastAPI especially in my own recent OSS project https://github.com/lbrty/observer


Overhaul docker documentation and fix minor bugs

Summary

Adds instructions on running the official images to the main README, to the docker/README.md, and to the mkdocs documentation
changes the name of docker-compose profile to invokeai-cuda, as suggested in https://github.com/invoke-ai/InvokeAI/pull/6043
ensures that the chown command in docker entrypoint script does not break on read-only filesystems

Related Issues / Discussions
Closes #6264
QA Instructions
I tested following these docs on a Linux system, but some testing on Windows with WSL would be helpful.

Try the docker run commands from the README, including working directory persistence. Try mounting an existing InvokeAI root dir into the container, as described in the README.
Test the run.sh script and docker compose commands

Merge Plan
Merge when approved
Checklist

[x] The PR has a short but descriptive title, suitable for a changelog
[x] Documentation added / updated (if applicable)

Thanks! yeah, we occasionally see questions on where to find the official images, so I think it's helpful to have a one-liner in the main README that "just works" to get started. Agreed that the more extensive docs should stay in the other locations - i tried to keep it that way.


sparse upstream-dev test failures

Full log here: https://dev.azure.com/xarray/xarray/_build/results?buildId=3023&view=logs&jobId=2280efed-fda1-53bd-9213-1fa8ec9b4fa8&j=2280efed-fda1-53bd-9213-1fa8ec9b4fa8&t=175181ee-1928-5a6b-f537-168f7a8b7c2d
Here are three of the errors:
 /usr/share/miniconda/envs/xarray-tests/lib/python3.8/site-packages/sparse/_coo/umath.py:739: SystemError
_ test_variable_method[obj.where(*(), **{'cond': <xarray.Variable (x: 10, y: 5)>\n<COO: shape=(10, 5), dtype=bool, nnz=3, fill_value=False>})-True] _
TypeError: expected dtype object, got 'numpy.dtype[uint64]'

    def _match_coo(*args, **kwargs):
        """
        Matches the coordinates for any number of input :obj:`COO` arrays.
        Equivalent to "sparse" broadcasting for all arrays.

        Parameters
        ----------
        args : Tuple[COO]
            The input :obj:`COO` arrays.
        return_midx : bool
            Whether to return matched indices or matched arrays. Matching
            only supported for two arrays. ``False`` by default.
        cache : dict
            Cache of things already matched. No cache by default.

        Returns
        -------
        matched_idx : List[ndarray]
            The indices of matched elements in the original arrays. Only returned if
            ``return_midx`` is ``True``.
        matched_arrays : List[COO]
            The expanded, matched :obj:`COO` objects. Only returned if
            ``return_midx`` is ``False``.
        """
        from .core import COO
        from .common import linear_loc

        cache = kwargs.pop("cache", None)
        return_midx = kwargs.pop("return_midx", False)
        broadcast_shape = kwargs.pop("broadcast_shape", None)

        if kwargs:
            linear = [idx[s] for idx, s in zip(linear, sorted_idx)]
>           matched_idx = _match_arrays(*linear)
E           SystemError: CPUDispatcher(<function _match_arrays at 0x7f66b6272af0>) returned a result with an error set

_______________________________ test_dask_token ________________________________

    @requires_dask
    def test_dask_token():
        import dask

        s = sparse.COO.from_numpy(np.array([0, 0, 1, 2]))

        # https://github.com/pydata/sparse/issues/300
        s.__dask_tokenize__ = lambda: dask.base.normalize_token(s.__dict__)

        a = DataArray(s)
        t1 = dask.base.tokenize(a)
        t2 = dask.base.tokenize(a)
        t3 = dask.base.tokenize(a + 1)
        assert t1 == t2
        assert t3 != t2
        assert isinstance(a.data, sparse.COO)

        ac = a.chunk(2)
        t4 = dask.base.tokenize(ac)
        t5 = dask.base.tokenize(ac + 1)
        assert t4 != t5
>       assert isinstance(ac.data._meta, sparse.COO)
E       AssertionError: assert False
E        +  where False = isinstance(array([], dtype=int64), <class 'sparse._coo.core.COO'>)
E        +    where array([], dtype=int64) = dask.array<xarray-<this-array>, shape=(4,), dtype=int64, chunksize=(2,), chunktype=numpy.ndarray>._meta
E        +      where dask.array<xarray-<this-array>, shape=(4,), dtype=int64, chunksize=(2,), chunktype=numpy.ndarray> = <xarray.DataArray (dim_0: 4)>\ndask.array<xarray-<this-array>, shape=(4,), dtype=int64, chunksize=(2,), chunktype=numpy.ndarray>\nDimensions without coordinates: dim_0.data
E        +    and   <class 'sparse._coo.core.COO'> = sparse.COO

It looks like all the sparse tests were passing on June 1, but are now failing.
Nothing remotely suspicious has been merged into pydata/sparse in the past 10 days, and I cannot reproduce these issues on my local machine.
But I did notice that the installed version of NumPy switched from 1.19.0rc2 to 1.20.0.dev. It seems quite plausible that this has resulted in some sort of binary incompatibility for NumPy and Numba.
For now, I'm simply going to remove sparse from our upstream dev tests. This isn't a subtle compatibility issue, so I'm going to let the Numba or sparse devs figure this out.

we don't even install a development version of sparse (maybe we should?)

That's a good point, we should consider that! But we would really need a version of Numba built in a compatible way to the NumPy dev version we're using in order to make that feasible. For now I'm happy dropping sparse.

a small update on sparse: right now, enabling the install of sparse from github makes the upstream-dev CI fail on:
xarray/tests/test_sparse.py::test_variable_method[obj.where(*(), **{'cond': <xarray.Variable (x: 10, y: 5)>\n<COO: shape=(10, 5), dtype=bool, nnz=3, fill_value=False>})-True]

with a NEP18 error (numpy.allclose is not implemented for [<class 'numpy.ndarray'>, <class 'sparse._coo.core.COO'>])


Expand Functionality in htmlua

Main Changes:

Extended HTML Elements: Additional HTML elements have been integrated into the project.
JavaScript Integration: The project now supports JavaScript functionality, enabling dynamic interactions within the rendered HTML.
Error Handling: The run.sh script has been enhanced with error handling to check for the existence of the redbean.com file, improving reliability. Instructions for renaming versioned files and guidance on setting file permissions have also been included.
New Example: A new example has been added to demonstrate the combined use of HTML and JavaScript.
Updated README: The README has been revised to include instructions for setting the appropriate permissions for run.sh, along with a link for downloading redbean.com.

Closing.

Additional HTML elements have been integrated into the project.

You deleted br. This is a welcome change, but I don't see much point in doing it. Users are expected to add components as they need it - there are a lot of them in the DOM - and I only really added the ones I needed for the example page.

JavaScript Integration: The project now supports JavaScript functionality, enabling dynamic interactions within the rendered HTML.

"The project" doesn't support JS. The sample page (which is expected to be deleted and remade by the user) now has JS inside of it. I'm not trying to show off how to build a website, I'm trying to show off how to use the API. This is unneeded.
Also, the sample page has been extremely over-commented. htmlua is designed to be as similar to the DOM as possible - as said, I only need to explain the htmlua API and structure, not what every single line does. I carefully wrote it to explain concepts top to bottom, and only explain what needs to be explained.

Error Handling: The run.sh script has been enhanced with error handling to check for the existence of the redbean.com file, improving reliability. Instructions for renaming versioned files and guidance on setting file permissions have also been included.

This is also a welcome change, but I was thinking about deleting this script anyways. redbean can load from the local filesystem (./redbean.com -D src).

New Example: A new example has been added to demonstrate the combined use of HTML and JavaScript.

This is the same as 2.

Updated README: The README has been revised to include instructions for setting the appropriate permissions for run.sh, along with a link for downloading redbean.com.

You removed every inline code and code block, which broke it. Also, it says "Download the redbean website", which doesn't make sense.

Overall, the PR description also reads like ChatGPT wrote it, especially with its stylization of a list with bold headings and a colon. I'm also not entirely sure what this aims to achieve, as this project is mostly a joke.


Update percona signing key

In October 2016 Percona upgraded their keys to use SHA-512, https://www.percona.com/blog/2016/10/13/new-signing-key-for-percona-debian-and-ubuntu-packages/

LGTM Thanks! Looks like we missed the Orchestrator image when we updated the other Percona images.


Spectrum crashing VCV especially when VCV is VST

If I open a VCV project in with Rainbow and Spectrum it crashes VCV about 50% of the time. When using VCV as a VST it crashes all the time (Ableton 11). If I remove Spectrum and its just Rainbow it doesn't crash.
I'm on a mac with Monterey os
Thanks!

Can you post the contents of your log file after it crashes. Thanks.

Looks to be fixed in release v2.3.4, will add this to the library.


Failed to load libssl

Hi!, I'm trying to use your Beef-Net library and play/experiment with it, but I'm facing the following issue: Failed to load shared library: libssl-1_1.dll.
I did followed your install instructions and installed in the BeefLibs both Beef-Net and Beef-OpenSSL. Both projects are part of the workspace and added as dependencies for my project.
The libssl-1_1.dll is present in the built directory of the project.
Here's the compile output:
Compiling...

After a bunch of trail&error the issue is amazingly childish. :)
The error is that the DLLs are missing "-x64" in the name...
Fix incoming. :)

Fixed in commit
8712ade


Better itemslots

Please describe your suggestion
A better form of handling item slots, instead of using integers.
The ItemSlotArgument currently returns an integer, which indicates the slot number. This slot number is a little bit unintuitive however, since slots (across Bukkit and the MinecraftWiki) are inconsistent between Bukkit and NMS.

To illustrate this point, take the documentation for the setItem method from the Bukkit PlayerInventory interface:

Stores the ItemStack at the given index of the inventory.
Indexes 0 through 8 refer to the hotbar. 9 through 35 refer to the main inventory, counting up from 9 at the top left corner of the inventory, moving to the right, and moving to the row below it back on the left side when it reaches the end of the row. It follows the same path in the inventory like you would read a book.
Indexes 36 through 39 refer to the armor slots. Though you can set armor with this method using these indexes, you are encouraged to use the provided methods for those slots.
Index 40 refers to the off hand (shield) item slot. Though you can set off hand with this method using this index, you are encouraged to use the provided method for this slot.
If you attempt to use this method with an index less than 0 or greater than 40, an ArrayIndexOutOfBounds exception will be thrown.

In Bukkit's standard, indexes 36-39 are the armor slots, and index 40 is the offhand item. However, the ItemSlotArgument produces numbers according to the NMS standard, which is described in this file and partially using this image:

In the NMS standard, you would intuitively select armor.chest to indicate a player's chestplate slot, however this returns the index 102, which is not defined for Bukkit.

I'm really just looking for suggestions of how to overcome this issue, since the easiest method so far is to simply remove this argument and not include it in the CommandAPI.
@Minenash
@i509VCB

Okay, so I think the best way we can do this is create a wrapper which stores the raw nms value, and a ContainerType, and an index for types like container and enderchest. If I remember correctly bukkit inventory stuff works on ids of 0-N on per container. This is the code I've written for the wrapper.
Note: Container.0-8 and Hotbar.0-8 return the same nms value, and so does Container.9-35 and Inventory.0-27.

public class ItemSlot {

	enum ContainerType {
		ARMOR_FEET, ARMOR_LEGS, ARMOR_CHEST, ARMOR_HEAD,
		HORSE_SADDLE, HORSE_ARMOR, HORSE_CHEST,
		WEAPON_MAINHAND,WEAPON_OFFHAND,
		CONTAINER, //Includes Hotbar & Inventory
		ENDERCHEST,
		HORSE,
		VILLAGER
	}

	private final int rawNMSID, index;
	private final ContainerType containerType;

	public ItemSlot(int id) {
		rawNMSID = id;

		if (id >= 0 && id <= 53) {
			containerType = ContainerType.CONTAINER;
			index = id;
		}
		else if (id >= 200 && id <= 266) {
			containerType = ContainerType.ENDERCHEST;
			index = id - 200;
		}
		else if (id >= 300 && id <= 307) {
			containerType = ContainerType.VILLAGER;
			index = id - 300;
		}
		else if (id >= 500 && id <= 514) {
			containerType = ContainerType.HORSE;
			index = id - 500;
		}
		else {
			index = 0;
			switch (id) {
				case 98:  containerType = ContainerType.WEAPON_MAINHAND; break;
				case 99:  containerType = ContainerType.WEAPON_OFFHAND;  break;
				case 100: containerType = ContainerType.ARMOR_FEET;      break;
				case 101: containerType = ContainerType.ARMOR_LEGS;      break;
				case 102: containerType = ContainerType.ARMOR_CHEST;     break;
				case 103: containerType = ContainerType.ARMOR_HEAD;      break;
				case 400: containerType = ContainerType.HORSE_SADDLE;    break;
				case 401: containerType = ContainerType.HORSE_ARMOR;     break;
				case 399: containerType = ContainerType.HORSE_CHEST;     break;
				default:  containerType = null;
			}
		}
	}

	public ContainerType getContainerType() {
		return containerType;
	}

	public int getRawNMSID() {
		return rawNMSID;
	}

	public int getIndex() {
		return index;
	}

}

The enum should be in it's own file, so devs don't have to do ItemSlot.ContainerType.ARMOR_CHEST

Yes, using an enum would appear to resolve the issue. I don't think exposing the raw NMS id is a good choice, but using an enum will definitely be the best way as far as I can tell.

I'm going to reply to the comments/notes in the commits, as it spans too, so this might be easier.:
/* Note: Container value 40 still implies offhand btw.
 * Therefore, if index > 35 && CONTAINER, check if
 * inventory is a doublechest!
 */

I'm unsure, where 40 = offhand comes from. I just tested, and anything over container.35, just failed on the player.
//TODO: Test this. If we open an enderchest and dump something
//in slot #0, are we SURE it doesn't just dump it in the left
//most bottom corner (first hotbar item)?

Can you reword/elaborate on this, I'm not really sure what your asking.
//Also, what even is this?
```(refering to the slot `horse.chest`)
From my testing, the only item it can be set to is a Chest. And when it is set to such, the mules who got the slot set, now has the chest. I'm assuming it supports NBT, allowing it to set the internals of a horse. This is also strengthened by not having a horse slot type, and container/inventory/hotbar does not work on mules.

Index 40 refers to the off hand (shield) item slot. Though you can set off hand with this method using this index, you are encouraged to use the provided method for this slot.

Say you open a player's inventory and use ContainerType.CONTAINER and the value is 40 then you're setting the offhand instead of a "40th slot". You just need to ensure that developers have the right inventory

If we do the method of applying it to a inventory type, then that would have to be as a method, not on argument built.
Though, while container does overlap with inv, and map to the same thing in game, I feel like giving the dev what we have now is fine. They know if it's a chest or player, and can set accordingly. But also that 40 is only from Bukkit, Players wouldn't use container 40 to set it, they would use weapon.offhand. basically I think this is something better left to the devs

They know if it's a chest or player, and can set accordingly.

Not true. Providing the plain ItemSlotArgument doesn't let them only choose a specific thing. The point of the ItemSlotArgument is to provide a command sender with the selection of any item slot - for example, the developer could intend it to be solely an inventory container, but it doesn't stop a user from entering armor.chest. If you say, make a command designed to only accept a single slot in a chest, there are better alternatives (e.g. IntegerArgument(0, 35)), which won't lead to say this:
(sender, args) -> {
    ItemSlot is = args[0];
    if(!is.CONTAINER || is.getIndex() > 35) { sender.sendMessage ("invalid input") }
}

One of the main philosophies of the CommandAPI is to basically eliminate all needs for extra checks. For example, instead of say:
onCommand(CommandSender sender, ... , String[] args) {
    if(args[0] instanceof Integer) {
        int i = (int) args[0];
              if(i >= 0 && i <= 35) {
                        //code
            }
    }
    //return error here
}

You can just do:
(sender, args) -> {
     int i = (int) args[0]; // Already guaranteed to be an integer and between 0 and 35
}

I still think it's not an endeavour that fits what I believe is a suitable argument for the CommandAPI.

(I mean if you truly still don't want to keep it, then by all means remove it, but)
Assuming they set up the command correctly, they do know what inventory it's based off of another argument.

After a lot of careful consideration, I will not be implementing the ItemSlot argument in CommandAPI's 3.0 release.


Server browser

Along with being able to manually join servers via an IP, port, and password, there should also be a server browser where players can find servers to play on. In the host settings, there should be an option to list your server in the browser, so people can opt out if they'd like.
We'll create a basic REST API for the backend to ensure compatibility between Steam and Oculus users. This will be written in 🦀RUUUUUUUUUUUUUUUST🦀using Actix. Servers will be stored only in memory, so there's no need for a database or any persistent data storage. When a server comes online, it'll send a POST request to the API containing its IP, port, whether it's password protected, and the current/max player count. Every minute the server will send the same POST request to the API to update the data and signify that it's still online. If a request isn't received from a server for over two minutes, it will be removed from the list. When a server shuts down or the owner removes it from the server browser, it'll send another request to the API to remove it from the list immediately.
There will be an advanced config option to specify the URL the server browser API is reachable at, so anyone can host their own instance if need be.

#46 resolves this issue


cannot use allowclear

cannot use allowClear, but when i delete theme: 'bootstrap4' the allowClear is working

I solved this locking select2 to 4.0.13 instead of the 4.1 version

To clarify here, the x is hidden under the drop-down arrow with select2 4.1+ see below.
Select2 4.1.0-rc.0

Select2 4.0.13


Setting streaming to True doesn't seems to make any difference

Hi,
If I try to run following code:
import boto3
from langchain_aws import ChatBedrock
from typing import Any
from langchain.callbacks.base import BaseCallbackHandler

class CallbackHandler(BaseCallbackHandler):
    def on_llm_new_token(self, token: str, **kwargs: Any) -> Any:
        print(token, end="|")

session = boto3.Session(profile_name='sandbox')
bedrock_client = session.client(service_name='bedrock-runtime', region_name='us-east-1')
model_id = "anthropic.claude-3-5-sonnet-20240620-v1:0"
model = ChatBedrock(model_id=model_id, client=bedrock_client, streaming=True)
model.invoke("Hello, how are you?", config={"callbacks": [CallbackHandler()]})

# output:
# AIMessage(content="Hello! As an AI language model, I don't have feelings, but I'm functioning well and ready to assist you. How can I help you today?", additional_kwargs={'usage': {'prompt_tokens': 13, 'completion_tokens': 35, 'total_tokens': 48}, 'stop_reason': 'end_turn', 'model_id': 'anthropic.claude-3-5-sonnet-20240620-v1:0'}, response_metadata={'usage': {'prompt_tokens': 13, 'completion_tokens': 35, 'total_tokens': 48}, 'stop_reason': 'end_turn', 'model_id': 'anthropic.claude-3-5-sonnet-20240620-v1:0'}, id='run-0e73f036-39a4-402f-8e1a-438d1b9bd03b-0', usage_metadata={'input_tokens': 13, 'output_tokens': 35, 'total_tokens': 48})

The on_llm_new_token won't be called, even though I set streaming to True.
But when i run this:
import boto3
from langchain_aws import ChatBedrock
from typing import Any
from langchain.callbacks.base import BaseCallbackHandler

class CallbackHandler(BaseCallbackHandler):
    def on_llm_new_token(self, token: str, **kwargs: Any) -> Any:
        print(token, end="|")

session = boto3.Session(profile_name='sandbox')
bedrock_client = session.client(service_name='bedrock-runtime', region_name='us-east-1')
model_id = "anthropic.claude-3-5-sonnet-20240620-v1:0"
model = ChatBedrock(model_id=model_id, client=bedrock_client, streaming=True)
for event in model.stream("Hello, how are you?", config={"callbacks": [CallbackHandler()]}):
    pass

# output:
# |Hello|! As| an AI| language| model, I don|'t have| feelings|,| but I'm| functioning| well| an|d ready| to assist| you.| How can| I help| you today?|||

It works.
My question is why is that the case? I'm using langchain 3.0.0, before that, calling invoke with streamingequal to True worked. Now it looks like I need to call stream even if I set streaming parameter.
It's confusing. Can anyone explain why is that the case?

I can look into it.

Here seems the problem https://github.com/langchain-ai/langchain-aws/commit/0fe4dd98b1285f639b318a866062e33a74451694#diff-7b555324692cbefa47fc582ade684c4faa5d083023137e2839f37aff0401aa4eL832

Same issue mentioned here too: https://github.com/langchain-ai/langchain-aws/issues/134#issuecomment-2272180510

@wuodar
For streaming, you don't need to use any callbacks any more. You can directly access the chunks with stream method. Here is a slight modification to your code that should work.
model = ChatBedrock(model_id=model_id, client=bedrock_client)
for chunk in model.stream("Hello, how are you?"):
    print(chunk.content, end="", flush=True)

For more info on streaming support in LangChain, see here.
https://python.langchain.com/v0.2/docs/how_to/streaming/

@wuodar
For streaming, you don't need to use any callbacks any more. You can directly access the chunks with stream method. Here is a slight modification to your code that should work.

model = ChatBedrock(model_id=model_id, client=bedrock_client)

for chunk in model.stream("Hello, how are you?"):

    print(chunk.content, end="", flush=True)

For more info on streaming support in LangChain, see here.
https://python.langchain.com/v0.2/docs/how_to/streaming/

Actually, I treat callback handler as a central place to forward messages to end user (e.g. WebSocket connection) so I'd like to stick to it

Here seems the problem 0fe4dd9#diff-7b555324692cbefa47fc582ade684c4faa5d083023137e2839f37aff0401aa4eL832
It was probably done on purpose. I fixed it anyway in my case by extending langchain_core.tracers.event_stream._AstreamEventsCallbackHandler in my CallbackHandler

could you share your fix?

from langchain_core.tracers.event_stream._AstreamEventsCallbackHandler

class CallbackHandler(_AstreamEventsCallbackHandler):
    def on_llm_new_token(self, token: str, **kwargs: Any) -> Any:
        print(token, end="|")


json.decoder.JSONDecodeError: Expecting value: line 1 column 2 (char 1)

*** Error Output Below ***
File "/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 353, in raw_decode
  obj, end = self.scan_once(s, idx)

builtins.StopIteration: 1

During handling of the above exception, another exception occurred:

￼ File "/dowload_questrade_data/questrade/questrade_play.py", line 4, in <module>
  q = Questrade(refresh_token='<my token code>')
File "/usr/local/lib/python3.7/site-packages/questrade_api/questrade.py", line 22, in __init__
  self.auth = Auth(**auth_kwargs, config=self.config)
File "/usr/local/lib/python3.7/site-packages/questrade_api/auth.py", line 20, in __init__
  self.__refresh_token(kwargs['refresh_token'])
File "/usr/local/lib/python3.7/site-packages/questrade_api/auth.py", line 39, in __refresh_token
  token = json.loads(r.read().decode('utf-8'))
File "/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 348, in loads
  return _default_decoder.decode(s)
File "/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 337, in decode
  obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 355, in raw_decode
  raise JSONDecodeError("Expecting value", s, err.value) from None

json.decoder.JSONDecodeError: Expecting value: line 1 column 2 (char 1)

*** From 'decoder.py' ***
  def raw_decode(self, s, idx=0):
       """Decode a JSON document from ``s`` (a ``str`` beginning with
       a JSON document) and return a 2-tuple of the Python
       representation and the index in ``s`` where the document ended.

       This can be used to decode a JSON document from a string that may
       have extraneous data at the end.

       """
       try:
           obj, end = self.scan_once(s, idx)
       except StopIteration as err:
           raise JSONDecodeError("Expecting value", s, err.value) from None
       return obj, end

Issue with line 355: raise JSONDecodeError("Expecting value", s, err.value) from None

Hi there, everything was working fine for the last week, but I just started getting this error today after market close.
Tried reissuing tokens in my Questrade app but can't get connected again. Dead in the water.
Can you please help me ASAP, as I need to continue my coding before market open on Monday!!
Thank you!!
Mike

JSONDecodeError                           Traceback (most recent call last)
 in
3 import socket
4 import time
----> 5 q = Questrade(refresh_token='7jAw8xsOAZ3G4mi28ltsNBTcyn98yPkG0')
6 #q = Questrade()
7 #Nv3g_DTtARaP4ByG5WjGloGyWKvPocFR0
C:\ProgramData\Anaconda3\lib\site-packages\questrade_api\questrade.py in init(self, **kwargs)
20                        ['token_path', 'refresh_token']}
21
---> 22         self.auth = Auth(**auth_kwargs, config=self.config)
23
24     def __read_config(self, fpath):
C:\ProgramData\Anaconda3\lib\site-packages\questrade_api\auth.py in init(self, **kwargs)
18             self.token_path = TOKEN_PATH
19         if 'refresh_token' in kwargs:
---> 20             self.__refresh_token(kwargs['refresh_token'])
21
22     def __read_token(self):
C:\ProgramData\Anaconda3\lib\site-packages\questrade_api\auth.py in __refresh_token(self, token)
37         r = request.urlopen(self.config['Auth']['RefreshURL'].format(token))
38         if r.getcode() == 200:
---> 39             token = json.loads(r.read().decode('utf-8'))
40             token['expires_at'] = str(req_time + token['expires_in'])
41             self.__write_token(token)
C:\ProgramData\Anaconda3\lib\json_init_.py in loads(s, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
355             parse_int is None and parse_float is None and
356             parse_constant is None and object_pairs_hook is None and not kw):
--> 357         return _default_decoder.decode(s)
358     if cls is None:
359         cls = JSONDecoder
C:\ProgramData\Anaconda3\lib\json\decoder.py in decode(self, s, _w)
335
336         """
--> 337         obj, end = self.raw_decode(s, idx=_w(s, 0).end())
338         end = _w(s, end).end()
339         if end != len(s):
C:\ProgramData\Anaconda3\lib\json\decoder.py in raw_decode(self, s, idx)
353             obj, end = self.scan_once(s, idx)
354         except StopIteration as err:
--> 355             raise JSONDecodeError("Expecting value", s, err.value) from None
356         return obj, end
JSONDecodeError: Expecting value: line 1 column 2 (char 1)

I had this same issue come up on a Friday evening. After panicking and resetting all of my Questrade tokens, apps, etc, nothing worked. Went to sleep defeated. Saturday morning, however, everything was working again like it had been for the prior week. Perhaps a Questrade API server issue, but definitely not this Python pkg. In case anyone else finds this error, just breathe and sleep on it. Try it again tomorrow and refresh your tokens if you need.
Thanks to tgardiner for this pkg... it makes the API easier for a dummy like me!!
MC

Never had exactly this happen.
I'd account the occasional hiccup that goes away with time to server maintenance. Their login page may be up online on questrade.com, but their API backends might be down. This happened yesterday. The API backend wasn't up until this morning.


Examples v2: Additional stuff

Will update this PR as I finish stuff.

Merging this first so that I can start work on building a library.


Render URLs in tables as hyperlinks

Description
For tables with string columns, it would be convenient if marimo automatically rendered URLs as hyperlinks.

Alternative
Users can embed markdown objects in tables, but this complicates exporting tables as CSVs (right now we implicitly call str on objects, which serializes them as Html, not useful).
Additional context
No response

Here is a quick (untested) react component that can detect and render hyperlinks:
const UrlDetector = ({ text }) => {
  const urlRegex = /(https?:\/\/[^\s]+)/g;

  const createMarkup = (text) => {
    const parts = text.split(urlRegex);

    return parts.map((part, index) => {
      if (part.match(urlRegex)) {
        return (
          <a key={index} href={part} target="_blank" rel="noopener noreferrer">
            {part}
          </a>
        );
      }
      return part;
    });
  };

  return <>{createMarkup(text)}</>;
};

take

hi @rpattekar, i apologies, i already did this one (#2026). I wanted to try out the new GitHub Copilot Workspace and wanted to try it on an easier feature.


slideEnded Event not sent when using arrow keys

When you click and drag the slider with the mouse, at the end, when you release the slider, you get a slideEnded event.  However when adjusting the slider with the arrow keys, no event is sent.  I would expect on keyUp, like on mouseup, a slideEnded event would be sent.  For each key click there would be an event or if the user held down an arrow key, then when they release the key, a single event is sent.

Indeed, it should be added with onEnd as well.

+1


markdown-source-import

[ ] example package test
[ ] add document

Codecov Report

Merging #3 into master will increase coverage by 0.49%.
The diff coverage is 92.89%.

@@            Coverage Diff             @@
##           master       #3      +/-   ##
==========================================
+ Coverage   91.90%   92.39%   +0.49%
==========================================
  Files           6       14       +8
  Lines         173      342     +169
  Branches       61       98      +37
==========================================
+ Hits          159      316     +157
- Misses         14       26      +12

Impacted Files
Coverage Δ

<EMAIL_ADDRESS>73.68% <73.68%> (ø)

<EMAIL_ADDRESS>88.00% <88.00%> (ø)

...handbook/remark-magic-comments/transformCommand.ts
90.47% <90.47%> (ø)

<EMAIL_ADDRESS>96.42% <96.42%> (ø)

<EMAIL_ADDRESS>100.00% <100.00%> (ø)

<EMAIL_ADDRESS>100.00% <100.00%> (ø)

<EMAIL_ADDRESS>100.00% <100.00%> (ø)

<EMAIL_ADDRESS>100.00% <100.00%> (ø)

... and 6 more

Continue to review full report at Codecov.

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


Manual Integration Tests for project scoping for Swarm secrets and Swarm services

Manual tests seem fine. Will report back once first beta cluster is in use.


Input sync

hi,
The input_sync parameter is invalid argument.
With the form :
                ->add('detail', 'ckeditor', array(                     'config_name' => 'minimalist',                     'input_sync' => true                 ))
Result :
               An exception has been thrown during the rendering of a template ("The option "input_sync" does not exist.)
With the global config :
                ivory_ck_editor:                     input_sync: true
Result :
                Unrecognized options "input_sync" under "ivory_ck_editor"
With :
                ivory_ck_editor:                     configs:                         minimalist:                             input_sync: true
No error but doesn't work.
Any idea ? Thank you.
Source : https://github.com/egeloen/IvoryCKEditorBundle/blob/master/Resources/doc/usage.md#synchronize-the-textarea

Indeed, it's correct. The composer.json must be:
        "egeloen/ckeditor-bundle": "~3.0"
And not :
        "egeloen/ckeditor-bundle": "~2.0"
I'm confused... Thank you :)


[BEAM-11614] Do not set empty specs in external transforms

According to Beam runner API proto if a spec is set then the URN is required: https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/beam_runner_api.proto#L1578
Currently, when external SDK does not set a spec, Python proto copying results in an empty spec being set in the final transform proto.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @TheNeuralBit

R: @TheNeuralBit


JdbcSqlStat.addResultSetHoldTimeNano() should not convert to nanos

For this:
https://github.com/alibaba/druid/blob/584dcb6c69224cc9e31200230d9977c75c67b004/src/main/java/com/alibaba/druid/stat/JdbcSqlStat.java#L1057-L1062
When calling executeAndResultHoldTimeHistogramRecord(), it should not convert value to nanos by (statementExecuteNano + resultHoldTimeNano) / 1000 / 1000. Because executeAndResultHoldTimeHistogramRecord() expect nanos:
https://github.com/alibaba/druid/blob/584dcb6c69224cc9e31200230d9977c75c67b004/src/main/java/com/alibaba/druid/stat/JdbcSqlStat.java#L715-L735

 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.

@wenshao Is there any problem with this?


Update egui to version 0.29 and glow to 0.14

Hello,
This is a small PR to update egui to the latest release. As egui now needs glow 0.14, the upgrade was done too. But maybe should I have done it in another PR ?
The 0.29 version of egui introduces a dithering option and I had to update the code according to it, but maybe not like you would have done it. Feel free to ask for changes and I will adapt the code :)
cf:

https://github.com/emilk/egui/pull/4497
https://docs.rs/egui_glow/latest/egui_glow/painter/struct.Painter.html#method.new

And everything seems to be fine with a cargo test --all-features --all-targets
Have a nice day,

Looks good to me. Thank you for your contribution 🙏

Thanks for the review and this pleasant crate. It’s a pleasure to work with.


W/Gralloc3( 8677): mapper 3.x is not supported

I am testing a Flutter app with Google Maps Flutter, and the app often hangs after this message:

Running Gradle task 'assembleDebug'...
√ Built build\app\outputs\apk\debug\app-debug.apk.
Installing build\app\outputs\apk\app.apk...
Syncing files to device Pixel 2...
W/Gralloc3( 8677): mapper 3.x is not supported

Sometimes it loads without an issue (same codebase). Any tips?
Details

Target Platform:
Target OS version/browser:
Devices:
Logs

Do you have the full device logs when this happens? From adb logcat - that would contain more information on whether something is crashing

Though it might also be a tool sync issue, in which case we'd also need logs from a verbose run flutter run -v and your flutter version flutter doctor -v

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now.
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, minimal reproducible sample code (if related), logs and the output of 'flutter doctor -v'  please.

@kirankumbhar
could you provide steps to reproduce it?

@VladyslavBondarenko
I was working on demo app and everything was working fine and after following incident is started showing this error

I inserted Text() widget without passing string in it.
I got error which was obvious.
I entered string and now error is gone
but now my app is crashed I checked debug console. It is showing above logs with mapper not supported.
I switched to real device from emulator. Still the error popping.
I did flutter clean. Sill the error is popping

I'm not sure that step 1 to 3 are actual reasons behind this error.
After bit of googling, I got app working with flutter run --verbose command. Even at the time of running --verbose command Flutter  No preferred FlutterEngine was provided. Creating a new FlutterEngine for this FlutterFragment. was still there. But somehow the app started working again.
Right now the app is working but sometimes I still get these errors. not sure the reason behind this.
Tools and Versions details:

Windows 10 build 1903
Flutter 1.12.13+hotfix.8
Emulator Pixel 3 running API 29
Physical device Nokia 8.1 running Andriod 10
VS code

11

It seems that this error is occurring on all (? or at least many) devices running Android 10. At least sometimes it is a breaking error (once I publish my app on Play store it will hang immediately).
To reproduce:
Create new flutter app in Android Studio or VS code.
Run the new app on a Pixel 3 emulator API 29 (error doesn't show on API 28). View logcat.
I have tested 5+ flutter apps, new and old. Tested with Flutter versions from the dev, beta and stable branch of 1.17.x down to v1.5.4 and the error still appears. Installed Flutter and Android studio on a new windows machine, error still appeared when running fresh app on physical Pixel 3.
Devices tested with Gralloc3 mapper 3.x error:
Physical Pixel 3 - API 29
Physical Nokia 8.1 - API 29
Emulator Pixel 3 - API 29
Emulator Nexus 6 - API 29
Emulator Pixel 3 - API 30 fails with Gralloc4 ... mapper 4.x error

Same happens to my widget tested on Samsung S10 Plus: W/Gralloc3: mapper 3.x is not supported

Any updates on this issue ? I am also facing the same issue with Flutter 1.17.3 and Android 10

This can happen if a call to AndroidBitmap_lockPixels is made on a hardware buffer backed bitmap.
We don't call that API directly - but maybe the maps SDK does. @amirh do you know?

Same issue with samsung galaxy s10 (x86) android10 , Flutter 1.22.3
(not all android 10 and all x86 devices !)

Hi @giorgio79
I cannot reproduce this issue on the latest stable version of Flutter using the code bellow and the latest version of Google Maps plugin.
Not sure if the code bellow reproduces this issue so please confirm and provide your steps to reproduce the issue if it still happening.
Code
import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: GoogleMap(
        initialCameraPosition: CameraPosition(
          target: LatLng(0, 0),
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel beta, 1.24.0-10.2.pre, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
    • Flutter version 1.24.0-10.2.pre at /Users/pedromassango/dev/SDKs/flutter_beta
    • Framework revision 022b333a08 (2 weeks ago), 2020-11-18 11:35:09 -0800
    • Engine revision 07c1eed46b
    • Dart version 2.12.0 (build 2.12.0-29.10.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.2.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 51.0.3
    • Dart plugin version 202.8070

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (3 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
    • Web Server (web)                   • web-server    • web-javascript • Flutter Tools
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 86.0.4240.198

• No issues found!

I am having the same issue here is my full app code if it helps:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.radiomedia.drn1">
    <!-- io.flutter.app.FlutterApplication is an android.app.Application that
         calls FlutterMain.startInitialization(this); in its onCreate method.
         In most cases you can leave this as-is, but you if you want to provide
         additional functionality it is fine to subclass or reimplement
         FlutterApplication and put your custom class here. -->
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.WAKE_LOCK"/>
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
    <application
        android:name="io.flutter.app.FlutterApplication"
        android:label="drn1"
        android:icon="@mipmap/ic_launcher"
        android:usesCleartextTraffic="true">
        <activity
            android:name=".MainActivity"
            android:launchMode="singleTop"
            android:theme="@style/LaunchTheme"
            android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
            android:hardwareAccelerated="true"
            android:windowSoftInputMode="adjustResize">
            <!-- Specifies an Android theme to apply to this Activity as soon as
                 the Android process has started. This theme is visible to the user
                 while the Flutter UI initializes. After that, this theme continues
                 to determine the Window background behind the Flutter UI. -->
            <meta-data
              android:name="io.flutter.embedding.android.NormalTheme"
              android:resource="@style/NormalTheme"
              />
            <!-- Displays an Android View that continues showing the launch screen
                 Drawable until Flutter paints its first frame, then this splash
                 screen fades out. A splash screen is useful to avoid any visual
                 gap between the end of Android's launch screen and the painting of
                 Flutter's first frame. -->
            <meta-data
              android:name="io.flutter.embedding.android.SplashScreenDrawable"
              android:resource="@drawable/launch_background"
              />
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
        <!-- Don't delete the meta-data below.
             This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
        <meta-data
            android:name="flutterEmbedding"
            android:value="2" />
    </application>
</manifest>

@redimongo please make sure you provide code that is runnable and that does not uses third-party plugins/packages.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

02/09 10:19:47: Launching 'app' on Pixel 4 API 29.
Install successfully finished in 14 s 103 ms.
$ adb shell am start -n "com.example.audiorecorder/com.example.audiorecorder.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Connected to process 8645 on device 'emulator-5554'.
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
I/e.audiorecorde: Waiting for a blocking GC ClassLinker
I/e.audiorecorde: WaitForGcToComplete blocked ClassLinker on HeapTrim for 376.637ms
D/libEGL: Emulator has host GPU support, qemu.gles is set to 1.
W/libc: Unable to set property "qemu.gles" to "1": connection failed; errno=13 (Permission denied)
D/libEGL: loaded /vendor/lib/egl/libEGL_emulation.so
D/libEGL: loaded /vendor/lib/egl/libGLESv1_CM_emulation.so
D/libEGL: loaded /vendor/lib/egl/libGLESv2_emulation.so
W/e.audiorecorde: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed)
W/e.audiorecorde: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed)
D/HostConnection: HostConnection::get() New Host Connection established 0xd444c190, tid 8701
D/HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_async_frame_commands ANDROID_EMU_gles_max_version_2
W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
D/eglCodecCommon: setVertexArrayObject: set vao to 0 (0) 0 0
D/EGL_emulation: eglCreateContext: 0xd4403360: maj 2 min 0 rcv 2
D/EGL_emulation: eglMakeCurrent: 0xd4403360: ver 2 0 (tinfo 0xd4400240)
W/Gralloc3: mapper 3.x is not supported
D/HostConnection: createUnique: call
HostConnection::get() New Host Connection established 0xd444c460, tid 8701
D/HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_async_frame_commands ANDROID_EMU_gles_max_version_2
D/eglCodecCommon: allocate: Ask for block of size 0x1000
D/eglCodecCommon: allocate: ioctl allocate returned offset 0x3ffffa000 size 0x2000
D/EGL_emulation: eglMakeCurrent: 0xd4403360: ver 2 0 (tinfo 0xd4400240)
D/eglCodecCommon: setVertexArrayObject: set vao to 0 (0) 1 0
W/RenderThread: type=1400 audit(0.0:54): avc: denied { write } for name="property_service" dev="tmpfs" ino=6755 scontext=u:r:untrusted_app:s0:c134,c256,c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0
I/e.audiorecorde: NativeAlloc concurrent copying GC freed 3973(576KB) AllocSpace objects, 0(0B) LOS objects, 51% free, 1460KB/2996KB, paused 27.196ms total 1.148s

how can i fix problem

Gralloc3.cpp
I don't think this is a problem with flutter, I got it while working on my a native app & I wasn't able to display the map.
I am testing on Android 10 GO
com.google.android.gms:play-services-maps:17.0.0

Here's a screen shot

Update, This is not the issue, you must have something wrong with your code, this is supposedly a warning and not an indication of a serious thing.
if you're on an emulator enable useHostGpu & add
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
In your Manifest File
0x00020000 = OpenGles 2.0 (API >=8)
0x00020000 = OpenGles 3.0 (API >=18)

This will force android studio to use a specific OpenGles Library.


Clicking the Table's Column selects the Menu items

Description
Describe the issue that you're seeing.

Steps to reproduce
Click the first column in a table

@ncphillips It looks fixed on current master: https://www.loom.com/share/11be127369414e6b93157c20b059d20e


Fix #208 - java-junit: show annotations on PR changed files

Fixes #208.
Resulting screenshot of annotation added to the PR of the project that i used for testing the changes:

https://github.com/dorny/test-reporter/actions/runs/3505027534/jobs/5983498492
Showing me this error in the code pipeline

Hi @dharmendrasha,
Please reopen this PR - you came to wrong conclusion!
This error you pointed out was expected, because this PR was created by me and i don't have permissions for this repo (similar situation described here). However if the owner of this repo creates the PR from my commits, then this error shouldn't occur, just like it didn't occur in my fork using the same commits

Sure @atsu85 will do that

@dharmendrasha , by the way the same issue is even reported even in this project many times and there is even a PR (by @hungrybear88) to fix it (as claimed here by @hilmarf), but currently that PR isn't merged

Sure @atsu85 will do that

@dharmendrasha, did you forget to reopen this PR? :)

Thanks @atsu85 ! PR looks good. I'm merging it now.
It's true the PR's from forked repos will have failed check run due to permission issues.
Shame on me, the issue and workaround are actually described in our own README.
Probably we should use that approach for the PR's and test the direct approach some other way.


Online converter

It would be perfect to have some online converter like this http://tryhandlebarsjs.com/
Thx!

You can use the demo page:
http://codepen.io/kobezzza/pen/zrJNXx


tests: Bump up max length queries in test_bulk_message_fetching()

Bump up max length queries in test_bulk_message_fetching() to 11
in zerver/tests/test_messages.py to avoid test failing when run
this test alone.
Fixes #3087.

Another approach for this issue is https://github.com/rafidaslam/zulip/commit/8f525487336a6643e483380c24e35bd6a150ce48
We think bump up the queries max length is pretty reasonable here, since we think this test is preventing us from doing like 600 queries.

Automated message from Dropbox CLA bot
@rafidaslam, it looks like you've already signed the Dropbox CLA. Thanks!

Merged, thanks for fixing this @rafidaslam!!


responsive width

responsive width of search bar, solved #30

The navWrapper style is outside the class (so are all other styles). For it to be dynamic, we should move it inside the class. I have no idea if it works. I think it is fine to add dynamic styles inline.

Done

@daveols @alikazemkhanloo can we release this amazing fix to NPM?

@mayconmesquita I no longer have write access to this repository.
@localz are you able to merge and release this PR?

Hey! Guess I'm the new maintainer from the @localz side of things. @mayconmesquita I have published the version to NPM so hopefully it works well for you.

@terencehuynh thank you so much!! :+1:


Add support for MySQL

Add support for MySQL

Estimates:
Add new MySQLDatabase, requiring connection pool handling and new reserved words list: 1 hour
Add new MySQLTable, does Table exist, alter table methods, getTableColumns, create Table: 2 hours
Add new type specific tables, 4 table classes Analytics, Baseline, Event, and Metric: 1 hour
Add new ControlTable, for managing state of runs and last fetch timestamps: 2 hours
Update Configuration, to add a new Database type: 2 hours
Test env stand up: 8 hours
Testing, system: 24 hours
Development: 8 hours (real, not calendar)
Testing: 32 hours (real, not calendar)


IOT2050 does not boot with network cable connected to X1P2 dhcp

Issue on behalf of a customer in the forum:
When I boot the Iot2050 everything works.
When I boot it with a network cable connected to the lower network port (X1P1: <IP_ADDRESS>) everything works fine.
But when I connect it to our network with cable connected to the top network port (X1P2: DHCP) then it doesn't boot (red STAT led). When I boot the device without any cable connected and wait till it's booted, and then connect the cable to our network, then it gets an IP address assigned and I can find it and everything works.
Is there a problem booting when connected to a network? Can I do something about this?
IOT2050 Advanced FS:05 with Example Image V1.2.2
Have we ever encountered this somewhere else?

Could not reproduce the issue with FS:04

Where in the boot does the device get stuck? Do you have any debug console output?

Seems that the issue was caused by a strangely behaving UART cable and has nothing to with the connected network.
We can close this


[3rd Party apps] Cost data not available for Amazon RDS

Description
The cloud Optimizer is not showing any data for an Amazon RDS entities or on the Workloads section
Assessment
The issue here with the cost is maybe only a configuration issue. There is something not communicating to identify the customers engines to grab costs from an API so no calculations can be rendered.
Steps to Reproduce
On the Amazon RDS entities, it show 21 entities but when we click , there is no data

When clicking on the workload section, we can choose the dedicated workload created for the occasion but it ask to enter manualy the costs.

Expected
We were expected to get the cost data automatically

Hello, @Kav91! We're using MariaDB RDS. None of reported to the NewRelic instances has pricing information.

@biohazardvos I'm not able to replicate the issue I just spun up a db.t3.micro mariadb RDS instance and it appears with pricing information.

Are you able to do the below NRQL Query update the database name, change the chart type to JSON and then provide me the output please.
SELECT * FROM DatastoreSample WHERE provider='RdsDbInstance' AND entityName = 'yourDatabaseName' LIMIT 1

Hello!
@Kav91 here are the results:

Page loading

Page data

Query result

@biohazardvos if you're not getting anything from the query result your issue is not to do with Cloud Optimize at all then.
You need to check if the AWS integration is correctly configured for your account, and the entity is reporting in the platform.
If the entity is reporting then you need to confirm if DatastoreSample's are being generated for that entity as you were doing above.

@Kav91 it is configured -- I can see EC2 instances info and total number of RDS instances. How can I check if DatastoreSample's are being generated?

@biohazardvos with that same query above but you need to update the query with your database/entity name instead.

When I'm filling in the entityName = '', it shows me all ARNs of our RDS instances. But when I'm choosing any of them -- the result of the query is the same as on the screenshot above.

After discussing this issue with @DamienCSFR  and @Kav91  the next steps are that @DamienCSFR  is going to look to find someone at New Relic who can assist on this question.


AVI: 5 channel audio detected as 6 channel

I have an AVI file with 5 PCM audio channels in one track:
http://download.das-werkstatt.com/pb/contribs/files/5ch_pcm.avi
MediaInfo says it has 6 channels:
General
Complete name                            : D:\capture\5ch_pcm.avi
Format                                   : AVI
Format/Info                              : Audio Video Interleave
File size                                : 6.47 MiB
Duration                                 : 2 s 480 ms
Overall bit rate                         : 21.9 Mb/s

Video
ID                                       : 0
Format                                   : FFV1
Format version                           : Version 1
Codec ID                                 : FFV1
Duration                                 : 2 s 480 ms
Bit rate                                 : 17.9 Mb/s
Width                                    : 720 pixels
Height                                   : 576 pixels
Display aspect ratio                     : 5:4
Frame rate                               : 25.000 FPS
Standard                                 : PAL
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Compression mode                         : Lossless
Bits/(Pixel*Frame)                       : 1.729
Stream size                              : 5.30 MiB (82%)
coder_type                               : Range Coder

Audio
ID                                       : 1
Format                                   : PCM
Format settings, Endianness              : Little
Format settings, Sign                    : Signed
Codec ID                                 : 1
Duration                                 : 2 s 98 ms
Source duration                          : 2 s 517 ms
Bit rate mode                            : Constant
Bit rate                                 : 3 840 kb/s
Channel(s)                               : 6 channels
Sampling rate                            : 48.0 kHz
Bit depth                                : 16 bits
Stream size                              : 1.15 MiB (18%)
Alignment                                : Aligned on interleaves
Interleave, duration                     : 39  ms (0.98 video frame)

But VLC, Audacity, Windows Explorer and ffprobe correctly report only the 5 channels :confused:
Here's (a cut) ffprobe output:
  Duration: 00:00:02.48, start: 0.000000, bitrate: 21871 kb/s
    Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv420p, 720x576, 18222 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 5 channels, s16, 3840 kb/s

Therefore, I assume that MediaInfo's interpretation is the incorrect one.
:cry:

I assume that MediaInfo's interpretation is the incorrect one.

Sometimes, MediaInfo's interpretation is the correct one even if some other tools are with another info.
OK, not the case here, issue is due to a too much aggressive "correction" of some files (not putting the LFE channel in the count), changing code for managing that only with DTS and AC-3. not PCM.

I actually assumed that MediaInfo was right and everyone else was wrong! :smile:
At first. :wink:
Thanks for checking it out. :cake:


'Usearch' failed to compile at examples yolov9

rustc 1.77.2 (25ef9e3d8 2024-04-09)
error: failed to run custom build command for usearch v2.12.0

Compiled OK in rust:alpine


Feature/geode 12

-- rename pulse to gemfire-pulse
-- fix the test script and tests so that it won't depend on external environment variables
-- fix the test categories, make sure the automation tests run without failure.

It looks like the integration tests are still failing. We should either fix those or mark them as Ignore. If the selenium tests (which require a local browser) can be made to work, then consider introducing a new test category; something like UITest or ManualTest.


svn grep should highlight files which have necessary text

@rultor release, tag=0.6.2

@rultor release, tag=0.6.2

@dgroup OK, I will release it now. Please check the progress here

@rultor release, tag=0.6.2

@dgroup Done! FYI, the full log is here (took me 4min)


Create Amazon S3 broker content

What
Created Amazon S3 broker backing service content.
How to review
Describe the steps required to test the changes.

Preview the content locally (see README) and check that it renders as expected.
Manually check that any removed or renamed anchor tags are not in use (linkchecker doesn't do this).
Check it fulfils story: https://www.pivotaltracker.com/story/show/165348640

Who can review
Anyone except Jon Glassman

Perhaps we should mention in the documentation that S3 is still a "beta" service, and subject to change with minimal warning? Have we done that in the past for other services?

Perhaps we should mention in the documentation that S3 is still a "beta" service, and subject to change with minimal warning? Have we done that in the past for other services?

We do it for Elasticsearch: This implementation of Elasticsearch is a request-only private beta trial version of the backing service to gather feedback.
So we could do it for Amazon S3, and I have no problems with that

Agree we should have a disclaimer similar to the one quoted above

Agree we should have a disclaimer similar to the one quoted above

Will add once tech writer 2i is complete

Agreed. Let's get this merged and deployed as soon as that goes through on
Tuesday.
On Fri, 3 May 2019 at 16:05, Jonathan Glassman<EMAIL_ADDRESS>wrote:

@jonathanglassman commented on this pull request.
In source/documentation/deploying_services/s3.md
https://github.com/alphagov/paas-tech-docs/pull/211#discussion_r280812221
:

-#### Provision a private AWS S3 bucket
+S3 buckets can be either private or public:
+
+- private S3 buckets are only accessible using apps that you bind to that bucket
+- public S3 buckets are accessible to everyone through the internet
Thank you. I think we need to wait on merging until feature is live?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/alphagov/paas-tech-docs/pull/211#discussion_r280812221,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AANKTOXN4KGVK7PQ6W57MV3PTRIDTANCNFSM4HITUUZQ
.

--
Andy Hunt
Site Reliability Engineer
GDS

👍 👍 👍


[STORM-1908] Support Storm HBase ZooKeeper Config

STORM-1908
Support Storm HBase ZooKeeper Config . About ZooKeeper host , port and parent .

@darionyaphet
I mean we already support the thing what TODO describes.
Please refer https://github.com/apache/storm/blob/master/external/storm-hbase/src/main/java/org/apache/storm/hbase/bolt/AbstractHBaseBolt.java#L66-L68
So this issue is invalid, and TODO can be removed.

@HeartSaVioR  I got we can set config using Config and don't have to support new API ?

@darionyaphet
You can set properties which we can pass to hbase-.xml into Storm configuration Map (under specific key for hbase), and storm-hbase merges (override) that configuration with default HBase configuration which reads hbase-.xml to initialize. So passing them to Storm configuration Map before submitting topology would be sufficient.

@HeartSaVioR Yes I know . Because Zookeeper properties is very useful , so I wish to open a new API to support it :) . If you think it's unnecessarily , I will close this PR .

@darionyaphet Let's close for now. We can enrich description to README how to pass ZK properties when we think it would be better to guide passing ZK properties.

@HeartSaVioR   OK  Close it :)


bazarr: 0.9.8 -> 0.9.9

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/morpheus65535/bazarr/releases.
meta.description for bazarr is: "Subtitle manager for Sonarr and Radarr"
meta.homepage for bazarr is: "https://www.bazarr.media/"
meta.changelog for bazarr is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

/nix/store/1qa7dcjh2pvxgf9r017iajyz12vbxxbr-bazarr-0.9.9/bin/bazarr passed the binary check.

1 of 1 passed binary check by having a zero exit code.

1 of 1 passed binary check by having the new version present in output.

found 0.9.9 with grep in /nix/store/1qa7dcjh2pvxgf9r017iajyz12vbxxbr-bazarr-0.9.9

found 0.9.9 in filename of file in /nix/store/1qa7dcjh2pvxgf9r017iajyz12vbxxbr-bazarr-0.9.9

directory tree listing: https://gist.github.com/f1e77db06b9df572b9e97584b89692d3

du listing: https://gist.github.com/a902541417985a30086be3a84cffafc0

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
bazarr

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/1qa7dcjh2pvxgf9r017iajyz12vbxxbr-bazarr-0.9.9 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A bazarr https://github.com/r-ryantm/nixpkgs/archive/22fda0d90a0d46c3c49b5c927e5f0b342d0bdf67.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/1qa7dcjh2pvxgf9r017iajyz12vbxxbr-bazarr-0.9.9
ls -la /nix/store/1qa7dcjh2pvxgf9r017iajyz12vbxxbr-bazarr-0.9.9/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

bazarr

Maintainer pings
cc @d-xo for testing.

Result of nixpkgs-review pr 137723 at 22fda0d9 run on aarch64-linux 1

1 package built successfully:

bazarr

1 suggestion:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/servers/bazarr/default.nix:16:3:
   |
16 |   installPhase = ''
   |   ^


Chain Sync Phase 3A - Restore Identity from 1st Public Key

Support restoring an identity from the first public key.
This PR depends on #23, which should be merged first.

This PR was mistakenly merged manually into the wrong branch.  The merge was removed from that PR and it will be merged manually later.


PowerShell Steps

How does one do this thru PowerShell?

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

ID: 31b0d33c-f88e-d50c-2926-7933940f3b92
Version Independent ID: 4aaef906-f501-6947-5d23-1b704470f09d
Content: Secure SQL Database connection with managed identity - Azure App Service
Content Source: articles/app-service/app-service-web-tutorial-connect-msi.md
Service: app-service-web
GitHub Login: @cephalin
Microsoft Alias: cephalin

Hi @Ayanmullick, Thanks for the feedback! We are currently investigating and will update you shortly.

Is there anyway to do this via ARM template?

@Ayanmullick @a142173 based on my knowledge and research there isn't a way to implement this via ARM or powershell.
@cephalin any ideas on how to accomplish this via powershell or ARM?

The Azure CLI commands above can be executed also from the local computer, from PowerShell 5.*, if Azure CLI is installed locally (https://docs.microsoft.com/en-gb/cli/azure/install-azure-cli-windows?view=azure-cli-latest) and AzureAD PowerShell module is installed (Install-Module AzureAD).
Of course, it is necessary to login first:
az login
and to select the right subscription if necessary:
az account set -s "My Subscription"
Other that that, the az... command should work ok, only the variable must start with a $:
$groupid=$(az ad group create --display-name myAzureSQLDBAccessGroup --mail-nickname myAzureSQLDBAccessGroup --query objectId --output tsv)

See this document https://docs.microsoft.com/azure/app-service/overview-managed-identity#adding-a-system-assigned-identity for steps on setting up managed identity for App Service in both PowerShell and ARM. To set up the SQLDB or Azure AD related things with a specific tool you'll need to consult the documentation of the respective services. As a tutorial this doc is meant to prove the build-out of a specific end-to-end scenario, not intended to show all the different ways to do the same thing.

#please-close

@cephalin, Microsoft should document the PowerShell steps for the end-to-end scenario like other SQL related documents like below.
https://docs.microsoft.com/en-us/sql/relational-databases/server-management-objects-smo/tasks/creating-altering-and-removing-databases?view=sql-server-2017

@Ayanmullick I understand your feedback, but again this tutorial is actually not part of SQL DB documentation, and as such, is primarily for App Service scenarios. Kindly take your feedback to SQL DB documentation.


Partner logo update 11 20

Build failed because of:
CloudCMx (FOTP) either has no crunchbase entry or it is invalid


(BOLT-227) Catch wrong password and fail the node

moved to https://github.com/puppetlabs/bolt/pull/174

Should we handle sudo: sorry, you must have a tty to run sudo and Sorry, user foo is not allowed to execute [...] here also or are those separate tickets?

I think those are separate. This is much worse since it hangs while those will error and appear at least in debug logs


Fix data type conversion when instantiating a Matrix

When initialising a Matrix object, the default dtype is currently int.
This means that when the dtype was not specified unexpected things could happen such as:
> from discopy.matrix import Matrix
> Matrix([0.5, 0.5], dom=1, cod=2)
Matrix([0, 0], dom=1, cod=2)

This PR addresses this issue by using the dtype of the created np.array when dtype is not specified for the Matrix.

Not sure why this did not fail locally though?

Oh oh ... I get Matrix[float]([0.5], 1, 1) != Matrix([0.5], 1, 1)


Lat long services feed

Added changes to add Latitude and Longitude fields on Services Feed Endpoint. Changes addded on ServiceSerializer. Lat and Long are obtained form the User object linked to the Service

Codecov Report

Merging #200 into lat-long-services-feed will not change coverage.
The diff coverage is n/a.

@@                   Coverage Diff                   @@
##           lat-long-services-feed     #200   +/-   ##
=======================================================
  Coverage                   96.44%   96.44%
=======================================================
  Files                          12       12
  Lines                         169      169
=======================================================
  Hits                          163      163
  Misses                          6        6

Continue to review full report at Codecov.

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