APOD API

APOD API integration you can get any Astronomy Picture of the Day you just have to mention year, month and day in YYYY-MM-DD format

Hey @UtkarshBirla28, Thank you for creating PR! We will review it super soon. 😇❣
As we continue to evolve and innovate, we encourage you to share your ideas, feedback, and code to help us push the boundaries of what's possible in the world of APIs🚀.
We hope you have followed CONTRIBUTING GUIDELINES.
Thank you for being an essential part of our community. Together, we'll keep building amazing things!
Don’t forget to ⭐ our repository!
Happy Coding!✨
Will See you soon❣

@dishamodi0910    My issue number is : #308

Hey @UtkarshBirla28, Please do not expose your API key, you can mention in README.md about from where to generate the API key, but don't mention about that.
It's not the good practice. Please create new PR after removing it, closing this one.

@UtkarshBirla28 ,I wanted to reach out and let you know that we have decided to close your pull request.🙇
In case of any issues, you can contact us on Discord.
Thank you! ❣
Happy Coding! ✨
Will See you soon❣


[Sync] kserve/modelmesh-v0.11.0-rc0 to main branch

Motivation
This is Release Sync. Detail information is here:

Sync Date: 20230605
kserve/modelmesh release issue: https://github.com/kserve/modelmesh-serving/pull/390
kserve/modelmesh release version : v0.11.0-rc0
odh/modelmesh branch: main

modelmesh openshift ci has an issue building an image so this pr needs to be merged manually. The fast tag image is already built based on this PR and the image was already tested with this pr openshift ci.
https://github.com/opendatahub-io/modelmesh-serving/pull/107/files


Does the file system server really support resources?

Describe the bug
The filesystem server claims it supports the resources capability (https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem#resources)
However, I cannot see this implemented in the code, maybe I am missing something here?
To Reproduce
I have not validated the behavior, I was just wondering if this can actually work without implementation. The server also does not return resources as a capability:
https://github.com/modelcontextprotocol/servers/blob/0e7d79c580da693091e7e9711a69132e85eb47c1/src/filesystem/index.ts#L163
Expected behavior
The server should support resources.

Hi,
Since this bug report talks about (https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem) and even if it has nothing to do with the point raised above, I would just like to point out a syntax error in the Docker code:

The last comma is too many (although I'm sure it's obvious to you).
All the best.

I want my issue back, so I fixed the comma :-) https://github.com/modelcontextprotocol/servers/pull/442


array find is not implemented

function main()
{

const array1 = [5, 12, 8, 130, 44];

const found = array1.find(element => element > 10);

print(found);
// Expected output: 12

}

will be done in library later


zcbor_encode, zcbor_decode: fix double promotion warnings

C implicit promotion rules will want to make floats into doubles very easily. Fix the constants that were defined as doubles.
Related PR: https://github.com/zephyrproject-rtos/zephyr/pull/57154

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Ryan McClelland seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks @XenuIsWatching! I pushed a commit where I add -Wdouble-promotion to some tests to prevent regression.

@XenuIsWatching My organization requires the CLA to be signed. If you have, great, but it seems your email address is not associated with your account, so it's not being picked up.
Signed-off-by: Ryan McClelland<EMAIL_ADDRESS>
Ryan McClelland seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.

@XenuIsWatching My organization requires the CLA to be signed. If you have, great, but it seems your email address is not associated with your account, so it's not being picked up.
Signed-off-by: Ryan McClelland<EMAIL_ADDRESS>
Ryan McClelland seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.

it's signed now

@XenuIsWatching Thanks!


Vulnerability roundup 93: archiver-3.3.1: 1 advisory [5.5]

search, files

[ ] CVE-2019-10743 CVSSv3=5.5 (nixos-unstable)

Scanned versions: nixos-unstable: 84d74ae9c9c.
Cc @kalbasit

master is at 3.5.0
closing


MIDI Program Change

Description
Please add the program change message to the MIDI class.
The proposed solution below did work for me.
Proposed Solution
extension MIDI {
/// Send a Continuous Controller message
/// - Parameters:
///   - program: Program
///   - channel: MIDI Channel (default: 0)
public func sendProgramChangeMessage(_ program: MIDIByte,
channel: MIDIChannel = 0,
endpointsUIDs: [MIDIUniqueID]? = nil,
virtualOutputPorts: [MIDIPortRef]? = nil) {
let controlCommand: MIDIByte = MIDIByte(0xC0) + channel
let message: [MIDIByte] = [controlCommand, program]
self.sendMessage(message, endpointsUIDs: endpointsUIDs, virtualOutputPorts: virtualOutputPorts)
}
}
Describe Alternatives You've Considered
No implementation
Additional Context
No response

Nice find! You could submit a PR for this addition.
FYI: AudioKit will be using MIDIKit for MIDI support going forward in AudioKit 6, and I've started using it in AudioKit 5.


feat: install add-on for unknown command if available, fixes #6352

The Issue

#6352

Replaces #6343

How This PR Solves The Issue
Tries to find a matching official add-on for unknown command and installs it.
Manual Testing Instructions
Try things from ddev get --list in the DDEV project folder:

ddev phpmyadmin
ddev redis
ddev admin
ddev adm

Automated Testing Overview

Release/Deployment Notes

Just want to make sure this is allow listing only official addons otherwise this can be a security concern. The advantage of the one off approach was that each one gets an intentional addon.

Yes, official add-ons only, I updated the PR description.

How would this map custom commands to add-ons? It wasn't clear to me in a quick read. For phpmyadmin the custom command happens to be phpmyadmin, but just looking through ddev get --list I'm not sure there are many actual hits like this.

It doesn't search by commands, that add-ons might have, it looks at the add-on name. It's just a simpler approach.
The name of the phpMyAdmin repo is ddev-phpmyadmin, which partially matches with phpmyadmin (using the library suggested in https://github.com/ddev/ddev/issues/6352#issuecomment-2190940405).

Thank you for working on this @stasadev
Some thoughts:

I support limiting scope to official addons only. See @nlighteneddesign comment above.

I tried browsersync
$ ddev browsersync
Do you want to install ddev/ddev-browsersync add-on? [Y/n] (yes): n
Exiting, no permission given to install

I think it would be better to include a "unknown command" warning to let people know why we are offering to install an addon.

"Exiting, no permission given to install" I think this needs re-wording before release.  I'm assuming its placeholder text while in draft.

Tried:
✅  ddev browsersync - offers to install
✅  ddev xhgui  - offers to install
✅  ddev cypress - does NOT offer to install, as expected beacuse its unofficial
✅  ddev cron  - offers to install
✅  ddev storybook - does NOT offer to install, as expected beacuse its unofficial

@nickchomey

Could it perhaps do a search of all addons, but add some indication when a result is not an official addon? Or perhaps this is something that could be user-configured, either globally or per-project?

I think we can start with official for now, see how it goes, and maybe expand it later.

I'm happy to open two separate issues (1. fuzzy search ddev get --list --all and 2. install binaries via aqua) and elaborate on this if there is interest.

Yes, these are good ideas, I'm not sure about the second one with aqua (since it adds another dependency for DDEV), but you can open new issues to discuss them.
@tyler36

I think it would be better to include a "unknown command" warning

Yeah, I thought about that too, I'll add something for that. (Not a normal DDEV warning, as it contains the Run 'ddev --help' for usage. line, which we don't need here.)
I should also add:
Executing command [ddev get addon-name]

I'm assuming its placeholder text while in draft.

That's correct.

One side effect I noticed is that when you type ddev ddev, it offers to install one of the official add-ons.
Should it be here (this can be considered a feature)?

Maybe you can exclude the common ddev- prefix in each name?

Yes, I'll remove ddev- from the search, as the logic is not obvious.

Ha. After playing with docker-compose up/down commands for the last hour, I switch context to a DDEV project and this happened:
$ ddev down
Do you want to install ddev/ddev-browsersync add-on? [Y/n] (yes):

I guess we don't need a fuzzy search with such confusing results, Ddev-brOWsersyNc, but a partial match would be fine.

I refactored the logic:

It won't ask to install the add-on if it's already installed.
Added more comments to explain what's going on.
I decided to only look for a full match, e.g. foo would try to install ddev/ddev-foo, because a partial match can be confusing, e.g. ddev red or ddev admin should not suggest installing ddev/ddev-redis or ddev/ddev-phpmyadmin.
Added the original error from Cobra to the output.

@nickchomey, thanks for the suggestion, but after much thought, I wouldn't add it.

at the very least you could do some sort of wildcard match such that a partial word like redi matches redis

I don't think it's necessary, on a large scale it only adds complexity for small benefits.
For example, ddev phpm will prompt you to install ddev/ddev-phpmyadmin, but users can simply make a mistake, and if we have a partial match, we lose the useful "Did you mean this?" suggestion that we have:
$ ddev phpm
Error: unknown command "phpm" for "ddev"

Did you mean this?
        npm
        php

Run 'ddev --help' for usage.

Of course, this applies to all the commands we have and adds even more confusion.

there's other packages that offer a very nice UX

This is completely customizable on the user side. If a user needs fzf, they should make it work for the entire shell to get 100% benefit. Personally, I use this plugin https://github.com/Aloxaf/fzf-tab for Zsh.
And we have an open issue about UI:

#5762

I'm wondering if my minimal approach has more utility in the end.
The approach I have does require someone adding the list of commands for each addon, but you know for sure which addon is being requested for a given command because it is defined. The approach I had works even when the common command does not match the addon name which this approach does not cover.
This still gives me a nagging concern for security, especially if fuzzy searching gets added back in. It just makes it easier for an unintended addon to be added.
There is more work to be done to match all of the current official addons with my approach, but it is finite and you can make adding the global command part of the adoption process it becomes more maintainable. Also my PR covers the most popular addon at the moment so it's a good test if it is something the community will like. I worry this approach will accidentally request installs of things more often and become annoying.
If I mistype a command now it just says unrecognized, where this approach increases the likely hood I have to answer a prompt instead of just fixing my typo.
There is also a clean MR to reference to add or modify these install commands if you need to enhance or modify a specific one whereas I do not see a hook to modify behavior in this option.

A related experiment was abandoned because of unpredictable results. Here we were trying to let people automatically run any command that existed inside the web container:

https://github.com/ddev/ddev/pull/3695

I wasn't aware about that experiment.
After reading it, I see that I'm trying to get it to work for an unknown scope, and it's undocumented.
It works fine, but maybe it should be in the scope of ddev-get.
Something like ddev get --search foobar - where we can implement fuzzy search easily.

suggest addon if command not found

This is probably too fragile, and if we have it, it could have bad consequences when implementing commands in the future.

ddev get --search foobar

We already have a lot of flags for ddev get and increasing them won't do us any favors because we already have some "search" with grep:
ddev get --list | grep phpmyadmin
ddev get --list --all | grep cypress

#6343

The idea presented in the PR for the phpmyadmin global command is quite flexible, and users can create their own global commands to install their favorite add-ons (or even create an add-on that will have these global commands).

Perhaps a better option that we should focus on is an Add-on Registry where people can find what they need.
Closing this in favor of:

#6383

@tyler36, if you agree, please also close:

#6352


docs: Add new Telegram Bot

Here's a new Telegram Bot built with this project.

Thanks! Readme looks solid btw


UIProgressRing stops if app resigns to background and then returns?

Hi, i'm just making a simple timer for my fitness app with your api. And it works really well, but i've included functionality in my timer for when the app goes into the background and the user returns the timer continues but there's no animation for the progress ring. Just wondering what i'm doing wrong. Here's the code:
class TimerViewController: UIViewController, UICircularProgressRingDelegate {

@IBOutlet weak var timerView: UICircularProgressRingView!
@IBOutlet weak var timerLabel: UILabel!
@IBOutlet weak var timerTextField: UITextField!

