text:
Add network metrics to pod page on console

Fixes https://trello.com/c/WF72pQrD/602-add-networks-metrics-to-web-console-pod-page-evg
Adds network metrics to the "metrics" tab in the pod details page. network/tx and network/rx ("sent" and "received", respectively) are displayed in one single sparkline chart of type "line".
cc @jwforres @spadgett

Should we do the green line in blue so we aren't adding a third color?
On Apr 8, 2016 2:04 PM, "Fabiano Franz" notifications@github.com wrote:

Fixes
https://trello.com/c/WF72pQrD/602-add-networks-metrics-to-web-console-pod-page-evg
Adds network metrics to the "metrics" tab in the pod details page.
network/tx and network/rx ("sent" and "received", respectively) are
displayed in one single sparkline chart of type "line".
cc @jwforres https://github.com/jwforres @spadgett
https://github.com/spadgett
[image: screenshot from 2016-04-08 15-04-00]
https://cloud.githubusercontent.com/assets/158611/14393057/2bc3fe28-fd9b-11e5-876e-ea5521731d11.png
You can view, comment on, or merge this pull request online at:
https://github.com/jwforres/origin/pull/39
Commit Summary

Add network metrics to pod page on console

File Changes

M assets/app/scripts/directives/metrics.js
https://github.com/jwforres/origin/pull/39/files#diff-0 (248)
M assets/app/scripts/services/metrics.js
https://github.com/jwforres/origin/pull/39/files#diff-1 (25)
M assets/app/views/directives/_pod-metrics.html
https://github.com/jwforres/origin/pull/39/files#diff-2 (16)

Patch Links:

https://github.com/jwforres/origin/pull/39.patch
https://github.com/jwforres/origin/pull/39.diff

—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/jwforres/origin/pull/39

Might want a legend to show what the colors mean without having to hover.

@jwforres So... until earlier today I had it as blue + orange, however given blue is being used in every other chart, it gave me the feeling of like the blue line being the "first" or "primary" or "more important" or something like that in comparison to the orange line; and there's really no rule of precedence in network "sent" and "received". Maybe just a feeling, but just explaining the argument behind my choice. I can still change back to blue if that's not strong enough.

@spadgett Yeah, I was in doubt about the legend or just hover. No strong preference to me.

Worth mentioning that probably the hardest part of this work was to take a screenshot with the hover tooltip displayed.  :))

@spadgett rx_rate and tx_rate are not being collected apparently, so note that I'm using the cumulative ones and doing the math like in cpu/usage.

Yeah I was having the same debate :-\  @spadgett what is your opinion on
the colors?
On Fri, Apr 8, 2016 at 2:15 PM, Fabiano Franz notifications@github.com
wrote:

@jwforres https://github.com/jwforres So... until earlier today I had
it as blue + orange, however given blue is being used in every other chart,
it gave me the feeling of like the blue line being the "first" or "primary"
or "more important" or something like that in comparison to the orange
line; and there's really no rule of precedence in network "sent" and
"received". Maybe just a feeling, but just explaining the argument behind
my choice. I can still change back to blue if that's not strong enough.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/jwforres/origin/pull/39#issuecomment-207543098

@spadgett what is your opinion on the colors?

How does it look with blue for sent and orange for received?

@spadgett @jwforres with blue (sent) and orange (received).

This is looking really good @fabianofranz

I have a slight preference for blue + orange.

Nit: Sent and Received should probably be capitalized in the tooltip (and legend). I think there is a way in c3.js to give the group a label without changing the string in the data.

With legend and capitalized labels. I made the legend display automatically when you have more than one dataset.

@jwforres up to you to choose the line colors.  ;)

An exercise with other colors from the palette. The shades of blue are all different from the "primary" one used in graphs with only one set of data.

I think you still want distinct colors, like blue and orange.
On Apr 11, 2016 8:57 AM, "Fabiano Franz" notifications@github.com wrote:

An exercise with other colors from the palette. The shades of blue are all
different from the "primary" one used in graphs with only one set of data.
[image: metrics3]
https://cloud.githubusercontent.com/assets/158611/14427533/ab1074b8-ffcb-11e5-8329-0469ed259c38.png
[image: metrics2]
https://cloud.githubusercontent.com/assets/158611/14427537/adeee6ce-ffcb-11e5-9927-eabe61ef9e37.png
[image: metrics1]
https://cloud.githubusercontent.com/assets/158611/14427539/b17c59d4-ffcb-11e5-94ff-d40a9bdaae2d.png
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/jwforres/origin/pull/39#issuecomment-208327793

Lighter blue and orangish, the primary options of two of the accent colors in the palette.

I still like https://github.com/jwforres/origin/pull/39#issuecomment-207556799

I prefer introducing one new color instead of two, and the blue and orange are more distinct than different shades of blue.

@spadgett Ok, I'm good with it. @jwforres are you ok with blue+orange too?

Yep

PR updated to blue+orange. Other comments?

LGTM

authors: fabianofranz jwforres spadgett

repo: jwforres/origin


text:
Add new Browse Category Playlists endpoints

This was released today:
-Get a List of Categories https://developer.spotify.com/web-api/get-list-categories/
-Get a Category https://developer.spotify.com/web-api/get-category/
-Get a Category’s Playlists https://developer.spotify.com/web-api/get-categorys-playlists/

I've done a Pull Request, see https://github.com/jwilsson/spotify-web-api-php/pull/27

source: gharchive/issue

repo: jwilsson/spotify-web-api-php

license: mit

license_type: permissive

license_source: bigquery


text:
Feat / Replace hard-coded English string with translatable strings

This change adds missing translations for the OTT platform. We believe that there are no hard-coded English labels present anymore in the code. This means we 100% of the text occurrences can be translated.
Adds:

Translations for credit card (number + expiry date)
Abbreviations for hours and minutes
Translated open/close aria label for search

Let me know if there is still a hard-coded English string anywhere.
Ticket: OTT-2762

That could be fixed if we add the number to the translation {{count}}hr. But perhaps we can implement that later, this PR makes it much better.

Good idea. I will create a ticket for this in our backlog. Since I already introduced the new (de/fr/nl) languages based on the current approach, it is quite a hassle to synchronize this across branches. Do-able of course, but my current priority is to get these languages to new platforms first.

source: gharchive/pull-request

repo: jwplayer/ott-web-app

license_source: github-api


text:
TypeError: can't assign a numpy.int64 to a torch.FloatTensor

Guys,
Did anyone know what caused this issue below? Many thanks in advance.
Torch: 0.40
Python: 3.6
We use voc format of KITTI dataset. The only thing I changed for the original code from this repo is to change the picture format from "jpg" to "png" which is the format for KITTI dataset. When I run ''python trainvel_net.py", I got error below:
Traceback (most recent call last):
File "trainval_net.py", line 209, in
imdb.num_classes, training=True)
File "/home/NewPartion/pycharm/faster-rcnn.pytorch/lib/roi_data_layer/roibatchLoader.py", line 54, in init
self.ratio_list_batch[left_idx:(right_idx+1)] = target_ratio
TypeError: can't assign a numpy.int64 to a torch.FloatTensor

please paste all the output from your training run.. so we can see if you enabled CUDA, etc...

Did you solve this problem? I have the same issue ...

I didn't solve the problem and I ended up using other's. Sorry!

From: Xu Ma notifications@github.com
Sent: Friday, April 12, 2019 11:26:30 AM
To: jwyang/faster-rcnn.pytorch
Cc: Dongfang Liu; Author
Subject: Re: [jwyang/faster-rcnn.pytorch] TypeError: can't assign a numpy.int64 to a torch.FloatTensor (#452)
Did you solve this problem? I have the same issue ...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/jwyang/faster-rcnn.pytorch/issues/452#issuecomment-482616857, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALO7KPSBVIN5LS4PTJWHQJDPQCS2NANCNFSM4G25NUQQ.

I didn't solve the problem and I ended up using other's. Sorry!
…
________________________________ From: Xu Ma notifications@github.com Sent: Friday, April 12, 2019 11:26:30 AM To: jwyang/faster-rcnn.pytorch Cc: Dongfang Liu; Author Subject: Re: [jwyang/faster-rcnn.pytorch] TypeError: can't assign a numpy.int64 to a torch.FloatTensor (#452) Did you solve this problem? I have the same issue ... — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub<#452 (comment)>, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALO7KPSBVIN5LS4PTJWHQJDPQCS2NANCNFSM4G25NUQQ.

Maybe I should try mmdetection or Detectron ...

Change original code to
        temp = torch.ones(batch_size)*target_ratio         self.ratio_list_batch[left_idx:(right_idx+1)] = temp

Change original code to
temp = torch.ones(batch_size)*target_ratio
self.ratio_list_batch[left_idx:(right_idx+1)] = temp

@Weizhongjin

Change original code to
temp = torch.ones(batch_size)*target_ratio
self.ratio_list_batch[left_idx:(right_idx+1)] = temp

Doing the above fix throws this error:
**TypeError: mul() received an invalid combination of arguments - got (numpy.int64), but expected one of:
 * (Tensor other)
      didn't match because some of the arguments have invalid types: (numpy.int64)
 * (float other)
      didn't match because some of the arguments have invalid types: (numpy.int64)

**

@EMCP

Can you possibly upgrade to PyTorch 1.0 ?  I've used exclusively 1.x and had zero issues for months now

@EMCP I'm working on domain adaptation (https://github.com/tiancity-NJU/da-faster-rcnn-PyTorch) and it uses the PyTorch 0.4 version of this repo. :(

okay i am abroad from my deep learning rig, so I cannot test PyTorch .4 until mid June... but I would diff the two versions and ensure you've got any/all bug fixes pushed to the 1.x version... I never ran the Master branch so I cannot get a sense if it's been properly patched or not..
IMO , the repo owner should just do a release branch for older PyTorch versions and stick to the bleeding edge in Master root, instead of this 1.x off on the side strategy.

self.ratio_list_batch[left_idx:(right_idx+1)] = torch.tensor(target_ratio.astype(np.float64))    # trainset ratio list ,each batch is same number
This fixed the issue for 0.4.0

feel free to submit a PR and close @benedictflorance

Yeah, I've submitted one.
https://github.com/jwyang/faster-rcnn.pytorch/pull/573

/lib/roi_data_layer/roibatchLoader.py
line 52, target_ratio = 1 change to:
target_ratio = np.array(1)

Solving this definitely, in this line, change:
ratio_large = 2 # largest ratio to preserve.

to:
ratio_large = 2.0 # largest ratio to preserve.

PyTorch is creating a tensor with these values and its type is inferred from the data. A value of 2 will be inferred as int, thus, changing to a floating point value will fix it.
Note that this error only occurs when it falls in this if statement. The below if statement uses ratio = ratio_small where ratio_small = 0.5 is already a floating point value as defined in the beginning of the function.

license: MIT


text:
ModuleNotFoundError: No module named 'upsnet.operators.functions.entropy_loss'

Hi, when I run your code, I encounter the following error:

Traceback (most recent call last):
File "upsnet/upsnet_end2end_train.py", line 61, in
from upsnet.models import *
File "upsnet/../upsnet/models/init.py", line 2, in
from .resnet_upsnet_multiscale_branch_lr10 import resnet_101_upsnet_multiscale_branch_lr10, resnet_50_upsnet_multiscale_branch_lr10
File "upsnet/../upsnet/models/resnet_upsnet_multiscale_branch_lr10.py", line 20, in
from upsnet.operators.functions.entropy_loss import prob_2_entropy, sigmoid_2_entropy, entropy_loss
ModuleNotFoundError: No module named 'upsnet.operators.functions.entropy_loss'

