panic: runtime/cgo: misuse of an invalid Handle (Code-Hex/vz/v3.changeStateOnObserver)

$ limactl start template://experimental/vz

$ limactl stop vz
INFO[0000] Sending SIGINT to hostagent process 47742
INFO[0000] Waiting for the host agent and the driver processes to shut down
INFO[0000] [hostagent] 2023/02/24 17:59:43 tcpproxy: for incoming conn <IP_ADDRESS>:51498, error dialing "<IP_ADDRESS>:22": connect tcp <IP_ADDRESS>:22: no route to host
INFO[0000] [hostagent] 2023/02/24 17:59:53 tcpproxy: for incoming conn <IP_ADDRESS>:51499, error dialing "<IP_ADDRESS>:22": connect tcp <IP_ADDRESS>:22: connection was refused
INFO[0000] [hostagent] Received SIGINT, shutting down the host agent
INFO[0000] [hostagent] Shutting down the host agent
INFO[0000] [hostagent] Stopping forwarding "/run/lima-guestagent.sock" (guest) to "/Users/suda/.lima/vz/ga.sock" (host)
INFO[0000] [hostagent] Shutting down VZ
ERRO[0000] [hostagent] dhcp: unhandled message type: RELEASE
INFO[0001] [hostagent] panic: runtime/cgo: misuse of an invalid Handle
INFO[0001] [hostagent] goroutine 17 [running, locked to thread]:
INFO[0001] [hostagent] runtime/cgo.Handle.Value(...)
INFO[0001] [hostagent]  /usr/local/Cellar/go/1.19.6/libexec/src/runtime/cgo/handle.go:124
INFO[0001] [hostagent] github.com/Code-Hex/vz/v3.changeStateOnObserver(0x0, 0xc000006801?)
INFO[0001] [hostagent]  /Users/suda/gopath/pkg/mod/github.com/!code-!hex/vz/v3@v3.0.4/virtualization.go:160 +0xec

version: e939454

Looks like this happens only on stopping a new instance

Will check this out

Debugged this, this is from upstream only. Will raise a ticket in vz. I tried to do some workaround but none worked.

I experienced the same error working on a separate product on Mac Os. The crashes also happened severally when I was shutting down the application. After updating the o.s to Monterey the crash seems to have disappeared by I want to understand what exactly happened.

@dmigwi This issue is about macOS 13 (Ventura) because there is no Virtualization framework support in Lima for earlier macOS version (we only support EFI boot, which was added in Ventura). So if your problem with the vz library was fixed by Monterey, then this is a separate issue.

@jandubois Thanks for letting me know that is issue is not yet resolved since Ventura is the latest Mac Os release. A weird thing that happened when I experienced that crash on my product (desktop app) is my mac was weirdly hot and the fan was humming way louder than usual. This led me to believe something in the background or o.s. level was pushing my CPU to its extreme limit.
I tend to believe the golang GC kicked in to clean up memory space it thought wasn't needed anymore since space was kinda being stretched thin then. The communication between golang and cgo is via memory locations inform of integers, so when cgo attempted to resolve the memory location that turned out to reused by something else that crash happened then. Its all documented here: https://golang.design/research/cgo-handle/
My initial hypothesis is that the crash happens when the garbage collector runs and cleans up memory locations its not expected to mess with. I could be wrong on this!

@dmigwi Please report your issue on the https://github.com/Code-Hex/vz repo if you have additional information to reproduce the problem.
This repo is purely about Lima, so we will not be able to help you with your project here, since you seem to be experiencing a separate issue.

Still doesn't seem fixed
$ limactl stop vz
INFO[0000] Sending SIGINT to hostagent process 33283
INFO[0000] Waiting for the host agent and the driver processes to shut down
INFO[0000] [hostagent] 2023/04/15 22:39:32 tcpproxy: for incoming conn <IP_ADDRESS>:60602, error dialing "<IP_ADDRESS>:22": connect tcp <IP_ADDRESS>:22: no route to host
INFO[0000] [hostagent] 2023/04/15 22:39:42 tcpproxy: for incoming conn <IP_ADDRESS>:60612, error dialing "<IP_ADDRESS>:22": connect tcp <IP_ADDRESS>:22: connection was refused
INFO[0000] [hostagent] Received SIGINT, shutting down the host agent
INFO[0000] [hostagent] Shutting down the host agent
INFO[0000] [hostagent] Stopping forwarding "/run/lima-guestagent.sock" (guest) to "/Users/suda/.lima/vz/ga.sock" (host)
INFO[0000] [hostagent] Shutting down VZ
ERRO[0000] [hostagent] dhcp: unhandled message type: RELEASE
INFO[0001] [hostagent] panic: runtime/cgo: misuse of an invalid Handle
INFO[0001] [hostagent] goroutine 17 [running, locked to thread]:
INFO[0001] [hostagent] runtime/cgo.Handle.Value(...)
INFO[0001] [hostagent]  /usr/local/Cellar/go/1.20.3/libexec/src/runtime/cgo/handle.go:124
INFO[0001] [hostagent] github.com/Code-Hex/vz/v3.changeStateOnObserver(0x0, 0xc000006801?)
INFO[0001] [hostagent]  /Users/suda/gopath/pkg/mod/github.com/!code-!hex/vz/v3@v3.0.5/virtualization.go:160 +0xb4

