Add missing "Featured projects" feature to beta version

Goal
Add missing "Featured projects" to the beta version (following the feedback we got here #178 )
Some context about this feature: the goal was to highlight a subset of important projects, from the top page, showing the daily trends about projects pick randomly to try to entertain users.
This PR:

Adds a section "Featured projects" in the top page that shows 5 featured projects randomly (visible on desktop only)
Adds /features page to let users browse through all featured projects

I did a cleanup about the data, adding a specific status value featured in this commit https://github.com/bestofjs/bestofjs-backend/commit/21ed1533e9048d3284d1a57dffcfbe9f96684a9d . This status is currently assigned to about 200 projects.
How to test

In the home page, check the behavior of the "Featured" sections, clicking on "previous" and "next" buttons to cycle through the 200 features projects
Click on "View more" button to go to /featured page and check the pagination and the search order option. By default the most recent additions in Best of JS show up first.

Screenshot, 1st iteration
home page

/featured page

iteration 2
Adding next and previous buttons, using client components


i used export_tf_serving.py but also got problem ：Not found: Op type not registered 'PyFunc' in binary running on VM-179-90-ubuntu. Make sure the Op and Kernel are registered in the binary running in this process，annyone can help me ？

py func is not supported by tf serving


Check bip39WordlistEnglish against BIP39

Right now we use a wordlist from an npm package and we hope it is correct. I would like to check the value of
import bip39WordlistEnglish from "bip39/wordlists/english.json";

against the file english.txt from https://github.com/bitcoin/bips/tree/master/bip-0039 (sha256:2f5eed53a4727b4bf8880d8f3f199efc90e58503646d9ff8eff3a2ed3b24dbda) and verify:

We can load english.txt from the speck into a test (binary) and the checksum matches
When split line-by-line, we get the exact same wordlist as bip39WordlistEnglish

This way we can verify the wordlist in the package is the same as in the spec. Looking at some of the latest commits to the wordlist, it seems worth checking them bit-by-bit:

https://github.com/bitcoin/bips/commit/50c4f1255eed6b1c08ca9c20b4d8f380879ed2f5
https://github.com/bitcoin/bips/commit/144ef37e5314f8f968b8abb5a6fe8038d32e46ce
https://github.com/bitcoin/bips/commit/25f10b9f7bf844ebd98dc9ca6556228c3c34c44b

Closed in https://github.com/iov-one/iov-core/pull/1180


Yabai Window Move and Resize

Yabai after 7.0.0 seemed to have altered how I can trigger window move and resize, which was through BetterTouchTool's by simulating fn + left mouse click when I three-finger tapped.
The only way I can move the window now is holding down fn (set in Yabai config) or ctrl + cmd (defaults write -g NSWindowShouldDragOnGesture -bool true) and physically clicking, if I try to trigger movement with simulated mouse clicks, the window stutters in place as I try to move it around. I'm hoping there's a direction I can be pointed towards troubleshooting.
https://github.com/koekeishiya/yabai/assets/121596067/6a4002ec-f467-4d67-9a23-612a4f9d06f2

So the way this works is that yabai intercepts the click event. This is used to detect which window is to be operateed on.
If there are drag-events that follow, the window will be moved accordingly, until the mouse-up event is received.
Upon mouse-up received, we check if the window is a floating window, and if yes, do nothing. If it is a managed window, we either swap/warp if is it dropped on some other managed window, or move it back to its assigned region if not.
I have no idea how BTT simulates the click and how that changes the state in macOS. You can enable yabai -m config debug_output on and see which events are being processed when you do this.

After some testing with BTT and Karabiner / reading through referenced issues #1809 #1378 and 1240042,  I thinking it's because BTT simulates clicks higher than kCGHIDEventTap. My understanding is that since Karabiner creates a virtual driver and sends input as if it's from hardware, Yabai will respond to Karabiner inputs but not from BTT.
For now I will simply roll back to a previous version, since I wasn't having the issues described in that update. Thank you for all your work on this!

After some testing with BTT and Karabiner / reading through referenced issues #1809 #1378 and 1240042, I thinking it's because BTT simulates clicks higher than kCGHIDEventTap. My understanding is that since Karabiner creates a virtual driver and sends input as if it's from hardware, Yabai will respond to Karabiner inputs but not from BTT.
For now I will simply roll back to a previous version, since I wasn't having the issues described in that update. Thank you for all your work on this!

I'm experiencing a similar problem while connecting to a mac via macOS Screen Sharing.  What version of yabai did you revert to, if I may ask?

After some testing with BTT and Karabiner / reading through referenced issues #1809 #1378 and 1240042, I thinking it's because BTT simulates clicks higher than kCGHIDEventTap. My understanding is that since Karabiner creates a virtual driver and sends input as if it's from hardware, Yabai will respond to Karabiner inputs but not from BTT.
For now I will simply roll back to a previous version, since I wasn't having the issues described in that update. Thank you for all your work on this!

I'm experiencing a similar problem while connecting to a mac via macOS Screen Sharing. What version of yabai did you revert to, if I may ask?

I rolled back to https://github.com/koekeishiya/yabai/commit/e5370a15f21066fca212e1edbe9cc669e16c1762.


Paraphase determines output prefix from input filename

If the sample name isn't sanitized in the expected way (e.g., contains a .), the output names may be non-unique.  For setting the prefix, I recommend determining the sample name from the read group headers instead of the filename, and providing a --prefix flag for intentional override.
https://github.com/PacificBiosciences/HiFi-human-WGS-WDL/issues/113

This is fixed in v3.1.1


Remove Colors From Go CLI

Remove all colors, and sytles from CLI output

Why is this one needed?

(Sorry if this has been brought up before.) Could we check if the output is a terminal and use colors then?

Fixes https://github.com/openwhisk/openwhisk/issues/947

I do agree with @psuter. Can we implement a check? Python CLI used to have that.

No check necessary. I made modifications to print colors/styles in Windows.

PPG 905.

@markusthoemmes @psuter  - If the python CLI did not have this check, would some of the automated tests have failed?   In the Go CLI case, the automated tests have not been failing, so I'm wondering if that is sufficient enough validation that the Go CLI output does not include the special terminal code characters when invoked outside a terminal window.

The package we are using disables colors if a non-terminal is used.

rebase and merge f1af1fb586322d60583c3fb3daf882506a0d8de0
PG1  75


From Android App, testing, Hello Rasa

@WhoIsAbishag very cool if you are integrating with github APIs, but please use a personal repo to test next time 🙂


Dash design

Created the dashboard. Didn't add the functionalities.

Please let me know what you will work on, I will do the others then


Mac Support

It is possible to add support for Darwin systems? I may have done a mistake in setting up the bridge but I am not certain.

It is possible to add support for Darwin systems?

Unfortunately I don't think it's possible.

I may have done a mistake in setting up the bridge but I am not certain.

The bridge relies on direct calls to the Linux kernel for operations beyond the Wine prefix.

Check if v1.1-rc1 works for you.

I tried using the version you said and I'm getting this error after some minutes (playing ULTRAKILL btw)

I couldn't reproduce the issue you're having (unless I kill Discord).
I updated the bridge to retry the connection in this build.

With the last build I'm getting this error:

Im launching the bridge, then launching the app

Weird, I tested on macOS Monterey and it works without any issues. What version of macOS you are running? How did you launch the bridge?

I'm on MacOS Sonoma (Using Whisky btw). I launch the executable from the gui and then launch steam and my game.

I see, the issue is that the bridge can't get $TMPDIR: https://github.com/EnderIce2/rpc-bridge/blob/5d0e6c40267231a03e127af113be2668fe6f1536/bridge.c#L169
Unfortunately, $TMPDIR is not hard-coded and I don't know yet how to get it without getenv().
Launching Whisky from the terminal may work?

This is currently my bash script to launch Steam and the bridge.exe:
#!/bin/bash
echo "$TMPDIR"
WINEDEBUG="fixme-all" WINEPREFIX="/Users/marlon/Library/Containers/com.isaacmarovitz.Whisky/Bottles/AA8F5A78-D5C8-47C9-910E-56E81DEEB64A" GST_DEBUG="1" WINEESYNC="1" WINEDLLOVERRIDES="dxgi,d3d9,d3d10core,d3d11=n,b" DXVK_ASYNC="1" /Users/marlon/Library/Application\ Support/com.isaacmarovitz.Whisky/Libraries/Wine/bin/wine64 start /unix /Users/marlon/Library/Containers/com.isaacmarovitz.Whisky/Bottles/AA8F5A78-D5C8-47C9-910E-56E81DEEB64A/drive_c/bridge.exe
WINEDLLOVERRIDES="dxgi,d3d9,d3d10core,d3d11=b" WINEPREFIX="/Users/marlon/Library/Containers/com.isaacmarovitz.Whisky/Bottles/AA8F5A78-D5C8-47C9-910E-56E81DEEB64A" WINEDEBUG="fixme-all" GST_DEBUG="1" DXVK_ASYNC="1" WINEESYNC="1" /Users/marlon/Library/Application\ Support/com.isaacmarovitz.Whisky/Libraries/Wine/bin/wine64 start /unix /Users/marlon/Library/Containers/com.isaacmarovitz.Whisky/Bottles/AA8F5A78-D5C8-47C9-910E-56E81DEEB64A/drive_c/Program\ Files\ \(x86\)/Steam/steam.exe ```

When I run it from the terminal (`./launch.sh`), it returns:

/var/folders/kp/jpy0mvxn6dsdcybqh96j39ph0000gn/T/
esync: up and running.```
So the variable is correctly set, but not accessible in the program. How am I supposed to launch the program with the args then?

Ok so I did some changes and I added --rpc argument
Add --rpc "$TMPDIR" at the end of
 (...) /drive_c/bridge.exe --rpc "$TMPDIR"

The binary: bridge.zip

Okay! This seems to work. After narrowing the problem a bit more, I found that this was Whisky's fault as it escapes env variables 😅. Appart from that, the problem where the bridge was printing EOF is also fixed.
Thanks for the work and help :D!

Got another problem on mac sorry 😅
After playing 5-10min of ULTRAKILL, i get the error: EOF count exeeded
Here's the logs:
:"P-2: WAIT OF THE WORE WORLD","small_image":"6807LD","small_image":"rank_b","sm
all_text":"Brutal"}56752073228391","small_text":"Brutal"},"party":{},"secrets":{
},"name":"ULTRAKILL","application_id":"68,"party":{},"secrets":{},"instance":tru
e}}}E0748054038577165","flags":1,"type":{"cmd":"SET_ACTIVITY","nonce":"31","ev
t":null,"args":{"pid":1384,"activity":{"state":"DIFFICULTY: STANDARD","details":
"STYLE: 772","timestamps":{"start":1716054213},"assets":{"large_image":"missing"
,"large_text":"P-2: WAIT OF THE WORLD","small_image":"rank_b","small_text":"Brut
al"},"party":{},"secrets":{}0},"evt":null,"nonce":"25"}"
,"instance":true}}}E{"cmd"Reading 76 bytes from unix pipe: "D{"code":1003,"me
ssage":"data size does not match what was received"}"
:"SET_ACTIVITY","nonce":"32","evt":n"
EOF
Failed to write to socket: -32
Writing 1024 bytes to unix pipe: "ull,"args":{"pid":1384,"activity":{"state":"DI
FFICULTY: STANDARD","details":"STYLE: 781","timestamps":{"start":1716054213},"as
sets":{"large_image":"missing","large_text":"P-2: WAIT OF THE WORLD","small_imag
e":"rank_b","small_text":"Brutal"},"party":{},"secrets":{},"instance":true}}}E
{"cmd":"SET_ACTIVITY","nonce":"33","evt":null,"args":{"pid":1384,"activity":{"st
ate":"DIFFICULTY: STANDARD","details":"STYLE: 799","timestamps":{"start":1716054
213},"assets":{"large_image":"missing","large_text":"P-2: WAIT OF THE WORLD","sm
all_image":"rank_b","small_text":"Brutal"},"party":{},"secrets":{},"instance":tr
ue}}}E{"cmd":"SET_ACTIVITY","nonce":"34","evt":null,"args":{"pid":1384,"activi
ty":{"state":"DIFFICULTY: STANDARD","details":"STYLE: 815","timestamps":{"start"
:1716054213},"assets":{"large_image":"missing","large_text":"P-2: WAIT OF THE WO
RLD","small_image":"rank_b","small_text":"Brutal"},"party":{},"secrets":{},"inst
ance":true}}}E{"cmd":"SET_ACTIVITY","nonce":"35","evt":null,"args":{"pid":1384
,"a"
Failed to write to socket: -32
Writing 1024 bytes to unix pipe: "ctivity":{"state":"DIFFICULTY: STANDARD","deta
ils":"STYLE: 839","timestamps":{"start":1716054213},"assets":{"large_image":"mis
sing","large_text":"P-2: WAIT OF THE WORLD","small_image":"rank_b","small_text":
"Brutal"},"party":{},"secrets":{},"instance":true}}}E{"cmd":"SET_ACTIVITY","no
nce":"36","evt":null,"args":{"pid":1384,"activity":{"state":"DIFFICULTY: STANDAR
D","details":"STYLE: 848","timestamps":{"start":1716054213},"assets":{"large_ima
ge":"missing","large_text":"P-2: WAIT OF THE WORLD","small_image":"rank_b","smal
l_text":"Brutal"},"party":{},"secrets":{},"instance":true}}}E{"cmd":"SET_ACTIV
ITY","nonce":"37","evt":null,"args":{"pid":1384,"activity":{"state":"DIFFICULTY:
 STANDARD","details":"STYLE: 857","timestamps":{"start":1716054213},"assets":{"l
arge_image":"missing","large_text":"P-2: WAIT OF THE WORLD","small_image":"rank_
b","small_text":"Brutal"},"party":{},"secrets":{},"instance":true}}}E{"cmd":"S
ET_ACTIVITY","nonce":"38","evt":null,"args":{"pid":1384,"activity":{"state":"DIF
FIC"
Failed to write to socket: -32
Writing 1024 bytes to unix pipe: "ULTY: STANDARD","details":"STYLE: 866","timest
amps":{"start":1716054213},"assets":{"large_image":"missing","large_text":"P-2:
WAIT OF THE WORLD","small_image":"rank_b","small_text":"Brutal"},"party":{},"sec
rets":{},"instance":true}}}E{"cmd":"SET_ACTIVITY","nonce":"39","evt":null,"arg
s":{"pid":1384,"activity":{"state":"DIFFICULTY: STANDARD","details":"STYLE: 884"
,"timestamps":{"start":1716054213},"assets":{"large_image":"missing","large_text
":"P-2: WAIT OF THE WORLD","small_image":"rank_b","small_text":"Brutal"},"party"
:{},"secrets":{},"instance":true}}}E{"cmd":"SET_ACTIVITY","nonce":"40","evt":n
ull,"args":{"pid":1384,"activity":{"state":"DIFFICULTY: STANDARD","details":"STY
LE: 893","timestamps":{"start":1716054213},"assets":{"large_image":"missing","la
rge_text":"P-2: WAIT OF THE WORLD","small_image":"rank_b","small_text":"Brutal"}
,"party":{},"secreEOF
ts":{},"instance":true}}}E{"cmd":"SET_ACTIVITY","nonce":"41","evt":null,"args"
:{"pid":1384,"activity":{"state":"DIFFICULTY: STANDARD","details""
Failed to write to socket: -32
Writing 1024 bytes to unix pipe: ":"STYLE: 902","timestamps":{"start":1716054213
},"assets":{"large_image":"missing","large_text":"P-2: WAIT OF THE WORLD","small
_image":"rank_b","small_text":"Brutal"},"party":{},"secrets":{},"instance":true}
}}E{"cmd":"SET_ACTIVITY","nonce":"42","evt":null,"args":{"pid":1384,"activity"
:{"state":"DIFFICULTY: STANDARD","details":"STYLE: 911","timestamps":{"start":17
16054213},"assets":{"large_image":"missing","large_text":"P-2: WAIT OF THE WORLD
","small_image":"rank_b","small_text":"Brutal"},"party":{},"secrets":{},"instanc
e":true}}}E{"cmd":"SET_ACTIVITY","nonce":"43","evt":null,"args":{"pid":1384,"a
ctivity":{"state":"DIFFICULTY: STANDARD","details":"STYLE: 920","timestamps":{"s
tart":1716054213},"assets":{"large_image":"missing","large_text":"P-2: WAIT OF T
HE WORLD","small_image":"rank_b","small_text":"Brutal"},"party":{},"secrets":{},
"instance":true}}}E{"cmd":"SET_ACTIVITY","nonce":"44","evt":null,"args":{"pid"
:1384,"activity":{"state":"DIFFICULTY: STANDARD","details":"STYLE: 929","timesta
mps"
Failed to write to socket: -32
Writing 183 bytes to unix pipe: "":{"start":1716054213},"assets":{"large_image":
"missing","large_text":"P-2: WAIT OF THE WORLD","small_image":"rank_b","small_te
xt":"Brutal"},"party":{},"secrets":{},"instance":true}}}"
Failed to write to socket: -32
Writing 335 bytes to unix pipe: "G{"cmd":"SET_ACTIVITY","nonce":"45","evt":nul
l,"args":{"pid":1384,"activity":{"state":"DIFFICULTY: STANDARD","details":"STYLE
: 929","timestamps":{"start":1716054213},"assets":{"large_image":"missing","larg
e_text":"P-2: WAIT OF THE WORLD","small_image":"rank_a","small_text":"Anarchic"}
,"party":{},"secrets":{},"instance":true}}}"
Failed to write to socket: -32
Writing 672 bytes to unix pipe: "H{"cmd":"SET_ACTIVITY","nonce":"46","evt":nul
l,"args":{"pid":1384,"activity":{"state":"DIFFICULTY: STANDARD","details":"STYLE
: 1064","timestamps":{"start":1716054213},"assets":{"large_image":"missing","lar
ge_text":"P-2: WAIT OF THE WORLD","small_image":"rank_a","small_text":"Anarchic"
},"party":{},"secrets":{},"instance":true}}}H{"cmd":"SET_ACTIVITY","nonce":"47
","evt":null,"args":{"pid":1384,"activity":{"state":"DIFEOF
FICULTY: STANDARD","details":"STYLE: 1097","timestamps":{"start":1716054213},"as
sets":{"large_image":"missing","large_text":"P-2: WAIT OF THE WORLD","small_imag
e":"rank_a","small_text":"Anarchic"},"party":{},"secrets":{},"instance":true}}}"

Failed to write to socket: -32
Writing 336 bytes to unix pipe: "H{"cmd":"SET_ACTIVITY","nonce":"48","evt":nul
l,"args":{"pid":1384,"activity":{"state":"DIFFICULTY: STANDARD","details":"STYLE
: 1119","timestamps":{"start":1716054213},"assets":{"large_image":"missing","lar
ge_text":"P-2: WAIT OF THE WORLD","small_image":"rank_a","small_text":"Anarchic"
},"party":{},"secrets":{},"instance":true}}}"
Failed to write to socket: -32
Writing 334 bytes to unix pipe: "F{"cmd":"SET_ACTIVITY","nonce":"49","evt":nul
l,"args":{"pid":1384,"activity":{"state":"DIFFICULTY: STANDARD","details":"STYLE
: 1119","timestamps":{"start":1716054213},"assets":{"large_image":"missing","lar
ge_text":"P-2: WAIT OF THE WORLD","small_image":"rank_b","small_text":"Brutal"},
"party":{},"secrets":{},"instance":true}}}"
Failed to write to socket: -32
Writing 334 bytes to unix pipe: "F{"cmd":"SET_ACTIVITY","nonce":"50","evt":nul
l,"args":{"pid":1384,"activity":{"state":"DIFFICULTY: STANDARD","details":"STYLE
: 1084","timestamps":{"start":1716054213},"assets":{"large_image":"missing","lar
ge_text":"P-2: WAIT OF THE WORLD","small_image":"rank_b","small_text":"Brutal"},
"party":{},"secrets":{},"instance":true}}}"
Failed to write to socket: -32
EOF
Writing 336 bytes to unix pipe: "H{"cmd":"SET_ACTIVITY","nonce":"51","evt":nul
l,"args":{"pid":1384,"activity":{"state":"DIFFICULTY: STANDARD","details":"STYLE
: 1084","timestamps":{"start":1716054213},"assets":{"large_image":"missing","lar
ge_text":"P-2: WAIT OF THE WORLD","small_image":"rank_a","small_text":"Anarchic"
},"party":{},"secrets":{},"instance":true}}}"
Failed to write to socket: -32
Writing 336 bytes to unix pipe: "H{"cmd":"SET_ACTIVITY","nonce":"52","evt":nul
l,"args":{"pid":1384,"activity":{"state":"DIFFICULTY: STANDARD","details":"STYLE
: 1345","timestamps":{"start":1716054213},"assets":{"large_image":"missing","lar
ge_text":"P-2: WAIT OF THE WORLD","small_image":"rank_a","small_text":"Anarchic"
},"party":{},"secrets":{},"instance":true}}}"
Failed to write to socket: -32
EOF
Writing 336 bytes to unix pipe: "H{"cmd":"SET_ACTIVITY","nonce":"53","evt":nul
l,"args":{"pid":1384,"activity":{"state":"DIFFICULTY: STANDARD","details":"STYLE
: 1532","timestamps":{"start":1716054213},"assets":{"large_image":"missing","lar
ge_text":"P-2: WAIT OF THE WORLD","small_image":"rank_a","small_text":"Anarchic"
},"party":{},"secrets":{},"instance":true}}}"
Failed to write to socket: -32
Writing 670 bytes to unix pipe: "G{"cmd":"SET_ACTIVITY","nonce":"54","evt":nul
l,"args":{"pid":1384,"activity":{"state":"DIFFICULTY: STANDARD","details":"STYLE
: 1532","timestamps":{"start":1716054213},"assets":{"large_image":"missing","lar
ge_text":"P-2: WAIT OF THE WORLD","small_image":"rank_s","small_text":"Supreme"}
,"party":{},"secrets":{},"instance":true}}}G{"cmd":"SET_ACTIVITY","nonce":"55"
,"evt":null,"args":{"pid":1384,"activity":{"state":"DIFFICULTY: STANDARD","detai
ls":"STYLE: 1657","timestamps":{"start":1716054213},"assets":{"large_image":"mis
sing","large_text":"P-2: WAIT OF THE WORLD","small_image":"rank_s","small_text":
"Supreme"},"party":{},"secrets":{},"instance":true}}}"
Failed to write to socket: -32
Writing 335 bytes to unix pipe: "G{"cmd":"SET_ACTIVITY","nonce":"56","evt":nul
l,"args":{"pid":1384,"activity":{"state":"DIFFICULTY: STANDARD","details":"STYLE
: 1828","timestamps":{"start":1716054213},"assets":{"large_image":"missing","lar
ge_text":"P-2: WAIT OF THE WORLD","small_image":"rank_s","small_text":"Supreme"}
,"party":{},"secrets":{},"instance":true}}}"
Failed to write to socket: -32
EOF count exceeded

