feat: postgres enhancement and query consolidation

This PR refactors and consolidates the postgres collector queries.
This is the postgres equivalent to this PR
Additions:

schema_objects: This file collects all schema level object details
table_details: Extra details about tables and associated objects
database_details: Database level details
index_details: Index details
data_types: Info on all used data types for user objects
schema_details: Summary info about the schemas
source_details: Summary info on database objects that store source code
calculated_metrics: Contains pre-calculated metrics that can be used for various features and flags to check for

Removes the following:

tablesbyschema.sql: Replaced by schema_objects
sproccount.sql: Replaced by schema_objects
database_size.sql: Replaced by database_details
relationsizesummary.sql: Replaced by table_details
tableiostats.sql: Replaced by table_details
tablesbyschema.sql: Replaced by table_details.  This also should have been named foreign tables by schema
relationsize.sql: Replaced by table_details
role.sql: Removed because it collects identifiable info.
indexdetail.sql: Replaced by index_details
indexiostats.sql: Replaced by index_details

Modification:

[x] - Adds the expected PKEY field to all files
[x] - Order PKEY, DMA_SOURCE_ID, and DMA_MANUAL_ID as the first columns in all queries.
[x] - Rename dbversion to dbVersion in the collection script.
[x] - No query issues a select * or equivalent (draft)
[x] - Object types to be normalized and consistent with naming conventions and valid values (draft)
[x] - Remove parameters --statsSrc and --dbType

I think we are ready to release this.


Configure for *.windowsupdate.microsoft.com

I assume we don't need to configure *.windowsupdate.microsoft.com (and/or domain list in
https://docs.microsoft.com/en-us/windows-server/administration/windows-server-update-services/deploy/2-configure-wsus#211-connection-from-the-wsus-server-to-the-internet), I'd like to make sure.

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

ID: 32785d15-8202-6e44-f1d2-420ef0600f3f
Version Independent ID: 3af5fa49-7bd4-18ce-f8dc-aa4a2b8c6478
Content: Create a self-hosted integration runtime in Azure Data Factory
Content Source: articles/data-factory/create-self-hosted-integration-runtime.md
Service: data-factory
GitHub Login: @nabhishek
Microsoft Alias: abnarain

@kazshi  You don't absolutely have to configure *.windowsupdate.microsoft.com. However, if you are working behind a corporate firewall which restricts Internet access from the servers due the company's security policies, you will have to get authorization for the URLs in the given domain list.
As mentioned in the documentation, to obtain updates from Microsoft Update, the WSUS server uses port 443 for HTTPS protocol. Although most of corporate firewalls allow this type of traffic, there are some companies that restrict Internet access from the servers due the company's security policies. if your company restricts access, you need to obtain authorization to allow Internet access from WSUS to the list of URLs.
Hope this helps you. Please feel free to comment if you want any more information.

@ChiragMishra-MSFT Thanks for your clarification and explanation.


fix concurrent bug (avoid NullPointerException)

What is the purpose of the change
Resolve concurrent bug (or NullPointerException) in DubboProtocol.java
Brief changelog
The statement "locks.get(key)" will get NULL after "locks.remove(key);", and then "synchronized(null)" will throw NullPointerException. Obviously, this two statement, "locks.putIfAbsent(key, new Object());" and "locks.get(key)", are not an atomic operation.
I can't find a better way to reduce lock granularity, maybe we have to sacrifice some performance to ensure safety here.
Verifying this change
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

@Augustvic hi, thanks for your contribution.
The issue you mentioned has been resolved via #6793.
Also, it would cause performance problems if you use synchronized for referenceClientMap. This will reduce the number of concurrent.
Please feel free to reopen this pr if you still have any question, also you can create a new pr for related code.


Split landing pages into dev and stable.

Here is the counter proposal for #774. I prefer this; the landing pages for PyPI and GitHub can now evolve independently, as we don't have to compromise on the content that is suitable for both.

+1

@dcolligan, merge me!


dockerd died unexpectedly crashreport

Description
dockerd died unexpectedly on rhel 7.3
Steps to reproduce the issue:

launch docker
???
dockerd dies

Additional information you deem important (e.g. issue happens only occasionally):
log.txt
Output of docker version:
# docker version
Client:
 Version:      1.13.0
 API version:  1.25
 Go version:   go1.7.3
 Git commit:   49bf474
 Built:        Tue Jan 17 09:55:28 2017
 OS/Arch:      linux/amd64

Server:
 Version:      1.13.0
 API version:  1.25 (minimum version 1.12)
 Go version:   go1.7.3
 Git commit:   49bf474
 Built:        Tue Jan 17 09:55:28 2017
 OS/Arch:      linux/amd64
 Experimental: false

Output of docker info:
# docker info
Containers: 14
 Running: 14
 Paused: 0
 Stopped: 0
Images: 24
Server Version: 1.13.0
Storage Driver: overlay
 Backing Filesystem: xfs
 Supports d_type: false
Logging Driver: journald
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 03e5862ec0d8d3b3f750e19fca3ee367e13c090e
runc version: 2f7393a47307a16f8cee44a37b262e8b81021e3e
init version: 949e6fa
Security Options:
 seccomp
  Profile: default
Kernel Version: 3.10.0-514.el7.x86_64
Operating System: Red Hat Enterprise Linux Server 7.3 (Maipo)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 23.39 GiB
Name: scedr07owltow01
ID: JFOZ:QQNR:ZUX4:2ADX:D5GX:R5Z7:4TB2:6THT:4ZOK:DZNB:PHAV:Z3RI
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Https Proxy: <IP_ADDRESS>:8080
Username: freeseacher
Registry: https://index.docker.io/v1/
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: true

Additional environment details (AWS, VirtualBox, physical, etc.):

same issue here. centos 7.3, docker 1.13, overlayfs. crash-report attached.
docker-crash-report.txt

@urban-it-solutions can you post the full output of docker version and docker info
ping @LK4D4 @justincormack @rhvgoyal PTAL

@urban-it-solutions @freeseacher Can you provide any details as to what was going on during the crash?
From the stack dump it looks like you have an active docker logs consumer?
Also can you confirm you are using the journald driver?
Any other details would be extremely helpful! 🙇
Thanks!

My systemd unit looks like this
# /etc/systemd/system/docker.service.d/override.conf
[Service]
Environment=https_proxy=XXXX:8080
ExecStart=
ExecStart=/usr/bin/dockerd --log-driver=journald --storage-driver overlay --live-restore

@cpuguy83
My Options:
OPTIONS='--storage-driver=overlay --log-driver=journald'
I have an openshift-origin 1.5.2 alpha running on top.
@thaJeztah : Sorry, I already downgraded to docker 1.12.6
But it is the same configuration, only Centos7.3 instead of RHEL7.3.
Now I have:
docker info
Containers: 52
Running: 22
Paused: 0
Stopped: 30
Images: 26
Server Version: 1.12.6
Storage Driver: overlay
Backing Filesystem: xfs
Logging Driver: journald
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: null overlay host bridge
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 3.10.0-514.6.1.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 23.38 GiB
Name: lxdedevoshift02
ID: C43C:CW6L:LI5Q:IGAT:5KZG:FYNQ:F5VN:XJ2A:QSR2:VV5Z:GMXU:U5FF
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Http Proxy: http://p-proxy.int.hlg.de:8080/
Https Proxy: http://p-proxy.int.hlg.de:8080/
No Proxy: <IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>/16,<IP_ADDRESS>/16,<IP_ADDRESS>/24
Registry: https://index.docker.io/v1/
Insecure Registries:
<IP_ADDRESS>:5000
<IP_ADDRESS>/8

ping @nalind could you have a look? @cpuguy83 suspects journald may be involved here (not sure though, but we could have some extra eyes)

Looks like I ran into a similar issue.
 Most of them restarted. And I manually started a couple of "Exit" state containers.
The crashing started today and happened a couple of times already.

@enst Sounds like you are hitting this frequently.
What kind of workloads are you throwing at it?

I was. It didn't crash since my last post.
The workloads is very light.
I'm using weave networks BTW.

It crashed again just now.
I've downgraded to 1.12.1. Will see.

I've got the same issue.
CentOS 7.3 / docker 1.13.0 and 1.13.1 / -s overlay and -s overlay2
dockerd-crash-report.txt
gdb-dockerd-core.txt

