Align Proposal struct with spec

Summary
Need to align Proposal struct fields with spec.
Problem Definition
Current Proposal: https://github.com/lazyledger/lazyledger-core/blob/1a08b430a8885654b6e020ac588b1080e999170c/types/proposal.go#L25-L34
Proposal in specs: https://github.com/lazyledger/lazyledger-specs/blob/de5f4f74f56922e9fa735ef79d9e6e6492a2bad1/specs/proto/consensus.proto#L19-L36
Fields left

[ ] last_header_hash
[ ] fee_header
[ ] stateCommitment, last_commit_hash, consensus_root, available_data_original_shares_used - #305

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

@adlerjohn, does the last intermediateStateRoot equal to stateCommitment in Proposal?

Note, the POLRound is used in tendermint and we can't simply remove it (as currently in the spec):
https://github.com/lazyledger/lazyledger-core/blob/1a08b430a8885654b6e020ac588b1080e999170c/types/proposal.go#L22-L25

So there are few fields missing:

last_header_hash - which should go together with BlockId replacements by @evan-forbes
fee_header - n/a for me, so @liamsi, I need your guidance here
stateCommitment, last_commit_hash, consensus_root, available_data_original_shares_used - luckily, can be added already.

Also, this is partially blocking me to implement #293 properly, so I will take care of 3

fee_header - n/a for me, so @liamsi, I need your guidance here

Can be ignored for now! It's only related to fee-burning and @adlerjohn wanted to write out an ADR for how that will look like. We could launch without fee-burning (even if this wouldn't be optimal).

does the last intermediateStateRoot equal to stateCommitment in Proposal?

Yes. Also, both are using deferred execution, so the intermediate state roots and the state commitment are after the previous block's txs have been applied.

why do we need to have stateCommitment in Proposal if there is one already in intermediateStateRoots

It's redundant information sure, but the performance overhead is basically zero and optimized implementations can remove them if they really want.

It's only related to fee-burning

Actually, the fee header also provides information on the fee used for all transactions in a block! https://github.com/lazyledger/lazyledger-specs/blob/de5f4f74f56922e9fa735ef79d9e6e6492a2bad1/specs/data_structures.md#feeheader
Both the base rate and tip rate apply to all transactions in a block, instead of each tx having independent fee rates. Transactions instead only specify a maximum fee rate. This scheme leads to improved UX, and actually provides second-price auction optimality under the assumption block proposers can't communicate with users at a mass scale to accept out-of-band payments (in practice, they can't).

Ok, either way, tendermint doesn't have the concept of fees. This is up to the application and if we need this information in the proposal and header, we'd need to communicate it back to tendermint via abci.
IMHO, what I said above still holds: we could launch without it, even if it would improve UX etc. It's still a relatively low priority and you can still ignore it @Wondertan; especially in the light of the upcoming MVP we've talked about today.

I think we can close this. The decision to use tendermint as a blackbox with as little changes as possible was made in Kiev. We can revisit this after mainnet. (cc @adlerjohn)


Add inputs.cache-save-always

Adds an input that borrows the save-always input from v4 of actions/cache, which will run the post step to save the cache even if a failure occurs. Using the added cache-save-always input saves the cache when a build fails, which will speed up subsequent runs which restore the partial build. This comes at the cost of requiring a build when there is an exact key match, since the cache from a failed build will have the same key as a completed build.

This will require a major version since this changes the noop-behavior on a full cache hit. If the trade-offs seem worthwhile (and I'm not missing anything about how Stack might treat these artifacts) then I'll bump the version and update the docs.

I don't follow why this would be a major version bump. It seems to be adding a new option with the same behavior by default... e.g. minor.

Sounds good; I wasn't sure how to characterize the risk of removing the noop. The behavior is certainly the same and what is changed in the default scenario, not making use of the input, is an implementation detail.


Create Modal Open & Close JS

Use Case: When a user clicks a trigger a modal will pop up and when they click the X or press the escape button the modal will disappear.


⚠ Bofrost.de has degraded performance

In 21385a4, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 2387 ms

Resolved: Bofrost.de performance has improved in ee60ffc.


⚠ GitLab Server has degraded performance

In e13006b, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 6965 ms

Resolved: GitLab Server performance has improved in 4c35cd5.


Initial upload

Is this an empty pull requesT?

Hi Peter,
Don’t know whether this is still relevant for you, but I’ve already uploaded everything into Martin’s github repo under https://github.com/SoftwareAG/webmethods-integration-examples.
There is no more action from your site necessary. You can deny the above mentioned request.
Thanks
Thomas
Von: Peter Lamar<EMAIL_ADDRESS>Gesendet: Montag, 23. Dezember 2019 18:05
An: SoftwareAG/webmethodsio-examples<EMAIL_ADDRESS>Cc: Toepperwien, Thomas<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Betreff: Re: [SoftwareAG/webmethodsio-examples] Initial upload (#29)
Is this an empty pull requesT?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://linkprotect.cudasvc.com/url?a=https://github.com/SoftwareAG/webmethodsio-examples/pull/29%3Femail_source%3Dnotifications%26email_token%3DAHAPUBZNOMBU4HLJY6MJUO3Q2DVT3A5CNFSM4JZ7QJN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHRQYNA%23issuecomment-568527924&c=E%2C10%2C25n55OEzBZ8L5hM0vYwxfYWFWBJ3rw9m7/sJNqJDP3M0xQyWqvzbiKJfDwdKVxJ0QCk3qambb4UQiJ4W&typo=1&know=0, or unsubscribehttps://linkprotect.cudasvc.com/url?a=https://github.com/notifications/unsubscribe-auth/AHAPUBYKXFYLES2CTUXFL7LQ2DVT3ANCNFSM4JZ7QJNQ&c=E%2C10%2C8r0BwGCbRonE2YmoXRwMM/jP2Ptauoa8Hxn/uiipaKRQqyvPYsaDSu7EcnNLrwiYeH3C8wxL7Sd8qJ5f&typo=1&know=0.
SAG Deutschland GmbH – Sitz/Registered office: Uhlandstraße 9, 64297 Darmstadt, Germany - Registergericht/Commercial register: Darmstadt HRB 6329 - Geschäftsführer/Managing Director: Werner Rieche - http://www.softwareag.com -/ http://www.softwareag.com http://www.softwareag.com/


Add cargo workspace, add winpty tests to CI

This adds the local dependencies (font, copypasta, winpty) to a workspace (required for winpty's test deps), and runs those tests in CI.
I also had to ignore the console_process_list test because of https://github.com/rprichard/winpty/issues/135. The function isn't actually used in Alacritty proper so it's not a big issue.

I think it makes sense leaving it in for now, mostly because it'll be useful for dynamic title support on Windows, if I get around to implementing it.
I also need to fix the appveyor script before this gets merged.


'Selected Network' means public! unless ip is added

This "Selected Network" behaviour is very different from other PaaS resources and also accepts internal IP address.
Other PaaS resources share the same screen (example storage account does not accept internal ip address)
To summarise:
•	Weather the radio button is “All networks” or “Selected Networks” then the firewall is open to public. Until we add atleast one IP to the firewall?
•	We want to only communicate with service bus via privateendpoint, so should we add the complete internal VNET address in the firewall, in addition to privateendpoint config?
It would be great for Service bus Networking/Firewall screen to be different. IMO at least add a Note on it i.e 'The "Selected Network" without atleast one ip address is deemed public!'

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

ID: 837fb356-5b57-1834-3a27-947d6fbea90e
Version Independent ID: b5b26db9-4a31-27d7-5961-bff59fda29f8
Content: Integrate Azure Service Bus with Azure Private Link Service - Azure Service Bus
Content Source: articles/service-bus-messaging/private-link-service.md
Service: service-bus-messaging
GitHub Login: @spelluru
Microsoft Alias: spelluru

Hello @omerzubair,  Thank you for your feedback! We will review and update as appropriate.

Hello @omerzubair, apologies for the delay. When Selected Networks option is selected at least one IP firewall rule should be added as quoted in the document.

By default, the Selected networks option is selected. If you don't add at least one IP firewall rule or a virtual network on this page, the namespace can be accessed over public internet (using the access key).

Regarding the second part, yes you have to add your internal VNET address range to Selected Networks so that it is only accessible via the VNET, you can go through this documentation for any additional information. We will now proceed to close this issue out, please tag me in your reply if there any additional concerns. Thank you!

Hi @Chanitanya
Thanks for the reply. I was looking for some reasoning why this PaaS service sharing the same screen with itger PaaS service behave differently.
There is no Note on screen.
Yes i was able to see this in documentation however not clear by looking at the PaaS screen on portal.
Further more how can SaaS (CRM/O365) reach internal private service bus?

I agree with @omerzubair, it is confusing when working with private endpoints.
Why when I add a private endpoint, do I also need to create an endpoint in the Selected Networks to avoid the Service Bus being available externally?
Could you please provide an example - or update the document to explain how you would set it up via private endpoint only - and how it would need to be setup under the "firewall and virtual networks tab"?
This does seem to work differently to other PAAS services when I have enabled private link before.

I agree with @omerzubair, it is confusing when working with private endpoints.
Why when I add a private endpoint, do I also need to create an endpoint in the Selected Networks to avoid the Service Bus being available externally?
Could you please provide an example - or update the document to explain how you would set it up via private endpoint only - and how it would need to be setup under the "firewall and virtual networks tab"?
This does seem to work differently to other PAAS services when I have enabled private link before.


Move to /lib and aur wrapper

Instead of having all scripts in /bin with aur prefix and arbitrary names (queue, chain, etc.), a more effective approach would be git's: put the programs in lib and call them from a wrapper.
The "subject and verb" invocation allows for clearer naming, as the below indicates:
#!/bin/bash
readonly argv0=aur
readonly PATH=/usr/lib/aur

case $1 in
	build)        shift; build        "$@" ;;
	build-nspawn) shift; build-nspawn "$@" ;;
	deps-rpc)     shift; rpcdeps      "$@" ;;
	deps-src)     shift; srcdeps      "$@" ;;
	fetch)        shift; fetch        "$@" ;;
	pkglist)      shift; pkglist      "$@" ;;
	rfilter)      shift; rfilter      "$@" ;;
	search)       shift; search       "$@" ;;
	srcver)       shift; srcver       "$@" ;;
	sync)         shift; sync         "$@" ;;
	updates)      shift; updates      "$@" ;;
