Missing quick fix for omit_obvious_property_types in Dart Analysis view in IntelliJ

This line triggers the omit_obvious_property_types lint:
final String foo = '';

When using right click in the Analysis View in IntelliJ, there is no quick fix shown:

Pressing Alt+Enter directly on the type annotation where the lint occurs shows a quick fix:

If it's declared as a local variable (omit_obvious_local_variable_types), the quick fix is shown in the Analysis View:

Additionally Alt+Enter has the yellow light bulb for quick fixes:

One obvious difference between both lints is that one hasFix, while the other needsEvaluation (if this matters):
https://github.com/dart-lang/sdk/blob/5b6e6865b03f808d9e1e74e4638c997650294839/pkg/analysis_server/lib/src/services/correction/error_fix_status.yaml#L2199-L2202
Dart version: Dart SDK version: 3.7.0-81.0.dev (dev) (Tue Oct 29 17:06:42 2024 -0700) on "windows_x64"

Thanks! https://dart-review.googlesource.com/c/sdk/+/393280.

The status in [error_fix_status.yaml](https://github.com/dart-lang/sdk/blob/5b6e6865b03f808d9e1e74e4638c997650294839/pkg/analysis_server/lib/src/services/correction/error_fix_status.yaml#L2199-L2202) doesn't actually control anything. It's there only as away for us to track which diagnostics could have a fix that don't.
It is, however, required to match reality by having a test that compares it to the table used to produce fixes for diagnostics. It was the absence of a mapping in this table that prevented the fix from being displayed.
Thanks @eernstg for the CL to add the mapping to the table (and fix the status file to be consistent).

fixed in https://github.com/dart-lang/sdk/commit/c9391d7f19c19c012956eb74d00e0b0dcea82c41


[Bug] Script/Test input fields are very small (folder view)

I have checked the following:

[X] I use the newest version of bruno.
[X] I've searched existing issues and found nothing related to my issue.

Describe the bug
Navigate to the Script area in any collection folder view. The input fields for Pre Request and Post Response are very small in this view.
The same occurs in the Test view, also in the folder. Here the input field is only barely visible and therefore not even usable.
I have attached two screenshots below where you can see the problem.
.bru file to reproduce the bug
No response
Screenshots/Live demo link

@helloanoop this commit here caused this regression.

Hey 👋 I noticed this as well and made a quick fix

[like]  Marvin Küppers reacted to your message:

From: Sam Wooler @.>
Sent: Monday, August 12, 2024 10:22:28 PM
To: usebruno/bruno @.>
Cc: Marvin Küppers @.>; Author @.>
Subject: Re: [usebruno/bruno] [Bug] Script/Test input fields are very small (folder view) (Issue #2796)
Hey 👋 I noticed this as well and made a quick fixhttps://github.com/usebruno/bruno/pull/2817
—
Reply to this email directly, view it on GitHubhttps://github.com/usebruno/bruno/issues/2796#issuecomment-2285001483, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BGUXG23TVKRY6ENM5PRASPDZREYSJAVCNFSM6AAAAABMIN7V7GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBVGAYDCNBYGM.
You are receiving this because you authored the thread.Message ID: @.***>


Client Impersonating Resource Owner

AS did not handle Client Impersonating Resource Owner.

@lu-cheng The description provided is not sufficient to investigate this further. Please provide details on your specific use case or this will get closed.

If a client is able to choose its own client_id during registration with the authorization server, then there is a risk that it can register with the same sub value as a privileged user.

I do not see how this scenario can happen with the default configuration.

Currently AS allows the client_id to be the same as the end user name, which may result in confusing access tokens.

Where this cannot be avoided, authorization servers MUST provide other means for the resource server to distinguish between access tokens authorized by a resource owner from access tokens authorized by the client itself.


travis-ci: add Windows 32 bit

It's sad that this is needed.
The problem seems to be that we can't upload the same file twice to PyPi just with another name.

Don't worry, we now run the setup.py script in Python 32 bit and 64 bit and upload both. The compiled binary is 32 bit for both which seems to work fine.


Add positivity chart, make rolling average only show with data

For https://github.com/project-vagabond/covid-green-app/issues/82

@AlanSl why do the charts have the same title?

@dharding Good catch, I added the text to JSON but forgot it in the app, fixing now

This also sets the charts to not try to calculate a rolling average by default, since that data isn't available yet


chore(git): ignore tarpaulin (code coverage) report

Not sure if we need this. cargo-tarpaulin is not integrated into this repository so what's the point of adding it? Some people might use cargo-llvm-cov for code coverage and merging this might mean that we want to cover similar cases too.
Now that I looked at .gitignore, not sure why we have .gdb_history and .idea there as well. Those are very specific to an user's development environment and I'm not a proponent of adding anything to .gitignore which is not directly related to the project. I would remove them too.
Requesting comment from @joshka @mindoodoo @sophacles and anyone else watching the repo 🐻

Mostly I was running it locally to check some coverage stats on tests, and was annoyed that the report doesn't splat somewhere that's ignored.

I think you can simply use .git/info/exclude for that purpose 🐻

I think you can simply use .git/info/exclude for that purpose 🐻

Sounds good - I'll do that  :)


Missing charm config to expose the --serve-artifacts option for mlflow

Context
When accessing the mlflow from outside the cluster the S3 storage is not exposed, the default mlflow library in python requires flag --serve-artifacts to use tracking server to upload artefacts instead of directly uploading them to the object storage.
From mlflow documentation:

If the MLflow server is not configured with the --serve-artifacts option, the client directly pushes artifacts to the artifact store. It does not proxy these through the tracking server by default.

For data security its better to not expose the S3 storage to the world if possible.
What needs to get done

add config option
if server-artifacts == True, add flag --serve-artifacts to mlflow server execution

Definition of Done
There is a way to enable the serve-artifacts flag for MLflow.

I can work on this, Can I be assigned to this issue?


Convert kustomize build docker run tests and remove NODOCKER option

Fixes https://github.com/GoogleContainerTools/kpt/issues/976

New e2e tests depend on unreleased kpt features, will pass after next kpt release


WIP: introduce kube node e2e tests

So we can run:

upstream Kubernetes node e2e tests on RHEL
upstream Kubernetes node e2e tests on RHEL over containerized Kubelet

Cron set to run both jobs each two hours (as k8s upstream does).

We should have https://github.com/kubernetes/kubernetes/pull/56250 merged first so there is no need to cherry pick the PR.

@stevekuznetsov PTAL if you find something you don't like. I am modifying both started.json and finished.json since the sjb/gcs/[started|finished].py do not allow to set what the k8s TestInfra requires.

@lsm5 @derekwaynecarr @sjenning FYI

@ingvagabund why is this WIP?

I am waiting for kubernetes/kubernetes#56250 to be merged so the PR is not cherry-picked each time the JJ is run.

@stevekuznetsov I will let you know


Fix fixpoints in recursive types when they do not appear in equal positions

Currently, only args.roc is failing. Opening a PR to see if any other issues surface.
I am somewhat okay with letting that test fail, because the current Args implementation is somewhat broken - by removing or adding type annotations, you can make it break easily anyway. We will need to find a way to make it work again, but I think it's okay to adjust the program implementation in order to do so.
Closes #4077

bump

From: github-actions[bot] @.>
Sent: Thursday, October 27, 2022 10:32:07 PM
To: roc-lang/roc @.>
Cc: Ayaz @.>; Author @.>
Subject: Re: [roc-lang/roc] Fix fixpoints in recursive types when they do not appear in equal positions (PR #4121)
Thank you for your contribution! Sometimes PRs end up staying open for a long time without activity, which can make the list of open PRs get long and time-consuming to review. To keep things manageable for reviewers, this bot automatically closes PRs that haven’t had activity in 60 days. This PR hasn’t had activity in 30 days, so it will be automatically closed if there is no more activity in the next 30 days. Keep in mind that PRs marked Closed are not deleted, so no matter what, the PR will still be right here in the repo. You can always access it and reopen it anytime you like!
—
Reply to this email directly, view it on GitHubhttps://github.com/roc-lang/roc/pull/4121#issuecomment-1294405626, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE6GL6XERR6TZKGLKCBQ24TWFNCLPANCNFSM6AAAAAAQXF2SCA.
You are receiving this because you authored the thread.Message ID: @.***>


Add missing RenderingDevice method descriptions

I went through the RenderingDevice.xml file and added all the missing descriptions of methods. I also updated some descriptions to be more complete.
This is in an effort to become more familiar with the Godot source code, specifically compute shaders.

Great! I'm not exactly sure of the exact wordings and someone else will come around as well to review it, just added some suggestions on things where I thought it'd help

Alright added all your suggestions too @RedMser . Thanks for looking over it ^^

Alright, once again merged everything together. I also removed the double space after "clearing" (as mentioned by @akien-mga )

Looks good! Could you squash the commits? See PR workflow for instructions.

Alright! I think I got everything right now.
It also had created a "Merge branch 'master' of https://github.com/ARez2/godot into add-rd-method-descriptions" which I am not sure why it did. So I was not sure what exactly to do in the rebase. I did multiple git rebase -i upstream/master before, but this time in the editor window that openend, there weren't 2 commits, but only that one "Add missing RenderingDevice method descriptions" commit. So I just picked that one and that seemed to have rerolled the branch commit history to the correct state.
TLDR: My faults are fixed now and everything should be correct now.

Cherry-picked for 4.1.3.


Upgrade Ploutos

The current version v1 is hitting a problem that is solved in Ploutos v6. As this is quite a big upgrade this is a draft PR to investigate what if anything needs to be changed to make this repo work with newer Ploutos.

Successful run: https://github.com/NLnetLabs/krill-sync/actions/runs/4981830048


Convert graphql-core's ResolveInfo to strawberry's Info in resolvers

Continuation of #680
We have exposes a new type called Info from strawberry.types, this type should be used for the info parameter in resolvers.
Currently, tho, we pass the info value from graphql-core, since it maps to ours, we should convert it to be of type Info to make it not confusing when debugging and also, in future, to abstract the info values, for example we could abstract the operation value as it currently returns the AST, which might not be that useful directly. One use case for the operation value is to check what fields have been requested and do something with that.

This should be done :)
https://strawberry.rocks/docs/types/resolvers#api


Add instance selection feature

VenvInstances now have a hashcode generated with is printed with riot list. This hashcode can be used to run specific test with riot run <hashcode>.
Along with #89, resolves #24

Codecov Report

Merging #98 (32ca8a2) into master (27fd17d) will decrease coverage by 0.04%.
The diff coverage is 97.77%.

@@            Coverage Diff             @@
##           master      #98      +/-   ##
==========================================
- Coverage   95.37%   95.33%   -0.05%
==========================================
  Files           7        7
  Lines         584      600      +16
==========================================
+ Hits          557      572      +15
- Misses         27       28       +1

Impacted Files
Coverage Δ

riot/cli.py
95.00% <ø> (ø)

riot/riot.py
91.44% <97.22%> (-0.09%)
:arrow_down:

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

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 27fd17d...32ca8a2. Read the comment docs.

It enables the running of a specific instance. eg:
riot:instnames* λ riot list
b150 test LC_ALL=C.UTF-8 LANG=C.UTF-8 '/home/kyle/.pyenv/shims/python3.6' 'pytest' 'pytest-cov' 'mock'
a25e test LC_ALL=C.UTF-8 LANG=C.UTF-8 '/home/kyle/.pyenv/shims/python3.7' 'pytest' 'pytest-cov' 'mock'
9951 test LC_ALL=C.UTF-8 LANG=C.UTF-8 '/home/kyle/.pyenv/shims/python3.8' 'pytest' 'pytest-cov' 'mock'
a251 test LC_ALL=C.UTF-8 LANG=C.UTF-8 '/home/kyle/.pyenv/versions/3.9.0/bin/python3.9' 'pytest' 'pytest-cov' 'mock'
173b check_format  '/home/kyle/.pyenv/shims/python3.8' 'black==20.8b1'
6f3f flake8  '/home/kyle/.pyenv/shims/python3.8' 'flake8' 'flake8-blind-except' 'flake8-builtins' 'flake8-docstrings' 'flake8-import-order' 'flake8-logging-format' 'flake8-rst-docstrings' 'pygments'
ecc9 typing  '/home/kyle/.pyenv/shims/python3.8' 'mypy' 'pytest'
a3d2 codecov  '/home/kyle/.pyenv/shims/python3.6' 'coverage'
92d3 codecov  '/home/kyle/.pyenv/shims/python3.7' 'coverage'
2bd1 codecov  '/home/kyle/.pyenv/shims/python3.8' 'coverage'
3384 codecov  '/home/kyle/.pyenv/versions/3.9.0/bin/python3.9' 'coverage'
dcbb codecov  '/usr/bin/pypy3' 'coverage'
3ac2 docs  '/home/kyle/.pyenv/shims/python3.8' 'sphinx==3.3' 'sphinx-rtd-theme==0.5.0' 'sphinx-click==2.5.0' 'reno'

riot:instnames* λ riot run 9951
============================================================================== test session starts ===============================================================================
platform linux -- Python 3.8.6, pytest-6.1.2, py-1.9.0, pluggy-0.13.1
rootdir: /home/kyle/dev/riot, configfile: setup.cfg, testpaths: tests, riot
plugins: cov-2.10.1
collected 45 items

tests/test_cli.py ..........................                                                                                [ 57%]
tests/test_unit.py .............                                                                                [ 86%]
riot/riot.py ......                                                                                [100%]

=============================================================================== 45 passed in 7.37s ===============================================================================

-------------------summary-------------------
✔  <test 9951: LC_ALL=C.UTF-8 LANG=C.UTF-8 pytest pytest-cov mock '/home/kyle/.pyenv/shims/python3.8'> pytest

This is useful where there may be many instances sharing the same name (eg. django in ddtrace) and you want to debug an issue affecting only python 3.9, django==2.1, redis==..., and you don't want to have to run all the tests for the name over and over.

I understood that but I'm not sure the usability here, since it sounds like you can't run a single env (no pattern) without having the name.
Also, what happens on hash conflict? (I'm too lazy to read the code 😉 )

This will probably be added to #147 and has too many conflicts to be mergeable now


android-studio-stable emulator not working

Describe the bug
android-studio-stable emulator not working show error
5:36 PM	Emulator: /home/hdhog/Android/sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64: error while loading shared libraries: libuuid.so.1: cannot open shared object file: No such file or directory

ldd for qemu-system-x86_64 from android SDK
hdhog@wkhost ~/A/s/e/q/linux-x86_64> ldd qemu-system-x86_64
	linux-vdso.so.1 (0x00007ffc414c3000)
	librt.so.1 => /nix/store/pnd2kl27sag76h23wa5kl95a76n3k9i3-glibc-2.27/lib/librt.so.1 (0x00007f1dd9653000)
	libpthread.so.0 => /nix/store/pnd2kl27sag76h23wa5kl95a76n3k9i3-glibc-2.27/lib/libpthread.so.0 (0x00007f1dd9632000)
	libutil.so.1 => /nix/store/pnd2kl27sag76h23wa5kl95a76n3k9i3-glibc-2.27/lib/libutil.so.1 (0x00007f1dd962d000)
	libQt5WebEngineWidgetsAndroidEmu.so.5 => not found
	libQt5WebChannelAndroidEmu.so.5 => not found
	libQt5NetworkAndroidEmu.so.5 => not found
	libQt5QmlAndroidEmu.so.5 => not found
	libQt5WebSocketsAndroidEmu.so.5 => not found
	libQt5CoreAndroidEmu.so.5 => not found
	libQt5GuiAndroidEmu.so.5 => not found
	libQt5WidgetsAndroidEmu.so.5 => not found
	libQt5SvgAndroidEmu.so.5 => not found
	libX11.so.6 => not found
	libdl.so.2 => /nix/store/pnd2kl27sag76h23wa5kl95a76n3k9i3-glibc-2.27/lib/libdl.so.2 (0x00007f1dd9624000)
	libm.so.6 => /nix/store/pnd2kl27sag76h23wa5kl95a76n3k9i3-glibc-2.27/lib/libm.so.6 (0x00007f1dd948e000)
	libc++.so.1 => not found
	libtcmalloc_minimal.so.4 => not found
	libemugl_common.so => not found
	libpulse.so.0 => not found
	libgcc_s.so.1 => /nix/store/pnd2kl27sag76h23wa5kl95a76n3k9i3-glibc-2.27/lib/libgcc_s.so.1 (0x00007f1dd9276000)
	libc.so.6 => /nix/store/pnd2kl27sag76h23wa5kl95a76n3k9i3-glibc-2.27/lib/libc.so.6 (0x00007f1dd90c0000)
	/nix/store/pnd2kl27sag76h23wa5kl95a76n3k9i3-glibc-2.27/lib/ld-linux-x86-64.so.2 => /nix/store/pnd2kl27sag76h23wa5kl95a76n3k9i3-glibc-2.27/lib64/ld-linux-x86-64.so.2 (0x00007f1dd965f000)

To Reproduce
Steps to reproduce the behavior:

nix-env -iA nixos.android-studio-stable
run android-studio and create empty project
build and run project

Screenshots

nix-info
system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.3, channels(root): "nixos-19.09.1548.3a1861fcabc, home-manager-19.09", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

This should be fixed once #75925 hits the channels.
@hdhog Thanks for the bug report :)

I have the same issue, any suggested workarounds?

@Poetastrophe which channel are you using?
IIRC we didn't backport this to 19.09, if the Android Studio version from 19.09 also updates to the newer Android Emulator package we need to backport the fix as well.

Was this issue resolved? I am facing this error when trying to launch my emulator from a Debian box


User Permissions

Hi Andrew,
Ok, I have another newbie question for you....
I granted access to one profile which need to use this, but now all users of different profiles receive this error message when trying to save a Opportunity & account record.  The 2 DLRS I have active rollup all won child opportunities on the opportunity record, and the other one rolls up all won opportunities on the account record. Field to aggregate 'Amount'
Error:Apex trigger dlrs_OpportunityTrigger caused an unexpected exception, contact your administrator: dlrs_OpportunityTrigger: execution of AfterUpdate caused by: dlrs.SObjectDomain.DomainException: Permission to access an dlrs__LookupRollupSummary__c dennied.: (dlrs
So, what can I do to resolve??
Also...(this may be a roll the eyes moment)...is it possible to have the tool activated without the profiles having the 'Modify all Data', as I don't want the users to have this.....
Appreciate any assistance!  Kelly

Thanks Andrew! I think profile based approach worked well for me. permission set involves lot of maintenance.


Autofocus the input

It would be amazing if you autofocus the search input. 😁 Then we wouldn't have to click on that input.
Thanks for amazing product!

You actually don't need to focus the input, you can start typing right away similarly to google.com. We can autofocus the input on mobile devices.

@satazor Ah, nice! But it isn't very intuitive, tho...

Is there any specific reason why you wouldn't focus the input on desktop?

@IonicaBizau not really, it was decided to imitate google so that we have a standard behavior cross platform. Still, I'm open to auto-focus only in desktop.

@satazor But Google does autofocus the search thingy.

@IonicaBizau indeed it does! Could you please update #61 so that is only .focus() in desktop? You will need to find a good library to detect desktop/mobile; you may use https://npms.io for that ahahah :)

@IonicaBizau I didn't noticed that #61 wasn't yours! Would you willing to do a PR to do auto-focus only on desktop?

@satazor Done. 😁

@satazor It seems you have a couple of nice projects too. 😄

@IonicaBizau I mainly create my projects in https://github.com/IndigoUnited, these are all portuguese projects :)


how to setup subdomain for the websocket connection

does laravel-websockets require Echo for frontend to connect? is it possible to use native javascript or php websocket as a client to connect with laravel web sockets instead of Laravel-Echo?
I tried the following js code, it's relying on the laravel-echo and able to connect to the server
import Echo from "laravel-echo";
window.Pusher = require("pusher-js");
window.Echo = new Echo({
broadcaster: "pusher",
key: "somekey",
wsHost: "localhost",
wsPort: 6001,
disableStats: true
});
however, the standard websocket does not work:
window.Socket = new WebSocket("wss://localhost:6001");

Laravel Websockets is a drop-in replacement for Pusher, so you'll need to use a client that has support for the Pusher protocol.
You can use either Laravel Echo with pusher driver or use directly the Pusher JS SDK.


Konga Dashboard on SSL

Konga dashboard support SSL? On console, it shows http://localhost:1338.
If I want to run this on https then is there any way to do it?
Or am I missing documentation?
Thanks

@sanketgandhi , even thought sailsjs, the framework Konga is build upon, supports direct SSL configuration (https://stackoverflow.com/questions/21612738/sails-js-http-https#34337373), Konga does not expose this configuration via env vars for the time being.
If you want to use SSL, you can simply put Konga behind any web server (nginx, apache ...), handle the creds there and proxy the requests to Konga internally. This is the advised way.
If you wan to use Konga as a standalone web server, you will need to configure it yourself and build from source, as stated at the above link.

Thanks for the information @pantsel
Using NGINX reverse proxy it will surely work. But I was looking for the standalone web server. Are there any chances that we will have configuration on Konga itself?
Thanks

Thanks. I look forward to it.


fix unsubscribe_topics() typo

This PR intends to fix a typo I was running into when calling PubSubPool#unsubscribe_topics().
This is my first PR against this repository, sorry if there is more procedure I need to be following in order to make a PR. If there's anything more I need to do, please let me know.

this would be a breaking change, as such is not acceptable.
Thanks for the PR though


feat: add fab component and use tailwind css

Description

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate)
Checklist

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


when i run the clustering.py  , download  the vocab.json , there is error occured.it need authory,i don't known how to handle it .

That's my experiment codes for the paper so that's a local file for pre-trained model. Please change line 56 and 47 to:
tokenizer = UCTopicTokenizer.from_pretrained("JiachengLi/uctopic-base")    model = UCTopic.from_pretrained("JiachengLi/uctopic-base")
Then, the code will download the pre-trained model from Huggingface.

Thank  you,thanks for your reply!
从 Windows 版邮件https://go.microsoft.com/fwlink/?LinkId=550986发送
发件人: @.>
发送时间: 2022年11月18日 2:20
收件人: @.>
抄送: @.>; @.>
主题: Re: [JiachengLi1995/UCTopic] when i run the clustering.py , download the vocab.json , there is error occured.it need authory,i don't known how to handle it . (Issue #6)
That's my experiment codes for the paper so that's a local file for pre-trained model. Please change line 56 and 47 to:
tokenizer = UCTopicTokenizer.from_pretrained("JiachengLi/uctopic-base") model = UCTopic.from_pretrained("JiachengLi/uctopic-base")
Then, the code will download the pre-trained model from Huggingface.
―
Reply to this email directly, view it on GitHubhttps://github.com/JiachengLi1995/UCTopic/issues/6#issuecomment-1319030580, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIBJJK3D3DRRJFPWSI2KP2TWIZZNVANCNFSM6AAAAAASDCA6XE.
You are receiving this because you authored the thread.Message ID: @.***>


A request for a documentation resource

Dear Prof.Fossen ：
I ’m a Ph.D. in the direction of unmanned vehicles. I'm very interested in your project. When I was learning the file named clarke83.m.  But I can't find the arcticle anywhere. Could you please give me more detailed information about it so I can find the arcticle?
Thanks for your time.
Sincerely yours,wtllll.

You might find the enclosed article more useful since it compares several methods. I do not have a copy of the original 1983 paper. It might be possible to purchase a copy of the article from the publisher listed in the reference list. Maybe you don’t need this since the equations are in the enclosed paper.
In the following month I will put my lecture notes on https://www.fossen.biz/wiley/index.html. They will cover the same topic.
Cheers
Thor
On 6 Apr 2021, at 05:48, wtllll<EMAIL_ADDRESS>wrote:
Dear Prof.Fossen ：
I ’m a Ph.D. in the direction of unmanned vehicles. I'm very interested in your project. When I was learning the file named clarke83.m.  But I can't find the arcticle anywhere. Could you please give me more detailed information about it so I can find the arcticle?
Thanks for your time.
Sincerely yours,wtllll.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/cybergalactic/MSS/issues/11, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKOYSCIEAGIKHSJ33I6KGKDTHJ77RANCNFSM42N4ZVXQ.


Return reference in searchVariantSets

Working on a beacon implementation that leverages the reference implementation and the Beacon v0.2 schema includes a field for the reference and id of a dataset: BeaconInformationResource.datasets.reference/id
It'd be nice of this was included in the results of the searchVariantSets call so that I could just pass this through to the user.

Returning additional information like that seems incongruous with the design of the stack.  What do you think, @jeromekelleher ?

In the schema there is a field VariantSet.referenceSetId that we're not setting at the moment @dcolligan, which is a bug on our side. We need to figure out a way to tie VCF's and referenceSets together. Technically we could do this using some values in the header of the VCF, but I don't know how well standardised they are (not very, I suspect). Basically, we need to decide whether we come up with our own out-of-band method of tying a referenceSet to a VariantSet or if we require the existence of a particular header in the VCF. Either way it's going to be messy in practise.

Closed by #1166.


'set int_over_controls None' returns error

Since the default for int_over_controls is 'None', it seems like I should be able to return to that state by entering 'set int_over_controls None'.

Ah, right, the only way to do that now is "reset" which also resets all the other parameters.


Get full path instead of just filename in readdirSyncRecursive?

Is there a way to get the full path of the filenames returned? I figure you could always get the filename from the path but is there a way to get the path? If not could this be a feature request?

Oh nevermind, it is full path, just relative to the dir.


Outputting SVG for print

The ability to output charts to SVG for print use

number of columns needs to be specified
height needs to be specified
more details to be collected from Jenny Holly (ST) and Matt Swift (TT)

I'm going to close this because these are mostly taken care of. I've added Jeremy's styles as a new config in 11a41caae9ffe8be678f5ed2a32d323a74a41025, only thing remaining is to fix #42 (dependent upon masayuki0812/c3#895).

Reopening because of recent work to make this better for The Times, notably adding presets and better title options.


Run proto-build over main branch

I ran proto-build over the Osmosis commit: 8ff4c7fe52657319f6b3c299c7002f7aa90d2d7b.  This is branched off of main.  Please let me know if I need to do anything else to get this merged in.  @iboss-ptk

Hi @georgemc98 let's merge latest main proto rebuild to osmosis-main-clone. Even better, seems that you do this very often, if you have capacity, would you like to make it a recurring gh action on the said branch? My focus is on other things at the moment, helping us with that would be awesome.

also note that, let's not manually update commit in submodule but rather change it here by changing
const OSMOSIS_REV: &str = "v13.0.0-rc2";

to
const OSMOSIS_REV: &str = "main";


kafka4811: ReplicaFetchThread may fail to create due to existing metric

Have fetcherThreadMap keyed off brokerId + fetcherId instead of broker + fetcherId, but did not consider the case where port is changed.

@junrao please have a review on this PR. Thanks.

@junrao added the port check. Please take some time to review again. Thanks.

@amethystic : Thanks for the new patch. Added a comment to your reply.

@amethystic : Thanks for the patch. LGTM


ppc64 function pointer call performance regression

There seems to be a large regression in performance when function pointer calls where changed to use the link register instead of the count register.  Based on when this change went in, this likely affects all versions back to go1.14.

This seems like a bug fix to me.  I think it's fine during the freeze.  Thanks.


Generate Classes for Hosts

Also, runtime should be an argument to the class not each function. You'll need to take it in as a val.


Script class needs to have a virtual new() method

Godot version
v4.0.2.stable.official [7a0977ce2]
System information
Windows 10, GLES 3,
Issue description
Right now the Script class has no method for creating new instances of the script it points to.  Both of the nodes that currently inherit from it - GDScript and CSharpScript - do and I would presume any other derived nodes you add in the future would too.  While Godot's duck typing does allow me to just call .new() on the Script node, it would be nice to have this formally added to the Script class so there is no ambiguity about how to create new instances from a script without having to know precisely which type of script you are instancing.
Steps to reproduce
N/A
Minimal reproduction project
N/A

Closing, as feature proposals should be discussed on the Godot proposals repository. This repository is now used for bug reports only.
Make sure to follow the proposal template when opening a new proposal – don't just copy and paste the text you wrote in this issue.


Passing direct version can fail

Hey,
I just ran into this interesting bug. I had a new version 11.1.0 and an old version in package.json, of 11.0.1. When I ran bump({version: '11.1.0'}), it ended up with 111.1.0 in the package.json

<EMAIL_ADDRESS><EMAIL_ADDRESS>Source: https://github.com/dignifiedquire/aegir/blob/master/tasks/release/bump.js#L19
Interesting commit history due to the bug: https://github.com/ipfs/js-ipfs-api/commits/master

cc @diasdavid

Experiencing the same issue since upgrade from 2.4.0 to 2.5.0.
Setting the version explicitly adds a leading 1 to it.

Oh deer, sorry about that.
Yep, here it is: https://github.com/stevelacy/bump-regex/commit/7189b70cf52e3f2312d7a53847601f8fb4d457d6

I found the solution for it, adding more tests and publishing later today when I finish a project with my "real job".

@stevelacy any update on this?

Haven't gotten around to finishing it yet, the fix I created caused another issue.

Done, publishing - I added tests for this case, let me know if anything else needs implementing.

Great work @stevelacy. it works perfectly


error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown

PS C:\vc\vcpkg> ./vcpkg install libpng
Your feedback is important to improve Vcpkg! Please take 3 minutes to complete our survey by running: vcpkg contact --survey
Computing installation plan...
The following packages will be built and installed:
    libpng[core]:x86-windows
Detecting compiler hash for triplet x86-windows...
Starting package 1/1: libpng:x86-windows
Building package libpng[core]:x86-windows...
Could not locate cached archive: C:\Users\Olaf\AppData\Local\vcpkg\archives\88\88af68ff88614130095eb55b4c9668b844331f7b.zip
-- Using cached C:/vc/vcpkg/downloads/glennrp-libpng-v1.6.37.tar.gz
-- Cleaning sources at C:/vc/vcpkg/buildtrees/libpng/src/v1.6.37-4612f3523c.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/vc/vcpkg/downloads/glennrp-libpng-v1.6.37.tar.gz
-- Applying patch use_abort.patch
-- Applying patch cmake.patch
-- Applying patch pkgconfig.patch
-- Applying patch pkgconfig.2.patch
-- Using source at C:/vc/vcpkg/buildtrees/libpng/src/v1.6.37-4612f3523c.clean
-- Configuring x86-windows
-- Building x86-windows-dbg
-- Building x86-windows-rel
-- Fixing pkgconfig
-- Acquiring MSYS Packages...
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
    Command failed: C:/vc/vcpkg/downloads/tools/msys2/msys64/usr/bin/bash.exe --noprofile --norc -c "pacman -S --noconfirm --needed pkg-config"
    Working Directory: C:/vc/vcpkg/downloads/tools/msys2
    Error code: 1
    See logs for more information:
      C:\vc\vcpkg\buildtrees\libpng\msys-pacman-x86-windows-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_acquire_msys.cmake:153 (vcpkg_execute_required_process)
  scripts/cmake/vcpkg_fixup_pkgconfig.cmake:281 (vcpkg_acquire_msys)
  ports/libpng/portfile.cmake:117 (vcpkg_fixup_pkgconfig)
  scripts/ports.cmake:79 (include)

Error: Building package libpng:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: libpng:x86-windows
  Vcpkg version: 2020.06.15-nohash

Additionally, attach any relevant sections from the log files above.

PS C:\vc\vcpkg> git pull
Already up-to-date.

// C:\vc\vcpkg\buildtrees\libpng\msys-pacman-x86-windows-err.log
error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown
error: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" could not be looked up remotely
error: mingw64: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown
error: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" could not be looked up remotely
error: msys: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown
error: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" could not be looked up remotely
error: database 'mingw32' is not valid (invalid or corrupted database (PGP signature))
error: database 'mingw64' is not valid (invalid or corrupted database (PGP signature))
error: database 'msys' is not valid (invalid or corrupted database (PGP signature))

A clean vcpkg clone works fine, it'd be nice if vcpkg could recover from this failure itself though.

delete file
...\vcpkg\downloads\tools\msys2\initialized-msys2_64.stamp or initialized-msys2_32.stamp
after this, MSYS2 will be completely reinstalled

@OlafvdSpek, do you try the step that Voskrese provided? you can remove ./downloads/tools/msys2 folder and try to build it again.

I nuked the entire vcpkg directory and started from scratch..

That's fine, this issue has been fixed.

But existing instances don't recover automatically..

Sorry @OlafvdSpek, I will try to improve this.


PSS for Camera2Basic is getting increased once you launched the app.

Pre-Req: I am using Android Q version.
Steps to reproduce:

Open the Camera2Basic app.
Select any camera say Back JPEG (0)
Keep the app running.
On the device collect PSS for this app. Something like this.
target:/ # procrank | grep -i camera2
5455  5381720K  219916K  111828K  104916K  com.android.example.camera2.basic
target:/ # procrank | grep -i camera2
5455  5414488K  230008K  121916K  115000K  com.android.example.camera2.basic
procrank | grep -i camera2
5455  5815896K  411812K  303704K  296772K  com.android.example.camera2.basic

You will notice that PSS of this app is increasing continuously till 900 MBand after 5-6 min it will come down to 200 MB. Which is not good for Low mem targets.
I did some investigation and found that Android Native heap is increasing. Please provide your thoughts.

Somehow the increase in memory to 900MB initially is not visible in Android Memory Profiler and only via procrank.
This is the StackOverflow link for the question
https://stackoverflow.com/questions/66775766/pss-for-camera2basic-is-getting-increased-once-you-launched-the-app


[mypy] Improve types in _grammar.py

Working to improve the type annotations in _grammar.py:

Try to sort out class constructors in GrammarFunction.... at least make them less bad
Introduce a ComposableGrammar type (which would ideally be crammed back to GrammarFunction)
Various other minor fixes

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 85.71429% with 12 lines in your changes missing coverage. Please review.

Project coverage is 60.85%. Comparing base (89c1482) to head (66d2f7b).

Files
Patch %
Lines

guidance/_grammar.py
86.07%
11 Missing :warning:

guidance/library/_substring.py
75.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1002      +/-   ##
==========================================
- Coverage   62.70%   60.85%   -1.85%
==========================================
  Files          62       62
  Lines        4392     4402      +10
==========================================
- Hits         2754     2679      -75
- Misses       1638     1723      +85

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


How long does the gateway instance live for?

I create a data source and it created a gateway instance in the subnet i delegated for this. But the Gateway instance is no longer there, as I removed the data source.
Does each data source spin up a new gateway instance in the subnet? and Is the gateway instance deleted after the data source is deleted?

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

ID: 0ee0e9bd-3051-ae24-e7c1-1dc6aa0c137c
Version Independent ID: 4011df39-116e-dff0-3316-742bc994dc58
Content: Virtual network (VNet) data gateway FAQs
Content Source: data-integration/vnet/data-gateway-faqs.yml
Service: virtual-network-data-gateway
GitHub Login: @nikkiwaghani
Microsoft Alias: nikkiwaghani

Thanks @vamshisiram for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. The requested updates have not been made since the creation of this issue, and the timeline for resolution may vary based on resourcing, so we've created an internal work item to incorporate your suggestions. We are closing this issue for now, but feel free to comment here as necessary. #please-close


Embedded uuid field interpreted as bytearray

Problem statement
For generating spec from source we have a bunch of definition fields that have been implemented as byte-arrays in source code. These show up as integer (uint8) arrays in the spec. This causes inconsistent behavior when the specs are run through a client like Postman or ReadyAPI. Is there any way to force go-swagger to convert these fields into strings using a combination of swagger annotations?
Swagger specification
Source struct:
type CaCertificate struct {
	Name        string `json:"name,omitempty"`
	Type        string `json:"type,omitempty"`
	Certificate []byte `json:"certificate,omitempty"`
}

results in this spec:
  CaCertificate:
    description: CaCertificate is to represent certificate/ca certificate
    properties:
      certificate:
        items:
          format: uint8
          type: integer
        type: array
        x-go-name: Certificate
      name:
        type: string
        x-go-name: Name
      type:
        type: string
        x-go-name: Type
    type: object
    x-go-package: github.com/intel-secl/intel-secl/v3/pkg/model/hvs

Another example:
type HostFlavorgroup struct {
	HostId        uuid.UUID `json:"host_id,omitempty"`
	FlavorgroupId uuid.UUID `json:"flavorgroup_id,omitempty"`
}

generates this spec:
    HostFlavorgroup:
      properties:
        flavorgroup_id:
          $ref: "#/components/schemas/UUID"
        host_id:
          $ref: "#/components/schemas/UUID"
      type: object
      x-go-package: github.com/intel-secl/intel-secl/v3/pkg/model/hvs

definitions:
  UUID:
    description: |-
      A UUID is a 128 bit (16 byte) Universal Unique IDentifier as defined in RFC
      4122.
    items:
      format: uint8
      type: integer
    type: array
    x-go-package: github.com/google/uuid

Steps to reproduce
swagger generate spec -o hvs-openapi.yml --scan-models
swagger validate hvs-openapi.yml

Environment
swagger version: v0.24.0 | 094421c7a2e1a7982cb28fdc0fc2bda610bbcc56
go version: 1.13-1.14
OS:   RHEL 8.1

for uuid, use strfmt.UUID
https://github.com/go-openapi/strfmt/blob/master/default.go#L947
type HostFlavorgroup struct {
	HostId        strfmt.UUID `json:"host_id,omitempty"`
	FlavorgroupId strfmt.UUID `json:"flavorgroup_id,omitempty"`
}

for the fields that you want to come out as a string use strfmt.Base64
https://github.com/go-openapi/strfmt/blob/master/default.go#L214
type CaCertificate struct {
	Name        string `json:"name,omitempty"`
	Type        string `json:"type,omitempty"`
	Certificate strfmt.Base64 `json:"certificate,omitempty"`
}

Thanks @casualjim will try this out.

@casualjim This was exactly what we needed. Appreciate the help!


Some difficulty in making it work

Hi, I have installed the package and made it work but I have some problems.
For example: drag and drop doesn't work. To test the package I installed laravel, liveware, tailwind css and then the calendar from scratch.
The display is correct but drag and drop does not work and neither do the onDayClick, onEventClick and onEventDropped functions.
I try to explain myself better: I move the appointment to another day, the square of the day lights up (it signals it to me) but releasing it does not move it, it returns to its original place.
Of course I added @livewireScripts and @livewireCalendarScripts.
Then the documentation is not clear. For example, I can't get the 3 methods goToPreviousMonth, goToNextMonth and goToCurrentMonth to go.
Also the doc talks about a livewire component: appointments-grid that doesn't seem to exist.
Another thing: is it possible to put appointments with several days in the calendar?
Thanks

Hi @myfender
Thanks for your interest in the package.
Have you tried the demo repo? https://github.com/asantibanez/livewire-calendar-demo
Let me know if that helps. 👍


save public key and secret keys in files

save public key to .dat/key_ed25519_pub with base64 encoding
save private key to .dat/key_ed25519 with base64 encoding
save private content key to .dat/key_content_ed25519 with base64 encoding

we may not need the content key, depending on use case. If leveldb is nuked, content feed will change keys anyways. But then we can't replicate the same feed (may not be able to anyways).

This will be mostly in dat-node.

In Normcore we call these KEY and PRIVATE_KEY
https://github.com/yoshuawuyts/normcore/blob/master/index.js#L35-L36. I
kinda like your approach better because it explains what the protocol is
rather than making it magicky, tho the words are a bit more complex. Guess
given it's internals it shouldn't matter anyway, right?
On Thu, Jan 19, 2017 at 1:59 AM Joe Hand<EMAIL_ADDRESS>wrote:

This will be mostly in dat-node.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/joehand/dat-next/issues/83#issuecomment-273650829,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWleuMawtDc2gLvt_i1Xn7Br2AOuCT7ks5rTrVxgaJpZM4LniF-
.

See discussion in https://github.com/datproject/dat-node/pull/80. It'd be good to have use cases for this before implementing. I don't quite understand if/how we need to also use the content secret key. It doesn't seem like the metadata/archive secret key is useful by itself.
Moving to next milestone unless there are major objections.

+1

This issue was moved to datproject/dat#646


My suggestion for improvements to the documtentation

@MaxDall you may pick and choose changes to include in #288  as you see fit. Please comment once you are done, then this PR can be closed.

#288 has been reviewed and will be merged, this Pr has fulfilled its purpose.


feat: update deps

"@opentelemetry/sdk-metrics-base"
was deprecated and new one named to
"@opentelemetry/sdk-metrics"
so it cause  some unmet peers with latest versions of opentelemtry
└─┬ nestjs-otel
└─┬ @opentelemetry/host-metrics
└─┬ @opentelemetry/sdk-metrics-base
├─┬ @opentelemetry/core
│ └── ✕ unmet peer<EMAIL_ADDRESS><1.2.0": found 1.2.0
└─┬ @opentelemetry/resources
└── ✕ unmet peer<EMAIL_ADDRESS><1.2.0": found 1.2.0

Thanks!


Make navi-bar button send the user to the actual top of the page (on mobiles).

The navi-bar (#quem-somos button) is not sending the user to the top, but actually quite a few pixels below it. This only happens on mobile (low width) view.

#69 solves this problem, but works as a "workaround". It would be nice to look into why it previously didn't work and how to make it work properly while targeting the first section instead of the page-top.


Refactoring

Coverage remained the same at 40.513% when pulling 0996dd7fabc9647521014c1006cc59b14a36dc13 on refactoring into 52e8b4c7d67aa5ea91eb898784f9fad347392efb on dev.

Coverage remained the same at 40.513% when pulling 0996dd7fabc9647521014c1006cc59b14a36dc13 on refactoring into 52e8b4c7d67aa5ea91eb898784f9fad347392efb on dev.


[MGDOBR-279] add DELETING status

MGDOBR-279
Please make sure that your PR meets the following requirements:

[x] Your code is properly formatted according to this configuration
[x] Your commit messages are clear and reference the JIRA issue e.g: "[MGDOBR-1] - $clear_explanation_of_what_you_did"
[x] All new functionality is tested
[x] Pull Request title is properly formatted: MGDOBR-XYZ Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains link to any dependent or related Pull Request
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket

@r00ta DELETING status is not updated for Processor deletion

Hi @Srihari1192 , wdym?

@r00ta DELETING status is not updated for Processor deletion

Hi @Srihari1192 , wdym?

@r00ta I mean in MGDOBR-279  mentioned add Deleting status for Bridge and Processor. Current handled for Bridge Deletion but not for Processor deleting status

@r00ta DELETING status is not updated for Processor deletion

Hi @Srihari1192 , wdym?

@r00ta I mean in MGDOBR-279 mentioned add Deleting status for Bridge and Processor. Currently handled for Bridge Deletion but not for Processor deleting status

As per chat, also the processor is transitioning from AVAILABLE -> DELETING -> DELETED


in1d -> isin

deal with numpy deprecation of in1d

we really need to coordinate better to avoid duplicated effort.

Yes I should have commented as soon as I saw the problem in this repo, sorry! But at least it was hopefully only a few minutes of duplicated effort in this case


Questions that are not questions

I know that this isn't really an issue with the application but with how the application is being used, but maybe something can be done about it to make sure it doesn't happen in the future. There are two questions in the current survey that aren't questions:

It's really unclear (1) what exactly they want to ask and (2) how the hearts should be used while answering this question. Any thoughts?

Thanks @mjalkio for chiming in. We took this suggestion in and we made it, this time, to try and avoid this type of issue with our questions. Check out the #okcandidate channel for our new doc and feel free to weigh in if the case. Its also for VB so you would be an excellent guinea pig.
Happy to reopen if additional guidance


Remove default settings object

It seems that any object properties provided in a
default settings value are merged, instead of replaced.
This isn't the behavior I expected, or desired in a release.
I'm removing the default settings block for now.
Ticket: https://github.com/tcg/vscode-toggle-settings/issues/10
Ticket: https://stackoverflow.com/questions/58567410/am-i-understanding-this-vs-code-api-behavior-correctly-non-default-object-set

Closes https://github.com/tcg/vscode-toggle-settings/issues/10


Changed regular expression digit count from 3 to 4 -> remove_port_cha…

VDX platforms can go up to four digit numbers.

What kind of monster uses 4-digit port channel numbers?

No comment.  Create works (via the Network Essentials pack) for four digit numbers. Can we fix it Bob?

Should be OK. @samirsss can you figure out how to get this merged into the right places & pushed to pypi? I get confused with the different pynos repos...


Backtrace list is empty when exception contains empty message

Any exception thrown with an empty message, e.g. new RuntimeException(""), leads to the Backtrace.filteredBacktrace being an empty list. This is because the regex on the following line in Backtrace:
ignore(".*" + Pattern.quote(messageIn(throwable)) + ".*");
turns into .*\Q\E.*
During Backtrace iteration, this regex will filter out all the lines causing the notice to be generated with <backtrace />.
The fix is actually pretty simple. We just need to update the following line in Backtrace.messageIn
if (message == null) {
to
if (message == null || message.equals("")) {
I would be happy to submit a PR :)

Hopefully fixed in https://github.com/airbrake/javabrake


[HUDI-3638] Make ZookeeperBasedLockProvider serializable

What is the purpose of the pull request
This PR makes ZookeeperBasedLockProvider serializable so that clean action does not complain about Task not serializable due to ZookeeperBasedLockProvider or CuratorFramework.
Brief change log
As above.
Verify this pull request
This PR is verified by running deltastreamer continuous mode writing to a COW table, with async clustering and cleaner enabled, using ZooKeeper as the lock provider.  Before this change, the job encounters Task not serializable exception.  After this change, the job proceeds without any issue.
Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@yihua Thank you for the fix


Fix #33483 - Narrow unknown under inequality when assumed false

Fixes #33483

LGTM but I'm curious
@typescript-bot test this
@typescript-bot user test this

User baseline diffs are noise

Thanks @RyanCavanaugh !


Fix to handle Google responses with null

Coverage remained the same at 90.909% when pulling f31eec27d93057fc53a5ae53db938fbb9d1a323c on teamsteamdev:master into 52d2f7440321a32c037739d76ff1ebf820538c48 on matheuss:master.

Codecov Report

Merging #16 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff           @@
##           master     #16   +/-   ##
======================================
  Coverage    90.9%   90.9%
======================================
  Files           2       2
  Lines          66      66
======================================
  Hits           60      60
  Misses          6       6

Impacted Files
Coverage Δ

index.js
88.23% <100%> (ø)
: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 52d2f74...f31eec2. Read the comment docs.

Coverage remained the same at 90.909% when pulling 9da92c33ee2e8c2a345909da0518a44a6e1125ec on teamsteamdev:master into 52d2f7440321a32c037739d76ff1ebf820538c48 on matheuss:master.

Sorry, kinda messy pull request. I'm new to Git.

Coverage remained the same at 90.909% when pulling c17b7f80a504561179f455e6c700095099c7066e on teamsteamdev:master into 52d2f7440321a32c037739d76ff1ebf820538c48 on matheuss:master.

Coverage remained the same at 90.909% when pulling c17b7f80a504561179f455e6c700095099c7066e on teamsteamdev:master into 52d2f7440321a32c037739d76ff1ebf820538c48 on matheuss:master.

Coverage remained the same at 90.909% when pulling acce8c4c182213bcb9dce6a1e362a6270d29e2e8 on teamsteamdev:master into 52d2f7440321a32c037739d76ff1ebf820538c48 on matheuss:master.

Coverage remained the same at 90.909% when pulling c3aa113f57111647c8cb26ff1a9354975ef946f3 on teamsteamdev:master into 52d2f7440321a32c037739d76ff1ebf820538c48 on matheuss:master.

Coverage remained the same at 90.909% when pulling c3aa113f57111647c8cb26ff1a9354975ef946f3 on teamsteamdev:master into 52d2f7440321a32c037739d76ff1ebf820538c48 on matheuss:master.

Coverage remained the same at 90.909% when pulling f6e36cf9233021f3d40d7c2e46acfce8ec587da1 on teamsteamdev:master into 52d2f7440321a32c037739d76ff1ebf820538c48 on matheuss:master.

Coverage remained the same at 90.909% when pulling f6e36cf9233021f3d40d7c2e46acfce8ec587da1 on teamsteamdev:master into 52d2f7440321a32c037739d76ff1ebf820538c48 on matheuss:master.

@JukeboxRhino I made you the commit author.

I run into the same situation and this PR seems to fix it. Wish this PR to be merged soon. Thank you all. @teamsteamdev @matheuss

@matheuss Can this please be merged?

@StephanBijzitter This is a good idea !!!

when will this me merged to NPM ??

Alright everybody, I've created a new npm package titled google-translate-api-extended and I'm hosting the git fork here https://github.com/JukeboxRhino/google-translate-api.
Please, feel free to submit pull requests as I'm active enough on git to get them handled in a much timelier manner than this repo.
Cheers to continued development!
@teamsteamdev @StephanBijzitter @scottie @arthurlacoste @snkrsnkampa

@JukeboxRhino Thanks for taking this on! I'd love to open an issue for discussion over on your fork, but there's no issues tab. Should I just make a PR?

@JukeboxRhino @teamsteamdev unfortunately I have no time to work on this module anymore :( I'd love to add someone as a maintainer – would you be up to it @JukeboxRhino?

Sure, go ahead and add me
On Fri, Jun 23, 2017, 3:06 PM Matheus Fernandes<EMAIL_ADDRESS>wrote:

@JukeboxRhino https://github.com/jukeboxrhino @teamsteamdev
https://github.com/teamsteamdev unfortunately I have no time to work on
this module anymore :( I'd love to add someone as a maintainer – would you
be up to it @JukeboxRhino https://github.com/jukeboxrhino?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/matheuss/google-translate-api/pull/16#issuecomment-310748581,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMV8ZzdHIn12wtY8pD-F5AldVsslkcCnks5sHAyZgaJpZM4M3GKV
.

Done @JukeboxRhino 🙌 Please hit me up at<EMAIL_ADDRESS>for anything else – e.g. when it's ready to ship, I'll give you access to npm etc 👌


Unable to build release for android

Required Info

Camera Model
D435

Firmware Version
<IP_ADDRESS>

Operating System & Version
Linux (Ubuntu 16.04)

Kernel Version (Linux Only)
4.15.0-24

Platform
PC amd64

SDK Version
master with #1853

Language
C

Issue Description
During build with release flag:
$ cmake .. -DANDROID_ABI=arm64-v8a -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=~/local/android-ndk-r17b/build/cmake/android.toolchain.cmake
$ make -j 48

I see the next issue:
...
[ 77%] Linking CXX shared library librealsense2.so
CMakeFiles/realsense2.dir/src/ds5/advanced_mode/rs_advanced_mode.cpp.o: In function `librealsense::get_string(rs2_rs400_visual_preset)':
/home/user/Projects/librealsense/src/ds5/advanced_mode/rs_advanced_mode.cpp:25: undefined reference to `librealsense::make_less_screamy(char const*)'
/home/user/Projects/librealsense/src/ds5/advanced_mode/rs_advanced_mode.cpp:28: undefined reference to `librealsense::make_less_screamy(char const*)'
/home/user/Projects/librealsense/src/ds5/advanced_mode/rs_advanced_mode.cpp:26: undefined reference to `librealsense::make_less_screamy(char const*)'
/home/user/Projects/librealsense/src/ds5/advanced_mode/rs_advanced_mode.cpp:27: undefined reference to `librealsense::make_less_screamy(char const*)'
/home/user/Projects/librealsense/src/ds5/advanced_mode/rs_advanced_mode.cpp:30: undefined reference to `librealsense::make_less_screamy(char const*)'
CMakeFiles/realsense2.dir/src/ds5/advanced_mode/rs_advanced_mode.cpp.o:/home/user/Projects/librealsense/src/ds5/advanced_mode/rs_advanced_mode.cpp:29: more undefined references to `librealsense::make_less_screamy(char const*)' follow
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
CMakeFiles/realsense2.dir/build.make:1165: recipe for target 'librealsense2.so' failed
make[2]: *** [librealsense2.so] Error 1
CMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/realsense2.dir/all' failed
make[1]: *** [CMakeFiles/realsense2.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
zsh: exit 2     make -j 48

Clean build in one thread also leads to the same error. The same with development branch...

There was another Android case with Error 2 two days ago.  A solution was proposed by the Intel staff member in this discussion.
https://github.com/IntelRealSense/librealsense/issues/2050

Hi @MartyG-RealSense, as I described I already applied the fix proposed for #2050 - #1853, unfortunately if fixes only default debug build. Difference in my build is using -DCMAKE_BUILD_TYPE=Release option.

I apologize, I am replying on an Android tablet and the browser hid the end of your launch instruction, so I did not see your Release condition.
Researching the Release instruction, I found an example where two dots are put at the end of the instruction.  Might this be relevant?
$ cmake -DCMAKE_BUILD_TYPE=Release ..

@MartyG-RealSense no worries, my bad - already changed description)
Unfortunately no, it's the same issue in both ways.

I unfortunately was not able to find any further leads to indicate what may be causing your issue with Release.  One of the Intel support members who has greater Android experience can likely provide a better answer.  I apologize for the wait in the meantime.  Good luck!

@rabits Hi, the problem is supposed to be fixed by #2189. Please let us know if it works for you now and we'll close this issue.

Thanks @AnnaRomanov, right now I can build master for android without issues.


Exceptions should include the line number of the template

Is your feature request related to a problem? Please describe.
When a template is compiled, compilation errors contain the line text in question, but not the line number so it can be difficult to relate the error to the actual line in the template.
Similarly when the template is executed and causes a Python syntax or run-time error, the exception does not contain the line text or the line number from the template itself.
Describe the solution you'd like
The ability to relate template compilation and execution errors back to the line number and template text of the original template, rather than the just the template text.
It would also be useful for library users to relate errors that they get (for instance if the library is used to create Python code), to be able to relate an error originating from the template back to the template line itself).
Describe alternatives you've considered
None at all as yet
Additional context
Add any other context or screenshots about the feature request here.

Likely to be implemented in version 1


Wrong data type not shown in the datagrid

Problem description
@roll I tried to reproduce the TYPE ERROR using this file as an example:
Wrong data type.csv
The error is not shown on the datagrid although it is shown when clicking the  the REPORT button. Can you check it? The error should be shown in the datagrid too.
Data error structure
col1,col2
1,2
3,4
5,6
7,8
9,10
11,12
13,14
15,16
17,18
19,20
21,bad
How the ODE displays the error
https://github.com/user-attachments/assets/0b88cb60-a3fc-424b-a5a0-dec8b682a392

@romicolman
It looks like this row on the second page. Can you please try?

I'm sooo sorry, Evgeny. You are right!! My mistake. I'm closing this ticket now


TimberImage doesn't work in .twig files

Any call to TimberImage from within a .twig file results in a fatal error. Have tried with hardcoded image ID, url, etc. For example:
<img src="{{TimberImage(post.get_field('hero_image')).src}}" />

Results in this error:
[02-Feb-2016 13:30:07 UTC] PHP Fatal error:  Call to undefined method Twig_SimpleFunction::compile() in /Users/htdocs/my-website/wp-content/plugins/timber-library/vendor/twig/twig/lib/Twig/Node/Expression/Call.php on line 27
[02-Feb-2016 13:30:07 UTC] PHP Stack trace:
[02-Feb-2016 13:30:07 UTC] PHP   1. {main}() /Users/htdocs/my-website/index.php:0
[02-Feb-2016 13:30:07 UTC] PHP   2. require() /Users/htdocs/my-website/index.php:17
[02-Feb-2016 13:30:07 UTC] PHP   3. require_once() /Users/htdocs/my-website/wp-blog-header.php:16
[02-Feb-2016 13:30:07 UTC] PHP   4. include() /Users/htdocs/my-website/wp-includes/template-loader.php:89
[02-Feb-2016 13:30:07 UTC] PHP   5. Timber::render() /Users/htdocs/my-website/wp-content/themes/my-theme/tmpl-home.php:11
[02-Feb-2016 13:30:07 UTC] PHP   6. Timber::fetch() /Users/htdocs/my-website/wp-content/plugins/timber-library/timber.php:383
[02-Feb-2016 13:30:07 UTC] PHP   7. Timber::compile() /Users/htdocs/my-website/wp-content/plugins/timber-library/timber.php:368
[02-Feb-2016 13:30:07 UTC] PHP   8. TimberLoader->render() /Users/htdocs/my-website/wp-content/plugins/timber-library/timber.php:329
[02-Feb-2016 13:30:07 UTC] PHP   9. Twig_Environment->render() /Users/htdocs/my-website/wp-content/plugins/timber-library/lib/timber-loader.php:69
[02-Feb-2016 13:30:07 UTC] PHP  10. Twig_Environment->loadTemplate() /Users/htdocs/my-website/wp-content/plugins/timber-library/vendor/twig/twig/lib/Twig/Environment.php:347
[02-Feb-2016 13:30:07 UTC] PHP  11. Twig_Environment->compileSource() /Users/htdocs/my-website/wp-content/plugins/timber-library/vendor/twig/twig/lib/Twig/Environment.php:396
[02-Feb-2016 13:30:07 UTC] PHP  12. Twig_Environment->compile() /Users/htdocs/my-website/wp-content/plugins/timber-library/vendor/twig/twig/lib/Twig/Environment.php:667
[02-Feb-2016 13:30:07 UTC] PHP  13. Twig_Compiler->compile() /Users/htdocs/my-website/wp-content/plugins/timber-library/vendor/twig/twig/lib/Twig/Environment.php:651
[02-Feb-2016 13:30:07 UTC] PHP  14. Twig_Node_Module->compile() /Users/htdocs/my-website/wp-content/plugins/timber-library/vendor/twig/twig/lib/Twig/Compiler.php:86
[02-Feb-2016 13:30:07 UTC] PHP  15. Twig_Node_Module->compileTemplate() /Users/htdocs/my-website/wp-content/plugins/timber-library/vendor/twig/twig/lib/Twig/Node/Module.php:52
[02-Feb-2016 13:30:07 UTC] PHP  16. Twig_Compiler->subcompile() /Users/htdocs/my-website/wp-content/plugins/timber-library/vendor/twig/twig/lib/Twig/Node/Module.php:82
[02-Feb-2016 13:30:07 UTC] PHP  17. Twig_Node->compile() /Users/htdocs/my-website/wp-content/plugins/timber-library/vendor/twig/twig/lib/Twig/Compiler.php:97
[02-Feb-2016 13:30:07 UTC] PHP  18. Twig_Node->compile() /Users/htdocs/my-website/wp-content/plugins/timber-library/vendor/twig/twig/lib/Twig/Node.php:110
[02-Feb-2016 13:30:07 UTC] PHP  19. Twig_Node_Block->compile() /Users/htdocs/my-website/wp-content/plugins/timber-library/vendor/twig/twig/lib/Twig/Node.php:110
[02-Feb-2016 13:30:07 UTC] PHP  20. Twig_Compiler->subcompile() /Users/htdocs/my-website/wp-content/plugins/timber-library/vendor/twig/twig/lib/Twig/Node/Block.php:34
[02-Feb-2016 13:30:07 UTC] PHP  21. Twig_Node->compile() /Users/htdocs/my-website/wp-content/plugins/timber-library/vendor/twig/twig/lib/Twig/Compiler.php:97
[02-Feb-2016 13:30:07 UTC] PHP  22. Twig_Node_Print->compile() /Users/htdocs/my-website/wp-content/plugins/timber-library/vendor/twig/twig/lib/Twig/Node.php:110
[02-Feb-2016 13:30:07 UTC] PHP  23. Twig_Compiler->subcompile() /Users/htdocs/my-website/wp-content/plugins/timber-library/vendor/twig/twig/lib/Twig/Node/Print.php:30
[02-Feb-2016 13:30:07 UTC] PHP  24. Twig_Node_Expression_Filter->compile() /Users/htdocs/my-website/wp-content/plugins/timber-library/vendor/twig/twig/lib/Twig/Compiler.php:97
[02-Feb-2016 13:30:07 UTC] PHP  25. Twig_Node_Expression_Call->compileCallable() /Users/htdocs/my-website/wp-content/plugins/timber-library/vendor/twig/twig/lib/Twig/Node/Expression/Filter.php:37
[02-Feb-2016 13:30:07 UTC] PHP  26. Twig_Node_Expression_Call->compileArguments() /Users/htdocs/my-website/wp-content/plugins/timber-library/vendor/twig/twig/lib/Twig/Node/Expression/Call.php:30
[02-Feb-2016 13:30:07 UTC] PHP  27. Twig_Compiler->subcompile() /Users/htdocs/my-website/wp-content/plugins/timber-library/vendor/twig/twig/lib/Twig/Node/Expression/Call.php:70
[02-Feb-2016 13:30:07 UTC] PHP  28. Twig_Node_Expression_Function->compile() /Users/htdocs/my-website/wp-content/plugins/timber-library/vendor/twig/twig/lib/Twig/Compiler.php:97
[02-Feb-2016 13:30:07 UTC] PHP  29. Twig_Node_Expression_Call->compileCallable() /Users/htdocs/my-website/wp-content/plugins/timber-library/vendor/twig/twig/lib/Twig/Node/Expression/Function.php:36

@joeldbirch: the reported error in the log doesn't seem like it should be triggered by the .twig sample you provided. Can you try removing that line entirely and see if you still get the error? I have a feeling the problem might lie further up the chain

Removing the line results in no error. That line is one of many permutations I tried, but any reference to TimberImage from inside a .twig file causes that fatal error. I'm stumped!

On 3 Feb 2016, at 1:15 AM, Jared Novack<EMAIL_ADDRESS>wrote:
@joeldbirch: the reported error in the log doesn't seem like it should be triggered by the .twig sample you provided. Can you try removing that line entirely and see if you still get the error? I have a feeling the problem might lie further up the chain
—
Reply to this email directly or view it on GitHub.

Hi @joeldbirch are you still experiencing this?

I'll double check and get back to you. Thanks.

On 24 Feb 2016, at 7:44 PM, Connor Burton<EMAIL_ADDRESS>wrote:
Hi @joeldbirch are you still experiencing this?
—
Reply to this email directly or view it on GitHub.

You know what? It works now. ¯_(ツ)_/¯
I have since updated PHP from 5.4.something to 5.5.9, but I'm not sure that was it really. Unfortunately I didn't commit the broken code to git, so for all that I spent hours staring at it there could still have been some silly mistake I missed, I suppose.
Anyway, I'm pretty excited to be up and running now. Sorry I couldn't provide more info to figure out if it was a real issue. And thanks @connorjburton for the nudge to recheck it!

No problem @joeldbirch, any more issues just raise and issue and i'll get on it :)


What is the correct syntax for a Redis JSON SET call with the 'nx' flag in a Node.JS app?

I have a Node.JS app that uses the Redis NPM module.  I am trying to set a JSON key to a specific value but only if it does not exist.  The Redis JSON docs for the non-JSON SET call say:
https://redis.io/commands/json.set/
The optional subcommands modify this behavior for both new RedisJSON data type keys as well as the JSON Object keys in them:

NX - only set the key if it does not already exist
XX - only set the key if it already exists

So I tried the following syntax in my Redis JSON SET call:
        const successFailCode = await (self.redisClient.json.set(redisKey, '$', worldConferenceInitializationCountObj,  'nx'))

But that does not work.  Every time I make that call it always sets the object instead of only executing the SET operation if the key does not already exist.
I tried inspecting the NPM redis code, but it is highly abstracted Typescript code that is hard for me to follow so I can determine the proper way, if it is at all possible, to pass the NX flag to the Redis JSON SET call.
NOTE: I know I can first make a get call to see if the key exists, and then do the set call, but that opens up my app to a potential race condition where one client checks to see if the key exists, finds out it does not, and then before it executes the SET operation another client executes its SET operation first.  So when the first client executes (erroneously) its SET call it overwrites the SET operation of the second client.
Can anyone give me the correct syntax for making the Redis JSON SET call using the NX flag?

Hi there,
Try:
const successFailCode = await self.redisClient.json.set(
  redisKey,
  '$',
  worldConferenceInitializationCountObj,
  {
    NX: true
  }
)

I agree that this could be better documented, and am currently writing issues for Node Redis for our Hacktoberfest project.  Adding something like this to the examples folder will probably be one of those now!
Here's where I found the example for the above: https://github.com/redis/node-redis/blob/master/packages/json/lib/commands/SET.spec.ts

  {
    NX: true
  }

Hi Simon,
Thanks! That worked great.
Some follow-up items for you and probably some more text that might go into the docs?

I get back null from the await self.redisClient.json.set() call.  The call works fine, but what is the significance of the null value?  In other words, what other values might I get back if that call does not throw?

A doc note on the return of JSON.numIncrBy would be helpful too.  I have noticed that if the path is incorrect (i.e. - there is no element to increment with the given key path), you get back an empty array as the call result.  But if it succeeds, if you had a single path in your call, you get back an array with one element set to the updated value for the JSON field the path resolves to.  I'm guessing that if there are multiple paths in your path expression you will get back an array equal in length to the number of paths in your call parameters that led to a successful increment operation, with each array element being the corresponding updated value that resulted from each successful increment operation?  Or does it omit elements for any paths that were invalid (which would be a bit of a headache)?

FEATURE SUGGESTION: I would like to see an enhancement to numIncrBy where you could pass a flag in the options parameter that makes the call throw if any path fails, and in that case, the returned error object contains an array of the invalid paths.  In fact, it would be very helpful to have that "flag" for any of the calls that accept paths.

how can we set multiple data? can we use an array of objects?
redisClient.json.set([{
    redisKey,
    '$',
     worldConferenceInitializationCountObj,
     {
       NX: true
     }
   },
   .....
 ])

you can call redisClient.json.set multiple times and use Promise.all to wait for all of them:
await Promise.all([
  client.json.set('1', '$', {}),
  client.json.set('2', '$', {})
  // ...
]);


Plotting stresses fails in some cases

The error is deceptive and just appears as matplotlib errors:

Click to expand
<AxesSubplot:title={'center':'Pure Bending'}>Exception in Tkinter callback
Traceback (most recent call last):
  File "/home/ccaprani/anaconda3/envs/secprop/lib/python3.9/tkinter/__init__.py", line 1892, in __call__
    return self.func(*args)
  File "/home/ccaprani/anaconda3/envs/secprop/lib/python3.9/tkinter/__init__.py", line 814, in callit
    func(*args)
  File "/home/ccaprani/anaconda3/envs/secprop/lib/python3.9/site-packages/matplotlib/backends/_backend_tk.py", line 240, in idle_draw
    self.draw()
  File "/home/ccaprani/anaconda3/envs/secprop/lib/python3.9/site-packages/matplotlib/backends/backend_tkagg.py", line 9, in draw
    super().draw()
  File "/home/ccaprani/anaconda3/envs/secprop/lib/python3.9/site-packages/matplotlib/backends/backend_agg.py", line 406, in draw
    self.figure.draw(self.renderer)
  File "/home/ccaprani/anaconda3/envs/secprop/lib/python3.9/site-packages/matplotlib/artist.py", line 74, in draw_wrapper
    result = draw(artist, renderer, *args, **kwargs)
  File "/home/ccaprani/anaconda3/envs/secprop/lib/python3.9/site-packages/matplotlib/artist.py", line 51, in draw_wrapper
    return draw(artist, renderer, *args, **kwargs)
  File "/home/ccaprani/anaconda3/envs/secprop/lib/python3.9/site-packages/matplotlib/figure.py", line 2790, in draw
    mimage._draw_list_compositing_images(
  File "/home/ccaprani/anaconda3/envs/secprop/lib/python3.9/site-packages/matplotlib/image.py", line 132, in _draw_list_compositing_images
    a.draw(renderer)
  File "/home/ccaprani/anaconda3/envs/secprop/lib/python3.9/site-packages/matplotlib/artist.py", line 51, in draw_wrapper
    return draw(artist, renderer, *args, **kwargs)
  File "/home/ccaprani/anaconda3/envs/secprop/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
    return func(*inner_args, **inner_kwargs)
  File "/home/ccaprani/anaconda3/envs/secprop/lib/python3.9/site-packages/matplotlib/axes/_base.py", line 2921, in draw
    mimage._draw_list_compositing_images(renderer, self, artists)
  File "/home/ccaprani/anaconda3/envs/secprop/lib/python3.9/site-packages/matplotlib/image.py", line 132, in _draw_list_compositing_images
    a.draw(renderer)
  File "/home/ccaprani/anaconda3/envs/secprop/lib/python3.9/site-packages/matplotlib/artist.py", line 51, in draw_wrapper
    return draw(artist, renderer, *args, **kwargs)
  File "/home/ccaprani/anaconda3/envs/secprop/lib/python3.9/site-packages/matplotlib/collections.py", line 350, in draw
    self.update_scalarmappable()
  File "/home/ccaprani/anaconda3/envs/secprop/lib/python3.9/site-packages/matplotlib/collections.py", line 912, in update_scalarmappable
    if self._A.ndim > 1 and not isinstance(self, QuadMesh):
AttributeError: 'list' object has no attribute 'ndim'

I've tracked it back to this line:
https://github.com/robbievanleeuwen/concrete-properties/blob/bbdd6b1a3c5c5ec20fd9ed89fb113c8cfa4d861a/concreteproperties/results.py#L1352
Presumably there is something wrong in the way that the lumped reo patches are being created for my structure. Unfortunately I can't share the structure I'm working on, but I'm parking this low-effort issue notice here and will update if I find out more.

Interesting...the examples also fail with this error, so it is not my particular section.

Code

import numpy as np
from rich.pretty import pprint
from concreteproperties.material import Concrete, SteelBar
from concreteproperties.stress_strain_profile import (
    EurocodeNonLinear,
    RectangularStressBlock,
    SteelElasticPlastic,
)
from sectionproperties.pre.library.concrete_sections import concrete_circular_section
from concreteproperties.concrete_section import ConcreteSection

concrete = Concrete(
    name="40 MPa Concrete",
    density=2.4e-6,
    stress_strain_profile=EurocodeNonLinear(
        elastic_modulus=32.8e3,
        ultimate_strain=0.0035,
        compressive_strength=40,
        compressive_strain=0.0023,
        tensile_strength=3.8,
        tension_softening_stiffness=10e3,
    ),
    ultimate_stress_strain_profile=RectangularStressBlock(
        compressive_strength=40,
        alpha=0.79,
        gamma=0.87,
        ultimate_strain=0.003,
    ),
    flexural_tensile_strength=3.8,
    colour="lightgrey",
)

steel = SteelBar(
    name="500 MPa Steel",
    density=7.85e-6,
    stress_strain_profile=SteelElasticPlastic(
        yield_strength=500,
        elastic_modulus=200e3,
        fracture_strain=0.05,
    ),
    colour="grey",
)

geom = concrete_circular_section(
    d=600,
    n=32,
    dia=20,
    n_bar=10,
    n_circle=4,
    area_conc=np.pi * 600 * 600 / 4,
    area_bar=310,
    cover=45,
    conc_mat=concrete,
    steel_mat=steel,
)

conc_sec = ConcreteSection(geom)
conc_sec.plot_section()

ultimate_res_pure = conc_sec.ultimate_bending_capacity()

ultimate_stress_pure = conc_sec.calculate_ultimate_stress(
    ultimate_results=ultimate_res_pure
)

ultimate_stress_pure.plot_stress(title="Pure Bending")

Updating MPL from v3.4.3 has solved this problem. Unfortunately I cannot track back the MPL fix to this problem. However, I checked both v3.5.0 and v3.7.1 and both don't exhibit the problem.
Suggest that a minimum MPL version is included then in CP. PR to follow.


Unintuitive comparison result for lt(undefined, B)

lt(undefined, B) results in true and it seems that's expected: https://github.com/balena-io-modules/resin-semver/blob/master/test/index.spec.ts#L448
However I think the result is counter-intuitive and should really be false -- i.e. undefined should always result in false.
The current behaviour prevents writing code that only branches to handle legacy cases, eg.:
if (semver.lt(osVersion, '2.0.0')) {
  return doLegacy();
}
return doNormal();

The above must be written with the "happy path" inverted or check for undefined in the branch condition.

Even more counter-intuitive is that satisfies seems to work as expected: https://github.com/balena-io-modules/resin-semver/blob/master/test/index.spec.ts#L505
So the above could be written:
if (semver.satisfies(osVersion, '<2.0.0')) {
  return doLegacy();
}
return doNormal();


Wip VRS rendering

This PR implements rendering shaded VRS overlay rings.
It also includes:

large refactorisation of the code dealing with the swapchains
various optimizations (SIMD maths, CPU and GPU timers)
invariant checks
cleanups

There are pending issues with this PR, working on it.

This PR is now validated against FS2020 and can be merged to main.


Increase time-out

This increases the time we try publishing a stream before timing out.
@benburkert discovered that the current time-out is the same time we back off between stream retries. That means an unfortunately timed error might prevent the stream closing properly.

@tt should we ship this?

Yes!


Cleanup blob store initialization

Description

Remove CreateBlobClient from BlobClientInitializer, only use DI to access BlobServiceClient
BlobClientProvider is now BlobHostedService, removed dependency on IRequireInitializationOnFirstRequest and sync initial during webHost start using IHostedService.
BlobHostedService uses Polly to retry on InitializingDataStore, to wait on RBAC propogation to finish
BlobClientRegistration retains the current AddBlobStore, since there was implicit dependency on BlobConfig registered. Instead the old methos supports property to skip Initialization. Rest of the methods are private.

Related issues
AB#82460
Testing
Unit tests passing.
DicomServer continues to work.
Semver Change (docs)
Patch

One last thing, we're changing public ctors, so this is actually a breaking change, right? So can you add +semver: major to your commit message? I also made breaking changes by changing to IOptions<T> in a number of ctors. Whoops!


Doesn't work push, pull on windows, but add, commit works.

It adds and commits fine, but it doesn't pull and push.
i have user.name and user.email at git global.

Is there a way to detect this same error? I am having the same issues, though  I can push the files with same changes through command line.

Is there an error notification? Or perhaps some feedback from the developer console?

@akonwi no, there is no error notification or some feedback

+1 does not work here to

Doesn't work here too !

+1 doesn't work

I was checking the coffee scripts inside, does Git Push only supports remote link for repositories?
Didn't get any error, just success that it was added successfully. After that I went to console and pushed it, though I had to enter username and password.

+1

Are all of you using windows?

Git push error:
fatal: could not read Username for 'http://....': No such device or address
user.name is set in global and local gitconfig via 'git config (--global) user.name "Name" '
Ubuntu 14.04 LTS
ATOM 1.0.3
Git-Plus 5.3.3

+1 doesn't work (OS: Mac OSX, otherwise same config as TZanke)

I added a comment to ticket #224 which may help some users.

fatal: could not read 'Password' for 'https://....': No such device or address

+1 doesn't work(Linux manjaro <IP_ADDRESS>-1-MANJARO SMP PREEMPT Wed Jul 22 07:08:31 UTC 2015 x86_64 GNU/Linux)

@anderflash Due to workplace firewall configuration, I can only do git operations via https. So it doesn't quite solve the password problem for me.
Thank you for the help, though

This is bug report about Windows environment, so not sure why folks submitting Linux-related experiences.
Anyhow, on Windows 8.1 Pro as well as Windows 10, with latest Atom 1.1.0 and packages up-to-date, here is what I'm geting on attempt to Git Plus > Push:

I do not use SSH key authenticacion, but password only.
If I switch to MinGW/MSYS shell command line, I can git push and I'm getting dialog box prompting me for password. All works there.

@mloskot Right now the package favors an ssh setup and doesn't expect to be prompted for credentials. I suggest looking into the git credential store if you're not using ssh

@akonwi That is OK. It's just, this caveat is not mentioned anywhere on https://atom.io/packages/git-plus May be good to explain it and avoid flood of similar bug reports. Thanks.

@akonwi It's bad. It also breaks down the use of ssh, if the key with a password(passphrase).

@Arekusei The git credential store is bad?
@mloskot That's a good point. I'll make the change

@akonwi
I was able to fix my problem. Simple solution as well.
Once I copied my name and email from my global config and duplicated it in the local config, I was able to push pull etc without issue.

I'm closing this issue because the package favors repositories that have ssh setup without a passcode for remote repository interactions and I've added that in the README.
For solutions to removing the dependency on the passcode, see https://github.com/akonwi/git-plus/issues/224, which may also include help regarding the proper configurations for windows machines.

My operating  system is  windows .push command is not working.showing no error but cloud repository is not updating ...I think some issue in system kindly help

I have an error when pushing in windows, it does not generate an error, but it does not update me in the cloud either, I would like to be more specific but in the console it does not generate any type of error, I have consulted, I think it is problems with the system, it helps for favor.


plugins: dynamic clusters example plugin update

Previously it only had a button with was taking hard coded values and setting those values. Now backend sends information if the cluster has dynamic clusters enabled or not. If it is enabled user are able to store the kubeconfig statlessly.
It adds input options for setting values accordingly by the information received from backend about isDynamicClusterEnabled.
If dynamic clusters is enabled from backend

If dynamic clusters is disabled from backend

Closing this in favour of https://github.com/headlamp-k8s/headlamp/pull/1303/commits/eec306afd19b3252169c428c0a301a58e45e0489


Support for Centos 6

Hello
I have question as above, goofys have supported for Centos 6 now ?

Hello
I have question as above, goofys have supported for Centos 6 now ?

Hi
I will testing goofys v0.24 and with fuselib 2.9.7. It's working good now, but it can't list more 1000 directory. In my bucket, i have so more 16K directory. Do we have solution for case this ?

Can you explain what happens when you try to list? What backend is this? (s3 or azure blobstore/datalake...)

Can you explain what happens when you try to list? What backend is this? (s3 or azure blobstore/datalake...)

Hi @dotslash
If I try to list 1 parent folder with more than 1000 dir, it will show only to 999 folders. I using backend s3 EMC ECS.
I have read 1 post of AWS-CLI, https://docs.aws.amazon.com/cli/latest/reference/s3/ls.html
" The number of results to return in each response to a list operation. The default value is 1000 (the maximum allowed) "
Do we have a solution for Goofys list full dir ?


Error happens when callee raise an empty Exception

If callee raise Exception() or an raise ApplicationError('com.crossbardemo') without args, there would be an error in protocol.py during handle the error.
The error may come with line 850 in protocol.py
                            errmsg = "{0}".format(err.value.args[0])

as err.value.args is an empty list
Here's the code
try:
    import asyncio
except ImportError:
    # Trollius >= 0.3 was renamed
    import trollius as asyncio

from autobahn import wamp
from autobahn.wamp.exception import ApplicationError
from autobahn.asyncio.wamp import ApplicationSession, ApplicationRunner

class Component(ApplicationSession):
    """
    Example WAMP application backend that raised exceptions.
    """

    @asyncio.coroutine
    def onJoin(self, details):

        def sqrt():
            # raise empty exception
            raise Exception()

        yield from self.register(sqrt, u'com.myapp.sqrt')

        try:
            yield from self.call('com.myapp.sqrt')
        except:
            print('exception catch')

if __name__ == '__main__':
    runner = ApplicationRunner(
        u"ws://f1:8080/ws",
        u"crossbardemo",
        debug_wamp=False,  # optional; log many WAMP details
        debug=False,  # optional; log even more details
    )
    runner.run(Component)

and will come up with
C:\Anaconda3\python.exe D:/Dropbox/code/quantlib/learn/error_exception.py
Exception in callback add_callbacks.<locals>.done(<Future finis...n=Exception()>) at C:\Anaconda3\lib\site-packages\txaio\aio.py:336
handle: <Handle add_callbacks.<locals>.done(<Future finis...n=Exception()>) at C:\Anaconda3\lib\site-packages\txaio\aio.py:336>
Traceback (most recent call last):
  File "C:\Anaconda3\lib\site-packages\txaio\aio.py", line 338, in done
    res = f.result()
  File "C:\Anaconda3\lib\asyncio\futures.py", line 275, in result
    raise self._exception
  File "C:\Anaconda3\lib\site-packages\txaio\aio.py", line 278, in as_future
    res = fun(*args, **kwargs)
  File "D:/Dropbox/code/quantlib/learn/error_exception.py", line 24, in sqrt
    raise Exception()
Exception

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Anaconda3\lib\asyncio\events.py", line 120, in _run
    self._callback(*self._args)
  File "C:\Anaconda3\lib\site-packages\txaio\aio.py", line 345, in done
    errback(create_failure())
  File "C:\Anaconda3\lib\site-packages\autobahn\wamp\protocol.py", line 805, in error
    errmsg = "{0}".format(err.value.args[0])
IndexError: tuple index out of range

Process finished with exit code -1

Duplicate of issue #484?

Yes, Sorry I missed that issue.

duplicate of #484


check and add sleepy house hotline

678-321-7962
https://twitter.com/AMythicWitch/status/1564241697394999296?cxt=HHwWgICqwafiprUrAAAA
haven't tried it yet

I called. As of right now it just sounds like a boring old text-to-speech voicemail box prompt. Not worth adding. Reopen if interest comes back or the system improves.


SEO of platform

Add the search engine optimisation in the frontend of platform

Try to follow all methods and conventions of seo
Attach your lighthouse score along with PR
Do no change any internal logic in backend for this issue
edit as much as it takes for the best seo

Sir Please assign it to me!!


falcon.testing.TestClient.simulate_request creating validation middleware

Hi, this is more of a question than an issue, but I could not find any mention of this in open (or closed) issues.
Why is falcon.testing.TestClient.simulate_request creating a middleware validating the app for compliance with wsgi? And why is it that the same middleware is not created for the app using falcon.API?
It is just little bit confusing, because it makes testing app behave differently than production app.
The middleware in question is wsgiref.validate. While this middleware is cool, I think it is enforcing rules too strictly. For example, the read method of environment variable wsgi.input is enforcing to have exactly one argument (number of bytes to read). Even though the wsgi specs suggest the read method should allow calling without arguments.

Hi @zilakmarian!
That's a good point.
I believe one of the reasons behind the current behaviour is that using the vanilla wsgiref server, calling read() without arguments simply hangs, see also: Why does req.stream.read() hang for certain requests?
In addition, IIRC your concern has already been brought up by another user, and I filed it as an issue to keep track of. Could you check if we close yours (or the other issue) as a duplicate, or do you consider the two to depict different problems: https://github.com/falconry/falcon/issues/1617?

I missed those issues, my bad...
I was just surprised that the testing environment was failing on me, while the actual code is running in production.
The req.stream.read() hanging is actually understandable, as far as I know the app itself does not have much to do with. It is up to the server how it deals with these edge cases and whether it implements the should behavior of wsgi.
My question was answered, so I am closing this issue. Thanks!

Thanks for checking! :+1:


Support data preprocessing in Spark framework

Description
Currently the data preprocessing Hadoop job is located in pinot-hadoop module. And there is no data preprocessing Spark job. In order to reused some of the logic of data preprocessing (e.g. support data in AVRO and ORC format) for both MR and Spark framework, the common code is moved from pinot-hadoop to pinot-ingestion-common module.
This PR:

adds data preprocessing support for Spark.
refactors some code from pinot-hadoop to pinot-ingestion-common so that some part of the code can be reused for both MR and Spark job.
both AVRO and ORC formats are supported in both MR and Spark job.

Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)

[ ] Yes (Please label as backward-incompat, and complete the section below on Release Notes)

Does this PR fix a zero-downtime upgrade introduced earlier?

[ ] Yes (Please label this as backward-incompat, and complete the section below on Release Notes)

Does this PR otherwise need attention when creating release notes? Things to consider:

New configuration options
Deprecation of configurations
Signature changes to public methods/interfaces
New plugins added or old plugins removed

[ ] Yes (Please label this PR as release-notes and complete the section on Release Notes)

Release Notes

Documentation

Codecov Report

Merging #7299 (3bdd50c) into master (6ef7f94) will increase coverage by 0.04%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #7299      +/-   ##
============================================
+ Coverage     68.95%   68.99%   +0.04%
+ Complexity     3185     3182       -3
============================================
  Files          1111     1109       -2
  Lines         52346    52137     -209
  Branches       7812     7790      -22
============================================
- Hits          36097    35974     -123
+ Misses        13672    13586      -86
  Partials       2577     2577

Flag
Coverage Δ

unittests1
68.99% <ø> (+0.04%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...mon/metadata/segment/SegmentPartitionMetadata.java
45.00% <0.00%> (-15.00%)
:arrow_down:

...not/common/metadata/segment/SegmentZKMetadata.java
43.29% <0.00%> (-14.71%)
:arrow_down:

...pi/partition/metadata/ColumnPartitionMetadata.java
83.72% <0.00%> (-6.98%)
:arrow_down:

.../startree/v2/builder/OffHeapSingleTreeBuilder.java
87.42% <0.00%> (-4.20%)
:arrow_down:

...ache/pinot/spi/utils/builder/TableNameBuilder.java
89.65% <0.00%> (-3.45%)
:arrow_down:

...inot/common/tier/TimeBasedTierSegmentSelector.java
93.33% <0.00%> (-1.12%)
:arrow_down:

...org/apache/pinot/sql/parsers/CalciteSqlParser.java
90.95% <0.00%> (-0.35%)
:arrow_down:

...local/indexsegment/mutable/MutableSegmentImpl.java
58.26% <0.00%> (-0.09%)
:arrow_down:

...va/org/apache/pinot/spi/utils/CommonConstants.java
25.00% <0.00%> (ø)

...va/org/apache/pinot/common/utils/SegmentUtils.java
0.00% <0.00%> (ø)

... and 12 more

Continue to review full report at Codecov.

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

is this needed only for v0_deprecated/spark? Can you please add more to the description on what is the change and why it's needed.

is this needed only for v0_deprecated/spark? Can you please add more to the description on what is the change and why it's needed.

I've updated the description of the PR. Basically this PR is to add the data preprocessing Spark job in pinot. And since some logic can be reused for both MR and Spark jobs, I refactored some code from pinot-hadoop module to pinot-ingestion-common module. At LinkedIn this data preprocessing job has already been used along with the PinotBuildAndPushJob from v0_deprecated module.

Shall we consider use pinot-ingestion-spark module?

Shall we consider use pinot-ingestion-spark module?

Good question! I also thought about putting it to pinot-ingestion-spark module, while this data preprocessing job for Spark uses common code which is also used for the preprocessing MR job in pinot-hadoop module. That's why I put it under the same 'v0_deprecated/' directory for now. The core logic should be simple and can be easily put to pinot-ingestion-spark module later on.


chore: dont destroy anything

Changes

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#684
#683  👈
#682
#674
#673
#672
#671
#670
#669
#668
#667
#641
#635
#633
#632 : 1 other dependent PR (#662 )
#628 : 1 other dependent PR (#629 )
#613
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @MasterPtato and the rest of your teammates on  Graphite


List of resolver verification errors and error codes

I thought it would be useful to add a ticket where we can track a list of error conditions in the resolver that are possible and what error codes (or other technique) we can use to surface the error to the caller.

Log not found.
etc.

Need help from implementers to get a list that we can then enumerate into Codes and Text.


(actions): add --mode 700 to gpg directory creation

Motivation for the change:

fix a gpg warning in actions

Checklist
If the pull request includes user-facing changes, extra documentation is required:

[ ] Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
[ ] Add or update relevant sections of the docs website in website/content/en/docs

/cherry-pick v1.25.x


Add LICENSE to MANIFEST.in

Important to include this in the distributed tarball.

Thanks @pkgw !


Auto convert to hiragana/katakana

Sites like https://baileysnyder.com/jconj/ have a field that automatically converts the input to hiragana/katakana
having that functionality would allow people to use the site(s) without having to configure the input
source of the site is https://github.com/baileysnyder/japanese-conjugation

Hello @Shagon94!
This is a pretty nice idea. I'll take a look into implementing this functionality sometime when I get the chance 👍


stylus-loader@5 - TypeError: this.getOptions is not a function

Versions

nuxt<EMAIL_ADDRESS>Operating System: win32 x64
Node Version: v15.7.0
NPM Version: 7.4.3
webpack Version: 5.20.1
stylus-loader Version: 5.0.0

Reproduction

update "stylus-loader": "4.3.3", to "stylus-loader": " 5.0.0",

Additional Details

Steps to reproduce
What is Expected?
ERROR
 ERROR  in ./assets/stylus/regular/index.styl                                                 friendly-errors 19:07:37

Module build failed (from ./node_modules/stylus-loader/dist/cjs.js):                          friendly-errors 19:07:37
TypeError: this.getOptions is not a function
    at Object.stylusLoader (C:\FRONTEND\www\group-dashboard\group-dashboard-siteanalyzer\node_modules\stylus-loader\dist\index.js:19:24)
                                                                                friendly-errors 19:07:37
 @ ./assets/stylus/regular/index.styl 4:14-263 14:3-18:5 15:22-271
 @ ./.nuxt/App.js
 @ ./.nuxt/index.js
 @ ./.nuxt/client.js
 @ multi<EMAIL_ADDRESS>eventsource-polyfill webpack-hot-middleware/client?reload=true&timeout=30000&ansiColors=&overlayStyles=&path=%2F__webpack_hmr%2Fclient&name=client ./.nuxt/client.js

File:  ./assets/stylus/regular/index.styl
// main file
@import 'CONFIG'
@import 'glyphs'
@import 'reWriteTheme'

What is actually happening?
no problem  "stylus-loader": "4.3.3",
loader used webpack5

see ： https://github.com/nuxt/nuxt.js/issues/8771