Fatal Exception: NSInternalInconsistencyException Sending a message before the FlutterEngine has been run.

Description
Getting this error in firebase console continuously occurs in iphone. Attaching the firebase logs.
com.dns.transact_issue_e391721ed1c81ec5be047508e06f337b_crash_session_2de0baf1c1794016ad9cb5beee5607e0_DNE_0_v2_stacktrace.txt
Reproducing the issue
No response
Firebase SDK Version
10.9
Xcode Version
15.2
Installation Method
Swift Package Manager
Firebase Product(s)
Firestore
Targeted Platforms
iOS
Relevant Log Output
Fatal Exception: NSInternalInconsistencyException
0  CoreFoundation                 0x83f20 __exceptionPreprocess
1  libobjc.A.dylib                0x16018 objc_exception_throw
2  Foundation                     0x6de868 _userInfoForFileAndLine
3  Flutter                        0x137a8 (Missing UUID b57e47559d4530469c5d389b70039a74)
4  sensors                        0x4378 (Missing UUID bc9ae52166213ce1af160c259c088c4c)
5  Foundation                     0x1cbe0 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__
6  Foundation                     0x1caa0 -[NSBlockOperation main]
7  Foundation                     0x1c8a0 __NSOPERATION_IS_INVOKING_MAIN__
8  Foundation                     0x1ab40 -[NSOperation start]
9  Foundation                     0x9f558 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__
10 Foundation                     0x9f1a4 __NSOQSchedule_f
11 libdispatch.dylib              0x12e5c _dispatch_block_async_invoke2
12 libdispatch.dylib              0x3dd4 _dispatch_client_callout
13 libdispatch.dylib              0x72d8 _dispatch_continuation_pop
14 libdispatch.dylib              0x6988 _dispatch_async_redirect_invoke
15 libdispatch.dylib              0x15894 _dispatch_root_queue_drain
16 libdispatch.dylib              0x1609c _dispatch_worker_thread2
17 libsystem_pthread.dylib        0x48f8 _pthread_wqthread
18 libsystem_pthread.dylib        0x10cc start_wqthread

          Crashed: com.google.firebase.crashlytics.ios.exception
0  FirebaseCrashlytics            0x1d0a4 FIRCLSProcessRecordAllThreads + 184
1  FirebaseCrashlytics            0x1d484 FIRCLSProcessRecordAllThreads + 1176
2  FirebaseCrashlytics            0x14690 FIRCLSHandler + 48
3  FirebaseCrashlytics            0xf3b4 __FIRCLSExceptionRecord_block_invoke + 92
4  libdispatch.dylib              0x3dd4 _dispatch_client_callout + 20
5  libdispatch.dylib              0x132c4 _dispatch_lane_barrier_sync_invoke_and_complete + 56
6  FirebaseCrashlytics            0xe3c0 FIRCLSExceptionRecord + 204
7  FirebaseCrashlytics            0xeed4 FIRCLSExceptionRecordNSException + 452
8  FirebaseCrashlytics            0xe018 FIRCLSTerminateHandler() + 404
9  libc++abi.dylib                0x14068 std::__terminate(void (*)()) + 16
10 libc++abi.dylib                0x1400c std::terminate() + 108
11 libobjc.A.dylib                0x3cafc objc_terminate + 16
12 libdispatch.dylib              0x3de8 _dispatch_client_callout + 40
13 libdispatch.dylib              0x72d8 _dispatch_continuation_pop + 600
14 libdispatch.dylib              0x6988 _dispatch_async_redirect_invoke + 732
15 libdispatch.dylib              0x15894 _dispatch_root_queue_drain + 392
16 libdispatch.dylib              0x1609c _dispatch_worker_thread2 + 156
17 libsystem_pthread.dylib        0x48f8 _pthread_wqthread + 228
18 libsystem_pthread.dylib        0x10cc start_wqthread + 8

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

Replace this line with the contents of your Podfile.lock!

Hi @rammesaran, per checking, it seems that there's no Firebase-related in your stack trace. The com.google.firebase.crashlytics.ios.exception thread only captures exceptions thrown elsewhere in order to record crash information. With this, you may file a ticket through Flutter repo instead. Thanks.


Don't build binaries for 386 arch

Tried to cut a release after #123 was merged, but ran into an error in the workflow:
   ⨯ release failed after 299.18s error=failed to build for linux_386: # github.com/scylladb/go-set/strset
Error: ../../../go/pkg/mod/github.com/scylladb/go-set@v1.0.2/strset/strset.go:248:10: constant<PHONE_NUMBER>854775807 overflows int
Error: ../../../go/pkg/mod/github.com/scylladb/go-set@v1.0.2/strset/strset.go:255:13: constant<PHONE_NUMBER>854775807 overflows int

Error: The process '/opt/hostedtoolcache/goreleaser-action/0.173.2/x64/goreleaser' failed with exit code 1

One of the dependencies added in #123 uses math.MaxInt64 which fails to compile when targeting a 32bit arch.
There's a fix in the master branch, but no tag. We could pin it to the commit, but I doubt there will ever be any reason to use the 32bit builds.
https://github.com/scylladb/go-set/commit/cc7b2070d91ebf40d233207b633e28f5bd8f03a5
https://github.com/scylladb/go-set/issues/16

This will also added ARM6 builds for Linux and Windows, but we can drop those if desired.

Codecov Report

Merging #128 (d98707a) into main (34d3780) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #128   +/-   ##
=======================================
  Coverage   95.42%   95.42%
=======================================
  Files          15       15
  Lines        1816     1816
=======================================
  Hits         1733     1733
  Misses         62       62
  Partials       21       21

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 34d3780...d98707a. Read the comment docs.


NordVPN causes UTM clients to lose internet connectivity

Describe the issue
When connecting to NordVPN on MacOS, UTM guests lose internet connectivity until NordVPN is shut down, and the UTM instance is rebooted.
Configuration

UTM Version: 4.2.5 (81)
macOS Version: 14.3.1
Mac Chip (Intel, M1, ...): M1

Crash log
N/A - no crash
Debug log
Not related to any specific VM
Upload VM
Not related to any specific VM

For me setting virtual machine MTU to 1420 helped.

Possible duplicate of #3634