esac

To allow for easy extensibility, this can be simplified to:
#!/bin/bash
readonly argv0=aur
readonly PATH=/usr/lib/aur

shift; exec "$@"

A preliminary version is available in the lib-move branch. The main challenge is the programs in /lib to form independent blocks - right now they call eachother through the /bin/aur wrapper.

I really like the idea of aur <subcommand>. In addition to what was mentioned, it also solves the "why doesn't aurutils do this?" if we also wrap user defined scripts like git does.

Looks simple enough to me. Feel free to open a PR.

The lib-move branch was merged. What remains:

The /usr/lib/aurutils directory is hardcoded in aur, but can be set to an arbitrary location in the shipped Makefile.
The conflict program was added to the [community] repository, and may improve the existing PATH logic in aur.

http://invisible-island.net/conflict/conflict.html

On Wed, Feb 07, 2018 at 02:14:08AM +0000, Jeb Rosen wrote:

This looks great -- had to change a few links I had to follow renames, but no major problems. One probably unintended side effect though: ~/.cache/aursync became ~/.cache/sync. Aside from it being a new folder and not using the old one, I don't think sync alone is a good name for aurutils to use.

Yes, that's an unfortunate effect. Perhaps use a common
~/.cache/aurutils/sync? That seems more elegant than ~/.cache/aur-sync,
though I suppose we could stick with the existing path.

CACHE/aurutils/sync would be fine, I agree aur-sync is a bit awkward. I don't mind it being renamed, but it should be an intentional decision.

https://github.com/AladW/aurutils/commit/ac3b7fc37662f4695ad7233feb8a96ad478ffdae https://github.com/AladW/aurutils/commit/6058fdf4d568ef8466a583e32c9a87441b77557b

FYI moving from ~/.cache/aursync to ~/.cache/aurutils/sync caused extra problems for VCS packages:
❯ pwd
/home/maximbaz/.cache/aurutils/sync/aurutils-git

❯ makepkg --skipinteg --noprepare -od
==> Making package: aurutils-git 1.5.3.r428.g315f37b-1 (Wed Feb 28 00:47:16 CET 2018)
==> WARNING: Skipping dependency checks.
==> Retrieving sources...
  -> Updating aurutils git repo...
Fetching origin
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of aurutils git repo...
fatal: '/home/maximbaz/.cache/aursync/aurutils-git/aurutils' does not appear to be a git repository    <------
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
==> ERROR: Failure while updating working copy of aurutils git repo
    Aborting...

Why? Because ~/.cache/aurutils/sync/aurutils-git/src/aurutils/.git/config contained a hardcoded path to the old ~/.cache/aursync folder.
Luckily the solution is simple:
❯ pwd
/home/maximbaz/.cache/aurutils/sync

❯ rm -rf */src


Updated Logo

Fixes Issue
Closes #1498
Changes proposed
Updated readme.md file
Changed the Logo.svg to logo.png
Changed all the files containg the previous logo with the new logo

Summary by CodeRabbit

Bug Fixes

Updated logo image references from .svg to .png for better compatibility and consistency across the app.

Documentation

Updated the logo URL in the README.md to a GitHub link for better reliability.

can you share you changes

We have already and logo so use that and update in readme file.
do not need to add in the website because there is already added.


why not working in 4K?

Why fps = 1 or2  only  at 3840 * 2160 resolution? if 1920 * 1080 its nomal at 30 fps.

I have never tested 4k camera.
The library is based on DirectShow which is legacy technology, so that could be the reason.
please refer the issue below.
https://stackoverflow.com/questions/63393696/4k-mjpeg-camera-video-preview-with-delay-on-windows-10
The other possibility is a lack of transfer rate.
I'm not familiar with transfer rate or video codec, forgive me if I tell you wrong information.
What VideoFormat are you using? I assume that you are using YUY2 format with USB2.0 interface.
3840 x 2160 image has 8294400 pixels.
Single pixie is consist of RGB 24bit, so single frame is about 23MB with uncomplicated.
Video is compressed with YUY2 which compression rate is 66%, single frame is about 15MB.
USB2.0 band width is 480Mbps in spec, but it actually may 240Mbps(=30MB).
Frame rate 1-2fps may be reasonable.

我从未测试过 4k 相机。
该库基于 DirectShow，这是传统技术，因此这可能就是原因。 请参考下面的文章。 https://stackoverflow.com/questions/63393696/4k-mjpeg-camera-video-preview-with-delay-on-windows-10
另一种可能性是传输速率不足。 我对传输速率或视频编解码器不熟悉，如果我告诉你错误的信息，请原谅我。
您使用什么视频格式？我假设您使用的是带有USB2.0接口的YUY2格式。
3840 x 2160 图像有 8294400 像素。 单个像素由RGB 24bit组成，因此单帧未压缩时约为23MB。
视频采用YUY2压缩，压缩率为66%，单帧约15MB。
USB2.0的带宽规格上是480Mbps，但实际上可能是240Mbps(=30MB)。 帧速率 1-2fps 可能比较合理。

but use AmCap  its can 4K 30fps, use WPFMediaKit.Core (also directshow ) it 4K12 FPS!

Oh, really?
Could you show me a dump of return value of UsbCamera.GetVideoFormat().
var formats = UsbCamera.GetVideoFormat(cameraIndex);

// select the format you want.
foreach (var item in formats) Console.WriteLine(item);

哦真的吗？ 你能给我看一下 UsbCamera.GetVideoFormat() 返回值的转储吗？
var formats = UsbCamera.GetVideoFormat(cameraIndex);

// select the format you want.
foreach (var item in formats) Console.WriteLine(item);

format.txt

(1) which VideoFormat are you using? formats[2]? that is [Video], [MJPG], 3840,2160.
(2) formats[0] works fine in 30fps?

(1) which VideoFormat are you using? formats[2]? that is [Video], [MJPG], 3840,2160. (2) formats[0] works fine in 30fps?

Hello.
It has been a long time since last posted.
I finally have HD camera and 4K camera.

HD camera : Logitech C922 Pro Stream Webcam (connect with USB Type-A)
4K camera : Logitech MX BRIO 705 (connect with USB Type-C)