    let center = UNUserNotificationCenter.current()
    let notificationCenter = NotificationCenter.default

   var backgroundDate: Date?
   var totalTime: Double = 5.0
   var timer = Timer()

 override func viewDidLoad() {
        super.viewDidLoad()
        notificationCenter.addObserver(self, selector: #selector(appMovedToBackground), name: Notification.Name.UIApplicationDidEnterBackground, object: nil)
    }

    func appMovedToBackground() {

        if totalTime > 1 {

        timer.invalidate()

        let content = UNMutableNotificationContent()
        content.title = "Rest Period Finished!"
        content.body = "Get ready for your next set"
        content.sound = UNNotificationSound.default()

        let trigger = UNTimeIntervalNotificationTrigger.init(
            timeInterval: TimeInterval(totalTime),
            repeats: false)

        let request = UNNotificationRequest(identifier: "restPeriod", content: content, trigger: trigger)
        center.add(request)

        backgroundDate = Date.init()

        notificationCenter.addObserver(self, selector: #selector(appReturnedFromBackground), name: Notification.Name.UIApplicationWillEnterForeground, object: nil)
        }
    }

    func appReturnedFromBackground() {
        if backgroundDate != nil {
        let returnDate = Date.init()

        let difference = returnDate.timeIntervalSince(backgroundDate!)

        if Double(difference) > totalTime {
            timer.invalidate()
            timerView.setProgress(value: 0, animationDuration: 0)
            timerLabel.text = "00"
            totalTime = 1
            start.isEnabled = true

            _ = self.navigationController?.popViewController(animated: true)
        } else {
            timer.invalidate()

            center.removePendingNotificationRequests(withIdentifiers: ["restPeriod"])

            let totalTimeLeft = totalTime - Double(difference)
            totalTime = totalTimeLeft

            timer = Timer.scheduledTimer(timeInterval: 1, target: self, selector: #selector(TimerViewController.counter), userInfo: nil, repeats: true)

            timerView.animationStyle = kCAMediaTimingFunctionLinear

            timerView.setProgress(value: 270, animationDuration: Double(totalTime)) {
                self.timerView.setProgress(value: 0, animationDuration: 0)
            }

            timerLabel.text = String(totalTime)
        }

        }
    }

    @IBAction func startButton(_ sender: Any) {

        timer = Timer.scheduledTimer(timeInterval: 1, target: self, selector: #selector(TimerViewController.counter), userInfo: nil, repeats: true)

        timerView.animationStyle = kCAMediaTimingFunctionLinear

        timerView.setProgress(value: 270, animationDuration: Double(minutes + seconds)) {
        }

        totalTime = Double(textField.text!)
        timerLabel.text = String(totalTime)
        }

    @IBAction func stopButton(_ sender: Any) {
        timerLabel.text = "00"
        timer.invalidate()
        totalTime = 0
    }

    func finishedUpdatingProgress(forRing ring: UICircularProgressRingView) {
        timerView.setProgress(value: 0, animationDuration: 0)
    }

    deinit {
        center.removePendingNotificationRequests(withIdentifiers: ["restPeriod"])
        notificationCenter.removeObserver(self, name: Notification.Name.UIApplicationDidEnterBackground, object: nil)
        notificationCenter.removeObserver(self, name: Notification.Name.UIApplicationWillEnterForeground, object: nil)
        print("Class destroyed")
    }
}

Thanks

Would you mind either sharing the full project here or emailing me here if you want to keep your code private it will help me try and understand what's happening much faster if I have a working example.
Thanks

Closing due to inactivity or response, reopen if available.


Body in gmail is empty

Using the smtp function in the full format of the mail the message is present under "Subject:" but in the normal view of gmail the body is empty.
Full message:
Date: Mon, 26 Oct 2015 03:44:49 -0700 (PDT)
From: mchx Totem Error<EMAIL_ADDRESS>Subject: Diagnostic message from server:
[CRITICAL] 2015-10-26 11:44:46 Problem bad connection

Hi mcmaur!
Can you post the snippet you are using to reproduce, seelog config and the revision of seelog you are using?

I can't see any problem on code and configuration because the email is sent and received correctly. I am not able to specify the version I was using because of vendoring problems.
Once updated the library to the latest version the problem is vanished.
Code:
if err != nil {
		log.Critical("Problem ", err)
		os.Exit(1)
	}

Configuration:
<filter levels="error,critical">
      <file path="./log/error.log" formatid="common"/>
      <smtp formatid="common"<EMAIL_ADDRESS>sendername="mchx Totem Error" hostname="smtp.gmail.com" hostport="587"<EMAIL_ADDRESS>password="//">
         <recipient<EMAIL_ADDRESS>      </smtp>
    </filter>


GeoJSON layer not displayed when containing features with different geometry types

When I add geoJSON layer to the request data, it is rendered in PDF output only if the features in FeatureCollection have same geometry type (e.g. Polygon). However, when features in FeatureCollection are of multiple geometry types (points/lines/polygons) then none of them is displayed in created PDF output. Is it limitation of the library or there could be some other error?
I am sure that GeoJSON data that I send with request is completely valid geojson because I tested it in different viewers and it's displayed correctly.
In theory i could make multiple geoJSON layers for each geometry type and then add each of them separately as a map layer to the print request data but it would be much easier if I could send it as single layer containing multiple geometries.

Could that be related to this issue? https://github.com/mapfish/mapfish-print/issues/617

I forgot to mention that i don't apply any style to my features but instead using just the default style.


Optimize map overlays refresh

I see two problems here:
First of all osmdroids overlay list is backed by a CopyOnWriteArraylist which creates a new copy on every mutation. Secondly we are currently allocating new Objects for the markers on each refresh which is less then optimal (which is kinda my fault due to 9bfca7171d043e3da99f8e0d1016c012dd9ce34f  ;) ).
I would suggest keeping a local copy of the overlays as a normal Arraylist in MapFragment. Then we could update the existing ones and add and remove as needed on each refresh in that local list. When done we can just .clear() and .addAll() the osmdroid one. This would reduce the mutative operations to two in all cases.
Thoughts?

sounds good. maybe we could also think about an object pool where we keep map markers for later use if they aren't needed anymore and should be kept from being garbage collected.

Thought about it too. But Markers are quite cheap and I don't think the user count varies a lot (correct me if I'm wrong). Therefore I expect a full-fledged object pool to be overkill. Will take a look at this the next days.

yea no you're right they don't vary too much. worst case in berlin we have ~800 users so there might be ~10 more or less with every server call.

okay, then I'll take care of that :)

I actually did some testing a while back and I didn't see any advantages in performance/memory churn by changing this - not worth the effort.

:+1:


Finetune a model to remove else except clothing?

how to prepare dataset?

Please refer to  https://github.com/plemeri/transparent-background#new-configuration and https://github.com/plemeri/InSPyReNet

Closing due to inactivity.


blackjack: streamline introduction

Fixes #1556
Summary of the changes:

I revamped the introduction of the concept and the introduction of the exercise as per the suggestions in #1556
I also made the about.md of the concept to be more comprehensive
More friendly link names for the concept

Thanks for the review @junedev.
Applied the suggested changes.


Test/update scanner tests

Resolves #3409

The failed Cloud Build check can be ignored; meant to disable that trigger that I am testing with.

@googlebot I consent.


Add a variable to the variable table

@Bert303
https://community.sw.siemens.com/s/question/0D54O00008CYFGISA5/can-the-property-text-mass-be-shown-in-both-lbm-kg-in-a-callout
Value could be a formula

`
Imports System
Imports System.Runtime.InteropServices
Namespace Examples
Friend Class Program

Shared Sub Main(ByVal args() As String)
Dim application As SolidEdgeFramework.Application = Nothing
Dim document As SolidEdgeFramework.SolidEdgeDocument = Nothing
Dim variables As SolidEdgeFramework.Variables = Nothing
Dim variable As SolidEdgeFramework.variable = Nothing
        Try
            ' See "Handling 'Application is Busy' and 'Call was Rejected By Callee' errors" topic.
            OleMessageFilter.Register()

            ' Attempt to connect to a running instance of Solid Edge.
            application = DirectCast(Marshal.GetActiveObject("SolidEdge.Application"), SolidEdgeFramework.Application)

            document = CType(application.ActiveDocument, SolidEdgeFramework.SolidEdgeDocument)

            variables = CType(document.Variables, SolidEdgeFramework.Variables)

            ' Add a new variable.
            variable = CType(variables.Add("Variable1", "100.0", SolidEdgeConstants.UnitTypeConstants.igUnitDistance), SolidEdgeFramework.variable)

            ' Edit the new variable.
            variables.Edit("Variable1", "200.0")
        Catch ex As System.Exception
            Console.WriteLine(ex)
        Finally
            OleMessageFilter.Unregister()
        End Try
    End Sub
End Class

End Namespace
`

Input Editor progress

Done


Docs Add: Code_of_Conduct and Contributor guidelines

Add code of conduct and contributor guidelines file to align with Github's recommended community standards
Screenshot

Would be delighted to take up this task if needed

@orama254 Nice. Looking for a contributor.

@sabesansathananthan I'd be delighted to take up this task

Sure. Make a PR.


Transmission pipeline and cosmetic adjustments to the API

Please focus on udpard.c and udpard.h. Upon a closer inspection it appeared to be easier to produce a completely new implementation that exploits the design features of Cyphal/UDP instead of adapting the original CAN implementation.
The code is fully covered by tests; Sonar reports a slightly lower value because of imperfections of llvm-cov.
Golden tests were produced with the help of PyCyphal; relevant Python snippets are provided in the comments.
The commit history is uninformative and should not be looked at.

I'm assuming we don't have the work in here to handle a low-priority, long-timeout item in a tx queue?

No, I considered this to not be part of what we defined as "significant completion". This will be taken care of after the core functionality is in place: https://github.com/OpenCyphal-Garage/libudpard/issues/33

I do think we should switch.  It's how I structured CETL even without the need to test cpp internals.

Okay, I just did that and discovered (too late) that it won't work. The problem is that it is difficult to compile a C file using a C++ compiler without suppressing a very large set of sensible compiler warnings. Clang-Tidy and Sonar can also be made to not emit diagnostics for the included C file but it it slightly less trivial than I would like it to be. As C and C++ are, after all, very different languages, I'm worried that by compiling C with a C++ compiler we may create maintenance issues for us in the future, particularly if we decide to switch to a newer version of either standard at one point. You can see what it looks like in the second-to-last commit (the next one reverts it).
I suggest keeping the existing design as-is. The presence of exposed.hpp pains me but it is less undesirable than the alternative.

Okay, I just did that and discovered (too late) that it won't work. The problem is that it is difficult to compile a C file using a C++ compiler without suppressing a very large set of sensible compiler warnings...

import the .c into an exposed.c that defines test_hooks. for example:
// readcode.c
static int foo(const char* p)
{
 ...
}

// exposed.c
#include "readcode.c"

EXPORT int exposed_foo(const char* p)
{
    return foo(p);
}

Could you please elaborate on the value of this approach compared to exposed.hpp? I see one in that there will be no need to customize UDPARD_INTERNAL but it doesn't seem significant; plus it doesn't obviate the need for exposed.hpp.

Could you please elaborate on the value of this approach compared to exposed.hpp? I see one in that there will be no need to customize UDPARD_INTERNAL but it doesn't seem significant; plus it doesn't obviate the need for exposed.hpp.

It avoid polluting the production code with a test macro or any knowledge of the tests. I can accept any crazy plan needed in unit tests but not in the product.

Nudging @thirtytwobits to proceed with the review because I'm looking into integrating libudpard - once ready - into 107-Arduino-Cyphal 😁

👀


Hbase/v1.1.2 support

Created new project named kafka-connect-hbase-v1.1.2 where is added a part for changing depends needed for HBase-v1.1.2. Compiled successfully just need to be build into jar
As connector is tested against version of CP3.1.1 (and will not work for CP4.0.0 - tested) you need first uncomment lines in build.gradle as I pointed out there.

This change is

Stale PR and closing.


Missing items: [ITEMS]

Links to WOTLK Wowhead for each item:
Could you please add all of the Halloween headless horseman items

I need too. It's hard to find items similar to Halloween rings.


Healing by getting in and out of bed

The healing is granted by getting into a bed, not when waking up naturally, which means you can fully heal by getting into and out of the bed repeatedly.
forge 1.20.1

Wow.  Great catch!   I'll add this as a high priority bug fix.


Table filter numbers and booleans

Closes #1189
Summary
Table filters were failing for numbers and booleans due to the comparison method used.
Change List (commits, features, bugs, etc)
Converts the user input filter to a number for direct comparison.
Allows false booleans to be compared.
Acceptance Test (how to verify the PR)
Go to the Table story: stateful-example-with-expansion-and-column-resize and confirm that all of the filter options work properly.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Search page creation > Search bar

See all tasks from Search page creation
See mockup in context
Mockup detail:
Edit: I've removed the stage "ALL" from the wireframe, the default stage being "Prepare"

Search bar composed of:

[ ] Text field1: All crops
e.g. tomato and display guides related to the crop tomato
[ ] Text field2: Current month by default
[ ] Text field3: Climate zone: enable auto-location

[ ] Stages: ALL by default

Icons:

Here is some front-end code for this that is outside of the context of the entire application: https://gist.github.com/nicholasedwards/c438d1fd1f06b4033e29c8ad1a9baf90
Next steps would be to tie that markup into the application markup and set up the inputs as search result filters (probably with Angular).
I am unassigning myself from this for now in order to focus on learning Javascript and Angular for a while (unless a JS guru wants to collaborate with me on this, in which case, let's go for it and I'll keep working on layout and styling!)

@nicholasedwards I would be more than happy to help you out with implementing this in JS. Let me know if you want to set up a pair programming session or something similar. The HTML looks great, and it should be fairly straightforward to tie it into some things.

@simonv3 awesome. PM'd you on Slack.

hey @nicholasedwards, keep us posted here how the pair programming goes with @simonv3 :-)

We're scheduled to do our session tomorrow!

@simonv3 How was it?

@sophiakc it was good. You can see the work we did here: https://github.com/openfarmcc/OpenFarm/commit/afca35d3311f17fcb7ef4548980c590c29785d82
It's not finished yet. We're going to touch base on when we can do some more work together.


ModuleNotFoundError: No module named 'parrots'

Thanks for your error report and we appreciate it a lot.

I have searched related issues but cannot get the expected help.
The bug has not been fixed in the latest version.

A clear and concise description of what the bug is.
I'm trying to run the demo on my PC with CUDA 11.3 and it tells me there is no module parrots, even though parrots is the name of the torch version
What command or script did you run?
python demo/pcd_demo.py demo/data/kitti/kitti_000008.bin configs/second/hv_second_secfpn_6x8_80e_kitti-3d-car.py checkpoints/hv_second_secfpn_6x8_80e_kitti-3d-car_20200620_230238-393f000c.pth --show --snapshot
I didn't made any changes to the code.
When I run python mmdet3d/utils/collect_env.py or the above command, it prints:
Traceback (most recent call last):
File "mmdet3d/utils/collect_env.py", line 2, in
from mmcv.utils import collect_env as collect_base_env
File "/home/mola/anaconda3/envs/testtorch/lib/python3.8/site-packages/mmcv/init.py", line 4, in
from .fileio import *
File "/home/mola/anaconda3/envs/testtorch/lib/python3.8/site-packages/mmcv/fileio/init.py", line 2, in
from .file_client import BaseStorageBackend, FileClient
File "/home/mola/anaconda3/envs/testtorch/lib/python3.8/site-packages/mmcv/fileio/file_client.py", line 15, in
from mmcv.utils.misc import has_method
File "/home/mola/anaconda3/envs/testtorch/lib/python3.8/site-packages/mmcv/utils/init.py", line 41, in
from .env import collect_env
File "/home/mola/anaconda3/envs/testtorch/lib/python3.8/site-packages/mmcv/utils/env.py", line 13, in
from .parrots_wrapper import get_build_config
File "/home/mola/anaconda3/envs/testtorch/lib/python3.8/site-packages/mmcv/utils/parrots_wrapper.py", line 99, in
_ConvNd, _ConvTransposeMixin = _get_conv()
File "/home/mola/anaconda3/envs/testtorch/lib/python3.8/site-packages/mmcv/utils/parrots_wrapper.py", line 50, in _get_conv
from parrots.nn.modules.conv import _ConvNd, _ConvTransposeMixin
ModuleNotFoundError: No module named 'parrots'
When I go to line 50 of parrots_wrapper.py:
def _get_conv():
if TORCH_VERSION == 'parrots':
from parrots.nn.modules.conv import _ConvNd, _ConvTransposeMixin #This one
else:
from torch.nn.modules.conv import _ConvNd, _ConvTransposeMixin
return _ConvNd, _ConvTransposeMixin
print(TORCH_VERSION) --> 1.10.1+cu102
I don't have pytorch, though with CUDA 10.2 in my other PC the demo works with no problem.
And the strangest is that in the other PC, this condition ( if TORCH_VERSION == 'parrots': ) is false, even though
TORCH VISION has the same value in both PCs
Some of the packages that I use and their versions:
libtorch                  <IP_ADDRESS>                  pypi_0    pypi
torch                     1.5.0                    pypi_0    pypi
torch-scatter             2.0.9                    pypi_0    pypi
torch-tb-profiler         0.4.0                    pypi_0    pypi
torchvision               0.11.2                   pypi_0    pypi
openblas-devel            0.3.2                         0    anaconda
mmcls                     0.23.1                   pypi_0    pypi
mmcv-full                 1.6.0                    pypi_0    pypi
mmdet                     2.25.0                    dev_0
mmdet3d                   0.5.2+fd20aab             dev_0
mmpycocotools             12.0.3                   pypi_0    pypi
mmsegmentation            0.26.0                   pypi_0    pypi

Please use the latest mmdet3d. You installed mmdet3d is so out-of-date.

Solved!
I updated miniconda to latest version which updated pip to latest version too.
That enabled me to install the latest installation of mmdet3d w/ pip install mmdet3d.
mmdet3d = 1.0.0rc3


Ubuntu 14.04 - pip broken after installation

I use Ubuntu 14.04 and try to install the maestro-ng.
root@e007aeab14ae:~#  pip install --upgrade git+git://github.com/signalfuse/maestro-ng ... Successfully installed docker-py pyyaml jinja2 six bgtunnel python-simple-hipchat maestro requests websocket-client markupsafe backports.ssl-match-hostname   Cleaning up...
The installation passed without any errors but I found two strange things.
The first - maestro: command not found
root@e007aeab14ae:~#  maestro
maestro: command not found
The second - pip now broken as described at https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991
root@e007aeab14ae:~# pip
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in
load_entry_point('pip==1.5.4', 'console_scripts', 'pip')()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 351, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2363, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2088, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "/usr/lib/python2.7/dist-packages/pip/init.py", line 11, in
from pip.vcs import git, mercurial, subversion, bazaar  # noqa
File "/usr/lib/python2.7/dist-packages/pip/vcs/mercurial.py", line 9, in
from pip.download import path_to_url
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 25, in
from requests.compat import IncompleteRead
ImportError: cannot import name IncompleteRead

@balokir Your solution worked for me.
I had performed:
$sudo pip install --U virtualenvs
and after pip broke on the version number check in:
"/usr/local/lib/python3.4/dist-packages/distribute-0.6.49-py3.4.egg/pkg_resources.py", line 596, in resolve etc.
whenever I tried, say:
$pip list


Add custom OAuth bearer authentication support

Description
Expose SetOAuthBearerTokenRefreshHandler in security information.
Fixes #417
How Has This Been Tested?
I've run this locally and confirmed that the OAuth callbacks are called correctly by the Kafka admin client, consumer and producer. Unit tests seem difficult to implement in this case, because the underlying code calls directly into PInvoke code that can't be mocked. Happy to take advice on where unit tests could be added.
Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have added tests to cover my changes
[ ] I have made corresponding changes to the documentation

Disclaimer
By sending us your contributions, you are agreeing that your contribution is made subject to the terms of our Contributor Ownership Statement

@joelfoliveira Anything missing on this that you're waiting for?

@joelfoliveira Any update on this please?

Any updates on this


Ho interval analysis

Adds a working interval analysis for the toy language.
Note: it still has the same unsoundness problem as the RD analysis has. Namely, after exiting a loop by reaching a fixpoint the contents of the stack might not correspond with the loop's type annotation.

All the changes look good, will merge


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 83 ms

Resolved: ClamAV performance has improved in 7000f98.


Bug - Charm stays in maintenance mode when the Kernel version is not correct

Description
The charm stays in maintenance state with the "rebooting to apply changes message" indefinitely when running juju deploy.
Here it looks like this machine has a non-proper kernel version. If this is the reason why the deploy failed, I'd expect the unit not to reboot but go to "error" state and display the reason why.
The machine was added using Juju:
juju add-machine --constraints="cores=4 mem=16G spaces=sgi,s1" --disks=20G

And here's the deploy command:
juju deploy magma-access-gateway-operator --config sgi=eth1@if191 --config s1=eth2@if193 --channel=beta --to 2

Juju status output:
guillaume@thinkpad:~$ juju status
Model  Controller  Cloud/Region         Version  SLA          Timestamp
vms    localhost   localhost/localhost  2.9.35   unsupported  16:34:13+02:00

App                            Version  Status       Scale  Charm                          Channel  Rev  Exposed  Message
magma-access-gateway-operator           maintenance      1  magma-access-gateway-operator  beta      14  no       Rebooting to apply changes

Unit                              Workload     Agent  Machine  Public address                          Ports  Message
magma-access-gateway-operator/1*  maintenance  idle   2        fd42:74e4:d36e:d16d:216:3eff:fe15:f2e0         Rebooting to apply changes

Machine  State    Address                                 Inst id        Series  AZ  Message
2        started  fd42:74e4:d36e:d16d:216:3eff:fe15:f2e0  juju-0b6c56-2  focal       Running

Juju debug-log output:
guillaume@thinkpad:~$ juju debug-log
machine-2: 16:20:31 DEBUG juju.worker.logger reconfiguring logging from "<root>=DEBUG" to "<root>=INFO"
machine-2: 16:20:31 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined
machine-2: 16:20:31 DEBUG juju.worker.dependency "fan-configurer" manifold worker started at 2022-10-28 14:20:31.175102686 +0000 UTC
machine-2: 16:20:31 INFO juju.worker.upgradeseries no series upgrade lock present
machine-2: 16:20:31 INFO juju.worker.machiner setting addresses for "machine-2" to [local-machine:<IP_ADDRESS> local-cloud:<IP_ADDRESS> local-cloud:<IP_ADDRESS> local-cloud:<IP_ADDRESS> local-machine:::1 local-cloud:fd42:74e4:d36e:d16d:216:3eff:fe15:f2e0 local-cloud:fd42:3fd1:b85d:4565:216:3eff:fe54:3995 local-cloud:fd42:c28:edf1:184a:216:3eff:fe3e:b75a]
machine-2: 16:20:31 INFO juju.worker.authenticationworker "machine-2" key updater worker started
machine-2: 16:20:31 WARNING juju.cmd.jujud determining kvm support: INFO: /dev/kvm does not exist
HINT:   sudo modprobe kvm_intel
modprobe: FATAL: Module msr not found in directory /lib/modules/5.15.0-52-generic
: exit status 1
no kvm containers possible
machine-2: 16:20:31 INFO juju.worker.machiner "machine-2" started
machine-2: 16:20:31 INFO juju.cmd.jujud.runner start "2-container-watcher"
machine-2: 16:20:34 INFO juju.container.lxd Availability zone will be empty for this container manager
machine-2: 16:20:30 INFO juju.cmd running jujud [2.9.35 da3416008ea4ce7851a4c967ae191a0044917024 gc go1.19.2]
machine-2: 16:20:30 DEBUG juju.cmd   args: []string{"/var/lib/juju/tools/machine-2/jujud", "machine", "--data-dir", "/var/lib/juju", "--machine-id", "2", "--debug"}
machine-2: 16:20:30 DEBUG juju.utils setting GOMAXPROCS to 4
machine-2: 16:20:30 DEBUG juju.agent read agent config, format "2.0"
machine-2: 16:20:30 INFO juju.worker.upgradesteps upgrade steps for 2.9.35 have already been run.
machine-2: 16:20:30 DEBUG juju.worker.dependency "syslog" manifold worker started at 2022-10-28 14:20:30.97697763 +0000 UTC
machine-2: 16:20:30 DEBUG juju.worker.dependency "upgrade-check-gate" manifold worker started at 2022-10-28 14:20:30.977092935 +0000 UTC
machine-2: 16:20:30 DEBUG juju.worker.dependency "agent" manifold worker started at 2022-10-28 14:20:30.977409056 +0000 UTC
machine-2: 16:20:30 DEBUG juju.worker.dependency "clock" manifold worker started at 2022-10-28 14:20:30.977450454 +0000 UTC
machine-2: 16:20:30 DEBUG juju.worker.dependency "state-config-watcher" manifold worker started at 2022-10-28 14:20:30.977764936 +0000 UTC
machine-2: 16:20:30 DEBUG juju.worker.dependency "upgrade-check-flag" manifold worker started at 2022-10-28 14:20:30.977992346 +0000 UTC
machine-2: 16:20:30 DEBUG juju.worker.dependency "is-not-controller-flag" manifold worker started at 2022-10-28 14:20:30.97823976 +0000 UTC
machine-2: 16:20:30 DEBUG juju.worker.dependency "upgrade-steps-gate" manifold worker started at 2022-10-28 14:20:30.978857166 +0000 UTC
machine-2: 16:20:30 DEBUG juju.worker.dependency "upgrade-steps-flag" manifold worker started at 2022-10-28 14:20:30.979141735 +0000 UTC
machine-2: 16:20:30 DEBUG juju.worker.dependency "termination-signal-handler" manifold worker started at 2022-10-28 14:20:30.979747472 +0000 UTC
machine-2: 16:20:30 DEBUG juju.worker.introspection introspection worker listening on "@jujud-machine-2"
machine-2: 16:20:30 DEBUG juju.worker.introspection stats worker now serving
machine-2: 16:20:30 DEBUG juju.worker.dependency "api-config-watcher" manifold worker started at 2022-10-28 14:20:30.987074547 +0000 UTC
machine-2: 16:20:30 DEBUG juju.worker.dependency "is-controller-flag" manifold worker started at 2022-10-28 14:20:30.988178713 +0000 UTC
machine-2: 16:20:30 DEBUG juju.worker.apicaller connecting with old password
machine-2: 16:20:31 DEBUG juju.api successfully dialed "wss://[fd42:74e4:d36e:d16d:216:3eff:fe9d:318b]:17070/model/8bc1e354-54a5-4081-82b2-7460a00b6c56/api"
machine-2: 16:20:31 INFO juju.api connection established to "wss://[fd42:74e4:d36e:d16d:216:3eff:fe9d:318b]:17070/model/8bc1e354-54a5-4081-82b2-7460a00b6c56/api"
machine-2: 16:20:31 INFO juju.worker.apicaller [8bc1e3] "machine-2" successfully connected to "[fd42:74e4:d36e:d16d:216:3eff:fe9d:318b]:17070"
machine-2: 16:20:31 DEBUG juju.worker.apicaller changing password...
machine-2: 16:20:31 INFO juju.worker.apicaller [8bc1e3] password changed for "machine-2"
machine-2: 16:20:31 DEBUG juju.api RPC connection died
machine-2: 16:20:31 DEBUG juju.worker.dependency "api-caller" manifold worker stopped: restart immediately
stack trace:
github.com/juju/worker/v3/dependency.init:124: restart immediately
machine-2: 16:20:31 DEBUG juju.worker.apicaller connecting with current password
machine-2: 16:20:31 DEBUG juju.api successfully dialed "wss://<IP_ADDRESS>:17070/model/8bc1e354-54a5-4081-82b2-7460a00b6c56/api"
machine-2: 16:20:31 INFO juju.api connection established to "wss://<IP_ADDRESS>:17070/model/8bc1e354-54a5-4081-82b2-7460a00b6c56/api"
machine-2: 16:20:31 INFO juju.worker.apicaller [8bc1e3] "machine-2" successfully connected to "<IP_ADDRESS>:17070"
machine-2: 16:20:31 DEBUG juju.worker.dependency "api-caller" manifold worker started at 2022-10-28 14:20:31.057585994 +0000 UTC
machine-2: 16:20:31 DEBUG juju.worker.dependency "upgrader" manifold worker started at 2022-10-28 14:20:31.06824584 +0000 UTC
machine-2: 16:20:31 DEBUG juju.worker.dependency "upgrade-steps-runner" manifold worker started at 2022-10-28 14:20:31.069708542 +0000 UTC
machine-2: 16:20:31 DEBUG juju.worker.dependency "upgrade-steps-runner" manifold worker completed successfully
machine-2: 16:20:31 DEBUG juju.worker.dependency "migration-inactive-flag" manifold worker started at 2022-10-28 14:20:31.070074403 +0000 UTC
machine-2: 16:20:31 DEBUG juju.worker.dependency "valid-credential-flag" manifold worker started at 2022-10-28 14:20:31.091427988 +0000 UTC
machine-2: 16:20:31 INFO juju.worker.upgrader desired agent binary version: 2.9.35
machine-2: 16:20:31 DEBUG juju.worker.dependency "upgrade-check-flag" manifold worker stopped: gate unlocked
stack trace:
github.com/juju/juju/worker/gate.init:95: gate unlocked
machine-2: 16:20:31 DEBUG juju.worker.dependency "upgrade-check-flag" manifold worker started at 2022-10-28 14:20:31.107781814 +0000 UTC
machine-2: 16:20:31 DEBUG juju.worker.dependency "migration-fortress" manifold worker started at 2022-10-28 14:20:31.117271647 +0000 UTC
machine-2: 16:20:31 INFO juju.worker.deployer new context: units "", stopped ""
machine-2: 16:20:31 DEBUG juju.worker.dependency "deployer" manifold worker started at 2022-10-28 14:20:31.117341574 +0000 UTC
machine-2: 16:20:31 DEBUG juju.worker.dependency "migration-minion" manifold worker started at 2022-10-28 14:20:31.127603294 +0000 UTC
machine-2: 16:20:31 INFO juju.worker.migrationminion migration phase is now: NONE
machine-2: 16:20:31 DEBUG juju.worker.logger initial log config: "<root>=DEBUG"
machine-2: 16:20:31 DEBUG juju.worker.dependency "state-converter" manifold worker started at 2022-10-28 14:20:31.13913714 +0000 UTC
machine-2: 16:20:31 DEBUG juju.worker.dependency "logging-config-updater" manifold worker started at 2022-10-28 14:20:31.139176402 +0000 UTC
machine-2: 16:20:31 DEBUG juju.worker.dependency "storage-provisioner" manifold worker started at 2022-10-28 14:20:31.139186886 +0000 UTC
machine-2: 16:20:31 DEBUG juju.worker.dependency "log-sender" manifold worker started at 2022-10-28 14:20:31.139311161 +0000 UTC
machine-2: 16:20:31 DEBUG juju.worker.dependency "ssh-authkeys-updater" manifold worker started at 2022-10-28 14:20:31.139322717 +0000 UTC
machine-2: 16:20:31 DEBUG juju.worker.dependency "reboot-executor" manifold worker started at 2022-10-28 14:20:31.139332399 +0000 UTC
machine-2: 16:20:31 DEBUG juju.worker.dependency "machine-action-runner" manifold worker started at 2022-10-28 14:20:31.139337902 +0000 UTC
machine-2: 16:20:31 DEBUG juju.worker.dependency "upgrade-series" manifold worker started at 2022-10-28 14:20:31.139350076 +0000 UTC
machine-2: 16:20:31 DEBUG juju.worker.dependency "api-address-updater" manifold worker started at 2022-10-28 14:20:31.139355982 +0000 UTC
machine-2: 16:20:31 DEBUG juju.worker.dependency "disk-manager" manifold worker started at 2022-10-28 14:20:31.139362849 +0000 UTC
machine-2: 16:20:31 DEBUG juju.worker.dependency "host-key-reporter" manifold worker started at 2022-10-28 14:20:31.139368027 +0000 UTC
machine-2: 16:20:31 INFO juju.worker.logger logger worker started
machine-2: 16:20:31 DEBUG juju.worker.dependency "proxy-config-updater" manifold worker started at 2022-10-28 14:20:31.139389007 +0000 UTC
machine-2: 16:20:31 DEBUG juju.worker.fanconfigurer Processing new fan config
machine-2: 16:20:31 DEBUG juju.worker.dependency "agent-config-updater" manifold worker stopped: resource permanently unavailable
stack trace:
github.com/juju/worker/v3/dependency.init:129: resource permanently unavailable
github.com/juju/juju/worker/fortress.Occupy:63:
github.com/juju/juju/cmd/jujud/agent/engine.occupyStart.func1:93:
machine-2: 16:20:31 DEBUG juju.worker.dependency "broker-tracker" manifold worker stopped: no container types determined
stack trace:
github.com/juju/juju/worker/containerbroker.NewTracker:110: no container types determined
github.com/juju/juju/worker/containerbroker.Manifold.func1:80:
github.com/juju/juju/worker/fortress.Occupy:63:
github.com/juju/juju/cmd/jujud/agent/engine.occupyStart.func1:93:
machine-2: 16:20:31 DEBUG juju.worker.fanconfigurer Fan not enabled
machine-2: 16:23:33 INFO juju.worker.deployer checking unit "magma-access-gateway-operator/1"
machine-2: 16:23:33 INFO juju.worker.deployer deploying unit "magma-access-gateway-operator/1"
machine-2: 16:23:33 INFO juju.worker.deployer creating new agent config for "magma-access-gateway-operator/1"
machine-2: 16:23:33 INFO juju.worker.deployer starting workers for "magma-access-gateway-operator/1"
machine-2: 16:23:33 INFO juju.api connection established to "wss://[fd42:74e4:d36e:d16d:216:3eff:fe9d:318b]:17070/model/8bc1e354-54a5-4081-82b2-7460a00b6c56/api"
machine-2: 16:23:33 INFO juju.api connection established to "wss://[fd42:74e4:d36e:d16d:216:3eff:fe9d:318b]:17070/model/8bc1e354-54a5-4081-82b2-7460a00b6c56/api"
unit-magma-access-gateway-operator-1: 16:23:33 INFO juju Starting unit workers for "magma-access-gateway-operator/1"
unit-magma-access-gateway-operator-1: 16:23:33 INFO juju.worker.apicaller [8bc1e3] "unit-magma-access-gateway-operator-1" successfully connected to "[fd42:74e4:d36e:d16d:216:3eff:fe9d:318b]:17070"
unit-magma-access-gateway-operator-1: 16:23:33 INFO juju.worker.apicaller [8bc1e3] password changed for "unit-magma-access-gateway-operator-1"
unit-magma-access-gateway-operator-1: 16:23:33 INFO juju.worker.apicaller [8bc1e3] "unit-magma-access-gateway-operator-1" successfully connected to "[fd42:74e4:d36e:d16d:216:3eff:fe9d:318b]:17070"
unit-magma-access-gateway-operator-1: 16:23:33 INFO juju.worker.migrationminion migration phase is now: NONE
unit-magma-access-gateway-operator-1: 16:23:33 INFO juju.worker.logger logger worker started
unit-magma-access-gateway-operator-1: 16:23:33 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk
unit-magma-access-gateway-operator-1: 16:23:33 INFO juju.worker.upgrader no waiter, upgrader is done
machine-2: 16:23:33 INFO juju.agent.tools ensure jujuc symlinks in /var/lib/juju/tools/unit-magma-access-gateway-operator-1
machine-2: 16:23:33 INFO juju.agent.tools was a symlink, now looking at /var/lib/juju/tools/2.9.35-ubuntu-amd64
machine-2: 16:23:33 INFO juju.worker.leadership magma-access-gateway-operator/1 promoted to leadership of magma-access-gateway-operator
unit-magma-access-gateway-operator-1: 16:23:33 INFO juju.worker.uniter unit "magma-access-gateway-operator/1" started
unit-magma-access-gateway-operator-1: 16:23:33 INFO juju.worker.uniter resuming charm install
unit-magma-access-gateway-operator-1: 16:23:33 INFO juju.worker.uniter.charm downloading ch:amd64/focal/magma-access-gateway-operator-14 from API server
machine-2: 16:23:33 INFO juju.downloader downloading from ch:amd64/focal/magma-access-gateway-operator-14
machine-2: 16:23:33 INFO juju.downloader download complete ("ch:amd64/focal/magma-access-gateway-operator-14")
machine-2: 16:23:33 INFO juju.downloader download verified ("ch:amd64/focal/magma-access-gateway-operator-14")
unit-magma-access-gateway-operator-1: 16:23:39 INFO juju.worker.uniter hooks are retried true
unit-magma-access-gateway-operator-1: 16:23:39 INFO juju.worker.uniter.storage initial storage attachments ready
unit-magma-access-gateway-operator-1: 16:23:39 INFO juju.worker.uniter found queued "install" hook
unit-magma-access-gateway-operator-1: 16:23:40 INFO unit.magma-access-gateway-operator/1.juju-log Running legacy hooks/install.
unit-magma-access-gateway-operator-1: 16:23:40 WARNING unit.magma-access-gateway-operator/1.install Failed to get unit file state for<EMAIL_ADDRESS>No such file or directory
unit-magma-access-gateway-operator-1: 16:23:55 INFO unit.magma-access-gateway-operator/1.juju-log b'Magma AGW Installer: Starting pre-install checks...\nMagma AGW Installer: ERROR: Invalid Kernel Version. Only 5.4.0 is supported. For downgrading kernel version, please refer to:\nhttps://discourse.ubuntu.com/t/how-to-downgrade-the-kernel-on-ubuntu-20-04-to-the-5-4-lts-version/26459 Exiting installation!\n'
unit-magma-access-gateway-operator-1: 16:23:55 WARNING unit.magma-access-gateway-operator/1.install Shutdown scheduled for Fri 2022-10-28 14:24:55 UTC, use 'shutdown -c' to cancel.
unit-magma-access-gateway-operator-1: 16:23:56 INFO juju.worker.uniter.operation ran "install" hook (via hook dispatching script: dispatch)
unit-magma-access-gateway-operator-1: 16:23:56 INFO juju.worker.uniter found queued "leader-elected" hook
unit-magma-access-gateway-operator-1: 16:23:56 INFO juju.worker.uniter.operation ran "leader-elected" hook (via hook dispatching script: dispatch)
unit-magma-access-gateway-operator-1: 16:23:56 WARNING unit.magma-access-gateway-operator/1.config-changed Failed to get unit file state for<EMAIL_ADDRESS>No such file or directory
unit-magma-access-gateway-operator-1: 16:23:56 WARNING unit.magma-access-gateway-operator/1.config-changed snap "magma-access-gateway" is already installed, see 'snap help
unit-magma-access-gateway-operator-1: 16:23:56 WARNING unit.magma-access-gateway-operator/1.config-changed        refresh'
unit-magma-access-gateway-operator-1: 16:23:56 INFO unit.magma-access-gateway-operator/1.juju-log b'Magma AGW Installer: Starting pre-install checks...\nMagma AGW Installer: ERROR: Invalid Kernel Version. Only 5.4.0 is supported. For downgrading kernel version, please refer to:\nhttps://discourse.ubuntu.com/t/how-to-downgrade-the-kernel-on-ubuntu-20-04-to-the-5-4-lts-version/26459 Exiting installation!\n'
unit-magma-access-gateway-operator-1: 16:23:56 WARNING unit.magma-access-gateway-operator/1.config-changed Shutdown scheduled for Fri 2022-10-28 14:24:56 UTC, use 'shutdown -c' to cancel.
unit-magma-access-gateway-operator-1: 16:23:57 INFO juju.worker.uniter.operation ran "config-changed" hook (via hook dispatching script: dispatch)
unit-magma-access-gateway-operator-1: 16:23:57 INFO juju.worker.uniter found queued "start" hook
unit-magma-access-gateway-operator-1: 16:23:57 INFO unit.magma-access-gateway-operator/1.juju-log Running legacy hooks/start.
unit-magma-access-gateway-operator-1: 16:23:57 INFO juju.worker.uniter.operation ran "start" hook (via hook dispatching script: dispatch)
machine-2: 16:25:02 INFO juju.cmd running jujud [2.9.35 da3416008ea4ce7851a4c967ae191a0044917024 gc go1.19.2]
machine-2: 16:25:02 DEBUG juju.cmd   args: []string{"/var/lib/juju/tools/machine-2/jujud", "machine", "--data-dir", "/var/lib/juju", "--machine-id", "2", "--debug"}
machine-2: 16:25:02 DEBUG juju.utils setting GOMAXPROCS to 4
machine-2: 16:25:02 DEBUG juju.agent read agent config, format "2.0"
machine-2: 16:25:02 INFO juju.agent.setup setting logging config to "<root>=INFO"
machine-2: 16:25:02 INFO juju.worker.upgradesteps upgrade steps for 2.9.35 have already been run.
machine-2: 16:25:02 INFO juju.api connection established to "wss://<IP_ADDRESS>:17070/model/8bc1e354-54a5-4081-82b2-7460a00b6c56/api"
machine-2: 16:25:02 INFO juju.worker.apicaller [8bc1e3] "machine-2" successfully connected to "<IP_ADDRESS>:17070"
machine-2: 16:25:02 INFO juju.worker.upgrader desired agent binary version: 2.9.35
machine-2: 16:25:02 INFO juju.worker.deployer new context: units "magma-access-gateway-operator/1", stopped ""
machine-2: 16:25:02 INFO juju.worker.deployer creating new agent config for "magma-access-gateway-operator/1"
machine-2: 16:25:02 INFO juju.worker.deployer starting workers for "magma-access-gateway-operator/1"
machine-2: 16:25:02 INFO juju.worker.deployer checking unit "magma-access-gateway-operator/1"
machine-2: 16:25:02 INFO juju.worker.deployer checking unit "magma-access-gateway-operator/1"
machine-2: 16:25:02 INFO juju.worker.migrationminion migration phase is now: NONE
machine-2: 16:25:02 INFO juju.worker.logger logger worker started
machine-2: 16:25:02 WARNING juju.cmd.jujud determining kvm support: INFO: /dev/kvm does not exist
HINT:   sudo modprobe kvm_intel
modprobe: FATAL: Module msr not found in directory /lib/modules/5.15.0-52-generic
: exit status 1
no kvm containers possible
machine-2: 16:25:02 INFO juju.worker.machiner setting addresses for "machine-2" to [local-machine:<IP_ADDRESS> local-cloud:<IP_ADDRESS> local-cloud:<IP_ADDRESS> local-cloud:<IP_ADDRESS> local-machine:::1 local-cloud:fd42:74e4:d36e:d16d:216:3eff:fe15:f2e0 local-cloud:fd42:3fd1:b85d:4565:216:3eff:fe54:3995 local-cloud:fd42:c28:edf1:184a:216:3eff:fe3e:b75a]
machine-2: 16:25:02 INFO juju.cmd.jujud.runner start "2-container-watcher"
machine-2: 16:25:02 INFO juju.container.lxd Availability zone will be empty for this container manager
machine-2: 16:25:02 INFO juju.worker.authenticationworker "machine-2" key updater worker started
machine-2: 16:25:02 INFO juju.worker.upgradeseries no series upgrade lock present
machine-2: 16:25:02 INFO juju.worker.machiner "machine-2" started
machine-2: 16:25:03 INFO juju.api connection established to "wss://<IP_ADDRESS>:17070/model/8bc1e354-54a5-4081-82b2-7460a00b6c56/api"
unit-magma-access-gateway-operator-1: 16:25:02 INFO juju Starting unit workers for "magma-access-gateway-operator/1"
unit-magma-access-gateway-operator-1: 16:25:03 INFO juju.worker.apicaller [8bc1e3] "unit-magma-access-gateway-operator-1" successfully connected to "<IP_ADDRESS>:17070"
unit-magma-access-gateway-operator-1: 16:25:03 INFO juju.worker.migrationminion migration phase is now: NONE
unit-magma-access-gateway-operator-1: 16:25:03 INFO juju.worker.logger logger worker started
unit-magma-access-gateway-operator-1: 16:25:03 INFO juju.worker.upgrader no waiter, upgrader is done
machine-2: 16:25:03 INFO juju.worker.leadership magma-access-gateway-operator/1 promoted to leadership of magma-access-gateway-operator
machine-2: 16:25:03 INFO juju.agent.tools ensure jujuc symlinks in /var/lib/juju/tools/unit-magma-access-gateway-operator-1
machine-2: 16:25:03 INFO juju.agent.tools was a symlink, now looking at /var/lib/juju/tools/2.9.35-ubuntu-amd64
unit-magma-access-gateway-operator-1: 16:25:03 INFO juju.worker.uniter unit "magma-access-gateway-operator/1" started
unit-magma-access-gateway-operator-1: 16:25:03 INFO juju.worker.uniter hooks are retried true
unit-magma-access-gateway-operator-1: 16:25:03 INFO juju.worker.uniter reboot detected; triggering implicit start hook to notify charm
unit-magma-access-gateway-operator-1: 16:25:03 INFO unit.magma-access-gateway-operator/1.juju-log Running legacy hooks/start.
unit-magma-access-gateway-operator-1: 16:25:03 INFO juju.worker.uniter.operation ran "start" hook (via hook dispatching script: dispatch)
unit-magma-access-gateway-operator-1: 16:29:14 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-magma-access-gateway-operator-1: 16:34:07 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)