We are hitting this also, at infrequent intervals. It's always gives the same cause. It must be something with the journald integration.
We are logging a lot to journald, so it might be workload related, but so far it seems to happen quite randomly.
Crash:
Feb 21 07:33:59 sputnik docker[35858]: *** Error in `dockerd': corrupted double-linked list: 0x00007fe720000aa0 ***
Feb 21 07:33:59 sputnik docker[35858]: ======= Backtrace: =========
Feb 21 07:33:59 sputnik docker[35858]: /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fe7d0de37e5]
Feb 21 07:33:59 sputnik docker[35858]: /lib/x86_64-linux-gnu/libc.so.6(+0x80477)[0x7fe7d0dec477]
Feb 21 07:33:59 sputnik docker[35858]: /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fe7d0def98c]
Feb 21 07:33:59 sputnik docker[35858]: dockerd[0x46f380]

Cause:
Feb 21 07:33:59 sputnik docker[35858]: SIGABRT: abort
Feb 21 07:33:59 sputnik docker[35858]: PC=0x7fe7d0da1428 m=32
Feb 21 07:33:59 sputnik docker[35858]: signal arrived during cgo execution
Feb 21 07:33:59 sputnik docker[35858]: goroutine 6240889 [syscall, locked to thread]:
Feb 21 07:33:59 sputnik docker[35858]: runtime.cgocall(0x1473770, 0xc4206e0590, 0x0)
Feb 21 07:33:59 sputnik docker[35858]: #011/usr/local/go/src/runtime/cgocall.go:131 +0x110 fp=0xc4206e0560 sp=0xc4206e0520
Feb 21 07:33:59 sputnik docker[35858]: github.com/docker/docker/daemon/logger/journald._Cfunc_free(0x7fe720000bf0)
Feb 21 07:33:59 sputnik docker[35858]: #011github.com/docker/docker/daemon/logger/journald/_obj/_cgo_gotypes.go:108 +0x41 fp=0xc4206e0590 sp=0xc4206e0560
Feb 21 07:33:59 sputnik docker[35858]: github.com/docker/docker/daemon/logger/journald.(*journald).drainJournal(0xc420236500, 0xc422a2c990, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0x1, 0x7fe7a8000c60, 0x7fe720000bf0, 0x7fe720000bf0)
Feb 21 07:33:59 sputnik docker[35858]: #011/usr/src/docker/.gopath/src/github.com/docker/docker/daemon/logger/journald/read.go:239 +0x263 fp=0xc4206e06c0 sp=0xc4206e0590
Feb 21 07:33:59 sputnik docker[35858]: github.com/docker/docker/daemon/logger/journald.(*journald).followJournal.func1(0x7fe7a8000c60, 0x22e0000000e, 0xc420fe69b0, 0xc420236500,

Docker info:
bibadmin@sputnik:~/koha-prod$ docker info
Containers: 20
 Running: 15
 Paused: 0
 Stopped: 5
Images: 152
Server Version: 1.13.0
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 834
 Dirperm1 Supported: true
Logging Driver: journald
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 03e5862ec0d8d3b3f750e19fca3ee367e13c090e
runc version: 2f7393a47307a16f8cee44a37b262e8b81021e3e
init version: 949e6fa
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.4.0-38-generic
Operating System: Ubuntu 16.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 40
Total Memory: 62.81 GiB
Name: sputnik
ID: YBXP:WL5P:WWY5:QDCZ:5AHB:XF2P:QEEY:OBB7:CG7B:GT4W:6Y5H:X5SG
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

It happened again, two times in a day..
I'm suspecting the problem could be  https://github.com/docker/docker/pull/27420
I'm downgrading docker to 1.12.1 for now...


[SwiftHashedContainer] Prepare for upcoming round of renamings

As part of finalizing the Set/Dictionary ABI, I'm renaming some internals in https://github.com/apple/swift/pull/18181.
This PR prepares for that change by adding support for the new (hopefully final) names in lldb.
(Additional changes are coming soon, including a layout overhaul; I'll submit PRs as needed. Hopefully I'll be able to clean this code up, too -- for example, I don't think we need to keep supporting Swift 1.0/2.0 names/layouts.)
rdar://problem/42585384

@swift-ci please test

This is now superseded by #813, which fixes data formatter issues as well as incorporating these changes.


/locatebiome does not work

Versions
Minecraft: 1.16.5
Forge: 36.2.22
Skyblock Builder: SkyblockBuilder-1.16.4-1.6.12.jar
Modpack: No other mods except for LibX
Describe the bug
The command /locatebiome does not find biomes
How to reproduce

Generate new skyblock world
Open F3 and look in which biome you are in
Try to /locatebiome that biomes
Wait until it fails

Expected behavior
The command should work
Screenshots

Update: The command also fails when executed in the nether or end dimension.

I realized this is an issue on Saturday and tried to fix it, including the whole Sunday. I have no idea how to fix it. As I’m focusing on porting everything properly to 1.18.1, I’m trying to fix other stuff first and then re-try to fix this in 1.18.1. Since it’s the same problem in both versions, it should be easy to backport this fix. Until that, I add the help wanted label.

Could it be because you've changed the biome generation?
Like when I create a world with the seed 1234 with the default generator the biome at 0,0 is a snowy_tundra.
When I create the same world with the skyblock generator the biome at 0,0 is mountains.

Oh, i Never checked this. I don’t know if that makes a difference but maybe I should first start to try changing this behavior.


Block Ads, Skip Sponsors, Skip Intro, Wii U Touch Gamepad and WiiRemote an Pro Controller in Wii U Youtube app

It would be great to be able to add these features to Wii U Youtube, apps like YT Vanced and ReVanced and extensions have the functionality to block those insatiable and harassing Google and YouTube ads, and skip annoying 5-10 minute sponsors who won't stop yelling at you how wonderful a junk product is, i don't know if this is possible, but in my opinion if it is, it would be great, adding other functions would be great too, like enabling touch on the gamepad or using the Wiiremote or Pro Controller to forget about the sometimes cumbersome Wii U Gamepad or forget about spending 4 years trying to find a video with buttons, without a doubt for Wii U owners it would be the favorite way to watch YouTube on TV to somehow add these functions.

That is out of scope for this project. This application only serves to get the YouTube app to boot again, nothing more and nothing less. Additionally adding features such as blocking ads may get us under fire from Google as those features are given to paying users of YouTube. Vanced itself, which you mentioned, was already under fire of legal threats from Google for this very reason, and I do not plan to bring those issues to our project


[Build] Migrate Android NDK, android rules and platforms

This commit does the following 3 things for Android bazel rules, which depends on each other

Update NDK to 26.2.11394342 (and a few other Android things)
Use rules_android_ndk instead of builtin native.android_ndk_repository

third_party/android/android_configure.bzl was a workaround for users who don't set $ANDROID_NDK_HOME env var. Now with rules_android_ndk, we can declare repo without registering the toolchain. Instead users who need NDK toolchain should use --extra_toolchains to manually register the toolchain, as shown in README.md.

Migrate to platforms. See https://bazel.build/concepts/platforms

Currently we declares android platforms that is needed for binder transport APK. Later gRPC repo can gradually migrate to platforms for other platforms.
The value of crosstool_top will still be //external:android/crosstool (which is the default value), so existings android config_settings will still work. We should migrate them to match with @platforms//os:android constraint later.

The platforms migration needs Bazel 7.0 to work so we also override bazel version in testing scripts.

Thanks for the change. LGTM and I'll approve this once all tests are passed.

FYI, there is https://github.com/grpc/grpc/pull/36105 changing the default version of Bazel to 7, having a build issue in running "Bazel BinderTransport APK building" (log).

FYI, there is https://github.com/grpc/grpc/pull/36105 changing the default version of Bazel to 7, having a build issue in running "Bazel BinderTransport APK building" (log).

Got it, thanks! This PR should fix the Bazel 7 build issue

cc @jdcormie @rock1246

@gnossen Would you do a second review on this?

(rebased to use bazel 7.1.0 , and some fixes for copybara internal change)

@drfloob AJ, would you do a second review? (I forgot @gnossen is out this week)


fixed issue #124 again

Which issue(s) this PR fixes:

Fixes #124
Additional documentation
Fixed to hold a pointer to the machineState instead of holding cgo.Handle.

I tested with make test/run/124 and run macOS example on my local


🩹(courses) fix image sizes for course cover

Purpose
Fix the image sizes in the srcset to allow for better resolution.
Fix the organization page banner not correctly cropping the image.
Description...
The current definitions for the image don't allow a good quality image to be displayed.
The sole purpose of this PR is to adjust the image resolution, so it doesn't display really low quality images.

@sampaccoud Can you check this out with me?

@jbpenrath should be all done. Can you review?


Migrate SQL Server does not work

When trying to generate the schema from a SQL Server database the following error is returned:
[PDOException]
SQLSTATE [IM001]: Driver does not support this function: driver does not support that attribute

Hi, maybe a little bit late. But I ran into the same issue. Maybe someone else can profit form this answer.
I fixed it quickly, through adding following line to
\laravel5.6\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php at line 52
   /**      * {@inheritdoc}      */     public function getServerVersion()     {         return "15.0.2070.41"; //<-- the SQL Server Verison         return PDO::getAttribute(PDO::ATTR_SERVER_VERSION);     }
How to find your Server Version:
https://support.jetglobal.com/hc/en-us/articles/218952288-Locating-SQL-Server-Versions
Maybe someone else finds a better solution. I think it has something to do with this two bug reports;
https://github.com/Microsoft/msphpsql/issues/733
https://github.com/microsoft/msphpsql/issues/756
I first tried to solve this through updating unixODBC: https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-ver15#ubuntu
But this didn´t worked for me. But I just needed to generate the files. And with the above provided solution it worked for me! :)


libseccomp is required for compilation

If don't have libseccomp package locally, will have a compile error.
Maybe need a update to README to add hint of install libseccomp package since we have supported.

@Crazykev thanks, will do.


fix: add hidden to MethodDecoratorOptions

The hidden option is contemplated when generating the openapi docs, but is not in the MethodDecoratorOptions interface.
Example error:
error TS2345: Argument of type '{ path: string; summary: string; responses: { 201: typeof ProductCategory; }; hidden: boolean; }' is not assignable to parameter of type 'MethodDecoratorOptions'.
  Object literal may only specify known properties, and 'hidden' does not exist in type 'MethodDecoratorOptions'

Hey @adriasala124 The hidden property is already defined via module augmentation defined in the OpenAPI module as well as other properties. It means that, whenever the '@davinci/openapi' module is imported, the types of the 'http-server' module get decorated with the additional properties.
So it shouldn't be needed to define 'hidden' there.
My guess is that there is some typescript (tsconfig) misconfiguration somewhere

I see @pierissimo I didn't see it there. Thanks for checking. I'll close the PR then


AI does not stop speaking after VAD detects interrupt

I’ve encountered an issue where the AI continues speaking even after the server's Voice Activity Detection (VAD) detects an interrupt. Ideally, when an interrupt is detected, the AI should stop talking immediately. However, in my case, the AI keeps talking for a bit longer before eventually moving to the next response at random.
I'm unsure if this is happening because the code isn't terminating the server response when an interrupt occurs, or if it's a side effect of the AI still being in beta and not fully refined.
Looking for suggestions or ideas on how to resolve this and get the AI to respond more consistently to interruptions.

+1

Struggling to fix this as well. Seems they forgot some logic in the example to handle the detection. It should send a response.cancel when an interrupt is detected.

Hmm, my understanding of it is that you dont need to send response.cancel if you're in server_vad mode, it should just handle it. I wonder if the ws client still has previous audio buffers from openAI and sends it to the server without clearing it

+1

+1

+1

@brainvine but why when we start talking, the speech_started event will be triggered, which means that the searver know that we are talking...

Yeah, but it never sends the interrupted event.

+1

you need to clear twillio aido buffer by sending clear event into twillio websocket

you need to clear twillio audio buffer by sending clear event into twillio websocket

That worked for me thank you,
I used and it worked:
// Send 'clear' message to Twilio to stop audio playback
const clearMessage = {
event: 'clear',
streamSid: streamSid,
};
connection.send(JSON.stringify(clearMessage));

you need to clear twillio audio buffer by sending clear event into twillio websocket

Thanks! Can you give us an example on where / how to implement this?

@brainvine yes, exactly. openai generates and sends audio chunks faster than they are played to you. so, if the ai's response is 'hello, how are you doing?', twilio's buffer would contain the full message, even though you've only heard 'hello' so far. that's why you need to clear the buffer when there's an interruption.

https://github.com/twilio-samples/speech-assistant-openai-realtime-api-node/tree/ai_talks_first_server_vad_preemption if anyone wants to look at our initial run at it.
Here are the known issues as of today:

The code always sends conversation.item.truncate on input_audio_buffer.speech_started, even if the AI audio is done being played back to the user.
audio_start_ms doesn't exactly track how far Twilio played back the audio... though it is close.

https://github.com/twilio-samples/speech-assistant-openai-realtime-api-node/pull/15 we've been testing this version today if anyone wants to take a look.
It adds AI interruption. It estimates the elapsed time the user heard the AI response to truncate the conversation properly. It should work to within a few words (based on the chunking of response.audio.delta, the speech_started event, and Twilio media events and mark messages). Note: you might also want to use speech_stopped in your implementation, but this should demonstrate one way to estimate how much the user heard.
It also adds the "AI speaks first" feature.
Please let us know if it works for you. If it looks good on our end, we'll merge soon.


Error during knife vsphere vm clone -- "Cannot find subcommand"

Hi,
Every time running:
knife vsphere vm clone Win10-chef**** --template Win10-Chef-template5 --resource-pool ********* --ccpu 2 --cram 2 --disable-customization true --start
fails with :
FATAL: Cannot find subcommand for: 'vsphere vm clone Win10-chef**** --template Win10-Chef-template5 --resource-pool ********** --ccpu 2 --cram 2 --disable-customization true --start'
Available subcommands: (for details, knife SUB-COMMAND --help)
** BOOTSTRAP COMMANDS **
knife bootstrap [SSH_USER@]FQDN (options)
knife bootstrap windows ssh FQDN (options)
knife bootstrap windows winrm FQDN (options)
** CLIENT COMMANDS **
knife client bulk delete REGEX (options)
knife client create CLIENTNAME (options)
knife client delete [CLIENT[,CLIENT]] (options)
knife client edit CLIENT (options)
knife client key create CLIENT (options)
knife client key delete CLIENT KEYNAME (options)
knife client key edit CLIENT KEYNAME (options)
knife client key list CLIENT (options)
knife client key show CLIENT KEYNAME (options)
knife client list (options)
knife client reregister CLIENT (options)
knife client show CLIENT (options)
** CONFIGURE COMMANDS **
knife configure (options)
knife configure client DIRECTORY
** COOKBOOK COMMANDS **
knife cookbook bulk delete REGEX (options)
Usage: /bin/knife (options)
knife cookbook delete COOKBOOK VERSION (options)
knife cookbook download COOKBOOK [VERSION] (options)
knife cookbook list (options)
knife cookbook metadata COOKBOOK (options)
knife cookbook metadata from FILE (options)
knife cookbook show COOKBOOK [VERSION] [PART] [FILENAME] (options)
knife cookbook test [COOKBOOKS...] (options)
knife cookbook upload [COOKBOOKS...] (options)
** COOKBOOK SITE COMMANDS **
knife cookbook site download COOKBOOK [VERSION] (options)
knife cookbook site install COOKBOOK [VERSION] (options)
knife cookbook site list (options)
knife cookbook site search QUERY (options)
knife cookbook site share COOKBOOK [CATEGORY] (options)
knife cookbook site show COOKBOOK [VERSION] (options)
knife cookbook site unshare COOKBOOK
==================
I'm not able to clone a VM from a template in vSphere  in the very first step and hence not proceeding further with the automation.

Hi, it doesn't look like you've got the knife-vsphere gem installed. It's shipped separately from the main knife command.
Try gem install knife-vsphere, or if you run through ChefDK, chef gem install knife-vsphere.

We can add it to the ChefDK if you think that's a good idea Sean :metal:

Hey JJ, this problem has come up a couple of times, so that would be helpful!

Thanks Swalberg. Already it was installed, however I tried installing it again and checked.
--Successfully installed knife-vsphere-2.0.1
1 gem installed
But it's the same error
"FATAL: Cannot find subcommand for:  vsphere vm clone"

What command did you use to install it? Do you have ChefDK installed?
I've seen that conflicting Ruby implementations sometimes install the plugins to the wrong spot. Can you run which knife and which gem to let me know where they're based out of, please?


onScrollStop: callback()

Please add support for callback function when scrolling stops:
onScrollStop: callback()

I really could use that one too...


linked in links on review committee opening up mail client not linked in

the links on the Review Committee for LinkedIn are set up wrong and open a mail client instead of going to linked in.
Bonus if you can set these up to open in a new tab.

Completed in the latest commit.


Selection guides are not drawing properly

Version: 0.8.0
OS: Windows 10 64 Bit
Description: In several areas where squares are drawn to show selections, a line is drawn through the icon diagonally instead of completing the box.

This looks like a problem with the NAS2D middleware Renderer::drawBox() function. I didn't think that had been changed, will have to look into it and get it corrected for the next version. All of the drawBox calls seem to have the same problem. It's visible on the mini map, the full-screen UI's and the FileIO windows.
Interestingly enough this issue isn't present in the debug build. Have a sneaking suspicion about where to look for this. Blah, how annoying -_-

This looks like a problem with the NAS2D middleware Renderer::drawBox() function. I didn't think that had been changed, will have to look into it and get it corrected for the next version. All of the drawBox calls seem to have the same problem. It's visible on the mini map, the full-screen UI's and the FileIO windows.
Interestingly enough this issue isn't present in the debug build. Have a sneaking suspicion about where to look for this. Blah, how annoying -_-

So this appears to have been resolved? I'm not sure if it was a compiler bug that lead to weirdness but building in release mode in the current version of Visual Studio 2019 with the latest pull from NAS2D (unmodified code) no longer shows this issue. I'll mark it as resolved for now since I can't replicate it anymore.

Is it possible an OpenGL state was being set in some prototype code that may have inadvertently affected the line drawing code? Or maybe a change to the Rectangle code that calculates corner points? Anyway, probably best to close unless it can be reproduced.

I'm not sure. What I discovered is that the code, unaltered, worked as expected in Debug but then broke in Release. By m removing the pre-calculated corners, specifically these lines in RendererOpenGL::drawBox():
	const auto adjustedCrossYPoint = rect.crossYPoint() + Vector{0.0f, 0.5f};
	const auto adjustedEndPoint = rect.endPoint() + Vector{0.0f, 0.5f};

I didn't get too deep into what was going on though I did notice in release if I tried to get the value of either of those variables they weren't available. Anyway, for the 0.8.0a build I just moved the expression into the drawLine() calls to get a quick fix.
Since then there have been three updates to Visual Studio and the problem vanished. There were a couple of updates to NAS2D's code but none in the Renderer as I recall, they were string functions I believe.
Anyway, since that build I have it in release with the unmodified NAS2D code and it works as expected so... I dunno? I can only guess some sort of compiler optimization may have gotten in the way, I know Microsoft has patched a number of things in the compiler so... yeah I dunno.
Serves as a good example of why I should actually run programs built in Release mode before actually bundling them and releasing. Assuming it works in Release because it works in Debug is a mistake that's bitten the ass of many weary developers.


Q: Other primitives?

Cool project.
How hard would it be to add arbitrary primitives?
It seems that building BVH would not require huge changes (as long as you have AABB, index and primitive type tag),
but traversal would seem to be messy because you have a potential divergence problem.
This is something that I often see swept under the rug (ie, everybody just assumes triangles). It would be good to see
a fairly performant traversal kernel for arbitrary primitives.
How would you tackle this? Two obvious ways are:

Call intersection function in the traversal inner loop (divergence problem if you have different primitives)
Combine leaf primitives by type and then call each intersection function

Thoughts?

I think building one BLAS for each primitive type and combining it with speculative while while like traversal algorithm will be the best option. Which is I think option 2 you are referring to here.

I was actually thinking about building one BLAS, but just before intersecting leaves, reorder rays per primitive-type.
I was thinking that maybe persistent threads approach may work here.

yeah that also sounds good too.


prepare_iso disable flags

This PR adds disable flags for Screen Sharing and Remote Management, the latter of which is currently required by #43 for VirtualBox to operate successfully.
The flag mechanism should be generally useful to selectively disable or enable additional features in the built DMG.

Thanks for taking the time to narrow down the culprit in #43. I think this is helpful to have as a configurable option anyway.
It'd be nice if there were a clean way to do this via the template instead but I don't think there's enough "infrastructure" in the build process for that right now, so your solution is totally fine.
It's been a while since I looked into the steps to automatically enable ARD via means other than kickstart, and I forget exactly what piece having /private/etc/RemoteManagement.launchd was a part of it. But if I understand correctly from #43, if anyone wants basic Screen Sharing enabled they can still set -D DISABLE_REMOTE_MANAGEMENT and just not have the ARD support, but still be able to connect via standard screen sharing with an IP.
Speaking as someone who uses ARD for some of the tasks for which it was designed (and loathes using it), if someone is using this repo they probably have pretty different needs.
I'm going to do a couple run-throughs with a Fusion build to verify but looks great!

Yeah, that's my understanding as well re Screen Sharing still being around. It's also possible to attach a background VM (like one Vagrant starts) to a screen session in VirtualBox 5.0 now—just launch the main UI and hit Show.

One other bit we can omit if DISABLE_REMOTE_MANAGEMENT is set:
https://github.com/zigg/osx-vm-templates/blob/39131584e81c5acbdef1471c1ca6b187b118a2e7/prepare_iso/support/pkg-postinstall#L45-L47
The condition above the dscl stuff could be moved down so that this is all done in one block.

Sounds good. I’ll add that this evening (handful of hours from now).

I moved the ARD permission grants under the flag, built and tested. Everything's working over here, including being able to attach via VNC to Screen Sharing without Remote Management on.

Great. Thanks for keeping the VirtualBox support cared-and-fed-for!


Rule 'PSDSCUseIdenticalMandatoryParametersForDSC' throws incorrect error

Steps to reproduce
Since the recent release, several tests in the SharePointDsc module fail with the following error:
The following PSScriptAnalyzer rule 'PSDSCUseIdenticalMandatoryParametersForDSC' errors need to be fixed:
MSFT_SPSearchContentSource.psm1 (Line 1): The 'Required' parameter 'ScheduleType' is not present in 'Get-TargetResource' DSC resource function(s).
MSFT_SPSearchContentSource.psm1 (Line 219): The 'Required' parameter 'ScheduleType' is not present in 'Set-TargetResource' DSC resource function(s).
MSFT_SPSearchContentSource.psm1 (Line 683): The 'Required' parameter 'ScheduleType' is not present in 'Test-TargetResource' DSC resource function(s).
The specified parameter however are parameters in subclasses, which should not be present in the *-TargetResource methods.
[ClassVersion("1.0.0")]
Class MSFT_SPSearchCrawlSchedule
{
    [Required, Description("How frequently should this crawl be run"), ValueMap{"None","Daily","Weekly","Monthly"}, Values{"None","Daily","Weekly","Monthly"}] String ScheduleType;
    [Write, Description("Monthly crawls only: Which day of the month should the crawl run on")] Uint32 CrawlScheduleDaysOfMonth;
    [Write, Description("Weekly crawls only: What days should the crawl be run on"), ValueMap{"Everyday", "Weekdays", "Weekends", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"}, Values{"Everyday", "Weekdays", "Weekends", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"}] String CrawlScheduleDaysOfWeek[];
    [Write, Description("Monthly crawls only: Which months should this crawl be run during"), ValueMap{"AllMonths", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"}, Values{"AllMonths", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"}] String CrawlScheduleMonthsOfYear[];
    [Write, Description("The hour of the day that the schedule should begin")] Uint32 StartHour;
    [Write, Description("The minute of the specified hour that the schedule should begin")] Uint32 StartMinute;
    [Write, Description("Specifies the number of times to repeat the crawl within a day")] Uint32 CrawlScheduleRepeatDuration;
    [Write, Description("Specifies the number of minutes between crawl repeats on a day")] Uint32 CrawlScheduleRepeatInterval;
    [Write, Description("For daily crawls, this is the number of days between crawls. For weekly this is the number of weeks between crawls")] Uint32 CrawlScheduleRunEveryInterval;
};

[ClassVersion("<IP_ADDRESS>"), FriendlyName("SPSearchContentSource")]
class MSFT_SPSearchContentSource : OMI_BaseResource
{
    [Key, Description("The name of the content source")] String Name;
    [Key, Description("The name of the search service app that this content source exists within")] String ServiceAppName;
    [Required, Description("The type of content source - currently only SharePoint, Website, File Shares and Business are supported"), ValueMap{"SharePoint","Website","FileShare","Business"}, Values{"SharePoint","Website","FileShare","Business"}] String ContentSourceType;
    [Write, Description("A list of the addresses this content source includes")] String Addresses[];
    [Write, Description("Should the crawler index everything, just the first site or page, or a custom depth (applies to websites only)"), ValueMap{"CrawlEverything","CrawlFirstOnly","Custom"}, Values{"CrawlEverything","CrawlFirstOnly","Custom"}] String CrawlSetting;
    [Write, Description("Should this content source use continuous crawl (SharePoint sites only)")] Boolean ContinuousCrawl;
    [Write, Description("What is the incremental schedule for this content source"), EmbeddedInstance("MSFT_SPSearchCrawlSchedule")] String IncrementalSchedule;
    [Write, Description("What is the full schedule for this content source"), EmbeddedInstance("MSFT_SPSearchCrawlSchedule")] String FullSchedule;
    [Write, Description("What is the priority on this content source"), ValueMap{"Normal","High"}, Values{"Normal","High"}] String Priority;
    [Write, Description("How many pages deep should the crawler go (-1 = unlimited, website sources only)")] Uint32 LimitPageDepth;
    [Write, Description("How many server hops should the crawler make (-1 = unlimtied, website sources only)")] Uint32 LimitServerHops;
    [Write, Description("Line of Business System and System Instance names")] String LOBSystemSet[];
    [Write, Description("Present if the source should exist, absent if it should not"), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] string Ensure;
    [Write, Description("Specify true if DSC is allowed to delete and recreate a content source to apply the correct settings, otherwise false will just report errors if a change can not be applied.")] Boolean Force;
    [Write, Description("POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5"), EmbeddedInstance("MSFT_Credential")] String InstallAccount;
};

Expected behavior
Not complaint about the missing parameters
Actual behavior
Gives false positives:
MSFT_SPSearchContentSource.psm1 (Line 1): The 'Required' parameter 'ScheduleType' is not present in 'Get-TargetResource' DSC resource function(s).
MSFT_SPSearchContentSource.psm1 (Line 219): The 'Required' parameter 'ScheduleType' is not present in 'Set-TargetResource' DSC resource function(s).
MSFT_SPSearchContentSource.psm1 (Line 683): The 'Required' parameter 'ScheduleType' is not present in 'Test-TargetResource' DSC resource function(s).

Environment data
Tests are running in AppVeyor with PSv5.1 and v1.18 of PSScriptAnalyzer

@ykuijs Thanks for reporting it. I can repro and approve that behaviour changed between 1.17.1 and 1.18.0 and I could already boil it down to a one line change in #1046
I need to take some time though to understand your use case to say if the behaviour is by design or not. I'd appreciate if you could try to explain it in a bit more detail please or in a more minimal example (that would be useful to write a test case for it, which we need to do for every fix anyway)

For several resources in SharePointDsc are we using subclasses, for example https://github.com/PowerShell/SharePointDsc/tree/dev/Modules/SharePointDsc/DSCResources/MSFT_SPExcelServiceApp
As you can see in the schema of SPExcelServiceApp, the MSFT_SPExcelFileLocation class is defined in the schema with a key parameter called Address. However this class is used as EmbeddedInstance for the parameter TrustedFileLocations. The TrustedFileLocations parameter IS declared in all *-TargetResource methods.
In PSSA v1.17 this setup was fine, but v1.18 PSSA now throws an error for all parameters in the subclass that are specified as "Key" or "Required" that they are not present in the *-TargetResource methods, which they are not supposed to.
Since we "borrowed" this setup from xWebsite in xWebAdministration, I guess tests in new PRs for this resource will fail as well.
I hope this explains the issue a little bit more. Let me know if you need more info!

FYI: As a workaround (so our PRs aren't blocked) I have disabled this specific test for the affected resources. If you fork SharePointDsc and run Invoke-ScriptAnalyzer on one of the resources to test/reproduce, you first have to remove the following line from all methods:
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSDSCUseIdenticalMandatoryParametersForDSC", "", Justification  =  "Temporary workaround for issue introduced in PSSA v1.18")]

Hmm, actually, by repro-ing locally (by cd-ing to the MSFT_SPSearchContentSource folder and calling Invoke-ScriptAnalyzer -Path ., it shows that in 1.17.1, PSSA threw a NullReferenceException, which got fixed by #1046, therefore the code  can actually proceed now 1.18.0, so I think the code change was not a regression in the sense that it was not causing this bug but it rather allowed the bug to be exposed. It seems that NullReference error (which might've been a non-terminating error) was swallowed by your CI tests. I am not very familiar with DSC and the person that wrote the rule initially, is not a maintainer any more. I'd appreciate it if you take a stab at looking at the logic of the rule here in the meantime if you want a quick fix, maybe you can see the fault in the logic? Most of this the logic in this repo was written in a minimum, viable way so it might be the case that the logic is too simple and needs to be enhanced... Building this repo is very easy, you just run build.ps1; Import-Module  .\out\PSScriptAnalyzer\PSScriptAnalyzer.psd1 and then you can call Invoke-ScriptAnalyzer and you can just attach Visual Studio to the PowerShell process to debug the code in that rule.

Just tried to reproduce and you are absolutely correct. I also get the NullReferenceException with v1.17.1. I am not very good with C# (I am an IT Pro guys, with a small Dev background :-)), but will try take a look at it and hopefully can figure out what needs to get changed.

I have found where the issue is coming from:
On line 259 of the UseIdenticalMandatoryParametersDSC.cs, the first class in the file is taken and the required parameters extracted:
https://github.com/PowerShell/PSScriptAnalyzer/blob/23a18f6dce49dc56f19615f1aadda0a78f922e1c/Rules/UseIdenticalMandatoryParametersDSC.cs#L259-L274
In our case, but also in xWebsite, the first class in the file is the subclass. When switching the order (placing the main class first), the rule isn't triggered.
Now for the solution:
Even though changing the order of the classes works, I think this is a workaround.
What I think should happen, is that the code should select the class which has "OMI_BaseResource" as CimSuperClassName instead of simply the first one:
https://github.com/PowerShell/SharePointDsc/blob/b1a38f6eb08757d99450aa6209989ed94a998d25/Modules/SharePointDsc/DSCResources/MSFT_SPExcelServiceApp/MSFT_SPExcelServiceApp.schema.mof
Unfortunately my C# skills aren't good enough to implement this myself. @bergmeister, can you assist with implementing this?

Awesome work. Yes, I'm happy to start implementing a fix to that, I will tag you in the PR when I'll open it (I hope in 1-2 days). This is a great example of team work :-)

@ykuijs  PSSA 1.18.1 has finally been released :-)
https://devblogs.microsoft.com/powershell/release-of-powershell-script-analyzer-1-18-1/

@bergmeister Thanks for letting me know!


Migrating ASP.NET Core 1.1 apps -> ASP.NET Core 2.0

@richlander opened this here: https://github.com/dotnet/core/issues/726
We need docs for this.
See: https://github.com/dotnet/core/issues/711#issuecomment-312377310

They exist: https://docs.microsoft.com/en-us/aspnet/core/migration/1x-to-2x/
Are they missing something you need?

@richlander will have to answer that. I am just making sure tracking bugs are in the right place.


Change LEC, SEM, etc to things like In-person

This is a shift from the old system to the new, and when people import a schedule, they will get the old-style data here.  It would be good to auto-convert these to save chairs the pain of hand editing every one of these, or the registrar's office the hassle of getting the wrong sort of data.

PR #269 closes this.


Components for Posts And Comments Created

-Renamed the title of the page in index.html from the template repo
-The App.js now renders a post/comment combo, as well as each component seperately.
-The added assets folder inside of src contains Content.js and the TeachLA placeholder logo
-Content.js contains the hardcoded text that we would want to add inside of posts/comments, this will eventually be part of our backend instead of inside of our front-end however.
-Inside the added components folder inside of src, there are two subfolders labeled comments and posts
- comments contain all the child components needed for rendering comments: (CommentSection, Question, and Answer)
-posts contains all the child components needed for rendering posts: (Post, PostHeader, PostText)
All styling was done with style objects at the bottom of each relevant component and done in px for now, we can fix and edit that later.

nt size, line height, bold text) - you should look to make reusable classes to reduce code duplication.

You have a few different components that render lists of components. It seems like you're mapping the input one-to-one with the output: in this case, you should use .map instead of creating an array and conditionally pushing to it.
There are a few weird shenanigans going on with how you're using null and checking for it - let me know if the comments make sense, this is a confusing part of JS.
minor copy changes re: PM meeting

Accidentally closed the pull request my b


awscli: move nixos test to installCheckPhase

Motivation for this change
see #143681
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Closes #143681

Please replace "Closes" with "For", so that the linked issue won't be auto-closed by this PR - we want to keep it open until all the relevant packages have been addressed.

Closes #143681

Please replace "Closes" with "For", so that the linked issue won't be auto-closed by this PR - we want to keep it open until all the relevant packages have been addressed.

Thanks. Looks like @figsoda has edited it already, thanks for editing.


[9.x] Eloquent With Performance Improvements

Reduce number of repeated calls to explode() in methods

Would need real world before and after benchmarks.


#1577 uses file.conf in system file

#1577

Codecov Report

Merging #1597 into master will increase coverage by 12.25%.
The diff coverage is 41.3%.

@@              Coverage Diff              @@
##             master    #1597       +/-   ##
=============================================
+ Coverage     34.15%   46.41%   +12.25%
+ Complexity     2183     1713      -470
=============================================
  Files           431      350       -81
  Lines         23552    12829    -10723
  Branches       3289     1616     -1673
=============================================
- Hits           8045     5955     -2090
+ Misses        14413     6226     -8187
+ Partials       1094      648      -446

Impacted Files
Coverage Δ
Complexity Δ

...in/java/io/seata/server/session/BranchSession.java
78.19% <ø> (ø)
41 <0> (ø)
:arrow_down:

...o/seata/rm/datasource/sql/struct/TableRecords.java
73.77% <ø> (ø)
13 <0> (ø)
:arrow_down:

...in/java/io/seata/server/session/GlobalSession.java
84.61% <ø> (+4.8%)
67 <0> (+8)
:arrow_up:

...java/io/seata/rm/datasource/ConnectionContext.java
13.33% <ø> (ø)
3 <0> (ø)
:arrow_down:

...n/java/io/seata/codec/protobuf/ProtobufHelper.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...src/main/java/io/seata/server/ParameterParser.java
53.57% <ø> (-1.61%)
6 <0> (ø)

...ava/io/seata/core/constants/ConfigurationKeys.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

.../src/main/java/io/seata/core/protocol/Version.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...ain/java/io/seata/core/rpc/netty/NettyPoolKey.java
86.48% <ø> (ø)
8 <0> (ø)
:arrow_down:

server/src/main/java/io/seata/server/Server.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

... and 118 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 0945681...6c7df96. Read the comment docs.


Move uploader init above PackingPlan creation to fix NPE

I ran into a corner case when submitting a topology that generated a bad PackingPlan (in this case, I was setting component RAM to 128mb instead of the minimum 192):
[2017-07-19 14:04:17 -0400] [INFO] com.twitter.heron.statemgr.zookeeper.curator.CuratorStateManager: Closing the CuratorClient to: localhost:64618
[2017-07-19 14:04:17 -0400] [FINE] org.apache.curator.framework.imps.CuratorFrameworkImpl: Closing
[2017-07-19 14:04:17 -0400] [FINE] org.apache.curator.CuratorZookeeperClient: Closing
[2017-07-19 14:04:17 -0400] [FINE] org.apache.curator.ConnectionState: Closing
[2017-07-19 14:04:17 -0400] [INFO] com.twitter.heron.statemgr.zookeeper.curator.CuratorStateManager: Closing the tunnel processes
[2017-07-19 14:04:17 -0400] [FINE] com.twitter.heron.scheduler.SubmitterMain: Exception when submitting topology
java.lang.NullPointerException
        at com.twitter.heron.uploader.s3.S3Uploader.undo(S3Uploader.java:236)
        at com.twitter.heron.scheduler.SubmitterMain.submitTopology(SubmitterMain.java:464)
        at com.twitter.heron.scheduler.SubmitterMain.main(SubmitterMain.java:336)

[2017-07-19 14:04:17 -0400] [ERROR]: null
[2017-07-19 14:04:17 -0400] [ERROR]: Failed to launch topology 'feeds-processor'
[2017-07-19 14:04:17 -0400] [INFO]: Elapsed time: 14.145s.

This NPE was covering the reason the topology actually wouldn't submit, because it was being thrown in the catch block of SubmitterMain.submitTopology():
} catch (LauncherException | PackingException e) {
 // we undo uploading of topology package only if launcher fails to
 // launch topology, which will throw LauncherException or PackingException
 uploader.undo(); // << -- here
 throw e;
} finally {
 SysUtils.closeIgnoringExceptions(uploader);
 SysUtils.closeIgnoringExceptions(launcher);
 SysUtils.closeIgnoringExceptions(statemgr);
}

It happens because SubmitterMain.uploadPackage() (which calls IUploader.initialize()) is only called AFTER the packing plan is generated.  If a PackingException is thrown, uploader.undo() is called on an uninitialized uploader.
Initializing the uploader at the beginning of the try block in SubmitterMain.submitTopology() fixes the problem, and uncovered the true problem with my topology:
[2017-07-19 14:53:21 -0400] [FINE] org.apache.curator.ConnectionState: Closing
[2017-07-19 14:53:21 -0400] [INFO] com.twitter.heron.statemgr.zookeeper.curator.CuratorStateManager: Closing the tunnel processes
[2017-07-19 14:53:21 -0400] [FINE] com.twitter.heron.scheduler.SubmitterMain: Exception when submitting topology
com.twitter.heron.spi.packing.PackingException: Invalid packing plan generated. A minimum of ByteAmount{192 MB (201326592 bytes)} ram is required, but InstancePlan for component 'CassandraWriterBolt' has ByteAmount{128 MB (134217728 bytes)}
        at com.twitter.heron.packing.roundrobin.RoundRobinPacking.validatePackingPlan(RoundRobinPacking.java:330)
        at com.twitter.heron.packing.roundrobin.RoundRobinPacking.pack(RoundRobinPacking.java:150)
        at com.twitter.heron.scheduler.utils.LauncherUtils.createPackingPlan(LauncherUtils.java:66)
        at com.twitter.heron.scheduler.SubmitterMain.submitTopology(SubmitterMain.java:446)
        at com.twitter.heron.scheduler.SubmitterMain.main(SubmitterMain.java:336)

I suppose this could affect other uploaders as well?

@billonahill just accepted

LGTM.


Should implementation check whether D/A/U bits of non-leaf PTEs are zero?

In "riscv privileged architects" 4.3.1, it is said that "For non-leaf PTEs, the D, A, and U bits are reserved for future standard use. Until their use is defined by a standard extension, they must be cleared by software for forward compatibility."
Should implementation check whether D/A/U bits of non-leaf PTEs are zero and report page fault?

Please see step 3 of the virtual address translation process in section 5.3.2 that specifies:

If pte.v=0, or if pte.r=0 and pte.w=1, or if any bits or encodings that are reserved for future standard use are set within pte, stop and raise a page-fault exception corresponding to the original access type.

PS: Section number 4.3.1 is 5.3.1 in the latest manual.


Must document API and improve documentation for development

Done for IMAS.jl

Now need to do for FUSE.jl itself


Support for Returning Const Object Pointers in C++ Modules?

To my knowledge, at present it is not possible to return const object pointers in methods bound in _bind_methods().
For example, let's say I have two classes which derive from Object, "Civilization" and "Player".
The "Player" class contains a const Civilization *civilization member variable, with the following getter:
	const Civilization *get_civilization() const
	{
		return this->civilization;
	}

This getter is then bound via _bind_methods():
	ClassDB::bind_method(D_METHOD("get_civilization"), &Player::get_civilization);

Unfortunately, this setup causes a compile error, as only methods returning non-const pointers can be bound that way. It would be nice if const pointers could be returned as well, becoming constants in the context of gdscript.

Did you try to wrap those in Ref<Civilization>? Check existing code of the engine itself, that's how Objects are being passed around.

GDScript const does not work the same as C++ const. Even if it was made to, there are more languages that do not support this concept of head const.

@akien-mga The object pointer in itself works fine, it's only const pointers that don't. The equivalent for references would be Ref, but that doesn't seem to be used anywhere in the Godot source code (and I'm not sure the Ref class would even support that). It seems to me that the reason is that the Variant class only has a constructor that takes "Object *", but none that takes "const Object *". I could of course use a const_cast (it's what I'm doing at the moment), but that would weaken the advantages of using a const pointer for the member variable in the first place.
@neikeq My mistake, I hadn't realized that const in GDScript can only be used for constant expressions, and that it isn't possible to have a const object.
Since GDScript's const doesn't work in the same way as in C++, it's probably better for things to remain as they are, and to not have const Object pointers be convertible to Variants. Otherwise, the object would have to be made modifiable for it to work with GDScript properly (e.g. via a const_cast), which would run against the expectations of returning a const pointer. As such, I'm closing this issue. Thanks to both of you for your responses!


Release Google.Cloud.Trace.V2 version 2.3.0

Changes in this release:

Commit ac367e2: feat: Regenerate all APIs to support self-signed JWTs

Created release for Google.Cloud.Trace.V2-2.3.0


Feature Request: list related commands for cf help <command>

The commands I keep in the back of my mind are cf help and cf help <command>.
I find myself wishing cf help <command> would give a list of related commands would appear so that I don't always have to scan through cf help for the name of the command I want to look up.
E.g. cf help services gives
NAME:
   services - List all service instances in the target space

ALIAS:
   s

USAGE:
   cf services

and I'd like it to also include
RELATED COMMANDS:
   marketplace, service, create-service, update-service, delete-service, rename-service, bind-service, unbind-service

So that I know my next help command should be cf help bind-service.
Is this something that is in the works? If I created a pull request, is this something that would be merged in?

Yes - this is part of the overall strategy for refactoring cf help to be more helpful.
https://www.pivotaltracker.com/story/show/82977390
It's coming soon.


Performance issues when updating to nuqs latest version

Context
What's your version of nuqs?
^1.17.1

Next.js information (obtained by running next info):
next: 14.0.4

Are you using:

❌ The app router
✅ The pages router
❌ The basePath option in your Next.js config
❌ The experimental windowHistorySupport flag in your Next.js config

Description
After updating from next-usequerystate ^1.10.0 to nuqs ^1.17.1, app became very slow (sometime unresponsive), high memory usage, many unnecessary re-renders.
However, once discard the changes and revert to the old version, everything runs smooth, and none of the render issues take place.

I would strongly recommend updating Next.js to 14.1.2 or later, as versions in the 14.0.1 to 14.1.1 range had issues with shallow routing, # see the known issues for more details.
If the problem persists, could you provide a minimal reproduction example please?

Closing the issue, performance is back as expected with NextJS version 14.2


Litmos Source Field

What value should be put in the Litmos Source field when setting the plugin up on a Wordpress site?

The Litmos Source field can be a free text description of your app. Usually a company or product name.


Clean up the connectivity.libp2p.io site using zola

This could also use some love. The current page is buggy and needs to be switched to a better management system. Ideally the status would be fed by a status table in the README.md of each implementation.


Include instruction to clone git repo to Quickstart Instructions

The Quickstart guide should include a note to clone the async-apim repo and the directory that the start.sh can be found either as part of the Prerequisites or first thing in the Setup section.

added.


[WIP] - Add FetchBlocksMetadataRawV2 endpoint

Coverage increased (+0.09%) to 78.14% when pulling 734dd330672147255b4384c52d9cea417ac63421 on richardartoul:ra/peer_bootstrap_endpoint_code into c6b20edc00dc2bd56dceadd77188014ee33f469c on m3db:master.

Coverage increased (+0.008%) to 78.053% when pulling 2d43575c8094589c3e81f00e8820cc30e106cd29 on richardartoul:ra/peer_bootstrap_endpoint_code into c6b20edc00dc2bd56dceadd77188014ee33f469c on m3db:master.

Coverage increased (+0.06%) to 78.103% when pulling 2d43575c8094589c3e81f00e8820cc30e106cd29 on richardartoul:ra/peer_bootstrap_endpoint_code into c6b20edc00dc2bd56dceadd77188014ee33f469c on m3db:master.

Coverage increased (+0.08%) to 78.125% when pulling<PHONE_NUMBER>e2326e656bf27f899c3410765da0bd on richardartoul:ra/peer_bootstrap_endpoint_code into c6b20edc00dc2bd56dceadd77188014ee33f469c on m3db:master.

Coverage decreased (-0.01%) to 78.032% when pulling<PHONE_NUMBER>e2326e656bf27f899c3410765da0bd on richardartoul:ra/peer_bootstrap_endpoint_code into c6b20edc00dc2bd56dceadd77188014ee33f469c on m3db:master.

Coverage increased (+0.03%) to 78.079% when pulling 197b6320fedf2c35d8c26ab1aa64e756eb53c350 on richardartoul:ra/peer_bootstrap_endpoint_code into c6b20edc00dc2bd56dceadd77188014ee33f469c on m3db:master.

Coverage increased (+0.03%) to 78.079% when pulling 197b6320fedf2c35d8c26ab1aa64e756eb53c350 on richardartoul:ra/peer_bootstrap_endpoint_code into c6b20edc00dc2bd56dceadd77188014ee33f469c on m3db:master.

Coverage increased (+0.03%) to 78.079% when pulling 197b6320fedf2c35d8c26ab1aa64e756eb53c350 on richardartoul:ra/peer_bootstrap_endpoint_code into c6b20edc00dc2bd56dceadd77188014ee33f469c on m3db:master.

Hey @richardartoul seems metalint is failing?
network/server/tchannelthrift/node/service.go:881:19:warning: func (*service).finalizeFetchBlocksMetadataRawV2Result is unused (U1000) (unused)

@robskillington Yeah I just forgot to remove that when I went back to using the struct that implements the Finalize() interface. Should be good now

You could land the badtime PR first and then this last test that is failing will get skipped and metalint should also be fixed.

@robskillington Sounds good, thanks for fixing that other test. By switching it to adhoc we're skipping it entirely right? Is it an important test?

Yeah, its unfortunate we have to skip it.  It's mainly just to see that the server boots from a config file.
Travis kills the test with SIGKILL (you see "signal: killed" in logs) and its not clear why, I don't think its memory as it only ever hits 900mb on my machine for that test and Travis has 7.5gb (also integration tests get up to 3-3.5gb so that supports the case its not running out of memory).


Gradle build in Azure Devops Failure

I'm using Gradle task in Azure Devops build pipeline. Since today I'm facing failures in Gradle build. Please assess the build log mentioned below:
Starting: Run Build PROJ
==============================================================================
Task         : Gradle
Description  : Build using a Gradle wrapper script
Version      : 2.178.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/build/gradle
==============================================================================
##[warning]Resource file has already set to: /home/vsts/work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/2.178.0/node_modules/azure-pipelines-tasks-codecoverage-tools/module.json
##[warning]Resource file has already set to: /home/vsts/work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/2.178.0/node_modules/azure-pipelines-tasks-codecoverage-tools/module.json
##[warning]Resource file has already set to: /home/vsts/work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/2.178.0/node_modules/azure-pipelines-tasks-codecoverage-tools/module.json
##[warning]Resource file has already set to: /home/vsts/work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/2.178.0/node_modules/azure-pipelines-tasks-codecoverage-tools/module.json
##[warning]Resource file has already set to: /home/vsts/work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/2.178.0/node_modules/azure-pipelines-tasks-codecoverage-tools/module.json
SYSTEMVSSCONNECTION exists true
/home/vsts/work/1/s/proj/gradlew -PbuildEnv=alpha -PsetUp=cloud build
Downloading https://services.gradle.org/distributions/gradle-5.4.1-bin.zip
...................................................................................

Welcome to Gradle 5.4.1!

Here are the highlights of this release:
 - Run builds with JDK12
 - New API for Incremental Tasks
 - Updates to native projects, including Swift 5 support

For more details see https://docs.gradle.org/5.4.1/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':proj'.
> Could not resolve all dependencies for configuration ':proj:classpath'.
   > Could not determine artifacts for org.springframework.boot:spring-boot-gradle-plugin:2.2.0.RELEASE: Skipped due to earlier error

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 8m 4s
Error: The process '/home/vsts/work/1/s/proj/gradlew' failed with exit code 1
    at ExecState._setResult (/home/vsts/work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/2.178.0/node_modules/azure-pipelines-task-lib/toolrunner.js:816:25)
    at ExecState.CheckComplete (/home/vsts/work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/2.178.0/node_modules/azure-pipelines-task-lib/toolrunner.js:799:18)
    at ChildProcess.<anonymous> (/home/vsts/work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/2.178.0/node_modules/azure-pipelines-task-lib/toolrunner.js:721:19)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:920:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
No test result files matching /home/vsts/work/1/s/**/TEST-*.xml were found, so publishing JUnit test results is being skipped.
##[error]Error: The process '/home/vsts/work/1/s/proj/gradlew' failed with exit code 1
Finishing: Run Build PROJ

Expected Behavior
This build task usually takes almost 5 mins. And it was working fine till yesterday.
Current Behavior
Currently, build task is taking more than 20 minutes to complete and still fails.
Your Environment
Azure Devops

Thank you for your interest in Gradle!
This issue lacks information and/or a reproducer to track down the problem. Also please consider upgrading to a more recent version of Gradle and see if you can reproduce the problem.


TypeScript doesn't seem to work outside of src folder

🐛 Bug report
Using the with-typescript example, I have a config.ts file outside of the src folder. When i import this file inside of src/index.ts file, ts checker fails with error:
Module parse failed: Unexpected token (1:17)\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.
Is there any way to make this work?
Reproducible example
https://github.com/MahmoodBawazir/razzle-with-typescript
Your environment

Software
Version(s)

Razzle
4.2.15

Razzle Plugins
none

Node
16.3.0

Browser
chrome

npm/Yarn
yarn

Operating System
mac

TypeScript
^4.0.3

React
^17.0.1

tried include in tsconfig?

try setting basedir in compileroptions to .

looks like razzle doesnt allow anything other than src for baseUrl. and tried setting rootDir to . didn't work either)

https://codesandbox.io/s/interesting-lederberg-oxi2lc - heres the link for codesandbox i am playing with

https://github.com/jaredpalmer/razzle/blob/master/packages/razzle/config/modules.js
https://github.com/jaredpalmer/razzle/blob/master/packages/razzle/config/createConfigAsync.js#L292

https://razzlejs.org/docs/customization#transpilation-of-external-modules


Check: Migrate all balances, amounts and prices to use strings

As we have now implemented int256 support in the core, we now need to make sure we use strings to represent those values as they come in and out via protobuf messages.

I've just checked the different proto and couldn't find any prices, amounts, balance, offset, deltas, or anything price related of some sorts not using strings anymore.


Routing

please consider areas, that map to a wasm enterypoint

This is done sufficiently for 0.0.1 (and didn't require DI yet).
The built-in BrowserRouter uses the convention that URLs match the corresponding component type name. For example http://yoursite/products/list might match MyApp.Pages.Products.List. If you want to change that convention, you can subclass BrowserRouter and override the method that finds the component for a given URL.
There's also a NavLink component that can be used in place of <a> elements. It behaves the same as an <a> element (accepts arbitrary attributes, child markup, etc.), except it toggles its own active CSS class based on whether it matches the current URL. This is so you can highlight the active navigation position.
Future things we might consider:

URL pattern matching (e.g, /products/{id})
Some equivalent to attribute routing, so components can specify their own URL patterns instead of it all being in a central location
Outbound URL generation (e.g., <a page=@About />)
Multiple nested routers


PR: Don't pass sys.argv to get_options if not running tests

@CAM-Gerlach, could you quickly review this one? I don't understand very well why you decided to pass sys.argv to get_options when not running our tests.
Fixes #12313

Thanks for the review @CAM-Gerlach!


Question: how do I camelCase my resource types?

 However, if I name the resource type endusers / end-users / end_users, the endpoint returns the right data.
Edit: clarify

Hi! That is a very good question as I've never tried it before. It should obviously work but as I've never tried it I don't know for sure. I'll take a look at adding in tests to ensure it works and hopefully flush out whatever bug you've found.

Ah perfect, I'll create a pull request if I find a solution anytime soon.

Maybe I should add that we use different ResourceProviders as we are developing Laravel packages that use this package.

It certainly has something to do with the groupAction() method in the ResourceGroup class, where the 'prefix' string is dasherized using the Str::dasherize() method. Removing it doesn't resolve the issue though. We'll use dasherized endpoints for now.

@faraoban as far as i can tell removing the dasherize from within the resource group solves this. The integration test in the above commit was failing before i changed that line and passes after.
I think this should now work but if you were able to confirm it's working for you that would help.

@faraoban have closed this as I hadn't heard back from you. As far as I'm aware the problem is fixed. If not, please re-open the issue.


Add a person's webid (solid id) to the contacts individual view pane

As a string the user can edit, (using the NamedNodeURIU form element probabvly)

This looks like a fairly straightforward user interface problem, but the logic behind it is remarkably non-obvious, as it it begs the question of to store webids in contacts.

Just adding something like  <#this> solid:webid <http://....foo> . to a contact card seems obviously a logical thing to do
Adding vcard:url [ vcard:type "WebId"; value <https://...foo> ] . is useful as it a round trips with for example the Mac AddressBook software.
But in fact when you use a webid in a  group to in the ACL system, then that webid has to be used directly as the group member, like <#freinds> vcard:hasMember <https://.... foo> . So that doesn't connect immediately to the local contact data.
You can use owl:sameAs to link the persons webID and the person in the  address book card, so you get that connection.  So you could use that also in the contact card itself as a record of the webid.

Maybe a local index of external webids would be a good idea.

Right!
In order to build a people-picker for adding webId's into the ACL system, we need a way do determine if a given URI is a WebID. When I look through https://michielbdejong.solidcommunity.net/profile/card#me I can tell that I have a storage, an inbox, preferences, but I don't see any mention of webid-oidc. That means that given an addressbook  entry with pointers to both https://michielbdejong.com/#about and https://michielbdejong.solidcommunity.net/profile/card#me, there's no good way of knowing which one is usable in webid-oidc and which one is not.
So adding <#this> solid:webid <http://identity.com/#foo> . in the addressbook entry helps, but I would then also like to add
<#foo> a solid:Webid . to http://identity.com/ maybe?
I think the index should only be necessary if you have so many contacts that you can't load them all into rdflib at the same time?

So given a URI that describes a human being,
is there a mechanism for determining whether that URI will be usable as a webid-oidc identity or not?
cc @RubenVerborgh @jaxoncreed @justinwb - maybe you remember?

is there a mechanism for determining whether that URI will be usable as a webid-oidc identity or not?

All URIs can be usable within WebID-OIDC. All it takes is the profile document indicating trust for a certain OIDC provider via solid:oidcIssuer.

That's the one, thanks. It seems to be missing from https://github.com/solid/node-solid-server/blob/master/default-templates/new-account/profile/card%24.ttl, I'll add it (back) there.
The people-picker for ACLs can check for that, and the contacts-pane can display an icon when it's present.

The default is that, for a WebID of https://xyz.abc/foo/bar#me, https://xyz.abc is a trusted OIDC issuer.
It should also work for cases where the domains are different, however, this has been broken for over a year now on NSS.
For instance, my WebID is https://ruben.verborgh.org/profile/#me but my OIDC issuer is https://drive.verborgh.org

Has that been raised as an issue on NSS? Is it on a solid test suite so other servers will do it?

@timbl Issue at https://github.com/solid/node-solid-server/issues/1244
Not aware of a test for this, but I will certainly keep this in mind as it prevents me from using Solid with my actual WebID.

But getting back to the issue, this is about me keeping track of my contacts' webids.   This has been done to date in a VCARD-compatible way:
:this  a vcard:Individual;
   vcard:url [ a vcard:WebId; vcard:value "https://ruben.verborgh.org/profile/#me" ] .

This will then show up in your Apple contacts phone iPhone or Mac as
WebId: https://ruben.verborgh.org/profile/#me
and it can be added there too in the Contacts UI.
Yes, It is interesting that logically when you look up someone in their solid profile there is nothing to say that that is a webid.

But the issue of how I put public stuff about my own webid in my public profile is very close and overlapping.
Of course there is also in the contacts ontology
:preferredURI a rdf:Property;
    rdfs:label "preferred";
    rdfs:comment """A string which is the URI a person, organization, etc, prefers that people use for them.""".

Note is correctly talks about the string "https://ruben.verborgh.org/profile/#me" not the thing identified by the string <https://ruben.verborgh.org/profile/#me>
What is doesn't say is whether that string as a URI is good for.  Can I give you access to things in an ACL with it?   Can I make a new chat and ping your inbox about it?   For now we must just assume it can be used for all those.

Also raised this issue/need at https://gitter.im/solid/chat?at=59f890fce44c43700a9dc81f (2017) - see short conversation following. Tangentially related and what's in practice re linking an non-webid identifier with webid: https://csarven.ca/linked-research-decentralised-web#orcid-sameas-webid .. but it is actually missing the webid reference that I was looking for.
This is important because ( https://gitter.im/solid/chat?at=59aff8b8b16f264642106d19 , https://gitter.im/solid/chat?at=59f9ed634ff065ac18a211eb ) it can bootstrap existing ids to Solid stuff. So, apparently, I did propose acl:owner (or alike) to connect agents (the one that "owns", controls..)... which somehow made it into ACL vocab after all.

Closed - fixed in https://github.com/solid/contacts-pane/pull/23


OrganizationSwitcher UI suggestions

Preliminary Checks

[X] I have reviewed https://clerk.com/docs for existing features that would solve my problem

[X] I have searched for existing feature requests: https://github.com/clerkinc/javascript/issues

[X] This issue is not a question, general help request, or anything other than a feature request directly related to Clerk. Please ask questions in our Discord community: https://clerk.com/discord.

Description
Noticed a couple spots the switcher can be improved. Feel free to close if this isn't the correct forum to post something like this.

Remove grey divider under "Manage Organization" when there's nothing to display under that divider.

Vertically center the switcher <button/> inside the parent <div/>.

Affected Packages
@clerk/clerk-js

Hi, I would like to work on it, can you assign it to me

@Alone-Y154 - you got it! appreciate the willingness to jump in. Please let us know if you need any help/guidance 😁


Installing from git clone: can't find contrib.hooks

Following the instructions for installing from github and running "wok" in the docs directory gives the following error message:
ImportError: No module named contrib.hooks
Modifying line 178 in engine.py and recompiling appears to fix the issue.
# sys.path.append('hooks')
sys.path.append('contrib')
I'm running Ubuntu 11.10 and Python 2.7.

@gchriz, that worked. @mythmon, do you mind resolving the issue like that?


The resolution goes from 1366x768 to 1360x768

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: Debian
scrcpy version: 2.4
installation method: manual build
device model: SM-918B
Android version: 14

Describe the bug
The screen resolution is 1366x768, but the texture resolution is set to 1360x768? This makes the screen look really blurry with no way to fix it.
The screen is a virtual screen created from an option called 'Simulate secondary displays' in 'Developer options` with 1080p resolution. Then the resolution is changed through an app called 'SecondScreen'  from the play store(I could give more info on the app if needed).
I looked through other people's logs and they also seem to be doing the same thing (only on this resolution).
Is there a way to set it to the correct resolution?
Also thank you for the awesome software!
Output of scrcpy --list-displays:
scrcpy 2.4 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO:     -->   (usb)  R5CWC05MXTX                     device  SM_S918B
/usr/local/share/scrcpy/scrcpy-server: 1 file pushed. 4.5 MB/s (69007 bytes in 0.015s)
[server] INFO: Device: [samsung] samsung SM-S918B (Android 14)
[server] INFO: List of displays:
    --display-id=0    (1440x3088)
    --display-id=27    (1366x768)

