Package Request: ffmpeg

Description of the new feature/enhancement

ffmpeg is a very useful tool, it would be nice to be able to install it via winget.
Proposed technical implementation details (optional)

ffmpeg does not however release official builds. The builds available here seem to be endorsed on the ffmpeg website, but maybe that's a security issue?

Windows build of ffmpeg are provided as a .zip format but right now, using as reference Manifest Spec, winget don't support it.
We must wait for further development :)

I support it!

Hope they add all 4 versions (stable/git - static/shared).

Here's the manifest from the Scoop package manager, which I currently use: https://github.com/rivy/scoop.bucket.scoop-main/blob/master/ffmpeg-shared.json

https://github.com/microsoft/winget-cli/issues/140

but there is also alternative package managers like: chocolatey
choco install ffmpeg

Windows build of ffmpeg are provided as a .zip format but right now, using as reference Manifest Spec, winget don't support it.
We must wait for further development :)

but there is also alternative package managers like: chocolatey
choco install ffmpeg

https://forum.cockos.com/showpost.php?s=e8350c0f7481e5bed58a88f36e7c6abd&p=2338654&postcount=1#:~:text=ffmpeg.zeranoe.com will close on sep 18%2C 2020%2C and all builds will be removed states that the quoted compilation of ffmpeg has been discontinued.
Consequently, I suggest that somebody assist remediation of "https://github.com/BtbN/FFmpeg-Builds/issues/135" to hopefully allow this proposition to succeed without relying upon "https://github.com/microsoft/winget-cli/issues/140" to ultimately generate an inferior installer.

For Windows, an alternative build source I've been using for a long time has been Gyan's builds, https://www.gyan.dev/ffmpeg/builds/

For Windows, an alternative build source I've been using for a long time has been Gyan's builds, gyan.dev/ffmpeg/builds

https://github.com/microsoft/winget-pkgs/pull/87327


Changes for .Net 8?

Hi, I was wondering what changes are coming now that .net 8 has some of the same features as your solution.
I wish I had seen your project earlier, could have saved me a lot of work, especially with double reload of serverprerendered :)
Thanks for doing this open source!

Thank you very much 😄
I am currently still investigating when it comes to .NET 8, but so far I did not see anything which could be breaking Ignis.
In fact Ignis will only profit from the cool new features introduced with .NET 8 (Blazor United for example).
But if you have any specific features in mind please tell me!

My primary problems was SEO issues related to trying to fix the double event on initial load. Secondly, the reconnect of sockets is a big problem.
I think both issues has been solved for me in .Net 8. I guess your solution mitigated the same issues.

What I can see so far from .NET 8 is that components rendered using render mode ServerPrerendered will still trigger the events twice. When it comes to sockets I am not sure what exactly you mean.

The lost socket connection is detailed here: https://github.com/dotnet/aspnetcore/issues/30344#issuecomment-1740463872
The reconnect message is awful, especially for mobile users that occasionally loose internet connection.
I will investigate the double trigger further, thanks 👍

I see thank you. This issue unfortunately will also happen using Ignis when rendering server side components. Ignis does implement its own components but is still attached to the Blazor circuit.

I will close this for now. Once .NET 8 is released I will also release an update for Ignis to support it!


Update curve section in ko.json for mistranslation

The descriptions of params in curve were mixed, so it was modified. The spelling mentioned in the issue #1264 was used. (2 -> 두)
Fixes #[1264]
Changes:

Screenshots of the change:

Tagging Korean stewards for review: @yinhwa, @almchung, @jhongover9000, @sssueing, @GeryGeryGery, @sosunnyproject


Deprecate propagatedUserEnvPkgs

