Does "match nuke" support git branches?

Issue Description
How can I cause match to generate new provisioning profiles for a single branch in my certificates/profiles git repo, using the correct team ID and team name for that Apple Developer account?
I have match setup to maintain two branches. They each have certificates and provisioning profiles for an app. One of the provisioning profiles is expiring soon.  I would like to update it without changing anything else, but cannot seem to find a way for "match nuke" to only make changes to a specific branch.
Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

No command run yet.
Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.6

Ruby
2.4.0

Bundler?
true

Git
git version 2.13.1

Installation Source
~/.rbenv/versions/2.4.0/bin/fastlane

Host
Mac OS X 10.12.6 (16G29)

Ruby Lib Dir
~/.rbenv/versions/2.4.0/lib

OpenSSL Version
OpenSSL 1.0.2j  26 Sep 2016

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.3.3

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# vim: ft=ruby

import "Fastfile.helpers"

#   app_identifier = CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)
#   team_id = CredentialsManager::AppfileConfig.try_fetch_value(:team_id)
#   apple_id = CredentialsManager::AppfileConfig.try_fetch_value(:apple_id)

fastlane_version "2.26.0"
REQUIRED_XCODE_VERSION = "8.3"
default_platform :ios

platform :ios do
  before_all do
    load_keys
    xcversion(version: "~> #{REQUIRED_XCODE_VERSION}")
  end

  after_all do
  end

  error do |lane, exception|
    slack(message: exception.message, success: false)
  end

  # This can be invoked MANUALLY by a developer to update her locally
  # stored certificates and profiles. It is also invoked during the
  # Xcode server integrations (See :before_integration, below).
  lane :certificates do
    app_identifier = CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)
    team_id = CredentialsManager::AppfileConfig.try_fetch_value(:team_id)
    match(git_branch: "#{team_id}", type: "development", app_identifier: "#{app_identifier}", readonly: true)
    match(git_branch: "#{team_id}", type: "adhoc", app_identifier: "#{app_identifier}", readonly: true)
    match(git_branch: "#{team_id}", type: "appstore", app_identifier: "#{app_identifier}", readonly: true)
  end

  # This should only be invoked via Xcode Server as part of the
  # Blue Owl Mobile continuous integration builds.
  lane :before_integration do
    app_identifier = CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)
    plist_file = "./HiRoad/Info-#{app_identifier}.plist"

    certificates

    version_number = get_info_plist_value(
      path: plist_file,
      key: 'CFBundleShortVersionString'
    )

    build_number = number_of_commits

    set_info_plist_value(
      path: plist_file,
      key: 'CFBundleVersion',
      value: "#{build_number}"
    )

    slack(
      message: "Starting Xcode Server Integration for HiRoad Build v#{version_number} (#{build_number})\nhttps://bender.local/xcode/bots/latest",
      channel: "#mobile-ci"
    )

  end

  lane :after_integration_develop do
    # Undo the badging of the app icon.
    reset_git_repo(force: true)
  end

  lane :after_integration_testflight do
    app_identifier = CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)
    team_id = CredentialsManager::AppfileConfig.try_fetch_value(:team_id)
    apple_id = CredentialsManager::AppfileConfig.try_fetch_value(:apple_id)
    plist_file = "./HiRoad/Info-#{app_identifier}.plist"

    ipa_path = ENV["XCS_PRODUCT"]
    if (defined?(ipa_path)).nil?
      UI.user_error!("XCS_PRODUCT not defined - IPA not produced - integration failed.")
    else
      build_number = get_info_plist_value(
        path: plist_file,
        key: 'CFBundleVersion'
      )

      version_number = get_info_plist_value(
        path: plist_file,
        key: 'CFBundleShortVersionString'
      )

      changelog = changelog_from_git_commits(
        pretty: "- (%ae) %s",
        date_format: "short",
        match_lightweight_tag: false,
        tag_match_pattern: "hiroad/v[[:digit:]]*",
        merge_commit_filtering: "exclude_merges"
      )

      beta_app_description = <<-BETA_APP_DESCRIPTION
        Mobile app supporting HiRoad insurance product.
      BETA_APP_DESCRIPTION

      # Fails if skip_waiting_for_build_processing set to false. Related to
      # changes Apple made to the TestFlight support in iTunesConnect.
      # Fastlane devs are working on a solution. The work can be tracked
      # here: https://github.com/fastlane/fastlane/pull/8871
      testflight(
        username: apple_id,
        team_id: team_id,
        app_identifier: app_identifier,
        ipa: "#{ipa_path}",
        skip_submission: true,
        skip_waiting_for_build_processing: true,
        beta_app_description: "#{beta_app_description}",
        beta_app_feedback_email<EMAIL_ADDRESS>        distribute_external: false,
        changelog: "#{changelog}"
      )

      add_git_tag(
        tag: "hiroad/v#{version_number}_#{build_number}",
        force: true
      )

      push_to_git_remote
      push_git_tags

      slack(
        message: "HiRoad Build v#{version_number} (#{build_number}) Available for TestFlight Internal Testing\nRelease notes:\n #{changelog}",
        channel: "#mobile-ci"
      )
    end
  end
end

`./fastlane/Appfile`
#######################################################################
# Default values used for in-house development as part of
# the Blue Owl team. Can be overridden using environment variables.
#######################################################################

apple_id ENV["APPLE_ID"] ||<EMAIL_ADDRESS>app_identifier ENV["APP_IDENTIFIER"] || "xyz.blueowl.mobile"
team_id ENV["TEAM_ID"] || "5SVPC2KG65"

# Examples of accessing these values for fastlane
#   identifier = CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)
#   team_id = CredentialsManager::AppfileConfig.try_fetch_value(:team_id)
#   apple_id = CredentialsManager::AppfileConfig.try_fetch_value(:apple_id)

fastlane gems

Gem
Version
Update-Status

fastlane
2.51.0
✅ Up-To-Date

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-badge
0.8.2
✅ Up-To-Date

Loaded gems

Gem
Version

did_you_mean
1.1.2

bundler
1.15.3

io-console
0.4.6

CFPropertyList
2.3.5

i18n
0.8.6

minitest
5.10.3

thread_safe
0.3.6

tzinfo
1.2.3

activesupport
4.2.9

public_suffix
2.0.5

addressable
2.5.1

babosa
1.0.2

curb
0.9.3

fastimage
2.1.0

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

dotenv
2.2.1

excon
0.58.0

multipart-post
2.0.0

faraday
0.12.2

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.12.2

gh_inspector
1.0.3

jwt
1.5.6

little-plugger
1.1.4

multi_json
1.12.1

logging
2.2.2

memoist
0.16.0

os
0.9.6

signet
0.7.3

googleauth
0.5.3

httpclient
2.8.3

mime-types-data
3.2016.0521

mime-types
3.1

declarative
0.0.9

declarative-option
0.1.0

uber
0.1.0

representable
3.0.4

retriable
3.1.1

google-api-client
0.12.0

json
2.1.0

mini_magick
4.5.1

multi_xml
0.6.0

plist
3.3.0

rubyzip
1.2.1

security
0.1.3

slack-notifier
1.5.1

terminal-notifier
1.8.0

unicode-display_width
1.3.0

terminal-table
1.8.0

tty-screen
0.5.0

word_wrap
1.0.0

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.1

rouge
2.0.7

xcpretty
0.2.8

xcpretty-travis-formatter
0.0.4

badge
0.8.4

fuzzy_match
2.0.4

nap
1.1.0

cocoapods-core
1.3.1

cocoapods-deintegrate
1.0.1

cocoapods-downloader
1.1.3

cocoapods-plugins
1.0.0

cocoapods-search
1.0.0

cocoapods-stats
1.0.0

netrc
0.7.8

cocoapods-trunk
1.2.0

cocoapods-try
1.1.0

escape
0.0.4

fourflusher
2.0.1

molinillo
0.5.7

ruby-macho
1.1.0

cocoapods
1.3.1

fastlane-plugin-badge
0.8.2

sbconstants
1.2.0

xcode-install
2.2.0

generated on: 2017-08-08

I have read through the code signing guide.  I don't find any discussion of how nuke works with multiple branches in the git repo where certs and profiles are stored.

You don't have to use nuke for just one profile.  You can use the force flag to force the generation of specific new assets .
Here's a better doc on match vs the docs website: https://github.com/fastlane/fastlane/blob/master/match/README.md#nuke
My understanding it nuke is account based, not git based.  So it'll nuke all the certificates and profiles of an apple developer account ignoring your git strategy.

Yep, the force parameter should help 👍

Does nuke know about the --team_id and --team_name values?  This is what the usage message shows:
% bundle exec fastlane match nuke --help

  nuke

  Usage: fastlane match nuke

  Delete all certificates and provisioning profiles from the Apple Dev Portal

Maybe I misunderstand the nuke command.  I was under the impression it would blow away the provisioning profiles and certificates and clean up the files stored in the git repo on the branch where match stores those files.  If it just blows away content in the Developer Portal account, is there an easier way to refresh an expiring provisioning profile without using "nuke" at all?

You should be able to just remove the profile manually from git and the dev portal, and match should auto-detect it's missing and create a new one for you 👍

I've been removing them from git myself, though I was expecting it would do it self. They really have no use, and match will fail otherwise.

match should automatically re-generate the profiles and certs if necessary. Could you provide the complete output of a run where that didn't happen without you manually interfering on the developer portal. If that's the case, this is a high priority issue for us, and we'll do our best to reproduce the issue and try to work on a fix


IRGen: Fix multi-payload enum lowering

When we have a private resilient enum that is resilient because one of
its payloads is resilient but we have disabled resilience in the
context of lowering the enum as a class member (sigh), we must consider
it's payload's layout enum in the minimal domain (ignore the private
visibility) because we don't truly know the layout.
rdar://41308521

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - 1772e770645ac0980b9108f19992fa75a760474f

Build failed
Swift Test OS X Platform
Git Sha - 1772e770645ac0980b9108f19992fa75a760474f

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - 1772e770645ac0980b9108f19992fa75a760474f

Build failed
Swift Test OS X Platform
Git Sha - 1772e770645ac0980b9108f19992fa75a760474f

@swift-ci Please test

Build failed
Swift Test OS X Platform
Git Sha - 1737b3ab030e95f6923f897879e0696bdb5e3e4e

Build failed
Swift Test Linux Platform
Git Sha - 1737b3ab030e95f6923f897879e0696bdb5e3e4e

@swift-ci Please test

Build failed
Swift Test OS X Platform
Git Sha - 61c9276809d41f53c0546ecd413f850a9afc74c4

