There is limit for the automerge

When you are trying to merge branches that contain big files, you can catch the following error:
TF401022: By policy, the Git object '<GUID>' is too large to materialize into memory. Its size, <file_size>, exceeds the threshold of 104857600 bytes.
However, it`s not documented here.
Additional info: https://github.com/libgit2/libgit2sharp/issues/1486

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

ID: 96e60bfd-765f-81ad-312d-f46ef9a66ddc
Version Independent ID: c7ea62ca-1ba4-9a63-30d5-4788f4dce0c4
Content: Git limits - Azure Repos
Content Source: docs/repos/git/limits.md
Product: devops
Technology: devops-code-git
GitHub Login: @apawast
Microsoft Alias: sdanie

Any update on this?

Any update on this?


0.9.0

Closes #70, closes #68, closes #38

May be worth updating the comment at the end of the README, since it currently states that Serde parsing to a struct is faster--I don't believe that is the case anymore.

It depends.

canada.json is peculiar because it a vector of two-element vectors (points). Parsing to structs will win here because it can read the point as two f64 on stack, while vector always has to make a heap allocation.
citm_catalog.json is slightly less peculiar, but it contains one giant object that serves as an associative array of id => proper object mapping. I haven't looked into how serde is representing it exactly, but since the ids are in order I guess a BTreeMap with u64 keys would be pretty fast.
twitter.json is just json objects in array, this is most similar to what the log benchmark is testing. That said, the log benchmark doesn't have any difficult things, strings are short and I can avoid heap allocation on most of them, this json has a bunch of long unicode strings, so the gap is smaller.

That said, yeah, rewording might be in order.

test json_rust_stringify                 ... bench:       1,354 ns/iter (+/- 497) = 446 MB/s

😮


Update interop test descriptions.

custom_metadata, status_code_and_message and unimplemented_method are now ready for implementation and blocking beta release.

Thanks for the review. I have addressed all comments. PTAL.

Foirgot to update this thread. PTAL.

Confirming that I am the author.
On Tue, Jul 21, 2015 at 11:54 AM, googlebot<EMAIL_ADDRESS>wrote:

We found a Contributor License Agreement for you (the sender of this pull
request) and all commit authors, but as best as we can tell these commits
were authored by someone else. If that's the case, please add them to this
pull request and have them confirm that they're okay with these commits
being contributed to Google. If we're mistaken and you did author these
commits, just reply here to confirm.
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/pull/2131#issuecomment-123441154.

Ping.

Addressed all comments. PTAL.


Tolerate lack of sRGB extension.

This makes the sRGB extension optional, and adds a fallback to RGBA.
Also it tweaks the mouse-wheel code to be more cross-browser compatible.
Together, these changes should allow this app to run correctly in the Firefox and Edge browsers.
Affects #1 and #3.

I'm going to merge this right away, to get the project working in Firefox and Edge.
Comments and contributions still welcome on this and other topics, of course.


Improve overall app error handling and display

Feature Proposal
Improved error feedback
Rationale
Error displays are currently inconsistent, can contain long unfriendly error messages and not efficient to implement.
Implementation
Implement an error notification component, which would overlay the whole app (similar to the tx notifier) and receive notification events from any component. Could be good to use React portals for this.
The error notifier would also handle parsing messages from smart contract failures and will take a more generic fallback message in the case it receives an error it cannot parse. Example function signature on the error handler:
notifyError(error: Error, fallback: string)

Related and includes a list of common errors: #491

Design ready in #1453


Fix edtior styles error

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: baizn:white_check_mark: noneAuth:x: 123WhqYou have signed the CLA already but the status is still pending? Let us recheck it.


WARNING: React-Inline-Grid doesn't update when running React Production Mode

If you use the production mode for ReactJS views that this component are responsible for rendering and updating do not render more than once.
I'm sure it has something to do with Redux, but I'm not sure beyond that and I'm not really well equipped to debug this just yet as I'm really new at React in general.
A heads up to others thinking about trying this -- don't! Unless you never run prod mode.

Damn I have the same error since a year and just saw your post. Because of that I must run the minified dev version, which gives a nice red message on start.


fix(ActiveMembers.js and Staff.js): added feedback message if search …

…input does not find a match

Summary by CodeRabbit
Release Notes:

New Feature: Enhanced user experience by introducing conditional rendering in the Active Members and Staff components. This update provides a more intuitive interface by displaying a clear message ("User does not exist!") when there are no active users or staff members.
Improvement: Upgraded image handling in the GetActivities component. By replacing the standard <img> tag with the <Image> component from the next/image package, we've improved image loading and performance.
Style: Improved code readability by adding necessary line breaks in the Active Members component. This change enhances maintainability but does not affect end-user experience.

LGTM @jemmycodes.


PonyOS

I noticed that my operating system, PonyOS, is not supported by neofetch. This is clearly an issue and should be fixed posthaste.

Output of uname, lsb_release and cat /etc/os-release?

I see. I'll install it in a VM. :+1:

@lond-en do you have a link to where I can download PonyOS? I'd like to try it out.

@jprfts https://www.ponyos.org/... have fun

@lond-en huh. dunno what i expected.
and its not based on something else? w h y y y y y

Does bash even exist or can be compiled in this OS? We can't add support if it doesn't even exist.


[PROCESS]: README file: Version of Aspect Model Editor and SAMM-CLI correct?

In
https://github.com/eclipse-tractusx/sldt-semantic-models?tab=readme-ov-file
it is mentioned that version 5.1.1 of the asepct model editor shall be used. The link is not valid any longer: there is a version 5.6.0: https://eclipse-esmf.github.io/ame-guide/5.6.0/introduction.html
is it really a must to use this old version of the aspect model editor?
is it really version 2.6.0 of the SAMM-CLI in all cases, at least for aasx generation there were some bugfixes that should be considered.

Hi @BirgitBoss , Here's the PR considering the changes https://github.com/eclipse-tractusx/sldt-semantic-models/pull/766.
We will do few validation tests before merging it.


ninja: build stopped: subcommand failed.

Thank you for your great work here? When I run main.py I got this error.
RuntimeError: Error building extension 'fused': [1/2] /usr/local/cuda-11.2/bin/nvcc -DTORCH_EXTENSION_NAME=fused -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -isystem /home/lhf/data/[/home/lhf/data/anaconda3]/envs/bar/lib/python3.8/site-packages/torch/include -isystem /home/lhf/data/[/home/lhf/data/anaconda3]/envs/bar/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -isystem /home/lhf/data/[/home/lhf/data/anaconda3]/envs/bar/lib/python3.8/site-packages/torch/include/TH -isystem /home/lhf/data/[/home/lhf/data/anaconda3]/envs/bar/lib/python3.8/site-packages/torch/include/THC -isystem /usr/local/cuda-11.2/include -isystem /home/lhf/data/[/home/lhf/data/anaconda3]/envs/bar/include/python3.8 -D_GLIBCXX_USE_CXX11_ABI=0 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS_ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -gencode=arch=compute_86,code=sm_86 --compiler-options '-fPIC' -std=c++14 -c /media/pc/nvme1n1/lhf/Barbershop/models/stylegan2/op/fused_bias_act_kernel.cu -o fused_bias_act_kernel.cuda.o
FAILED: fused_bias_act_kernel.cuda.o
/usr/local/cuda-11.2/bin/nvcc -DTORCH_EXTENSION_NAME=fused -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -isystem /home/lhf/data/[/home/lhf/data/anaconda3]/envs/bar/lib/python3.8/site-packages/torch/include -isystem /home/lhf/data/[/home/lhf/data/anaconda3]/envs/bar/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -isystem /home/lhf/data/[/home/lhf/data/anaconda3]/envs/bar/lib/python3.8/site-packages/torch/include/TH -isystem /home/lhf/data/[/home/lhf/data/anaconda3]/envs/bar/lib/python3.8/site-packages/torch/include/THC -isystem /usr/local/cuda-11.2/include -isystem /home/lhf/data/[/home/lhf/data/anaconda3]/envs/bar/include/python3.8 -D_GLIBCXX_USE_CXX11_ABI=0 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS_ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -gencode=arch=compute_86,code=sm_86 --compiler-options '-fPIC' -std=c++14 -c /media/pc/nvme1n1/lhf/Barbershop/models/stylegan2/op/fused_bias_act_kernel.cu -o fused_bias_act_kernel.cuda.o
/media/pc/nvme1n1/lhf/Barbershop/models/stylegan2/op/fused_bias_act_kernel.cu:7:10: fatal error: torch/types.h: 没有那个文件或目录
#include <torch/types.h>
^~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.

I have the same problem, have you solved it?

Well, I have solved it, you can first see if cuda is installed successfully,If the installation is successful, enter ‘’export CUDA_HOME=/usr/local/cuda‘’ at the command line


Integrate Activites

Make use of CreateSessionActivity in HomeScreen, DisplayScores in CreateSessionActivity and FillGameResult in DisplayScores

implemented in #24


Critical Error at main with Victron v3.22 at Rasperyy Pi4

Follow the Troubleshooting Section
Change the Logging Parameter under DEFAULT in /data/dbus-opendtu/config.ini to Logging = DEBUG, please revert, once debugging and troubleshooting is complete. Rerun the script and share the current.log and config.ini file.
Troubleshooting Section
Describe the Problem
Seems like the script is  trying to start an producecs Tracebak Errors. it is stopped after about 8 seconds. For Errors pleas have a look at the currentlog.
config.ini.txt
current.log
Device you are using
Steps to reproduce the behavior:

Which Venus OS are you using? > V3.22
Which Victron Device? > RaspberryPi 4 /
Which DTU? > HM-600
Which Template Device?> Shelly Gen1

Expected behavior
After the Softwareudate to v3.22 the script should start by itself an run.
Screenshots
no screenshots.
Additional context
Add any other context about the problem here.

This is connection timeout, ensure, that you can still reach your hoymiles from the raspi. Nothing we can do at first sight


MIssing features

Hi and big thanks for the component, design looks great with clean and simple interface which is easy to use. I would love to grab this package from one of the projects but  I miss some features:

Ability to define container boundaries, area where picker is not listening for any mouse movements
Ability to define selectors to ignore elements on the page, e.g. Ignore navigation bar .nav, etc.
Ability to define selectors to listen to explicitly, e.g. only a tags.
Ability to interrupt event bubbling, i.e. prevent any further action on certain elements in onHover. For example if I want to ignore do nothing (no highlighting as well) when I face some reserved elements or so.
Additional event on mouse out, to have ability to attach my own behaviour on hover, e.g. add class, remove class.

Besides that, please keep going there is really lack of good picker / inspector components in the wild.
Thank you!

Hi, thanks for your encouraging words!
These sound like sensible feature requests, but I don't have capacity to implement them all myself. Pull requests are welcome, though :-)

Ability to define selectors to listen to explicitly, e.g. only a tags.

I actually needed this one myself, so implemented it (via the new elementFilter option) in v0.2.0.
Additionally, I'd rather keep feature requests to one-per-issue, so that I can determine interest independently and close them out when they do land. Given this, I'm going to close this issue, but feel free to open new issues if you're still interested in any of the features you mentioned - particularly if you're planning on implementing them!


Support for multiple write keys.

Hello,
We were led to believe that it is possible to run two instances of analytics-next with different write keys side by side. One via segment source snippet (exposed on window.analytics) and the other one as an npm module.
When we try to do this, it mostly works with one quirk/bug. If the two instances are loading concurrently (which is the common scenario), it can happen that events fired via window.analytics (segment source snippet) cause two network requests - one using the segment source snippet write key and the other one using npm module's source key. Once both instances are finished loading they behave as expected with each only firing network requests for its own events.
We were speculating that this is due to the fact that window.analytics as provided by snippet creates a queueing implementation of methods (to be used before the analytics-next is fully loaded) and then somehow snippet and npm module versions both read and fire events on that queue. Not sure if this is actually the case - it's just a guess.
I assembled a small sample application that demonstrates the issue. It loads analytics-next from both snippet and npm module, but only fires a page event on the snippet version. If you reload the page several times, you should see examples of that single page event causing two requests to be sent to a p endpoint. See:

You will of course need to provide your own write keys here and here.
Using multiple instances of analytics with different write keys seems to have been something that was "advertised" as a feature, and when talking to our Segment representative they said that this should be possible with analytics-next as well.
Thanks for any help or further info.

Hi @BorePlusPlus, while this example is shared as an example, we haven't fully tested two instances of analytics.js, and can't recommend it. I can foresee few issues here, including clash between cookie/localStorage data, and event handlers. We may look into supporting multiple writekeys in the future tho.
That aside, I think the issue you are seeing is related to the queue mechanism. So possibly both implementations are reading from the queue simultaneously. Haven't tested this, but might worth waiting for one instance to initialize before the next instance loads. Something like this:
window.analytics.ready(() => {
  AnalyticsBrowser.load({ writeKey: '...' })
    .then(() => {
      console.log('>>>>> next loaded');
    });
})


Set up metamask-design-token repository

@Cal-L commented on Mon Jan 31 2022
Description

Create and set up design token repository to hold shared library that will be utilized by both extension and mobile component systems

Technical Details

[ ] Create new repository named metamask-design-tokens
[ ] Set up codebase to initially expose colors. Nice to have: expose typography and spacing

Acceptance Criteria

Ability to utilize design tokens in component system
metamask-design-tokens should exist under metamask repos here

Done!


Write Console.Out to Game's Console

Uses Tier0.Msg function to write string to gmod's console.
Can be used in scenarios where ILua is inaccessible.
closes #62
TODO:

[x] rewrite all WriteLines (TextWriter.cs as reference)
[x] Tests

[x] unicode

[x] every Write

[x] every WriteLine

[x] run in another thread

[x] await/Async

[x] what happens when you write more than 989 characters to console

[x] RESULT: nothing? wiki says it can output only 989 characters at once, but i tested with 1000 chars and no errors

LGTM. Congratulations with the first contribution!


feat(sifrr-dom): use setState(newState) instead of mutating state

Pull Request Test Coverage Report for Build 1508

22 of 25 (88.0%)  changed or added relevant lines in 5 files are covered.
62 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-4.4%) to 89.868%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/browser/sifrr-dom/src/dom/element.js
2
5
40.0%

Files with Coverage Reduction
New Missed Lines
%

packages/browser/sifrr-dom/src/utils/json.js
1
70.59%

packages/browser/sifrr-dom/src/dom/element.js
6
83.91%

packages/browser/sifrr-dom/src/dom/keyed.js
55
55.91%

Totals

Change from base Build 1507:
-4.4%

Covered Lines:
1357

Relevant Lines:
1510

💛  - Coveralls

Not a good idea since doing setState before connecting won't work :| which will cause confusing bugs


added support for GD32E50x series

Tested and working with GD32E503E-START dev board with a onboard GD32E503CE. Generated from GigaDevice.GD32E50x_DFP.1.3.2.pack found here: https://developer.arm.com/tools-and-software/embedded/cmsis/cmsis-packs

Thanks!

Looks like the windows CI machine ran out of disk space. @Yatekii, who is the correct person that can fix this?

Happens in all the PRs atm ... Well, I would be the one I guess. But I already wasted an hour googling lol. The runner is provided by GH, so I have no access ... idk what's happening.

bors retry
I manually cleard the cache, that seems to have helped 🤷


RCTView: Shadow warnings

RCTView throws warnings when using TabBarAnimated with latest release (0.0.73)
Expected behaviour
No warnings
Actual behaviour
Warning thrown
What have you tried
When commenting the shadow style tabBar in TabBar.js, the warning goes away.
Had this warning with several RN versions:

0.48.4
0.52.1

Hey, I just released a new alpha 2.0.0-alpha.0 of the library. It's rewritten using react-native-gesture-handler and react-native-reanimated addresses a many platform specific bugs and performance problems. The documentation is updated as well.
Please try the new version and see if it addresses your issue. If not, please open a new issue following the issue template.


Feature/menu modal

Hi Jem,
Here is the code for the menu modal. I put it in a seprate file to avoid any merge issue. Please feel free to add it to the main code.
Good night

@ClaireFraser121 If it's ok I'll leave this on-branch to keep our main repo tidy - I'll have a play around and see if I can integrate it.


Add some extra tests

Adds the extra tests back in which were removed in #57.

Thank you, I realised I shouldn't have merged #57 without these tests included.


Use PrecompileTools.jl

Motivation and description
Currently the startup time for using this package is quite long.
For example, running the code snippet below takes about 80s on my machine, which is 99% overhead time (the two epochs are practically instant).
To compare, a basic Flux model only takes about 6s after startup. Since in Julia 1.9 and 1.10 a lot of the compile time can be "cached away" I think we'd greatly benefit from integrating something like PrecompileTools.jl into the packages.
Possible Implementation
I saw there's already a workload.jl file (which basically just runs all the tests) which is used for sysimg creation. Perhaps we can do something similar for the PrecompileTools.jl directive.
I can try to get a PR started in the coming days.
Sample code
using FastAI, FastVision, Metalhead, Random
data, blocks = load(datarecipes()["mnist_png"])
idx = randperm(length(data[1]))[1:100]
data_ = (mapobs(data[1].f, data[1].data[idx]), mapobs(data[2].f, data[2].data[idx]))
task = ImageClassificationSingle(blocks)
learner = tasklearner(task, data_, backbone=ResNet(18).layers[1], callbacks=[ToGPU()])
fitonecycle!(learner, 2)
exit()

Sounds good! Have you tested the Speedup already?

Some issues I'm running into:

datarecipes not available at precompile time. Also, I suppose we don't have access to any data that needs to be downloaded. @lorenzoh does FastVision ship with some datarecipes? Otherwise I'll just mock some data.
currently CUDA precompile seems to be broken. See https://github.com/JuliaGPU/CUDA.jl/issues/2006
since FastVision doesn't depend on Metalhead (fair enough) I can't precompile with the ResNet. Fair enough. Maybe also makes sense to mock a model.

For now I'm just trying to test what speedup we could hope for by making a separate "startup" package that loads all of FastVision, Metalhead, etc and then basically has my code above as a precompile code, but without GPU and with mocked data. I'll report what speedup that brings.

Hmm this approach brings the TTF-epoch from 77s to about 65s, which is a speed up for sure, but I was kind of hoping for even more. I will have to look a bit deeper at where the time is spent. It might be all GPU stuff, in which case we'll need to wait for the above mentioned issue to conclude. There's also the possibility that on first execution cuDNN has to run a bunch of micro-benchmarks to determine some algorithms choices. I filed a WIP PR to cache that a while ago, but haven't looked at it in a while https://github.com/JuliaGPU/CUDA.jl/pull/1948. If it turns out that the TTF-epoch is dominated by that I'll push that a bit more.

Another update - I ran a training similar to the code above, but without any FastAI.jl/FluxTraining.jl, i.e. just Flux.jl and Metalhead.jl (see code below).
With using the precompile approach from above, timings are 27s for CPU only and 55s for GPU.
In particular, 55s is only about 15% less than 65s - in other words, the fact that my above measurements are at 65s seems mostly dominated not by the FastAI infrastructure, but rather by the GPUCompiler etc. It still might be worth it to follow through with this issue, or at least write some instructions how to make a startup package, but further improvements must come from the Flux infrastructure itself.

I suspected as much. You'll want to drill further down into the timings to see if something like https://github.com/JuliaGPU/GPUCompiler.jl/issues/65 is at play.

Thanks. When i find some time, I'll also check if https://github.com/JuliaGPU/CUDA.jl/issues/1947 helps. But probably I'll move that discussion somewhere else.

Update on this: Since https://github.com/JuliaGPU/CUDA.jl/issues/2006 seems to be fixed, it's possible to just write your own little precompile directive, which reduces TTF Epoch to about 12 seconds -- quite workable!
MyModule.jl:
module FastAIStartup
using FastAI, FastVision, Metalhead
import FastVision: RGB, N0f8
import Flux
import Flux: gradient
import Flux.OneHotArrays: onehotbatch

import PrecompileTools: @setup_workload, @compile_workload
@setup_workload begin
    labels = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
    @compile_workload begin
        # with FastAI.jl
        data = ([rand(RGB{N0f8}, 32, 32) for _ in 1:100],
                [rand(labels) for _ in 1:100])
        blocks = (Image{2}(), FastAI.Label{String}(labels))
        task = ImageClassificationSingle(blocks)
        learner = tasklearner(task, data,
                            backbone=backbone(EfficientNet(:b0)),
                            callbacks = [ToGPU()])
        fitonecycle!(learner, 2)
    end
end
end # module FastAIStartup

benchmark.jl
using FastAI, FastVision, Metalhead
import FastVision: RGB, N0f8
import Flux
import Flux: gradient
import Flux.OneHotArrays: onehotbatch

labels = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
data = ([rand(RGB{N0f8}, 64, 64) for _ in 1:100],
        [rand(labels) for _ in 1:100])
blocks = (Image{2}(), FastAI.Label{String}(labels))
task = ImageClassificationSingle(blocks)
learner = tasklearner(task, data,
                      backbone=backbone(EfficientNet(:b0)),
                      callbacks = [ToGPU()])
fitonecycle!(learner, 2)

julia> @time include("benchmark.jl")
 11.546966 seconds (7.37 M allocations: 731.768 MiB, 4.15% gc time, 27.73% compilation time: 3% of which was recompilation)

I still think though it makes sense to move some of the precompile directives into this module.
Very broadly, something like:
labels = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
data = ([rand(RGB{N0f8}, 64, 64) for _ in 1:100],
        [rand(labels) for _ in 1:100])
blocks = (Image{2}(), FastAI.Label{String}(labels))
task = ImageClassificationSingle(blocks)j
learner = tasklearner(task, data,
                      backbone=backbone(mockmodel(task)))
fitonecycle!(learner, 2)

# enable this somehow only if CUDA is loaded?
learner_gpu = tasklearner(task, data,
                      backbone=backbone(mockmodel(task)),
                      callbacks = [ToGPU()])
fitonecycle!(learner_gpu, 2)

I'm on board with adding precompile workloads, but only if we can ensure they don't use a bunch of CPU + memory at runtime (compile time is fine), don't modify any global state (e.g. default RNG) and don't do any I/O. That last one is most important because it's caused hangs during precompilation for other packages.


[CI] Add windows to job matrix

Chocolatey dependencies are cached to reduce flakiness.
Signed-off-by: Abrar Rahman Protyasha<EMAIL_ADDRESS>

Note to self: revisit this PR after https://github.com/ros-tooling/action-ros-ci/pull/712 is merged (and released) upstream.


Minor typo in detailed description of diagram

https://docs.microsoft.com/en-us/azure/architecture/reference-architectures/data/profisee-master-data-management-purview#architecture
In the diagram there are 7 steps. In the description there are 8 steps. #7 in the diagram corresponds to the description noted as #8.

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

ID: 1ae05f28-2c5d-8fa1-9e2f-bad478a60379
Version Independent ID: 953c74fb-cc16-f171-b925-053b90f1be5a
Content: Data governance with Profisee and Azure Purview - Azure Architectures
Content Source: docs/reference-architectures/data/profisee-master-data-management-purview.yml
Service: architecture-center
Sub-service: reference-architecture
GitHub Login: @EdPrice-MSFT
Microsoft Alias: gamal

@tchristiani Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Got it resolved. See private PR: https://github.com/MicrosoftDocs/architecture-center-pr/pull/6032


Microsoft.AspNetCore.Hosting.WindowsServices .NET Core Support in 2.0.x

There will be a compat package System.ServiceProcess.ServiceController that will be released that will allow us to port the .NET Core compat to 2.0.x. After the corefx package is available we will port the changes that will be made in https://github.com/aspnet/Hosting/issues/904 to our patches as well.
cc @Eilon @Tratcher

This issue is tentatively approved for the patch. We have to make sure that all the bits we depend on in the compat pack will ship on/before when we need to ship.

@JunTaoLuo / @muratg - any update on this? The clock is nearly running out...

@Eilon This is not in 2.0.3 patch.  Putting this in 2.0.4 tentatively.
.NET Core folks are working on releasing a preview of ServiceBase on Core, so I'm thinking we'll have a 2.0.4-preview package using their preview, and go RTM after they go RTM with their side.

@DamianEdwards Clearing the milestone of this bug per the discussion today.  We'll need to decide what release this would go in.

Just ran into the same issue today.

@muratg @Eilon, can we re-triage this item as well and decide whether to pursue the January or February patch timeframe?

@muratg can you bring this up in this afternoon's PM/engr sync?


README unclear

Hi there,
I just started reading the README and was wondering about the first table (comparsing sort to br). What is the difference between the second and third row? It looks the same to me.

Since this  is quite old ticket, you might no longer be interested in it or already figured it out by yourself.
But I would share my understanding for future reference of other people.
bashreduce has two helper programs, brp and brm written in C. If you look into bashreduce's source, you will notice it uses brp and brm if they are installed automatically. But if not, it will fall back to awk or sort -m.
The second column shows which mode was used, coreutils=awk+sort -m or brp/brm.
Going back to your question, in the second row, awk+sort were used and in the third brp/brm were used.


[DOCS] airflow: fix README for running integration test

Signed-off-by: Kengo Seki<EMAIL_ADDRESS>
Problem
#1128 dropped Airflow 1.x support, but the README for integration-airflow still contains a removed command.
Solution
This PR updates the script name in README in accordance with #1128.

Note: All schema changes require discussion. Please link the issue for context.

[ ] Your change modifies the core OpenLineage model
[ ] Your change modifies one or more OpenLineage facets

If you're contributing a new integration, please specify the scope of the integration and how/where it has been tested (e.g., Apache Spark integration supports S3 and GCS filesystem operations, tested with AWS EMR).
Checklist

[x] You've signed-off your work
[x] Your pull request title follows our guidelines
[ ] Your changes are accompanied by tests (if relevant)
[x] Your change contains a small diff and is self-contained
[x] You've updated any relevant documentation (if relevant)
[ ] You've updated the CHANGELOG.md with details about your change under the "Unreleased" section (if relevant, depending on the change, this may not be necessary)
[ ] You've versioned the core OpenLineage model or facets according to SchemaVer (if relevant)
[ ] You've added a header to source files (if relevant)

The CI failure occurred in the Spark integration test and seems to be unrelated to this change.


Add Czech translation

Hi Nicky, really enjoyed this thingy, thank you!
I have added translation in Czech and credit to keep stuff simple. Unfortunately it seems your version of Raleway font is missing a subset of our weird Central European accents. :(

Awesome, thank you so much @jnv! You can share it with Czech captions on by default with: http://ncase.me/neurons?lang=cs

Thanks!


Update Closest

Based on https://developer.mozilla.org/en-US/docs/Web/API/Element/closest .

:+1:
I will make ko-KR PR after merging it.

This doesn't work on IE, anyway I'll add a notice to reminder.


fix: update version to main (latest) version

Things added/changed:

Update version to main (latest) version.

I think we should keep it as is, since a breaking change in the action could obliterate our workflow

Check https://github.com/EddieHubCommunity/template/issues/18

Still not sure about main the latest stable release, can be used.


network error-Cody unreachable_I always need to login manually eachtime I start VSCode

Version
1.54.0
Describe the bug
after the last update the said the problem of login each time i off or  i come out of VScode will be solve but now i am facing more problem where when i enter VScode there is a red notification  saying network error logout when i do so i try to relogin but the nothing happen , i have try to close and open back VScode but nothing , I have try to relogin again and again but nothing

after that here is what is happening

i have not be using cody as the last update came out
Expected behavior
here is what will happen when you will relogin

these have been loading for some time now and it is really bad
Additional context
i just what to prove that i have try to login soo many time time that i have been force to create a and delete some of the extra API key

Hey @GSGSDgggdzez
Thank you for reporting the detailed issue. The team is aware of it and working on it.
Sorry for the inconvenience.

Hello, amazing team! 👋
I’m a dev here, ready to roll up my sleeves and dive into some code! I’m available around the clock—yes, even during my snack breaks (don’t worry, I’ll keep the crumbs away from the keyboard). 🍕💻
I truly appreciate the update from PriNova about the bug I reported. It’s great to know the team is on it! If there’s anything I can do to help speed things along or if you need an extra pair of hands or a brain that runs on caffeine, I’m here and eager to assist.
Let’s tackle this together and turn those pesky bugs into mere memories! 🐛➡💨
Looking forward to collaborating and making some magic happen!
Profolio


Exposes custom gate list

This PR exposes the QUIL spec (The names of valid instructions) programmatically, making it easier for others to compile into it in a robust way that wont require hard-coding (This list will be updated with the version of pyquil, supposing more instructions or gates were added). The added code matches the existing exposure of the "STANDARD_GATES" dictionary. There's a way to do this without repeating function names in the dictionary (which is an option), but it wouldn't be as explicit.

can we keep STANDARD_GATES as an alias (for backwards compatibility)

+1
On Tue, Jul 17, 2018, 23:08 Matthew Harrigan<EMAIL_ADDRESS>wrote:

can we keep STANDARD_GATES as an alias (for backwards compatibility)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/rigetticomputing/pyquil/pull/510#issuecomment-405819884,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE-RgkUbqPDMZBTrB3joIqRZuozZRUVdks5uHtDsgaJpZM4VTvO5
.

--
Will Zeng, PhD  |  Head of Quantum Cloud Services  |  Rigetti Quantum
Computing  |  m:<PHONE_NUMBER>  |  rigetti.com
Confidentiality Note: This message is for the intended recipient only and
may contain proprietary, private or confidential information. The use,
copying or distribution of the contents of this email, or any attachments
hereto, by anyone other than the intended recipient, or an employee or
agent authorized by the intended recipient, is prohibited.

@mpharrigan I've added the aliases for backwards compatibility. 👍


QOL Improvement: Book Navigation withing pages

Would be cool when you scroll to the bottom of the page to scroll through the book-tree navigation thingy too.

Clarification:
It works like that on all the views EXCEPT the page view!

its still an issue tho cause its not working as intended

Since there has been a few changes to the sidebar and navigation items since this issue was created I'm going to close this. If the issue remains and is something you still require to be fixed please open a new issue, referencing this one.


cleaned up docs and adapted to the two use cases

Edited a bit the documentation to make it clearer, I had to clone from scratch on my private laptop and found it a bit confusing. Especially in index.md there is a "TODO" where you (@pnrobinson) could maybe add a few fords? Thanks

I added a few new paragraphs and cleaned up the text. It will need more work but I think we can do that in a separate PR once the code is finished.


docs(contributing) Added amp definition

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[ ] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[ ] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[ ] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[ ] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpx changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

Thanks. This causes a double deck hed, which we avoid everywhere else:

Many more people know what AMP is than know the acronym. If the goal is to make it findable by searching for 'acceler...' then we should put that in the body copy instead, I think.

I'm renaming this page in a different way in #3946

ah, just saw this. will close this and look at that PR instead, thanks all


Fix setting random seed in tests.

At least from the number passed, I assume this is supposed to be setting the seed, and not just generating 1337 random numbers that aren't used for anything.

[x] Tests added / passed
[x] Passes black dask / flake8 dask

Indeed.  Thank you for the fix @QuLogic


Allow to flag a method as @HxOnly and @HxResponseHeader()

With the new HxController, we have onlyHxRequest(), as suggested by @FroMage, it would be nice to introduce an annotation for this, the same for goes for hx(HxResponseHeader hxHeader, String value), we could have @HxResponseHeader.

@FroMage it would nice to have this for the htmx demo?

well on the 15 it seems, this doesn't give us much time to prepare :-/

I think we should meet and have a look to our codebase in htmx to see how we could improve the xp with htmx annotations

This is the Spring equivalent:
https://github.com/wimdeblauwe/htmx-spring-boot
Maybe we should have an htmx extension for this?

We could, I suppose. But I don't think we can do conditional routing like they do.


Provide support for bech32 encoding of address bytes (encode/decode)

Bech32 is the future: https://en.bitcoin.it/wiki/Bech32
"Readable" addresses with error correction.
This would replace displaying hex-strings for addresses, not the human-names
Moved here from: https://github.com/iov-one/weave/issues/27

I think this would be nice for displaying addresses with checksums for bns chain.
Just expose it in Encoding or Crypto libraries, so the clients can use it.
https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki
https://github.com/bitcoinjs/bech32
We don't deal with in internally, but promote usage in the client.

Does it make sense to implement this before we support a coin from SLIP-0173?

I would be happy to use bech32 addresses. Theres is also this slip to go along with it: https://github.com/satoshilabs/slips/blob/master/slip-0173.md
We should probably decide on what identifier that we want on the front of the address

Looks like you got to the slip just before me :)

Does it make sense to implement this before we support a coin from SLIP-0173?

Maybe we can provide support for these kinds of addresses in Weave and move away from hex type for the BNS.

I wonder who is responsible for the address format. If the wallet takes everything from a uniform interface, the codec in IOV-Core must be responsible to provide a printable address in string format. Otherwise the wallet either needs to do case distinction (which we want to avoid) or re-encodes Lisk addresses (e.g. bech32(ascii("16313739661670634666L"))

Yes, maybe makes sense that iov-core exposes string address in external interface and hides that detail from wallet. Internally we use bytes, but the codec can handle the transform. Like key To Address.... We can have an encoder/decoder for bytes <-> string with common address formats

It is actually super important that we can expose addresses in "native" format, so people can use their existing wallets and send tokens into the IOV wallet. Also, so we can send from an IOV wallet to another wallet that doesn't use BNS. (In this case, we enter the typical chain address instead of a value name)
You are right that the chain-specific encoding should be done in iov-core

Looking at #421, we can make this change UI only, i.e. on the current BOV networks without changing something in the backend. The only thing we need to adapt is to do a bech32->hex conversion in the BovFaucet.credit implementation, because the faucet expects hex.

@LucasIsasmendi first thing we need here is a is a wrapper class in @iov/encoding with
class Bench32 {
  public static encode(prefix: string, data: Uint8Array): string;
  public static decode(address: string): { readonly prefix: string, readonly data: Uint8Array };
}

this can be added and tested before we know how and when we use it

As discussed on Wednesday, we use the prefixes "iov" and "tiov" for mainnet and testnets. A leading "t" seems to be the winning convention at https://github.com/satoshilabs/slips/blob/master/slip-0173.md, so this is good. An IOV address can be used for BNS or other services on our blockchain


ale plugin hangs on update

Information
VIM version
NVIM v0.2.2
Build type: Release
Operating System: Arch Linux
:ALEInfo
While getting the ale info ALEInfoToClipboard gives me:
~
Error detected while processing function ale#debugging#InfoToClipboard[2]..ale#debugging#Info[31]..<SNR>49_EchoGlobalVariables[2]..<SNR>
49_Echo[1]..provider#clipboard#Call[6]..3:
Error detected while processing function ale#debugging#InfoToClipboard[2]..ale#debugging#Info[31]..<SNR>49_EchoGlobalVariables[2]..<SNR>
49_Echo[1]..provider#clipboard#Call[6]..3[24]..provider#clipboard#Call[6]..3:
line   17:
E900: Invalid job id
line   24:
E903: Process failed to start: too many open files: "xsel"

What went wrong
ale plugin does not want to update sometimes
"[Plugins]" [New File]
Error detected while processing function <SNR>3_nvim_cb[1]..<SNR>3_job_cb[4]..<SNR>3_job_exit_cb[3]..<SNR>3_reap[12]..<SNR>3_bar:
line    3:
E440: undo line missing
Error detected while processing function <SNR>3_nvim_cb[1]..<SNR>3_job_cb[4]..<SNR>3_job_exit_cb[4]..<SNR>3_tick[6]..<SNR>3_update_finish[7]..<SNR>3_logpos:
line    1:
E727: Start past end
E714: List required
E727: Start past end
E714: List required
E727: Start past end
E714: List required
E727: Start past end
E714: List required
E727: Start past end
E714: List required
E727: Start past end
E714: List required
E727: Start past end
E714: List required
Error detected while processing function <SNR>3_nvim_cb[1]..<SNR>3_job_cb[4]..<SNR>3_job_exit_cb[4]..<SNR>3_tick[6]..<SNR>3_update_finish:
line   48:
E16: Invalid range:     silent 4 d _
Vim(if):E117: Unknown function: go#config#VersionWarning

Reproducing the bug

open nvim
:ALEUpdate
hangs on ale update
have to quit to see messages in terminal

Error detected while processing function 3_nvim_cb[1]..3_job_cb[4]..3_job_exit_cb[3]..3_reap[12]..3_bar:

There there is an error we can't really fix in ALE. What that means, I'm pretty sure, is that you've run out of processes when running ALE. That's resource exhaustion.
I recommend following the steps in this FAQ entry for limiting how often ALE rules, so you won't run out of processes. https://github.com/w0rp/ale#faq-my-battery-is-sad You could also try different versions of NeoVim.


Separate core and utilities into two different modules

A couple reasons:

smaller core
easier to understand the library (not only the core)
utilities can be written in a way that works with any promise library that has a sufficiently similar API, so people using other promise libraries can take advantage of the utilities written for bluebird
Allow people to create a lot more fast utility functions that wouldn't make sense to add into this core module

AFAIK the performance of bluebird is very hard to achieve without all of its helper methods knowing a lot about the implementation internals. @petkaantonov knows best of course, but based on what I've seen, I don't think this will be viable.

So you're saying that utility methods use properties of promises that aren't exposed publicly (or documented in the wiki)? If that's the case, the easy solution to that is to simply document those properties and treat them as public. It may not have benefit 3 in that case, but benefits 1 and 2 would still hold.

Let's take an example - how would you write promisify as a separate part and not a part of core?

@benjamingr I literally know absolutely nothing about what's under the hood of bluebird. It's pretty simple to promisify various things using your standard promise API. In the code there, I see that INTERNALS variable being used pretty sparingly. I don't know what its doing there, but I'll leave it to you experts to tell me whether or not that is critical for promisify's performance.

@fresheneesz basically promisify generates and compiles a new function dynamically. You can't do this with native promises because it would require a closure which is a real overhead in performance when creating tens of thousands of promises. This is just one example of course.

Using only public api it's not possible to implement something efficiently almost by definition.

@petkaantonov So there's nothing in this library that only uses the public api of promises? Might it be possible to publicly expose the parts of bluebird that allow you to do such heroic efficiency?

@fresheneesz Bluebird is tuned for performance to a ridiculous and obsessive degree :smile:, what you're asking for doesn't make sense, there's no internal library of functions that are useful to outside code, virtually every single code path is highly specialized and by definition not reusable.

Ok then, i guess i'll take your guys' word for that then

@fresheneesz no need to take our word for it, take a look at the source. If you're interested in some of the patterns that bluebird uses to go fast, take a look at https://github.com/codemix/fast.js

@phpnode fast.js looks pretty cool. Props to you guys for focusing on performance so much. I ran a performance test against the futures library I wrote, and its like 10 times faster - and mine has decently competitive performance compared to a lot of the fast ones out there. So i'll probably be deprecating mine in favor of bluebird at some point (wish I'd found bluebird earlier).
I did take a look at the code for promisify, and while its complicated and is tied to the INERNALS of bluebird, its already a separate module and I still maintain it could easily be separated out into a separate module. Granted, I wouldn't actually recommend separating promisify out, since promisifying things is actually pretty necessary in almost all cases where you're using promises. I'd suggest this more for the collection methods, utility methods, timers, and that kind of thing. Regardless, if those other parts are anything like promisify, then they should be able to be separated out into a different, if tightly coupled, module. This would still gain benefits 1 and 2, tho not 3 as I conceded earlier.

@fresheneesz by all means, if you think you're able to modularize bluebird go for it :+1:

Yeah, the collection methods all take advantage of BB's internals to provide better performance
Most of them use an internal method called _then that takes 5 arguments; e.g. the last argument passes flags related to features like .bind() and cancellation.
A lot of the performance work in bluebird is specialized code handling common cases without the overhead of generalized solutions - so there is a lot of specific and hairy code :) Its kind of counter to typical good design / best practice advice but - since its a library you'd base your entire platform on, I think its a reasonable tradeoff.
If you're looking for a more balanced approach favoring modularity a bit more over performance (while still fairing quite good at the latter), you might want to also look at whenjs.

I appreciate the performance, i like bluebird's api much more than when. I was impressed enough by bind, but the performance kicks it. I'm sold on bluebird. But in a lot of cases, you only need the basics of promises, and I would guess the various utility methods it would make sense to factor out significantly increase the size of the library. 40kb is getting up there. Being able to pick and choose which utilities you want is important to some people who are very kb focused. I imagine to use any of these tightly coupled modules, you'd do something like:
var Promise = require('bluebird')
var PromiseUtils = Promise.hook(require('bluebirdUtils'))

Where hook would pass in an internal API to bluebirdUtils that contains stuff like INTERNALS. Doing this would also have the benefit of allowing people to create a LOT more utilities of the kind that most people don't need - IE stuff that wouldn't make sense to put into this core module.
@benjamingr I'm game to help do this, but I would want buy in, so I can be confident my work won't go to waste.

Actually, I would imagine that any of the features you can disable in custom builds should be modulizable.

They're modularizable but they depend on core.


pipeline jobs fails after master restarts

A pipeline job after master restart fails to reconnect.
1 - Jenkins is loosing the slave
2 - Mesos shows it as a active empty framework
Here is the console log of my pipeline job, after master restart:

pipeline
[Pipeline] {
[Pipeline] sleep
Sleeping for 4 min 10 sec
Resuming build at Tue Dec 19 19:21:13 PST 2017 after Jenkins restart
Waiting to resume part of sandbox ? test-mesos-pipeline # 2: ???
Waiting to resume part of sandbox ? test-mesos-pipeline # 2: There are no nodes with the label ?mesos-jenkins-a4ea24452e554a4bb79a32caedfd275f-mesospawplatform?

Do you have the issue with 1.0 or 2.0 of the plugin?

Closing for lack of response.


Multipolygon authority areas are problematic

@Robinlovelace, the reason https://acteng.github.io/atip/scheme.html?authority=Cornwall and other places break for the route snapper is that they use a multipolygon. Currently we're taking only the first polygon in the list as the boundary area, and for Cornwall, this happens to contain no roads. I'm going to workaround, but supporting multipolygon boundaries all the way downstream in osm2streets is a hassle, and I'm not sure a correct decision. Is there an easy way on your end to produce one envelope around such authorities -- maybe using concave hull or something?

Concave Hull should do it yes: https://gis.stackexchange.com/questions/439271/simplify-multipolygon-removing-small-gaps-in-postgis

Would love to use the Rust implementation but that would take too long and be another distraction! https://docs.rs/geo/0.17.1/geo/algorithm/concave_hull/trait.ConcaveHull.html

Progress, tho it may not look like it...

Simpler approach: buffer the small bits.

A user reports a problem in Portsmouth: https://atip.uk/scheme.html?authority=Portsmouth#12.47/50.83244/-1.06048
The largest area is the south bit, so the route snapper doesn't work on the mainland at all:
https://user-images.githubusercontent.com/1664407/216995553-552328ca-6e49-432a-9e5a-4dbfc83d69e5.mp4
A single polygon, maybe using convex or concave hull, would be preferable in this case. I'll think about other workarounds.

So far, convex hull has been working fine, so closing


Game disbands abruptly + Words aren't automatically inputted

Just added the bot and we're getting these two issues:

The bot is abruptly disbanding the game at different stages of the game. It's also been spamming the disband message. Had to kick it because of that.

When starting a game, the board will be blank. We've had to manually enter custom words in order for it to work.

Thanks for reporting these issues! Is the board always blank or does it happen sometimes?

Both issues should be fixed. When the game starts, the random words pulled from the list of words were deleted, this shouldn't be the case anymore. Now game gets disbanded when there hasn't been any activity (giving clues, guessing) in over 20 minutes.
Again, thanks for reporting! I wouldn't have caught those if you didn't tell me!

Thanks!


Add timeline to Readme

Need to add the high-level timeline to readme.

We have added release timelines here in README. https://github.com/microsoft/service-fabric#service-fabric-release-schedule
@vturecek  closing this issue. If not, please create new issue with more details.


Feat: Markdown support

Is your feature request related to a problem? Please describe.
Allowing users to write their content in markdown format to allow users write beautifully formatted content.
From headings, to quotes to images and tables, Markdown beautifies content writing.
Describe the solution you'd like
Add Markdown support in the Editor and Display formatted markdown in the content.
Describe alternatives you've considered
No response
Additional context
Look into some maintained and popular markdown library for android and integrate it.
Please tell us about your plan in integrating this feature, will then assign it to the person who fits the best.
Code of Conduct

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

I am interested to work on this issue. Could you assign this to me

Do you want add it as an additional option while writing notes along with the current way or replace the current one?

Replace the current one.
Would be great if one can add this kind of toolbar too

@ManogjnaSinguluri please describe how you are going to add this feature.
Try to describe it as briefly and clearly as you can.


Last Week in Pony - January 16, 2022

Version 0.6.1 of ponylang/ponycheck has been released.
See the release notes for more details.

Audio from the 2022-01-11 Pony development sync call is available.
It was an extended meeting that included extensive discussion of different approaches for object capabilties / auth primitives.

A new RFC to expose runtime scheduler information in the standard library has been opened: https://github.com/ponylang/rfcs/pull/194

A new RFC to change the API for Array iterators has been opened: https://github.com/ponylang/rfcs/pull/193

A PR to implement RFC #65 has been opened. It will be a breaking change for Pony program that interacts with Env.root, fortunately, the fix is pretty painless.

Version 0.46.0 of ponylang/ponyc has been released.
See the release notes for more details.

Version 0.7.0 of ponylang/ponycheck has been released.
See the release notes for more details.

Version 1.1.8 of ponylang/net_ssl has been released.
See the release notes for more details.

Version 0.1.3 of ponylang/peg has been released.
See the release notes for more details.

Version 0.2.3 of ponylang/semver has been released.
See the release notes for more details.

Version 0.4.5 of ponylang/http has been released.
See the release notes for more details.

Version 1.0.5 of ponylang/glob has been released.
See the release notes for more details.

Version 0.6.1 of ponylang/valbytes has been released.
See the release notes for more details.

Version 0.3.3 of ponylang/http_server has been released.
See the release notes for more details.

Version 0.2.2 of ponylang/templates has been released.
See the release notes for more details.

Version 0.1.1 of seantallen-org/lori has been released.
See the release notes for more details.


Adding Solus as the tested, working OSes.

❯ gh repo clone ThatOneCalculator/CalcFetch
Clonage dans 'CalcFetch'...
remote: Enumerating objects: 102, done.
remote: Counting objects: 100% (102/102), done.
remote: Compressing objects: 100% (102/102), done.
remote: Total 289 (delta 46), reused 1 (delta 0), pack-reused 187
Réception d'objets: 100% (289/289), 84.38 Kio | 929.00 Kio/s, fait.

Forgot that the package manager (eopkg on Solus) hasn´t been set-up. I´ll try to edit the script to add it.

Done. Tested and working correctly. It seems to be a bit more slow than other package managers because it list all the packages names on one line each, and include their package description, but it work !

Awesome, thanks!


Get @mithro permission to add labels/owners/etc in the GitHub Issue tracker

What is the process for me getting those permissions?

Fixed.


Warning on clone

https://github.com/travisjeffery/jocko/blob/master/README.md
Indicates that ...
$ go get github.com/travisjeffery/jocko
... should be used to clone the jacko source.
It does that but with a warning that...

"can't load package: package github.com/travisjeffery/jocko: no Go files in /home/fred/gopath/src/github.com/travisjeffery/jocko"

It does not seem to cause any subsequent difficulties.

yeah it's fine, that's just the go cli complaining.


Running legend sdlc on https server

Hi legend team,
I am trying to run legend SDLC locally on https but I am getting this error while doing curl. How can I resolve it?
Thanks.

Just to make sure it has nothing to do with curl and terminal/os; did you try this call with Postman or something similar?

Just to make sure it has nothing to do with curl and terminal/os; did you try this call with Postman or something similar?

Hi @akphi , yes I tried with postman. This is the error I got there

I wonder if this has something to do with you create the cert.

This issue is stale because it has been open for 30 days with no activity. Please remove stale label or add any comment to keep this open. Otherwise this will be closed in 5 days.

This issue was closed because it has been inactive for 35 days. Please re-open if this issue is still relevant.


How do i switch tabs or windows?

Is there a way to detect tabs or windows and switch to it?

You can write custom helpers for now. Below is e.g. for WebDriverIO
/**
    waitTabsLoading(ammountOfTabs, timeout) {
        timeout = timeout || 15;
        let client = this.helpers['Appium'].browser;
        return client
            .waitUntil(function () {
                return this.getTabIds().then(function (handles) {
                    return handles.length === ammountOfTabs
                });
            }, timeout * 1000, "The number of tabs hasn't changed to " + ammountOfTabs);
    }

    changeTab(num) {
        let client = this.helpers['Appium'].browser;
        return client
            .getTabIds().then(function (handles) {
                return this.switchTab(handles[num - 1]);
            });
    }

I'll add them to basic metods for WebdriverIO

https://github.com/Codeception/CodeceptJS/pull/606

@APshenkin - You said this example was for for webdriverio, but the code it using Appium.
When I change your code to use webdriverio, I get this error: "Error: Session ID is null. Using WebDriver after calling quit()?"

@patmeeker there is default methods in codeceptjs for this now. Please update codeceptJS to 1.0.2 and check documentation: http://codecept.io/helpers/WebDriverIO/#switchtonexttab

Got it! Thanks!


HBASE-28613 Use streaming when marshalling protobuf REST output

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 28s
Docker mode activated.


Not using update redux state

Do you want to request a feature or report a bug?
i performed a background task using react-native-background-fetch, the task was to simply alter the existing redux state and on the next background task fires, if the state is altered, it should not execute the similar function again. However on the second fire, the previous state is still in non-altered state, when redux-logger shows that the state in reducer had already changed. (eg: props.status (component) is false, on first fire, state.status (reducer) is changed to true, hence on second fire, it should detect that state.status is already changed and will not dispatch the action again. But on second fire props.status remains false, but redux logger shows state.status is already true)
remarks: this only happens on headless (app quits by back press). Bringing app to background works as expected.
Prior Issues
Are there any existing issues or PRs that relate to this problem? If so, link them here.
Bug Reports
What is the current behavior?
reducer state is changed but props remains previous value.
Steps to Reproduce

declare a background task to alter state, headless task registered (see react-native-background-fetch doc registerHeadlessTask)
app is close, and await background task fire
background task fire to change state

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://codesandbox.io or similar.
What is the expected behavior?
on the next fire, the same action should not be dispatch again based on the changed state
Environment Details
redux version: 3.7.2
react-native: 0.59.8
Android OS: android 8
What docs changes are needed to explain this?
does headless task does not update the changed state into props?

This is either a duplicate of reduxjs/react-redux#1298 or something specific to how react-native-background-fetch works.

does not seem similar with the issue attached.
For my case i am not using PureComponent.
also i am not having re-rendering problems, just that the props is not updated with the new state and remains the previous state.

@Jacky9425 did you solve this issue? I'm having the same problem...


poor performance of mobilenetv1,v2 and mnasnet as backbone ???

I experiment your framework with different backbone. Surprisingly, the performance of resnet34 is quite close to resnet50. Renest34 have mAP of about 0.705 (and 0.893<EMAIL_ADDRESS>on 2017 coco keypoints for 256x192, tested using ground truth box as input and without flip.
However, for mobilenetv1,v2 and mnasnet, their results are very bad, even worse then resnet18. Do you have any idea why this is so?
mobilenetv1,v2 and mnasnet has only mAP of about 0.648 on coco keypoint. Resnet18 is about 0. 657.
On imagenet, mobilenetv2(top-1 28%) and mnasnet  (top-1 26%) has performance much better than resnet18 (top-1 30%), and is comparable to Resnet 34(top-1 27%) . Resnet50 is top-1 24%

I tried moilenet v2 and AP is 0.625. Thought it should be comparable to resnet50.

@hengck23 @PaTricksStar
I tried to train moilenet v3, the AP is  0.686. But GPU FPS only is 2.
I want to know how much the moilenet v2 FPS is.
thanks!

@hengck23
Can you kindly help me with resnet 18 pre-trained weights.

@hengck23 how do you train with other backbone? would you release your code in github or could you please give me the pretrained of those model? Thanks a lot!

@hengck23 could you please give me the config file of resnet18 and mobilenet?


Creating Restore point stuck

If restore point is disabled and there are no restore points then the script will get stuck and The custom blocklist will fail to be save. Everything else works as normal though.

Realized I had an old version with a bug


Indicate if deletion step is waiting on finalizers being removed

Describe the problem/challenge you have
Currently kapp does not show users if deletion step is waiting on finalizers. This should be showed in the progress log.

Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.

Currently, the kapp delete consist of two parts: deletion of k8s resource and wait till the reconciliation. More details about each of them below:
Kapp first makes API call to deletes the resource. This API just returns an error.
And then, Kapp waits for reconciliation. Here Kapp checks for the existence of the resource. This API returns a bool indicating whether this resource exist or not. So we have to make API changes IMHO.


Java CC: Field nullability (→ OpenJML)

By default, fields (actually, all reference types) cannot be null in OpenJML 1.
This may make sense in many situations, however, as far as I understand, we more often require unset (null) fields in our entity types than not. Therefore I have gone ahead and changed the default using the --nullable-by-default compile-time flag here.
@aklenik, @KangogoDamarisKE , do you agree with this?

Discussed in a meeting, it can stay as is.


Feat/vvml example

Just a porting of blinky example to the Voice and Vision Machine Learning board.

Demo:
https://media.giphy.com/media/D3n6KvSXKIaAHwPKGZ/giphy.gif

thanks!

No, thanks to you! awesome project, kudos!


GPU ussage

Hello,
Thanks for the great approach, I was looking for something like this to do some home proyects.
Sorry, but I'm quite new in this world.
I have installed the nvidia driver on ubuntu 18.04 as it is said in the readme and I have tried the GPU version but I didn't get any difference with CPU version regarding to performance.
Maybe it is because my graphic card is quite old (GTX765M) but it is extrange for me that the performance is not better or worst, just the same.
Could you tell me if I need any extra thing to use GPU or is there any way to check it the GPU is really doing the job?
Thanks in advance.

Try this code:
gpus = tf.config.experimental.list_physical_devices('GPU')
if gpus:
  # Restrict TensorFlow to only allocate 0.5GB of memory on the first GPU
  try:
    tf.config.experimental.set_virtual_device_configuration(
        gpus[0],
        [tf.config.experimental.VirtualDeviceConfiguration(memory_limit=500)])
    logical_gpus = tf.config.experimental.list_logical_devices('GPU')
    print(len(gpus), "Physical GPUs,", len(logical_gpus), "Logical GPUs")
  except RuntimeError as e:
    # Virtual devices must be set before GPUs have been initialized
    print(e)

Also, have you installed the necessary CUDA, CUDNN to run this on GPU? and NVIDIA Drivers

@ancoca13
The current Tensorflow-GPU release (which you are using) will not train on a GPU with a CUDA compute score below 3.5.
 It is defaulting to the CPU, so that is why you see no improvement in training times.
You can see here for the proper TF-GPU set up: https://www.tensorflow.org/install/gpu
You can also see here for the compute scores for every supported CUDA GPU: https://developer.nvidia.com/cuda-gpus
(Click on CUDA-Enabled GeForce and TITAN Products to see your GTX765M score; it is in the GeForce Notebook Products list)

Well, it`s a pity that I can't take advantage of my card for this.
Thanks to the three of you for your help!

