Mac image starts with open system dialogs

Describe the bug
When image freshly booted it has open dialog saying there is already computer with the same name on the network. This blocks screenshots for our UI tests. Please dismiss the system alerts or disable them as part of boot.
Area for Triage:
Apple
Question, Bug, or Feature?:
Bug
Virtual environments affected

[X] macOS 10.15
[ ] Ubuntu 16.04 LTS
[ ] Ubuntu 18.04 LTS
[ ] Windows Server 2016 R2
[ ] Windows Server 2019

Expected behavior
Not on screen alerts
Actual behavior
System alert is shown on screen.

Start action on Mac
Capture screenshot

Hi @paulz! This is a known issue, which happens from time to time. We'll try to disable that pop-up.

Thank you for looking into this. Would it be possible to an automated test for macOS image so when it ever starts with open dialogs it will alert support? It takes us a lot of time to debug this issue. We spend thousands of GitHub action minutes to reproduce it because GUI access is limited.

@paulz we can make a test for this if you provide us with reproduction steps that fail due to that window.

Thank you @miketimofeev
We can reproduce by running tests on this project:
https://github.com/sparta-science/connect/runs/739869569?check_suite_focus=true

This is blocking our UI tests

@paulz Unfortunately, we can't afford to test that issue with such a big project because it's hard to maintain. It'd be great if you can provide some very basic project, which fails if the pop-up is presented.

can you try one line command?:
osascript -e 'tell application "System Events" to get the title of every window of every process'

@paulz that test is already implemented in the scope of that issue https://github.com/actions/virtual-environments/issues/553 😀 Is it enough to check this issue as well?

@paulz tried, but it didn't show much:
Mac-1307:~ runner$ osascript -e 'tell application "System Events" to get the title of every window of every process'
,,,,,,,,,,,,,,,,,,,,,,, ,,,

I am guessing it's an empty title of the window. May be test can check the list of commas have no other characters to verify no open windows?

@paulz I've made a test that simply checks if there is any whitespace among these commas or not, that should be enough

Genius!

@paulz it turned out that setting for preventing such windows breaks network-related functional
https://github.com/actions/virtual-environments/issues/1042#issuecomment-644145685
Is it possible to use Apple script, which should work after this week's deployment, to close the pop-up as a very first step of your pipeline until we find another workaround for the issue?

thank you for trying @miketimofeev we can totally use the AppleScript. Another proposed solution is to fix the computer name uniqueness issue: https://github.com/actions/virtual-environments/issues/1042#issuecomment-645139352 if possible.

Even we run the AppleScript to close Finder windows, we still experience this system alert that computer name is already in use on the network. Probably because it's hard to predict when this alert will trigger.

 We've implemented the same fix(changing hostname at the start of the VM) and testing it now on internal environments. I'll keep you posted

@paulz VM image with the fix should be available, no more open system dialogs! I'm going to close the issue but feel free to contact us if you have any concerns.
Thank you!


use disk in node selection query for app chatflows

currently app chatflows ignore disk and all resources when selecting nodes. but disk space can't be over-provisioned

waiting to handle the issue for certificates to be able to work on it so we don't exceed the limit for the HPE presentation


add an example of indexing related model fields

see #932

Thanks!

Thanks, @edrex. Have we sent you a t-shirt yet?


Support unicode input

At the moment Maestro does not allow to input unicode characters, so commands like this one won't work:
- inputText: Wünderbar

On iOS, the issue is in the fact that idb inputs text by sending key events to the device, instead of passing the text as a whole.

On Android, the issue is in the fact that adb shell input text {text} does not work with unicode.
We have tried to solve the problem in following ways:

Use UiAutomator directly. This allows for input of unicode, but adds a weird limitation - it is not possible to append text input to a field due to the fact that if a field has a hint, it will be counted as a text.
Use ADBKeyboard. While it looks promising, it also requires user to enable the keyboard in Android settings. We would like to keep Maestro configuration as simple as possible, so this is a no-go.

Hi 👋
Any update on the subject ? The iOS issue makes it impossible to run tests when using any non-QWERTY keyboard layout.
Thank you for your time

Hi 😀
When try run a flow  with maestro, this show message
Failed to install apk /tmp/maestro-app...........apk: Connection reset by peer (Write failed)
at maestro.drivers.AndroidDriver.install(AndroidDriver.kt:417)

Related iOS issue: The input don't handle different keyboard layout. I do use QWERTY, but with Norwegian layout. See image, _ and ? are swapped
Text editor vs actual simulator input:

Hi @dmitry-zaitsev,
Do you have any update on this issue? Or any workaround other that switching the mac keyboard to QWERTY?
Thanks 🙏
Martin

Unicode is now supported on iOS. Android is still work in progress

Unicode is now supported on iOS. Android is still work in progress

I have yet to get Maestro to type out a full email address. Are you sure it's fixed?

Hi，
When will Unicode be supported on Android? Is it already in the plans?
Thanks.

I'm interested to know the status of this too. Is there a way to interact with the keyboard itself as a workaround?

I had to just go back to using https://wix.github.io/Detox/ :(
It skips letters when you type, which throws off the whole test.

i am interested to know the status of this also - unicode suppprt for android. struggling for this.

Team , is there any update for the "Unicode character" for Android. This will help alot.

Use UiAutomator directly. This allows for input of unicode, but adds a weird limitation - it is not possible to append text input to a field due to the fact that if a field has a hint, it will be counted as a text.

Probably, this limitation is not as bad as complete absence of Unicode
Do you have any plans on supporting android unicode? Is it possible to move forward with UiAutomator option?

Any updates for Android?
@dmitry-zaitsev

For future reference, here is the ADB issue :
https://issuetracker.google.com/issues/207386157


KQueue crash due to close/cleanup sequencing

Motivation:
The kqueue documentation states that 'Calling close() on a file descriptor will remove any kevents that reference the descriptor.' [1], but doesn't mention if this cleanup will be done synchronously. Under some circumstances it has been observed that cleanup was not done immediately and when KQueueEventLoop attempted to access the channel associated with the event the JVM would crash, a ClassCastException, or generally undefined behavior would occur because of invalid pointer references.
[1] https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2
Modifications:

AbstractKqueueChannel#doClose should not rely upon this assumption and instead should call doDeregister() to ensure cleanup is done synchronously.
Deleting a kevent should also set the jniSelfPtr stored in the udata of that kevent to NULL, to ensure we will not dereference it later.

Result:
No more kqueue crash due to close/cleanup sequencing.

4.1 (1df8f2ccd)


updated to 4.5

Please fix your commit message - it needs to be more descriptive. https://github.com/caskroom/homebrew-cask/blob/master/CONTRIBUTING.md#commit-messages

@vitorgalvao prfixmaster fails here, likely because of unrelated commits?
@dd217 This PR has merge conflicts - I will fix manually with another PR. Thank you for the contribution, regardless.

Fixed in https://github.com/caskroom/homebrew-cask/pull/16784
Try out cask-repair for easier Cask updates - details can be found in CONTRIBUTING

@vitorgalvao prfixmaster fails here, likely because of unrelated commits?

It was due to the merge conflicts, most likely, since it doesn’t force push.


Add support for configuring service upgrade strategy

The problem faced currently?
Currently we use the default rolling upgrade strategy for upgrading services. It would be great if we could make it configurable.
How can we solve it?
Add a field in the service object to accept service upgrade strategy

If you want this feature to be implemented, give it a thumbs up reaction, so that we can determine which features are important to you.
👍

Do you guys still plan to work on this issue ? I can take it

@lvndry that would be helpful. Any ideas on how you want to achieve this?


Fixing 404 links to validatedpatterns.io

These are links that point to the old hybrid-cloud-patterns.io. Now they point to the new site. This should also fix our failing htmltest jobs.

/lgtm

/approved


Fixing tests

Let's wait for the CI

I can't otherwise it's not compiling

I can't otherwise it's not compiling

Let's look at this together.