Terminal log:
scrcpy 2.4 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO:     -->   (usb)  R5CWC05MXTX                     device  SM_S918B
/usr/local/share/scrcpy/scrcpy-server: 1 file pushed. 7.4 MB/s (69007 bytes in 0.009s)
[server] INFO: Device: [samsung] samsung SM-S918B (Android 14)
[server] WARN: Display doesn't have FLAG_SUPPORTS_PROTECTED_BUFFERS flag, mirroring can be restricted
INFO: Renderer: opengl
INFO: OpenGL version: 4.6 (Compatibility Profile) Mesa 24.0.3-1pop1~1711635559~22.04~7a9f319
INFO: Trilinear filtering enabled
INFO: Texture: 1360x768
[server] WARN: Could not get initial audio timestamp

Im not sure if it is visible from the screenshot :P But you can tell that it is not the right resolution from the tiny 6 pixels worth of black bars around the screenshot.

Is there a way to set it to the correct resolution?

Use a resolution multiple of 8. It always rounds down to a multiple of 8 because it is a requirement of many encoders.

But then I would still not be able to go into fullscreen since the my display's resolution is 1366x768 and it looks really bad with that resolution. If I change the encoder would that fix it?
Thank you a lot for replying so fast!

Try removing all & ~7:
https://github.com/Genymobile/scrcpy/blob/206809a99affad9a7aa58fcf7593cea71f48954d/server/src/main/java/com/genymobile/scrcpy/Options.java#L297
https://github.com/Genymobile/scrcpy/blob/206809a99affad9a7aa58fcf7593cea71f48954d/server/src/main/java/com/genymobile/scrcpy/ScreenInfo.java#L116-L128