(1) Today, I modified UsbCamera.cs to show frame rate.
https://github.com/secile/UsbCamera/commit/62950569b2ecc30c62898e1a5281edb23afe2087
(2) and here are dumps of these 2 cameras. please refer these files. there is a fps column.
MX BRIO 705.txt
C922 Pro Stream Webcam.txt
Generally speaking, it works as expected for the fps value.
(3) for example, as to C922 Pro, there are 2 video formats that have {Width=1920, Height=1080} size as bellows.
32:[Video], [YUY2], {Width=1920, Height=1080}, 2000000, 5fps, [VideoInfo], Guid=05589f80-c356-11ce-bf01-00aa0055595a, VideoStandard=0, InputSize={1920, 1080}, MinCroppingSize={1920, 1080}, MaxCroppingSize={1920, 1080}, CropGranularityX=1, CropGranularityY=1, CropAlignX=1, CropAlignY=1, MinOutputSize={1920, 1080}, MaxOutputSize={1920, 1080}, OutputGranularityX=1, OutputGranularityY=1, StretchTapsX=0, StretchTapsY=0, ShrinkTapsX=0, ShrinkTapsY=0, MinFrameInterval=2000000, MaxFrameInterval=2000000, MinBitsPerSecond=165888000, MaxBitsPerSecond=165888000,
70:[Video], [MJPG], {Width=1920, Height=1080}, 333333, 30fps, [VideoInfo], Guid=05589f80-c356-11ce-bf01-00aa0055595a, VideoStandard=0, InputSize={1920, 1080}, MinCroppingSize={1920, 1080}, MaxCroppingSize={1920, 1080}, CropGranularityX=1, CropGranularityY=1, CropAlignX=1, CropAlignY=1, MinOutputSize={1920, 1080}, MaxOutputSize={1920, 1080}, OutputGranularityX=1, OutputGranularityY=1, StretchTapsX=0, StretchTapsY=0, ShrinkTapsX=0, ShrinkTapsY=0, MinFrameInterval=333333, MaxFrameInterval=2000000, MinBitsPerSecond=165888000, MaxBitsPerSecond=995328000,

[32] works 5fps, and [70] works 30 fps.
It seems that [MJPG] is able to high fps than [YUY2].
(4) as to MX BRIO 705, It can be more high fps. and that works 60fps.
I think this is because it connected via USB Type-C.
24:[Video], [YUY2], {Width=1920, Height=1080}, 166666, 60fps, [VideoInfo], Guid=05589f80-c356-11ce-bf01-00aa0055595a, VideoStandard=0, InputSize={1920, 1080}, MinCroppingSize={1920, 1080}, MaxCroppingSize={1920, 1080}, CropGranularityX=1, CropGranularityY=1, CropAlignX=1, CropAlignY=1, MinOutputSize={1920, 1080}, MaxOutputSize={1920, 1080}, OutputGranularityX=1, OutputGranularityY=1, StretchTapsX=0, StretchTapsY=0, ShrinkTapsX=0, ShrinkTapsY=0, MinFrameInterval=166666, MaxFrameInterval=2000000, MinBitsPerSecond=1990656000, MaxBitsPerSecond=1990656000,

(5) my conclution. please check fps value and use VideoFormat that has fps more higher.


feat: chapter 17 - (challenge)

Chapter 17: Taking Pictures with Intents (challenge)
This pull request shows a solution for the chapter's challenge.
Topics Covered

Detail Display

How to Test
To test the new feature, you can do the following:

Clone the repository.
Install the dependencies.
Run the application.
The new feature should be available.

Screenshots

Known Issues
There are no known issues with this pull request.
References
Reviewers
Thanks!

Looks good to me.


Switch to random session id

Currently the login system depends on the encrypted session management system of rails. This works, but it means we constantly have to change the values within the cookie to ensure logins stay logged in. Also, if somebody finds out our server-side encryption key then an attacker can become anyone,  including an admin, because the user identity is stored within the encrypted value. If we switch to session IDs that are random, then if an attacker can get a copy the only the only thing an attacker can become is that particular user. Session IDs are also easier to explain and justify, and they would enable us to have a table that shows currently logged-in users. Switching to session IDs would mean that there will be an additional query to the database system on every logged in access to the service, because we would have to translate the session ID back to the current user. That said, the database is so fast and the access to the database system is so fast that I do not think that would be a serious cause of degradation. Most other systems use session ideas with no serious problems, and the cost would only be taken for logged in users.

Complete Agree, some notes on planned process:
Create session table with:
Session id (SecureRandom), user_id, updated_at(initially created time)
We would translate the session id to the user in the loading of current_user which we already pass around the app.
We would update (session.updated_at when a user tries to edit a badge, saves changes to a badge entry, or creates a new badge entry in order to prevent loss of information).
As usual, on logout or detection of a stale session, we remove that session_id from the sessions table and add a rake task to clear stale sessions from the table daily.

Good points. I think we should also update session.updated when the user successfully shows the user profile edit display or saves a user profile, as those have the same role as with projects.
We should also add an admin route to show "current users".
NOTE: We could instead replace the entire user handling system with a gem like Devise.  If we were doing this today, we probably would.  But when we created this app, the general recommendation was to not use libraries but to do it directly (at the time I think there were serious questions about their reliability)... and switching to a user/session library now would be a big pain with relatively little gain, and a big risk if we get it wrong.  In contrast, tweaking our existing system is a far simpler and smaller change.

