ltfs_ordered_copy: partially copy a dir while preserving hierarchy

We sometimes have files in a folder on a tape which we want to copy without copying the whole folder, but while keeping the existing hierarchy at the destination: what's the right set of params to use?
Say I have the following files:
/mnt/tape/foo
- /bar
  - 1.txt
  - 2.txt
  - 3.txt
- /baz
  - 4.txt

And want to copy only:
['/mnt/tape/foo/bar/1.txt', '/mnt/tape/foo/bar/2.txt', '/mnt/tape/foo/bar/4.txt']
To the destination /home/usr/copy such that the result is:
/home/usr/copy/foo
- /bar
  - 1.txt
  - 2.txt
- /baz
  - 4.txt

In my testing, if I run something like:
ltfs_ordered_copy '/mnt/tape/foo/bar/1.txt' '/mnt/tape/foo/bar/2.txt' '/mnt/tape/foo/bar/4.txt' -t /home/usr/copy

All the files end up in /home/usr/copy without the directories foo/bar or foo/baz.

I think the behavior of the ltfs_ordered_copy is very similar to GNU's cp. So it is quite natural that you reported.
I believe it is not easy to copy some of files under the tree with keeping the structure of tree by cp command also.
I think you have 2 options.

Copy entire tree with -r option and then remove unnecessary files
Copy the files with file list with using --keep_tree line find /mnt/tape/foo -type f | grep -v 3.txt'' | ltfs_ordered_copy -t /home/usr/copy/foo --keep-tree=/mnt/tape/foo

You can see various examples on the wiki.

Thanks, --keep-tree was indeed what I needed.

Thanks, --keep-tree was indeed what I needed.


Stanford Gecko & Test Affiliations

Add Stanford Gecko team & test affiliations to GCI/VCI.... see affiliation spreadsheet

They're up and running. Thanks.


⚠ Bofrost.de has degraded performance

In 1be0772, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1150 ms

Resolved: Bofrost.de performance has improved in 3511b40 after 7 minutes.


CP-12901: Infinite cycle

From unknown CodePlex user on Sunday, 29 March 2009 01:36:12
Consider code

using System;
using System.Collections.Generic;
using QuickGraph;
using QuickGraph.Algorithms;

namespace QuickGraphDemoHelper
{
    class Program
    {
        static void Main(string[] args)
        {
            BidirectionalGraph<int, Edge> graph = new BidirectionalGraph<int,Edge>();
            int vertex = 1;
            graph.AddVerticesAndEdge(new Edge(vertex, vertex));
            var pathFinder = AlgorithmExtensions.ShortestPathsBellmanFord<int, Edge>(graph, edge => -1.0, vertex);
            IEnumerable<Edge> path;
            pathFinder(vertex, out path);
        }
    }
}

It causes OutOfMemoryException, because of negative cycle in the graph. It would be great to take into account such situation in method AlgorithmExtensions.ShortestPathBelmanFord

Form unknown CodePlex user on Sunday, 29 March 2009 09:30:40
Resolved with changeset 32649.


Paymentrequest tweaks

This PR more correctly supports Chrome on Android.

@alrra dunno if you get a notification for this, but I added you as a reviewer since it's JS stuff.

dunno if you get a notification for this,

@melanierichards I do.

:zzz:


Update pylintrc file

Thanks for opening a PR. We appreciate your engagement with the repo. However, we only accept substantial contributions for merging.


Validation references: better visualization

At https://github.com/kiali/kiali-ui/pull/1522 we introduced the concept of "referenced objects" into Istio Object yaml page. The first iteration consisted in the following:

If there are referenced objects, we list those objects on a box in the right side.
If there aren't referenced objects, the box is not present.

The goal of this issue is to revisit the implementation and adjust it to UX/UI criteria. I am mainly thinking in two aspects:

How the box is shown. Perhaps it should be expandable (show/hide actions). Should we show always the feature?
How the items within the box are represented. Should it be a list? How is represented every object? (e.g. G namespace/servicename is the format).

Big like on this feature.
Some inputs (that do not replace a proper UX design, of course):

I would always display the box with the references and not hide it, so users know other objects are referenced. Whether to have collapse/expand on the content would depend IMO on how big is it, in other words how many referenced objects in average we would have and how much screen it will take to show them.
Is it possible to show for each reference in which line it is referenced in the current yaml?

how many referenced objects in average we would have and how much screen it will take to show them.

At a first sight, it doesn't look like we are going to have a lot of references. It might be corner cases where there are a lot of references.
Regarding expanding/collapsing, I was thinking more of collapsing horizontally. Not to take a lot of space from the YAML editor.

Is it possible to show for each reference in which line it is referenced in the current yaml?

Yes, it would be possible but It would be a broader implementation in the backend. References aren't classified per error/warning so matching which reference goes with which error/warning is not possible now.

Yes, it would be possible but It would be a broader implementation in the backend. References aren't classified per error/warning so matching which reference goes with which error/warning is not possible now.

I was not thinking necessarily referring it per error warning, or I misunderstood the feature?
Can't the reference exist without err/warning?

Can't the reference exist without err/warning?
No, right now, the reference is attached to a validation.

@serenamarie125 listen to the 12/3 recording, and i'll add mock based on that discussion .... notes were as follows:

“Validation references” is the card title - try using an inline notification here
Be sure that it spans the entire width ( right aligned with the actions button )

@xeviknal, here are a couple of options:
Option A - at the Dec-03 meeting, we talked about trying to use an inline notification, to create a visual connection between the icon showed in the line number column with the panel showing the Validation References:

Option B - this takes the styling of another page in OpenShift where you can see related information ( Schema & YAML Samples ), alongside the editor


Configured dependabot to group scheduled updates

It would be easier to handled scheduled updates if they were grouped.
Here's the example of the configuration that needs to be made.
https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/customizing-dependency-updates#grouping-dependabot-updates-into-one-pull-request

Looks like this change is effective as show in the grouped updated inside dependabot PR #378


[tw] Localize Serverless for Traditional Chinese

Localize Serverless for Traditional Chinese
https://glossary.cncf.io/serverless/

Get Merged,thank @Fionn88


Padding wrapper fix

Remove 2 lower padding, same padding as manual now.
From:

To:

Example padding from manual:

Just added capitalisation to the "deno doc" same as the rest of the website

Just added capitalisation to the "deno doc" same as the rest of the website

It is stylistically intentional that it is lowecase deno doc

Ah @lucacasonato I will revert them then, confused, should the manual and the other sections be lowercase too or?

Ah @lucacasonato I will revert them then, confused, should the manual and the other sections be lowercase too or?

No only deno doc, so it matches the cli command :-)

@lucacasonato Magic, reverted them changes now :)


WIP - Platform feature area generic template

Description
Refactors implementation of Vector Database page as a piece of the more generic platforms collection with a basic layout template for platform solutions and configuration. The Vector Database page is rewritten as a Markdown file and rendered using a solutions.html layout template. This simplifies the content management, and authoring as well as transparently applying styling.
It is the expectation that this will evolve as more Platform Solution Feature Area content pages are created.
Marked WIP until some matters are resolved.
Issues Resolved
https://github.com/opensearch-project/project-website/issues/1673
https://github.com/opensearch-project/project-website/issues/1670
Check List

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.

All of this is being iterated on very differently. Closing as obsolete.


Bulk fix adding --scope parameter to az role assignment create

Docs Build status updates of commit ac31fe1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/what-is-azure-cli.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Update markdown at DEV_GUIDE.md

Codecov Report

Merging #643 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #643   +/-   ##
======================================
  Coverage    35.3%   35.3%
======================================
  Files          40      40
  Lines         946     946
  Branches       18      18
======================================
  Hits          334     334
  Misses        612     612

Continue to review full report at Codecov.

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

Penyaslove!

<3


Subgroups

In the spirit of the suggestions by @legendface66, I suggest we start splitting up into subgroups with defined tasks. The end result of the subgroups' work will usually be a pull request that can be voted on by the members of the working group.
These are the current subgroups:

Mission statement

Leader: @dataadave

NNS Core Properties

Leader: @bdemann

Thanks for volunteering to lead these subgroups. If you could each make an issue that tracks your Subgroup, that would be great. Let's use a format for the title like: Subgroup: Mission Statement

Lucky me I chose exactly that title, looking forward to the discussion

@bdemann super keen to get involved with the NNS Core properties working group. Please let me know how to help

@legendface66 for right now the best way to get involved is to continue sharing your ideas here https://github.com/dfinity/wg-governance/issues/2. We want to get a lot of community feedback on these principles. We'll use that issue to track all of the ideas, and what people think of them.


extra_packages and extra_system_packages added to redhat install task

Removing extra_packages and extra_system_packages under install task and added to redhat install task
Signed-off-by: rakeshgm<EMAIL_ADDRESS>

log link: http://magna002.ceph.redhat.com/hyelloji-2020-04-06_08:55:03-kcephfs-nautilus-distro-basic-clara/370342/teuthology.log


TypeError: Cannot read property 'paragraph' of undefined

Error reporting link
TypeError: Cannot read property 'paragraph' of undefined

        at updateOtherReference (other:14)
        at updateReference (main:83)

I believe this error is caused when a non heading/figure/table bookmarked object is referenced and update references is run. The call to updateOtherReference() in main.gs does not contain any arguments while the function header contains four.
Upon fixing this, I also encountered a typo in updateOtherReference() in other.gs.
Both have been fixed in 4410441b4aeabfb1722827077619a7c749123f7c

