make install: SIGSEGV

Hi,
i tried looking into if we can extend this project instead of doing our own thing over at https://github.com/kraudcloud/wga
but i might need some help getting started with development.
according to https://book.kubebuilder.io/quick-start.html#create-a-project
you just make install  however, in minikube v1.25.2:
wireguard-operator make install
/work/kraud/wireguard-operator/bin/controller-gen rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=config/crd/bases
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xa0c6be]

goroutine 96 [running]:
go/types.(*Checker).handleBailout(0xc0005bca00, 0xc001af7d40)
	/usr/lib/go/src/go/types/check.go:367 +0x88
panic({0xbb8e00?, 0x1297d30?})
	/usr/lib/go/src/runtime/panic.go:770 +0x132
go/types.(*StdSizes).Sizeof(0x0, {0xdadaf8, 0x12a0740})
	/usr/lib/go/src/go/types/sizes.go:228 +0x31e
go/types.(*Config).sizeof(...)
	/usr/lib/go/src/go/types/sizes.go:333
go/types.representableConst.func1({0xdadaf8?, 0x12a0740?})
	/usr/lib/go/src/go/types/const.go:76 +0x9e
go/types.representableConst({0xdb3fc0, 0x126c5e0}, 0xc0005bca00, 0x12a0740, 0xc001af74b0)
	/usr/lib/go/src/go/types/const.go:92 +0x192
go/types.(*Checker).representation(0xc0005bca00, 0xc001a51500, 0x12a0740)
	/usr/lib/go/src/go/types/const.go:256 +0x65
go/types.(*Checker).implicitTypeAndValue(0xc0005bca00, 0xc001a51500, {0xdadb20, 0xc00029c690})
	/usr/lib/go/src/go/types/expr.go:375 +0x30d
go/types.(*Checker).assignment(0xc0005bca00, 0xc001a51500, {0xdadb20, 0xc00029c690}, {0xc85fa6, 0x14})
	/usr/lib/go/src/go/types/assignments.go:52 +0x2e5
go/types.(*Checker).initConst(0xc0005bca00, 0xc0016607e0, 0xc001a51500)
	/usr/lib/go/src/go/types/assignments.go:126 +0x336
go/types.(*Checker).constDecl(0xc0005bca00, 0xc0016607e0, {0xdb07b8, 0xc0018f0fa0}, {0xdb07b8, 0xc0018f0fc0}, 0x0)
	/usr/lib/go/src/go/types/decl.go:490 +0x348
go/types.(*Checker).objDecl(0xc0005bca00, {0xdb9558, 0xc0016607e0}, 0x0)
	/usr/lib/go/src/go/types/decl.go:191 +0xa49
go/types.(*Checker).packageObjects(0xc0005bca00)
	/usr/lib/go/src/go/types/resolver.go:693 +0x4dd
go/types.(*Checker).checkFiles(0xc0005bca00, {0xc00196c000, 0x5, 0x5})
	/usr/lib/go/src/go/types/check.go:408 +0x1a5
go/types.(*Checker).Files(...)
	/usr/lib/go/src/go/types/check.go:372
sigs.k8s.io/controller-tools/pkg/loader.(*loader).typeCheck(0xc0002c6fc0, 0xc000fc8aa0)
	/home/aep/.go/pkg/mod/sigs.k8s.io/controller-tools@v0.8.0/pkg/loader/loader.go:283 +0x36a
sigs.k8s.io/controller-tools/pkg/loader.(*Package).NeedTypesInfo(0xc000fc8aa0)
	/home/aep/.go/pkg/mod/sigs.k8s.io/controller-tools@v0.8.0/pkg/loader/loader.go:96 +0x39
sigs.k8s.io/controller-tools/pkg/loader.(*TypeChecker).check(0xc00141c600, 0xc000fc8aa0)
	/home/aep/.go/pkg/mod/sigs.k8s.io/controller-tools@v0.8.0/pkg/loader/refs.go:263 +0x2b7
sigs.k8s.io/controller-tools/pkg/loader.(*TypeChecker).check.func1(0x53?)
	/home/aep/.go/pkg/mod/sigs.k8s.io/controller-tools@v0.8.0/pkg/loader/refs.go:257 +0x53
created by sigs.k8s.io/controller-tools/pkg/loader.(*TypeChecker).check in goroutine 26
	/home/aep/.go/pkg/mod/sigs.k8s.io/controller-tools@v0.8.0/pkg/loader/refs.go:255 +0x1c5
make: *** [Makefile:100: manifests] Error 2

Moin @aep,
what go version are you using?

it's working for me with go version go1.22.0 darwin/arm64

however, in minikube v1.25.2
doesn't really matter as you have the error before kubectl apply is running

i tried looking into if we can extend this project instead of doing our own thing over at https://github.com/kraudcloud/wga

Can you walk me through your use case? looking at the repo which appears to be about creating peers and a server, I think wireguard-operator can acheive your use case without any modification and you can start using it right away

go version

go version go1.22.0 linux/amd64

Can you walk me through your use case?

we use it for k8s access. but its alot more fine grained, with only specific routes for ingresses going into the vpn, instead of <IP_ADDRESS>/0

with only specific routes for ingresses going into the vpn, instead of <IP_ADDRESS>/0

AllowedIPs can be modified already. wireguard-operator also supports network policies through iptables where you can ensure that a peer can only access a specific route.

but i'm half done writing a proper CRD now :|
have fun maintaining more stuff then :D

AllowedIPs can be modified already. wireguard-operator also supports network policies through iptables where you can ensure that a peer can only access a specific route.

oh!   #110 was never closed tho?

just to be clear:

with only specific routes for ingresses going into the vpn,
you want a peer A to only be able to access specific IPs?

have fun maintaining more stuff then :D

oh yeah..   i cant figure out why the kubebuilder thing is broken tho :(   it looks huuuge

just to be clear:

with only specific routes for ingresses going into the vpn,

you want a peer A to only be able to access specific IPs?

yes. thats 1. an nftables thing server side, 2. of course only those ips should be in allowedips in the generated client config too

oh also this one is missing ip6 forward config in sysctl. easy fix. if i could get it to build

#110 is about setting the allowedIP in the server side. This is something else. This allows peer B to acess IP X on peer A. it's not related to setting the allowedIps on the generated client config.

ah! i misread that, thanks

what version is /work/kraud/wireguard-operator/bin/controller-gen ?

can you try this:
edit the makefile, update CONTROLLER_TOOLS_VERSION to v0.7.0 or v0.9.0

same result with 0.9 and a fresh checkout

okay, I have good news, I can reproduce your error after deleting my bin folder

awesome. going to check back tomorrow :) ttyl

looks like CONTROLLER_TOOLS_VERSION ?= v0.14.0 fixes it!

btw, are you aware that you could try wireguard-operator just by simply running:
kubectl apply -f https://github.com/jodevsa/wireguard-operator/releases/download/v2.0.0/release.yaml

?

btw, are you aware that you could try wireguard-operator just by simply running:
kubectl apply -f https://github.com/jodevsa/wireguard-operator/releases/download/v2.0.0/release.yaml

?

Yep but not work on it.
Thanks for the fix!
I'll open some PRs for stuff we're missing once I got it running in minikube. Like V6 forwarding and generating a QR code.

hm im stuck here now
make run
/work/kraud/wireguard-operator/bin/controller-gen rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=config/crd/bases
/work/kraud/wireguard-operator/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..."


Fix dungeon joining buttons to work.

This changes sent commands by buttons in Party Manager the "F1 F2 F3..." from "/joindungeon catacombs 1" to "/joindungeon CATACOMBS_FLOOR_ONE" to fit new dungeon systems and make it work.

What's you're discord username?

What's you're discord username?

.insajd

Are you on the discord? Can't seem to @ you


Remove SDX_HOME, add tag and update changelog

Codecov Report

Merging #53 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #53   +/-   ##
=======================================
  Coverage   96.03%   96.03%
=======================================
  Files           2        2
  Lines         227      227
=======================================
  Hits          218      218
  Misses          9        9

Continue to review full report at Codecov.

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

 (2) Remove erroneous use of SDX_HOME in makefiles

Superseded by #55


Export types

This just exports the RatingComponentProps types so it can be imported elsewhere.
In my case I needed these types to be exported so I could extend them in a custom rating wrapper component.

Thanks for the contribution!
Released in 1.5.0.


COLLECT_API_ENDPOINT crashing Docker image

Describe the Bug
using ghcr.io/umami-software/umami:postgresql-v2.2.0
when I set this variable as below:
    environment:
      COLLECT_API_ENDPOINT: /api/ramen

Image crashes at startup.
Thank you
Database
PostgreSQL
Relevant log output
umami  | ✓ Database is up to date.
umami  | $ node scripts/update-tracker.js
umami  | node:internal/fs/utils:347
umami  |     throw err;
umami  |     ^
umami  |
umami  | Error: ENOENT: no such file or directory, open '/app/public/script.js'
umami  |     at Object.openSync (node:fs:601:3)
umami  |     at Object.readFileSync (node:fs:469:35)
umami  |     at Object.<anonymous> (/app/scripts/update-tracker.js:11:22)
umami  |     at Module._compile (node:internal/modules/cjs/loader:1254:14)
umami  |     at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
umami  |     at Module.load (node:internal/modules/cjs/loader:1117:32)
umami  |     at Module._load (node:internal/modules/cjs/loader:958:12)
umami  |     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
umami  |     at node:internal/main/run_main_module:23:47 {
umami  |   errno: -2,
umami  |   syscall: 'open',
umami  |   code: 'ENOENT',
umami  |   path: '/app/public/script.js'
umami  | }
umami  |
umami  | Node.js v18.16.0
umami  | error Command failed with exit code 1.

Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
Docker

Not sure what's going on. This is my output with the same image.

oh, Im sorry, I found the issue.
I was overwriting /app/public with a mounted volume, some dev/debug leftover
all good! thanks


teleop: make takeoff height/time configurable

Fixed via https://github.com/IMRCLab/crazyswarm2/pull/273


UTM sources section not showing in dashboard

Good day!
First of all, thanks for such a simple and cool web analytics library, you are awesome!
I'm currently using version 1.40.0. I know that since version 1.36.0 the UTM sources section is available. But for some reason, I don’t see it on any site in the dashboard, although there are visits with UTM tags.

Thank you in advance.

Hello, can you confirm when you go to the raw pages filter you are able to see UTM tags? I believe the Query parameter just parses the string after the ? and displays that.

Hello! Thanks for the answer.
On the "Query parameters" page, I see UTM query parameters, but there is no filter for them.

I dont believe we have filter functionality on all the metrics yet. After Countries you will see counts, but no filters. Something we can add in the future though,