Failed to write to socket: -32 means broken pipe
I guess the buffer is too small? Try this build:
bridge.zip
And let me know if the issue is fixed.

After some testing, I haven't encountered an error for a long while 👍

I've just had an idea to support installing in the wine prefix on MacOS. You said it was not possible due to the $TMPDIR folder changing each reboot. What if there was a simple bash script that launched with launchctl every reboot, and that symlinked the $TMPDIR folder to a static path? If you don't know how to do that on Mac, I would be glad to help.

Here's a bash script that will add or remove a launchd agent. This agent will symlink the $TMPDIR folder to a static path (~/Application\ Support/rpc-bridge/tmpdir). You can use it by doing ./script (install|remove)
#!/bin/bash

# Define target directory
TARGET_DIR=$HOME/Library/Application\ Support/rpc-bridge/tmpdir
P_DIR=$(dirname "$TARGET_DIR")
FILE_PATH=$P_DIR/link

# Function to create the symlink and launch agent
function install_link() {

    if [ ! -d "$P_DIR" ]; then
        mkdir -p "$P_DIR"
    fi

    cat << EOF > "$FILE_PATH"
#!/bin/bash
TARGET_DIR=\$HOME/Library/Application\ Support/rpc-bridge/tmpdir
if [ ! -d "\$TARGET_DIR" ]; then
    mkdir -p "\$TARGET_DIR"
fi
rm -rf "\$TARGET_DIR"
ln -s "\$TMPDIR" "\$TARGET_DIR"
EOF

    chmod +x "$FILE_PATH"

    # Launch agent plist file path
    PLIST_FILE=~/Library/LaunchAgents/com.rpc-bridge.tmp-symlink.plist

    # Create the launch agent plist with escaped variable
  cat << EOF > "$PLIST_FILE"
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST File Format//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>Label</key>
  <string>com.rpc-bridge.tmp-symlink</string>
  <key>ProgramArguments</key>
  <array>
    <string>$FILE_PATH</string>
  </array>
  <key>RunAtLoad</key>
  <true/>
</dict>
</plist>
EOF

    # Load the launch agent
    launchctl load "$PLIST_FILE"
    echo "Symlink created and launch agent installed."
}