This is probably a result of the aforementioned typo.
ReferenceError: l is not defined

        at updateOtherReference (other:20)
        at updateReference (main:82)


Fixed pip backtracking for coverage package

No review needed.

coverage: 34.352%. remained the same
when pulling 2372a4c4e8281a5a0adce4a975f8e2920f066ad0 on andy/fix-coverage-backtracking
into f90bf485c786671e1408eab26dc70aba93f67704 on master.


Remove fixBlobDownloadWithIframes kill switch

Task/Issue URL: https://app.asana.com/0/1198194956794324/1208351041752901/f
Description
Remove the fixBlobDownloadWithIframes kill switch and all the (deactivated) code behind it
Steps to test this PR
Just code review, we're removing code that doesn't execute

#5184  👈
develop

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

Join @aitorvs and the rest of your teammates on  Graphite


Full Screen Support

Hi @SCENEE, I wanted to request an enhancement to FloatingPanel, and to say thank you for the work you've put into it.
I've modified the Stocks example to reflect the changes I'd like to see ideally.

Currently on an iPhone X/XS up to the red bar is the highest that a floating panel can go up to when setting insetFor(position: FloatingPanelPosition) -> CGFloat?.
The user experience I'm trying to recreate allows the view controller to go full screen, more akin to what you see in the Uber and Lyft apps. Below is what it would look like in the ideal circumstance, if I was able to set to a ViewController's topAnchor rather than it's safeArea's topAnchor.

I messed around with the stocks example for a bit but ran into edge cases, and was wondering if you would consider implementing functionality that would allow this to be a part of the library itself.
Please let me know if I can be more clear, provide more information, or be helpful another way. Thank you so much!

Thanks, @mergesort!  I will try to implement FloatingPanelFullScreenLayout protocol(adopting FloatingPanelLayout) for the use case.

I added FloatingPanelFullScreenLayout protocol in support-full-screen branch(PR #97). ThreeTabBarPanelLayout in Samples app is a sample of the usage.

I just got a chance to play around with this and it looks perfect to me. I really appreciate you implementing this @SCENEE!
Thanks a bunch!


Create 166.md

Newspost for 26.2

I think this deserves a highlight:

process_info/2 now supports lookup of values for specific keys in the process dictionary.


Guide fails around #10

This was working earlier, but I backtracked, and it started failing.
MacOS Big Sur / fails identically with Chrome & Safari
https://kaboomjs.com/guide#10

Thanks for catching this! Fixed in 9e63d64


Feat adui 4842 gather examples in same files #2

Proposed Changes
gathered Calendar with date pickers and headers with breadcrumbheaders
Potential Breaking Changes
only affect the demo
Acceptance Criteria

[ ] The proposed changes are covered by unit tests
[ ] The potential breaking changes are clearly identified
[ ] README.md is adjusted to reflect the proposed changes (if relevant)

Codecov Report

Merging #1315 into feat-ADUI-4842-Gather-examples-in-same-files will not change coverage.
The diff coverage is 100%.

@@                              Coverage Diff                              @@
##           feat-ADUI-4842-Gather-examples-in-same-files    #1315   +/-   ##
=============================================================================
  Coverage                                         99.45%   99.45%
=============================================================================
  Files                                               362      362
  Lines                                              9121     9121
  Branches                                           2159     2159
=============================================================================
  Hits                                               9071     9071
  Misses                                               50       50

Impacted Files
Coverage Δ

...s/react-vapor/src/components/radio/RadioSelect.tsx
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

I think some // start-print and // stop-print directives would cleanup the source code displayed in the demo quite a bit.

@dmgauthier
What do you think about removing the last 2 examples (without padding and without border-bottom)?
I think we might not want to front these props that much and they speak for themselves in case we really need to use them (hasPadding={false}, hasBorderBottom={false}).

I would change the title of the Datepicker section for:

Datepicker
Calendar and other related components are meant to pick dates, so it should be intuitive enough this way IMO.

I think we should remove the Breadcrumbs section now that it is combined in the Header section.

Since the other pages/components don't have a title, I would remove this one for now.

@dmgauthier
What do you think about removing the last 2 examples (without padding and without border-bottom)?
I think we might not want to front these props that much and they speak for themselves in case we really need to use them (hasPadding={false}, hasBorderBottom={false}).

I the demo was not open source, I would say yes for the hasPadding={false}. And since some times the border bottom of the header will overlap with the borderTop of the table, I strongly suggest that we keep the hasBorderBottom={false}


feat: Safe Dispatchers

https://github.com/starkware-libs/cairo/pull/3591/files

From feedthefed

Pls note that SAFE DISPATCHERS DON'T WORK ON TESTNET/MAINNET (yet)!

ATM, an internal call can't return Err(_), as this is not handled by the sequencer and the Starknet OS. The latter would have to support reverting the state diffs of the failed call, which is atm not yet implemented.


Change help text for nerd job run

Expected Behavior
nerd job run -h should say that the --output option has the format <DATASET_NAME>:<JOB_DIR>
Actual Behavior
nerd job run -h says that the --output option has the format <DIR>:<JOB_DIR>
Steps to Reproduce the Problem

Change the word ;)

Specifications

Version (using nerd version):  1.0.0-alpha3 (e4309e90)
Platform: macOS

Is fixed in #348


readme: add section on versioning

This does not yet address some of the additional workflows and policies we'll need to adopt as a result.  For example, when do we cut new releases, do we attempt to maintain a formal changelog, or at least release notes when we cut a new release, etc.  This also requires that we update go docs to call out which methods are exposing preview functionality from the GitHub API.
Fixes #376

This sounds good to me.
One thing I'm left wondering is... what does libraryVersion now become?
Do we want to add a section in CONTRIBUTING.md that describes how contributors are expected to bump the libraryVersion on each PR? Or do we only use GitHub tagged releases for this new versioning?  (Or both?  ...probably not.)
This may all fall under "additional workflows and policies" that you called out in the description above, so maybe it can all be addressed later.

Nit: The rest of README.md, and Go style at large uses 1 space between sentences, not two.
Everything I read sounds reasonable and SGTM, up until this part:

We do our best to call out which portions of a method's behavior and/or data are part of a GitHub Preview in the appropriate Go doc.

I don't think we should do that, we should have people look that information up in GitHub documentation. I think it would cause too much churn to deal with in our Go package, and it'd end up being too inaccurate and out of date more often than not. It'd cause merge conflicts, delays in PRs being merged, etc. In the end, I see not nearly enough benefit, but huge downsides.


make glib::Error Send/Sync?

Otherwise it seems rather incompatible with error_chain crate.
I get e.g.:
error[E0277]: the trait bound `*mut glib_sys::GError: std::marker::Send` is not satisfied in `errors::Error`
  --> src/errors.rs:9:1
   |
9  | / error_chain! {
10 | |     foreign_links {
11 | |         Alsa(alsa::Error);
12 | |         IO(std::io::Error);
...  |
15 | |     }
16 | | }
   | |_^ `*mut glib_sys::GError` cannot be sent between threads safely
   |
   = help: within `errors::Error`, the trait `std::marker::Send` is not implemented for `*mut glib_sys::GError`
   = note: required because it appears within the type `glib::boxed::AnyBox<glib_sys::GError>`
   = note: required because it appears within the type `glib::boxed::Boxed<glib_sys::GError, glib::error::MemoryManager>`
   = note: required because it appears within the type `glib::Error`
   = note: required because it appears within the type `errors::ErrorKind`
   = note: required because it appears within the type `errors::Error`
   = note: required by `error_chain::ChainedError`
   = note: this error originates in a macro outside of the current crate

error[E0277]: the trait bound `*mut i8: std::marker::Send` is not satisfied in `glib_sys::GError`
  --> src/errors.rs:9:1
   |
9  | / error_chain! {
10 | |     foreign_links {
11 | |         Alsa(alsa::Error);
12 | |         IO(std::io::Error);
...  |
15 | |     }
16 | | }
   | |_^ `*mut i8` cannot be sent between threads safely
   |
   = help: within `glib_sys::GError`, the trait `std::marker::Send` is not implemented for `*mut i8`
   = note: required because it appears within the type `glib_sys::GError`
   = note: required because of the requirements on the impl of `std::marker::Send` for `std::ptr::Unique<glib_sys::GError>`
   = note: required because it appears within the type `std::boxed::Box<glib_sys::GError>`
   = note: required because it appears within the type `glib::boxed::AnyBox<glib_sys::GError>`
   = note: required because it appears within the type `glib::boxed::Boxed<glib_sys::GError, glib::error::MemoryManager>`
   = note: required because it appears within the type `glib::Error`
   = note: required because it appears within the type `errors::ErrorKind`
   = note: required because it appears within the type `errors::Error`
   = note: required by `error_chain::ChainedError`
   = note: this error originates in a macro outside of the current crate

Yes, glib::Error should be Send+Sync. Want to send a pull request?


Cookie-based login works only if $duration > 0

Maybe not problem, but feature request.
What steps will reproduce?
Set
user' => [
    'enableAutoLogin' => true,
]

Do $app->user->login($userModel)
What is the expected result?
User logged in, browser gets identity cookie with expire = 0 (until the browser is closed)
What do you get instead?
User logged in, browser doesn't get identity cookie.
Purpose
Session's lifetime is limited. By default, php session expires in ~25 min. Imagine, that you open browser, log in and go to lunch. After that you are automatically logged out despite 'enableAutoLogin' => true.
I expect that if I don't check "Remember me" ($duration = 0), I will be able to work until closing browser. And if I check "Remember me", I will be able to auto-login during $duration time. Is my logic wrong?
Additional info