This made me think that we should (maybe) move all the pre-install checks to the operator and have the snap simply install the access-gateway itself. This way we will have more granular level to control the status and error messages surfaced at the juju operation level.


Move "Async Programming in Rust" book into repo

Move book as is from https://github.com/aturon/apr as a subtree of the WG repo.
Closes #22
This first commit is just to move it so the WG can own it and we can start opening tickets to improve it.

Maybe call it async-book instead. apr sounds so cryptic

Yeah renaming to async-book SGTM. We'll also have to play with the Travis auto-deployment, making space to have multiple books hosted from gh-pages on this repo.

Thanks @aajtodd!


Add Mobile Payment App

This useful tool allows users to manage their finances while on the go. It was developed with Flutter.

@ashitaprasad Please assign this issue to me

Add the github repo link.

sorry for late reply, link ->  https://github.com/Vaibhav-kesarwani/mobile-payment-app
please assign this issue to me @ashitaprasad

Similar projects already present.


[W09-B2][Week 7] Changed address book icon logo

Changes Unknown when pulling 435a4ce598b087c820d625daa6655dbb5f71e389 on charlesgoh:saveasbutton-enhancement into ** on CS2103T-W09B2:master**.


Nima's info should be added to team page

https://github.com/dandi/dandi.github.io/blob/master/_data/team_members.yml
@neurovium