Of course!
I am unsure as to the minimum scores for other TF 1.x releases. It may take a bit of work to get this project working on 1.x, but if you would like to experiment with the other releases, there is no stopping you.

You can use nvidia-smi to check the gpu usage but I don't think driver can do much in terms of performance


Arrays are not supported

With version 0.7.1:
i have a response struct like:
#[derive(Debug, Serialize, Clone, Apiv2Schema)]
struct TestResponse {
      // Some data
      position: [f32; 3],
}

With a fixed size array field called position. When I build my application I get the following errors:
error[E0425]: cannot find crate `raw_schema` in the list of imported crates
 --> my_crate/src/responses/test.rs
  |
6 | #[derive(Debug, Serialize, Clone, Apiv2Schema)]
  |                                   ^^^^^^^^^^^ not found in the list of imported crates
  |
  = note: this error originates in the derive macro `Apiv2Schema` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0425]: cannot find crate `required` in the list of imported crates
 --> my_crate/src/responses/test.rs
  |
6 | #[derive(Debug, Serialize, Clone, Apiv2Schema)]
  |                                   ^^^^^^^^^^^ not found in the list of imported crates
  |
  = note: this error originates in the derive macro `Apiv2Schema` (in Nightly builds, run with -Z macro-backtrace for more info)