# Function to remove the symlink and launch agent (unchanged)
function remove_link() {
    # Remove the symlink
    rm -rf "$TARGET_DIR"

    # Launch agent plist file path
    PLIST_FILE=~/Library/LaunchAgents/com.rpc-bridge.tmp-symlink.plist

    # Unload the launch agent
    launchctl unload "$PLIST_FILE"

    # Remove the files
    rm -f "$PLIST_FILE"
    rm -f "$FILE_PATH"
    echo "Symlink removed and launch agent uninstalled."
}

# Check for user input
if [ $# -eq 0 ]; then
    echo "Usage: $0 (install|remove)"
    exit 1
fi

# Action based on user input
case $1 in
    install)
        install_link
    ;;
    remove)
        remove_link
    ;;
    *)
        echo "Invalid argument. Please use 'install' or 'remove'."
        exit 1
    ;;
esac```

You could add this step into the README, and modify the code to find the static directory when on MacOS. I tested it myself and it works as a service.

After some tinkering, I managed to make it work! Here's a bare bone fix. Basically, you have to use the macos.sh bash script to create a launchd agent that will symlink the $TMPDIR folder to /tmp/rpc-bridge/tmpdir. This allows to use the service in MacOS. Here's the release: https://github.com/OrigamingWasTaken/rpc-bridge-macos-fix/releases/tag/0.0.1

Oh wow! I didn't know about launchd agent. I will look in your code and integrate the patches, if that is okay.

If you want, I can make a pull request once you're done reviewing the code. Some things may be strange because I don't know C very well.

Yes, the code is okay, you can make a pull request.

I made a pull request :D
https://github.com/EnderIce2/rpc-bridge/pull/3

I made a pull request :D
https://github.com/EnderIce2/rpc-bridge/pull/3

I don't know if this is the right place to ask but I really can't get it to work on macOS 15.0.1 on my m2 mac air with whisky

What are you having trouble with?

I can't get the bridge working. I have done the extra steps for macOS for the launch agent and I have followed the documentation but I just can't get my game activity in whisky to show on my discord (modded with vencord). The rpc-bridge just won't work for me.
Macbook air m2 macOS 15.0.1 and 15.1.

Does this directory exist for you?
/tmp/rpc-bridge/tmpdir

It does yes.

Have you opened the bridge.exe file manually at least once?

I have yes

Does RPC work if you uninstall the windows service (by opening the bridge.exe and clicking Remove), start the bridge manually, and start your game? If it doesn't, what program are you trying to get working?

I swear I tried that and it didn't work. Now it works if I just start the service. It only works for rain world though.

Will I have to just start the service manually everytime I play a game?

Will I have to just start the service manually everytime I play a game?

No you shouldn't have to.
@EnderIce2 It's been a long time since I looked at your code, could you guide us on where to find the logs and maybe other debugging information?

Sure, the logs are in C:\windows\logs\bridge.log.

Will I have to just start the service manually everytime I play a game?

The service should start by itself if it's installed using the GUI. Weird...

I think I got it working with the install option instead of "start" option. I can get it to work when I have my games located in ~/documents/games/...
I couldn't get it to work with steams default directory for game installation files.
I do not know why it didn't work before. I can say that I somehow was able to get it working.

Hii, I'm having a problem. I've got an M2 macbook air running Sequoia 15.0.1. I've installed the rpc Launch Agent without problems, but when it comes to the bridge itself I have some issues. I'm using a Steam game on Crossover. After I've installed the windows service and opened the game nothing comes up on discord...Am I doing something wrong?

Hii, I'm having a problem. I've got an M2 macbook air running Sequoia 15.0.1. I've installed the rpc Launch Agent without problems, but when it comes to the bridge itself I have some issues. I'm using a Steam game on Crossover. After I've installed the windows service and opened the game nothing comes up on discord...Am I doing something wrong?

Does the bridge work when started manually?

Sadly no, it doesn't. Do I have to place the launching string for steam on Crossover? If yes what do I have to write? Also do I have to start it after or before opening the game?

Have you tried multiple games? I could only have discord rpc working on 1 of my games

Not really, I'm kinda restricted on having too many games at once since I don't have that much space to store games :/


test: kubectl-exec-vi test issue

Fixes #7305

Description of what you did:

My PR is a:

[ ] 💥 Breaking change
[x] 🐛 Bug fix
[ ] 💅 Enhancement
[ ] 🚀 New feature

Please confirm that your PR fulfills these requirements

[x] Multiple commits are squashed into one commit.
[x] The commit message follows Conventional Commits, which allows us to autogenerate release notes; e.g. fix(plugins/plugin-k8s): fixed annoying bugs
[x] All npm dependencies are pinned.

reviewed with a pair programming session with @myan9
/lgtm

/lgtm

i suspect there are still latent bugs, but this clearly fixes at least one of them


Assign User Task Based on Role

Hi guys,
Thanks for this awesome plugin.
Need your help, I've one case, there're 3 level of users : branches - roles - employees.
So I need to assign user task from based on branch and role.
Let says,
Branch : US
Role : Supervisor
Employees : John Doe, John Deo, John Eod, John Oed
Branch is get from form, so I need to assign user task to Supervisor, which is would be John Doe, John Deo, John Eod, John Oed who granted and can claim.
Thank you.

Within Camunda you have users and groups. And this plugin does nothing else than getting users and groups from Keycloak. Furthermore this plugin (just like the standard LDAP plugin) so far does not support multitenancy.
If I understand you correctly your challenge is to represent a branch in combination with the role as group. E.g. you could create a group "US_Supervisor". And organize your users accordingly.

Hi @VonDerBeck,
Thanks for your answer, really appreciate.
Oke then I'll follow your suggestion.
Thank you and have a nice day.


gettingstarted.rst

Changes

[X] I checked this pull request runs on Python 3.6.X.
[ ] This fixes something in Issues.

Issue:

[X] This adds something new.
[ ] There is/are breaking change(s).
[X] (If required) Document string is updated/added.
[X] This changes anything except python code. (README, docs, etc.)

About this pull request
This is a new page for the docs that allows you to learn more than the quickstart "basics" that are presented. It also adds a small update to the "quickstart.rst" and "index.rst" pages to show this page as well now.

Merging again, and thank you again!

Merging again, and thank you again!


Add support for 1.20 Fabric

Code of Conduct

[X] I have read and agree to the project's Code of Conduct

What improvements would you like to see?
Addition of 1.20 Fabric support
What changes are you suggesting?
Updating version compatibility
Additional information
No response

Done in https://github.com/CyberFlameGO/viewmodel-changer/releases/tag/v1.6 and https://github.com/CyberFlameGO/viewmodel-changer/releases/tag/v1.7


Use LoopBuilder to multithread Modern plugins

Describe the bug
LoopBuilder is the ImgLib2 way to achieve chunked multithreading, see this for an example (specifically, the 'squared sum' example)
https://forum.image.sc/t/imglib2-split-image-into-chunks-for-multi-threaded-processing/37519/4
Modern Connectivity currently uses 8 cursors to achieve multithreading, which is a bit of a hack.
https://github.com/imagej/imagej-ops/commit/6a60315419fad3745a456f9cc2719e7897d7b762#diff-d6c590f31ede52f4518dba0b4a44cf9fR261
    				final Cursor<B> octantCursor1 = Views.flatIterable(interval).cursor();
    				final Cursor<B> octantCursor2 = Views.flatIterable(interval).cursor();
    				final Cursor<B> octantCursor3 = Views.flatIterable(interval).cursor();
    				final Cursor<B> octantCursor4 = Views.flatIterable(interval).cursor();
    				final Cursor<B> octantCursor5 = Views.flatIterable(interval).cursor();
    				final Cursor<B> octantCursor6 = Views.flatIterable(interval).cursor();
    				final Cursor<B> octantCursor7 = Views.flatIterable(interval).cursor();
    				final Cursor<B> octantCursor8 = Views.flatIterable(interval).cursor();

    				octantCursor1.jumpFwd(start);
    				octantCursor2.jumpFwd(start + w);
    				octantCursor3.jumpFwd(start + 1);
    				octantCursor4.jumpFwd(start + w + 1);
    				octantCursor5.jumpFwd(start + w * h);
    				octantCursor6.jumpFwd(start + w * h + w);
    				octantCursor7.jumpFwd(start + w * h + 1);
    				octantCursor8.jumpFwd(start + w * h + w + 1);

    				for (int i = 0; i < steps; i++) {
    					boolean o1 = octantCursor1.next().get();
    					boolean o2 = octantCursor2.next().get();
    					boolean o3 = octantCursor3.next().get();
    					boolean o4 = octantCursor4.next().get();
    					boolean o5 = octantCursor5.next().get();
    					boolean o6 = octantCursor6.next().get();
    					boolean o7 = octantCursor7.next().get();
    					boolean o8 = octantCursor8.next().get();

Additional context
Any change to the code needs to be performance benchmarked and reported to @maarzt
If it works out, we might be able to improve the performance of other Modern plugins like VolumeFraction

The cursors do avoid random access, which slow the op down (I've tested). My bet is that the inner lambda function of LoopBuilder.forEachPixel(T) (or Chunk) will have to avoid it too to achieve performance similar to the current op.

If it works out, we might be able to improve the performance of other Modern plugins like VolumeFraction

Sure, worth having a go. ATM AreaFraction calls opService.stats().sum(interval). If counting foreground pixels with LoopBuilder turns out to be faster, I can work that into the op.

LoopBuilder won't work for this use case. It supports a maximum number of 6 cursors or random accesses. You could work around this be using Views.collapse(Views.stack(...)) but I wouldn't expect any performance improvements by this.
I would choose a different approach:

You should copy the BitType input image into a UnsignedByteType image. (Using values 0 and 1).
Convolve the UnsignedByteType image with a kernel [1 2] in x, with a kernel [1 4] in you, and with a kernel [1 16] in z. This will encode your 8-neighborhood in the pixels of the UnsignedByteType.
Use a look up table byte[256] to make the encoded 8-neighborhood to the delta-euler-value.

@maarzt I just did a little performance testing comparing the legacy and modern Connectivity plugins. You can see that even with some hacky multithreading, and avoiding random accesses with final Cursor<B> octantCursor1 = Views.flatIterable(interval).cursor(); the Modern approach is still way slower than the legacy approach. Is there a faster way to access pixels sequentially in an Op? especially pixel neighbourhoods, which is a standard kind of thing to do when processing with a kernel.
Performance timings
Timing Legacy Connectivity
Legacy connectivity took 1111 ms
Legacy connectivity took 876 ms
Legacy connectivity took 873 ms
Legacy connectivity took 1107 ms
Legacy connectivity took 909 ms
Timing Modern Connectivity
Modern connectivity took 14352 ms
Modern connectivity took 14298 ms
Modern connectivity took 14079 ms
Modern connectivity took 14071 ms
Modern connectivity took 14141 ms

Macro code:
print("Timing Legacy Connectivity");
for (i = 0; i < 5; i++){
   start = getTime();
   run("Connectivity");
   end = getTime();
   print("Legacy connectivity took "+end - start+" ms");
}

print("Timing Modern Connectivity");
for (i = 0; i < 5; i++){
   start = getTime();
   run("Connectivity (Modern)", "inputimage=net.imagej.ImgPlus@73672ce");
   end = getTime();
   print("Modern connectivity took "+end - start+" ms");
}

Test image
umzc_378p_Apteryx_haastii_head.tif.zip


Updating to latest uniform

Bumping the uniform's version to v1.8.0.
uniform v1.8.0 updates the version of joda-time, Bumping version of uniform to avoid conflicts in the downstream projects.

:+1: In general we don't need a PR for bumping up version and I don't see any possible incompatible changes in the joda release notes for 1.8.0.

Thanks @vineethvarghese . I wanted to explicit about the joda-time changes, as it forces all the downstream consumers to update the uniform, like us.


No such file or directory - HXPHPicker/Editor.

[!] Invalid Podfile file: No such file or directory - HXPHPicker/Editor.
pod `HXPHPicker/Editor`
pod `HXPHPicker/Editor/Lite`

how can I merge multiple video into one video like tiktok ?

Sorry, the function of merging videos is not supported


Implement Tarjan's algorithm

Tarjan's Algorithm is a depth-first algorithm for topological sorting. It should be available as an alternative to current sort method.

Implemented on 4ada91799ce3ee8ef1b86b59511b607927ac6de2


Improve formatting and capitalization.

Enable code formatting for commands.
Enable syntax highlighting.
Capitalize product and proper names.

:heavy_check_mark: Rebased and conflicts resolved.


docker cannot start

Hi
I've  pulled the onnxmlirczar/onnx-mlir image, then I created a docker with the following command
docker run -itd --name mlir onnxmlirczar/onnx-mlir:amd64 /bin/bash
but the mlir docker is Exited。I tried to start this docker with docker start mlir, but The status of mlir is still Exited. when i enter docker logs mlir ,  I got fllowing message.
Invalid input file "/bin/bash": Either an ONNX model (.onnx or .onnxtext or .json), or an MLIR file (.mlir) needs to be provided.
What can I do to solve this problem?
Thank u

What are you trying to do, compile a model or develop for onnx-mlir? The onnxmlirczar/onnx-mlir image is not meant to be run interactively. It's meant to be a quick way to run onnx-mlir to compile a model without installing anything. See the docs at https://github.com/onnx/onnx-mlir/blob/main/docs/Docker.md
If you insist on running the onnxmlirczar/onnx-mlir interactively, you can use
docker run -it --name mlir --entrypoint=bash onnxmlirczar/onnx-mlir

Thank u for your reply, I want to complie a model. Now I have pulled this image. In my opinions . if i want to achieve my goal . There are  three steps need to do . <1>pull this image <2> create a docker use this image. <3> Enter docker and compile a onnx model. Maybe I have some misunderstanding about the use of image. what i should to compile a model use this   ##image.
Thank u

The command is in the onnx-mlir source repo. You need to clone the onnx-mlir source repo.

sorry I have another question ,
do you mean it is enough to compile a onnx model when i have this image and onnx-mlir source code.? i need not to compile and build llvm .
Thank u

The onnxmlirczar/onnx-mlir image alone is enough to compile a model. But since the onnx-mlir compiler is running inside a container, it does not have direct access to a model file on your host. So docker run command options are needed to mount the host directory containing the model file into the container. So if you know how to do that yourself, you can just run the onnxmlirczar/onnx-mlir image and supply those options yourself manually. The docker/onnx_mlir.py script in the source repo is just a convenience script that takes care of those details for you.


[jiminy_py] Add option for plotter to compare several logfiles.

One of the main purpose I use jiminy for is to compare two simulations of the same system, with different parameters. In that context, I get two log files, with the same content (in terms of logged fields) and length.
This PR adds the capacity for jiminy_plotter to compare two or more logs, by plotting them on the same graph:
jiminy_plotter logfile.data regex -c the_logs_I_want_to_compare_to.data
Feature preview:

Nice idea ! But why not just jiminy_plotter logfile.data the_logs_I_want_to_compare_to.data ... regex ? Because it is not straigtforward to find the start and end of the regex I guess ?

What do you think of being able to click of the legend on turn on/off the display of the logfiles ? https://stackoverflow.com/a/46550271/4820605
Just a (crazy) idea x)

I felt having a specific argument made the option clearer to the user (because it's documented by argparser). I would rather avoid mixing regex and logfiles, for clarity: that way you can understand the tool as taking

a (master) logfile
a list of plot commands, that can be some crazy regex
with -c, a list of logs to compare.

Otherwise I feel it's a bit more difficult to understand on what the regex apply: here you really give a specific role to the master logfile, and it's clearer to see -c as something you add on top of this. What do you think ?
I'll have a look at the interactive legend thing.

As you wish, I'm fine with it. It was just to better understand your point of view :)

@duburcqa Implemented interactive legend as you suggested.

@duburcqa Implemented interactive legend as you suggested.

Sounds amazing ! Great work :)

@duburcqa I've merge the other two PRs into this one. I've mutualized a bit the version number in the setup files, I can change back if you disagreee. I didn't look for a way to mutialize it between both packages, but this is already a start.

I realized that the change I made is only python3-compatible, perhaps I should roll back.
From https://packaging.python.org/guides/single-sourcing-package-version/ , I found that setuptools_scm allows sourcing of the version from the git tag. This sounds like a nice feature on paper, but it practice it may be a bit confusing that the version is nowhere in the sources, only in the git tag gives the version (also, if the current commit is untagged / contains local modification, you get meaningless (but incremental) versions numbers like 1.2.32.dev0+gedb58a2a.d20200501)).

I'm afraid the only robust way to do it is the Cmake configuration_file mechanism https://cmake.org/cmake/help/v3.2/command/configure_file.html.
Doing this, setting the version tag in the main cmake would be enough. And it is compatible with any Python version. I will do it soon.
How the dev branch, I think with should have one after all.

Done ! Now there is a single entry point to set the version tag :)


[BUG] Volume not correct

Bug Description
queue.volume is not returning expected value.
Reproduction Steps
Steps to reproduce the behavior:

Set volume to 50
Get volume, will return 25

Expected Result
Expecting volume to return same value as set
Versioning:

OS: Windows 10
NPM Version: 7.21.0
Module Version 8.0.1

Hey, thanks for the report. I can reproduce this issue and it was already reported on our discord, but thanks for the report.
I will fix this asap, and let you know.

Hey, that issue was fixed in DMP v8.0.2.
npm i<EMAIL_ADDRESS>
Thanks @mikkel-ol and @SpeckyYT for reporting it.


restore tsv

TSV is restored!
Do you want to run the notebook, since I could not get it to regognize the import statements (even with my poetry shell activated)

thanks for doing this. it wan't really urgent, but it was a good exercise for us to work on since there may be times in the future when one of us misunderstand another about who is going to merge what when


Ensure exactly one selection in get_from_vec_alloc_relaxed_r1cs.

This PR fixes #94. I think the alternate approach (checking consistency of the chosen and received target index) is probably a little better. I may take a shot at this along with investigating a refactoring to avoid duplication of the bit-checking, etc. in a separate PR. Meanwhile, this should fix the immediate issue straightforwardly.

I think with this we can remove this comment. Checking the sum of the equal_bits is equivalent to range-check, so the comment no longer applies.

Done.

I played around, and this was the best I could do for constraints. I think it's a good stopping point. Now we reuse the selector, and I added an optimization for allocation of equality with constant.


V1.4documentations

Pull Request Test Coverage Report for Build 355

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

Totals

Change from base Build 354:
0.0%

Covered Lines:
2212

Relevant Lines:
3252

💛  - Coveralls


Admin page to add buyer domains

Trello card: https://trello.com/c/TRYLtlWB/100-allow-admin-to-add-buyer-domain-to-the-digital-marketplace-whitelist
A new page, a link to it from the homepage, with some bits and pieces of tidying up admin page templates thrown in for good measure.
Homepage link

New page

Added a domain

Errors

Laurence and Constance have seen this running locally and are happy with it.

@katstevens discussed at stand up and we think this is OK to merge and QA on Preview now.


implemented mod_auth_jwt

Close #77

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.8 out of 10 committers have signed the CLA.:white_check_mark: liuximu:white_check_mark: shanhuhai5739:white_check_mark: xiaofei0800:white_check_mark: jansci621:white_check_mark: iyangsj:white_check_mark: ilujiez:white_check_mark: tianxinheihei:white_check_mark: yangqingxin1993:x: ihaveungithub:x: zhanghaobinYou have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for your contribution !

Codecov Report

Merging #283 into contest-null will not change coverage by %.
The diff coverage is n/a.

@@              Coverage Diff              @@
##           contest-null     #283   +/-   ##
=============================================
  Coverage         53.04%   53.04%
=============================================
  Files               263      263
  Lines             23560    23560
=============================================
  Hits              12498    12498
  Misses             9568     9568
  Partials           1494     1494

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 5003fcf...5003fcf. Read the comment docs.

合入content-null分支后，可进一步迭代改进

好的。

@zhanghaobin 请将微信号发送至<EMAIL_ADDRESS>我们会邀请您加入开源BFE开发者微信群方便交流

@zhanghaobin 请将微信号发送至<EMAIL_ADDRESS>我们会邀请您加入开源BFE开发者微信群方便交流

OK


Save agent progress

We have to find a solution to save agent's state during or after training to be able to use it after closing cloud notebook or restart training.
We need to clearly state the versions of agents (date, HP chosen, training parameters, etc).
Ideas:

In TF, you can use a save_weights function to save a model's state.

Incrementally save model parameters to file for later use. Must be compatible with loading in #5

see model.save(filepath) in openAI baselines

This also needs to save the environment configuration which was used to produce the model. Save the yaml alongside these parameters.


facter-1.7.6: "cannot load such file -- win32/dir" - Windows 10

Hi, I have tried to install the librarian-puppet but I got this error when I bring up my vagrant machine:
Bringing machine 'db' up with 'virtualbox' provider...
==> db: Checking if box 'hashicorp/precise64' is up to date...
==> db: Installing Puppet modules in "librarian" with Librarian-Puppet...
Unable to load puppet. Please install it using native packages for your platform (eg .deb, .rpm, .dmg, etc).
puppet --version returned pid 1920 exit 1
C:/Users/ferna/.vagrant.d/gems/gems/facter-1.7.6/lib/facter/util/config.rb:47:in `require': cannot load such file -- win32/dir (LoadError)
        from C:/Users/ferna/.vagrant.d/gems/gems/facter-1.7.6/lib/facter/util/config.rb:47:in `<top (required)>'
        from C:/Users/ferna/.vagrant.d/gems/gems/facter-1.7.6/lib/facter/util/resolution.rb:7:in `require'
        from C:/Users/ferna/.vagrant.d/gems/gems/facter-1.7.6/lib/facter/util/resolution.rb:7:in `<top (required)>'
        from C:/Users/ferna/.vagrant.d/gems/gems/facter-1.7.6/lib/facter/util/fact.rb:2:in `require'
        from C:/Users/ferna/.vagrant.d/gems/gems/facter-1.7.6/lib/facter/util/fact.rb:2:in `<top (required)>'
        from C:/Users/ferna/.vagrant.d/gems/gems/facter-1.7.6/lib/facter.rb:23:in `require'
        from C:/Users/ferna/.vagrant.d/gems/gems/facter-1.7.6/lib/facter.rb:23:in `<module:Facter>'
        from C:/Users/ferna/.vagrant.d/gems/gems/facter-1.7.6/lib/facter.rb:19:in `<top (required)>'
        from C:/Users/ferna/.vagrant.d/gems/gems/puppet-3.4.3/lib/puppet.rb:6:in `require'
        from C:/Users/ferna/.vagrant.d/gems/gems/puppet-3.4.3/lib/puppet.rb:6:in `<top (required)>'
        from C:/Users/ferna/.vagrant.d/gems/gems/puppet-3.4.3/lib/puppet/util/command_line.rb:12:in `require'
        from C:/Users/ferna/.vagrant.d/gems/gems/puppet-3.4.3/lib/puppet/util/command_line.rb:12:in `<top (required)>'
        from C:/Users/ferna/.vagrant.d/gems/gems/puppet-3.4.3/bin/puppet:3:in `require'
        from C:/Users/ferna/.vagrant.d/gems/gems/puppet-3.4.3/bin/puppet:3:in `<top (required)>'
        from C:/Users/ferna/.vagrant.d/gems/bin/puppet:23:in `load'
        from C:/Users/ferna/.vagrant.d/gems/bin/puppet:23:in `<main>'