https://github.com/dandi/dandi.github.io/blob/master/_data/team_members.yml
@neurovium

Done


you forgot

now you haven't

[Intro]
Ska-badabadabadoo-belidabbelydabbladabbladabblabab-belibabbelibabbelibabbelabbelo-doobelidoo
I'm the Scatman
[Pre-Chorus]
Ski-bi-dibby-dib yo-da-dub-dub, yo-da-dub-dub
Ski-bi-dibby-dib yo-da-dub-dub, yo-da-dub-dub
I'm the Scatman
Ski-bi-dibby-dib yo-da-dub-dub, yo-da-dub-dub
Ski-bi-dibby-dib yo-da-dub-dub, yo-da-dub-dub
[Chorus]
Ba-da-ba-da-ba-be bop-bop-bodda-bope
Bop-ba-bodda-bope
Be-bop-ba-bodda-bope, bop-ba-bodda
Ba-da-ba-da-ba-be bop-ba-bodda-bope
Bop-ba-bodda-bope
Be-bop-ba-bodda-bope, bop-ba-bodda-bope
[Post-Chorus]
Ska-badabadabadoo-belidabbelydabbladabbladabblabab-belibabbelibabbelibabbelabbelo-doobelidoo
[Verse 1]
Everybody stutters one way or the other
So check out my message to you
As a matter of fact, I don't let nothing hold you back
If the Scatman can do it, so can you
Everybody's saying that the Scatman stutters
But doesn't ever stutter when he sings
But what you don't know, I'm gonna tell you right now
That the stutter and the scat is the same thing to you
I'm the Scatman
Where's the Scatman?
I'm the Scatman
[Verse 2]
Why should we be pleasing in the politician heathens
Who would try to change the seasons if they could?
The state of the condition insults my intuitions
And it only makes me crazy and hard like wood
Everybody stutters one way or the other
So check out my message to you
As a matter of fact, I'm letting nothing hold you back
If the Scatman can do it, brother, so can you
I'm the Scatman
[Chorus]
Ba-da-ba-da-ba-be bop-bop-bodda-bope
Bop-ba-bodda-bope
Be-bop-ba-bodda-bope, bop-ba-bodda
Ba-da-ba-da-ba-be bop-ba-bodda-bope
Bop-ba-bodda-bope
Be-bop-ba-bodda-bope, bop-ba-bodda-bope
[Post-Chorus]
Ski-bi-dibby-dib yo-da-dub-dub, yo-da-dub-dub
Ski-bi-dibby-dib yo-da-dub-dub, yo-da-dub-dub
Ski-bi-dibby-dib yo-da-dub-dub, yo-da-dub-dub
Ski-bi-dibby-dib yo-da-dub-dub, yo-da-dub-dub
[Verse 3]
Everybody stutters one way or the other
So check out my message to you
As a matter of fact, I don't let nothing hold you back
If the Scatman can do it, so can you
I hear y'all ask 'bout the meaning of scat
Well, I'm the professor and all I can tell you is
While you're still sleeping, the saints are still weeping 'cause
Things you called dead haven't yet had the chance to be born
I'm the Scatman
[Chorus]
Ba-da-ba-da-ba-be bop-bop-bodda-bope
Bop-ba-bodda-bope
Be-bop-ba-bodda-bope, bop-ba-bodda
Ba-da-ba-da-ba-be bop-ba-bodda-bope
Bop-ba-bodda-bope
Be-bop-ba-bodda-bope
Bop-ba-bodda-bope
[Post-Chorus]
Ski-bi-dibby-dib yo-da-dub-dub, yo-da-dub-dub
Ski-bi-dibby-dib yo-da-dub-dub, yo-da-dub-dub
Ski-bi-dibby-dib yo-da-dub-dub, yo-da-dub-dub
Ski-bi-dibby-dib yo-da-dub-dub, yo-da-dub-dub
[Bridge]
Yeah, I'm the Scatman
Dong dong dong, ding ding dong dong
Wo-go-ez-ze-ze-za-de-ya-de-za-de-ya-ze-ze-zee
Dong-ding-dong-dong-dong, do-dong-ding
Where's the Scatman?
Ska-badabadabadoo-belidabbelydabbladabbladabblabab-belibabbelibabbelibabbelabbelo-doobelidoo
I'm the Scatman, repeat after me
It's a scoobie-oobie-doobie, scoobie-doobie melody
I'm the Scatman, sing along with me
It's a scoobie-oobie-doobie, scoobie-doobie melody
Yeah, I'm the Scatman (I'm the Scatman)
[Chorus]
Bop-ba-bodda-bope
Be-bop-ba-bodda-bope, bop-ba-bodda
I'm the Scatman (I'm the Scatman)
Bop-ba-bodda-bope
Be-bop-ba-bodda-bope
Ska-badabadabadoo-belidabbelydabbladabbladabblabab-belibabbelibabbelibabbelabbelo-doobelidoo
Be-bop-ba-bodda-bope, bop-ba-bodda bope
Be-bop-ba-bodda-bope, bop-ba-bodda
Ba-da-ba-da-ba-be bop-ba-bodda-bope
Yeah, I'm the Scatman, sing along with me
Bop-ba-bodda
It's a scoobie-oobie-doobie, scoobie-doobie melody
Be-bop-ba-bodda-bope