It did work! tysm!
Why not add the changes to main? Would be too dangerous? Or maybe an option to disable the rounding?
Anyway, thank you a lot.

Why not add the changes to main?

I think that many encoders fail with non-multiple of 8 (at least that was the case some years ago).

Or maybe an option to disable the rounding?

Yes, an option --size-rounding= would be useful:

only accepts powers of two
the default would be 8
to avoid any rounding, use --size-rounding=1

Do you want to work on it?


docs: update docs for go files

Type of change

Bug fix
New feature
Improvement (improvement to code, performance, etc)
Test update
Documentation update

Description

Additional details

Related issues

See the contributing guide for why the PR build has failed the DCO check.


Fix PHP version comparison

So that it doesn't break clients without a "-" in the version number.

Thanks for this contribution!


Update DG use cases and Fix DG markdown bug

Changes:

Update use cases for DG to be more consistent
Added use cases for new features that were not added previously
Reordered test cases
Fixed minor markdown bug

Issues:

Resolves #254
Resolves #260

Codecov Report

Merging #262 (20065d2) into master (3346b83) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #262   +/-   ##
=========================================
  Coverage     75.78%   75.78%
  Complexity      823      823
=========================================
  Files           121      121
  Lines          2288     2288
  Branches        253      253
=========================================
  Hits           1734     1734
  Misses          502      502
  Partials         52       52

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 3346b83...20065d2. Read the comment docs.