Removing the position field fixes compilation

same problem here, what's the fix for this?

Indeed I can hit the same... I'll take a look

Since we release just a few days ago and this was missed, I shall create a patch release tonight or tomorrow.


Added RNDCloud

The cloud is without stroke. Need help with that. Looks beautiful without that as well :smile:

Thanks, looks good. Would be nice to have a stroke on it, but maybe not necessary. We'll have to see.


Add not_none! function to remove None from union type

Yeah, as we discussed I think we need the equivalent of Crystal's not_nil!.
But I'm trying to think if there's a better way to name this, because not_none!, while it makes the point, kind of reads awkwardly, due to it being sort of like a double negative, which is generally frowned upon in English.
I'm trying to think if there is some "positive" way to express this rather than the double negative, while still meeting the following requirements:

is not ambiguous - it should be clear what it means
is not technically incorrect
is fairly short and succinct, since this may be used a lot
does not "take away" a method name that someone might conceivably want to use for some other purpose, since it will be impossible to override this pseudo-method, just like as

One option that comes to mind to make this more general would be to introduce not!, which takes a type argument and does the opposite of what as! does. That would make the "not None" use case be written as maybe_thing.not!(None).
This has the advantage of being flexible, because you could use it for other types besides None (some generic classes in Pony use a custom private _None to ensure that None can be a valid part of the normal value's type argument, without breaking the internal logic.
It is unambiguous, technically correct, succinct, and hopefully isn't a name that people will have wanted to use for their own method.


Incorrect control flow short-circuiting when using &&

Input
→ View on sorbet.run
# typed: true
def main
  a = 1
  b = 2

  if a && b
  end
end

Observed output
editor.rb:6: This code is unreachable https://srb.help/7006
     6 |  if a && b
             ^
Errors: 1

Expected behavior
Expected this to type-check successfully. Note that trivially replacing a && b with just a satisfies the type-checker, which is an inconsistency. Titled my ticket as to a hunch about the cause, not sure if there's a different cause.

This is a duplicate of #820. What's actually happening here is that
a && b

gets internally desugared to something like
$tmp = a
if $tmp
  b
else
  $tmp  # this is actually what is being flagged as unreachable
end

in order to emulate short-circuiting behavior. In this case, because a has the type Integer, Sorbet knows that it will always be "truth-ey", which means it'll always end up evaluating the b branch. The fact that an error is raised is itself sensible: if the a in a && b is always truth-ey, then you can always replace the whole expression with b instead. The problem here is that the error is phrased in a confusing way, which is the issue described in #820.
It's worth noting that Sorbet uses type information to compute flow-sensitivity: if the LHS has a type which might actually be "false-ey"—for example, if you replace a = 1 with a = T.let(1, T.nilable(Integer)) so that Sorbet believes that a has a type which might not always be truth-ey—then Sorbet won't flag an error, c.f. here.

Like I said, replacing a && b with just a satisfies the type-checker, which is an inconsistency. If it's desired behaviour for the type-checker to disallow a && b then it should also disallow a, since, building on your reasoning, it can always be replaced with no if statement at all.

Forgot to thank you for the detailed explanation, and I'm +1 on a better error message for this.


Demos should use demo-snippet elements

Demos currently only show the demoed elements. They should instead use demo-snippet to show code along with the elements.

Do you have an example?

@nerdkid93: is there a sample page? For the full-screen demos, a lot of the demos already use demo-snippet, but its really up to the author.

@nerdkid93: Closing this since I'm not sure if this is something we can fix on our side.
Let me know if there are any updates.


form generation for simple JSON data

@mttrbrts is doing some work on form generation here: https://github.com/mttrbrts/concerto-form

This issue has been replaced by the more general one at https://github.com/accordproject/concerto-ui/issues/4


New package: Fortinet.FortClientVPN version <IP_ADDRESS>3

Pull request has been created with komac v2.3.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

Verify:

I accidentally misspelt the package name. Instead of FortiClientVPN, I wrote FortClientVPN. There is probably something up with my i key.


Tab doesn't always create element automatically

VSCode Version: 1.15.0
OS Version: Windows 10

Steps to Reproduce:

Open an .html file and type in div
Press tab, nothing happens (except inserting spaces)
Or type in div.hello nothing happens here too (if hello is already there in the file)

Really annoying.

Really annoying.

What should happen?

It should create the element, pressing tab on div should create:

 and div.hello should create:

 which it did, but not after the update.

@ramya-rao-a is this emmet related?

@AmirSavand Please read the release notes for changes in emmet
Have you turned editor.quickSuggestions off? If not, they you should be able to see emmet related suggestions when you type the above examples.
If you are specifically looking for tab support in the absence of the suggestion list, Please follow the issue number 32243

@ramya-rao-a I didn't turn anything off, it happened exactly after update and installation of 64bit version.
I can see the suggestions, and sometimes they work, but sometimes they don't.
I hope it gets fixed in the feature, this is really annoying, slows me down.

@AmirSavand Try out our Insiders from http://code.visualstudio.com/insiders and set emmet.triggerExpansionOnTab to true.
That should help

@AmirSavand
If you don't want to use Insiders, you can bind a keyboard shortcut (not tab) to the command editor.emmet.action.expandAbbreviation and use that to expand emmet

After the update I also encountered this problem. sometimes it work .

@HengCC Please give an example

@ramya-rao-a ok, I will try that, but the tab key was really common in editors, I know by changing that it solves other issues. Thanks.

I changes it and it works.
  {
    "key": "tab",
    "command": "editor.emmet.action.expandAbbreviation"
  }

@AmirSavand Yes, We really wanted to move away from using tab for emmet due to the problems it brings for non emmet users. But there has been feedback requesting the tab->emmet feature back, and so it is now available in the latest Insiders

@ramya-rao-a  I see the change log of version 1.15.
There is an item that is described below

Now that Emmet abbreviations are displayed in the suggestion/auto-completion list, VS Code no longer triggers Emmet abbreviations with the Tab key. Removing this keyboard shortcut solves 2 major issues:

Unexpected Emmet expansions occurring when the user wanted to just add an indent using the Tab key.
Items from the suggestion list getting inserted when the user actually wanted to expand an Emmet abbreviation.
so it's the really reason that cause the tab key faild.
i was down the version to 1.14. and now it's working fine

@HengCC Once VS Code 1.15.1 is released sometime tomorrow, you can set emmet.triggerExpansionOnTab to true to get the tab -> emmet feature back.


[bug]解决了吗，同样遇到这样的问题

[bug] TypeError: string indices must be integers, not 'str' 解决了吗，同样遇到这样的问题
TypeError: string indices must be integers
Traceback:
File "/opt/conda/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 535, in _run_script
exec(code, module.dict)
File "/usr/local/serving/serving/webui.py", line 87, in
pages[selected_page]["func"](api=api, is_lite=is_lite)
File "/usr/local/serving/serving/webui_pages/knowledge_base/knowledge_base.py", line 338, in knowledge_base_page
data = [
File "/usr/local/serving/serving/webui_pages/knowledge_base/knowledge_base.py", line 339, in
{"seq": i + 1, "id": x["id"], "page_content": x["page_content"], "source": x["metadata"].get("source"),
Originally posted by @AIdrinkhotWater in https://github.com/chatchat-space/Langchain-Chatchat/issues/3475#issuecomment-2073836574

解决了吗？我也遇到了同样的问题‘


format to display am/pm

anyway to display the am/pm for 12hours?

MM/DD/YYYY h:i is what im using and the AM/PM picker is shown.


bugfixclear block for partition values for 2.1 (#39569)

Proposed changes
bp: #39569
clear block, or we will get wrong partition values.

run buildall

run external


Avoid DeprecationWarning from inspect.getargspec (rebased)

Pull request #6817 broke the build because of incompatible changes which had been added to master in the intervening time. The code here has been rebased on the latest master.

The Travis build hasn't started for some reason. Could you reset it?

LGTM


ETA for french translation?

Hello Aurélien,
You're mentioning in a previous issue a french translation (awesome!). Is there an ETA?
Thank you!

It's supposed to be released sometime around July 2017, published by the Dunod editions.  It will actually be split into two books: the first part, which is an introduction to Machine Learning using Scikit-Learn, will be the first book, and the second part, which is about Deep Learning with TensorFlow will be the second book.
Enjoy!  :)

Thank you Aurélien!


[FEATURE] Add other payments methods to support your efforts (PayPal)

Is your feature request related to a problem? Please describe.
I'd like to contribute to your efforts with some coffees.
Describe the solution you'd like
I'd like to send you money throught Paypal.

@goddanao Thanks for your contribution and support, I just created a  new PayPal account to receive all funding via PayPal
https://paypal.me/huangzhhui

@huangzhhui
thank you, i really appreciate your work (and your patience with noobs like me).
Beers are comings!


Slow, collision-prone hash algorithm

The hash function appears to be very slow-- it took 42 seconds on my computer to hash the OSX built in wordlist ('/usr/share/dict/words').
Additionally, it produced a massive number of collisions: out of 235886 hashes produced, only 1544 were unique.
Compare this to the built in MD5 hasher, which took a third of a second and produced 235886 unique hashes.

Hey Eli, where do you find this list of built in words? I can't find it and I am on OS X El Captain.
The speed is an issue, right now it runs in exponential time or slower because I am converting every string into an integer then converting back into an alphanumeric string.
The collisions your finding are strange though, I tested the hashing function on [str(elem) for elem in range(2000)] and found no collisions, completed in just over a second. I also did the same for N-permutations of the alphabet of length 3, such as 'aaa' then 'aab', etc and found no collisions.

Not sure why you can't find it-- it should be located at /usr/share/dict/words.
I really think you'd be better off using a previously developed hash function, like MD5 or SHA-1.

Found it, I guess you have to go to the doc through terminal, its invisible in finder.
I would, but I find it more fun to try and make my own hash function.


MINOR: [Dev] Add mapleFU as collaborator and remove inactive collaborators

Rationale for this change
Adding @mapleFU as a collaborator.
What changes are included in this PR?
Add collaborator and remove inactive collaborators.
Are these changes tested?
Not required
Are there any user-facing changes?
No

There is an open issue to document this process to make it more clear and transparent: https://github.com/apache/arrow/issues/35130

CC~ @kou

thanks contribution of @mapleFU ❤!


[Cogs Face] Unify the limit of size and format for face/person/facelist/personGroup IDs

ID:

personId, detected/persisted faceId are changed to type of uuid in #2164
persongroupId and facelistId are unified as: "maxLength": 64,,  "pattern": "^[a-z0-9-_]+$"

name for facelist/person/personGroup: "maxLength": 128
userData:

faces: "maxLength": 1024
facelist/person/personGroup: "maxLength": 16384

Thanks @lmazuel
I have checked all samples breaking the CI and found:

All of them are not introduced by this PR
The content type errors have to do with Azure/oav#136 (Azure/oav#167)

So I think it's good for this PR to get merged.

No modification for AutorestCI/azure-sdk-for-ruby

No modification for AutorestCI/azure-sdk-for-python


next launch date showing a past date

Due the delaying of the Launch intended to be on Friday, the sensor is now showing me September 1 2020 10:00am. (AEST)
If the api returns a date in the past shouldn't you report N/A or similar ?

For reference, I see the SpaceX API  https://api.spacexdata.com/v3/launches/next  is showing Sep 1 as the next launch date and today is Sep 19.
launch_date_utc: "2020-09-01T00:00:00.000Z"
It does make sense to do a check on the value being sent back, maybe return some null value.  I don't know if @djtimca may prefer to do this check in here or their Python library.

I could add an additional sensor for confirmed launch day for backwards compatibility and return unavailable when confirmed flag is false. That my be the cleanest solution. Will add this in the next release.

@djtimca Sounds like the best way 👌
Great job on the integration BTW. Many Thanks. 👍

Fixed in version 011 release. Also added device information and rewrote updates to better leverage the data coordinator from HA. Note will require version .115 now.


feat: prepend custom order to default sort order

Make custom sortOrder prepend to defaultSortOrder, instead of override it, so user only need send keys that must on top, the rest known fields still sort by defaultOrder.
Should be much easier to use.

forgot custom order could be function, should support?

We should support custom sort order being a function too.

@keithamus I can add type check here, but are you ok with prepending custom sort order array to default array?

I think #102 subsumed this. Do you want to rebase for the test case at least?

I like how small this PR ended up being

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


clipmenu: add module

Description
This is the same as the NixOS service clipmenu.
Checklist

[x] Change is backwards compatible.

[x] Code formatted with ./format.

[x] Code tested through nix-shell --pure tests -A run.all.

[ ] Test cases updated/added. See example.

[x] Commit messages are formatted like

[x] Added myself as module maintainer. See example.

[x] Added myself and the module files to .github/CODEOWNERS.

I haven't added any new test case because this module only adds a systemd service. If there is a common way to test that, can someone please give me an example?

Thanks! Rebased to master in 43ef16c3e169607743ecbfffb3284e375a4df845. Note I made the module conditional on the target being Linux since it uses systemd.


Image in Shader Read Only Optimal layout could be used in a general layout through a Descriptor Set

I have an image in the VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL layout and when I am using it in a DescriptorImageInfo with a layout VK_IMAGE_LAYOUT_GENERAL. It is a mistake but Validation Layers don't tell me anything.

This should cause a PERF WARNING. We check the descriptor image layout at draw time here. LAYOUT_GENERAL acts like a wildcard, though, and won't cause an error when matched with any other layout type, just a perf warning here if both layouts aren't GENERAL.

Shouldn't it be an error since the actual layout for the image (VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL in this case) doesn't match what the descriptor says it will be (VK_IMAGE_LAYOUT_GENERAL)?
Referring to this line from the spec for VkDescriptorImageInfo:

imageLayout must match the actual VkImageLayout of each subresource accessible from
imageView at the time this descriptor is accessed

@cforfang I believe the spec language there is overly restrictive and needs to be updated. I need confirmation, though. @chrisforbes thoughts?
I believe there used to be spec language that explicitly said that GENERAL matched any layout but I don't see it now so I'm either making it up or it's been changed. Validation has definitely always matched GENERAL with any other layout type so if there's been an intentional spec change to void that behavior then we can certainly update that to an error.
Current closest language I see for GENERAL matching all layouts is in its description:

VK_IMAGE_LAYOUT_GENERAL supports all types of device access.

@tobine I suspect we're just broken here. GENERAL matches all types of device /access/, but the layout in the descriptor must match the layout of the resource at draw time. Will dig into this tomorrow.

I did another test today.
If the current layout is TRANSFER_DST, if you want to read it via a DescriptorImageInfo with a layout "SHADER_READ_ONLY" or "GENERAL", the layers do not tell anything as well...
Test done on Windows 10 and NVIDIA 970M GTX if it is usefull. V

I looked into this the other day, and I understand the breakage properly now. When this is the first use of the image subresource in a CB, we mishandle the layout matching requirement - we can't do the 'prompt' check at recording of the draw; and then we fail to record the requirement into the CB so we also miss it at execution time.
This is a symptom of some bigger mess around layout tracking that needs to be cleaned up -- @tobine, you had a plan at one point to use the same machinery you're using for memory accesses in order to fix all these cases properly; any further thoughts on that?

Still a long way off from overhaul of layout tracking. Still possible to integrate with mem access code but after reviewing layout code I was a bit too optimistic in potential ease of this integration. Also Mem access tracking still needs plenty of work and no hope for near-term solution down this path. More duct tape and bubble gum may be best hope for fixing this issue in a reasonable timeframe.

Ran into this today. I had the layout set to the current layout and not the layout that It would be during shader access.
I Received no errors even when changing my DescriptorImageInfo's imageLayout to something as ridiculous as VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL, when it should have been VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL.
It didn't cause any issues, but I definitely am glad I found it, for one reason or another.


docs: update transformer documentation to include async transforms

Summary
Update transformer documentation to include async transforms. This feature was released in Jest 27, but it looks like the docs weren't updated
Test plan
N/A

I have signed the CLA

ok. I've updated the versioned docs as well


[encoding][ascii] pass precision to std::format

pass precision settings to std::format
introduces private Buffer class to not have to repeat write logic. The buffer stores an std::ostringstream or std::string depending on using std::format. I figured that the overhead is small and I wanted to avoid more preprocessor ifs...

Interestingly, the file size seems larger when using std::format, both with and without the changes in this PR.

ping @timokoch, I cannot assign reviewers...


ClusterRole in /var/lib/rancher/k3s/server/manifests not created

Version:
k3s version v1.17.4+k3s1 (3eee8ac3)
K3s arguments:
server --cluster-init --bind-address ${internal_ip} --tls-san ${external_ip} --docker --no-deploy traefik
Describe the bug
I'm trying to automatically deploy a rook nfs setup following the guide from here.
Following the guide I have two yaml files to kubectl apply to the cluster. One of which is this operator.yaml.
When using kubectl apply -f operator.yaml after waiting for my k3s cluster to spin up I get no issues whatsoever.
However when I put my operator.yaml into the manifests folder I get the following error in the k3s logs and the ClusterRole/rook-nfs-operator is not created.
To Reproduce
Spin up a cluster with the above arguments and put the operator.yaml into the /var/lib/rancher/k3s/server/manifests folder.
Expected behavior
k3s successfully applies the yaml to the cluster and creates all resources mentioned in the yaml.
Actual behavior
k3s creates all resources apart from the ClusterRole/rook-nfs-operator and following warning is produced in the logs
kubectl get ClusterRole rook-nfs-operator
Error from server (NotFound): clusterroles.rbac.authorization.k8s.io "rook-nfs-operator" not found

May 01 00:13:08 master k3s[5153]: E0501 00:13:08.336625    5153 clusterroleaggregation_controller.go:180] admin failed with : Operation cannot be fulfilled on clusterroles.rbac.authorization.k8s.io "admin": the object has been modified; please apply your changes to the latest version and try again
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.342597    5153 shared_informer.go:204] Caches are synced for node
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.342630    5153 range_allocator.go:172] Starting range CIDR allocator
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.342635    5153 shared_informer.go:197] Waiting for caches to sync for cidrallocator
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.342640    5153 shared_informer.go:204] Caches are synced for cidrallocator
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.378428    5153 shared_informer.go:204] Caches are synced for TTL
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.389931    5153 shared_informer.go:204] Caches are synced for ReplicationController
May 01 00:13:08 master k3s[5153]: E0501 00:13:08.405713    5153 clusterroleaggregation_controller.go:180] admin failed with : Operation cannot be fulfilled on clusterroles.rbac.authorization.k8s.io "admin": the object has been modified; please apply your changes to the latest version and try again
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.421954    5153 range_allocator.go:373] Set node master PodCIDR to [<IP_ADDRESS>/24]
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.426550    5153 range_allocator.go:373] Set node storage PodCIDR to [<IP_ADDRESS>/24]
May 01 00:13:08 master k3s[5153]: E0501 00:13:08.444979    5153 clusterroleaggregation_controller.go:180] edit failed with : Operation cannot be fulfilled on clusterroles.rbac.authorization.k8s.io "edit": the object has been modified; please apply your changes to the latest version and try again
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.480976    5153 kuberuntime_manager.go:981] updating runtime config through cri with podcidr <IP_ADDRESS>/24
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.481810    5153 docker_service.go:356] docker cri received runtime config &RuntimeConfig{NetworkConfig:&NetworkConfig{PodCidr:<IP_ADDRESS>/24,},}
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.481993    5153 kubelet_network.go:77] Setting Pod CIDR:  -> <IP_ADDRESS>/24
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.525781    5153 flannel.go:92] Determining IP address of default interface
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.525996    5153 flannel.go:105] Using interface with name ens3 and address <IP_ADDRESS>
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.527729    5153 kube.go:117] Waiting 10m0s for node controller to sync
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.527751    5153 kube.go:300] Starting kube subnet manager
May 01 00:13:08 master k3s[5153]: time="2020-05-01T00:13:08.536579538Z" level=info msg="labels have been set successfully on node: master"
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.543420    5153 shared_informer.go:204] Caches are synced for disruption
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.543572    5153 disruption.go:338] Sending events to api server.
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.551274    5153 network_policy_controller.go:148] Starting network policy controller
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.602858    5153 shared_informer.go:204] Caches are synced for ReplicaSet
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.615310    5153 shared_informer.go:204] Caches are synced for deployment
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.622561    5153 controller.go:606] quota admission added evaluator for: replicasets.apps
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.633472    5153 event.go:281] Event(v1.ObjectReference{Kind:"Deployment", Namespace:"rook-nfs-system", Name:"rook-nfs-operator", UID:"3c877b50-24b7-4876-bc0c-b24c1810e9c3", APIVersion:"apps/v1", ResourceVersion:"229", FieldPath:""}): type: 'Normal' reason: 'ScalingReplicaSet' Scaled up replica set rook-nfs-operator-849df9fc9f to 1
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.640540    5153 event.go:281] Event(v1.ObjectReference{Kind:"Deployment", Namespace:"kube-system", Name:"local-path-provisioner", UID:"cfc4cc80-73e5-4cbc-83bf-34dcd85d0d1f", APIVersion:"apps/v1", ResourceVersion:"183", FieldPath:""}): type: 'Normal' reason: 'ScalingReplicaSet' Scaled up replica set local-path-provisioner-58fb86bdfd to 1
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.647758    5153 event.go:281] Event(v1.ObjectReference{Kind:"Deployment", Namespace:"rook-nfs-system", Name:"rook-nfs-provisioner", UID:"5c2f1e63-bb61-41d0-8cd5-f96febc9485f", APIVersion:"apps/v1", ResourceVersion:"231", FieldPath:""}): type: 'Normal' reason: 'ScalingReplicaSet' Scaled up replica set rook-nfs-provisioner-6769dbd5db to 1
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.656611    5153 event.go:281] Event(v1.ObjectReference{Kind:"Deployment", Namespace:"kube-system", Name:"coredns", UID:"6c25ab45-ef62-4d9a-b452-0c46853345b8", APIVersion:"apps/v1", ResourceVersion:"174", FieldPath:""}): type: 'Normal' reason: 'ScalingReplicaSet' Scaled up replica set coredns-6c6bb68b64 to 1
May 01 00:13:08 master k3s[5153]: I0501 00:13:08.664013    5153 event.go:281] Event(v1.ObjectReference{Kind:"Deployment", Namespace:"kube-system", Name:"metrics-server", UID:"b46dca63-e9cf-474c-87a3-b3f916338984", APIVersion:"apps/v1", ResourceVersion:"208", FieldPath:""}): type: 'Normal' reason: 'ScalingReplicaSet' Scaled up replica set metrics-server-6d684c7b5 to 1