Incompatibility Lenovo Z13

Hello,
I tried using TPFanCtrl2 to reduce the noise from my Lenovo Z13 (6650 U model, running Win11), but could not get your software running on the system. Whenever I launch the program, I get the error message "failed to read FanSpeedByte from EC".

On a few other other issue threads, I saw that it was recommended to try a few of the previous versions, and found v0.62 of TPFanControl to be working - unfortunately, it only controls one of the two fans.
After downloading RWeverything, I checked the embedded controller during a low-load benchmark using a hard 9W limit and found 0x85 (if I understood the notation correctly, value 644F) to control at least one of the fans. During the benchmark, TPFanControl was not on the system, and both fans were running at a low speed.

Here is also a screenshot of the EC with the fans off during idle.

Can you please help me to get the software working? I'm happy to provide you with additional data to the best of my abilities. ^^

@Marvin-jlu  @Shuzhengz
Exactly same issue on ThinkPad X13 Gen 3 and Gen 4.
Same behavior, most recent version v2.1 will just give "failed to read FanSpeedByte from EC"
v0.62 Does work, but only for 1 fan.
Where you able to find solution? Any other software? Seems like X13 and Z13 are not working with [TPFanCtrl2]


Update title of create a check page

[ ] remove title (it's set in the next page)
[ ] Update text for toggle
[ ] Remove name editing from Checks form

@russorat @alexpaxton
Can we keep the title on this page? It seems right to name it first thing...

Remove Name editing from checks form.

So, just to be clear:

We will change the text of the toggle, but keep the title (including being editable)
We will remove the name editing in the Checks form (bottom left card)

It now looks like this:


Disabled node is marked if parent node is selected

Hello,
When we determine that a Node is not selectable (Disabled) and mark the Parent Node, the CheckBox that is disabled is marked when it should not.
Access the example and mark the Parent Node, note that the child that is disabled will be marked.
https://jsfiddle.net/9od7e0x3/3/
Anyone know if they can solve this?
Thank you very much

Hi. Please check the new version (0.2.59).
By default disabled nodes will be checked. But you can add a checkDisabledChildren property.
const options = {
    checkbox: true,
    checkDisabledChildren: false
}

<tree
    :data="data"
    :options="options" />

Hi. Please check the new version (0.2.59).
By default disabled nodes will be checked. But you can add a checkDisabledChildren property.
const options = {
    checkbox: true,
    checkDisabledChildren: false
}

<tree
    :data="data"
    :options="options" />

Hello,
I'll update, thank you very much.


Project ID validation upgrade

Added validation for project ID, returns a clearer error when the user tries to deploy and application with an invalid project ID.
Changed regular expression for validation project ID, now it satisfies https://cloud.google.com/resource-manager/reference/rest/v1/projects

Solved https://github.com/AppScale/appscale/issues/2781

@Honcharov12 The hawkeye failures are due to the new hawkeye test (https://github.com/AppScale/hawkeye/pull/146). The commit that allows that test to succeed was merged to master after the commit that this branch starts on.

https://ocd.appscale.com:8080/job/Daily Build/5542/
Everything is OK. Thank you for clarifying!

Demo
Earlier, if user deployed application with invalid project_id, it returned:
Invalid response: <title>404: Not Found</title>404: Not Found
With such record in log file:
stacktrace : Traceback (most recent call last):
  File "/home/vovan/venvs/appscale-tools/local/lib/python2.7/site-packages/appscale/tools/scripts/appscale.py", line 90, in main
    appscale.deploy(sys.argv[2])
  File "/home/vovan/venvs/appscale-tools/local/lib/python2.7/site-packages/appscale/tools/appscale.py", line 581, in deploy
    login_host, http_port = AppScaleTools.upload_app(options)
  File "/home/vovan/venvs/appscale-tools/local/lib/python2.7/site-packages/appscale/tools/appscale_tools.py", line 1001, in upload_app
    operation_id = admin_client.create_version(version, remote_file_path)
  File "/home/vovan/venvs/appscale-tools/local/lib/python2.7/site-packages/retrying.py", line 49, in wrapped_f
    return Retrying(*dargs, **dkw).call(f, *args, **kw)
  File "/home/vovan/venvs/appscale-tools/local/lib/python2.7/site-packages/retrying.py", line 212, in call
    raise attempt.get()
  File "/home/vovan/venvs/appscale-tools/local/lib/python2.7/site-packages/retrying.py", line 247, in get
    six.reraise(self.value[0], self.value[1], self.value[2])
  File "/home/vovan/venvs/appscale-tools/local/lib/python2.7/site-packages/retrying.py", line 200, in call
    attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
  File "/home/vovan/venvs/appscale-tools/local/lib/python2.7/site-packages/appscale/tools/admin_api/client.py", line 109, in create_version
    operation = self.extract_response(response)
  File "/home/vovan/venvs/appscale-tools/local/lib/python2.7/site-packages/appscale/tools/admin_api/client.py", line 60, in extract_response
    raise AdminError('Invalid response: {}'.format(response.content))
AdminError: Invalid response: <title>404: Not Found</title>404: Not Found

exception : AdminError

tools_version : 3.6.0

platform : Linux-4.4.0-138-generic-x86_64-with-Ubuntu-16.04-xenial

message : Invalid response: <title>404: Not Found</title>404: Not Found

runtime : CPython

Now it returns:
Invalid project ID. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter.
With following log file:
stacktrace : Traceback (most recent call last):
  File "/home/vovan/venvs/appscale-tools/local/lib/python2.7/site-packages/appscale/tools/scripts/appscale.py", line 90, in main
    appscale.deploy(sys.argv[2])
  File "/home/vovan/venvs/appscale-tools/local/lib/python2.7/site-packages/appscale/tools/appscale.py", line 581, in deploy
    login_host, http_port = AppScaleTools.upload_app(options)
  File "/home/vovan/venvs/appscale-tools/local/lib/python2.7/site-packages/appscale/tools/appscale_tools.py", line 1001, in upload_app
    operation_id = admin_client.create_version(version, remote_file_path)
  File "/home/vovan/venvs/appscale-tools/local/lib/python2.7/site-packages/retrying.py", line 49, in wrapped_f
    return Retrying(*dargs, **dkw).call(f, *args, **kw)
  File "/home/vovan/venvs/appscale-tools/local/lib/python2.7/site-packages/retrying.py", line 212, in call
    raise attempt.get()
  File "/home/vovan/venvs/appscale-tools/local/lib/python2.7/site-packages/retrying.py", line 247, in get
    six.reraise(self.value[0], self.value[1], self.value[2])
  File "/home/vovan/venvs/appscale-tools/local/lib/python2.7/site-packages/retrying.py", line 200, in call
    attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
  File "/home/vovan/venvs/appscale-tools/local/lib/python2.7/site-packages/appscale/tools/admin_api/client.py", line 109, in create_version
    operation = self.extract_response(response)
  File "/home/vovan/venvs/appscale-tools/local/lib/python2.7/site-packages/appscale/tools/admin_api/client.py", line 69, in extract_response
    raise AdminError(message)
AdminError: Invalid project ID. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter.

exception : AdminError

tools_version : 3.6.0

platform : Linux-4.4.0-138-generic-x86_64-with-Ubuntu-16.04-xenial

message : Invalid project ID. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter.

runtime : CPython


Fix test failure

It seems currently tests fail on e.g. Windows in #1929. This PR should fix the issue.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
0

Relevant Lines:
1432

💛  - Coveralls

thanks @devmotion!


Fail early if a command line arg isn't recognized

Yeah, this is probably a signal that it'd be better to use a proper option parsing library (though I kind of hate all the main Python ones) -- but this totally works, thanks!


PE-36100 Remove legacy facts

Replace legacy facts with modern facts

Ram puppet-lint and these were the only legacy facts that were reported.


Fix JSON parsing

coverage: 91.783%. remained the same when pulling 424deb9882ad5c6f8225a9335f768ce73a9699e9 on fix-json-parsing into 0ff34b6ca5f18f38f09d1f3556efc92d174c5adc on main.


Feature Request: Don't name containers in docker-compose.yml or assign them random names prefixed with supabase

Feature request
the problem
Naming containers in docker-compose makes it impossible to have two supabase projects side by side
While exploring supabase locally I had the problem that I needed to spin up another supabase setup to verify if I messed up my current setup. Due to the setting the container_name in docker-compose.yml it is not possible to spin up another instance without getting an error that this name is already in use.
It is nice to have a defined container name, but I don't see any benefit except for easier identification when running docker ps or docker container ls.
the solution
Maybe the cli can create a random name and prefix it with supabase-.
the alternative
The only alternative here is ejecting the project or editing the files in .supabase/ manually

Maybe the cli can create a random name and prefix it with supabase

I like this solution 👍 great idea @ff6347

The containers are now named supabase_<component>_<projectId>, where projectId can be customized in the config.


Landing page

Show a cool 😎 landing page instead of redirecting to the repository when / is visited.
Some ideas:

http://ix.io/ (man page style)
https://0x0.st/ (something simple)

Should it be configurable or included as a const?

Should it be configurable or included as a const?

It should be both I think, we can have a default landing page and have it configurable in the config file. But handling it as a const is a good start.


Incorrect scope in steps

Hi there,
I've recently upgraded a project to the new testing format, and followed the instructions in the README, however, the scope of this inside my step file is wrong as it does not have a this.element as the docs suggest it should.
Below is a simplified version of my steps file, have put it all in steps.js for brevity.
// steps.js
import { visit, click, currentURL } from '@ember/test-helpers';
import yadda from '../../helpers/yadda';

export default function(assert) {
  return yadda.localisation.default.library()
  .given('I am on the dashboard', async function() {
    await visit('/');
  })
  .when('I click the learning link', async function() {
    await click('a.learning');
  })
  .then('I should see a list of learning activities', async function() {
    // this.element is undefined here
    assert.equal(this.element.querySelector('ul.posts li').textContent, 'My new post');
  })
}

I'm not sure if some of my setup is wrong or if this is a bug. Any help greatly appreciated.
Thanks!

@lukeclewlow sorry for the late response here! Have you added the @setupApplicationTest annotation?


Issue/7641

Description
Fix cache invalidation in agent shutdown
Problem

in _update_agent_map we have update_uri_agents which are added and removed
remove calls into AgentInstance.stop
calls into executor_manager.stop_for_agent
calls self.executors[agent_name].stop()
but doesn't del self.executors[agent_name]
closes #7641

Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[x] Attached issue to pull request
[x] Changelog entry
[x] Type annotations are present
[x] Code is clear and sufficiently documented
[x] No (preventable) type errors (check using make mypy or make mypy-diff)
[x] Sufficient test cases (reproduces the bug/tests the requested feature)
[x] Correct, in line with design
[ ] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )
[ ] If this PR fixes a race condition in the test suite, also push the fix to the relevant stable branche(s) (see test-fixes for more info)

Processing this pull request

Pull request rejected by merge tool. The tests for this branch did not succeed.

Processing this pull request

Merged into branches master in 8e298d835a16dc89cd2b98b6018e7cf2dfdee405


POST/GET/FILES variables are unverified

$_POST, $_GET and $_FILES variables are being used without verification. a clean version of $_POST and $_FILES is being created as $post and $files, in managers/requests.php

fixing in v0.1.0


Disabler not working for "Test Tags" setting.

# robotidy: off disabler does not work on the Test Tags setting.
Here is the expected result (disabler works when used on *** Settings *** line or first line of the file).

Here is robotidy result with the disabler on the same line as Test Tags:
BEFORE:

AFTER:

Here is the result with the disabler on the previous line.
BEFORE:

AFTER:

Note that a side effect of using the disabler on the  Test Tags line or the previous line, is that the output line is too long.
Which does not happen without any disabler:

It required some extensive debugging but I've discovered that OrderSettings transformer does modify end_lineno attribute of the TestTags node. It then affects disabler logic - node is not considered disabled.
I will track why OrderSettings does that, but I have simple workaround for now too - when checking if the node is disabled, I can at least set end_lineno = -1 to lineno value. It should help with most of the cases.

Implemented workaround and fixed root cause - it will be part of the next release.


Feature: Integrate Custom Gestures in Color Picker Components

Description:
This pull request introduces a new feature to the color picker components by adding a gestures prop.
This prop accepts an array of React Native Gesture Handler gestures, allowing custom gestures or composed ones to run with the existing color picker gestures.

This is good stuff, thanks @alabsi91! However, I think there needs to be some changes here. First, let me explain the use case again:
<ColorPicker>
  <GestureDetector gesture={longPressGesture}>
      <Swatches style={{ paddingTop: 10, paddingHorizontal: 10 }} />
  </GestureDetector>

  <Panel4
        style={[panelStyle, { borderRadius: 0 }]}
        gestures={[longPressGesture]}
      />
</ColorPicker>

Basically: when we have a longPress on the <Swatches/>, we want to show the <Panel4/> and also simultaneously allow the gestures in Panel4.
This will likely require a lot more work. I am thinking maybe a gestures prop in the <ColorPicker/> wrapper, that gets passed to all the child components like <Swatches/>?
Something like:
<ColorPicker gestures={[longPressGesture]}>
  // swatches will have the longPress gesture
  <Swatches style={{ paddingTop: 10, paddingHorizontal: 10 }} />

  // and a wait to override the shared gestures in the component-level too
  // so Panel4 won't have the longPress
  <Panel4 gestures=[]/>
</ColorPicker>

what do you think?

Thank you for testing it so quickly. Each component, including sliders and panels, has its own GestureDetector. The Swatches component currently uses Pressable for each swatch. Perhaps we could consider using GestureDetector for it as well, but I'm uncertain whether to wrap all the swatches together or each one individually. Although making gestures props on the wrapper is a good idea, it seems quite similar to passing them to the slider.
If you have a repository example illustrating what you are attempting to implement, sharing it would be greatly appreciated. This way, I can test different approaches.

@alabsi91 Sure, I don't have an example repo but this is the full component: https://gist.github.com/MehediH/f9d6bd9499bd90ec46dc46777f74ca83
You should be able to drop it into any sample app.

Perhaps we could consider using GestureDetector for it as well, but I'm uncertain whether to wrap all the swatches together or each one individually.

I think it makes sense to wrap all swatches, to begin with. If there's a use case in the future to allow individual gestures on each swatch, then you could look into that.
Lmk if I can help!

Thank you for the code; it helped a lot. I played around with it to make it work, and here's what I've learned:

Gestures should be inside the Panel view to be activated.
If the panel or its parent has an opacity of 0 or a height of 0, basically when not visible, the gesture won't activate, at least on Android.
Changing some Panel styles that can directly affect the layout will trigger onLayout inside the Panel.

I couldn't make it work; maybe I will play with it later.

Thank you! I will investigate and lyk if i can fix.


viewer-for helper

Sometimes it is hard to know what viewer will be applied to a value.
You can get this info from nextjournal.clerk.viewer/describe but it also runs the transform-fn and recursively applies viewer functions into nested values.
I think it might be useful for development to have a construct that looks up the top level viewer for a value without considering nested values or performing transformations. In this PR I implemented it as viewer-for
Note that it seems to deviate a little bit as compared to the viewer that describe returns:
((comp :nextjournal/viewer describe) [1])
;; =>
{:render-fn {:form v/coll-viewer, :f nil},
 :opening-paren "[",
 :closing-paren ("]"),
 :fetch-opts {:n 20}}

while
(viewer-for [1])
;; =>
{:pred #function[clojure.core/vector?--5479],
 :render-fn v/coll-viewer,
 :opening-paren "[",
 :closing-paren "]",
 :fetch-opts {:n 20}}

@philomates I've implemented this stealing your good names and ideas in #137, thank you for it!


[pre-commit][kuttl]Check for multiple TestAsserts

Add a new pre-commit check to avoid using more than one TestAssert in a
single kuttl assert file as that can lead to false positives as only the
last TestAssert is run by kuttl.
Fortunately there was no such issue in this repo.

/test ovn-operator-build-deploy-kuttl
kuttl actually passed, so this probably some intermittent env issue
=== CONT  kuttl
    harness.go:405: run tests finished
    harness.go:513: cleaning up
    harness.go:570: removing temp folder: ""
--- PASS: kuttl (340.43s)
    --- PASS: kuttl/harness (0.00s)
        --- PASS: kuttl/harness/ovn_config (88.26s)
        --- PASS: kuttl/harness/ovn_scale (63.60s)
        --- PASS: kuttl/harness/ovn_tls (60.76s)
        --- PASS: kuttl/harness/ovn_nicmappings (127.26s)


[Question][Custom Widget] Using custom initial width

💭 Question
I can see from the documents in programming model that for the default_size we only have 3 options sm, md, and lg.
I want to ask if we have an option for adding an initial width using a custom number of rows & columns to have the widget in size without the extra step of resizing from the user.

@rachelnicole It would be great if you could support here 🙏🏻

@ericrallen, @rachelnicole It would be great if you could support here 🙏🏻

@enbashi, @ericrallen, @rachelnicole It would be great if you could help here 🙏🏻

Hey @AbdallahHemdan 👋🏾.
At this point, we are not adding the ability to specify custom rows and columns. As you mentioned, the three options are the predefined "sm", "md", and "lg". However, specifying custom rows and columns is something that may be possible down the line on our roadmap.


Add codespell to test contributed here materials against typos, and fix some typos

Description
Fix and prevent future common typos using https://github.com/codespell-project/codespell
Let me know if you want to add support for codespell into the template

[ ] Bug fix
[ ] Addition of a new feature
[x] Other

Why is this PR needed?
Typos are there and more might sneak in
What does this PR do?
adds pre-commit and github workflow (let me know if I should remove) and fixes some typos
Checklist:

[ ] The code has been tested locally
[ ] Tests have been added to cover all new functionality
[ ] The documentation has been updated to reflect any changes
[ ] The code has been formatted with pre-commit

@neuroinformatics-unit/neuroinformatics-all this looks nice, shall we add it to the cookiecutter template itself (and by extension, other repos)?

I'm in favour of it. We are already using it on some of our other repos anyway.

Just FYI: ARC colleagues recommend their usage but agreed not to add it to their cookiecutter template, due to false positives and it sometimes breaking their code. I have no experience using it as a pre-commit though.

FWIW it is always a good practice to review pre-commit's changes. But indeed in case of a "heavy" pre-commit changes (black etc) it might be tricky... but in this case it doesn't even apply

since codespell pre-commit hook by default is just a checker, not a writer (need to pass `-w` option to make that happen)
❯ echo Installating >> README.md
changes on filesystem:
 README.md | 1 +
❯ git commit -m 'Adding a typo' -a
check docstring is first.............................(no files to check)Skipped
check that executables have shebangs.................(no files to check)Skipped
check for merge conflicts................................................Passed
fix end of files.........................................................Passed
mixed line ending........................................................Passed
fix requirements.txt.................................(no files to check)Skipped
trim trailing whitespace.................................................Passed
ruff.................................................(no files to check)Skipped
black................................................(no files to check)Skipped
codespell................................................................Failed
- hook id: codespell
- exit code: 65

README.md:308: Installating ==> Installing

❯ git commit -m 'Adding a typo' -a
check docstring is first.............................(no files to check)Skipped
check that executables have shebangs.................(no files to check)Skipped
check for merge conflicts................................................Passed
fix end of files.........................................................Passed
mixed line ending........................................................Passed
fix requirements.txt.................................(no files to check)Skipped
trim trailing whitespace.................................................Passed
ruff.................................................(no files to check)Skipped
black................................................(no files to check)Skipped
codespell................................................................Failed
- hook id: codespell
- exit code: 65

README.md:308: Installating ==> Installing

so the worst effect from false-positive - inability to commit until white-listing that particular hit one way or another.

Thanks @yarikoptic. I'll raise a seperate PR to make it part of the template itself.


1.0.0 (std) pub API

Draft so we can bikeshed https://github.com/naomijub/edn-rs/issues/119

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (fe6b043) 71.38% compared to head (2fdd97e) 72.07%.
Report is 1 commits behind head on master.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #120      +/-   ##
==========================================
+ Coverage   71.38%   72.07%   +0.69%
==========================================
  Files           8        8
  Lines         940      931       -9
==========================================
  Hits          671      671
+ Misses        269      260       -9

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@naomijub Can we have branches allow --force? Just tried rebasing to keep things clean/linear
remote: error: GH013: Repository rule violations found for refs/heads/pub-api.
remote: Review all repository rules at http://github.com/naomijub/edn-rs/rules?ref=refs%2Fheads%2Fpub-api
remote:
remote: - Cannot force-push to this branch
remote:
remote: - Changes must be made through a pull request.
remote:
To github.com:naomijub/edn-rs.git
 ! [remote rejected] pub-api -> pub-api (push declined due to repository rule violations)
error: failed to push some refs to 'github.com:naomijub/edn-rs.git'

Will fix that once I get home

Sorry I took this long, did not see the notification

Do we not plan to support anything like ::namespace{:key "value}?

I'm going through tests now, to try and decouple integration tests vs unit tests. Especially for feature organization and ability to change internal structure without everything blowing up.
Here's a couple discrepancies I've found so far, with tags and NamespaceMaps
(clojure.edn/read-string "#domain/model (1 2 3)")
java.lang.RuntimeException: No reader function for tag domain/model [at <repl>:1:1]

(clojure.edn/read-string "{:key \"value\"}")
{:key "value"}

(clojure.edn/read-string "::namespace{:key \"value\"}")
java.lang.RuntimeException: Invalid token: ::namespace [at <repl>:5:1]

(clojure.edn/read-string "::namespace {:key \"value\"}")
java.lang.RuntimeException: Invalid token: ::namespace [at <repl>:6:1]

I'm not nearly as familiar with clojure as rust or other low level stuff, so maybe I'm missing something.

I'm going through tests now, to try and decouple integration tests vs unit tests. Especially for feature organization and ability to change internal structure without everything blowing up.
Here's a couple discrepancies I've found so far, with tags and NamespaceMaps
(clojure.edn/read-string "#domain/model (1 2 3)")
java.lang.RuntimeException: No reader function for tag domain/model [at <repl>:1:1]

(clojure.edn/read-string "{:key \"value\"}")
{:key "value"}

(clojure.edn/read-string "::namespace{:key \"value\"}")
java.lang.RuntimeException: Invalid token: ::namespace [at <repl>:5:1]

(clojure.edn/read-string "::namespace {:key \"value\"}")
java.lang.RuntimeException: Invalid token: ::namespace [at <repl>:6:1]

I'm not nearly as familiar with clojure as rust or other low level stuff, so maybe I'm missing something.

I'm convinced, good to remove.
Also, ok on the tagged portion.

Push force is allowed, should be allowed in branches, not sure what has happened

remote: Resolving deltas: 100% (33/33), completed with 17 local objects.
remote: error: GH013: Repository rule violations found for refs/heads/pub-api.
remote: Review all repository rules at http://github.com/naomijub/edn-rs/rules?ref=refs%2Fheads%2Fpub-api
remote:
remote: - Changes must be made through a pull request.
remote:
To github.com:naomijub/edn-rs.git
 ! [remote rejected] pub-api -> pub-api (push declined due to repository rule violations)
error: failed to push some refs to 'github.com:naomijub/edn-rs.git'

Error is a bit different now. I think we need to allow changes not through a pull request

All rulesets are disabled, we need to standardize which ruleset we want

Also, ok on the tagged portion.

On second thought, I think we keep the tagged type so no data is lost, but remove Uuid and and Inst. Users can match against the tagged type and do what they need to do. Right now it's not correct and I don't think we want to add the dependencies to make it correct.
(clojure.edn/read-string "#uuid \"af6d8699---f442-4dfd-8b26-37d80543186b\"")
java.lang.IllegalArgumentException: UUID string too large [at <repl>:1:1]

(clojure.edn/read-string "#inst \"2020lolfoobar-07-16T21:53:14.628-00:00\"")
java.lang.RuntimeException: Unrecognized date/time syntax: 2020lolfoobar-07-16T21:53:14.628-00:00 [at <repl>:4:1]

We just parse the string, without failure. We can add it back in when/if something like uuid and chrono get into rust std or as an optional feature if there's demand.

Renamed this draft to be for the EdnError rework. I'll start breaking things apart so it's easier to review/track. I'll rebase cleanly before this leaves being draft.

Closing due to discussion and commits being all over the place. Creating a new separate branch/PR to match the issue #119.

Sorry I was away for a bit, I can definitely help with the review @naomijub

Sorry I was away for a bit, I can definitely help with the review @naomijub

#121 and #122 are the cleaned up versions. #123 hopefully concluding all the breaking api changes


feat: support arm architecture

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind bug
/kind documentation
/kind enhancement
/kind good-first-issue
/kind feature
/kind question
/kind design
/sig ai
/sig iot
/sig network
/sig storage

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Does this PR introduce a user-facing change?

other Note

@fengshunli Thank you posting pull request. In fact, arm and arm64 arch are supported in OpenYurt. and you check the release action at: https://github.com/openyurtio/openyurt/blob/master/.github/workflows/release.yaml#L41 and https://github.com/openyurtio/openyurt/blob/master/.github/workflows/release.yaml#L68

Execute make locally to compile the image


[TOOL-2804] Insight Playground: Render Select for Parameters with enum schema + Show Examples

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
This PR introduces enhancements to the ToolTipLabel and SelectTrigger components, adds new props for better customization, and refines the ParameterSection to improve user experience with error handling and example display.
Detailed summary

Added contentClassName prop to ToolTipLabel for custom styling.
Updated SelectTrigger to accept chevronClassName for icon customization.
Enhanced RequestConfigSection with error display logic.
Introduced ParameterInput component for better handling of parameter inputs.
Improved tooltip display with examples in ParameterSection.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

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

#5805  👈 (View in Graphite)
#5804
main

How to use the Graphite Merge Queue
Add either label to this PR to merge it via the merge queue:

merge-queue - adds this PR to the back of the merge queue
hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

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


Change Docker layers to benefit more from caching layers

This reduces the amount of layers that have to be downloaded when new releases are done.
As well it reduces the amount of layers that have to be rebuild or pushed.

Thank you @marcofranssen for these improvements. Even though we gained only a couple of Mbs. Once we move completely to production, it should be optimized to the max.


Fix a typo and remove some whitespace

superb work !!!
Thanks for the PRs i will start to look through thsese.
TP


Video Not playing and black screen

Same

just whitelist youtube and reinstall RAT

how do i do that

The easiest way is uninstall the AdBlock extension and use RAT itself

same. i can play exactly play one youtube video without a problem. from the next video on it won't play anymore, the no adblock quickly flashes and then black, as screenshotted above. have to quit and reopen safari to restart this.

Same. My screen is blank where there should be a video.

I have uBlock by Orgin, and I had to add 'youtube.com' to the Trusted Site list to get this script to work correctly.
I had to do this even though I have it disabled.
Hope this helps someone!! :)

Same problem here, none of the solutions above works for me

I have uBlock by Orgin, and I had to add 'youtube.com' to the Trusted Site list to get this script to work correctly. I had to do this even though I have it disabled. Hope this helps someone!! :)

