TO Go: implement tenants CRUD

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1341/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1364/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1571/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1572/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1634/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1651/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1652/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/1887/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/1891/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/1892/
Test PASSed.

seems to work as expected. I tested out the CRUD of tenants using TP. I also made sure I could create a DS. maybe somebody with real Go experience can take a look at the code.


Automatically configure following in the pipeline-storage cluster

Right now you have to run a script to tell the catalogue-api/rank clusters to follow the pipeline indexes. Yuck!
It'd be a bit nicer if Terraform could use the value of the is_reindexing variable to decide what to do here – possibly pausing the follow if you have is_reindexing = true to avoid causing load issues on the catalogue-api cluster.
Follow-on from https://github.com/wellcomecollection/catalogue-pipeline/pull/1716

Actually we don't want to do this – we deliberately don't set it up automatically, so we don't put reindex load on the API cluster.


iOS 13.1.3 - open in Appdb - not working

Hi - On iOS 12.4 I was able to download an ipa and import to Appdb app via “open in”, but now on iOS 13.1.3 it doesn’t import to local files. I’m I missing something or is this a know issue?

Hello, thanks for your report. Sadly I'm not able to reproduce the issue (I am on 12.4 still), but I will look into it as soon as I get an iOS 13 device!

Hello @MrL0 could you test this build and see if the issue is fixed? Thanks

Hello @MrL0 could you test this build and see if the issue is fixed? Thanks

No go. It still doesn’t copy the ipa to local. With iOS 13 downloads feature, it downloads to the files app. When selecting the IPA, it only shows “Open in Appdb” but not a “Copy to Appdb” in the shared sheet. I moved the IPA to my Dropbox and from there the option “Copy to” was available but not in files app.

This is weird, it's working fine on my device even for 'Open in ...' options. Will look more into it.

@MrL0 It looks like iOS 13 prevents files to be opened in an app that was resigned (via impactor/appdb/etc..). Here are some workarounds:

Build app yourself with Xcode, it will work
Use Files app to move downloaded .ipa files directly into appdb folder, it should work too (appdb will detect .ipa automatically)
Use Telegram/Chrome share sheet and select "Copy to appdb"

@MrL0 It looks like iOS 13 prevents files to be opened in an app that was resigned (via impactor/appdb/etc..). Here are some workarounds:

Build app yourself with Xcode, it will work
Use Files app to move downloaded .ipa files directly into appdb folder, it should work too (appdb will detect .ipa automatically)
Use Telegram/Chrome share sheet and select "Copy to appdb"

Works in chrome. Thank you! I should’ve tried that sorry.


Fix no namespace resource found on delete resource k8s

What this PR does / why we need it:
The namespace in KubernetesDeploymentInput config currently is not a required field. In case of delete resource on unset that namespace field, namespace default will be used ( as a default namespace of k8s ) leads to not found resources to delete bug.
Which issue(s) this PR fixes:
Fixes https://github.com/pipe-cd/pipe/issues/1275
Does this PR introduce a user-facing change?:

NONE

/cc @nakabonne

Nice catch!

Except for the stuff mentioned by nghialv, looks good. Great work 👍
/lgtm

Great. Thank you.
/approve


Support large model(>2GB)

Support the new external data extension in ONNX 1.4  https://github.com/onnx/onnx/pull/678
Enable onnxruntime_perf_test in Mac Build
move path_lib.h from onnx_test_runner source dir to onnxruntime_framework
Enable memory planner for string tensors
Make memory planner always enabled, to simplify model loading logic
Delete some duplicated code between onnxruntime_perf_test and onnx_test_runner
7, Delete win_getopt_mb lib.

This change doesn't support memory mapped io. I'll implement it in another PR, not this one.

What explicitly tests the new code that loads from an external source? I don't see any model + data file in the PR that would be used for that sort of test.

See test_tensor_loader.cc. Because the test data is too big(>2GB), I generate it on the fly

In reply to: 468497532 [](ancestors = 468497532)

Cool. I ran the unit tests with shared library and cuda enabled but don't see any code coverage for OrtInitializeBufferForTensor or OrtUninitializeBuffer. Is there a test that hits that code? Not sure we have much that involve string tensors.

In reply to: 468502911 [](ancestors = 468502911,468497532)

Yes. I created model test for it. onnxruntime/test/onnx/gen_test_models.py

In reply to: 468747402 [](ancestors = 468747402,468502911,468497532)


Error on line 128: Invalid Windows-31J character

Hello.
I am Japanese user and when I run rake haml:convert_erbs, following errors are returned against some erb files.
Error on line 128: Invalid Windows-31J character "\xE6"

(error character is different for each case, such as "\xE6" or "\xE4")
I compiled some erb templates and partials including Japanese characters. But somehow some of them causes error and the others  not.
Moreover some says that put a code Encoding.default_external = 'utf-8' to config.ru is efficient and the other says environmental variable LANG should be ja_JP.UTF-8. I've tried both of them but cannot see any improvement.
Could you guess why?

It's a problem with the file's encoding itself.
Take a look at http://mindspill.net/computing/linux-notes/determine-and-change-file-character-encoding/
will give you a good strategy to check the files encoding and change it accordingly.


Bug: $generateNodesFromDOM not working with nested list items

Blank list items are added when parsing lists from HTML with $generateNodesFromDOM.
Example bullet list created in the playground:

How it looks after loading from HTML:

Lexical version: 0.3.8
Steps To Reproduce

Create a nested list and generate HTML with $generateHtmlFromNodes
Parse the HTML with $generateNodesFromDOM and load the contents into the editor

Link to code example:
https://codesandbox.io/s/elastic-paper-op41gv?file=/src/Editor.js
The current behavior
The list looks like the second screenshot above. Blank list items are added when parsing lists from HTML.
The expected behavior
The list should look like the first screenshot.

Facing this issue as well!

Any progress on this issue?


ENOENT: Panicking when exec executables

Dunno why but yofi binapps tries to run $TERM when execvp.
> yofi --verbose binapps
[2022-06-30][13:45:10][yofi::exec][DEBUG] execvp: "tmux-256color" ["tmux-256color", "/home/crazybyte/.local/bin/weechat"]
thread 'main' panicked at 'execvp failed: ENOENT', src/exec.rs:60:41
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[2022-06-30][13:45:10][yofi][ERROR] panic: execvp failed: ENOENT

I saw an undocumented option to overwrite it, so I set term to zsh and it works.
~/.config/yofi/yofi.config:
[...]
term = "zsh"
[...]

Might I know why it is happening and if it is an intended behavior?
I'm using yofi-git on Archlinux.

From man execve(2):

By convention, the first of these strings (i.e., argv[0]) should contain the filename associated with the file being executed.

In particular firefox segfaults, if the first arg is not binary itself.
Also from man:

ENOENT The file pathname or a script or ELF interpreter does not exist.

which means the problem is in the running tmux-256color rather than its argument.

Right, so why yofi tries to run tmux-256color in first instance?

I hit this too. FWIW I don't see why spawning an app requires a terminal invocation in the first place.

why yofi tries to run tmux-256color in first instance?

Didn't answer at that time, still don't remember why I did it :\ See linked PR

Yeah, ok. I figure out the reason. Certain apps have Terminal=true field as specified in XDG spec. vim as an example if launched without term it simply quits.
There are several approaches to guess the default terminal since there's no standard way of querying one. $TERM env is one of the options that seems to behave quite poorly.
So far the $TERM heuristic removed and I leave the decision to set-up the term config up to the user. If not set most of Terminal=true apps won't launch as there's no (unless yofi launched from terminal) stdin/stdout.


test/test_device_reduce.cu fails compilation when adding tests for half_f and bfloat16_t.