when keyboard is opened on android,press  Hardware BackButton only close keyboard,don`t return to backview

$ionicPlatform.onHardwareBackButton(function () {
var keyboardisOpen = cordova.plugins.Keyboard.isVisible;
if (keyboardisOpen)
{
cordova.plugins.Keyboard.hide();
}
else
{
$ionicHistory.goBack();
}
});
but cordova.plugins.Keyboard.isVisible  always false,because when the onHardwareBackButton tigger,the keyboard was closed;
how can i do
I found this problem already had been mentioned in the official website,But there is no solution
address:https://forum.ionicframework.com/t/ionic-input-field-and-hardware-back-button/28921/1
otherwise  ,in https://forum.ionicframework.com,i cant login,return:There is a problem with your account. Please contact the site's administrator.
why ?this forum is not open?

Hello! While we appreciate you opening an issue with us i am going to close this issue and ask that you open a new one that has the issue template filled out please. Thanks for using Ionic!


[draft] Rpi5: add scmi support

add scmi support.

enable SCMI for Linux DomD
enable SCMI for Zephyr Dom0.

Note: Zephyr Dom0 doesn't have SCMI support, the below branch has to be used.
     url: "https://github.com/GrygiriiS/zephyr.git"
     rev: "rpi5_dev_scmi1"

@oleksiimoisieiev @lorc

LGTM Reviewed-by: Oleksii Moisieiev<EMAIL_ADDRESS>

Please to [tmp] patches in the master branch. I'll postpone review till this PR gets out of draft state.

Not needed any more. all required parts incorporated in
https://github.com/xen-troops/meta-xt-prod-devel-rpi5/pull/41


Istio is not supported for ARM Architecturem Installation via helm fails

I am using OCI(Oracle Cloud Infra) with OKE(Oracle Kubernestes engine) Deployed with 1.25 K8S version with 3 worker nodes with ARM processor/architecture. Each worker node has 6 ocpu and 96 GB memory. Not able to install Istio v1.13.3 chart version.
The Istio pod goes to "CrashLoopBackoff".
steps to reproduce:
Login to K8S bastion host to connect to Kube cluster.

K8s installed with v1.25 (3 worker nodes with ARM based archi/processor)
configure kubectl, helm > 3.6
$ helm repo add istio https://istio-release.storage.googleapis.com/charts
$ helm repo update
$ kubectl create namespace istio-system
$ helm install istio-base istio/base -n istio-system
$ helm status istio-base
$ helm get all istio-base
$ helm install istiod istio/istiod -n istio-system --wait

From Istio community came to know there is no ARM based support. PLease correct me if my undertanding is not correct.
Events Message: "failed to get cpu utilization: unable to get metrics for resource cpu: unable to fetch metrics from resource metrics API: the server could not find the requested resource (get pods.metrics.k8s.io)"  --- unable to get cpu metrics ....not sure how to proceed with installation , is Istio Architecture specific
Kuberntes deployment with helm charts are affected. K8S version with lower works properly. Please suggest how to proceed.
Error: pod/istiod-xxxxxxxxxxxx-xxxxxxx   0/1     CrashLoopBackOff
[ X] Docs
[X] Installation
[ X] Networking
[X] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Currently, there is no ARM support for the Istio images. That support is coming. There are some earlier issues with additional information.

See https://github.com/istio/istio/issues/26652. thanks

Please let us know when there is official support for arm64? OCI OKE supports both arm64, x86_64(intel). There is a need for us to use arm64.


Created LinkedList and Node classes

Also defined basic operation functions, basic tests have been completed through sub-par methods, I will be adding a test file and using pytest upon next commit.

Your readme should look something like:
# Data Structures
Holds sample code for a number of classic data structures implemented in Python.

## LinkedList:
    * push(val): Inserts the value at the head of the list
    * pop(): Pops the first value off the head of the list and returns it. Raises an exception if there are no values to return.
    * size(): Returns the length of the list.
    * search(val): Returns the node containing the val in the list if it is present. If it is not present it will return None.
    * remove(node): Removes the given node from the list. If the node is not in the list is will raise an exception.
    * display(): Returns a unicode string representing the list as if it were a Pthon tuple literal. Ex: "(5, 'Bravo', 9)"
    * len(the_list): Returns the size of the list
    * print(the_list): Returns what the display method returns.

Will further review once the tests are present.


Spanish version of plan.html

I have added Spanish text where relevant.

Closing this for now, since the main repo's contents changed. We're currently working on a guide on how to add new translations. I will let you know when it's ready! 😊


Add option to specify system tables

Each database has unique system tables containing system information. At the moment sql-psi does not know about these tables so referrencing to these tables fails with No table found with name.
Sample: DB2 requires a FROM clause, so you have to use the SYSIBM.SYSDUMMY1 for simple selects: SELECT TIME_STAMP FROM SYSIBM.SYSDUMMY1.
Oracle provides a similar dual table.
Same use case for system catalog with PostgreSQL: https://www.postgresql.org/docs/current/catalogs.html

Hm, only ignoring the non-available table name does not work when you actually want to use a table and its columns. So I think, we need an option to predefine tables in each dialect and the one of the sql standard:  https://github.com/AlecStrong/sql-psi/issues/436. And I am unsure how this could be done in psi.
We could add a frontend IR tree to finally get rid of psi in sqldelight :D

Hmmm, I published a release locally using this change and I added the information schema and the pg_catalog for postgresql. The pg_catalog is actually the "standard library", which contains every postgresql function.
On the one hand, it is very very nice because now all functions are resolvable (in theory sql-psi needs support to understand a function) and don't need a custom hard-coded case in type resolver and a new release, but on the other hand, this file is big.
Really big... 70.000 lines. And it would need more postgresql/SQL features, eg domain, GRANT, OWNER. And some definitions are not even valid sql, although I got the definition from postgres itself. So it even needs manual changes.
=> the original use case was missing system tables: SYSIBM.SYSDUMMY1 and DUAL. If we want to support predefined tables and maybe the ansi information schema, I would focus on tables and views. We even don't need the whole DDL, but only the resulting columns. And parsing the whole sql file just for some table definitions sounds expensive too.
Do you have another idea, beside the other 2 alternatives? Maybe stub indexes https://plugins.jetbrains.com/docs/intellij/stub-indexes.html? I never tried these.

Decided to add an option for SQL statements provided as a String which will be parsed, but not added to the actual sources, like dependencies. So you are able to use these tables but sqldelight won't include them in your schema/database, because they are already there.


add: Pattern Searching Algorithm, Naive Pattern Searching

Describe the algorithm/code
Naive pattern searching is the simplest method among other pattern-searching algorithms. It checks for all characters of the main string to the pattern. This algorithm is helpful for smaller texts. It does not need any pre-processing phases.
I can find the substring by checking once for the string. It also does not occupy extra space to perform the operation.
The time complexity of Naive Pattern Search method is O(m*n). The m is the size of pattern and n is the size of the main string.
Do you want to work on this feature?

[X] I am willing to implement this feature.

Hi @prateekpr17 !
You can start working on this issue! Do let me know if you need any help.


[Bug] Major - Create campaign Form (EN) - billingual text both English and Bulgarian (Localization Testing)

Describe the bug
Bilingual text in Create Campaign Form (EN)
To Reproduce
Steps to reproduce the behavior:

Go to dev.podkrepi.bg
Change the language with EN
Navigate to the "Donation" menu
Scroll down to "Suggest campaign"
A Create campaign Form is opened

Expected behavior
To see all fields in English.
Actual result:
The user is seeing a mixed language Form - which is not user - friendly.
Screenshots
Desktop (please complete the following information):

OS: Windows
Browser - Chrome
Version -

Hello, @Polina1985!
I cannot reproduce this issue:

Could you please recheck?

https://podkrepi.bg/en/campaigns/create

@Polina1985 Also cannot reproduce on https://dev.podkrepi.bg/en/campaigns/create
Probably it's fixed already. Please re-open if issue persists

Okay got it, it happens with a direct link, instead of after a language change

Just deployed latest master to https://dev.podkrepi.bg/en/campaigns/create
Please verify if this issue is fixed

It is fixed already.
Thanks.


[Tooling] Improve documentation generation

Decription
Today the generateDoc.sh script seems to have a big flaw: it cannot manage iOS!
Even if some API are handle like SwiftUI, the tool cannot deal with UIKit.
ndeed, the actual tool is designed for macOS, thus SwiftUI is available but not UIKIt.
If we run the tool with any UIKit component, i.e. with a11y stuff, the documentation generation fails!
Defintion of Done

[ ] Check if the tool can manage UIKit
[ ] Replace the tool by something else building docarchive, then extract and cipy/pasr HTML files
[ ] Or use manualy-generated docarchive and update the script to make the merge and push to GitHub
[x] Update the website (GH Pages) for v0.3.0 (!)

Online documentation has been manualy updated (see commit 98b3635 for further details)

The swift package command fails to manage _UIkit- and it seems to be the expected behavior as this toll was dsigned for macOS, not iOS, so cannot manage iOS-only API like UIKit. It worked until now because we use SwftUI which is available for macOS, but the integration of a11y API from UIKit makes the command fail.
See https://forums.swift.org/t/generate-documentation-failing-on-import-uikit/55202

ℹ Released with version v0.4.0 🚀


[enhancement] Automatically create sufficient workspaces for number of displays

I changed my configuration so that I only start with one workspace (I'm on a laptop, so I don't need much more than that), but later plugged in an external monitor and started wingo. It crashed because there were more displays than workspaces. Adding a second default workspace solved the problem in the config. Couldn't wingo automatically add numbered workspaces if there aren't enough to give one to each display? Sorry if this is actually really hard/annoying. I have little knowledge of window manager internals.

Wingo could. But I don't see any compelling reason to fix this.

It's really jarring to plug in a monitor and then be unable to start your window manager without editing the config. Would you be opposed to this functionality being added by someone else as a PR? Or do you just have no interest in this functionality whatsoever?

I'm not sure if you noticed, but this project hasn't had any new features in a long time. It is essentially in maintenace mode. I would mention it in the README.
The problem is that I never wrote any automated tests. So the only way for me to accept a PR is to thoroughly test and QA it manually. It is not scalable.
Just make sure you have enough workspaces before configuring a new monitor.

Ah, I see. I agree that it would be nice for that to be in the README. I figured that it probably was an issue with your available free time, but this makes more sense.
Just so you know, you did fantastic work. I love wingo. I've been using it for four months now, and that monitor thing is the only thing about it that seemed worth mentioning as an issue. Thanks for creating it!


Chrome 108.0.5359.98 for Mac OSX breaks chrome-cli

Waiting for chrome to start...
2022-12-08 22:07:41.590 chrome-cli[13366:9013130] Scripting Bridge could not launch application id com.google.Chrome.
Seems to be working well on Version 107.0.5304.121

Works for me
$ chrome-cli chrome version
Waiting for chrome to start...
108.0.5359.98

Works for me on 110.0.5481.177. I suggest this be closed.


'Target' option be able to receive a function

I'm using grunt css-min, and i'm trying doing this
options: {
    keepSpecialComments: 0,
        // string works
    // target: 'webroot/css/banking/'
        // function doesn't work
    target: function(src){
        return src;
    }
}

This option could accept a function, so that could work dynamically with each src

4.0 gets rid of target option in favor to simpler rebaseTo interface, however it'll also feature transformProperty callback which will enable some sort of direct property manipulation, hopefully aiding URL rebasing too, see #863.


[Pixel][12,2]Fill the Pixel!

Pushan Kumar , 12241400 , 2026
Green

This pixel is already assigned , look for some other pixel


Make an interface for 'simple' CFMM pools (Balancer, StableSwap)

We need to make an interface that contains all the swap functions needed for simple Constant Function Market Makers, so its easy to build something that meets the interface, and automatically gets all the needed functionality built out for it.
We should make these swap functions all take swap fee as a parameter, to enable routing applications that want to play with the swap fees in multi-hop.

Talked to Joon on a call. The v1 plan for this is to make an interface, that has an underlying pool, and every method in https://github.com/osmosis-labs/osmosis/blob/main/x/gamm/keeper/swap.go .
With the exception that these functions should take in swap fee as a parameter

Proposed interface:

// proto struct
type Asset struct {
  TotalShares sdk.Int
  TokenBalances sdk.Coins
}

// pure function for swap operation
type SwapI interface {
  SolveConstantFunctionInvariant(balanceIn, balanceOut sdk.Coin, amount sdk.Dec) (sdk.Dec, error)
}

// pool model interface that exposes swap expression
type ModelI interface {
  Swap() SwapI
}

// proto struct
type Param struct {
  SwapFee sdk.Dec
  ExitFee sdk.Dec
  Governer sdk.AccAddress
}

// proto struct
type Pool struct {
  Model ModelI
  Asset Asset
  Param Param
}

Goal: remove weight entirely from the gamm/keeper, and encapsulate it inside (each) pool models. Separate common assets and params from the pool, so the pool models can delegate asset management to the keeper. The pool can still maintain its own state(in case of balancer, weight and smooth weight change), if necessary.

Notes from call:

Adding ctx to SwapI
We need a second interface, which has every single derived swap method. Then we make that second interface whats actually used in the gamm code, and we make it so that, anything that implements SolveConstantFunctionInvariant automatically implements every constituent swap method.

Done


no effect when on UI element

The UI Element on the back has no effect

Blur effect on UI elements is not supported and is not planned for now.


all: replace bytes.Buffer with strings.Build where possible after go1.9 support is dropped

We use bytes.Buffer in a number of places for string construction. The strings.Builder type does this more efficiently, but is not available until go1.10. Replace them when we don't support go1.9 any longer.

Duplicate #533.


GaAs map example

Demonstrates combination of rascaline, skmatter and chemiscope to visualize a training dataset

@ceriottm now that #33 has been merged, could you rebase your branch & try again?

Still failing, but I think we also have to adjust the dependencies here.

SUCCESS! It still fails locally, but at least here it works. Shall I merge?


Linux tutorial broken

http://linuxtutorial.todolistme.net/
So... we have to find another one.

This is the tutorial you use, right?https://ryanstutorials.net/linuxtutorial/
        On Aug 7 2018, at 4:53 pm, Sam Hamm<EMAIL_ADDRESS>wrote:

          http://linuxtutorial.todolistme.net/

So... we have to find another one.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

Needs to be updated in prework as noted above


⚠ Bofrost.fr has degraded performance

In f72b080, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1866 ms

Resolved: Bofrost.fr performance has improved in 013d41a after 9 minutes.


sqlint: 0.1.10 -> 0.2.0

Motivation for this change
New release with support for PostgreSQL 12 and 13 syntax.

Updates libpg_query to 2.0.0 in gem config, used by pg_query gem 2.0.1
Remove redundant gem config override in sqlint expression
Add myself as a maintainer

Things done

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

[ ] NixOS
[x] 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 nixpkgs-review --run "nixpkgs-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)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 116785 at ffcfecb3 run on aarch64-linux 1

2 packages failed to build (new failures):

gitlab
gitlab-ee

Result of nixpkgs-review pr 116785 run on x86_64-linux 1

1 package built:

sqlint

I think this should be safe w.r.t. the gitlab build now, so should be mergeable?

Reviewed points

[x] package name fits guidelines
[x] package version fits guidelines
[x] package build on x86_64
[x] executables tested on x86_64
[ ] all depending packages build

Comments
Hi @purcell, you're the creator of SQLint, right? The library is helpful, and it's great to see the creator also maintaining it here.
It's taken me awhile to review this, because I'm not an expert in either Ruby or Nix. SQLint built and ran correctly with this update for NixOS 19.09. I didn't test anything else.
The change you made ("selects either the old or new libpg_query according to the gem version") means that this pull request no longer affects the two packages that initially failed (gitlab and gitlab-ee), correct? I also don't know whether gitlab-pg_query is required. Maybe @fpletz would know.
If gitlab and gitlab-ee no longer fail, then this looks good.

Hi @purcell, you're the creator of SQLint, right? The library is helpful, and it's great to see the creator also maintaining it here.

Yes indeed. I wouldn't normally maintain distro packages of my software, but luckily I'm a nix user too. :-)

Pinging @marsam as my friendly merge buddy. :-)

looks like gitlab, gitlab-ee is working. Rest looks fine.

Thanks @tomberek :-)


[MAR-18] Explore the use of origin-private-file-system for local file storage

From SyncLinear.com | MAR-18

Revisiting this as part of MAR-7, closing this


Update README.md

This is a simple PR in github
fixes #5

Closes #5

Fixes #5

fixes #5

Keyword example use in the PR description

Hello. This is a saved reply.
[ ] Checklist
italic
also italic
bold
a link
h1
h2
h3


Add NDK 22 to macOS images

Description
In scope of this pull request we add ndk 22 along with ndk 21 LTS.

Add new environment variable ANDROID_NDK_LATEST_HOME assigned to ndk 22.
Add new section in documents with all Android environment variables.

Related issue: https://github.com/actions/virtual-environments-internal/issues/1728
Check list

[x] Related issue / work item is attached
[x] Tests are written (if applicable)
[x] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

I suggest to add a check installed NDKs to post-script tests for Android.

I suggest to add a check installed NDKs to post-script tests for Android.


Query with projection on datetime entity doesn't deserialize to datetime

If you do a query and the projection has a datetime field, for instance:
entity = client.entity(client.key('example'))
entity['created'] = datetime.datetime.utcnow()

query = client.query(kind='example')
query.projection = ['created']
results = list(query.fetch())

The results[0]['created'] will be a timestamp instead of a datetime object.

For the query results, instead of returning what should be a timestamp_value, the back-end is returning an integer_value with meaning of 18):
>>> result_pbs[0]
[key {
  partition_id {
    project_id: "citric-celerity-697"
  }
  path {
    kind: "issue-1770"
    id:<PHONE_NUMBER>321728
  }
}
properties {
  key: "created"
  value {
    integer_value:<PHONE_NUMBER>643047
    meaning: 18
  }
}
]

which differs from the protobuf returned via a normal get:
>>> epbs
[key {
  partition_id {
    project_id: "citric-celerity-697"
  }
  path {
    kind: "issue-1770"
    id:<PHONE_NUMBER>321728
  }
}
properties {
  key: "created"
  value {
    timestamp_value {
      seconds:<PHONE_NUMBER>
      nanos: 643047000
    }
  }
}
]

That smells like a back-end bug to me.

Oh noes.
/cc @jgeewax @pcostell

Extra datapoint:  the result from the same query without the projection return the expected timestamp_value property.

This is WAI (or WADNAI if you prefer -- Working as Designed, not as intended). timestamp_value is stored as a a fixed-point number in Cloud Datastore. You can see this in the sort order specification, Integers and Date/times are listed together in the sort order.
In the indexes, the property value is stored without additional information, in this case the indication that this is a datetime. In Cloud Datastore, projection queries aren't just field masks -- they indicate to the system that it should only perform an index scan and not do the full entity lookup. This means it won't have the opportunity to lookup the additional information.
We hope to be able to fix this eventually, but it has a large impact on backwards compatibility.

Wow, that's kind of a really bad experience for using projection queries.

The price we have to pay for backwards compatibility I'm afraid.

AFAICT, there is nothing gcloud-python can do to fix this issue.  @jonparrott / @pcostell feel free to reopen if you have a suggestion.

@pcostell Any suggestions for what to do for users? It seems that [18 is for INDEX_VALUE][1] which is pretty generic.
https://code.google.com/p/googleappengine/source/browse/trunk/python/google/appengine/datastore/entity_pb.py?r=530#1151

@pcostell Any suggestions for what to do for users? It seems that 18 is for INDEX_VALUE which is pretty generic.

I'm not sure there is anything to do. The 18 just signifies that this came from a projection query. It's useful if the user tries to store that property again we can reject it (to prevent data loss from reading a subset of your data then overwriting the real data).

OK. Le sad face.

I just ran into this and agree it's bad. At the least you'd expect a warning about it in the docs. Even when it's not too difficult to guess what's happening when it returns long rather than datetime.datetime.


[Do not merge] Update the publishing_app for Specialist Publisher manuals

https://trello.com/c/2jXtF2jl/285-task-migrate-existing-sp-manuals-v1-in-the-publishing-api-small
Reviewers welcome!
Manuals will have their own publishing application so update
the relevant content items so that publishing_app: "manuals-publisher".
Also update any relevant PathReservation records to the correct publishing_app.

I don't understand the why from the commit message?
This is putting false data in to the Publishing API, as there will be content that states that it was published by an application that did not exist at the time, which makes me uncertain about doing this.

Having discussed this with @danielroseman we agreed that because the publishing application name is changing in for the manuals publishing side of Specialist Publisher, the data within the publishing-api should reflect this as the origin. Given the new Manuals Publisher application will have a different publishing_api_bearer_token, it would filter out content with a publishing_app of specialist-publisher and so the manuals content would be invisible to Manuals Publisher, so sub-optimal.
Not sure what's meant by false data but if you mean this should pass through an endpoint and the event log, I can't see how this would be achieved given PathReservation records also need to have their publishing_app updated in order to transfer ownership.
I'm also not certain there is an endpoint which would allow us to change the publishing_app value of content.
There are ~2000 content items requiring this update (when Manuals Publisher is launched) so doing it quickly near the time of the application going into production is also desirable.

Having discussed this with @danielroseman we agreed that because the publishing application name is changing in for the manuals publishing side of Specialist Publisher, the data within the publishing-api should reflect this as the origin.

In general, I prefer this kind of historical data to be unchanging, I'll try to elaborate more on the why below.

Given the new Manuals Publisher application will have a different publishing_api_bearer_token, it would filter out content with a publishing_app of specialist-publisher and so the manuals content would be invisible to Manuals Publisher, so sub-optimal.

I don't think this is the case, as this was changed quite recently in d3e952d99773e4621b97ebeff47bb085a30c0a3f . It looks from the code like the publishing app is still used as a filter, but this doesn't have to be the case.

Not sure what's meant by false data but if you mean this should pass through an endpoint and the event log, I can't see how this would be achieved given PathReservation records also need to have their publishing_app updated in order to transfer ownership.
I'm also not certain there is an endpoint which would allow us to change the publishing_app value of content.
There are ~2000 content items requiring this update (when Manuals Publisher is launched) so doing it quickly near the time of the application going into production is also desirable.

By false data, I mean that the publishing_app field in the database means something like the name of the application that made the request. As applications can change names, I view this as the name of the application at the time the request was made. So, under this interpretation, you get a contradiction if you change history in the Publishing API to say that some requests were made by an application that did not exist at the time.
As the core competency of the Publishing API is storing data, I think its important to think through things like this. My initial reaction is that the manuals publisher shouldn't care what Publishing App the content is related to, but instead just use the document_type, which I see as a more elegant solution than changing the history of ~2000 content items. Would doing something like this be possible?

Just talked to @steventux about this.
He made the point that as the name specialist-publisher is not uniquely identifying anyway, so even if the content items with a document_type of manual which were published by the original specialist publisher application are unchanged, once the original specialist publisher becomes the manuals publisher, keeping these as publishing_app:specialist-publisher will be contradictory, as the only Publishing App in use with the name specialist-publisher does not publish manuals.
I'm suitably convinced that the publishing_app field in the Publishing API is pretty vague in some cases (e.g. with the rebuild of specialist publisher), and that given this, its not worth trying to avoid changing it in history in this case.

The build failure might be fixed by just rebasing on master (as some schema things have changed).


feat: ensure that the generated short link is unique when the original url is same

Codecov Report
Attention: Patch coverage is 89.47368% with 2 lines in your changes missing coverage. Please review.

Project coverage is 65.47%. Comparing base (6e74711) to head (164b98a).

Files
Patch %
Lines

app/turl/service.go
80.00%
1 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #25      +/-   ##
==========================================
+ Coverage   65.01%   65.47%   +0.45%
==========================================
  Files          24       24
  Lines         769      785      +16
==========================================
+ Hits          500      514      +14
- Misses        232      233       +1
- Partials       37       38       +1

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


Delete subdomains and identify by sessions?

I am trying to make a paid app, for which I would have 2 plans, for the moment the difference would be the subdomain.
Example:
Basic plan:

No subdomain.
It does not have integrated wsp access.
Basic functionalities

Plus Plan:

It has its own subdomain.
Integration with Whatsapp API and others.
Basic functionalities + others.

Base URL: http://www.propower.test
So I was wondering if with this library of tenancy, is it possible or how I could work with all tenants in basic plan with the same URL example http://www.propower.test/login all enter the same base URL, and when they are already logged in no subdomain is added but to save the tenant ID as a session variable.

Hello @alexv96,
have you been able to work out what you want to do ? If so please close your issue.
A tenant can be identified by its domain, subdomain, path or query data. https://tenancyforlaravel.com/docs/v3/tenant-identification
If you need help you can always join the discord, you can find the link https://tenancyforlaravel.com/


[Feature Request] Adding support for getting multiple attributes ("client.getAttributes") in a single request

In situations where I wanted to monitor multiple attributes from a mbean, currently I need to issue "client.getAttribute" multiple times (once for each attribute).  While this is feasible, it requires multiple network calls.  Instead, I would like to issue a single request, "client.getAttributes", to retrieve multiple attributes.  This capability is already supported in JMX (java calls) and would enhance node-jmx capabilities.

Implemented in #7. Closing.

Xabier,
Thank you very much for accepting the PR.   :-)
When do you think the new package may be available via npm?
Best regards,
Eric Broda
 On Wednesday, July 15, 2015 2:17 PM, Xabier de Zuazo<EMAIL_ADDRESS>wrote:

Implemented in #7. Closing.—
Reply to this email directly or view it on GitHub.

During this week.

Released in 0.4.0. Thank you for your patience :wink:


Long resource names cause styling problem on resource page

Long resource names (without breaking spaces) collide visually with other UI elements, as seen in the attached image.
180709-test-files-011v.zip

@horsburgh I believe this falls under the Resource Model category but please let me know if it should be assigned elsewhere.


ATW race condition on exit

Found a problem with the rendering thread having a non-registered buffer after the main application had exited.

Probably fixed in 928a96f545b0f43bae9eb184d918af57cc8d6681


Add htmlproofer to travis build

OpenStack Release
Kilo +
Description
I'd like to add the htmlproofer to the travis build to test the docs after sphinx builds them.
$ htmlproofer --allow-hash-href --check-html --file-ignore docs/_build/search.html docs/_build

need to figure out how to configure travis to use ruby, install the htmlproofer gem in addition to the existing python configurations.


Code tags screw up bitfields

The bitfield handling code sees the code as a non-bitfield that terminates the bit field. Shouldn't do that.

This is harder than you would imagine to fix. It may take some re-engineering to fix, you essentially need to allow the previous encodable list to iterate backwards. Ugh.


JSON parse failed

Hi, I tried to insert a large document into the graphrag so I set gpt-4o-mini as the best_model_func:
graph_func = GraphRAG(working_dir="./test", best_model_func=gpt_4o_mini_complete)

.Then, I encountered an error:
INFO:nano-graphrag:Writing graph with 15585 nodes, 6276 edges
Traceback (most recent call last):
  File "/root/test_build.py", line 14, in <module>
    graph_func.insert(content)
  File "/root/.env/lib/python3.11/site-packages/nano_graphrag/graphrag.py", line 181, in insert
    return loop.run_until_complete(self.ainsert(string_or_strings))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/root/.env/lib/python3.11/site-packages/nano_graphrag/graphrag.py", line 291, in ainsert
    await generate_community_report(
  File "/root/.env/lib/python3.11/site-packages/nano_graphrag/_op.py", line 578, in generate_community_report
    this_level_communities_reports = await asyncio.gather(
                                     ^^^^^^^^^^^^^^^^^^^^^
  File "/root/.env/lib/python3.11/site-packages/nano_graphrag/_op.py", line 555, in _form_single_community_report
    data = use_string_json_convert_func(response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.env/lib/python3.11/site-packages/nano_graphrag/_utils.py", line 31, in convert_response_to_json
    assert json_str is not None, f"Unable to parse JSON from response: {response}"
           ^^^^^^^^^^^^^^^^^^^^

Is there any retry option or only gpt-4o can do this kind of task?
Thanks.

Hi, maybe you can give the total error log? It seems like the gpt-4o-mini returns an empty string

The is the error information:
AssertionError: Unable to parse JSON from response: {
    "title": "Binomial Distribution and Related Concepts",
    "summary": "This community centers around the Binomial Distribution, which encapsulates the probabilities of successes in a fixed number of Bernoulli Trials. Key entities include various mathematical concepts and corollaries that are intricately linked to the Binomial Distribution, providing a comprehensive framework for understanding probability theory.",
    "rating": 7.5,
    "rating_explanation": "The impact severity rating is significant due to the foundational nature of the Binomial Distribution in probability and statistics, influencing numerous applications in diverse fields.",
    "findings": [
        {
            "summary": "Centrality of Binomial Distribution",
            "explanation": "The Binomial Distribution serves as a core entity in this community, defining the mathematical framework for studying the number of successes in a fixed number of Bernoulli trials. It is characterized by parameters such as the number of trials (n) and the success probability (p), making it vital for foundational statistics. This distribution aids in predicting outcomes in scenarios where the results are binary, such as success/failure or win/lose situations.",
        "In practical terms, the significance of the Binomial Distribution extends across various fields, including finance, science, and social research. It lays the groundwork for advanced statistical theories, making its understanding crucial for anyone delving into data analysis or inferential statistics."

Seem like it reached the max new token

Is there any way to solve this? If we use gpt-4o, the cost will be too much for us.


Add guide of deploying static site to Deno Deploy

Description
Add guide of deploying static site to Deno Deploy.
Right now the docs only redirect to Deno Deploy's static deployment docs, missing the full guide. This PR adds missing guides.

Hello! Thank you for opening your first PR to Astro’s Docs! 🎉
Here’s what will happen next:

Our GitHub bots will run to check your changes.
If they spot any broken links you will see some error messages on this PR.
Don’t hesitate to ask any questions if you’re not sure what these mean!

In a few minutes, you’ll be able to see a preview of your changes on Netlify 🥳.

One or more of our maintainers will take a look and may ask you to make changes.
We try to be responsive, but don’t worry if this takes a few days.

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

en
guides/deploy/deno.mdx
Source changed, localizations will be marked as outdated.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Thank you for adding this helpful content to the docs @NanamiNakano ! 🙌
We plan to review and test it this week, so we'll be taking a look at it soon!

Note: While I approve these changes, I believe a "re-write" of this page should be considered in the future to make it more beginner-friendly and accessible for someone like me, who is trying Deno for the first time (I had heard of it before, but didn't have a reason to install and try it). Notably, npx astro add deno installs @astrojs/deno, not @deno/astro-adapter as outlined in the manual install section, + other things like wording and content organization. Maybe after v5 ;)

Thank you for your review @casungo ! It's very helpful and yes, down the road we probably could make improvements to this page. :raised_hands:


fixes Cargo.toml local path dep?

A (naive?) workaround for #577.
Opening as draft at least to show where I landed when troubleshooting the issue.

This is the same as #607 which is merged now.

Thank you!


highlight color on android before 4.4

Every android before 4.4 shows an highlight overlay color on buttons after transition. The app shows this problem just when ionic-native-transition is enabled.

I have found a solution.
* {
   -webkit-tap-highlight-color:  rgba(255, 255, 255, 0) !important;
   -webkit-user-modify: read-write-plaintext-only;
}

obs.: you must webkit-user-modify use to take efect


CB-15142 Node count computation changes for stop/start scaling.

Changed node count to computation to exclude stopped instances in scaling event.
Stopped instances will be excluded only when stop/start scaling is enabled.
Unit test for StackResponseUtils to compute no. of stopped instances.

TODO:

[ ] Unit tests for YarnLoadEvaluator

See detailed description in the commit message.

Closing this PR, will open a separate PR for this patch.


Visual Studio 2015 Support

The VM currently compiles in only Visual Studio 2013, using release build.
For better community support it would be good to port the VM to the current Visual Studio 2015.
The VM project is quite low-level complex, so a "technical" port with minimal changes would be a good start. Reactoring to be done later.
Support for olders versions of Windows and Dolphin could be removed for simplicity.
.
I've looked into this, but to be honest, it is too complex for me in the time I have available:
Too many macro's and old Windows API stuff.

Frankly speaking VM can be buld for VisualStudio 2015 but will not run because CRTLibrary fileName is 'C:\Windows\SYSTEM32\ucrtbase.DLL' and in this library many functions is not available

Really? I'm getting a ton of warnings and errors when building.
Do you use any specific settings in VS2015?

@objectarts, I'd be interested in your comments on this. It seems that in general VM developers should be on the same toolset. That is, I'd prefer not to have to check all my edits in VS2013 as well as VS2015. As I've been able to contribute to getting the Debug configuration working in VS2013 I suspect that I could get things working in VS2015 but would be reluctant to do so unless you plan to have everyone move to this version. If your intent is to stay on VS2013 (which is fine by me), then perhaps this issue should be closed (to reduce my cognitive load in reviewing potential tasks!).

We may as well move to VS2015. I'm planning to take a look at it over the weekend.

Hi Blair, that would be very nice indeed!!

This is a bit trickier than I thought it would be - it was relatively easy to solve the build issues, and the resulting VM appears functional in that the image starts, but it fails quickly due to significant changes in the C-runtime library. This is going to require some changes on the Smalltalk side of things (including in the boot image unfortunately), but seems worth doing since going forward the CRT will be shipped in the OS (it is already in Windows 10) and they will be maintaining backwards compatibility so it won't be necessary to worry about having the right VC Redist installed any more.

Ah, life is never that easy. :). But thanks again for taking it up and hopefully the job is not too big.

As of commit fadbbe7 this is fixed.


Adds support for running rustfmt on generated bindings

This patch enables bindgen to run rustfmt on generated bindings. Rustfmt is used
from the global PATH. Two new command-line arguments are added:

--format-bindings: Enables running rustfmt
--format-configuration-file: The configuration file for rustfmt (not required).

Fixes: #900

https://github.com/bkchr/rust-bindgen/blob/35aaee1d21a19cefd37c388f6889c4961dafcb75/src/lib.rs#L457 isn't that your first point? If yes, I also done that for derive-debug :)

https://github.com/bkchr/rust-bindgen/blob/35aaee1d21a19cefd37c388f6889c4961dafcb75/src/lib.rs#L457 isn't that your first point? If yes, I also done that for derive-debug :)

Ah yes. Somehow I missed that :-P

Addressed all issues :)

:pushpin: Commit 7fe3f0c has been approved by fitzgen

@bors-servo r+

:hourglass: Testing commit 7fe3f0cb7919cc21c5b9b80b32fd5ea3d583e316 with merge 99d188f13da7665c9518c825a6d8d36bb3bee3ec...

:broken_heart: Test failed - status-travis

I had rustfmt-bindgens enabled by default and then the test failed.. I changed it to disabled by default, is also probably better.

Now all tests are green :)

:umbrella: The latest upstream changes (presumably #892) made this pull request unmergeable. Please resolve the merge conflicts.

Rebased.

I changed it to disabled by default, is also probably better.

Ah, yes! It should be disabled by default, sorry for not catching that in review!

@bkchr looks like a couple pieces of feedback got missed, let me know when you push fixes, thanks!

@fitzgen ohh sorry... I worked across different pc's... And I did not pull before rebasing.. Now it should be as it was before^^

@bkchr no problem, thanks for the PR :)
@bors-servo r+

:pushpin: Commit 27dd628 has been approved by fitzgen

:hourglass: Testing commit 27dd628ad769c5057337cce6c5b57af7bb4eb273 with merge 5ca05690c17e318d52f8d2e82aeef5d0feff35b3...

:sunny: Test successful - status-travis
Approved by: fitzgen
Pushing 5ca05690c17e318d52f8d2e82aeef5d0feff35b3 to master...


[Airflow-XXX] Add KPN B.V. to company list

Make sure you have checked all steps below.
JIRA

[x] My PR addresses the following Airflow JIRA issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-XXX
In case you are fixing a typo in the documentation you can prepend your commit with [AIRFLOW-XXX], code changes always need a JIRA issue.

Description

[x] Here are some details about my PR, including screenshots of any UI changes: Documentation change adding KPN B.V. to the list of companies using Airflow

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason: N/A

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[x] In case of new functionality, my PR adds documentation that describes how to use it.

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.

Code Quality

[x] Passes git diff upstream/master -u -- "*.py" | flake8 --diff

Codecov Report

Merging #3577 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3577      +/-   ##
==========================================
- Coverage   76.83%   76.82%   -0.01%
==========================================
  Files         204      204
  Lines       15488    15488
==========================================
- Hits        11900    11899       -1
- Misses       3588     3589       +1

Impacted Files
Coverage Δ

airflow/models.py
88.68% <0%> (-0.05%)
:arrow_down:

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 e8e7209...02f7129. Read the comment docs.

Please squash commits

@kaxil squashed the commits into a single one.


Has ipv6

documentation for proposed ipv6 versions of has_ipv4, has_any_ipv4, has_ipv4_prefix, and has_any_ipv4_prefix

@microsoft-github-policy-service agree company="IBM"

Hi @bemitc, thank you for contributing to our documentation. However, it seems that these functions don't exist. Example.
If you're an internal Microsoft employee, and you know that these will be functions in the future, please reach out on Teams.
#please-close


Examine slope calculation for unexpected values

A number of attempts at hydraulic erosion (erosion.py) have all resulted in unstable sims that produce spikes or chasms in the terrain:

One avenue to investigate is the calculation of the slope between vertices.  In both calc_slope and calc_slope_deg a tiny value was added to the distance between verts to prevent divide by 0 failures.  (v1 - v0) / (dist + 0.00001)  In theory the distance between verts should be measured in kilometers and this tiny added value should be irrelevant, but if somehow the distance is a very small number the result could be that the rise (v1 - v0) measured in meters, over the run (dist + 0.00001) could be taking a larger number and dividing by a very tiny number which would result in a return value measured in the hundreds of thousands or millions.
Instead it might be prudent to conditionally check the distance and/or the rise and return a slope of 0 if the values are essentially flat or too close to each other.
Also while we're at it we should double check calc_distance and validate what it is outputting since it is part of the same chain of functions.

For a mesh with around 1 million vertices (frequency = 320), the slope between elevations at any two vertices is rarely above 1 degree, and is usually more like 0.0N or 0.N degrees, because the distance between vertices is around 24km.  This is a long distance and the slope change will be pretty gentle, despite what the exaggerated scale might look like in the PyVista viewer.
So, indeed, the slope number will be quite small, so dividing anything by the slope would make a big number.

Also, at the moment the heights are remapped to a range that includes negative numbers (e.g. -4000 meters to positive 8000 meters) and the negative numbers being fed into the slope functions (not to mention the addition/subtraction that happens in the erosion update/deposition) could be having undesired effects.  It might be best to temporarily move the entire range upward so that the lowest elevation is 0 while running the erosion and then move it back down once erosion is complete.


Enabling edit button

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.gitattributes
:white_check_mark:Succeeded

.openpublishing.publish.config.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Filter by architecture

It would be nice to be able to filter the view of flathub on the web based on what is available for a specific architecture. For example a check box to show only apps available for x86_64 or aarch64.

Duplicate of https://github.com/flathub/linux-store-frontend/issues/39


problem about fabType

hello guys, i got problem if first time open the activity and using app:fabMenuStyle="popUp" got like this

can you help me how to fixed this
thank you

please check last version

thank you sir


[FYI] Now available from ArchLinux User Repository (AUR)

[ This message is purely informational, no action is necessary on your part, and you can close this “issue” at your discretion. ]
Tget is now available from AUR as tget-git:

https://aur.archlinux.org/packages/tget-git

It can be installed using an AUR helper, e.g.:
yay -S tget-git

:pray:

Awesome! Thank you


IP <IP_ADDRESS> with ipv6 enabled

Hey,
it looks like there is a bug related to ipv6.
The ipv4 mode works as expected but with ipv6 enabled the internal docker ip address <IP_ADDRESS> is shown.
A few days ago ipv6 was still working.

Could you try again? OVH has really lousy IPv6 support, and ipv6-nat is a temporary workaround. I've seen this condition before and haven't determined what triggers it.

Now it's working great. Thank you!

FYI I'm seeing this again right now

Fixed again for the time being, will just get rid of ipv6nat shortly.


Create Depth First Search (DFS) Traversal

Program in Python to perform Depth First Search Traversal

hey , they are not considering dsa,cp and algorithm repo
but you can contribute to this repo as a part of community :)
this will help many students to practice dsa


title

Q
A

Is bugfix?
yes/no

New feature?
yes/no

Breaks BC?
yes/no

Tests pass?
yes/no

Fixed issues
comma-separated list of tickets # fixed by the PR, if any

请不要一次提交这么多文件，提交pull request到分支doc


The docker:dind image should include a master build

Now that Docker is integrating with an increasing number of third parties, it would be great if Docker could make it easier for others to run integration tests against pre-release versions of Docker. This would allow them to spot issues and regressions before they made it into releases.
The docker:dind image (https://hub.docker.com/_/docker/) is a great tool for testing but it only has tags for official releases. It should be easy to set up an automated build to update a dind-master on each checkin, but that's something that only Docker can easily do.
ping @jfrazelle @tianon @jpetazzo

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

Not sure it's worth efforts. You can build image from repo with simple script.

@tianon thanks for update!


[Error] Login

username
postgres

password
faisal123

I can't login with this account. how to get or create a new ccount?

Facing Same Issue.
Please Help.

Are you trying to login to the db? can you please provide steps to reproduce?

error doc.docx

I followed step (mentioned in doc) and not able to login.
please Help

Thanks Salman, I'm looking into this.

Issue resolved, please refer to the updated wiki page
https://github.com/faisalthaheem/hurtrade/wiki/Creating-a-new-user
Kindly note the following addition/changes to the page
The credentials to login to pgAdmin web interface are as follows
Use the following credentials to connect to the pgsql db


Incompatible behavior with TiDB when casting float into string

Bug Report
Please answer these questions before submitting your issue. Thanks!
ref https://github.com/pingcap/tidb/issues/57652
4. What is your TiFlash version? (Required)
all

By now, we are not aware of any component that relies on the original behavior of TiFlash. Therefore, this bug will only be fixed in the master branch.


Quotes are lost when running ahoy commands from other ahoy commands

It's pretty handy to call other ahoy commands (almost like reusable functions). This works pretty well most of the time, but if your "sub-command" uses quotes, they can get lost on the second call it seems.
Issue seems to be how Yaml handles the quotes. If you want to use quotes, then you have to not wrap the whole thing in the same quote.
Example
...
  commands:
    echo-success:
      cmd: echo "{{args}}"
    echo-fail:
      cmd: "echo {{args}}"
    echo-test:
      cmd: ahoy echo-success "'quotes'" && ahoy echo-fail "'quotes'"

$ ahoy echo-test test
2015/12/01 19:18:13 run command:  ahoy echo-success "'quotes'" && ahoy echo-fail "'quotes'"
2015/12/01 19:18:13 run command:  echo "'quotes'"
'quotes'
2015/12/01 19:18:13 run command:  echo 'quotes'
quotes

Actually, it looks like this can be solved by just using (and escaping) double quotes inside the double quotes like so:
  echo-maybe:
 85     cmd: "echo \"{{args}}\""
 86   echo-success:
 87     cmd: echo "{{args}}"
 88   echo-fail:
 89     cmd: "echo {{args}}"
 90   echo-test:
 91     cmd: ahoy echo-success "'quotes'" && ahoy echo-fail "'quotes'" && ahoy echo-maybe "'quotes'"

$ ahoy echo-test test
2015/12/01 19:23:22 run command:  ahoy echo-success "'quotes'" && ahoy echo-fail "'quotes'" && ahoy echo-maybe "'quotes'"
2015/12/01 19:23:22 run command:  echo "'quotes'"
'quotes'
2015/12/01 19:23:22 run command:  echo 'quotes'
quotes
2015/12/01 19:23:22 run command:  echo "'quotes'"
'quotes'

For details of the Yaml Spec: http://yaml.org/spec/current.html#id2532720


Decide on type format, basic standard methods & operations for standard lists (x2) and dictionaries (x2)

method names should preferably be unique.

Absorb in #409


Adding support for macOS by using shims

Adds complete support for using PKHUD under macOS.
Changes are almost all additive and held simple by adding a shim file to bring both platform APIs together.
Use the demo app to check if all huds work smoothly and do what they say.
Then please check logic and code style and see if it all fits.

Thanks for this HUGE PR.

Not so many.  I thinks it would be better to change the branch to [feature/macOS (https://github.com/pkluz/PKHUD/tree/feature/macOS) and work there for the next release.

closing, due to working in a feature branch where this (https://github.com/pkluz/PKHUD/pull/141) PR tries to add the changes

Thanks a lot


Make sure that selfhosting canal and flannel pods land on all tainted nodes

When using Kubernetes networking selfhosting in clusters with multiple nodepools -make sure that the daemonsets are deployed to all nodes.  With canal it needs to be all nodes but not masters, but with flannel it should be every node in the cluster.
Also a correction for a syntax bug when kubectl lookups fail in add-node-cidrs.

Fixed by https://github.com/kubernetes-incubator/kube-aws/pull/1323


CDC cluster settings, envelope format, unsupported values in avro

CDC updates, including:

New cluster settings
Updated default envelope format,
List of unsupported SQL types/values in avro

Other changes: Rearranged the sidebar
Addresses some of the changes laid out in #3992. Note: core changefeed and cloud storages updates coming next.

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/7ea1138dbf8b4b71b5dd5fc88c79ac127c1e4fab/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/8904e45de02429386a1094138c3b080b5990cf6b/

LGTM pending the changes that Dan requested above. Thanks Lauren!

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/af3b178098d404c75d5864e7aae3ae872f7bc602/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/aa700ef98333a8e3575d5c43e0cb295f76524d2d/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/6568ce4b3b9209a0109103f0b0ebe1ec0d18bcde/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/4ae078334f86f217d36f1e5cf7bea766e5534809/


Activity on homepage doesn't match explorer

Problem
Activity on homepage doesn't match explorer for account created through linkdrop:
https://explorer.nearprotocol.com/accounts/test-linkdrop
Expected Behavior
Activity in explorer and wallet is the same
Steps to reproduce

Create new account using linkdrop URL.
Observe absence of activity on homepage.
Click "View All" to see activity in explorer (it's not empty now)

We extracted Actions into a separate table on Explorer (https://github.com/nearprotocol/near-explorer/pull/224), so you need to update the query to JOIN actions table. Let us know if you need help with the query.
/cc @icerove


Typo in  jitisi_meet_external_api.dart

I assume it should be
jitsi_meet_external_api.dart without the extra i

Hi @wirthual  yeah you right i fix the typo, thanks for the report.


Day phase ending after midway vote recap

Seems to irregularly happen.

!stopgame and !skipphase didn't fully reset.
Removed the usage of said commands for now. Not worth the trouble.


[RFC436] interface delcared in setup function should be elevated to top scope instead of function scope

Input file:
<script setup lang="ts" generic="T extends Test">
interface Test {
  test: string
}
const props = defineProps<{
  msg: T,    // no works
  mmm: Test, // works
}>()
console.log(props.msg.test)
</script>

Compiled virtual file

Note the interface should be compiled outside of render function.

😅temp solution，use export interface Test {}

You can also define your type in a

it was answered here:
https://github.com/johnsoncodehk/volar/pull/1964#issuecomment-1277519562

This is expected behavior, consider following case we cannot move Test outside setup function.
<script setup lang="ts">
let test = 'test';
interface Test {
  test: typeof test
}
</script>

So the solution here is using another script tag? It is more verbose.
Also, it is not consistent with SFC's defineProps.
Consider this
<script setup lang="ts">
  import { ref } from 'vue'
  interface Test {
    test: string
  }

  const props = defineProps<Test>()
</script>

will compile to successfully.

Playground:
https://sfc.vuejs.org/#eNo9ULtuwzAM/BVCS1qgttDVUAz0Dzp01OI6tKPAekCk08HQv5dS0g4SeDyedMdDfaTU33dUgzI0Z5cYCHlPsE1hPVvFZNVoA4DzKWaGAzIuUGDJ0cNJhKdGBsa8TDPCF5IM1R4ASz0AcXZhrZ1Sr3rmGGQq5ZgIznDBxQX8rMhU+fjyaoPRDzfytwBGn7aJsTkx1/fxOMDTCqUYLah1XUg7w73z8YKbOBe+WTf6X63e1CNG56fU3ygGid3M2ichaYc/+1ZJvIqtujInGrSmZa7LulEf86ql6vMe2HnskXz3neMPYZaHrXrmLar8AhA6eUc=

So the solution here is using another script tag? It is more verbose than being optimal.

Yes, I mean elevate interface to top scope is not improvement, but it's a bug.
This is an example, when interface in <script setup> Props.foo is string, when interface in <script> Props.foo is number.
<script lang="ts">
const foo = 123;
</script>

<script lang="ts" setup>
const foo = 'foo';

interface Props {
  foo: typeof foo; // string
}

defineProps<Props>()
</script>

<script lang="ts">
const foo = 123;

interface Props {
  foo: typeof foo; // number
}
</script>

<script lang="ts" setup>
const foo = 'foo';

defineProps<Props>()
</script>


Rename server.jsx to renderMiddleware or applicationMiddleware

server.jsx is confusing as a name. It is executed on the server, but let's name it for what it is.
It is an express middleware that passes the request to react-router for matching. We then fetch data for the route and render.
Any ideas?

Thoughts so far:

renderingMiddleware
expressMiddleware (might be too vague)
applicationMiddleware

+1 on renderingMiddleware because it is for server side rendering.
or maybe SSRMiddleware?

Another +1 on renderingMiddleware
@ZeroCho since this file would probably be moved to the server folder (i assume?), it's already implied that it's server-executed.
A small nitpick: I would suggest naming it renderMiddleware instead of renderingMiddleware, just as you would have authenticationMiddleware or authenticateMiddleware, and not authenticatingMiddleware. This is probably pretty subjective thoguh :)

@GGAlanSmithee Agreed. The only reason why i thought rendering was okay was because we previously had preRenderMiddleware which didn't make as much sense. I think in this case, renderMiddleware is a good name.
As for moving to /server, yes I think it will be moved there. There might be other files moved there as well, such as pageRenderer, but fetchDataForRoute will still be kept in the app.
I'll work on this tonight!


Bug: Mute does not work when selecting my monitor (Dell U2720Q) as the sound device

Disclaimer:
Please go through existing issues to avoid creating duplicates. If you found a similar issue please post a comment there. If you are uncertain your issue is related to others then create the issue. Obvious ignorance of this rule might get you blocked from posting new issues. Please tick the box below to show that you have followed the guideline.

[x] I have checked for a similar issue and sure it hasn't been reported before.

Describe the bug
When using my MacBook's internal speakers as the device, the Vol Up, Vol Down and Mute buttons on the keyboard all work as intended.
However, when using my monitor as the device, Vol Up and Vol Down works, but Mute does nothing (even though the Mute overlay shows up, sound still keeps playing).
Expected behaviour
Volume should get muted/unmuted when the Mute button is pressed.
Setup information:

Audio device used for playback: Dell U2720Q
Audio transmission interface: 3.5mm Jack
macOS Version: 10.15.4
eqMac Version 0.1.1
eqMac UI Version 0.1.0

Screenshots or Console.app logs
If applicable, add screenshots to help explain your problem. Also you can run Console.app and apply filter for eqMac
Additional information
Add any other context about the problem here.

The same occurs to me, when using my monitor as audio playback device.
Setup information:
Audio device used for playback: LG 29WK500-P
Audio transmission interface: 3.5mm Jack
macOS Version: 10.15.4
eqMac Version 0.1.1
eqMac UI Version 0.1.0

Yeah, but without eqMac running it also doesn't work 😄
So are you expecting eqMac to virtually put the volume to 0?

Yeah, but without eqMac running it also doesn't work 😄
So are you expecting eqMac to virtually put the volume to 0?

without eqMac running MacBook doesn't control volume at all, but with eqMac it does increase and decrease(even to 0) the volume, but directly thru the mute button it doesn't work.
That's the thing.

Yeah, so it's not a bug, it's a feature request then :) Should be out today

Implemented in release v0.2.0
Please download from website, GitHub release or update from within the app directly :)

Implemented in release v0.2.0
Please download from website, GitHub release or update from within the app directly :)

Perfectly done!!
And popover mode possibility, dropping out of the icon, instead of the window with the X button is perfect!!

Thank you! Sorry it should be a feature not a big as you have said.
On Tue, 19 May 2020, 00:44 Alexandre Rocha<EMAIL_ADDRESS>wrote:

Implemented in release v0.2.0
Please download from website https://eqmac.app, GitHub release
https://github.com/bitgapp/eqMac/releases/tag/v0.2.0 or update from
within the app directly :)
Perfectly done!!
And popover mode possibility, dropping out of the icon, instead of the
window with the X button is perfect!!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bitgapp/eqMac/issues/264#issuecomment-630304422, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AABFWYZTJ7LHYQVTBMON4EDRSFQVJANCNFSM4MYREPOQ
.


feat: add AccountTransactionIndex insert

Until we support fee escalation, this should always return None.
Subsequent PRs will use this DS, and panic if Some is returned.

Stack:

#318
#317
#316 ⬅
#315
#314
#313

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

This change is

Codecov Report
Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 78.00%. Comparing base (5359774) to head (dfe8107).

Files
Patch %
Lines

crates/mempool/src/transaction_pool.rs
0.00%
3 Missing :warning:

Additional details and impacted files
@@                  Coverage Diff                  @@
##           spr/main/06539624     #316      +/-   ##
=====================================================
- Coverage              78.17%   78.00%   -0.18%
=====================================================
  Files                     28       28
  Lines                   1361     1364       +3
  Branches                1361     1364       +3
=====================================================
  Hits                    1064     1064
- Misses                   244      247       +3
  Partials                  53       53

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


Split multivariate Student-t distribution sampling

This PR resolves #12
While testing it I realized that the multinormal sampler didn't have an easy test for MI in the 2D case, so I added it.

@grfrederic Hmmm, interesting. None of the tests for the MI in the 2D case (which uses fast KSG estimator from SciKit-Learn) doesn't pass that.
Three hypotheses:

I introduce a bug to the code. (Either at the MI calculation level or sampling).
The formula in the paper has a bug.
KSG estimator is not that good for Student-t.

with df -> inf we should get a multivariate gaussian, which should pass tests, right? does it? and by should pass i mean that it does pass on our other test.

since as we talked this is not a priority right now, i think we have two options:

merge this branch but don't add automatic tests with these distributions since we know there is some kind of issue
leave this PR

personally i lean towards the first option (since it seems the issue could be not numeric/coding), but maybe we should leave some additional warnings for now.

After testing today with Paweł, it seems that the code works as expected and KSG (and also histogram) MI estimator struggles with computing the correct MI, since the distribution is almost identical to a Gaussian, but has different true MI.
I suggest we make the tests throw warnings not errors and merge. We can talk about why our estimators fail some time later, this might be an interesting case for our paper.


DevDB: incorporate new Affordable Housing Production data

overview from AD

Sam is asking us to incorporate pre-HNY affordable housing data.
Currently, we pull Affordable Housing Production by Building dataset on Open Data (hpd_hny_units_by_building), geocode the results and use hny_geocode_results in developments database.
Basically, we'd need to store and geocode the attached excel data. Then, we could append the rows to the hny_geocode_results data (acknowledging that the data attached has fewer columns / would need to match up columns (is all_counted_units equal to Affordable Units?). Everything should then flow downstream.

notes

hpd_hny_units_by_building currently has 6K rows
new historical data has 14K rows and far fewer columns

8K rows WHERE reporting_construction_type = 'New Construction'

...

@AmandaDoyle
DevDB build is failing when using new inputs named hpd_units_by_building and hpd_geocode_results. those tables are created in a new sql script named _hny_union.sql and used in _hny_match.sql
ERROR:  more than one row returned by a subquery used as an expression

this errors seems to occur during _hny_match.sql when creating the columns classa_hnyaff and all_hny_units. it seems to be caused by earlier queries in that file which create HNY_matches and many_to_one.
the following subqueries both cause the error seen above:
many_to_one AS
  ...
  THEN (SELECT classa_hnyaff
    FROM one_to_many b
    WHERE a.job_number = b.job_number)
  ...
  THEN (SELECT all_hny_units
    FROM one_to_many b
    WHERE a.job_number = b.job_number)
  ...

If you wanna inspect/query tables from the failed build right before _hny_match.sql fails, they're in EDM-DATA. the database is devdb-build, the schema is  build_workflow_dispatch_devdb_add_affordable_housing

adding that this may be caused by the inability to link ogc_fid from geocoded data to uid from units data in:
ON a.ogc_fid::text = b.uid

will revise _hny_union.sql to ensure tables join as expected


No [Water effect] in example folder

Hi,  is water effect example in another repository?
I cloned https://github.com/martinRenou/proteus_visualization/
which contains /blob/master/reef.ipynb  in  resository.
when I tried run reef.ipynb, error occured.
FileNotFoundError                         Traceback (most recent call last)
 in
----> 1 arrays_metadata = extract_arrays_metadata('reef/solitary_reef.h5')
2
3 mem_vertices = extract_array(arrays_metadata, 'nodesSpatial_Domain0')
4 vertices = np.array(mem_vertices[:, 0:2])

You can try the marin_vtu notebook there, but it's a very coarse mesh so adding a water effect on it doesn't give visually appealing results.
I cannot push more data to this repo as it's too big for a Github repository.

You can try the marin_vtu notebook there, but it's a very coarse mesh so adding a water effect on it doesn't give visually appealing results.
I cannot push more data to this repo as it's too big for a Github repository.


Bug of CPU detection?

System information
Linux 4.9.0-kali4-686-pae #1 SMP Debian 4.9.25-1kali1 (2017-05-04) i686 GNU/Linux
TensorFlow installed from source code
TensorFlow version : 1.0.1
Bazel version : 0.4.2
CUDA/cuDNN version: None
GPU model and memory: None

== cat /etc/issue ===============================================
Linux 4.9.0-kali4-686-pae #1 SMP Debian 4.9.25-1kali1 (2017-05-04) i686 GNU/Linux
VERSION="2017.1"
VERSION_ID="2017.1"
== are we in docker =============================================
No
== compiler =====================================================
c++ (Debian 6.3.0-16) 6.3.0 20170425
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
== uname -a =====================================================
Linux 4.9.0-kali4-686-pae #1 SMP Debian 4.9.25-1kali1 (2017-05-04) i686 GNU/Linux
== check pips ===================================================
numpy (1.12.1)
== check for virtualenv =========================================
False
== tensorflow import ============================================
Traceback (most recent call last):
File "", line 1, in
File "tensorflow/init.py", line 24, in
from tensorflow.python import *
File "tensorflow/python/init.py", line 72, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "tensorflow/python/init.py", line 61, in
from tensorflow.python import pywrap_tensorflow
ImportError: cannot import name pywrap_tensorflow
Failed to load the native TensorFlow runtime.
See https://github.com/tensorflow/tensorflow/blob/master/tensorflow/g3doc/get_started/os_setup.md#import_error
for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.
== env ==========================================================
LD_LIBRARY_PATH is unset
DYLD_LIBRARY_PATH is unset
== nvidia-smi ===================================================
== cuda libs  ===================================================

Describe the problem
I compiled it from source,  and got this fatal error when try to import tensorflow in python3.5.3:
Python 3.5.3 (default, Jan 19 2017, 14:11:04)
[GCC 6.3.0 20170118] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow
F tensorflow/core/platform/cpu_feature_guard.cc:35] The TensorFlow library was compiled to use SSE instructions, but these aren't available on your machine.
Aborted

And here is the information of my CPU:
.......
processor    : 3
vendor_id    : GenuineIntel
cpu family    : 6
model        : 37
model name    : Intel(R) Core(TM) i3 CPU       M 370  @ 2.40GHz
stepping    : 5
microcode    : 0x4
cpu MHz        : 933.000
cache size    : 3072 KB
physical id    : 0
siblings    : 4
core id        : 2
cpu cores    : 2
apicid        : 5
initial apicid    : 5
fdiv_bug    : no
f00f_bug    : no
coma_bug    : no
fpu        : yes
fpu_exception    : yes
cpuid level    : 11
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf eagerfpu pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt lahf_lm tpr_shadow vnmi flexpriority ept vpid dtherm arat
bugs        :
bogomips    : 4787.91
clflush size    : 64
cache_alignment    : 64
address sizes    : 36 bits physical, 48 bits virtual
......

that's all.

@petewarden Any idea what's happening here?  Core i3 certainly has SSE, as indicated in the flags.

FYI I'm also seeing this (and I'm also using i686).
I don't understand these things so could be wrong, but it seems like PLATFORM_IS_X86 isn't set when building on i686 with gcc [1][2], and if PLATFORM_IS_X86 isn't set then the CPU info checks fail fast [3].
[1] https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/platform/platform.h#L59
[2] https://sourceforge.net/p/predef/wiki/Architectures/
[3] https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/platform/cpu_info.cc#L313

Unfortunately we don't test on 32-bit x86 here, since it's not an officially supported platform and we don't have machines set up, so it's hard for us to do a fix. We'd welcome a PR with an update though, I'm guessing adding the right macro check at [1] would get things running?

Actually, I take that back. We do have a supported platform we can test on, older iPhone emulators use 32-bit x86, as shown in bug #8914. Since we're tracking this issue there, closing this as a duplicate.


fixes issue with yum_install_fluentd on second run

Running against CentOS 7.6 I ran into the following errors after the initial install:
fatal: [somehost]: FAILED! => {"changed": false, "changes": {"installed": ["@Development tools"]}, "msg": "Error: Nothing to do\n", "rc": 1, "results": ["libcap-ng-0.7.5-4.el7.x86_64 providing libcap-ng is already installed", "libcap-ng-devel-0.7.5-4.el7.x86_64 providing libcap-ng-devel is already installed", "1:pkgconfig-0.27.1-4.el7.x86_64 providing pkgconfig is already installed", "Group Development tools does not exist.\n"]}

This makes it hard to make changes.  My simple fix makes sure that we don't fail when there is "Nothing to do".  yum is definitely exiting with a return code of 1 when the collection is already installed - but it's easier to fix this than to fix yum's behavior...

Running against CentOS 7.6 I ran into the following errors after the initial install:
fatal: [somehost]: FAILED! => {"changed": false, "changes": {"installed": ["@Development tools"]}, "msg": "Error: Nothing to do\n", "rc": 1, "results": ["libcap-ng-0.7.5-4.el7.x86_64 providing libcap-ng is already installed", "libcap-ng-devel-0.7.5-4.el7.x86_64 providing libcap-ng-devel is already installed", "1:pkgconfig-0.27.1-4.el7.x86_64 providing pkgconfig is already installed", "Group Development tools does not exist.\n"]}

This makes it hard to make changes. My simple fix makes sure that we don't fail when there is "Nothing to do". yum is definitely exiting with a return code of 1 when the collection is already installed - but it's easier to fix this than to fix yum's behavior...

Based on the error message, it looks like the failure is due to Group Development tools does not exist. rather than  already installed packages.  Are you able to see Development tools from the available groups if you run yum grouplist manually?


"jake" always rebuilds everything

I think this is related to recent parts changes

Maybe related to https://github.com/Microsoft/pxt/issues/296

https://github.com/Microsoft/pxt/commit/bf2e46b157d8e644e284a0c1b99c90097ec2fb34


TwitchAPIConnection does not allow you to get_users() without specifying names or ids

According to the Twitch API docs you can get information about the user of your current bearer token if you do a get-users request without specifying specific names or ids to get information about.
For example this allows you to get the username of a user from just the auth bearer token.
However, the get_users function of TwitchAPIConnection immediately returns an empty dictionary if you do not provide either names or ids. Ideally this method should still perform the no param request with just the token to get this information.
I think getting info about the user of the current token is useful and the immediate return if the names and ids arrays are empty should be removed from this function to allow this.

I wrote a small change to make this work, but couldn't find a clean way to wait until the connection is established to make the call
Edit GIFT/api_connection.gd
func get_users(names : Array[String], ids : Array[String]) -> Dictionary:
	var headers : PackedStringArray = [
		"Authorization: Bearer %s" % id_conn.last_token.token,
		"Client-Id: %s" % id_conn.last_token.last_client_id
	]
	if (names.is_empty() && ids.is_empty()):
		print("Client status: %s" % client.get_status())
		var response = await(request(HTTPClient.METHOD_GET, "/helix/users", headers))
		return response
		# return {}

in GIFT.gd autoload
	await get_tree().create_timer(1.0).timeout
	var twitch_username = await api.get_users([],[])
	print("Connected As: %s" % twitch_username.data[0]["login"])

Log:
Waiting for user to login.
Success.
Client status: 5
Connected As: bearlikelion

This is how I ended up changing get_users for use in my project:
func get_users(names : Array[String], ids : Array[String]) -> Dictionary:
	var headers : PackedStringArray = [
		"Authorization: Bearer %s" % id_conn.last_token.token,
		"Client-Id: %s" % id_conn.last_token.last_client_id
	]
	var params = "?"
	if (names.is_empty() && ids.is_empty()):
		params = ""

	if (names.size() > 0):
		params += "login=%s" % names.pop_back()
		while(names.size() > 0):
			params += "&login=%s" % names.pop_back()
	if (params.length() > 1):
		params += "&"
	if (ids.size() > 0):
		params += "id=%s" % ids.pop_back()
		while(ids.size() > 0):
			params += "&id=%s" % ids.pop_back()
	var response = await(request(HTTPClient.METHOD_GET,"/helix/users/%s" % params, headers))
	match (client.get_response_code()):
		400:
			id_conn.token_invalid.emit()
			return {}
	return response

That's a good point about the connection status, it would be nice to refactor that to check the error returned by client.connect_to_host(...) in _init() and poll until the connection is ready as shown in this tutorial from the docs.
But I think that would apply to the entire class (And looks like it is potentially an issue in TwitchIconDownloader's use of HTTPClient as well) so should probably be a separate issue.
I am setting up my EventSubConnection after initializing my API connection and prior to calling get_users which likely takes long enough for the API connection to be established which explains why I haven't yet run into the connection issue you're seeing.


3-axis mag calibration

@LorenzMeier Could you give this a try and see if you get good calibration values from it. This is a work in progress for the new 3-axis mag calibration routine.

Hoping you can figure it out just from the calibration messages. Just need to test from:
commander calibrate mag
No need for QGC since it just does log based mag cal at this point anyway.

will do!

I've tried this on my Iris+ using master with and without these changes to compare cal values. They ended up being +/- .01 away from each other on the X/Y/Z values. So I think that means that it is pretty much generating the same calibration values from just doing 3 axes.

That sounds pretty solid. I have been trapped in various planes for the last day and didn't want to pull out blinking wires from my bag, so I need to test tomorrow :)

I tried it, but I have to admit that I found it relatively confusing how to hold things. Maybe we should schedule a call to discuss the pros and cons and see if we can simplify it?
One of the main sources of confusion is if you have it in one orientation, what is the axis you should be turning around? The one that is pointing up?

One of the main sources of confusion is if you have it in one orientation, what is the axis you should be turning around? The one that is pointing up?

Yes. There needs to be some way to word that. With visuals in QGC this will be much easier. Take the global reference plane of the floor. The rotation axis is straight down through the vehicle looking towards the floor. This straight up/down axis is the same rotation for all orientations.
In reality the axis you rotate around doesn't matter as long as it is the same in global reference plane for all orientations. Each of the 3 orientations forms a set of 2d points on a circle (really 3d with jitter). You then put the 3 circles together and you get a 3d circle to calculate from.

Using this video as reference: https://www.youtube.com/watch?v=OxMjTjywbYc&t=111. The first rotation would be the right-side up rotation, the second rotation would be the left side (I think it's left, could be right, but it doesn't really matter) rotation I believe. Then you need to add a third rotation for nose-down and do it the same way.

The other issue is that the up/down, front/back orientation names don't really make much sense to me. If I remember correctly back is actually right side up. But I can't change them since QGC is coded to those names. To me these make more sense: right-side up, upside down, nose down, tail down, left/right.

Latest update:

Orientation detection mechanism is now a worker routine which is used by both mag and accel cal. This worker routine will time out if it fails to detect the next orientation after 10 tries. Which will in turn fail the cal.
Mag cal: Allows you to pick any side as a starting point. When that side is complete, it will also marks the opposite side as complete. This makes it a bit easier to get things done.
Progress indicators: Better but still not finished.
Lots of tweaks here and there.

Pull still not ready for true commit, but the functionality should all be there now.

Last push is now final bits for testing. If testing is good I'll close this pull and fix up the commits. Also waiting on answer to one last question on whether we can calibrate all mags at one time.

I'm going to close this to put through the real pull.


Issue with ais-dynamic-widgets and ais-hierarchical-menu in Vue3

🐛 Current behavior
We are trying to use ais-dynamic-widgets in combination with ais-hierarchical-menu using the following versions:

algoliasearch: 4.12.1
vue: 3.2.25
vue-instantsearch: 4.19.4

The ais-hierarchical-menu works perfectly on its own. However, when placed inside the ais-dynamic-widgets, nothing is rendered within the dynamic widget.
Is this an expected behavior, or are we missing something in our configuration?

🔍 Steps to reproduce
The following code is in our App.vue
Even with facet="['*']" gone it doesn't work.
<template>
  <div class="container">
    <ais-instant-search
      :search-client="searchClient"
      index-name="test"
      >
      <ais-dynamic-widgets :facet="['*']">
          <ais-hierarchical-menu :attributes="categories" />
      </ais-dynamic-widgets>
    </ais-instant-search>
  </div>
</template>

<script>
import algoliasearch from 'algoliasearch/lite';
import { AisDynamicWidgets, AisHierarchicalMenu  } from 'vue-instantsearch/vue3/es';

export default {
  components: {
    AisDynamicWidgets,
    AisHierarchicalMenu
  },
  data() {
    return {
      searchClient: algoliasearch(
        'secret',
        'secret'
      ),
      categories: ['categoryLevel0', 'categoryLevel1', 'categoryLevel2', 'categoryLevel3']
    };
  },
};
</script>

Live reproduction
sandbox Vue doens't work?
💭 Expected behavior
The ais-hierarchical-menu should render properly inside the ais-dynamic-widgets, with minimal code.
Package version
algoliasearch 4.12.1,  vue 3.2.25, vue-instantsearch 4.19.4
Operating system
No response
Browser
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

What is the setting in the facetOrdering?


added LogScope to all MSFT.EXT.Logger output

Changes
Adding scopes to all MSFT.EXT logging output - this should make everything much more easily searchable in semantic logging-friendly platforms such as Seq.
Checklist
For significant changes, please ensure that the following have been completed (delete if not relevant):

[ ] This change follows the Akka.NET API Compatibility Guidelines.
[ ] This change follows the Akka.NET Wire Compatibility Guidelines.
[ ] I have reviewed my own pull request.

Latest dev Benchmarks
Include data from the relevant benchmark prior to this change here.
This PR's Benchmarks
Include data from after this change here.

Failed experiment also


Registry server: listing deployments seems slow

On a test data set with 434 APIs and 10127 deployments that are distributed among APIs with numbers ranging from 0-39 deployments per API, listing the deployments with
registry get apis/-/deployments | wc -l

takes ~45 seconds running locally (on a Chromebook) with a SQLite database. Many "slow database operation" warnings are printed:
 WARN[0124] Slow database operation.  duration=215.405569ms query=SELECT deployments.* FROM `deployments` join (SELECT * FROM (SELECT *, row_number() over(partition by project_id,api_id,deployment_id order by revision_create_time desc) as rn FROM `deployments`) as t WHERE t.rn = 1) latest
                ON deployments.project_id = latest.project_id
                AND deployments.api_id = latest.api_id
                AND deployments.deployment_id = latest.deployment_id
                AND deployments.revision_id = latest.revision_id WHERE deployments.project_id = "test" ORDER BY project_id,api_id,deployment_id,revision_create_time desc LIMIT 51 OFFSET 10000
  INFO[0124] Success.                  duration=216.283259ms method=ListApiDeployments parent=projects/test/locations/global/apis/- request_id=467dbdc3 status_code=OK uid=59c34555
  INFO[0124] Handling request.         method=ListApiDeployments parent=projects/test/locations/global/apis/- request_id=981f610f uid=59c34555
  WARN[0125] Slow database operation.  duration=218.716784ms query=SELECT deployments.* FROM `deployments` join (SELECT * FROM (SELECT *, row_number() over(partition by project_id,api_id,deployment_id order by revision_create_time desc) as rn FROM `deployments`) as t WHERE t.rn = 1) latest
                ON deployments.project_id = latest.project_id
                AND deployments.api_id = latest.api_id
                AND deployments.deployment_id = latest.deployment_id
                AND deployments.revision_id = latest.revision_id WHERE deployments.project_id = "test" ORDER BY project_id,api_id,deployment_id,revision_create_time desc LIMIT 51 OFFSET 10050
  INFO[0125] Success.                  duration=219.997768ms method=ListApiDeployments parent=projects/test/locations/global/apis/- request_id=981f610f status_code=OK uid=59c34555
  INFO[0125] Handling request.         method=ListApiDeployments parent=projects/test/locations/global/apis/- request_id=d312adb4 uid=59c34555
  WARN[0125] Slow database operation.  duration=216.288777ms query=SELECT deployments.* FROM `deployments` join (SELECT * FROM (SELECT *, row_number() over(partition by project_id,api_id,deployment_id order by revision_create_time desc) as rn FROM `deployments`) as t WHERE t.rn = 1) latest
                ON deployments.project_id = latest.project_id
                AND deployments.api_id = latest.api_id
                AND deployments.deployment_id = latest.deployment_id
                AND deployments.revision_id = latest.revision_id WHERE deployments.project_id = "test" ORDER BY project_id,api_id,deployment_id,revision_create_time desc LIMIT 51 OFFSET 10100
  INFO[0125] Success.                  duration=216.856429ms method=ListApiDeployments parent=projects/test/locations/global/apis/- request_id=d312adb4 status_code=OK uid=59c34555

For comparison, listing versions with
time registry get apis/-/versions | wc -l

returns 13568 versions in under 7 seconds.

I'm curious how well postgres behaves, but yes, this is not good.  From your description, it sounds like we're calling ListApiDeployments in a loop? We shouldn't have to do that.

Here's a generator that creates mock inputs that can reproduce the problem: https://gist.github.com/timburks/97aae87ea614326e28b8016a98a10eae
I'm guessing that this might be fixable with an index but haven't investigated any further.

FYI: Our page size was causing the looping. There are two things we can do to improve this situation:

Page size
With our default page size of 50 and given your results set of 10000, that's 200 requests to the server/database and assuming each query is at ~216ms, we're at ~43 seconds overall.

Indexing
Also, we can decrease our database query time with indexing.

My own testing on a local server w/ sqlite gives total times:

unindexed
indexed

50 / page
20s
10s

1000 / page
2.5s
1.5s

Also note that on a hosted machine, a larger page size will have a larger impact.

I suggest we do both. The index is straightforward, but for page size we need to decide on:

Should we change the API default? (or just certain requests)
Are our current API limits appropriate? (1000 max)
What should be the appropriate page size?

I feel both our default size and limit may be too low.

Documenting offline discussion:

Just this request.
No change.
We'll set this request to 1000.


Chore: renamed gnosis to cowswap

Description
Referring to CoW swap as "Gnosis" is confusing because we're using "Gnosis Safe" in different place. Also, it's easier to understand the purpose of the code if it's mentions CoW.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Dependency changes
[x] Code refactor / cleanup
[ ] Documentation or wording changes
[ ] Other

How should this be tested?
Please provide instructions so we can test. Please also list any relevant details for your test configuration.

[ ] Test A
[ ] Test B

Visual context
Please provide any relevant visual context for UI changes or additions. This could be static screenshots or a loom screencast.
Checklist:

[x] I have performed a self-review of my own code
[x] I have requested at least 1 review (If the PR is significant enough, use best judgement here)
[x] I have commented my code where relevant, particularly in hard-to-understand areas
[x] If package-lock.json has changes, it was intentional.
[x] The base of this PR is master if hotfix, develop if not

Same changes as the other branch, squashed into one commit.
N.b. there seems to be some problem with CoWswap at the moment, market quotes are not returned, getting 404...