Issue description
With Nix 2.0 having the nix run command, we can no longer assume that packages will be installed by users before being run. It seems like this is a good opportunity to officially deprecate propagatedUserEnvPkgs as it only works when something is installed. Otherwise people are encouraged to utilize this for certain things, where they should instead use makeWrapper.
Also it would be nice to get rid of Nix's support for nix-support/propagated-user-env-packages but I am much more concerned about Nixpkgs use of it.
$ find . -type d -exec grep --color -nH --null -e propagatedUserEnvPkgs \{\} +
./pkgs/misc/themes/plano/default.nix:16:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];
./pkgs/misc/themes/jade1/default.nix:14:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];
./pkgs/misc/themes/materia-theme/default.nix:18:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];
./pkgs/misc/themes/orion/default.nix:12:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];
./pkgs/misc/themes/numix-solarized/default.nix:18:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];
./pkgs/misc/themes/greybird/default.nix:17:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];
./pkgs/misc/themes/blackbird/default.nix:17:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];
./pkgs/misc/themes/numix/default.nix:18:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];
./pkgs/misc/themes/vertex/default.nix:17:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];
./pkgs/misc/themes/obsidian2/default.nix:14:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];
./pkgs/misc/themes/arc/default.nix:23:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];
./pkgs/misc/themes/adapta/default.nix:32:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];
./pkgs/misc/themes/zuki/default.nix:16:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];
./pkgs/misc/themes/numix-sx/default.nix:12:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];
./pkgs/tools/misc/alarm-clock-applet/default.nix:41:  propagatedUserEnvPkgs = [ gnome2.GConf.out ];
./pkgs/tools/security/hash-slinger/default.nix:22:  propagatedUserEnvPkgs = [ unbound libreswan ];
./pkgs/tools/security/kwalletcli/default.nix:37:  propagatedUserEnvPkgs = [ mksh ];
./pkgs/tools/networking/network-manager/applet.nix:35:  propagatedUserEnvPkgs = [
./pkgs/tools/bluetooth/blueman/default.nix:33:  propagatedUserEnvPkgs = [ obex_data_server ];
./pkgs/development/libraries/qt-5/hooks/qtbase-setup-hook.sh:41:        propagatedUserEnvPkgs+=" $1"
./pkgs/development/libraries/kde-frameworks/kservice/default.nix:17:  propagatedUserEnvPkgs = [ shared-mime-info ]; # for kbuildsycoca5
./pkgs/development/libraries/kde-frameworks/solid.nix:16:  propagatedUserEnvPkgs = [ media-player-info ];
./pkgs/development/libraries/kde-frameworks/default.nix:49:                    propagatedUserEnvPkgs="$propagatedUserEnvPkgs @${out}@"
./pkgs/development/libraries/grantlee/5/setup-hook.sh:10:        propagatedUserEnvPkgs+=" $1"
./pkgs/development/ruby-modules/gem/default.nix:48:, propagatedUserEnvPkgs ? []
./pkgs/development/ruby-modules/gem/default.nix:213:  propagatedUserEnvPkgs = gemPath ++ propagatedUserEnvPkgs;
./pkgs/development/compilers/swift/default.nix:163:  propagatedUserEnvPkgs = [ git pkgconfig ];
./pkgs/development/compilers/chicken/eggDerivation.nix:22:  propagatedUserEnvPkgs = buildInputs ++ [ chicken ];
./pkgs/desktops/plasma-5/default.nix:51:                    propagatedUserEnvPkgs="$propagatedUserEnvPkgs @${out}@"
./pkgs/desktops/deepin/deepin-gtk-theme/default.nix:14:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];
./pkgs/desktops/gnome-3/core/gnome-contacts/default.nix:17:  propagatedUserEnvPkgs = [ evolution-data-server ];
./pkgs/desktops/gnome-3/core/empathy/default.nix:25:  propagatedUserEnvPkgs = [
./pkgs/desktops/gnome-3/core/sushi/default.nix:19:  propagatedUserEnvPkgs = [ gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good ];
./pkgs/desktops/gnome-3/core/gnome-shell/default.nix:48:  propagatedUserEnvPkgs = [
./pkgs/desktops/gnome-3/apps/gnome-nettool/default.nix:18:  propagatedUserEnvPkgs = [ nmap inetutils ];
./pkgs/desktops/gnome-3/apps/gnome-boxes/default.nix:28:  propagatedUserEnvPkgs = [ spice-gtk ];
./pkgs/desktops/gnome-3/apps/evolution/default.nix:17:  propagatedUserEnvPkgs = [ gnome3.evolution-data-server ];
./pkgs/desktops/gnome-3/apps/polari/default.nix:17:  propagatedUserEnvPkgs = [ telepathy-idle telepathy-logger ];
./pkgs/desktops/mate/mate-themes/default.nix:17:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];
./pkgs/top-level/emacs-packages.nix:182:    propagatedUserEnvPkgs = [ external.elpy ] ++ packageRequires;
./pkgs/top-level/emacs-packages.nix:245:    propagatedUserEnvPkgs = [ external.ghc-mod ];
./pkgs/top-level/emacs-packages.nix:280:    propagatedUserEnvPkgs = [ external.hindent ];
./pkgs/top-level/emacs-packages.nix:299:    propagatedUserEnvPkgs = [ external.rtags ];
./pkgs/top-level/emacs-packages.nix:363:    propagatedUserEnvPkgs = [ external.structured-haskell-mode ];
./pkgs/applications/misc/onboard/default.nix:96:  propagatedUserEnvPkgs = [
./pkgs/applications/misc/yakuake/default.nix:58:  propagatedUserEnvPkgs = [ konsole ];
./pkgs/applications/office/kexi/default.nix:30:  propagatedUserEnvPkgs = [ kproperty ];
./pkgs/applications/office/gnucash/2.4.nix:27:  propagatedUserEnvPkgs = [ gconf ];
./pkgs/applications/office/gnucash/default.nix:44:  propagatedUserEnvPkgs = [ dconf ];
./pkgs/applications/office/calligra/default.nix:43:  propagatedUserEnvPkgs = [ kproperty ];
./pkgs/applications/office/mendeley/default.nix:104:  propagatedUserEnvPkgs = [ gconf ];
./pkgs/applications/networking/instant-messengers/swift-im/default.nix:26:  propagatedUserEnvPkgs = [ GConf ];
./pkgs/applications/editors/jetbrains/default.nix:169:      propagatedUserEnvPkgs = [ python ];
./pkgs/applications/editors/emacs-modes/gh/default.nix:13:  propagatedUserEnvPkgs = [ pcache logito ];
./pkgs/applications/editors/emacs-modes/ensime/default.nix:12:  propagatedUserEnvPkgs = [ autoComplete dash s scalaMode2 sbtMode ];
./pkgs/applications/editors/emacs-modes/gist/default.nix:22:  propagatedUserEnvPkgs = [ gh pcache logito ];
./pkgs/applications/editors/emacs-modes/org2blog/default.nix:13:  propagatedUserEnvPkgs = [ org xmlRpc metaweblog ];
./pkgs/applications/editors/emacs-modes/jdee/default.nix:70:    propagatedUserEnvPkgs = propagatedBuildInputs; # FIXME: Not honored
./pkgs/applications/editors/emacs-modes/ecb/default.nix:13:  propagatedUserEnvPkgs = propagatedBuildInputs;
./pkgs/applications/editors/emacs-modes/color-theme-solarized/default.nix:15:  propagatedUserEnvPkgs = [ colorTheme ];
./pkgs/applications/editors/emacs-modes/metaweblog/default.nix:13:  propagatedUserEnvPkgs = [ xmlRpc ];
./pkgs/applications/editors/kile/default.nix:55:  propagatedUserEnvPkgs = [ konsole ];
./pkgs/applications/kde/konsole.nix:22:  propagatedUserEnvPkgs = [ (lib.getBin kinit) ];
./pkgs/applications/kde/kalarm.nix:36:  propagatedUserEnvPkgs = [ kdepim-runtime ];
./pkgs/applications/kde/spectacle.nix:19:  propagatedUserEnvPkgs = [ kipi-plugins libkipi ];
./pkgs/applications/kde/kate.nix:24:  propagatedUserEnvPkgs = [ konsole ];
./pkgs/applications/kde/gwenview.nix:20:  propagatedUserEnvPkgs = [ kipi-plugins libkipi (lib.getBin kinit) ];
./pkgs/applications/kde/kdebugsettings.nix:19:  propagatedUserEnvPkgs = [ ];
./pkgs/applications/kde/k3b.nix:33:  propagatedUserEnvPkgs = [ (lib.getBin kinit) ];
./pkgs/applications/kde/kmail.nix:28:  propagatedUserEnvPkgs = [ kdepim-runtime kwallet ];
./pkgs/applications/audio/paprefs/default.nix:16:  propagatedUserEnvPkgs = [ GConf ];
./pkgs/applications/backup/deja-dup/default.nix:40:  propagatedUserEnvPkgs = [ duplicity ];
./pkgs/applications/window-managers/velox/default.nix:33:  propagatedUserEnvPkgs = [ swc ];
./pkgs/applications/window-managers/awesome/default.nix:32:  propagatedUserEnvPkgs = [ hicolor-icon-theme ];
./pkgs/build-support/emacs/generic.nix:50:  propagatedUserEnvPkgs = packageRequires;
./pkgs/build-support/agda/default.nix:36:    propagatedUserEnvPkgs = self.buildDependsAgda;
./pkgs/games/gtetrinet/default.nix:17:  propagatedUserEnvPkgs = [ GConf ];

From the website:

The latest and recommended version of Nix is 2.0.4. The quickest way to install it on Linux and macOS is to run the following in a shell (as a user other than root):

Given that and your information, a deprecation is the least that could be done. Straight up deletion of propagatedUserEnvPkgs and using whatever works now is also fine with me as long as people can upgrade to Nix 2.

Alternatively, it wouldn't be hard to add support for propagatedUserEnvPkgs to nix run.

Alternatively, it wouldn't be hard to add support for propagatedUserEnvPkgs to nix run.

Is it worth supporting though? It seems like something that will hit you in a lot of different ways. For instance exportReferencesGraph also doesn't recognize it so if you want to make an ISO or use nix-bundle, you will have to specify them manually. It makes more sense to me to just use makeWrapper - even if that will lead to bigger closure sizes.

Note there are also some occurrences of propagatedUserEnvPackages (https://github.com/NixOS/nixpkgs/pull/34798).
I like to see this removed, because I think we should be able to run everything directly from the store. At the same time, I know some people like to be able to install individual packages and let them be discovered automatically, in which case this attribute is sometimes needed for dependencies.

In my experience, propagatedUserEnvPkgs can almost always be wrapping (optionally with trivial patch). What is much worse are dependencies on systemd services (e.g. https://github.com/NixOS/nixpkgs/issues/42873#issuecomment-404226924).

I'm not sure symlinking is better than propagating. For example, if I install package A (which symlinks parts of B) and package B, then the user environment builder might fail due to collisions between A and B. (Not entirely sure about that though - it might be that the collision check is on canonicalized symlink targets.)
Also, symlinking is potentially more expensive (since you have to symlink an unbounded number of files).


Compilation fails: error: static assertion failed due to requirement 'formattable': Cannot format an argument. To make type T formattable provide a formatter specialization

In file included from /usr/ports/net/mvfst/work/mvfst-3e9b815/quic/server/QuicServerWorker.cpp:8:
In file included from /usr/local/include/fmt/format.h:48:
/usr/local/include/fmt/core.h:1756:3: error: static assertion failed due to requirement 'formattable': Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
  static_assert(
  ^
/usr/local/include/fmt/core.h:1777:10: note: in instantiation of function template specialization 'fmt::detail::make_value<fmt::basic_format_context<fmt::appender, char>, quic::LocalErrorCode &>' requested here
  return make_value<Context>(val);
         ^
/usr/local/include/fmt/core.h:1899:23: note: in instantiation of function template specialization 'fmt::detail::make_arg<true, fmt::basic_format_context<fmt::appender, char>, fmt::detail::type::custom_type, quic::LocalErrorCode &, 0>' requested here
        data_{detail::make_arg<
                      ^
/usr/local/include/fmt/core.h:1918:10: note: in instantiation of function template specialization 'fmt::format_arg_store<fmt::basic_format_context<fmt::appender, char>, const char *, quic::LocalErrorCode, std::string>::format_arg_store<const char *&, quic::LocalErrorCode &, std::string &>' requested here
  return {FMT_FORWARD(args)...};
         ^
/usr/local/include/fmt/core.h:3206:28: note: in instantiation of function template specialization 'fmt::make_format_args<fmt::basic_format_context<fmt::appender, char>, const char *&, quic::LocalErrorCode &, std::string &>' requested here
  return vformat(fmt, fmt::make_format_args(args...));
                           ^
/usr/ports/net/mvfst/work/mvfst-3e9b815/quic/server/QuicServerWorker.cpp:697:21: note: in instantiation of function template specialization 'fmt::format<const char *, quic::LocalErrorCode, std::string>' requested here
    VLOG(3) << fmt::format(
                    ^
2 warnings and 1 error generated.

Revision: 3e9b815
libfmt-9.1.0
clang-15
FreeBSD 13.2

Fixed by either of #303 or #304.

There is internal fix similar to both of these PRs that will be pushed shortly.

Thanks @jbeshay!


Update gperftools to 2.16

Description
Update gperftools to the latest release.
Checklist

[ ] Investigated and inspected CI test results
[ ] Updated documentation accordingly

Automated testing

[ ] Added unit tests
[ ] Added integration tests
[ ] Added regression tests

If any of these don't apply, please comment below.
Testing Performed
CI should be enough.

Tested by building locally
make image BUILD_BUILDER_IMAGE=true
Pushed the image.
Deployed ACS and changed the collector image to one I built.
kubectl -n stackrox port-forward collector-48lnh 8080:8080 > /dev/null 2>&1 &
curl -X POST -d "on" http://localhost:8080/profile/heap
curl -X POST -d "off" http://localhost:8080/profile/heap
curl http://localhost:8080/profile/heap
The result was a heap profile
heap profile:    582:   131903 [921566: 91594559] @ heapprofile
0:        0 [     1:        2] @ 0x0141347e 0x0141b99c 0x009ff031 0x00a003fa 0x0140eb90 0x01421cb9 0x01423d1b 0x0142501e 0x7efd5ca84c02 0x7efd5cb09c40
6:      144 [   366:     8784] @ 0x00a865ff 0x00a736b2 0x00a7762b 0x00a92ac2 0x00a04ec6 0x00a09f26 0x00991fd5 0x0094872b 0x7efd5ca24590 0x7efd5ca24640 0x00973ab5
2:      288 [   366:    52704] @ 0x00a53cb1 0x00a541ed 0x00a8b09a 0x00a8526a 0x00a85334 0x00a73db6 0x00a7762b 0x00a92ac2 0x00a04ec6 0x00a09f26 0x00991fd5 0x0094872b 0x7efd5ca24590 0x7efd5ca24640 0x00973ab5
...


Remove video

That video at the top of this article is so old, almost all of the content in the video has been replaced by other stuff.

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

ID: 70948401-a30b-6499-82ce-cbc659b07d74
Version Independent ID: 3b891116-3acd-dcd0-47e0-b99375696d56
Content: Find Power BI users that have signed in - Power BI
Content Source: powerbi-docs/service-admin-access-usage.md
Service: powerbi
Sub-service: powerbi-admin
GitHub Login: @mgblythe
Microsoft Alias: mblythe

Thanks for the feedback, @poortom1004 ! I've assigned it to the author.

Thanks @poortom1004 - removed the video, updated article should be live in a couple of hours.


Fix .dockstore.yml

This entry is currently not displaying correctly on Dockstore, likely due to the lack of ".wdl" in descriptor file path, resulting in the WDL not being found:

2.1.1
Master

Older entries such as 2.1.0 are still working.
This PR should fix the issue on master and any subsequent releases. The addition of the authors field and the spacing adjustments are not strictly required.

Upvoting, noticed this too


One Tap still showing after login success

Describe the bug
hello i using one tap.
but after i success login.
The One Tap is still showing.
how to disabled it when user already logged in ?

Hi @geofany would you provide us a stackblitz or codesandox?

This can ve achieved with a cookie, but I don't see that option in the composable
https://developers.google.com/identity/gsi/web/guides/toggle-display-with-cookies
Any roadmap on include this?

im not sure JS API supports the cookie option
Kasun Vithanage
On Tue, Oct 8, 2024 at 3:24 PM Pablo Ausejo @.***>
wrote:

This can ve achieved with a cookie, but I don't see that option in the
composable
https://developers.google.com/identity/gsi/web/guides/toggle-display-with-cookies
Any roadmap on include this?
—
Reply to this email directly, view it on GitHub
https://github.com/wavezync/vue3-google-signin/issues/58#issuecomment-2399393614,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADGCQC7KAFBGB6DFHOTXCITZ2OTTTAVCNFSM6AAAAABPRZXXLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJZGM4TGNRRGQ
.
You are receiving this because you commented.Message ID:
@.***>

Ok, so then it's possible to achieve the same result this way:

const { isReady, login } = useOneTap({
...
})
watch(isReady, (isReady) => {
if (!isReady) return
if (document.cookie.includes('my-cookie')) return
login()
})

Yep sounds about right
Kasun Vithanage
On Tue, Oct 8, 2024 at 4:39 PM Pablo Ausejo @.***>
wrote:

Ok, so then it's possible to achieve the same result this way:
const { isReady, login } = useOneTap({
...
})
watch(isReady, (isReady) => {
if (!isReady) return
if (document.cookie.includes('my-cookie')) return
login()
})
—
Reply to this email directly, view it on GitHub
https://github.com/wavezync/vue3-google-signin/issues/58#issuecomment-2399547845,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADGCQCZRZSMO447WJHLBPI3Z2O4M7AVCNFSM6AAAAABPRZXXLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJZGU2DOOBUGU
.
You are receiving this because you commented.Message ID:
@.***>


Remove unnecessary null pointer checks

An extra null pointer check is not needed in functions like the following.

FPakVFS
FUE3ArchiveReader
CVertMeshInstance::FreeRenderBuffers

Yes, I know. I prefer to check pointer for NULL before deleting. This is my coding style.

I've checked your github page. I see all of your activity could be called as "issue generator" - 98 issues in August, 57 issues in July. I'm afraid to look farther. Please leave all "language problems" in my repositories to myself, I'll fix anything really important what I or others will find.
Regards,
Konstantin

Can your software become a bit more efficient also at the mentioned source code places?

Efficiency in destructor? This

won't make it faster - I know what is "optimization" and "time critical code", these places are not those ones
make code 20 bytes smaller - with file alignment of 512 bytes, this won't help.

Just for reference of conversation:
https://github.com/curl/curl/issues/2838

Would you like to take another look at integrated patches for discussed software change possibilities?

Go away from github, kid. This is a place where developers work.


send messages to groups

how to send message to group page?
Thx sir.

Here is how to send a message to group, first you must has group id
code:
 await wa.sendTextMessage({
      sessionId: "mysession",
      to<EMAIL_ADDRESS>      isGroup: true,
      text: "Hello Group",
    });


exp/ingest: Closer suffix might not be necessary

A lot of interfaces and structs in the ingest package have a naming convention where the names are suffixed with "Closer." e.g. StateReadCloser , StateWriteCloser, bufferedStateReadWriteCloser
Is it necessary to include the Closer suffix? it seems like all of the interfaces and structs implement the Close function. In other words, there is never a reader or writer which is not a closer so we might as well just shorten the names to StateReader , StateWriter, bufferedStateReadWriter, etc.
I'm aware that in the golang standard library there is https://golang.org/pkg/io/#ReadCloser https://golang.org/pkg/io/#WriteCloser . However, in that context it makes sense because ReadCloser is a composition of both the Reader and Closer interfaces. There are concrete types which implement just Reader and other concrete types which implement ReadCloser which creates the need for two distinct interfaces.
Also, in the golang standard library most of the concrete types which implement the ReadCloser or WriteCloser interface do not have the Closer suffix. For example, https://golang.org/pkg/io/#PipeReader and https://golang.org/pkg/io/#PipeWriter . So, if it is necessary to have both a Reader and a ReadCloser interface in the ingest package, then I would recommend that the Closer suffix only be present in the interface names and not in the names of the concrete types which implement the interfaces

I think this might be an artifact of the way the design has evolved. Some of the Close methods were not present in the original design, but have been added during implementation as we realised their necessity.
I think I agree with both points, and wonder whether we could just drop Closer everywhere.


Automated cherry pick of #3048: Reformat tables.

Cherry pick of #3048 on website.
#3048: Reformat tables.
For details on the cherry pick process, see the cherry pick requests page.
NONE

/assign @mimowo

/lgtm
/approve


Fix Logging to file

This patch fixes logging to a given file with the --log options along with appending to the log file.

This change is

As decided I'll the log-file option intact, and change the documentation, to use the --log-file instead of --log option

The fix is now available in #98


Add initial eslint setup

Closes: #87
What I did for this PR:

Add ESLint
Re-format TypeScript files
Organize imports

It looks like a lot of changes have been made, but it's just adding a return type and reordering the functions that used before declared.

Squashed.

Prettier related script's glob was not working properly, so I also fixed it.

👍


pickle files for training?

Hi ,
Can you please describe or share with us the pickle file you used for the training?

Hello @dsbyprateekg ,
Did you find how tu use or create the pickle file? I am guessing maybe is something related with facial landmarks but I am not sure.
I hope you can help me. Thanks in advance.


New package: Poly,Inc.PolyLens version <IP_ADDRESS>62

Checklist for Pull Requests

[ ] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Verify:

Hi @noah384,
The application shows just 1.4.0 for its version number:

But the Apps and features page shows that the Registry contains the full <IP_ADDRESS>62 as the version number:

This means that the application and package manager won't exactly match. A DisplayVersion entry under an AppsAndFeaturesSettings entry could fix this - it holds the value that is matched against the Registry data, allowing the PacakgeVersion entry to match the application.
Should these be added?


DKIM Selector

Hi, how to select DKIM selector? the installer suggest mail._domainkey but i want to use surel._domainkey.
DKIM generated by this line right?
opendkim-genkey --bits=$keysize --subdomains --domain=$domainname --selector=mail -D /tmp/docker-mailserver/opendkim/keys/$domainname

How to make it flexible from ./setup.sh?
Thanks

Well, as you noted the selector is hard-coded to mail, custom values are not supported. If you feel that this is important you could perhaps create a pull request?

@nalakawula shall we close this, or do you want to keep it open? I don't think you will get another response after all this time, but perhaps you are planning to submit a PR?

Closing due to inactivity.


update job is succeeded to check completions

When checking the job status in IsJobSucceeded, it will sometimes return true for jobs that are not complete.
This updates the check in IsJobSucceeded to check the job status conditions for a condition of type "Complete" with status "True".
resolves #992

I don't see any automated status checks, so I've run tests for the k8s module against minikube with
go test -tags kubeall,kubernetes ./modules/k8s

I am seeing a couple of failures, but I think they're related to the my with minikube, and not anything specific to these changes.
--- FAIL: TestGetServiceEndpointEReturnsAccessibleEndpointForNodePort (318.22s)
--- FAIL: TestWaitUntilIngressAvailableReturnsSuccessfully (313.03s)
FAIL
FAIL	github.com/gruntwork-io/terratest/modules/k8s	338.707s
FAIL

Build passed! So I think we can merge this in once the docs update suggestion is pushed.


sorting in order fixed

@prolic pls merge this one asap! thx!

sry this wasn't an error on sorting. instead data in database contains untrimmed white space characters. close PR


Feature/strm 341 Kafka consumer

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


Stake input box update

fixing issue -> https://github.com/OlympusDAO/olympus-frontend/issues/311
Removed OHM logo from inside the input box
Updated style and input box to be the same as the CTA

can you submit this pr on develop instead? this looks like UI polish stuff


CAPA Flatcar

User Story
-As a cluster admin, I want to use Flatcar as the operating system on all Cluster API cluster nodes in order to have a container oriented operating system with all the hardening and settings of the current Giant Swarm clusters.
Towards epic.
Background
Cluster API for AWS (CAPA) clusters use the default Ubuntu image.

testing PRs:
https://github.com/giantswarm/cluster-aws/pull/49
https://github.com/giantswarm/cluster-api-provider-aws-app/pull/106
https://github.com/giantswarm/cluster-api-app/pull/54

first bump on the road - https://github.com/kubernetes-sigs/cluster-api/issues/6403
Seems like base64 encoding is properly supported for files in kubeadmconfig

so everything tested, flatcar is running on all nodes including bastion, ssh works as well, I will keep the branch for cluster-aws  until we will have a new version fo CAPI and CAPA controllers which support this flatcar release, we need to wait until the new releases ar mode aupstream

If our dependency is mostly on the dynamic CloudFront domain, we could use a fixed alias domain instead. I think that's a feature of irsa-operator already. Then we don't have to wait on the secret to read the domain, but make an assumption.

Blocked by https://github.com/giantswarm/roadmap/issues/2420.

Before merging we need to update IAM role for all existing MCs to include new S3 bucket permissions

Done, PR merged, release created and the permissions were updated


trying to upgrage microfs

There's a bug when trying to upgrade microfs. I typed the following sudo -H pip3 install --no-cache --upgrade microfs and got the following error messages
Exception:
Traceback (most recent call last):
File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connection.py", line 137, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/connection.py", line 67, in create_connection
for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM):
File "/usr/lib/python3.5/socket.py", line 732, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 560, in urlopen
body=body, headers=headers)
File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 346, in _make_request
self._validate_conn(conn)
File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 787, in _validate_conn
conn.connect()
File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connection.py", line 217, in connect
conn = self._new_conn()
File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connection.py", line 146, in _new_conn
self, "Failed to establish a new connection: %s" % e)
pip._vendor.requests.packages.urllib3.exceptions.NewConnectionError: <pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f19210ce9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 209, in main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 317, in run
requirement_set.prepare_files(finder)
File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 360, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 448, in _prepare_file
req_to_install, finder)
File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 397, in _check_skip_installed
finder.find_requirement(req_to_install, self.upgrade)
File "/usr/lib/python3/dist-packages/pip/index.py", line 442, in find_requirement
all_candidates = self.find_all_candidates(req.name)
File "/usr/lib/python3/dist-packages/pip/index.py", line 400, in find_all_candidates
for page in self._get_pages(url_locations, project_name):
File "/usr/lib/python3/dist-packages/pip/index.py", line 545, in _get_pages
page = self._get_page(location)
File "/usr/lib/python3/dist-packages/pip/index.py", line 648, in _get_page
return HTMLPage.get_page(link, session=self.session)
File "/usr/lib/python3/dist-packages/pip/index.py", line 757, in get_page
"Cache-Control": "max-age=600",
File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 480, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python3/dist-packages/pip/download.py", line 378, in request
return super(PipSession, self).request(method, url, *args, **kwargs)
File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 468, in request
resp = self.send(prep, **send_kwargs)
File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/adapters.py", line 376, in send
timeout=timeout
File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 610, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 228, in increment
total -= 1
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
I installed microfs on my linux mint 17 box by typing
sudo -H pip3 install microfs

It appears you were having networking problems. Viz, this line: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
This isn't a problem with microfs, rather something's broke on the internet (beyond our control). Please just try again later after switching everything off and on again. :-)
Thanks.


Customise Shortcuts and move mouse diagonally

Is your feature request related to a problem? Please describe.
Is it possible to customise the keybindings? I'm unable to type some letters, especially the one used to control the mouse (WASD, IJKL)
Describe the solution you'd like
A feature to customise the shortcuts.
Describe alternatives you've considered
One thing that I realised is that there's no control to move the mouse diagonally, is it possible to get this working? It'll be nice if (I+J)
will move the mouse left diagonal. So as for the right diagonal movement.
Additional context

Hi, thanks so much for using Mousr!
At the moment, the only way to change the shortcuts is to recompile with a different shortcuts.json file.
I am curious as to how you would like the feature implemented. Are you thinking a json file in the app directory? That might be the easiest way to implement and use it.
I will try to implement this feature, however I am having difficulty with the RobotJS package atm (You know how it is with Javascript).
You should be able to move the cursor diagonally by simultaneously pressing I and J (assuming you can).
Until this gets patched, creating an Autohotkey program might be a temporary fix.
(btw this might not get fixed for a while as I have exams)

Are you thinking a json file in the app directory? That might be the easiest way to implement and use it.

That's fine for me, would appreciate the feature implemented in any way. I need to change the shortcut because I'm unable to type some letters assuming they're used to control the cursor.

You should be able to move the cursor diagonally by simultaneously pressing I and J (assuming you can).
Until this gets patched, creating an Autohotkey program might be a temporary fix.

Pressing I then J and again yeah, that moves the mouse diagonally but the movement isn't smooth and it makes it harder to navigate the cursor to a certain position.

I see what you mean. I might in fact port this project to a different language like C++ or something.

That would be great.

Any update about this?

Sorry, I have been very busy lately with school. I will try to soon.

No worries at all, I can patiently wait

As it turns out, this is very easy to create in AutoHotKey, so I will try to make it in that.

I have created a new repository here for the AHK version. It is still in uncompiled beta, but if you have AHK installed you can try it out.
I will add a shortcuts file soon, as well as build to exe or something, as well as fix bugs.
Hope this is better 👍

Thanks! I'll try them out after school and give a proper feedback.

In the meantime, do you mind filling out this survey? It is for school.

In the meantime, do you mind filling out this survey? It is for school.

Yeah, sure.
So here's my feedback (not very detailed but my honest opinion) regarding the new mousr:

Looks like there are no significant changes (yet) but the new one looks better.

One thing that I'm still questioning and as this is still beta, will my feature request about having the mouse move smoothly acceptable?
I'm still struggling with having to get used to the mouse movement since it's too stiff for me (as shown in below video)
https://user-images.githubusercontent.com/73813638/182311517-1d26b7dd-26c2-4343-892a-ee9de74135ad.mp4

Ah, I see! This is a bug, it does not move like that on my machine. I will try to fix that. If building the source code, you can change the 'speed_duration' value to something higher if that works. Thanks.

Version 1.0.0 has now been released. If you have any issues with it, please open a new issue over there :) Smooth movement is still a bug that I will try to solve. Thanks for your support !

Perfect, love this project. Keep up the work!


[🐛 BUG]: RoadRunner segfaults if you try to use the Jobs API before the plugin is fully loaded

No duplicates 🥲.

[X] I have searched for a similar issue in our bug tracker and didn't find any solutions.

What happened?
RoadRunner segfaults if you try to use the Jobs API before the plugin is fully loaded.
I'm quite sure this is not on purpose. :D
Version (rr --version)
rr version 2024.2.1 (build time: 2024-09-12T16:25:04+0000, go1.23.1), OS: linux, arch: amd64
How to reproduce the issue?
Simply put this code in a file thats called via server.on_init.command configuration. RoadRunner will crash on startup.
$jobs = new Jobs(
    RPC::create(
        Environment::fromGlobals()->getRPCAddress(),
    ),
);

$jobs->count();

If you put a sleep(5); before $jobs->count(); RoadRunner succeeds to start.
Relevant log output
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0xb2538d]