I join in the congratulations - with the official launch of Umami Cloud!
However, I have closed the Issue. I took a closer look at the Releases and saw that in version 1.37.0 the UTM section was moved to the Query parameters section, and from this version there is no separate UTM parameters section. Hence the misunderstanding.
I won't say that this is a good change for those who track advertising campaigns, but in my case it answers the question of the absence of this section. Thanks.


Image Library

P/E ratio scale:

Sustainalytics scale for ESG risk rating:

Postman new request:

Postman - how to enter a new request:

Get:

Create:

Update:

Delete:

NEW GET

error - company doesn't exist

{
"errorCode": 404,
"message": "No FTSE100 company present with Ticker Symbol: NGP"
} - company doesnt exist

company exists
{
"errorCode": 403,
"message": "FTSE100 company already present with Ticker Symbol: EDV"
}

get company that doesn't exist

new post request


Async popup menu updates corrupt in console vim

Describe the bug
If popup menu is changed asynchronously (timer or after language server reply), it is not redrawn properly in console vim. Instead, the menu seems to show contents of memory that's been freed and is now used for something else.
To Reproduce
Detailed steps to reproduce the behavior:

/tmp/popup.vim:
set nocompatible
set mouse=a
set mousemodel=popup_setpos

anoremenu <silent> PopUp.AAAAAAAA :echo "a1"<CR>
anoremenu <silent> PopUp.BBBBBBBB :echo "b1"<CR>
autocmd MenuPopup * :call s:popup1()

func s:popup1()
	call timer_start(1000, {-> s:popup2()})
endfunc

func s:popup2()
	silent! aunmenu PopUp.AAAAAAAA
	silent! aunmenu PopUp.BBBBBBBB
	silent! aunmenu PopUp.CCCCCCCC
	silent! anoremenu <silent> PopUp.AAAAAAAA :echo "a2"<CR>
	silent! anoremenu <silent> PopUp.BBBBBBBB :echo "b2"<CR>
	silent! anoremenu <silent> PopUp.CCCCCCCC :echo "c2"<CR>
endfunc

vim -U NONE -u /tmp/popup.vim --noplugin

right click to show the popup menu

wait a second

one of the menu entries is replaced with ^C:echo ", and the third entry doesn't appear; in gvim this works fine

Expected behavior
I expect the menu to be updated just like it is in gvim.
Screenshots
https://user-images.githubusercontent.com/300342/103034344-f686af00-4564-11eb-87f8-f74457ea2742.mp4
Environment (please complete the following information):
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Dec 23 2020 19:48:05)
Included patches: 1-2199
Compiled by<EMAIL_ADDRESS>Huge version with GTK2 GUI.  Features included (+) or not (-):
+acl               -farsi             +mouse_sgr         +tag_binary
+arabic            +file_in_path      -mouse_sysmouse    -tag_old_static
+autocmd           +find_in_path      +mouse_urxvt       -tag_any_white
+autochdir         +float             +mouse_xterm       -tcl
-autoservername    +folding           +multi_byte        +termguicolors
+balloon_eval      -footer            +multi_lang        +terminal
+balloon_eval_term +fork()            -mzscheme          +terminfo
+browse            +gettext           +netbeans_intg     +termresponse
++builtin_terms    -hangul_input      +num64             +textobjects
+byte_offset       +iconv             +packages          +textprop
+channel           +insert_expand     +path_extra        +timers
+cindent           +ipv6              -perl              +title
+clientserver      +job               +persistent_undo   +toolbar
+clipboard         +jumplist          +popupwin          +user_commands
+cmdline_compl     +keymap            +postscript        +vartabs
+cmdline_hist      +lambda            +printer           +vertsplit
+cmdline_info      +langmap           +profile           +virtualedit
+comments          +libcall           -python            +visual
+conceal           +linebreak         +python3           +visualextra
+cryptv            +lispindent        +quickfix          +viminfo
+cscope            +listcmds          +reltime           +vreplace
+cursorbind        +localmap          +rightleft         +wildignore
+cursorshape       -lua               -ruby              +wildmenu
+dialog_con_gui    +menu              +scrollbind        +windows
+diff              +mksession         +signs             +writebackup
+digraphs          +modify_fname      +smartindent       +X11
+dnd               +mouse             -sound             -xfontset
-ebcdic            +mouseshape        +spell             +xim
+emacs_tags        +mouse_dec         +startuptime       +xpm
+eval              -mouse_gpm         +statusline        +xsmp_interact
+ex_extra          -mouse_jsbterm     -sun_workshop      +xterm_clipboard
+extra_search      +mouse_netterm     +syntax            -xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -L/usr/local/lib -Wl,--as-needed -o vim -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lelf -lselinux -ldl -L/usr/lib/python3.9/config-3.9-x86_64-linux-gnu -lpython3.9 -lcrypt -lpthread -ldl -lutil -lm -lm

OS: Debian testing
Terminal: rxvt-unicode
Additional context
This seems like a weird usecase, but it's being used by the ale plugin to populate the popup menu with LSP code actions that are possible at that position, and it's done asynchronously because all LSP communication in ale is done async: https://github.com/dense-analysis/ale/blob/master/autoload/ale/code_action.vim#L345-L356

Thanks for the fix.
There are still 2 issues after https://github.com/vim/vim/commit/38455a921395a56690790c8c1d28c1c43ca04c8a, however:

If all PopUp.* entries are unmenued and recreated, no command is executed after selecting a menu item, presumably because the entire PopUp menu itself gets freed and the call to pum_execute_menu operates on stale data. This is reproducible with the popup.vim above.

When the menu isn't completely unmenued, but only some items are removed and completely different items are added, selecting an entry that was removed executes the newly added entry instead of the one that is visible (the menu is not redrawn, as it is in gvim). This is reproducible using the following:
set nocompatible
set mouse=a
set mousemodel=popup_setpos

anoremenu <silent> PopUp.AAAAAAAA :echo "a1"<CR>
anoremenu <silent> PopUp.BBBBBBBB :echo "b1"<CR>
autocmd MenuPopup * :call s:popup1()

func s:popup1()
	call timer_start(1000, {-> s:popup2()})
endfunc

func s:popup2()
	silent! aunmenu PopUp.BBBBBBBB
	silent! anoremenu <silent> PopUp.DDDDDDDD :echo "d2"<CR>
	silent! anoremenu <silent> PopUp.EEEEEEEE :echo "e2"<CR>
endfunc

Tomáš Janoušek wrote:

Thanks for the fix.
There are still 2 issues after https://github.com/vim/vim/commit/38455a921395a56690790c8c1d28c1c43ca04c8a, however:

If all PopUp.* entries are unmenued and recreated, no command is
executed after selecting a menu item, presumably because the entire
PopUp menu itself gets freed and the call to pum_execute_menu
operates on stale data. This is reproducible with the popup.vim
above.

You are not supposed to change the menu while it's being displayed.  In
the GUI this may work, because it uses the library functions of the GUI
library.  In the console we display the menu and it won't be updated
dynamically.  The only thing the patch does is avoid crashing when the
menu is changed anyway.
It's a bit weird to change the menu "under the fingers" of the user.
Just when you want to select an item it changes?  Or might even move to
another position?

When the menu isn't completely unmenued, but only some items are
removed and completely different items are added, selecting an entry
that was removed executes the newly added entry instead of the one
that is visible (the menu is not redrawn, as it is in gvim). This is
reproducible using the following:
set nocompatible
set mouse=a
set mousemodel=popup_setpos

anoremenu <silent> PopUp.AAAAAAAA :echo "a1"<CR>
anoremenu <silent> PopUp.BBBBBBBB :echo "b1"<CR>
autocmd MenuPopup * :call s:popup1()

func s:popup1()
	call timer_start(1000, {-> s:popup2()})
endfunc

func s:popup2()
	silent! aunmenu PopUp.BBBBBBBB
	silent! anoremenu <silent> PopUp.DDDDDDDD :echo "d2"<CR>
	silent! anoremenu <silent> PopUp.EEEEEEEE :echo "e2"<CR>
endfunc

Yes, the selection works by index, thus if you change the entries there
is a mismatch between the index and the items that are displayed.  It
might be possible to improve this, but since some items won't work
anyway it will always be somewhat crippled.
--
How To Keep A Healthy Level Of Insanity:
2. Page yourself over the intercom. Don't disguise your voice.
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Oh, so this is intended then, all right. I'll pass this info to the ale maintainers and see what we can do there.


Columns priority - right to left

If a have the following table structure
A B C D E
A is the default column.
Currently: when we are swiping the table, it is hidding E, then D, then C. And at the end, we only have A B
It is possible to change the swipe order without changing the table columns order?
I mean : first hide B, then C, then D. And at the end we only have A E
(and the swipe gesture only propose a "left" column change)
Thanks a lot!
Best regards.

Can you add a more verbose description of what you want?
Maybe using steps like this?

A B C D _
swipe right
A _ C D E

I’m not quite sure what you’re asking.

Hello zachleat,
First of all i want to say you THANK YOU for your great job and for your quick help!
The current version is doing :

A B C D E
A B C D _
A B _ _ _

What i'm looking for is :

A B C D E
A _ C D E
A _ _ _ E