Oh, and of course I completely agree about needing a secure random number generator to create a session id. NIST recommends that a session id be at least 128 bits long (that's 32 hex characters or 16 bytes).
Ruby has a SecureRandom mechanism: here is Ruby 2.4.0 SecureRandom and Ruby 2.5.0 SecureRandom.
  It is documented as using OpenSSL, and that sounds nice.  But in reviewing the Ruby code, the OpenSSL seed in 2.4.0 is seeded with the current time and pid to OpenSSL::Random.random_add.  OpenSSL says about random_add that, "Thus, if the data from str are unpredictable to an adversary, this increases the uncertainty about the state and makes the PRNG output less predictable."  However, these are not unpredictable to an adversary; a pid on a container on a shared system is easy to guess, and "current time" is known worldwide.  Sure, the exact time won't be exactly known to an adversary, but it's easily guessed (there aren't that many likely values).  YUK.  I wonder if this Ruby 2.4.0 implementation should be given a CVE number - it looks very dodgy.
The Ruby 2.5.0 version top-level method source code looks like it might be okay, but it depends on other code I haven't bothered to track down yet. Messy.
We know we're running on Linux, so I think we should just read bytes from "/dev/urandom" when creating a session key.  That is the best source of randomness available on the system.  We can change it later to the Ruby call once we're more confident in it.  But at this point I can't confirm that Ruby SecureRandom is safe, and I know /dev/urandom is.

More on /dev/urandom: https://www.2uo.de/myths-about-urandom/


Resolving Issue - Link not clickable

Issue Reference
This PR addresses the Issue : Fixes #774
Summarize
Used urlize to automatically detect and convert markups.

Please review and merge the branch

The model names have been updated in master. Please check your conflict resolution and update as required.

@ ladvine  - please update the PR

@jojurajan @bobinson @vikaskyadav
Please review and approve pull request.
#780 should be fixed.

Added resolution for #873 also.


Spyder stops responding when switching to Variable Explorer tab after a breakpoint is set

From<EMAIL_ADDRESS>on 2014-10-30T17:12:45Z
Spyder Version:  2.3.1
Python Version:  2.7.8
Qt Version    :  4.8.6, PyQt4 (API v2) 4.10.4 on Windows
pyflakes >=0.5.0:  0.8.1 (OK)
pep8 >=0.6      :  1.5.7 (OK)
IPython >=0.13  :  2.3.0 (OK)
pygments >=1.6  :  1.6 (OK)
pandas >=0.13.1 :  0.15.0 (OK)
sphinx >=0.6.6  :  1.2.3 (OK)
rope >=0.9.2    :  0.9.4 (OK)
matplotlib >=1.0:  1.4.0 (OK)
sympy >=0.7.0   :  0.7.5 (OK)
pylint >=0.25   :  None (NOK)
What steps will reproduce the problem?

Set a breakpoint
Hit Debug file button
Continue execution until next breakpoint
Attempt to switch to Variable Explorer tab

What is the expected output? What do you see instead?
Program stops responding
Please provide any additional information below
. Breakpoints set after a line in which a Pandas dataframe is written to a variable seem to be the worst
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=2035

From<EMAIL_ADDRESS>on 2014-10-30T17:47:26Z
Edit: I got the 2.4dev and it seems to be working fine with a nice display of the indexes of the df.  Thanks much.

From ccordoba12 on 2014-10-30T16:42:29Z
I think that's really the problem. It seems to me just another duplicate of issue #1979 .
Could you try to update to Spyder master and see if the problem is already fixed?
Labels: MS-v2.3.2 Cat-VariableExplorer

From ccordoba12 on 2014-10-31T11:31:51Z
Great! Thanks for the confirmation :-)
I think this bug alone deserves a new release as soon as possible!
Status: Duplicate
Labels: -MS-v2.3.2
Mergedinto: 1979


Create institutvidreres.txt

Add Institut Vidreres
https://agora.xtec.cat/ies-vidreres/

@atregon Pull request merged. Thank you!


Update list of tarball copied bin scripts

What changes are proposed in this pull request?
Follow-up to https://github.com/Alluxio/alluxio/pull/17960
Why are the changes needed?
Fix tarball builds
Does this PR introduce any user facing changes?
No

@Xenorith should we have some tarball dry run check for PRs?

@Xenorith should we have some tarball dry run check for PRs?

yeah that'd be a good idea

alluxio-bot, merge this please


User home directory mode unsafe

In the google_compute_engine/accounts/accounts_utils.py file on lines 173-174. It sets insecure permissions of 755 on home directories which is failing our audit requirement for the RHEL7 STIG. Is the 755 permission required? Or can I make a PR setting it to something safer that will pass audits like 750?

Sure that sounds like a reasonable change, go ahead and make a PR for that and also make sure you sign the CLA.

Hi @zmarano thanks for the response. I have signed the CLA and created PR 384.

My new PR https://github.com/GoogleCloudPlatform/compute-image-packages/pull/385 from the development branch was merged. Closing this issue.

Based on feedback from another user (and rereading the code) I've opened up a new pull request #394 that will remove setting permissions on the home directory. The permissions should be determined from the umask and we shouldn't have to override them in the guest code.


[4.2] Problem with displaying 3D models

Godot version
4.2 Stable
System information
Windows 10, Radeon RX 560 Series
Issue description
Decided to run this demo - [godot-4-3D-Characters](https://github.com/gdquest-demos/godot-4-3D-Characters)
But all model textures display large pixels

Steps to reproduce
Run the demo from the link
Minimal reproduction project
follow the links

Running the demo looks fine on my intel integrated graphics.
Can you reproduce that issue on older versions of Godot?
To be perfectly frank, those artifacts look like GPU corruption artifacts to me. It might be a sign that your GPU is malfunctioning. You can try running a few non-Godot games and see if you spot similar artifacts in them.

Running the demo looks fine on my intel integrated graphics.

Same here with NVidia. In fact, the cover image for the release article is made with this project, so it worked perfectly fine in RC2 and stable.

Sorry for the quality of the gif, the video failed to load.
Maybe this problem is only on AMD video cards?

This might be a duplicate of https://github.com/godotengine/godot/issues/76258

I discovered that this only happens in Forward+ mode

Also when reducing the window size the problem seems to disappear:
https://youtu.be/hb5O4nz3Leo?si=Gwo3wYhQ6bU1j6Jj

The problem disappeared in version 4.3 dev2

Thanks for following up :slightly_smiling_face: Closing.

Thanks for following up 🙂 Closing.

This problem occurs again in 4.2.2-rc1 but does not occur in 4.1.4-rc1

Everything that 4.1.4 has, is included in 4.2.2. And everything included in 4.2.2 is in 4.3. So I would wager a guess that all 3 versions are affected (or at least 4.1.4 and 4.2.2) and the problem is just hard to reproduce reliably.


Issue with cache and extractCSS options

Versions

nuxt: 2.14.4 (Latest at the time)
node: 12.18.3 (Latest LTS at the time)

Steps to reproduce

Create a new project with npx create-nuxt-app
Add cache: true and extractCSS: true under build property of nuxt.config.js
Run npm run build multiple times

What is Expected?
Same build output should be produced every time.
What is actually happening?
CSS files are not built properly after first build.

This issue is same as previously reported #7446, which got no attention at all and got closed.
On the first build:
$ rm -rf .nuxt node_modules/.cache
$ tail -n 5 nuxt.config.js
  build: {
    cache: true,
    extractCSS: true
  }
}

$ npm run build

(...)

Hash: 059da7bbc63505e52e5e
Version: webpack 4.44.1
Time: 3829ms
                         Asset       Size  Chunks                         Chunk Names
../server/client.manifest.json   7.19 KiB          [emitted]
                      LICENSES  389 bytes          [emitted]
               app.b005f86.css   1.64 KiB       0  [emitted] [immutable]  app
                app.ec4cf0e.js   45.5 KiB       0  [emitted] [immutable]  app
        pages/index.5cbdd89.js   1.95 KiB       1  [emitted] [immutable]  pages/index
       pages/index.cd53d7b.css  578 bytes       1  [emitted] [immutable]  pages/index
            runtime.3fb7b6d.js   3.16 KiB       2  [emitted] [immutable]  runtime
    vendors/commons.d3d3735.js    155 KiB       3  [emitted] [immutable]  vendors/commons
 + 2 hidden assets
Entrypoint app = runtime.3fb7b6d.js vendors/commons.d3d3735.js app.b005f86.css app.ec4cf0e.js

Hash: 574eca768c51ad9846fa
Version: webpack 4.44.1
Time: 437ms
               Asset       Size  Chunks             Chunk Names
      pages/index.js   10.5 KiB       1  [emitted]  pages/index
           server.js   71.8 KiB       0  [emitted]  app
server.manifest.json  207 bytes          [emitted]
 + 2 hidden assets
Entrypoint app = server.js server.js.map
ℹ Ready to run nuxt start

$ find .nuxt/dist/client
.nuxt/dist/client
.nuxt/dist/client/runtime.3fb7b6d.js
.nuxt/dist/client/vendors
.nuxt/dist/client/vendors/commons.d3d3735.js
.nuxt/dist/client/app.b005f86.css
.nuxt/dist/client/pages
.nuxt/dist/client/pages/index.5cbdd89.js
.nuxt/dist/client/pages/index.cd53d7b.css
.nuxt/dist/client/LICENSES
.nuxt/dist/client/app.ec4cf0e.js

Everything is working correctly and CSS files are built as it should.
But if I try the same command again:
$ npm run build

(...)

Hash: 6594ece4dd75438b891b
Version: webpack 4.44.1
Time: 2823ms
                         Asset       Size  Chunks                         Chunk Names
../server/client.manifest.json    6.9 KiB          [emitted]
                      LICENSES  389 bytes          [emitted]
               app.7a3f40f.css  942 bytes       0  [emitted] [immutable]  app
                app.ec4cf0e.js   45.5 KiB       0  [emitted] [immutable]  app
        pages/index.5cbdd89.js   1.95 KiB       1  [emitted] [immutable]  pages/index
            runtime.d6e71fc.js   2.32 KiB       2  [emitted] [immutable]  runtime
    vendors/commons.d3d3735.js    155 KiB       3  [emitted] [immutable]  vendors/commons
 + 2 hidden assets
Entrypoint app = runtime.d6e71fc.js vendors/commons.d3d3735.js app.7a3f40f.css app.ec4cf0e.js

Hash: 574eca768c51ad9846fa
Version: webpack 4.44.1
Time: 434ms
               Asset       Size  Chunks             Chunk Names
      pages/index.js   10.5 KiB       1  [emitted]  pages/index
           server.js   71.8 KiB       0  [emitted]  app
server.manifest.json  207 bytes          [emitted]
 + 2 hidden assets
Entrypoint app = server.js server.js.map
ℹ Ready to run nuxt start

$ find .nuxt/dist/client
.nuxt/dist/client
.nuxt/dist/client/vendors
.nuxt/dist/client/vendors/commons.d3d3735.js
.nuxt/dist/client/pages
.nuxt/dist/client/pages/index.5cbdd89.js
.nuxt/dist/client/runtime.d6e71fc.js
.nuxt/dist/client/app.7a3f40f.css
.nuxt/dist/client/LICENSES
.nuxt/dist/client/app.ec4cf0e.js

JS files are okay and identical to the previous build, but only one CSS file has been generated.
Using only cache or extractCSS is fine, but combining two options causes an issue.

Having the same issue with same versions.
build.parallel outputs an useful error: WARN  extractCSS cannot work with parallel build due to limited work pool in thread-loader
I guess it would be enough to raise the same warning for the cache option.

The problem is still here

Still can reproduce

This is duplicate of https://github.com/nuxt/nuxt.js/issues/8061. Please see my comment https://github.com/nuxt/nuxt.js/issues/8061#issuecomment-735446447


Composer support?

Hi Team,
Could you please add a composer.json, so we can pull this into our project by simply adding it to composer? :)
Thanks,
Damien

Finally; let me know when to take down my composer version of the library: https://packagist.org/packages/luceos/on-app

No composer support in 4.0.0. I will update my package again. Or should I send in a pull request for a composer version @Lev-Bartashevsky ?

Please support composer.

OnApp php wrapper has composer support from version 5.4 - https://packagist.org/packages/onapp/onapp-php-wrapper-external


Correct the handling of access delegation mode

Description
Iceberg REST API spec defines two possible values for the X-Iceberg-Access-Delegation:

vended-credentials
remote-signing

This change fixes Polaris docs to use the vended-credentials value instead of previous (incorrect) value of true and makes the REST API service validate the X-Iceberg-Access-Delegation header submitted by the client against the spec.
Backward-compatibility with old clients using the value of true for access delegation is maintained.
Detailed changes:

Add AccessDelegationMode enum to parse and represent specified
delegation modes in java.

Update IcebergCatalogAdapter to validate that if access
delegation is supported by the client, that "vended-credentials"
is accepted ("remote-signing" is not supported by the server).

Interpret the single header value of true as vended-credentials.

Remove unused method parameters.

Re-generate docs

Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[x] Documentation update
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