It seems that there is no a module called entropy_loss under the upsnet.operators.functions. I cannot find this module under your repo or original UPSNet repo. Could you help me solve it? Thanks in advance!

Hi,
Thanks for your interests! I have uploaded the entropy_loss file in the following location:
https://github.com/jxhuang0508/CVRN/blob/570743d52d4413cfceb50b1c186e43b98200a7e6/entropt_loss_file/entropy_loss.py


text:
Contact and troubleshoot Kraken - "pair" parameter not working

example endpoint - /0/public/AssetPairs
what's the correct way to filter the pair?
{
"pair": ["USDTZUSD", "XETHXXBT"]
}

nvm, it's a query param.  the docs were just confusing to me


text:
color names

just tested basscss and this looks very cool
I noticed one thing though that I am not sure about :
colorss seems to be used by names instead of their semantic meaning
for example I wanted to change the color of buttons to black (they are blue by default)
using variable I had to change the value of --blue using :
:root{
--blue: #000;
}

i think it would be better if the variable used by basscss-color-base for buttons would be something like "--button-background-color" instead of "--blue", similarly "--button-color" instead of "--white"
this way themeing can be done through variables

Thanks! This is something that changed in v5, and I haven't updated all the variables yet.
For now, if you'd like to change a button's color, you can use a combination of color and background color utilities – e.g. .button.bg-black. I plan on adding in module-level variables for defaults, such as --button-background-color and --link-color, and I'll ping you when those are in.

cool, thanks

Latest version should have --button-background-color, --link-color, and --pre-background-color with fallback values.

authors: jxnblk wighawag

repo: jxnblk/basscss


text:
Dev server crashes on MDX syntax error

When I make a mistake in my .mdx file, for example, when I use
 (fine in Markdown) instead of
 (correct syntax in JSX / MDX), the dev server crashes and I have to start it manually again.
Would it be possible to provide some better error recovery?

Also, the error message could be friendlier, this is what I see in the terminal right now:

Only after some more scrolling up, I get the actual error message:

I believe this is related to an upstream issue with gatsby-plugin-mdx, and I don't think there's much that can be done within this package

Any new insights on this issue?  It's still the biggest issue for the writer / author experience in a larger MDX based content site.

authors: borekb jxnblk nkuehn

repo: jxnblk/mdx-deck


text:
miniflux768

When is the miniflux 768 version probably going to be released? Looking forward to it.

Soon, we have finished training.

We have updated the 768p checkpoint. Thanks for your attention again!

We have updated the 768p checkpoint. Thanks for your attention again!

do you have image to video or only text to video?

We have updated the 768p checkpoint. Thanks for your attention again!

do you have image to video or only text to video?

Our method is trained for text-to-video generation, and also supports text-to-image and image-to-video due to the autoregressive designs. However, as there are no specific training phases for I2V, its I2V capability remains to be tested.


text:
Etiketten mit erstem Schlagwort/Genre

Ich versuche mich mal selbst und mache dann einen PR, falls erfolgreich.

Viel Erfolg, sag wenn ich was helfen kann. Allerdings obacht dass wir nicht die gleiche Datei editieren und in ein merge-hell reinlaufen. Für das Filtern der Etiketten bin ich auch grade an pages/api/report/booklabels/index.tsx dran im PR #140

Ja, genau an der Datei arbeite ich natürlich auch :-D. Ich warte aber, bis deine Veränderungen drin sind und füge meine erst anschließend in die dann aktuelle Datei ein.
Habs sogar "schon" fertig (wie das halt ist, wenn man sich in eine neue Sprache reinfuchsen muss :-D), funktioniert wie ich mir das vorstelle.
Hab die Struktur der Datei dabei ehrlich gesagt noch nicht richtig verstanden, mir nur das Nötigste erschlossen, um es an die richtige Position zu fummeln. Aber irgendwo fängt man halt an. Sobald du deins hast, füge ich meins dazu.

Hab es schonmal in mein Repo geladen, damit du es schon ansehen kannst, falls du das möchtest.
Verbesserungsvorschläge natürlich sehr gerne und wenn es es ablehnen möchtest, ist auch alles gut. Freue mich über Korrekturen/Verbesserungsinput.

Ja super! Kannst Du direkt ein PR erzeugen, dann kann man besser reinkommentieren und feedback geben

Kurze Frage, was findest Du besser - an sich funktioniert es und wir können es so in die Codebase aufnehmen. Oder lieber die Learning Experience wie man manche Sachen in js löst und dann noch ändern? Ist beides ok für mich, ich finds ja schon mega, dass man nicht mehr allein rumwerkelt 🌻

Nene, schon richtig lernen. Das ist ja Sinn der Sache. Pfusch als Einstieg in die richtige Lösung :-D
Ich will das grundsätzlich besser verstehen, auch, damit ich schneller und besser entwickeln kann. Ich hatte mit Javascript und TS bisher nie zu tun und verstehe die Konzepte noch nicht.
Am 30. August 2024 19:29:44 MESZ schrieb Jure Zakotnik @.***>:

Kurze Frage, was findest Du besser - an sich funktioniert es und wir können es so in die Codebase aufnehmen. Oder lieber die Learning Experience wie man manche Sachen in js löst und dann noch ändern? Ist beides ok für mich, ich finds ja schon mega, dass man nicht mehr allein rumwerkelt 🌻
--
Reply to this email directly or view it on GitHub:
https://github.com/jzakotnik/openlibry/issues/142#issuecomment-2322029722
You are receiving this because you authored the thread.
Message ID: @.***>
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

Ja gar kein Problem, ich wollte nur nicht, dass es als Kritik oder so aufgefasst wird, so ist es nicht gemeint. Pfusch ist es auch nicht, nur ist javascript recht funktional, also als Daumenregel braucht man in 99% der Fälle weder var bzw. let mit re-assignment der Variable noch braucht man for Schleifen. Bin auch noch nicht so lang dabei, aber wenn man den Bogen raus hat, dann macht's richtig Spaß!

Angesichts meiner Alltags-Realitäten seit diesem Schuljahr muss ich leider einsehen, dass ich hier im Moment nicht selber weiter implementieren kann. Tut mir leid. Vielleicht wird das wieder anders, aber im Moment muss ich mich auf Testen und Feedback beschränken. Alles andere wäre gerade unehrlich.

Gar kein Ding, bischen ähnliche Situation hier. Aber es wird auch wieder Zeiten geben wo mehr Muße ist, gut Ding will Weile haben 🐯

repo: jzakotnik/openlibry


text:
merge from arlac77/npm-package-template-esm-only

package.json

chore(package): semantic-release@^15.13.25
chore(scripts): cover@#overwrite c8 -x 'tests/**/*.mjs' --temp-directory build/tmp ava && c8 report -r lcov -o build/coverage --temp-directory build/tmp

:tada: This PR is included in version 1.5.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


text:
IOS build error!

I try running the build-ios.sh and it show me this error. I have meet all the requirements.

Could you post error messages in text format?
You need to run
sudo xcode-select --install
sudo xcodebuild -license

I will update the doc to mention that  after you post the text error messages.

Remember to delete the build directory build-ios after you run
sudo xcode-select --install
sudo xcodebuild -license

before you re-build.

Thanks for your fast reply on my problem. It helps a lots. I can run the IOS build now. Keep up the great work!

Could you post the text error messages?

CMake Error at toolchains/ios.toolchain.cmake:544 (get_filename_component):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.29.0/share/cmake/Modules/CMakeDetermineSystem.cmake:146 (include)
CMakeLists.txt:2 (project)
is this what you ask for ?

Yes, thanks!

For some others.. whats missing from the docs is you need cmake
You need
brew install cmake

if homebrew not installed install it
Also - I'm not promising anything but you could try replacing with these files.. attached as part of the process
update the first part of build-ios.sh with this

#!/usr/bin/env bash

set -e

dir=build-ios
mkdir -p $dir
cd $dir
onnxruntime_version=1.17.1
onnxruntime_dir=ios-onnxruntime/$onnxruntime_version

SHERPA_ONNX_GITHUB=github.com

if [ "$SHERPA_ONNX_GITHUB_MIRROR" == true ]; then
    SHERPA_ONNX_GITHUB=hub.nuaa.cf
fi

if [ ! -f $onnxruntime_dir/onnxruntime.xcframework/ios-arm64/onnxruntime.a ]; then
  mkdir -p $onnxruntime_dir
  pushd $onnxruntime_dir
  wget -c https://${SHERPA_ONNX_GITHUB}/csukuangfj/onnxruntime-libs/releases/download/v${onnxruntime_version}/onnxruntime.xcframework-${onnxruntime_version}.tar.bz2
  tar xvf onnxruntime.xcframework-${onnxruntime_version}.tar.bz2
  rm onnxruntime.xcframework-${onnxruntime_version}.tar.bz2
  cd ..
  ln -sf $onnxruntime_version/onnxruntime.xcframework .
  popd
fi

# First, for simulator
echo "Building for simulator (x86_64)"

export SHERPA_ONNXRUNTIME_LIB_DIR=$PWD/ios-onnxruntime/onnxruntime.xcframework/ios-arm64_x86_64-simulator
export SHERPA_ONNXRUNTIME_INCLUDE_DIR=$PWD/ios-onnxruntime/onnxruntime.xcframework/Headers
export CMAKE_OSX_SYSROOT=$(xcrun --sdk iphonesimulator --show-sdk-path)
export PATH=$PATH:/usr/bin

if [ -z "$CMAKE_OSX_SYSROOT" ]; then
  echo "Error: Unable to find iphonesimulator SDK."
  exit 1
fi

echo "SHERPA_ONNXRUNTIME_LIB_DIR: $SHERPA_ONNXRUNTIME_LIB_DIR"
echo "SHERPA_ONNXRUNTIME_INCLUDE_DIR: $SHERPA_ONNXRUNTIME_INCLUDE_DIR"
echo "CMAKE_OSX_SYSROOT: $CMAKE_OSX_SYSROOT"

# Note: We use -DENABLE_ARC=1 here to fix the linking error:
# The symbol _NSLog is not defined

if [[ ! -f ./build/simulator_x86_64/lib/libsherpa-onnx-c-api.a ]]; then
  cmake \
    -DBUILD_PIPER_PHONMIZE_EXE=OFF \
    -DBUILD_PIPER_PHONMIZE_TESTS=OFF \
    -DBUILD_ESPEAK_NG_EXE=OFF \
    -DBUILD_ESPEAK_NG_TESTS=OFF \
    -S .. \
    -DCMAKE_TOOLCHAIN_FILE=../toolchains/ios.toolchain.cmake \
    -DPLATFORM=SIMULATOR64 \
    -DENABLE_BITCODE=0 \
    -DENABLE_ARC=1 \
    -DENABLE_VISIBILITY=0 \
    -DCMAKE_BUILD_TYPE=Release \
    -DBUILD_SHARED_LIBS=OFF \
    -DSHERPA_ONNX_ENABLE_PYTHON=OFF \
    -DSHERPA_ONNX_ENABLE_TESTS=OFF \
    -DSHERPA_ONNX_ENABLE_CHECK=OFF \
    -DSHERPA_ONNX_ENABLE_PORTAUDIO=OFF \
    -DSHERPA_ONNX_ENABLE_JNI=OFF \
    -DSHERPA_ONNX_ENABLE_C_API=ON \
    -DCMAKE_C_COMPILER=/usr/bin/clang \
    -DCMAKE_CXX_COMPILER=/usr/bin/clang++ \
    -DCMAKE_MAKE_PROGRAM=/usr/bin/make \
    -DCMAKE_OSX_SYSROOT=$CMAKE_OSX_SYSROOT \
    -DCMAKE_INSTALL_NAME_TOOL=/usr/bin/install_name_tool \
    ..
  make