Q
A

Yii version
2.0.10

enableAutoLogin is a setting which enables your users to use the 'remember me' checkbox. Its up to them if they want to make use of it.
As a developer, you should not decide for the user to have its session kept alive when the browser is still open. Safety is advised (of course depending of what kind of app you've built).

I expect that if I don't check "Remember me" ($duration = 0), I will be able to work until closing browser.

Increase session lifetime or better: implement auto-update via ajax-request.

That's expected and documented:
@param integer $duration number of seconds that the user can remain in logged-in status.
 Defaults to 0, meaning login till the user closes the browser or the session is manually destroyed.
 If greater than 0 and [[enableAutoLogin]] is true, cookie-based login will be supported.
 Note that if [[enableSession]] is false, this parameter will be ignored.

Docs deserve easier descriptions of the different scenarios

@dynasource any suggestions?

yes, will fix a PR for it


[backport] Update setup.py numpy/scipy pinning

Backport of #5453 by @emcastillo

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 9b12f52e50c813bf4720f4c8145a879a4bff9481, target branch v9) succeeded!


fill method not working on mutators if you have some guarded attributes

Laravel Version
11.1.0
PHP Version
8.3.3
Database Driver & Version
No response
Description
If you have a user model like this:
use Illuminate\Database\Eloquent\Casts\Attribute;
use Illuminate\Foundation\Auth\User as IlluminateUser;

class User extends IlluminateUser
{
    protected $guarded = [
        'remember_token',
    ];

    protected $appends = [
        'location',
    ];

    public function location(): Attribute
    {
        return Attribute::make(
            get: fn (mixed $value, array $attributes) => [
                'lat' => $attributes['latitude'],
                'lng' => $attributes['longitude'],
            ],
            set: fn (array $value) => [
                'latitude' => $value['lat'],
                'longitude' => $value['lng'],
            ],
        );
    }
}

This doesn't work and completely ignores location:
$user->fill(['location' => [
    'lat' => 1,
    'lng' => 2,
]])

This works:
$user->forceFill(['location' => [
    'lat' => 1,
    'lng' => 2,
]])

Interestingly, fill works fine with this:
protected $guarded = [];

but not if you have guarded the remember_token as per the original example!
This also works, but you have to add all attributes again, and you can't mix and match with guarded:
protected $fillable = [
    'location',
];

Steps To Reproduce
Add latitude and longitude columns to the users table in a fresh Laravel installation, and paste the codes above, and tinker with the model to see the behaviour.

Heya, thanks for reporting.
We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here? Please make sure that you have the latest version of the Laravel installer in order to run this command. Please also make sure you have both Git & the GitHub CLI tool properly set up.
laravel new bug-report --github="--public"

Please do not amend and create a separate commit with your custom changes. After you've posted the repository, we'll try to reproduce the issue.
Thanks!

Closing this issue because it's inactive, already solved, old or not relevant anymore. Feel to open up a new issue if you're still experiencing this.


add options: hide_output, show_stats, save_lines

add option hide_output (boolean, default false): show command output by default, allow to hide on demand
add option show_stats (boolean, default false): show statistics of retry attempts
currently this shows a table with the columns

Attempt number: 1, 2, 3, 4, ....
Status: OK, NonZero, TimeOut, SigTerm
RC: return code of process
Time/ms: time from process start to end
Out Lines: total number of lines on stdout
Err Lines: total number of lines on stderr

add option save_lines (string, default '10 100'): show a summary of last lines
option format is save_lines: (lines_stdout) (lines_stderr)
sample: save_lines: 10 20 to show last 10 lines of stdout + last 20 lines of stderr
sample: save_lines: 50 all to show last 50 lines of stdout + all lines of stderr.
[ maybe _save_lines_default should be [0, 0] ]

all these options are helpful for debugging tests
to get a better understanding on why/when tests timeout or return nonzero
code is not tested, but works in my brain : P

done. where can i see the test results?


fix: mobile tooltip style

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
the reason that the tooltip is displayed in incorrect position is that the buy button is not centerd, so we must calc the position to decrease the cart button's width so that tooltip can be centered
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Context

[x] Closes #6512
[ ] Requires deployment <snek/rubick/worker>

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality

Optional

[ ] I've tested it at </ksm/collection>
[ ] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Did your issue had any of the "$" label on it?

[x] Fill up your DOT address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot 📸

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

Copilot Summary

🤖 Generated by Copilot at b7df21b
Refactor the tip component for gallery items to improve responsiveness and alignment. Add a new modifier class o-tip__content--top for mobile layout.

🤖 Generated by Copilot at b7df21b

o-tip refactored
Tooltip above gallery
Autumn leaves falling

wouldn't be better to move this code on NeoTooltip so it won't reproduce?

i'm afraid we can't. every usage of NeoTooltip is different and the incorrect display issue is caused by the position of the tooltip trigger component. so i think it it may not possible to create a common logic to solve it.

Once tooltip gets activated, it never goes away

Once tooltip gets activated, it never goes away

just checked it on canary.kodadot.xyz and it's same behavior.
seems it related with this logic
:auto-close="!isMobileDevice ? ['outside', 'escape'] : []"
https://github.com/kodadot/nft-gallery/blob/872e7fdcc8cdcac1c2558a0c0c4f0279e59f329a/components/gallery/GalleryItemAction/GalleryItemActionType/GalleryItemBuy.vue#L6-L12
@daiagi is it for special purpose? or should i change it as @prury expected?

Feel free to change it to suit the requirements

Feel free to change it to suit the requirements
Keep in mind that tooltip usually don't have much value in mobile as there is no hover

In this specific case i can trigger the tooltip on mobile by pressing and holding the deactivated buy button, but yeah, prob nobody uses it

update: fixed the offer disabled tooltip
cc @prury

@yangwao can I merge? 🥺

pay 30 usd

😍 Perfect, I’ve sent the payout
💵 $30 @ 4.46 USD/DOT ~ 6.726 $DOT
🧗 13rv1SWoLg9Gb3tmvHPZxb7JbVy51BtMziX7k9WQGSJ7Kp3A
🔗 0x3bbb308b1009af3d87b5b1d1c033b74ab73632a70553893d4e4bc73446af8b4e
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


main.py issue

I try execute but no work...
root@kali:~/CMSmap# python cmsmap.py -t https://example.com
Traceback (most recent call last):
File "cmsmap.py", line 4, in
from cmsmap.main import main
File "/root/CMSmap/cmsmap/main.py", line 4, in
from urllib.parse import urlparse
ImportError: No module named parse

Just: sudo -H pip install urlparse


[Schema Registry - Avro] Integration test libraries failing in nightly runs

Schema Registry - Avro nightly test runs are failing with:

Error message:
Trace: [Internal Error]
at /Users/runner/work/1/s/common/tools/dev-tool/src/index.ts:10:11
(node:10581) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
Error: Failed calling dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.spec.js'.  Exit code: 255
##[error]PowerShell exited with code '1'.

For more details check here:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4133877&view=results

Issue is fixed after ESM migration.


Driver issue - B450 Tomahawk Max

When attempting to run MSIRGB.exe, I get a Failed to load Driver message. Brand new install of Windows, and have removed MSI Dragon as well as any other controller software.
I noticed I don't have inpoutx64 in System32, and when I run sc query MSIRGB.Driver I get a return of "The specified service does not exist as an installed service".
Any suggestions on other things to try?

sc query inpoutx64 would be the correct command now, as I changed the name that MSIRGB registers the driver as.

Hi, may i know if there is a fix for this? I have the same motherboard and same error "Failed to load driver..."
I also ran "sc query inpoutx64" and got this message:
[SC] EnumQueryServicesStatus:OpenService FAILED 1060:
The specified service does not exist as an installed service.

This is weird. Is it a brand new installation of Windows as well?
Could both of you run this command on a command prompt and upload here the file:
tasklist /svc > output.txt
This will print a list of all running processes and services to a file 'output.txt' that will be saved in the directory where the command prompt is running.

I am having the same issues.
Had it all running on my B350 Gaming Pro Carbon but now I am getting "Failed to load driver"  when launching MSIRGB.exe.

Executing sc query inpoutx64 also gives me
`[SC] EnumQueryServicesStatus:OpenService FAILED 1060:
The specified service does not exist as an installed service.`
The only thing I changed about my system is updating the AMD chipset driver to the newest version (<IP_ADDRESS>6).
Maybe there is an compatibility issue when using the newest chipset driver?

If you could try to rollback, that would be good. Please also see this issue.

Unfortunately I am not able to revert to the old chipset driver. The old one simply does not install anymore since I installed the newer one.
Attached please find output.txt file
output.txt

I would recommend that you start msconfig and select "Diagnostic startup", "Apply" and reboot. Then try running MSIRGB. If MSIRGB works, then enable non-Microsoft services one by one ("Services" tab), rebooting each time to find which program is causing incompatibility. Once you find it, you may go back to msconfig and select "Normal startup" again, making sure that the incompatible program is not enabled.

I would recommend that you start msconfig and select "Diagnostic startup", "Apply" and reboot. Then try running MSIRGB. If MSIRGB works, then enable non-Microsoft services one by one ("Services" tab), rebooting each time to find which program is causing incompatibility. Once you find it, you may go back to msconfig and select "Normal startup" again, making sure that the incompatible program is not enabled.