goroutine 85 [running]:
go.opentelemetry.io/otel/sdk/trace.(*TracerProvider).Tracer(0x20007?, {0x20e4488?, 0xc00017e900?}, {0x0?, 0x0?, 0xc00017e8d0?})
        go.opentelemetry.io/otel/sdk@v1.30.0/trace/provider.go:134 +0x2d
github.com/roadrunner-server/jobs/v5.(*rpc).List(0xc00094a058, 0x1?, 0xc000a8b480)
        github.com/roadrunner-server/jobs/v5@v5.0.5/rpc.go:105 +0x65
reflect.Value.call({0xc000bce600?, 0xc00094a0b8?, 0x13?}, {0x20e4520, 0x4}, {0xc000c8eef8, 0x3, 0x3?})
        reflect/value.go:581 +0xca6
reflect.Value.Call({0xc000bce600?, 0xc00094a0b8?, 0xc000a8d180?}, {0xc000ba56f8?, 0x4093be?, 0x47c632?})
        reflect/value.go:365 +0xb9
net/rpc.(*service).call(0xc000b71d80, 0xc000b71c00, 0xc000013d60, 0xc000013d70, 0xc000bc9480, 0xc0000b1ae0, {0x1e5b280?, 0xc00017e8a0?, 0xc000874070?}, {0x1e8ebc0, ...}, ...)
        net/rpc/server.go:381 +0x209