fi

authors: KhoaNgo18 csukuangfj willwade


text:
[Release-1.29] - k3s server process shows up as k3s agent in process list

Backport fix for k3s server process shows up as k3s agent in process list

#10616

Validated on branch release-1.29 with commit a6f1ad6 / version 1.29
Environment Details

Infrastructure

[X] Cloud
[ ] Hosted

Node(s) CPU architecture, OS, and Version:

Linux ip-172-31-13-249 5.15.0-1019-aws #23-Ubuntu SMP Wed Aug 17 18:33:13 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

Cluster Configuration:

N/A [Any set up works as long as there is one server]

Config.yaml:

write-kubeconfig-mode: "0644"
tls-san:
  - fake.fqdn.value
node-name: [REDACTED]
protect-kernel-defaults: true
selinux: true
node-external-ip: [REDACTED]
node-ip: [REDACTED]
cluster-init: true
secrets-encryption: true
kube-apiserver-arg:
  - 'audit-log-path=/var/lib/rancher/k3s/server/logs/audit.log'
  - 'audit-policy-file=/var/lib/rancher/k3s/server/audit.yaml'
  - 'audit-log-maxage=30'
  - 'audit-log-maxbackup=10'
  - 'audit-log-maxsize=100'
  - 'request-timeout=300s'
  - 'service-account-lookup=true'
  - 'enable-admission-plugins=NodeRestriction,PodSecurity,NamespaceLifecycle,ServiceAccount'
  - 'admission-control-config-file=/var/lib/rancher/k3s/server/cluster-level-pss.yaml'
kube-controller-manager-arg:
  - 'terminated-pod-gc-threshold=10'
  - 'use-service-account-credentials=true'
kubelet-arg:
  - 'streaming-connection-idle-timeout=5m'
  - 'make-iptables-util-chains=true'

Additional files

N/A

Testing Steps

Copy config.yaml

$ sudo mkdir -p /etc/rancher/k3s && sudo cp config.yaml /etc/rancher/k3s

Install k3s
kubectl get nodes,pods -A -o wide
ps auxfww | grep bin/k3s

Replication Results:
Replication here: https://github.com/k3s-io/k3s/issues/10621
Validation Results:

k3s version used for validation:

k3s -v
k3s version v1.29.7+k3s-a6f1ad6b (a6f1ad6b)
go version go1.22.5

kubectl get nodes,pods -A -o wide
NAME                                               STATUS   ROLES                       AGE   VERSION                INTERNAL-IP     EXTERNAL-IP    OS-IMAGE             KERNEL-VERSION    CONTAINER-RUNTIME
node/ip-172-31-13-249.us-east-2.compute.internal   Ready    control-plane,etcd,master   17m   v1.29.7+k3s-a6f1ad6b   172.31.13.249   [REDACTED]     Ubuntu 22.04.1 LTS   5.15.0-1019-aws   containerd://1.7.20-k3s1
node/ip-172-31-3-130.us-east-2.compute.internal    Ready    <none>                      13m   v1.29.7+k3s-a6f1ad6b   172.31.3.130    [REDACTED]     Ubuntu 22.04.1 LTS   5.15.0-1019-aws   containerd://1.7.20-k3s1

ps auxfww | grep bin/k3s
ubuntu     11180  0.0  0.0   7004  2068 pts/0    S+   03:42   0:00              \_ grep --color=auto bin/k3s
root        7882 15.1 13.4 16611172 535580 ?     Ssl  03:30   1:47 /usr/local/bin/k3s server

Additional context / logs:
N/A

authors: brandond endawkins


text:
[piaware] Added support for BEASTHOST and BEASTPORT

Signed-off-by: Patrik Boström patbos@patbos.com
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

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

Thanks for tehe changes @patbos!
I wonder if there is any value to added https://hub.docker.com/r/mikenye/readsb as a container in this deployment.


text:
Remove golint

Replace golint - which is deprecated - with the combination of go vet + staticheck,
which is recommended by the golint project in their readme.

Pull Request Test Coverage Report for Build 1910059787

3 of 7 (42.86%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.05%) to 40.494%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/allocate/allocate.go
2
3
66.67%

pkg/storage/etcd.go
0
1
0.0%

pkg/config/config.go
0
2
0.0%

Totals

Change from base Build 1894833668:
-0.05%

Covered Lines:
443

Relevant Lines:
1094

💛  - Coveralls

authors: coveralls maiqueb


text:
Use most recent version of DSE (6.8.32)

Updates DSE to latest released version 6.8.32

Replaced by https://github.com/k8ssandra/cass-operator/pull/568

authors: burmanm datastax-jenkins-release


text:
Auth config / setup

┆Issue is synchronized with this Jira Task by Unito
┆friendlyId: K8SSAND-1456
┆priority: Medium

Tracking as epic in cloud-readiness to identify task breakdown.


text:
Being repeatedly prompted on Android 10 to check if there is a newer version available

Just upgraded to Android 10. Now I'm being repeatedly prompted by Android when I launch K-9 Mail. The pop-up says that K-9 Mail was built for an older version of Android and I should check if a new version is available.
Please release a version that is compatible with Android 10 so this goes away?

(I'm using Pixel 3 XL unlocked bought directly from Google)

Same problem here.

See #4195

authors: cketti jikamens kpinc


text:
License is missing from repository

While the package.json shows the ISC license, GitHub cannot detect a license nor can other automatic tools to generate an attribution for your project.

Fixed

authors: alandtse ka-weihe

repo: ka-weihe/fast-dice-coefficient


text:
SDELAY SUDO PLIZ))

DUDE))) PLIZ NEED VERI MACH

HOROSHO BRATISHKA


text:
Feat/safe transfer

safeTransfer
add safeTransfer to @kadena/client-utils/coin

I think the approach is very conservative since force all keys to sign the Tx. even if the pred is keys-any.
I will update the PR


text:
Are you able to call subs.subscribe("mySub").stop() ? #28

credit to @haizi-zh

Rebased from master, can only assume https://github.com/kadirahq/subs-manager/pull/66 wasn't merged in because of conflicts. This appears to work perfectly.

any update on this pull request?

repo: kadirahq/subs-manager


text:
Healsparse

This pull request adds support for healsparse maps and fixed setup.py

Thanks for the PR! I think we might want to keep healsparse and cartosky even more separated for the time being. Do you mind if I take a crack at it (basically do the conversion once up front in draw_hpxmap)?

Yes, please go ahead. Thanks for taking a look.

authors: fjaviersanchez kadrlica

repo: kadrlica/cartosky


text:
RBAC: Actions granted for cluster A are mistakenly available for cluster B

Issue submitter TODO list

[X] I've looked up my issue in FAQ
[X] I've searched for an already existing issues here
[X] I've tried running main-labeled docker image and the issue still persists there
[X] I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)
Here the RBAC roles configs :
rbac:
  roles:
    - name: "Admin Roles"
      clusters:
        - DEV
        - TST
        - UAT
      subjects:
        - provider: oauth
          type: role
          value: "ADMIN.ROLE.001"
      permissions:
        - resource: clusterconfig
          # value not applicable for clusterconfig
          actions: [ "view" ]
        - resource: topic
          value: ".*"
          actions: all
        - resource: consumer
          value: ".*"
          actions: all
        - resource: schema
          value: ".*"
          actions: all
        - resource: acl
          actions: [view]
    - name: "LAB for ALL"
      clusters:
        - LAB
      subjects:
        - provider: oauth
          type: role
          value: "ADMIN.ROLE.001"
        - provider: oauth
          type: role
          value: "DEV.ROLE.002"
        - provider: oauth
          type: role
          value: "OPS.ROLE.003"
      permissions:
        - resource: clusterconfig
          # value not applicable for clusterconfig
          actions: [ "view" ]
        - resource: topic
          value: ".*"
          actions:
            - VIEW # can be upper or lower case
            - CREATE
            - EDIT
            - DELETE
            - MESSAGES_READ
            - MESSAGES_PRODUCE
            - MESSAGES_DELETE
        - resource: consumer
          value: ".*"
          actions: [ VIEW, DELETE, RESET_OFFSETS ]
        - resource: schema
          value: ".*"
          actions: [ VIEW, CREATE, DELETE, EDIT, MODIFY_GLOBAL_COMPATIBILITY ]
        - resource: acl
          actions: [view, edit]

We have 2 types of permissions :
Admin Roles where admins can perform actions on 3 clusters ( DEV, TST and UAT)
LAB for All where any user having DEV or OPS or ADMIN role can perform actions on LAB cluster.
The identified issue :
All the user were able to create ACL records in LAB and the other environments.

Expected behavior
All the users should be able to create ACL records only in LAB cluster
Your installation details
1 - app version : 1.0.0 [2956664]
Steps to reproduce
Screenshots
No response
Logs
No response
Additional context
No response

@smahroug this is fixed now, I advise you to upgrade via pulling ghcr.io/kafbat/kafka-ui:main

@smahroug this is fixed now, I advise you to upgrade via pulling ghcr.io/kafbat/kafka-ui:main

Thank you @Haarolean

authors: Haarolean smahroug

repo: kafbat/kafka-ui


text:
Fixed a really small typo I noticed in the README

What it says in the title... rason -> reason

Thank you!

authors: emilyeserven vprelovac

repo: kagisearch/smallweb


text:
Testing

Write more tests. Increase the coverage to as close to 100% as possible.
Re-structure the demo pages for better test cases, especially the code blocks, and research about visual testing.

One strategy I should think about is to compare the output with the output produced by standard Sphinx test.
I should thoroughly test my modifications (headerlinks, labels, etc.) against what the default behavior is in Sphinx.
I should also remember to test this with and without the extension sphinx.ext.autosectionlabel for headings.


text:
error ：dyld: Library not loaded: @rpath/libswiftSecurity.dylib

error ：dyld: Library not loaded: @rpath/libswiftSecurity.dylib
libswiftSecurity.dylib ？？

There is an "Embedded Content Contains Swift Code" flag in the Build Settings that needs to be set to YES. It was NO by default.

My "Embedded content contains swift code" is set to YES but I have the same problem.

Closing this for now. Please use the latest version and reopen if this persists.

authors: bpillon jackywang135 kaishin zyg-github

repo: kaishin/gifu


text:
Allow Kakoune scripts to query LSP capabilities

The language server protocol defines various optional operations that a language server can perform, and kak-lsp defines Kakoune commands that invoke the given command (if supported) or silently do nothing. Users may find out which operations are supported by the language server for the current buffer with the lsp-capabilities command.
However, it can be useful for Kakoune scripts to query LSP capabilities. Since language-servers are external tools, a given Kakoune configuration might be used in different contexts with different versions of the same language server and thus different capabilities, and it would be useful to have logic like:

If the current language server supports formatting, use it to automatically reformat the buffer on idle.
Otherwise, if a particular external formatting tool is present, use it to automatically reformat the buffer before saving.
Otherwise, complain to the *debug* buffer that formatting is not available.