How Has This Been Tested?
Existing and new unit tests
Checklist:
Please delete options that are not relevant.

[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation

@dimas-b Sorry about this but could you please rebase? Please ping me when you do so I can merge

@RussellSpitzer : rebased :)


Add docs page explaining application startup sequence

This is the first longer-form doc in the new "guide" section. Its intent is to give an overview of everything that happens during application startup to make it less opaque. I intend a future section about request lifecycle for once the application is started up.

:fish: very awesome! Looking forward to the request lifecycle :)

:+1: cut out the bit about virtualenv/docker. i just needed to get that off my chest but you're right it's not really relevant. thanks both of you!


CheckTx equivalent for modules

Summary
The ibc-rs module provides a deliver() method that is somewhat equivalent to Tendermint ABCI's DeliverTx, but we're missing a CheckTx equivalent.
Proposal
We might want to look at ibc-go's antehandlers to determine what checks need to done -> https://github.com/cosmos/ibc-go/blob/main/modules/core/ante/ante.go
Acceptance Criteria

[ ] Provide a method that lib users can use in their ABCI app's CheckTx implementation.

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate milestone (priority) applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

As discussed, this is not needed.


complete rewrite of Apply-DriverPackage

needs peer review and testing in production environment(s)

While this is absolutely awesome, I can't accept this PR as the changes are too overwhelming for me to wrap my head around when adding new features and such for the future.


Date picker for an appointment is needed

We currently can't add a date to an appointment, it just automatically gets added to today.

I'm trying to use react-datepicker, but I'm having trouble loading the associated stylesheet. If anyone has any suggestions, please let me know!


Azure Front Door supports max 20 apex (naked) domains.

In Azure DNS, when pointing apex (naked) domains to Azure Front Door (AFD), the max domains you can add per AFD is 20. If you add more, using az network dns record-set a update --subscription $SUBSCRIPTION --resource-group $DNS_RG --zone-name $ZONE --name "@"  --target-resource $AFD_ID,  you get the error:
(Bad request) Maximum number of aliases to single target reached
This limit should be added to the Azure Front Door Service limits list and to the Onboard a root or apex domain on your Front Door documentation.
I had to experience this error while migrating/pointing  100+ apex domains to AFD. I solved it by adding more AFDs.

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

ID: 36f49a06-90b1-cbe1-3853-2c38277b79f8
Version Independent ID: 02ff6f6c-3ef6-b48f-060d-b290419e0aba
Content: Azure subscription limits and quotas - Azure Resource Manager
Content Source: articles/azure-resource-manager/management/azure-subscription-service-limits.md
Service: azure-resource-manager
Sub-service: management
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

@soderlind We are checking this and we will get back to you.

@soderlind This limit is published in the Azure DNS section, there is a limit of 20 Alias records for a single Azure Resource in Azure DNS. You can have records in other DNS services as well.
If you would like us to increase this limit, please leave your feedback Here at Azure Networking's Feedback.azure.com page.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

@TravisCragg-MSFT Sorry but I don't see the point in submitting feature request at feedback.azure.com. The ones already submitted regarding increasing number of alias record are ignored.
Also, I feel strongly you should add information about the limit to the  "Onboard a root or apex domain on your Front Door" documentation. I'm a paying customer, and I'm not happy that I had to add 6 more AFDs  to circumvent the alias limitation.


Compilation error on Ubuntu 16.04

Hi!
I'm totally unable to compile mSIGNA on Ubuntu 16.04. I'm said to belong to power user group ( :) ), yet I failed miserably.

ODB part fails miserably, due to ODB installed to /usr/lib/x86_64-linux-gnu instead of /usr/lib. Fixed, works.
Final link fails for absolutely mysterious reason of series of errors like:

sysroot/lib/libCoinDB.a(Vault.o):  In function
 `odb::sqlite::query_column<unsigned long, (odb::sqlite::database_type_id)0>::is_null() const [clone .isra.798]':
Vault.cpp:(.text+0x2472): undefined reference to
`odb::sqlite::query_base::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'

There seems to be some serious f*ckup with C++ versions. ODB library in Ubuntu seems to be compiled with g++-4.9 while boost seems to be compiled with g++-5 (so we have ABI clash).
I'll keep the thread updated on progress. I think I can fix it via app-local odb compiled with g++5.

Ah, yes. Local ODB compiled with g++-5 to sysroot fixed error. I have working mSIGNA. Unfortunately I'm now on metered mobile link and pulling 60GB of blockchain is out of a question :(
Fix error 1: Add following at the end of deps/mk/sysroot.mk
ifneq ($(wildcard $(SYSROOT)/lib/x86_64-linux-gnu),)
    LIB_PATH += -L$(SYSROOT)/lib/x86_64-linux-gnu
endif

Fix error 2:

Add libodb and libodb-sqlite sources to deps
Configure both via ./configure --prefix=$(readlink -f ../../sysroot)
Compile & install both

With those two, mSIGNA compiles successfully and seems to work (not yet tested with live bitcoind)


Use DiscardEmptyTileImagePolicy for all Bing styles.

This removes the need to inspect pixel values to detect the placeholder "missing tile" image.
Also change DiscardEmptyTileImagePolicy.EMPTY_IMAGE to be a real (blank) image.
This way we always satisfy the documented API of requestImage.
Fixes #1353.

Thanks for the pull request @shunter!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

Works as promised.  Thanks @shunter!


use generic page layout for order history and details

QA Steps

Add content to order history and order details pages and confirm visibility of it in these front-end pages

Passed QA


Linux: Implement perf live event reordering.

The perf ring buffers are divided by CPUs and processes and naively concatenating read events can yield wrong ordering. In particular, this is problematic for fork and exec events since mmaped modules will go into the wrong process and cause unwind to fail.
Introduce a streaming event sorter to tackle this. Note that timestamps should not be considered 100% reliable and cases where timestamps go backwards should be still gracefully handled. In particular for perf, a NMI could interrupt event writes, thus even timestamp inversion within the same ring buffer can happen.
This is based on top of #61 for convenience, but still split into commits. I can rebase on top of main if needed.
Link: https://github.com/mstange/samply/issues/26

Were you planning to use it for the perf file importer in the future?

It makes sense, but I have no problem with the current file importer either. I have moved it to the linux module.


MSDKUI-2247: Handle deprecations & breaking changes

Signed-off-by: Tadeusz Staszak<EMAIL_ADDRESS>

Codecov Report

Merging #170 into master will decrease coverage by 0.09%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #170      +/-   ##
============================================
- Coverage     73.75%   73.65%   -0.10%
+ Complexity     1625      986     -639
============================================
  Files           129       69      -60
  Lines          5703     3952    -1751
  Branches        817      442     -375
============================================
- Hits           4206     2911    -1295
+ Misses          912      797     -115
+ Partials        585      244     -341

Impacted Files
Coverage Δ
Complexity Δ

...ain/java/com/here/msdkuiapp/about/AboutActivity.kt

...m/here/msdkuiapp/guidance/GuidanceDashBoardView.kt

.../here/msdkuiapp/routing/SubOptionPanelPresenter.kt

...com/here/msdkuiapp/routing/RoutePlannerFragment.kt

...rc/main/java/com/here/msdkuiapp/common/Provider.kt

...msdkuiapp/guidance/GuidanceDashBoardListAdapter.kt

...rc/main/java/com/here/msdkuiapp/common/Constant.kt

...va/com/here/msdkuiapp/guidance/GuidanceActivity.kt

...ain/java/com/here/msdkuiapp/base/RetainFragment.kt

...main/java/com/here/msdkuiapp/routing/IconButton.kt

... and 44 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 d1c236e...bf3d969. Read the comment docs.


add alibaba cloud  oos parameter store support

Signed-off-by: Zheng Dayu<EMAIL_ADDRESS>Description

Issue reference

Please reference the issue this PR will close: #[issue number]
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[ ] Created/updated tests
[x] Unit tests passing
[ ] End-to-end tests passing
[x] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#2071
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

i find it is done in https://github.com/dapr/dapr/pull/4135

Docs are currently here:
https://v1-6.docs.dapr.io/reference/components-reference/supported-secret-stores/alicloud-oos-parameter-store/


Gesture Handlers stop responding when swapped.

I have a simple demo here:
https://snack.expo.io/Bkr5lme9W
Basically, you can use 1-finger panning to modify the pitch and yaw of the look-at matrix, and 2-finger panning in the y-axis to move the origin forward or backward in the direction of the "gaze".
I added a button to switch from 2-finger panning to pinch to move forward or backward, and when you hit this button, it seems to break the gesture handling.
Here's a video repro as well: https://youtu.be/xTC6Nh6j8NE
This seems to repro on either iOS or Android.

Thanks @rozele for reporting. Will look into this soon