A full log can be found here
Additional notes
Restarts/Reboots seem to have no effect.
I have attempted to split the rook-nfs-operator ClusterRole, ServiceAccount and ClusterRolebinding into a seperate file which then gives the same error as above (repeatedly with every restart/reboot)
Apr 30 23:30:22 master k3s[5094]: E0430 23:30:22.750604    5094 clusterroleaggregation_controller.go:180] edit failed with : Operation cannot be fulfilled on clusterroles.rbac.authorization.k8s.io "edit": the object has been modified; please apply your changes to the latest version and try again
Apr 30 23:30:22 master k3s[5094]: E0430 23:30:22.761152    5094 clusterroleaggregation_controller.go:180] admin failed with : Operation cannot be fulfilled on clusterroles.rbac.authorization.k8s.io "admin": the object has been modified; please apply your changes to the latest version and try again
Apr 30 23:30:22 master k3s[5094]: I0430 23:30:22.773058    5094 shared_informer.go:204] Caches are synced for PVC protection
Apr 30 23:30:22 master k3s[5094]: E0430 23:30:22.838669    5094 clusterroleaggregation_controller.go:180] admin failed with : Operation cannot be fulfilled on clusterroles.rbac.authorization.k8s.io "admin": the object has been modified; please apply your changes to the latest version and try again