Thanks for the thanks!
Hmm, this request is kinda warping my brain a little bit. I still don’t think I quite have enough information to evaluate what you’re asking.
The columns that show or hide have a very intentional spatial relationship, so the user relates the swipe direction to the navigation. If they swiped right and the next column to the right wasn’t shown, it would break that relationship. We kind of break that now with persistent columns. I don’t think we want to break it further.
Sorry :(
If you think I’m still misunderstanding your request, please elaborate further!

Could be useful to have this feature. I guess we just need simple for-loops instead of the each commands or track persisted and non-persisted and check if they are allowed to be hidden.


persistentvolumeclaims is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on

I am trying to use the operator in OpenShift but am getting RBAC errors around blockOwnerDeletion on PersistentVolumeClaims.
This is an OpenShift specific issue because:

OpenShift requires explicit permission for the /finalizer subresource in this instance. OpenShift enables a plugin that secures deletion via OwnerRef, and Kubernetes does not enable this plugin by default

buzilla.redhat.com reference
The solution to this should be to update the RBAC to allow the finalizers endpoint on the appropriate resource, but I have not been able to get it to work.
Something like the following should be correct but I'm not completely sure. What resource is the owner of the PVC? CrateDB? StatefulSet?
- apiGroups:
  - cloud.crate.io
  resources:
  - cratedbs/finalizers
  verbs:
  - "*"

I am using crd.yaml, rbac.yaml, and deployment.yaml from /deploy, and dev-cluster.yaml from the README.
Events from the StatefulSet:
Events:
Type     Reason        Age                    From                    Message
----     ------        ----                   ----                    -------
Warning  FailedCreate  5m34s (x7 over 5m34s)  statefulset-controller  create Pod crate-data-default-crate-dev-0 in StatefulSet crate-data-default-crate-dev failed error: [failed to create PVC data0-crate-data-default-crate-dev-0: persistentvolumeclaims "data0-crate-data-default-crate-dev-0" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , <nil>, failed to create PVC debug-crate-data-default-crate-dev-0: persistentvolumeclaims "debug-crate-data-default-crate-dev-0" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , <nil>]
Warning  FailedCreate  5m34s                  statefulset-controller  create Pod crate-data-default-crate-dev-0 in StatefulSet crate-data-default-crate-dev failed error: [failed to create PVC debug-crate-data-default-crate-dev-0: persistentvolumeclaims "debug-crate-data-default-crate-dev-0" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , <nil>, failed to create PVC data0-crate-data-default-crate-dev-0: persistentvolumeclaims "data0-crate-data-default-crate-dev-0" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , <nil>]
Warning  FailedCreate  5m33s (x9 over 5m34s)  statefulset-controller  create Claim debug-crate-data-default-crate-dev-0 for Pod crate-data-default-crate-dev-0 in StatefulSet crate-data-default-crate-dev failed error: persistentvolumeclaims "debug-crate-data-default-crate-dev-0" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , <nil>
Warning  FailedCreate  6s (x17 over 5m34s)    statefulset-controller  create Claim data0-crate-data-default-crate-dev-0 for Pod crate-data-default-crate-dev-0 in StatefulSet crate-data-default-crate-dev failed error: persistentvolumeclaims "data0-crate-data-default-crate-dev-0" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , <nil>

Hi @nwsm, we have not tested the operator on OpenShift, so sadly cannot comment on the idiosyncrasies of that environment.
The OwnerReferences are created by the StatefulSet as part of the volumeClaimTemplates section:
  volumeClaimTemplates:
  - apiVersion: v1
    kind: PersistentVolumeClaim
    metadata:
      creationTimestamp: null
      name: data0
      ownerReferences:
      - apiVersion: cloud.crate.io/v1
        blockOwnerDeletion: true
        controller: true
        kind: CrateDB
        name: my-cratedb
        uid: 11422769-f70f-466a-8967-1a233af77a50
    spec:
      accessModes:
      - ReadWriteOnce
      resources:
        requests:
          storage: 256Gi
      storageClassName: some
      volumeMode: Filesystem
    status:
      phase: Pending
  - apiVersion: v1
    kind: PersistentVolumeClaim
    metadata:
      creationTimestamp: null
      name: debug
      ownerReferences:
      - apiVersion: cloud.crate.io/v1
        blockOwnerDeletion: true
        controller: true
        kind: CrateDB
        name: my-cratedb
        uid: 11422769-f70f-466a-8967-1a233af77a50
    spec:
      accessModes:
      - ReadWriteOnce
      resources:
        requests:
          storage: 64Gi
      storageClassName: some
      volumeMode: Filesystem
    status:
      phase: Pending

as you can see, the owner is set to the CrateDB object (the Custom Resource defined in crd.yaml).
If you do figure this out, please consider submitting a pull request, or at least commenting what the solution was so that we can document a workaround.
All the best,
Roman


read ansible.cfg from project/current directory

Hi,
is this only a forgotten TODO or did you encounter problems implementing the usage of ansible.config in current directory?
64 | //TODO ansible.cfg (in the current directory)
65 |
66 | // in the home directory
67 | getPasswordFilePathFromConfig(SystemProperties.getUserHome() + "/.ansible.cfg")

Andreas

Adding my idea:
    // in project directory
    for (p in ProjectManager.getInstance().openProjects) {
        for (r in ProjectRootManager.getInstance(p).contentRoots) {
            getPasswordFilePathFromConfig(r.path + "/ansible.cfg")
                ?.let { return r.path + "/" + it }
        }
        break;
    }

    // in current directory
    getPasswordFilePathFromConfig("ansible.cfg")
        ?.let { return File(it).absolutePath }

Beware. I have no idea on the correct IJ-APIs to use, but this solution works for me.
Open:

using projects[0] - is this correct when multiple projects are open. Should use the current project
is searching all content roots ok?
...

Andreas

working on pull request #304 on it

In our company we use to have all ansible files under subdirectory, this PR can support this?
Eg:
[root]/ansible/ansible.cfg
or
[root]/infrastructure/ansible/ansible.cfg

not currently, only if the vaulted files are also in that directory. how will ansible-playbook find these files when called?

Simply we have a Makefile with a target like this:
deploy: build
	ANSIBLE_CONFIG=ansible/ansible.cfg ansible-playbook \
        --private-key ~/.ssh/superkey.pem \
        -i ansible/inventories/prod/hosts \
        --user admin \
        ansible/main.yml

or simple cd and execute the playbook

How to configure IDEA with ANSIBLE_CONFIG? I don't know.

For complex setups: https://plugins.jetbrains.com/plugin/14353-ansible-vault-integration/tutorials/vault-file-as-script

How to configure IDEA with ANSIBLE_CONFIG? I don't know.

Hi 👋!
You can set an environment variable on the system level, like for the default tool.

@foto-andreas thanks for the issue, I really forgot about that todo but as I can see in the comments now, there are some cases when people need to read the file from different locations, like custom subdirectory.
I'm trying to stick with the default locations from Ansible documentation, but maybe you already can make this work by using password file with a script, where you can do literally anything

How to configure IDEA with ANSIBLE_CONFIG? I don't know.

Hi 👋!
You can set an environment variable on the system level, like for the default tool.

Yes and no... Because I need to set multiple time environment variable (that is global) once for each project I open, and sometimes I open 2 to 4 projects, at same time, all with ansible inside (and a lot of other things), and sometimes ansible.cfg files are under a path or sometimes under some "funky" path. And cherry on the cacke, each project has a different vault password file.
So I can specify the ansible.cfg file position per project or can be done a sort of a discovery on project paths/index.
What do you think?


Update the Pony compiler to be able to use LLVM 4.0.0 (#1592).

This change includes the following:

Compiler code updates for changes to the LLVM 4.0.0 API.
Updates to Type-Based Alias Analysis metadata format for LLVM 4.0.0.
Builds in Release mode on Windows to conform to the Unix makefile.
Some efficiency tweaks for the Windows build.

getting some build errors:
src/libponyc/codegen/gentype.c:160:21: error: ‘make_tbaa_descptr’ defined but not used [-Werror=unused-function]
 static LLVMValueRef make_tbaa_descptr(LLVMContextRef ctx, LLVMValueRef root)
                     ^~~~~~~~~~~~~~~~~
src/libponyc/codegen/gentype.c:149:21: error: ‘make_tbaa_descriptor’ defined but not used [-Werror=unused-function]
 static LLVMValueRef make_tbaa_descriptor(LLVMContextRef ctx,
                     ^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [build/release/obj/libponyc/codegen/gentype.o] Error 1

@kulibali you need to update .travis_install.bash to correctly install LLVM 4.0 on Travis.

Ok, I'll need to build new Windows libraries to support 4.0.1, and then I'll update the Windows build.  I don't have any access to OSX so I'll try to get it right but will probably need some help.

I'm not sure what the Linux test errors are about.  On my Ubuntu 16.04 machine all the tests pass.
I'm going to need some help with the OSX travis setup, as I have no access to an OSX machine.

@kulibali I'll take a look, to see if it segfaults on my machine.

I can reproduce the segfault. At first I suspected that it came from the descriptor TBAA stuff but I fixed that and it still happens. I'll continue to investigate.
Here's the diff for the TBAA.

I've narrowed the crash down to the HeapToStack optimisation pass. It looks like a change in LLVM 4 made previously valid transformations invalid.

Thanks!  I have applied your patch.  The tests still pass on Ubuntu 16.04 for me.

Status update on the crash: it looks like the problem is related to the LICM pass in LLVM, which is hoisting loads and sinking stores in invalid places, resulting in reads from uninitialised memory. I'm still unsure whether the problem is coming from the custom passes in the Pony compiler or the LLVM passes.
I've reduced the crash in collections/persistent to a minimal case. I'll add it here in case somebody else wants to investigate. I suspect it could be reduced even more but I haven't been able to do so yet.
class val MapNode
  let entries: USize = 0

class val HashMap
  let root: MapNode = MapNode

actor Main
  new create(env: Env) =>
    var m6 = HashMap
    let vs = Array[U8].create(2).>push(0).>push(1)
    let i = vs.values()
    while i.has_next() do
      try
        i.next()
        if m6.root.entries != 0 then
          error
        end
        m6 = HashMap
      end
    end

I have found by trial and error that if I change genopt.cc:276 to case Instruction::Load: return false; I do not encounter the crash.  I am still trying to wrap my head around this pass's code, so I don't immediately understand why a load of the stack-allocated pointer would crash.

@kulibali Unfortunately I don't think that's the problem. That function determines whether a given heap allocation can be stack allocated by looking at the uses of the allocation, on the basis that no use should capture the allocated pointer (e.g. by storing it somewhere).
A load never captures, so I think you're seeing that result because the change to the load case is overriding the hypothetical buggy case which is erroneously saying that the corresponding operation doesn't capture.

The segfault also disappears when I disable the inliner.

Interesting

Just for fun I have made a branch that uses LLVM 5.0.0: https://github.com/kulibali/ponyc/tree/llvm500
It compiles on Ubuntu, but crashes in LLVMLifetimeStart.

I have fixed the crash in LLVMLifetimeStart.  Everything works on Windows, but generated code on Linux still segfaults.  If I disable the HeapToStack pass, it works.

This sounds like the same bug that's blocking the LLVM 4 port.

This PR is superceded by #2303


Error installing nuimo package from requirements_all.txt

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version): 0.35.3
The relevant line of requirements_all.txt is unchanged in 0.36.1
Python release (python3 --version): 3.4.3
Component/platform: homeassistant.components.nuimo_controller
Description of problem:
Running on a Raspberry Pi 3, and attempting to make my own Docker image. pip runs into a problem trying to install the nuimo_controller package because it can't find a version spec.
Expected:
Expected to be able to install packages from requirements_all.txt without error.
Problem-relevant configuration.yaml entries and steps to reproduce:
Relevant steps from the Dockerfile:

Make a user for HA named hass.
Make a directory /srv/hass and give the hass user ownership of /srv/hass.
Clone the HA repository into /srv/hass/home-assistant and copy requirements_all.txt to the parent directory, /srv/hass/requirements_all.txt.
Make a virtual environment called hass-venv, and activate it.
Run pip3 install -r requirements_all.txt.
pip gives an error message about not finding a version spec for the nuimo_controller package.

Traceback (if applicable):
Exception:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 274, in run
    for req in parse_requirements(filename, finder=finder, options=options, session=session):
  File "/usr/lib/python3/dist-packages/pip/req.py", line 1632, in parse_requirements
    req = InstallRequirement.from_line(line, comes_from, prereleases=getattr(options, "pre", None))
  File "/usr/lib/python3/dist-packages/pip/req.py", line 173, in from_line
    return cls(req, comes_from, url=url, prereleases=prereleases)
  File "/usr/lib/python3/dist-packages/pip/req.py", line 71, in __init__
    req = pkg_resources.Requirement.parse(req)
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2793, in parse
    reqs = list(parse_requirements(s))
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2721, in parse_requirements
    "version spec")
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2686, in scan_list
    raise ValueError(msg, line, "at", line[p:])
ValueError: ('Expected version spec in', '--only-binary=all http://github.com/getSenic/nuimo-linux-python/archive/29fc42987f74d8090d0e2382e8f248ff5990b8c9.zip#nuimo==1.0.0', 'at', '=all http://github.com/getSenic/nuimo-linux-python/archive/29fc42987f74d8090d0e2382e8f248ff5990b8c9.zip#nuimo==1.0.0')

Additional info:
I don't actually have a Nuimo, nor do I actually need this particular package. I was having the same problem as #2484, to which the only solution so far is to install any dependencies before installing HA. Installing packages from the requirements file seems more sustainable than manually selecting packages to install.

What's your version of pip?

My pip3 version is 1.5.6, but I'm not sure how that translates to pip versions. Running pip --version gives me an error because it can find pip3 but not pip. Here's the command I use to install a bunch of system packages, including Python.
RUN apt-get update && apt-get upgrade -y && \
    apt-get install --no-install-recommends build-essential net-tools \
    nmap python3-dev python3-pip ssh libffi-dev libssl-dev libjpeg9-dev \
    zlib1g-dev libtiff4 liblcms1-dev liblcms2-dev libwebp-dev libopenjpeg-dev \
    cython3 libudev-dev python3-sphinx python3-setuptools python3-venv git

The pip option --only-binary requires version 7.0.0. Try upgrading via:
pip3 install --upgrade pip

Latest version of pip is 9.0.1.


Generalization reaction rate calcutions

Based on the changes proposed in https://github.com/terrapower/armi/pull/810#discussion_r937171187, the following suggestions were made to further improve the reaction rate calculation for blocks/components but we're not yet implemented.

Let's change the xsType input to be microSuffix, so that this encapsulates both the XS Type (i.e., A, B, C) as well as the burnup group (i.e., A, B, C) so that we can actually get reaction rates based on burnup-dependent cross sections.

To do this, we can use self.getMicroSuffix(), where on the block level this is implemented as is, but on a component this is implemented as reaching up to its parent and getting it from the block-level.

It would be advantageous for us to standardize the dictionary of reaction rates that can be obtained from the nuclide data library - {"nG": 0, "nF": 0, "n2n": 0, "nA": 0, "nP": 0, "n3n": 0}. This is a bit of a refactor, but having this mapping of these strings to the following xsLibrary micros would be good:

        ("nG", libNuc.micros.nGamma),
        ("nF", libNuc.micros.fission),
        ("n2n", libNuc.micros.n2n),
        ("nA", libNuc.micros.nalph),
        ("nP", libNuc.micros.np),

Just grepping around the code base, I see this mapping occurring in blocks.py/getReactionRates, composites.py/getReactionRates, component.py/getReactionRateDict,  isotopicsDepletionInterface.py/makeXsecTable, and crossSectionTable.py/CrossSectionTable.
It might make sense to have the strings for nG, nF, n2n, nA, nP, etc. mapped back to xsCollections.py module-level constants that already exist:
NGAMMA = "nGamma"      # radiative capture
NAPLHA = "nalph"       # (n, alpha)
NP = "np"              # (n, proton)
ND = "nd"              # (n, deuteron)
NT = "nt"              # (n, triton)
FISSION_XS = "fission" # (n, fission)
N2N_XS = "n2n"         # (n,2n)
NUSIGF = "nuSigF"
NU = "neutronsPerFission"

I'm gonna work on this. Thinking about it more, this is really a bug that is leading to inaccuracies in my calculations against data.

#911 addresses Point (1) above.
Point (2) is for another PR. Not sure I'm gonna do that one at this point though.

As to your Point (2) above, I think if you want to make a chunk of data "standard" in this way, we would use a class.  So there would be a class (even a very, very small one) that has attributes: self.nG, self.nF, self.n2n, self.nA, self.nP, self.n3n, all with a well-defined type.
The benefit here is there isn't some "standard dictionary with six magic keys" that everyone just has to know about.  No one could forget one, and screw things up.
Just thinking aloud here.


Enable NPU plugin for Win64

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi @hmaarrfk
Do you know how we can increase Windows SDK version used during the build?
Currently, our cmake scripts find
C:/Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x64

While we need at least 10.0.19041.0

Hi @hmaarrfk @xhochy
Do you know how we can increase Windows SDK version used during the build?
Currently, our cmake scripts find
C:/Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x64

While we need at least 10.0.19041.0

@conda-forge-admin, please rerender

The winsdk package is not meant to be used on Windows. You could try setting the c_compiler to vs2022.

Thank you!

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

The winsdk package is not meant to be used on Windows. You could try setting the c_compiler to vs2022.

@xhochy
WARNING: failed to get package records, retrying.  exception was: Unsatisfiable dependencies for platform win-64: {MatchSpec("vs_win-64==2019.11=he1865b1_12"), MatchSpec("vs2019_win-64=19.29.30139")}
Encountered problems while solving:
  - package vs_win-64-2019.11-he1865b1_12 requires vs2019_win-64 19.29.30139.*, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
\u251c\u2500 vs2019_win-64 is installable with the potential options
\u2502  \u251c\u2500 vs2019_win-64 19.28.29325 would require
\u2502  \u2502  \u2514\u2500 vs_win-64 2019.* , which can be installed;
\u2502  \u2514\u2500 vs2019_win-64 [19.29.30037|19.29.30139] would require
\u2502     \u2514\u2500 vs_win-64 2019.* , which can be installed;
\u251c\u2500 vs2022_win-64 is installable and it requires
\u2502  \u2514\u2500 vs_win-64 2022.* , which can be installed;
\u2514\u2500 vs_win-64 is not installable because there are no viable options
   \u251c\u2500 vs_win-64 [2017.9|2022.2|...|2022.8] conflicts with any installable versions previously reported;
   \u2514\u2500 vs_win-64 [2019.11|2019.8] would require
      \u2514\u2500 vs2019_win-64 [19.28.29325.* |19.29.30139.* ] with the potential options
         \u251c\u2500 vs2019_win-64 19.28.29325, which can be installed (as previously explained);
         \u2514\u2500 vs2019_win-64 [19.29.30037|19.29.30139], which cannot be installed (as previously explained).
Reloading output folder: ...working... done
Getting pinned dependencies: ...working... failed
Reloading output folder: ...working... done
Getting pinned dependencies: ...working... failed
Reloading output folder: ...working... done
Getting pinned dependencies: ...working... failed
ERROR: Failed to get package records, max retries exceeded.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

windows-2022

thank you @xhochy
is there any description what is part of this windows-2022 image?

This is outlined here: https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender


Can I deal with Chinese video?

Thanks for your great work!
Can I deal with Chinese video?
Ask questions in Chinese?
How to do this?

Actually Video-LLaVA supports Chinese input, you just need to replace the input text with Chinese. Refer to our API.


Fixing one manual routing issue and another is found

we can create a manual route that persists, but you have to refresh to display it and that is annoying.

fixed


[LIMIT ORDER BOT] Update LimitOrder Bot with new Vyper contracts

CHORE: Update LimitOrder with new Vyper contracts deployed on the new compass-evm 2.0 by @webelf101

@webelf101 Could you please add the new Vyper contracts deployed here?

They are not deployed yet. I will let you know when it is done. @jamie088


Figure out how to use built-in image gallery with WooCommerce galleries

Deprecating this project and will no longer be making updates. Closing this issue accordingly.


[DPP] White Paper - DPP as an enabler for circular economy

Description

Challenges facing the industry (regulation, product transparency, sustainability potentials)

Necessity of Catena-X (supply chain networks for data exchange and conformity)

DPP as an enabler for circular economy (What is the DPP? What are the advantages, checklist, etc.)

USP of Catena-X and success stories (How does Catena-X realize DPP?)

Objectives
@stanfaldin or @FabianKentsch please include the objectives like this:

[ ] Create a Digital Product Pass demontrator whitepaper in the expert group
[ ] ....

Impact
Transparency on the activities of Catena-X DPP for solution provider
Checklist and information guide for stakeholders "how to implement the DPP"
Dependencies

No product dependencies
DPP Expert Group in Catena-X Association

Additional information

[X] The DPP CX association expert group is willing to contribute to this feature

Committers (for Tractus-X topics):

@saudkhan116
@matbmoser

Responsible:

DPP Expert Group in Catena-X Association

@matboser assignees will be changed to Pascal Mast and Fabian Kentsch, as soon as they create accounts and sign the agreement as this is the association whitepaper

Was presented in the open planning ⇾ responsible committers are already defined

Hello @matbmoser , @catroest , @saudkhan116
Since the feature is a 24.08 feature and the development phase is coming to an end, we need a status on the feature.

[ ] Currently you are assigned (Responsible) → Is this correct? If not, please assign the correct contact person
[ ] Please check whether the status (backlog, work in progress ...) is set correctly
[ ] Please check whether there is an assignment to a committee or expert group (supported-by) to be found on the board
[ ] Please comment on the current status of the feature
[ ] Are all SubTasks (issues from other repositories that deal with the feature) linked? → The easiest way is to mention the feature here in the issue (via the ID) so we can see which teams/repositories are involved.

If you need any clarification, please get in touch, thank you very much.
Stephan

Content of the whitepaper is 70% complete - The document will be reviewed by the DPP Expert Group from June 15 and will be completed for release by July 11.

Hello @matbmoser , @catroest , @saudkhan116, @FabianKentsch
In a few weeks, we want to publish Tractus-X Release 24.08. For this, we need a clear status about the features (which will be included in the release and which will be cancelled or postponed to the next release).
Currently, the feature is still in status Work in progress. Please update the status by 09.07.24 eob.
If the feature is not ready for release 24.08, or it is possibly not planned at all, please set the status to Not in release. Please remember that in this case, any dependent components must be informed.
Thank you and best regards.

Ok I have reviewed the PR, it is good to go ;)


