Visual glitch with subfolders in settings

Describe the bug
If you have sprites in subfolders, the subfolders have a different font from sprites on the Settings page
Expected behavior
They should have the same font
Screenshots

Platform (please complete the following information):

OS: Mac OS
App version 4 release candidate 2

This was intentional, with the folders using a smaller font size that would wrap to a second line when the folders were very long. But in reviewing I think there's a few too many places where the alignment looks a bit weird, so I'm rolling back the change for now so folders will be the same font size and long names will not wrap. I'll have a think about better ways to layout these fields now that folders will be more common for future updates.

This was intentional, with the folders using a smaller font size that would wrap to a second line when the folders were very long. But in reviewing I think there's a few too many places where the alignment looks a bit weird, so I'm rolling back the change for now so folders will be the same font size and long names will not wrap. I'll have a think about better ways to layout these fields now that folders will be more common for future updates.

Maybe you could make all the text use the smaller font in situations like that?


BUG: Info object not correctly read from HDF5

When reading from HDF5, the Info object is not properly reconstructed:
import mne
import tempfile
tmp = tempfile.NamedTemporaryFile(delete=False)
info_a = mne.create_info(ch_names=['a', 'b', 'c'], sfreq=1000., ch_types=None)
mne.externals.h5io.write_hdf5(tmp.name, info_a, overwrite=True)
info_b = mne.externals.h5io.read_hdf5(tmp.name)
info_b._check_consistency()  # Error
assert type(info_a) == type(info_b)  # Fail

The Info object gets reconstructed as a regular dict, which means any code relying on the _check_consistency function to work will fail.

This is expected behavior. h5io isn't designed to read specialized (e.g., mne-python) objects. I'd make the downstream functions smart enough to do the casting as Info(...).

In other words, you should be able to do info_b = Info(info_b) in your code to fix it

(or something like that)

also fine.

please close then


how to make these gif assets

I really want to konw how to make these gif assets，what tool you use，thanks reply!

The software is called aseprite https://www.aseprite.org


chore(deps): update releases-docker.jfrog.io/jfrog/artifactory-oss docker tag to v7.84.14

This PR contains the following updates:

Package
Update
Change

releases-docker.jfrog.io/jfrog/artifactory-oss
minor
7.77.5 -> 7.84.14

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@dependabot rebase


Nested schemas dont show key name

Hello,
first of all, thanks all for your project. is really amazing.
I have the following issue (or I think so)
the schemas with nested objects / arrays dont show the key name.
(related to schema-tree.json)
how could I fix that?
I attach the how the problem looks like.

can you provide me with a minimal spec where I can recreate this issue ?

Steps to reproduce:
Download the  rapidoc zip project from github (https://github.com/rapi-doc/RapiDoc/archive/refs/heads/master.zip)
run npm install
run npm build_windows
copy/use the builded rapidoc-min.js from dist folder into your site.
I made additional tests and I found if you use the cdn (https://unpkg.com/rapidoc/dist/rapidoc-min.js)  instead of the builded minified version the schema shows well.
I atached a minimal example with the compiled rapidoc-min.js
dist.zip
please let me known if you require anything else.
Thanks

thanks for reporting the issue and sharing a test case.
This issue is introduced  due to a bad commit https://github.com/rapi-doc/RapiDoc/commit/39102928ca6809a0e7e881cc0ead86434c9d0b5a which got added after the stable release of 9.3.3
We will be take another look at the issue later, for now it is best to use the cdn version 9.3.3

this is now restored by removing the bad commit


[os-vagrant] What's the suggested way to install docker-compose?

Hello!
Rancher os looks great. I'd like to give it a quick try for our infrastructure which uses docker-compose. What's the "right way" to install something like docker-compose in rancher? Installing it to /usr/bin feels wrong in rancher. However, having docker-compose in a container also feels a little weird too.

Just copy the docker compose binary to /opt/bin and and that to your path.  /opt is persisted in the same fashion as /home.  All other directories are ephemeral and will be deleted on reboot.

@tobowers let us know if you are still having any issues and please re-open.

But /opt/bin isn't in the set to path variable. Would be great to have a persistent /usr/local/bin...

@ibuildthecloud What is the recommended way to append to PATH in RancherOS?

I'm interesting on that as well as @michaellopez have you find a way to do it?

@zot24 Yeah, just follow @ibuildthecloud's advice.
I enabled ubuntu-console in RancherOS, then I downloaded the binary to /opt/bin/docker-compose via curl from the instructions in the release notes. After that I added:
export PATH=/opt/bin:$PATH

to ~/.bashrc
After reboot it should be found in the PATH and available globally on your system.

I'm not sure its the recommended way to use ubuntu-console and .bashrc to append to PATH, but I couldn't find any other way to do it. I would've liked to use something with cloud config or more "global" rather than a sourced file for the user account.

Thanks you so much @michaellopez I'll give it a try 👍

just for the record @michaellopez for me I had to put it into /opt/rancher/bin/ and use ~/.bashrc_profile instead to make the trick works, thanks!

@zot24 Yeah, sorry. I tend to make all my .bash_profile always source .bashrc only. So I don't differentiate between remote session or local, always getting the same env.
.bash_profile:
if [ -f ~/.bashrc ]; then
    . ~/.bashrc
fi

I did place my binary in /opt/bin though. We're on ros 0.4.3. But I'm glad you fixed your issue!

Thanks @michaellopez great staff appreciate the explanation! 👍 :)

This method doesn't seem to work on RancherOS 0.5.  here is what I did:
uname -a
Linux ip-172-31-38-141.us-west-2.compute.internal 4.4.10-rancher #1 SMP Fri Jun 17 17:16:24 UTC 2016 x86_64 GNU/Linux

wget https://github.com/docker/compose/releases/download/1.8.0-rc1/docker-compose-Linux-x86_64
chmod +x docker-compose-Linux-x86_64

./docker-compose-Linux-x86_64 version
-bash: ./docker-compose-Linux-x86_64: No such file or directory

This procedure worked on 0.45.  I am wondering if there is some shared lib or something that is missing.  Anybody else seeing this?

@mmacfadden - I'm seeing it as well.

FYI, switching to the fedora console solved the problem.  FYI, I switched to the fedora console on the exact instance that was having the problem, and I ran the same executable, that was still in the home directory.  I suspect that there is a missing shared library or something in the default console.

We removed glibc in v0.5.0, so this is very like a side effect of that. Switching to any one of the alternate consoles should fix this issue. If you're using Docker Compose with RancherOS the alternate consoles will probably give you a better experience anyways.

Yeah, that is what I found.  Eventually we will use compose from outside of RancherOS (or some other thing completely) and use RahncerOS as a docker host, as intended.  For now we need the ability to use compose internally, and switching to the fedora console worked just fine.
@joshwget FYI switching to the centos console failed and complained about missing images on docker.io.

you can run compose in rancheros as container
Add some additional goodies if you shell geek
docker run --rm docker/compose:1.16.1 version
########################################################
~ $ cat .profile
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
########################################################
~ $ cat .inputrc
#.inputrc
"\e[A": history-search-backward
"\e[B": history-search-forward
"\e[C": forward-char
"\e[D": backward-char
"\C-x\C-r": re-read-init-file
set match-hidden-files off
set page-completions off
set completion-query-items 350
set completion-ignore-case on
set show-all-if-ambiguous on
set bell-style none
TAB: menu-complete
########################################################
~ $ cat .bashrc
.bashrc
if [[ ${EUID} == 0 ]] ; then
PS1='[\e[01;31m]\h[\e[01;34m] \W $[\e[00m] '
else
PS1='[\e[01;32m]\u@\h[\e[01;34m] \w $[\e[00m] '
fi
export INPUTRC=~/.inputrc
alias docker-compose='docker run --rm
-v /var/run/docker.sock:/var/run/docker.sock
-v "$PWD:/rootfs/$PWD"
-w="/rootfs/$PWD"
docker/compose:1.16.1'
########################################################

mudrii - Thanks for that - I really like your approach. Question - I wanted to call 'docker-compose up -d' in a script... but it doesn't recognise the command. Any idea how I can get round that?
Thanks


chore: add support for tests

This isn't finished.
I'm running into problems setting up Jest with NextJS 15 & React 19 - I'll come back to this another time.

Hi! I'm the autofix.ci troubleshooter bot.
It looks like you correctly set up a CI job that uses the autofix.ci GitHub Action, but the autofix.ci GitHub App has not been installed for this repository. This means that autofix.ci unfortunately does not have the permissions to fix this pull request. If you are the repository owner, please install the app and then restart the CI workflow! 😃


is there any way to change upstream proxy each request

i have try this below but not worked:
proxy.OnRequest().DoFunc(func(req *http.Request, ctx *goproxy.ProxyCtx) (request *http.Request, response *http.Response) {
    proxy.Tr = &http.Transport{Proxy: func(request *http.Request) (url *url.URL, e error) {
        ip := GetNewProxy()
        fmt.Println("======New ip:", ip)
        return url.Parse(ip)
    }}

    return req, nil
})

You can set a transport per request IIRC

You can set a transport per request IIRC

Hey there, do you have an example for this? I've been banging my head against my keyboard trying to figure it out and can't seem to find a way to assign a transport to a specific request. I can attach it to the server, but with concurrent connections that seems like it's asking for trouble.
Thanks!

You could write a Custom Transport:
https://github.com/elazarl/goproxy/blob/aa519ddbe484d5dddfd1a4056f90aa2b6cbc99cf/proxy.go#L28
With a custom proxy function which parses a different proxy IP each time an HTTP request is executed

You can use ProxyCtx.RoundTripper for this:
proxy.OnRequest().DoFunc(func (req *http.Request, ctx *goproxy.ProxyCtx) (*http.Request, *http.Response) {
    ctx.RoundTripper = goproxy.RoundTripperFunc(func (req *http.Request, ctx *goproxy.ProxyCtx) (*http.Response, error) {
        // create transport and RoundTrip here
    })
    return req, nil
})

Beware that this will work for HTTP connections but not for HTTPS!
To make this work for HTTPS, you'll need to create a custom ConnectDial implementation. I'm currently working on this in a private project.

@axelrindle can you share what you do in your project? needed that feature! Thank you.

@chekun Have a look at this file: https://github.com/axelrindle/proxyguy/blob/main/server/server.go
This is currently at a very early stage of implementation.

@axelrindle Thank you.
FYI, ConnectDialWithReq function solved my problem.

@axelrindle Thank you.
FYI, ConnectDialWithReq function solved my problem.

Could you please provide an example for how you used ConnectDialWithReq? I'm also stuck on this.

Here you go @rosahaj
proxyServer.ConnectDialWithReq = func(req *http.Request, network, addr string) (net.Conn, error) {
  if strings.Contains(req.URL.Path, "somethingyouwant") {
	  return proxyServer.NewConnectDialToProxyWithHandler("http://proxy1.com", func(req *http.Request) {
	  })(network, addr)
  } else {
	  return proxyServer.NewConnectDialToProxyWithHandler("http://proxy2.com", func(req *http.Request) {})(network, addr)
  }
}

Here you go @rosahaj
proxyServer.ConnectDialWithReq = func(req *http.Request, network, addr string) (net.Conn, error) {
  if strings.Contains(req.URL.Path, "somethingyouwant") {
	  return proxyServer.NewConnectDialToProxyWithHandler("http://proxy1.com", func(req *http.Request) {
	  })(network, addr)
  } else {
	  return proxyServer.NewConnectDialToProxyWithHandler("http://proxy2.com", func(req *http.Request) {})(network, addr)
  }
}

Thanks for sharing your example. Unfortunately I still can't get it to work, seemingly ConnectDialWithReq simply isn't called:
package main

import (
	"log"
	"net"
	"net/http"
	"net/url"
	"regexp"

	"github.com/elazarl/goproxy"
)

func main() {
	proxyServer := goproxy.NewProxyHttpServer()

	secondProxyServer := goproxy.NewProxyHttpServer()
	secondProxyServer.OnRequest().DoFunc(func(req *http.Request, ctx *goproxy.ProxyCtx) (*http.Request, *http.Response) {
		println("Second proxy received request")

		return req, nil
	})
	go http.ListenAndServe(":8090", secondProxyServer)

	proxyServer.OnRequest(goproxy.ReqHostMatches(regexp.MustCompile("^.*$"))).
		HandleConnect(goproxy.AlwaysMitm)

	proxyServer.Tr.Proxy = func(req *http.Request) (*url.URL, error) {
		println("Tr.Proxy was called")

		return url.Parse("http://localhost:8090/")
	}

	proxyServer.ConnectDialWithReq = func(req *http.Request, network, addr string) (net.Conn, error) {
		println("ConnectDialWithReq was called")

		return proxyServer.NewConnectDialToProxyWithHandler("http://localhost:8090/", func(req *http.Request) {})(network, addr)
	}

	log.Fatal(http.ListenAndServe(":8080", proxyServer))
}

Only Tr.Proxy was called gets printed. Requests are never passed to the second proxy.

@chekun Unfortunately setting Tr.Proxy doesn't ensure the request goes through the returned proxy URL:
package main

import (
	"fmt"
	"log"
	"net/http"
	"net/url"
	"regexp"
	"strings"

	"github.com/elazarl/goproxy"
)

func logOnNewConnection(proxyName string) {
	fmt.Printf("New connection on proxy: %s", proxyName)
}

func main() {
	entryProxyServer := goproxy.NewProxyHttpServer()
	firstChoiceProxyServer := goproxy.NewProxyHttpServer()
	secondChoiceProxyServer := goproxy.NewProxyHttpServer()

	firstChoiceProxyServer.OnRequest().DoFunc(func(req *http.Request, ctx *goproxy.ProxyCtx) (*http.Request, *http.Response) {
		logOnNewConnection("First choice")
		return req, nil
	})
	secondChoiceProxyServer.OnRequest().DoFunc(func(req *http.Request, ctx *goproxy.ProxyCtx) (*http.Request, *http.Response) {
		logOnNewConnection("First choice")
		return req, nil
	})

	go http.ListenAndServe(":8081", firstChoiceProxyServer)
	go http.ListenAndServe(":8082", secondChoiceProxyServer)

	// Enable MITM
	entryProxyServer.OnRequest(goproxy.ReqHostMatches(regexp.MustCompile("^.*$"))).
		HandleConnect(goproxy.AlwaysMitm)

	entryProxyServer.Tr.Proxy = func(req *http.Request) (*url.URL, error) {
		println("Tr.Proxy was called")

		if strings.Contains(req.URL.Path, "somethingyouwant") {
			println("Proxying to first choice")
			return url.Parse("http://localhost:8081/")
		} else {
			println("Proxying to second choice")
			return url.Parse("http://localhost:8082/")
		}
	}

	log.Fatal(http.ListenAndServe(":8080", entryProxyServer))
}

Output:
Tr.Proxy was called
Proxying to first choice

The only way I was able to get it to work at all is by implementing a custom RoundTripper, but this defeats the benefits of using goproxy in the first place.

I'm not sure, in my case it all works fine.

Just adding a data point that the solution from the last comments seems to be working fine for me.
I also found running a chain of proxies locally useful, because I wasn't able to get both MITM and remote proxy auth working. So I have this setup
client ---> mitm ---> noauth local proxy 1 ---> auth remote proxy 1
                 \---> noauth local proxy 2 ---> auth remote proxy 2

Solutions about this problem have already been provided by other users. Closing this issue.


Use unix timestamp for inputTime and return value

Problem

Return value (number of seconds) is "local time"
Turning number of seconds into usable representation (unix timestamp / moment.js) requires unnecessary effort (if timezone offset or DST has to be taken into account)

Possible solution
Always use a unix timestamp representation, both for specifying inputTime and also for return value.
Workaround

+1

I actually disagree, or think this should be optional.  The headaches that this introduces from a timezone perspective alone is enough to complicate this library a great deal.

Users may or may not use the moment library. Even if they use moment library you can convert the returned epoch to the local timezone, and then you can easily convert it using moment methods.


ActiveForm fieldConfig options tag=>false will render class attribute without any tag

I was trying to get rid of the div around the input field. I set the tag option for fieldConfig to false to disable the div. But the result was the default class was render without any tag.
Given below is the code I used.
    <?php
    $form = ActiveForm::begin([
                'fieldConfig' => [
                    'options' => [
                        'tag' => false,
                    ],
                ],
    ]);
    ?>

    <?= $form->field($movie, 'name') ?>

    <?php ActiveForm::end(); ?>

And the rendered form was
<form id="w0" action="###" method="post">
<input type="hidden" name="_csrf" value="#####">
   < class="field-movie-name required">
Name
<input type="text" id="movie-name" class="form-control" name="Movie[name]" value="">

</>
    </form>

Note the < class="field-movie-name required"> and the </> just above the form closing tag. I think this is a bug and when the tag is set to false, the input field should be rendered without and wrapping tags.

@alexjose
I'm afraid you'll have to override \yii\widgets\ActiveField - it's begin() and end() methods do not suppose 'getting rid' of tag.
ActiveForm js also relies on tag - it sets 'error' and 'success' css classes for container, not for field itself.

this issue is resolve here https://github.com/yiisoft/yii2/issues/10764
@SilverFire how can we validate on client when tag is false?

Actually there is no way to do it. Feature to shoot yourself in the foot :)

