Launch Screen is blank

Random black screen appears when first lunch app

console log：[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
flutter doctor：
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.22.1, on Mac OS X 10.15.7 19H2, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
[✓] Android Studio (version 4.0)
[✓] Connected device (2 available)
! Error: iPhone is busy: Copying cache files from device. Xcode will continue when iPhone is finished. (code -10)
• No issues found!

@Lanch92 Have you properly followed documentation in order to add LaunchScreen to the app? or may be this article might help you with the problem.
https://artem-diashkin.medium.com/flutter-launch-splash-screens-1ac21282a110

@Lanch92 Please provide a complete minimal reproducible code sample that shows the issue you are facing. Also provide which device and OS version are you seeing this issue on. Check above link to see if you are following all steps in order to implement launch screen.

@Lanch92 Have you properly followed documentation in order to add LaunchScreen to the app? or may be this article might help you with the problem.
https://artem-diashkin.medium.com/flutter-launch-splash-screens-1ac21282a110

not all device black, but random device random sys black

@Lanch92 Please provide a complete minimal reproducible code sample that shows the issue you are facing. Also provide which device and OS version are you seeing this issue on. Check above link to see if you are following all steps in order to implement launch screen.

Any device and any OS version could happen.  At present, on iOS14.x iPhone7p, iOS12.x iPhone7 iPhone6  see this issue

@Lanch92 Please provide a complete minimal reproducible code sample that shows the issue you are facing. Also provide which device and OS version are you seeing this issue on. Check above link to see if you are following all steps in order to implement launch screen.

Maybe it'll be clearer that way：

@Lanch92
We will need a minimal complete reproducible code sample that we can try at our end to replicate the issue.
Thanks.

@Lanch92
We will need a minimal complete reproducible code sample that we can try at our end to replicate the issue.
Thanks.

Empty flutter project, add LaunchScreen.png and layout LaunchScreen.storyboard to Runner
Runner.zip

@Lanch92
Provide a complete Flutter project, not just the Runner module, so that we can clone the project and run the app to see the issue.

@Lanch92
Provide a complete Flutter project, not just the Runner module, so that we can clone the project and run the app to see the issue.

limit 10M

@Lanch92
Provide a complete Flutter project, not just the Runner module, so that we can clone the project and run the app to see the issue.

flutter_app.zip

@Lanch92
Ran the code from zip you sent and was able to launch the app. Not sure if it contains the launch screen code, because I didn't see any. How to replicate the issue you are facing using the zip your shared ?

@Lanch92
Ran the code from zip you sent and was able to launch the app. Not sure if it contains the launch screen code, because I didn't see any. How to replicate the issue you are facing using the zip your shared ?

There is no any launch screen code contains. I don't know how to replicate the issue, because it happens randomly. It may take more time to discover patterns.  Suspend the problem for the time being

@Lanch92
I am going ahead and closing this since there's no concrete steps to replicate the issue and per your comment it happens randomly. If you are able to replicate the issue consistently and have proper steps to replicate, write in comments and I'll reopen.
Thanks.

I'm facing this issue, only in iOS device version 14.2+


Add initial luci-app-fwknopd - a way to control the firewall knock da…

…emon from luci
Signed-off-by: Jonathan Bennett<EMAIL_ADDRESS>

@chris5560 Should I use Apache-2.0 for the license, or can I use GPLv2

@chris5560 @jow- I've updated the pull request to deal with the notes from Chris. Let me know if any further changes are needed.
~Jonathan Bennett

Adding the translation stuff has broken the package. I'll reopen once I figure out what all broke.

@chris5560 @jow- Working now. As far as I can tell, it's ready.

Thanks


libreoffice-fresh: <IP_ADDRESS> -> <IP_ADDRESS>

Motivation for this change
Bump1
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

I don't think in this case it makes any sense to split commits, though.


Unable to reverse geocode when using zoom 0-5.

Describe the bug
I am running a docker container for nominatim and trying to reverse geocode locations in Europe.
This is my docker-compose.yml file:
version: "3"

services:
    nominatim:
        container_name: nominatim
        image: mediagis/nominatim:4.0
        restart: always
        ports:
            - "8080:8080"
        environment:
            PBF_URL: https://download.geofabrik.de/europe-latest.osm.pbf
            IMPORT_STYLE: admin
        volumes:
            - ./nominatim-data:/var/lib/postgresql/12/main

I can reverse geocode correctly most places but for some reason I cannot do it for Spain when using zoom levels 0-4.
Zoom levels 0-4 work for other countries.
I tried using Spain only .pbf files and my docker-compose.yml file looks like this:
version: "3"

services:
    nominatim:
        container_name: nominatim-spain
        image: mediagis/nominatim:4.0
        restart: always
        ports:
            - "8081:8081"
        environment:
            PBF_URL: http://download.geofabrik.de/europe/spain-latest.osm.pbf
            IMPORT_STYLE: admin
        volumes:
            - ./nominatim-data:/var/lib/postgresql/12/main

The problem persists and I cannot geocode zoom levels 0-5.
Other zoom levels work correctly.
To Reproduce
Use docker-compose up for either of the above files. Preferably the one with the Spain files since it's a lot smaller.
Expected behavior
Expected to get the reverse geocode response instead of unable to geocode.
Screenshots & Logs

Desktop / Server (please complete the following information):

OS & Version: Debian 11
Docker Version: Docker version 20.10.7, build 20.10.7
Nominatim Version: 4.0

Thanks @mtmail. I think my Europe installation misses Spain relation.
More specifically, when I try to query the relation  with osm_id=1311341 (which is extracted from here)
using select * from placex where country_code='es' and osm_type='R' and osm_id=1311341; in the postgresql database, ti returns 0 rows.
If I change the IMPORT_STYLE: admin to full is it possible that my requests will work (or due to the incomplete .pbf files they will always fail?)
Since the only thing I can import that is larger than Europe is the planet itself (and I don't have the resources to do that) what could a solution be?
Thanks again!


As a Knative administrator, I want to list autoscaling configs which apply to overall Knative platform.

Move from https://github.com/knative/client-contrib/issues/44
Please refer to https://github.com/knative-sandbox/kn-plugin-admin/issues/14 for all the configs need to list

/assign @chaozbj
per offline discussion, Chao would like to take care of it.

/assign

PR merged!


Make Fragment symbol comparable across module instances

When debugging Forgo using npm link, Vite's pre-bundling optimization executes the forgo module twice (Vite bug, Svelte bug with workarounds). It doesn't happen when using the package from npm.
This results in different code paths holding references to two different Fragment symbols, causing renders to fail because the two symbols aren't comparable using ===. Using Symbol.for() makes all symbols named FORGO_FRAGMENT comparable, no matter where they come from.
Alternatively, there's a workaround to have Vite disable pre-bundling optimizations for forgo, but this patch makes that unnecessary.

Makes sense. Thanks!
Published 2.1.1 with your pull request.
Two tests fail because the re-ordering issue you reported earlier is still unfixed (I haven't found enough time yet, and it's a lot of work). Please ignore those failing tests for now.


Runs prettier over everything and adds functions for grabbing related issues to a PR

Some of the new automation ideas require getting related issues

Also updates nom deps


Publish project in NPM

Has not been thought of publishing this project in NPM? to make direct installations with NPM without having to download from github

I don't think this is a good idea. This project is a template, not a library. How do you use it after downloading from npm?

It could be similar to the React create-react-app or the vue init webpack my-project, so that the project is created with instructions like vue-element-admin init or create my-app


Add Python 3.12-dev to CI matrix and upgrade GitHub Actions

Wait for https://github.com/actions/setup-python/issues/514

Codecov Report
Base: 87.29% // Head: 87.08% // Decreases project coverage by -0.21% :warning:

Coverage data is based on head (490e46c) compared to base (135fb62).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #82      +/-   ##
==========================================
- Coverage   87.29%   87.08%   -0.22%
==========================================
  Files          33       33
  Lines        2039     1998      -41
  Branches      182      306     +124
==========================================
- Hits         1780     1740      -40
  Misses        191      191
+ Partials       68       67       -1

Impacted Files
Coverage Δ

tests/conftest.py
92.62% <ø> (-0.06%)
:arrow_down:

tests/test_connection.py
100.00% <ø> (ø)

tests/test_http_writer.py
100.00% <ø> (ø)

tests/test_read_messages.py
96.98% <ø> (-0.16%)
:arrow_down:

tests/test_reader.py
98.41% <ø> (-0.03%)
:arrow_down:

tests/test_reader_lookupd.py
100.00% <ø> (ø)

tests/test_send_commands.py
100.00% <ø> (ø)

tests/test_writer.py
100.00% <ø> (ø)

ansq/tcp/connection.py
66.66% <0.00%> (+0.31%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Pass testonly attribute to TargetIdeInfo

Hello,
So in the current state of things it looks like out of the box Intellij with bazel project doesn't support Test scope while you want to find usages of some method or do full text search in your project. The only option to make it work that I know (pls correct me if I wrong) is to specify explicitly test folders in the project view file. The problem I see in this are:
1.It prohibits you from mixing test sources with production sources in same folder since documentation state that it s a regex for directories
2. It's error prone since you can forget about some folder and it's hard to notice this mistake
The alternative that I'm working right now is to derive the information about each source file and it's belonging to test scope of the project using the rule name and testonly attribute. The problem that blocks me at the moment is that I can't generate jar with code generated from proto files, it seems like you repackage it somehow in the manner that I can't reproduce it locally. (https://github.com/bazelbuild/intellij/blob/master/proto/proto_deps.jar)
So, my proposal is to add testonly attribute to TargetIdeInfo (https://github.com/bazelbuild/intellij/blob/d071a73c0a45f8a90fcd67c30eb89364e893f73f/proto/intellij_ide_info.proto#L187).  I believe it will useful even If I will fail miserably with my solution to the described problem, so it's worth adding it anyway.
The example of what I'm asking to do (didn't create PR because of checklist): https://github.com/comchi/intellij/commit/5e57e46018ba6f6918c17fca2410e3e4b3566b03
Also, thanks for the great build system and intellij integration for it.

Hi there! We're doing a clean up of old issues and will be closing this one. Please reopen if you’d like to discuss anything further. We’ll respond as soon as we have the bandwidth/resources to do so.


rtw89-firmware-unstable 2022-12-18 fail to build

Build log
error: builder for '/nix/store/mg1xjg8v5lnm076c5nr1yy2wglmq32ri-rtw89-firmware-unstable-2022-12-18.drv' failed with exit code 1;
       last 9 log lines:
       > unpacking sources
       > unpacking source archive /nix/store/0wkx1wcb3nmg20fkbd8kdsy1kqr6cw49-source
       > source root is source
       > patching sources
       > configuring
       > no configure script, doing nothing
       > installing
       > cp: missing destination file operand after '/nix/store/24g6mmjnlgw2yvg9fvsvfgahxnyg9nl5-rtw89-firmware-unstable-2022-12-18/lib/firmware/rtw89'
       > Try 'cp --help' for more information.
       For full logs, run 'nix log /nix/store/mg1xjg8v5lnm076c5nr1yy2wglmq32ri-rtw89-firmware-unstable-2022-12-18.drv'.
error: 1 dependencies of derivation '/nix/store/kyvjzkq3dw82h8bbf3vqkf45z2hikh86-rtw89-firmware-unstable-2022-12-18-xz.drv' failed to build
error: 1 dependencies of derivation '/nix/store/qx45vny3mkjrkp9k8k34a7x63vmggb11-firmware.drv' failed to build
error: 1 dependencies of derivation '/nix/store/1pdnri7qgcghaynd1wx8hx1qvsy1v4a2-nixos-system-omega-23.05.20221220.762426b.drv' failed to build

As a workaround, revert #206855

3c6d63d22ca

Thank you for solving this :tada:


Create login shells

This means that brew sh, brew install -i and brew install -d shells end up reading the same initialisation files by default as they do when opened in Terminal.app (which uses login shells).

The debug shell should match the superenv environment, not have extra paths added from your shell profiles.

Agreed.


[Bug]: Suface form effective conductivity in separator

PyBaMM Version
23.5
Python Version
23.5
Describe the bug
On lines 81 and 85, of pybamm/models/submodels/electrolyte_conductivity/surface_potential_form/full_surface_form_conductivity.py
is seems that the separator porosity is used in the calculation of the effective conductivity in the separator instead of the separator transport efficiency. In the end, I think this is only an order of a few mV errors in the predicted voltage.

Steps to Reproduce
N/A
Relevant log output
No response

@TomTranter any update on this?

Completely forgot about it


socket tunnel tls locally

is it possible to work with socket tunnel and TLS locally? (just for debug and testing purposes)

yes, have you any problem?

yes, have you any problem?

I test it out. take localhost and a subdomain
on server.js:
tldjs.getSubdomain(hostname).toLowerCase();
could not find the subdomain
you can do workaround with
let subdomain = ""; //tldjs.getSubdomain(hostname).toLowerCase();
have fun

I test it out. take localhost and a subdomain
on server.js:
tldjs.getSubdomain(hostname).toLowerCase();
could not find the subdomain
you can do workaround with
let subdomain = ""; //tldjs.getSubdomain(hostname).toLowerCase();
have fun


use gogo protobuf types and gogofast to generate grpc code

use gogo protobuf types and gogofast to generate grpc code.
fixes #37
ref: https://github.com/gogo/protobuf/issues/325

LGTM
Thanks for fixing that @bergwolf

LGTM

@bergwolf thanks for this patch. Sorry I had not the time to look into it.


Adding new colors and relevant atomics

Task: task-[work-item-number]
Link: preview-425
Moving new colors to the palette.
Background color
Testing

Review code
Check the page linked above.

Additional information
I don't think we can safely replace the background-color-medium with a new background-color-learn since it is used in many places where the new color won't fit, for example, on disabled inputs. Need to figure out how to do it safely.

Add link to task and changeset?


How to retrieve the public facing endpoint ?

I'm prototyping this tools and it looks far more reliable than other free tunneling tools I tested.
However, I need to dynamically know what the exposed endpoint. When the local server get the request, the host header is localhost.
I can there is a via header, but it only contains the relay host url, not the full url.
Is there any way to retrieve the original url ?
FYI, here's the details of my setup:

bridge mounted using the GUI
exposed : https://my-relay-namespace.servicebus.windows.net:443/mycomputername
routed to : http://localhost:7071
seen in via header : 1.1 my-relay-namespace.servicebus.windows.net.

The service behind 7071 port is the local azure function host emulator.
Is use this to implement some SharePoint Addins and the exact exposed url is important because of some callback urls returned by the function.
I may add the url as part of the function settings, but it would simplier I guess to just get the actual URL from, why not, a TunnelRelay specific header ?

Thanks for the suggestion. I try to write a plugin, but unfortunately, plugin has no access (as far as I know) to the incoming relayed request.

The incoming Path and Query are same unless you add a prefix to it, so your plugin can make those assumptions if you do not intend to make it super generic.
Other option would be to load appSettings.json and read redirectionUrl and hybridConnectionUrl from it. Compare it with Path and Query of outgoing request to service running locally. That should give you information about the original url.


IE11 compatibility

Since upgrading to the latest version of Pym, we've been getting reports that it's not resizing on load from IE11 users. We haven't been able to reproduce it just yet, but I'm wondering if anyone else has seen this issue.

Hey, we are getting problems with ie11 users too. neither it calculates the iframe height initial nor changes it after resizing the content: http://goo.gl/HNqcp4
Any ideas?

@basistom

@basistom I took a look at this. I'm entirely certain what's happening, however, after refreshing the page several times I did see a partial iframe on one load, so I'm pretty sure it's a race-condition of some sort. Have you tried wrapping your pym.Child in a $.load()?
I see you are using polling which logically should make using load unnecessary, however, I think it's the first thing worth trying.

I'm not sure what you mean.
I tried wrapping the polling part without any changes.
<script>$(window).load(function() {new pym.Child({ polling: 100 });})</script>

I tried to get it working in IE10+11 without success. You can find my testing version here: goo.gl/onWZwo
I'm trying to call the parent with a delay of 5 seconds without effort. Do you have any ideas?


Reordering will break if a post and board section have the same id

Because the reorder method takes a hash where the item id is a key, and they will stomp on each other.

No longer relevant.


Repo sync for protected CLA branch

The pull request is created from master637450344904138108 to master to fix git push error for protected CLA branch

@cmcclister : Thanks for your contribution! The author(s) have been notified to review your proposed change.


When script not have execution permission the tomee-cli return error.

tomee-cli.core=> (start)

IOException error=13, Permission denied  java.lang.UNIXProcess.forkAndExec (UNIXProcess.java:-2)
tomee-cli.core=>

The startup/shutdown/version should have execution permission: chmod +x ****.sh
In Wildfly we had a problem similar with aesh [ https://github.com/aeshell/aesh/commit/dd93f4bec242fa802013ed4a4bf13d1129bb4ebc ]
Maybe we can doing something like this, try set the file as executable before to call it.

Come on... this is not a bug. The user won't be able to execute those files, with or without tomee-cli, if he doesn't have the right to do so.
If tomee-cli performs a chmod we will probably have issues if the user doesn't have permission to perform this command in the informed directory. Also, if we execute this command, we are performing a administrative action out of control of the user.
I think this is only valid when tomee-cli performs the download and installation of TomEE. That's a brand new installation, without deployed apps, etc. But, in this case, this issue is pointing to the wrong feature.

+1
I'll link it with installation issue and remove bug tag.

Since issue #16 was fixed, does it fix this one too?

Sorry @htmfilho
I forgot to close it.


Q1 2017 blogpost

Converting to a PR so I can comment on it.
See #90

With the edits I added, this gets pretty close to the post I wanted to publish in February. I might still follow up with a post that dives deeper into some of the topics here (thrashing, scrum, stale endeavors, etc.) but those are not time-sensitive.

Could we have @jbenet read this before posting?

@jbenet can we publish this?

Closing ancient posts that never got posted.


New Network Request: eCredits Testnet

Network information

Name: eCredits Testnet
ChainId: 63001
RPC http/s address: https://rpc.tst.ecredits.com
Link to https://chainlist.org/: https://chainlist.org/chain/63001
(Optional) Blockexplorer: https://explorer.tst.ecredits.com/
[x] I have run RPC='https://rpc.tst.ecredits.com' yarn estimate
[x] I have sent requiredFunds to 0xE1CB04A0fA36DdD16a06ea828007E35e1a3cBC37

0x5c058873265806a8c961bfe8b9fa7169f185ceace636214d833bd55c8614d2be


Graph QL identifier with same name as a type produced invalid dart code

When generating a gql schema where an identifier is names like a dart type (e.g. String) the produced dart will be invalid.
I notice this when working with hasura. There also exists an issue.
A schema like that:
input jsonb_cast_exp {
  String: String_comparison_exp
}

Produces invalid dart code because the a generated getter will have the name String and therefore is not valid.
Because it is valid in graphql to name your identifier String this should be fixed in the code generator.
Proposal:
Check when a graphql identifier is the same as a known type of the core library and if so rename it to _{Name}. E.g. String-> _String. Also log the renaming for the user as a warning.

Check the extraKeywords option in the readme, it is created exactly for this purpose.


ci: verify GOPATH/bin exists

Before creating a link in the $GOPATH/bin directory,
ensure the directory exists or create it.
Fixes #902.
Signed-off-by: Salvador Fuentes<EMAIL_ADDRESS>

lgtm


Parsing error with named parameter shorthand

I've come across a case where the @ parameter naming shorthand doesn't seem to work, while the sqlc.arg() syntax does work.  I'm happy to stick with the sqlc.arg() syntax, but it tripped me up for a while before I discovered that the @ shorthand was causing trouble.
Using v1.7.0, the following works:
-- name: ListSubscriptionsForProcessing :many
SELECT * FROM subscriptions
WHERE
  subscriptions.enabled AND
  NOT subscriptions.processing AND
  subscriptions.id NOT IN (SELECT subscription_id from jobs WHERE jobs.status = 'failed') AND
  subscriptions.start_time <= sqlc.arg(day_start)::timestamptz - make_interval(days => subscriptions.latency) AND
  subscriptions.end_time >= sqlc.arg(day_start)::timestamptz - make_interval(days => subscriptions.latency) AND
  sqlc.arg(now)::timestamptz >= sqlc.arg(acquired)::timestamptz - ('1 hour'::INTERVAL * ST_XMax(subscriptions.geometry) / 15) AND
  (
    subscriptions.last_processed IS NULL OR
    subscriptions.last_processed + '1 day'::INTERVAL * subscriptions.interval <= sqlc.arg(day_start)::timestamptz - make_interval(days => subscriptions.latency)
  );

Here is a complete working example: https://play.sqlc.dev/p/a282065c4fa4a38e9c6b384b016052ac35eeb209ef677ed2d6a01ba0c87a2aef
If I instead use the @ shorthand syntax, the query fails to parse.
-- name: ListSubscriptionsForProcessing :many
SELECT * FROM subscriptions
WHERE
  subscriptions.enabled AND
  NOT subscriptions.processing AND
  subscriptions.id NOT IN (SELECT subscription_id from jobs WHERE jobs.status = 'failed') AND
  subscriptions.start_time <= @day_start::timestamptz - make_interval(days => subscriptions.latency) AND
  subscriptions.end_time >= @day_start::timestamptz - make_interval(days => subscriptions.latency) AND
  @now::timestamptz >= @acquired::timestamptz - ('1 hour'::INTERVAL * ST_XMax(subscriptions.geometry) / 15) AND
  (
    subscriptions.last_processed IS NULL OR
    subscriptions.last_processed + '1 day'::INTERVAL * subscriptions.interval <= @day_start::timestamptz - make_interval(days => subscriptions.latency)
  );

go run github.com/kyleconroy/sqlc/cmd/sqlc generate

Results in
# package queries
sql/queries/subscriptions.sql:29:1: edited query syntax is invalid: syntax error at or near "ptions"
exit status 1
main.go:3: running "go": exit status 1

Here is an example of the version that doesn't work: https://play.sqlc.dev/p/0ff9be7d534c0b5a6b7fbd4b3c3c36ce3e1c3b26c324fba5b300ea623295cbaa
This package has been a pleasure to use.  Thank you for all the continued work on it!

Thanks for the report. We've had a few of these issues pop up. I sadly think the only fix is removing support for the shorthand, since it's non-standard. I'd suggest using sqlc.arg going forward.

Duplicate of #605


can't find the dnc.py file

Hello！Thank you for sharing the code. When reading your implementation code of Retain and DMNC methods, I find that dnc.py file is missing. Can you send me a copy of this file? My email is<EMAIL_ADDRESS>Thank you very much! Looking forward for your replay. With best regards!

You can find DMNC official code here.

Thank you very much!
------------------ 原始邮件 ------------------
发件人: "Junyuan<EMAIL_ADDRESS>发送时间: 2019年4月9日(星期二) 中午1:07
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS><EMAIL_ADDRESS>主题: Re: [sjy1203/GAMENet] can't find the dnc.py file (#2)
You can find DMNC official code here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


feature request: ability to share console contents via share sheet

great library!
⭐ feature request: ability to share console contents via share sheet

Awesome idea 🔥 I'll switch the "Copy" action to a "Share" action when I get the chance.


Superset Celery TypeError: 'tuple' object is not callable

Superset: 1.5.1
Run command：superset run -p 8080 --with-threads --reload --debugger
Result:

Attempt to print error location

I turned on “GLOBAL_ASYNC_QUERIES” configuration，Normal after shutdown

Given how old this is, it's probably no longer an issue, but we're now on 3.1, on the verge of 4.0, and not supporting 2.x  or prior versions actively. If folks are experiencing this issue in current versions, please file a new issue with updated context and repro steps. Thank you for understanding :)


Translate doc node-conformance into chinese

chinese doc translation

This change is

@xiangpengzhao 已更新，感谢

@xiangpengzhao , this PR has been fixed, how about it now to you?

@xiangpengzhao Have all your issues been resolved? Are you ready to give this an LGTM? Thanks.

I'm on vocation, so sorry for the delay. There are still some punctuations such as comma should be in Chinese format. And maybe some wording can be better. I'd like @tengqm to take another look.

@tengqm could you plz help take a look at the PR?

ping @tengqm  and @xiangpengzhao

Ah, I think the doc author @Random-Liu is the best reviewer for this PR. I believe he can do both tech review and CN review :v:

ping @tengqm
could you have some time to review this PR?

@tengqm 已修改

ping @xiangpengzhao
This PR could be OK, merge it.

This LGTM. Thanks!


Regular transparency reports by CoC WG

Several conferences have published "transparency reports," anonymized summaries of all the code of conduct reports related to the conference, along with the actions taken by the conference code of conduct committee. We on the Code of Conduct WG this is a great idea to incorporate not just for all AMP conferences, but for the greater open source project.
Examples of Conduct Transparency Reports(1)

DjangoCon Europe 2018
PyCon 2018 Code of Conduct Transparency Report
2018 Code for America Summit

Why do we need a transparency report? (2)

Public enforcement allows the community to keep an eye on enforcement and course correct if the code of conduct is being enforced poorly or in a biased manner.
Publicizing a situation in which the community swiftly and effectively handled a code of conduct violation is usually a net positive for a community's reputation. Trying to keep reports secret or refusing to comment on them publicly is usually a negative mark or a danger sign for a community.
Marginalized people already know that harassment happens in all communities, and they are looking for a community that handles harassment openly and in a forthright manner, instead of ignoring,hiding, or downplaying them.

(1)  This list is not an endorsement of these reports but just to allow the reader to get an idea
(2) Lifted verbatim from How to Respond to Code of Conduct Reports by Valerie Aurora and Mary Gardiner

Have you established a cadence (e.g. annual?) and timing for release of a transparency report?


I have a problem when creating an access list.

Hi, I've been reading and researching about this error for a couple of days, I've tried different ways and the error continues, in other projects I've run this and it has worked without problems.
I have followed the documentation as usual, and it gives me error, I have tried with mariabd and sqlite and nothing.
Manual URL:
https://nginxproxymanager.com/setup/#running-the-app
It has been tested in different browsers: Firefox, Chromiun
When I try to create an access rule, it remains blank and if I save it, it gives me an error, as shown in the screenshots.

My docker configuration is as follows:
version: '3.8'
services:
  app:
    image: 'jc21/nginx-proxy-manager:latest'
    restart: unless-stopped
    ports:
      - '80:80' # Public HTTP Port
      - '443:443' # Public HTTPS Port
      - '81:81' # Admin Web Port
    environment:
      PUID: 1000
      PGID: 1000
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt

I have tried with a browser without extensions and I can't do it either.
I hope you can help me.
Best regards

Hello, I have been investigating but in the end I have given up, I do not know if it is a bug or something, but I have tried a thousand ways to enter the container, and I have not obtained a solution, I hope you can help me.

I had the same mistake and found this issue. It is not a functionality bug, but an UI one. Add does not create the one entered, but adds a new field. For reasons it clears the field you just entered.
To make it work, simply fill out the field and then hit save.


References to examples become invalid after bundle

Describe the bug
Given: an openAPI documentation split into several files. Each sub-file has components section with schemas and examples.
When: openapi bundle index.yaml -o finalBig.yaml is called
Then: schemas are copied into finalBig.yaml components section, but examples are not.  Because of this, all $ref: '#/components/examples/example_name' become invalid.
To Reproduce
Steps to reproduce the behavior:
File structure:
.
├── helloWorld.yaml
├── index.yaml
└── openapi.yaml

index.yaml:
openapi: 3.0.3
info:
  title: 'test'
  version: 1.0.0
servers:
  - url: 'https'
paths:
  /helloWorld:
    $ref: 'helloWorld.yaml#/path/hello'

helloWorld.yaml
path:
  hello:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/a'
            example:
              $ref: '#/components/examples/b'
      responses:
        '201':
          description: Created

components:
  schemas:
    a:
      type: object
  examples:
    b:
      value:
        asdf: asdf

Executing openapi bundle index.yaml -o openapi.yaml
openapi.yaml looks like:

openapi: 3.0.3
info:
  title: test
  version: 1.0.0
servers:
  - url: https
paths:
  /helloWorld:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/a'
            example:
              value:
                asdf: asdf
      responses:
        '201':
          description: Created
components:
  schemas:
    a:
      type: object

Expected behavior
I would expect components to be something like:
components:
  schemas:
    a:
      type: object
  examples:
    b:
      value:
        asdf: asdf

openapi-cli Version(s)
openapi --version: 1.0.0-beta.41
Node.js Version(s)
v12.20.1
Additional context
Am I doing something wrong here?

Am I doing something wrong here?

Yes. This:

Each sub-file has components section with schemas and examples.

OAS should have only one components section (in the root file). The root file can point to other files, but the other files should not re-declare components or schemas, etc... Some reading and samples for you:

https://github.com/Redocly/openapi-starter
https://redoc.ly/docs/resources/multi-file-definitions/
https://redoc.ly/docs/resources/ref-guide/

Thank you!
I was searching for this information before asking, but apparently, I looked for it in the wrong places.


Let the differ choose a shared hashing algorithm

Right now we only support md5 for hashing columns.
However, for some databases that might not be feasible. For example, in mssql it's too slow, and sounds like Spanner only supports sha1.
I think the solution should be to allow several implementations in subclasses of Database, and have the differ choose the best one that's shared between them. (or throw an error if there isn't one)
See issues #51 and #99.

Agree. sha1 is also sometimes faster than md5, because some instruction-sets have specific instructions for it, but not for md5. crc32 is also generally faster than both of those.

I think this should be broken down into 2 tasks:

Adding a list of supported algorithms to the base/child classes, and refactor md5_to_string to something generic (maybe something like hash_to_string?)
Adding these changes to the interface/CLI where the DB type determines the intersection of hashing algorithms and offers a choice (and/or a default)

I'd be happy to start working on this, if it hasn't been picked up already.

@abhinav1912 it'd be awesome if you could pick this up!
If you can do some research for (1) about what kinds of "alternate" negotiations we can do, and how you'd implement it, that'd be a great start before you start implementing it 👀 For example, for MSSQL, how can we do strings if we can't do md5 fast?

@sirupsen good point, I'll start looking into the alternatives and probably create a table of algorithms for each database. Will reach out on the Slack channel to clarify a few questions though.
As for MSSQL, here's a good article highlighting the performance of each hashing algorithm. CHECKSUM has good perfomance but poor hashing, MD/SHA algorithms have worse performance but better hashing. Doing better than MD5 does seem a little difficult imo.

That MD5 performance doesn't look that bad... I wonder why it came up so slow in our tests. Maybe the instance just didn't have enough CPU? Might be worth confirming that result first!

The performance point raises another question: is there be some script/utility that can calculate perf metrics for the current build? If not, then this could be a good addition.


Symfony 5.3.2

Also use PHPUnit 9

Coverage remained the same at 96.273% when pulling 5f3c1374d15ce620c80b0e8f89a9aa72b825095e on symfony-5.3.2 into dd3444ce386d0eb30ab45b5e0f6d51ebcd37a2a8 on master.


Patrol Next

TL;DR
This issue tracks the architectural redesign of Patrol. The redesign is required to be able to circumvent longstanding issues with Flutter described here.
All your tests written using Patrol will continue to work.
The redesign will be almost completely seamless from the developer/tester perspective – it'll take place only under the hood. Some minor configuration changes might be required, like changing a line in pubspec.yaml or in app's native files, but that's it. So don't worry! :)
Patrol Next
Synopsis
Patrol Next is the codename for Patrol's architecture redesign, which aims to enable features which are impossible to implement with the current architecture.

the ability to run on Firebase Test Lab, Amazon Device Farm, Browserstack, and similar device farm tools.
Issues unblocked/resolved:

#332
#622

the ability to get native test reports (just like package:integration_test does)
The native test report formats generated by Xcode and Gradle are widely used and easily converted to other formats.
Issues unblocked/resolved:

#611
#421 (we'll have our own test runner, and won't use flutter test, nor flutter drive)

Requirements

Works on {virtual, physical} {android, ios} devices
Tests are reported natively
Debuggability of integration tests in VS Code (attaching to running app)
Being able to build all tests into a single app binary (see here)

Roadmap

[x] initial basic Proof of Concept of the new architectural approach (see #646)

[x] replicate integration_test functionality 1:1, but include Patrol-only goodies (native UI automation)

[x] Decide what to do with native automation code being duplicated twice

[x] Update CI workflows

We will convert the patrol package to patrol plugin. It'll look similar to the integration_test plugin. Setup instructions will be roughly similar.
Once this step is done, users will be able to import it and use it.

In the future/TBD:

an extensible Patrol Test Runner, written in Dart, which can be embedded in the integration test and in the CLI

See also:

integration_test plugin (Android) (iOS)

Workshop notes
Implementation idea
There is a single app, which bundles Flutter AUT (app under test) and native integration test together. Communication between AUT and native integration is accomplished ~using method channels~*.
*After research conducted in #646 we've learned that method channels can only be directly used on Android, because on Android AUT test and integration test run in the same process. This is not the case on iOS, where AUT and instrumentation run in separate processes, so some form of RPC is needed. In #646 eDistantObject library was used for it, but it could be anything. We should find a solution that doesn't differ too much between Android and iOS, to avoid unnecessary work.

Legend:

PTR = Patrol Test Runner

sounds fantastic! :)

@bartekpacia  how difficult would it be to use the poc in a hackathon on january 6th, and/or how close will it be to be usable by january 6th? :)

@neiljaywarner No guarantees, but it should be ready by then (ready as in: done 1. and 2. from the "roadmap") :)