I don't believe the clusterroleaggregation_controller errors you've singled out are related to your manifest, as that manifest doesn't touch the 'edit' or 'admin' clusterroles. These messages aren't really errors either; they usually just indicate a temporary conflict due to multiple components trying to update an object at the same time during startup.
When your manifest is loaded successfully, it should create a custom resource of type 'addon' with a name matching the file basename. What do you see if you run kubectl get addon -A ?

Hi, thanks for the reply, I'm still quite new to Kubernetes.
kubectl get addon -A
NAMESPACE     NAME                        AGE
kube-system   ccm                         25s
kube-system   coredns                     25s
kube-system   local-storage               25s
kube-system   aggregated-metrics-reader   24s
kube-system   auth-delegator              24s
kube-system   auth-reader                 24s
kube-system   metrics-apiservice          24s
kube-system   metrics-server-deployment   24s
kube-system   metrics-server-service      24s
kube-system   resource-reader             24s
kube-system   operator                    24s
kube-system   rolebindings                24s

kubectl get addon -n kube-system operator -o yaml
apiVersion: k3s.cattle.io/v1
kind: Addon
metadata:
  creationTimestamp: "2020-05-01T23:12:14Z"
  generation: 1
  name: operator
  namespace: kube-system
  resourceVersion: "288"
  selfLink: /apis/k3s.cattle.io/v1/namespaces/kube-system/addons/operator
  uid: 6e894aaa-0016-4115-bbcc-665aef956faf