test/test_device_reduce.cu fails compilation when adding tests for half_f and bfloat16_t.
Ubuntu18.04 with cuda 12.0.0 (container from this image).
Trying to compile cub-2.0.1 (obtained from https://github.com/NVIDIA/cub/archive/2.0.1.zip) after adding tests in test/test_device_reduce.cu using [InputOperatorR = half_t, OutputOperatorT = float] and [InputOperatorR = bfloat16_t, OutputOperatorT = float] leads to compilation errors.
How to reproduce:
docker pull nvidia/cuda:12.0.0-devel-ubuntu18.04

docker run -it --name cuda-12-container --gpus all nvidia/cuda:12.0.0-devel-ubuntu18.04

apt-get update -qq

apt-get install -y -qq build-essential bzip2 ca-certificates g++-8 gcc-8 git libidn11 libnuma-dev libunwind-dev ninja-build pkg-config protobuf-compiler tar wget python

mkdir -p ~/deps/cmake

wget --no-check-certificate --quiet -O - "https://github.com/Kitware/CMake/releases/download/v3.22.1/cmake-3.22.1-linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C ~/deps/cmake/

export PATH=$PATH:~/deps/cmake/bin

git clone https://github.com/NVIDIA/libcudacxx.git

export LIBCUDACXX_ROOT=/root/libcudacxx/

cd libcudacxx

cmake -DCMAKE_CXX_COMPILER=g++-8 -D CMAKE_CUDA_COMPILER=/usr/local/cuda-12/bin/nvcc -DLIBCUDACXX_ENABLE_LIBCUDACXX_TESTS=ON -DLIBCUDACXX_ENABLE_LIBCXX_TESTS=OFF -S . -B build

cd

wget https://github.com/NVIDIA/cub/archive/2.0.1.zip

unzip 2.0.1.zip

rm 2.0.1.zip

cd cub-2.0.1

cmake -S . -B build -D CUB_DISABLE_ARCH_BY_DEFAULT=ON -D CUB_ENABLE_COMPUTE_86=ON -D CUB_ENABLE_COMPUTE_70=ON

Modify test/test_device_reduce.cu as here.
cmake --build build -j $(nproc)

Hello @Beanavil!
Integration of extended floating point types into our tests is a bit more involving.
I've started working on PR that adds mentioned types into device reduce tests.


Watch tasks not working on Windows version 1903 with terminal.integrated.windowsEnableConpty set to true

Steps to reproduce:

clone https://github.com/Microsoft/vscode-eslint.git
open a terminal
Debug viewlet
Launch client
Observe that building never finishes
Now switch the terminal to the npm: watch task

Observe: building finished. Looks like the terminal is not delivering any output as long as the view is not visible.

@Tyriar are there any differences on when onLineData occurs in the terminal with conpty?

discovered a new issue https://github.com/microsoft/vscode/issues/73555


[modify] history/log set_cms_logged_in

Coverage decreased (-0.04%) to 79.394% when pulling 8c4c76f5df2ea30f63ad219067511c7701881848 on ShinjiTanimoto:login into 58797b8f6bb62c3dbb27273c45f886efd25cf393 on shirasagi:master.

app/controllers/concerns/cms/base_filter.rb で Rubocop エラー

LGTM


Potential performance regression from Ratis 2.5.1

Alluxio Version:
2.9.x
Describe the bug
@maobaolong reported after bumping up to Ratis 2.5.1 in Alluxio, some stress test performance regression was observed.
The command was
$ bin/alluxio runClass alluxio.stress.cli.StressMasterBench --base alluxio:///stress10 --operation CreateFile --threads 3000 --target-throughput 10000000 --clients 20 --duration 3600s

The cluster has 3 masters running embedded journal. Their throughput dropped from 50k to 20k (in whatever unit, that exact number only matters in their env).
This has not been reported back to Ratis community but their team has Ratis contributors. We can anticipate that to happen soon and hopefully we may hear updates from the Ratis community relatively soon. Unfortunately I don't have a link for that unreported issue.
To Reproduce
Steps to reproduce the behavior (as minimally and precisely as possible)
Expected behavior
A clear and concise description of what you expected to happen.
Urgency
MEDIUM
Are you planning to fix it
Please indicate if you are already working on a PR.
Additional context
Add any other context about the problem here.

Maybe it's a good idea to revert #17394 WDYT @jenoudet @yuzhu ?

@maobaolong Did the throughput go back to the old value after you reverted from 2.5.1 (to maybe 2.4)? Thanks!

Have we noticed performance degradation anywhere else?

@jiacheliu3 Yeah, not sure what difference between these two ratis version

@maobaolong could you link this to the ratis side issue? Thanks a lot!

This issue is blocked by https://issues.apache.org/jira/projects/RATIS/issues/RATIS-1886


(work in progress, do not merge, do not review) Consumer Commit Offset Latency Implementation

(work in progress, do not merge) Consumer Commit Offset Latency Implementation

@Lincong Hi Lincong, thank you for the review. However, as stated in the Title and Description of this PR, this pull request is "work in progress, do ready to merge, not ready for review".

Thus, I will close this PR to avoid any confusion.


Add box zoom functionality

This adds a first version of box style zooming, as shown in the images below. It also works as expected when one or both dimensions are non-scalable. To initialize the zoom start dragging with the shift key pressed. You can cancel the zoom action by pressing escape (also works for panning).
As of now the box zoom is constrained to the the aspect ratio of the plot. I plan to fix this later by separating the scale factor for x and y.

Thanks, this is lovely.
My only concern is that calling init_pan_zoom at load time can cause a page with many plots to hang for a long time loading. For an example, run the tests then open test/output/test.html.

Yeah, thats an issue I did not consider. Wouldn't it be enough to call init_pan_zoom on mouse enter though? All interactions require that the mouse is in the plot.  Also fixed a few javascript related bugs I found as well as one that I introduced.
Almost forgot, I also added so that you can zoom with + and - when hovering a plot.

For future commits, would it have been better to split this PR into several smaller PRs?

Looks good. It's fine to do PRs this size, but smaller is also ok.


BrokerNotAvailableError: Could not find the leader

I am running my app with 2node kafka cluster.The toipic is created with replication factor 2 and 4 partitions,so there are 2 in sync replicas and each node is leader to 2 partitions.
When i manually pull down one node ,I can see that all partitions will have the same leade,but some of the messages(like 2 out of 100) are lost may be during leader switching in the middle.
I tried using the retries config while creating the producer ,but that doesn't seem to work.I am using kafka-node 1.6.
{ BrokerNotAvailableError: Could not find the leader
at new BrokerNotAvailableError (C:\Users\nithin.a\Desktop\asp_handler\node_modules\kafka-node\lib\errors\BrokerNotAvailableError.js:11:9)
at Client.sendToBroker (C:\Users\nithin.a\Desktop\asp_handler\node_modules\kafka-node\lib\client.js:551:17)
at Client.send (C:\Users\nithin.a\Desktop\asp_handler\node_modules\kafka-node\lib\client.js:510:10)
at C:\Users\nithin.a\Desktop\asp_handler\node_modules\kafka-node\lib\client.js:220:10
at C:\Users\nithin.a\Desktop\asp_handler\node_modules\async\lib\async.js:52:16
at Object.async.forEachOf.async.eachOf (C:\Users\nithin.a\Desktop\asp_handler\node_modules\async\lib\async.js:236:30)
at Object.async.forEach.async.each (C:\Users\nithin.a\Desktop\asp_handler\node_modules\async\lib\async.js:209:22)
at Client.sendProduceRequest (C:\Users\nithin.a\Desktop\asp_handler\node_modules\kafka-node\lib\client.js:218:9)
at HighLevelProducer.BaseProducer.send (C:\Users\nithin.a\Desktop\asp_handler\node_modules\kafka-node\lib\baseProducer.js:123:10)
at Object.senddata (C:\Users\nithin.a\Desktop\asp_handler\src\main\modules\asp\utils\kafkautil.js:9:19) message: 'Could not find the leader' }

The caller of send is responsible for handling an error callback and sending the message again if it fails.

Didnt get you? can you please explaining me why this is happening and how to fix it

@sugir93 he's saying the client is reporting an error from kafka, and you'll need to deal with it. If you're stuck with a kafka error you'll need to try to debug kafka, not the node kafka client.


Add 'none' option to AlignGroup

This should be the new default (breaking change).
When a direction has this option, the translate should ignore the observed values.
@wadjih-bencheikh18 Would you like to work on it?

Yes , i would like to


Audio Message only plays at WhatsApp Web

Hi,
I'm sending audio messages over whatsapp.AudioMessage method and it works fine.
The message is delivered to contact but, when I try play it at device, nothing works.
If I play the audio message at WhatsApp Web, it works.
Any idea why it's happen?
Thanks.

If you are sending as ptt:true , try to disable it, in iphone devices problably dont work

If you are sending as ptt:true , try to disable it, in iphone devices problably dont work
Hi, @sostenesapollo
Removing Ptt: true from send audio method, it plays on Android, but on iPhone doesn't work.

hm, try to convert your audio for a type that is compatible for both

You need to convert to ogg format

Also must be recorded with 1 channel (mono)
https://github.com/Rhymen/go-whatsapp/issues/537#issuecomment-823698131


Update to 1.14.x

any chance you can upload the jar generated somewhere?  cannot get it to build on my laptop because it doesn't like my java version and cause its subsystem linux on windows not having much luck LOL


Add instrumentation to let new relic track ingest_file for IngestMETS

Coverage remained the same at 100.0% when pulling 978f955d690af89cf4d151a66b2214b3b5e32e38 on instrument_fileset_create into 1686926e83874c39c82efc691f2a0e30b609ea27 on master.


Camera keeps trying to follow a talking player, even though I have that option unticked?

As title. I'm in automatic mode, but have unticked the option to follow a talking player, but the camera keeps doing it anyway. I have tried to minimise the issues by making the delay really long, but its still causing problems.

Should be fixed by 14db2ce in v0.2.2
Feel free to update here if you're still seeing any undesired behaviour with that setting disabled.


Correctly implement 3 LSB of plot command (included compatibility issues on later enhancement)

The lower 3 bits of a PLOT seem to be currently ignored. It may be an idea to limit these to the most usual ones 0,4 and 5 and x5 and xD which are most commonly used. At the moment PLOT 80 and PLOT 85 behave identically.
0  | Move relative to the last point.
1 | Draw a line, in the current graphics foreground colour, relative to the last point.
2 | Draw a line, in the logical inverse colour, relative to the last point.
3 | Draw a line, in the current graphics background colour, relative to the last point.
4 | Move to the absolute position.
5 | Draw a line, in the current graphics foreground colour, to the  absolute coordinates specified by X and Y.
6 | Draw a line, in the logical inverse colour, to the absolute  coordinates specified by X and Y.
7 | Draw a line, in the current graphics background colour, to the  absolute coordinates specified by X and Y.

Going to mark this as 'Won't Do' as it is a duplicate of #51; the plan is to implement the modes as you specified.


Lint errors trying to run npm run build

Cloned to try and find out why the npm module didn't include plugins available in GH (e.g. Spotify) and encountered the following error trying to run npm run build
ERROR in ./src/lib/plugins/docker.js
ESLintError:
/Users/snowinferno/.hyper_plugins/local/hyperline/src/lib/plugins/docker.js
  51:15  error  'err' is defined but never used  no-unused-vars
  70:25  error  Trailing spaces not allowed      no-trailing-spaces

✖ 2 problems (2 errors, 0 warnings)

Locally changing line 51 to be       .catch( () => { and removing trailing space from line 70 fixed the build and everything appears to work as expected.

@snowinferno I fixed this in #96, pull and build again.


script crashes when italic hyperlink with "/" in parentesis

I have a place in my doc that read:

(word/words)

this format apparently is enough to make this script throw an error
ReferenceError: txt is not defined
(@jacksonicson tagging you here because I actually forked from you, if maybe you can help...)

Before you ask: no I cannot simply go and change the link. It is actually auto generated by zotero...

Before you ask: no I cannot simply go and change the link. It is actually auto generated by zotero...

I am not sure why this is causing an error. I tried converting a link like (word/words) using the Docs to Markdown add-on. No error, but it did not preserve the italic formatting of the link. That's a bug too, but less serious.

I am not sure why this is causing an error. I tried converting a link like (word/words) using the Docs to Markdown add-on. No error, but it did not preserve the italic formatting of the link. That's a bug too, but less serious.

Dear @evbacher thank you so much for getting back to me on this.
Would it be possible to ask you to give a look at this version, to see if you can figure out where I messed up?
Thank you

Dear @evbacher thank you so much for getting back to me on this.
Would it be possible to ask you to give a look at this version, to see if you can figure out where I messed up?
Thank you

I think I fixed it here.
If you'd like to give it a look.


Limit of RPCs per service

What version of gRPC and what language are you using?
gRPC: 1.31.1 (on Ubuntu 16.04)
Protoc version: 3.12.2 (on Ubuntu 16.04)
Languages: python 3.7.4 (client), C++ (server)
Packages: grpcio 1.31.0, grpcio-tools 1.31.0
What operating system (Linux, Windows,...) and version?
Ubuntu 16.04 - for building the server side
Windows 10 (client) - for building and running the client side
Linux ARM32 (server) - for running the server side
What runtime / compiler are you using (e.g. python version or version of gcc)
For client: grpcio 1.31.0
For server: gcc 6.1
What did you do?
I've tried adding 16 more messages and 8 more RPCs on top of the example service from helloworld. After that:

I started the server for this example on an ARM32 target machine
I started the client (Python) on a Windows 10 PC which was calling some of the RPCs I added.

What did you expect to see?
No segmentation fault
What did you see instead?
The server crashes right after the first RPC is called with Segmentation Fault (core dumped).
Is there any limitation for the number of RPCs which can be created inside a service? Because if I'm working with only 8 RPCs per service it's running just fine.
Mention:
I've tried to add these RPCs on the basic hello world example after I've tried to run my example and observed that the exact same issue was reproducing.

Update: I managed to run the same example on Ubuntu 20.04 so it was confirmed that there's no limit for RPCs in a service. It is probably caused by the cross-compilation process and I will investigate furthermore, but I closed the issue as my question was answered implicitly.


MAINTAINERS: Add domains.py under West area

This small library is shared by both west and twister, where it's used to parse the domains.yaml files generated by sysbuild. It also defines the schema that sysbuild itself must adhere to when generating the file.

We need to pick one area, not three.

this was actually discussed before opening the PR.
The reason for the split is because this acts as an API between west extension commands and the build system.
So architectural wise one can say west specifies the yaml format, but it is the build system (sysbuild) which generates the file consumed by west.
Hence any changes to this file are important to both areas and therefore should be reviewed by minimum maintainers of those two areas.
Twister was added because twister itself also make use of the generated yaml file, but as reviewer, then the twister maintainer is not as important so I will be fine with having the twister entry removed.

Thanks for the feedback. I've placed the file under West for now.
I'm puzzled though, because there are already thousands of individual files that belong to more than one area, including hundreds that appear under three or more.
scripts/ alone has files that overlap certain pairs, like: Build system & Userspace, Coding Guidelines & Continuous Integration, and Devicetree & Kconfig.
@MaureenHelm @nashif Is this going to change in the future?


use kagyari for config parsing

using json as config instead.
because i can.

nope don't, use custom format (kagyari)
https://xkcd.com/927/
:smile:

ok it does this now


Got 500 error from Safary Development tool, but nothing on laravel storage/log nor Debuggar plugin

Summary of problem or feature request
Hello, I have a problem using datatables, The safari developer tool report 500 error on ajax call to get datatables info, but nothing is show in Debuggar nor Storage/log of laravel it only show White Page with no error.
I scope down and find out that the problem in my Eloquent model relation ship
1 PurchaingOrder Eloquent model -> have many InvoiceProducts
2 InvoiceProduct Eloquent model -> belong to one PurchasingOrder with purchasing_order_id as key
When I remove "invoice_products" from protected $with array, as follow, the bug is gone but I still don't know how to fix this please help :(
//Json come with product_unit and supplier that associated with prdocut
//protected $with = ['invoice_products', 'customer', 'currency', 'company'];
protected $with = ['customer', 'currency', 'company'];

Code snippet of problem
The problem code with fixed with the last line ( the problem is second line)
    //Json come with product_unit and supplier that associated with prdocut
    //protected $with = ['invoice_products', 'customer', 'currency', 'company'];
    protected $with = ['customer', 'currency', 'company'];

PurchasingOrder Eloquent model
class PurchasingOrder extends Model
{
	protected $table = 'purchasing_orders';
    protected $fillable = [
        'po_number', 'po_date',
        'invoice_reference', 'customer_id', 'customer_po_number', 'agent',
        'estimate_shipping_date', 'estimate_arrival_date', 'estimate_loading_date',
        'ship_to','to_user_name',
        'term', 'po_remark', 'worksheet_remark',
        'company_id','currency_id',
        'total_amount', 'total_quantity','total_net_weight','total_gross_weight','total_packed_cu_metric','total_pallets',
    ];

    //Json come with product_unit and supplier that associated with prdocut
    //protected $with = ['invoice_products', 'customer', 'currency', 'company'];
    protected $with = ['customer', 'currency', 'company'];

     //One purchasing order has many invoice_product
    public function invoice_products()
    {
        return $this->hasMany('App\InvoiceProduct');
    }

     //One invoice has only one customer
	public function customer()
	{
	    return $this->belongsTo('App\Customer', 'customer_id');
	}
    //One invoice has only one currency
	public function currency()
	{
	    return $this->belongsTo('App\Currency', 'currency_id');
	}

     //One invoice has only one company
	public function company()
	{
	    return $this->belongsTo('App\Company', 'company_id');
	}
}

InvoiceProduct Eloquent Model
class InvoiceProduct extends Model
{
	protected $table = 'invoice_products';
    protected $fillable = [
        'product_id', 'customer_product_id','name', 'brand', 'packing',
        'gross_weight', 'net_weight','net_weight_packing',
        'product_unit_id', 'packed_cu_metric',
        'quantity','price','amount','pallets',
        'invoice_id', 'purchasing_order_id','container_id',
    ];

    //Json come with InvocieProduct add PurchasingOrder
    protected $with = ['purchasing_order', 'product', 'customer_product', 'container'];

    public function purchasing_order()
    {
        return $this->belongsTo('App\PurchasingOrder', 'purchasing_order_id');
    }

    public function container()
    {
        return $this->belongsTo('App\Container');
    }
    public function product()
    {
        return $this->belongsTo('App\Product', 'product_id');
    }
    public function customer_product()
    {
        return $this->belongsTo('App\CustomerProduct', 'customer_product_id');
    }

}

My route
Route::get('/purchasing_orders/getdatatablesdata', 'PurchasingOrderController@getDatatablesData')->name('purchasing_orders.getdatatablesdata');
//For purchasing_orders/manage_products.blade.php
Route::get('/purchasing_orders/getpurchasingorder/{id}', 'PurchasingOrderController@getPurchasingOrder')->name('purchasing_orders.getpurchasingorder');
Route::get('/purchasing_orders/manage_products/{id}', 'PurchasingOrderController@getManageProductsPage')->name('purchasing_orders.getmanageproductspage');
Route::get('/purchasing_orders/getPurchasingOrderProductsDatatablesData/{id}', 'PurchasingOrderController@getPurchasingOrderProductsDatatablesData')->name('purchasing_orders.getPurchasingOrderProductsDatatablesData');
Route::get('/purchasing_orders/addproduct/{id}/{producct_id}', 'PurchasingOrderController@addProduct')->name('purchasing_orders.addProduct');
//Main for CRUD
Route::resource('/purchasing_orders', 'PurchasingOrderController');

My Return function datable
    public function getPurchasingOrderProductsDatatablesData(Request $request, $id)
    {
        return Datatables::of(InvoiceProduct::where('purchasing_order_id', 1)->get())->make(true);
    }

    public function getDatatablesData()
    {
        return Datatables::of(PurchasingOrder::query()->get())->make(true);
    }

System details

Operating System: Mac OS X with Homestead
PHP Version 7.1
Laravel Version 5.4
Laravel-Datatables Version 7.5

This might be related to max url length? Can you try using POST on dataTables instead of GET?

Also, you may wan't to remove get() on your query as it will use collection.
return Datatables::of(PurchasingOrder::query())->make(true);

Thank you for your reply, I will try as you suggested :)

Max url length issue mostly occurs on IE. If you plan on supporting IE, then I suggest you use POST or you can follow the trick I blogged on this post to shorten dataTables url.


update to net6.0

Issue describing the changes in this PR
resolves #1229
Pull request checklist

[x] My changes do not require documentation changes

[ ] Otherwise: Documentation issue linked to PR

[x] My changes should not be added to the release notes for the next release

[ ] Otherwise: I've added my notes to release_notes.md

[ ] My changes do not need to be backported to a previous version

[x] Otherwise: Backport tracked by issue/PR #issue_or_pr

[x] I have added all required tests (Unit tests, E2E tests)

Additional PR information

Closing this based on the information shared in #1229


Migrate to Flutter 2.2.1

Minor fixes according to upstream changes:

https://github.com/flutter/engine/pull/24423
https://github.com/flutter/engine/pull/24210

Contributes to https://github.com/flutter-tizen/flutter-tizen/issues/124.
Things we might consider:

https://github.com/flutter/engine/pull/25402 (Logging callback added to embedder APIs) - We can now only dump flutter messages without redirecting all stdout/stderr messages to dlog.

No problem has been found when running some apps on

TM1 (Tizen 6.0) (release mode)
R800 (Tizen 5.5) (release mode)
TV emulator (Tizen 6.0) (debug mode)


Document how Class Relationships should be created and authored

Since the following issue has prevented us from providing adequate training to NHS England:

#64

Once the above issue has been fixed, a Word document must be prepared to explain to NHS England how Class Relationships work. This must cover:

[x] How to create a new class relationship
[x] The field/profile values to set to control the descriptive test in the preview/DITA output

This should be written at the level of a user guide for an end user to understand.

This has been written and provided to NHS England. The documentation is here:
https://systemccom.sharepoint.com/:w:/s/Mauro/EeFtAul2H2JFoCCAOrR372ABNlknYIdfCJ9W2T6aLrR9TQ?e=2SICsR
There is no pull request, so will now close this issue.


feat: add task connection draining

FlyBy integrated service tasks no longer stopped immediately on scale down
FlyBy hosts now updated to DRAINING on service scale down
only tasks for DRAINED FlyBy hosts are stopped
no functionality change for non-FlyBy integrated services
updated (and renamed some) scheduler tests
new scheduler tests added

LGTM


How can I reliably tell if an extension is installed from outside Code?

Flutter has a diagnostic command flutter doctor that checks whether the environment is set up correctly for Flutter development:
Dannys-MacBook:~ danny$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (on Mac OS X 10.13.3 17D47, locale en-GB, channel master)
[✓] Android toolchain - develop for Android devices (Android SDK 26.0.0)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
[✗] Android Studio (not installed)
[!] Connected devices
    ! No devices available

! Doctor found issues in 2 categories.
Dannys-MacBook:~ danny$

I'd like to extend this to detect whether VS Code is installed and if so, whether the Dart Code extension is installed.
Is there a reliable way from an external program I can check for the presence of a specific extension? For ex can I assume the paths such as ~/.vscode/extensions/Dart-Code.dart-code-xxx will be consistent (and the equivs for other platforms)?

I found this:
https://github.com/Microsoft/vscode/blob/81c777b7f7a39b4f355eb57f00b72fee7e3802dc/src/vs/platform/environment/node/environmentService.ts#L129
So looks like it's pretty static (I can't account for the arg being passed to Code or env variables that may be set just for Code, but I think these are fringe cases).


when using the mod for health it hides height values in pf2e.

Describe the bug
when you are using the mod the injured status above the token hides the height values. this happens in pf2e but it could happen in other systems.
To Reproduce
Steps to reproduce the behavior:

type in height
make the creature damaged
see the conflict between height value and the injured status.
you cant see the height value. which is very useful for gms and players.

Expected behavior
if a height value is used it should be above the status value.
Screenshots

Game Specifics (please complete the following information):

Game System and version: [e.g. dnd5e 2.4.1]
Module Version [e.g. 31.7.11]

Additional context
Add any other context about the problem here.

There is the "Elevation Tooltip Position" setting to change the position the tooltip gets rendered.
Alternatively, you can change the estimate's position by changing its Height to a negative value under the Style Settings menu.
E.g. this is what -20 looks like

There is the "Elevation Tooltip Position" setting to change the position the tooltip gets rendered.
Alternatively, you can change the estimate's vertical position by changing its Height to a negative value under the Style Settings menu. E.g. this is what -20 looks like

thank you doing +30 on it looks good. do you think this could be the default? as it fixes that issue.

I won't change the default position because Elevation isn't that widely used. I'd rather leave it to the user to change it in the settings, since the Elevation position is simpler than changing the estimate's position.


Extend output buffer sizes with SQL decimals or numerics

When the sql type is strictly defined (e.g. decimal(1,0)), the column size is only 1. Since decimals and numerics are treated as strings, the initial values of the output params with trailing zeros are dropped in convert_to_string() as well.
Thus the output buffer sizes are not enough for negative numbers (with a negative sign) and/or decimals.

This change is

Codecov Report

Merging #775 into dev will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev     #775      +/-   ##
==========================================
+ Coverage   78.92%   78.96%   +0.03%
==========================================
  Files          25       25
  Lines        7213     7215       +2
==========================================
+ Hits         5693     5697       +4
+ Misses       1520     1518       -2

Impacted Files
Coverage Δ

...php-7.1.17-src/ext/pdo_sqlsrv/shared/core_stmt.cpp
66.34% <0%> (+0.03%)
:arrow_up:

...x86/php-7.1.17-src/ext/sqlsrv/shared/core_stmt.cpp
83.44% <0%> (+0.23%)
:arrow_up:

Continue to review full report at Codecov.

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


Firewall inventory sa fix

Thanks for opening a Pull Request!
Here's a handy checklist to ensure your PR goes smoothly.

[x] I signed Google's Contributor License Agreement
[x] My code conforms to Google's python style.
[x] My PR at a minimum doesn't decrease unit-test coverage (if applicable).
[x] My PR has been functionally tested.
[x] All of the unit-tests still pass.
[x] Running pylint --rcfile=pylintrc passes.

These guidelines and more can be found in our contributing guidelines.

@carise sorry I forgot about the test case! thank you for addressing this


Update service-create-distribute-apps.md

Granting build permissions on datasets from the app only applies to datasets in the workspace the app is in. My change made that clearer.

#sign-off

Hi @Jak-MS -- I approve but suddenly Github doesn't think I'm a Microsoft employee. So consider this me signing off.
Thx!


src/lib.rs: Only make mods pub if they need to be

This leaves a lot of dead code warnings.  Most of the legitimate ones are cleaned up here, and in following PRs I'll fix the remaining ones, which were left out during transpilation and are actually used.

How did you determine which modules need to be public? We don't have a clear picture of what the public API looks like yet, do we?

I just looked for rg 'DAV1D_API ' for public fns.  There aren't very many of them.  I made sure to keep those mods pub, as well as almost everything in include/ since that's where the public types are.  And any other mod that had to be pub to compile I kept as well.


[Feature request] Video loop toggle

Is your feature request related to a problem? Please describe.
Many people like to view content, such as songs they like, on repeat. Currently there is a replay button that can be clicked each time the video ends, but this can get annoying if you just want the video to play in the background.
Describe the solution you'd like
A toggle similar to the one that now exists for autoplay, which replays the video continuously from cache until told to stop.
Describe alternatives you've considered
Right know a single element playlist can be created and told to loop, but even with "autoplay media files" enabled it just goes to the start of the video and remains paused. This is probably a bug, but even if it worked properly it'd be more of an exploit than a feature, with how obtuse it is.
Many browsers such as the desktop versions of firefox and chrome already have this option included in their internal video players, but still it would be nice for it to be supported natively for those that don't (namely mobile browsers and those of niche platforms such as consoles and smart tvs).
Additional context
I think that in the long run this will save both the users and the servers quite a bit of bandwidth, because if the site goes anything like youtube, it won't be long until the "make 100 hour version of this pl0x" comments start to pop-up.
A-B type loops would be even nicer, but I imagine that'd warrant a second request once (if) this gets implemented.
Also, can I assume that this would eventually trickle down to the mobile apps, or should I open separate requests in their repositories?

Thanks for the suggestion. You may be able to right click on the video > loop in the meantime. To add this we'd first need: https://github.com/OdyseeTeam/odysee-frontend/issues/1394


Update Debian package to 4.0.5

OS:
Linux (Ubuntu Xenial, specifically)
Issue Descriptions:
Have the debian repo set up, and am currently running 4.0.3. Current is 4.0.5, and yet is unavailable through the repo.
Steps to Reproduce:
'apt-get install google-play-music-desktop-player' should give you version 4.0.5
It instead gives you 4.0.3

Just uploaded now 👍
Not sure why my release script didn't upload them the last few times 😢


Retest mirroring under high load

Since https://github.com/metalbear-co/mirrord/pull/2561 is merged, we'd like to run the same tests that discovered the problem and see if there is an improvement.

After another test with mirrord 3.114.1 and our mirrord-pytest as target with running under incoming = "mirror" and executing go-e2e as server, the results look better but still inconclusive
all tests ran for 30s
baseline:

pytest failed after ~26592 requests when running at roughly 1450rps

with-mirrord:

mirrord failed after ~15645 requests when running at roughly 900rps
mirrord failed after ~15942 requests when running at roughly 700rps
mirrord works fine with ~20446 requests when running at ~500rps

imo quite good results - we should consider optimizing/improving once user really is affected.

Also one more data point
mirrord with --steal and go-e2e and unrestricted all works fine with 109011 requests at roughly 3627rps

Can we close then?

Yes, closing, thanks!


Unwrap singledispatch calls in profiling

This requires a replacement tracing singledispatch that keeps track of who called the generic single dispatch function and what implementation ended up being used.  Those recorded traces are saved to sidecar files when edb.tools.profiling.profile() is used.
On profile aggregation, the sidecar file data is used to remove wrapper functions from the data and replace them with correct links between callers and callees (concrete implementations of the singledispatch function).
Example graph without the singledispatch wrapper obscuring everything: http://langa.pl/random/graphs/compile_ast_to_ir-2019-11-29.svg (this is compile_ast_to_ir over tests; so that you can compare it with previous graphs).

How to use patch_functools? Does it have to be called manually? Can you add a help-docstring somewhere? Or even make  edb/tools/profiling a package with a README.rst?

How to use patch_functools? Does it have to be called manually?
Yes.

Can you add a help-docstring somewhere? Or even make  edb/tools/profiling a package with a README.rst?
Good idea actually.

Please squash into one commit and merge!

@ambv Consider making this a edb profiling command; would be slightly more convenient than python -m edb.tools.profiling.
The edb command is only accessible to us, developers of EdgeDB. It's not installed for EdgeDB users. We can change/break/remove edb subcommands in any way we see fit. Backwards compat is not a concern here, just whatever UX is more convenient.


feat: add created at

should be done after #78
update the schema of Trip and add createdAt field
add created at under trip name and desc in home page
modify mutation for getting trips data

model Trip {
...
createdAt DateTime @default(now())
...
}


DBZ-7758 oracle connector cache refactor

Refactor caching into common base class
Provide new LogMinerCache interface for swapping out alternative caches

Made changes.  Still need to go back through and add javadoc and probably code cleanup.  Main things to note is the change to the LogMinerCache to use the streamAndReturn method to avoid use of Atomics.
Also, changed abandonTransactions in AbstractLogMinerEventProcessor to use streamAndReturn and simplify the impl.  The consequence is that the keys to remove are now always in memory (vs just during debug).  Is this a concern?

Also, changed abandonTransactions in AbstractLogMinerEventProcessor to use streamAndReturn and simplify the impl. The consequence is that the keys to remove are now always in memory (vs just during debug). Is this a concern?

In general, it shouldn't be.  The default out-of-the-box configuration doesn't abandon transactions anyway, and even if users configure this option, you generally would only expect a few hundred to maybe a thousand or so transactions to be present in this list anyway at any given moment in time, depending on the system's activity.

Wrote up JIRA https://issues.redhat.com/browse/DBZ-8054 to cover the refactor only.
Do you want to continue reviewing here or in a new PR?  Any other changes or suggestions?

I reworked AbstractLogMinerEventProcessor#getLastScnToAbandonFallbackByTransactionChangeTime to be stream based.  I think I translated that logic properly.  Unit tests pass at least.

Opened up https://github.com/debezium/debezium/pull/5688.

Wrote up JIRA issues.redhat.com/browse/DBZ-8054 to cover the refactor only. Do you want to continue reviewing here or in a new PR? Any other changes or suggestions?

If all the changes proposed here are in the other PR you just opened, we can then continue the discussion there I think and formerly close this draft PR if that works for you @jeremy-l-ford .


Build pull requests

This should highlight compile issues in PRs.

Tested that this catches compile error introduced in #52
https://github.com/dotdoom/NukiBleEsp32/actions/runs/9226801174/job/25387372051?pr=2

de-vri-es/setup-git-credentials@v2 has been removed since I believe it is only relevant when working with private repositories.
Since this is a public repository (now), it should not be necessary anymore - but please yell at me if you know otherwise.

@Bascy: Can we get this merged so the other PR's can also be converted from draft and merged?


pyrealsense2 pipeline.start(callback) doesn't call callback function

Minimum reproducible example here:
import pyrealsense2 as rs

def update_frames(frame):
    print("yo")
    print(frame)
    pipeline.stop()

# this bit doesn't work

def doesnt_work():
    pipeline = rs.pipeline()
    profile = pipeline.start(update_frames)
    print("Pipeline started!")

    print("Shouldn't reach here!")

def works():
    pipeline = rs.pipeline()
    profile = pipeline.start()
    while True:
        composite_frame = pipeline.wait_for_frames()
        print(composite_frame)

doesnt_work()

We should expect the callback function to be called, and "yo" to be printed, but it is not. Instead, it goes straight to the end.

Hi @lieuzhenghong  There are a limited number of references about using callbacks with Python.  The scripting in the discussion linked to below may be helpful though.
https://github.com/IntelRealSense/librealsense/issues/5143
A notable feature of callback scripts is that they tend to place the term callback in the brackets of the pipe start instruction in order to use the script as a callback mechanism.
Such a definition is used in the pipe start of the script linked to above.

The C++ rs-callback SDK example program also uses it.
https://github.com/IntelRealSense/librealsense/blob/master/examples/callback/rs-callback.cpp#L46

Hi @lieuzhenghong  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


Document that build names match git SHAs.

I added this line because the only other place it is documented is a question asked via Twitter.

I dont know if I fully understand the sentence. Can you try rephrasing or explaining it more to me and we can brainstorm?

I was basically copying verbatim from twitter. Here's a visual:

Builds are named after the first 7 digits of the SHA. We also have that value stored as the title of the buildpack.

Apparently this is going to change soon, when we add some more GitHub integrations in the future. I'm not sure if we want to include a warning that it is going to change or just not even mention it at all.


Incorrect permissions

After running php bin/magento setup:upgrade to upgrade the database, I'm left with:
Fatal error: Uncaught RuntimeException: Can't create directory /var/www/html/generated/code/Magento/Framework/App/ResourceConnection/. in [Magento\Framework\App\ResourceConnection\Proxy] in /var/www/html/vendor/magento/framework/Code/Generator.php:115 Stack trace: #0 /var/www/html/vendor/magento/framework/Code/Generator/Autoloader.php(35): Magento\Framework\Code\Generator->generateClass('Magento\\Framewo...') #1 [internal function]: Magento\Framework\Code\Generator\Autoloader->load('Magento\\Framewo...') #2 [internal function]: spl_autoload_call('Magento\\Framewo...') #3 /var/www/html/vendor/magento/framework/Code/Reader/ClassReader.php(19): ReflectionClass->__construct('Magento\\Framewo...') #4 /var/www/html/vendor/magento/framework/ObjectManager/Definition/Runtime.php(44): Magento\Framework\Code\Reader\ClassReader->getConstructor('Magento\\Framewo...') #5 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(48): Magento\Framework\ObjectManager\Definition\Runtime->getParameters('Magento\\Fra in /var/www/html/vendor/magento/framework/Code/Generator.php on line 115
Since the whole Magento is within the container I assume that this could and should be adjusted more globally.

Can you please check are you using the latest 2.2.2 image?  I changed the
default Magento 2 installation type to integrator from this version. This
fixes several issues with upgrading. I just did a simple local test and it
worked fine.
On Fri, Mar 9, 2018 at 2:03 AM, Morgy93<EMAIL_ADDRESS>wrote:

After running php bin/magento setup:upgrade to upgrade the database, I'm
left with:
Fatal error: Uncaught RuntimeException: Can't create directory
/var/www/html/generated/code/Magento/Framework/App/ResourceConnection/.
in [Magento\Framework\App\ResourceConnection\Proxy] in
/var/www/html/vendor/magento/framework/Code/Generator.php:115 Stack
trace: #0 /var/www/html/vendor/magento/framework/Code/Generator/Autoloader.php(35):
Magento\Framework\Code\Generator->generateClass('Magento\Framewo...') #1
[internal function]: Magento\Framework\Code\Generator\Autoloader->load('Magento\Framewo...')
#2 [internal function]: spl_autoload_call('Magento\Framewo...') #3
/var/www/html/vendor/magento/framework/Code/Reader/ClassReader.php(19):
ReflectionClass->__construct('Magento\Framewo...') #4
/var/www/html/vendor/magento/framework/ObjectManager/Definition/Runtime.php(44):
Magento\Framework\Code\Reader\ClassReader->getConstructor('Magento\Framewo...')
#5 /var/www/html/vendor/magento/framework/ObjectManager/
Factory/Dynamic/Developer.php(48): Magento\Framework
ObjectManager\Definition\Runtime->getParameters('Magento\Fra in
/var/www/html/vendor/magento/framework/Code/Generator.php on line 115
Since the whole Magento is within the container I assume that this could
and should be adjusted more globally.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/alexcheng1982/docker-magento2/issues/18, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABHgEE1wZjPE_moGM8VSMK0LKl1OdYcKks5tcSw6gaJpZM4Sipb8
.

--
Regards
Alex Cheng

I won't be able to reproduce this any time soon, so I need to close this.
Thanks anyway!

I'm developing a module and I run into the same issue with the latest image alexcheng/magento2:latest.
Magento and sample data installs work fine, but once I run php bin/magento setup:upgrade I get the same permissions error.
I am mounting my module as described in issue #17
Any ideas?


Disconnects and connects regularly

Hi, I'm getting these connection based errors and cannot get any readings nor control the AC.
I have lates versions of HAOS and esphome (and latest versions of all the other components also, if that matters) installed on Raspberry Pi 4 4GB version. I have used until now the CZ-TACG1 to connect to the internet, but as we all now, it cannot be held very reliable..
ESP is regularly disconnecting/ connecting itself. Log from esphome compoinent says:
`INFO Reading configuration /config/esphome/ac-mek-garage.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing ac-mek-garage (board: esp32dev; framework: arduino; platform: platformio/espressif32 @ 3.5.0)
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
Dependency Graph
|--  1.2.2
|--  1.0
|--  1.0
|--  1.0
|--  2.1.0
|   |--  1.2.2
|--  1.1.0
|--  1.0
Compiling /data/ac-mek-garage/.pioenvs/ac-mek-garage/src/main.cpp.o
Linking /data/ac-mek-garage/.pioenvs/ac-mek-garage/firmware.elf
RAM:   [=         ]  12.7% (used 41764 bytes from 327680 bytes)
Flash: [=====     ]  51.2% (used 939806 bytes from 1835008 bytes)
Building /data/ac-mek-garage/.pioenvs/ac-mek-garage/firmware.bin
esp32_create_combined_bin(["/data/ac-mek-garage/.pioenvs/ac-mek-garage/firmware.bin"], ["/data/ac-mek-garage/.pioenvs/ac-mek-garage/firmware.elf"])
Wrote 0xf5790 bytes to file /data/ac-mek-garage/.pioenvs/ac-mek-garage/firmware-factory.bin, ready to flash to offset 0x0
========================= [SUCCESS] Took 37.22 seconds =========================
INFO Successfully compiled program.
INFO Resolving IP address of ac-mek-garage.local
INFO  -> <IP_ADDRESS>
INFO Uploading /data/ac-mek-garage/.pioenvs/ac-mek-garage/firmware.bin (939920 bytes)
Uploading: [============================================================] 100% Done...
INFO Waiting for result...
INFO OTA successful
INFO Successfully uploaded program.
INFO Starting log output from ac-mek-garage.local using esphome API
WARNING Can't connect to ESPHome API for ac-mek-garage.local: Error resolving IP address: [Errno -2] Name or service not known
INFO Trying to reconnect to ac-mek-garage.local in the background
INFO Successfully connected to ac-mek-garage.local
[18:13:55][I][app:102]: ESPHome version 2022.4.0 compiled on May  1 2022, 18:12:57
[18:13:55][C][wifi:491]: WiFi:
[18:13:55][C][wifi:353]:   Local MAC: 7C:9E:BD:62:5C:F4
[18:13:55][C][wifi:354]:   SSID: [redacted]
[18:13:55][C][wifi:355]:   IP Address: <IP_ADDRESS>
[18:13:55][C][wifi:357]:   BSSID: [redacted]
[18:13:55][C][wifi:358]:   Hostname: 'ac-mek-garage'
[18:13:55][C][wifi:360]:   Signal strength: -49 dB ▂▄▆█
[18:13:55][C][wifi:364]:   Channel: 8
[18:13:55][C][wifi:365]:   Subnet: <IP_ADDRESS>
[18:13:55][C][wifi:366]:   Gateway: <IP_ADDRESS>
[18:13:55][C][wifi:367]:   DNS1: <IP_ADDRESS>
[18:13:55][C][wifi:368]:   DNS2: <IP_ADDRESS>
[18:13:55][C][logger:233]: Logger:
[18:13:55][C][logger:234]:   Level: DEBUG
[18:13:55][C][logger:235]:   Log Baud Rate: 115200
[18:13:56][C][logger:236]:   Hardware UART: UART0
[18:13:56][D][api:102]: Accepted ::FFFF:C0A8:105
[18:13:56][C][uart.arduino_esp32:107]: UART Bus:
[18:13:56][C][uart.arduino_esp32:108]:   TX Pin: GPIO17
[18:13:56][C][uart.arduino_esp32:109]:   RX Pin: GPIO16
[18:13:56][C][uart.arduino_esp32:111]:   RX Buffer Size: 256
[18:13:56][C][uart.arduino_esp32:113]:   Baud Rate: 9600 baud
[18:13:56][C][uart.arduino_esp32:114]:   Data Bits: 8
[18:13:56][C][uart.arduino_esp32:115]:   Parity: EVEN
[18:13:56][C][uart.arduino_esp32:116]:   Stop bits: 1
[18:13:56][D][api.connection:827]: Home Assistant 2022.4.7 (::FFFF:C0A8:105): Connected successfully
[18:13:56][C][captive_portal:088]: Captive Portal:
[18:13:56][C][mdns:084]: mDNS:
[18:13:56][C][mdns:085]:   Hostname: ac-mek-garage
[18:13:56][C][ota:085]: Over-The-Air Updates:
[18:13:56][C][ota:086]:   Address: ac-mek-garage.local:3232
[18:13:56][C][ota:089]:   Using Password.
[18:13:56][C][api:138]: API Server:
[18:13:56][C][api:139]:   Address: ac-mek-garage.local:6053
[18:13:56][C][api:143]:   Using noise encryption: NO
INFO ac-mek-garage.local: Error while reading incoming messages: Error while reading data: [Errno 104] Connection reset by peer
INFO Disconnected from ESPHome API for ac-mek-garage.local
WARNING Disconnected from API
INFO ac-mek-garage.local: Ping Failed: Error while reading data: [Errno 104] Connection reset by peer
INFO Successfully connected to ac-mek-garage.local
[18:16:17][D][climate:010]: 'Panasonic AC ESP MEK' - Setting
[18:16:17][D][climate:039]:   Target Temperature: 17.00
[18:16:23][D][climate:010]: 'Panasonic AC ESP MEK' - Setting
[18:16:23][D][climate:014]:   Mode: HEAT
INFO ac-mek-garage.local: Error while reading incoming messages: Error while reading data: [Errno 104] Connection reset by peer
INFO Disconnected from ESPHome API for ac-mek-garage.local
WARNING Disconnected from API
INFO ac-mek-garage.local: Ping Failed: Error while reading data: [Errno 104] Connection reset by peer
INFO Successfully connected to ac-mek-garage.local
[18:16:32][D][api:102]: Accepted ::FFFF:C0A8:105
[18:16:32][D][api.connection:827]: Home Assistant 2022.4.7 (::FFFF:C0A8:105): Connected successfully
INFO ac-mek-garage.local: Error while reading incoming messages: Error while reading data: [Errno 104] Connection reset by peer
INFO Disconnected from ESPHome API for ac-mek-garage.local
WARNING Disconnected from API
INFO ac-mek-garage.local: Ping Failed: Error while reading data: [Errno 104] Connection reset by peer
INFO Successfully connected to ac-mek-garage.local
INFO ac-mek-garage.local: Error while reading incoming messages: Error while reading data: [Errno 104] Connection reset by peer
INFO Disconnected from ESPHome API for ac-mek-garage.local
WARNING Disconnected from API
INFO ac-mek-garage.local: Ping Failed: Error while reading data: [Errno 104] Connection reset by peer
INFO Successfully connected to ac-mek-garage.local
INFO ac-mek-garage.local: Error while reading incoming messages: Error while reading data: [Errno 104] Connection reset by peer
INFO Disconnected from ESPHome API for ac-mek-garage.local
WARNING Disconnected from API
INFO ac-mek-garage.local: Ping Failed: Error while reading data: [Errno 104] Connection reset by peer
INFO Successfully connected to ac-mek-garage.local
[18:20:26][D][api:102]: Accepted ::FFFF:C0A8:105
[18:20:26][D][api.connection:827]: Home Assistant 2022.4.7 (::FFFF:C0A8:105): Connected successfully
INFO ac-mek-garage.local: Error while reading incoming messages: Error while reading data: [Errno 104] Connection reset by peer
INFO Disconnected from ESPHome API for ac-mek-garage.local
WARNING Disconnected from API
INFO ac-mek-garage.local: Ping Failed: Error while reading data: [Errno 104] Connection reset by peer
INFO Successfully connected to ac-mek-garage.local
INFO ac-mek-garage.local: Error while reading incoming messages: Error while reading data: [Errno 104] Connection reset by peer
INFO Disconnected from ESPHome API for ac-mek-garage.local
WARNING Disconnected from API
INFO ac-mek-garage.local: Ping Failed: Error while reading data: [Errno 104] Connection reset by peer
INFO Successfully connected to ac-mek-garage.local
INFO ac-mek-garage.local: Error while reading incoming messages: Error while reading data: [Errno 104] Connection reset by peer
INFO Disconnected from ESPHome API for ac-mek-garage.local
WARNING Disconnected from API
INFO ac-mek-garage.local: Ping Failed: Error while reading data: [Errno 104] Connection reset by peer
INFO Successfully connected to ac-mek-garage.local
INFO ac-mek-garage.local: Error while reading incoming messages: Error while reading data: [Errno 104] Connection reset by peer
INFO Disconnected from ESPHome API for ac-mek-garage.local
WARNING Disconnected from API
INFO ac-mek-garage.local: Ping Failed: Error while reading data: [Errno 104] Connection reset by peer
INFO Successfully connected to ac-mek-garage.local
[18:25:38][D][api:102]: Accepted ::FFFF:C0A8:105
[18:25:38][D][api.connection:827]: Home Assistant 2022.4.7 (::FFFF:C0A8:105): Connected successfully
INFO ac-mek-garage.local: Error while reading incoming messages: Error while reading data: [Errno 104] Connection reset by peer
INFO Disconnected from ESPHome API for ac-mek-garage.local
WARNING Disconnected from API
INFO ac-mek-garage.local: Ping Failed: Error while reading data: [Errno 104] Connection reset by peer
WARNING Can't connect to ESPHome API for ac-mek-garage.local: Error resolving IP address: [Errno -2] Name or service not known
INFO Trying to reconnect to ac-mek-garage.local in the background`
The last message of the above seems to be saying it cannot resolve the IP, but e.g. my router sees it with full signal and has given it a static IP.
My configuration is as follows:
P.S. I used the "code" option when inserting the samples, but not of much avail, I see...

What might be the problem?
P.S. I inserted the  the config as an image, trying to insert as a "code", it mixed up the display?

Can you connect to the ESP directly via USB? It's hard to see what's wrong with all the connection issues.

I can connect to the esp via usb, but after taking it of from the AC. Also, esp boards (btw, the one I'm using is ESP32 Devkit V1 VROOM32 30-pin version) as fas as I know, should not be powered from many sources simultaneously? Which oprobably means I would need to disconnect it from AC anyway.
  I think I try to swap RX and TxD next...

No difference when swapping RX and TX. Looks like the AC does not get anything and vice versa.
I could tka it out and use USB, but I think there is not much point in it, because the situation would be different?

Hmmm... The ESP pcb + logic converter (TXS0108E, system built like in https://components101.com/modules/txs0108e-bi-directional-logic-level-converter-module , there is an example of connecting rasp to 5V system in the end ) was built on a trial board or whatever you call them, full of holes and the backside almost full of copper plating anyway :) .
Wifi ap was only few meters away. There semed to be lot of disturbance. I turned to trial pcb so that the copper side was facing ap, and the connection vastly improved. However, I cannot get a connection to AC. ESP seems to be polling AC (see above), which never responds.
I have board on the table now, what you wish me to do next?

OK. The connection probelem was disturbance-based and is now solved by electro-mecahical structure change, together with the fact, that bi-directional TXS0108E unit seems to be very delicate in these kind of applications, when it needs to devide, which side of the converter is load/ driver side at changing situtations.
Simplifying the structure as presented in this post:
https://github.com/DomiStyle/esphome-panasonic-ac/issues/34#issuecomment-975135342
.....solved the situation. One needs to be somewhat carefull, because this involves using 5V signals from AC to ESP's 3,3V inputs (and also feeds AC's 5V inputs with ESP's 3,3V, which seems to be enough).
Time will tell, how long ESP will last, according to this https://www.ridiculously-simple.com/2021/05/19/are-the-esp32-and-esp8266-5v-tolerant-yes-they-officially-are/ there are reasons to believe it will stand it.
However, solution is very simple and elegantish. ;)


Mobs wont despawn

Hostile mobs wont despawn no matter what, so once you hit the mob cap it ends up becoming impossible for new mobs to spawn, effectively putting the game on peaceful mode

Somehow this was never sent to me by Github that you made this issue, could you please share the version you were on and the config?


Reconcile related queries

Issue #876: CollectionObject queries Filter and FilterQuery have been merged into Filter, resulting in #all or #result methods. No AREL was required to reconcile the two different versions, but further streamlining may be possible.

Coverage increased (+0.04%) to 72.037% when pulling cf7483efe114f9268ba22611b162337ed734021d on reconcile_related_queries into f731f4dc2af975d42f30d12065d2a8be1f834278 on development.


hasImages does not return the expected results

hasImages does not return the expected results
Description
The hasImages query parameter does not return the expected results. The query should return objects that have images only, but the objects returned do not have images.
Steps to reproduce

Query the Met Museum API at this endpoint GET /public/collection/v1/search with the following parameters:

isHighlight=true
hasImages=true
q=sunflowers

Get the details of the first object returned in the response using the object ID.

Check if the object has a primary image.

Repeat the process for the other objects returned in the response.

Compare the results with the expected behavior.

Expected behavior
The result of the query should be an array that contains the object IDs of the objects that match the query string. The object should have the following properties isHighlight and primaryImage that are used to filter the results
"isHighlight": true,
"primaryImage": "url",

Actual behavior
The objects returned in the response do not have a primary image.
This unexpected since the query parameter hasImages=true should return objects with images only.
Example
Response to https://collectionapi.metmuseum.org/public/collection/v1/search?isHighlight=true&hasImages=true&q=sunflowers:
  {
    "total": 5,
    "objectIDs": [
        485308,
        437329,
        761604,
        436535,
        436121
    ]
}

Getting details about the first object using the following URL https://collectionapi.metmuseum.org/public/collection/v1/objects/485308
{
    "objectID": 485308,
    "isHighlight": true,
    "accessionNumber": "1989.349",
    "accessionYear": "1989",
    "isPublicDomain": false,
    "primaryImage": "",
    "primaryImageSmall": "",
    "additionalImages": [],
    "constituents": [
        {
            "constituentID": 164422,
            "role": "Artist",
            "name": "Joan Mitchell",
            "constituentULAN_URL": "http://vocab.getty.edu/page/ulan/500000901",
            "constituentWikidata_URL": "https://www.wikidata.org/wiki/Q469934",
            "gender": "Female"
        }
    ],
    "department": "Modern and Contemporary Art",
    "objectName": "Painting",
    "title": "Sunflower",
    "culture": "",
    "period": "",
    "dynasty": "",
    "reign": "",
    "portfolio": "",
    "artistRole": "Artist",
    "artistPrefix": "",
    "artistDisplayName": "Joan Mitchell",
    "artistDisplayBio": "American, Chicago, Illinois 1925–1992 Paris",
    "artistSuffix": "",
    "artistAlphaSort": "Mitchell, Joan",
    "artistNationality": "American",
    "artistBeginDate": "1925",
    "artistEndDate": "1992",
    "artistGender": "Female",
    "artistWikidata_URL": "https://www.wikidata.org/wiki/Q469934",
    "artistULAN_URL": "http://vocab.getty.edu/page/ulan/500000901",
    "objectDate": "1969",
    "objectBeginDate": 1969,
    "objectEndDate": 1969,
    "medium": "Oil on canvas",
    "dimensions": "102 1/4 in. × 70 3/4 in. (259.7 × 179.7 cm)",
    "measurements": [
        {
            "elementName": "Overall",
            "elementDescription": null,
            "elementMeasurements": {
                "Height": 259.7155,
                "Width": 179.70535
            }
        },
        {
            "elementName": "Frame",
            "elementDescription": null,
            "elementMeasurements": {
                "Depth": 7.620015,
                "Height": 267.01804,
                "Width": 187.32538
            }
        }
    ],
    "creditLine": "Gift of Pierre Matisse, 1989",
    "geographyType": "",
    "city": "",
    "state": "",
    "county": "",
    "country": "",
    "region": "",
    "subregion": "",
    "locale": "",
    "locus": "",
    "excavation": "",
    "river": "",
    "classification": "Paintings",
    "rightsAndReproduction": "",
    "linkResource": "",
    "metadataDate": "2024-03-15T04:53:14.917Z",
    "repository": "Metropolitan Museum of Art, New York, NY",
    "objectURL": "https://www.metmuseum.org/art/collection/search/485308",
    "tags": [
        {
            "term": "Sunflowers",
            "AAT_URL": "http://vocab.getty.edu/page/aat/300404749",
            "Wikidata_URL": "https://www.wikidata.org/wiki/Q171497"
        }
    ],
    "objectWikidata_URL": "https://www.wikidata.org/wiki/Q19922136",
    "isTimelineWork": false,
    "GalleryNumber": ""
}

When getting the object with ID 485308, the object does not have a primary image, which is unexpected since the query parameter hasImages=true should return objects with images only.
The object does not have a primaryImageSmall, additionalImages either.
Additional information
the test in the example were done on the 04/05/2024 using postman/react/web browser and the results were consistent.

Up

Up

Up


[FIX] Define a metadata table for TB1EPI

This PR resolves #1351 by drawing the TotalReadoutTime and MixingTime definitions from the schema. I followed the table in https://bids-specification.readthedocs.io/en/latest/appendices/qmri.html#field-maps to determine the required metadata.

Before

After

@effigies it looks good to me as well. It aligns with fmriprep definitions, which also documents issues around Phillips. Maybe providing a hyperlink would make it clearer: https://fmriprep.org/en/1.0.0/sdc.html


Image Optimizer can't detect duplicate images

What’s not working: if you upload the same image twice, image optimizer will only detect it once.

Reason: Images are considered unique based on hash of the image file content so if you upload same file twice b/c there is a duplicate hash

What should be happening: if you upload the same image twice, you should be able to optimize both of them.

Possible fixes: Look at last modified time, time created or file path

Steps to recreate:

Upload an image (cool-image.jpg) to the WordPress media library.
Scan for images with image optimizer
Optimize all found images
Upload the same image (cool-image.jpg) to the WordPress media library again.
Scan for images. The overview tab will report that there are 10 new images found to optimize.
Click "view images" and you won't see any images available for optimization.

Can't believe this didn't come up sooner!
This is something that I made a mental note of when first writing the addon but then never had the time to implement a fix. My two cents: I think using a file path is the best route here.
Off the top of my head, there are two ways a file path could be used to accomplish this:

append the file path to the file buffer passing to the md5 hash function.
store a hash map of processed image file paths and use that in conjunction with file md5 hashes to determine if an image is processed yet. (e.g. an image has been processed only if the image's md5 hash is found in imageData and the image path is in the hash map)

The second option (path hash map) seems more favorable to me as I think it will be more flexible, less prone to bugs and easier to maintain.


Added.


Create invoice loop

Every time the cronjob is running, the same invoice is created again in moneybird
https://i.imgur.com/TFBQm5o.png

For some reason the sendInvoice() method is not called in lib/Models/Invoice.php#L212.
https://github.com/sensson/whmcs-moneybird/blob/9c6b22194b289c58e9641c3416dcb4f2dc93861d/lib/Models/Invoice.php#L212
My first guess would be that you did not set up any of the ledgers.
The module logs exceptions in mod_moneybird_log. This table is created during the installation and at the moment it is only accessible if you access the database directly. If there is an entry there, could you share it?
What is the output of the cron when you run it by yourself?


chore: remove #guard_msgs from tests that rely on pointer equality

Motivation: improve CI stability.

This undoes part of @semorrison’s #4175, right? Maybe it’s worth leaving a comment why this test can’t use #guard_msgs, so that next time someone cleans this up it won’t break.
Also, nobody looks at the output of run tests anyways, and any changes are unteste, so maybe it would be clearer to use #guard_msgs(drop info) here to make this clear? (Still hoping we can have all run test be quiet, so that any unexpected output appearing will be flagged.)


uguid: remove unused From impl for GuidFromStrError

Codecov Report

Merging #35 (78d8487) into main (c64c3c6) will increase coverage by 0.19%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
+ Coverage   92.19%   92.39%   +0.19%
==========================================
  Files          15       15
  Lines        1397     1394       -3
==========================================
  Hits         1288     1288
+ Misses        109      106       -3

Impacted Files
Coverage Δ

uguid/src/lib.rs
98.73% <ø> (+1.83%)
:arrow_up:

Continue to review full report at Codecov.

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


Show users role in the "my account"

This section of the site should show clearly whether the current user is a Guest, Member, or Administrator.

I think this could reasonably go after "Password", and of course it's not an editable field, so we just need to display it nicely.

@timabbott does this look good -


Commit status: tweak bubble sizes

The CI bubbles now scale with the number of status in that state. Previously, the relative scaling was unpredictable.
Closes #321
Before:

After:

QA :+1:


Coq backend restructure

Restructure to allow multiple backends for Coq, and get better separation.

Looks nice, though I'm wondering: why do you need the secret arrays & secret bytes special handling?
It should be fine now, those should actually get expanded by Rust, right?
(that's what currently happens in main, after PR #98, that finally get rids of macros we can just let Rust expand)

Yes, you are right. I was just running the command with incorrect arguments to -i.

bors r+


traefik.domain label doesn't work (docker backend)

In my traefik.toml:
 port = ":80"
 graceTimeOut = 10
 logLevel = "ERROR"

 [web]
 address = ":8080"

[docker]
endpoint = "unix:///var/run/docker.sock"
domain = "tty0.in"
watch=true

My docker-compose.yml, setting up the proxy and a simple h5ai web index:

Note that I want h5ai to be accessible from url psg.mtu.edu, not psg.tty0.in

proxy:
    image: emilevauge/traefik
    restart: always
    ports:
        - "80:80"
        - "8080:8080"
    volumes:
        - ./traefik.toml:/traefik.toml
        - /var/run/docker.sock:/var/run/docker.sock
http:
    image: combro2k/h5ai
    restart: always
    labels:
        - "traefik.port=80"
        - "traefik.host=psg"
        - "traefik.domain=mtu.edu"

Information from the WebUI:

Forgot to mention that going to psg.mtu.edu returns a:
404 page not found

Hi! Thank you for reporting. Correction is comming soon :)

Sorry, I read too quickly. traefik.domain is not yet existing, so that's not a bug, but I can create this label.

Ahh ok, yeah I saw the Can be overridden by setting the "traefik.domain" label on a container. and tried to use it figuring it would just work.
But yeah, I would definitely use this feature (and actually need it for the present work I'm doing) as sometimes people need to serve multiple domains from a single host (or cluster, etc..)

I think this should be re-opened. I cannot get traefik.domain to work anymore. I was looking through your docker template ( https://github.com/containous/traefik/blob/master/templates/docker.tmpl ) and noticed you aren't calling the "getDomain" function from the docker provider function map. Would this be the reason that this is happening or am I mistaken?

https://github.com/containous/traefik/blob/21b8b2deb552e01d163e12ba2e587786573e7962/provider/docker/config.go#L169-L183

Interesting. I'm not sure why the "traefik.domain" rule wouldn't be working then...
I know this isn't a place for support...but I do indeed have the proper labels and configuration setup as per the documentation. Any idea why this wouldn't be overriding the default domain set in my config?

+1 this.
However this does work per @ThrDev (thank you!!)
traefik.frontend.rule=Host:subdomain.domain.com


Writing matsim XML's - Return the object, not the key in case of a dict

An issue with expected types when writing to Matsim xml.
Output before fix:
  <object id="10002061023">
    <attribute class="java.lang.String" name="psex">{10002061023: 'Male'}</attribute>
    <attribute class="java.lang.String" name="page">{10002061023: 40}</attribute>
    <attribute class="java.lang.String" name="pdlicense">{10002061023: 1}</attribute>
    <attribute class="java.lang.String" name="hincome">{10002061023: 4}</attribute>
    <attribute class="java.lang.String" name="hsize">{10002061023: 4}</attribute>
    <attribute class="java.lang.String" name="hid">{10002061023:<PHONE_NUMBER>95}</attribute>
    <attribute class="java.lang.String" name="subpopulation">{10002061023: 'License'}</attribute>
    <attribute class="java.lang.String" name="source">{10002061023: 'phase-2-tfl'}</attribute>
  </object>

Output after fix:
<object id="10002061023">
    <attribute class="java.lang.String" name="psex">Male</attribute>
    <attribute class="java.lang.String" name="page">40</attribute>
    <attribute class="java.lang.String" name="pdlicense">1</attribute>
    <attribute class="java.lang.String" name="hincome">4</attribute>
    <attribute class="java.lang.String" name="hsize">4</attribute>
    <attribute class="java.lang.String" name="hid">10002061023</attribute>
    <attribute class="java.lang.String" name="subpopulation">License</attribute>
    <attribute class="java.lang.String" name="source">phase-2-tfl</attribute>
  </object>

I don't think this is solved, some more effort needs to go into ensuring types are correct. This should happen further upstream, likely at ingestion. At present, users will likely use the types as inferred by Pandas when reading from csv - as was the case with the example above.
I present this improvement as an incremental change which should at least make debugging better.

I don't really like this. Prefer that we make it clearer that everything is forced to string. Which i think is what is roughly expected with writing to xml.
Interested to know how you got dictionaries as attributes? Seems there must have been an issue with the read method?

yes, something in the read method, but I can't trace. Will continue to explore

I am unable to create my bug without using the large input Collins gave me. I don't think it's at read anymore, but somewhere in the middle of the pipeline

This issues was caused by duplicate household rows. This resulted in https://github.com/arup-group/pam/blob/master/pam/read.py#L84 returning a dictionary with nested dictionaries.
I will close this and open an issue.


Update modules namespaces to @druxt/

Is your feature request related to a problem? Please describe.
Update modules to @druxt namespace
Describe the solution you'd like

[ ] Update Namespace:

[ ] druxt-blocks -> @druxt/blocks
[ ] druxt-breadcrumb -> @druxt/breadcrumb
[ ] druxt-entity -> @druxt/entity
[ ] druxt-menu -> @druxt/menu
[ ] druxt-router -> @druxt/router
[ ] druxt-schema -> @druxt/schema
[ ] druxt-site -> @druxt/site
[ ] druxt-views -> @druxt/views

Describe alternatives you've considered
N/A
Additional context
Depends on: https://github.com/druxt/druxt.js/issues/82

While I would love to get this done prior to the 1.0.0 release, I think it would be easier to rename during the 2.0.0 Typescript/Vue3/Nuxt3 update.


is there anyway to increase ReadFileOp.Dst buffer size?

It seems in the OSX, the ReadFileOp.Dst callback always set Dst with 8K size, is there anyway to bump this size to a bigger number?

The size of the Dst buffer is controlled by the Read op sent by the kernel itself (cf. conversions.go). I don't know if osxfuse supports tuning this. It's possible it's controlled by the iosize mount options documented here. Please report back if you try it.


iModel Transformer native crash when removing class in dynamic schemas

Describe the bug
Transformation crashes when editing classes of a dynamic schema.
To Reproduce

checkout this branch of this fork
rush install && rush build -t imodel-transformer
cd test-apps/imodel-transformer && npm run start

Expected behavior
The transformation should complete.
Desktop (please complete the applicable information):

iTwin.js Version 3.3.0

this appears to have been error in usage of the transformer, but I'm still going to stop it from segfaulting


Reordering mo se te s

Sorted the Chanyoung data from short to long wavelength (instead of low to high photon energy). Also fixed a minor mistake I made in library.xml

Hi Vincent,
well done! I made some final edits and put your data online:
http://refractiveindex.info/?shelf=main&book=MoO3&page=Vos
http://refractiveindex.info/?shelf=main&book=MoS2&page=Beal
http://refractiveindex.info/?shelf=main&book=MoS2&page=Zhang
http://refractiveindex.info/?shelf=main&book=MoS2&page=Yim-1.99um
http://refractiveindex.info/?shelf=main&book=MoS2&page=Yim-3.01um
http://refractiveindex.info/?shelf=main&book=MoS2&page=Yim-19.88um
http://refractiveindex.info/?shelf=main&book=MoSe2&page=Beal
http://refractiveindex.info/?shelf=main&book=MoTe2&page=Beal
I assumed that thickness of MoS2 films in Yim's data is in microns. Is this correct?


Refactor byoc admin access

~Still need to run through my local testing to make sure this all still works.~
Tested by creating a BYOC accountclaim and then removing it.

/lgtm
Tested with BYOC acct creation (and, sure, unrelated FederatedAccountAccess stuff, just to be safe). No issues.
:+1:

@iamkirkbater rebase and squash code changes into a commit, and vendor changes in a 2nd commit.
@jharrington22 @fahlmant @rogbas sync and review/test that PR.

Looks good @iamkirkbater please comment once tested.

Tested with make test-ccs and make test-awsfederatedaccountaccess and make test.

/lgtm


Please make a new release

The latest stable release is 1.18.2, and there have been a few changes made since then.
For example https://github.com/lv2/lv2/commit/ba34a58b32839491335b5bcbda46e11c4b209cbc which defines LV2_CORE__enabled that was missing, plus some metadata/syntax improvements.
For packaging, would be nice to have all the recent things in a tagged release.
I have been using the latest git/HEAD without issues, it is just nicer to have it as part of a release.
Thanks

d97a1a4


List stmt

Adds a --list-statements option which lists all statements in the given database.
This takes less than one second on set.mm on my machine.
This is a very simple implementation which just lists the statement label, and then the corresponding statement, as follows:
idi.1: |- ph
idi: |- ph
a1ii.1: |- ph
a1ii.2: |- ps
a1ii: |- ph
wn: wff -. ph
wi: wff ( ph -> ps )
min: |- ph
maj: |- ( ph -> ps )
ax-mp: |- ps
...

Floats $f are not included but could easily be added.
(based on the split-crate PR #149)

Sure, I've pushed a commit with the changes for that format.

That was fast! This would have definitely taken months for me even to start making sense of rust. So thank you for that.
This is how the new output appears to me:

idi.1 $e |- ph
idi $p |- ph
-------------------------------------------------------------------------------
a1ii.1 $e |- ph
a1ii.2 $e |- ps
a1ii $p |- ph
-------------------------------------------------------------------------------
wn $a wff -. ph
-------------------------------------------------------------------------------
wi $a wff ( ph -> ps )
-------------------------------------------------------------------------------
min $e |- ph
maj $e |- ( ph -> ps )
ax-mp $a |- ps
-------------------------------------------------------------------------------
ax-1 $a |- ( ph -> ( ps -> ph ) )
-------------------------------------------------------------------------------
ax-2 $a |- ( ( ph -> ( ps -> ch ) ) -> ( ( ph -> ps ) -> ( ph -> ch ) ) )
-------------------------------------------------------------------------------
ax-3 $a |- ( ( -. ph -> -. ps ) -> ( ps -> ph ) )
-------------------------------------------------------------------------------
...

Which looks good. I explored around and I didn't find obvious problems. In your output dv conditions are listed pair by pair, which is even better for extracting data (in general the more standardized the output is, the easier is for me to use it).
An other observation is that dv conditions of dummy vars are ignored, which I think it's the correct behaviour since those are related to proofs only, not to statements (and indeed even metamath-exe ignores them, you can checkout theorem axc14 as an example).
Therefore I've nothing to complain. Approve.


Change trust: allow decimal numbers in trust limit

Preview is available here:http://laboratory-pr600.previews.kube001.services.stellar-ops.com/

#539 seems to related and also could be closed


added and fixed a bunch of regex translations

i reverted the 2 things in question, as the skoll thing should be done by a native speaker and if the BA works for you, i will leave it as is for now

Thank you, if you or @quisquous  want my network logs files to check, there is no problem.

Sorry, can you not remove things from the timelineReplace section in a patch where you're making other changes? As mentioned before, it's hard enough for me to verify that these removals are good on their own, let alone when they are mixed in with other changes.  If you want to go back and do a pass over everything where you just remove unused translations from timelineReplace, then that would be a patch I could check all at once.


miniasm segmentation fault

Hi LiHeng,
I use miniasm and run into segmentation fault. I reproduced the error. Both times it only used 52% of the total 239G memory before it fail. The ovlp_corn.paf.gz is 511GB and reads.fa is 43GB raw Pacbio long-read for about 20X coverage with genome size about 2.2Gb.  Please note the second time when I repeat the error, I only did miniasm step. Is there anything I missed? What it can go wrong?
$ tail log-0605.out
[M::worker_pipeline::39280.93813.59] mapped 64199 sequences
[M::worker_pipeline::39324.00913.58] mapped 69836 sequences
[M::worker_pipeline::39356.45913.58] mapped 70597 sequences
[M::worker_pipeline::39368.77713.58] mapped 73223 sequences
[M::worker_pipeline::39369.057*13.58] mapped 10406 sequences
[M::main] Version: 2.10-r761
[M::main] CMD: /opt/conda/bin/minimap2 -x ava-pb -t 20 reads.fa reads.fa
[M::main] Real time: 39370.033 sec; CPU: 534467.581 sec
[M::main] ===> Step 1: reading read mappings <===
miniasm_cluster_corn.sh: line 20: 22168 Segmentation fault      (core dumped) /opt/conda/bin/miniasm -f reads.fa ovlp_corn.paf.gz > reads_corn.gfa
The repeated log as following:
Wed Jun  6 15:42:21 UTC 2018
/opt/conda/bin/miniasm -f reads.fa ovlp_corn.paf.gz > reads_corn.gfa
Wed Jun  6 18:50:23 UTC 2018
The repeated error as following:
==> log_0606_2.out <==
[M::main] ===> Step 1: reading read mappings <===
miniasm_cluster_corn.sh: line 20:    27 Segmentation fault      (core dumped) /opt/conda/bin/miniasm -f reads.fa ovlp_corn.paf.gz > reads_corn.gfa
I hope to hear from you soon.
Best,
Xin

Forgot to mention the version of miniasm is 0.2-r128

Update:
I used the new version 0.3_r179. It seem like when data use small memory, such as 80GB, it works fine. However, when data needs big memory, it still fail with segmentation fault. And I was able to repeat the error and noticed that both time the error happened when memory usage reach to about 120GB, yet I have total 240GB memory.
......
[M::main] CMD: minimap2 -x ava-pb -t 28 /efs/fasta/merged_BAC_PACBIO.filtered.fasta /efs/fasta/merged_BAC_PACBIO.filtered.fasta
[M::main] Real time: 30832.901 sec; CPU: 674449.293 sec
31699 Segmentation fault      (core dumped) /home/biodocker/miniasm//miniasm -f /efs/fasta/merged_BAC_PACBIO.filtered.fasta /efs/fasta//miniasm/BAC_corn.paf.gz -Rc2 > /efs/fasta/miniasm/BAC_corn.gfa 2> /efs/fasta//miniasm/step2.err
Is there any other way to decrease the memory useage?
Best,
Xin

same here, I get the Segmentation fault error when the process uses about half of the total memory (in my case ~65 GB out of 126). My version is 0.3-r179 as well.

@lh3 does miniasm have a upper limitation of what it can actually read? I am trying to assemble a gzipped 4Tb PAF file and it looks there is a hard cap at around 2Tb memory usage.

We are experiencing this as well.  we have 1TB of RAM and the segfault consistently occurs around the halfway point like others here; which is around of 550GB used for us.   We also use a gzipped paf file.    We were using 0.2-r168-dirty and updated to the current release and the issue still occurs.

@mr--white set -m to something between 1000-2000 during your minimap2 overlap. Resulting PAF file should much smaller and miniasm run through.

am having the same problem anyone tried out what at @mr--white suggested to see if it worked?
am working with a 734 GB .paf.gz file, wouldnt want to repeat this step if it doesent work.


Gothic1: T_DIALOGGESTURE_** are not loaded

Noticed at top level testing in OpenGothic, presumable those were not loaded due to potential error in model-script parsing.
Do not have much more info at this point, can do extra testing, if needed.
Version: Steam
Parser: text based (lexy)

Hi @Try,
I fixed some MDS problems in #50. Does this problem occur with the latest commit on main?

Yep, fixed. Thanks!


Grpc.Core: add support for x86 android emulator

right now Grpc.Core nuget can be used when deploying the project to physical android device, but the accelerated emulator uses x86 architecture by default. Adding libgrpc_csharp_ext for x86 abi will simplify development.

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,976,380      Total (=)      1,976,380

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,770,422      Total (>)     10,770,420

 No significant differences in binary sizes

[microbenchmarks] No significant performance differences

Successful packages build here: https://source.cloud.google.com/results/invocations/69bdba4b-4ec7-4069-8181-7f9294d53929
Artifacts: https://pantheon.corp.google.com/storage/browser/grpc-testing-kokoro-prod/test_result_public/prod/grpc/core/master/windows/grpc_build_packages/1540/20180724-153819/github/grpc/artifacts/

Known failures:
https://github.com/grpc/grpc/issues/16134
https://github.com/grpc/grpc/issues/16135


Remove --net host

Hey, is network_mode: host really needed here or is just there to run avahi?
If so, than could you consider removing it/making it optional, as is already have mDNS set up and would like to not have it redundantly running in the shairpod container.

Closing this, if that's okay.


Fix typo in CONTRIBUTING.md

Minor typo fix, changing "wierd" by "weird".
Signed-off-by: Alessandro Resta<EMAIL_ADDRESS>

LGTM

LGTM


hello all,

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...
...

No information provided or steps to replicate - Closing 😞


doc: fix typo in gpmrb doc

Fix typo missed during regular review
Signed-off-by: David B. Kinder<EMAIL_ADDRESS>

@gnuless Do you have a better picture of the MRB?  The one in this doc is small and looks bad when enlarged.

@gnuless Do you have a better picture of the MRB? The one in this doc is small and looks bad when enlarged.

@dbkinder No :( .. I realize the image is bad. I even tried to take a photo of my unit to use instead, but apparently I'm a really bad photographer, too.


Auto complete fails with function call

I'm using vim-flow.  When using auto completion I found that sometimes flow gave me nothing. I think this problem should be reported here because flow command line tool, which vim plugin is used internally, does not behave properly.
I'm on Ubuntu, with flow 0.12.0. Test case as below. AUTO332 is a token taken from vim-flow.
$ flow autocomplete << JS
var a = 123
function id(a) {return a}
var c = id(a)
a.AUTO332
JS

This gave me nothing. But after removing the statement var c = id(a), it worked well.
flow autocomplete << JS
var a = 123
function id(a) {return a}
a.AUTO332
JS

Result:
toExponential (fractionDigits?: number) => string
toFixed (fractionDigits?: number) => string
toPrecision (precision?: number) => string
toString (radix?: number) => string
valueOf () => number

Thanks for bringing us Flow with its richness and idiomatic expressiveness. I really love it.

The autocomplete for number functions is currently broken.
/* @flow */
var num = 123
num.

This currenly doesn't get any suggestions from flow.
However this example from the tests does:
/* @flow */
var obj = {
  a: 123,
  b: 'hello'
}

obj.

More updates on this.
It's not just Autocomplete, pretty much all type inference/type analysis fails on function calls.
For example, let's say I have a simple module:
class A {
  test(a){
    return a;
  }
}

export default A

flow will correctly ask for annotations for the test method since it's being exported.
But let's say I have a class decorator function in play:
export default decorate(A)

Then flow stops asking for annotations and the module loses all type inference for other modules.
Setting a type for decorate does not solve the problem:
type Identity<T> = (in: T) => T
var decorate: Identity = somemodule.decorate

Currently the only way around this problem is:
var toExport: typeof A = decorate(A)
export default toExport

% flow autocomplete << JS
var a = 123
function id(a) {return a}
var c = id(a)
a.AUTO332
JS

now yields
hasOwnProperty (prop: mixed) => boolean
isPrototypeOf (o: mixed) => boolean
propertyIsEnumerable (prop: mixed) => boolean
toExponential (fractionDigits?: number) => string
toFixed (fractionDigits?: number) => string
toLocaleString (locales?: (string | Array<string>), options?: Intl$NumberFormatOptions) => string
toPrecision (precision?: number) => string
toString (radix?: number) => string
valueOf () => number


orchestrator: Trigger rolling updates when endpoints change

This checks the task's Endpoint field against the service's Endpoint
field to see if tasks need to be replaced to take into account new
endpoint settings.
Endpoint is not a spec, but it is copied directly from the service, so
it's safe to do this comparison. It's actually better than comparing the
specs, because if an arbitrary port is allocated at runtime, this will
ensure that the task and service share the same port value.

Tested by:

Creating a service
Adding a label to the service - this does not trigger a rolling update
Adding a port binding to the service - this does trigger a rolling update
Adding another label to the service - this does not trigger a rolling update (the allocator sees that the service is already allocated, so does not overwrite the Endpoint field after the service update).

cc @aluzzardi @icecrime

@aaronlehmann Can you also test if changing the port binding of the service again triggers a rolling update?

@mrjana: Confirmed.

@aaronlehmann Thanks. LGTM

[Current coverage][cc-pull] is 53.86%

Merging [#1021][cc-pull] into [master][cc-base-branch] will increase coverage by 0.07%

@@             master      #1021   diff @@
==========================================
  Files            75         75
  Lines         11605      11606     +1
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           6243       6252     +9
+ Misses         4470       4468     -2
+ Partials        892        886     -6

[][cc-pull]

Powered by Codecov. Last updated by [dc1e82a...41c1601][cc-compare]
[cc-base-branch]: https://codecov.io/gh/docker/swarmkit/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/docker/swarmkit/compare/dc1e82a713ad5cfe36cae02ed508f9b1f557cbe4...41c1601a19d959be80c924893a1335bbd5d48f3c
[cc-pull]: https://codecov.io/gh/docker/swarmkit/pull/1021?src=pr

LGTM


Put codebook into  section for Download description

I missed this the first time around.
Also, updated intl and tests snapshots.

@esfoobar-usds bump.