Strawman design
For each capability, define a boolean option named lsp_has_whatever— for example, lsp_has_formatting, lsp_has_definition, etc. For consistency, the bit after the last _ should match the corresponding command: lsp-formatting, lsp-definition, etc.
These options should default to false, and be set to true at buffer scope when the language server for a given buffer is spun up.
Then, Kakoune scripts can test $kak_opt_lsp_has_formatting etc. as per usual.

This would be nice to avoid getting kak-lsp: yaml language server doesn't support method textDocument/documentHighlight without having to manually write a rule for yaml

repo: kak-lsp/kak-lsp

license: Unlicense


text:
debug 모드에서는 정상작동하는데 release 모드오류

debug 모드에서는  로그인 버튼을 누르면 동의 화면 창이 뜨고, 동의시 정상 로그인이 됩니다.
그런데. release 모드에서는 로그인 버튼을 누르면 창이 안뜨고.. 잠깐 깜빡이기만 합니다.
혹시 유추 가능한 오류가 있을까요?
로컬에서 테스트 할때는 이상이 없었는데, 구글 스토어에 배포 해서
다운 받은 앱에서는 모두 동일 증상입니다.
참고로
flutter 2.5.3
dart 2.14.4
kakao_flutter_sdk: ^0.9.0
입니다.

release 용 키 hash 값을 등록을 안해서 발생한 문제 네요.
해결 되었습니다.


text:
chore(main): release 0.23.0

:robot: I have created a release beep boop
0.23.0 (2024-10-23)
Features

remove gRPC buffer pool flags (282bcaa)

Bug Fixes

logger: no overriding custom zap logger options (ed416fe)
metarepos: check the NodeID for adding and removing peers (43003d4)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.23.0
:sunflower:

repo: kakao/varlog


text:
pretrained models cannot be loaded

Thank you for creating such a useful project!
Problem Description
I am having trouble running the inference and evaluation scripts. For the demo command, the directories pointing to the .yml and .pt files did not exist. Why is the command written that way?
Instead, I used the provided .yml file in the config folder, and I used the downloaded model weights from the pretrained_weights folder. When running, I had an error that seems to indicate that the weight files downloaded are incorrect. I suspect the error occurs because not all of the weights can be found, and so there are some None type objects being passed around. Thank you so much for your help!
Environment Config
From pip list, here are the libraries I have downloaded.
env_lib.txt
Note that I downloaded xformers v0.0.20 since the most recent xformers no longer is compatible.
I am using an NVIDIA RTX 4090, and cuda toolkit 11.3. I have tried using both cuda toolkits 11.8 and 11.3
My Ubuntu version is 20.04
Command Ran and Errors
This is the command I ran
python demo/demo.py \     --config-file /home/hshi/Desktop/solvent/configs/esm35_evo1_finetune_pdbonly.yaml \     --input datasets/cameo/fasta_dir/7b8b_A.fasta \     --output output/esm35_evo1/finetune_pdbonly/results \     --opt \     SOLVER.SEQ_PER_BATCH 1 \     MODEL.WEIGHTS /home/hshi/Desktop/solvent/pretrained_model/esm2_t12_35M_UR50D.pt
Here was the output of the command:
error_from_command.txt

We are pleased that you are utilizing this project.
Regarding the pretrained model, I will provide a response as follows:

Currently, we do not provide trained weights for structure prediction.
Upon completing the training process, users will acquire an output folder. The demo command examples are crafted based on this folder.
The pretrained_model folder located in the project root refers to the pretrained weights of the Protein Language Model(PLM), and it is not for Folding pretrained weights. We only provide a download guide for the PLM pretrained model, which is necessary for training the folding model.

Furthermore, the recent update to xformer has caused a mismatch with Solvent. Thank you for bringing this to our attention. Solvent has been tested with xformer version 0.0.21, and it can be installed exactly as follows:
pip install -v -U git+https://github.com/facebookresearch/xformers.git@b31f4a1#egg=xformers
I hope the information provided will be beneficial for your research!

Hi, thank you for your advice! I found the issue: biotite 0.36.1 requires  python >= 3.9. and the error goes away once you use python 3.9 instead of 3.8 (as listed in the dependencies). I also switched to a NVIDIA 3080 GPU, but I'm not sure that was the issue.

repo: kakaobrain/solvent


text:
Can't find datas/kitti/raw

Hello! There's a small problem: where can I find the "data/kitti/raw"?

https://www.cvlibs.net/datasets/kitti/eval_depth.php?benchmark=depth_completion
Only provided other files without the ''raw''

I downloaded the raw archive of the official website.,But I didn't calib_cam_to_cam.txt this file.,Can you tell me how to get this file or tell me the contents of this file？I'd appreciate it if you could help


text:
linux/arm64 platform support

Hi,
Thanks for creating this. Any chance you can add platform support for linux/arm64? I'm trying to run this on my Raspberry Pi 3. Cheers.

Yeah, that would be useful. I'll look into that.

"latest" should now have a multiarch image with arm64. Could you try it out for me? I don't have a rpi at hand right now.

repo: kalaksi/docker-tinyproxy


text:
Добавление настроек, фикс для селекта пункта выдачи заказов

Добавлены:

Настройки для переопределения названий доставки отдельно до двери и до склада
Возможность скрыть стандартное поле "Город" (т.к. используется поле state). Это можно делать и через хук, но настройка удобнее.
Настройка для автовыбора доставки через СДЭК
Совместимость поля billing_delivery_point с Select2 (если применить Select2 для этого поля, то JS код для скрытия/показа в зависимости от типа доставки показывает стандартное поле select и на форме показываются оба)

Добавил фикс для скрытия полей billing_city, shipping_city

repo: kalbac/wc-edostavka


text:
Request new features

Excellent implementation!
1- Recalculation of word count after word count duration is elapsed and change speed dynamically.
2 - This should be rather simple for you, Smoothed playback dynamic acceleration without word count being taken into consideration instead of preset speeds
Example :
1- set desired speed *e.g. x3
2- select starting speed *e.g. x1.5
3- % of video passed until desired speed is reached e.g. *60%
Result:
The video begins at x1.5, increases gradually as a function of time based on elapsed % of playback
by 60%, speed had gradually increased from 1.5x to 3x in 0.01 (or calculated) stepsizes.
at 60% of elapsed video duration it will be
playbackRate = x1.5 + (x3 - x1.5) * (currentTime / duration) / 0.6
This formula means that the playback rate will start at x1.5 and increase linearly as a function of the current time divided by the duration of the video until it reaches 60% of the duration, where it will reach x3.
This passive increase in cognitive load will lead to increased comprehension.

Another simply way of executing this: auto increase of  playback speed over set duration.
For example in 10 minutes the speed would be x3 in 0.01 increments.

Extension that increases speed gradually over a set period of time.
For example, over 20 minutes I would like the speed to become x3, it would increase the speed +0.15 every minute,
It would be even better if it could increase in 0.01 or even smaller increments every second over the set period of time, but if this is too complicated then the older method is better.

repo: kalpit-S/smart-video-speed-chrome


text:
kameleon update command is not working

I tried to update firmware using the below command in windows 10 PC
"kameleon update kameleon-core.bin -p COM6"
It showed "Updating firmware..." message but there's no progress any more.

it works if Kameleon Core is in FW upload mode (tune on with pressing BTN0)

OK. Please move this issue to kameleon-cli repository

authors: communix niklauslee

repo: kameleon-project/kameleon


text:
Assigning an organization for Okta Users

Hello
I recently enabled the okta integration for our hosted hive application.
Maybe I am missing something, but is there a way to assign all users to the same "organization"?  as of now, it seems new users get assigned to their own organization and so all the existing projects/environments we had set up are not shared for each okta user.

Thanks @n1ru4l, I definitely made that mistake, sorry 😅 ...
I have set AUTH_ORGANIZATION_OIDC to 1 but when viewing my settings page the "Connect OpenID Connect Provider" button seems to be missing.  I also verified this behaviour when running locally with the community image @ ab38a700e which has that setting enabled by default

I also tried visiting https://$BASE_URL/$ORG/view/settings#manage-oidc-integration directly as the guide suggests but it just took me to the empty settings page.  Is there another thing I have missed (If so, sorry in advance!! 😅 ...)?

@rperryng Did you make sure that the containers are running with the new environment variables? You can execute printenv within the container to check. If you ran docker compose up, without prior running docker compose down. The up command will re-use the old containers with the old environment variables.
Aside from that you can run docker compose up --force-recreate to make sure the containers are recreated with the new variables.

@n1ru4l Yeah, I am confident that our hosted instance is running with AUTH_ORGANIZATION_OIDC set to 1 for our app and server containers (actually, all of our graphql-hive-* containers have it enabled, was just easier that way... 😇).
And yeah I also double checked with my local deployment that the flag was enabled for those containers as well.  Actually, the community image is already pre-configured with AUTH_ORGANIZATION_OIDC enabled for the app and server containers, I would have had to go out of my way to disable it I believe!
I have a very short but detailed video showing the entire process from scratch (generating the compose file and deleting all mounted volumes): https://www.youtube.com/watch?v=btmtQO0R1ls . I used the latest commit (0d05700 at the time).
In the video I show that my generated docker-compose.with-env.yml file (link for reference) has the ENV var set in via yq expressions.  I also show starting up the app/server containers (docker compose -f docker-compose.with-env.yml run app /bin/sh) and use printenv to verify the values as well.

@rperryng Oh, I think I know what this issue is. When you first log into Hive a personal organization that is scoped to your user will be created. In this organization, you cannot add external users.
You first need to create a new organization:

Then it should be visible!

Sorry for the inconvenience.
We are already debating on completely removing the concept of a personal organization.

Aha! that was it, thank you for the pointer.

repo: kamilkisiela/graphql-hive


text:
Fine-grained access control for users

Discussed in https://github.com/kamilkisiela/graphql-hive/discussions/2066

Originally posted by joemccall86 April 19, 2023
Hi there! I am exploring GraphQL Hive and I see a way to create restricted accounts, but the access is for all projects/targets. It would be nice to be able to grant write access to some projects/targets but not others.

this but also for registry access tokens

upvote. would be nice to have one token for multiple environments for better CI.

authors: andriihrachov dotansimha kamilkisiela


text:
login page weird layout shift

https://github.com/user-attachments/assets/d09c8b4c-95db-4d7e-ad09-a58874c72658

running locally and even testing again on safari incognito I don't see it happening


text:
Remove include 3p trace for hello world

It is not used and does not belong there.

Coverage remained the same at 77.435% when pulling 4936d8f9f33f83dc2be211294ecdbe80b9f6bc9b on remove-trace-from-helloworld into 6bd7707dd47b1a2159b462a2e6838cddc95c5a5f on master.

authors: coveralls kammce


text:
Couldn't find file for package /Script/KantanChartsUMG requested by async loading code. NameToLoad: /Script/KantanChartsUMG

UE4.27 (I know... stuck in the past still)
This plugin is working great in editor or via remote connection to a AR headset (Hololens). However, in a packaged build the widget using KantanCharts fails to work. Checking the log provides the following error:
Couldn't find file for package /Script/KantanChartsUMG requested by async loading code. NameToLoad: /Script/KantanChartsUMG
Anyone have insight on how to address this? I've scoured the forums with no success. There are numerous hits but the underlying issue doesn't seem to be the case. I'm guessing there is something that doesn't agree with UWP needed for Hololens builds but not sure as no other errors show up anywhere.
Also, no "Script" folder exists that I can find.
Any help would be immensely appreciated.