created by net/rpc.(*Server).ServeCodec in goroutine 84
        net/rpc/server.go:478 +0x3d7

Hey @l-x 👋🏻
Thank you for the report, will double check and release fix.

@l-x Yep, confirmed.


Provide the way to cast from Option to Promise

This operation is from synchronous to asynchronous. There is no problem.
PoC 1
function toPromise(option: Option<T>): Promise<T> {
  return option.isSome ? Promise.resolve(option.unwrap()) : Promise.reject();
}

PoC 2
function toPromise(option: Option<T>): Promise<T> {
  return option.mapOrElse(() => Promise.reject(), (v: T) => Promise.resolve(v));
}

note: PoC1 & PoC2 include flatten operation implicitly because the result of Promise.resolve( Promise.resolve::<T>() ) is Promise<T>.


Documentation: clarify firmware build instructions // upload binary under "release"

Hi,
first of all: thanks for your work, this looks interesting and I ordered a set of assembled PCBs. Now I realize that I don't understand how the firmware is build. I expected a Makefile or something, but that is not the case. Can you provide additional documentation regarding the firmware build process?
Additionally, can you upload a binary firmware image under "Releases"? This would make it easy to get started.
Thanks,
-Mathias

Hi, Thanks for the bump.
I want to make a first Release of the firmware via GitHub soon. Stay tuned!
If you want, you can use STM32CubeIDE (no charge and cross-platform) to import the project and start compiling. I do my best to keep the master branch always compilable.

Thanks, I will try the STM32CubeIDE. I wasn't aware of it.

I have added a first Release of the Firmware that you can find under the Releases of this projects.
Nothing too automated yet, but should get the job done for now.

Thanks!


Replacing MacOS X binary removes saved connections

I just replaced the MacOS X binary with a new one and find the list of connections has been reset. Where are they being saved on disk? This suggests it may be in the application folder itself?

Hello,
unfortunately currently there's no migration chance. But in the newest version of mongoclient you don't have to create seperate connections for your each seperate database on same server.
Since meteorJS has changed their mongodb engine it's impossible to migrate from 1.2.0 to 1.3.0. But for the next releases I've planned to add this migration feature, will just leave this to here for further reference.
Thank you so much for the feedback,
Cheers

Resolved by last update, will be live with 1.4.0 but unfortunately there's no backward comparability for data migration.


Print volume measures for symbol analysis

Volume measures are largely useless in my opinion, and determining the average/volume spent in each symbol is difficult because it requires an expensive Gather operation to be correct in all possible cases, as each process could have a unique symbol not seen by the others (very unlikely, but possible).
In such a case, I will just not print it out.
We could issue an MPI_Allreduce with MPI_Op=MPI_MAX and another one with MPI_Op=MPI_MIN, followed by one more MPI_Allreduce with MPI_Op=MPI_SUM. Before the final collective is issued, each process records an error bit if the results of the reductions don't exactly match its number of symbols. No, this won't work! What if each process has k symbols, but each is different, resulting in k*p total symbols (admittedly highly unlikely, but I don't want to be responsible for faulty analysis).
A different approach then would be to have each process sort the symbol string (so that the ordering is clear), then reduce the total size of the symbol string so each process knows how much memory to post (although it would have to match that of everyone else to be exact).Still, even if the lengths match up, there is no way to know that the symbols are the same without explicit verification requiring some Gather operation onto the root process.

Already implemented.


PPP Update for kratious.adoc

Coverage remained the same at 67.598% when pulling 14976df2109a54039cf8ff4712cb7068bc0b8698 on Kratious:dg-documentation into a255abbae8ef86c6055b008ef2cead418aa03bb8 on CS2103-AY1819S1-W16-2:master.


jOOQ Hello World tutorial

Added Hello World tutorial, with insecure and secure workflow, for jOOQ in 20.1 and 19.2 docs.
I don't mention jOOQ code generation at all, and really just point to jOOQ docs to explain what jOOQ does, so let me know if that deserves a paragraph at the end.
Also, feel free to add anyone else to this review.

This change is

The build failed here--can we kick it off again? I like to see it in the website rather than in markdown

The build failed here--can we kick it off again? I like to see it in the website rather than in markdown

Kicking off again... We're getting some weird build failures in recent PRs. Hopefully we can resolve this today.

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/fd1b495d25bfb53cd5a417b2c3ec5780bc6f6a34/
Edited pages:

v19.2/build-a-java-app-with-cockroachdb-hibernate.md
v19.2/build-a-java-app-with-cockroachdb-jooq.md
v19.2/build-a-java-app-with-cockroachdb.md
v20.1/build-a-java-app-with-cockroachdb-hibernate.md
v20.1/build-a-java-app-with-cockroachdb-jooq.md
v20.1/build-a-java-app-with-cockroachdb.md

Build issue resolved. You should be able to see the preview HTML now.

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/8c9fe24361a0be6acaeb8dac9f09fc7299aa91de/
Edited pages:

v19.2/build-a-java-app-with-cockroachdb-hibernate.md
v19.2/build-a-java-app-with-cockroachdb-jooq.md
v19.2/build-a-java-app-with-cockroachdb.md
v20.1/build-a-java-app-with-cockroachdb-hibernate.md
v20.1/build-a-java-app-with-cockroachdb-jooq.md
v20.1/build-a-java-app-with-cockroachdb.md


getRecord() should auto-parse JSON

getRecord() should automatically parse body if it has JSON content type. The resulting values should look like:
{
  body: Object, // Parsed JSON object, or null (for unsupported content type or )
  rawBody: String, // or Buffer
  contentType: String
}

Use type-is library and */json matcher for content type.

Already done. We ommited rawBody since user can disable bodyParser.


quickstart link stuck in nginx

Hello. I created the VPC on AWS and started the quickstart.sh script. It works perfectly until it searches for nginx.
It is stuck in a loop as seen following:
Waiting for Nginx to become available
Nginx was unavailable, so slept for: 5 secs
Nginx was unavailable, so slept for: 5 secs
Nginx was unavailable, so slept for: 5 secs
I waited for 20 minutes and it didn't move forward from there.
Can you help me with this?
Also, I see that a m4xlarge EC2 instance is created with the quickstart kit. Is there a way to change the EC2 instance type. Further, where can I find the created KeyPair so that I am able to ssh into the EC2 instance?
Thanks for your help.

Hello,
Have you checked the security group that it has created? By default it only opens ports 22 and 2376, so 80 will be blocked and is probably the cause of that "issue" - the tools will be up, it just can't connect (as that's what that section does, it's the first time it tries to access the IP).
If you'd like to change the instance type you can either tweak it inside the quickstart script, or run Docker Machine independently then use the ADOP CLI directly (that's all quickstart does). The keypair is created by Docker Machine so the easiest way to SSH is by doing "docker-machine ssh " as the key is tucked away in your .docker directory.
Kind Regards,
Nick

Hi Nick,
Thanks for your response. I have been able to setup ADOP on a VPC on AWS. Thank you for the tip on using docker-machine ssh for SSH. I am planning to set up a pipeline using the tools that are mentioned in ADOP. Are there any sample cartridges available for me to use?
Also, I saw there is also a way to setup all the resources on AWS using a CloudFormation template. Are there any ADOP configured CloudFormation templates that I can use?
Thanks
Jay