Thanks for your reply!
Unfortunately the software is not working in diagnostic startup mode neither.
When attempting to run MSIRGB.exe in diagnostic startup mode nothing happens.
The error message popup mentioned above does not get shown in this mode.
Is there something else I can try?
Is the software even compatible with newest Windows 10 release and chipset drivers?

Sorry, it's likely that Diagnostic Startup disables services that are required for MSIRGB to work. Instead, do Normal startup, but go to "Services", tick "Hide all Microsoft services", and disable all. If any startup item that isn't from Microsoft is enabled, disable it (Task Manager -> Startup).

Did you fix the issue?

Yes I fixed it by uninstalling Valorant.
Pedro Fanha<EMAIL_ADDRESS>schrieb am Sa., 5. Sept. 2020, 18:31:

Did you fix the issue?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ixjf/MSIRGB/issues/107#issuecomment-687632953, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AH7K4NM5ZATW6SFA6BHCBI3SEJRXLANCNFSM4M4QVWGQ
.

Alright, thanks!


Allow to access metric value on custom metrics

Summary
What change needs making?
I want to be able to access the value of a custom gauge metric and increase or decrease it based on certain conditions.
Use Cases
When would you use this?
I want to count how many times a certain workflow type for a certain ID (defined as a label) failed consecutively, and alert if that ID failed more than X times consecutively.
I'd like to be able to do something similar to:
metrics:
  prometheus:
  - name: status_failed
    help: If the latest workflow failed
    when: '{{workflow.status}} == Failed || {{workflow.status}} == Error'
    gauge:
      value: {{metric.status_failed}} + 1 # this is the new feature
    labels:
    - key: workflow_type
      value: wf-type-1
    - key: id
      value: '{{workflow.parameters.id}}'
  - name: status_failed
    when: '{{workflow.status}} == Succeeded'
    help: If the latest workflow failed
    gauge:
      value: '0'
    labels:
    - key: workflow_type
      value: wf-type-1
    - key: tenant_id
      value: '{{workflow.parameters.id}}'

Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.

Hi,
I am willing to contribute with a PR to implement this, but first I'd like to know your thoughts on my approach.
After seeing the Prometheus gauge interface:
type Gauge interface {
	Metric
	Collector

	// Set sets the Gauge to an arbitrary value.
	Set(float64)
	// Inc increments the Gauge by 1. Use Add to increment it by arbitrary
	// values.
	Inc()
	// Dec decrements the Gauge by 1.
	Dec()
	// Add adds the given value to the Gauge. (The value can be negative,
	// resulting in a decrease of the Gauge.)
	Add(float64)
	// Sub subtracts the given value from the Gauge. (The value can be
	// negative, resulting in an increase of the Gauge.)
	Sub(float64)

	// SetToCurrentTime sets the Gauge to the current Unix time in seconds.
	SetToCurrentTime()
}

I think it could make sense to change the argo gauge spec to have an operation field:
// Gauge is a Gauge prometheus metric
type Gauge struct {
	// Value is the value of the metric
	Value string `json:"value" protobuf:"bytes,1,opt,name=value"`
	// Realtime emits this metric in real time if applicable
	Realtime *bool `json:"realtime" protobuf:"varint,2,opt,name=realtime"`
	// Operation
	Operation string `json:"operation" protobuf:"bytes,1,opt,name=operation"`
}

. By default, this field would be set to Set to avoid breaking changes, but now it would be possible also to configure Add or Sub. The metric definition could be something like:
metrics:
    prometheus:
      - name: status_failed
        labels:
          - key: id
            value:  '1234'
        help: If the latest workflow failed
        when: '{{workflow.status}} == Failed || {{workflow.status}} == Error'
        gauge:
          operation: add
          value: '10'

would this be a good contribution?


Fix vnc target redis crash

There's a thing that checks for a VMID when starting/stopping/etc-ing a VM. It raises an exception that isn't caught right now.  You were right mary, I lied. I knew it would happen, but I was lazy.
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/local/lib/python3.8/site-packages/flask_pyoidc/flask_pyoidc.py", line 253, in wrapper
    return view_func(*args, **kwargs)
  File "/opt/proxstar/proxstar/__init__.py", line 273, in vm_power
    delete_vnc_target(token=vnc_token)
UnboundLocalError: local variable 'vnc_token' referenced before assignment


libcouchbase: 3.1.4 -> 3.2.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/couchbase/libcouchbase/releases.
meta.description for libcouchbase is: "C client library for Couchbase"
meta.homepage for libcouchbase is: "https://github.com/couchbase/libcouchbase"
meta.changelog for libcouchbase is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-pillowfight passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-n1qlback passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-subdoc passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-gen passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-proxy passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-cat passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-create passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-observe passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-observe-seqno passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-incr passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-decr passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-hash passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-lock passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-unlock passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-rm passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-stats passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-version passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-verbosity passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-view passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-n1ql passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-admin passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-ping passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-bucket-create passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-bucket-delete passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-bucket-flush passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-connstr passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-write-config passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-strerror passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-touch passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-role-list passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-user-list passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-user-upsert passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-user-delete passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-watch passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-mcversion passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-keygen passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-collection-manifest passed the binary check.

/nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin/cbc-collection-id passed the binary check.

39 of 39 passed binary check by having a zero exit code.

28 of 39 passed binary check by having the new version present in output.

found 3.2.0 with grep in /nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0

found 3.2.0 in filename of file in /nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0

directory tree listing: https://gist.github.com/25189050ed96a300e9d17157bb4a10c6

du listing: https://gist.github.com/642002674d0ffd166a05e2a356a61dea

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
libcouchbase
php74Extensions.couchbase
php80Extensions.couchbase

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A libcouchbase https://github.com/r-ryantm/nixpkgs/archive/17d25b4255073685a84d91eb1fddf5b547f2a9d4.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0
ls -la /nix/store/f1ykvbvji9s1x5sff0lcbca8qrm8gzks-libcouchbase-3.2.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

libcouchbase
php74Extensions.couchbase
php80Extensions.couchbase

Maintainer pings

Result of nixpkgs-review pr 131533 at 17d25b42 run on x86_64-linux 1

3 packages built successfully:

libcouchbase
php74Extensions.couchbase
php80Extensions.couchbase

1 suggestion:

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near pkgs/development/libraries/libcouchbase/default.nix:24:3:
   |