I'm using Windows 10 64bits, with vagrant 1.7.4. Also I don't have the ruby and devkit installed. I mean that vagrant uses the embedded ruby and devkit.
Is there anyone that faces this problem? Is there a fix for it?

I find out that is better install plugins using shell instead this lib on Windows. Closing.


Add set_process to Instrument.setting.

This fixes #128. Finally gotten around to do this.

I'm pretty sure the build failures are because we are using too old setuptools versions in py34 and py35, see #34 and https://github.com/pytest-dev/pytest-runner/issues/39

Thanks @bilderbuchi!


bug: Can't find Crossplane installation even though its installed

Description
Currently does not correctly check for crossplane installation.
How to Reproduce
Run operator on cluster with crossplane installed and review events of a created mission.
Logs/Error Message
ERROR	Reconciler error	{"controller": "mission", "controllerGroup": "mission.mission-control.apis.io", "controllerKind": "Mission", "Mission": {"name":"mission-sample"}, "namespace": "", "name": "mission-sample", "reconcileID": "7709838f-d7e6-4a66-a460-0301952916bf", "error": "could not find crossplane CRD \"Provider\""}

Screenshots

Error was caused by wrong certificates, regenerating these fixed the error.


DNS Problem

Greetings. I use DNS to bypass some site bans in my country, but Thorium ignores the DNS I use through windows. I can't access the sites. There is no such problem in other browsers. How can I fix this?