@SilverFire ;) thanks you very much


Authentication with Google API

I will create a new branch "google_auth" where it will be committed. I'll make frontend and proxy server changes implementing this type of auth. @Pomog  please create necessary endpoints in API so we can save it in DB.

I added front end authentication with Google.
@Pomog please proceed with API.
the object that is expected is this:
 {
  user_name: 'Den',
  email<EMAIL_ADDRESS>  ava: 'https://lh3.googleusercontent.com/a/ACg8ocK2bz82lqcsA1oTBIsOb59Y3pVGeZWI76tPwJegyrrad6Nu5g=s96-c',
  role: 'admin'
}

I am working on user service layer now


[zh] sync /architecture/nodes.md

Sync with en.
content/zh-cn/docs/concepts/architecture/nodes.md

Preview: https://deploy-preview-38370--kubernetes-io-main-staging.netlify.app/zh-cn/docs/concepts/architecture/nodes/

/lgtm

/approve


GPLv3 or other license?

I've been trying to find a mostly complete UI for a project I'm working on (remake of SimCity 2000 in JavaScript) and stumbled upon jspaint which is beyond my expectations for a classic Windows 9x UI in JavaScript. I don't see a license anywhere in the project repo - are you planning to license this repo under a GPLv3 compatible license? I'd love to separate out the elements of your UI into a library that I can utilize to create a classic style UI within OpenSC2K - the work you've done here is pretty awesome.

@1j01