So the issue was that we werend handling GH lifecycle propertly as it was bound to the underlying native view. When you swap out one of the handlers then the top one stays the same and the underlying view gets recreated. This should result in handler sticking around but just updating its target view. But instead we were dropping all the handlers when the view got unmounted.
To fix this I had to change the bridge API by adding attachGestureHandler as well as changing the contract of createGestureHandler or updateGestureHandler methods which now no longer take viewID as an argument. Also dropGestureHandler method replaced dropGestureHandlersForView to allow for deleting handlers selectively.
Changes are not yet merged and you can play with them here: https://github.com/kmagiera/react-native-gesture-handler/tree/bridge_api_change
Thanks again for your feedback @rozele

Fixed in #24
Thanks again for reporting


Hosting on a remote server

Hi
This is an amazing genome graph visualisation tool you have developed.
I'm currently trying to get it to run. I can run locally on my laptop with the demo dataset you have, but what I would like to do is run on the cluster where my genome alignments are running, and deploy from one of the nodes.
I have tried both methods you describe in the Readme, yarn start and through Docker:
Yarn gives me this error and when going to the nodes ip address with port 3000. It can't be reached from the browser:
yarn start
Compiled with warnings.
./src/Dashboard.tsx
[113, 11]: variable name must be in lowerCamelCase, snake_case or UPPER_CASE
./src/DashboardInner.tsx
[165, 23]: block is empty
./src/widgets/SVList.tsx
[11, 7]: variable name must be in lowerCamelCase, snake_case or UPPER_CASE
[58, 11]: variable name must be in lowerCamelCase, snake_case or UPPER_CASE
./src/widgets/Linear.tsx
[62, 43]: block is empty
./src/widgets/Circos.tsx
[63, 41]: expected parameter: 'k' to have a typedef
[67, 42]: expected parameter: 'k' to have a typedef
[71, 38]: expected parameter: 'k' to have a typedef
[79, 31]: expected parameter: 'd' to have a typedef
[79, 34]: expected parameter: 'step' to have a typedef
[131, 23]: expected parameter: 'd' to have a typedef
[131, 26]: expected parameter: 'i' to have a typedef
[155, 47]: expected parameter: 'i' to have a typedef
[226, 24]: expected parameter: 'd' to have a typedef
[232, 35]: expected parameter: 'd' to have a typedef
[235, 38]: expected parameter: 'd' to have a typedef
[239, 22]: expected parameter: 'd' to have a typedef
[294, 11]: variable name must be in lowerCamelCase, snake_case or UPPER_CASE
[335, 15]: variable name must be in lowerCamelCase, snake_case or UPPER_CASE
./src/widgets/Dnd.tsx
[9, 7]: variable name must be in lowerCamelCase, snake_case or UPPER_CASE
[20, 7]: variable name must be in lowerCamelCase, snake_case or UPPER_CASE
[24, 7]: variable name must be in lowerCamelCase, snake_case or UPPER_CASE
[81, 9]: variable name must be in lowerCamelCase, snake_case or UPPER_CASE
./src/widgets/GraphWrapper.tsx
[907, 1]: Exceeds maximum line length of 200
[229, 5]: expected parameter: 'colorOption' to have a typedef
[394, 11]: variable name must be in lowerCamelCase, snake_case or UPPER_CASE
./src/widgets/AutoComplete.tsx
[43, 11]: variable name must be in lowerCamelCase, snake_case or UPPER_CASE
./src/widgets/ChromosomeSelector.tsx
[25, 51]: block is empty
./src/widgets/PathRegionForm.tsx
[76, 11]: variable name must be in lowerCamelCase, snake_case or UPPER_CASE
[142, 11]: variable name must be in lowerCamelCase, snake_case or UPPER_CASE
./src/widgets/Tags.tsx
[24, 16]: expected parameter: 'tags' to have a typedef
Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.
Using Docker, I also can't reach the server from my browser:
ubuntu@node-0:~/MoMI-G$ docker run --init -p 8081:8081 momigteam/momig-backend
Unable to find image 'momigteam/momig-backend:latest' locally
latest: Pulling from momigteam/momig-backend
08cf77306a68: Pull complete
a0c1c1564765: Pull complete
90f45bc8df86: Pull complete
a4355860543c: Pull complete
47b3999ad7e4: Pull complete
2e0d72a9883e: Pull complete
Digest: sha256:7b3dc29eb884c71ae5bfb2db40a2cb1682bd79b308dde545360f2ed4d64650d8
Status: Downloaded newer image for momigteam/momig-backend:latest
[2020-07-09T07:11:39Z INFO  graph_genome_browser_backend::vg] VG Version: v1.6.0-213-gc0c19fe
[2020-07-09T07:11:39Z INFO  graph_genome_browser_backend::vg] VG minor version: 6
[2020-07-09T07:11:39Z INFO  graph_genome_browser_backend::features] Parsing:  "static/gencode.v27lift37.basic.annotation.gff3"
[2020-07-09T07:12:23Z INFO  graph_genome_browser_backend::features] Parsing:  "static/gencode.v27.basic.annotation.gff3"
6
Start server on <IP_ADDRESS>:8081
Is there something I'm missing, perhaps I need to open a port through the clusters firewall or something?
In regards to my genome analysis and what I want to visualise:
I have aligned 3 barley genomes (4.7GBps each) using Cactus. I'm currently only looking at chromosome 1, as aligning the entire genome in one job with the resources I have is not possible. I only have a cluster with 16 cores and 64GB RAM per node. I've been running each chromosome per node in my cluster. I intend to merge the VG files later. I realise I will likely miss SV across chromosomes, but for now, this is acceptable.
I'm using VG v1.25.0. I've called variants to a VCF file from the graph, I've indexed my graph, and I have generated GFA files using Seqwish. I'm working with the PackedGraph format *.pg instead of *.vg as it's more memory efficient. I also have genome annotation files in GFF format and BED files so I can add tracks to visualise where the SV are within genes.
If I could get MoMIG running from my cluster, that would be a great start. I'll then begin testing it out with my dataset.
Thanks.

Thank you for trying this tool.

yarn start runs the frontend server on localhost:3000, which cannot be accessed remotely. Instead, you can access to the server if yarn server starts on <IP_ADDRESS>:3000. Is it possible to set HOST=<IP_ADDRESS> on the environment variable? (or put .env on the project root and run echo "HOST=<IP_ADDRESS>" > .env).
Frontend needs to connect to the backend server at the same time as the backend docker server is running. The easiest way is to change the target of backend to localhost:8081, according to the docs https://momi-g.readthedocs.io/en/latest/quick_start.html#backend.

$ sed -e "s/\"target/\"target_/g"  -e "s/\_target/target/g" -i.bak package.json
$ docker run --init -p 8081:8081 momigteam/momig-backend # Run it on another shell. It takes a little long time -- please wait.
$ yarn start

Thank you for reporting about warnings. I'll remove all warnings in a few days.

Thanks for your help. The issue was there was no open port setup on the server. It is fixed now. I've set the open ports to HTTP and HTTPS and the port number to 8081.
Now when I use the following commands I get the server running and I can access it with no problems:
echo -e "HOST=<IP_ADDRESS> \nPORT=8081" > .env
yarn
yarn start
However, when I then try to use the docker way of running the server using the following command I get a NoMatch error. I've replaced my servers IP number in the below error output with Xs for security reasons.
Do I need to setup my environment variables file differently? Thanks.
Also, is there a way I can hide my port number, so that I can simply provide the IP number with no :8081 to access the genome browser? Thanks.
docker run --init -p 8081:8081 momigteam/momig-backend
[2020-07-13T03:16:03Z INFO  graph_genome_browser_backend::vg] VG Version: v1.6.0-213-gc0c19fe
[2020-07-13T03:16:03Z INFO  graph_genome_browser_backend::vg] VG minor version: 6
[2020-07-13T03:16:03Z INFO  graph_genome_browser_backend::features] Parsing:  "static/gencode.v27lift37.basic.annotation.gff3"
[2020-07-13T03:16:48Z INFO  graph_genome_browser_backend::features] Parsing:  "static/gencode.v27.basic.annotation.gff3"
6
Start server on <IP_ADDRESS>:8081
[2020-07-13T03:17:35Z INFO  logger] GET http://XXX.XXX.XX.XXX:8081/ 404 Not Found (0.012092 ms)
[2020-07-13T03:17:35Z ERROR iron::iron] Error handling:
Request {
url: Url { generic_url: "http://XXX.XXX.XX.XXX:8081/" }
method: Get
remote_addr: V4(<IP_ADDRESS>:50539)
local_addr: V4(<IP_ADDRESS>:8081)
}
Error was: NoMatch