Check chrome://settings/security and chrome://flags/#enable-async-dns

Check chrome://settings/security and chrome://flags/#enable-async-dns

Thank you. "chrome://settings/security" Secure Dns with Cloudflare fixed my problem.

@ridoknight Yep, this is because I modified Thorium to enable secure DNS by default, but as you found out, this does not work for all configurations. I have it where it will send a log message when there is a DNS incompatibility, but of course you would only see this if you ran Thorium from the commandline or with --enable-logging.


Filter with date range while using HTML Builder

Summary of problem or feature request
I used the HTML Builder for displaying my data, now I want to add two date input fields which are start date and end date that can be used to get the data within a range of time, Please how can I go about this
System details

Operating System : Ubuntu 18.4 LTS
PHP Version : 7.2
Laravel Version: 5.4
Laravel-DataTables Version: 8.0

Here is an example of how I integrate a form data to the request:
    public function html()
    {
        $script = <<<CDATA
var formData = $("#search-fax").find("input, select").serializeArray();
$.each(formData, function(i, obj){
    data[obj.name] = obj.value;
});
CDATA;

        return $this->builder()
                    ->columns($this->getColumns())
                    ->minifiedAjax('', $script)
                    ->parameters([
                        'order'      => [[2, 'desc']],
                        'searching'  => false,
                        'lengthMenu' => [10, 20, 50, 100],
                        'pageLength' => 20,
                        'buttons'    => [],
                    ]);
    }

On the form, you can add the input fields for the date range and it will be appended on the request.

Here is an example of how I integrate a form data to the request:
    public function html()
    {
        $script = <<<CDATA
var formData = $("#search-fax").find("input, select").serializeArray();
$.each(formData, function(i, obj){
    data[obj.name] = obj.value;
});
CDATA;

        return $this->builder()
                    ->columns($this->getColumns())
                    ->minifiedAjax('', $script)
                    ->parameters([
                        'order'      => [[2, 'desc']],
                        'searching'  => false,
                        'lengthMenu' => [10, 20, 50, 100],
                        'pageLength' => 20,
                        'buttons'    => [],
                    ]);
    }

On the form, you can add the input fields for the date range and it will be appended on the request.

Hi, I have the same problem, I try what you told but still not working, the date range not filtering. Can you tell me with an example?
Thank you.
I use
Laravel 6
PHP Version : 7.2
Laravel-DataTables Version: 9.0


Study about the TailwindCSS start in the project

About the task
Calculate the advantages and disadvantages of TailwindCSS and how we can start using this library in our project.
All results should be recorded in this task and a short example using the tools.

I'll change the label of this task, with the intention of fast study about this Tailwind started use in we project.

Results of the study
With we use the Vite to create a React application, we need to follow this documentation to install the Tailwind in our project.
The steps concis in install the:

TailwindCss
PostCSS
AutoPrefixer

Run the npx tailwindcss init -p commando to create  tailwind.config.js and postcss.config.js file.
Configure the template path in tailwind.config.js file.
Import rules of CSS
Write the class in HTML code.

OK, with the results of the study, lets started the use of this tool in our project. Create 2 task for:

Install Tailwind in project
Implements of styles and rule, in small components or isolated components.

Install Tailwind in project

Task about this

Implements of styles and rule, in small components or isolated components.

Task about this


How to link suitesparse when compiling on Windows?

I've compiled suitesparse but I still can't figure out how to link it and combile Boundary First Flattening.
This:
cmake -DSuiteSparse_DIR="C:\Users\sam598\Desktop\SP_ROOT\build\install\lib\cmake\suitesparse-5.4.0" ..
Results in:
Call Stack (most recent call first):
  cmake/FindSuiteSparse.cmake:298 (SuiteSparse_FIND_COMPONENTS)
  CMakeLists.txt:23 (find_package)

--    SuiteSparse_SUITESPARSECONFIG_FOUND = OFF :
--       * SuiteSparse_SUITESPARSECONFIG_INCLUDE_DIR = SuiteSparse_SUITESPARSECONFIG_INCLUDE_DIR-NOTFOUND
--       * SuiteSparse_SUITESPARSECONFIG_LIBRARY_DEBUG = SuiteSparse_SUITESPARSECONFIG_LIBRARY_DEBUG-NOTFOUND
--       * SuiteSparse_SUITESPARSECONFIG_LIBRARY_RELEASE = SuiteSparse_SUITESPARSECONFIG_LIBRARY_RELEASE-NOTFOUND
--       * SuiteSparse_SUITESPARSECONFIG_DEFINITIONS = -DNPARTITION
-- final check: SuiteSparse_AMD_FOUND
--    Failed to find SuiteSparse_BLAS_LIBRARY. Set it manually or set the SuiteSparse_BLAS_DIR to look for it inside.
--    Failed to find SuiteSparse_LAPACK_LIBRARY. Set it manually or set the SuiteSparse_LAPACK_DIR to look for it inside.
--       * SuiteSparse_LAPACK_BLAS_DLL :
-- Finish to FindSuiteSparse.cmake => SuiteSparse_FOUND=OFF
CMake Error at cmake/FindSuiteSparse.cmake:471 (MESSAGE):
  SuiteSparse required but some headers or libs not found.
Call Stack (most recent call first):
  CMakeLists.txt:23 (find_package)

Do you have more detailed information on how to link suitsparse on dblas? Or do you have a more recent v1.3 build of "bff-command-line.exe"?

@sam598, unfortunately I don't have detailed instructions written down at the moment and I'll be quite occupied for the next 2-3 weeks. Compiling on windows is a little complicated. To link Suitesparse and blas, I manually fed all the required paths in the Cmake GUI. I would recommend using the openblas dependency included in the deps folder. Finally, I also had to explicitly link libopenblas.dll.a in Visual Studio because CMake didn't include this dependency for some reason. I apologize for the inconvenience, but will provide more instructions once I get the time.

@rohan-sawhney thank you so much for getting back to me.
I manually entered every library path in cmake GUI and was able to generate the visual studio project. However I now receive this error:
Error | C1083 | Cannot open include file: 'cholmod.h': No such file or directory | bff-command-line | c:\users\sam598\desktop\bff\boundary-first-flattening\linear-algebra\include\Common.h | 3 |
Do you have any more information on how to explicitly link "libopenblas.dll.a" in visual studio? I have added it as an "existing item" but it does not seem to make a difference.

Thanks again for your time and help!

Okay, for cholmod.h I had linked the wrong paths. For anyone else trying to figure this out, here is an example of what the paths should look like:
SuiteSparse_CHOLMOD_DIR = C:/Users/sam598/Desktop/SP_ROOT/build/install/lib

SuiteSparse_CHOLMOD_INCLUDE_DIR = C:/Users/sam598/Desktop/SP_ROOT/build/install/include/suitesparse

SuiteSparse_CHOLMOD_LIBRARY_DEBUG = C:/Users/sam598/Desktop/SP_ROOT/build/install/lib/libcholmodd.lib

SuiteSparse_CHOLMOD_LIBRARY_RELEASE = C:/Users/sam598/Desktop/SP_ROOT/build/install/lib/libcholmod.lib

I still can't figure out how to explicitly link "libopenblas.dll.a" in visual studio. This is the current result I get when building:
1>------ Build started: Project: ZERO_CHECK, Configuration: Release Win32 ------
2>------ Build started: Project: bff, Configuration: Release Win32 ------
2>GuillotineBinPack.cpp
2>C:\Users\sam598\Desktop\BFF\boundary-first-flattening\deps\rectangle-bin-pack\src\GuillotineBinPack.cpp(403): error C3861: 'min': identifier not found
2>C:\Users\sam598\Desktop\BFF\boundary-first-flattening\deps\rectangle-bin-pack\src\GuillotineBinPack.cpp(411): error C3861: 'max': identifier not found
2>Bff.cpp
2>c:\users\sam598\desktop\bff\boundary-first-flattening\linear-algebra\include\DenseMatrix.inl(4): fatal error C1083: Cannot open include file: 'cblas.h': No such file or directory
2>ConePlacement.cpp
2>c:\users\sam598\desktop\bff\boundary-first-flattening\linear-algebra\include\DenseMatrix.inl(4): fatal error C1083: Cannot open include file: 'cblas.h': No such file or directory
2>Generating Code...
2>Done building project "bff.vcxproj" -- FAILED.
3>------ Build started: Project: bff-command-line, Configuration: Release Win32 ------
3>CommandLine.cpp
3>c:\users\sam598\desktop\bff\boundary-first-flattening\linear-algebra\include\DenseMatrix.inl(4): fatal error C1083: Cannot open include file: 'cblas.h': No such file or directory
3>Done building project "bff-command-line.vcxproj" -- FAILED.
4>------ Build started: Project: ALL_BUILD, Configuration: Release Win32 ------
========== Build: 2 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========