I've also been wanting to separate that stuff out into a library - and I'd be much more willing (totally willing) to license that portion (the jspaint app as a whole has legal concerns due to use of MS assets and trademarks, see https://github.com/1j01/jspaint/issues/18)
I'm actually already using it in several applications, in 98, but just copy-pasting files and manually keeping them more-or-less in sync, so yeah, I definitely want to make it a library!
The main reason I haven't done it yet is because it wouldn't really provide a benefit (to me) for the apps I already have because I'd still be copy-pasting basically, if I don't have webpack/browserify/rollup set up- well, I guess I could version dependencies with npm and have a postinstall script to copy files to a lib/ folder, but anyways, it can obviously provide a benefit if it's got a license, and also having a place for issues for it.

Okay, I published https://github.com/1j01/os-gui
You can try using it as soon as you want, or you can wait til it's further along, better packaged up etc., whatever works for you. (I haven't updated my projects to use it yet, so I don't know how feasible it is yet,)

Update: jspaint is now open source (MIT licensed, as of today), and uses os-gui (has been using it for a while now)


Easy way to test Source, SourceTransformer, Map, and Sink in Java

Summary
The way we functional test the Java SDK is to create a local gRPC in-process channel, an input and output stream observer for sending and receiving test data. It's a good use for us as SDK developers but not for users because users shouldn't care about gRPC. We should build a wrapper around gRPC so that we don't expose it to the user.
The ideal way for users to test a Java UDF is that users only take care of implementing the interfaces, invoking a startServer function to get the UDF running, and then calling send and receive to mock input data and verify output data.
An example user test for the mapper function:
startSever(new MyMapper());
MapperTestKit.sendMessage(myTestMessage);
Message myTestOutputMessage = MapperTestKit.receiveMessage();
// verify myTestOutputMessage is as expected.
......

NOTE: We will not be providing a test interface ATM for the Reduce family of functions because it involves more machinery, such as COB, etc.
Use Cases
Testing integrated from IDEs

Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

I wrote the summary part and I would like to correct myself. When it comes to unit testing a UDF, we shouldn't even start a gRPC server. A unit test will only interact with the interface the user implements e.g. processMessage() for mapper.
Something like below:
testDatum = mock(value, watermark, eventtime, tag, header ...)
outputMessageList = processMessage(testDatum);
verify outputMessageList

Naga is working on a concrete example. To be added here.


Redesign the Thumbnails

Description

The Thumbnails currently have a basic look and can be redesigned to improve the look and feel
Reproduction

Add box shadow
Add hover effect like expand when we hover on them
Add some more padding between the thumbnails
Remove the underline from the headings and make them look more prominent

Expectation

Make the thumbnails look more attractive and aesthetic
Screenshots

Environment

Additional context

Resolution

[x] I would be interested in resolving this bug.

@tinniaru3005 Hi! and thanks for this! ❤
I agree that the thumbnails need to be brought up to speed on the newer look-and-feel.
That said I'm not necessarily sold on all the routes listed above. I'd urge you to look through the visual documentation for how Vocabulary (our current Design System) is used to get more inspiration from how elements such as this should look and expand new suggestions from there.
Moving to ticket work required as we zero in on a compatible approach here.


Extended compatibility matrix

Which problem is this PR solving?
Resolves: https://github.com/jaegertracing/jaeger-operator/issues/2219
Short description of the changes
The compatibility matrix was missing date for some version. This PR adds that.

@frzifus idk what I'm doing wrong here. This is the third PR i've created to close the associated issue but the CI checks never complete.

@frzifus idk what I'm doing wrong here. This is the third PR i've created to close the associated issue but the CI checks never complete.

I think the CI doesn't trigger when the modification is only about documentation. in any case this LGTM.


First steps in adapting to the new webbrowser control

Do the first steps in adapting to the new webbrowser control:

Insert the new webbrowser control
make the necessary changes to get it working

Published as pre-release version 2.00.11


Seems the leaderboard has stopped updating for a long time?

Hope the leaderboard keep updating since there are a lot of new models coming out recently.

Hi @zmcmcc which models are you thinking about?
we are always accepting PRs !


nuxt suport?

not work here ;-(

@gabrielmancini I haven't used Nuxt before and thus does not know what the problems are, but if you are willing to make a fork with a test branch where you set up Nuxt and vue-cookie then I am happy to take a look at it.

its working now :-)

@gabrielmancini  Okay, I am glad you got it working 👍

@gabrielmancini what did you do? I have undefined on this.$cookie object, i'm using Nuxt too.

src/plugins/vue-cookie.js
import Vue from 'vue';
import VueCookie from 'vue-cookie';
Vue.use(VueCookie);
const cookie = VueCookie;
export default cookie;

nuxt.config.js
{
...
  plugins: [
    {src: '~plugins/vue-strap', ssr: false},
    {src: '~plugins/vue-i18n', ssr: false},
    {src: '~plugins/vue-cookie', ssr: false, injectAs: 'cookie'}
  ],
...

How about without nuxt?

my working /plugins/vue-cookie.js file is:
import Vue from 'vue'
import VueCookie from 'vue-cookie'
Vue.use(VueCookie)
export default function ({ app }) {
  app.$cookie = VueCookie
}

with nuxt middleware  support ?


Fix sole target check for ui printing

Stack:

#651
#650 ⬅
#649
#629
#628
#626
#627
#615
#597
#612

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.


Change the way of release workflow

resolves: https://github.com/provectus/kafka-ui/issues/1325

Pom files now use cmdline parameter -DbuildVersion when building. If no param provided - 0.0.1-SNAPSHOT will be set.

Implemented release drafter workflow that is triggered on each master push. It creates release draft and forms changelog based on pull request since the last release that were merged with specific labels. Release drafter config is in .github/release_drafter.yaml

Master workflow is triggered manually and uses $GITHUB_SHA as the build version

Release workflow is triggered on release publish event and uses release tag as the build version

Branch-deploy workflow now  uses $GITHUB_SHA as the build version

Not to merge until 0.3.2 release.


Remove incorrect transformation of profile map

Remove incorrect transformation of profile map
Force cookie expiry when SSO cookie matches no credential in store


[MAUI] Newbie help

Please forgive my newbiness here, longtime .NET MVC dev, but brand new to MAUI, and mobile app dev as a whole...
I'm misunderstanding a key part, I suppose. Can I use this in AppShell, or is this something separate? When I tried using it in Shell, I was getting an incompatibility error with IList.

@leijae You can use it with Shell, there should be no compatibility issues whatsoever


Tweaks on 866

Builds on #866 - closes it and adds a few tweaks.

retest this please
Test failure is unrelated, and thus requires attention separately from this PR:
java.lang.AssertionError: expected [2] but found [1]
	at org.apache.brooklyn.test.framework.TestEffectorTest.testEffectorFailureRetriedUpToMaxAttempts(TestEffectorTest.java:247)

retest this please
non-deterministic test failure this time is
Error Message

expected one element but was: <{myKey=myDefault}, {myKey=valIsV1}>
Stacktrace

java.lang.IllegalArgumentException: expected one element but was: <{myKey=myDefault}, {myKey=valIsV1}>
	at org.apache.brooklyn.enricher.stock.UpdatingMapTest.testUpdateMapEmitsEventOnChange(UpdatingMapTest.java:126)

also note the one in previous comment.  the list seems to be growing again :(

ran this locally, got a real failure @aledsage:
Failed tests:
  BrooklynLauncherUpgradeCatalogOsgiTest.testRemoveLegacyItems:92->AbstractBrooklynLauncherRebindTest.assertCatalogConsistsOfIds:183->AbstractBrooklynLauncherRebindTest.assertTypeRegistryConsistsOfIds:206 Expected [two:1.0.0, three:0.2.0, four:0.1.0], found [two:1.0.0, two:0.1.0, four:0.1.0, one:0.1.0, three:0.2.0, three:0.1.0] expected [true] but found [false]

@ahgittin I'm guessing your comment about the failing BrooklynLauncherUpgradeCatalogOsgiTest.testRemoveLegacyItems was meant against https://github.com/apache/brooklyn-server/pull/867, instead of this PR? I've fixed it in #867 and jenkins is running again.
Assuming that is the case, then do you want to merge this PR after #867 (given it may well cause merge conflicts, which will be faster to handle here?)


Cannot find module .app/modules/user

Dear all,
I tried to find a solution for the below error
but no success so far unfortunately. I have cloned the repo and compared the provided code with mine but can't spot the problem. I also checked the access rights of folders and all but I'm stuck. I am just starting with coding so if you have further general advice how to best debug please feel free to add this to your answer. Cheers!
module.js:339
throw err;
^
Error: Cannot find module './app/models/user'
at Function.Module._resolveFilename (module.js:337:15)
at Function.Module._load (module.js:287:25)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object. (/Users/cph/Public/Coding/hacks/actioncy-learn-to-code/app/server.js:10:18)
at Module._compile (module.js:425:26)
at Object.Module._extensions..js (module.js:432:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Function.Module.runMain (module.js:457:10)
at startup (node.js:136:18)
at node.js:972:3

zzzZZZZZzzzzzZZZZZZZ

@cpheimbach Do you have a link to the code you are having issues with?

app.zip
@josephkandi Hi Joseph, thank you very much for having a look at my code. I attached a zip file with all I have done following the instructions.
Christian

@cpheimbach Change this line from
var User       = require('./app/models/user');
to
var User       = require('./models/user');
The issue is the models folder is in the same folder path as your serve.js file. So the right way will be to use the ./, the path will be relative to the server.js file.

@josephkandi Hey mate, thank you very much! It works and I couldn't have done it without your help. I am a newbie as you can tell and I still trip over these small but crucial mistakes. Thank you for have taking the time. Let me know if I can return the favour. I am a marketer by craft so if you need assist in that area ping me a message. Now I can continue the course. Cheers!

Check this, briefly explained here, and you can fix it https://youtu.be/idJHHxA02l8


Recipe Retrieval:

Acceptance Criteria:

[ ] Integrate with a recipe API like Spoonacular or Edamam using their provided endpoints.
[ ] Implement search functionality to allow users to find recipes based on keywords, ingredients, or cuisine types.
[ ] Fetch recipe details, including ingredients, instructions, and nutritional information

User Story:
As a user, I want to have a wide variety of recipes suggested to me based on the food that I have and my preferences. I want to see details from the recipe to give me the information I will need to decide if I want to make it.


Periodic delays of TF inference time in batch process

Please make sure that this is an issue related to performance of TensorFlow.
As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:performance_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10, Ubuntu 18.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: --
TensorFlow installed from (source or binary): Binary
TensorFlow version (use command below): 2.2.0, 2.6.0
Python version: 3.8
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 10.2, 11.2
GPU model and memory: GTX 960M

Describe the current behavior
mytime = datetime.now().strftime("%m_%d_%Y_%H_%M_%S_%f")
logFile.write(("Prediction Time Start          :{ptime}\n").format(ptime=mytime))

prediction_cam1 = model.predict(my_image_arr_norm_expand)

mytime = datetime.now().strftime("%m_%d_%Y_%H_%M_%S_%f")
logFile.write(("Prediction Time End          :{ptime}\n").format(ptime=mytime))

The graph below shows batch inference time of a group of images. X-Axis is image no and Y-axis is inference time in milliseconds. Average inference time 60-70 ms is OK for my project but these periodic delays which have inference time over 150 ms are not OK. At first I thought this may be related to program priority. So I changed its priority to real time priority in Windows 10(TF:2.2.0, CUDA:10.2) but it did not changed anything. There were still these periodic delays.
Then I changed OS to Ubuntu where I can modify kernel. I repeated same steps as I did in Windows 10 first. My steps were :

Take log of prediction code.
Take log of prediction code with niceness value -20.
Changed linux kernel to low latency version
Take log of prediction code with priority 40.
Take log of prediction code with priority 80(change multiple pid values which had same name like 'python inference.py')
Force garbage collector at the end of each cycle with gc.collect().

After all these steps periodic delays still exist.

Thanks to any help in advance.

Hi @mayantd!
Please post this issue on keras-team/keras repo.
To know more see;
https://discuss.tensorflow.org/t/keras-project-moved-to-new-repository-in-https-github-com-keras-team-keras/1999 . Thanks!


Using 3RDPARTY for QMI interfaces

I am using dhcpcd in IPFire, which I would like to extend by supporting QMI interfaces (a new interface to talk to 4G/5G/... modems).
The process is sadly quite complicated, but it seems to be consensus to use a DHCP client when there is no actual DHCP to talk.
To make this short, I will initialise the modem with any provider specific settings and then configure it into "Raw IP" mode after which I have a Point-to-Point interface. Starting dhcpcd on this is doing nothing at all at first. I have then extended my hook scripts to use the 3RDPARTY reason to read the IP configuration that the modem would have received from the provider and then configure it to that interface using "ip addr" and "ip route".
Then, dhcpcd will consider the interface to be statically configured and call scripts accordingly.
However, there are some problems with this process. Documentation says that a default route to the PtP interface will be added. I do not see this at all and could not find where in the code that is supposed to happen.
dhcpcd exists occasionally because something has "timed out". That happens after the IP address was successfully configured and I cannot see why there would be a reason to do so. Reading the code, I considered the problem to be link detection on the PtP interface, but using "--nolink" did not have any effect.
Another slight problem is also that I cannot inform dhcpcd about a few things it normally is aware of. That is for example the default gateway, any DNS servers and the MTU. I can handle those myself, but it is a slight problem that the hook scripts won't be called again with "3RDPARTY", but only for "STATIC".
I am now just wondering whether 3RDPARTY is the way to go here. I assume the idea is that dhcpcd can detect when the interface lost link to the provider and then restart the whole initialisation with a potentially changed IP address. However, I would not expect the device driver to handle this.
I am currently on dhcpcd 9.4.1.
Is there any known implementation of this where this works well? Did I misinterpret the documentation about the default route?

See #75 for some more QMI details.
My understanding is that in Raw IP mode there is a DHCP server at the other end to talk to which supplies things like IP address, default route and DNS. So you should be seeing an Ethernet interface and get the BOUND/REBIND/RENEW etc messages like DHCP on any other interface.

Hey Roy,
thanks for your swift reply.
An emulated DHCP would be absolutely perfect for me. Sadly, I didn't get that to work when I just launched dhcpcd on the interface because it did not send anything - I would have expected some request.
Are there any more configuration options that are required?

I don't know sorry,
I don't have any QMI devices to test nor help with.

No worries. Thanks for the information so far. I will do some more research and come back...

You lead me to the right solution. In dhcpcd.c, STATIC mode is being enabled when the interface is either a loopback interface or PtP:
https://github.com/NetworkConfiguration/dhcpcd/blob/master/src/dhcpcd.c#L447
Passing --dhcp on the command line makes dhcpcd ask for an IP address and then things are working as usual.
Thanks for the lead! Closed.


[React] New markdown editor

For fields that support markdown (like "notes") we currenly use easymde.
However it looks like mdx-editor would be a better choice - https://github.com/mdx-editor/editor
It supports mode advanced editing features (including image resizing) and a better, more "modern" look and feel. Better react support too.

Something more modular (enableing mentions and inline links linke GitHub has) like tiptap might also be intresting

I like that there is a WYSIWYG and diff editor, but still a source editor. But we need to consider that change well, because there are some special markdown flavors involved that maybe people will use and break later if we migrate to something else.


do not let users delete the running rancher/agent container

we will no longer be hiding the rancher/agent containers by default (#6483). instead we will no longer allow being able to delete the running rancher/agent container.

Tested with v1.2.0-pre4-rc12.
UI does not given option to "restart"/"stop"  rancher/agent containers by default. When attempting using api , we get the following error
"message": "Can not delete rancher-agent"```


vynil-fs 2.0 breaks gulp.dest

The following code stopped working after vynil-fs has been updated to version 2.0 in the commit f3447dc91d9d6167f4b3aa10c1d45dc224f7f37a
the commit before this one is working as expected.
The issue is that not ALL the files are copied to the destination directories but only some of them.
The idea behind the following task is to copy a folder contents to the destination directory only if it doesn't exist in the destination or if source is newer than the existing one.
var gulp = require('gulp'),
    es   = require('event-stream'),
    path = require('path'),
    newer = require('gulp-newer'),
    gulpPrint = require('gulp-print'),
   settings = {
        source: {
            modules: 'node_modules/*'
        },
        destination: {
            modules: 'dest/node_modules'
        }
    };
function syncModules() {
    return gulp.src(settings.source.modules)
        .pipe(newer(settings.destination.modules))
        .pipe(gulpPrint(function(filepath) {
            return 'Module updated: ' + filepath;
        }))
        .pipe(copyFolderContents);
}

var copyFolderContents = es.map(function(data, cb) {
    if (data.isDirectory()) {
        var filepath = path.relative(process.cwd(), data.path);
        var pathToPass = filepath + '/**/*';
        var module = '/' + filepath.split('/')[1];
        gulp.src(pathToPass)
            .pipe(gulp.dest(settings.destination.modules + module));
    }
    cb(null, data);
});
gulp.task('default', syncModules);

I can't debug this because you are using streams wrong.  You shouldn't be constructing a separate pipeline inside another pipeline, streams really only work when there is a single pipeline.   My gut feeling is that because there is no references to your nested pipeline, it is being garbage collected before your pipeline finishes.  Please update your usage of streams and see if that works.


Does not build with putty 0.71

make: *** No rule to make target 'putty-0.71/sshbn.c', needed by 'sshbn.o'.  Stop.

Hi @luigino,
As a follow-up to the emails: There are a lot of interface changes for frontends between the last supported putty version (0.70) and the current upstream version (0.73).
I don't have any opportunity now to rework the project to add support for the most recent versions, sorry.

I see. Thanks for all of your work and any future one!


Moving the "Tests in DiSTAF" to Eco-System section

This patch moves the "Periodic DiSTAF testing" from under the section "Miscellaneous Enhancements" to "Eco System".

@nixpanic @amye This patch moves the distaf tests to eco-system section. If you think it makes sense there, please merge this patch.

Looks good to me, thanks!


Dviz

Codecov Report

Merging #14 (af5e62a) into main (93777e6) will decrease coverage by 0.65%.
The diff coverage is 23.07%.

@@            Coverage Diff             @@
##             main      #14      +/-   ##
==========================================
- Coverage   93.40%   92.75%   -0.66%
==========================================
  Files          17       17
  Lines        1396     1408      +12
==========================================
+ Hits         1304     1306       +2
- Misses         92      102      +10

Flag
Coverage Δ

unittests
92.75% <23.07%> (-0.66%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

gpax/utils.py
75.51% <23.07%> (-19.09%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Replace all usage of PyCrypto with python-cryptography

PyCrypto is dead (the last release to PyPI was in October 2013) and insecure:
https://github.com/dlitz/pycrypto/issues/173
see: https://issues.apache.org/jira/browse/LIBCLOUD-1015

Codecov Report

Merging #1280 into trunk will increase coverage by 0.02%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##            trunk    #1280      +/-   ##
==========================================
+ Coverage   85.91%   85.94%   +0.02%
==========================================
  Files         359      359
  Lines       73777    73774       -3
  Branches     6689     6689
==========================================
+ Hits        63386    63404      +18
+ Misses       7719     7698      -21
  Partials     2672     2672

Impacted Files
Coverage Δ

libcloud/test/common/test_google.py
97.23% <ø> (+2.76%)
:arrow_up:

libcloud/common/google.py
65.33% <0%> (+3.33%)
:arrow_up:

libcloud/test/compute/test_ec2.py
97.9% <0%> (+0.16%)
:arrow_up:

libcloud/test/compute/test_upcloud.py
91.39% <0%> (+1.32%)
:arrow_up:

Continue to review full report at Codecov.

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

@tonybaloney any chance you've got some time to look over this change?

Looks good to me. (It's been a long time since I touched this code though.)

For what it's worth, we use libcloud in https://github.com/ansible/awx for generating cloud inventory from hosts in your GCE account, and I was able to step through this code w/ a debugger and see it properly auth and pull down hostnames from Google's API.

Thank you for this contribution :+1:
I'm +1 for it, because as you've said, PyCrypto in not actively maintained anymore.
In the past, we had more code relying and using PyCrypto, but that's not the case anymore so the change is relatively contained and straight forward.
I will look into failing tests, fix them and merge this into master.

Merged, thanks!


Upgrade many nuget packages

Description of the new feature / enhancement
many packages can be updated to latest
Scenario when this would be used?
keeping stuff current
Supporting information
No response

Hi @crutkas .
Do you have plans to update the CommunityToolkit.WinUI packages in this issue?
The issue #29999 will be resolved with the update.

All depends on their release cycle. We like upgrading early in a cycle so we get bake time. Lemme ask when they plan to release

Looks like an update released a few days ago for toolkit. In theory should be an easy upgrade.

Thank you for upgrading.

Hi, this has been worked on for the 0.78 development cycle. 😄
Please update PowerToys to the latest: https://github.com/microsoft/PowerToys/releases


Undeprecate existing encrypt and decrypt methods

In #13889 I deprecated the existing encrypt and decrypt overloads in favor
of the more flexible counterparts. Heath made a good point about warnings
causing possible build errors. The existing methods are also perfectly suitable
for encrypting / decrypting using RSA so they don't need to be deprecated.
This commit just removes the deprecation doc comment and updates the
CHANGELOG.

As far as I know, putting @deprecated doesn't really break any builds, it's just informational in folks' IDEs. I think it's safe to use and helps nudge people in the right direction. Has anyone seen otherwise?

Does/can it generate warnings, though? The reason .NET doesn't use [Obsolete] is because it does create a warning, which many builds treat as errors. Thus, without making a code change, their builds break. Can you be absolutely sure that @deprecated will never cause warnings/errors?
If not, let me ask: does it provide any benefit to deprecate them? All I can think of is if they use AES algorithms, they won't have to wait for a service response to tell them it was wrong. But hopefully that would get caught early in development.

Does/can it generate warnings, though? The reason .NET doesn't use [Obsolete] is because it does create a warning, which many builds treat as errors. Thus, without making a code change, their builds break. Can you be absolutely sure that @deprecated will never cause warnings/errors?

I dug into this a bit, since the scene has evolved since @deprecated was merely a humble JSDoc directive.

JS itself doesn't care
There are some lint rules out there that check this (though I've only found them for TS):  https://palantir.github.io/tslint/rules/deprecation/
TypeScript now actually interacts with this as of 4.0 and can give build errors: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-0.html?ref=hvper.com#-deprecated--support

So it does seem that this can break now, which to me merits at least a minor version bump if we want to deprecate things in order to avoid spurious build breaks. @bterlson does that sound reasonable to you?

Build breaks should not occur except in a major version bump, according to semver rules. Even a minor version bump seems drastic in lieu of just leaving it as an overload. Is there any real downside to leaving it as an overload (in TS; in JS it's obviously just conditioning execution based on the shape)?

Build breaks should not occur except in a major version bump, according to semver rules. Even a minor version bump seems drastic in lieu of just leaving it as an overload. Is there any real downside to leaving it as an overload (in TS; in JS it's obviously just conditioning execution based on the shape)?

What's tricky to me is this only affects TS customers with TS > 4.0, which added this behavior long after we wrote our guidelines. I agree with the principle of what you're saying, but it does seem annoying if we can't @deprecate API surface without a major version bump (since if we're doing a major, why not just remove the thing?)
I'm also not opposed to leaving the overload, but having one annotated as "blessed" at least helps people future proof their code in case we do take one out later.

After consulting with @bterlson and doing some testing with actual tsc (not just the playground) it doesn't seem to actually break the build or do anything (no warnings, no errors.)
So it's only an IDE experience after all and safe.

Closing as


function error

it always gives me this error even though I installed it for the first time:
TypeError: argument fn must be a function
at Function.wrapfunction [as function] (C:\Users\omerakgoz34\scoop\persist\nodejs\bin\node_modules\local-web-server\node_modules\depd\index.js:399:11)
at populateConstructorExports (C:\Users\omerakgoz34\scoop\persist\nodejs\bin\node_modules\local-web-server\node_modules\http-errors\index.js:264:45)
at Object. (C:\Users\omerakgoz34\scoop\persist\nodejs\bin\node_modules\local-web-server\node_modules\http-errors\index.js:30:1)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:643:32)
at Function.Module._load (internal/modules/cjs/loader.js:556:12)
at Module.require (internal/modules/cjs/loader.js:683:19)
at require (internal/modules/cjs/helpers.js:16:16)
at Object. (C:\Users\omerakgoz34\scoop\persist\nodejs\bin\node_modules\local-web-server\node_modules\raw-body\index.js:16:19)

there is not enough information here.. it always you that error when? With what config? Which node version? Which OS? Please post a reproduction case - instructions i can follow to reproduce your issue.

Win10 v1903
original nodejs v12.6.0<EMAIL_ADDRESS>No config, setting etc...
I just typed "ws" and boom! error :(
I've never seen this error before

i just did a clean install of local-web-server and ran ws and it worked correctly. Could you try reinstalling please?

There may be an incompatibility with the new version(v1903) of windows. Because it working on android :/
I've already just clean installed windows. I installed lws after installing Windows but it gave error: //
:(

try this solution: https://github.com/facebook/create-react-app/issues/7315#issuecomment-508271732

also, this post says it is a node v12 issue: https://stackoverflow.com/questions/56859092/why-does-the-typeerror-argument-fn-must-be-a-function-error-occur-when-runnin
closing as it's not a bug in local-web-server.

Thanx :)

you're welcome, let me know if you find anything else.

There is a similar problem with using gulp. I solved problem. I found to solution character encoding. Pc language turkish. Vscode editor character encoding UTF-8 and CRLF. I changed to settings ISO 8859-9 and LF. It's working.

There is a similar problem with using gulp. I solved problem. I found to solution character encoding. Pc language turkish. Vscode editor character encoding UTF-8 and CRLF. I changed to settings ISO 8859-9 and LF. It's working.

Thanx(teşekkürler) ;)

There is a similar problem with using gulp. I solved problem. I found to solution character encoding. Pc language turkish. Vscode editor character encoding UTF-8 and CRLF. I changed to settings ISO 8859-9 and LF. It's working.

Bu hata v12.6'ya aitmiş. v12.4'de çalışıyor ve bu hatadan dolayı da Electron ve birçok linux dağıtımları v12.4'de bekliyor.

There is a similar problem with using gulp. I solved problem. I found to solution character encoding. Pc language turkish. Vscode editor character encoding UTF-8 and CRLF. I changed to settings ISO 8859-9 and LF. It's working.

Bu hata v12.6'ya aitmiş. v12.4'de çalışıyor ve bu hatadan dolayı da Electron ve birçok linux dağıtımları v12.4'de bekliyor.

Kaynak veya issue var mı?
İs there a source or opened issue?

There is a similar problem with using gulp. I solved problem. I found to solution character encoding. Pc language turkish. Vscode editor character encoding UTF-8 and CRLF. I changed to settings ISO 8859-9 and LF. It's working.

Bu hata v12.6'ya aitmiş. v12.4'de çalışıyor ve bu hatadan dolayı da Electron ve birçok linux dağıtımları v12.4'de bekliyor.

Kaynak veya issue var mı?
İs there a source or opened issue?

opened issue bulamadım ama toplumda çoğu kişi öyle söylüyor. Bende 12.6 ve 12.8 denedim çalışmadı, sonra 12.4 yükledim çalıştı. 10.6 LTS sürümünde de çalışıyordu.
I couldn't find error report but most people in society say so. I tried 12.6 and 12.8 but it did not work, then I installed 12.4 and 10.6 it's work.   (cümle biraz garip oldu ama neyse xd)

@ahmetozcelik
opened issue bulamadım ama toplumda çoğu kişi öyle söylüyor. Bende 12.6 ve 12.8 denedim çalışmadı, sonra 12.4 yükledim çalıştı. 10.6 LTS sürümünde de çalışıyordu.
I couldn't find error report but most people in society say so. I tried 12.6 and 12.8 but it did not work, then I installed 12.4 and 10.6 it's work. (cümle biraz garip oldu ama neyse xd)


Anishhello

This Pull Request resolves Issue #11
Said "Hello!" to the world in python

Any updates here? Or should we close the Pull Request?

Hello
I apologise for the delay. I shall make the required changes and send a
pull request before 0000hrs tonight.
On Oct 10, 2017 1:58 PM, "Salman Shah"<EMAIL_ADDRESS>wrote:
Any updates here? Or should we close the Pull Request?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/WebClub-NITK/Hacktoberfest-2k17/pull/234#issuecomment-335399719,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ae6SyIo6eoFOw5UNpCgPRAtGVrLo_va1ks5sqyqugaJpZM4Pt1xk
.

Alright not an Issue!


[ENH] Parallel Backend

Should we change the parallel backend to threading in the classifiers?
Parallel(n_jobs=n_jobs, backend="threading")(

I have noticed issues when calling nested Parallel-constructs.
@MatthewMiddlehurst @TonyBagnall I recall, you noticed similarly?

yes we had issues. Matthew may remember better than me, but I think it tends to time slice and pickle, which can cause permission issues, and that changing the backend to threading ameliorated it. I did not get to the bottom of it, there is a fair amount to do with threading classifiers imo, but we should default to backend threading imo

Thus, we could change it for all classifiers? Or maybe make it a parameter of each classifier?

I would choose to hard code it for each classifier, I don't think it really needs exposing as a parameter. Having said that, I do not have a full grasp on the ramifications. Testing/benchmarking the parallel is on my (long) list. So perhaps change classifiers where its an issue, run some experiments pre and post with those to make sure its better and correct, and leave the policy change until we can properly evaluate it across the board

I think we should eventually expose it as a parameter, but just hardcode threading for now. This has solved multithreading issues in the past.

Has been solved with recent commit


[stable/spinnaker] Template Annotations for Spinnaker HAL Cleanup Job

What this PR does / why we need it:
Fixes an issue related to the correct termination of the Spinnaker HAL cleanup job like described in #20046. I believe adding the annotation templating capability for this job was missed in #12355.
Which issue this PR fixes

fixes #20046

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @viglesiasce

/assign @dwardu89

@viglesiasce @ezimanyi @dwardu89 any chance we can merge this soon (the related ticket #20046 is already marked as stale)? Is there any way I can help? I am sure you're all busy, so even a small update is greatly appreciated.

/lgtm


Bincode support

bincode is a lightweight serialization format that's built on rustc-serialize. I've got it mostly ported over, so this is more of a notice in case anyone else was planning on working on it.

@erickt Ping. I think the infrastructural work for this landed? Do you have an ETA on when this will be merged?

This has landed in bincode!


Implement a proof-of-concept on-call and support office hours schedule

https://pagerduty.com is free for 5 people

Closing in favor of #2489


Implement a way to add new deadchat questions

Currently the only way to add more !deadchat questions is to insert them directly into the database. This should be possible in the same way as adding daily-challenge questions.
Blocked
This issue is currently blocked by the ongoing migration to Prisma.
Implementation
To be determined because I don't know how this works with Prisma

This is currently not (cleanly) possible due to https://github.com/prisma/prisma/issues/2506
Given this feature isn't used often and adding deadchat questions manually isn't much of a problem, I would like to wait for a native Prisma solution for now.


Pipeline support for multiple adds when it is not present in redis

I would like to pipeline multiple creates, how do I accomplish it with this library?
@averias

So far, this library neither provide Redis Pipeline nor a kinda multiCreate command, so you have to issue a create command for each time-series

Oh okay, I was able to access the underlying redis client object and do redis.call() and then execute.

Are you accepting contributions?

sure, are you interested?

Yes)

Hi @samrudhsshetty, do you have a small example?


Feature/two phase

Implemented delayed lift for function bodies until all declarations are lifted.

 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.


Secondary Entrypoints in Libs

Search terms
NX, Monorepo, Angular, Library, Libs
Question
Hi there,
is there currently a way to include secondary entrypoints inside a library into the documentation.
E.g.:
My project consists of 2 "TypeDoc"-Entrypoints, "Store" and "Model". The "Store"-library consists of eine primary and 4 secondary entry points, which right now in my setup are completly ignored.
Or am I doing something wrong ?

It sounds like you want #1937 to me, is that accurate?

Honestly, I am not sure. In Angular, the secondary entrypoints are created by adding subfolders with additional ng-package.json-Files. And from here the ng-packagr takes over. A good sum-up of this is https://sandroroth.com/blog/angular-library

TyepDoc doesn't have any special casing (and I don't want to add any, most people don't use Angular) for ng-* files.
However, it looks like that setup could be used to produce reasonable documentation with TypeDoc, here's a forked example from that article with TypeDoc added: https://github.com/Gerrit0/angular-library-example
The relevant bits are:
typedoc.json - adding entry points, making it compile
{
  "$schema": "https://typedoc.org/schema.json",
  "name": "Angular API",
  "entryPoints": [
    "projects/mycomp/ui-sdk/public-api.ts",
    "projects/mycomp/ui-sdk/button/public-api.ts",
    "projects/mycomp/ui-sdk/i18n/public-api.ts",
    "projects/mycomp/ui-sdk copy/public-api.ts",
    "projects/mycomp/ui-sdk copy/button/public-api.ts",
    "projects/mycomp/ui-sdk copy/i18n/public-api.ts"
  ],
  "compilerOptions": {
    "skipLibCheck": true
  }
}

public-api.ts - using @module to override the display name
diff --git a/projects/mycomp/ui-sdk/public-api.ts b/projects/mycomp/ui-sdk/public-api.ts
index e619023..aa05058 100644
--- a/projects/mycomp/ui-sdk/public-api.ts
+++ b/projects/mycomp/ui-sdk/public-api.ts
@@ -1,3 +1,6 @@
+/**
+ * @module ui-sdk
+ */
 export * from './src/ui-sdk.service';
 export * from './src/ui-sdk.component';
 export * from './src/ui-sdk.module';

Okay, since this a very special combination I got here, I guess I just have bad luck :)


ManagedChannel not properly closed

Describe the bug
https://github.com/spring-cloud/spring-cloud-gcp/blob/master/spring-cloud-gcp-autoconfigure/src/main/java/org/springframework/cloud/gcp/autoconfigure/pubsub/GcpPubSubEmulatorAutoConfiguration.java#L48
The ManagedChannel here is not closed properly upon application context close, and may produce a warning:
i.g.i.ManagedChannelOrphanWrapper        : *~*~*~ Channel ManagedChannelImpl{logId=1, target=dns:///<IP_ADDRESS>:32819} was not shutdown properly!!! ~*~*~*
    Make sure to call shutdown()/shutdownNow() and wait until awaitTermination() returns true.

ManagedChannel should be produced as a bean w/ destroy method specified, so that Spring can shutdown/destroy the managed channel.
Sample
https://github.com/saturnism/testcontainers-gcloud-examples/blob/main/springboot/pubsub-example/src/test/java/com/example/springboot/pubsub/PubSubIntegrationTests.java
Run with mvn verify to run the integration test and observe the error.

I think the root cause is that the ManagedChannel is not a bean in GcpPubSubEmulatorAutoConfiguration.

@saturnism I've run your sample, but I'm not seeing the error.


Design a press release page

Design should follow the theme of the website.

Hi @QAZIMAAZARSHAD ,I would love to design the press release page for the website. Please, assign it to me.

Hi @QAZIMAAZARSHAD ,I would love to design the press release page for the website. Please, assign it to me.

I already assigned you the career page issue.
Once you are done with that I will assign you this one.


on Back Pressed App is not Getting Exit

Actual Behaviour
App is not getting Exit When we press back 2 times
Expected Behaviour
App should close and exit onBackPressed
Steps to reproduce it
There are some bugs in lifecycle of activity
Screenshots of the issue
Till which milestone will you be fixing the issue?

Would you like to work on the issue?
yes

Hello, I would like to take up this issue !


parsing link in cluster connecting text

What would you like to be added:
Parsing of the connection text
Why is this needed:
Some hardening require to singin to some company portal (ex: https://microsoft.com/devicelogin) to authenticate.
This text is displayed in clear.
parsing of the text should create a link with the text
Environment you are Lens application on:

Kubernetes distribution: AKS but could be any distribution
Desktop OS: Windows but again any client will behave the same

Is this when the errors are displayed on the cluster connecting screen?

yes


About Z_BEST_COMPRESSION

hi,I use your open source for gzip,but i want to use best compression,so i change parms use best compression,but data isn't less than use default compression,
as:
#define Z_NO_COMPRESSION         0
#define Z_BEST_SPEED             1
#define Z_BEST_COMPRESSION       9
#define Z_DEFAULT_COMPRESSION  (-1)

There's no  guarantee that Z_BEST_COMPRESSION will make the file smaller, just that it won't make it bigger.


make tfrecord output format as fast as webdataset by using streaming and fsspec

current tfrecord format is 30% slower then webdataset when writing to a non local filesystem
it also supports only a limited subset of file systems
Let's figure out a way to use fsspec with tfrecord

dropping the tf dependency in order to support this without additional dependency wouldn't hurt either
after all tfrecord is just a small layer on top of protobuf and protobuf works just fine in python
so I don't see any blocker to support writing tfrecord in python in like 200 lines of code with no dep


Background color and text in tip "Gradle files have changed ..." are similar

I can't see words in this tip clearly. It might be better to change the background color.

Background color value is d8dee9

Hi @singlepig, thanks for your report 👍
I've also noticed these banners, but I haven't found any theme key that where I can change it's color.
I'll take another look in the course of the week and maybe create a requests in JetBrains bugtracker to allow to style these UI component.

Same problem

I've found the responsible theme key: NOTIFICATION_BACKGROUND
It's defined in the editor color scheme and not in the new UI theme :smile:
I guess JetBrains will move these sooner or later to the UI theme (makes sense for a UI element like this), but for now it's changed in #61 to make the text readable again.
Take a look at #61 if you like to get more details and maybe check out the branch to test the change.
It will be merged and deployed with the next release version.


Basic messaging for instititonal pivot

Depends on
What needs to be done before we can do this?

Done

What success / done look like?
What does it look like for this project to be done?

Done

Major sub-tasks

[ ] Testing messaging with stakeholders prior to release
[ ] Getting pre-sign ups prior to release
[ ] A program for institutions, including universities, charities and businesses to install the Open Access Button and Open Data Button established

Requirements
*What resources are needed for this project (e.g skills or funds)?

Done

RACI
Who is involved in this project? Use the RACI model to identify the roles

Responsible (who's doing the work)
@chealsye
Accountable (only one)
@JosephMcarthur
Consulted
@markmacgillivray , [Library], [Publisher], SPARC
Informed
Team

Moving back to allow time to fundraise for this effort


ftp archive

ftp://ftp.pombase.org/
we have
Archived_directories/
archived_files/
I think we should just have
Archive?
I never know which one to look in until I get there?
(then we can ask the EBI README  to link to the  new Archive)

@mah11 @Antonialock  sound OK, or was there a 'special" reason that we did this? I can't think of one?

Oh actually that won't work. There are "archived" as in deprecated, really, really archived, not previous datasets which are in OLD/subdirectories.
I won't ask them to link, but just to mention that the files are archived  at PomBase too.
So in this case should the Contigs  directory move somewhere else?

So in this case should the Contigs directory move somewhere else?

You would know better than I do, but I suggested putting Contigs/ in Archived_directories/ because Contigs/ contains nothing more recent than 2007, and the README says they're deprecated.

OK that clearly belongs in archive!

It sounds like we can go ahead with this (it might be done, I can't access the ftp site right now)
any question @kimrutherford ?

also I don't think we need "archived files" and "archived directories"

Should I go ahead and move everything to one "archive" directory?

Should I go ahead and move everything to one "archive" directory?

That would make sense to me.

Agreed!

Should I go ahead and move everything to one "archive" directory?

OK, done.


confusions between reshape_heads_to_batch_dim and heads_to_batch_dim

There are some confusing parts between the usage of the two pairs in tokenflow_utils.py:
1 reshape_heads_to_batch_dim and head_to_batch_dim
2 reshape_batch_dim_to_heads and batch_dim_to_head
For example, in tokenflow_utils.py, head_to_batch_dim appears in two blocks (in line 140, and 241 respectively)
to run the pnp example successfully,  I added a line before the block at line 241 like
self.head_to_batch_dim = self.reshape_heads_to_batch_dim
and it works. But to run the sdedit example successful, I need to add this line in a different place (in the line 140 block).
Same for the pair of {reshape_batch_dim_to_heads and batch_dim_to_head}. Is there a principled method to tackle this?

a question on tokenflow_utils.py:


[AMBARI-22832] Add flexible environment handling and environment depended API Url config.

(cherry picked from commit 446d07db89aa1a747187e943b430ecbba1abb314)
What changes were proposed in this pull request?
This is just a helper change to avoid committing a dev test Webpack config file.
Writing a custom webpack config with a dev server proxy is an easy way to test the client with real backend data, so that we can check our changes against a real backend.
The PR itself just about to help the developers to not to commit this custom config file.
Example webpack.config.dev.js file content:
const merge = require('webpack-merge');
const baseConfig = require('./webpack.config.js');

 module.exports = merge(baseConfig, {
  devServer: {
    historyApiFallback: true,
    proxy: {
       '/': 'http://c7401.ambari.apache.org:61888'
     }
  }
});

And you can run like this:
NODE_ENV=production yarn start --config webpack.config.dev.js
(Note that you have to set the NODE_ENV to production in order to skip the mock data!)
How was this patch tested?
No need testing (but I ran the unit tests :) )
Please review Ambari Contributing Guide before opening a pull request.

Closing in order to create a PR from proper feature branch.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3134/
Test PASSed.


Design Revamp

I want to completely change the design and color combination of the website and add animations to the website to make it seem cleaner and more professional. Possible places to apply these changes are as follows -

Make color and font changes to make the website look more antique.
The hover and card styling to be improved.
Card display and data display animations to be added.

@SpandanMozumder  Absolutely, you can work on this design revamp! Here’s a breakdown of tasks to help you implement the changes:

Color and Font Overhaul:

[ ] Select an antique color palette (earthy tones, muted colors).
[ ] Choose appropriate fonts (serif fonts or fonts with a vintage feel).
[ ] Apply the new colors and fonts across the website.

Hover and Card Styling Improvements:

[ ] Redesign hover effects for a smoother transition (e.g., fade-in, shadow).
[ ] Update card styles with new borders, backgrounds, and padding for a vintage look.
[ ] Ensure card spacing is adjusted for better readability and presentation.

Animations for Card and Data Display:

[ ] Add entrance animations for cards (e.g., fade-in, slide-in).
[ ] Implement hover-triggered micro-animations (e.g., zoom, slight rotations).
[ ] Use react-spring or Framer Motion for smooth, professional animations.

Responsiveness:

[ ] Test and adjust the new design elements for responsiveness on various screen sizes.
[ ] Ensure that hover effects and animations perform well on mobile devices.

Performance Optimization:

[ ] Optimize animations to minimize reflows and repainting.
[ ] Use GPU-accelerated animations where possible for better performance.
[ ] Ensure the website remains lightweight and fast after changes.

UI Component Library Integration (Optional):

[ ] Feel free to integrate UI component libraries like shadcn, Chakra UI, or any other that suits the design and functionality.
[ ] Ensure consistency with the new design theme if using a library.

Hello @suryanshsingh2001, can I work on these tasks as well? I have some experience working with UI stuffs.

Hello @suryanshsingh2001, can I work on these tasks as well? I have some experience working with UI stuffs.

Absolutely, please feel free to collborate with @SpandanMozumder

Gentle Reminder ⏰
Hi! When you're assigned an issue, please note that if there's no activity for over 7 days, we may need to unassign it to ensure project progress. This helps keep things moving smoothly.
Thank you for your understanding! 🙏

@HoangPhiHong1 @SpandanMozumder , Please start speeding up the process, you will be unassigned by this week, due to inactivity.


Update README.md

Codecov Report

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

@@            Coverage Diff             @@
##           master     #490      +/-   ##
==========================================
- Coverage   68.23%   68.11%   -0.12%
==========================================
  Files          49       49
  Lines        6844     6844
==========================================
- Hits         4670     4662       -8
- Misses       2174     2182       +8

Impacted Files
Coverage Δ

include/pistache/net.h
85% <0%> (-5%)
:arrow_down:

src/common/net.cc
84.06% <0%> (-1.65%)
:arrow_down:

src/client/client.cc
84.27% <0%> (-0.81%)
:arrow_down:

Continue to review full report at Codecov.

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


Convert CommonJS projects to es6 modules

TLDR: This is a feature request to manage common js dependencies as well as es6 module dependencies.
Details:
If my dependencies includes a common js project, try converting it to es6 modules via https://github.com/rollup/rollup-plugin-commonjs (which is already in pika/web's package.json devDependencies).
It would be fine to limit this to explicit @pika/web.webDependencies rather than all of my package.json dependencies.

I'd love to know if this is possible. My understanding was that the plugin could understand common.js dependencies, but wouldn't support common.js entrypoints (the top-level webDependency package) because it couldn't get the export interface right without knowing what was being imported off of it. Do you know if that is true?

Hi Fred. OK, to test this, I used a mapbox module, osmtogeojson, in a new temporary repo. The repo has an npm install of the current rollup and rollup-plugin-commonjs, along with the test module osmtogeojson:
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
I initially used this with an html file using a script tag, to convert an osm (open street map) format to geojson to make sure it all works. It did.
So I then created an esm rollup via:
import commonjs from 'rollup-plugin-commonjs'

export default {
    input: './node_modules/osmtogeojson/osmtogeojson.js',
    output: {
        file: 'osmtogeojson.esm.js',
        format: 'es',
    },
    plugins: [commonjs({})],
}

I ran this, changing the script version of the html file to a <script type="module"> and used an import:
        <script type="module">
            import osmtogeojson from './osmtogeojson.esm.js'

It worked perfectly! Yay!
I've used this before with good results.
Is this what you were wondering about? Basically, many well formed modules using require/comonjs can apparently be converted to working es6 modules. I will say the sample size is small, but hopeful.

TLDR: I tried this on another es5 repo to make sure this is a reasonable approach, and it worked.
Details: Another example: chart.js. I submitted an issue to them about modules, and in particular, showed how to create an es6 module via the rollup idea above.
https://github.com/chartjs/Chart.js/issues/5179#issuecomment-417889559
Just to make sure the above would still work, I created a new repo, with npm init, and installed rollup & plugins as well as chart.js.
<EMAIL_ADDRESS>/Users/owen/Dropbox/src/tests/cjs
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
I used this rollup.config.json:
import commonjs from 'rollup-plugin-commonjs'
import resolve from 'rollup-plugin-node-resolve'

export default {
    input: 'Chart.js',
    output: {
        file: 'chart.esm.js',
        format: 'esm',
    },
    plugins: [resolve(), commonjs()],
}

I ran rollup via npx like this npx rollup -c which produced
Chart.js → chart.esm.js...
created chart.esm.js in 1.5s

Just to make sure it worked, I made a quick chart which worked.
<!DOCTYPE html>
<html>
    <head>
        <title>Test</title>
    </head>
    <body>
        <canvas id="chart"></canvas>
        <script type="module">
            import chart from './chart.esm.js'
            const canvas = document.getElementById('chart')
            new chart(canvas, {
                type: 'line',
                data: {
                    labels: [
                        'January',
                        'February',
                        'March',
                        'April',
                        'May',
                        'June',
                        'July',
                    ],
                    datasets: [
                        {
                            label: 'My First Dataset',
                            data: [65, 59, 80, 81, 56, 55, 40],
                            fill: false,
                            borderColor: 'rgb(75, 192, 192)',
                            lineTension: 0.1,
                        },
                    ],
                },
                options: {},
            })
        </script>
    </body>
</html>

So I think we're on to something here. I'd start with limiting this to explicit @pika/web.webDependencies rather than all of my package.json dependencies.
I don't know how to test for success. We can test for rollup errors. And maybe build a simple html file that just imports the module and signaling a failure to load somehow.

Over here crossing paths with you on chart.js. Already using chartjs in a project based on pikaweb (but the nasty old fashined run around hacky way, per that chart.js issue). This would be amazing!

Hi @krumware, glad you're joining the conversation. I can use a sanity check!
Everyone: the Chart.js connection is here: https://github.com/chartjs/Chart.js/issues/5179#issuecomment-503391350
Did you ever try the rollup which uses the rollup-plugin-commonjs? I'd love feed back.
I did not look into the potential corner cases involving Moment for example. Moment has been converted to es6, but the issue is how would that work with the chart.esm.js mentioned above.
I think the answer here is that chart.js has a rollup, dist/Chart.bundle.js, which includes Moment.
So if we point pika/web to that, via @pika/web.webDependencies, then things should work. I'll give it a try.

TIL! This could be really great, thanks for doing the research on this!
Also because we use the commonjs plugin to handle internal, sub-dependencies, it looks like you can just point to common.js files (but not the package name) and @pika/web will already handle them, example:
"webDependencies": ["date-now/index.js"]

$ npx @pika/web
✔ @pika/web installed: date-now/index.js. [0.04s]

$ cat web_modules/date-now/index.js
var dateNow = now;

function now() {
    return new Date().getTime()
}

export default dateNow;
//# sourceMappingURL=index.js.map

I'm going to be on vacation for the next two weeks, and won't have regular access to internet.  But It also sounds like there's not too much actual implementation work here, just thinking through the interface / how the user turns this on, is that correct? Open to any ideas here!

Do we just use the "main" entrypoint if "module" doesn't exist?
Do we give any heads up if we do that?
Agreed that this should start as opt-in "webDependencies" only. We are also exploring better auto-detecting via #68 / #49

Yay! Glad it works out, especially basically as-is. And thanks for pointing at the two other issues which merge nicely with this.
No worries about the timing, have a great, relaxing, insightful vacation.

@backspaces Hi, I'm from issue #68, hope you don't mind my joining this conversation. So if I'm reading both of you correctly, the ability to bundle CJS modules such as "chart.js" and "osmtogeojson" is already available in @pika/web by just adding the main entry-point file (the same as its pkg.main) to<EMAIL_ADDRESS>

This seems to work!
    "webDependencies": [
      "styled-components/dist/styled-components.browser.esm.js",

import styled from '/web_modules/styled-components/dist/styled-components.browser.esm.js';

Although it's verbose. Normally I would suggest an optional alternative "alias" syntax, such as:
    "webDependencies": [
      ["styled-components", "styled-components/dist/styled-components.browser.esm.js"],

Then we could just do this:
import styled from '/web_modules/styled-components.js';

However, I think the plan in #68 would solve this in a cleaner and better way: let Pika automatically scan imports in user code, finding the "/web_modules/styled-components.js" path and determining from this that it must compile the "styled-components" NPM module.
That said, Pika still wouldn't know exactly how to compile styled-components without first knowing tha it must find "dist/styled-components.browser.esm.js", which is not listed in styled-component's package.main:
  "main": "dist/styled-components.cjs.js",
  "module": "dist/styled-components.esm.js",

Those are both node-specific bundles, so styled-components may be an exception to this working smoothly. But in the general case, I think as long as Pika can find either "module" or "main" and correctly bundle it using rollup-plugin-commonjs as suggested by this issue, then this plan should work for a good majority of packages.

Ah, this trick of putting "styled-components/dist/styled-components.browser.esm.js" inside webDependencies doesn't work correctly for packages that import styled from 'styled-components'; directly, such as "styled-icons". As expected, @pika/web then looks for styled-components and finds "module": "dist/styled-components.esm.js" which is not the correct file.
Even though this is specific to styled-components, which was verified to be a strange exception, it's generally true about any package which doesn't have a proper pkg.module || pkg.main entry point.
I think as a reasonable workaround, users can let @pika/web know about potential "incorrect" packages like this, similar to the "alias" idea above. Maybe in conjunction with the plan in #68, instead of a whitelist, there would be an aliases entry:
  "@pika/web": {
    "aliases": {
      "styled-components": "styled-components/dist/styled-components.browser.esm.js",

Here, devs would be able to specify "real" entry points for broken packages, and Pika would be able to "alias" them in a configuration with Rollup, by saying "every time you see styled-components, either directly, or via another package which is requiring it, use this file instead as the entry-point."

I just verified that the concept itself works:
import commonjs from 'rollup-plugin-commonjs'
import resolve from 'rollup-plugin-node-resolve'

export default {
  input: [
    'styled-components',
    'styled-icons/fa-solid/Clipboard',
    'Chart.js',
    'react',
    'react-dom',
  ],
  output: {
    dir: 'out',
    format: 'esm',
  },
  plugins: [
    renameHardcodedTest(),
    resolve(),
    commonjs(),
  ],
};

function renameHardcodedTest() {
  return {
    name: 'rename-hardcoded-test',
    resolveId(src) {
      if (src === 'styled-components') {
        return 'node_modules/styled-components/dist/styled-components.browser.cjs.js';
      }
      return null;
    },
  };
}

This works even with the import of styled-components found nested inside of styled-icons, and the output Clipboard.esm.js file contains import styled from './styled-components.browser.cjs.js'; which is indeed the only styled-components file there is in the "out" directory.
The function renameHardcodedTest stands in place of the logic that would look at<EMAIL_ADDRESS>and use that as the map.
I had to prefix the returned result with "node_modules" because otherwise Rollup wasn't able to find it. It seems that this is something the user should have to include in the aliased path themselves, because there's nothing magical about this prefix, it's just part of the path to the actual file that the user wants to include, starting at the project root.

(It's worth noting that the example in that comment uses @reactesm/react{,-dom} and installs it in react{,-dom}, because otherwise I couldn't get anything working with the actual React which isn't compatible with Rollup yet.)

Got the majority of this working in small independent snippets. Gonna try to tie it all together now in my fork.

One problem with this Rollup config is that the structure of the output directory doesn't match what we're importing:
out/
├── Chart.js
├── Clipboard.esm.js
├── chunk-5732a1e2.js
├── chunk-7be8ab94.js
├── react-dom.min.js
├── react.min.js
└── styled-components.browser.cjs.js

There's a few differences:

Often the filenames are different, such as the "react.js" in import '/web_modules/react.js' is different than the "react.min.js" that we actually see in the output directory.
The structure is different, such as how we have "Clipboard.esm.js" in the root of the output directory, whereas the input ("styled-icons/fa-solid/Clipboard") is gathered from a hypothetical import like import '/web_modules/styled-icons/fa-solid/Clipboard.js' which is nested.

When I add preserveModules: true, I do get a hierarchical tree, but I still don't get the structure that matches what the code hypothetically saw when scanning the imports:
out/
├── @emotion
│   ├── is-prop-valid
│   │   └── dist
│   │       └── is-prop-valid.esm.js
│   ├── memoize
│   │   └── dist
│   │       └── memoize.esm.js
│   └── unitless
│       └── dist
│           └── unitless.esm.js
├── Chart.js
│   └── dist
│       └── Chart.js
├── _virtual
│   ├── ReactPropTypesSecret.js_commonjs-proxy
│   ├── _commonjsHelpers.js
│   ├── checkPropTypes.js_commonjs-proxy
│   ├── factoryWithThrowingShims.js_commonjs-proxy
│   ├── factoryWithTypeCheckers.js_commonjs-proxy
│   ├── index.js_commonjs-proxy
│   ├── index2.js_commonjs-proxy
│   ├── index3.js_commonjs-proxy
│   ├── index4.js_commonjs-proxy
│   ├── moment.js_commonjs-proxy
│   ├── react-is.development.js_commonjs-proxy
│   ├── react-is.production.min.js_commonjs-proxy
│   ├── styled-components.browser.cjs.js
│   └── stylis.min.js_commonjs-proxy
├── is-what
│   └── dist
│       └── index.esm.js
├── memoize-one
│   └── dist
│       └── memoize-one.esm.js
├── merge-anything
│   └── dist
│       └── index.esm.js
├── moment
│   └── moment.js
├── object-assign
│   └── index.js
├── prop-types
│   ├── checkPropTypes.js
│   ├── factoryWithThrowingShims.js
│   ├── factoryWithTypeCheckers.js
│   ├── index.js
│   └── lib
│       └── ReactPropTypesSecret.js
├── react
│   └── react.min.js
├── react-dom
│   └── react-dom.min.js
├── react-is
│   ├── cjs
│   │   ├── react-is.development.js
│   │   └── react-is.production.min.js
│   └── index.js
├── styled-icons
│   ├── StyledIconBase
│   │   └── StyledIconBase.esm.js
│   ├── fa-solid
│   │   └── Clipboard
│   │       └── Clipboard.esm.js
│   └── node_modules
│       └── @emotion
│           └── is-prop-valid
│               └── dist
│                   └── is-prop-valid.esm.js
├── stylis
│   └── stylis.min.js
├── stylis-rule-sheet
│   └── index.js
└── tslib
    └── tslib.es6.js

Now we have "out/_virtual/styled-components.browser.cjs.js" instead of just "out/styled-components.browser.cjs.js"
We also still have "styled-icons/fa-solid/Clipboard/Clipboard.esm.js" which has the wrong filename (and ideally would be one directory higher but that point is confusing and slightly unrelated to this).

Regarding that last problem, Pika/web already seems to have the ability to do this, because it outputs modules matching the file/directory structure of webDependencies. But I can't for the life of me figure out where in the code this is happening. No output options seem relevant to it, none of the 5 plugins seem to make it happen. I'm just confused.

Got that working!
Turns out I needed to turn the array into a map:
  input: {
    'styled-components': 'styled-components',
    'styled-icons/fa-solid/Clipboard': 'styled-icons/fa-solid/Clipboard',
    'Chart.js': 'Chart.js',
    'react': 'react',
    'react-dom': 'react-dom',
  },

out
├── Chart.js.js
├── chunk-5732a1e2.js
├── chunk-7be8ab94.js
├── react-dom.js
├── react.js
├── styled-components.js
└── styled-icons
    └── fa-solid
        └── Clipboard.js

FYI https://github.com/brechtcs/webrunify

hey all! I'm back from vacation and really excited about this feature. I think there are two paths to go down that would make sense here:

Quick fix: For packages whitelisted in webDependences, support fallbacks for when the "module" entrypoint is not found. Basically, check for "module", then "browser", then finally "main" with a backwards-compat CJS. This will get rid of some of the verbosity problems around our current CJS backwards-compat story.
Larger fix: I think we want to move forward (carefully) with support for auto-detecting/analyzing imports, which could also help with this issue.

Update: the quick-fix (supporting CJS packages in the "webDependencies" whitelist) has been merged to master. It won't be released for a few more days. But, you can try it now via:
npm install http://cdn.pika.dev/@pika/web/master

This immediately helped with socket.io-client, which is a classic case of a frustratingly almost-compatible browser module.

into package.json:

  "@pika/web": {
    "webDependencies": [
      "socket.io-client"
    ]
  }

run

npx @pika/web

update imports to use

import io from '/web_modules/socket.io-client.js';

profit.

@krumware Are you still able to use socket.io-client with this set up? I can't seem to get it to work

@bskimball sorry for the late reply. I haven't used it in some time, but your solution makes sense since importing the full file path is required.
Also, Chart.js has a Next branch with esm support, unless they've already released 3.0+


fer2013训练好的模型

您好，由于自己的设备问题没办法实现对数据集fer2013的训练，请问您有最终达到70%左右准确率的参数文件吗？我想看一下最终效果，谢谢

i think the same setting of parameters meet 70+% accuracy on VGG using FER2013. I have tested it. I do not know why you did not get it.
https://drive.google.com/open?id=1Oy_9YmpkSKX1Q8jkOhJbz3Mc7qjyISzU
you can found here the pre trained model and run visulize.py to check the results


Update docs

Remove requirement of having nova on the ec2 instance. The latest version
of the nova-ami removes the need for this.
Highlight that stash commands don't use standard AWS API.
Remove getting started instructions from README. These are already in readthedocs.

Coverage remained the same at 70.096% when pulling 3a85c32525bcf8d313c9118252a9951055aa7867 on update_docs into 65250e7433e4a35117f7bd7cbeae04a840319ff9 on master.


Implement usecase tests

Addressing the first part of #345, this patch implements a CLI workflow outlined in issue #345.
There are not a lot of assertions in this test yet. There's little use in repeating assertions from the command tests. This is supposed to:

test that desired operations are actually expressible with onyo's interface (not the currently the case for querying assets for a value within a given range and for limiting the matches to exclude certain subtrees)
test that an entire flow doesn't encounter barriers that are unaccounted for in isolated tests for single commands
test that and how information retrieved by one command can be used in the next
inform further refinement of interfaces, features and outcome definitions

Additional assertions should come from decisions made (documented in issues), that more precisely define what is the desired behavior. This is particularly true for how the history should actually look like in order to facilitate an easy assessment of what exactly happened.
As a result of writing this test, I made the issues #358, #359, #360, #361. Issue #345 and this test should be further refined as those issues get addressed.
WRT #345 this addressing the first half (CLI). Identical test for python interface will be required but I don't plan to address it in this PR.

Thanks, I will merge :)


Prefix for registry tables not working

Installer when using registry tables has BUG. Calling fixed table “opal_installer_patches” during patch finish script. I’ve set different prefix “MOYPATCH” so it’s not anymore OPAL, I tried with MOYPATCH  it works until you try to update “end date”.

Fixed.
Also in installer_details use relative filenames and no longer absolute ones.


1527: Add Career Navigator to NJCC Homepage Nav Bar

Resolves 1527
How to test:
Make sure that when REACT_APP_FEATURE_CAREER_PATHWAYS is false and REACT_APP_FEATURE_CAREER_NAVIGATOR is true, it shows:

Explore Careers in nav bar with career navigator
Career navigator button in intro block
All Career Exploration Tools with the navigator card

(The tool will have to be added to contentful after published.)
Ready to merge when:

[ ] Dev approved
[ ] QA approved
[ ] When Navigator is ready to go live

LGTM - in the future I think we need a better way to utilize a single navigation from a CMS rather than keep making new ones, but for now this works

Agreed.


:redir doesn't work

the :redir command doesn't work when airline is installed.
:redir @a
:ls
:redir END
"ap

should put the output from the :ls into register a and paste it but it doesn't.

Apparently it was a theme https://github.com/paranoida/vim-airlineish that I used that did this. Closing issue.


Translations update from Weblate

Translations update from Weblate for ioBroker Adapters/telegram.
Current translation status:

@Apollon77 For the future: please don't use Squash Merge as this blocks Weblate from tracking changes. TIA

Sorry, was unintended


download file error

I use 'pickle' to serialize the data to oss, but when I use aiooss2 to download and deserialize the data with 'pickle.loads()',  the following error occurs:
_pickle.UnpicklingError: pickle data was truncated
But this will not happen if I use oss2.
The size of the file downloaded by aiooss2 is smaller than that of oss2.
I would appreciate it if you could help me with this problem.

Could you please provide a short example of the problem?


File type analyzer

File Type Analyzer Toolkit for Goose
Resolves #74
Overview
The File Type Analyzer Toolkit provides automated file type analysis for directories. It counts and categorizes files by their extensions and calculates percentages, with support for excluding specific files or directories. This is ideal for assessing project structures or identifying file distribution trends.

Features

File Type Analysis

Scans directories and subdirectories to identify file extensions.
Calculates the total number of files and their distribution percentages.

Exclusion Support

Accepts a list of file paths or directories to exclude, similar to .gitignore functionality.

Recursive and Non-Recursive Modes

Recursively analyzes subdirectories or limits the analysis to the top-level directory.

Usage

Add the toolkit to your profiles.yaml:

my-profile:
  provider: openai
  processor: gpt-4o
  accelerator: gpt-4o-mini
  moderator: passive
  toolkits:
    - filetype_analyzer

Run Goose with the profile:

goose session start --profile my-profile

Use the toolkit:

analyse this project file types <path_to_directory> and exclude paths <paths_to_exclude>

Output
The toolkit provides the following output for a given directory:
Example Output:
{
  "file_counts": {
    ".py": 10,
    ".md": 2,
    ".json": 1
  },
  "percentages": {
    ".py": 83.33,
    ".md": 16.67,
    ".json": 8.33
  },
  "total_files": 12
}

Testing
Run tests using pytest:
pytest tests/toolkits/test_filetype_analyzer.py

closes #74

fixed now @blackgirlbytes


Avoid deadlock between concurrent model load/unload and inference req…

…uests
The order of mutex acquisition is reverse for LoadUnload and consumer threads(InferHandler, InferStatistics).
The LoadUnload thread was getting stuck at acquiring map_mtx_ here: https://github.com/triton-inference-server/core/blob/28c2b892765b497d7fcc855f8fca6ea2e9a8dd60/src/model_repository_manager.cc#L830

Just trying to understand this change, the issue is that another thread uses map_mtx_ and the progress in this function depends on the progress in LoadUnload and we'll retry again later so that LoadUnload can make progress and release the mutex?

That is correct.

Can the LoadUnload model take a long time to release the lock? If yes, does it make sense to use a timed_mutex to not keep the CPU busy? If yes, does it make sense to use a timed_mutex to not keep the CPU busy?

The logic is in critical path of running the inference. We would like to release map_mtx_ as soon as possible for the LoadUnload thread to progress, hence I wanted it to be a non-blocking call here. The LoadUnload thread might be processing a specific model version at a time, so there is a high chance that user might have multiple model versions already loaded and in READY state. Upon the retries, my thought is that we might be able to capture any stable model version.

Thanks for clarifying.


doc(doc): Add some doc for installing the documentation on MacOS

Sorry it's "docs". Will inline the rules in the CONTRIBUTING.md


Multiple dot dot in path does not behave as expected

Typing a command like cd ../.. does not go up two directory levels as expected.
ftp> pwd
Remote directory: /pub/test
ftp> cd ../..
250 Working directory changed to: /pub/test/../..
ftp> pwd
Remote directory: /pub/test/../..

It should be like this:
ftp> pwd
Remote directory: /pub/test
ftp> cd ../..
250 Working directory changed to: /
ftp> pwd
Remote directory: /

Problem lies in decode_path().
Probably need to split path on '/' and examine each directory component like so:

dot -- do nothing, don't even append the dot
dot dot -- remove the last path component
default -- append the path component

The reassemble the path. If the path starts with '/', replace cwd with path.  Otherwise join cwd and path.

Closed by this commit


Add serialize/deserialize adapters for chrono's Duration

Similar issue exists here: https://github.com/chronotope/chrono/issues/117

Just wondering, any updates on this?

Unfortunately no update yet. However, recently I made some progress for the std Duration (for example here). That should translate mostly to the chrono types too

The latests version (1.5.0-alpha.2) can convert Durations into seconds, e.g., serde_with::DurationSeconds.
This will likely get extended for milliseconds and similar. Then for both std::time::Duration and chrono::Duration.