Hi, thank you for trying MoMI-G.
Backend docker itself only provides API between frontend and backend. The definition of API is here https://gbapi4.docs.apiary.io/# .
Since the api server is intended to be accessed by the frontend, the backend server does not return human-friendly information.
We currently do not have a docker image which includes both frontend and backend.
So, running both frontend (using yarn) and backend (using docker run ) is needed. Because the backend needed to be accessed from frontend via ajax, ports of frontend and backend need to be open.
Is it possible to run yarn start and access to the frontend again?
In addition, if you changed the frontend's port from 3000 to 80 like PORT=80 yarn start, then the port number isn't needed to access there.
Or you can build file using yarn build and run a static server by setting the static_root as ./build directory.


proposal: encoding/json: add a function to report whether a []byte represents a JSON array before unmarshal

Problem statement
Many web applications utilize JSON encoding as its primary data exchange format. Among these, some applications may even accept different JSON schemes as an acceptable argument for a single method. For an example, a common use case would be to accept both of the following JSONs as request bodies on a HTTP API endpoint:
{
  "name": "foo"
}

[
  {
    "name": "foo"
  },
  {
    "name": "bar"
  }
]

However, implementing this kind of behavior on the current state of the library is not trivial, and may lead to inefficient or even wrong implementations. There may exists multiple other ways to do this, but I will mostly focus on two:

Unmarshal the received JSON into an interface{}, and implement a common type assertion on a switch statement to decide which value you should convert the unmarshaled value
var v interface{}
json.Unmarshal(raw, &v) // ignoring error handling
switch v.(type) {
case []interface{}:
    // deal as a JSON array, possibly returning a slice of a desired type A

case map[string]interface{}:
    // deal as a JSON object, returning an initialized struct of type A
}