Following these instructions it looks like I was able to link "libopenblas.dll.a" in visual studio.
https://stackoverflow.com/questions/23882112/how-to-add-static-libraries-to-a-visual-studio-project
Now the only remaining errors are the min max issue. Not sure if this is related or a new issue.
1>------ Build started: Project: bff, Configuration: Release Win32 ------
1>GuillotineBinPack.cpp
1>C:\Users\sam598\Desktop\BFF\boundary-first-flattening\deps\rectangle-bin-pack\src\GuillotineBinPack.cpp(403): error C3861: 'min': identifier not found
1>C:\Users\sam598\Desktop\BFF\boundary-first-flattening\deps\rectangle-bin-pack\src\GuillotineBinPack.cpp(411): error C3861: 'max': identifier not found
...
...
...
1>Generating Code...
1>Done building project "bff.vcxproj" -- FAILED.
2>------ Build started: Project: bff-command-line, Configuration: Release Win32 ------
2>LINK : fatal error LNK1181: cannot open input file 'Release\bff.lib'
2>Done building project "bff-command-line.vcxproj" -- FAILED.
========== Build: 0 succeeded, 2 failed, 2 up-to-date, 0 skipped ==========

Any advice?

@sam598, thanks for posting all of these instructions here! The easiest way to fix this min and max issue would be to include <algorithm> in GuillotineBinPack.cpp.

Thanks @rohan-sawhney, that fixed the min/max issue!
Another issue popped up however. This is the current output:
2>Generating Code...
2>libcholmod.lib(cholmod_l_metis.o.obj) : error LNK2019: unresolved external symbol METIS_NodeND referenced in function cholmod_l_metis
2>libcholmod.lib(cholmod_l_metis.o.obj) : error LNK2019: unresolved external symbol METIS_ComputeVertexSeparator referenced in function cholmod_l_metis_bisector
2>C:\Users\sam598\Desktop\BFF\boundary-first-flattening\build\Release\bff.dll : fatal error LNK1120: 2 unresolved externals
2>Done building project "bff.vcxproj" -- FAILED.
3>------ Rebuild All started: Project: bff-command-line, Configuration: Release x64 ------
3>LINK : fatal error LNK1181: cannot open input file 'Release\bff.lib'
3>Done building project "bff-command-line.vcxproj" -- FAILED.
========== Rebuild All: 2 succeeded, 2 failed, 0 skipped ==========

From what I can tell there are two possible issues:

Some later versions of suitesparse that have issues with cholmod_l_metis. Do you know what version of suitesparse you used to compile BFF 1.3?

In cmake-gui there is one field I have not been able to fill in. "SuiteSparse_DIR" always resets back to "SuiteSparse_DIR-NOTFOUND" no matter what folder I set it to. I assumed it wasn't critical since every other subfolder is linked, but I may be misunderstanding it's purpose. Do you know which folder this should be set to?

Alright. Almost there.
I needed to build SuiteSparse with METIS using the instructions here:
https://github.com/jlblancoc/suitesparse-metis-for-windows
I also needed to manually link metis.lib to the visual studio project.
Under "Properties > Configuration Properties > Linker > Input > Additional Dependencies" add your path to "C:\Users\sam598\Desktop\BFF\SP_ROOT\build\install\lib\metis.lib"
bff.dll now builds!
However bff-command-line seems to be looking for bff.lib? This is the output when building just command line:
3>------ Build started: Project: bff-command-line, Configuration: Release x64 ------
3>Building Custom Rule C:/Users/sam598/Desktop/BFF/boundary-first-flattening/CMakeLists.txt
3>CommandLine.cpp
3>c:\users\sam598\desktop\bff\boundary-first-flattening\linear-algebra\include\SparseMatrix.inl(106): warning C4018: '<': signed/unsigned mismatch
3>c:\users\sam598\desktop\bff\boundary-first-flattening\linear-algebra\include\SparseMatrix.inl(110): warning C4018: '<': signed/unsigned mismatch
3>c:\users\sam598\desktop\bff\boundary-first-flattening\linear-algebra\include\SparseMatrix.inl(125): warning C4018: '<': signed/unsigned mismatch
3>c:\users\sam598\desktop\bff\boundary-first-flattening\linear-algebra\include\SparseMatrix.inl(129): warning C4018: '<': signed/unsigned mismatch
3>LINK : fatal error LNK1181: cannot open input file 'Release\bff.lib'
3>Done building project "bff-command-line.vcxproj" -- FAILED.
4>------ Build started: Project: ALL_BUILD, Configuration: Release x64 ------
4>Building Custom Rule C:/Users/sam598/Desktop/BFF/boundary-first-flattening/CMakeLists.txt
========== Build: 3 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Hey, can you perhaps a little mercy  and upload the binaries you compiled? I already have a massive headache from trying to get this to work (x64, seems that is not possible)


[promises] Convert client load reporting to promises

I think we add a borrowed pointer to the metadata, and so since we're
extending the lifetime we need to add a ref (which is what the smart
pointer does for us here).
On Fri, Dec 9, 2022 at 5:58 PM Cheng-Yu Chung @.***>
wrote:

@.**** commented on this pull request.
In
src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc
https://github.com/grpc/grpc/pull/31854#discussion_r1044946182:

-}