I haven't tried the plugin on any XR platforms so pretty amazed that it works at all to be honest. At a guess that error is just because the modules aren't enabled for the platform. /Script is for whatever reason the UE prefix for C++ module packages. Try editing the uplugin file and adding the Hololens platform to each of the WhitelistPlatforms lists except for KantanChartsEditor.

Hey,
I am using Unreal Engine 4.27.2 and the plugin version is 1.8.
While packaging, I got the following warnings and the chart UI does not show up in the Hololens 2:
LogPluginManager: Mounting plugin KantanCharts
LogLinker: Warning: Asset '../../Plugins/Marketplace/KantanCharts/Content/Style/SeriesStyles/PointStyles/PS_X.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
LogClass: Display: StructProperty FKantanCartesianDatapoint::Coords is not initialized properly. Module:KantanChartsDatasource File:Public/KantanCartesianDatapoint.h
UATHelper: Packaging (HoloLens):   LogLinker: Warning: Asset '../../Plugins/Marketplace/KantanCharts/Content/Style/SeriesStyles/PointStyles/PS_X.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
PackagingResults: Warning: Asset '../../Plugins/Marketplace/KantanCharts/Content/Style/SeriesStyles/PointStyles/PS_X.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
UATHelper: Packaging (HoloLens):   LogClass: Display: StructProperty FKantanCartesianDatapoint::Coords is not initialized properly. Module: KantanChartsDatasource File:Public/KantanCartesianDatapoint.h
UATHelper: Packaging (HoloLens):   LogInit: Display: LogLinker: Warning: Asset '../../Plugins/Marketplace/KantanCharts/Content/Style/SeriesStyles/PointStyles/PS_X.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.

This is the .uplugin file after making the suggested changes:
{
	"FileVersion": 3,
	"Version": 8,
	"VersionName": "1.8",
	"FriendlyName": "Kantan Charts",
	"Description": "Simple UMG/Slate charts for debugging and basic UI.",
	"Category": "Kantan",
	"CreatedBy": "Kantan Dev",
	"CreatedByURL": "http://kantandev.com",
	"DocsURL": "https://kamrann.github.io/KantanCharts-Docs/",
	"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/content/89bd18db011b4bd19606db2e31020f13",
	"SupportURL": "mailto:kantandev@gmail.com",
	"EngineVersion": "4.27.0",
	"CanContainContent": true,
	"Installed": true,
	"Modules": [
		{
			"Name": "KantanChartsDatasource",
			"Type": "Runtime",
			"LoadingPhase": "Default",
			"WhitelistPlatforms": [
				"Win64",
				"Win32",
				"Android",
				"Mac",
				"IOS",
				"Linux",
				"Hololens"
			]
		},
		{
			"Name": "KantanChartsSlate",
			"Type": "Runtime",
			"LoadingPhase": "Default",
			"WhitelistPlatforms": [
				"Win64",
				"Win32",
				"Android",
				"Mac",
				"IOS",
				"Linux",
				"Hololens"
			]
		},
		{
			"Name": "KantanChartsUMG",
			"Type": "Runtime",
			"LoadingPhase": "Default",
			"WhitelistPlatforms": [
				"Win64",
				"Win32",
				"Android",
				"Mac",
				"IOS",
				"Linux",
				"Hololens"
			]
		},
		{
			"Name": "KantanChartsEditor",
			"Type": "EditorNoCommandlet",
			"LoadingPhase": "Default",
			"WhitelistPlatforms": [
				"Win64",
				"Mac",
				"Linux"
			]
		}
	]
}

I tried following the above method that you mentioned, but after adding "Hololens" to each of the WhitelistPlatforms(except KantanChartsEditor), I am getting the following error:
UATHelper: Packaging (HoloLens): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (HoloLens): Running: E:\UE_4.27\Engine\Binaries\DotNET\UnrealBuildTool.exe MRProject HoloLens Development -Project=E:\UnrealProjects\MRProject2024_Praful\MRProject.uproject  E:\UnrealProjects\MRProject2024_Praful\MRProject.uproject -NoUBTMakefiles  -remoteini="E:\UnrealProjects\MRProject2024_Praful" -Architecture=x64 -Manifest=E:\UnrealP
rojects\MRProject2024_Praful\Intermediate\Build\Manifest.xml -NoHotReload -log="\Unreal Engine\AutomationTool\Logs\E+UE_4.27\UBT-MRProject-HoloLens-Development.txt"
UATHelper: Packaging (HoloLens):   Using x64 architecture for deploying to HoloLens device
UATHelper: Packaging (HoloLens):   Building using Windows SDK version 10.0.18362.0 for HoloLens
UATHelper: Packaging (HoloLens):   ERROR: Missing precompiled manifest for 'KantanChartsDatasource'. This module was most likely not flagged for being included in a precompiled build - set 'PrecompileForTargets = PrecompileTargetsType.Any;' in KantanChartsDatasource.build.cs to override.
PackagingResults: Error: Missing precompiled manifest for 'KantanChartsDatasource'. This module was most likely not flagged for being included in a precompiled build - set 'PrecompileForTargets = PrecompileTargetsType.Any;' in KantanChartsDatasource.build.cs to override.
UATHelper: Packaging (HoloLens): Took 0.5966489s to run UnrealBuildTool.exe, ExitCode=6
UATHelper: Packaging (HoloLens): UnrealBuildTool failed. See the log for more details. (Unreal Engine\AutomationTool\Logs\E+UE_4.27\UBT-MRProject-HoloLens-Development.txt)
UATHelper: Packaging (HoloLens): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (HoloLens): BUILD FAILED
PackagingResults: Error: Unknown Error

Any help on how I can get it working would be grateful!

repo: kamrann/KantanCharts


text:
Accessing the ref of the internal ScrollView to use scrollTo() method?

Hi, I was wondering if there is any way to access the ref of the internal ScrollView of this component to call the scrollTo method? If not, is there any way to scroll to a certain item in the AnimatedScrollView?
Thanks!

Hey @PlayBlue7! I'm working on implementing forward ref functionality atm. 😄


text:
WARN Looks like you're passing an inline function for 'component' prop for the screen 'Home' (e.g. component={() => }). Passing an inline function will cause the component state to be lost on re-render and cause perf issues since it's re-created every render. You can pass the function as children to 'Screen' instead to achieve the desired behaviour.

It seems that this piece of code:
return React.createElement(Stack.Screen, { key: name, name: name, component: C, options: Opts });
throws warnings in minified bundle.
Changing the code to the following, seems to resolve the issue.
return React.createElement(Stack.Screen, { key: name, name: name,  options: Opts },(props) => <C {...props} />);
Any thoughts on this?

Hi @sebastianjung! Thanks for reporting the issue.
That's interesting, I've never faced that before. Navio's code is highly memoised (so shouldn't have unnecessary re-renders) but the warning is linked to this line, however I couldn't find anything wrong. I will need some time to test that and understand why it's happened.
Can you provide the steps on how to get to that warning? And maybe some code snippet?

@kanzitelli
I've been using your rn-starter template.
When minifiying with npx expo start --dev-client --minify the warning occures.
That may be sufficient.

Hey @sebastianjung. I couldn't reproduce the warning on my end following the steps you provided. However, I changed some code in Navio related to the warning but idk if that's a correct way.
// line 633
return <Stack.Screen key={name} name={name} component={C} options={Opts} />;

Changed to
return (
  <Stack.Screen key={name} name={name} options={Opts}>
    {(props: any) => <C {...props} />}
  </Stack.Screen>
);

And after building it, it generated following code:
return (React.createElement(Stack.Screen, { key: name, name: name, options: Opts }, (props) => React.createElement(C, { ...props })));

It seems the same with what you sent before. But I'm not sure if that's correct way of building react-navigation's Stack Screens component. Let me know if that resolves the issue.

@kanzitelli Sorry, but how to test if this works? Any branch i should check inside my project?

I tried cloning this repo but building it does not give me a dist folder (probably because no bundler is involved). Sorry, i am not sure how to properly build this project i guess.

authors: kanzitelli sebastianjung

repo: kanzitelli/rn-navio


text:
百度小程序自定义组件嵌套问题

使用自定义组件嵌套另一自定义组件，比如：
<lcb-popup v-model="show1" position="bottom">
  <lcb-picker
    show-toolbar
    :columns="columns"
    @change="onChange"
    @confirm="show1 = false"
    @cancel="show1 = false"
  ></lcb-picker>
</lcb-popup>

这种方式会导致使用百度小程序开发工具打开，直接无法编译

需要元旦假期后

repo: kaola-fed/megalo


text:
Getting "No Such Method" Error is showing up for latest karate version

I am facing issue with karate runner class and getting No Such Method Error.
Note: Even after uninstalling CUcumber plugins and  cucumber dependency also

Java.util.list.com.intuit.karate.results

@wasimfyrose to reopen, follow this process: https://github.com/karatelabs/karate/wiki/How-to-Submit-an-Issue

authors: ptrthomas wasimfyrose

repo: karatelabs/karate


text:
Upgrade armeria from 1.13.4 to >= 1.18.0 fixing jackson-databind vuln

karate-core/pom.xml has this dependency: com.linecorp.armeria:armeria1.13.4
This includes a vulnerable (CVE-2020-36518) jackson-databind dependency: https://mvnrepository.com/artifact/com.linecorp.armeria/armeria/1.13.4
Bumping armeria to 1.18.0 or any later fixes this: https://mvnrepository.com/artifact/com.linecorp.armeria/armeria/1.18.0

done in develop and CI looks good

Thanks

@julianladisch thanks, we will keep this open until the final 1.3.0 release, just the process we follow here

1.3.0 released

authors: julianladisch ptrthomas


text:
replace graal with karate-js engine

refer: https://github.com/karatelabs/karate-js for full background
this will give us the following advantages:

reduce JAR size by at least 30 MB if not more
no limits to re-using JS code, even by call-once and call-single
no more depending on 3rd party project (fewer CVEs and less risk in case that project changes direction)
possibly improve performance
foundation for extending karate in the future (e.g. an alternative to cucumber for those who want BDD)
support debugging of even JS blocks in IDE plugins

the build passes on github-actions (that too on Java 23 EA) 🎉
this is a very big deal ! tagging a few power users, please do try this on your local test suites when you get a chance, the thing to look out for is if you have used any JS apis or tricks that we don't yet support @edwardsph @ericdriggs @joelpramos @brown-kaew @fabio-andre-rodrigues @rwong-gw @cl-weclapp @AKushWarrior @bouncysteve @bondar-artem @f-delahaye @dvargas46 @maxandersen @arnault01 @jkeys089 @bischoffdev @staffier

this is the issue that tipped me over the edge: #2536
full changeset: https://github.com/karatelabs/karate/commit/ba931c8a5b9c1690f923638ff34fe27167f68eee

very interesting - will try it out.
I have to ask - why not just use and possibly fork nashhorn standalone?  https://github.com/openjdk/nashorn  ..maybe as an option?
anyhow - just curious. will see if i can make karata with this PR run jbang testsuite in near future.

@maxandersen pretty sure Nashorn does not support some ES6 features - the big one being arrow-functions. I could be wrong on specifics, but it certainly fails the small set of ECMA conformance tests that we tried. Interestingly there are some folks who are keeping Rhino alive - for e.g. the HTMLUnit project who are now looking for new engine.

Thank you for directly addressing this risk. I look forward to the potential improvements in speed, performance, concurrency, flakiness, and reduced maintenance and reduced frequency of breaking js engine changes.
Excellent start.