libmoveit_robot_model.a(robot_model.cpp.o): In function `moveit::core::RobotModel::constructShape(urdf::Geometry const*)':
robot_model.cpp:(.text+0x9116): undefined reference to `shapes::Sphere::Sphere(double)'
robot_model.cpp:(.text+0x918d): undefined reference to `shapes::Box::Box(double, double, double)'
robot_model.cpp:(.text+0x91d8): undefined reference to `shapes::Cylinder::Cylinder(double, double)'
robot_model.cpp:(.text+0x925d): undefined reference to `shapes::createMeshFromResource(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Eigen::Matrix<double, 3, 1, 0, 3, 1> const&)'
libmoveit_robot_model.a(link_model.cpp.o): In function `moveit::core::LinkModel::setGeometry(std::vector<std::shared_ptr<shapes::Shape const>, std::allocator<std::shared_ptr<shapes::Shape const> > > const&, std::vector<Eigen::Transform<double, 3, 1, 0>, Eigen::aligned_allocator<Eigen::Transform<double, 3, 1, 0> > > const&)':
link_model.cpp:(.text+0x720): undefined reference to `shapes::computeShapeExtents(shapes::Shape const*)'
link_model.cpp:(.text+0x77e): undefined reference to `typeinfo for shapes::Mesh'
link_model.cpp:(.text+0x785): undefined reference to `typeinfo for shapes::Shape'
collect2: error: ld returned 1 exit status
make[2]: *** [robot_model/test_moveit_robot_model] Error 1

OS X:
CMake Error in robot_model/CMakeLists.txt:
  Imported target "resource_retriever::resource_retriever" includes
  non-existent path
    "/Users/osrf/jenkins-agent/workspace/packaging_osx/ws/install/include"
  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
  * The path was deleted, renamed, or moved to another location.
  * An install or uninstall procedure did not complete successfully.
  * The installation package was faulty and references files it does not
  provide.

@ahcorde, this is till failing. What's the status?

CI is configure with Crystal patch4, but we are using dashing (beta). We need to fix CI

@ahcorde, shall we close this one?

sure


path/filepath: Glob fails and hangs on Windows when using character ranges

What version of Go are you using (go version)?

$ go version
go version go1.16.4 windows/amd64

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
set GO111MODULE=on
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\...\AppData\Local\go-build
set GOENV=C:\Users\...\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=c:\...\Go-Modules\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=c:\Ignazio\Personale\Go-Modules
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=c:\...\Go\go1.16.4
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=c:\...\Go\go1.16.4\pkg\tool\windows_amd64
set GOVERSION=go1.16.4
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=C:\...\Go-Modules\src\...\go.mod
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\...\AppData\Local\Temp\go-build3528342390=/tmp/go-build -gno-record-gcc-switches

What did you do?
I am trying to get case insensitive results for filepath.Glob() on Windows. To do so, I'm transforming each letter in a character range for uppercase and lowercase. See https://github.com/golang/go/issues/5441.
What did you expect to see?
The same results as when using pattern exactly matching an existing file.
What did you see instead?
\\server\share\filename.ext and c:\dir\filename.ext are existing files.
filepath.Glob(`c:\dir\filename.ext`) correctly returns one result.
filepath.Glob(`[Cc]:\[Dd][Ii][Rr]\[fF][iI][lL][eE][nN][aA][mM][eE].[eE][xX][tT]`) returns no result, while it should return one result.
filepath.Glob(`C:\[Dd][Ii][Rr]\[fF][iI][lL][eE][nN][aA][mM][eE].[eE][xX][tT]`) correctly returns one result.
filepath.Glob(`\\server\share\filename.ext`) correctly returns one result.
filepath.Glob(`\\[sS][eE][rR][vV][eE][rR]\[sS][hH][aA][rR][eE]\[fF][iI][lL][eE][nN][aA][mM][eE].[eE][xX][tT]`) returns no result, while it should return one result.
filepath.Glob(`\\server\share\[fF][iI][lL][eE][nN][aA][mM][eE].[eE][xX][tT]`) correctly returns one result.
filepath.Glob(`\\server\[sS][hH][aA][rR][eE]\[fF][iI][lL][eE][nN][aA][mM][eE].[eE][xX][tT]`) hangs, and it should not.

CC @robpike @rsc via https://dev.golang.org/owners

The idea with Glob is that when a path component has a pattern, Glob lists the containing directory, and checks whether entries match the pattern. (It does not try to first expand the pattern to all possible candidate paths, and then check whether these potential matches have corresponding files. That would be very inefficient or even impossible for the wildcard "*".) If listing a directory causes an error, that directory is skipped, the error is ignored, and no results are returned for that directory. If listing a directory "hangs", then Glob will also hang.
For instance Glob(`\\serv?r\*.*`) will try to list "\\", which gives an error. Glob(`\\server\share[123]\*.*`) will try to list "\\server\", which can take a very long time to complete or error out (hang). @neclepsio , I hope this helps to explain why the cases you say have incorrect results behave the way they do. And also, it could hint at a workaround that may work for you: As you say you are working on case-insensitive windows, you don't have to do case insensitive matching on intermediate directories where you want only one hit, and doing so only slows things down. So, instead of Glob(`[Ff][Oo][Oo]\*.[Tt][Xx][Tt]`), try Glob(`foo\*.[Tt][Xx][Tt]`). Instead of Glob(`\\[Ss][Rr][Vv]\[Ss][Hh][Aa][Rr][Ee]\*.go`), try Glob(`\\srv\share\*.[Gg][Oo]`).
Now I'm not really sure what to think about Glob(`[CD]:\*.*`), i.e., trying to match on the drive letter. This doesn't work today. Case sensitivity isn't the issue, you could always use capital drive letters. It could be possible to list Windows logical drives (I don't think Go has an interface for this currently) and match against a pattern. But right now Glob doesn't detect that the first path component can have a drive letter if it has meta characters (a pattern). I think this is such a niche special case that it may not be worth trying to do it.

Thank you. Now I understand why this happens, but it's a different behaviour from what's in documents, which state the syntax of patterns is the same as filepath.Match, and, for example, filepath.Match("[Cc]:\test.txt", "c:\test.txt") returns true. So one between code and docs should be fixed.
As for listing shares of the server in case of \\srv\[Ss][Hh][Aa][Rr][Ee], Explorer takes less than a second to show them all in my case, so I don't think it's the reason filepath.Glob hangs.


[Task]: Datasource Context management for datasource environments

Is there an existing issue for this?

[X] I have searched the existing issues

-- Currently dscontext exists for each ds, however with introduction of environments, separate dscontext would be required for different environments (with diff configurations).  There needs to be a change in current structure to enable the flow with the environments.
SubTasks

[x] Change in key structure for Storing dscontext in Maps
[x] Minimise connection per ds where it's possible
[x] Creating datasourceContext for the datasource if none exists for the environment.
[ ] modification of staleness check logic for dscontext.
[x] Modify action execution flow to reduce code duplication
[ ] Delete all the datasource context once the datasource is deleted.
[ ] Delete all the dangling variables once we delete datasource itself.
[ ] Check for any active queries running, and then evict cache entries from contextMap in case of environment or datasource update

this requires some additional refactors. It is expected to go be approved by feb 22nd.


Automatically expand ends

When writing code I often encounter the situation where I leave a block empty temporarily to come back to it later. This ends up looking something like this.
local function test() end

Later, when I return to add this I place my cursor and add a new line, which results in something like this.
local function test()
 end

However it would be much more convenient (and expected) for this to autoexpand to something like this.
local function test()

end

This would give it similar behavior to table expansion, like the following.
local t = {}

When using the same workflow currently becomes this.
local t = {

}

I think this is something that needs to be set in the language-configuration.json or syntax file, although I'm not yet sure how to do this.
I notice that it also looks like sumneko's Lua also doesn't do this, so maybe it's unknown if it's even possible

I notice that it also looks like sumneko's Lua also doesn't do this, so maybe it's unknown if it's even possible

This extension does this for me. Perhaps its a setting I have set with it?

https://user-images.githubusercontent.com/19635171/200691849-b4c0b9de-9bc9-43dc-9a9c-f74c69ebb73c.mp4
It did not work for me, would be interesting to know if yours is different

For me that extension operates exactly as described. I checked the settings I use and don't see any that would affect this behavior.
I've tested it while disabling all other extensions as well with the same behavior. And for completeness, Roblox LSP, based on the Lua LSP, also has this behavior.

Let me know if you still need help getting this behavior from other lsps. We can talk in real time if that helps.

I was still unable to reproduce this with the stock Lua grammar in VSCode or the sumneko extension. Can you screen capture the example behaviour you are looking for?

Here's a short clip of the behavior I get when using sumneko's extension. I looked and don't see any particular setting for it, so I believe it should be active all the time with that extension.
https://user-images.githubusercontent.com/2075484/211166240-e2325865-f65b-4bc2-b14b-84b4335b4387.mp4

I'm not using any Lua LSPs actively at the moment, so my ability to test/encounter these behaviors is going to be slow until I'm actively using them again.


Automated cherry pick of #13101: fix(host): add progress for migrate

Cherry pick of #13101 on release/3.8.
#13101: fix(host): add progress for migrate

/lgtm
/approve


Marian's headshot image

Related Issue
No response
Description
Considerations:

Creating a headshot picture for the website.
Use the image (https://github.com/flowforge/website/blob/marian-team-update/src/images/team/headshot-marian-ToBeEdited.jpg) to create a headshot image.
Format should be PNG like the others.
Specifications should match the others.

Branch: https://github.com/flowforge/website/tree/marian-team-update

Starter task for Yndira

Hi, here it is!!


Populate "<home_dir>/.platform.bible" with plausible defaults in dev

As a Platform.Bible developer, I would like my dev environment to be initially populated with sensible data so that I can test/use PAPI without having to create settings and data files on my own first.

Right now we aren't populating the .platform.bible directory with anything.  That means, for example, we don't have a way for users to try out ProjectDataProviders unless they figure out how to migrate an existing project and create a meta.json file with the right values on their own.

This issue comes from this conversation on Reviewable https://reviewable.io/reviews/paranext/paranext-core/427#-NedOX4p8AAqML4Sf3PJ


Add banner for stale data

Utilize one of the following metrics to determine the health of an event's connectivity, and if unhealthy display a banner (similar to the existing one for no internet)

Last-Modified header on FRC API requests (take latest from a given update cycle?)
End time of last match
Last successful update cycle (regardless of how old the data from FMS is)

This has been implemented, utilizing the most recent last-modified header found as part of a sync. If the last modified is more than 15 minutes ago, a banner is displayed


forward-zone returns REFUSED, unbound returns SERVFAIL

Hi there,
I have configured Unbound to send all queries to a forward-zone, and there is a particular query that the forward-zone  always returns a REFUSED rcode.  However, it appears that Unbound will always return a SERVFAIL back.
I would greatly prefer to be able to return REFUSED, as this makes it clearer to the client that there's a problem with their query, not with the server they are talking to.  Am I missing something?  If not, is it possible to either change this behaviour, or make it a config option to return the original rcode from the forward-zone?
I am happy to provide more details/config etc if that's useful.

Hi,
As per DNS, Unbound cannot return REFUSED in this case because Unbound does not refuse to process the query.
The upstream server refuses to process the query and Unbound rightfully returns SERVFAIL because there was an error while resolving the query.
There is current RFC work to extend the error code and section 4.23 describes the error code in this case.
We haven't implemented the RFC yet in Unbound, but we are planning to do so in the foreseeable future.

Linking https://github.com/NLnetLabs/unbound/pull/604 here as it will provide the Extended EDNS Error code for these kinds of answers.

Closing this as a non issue.


parameter type json

How can I pass a json object as a parameter? Does iodocs support this?
Thanks in advance.

+1
My api use dynamic post json data, I am using textarea type, but when I input the json data, the content was escaped to the request body, I just want raw textarea content as json data.

I have a Pull request #250  for this.


Why is yew_router_route_parser both a compile-time and runtime dependency

Hi! I've been looking into contributing to yew_router again and wanted to add span information for route parsing errors. However, it's not that easy since adding syn as a dependency to yew_router_route_parser would probably unnecessarily bloat yew_router.
Is there any documentation / could you explain how the parsing library is used at compile time and runtime respectively?

If I recall correctly, the general pattern used is that the macro captures the route strings from attributes and passes them to the yew_router_route_parser's parser, which then generates tokens.
These tokens are then consumed at runtime to build the datastructures that actually handle matching routes.
The yew_router_route_parser lib is used by both the router for its tokens and the macro for its parsing ability (as well as the tokens).
Conceptually, it is possible to just have the parser exist for use in the macro, and emit tokens the router crate has defined, but up until now they use the same tokens.

Conceptually, it is possible to just have the parser exist for use in the macro, and emit tokens the router crate has defined, but up until now they use the same tokens.

Is this something you would like to move towards in the future?

Actually I misspoke. I'm entirely wrong about the section you quoted.
The parser is absolutely needed by the main yew_router crate, as it does the heavy lifting for actually parsing strings from URL paths.
You do absolutely have a point about the macro needing the parser crate as a dependency. That shouldn't be needed.
I did an incomplete look around the project and saw that the macro crate mostly (only??) uses FieldNamingScheme from the parser crate. As far as I can tell, that should probably just live in the macro crate, or if that isn't possible, just be duplicated since its just a plain untagged enum.

Cool. Is the "dissolving" of the parser crate something you'd like to do yourself? If not, I could look into it, but I'm currently relatively busy with other projects, so can't say when I would get to it.


Optionally perform sandbox execution via the WebSocket

/cc @adwinwhite

Sorry for the delay.
I read all commits line by line. Seems all good to me. (And learned a lot on async primitives, Mutex use, Redux and json schema)
Do you think there is a case when an unique request id is needed for each request/response? Although I can't think of any for now. There is no strong dependency between requests, and responses are almost guaranteed to arrive in order.

The new commit also looks good.


dotnet watch run doesn't allow forced restart if you pass parameters to your project.

Description
I have a blazor server web app. If I run
dotnet watch run
Then I get the expected behaviour of dotnet watch, I am able to force a re-load of the site by pressing a CTRL + R

If however, I pass a parameter through then CTRL + R is missing as an option
dotnet watch run --DatabaseSettings:UseInMemory=true then I do not get the above message

Watch still works if it detects a change in a file, but I cannot force ones via CTRL+R
Configuration
dotnet  7.0.302
Windows 11 22H2 (OS Build 22621.1992)
x64

Regression?

Other information

AFAIU, the args for your program should be separated with --, e.g.: dotnet watch run -- --DatabaseSettings:UseInMemory=true.
I've just tested this with a small local program and it worked for me.

@danroth27 should this issue be moved to a different repo?


Incorrect type annotation for the Cluster element?

I'm using Typescript (2.9) and trying to use the Cluster component but I am running into a transpilation error.  I created a codesandbox sample based off the HtmlCluster example to demonstrate the problem.
Type '{ children: Element[]; ClusterMarkerFactory: (coordinates: number[], pointCount: number, getLeave...' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Cluster> & Readonly<{ children?: ReactNode; }> & R...'.
  Type '{ children: Element[]; ClusterMarkerFactory: (coordinates: number[], pointCount: number, getLeave...' is not assignable to type 'Readonly<Props>'.
    Types of property 'children' are incompatible.
      Type 'Element[]' is not assignable to type 'Component<Props, {}>[] | undefined'.
        Type 'Element[]' is not assignable to type 'Component<Props, {}>[]'.
          Type 'Element' is not assignable to type 'Component<Props, {}>'.
            Property 'setState' is missing in type 'Element'.

I believe the offending line is in Cluster.tsx
export interface Props {
  ClusterMarkerFactory(
   ...
  children?: Array<React.Component<MarkerProps>>;
  ...
}

which should be
export interface Props {
  ClusterMarkerFactory(
   ...
  children?: Array<React.ReactElement<MarkerProps>>;
  ...
}

I can create a PR to resolve this :)

Yeah, looks like it should indeed be an Element, i.e an instance and not a Component. PR welcome!

great, I created a PR - https://github.com/alex3165/react-mapbox-gl/pull/628


UnicodeDecodeError:  -> crash

I get the following killer error while trying to extract articles from this german website:
Traceback (most recent call last):
  File "extract.py", line 6, in <module>
    tree = etv2.extract(url)
  File "/usr/local/lib/python2.7/dist-packages/eatiht/etv2.py", line 214, in ext                                        ract
    subtrees = get_textnode_subtrees(html_tree)
  File "/usr/local/lib/python2.7/dist-packages/eatiht/etv2.py", line 198, in get                                        _textnode_subtrees
    for n in nodes_with_text]
  File "lxml.etree.pyx", line 1498, in lxml.etree._Element.xpath (src/lxml/lxml.                                        etree.c:52102)
  File "xpath.pxi", line 307, in lxml.etree.XPathElementEvaluator.__call__ (src/                                        lxml/lxml.etree.c:151941)
  File "xpath.pxi", line 230, in lxml.etree._XPathEvaluatorBase._handle_result (                                        src/lxml/lxml.etree.c:150939)
  File "extensions.pxi", line 621, in lxml.etree._unwrapXPathObject (src/lxml/lx                                        ml.etree.c:145771)
  File "extensions.pxi", line 655, in lxml.etree._createNodeSetResult (src/lxml/                                        lxml.etree.c:146126)
  File "extensions.pxi", line 676, in lxml.etree._unpackNodeSetEntry (src/lxml/l                                        xml.etree.c:146323)
  File "extensions.pxi", line 786, in lxml.etree._buildElementStringResult (src/                                        lxml/lxml.etree.c:147530)
  File "apihelpers.pxi", line 1371, in lxml.etree.funicode (src/lxml/lxml.etree.                                        c:26844)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xfc in position 24: invalid                                         start byte

Help would be appreciated
Christian

Just saw this issue out of the blue and thought I might put in some info.
Most likely the issue is coming from this line
https://github.com/rodricios/eatiht/blob/master/eatiht/v2.py#L117
The assumption is that the website is going to be encoded in utf-8, which is true most of the time, but not always.
Reference here for more details on the issue.

A UnicodeDecodeError may happen when encoding. The cause of it seems to be the coding-specific encode() functions that normally expect a parameter of type unicode.

It's kind of an inevitability when dealing with many websites and many different contexts, most of the time utf-8 is pretty safe, but otherwise figuring out the websites encoding scheme is difficult. Also the way that Python handled unicode using the unicode() constructor isn't very good practice as Python 3 has deprecated unicode and promoting the str type as unicode, which is IMO the right thing to do.
For more information on this issue as well as encoding practices in general, here are some good references.

http://lucumr.pocoo.org/2014/5/12/everything-about-unicode/
http://agiliq.com/blog/2014/12/understanding-python-unicode-str-unicodeencodeerro/

Hi @jjangsangy! Thanks for taking the time to look into these issues. I'll try to find time to read the material you've referenced. About the Python2/3 unicode/str collision, it's a problem that I hope can be nipped in the bud soon enough. Pull requests wanted :)

Already fixed it!

Yay! Thanks I really appreciate it!


build podcast database querying tool

https://lifehacker.com/the-best-podcast-search-engine-1818560337
https://www.listennotes.com/api/


feat(rhino): add revit family specification to Rhino BIM

Align rhino BIM features more closely with GH by creating Revit built elements commands.
Explore implementation via block definitions, where family parameters are stored in definitions & linked to rhino geometry in their user attribute text property

Closed with #2024


Unable to get cardinalmobilesdk because of 403 error

PayPal Android SDK Version
1.4.1
Environment
Both
Android Version & Device
No response
PayPal dependencies
implementation("com.paypal.android:paypal-native-payments:1.4.1")

Describe the bug
From this morning, CI started failing because the cardinalmobilesdk lib could not be found.
> Could not resolve all files for configuration ':app:productionReleaseRuntimeClasspath'.
   > Could not resolve org.jfrog.cardinalcommerce.gradle:cardinalmobilesdk:2.2.7-5.
     Required by:
         project :app > com.paypal.android:paypal-native-payments:1.4.1 > com.paypal.checkout:android-sdk:1.3.2
      > Could not resolve org.jfrog.cardinalcommerce.gradle:cardinalmobilesdk:2.2.7-5.
         > Could not get resource 'https://cardinalcommerceprod.jfrog.io/artifactory/android/org/jfrog/cardinalcommerce/gradle/cardinalmobilesdk/2.2.7-5/cardinalmobilesdk-2.2.7-5.pom'.
            > Could not GET 'https://cardinalcommerceprod.jfrog.io/artifactory/android/org/jfrog/cardinalcommerce/gradle/cardinalmobilesdk/2.2.7-5/cardinalmobilesdk-2.2.7-5.pom'. Received status code 403 from server:

I've tried login in manually to https://cardinalcommerceprod.jfrog.io/artifactory/android with the shared credentials but no luck (error: This request is blocked due to recurrent login failures, please try again in 17 seconds.)
Is this issue maybe correlated to the sunsetting of JCenter? 🤔
To reproduce
Add the dependency without gradle cache
Expected behavior
The dependency can be downloaded
Screenshots
No response

Hey @prof18 we were told the shared credentials would be valid through the end of the year, though I wouldn't be surprised if they stop working before then. Would you mind giving these credentials a try from our Braintree repo?

Sorry for the delay. Yeah, the credentials that you shared are working!
Lately, also the "original" ones are working again. 🤔 Maybe it was a temporary issue?

@prof18 most likely yes. We have gotten word that their JFrog instance is changing its authentication policy, but we've followed their guidance and re-generated the shared credentials.
Since this is working now I'll close, but feel free to re-open if you see any new auth issues. We do have the ability to re-issue those credentials when needed.


Wrong scrollBarGap if a transition runs while activating scroll lock

If a transition started immediately after enableScrollLock is triggered, the size of the scrollBarGap could be wrong depending of the browser performance.

The issue is due to the asynchronous reading of the window size in the setOverflowHidden method. This is async because of an earlier performance fix for Desktop Safari. It is only necessary to set the overflow async, but it can be readed synchronous.
Fixed by #189


App creation modal doesn't open on connection errors, silently

If I have a connection error on the info-endpoint, the app creation modal doesn't open silently without an warning.
At least an error alert should be faced, that the endpoint isn't reachable.

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-2150. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


Updated Documentation

@saksham-git, once you've signed the CLA we'll be very happy to review this proposed change! Welcome.

/close


go-horizon to horizon

Changed go-horizon to horizon and renamed project dir.
Should fix tests in #91 (after rebasing).

These changes should not have any bearing on whether the tests run successfully or not.  Let's actually dig in to why the tests aren't running.

@bartekn FYI: I've rebase this PR onto the top of master

:+1:

:+1:


Implement session page

Design: https://github.com/GoogleChrome/devsummit/issues/217

I’ll branch this off of your branch containing talk meta data branch


Add Path checking to AssetReader and/or AssetServer

What problem does this solve or what need does it fill?
As described in Issue #14427, it would be nice to be able to determine if an AssetPath actually exists, without loading the Asset and seeing if it fails.
What solution would you like?
The functionality should probably be added as a method on AssetServer. The AssetServer would query the corresponding Asset Source, which would ask it's AssetReader to determine if the AssetPath points to an existing file.
One way to accomplish this is to add a method onto the AssetReader trait which returns whether a Path can be read. The downside is that this would be a breaking change, and would require care to correctly implement the method on the current AssetReaders.
What alternative(s) have you considered?
One alternative that doesn't require altering AssetReader, is to use the AssetRead::read method. Since this method would return an Error if the Path does not exist, we could use it to determine the existence of a Path. This would work perfectly for a FileAssetReader, which simply calls File::open. However some implementations, such as AndroidAssetReader and HttpWasmAssetReader load the entire asset into memory in the read method which is not ideal.
Another hacky alternative is to use the AssetReader::is_directory method, which commonly returns an Error when the Path does not exist. This would work for both FileAssetReader and AndroidAssetReader, but would not work (and log an error message) for HttpWasmAssetReader. The behavior of returning an Error when the Path doesn't exist is also not explicit, and entirely coincidental.

this would also need to return a future, so exposing it to the user would mean either returning an "handle" (not an asset handle) that can be polled, not having a return type but communicating with events, or taking a callback

See also #12210 - I'd like to be able to write an asset loader that supports "optional" assets, meaning that the asset may or may not be present on the filesystem, and if it's not, the loader can return a blank or empty assets, without generating an error message on the console. One example use case for this is modding; another is large worlds which load assets geographically - not every region of the map will have defined terrain.


Should Regex constructor parameter be mandatory?

I can obtain a Regex validator from the ValidatorPluginManager like so:
$validatorManager = $container->get('ValidatorManager');
$validator = $validatorManager->get('regex', ['pattern' => '/abcd/i']);

However, if I attempt to obtain a Regex validator without the options (to configure it later) I received a PHP Fatal error:
$validatorManager = $container->get('ValidatorManager');
$validator = $validatorManager->get('regex');
$validator->setPattern('/abcd/i');

PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function Zend\Validator\Regex::__construct(), 0 passed in <REDACTED>/vendor/zendframework/zend-servicemanager/src/Factory/InvokableFactory.php on line 30 and exactly 1 expected in <REDACTED>/vendor/zendframework/zend-validator/src/Regex.php:51
Stack trace:
#0 <REDACTED>/vendor/zendframework/zend-servicemanager/src/Factory/InvokableFactory.php(30): Zend\Validator\Regex->__construct()
#1 <REDACTED>/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(758): Zend\ServiceManager\Factory\InvokableFactory->__invoke(Object(Zend\ServiceManager\ServiceManager), 'Zend\\Validator\\...', NULL)
#2 <REDACTED>/vendor/zendframework/zend-servicemanager/src/Servic in <REDACTED>/vendor/zendframework/zend-validator/src/Regex.php on line 51

Both the approaches of passing options to the ValidatorPluginManager and configuring the validator after invocation work fine for all validators except Regex. From what I can tell, the Regex validator is the only one in the zendframework/zend-validator package where the constructor parameter is mandatory:
/**
 * Sets validator options
 *
 * @param  string|Traversable $pattern
 * @throws Exception\InvalidArgumentException On missing 'pattern' parameter
 */
public function __construct($pattern)
{
    // ...
}

For all the other validators the contructor parameters are optional, which is exactly how the AbstractValidator describes it:
/**
 * Abstract constructor for all validators
 * A validator should accept following parameters:
 *  - nothing f.e. Validator()
 *  - one or multiple scalar values f.e. Validator($first, $second, $third)
 *  - an array f.e. Validator(array($first => 'first', $second => 'second', $third => 'third'))
 *  - an instance of Traversable f.e. Validator($config_instance)
 *
 * @param array|Traversable $options
 */
public function __construct($options = null)
{
    // ...
}

Everything works fine using the first approach above, and it may be a deliberate design decision for the Regex contructor parameter to be mandatory, but it appeared out of place to me so I thought it worth mentioning in case this was an oversight.

Originally posted by @mrobinsonuk at https://github.com/zendframework/zend-validator/issues/200

Regex constructor param is mandatory as of #280


add torrent

Add futures Google colab to torrent download

Add futures Google colab to torrent download

Will be added soon. Thank you for supporting, And welcome 🤗

I will add tonight


Stronger user direction to email legislators after publishing testimony

@mvictor55 I think we need stronger guidance for the user that after they publish their testimony they need to take an additional action to email it to legislators for it to be considered by the committee.  Right now, we provide a mailto link that is shown alongside a 'tweet it' link, but it may not be obvious to the user that the first link (to email) is absolutely essential to their testimony being heard.  I think we should emphasize this more and provide more instruction on the post-publish modal dialog.

@nesanders do the new designs in figma address your concerns? https://app.zenhub.com/workspaces/design-and-development-629389aa02e9d200139c90b8/issues/codeforboston/advocacy-maps/504

@alexjball @jamesvas5307 excited to take a look!
I can't access the Figma / Zeppelin right now, however.  Is this still the correct account to use?

@alexjball @jamesvas5307 excited to take a look!
I can't access the Figma / Zeppelin right now, however.  Is this still the correct account to use?

A quick follow up - I agree with Nathan generally. We could frame the expectation that "testimony is to be published to archived and emailed" as a reflection of our goal to ensure the archive accurately reflects the testimony emailed
Perhaps this is an opportunity for an "?" icon

@nesanders @mvictor55
Interesting points, not under the impression, I was under/told that we are forcing users to email their testimony to their legislators. We can provide user education (like Matt suggested) but I think the ultimate ask here is what we want to set up our product provides as a service to our users and what they value by providing testimony. If this is supposed a tool just to notify legislators, then thats what you should go down. But are there use cases where users simply just want to provide testimony to feel heard by the community in Maple and possibly empower users to go to hearings as a group or other levels of community driven initiatives. What if I dont want to send my testimony to a legislator because Im looking for more validation from fellow peers prior to sending it? I dont think from a UX perspective we should take away the freedom of providing testimony, however, if we provide that level of expectation throughout the product, its something we should absolutely do. This is a key example of something I'd like to dive into on usability testing.

Hi @jamesvas5307 I'm glad you brought this up - these are foundational goals we should discuss and all be aligned on.
I think we've tried to be consistent that the primary purpose of our site is to facilitate (and publicly archive) testimony from the public to the legislature.  Here is the website tagline on the current (prod) version of our site: "The Massachusetts Platform for Legislative Engagement (MAPLE) platform makes it easier for anyone to submit and see testimony to the Massachusetts Legislature about the bills that will shape our future."
So, our primary goal is to help people get their testimony to the legislature.
For better or worse, I don't think we can "force" people to send the follow up email that actually goes to the legislators, but (from my perspective) it is imperative that the user have complete clarity that they DO NEED TO manually send an email to complete the submission process to the legislature.
I'd be glad to discuss more if you'd like.

@nesanders  Thanks for clarifying. I would say if thats the KPI, I'd be curious on how that legislative outreach will look like and possible issues that may arise. Legislation gets tons of emails (or Im under the impression that they do) is there a way to not spam them and provide that information. In addition, I think we would need to think about possibilities that emails like this from maple could be getting automatically sent to spam.
As for UI, lets schedule a call about this. I feel like you're saying it's a key element to email their testimony to a legislators but now mention that they can opt out of that option. If thats the case, we discussed in the past that the email testimony will be checked on as a default value. So if thats so, checks and that UI should work and we can focus on the level of messaging why some one should email this but I want to make sure we are in alignment here as this is the key feature/value prop you are establishing with the Maple Project.

I think this has been addressed by the new 3 step add/edit design


chore: standardize references to FrankerFaceZ & BetterTTV in settings

started because half the FFZ settings were ffz and the other half were frankerfacez so if you're used to searching ffz sometimes you don't get the setting you want, but if we update ffz we should update bttv also
now i know what you're thinking, doesn't this make it worse for everyone, and yeah it does lol got u, but standardization
anyway we're respecting branding now and it pushes pajlada towards implementing search tags to restore bttv and ffz search

implementing search tags to restore bttv and ffz search

or just fuzzy search 😌


Reduce lock hold times in _pthread_join_hook in tests libcxxthrd

Minor changes to _pthread_join_hook to hold locks for shorter time. This is to reduce occasional CI failure of the following timing sensitive test which occurs only with RelDebWithInfo/clang.
Test Path: 3rdparty/libcxx/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/try_lock.pass.cpp
Failure Details:
62/163 Test  #62: tests/libcxxthrdtest-std_thread_thread.mutex_thread.mutex.requirements_thread.mutex.requirements.mutex_thread.mutex.class_try_lock.pass ......................***Exception: Child aborted  0.44 sec
=== /home/jenkins/workspace/Bors_trying-5YYURIZAB3CW44FGGFE75PWPAJJVAWIZLCZPIVZHX5Z7DV4NCNWA@3/build/tests/libcxxthrd/host/libcxxthrd_host: ./enc/libcxxthrdtest-std_thread_thread.mutex_thread.mutex.requirements_thread.mutex.requirements.mutex_thread.mutex.class_try_lock.pass_enc
RUNNING: ../../3rdparty/libcxx/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/try_lock.pass.cpp
pthread_create_hook(): enc_key is 1
EnclaveThread(): Enc key=1 has Host id of 0x140269596739328
_pthread_create_hook(): pthread_create success for enc_key=1; thread id=0x140269381992708
_pthread_join_hook(): enc_key for thread ID 0x140269381992708 is 1
Assertion failed: !m.try_lock<EMAIL_ADDRESS>f: 34)
Test failed: /home/jenkins/workspace/Bors_trying-5YYURIZAB3CW44FGGFE75PWPAJJVAWIZLCZPIVZHX5Z7DV4NCNWA@3/tests/libcxxthrd/host/host.cpp(64): EnclaveThread result == OE_OK
The following tests FAILED:
62 - tests/libcxxthrdtest-std_thread_thread.mutex_thread.mutex.requirements_thread.mutex.requirements.mutex_thread.mutex.class_try_lock.pass (Child aborted)
Errors while running CTest
Test failed for SGX1 RELWITHDEBINFO in hardware mode (KabyLake Clang-7 SGX1 RelWithDebInfo)

Something is amiss with this branch. Will take a look.

Oops, I created this Pull request incorrectly - comparing my branch to master instead of vice-versa. Closing this.


sample: huk: Fix import key to volatile and cleanup the HUK Key deriv service

Zephyr's latest master log_process API implementation was changed and it is no longer takes any argument so update the log_process API call without passing an argument  from util.
Previously huk key derive the key from HUK and use psa_import_key to import but the problem is a key lifetime on key attributes is set to persistent so tfm crypto service imports/stores the key in flash, our initial design goal is to derive the key from HUK on every boot up rather store it in flash so set key lifetime to volatile so tfm crypto service keeps the key in RAM.
Another problem is the moment the key lifetime is set to volatile the key handle is become run time generated by the psa_import_key function call which is unique.  so adding a new member to store dynamically created key handle to store it in key context data structure and utilize key_id predefined value of 0x5001, 0x5002 as internal and interface to secure inference application.
Currently, deriving the key from HUK is requested via HUK key derivation secure service PSA APIs from tflm and utvm secure service, ideally deriving the key from HUK request should be part of HUK secure service to avoid leaking key context data structure and key IDX etc., as key id to be used as an interface to talk to HUK secure service, so removed key derivation request implementation for both HUK_CLIENT_TLS and HUK_COSE keys.
Moved the ec keys init to HUK secure service where it invokes the deriving the key from huk and ec keys init called from
tfm_huk_deriv_req_mgr_init rather calling from tflm or utvm secure service via HUK key derivation PSA APIs, remove TFM_HUK_DERIV_EC_KEY manifest config from YAML to avoid creating  HUK key derive secure service for deriving the key and respective PSA APIs implementation so that key deriving and handling fully controlled under HUK secure service.

@d3zd3z Can you have another look at the updates Raj made? Thanks.


MetaMask Option not working on Firefox

Link to minimal reproducible example
https://web3modal.com/
Summary
Hey,
The MetaMask wallet option isnt able to find Extension even though its installed (fresh Firefox installation without any extra addons)

Steps to reproduce:

Go to https://web3modal.com/
Click on "Connect Wallet" (blue button at the top)
MetaMask option should state "Installed" isnt - when clicking on the option it only leads to "Get the Addon"

List of related npm package versions
these are from my personal project - not sure what the actual  https://web3modal.com/ website uses... but same situation on my local build.
"@wagmi/connectors": "^3.1.3",
"@web3modal/wagmi": "^3.2.0",
"viem": "^1.18.4",
"wagmi": "^1.4.5",

@0xAsimetriq is this because of RDNS ? They only launched 6963 on chrome

This will be resolved once MetaMask adds EIP6963 support on all browsers (Browser Wallet option should work for now). They indicated that this is coming very soon.


Replace hack/netpol/ with new upstream NetworkPolicy test suite

The netpol test suite that we protoyped in Antrea (https://github.com/vmware-tanzu/antrea/tree/master/hack/netpol) was ported upstream by @jayunit100 and others: https://github.com/kubernetes/kubernetes/tree/master/test/e2e/network/netpol
As a result it now makes sense to remove the hack/netpol/ directory altogether and instead start running the upstream version of the test suite as part of Antrea CI. I think we can probably move from a Kind CI job to a Jenkins job on VMC (VMware on AWS), to avoid some known issues with Kind / the Open vSwitch netdev datapath (see https://github.com/vmware-tanzu/antrea/issues/897 for an example).
My preference would be to simply run it as part of the existing jenkins-networkpolicy job:

because it makes sense :)
to avoid introducing yet another job
because the test suite is supposed to run pretty fast and should not add too much time compared to the current job

I am hoping we can simply update https://github.com/vmware-tanzu/antrea/blob/master/ci/run-k8s-e2e-tests.sh to avoid increasing the number of CI scripts we have to maintain.
The only issue I see is that at this time (01/12), there is no named tag of the k8s.gcr.io/conformance image which includes the upstream netpol tests. The latest tag seems to be v1.21.0-alpha.0, and it doesn't include them.
As a result, we can either:

wait for a version of the k8s.gcr.io/conformance image with support for the netpol tests
build the k8s.gcr.io/conformance image from the K8s source (https://github.com/kubernetes/kubernetes/blob/master/cluster/images/conformance/Makefile) and use it in run-k8s-e2e-tests.sh

I don't really have a preference for either. If someone wants to start working on this issue in the near future, then they can go with the second solution.

@jayunit100 were you still planning to handle this?

@jayunit100 were you still planning to handle this?

Happy to help but cycles limited
If any newcomers in the network policy testing area this is a good getting started issue that I could collaborate on
Otherwise I'll get it done sooner or later

Happy to help but cycles limited
If any newcomers in the network policy testing area this is a good getting started issue that I could collaborate on
Otherwise I'll get it done sooner or later

I have started working on this issue

@NamanAg30 I don't think this issue can be resolved before https://github.com/antrea-io/antrea/issues/2743, and that issue depends on the K8s testbeds we use for CI being upgraded to a more recent version

@NamanAg30 are you still working on this? It would be good to remove this code.

It's time we remove this folder, this issue is 2 years old now. I will take care of it.
I have observed by looking at an existing jenkins-networkpolicy job that we run upstream tests using the v1.25.5 conformance image, which includes Netpol tests.
$ yq '.items[0].items[0].items[] | select(.name == "*Netpol*")' sonobuoy_results.yaml
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should support allow-all policy [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should work with Ingress, Egress specified together [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should enforce policy based on NamespaceSelector with MatchExpressions[Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should enforce multiple egress policies with egress allow-all policy taking precedence [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should enforce policy based on PodSelector or NamespaceSelector [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should enforce policy to allow ingress traffic from pods in all namespaces [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should allow egress access on one named port [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should support a ''default-deny-all'' policy [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should allow ingress access from namespace on one named port [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should enforce multiple ingress policies with ingress allow-all policy taking precedence [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should enforce policy based on PodSelector and NamespaceSelector [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should enforce multiple, stacked policies with overlapping podSelectors [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should enforce updated policy [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should enforce policy based on any PodSelectors [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should enforce policy based on PodSelector with MatchExpressions[Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should enforce policy to allow ingress traffic for a target [Feature:NetworkPolicy] '
status: passed
name: '[It] [sig-network] Netpol [Feature:SCTPConnectivity][LinuxOnly][Disruptive] NetworkPolicy between server and client using SCTP should support a ''default-deny-ingress'' policy [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should support a ''default-deny-ingress'' policy [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should enforce policy to allow traffic from pods within server namespace based on PodSelector [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should enforce policy based on NamespaceSelector with MatchExpressions using default ns label [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should deny egress from pods based on PodSelector [Feature:NetworkPolicy] '
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should enforce policy to allow traffic only from a different namespace, based on NamespaceSelector [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should enforce policies to check ingress and egress policies can be controlled independently based on PodSelector [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol [LinuxOnly] NetworkPolicy between server and client using UDP should support a ''default-deny-ingress'' policy [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should not allow access by TCP when a policy specifies only UDP [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should properly isolate pods that are selected by a policy allowing SCTP, even if the plugin doesn''t support SCTP [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should allow egress access to server in CIDR block [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should deny egress from all pods in a namespace [Feature:NetworkPolicy] '
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should deny ingress access to updated pod [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should ensure an IP overlapping both IPBlock.CIDR and IPBlock.Except is allowed [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol [LinuxOnly] NetworkPolicy between server and client using UDP should enforce policy to allow traffic only from a pod in a different namespace based on PodSelector and NamespaceSelector [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should support denying of egress traffic on the client side (even if the server explicitly allows this traffic) [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should deny ingress from pods on other namespaces [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol [Feature:SCTPConnectivity][LinuxOnly][Disruptive] NetworkPolicy between server and client using SCTP should enforce policy based on Ports [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should enforce policy based on Multiple PodSelectors and NamespaceSelectors [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should allow ingress access on one named port [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should enforce policy based on Ports [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should allow ingress access from updated pod [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol API should support creating NetworkPolicy with Status subresource [Feature:NetworkPolicyStatus]'
status: skipped
name: '[It] [sig-network] Netpol [Feature:SCTPConnectivity][LinuxOnly][Disruptive] NetworkPolicy between server and client using SCTP should enforce policy to allow traffic only from a pod in a different namespace based on PodSelector and NamespaceSelector [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol API should support creating NetworkPolicy API with endport field'
status: skipped
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should enforce except clause while egress access to server in CIDR block [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol [LinuxOnly] NetworkPolicy between server and client using UDP should enforce policy based on Ports [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should enforce policy to allow traffic only from a pod in a different namespace based on PodSelector and NamespaceSelector [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should allow ingress access from updated namespace [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should enforce policy to allow traffic based on NamespaceSelector with MatchLabels using default ns label [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should enforce egress policy allowing traffic to a server in a different namespace based on PodSelector and NamespaceSelector [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should not mistakenly treat ''protocol: SCTP'' as ''protocol: TCP'', even if the plugin doesn''t support SCTP [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should stop enforcing policies after they are deleted [Feature:NetworkPolicy]'
status: passed
name: '[It] [sig-network] Netpol API should support creating NetworkPolicy API operations'
status: skipped
name: '[It] [sig-network] Netpol NetworkPolicy between server and client should enforce ingress policy allowing any port traffic to a server on a specific protocol [Feature:NetworkPolicy] [Feature:UDP]'
status: passed

Given that observation, I think it is fine to simply remove hack/netpol, and the corresponding Kind test. If someone else wants to open a PR to add a new Kind job dedicated to running the upstream Netpol tests, it is fine by me (in case we forget to run jenkins-networkpolicy, although the upstream tests can take a while to run).
Maybe @NamanAg30 will bring https://github.com/antrea-io/antrea/pull/3825 back to life


Would like an example of getting the OIDC URI for EKS.

Documentation Issue
What was unclear or otherwise insufficient❓
How to get the OIDC provider URI, in particular for EKS.
Recommended Fix
Examples for a variety of Kubernetes deployments, but in particular for EKS.
Additional Context

Are you willing to resolve this issue by submitting a Pull Request❓
If someone can give me the example, sure.

[ ] Yes, I have the time, and I know how to start.
[x ] Yes, I have the time, but I don't know how to start. I would need guidance.
[ ] No, I don't have the time, although I believe I could do it if I had the time...
[ ] No, I don't have the time and I wouldn't even know how to start.

I would say it depends on which flavour of Kubernetes is in use. Created an example for EKS [here](https://github.com/terraform-module/terraform-kubernetes-velero/tree/master/examples/oidc


Adaptive sampling question

There is a "Adaptive sampling" in the Dapper thesis. Can "Adaptive sampling" be used in "pinpoint"? If so, how to configure it? If not, do you have a plan?

@lanzuyou
Hello, Pinpoint doesn't have "Adaptive sampling" features, yet. We've already had a review on this but yet our first priority. Maybe in the future, we will work on it.


dead crown position shows up when unnecessary

@jess-shue , dead crown position shows up in FFF for all A, AU, and DS trees, but only needs to be recorded for DS trees.

Dead crown position no longer shows for A or AU trees in the app.


Key Error: u'Constant339'

I'm trying to convert the emotion_ferplus.onnx model into CoreML.
I installed onnx-coreml using pip. I then downloaded the model and put it into a folder with this python script:
from onnx_coreml import convert
import onnx
modelFile = onnx.load('emotion_ferplus.onnx')
mlmodel = convert(modelFile)
mlmodel.save('emotion_ferplus.mlmodel')

I run the python script but get the error logs:
Traceback (most recent call last):
  File "script_onnx.py", line 4, in <module>
    mlmodel = convert(modelFile)
  File "/Users/Nomad/Library/Python/2.7/lib/python/site-packages/onnx_coreml/converter.py", line 458, in convert
    _convert_node(builder, node, graph, err)
  File "/Users/Nomad/Library/Python/2.7/lib/python/site-packages/onnx_coreml/_operators.py", line 1755, in _convert_node
    return converter_fn(builder, node, graph, err)
  File "/Users/Nomad/Library/Python/2.7/lib/python/site-packages/onnx_coreml/_operators.py", line 246, in _convert_sub
    _convert_broadcast_op(builder, node, graph, err, "ADD")
  File "/Users/Nomad/Library/Python/2.7/lib/python/site-packages/onnx_coreml/_operators.py", line 68, in _convert_broadcast_op
    ranks = [len(graph.onnx_coreml_shape_mapping[input_]) for input_ in node.inputs]
KeyError: u'Constant339'

I'm an iOS developer who is new the the world of machine learning so I'm probably missing something obvious. Am I supposed to know what the inputs for the model are and pass those in as arguments?
Thanks for the help.

Same problem here. Does anyone have a solution?

File "/Users/***/Library/Python/3.6/lib/python/site-packages/onnx_coreml/_operators.py", line 741, in _convert_bn     mapp = graph.onnx_coreml_shape_mapping[node.inputs[0]] KeyError: '244'
What do these keys mean in graph.onnx_coreml_shape_mapping?

Now I figured out that the keys are node ID in a model. And my problem occurred in a BatchNormalize node where get its input from a Conv node which has the node id 244. But why there's no 244 in the shape map?

Now I figured out that the keys are node ID in a model. And my problem occurred in a BatchNormalize node which gets its input from a Conv node which has the node id 244. But why there's no 244 in the shape map?

I have the same issue with the node of type Slice as reported by @Ciyou. In my case: KeyError: '367'.
I used netron to visualize my onnx graph and I found the node is presented in the graph, but its ID is not presented in graph.shape_dict keys.
Is there any solution or workaround to the issue?

While my issue seems unrelated to the original question, I have fixed the problem in my situation. See "Fixes" here #458 (KeyError during Converting Node Type Slice).

Issue not producible
@joninsky feel free to re-open if you still face issues


SQlite example notebook fix

Type of PR

[x] BUG
[ ] FEAT
[ ] MAINT
[x] DOC

Is your Pull Request linked to an existing Issue or Pull Request?

CI is currently failing for example notebooks due to error in sqlite example notebook
Give a brief description for the solution you have provided

use sqlite comparison library instead of duckdb for sqlite code
PR Checklist

[ ] Added documentation for changes
[ ] Added feature to example notebooks or tutorial (if appropriate)
[ ] Added tests (if appropriate)
[ ] Made changes based off the latest version of Splink
[ ] Run the linter

NB looks like this error is 'old' (already there in splink demos repo, but only surfaced thanks to #1579.


The responding to the lifecycle in the build script example need modifications to work

Hello
Example 2. Adding of test task to each project which has certain property set in this link https://docs.gradle.org/current/userguide/build_lifecycle.html#build_lifecycle_events
the if statement need to be modified to the following code to make it work
if (project.hasProperty("hasTests") && project.hasTests)

also it would be better to notify the reader that he/she would need to create subproject called project-a
and also the property in the build file in the project-a should be changed to
ext.hasTests = true
cause there no hasTests property in the Project so we need to create one in the ext part
hope that help and have a nice day :slight_smile:

thanks for your help i just read the user guide to learn gradle
here my full code with output
i have main project and it's build.gradle has only the  current code (groovy) in the documentations
build.gradle
allprojects {
    afterEvaluate { project ->
        if (project.hasTests) {
            println "Adding test task to $project"
            project.task('test') {
                doLast {
                    println "Running tests for $project"
                }
            }
        }
    }
}

settings.gradle
include 'project-a'
and inside that project there subproject (another folder ) named project-a and it's build file as follow
build.gradle  (this the build file inside the subfolder project-a)
hasTests=true
this the output of the  error message
FAILURE: Build failed with an exception.

* Where:
Build file '/home/<username>/IdeaProjects/LearningGradle/build.gradle' line: 3

* What went wrong:
A problem occurred configuring root project 'LearningGradle'.
> Could not get unknown property 'hasTests' for root project 'LearningGradle' of type org.gradle.api.Project.

line 3 is where the if statement
then change the if statement as mentioned earlier (in the if statement you can use project.ext.hasTests or project.hasTests both work) then the build success but running the gradle -q test will output the following error
FAILURE: Build failed with an exception.

* What went wrong:
Task 'test' not found in root project 'LearningGradle'.

change the build.gradle inside the subproject project-a to ext.hasTests = true and everything work as expected
so the ext is required in the build.gradle of the subproject (where we declare it)
and the output will be
Adding test task to project ':project-a'
Running tests for project ':project-a'

if this example meant to use different layout or if i miss something then sorry for wasting your time and could you correct me or at least give direction in the documentation to what this example should be built
thanks for your time and have a nice day :)

sorry i closed it by mistake

and here the output of the gradle -- version
------------------------------------------------------------
Gradle 7.4.2
------------------------------------------------------------

Build time:   2022-03-31 15:25:29 UTC
Revision:     540473b8118064efcc264694cbcaa4b677f61041

Kotlin:       1.5.31
Groovy:       3.0.9
Ant:          Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM:          17.0.3 (Red Hat, Inc. 17.0.3+7-LTS)
OS:           Linux 4.18.0-372.13.1.el8_6.x86_64 amd64

i use Rocky Linux 8.6 (RedHat derivative )

The issue is effectively in the documentation, which is missing some content that is in the snippet file:
build.gradle should contain:
allprojects {
    ext.hasTests = false
}

Or have the line move in the existing allprojects, as is done for the Kotlin version.

thanks @ljacomet  for clarification and have a nice day :)

Addressed in https://github.com/gradle/gradle/pull/22455


Still showing checkboxes on flip

I have a table with lots of elements on the front panel and its hiding everything when I flip it except all the checkboxes? Is this a known issue?

No, not known to us.  Did you find a solution/workaround?

Ended up going for a different approach.

:+1:  Ok, thanks for the feedback

https://jsfiddle.net/L6knkw1q/ - same issue with progress bar and  markups


Failed to fetch

TypeError: Failed to fetch

Please make sure you connect to remote node before trying to create a wallet using desktop software.


Add files via upload

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

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

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

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

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


Consider adding "security"

<EMAIL_ADDRESS>is a common means of emailing a security team. A username of "security" could be used to impersonate that team, or capture emails directed to it if contact info was not available. Such emails could easily include sensitive information.
Because of this, I think "security" should be added to the list.
Thanks!

Hi,
"security" has been on the bad usernames list since day 1 :)
https://github.com/flurdy/bad_usernames/blob/master/bad_usernames.en.json#L50

Turns out I was consuming the list wrong and that was my test value. Sorry,
and thanks again!
On Tue, Feb 20, 2018 at 3:07 AM, Ivar Abrahamsen<EMAIL_ADDRESS>wrote:

Hi,
"security" has been on the bad usernames list since day 1 :)
https://github.com/flurdy/bad_usernames/blob/master/bad_
usernames.en.json#L50
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/flurdy/bad_usernames/issues/1#issuecomment-366896706,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKfVRbsN6VD31346vXoE_km8tcltk0Obks5tWn1UgaJpZM4SCQyM
.


Bug: unable to add more than one file to FileCollection constructor

PHP Version
7.3, 7.4, 8.0, 8.1
CodeIgniter4 Version
4.2.1
CodeIgniter4 Installation Method
Composer (as dependency to an existing project)
Which operating systems have you tested for this bug?
macOS, Linux
Which server did you use?
fpm-fcgi
Database
MariaDB 10.8
What happened?
When I'm trying to create FileCollection object from 2 or more files paths (not directories), passed in the __constructor, only first file is added. Because in FileCollection->add() method uses return $this->addFile($path); instead of $this->addFile($path); that ends the execution of the foreach loop
Steps to Reproduce
$object = new FileCollection(['/path/to/file', '/path/to/other-file']);
Expected Output
An object containing all passed files
Anything else?
No response

Hi @AnakinA1 ,
Do you get what you need with the following code?
use CodeIgniter\Files\FileCollection;

$files = new FileCollection();

$file= APPPATH . 'Config/Auth.php';
$otherFile = APPPATH . 'Config/AuthGroups.php';

dd($files->addFiles([$file,$otherFile]));

Hi, yes, but question is that inside docs mentioned that FileCollection allows to work with groups of files and by logic __constructor should provide an opportunity to add as many files/dirs as you want. And the current behavior is blocking the ability to add more than 1 file via the constructor, for no real reason

I've confirmed this bug.
I sent a PR to fix it. See #6291

Great, thank you!

This bug has only been sent a PR and has not yet been fixed.


sap_hana_install: The hostname default is not used during templating

When comparing the hdblcm configfile template with the result of the Jinja2 templating, the default for the hostname is not used:
The corresponding line in the Jinja2 template is:
hostname={{ sap_hana_install_hostname|d('hana01') }}
The playbook does not set the variable sap_hana_install_hostname.
This is an extract of the comparison between the hdblcm configfile template and the result of the Jinja2 templating:
# diff -y --suppress-common-lines hdblcm_configfile_template.cfg /tmp/ansible.h_j92a2ahanaconfig/configfile.cfg use_master_password=n					      |	use_master_password=y components=						      |	components=all hostname=hana01					      |	hostname= sapadm_password=					      |	sapadm_password=NewPass$321 sid=							      |	sid=HD1 number=							      |	number=00
I could not reproduce this error when testing the template processing with the same Jinja2 template in a simple playbook on the local host.

The problem is caused by the following entry in defaults/main.yml:
sap_hana_install_hostname:
This overrides any default setting in the Jinja2 template, so the result of the templating is an empty string.

Solved in https://github.com/sap-linuxlab/community.sap_install/pull/69 .


fix: fix internal svg icon disappear issue in official website

👀 PR includes

✨ Feature
🐛 Bugfix

[x] 修复官网中内置 icon 不显示的问题

📝 Description
🖼 Screenshot

Before
After

试过配置 sideEffects 吗?
  "sideEffects": [
    "*.css",
    "dist/*"
  ],


error running - Remove-WindowsPackage : The specified package is not valid Windows package

Just downloaded and tried to run from my D drive using Power Shell (Admin) , however this error comes up when trying to remove some of the packages from the ISO.  Here's the copy/paste:
[Success] ISO Downloaded successfully! Exiting with code 0.                                                             Mounting the original iso...                                                                                Creating temporary folders...                                                                                Copying the content of the original iso to the work folder...                                                           Unmounting the original iso...                                                                                Mounting the install.wim image...                                                                                Removing unwanted app packages from the install.wim image...                                                            Removing unwanted windows packages from the install.wim image...                                                        Remove-WindowsPackage : The specified package is not valid Windows package.
At D:\download\tiny11builder-main\tiny11creator.ps1:85 char:5

...             Remove-WindowsPackage -Path $installImageFolder -PackageN ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [Remove-WindowsPackage], COMException
FullyQualifiedErrorId : Microsoft.Dism.Commands.RemoveWindowsPackageCommand

Remove-WindowsPackage : The specified package is not valid Windows package.
At D:\download\tiny11builder-main\tiny11creator.ps1:85 char:5

...             Remove-WindowsPackage -Path $installImageFolder -PackageN ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [Remove-WindowsPackage], COMException
FullyQualifiedErrorId : Microsoft.Dism.Commands.RemoveWindowsPackageCommand

Remove-WindowsPackage : The specified package is not valid Windows package.
At D:\download\tiny11builder-main\tiny11creator.ps1:85 char:5

...             Remove-WindowsPackage -Path $installImageFolder -PackageN ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [Remove-WindowsPackage], COMException
FullyQualifiedErrorId : Microsoft.Dism.Commands.RemoveWindowsPackageCommand

Remove-WindowsPackage : The specified package is not valid Windows package.
At D:\download\tiny11builder-main\tiny11creator.ps1:85 char:5

...             Remove-WindowsPackage -Path $installImageFolder -PackageN ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [Remove-WindowsPackage], COMException
FullyQualifiedErrorId : Microsoft.Dism.Commands.RemoveWindowsPackageCommand

Deleting PathsToDelete from the install.wim image...
c:\tiny11\installimage\Program Files\WindowsApps\MicrosoftWindows.Client.WebExperience_421.20070.195.0_x64__cw5n1h2txyewy\Dashboard\WebContent\node_modules@babel\plugin-transform-modules-commonjs\node_modules@babel\helper-member-expression-to-functions\lib*: The system cannot find the path specified.
c:\tiny11\installimage\Windows\System32\LogFiles\WMI\RtBackup*: Access is denied.
c:\tiny11\installimage\Windows\System32\WebThreatDefSvc*: Access is denied.
Patching the registry in the install.wim image...
Placing the autounattend.xml file in the install.wim image...
Unmounting the install.wim image...
Creating a clean install.wim image without all unnecessary indexes...
Mounting the boot.wim image...
Patching the registry in the boot.wim image...
Unmounting the boot.wim image...
Creating a clean boot.wim image without all unnecessary indexes...
Building the tiny11.iso file...
100% completece tree (500 files in 43 directories) 0% complete
Removing work folders...
I assume this is due to changes MS made to the ISO but wanting to confirm.  Thank you.

Please look at the readme (home of the respository), that error is mentioned in the step 3 of the "Run it" section.
So I think you correctly built the tiny11 iso. If you install it and have issues, please update here !


Feat docker-compose.yml

Implemented a health check to verify if the service is responding on port 3000.
Created a custom network (studio_network) for improved container communication and isolation.

@shikdernyc sir can you review and merge

Hey @Innovatorcloudy , this docker-compose file is currently under active development. We are trying to make it easier easier to deploy. Since this is under active development, we're currently not accepting pull-request to docker files.


Use local downloaded version of bellsoft-liberica

Hey guys,
my internet connection is very slow.
Can I download your jdk once and the Buildpack uses my downloaded package?
Thank you
Pascal

Yes! You can use dependency mappings and either specify a location on your LAN from which you can download the dependencies, or you can specify a file:// URL and volume mount the binaries into the container at the expected path. So if you specify file:///binaries/... you can pack build --volume=$PWD/binaries:/binaries ....
Dependency mappings can be tedious, as is downloading the binaries. I created a tool to make this easier, see the binding-tool. The README has some more instructions on how you can use it, but basically bt dm -b paketo-buildpacks/bellsoft-liberica and it'll download all the JDK/JVM binaries and make the bindings for you.

Hey,
i use the Spring Bott plugin with gradle.
Do you know how i can add the Bindings there?
Thank you

The equivalent of the pack build --volume=$PWD/binaries:/binaries ... example that @dmikusa mentioned using the Spring Boot Gradle plugin would be this:
bootBuildImage {
	bindings = [ "${projectDir}/binaries:/binaries" ]
}

I'm going to close this out. If you have any more follow up questions, feel free to reach out. Thanks

The equivalent of the pack build --volume=$PWD/binaries:/binaries ... example that @dmikusa mentioned using the Spring Boot Gradle plugin would be this:
bootBuildImage {
	bindings = [ "${projectDir}/binaries:/binaries" ]
}

It doesn't work for me. when I run ./gradlew bootBuildImage command, it still tried to download from github repository.

my `build.gradle` file:

bootBuildImage {
	builder = "docker.io/paketobuildpacks/builder-jammy-base"
	imageName = "${project.name}"
	environment = ["BP_JVM_VERSION": "17"]
	bindings = [ "${project.projectDir}/paketo-buildpacks/binaries:/binaries" ]
docker {
	publishRegistry {
		username = project.findProperty("registryUsername")
		password = project.findProperty("registryToken")
		url = project.findProperty("registryUrl")
	}
}

}

std output error message(click here)

➜  catalog-service git:(master) ✗ ./gradlew clean bootBuildImage

Task :bootBuildImage
Building image 'docker.io/library/catalog-service:latest'

Pulling builder image 'docker.io/paketobuildpacks/builder-jammy-base:latest' ..................................................
Pulled builder image 'paketobuildpacks/builder-jammy-base@sha256:403cfca1bc740b7663d461f1ec515033b7aba5ecc3955ae951bade382e1a84b6'
Pulling run image 'docker.io/paketobuildpacks/run-jammy-base:latest' ..................................................
Pulled run image 'paketobuildpacks/run-jammy-base@sha256:18c92f9d53d1b3b941624cb823df3c802782f8eb337ad3a229d14372df4cd27d'
Executing lifecycle version v0.18.3
Using build cache volume 'pack-cache-c67fa1d5fcb6.build'

Running creator
[creator]     ===> ANALYZING
[creator]     Restoring data for SBOM from previous image
[creator]     ===> DETECTING
[creator]     6 of 26 buildpacks participating
[creator]     paketo-buildpacks/ca-certificates   3.6.7
[creator]     paketo-buildpacks/bellsoft-liberica 10.4.4
[creator]     paketo-buildpacks/syft              1.42.0
[creator]     paketo-buildpacks/executable-jar    6.8.3
[creator]     paketo-buildpacks/dist-zip          5.6.8
[creator]     paketo-buildpacks/spring-boot       5.27.8
[creator]     ===> RESTORING
[creator]     Restoring metadata for "paketo-buildpacks/ca-certificates:helper" from app image
[creator]     Restoring metadata for "paketo-buildpacks/bellsoft-liberica:helper" from app image
[creator]     Restoring metadata for "paketo-buildpacks/bellsoft-liberica:java-security-properties" from app image
[creator]     Restoring metadata for "paketo-buildpacks/bellsoft-liberica:jre" from app image
[creator]     Restoring metadata for "paketo-buildpacks/syft:syft" from cache
[creator]     Restoring metadata for "paketo-buildpacks/spring-boot:helper" from app image
[creator]     Restoring metadata for "paketo-buildpacks/spring-boot:spring-cloud-bindings" from app image
[creator]     Restoring metadata for "paketo-buildpacks/spring-boot:web-application-type" from app image
[creator]     Restoring data for "paketo-buildpacks/syft:syft" from cache
[creator]     Restoring data for SBOM from cache
[creator]     ===> BUILDING
[creator]
[creator]     Paketo Buildpack for CA Certificates 3.6.7
[creator]       https://github.com/paketo-buildpacks/ca-certificates
[creator]       Launch Helper: Reusing cached layer
[creator]
[creator]     Paketo Buildpack for BellSoft Liberica 10.4.4
[creator]       https://github.com/paketo-buildpacks/bellsoft-liberica
[creator]       Build Configuration:
[creator]         $BP_JVM_JLINK_ARGS           --no-man-pages --no-header-files --strip-debug --compress=1  configure custom link arguments (--output must be omitted)
[creator]         $BP_JVM_JLINK_ENABLED        false                                                        enables running jlink tool to generate custom JRE
[creator]         $BP_JVM_TYPE                 JRE                                                          the JVM type - JDK or JRE
[creator]         $BP_JVM_VERSION              17                                                           the Java version
[creator]       Launch Configuration:
[creator]         $BPL_DEBUG_ENABLED           false                                                        enables Java remote debugging support
[creator]         $BPL_DEBUG_PORT              8000                                                         configure the remote debugging port
[creator]         $BPL_DEBUG_SUSPEND           false                                                        configure whether to suspend execution until a debugger has attached
[creator]         $BPL_HEAP_DUMP_PATH                                                                       write heap dumps on error to this path
[creator]         $BPL_JAVA_NMT_ENABLED        true                                                         enables Java Native Memory Tracking (NMT)
[creator]         $BPL_JAVA_NMT_LEVEL          summary                                                      configure level of NMT, summary or detail
[creator]         $BPL_JFR_ARGS                                                                             configure custom Java Flight Recording (JFR) arguments
[creator]         $BPL_JFR_ENABLED             false                                                        enables Java Flight Recording (JFR)
[creator]         $BPL_JMX_ENABLED             false                                                        enables Java Management Extensions (JMX)
[creator]         $BPL_JMX_PORT                5000                                                         configure the JMX port
[creator]         $BPL_JVM_HEAD_ROOM           0                                                            the headroom in memory calculation
[creator]         $BPL_JVM_LOADED_CLASS_COUNT  35% of classes                                               the number of loaded classes in memory calculation
[creator]         $BPL_JVM_THREAD_COUNT        250                                                          the number of threads in memory calculation
[creator]         $JAVA_TOOL_OPTIONS                                                                        the JVM launch flags
[creator]         Using Java version 17 from BP_JVM_VERSION
[creator]       BellSoft Liberica JRE 17.0.9: Reusing cached layer
[creator]       Launch Helper: Reusing cached layer
[creator]       Java Security Properties: Reusing cached layer
[creator]
[creator]     Paketo Buildpack for Syft 1.42.0
[creator]       https://github.com/paketo-buildpacks/syft
[creator]         Downloading from https://github.com/anchore/syft/releases/download/v0.99.0/syft_0.99.0_linux_amd64.tar.gz
[creator]     unable to invoke layer creator
[creator]     unable to get dependency syft
[creator]     unable to download https://github.com/anchore/syft/releases/download/v0.99.0/syft_0.99.0_linux_amd64.tar.gz
[creator]     unable to request https://github.com/anchore/syft/releases/download/v0.99.0/syft_0.99.0_linux_amd64.tar.gz
[creator]     Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/262126497/fd542442-6e36-4947-b6fa-a8bccd067902?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240115%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240115T213923Z&X-Amz-Expires=300&X-Amz-Signature=e980b0e630b0cfdb6e602815a57f3220cbc9cbb1d6da641b9d42004346a78b86&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=262126497&response-content-disposition=attachment%3B filename%3Dsyft_0.99.0_linux_amd64.tar.gz&response-content-type=application%2Foctet-stream": net/http: TLS handshake timeout
[creator]     ERROR: failed to build: exit status 1

Task :bootBuildImage FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':bootBuildImage'.

Builder lifecycle 'creator' failed with status code 51

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 14s
6 actionable tasks: 6 executed

The screenshot:

@ongiant You need to have a dependency mapping binding which consists of some text files that provide metadata about the binary & where to find the binary. I don't see that in your screenshot. I just see the binaries. The name might be a little confusing in the example above, but the directory for which you add a binding needs to have more than just the binaries.
If you use and run the binding-tool I linked to above, it will pull down everything and set up the binding metadata for you. You then just add your binding to the root directory that binding-tool created.
bootBuildImage {
	bindings = [ "${projectDir}/created-by-binding-tool:/bindings" ]
        environment["SERVICE_BINDING_ROOT"] = "/bindings"
}

If you use binding-tool, then the path inside the container should always be /bindings. In that case, you also need to add an env variable for SERVICE_BINDING_ROOT=/bindings, because the default path is different (see above).
If you have any other questions, please post over on our discussions forum here.

@dmikusa Thanks for your answer! But I still have some problem and write in this discussion.

Yes! You can use dependency mappings and either specify a location on your LAN from which you can download the dependencies, or you can specify a file:// URL and volume mount the binaries into the container at the expected path. So if you specify file:///binaries/... you can pack build --volume=$PWD/binaries:/binaries ....
Let me know if you have issues with it or questions.
@dmikusa

This looks promising, thanks for the tool!  I'm trying bt dm -b<EMAIL_ADDRESS>but it's taking forever with my slow connection.  I really only need one of these tarballs (https://github.com/bell-sw/Liberica/releases/download/21.0.3+12/bellsoft-jre21.0.3+12-linux-amd64.tar.gz).  Is there a way to tell it to just grab one dependency?  Or is there a way to create a binding for just that one?

Is there a way to tell it to just grab one dependency? Or is there a way to create a binding for just that one?

No, not at the moment. The tool doesn't support filters. If you only need one or two, you can download them manually. The links for the downloads are in the buildpack.toml it's the url and sha256 properties of the dependencies you want.
The sha256 hash is the file name, the contents of that file are the file:// path relative to inside your container. The tool uses /binaries/... which is why --volume=$PWD/binaries:/binaries is required with the tool. Then make your local binaries/ directory and put the actual download in that.
It's perfectly fine to do this manually, there's no magic happening. As long as everything lines up, it'll work. The tool is really just an automation of the process, meant for bulk downloading the dependencies and reducing user error.
Hope that helps!

The sha256 hash is the file name, the contents of that file are the file:// path relative to inside your container.

Great!  And where does that file go?  In the same directory as the binary itself?
I'm using the spring-boot-maven-plugin, so I'll be specifying the binding as seen here, I think: https://github.com/spring-projects/spring-boot/issues/23518


fix multiple instances for curl_json

I need multiple curl_json instances which is generated automaticly.
Use of ensure_packages() allow to call collectd::plugin::curl_json more than once.

Thanks for the contribution!


Documentation issues and optimization of the API call

Documentation does not provide the complete help, problem I see is that it does not even include the spec options used in the examples provided (-l -s for instance).
az vm list-skus -h
--zone option does not provide what is the default value if not included.
The optimization I'm talking about is : while running with --Debug --Verbose I found that the API call to Request URL: 'https://management.azure.com/subscriptions/c575b3f9-a87d-44a5-b536-f683ba941bf6/providers/Microsoft.Compute/skus?api-version=2019-04-01' is done whit out any filter so CLI client gets all the bulk response and filters. The api supports filtering so this can be made more efficient.

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

ID: 152b549b-d4b3-13e5-081c-c604b6e4d89e
Version Independent ID: 3f79be78-ce75-ad31-304b-bad7d475ec9e
Content: az vm
Content Source: latest/docs-ref-autogen/vm.yml
Service: virtual-machines
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

hi @qwordy , could you pls take a  look? thanks

Hi @CesarSolis , Could you provide more details?
Default is all sizes no matter it support zone or not.
https://docs.microsoft.com/en-us/cli/azure/vm?view=azure-cli-latest#az_vm_list_skus

@CesarSolis


Adding React map sample

Issue

Describe your changes

How to test

Checklist:

[ ] My code follows the style guidelines for this repo
[ ] I have performed a self-review of my code
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings/errors
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I don't require ops changes for this PR to go to prod
[ ] This change does not include a migration

Comments

:tada: This PR is included in version 1.31.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Global vars and namespacing

I love what you've got here. But all of the top level functions and vars are global. Encapsulating these using the module pattern or similar would be awesome for making it more structured.

Yeah, it's a complete mess. I have never developed an actual production javascript app before -- can you tell? I'll work on it.
It would also really help to have unit tests for all the effects and various combinations of note on/instrument on/etc, as I keep breaking them.

Tests would be awesome. I love the book JavaScript Patterns by Stoyan Stefanov for them, but there's some good online resources too. If I can find some time, I might make a PR for you.

Thanks @hillerstorm for fixing this...