24 |   meta = with lib; {
   |   ^


Add additional variable for customisation

Change php-fpm.conf in CentOS to use template as when running multiple times caused the line to be added again which stopped Nginx from restarting.

add disabled_functions variable so this can be configured per project.
add disable_url_fopen as in some cases you may want this enabled.
add main_socket for php-fpm.conf template.

Hi @hertzigger ,
I will verify it at tonight, thanks for your pull requests. 💯

I have meraged this to develop branch, and I want to refactor something.
Please waiting more time, I will release it at tomorrow.
Good night.

I have refactor something, now we can modify this config with ansible.
Enjog it.

Sweet, thanks for work you did refactoring. I see why you did it.


Better HTML support for react

Refs: #24403
Currently if my react component returns HTML I do not get any nice HTML support when I try to edit this, instead this code is treated as javascript.
Easy repro steps

npm install -g create-react-app
create-react-app my-app
cd my-app/
code-insiders .
open app.js and try editing the HTML returned by the component

@isidorn Can you attach the source code and give some ideas what you expect?

When I am editing HTML like code I would expect all the nice support I have in real HTML, for instance:

All the nice HTML suggestions we have. Example: when typing <
Auto indenting / deindent - example: when adding a  in html it automatically gets de-indented
Highlighting matching tags

Here's the source code,
import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';

class App extends Component {
  render() {
    return (

Welcome to React Isidor

          To get started, edit src/App.js and save to reload.

    );
  }
}

export default App;

The current situation is a mess.

Emmet barely functions (lots of issues, stops working randomly, cannot detect context, tab expansion and showSuggestionsOnTop do not play nicely with other packages)
3rd party packages have their own quirks. Auto close tag and Paired rename offer some respite but the experience is not smooth. E.g. closing tag inserts an extra > always (try typing / on an existing HTML element  -> >)
Installing any kind of snippets extension messes up suggestions context menu. Again, a boolean value of show one or the other on top is not really helpful. If I'm editing HTML, I want emmet to come up first. If I'm editing JS, JS snippets should take precedence.

Sublime Text is no better. Visual Studio provides the best experience but lacks Emmet support natively (with no good/reliable extensions to fill the gap).
I guess this is a really hard problem to solve with so many editors failing at it one way or the other.

@mrchief Can you file individual issues with code samples and steps? Emmet, auto close (now part of the built-in HTML support), all have different owners.
Paired rename is provided by an extension.

Can you file individual issues with code samples and steps?

I saw your earlier comment and was just trying to add/support to what the expectations should be (tag autoclosing, attribute quotes/braces autoclosing, context detection etc.)
Regarding 3rd party extensions - if VS Code can support React natively, we won't need them. Just like
visual studio supports ASP.Net Razor (and intellisense can detect when we're in code block vs html block). I think this is what the original issue is about.
Whenever I had Emmet related issue, almost everytime I found an already closed issue for that one. Also, the random failures are hard to file, because there is no consistent step to repro them (or at least I haven't found them yet). But yeah, if I can find something consistent, I'll surely report them.
I do get your point but I wasn't piggybacking this issue to report new issues. Hope you understand my perspective.

Yes, let's split this out into individual issues.
Going back to @isidorn's original points, I believe tag matching and attribute suggestions generally should work. Tag suggestions should also work, just not automatically when you type <. I'll open a FR to track this one
Please open a new issues for any cases you'd like to see better supported


Add pilot manual

New link on "Manage pilot" page:

And a copy pasta of the manual:

... etc ...

I've added a checklist item to the go-live Trello card to remind us to update the links for /pilot/participants


fix: Fixed npm install on Windows without having to use wsl

Description
Use of npm.cmd on WINDOWS instead of npm within install_npm_requirements method
Motivation and Context
https://github.com/terraform-aws-modules/terraform-aws-lambda/issues/414 describes the issue, it has been closed with the resolution that WSL should be used. While this is a solution not all development teams use WSL. Additionally, the package.py already contains specific WINDOWS handling anyway (e.g. for python).
Fixes https://github.com/terraform-aws-modules/terraform-aws-lambda/issues/414
Breaking Changes
no breaking change imho
How Has This Been Tested?
locally on my Windows machine.

This PR is included in version 6.0.1 :tada:


Kvv2 support

Added kv v2 support with backwards compatibility with v1 for:
Read
Write
List
Delete
related to https://github.com/ianunruh/hvac/issues/183
Tested against:
Vault: 0.10.3, Backend v2
Vault: 0.10.3, Backend v1

Updated to remove the print statement, instead there is an additional check for None so that no exception cases should happen in that block.
Out of interest how would you check the version without checking self._version ?

Could perhaps be done via a decorator plus an optional parameter on the methods that need to care about the versions. I'm not too concerned with that bit, but I'd be happy to try to whip up an example if you're interested in going that route.
I'd still like to see the print statement dropped entirely. That would ideally be as simple as:

Adding import logging
Declaring a logger at the top-level of the module: logger = logging.getLogger(__name__)
Changing the print to a logger call: logger.warn('Could not determine version etc. etc.')

Hi,
I did originally have it as a decorator and optional parameter, then I switch to the auto detect method.
I have dropped the print statement now.

@Jukape: I don't see your commit changing the print statement, have you pushed that up?
Since this change has a chance to impact folks' use cases, I'm trying to be a bit more careful in considering it. Right now my tentative plans are to build on top of your changes, preform some testing myself locally (since I haven't yet switch my own vault usage over to kv version 2), and find a way to expand our test coverage to include cases for both kv versions. I hope to wrap up that work by next week and will check back in with some more concrete suggestions then.

Yeah it has been push on my fork.

Ultimately I went a different route to achieve this end: https://github.com/hvac/hvac/pull/260.
I did not feel comfortable adding any KV v2 accommodations to the existing read/write/etc. Client methods as they're most likely used for many purposes in addition to updating KV secrets.
As such, I'm going to close this PR out. However I welcome any feedback on the alternate proposal in #260.


changed content-type to text/xml; charset="utf-8"

Some UPnP devices respond with error if Content-Type is just xml. Changed it to value from UPnP spec.

Thanks for the PR and sorry for not merging earlier, seems like I didn't have notifications enabled for this repository


minor fixes

Why we need this PR
testing tide with little fixes
Changes made

better phrasing for frozen kernels
fixed code comment

/lgtm

/retest

/approve

/retest

/approve cancel

/approve

/test 4.12-test

/retest

/retest

/retest

/test 4.15-openshift-e2e

/cherry-pick release-0.8


Entrances showing up at centroid point

No longer showing up at actual entrances. New after adding alt names for #84?

Realized not getting any non-entrance icons on map either.

This should be better now


KEP-0008: Multi-cluster - Proposals for CLI Changes

What this PR does / why we need it:
KEP-0008 is currently light on detail. To get it ready for implementation this PR fleshes out proposed changes to the CLI to support running multi-cluster tests using kuttl.

I wonder if there is work regarding --namespace as well... do we expect all clusters to have the defined namespace? the namespace was added based on cluster demand for cluster for which namespace creation is not allowed.

To clarify, you mean the --namespace parameter passed to kubectl?
I think that we should assume that either (1) the namespace exists on all clusters or (2) the namespace can be created on all clusters (if namespace is unset in TestSuite and is to be auto-created).
We could allow setting different namespaces per cluster (via TestStep configurations or via a comma separated list in the CLI options) but it probably isn't necessary for a MVP?


Converted two files to ts

Changed src/utilities/mse.js -> src/utilities/mse.ts
Changed src/utilities/range.js -> src/utilities/range.ts
Refactored imports in src/index.ts

Linked Issue: #551
Description

Motivation and Context

issue
How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

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

Author's Checklist:

[ ] My code focuses on the main motivation and avoids scope creep.
[ ] My code passes current tests and adds new tests where possible.
[ ] My code is SOLID and DRY.
[ ] I have updated the documentation as needed.

Reviewer's Checklist:

[ ] I kept my comments to the author positive, specific, and productive.
[ ] I tested the code and didn't find any new problems.
[ ] I think the motivation is good for the project.
[ ] I think the code works to satisfies the motivation.

Thank you! ❤


Redcarpet - underscores

Correct option is
:no_intra_emphasis
not
:no_intraemphasis
See
http://www.rubydoc.info/github/vmg/redcarpet/master

:no_intraemphasis should be part of backcompat support: https://github.com/vmg/redcarpet/blob/master/lib/redcarpet/compat.rb#L29

Maybe I've been at this too long today.  Further checking shows that if the underscore is preceded by something other than [A-Za-z0-9] (I was using '?') things need escaping.  A Redcarpet quirk.  My mistake.
Greg

No problem! I was of the opinion that Redcarpet should be documenting their backwards compatibility layer, which would have clarified.


[SPARK-41585][YARN][DOC] Improve doc of the excludeNodes configuration by clarifying the dependency with dynamic allocation

What changes were proposed in this pull request?
This is an improvement to the documentation of the excludeNodes configuration for Spark on YARN by clarifying the dependency with dynamic allocation.
The Spark exclude node functionality for Spark on YARN, introduced in [SPARK-26688], allows users to specify a list of node names that are excluded from resource allocation. This is done using the configuration parameter: spark.yarn.exclude.nodes
The feature currently works only for executors allocated via dynamic allocation. To use the feature on Spark 3.3.1, for example, one may set the configurations spark.dynamicAllocation.enabled=true, spark.dynamicAllocation.minExecutors=0 and spark.executor.instances=0, thus making Spark spawning executors only via dynamic allocation.
Why are the changes needed?
Current documentation does not address the dependency of excludeNodes with dynamic allocation.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
NA

I'd say we can close this given the progress on https://github.com/apache/spark/pull/39127


Contribution to "Deeply nested json in jackson-databind"

Updates

Affected products

Actually this is wrong, there is no fix released yet... Its most likely to be 2.13.3

<IP_ADDRESS> was released with a fix ; this PR can be closed in favor of https://github.com/github/advisory-database/pull/153 which documents that
Evidence: https://github.com/FasterXML/jackson-databind/compare/jackson-databind-2.13.2...jackson-databind-<IP_ADDRESS>


Added Course in free-courses-ko.md

What does this PR do?
Add resource(s)
For resources
Description
This PR adds SQL course to free-courses-en.md
Why is this valuable (or not)?
Learning SQL is important when first studying databases
How do we know it's really free?
Its on inflearn for free
For book lists, is it a book? For course lists, is it a course? etc.
its a course
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.
Follow-up
Check the status of GitHub Actions and resolve any reported warnings!

@eshellman  @sohansai @Ajay-singh1 Please take a review of my PR & kindly merge it 🥹

I agree with @Thenlie
if you want to move things around, try to break it into small moves so they can be evaluated each on their own merits.


ImportError: attempted relative import with no known parent package

Description
Thank you, really appreciate helping resolve these issues on the fly! Your last fix removed the /src/ folder error, but it looks like it ran into an issue calling Chain.py. Excited to test this out :)
Brief Error:
"agixt-backend-1 | File "/app/app.py", line 9, in
agixt-backend-1 | from Chain import Chain
agixt-backend-1 | File "/app/Chain.py", line 3, in
agixt-backend-1 | from . import AGiXT
agixt-backend-1 | ImportError: attempted relative import with no known parent package"
Full Error:
agixt-frontend-1 | ready - started server on <IP_ADDRESS>:3000, url: http://localhost:3000/
agixt-backend-1 | Traceback (most recent call last):
agixt-backend-1 | File "/usr/local/bin/uvicorn", line 8, in
agixt-backend-1 | sys.exit(main())
agixt-backend-1 | File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1130, in call
agixt-backend-1 | return self.main(*args, **kwargs)
agixt-backend-1 | File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1055, in main
agixt-backend-1 | rv = self.invoke(ctx)
agixt-backend-1 | File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
agixt-backend-1 | return ctx.invoke(self.callback, **ctx.params)
agixt-backend-1 | File "/usr/local/lib/python3.10/site-packages/click/core.py", line 760, in invoke
agixt-backend-1 | return __callback(*args, **kwargs)
agixt-backend-1 | File "/usr/local/lib/python3.10/site-packages/uvicorn/main.py", line 410, in main
agixt-backend-1 | run(
agixt-backend-1 | File "/usr/local/lib/python3.10/site-packages/uvicorn/main.py", line 578, in run
agixt-backend-1 | server.run()
agixt-backend-1 | File "/usr/local/lib/python3.10/site-packages/uvicorn/server.py", line 61, in run
agixt-backend-1 | return asyncio.run(self.serve(sockets=sockets))
agixt-backend-1 | File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
agixt-backend-1 | return loop.run_until_complete(main)
agixt-backend-1 | File "uvloop/loop.pyx", line 1517, in uvloop.loop.Loop.run_until_complete
agixt-backend-1 | File "/usr/local/lib/python3.10/site-packages/uvicorn/server.py", line 68, in serve
agixt-backend-1 | config.load()
agixt-backend-1 | File "/usr/local/lib/python3.10/site-packages/uvicorn/config.py", line 473, in load
agixt-backend-1 | self.loaded_app = import_from_string(self.app)
agixt-backend-1 | File "/usr/local/lib/python3.10/site-packages/uvicorn/importer.py", line 24, in import_from_string
agixt-backend-1 | raise exc from None
agixt-backend-1 | File "/usr/local/lib/python3.10/site-packages/uvicorn/importer.py", line 21, in import_from_string
agixt-backend-1 | module = importlib.import_module(module_str)
agixt-backend-1 | File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
agixt-backend-1 | return _bootstrap._gcd_import(name[level:], package, level)
agixt-backend-1 | File "", line 1050, in _gcd_import
agixt-backend-1 | File "", line 1027, in _find_and_load
agixt-backend-1 | File "", line 1006, in _find_and_load_unlocked
agixt-backend-1 | File "", line 688, in _load_unlocked
agixt-backend-1 | File "", line 883, in exec_module
agixt-backend-1 | File "", line 241, in _call_with_frames_removed
agixt-backend-1 | File "/app/app.py", line 9, in
agixt-backend-1 | from Chain import Chain
agixt-backend-1 | File "/app/Chain.py", line 3, in
agixt-backend-1 | from . import AGiXT
agixt-backend-1 | ImportError: attempted relative import with no known parent package
agixt-backend-1 exited with code 1
Steps to Reproduce the Bug
See description
Expected Behavior
See description
Actual Behavior
See description
Additional Context / Screenshots
See description
Operating System

[ ] Microsoft Windows
[ ] Apple MacOS
[X] Linux
[ ] Android
[ ] iOS
[ ] Other

Python Version

[ ] Python <= 3.9
[X] Python 3.10
[ ] Python 3.11

Environment Type - Connection

[X] Local
[ ] Remote

Environment Type - Container

[X] Using Docker
[ ] Not Using Docker

Acknowledgements

[X] My issue title is concise, descriptive, and in title casing.
[X] I have searched the existing issues to make sure this bug has not been reported yet.
[X] I am using the latest version of AGiXT.
[X] I have provided enough information for the maintainers to reproduce and diagnose the issue.

Hello, I fixed this one around the same time the issue was made, please pull the latest and give it another shot.
Thanks!


TOC Numbering does not match individual section name and links do not work

What is affected by this bug?
Notebook Documentation in notebook 4 Operationalization
In which platform does it happen?
All, not platform specific
How do we replicate the issue?
The Table of Contents has 2 issues:

Read the Table of Contents
It is numbered 1,2,3,4 BUT the entries were numbered starting with 0,1,2...

Links in TOC do not work
Select and it does not go to the expected entry

Expected behavior (i.e. solution)
Something is odd with the TOC implementation in the Markdown.  Do we have a norm for this?
Also, I'm used to the top level being something like ## and then each sublevel adds a #.
I'm happy to create a PR unless someone has an existing approach for a preferred way to make a TOC?
Other Comments
@nikhilrj thanks!

It seems the issue is how md rendering occurs in GitHub vs Jupyter environment.  Thoughts on how to address? Hardcoding is ugly. Do we need numbers? Thoughts?

oh I see. Yeah, the numberation was a mistake.
Le wrote a notebook about how to organize the sections in a notebook https://github.com/Microsoft/Recommenders/blob/staging/notebooks/template.ipynb

The TOC is no longer in the notebooks so I'm closing the issue.


Watched icon/flag behavior

Let's say I have multiple copies of an Airing (A, B, and C).
I watch Airing A, then all Airings (A, B & C) have the Watched icon
If I go in Airing A and uncheck the Watched checkbox, they all have the Watched icon removed.
If instead of Airing A, I went to Airing B or C and unchecked the Watched checkbox, then Airing A still has the Watched icon but all other "copies" no longer have the Watched icon
Is there a parameter/setting that I can set so that all Airings of the same Episode will either be Watched or Unwatched and not a mixed bag??

Yeah...this is one of those deep intricacies with how SageTV works.  In the database, there's Watched, Airing and Show objects. Watched objects always reference an Airing. And Airing always references a Show.
If you mark an Airing as Watched, then it creates a Watched object that references the Airing...so that Airing indicates it is Watched. It also then sets a flag in the Show object to indicate that Show is watched.  That then causes all Airings that reference that Show to indicate they are Watched (desirable behavior).
Now if you go back to Airing A in your example and clear Watched, it'll remove the Watched object that references Airing A and also clear the flag in the Show object...so none of them indicate they are Watched.  However, if you go into B or C and clear Watched, it only clears the flag in the Show object...leaving the Watched object for A.
I don't think this issue was ever noticed until a few years ago...so it was over a decade until anybody noticed it and mentioned it to me. :)  So we never did add any workarounds to have this behave differently.  So now you know why it happens...sorry I don't have a solution to make it behave the way you're looking for...although I don't think the behavior should actually manifest as any real type of problem.

Yeah...this is one of those deep intricacies with how SageTV works. In the database, there's Watched, Airing and Show objects. Watched objects always reference an Airing. And Airing always references a Show.
If you mark an Airing as Watched, then it creates a Watched object that references the Airing...so that Airing indicates it is Watched. It also then sets a flag in the Show object to indicate that Show is watched. That then causes all Airings that reference that Show to indicate they are Watched (desirable behavior).
Now if you go back to Airing A in your example and clear Watched, it'll remove the Watched object that references Airing A and also clear the flag in the Show object...so none of them indicate they are Watched. However, if you go into B or C and clear Watched, it only clears the flag in the Show object...leaving the Watched object for A.
I don't think this issue was ever noticed until a few years ago...so it was over a decade until anybody noticed it and mentioned it to me. :) So we never did add any workarounds to have this behave differently. So now you know why it happens...sorry I don't have a solution to make it behave the way you're looking for...although I don't think the behavior should actually manifest as any real type of problem.

The issue arises particularly when checking Future Airings. If you have an Airing Watched object without a Show Watched object then you don't see the W Flag on the Future Airings. So either you record a copy that you don't need or in case of Conflicts, you have to do additional research into the Conflicting Shows to determine which (if any) might actually have a Watched object/file.
So is there a method where if a Show Watch object is cleared that all associated Airing Watch objects are also cleared?
Which module/section of code handles this?

The issue arises particularly when checking Future Airings. If you have an Airing Watched object without a Show Watched object then you don't see the W Flag on the Future Airings. So either you record a copy that you don't need or in case of Conflicts, you have to do additional research into the Conflicting Shows to determine which (if any) might actually have a Watched object/file.

It seems like recording a copy that you don't need would only happen if you unmarked something as Watched that you didn't want recorded again, so I'm not sure why you'd unmark it watched in that case.  For the conflict case, I'd think that would only happen if you had marked a future airing as Watched, and then unmarked another airing as Watched so that first one remained...that sounds like a more legitimate case, but I'd think that kind of user behavior would be very rare.

So is there a method where if a Show Watch object is cleared that all associated Airing Watch objects are also cleared?
I don't think that was ever added, I checked yesterday.
Which module/section of code handles this?
https://github.com/google/sagetv/blob/master/java/sage/BigBrother.java#L174

I'm also recalling a discussion at some point where this may also have been a desirable feature...where somebody wanted to be able to just mark single Airings as watched without marking the Show as watched, and this was the trick to do that.
It is pretty cool to have something I started building 19 years ago still be in use today though. :) Thanks for continuing your support and everyone else in the community!


Can you know the real-time upload speed and download speed?

Can you know the real-time upload speed and download speed?

@bbhxwl We can know the real-time download speed now.


Calendar filter by view

Do filter magic

Can you do the sitedata bumping once that is merged?

Here is the PR for sitedata bump: https://github.com/acl-org/acl-2020-virtual-conference/pull/210


orientations function to return non-normalized cartesian vectors

i.e. something like get_unit_vectors_trajectory() that forgoes the normalization to a unit vector, i.e. retains the information of bond/vector lengths.
rn the only way to do this is to go through get_conventional_coordinates() which has the side effect of applying the primitive to conventional transformation that is not always needed.
this function should then be used in all the Orientations transformation functions (e.g. get_symmetric_trajectory()) and plots (rectilinear_plot, bond_length_distribution)

nevermind, was confused because of the name
right now, get_unit_vectors_trajectory() only produces unit vectors if Orientations is called with normalize_trajectory=True. otherwise it doesnt (it does instead what I describe above)
should probably rename to make this clear.
also normalization should probably be a method rather than a parameter of Orientations


chore: simplify unwrap_partial

Simplify utils.helpers.unwrap_partials

Nice, TIL!

Or maybe not, because it seems to fail in some cases. Not sure why tho, will investigate later.

Nice, TIL!

Or maybe not, because it seems to fail in some cases. Not sure why tho, will investigate later.

It was our async_partial function that was making a bit of a mess :)


Technical correction in readme.md

The party parrot should be available in every slack channel regardless of purpose, style, and topic, so I cannot condone this kind of channel discrimination.
(kidding)


error TS2694: Namespace '".../node_modules/.prisma/client/index"' has no exported member 'BatchPayload'

Bug description
When I use deleteMany, updateMany. Prisma support type named BatchPayload but it has no exported.
How to reproduce

Make any model, suppose model Alarms
CRUD model in @nexus/schema, t.crud.deleteManyAlarm();
tsc --noEmit or tsc
@nexus/schema generated types
Type Error in BatchPayload: PrismaClient.BatchPayload;
generated PrismaClient has

  /**
   * Batch Payload for updateMany & deleteMany
   */

  export type BatchPayload = {
    count: number
  }

However, I can't import that.

Expected behavior
import * as PrismaClient from ".prisma/client"

no error Type namespace with PrismaClient.BatchPayload
Prisma information
model Alarm {
  id                Int            @id @default(autoincrement())
  createdAt         DateTime       @default(now())
  updatedAt         DateTime       @updatedAt
  title             String
  contents          String
  important         Boolean        @default(false)
  read              Boolean
  alarmType         AlarmType      @default(ADVERTISEMENT)
  advertisementBy   Advertisement? @relation(fields: [advertisementById], references: [id])
  advertisementById Int?
  notificationBy    Notification?  @relation(fields: [notificationById], references: [id])
  notificationById  Int?
  userBy            User?          @relation(fields: [userById], references: [id])
  userById          Int?
}

Environment & setup

OS: Mac OS
Database: MySQL
Node.js version: 12.14.0
Prisma version: 2.12.1
@nexus/schema: 0.19.2
nexus-plugin-prisma: 0.25.0

I found problem in generated type in @nexus/schema
--- src/generated/resolverTypes.ts	2020-11-30 12:32:48.000000000 +0900
+++ src/generated/resolverTypes-gen.ts	2020-11-30 12:34:45.000000000 +0900
@@ -23445,7 +23445,7 @@
     user?: NexusGenRootTypes['User'] | null; // User
   }
   Bank: PrismaClient.Bank;
-  BatchPayload: PrismaClient.BatchPayload;
+  BatchPayload: PrismaClient.Prisma.BatchPayload;
   BestBrandGroupStatBoard: PrismaClient.BestBrandGroupStatBoard;
   BestBrandStatBoard: PrismaClient.BestBrandStatBoard;
   Brand: PrismaClient.Brand;
@@ -29340,4 +29340,4 @@
      */
     required?: boolean
   }