Implement an in-place verification over the []byte to check if it starts with { or [
// source: https://stackoverflow.com/a/55014220
x := bytes.TrimLeft(data, " \t\r\n")

isArray := len(x) > 0 && x[0] == '['
isObject := len(x) > 0 && x[0] == '{'

Even though 1 utilizes native features from Go, it may be considered far from optimal due to the underlying reflection usage and the unmarshal itself. Considering raw the informed []byte as a valid JSON, there's no need to unmarshal it entirely only to detect whether it represents a list or not. As for the other option, although being faster than 1, it may be considered error prone and unsafe for a lot of developers to deploy it on a production environment. I like its simplicity, but I guess it could be even more simple.
Proposal
As a solution for this, I propose the implementation of a new exported function on pkg encoding/json to inform whether a raw []byte represents a JSON array (i.e. is a valid JSON and starts with [). The signature could be something as follows, similar to Valid:
func IsArray(data []byte) bool

With this function available, one could easily implement the same use case described before as follows:
// consider that raw is an already validated JSON
if json.IsArray(raw) {
  // unmarshal into a []A slice

} else {
  // unmarshal into a A struct
}

As for its underlying implementation, I guess it could not only utilize the same checkValid function to detect if data represents a valid JSON before searching for [, but also utilize already implemented methods of the scanner struct as a reference for the JSON traversal. I'd love to contribute with a PR if you guys agree it's a valid addition to the library.
OBS: I'm still not sure about the name itself. I admit I don't feel very comfortable with the noun Array, but it's the same noun utilized on the JSON RFC. Should it be called slice? Any ideas?

Running a parser/validator over the entire input just to check that it's a valid json array, only to then do it again but to unmarshal it doesn't seem to be very efficient.
If this is to be used in the context of a json.Unmarshaler, the only test needed is x[0] == '['.
You haven't stated why it is "unsafe"

Running a parser/validator over the entire input just to check that it's a valid json array, only to then do it again but to unmarshal it doesn't seem to be very efficient.
If this is to be used in the context of a json.Unmarshaler, the only test needed is x[0] == '['. You haven't stated why it is "unsafe"

good point!
I agree that just mentioning as "unsafe" is a weak argument, not to mention it is imprecise. What I meant by "unsafe" is in the sense that, IMHO, implementing this kind of verification by hand is "less safe" (in terms of reliable) when compared to utilizing a peer-reviewed native feature of the standard library.
Also, could you elaborate on the usage of a json.Unmarshaler? Considering that use case, wouldn't you also require to invoke a second time the UnmarshalJSON method for a different type if you happen to fail the first one?
The whole point of utilizing the json.IsArray() on the example use case would be to avoid invoking two times an unmarshal method for a given []byte.

https://go.dev/play/p/U2xktwpNq46

https://go.dev/play/p/U2xktwpNq46

That's my point @carlmjohnson. With a json.IsArray() function, in your example you wouldn't had to call two times the json.Unmarshal() within your implementation of UnmarshalJSON(). Although correct, notice that for a non-array JSON you unnecessarily had to call the first json.Unmarshal() at line 17, so them you could successfully unmarshal it on line 22.
With the proposed function, that method would be something like this:
func (nn *names) UnmarshalJSON(b []byte) error {
	if json.Array(b) {
		if err := json.Unmarshal(b, (*[]named)(nn)); err != nil {
			return err
		}

	} else {
		var n named
		if err := json.Unmarshal(b, &n); err != nil {
			return err
		}
		*nn = names{n}
	}
	return nil
}

Which I believe performs better since it avoids a second invocation of json.Unmarshal() for some inputs. Ok, this approach adds the non-negligible cost of json.Array(), which should be carefully evaluated. I'll run a benchmark considering json.Valid() to be the same cost of this function to evaluate this hypothesis.

Given that the subsequent json.Unmarshal will fully validate the contents of the possible array anyway, could it be plausible to define this as json.MaybeArray(b), where returning true means that the given bytes are either a valid JSON document with an array at its root or an invalid JSON document?
If the goal is only to choose which type to pass into the second argument of Unmarshal then it seems unnecessary to check whether the remainder of the buffer is valid JSON.

Perhaps this generalizes as:
func FirstToken(data []byte) (Token, error) {
    // ...
}

My intent here is that this is functionally equivalent to calling NewDecoder with a bytes.Reader containing data and then calling Token on it, but potentially implemented in a way that minimizes allocations and doesn't do all the state machine advancing that Decoder.Token does today.
The motivating example would then look like this:
	if json.NextToken(b) == json.Delim('[') {
		if err := json.Unmarshal(b, (*[]named)(nn)); err != nil {
			return err
		}

	} else {
		var n named
		if err := json.Unmarshal(b, &n); err != nil {
			return err
		}
		*nn = names{n}
	}

Perhaps for improved readability this would also benefit from some extra constants:
const ObjectOpen = Delim('{')
const ObjectClose = Delim('}')
const ArrayOpen = Delim('[')
const ArrayClose = Delim(']')

...which would then allow json.NextToken(b) == json.ArrayOpen, which is slightly longer but perhaps easier to guess what it represents.
The NextToken forumulation is also more friendly to a switch statement without repeatedly re-tokenizing the beginning of the buffer:
switch json.NextToken(b) {
	case json.ArrayOpen:
		// ...
	case json.ObjectOpen:
		// ...
}

... though admittedly most of the other implementations of json.Delim are more likely to be used in a type switch than in a value switch, in which case it would be a little non-ergonomic to first type switch and then, in the case json.Delim:, switch again to see exactly what kind of delimiter it is.


Update maven to 3.9.4

Merge Checklist

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

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

Summary

What does the PR accomplish, why was it needed?
Updating maven to 3.9.4 for AZL 3.0
Change Log

Change: Add generate_source_tarball script for future auto upgrades.
Change: Upgrade maven to 3.9.4

Does this affect the toolchain?

YES/NO
NO
Test Methodology

Pipeline build id: 483085

It looks like Maven 3.9.6 has already been released: https://maven.apache.org/docs/history.html . Could we / should we upgrade straight to that?

It looks like Maven 3.9.6 has already been released: https://maven.apache.org/docs/history.html . Could we / should we upgrade straight to that?

updated to 3.9.6.


Support for #if, #elif, #else, and #endif directives

Would it be possible for this plug-in to support C/C++ #if, #elif, #else, and #endif directives ?
I've tried variations on something like this (below), but nothing is working:
"bracketPairColorizer.consecutivePairColors": [
[
"#if",
"#endif"
],
[
"Gold",
"Orchid",
"LightSkyBlue"
],
"Red"
]
Thanks

Similarly, what about languages with do/end syntax.  e.g.
Ruby with def/end:
def foo

end

Elixir with do/end and fn/end:
def foo do
  if true do
    :ok
  end

  fn x -> x end
end

Would be cool to highlight nested do/end blocks and have the scope highlighting work for them.


Add documentation for upgrading to 2.0.0 / 6.0.0 of Chocolatey products

Description Of Changes
Adds a document to help with upgrading to version 2.0.0 and 6.0.0 of Chocolatey products.
Motivation and Context
Give customers and community clear information on upgrading.
Testing

[ ] I have previewed these changes using the Docker Container or another method before submitting this pull request.

Change Types Made

[ ] Minor documentation fix (typos etc.).
[x] Major documentation change (refactoring, reformatting or adding documentation to existing page).
[ ] New documentation page added.
[ ] The change I have made should have a video added, and I have raised an issue for this.

Issue #

Change Checklist

[ ] Requires a change to menu structure (top or left hand side)/
[ ] Menu structure has been updated

Related Issue

Fixes #

This is a very early draft, but I wanted to get something up for people to comment on.

@pauby Since you've created a new folder for this document to live in, you'll also need to create a new index.md file inside of the new migrations folder you created. This will allow it to show up in the left side navigation, and on the child page listings. The content of this file should be something similar to the below:
---
Order: 15
xref: migrations
Title: Migrations
Description: Information on how to migrate to new versions of Chocolatey.
---

@pauby Since you've created a new folder for this document to live in, you'll also need to create a new index.md file inside of the new migrations folder you created. This will allow it to show up in the left side navigation, and on the child page listings. The content of this file should be something similar to the below:

I've moved it out of the migrations folder and into the root of guides. Hopefully, that makes life easier.

@gep13 @st3phhays @AdmiringWorm @vexx32 From my point of view this is done. I cannot run it in the Docker container though, as I get this error (twice):

I will try again tomorrow, however if somebody could run it through that, it would be appreciated.

Huh, that's odd. Havent seen that one before, myself. The invalid xref will prevent it being previewed though unless we rebase it against the branch that contains that page. I'm at the tail end of my day here so I've not done that just yet but I can take a look first thing tomorrow.

@pauby Yeah, @vexx32 is right. The preview/build will not work until the pages with the references xrefs are merged. If you scroll up into the build log it should tell you what those xrefs are. That second big chunk of red warnings there is basically just saying it can't start the preview (because of xrefs). I sometimes get this error if have a preview running and I close my laptop, and then come back to it later. It usually goes away though if I make a change, and it rebuilds. 🤷♀
To get this to build locally for me, I removed the xrefs in question temporarily, and it all worked fine.

@st3phhays the video is set to auto-play which I assume means it will have to be downloaded? This is what I was trying to avoid with the animated GIF. I wans't sure how to disable autoplay (maybe autoplay=false or just remove it entirely) so that it only plays when clicked?

@st3phhays the video is set to autoplay which I assume means it will have to be downloaded? This is what I was trying to avoid with the animated GIF. I wasn't sure how to disable autoplay (maybe autoplay=false or just remove it entirely) so that it only plays when clicked?

@pauby  You can remove the autoplay attribute and add the controls attribute in it's place. This will give the user a play button and it will not be downloaded until they interact with it.


Upgrading OPS in ACCESS-GE

keyword_ensemble_ProduceModel_Obs_OPS   |    by<EMAIL_ADDRESS>
ACCESS-GE has been using OPS27.2 under sms until now.
This work package involves replacement with OPS30.0.0.

Issue migrated from trac:193 at 2024-01-31 18:13:31 +1100

<EMAIL_ADDRESS>commented

Test directory on ngamai is /g/sc/fs2/data/dhsmith/GF216/PMobs

<EMAIL_ADDRESS>changed owner from `` to dhs548

<EMAIL_ADDRESS>changed status from new to assigned

<EMAIL_ADDRESS>commented

Ticket Summary

<EMAIL_ADDRESS>commented

Updated Ticket Summary

<EMAIL_ADDRESS>commented

David,
I've made modifications to replace older version of OPS with OPS30.0.0 in GE2. The changes I introduced are between ![242] and ![248] in following branch,
https://access-svn.nci.org.au/svn/nwp/APS2/branches/jtl548/ens/AGREPS/
The above branch was copied from,
https://access-svn.nci.org.au/svn/nwp/APS2/trunk/AGREPS@160
My working copy is:
ngamai04:/g/sc/home/jinlee/source/ens/AGREPS
In total there are only 4 files which required changes:
sms/suites/agrepsGP/smsfiles/EGP_ProduceModelObs_Main.sms
sms/suites/agrepsGP/smsfiles/EGP_ProduceModelObs_IASI.sms
agrepsGP/beans/ops/OpsList_Main
agrepsGP/beans/ops/OpsList_IASI
Can you:

go over those changes and see they are correct
update the directory paths to control and coeffs files - preferably to those used by BNOC

Jin


Crash when Child is Removed during Connected Function

If you've got some child which is connected to one of your functions, and you remove that child during the course of the function call, the application crashes without gracefully returning to the editor. The simplest code demonstration would be the following Node code, to which the Button child's "pressed" is connected:
func _on_Button_pressed():
    var button = get_node("Button")
    remove_child(button)

An example project can be found at http://www.godotengine.org/attachments/640/Example.zip

This will never block because the control is in use as the window root. I just changed it so instead of crashing it will throw an error to the console. The right way to do it would be something like
call_deferred("remove_child",button)

Does reverting part of the above commit in 3a3ce98 mean that this issue would no longer be fixed? Or was it an independent change?


Default locale to english

Hi,
Is there anyway we can use this with English as default. If yes, can you let me know how to go about doing it.
Thank you in advance.

Thanks for your issue!
I think i didn't get what you mean by locale.
If you mean the label above each input widgets, it's the label property in the "schema" (provided by you) of <ReduxSchemaForm schema={schema} />
const schema = [
    {
       key:"name",
       type:"text",
       label:"Name" // or "なまえ"
    }
]

If you mean the locale used in date and datetime widgets:

material-ui theme: I just added "okLabel", "cancelLabel" and "locale" property in schema definition.
and.design theme: check their docs
you can always overwrite any widgets by use the exposed "addType" method

import {addType,WidgetProps} from "redux-schema-form"

class CustomWidget extends React.PureComponent<WidgetProps>{
    render(){
        ...
    }
}

addType("datetime")(CustomWidget)


Apply spell checks

Description
The changes only cover documentation changes, mostly spelling mistakes or misplaced dots.
Related Issue

Motivation and Context

Easier to read documentation without mistakes.
How Has This Been Tested?

Built-in IDE spell check
Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

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.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Hi @asingamaneni @Umeshsp22, can you have a look at this PR?


Use class instead of array for configuring adapter

It won't be done because we were decided to do array-like configs, not class-like configs


Bump version, label fix from ben-st

Adding in PR from ben-st, with the version bump to 3.8.0 so we can merge this request.

Just so you know, I've tested these changes on my own, and actually applied them to my production environments without incident thus far.

My tests confirm the same, updating shouldn't be an issue. Thank you!

yeah lgtm :)

can you push these new tags to docker hub as well? https://hub.docker.com/r/clearent/nexus/

@bcg62 That repo is deprecated. Please use https://hub.docker.com/r/cavemandaveman/nexus/ if you want the latest updates.


Zap fields

Reason for This PR
[Author TODO: add issue # or explain reasoning.]
Description of Changes
[Author TODO: add description of changes.]
License Acceptance
By submitting this pull request, I confirm that my contribution is made under
the terms of the MIT license.
PR Checklist
[Author TODO: Meet these criteria.]
[Reviewer TODO: Verify that these criteria are met. Request changes if not]

[ ] All commits in this PR are signed (git commit -s).
[ ] The reason for this PR is clearly provided (issue no. or explanation).
[ ] The description of changes is clear and encompassing.
[ ] Any required documentation changes (code and docs) are included in this PR.
[ ] Any user-facing changes are mentioned in CHANGELOG.md.
[ ] All added/changed functionality is tested.

Codecov Report

:exclamation: No coverage uploaded for pull request base (stable@de7271b). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             stable       #2   +/-   ##
=========================================
  Coverage          ?   67.62%
=========================================
  Files             ?       94
  Lines             ?     4865
  Branches          ?        0
=========================================
  Hits              ?     3290
  Misses            ?     1158
  Partials          ?      417

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 de7271b...470f34a. Read the comment docs.


Can we display full screen image in PhotoEditorView

Hey, Thanks for giving wonderful library to us.
i have question while testing your library.
can we display image full screen in PhotoEditorView
I looked through code and found you are using FilterImageView but i did not found where you are setting image height and width but while looking deep i found you are using GLSurfaceView for filter. I found height and width present but not sure it is for imageview or filter itself. As you are setting original image here also.
Ref old issue.  140
P.S. When i get some time i will do some enhancement that i made changes and send your PR right now i m working on it.
Thanks

Yes, we can brother
Just set the source layout params to match parent with logic
val matchParent = ViewGroup.LayoutParams.MATCH_PARENT
photo_edit_view.source.layoutParams = RelativeLayout.LayoutParams(matchParent, matchParent)
PhotoEditor.Builder(this, photo_edit_view).build()
Hope you try it