adding id-token write permission for code review action

Codecov Report
Patch and project coverage have no change.

Comparison is base (2de636f) 68.88% compared to head (19fdb8a) 68.88%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #394   +/-   ##
=======================================
  Coverage   68.88%   68.88%
=======================================
  Files          15       15
  Lines        1671     1671
=======================================
  Hits         1151     1151
  Misses        399      399
  Partials      121      121

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Update the desciption of the developer setup

The current developer setup description is outdated and also contained several errors. Also there were different descriptions in the handbook and on the Download page. This PR fixes and updates the description in the handbook, and simply links to the handbook article from the download page.

Thanks for finding those problems! I pushed a fix

It says:
Error: Could not find the file 'developer/Downloading and Building.md' from the handbook nav

Yes, but I don't know what that means. It works fine locally. I guess a reference needs to be updated somewhere, but I have no clue where... The only files that I found referencing the file appear to be generated.

Yes, but I don't know what that means. It works fine locally. I guess a reference needs to be updated somewhere, but I have no clue where... The only files that I found referencing the file appear to be generated.

Will look into it!

@lhstrh did you have a look at the problem. I am inclined to simply revert the renaming and merge.

Are you sure that the link to the page that you created reflects the revert?

I am not sure what you mean, but yes all the links work fine and I double-checked them on the live version of the website. I don't understand at all why the name of the markdown file matters, as everything is generated from it, and it indicates its permalink with permalink: /docs/handbook/developer-setup.
Also locally everything works fine weather I rename the markdown file or not. So it seems like there might be something wrong with the CI setup.