This phase is completed.
Migration progress of features from patrol drive to patrol test is tracked in #788.


Fullcalendar not propergating touch events on ionic Project while access from mobile

I tried using fullcalendar in my ionic project everything looks okay but events like dayClick, eventClick dont get propergated while accessed from mobile but from desktop the alert within the event handler function pops up

Thank you Aljosah!
I got same issue and used the workaround that AljosaH offered to fix it.
Below is my fullcalendar bower.conf
{
"name": "fullcalendar",
"version": "2.2.3",
"description": "Full-sized drag & drop event calendar",
"keywords": [
"calendar",
"event",
"full-sized"
],
"homepage": "http://arshaw.com/fullcalendar/",
"dependencies": {
"jquery": ">=1.7.1",
"moment": ">=2.5.0"
},
"devDependencies": {
"jquery-ui": ">=1.11.1",
"jquery-simulate-ext": "~1.3.0",
"jquery-mockjax": "~1.5.4",
"jasmine-jquery": "~2.0.3",
"jasmine-fixture": "~1.2.0",
"moment-timezone": "~0.2.1",
"bootstrap": "~3.2.0"
},
"main": [
"dist/fullcalendar.js",
"dist/fullcalendar.css"

@AljosaH Many thanks for the patch! it works very well with my cordova app using fullcalendar v2.3.0 with onsen framework, Thanks again :)

Hi All
Is there simple example applying FullCalendar in ionic Framework?
Regards,
Wendy

Hi,
I have similar issue in "version": "1.6.7".  dayClick: function(date, jsEvent, view) is not working when i test mobile device. What is the root of problem?

@AljosaH The selected day is wrong in the dayClick function with that patch! Fix it please, please =D

Thanks @AljosaH, your solution worked for me. I just had to alter the  dayMouseClick() function a little bit because in v2.3 seems that getCellDate() function doesn't exists. So the changes are simple:
     dayMouseClick: function(ev) {
		// CUSTOM!!!!!!!!!!!
		var _this = this;
		var view = this.view;
		var start; // the inclusive start of the selection
		var dayEl;

		this.coordMap.build();
		var cell = this.coordMap.getCell(ev.pageX, ev.pageY);
		dayEl = _this.getCellDayEl(cell);
		if(dayEl){
			start = moment(dayEl[0].getAttribute('data-date'));
		}
		view.trigger('dayClick', dayEl[0], start, ev);
	},

Have you tried -- data-tap-disabled="true"

I didn't want to go so deep tuning this library, so I did weird and now touch works. I lost drag functionality but that is okay.
		el.on('click', function(ev) {//modified 'mousedown' event to 'click'
			if (
				!$(ev.target).is('.fc-event-container *, .fc-more') && // not an an event element, or "more.." link
				!$(ev.target).closest('.fc-popover').length // not on a popover (like the "more.." events one)
			) {
				_this.dayMousedown(ev);
                $(document).trigger('mouseup'); // manually triggered 'mouseup' event.
			}
		});

+1

+1

use this for touch devices http://fullcalendar.io/blog/2016/03/touch-support/

When we bundle the app for cordova, dayClick still does not work even with the latest fullcalendar / scheduler.

I think this issue can be closed since new releases now support touch events, as @manj1790 has mentioned.

Using the Ionic Framework and the new FullCalendar V2.7  - It appears eventClick is working on native but not dayClick. Anybody else experiencing and have any solution? Thanks

Yes, I can confirm dayclick not working on native (with cordova) on iOS.

I need exactly same  IOS calendar features for my webpage app in angular js i.e I need to show all 12 month for current year and then when I select particular month that month should display with events..

i can also confirm that select is not working with cordova on android


memoized selectors and errors

Describe the bug
If a memoized selector throws an error, the selector function is not re-executed again. Instead, the query goes to isSuccess state with  undefined data and error: null
select error handling was introduced here: https://github.com/tannerlinsley/react-query/pull/1760
selector memoization was introduced here: https://github.com/tannerlinsley/react-query/pull/1751
To Reproduce
see: https://codesandbox.io/s/peaceful-kare-8qs3b?file=/src/index.js
if you inline the selector, it works as expected.
Expected behavior
The query should always go to isError state
/cc @boschni

:tada: This issue has been resolved in version 3.12.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


fix #27 retain line break

Today is the Chinese traditional mid-Autumn Festival and I hope you have a good time!


How to use Neoline's getStorage() method to obtain 'data' parameter?

Hi @hacfox ,
Thanks to your help from yesterday, I was able to use the Neoline.invoke() method to not only call the 'transfer' operation, but also to input a piece of data (string: 'hello') to storage, as seen below:

Using dora, I verified that the data was properly stored to the blockchain:

My follow up question is, is it possible to use a Neoline call to obtain this data? I tried using the Neoline.getStorage() method:
const invokeMethod = instance.getStorage({
        scriptHash: '0x9c0c81ac61583cc3e2dc325fc51dbce48097a874',
        key: 'data',
        network: 'TestNet'
    })

But I get this error:
There was an error when broadcasting this transaction to the network.
Any idea what I could be doing wrong here, or if there is a better way to get data that has been stored?
For additional reference, this is how data is stored in the Boa smart contract:
@public
def onNEP17Payment(from_address: int, amount: int, data: Union[bytes, int]):
    if from_address is not None:
        assert len(from_address.to_bytes()) == 20

    if from_address is None and runtime.calling_script_hash == GAS_SCRIPT:
        return

    # only accept NEO or GAS
    if runtime.calling_script_hash != GAS_SCRIPT and runtime.calling_script_hash != NEO_SCRIPT:
        abort()

    storage.put(b'X' + from_address.to_bytes(), amount)
    storage.put(b'X' + from_address.to_bytes(), data)

Thanks in advance,

You can only get storage information if the contract uses "storage.put" function. You would need to pass the key to the function.
storage.put(b'X' + from_address.to_bytes(), amount)
storage.put(b'X' + from_address.to_bytes(), data)

neolineN3.getStorage({
    scriptHash: 'hash here',
    key: '0x006b26dd0d2aa076b11082847a094772450f05af', // storage.put(b'X' + from_address.to_bytes(), data)
})


Fix starter.dev bot

The PR bot stopped working. Looks like we need to reissue a token and set it up.
https://github.com/thisdot/starter.dev/actions/runs/6946813185/job/18899184225
https://github.com/thisdot/starter.dev/actions/runs/6946813197/job/18899184254

Messaged @jdwilkin4 about access to the Slack bot responsible for these workflows.

Confirmed access couldn't be regranted. Tried a few other things - the old bot is gone. 😢

Updated secrets. This should be good to go now.


Fix and document Nix

To any nix fans out there, It's been reported on the discord that it might not be working, if someone can fix and document it, it would be appreciated <3

Can you tell me if last version 37796887ff0bcad2c03a14642a707e5a205f6533 works with nix?

Nice! Thanks!


💥💥Enhancement : Enhance Chatbot UI to Mimic Real Chat Application

Is your feature request related to a problem? Please describe.
I'm always frustrated when I use the chatbot and realize it lacks a conversational feel, making it difficult to engage with. The current UI is plain and doesn't provide visual cues, leading to a clunky user experience.
Screenshot

Describe the solution you'd like
I'd like to see a revamped chatbot UI that mimics a real chat application. Specifically:

Conversation bubbles for user and chatbot messages
Message timestamps and delivery status indicators
Typing indicators for chatbot responses
Support for emojis, media files, and quick reply options
Customizable color scheme and avatar/profile pictures

Describe alternatives you've considered
Instead of a full redesign, we could:

Implement a simpler messaging format with basic timestamps
Introduce minimalistic UI elements

Additional context
However, these alternatives wouldn't provide the same level of polish and user engagement as a fully-fledged chat application-like UI.

Please assign me this issue.


raidboss: DSR DFG minor improvements

This is a series of opinionated commits to add some minor improvements to #4435.
In particular:

merges the "dive" callout into the In+Out (or In+Out followup) calls
uses alert in more places
more specialized logic for two baiters/placers
simplifies the position sorting logic

without this PR side 1:

with this PR side 1:

without this PR 2:

with this PR 2:

(One other thought is maybe the "1 (all circles)" call should be combined with "Dive (circles) => Out" a second later? Or is it worth having the 1-2 second warning there but a duplicate call? Should there be another out/in reminder after the stack or a dive, e.g. dive => out, out, in vs just dive => out, in (10 seconds later)? Also, the Dir Group call is a personal trigger, in case there's confusion.)

I personally like "1 (all circles)" since it helps me grasp more of the situation (like, more than just if I'm a circle/arrow, but that all 1s are circles so a different number has arrows)

Ok.  I thought saying "1 (all circles)" once and then followup just "circles" would be fine, but I've edited this to say "all circles" everywhere.

and I think having the in/out reminders be in more places would also be helpful.

Yeah, I'll followup with this.  I want to land this first because I think it's good to go.  I fixed a missing param for two towers with arrows and an in/out thing, but it felt really good last night when I tried it.


fix amp bug and add uart ringbuf recv

Is your feature request related to a problem? Please describe.
use amp have bug , uart recv failed
Describe the solution you'd like
update libamp to fix local app update bug, rename amp_demo to amp_app, update platform/haas1000/hal/uart.c impl , add
ringbuf recv
Additional context

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 4 committers have signed the CLA.:white_check_mark: wgj1922:x: lluwang:x: xinweng.ljh:x: jinlianglixinweng.ljh seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


feat: add securityManager.getAuthenticatedUserGroups() task restrictions

Part of https://github.com/Activiti/Activiti/issues/2765
Depends on https://github.com/Activiti/activiti-api/pull/124 and https://github.com/Activiti/activiti-cloud-service-common/pull/174

Obsolete. Replaced by https://github.com/Activiti/activiti-cloud-query-service/pull/315


Not able to import to eclipse.

Too many errors showing up while importing. Am i doing something wrong. (I am using the latest android adt with lates eclipse)

Sorry this library uses gradle and is best supported with Android Studio or command line.


Architecture?

The ARCHITECTURE.md doc needs a revision, and I'd suggest that we should find something more informative than "hi", "mid" and "low" layers. (unless that's some kind of standard that I'm missing?)
It might be useful to put things in terms of the discussion of "EVM equivalence".
I suspect that the "high layer" is actually the Execution layer, and the "mid layer" is the actual EVM.
https://ethereum-magicians.org/t/evm-equivalence-eip-6269-and-ethereum-stack-compatibility-definition/10044/9

Also, ARCHITECTURE.md (why is it in caps?) includes a graph but AFAICT the repo doesn't include whatever is necessary to rebuild it.

Well, I agree the ARCHITECTURE.md can be improved.  There's a lot more we could say here, including some stuff already written in the long version of the FM paper.
Also agree that we could consider other terminology instead of "high", "mid", "low", etc.  But, this is really an internal description that is not connected (as far as I'm aware) with anything external.  Everything is really just the EVM itself.  I don't think we have much (if anything) specific for the execution layer.  Perhaps some things on the Java side?  However, if there is some useful terminology, that would be nice.

Also, ARCHITECTURE.md (why is it in caps?)

Well, just following conventions.  Like, e.g. README.md and CONTRIBUTORS.md, etc.

includes a graph but AFAICT the repo doesn't include whatever is necessary to rebuild it.

So, its an an xfig file (.fig extension).  We could include that I guess.  Maybe there is some preferred format though?  Xfig is ... old.  And, I tend to use it when writing papers ... but only because I've been doing that for the last 20 years :)

The ALLCAPS naming is a Unix vestige/tradition in basic root-of-repo files like README, INSTALL, CONTRIBUTORS, etc. Not sure it makes sense to use it for other random files (which probably should go into a docs/ directory or similar?)

Exactly.  I wouldn't consider it a random file though.  See e.g. here and here.

Link 2 is just a recap of link 1, so both give the same single example. 🤔
And then we have SEMANTICS, etc...

I'm sure I can find more examples easily enough.  I think its fine as is.  As long as we're consistent, then no problem.  Anything ending in .md is in caps ... easy.

Randomly, I've just been reading the KEVM paper (which I should have done before now) and noticed it splits into three levels:

I'd say our high level is similar to their evm.k level, and perhaps our mid and low levels compare to their data.k level.  In some sense, our low level is just a bunch of utils really.


Protocol Visualizer Overhaul: Making GIFs

Hello! As part of a suite of educational tools we are building for a class at Duke, I extended the functionality of the visualizer to now allow rendering of protocols as .gifs. There are now a few buttons added to the visualizer.
Recording a protocol:
To use the recording feature, first use the slider to select how many frames you would like to save. Each time a command is given to the visualizer, the update() function is called. This slider represents the number of unique update() calls you care about. I.E. selecting 8 would mean that a snapshot of the deck is taken every 8 update calls. NOTE: every movement of tips/liquid counts as an update. Filling a full tip rack of 96 tips means there are 96 update calls.
After selecting your desired frame rate, press the blue "Start Recording" button. This turns on the recording code. Every N updates will be saved as images to be later exported as frames of a gif, or as a zip of png files. Run your PLR code like usual.
When you are done recording, select the red "Stop Recording" button. This will automatically render all current frames, and the gif will be shown in the right panel of your visualizer window. You can now decide to either export this as a gif by selecting the "Download GIF" button on the left, or export the frames individually by selecting the "Download as ZIP" button on the right. There is a box that allows you to enter in a name for your gif. If nothing is provided, it will default to "generated_gif.gif".
If you would like to record multiple sessions, simply select the blue "Start Recording" button again. This will clear all saved frames, and you will start from scratch based on the current state of the deck.
If anyone has any suggestions for new features/bugs they may come across please reach out! I would love to see your protocols animated! Hopefully this is useful! :)

very cool!

Wow, this is awesome! Worked perfectly. Very useful feature.

I'm curious if we can make this a bit less "big" visually. Around 70% of screen real estate is now taken up by the GIF feature.
Some ideas:

Perhaps we can put the "start" button in the navbar? The stop button only has to be shown (and "start" hidden) when there is a gif being recorded. The download button + filename field can be shown after the recording has stopped, along with the start button again.
I am thinking perhaps the preview is hard to work in here, because it more than halves the space available for the visualization. I think for most people it's very fast to just view the downloaded file.
The rendering progress can be temporarily shown after the recording has stopped.
The zip feature did not work for me, but I think exporting as GIF should be enough tbh.

Again, I love this feature. I just think we have to make it balanced with the primary purpose of the visualizer, which is visualizing the deck.

Also not sure how to fix the Unit Tests sometimes failing on random versions of the ubuntu. Any advice? @rickwierenga

refactored the UI handling a tiny bit, and made the layout flatter as you saw. i think this is good to merge!
sorry for the delays


fix tooltip on placement change

Fixes: #25940, #25519

@mdo should we add this fix in 4.1.1 ?

@Johann-S Is this good to go? I haven't reviewed anything here since this is a JS change. Mostly focused on CSS and docs stuff right now.

For me it's good to go, but I'm waiting for someone to review my code 😆
/CC @XhmikosR , @bardiharborow

I'm not sure I get the issue myself TBH. I'm gonna approve since @Johann-S says it's OK and tests are passing.


4.2.0 - Running workflow unit tests on PHP 5.6

Current PHPunit does not support PHP 5.6. Closing.

Current PHPunit does not support PHP 5.6. Closing.


Extension issue

Issue Type: Bug
Extension Name: html-css-class-completion
Extension Version: 1.20.0
OS Version: Windows_NT x64 10.0.19042
VSCode version: 1.53.1

:warning: We have written the needed data into your clipboard. Please paste! :warning:

Already reported here: https://github.com/zignd/HTML-CSS-Class-Completion/issues/155


[fmt,folly] backport '/utf-8 only if the compiler is MSVC at build time'

Backporting https://github.com/fmtlib/fmt/pull/4159
Fixes #40912

[x] Changes comply with the maintainer guide.
[ ] SHA512s are updated for each updated download.
[x] The "supports" clause reflects platforms that may be fixed by this new version.
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

there's a folly patch when I update fmt to 11.0.2, https://github.com/microsoft/vcpkg/pull/39738/files#diff-33c48021044f60d7e2b48d022de38098102f34806db18005e14549ec0414ab1c
diff --git a/CMake/GenPkgConfig.cmake b/CMake/GenPkgConfig.cmake
index 0e93175..1637d9f 100644
--- a/CMake/GenPkgConfig.cmake
+++ b/CMake/GenPkgConfig.cmake
@@ -93,7 +93,7 @@ function(gen_pkgconfig_vars)
   # Set the output variables
   string(REPLACE ";" " " cflags "${cflags}")
   string(REPLACE ";" " " private_libs "${private_libs}")
-
+  string(REPLACE "<$<COMPILE_LANGUAGE:CXX>:/utf-8>" "/utf-8" cflags "${cflags}")
   # Since CMake 3.18 FindThreads may include a generator expression requiring
   # a target, which gets propagated to us through INTERFACE_COMPILE_OPTIONS.
   # Before CMake 3.19 there's no way to solve this in a general way, so we

I use string(REPLACE "<$<COMPILE_LANGUAGE:CXX>:/utf-8>" "/utf-8" cflags "${cflags}") to avoid cmake error, see https://github.com/facebook/folly/issues/2250, so maybe this patch should be changed also

As @miyanyan said,

maybe this patch should be changed also

I removed the folly patch. That patch would cause the same fmt error for folly. The current fmt patch is robust under LLVM or MSVC.

Has the folly change been submitted to folly?

@BillyONeal Created a PR:
https://github.com/facebook/folly/pull/2293

Please resolve the git conflicts.

Comment, this would be nice to have resolved properly, fmt is currently breaking out builds.

Conflicts fixed

Looking forward to merging it soon. Due to this problem, clang-tidy cannot be used normally on Windows if the fmt library is included.

@WangWeiLin-MV I prefer to keep the setup simple. The next version of fmt will remove this patch anyway.

Tag reviewed for further review.

Still getting this error vcpkg_installed\x64-windows\x64-windows\include\fmt\base.h(458,28): error C2338: static_assert failed: 'Unicode support requires compiling with /utf-8' when compiling with MSVC following this tutorial
https://learn.microsoft.com/en-us/vcpkg/get_started/get-started-msbuild?pivots=shell-powershell


Add json output for conflicts only

This is intended to be used by automated tools that build slightly-attended base images, and have their own logic for what to do when conflicts arise.
Something like this came up in a conversation with JS yesterday, to be used during multi-stage lock file generation.

This looks too specialized no?
What if we just add a --output=json flag which will output everything in JSON format and then add a --conflicts-only flag that outputs only the conflicts and not others?
Trying to think about what'll make a consistent UX.

Yeah, that sounds better.  I was trying to minimize the size of the diff but thinking about it more most of this code doesn't need to be in main anyway.


Add exception types to targets in auto_debugging

In 5 of the tasks, the input is "What type of exception does this program produce?". This question seems to refer to the type of the exception (e.g. SyntaxError), but the current answers only match the full exception (SyntaxError: invalid syntax).
The task on line 95 asks "What type of object is x?" and the expected target is equal to type(x), so the "type of exception" tasks should also match to type(e).

Thank you very much for these fixes!


ignore collect connection errors on classification lifecycle

just set and forget cellect ignore any connection errors

Perhaps this should be moved out to it's own worker so that it can retry independently, so that we don't end up showing duplicates. Alternatively, Cellect could listen to Kafka to get this info instead of Panoptes pushing it explicitly. I'll make a ticket about this.
I'm still merging this first though.


[2.0] Update NVIDIA user mode libraries to March 2022 Latest (#2619)

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

What does the PR accomplish, why was it needed?
Updating usermode nvidia libraries to latest versions in march 2022 (v1.9.0/v3.9.0/nvidia-docker2=v2.10.0)
Change Log

Merge Sept nvidia-container library updates (#1498)
Merge main branch March Update Library changes (#2619)

Does this affect the toolchain?

NO
Associated issues

#2619
#1498

Test Methodology

Built, cherrypicking to 2.0

Note: Abandoning this PR - These changes were cherrypicked from main (#2619) and Jon merged main into 2.0.


consolidate platform readme

fixes: https://github.com/Azure/azure-sdk-for-c/issues/759

Some typo fixes, remove extra new lines, and reword a bit.

Thank you very much for the suggested changes.  I new to improve my writing docs skills.
I have committed your enhancements. It looks better now.


[repo] protected branch: remove requirement for PRs to be up to date with master

@paltman
It makes sense when transitioning to a new build system, but by now I think you should rather update all older PRs, and then we can disable it - in the end it only requires to update all PRs once one has been merged.

CircleCI does not test the merge commit after all currently.. :/
See https://discuss.circleci.com/t/show-test-results-for-prospective-merge-of-a-github-pr/1662/

@paltman
While at it, please also remove the removed py35djmaster and py36djmaster jobs from being successful.

I believe this is complete.

Well, at least the py35djmaster and py36djmaster are no longer checked. Was there something else?

I think the "Update branch" button indicates that the branch has to be up-to-date with master still?
Otherwise there is https://github.com/pinax/pinax-stripe/pull/422 (in a separate issue).

#422 is merged.  Can this be closed?

The main issue is still there:

I think the "Update branch" button indicates that the branch has to be up-to-date with master still?

Are you talking about the "update branch" on Github PRs?  I'm confused.

Also, in my experience, CircleCI is, in fact, rerunning after I update the branch from master.


Fixed random_batch in Traj class

This PR fixes random_batch function in case of return_indices == True.
Also, I add a test code.

Thanks for fixing bug of random_batch with return_indicies being True and adding test.


Report function #1

Simple PDF sample containing simple title and date. Used two main classes: Document, which sets up the structure of the PDF, and PdfWriter, which saves the content to the file and store it at the baseDirectory (/output/debug/managedDashboard).

Closing as Nate recommended.


Optimize count_distinct.size

Which issue does this PR close?

Closes #5325 .
Rationale for this change
Fixing performance drop for .size function. Drop was found during performance benchmarks
During regression the query with count(distinct ) took 100s in optimized build, now it takes 5s.

What changes are included in this PR?

Are these changes tested?
Yes

Are there any user-facing changes?
No

@alamb @crepererum please check this PR whenever you have time


moved getTiles and filtering to utils

As noted in #5104 several services load tiles and rely on a modified version of d3.geo.tile. This reduces redundancy and refactors loading tiles to a new utility. The notes feature also refactors loading tiles and will need checking once merged.

I tried this out and activated the notes layer, but it looks like it's firing off a bunch more requests than it is supposed to which slows down the performance.. @thomas-hervey, can you poke around with the debugger and see what it's doing?

@bhousel it seems that there are too many tiles being loaded and therefore too many requests. Debugging now.

Thanks @thomas-hervey  👍


Shorter summary

I love this bot, but the summaries are so long that most of the value is lost and it adds the additional large language model error rate/uncertainty.
I think a TLDR should be a sentence. If you want to summarize an article maybe 1 or 2 paragraphs.
I understand if people want to see more of it, so maybe the first paragraph could just be a summary of everything and then the rest could go into a bit more detail.

Depends, an article has to be really bad if it's 15 paragraphs long and can be summarized in 1 or 2.
Sometimes that's the case but when it's not then you can lose important details.
Personally I'd rather read a bigger summary and get a better idea than reading an extremely short one that gives the wrong idea or an incomplete one.

Newspapers are set up so that you go deeper into the details the further you read: the headline gives you the main fact, the subtitle some more details, the first paragraph gives a short summary etc.
That’s not really the case with online articles. Most headlines are clickbait, they often hint at something that isn’t actually true if you read the article. And there are none of the other “abstractions” in between, either you read everthing or only the (most of the time) misleading headline.
Imo there’s a lot of value in having a really short summary (one paragraph) that gives you the gist and is short enough so that people actually read it. I’m guessing here, but I don’t think it’s unrealistic to say that 95% of people don’t read the article. And 70% won’t bother with a summary that’s almost as long (in some cases). I think it’s totally fine to have the summary be more detailed, there just should be another abstraction layer in between that’s really short.
It’s ultimately up to you of course.

That would be a nice compromise for everyone I think.
It could produce a text in this format:
Descriptive title about the article
One paragraph summary of the article

The full summary that is currently produced by the bot

Yeah I think that'd be perfect :)

I'm not sure that's possible with the current implementation, it only extracts sentences from the article and sorts them by relevance. So the first sentence is the one it thinks is the most important, then 2nd most important etc.


Backup versioning

Description
Add backup format version information to the backups so that we can distinguish between backups which use a single file vs the ones that use both .data and .meta files.
Overrides https://github.com/alcionai/corso/pull/2297. I've also set it against main so that the diff shows up properly.
Ref: https://github.com/alcionai/corso/pull/2324#issuecomment-1409709118
Does this PR need a docs update or release note?

[x] :white_check_mark: Yes, it's included
[ ] :clock1: Yes, but in a later PR
[ ] :no_entry: No

Type of change

[x] :sunflower: Feature
[ ] :bug: Bugfix
[ ] :world_map: Documentation
[ ] :robot: Test
[ ] :computer: CI/Deployment
[ ] :broom: Tech Debt/Cleanup

Issue(s)

fixes https://github.com/alcionai/corso/issues/2230
https://github.com/alcionai/corso/issues/2253

Test Plan

[x] :muscle: Manual (Tested manually, will add an e2e test in a followup)
[ ] :zap: Unit test
[ ] :green_heart: E2E

I took https://github.com/alcionai/corso/pull/2296, merged https://github.com/alcionai/corso/commit/b99f86481b55824cd85f7c49db0fac23cb77e840 onto it(this is the main logic for versioning change), merged main onto it (kept the conflicts), and created another commit for fixing conflicts (https://github.com/alcionai/corso/commit/512cf93eb35aae5ed98d1bdbd5929dfc08900041).

@meain diff currently has conflicts, and needs a rebase to be easily reviewed.

re getting a good diff, it may be useful to rebase/merge the changes onto whatever branch this is going to be merged into and making that branch the base for this PR. Be careful with rebases though as you can accidentally lose commits if you exclude them during the rebase process. If you're unfamiliar with rebases you can try this blog though if your more comfortable with merges that's perfectly fine too
If getting a clean diff requires some code present in main but not whatever branch you want to base this PR from I would recommend merging other PRs into the metadata backup one, merging main into the metadata backup one (or otherwise getting it up to date with main), and then rebasing this PR on the metadata backup one (assuming the goal is to get all stuff merged into the metadata backup branch and then merge that)

I have merged the latest code to this branch. As of now, the way this is setup is so that every commit before https://github.com/alcionai/corso/pull/2324/commits/09839516ac5c46f97d35d9f51176d7b07fc00f0d is already reviewed in previous PRs. The only commits that changes anything from previously reviewed code is mentioned in https://github.com/alcionai/corso/pull/2324#issuecomment-1409709118 .
I would have ideally rebased it, but there was some major change in onedrive/collections.go and resolving conflicts for all the intermediate commits might get harder, but let me know if that would be better and I can do a rebase.
This is currently set against main, as setting the target branch to the previous one creates a lot more diff as I have merged in main. Also, the reason why I merged in main is because there is a bit of conflict in how things are done in this setup vs in main.

Thanks for the explanation. I grok your methodology, but I don't think the process here is working.  At the point that we start saying "this is all spaghetti, but if you isolate these certain commits you can just review those changes" we have 1/ lost the ability to review the change to the code on the whole, and 2/ are working around github tooling in problematic ways (comments on old commits can be lost/clobbered, etc).
Where changes can be isolated to a single commit, then it should be possible for that single commit to produce its own PR.  All the prior commits are either in main, or require their own separate review (and "you already reviewed them elsewhere" is not a valid argument, as prior review does not guarantee future bugs/mishaps, especially across changes).  Those additional commits can then generate their own PRs that either point to main with no further changes, or point to each other in a train.
In the meantime, even those individual commits are currently difficult to review.  Take https://github.com/alcionai/corso/commit/b99f86481b55824cd85f7c49db0fac23cb77e840, for example.  Many of the "current state" diffs contain rebase collision blocks, making it extra difficult to identify changes accurately.
I'd like us to minimize churn here and get this change reviewed and into main.  I'll leave the decision up to you whether you plan to refactor/separate the PRs, or if you want us to handle the review in the current format.

Makes sense, let me refactor it.

@ashmrtn @ryanfkeepers This should now be just the actual changes.


Implement YOLO Annotation Example

Create an example implementation of YOLO (You Only Look Once) annotation. This example should demonstrate how to annotate images for use with the YOLO object detection model using A.Lab.
Objectives

Provide a clear explanation of the YOLO annotation format.
Include a sample dataset of images.

Details
1. Explanation of YOLO Annotation Format
The YOLO annotation format includes the following information for each object in an image:

Class ID: The class of the object.
Center X: The x-coordinate of the center of the object, normalized by the width of the image.
Center Y: The y-coordinate of the center of the object, normalized by the height of the image.
Width: The width of the object, normalized by the width of the image.
Height: The height of the object, normalized by the height of the image.

2. Sample Dataset
Include a small dataset of images for demonstration purposes. These images should be representative of the objects to be annotated.

The Riped and Unriped Tomato Dataset was created using A. Lab tools. The dataset includes images of both riped and unriped tomatoes, stored in the images folder, along with associated annotated text in the labels folder.
In this dataset, label 1 indicates ripe tomatoes, while 0 indicates unripe ones.

The annotated output for the above images is as follows:
0 0.213673 0.474717 0.310212 0.498856
0 0.554777 0.540507 0.306350 0.433638
1 0.378432 0.681239 0.223970 0.268879

Applying these generated labels results in the following annotation:


JsonCodec ≠ JsonDecoder + JsonEncoder: could not find JsonCodec.Typeclass for type String

Hi everyone,
I hope it's not too early to report things.
I tried to replace Circe in a Scala/ScalaJS project and I had the following errors:
[error] /Users/jules.ivanic/jules_ivanic/workspace/http4s-laminar-stack/modules/shared/src/main/scala/example/shared/Protocol.scala:10:70: magnolia: could not find JsonCodec.Typeclass for type String
[error]     in parameter 'search' of product type example.shared.Protocol.GetSuggestions.Request
[error]       implicit final val codec: JsonCodec[Request] = DeriveJsonCodec.gen
[error]                                                                      ^
[error] /Users/jules.ivanic/jules_ivanic/workspace/http4s-laminar-stack/modules/shared/src/main/scala/example/shared/Protocol.scala:15:71: magnolia: could not find JsonCodec.Typeclass for type Seq[String]
[error]     in parameter 'suggestions' of product type example.shared.Protocol.GetSuggestions.Response
[error]       implicit final val codec: JsonCodec[Response] = DeriveJsonCodec.gen
[error]                                                                       ^
[error] two errors found

It's open-source so you can easily reproduce it. See: https://github.com/keynmol/http4s-laminar-stack/pull/4/files

Was there any resolution of this in the latest versions?


Axios 1.2 is broken!! Downgrade to 0.27.2 please asap!!

see subject

done with 3.1.6

Thank you!


Add before and after capability to specify blocks

As a Typhoon user,
I would like to specify a block of code (closure) for either/both before and after injections,
So that I can specify a block that gets executed and passed the instance created by Typhoon.
It would be nice to be able to specify blocks in addition to selectors for performBefore: and performAfter.
For example:

(void)performBeforeInjections:(void (^)(NSObject *instance))executionBlock
(void)performAfterInjections:(void (^)(NSObject *instance))executionBlock

Where the block is passed the instance created as an argument. Of course, implementers would have to cast the instance to the type.

:+1:

#258

Here is the specific use case where I feel this may be nice. I'd love to hear your opinions as to why this is or is not a good use case.
I have an assembly and my view of the assembly is that it plays a role in setting up the app. If built to use/rely upon Typhoon, the app cannot run without it. There are some things that you might traditionally put in the AppDelegate, primarily because there is no other good place for them, but for really no other reason.
For example, I want to configure the shared NSURLCache. It doesn't need to be injected anywhere in the app. One of the libraries I'm using (AFNetworking) uses the shared cache. It simply needs to be configured.
I would love to use the enhancement I've requested to configure the shared NSURLCache there after injection of AppDelegate.
I could make an argument that the configuration of the shared NSURLCache fits nicely within Typhoon, but would love to hear your feedback. Technically speaking, the shared NSURLCache is not a dependency of any class I need to inject. As Typhoon is a dependency injector, I could see that your opinion may be that if it's not a dependency of something, it shouldn't be in an Assembly.
Just looking for a bit more info on your opinion and why #258 as closed/declined.

Hi @JeffBNimble . . I see it the same way you do.
I think #258 was closed just because of other priorities, and we don't like to have too many issues opened at once. I also raised this idea way back, and folks at the time suggested it wasn't a good idea, and to instead just use the before/after injections methods. . . I can't remember the exact reasons, but it was a quick discussion, not a detailed analysis of the pros and cons, and I figured it would get raised again sooner or later.
The only drawback I can see is that we forfeit some simplicity, but Typhoon already provides a few ways to do this kind of thing, and this flexibility appeals to users.
Would you be interested in implementing the feature?

Another related issue: #265

Closing this as stale. We'll have something like this in pilgrim.ph (Swift successor to Typhoon).


729 remove components from pollinationsreact

This PR includes the following key updates for the upcoming release of @pollinations/react v2.0.0:
Layout Enhancements: Improved UI and responsiveness for a better user experience.
TypeScript Typing Improvements: Enhanced type safety and better developer tooling through improved TypeScript definitions.
Next.js Compatibility: Adjustments made to ensure seamless integration with Next.js environments.
Online demo: https://react-docs.pollinations.ai/

The pollinations/pollinations-react/docs folder is built with Next.js, making it highly portable and capable of running in any environment, including locally. However, in this setup, it is integrated with the Karma server for seamless auto-deployment via Vercel to react-docs.pollinations.ai. This allows for continuous updates and easy scaling, while the local development environment remains fully functional and ready for quick iterations.


Update log4j2 and platform settings.txt match mainnet configurations

Description
We need to update the settings.txt and log4j2.xml default files to match the current mainnet configuration.

:tada: This issue has been resolved in version 0.27.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add support for explicit access key and secret in sasl.jaas.config

We have a somewhat narrow use case where we want to run MirrorMaker 2 (MirrorSourceConnector) on MSK Connect to replicate between two clusters in two separate AWS partitions (Global and China). Because they are in different partitions, the normal approach of cross account role trusts is not feasible. Because there are two IAM contexts needed in the same process, the standard AWSCredentialsProfiderChain does not work, nor any of the existing workarounds. All the provided overrides affect all kafka clients in the process. Specifying awsProfileName would work, except there is no way to deploy profile configuration into MSK Connect.
We need a way to specify sufficient configuration inline to authenticate the client.

Duplicate with #99, closing.


Error connecting to Sphinx via the MySQL protocol. Can't connect to MySQL server on '<IP_ADDRESS>' (111)

Hi @pat,
I'm hoping you'd be able to point me in the right direction.  My config,
development:
  port: 9311
  html_strip: 1
  morphology: stem_en
test:
  port: 9313
  html_strip: 1
  morphology: stem_en
staging:
  port: 9319
  html_strip: 1
  bin_path: /usr/bin/
  morphology: stem_en
production:
  port: 9319
  html_strip: 1
  bin_path: /usr/bin/
  morphology: stem_en

Snippet from the config,
searchd
{
  listen = <IP_ADDRESS>:9306:mysql41

Did a quick test,
mysql -h <IP_ADDRESS> -u root -p
Enter password:
ERROR 2003 (HY000): Can't connect to MySQL server on '<IP_ADDRESS>' (111)

Curious thing is we've got a couple other apps in our Chef stack and mysql responds the same for all of them, yet older versions of TS are running fine.  Unfortunately, these are also Rails 2x apps, and the one I'm having trouble with is our first Rails 4 app (in this stack).
Thanks!
Best M.

@pat thanks! rake ts:configure ts:restart helped!

Hello, I know this issue is closed but I'm still experiencing it.  I've got a cron job running a ts:rebuild for me every 15 minutes.  Periodically, yet always at the same time as the cron rebuild I'm encountering a ThinkingSphinx::ConnectionError.  Note, my app and DB are on different hosts.
Here's the error,

ThinkingSphinx::ConnectionError (Error connecting to Sphinx via the MySQL protocol. Error connecting to Sphinx via the MySQL protocol. Can't connect to MySQL server on '<IP_ADDRESS>' (111)
Here's my thinking_sphinx yaml:
production:
  address: <IP_ADDRESS>
  mysql41: 9312
  sql_host: my.other.host
  sql_port: mysql41
  pid_file: /opt/run/my-app/searchd.pid
  searchd_file_path: /opt/data/my-app/sphinx/data
  indices_location: /opt/data/my-app/sphinx/data
  configuration_file: /opt/data/my-app/sphinx/production.sphinx.conf
  max_matches: 1000000
  quiet_deltas: true
  mem_limit: 512M

test: &TEST
  mysql41: 9307
  sql_port: mysql41
  searchd_file_path: tmp/sphinx/test/data
  indices_location: tmp/sphinx/test/data
  configuration_file: tmp/sphinx/test.sphinx.conf

cucumber:
  <<: *TEST

This seemed to become an issue ever since I upgraded from Rails 2 to Rails 3.2 and TS v3.  I tried avoiding this issue by upgrading to TS 3.1.4 but since I'm on Rails 3.2 and need polymorphic associations I can't use TS 3.1.4 until I'm on Rails 4, not that I'm sure that would resolve this anyway.
Is there something wrong with my config here or is this a bug on TS?  Or, is upgrading to Rails 4 and TS 3.1.4 the only way here?

You don't need to run ts:rebuild regularly - it's (kind of) like db:migrate, you only run it when you've made changes to your index structures (new fields, attributes), or you've added or removed an index.
What you very likely do want to run regularly is ts:index, which will keep your index data up-to-date. This avoids restarting Sphinx, thus you shouldn't see that error anymore.

When we deploy we put up a maintenance page before we run ts:rebuild.

@pat Thanks for the quick reply!  I also just updated my previous comment with more info but I tried ts:index for the past few weeks and I ran into really odd bugs, (possibly related to my binlog.lock issue?) where the search would work but wouldn't come up with all the results, so I would have to go in manually and run the ts:rebuild to bring things back to normal.

@atomical that's a wise idea.
@dwickwire: sounds like we should get to the bottom of this other issue then - because ts:index is really what you should be using. Do you want to open up a new issue for that, run me through the specifics?

Yeah, good idea.  Thanks!

Now it's my turn :)
Have the same issue when i'm searching through web page search form.
(Error connecting to Sphinx via the MySQL protocol. Error connecting to Sphinx via the MySQL protocol. Can't connect to MySQL server on '<IP_ADDRESS>' (111) - SELECT * FROM `wall_core` WHERE MATCH('порш') AND `hide` = 0 AND `sphinx_deleted` = 0 ORDER BY `created_at` DESC LIMIT 0, 15 OPTION max_matches=1000; SHOW META):
Searching in console works fine
  Sphinx Query (2.0ms)  SELECT * FROM `wall_core` WHERE MATCH('порш') AND `sphinx_deleted` = 0 LIMIT 0, 20 OPTION max_matches=1000
  Sphinx  Found 13 results
  Wall Load (1.3ms)  SELECT "walls".* FROM "walls"  WHERE "walls"."id" IN (204495, 209869, 2481, 2665, 40657, 67457, 84176, 89353, 96070, 96071, 125278, 181944, 193617)

thinking-sphinx (3.1.4) and mysql2 added
config/thinking_sphinx.yml
production:
  config_file: "config/development.sphinx.conf"
  pid_file: "log/searchd.development.pid"
  mem_limit: 128M
  # min_prefix_len: 3
  min_word_len: 3
  charset_type: utf-8
  charset_table: "0..9, A..Z->a..z, _, a..z, U+410..U+42F->U+430..U+44F, U+430..U+44F"
  # enable_star: true
  morphology: 'stem_ru, stem_en'
  max_matches: 1000
development:
  config_file: "config/development.sphinx.conf"
  pid_file: "log/searchd.development.pid"
  mem_limit: 128M
  # min_prefix_len: 3
  min_word_len: 3
  charset_type: utf-8
  charset_table: "0..9, A..Z->a..z, _, a..z, U+410..U+42F->U+430..U+44F, U+430..U+44F"
  # enable_star: true
  morphology: 'stem_ru, stem_en'
  max_matches: 1000```

rake ts:status

The Sphinx daemon searchd is currently running.

rake ts:index and rake ts:rebuild working properly

controller code related to searching
    if params[:query]
      @query = params[:query]
      @walls = Wall.search( Riddle::Query.escape(@query),
                            match_mode: :phrase,
                            with: search,
                            order: 'created_at DESC',
                            page: params[:page],
                            per_page: 15)

i've just changed controller for
      @walls = Wall.search( Riddle::Query.escape(@query),
                            # match_mode: :phrase,       <<<<<<<  commented
                            with: search,
                            order: 'created_at DESC',
                            page: params[:page],
                            per_page: 15)
                            # includes(:vk_photos)

and
modificated thinking_sphinx.yml
default: &default
  mem_limit: 30M
  # min_prefix_len: 3
  min_word_len: 3
  charset_type: utf-8
  charset_table: "0..9, A..Z->a..z, _, a..z, U+410..U+42F->U+430..U+44F, U+430..U+44F"
  # enable_star: true
  morphology: 'stem_ru, stem_en'

production:
  <<: *default
  config_file: "config/production.sphinx.conf"
  pid_file: "log/searchd.production.pid"
development:
  <<: *default
  config_file: "config/development.sphinx.conf"
  pid_file: "log/searchd.development.pid"
  max_matches: 1000

and searching on web page started to work

Not sure how that would have changed things - but given I've no idea why it wasn't working via the browser to start with, am very glad it is now! :)

Just a note for posterity, I've seen this happen in my test suite where I have a custom test harness to start up sphinx using ThinkingSphinx::Test.start_with_autostop.  Everything was working and then suddenly it stopped working giving me this error which was not solved by any of the usual rebuilding/reindexing steps.
Turns out sphinx was failing to start due to a corrupt binlog.  There was no outward indication of this in the test output, but it showed up in the test.searchd.log where it said:
FATAL: binlog: update: descending tid

Just had to rm all the files from the binlog (making sure no searchd process was running) and then voilà!


Mic 633 add in cya

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

Project coverage is 91.40%. Comparing base (82a259d) to head (a379a39).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #269      +/-   ##
==========================================
+ Coverage   86.11%   91.40%   +5.29%
==========================================
  Files         299      301       +2
  Lines        4471     4501      +30
  Branches      680      680
==========================================
+ Hits         3850     4114     +264
+ Misses        606      385     -221
+ Partials       15        2      -13

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


Please pin mono-repo's to organization

Makes it easier to find this repo when on the https://github.com/symplify page.

Cool, I didn't know about this feature :+1:
Done: https://github.com/symplify


cmd/compile: byte type conversion optimizations

What did you do?
I noticed that rewriting a busy-loop with cast-then-compare (ie BenchmarkU64) instead of compare-then-cast (ie BenchmarkByte) I was getting a noticeable throughput difference.
Here is a benchmark that shows the difference:
https://play.golang.org/p/gZLNPgrVPn
go test -bench .
BenchmarkByte-4<PHONE_NUMBER>               0.94 ns/op
BenchmarkU64-4<PHONE_NUMBER>               0.84 ns/op

What did you expect to see?
Same benchmark performance.
What did you see instead?
BenchmarkU64 is >10% faster than BenchmarkByte.
Does this issue reproduce with the latest release (go1.7.4)?
Reproduced with 1.8beta2
System details
go version go1.8beta2 linux/amd64
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/costanzj/projects/go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build406899558=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
GOROOT/bin/go version: go version go1.8beta2 linux/amd64
GOROOT/bin/go tool compile -V: compile version go1.8beta2 X:framepointer
uname -sr: Linux 4.4.0-38-generic
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.1 LTS
Release:	16.04
Codename:	xenial
/lib/x86_64-linux-gnu/libc.so.6: GNU C Library (Ubuntu GLIBC 2.23-0ubuntu5) stable release version 2.23, by Roland McGrath et al.
gdb --version: GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1

There's an extraneous MOVBLZX in the first case, that might be the cause.
Shouldn't be too hard to fix.

Possibly related: #15300.

I now see no performance difference, and the inner loop is identical between the two.


typo: vaule -> value

@nschonni : Thanks for your contribution! The author, @, has been notified to review your proposed change.


Page table of contents block will be repeatedly inserted into index.hbs

In the code (src/theme/mod.rs), it lacks a logic to determine if the current index.hbs file already has the sidetoc block. Hence, during each processing, the sidetoc block will be added again.
/// update content in `index.hbs`, if and only if `pagetoc = true` for now
fn process_index(&mut self) {
    let insert = r#"

                    "#;
    self.content.insert(insert, "", "{{{ content }}}").unwrap();
}

The results in index.hbs,

      {{{ content }}}

In addition, if I run mdbook serve, the block will be inserted again and again, due to the auto-reload mechanism that detects the changes of index.hbs

Yes, you can refer to https://github.com/zjp-CN/mdbook-theme#avoid-repeating-call-on-this-tool-when-mdbook-watch
One solution is to set
[preprocessor.theme]
turn-off = true

once you don't modify the theme any more.

the auto-reload mechanism that detects the changes

mdbook always auto triggers mdbook-theme as long as you define a table [preprocessor.theme] in your book.toml, but this plugin hasn't considered comparing the differences[^differences], instead it always replaces...
I think to keep things simple, as stated in the link I give, you can also avoid repeating by commenting out the whole [preprocessor.theme] table, meaning mdbook-theme won't run, because the generated files under theme folder won't change.
[^differences]: setting options result in various comparison strategies, like some options need to find the value in a file and compare it with the value in book.toml, but others need to detect whether there is already the replacement.


Conditional Formatting from Wave Dashboard widget not being deployed as part of unlocked package install

Summary
When packaging a Wave Dashboard we experienced the conditionalFormatting attributes for a widget were not being added to the dashboard in the target environment. We were able to use a standard force:source:deploy  to push the same file representing the Wave Dashboard and the conditionalFormatting showed up as expected.
Steps To Reproduce:

Create a wavedashboard component and add conditional formatting
`. create new unlocked Package a WaveDashboard component
Install the package to a scratch org/clean environment
Confirm the conditional formatting did not come with the wavedashboard component
deploy that same wavedashboard file to same target environment
confirm conditional formatting rendered as expected

NOTE: If your issue is not reproducable by dreamhouse-lwc, i.e. requires specific metadata or files, we require a link to a simple Salesforce project repository with a script to setup a scratch org that reproduces your problem.
sorry short on time to create a sample analytics project for this effort. I'm hoping it's possibly low-hanging fruit as a similar issue was fixed in spring'20 ( but i may be completely off :) ) https://trailblazer.salesforce.com/issues_view?id=a1p3A000001PYXYQA4&title=xmd-is-not-deploying-updates-to-conditional-formatting-when-namespaced-org-is-involved
Expected result
conditional formatting rendered and actual formatting values existing in edit settings when clicking on widget
Actual result
no conditional formatting rendered, when navigating into the edit settings the conditional formatting inputs are completely empty
System Information
{
"cliVersion": "sfdx-cli/7.142.1",
"architecture": "win32-x64",
"nodeVersion": "node-v16.14.0",
"pluginVersions": [
"@oclif/plugin-autocomplete 0.3.0 (core)",
"@oclif/plugin-commands 1.3.0 (core)",
"@oclif/plugin-help 3.3.1 (core)",
"@oclif/plugin-not-found 1.2.6 (core)",
"@oclif/plugin-plugins 1.10.11 (core)",
"@oclif/plugin-update 1.5.0 (core)",
"@oclif/plugin-warn-if-update-available 1.7.3 (core)",
"@oclif/plugin-which 1.0.4 (core)",
"@salesforce/lwc-dev-server 2.11.0",
"@salesforce/sfdx-scanner 2.13.0",
"alias 1.2.1 (core)",
"auth 1.8.1 (core)",
"community 1.1.4 (core)",
"config 1.3.23 (core)",
"generator 1.2.2 (core)",
"info 1.3.0 (core)",
"salesforcedx 52.0.0",
"├─ salesforce-alm 52.0.0",
"├─ data 0.4.11",
"├─ custom-metadata 1.0.12",
"├─ apex 0.2.2",
"├─ limits 1.2.1",
"├─ org 1.6.6",
"├─ templates 51.5.0",
"├─ user 1.3.0",
"├─ schema 1.0.7",
"└─ @salesforce/sfdx-plugin-lwc-test 0.1.7",
"sfdmu 4.12.9",
"sfdx-cli 7.142.1 (core)",
"sfdx-waw-plugin 1.5.0",
"sfpowerkit 4.1.5",
"shane-sfdx-plugins 4.43.0",
"├─ @mshanemc/plugin-streaming 1.1.7",
"└─ @mshanemc/sfdx-sosl 1.1.0",
"source 1.8.18 (core)",
"telemetry 1.4.0 (core)",
"texei-sfdx-plugin 1.14.4",
"trust 1.1.0 (core)"
],
"osVersion": "Windows_NT 10.0.19041"
}
Additional information

hi @maggiben  I apologize for the delay. I went through a full end-to-end unlocked package installation of this associated app and the conditional formatting did show as expected.
The issue stemmed from having a variance of the components in version control compared to what we were seeing in the sandbox ( of course :) )


Do Not Merge: Updates crayfish to use jhu-idc crayfish repo

There is a simplified version of this PR that was accepted here.
We may not need this PR -- so this is on hold for now, as it introduces more changes that we are currently looking for.

There are some changes in the Houdini micro service to help cleanup imagemagic tmp files if left behind - this PR pulls in those changes.
This also:

Switches us to referencing our own fork of crayfish in the crayfish docker file.
Removes gemini from buildkit, as it's not in current crayfish anymore
Removes matomo so that the build functions easier, since we don't use it and don't plan to.

Things to note:

As mentioned, this brings in the lastest Islandora Crayfish on our own fork, with the code to delete imagemagick tmp files.  I looked through the changes that occurred beyond the commit hash we were using before (44eaba6613cf699594d707b13e124be73e85a996) - they are here https://github.com/Islandora/Crayfish/commits/2.x.  There are some updates to the services composer files and changes to make composer pull on a tag versus a branch (which seems useful).  Tests currently pass, so this doesn't cause any regressions, but if we note any oddities in using it, we can branch off the 44eaba6613cf699594d707b13e124be73e85a996 commit and make the changes off of that.

Closing this for now as we don't need it.


Update nokogiri, byebug, and capybara

I rule and have completed some work on Case Manager that's ready for review!
Bumps a pair of dev dependencies (byebug and capybara), with a couple of secondary gem updates along the way.
This pull request makes the following changes:

bundle update byebug
bundle update capybara

No view changes.
No issues.

Codecov Report

Merging #1377 into master will increase coverage by 4.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1377      +/-   ##
==========================================
+ Coverage   89.42%   93.47%   +4.05%
==========================================
  Files          61       61
  Lines        1380     1380
==========================================
+ Hits         1234     1290      +56
+ Misses        146       90      -56

Impacted Files
Coverage Δ

app/controllers/users_controller.rb
100% <0%> (+2.81%)
:arrow_up:

app/models/user.rb
98.92% <0%> (+3.22%)
:arrow_up:

app/models/event.rb
90% <0%> (+23.33%)
:arrow_up:

app/helpers/welcome_message_helper.rb
100% <0%> (+33.33%)
:arrow_up:

app/helpers/calls_helper.rb
100% <0%> (+35.41%)
:arrow_up:

app/controllers/lines_controller.rb
100% <0%> (+37.5%)
:arrow_up:

app/controllers/calls_controller.rb
96.42% <0%> (+42.85%)
:arrow_up:

app/helpers/notes_helper.rb
100% <0%> (+76.92%)
:arrow_up:

Continue to review full report at Codecov.

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