Build failed
Swift Test Linux Platform
Git Sha - 61c9276809d41f53c0546ecd413f850a9afc74c4

Oh, right this test case is not going to work on linux where we don't have to expand resilient types in classes because of objc interrupt ...

Build failed
Swift Test Linux Platform
Git Sha - 38a731e50e64398a6427ca26b634567ea091c858

Build failed
Swift Test OS X Platform
Git Sha - 38a731e50e64398a6427ca26b634567ea091c858

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - f1519bb4594dbfc81937abe63f4cbc7674232366

Build failed
Swift Test OS X Platform
Git Sha - f1519bb4594dbfc81937abe63f4cbc7674232366


Fix note box formatting.

The note box is incorrectly formatted along with a quote block.

Docs Build status updates of commit aabb786:
:clock10: Pending: waiting for processors (5 builds ahead of you)
:warning: Docs Build is busy, currently there are 5 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit aabb786:
:clock10: Full build: the average full build time is 12 min(s) 28 sec(s), this is based on the last 1000 build(s) for this repository.

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

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/users-and-groups/Set-UnifiedGroup.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit ce0927b:
:clock10: Full build: the average full build time is 12 min(s) 28 sec(s), this is based on the last 1000 build(s) for this repository.

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

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/users-and-groups/Set-UnifiedGroup.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@MikeyMJCO, there's a global problem with Notes that we're investigating, so I'm closing your PR.


Pinned images are pruned under disk pressure

Description
See linked issue for further details: https://github.com/k3s-io/k3s/issues/10209
In short, images are labelled with io.cri.containerd.pinned=pinned, when a disk pressure taint is applied, pods are evicted, after all pods that are using an image are evicted, the image is deleted, even if it has the pinned label.
Steps to reproduce the issue
See linked issue for further details: https://github.com/k3s-io/k3s/issues/10209
In short:

Label an image with io.cri.containerd.pinned=pinned, e.g. sudo k3s ctr images label <image> <label>
Cause disk pressure (I used dd if=/dev/zero of=dummyfile bs=1M count=1024 and looped until the node fs was > eviction-hard)
Observe pods being evicted.
Once pods are evicted, image is deleted.

Describe the results you received and expected
I would have expected the image to not be deleted, but it was.
This is an issue when using air-gap images (e.g.  sudo k3s ctr images import foo.tar) as if the image is lost, the cluster cannot self heal
What version of containerd are you using?
containerd v1.7.1-k3s1
Any other relevant information
I'm using k3s which has a packaged containerd. I don't believe the containerd --version is applicable in this case. (k3s is not pointed to use the host containerd)
research@pop-os:~$ k3s ctr --version
ctr github.com/k3s-io/containerd v1.7.1-k3s1

research@pop-os:~$ containerd --version
containerd containerd.io 1.6.21 3dce8eb055cbb6872793272b4f20ed16117344f8

Show configuration if it is related to CRI plugin.
No response

Garbage collection is performed by the Kubelet, not by containerd.  Things to check:

What version of containerd is K8s bundling?  If it's 1.7.1 there have been a few bugs related to pinning that were fixed in subsequent versions; the release notes will describe this.
Check whether the pin is returned when querying images in ctr


resource (couchbasecapella_vpc_cluster) don't support terraform import

Hi,
i was trying to import state for one of the existing clusters but it give me below error.
│ Error: resource couchbasecapella_vpc_cluster doesn't support import
Raising this issue so terraform import support can be added. it will be a very useful feature.

Hi 👋 Thanks for submitting this issue and for the feature suggestion. I'll add the enhancement label to this and take a look at what will be required to implement this.


Move the about section in the main page

fixe issue #303

The "about Thorium" / "more information" section is located below the bookshelf, at the very bottom. It is not easily discoverable / reachable once publications are imported. Is that okay? (see screenshots)

... scroll ... (or keyboard-tab)

The "more information" box does not evidently look like a modal popup dialog, because of the lack of left/right margins.
There is a vertical scrollbar in the main app area, which should not exist (needs overflow hidden?)
The information text is horizontally-centered, which makes the bullet points look very awkward (I suggest left-align, or justify).

See screenshot:

Yes this is what I requested to Leo. I didn’t want it to bloat the navigation bar and didn’t want it to stay in Settings (it is not).
We may rethink that later but for now it solves a large accessibility issue we had before. And people scroll.
My only remark so far : the alignment of the elements is discutable, as is the Lack of space between the carousel and the title of the section.

And I agree with Daniel’s comments about the modal window.

When the "more information" dialog is closed (escape-key or cross-button-click or mouse-click-outside), the keyboard focus should return to the calling site (button).

There is now a code conflict (please synchronize with the tip of the develop branch :)

Side note -- I have found "about-window" pretty useful (other Electron projects):
https://github.com/rhysd/electron-about-window#screen-shots
...but it is only good for short content (description summary, copyright, version(s), links).
So, although it would partly solve the "viewport" problem, it does not solve the "calling site" issue (in other projects, there is a menu bar with an "about" menu item).

I'd like to see "V1.0.0-beta.2"


Can you take a little time explain these code?

https://github.com/rtqichen/style-swap/blob/master/lib/StylePatchLossModule.lua#L207-L212
I am quite confused about them.

This file isn't actually used in style swap. It's the transfer loss function defined by https://arxiv.org/abs/1601.04589, which I implemented while working on this project.


Test loadtime

Changes:

...

Type of change

[ ] Bug fix
[ ] New feature
[ ] Update feature
[ ] Refactor code
[ ] Translation to code
[ ] Translation to crowdin
[ ] Script configuration
[X] Improve performance
[ ] Style only
[ ] Dependency update
[ ] Documentation update
[ ] Release

Closed This, because it doesn't improve perfomance


Added the service-monitor to trivy.

Checklist

[ ] Update changelog in CHANGELOG.md.
[ ] Make sure values.yaml and values.schema.json are valid.

Please double check if this is the way Service Monitors are supposed to be added and whether I've done the right thing with changing the policies, values, etc.

@Strigix I don't think trivy exposes prometheus metrics generally and I don't think it exposes anything at all on 8000 -- where is that port coming from? Did you find metrics somewhere?


rps

Rock, Paper, Scissors sample
This sample demonstrates use of the Facebook SDK to create and query Open Graph Actions. It consists of two views.
The first view allows the user to post Open Graph Actions to their Timeline. The second view allows the user to
view a list of their friends who have also installed the Rock, Paper, Scissors sample app, select one of those
friends, and retrieve a list of the actions that that friend has recently posted.
It can serve as the basis for integrating Facebook into a real-world app that has multiple types of Open Graph actions
and that allows a user to view their friends' recent app-related activity directly from within the app.
Using the Sample
Install the Facebook SDK for iOS.
Launch the RPSSample project using Xcode from the /samples/RPSSample directory.

#facebook

This work is licensed under CC BY-NC-SA 4.0


xref-go-{forward,back}

This adds xref-go-forward/xref-go-back actions similar to those in Gnu/Emacs, which act as GotoDeclaration, but stores the position when Goto was called and allows to go back to it. The history is global instead of per-project, afaik it's default in Emacs.

Thank you very much for this!
I had in fact been working on the same functionality over the weekend, inspired by the Reddit discussion last week. I have pushed my solution to the branch "xref-backward". Please have a look.
Comparing our solutions, I prefer mine: I feel by using a CommandListener the plugin code is even simpler than your elegant solution, and I believe we would have less code to maintain. If you don't have any objections to this I could push my solution and make a new release with the new functionality very soon.
The one thing I see that you do that I didn't think of was to make sure we don't save duplicates into the history of positions, and I'd be happy to add that to my solution.
But have a look at both. I'd be interested in your opinion.


hi I have problem because Failed to create name fcl_, interface collisionchecker

I installed or_fcl. but I have that problem.
So, I checked the existence of 'or_fcl_plugin.so' file in this path
' /usr/local/share/openrave-0.9/plugins/ '
what is another problem? what should I do?
thank you for reading.

fcl_ is the FCL CollisionChecker plugin included with recent versions of OpenRAVE. fcl (without an underscore) is the CollisionChecker module built by this package. If you would like to use or_fcl, you should create the fcl plugin manually. Otherwise, if you are actually trying to use fcl_ you'll need to file an issue on the OpenRAVE issue tracker because it is unrelated to this project.


solve sfx issues

-10dB on run files
-10dB on walk files
-10dB on land files
normalized OOT sounds
reworked SonicBoomTrail
recompiled all the sounds

In my testing, this PR completely breaks all sounds, including walking.


LUAFDN-784 Try to download all tools before erroring

Problem
Close #37
LUAFDN-784 We should try to download all tools before erroring. Currently, the tool will immediately crash if it finds a tool that it cannot install. This is not great, as a foreman.toml file may list some tools that the user doesn't have auth for, and the user will have to manually delete the entry for that tool.
Solution
Instead of halting execution when we encounter an error, catch the error and add it to an error map. Then we can display all the errors accumulated during execution after all downloads have been attempted.
Testing
Added a snapshot test for downloading all of the tools, even if there's an error in the middle.

I have read the CLA Document and I hereby sign the CLA


Fixing Sponsorship Links

What

Updating Sponsorship links according to evcc-io/evcc/README.md
Fixed a typo.
Also applied 'one sentence per line' technique to 'Sponsorship' section

Why
Few days ago, I initially sponsored 'andig', because I clicked the link in the Home Assistant Add-on's Description page.
When I didn't receive a sponsorhip token for hours, I realized I should've sponsored 'evcc-io' instead.
Luckily it was only $2 that went onto the wrong account.
(See also https://github.com/evcc-io/evcc readme.)

Thank you!


Trezor/Ledger: Many requests to rpc or infura and iframe.1674908d8c05807b5f70.js:48 Refused to set unsafe header "origin"

Description:
There are many rpc or infura requests when ledger or Trezor direct connection is selected.
Steps:

open Rinkeby/mainnet/Avalanche or any network with ledger and Trezor
select direct connection for ledger or Trezor
Current result:
Many requests to rpc or infura
For mainnet/rinkeby: iframe.1674908d8c05807b5f70.js:48 Refused to set unsafe header "origin"

Tested on staging ( rinkeby, mainnet, Avalanche)

I've looked into this and also onboard's code. It is is the default polling interval.
I do not see any need to change this if we have no had any issues up until now? @katspaugh

Verified, no error on Rinkeby and Mainnet for ledger on dev

@iamacook , but I still see many errors for Trezor Model T

After researching, this is a Chrome related warning. I've looked through our codebase (and that of onboard/Trezor) and it seems as though we are the only iframe users.
This is somehow occurring within out store migrator postMessage: the error occurs seven times and we conveniantly attempt to migrate seven networks... We intend to kill the store migrator in a month or so, so I think we should close this as it should go away when we do so. The Trezor connection bug now has it's own issue either way.
The worry of too many Infura requests is not clear as well.
What are your thoughts? @liliya-soroka @katspaugh @johannesmoormann

Von mir raus :)