MM-44871 : Navigate to global header searchbar using F6

Summary
Navigate to global header searchbar using F6
Ticket Link
Fixes : https://github.com/mattermost/mattermost-server/issues/21257
JIRA: https://mattermost.atlassian.net/browse/MM-44871
Related Pull Requests
None
Screenshots
None
Release Note
Navigate to global header searchbar using F6

Hello @AbhinavVihan,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

@AbhinavVihan closing this as per discussion


ExceptionTransformingCallable not propagating details from Status object in thrown ApiException

https://github.com/googleapis/gax-java/blob/master/src/main/java/com/google/api/gax/grpc/ExceptionTransformingCallable.java#L90

Confirmed to be a server side issue. The details object is not transferred on the client side in an appropriate  form, so there is nothing to propagate.


fix(test): fixing the CA integration tests on the initial tx schema change

Description
This PR fixes the integration test on the recent initial tx schema change in https://github.com/reown-com/blockchain-api/pull/872. This will fix the CI/CD integration tests for the CA.
How Has This Been Tested?
Tested by running the updated tests on the production URL.

Due Diligence

[ ] Breaking change
[ ] Requires a documentation update
[ ] Requires a e2e/integration test update

A co ja mam podać swój adres portwela. To jest zimny portfel po moim tacie. W spadku dostalem