@AkihiroSuda
Is the steps to reproduce are the same ??
I tried with multiple create stop and start stop use cases :( Didn't face the issue.

@AkihiroSuda Is the steps to reproduce are the same ??

Yes

I tried with multiple create stop and start stop use cases :( Didn't face the issue.

Probably because this is a race condition

This is still happening on v0.15.1.
A user reported it https://github.com/abiosoft/colima/issues/691#issuecomment-1510272168 and I am also able to reproduce it.

I can confirm that it is still happening for me:
$ colima stop
INFO[0000] stopping colima
INFO[0000] stopping ...                                  context=docker
INFO[0002] stopping ...                                  context=vm
> [hostagent] panic: runtime/cgo: misuse of an invalid Handle
> [hostagent] goroutine 17 [running, locked to thread]:
> [hostagent] runtime/cgo.Handle.Value(...)
> [hostagent] 	/opt/homebrew/Cellar/go/1.20.3/libexec/src/runtime/cgo/handle.go:124
> [hostagent] github.com/Code-Hex/vz/v3.changeStateOnObserver(0x0, 0x14000002680?)
> [hostagent] 	/Users/brew/Library/Caches/Homebrew/go_mod_cache/pkg/mod/github.com/!code-!hex/vz/v3@v3.0.5/virtualization.go:160 +0xb0

Version Info:
colima version 0.5.4
limactl version 0.15.1


Swept's HUD changes

About the PR
Please comment on colors. I think these best fit the rest of the current HUD, but they could need some tweaking.

Changed the hat, mask and ear hud icons to be more legible (I might change the ID and neck one)
Edited the goon icons so that the actual hand/suit/etc is on top of the scan-lines
Edited the goon icons so that clothing etc actually match with the icons
Reset the HandsGUI to use no_letter hand icons

Current HUD can be viewed here - https://github.com/space-wizards/space-station-14/pull/3655
Screenshots

Bare

Decked out

Changelog

:cl: Swept

tweak: Changed the HUD sprites

We're probably better off hiding the icon when something is the slot so you don't need to make all of the icon art conform to it IMO

We're probably better off hiding the icon when something is the slot so you don't need to make all of the icon art conform to it IMO

Do you want me to add the icon as a layer for if this eventually happens?

Also don't merge i'm taking reviews and tweaking it.

New changes to UI

UI skin I added that converts the old UI

Does this close #272? Since it's kind of redundant now or is that still relevant. Last commit was over a month ago by @chairbender.

Does this close #272? Since it's kind of redundant now or is that still relevant. Last commit was over a month ago by @chairbender.

No, this is meant to replace the current default HUD with the blue-black one. Ike said he'd be working on HUD themes soon so i've packed his and an alternate one I made into their own folders.

Seeing as ike branched from this without a word to me for #3774 what do I do about this PR?

@SweptWasTaken You don't need to jack, your PR just needs to be merged before mine.


[R] BugReports field in DESCRIPTION file needs updating to point to GH Issues

Describe the bug, including details regarding any error messages, version, and platform.
The BugReports field currently points to Jira but should be updated to point to GH Issues instead
Component(s)
R

Never mind, this was done in #33809 but we missed cherry picking it into the release.


Increment version for cosmosdb releases

Increment package version after release of azure-cosmos

@chidozieononiwu The changelog entries have gone out of order... Looks like the script thinks 1.14 < 1.2 :)

will do a manual bump in this release PR


[conflicts] Ensure repo is clean before push/pr phase

When conflicts are found during a cherry-pick the backport tool pauses, but it doesn't verify the user input when they say that the conflict has been resolved. If the conflict has been resolved but the cherry-pick has not been --continue'd an incomplete pr is pushed to the user's fork and pull requested.
I think that when the user answers "Have you solved the merge conflict?" with Y the backport tool should verify that the repo is not dirty and that there is no cherry-pick/rebase/merge pending.
It would also be nice if the "Have you solved the merge conflict?" message offered a ? input that described the steps the user should take in more detail, and offered these instructions to the user in case they have not handled conflicts in a backport before.

This could definitely be improved. Going on vacation next week but I'll try to get it done sometime after.


Review Least Squares fit of semi-variogram

Currently there is a slight difference in the Least Squares fit of the semi-variogram between the Matlab and Python code. This causes differences in the semi-variogram model parameters produced and thus causes a slight difference in the Kriged biomass estimate.
In short, the Matlab code performs the fitting by forcing the nugget to be exactly zero. This often results in a kink in the graph around the nugget. This is shown in the Matlab produced fit below (where the black circle brings your attention to the kink in the graph):

In the Python version of the code we bound the nugget to be close to zero, but do not force it to be exactly zero. This produces the smoother fit as shown below:

We need to decide which method is more appropriate.

@brandynlucca : FYI, since you're now working on kriging section.


Hamburger Menu Icon

A quick UI improvement would be to add chevrons to each box bar when it is collapsed to give the user a hint that it expands down. A second option that may be easier to implement would be the horizontal lines used to show menus on mobile UIs.

I will see what React Bootstrap can do. I need to find something I like. I think it is a little tricky.

I thought about this some more, and the fact that it expands isn't as important as the fact that they are buttons. When they click on them, they will expand, and if it's not expanded, then it won't affect the pattern.
The one exception is the machine settings. I can't remember why I though I should hide the settings on the second click. I might rethink that.

Other than experimenting, how does a new users know easily which options are active and having an effect? I see the intent is anything that is "open"/expanded is active, but it can also just appear that anything open has a blue button (which is not clear that it means it is active).
The chevrons or menu icons would help indicate that these are indeed buttons and can be clicked for options based on commonality with current web and mobile apps.

When you click on the Circle button, the drawing changes to a circle and the preview shows a circle. That's the kind of reinforcement I want. What's wrong with learning through experimenting?
I imagine the hurdle is just convincing people to click on the button, or to start experimenting.

The UI has changed enough that I don't think this applies is 0.2.0. I am closing, but feel free to comment if you don't think this has been addressed well enough.


ENV["varname"] = "A string" does not work

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
My situation:
I'm using the bitrise CI and I want to call the curl step after fastlane to notify my discord bot and send it a changelog which was generated by the fastlane changelog plugin.
I have to use an environment variable to "communicate" between the curl step and fastlane.
The variable is called CHANGELOG.
My problem:
ENV["CHANGELOG"] = "testing" does not work
My steps:

I've called export CHANGELOG='FAIL!'
I've called my checkEnvSetting lane, which has only one line: ENV["CHANGELOG"] = "testing"
printenv shows the CHANGLOG var with the value 'FAIL!'

Where is my fault ?
Thank your for your help!
Complete output when running fastlane, including the stack trace and command used

[11:36:25]: fastlane detected a Gemfile in the current directory
[11:36:25]: however it seems like you don't use `bundle exec`
[11:36:25]: to launch fastlane faster, please use
[11:36:25]:
[11:36:25]: $ bundle exec fastlane checkEnvSetting --capture_output
[11:36:25]:
[11:36:25]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
DEBUG [2018-02-22 11:36:26.64]: Checking if there are any plugins that should be loaded...
DEBUG [2018-02-22 11:36:26.71]: Loading 'fastlane-plugin-changelog' plugin
INFO [2018-02-22 11:36:26.75]: gem 'fastlane-plugin-changelog' is already installed
INFO [2018-02-22 11:36:27.06]: ----------------------------------------
INFO [2018-02-22 11:36:27.06]: --- Step: Verifying fastlane version ---
INFO [2018-02-22 11:36:27.06]: ----------------------------------------
INFO [2018-02-22 11:36:27.06]: Your fastlane version 2.81.0 matches the minimum requirement of 2.68.2  ✅
INFO [2018-02-22 11:36:27.10]: ------------------------------
INFO [2018-02-22 11:36:27.10]: --- Step: default_platform ---
INFO [2018-02-22 11:36:27.10]: ------------------------------
INFO [2018-02-22 11:36:27.10]: Driving the lane 'ios checkEnvSetting' 🚀
INFO [2018-02-22 11:36:27.14]: -----------------------------
INFO [2018-02-22 11:36:27.14]: --- Step: update_fastlane ---
INFO [2018-02-22 11:36:27.14]: -----------------------------
INFO [2018-02-22 11:36:27.14]: Looking for updates for fastlane...
INFO [2018-02-22 11:36:33.94]: Nothing to update ✅
INFO [2018-02-22 11:36:33.94]:
INFO [2018-02-22 11:36:33.94]: Please help us test early releases of fastlane by opting into nightly builds 🌃
INFO [2018-02-22 11:36:33.94]: Just replace your `update_fastlane` call with
INFO [2018-02-22 11:36:33.94]:
INFO [2018-02-22 11:36:33.94]: ▸ update_fastlane(nightly: true)
INFO [2018-02-22 11:36:33.94]:
INFO [2018-02-22 11:36:33.94]: Nightly builds are reviewed and tested just like the public releases 🚂
INFO [2018-02-22 11:36:33.94]:
INFO [2018-02-22 11:36:33.94]: Successfully generated documentation at path '/Users/michaelfuchs/Documents/Entwicklung/Xcode/Projekte/localguide-ios/fastlane/README.md'
DEBUG [2018-02-22 11:36:33.95]: All plugins are up to date
INFO [2018-02-22 11:36:33.95]: fastlane.tools finished successfully 🎉
DEBUG [2018-02-22 11:36:33.97]: All plugins are up to date
Michaels-MacBook-Air-3:localguide-ios michaelfuchs$ fastlane checkEnvSetting
[✔] 🚀

Environment

✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.6

Ruby
2.3.1

Bundler?
false

Git
git version 2.14.3 (Apple Git-98)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.12.6 (16G1212)

Ruby Lib Dir
/usr/local/Cellar/ruby/2.3.1_2/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
9.2

System Locale

Variable
Value

LANG
de_DE.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# Customize this file, documentation can be found here:
# https://docs.fastlane.tools/actions/
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.68.2"

default_platform :ios

platform :ios do

  ############################## PRE ##############################

  before_all do
#    ensure_git_status_clean

    update_fastlane
#    cocoapods

#    increment_build_number
  end

  ######################### PUBLIC LANES ##########################
  desc "Test the newest code"
  lane :alpha do
      match(type:"adhoc", force_for_new_devices: true)
      gym(scheme: "scheme", export_method: "ad-hoc", configuration: "Debug", export_options: {
          compileBitcode: false
})
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  lane :beta do
    versionNumber = get_version_number(xcodeproj: "projpath", target: "target")
#    scan
    match(type:"adhoc", force_for_new_devices: true)
    gym(scheme: "myscheme", export_method: "ad-hoc", configuration: "Debug", export_options: {
        compileBitcode: false})

    changelogLocal = read_changelog
    ENV["CHANGELOG"] = changelogLocal

    crashlytics(api_token: "token",
    build_secret: "secret", groups: 'interne-',
      notifications: true, notes: changelogLocal)
    stamp_changelog(
      section_identifier: versionNumber,
    )
#    upload_symbols_to_crashlytics(dsym_path: "./build/gym_archive.xcarchive/dSYMs/appname.app.dSYM")
  end

  desc "This will also make sure the profile is up to date"
  lane :gamma do
    # match(type: "appstore") # more information: https://codesigning.guide
    gym(scheme: "my scheme") # Build your app - more options available
    # Test
    pilot

    # sh "your_script.sh"
    # You can also use other beta testing services here (run `fastlane actions`)
  end

  desc "Deploy a new version to the App Store"
  lane :release do
    # match(type: "appstore")
    # snapshot
    gym(scheme: "my scheme") # Build your app - more options available
    # Test
    deliver(force: true)
    # frameit
  end

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

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

  lane :renewProfiles do
    match(type:"adhoc", force_for_new_devices: true)
  end

  lane :stampChangelog do
    stamp_changelog(
  section_identifier: '<IP_ADDRESS>',
  )
  end

  lane :checkEnvSetting do
    ENV["CHANGELOG"] = "testing"
  end
  ######################### PRIVATE LANES ##########################

#  private lane :refresh_dsyms do
#    download_dsyms                  # Download dSYM files from iTC
#    upload_symbols_to_crashlytics   # Upload them to Crashlytics
#    clean_build_artifacts           # Delete the local dSYM files
#  end
end

`./fastlane/Appfile`
app_identifier "com.traveljambo.LocalGuide-Development" # The bundle identifier of your app
apple_id<EMAIL_ADDRESS># Your Apple email address

team_id "myteamid" # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://docs.fastlane.tools/advanced/#appfile

fastlane gems

Gem
Version
Update-Status

fastlane
2.81.0
✅ Up-To-Date

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-changelog
0.9.0
✅ Up-To-Date

Loaded gems

Gem
Version

did_you_mean
1.0.0

rouge
2.0.7

xcpretty
0.2.8

terminal-notifier
1.8.0

unicode-display_width
1.3.0

terminal-table
1.8.0

addressable
2.5.2

multipart-post
2.0.0

word_wrap
1.0.0

public_suffix
2.0.5

tty-cursor
0.5.0

tty-spinner
0.8.0

babosa
1.0.2

colored
1.2

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

gh_inspector
1.1.2

mini_magick
4.5.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

dotenv
2.2.1

bundler
1.15.4

faraday_middleware
0.12.2

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.1

mime-types-data
3.2016.0521

mime-types
3.1

httpclient
2.8.3

google-api-client
0.13.6

tty-screen
0.6.4

commander-fastlane
4.4.6

highline
1.7.10

io-console
0.4.6

excon
0.60.0

CFPropertyList
2.3.6

plist
3.4.0

faraday
0.14.0

little-plugger
1.1.4

logging
2.2.2

memoist
0.16.0

os
0.9.6

googleauth
0.6.2

signet
0.8.1

fastimage
2.1.1

json
2.1.0

atomos
0.1.2

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.6

fastlane-plugin-changelog
0.9.0

generated on: 2018-02-22

Hi! I'm not sure what your issue is or if it has some relationship with fastlane itself, can you elaborate a little bit more?

I want to set the value of an environment variable in a fastlane lane
I've tried to use ENV[nameofvar] = value
But it didn't worked

Alright I think I found the problem.
ENV[nameofvar] = value only works in the Fastfile.
Is that correct?
How can I set an environment variable in the lane ?

In the same way, there're no differences AFAIK, I have a Fastfile which sets several environment variables without any trouble. Can it be that bitrise uses different terminal sessions during the process and then the env variables are lost?

Good point but no it is the same session
Strange

Checked it locally and it still does not work

We have an environment variable action, intended for use in Fastlane.swift only because like how @minuscorp mentions, ENV["KEY"] = <value> should work.
That being said, you can try: https://docs.fastlane.tools/actions/environment_variable/#environment_variable
even though I specifically say don't use in Ruby, see if it helps.


Refactoring features

Small adjustments.
@jonathankingfc would you mind taking a looking at this?

This has been deprecated by the work developed @ https://github.com/quay/quay-operator/pull/493


(docs) Change incorrect version number.

When creating the PR to alow ChocolateyExitOnRebootDetected, it was
planned to be released on 0.10.16+, but that version was never released
Changed to the next version number that is actually released.

@mkevenaar thank you very much for getting this corrected!


docs: provide a more gentle introduction to applets

I had some confusion in the Glasgow real-time chat channels recently around when it would be appropriate to write an applet vs. to write a subcommand; subsequently, I had more confusion when I was reading the source code around how applets were defined.  This pull request shores up the documentation in a few ways:

Adjusts the getting started guide to now read as a suggested flow -- both a flow for first steps in using the device, and a suggested conceptual flow to understand applets (where they come from, and how they can be used).
Tweaks usage to always refer to the command line tool as glasgow, but the hardware or environment as "Glasgow".
Reorganizes the documentation to make the "applet" the central concept.
Adds a link to how applets are enumerated, for silly people who are just reading the source and docs from a browser on a phone and not actually running glasgow run --help :-)

I've tried to keep this within the voice already used by Glasgow, and in the documentation style guidelines, but my documentation voice is also kind of opinionated.  In particular, I didn't really get a good sense for what voice the documentation preferred to use to describe itself; I half-heartedly used "we" and "you" rather than "the documentation" and "the user" because it seems friendlier (and because I am used to using the royal "we" in documentation), though I note also that the REPL page uses "I".  If you have other suggestions to homogenize the documentation voice I am happy to make those changes.
Feel free to request changes, provide nits or general comments, make changes on your own without my involvement, or even just shrug if you don't have time to think too hard about this right now!

Adjusts the getting started guide to now read as a suggested flow -- both a flow for first steps in using the device, and a suggested conceptual flow to understand applets (where they come from, and how they can be used).

This is great!

Tweaks usage to always refer to the command line tool as glasgow, but the hardware or environment as "Glasgow".
Reorganizes the documentation to make the "applet" the central concept.

This is excellent.