Reopened:
Retested in the onboard refactirong PR:
the issue is not fixed.
Also migration was killed in 3.18.0 but the issue still exists
So our assumptions were wrong.


@PureRender class decorator

In the interest of completeness/tidiness, one other somewhat plausible option would be to expose an @PureRender class decorator that would do something appropriate, per https://github.com/wycats/javascript-decorators#class-declaration.
I think I like this syntax a little more than the "function" syntax, and it's Babel stage 1 instead of stage 0. It'd look a bit like
import PureRender from 'react-pure-render/decorator';

@PureRender
class MyComponent extends React.Component {
  ...
}

What do you think?

I'm happy to accept a PR adding this.

One can use this for inspiration https://github.com/brigand/react-purerender/blob/master/index.js

(Also related: https://github.com/felixgirault/pure-render-decorator)

I consider this package to largely be superseded by https://github.com/facebook/react/pull/3355, which will also give flexibility to compare context, so I'm closing this PR for now.


Add no-default-features = true to environment definition

Problem description
[project]
channels = ["conda-forge", "nvidia"]
platforms = ["linux-64", "win-64"]

[dependencies]
pytorch = "*"

[feature.lint]
channels = ["conda-forge"]
platforms = ["linux-64"]
[feature.lint.dependencies]
pre-commit = "*"

[feature.ruff]
platforms = ["linux-aarch64"]
[feature.ruff.dependencies]
ruff = "*"

[environments]
default = ["test"]
lint = {features = ["lint", "ruff"], no-default-features = true}

This results in the following lint environment:

channels = ["conda-forge"] (union of channels from used features) (maybe there is a better solution for this?)
dependencies: ruff = "*", pre-commit = "*"
platforms = ["linux-aarch64", "linux-64"] (union of all platforms from used features) (maybe there is a better solution for this?)

I know originally I was opposed to this idea since you can represent this using an empty default feature set but I came to realize that this use actually happens quite often and restricting myself to an empty default feature set just because of this is annoying 😅
WDYT? cc @0xbe7a

Haha I like it.

Yes, I think the use case is pretty common and the "no default feature(s)" behavior is pretty intuitive. I don't understand why it's called no-default-feature*s* though? As far as I understand it, it only excludes the single implicit "default" feature from the environment, not multiple features, right?

Yes, you're right. no-default-feature would be better :)


Query and Variable sections just display the message "Loading..."

Describe the bug
The "Query" and "Variable" sections aren't loading. Screenshot: https://ibb.co/7gf5F36
After CTRL+SHIFT+I I can see two "Unacceptable TLS certificate" errors, one for<EMAIL_ADDRESS>and another one for https://api.github.com/repos/StarlaneStudios/Surrealist/releases/latest.
Googling around, this seems to be a Tauri issue, that happens with multiple distros. No solution found.
EDIT: When I compile it myself the problem go away.
To Reproduce
Steps to reproduce the behavior:

Do a brand new OpenSuse Tumbleweed install
Run Surrealist appimage

Expected behavior
Query and Variable sections to load
Environment (you can view the current version under Settings):

Operating System: OpenSuse Tumbleweed, brand new install
Surrealist Version: 1.8.0
SurrealDB Version:  1.0.0-beta.9+20230402.5eafebd

I confirm the same error as @agfp in my OpenSuse Tumbleweed with AppImage
my solution is the same as @agfp,
I checkout and build and now it works very well
thanks for the tip @agfp
great work, this Tauri app is awesome

Is this issue still present on the latest version?

Fixed.


fix:add dashscope config desc

Fix for Incorrect Configuration Description
This PR addresses an error in the configuration file where the dashscope settings were mistakenly placed under the openai section. We have now relocated it to the correct position to ensure the accuracy and clarity of the configuration file.
Changes Made
Corrected the description for dashscope in the configuration file
Ensured all related documentation and comments are consistent with the new configuration
Thank you for reviewing! Please let me know if any further adjustments are needed.

 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.


Could we get v7 and v6 working at the same time ?

Is there a insurmontable technical reason that prevent this from working ?
I don't mind that v7 only work with Vue 3, but the fact that both version can't run at the same time will be VERY annoying for people that need to support both legacy Vue 2 projects and newer Vue 3 projets.
I propose that we make one last v6 update so that:

If only v6 is installed, the extension load for both Vue 2 and Vue 3
If v6 and v7 are installed, v6 only load for Vue 2 while v7 only load for Vue 3

If automatic detection is not possible, it could simply be a settings in v6 to disable loading of v6 for Vue 3.

We do not recommend using these two extensions simultaneously, as most of the logic might cause conflict.

@alexzhang1030 As mentioned, if both extension are installed, only one would be "active" at any given time.

Automatic detection is a good suggestion, we might consider supporting this with someway in the future 😊

I originally thought about it, but I ran into some issues with the details, and haven't found a way to implement it yet.


fix: set useTaobaoRegistry to true when user configured custom regist…

Thanks for your help, but with the refactoring done in this PR: #4256 I think this logic is no longer necessary.


Getting memory leak for flutter web

Im working in flutter web application.I tested memory leak for my web application.But I got memory leak from JSArrayBufferData  variable.So I have created simple sample which contains single button to check whether its too leaking memory.
I got memory leak from that simple sample too.I have attached images for your reference.Kindly give me suggestions to resolve this memory leak.

This issue tracker is for a command-line tool called "hub" which is written in Go. Your question seems unrelated to this project, and you should find a more appropriate forum to ask it in. Thank you.


Embeddings vectors from FAISS objects

I'm using FAISS in memory and I need to obtain the vector of embeddings.
text_splitter =  RecursiveCharacterTextSplitter(chunk_size=1500, chunk_overlap=100, separators=["\n\n", "\n", "\t", '. '])
documents = text_splitter.split_documents(docs)
total_chuks = len(documents)
for i, d in enumerate(documents):
d.metadata['paragraph'] = f'Paragraph: {i+1} of {total_chuks}'
emb = OpenAIEmbeddings(chunk_size=1)
vs = FAISS.from_documents(documents=documents, embedding=emb)
I need to obtain the vector embeddings from OpenAIEmbeddings
I'm trying to create a KMeans from the vector indices to clusted the data for searching

Here is the full sample
from 5 levels of Summarization
num_clusters = 5
emb2 = [list(vs.index.reconstruct_n(idx, 1)[0]) for idx in range(len(documents))]
kmeans = KMeans(n_clusters=num_clusters, random_state=42).fit(emb2)
for i, d in enumerate(documents):
    d.metadata['cluster'] = kmeans.labels_[i]

closest_indices = []

# Loop through the number of clusters you have
for i in range(num_clusters):

    # Get the list of distances from that particular cluster center
    distances = np.linalg.norm(emb1 - kmeans.cluster_centers_[i], axis=1)

    # Find the list position of the closest one (using argmin to find the smallest distance)
    closest_index = np.argmin(distances)

    # Append that position to your closest indices list
    closest_indices.append(closest_index)

from sklearn.manifold import TSNE
import matplotlib.pyplot as plt

# Taking out the warnings
import warnings
from warnings import simplefilter

# Filter out FutureWarnings
simplefilter(action='ignore', category=FutureWarning)

# Perform t-SNE and reduce to 2 dimensions
tsne = TSNE(n_components=2, random_state=42)
reduced_data_tsne = tsne.fit_transform(np.array(emb2))

# Plot the reduced data
plt.scatter(reduced_data_tsne[:, 0], reduced_data_tsne[:, 1], c=kmeans.labels_)
plt.xlabel('Dimension 1')
plt.ylabel('Dimension 2')
plt.title('Documents Clustered')
plt.show()


Error in README

"Generated Payload is Encryted with base64, hence makes extremely difficult to reverse engineer the payload"
base64 encoded, not encrypted. Base64 can very easily be decoded and therefore reverse engineered. The hard part about reverse engineering would be reverse engineering would be uncompiling the executable.

Yeah I know Base64 is not a encryption, the correct word should be
Obfuscation, as it becomes very hard to find the hardcoded email through
static malware analysis
As the payload is just the base64 encoded string which will be decoded and
executed in the run time,
Otherwise, we can easily find all the strings used in the program using
debugging software such as ollydbg, etc
Thats why most of the people also try to store things like this:
a = "pas"
b = a+"sw"
cas = b+ "ord"
And the cas variable will have the "password" String,
Through there are some techniques by which we can find the hardcoded email
and password by tricking the virus by making self signed gmail certificate,
But these are some application level things which I have implement to avoid
reverse engineering
On Tue, 8 Dec, 2020, 5:26 am Spl01ter<EMAIL_ADDRESS>wrote:

"Generated Payload is Encryted with base64, hence makes extremely
difficult to reverse engineer the payload"
base64 encoded, not encrypted. Base64 can very easily be decoded and
therefore reverse engineered. The hard part about reverse engineering would
be reverse engineering would be uncompiling the executable.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/PushpenderIndia/technowlogger/issues/31, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ANORYISSSOUYXAPATKPPLRLSTVTSVANCNFSM4URF6ZDA
.


Sequencing command form builder css gutter fix

Only display sequencing command form builder gutter if needed. Previously this gutter would show up on the main sequences page even though unused and if you dragged it you'd get an error.

@joswig looks like you may have done a merge from develop into this branch, I can try to rebase that out unless there's a particular reason to keep it in there?

@joswig looks like you may have done a merge from develop into this branch, I can try to rebase that out unless there's a particular reason to keep it in there?

feel free to rebase it out, I had done the merge commit to enable squash and merge in the web ui


AttributeError: 'LeaderboardEvaluator' object has no attribute 'manager'

I am trying to run the data collection python file.
In the collect.yaml file, I have set the configuration to -

I run the command - python run_steps/phase0_run_eval.py port=2010 resume=True if_open_carla=True
I get the following error -

How to resolve this error? I am using CARLA_0.9.10

is CARLA open correctly by the scripts?

Resolved now. I think the issue was with in the _cleanup() method of LeaderboardEvaluator class. I added a hasattr check before deleting the manager object and it works fine now.


Prepare strings for transaction

Hi, is it possible to push sql prepared strings to array and run transaction after that ?
Something like:
let transactions=[];
let sql=db.prepare("select * from table where param1=?").bind(123); // which returned "select * from table where param1=123"
transactions.push(sql);
db.transaction(transactions).run();

The thing you're specifically trying to do cannot be done. For examples on using transactions in various ways, read this: https://github.com/JoshuaWise/better-sqlite3/issues/49


Should be allowed to create files in kubectl shell

Rancher Version:v1.0.1-rc3
Steps to create the problem:
Create a kubernetes environment.
Launch kubectl shell from kubernetes/Kubectl.
Try to create any file .
Expected Behavior:
Not able to create file - "permission denied" error
we should be allowed to create yaml file that can be used with kubectl command with -f option

Tested with v1.1.0-dev4-rc1, able to create a file successfully in kubectl.


Flaky Espresso tests in NameVariableDialogTest

dialogShowsGenericTextForNewVariable()
dialogShowsOldVariableNameWhenRenaming()

#699 didn't fail because of this, and I can't see the build log for #652.
I've run the test multiple times locally and it's not failing.
I think it would be worth putting the output of the failure here next time it happens.


Making analytic potentials time dependent

Is your feature request related to a problem? Please describe.
The ability to create time dependent analytic potentials would be helpful for running N-body simulations, as it would allow to very easily implement potentials that rotate or decay in time.
Describe the solution you'd like
The easiest solution seems to require the following changes

In amuse/couple/bridge.py class GravityCodeInField the method kick_with_field_code()
would need to be

    def kick_with_field_code(self, particles, field_code, dt):
        ax,ay,az=field_code.get_gravity_at_point(
            self._softening_lengths(particles),
            particles.x,
            particles.y,
            particles.z,
            self.time            # proposed addition
        )
        self.update_velocities(particles, dt, ax, ay, az)

In amuse/ext/static_potentials.py class Abstract_Potential the method get_acceleration_at_point() should accept t with a default value such as t=0|units.s as an additional argument and pass it to the abstract method get_potential_at_point().

Describe alternatives you've considered
Right now time dependent potentials can be implemented by changing the parameters of the analytic potential from the main script, but this needs to be done every time the potential is called. Implementing this proposal would allow to specify the time dependence when the potential is defined without having to explicitly demand that the potential gets properly updated every time it is needed.
Additional context
If the analytic potential being implemented is not time dependent, then the implemented get_potential_at_point() method can simply ignore the additional time argument.

the pattern we prefer for this is to construct the time dependent potential as a gravity code class with an evolve_model method. This evolve just changes the time variable (by changing the time parameter) of the model - conceptually the coupling between active particles and potential becomes like that between two dynamic codes that way..for an example see the examples/galaxie directory, where this is implemented for a timedependent potential of the milky way with bar and spiral arm patterns..

Not a fix within AMUSE, but note that galpy now allows any analytical potential (including time-dependent ones) to be converted to an AMUSE format and used within the AMUSE framework:
https://galpy.readthedocs.io/en/v1.5.0/potential.html#new-in-v1-5-conversion-to-amuse-potentials
So if you can implement your use case using galpy potentials (or define your own, which is pretty easy, since you only need the Python implementation), this should do the trick here.

Thanks @jobovy! That looks great!

NEMO's potential descriptors are analytical and also allow a time-dependent component, but we separate rotation along the Z axis in a different way. Pattern speed is constant and passed to the inipotential() routine, whereas time is passed as an independent parameter to the actual potential() calculator.  Example in the familiar Plummer sphere is here:
https://github.com/teuben/nemo/blob/master/src/orbit/potential/data/plummer.c

i don't like a stale bot... that way you will loose sight of long standing but ignored issues. Of course after a few years your code looks in great shape, no issue left ;-)

We can pin issues where needed :). And feature requests (if so labeled) won't get the 'stale' treatment.