-}
\ No newline at end of file
+}

Can you explain how to use BatchPayload?

Can you explain how to use BatchPayload?

@oliviermattei BatchPayload is the type of result returned by some operations like deleteMany or updateMany. Its definition is basically the following:
  export type BatchPayload = {
    count: number
  }

If you looking for some bulk operation api, please follow #3619

@oliviermattei BatchPayload is the type of result returned by some operations like deleteMany or updateMany. Its definition is basically the following:
  export type BatchPayload = {
    count: number
  }

If you looking for some bulk operation api, please follow #3619

Sorry for necro-posting, I had the same issue and this was the first thread came from google search.
I solved it as follow:
import {  Prisma } from '@prisma/client'
then you can reference it as  Prisma.BatchPayload.
Problem solved

Sorry for necro-posting, I had the same issue and this was the first thread came from google search.
I solved it as follow: import { Prisma } from '@prisma/client'
then you can reference it as Prisma.BatchPayload.
Problem solved

nothing wrong with necro-posting - thank you

Sorry for necro-posting, I had the same issue and this was the first thread came from google search.
I solved it as follow: import { Prisma } from '@prisma/client'
then you can reference it as Prisma.BatchPayload.
Problem solved

For what it's worth, I find this pretty unintuitive as well. Thank you for posting this!