I've tried to keep this within the voice already used by Glasgow, and in the documentation style guidelines, but my documentation voice is also kind of opinionated. In particular, I didn't really get a good sense for what voice the documentation preferred to use to describe itself; I half-heartedly used "we" and "you" rather than "the documentation" and "the user" because it seems friendlier (and because I am used to using the royal "we" in documentation), though I note also that the REPL page uses "I". If you have other suggestions to homogenize the documentation voice I am happy to make those changes.

This is very much welcome and I'm going to think a bit more about it.
For context, the current doc was written by two people: I wrote most of it, Attie wrote the "basic" section with me doing a shallow editing pass. I know that it's much more inconsistent than my usual docs and making it use a consistent voice is something I wanted for a while. I don't know what to do here offhand but we should work something out here.

Adds a link to how applets are enumerated, for silly people who are just reading the source and docs from a browser on a phone and not actually running glasgow run --help :-)

(Github on a phone sounds kind of miserable.) I think we could address this in two ways:

There is a way to integrate argparse with sphinx. We could export all of the options and help text from argparse as sphinx pages you can browse with your phone or something. This is, I think, preferred.
We could say that all (upstream) applets live in software/glasgow/applet/**/__init__.py which should also cover your use case without creating additional support burden for me in form of people expecting OOT applets to work.

I think the broader comment I have about the target user of Glasgow is that it is not obvious to me that "a user that can compose complex command lines, but cannot compose simple Python statements" is a user that exists anymore in 2024 (for better, or for worse).  That is to say, if the baseline documentation for Glasgow firmly avoids even addressing the possibility that a Glasgow user might be a developer, I think that it might actually be less useful for the median Glasgow user.  My strong suspicion is that the median Glasgow user will probably invoke the Glasgow REPL a nonzero number of times, and so it probably is important to assume that "working under the hood" is at least somewhat part of the Glasgow experience.
(Part of this is because I suspect that a user who wants to do just one thing will probably buy just one device these days!  If a user wants to only program SPI flash, then they will buy a SPI flash programmer; if they want only to interact with a UART, they will buy some hellish ch341 device, etc.)

I think the broader comment I have about the target user of Glasgow is that it is not obvious to me that "a user that can compose complex command lines, but cannot compose simple Python statements" is a user that exists anymore in 2024 (for better, or for worse).

Oh, I expect virtually everyone to start using the REPL sooner or later. It's not Python programming experience that I don't want to assume, but software engineering experience, which is all the ancillary stuff (packaging, Python tooling and its metadata, how to version control changes, how to track the upstream, that you must expect the upstream to break your code, et cetera) around it that most people who can program in Python don't have. You'll see this expressed in the introduction and installation sections: we emphasize the Python bit, and then heavily invest into tooling that lets you work without having to deal with the software engineering problems. Sure, it helps professional Python developers too, but that's a secondary utility.
OOT applets are the bane of my existence and the absolute peak of software engineering problems here: there's no clearly defined API, no metholodology for writing tests, no clear support criteria, not even instructions for co-installing your OOT applets into the pipx environment (which by the way is a pretty cursed thing to do). I do not wish to commit to supporting them anytime in the near future. At least if you put them in your own fork they mostly stay your own problem instead of becoming everyone's and most of all mine.