pretty sure Nashorn does not support some ES6 features - the big one being arrow-functions

Basic arrow functions are supported (in --language=es6 mode).

Wait, what?
This is going to break things horribly for anyone using anything from modern JavaScript on Karate.
Modern JS semantics were a huge selling point for the framework for me.
Are you going to work with babel etc... so people can at least compile modern JS down to something the new engine can run?
This has me leaning in the direction of just reimplementing the karate keywords in cucumber-jvm and graaljs.

@jbalme your concerns are noted ;) I think the whole history of WHY this change was needed in the first place makes the need very clear: https://github.com/karatelabs/karate-js
in my opinion - based on 7 years of looking at tests created by users - karate-js supports 100% of what teams need. proof is this set of tests - all of which run successfully on the new engine: js-arrays.feature
anyone is welcome to contribute any missing syntax, if you are wondering how hard that may be - take a look at this commit: added do-while syntax
but sure, I understand if you want to go some other route. all the best !

With all due respect, having something like do-while which is a JS feature that has been there since before JS even became a standard only implemented last week isn't something that inspires confidence.
Is there a reason you decided to implement a custom dialect of JS instead of eg forking Nashorn or seeing if migrating to another language with performance characteristics that might better suit what you need? Creating a new implementation of a language with as much complexity as JS is not something to be taken lightly.

@jbalme IMHO all these questions have been addressed in the links above. I have nothing more to add :)

With all due respect, having something like do-while which is a JS feature that has been there since before JS even became a standard only implemented last week isn't something that inspires confidence.

👍

With all due respect, having something like do-while which is a JS feature that has been there since before JS even became a standard only implemented last week isn't something that inspires confidence.

👍

😆

@jbalme
Graal does not support concurrent threads, which is a pretty big deal in the JVM.
The readme covers this pretty well.

The right body to address this criticism to is the ECMAScript TC39, in charge of the ECMAScript/JavaScript specification. JavaScript, by design, is specified with single-threaded evaluation semantics. Unlike other languages, it is NOT designed to allow full multi-threading.

https://github.com/karatelabs/karate-js?tab=readme-ov-file#the-problem

Graal isn't perfect, but how is creating a brand new intentionally incomplete JS engine a better solution than picking one of the other mature JS engines on JVM and maintaining it? Nashorn doesn't have the issues with concurrency you describe, is mature and fully ES5 compliant with most of ES6 already done, and widely used in the Java ecosystem even though it is now no longer officially supported by Oracle. Is it licensing concerns with GPL+classpath of Nashorn?
I know you highlighted CVEs as a concern with Graal, I'm sure you're aware that just because you have less CVEs doesn't mean you have a more secure system - it could just be less people doing security audits on your code so issues aren't found. That will almost certainly be the case here.

OT:
Personally, my stake in this is that I have a large amount of utility functions dependent on modern JS features that you have highlighted as explicitly not planned, so I'm basically forced to either stat on 1.4.1 forever (not really tenable), rewrite everything in Java, or rewrite everything for another framework entirely.
My org has been skeptical of Karate which makes doing the latter and submitting to the internal pressure to do everything in Java + RestAssured the easiest choice sadly.

@jbalme it would be more constructive if you pointed out what you use currently which is not supported. if there is internal pressure to use rest-assured, from experience I think you should just do that. this is because such teams use karate "in anger" and will blame any little thing on karate. I sincerely wish you find the solution that works for you and your team. all the best

karate-js doesn't seem to have any of the JS built-in prototype methods, even for eg. Array or Object
eg. for all of the below:
[1,2,3].forEach(i => {})
Object.fromEntries(Object.entries({k: 'v'}).map(([k,v]) => [v,k]))

I get:
Exception in thread "main" io.karatelabs.js.EvalError: java.lang.NullPointerException: Cannot invoke "Object.getClass()" because "object" is null
(inline)
	at io.karatelabs.js.Engine.evalInternal(Engine.java:70)
	at io.karatelabs.js.Engine.eval(Engine.java:51)
	at org.example.Main.main(Main.java:19)

I'm assuming prototypes for builtins don't exist at all at the moment because it's trying to look it up and failing?
I used modules, but at least if you had most of ES5's prototypes for the basic types, I could probably deal with removing those

Should I file issues on karate-js regarding these? Or would they be out of scope?
I will see if I can be allowed to implement most of what I need myself on my own time, but I'm not 100% sure what my employer's policy on contributions to things adjacent to work are so I need to get approval first.

karate-js doesn't seem to have any of the JS built-in prototype methods, even for eg. Array or Object

no, it has the most common ones. the plan is indeed to add all of them, because this is important for JSON manipulation.
yes, we will never do modules or require. By the way we never encouraged this kind of JS, you will not find a single official example or in the docs - and we have been very consistent about this: https://stackoverflow.com/a/52100077/143475
yes - please raise issues on the karate-js issues tracker for Arrays / Object

@jbalme

Is there a reason you decided to implement a custom dialect of JS instead of eg forking Nashorn

Existing libraries include combinations of

deprecated/unmaintained
they don't support multithreading

Difficulty in maintenance is a direct result of large language scope.
"With the rapid pace at which ECMAScript language constructs, along with APIs, are adapted and modified, we have found Nashorn challenging to maintain."
https://openjdk.org/jeps/335
Nashorn hass been in maintenance mode since 2021
https://github.com/openjdk/nashorn/commits/main/

actually since @jbalme gave me so much grief for that "do while" commit, I have a challenge for him. please count how many lines of code in Nashorn or Rhino or Graal is the equivalent of the "do while" in karate-js and report your findings back :)

actually since @jbalme gave me so much grief for that "do while" commit, I have a challenge for him. please count how many lines of code in Nashorn or Rhino or Graal is the equivalent of the "do while" in karate-js and report your findings back :)

LoC is an absolutely terrible benchmark 99% of the time. If you really want to minimize LoC though, design the engine such that many things can be implemented in "JS" itself, JS is a lot more compact than Java. I assume you have your reasons for not doing that.

@joelpramos

Hit the nail on the head. I know I'm owed nothing, but migrating away from "real JS" to a DSL is the kind of thing that needs some kind of communication outside of issue trackers and Twitter so people at least can try and plan for the direction the framework is heading.

I strongly feel that karate-js being a subset of "real JS" is a very VERY good thing.

Then I would recommend rebranding it away from the name JS so people don't get the wrong idea, and explicitly documenting the new DSL giving a list of what is and isn't supported.
I will say though, given that you don't care about being a "true JS" engine, many things in JS would be trivial just treat as "syntactic sugar" for things that already exist in Java/Karate if you are fine with breaking "true JS" semantics. Async/await would map trivially to Java concurrency, for example - async could just wrap a JsFunction in ExecutorService.submit(), and await could just call Future.get().

LoC is an absolutely terrible benchmark 99% of the time

I totally agree. but @jbalme you missed the point. which is that when you do this exercise you will get a very clear answer to the question "why don't you fork Nashorn". some things are so easy to say

kind of thing that needs some kind of communication outside of issue trackers and Twitter

this is a very interesting statement and I totally disagree. you seem to be just trying to pick a fight here. the dates for the new engine release have not even been announced and this thread is the first step and to get feedback. as you yourself said, you have the option of remaining on 1.4.1 for years if needed. 1.5.0.RC4 is available also
for the rest of your comments, I will only quote - "talk is cheap. show me the code". I actually encourage you to create the new framework based on cucumber-jvm and graal that you alluded to in your first comment. we can all learn from it.

which is that when you do this exercise you will get a very clear answer to the question "why don't you fork Nashorn". some things are so easy to say

I've already looked at Nashorn and karate-js. Nashorn looks much easier to maintain - if - you don't care about new language features or sandboxing-related CVEs - which you don't.

you seem to be just trying to pick a fight here.

Mate, you're the one trying to pick a fight.

you have the option of remaining on 1.4.1 for years if needed

I mean, creating an internal fork of 1.4.1 definitely seems like what I'll be doing in the short term in order to keep our existing tests running while fixing some of the problems I have with karate-ui - but I'm trying to avoid maintaining a framework that doesn't (won't any longer) exist outside of our org long term so we'd have to either migrate to 1.5.x or off Karate.

I actually encourage you to create the new framework based on cucumber-jvm and graal that you alluded to in your first comment. we can all learn from it.

It wouldn't be a full framework, it would just be a handful of pre-baked step definitions that match some of karate's commands so we could migrate to Cucumber + RestAssured while keeping a decent number of our test cases that only do basic HTTP assertions.
Things like reading rows from a csv or yaml in a Scenario Outline, and doing nested feature calls are really nice and I wouldn't be able to implement them on top of Cucumber without more effort than it would be worth but alas.

Nashorn looks much easier to maintain

wow , let's just agree to disagree here. peace

I strongly feel that karate-js being a subset of "real JS" is a very VERY good thing.

Then I would recommend rebranding it away from the name JS so people don't get the wrong idea, and explicitly documenting the new DSL giving a list of what is and isn't supported.

That's a pretty good idea from an optics perspective. That way you are not breaking JS, you are making an explicit decision of empowering Karate test scripters to maximize the use of the framework.
Why not karate-scripting? The language to allow extensions and powerful functions that also boxes itself within the realm of what is not possible in karate...
from a release standpoint you can call it as compliant with JS whichever version makes sense and explicitly call out how decision is to enforce cleaner testing scripting to ensure teams can maximize the powerful features of Karate etc. ... and backlog the capability for pluggable JS for future release (for hopefully get a community member to help).
really is most folks won't follow the rabbit hole of why graal vs why not

That's a pretty good idea from an optics perspective

personally I feel karate-js is a valid name, because it is valid JS and we actually use the official ECMA script test-suite. if we called it something else - guess what - people would then complain that they need to learn a new language, right ?
the release of the karate-js project is because we feel there is great value in a new JS implementation, and if people want - they can add the missing features. but - it is indeed possible that no one will care, and karate-js could end up as a nameless scripting engine that is embedded within karate and used by nobody else
which is totally fine and then no one would complain any more - and that would be end of this discussion !

@ptrthomas  is there any documentation that helps in using karate-js instead of Graal. We are currently facing the below error when the code reads a Java file in multi thread application.

def XmlToJsonConv =  Java.type('com.util.XmlConvt')
js failed:

01: Java.type('com.util.XmlConvt')
<<<<
org.graalvm.polyglot.PolyglotException: TypeError: Access to host class com.util.XmlConvt is not allowed or does not exist.

.:program(Unnamed:1)

@sskumargithub this is most likely because your classpath is not set up correctly. I think you should follow this process: https://github.com/karatelabs/karate/wiki/How-to-Submit-an-Issue

authors: ericdriggs ivangsa jbalme joelpramos maxandersen ptrthomas sskumargithub woess


text:
fetch: Silently ignores invalid package names, but saves them on vendor.json

Note my erroneous command:
govendor fetch go get github.com/gorilla/securecookie

It doesn't give any output (makes me think it's success) but when I go to vendor.json I see:
		{
			"path": "get",
			"revision": ""
		},
		{
			"path": "go",
			"revision": ""
		},

Bug or by design?

#171

Closing as duplicate.

authors: ahmetalpbalkan kaey

repo: kardianos/govendor


text:
how to get the application directory in the program.

After WebServer is registered as a service, it wants to write the log file to the directory where the program is located. But the program automatically gets the directory under SYSTEM32.
Excuse me, how to get the application directory in the program.
Thank you