spec:
  checksum: c1240e6573901a4ef3d0b23066d42376d35965623bbb48dc3cd2e7c86667cc3b
  source: /var/lib/rancher/k3s/server/manifests/operator.yaml
status: {}

However, if I apply the operator.yaml again, you can see that the clusterrole and clusterrolebinding are created and not configured:
kubectl apply -f /var/lib/rancher/k3s/server/manifests/operator.yaml
namespace/rook-nfs-system configured
customresourcedefinition.apiextensions.k8s.io/nfsservers.nfs.rook.io configured
clusterrole.rbac.authorization.k8s.io/rook-nfs-operator created
serviceaccount/rook-nfs-operator configured
clusterrolebinding.rbac.authorization.k8s.io/rook-nfs-operator created
deployment.apps/rook-nfs-operator configured
clusterrole.rbac.authorization.k8s.io/rook-nfs-provisioner-runner configured
clusterrolebinding.rbac.authorization.k8s.io/run-nfs-provisioner configured
serviceaccount/rook-nfs-provisioner configured
deployment.apps/rook-nfs-provisioner configured

(Ommitting Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply for every one of the items for readability)

as that manifest doesn't touch the 'edit' or 'admin' clusterroles

If I'm creating a new ClusterRole, how does that not touch the 'edit' or 'admin' clusterroles?
Sorry if this is a noob question.


OCM-12660 | feat: Refactor op + acc roles sharedvpc policies

Adds route53 assume role policy to control plane + gets rid of needless func for EnsurePolicyWithName + refactors a couple of things (fixing a bug)

/lgtm


Stats Not Showing on LBRRY TV

Stats not showing on LBRY TV but do show in the app.
LBRY TV Screenshots:

LBRY App screenshots:

The API was down. The app kept stats until I refreshed, hence why you could see them there, but not LBRY TV.


added destructuring for rest parameters and formal parameters

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thanks for the contribution and nice first PR!