Hi Jay,
So out of the box the Load_Cartridge job lists all of the cartridges that are available on GitHub - the Java cartridge should be loaded by default for you under ExampleWorkspace/ExampleProject too. There is also a skeleton cartridge referenced from the development materials here: https://accenture.github.io/adop-docker-compose/docs/developing/cartridges/
For launching via AWS we have a repository with a reference architecture in it (containing a two-tier network and VPN): https://github.com/Accenture/adop-aws
Cheers,
Nick

Hi Nick,
Thank you for the information. I was able to set up a pipeline using the java-cartridge. The pipeline works great for all stages except it got stuck in ProdA stage. The console gives the following error:

docker cp /workspace/workspace-1/project-1/root/Reference_Application_Deploy_ProdA/target/petclinic.war workspace-1_project-1_root_PRODA:/usr/local/tomcat/webapps/
no such directory
Build step 'Execute shell' marked build as failure
[ssh-agent] Stopped.
Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered
Finished: FAILURE

I installed tomcat8 by doing ssh into docker machine. I moved the installed tomcat folder to the mentioned directory, /usr/local/. I also renamed the folder to tomcat and double checked whether the contents of the folder include the /webapps/ folder. Even after doing this, the build fails and gives me the same error. Can you please give some advice on how I can fix this?
Thanks
Jay

Hi Jay,
Have you created the Prod environment using the environment creation pipeline? The cartridge assumes that is in place and tries to make use of it, I think the problem there is that it can't find the "Prod A" Tomcat container which is where it is trying to copy to.
Cheers,
Nick

Hi Nick,
I went to Java Application Reference tab in the cartridge folder I created and ran the pipeline that had come up on its own. Are there any other steps I should take to create ProdA environment?
Thanks,
Jay

Hi Jay,
That's the build pipeline, there should also be an environment creation pipeline where the first job will allow you to pick the type of environment.
Cheers,
Nick

prodA console output.txt
Hi Nick,
Thank you so much. That worked like a charm. But I am not able to see the application (petclinic). I went into the console for ProdA and found http://workspace-1_project-1_root_PRODA.PUBLIC_IP.xip.io/petclinic url. I changed the PUBLIC_IP to the public IP I have of the EC2 instance, it gives me a 404 not found error. Also, I have attached the console output of ProdA. Kindly take a look.
Thanks
Jay

HI @nickdgriffin .
Can you please elaborate on the Nginx was unavailable, so slept for:5 secs
It will be of great help.. what do i need to change here.. so that this issue gets resolved.

@surajshettyakkunje : Is this related to the above issue? If not I think a new one should be raised.
In any case, that loop is the first time that connectivity is tested from outside of the Engine so if it is looping forever it means that either there is a connectivity issue between you and Nginx or that Nginx has failed to start. If it is the latter you can check that by doing "docker ps" against the Engine to see if it's restarting, and if you've added other configuration it is likely because it is invalid or that it cannot resolve the DNS/hostnames that are being used.

Hi Nick,
Just as a matter of curiosity.
I had my Nginx unavailable and it said --> so slept for : 5sec.
I am running the quickstart cmd on my local using a AWS VPN.
I have a jenkins instance on my local hosted on port 80.. And in the docker-compose.yml it shows
restart: always
image: accenture/adop-nginx:0.3.2
#build: ../images/docker-nginx/
net: ${CUSTOM_NETWORK_NAME}
ports:
- "80:80"
- "443:443"
so is Nginx trying to open on port 80 which is already being used by Jenkins in my local...

If port 80 is already taken on the host that you are launching on then yes that will cause a problem.


"Your First Extension" fails with PowerShell profile

VSCode Version: 1.36.1 (user setup)
OS Version: Windows_NT x64 10.0.18362

Steps to Reproduce:

Configure PowerShell as the default shell.
Step through Your First Extension up to "Then, inside the editor, press F5...".
Press F5 - a message is displayed, "The terminal process terminated with exit code: 1", but everything continues running.
In the Extension Development Host, run "Hello World".

Result: Two errors are displayed instead of "Hello World":

command 'extension.helloWorld' not found
Activating extension 'undefined_publisher.helloworld' failed: Cannot find module 'c:\Users\garye\helloworld\out\extension.js'

Does this issue occur when all extensions are disabled?: Yes
Workaround: Configure cmd as the default shell, or configure PowerShell to run with the "-noprofile" option.
I have a lot of things in my PowerShell profile, so I'm assuming something in there is conflicting with something, but I don't know what. I can continue just fine using one of the workarounds.

What happens if you try to open a powershell terminal (F1 -> Open New Terminal) and run npm run watch?

I assume you mean running powershell while in the helloworld folder. I get the following messages and then it just sits there. I'm not sure how or when to close it.
[9:41:46 AM] Starting compilation in watch mode...
[9:41:48 AM] Found 0 errors. Watching for file changes.

@alexr00 I see this error message: The terminal process command 'C:\Windows\System32\wsl.exe-e npm run watch' failed to launch (exit code: 1)
Notice the connecting wsl.exe-e. I suspect that's the cause.

@octref are you sure you were using powershell? I'm not sure how you could have gotten wsl.exe if it's powershell.
@garyericson How did you configure powershell to be the default shell? Can you share your settings.json?

@alexr00 Hmm, today I tried it again and it seems to be working. Did I have to restart VS Code for task to pick up the changed default shell?

@alexr00 - I'm not a VS Code wizard, but I set PowerShell to the default shell by going to File -> Preferences -> Settings, finding "Terminal > External: Windows Exec" and pasted in this: "%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe".

Where can I find settings.json, and how would you like me to share it?

@garyericson F1 (Or Ctrl+Shift+P) + "Preferences: Open Settings (JSON)"
When you run the "launch extension" command, it would launch the build task in a new terminal. You can find it like this:

Let me know when you can provide more information.

@octref - My workaround is to run PowerShell without executing my profile. That works fine for what I need, so I'm fine with closing this.

@garyericson there is a new setting terminal.integrated.automationShell.windows coming which allows you to set the shell and ignore the shellArgs of your normal terminal, this might be useful for you? https://github.com/microsoft/vscode/issues/78497


5B games of Set (the game)

This example inserts 5 billion game draws (initial draw) of Set, the game.

Generate data and insert into FB (how?)
Visualize the data and provide a simple UI for querying using PQL/SQL

A post has been started discussing how to model the data for insertion and querying.
Analyzing 5 Billion Games of Set with FeatureBase
FeatureBase is a binary-tree database built on Roaring Bitmaps. This makes it suitable for running analytics on massive data sets in real time. If you've never used FeatureBase before, you can get it running locally in about 5 minutes.
Today, we're going to take a look at using FeatureBase to simulate and analyze a very large number of Set games in real-time.
Set (the game)
Set is a card game designed by Marsha Falco in 1974 and published by Set Enterprises in 1991. The deck consists of 81 unique cards that vary in four features across three possibilities for each kind of feature: number of shapes (one, two, or three), shape (diamond, squiggle, oval), shading (solid, striped, or open), and color (red, green, or purple).
In a game of Set, the cards are shuffled and then 12 cards are drawn from the top of the deck and placed on the table. Game play then commences by players beginning to identify sets in the initial deal.
In this example, we are going to focus on the initial draw only. We won't be pulling cards and dealing new ones from the remainder of the deck, in other words. We'll simulate one billion draws of twelve cards (from a full deck) and then proceed to do one billion draws of fifteen cards (adding three cards each time) and so on until we have a total of five billion game draws.
Thinking in Binary
There are 1,080 unique sets possible in the game. Let's think about this for a minute by creating a couple of large binary numbers to look at for visualization. The first number will be 81 digits and represent a single set of of the 1,080 possible sets. We'll also put the different attribute headers at the top of this number to help us figure out what a given binary place represents which card.
We'll use green, purpl, and red for colors. S will respresent squiggles. ♦ are diamonds and O (ohs) are pills.
set_0

<         solid           ><         open            ><         shaded          >
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
< green >< purpl ><  red  >< green >< purpl ><  red  >< green >< purpl ><  red  >
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<S><♦><O><S><♦><O><S><♦><O><S><♦><O><S><♦><O><S><♦><O><S><♦><O><S><♦><O><S><♦><O>
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
123123123123123123123123123123123123123123123123123123123123123123123123123123123
---------------------------------------------------------------------------------
100000000100000000100000000000000000000000000000000000000000000000000000000000000

In this representation, we are saying we have a solid green squggle of count one, a solid purple squiggle of count one and a solid red squiggle of count one. This is a set because all the attributes are either different (colors in this example) or all the same (shading, count and shape).
Now let's do one where the three cards have different shading, color, count and shape:
set_1

<         solid           ><         open            ><         shaded          >
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
< green >< purpl ><  red  >< green >< purpl ><  red  >< green >< purpl ><  red  >
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<S><♦><O><S><♦><O><S><♦><O><S><♦><O><S><♦><O><S><♦><O><S><♦><O><S><♦><O><S><♦><O>
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
123123123123123123123123123123123123123123123123123123123123123123123123123123123
---------------------------------------------------------------------------------
001000000000000000000000000000000000000000000000000010000000000000100000000000000

Now we'll do a sample draw of 15 cards.
draw_0

<         solid           ><         open            ><         shaded          >
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
< green >< purpl ><  red  >< green >< purpl ><  red  >< green >< purpl ><  red  >
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<S><♦><O><S><♦><O><S><♦><O><S><♦><O><S><♦><O><S><♦><O><S><♦><O><S><♦><O><S><♦><O>
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
123123123123123123123123123123123123123123123123123123123123123123123123123123123
---------------------------------------------------------------------------------
100011000100000000100000010100000000000010000010000000101100000100000010010000000
---------------------------------------------------------------------------------

Here's what that draw looks like, in a real game:

Now we AND the two numbers:
---------------------------------------------------------------------------------
100000000100000000100000000000000000000000000000000000000000000000000000000000000
100011000100000000100000010100000000000010000010000000101100000100000010010000000
---------------------------------------------------------------------------------
100000000100000000100000000000000000000000000000000000000000000000000000000000000

Given that result is equivalent to the the set we mention above, we have a match. There may be other sets present on the board, but we're going to switch to using decimal numbers to respresent the different cards.
Modeling
As there are 81 total cards, we're going to use 0 through 80 to represent those cards. So, a sample draw of those same 15 cards above now becomes:
[0,4,5,9,18,25,27,40,46,54,56,57,63,70,73]

As for our sample set we chose, that becomes:
[0,9,18]

We need a list of valid sets.

Implemented, with millions, not billions.


[Github Auto sync ] Handle personal branch update

Explain your changes:
Added new logic to handle change in personal branch. It will now create PR for any conflict in earlier or later branch in the chain. Branch with conflict will receive also comment which is pointing developer to proper fixing conflict PR.
Explain how you tested your changes:
I tested it on my private repository where is duplicated our stable branches + added merges cleanly jobs.
Checklist:

[ ] Dependency versions are unchanged

Notify Velocity team if dependencies must change in CI

[ ] Modified the current draft of release notes with details on what is completed or incomplete within this project
[ ] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[ ] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them

Closes #0000

!ci-build-me

!ci-build-me


Client chatting

So the chatting feature seems to be complete. I am hoping there are very minimal bugs. Please let me know if there are any problems. Also, whoever wants to take a crack at fixing the visual aspects please be my guest. My front end skills are sketchy.

We'll do the styling of chats on this branch, so I'll close this PR for now, but I checked the code! @tusharraval102


Change nested configuration object handling to match VSCode behavior.

Test plan

Changelog

#6041  👈
main

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

Join @dominiccooney and the rest of your teammates on  Graphite


[Bug] [Resources - File Manage] Rename (update) a file will override the filename with the input name(alias) that the user submitted

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
Rename (update) a file will override the filename with the input name(alias) that the user submitted
What you expected to happen
The filename should not be overridden by name (alias). I have read the source code, filename needs to obtain from MultipartFile#getOriginalFilename method in the ResourcesServiceImpl#updateResource,  just like ResourcesServiceImpl#createResource method.
I'm not sure if this is intended or just a bug, but it's kind of weird to me.
How to reproduce

Upload a new file xxx.jar with the name(alias) xxx-1.jar.
Check page response, alias : "xxx-1.jar" filename : "xxx.jar".
Rename xxx-1.jar to xxx-2.jar.
Check page response, alias : "xxx-2.jar" filename : "xxx-2.jar". (Filename override by alias)

Anything else
This can be fixed easily by changing
        resource.setAlias(name);
        resource.setFileName(name);
        resource.setFullName(fullName);
        resource.setDescription(desc);
        resource.setUpdateTime(now);
        if (file != null) {
            resource.setSize(file.getSize());
        }

to
        resource.setAlias(name);
        resource.setFullName(fullName);
        resource.setDescription(desc);
        resource.setUpdateTime(now);
        if (file != null) {
            resource.setSize(file.getSize());
            resource.setFileName(file.getOriginalFilename());
        }

If this is a bug, I'd like to submit a PR to fix it.
Have a nice day.
Version
3.0.x
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

We have refactored the resources center in dev branch. Could you please check whether this problem still exists? @ro4

Hi, @SbloodyS, i just wonder that after refactoring the resource center, ds doesn't support authority management of resource any more? If not support, we should remove relative codes.

We have refactored the resources center in dev branch. Could you please check whether this problem still exists? @ro4

I have built it from dev branch and ran it in standalone mode locally, it looks normal now since the createResource method also use @RequestParam(value = "name") String alias as the filename.
As long as the createResource  and the updateResource  deal with the filename the same way, there is no issue here.

Hi, @SbloodyS, i just wonder that after refactoring the resource center, ds doesn't support authority management of resource any more?

The permission management remains the same. Do you have any problems with this?

We have refactored the resources center in dev branch. Could you please check whether this problem still exists? @ro4

I have built it from dev branch and ran it in standalone mode locally, it looks normal now since the createResource method also use @RequestParam(value = "name") String alias as the filename.
As long as the createResource and the updateResource deal with the filename the same way, there is no issue here.

Glad to hear that👍 We plan to release it in 3.2.0-release.

The permission management remains the same. Do you have any problems with this?

It seems that current resource permission authority change from user granularity to tenant granularity? If yes, we don't need to support authorize resource in user management, and we should better remove these parts of code. Now it's inconsistent, when we query user's authorized files, it should return corresponding tenant's authorized file, however, in fact, it returns datas in deprecated resource tables. Are there any plans to clean that parts of code?


Menu wont close on new page

Hello
when go to new page
get url of new page but the page is blank
with this div covering whole page:

sometimes menu even dont get closed but stayes fixed above blank page
And after that menu button dont work .

That sounds odd, are there any other scripts or frameworks you're using that might cause issues?
Are there any JS errors in the console?

Yes , its a web aplication, has few Js scripts,
container fluid is where the page content ,
but its not targeted with mmenu classes ( mm-slideout ), there are two js
scipts instead in it
here is screenshoot :
screencast.com/t/ucB2gy4Ko
On Sep 27, 2015 3:05 PM, "Fred Heusschen"<EMAIL_ADDRESS>wrote:

That sounds odd, are there any other scripts or frameworks you're using
that might cause issues?
Are there any JS errors in the console?
—
Reply to this email directly or view it on GitHub
https://github.com/BeSite/jQuery.mmenu/issues/436#issuecomment-143547997
.

Having <script> nodes inside the page is not recommended. To prevent the plugin from wrapping all content in a new <div> (and so possibly breaking scripts inside), wrap all HTML in one <div>, as suggested in the tutorial:
http://mmenu.frebsite.nl/tutorials/basic/setting-up-the-html.html

Thank you for your reply.
Yes im using
to wrap all the devis beatween the body tags
It seems that for me is router.js that is creatig the problem ,
he gets encpsulated inside mmenu divs.
On Sun, Sep 27, 2015 at 8:15 PM, Fred Heusschen<EMAIL_ADDRESS>wrote:

Having

OK, that also would re-insert the script tag in the DOM after documentReady. There's no way around that. Can you move the script tag outside of the menu?


Array Length Container is not working in IDE.

夫「甲」之長。
=> nothing
Expected result:
var _tmp = 甲.length
I only tested this in IDE. Not sure if it compiles.

Thanks for spotting the bug! Now it should be fixed: f25e882b1cb421fe0b67f494df5ad1ba03729020


Plug-in group not saving

I save a selection of plug-ins for a group, but when I re-start Obsidian, all the plug-ins are activated. The group is set to load at start up.
Is it possible that sync is re-setting the group?

Hm, it shouldn't, would you mind sharing your plugin groups settings?
And when you say all plugins are activated do you mean through obsidian or through plugin groups?

Thanks for your reply. Does this help?

Could you clarify something more for me: When you say all the plugins are activated do you mean all plugins are added to the group "Normal"?
If not, what exactly do you mean with activated?

Strange, I don't think it should have anything to do with sync, but I'm glad to hear it works now. In case it stops working again, feel free to return this issue.

The saving no longer works, I'm afraid. I edit the plug-in group by de-selecting particular plugins and then press "save". But whenever I re-start Obisidian, all the plug-ins are selected. It has the option for "load at start up".


Update keyvault.md

Updating maven versions to latest releases

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-autogen/com.microsoft.azure.sdk.iot.device._device_i_o.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.sdk.iot.device._device_twin._device_method.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.sdk.iot.device._device_twin._device_twin.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.sdk.iot.device._internal_client.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.sdk.iot.device._module_client.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-services/keyvault.md
:white_check_mark:Succeeded
View (azure-java-stable)

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


Remove ZWSP (u200b)