ValueError: DelphiFMX module not found

I am encountering difficulties when attempting to run my program, which was compiled with Nuitka on Python 3.11.
Nuitka version:
python -m nuitka --version
2.0rc1
Commercial: None
Python: 3.11.6 (tags/v3.11.6:8b6ee5b, Oct  2 2023, 14:57:12) [MSC v.1935 64 bit (AMD64)]
Flavor: CPython Official
Executable: C:\311\python.exe
OS: Windows
Arch: x86_64
WindowsRelease: 10
Version C compiler: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\Hostx64\x64\cl.exe (cl 14.3).
How did you install Nuitka and Python:
python -m pip install -U "https://github.com/Nuitka/Nuitka/archive/develop.zip"
The specific PyPI names and versions:
python -m pip freeze>PyPI_names_versions.txt
PyPI_names_versions.txt
The program uses DelphiFMX and can be run successfully before being compiled with Nuitka.
https://pypi.org/project/delphifmx/
Example that reproduces the issue:
Project3.zip
Run: python Project3.py
And the following window will show up.

The command used to compile the program was:
python -m nuitka --standalone Project3.py
When attempting to run the compiled Project3.exe, an error occurred stating "ValueError: DelphiFMX module not found".
C:\d4p\b>Project3.exe
Traceback (most recent call last):
File "C:\d4p\b\Project3.py", line 1, in
File "", line 1176, in find_and_load
File "", line 1147, in find_and_load_unlocked
File "", line 690, in load_unlocked
File "C:\d4p\b\delphifmx_init.py", line 96, in
File "C:\d4p\b\delphifmx_init.py", line 81, in new_import
File "C:\d4p\b\delphifmx_init.py", line 59, in find_extension_module
ValueError: DelphiFMX module not found.             Try to reinstall the delphifmx package or check for support compatibility.
Screenshot of error messages