Did the same, this doesn't work for me unfortunately. On opera one

The easiest way is uninstall the AdBlock extension and use RAT itself

what is RAT?
i dont do coding at all so i dont know anything about this stuff. i'm getting the black screen problem and i dont know how to fix it. can somebody help me?

The easiest way is uninstall the AdBlock extension and use RAT itself

what is RAT? i dont do coding at all so i dont know anything about this stuff. i'm getting the black screen problem and i dont know how to fix it. can somebody help me?

apparently it just fixed itself???

The easiest way is uninstall the AdBlock extension and use RAT itself
Can you please enlighten me as to what "RAT" stands for, all I know is that google/youtube is making it extremely difficult to enjoy watching videos on their site.

Add youtube.com to the integrated browser adblocker whitelist

This was my issue, I also completely forgot my browser has adblocking functionality. Great catch!

what is RAT?

It's the acronym of the name of this script, RemoveAdblockThing. If you get a black screen, most likely you still have an ad blocker running somewhere. Check if your browser has a built-in ad blocker.

Add youtube.com to the integrated browser adblocker whitelist

This was my issue, I also completely forgot my browser has adblocking functionality. Great catch!

what is RAT?

It's the acronym of the name of this script, RemoveAdblockThing. If you get a black screen, most likely you still have an ad blocker running somewhere. Check if your browser has a built-in ad blocker.
Timmiej93,
Thanks so much for your timely detailed clarification to my question.

Common Issues
"Ad Blockers violate Youtube Terms Of Service" OR Just a black screen
This happens when there is an adblock other than the script running. Common ways you may be blocking ads accidentally on Youtube is:

Adblock extension: Disable or whitelist YouTube on your ad blocker extension.

Browser built-in adblock: Some browsers have built-in ad blockers. Disable or configure them.

Other Tampermonkey scripts: Scripts like YouTube enhancer may conflict. Disable them one by one to identify the issue.

Wi-Fi/DNS/Firewall adblock rules: Check network settings for any ad-blocking configurations.

Windows hosts file rules: Inspect the Windows hosts file (C:\Windows\System32\drivers\etc) for ad-blocking rules.