maybe I should request a pinbot then :)


How can I query for selecting items based on conditions in my List<>?

Suppose I have a List containing number of items that will be used to query in select statement using where clause, for example
I'm gonna Pass a List which will contain items { "EAR", "BRC", "RNG"..}
Future<List> getClassificationsItemsOnClick(List itemTypeList) {
return (select(items)
..where((t) => t.itemType.equals(itemTypeList))).get();
}

Would t.itemType.isIn(itemTypeList) work for you?

I want to fetch all the items present in the List will it work?

That query would load all items whose type is in itemTypeList, yes.
Be aware that this approach doesn't work for large lists (maximum is at 999 items, but I wouldn't use it if itemTypeList has more than 50 entries). Other approaches are more complicated though.
Let me know if you need assistance when doing this check with long lists.


Added reopen-on-click typeahead option (Issue #759)

Added code to allow to reopen the typeahead list on click, as per issue #759. This requires adding the "typeahead-reopen-on-click" boolean attribute to the typeahead input, example:

Only works on typeahead-editable="true" since otherwise the view value is erased on blur. The element[0] === evt.target comparison makes sure only the clicked typeahead's list is reopened.

Hi All,
I want to use Typeahead functionality to get ajax call on time interval but I do not want to show list of items's pop up. How can I prevent to show that popup?


Introduce even more optional chaining in the code-base

This replaces a few more small/simple if-statements with optional chaining.

/botio test


S3 bucket

s3 Upload with MultipartUpload
This pull request includes a new process to upload a file to an s3 bucket using the @aws-sdk/client-s3 package.
This package will allow the creation of an s3 client that will facilitate the execution of various commands to interact with an s3 bucket.
The current commands that are in the newly created s3.js provider are the following PutObjectCommand, CreateMultiPartUploadCommand, UploadPartCommand, CompleteMultipartUploadCommand
To facilitate the requests being made to these API's we have had to make slight changes to the lib/utils/xhr.mjs module.
lib/utils/xhr.mjs

You can specify the content type of the payload of a request by passing in the contentType in the params of the module.

const requestHeader = {
    'Content-Type': params.contentType || 'application/json'
  }

From a promise you can now either resolve the targets response or the full target which will include headers.

resolve(params.resolveTarget ? e.target : e.target.response)

s3Client
The s3 client requires 4 keys : KEY_AWSACCESSKEYID, KEY_AWSSECRETACCESSKEY, KEY_AWSREGION, KEY_AWSBUCKET - These keys may be subject to change in terms of their naming.

AWS Access Keys - Follow these docs to create your keys
KEY_AWSREGION - The region where the bucket is stored.
KEY_AWSBUCKET - The bucket name.

s3 Plugin Logic

I removed the plugin from PR and created a test plugin here.
A workspace to test this is here.
Required env keys are KEY_AWSACCESSKEYID and KEY_AWSSECRETACCESSKEY.


Additional TLS troubleshooting information

Add additional TLS troubleshooting information to the TLS doc.
Also remove outdated information about Fabric v1.1.
Signed-off-by: David Enyeart<EMAIL_ADDRESS>

@Mergifyio backport release-2.4

@Mergifyio backport release-2.3

@Mergifyio backport release-2.2


[scratch-org-create] Create a scratch org for a task.

To run this locally, copy the server.key from Keybase into your local repo (compose/web/):
$ cp "/Volumes/Keybase ($USER)/team/oddbird/metashare/jwt/server.key" compose/web/

TODO:

[x] update all relevant fields on scratch org after creation (https://github.com/SFDO-Tooling/MetaShare/pull/142#discussion_r319181927 and comments on https://github.com/SFDO-Tooling/MetaShare/commit/4e18f100c5d550f7b23d7fc1d5edff832614fb6d)
[x] handle scratch-org-creation errors, emitting WS event (https://github.com/SFDO-Tooling/MetaShare/pull/142#discussion_r319550462)
[x] prefix project branch_name with setting from cumulusci.yml (https://github.com/SFDO-Tooling/MetaShare/pull/142#discussion_r319551018)
[x] review Jonny's changes: https://github.com/SFDO-Tooling/MetaShare/pull/142/files/b44d4b4e5ed933df4c5be2daa2881781557a0abb..09b19590ed9d48d4c841883a93e8df95e411b0d7
[x] after org is created, run dev/qa org flow

 I want to create a scratch org for a specific task.

@mirisuzanne

* When I get the "devhub not enabled" modal, and click "check again", the modal disappears, and it's not clear what happened. Would it be possible to see feedback/results there, and an option to continue if the check is successful?

Hm... Are you sure you clicked "check again", not "Disconnect from Salesforce"? I am not able to reproduce with "check again". But yes, we can revisit the interactions there. https://trello.com/c/820XvLiR

* I'm not entirely sure where it is in the code, but the GitHub-branch button-inside-a-link is not valid html. I think the button is just being used for stylistic reasons? Styling links as buttons has also been falling out of favor for a11y reasons (the keyboard interactions are different), but I don't think it's a blocker for users.

Fixed and pushed.

* I wonder if there should be _some_ visual representation of "status" (without relying on the "warning" icon that was there initially)? It seems like an important line, but disappears in the box.

Is it an important line though? It will cause a big "Capture Changes" button to also appear on the page, which is really the important part. I'd vote for revisiting this later once we have more of the features in place.

 Revisit interactions of "Dev Hub not enabled" modal.

 I want to see an expiration date for each scratch org. (Scratch orgs are configured to last 30 days.)

Everything should be in here now. If you want to do one more functional test @jgerigmeyer and make sure I didn't miss anything in my refactoring, and @davisagli if you wanna give a 👍 to the code, we can merge this.


Adding aditional information in Docs about default values in rules validator

Hello. I would like to suggest to add aditional information in documentation.
I think it is handy indicate in the blue "Info:" section of the link: http://www.yiiframework.com/doc-2.0/guide-tutorial-core-validators.html#default the use of loadDefaultValues() http://www.yiiframework.com/doc-2.0/guide-db-active-record.html#default-attribute-values
I think the two links are related. I had to create a post in the forum (http://www.yiiframework.com/forum/index.php/topic/73785-default-validation-rule-set-value-from-schema/) because I didn't found the solution of my problem. I think if the information about loadDefaultValues() were related in the blue box of http://www.yiiframework.com/doc-2.0/guide-tutorial-core-validators.html#default it will be handy for other developers.

Agree. These could be cross-linked.


Option to edit COPY AS parameters

DBeaver 7.3.3, Office Support
I have a delete sql statement with a returning clause that runs inside a transaction that I have startet clicking on the 'T' menu button.
After execution I click the Excel export button at the bottom of the data to get the returned rows as Excel. Now the query seems to be re-executed inside its own new transaction and persists the deletes so that they cannot be rollbacked.
I think the Excel export must run in the same transaction as the sql editor. If this is not possible the user should definitely get a warning when trying to do Excel export while currently being in a transaction.
I would judge this severe, if you work on data that you don't want to loose.

It happens, because copy option (which includes Excel export button) has default settings now and open new connection is used by default. We should add possibility to customize copy as we do for data transfer.
As a workaround while you can use export in XLSX https://github.com/dbeaver/dbeaver/wiki/Extension-Office with disabled open new connection

This doesn't work on PostgreSQL.
Please repeat the following steps to reproduce the issue on a PostgreSQL database:
drop table if exists my_test_table;
create table my_test_table as select * from generate_series(1,10) as my_data;
-- You should now see that the table has 10 records
select * from my_test_table;
-- Start transaction
begin;
-- Select this statement and do an export to XLSX (with "Open new connection(s)" unticked)
delete from my_test_table returning *;
-- Rollback transaction
rollback;
-- This should show the 10 records because of the rollback.
-- But it's empty, so it seems the XLSX export hat committed changes
select * from my_test_table;

I could reproduce it, thank you.

The ability to edit 'copy as' parameters has been added.

Fixed the original issue + added configuration dialog for 'Copy as' commands.

Transactions are not commited when you press Excel in the bottom toolbar in Manual or Smart commit modes now.
Please note, Excel button still commits transactions in Auto-commit (you can use Production connection type by default to avoid unexpected commits).
Now Copy as format settings can be configured via the context menu.

@kseniiaguzeeva with this, is it possible for us to create a new action? like copy as sql update or copy as sql delete. Thank you


⚠ ClamAV has degraded performance

In 6866324, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 104 ms

Resolved: ClamAV performance has improved in 5d48c64.


Migrate first store methods to sqlc

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

#381  👈
#380
main

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

Join @neekolas and the rest of your teammates on  Graphite

Merge activity

Apr 25, 3:27 PM EDT: @neekolas started a stack merge that includes this pull request via Graphite.


Rust examples and documentation

Change checklist
Tick the boxes that are relevant to your changes, and delete any items that are not.

[ ] I have followed the contribution guidelines for this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked that new and existing unit tests pass locally with my changes

Too much conflicts, will reopen later.


Add Barcelona JUG event and remove past events

@ge0ffrey is this ready to be merged?

@etirelli Yes, otherwise I 'd not submit it (or at least mention it in the PR description :)


How to compile with support for musicbrainz tags

Hi, what's the simplest way to enable musicbrainz tags that are suppressed?  I see the lines e.g,. here:
        else if (Key==__T("LWING_GAIN"))             Fill(StreamKind_Multiple, 0, "ReplayGain_Gain", Value.To_float64(), 2);
        else if (Key==__T("LOCATION"))               Fill(StreamKind_Common,   0, "Recorded/Location", Value);
        else if (Key==__T("MUSICBRAINZ_ALBUMID"))    {}
        else if (Key==__T("MUSICBRAINZ_ALBUMARTISTID")) {}
        else if (Key==__T("MUSICBRAINZ_ARTISTID"))   {}
        else if (Key==__T("MUSICBRAINZ_TRACKID"))    {}
        else if (Key==__T("MUSICBRAINZ_SORTNAME"))   Fill(StreamKind_Common,   0, "Performer/Sort", Value);
        else if (Key==__T("MUSICBRAINZ_DISCID"))     {}
        else if (Key==__T("NULL"))                   {}
        else if (Key==__T("ORGANIZATION"))           Fill(StreamKind_Common,   0, "Producer", Value);
        else if (Key==__T("ORIGINATOR"))             Fill(StreamKind_Common,   0, "Producer", Value);
        else if (Key==__T("PERFORMER"))              Performers.push_back(Value);

and am curious how this works.  If I just fix the portion of the library here...I mean, do I recompile or will it use the updated library dynamically or... ?  I don't know anything about C++, nor do I want to, I just need the musicbrainz tags which are actively suppressed from the --full view so that individuals with varying needs are unable to use this application to read tags in their own underlying media files are relevant to them.
If you could just please let me know the shortest path to get all the mb tags displayed, that would be fantastic!  Thanks!

What platform (Linux, Windows...)? What interface (CLI, GUI, lib)?

$ uname -a; mi --version;
Linux gigabyte 6.9.1-060901-generic #202405171038 SMP PREEMPT_DYNAMIC Fri May 17 10:55:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
MediaInfo Command line,
MediaInfoLib - v24.04

Basically, I'm trying to avoid having to do e.g.,
 if [[ "$exitapp" == mediainfo ]]
   then
    readarray -t miarray < <(mediainfo "$musicdir/$resultpath")
    trackmbid="$(ffprobe "$musicdir/$resultpath" 2>&1 |grep -i musicbrainz_trackid)"
    trackmbid="${trackmbid#*:}"; trackmbid="MUSICBRAINZ_TRACKID                      :$trackmbid"
    pause "$trackmbid"

#    trackmbid="${trackmbid#*: }"

# Find the index of the search term
index=-1
for i in "${!miarray[@]}"; do
    if [[ -z "${miarray[$i]}" ]]; then
        index=$i
        break
    fi
done

# Insert the new value before the search term
  if [[ $index -ne -1 ]]; then
    miarray=( "${miarray[@]:0:$index}" "$trackmbid" "${miarray[@]:$index}" )
  fi

   printf %s\\n "${miarray[@]}"

or write a wrapper for ffprobe that looks like mediainfo.


[vNext Tokens] Delete DynamicColor

Platforms Impacted

[x] iOS
[ ] macOS

Description of changes
I originally created DynamicColor as part of #724 to provide a wrapper around Color that could respond to the dynamic values in a ColorSet. Unfortunately, it added more complexity than I really want, and I came up with a better idea anyway.
The problem is that Color has no public API for accepting a set of different color values for e.g. light vs dark mode or HC, and an extension can't monitor the necessary environment variables (since it can't have additional storage). Turns out the simplest solution is to just pass through UIColor! Apple's got some secret sauce behind the scenes to make sure a dynamic UIColor is always properly represented, so let's just leverage their code.
Oh, and did I mention that this change saves us almost 70 kB?? 🤯
Verification
Checked CardNudge before and after in light, dark, and "green" modes to make sure there are no regressions.

Before
After

31,735,921 bytes
31,666,929 bytes

Final improvement: 68,992 bytes, or 67 kB
Pull request checklist
This PR has considered:

[x] Light and Dark appearances
[ ] iOS supported versions (all major versions greater than or equal current target deployment version)
[ ] VoiceOver and Keyboard Accessibility
[ ] Internationalization and Right to Left layouts
[ ] Different resolutions (1x, 2x, 3x)
[ ] Size classes and window sizes (iPhone vs iPad, notched devices, multitasking, different window sizes, etc)
[ ] iPad Pointer interaction
[x] SwiftUI consumption (validation or new demo scenarios needed)
[ ] Objective-C exposure (provide it only if needed)

Microsoft Reviewers: Open in CodeFlow

what about "isElevated" stuff?

what about "isElevated" stuff?

I was being dumb. it was already there

does color extension belong in colorset.swift?

I will look at this on Monday, but I wonder if this is something that can be reused for DynamicColor in react native, which does a similar thing...

does color extension belong in colorset.swift?

Good question. I was leaning towards keeping it here to avoid having a giant catch-all Color+Whatever.swift extension bucket. Would you rather

A single Color+Extension.swift for all Fluent extensions
A specialized Color+ColorSet.swift just for these two initializers
Leaving it as-is

I'm not picky 😬

I will look at this on Monday, but I wonder if this is something that can be reused for DynamicColor in react native, which does a similar thing...

Great question! I'll take a peek there and see if there's any obvious opportunity for simplification.
I'm also down with renaming ColorSet to DynamicColor if that aligns with FURN's precedent?

I will look at this on Monday, but I wonder if this is something that can be reused for DynamicColor in react native, which does a similar thing...

Great question! I'll take a peek there and see if there's any obvious opportunity for simplification.
I'm also down with renaming ColorSet to DynamicColor if that aligns with FURN's precedent?

I'm not sure if there's a FURN precedent in this case. FURN's precedent is to have separate themes for light and dark.
The React Native class I was thinking of is called RCTDynamicColor(.h/.m), and is both in our fork and Meta's repo, if you're curious.


Split flaky VSphere full lifecycle E2E

Issue #, if available:
Description of changes:
UpgradeKubernetesCiliumDisableCSIUbuntuAPI produces inconsistent results every time it is run and takes far longer than other tests. Splitting it up into 2 tests should increase consistency.
Testing (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cherry-pick release-0.15

/approve


Annotation border styles

This PR implements annotation border styles according to the official PDF specification at https://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_reference_1-7.pdf, section 8.4.3.
Most of the code is rewriting the old code, but there are some minor additions in order to adhere better to the specification. These are:

Support for horizontal and vertical corner radii (just a few lines of code)
Support for dashed and underline border styles (two lines of code in annotation_helper.js); this improves all ArXiv PDFs such as http://www.cs.columbia.edu/~djhsu/papers/ilovetoconbandits-arxiv.pdf (dashed border on the left) and fixes #5694 (underline at the top)

Unimplemented border styles have been indicated using warn() so it is clear that these are missing (and there are barely used in PDFs on the web). I have added documentation and unit/regression tests to increase testability of the annotation layer and to avoid regressions.

This patch has only been rebased onto the current master. No changes have been made to the code.

/botio-linux preview

/botio test

thanks @timvandermeij for picking this up. i thought it landed already.

/botio-windows test

Overall looks good, just need to iron the getter/setter stuff.

/botio-linux preview

/botio test

/botio-linux preview

/botio test


Add Gitea Support

Better documentation when creating webhook token
add (semi workish only for dev) support for Gitea

it workish, but there is some bugs which may be due of my Gitea install
(and not related to PAC).
webhook validation seems broken, so if we want to use it we need to make
sure it's empty.
Fixes #451

Changes

Submitter Checklist

[ ] ♽  Run make test lint before submitting a PR (ie: with pre-commit, no need to waste CPU cycle on CI
[ ] 📖 If you are adding a user facing feature or make a change of the behavior, please verify that you have documented it
[ ] 🧪 100% coverage is not a target but most of the time we would rather have a unit test if you make a code change.
[ ] 🎁 If that's something that is possible to do please ensure to check if we can add a e2e test.
[ ] 🔎 If there is a flakiness in the CI tests then don't necessary ignore it, better get the flakyness fixed before merging or if that's not possible there is a good reason to bypass it. (token rate limitation may be a good reason to skip).

/retest

/retest

/retest

I was just playing with tkn-watch to detect pac annotations and show it :-P


[FEAT] Enable SAM for embedded labelling widget

Add functionality for using SAM inside embedded detection widget, similar to labelling widget

not happening soon, closing


Who to contact for security issues

Hello 👋
I run a security community that finds and fixes vulnerabilities in OSS. A researcher (@ready-research) has found a potential issue, which I would be eager to share with you.
Could you add a SECURITY.md file with an e-mail address for me to send further details to? GitHub recommends a security policy to ensure issues are responsibly disclosed, and it would help direct researchers in the future.
Looking forward to hearing from you 👍
(cc @huntr-helper)

Hi @psmoros,
The Vespa bug bounty program is still organized under Yahoo’s program with either HackerOne or Intigriti. Feel free to submit through either of those.
https://hackerone.com/yahoo?type=team
https://app.intigriti.com/programs/yahoo/yahoobugbounty/detail
Best regards,
Morten Tokle

Thanks @tokle! Will do :)


How to configure archival in TemporalCluster

Not sure if we can leverage https://alexandrevilain.github.io/temporal-operator/features/overrides/ but the configuration is an inline yaml which is difficult to patch.
kind: ConfigMap
metadata:
  name: temporal-config
apiVersion: v1
data:
  config_template.yaml: |
    global:
...

This might be duplicated with https://github.com/alexandrevilain/temporal-operator/issues/364
A more generic feature request is how to enable customization not natively supported by the operator.

Hi @yujunz ! I don't think overrides could help to update temporal configuration.
Let's follow the discussion in #364 🙂


Allow any attribute name in Risk Management

1. Why is this change necessary?
Since 5.2 attributes can be added to database easily with any name.
Since today the risk management module only allows attributes with the old static naming like "attr{number}"
2. What does this change do, exactly?
It allows any kind of attribute name
3. Describe each step to reproduce the issue or behaviour.
Create an article attribute with any name and use it in the old format on attribute rules in risk management.
4. Please link to the relevant issues (if any).
none
5. Which documentation changes (if any) need to be made because of this PR?
none
6. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hey @Gugiman,
thank you for your contribution. 💙
Unfortunately, your changes would introduce a new SQL injection possibility.
Do you see any other way to implement this feature?

Do you see any other way to implement this feature?

Refactor the whole thing with QueryBuilder? :see_no_evil: Over and Out :laughing:

It was already refactored in 5.5 Branch 5 months ago but is not merged in 5.6 Branch...
https://github.com/shopware/shopware/commit/7918d9d28516e26545711c7d1dc57fc99c50ff47

@shopwareBot could you check that please?

The PR is from 5 months ago, but it was only merged a week or so ago

True
I didn't checked that

@Gugiman is updated in 5.6 branch :blush:


SUTD FOOTBALL

Name of Student Organisation*
SUTD FOOTBALL
Cluster
Sports
Classification
Fifth Row
Description
We are a family of recreational and competitive players who just want to have fun while sharing our love for football. We welcome anyone who is willing to learn and be part of a team, regardless of experience. Our competitive players can also engage in competitions like Singapore University Games and Diva La Futbol
Training / Meeting Timings
Tuesdays and Thursdays 8.00pm-10.00pm
Student Organisation Introduction Video
[link: https://youtu.be/xtopsha_OUI
Name / Contact of President
Mohammed Fauzaan https://t.me/fauzxan
Other Relevant Links
[Football Freshies Telegram Group: https://t.me/joinchat/76R66ryT17E1YjY1
Instagram: https://www.instagram.com/fcsutd
Tiktok: https://vt.tiktok.com/ZSJpLS5pr/

This is great!


update packages

:white_check_mark: Build TheIdServer 6.1.1-fix-dependencies1-0031 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/0fb6ee51ac by @)


Adjust PowerMockErrorPageCacheImplTest to Java 11

@davidjgonzalez - I've seen https://stackoverflow.com/questions/52966897/powermock-java-11 indeed, but went for the option to remove PowerMock dependency altogether in the test. It's not perfect either way, but I guess still a step in better direction.

Pull Request Test Coverage Report for Build 4577

4 of 6 (66.67%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.006%) to 53.086%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

bundle/src/main/java/com/adobe/acs/commons/errorpagehandler/cache/impl/ErrorPageCacheImpl.java
4
6
66.67%

Files with Coverage Reduction
New Missed Lines
%

bundle/src/main/java/com/adobe/acs/commons/util/ResourceDataUtil.java
1
0.0%

Totals

Change from base Build 4568:
-0.006%

Covered Lines:
13607

Relevant Lines:
25632

💛  - Coveralls

@davidjgonzalez, regarding cleanups - sure, let me adjust my future PRs then.
BTW though, at the moment all changes relate to the fixed tests already, there is no additional cleanup, or is it, from your PoV?


BODY_PARTS_PAF_IDS field

I don't quite understand this field and I hope to learn how to set up this field.

Hi! Great, please check TRAIN-ON-CUSTOM-DATASET.md for the details.

Hope, it is clear now.


runtime: hangs on windows with golang >= 1.14

Does this issue reproduce with the latest release?
Yes.
Works with v <1.14. Last working version is 1.13.15
What operating system and processor architecture are you using (go env)?
go env Output
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\IDE\Programme\go\cache
set GOENV=C:\IDE\Programme\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\IDE\Programme\go\path
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\IDE\Programme\go\go114
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=C:\IDE\Programme\go\go114\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=C:\IDE\Projects_Git\playground\go\examples\go.mod
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\IDE\Programme\go\tmp\go-build087442934=/tmp/go-build -gno-record-gcc-switches

What did you do?

create a simple hello world program
hello

main

main.go

go run main.go runs every time  as expected (  with go v 1.13.15)
But with go v > 1.14 it runs rarely. That means 99% of the cases it hangs.
After the hanging I can't interrupt the cmd window with Ctrl+C. So I must kill the cmd process. over the task manager.
I had an eye to the MCAfee Scanner. I let it deinstall from our IT-Department for testing. But the result was the same. Nothing changed.
Windows defender is disabled.
That's my output with the -x flag
go run -x main.go  Output
C:\IDE\Projects_Git\playground\go\hello\main>go run -x main.go
WORK=C:\IDE\Programme\go\tmp\go-build432668794

After this output the run command hangs
What I have testet?

Deinstall MCAfee
Run command as Administrator
Set all path variables to C:\IDE...  ( this area is not touched from MCAfee )
Testest not working versions 1.14 - 1.17

This could be an issue with async preemtion of goroutines added in go1.14. Try running your binaries with GODEBUG=asyncpreemptoff=1 set.

This could be an issue with async preemtion of goroutines added in go1.14. Try running your binaries with GODEBUG=asyncpreemptoff=1 set.

That's works as expected.
I found out that's works as well if I set GOMAXPROCS=1. What is the better workaround for that issue?

Hi, I suggest you to keep this issue open for the Go team to see. Async preemtion not working properly is for sure a bug (in the runtime or OS or somewhere else) and people should not be expected to fall back to workarounds.

and people should not be expected to fall back to workarounds.

Argue. My bad ;-)

Maybe related to #36492.
@suikast42 Is it always hang or sometimes? Would it be possible for you to capture the program's state when it hangs?
cc @aclements @alexbrainman

Maybe related to #36492.
@suikast42 Is it always hang or sometimes?
cc @aclements @alexbrainman

Somtimes it works :-D

Maybe related to #36492.
Would it be possible for you to capture the program's state when it hangs?
cc @aclements @alexbrainman

Sure. If you tell me how.

Maybe related to #36492.

It could well be the same. #36492 is still broken for me as you can see from https://github.com/golang/go/issues/36492#issuecomment-910108266.

Sure. If you tell me how.

@suikast42 what I do is I use Process Explorer program to see what happens to the Go programs (like go.exe and compile.exe and link.exe) that build my program. See https://github.com/golang/go/issues/36492#issuecomment-910108266 for a screenshot of what I see. If you see some of Go build tools processes start and never exit, then you would have the same problem.
You can get Process Explorer from https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer
Alex

Here is a dump from Process Explorer. I hope that is what you mean.
go.zip

Here is a dump from Process Explorer. I hope that is what you mean.
go.zip

@suikast42 I did not expect you to collect Process Explorer process dump. I will let @cherrymui reply what he expected you to collect.
Thank you.
Alex

@mknyszek @cherrymui @alexbrainman
Any fix for this issue in go 1.19 or later versions. We are also experiencing the same hang issue once we migrated to 1.17. Earlier we were using go 1.13.9

@mknyszek @cherrymui @alexbrainman
Any fix for this issue in go 1.19 or later versions. We are also experiencing the same hang issue once we migrated to 1.17. Earlier we were using go 1.13.9


status -5

Hi, please help me, I get the error with status -5, and if my IMU is not MPU9250, how I can resolve this issue

You're using a really old version of the library, please download the latest directly from GitHub.
Only the MPU-9250, MPU-92500, and MPU-6500 are currently supported.

I have changed my version and encountered to this error
Arduino: 1.8.19 (Linux), Board: "Arduino Nano, ATmega328P (Old Bootloader)"
MPU9250:42:1: error: 'Mpu9250' does not name a type
Mpu9250 IMU(Wire,0x68);
^~~~~~~
/home/vis/Downloads/MPU9250/MPU9250.ino: In function 'void setup()':
MPU9250:51:12: error: 'IMU' was not declared in this scope
status = IMU.begin();
^~~
/home/vis/Downloads/MPU9250/MPU9250.ino: In function 'void loop()':
MPU9250:63:3: error: 'IMU' was not declared in this scope
IMU.readSensor();
^~~
exit status 1
'Mpu9250' does not name a type
So, I opened the files of this library and found that the class of MPU9250 is named "Mpu9250", I changed the name in my code but it gave me the same error.
Could you say me, what need to be the class name of that object  "Mpu9250 IMU(Wire,0x68);"

Which InvenSense IMU are you using? This library only works with the MPU-9250, MPU-9255, and MPU-6500.

I am using the MPU9250


[Bootstrap-4]: inconsistency with the form input and button layout

There is some inconsistency with the field forms like when there is some label for the input, their icon buttons are a bit upwards

and when there is not label, its fine

Possible fix
a fix can be to check the presence of the label and set the padding of the button accordingly
blocker for this is that I think those are splitted and facing some issue with locating them.

done


fix(ts-node): use skipProject instead of localProject

Current dependencies on/for this PR:

main

PR #6   👈

This comment was auto-generated by Graphite.


Please help with sample file for json.php

hi Author, could you please help with sharing the sample file for country "json.php" in your example. Thanks very much.

hi David,
With Tokenize is it possible to load this add-in with pre-defined selected values. let's say we use Tokenize to add value then we want to edit and we want to show the current value first. How can i do that?
 Thanks David much in advance.
Dat Huynh
From: David Zeller<EMAIL_ADDRESS>To: zellerda/Tokenize<EMAIL_ADDRESS>Cc: huynhgiatien<EMAIL_ADDRESS>Sent: Tuesday, December 9, 2014 9:06 PM
Subject: Re: [Tokenize] Please help with sample file for json.php (#12)
Sorry I missed that replace it by $_REQUEST['search']—
Reply to this email directly or view it on GitHub.

hi David,
With Tokenize is it possible to load this add-in with pre-defined selected values. let's say we use Tokenize to add value then we want to edit and we want to show the current value first. How can i do that?
 Thanks David much in advance.
Dat Huynh
From: David Zeller<EMAIL_ADDRESS>To: zellerda/Tokenize<EMAIL_ADDRESS>Cc: huynhgiatien<EMAIL_ADDRESS>Sent: Tuesday, December 9, 2014 9:06 PM
Subject: Re: [Tokenize] Please help with sample file for json.php (#12)
Sorry I missed that replace it by $_REQUEST['search']—
Reply to this email directly or view it on GitHub.

Nevermind David, i was able to solve the below question.
Thanks and happy new year
Sent from Yahoo Mail on Android


Change surface polylines to use rhumb as path type instead of the default great circle (geodesic).

Control points are not aligning to lines (surface polylines)  because the default path type in WW is great circle. The use of path type as rhumb fixes the issue.
Related to this issue, the SEC renderer generate canvas multipoints that uses rhumb. path type. In Cesium there is no option to change the path type. The path type is Cesium is great circle, but this has been flagged as an issue because there must be the option to change the path type to rhrumb.
All 3D engines must  use the same path type to keep the consistency.

Test case:
Plot an Infiltration line. Edit the line. The test is a success if the width control point (gray) aligns with the line.

Reintegrate

Merged into the dev branch. Closing this issue.


creation of nav bar and box color css

The PR integrates CSS into the index page boxes.

Also, it adds the index page header with navigation

Timi You did great job on todays sprint challenge. Your code is clean and concise. You reached the MVP without any trouble . Your layout resembles design files.

General overview:

Great answers
MVP reached
Clean codebase
Fluid git workflow

In the future projects try and work only from 1 branch, only if its necessary create more

Amazing job overall


Fix Badly Broken Links Pt 5

Fix Badly Broken Links Pt 5
Fifth and final batch of updated links from conversion
Summary
Fifth and final batch of updated links from conversion (part 5 of badly converted links)
Note: this PR is Part 5 of several that makes fixing #2459 easier to review. Part 1 was #3757, part 2 was #3815, part 3 was #3876, part 4 was #3948.
Fixes #2459
Migration broken links are identified by searching the repo for qualifyHint, which can be found here.
Internal Review URL (System.Xml.Linq.XAttribute)
Suggested Reviewers
If you know who should review this, use '@' to request a review.

Thanks @mairaw!!!


Contact using dots

There's a string concat using + in line 40, in PHP the string concatenation is done using dots.

Thanks!


I cant add / publish a listing please help

I cant add / publish a listing. when i press the publish your listing button on https://cocorico.dev/en/listing/new
Nothing happens its just stuck in loading.
What is causing this problem?
btw im on windows using xampp the website works 100% except this

Hello @birkirivarb,
Could you look at your Javascript console and see if there any errors.

new:2367 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
 When I press Publihs ...  It looks like proccessing publishing, but it's never finish and no new Listings appears in Admin Console - Listings

Hello,
Indeed there is a problem since Google has changed his price and conditions.
We need two things to making work:

Fix the issue on our side. (Will be done in some hours).

You will need to add your bank details in your Google account. You will have 200$ free monthly usage which should be enough to support the needs of most users.

The google service installation guide : https://github.com/Cocolabs-SAS/cocorico/blob/master/doc/services-creation.md#create-your-google-api-account

The Google pricing details : https://cloud.google.com/maps-platform/pricing/?hl=en

Hello,
As promised this issue is now fixed: fdda3876699633caa70b95cb2a3ddbc9298d4611
Enjoy!


Install error

Hi guys,
I have tried to install your package many times (both method 1 or method 2). The installation process went successfully, but return an error during import.
Here is the error:
>>> import cell2location
/miniconda3/envs/cellpymc/lib/python3.7/site-packages/theano/configdefaults.py:17: TheanoConfigWarning: Config key '/raid1/qinshishang/tmp_cache/' has no value, ignoring it
  from theano.configparser import (AddConfigVar, BoolParam, ConfigParam, EnumStr,
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/miniconda3/envs/cellpymc/lib/python3.7/site-packages/cell2location/__init__.py", line 2, in <module>
    from .run_c2l import run_cell2location
  File "/miniconda3/envs/cellpymc/lib/python3.7/site-packages/cell2location/run_c2l.py", line 9, in <module>
    import theano
  File "/miniconda3/envs/cellpymc/lib/python3.7/site-packages/theano/__init__.py", line 110, in <module>
    from theano.compile import (
  File "/miniconda3/envs/cellpymc/lib/python3.7/site-packages/theano/compile/__init__.py", line 28, in <module>
    from theano.compile.function import function, function_dump
  File "/miniconda3/envs/cellpymc/lib/python3.7/site-packages/theano/compile/function/__init__.py", line 7, in <module>
    from theano.compile.function.pfunc import pfunc
  File "/miniconda3/envs/cellpymc/lib/python3.7/site-packages/theano/compile/function/pfunc.py", line 10, in <module>
    from theano.compile.function.types import UnusedInputError, orig_function
  File "/miniconda3/envs/cellpymc/lib/python3.7/site-packages/theano/compile/function/types.py", line 23, in <module>
    from theano.gof.toolbox import is_same_graph
ImportError: cannot import name 'is_same_graph' from 'theano.gof.toolbox' (/miniconda3/envs/cellpymc/lib/python3.7/site-packages/theano/gof/toolbox.py)

So, I wonder how to deal with that? could anyone give me some suggestions?

Hi @QqQss,
Thanks for using our package! This issue arises from very recent changes to pymc3. I have just updated environment.yml and installation instructions to use pymc3>=3.8,<3.10. Please try installing again now.
You can also use our docker and singularity images to avoid this and potentially other issues with installing cell2location your system.

It works! Thanks!


dynamic auth block bug from cloudposse/codebuild/aws/1.0.0

Describe the Bug
ecs-codepipeline has a hardcoded dependency for the code build module. this is calling version 1.0.0 instead of latest 2.0.1 in which the dynamic block has been removed in commit id:  0586277 (release v.2.0.0) line 414.
https://github.com/cloudposse/terraform-aws-codebuild/commit/058627711da78ffe5436a9c81fd7b73d3c3524af
 dynamic "auth" {
  for_each = var.private_repository ? [""] : []
  content {
    type     = "OAUTH"
    resource = join("", aws_codebuild_source_credential.authorization.*.id)
  }
}

This dynamic block is resulting in the following error:
Error: Unsupported block type
│
│   on .terraform\modules\ecs-codepipeline.codebuild\main.tf line 414, in resource "aws_codebuild_project" "default":
│  414:     dynamic "auth" {
│
│ Blocks of type "auth" are not expected here.
Expected Behavior
terraform to perform a successful plan without error.
Steps to Reproduce
Call the latest version ecs-codepipeline from terraform registry. version = 0.33.0
https://registry.terraform.io/modules/cloudposse/ecs-codepipeline/aws/0.33.0
Screenshots

Environment
cloudposse/ecs-codepipeline/aws = v0.33.0
cloudposse/codebuild/aws = v1.0.0
Additional Context
apologies in advance if this is not the correct format to report a issue with a terraform module. I am new to github and coding in general.

resolved with PR#128


Set roles install path to provisioning/roles. [ci skip]

The ansible.cfg file sets "roles_path = ./roles".
The vagrant provisioner installs the roles in provisioning/roles.

It appears that roles_path should be set to provisioning/roles in the ansible.cfg instead of a doc change.
Will close this PR and open one for ansible.cfg.


AWS SDK v2 Errors

Description of your changes
I went over all IsNotFound checks of AWS SDK v2 consumers. Thanks to @larhauga, most of them were fine except S3 bucket. I mostly refactored the statements to be one-liner. Additionally, there were some unused code I noticed like cloudformation client which we were using in the old EKS implementation.
I have:

[x] Read and followed Crossplane's contribution process.
[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested
Manually with S3 bucket.

Looks like the CleanError functionality was disabled during the v2 migration, just pushed a commit implementing it for the new error types so that we don't get re-queued aggresively.


[Bug] Show soft deleted item info

Bug report
What I did
Created an article, the activity shows up in the table (good):

Then I deleted that article.
What I expected to happen
I expected:

that previous entry in the table to stay the same
a new entry to show up, saying XUser has deleted YArticle

What happened

that previous entry in the table is there, but the article info is no more;
a new entry did show up, saying XUser has deleted something... but I don't know what;

The behaviour above makes the activity log useless for (in my opinion) the most important use case... tracking when someone has soft deleted something.

Ok so... after using this package a little more time... and Spatie's ActivityLog too... it turns out that the spatie config includes an option saying:
    /*
     * If set to true, the subject returns soft deleted models.
     */
    'subject_returns_soft_deleted_models' => false,

By default it's false. Set it to true and it will do exactly what I expected.

So this isn't an actual bug, we can close it. But I'm sure someone will ask the same thing, so let's keep this in mind.

While this is true, if you're using <L10.2 you can't have BOTH soft-deleted and normal-deleted models in your list view 🤦♂ See https://github.com/Laravel-Backpack/activity-log/issues/16 for details.
Closing this, as it's not an actual issue. That ☝ is.


Official documentation about accessing webcam and mic

Is your feature request related to a problem? Please describe.
There are several tutorials about rebuilding WSL kernels to support the webcam, but the steps may differ from each other, and I don't want to try them out.
Describe the solution you'd like
Have up-to-date documentation about how to access the webcam and mic from WSL.
Describe alternatives you've considered
Enable those drivers by default would save much more user time https://github.com/microsoft/WSL/issues/8655

Logs are required for review from WSL team
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
How to collect WSL logs
View similar issues
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!
Open similar issues:

Include web-camera drivers to WSL2 kernel (#8655),  similarity score: 0.74

Closed similar issues:

Access to hardwares like webcam via the wsl (#5218),  similarity score: 0.72

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

/feature


MeTTa module installation

An infrastructure for MeTTa modules representation and installation is required. What is needed:

Modules should support both pure metta scripts and Python extensions (as well as extensions with dynamically linked libraries created with Rust, C/C++, etc. -- but this is not required atm). This should be done by an extension of import!.

import! should still be able to work with separate .metta files (optionally, without the need to add .metta to the filename),
but it should also be able to work with folders as its argument. That is, full-fledged modules should be placed into folders (subfolders are not required atm).
In the case of modules as folders, they should contain something like __init__.metta (other options are welcome; it can be a config file like Cargo.toml or gradle.properties or whatever else depending on whether it will be a normal metta script or a config file/space for processing by some other function). For modules with Python extensions, different options are possible, e.g.:

__init__.metta executes extend-py! directly (it's ok if it requires importing module to &self atm, it will be fleshed out later);
there is extension.py (any other standard name is ok), for which import! will execute extend-py! if Python is supported by the runner;
config.metta indicates that there is a Python extension with a custom name.

A tool for installing modules is needed. An environment manager is welcome but not required atm.

The tool (e.g., mim - MeTTa installation Modules, but other suggestions are welcome) should create a folder for the default module location (this operation can be automatically executed within some metta installation method and can be invoked manually), which will be known by import!. This location already exists, and it is ok for the sake of this issue, but see the discussion in #475 .
The tool should be able to install local modules in the default location, say mim install dasgate will put dasgate folder into the default location for modules (in the current environment).
It is desirable, but not absolutely necessary for this PR for the tool to be able to install modules from github repos. We can create one repo for curated libraries, and mim can be aware of it, so, say, mim install dasgate will first check that dasgate is not the local folder and try to search it in the dedicated repo. Other repos can be added to the mim source list, or the web link can be specified directly -- but this is not required atm.

module versioning and other fancy stuff can be sketched out but is not required atm.

Other issues from #470 should not be addressed here. The solution for this issue should be done ASAP and should not be an ultimate or comprehensive. It can also contain obviously non-perfect choices, if they are faster to implement, and can be refactored and improved in the future.
@luketpeterson , this issue should be prioritized.

I'm torn about whether to use MeTTa as the file format for a module to express its metadata.
On the "use MeTTa" side:

It means single-file modules can include all the same metadata as whole-directory modules
MeTTa is conceptually a KB language, so static data is within its wheelhouse (Unlike the imperative languages that chose TOML or JSON for this purpose)

On the "Use JSON or TOML" side:

We want a language that makes it clear the data must be static.  For example we wouldn't want the user to be able to define a module's version as an expression with complicated evaluation logic
(Minor point) We want something that's cheap to parse, in order to build a central index like PyPI or crates.io.

I'm leaning towards using MeTTa, but open to you opinions.

I don't have a strong opinion also.

Apparently, module metadata might be loaded prior to running an interpreter. OTOH, even if this is the case, we may want to analyze this metadata in MeTTa itself for some reason.
Having a metadata file in the MeTTa-like format, which is not actually interpreted as a MeTTa script, might be confusing. OTOH, we can really end up interpreting it or having a DSL in MeTTa for this metadata files.
I don't think this is really important, since we can always change this if the choice proves to be not too good. But I'm also leaning towards MeTTa format.

I'm working towards a loaded module dependency tree (each loaded module has its own sub-modules, as opposed to all sub-modules being loaded into the runner) so that version conflicts among second-order dependencies don't occur.
Along the way, this change should address https://github.com/trueagi-io/hyperon-experimental/issues/397 but it's a little tricky.


[ext] NAM form transformation

@onlyjsmith commented on Thu Jul 19 2018
External feedback source: https://github.com/disarm-platform/user-requests-and-feedback/issues/86
DiSARM Form Design_Iitula and Joyce.xlsx
Namibia Form Flow.pptx

NAM form Code found on this gist here
NAM form validations found on this gist here

@Nicolaidavies I started building it then sent it to Sameen and she did some work, sent it back. from my tests it works well, is it a good form for you?

This has been changed and deployed to staging.

Completed


Make @preconcurrency import hide sendable variance

When the conformance checker and override checker detect a difference in a function type’s @Sendable attribute that varies in an illegal way, they now check if the protocol/base class was imported with an @preconcurrency import, and either limit the diagnostic or suggest adding @preconcurrency to the import as appropriate.
Additionally, this PR makes it so we don't emit the remark recommending that @preconcurrency be added to an import if the type we're using has explicit sendability; after all, the author of the type has audited it and determined that any sendability problems in your code are not an error. Types in isConcurrencyChecked() modules are treated as always having explicit sendability for these purposes, since eventually we want to eliminate isConcurrencyChecked() and just serialize their public types as though they are explicitly non-sendable.
Completes rdar://91109455. Followup for #42194.

@swift-ci please smoke test

@swift-ci smoke test and merge

@swift-ci please smoke test linux platform

@swift-ci smoke test macOS platform


ylevels reordering in type_ridge()

Fixes #271
This is a mini PR that re-orders the categories of the y-variable in type_ridge() as in type_spineplot(). This is done in the type_data function at the beginning (after determining whether y is equal to by).
Edit: In addition to the ylevels I will address the problems with density scaling and bandwidth here.

Thanks for doing this (and fixing the density scaling/bandwidth issue too). I haven't looked into why the tests are failing, but one meta question I have is the following:
Shouldn't re-ordering of the y- (or x-) axis be handled generically by the main ylim/xlim arguments? For example, I've wondered whether we shouldn't support a way to easily reverse the direction of an axis a la this example, say, tinyplot(..., ylim = rev).

The tests are expected to fail because I already changed the scaling of the densities and thus all ridge type plots now look different than before.
For changing the bandwidth I'm not sure what the best approach would be. Any guidance would be helpful, see #271.
The arguments ylevels and ylim are separate aspects. The former is about re-ordering the categories of the response. The latter modifies the range actually drawn. In a spine plot you might want to have a subset of [0, 1] and in a ridge line you might also want to zoom in or out.

Got it, thanks for the explanation.

For changing the bandwidth I'm not sure what the best approach would be. Any guidance would be helpful, see #271.

I'm neck deep in the themes PR rn, but will take a look as soon as I can after.

Sure, no worries. My time will be very limited in the next two weeks due to other projects anyway. I'm optimistic, though, that we'll finish it as a nice Christmas present to ourselves 😅

Sorry for the long delay in reviewing this @zeileis. Am I correct in thinking that this where we stand?

The PR fixes both the y-levels and density scaling issue for type_gradient?

However, it doesn't implement the weighted.mean suggestion for selecting a common bandwidth both for type_gradient and across regular grouped type_density() plots.

We still need to delete the old gradient snapshots and replace them with the fixed versions so that the tests pass.

Status:

ylevels is done.
Scaling is definitely better than before and necessitates updating all corresponding snapshots. We can leave it at this (for now) or we can think about adding something like panel_scaling in geom_density_ridges(). This controls whether the scaling is done per panel (default) or globally.
The bandwidth I did not touch, yet, because I wasn't sure what was the best way to do it. So this is still open and weighted.mean() seems to be our current favorite solution.

Great, thanks for the update. I cloned your branch locally and tried a few of the snapshots. I agree that the new scaling makes more sense as a default.

We can leave it at this (for now) or we can think about adding something like panel_scaling in geom_density_ridges(). This controls whether the scaling is done per panel (default) or globally.

I think that this is a good idea.  Do we have a better argument name than panel_scaling, though? I don't have hugely strong priors, but it doesn't feel like the most intuitive name to me.

P.S. I'm going to push the updated snapshots (alongside merging in main), just so that these are up to date with what the PR is actually proposing.


Feature/transform

Added tests: https://github.com/mweststrate/mobservable/issues/67#issuecomment-163342323

Merged, thanks a lot!

@mweststrate my pleasure.
I'm not sure if the version in the tests has asFlat, asReference, etc correct, though. I started to change it, but the tests broke and I'm going to start moving my code over to using transformations before I look into this and also need to get back to feature development.
If you want to update the tests to use the right method until I get around to it (it could be 4+ days), be my guest...


Merge master to berkeley

This PR merges master to berkeley, the final step before landing the berkeley branch as master for the berkeley upgrade.

!ci-nightly-me

!ci-build-me

https://buildkite.com/o-1-labs-2/mina-end-to-end-nightlies/builds/2102

!approved-for-mainnet


iOS Crash

On iOS, chrome or safari if you select boots for example and fully enchant them then the webpage crashes.
I believe it’s hitting some sort of timeout value.

Boots also crash on Android. It gets stuck at

Calculating stage 6 of 7 (793,800 paths explored)

Mobile clients now show a warning when there are many enchantments (6+). Additionally, the updated algorithm is much more likely to complete without running out of memory.


Request to create semconv-dotnet-approver

I'd like to request creating a new approver group semconv-dotnet-approver and add the following approvers to that group:

@noahfalk
@JamesNK
@antonfirsov

This group would be the code-owner for metrics emitted by .NET runtime and libraries which are going (🤞 ) to be added in #283

@arminru all the folks are now members of OTel, would it be possible to create a group? Thanks!

@lmolkova I created a group with the initial approvers proposed above:
@open-telemetry/semconv-dotnet-approver.
I was only able to add @noahfalk so far.
@JamesNK and @antonfirsov haven't accepted their invitation to the organization yet.

Accepted now. (As person who is lazy about clicks, I wish GitHub made it more obvious how to do it.)

@JamesNK could you please accept the invitation to join @semconv-dotnet-approver  group?

I didn't get an invite. I just requested to join https://github.com/orgs/open-telemetry/teams/semconv-dotnet-approver

The group is created and everyone has joined - https://github.com/orgs/open-telemetry/teams/semconv-dotnet-approver
Thanks @arminru, closing the issue


Jupiter is not the 9th planet

If the reference to "after Mars," is
desired for some reason, punctuation should
probably be added for clarity. E.g., "planet,
after Mars,", or "planet, following Mars,". Note
also that because this is a FIM example and "the
5th" is part of the sentence to be filled, it
shouldn't be included as part of the completion.
Description
Fixed a FIM example
Checklist

[x] The base branch of this PR is preview, rather than main

:heart: the title

@pzaback Commendable work 🫡