Symfony 5, all urls are ignored

Hello,
I just installed the bundle with Symfony 5, there were no problems during the installation.
The default configuration was ok, until i added a query parameter to the request, and everthing is now ignored.
Here the form of the url i tried to use:
 'http://localhost/api/users?page=1
Im using this configuration (the default one):
nelmio_cors:
    defaults:
        origin_regex: true
        allow_origin: ['%env(CORS_ALLOW_ORIGIN)%']
        allow_methods: ['GET', 'OPTIONS', 'POST', 'PUT', 'PATCH', 'DELETE']
        allow_headers: ['Content-Type', 'Authorization']
        expose_headers: ['Link']
        max_age: 3600
    paths:
        '^/': null

Here is the environment variable i'm using in the .env file:
CORS_ALLOW_ORIGIN=^.*$

I tried a lot of different pattern match for the regex, i tried to remove the regex and hardcode the url, but none of them are working and i can't find any solution.
It's either that the plugin isn't supported by Symfony 5 yet, or that there is something terribly wrong.
Of course it's highly probably that my configuration is wrong, but since i'm using everthing by default and that my regex is quite largely open, i can't get it.
I would greatly appreciate if you could help me on this one.
Thanks

I've got the same problem on an application that I upgraded from Symfony 4.3 to 5.0. It worked while it was on Symfony 4.3.