Add features to share the post

Users should have a option to share the post on Linkdedln and other social sites.

I would like to work on this issue.

@Kartik-Sama Sure, go ahead!

Couple of clarifications...
The linkedin sharable url isn't functioning currently. it shows some message saying it's their error. Couldn't find any alternative link.
And for the icons used where should we mention credits?

Currently facebook and twitter links work as expected.

I have made a pull request. Please let me know if changes are required. Thanks =D.

Resolved in #57


x/build: NetBSD builder needs a bigger /tmp partition

The bootstrap test added in https://golang.org/cl/167478 is causing the netbsd-amd64-8_0 builder to fail:
##### ../misc/reboot
Building Go cmd/dist using /tmp/workdir/go.
Building Go toolchain1 using /tmp/workdir/go.

Building Go toolchain2 using go_bootstrap and Go toolchain1.
# cmd/cgo
/tmp/workdir/tmp/reboot-goroot029710423/pkg/tool/netbsd_amd64/link: flushing $WORK/b059/exe/a.out: write $WORK/b059/exe/a.out: no space left on device
# cmd/link/internal/loadxcoff
compile: writing output: write $WORK/b126/_pkg_.a: no space left on device
# go/doc
compile: writing output: write $WORK/b101/_pkg_.a: no space left on device
# cmd/link/internal/objfile
compile: writing output: write $WORK/b127/_pkg_.a: no space left on device
# cmd/compile/internal/ssa
compile: writing output: write $WORK/b084/_pkg_.a: no space left on device
go tool dist: FAILED: /tmp/workdir/tmp/reboot-goroot029710423/pkg/tool/netbsd_amd64/go_bootstrap install -gcflags=all= -ldflags=all= -i cmd/asm cmd/cgo cmd/compile cmd/link: exit status 2
--- FAIL: TestRepeatBootstrap (69.75s)
    reboot_test.go:50: exit status 2
FAIL

It looks like it just needs more space in /tmp to write the bootstrap binaries.
CC @dmitshur @bradfitz @bsiegert

/tmp on this builder is on the root file system, so we need a bigger root fs.


Account management

[ ] Allow sign in from Google / Twitter
[ ] Setup database changes needed for users to be able to own or subscribe (and leave) a cupboard
[ ] Setup notification for cupboard invite, first check whether user currently has account
[ ] Send out invite to Stock Cube if no account found
[ ] Send invite to cupboard if account found then subscribe user on email confirmation
[ ] Setup time limit to stop invitations to cupboards being available forever (1 week?)

Twitter sign in instructions: https://dev.twitter.com/web/sign-in/implementing
Google sign in instructions: https://developers.google.com/identity/sign-in/web/sign-in


missing setVariable in originate action

hello.
please add a method to set a variable in originate action

setVariable is already provided by the Message class, which OriginateAction extends: https://github.com/marcelog/PAMI/blob/master/src/PAMI/Message/Message.php#L109


Please check the url is working or not

I just want to check that my site bik is working or not?

This is spam. Please don't click on the link


Add links to the previous talks.

The "Koalas talks" page in the documentations is like:

+1. Cool

Codecov Report

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

@@            Coverage Diff             @@
##           master    #1319      +/-   ##
==========================================
- Coverage   95.23%   92.89%   -2.35%
==========================================
  Files          34       34
  Lines        7331     7343      +12
==========================================
- Hits         6982     6821     -161
- Misses        349      522     +173

Impacted Files
Coverage Δ

databricks/koalas/usage_logging/__init__.py
24.32% <0%> (-71.18%)
:arrow_down:

databricks/koalas/usage_logging/usage_logger.py
50% <0%> (-50%)
:arrow_down:

databricks/koalas/__init__.py
78.72% <0%> (-14.9%)
:arrow_down:

databricks/conftest.py
88.67% <0%> (-7.55%)
:arrow_down:

databricks/koalas/frame.py
93.55% <0%> (-3.17%)
:arrow_down:

databricks/koalas/namespace.py
86.3% <0%> (-1.49%)
:arrow_down:

databricks/koalas/plot.py
93.33% <0%> (-0.96%)
:arrow_down:

databricks/koalas/testing/utils.py
78.26% <0%> (-0.73%)
:arrow_down:

databricks/koalas/groupby.py
91.22% <0%> (-0.22%)
:arrow_down:

databricks/koalas/indexing.py
95.83% <0%> (-0.15%)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

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

Let me merge this for now. Please feel free to leave comments or submit a follow-up PRs if any. Thanks!


Can you add whisper faster or whisper cpp. Its way FASTER than Openai's Whisper?

Openai's whisper large model is quiet slow. Is there a way to change the model to this repo :https://github.com/ggerganov/whisper.cpp or https://github.com/guillaumekln/faster-whisper

+1 for faster-whisper! It's significantly faster than the original model.

+1 to this request!

Whisper.cpp is already supported. I'll look into faster-whisper.

Any progress?

It's already in main if you want to test there (https://github.com/chidiwilliams/buzz/actions/runs/4787674070). I'll cut a new release in a few days.

Out in the new release: https://github.com/chidiwilliams/buzz/releases/tag/v0.8.0


Fixing link in datastore and rulepack example xml.

Fixing link in datastore and rulepack example xml. Should be http instead of https in both examples.

accepted and merged


Fix bot indicator style for mobile

Summary
Fix for bot indicator style overlapping on mobile.
Before

After

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: http://i-09c47117a9ae86a51.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Instance ID: i-09c47117a9ae86a51

@esethna that config has been changed

Spinmint test running for more than 7 days. This test server was terminated.

@miguelespinoza This needs a rebase

Hey @miguelespinoza - can you help with a rebase, and then we'll merge this for v5.3?