Seems like an implicit dependency, the example seems good. Please avoid screenshots, they hurt my eyes.

ValueError: DelphiFMX module not found.Try to reinstall thedelphifmx package or check for support compatibility.

I wonder if this is related to Delphi, a RAD tool I used last century?

I have added the DLLs and encountered a SystemError because the data file .pyfmx was not included, very ugly by upstream, please poke them to handle file not found more elegantly, or maybe I was blind. I will have a fix for you shortly.

So, on factory there is a change that will make it work on Windows. I still need to add Linux and macOS, but for that I need to find the chance, and also think of a way how to e.g. put test cases in Nuitka-Watch (our monitoring tool) that are to be executed randomly and not regularily, and might need fixes, as that would make it easier to queue these things.
Thanks for your report, this is fixed on the factory branch, which is a development version under rapid development. You can try it out by going here: https://nuitka.net/doc/factory.html
Feedback if this is working is very welcome, just please do not share plans of doing it, but rather confirmations or denials of it working.

So, on factory there is a change that will make it work on Windows. I still need to add Linux and macOS, but for that I need to find the chance, and also think of a way how to e.g. put test cases in Nuitka-Watch (our monitoring tool) that are to be executed randomly and not regularily, and might need fixes, as that would make it easier to queue these things.
Thanks for your report, this is fixed on the factory branch, which is a development version under rapid development. You can try it out by going here: https://nuitka.net/doc/factory.html
Feedback if this is working is very welcome, just please do not share plans of doing it, but rather confirmations or denials of it working.

This is working on Windows. Thank you for resolving the issue.
I have installed the factory branch:
python -m pip install -U --force-reinstall "https://github.com/Nuitka/Nuitka/archive/factory.zip"
And compiled the program with the .pyfmx files included:
python -m nuitka --standalone --include-data-files=*.pyfmx=. Project3.py

Seems like an implicit dependency, the example seems good. Please avoid screenshots, they hurt my eyes.

Apologies for the screenshot of error messages. I have removed it as they are already described in the text.

I wonder if this is related to Delphi, a RAD tool I used last century?

Delphi FMX is a cross-platform GUI framework, similar to Qt.
UI forms can be exported as .pyfmx files from Delphi, which is the RAD tool you mentioned.

Changing to 1.9 milestone, I will add it for 1.9.1 release for all platforms, it might be that "android" is not yet testable in the yaml config, will need to add that to the plugin code, but that's fine for a hotfix.

So, the Windows part is in 1.9.1 now, but the Linux and macOS I didn't yet do.

This is coming for 1.9.2, and currently it is on factory now, also including Android, but I don't test that one.


Simulator Clone Support

Adding the path for simulator clones so that any clones created before running iOS trust will get the certs added.

LGTM ! Curiosity question : why using this instead of the new API procided by apple in the last versions ?

The only new API I am aware of to add trusted root certificates to the simulators is the one that was added to simctl in Xcode 11.4 (I have not yet made the jump to the beta).  Is there another method that I should consider?


[Document] Update the README after publish

All lesson's publish link
Published image's link, the image will instruct user to connect the sensor and boards

#7


Split up getting started into multiple pages?

As discussed with @astrofrog in https://github.com/astropy/regions/pull/87#issuecomment-264001695, the http://astropy-regions.readthedocs.io/en/latest/getting_started.html page is getting too long and we should probably split it up.
It's not quite clear how to best do it. At the moment there's ~ 16 sections.
Some are very short, is putting each on a sub-page a good solution?
Or maybe just move some of the longer ones (like masks and plotting) on sub-sections?
One point to keep in mind is that we want this to become astropy.regions, so the docs should be as similar as possible to the existing structure of Astropy core sub-package docs:
http://astropy.readthedocs.io/en/latest/
I'm pretty sure we do need docs sub-pages, because we'll also add things like MOC (healpix-based regions) here (see #62), so astropy.regions will grow in the coming months.
I'm putting this under the 0.2 milestone, and can spend some time on it, but not much.
So comments on what we should do or even help welcome!

I'm working on this at #pyastro17

Done in #132


Add definition of a C++ extension

In this PR I'm looking into defining the behaviour of C++ for BSP!

We've asked someone from the Clion to help us understand if this is a good specification, and they did not have anything to point out, so I think this is ready for review!


Pagination for w-table should collapse or hide when there are many pages

When there are many pages in a w-table the pagination buttons are all visible.

The default behavior for pagination is for pages that are distant from the current page to hide into a ... button.

Or for example to not show up:

Could any of these be implemented to prevent the cluttered UI like in the first image?

Hi @Fleximex,
The pagination was indeed in progress.
I took the opportunity to finish/improve what needed to be and have accomplished a similar layout and feature, now released in version 3.9.2.
Please check the pagination documentation for details: https://antoniandre.github.io/wave-ui/w-table#pagination.
I hope it solves the issue, if not please reopen :)

The behaviour is still unclear. When does it trigger?
For me, it only works when settings the total and only when the total is more than the actual data I have (of course resulting in empty pages). It doesn't make sense.


ERROR: r.default.acequire is not a function

Hi everyone,
I have a question. In my project, I get this error message:

I think, it is about @pnp/spfx-property-controls . My imports are :
import { PropertyFieldMultiSelect } from '@pnp/spfx-property-controls/lib/PropertyFieldMultiSelect';
import { PropertyPaneMarkdownContent } from '@pnp/spfx-property-controls/lib/PropertyPaneMarkdownContent';
import { PropertyPanePropertyEditor } from '@pnp/spfx-property-controls/lib/PropertyPanePropertyEditor';
Please help me :)

Hi, this sounds like a problem with pnp libraries, would you mind reposting this over in https://github.com/pnp/sp-dev-fx-property-controls instead.


Floating point exception (core dumped)

Tested:
Blaster Master
Excitebike
Gyruss
Mega Man 2
Star Soldier

are you able to open a debugger and see where it's failing?

Mega Man 2, Star Soldier
Thread 1 "jakt_nes" received signal SIGFPE, Arithmetic exception.
0x00005555555589eb in Jakt::apu::Pulse::render (this=this@entry=0x555555634650) at build/apu.cpp:602
602	u64 sound_position = (static_cast<u64>(((*this).phase) % transition_length));

Blaster Master, Gyruss, Excitebike:
Thread 1 "jakt_nes" received signal SIGFPE, Arithmetic exception.
0x0000555555558953 in Jakt::apu::Pulse::render (this=0x555555624600) at build/apu.cpp:595
595	(change_amount = (static_cast<i64>(change_amount / (infallible_integer_cast<i64>((((*this).sweep_period)))))));

_

Did you figure out what it was?