os.Executable()
On Sat, Jan 5, 2019, 00:55 初七 notifications@github.com wrote:

After WebServer is registered as a service, it wants to write the log file
to the directory where the program is located. But the program
automatically gets the directory under SYSTEM32.
Excuse me, how to get the application directory in the program.
Thank you
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kardianos/service/issues/161, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAuFsfvhBV-CGmRDFpcGbcBkGrUn2hGtks5vAGiWgaJpZM4ZwFxT
.

authors: dotqi kardianos

repo: kardianos/service

license: Zlib


text:
Update dependencies

This change is

bors r+

repo: karen-irc/option-t


text:
info: variable information

Information like: population, countries and dialects, is changing with time. So, this information can't be afforded by the module itself.
Mark the three functions as obsolete; delete their documentation and test.

The functions are deprecated

repo: kariminf/JsLingua


text:
🛑 Habilitación is down

In 8941863, Habilitación (https://catalogo-vpfe-hab.dian.gov.co/User/Login) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Habilitación is back up in a2b29e2.


text:
npm install warning

npm WARN package.json karma-phantomjs-launcher@0.1.4 No README data
This annoys me greatly.

+1

Duplicate of #68

authors: Dignifiedquire brunowego jmullo

repo: karma-runner/karma-phantomjs-launcher


text:
Release v1.4.0

Signed-off-by: Poor12 shentiecheng@huawei.com
What type of PR is this?
/kind documentation
What this PR does / why we need it:
Release v1.4.0
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
None

/assign @RainbowMango

repo: karmada-io/website


text:
Train wont start for custom dataset

I'm trying to train llama to customer support, i'm using a custom dataset that has this shape:
[
    {
        "query": "My order hasn't arrived yet.",
        "response": "We apologize for the inconvenience. Can you please provide your order number so we can investigate?"
    },
    {
        "query": "I received a damaged product.",
        "response": "We apologize for the inconvenience. Can you please provide a photo of the damaged product so we can assist you further?"
    },
    {
        "query": "I need to return an item.",
        "response": "Certainly. Please provide your order number and reason for return, and we will provide you with instructions on how to proceed."
    },
    {
        "query": "I want to change my shipping address.",
        "response": "No problem. Can you please provide your order number and the new shipping address you'd like to use?"
    },
]

I already tokenized, but when i run train.py the terminal freezes on:
tokens per iteration will be: 131,072
breaks down as: 4 grad accum steps * 1 processes * 128 batch size * 256 max seq len
Initializing a new model from scratch
num decayed parameter tensors: 43, with 15,187,968 parameters
num non-decayed parameter tensors: 13, with 3,744 parameters
using fused AdamW: False
Created a PretokDataset with rng seed 42

What could be the reason? When training with TinyStories it work fine.

Yeah. Im kinda in this space too. Figured it might be a me problem.  still undecided.
Did try to poke around in exactly where the process thought it was by implementing the entire thing in colab and then stepping into the running process, but still did not figure it out beyond my "training has started" message that I injected fired...
have to revist

@ArtBreguez you can try this https://github.com/karpathy/llama2.c/issues/311#issuecomment-1682171746 ，it‘s worked for me。

authors: ArtBreguez madroidmaq twobob


text:
Create pages.yml

Pushes to pages using the new pages action (no extra branch or bloat on .git)
changes base path if necessary

DERP... this isn't possible because of the COOP requirement.

Turns out you can use Github pages for hosting... but you'll have to use Cloudflare DNS's Transfrom Rules to attach the headers.

How to setup with github pages + cloudflare DNS:

build it using the build script on this PR
Enable Pages with Github actions in your repo settings, it's enabled as soon as you open the page
On cloudflare DNS enable full SSL/TLS mode, not doing so will cause a redirect loop
Configure a custom domain, point a CNAME to USERNAME.github.io
Run the action
Under Rules -> Transform Rules -> Modify Response Header add a New rule with Hostname equals your custom domain and Then... add Cross-Origin-Embedder-Policy = require-corp and Cross-Origin-Opener-Policy = same-origin

I can't relink this PR so redoing in new PR. It needed to be a master PR because... Pages.

repo: kat-tax/vslite


text:
clh: Enable memory hotplug

Enable memory hotplug for cloud hypervisor.  Use clh openAPI to start VM with max amount of memory (based in host memory).

Implement memory hotplug
Memory resize only can be done to increase memory

Depends-on: github.com/kata-containers/tests#2413

/test

/test

/test

/test

As a reminder: the CI failure on clh is a known one, which is fixed by PR #2552.
@jcvenegas

/test

authors: jcvenegas likebreath

repo: kata-containers/runtime


text:
Not really a problem but a request

Hey there, thanks for making this amazing chess programs, i have been coding in python for 5 months now and i learned a but about pygame 1 month ago, so i really don't understand stand what some of the code means like most of it but after reading the comments in the code about which code does what job... i started to understand a little bit of the code and that's pretty how i learned all the knowledge about python i know today so my only request was could you make some little but changes to it so that like if i click a piece it highlights which squares are valid moves and if a pawn reaches its 8th rank... A little box drops down with the 4 pieces the pawn can be promoted to and upon clicking on one of the pieces in the box, the pawn is promoted to that piece and as you kno the board is being drawn from coordinates x 0 and y 0 so it is possible to draw the board from coordinates x 0 and y 200 and where ever you make these changes if you can (i am embarrassed to ask this much sorry) please explain it just a little bit with comments. I don't really expect you to do all that because people got lots of other important things to do then just edit one of their Python project because a random guy on github asked him to but i really want you to do those things for me, i really really appreciate it.
You might thing i am not even a programmer just pretending to be one but no i really am one (technically trying to become one) but if you need me to prove that i am atleast working my way up to the programming world... I can give you my all in one python file which contains all my python projects which add up to more than 20 (ah just to be clear those project are literally basic stuff like some text to speech
and some other stuff) and you can ask me questions about the code and stuff and i can explain 75%-90% of all the code and i cant explain the other stuff because instead of watching youtube tutorial for learning i learned programming through chatgpt (yea ik a pretty dumb choice) and at the start of my journey i just told it to add things to my code and slowly i started learning from just looking at the code.... When i make a project i code it myself (with the help of gpt ofcourse for like errors and other stuff) but when i cant figure out something what a part of the code does and ask it how it works etc and i usually learn how it works at the end but sometimes i just dont understand even after asking chatgpt to explain the code to me so i still use that code that i dont understand like because at the end of the day i did make majority of the things in it and put a lot of time and effort in it and i do feel proud of the projects i made even if they are basics so thats why i wont be able to explain some parts of code in my projects and i hope you fulfill my requests but even if you dont then i will ofcourse understand because you will ofcourse have a reason could probably be that people have things to do and are not free all the time but thank you for reading all this (ik i did write an entire essay in a github issues page for a request)

Forgot to add 1 more things, all those changes are because i code in a phone and the pc version is just not suited for phone you know

repo: katkaypettitt/chess


text:
Release 3.0

Essential:

#1365 (fetch api, also see PR #1541)

Nice to have:

#1642 (desynchronized canvas hint)
#1640
#1654 (spectrogram plugin: allow user to specify a colorMap)

I think everything is ready for a 3.0.0 release, except doc stuff:

updating the docs in the gh-pages branch
updating the UPGRADE document in the root of the repository (and gh-pages)

want to help out with that @aburai?

@thijstriemstra sorry, i am currently busy with customer projects, but i will test v3 when it is released

authors: aburai thijstriemstra


text:
Cut & Paste Audio

I saw this post by katspaugh on stack and was curious if there are any examples of this floating around. There is a piece of potential example code I've tried to abstract but haven't had any luck.
http://stackoverflow.com/questions/24551854/cut-and-paste-audio-using-web-audio-api-and-wavesurfer-js

Without reading the while stackoverflow post, can you state in one sentence what you'd like to see supported in wavesurfer.js?

Sure.
"A function that creates/fills an empty buffer source by creating a copy of the current buffer source that has a specific start and end point."
Some of the code is in the stack post.

This will take a wavesurfer buffer and will create a smaller version with
the selected area, the function will return a new blob, from which you can
redraw the wavesurfer.
Allan
EXTRACTED FROM A PRIVATE PROJECT IF YOU NEED MORE INFO LET ME KNOW:
var app = {
trimBlob : function(params){
/*
EXTRACTED FROM A PRIVATE PROJECT
IF YOU NEED MORE INFO LET ME KNOW:
allan.naranjo@gmail.com
This method works with wavesurfer.
Make a selection, using wavesurfer api take the start and end.
The function will take the buffer used to create the waveform and will
create
a new blob with the selected area from the original blob using the
offlineAudioContext
*/
var self = this;
var start = params.start;
var end = params.end;
var originalAudioBuffer;
originalAudioBuffer = params.wavesurfer.backend.buffer;
var lengthInSamples = Math.floor( (end - start) *
originalAudioBuffer.sampleRate );
var offlineAudioContext = new webkitOfflineAudioContext(1, 2,
originalAudioBuffer.sampleRate );
var
new_channel_data,empty_segment_data,original_channel_data,before_data,after_data;
var emptySegment = offlineAudioContext.createBuffer(
originalAudioBuffer.numberOfChannels,lengthInSamples,
originalAudioBuffer.sampleRate );
var newAudioBuffer = offlineAudioContext.createBuffer(
originalAudioBuffer.numberOfChannels,
(start === 0 ? (originalAudioBuffer.length - emptySegment.length) :
originalAudioBuffer.length)
, originalAudioBuffer.sampleRate);
for (var channel = 0; channel < originalAudioBuffer.numberOfChannels;
channel++) {
new_channel_data = newAudioBuffer.getChannelData(channel);
empty_segment_data = emptySegment.getChannelData(channel);
original_channel_data = originalAudioBuffer.getChannelData(channel);
before_data = original_channel_data.subarray(0, start *
originalAudioBuffer.sampleRate);
after_data = original_channel_data.subarray(Math.floor(end *
originalAudioBuffer.sampleRate), (originalAudioBuffer.length *
originalAudioBuffer.sampleRate));
if(start > 0){
new_channel_data.set(before_data);
new_channel_data.set(empty_segment_data,(start *
newAudioBuffer.sampleRate));
new_channel_data.set(after_data,(end * newAudioBuffer.sampleRate));
} else {
new_channel_data.set(after_data);
}
}
var arraybuffer = buffer2wav(newAudioBuffer);//Will create a new Blob with
the IntArray...
return (new Blob([arraybuffer], { type : 'audio/wav'}));
}
}
On Thu, Mar 26, 2015 at 5:48 PM, Christopher Konopka <
notifications@github.com> wrote:

Sure.
"A function that creates/fills an empty buffer source by creating a copy
of the current buffer source that has a specific start and end point."
Some of the code is in the stack post.
—
Reply to this email directly or view it on GitHub
https://github.com/katspaugh/wavesurfer.js/issues/419#issuecomment-86755938
.

Thanks! I will try it out in a little bit. Really appreciate the help. :)

@cskonopka closing it now. Feel free to reopen if you have more questions.

@allannaranjo Sorry about the delay, a bunch of stuff came up and haven't been able to focus on this idea. Is it possible to provide more information? I understand the logic but I can't quite implement it properly.

@allannaranjo I'm trying to do the same thing as in the original issue and I'm trying to implement your code example however you haven't provided the code for the buffer2wav function.  Any chance you could add that code to the example?
Many thanks in advance.