-static void clr_destroy_call_elem(grpc_call_element* elem,

                             const grpc_call_final_info* /*final_info*/,

                             grpc_closure* /*ignored*/) {

call_data* calld = static_cast<call_data*>(elem->call_data);
if (calld->client_stats != nullptr) {
// Record call finished, optionally setting client_failed_to_send and
// received.
calld->client_stats->AddCallFinished(

   !calld->send_initial_metadata_succeeded /* client_failed_to_send */,

   calld->recv_initial_metadata_succeeded /* known_received */);

+ArenaPromise ClientLoadReportingFilter::MakeCallPromise(

CallArgs call_args, NextPromiseFactory next_promise_factory) {
// Stats object to update.
RefCountedPtr client_stats;

And why the original version does need a smart pointer?
—
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/pull/31854#discussion_r1044946182, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACNG45IOYWLI2I5LY5IJ6HLWMPPWDANCNFSM6AAAAAASZS7ZUQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


DONT MERGE: Test commit

(cherry picked from commit 745bfdf44f4e02140df62967e62e574b98cd4fc3)
Merge of #528 to 'master'

@kaa-leeroy test this please


Flake8 rule 'E901' reported an invalid point

Flake8 reported an invalid point for the rule E901, with the messge SyntaxError: invalid syntax.

Debug information:
Atom version: 1.16.0
Flake8 version: 2.5.4 (pep8: 1.7.0, mccabe: 0.4.0, pyflakes: 1.0.0) CPython 3.5.2 on Linux

Similar issue here:
Flake8 reported an invalid point for the rule E901, with the messge SyntaxError: invalid syntax.
Requested point: NaN:NaN
flake8 output:
tobe@majortheobaldslapper:~/Src/Exercises/Learning/LearningDjango$ flake8 ./teachingGrandmaToSuckEggs/views.py
./teachingGrandmaToSuckEggs/views.py:8:1: E302 expected 2 blank lines, found 1
./teachingGrandmaToSuckEggs/views.py:12:26: E901 SyntaxError: invalid syntax
./teachingGrandmaToSuckEggs/views.py:14:5: E113 unexpected indentation
tobe@majortheobaldslapper:~/Src/Exercises/Learning/LearningDjango$

Code:
from django.http import HttpResponse
from django.shortcuts import render
from django.views.generic import View

from models import GrandMother
# Create your views here.

def index(request):
    return HttpResponse("GodDamn Django is stupid")

class AViewToAKill(View)

    def get(self, request, *args, **kwargs):
        return HttpResponse("Until we dance into the fire")

class ListGrandMotherView(ListView):

    model = GrandMother

Debug information:
Atom version: 1.16.0
Flake8 version: 2.5.4 (pep8: 1.7.0, pyflakes: 1.1.0, mccabe: 0.2.1) CPython 3.5.2 on Linux

This issue duplicates https://github.com/AtomLinter/linter-flake8/issues/409
Just trying out the fix mentioned now

@Staberinde exactly correct, there was a bug in how flake8 interpreted the points for the entire E9xx class of errors that was fixed in v3.2.1 (thanks to this check being added and the resulting bug being reported over there!).

Closing due to a lack of response, if you are still having issues after updating flake8 please provide code to reproduce this!


npm run build failed

This project has great potential! But currently it cannot run because npm run build fails with the following errors:
 ERROR  Failed to compile with 2 errors                                                                                6:23:48 PM

 error  in ./src/UI/containers/Conference/ConferencePage.js

Syntax Error: SyntaxError: /Users/xxx/nkn/d-chat/src/UI/containers/Conference/ConferencePage.js: Support for the experimental syntax 'classProperties' isn't currently enabled (75:16):

  73 | 	}
  74 |
> 75 | 	initPeerVideo = (peer) => {
     | 	              ^
  76 | 		let mediaSource = new MediaSource();
  77 | 		let sourceBuffer = null;
  78 |

Add @babel/plugin-proposal-class-properties (https://git.io/vb4SL) to the 'plugins' section of your Babel config to enable transformation.
If you want to leave it as-is, add @babel/plugin-syntax-class-properties (https://git.io/vb4yQ) to the 'plugins' section to enable parsing.
    at parser.next (<anonymous>)

 @ ./src/UI/containers/Conference/index.js 1:33-78 1:832-846
 @ ./src/UI/components/MainRoutes.js
 @ ./src/UI/components/Portals.js
 @ ./src/UI/containers/App.js
 @ ./src/UI/index-EXT.js
 @ ./src/popup/index.js

 error  in ./src/workers/nkn/videoSession.js

Syntax Error: SyntaxError: /Users/xxx/nkn/d-chat/src/workers/nkn/videoSession.js: Support for the experimental syntax 'classProperties' isn't currently enabled (18:12):

  16 | 	}
  17 |
> 18 | 	onSession = (session) => {
     | 	          ^
  19 | 		if(!this.isactive) return;
  20 |
  21 | 		console.log('got session:', session);

Add @babel/plugin-proposal-class-properties (https://git.io/vb4SL) to the 'plugins' section of your Babel config to enable transformation.
If you want to leave it as-is, add @babel/plugin-syntax-class-properties (https://git.io/vb4yQ) to the 'plugins' section to enable parsing.
    at parser.next (<anonymous>)
    at normalizeFile.next (<anonymous>)

 @ ./src/workers/nkn.worker.js 1:536-581 13:1510-1522

Failed to compile.

./src/UI/containers/Conference/ConferencePage.js
SyntaxError: /Users/xxx/nkn/d-chat/src/UI/containers/Conference/ConferencePage.js: Support for the experimental syntax 'classProperties' isn't currently enabled (75:16):

  73 | 	}
  74 |
> 75 | 	initPeerVideo = (peer) => {
     | 	              ^
  76 | 		let mediaSource = new MediaSource();
  77 | 		let sourceBuffer = null;
  78 |

Add @babel/plugin-proposal-class-properties (https://git.io/vb4SL) to the 'plugins' section of your Babel config to enable transformation.
If you want to leave it as-is, add @babel/plugin-syntax-class-properties (https://git.io/vb4yQ) to the 'plugins' section to enable parsing.
    at parser.next (<anonymous>)

As comparison, the original d-chat can be built and run by npm run build and then npm run start:chrome.
Please fix this issue in order for it to be qualified for GR11 bounty.

Hello. Fixed in fdd334e47e1283797077507bf3d55fc1aa3f0b13


Android crash related to CardFieldView

Describe the bug
There is a Android crash being reported that apparently originates from the CardViewField. I assume that the solution might be to delay any actions on ComposeView until it’s fully attached to the window, potentially using a listener like ViewTreeObserver.OnGlobalLayoutListener to ensure the view is attached.
 Fatal Exception: java.lang.IllegalStateException: Cannot locate windowRecomposer; View androidx.compose.ui.platform.ComposeView{72bc6f4 V.E...... ......I. 0,0-103,53 #7f0a01ce app:id/icon} is not attached to a window
       at androidx.compose.ui.platform.WindowRecomposer_androidKt.getWindowRecomposer(WindowRecomposer.android.kt:295)
       at androidx.compose.ui.platform.AbstractComposeView.resolveParentCompositionContext(ComposeView.android.kt:244)
       at androidx.compose.ui.platform.AbstractComposeView.ensureCompositionCreated(ComposeView.android.kt:251)
       at androidx.compose.ui.platform.AbstractComposeView.onMeasure(ComposeView.android.kt:288)
       at android.view.View.measure(View.java:25532)
       at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6957)
       at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
       at android.view.View.measure(View.java:25532)
       at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6957)
       at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1552)
       at android.widget.LinearLayout.measureHorizontal(LinearLayout.java:1204)
       at android.widget.LinearLayout.onMeasure(LinearLayout.java:723)
       at android.view.View.measure(View.java:25532)
       at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6957)
       at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
       at android.view.View.measure(View.java:25532)
       at com.reactnativestripesdk.CardFieldView.mLayoutRunnable$lambda$27(CardFieldView.kt:384)
       at com.reactnativestripesdk.CardFieldView.$r8$lambda$tO4Ku94GLM16x8NhrR7Up5q0VFs()
       at com.reactnativestripesdk.CardFieldView$$ExternalSyntheticLambda2.run(:2)
       at android.os.Handler.handleCallback(Handler.java:938)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loop(Looper.java:250)
       at android.app.ActivityThread.main(ActivityThread.java:7886)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:970)

Smartphone (please complete the following information):

Device: Model:Motorola One 5G Ace
OS: Android
Version 11

Potentially related to https://github.com/stripe/stripe-react-native/issues/1732#issue-2530364007. @charliecruzan-stripe Is there any update on that issue?

Hi @gpawlik1, thanks for reporting. What version of the stripe-react-native SDK are you using and what version of React Native?


fix(tiller): Fixes --wait panic on upgrade

When manifests do not change, they didn't get populated with the
latest label info from the API server and then panic'd. This resolves
that bug
Closes #2043

@adamreese or @technosophos This is a fairly high priority bug because it causes crashing if not fixed.

After merge, I'll cherry-pick to 2.2.2 (which is why I added "needs backport")

@technosophos I added the fix to return an error if it can't get information about the object. I am also re-adding the review label per our offline discussion.

Backported to 2.2.2


Update localization cli and readme

GUS: https://gus.lightning.force.com/lightning/r/ADM_Work__c/a07EE000008uxKNYAY/view
Description
This PR aims to clarify the process for adding new locales by:

Renaming the extract-messages and compile-messages commands to _extract-default-translations and compile-translations
Adding a new build-translations script that executes both _extract-default-translations and compile-translations
updating pwa/translations/readme.md

Note: This PR assumes the changes to https://github.com/SalesforceCommerceCloud/pwa-kit/pull/152 have been applied.
Types of Changes

[ ] Bug fix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[X] Documentation update
[ ] Breaking change (could cause existing functionality to not work as expected)

Breaking changes include:

Removing a public function or component or prop
Adding a required argument to a function
Changing the data type of a function parameter or return value
Adding a new peer dependency to package.json

Changes

Add defaultMessages for all locales supported by RefArchGlobal
Combine extract-messages and compile-messages into a single command

How to Test-Drive This PR

(step1)

Checklists

General

[ ] Changes are covered by test cases
[ ] CHANGELOG.md updated with a short description of changes (not required for documentation updates)

Accessibility Compliance
You must check off all items in one of the follow two lists:

[X] There are no changes to UI

or...

[ ] Changes were tested with a Screen Reader (iOS VoiceOver or Android Talkback) and had no issues
[ ] Changes comply with WCAG 2.0 guidelines levels A and AA
[ ] Changes to common UI patterns and interactions comply with WAI-ARIA best practices

Localization

[ ] Changes include a UI text update in the Retail React App (which requires translation)

A few other observations:

There are a few places where our codebase still refers the old npm scripts. For example, this one. Can you search throughout the project to verify and fix?
The ticket's new acceptance criteria talks about seeing error messages. What have you seen? Are they clear?

About error messages: FYI that there's a related ticket that Kevin is working on. You may want to reach out to him.


Remove kickit from build/install scripts

Description

goodbye kickit

Type of change

[ ] Bug fix
[ ] New feature
[ ] Documentation update
[x] Other~~
build/install script maintainance

How Has This Been Tested?

will test as part of release process
Reminders:

Please follow the style guidelines of this project.
Please perform a self-review of your code before submitting a PR and asking others to review it.
Please assign reviewers (see VisIt's PR procedures for more information).

Checklist:

[x] I have commented my code where applicable.~~
[ ] I have updated the release notes.
[ ] I have made corresponding changes to the documentation.
[ ] I have added debugging support to my changes.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have confirmed new and existing unit tests pass locally with my changes.
[ ] I have added new baselines for any new tests to the repo.
[ ] I have NOT made any changes to protocol or public interfaces in an RC branch.

merge w/ develop in #20078


after 3.9.12 Upgrade

Hi some one quick help what is the Issue? I have popper.js in project still error.

try dotnet sergen restore

Hi haons,
i m not using .net core.. it's asp.net mvc.

the version of bootstrap.js  is higher.you’d better downgrade.Maybe the higher bootstrap.css can  cause other issue.

what is commended version of bootstrap with serenity 3.9.12

3.4.1.  the adminlte 2  also doesn't support the bootstrap4.

Yes , 3.4.1 solved the issue.
Thanks hoas. I was struggling since morning to solve this issue.
Actually i didn't update bootstrap to latest version. It was updated along with Serenity updates.

There is one more issue after upgrade started is navigation. Some of the action result i have put Page authorize to get navigation menu but since last update page authorize raise "Slack Empty" error.

Is there any alternative to resolve this issue.

Today i also upgrade to 3.9.12, it works well.if you upgrade from more older version.serenity has some break changes,have you added all  serenity packages？

i have upgraded from 3.9.10.
Basically what i have is: One a table  i have following permission.
[ReadPermission("XLAccounts:XLTransaction:Led1Row:Read")]
[InsertPermission("XLAccounts:XLTransaction:Led1Row:Insert")]
[UpdatePermission("XLAccounts:XLTransaction:Led1Row:Update")]
[DeletePermission("XLAccounts:XLTransaction:Led1Row:Delete")]
I have more than one view from single table and each view requires additional permission aprt from read, insert etc.. which I was doing though pageauthorize.
now after upgrade, i got below error and so i have commented page authorize. it worked after commented. So looking for alternative option to achieve

business logic for additional permission key.

Ok
said issue has been resolved by putting additional parameter on pageAuthorize.
[PageAuthorize("Page Authorize: XLTransactions:Reports-Accounts Statement",1, "Accounts")]
Thanks @haoas for your efforts. Saves lots of time and effort.

@mustafalotiya I figured out what’s the matter, before it was still all the same about errors in permissions, but now it’s not. You cannot use spaces and some characters

@Zahar661  thanks for update.


Relax ctor selection rules and improve the error message

Fixes: https://github.com/Azure/azure-sdk-for-net/issues/21850

/azp run net - extensions - ci


Load configurations from text files

Drawbacks to creating sounds in the Zig API:

verbose
you have to manage temp buffers yourself
have to recompile and reload to change something other than params (and params can only be changed on the fly if you've specifically programmed something to control it)

Making a text config format would solve these issues. I have these apprehensions:

don't want to reinvent or compete with "music programming languages"
lose the type safety of interacting with the configuration in Zig code

These can probably be dealt with. Against the first point, if I just stick to a declarative/functional config rather than a full programming language. Certainly no imperative stuff. Against the second point, I could generate Zig code for integration.
I could even compile the whole text config into Zig code, to continue to allow allocator-less usage. However this would mean maintaining two versions of the config compiler: one for on-the-fly usage, one to compile to Zig code.
What would the config look like? (I'm still calling it a config, but it may end up being more like a mini functional programming language.) I think similar to the how code using the Zig API looks, except reduced as much as possible.

Moved to TODO file


Enable CUDA in CI

We are stuck at 51% code coverage because CI does not have CUDA.
This requires more effort to install the library in the CI pipeline.

I am not 100 % sure, but I believe Travis does not have GPU instances. CircleCI has, but they are not free.

Maybe we could install jenkins on our local servers and then use smee:
https://www.jenkins.io/blog/2019/01/07/webhook-firewalls/
I'll have a go in the next few days

Maybe we could install jenkins on our local servers and then use smee:
https://www.jenkins.io/blog/2019/01/07/webhook-firewalls/
I'll have a go in the next few days


supports multi instance tasks

How to implement a flowable multiInstanceLoopCharacteristics feature that supports multi instance tasks
 <userTask id="node_975760143128" name="user" flowable:assignee="${assigneeName}">
      <multiInstanceLoopCharacteristics isSequential="false" flowable:collection="node_assigneeList" flowable:elementVariable="assigneeName"></multiInstanceLoopCharacteristics>
    </userTask>

Hi,
currently, multi-instance is not supported by the library, sorry.

Is there a plan to support this feature


Append dropdown to body, not after DOM trigger element

@arendjr This fixes #22.
Dropdown is appended to the body, as it was pre https://github.com/arendjr/selectivity/commit/a6ea06bee24a27d208df12e5b162b74158bb2e3e
Note: That's quite weird so many changes were done by npm run build after changing a single line in source...

Yes, this is the proper fix indeed. Unfortunately it means I need to find an alternative method to fix tab navigation, but so be it.
PS.: Don't worry about the changes in the dist/ folder. They're because I hadn't created a new build after my last commit, which was for some work I'm doing on keyboard accessibility, but which is not finished yet.

@arendjr Now that I come to think of it, this is not the only solution for the positioning problem.
After addToDom once more appends element to body and uses body-relative position, this has also a flaw. If you have a dropdown open and decide to resize a viewport manually (resize browser), dropdown will remain in the point that it initially was opened in.
The behaviour could be changed to the following:

Change structure for selectivity inputs. I.e. create some .parent-container with position: relative already set.
After dropdown openining event is triggered, script should append the dropdown to .parent-container and use position relative to this element.

Pros:

Script becomes fully responsive on its own without any additional JS code (e.g. window resize handler)
DOM structure and styling does not depend on any non-related DOM element

Cons:

Need to change the current templates and introduce top-level relative parent container

Pros/cons:

Need to change the logic responsible for counting the values to set proper position: or better yet, remove it and set down: 0 for dropdown that should work out of the box considering it being in the relative contaienr

What to you think?

Actually, I thought of two more cons to adding the dropdown in the middle of the DOM.

If the Selectivity input is inside a lightbox/modal that has fixed positioning (for example), it might be impossible for the dropdown to be positioned in such a way that it can "pop out" of the lightbox's area as illustrated here, as opposed to one that is appended to the body, which can always lie on top of everything else:

Maybe I'm mistaken, but I think it's gonna be harder to detect whether the dropdown is hitting the bottom of the viewport and should open upwards instead of downwards.

So I think I will stick with appending to the body for now, though I agree we should fix the repositioning on window resize :)

I don't think there won't be any problems with z-index and popping-out or anything. It would be impossible to access selectivity input from the page below the modal, yes. But child element always takes z-index from its parent(s) so it would always be displayed properly above the modal content (well, unless we have some different absolute inside absolute inside absolute inception-thing, then this definitely would be a problem).
As for positioning, yeah, some problems with positioning would exist still if we want to detect whether dropdown should open above or below. But for above it would be top: -#{$dropdown-height}, and for opening below, I think top: $input-height would suffice (bottom was my yesterday's bad idea as it would open it above anyway :disappointed:).

Hm, you might be right. I think it might require some tweaking with fixed positioning of the dropdown (rather than absolute as it uses now) to get the dropdown to behave properly while in the lightbox. At least, I just created a jsfiddle to experiment with it and it appears possible :)
Anyway, might be worth to reconsider how we do this...


Make Terminal look great in High Contrast

Summary of the Pull Request
This PR enables ApplicationHighContrastAdjustment::None.  Doing this disables a set of mitigations in XAML designed to band-aid apps that were never explicitly designed for High Contrast (HC) modes.  Terminal now has full control of and responsibility for its appearance in HC mode.  This allows Terminal to look a lot better.

PR Checklist

[X] Closes #5360
[X] CLA signed. If not, go over here and sign the CLA
[ ] Tests added/passed
[ ] Documentation updated. If checked, please file a pull request on our docs repo and link it here: #xxx
[ ] Schema updated.
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Detailed Description of the Pull Request / Additional comments
On paper, we should be able to set HighContrastAdjustment="None" on the <Application> element.  But that doesn't have any effect.  I don't know if this is a bug in <Toolkit:XamlApplication> or somewhere else.  So instead I set the property in codebehind, which is not as ideal, but does at least work.  I'd love to a way to move this into App.xaml.
The Find box had a couple stray styles to override the ToggleButton's foreground color.  With backplating removed, these styles became actively harmful (white foreground on highlight color background), so I just removed them.  The built-in style for ToggleButton is perfect as-is.
Validation Steps Performed
Vicariously validate via viewing various vivid videos.
High Contrast White:

High Contrast Dark:

The previous appearance, prior to this PR, for comparison purposes:

@mimi89999 this is the PR you've been waiting for ;)  Thanks for reporting the HC bugs, and please do keep leaning on apps to make them look great in HC mode.

Thanks a lot for your work on this. I'm waiting for this to land in master for the pipeline not being a PR one to test the artifacts :smile:

In general, I am neither surprised nor horrified to learn that there is a global magic flag that is set to "do weird stuff to my application" mode by default.

Console defaults to CP_OEM streams or something equally vile ��

I feel very seen right now
😁

@msftbot merge this in 5 minutes


Added FSBWIT.org

Fachschule der Bundeswehr für Elektrotechnik und Informatiktechnik

@ZuttiWhv Please provide us with:

the school official website URL
the school street address, including city
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

@philipto
Since this is a state-approved military academy, there is no public avaiable official website.
You can have a look on this page:
https://www.bundeswehr.de/de/organisation/cyber-und-informationsraum/kommando-und-organisation-cir/kommando-informationstechnik-der-bundeswehr/schule-informationstechnik-der-bundeswehr
The schools address:
Ulrich-Kaserne
86507 Kleinaitingen
phone: 08232/9077100
"Ulrich-Kaserne" is the name of the barracks, there is no other street name.
If you browse to fsbwit.org you are  forwarded to the schools entry on the website of the Bavarian Ministry of Education. On the bottom of the Page you can see, that there are to IT realated long-term courses:
Technikerschule, Fachr. Elektrotechnik (Jgst. 01 - 02, voll ausgebaut)
Technikerschule, Fachr. Informatik-Technik (Jgst. 01 - 02, voll ausgebaut)
which translated means:
professional school for electronics, academic year 1 - 2, fully developed
professional school for information technology, academic year 1 - 2, fully developed

@ZuttiWhv  Thank you for the clarifications. Pull request merged.


Return longer SHA1 hash when fetching current revision

The mechanism Capistrano used to get the current commit hash of a
repository only returned the first 7 characters of the hash (thanks to the
--abbrev-commit flag).
While usually more convenient, the problem with a 7 character
abbreviation is that by the time a repository reaches 10,000 commits, it
becomes quite likely that you'll have a collision in the first 7
characters of at least two commits (~17% chance).
A collision is problematic if you intend to use these hashes to generate
links in emails or chat messages notifying your team of a deploy.
Increasing the minimum number of characters to 12 keeps the hash short
but virtually eliminates the possibility of a collision for all
practical purposes. (12 is the number used by the Linux kernel's git repo)

Can we just not abbrev-commit at all?
In short, if there is the possibility of any service/tool failing without a full SHA, then any gain of saving a few characters is moot.
Please read my comment here:
https://github.com/capistrano/capistrano/pull/1469

While usually more convenient, the problem with a 7 character
abbreviation is that by the time a repository reaches 10,000 commits, it
becomes quite likely that you'll have a collision in the first 7
characters of at least two commits (~17% chance).

Good point, thanks for the patch, I've merged it now. Surprising that we didn't have a test for the abbreviated length of the commit hash. Thanks.

There is still no answer for what important resource is saved by using a short SHA besides a few bytes of disk space. And why that is a priority over simply using a full SHA and ensuring with 100% certainty that SHA length will never be an issue again.


What am I doing wrong?

When I visit node server it says unsecured https certificate. I tried this last week on a different server and it all worked fine (except I am referring to ip rather than domain here: )

Why does this time it not work? How do I define a loopback function (is this why it is not working?) Many thanks appreciate any insight.

The type of certificates issued by Let's Encrypt are "domain control validated" certificates. This means Let's Encrypt will vouch for the fact that your server is controlled by the same entity that controls the domain name registration (which is verified via DNS). Let's Encrypt will not, and as far as I know, there is not even an appropriate kind of certificate that will, vouch for the authenticity of an IP address. So what you are trying to do here is simply impossible. You can only obtain certificates for actual domain names.

thanks for the explanation, time to buy a domain for this ip!

FYI LetsEncrypt certs for dynamic DNS names work fine too, so you don't necessarily need to go registering a domain name for each IP address.


 It's like a table of contents, that can make it easier to onboard (or re-board!) to a new project/feature area, visualize bug reports, or understand the context of a code review/PR change.
Marketplace Link
CodeTour

How we can adopt this
For contributors we can specify 'Tours' of the code for different actions, example I use a simple updating modules. Using the extensions.json file in the .vscode folder we can recommend the users to add the extensions to the workspace upon opening of the repository.
CodeTour Example - Updating Modules

Steps

Tour-as-Code

Recommended Extensions

Agreement to Demo 3 CodeTours on 20/02/2023:

Introduction to Repositories
Configuring Settings.yml
Updating Modules for CI environments

Added a settings.yml code tour to the 'users/csidebotham/sample-code-tour branch

Will open new issue in AVM for configuring codeTour @lsnoddy


iOS Deployment Target 11.0

fixes #141

@el-hoshino Please check target OS on Bitrise, I guess remain to support iOS 9.

          1 Error

:no_entry_sign:
Please don't contain any merge commits in the branch. Consider Rebase if required.

          3 Warnings

:warning:
Sources/NotAutoLayout/Extensions/UIView.swift#L34 - FIXMEs should be resolved (Get this property without Auto…).
todo UIView.swift:34

:warning:
Sources/NotAutoLayout/Extensions/UIView.swift#L87 - FIXMEs should be resolved (Get this property without Auto…).
todo UIView.swift:87

:warning:
Sources/NotAutoLayout/NotAutoLayoutCompatible/NotAutoLayoutCompatible.swift#L11 - Sources/NotAutoLayout/NotAutoLayoutCompatible/NotAutoLayoutCompatible.swift#L11: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
public protocol NotAutoLayoutCompatible: class {

          1 Message

:book:
Executed 26 tests, with 0 failures (0 unexpected) in 6.613 (6.668) seconds

Develop PR Check Result

Item
Result

Head Branch check
:o:

Base Branch check
:o:

Merge Commits check
:x:

Modification Volumn check
:o:

  Generated by :no_entry_sign: Danger

@ykws Sorry, could you please close this PR and remake another PR to develop with the same head branch?
I tried to close and re-open this PR but somehow it just doesn't ignore the merge commits, which should already be included in develop 🤔

@el-hoshino Thank you for review. I force pushed remake PR from develop branch, before from master branch.


[BACKLOG-11243] Localizations for repository manager dialogs

Build Completed
:x: This pull request has errors. They will need to be addressed before it can be accepted. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -fn -DrunITs=true -f plugins/repositories-plugin/pom.xml clean install && mvn -B -f plugins/repositories-plugin/pom.xml site

Cleanup Commands
mvn -B -f plugins/repositories-plugin/pom.xml build-helper:remove-project-artifact

Changed files
  plugins/repositories-plugin/src/main/java/org/pentaho/di/ui/repo/RepositoryDialog.java
  plugins/repositories-plugin/src/main/resources/META-INF/js/require.json
  plugins/repositories-plugin/src/main/resources/org/pentaho/di/ui/repo/messages/messages_en_US.properties
  plugins/repositories-plugin/src/main/resources/web/create-new-connection.html
  plugins/repositories-plugin/src/main/resources/web/creation-failure.html
  plugins/repositories-plugin/src/main/resources/web/creation-success.html
  plugins/repositories-plugin/src/main/resources/web/js/angular-translate-static-loader.js
  plugins/repositories-plugin/src/main/resources/web/js/app.js
  plugins/repositories-plugin/src/main/resources/web/js/controllers.js
  plugins/repositories-plugin/src/main/resources/web/kettle-database-repository-details.html
  plugins/repositories-plugin/src/main/resources/web/kettle-database-repository-select.html
  plugins/repositories-plugin/src/main/resources/web/kettle-file-repository-details.html
  plugins/repositories-plugin/src/main/resources/web/lang/messages_en.properties
  plugins/repositories-plugin/src/main/resources/web/pentaho-repository-connect.html
  plugins/repositories-plugin/src/main/resources/web/pentaho-repository-connection-details.html
  plugins/repositories-plugin/src/main/resources/web/pentaho-repository.html
  plugins/repositories-plugin/src/main/resources/web/repository-manager.html

Checkstyle violations
The code submitted is not complying with one or more of our guidelines. To perform these checks locally, please use this tool.
/home/buildguy/project/plugins/repositories-plugin/src/main/java/org/pentaho/di/ui/repo/RepositoryDialog.java

:heavy_exclamation_mark: Line has trailing spaces at Line: 97

:heavy_exclamation_mark: Line has trailing spaces at Line: 99

:heavy_exclamation_mark: Line has trailing spaces at Line: 104

:heavy_exclamation_mark: Line has trailing spaces at Line: 269

:heavy_exclamation_mark: Line has trailing spaces at Line: 279

Build Completed
:white_check_mark: This pull request has passed all validations.
Build Commands
mvn -B -fn -DrunITs=true -f plugins/repositories-plugin/pom.xml clean install && mvn -B -f plugins/repositories-plugin/pom.xml site

Cleanup Commands
mvn -B -f plugins/repositories-plugin/pom.xml build-helper:remove-project-artifact

Changed files
  plugins/repositories-plugin/src/main/java/org/pentaho/di/ui/repo/RepositoryDialog.java
  plugins/repositories-plugin/src/main/resources/META-INF/js/require.json
  plugins/repositories-plugin/src/main/resources/org/pentaho/di/ui/repo/messages/messages_en_US.properties
  plugins/repositories-plugin/src/main/resources/web/create-new-connection.html
  plugins/repositories-plugin/src/main/resources/web/creation-failure.html
  plugins/repositories-plugin/src/main/resources/web/creation-success.html
  plugins/repositories-plugin/src/main/resources/web/js/angular-translate-static-loader.js
  plugins/repositories-plugin/src/main/resources/web/js/app.js
  plugins/repositories-plugin/src/main/resources/web/js/controllers.js
  plugins/repositories-plugin/src/main/resources/web/kettle-database-repository-details.html
  plugins/repositories-plugin/src/main/resources/web/kettle-database-repository-select.html
  plugins/repositories-plugin/src/main/resources/web/kettle-file-repository-details.html
  plugins/repositories-plugin/src/main/resources/web/lang/messages_en.properties
  plugins/repositories-plugin/src/main/resources/web/pentaho-repository-connect.html
  plugins/repositories-plugin/src/main/resources/web/pentaho-repository-connection-details.html
  plugins/repositories-plugin/src/main/resources/web/pentaho-repository.html
  plugins/repositories-plugin/src/main/resources/web/repository-manager.html

@mdamour1976