(The following are comments that I wanted to write down somewhere but I don't think are blocking my understanding of this PR, nor are they things that I think are material to be addressed in this PR.  They are just things that I wanted to get out of my brain.)

Oh, I expect virtually everyone to start using the REPL sooner or later. It's not Python programming experience that I don't want to assume, but software engineering experience [...]. Sure, it helps professional Python developers too, but that's a secondary utility.

That's fair.  I think that my current reading of the docs are such that the expectation is that a user may not know how to use a command line effectively, and may not know what a REPL is.

OOT applets are the bane of my existence...

You mentioned to me also that a potentially preferable approach is to write a script that directly imports Glasgow Python bits.  I think this makes a lot of sense.  Indeed, there is nothing that you can do in an applet that you cannot do in a standalone script -- and then you can either set your own dependencies, or have a #yolo script hanging around your disk (which, Everybody Knows, is supposed to break if you look at it funny).
I wonder if the documentation at some point should describe that there is another "view" of Glasgow that is not through the glasgow tool, or through the lens of applets, and that if you think you want to write an OoT applet, then you probably want to write a script that uses the Glasgow libraries, or something.
One problem is that all I hear is that OoT applets are the thing not to do, because it is In The Future And Anyway Kinda Sucks And Definitely Not For Today, and I had never considered that there is another thing to do that you actually can do today, that is probably better than OoT applets ever will be.  So maybe the play is simply to document that -- as an aside around interacting with applets, and in the applet developer documentation.

That's fair. I think that my current reading of the docs are such that the expectation is that a user may not know how to use a command line effectively, and may not know what a REPL is.

I do think we should have a section on how to use the REPL, maybe even in the instructions for basic use!

I wonder if the documentation at some point should describe that there is another "view" of Glasgow that is not through the glasgow tool, or through the lens of applets, and that if you think you want to write an OoT applet, then you probably want to write a script that uses the Glasgow libraries, or something.

I also don't want to support that use, for the same reason: there is no stable API and no API documentation and I actively do not want to have it documented until the API is more stable. I feel so strongly about this that if you put my back against the wall I would archive the project.

One problem is that all I hear is that OoT applets are the thing not to do, because it is In The Future And Anyway Kinda Sucks And Definitely Not For Today, and I had never considered that there is another thing to do that you actually can do today, that is probably better than OoT applets ever will be.

They are literally the same thing with the same core problem: there is no contract, so the contract becomes "whatever the most abusive user who can still skirt under the hard line for moderation can coerce me into supporting". The only difference between an OOT applet and importing bits of the framework manually is that one of those is callable from the CLI and the other is not.

Fair enough.  Should the "may support" text in the footnote go away, then?

Should the "may support" text in the footnote go away, then?

No, it's fine: we eventually will get a stable API, hopefully not too far from now even, now that Amaranth makes it possible. But I want this to happen on my terms and not on someone else's.

(For people reading my responses above, my feelings towards OSS maintenance are informed, in this case, mainly by my experience with the SolveSpace project and a user going by Symbian9. I am extremely unwilling to repeat that experience.)


Fix chaincode dependencies to v2.2.x in test fixtures

v2.5.x introduced some changes that broke the tests.

Breakage was caused by a change to @grpc/grpc-js


Tensor size error

Hi! I have a problem while loading the model with
faceapi.nets.faceLandmark68Net.loadFromUri('/public/models')
The model is available at the models directory. But an error arises while loading the model selected. In this case face_landmark_68_model-shard1 and face_landmark_68_model-weights-manifest.json are placed into the directory. But the following error appears:
Error: Based on the provided shape, [3,3,32,1], the tensor should have 288 values but has 64
Can someone help me please?
EDIT: This error appears if I my loading function is not async, if I make it async another error appears (regeneratorRuntime is not defined)
Thanks for your info

This is shown in the Inspector Network Tab. Apparently the GET request for the shard is not complete, but returns a 200 code. Does anyone know why is this possible?

Where do you host your application? Or does this also happen to be the case on your local dev environment (localhost)?

It happens in my local environment.
I solved the error of the shape by creating an extension to the shard1 file and in the json file setting the new name of the shard at the end with the extension I placed.
But still having the regeneratorRuntime and trying to solve it.

Ok, my advances. I achieved to resolve it. And another problem arose 🤦♂. When using detectFaceLandmarks I am being returned a Promise. If I need to save those landmarks for the next videoFrame/Image how can I return that value outside the promise or is there any method to use faceapi "synchronously"?
Sidenote: if I use faceapi.detectFaceLandmarks(image); on full image (not just an image cropped to the face) am I doing something wrong? It returns unexpected values.

If I need to save those landmarks for the next videoFrame/Image how can I return that value outside the promise or is there any method to use faceapi "synchronously"?

I don't totally get what you are trying to achieve, but why don't you simply wait for the promise to resolve?

Sidenote: if I use faceapi.detectFaceLandmarks(image); on full image (not just an image cropped to the face) am I doing something wrong? It returns unexpected values.

Yeah that's not going to work out, since the face landmark net expects the cropped face image as input, which is obtained after face extraction based on the face box detected from the face detector.

async function detectLandmarks(image) {
  const landmarks = await faceapi.detectFaceLandmarks(image);
  return landmarks;
}

I don't totally get what you are trying to achieve, but why don't you simply wait for the promise to resolve?

That was my attempt. I am trying to wait the promise to resolve, but the method I pasted above, inside it (before return) is not a Promise, is resolved, but after return, where I use it is a Promise again and I can only use its values with the then structure (which I don't want)

faceapi.detectFaceLandmarks(image) returns a Promise and await faceapi.detectFaceLandmarks(image) resolves the Promise. Does that solve it?

Not at all. If I log the landmarks inside the method:
async function detectLandmarks(image) {
  const landmarks = await faceapi.detectFaceLandmarks(image);
  console.log(landmarks);
  return landmarks;
}

It doesn't print a promise but the value of the landmarks. (Here is where I said Yay! I got it).
But when using the method like:
outsideLandmarks = detectLandmarks(outsideImage);
console.log(outsideLandmarks)

Which simply calls the method defined with the await inside it, prints a Promise.
Maybe I'm missing something or doing something wrong.
Tell me if I didn't explain myself.

An async function always returns a Promise. Maybe I do not fully understand, what's the issue you are facing with the function returning a Promise?

state = initialState;
computedLandmarks = computeLandmarks(detectLandmarks(image));
updateState depending on the landmark computation;

This is what I'm trying to do more or less. With the promises what I have to do is:
state = initialState;
computedLandmarks = detectLandmarks(image)
     .then((landmarks)=>
                computation = computeLandmarks(landmarks)
                return computation);
updateState depending on the landmark computation;

I cant do this because I cant extract the computation from the promise. So I cant update the state

I managed to solve it serving model files from a cdn
Use https://gitcdn.xyz/repo/justadudewhohacks/face-api.js/master/weights/ as MODEL_URL

This is a serious problem for using parcel to do development with this library:
https://github.com/elwin013/parcel-plugin-static-files-copy/issues/37
https://github.com/parcel-bundler/parcel/issues/1098
https://github.com/tensorflow/tfjs/issues/924


catching general string

Expected Behavior
i want that when no command is recognized, then a general function should get triggered which outputs the recognized word.
Reason
When no command is triggered, i want to know what was recognized other than my command, so that i know why my command was not recognized.
Current Behavior
i could not find such functionality.
if i add a general command like
'*general':function(general){
console.log(general) // i want this to trigger when no other was triggered (like default in SWITCH case construct)
}

at the end, this is triggered always and not the main commands.
Your Environment

annyang Version used: latest
Browser Name and version: Chrome
Operating System and version (desktop or mobile): Windows 10

--> resultNoMatch callback can be used.

i have to reopen this issue. The issue is that when i use
annyang.addCallback('result',function(speech){
        console.log(speech)
    })
command={
'hello':function(){},
'bye':function(){}
}
annyang.addCommands(command)

i can see the array of what all things user might have said. But none of the commands are working then.

so when i say hello , it shows all the possible things user may say(in array), but the hello callback is not called.


Location simulation working on Default simulator

fixes #46
Unfortunately, I had to bring down the SimulatorsController to the LocationView to obtain a list of active simulators and broadcast the coordinates notification to all of them.

I wonder if we should make the SimulatorsController be an EnvironmentObject 🤔

@davedelong nice call! I still don't fully get how Environment Objects are supposed to work, this helped me understand it better!

Is this ready to merge?

@twostraws it is now. I've reverted back the declaration of SimulatorsController from Env object to ObservedObject to avoid lots of conflicts with other commits.
I think that @davedelong suggestion was good but is really hard to implement in a specific pull request like this.


lgbmranker must set group for ranking task

i use lgbmranker predict rank,but raise this  ValueError("Should set group for ranking task")
sample data like
`boston = datasets.load_boston()
data_boston = boston['data']
label_boston = boston['target']`
and evaluation index is gini coef

@cavities for ranking task, the group/query is needed. what is the problem ?


Revert breaking change on eager/lazy loading for relationships

This reverts commit ef2dc2e7ccbcb3d074e81c552e35df36a6fc25e6.
With #25240, with newInstance() always being called, the relationship (whether it's a morphTo(), hasMany(), etc) no longer has access to any of the attributes on the model when trying to eager/lazy load.
For instance: I have a relationship where, in addition to order_id, it is also constrained by version.
class Order
{
    public function rows()
    {
        return $this->hasMany(Row::class)
            ->where('version', $this->version);
    }
}

In this example, when eager/lazy loading, $this->version is always NULL because the model is always a newInstance().

Order::with('rows')->get();

How is it not supposed to be a new instance that is used to do this?


annotate  - buildkite-agent: Argument list too long

Error happens when sending a long list (like 240 lines) of warnings to annotate
via
buildkite-agent annotate "${ANNOTATION}" --context "${CONTEXT}" --style $STYLE --append

Hi @amirrudd could you post an example of the error you are receiving?

Fixed the error by capping the number of error being send, So no access to error message any longer.
If you feel its hard to reproduce, feel free to close the ticket as it can be fixed by limiting the lines passed to annotate


Divergence and Gradient integrators as well as PA versions

This PR introduces the divergence and gradient bilinear integrators. It introduces facilities to apply boundary conditions to general rectangular operators. These changes required a lot of additions to hypre functions, but do not change any existing interfaces.
For PA it was necessary to introduce a MixedBilinearFormExtension.
Some application kernels contain shared memory version from @camierjs.
It also includes unit tests for the PA version of the operators.
Resolves #1158.

[x] Code builds.
[x] Code passes make style.
[ ] Update CHANGELOG.

PR
Author
Editor
Reviewers
Assignment
Approval
Merge

https://github.com/mfem/mfem/pull/1164
@jandrej
@tzanio
@mlstowell + @jamiebramwell
12/2/19
⌛due 12/23/19
⌛due 12/30/19

I addressed all comments either with changes or replies. I did not address the comments in the kernels, I completely understand the issue with writing them and implementations can lead as an example for people who want customized kernels. As stated in other PR's we have to think harder about how to reduce the labor for this.

Reminder: the reviews for this PR are due in less than a week
cc: @mlstowell, @jamiebramwell

@jamiebramwell were you comments addressed, and if so, can you formally approve?

@jandrej, before we merge this into next, can you please do the following:

[ ] Update CHANGELOG
[ ] Go through all the comments, and either resolve them (if fixed) or address them (if not)
[ ] Stop by to discuss in person if there are questions :)

Merged in next for testing ...

Re-merged in next for testing ...


Install Script: Server Version mismatch Client Version

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: [e.g. Fedora 40.]
scrcpy version: [2.4 and 2.3.1]
installation method: [ manual build]

Describe the bug
A clear and concise description of what the bug is.
Download serv version is error install_realease.sh

Don't execute install_release.sh from a tag, but one commit after: https://github.com/Genymobile/scrcpy/issues/4098#issuecomment-1600332180


Add Integration test with capybara

[x] User's controller
[x] Events controller

We use Capybara for the integration test: :test_tube:

53a572a3a4023fb95a1a0c333022d70e31bdec24 - User features. :bust_in_silhouette:
78ddcb90505c99f95d23a0f62ec017b1a099e50b - Events features. :calendar:

Complete with this other - 5dc6601cb656bebaa4f6cd9a287b9f175c692016 :100:

2709d79ecc0e57a455cb7dcf95b315fa0e083911 - Fix rubocop after testing. :hammer:


[DUOS-1777][risk=no] add bypass for lc requirement on dar submission

Link to Jira ticket
Summary of Changes:

Add field in DAR form data to track if checkbox for NIH dataset use only is checked
Change hasLibraryCards to libraryCardReqSatisified and modify to include status of check box
Add tests

Link to Consent PR

Have you read Terra's Contributing Guide lately? If not, do that first.

Label PR with a Jira ticket number and include a link to the ticket
Label PR with a security risk modifier [no, low, medium, high]
PR describes scope of changes
Get a minimum of one thumbs worth of review, preferably two if enough team members are available
Get PO sign-off for all non-trivial UI or workflow changes
Verify all tests go green
Test this change deployed correctly and works on dev environment after deployment

Something in the validation is triggering Step 1 being invalid, even with the I am exclusively applying for NIH/NHGRI data (ex. GTex) checked, which is preventing an otherwise complete DAR from being able to be submitted. Digging!

The checkNihDataOnly value doesn't seem to be sent to the back end when clicking Save. This also means it isn't being re-populated when the DAR is refreshed, so the user has to re-check that selection.

The checkNihDataOnly value doesn't seem to be sent to the back end when clicking Save. This also means it isn't being re-populated when the DAR is refreshed, so the user has to re-check that selection.

Is this bug occurring even with the https://github.com/DataBiosphere/consent/pull/1559 used as the backend?

The checkNihDataOnly value doesn't seem to be sent to the back end when clicking Save. This also means it isn't being re-populated when the DAR is refreshed, so the user has to re-check that selection.

Is this bug occurring even with the https://github.com/DataBiosphere/consent/pull/1559 used as the backend?

Aha, no, I thought 1559 was merged already - will re-test with that branch.

With the right back end in place, I am able to save the form correctly. Still seeing this for submission though:

Something in the validation is triggering Step 1 being invalid, even with the I am exclusively applying for NIH/NHGRI data (ex. GTex) checked, which is preventing an otherwise complete DAR from being able to be submitted. Digging!


Separate Prophet Tests into their own CI Job

With the merge of Prophet in #2242, cmdstanpy will install and compile stan for the automl and "other" test jobs. This can add about 6 minutes to the installation time.
Is it worth it to separate prophet tests into their own job?
If we only install stan for the tests that need it, the run time of the prophet tests will be 6-8 minutes, which is on par with the run time of the automl tests before the Prophet merge.
This would mean there would not be a noticeable increase in the time to go through a full CI cycle.
Of course there could be downsides, like increasing the total number of jobs and hitting the limit of number of concurrent github actions.
The desired outcome of this issue is to investigate whether it's worth it to split the Prophet tests into their job and doing the split if so.

I like this idea a lot! I don't think it'd be too different from the pattern we've already adopted with dask tests, even if the reason for separating out the tests are different here.

Next steps

Parthiv will look into cmdstan-builder and see if that can speed up our CI overall
If not, we should look into splitting prophet tests into a separate job to avoid slowing down the other jobs and overall CI time


taints and tolerations are not working

I have a cluster setup using K3s and all the nodes are already taking load ( in acceptable format ).
As per the deployment guide, I have applied tolerations and taints from the guide and then did a helm install ( given below )
kubectl taint node devops232.com sip=true:NoSchedule
kubectl taint node devops231.com rtp=true:NoSchedule
and
kubectl label node devops231.com voip-environment=rtp
kubectl label node devops232.com voip-environment=sip
now when I try to install the solution using helm chart, I'm getting
  Warning  FailedScheduling  2m15s             default-scheduler  0/3 nodes are available: 1 node(s) didn't have free ports for the requested pod ports, 1 node(s) didn't match Pod's node affinity/selector, 1 node(s) had taint {rtp: true}, that the pod didn't tolerate.
  Warning  FailedScheduling  8s (x1 over 68s)  default-scheduler  0/3 nodes are available: 1 node(s) didn't have free ports for the requested pod ports, 1 node(s) didn't match Pod's node affinity/selector, 1 node(s) had taint {rtp: true}, that the pod didn't tolerate.

Questions:
1 -- What are the right procedures for giving/assigning nodes to these pods -- any example will suffice. ( even to disable this taint/tolerations, I can't disable it altogether, getting errors )
2 -- what is the error node(s) didn't have free ports for the requested pod ports means.
Please note that I'm deploying the cluster for on-prem based deployments for an RnD to materialize it for production usage. the Cluster is based on K3s
 kubectl get nodes -o wide
NAME               STATUS   ROLES                       AGE     VERSION        INTERNAL-IP     EXTERNAL-IP   OS-IMAGE                               KERNEL-VERSION          CONTAINER-RUNTIME
devops230.com   Ready    control-plane,etcd,master   3d      v1.23.8+k3s2   <IP_ADDRESS>   <none>        Red Hat Enterprise Linux 8.4 (Ootpa)   4.18.0-305.el8.x86_64   containerd://1.5.13-k3s1
devops231.com   Ready    control-plane,etcd,master   2d23h   v1.23.8+k3s2   <IP_ADDRESS>   <none>        Red Hat Enterprise Linux 8.4 (Ootpa)   4.18.0-305.el8.x86_64   containerd://1.5.13-k3s1
devops232.com   Ready    control-plane,etcd,master   2d23h   v1.23.8+k3s2   <IP_ADDRESS>   <none>        Red Hat Enterprise Linux 8.4 (Ootpa)   4.18.0-305.el8.x86_64   containerd://1.5.13-k3s1

anyone?

I have not tried running on K3S, and lack familiarity with it.  However, you have reviewed this video where I show a step by step deploy on K8S on GCP? https://youtu.be/Rim812-p8mo

Here is an example of how I assigned taints and labels on a digital ocean cluster, in case it helps
MacBook-Pro-2:~ dhorton$ doctl kubernetes cluster list
ID                                      Name                                  Region    Version        Auto Upgrade    Status     Node Pools
411930a2-122e-467c-817b-e3abdf9ab118    k8s-1-22-7-do-0-nyc3-1648555963360    nyc3      1.22.7-do.0    false           running    pool-5bz50cx8o pool-sip pool-rtp

MacBook-Pro-2:~ dhorton$ doctl kubernetes cluster node-pool update k8s-1-22-7-do-0-nyc3-1648555963360 pool-sip --label "voip-environment=sip"
ID                                      Name        Size           Count    Tags                                                       Labels                       Taints    Nodes
3c5f6acf-3266-4f35-8086-9aa3cea56224    pool-sip    s-2vcpu-4gb    1        k8s,k8s:411930a2-122e-467c-817b-e3abdf9ab118,k8s:worker    map[voip-environment:sip]    []        [pool-sip-cul4g]

MacBook-Pro-2:~ dhorton$ doctl kubernetes cluster node-pool update k8s-1-22-7-do-0-nyc3-1648555963360 pool-rtp --label "voip-environment=rtp"
ID                                      Name        Size           Count    Tags                                                       Labels                       Taints    Nodes
6304ea56-7644-42a9-b9d4-182a17ea5db7    pool-rtp    s-2vcpu-4gb    1        k8s,k8s:411930a2-122e-467c-817b-e3abdf9ab118,k8s:worker    map[voip-environment:rtp]    []        [pool-rtp-cul4e]

MacBook-Pro-2:~ dhorton$ doctl kubernetes cluster node-pool update k8s-1-22-7-do-0-nyc3-1648555963360 pool-sip --taint "sip=true:NoSchedule"
ID                                      Name        Size           Count    Tags                                                       Labels                       Taints                   Nodes
3c5f6acf-3266-4f35-8086-9aa3cea56224    pool-sip    s-2vcpu-4gb    1        k8s,k8s:411930a2-122e-467c-817b-e3abdf9ab118,k8s:worker    map[voip-environment:sip]    [sip=true:NoSchedule]    [pool-sip-cul4g]

MacBook-Pro-2:~ dhorton$ doctl kubernetes cluster node-pool update k8s-1-22-7-do-0-nyc3-1648555963360 pool-rtp --taint "rtp=true:NoSchedule"
ID                                      Name        Size           Count    Tags                                                       Labels                       Taints                   Nodes
6304ea56-7644-42a9-b9d4-182a17ea5db7    pool-rtp    s-2vcpu-4gb    1        k8s,k8s:411930a2-122e-467c-817b-e3abdf9ab118,k8s:worker    map[voip-environment:rtp]    [rtp=true:NoSchedule]    [pool-rtp-cul4e]

You have this in your values.yaml, right?
sbc:
  sip:
    nodeSelector:
      label: voip-environment
      value: sip
    toleration: sip
  rtp:
    nodeSelector:
      label: voip-environment
      value: rtp
    toleration: rtp

because the error message 1 node(s) had taint {rtp: true}, that the pod didn't tolerate would seem to indicate that the sbc-rtp-daemonset did not have the toleration set.
That is set here, in sbc-rtp-daemonset.yaml
  template:
    metadata:
      labels:
        app: jambonz-sbc-rtp
    spec:
      nodeSelector:
        {{ .Values.sbc.rtp.nodeSelector.label }}: {{.Values.sbc.rtp.nodeSelector.value | quote }}
      hostNetwork: true
      dnsPolicy: ClusterFirstWithHostNet
      tolerations:
        - key: {{ .Values.sbc.rtp.toleration | quote }}
          operator: "Exists"
          effect: "NoSchedule"

@busyboy77 did you get a solution to this, I'm seeing similar problems with k3s
I've changed the label and tolleration to be the same for sip & rtp but getting the no free ports error for the sbc-sip pod


Add Account.Name to support case body

...to make it easier to trace a support case back to the associated Account CR.

/lgtm

/lgtm
/approve


🐛  Frame Processor threw an error: Value is undefined, expected an Object

What were you trying to do?
I'm trying to integrate this community plugin : https://github.com/rodgomesc/vision-camera-code-scanner
But I'm unable to make it work on iOS. It works great on Android though.
I have tried other community plugin but the same error appear. In fact event a frame processor function with no code in it makes the error appear.
I've also tried different version react-native-vision-camera, since some changes has been made since the last version of vision-camera-code-scanner.
Reproduceable Code
const ScanBarCodeScreen = (props: NavigationProps) => {
  const [hasPermission, setHasPermission] = useState(false)
  const devices = useCameraDevices()
  const device = devices.back

  const frameProcessor = useFrameProcessor((frame) => {
    'worklet'
    console.log('hello')
  }, [])

  const isFocused = useIsFocused()

  useEffect(() => {
    (async () => {
      const status = await Camera.requestCameraPermission()
      setHasPermission(status === 'authorized')
    })()
  }, [])

  return (
    <>
      <StatusBar backgroundColor={Theme.Color.White} barStyle="dark-content" />
      <View
        style={{
          flex: 1,
          flexDirection: 'column',
          backgroundColor: 'black'
        }}
      >
        <SafeAreaView
          style={{
            flex: 1,
            justifyContent: 'space-between',
            alignItems: 'center'
          }}
        >
          {device != null && hasPermission && (
            <Camera
              style={StyleSheet.absoluteFill}
              device={device}
              isActive={isFocused}
              frameProcessor={frameProcessor}
              frameProcessorFps={1}
            />
          )}
        </SafeAreaView>
      </View>
    </>
  )
}

What happened instead?
As soon as I arrive on my screen, and after giving permission to use the device camera, I get the error Frame Processor threw an error: Value is undefined, expected an Object at every refresh.
The app does not crash but I obviously cannot use the frame processor.
Relevant log output
FrameProcessorBindings: Creating Runtime Manager...
FrameProcessorBindings: Runtime Manager created!
FrameProcessorBindings: Installing Frame Processor plugins...
FrameProcessorBindings: Installing Frame Processor plugin "__scanCodes"...
FrameProcessorBindings: Installing Frame Processor plugin "__labelImage"...
FrameProcessorBindings: Frame Processor plugins installed!
FrameProcessorBindings: Installing Frame Processor Bindings for Bridge...
FrameProcessorBindings: Installing global functions...
FrameProcessorBindings: Finished installing bindings.
[javascript] Running "TitrePrepayesApp" with {"rootTag":1,"initialProps":{}}
[native] [GESTURE HANDLER] Initialize gesture handler for root view <RCTRootContentView: 0x104e19640; reactTag: 1; frame = (0 0; 768 1024); gestureRecognizers = <NSArray: 0x282a4a220>; layer = <CALayer: 0x28243d5e0>>
[MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
[MC] Reading from public effective user settings.
[Common] _BSMachError: port b003; (os/kern) invalid capability (0x14) "Unable to insert COPY_SEND"
[javascript] 'Frameporcccc', [Function]
FrameProcessorBindings: Setting new frame processor...
FrameProcessorBindings: Adapting Shareable value from function (conversion to worklet)...
FrameProcessorBindings: Successfully created worklet!
FrameProcessorBindings: Converting worklet to Objective-C callback...
FrameProcessorBindings: Frame processor set!
[javascript] Frame Processor threw an error: Value is undefined, expected an Object
[javascript] Frame Processor threw an error: Value is undefined, expected an Object
[javascript] Frame Processor threw an error: Value is undefined, expected an Object

Device
iPad mini 2 on iOS 12.5.5
VisionCamera Version
2.11.2 ; 2.11.1 ; 2.9.4
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

Hi! I see, does this happen on JSC or Hermes? cc @rodgomesc

Hi ! I'm sorry but I have no clue of what either of those things are :no_mouth:

The JS engine. You can switch between JSC (the default) and Hermes. Assuming you're using RN 0.64 or above

I'm on JSC, I've just checked if 'enableHermes' was on false. And I'm on RN 0.64.2.

Try if enabling Hermes fixes the issue for you

Enabling Hermes did not fix it :/ Still have a Value is undefined, expected an Object error. It does something weird though, when I try to scan a barcode, xcode then opens me the Debug Navigator to show me memory addresses I think ? So the frame processor does seem to detect a Barcode.

Hi. your babel.config.js like this?
module.exports = {
presets: ['module:metro-react-native-babel-preset'],
"plugins": [
[
"react-native-reanimated/plugin",
{
"globals": ["__scanCodes"],
},
],
],
};

Hi @khudratov, yup exactly the same

did you import:  import 'react-native-reanimated'; in root index.js

Nope I did not ! I just tried again by adding the import, unfortunately the same error keeps appearing

Does https://github.com/mrousavy/react-native-vision-camera/pull/698 fix the issue for you? Try rebuilding everything and cleaning cache (especially metro cache)

Which REA version are you on?

can you share your repo?

same problem here: Frame Processor threw an error: Value is undefined, expected an Object.
    const frameProcessor = useFrameProcessor((frame) => {         'worklet';         console.log(frame);     }, []);
            <Camera                 ref={camera}                 style={StyleSheet.absoluteFill}                 device={device}                 isActive={true}                 format={format}                 photo={true}                 frameProcessor={frameProcessor}             />
hermes is on, reanimated and gesture-handler are imported.

is the error coming from react-native-vision-camera\android\src\main\cpp\FrameProcessorRuntimeManager.cpp ?
      cameraView->cthis()->setFrameProcessor([this, &rt, function](jni::alias_ref<JImageProxy::javaobject> frame) {           try {             // create HostObject which holds the Frame (JImageProxy)             auto hostObject = std::make_shared<FrameHostObject>(frame);             function->callWithThis(rt, *function, jsi::Object::createFromHostObject(rt, hostObject));           } catch (jsi::JSError& jsError) {             auto message = "Frame Processor threw an error: " + jsError.getMessage();             __android_log_write(ANDROID_LOG_ERROR, TAG, message.c_str());             this->logErrorToJS(message);           }       });
why is Camera unable to pass a frame to the frameProcessor hook? is it somewhere in the setAnalyzer method? for some reason it's not passing the data stream coming from the camera to the frameProcessor callback!

ok it's working now, I did the following:

npm start -- --reset-cache
cd android
./gradlew clean

that did it. I previously tried clean without resetting the cache but that didn't help at all. npm start -- --reset-cache as suggested by mrousavy seems to solve it

Hi, sorry for the long delay, I tried applying #698 and cleaning the metro  cache but it didn't workout. I also cleaned the ios build folder, but the same error keep appearing.
I'm letting this on the side for now.

Hi,
I'm experiencing the same issue as mentioned above. I have Hermes enabled with both Gesture-Handler and React-Reanimated imported in index.js.  This is a bare React Native Project  "react-native": "0.67.2"
Any suggestions?

Yes, I need that function. In the future I have an alternative to Reanimated ready, so stay tuned

hi, anyone resolve this issue ?

I have the same issue

Any comment on this? I have the same issue.
I noticed that I dont have import 'react-native-reanimated'; in index.js because if I added then I get the error:
Error: Reanimated 2 failed to create a worklet, maybe you forgot to add Reanimated's babel plugin?
Any help, please?

Did you install Reanimated's babel plugin?

Guys can anyone help me out am I having this error below,
ERROR  Frame Processor threw an error: scanBarcodes is not a function. (In 'scanBarcodes(frame,[BarcodeFormat.QR_CODE],{checkInverted:true})', 'scanBarcodes' is undefined)

I have had a similar issue and fixed it by downgrading react-native-reanimated to 2.4.1.

enabling Hermes

enabled the Herms, but it shows like this always
What went wrong:
Execution failed for task ':app:mergeDebugNativeLibs'.

A failure occurred while executing com.android.build.gradle.internal.tasks.MergeNativeLibsTask$MergeNativeLibsTaskWorkAction
2 files found with path 'lib/arm64-v8a/libfolly_runtime.so' from inputs:
- /home/jimshid/codesap/Projects/waseet/node_modules/react-native-vision-camera/android/build/intermediates/library_jni/debug/jni/arm64-v8a/libfolly_runtime.so
- /home/jimshid/.gradle/caches/transforms-3/ad1868fce16913a195c4e3d35d5c12bb/transformed/jetified-react-native-0.69.1-debug/jni/arm64-v8a/libfolly_runtime.so
If you are using jniLibs and CMake IMPORTED targets, see
https://developer.android.com/r/tools/jniLibs-vs-imported-targets

Guys can anyone help me out am I having this error below,
ERROR Frame Processor threw an error: scanBarcodes is not a function. (In 'scanBarcodes(frame,[BarcodeFormat.QR_CODE],{checkInverted:true})', 'scanBarcodes' is undefined)

@saidybarry Hello, have you found any solution for this problem?

Maybe you have not installed the package or did not import it. Also make sure you have correctly configured babel.config.js.

I had the same problem (
ERROR Frame Processor threw an error: scanBarcodes is not a function. (In 'scanBarcodes(frame,[BarcodeFormat.QR_CODE],{checkInverted:true})', 'scanBarcodes' is undefined)
)
Probably cause by linter or formatter - that does not accept imports from '.'
Fix : in node-modules/vision-camera-code-scanner/src/hook.tsx changed line 5 to :
import { Barcode, BarcodeFormat, CodeScannerOptions, scanBarcodes } from './index'
instead of '.'
Also patched the package.

Guys can anyone help me out am I having this error below,
ERROR Frame Processor threw an error: scanBarcodes is not a function. (In 'scanBarcodes(frame,[BarcodeFormat.QR_CODE],{checkInverted:true})', 'scanBarcodes' is undefined)

@saidybarry Hello, have you found any solution for this problem?

@thelastwizardOC nope I wasn't able to find a solution, I did end up switching to a different package.

Guys can anyone help me out am I having this error below,
ERROR Frame Processor threw an error: scanBarcodes is not a function. (In 'scanBarcodes(frame,[BarcodeFormat.QR_CODE],{checkInverted:true})', 'scanBarcodes' is undefined)

@saidybarry Hello, have you found any solution for this problem?

@thelastwizardOC nope I wasn't able to find a solution, I did end up switching to a different package.

to which package you switched?

Guys can anyone help me out am I having this error below,
ERROR Frame Processor threw an error: scanBarcodes is not a function. (In 'scanBarcodes(frame,[BarcodeFormat.QR_CODE],{checkInverted:true})', 'scanBarcodes' is undefined)

@saidybarry Hello, have you found any solution for this problem?

@thelastwizardOC nope I wasn't able to find a solution, I did end up switching to a different package.

to which package you switched?

@thelastwizardOC Mhmm actually i was trying to use it in relation to another package to implement QR-code scanning, so after getting stuck with react native vision camera i decided to up for "react-native-qrcode-scanner".

follow the answer in this link to solve the issue-


[WIP] Unify codes in shape inference and conversion

Currently, when lowering an ONNX op, we do two things:

Implement shape inference

to deduce a result shape/type: e.g. resultShape[2] = inputShape[2] - 1

Implement a conversion pattern to lower the op to Krnl dialect

here, we need to allocate memory using the result shape/type. There are two cases:

If the result shape/type has known dimensions, we can allocate memory without any additional calculation:

%res = alloc() : memref<1x3x31x31xf32>

If the result type has unknown dimensions, i.e. memref<1x3x?x31xf32>, we need to calculate the real value of the unknown dimensions via DimOp:

%cst = constant 1 : index
%dim = dim %arg0, 1 : memref<1x3x?x32xf32>
%dim = subi %dim, %cst : index
%res = alloc(%dim) : memref<1x3x?x31xf32>

Having said that, we need to compute shape twice: one in shape inference by using constant dimensions, and one in conversion pattern using dynamic dimension (via DimOp).
The problem is there is no shared code between these two computations though they semantically calculate the same thing with the same formula. This is certainly error-prone and inefficient.
This patch solves the problem by using AffineMap, which is based on the observation that shape inference basically uses straightforward and simple arithmetic. We'll define an AffineMap and use it for both shape inference and conversion pattern.
For example, we can define an AffineMap for Pooling/Conv ops as follows:
AffineMap getConvDimMap(Builder &builder, bool ceilMode) {
  AffineExpr input = builder.getAffineDimExpr(0);
  AffineExpr kernel = builder.getAffineSymbolExpr(0);
  AffineExpr pad = builder.getAffineSymbolExpr(1);
  AffineExpr stride = builder.getAffineSymbolExpr(2);
  AffineExpr dilation = builder.getAffineSymbolExpr(3);

  AffineExpr dimExp;
  if (ceilMode)
    dimExp = (input + pad - (kernel - 1) * dilation - 1).ceilDiv(stride) + 1;
  else
    dimExp = (input + pad - (kernel - 1) * dilation - 1).floorDiv(stride) + 1;

  return AffineMap::get(1, 4, {dimExp});
}

which generates
#map0 = affine_map<(d0)[s0, s1, s2, s3] -> ((d0 + s1 - (s0 - 1) * s3 - 1) floordiv s2 + 1)>

or
#map0 = affine_map<(d0)[s0, s1, s2, s3] -> ((d0 + s1 - (s0 - 1) * s3 - 1) ceildiv s2 + 1)>

depending on ceilMode.
For shape inference, we replace dimension identifiers in the affine map by constants and simplify it to a single constant value:
  SmallVector<int64_t, 4> outputDims;
  ...
  // Get an affine map to compute the output dimension.
  AffineMap dimMap = getConvDimMap(builder, ceilMode);
  for (int i = 0; i < spatialRank; ++i) {
    // Prepare arguments for the affine map.
    AffineExpr input = builder.getAffineConstantExpr(xShape[spatialOffset + i]);
    AffineExpr kernel = builder.getAffineConstantExpr(ArrayAttrIntVal(kernelShape, i));
    AffineExpr pad = builder.getAffineConstantExpr(ArrayAttrIntVal(padsOpt, i) + ArrayAttrIntVal(padsOpt, spatialRank + i));
    AffineExpr stride = builder.getAffineConstantExpr(ArrayAttrIntVal(stridesOpt, i));
    AffineExpr dilation = builder.getAffineConstantExpr((dilationsOpt.hasValue()) ? ArrayAttrIntVal(dilationsOpt, i) : 1);

    // Replace the affine map's arguments with real values and evaluate the map.
    AffineMap replacedDimMap = dimMap.replaceDimsAndSymbols({input}, {kernel, pad, stride, dilation}, 1, 4);
    AffineMap map = simplifyAffineMap(replacedDimMap);

    outputDims.emplace_back(map.getSingleConstantResult());
  }

For conversion pattern, we just use the affine map as it is by emitting an AffineApplyOp to obtain a value for the unknown dimension:
  SmallVector<Value, 4> allocOperands;
  ...
  // Obtain an affine map to compute the output dimension.
  AffineMap dimMap = getConvDimMap(rewriter, ceilMode);
  for (int i = kernelOffset; i < resultShape.size(); ++i) {
    if (resultShape[i] < 0) {
      // Prepare arguments for the affine map.
      SmallVector<Value, 4> dimArgs;
      dimArgs.emplace_back(rewriter.create<DimOp>(loc, inputOperand, i));
      dimArgs.emplace_back(emitConstantOp(rewriter, loc, rewriter.getIndexType(), kernelShape[spatialIndex]));
      dimArgs.emplace_back(emitConstantOp(rewriter, loc, rewriter.getIndexType(), (pads[spatialIndex] + pads[spatialIndex + kernelRank])));
      dimArgs.emplace_back(emitConstantOp(rewriter, loc, rewriter.getIndexType(), strides[spatialIndex]));
      dimArgs.emplace_back(emitConstantOp(rewriter, loc, rewriter.getIndexType(), dilations.empty() ? 1 : dilations[spatialIndex]));

      // Apply the affine map.
      Value dimVal = rewriter.create<AffineApplyOp>(loc, dimMap, ValueRange(dimArgs));
      allocOperands.emplace_back(dimVal);
    }
  }
  alloc = rewriter.create<AllocOp>(loc, memRefType, allocOperands);

which emits the following code:
    #map0 = affine_map<(d0)[s0, s1, s2, s3] -> ((d0 + s1 - (s0 - 1) * s3 - 1) floordiv s2 + 1)>
    func @test(%arg0: memref<1x3x?x32xf32>) -> memref<1x3x?x31xf32> {
       ...
      %0 = dim %arg0, 2 : memref<1x3x?x32xf32>
      %c2 = constant 2 : index
      %c0 = constant 0 : index
      %c1 = constant 1 : index
      %c1_0 = constant 1 : index
      %1 = affine.apply #map0(%0)[%c2, %c0, %c1, %c1_0]
      %2 = alloc(%1) : memref<1x3x?x31xf32>
    }

Can one of the admins verify this patch?


Adding stats to inspector

Having stats data from the inspector would be super useful for analyzing usage.
The more obvious one are the collection sizes on disk, but a realtime mode could eventually be added to observe the number of read/write operation happen.

Great idea. The new web based inspector of 3.0.x versions already displays collection size including indexes and number of objects in each collection in real time.
Since Isar uses virtual memory, the actual disk access is managed by the kernel. Instead we could show ongoing read and write transactions.

This is implemented in v4


Navigation breadcrumbs for forms, submissions, entity lists, and entities

Closes https://github.com/getodk/central/issues/674

What has been done to verify that this works as intended?
Why is this the best possible solution? Were any other approaches considered?
How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?
Does this change require updates to user documentation? If so, please file an issue here and include the link below.
Before submitting this PR, please make sure you have:

[ ] run npm run test and npm run lint and confirmed all checks still pass OR confirm CircleCI build passes
[ ] verified that any code or assets from external sources are properly credited in comments or that everything is internally sourced

To-do: double-check what is shown when form doesn't have a name:
testData.extendedForms.createPast(1, { xmlFormId: 'my-xml-id', name: null });


can't connect to Hivemq Websocket

Hi! i try to connect Hivemq Websocket useing uvicorn --reload but it can't connect

here is my code

Hi, unfortunately WebSocket protocol is not supported.

Hi, unfortunately WebSocket protocol is not supported.

oh i see thank you sabuhish

It would be a nice to have. :+1:


Dropdowns in Query Plan Builder

Simplify the plan builder by using dropdowns instead of free text.
Only suggested columns from tables for which there is a scan operation.

Simplify the plan builder by using dropdowns instead of free text.
Only suggested columns from tables for which there is a scan operation.

Seams to be done


DeSync VSCode Live Share error report!

Product and Version [VS/VSCode]:
OS Version [macOS/Windows/Linux]:
Live Share Extension Version:
Target Platform or Language [e.g. Node.js]:
What were you doing when you encountered the desync?
live sharing on a local host project (using html, js, node.js, express.js)
How often have you encountered desyncs?
very often

Closing this as a duplicate of #2086.


Add CHANGELOG and integration tests for extra directories filtering

For #2564 and #3164.

Added a Maven integration test too.
I also realized a minor issue with the filtering. Will fix it in a follow-up PR.


no-std support

I wonder whether or not we can make this crate no-std?
AFAIC, at least the anonymous mapping API (map_anon) should not depend on any std features.
This might not help a lot on UNIX since it depends on libc whatsoever. But on Windows, making this crate no-std should reduce link targets and/or executable size.
If you find this change proper, I could start working on this and (hopefully) make a PR soon.

After some investigating, I found out that std::io::Error is extensively used, and hard to be replaced by something available in core which preserves backward compatibility of the API interface. I guess it is not possible without changing (or adding) the API interface.

Yes, std::fs is required.


it would be nice to have contentAvailable option in sendAPN to be able to send silent push to iOS

it would be nice to have contentAvailable option in sendAPN to be able to send silent push to iOS

should be possible - not sure if its currently supported in https://github.com/raix/PushPlugin - but we could add it,

What is silent push?

@dennisharrison - http://hayageek.com/ios-silent-push-notifications/
@raix - it is not currently supported in PushPlugin and actually it is the reason I am not using it. it would be great if contentAvailable option is added...

@solo999 I think part of it is already in the code - but I haven't had time/need for it yet,
the code in relation is commented out since it produced errors once - but I've rewritten the thing to support io7+io8 so in theory we could add support for it.
https://github.com/raix/PushPlugin/blob/fix-ios7%2Bios8/src/ios/PushPlugin.m#L141
We might have to implement some argument "silent" or "contentAvailable" (like we have on sound/alert/badge)
Look at https://github.com/raix/PushPlugin/compare/fix-ios7+ios8...raix:content-available%2338 comments / code etc. is welcome

I'm also trying to get silent pushes to work. I was thinking that it should be enough to set a payload of:
{"apn":
   {"content-available": 1}
}

That doesn't seem to work, but why not? This is sufficient in a simple push php script I've tested with.

Hi @raix
I don't know how to send patch, so I am writhing code below which can add this enhancement.
// file: "/ib/common/notifications.js" line 49 onward
if (typeof options.payload !== 'undefined') notification.payload = options.payload;
if (typeof options.badge !== 'undefined') notification.badge = options.badge;
if (typeof options.sound !== 'undefined') notification.sound = options.sound;
//add this line
if (typeof options.contentAvailable !== 'undefined') notification.contentAvailable = options.contentAvailable;

Following code uses setContentAvailable function of npm apn library.
// file: "lib/server/push.api.js" line 135 onward
if (typeof notification.badge !== 'undefined') note.badge = notification.badge;
if (typeof notification.sound !== 'undefined') note.sound = notification.sound;
//add this line
if (typeof notification.contentAvailable !== 'undefined') note.setContentAvailable(notification.sound);

Finally programmer can set contentAvailable using API as follows
Push.send({
   from: 'push',
   title: 'Hello',
   text: 'world',
   token: { apn: token }
   contentAvailable: 1
   payload: { someContent : "Hello"}
});


[DUP] sub-0041_ses-02_task-faces_acq-mb8_run-01

TODO

[x] delete duplicate __dup

scannotes
There are 2 "extra" faces runs in this session due to starting scanner before the stim pc was quite ready.  However the 2nd, 3rd, and 5th (corresponding to run1, 2, and 3 respectively) runs have full complete data and should be used.

  deleted: /Users/h/Documents/projects_local/1076_spacetop/sub-0041/ses-02/func/sub-0041_ses-02_task-faces_acq-mb8_run-01_bold__dup-01.json (file)
  deleted: /Users/h/Documents/projects_local/1076_spacetop/sub-0041/ses-02/func/sub-0041_ses-02_task-faces_acq-mb8_run-01_bold__dup-01.nii.gz (symlink)
  deleted: /Users/h/Documents/projects_local/1076_spacetop/sub-0041/ses-02/func/sub-0041_ses-02_task-faces_acq-mb8_run-01_sbref__dup-01.json (file)
  deleted: /Users/h/Documents/projects_local/1076_spacetop/sub-0041/ses-02/func/sub-0041_ses-02_task-faces_acq-mb8_run-01_sbref__dup-01.nii.gz (symlink)
  deleted: /Users/h/Documents/projects_local/1076_spacetop/sub-0041/ses-02/func/sub-0041_ses-02_task-faces_acq-mb8_run-03_bold__dup-01.json (file)
  deleted: /Users/h/Documents/projects_local/1076_spacetop/sub-0041/ses-02/func/sub-0041_ses-02_task-faces_acq-mb8_run-03_bold__dup-01.nii.gz (symlink)
  deleted: /Users/h/Documents/projects_local/1076_spacetop/sub-0041/ses-02/func/sub-0041_ses-02_task-faces_acq-mb8_run-03_sbref__dup-01.json (file)
  deleted: /Users/h/Documents/projects_local/1076_spacetop/sub-0041/ses-02/func/sub-0041_ses-02_task-faces_acq-mb8_run-03_sbref__dup-01.nii.gz (symlink)


Parallel Environments

Is there a straightforward way to run multiple environments in parallel or do you have to hack it using the wrapper from gym?

@rmrafailov we don't consider parallel sampling to be in-scope for this repository, since it is highly algorithm-dependent.
I have never tried the wrappers which gym recently started including, but you might take a look at https://github.com/rlworkgroup/garage/tree/master/src/garage/sampler for several well-tested parallel samplers.
Most samplers don't yet support sampling from multiple tasks at once, and will require a little bit of hacking to use with meta-RL.
I'm going to close this issue since I feel we've adequately addressed it. Please open a new one if you have further question, concerns, or improvements.


Make version of CCM / CSI configurable

Users should be able to use a specific version of CCM / CSI. If no value has been provided, the latest available version will be fetched from the GitHub repository.

Hm. I need to take care of the Docker images as well.
https://github.com/kube-hetzner/kube-hetzner/blob/master/hetzner/ccm/patch.yaml#L10
https://github.com/kube-hetzner/kube-hetzner/blob/master/hetzner/csi/patch.yaml#L23

Thank you for that massive pull request. It looks good and I trust your good judgment.

This pull request was not ready to be merged. We are able to download a specific version of *.yaml for CCM / CIS, but the patch.yaml will set the Docker image to latest.
I was wondering if this could be handled via https://github.com/kbst/terraform-provider-kustomization

The reason I added the kustomization and changed the docker image to either latest or canary, with imagePullPolicy of Always, was to have them update automatically when the k3s system controller does upgrades both k3s and k3os.
I realize it is risky, and indeed it would be nice if we could have that be optional.

@dhoppe Ideally, users should not touch Hetzner's own CCM and CSI. But I just wanted to make everything "auto-upgradable".
So if we could add a switch to either have the default manifests with the version chosen, or the manifest customized with docker latest and canary like now, it would be great! Just to give users the choice.

Between, I have tested this PR, and it deploys the cluster just fine, so we are halfway there. I believe a switch to customize or not to customize would be great!

I agree. At some point it gets pretty opinionated anyway.
For example, I prefer ArgoCD to install the following tools:

CCM
CIS
K8s Dashboard
Prometheus Stack
...

I have created a few Terraform modules for hcloud and need to update / publish them sometime. Maybe with this we can get rid of the redundant code regarding server, master and agent.

It makes sense @dhoppe, only yesterday I was looking at ArgoCD, I realized it could do this, and probably do upgrades too. If that is the case, then the only customization needed is for the CCM to give it the right cluster CIDR like at https://github.com/kube-hetzner/kube-hetzner/blob/38219041ff6b55cdc00da28e8835c31e39f40f87/hetzner/ccm/patch.yaml#L19.
About the other tools you mention, if we could have them too, it would be awesome! Prometheus / Grafana and the k8s dashboard would really make this project complete!

@dhoppe Just removed the container images customizations, now it will use the vanilla manifest from Hetzner, just with the right version thanks to your work yesterday. Now it's cleaner indeed.
For my dream of the "automatic upgrade", probably it can be accomplished with ArgoCD at a later stage, to monitor new releases of the CCM and CSI (you tell me, I'm a beginner).

@dhoppe Finally also added the possibility to use the "latest" containers for the CCM and CSI via two new optional booleans hetzner_ccm_container_latest and hetzner_csi_container_latest, by default set to false.


Update all Azure icons

OS: Win 10 & Mac
Build Version: 20191007.1
Repro Step:
Create a new web app --> Expand it and check the icon of "Application Settings" node.
Actual:
The color of "Application Settings" node are different between the App Service Explorer and Azure Portal.

Suggestion:
The color are same of "Application Settings" node icon between the App Service Explorer and Azure Portal.

We use a mix of Azure icons and VS Code icons. In this case, the app settings icon matches VS Code, not Azure - which is fine


Add docs about writing tests with test

We need a docs section about writing tests with test.

/assign


fix, fix checkInstalled of @web3modal/ethers5 and @web3modal/ethers (…

…WalletConnect#2061)
Breaking Changes
N/A
Changes

feat:
fix:
chore:

Associated Issues
closes #...

Looks good! But is missing the wagmi part as well 🙏


Roll engine 064910eb3ba2..2fcd4e799b68 (2 commits)

https://github.com/flutter/engine/compare/064910eb3ba2...2fcd4e799b68
git log 064910eb3ba266b2da35a794428f1f14d9b735a4..2fcd4e799b68df5b28fb8bcdf387e70e4f36716c --no-merges --oneline
2fcd4e799 Do nothing if the params didn't change when compositing iOS platform views. (flutter/engine#8999)
9dfa276f2 Roll src/third_party/dart 224f82c21c..8cbb11cc55 (15 commits) (flutter/engine#9171)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (cbracken@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/5626095005597696

Commit queue failed; closing this roll.


Export Vault  might not be working

Using either the Ribbon, the right-click menu, or the direct command to export the vault, the only thing that displays is the Export Web page form.  The only feature that does work is export to HTML.  This works for a single page.  Selecting multiple pages and then exporting also does no work -- that is, nothing is exported.

What platform are you on? And could you send me a screenshot of the developer console after exporting the vault (Ctrl + Shift + I), and a screenshot of your export settings? Then also could you try this in a completely new vault with no other plugins or themes. Thanks for the report!

Hi Nathan,
To answer your questions:
I am running windows 10 Home, Build 19041.vb_release.191206-1406

The vault does not export -- so no screenshot.

Export settings are in the screenshots below.

This is in a new vault with some stuff in it but no other community plugins
are enabled
I hope the gif gives you a clear view of what is happening.
Please let me know if there is anything else I can do to help you resolve
this,
Thanks for creating this very useful plugin.
Mike
[image: image.png]
[image: image.png]
On Sun, Jan 15, 2023 at 12:48 PM Nathan George @.***>
wrote:

What platform are you on? And could you send me a screenshot of the
developer console after exporting the vault (Ctrl + Shift + I), and a
screenshot of your export settings? Then also could you try this in a
completely new vault with no other plugins or themes. Thanks for the report!
—
Reply to this email directly, view it on GitHub
https://github.com/KosmosisDire/obsidian-webpage-export/issues/12#issuecomment-1383211113,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABVMEXLWPZYW5SMTLB526DWSQZ7XANCNFSM6AAAAAAT3ONNNI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hello, I know it doesn't export. But I want a screenshot of the console so I can see what errors are being thrown when it fails. This will help me figure out what is wrong. Also Your images did not upload correctly because you send the message from your email. Try sending the images directly from GitHub so that they upload correctly thanks!

OK, so this is a case of RFM -- I should have gone the next step -- after hitting export, I should have selected a vault or folder and then continued.  It DOES export both with some minor errors captured in the attached screenshots of the console.
Console before exporting the vault

After exporting the VAULT

This is the console error after exporting s single folder

This shows what I believe is an incorrect popup after selecting Web export vault it shows web export Webpage

Question:  If I select multiple documents -- is there a way to export the batch or must they be exported one at a time?

The console says it has been successfully exported to your downloads folder, are you sure it isn't exporting? Does it show the file save dialog when you export (the one that lets you select a location to export to)?
Also that always says HTML Webpage Settings, it's reference to the name of the plugin rather than the fact that you are exporting a single file.
You can export folders, but I don't yet support exporting a multi-selection. That's something I hadn't thought of, thanks!

Yes it does work.  I think it was my error.  When exporting a page, I saw the name in the file save menu.  When exporting a vault, it was blank and I assumed noting would be exported so I did not select a folder. My Bad. Sorry.
As for the label for the popup "HTML Webpage Settings". may I suggest you modify it, perhaps to "Export Settings for HTML Webpage".
Also another feature request.  When exporting a page you create a "Table of Contents".  Perhaps you can create a TOC whenever you export a file or vault.
Thanks

Again, sorry for my confusion.  I think the errors in the vault export might impact the quality of

mikeBehar: Again, sorry for my confusion. I think the errors in the vault export might impact the quality of the exported pages. Can you replicate this issue? If not I can try it again.

Are there still issues? From your last message I assumed that all was working. The errors saying that the images are not found are unavoidable but are not actually an indication of a problem (unless the images are actually not exporting for you?).
As far as the vault-level table of contents, that is something that I plan to do in the future but it is a much larger undertaking than it might seem. But it's definitely in the plan!
I will definitely change the title on the settings, and probably reorganize the settings overall eventually. Unfortunately, I have just started school back up again and am pretty busy so it is also a future thing for now.
Thanks for your input!

No new issues.  All of the errors are from one document.  Here is the URL: https://cmap.ihmc.us/docs/theory-of-concept-maps
On inspection it looks like each of the images throw an error. It turns out, the images were not captured in Obsidian.  I just recaptured the file and the images are there and now there are no errors on export.  So all is well.
Good luck in school.
Thanks again for a very useful plugin.
Best,
Mike


Add Codecoverage and report

Codecov Report

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

@@           Coverage Diff           @@
##             main      #65   +/-   ##
=======================================
  Coverage        ?   26.13%
=======================================
  Files           ?       13
  Lines           ?      746
  Branches        ?        0
=======================================
  Hits            ?      195
  Misses          ?      521
  Partials        ?       30

Continue to review full report at Codecov.

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


fix: remove Google logo.

AEPs are not a Google-sponsored nor endorsed project: we should remove the logo to make that clear.
The logo is commented out rather than removed so we can add a new logo as that is decided.

FYI this is what the header looks like for now.


Cant Separate 5 Lane Drums from Pro Drums

I am not sure what i am meant to do to make them separated but i am trying to make a chart that is compatible with both but i keep running into issues where they conflict with eachother because its modifying both at the same time. i would like to know what i am meant to do to make them separated so that i can individually modify each.

This is not possible as Clone Hero/other GH games store 4/5/Pro Drums data all in the same track.


Update README.md

Spelling check

Hi @fedir.
Thanks for this PR.
Ponzu project asks for PRs on ponzu-dev branch.
Is there any way you can alter this and send on that branch?  It makes things easier for team members TBH.
Re the typos:- Is "copies" the correct replacement for "copys" I'm not sure at all now you have raised this.
Your second correction is totally valid - thank you for that!

Thanks!


unable to load script make sure you are either running a metro server .... ( fresh project😑  )

React Native version:
info Fetching system and libraries information...
System:
    OS: Windows 10
    CPU: (6) x64 Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz
    Memory: 4.89 GB / 15.95 GB
  Binaries:
    Node: 13.1.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.17.3 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 6.12.1 - C:\Program Files\nodejs\npm.CMD
  IDEs:
    Android Studio: Version  <IP_ADDRESS> AI-183.6<IP_ADDRESS>92245
  npmPackages:
    react: 16.9.0 => 16.9.0
    react-native: 0.61.4 => 0.61.4

Steps To Reproduce

as the documentaion said :) npx react-native init AwesomeProject
then i got

 Run instructions for Android:
    • Have an Android emulator running (quickest way to get started), or a device connected.
    • cd C:\Users\xxx\Desktop\AwesomeProject && npx react-native run-android

so my second command was  cd C:\Users\bader\Desktop\AwesomeProject && npx react-native run-android
it start building until it finished
then unable to load script make sure you are either running a metro server run react-native start
since 3 years until today, whenEver i decide to learn react native I got such  silly bugs,  because of that i kept leaving it behind and learn something else  .
come on, if the initial  installation process has an issue , then how the code itself is going to be ?
my friends are working on mac and they told me they have no issue there, unless they use windows !!!!
i was following each step in the documentaion, so everything should be fine as usual
installation process that i did  are same as the fucking  documentaion said

Same happens following exact same steps but using TypeScript template. There is a way to solve though, temporarily.
Go to your root folder of the project > node_modules > metro-config >src > defaults >blacklist.js.
Open said file (VS Code, etc) and on the top you will see a var called SharedBlacklist. Change that var from what it is to what my attached txt says, which I got from GitHub also but can't find from whom to give credit.
It works like normal with that fix.
blacklist.txt
It is a fairly critical bug considering it appears on a clean project, hope it gets fixed soon.

Perfect its work like charm.
Thanks Juan-Castelli

yes it works , thanks @Juan-Castelli I hope i'm not gonna face this kind of bugs again 😥

@Juan-Castelli it works, thanks

This worked for me, but when i run "react-native start", the command prompt returns this error:
error Invalid regular expression: /(.\fixtures\.|node_modules[\]react[\]dist[\].|website\node_modules\.|heapCapture\bundle.js|.\tests\.)$/: Unterminated character class. Run CLI with --verbose flag for more details.
SyntaxError: Invalid regular expression: /(.\fixtures\.|node_modules[\]react[\]dist[\].|website\node_modules\.|heapCapture\bundle.js|.\tests\.)$/: Unterminated character class
at new RegExp ()

That's weird. You running from a clean project?

That's weird. You running from a clean project?

Yes, I already found the solution, it was just a bug in Metro Bundler.
Thanks for support

Thank you for your report. We fixed this just now with the release of Metro 0.56.4 and 0.57.0. Update your packages and re-create your project and things should work for you again :) Sorry for the inconvenience.


Changing column types via drop/create table does not refresh type in Results Pane.

Description
The issue is that while writing ETL and changing the schema below, and after having changed the shape column to varchar(10000) and then back to geometry type (using drop table and re-create table statements), after loading the data and querying it, the Results pane shows the value as VARCHAR type still and the geometry value doesn't render as a map in the Value Panel. It only corrected after refreshing the table in the Database Navigator.
Here is an example CSV:
Buildings.csv
DBeaver Version
Community Edition 22.3.2
Operating System
macOS Monterey
Database and driver

Aurora MySQL (MariaDB connection)
Driver Type: MySQL

MariaDB JDBC driver:  org.mariadb.jdbc:mariadb-java-client:RELEASE
Version: 3.0.7

DBeaver version:  22.3.2 (community)

Steps to reproduce

Connect to Aurora MySQL database, have a comma separated CSV file in an S3 location. I've attached the CSV file example to this Issue.

CREATE TABLE loading.building_raw_testing
(
building_id        VARCHAR(30)
, area_sqft            DOUBLE
, shape                GEOMETRY NOT NULL
, SPATIAL INDEX (shape)
);

LOAD DATA
FROM S3 PREFIX 's3://<some_bucket>/Buildings.csv'
INTO TABLE loading.building_raw_testing
FIELDS TERMINATED BY ','
OPTIONALLY ENCLOSED BY '"'
LINES TERMINATED BY '\r\n'
IGNORE 1 LINES
(
building_lid
, area_sqft
, @shape
)
SET
shape = ST_GEOMFROMTEXT(@shape, 4326)
;

Change the shape column to varchar(10000) using drop table statement and create table to recreate the table.
Load the data again.
Note the data type of the shape column values in the Results pane is VARCHAR.
Change the shape column back to GEOMETRY using drop table statement and create table to recreate the table.
Load the data and query it, note that the Results pane shows the value as VARCHAR type still and the geometry value doesn't render as a geographical map in the Value Panel.
Note that It only corrects itself after refreshing the table in the Database Navigator.

Additional context
I am using StrongDM software, which simulates connecting to remote server/ports as localhost:<port>.

I feel like this is a bug because I wasted a lot of time under the assumption that I was doing something wrong in my DDL/ETL script.

Thank you for the idea. We do not automatically refresh metadata, but we have already got the issues connected to that.
Closing as a duplicate of #7924 #16219

You need to manually press F5 on navigator node (scheme or database).


Include Tolerance options in table

I'm reviewing the "Differences From EPANET2.md" document and notice that 3 new choices are discussed in detail for 'accuracy' but not listed in the table.
These being, HEADER_TOLERANCE, FLOW_TOLERANCE, AND FLOW_CHANGE_LIMIT. If I'm not mistaken, shouldn't these me in the list of new option keyword table in the document?
Many Thanks,
Matt

Thank you @sandcastler. The table has just been updated as you requested.

No Problem, as I play around with this and experiment, I'll make a list of other inconsistencies (from a 'newer' user perspective). I'm assuming I could make updates to it and push them, or would you rather me just update this 'issue' once I've consolidated comments/thoughts.


fat-aar includes release libs in its debug assembled aar output

My project is setup as follows:
root
|----build/
|----module_a
|    |----build/
|    |----build.gradle
|    |----proguard.pro
|----module_b
|    |----build/
|    |----build.gradle
|    |----proguard.pro
|----build.gradle

In the build.gradle of both module_a and module_b, I applied
android {
    buildTypes {
        release {
            minifyEnabled true
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
}

And in their respective build/ directory I can see that release.aar is obfuscated while debug.aar is not.
Then in the top level build.gradle of root, I did
apply plugin: 'me.vigi.fat-aar'

dependencies {
    embed (project(':module_a')) {
        transitive false
    }
    embed (project(':module_b')) {
        transitive false
    }
}

But in its own build/ directory, I find that both release.aar and debug.aar contains jar libs from module_a and module_b as obfuscated.
Please help fix this issue. Thanks!

By default a library only publishes its release variant.
See here.