Hey @miguelespinoza, would you be open to helping with a rebase? Would love to merge this fix :)
Given the branch is in your fork, we wouldn't be able to do the rebase ourselves.
Many thanks! 👍

@miguelespinoza I rebased your PR. Hope your don't mind.
@jasonblais This should be ready to merge.

I also don't have the permission to do so. (Not sure why TBH)

@jasonblais I've merged this into master. Should it be cherry-picked for 5.6 as well?

@hmhealey Let's cherry-pick since it's a bug fix and we're prior to code complete

I'll do that now

I've created a ticket in Jira to make sure this ticket is tracked and tested correctly: https://github.com/mattermost/mattermost-webapp/pull/1306


WIP: Retain special message

Fix #67
TODO:

[ ] Implement TODO notes in the diff

Closing as some of this code is moving to baldrick, so we'll need to make these changes over there instead.


Sub Text is too dark

Opend: Edge Version 95.0.1020.30 (Offizielles Build) (64-Bit) Dark Mode
Intended ?

@Krockema is it better now?

Not realy


Application Error: Network connectivity issue: Failed to load Organizations. Failed to load organizations

Expected Behavior
I can login
Actual Behavior
dsadf
Reproduction Steps
fdsf
Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
fdsf
Insomnia Version
12343
What operating system are you using?
macOS
Operating System Version
dsadgreg
Installation method
greg
Last Known Working Insomnia version
greg

Same problem...
This is the app screenshot :

Same problem in accessing the web console.

same and now get Invalid authorization code when trying to login via guthub

See https://github.com/Kong/insomnia/issues/7358#issuecomment-2090962167


fix: infinite reload loop in dev env

closes https://github.com/wobsoriano/nuxt-clerk-template/issues/1
The bug seems to be in this function in the case that you make a same-origin$fetch (ex:  to a nuxt api endpoint) this function seems to return true even though the referer is the same as origin (hence not cross origin)
The fix is a temporary one and can be probably removed once this clerk issue gets closed

Thanks! I'll test this out and update you.


Add option for galactic mode

There is an undocumented setting called galacticMode in WWT that can be set to True/False and determines whether the galactic plane should be horizontal in the viewer. This is a really useful option, and we should add it even though it isn't the official API docs.

Are there more undocumented settings like this one?

@ojustino - I'm not sure! I'll try and investigate.
In any case, this was done in #46, so closing - thanks!


Update platformData.ts

Added the SMP roadmap in PL roadmap
Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the CODEOWNERS.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screenshot.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65e902081454bb733276f660--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65e902bd060ab97810387a5f--harness-developer.netlify.app


Initial HW1 for Manav Vora (mkvora2)

Hi Manav, I will review your code.

Hi Gokul,
Thanks for the comments. I'll incorporate the changes soon.


[develop] Pickles encoding and verification hardening

This is #13601 merged into develop
Checklist:

[ ] Dependency versions are unchanged

Notify Velocity team if dependencies must change in CI

[ ] Modified the current draft of release notes with details on what is completed or incomplete within this project
[ ] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[ ] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them

!ci-build-me


Vulnerability in Google Authenticator

If to make a screenshot of the generated barcode by means of espionage programs or to photograph him, then the malefactor can receive one-time passwords to the account. I suggest creating protection for barcode lifetime. That is it is valid within 1 minute or 5 minutes.

That's a server-side issue, not app or even the PAM module.


All architectures with rgb_mean = (0.5, 0.5, 0.5) are incompatible

Hey musl.
Some people on Discord recently asked whether 417432c was a breaking change. I always thought that it didn't matter, but I was wrong. For some architectures, this changes the results only slightly, others drastically change.
So please (1) document all of these changes and (2) make them detectable for spandrel.

As for how to make them detectable: I would suggest adding a neosr_version tensor to each model that just contains a single int32. This int is the version number of neosr changes. The idea is that each of those changes you made is essentially a new version of the architecture. This number just tracks the version and allows others to detect it.
Of course, this addition is unnecessary for architectures you created or did not modify.

I documented it now. Please send an example code of how you think it would be better to add such tensor for detection and I can add it to the modified networks. Would something like this work for you?
self.register_buffer("neosr", torch.zeros(1))

Just to make it clear: this change to the rgb mean values was needed to improve stability. Several datasets were giving unstable training, and after debugging for several hours I found that the original values was the cause of it. The reason is that the default values were copied directly from SwinIR code, and they used ImageNet1k rgb mean values. This means that datasets that do not have values close to these (none, not even the classic dataset used in SISR research, DIV2k) will cause extreme values, making training unstable.
So this was not a 'random change' at all, it was made for a reason. The alternative to this solution would be to remove normalization altogether, which would completely break all models. Simply changing it to neutral values was the best way I found while keeping compatibility.

I documented it now.

Thanks musl!

Just to make it clear: this change to the rgb mean values was needed to improve stability.

You have already made numerous improvements that objectively make these architectures better. I'm not suggesting for you to stop doing that, we simply need to find a way to make it possible for spandrel and other to detect these changes.

Please send an example code of how you think it would be better to add such tensor for detection and I can add it to the modified networks.

Some on EE suggested an interesting solution that would ensure that we'll never have this problem again: put all changes behind new hyperparameters and store those extra hyperparameters in the model.
So we make rgb_mean a hyperparameter and store it inside a dict that contains all hyperparameters that relate to modifications you made. We then JSON serialize that dict and put inside an uint8 tensor that we store in the model (let's called this tensor neosr_params for now). Spandrel and others can then look for this tensor and apply the same changes as neosr. Of course, if neosr doesn't make any modification, we don't need to store neosr_params at all.
This would also allow you to add a "compatibility mode" to neosr. While neosr use the best hyperparameters by default (so e.g. rgb_mean=(0.5, ...)), compatibility mode would revert back to the hyperparameters the original arch uses.
I suggest this solution, because it will make it easier for us both. When you add a new modification, you just need to add a new hyperparameter and add it to a dict. No more tensors for each new parameters (e.g. SPAN no_norm). We can then detect the change and implement the modification. But most importantly, we can detect that a change has been made even if we don't support this change. This will allow spandrel to reject loading models that it don't support.
What do you think of doing something like this?

As for code: I would implement a decorator to make this feature easy to use. Like this:
@ARCH_REGISTRY.register()
@modifications
class atd(nn.Module):
    defaults_for_modifications = {"rgb_mean": (0.4488, 0.4371, 0.4040)}

    def __init__(self, embed_dim=210, ..., rgb_mean=(0.5, 0.5, 0.5)):
        # normal init

The modifications decorator would then change the constructor to store modifications in neosr_params if they differ from the default values defined in defaults_for_modifications. So it wouldn't store anything if you create an ATD model with rgb_mean=(0.4488, 0.4371, 0.4040).
Implementing @modifications also shouldn't be difficult. It's similar to @store_hyperparameters I made for spandrel, so we can use it as a reference.

So we make rgb_mean a hyperparameter and store it inside a dict that contains all hyperparameters that relate to modifications you made. We then JSON serialize that dict and put inside an uint8 tensor that we store in the model (let's called this tensor neosr_params for now). Spandrel and others can then look for this tensor and apply the same changes as neosr. Of course, if neosr doesn't make any modification, we don't need to store neosr_params at all.

why using a tensor to store metadata you can directly save in the state_dict?

Mixing metadata and tensors is not a good idea.

why using a tensor to store metadata you can directly save in the state_dict?

safetensors.

Mixing metadata and tensors is not a good idea.

Why?

safetensors
ok. there is a metadata field in the file format but I can understand that's easier to implement a single solution for both pth and saftetensors

Why?
Will the current official implementation still work with a model that has  this new tensor?

Will the current official implementation still work with a model that has this new tensor?
So long as you turn strict mode off, it would just discard the extra data. The actual changes themselves would break it, but that's gonna happen regardless since, well, the arch was changed

Will the current official implementation still work with a model that has this new tensor?

As Joey said, if the official arch code load the model with strict=True, then the additional tensor will prevent the model from loading. This is the intended effect, because a model with this tensor is incompatible.
I also want to point out that only parameters that differ from the values in the official arch will be stored. So e.g. an ATD model with rgb_mean=(0.4488, 0.4371, 0.4040) will not have the extra tensor, and so official arch code is guaranteed to load it in strict mode.

@RunDevelopment sorry for taking so long to answer.

As for code: I would implement a decorator to make this feature easy to use. Like this:
I made a commit here, please take a look. What would you suggest? I didn't modify the original decorator, feel free to suggest anything. Honestly, as long as the solution is not too convoluted, you can implement this as you see fit.

Any update on this @RunDevelopment ?


Add installDb.sh to `/admiral/common/scripts/x86_64/Ubuntu_16.04/remote/

https://github.com/Shippable/pm/issues/10199

Completed.


Allow 3rd party extensions to be installed

I'm +1, but running dtest with these changes to double check everything is good. I'm going to bump the version once this is merged.
https://cassci.datastax.com/view/Dev/view/ptnapoleon/job/ptnapoleon-trunk-dtest/21/


SVG export duplicates last path

If you call getSignatureSvg() multiple times upon created signature, it's adding last SVG path again and again.

In the SvgBuilder.build(final int width, final int height) function there is a call to append the current path. This will keep adding the current path upon each getSignatureSvg call as you have discovered. I think the appendCurrentPath() function should also set the _currentPathBuilder to null so that once a path is appended it cannot be appended again.

Yep, this fix works. Thanks!

Thanks for finding and fixing that bug. Would you mind to create a pull request, so I can merge that fix into the master branch?