from between method name and (:
$ git checkout ff43b4a
$ cat -nv weld-spi/src/main/java/org/jboss/weld/serialization/spi/ProxyServices.java | grep -E "^ *(64|89|102)"
    64	    default Class<?> defineClassM-bM-^@M-^K(Class<?> originalClass, String className, byte[] classBytes, int off, int len) throws ClassFormatError {
    89	    default Class<?> defineClassM-bM-^@M-^K(Class<?> originalClass, String className, byte[] classBytes, int off, int len, ProtectionDomain protectionDomain) throws ClassFormatError {
   102	    default Class<?> loadClassM-bM-^@M-^K(Class<?> originalClass, String classBinaryName) throws ClassNotFoundException {

May I ask for review, please?

@pzygielo  while I don't mind the change, what's the problem with current state?

@manovotn
Some tools don't like it:
Lexical error in file .../api/weld-spi/src/main/java/org/jboss/weld/serialization/spi/ProxyServices.java at line 64, column 33.  Encountered: Lexical error at line 64, column 33.  Encountered: "\u200b" (8203), after : "" (in lexical state 0)


Use a random seed for simulations.

Ensure that we are not running the "same" simulation on each run.

This also makes the comments be unique in the case of one of the snakes steamrolling everyone like pathy there getting 10/10 wins over and over :P

.deploy


Cleanup Shoot provider label from the secret if there are no secretbindings referring it

How to categorize this PR?

/area control-plane
/kind bug
What this PR does / why we need it:
See https://github.com/gardener/gardener/issues/7977 for detailed issue description.
Now, if no other secretbinding is referring the secret, we also cleanup the shoot provider label.
Which issue(s) this PR fixes:
Fixes #7977
Special notes for your reviewer:
Release note:

A bug causing the shoot provider label in the infrastructure secret to not get cleaned up is now fixed.

/cc @ialidzhikov

/cc @hendrikKahl

/approve
/lgtm

@shafeeqes: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:
Test name	Commit	Details	Required	Rerun command
pull-gardener-e2e-kind	4c9bd4b link	unknown	/test pull-gardener-e2e-kind
Full PR test history. Your PR dashboard. Command help for this repository. Please help us cut down on flakes by linking this test failure to an open flake report or filing a new flake report if you can't find an existing one. Also see our testing guideline for how to avoid and hunt flakes.

is another occurence of https://github.com/gardener/gardener/issues/6897#issuecomment-1566628118

/retest


Update to v0.4.0

Update version tags to v0.4.0.

@golaz In addition to these code changes, I created a draft GitHub release:
Version tag: 0.4.0
Release title: v0.4.0
Describe this release:

Added verbosity option
Added ability to use Zstash on machines without HPSS

(I didn't mention the refactor commits since those don't actually affect users)

Using https://e3sm-project.github.io/e3sm_diags/docs/html/dev_guide/releasing-e3sm-diags.html as a guide, I believe the order of steps would be:

Merge this pull request
Release v0.4.0 on GitHub
Release v0.4.0 on Anaconda

Release now on https://github.com/E3SM-Project/zstash/releases. Still need to release on Anaconda.


[python] Leverage Casadi JIT compilation

It is possible to speedup simulation by pre-compiling computationally intensive loops. For C++ core, the main bottlenecks are related to the contact solver, namely the decomposition of the mass matrix and the projected gauss seidel algorithm. Precompilation is not going to help much in this cases. However, it could be very helpful to speed-up reinforcement learning pipeline where many basic operators and pinocchio functions are chained together. It would not only totally remove the overhead of intermediary function calls, but also speed-up computation by taking advantage of the given model's kinematic tree. What is still unclear is in what extend it casadi symbolics can be mixed with the robot model exposed by the simulator. The trivial implementation would consists in compiling standalone algorithms that requires proving the current state of the simulator systematically. It is unlikely to increase much the computational cost as only forward kinematics in going to be involved, which is fairly cheap to evaluate, in particular if the computation graph is simplified at compile time to remove irrelevant branches. This feature is only available with pinocchio>=2.9.0, which may require some refactoring of Jiminy to support it.
Here is an example of what can be done using casadi in python.

In principale, i should make jiminy/pinocchio code jit-able with JAX as a side effect, which is a tremendous advantage.


How to make the popup view respond to drag?

Is there any way to make the whole view draggable, and not just simply by touching the navBar?

This is not something I would like to support in STPopup because it might break if there is a scroll view embedded.
I guess you could workaround this by adding a gesture to your view and transform the container view of popup. Call dismiss when gesture is ended.


[BUG] Slow Rendering of Governance Actions

Description:
The frontend experiences significant delays in rendering governance actions. Although all necessary API responses for rendering governance actions are fetched, the rendering process is notably slow, impacting user experience.
This issue also affects automated testing, leading to flaky test results.

Blocked by status code 500 on the API @jankun4

@MSzalowski  What is the status?

They supposed to be a little bit faster, but still the logic behind fetching the proposals with validation of them makes the loading of the list slow. @jankun4 will try to improve that

That should be fixed by #1234


Memory Leak with PyTorch in ROCM 2.9

Hi,
I have been running some experiments on my Vega 10 GPU and I have found that while I am running a model fully in GPU it starts eating slowly the CPU memory until there is no memory left. I simplified my code as much as possible to help you reproduce it. I've tried exactly the same code in a p2.xlarge instance in AWS with Pytorch and the CPU memory usage is perfectly constant while training.
If you run it, you will see that after 30 epochs it will have consumed about 5-10 GB of CPU memory. When training bigger models this effect is more remarkable...
I am using Pytorch inside Docker, using rocm/pytorch:rocm2.9_ubuntu16.04_py3.6_pytorch as a base.
Any help will be appreciated :D
import numpy as np
from torch import nn
import torch

BATCH_SIZE = 128
TIME_STEPS = 1000
FEATURES = 10
FORECAST_HORIZON = 15

# Model delfinition

class Encoder(nn.Module):
    def __init__(self, n_num_time_feats):
        super().__init__()
        self.rnn_encoder = nn.LSTM(input_size=n_num_time_feats, hidden_size=128)

    def forward(self, x_num_time):
        _, state = self.rnn_encoder(x_num_time)
        return state

class Decoder(nn.Module):
    def __init__(self, n_forecast_timesteps):
        super().__init__()
        self.h = nn.Linear(in_features=256, out_features=n_forecast_timesteps)

    def forward(self, state):
        batch_size = 128
        context_thought = torch.cat(state, -1).squeeze()
        output = self.h(context_thought).t()
        return output

def torch_rmse(actual, forecast):
    residuals = actual - forecast
    rmse = torch.sqrt(torch.mean((residuals) ** 2))
    return rmse

enc = Encoder(FEATURES).cuda()
dec = Decoder(FORECAST_HORIZON).cuda()
optimizer = torch.optim.Adam(params=list(enc.parameters()) + list(dec.parameters()))

for epoch in range(0, 30):  # Epochs loop
    print("Epoch: ", epoch)
    for i in range(2000):  # Batches loop
        data = np.random.randn(TIME_STEPS, BATCH_SIZE, FEATURES).astype(np.float32)
        target = np.random.randn(FORECAST_HORIZON, BATCH_SIZE).astype(np.float32)
        data = torch.from_numpy(data).cuda()
        target = torch.from_numpy(target).cuda()

        optimizer.zero_grad()
        output = dec(enc(data))
        loss = torch_rmse(target, output)
        loss.backward()
        optimizer.step()

Edit: I tried with the version 3.0 of ROCM and the problem is still there.

any help?

Since you observe CPU memory exhaustion, could you elaborate on your host setup? How much RAM do you installed, what OS and kernel is running on the host, can you see which process is eating up the memory (is it the python process?)?
For future reference: we are monitoring https://github.com/ROCmSoftwarePlatform/pytorch/ issues closely, so if you have future issues do not hesitate to open them there if they are observed with PyTorch like this one.

I've run the script for the full 30 epochs and memory consumption of the python process on host never exceeded 4.6 GB RES. I think that's good news insofar as it doesn't seem to be fundamentally broken. My environment was a ROCm 3.0 docker, recent PyTorch, Radeon VII, Ubuntu 19.10 with stock Linux 5.3 kernel (no rocm-dkms). So as noted before it'd be very important for you to share your setup so that we have a chance at figuring out what relevant difference(s) are.

Hi @ivallesp, please check latest ROCm Documentation and ROCm 5.7.1 to see if your issue has been resolved.  If resolved, please close the ticket.  Thanks.

Original ticket is more than a year old and the person that opened the ticket has not responded to the latest request.  If this is still an issue, please file a new ticket and we will investigate.  Thanks!


Local configuration rules are too strict

As you note in the docs for configuring now:

You can choose between creating a separate file for configuring Now (named now.json) or using the package.json file for this (if it's a Node.js project). Please note that it's not possible to use both methods to configure Now for a given project. If you use now.json, you can't include the now namespace within package.json, and vice-versa.

We need to have different configurations for deploying to "staging" vs "production". It would be nice if we could leave our default config (for staging) in the package.json file, and have our production config in its own file to be deployed with now --local-config=now.prod.json.
If I try to do this I get an error, as I'd expect given the documentation copied above:

Error: You have a now configuration field inside package.json but configuration is also present in now.json! Please ensure there's a single source of configuration by removing one.

But it seems to me that I've just told now-cli which config I want to use, so there shouldn't be any confusion about what the "source of truth" is.

As of Now CLI 12.0.0, the v2 pipeline (https://zeit.co/blog/now-2) only supports now.json. In turn, this problem should be gone!


Patch flake.nix

Had to patch to flake.nix to install:
diff --git a/flake.nix b/flake.nix
index c95d511..283859c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -132,11 +132,7 @@
           (!isWsl && nvidiaDriverVersionMajor <= 470)
           "--xla_gpu_force_compilation_parallelism=1";
         shellHook = ''
-          source <(sed -Ee '/\$@/d' ${lib.getExe cudaPkgs.nixgl.nixGLIntel})
-        '' + (if isWsl
-          then ''export LD_LIBRARY_PATH=/usr/lib/wsl/lib''${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}''
-          else ''source <(sed -Ee '/\$@/d' ${lib.getExe cudaPkgs.nixgl.auto.nixGLNvidia}*)''
-        ) + "\n" + commonShellHook;
+        '' + commonShellHook;
       };

Hi @chrisflesher,
Thank you for opening an issue!
The removed lines in your patch are there for compatibility with non-NixOS Linux distributions and WSL2 environments, normally they shouldn't cause any problem.  May I know what problems are you facing with the original flake.nix?  Pasting the error messages here and describing your development environment would help me understand what is going on, so that I can come up with a possibly better solution.

Hi @blurgyy, this is running on a VM with Ubuntu 20.04. Here is the error message I was getting:
chris@flask /opt/jaxngp (main) $ nix develop --impure --show-trace
error:
       … while calling the 'derivationStrict' builtin

         at /builtin/derivation.nix:9:12: (source not available)

       … while evaluating derivation 'cuda'
         whose name attribute is located at /nix/store/nkhjmzkf9hky9h34yrfy0cgyd9pbh03v-source/pkgs/stdenv/generic/make-derivation.nix:270:7

       … while evaluating attribute 'shellHook' of derivation 'cuda'

         at /nix/store/nkhjmzkf9hky9h34yrfy0cgyd9pbh03v-source/pkgs/build-support/mkshell/default.nix:41:3:

           40|
           41|   shellHook = lib.concatStringsSep "\n" (lib.catAttrs "shellHook"
             |   ^
           42|     (lib.reverseList inputsFrom ++ [ attrs ]));

       … from call site

         at /nix/store/4i8nvv3yjqy8n0f7zvqzjxpakkfljc2q-source/flake.nix:138:46:

          137|           then ''export LD_LIBRARY_PATH=/usr/lib/wsl/lib''${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}''
          138|           else ''source <(sed -Ee '/\$@/d' ${lib.getExe cudaPkgs.nixgl.auto.nixGLNvidia}*)''
             |                                              ^
          139|         ) + "\n" + commonShellHook;

       … while calling 'getExe'

         at /nix/store/nkhjmzkf9hky9h34yrfy0cgyd9pbh03v-source/lib/meta.nix:141:12:

          140|   */
          141|   getExe = x:
             |            ^
          142|     "${lib.getBin x}/bin/${x.meta.mainProgram or (lib.getName x)}";

       … while evaluating derivation 'nixGLNvidia-535.86.10'
         whose name attribute is located at /nix/store/nkhjmzkf9hky9h34yrfy0cgyd9pbh03v-source/pkgs/stdenv/generic/make-derivation.nix:270:7

       … while evaluating attribute 'text' of derivation 'nixGLNvidia-535.86.10'

         at /nix/store/nkhjmzkf9hky9h34yrfy0cgyd9pbh03v-source/pkgs/build-support/trivial-builders.nix:124:16:

          123|     runCommand name
          124|       { inherit text executable checkPhase meta;
             |                ^
          125|         passAsFile = [ "text" ];

       … while evaluating derivation 'nvidia-x11-535.86.10-nixGL'
         whose name attribute is located at /nix/store/cvdzv2z3d2cp5cf7y7l8cq4n7lgnq6nb-source/pkgs/stdenv/generic/make-derivation.nix:302:7

       … while evaluating attribute 'src' of derivation 'nvidia-x11-535.86.10-nixGL'

         at /nix/store/gb1rfp8s0mhvjwhv33amfjd3cpzrigj0-source/nixGL.nix:76:11:

           75|           inherit version;
           76|           src = let
             |           ^
           77|             url =

       error: unable to download 'https://download.nvidia.com/XFree86/Linux-x86_64/535.86.10/NVIDIA-Linux-x86_64-535.86.10.run': HTTP error 404

       response body:

       <?xml version="1.0" encoding="iso-8859-1"?>
       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

       		<title>404 - Not Found</title>

404 - Not Found

Hi @chrisflesher,
Thank you for providing the information.

   error: unable to download 'https://download.nvidia.com/XFree86/Linux-x86_64/535.86.10/NVIDIA-Linux-x86_64-535.86.10.run': HTTP error 404

It seems your installed NVIDIA driver version is 535.86.10, but NVIDIA has removed it from their website (if it was ever there): https://download.nvidia.com/XFree86/Linux-x86_64/, the most similar version I can find on this site is 535.86.05, could you please try to uninstall your current driver and execute NVIDIA's official run file from their website?
And have you tried running the training process with actual data after applying this patch?  If the system is any distribution other than NixOS (e.g. ubuntu VM in this case), I don't think the program would run in after deleting those lines.


enhance: Define package exports for modern tooling

BREAKING CHANGE:

Requires node 10+ (and not node 13 less than 13.7)
No nested exports - only allowed usage:

import { /* something */ } from '@rest-hooks/test';
import packageJson from<EMAIL_ADDRESS>

Motivation

Some imports are used in context of storybook, which makes the node-only intended pieces screw up webpack

Module not found: Error: Can't resolve 'redux' in '/home/ntucker/src/anansi/node_modules/@rest-hooks/test/lib'
WARNING in<EMAIL_ADDRESS>53:11-42 Critical dependency: the request of a dependency is an expression

Trial run exports to eventually use in other packages

Solution

References for behavior in node, webpack and typescript (not supported yet)

https://webpack.js.org/guides/package-exports
https://nodejs.org/docs/latest-v15.x/api/packages.html
https://github.com/microsoft/TypeScript/issues/33079

Exports

node specific stuff

includes everything
has both cjs and es6 modules
has its own types to ensure everything
targets node 10
Use wrapper method to avoid dual package hazard

fallback (modern browser)

targets stage 4 at time of publishing (https://webpack.js.org/guides/package-exports/#target-environment)
only exports stuff that might be used outside of node run tests (like MockResolver)
types only include the exports from here

Provide package.json for various tools that like reading it

main/module/types (legacy definitions)
Generally try to keep in line to existing behavior:

Include everything (no way to tell if we're in node)
es6 modules target the default BROWSERSLIST_ENV
cjs targets node 10

Technically legacy cjs could still be for another environment (super legacy tools?) but node 10 isn't super new so probably about same? Don't even know what tools might do this, but might revisit if it is a problem.
Tradeoffs - lack of node 13.0-13.6 support
Early versions of node 13 supported exports field, but had differing behavior of how to handle it.
What we get

exports definition the way it's "meant" going to the future
Lots of wins for both current tooling like webpack as well as future unanticipated tooling that exploits es6

What we lose

non-LTS release versions that are very old

Most users that don't upgrade for a while but still actively use a project are likely to at least do a minor version update. Furthermore, if they haven't yet it should not be too burdensome to upgrade (and they should anyway for security reasons). Because of this, it is considered an acceptable sacrificed.

gonna change node 'import' to avoid https://nodejs.org/docs/latest-v15.x/api/packages.html#packages_approach_1_use_an_es_module_wrapper (even tho in practice there probably won't be issues since there is no context created, we can't assume anything about how users use the code)

"type" - The package type determining whether to load .js files as CommonJS or ES modules. from https://nodejs.org/docs/latest-v15.x/api/packages.html#packages_node_js_package_json_field_definitions
We're using .cjs for commonjs files so everything else is es6.

no - a properly backwards compatible package has its "main" and "." default set to a CJS .js file, and import is the only one that's ESM.

For someone that understands ESM, there's no need to ever fall back from "import".


how do i create my own custom (updated) docker images

I saw the repositories which have dockerfile for most desktop environments. Had them tested out but to be honest they are quite old and some don't work (like gnome).
I am not a newbie to linux but I don't know everything about DEs apart from the basic packages they provide. My Question is, that if there is a recipe for creating a desktop environment then kindly tell me so that I can create my own custom docker image to work with x11docker.
And if there is something special that x11docker needs for that. I plan to open source those dockerfiles (I can help with that but I am really bad at low level things so sorry, can't help in x11docker's development)
I don't know if someone will see this or not but if you are reading this, then kindly tell me how could i do it. I know docker from an enterprise perspective but not from a desktop users perspective.

There is no general recipe for desktop environments.
I just build images, try to run them, read the error messages, and look for possible fixes. Be it additional installations or configurations in image, be it x11docker options.

I have created mine based on Dockerfile from one of the images created by @mviereck , I am using x11docker quite extensively, and now I am trying systemd-nspawn (docker/LXC alternative) and Xwayland command directly to make my own little script.
https://github.com/CoolnsX/desktop-in-docker
and this is the Dockerfile from the above repo, that I adapted --
https://github.com/CoolnsX/desktop-in-docker/blob/master/Dockerfile


[AB#43807][AB#43809] releases(dev): iteration 96

Pull Request
Prerequisites

[ ] The PR is targeting the right branch (dev for features and master for
releases)
[ ] potential release notes to the PR description added
[ ] potential testing notes to the PR description added
[ ] appropriate labels for the PR applied

Description

No delta


Support passing annotations for rules

Related: https://github.com/apache/incubator-openwhisk-cli/issues/426
I inspected the rules code and there doesn't seem to be any code that will pass on annotations.
Looks like ruleBody:
https://github.com/apache/incubator-openwhisk-client-js/blob/e772a2fd0811f4a2c7a0cc4e832c4d08e192b320/lib/rules.js#L35
should accept annotations in the options like actions.js:
https://github.com/apache/incubator-openwhisk-client-js/blob/e772a2fd0811f4a2c7a0cc4e832c4d08e192b320/lib/actions.js#L76

It seems this issue is focused on the JS client (unlike #426).

Can you please fix the title to reflect that?
I guess this warrants a broader review of this aspect (supporting annotations for rules) in additional client libraries - Python, Go, etc.

The issue is filed in the incubator-openwhisk-client-js repo, so I'm not sure why we need to distinguish further. Seems redundant to me?
This feature is actually needed since wskdeploy does support annotations for rules. See https://github.com/apache/incubator-openwhisk-wskdeploy/blob/master/specification/html/spec_shared_entity_schema.md#shared-entity-schema

@shazron You are right - it looks like the JS SDK has missed this feature. Would you like to open a PR?


Renaming the name of the Ui into SmartSplit, renaming the data storage

Pull Request Test Coverage Report for Build 274

2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 90.402%

Totals

Change from base Build 273:
0.0%

Covered Lines:
2317

Relevant Lines:
2563

💛  - Coveralls


Roll Plugins from ed2e7a78aee8 to a1829ba7f5b2 (2 revisions)

https://github.com/flutter/plugins/compare/ed2e7a78aee8...a1829ba7f5b2
2021-09-22<EMAIL_ADDRESS>Add false secret lists, and enforce ordering (flutter/plugins#4372)
2021-09-22<EMAIL_ADDRESS>[camera_web] Update usage documentation (flutter/plugins#4371)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Reclaiming bulk tips redirects to home page but user has to wait and manually refresh in order to see reclaimed sats

Shouldn't these tips be polled?

Fixed


MSMT17 configs

Is there a recommended configs for msmt17 dataset, since I found simplely replace the dataset dir in softmax_triplet_with_center.yml with msmt17 doesn't work well (very low mAP / R1).  Are there any specific settings for this dataset?

Yes, we did not focus on the training on MSMT17. The training settings for MSMT should be changed. You can refer to fast-reid https://github.com/JDAI-CV/fast-reid/tree/master/configs/MSMT17


Quick start The demo running time is abnormal

I used a fast-start demo that took 30 seconds to complete on a 4090Ti.

But I use the web service interface processing time only needs 200ms, read the code, the core reasoning method and parameters are basically the same, could you tell me why, thank you

Hi @chenzhu005774 , thank you for your interest in Bunny.
I tried it on 16G 4060Ti:
if torch.set_default_device('cpu'), 6s for model = AutoModelForCausalLM & tokenizer = AutoTokenizer, 13s for all other things. If you generate for more than 1 time in quick start, 10s for every following generations.
If torch.set_default_device('cuda'), and .cuda() for input_ids & image_tensor: around 1.2~1.4s for second and third generation.
Hope this helps!
Regards
Russell
BAAI


GH:851 Kafka Streams topology visualization

Add Boot actuator endpoints for topology visualization.
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/851

backport to 3.0.x.

LGTM, ready to merge

Rebased and merged at cc5d1b1aa65676de1233c7661985a5c09e27e5af


GUACAMOLE-1125: Quick-Fix for substituteKeysPressed handler to proper release keys on guacKeyup events

Issue which evidenced starting with guacamole-server version 1.2.0. Send guacSyntheticKeyup (DEL key here) BEFORE deleting it for proper behavior.

@echu2013: Thanks for the quick-fix - I think it looks fine. My only request is that you tweak the commit message and PR title a bit to be less-specific to keys/key sequences and somewhat more generic. While you're seeing this in Ctrl-Alt-End, the issue actually fixes any/all substitute key presses that might be present.

Does now make sense???

@echu2013: Much better - one more request - can you adjust the commit message so that it isn't cut off?  I think a single line for this one will be okay :-).

@echu2013: Much better - one more request - can you adjust the commit message so that it isn't cut off? I think a single line for this one will be okay :-).

Is it better now?


Add IO.parTraverse

Said @jdegoes

Uses par for parallel composition.

Provides a traversal where effects are computed in parallel. I refrained from defining parSequence because the name sounded weird 😅

Oooh, nice 👍 I didn't know about that combinator, thanks.
On Wed, 13 Jun 2018 at 13:24 Gastón Tonietti<EMAIL_ADDRESS>wrote:

@ktonga approved this pull request.
Noice. Thanks again.
In core/jvm/src/test/scala/scalaz/zio/IOSpec.scala
https://github.com/scalaz/scalaz-zio/pull/40#discussion_r195056346:

@@ -42,4 +44,12 @@ class IOSpec extends Specification with GenIO with RTS with ScalaCheck {
res must beAFailedTry.withThrowable[NumberFormatException]
}

def t4 = {
val list = List("1", "2", "3")
val res  = unsafePerformIO(IO.parTraverse(list)(x => IO.pointString, Int))
res must contain(1)

Just in case, we don't want to pass if res is List(1, 1, 2, 2, 3, 3) 😃
res must containTheSameElementsAs(List(1,2,3))
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/scalaz/scalaz-zio/pull/40#pullrequestreview-128345065,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAmc2P0I5clY2x5QQlW8xiioZchy6iNNks5t8QRrgaJpZM4Uk_6U
.

--
This e-mail and all attachments are confidential and may also be
privileged. If you are not the named recipient, please notify the sender
and delete the e-mail and all attachments immediately. Do not disclose the
contents to another person. You may not use the information for any
purpose, or store, or copy, it in any way.  Guardian News & Media Limited
is not liable for any computer viruses or other material transmitted with
or as part of this e-mail. You should employ virus checking software.
Guardian News & Media Limited is a member of Guardian Media Group plc.
Registered Office: PO Box 68164, Kings Place, 90 York Way, London, N1P 2AP.
 Registered in England Number 908396

...
scalafmt
...
scalafmt
...
scalafmt

:laughing:

@ktonga @jdegoes I'm not sure whether using KleisliIO would make any sense here, but I can give it a try. wdyt?

That's a reasonable question, but given the shape of fn I don't think we are going to get much from using KleisliIO. But let's wait for the opinion of The Grand Master :smile:

I was thinking something like this:
whileDo(Kleisli.pure(_._1 == bs.length)(Kleisli.impure { case (n, builder) => (n + 1, builder += bs(n)) })

provided List is replaced with something that has constant length and lookup operations.

KleisliIO will be faster if you can use it here (for large collections, anyway), although I'd just do it in an imperative style and wrap it in IO.sync because there's no benefit to reusing the pieces inside the function.

☝ I know that won't work 😅 that was a mistake.

All good now?