Can confirm, it's stopped working!

Same here.

Same here. That's a pity
Are there plans to support Sf 5 on the way?
Thx

Any updates on this one?

Same

Got the same error again with another project

Same here.

same here.

People, let's learn what the emojis mean please. "Same here" is not constructive help.

I'm using this on my Symfony 5 project and so far no problem at all.

Hello
Well, I'm digging that topic as I'd like to use NelmioCors on Symfony 5.
So, I included last version (2.1.1) in my project and activated the module for all environments :

Here is my Nelmio cors config. I voluntary set allow_methods and allow_origin in the default config. GET method is not allowed anywhere

I serve Symfony with its own server on 8000 port.
And here is a curl GET request which works the same way nelmio cors would not be activated (400 response is the expected one)

Despite the fact the request is allowed, I think the important thing here is there is no access-control-allow-origin headers and other cors headers in the response.
Any idea to help solve that (big) issue?
Thank you

Closing here as I am not sure what the issue is. I definitely don't have problems on symfony 5 or 6. If someone still has an issue please open a new issue with repro details.
@simplis-jourdan your issue seems to be another issue entirely, you do not set an Origin header, nor a preflight OPTIONS request, so there is nothing the bundle should do.

As it may help anyone falling back here:
Despite the fact I was originally thinking this was a global issue with Nelmio, I found out Nelmio was working as it should and my issue was relative to that topic instead of this one ; if I'm not mistaken this has to do with statics assets not being concerned by Nelmio.


Request failed with status code 403

Updated re-unplayplay but still

I have exactly the same error:
re-unplayplay==1.2.6
votify==1.4.4

Same error
Votify : 1.4.4

Same error here, Votify 1.4.4...

Duplicate of #5


Feature: Multi-language support

Feature

Native out of the box support for English(default) and Swedish.
Can be configured via the dashboardProvider.
Translations/langauges can be added to the framework.

Why?
It can seem to be little bit tacky when a system doesnt uses English, in my case our system is in Swedish and all adf labels/tooltips are in English. I think the language support takes the framework to the next level.
Hope you like it :)

Coverage increased (+0.4%) to 92.963% when pulling 2439cdc4cdffe252c70d6ea69e44dd8cfd07b1f1 on momentumsoftwareab:feature/language-support into 3b910f95431413aa6183abe43f370813f2ba0323 on angular-dashboard-framework:master.

Looks really nice. Great job. I would love to see it in the next version.
But i'm not sure if i like the name "culture", i think i would feel more comfortable with a name like i18n, locale, l10n or something like this. Is there a special reason for culture?
Do we need a new module or could we add it to adf.provider, to reduce complexity?

This would fix #102

The documentation should be placed elsewhere in the wiki, extra file or we could add some extra pages to the api documentation. But i think the readme would get too long.

I had a hard time deciding the name to be honest :) I have used kendo alot and they are using culture, but a culture also has an affect on dateformats and stuff, so it may be the wrong module name to use.
adf.locale is good module name.
dashboardProvider.setLocale('en-US')

I think it should be a own module, since it has a very narrow scope. That helps with the unit testing if we where to extend the locacle module with its own provider and translation factory that we later could inject into the dashboardProvider.
Maybe I could fix that in the future, but this works for now.
Sound good?

Yes, sounds good for me.

Coverage increased (+0.4%) to 92.963% when pulling 8bec896f5eec146576015f5a5b9210cb3def52b1 on momentumsoftwareab:feature/language-support into 3b910f95431413aa6183abe43f370813f2ba0323 on angular-dashboard-framework:master.

Coverage increased (+0.4%) to 92.963% when pulling 98005b7cf0ff6bbaa02efbf0a649dccd1cbc57a3 on momentumsoftwareab:feature/language-support into 874c6ac3e051a0936e8bcaca473b8c929aa9fd5c on angular-dashboard-framework:master.

Thank you very much.

@sdorra thank u :) would love som help regarding the wiki. Maybe we can take that privately over gitter?


neocomp: 2019-03-12 -> unstable-2021-04-06

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 119512 at 931c66a0 run on x86_64-linux 1

1 package built successfully:

neocomp

4 suggestions:

warning: build-tools-in-build-inputs
docbook_xml_dtd_45 is a build tool so it likely goes to nativeBuildInputs, not buildInputs.
Near pkgs/applications/window-managers/neocomp/default.nix:38:3:
   |