here is some script i found on the web that can replace thr buffer2wav function
note that it return a blob so the last line return "(new Blob([arraybuffer], { type : 'audio/wav'}));"
should be chance to the return value of this function
`// Convert a audio-buffer segment to a Blob using WAVE representation
// The returned Object URL can be set directly as a source for an Auido element.
// (C) Ken Fyrstenberg / MIT license
function bufferToWave(abuffer, offset, len) {
var numOfChan = abuffer.numberOfChannels,
length = len * numOfChan * 2 + 44,
buffer = new ArrayBuffer(length),
view = new DataView(buffer),
channels = [], i, sample,
pos = 0;
// write WAVE header
setUint32(0x46464952);                         // "RIFF"
setUint32(length - 8);                         // file length - 8
setUint32(0x45564157);                         // "WAVE"
setUint32(0x20746d66);                         // "fmt " chunk
setUint32(16);                                 // length = 16
setUint16(1);                                  // PCM (uncompressed)
setUint16(numOfChan);
setUint32(abuffer.sampleRate);
setUint32(abuffer.sampleRate * 2 * numOfChan); // avg. bytes/sec
setUint16(numOfChan * 2);                      // block-align
setUint16(16);                                 // 16-bit (hardcoded in this demo)
setUint32(0x61746164);                         // "data" - chunk
setUint32(length - pos - 4);                   // chunk length
// write interleaved data
for(i = 0; i < abuffer.numberOfChannels; i++)
channels.push(abuffer.getChannelData(i));
while(pos < length) {
for(i = 0; i < numOfChan; i++) {             // interleave channels
sample = Math.max(-1, Math.min(1, channels[i][offset])); // clamp
sample = (0.5 + sample < 0 ? sample * 32768 : sample * 32767)|0; // scale to 16-bit signed int
view.setInt16(pos, sample, true);          // update data chunk
pos += 2;
}
offset++                                     // next source sample
}
// create Blob
return (URL || webkitURL).createObjectURL(new Blob([buffer], {type: "audio/wav"}));
function setUint16(data) {
view.setUint16(pos, data, true);
pos += 2;
}
function setUint32(data) {
view.setUint32(pos, data, true);
pos += 4;
}
}`
took me a whole day to get this to work, hope this will save other some time :)

I want to read my .file extension file with wavesurfer.js, but I can not find a solution. Can you help me please

I would like to read my .file extension file with wavesurfer.js as .wav, but I could not find a solution. Can you help me please @katspaugh

I would like to read my .file extension file with wavesurfer.js as .wav, but I could not find a solution. Can you help me please @katspaugh

Hi, I have implemented cut, copy, paste in wavesurfer. Please refer to this repo
https://github.com/vikasmagar512/wavesurfer-audio-editor

Hi, I have implemented cut, copy, paste in wavesurfer. Please refer to this repo
https://github.com/vikasmagar512/wavesurfer-audio-editor

How would i implement this in my project?

@johnlandish Here are the functions
Cut, Copy, Paste, bufferToWave. Please refer it
https://github.com/vikasmagar512/wavesurfer-audio-editor/blob/master/src/utils/waveSurferOperation.js

authors: allannaranjo cskonopka johnlandish katspaugh moshedri proehlen skruyldz thijstriemstra vikasmagar512


text:
Unable to print QR code in Android

I am unable to print a qr code in android and it works fine in iOS. Helps?

var myCanvas;
function initCanvas(){
myCanvas = document.getElementsByTagName("canvas");
$('#qr').replaceWith('<img src="'+myCanvas[0].toDataURL("image/png")+'"/>');
}
window.addEventListener('load', initCanvas, false);

anyone?

Must be because of the URL. Relative URLs should point to the www folder.

repo: katzer/cordova-plugin-printer


text:
Parameterized testing (theories) do not discover or run in Test Explorer

Things to consider before raising a bug
This extension needs to understand how your project(s) are structured, where to find your test configuration and test files among other things.  It turns out that there are many ways to structure JS projects and the extension may not currently accommodate your project.  The following section is to aid in collecting information to identify the issue.
Describe the bug

[x] test load missing suites/tests
[x] test load errors
[x] test running errors

A clear and concise description of what the bug is.
To Reproduce
Define tests in a parameterized way, such as:
[1, 2, 3].forEach(protocolMajorVersion => {
    describe(`MultiplexingStream v${protocolMajorVersion} `, () => {
        it('should work ', () => { });
    });
});

You can see below how the test discovery considers the strings passed to the test APIs as literals instead of allowing them to execute and use the interpolated strings. This prevents them from running at all.

Expected behavior
Like the Jasmine test extension, I expect the parameterized tests to be individually identified and runnable.

Link to source
git clone https://github.com/AArnott/Nerdbank.Streams.git
cd Nerdbank.Streams/src/nerdbank-streams
git checkout vscode-jest-test-adapter#84
yarn
code .

Alternatively if you check out 4e1dfcbbceba56dfbb5c12910437f2d0bd60ebb2 you can see how jasmine works. But you'll have to  run yarn and yarn tsc, and reload VS Code for the tests to show up.
Desktop (please complete the following information):

OS: Windows

Additional context
I would like to switch from jasmine to jest because jest allows running tests directly from typescript instead of having to compile to .js first. But in this particular repo where I use parameterized tests, this is an adoption blocker.

Yes, this is a known issue and I'm working on a fix for it as part of #69.  Originally these tests were not displayed at all, but they were added in #68 with the above ticket raised to improve the display of them.
With the code you have (describe block in a for each loop) the only way to determine how many tests and their names is to execute the code.  The Jest extension only executes the tests when you run them, if you just refresh the listed tests, it will use a parser to find the names of the tests.  Its not clear from your screenshot whether you have executed the tests or not.  However, you will still not get the result that you want at the moment.  #69 will greatly improve the UX however.

Its not clear from your screenshot whether you have executed the tests or not.

I have tried. I execute all of them but the ones that haven't run in that screenshot didn't run as part of the batch. If I click to run them specifically, they similarly never run.
It sounds like #69 will indeed work. I'm fine with having to run the tests once before the parameterization expands.

I had a go at running your test sample with the latest 0.7.4 version:
This is what I get on initial load of the tests:

and after running the tests:

So after the tests are run, you get the right tests showing up, just intermixed with the originally discovered tests which are broken.  So if you can imagine what it will look like when the original tests that do not have a green tick next to them disappear, then you will end up with something like this:

So you should get the desired effect once #69 has been completed when you run the tests.  Unfortunately when the tests are discovered (either at initial load or when you hit the refresh icon in the test explorer) the test files are parsed.  The parser is only so good and obviously at some point the only way to determine the correct number and names of tests/describes is to execute the file.  I'd like to in the future introduce a "parser" that actually executes the test file, but doesn't actually run the bodies of the tests themselves.  But there are a lot of gotchas in that regard as you need to mock and run all the before*/after* methods etc to get the true effect.  Also some people may have side effects from this that they do not want.  So there is quite a bit of work to do there.

Wow. The jasmine test discovery I assumed simply executes the js file without executing the it delegates. I hadn't thought about the before/after methods, but skipping those delegates seems reasonable for most cases as WELL, IMO.

The duplicates are caused by a bug in the vscode-test-explorer extension ((issue #177)[https://github.com/hbenl/vscode-test-explorer/pull/177]).  I have a PR up to clean those up, so hopefully that will go away.
As far as actually being able to run the tests, the way the Jest runner works is that it takes in a regex expression to determine what tests to execute.  We could replace placeholders with regex that would match the possible test names without knowing the values passed in.  For Jest's it.each(array) syntax, we can make the regex fairly smart, as it uses "printf formatting", which limits the possible values it would replace placeholders with.

The duplicates are caused by a bug in the vscode-test-explorer extension ((issue #177)[https://github.com/hbenl/vscode-test-explorer/pull/177]).  I have a PR up to clean those up, so hopefully that will go away.
As far as actually being able to run the tests, the way the Jest runner works is that it takes in a regex expression to determine what tests to execute.  We could replace placeholders with regex that would match the possible test names without knowing the values passed in.  For Jest's it.each(array) syntax, we can make the regex fairly smart, as it uses "printf formatting", which limits the possible values it would replace placeholders with.

Duplicates should be gone when the next vscode-test-explorer version goes out.  Issue #177 is now closed.

Duplicates should be gone when the next vscode-test-explorer version goes out.  Issue #177 is now closed.

authors: AArnott TheSench rossknudsen

repo: kavod-io/vscode-jest-test-adapter


text:
依存関係を最新版にアップデート

StorybookのV7へのアップデートを試したいので、今現在の状態でmainブランチも更新しておきます

１回目のJestのエラーは実行タイムアウトだった（デフォルトの５秒を超えても終わらないテストがあった）。Re-runしたら成功した（今度は３秒位）
Localで実行するより、GitHub Actionsで実行した方が時間が掛かる

テストは通っているが、いくつかFIreEvent関連で警告が出ているので調査する。(
testing-libraryがv14に上がったのと関係している？

react-testing-library の V14.0.0 で actの警告に対応を行ったようなので、これが影響している可能性がありそう。
テストは通っているので様子見とする

react-testing-libraryだけ13.4.0 に戻したら act() の警告は出力されないことは確認した

repo: kazokmr/project-frontend-dev-process


text:
Add newline "\n" in every end of line

Is there any solution that adds "\n" in every end of a line? Or any other way that can manage pure code of any programming language without adding "\n" in every line.
Thanks 👍

Yeah, you should do that. This symbol is used internally to define that the end of the line was reached.

authors: kbiakov mostasim

repo: kbiakov/CodeView-android


text:
Make the license machine parsable

Fixes #13

Thanks!

authors: kbknapp vorner


text:
feat: remove python-like static type tricks

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y

re #341
Semantic simplification of operators (Python tricks) #

Disable the use and operation of bool variables 1+True
Prohibit comparison between list and config variables [0]<[1] or {} < {}

2. What is the scope of this PR (e.g. component or file name):

kclvm/sema/src/resolver/calculation.rs
kclvm/sema/src/ty/constructor.rs
kclvm/sema/src/ty/context.rs

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[x] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

test/grammar/types/binary_expr/binary_expr_0/main.k
test/grammar/types/binary_expr/binary_expr_1/main.k
test/grammar/types/binary_expr/binary_expr_2/main.k
test/grammar/types/binary_expr/binary_expr_fail_0/main.k
test/grammar/types/binary_expr/binary_expr_fail_1/main.k
test/grammar/types/binary_expr/binary_expr_fail_2/main.k

Pull Request Test Coverage Report for Build 8232693727
Details

5 of 5 (100.0%)  changed or added relevant lines in 3 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.008%) to 71.905%

Files with Coverage Reduction
New Missed Lines
%

kclvm/sema/src/ty/constructor.rs
3
95.31%

Totals

Change from base Build 8232451325:
-0.008%

Covered Lines:
44679

Relevant Lines:
62136

💛  - Coveralls

authors: Peefy coveralls

repo: kcl-lang/kcl


text:
Add CI for push package to local registry

1. Please confirm that you have read the document before PR submitted
part of https://github.com/kcl-lang/modules/issues/118

[x] Yes, I have read THIS NOTE DOC.

2. Contact Information(Optional)
If it is convenient, please provide your contact information so we can reach you when processing the PR:

Email:
HomePage:

still have not publish success, no problem, let me next PR try to work for it: replace kpm to kcl

Yes, I have note that the log: info: kubeadm is not path of kcl.mod and then just exit ./

repo: kcl-lang/modules