38 |   buildInputs = [
   |   ^

warning: build-tools-in-build-inputs
docbook-xsl-nons is a build tool so it likely goes to nativeBuildInputs, not buildInputs.
Near pkgs/applications/window-managers/neocomp/default.nix:38:3:
   |
38 |   buildInputs = [
   |   ^

warning: build-tools-in-build-inputs
asciidoc is a build tool so it likely goes to nativeBuildInputs, not buildInputs.
Near pkgs/applications/window-managers/neocomp/default.nix:38:3:
   |
38 |   buildInputs = [
   |   ^

warning: build-tools-in-build-inputs
pkg-config is a build tool so it likely goes to nativeBuildInputs, not buildInputs.
Near pkgs/applications/window-managers/neocomp/default.nix:38:3:
   |
38 |   buildInputs = [
   |   ^


Question: Any way to perform faster log truncation based on time?

Is there a way I can truncate entries from fasterlog based on time when they were added? We can truncate based on size, but any approach we can take to truncate any entries that were added before some time etc? Any interfaces I might be able to implement to get a functionality like this?

Closing in favor of this discussion instead: https://github.com/microsoft/FASTER/discussions/634


Android not running

I have problem with starting up android
Running on
Flutter: 3.22
Dart: 3.4.4
Android 14
Incorrect package="io.wazo.callkeep" found in source AndroidManifest.xml: /Users/galizhantolybayev/.pub-cache/hosted/pub.dev/callkeep-0.4.0/android/src/main/AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported.
Recommendation: remove package="io.wazo.callkeep" from the source AndroidManifest.xml: /Users/galizhantolybayev/.pub-cache/hosted/pub.dev/callkeep-0.4.0/android/src/main/AndroidManifest.xml.
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':callkeep:processDebugManifest'.

A failure occurred while executing com.android.build.gradle.tasks.ProcessLibraryManifest$ProcessLibWorkAction
Incorrect package="io.wazo.callkeep" found in source AndroidManifest.xml: /Users/galizhantolybayev/.pub-cache/hosted/pub.dev/callkeep-0.4.0/android/src/main/AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported.
Recommendation: remove package="io.wazo.callkeep" from the source AndroidManifest.xml: /Users/galizhantolybayev/.pub-cache/hosted/pub.dev/callkeep-0.4.0/android/src/main/AndroidManifest.xml.

I've the same problem, any clue?
Example of support library reference: 'android/support/v4/media/session/MediaSessionCompat$Token'
Incorrect package="io.wazo.callkeep" found in source AndroidManifest.xml: /Users/mac.pub-cache/hosted/pub.dev/callkeep-0.4.0/android/src/main/AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported.
Recommendation: remove package="io.wazo.callkeep" from the source AndroidManifest.xml: /Users/mac/.pub-cache/hosted/pub.dev/callkeep-0.4.0/android/src/main/AndroidManifest.xml.
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':callkeep:processDebugManifest'.

A failure occurred while executing com.android.build.gradle.tasks.ProcessLibraryManifest$ProcessLibWorkAction
Incorrect package="io.wazo.callkeep" found in source AndroidManifest.xml: /Users/mac/.pub-cache/hosted/pub.dev/callkeep-0.4.0/android/src/main/AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported.
Recommendation: remove package="io.wazo.callkeep" from the source AndroidManifest.xml: /Users/mac/.pub-cache/hosted/pub.dev/callkeep-0.4.0/android/src/main/AndroidManifest.xml.

Try:

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

BUILD FAILED in 3m 23s


dev: update workflow

Signed-off-by: CrazyMax<EMAIL_ADDRESS>

Codecov Report

Merging #18 (2ca3546) into main (d965b93) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #18   +/-   ##
=======================================
  Coverage   94.44%   94.44%
=======================================
  Files           1        1
  Lines          36       36
  Branches        7        7
=======================================
  Hits           34       34
  Misses          1        1
  Partials        1        1

Continue to review full report at Codecov.

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


feat: add Traditional Chinese Translations (HK) for the customer portal

Traditional Chinese Translations (HK) for the customer portal.
Note: We are also adding translations for the larger "shared" Elements translations in another pull request shortly.

Hey @iamjrock, thanks for contributing :) Once v1.14.0 is out, we are going to release your changes on the beta channel and wait for the shared file you're working on to include the complete set of language strings in v1.15.0. One thing though – are you sure you'd like to use en-hk code instead of zh-hk? Just checking.

Sorry, my bad - it should be zh-hk!  Thx for spotting that!

From: Daniil Bratukhin @.***>
Sent: Wednesday, 19 January 2022 1:04 am
To: Foxy/foxy-elements
Cc: iamjrock; Mention
Subject: Re: [Foxy/foxy-elements] Add Traditional Chinese Translations (HK) for the customer portal (PR #78)
Hey @iamjrock, thanks for contributing :) Once v1.14.0 is out, we are going to release your changes on the beta channel and wait for the shared file you're working on to include the complete set of language strings in v1.15.0. One thing though – are you sure you'd like to use en-hk code instead of zh-hk? Just checking.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: @.***>

One question pls @pheekus : Assuming that I can submit a Pull Request with the remaining shared translations to you in the next 1-2 weeks, when would you hope to release v1.15.0?  Just trying to manage expectations on my side as to when they'll have a Chinese customer portal.....

@iamjrock we've just started working on a complex Elements feature so it might take a while, but it's absolutely no issue for us to move it to v1.16.0 and release v1.15.0 with just the translations.

ok great, that's really helpful, thx!

From: Daniil Bratukhin @.***>
Sent: Wednesday, 19 January 2022 6:25 pm
To: Foxy/foxy-elements
Cc: iamjrock; Mention
Subject: Re: [Foxy/foxy-elements] feat: add Traditional Chinese Translations (HK) for the customer portal (PR #78)
@iamjrock we've just started working on a complex Elements feature so it might take a while, but it's absolutely no issue for us to move it to v1.16.0 and release v1.15.0 with just the translations.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: @.***>


[Select] Added backspace key functionality for type-ahead accessibility

closes https://github.com/radix-ui/primitives/issues/2636
Description

This pull request introduces an improvement to the type-ahead feature in the Radix Select component. The key enhancement is the implementation of backspace functionality for the Select component.
When a user is utilizing typeahead to search through options in the select menu, pressing the backspace key will now reset the typeahead input.
This change aligns the component's behavior more closely with standard input expectations and enhances the overall user experience by providing a more intuitive and efficient method for correcting typos or modifying search terms.
I have also thoroughly tested it and added integration tests for the typeahead backspace functionality in the Select component.
I added videos showing the native macOS select backspace functionality, the backspace functionality proposed to the Radix Select component, and the current Select component not responding to backspaces.
backspace functionality on macOS using Chrome:
https://github.com/radix-ui/primitives/assets/53095479/0691ca12-0db5-4a4b-ab8a-93e46bd233fb
New backspace functionality with Radix Select
https://github.com/radix-ui/primitives/assets/53095479/a7d80ede-c446-46fd-b34f-e0748352b414
Previous non-implemented backspace functionality with Radix Select
https://github.com/radix-ui/primitives/assets/53095479/d4987443-3dde-4b4c-bfbf-459251283321

Hi @benoitgrelard, hope you're well! I wanted to reach out regarding this pull request I recently made to the Radix UI Select component. It's a small enhancement, adding backspace functionality to the typeahead support (pressing backspace resets tyeaphead input), aimed at improving accessibility.
I'm aware that the team has been quite occupied, and I understand that reviewing pull requests might not be immediately possible. However, I believe this addition is a crucial accessibility feature because this is what users relying on keyboard navigation expect since this is the precedent in native macOS select menus. And I've also ensured to include tests and I have added quick videos showing before and after adding the change.
If you could spare a moment to review it at your convenience, I would greatly appreciate your thoughts and feedback. I'm open to any suggestions or further discussions that might help refine it.
Thank you very much for your time, and for all the effort you put into Radix UI. It's genuinely appreciated! 🙏

Closing, see: https://github.com/radix-ui/primitives/issues/2636#issuecomment-1988399099


Install ssh server and client

Modify Dockerfile and update image on Dockerhub

already present: https://github.com/WLCG-Lightweight-Sites/wlcg_lightweight_site_ce_cream/blob/master/yaim/ce-config/init.sh#L32
Closing issue

Ignore the previous comment. It was meant for #7


[Bug]: User error more then bug

What happened?
Trying to install fabric on a Macbook M1. I am new to Mac and python so Im sure its a setting or config. Ive been trying to follow NetworkChucks youtube on installing but get stuck at "pipx intall ." while in the fabric Directory. I have installed Homebrew and accepted all defaults. This is after resetting Macbook back to factory so all Python should be back to factory as well except for what Homebrew does. When typing the install command I get the following error:
icemarr@Stanleys-MacBook-Air fabric % pipx install .
ERROR: Directory '/Users/icemarr/fabric' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.
Cannot determine package name from spec '/Users/icemarr/fabric'. Check package spec for errors.
icemarr@Stanleys-MacBook-Air fabric %
Any help on how to set the install command to go look at homebrew is greatly appreciated.
Version check

[X] Yes I was.

Relevant log output
No response
Relevant screenshots (optional)
No response

Sorry, no experience with PIPX.
I'm on a M1 as well but used the current Fabric 1.4.x releases in GO.  Fabric has been rewritten in GO and the readme reflects that.  I think NetworkChuck's video was based on the python/pip version from 6+ months ago.
PIPX basically automates the setup of a python env so the app and dependencies don't clutter your file structure or overwrite the osX python install.  I haven't installed anything with pipx, sorry.
If you were able to get home-brew running you will be able to get GO installed and then Fabric after that.  From there, you can get back into the flow with NtChuck.
Good luck.

You could also use binary from Release page. Downloafmd it, rename to fabric and put to your PATH.


Search Chinese Content with matches, The result looks have some problem.

Describe the bug
Search Chinese Content  with  match result, start index maybe not right.
To Reproduce

create index

poems.json.zip
curl \
  -X POST 'http://<IP_ADDRESS>:7700/indexes/poems/documents' \
  -H 'Content-Type: application/json' \
  --data-binary @poems.json

search with "matches": true

  curl -XPOST 'http://<IP_ADDRESS>:7700/indexes/poems/search' \
    -H 'Content-Type: application/json' \
    -d '{
            "q": "盈盈在紫微",
            "matches": true
        }' | jq

the result:
{
  "hits": [
    {
      "id": "3",
      "title": "宫中行乐词八首",
      "authorName": "李白",
      "dynasty": "唐代",
      "type": 2,
      "content": "小小生金屋，盈盈在紫微。\n山花插宝髻，石竹绣罗衣。\n每出深宫里，常随步辇归。\n只愁歌舞散，化作彩云飞。\n\n柳色黄金嫩，梨花白雪香。\n玉楼巢翡翠，金殿锁鸳鸯。\n选妓随雕辇，征歌出洞房。\n宫中谁第一，飞燕在昭阳。\n\n卢橘为秦树，蒲桃出汉宫。\n烟花宜落日，丝管醉春风。\n笛奏龙吟水，箫鸣凤下空。\n君王多乐事，还与万方同。\n\n玉树春归日，金宫乐事多。\n后庭朝未入，轻辇夜相过。\n笑出花间语，娇来竹下歌。\n莫教明月去，留著醉嫦娥。\n\n绣户香风暖，纱窗曙色新。\n宫花争笑日，池草暗生春。\n绿树闻歌鸟，青楼见舞人。\n昭阳桃李月，罗绮自相亲。\n\n今日明光里，还须结伴游。\n春风开紫殿，天乐下朱楼。\n艳舞全知巧，娇歌半欲羞。\n更怜花月夜，宫女笑藏钩。\n\n寒雪梅中尽，春风柳上归。\n宫莺娇欲醉，檐燕语还飞。\n迟日明歌席，新花艳舞衣。\n晚来移彩仗，行乐泥光辉。\n\n水绿南薰殿，花红北阙楼。\n莺歌闻太液，凤吹绕瀛洲。\n素女鸣珠佩，天人弄彩球。\n今朝风日好，宜入未央游。",
      "_matchesInfo": {
        "content": [
          {
            "start": 18,   // I know use byte count it the start is right, but I expect start counted by Hanzi, if this the start is 7
            "length": 2   // this value looks count by Hanzi not byte
          },
          {
            "start": 24,
            "length": 1
          },
          {
            "start": 27,
            "length": 2
          },
          {
            "start": 284,
            "length": 1
          }
        ]
      }
    }
  ],
  "nbHits": 1,
  "exhaustiveNbHits": false,
  "query": "盈盈在紫微",
  "limit": 20,
  "offset": 0,
  "processingTimeMs": 12
}

Expected behavior
if the _matchesInfo result count by Hanzi, the first three position value should be merged, because they are continuous.
so I expected _matchesInfo result is:

"_matchesInfo": {
    "content": [
        {
             "start": 7,
             "length": 5
        }
    ]
}

Meilisearch version:
v0.27.2
mac os 12.4

Hi @ldnvnbl
Indeed It appears to be an issue on our side and should be fixed in v0.28 with the new tokenizer.
Thanks for bringing this to our notice.

I close this issue since it should be fixed with https://github.com/meilisearch/meilisearch/pull/2468
A pre-release (RC) is already available here if you want to test, or with the v0.28.0rc0 docker image


Support overriding context menus for selectable texts and text fields

Tutorial
Make ContextMenuItem open. Platforms can override it and add a custom data, that will be used in a custom ContextMenuRepresentation. instanceof usually not a good thing, but it seems because we can build hierarchical context menus (SelectionContainer -> custom ContextMenuArea -> additional custom ContextMenuArea), we can't customize items without passing them down through all hierarchy.
Fix ContextMenuRepresentation - items now requested only when they needed. Before that we construct items when we show the text, and immediately access the clipboard. Now we construct items and access the clipboard only when we show the context menu.
Fix losing focus behaviour. When we show the JPopupMenu, we show a separate window, and the main window loses the focus. When the window loses the focus, we also reset all focus inside Compose, except some cases (when we minimize the window, or show another window). Use event.isTemporary to determine that we shouldn't reset the focus.
Add JPopupContextMenuRepresentation - uses swing menu to show a generic context menu (not only for texts)
Add JPopupTextMenu - uses swing menu to show the text context menu. Allows customisation of each text context menu item separately.

The arrows navigation (up or down) is a bit different:

in compose menu the focus doesn't disappear - it goes in cycle when the bottom item is reached
in JPopupContextMenu, the focus disappears and it takes 3 more arrow button presses to make an item visually focused again. The thing is the item is actually focused (the focus is not visible though), because if when I click Enter - it performs copy, cut or paste.

https://user-images.githubusercontent.com/7372778/190104179-e65651c5-a5e7-47e9-9810-d3c7dd4fb995.mov

2 more things I noticed:

the Compose menu can be partially covered by SwingPanel - "Colored Panel" (not sure if there's a simple solution for it)
the Compose Menu in the bottom panel doesn't disappear and changes its content when focus moves to another compose menu. JPopupTextMenu in the top panel disappears when focus to another panel

https://user-images.githubusercontent.com/7372778/190106180-95857a3d-045f-4e3d-8c49-97b1714fadd5.mov

The arrows navigation (up or down) is a bit different:

Fixed

the Compose menu can be partially covered by SwingPanel - "Colored Panel" (not sure if there's a simple solution for it)

It the issue I wanted to fix in the past, but didn't succeeded. To fix this, we need to draw Compose content into a texture, or use some layer magic. Workaround for this - use Swing style menu if we use Swing components.

the Compose Menu in the bottom panel doesn't disappear and changes its content when focus moves to another compose menu

This is a new one. It is because we have independent event trees. I will try to look at it separately.


Document consistance

https://github.com/ijacobs-cpa/textml/blob/293683d1d1c249dd9c2ede99d1c2d5bbf4bee81c/README.md?plain=1#L10
https://github.com/ijacobs-cpa/textml/blob/293683d1d1c249dd9c2ede99d1c2d5bbf4bee81c/README.md?plain=1#L22-L24
First code block has $ symbol but others not, also the second block maybe split in two command blocks.

Added consistent styling for install/run instructions in the readme
Committed change: 854392f092455e931271f74c1c171eeb65463ec1


Add .import files to create_addon_archive.py

This should fix issue 127: https://github.com/blackears/cyclopsLevelBuilder/issues/127

The point of the script was to avoid including the .import files.  It was causing issues on some people's machines.  The way I understand how Godot works, these files are not supposed to be checked in.  I know there are installation issues with Cyclops at the moment- I hope to address this when I get enough time to get back to this.

Import files are supposed to be checked in, as per the Godot docs.  It is in fact the lack of them that causes problems on other peoples' machines(and the fact that the original import files are present on your machine is why you're unable to reproduce issue 127).  See my comment on issue 127 for an explanation.
The script is still useful for avoiding including the .aesprite and .blend1 files(although, personally, I think the blend1 files should be getting gitignored as well), which is why I simply added ".import" to it instead of getting rid of the script entirely.

@blackears Import files store important data allowing Godot to read the data correctly, such as e.g. the import settings of a texture (bit depth, whether it's a normalmap or not, etc.). They're vital for Godot to read stuff correctly, otherwise it will make the best guess which may be good or may be bad.
Also, leaving import files in seems to make import process much smoother as I've just tested. It both cut down on amount of errors I was getting (still had to restart Godot after import) and stopped funky stuff from happening (when upgrading my project from 1.0.2 to 1.0.3 the entire scene went completely blank except non-Cyclops stuff and I was worried for a bit that I lost weeks of work (of course wouldn't lose it even if it was the case as I made a backup and even if not, there was healthy version of it in source control), but not when the import files were intact.
So yeah, adding the ".import" to the extensions array would be a good idea.


missing build setting ABLETON_ENABLED

in readme is told to build without link you set in build settings ABLETON_ENABLED to NO.
well, first of all the setting is missing by default and if set its ignoring the setting a throws linker error missing the lib of course. can this be fixed?

ABLETON_ENABLED set to 0 same,


Remove all static timeout options for http clients

Like this:
https://github.com/nhost/nhost/blob/main/packages/hasura-storage-js/src/hasura-storage-api.ts#L24
https://github.com/nhost/nhost/blob/main/packages/hasura-auth-js/src/hasura-auth-api.ts#L38

Nope.


Added support for Juju network spaces

Description
This change adds Juju networking spaces support to charm-microceph. Strictly at bootstrap, an operator can configure the network spaces to segregate and bind Cluster public, Cluster internal and MicroCeph admin network traffic to different network spaces.
Type of change

[X] New feature (non-breaking change which adds functionality)
[X] This change requires a documentation update

How Has This Been Tested?

[X] A new CI test has been added which leverages LXD networks and Juju to configure network spaces and test charm-microceph.

Checklist (TODO):

[x] self-reviewed code
[x] added code comments, particularly in hard-to-understand areas
[ ] updated the documentation (Doc update will take place in discourse, hence it is external to this PR.)

lgtm!


Todo context menu adds empty string

Via context menu an empty string can be added as todo, that should not happen.
For example, the webhook messages seem to be an empty string, at least content is empty.
This should return a warning to the user and not add 'nothing' as todo.

Fixed in #14


Please invite me to the community

Name
Riley Holder
Additional Context
Hello.

Invitation sent to join the GitHub Organization. Welcome to Infraform 🎉Please check your mail to accept the invitation sent by GitHub! 🤖About usInfraform is a remarkable open-source solution tailored for serverless platforms, aimed at empowering creators to craft their infrastructure solutions. 💻 We're thrilled to welcome you into our vibrant community! ✨ We eagerly anticipate your valuable contributions! 🤓 Don't forget to explore our community on Github and connect with us on LinkedIn 💜 Feel free to spread the word about our community to like-minded individuals interested in development, DevOps, technology, and collaborative contributions. 👉💜👈


buildversion > 23 rotate 90 degree automatically

I use your cropper but rotate image automatically 90 degree left after crop the image .

but in my device there is no rotation

thanks my fault


[IncrementalBuild] add possibility to clean background compilations

Describe the bug
If I rename a file (setting the filetype from al to something that will not be compilable e.g. .al1), the errors still remain in the background compilation.
Even thou I've renamed the file, I still not compile the app because it will get the errors of the renamed file.
To Reproduce
Steps and to reproduce the behavior:

pick a file with errors, like missing symbols
compile (it will not compile because of errors)
rename the file from *.al to *.al1
recompile (same errors as the 2nd step)

AL Code to reproduce the issue
Expected behavior
if I rename a file, move it, background compilation must update. Or let the user to "Clean Background compilation" or "Recompile the app"
Screenshots
If applicable, add screenshots to help explain your problem.
5. Versions:

Name: AL Language
Id: ms-dynamics-smb.al
Description: AL development tools for Dynamics 365 Business Central
Version: 6.0.344420
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-dynamics-smb.al

maybe related to #6077

This is a bug. Should work. The issue is not with background compilations but how vscode handles diagnostics and how we send it the information needed.


[BUG] TSVB visualization should allow "_index" aggregator similar to other visualization types

What is the bug?
A clear and concise description of the bug.
Dashboard visualization type TSVB does not allow aggregator "_index" whereas other visualizations do.
How can one reproduce the bug?
Steps to reproduce the behavior:

Create or go to a dashboard
Add visualization type TSVB
Add group by Terms
See that Terms does not show "index" or other "*" aggregators

What is the expected behavior?
Terms should allow "index" and other "*" aggregators
What is your host/environment?

OS: not sure, I believe Linux of some kind
Version: Elastic/Kibana v 7.10.2
Plugins: not sure

Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.

@opensearch-project/admin can you help triage this? Seems like possibly an OSD core issue.

Ah, looks like a copy of this issue is available there already https://github.com/opensearch-project/OpenSearch-Dashboards/issues/6539. Closing as a duplicate since TSVB isn't a part of the dashboards-observability repo.


fix(3080263579): While error is raised when connecting to the wallet, modal isn't shown again

Description of the Changes
Call wallet connect handler while wallet status is WalletStatus.ERROR.
Checklist

[ ] Changes have been done against master branch, and PR does not conflict
[ ] New unit / functional tests have been added (whenever applicable)
[ ] Test are passing in local environment
[ ] Docs have been updated
[ ] PR title is follow the Conventional Commits convention: <type>[optional scope]: <description>, e.g: fix: prevent racing of requests

This change is

:tada: This PR is included in version 1.8.0-dev.20 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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


Correct and clarify lazy/eager ($ vs @) usage in README.md

I think binding to a @-var is worth showing.

Why do you think I wrote this PR?

Not sure what's the point of these rhetoric questions.
You did remove the example with binding to a @-var. And I don't think it should be removed.

I was bemused at your tone in this PR but it's just dawned on me you may be the maintainer. If so, you're in charge, sorry for the noise.
In case you're not, and in the hope you'll forgive me even if you are, I'll note for anyone who ever reads this, the README contains verbiage in the SYNOPSIS and CAVEATS that led someone to bind the result of find to an @var. Binding a Seq (which is what find returns) to an @-var will always fail. So I suggest that verbiage is changed.
Peace out.

I was bemused at your tone

Please make a reality check. This is getting absurd. I think binding to a @-var is worth showing. is no tone. A passive-aggressive  Why do you think I wrote this PR?, on the other hand, is quite some tone. Especially when you could have really just said what you appended to the latest commit - namely, that the binding outright errors out. If you said this instead of the passive-aggressive remark, I could have said "fair enough, thank you" in two minutes probably.
Fun fact, it was apparently already removed earlier, except in the wrong file...
Oh right, this modification is also in the wrong file.

sigh

With that cleared up, I think the content was good to go so I added it to the underlying Rakudoc description. The generated Markdown file is the same except for one newline difference.
Cheers.


Remove 32 bit support for Linux and OSX

Description

Changes

Alternate Designs

Checklist

[x] I have make sure this PR stays in accordance to the existing code style.
[ ] I have cloned and tested this PR locally to check for errors.

Thanks! ^^


ML Perf Mobile Closed Rules Clarification - Object Detection and Image Segmentation

1 Object DetectionCan we modify the settings of TFLite_Detection_Postprocess of MobileDET? Alignment with RulesWe change TFLite_Detection_Postprocess to use fast NMS, along with some modification to detection number and thresholds. This is a kind of approximation approach, which is listed in the allowed example list in 8.2 section of rule:“Approximations (e.g. replacing a transcendental function with a polynomial)”Retraining ConsiderationsNo retraining is required, however we do tune the fast NMS hyper parameters to improve the accuracy result.Accuracy Validation Analysis

Task and Data Set
Target Reference Accuracy
Proposed Accuracy Achieved

Object DetectionMS-COCO 2017
95% of FP32 (mAp: 0.285)
After Tuning: 0.2791

2 Image SegmentationCan we swap the order of the ResizeBilinear op and Argmax op at the end of the model?Alignment with RulesThe modifications make no changes to the weight values of the model and are close approximations to the original model.Retraining ConsiderationsNo retraining required.Accuracy Validation AnalysisWith this change the prediction quality remains is within the acceptable range.

Task and Data Set
Target Reference Accuracy
Proposed Accuracy Achieved

SegmentationADE20K (32 classes, 512x512)
97% of FP32 (32-class mIOU: 54.8)
After Reordering: 53.4 mIOU

plus folks to review and comment.

Notes From ML Commons Mobile Working Group Discussion on June 23 2021
1 - Object Detection NMS may not be allowed in closed division (60% certain that is not allowed in closed -DK)
In ML Perf 1.0 - We wanted to avoid getting gains from Hyper Parameter Searching on NMS.
Open Division could be allowed.
2 - Did not discuss during meeting

Here are my own opinions:

There are many NMS variants available, and also within same NMS algorithm one can tradeoff computational complexity with accuracy. Hence if NMS algorithm or its hyperparameters are allowed to change, once can tradeoff the complexity/accuracy of their NMS algorithm with the complexity/accuracy of their network, so it will not be a consistent benchmark for closed division. If we treat the NMS parameters as weights, then changing NMS of the reference model will fall under this category which is not allowed: Modifying weights during the timed portion of an inference run (no online learning or related techniques)

One can view a node which fuses the resize and the Argmax as a fused node, in that case the swapping operations may be allowed under main inference rules Model Equivalence Rules (fusing or unfusing operation)
https://github.com/mlcommons/inference_policies/blob/master/inference_rules.adoc#82-model-equivalence

That's a bit tricky. Considering that those are not mathematically equivalent and there is reduction of computation (512x512 argmax over 32 classes --> 128x128 argmax over 32x32 classes, which means 1/16 computation complexity)

@willc2010 is this resolved?

Checked with Mobile WG and @dylanzika-google and this issue can be closed.


Fix to not upload to CloudApp by default

Note that I've changed -x requires with -u.
Should've I change -x is just remove .mov files?

Done by https://github.com/jclem/gifify/commit/e86a15123d45a796aec7d1d4c8d15d8e121bd55c


Infinite Loading Loop

Issue
While playing earlier today, my game ended up experiencing an infinite loading loop two times in a row after I was prompted to choose a Minecraft skin for Steve. Strangely, the incident never generated a crash report, but when I removed the plug-in, the loading loop incident apparently stopped.
System and Tools Used

System Version: 11.0.1
Software Version: 10.1.0
Atmosphere Version: 0.17.0
ARCropolis Version: v0.9.6
smash-minecraft-skins Version: 1.1.5

Fixed in latest version


Removing ToView

The ToView class seems to be completely unused (rightfully so in my opinion) so I would like to delete it, what do you think?

ToView was meant to be a convenient way to convert your data into View. I guess there really aren't examples covering it. But here's what I had in mind in regards to usage.
data Item
  = Item
  { name :: MisoString
  , id' :: Int
  } deriving (Show, Eq)

instance ToView Item where
  toView Item {..} = li_ [ class_ $ ms (show id') ] [ text name ]

newtype Items
  = Items [Item]
  deriving (Show, Eq)

instance ToView Items where
  toView = ul_ [] . map toView

newtype Model
  = Model Items
  deriving (Show, Eq)

view Model {..} = div_ [] (toView items)

I kind of think it would be very convenient if a user knew exactly what HTML certain data would need to look like, and could use it anywhere via ToView, as opposed to having the resort to different function names everywhere. They could also newtype it to provide a different instances as well.

Fair enough, then let’s keep it for now.

Might not be bad to put this as an example in the haddocks either.


add support for global audio volumes

I was looking through the API, and while there are some methods for setting the volume of a sound effect when it is played (or in the case of music, while it is playing), there does not seem to be a globalized audio manager with methods for setSoundVolume(float) or setMusicVolume(float) which would take effect across all sounds and persist as the default for new sounds (i.e., this setting would be default and overridden by sound, or applied on top of the sound, so if global sound volume is 0.5f and the sound is played at 0.5f, the audio would play at 0.25f).
My current implementation to add similar functionality is becoming overly verbose, and I feel like this feature would greatly easy the production of more robust audio. In the meantime as a workaround, I am attempting to use a wrapper to create all of the audio objects and manage their volume levels.
Is my use-case intended to be accomplished with using a custom AudioDevice? If so, is there a way to plug that AudioDevice into Gdx.audio as the default audio device?

This has been discussed before on here in part #3279. It's a tough one as everyone usually has their own way of handling their game audio.  I'd suggest not touching any of the underlying interfaces and create a thin manager.
Most people already do this, but it might be useful to have a default manager for people to be able to:

Register the sounds/music clips they want to play with an id
Register the sounds/music clips to groups that can have volume/pan tweaked for entire group
Useful for Location based sounds
useful for sfx vs game music vs UI audio etc
Register default properties for each specific clip for mixing at runtime (pan/loop/volume)
Have a global volume setting that would have an effect on all clips played through the manager

@Tom-Ski Alright, I was thinking of a thin manager as well, and that's what I'm creating right now. I completely agree though, implementation will differ depending on the use-case. Thanks again for your input!

I would like to re-open this as a feature request. I am trying to implement a customized loader for MusicLoader and SoundLoader and I think it would be beneficial to have at least protected access to the currently loaded Sound/Music object. I would like to grab the created object and keep a reference to it which can then have its volume managed externally. I believe this is the least invasive way of accomplishing this task.
To clarify, I would like to create loaders which extend the references loaders and then set sound and music files to use those instead. I am already overriding those manually, however I believe with protected access to the object references (or a getter method for the object reference) would make it a lot cleaner than basically rewriting the entire class)
Specifically these are the files:
/src/com/badlogic/gdx/assets/loaders/MusicLoader.java
/src/com/badlogic/gdx/assets/loaders/SoundLoader.java

Pull request welcome, although do it on another issue as these aren't related.

@Tom-Ski Gladly, thanks!

You can replace loaders, so wrap the existing loaders in custom loaders
that retain the references on load.
On Nov 6, 2015 4:18 AM, "Collin Smith"<EMAIL_ADDRESS>wrote:

@Tom-Ski https://github.com/Tom-Ski Gladly, thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/libgdx/libgdx/issues/3533#issuecomment-154273013.


POSSE links vs discussion links?

I use brid.gy to get notifications of my posts sent to mastodon/twitter/etc. Typical usage.
But sometimes bits of weird happen when brid.gy can't tell if a link was POSE/POSSE'd or if it was just mentioned. For example, I mentioned one of my blog posts at https://queer.party/@fluffy/103115386313137503 which caused all the following posts on that thread to appear as mentions to https://beesbuzz.biz/blog/1286-The-commoditization-of-free-time -- which wasn't intended at all.
I would think that if a link was posted in reply to another tweet/toot/etc., that it shouldn't count as a  POSE/POSSE and replies to that tweet/toot/etc. shouldn't be converted into webmentions to the link.

On the other hand I can see a use case for it behaving this way - say someone uses an IndieWeb site post as a means of replying to a Mastodon post, with specific u-in-reply-to POSSE logic.
So categorically choosing one behavior over the other isn't the answer.

yes! this sounds like #154 and #51 (read past the initial description).
i've deliberately chosen to make bridgy "promiscuous," ie very liberal in how it interprets links to your site as POSSEd posts. when bridgy is occasionally too inclusive, users can always moderate its webmentions and remove any they don't want - with manual work, granted - but if bridgy is too narrow, it's impossible (or at least much harder) for users to manually generate and send webmentions that bridgy omitted. so, i make it err on the promiscuous side.
#241 is one possible solution. i'm not a fan of adding user visible settings, but i'd consider accepting a PR that adds it.

tentatively closing this in favor of #241. (and maybe continuing to encourage moderation tools in receivers.) feel free to reopen!


Make Telegram optional

This PR makes the bot_token optional when using the TelegramMixin.

bot_token can be updated with the auth-protected connect_telegram route
bot_tokens are either passed via the internal kv store OR the config
config bot_token takes precedence over the kv-stored bot_token
Note: kv store is used since config is idempotent.

I definitely see value in being able to update the bot token and/or reconnect the instance to Telegram. What's the use case you're thinking of for not having to provide one at init time?
Also- I think maybe this change won't work the way it's currently written. The __init__ method allows using bot_token from the KV store if config.bot_token is None, but config.bot_token CAN'T be none, as all config fields must be filled out.

@dkolas Oh. You we're on holidays I think when I showed a demo. Should have included that in the description.
Use case is:

You deploy an agent in an incomplete state. In my demo the agent didn't ingest youtube video's yet.
You use the agent's interface to complete the state. In the demo I added 10 video's of youtube
Then you test your agent. And think Ok I like it.
Only then do you connect/update your telegram bot.

CAN'T

@dkolas The or-statement also catches the empty string which is our default "empty" value.

With apologies for slowing down the PR -- might be good to include a test in here since the Telegram code already has great test coverage.
It'd probably be akin to just repeating the existing tests, but:

Not providing the telegram key upon init, never setting it, and then verifying that nothing works.
Providing the telegram key upon init, setting it, then verifying everything works

@dkolas the convo was both that from a development perspective (it's easier to just test things w/o telegram involved) and a user perspective (why not add every transport and then let my [bot creator's] users pick which transport they want) it's nice to support late binding


Add id to documentation's section for easier linking / sharing

Minor need, but helpful.
Like github, use
# Title

Hey, @chanind, I can't find your documentation to edit it. Could you point it to me ?

It's in the gh-pages branch, specifically docs.html


Use Docker tags to add version control

Currently, we have to manually specify the version tag, as even latest is not defined :
$ docker run hayd/deno
docker: Error response from daemon: manifest for hayd/deno:latest not found: manifest unknown: manifest unknown.

Generic labels might be preferable for version control. It's easier to keep software up to date, especially with Deno which is evolving a lot :
$ docker run -p 8080:8080 -v $PWD:/app hayd/deno:alpine --allow-net index.ts

What about the Node docker images format ?

I don't really know how Docker works with Github Actions, but I think you're right, "tags" seems the way to go (allows multiple tags for the same image). Maybe something like this could help:
    - name: Publish Docker
      uses<EMAIL_ADDRESS>      with:
-        name: "hayd/${{ matrix.kind }}-deno:${{ steps.get_version.outputs.VERSION }}"
+        name: "hayd/${{ matrix.kind }}-deno"
        username: ${{ secrets.DOCKER_USERNAME }}
        password: ${{ secrets.DOCKER_PASSWORD }}
        dockerfile: ${{ matrix.kind }}.dockerfile
        cache: true
-       tag_names: true
+       tags: "latest,${{ steps.get_version.outputs.VERSION }}"
    - name: Publish Docker Legacy
      if: matrix.kind != 'amazonlinux1'
      uses<EMAIL_ADDRESS>      with:
-        name: "hayd/deno:${{ matrix.kind }}-${{ steps.get_version.outputs.VERSION }}"
+        name: "hayd/deno"
        username: ${{ secrets.DOCKER_USERNAME }}
        password: ${{ secrets.DOCKER_PASSWORD }}
        dockerfile: ${{ matrix.kind }}.dockerfile
        cache: true
-       tag_names: true
+       tags: "latest,${{ matrix.kind }},${{ matrix.kind }}-${{ steps.get_version.outputs.VERSION }}"

However, I don't know how to tag the right latest image.

Will play with this tonight and push a latest. 🤞 your diff suggestion "just works".
Thanks!

Nearly working: https://github.com/hayd/deno-docker/blob/cae47347e325bea12e317129afde8695e0750469/.github/workflows/publish.yml
I had wanted hayd/deno "latest" to be alpine, but for some reason it's used ubuntu so might need to experiment with this some more.

Maybe the tag is overritten when images are tagged, so that only the last image remains latest :
https://github.com/hayd/deno-docker/blob/cae47347e325bea12e317129afde8695e0750469/.github/workflows/publish.yml#L10
Maybe move the alpine image at the end : ['amazonlinux1', 'centos', 'debian', 'ubuntu', 'alpine'] ?

I think it's parallel and luck of the draw which wins (or maybe Ubuntu is slightly slower to build)!
I could sleep for 60seconds on alpine before building 😆 (hacky...)

https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstrategymax-parallel :smirk:

I'm confident I have a solution that will work: using alpine as a separate build step. It seems like Publish-Docker-Github-Action is unhappy with two steps to the same repo in the same block (it never pushed the 0.37.0 tag to dockerhub that should have been just from alpine).

Related, it's unclear if I should be doing any of these things:
https://github.com/dockerimages/docker-deno/commit/364f74be472b8ef750f749e6814f2f6ed0662f57
(this fork/rename is a little weird.)