running everything as root

Running things as root (anywhere) is bad and should not be done.
this is what we have been doing so far with other dockers:
build a base image and add the user and set guids in the base image:
your base Dockerfile
FROM alpine:3.2
ENV TERM=xterm
ENV PROJECT_NAME=tango
RUN adduser -S $PROJECT_NAME && addgroup -S $PROJECT_NAME && addgroup $PROJECT_NAME $PROJECT_NAME
ADD Dockerfile /base.Dockerfile

Note ADD Dockerfile /base.Dockerfile is a good way of tracking how the image was built, and you always have the Dockerfile.

docker build -t portus-base .
Now every single Dockerfile you create should have FROM portus-base
Every image will have the user tango
https://github.com/tianon/gosu
Using gosu, you can change the user as which  the process runs.
You may need to have root in the image because of reasons.
Gosu allows you to run the app as tango
gosu tango nginx
You can also chown -R in your entrypoint file, because the $PROJECT_NAME variable is available in any containers/images built from the new base.
example entrypoint for nginx
#!/bin/sh
mkdir -p /etc/nginx/sites-enabled/
mkdir -p /var/log/nginx
mkdir -p /var/nginx-cache

chown -R $PROJECT_NAME /var/log/nginx
chgrp -R $PROJECT_NAME /var/log/nginx
chmod -R 0775 /var/log/nginx

chown -R $PROJECT_NAME /var/nginx-cache
chgrp -R $PROJECT_NAME /var/nginx-cache
chmod -R 0775 /var/nginx-cache

unset affinity:container
#pongo-blender is a go app that uses jinja2 templating to generate configurations
/usr/bin/pongo-blender /etc/pongo-blender/nginx.conf.tmpl > /etc/nginx/nginx.conf
/usr/bin/pongo-blender /etc/pongo-blender/site.conf.tmpl > /etc/nginx/sites-enabled/site.conf
/usr/bin/pongo-blender /etc/pongo-blender/mime.types > /etc/nginx/mime.types

env
chown -R $PROJECT_NAME /var/lib/nginx
chgrp -R $PROJECT_NAME /var/lib/nginx
chmod -R 755 /var/lib/nginx

gosu tango nginx

This way, all containers that share volumes, will have enough permissions to the shared volumes.

One issue we have is that we need to bind to "privileged ports" (one of the few mistakes in the Unix design IMO). There are ways around this issue (--cap-add NET_ADMIN). However, IIRC nginx knows what to do when it's run as root (it listens on port 80 then drops privileges for all of the actual worker processes).

Superseded by #1027. Feel free to re-open this issue if you think that there is still things to discuss here and that they are not suitable to be discussed in #1027.


Remove Apache commons collections

Commons collections is only used in one place, and can be replaced by List.equals()

Closing in favour of https://github.com/alphagov/pay-adminusers/pull/778.


Join GitHub blocked by Global Protect VPN

User Need
As a User
I want to be able to access the Join GitHub service when connected to the Global Protect VPN
so that I can be invite to the MoJ GitHub Orgs
Value
Join GitHub should be accessible on or off the MoJ VPN.
Functional Requirements (What):

[ ] Investigate issues with Join  GitHub not being accessible via the VPN.

See issue reported by user - https://mojdt.slack.com/archives/C01BUKJSZD4/p1719575176447719
Acceptance Criteria:

[ ] We understand why Join GitHub is blocked by the VPN and have resolved the issue.

Parked

No repeats of this issue.


overlapping labels in donut plot

labels are overlapping with thin slices in donut plots.
reorder data to distribute thin slices and make labels apparent

Fixed. Plotting mapped and filtered reads (unmapped reads and non-primary alignments) to avoid plotting multiple thin slices.


How to connect to KNX/IP router with desktop application?

Hello everybody :)
First of all, I'm sorry if my english is bad.
I'm Ana Katarina from Croatia and I really, really need solution for my problem. I would be very thankful if you could help me :)
My task is to make a desktop application that will be able to connect with the KNX / IP router and receive telegram from weather station and save that parameters to database.
I'm using Schneider knx router and ETS 3 software. What should I do? I have no one to ask, KNX is in Croatia still unknown, and I promise that I'm just a student who is stuck with this problem.
I'm using Visual Studio 2013 pro and these classes of Mr. David.
I'm sending you guys how I wrote code for that solution, but it doesn't work.
using KNXLib;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace zavrsni
{
public partial class Form1 : Form
{
string IPadresa;
string Port;
private static KnxConnection _connection;

public Form1()
{
    InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{

}

private void btnPotvrda_Click(object sender, EventArgs e)
{
    IPadresa = txtIPadresa.Text;
    Port = txtPort.Text;

    int port = Convert.ToInt32(Port);

    try
    {
        _connection = new KnxConnectionRouting(IPadresa, port);
        _connection.Connect();

        _connection.KnxEventDelegate += new KnxConnection.KnxEvent(Event);
        _connection.KnxStatusDelegate += new KnxConnection.KnxStatus(Event);

        _connection.Action("4/1/1", _connection.ToDataPoint("9.001", 24.0f));
    }
    catch (Exception es)
    {
        txtStatus.Text = es.Message;
    }
}

private void Event(string address, string state)
{
    float temp = (float)_connection.FromDataPoint("9.001", state);
    txtStatus.Text = "Temperature: " + temp;
}

}
}

If you have an IP router I would advise you to connect using the KNXConnectionRouting constructor without any arguments, as you probably have the IP router with the defaults loaded.
Make sure you are connected on the same network as the IP router (check if you can ping it).
You need also to configure the IP router using ETS to forward everything between IP<->TP in order to receive the events from the weather station.
I don't understand why you would send the Action to 4/1/1, if you only want to receive events you don't need to send this action.
I also don't understand why you would convert every event to a temperature in the Event function, make sure you only convert what you want based on the address you configured using ETS.
Finally, I don't know which datapoints you want from the weather station, you will need to see what kind they are, e.g., 9.001 for temperature?
9.001 is implemented
The datapoint for wind isn't.

I can ping it and I configure router to route all telegrams from weather station.
My station sends rain as a bit- rain/no rain, temperature, brightness value-lux, is it morning or evening also as bit and wind speed in meters per second.
Yes, I only want to receive events. How should I fix this line?
So, in that case I can't use these classes for my project? :/
If I can't, do you know if anybody have similar library with all that datapoint?

With this library you could receive:

bit- rain/no rain
temperature (if it is 9.001)
morning/evening (if it is bit and not a special datapoint)

wind speed and brightness you need to check the weather station specs, but they are probably special datapoints and not generic byte values
You have the option to receive the values as byte and convert them, but you need to see the datapoint specs in order to know how to convert.
Regarding your code, you only need to remove the Action call and the FromDataPoint call.
This will allow you to start seeing something.
I've seen other libraries but I've never used any of them.

9.005 is not implemented in this library at the moment

Can you maybe link me or recommend some libraries which can work with all datapoints I need? Maybe here on github?

The only one I recall is Calimero but is in Java, this one should have everything you need (i.e., all datapoints available)
http://calimero-project.github.io/
In .net I've stumbled upon some but I don't recall the names, a simple search should show them

Well, then I'll try with Java. Thank you very much for your help :)

no problem! good luck!

In my university, LAN network is unicast, so it's really confusing to me because in every library I' ve been seen multicast address. On this picture below is shown multicast for routing, and unicast for tunneling. So my question is can I on the second IP address (picture below) write for example <IP_ADDRESS>, and configure IP address on my laptop as <IP_ADDRESS> and then use that second unicast address for routing? Will that work?
So at the application I will write that second address and default port 3671 and application will be connected to KNX/IP router? Is it enough to use only classes for connect to router and routing to receive telegrams?
If you have time I would love to if you can explain to me this procedure because you are an expert and it would be great hear your expert opinion, please

At my university*

That is only for the multicast address, check if the IP-Configuration 2 is to set the IP address

I see, but what is below Mulitcast address? Ip address for what? Unicast? At IP-Configuration 2 is subnet mask and gateway
What really bothers me is can I do an application for receiving telegrams if I use unicast?

Please send a screenshot of the configuration of the IP router from ETS, instead of a screenshot from a PDF
Different devices have different configuration menus

I missed this in the first screenshot
Change the IP address here and connect using Tunneling (unicast mode)

Sorry
Wrong image


feature: Migrate to kotlin 2.0.0 & Compose compiler

Migrate kotlin to 2.0.0 & use compose compiler.
Fix crash on inconsistency with Compose.
P.S: I'm not able to build launch iosApp, even with the maven artefact on my app.

Hi @doTTTTT, thanks for PR.
Kotlin 2.0 seems to have some break changes in iOS target:

Will you be able to fix it? Otherwise I could do it little bit later.

Sorry, didn't see the message. Thank's !


Fix for issue #806: Inform Jersey of broken pipe by throwing exception

Ensure exceptions are propagated so that Jersey can detect problems writing to a broken pipe. This is very useful when the server streams data in chunks, and possibly over a long period, such as when streaming SSE events. A new test that verifies the fix has been added.
Signed-off-by: Santiago Pericas-Geertsen<EMAIL_ADDRESS>

I have now removed the WIP label


typo/fix-index-typo

Description
Sailboat UI is a modern UI component library for Tailwind CSS. Get started with 150+ open source Tailwind CSS components, make it easy to build you products.
Expected behavior
Sailboat UI is a modern UI component library for Tailwind CSS. Get started with 150+ open source Tailwind CSS components, make it easy to build your products.

Very excited to work with this library. Very reminiscent of Chakra-ui (my current favourite)

Thanks for your support

/cib


so u wanna colab

hi im OMEGA owner of https://sites.google.com/ccpsnet.net/fkdjgh857uipt895put54u9uwuekda/home (OMEGA) i would love to colab please contact me

mhm my main site is called James4. You are a member of my organization once you accept the invite

I also added you to the google doc

i did

Are you there colt?


Setting popup rules for eldoc makes it not recognize that an eldoc buffer is active

Steps to reproduce:

Add (set-popup-rule! "^\\*eldoc.*\\*$" :ttl 60 :height 0.3 :width 0.3 :side 'right) to config.
Now press SPC h . on a symbol to raise the eldoc buffer.
Move point on another symbol. Now there are both an active eldoc buffer and eldoc in the minibuffer:

Eldoc should obviously not be active in the minibuffer.
System information:

((emacs
  (version . "27.1")
  (features . "RSVG IMAGEMAGICK GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS XWIDGETS PDUMPER LCMS2 GMP")
  (build . "Aug 18, 2020")
  (buildopts "--disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp<EMAIL_ADDRESS><EMAIL_ADDRESS>--with-xml2 --with-gnutls --without-dbus --with-imagemagick --with-modules --with-rsvg --with-xwidgets --with-ns --disable-ns-self-contained")
  (windowsys . batch)
  (daemonp . server-running))
 (doom
  (version . "2.0.9")
  (build . "HEAD -> develop 702fb6e95 2020-08-14 02:13:37 -0400")
  (dir . "~/doom.d/"))
 (system
  (type . darwin)
  (config . "x86_64-apple-darwin19.0.0")
  (shell . "/usr/local/bin/zsh")
  (uname . "Darwin 19.0.0 Darwin Kernel Version 19.0.0: Wed Sep 25 20:18:50 PDT 2019; root:xnu-6153.11.26~2/RELEASE_X86_64 x86_64")
  (path "~/.nix-profile/bin" "/myBin/" "~/scripts//zsh/wrappers/Zath.app/Contents/Resources/MainMenu.nib/" "~/scripts//zsh/wrappers/Zath.app/Contents/Resources/" "~/scripts//zsh/wrappers/Zath.app/Contents/MacOS/" "~/scripts//zsh/wrappers/Zath.app/Contents/" "~/scripts//zsh/wrappers/Zath.app/" "~/scripts//zsh/wrappers/" "~/scripts//zsh/rss-notifier/" "~/scripts//zsh/personal/" "~/scripts//zsh/interactive/fuzzy/" "~/scripts//zsh/interactive/" "~/scripts//zsh/fattened/" "~/scripts//zsh/fastsyntax/" "~/scripts//zsh/expensive/" "~/scripts//zsh/exorbitant/" "~/scripts//zsh/ensure-run/" "~/scripts//zsh/bugs/" "~/scripts//zsh/basic/auto-load/" "~/scripts//zsh/basic/" "~/scripts//zsh/auto-load/tests/" "~/scripts//zsh/auto-load/others/clojure/" "~/scripts//zsh/auto-load/others/" "~/scripts//zsh/auto-load/bugs/" "~/scripts//zsh/auto-load/" "~/scripts//zsh/aria2-helpers/" "~/scripts//zsh/" "~/scripts//sh/" "~/scripts//setup/" "~/scripts//rust/archive/" "~/scripts//rust/" "~/scripts//ruby/" "~/scripts//resources/luna/" "~/scripts//resources/audio/" "~/scripts//resources/" "~/scripts//python/xonsh/" "~/scripts//python/url-encode/" "~/scripts//python/telegram-send/__pycache__/" "~/scripts//python/telegram-send/" "~/scripts//python/tecast/" "~/scripts//python/ipython/" "~/scripts//python/gmail/" "~/scripts//python/genRSS/" "~/scripts//python/autogui/" "~/scripts//python/aria2/" "~/scripts//python/" "~/scripts//launchers/" "~/scripts//javascript/" "~/scripts//export/" "~/scripts//deactivated-launchers/" "~/scripts//dash/" "~/scripts//configFiles/handbrake/" "~/scripts//configFiles/" "~/scripts//clojure/" "~/scripts//bin/" "~/scripts//bash/personal/" "~/scripts//bash/examples/" "~/scripts//bash/auto-load/" "~/scripts//bash/" "~/scripts//applescript/chrome/" "~/scripts//applescript/" "~/scripts//DOOMDIR=~/doom.d/" "~/scripts//DOOMDIR=~/" "~/scripts//" "/usr/local/opt/curl/bin" "/usr/local/opt/qt/bin" "/Library/Java/JavaVirtualMachines/openjdk.jdk/Contents/Home" "~/bin" "~/miniconda3/bin/" "~/anaconda/bin/" "~/.nimble/bin" "~/.poetry/bin" "~/.gem/bin" "/usr/libexec/" "~/kscripts/" "/usr/local/opt/texinfo/bin" "~/go/bin" "/Base/- Code/Resources/" "~/.local/bin" "/usr/local/sbin" "/usr/local/bin" "/snap/bin" "~/.cargo/bin" "/Library/TeX/texbin" "~/.dotnet/tools" "~/.emacs.d.doom/bin/" "~/code/node/snips-alice" "/Applications/SuperCollider.app/Contents/MacOS/" "/Applications/SuperCollider.app/Contents/Resources/" "/usr/sbin" "/usr/bin" "/bin" "/sbin" "~/Library/Caches/antibody/https-COLON--SLASH--SLASH-github.com-SLASH-unixorn-SLASH-git-extra-commands/bin" "~/Library/Caches/antibody/https-COLON--SLASH--SLASH-github.com-SLASH-unixorn-SLASH-git-extra-commands/bin" "/usr/local/Cellar/emacs-plus@27/27.1/libexec/emacs/27.1/x86_64-apple-darwin19.0.0"))
 (config
  (envfile . envvar-file)
  (elc-files . 0)
  (modules :completion (company +tng) (ivy +fuzzy +icons) :ui doom doom-dashboard hl-todo hydra indent-guides modeline nav-flash ophints (popup +defaults) unicode vc-gutter vi-tilde-fringe :editor (evil +everywhere) file-templates fold snippets word-wrap :emacs dired electric undo vc :term vterm :checkers syntax :tools (eval +overlay) gist (lookup +dictionary +docsets +offline) macos magit pdf :lang clojure coq data emacs-lisp json javascript julia lua markdown (org +dragndrop +pandoc +gnuplot +jupyter +noter +present +roam) raku racket rst (ruby +rails) rust scala sh yaml :config (default +bindings))
  (packages (solarized-theme) (zoom) (blacken) (elpy) (pyvenv) (lispyville) (google-translate) (move-text) (rg) (deadgrep) (git-link) (neuron-mode) (nov) (hungry-delete) (ob-tmux) (julia-mode) (julia-repl) (eglot) (eglot-jl))
  (unpin julia-mode julia-repl)
  (elpa "n/a")))

eglot recently changes its "lookup documentation" strategy from "open documentation is a popup buffer" to "forcibly trigger eldoc", which has been problematic. I've tried to ride that wave and instead open the eldoc buffer in a popup, but this turned out dreadfully buggy due to eldoc's asynchronous nature, i.e. it's difficult to predict when its contents are changed -- and it is changed often.
Anyhow, I've reimplemented eglot's eglot-help-at-point in 9e9b95f49. This should fix your issue (by side-stepping eldoc entirely). Let me know if that isn't the case and I'll reopen the issue. Thank you for bringing it to my attention.


fix(ipfsConnectPref): Adding property to announceObj

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Indexed db auto save

Closes #233
WIP. Pretty close but needs an hour or two more to be ready for review.

@Keavon I think it is ready for the first round of review. I have not implemented a toggle in the file dropdown. Is this worth implementing now or when we make a more comprehensive settings system that restores between sessions?

The ability to control the checkbox toggle in the menu bar menu is not currently built in a way that will really let you control that. So I would suggest that fixing the checkbox is something we give to a person who's knowledgeable in Vue and interested in helping with that as a separate PR.


Upgrade gtk to 0.18

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Docs
[ ] Code style update
[ ] Refactor
[x] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Checklist

[ ] This PR will resolve #___
[x] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
[ ] I have added a convincing reason for adding this feature, if necessary
[ ] It can be built on all targets and pass CI/CD.

Other information

@amrbashir is there a need to wait for the clipboard removal to be published first before this can be merged? Or can we just merge them together?


Updated docstring in urlresolvers module

The resolve method in RegexURLResolver no longer returns a tuple.
It has returned a ResolverMatch object since commit e0fb90b2.

merged in c07f9fef398a21a76d350e8b02b396b3e580b751, thanks!


Add procedure of execute run subcommand to README

update readme for about run subcommand.
$ ecschedule -help
Usage of ecschedule (v0.3.1 rev:13906aa):
  -conf string
        configuration
  -version
        display version

Commands:
  apply  apply the rule
  dump   dump tasks
  run    run the rule
  diff   diff of the rule with remote

I'm making use of this tool.
Thanks.

Thanks!


fix GPTQ oom issue on HPU

Type of Change
bug fix
Description
some memory is not released due to lack of torch.hpu.synchronize() and gc.collect()
Making sure the process is working as below:

Expected Behavior & Potential Risk
llama2-70b works on one Gaudi2 card.

@ulivne Please aware this. I will cherry-pick this to Habana-internal


How to use signalr web workers in javascript client

Hello,
according to this pr https://github.com/aspnet/AspNetCore/pull/7058, signalr should support web workers. But the instructions are not clear to me.
I installed version 1.1.2 through npm ("@aspnet/signalr": "^1.1.2"). The readme tells me to copy the webworker folder at dist/webworker into my script folder and use these files. But the npm release does not contain any webworker related files.
How can I use webworks with npm inside an angular app? Is it available only in >=3.0.0?

Is it available only in >=3.0.0?

Correct, the README is changed for the 3.0.0 release to include instructions on how to use a webworker. You can try it out by using a preview build, for example<EMAIL_ADDRESS>


mp3 files aren't cached

Version(s) affected
1.0
Description
I have a white noise app that almost works offline, but fails because the mp3 file isn't cached.
Repo at https://github.com/survos-sites/noise, it's basically a Symfony version of https://github.com/wes-goulet/background-noise.
How to reproduce
git clone git@github.com:survos-sites/noise.git && cd noise
composer install
symfony server:start -d
symfony open:local

Press the play button (or space) to start the noise.
Offline
Turn off the network and refresh the page.  No mp3.  Actually, lots of red in the debugger, but I think most of those are because of the assets not being CacheOnly.
Possible Solution
    #[SerializedName('image_regex')]
    public string $imageRegex = '/\.(ico|png|jpe?g|gif|svg|webp|bmp)$/';

rename imageRegex to mediaRegex, and include .mp3 and other audio/video formats.
Or even better, install MimeTypes.
use Symfony\Component\Mime\MimeTypes;

$mimeTypes = new MimeTypes();
$mimeType = $mimeTypes->guessMimeType('/some/path/to/image.gif');

https://symfony.com/doc/current/components/mime.html#guessing-the-mime-type
Additional Context
No response

Hi,
Not all files are cached, especially audio/video files that could be heavy.
To me, there is no need to change the name or the regex. You can add a dedicated Workbox rule for this specific use case
// assets/sw.js

// *** Workbox Bundle rules ***
//WORKBOX_IMPORT_PLACEHOLDER
//STANDARD_RULES_PLACEHOLDER
//PRECACHING_PLACEHOLDER
//WARM_CACHE_URLS_PLACEHOLDER
//OFFLINE_FALLBACK_PLACEHOLDER
//WIDGETS_PLACEHOLDER

const audioCacheStrategy = new workbox.strategies.CacheOnly({
  cacheName: 'audio',
  plugins: [
    new workbox.cacheableResponse.CacheableResponsePlugin({statuses: [0, 200]}),
    new workbox.expiration.ExpirationPlugin({
      maxEntries: 10, // Adapt this line if needed
      maxAgeSeconds: 365 * 24 * 60 * 60 // Adapt this line if needed
    }),
  ],
});

workbox.routing.registerRoute(
  ({url}) => url.pathname.endsWith('.mp3'),
  audioCacheStrategy
);

// Optional: this will store the file when the user arrives on the application
// audioFiles contains the list of URLs
const audioFiles = [
  '/audio/startup.mp3',
  '/audio/woop.mp3',
  '/audio/ending.mp3'
];
self.addEventListener('install', event => {
  const done = audioFiles.map(
    path =>
      audioCacheStrategy.handleAll({
        event,
        request: new Request(path),
      })[1]
  );

  event.waitUntil(Promise.all(done));
});

const audioFiles = [
  '/audio/startup.mp3',
  '/audio/woop.mp3',
  '/audio/ending.mp3'
];

I don't think this handles the cached filenames with the hash tag?

Hmm, still not working.  Even hacking it the image regex, I see that it's being cached now, but still doesn't work offline.
https://noise.survos.com

Fixed with static_regex and 1.0.4


Post: Refactoring with Design Patterns - The State Pattern

Hey @lubc @ercohen14
This is my new post for the blog.
Please, take a look. Thanks!

Hey @lubc I just pushed the new adjustments. Please take a look. Thanks.

Thanks @etagwerker @ercohen14 and @lubc. This is ready to review again.


update ospo associate info

Signed-off-by: Ana Jimenez Santamaria<EMAIL_ADDRESS>

@tsteenbe @vmbrasseur @ashleywolf @geekygirldawn I've made some edits to my PR to clarify who can qualify for OSPO Associate, its benefits, and how to apply based on your comments from the SC slack channel conversation.
Please review this when you have time 👍 Thank you!

Committed the requested changes from @tsteenbe. I'll merge this PR. Please open a new PR if you'd like to refine this documentation.


Update to 0.17.6

Checklist

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

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Requires:

r-parameters[version='>=0.1.0']


Proposal for the total number of Notary Project Org maintainers

As a follow-up to the community meeting held on January 2, 2024, I created this issue to build a consensus on the total number of Org maintainers. According to the statistics, the current Org maintainers (3 in total) have not been active in the past 3, 6, or 12 months. Therefore, it is necessary to elect more Org maintainers to ensure a sufficient majority for Notary Project governance and to fulfill the Org maintainer’s duty. The proposal is to have a total of 6 Org maintainers for Notary Project.
Tagging Org and sub-project maintainers for reviewing this issue. Please comment +1 or LGTM if you support the proposal. Other proposals are welcome, and we can discuss them in this issue and reach consensus.
@NiazFK @justincormack @SteveLasker @cipherboy @OliverShang @FeynmanZhou @HuKeping @JeyJeyGao @duffney @gokarnm @mnm678 @priteshbandi @Two-Hearts @rgnote @iamsamirzon @toddysm @shizhMSFT @vaninrao10 @yizha1

+1

+1

+1 on the number 6 for active org maintainers

+1 for additional maintainers. The intent was to have fairly equal representation across invested parties, where no one entity may overly control the direction.

+1

+1 as per our meeting discussions.

+1 to have a total of 6 Org maintainers for Notary Project. I think this number is possible to be changed based on the contributor and diversity growth in the future.

Based on the voting results, a two-thirds supermajority of governance and organization maintainers have agreed to support a total of 6 Notary Project Org maintainers

+1 on the 6 active org maintainers


COSACO74 REQUEST

@JeanDeli456 First stage of verification passed, official domain is sagradocorazon74.edu.co as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@JeanDeli456 Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Can you help with client-side only routing?

Hello. Can you provide more 'client-side' only routing? How exactly to make routing? Looks like i did everything from example, but not working (only index path is showing):
import IndexView from 'views/IndexView/IndexView'
import FooView from 'views/FooView/FooView'
import FooListView from 'views/FooListView/FooListView'

const routes = [
	route('/', IndexView),
	route('/foo', FooListView),
	route('/foo/:bar', FooView)
];

and views like this:
import React from 'react'
import { navigate } from 'redux-routing'

export default class IndexView extends React.Component {
	render() {
		//this.props.dispatch(navigate('/foo'));
		return
IndexView Foo

	}
}

import React from 'react'

export default class FooListView extends React.Component {
	render() {
		return
FooListView !!!!

	}
}

and configure store like this:
export default function configureStore (initialState) {
	let middleware = applyMiddleware(thunk, createMiddleware(Hash));
	if (__DEBUG__) {
		var createLogger = require('redux-logger');
		middleware = applyMiddleware(createLogger());
	}

	const store = middleware(createStore)(rootReducer, initialState);
	return store;
}

I can't tell exactly what's going on from your example, but it looks like the routing middleware is being overridden when __DEBUG__ is truthy. Try this instead:
import logger from 'redux-logger';

export default function configureStore (initialState) {
  const routingMiddleware = createMiddleware(Hash);
  let middleware = applyMiddleware(thunk, routingMiddleware);

  if (__DEBUG__) {
    middleware = applyMiddleware(logger(), thunk, routingMiddleware);
  }

  const store = middleware(createStore)(rootReducer, initialState);
  return store;
}

looks like yes. Am i right that to use 'hash' i have to hardcode all links with hash? like /#/foo? no any 'auto' normalize feature? And i can't understand how to use it with history instead of hash - links just does not work. It would be really helpful - one react example for pure react. I mean normal page with params and etc - not just 'links' and console. Because right know i also have to get route params at 'views' (handlers) too - was sure this feature is built-in.

Please take a look at the example directory - it has exactly the example you're looking for. Using HTML5 History instead of hashes is as simple as switching Hash for History when you create the middleware. For a reference on how to create links, see: https://github.com/callum/redux-routing/blob/master/example/Handler.js

sorry, I missed about concept. Looks like it fit nice.


Add more typing to resources - 1904

[Auto generated]
Number: [#1904]

openshift-python-wrapper[pull_request][2899c0c0-437e-11ef-9614-eb3025457d32][PR 1904]: Closing issue for PR: Add more typing to resources.
PR was closed.


Print a log in addition to the json results

This is the follow-up of https://github.com/ocurrent/current-bench/issues/285, I would like to have a quite verbose log for the functions I'm benchmarking and unfortunately everything is parsed (at least attempted) as json by current-bench.
Here is my code: https://github.com/ocaml-ppx/ocamlformat/pull/2019
Here is the log I obtained: http://autumn.ocamllabs.io:8081/job/2022-02-21/205537-ocluster-build-ad032b
The JSON part at the beginning, and as you can see current-bench displays a parsing error when checking the benchmark results. Is there some kind of syntax to make the distinction clear, or is this not supported for now?

Thanks a lot for the report! We made some recent changes which should help for this situation and have redeployed... but please let us know if you still encounter an error!
We'll keep this issue open as it shows that our parsing logic is too simplistic: When we see a { at the beginning of a line, we grab everything that follows as a potential json and end up selecting this part of the log:
{
  s =
    (module struct
      type t = int

      let x = 1
    end);
}

I believe this should be solved by #365, @art-w can you confirm that?

Indeed!


feat(radio-group): add hlm components

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our
guidelines: https://github.com/goetzrobin/spartan/blob/main/CONTRIBUTING.md#-commit-message-guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

Which package are you modifying?

[ ] accordion
[ ] alert
[ ] alert-dialog
[ ] aspect-ratio
[ ] avatar
[ ] badge
[ ] button
[ ] calendar
[ ] card
[ ] checkbox
[ ] collapsible
[ ] combobox
[ ] command
[ ] context-menu
[ ] data-table
[ ] date-picker
[ ] dialog
[ ] dropdown-menu
[ ] hover-card
[ ] icon
[ ] input
[ ] label
[ ] menubar
[ ] navigation-menu
[ ] pagination
[ ] popover
[ ] progress
[X] radio-group
[ ] scroll-area
[ ] select
[ ] separator
[ ] sheet
[ ] skeleton
[ ] slider
[ ] sonner
[ ] spinner
[ ] switch
[ ] table
[ ] tabs
[ ] textarea
[ ] toast
[ ] toggle
[ ] tooltip
[ ] typography

What is the current behavior?

Closes #246
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[X] No

Other information

@goetzrobin I finally got the time to create a PR for #246.
One thing that is currently not working is the content projection of hlm-radio into brn-radio
This is how the content looks like for hlm-radio

The content from brn-radio is currently completely missing - indicator content, input and label
This is how the content looks like for brn-radio

Do you have an idea how to correctly extend HlmRadioComponent with BrnRadioComponent and to forward the content into BrnRadioComponent?

@goetzrobin because HlmRadioComponent extends BrnRadioComponent I also needed to copy over the brn radio template, otherwise it would be always overridden. Have a look if this is the desired way, this allows anyone to modify hlm-radio template as they like, but also exposes the internals like aria-* values etc.

Shouldn't the Brain component, just be a directive that applies all the aria attributes etc to the input inside the hml component?

@LukeEdgecock-Bennett maybe BrnRadioInputDirective would be a good idea to try out to apply all the styles and needed attributes


SAK-30267 Drag n Drop updates

update dropzone from 3.8.4 to 4.2.0
remove support for the older file upload method
remove content.upload.dragndrop property as dragndrop is the standard
add styling to dropzone
add Availability control to the dnd uploads
new property content.dnd.visibilty.hidden to control default in the ui

Could we switch to using the dropzone JAR from webjars.org?
<dependency>
    <groupId>org.webjars</groupId>
    <artifactId>dropzone</artifactId>
    <version>4.2.0</version>
</dependency>

I totally agree be nice to be using webjars!
Created a new jira for that change see https://jira.sakaiproject.org/browse/SAK-30278

+1 nice set of upgrades for sakai 11!

This change has broken D&D uploads in Dropbox tool due to new Availability radio button. A javascript error is thrown when a file is uploaded there, because radio button is not present (and neither is needed in Dropbox IMHO).
I have reported it in https://jira.sakaiproject.org/browse/SAK-30341


[GLUTEN-7325] [CH] add a config to enable turn off read json

What changes were proposed in this pull request?
For json format, it's difficult to get exactly same result with vanila spark, so add a config to enable turn off native read json.
(Fixes: #7325)
How was this patch tested?
This patch was tested by manual tests.

@shuai-xu please add a ut

Run Gluten Clickhouse CI


该框架如何实现retrofit baseurl的切换

Look at here

→ Did you conform to the Rules?
→ Did you read the Wiki Carefully?
→ Did you search in Google?
→ Did you search in openned&closed Issues?
→ Receive only bugs and suggestions

Environment

[x] MVPArms Version:
[x] AndroidStudio Version:
[x] Gradle Plugin Version:
[x] Target Android Version:
[x] Device Model:

Bug Description:

Related Code:

Bug Log:

Others:

在接口中设置头参数，在Presenter中做切换


how to load from atlas from different sources, image one url json other?

hi
i need to be able to understand how to load an atlas, where the json is in one place and the png is in a diferent url
Thanks

That's just two resources, a json file and an image file.

And how i mix them to get all the sprites?
Thanks!!!
El mar., 5 may. 2020 18:46, Chad Engler<EMAIL_ADDRESS>escribió:

That's just two resources, a json file and an image file.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/englercj/resource-loader/issues/151#issuecomment-624134988,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5NOR5REWRR3AACQC6BYNDRQAYFTANCNFSM4MZRGR2A
.

This library just downloads things, what you do with what is downloaded is up to you.
loader.add('json', jsonUrl).add('img', imageUrl).load(() =>
{
    console.log(loader.resources.json);
    console.log(loader.resources.img);
});

@englercj I understand his question,
The same thing happened to me and I don't know how to solve it.
For a simple project where I had atlas.json and atlas.png in the same loader, I would do
loader
  .add("images/atlas.json")
  .load(() => {
    let sprite = new Sprite(
      resources["images/atlas.json"].textures["frameId.png"]
    );
  });

However, now that I am using webpack and I inline assets with base64 into HTML, I have to import those assets at the top like this
import atlas_texture from 'assets/atlas.png;
import atlas_json from 'assets/atlas.json;

however, I cannot load them, in the same way, I did before.
I found a solution to do something like this
loader.add({url: atlas_texture, name: 'texture'}).load(() => {
  const  sheet = new Spritesheet(
    Loader.shared.resources['texture'].texture.baseTexture,
    atlas_json
  );
  sheet.parse((...args) => {
    console.log(sheet.textures);
  });

});

However it is still not perfect, because this way I don't have my textures ready by the time I am in load()'s callback. Do you know a way to fix it?
Also, as I talked about this issue, because my assets now are base64, I don't know how to load spine animations either. Can you provide an example of how I can do that?


Yaml.hs:98: what context should we pass to evaluate meta...

The puzzle 152-f0946015 from #152 has to be resolved:
https://github.com/objectionary/normalizer/blob/6ca51cf591095bebf0741c9e449c2b02f65127c0/eo-phi-normalizer/src/Language/EO/Phi/Rules/Yaml.hs#L98-L98
The puzzle was created by @aabounegm on 04-Mar-24.
Estimate: 30 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

This was relevant for handling old rules (the one with $\nu$-terms). Not needed now, closing


Jupyter Lab installation error

Followed the installation steps in github. When running the Quick Intro examples, I get...
import numpy as np
import ipyvolume as ipv
V = np.zeros((128,128,128)) # our 3d array
. . . . . . .
ipv.quickvolshow(V, level=[0.25, 0.75], opacity=0.03, level_width=0.1, data_min=0, data_max=1)
C:\Users\Richard\anaconda3\envs\netcdf\lib\site-packages\ipyvolume\serialize.py:81: RuntimeWarning: invalid value encountered in true_divide
gradient = gradient / np.sqrt(gradient[0]**2 + gradient[1]**2 + gradient[2]**2)
Error displaying widget
Also try second example...
x, y, z = np.random.random((3, 10000))
ipv.quickscatter(x, y, z, size=1, marker="sphere")
Error displaying widget
Here are environment packages & versions...
environment.yml.txt
Thank you for your assistance....

I can confirm this, for multiple jupyterlab version 1; 1.1; 1.2; 2.0 and 2.1

#321
More or less duplicate ...

Cannot install ipyvolume on jupyterlab=1.2.6.
I tried all of these.
$ conda install -c conda-forge ipyvolume

$ conda install -c conda-forge nodejs  # or some other way to have a recent node
$ jupyter labextension install @jupyter-widgets/jupyterlab-manager
$ jupyter labextension install ipyvolume
$ jupyter labextension install jupyter-threejs

I'm having the same problem. Here is what the javascript console outputs when this happens. I've also seen similar errors with other modules.
Uncaught (in promise) Error: Module ipyvolume, semver range ~0.5.2 is not registered as a widget module
    at y.loadClass (manager.js:319)
    at y.<anonymous> (manager-base.js:264)
    at s (manager-base.js:45)
    at Object.next (manager-base.js:26)
    at manager-base.js:20
    at new Promise (<anonymous>)
    at F (manager-base.js:16)
    at y.e._make_model (manager-base.js:258)
    at y.<anonymous> (manager-base.js:247)
    at s (manager-base.js:45)

Same issue. Installation seems good following installation guidelines. But Error displaying widget... First error was related to missing bqplot lab extension. Now I have
Module ipyvolume, semver range ~0.6.0-alpha.4 is not registered as a widget module

Note that ipyleaflet and ipywidgets are ok.
My config
(ipyvolume) desrozis@8ce0cf338e23:/work$ jupyter labextension list
JupyterLab v2.0.1
Known labextensions:
   app dir: /opt/conda/share/jupyter/lab
        @jupyter-widgets/jupyterlab-manager v2.0.0  enabled  OK
        bqplot v0.5.12  enabled  OK
        ipyvolume v0.6.0-alpha.4  enabled  OK
        jupyter-leaflet v0.13.0  enabled  OK
        jupyter-threejs v2.2.0  enabled  OK

and
ipydatawidgets            4.0.1                      py_0    conda-forge
ipykernel                 5.1.4            py38h39e3cac_0    defaults
ipyleaflet                0.13.0             pyh9f0ad1d_0    conda-forge
ipyscales                 0.4.0                      py_1    conda-forge
ipython                   7.13.0           py38h5ca1d4c_0    defaults
ipython_genutils          0.2.0                    py38_0    defaults
ipyvolume                 0.6.0a4            pyh9f0ad1d_0    conda-forge
ipywebrtc                 0.5.0                    py38_0    conda-forge
ipywidgets                7.5.1                      py_0    defaults

Any help is welcome !!

I'm getting the following error when I try to install from the github repo
installing pip from
https://github.com/maartenbreddels/ipyvolume/tarball/master
jupyter labextension install ipyvolume
/usr/lib/python3.8/site-packages/setuptools/dist.py:454: UserWarning: Normalizing '0.6.0-alpha.5' to '0.6.0a5'
warnings.warn(tmpl.format(**locals()))
rebuilding js and css failed
missing files: ['/tmp/pip-req-build-euqmpajn/ipyvolume/static/extension.js', '/tmp/pip-req-build-euqmpajn/ipyvolume/static/index.js', '/tmp/pip-req-build-euqmpajn/ipyvolume/static/three.js']
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-req-build-euqmpajn/setup.py", line 199, in
setup(**setup_args)
File "/usr/lib/python3.8/site-packages/setuptools/init.py", line 144, in setup
return distutils.core.setup(**attrs)
File "/usr/lib64/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib64/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib64/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-req-build-euqmpajn/setup.py", line 67, in run
raise e
File "/tmp/pip-req-build-euqmpajn/setup.py", line 60, in run
self.distribution.run_command('jsdeps')
File "/usr/lib64/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-req-build-euqmpajn/setup.py", line 144, in run
raise ValueError(msg)
ValueError: Missing file: /tmp/pip-req-build-euqmpajn/ipyvolume/static/extension.js
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Hi guys! I've possibly identified and fixed the last bit in the puzzle to get ipyvolume working in JL2.
I first tried installing the latest version from conda without luck, then tried pip installing the latest version from Git, still no luck.. after some digging it turns its missing one python module (bqplot) and one node module (source-map).
Here are the steps I took to fix it:
1 - download the repo to a local folder github.com/maartenbreddels/ipyvolume
2 - run: npm install  source-map
3 - cd into the downloaded folder and run: python3 setup.py install
4 -  run: conda install -c conda-forge bqplot
5:  run: jupyter labextension install bqplot
Depending on your setup, it's important that step 3 is run as a python command and not using eg pip, I had a problem where the installer tried to use Python 2.7 and failed.
I ran this code to test it:
import ipyvolume as ipv
import numpy as np
N = 1000
x, y, z = np.random.normal(0, 1, (3, N))

fig = ipv.figure()
scatter = ipv.scatter(x, y, z)
ipv.show()

AND BAM! ipyvolume is  back in action.

I presume to fix the Conda conda/pip package we have to add bqplot and source-map to the requirements?

Hi @chriotte, nice work!
I found that bqplot is a hard dependency, I can't remember if I discussed it with @maartenbreddels - good find, we should fix that.
As for source map, I haven't needed it to install ipyvolume - how did you determine it was necessary? :)

Thank you @agoose77 for your swift reply! I can imagine this being a perfect example of a dependency hell  with a mix of complex python and node modules!  :)
Regarding source map, I had noticed "missing source-map" references in two places:
1 - The developer console in Firefox pointing to missing source map after doing a "clean" install from conda
2 - When I tried installing the latest version from Git using:
pip install git+git://github.com/maartenbreddels/ipyvolume
The pip install threw an exception because source-map was not found, after installing source map I were able to proceed further along in the install process, but ran into a new problem where the installer tried calling python 2.7 instead of 3 (despite my python 3 conda env being activated in the terminal).
I'm attaching the stack trace from running the command without source-map as a text file - made the relevant line bold.
Also attaching the Python stack trace just for reference, but that is most likely more to do with my setup than ipyvolume.
ipyvolume_install_stacktrace.zip

Hi again guys,
I was curious about whether the latest code from the Github repo is needed in the steps outlined above, so I created a new conda env, but this with the latest version of ipyvolume from Conda and not Github.
steps taken:
1 - make a shiny new conda env
2 - install Jl2
3 - install ipyvolume from conda directly
4 - does it work? Nope
5 - ipywidgets lab extension not found, installing it.. *
6 - does it work? nope, can't find bqplot*
7 - install bqplot from conda, does it work nope? But bqplot was already satisfied, hmm
8 - install the bqplot lab extension, and rebuild JL2. Does it work? YES
*error message in firefox dev console
Conclusion! Looks like the missing like is the bqplot JL extension, and just doing: "jupyter labextension install bqplot" might be enough. It didn't complain about source-map this time, but that might just be because I already did a npm install, and it would be great if someone that have NOT manaully installed source-map could give this a try.

Are you familiar with Docker? I previously built a Docker image to test things in an isolated env, and found that we only need bqplot to be installed:
https://github.com/maartenbreddels/ipyvolume/pull/323#issuecomment-635939797

Can confirm that it works for me.
The process I used was

install source-map by npm
install bqplot by pip3
install ipyvolume==0.6.0a by pip3
install bqplot by jupyter labextension
install ipyvolume by juputer labextension

On Thu, Jul 2, 2020 at 8:26 PM Angus Hollands<EMAIL_ADDRESS>wrote:

Are you familiar with Docker? I previously built a Docker image to test
things in an isolated env, and found that we only need bqplot to be
installed:
#323 (comment)
https://github.com/maartenbreddels/ipyvolume/pull/323#issuecomment-635939797
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/maartenbreddels/ipyvolume/issues/324#issuecomment-652975460,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWGAGNNONGFQMX3XBSE2CLRZR4IJANCNFSM4MWZ3AJA
.

This seemed to be sufficient for me, where --pre give me ipyvolume==0.6.0a6 atm.
pip install --pre ipyvolume
jupyter labextension install @jupyter-widgets/jupyterlab-manager bqplot ipyvolume

Resolves this issue for me as well (python 3.6.9 jupyterlab 2.1.4 )

installing latest ipyvolume release

pip install ipyvolume==0.6.0a6 (pre-release)

installing bqplot

pip install bqplot
jupyter labextension install bqplot

(in addition to the installation steps mentioned in docs)

Just confirming that I was able to install it correctly with the help of the last 2 comments.
Installation gave me a lot of headaches and I wasn't able to install it a few weeks back.

I tried from pratulyab
but I still get the error
My jupyter lab:
jupyter core     : 4.7.1
jupyter-notebook : 6.4.0
qtconsole        : not installed
ipython          : 7.19.0
ipykernel        : 5.5.5
jupyter client   : 6.1.12
jupyter lab      : 3.0.16
nbconvert        : 6.0.7
ipywidgets       : 7.6.3
nbformat         : 5.1.3
traitlets        : 5.0.5

@Khoa-NT how did you install ipyvolume? It isn't listed here.

I'm sorry, That is the result from jupyter --version
This is from jupyter labextension list
JupyterLab v3.0.16
/opt/conda/share/jupyter/labextensions
        jupyter-matplotlib v0.9.0 enabled OK
        bqplot v0.5.28 enabled OK (python, bqplot)
        jupyter-webrtc v0.6.0 enabled OK
        ipygany v0.5.0 enabled OK
        jupyterlab-datawidgets v7.0.0 enabled OK
        jupyter-threejs v2.3.0 enabled OK (python, pythreejs)
        @jupyter-widgets/jupyterlab-manager v3.0.0 enabled OK (python, jupyterlab_widgets)

Other labextensions (built into JupyterLab)
   app dir: /opt/conda/share/jupyter/lab
        ipyvolume v0.6.0-alpha.8 enabled OK
        jupyterlab-dash v0.4.0 enabled OK
        jupyterlab-plotly v4.14.3 enabled OK
        k3d v2.9.6 enabled OK

I tried ipyvolume, K3D Jupyter and ipygany.
But None of them can run on Jupyterlab even I installed their jupyterlab extention.
Only can run on Jupyter Notebook.

It looks like you've installed ipyvolume using jupyter labextension install. With the latest alpha, you don't need to do that, and generally it is better to use the pre-built extensions (as it avoids the sometimes problematic build step). I would suggest uninstalling the ipyvolume labextension via jupyter labextension uninstall, and then install the package from PyPI.


Added make clean to ocaml-output to fix hygiene problem

Simple one line fix based on Jonathan's suggestion ... private builds passed.

This is good as a stopgap measure, but probably best to remove this once we switch to the better build system. Thanks Darren!


Margin Hold

Hey @bangjelkoski we had a few reports on issues that seem to be related because the FE doesn't pick the correct balance (i.e. my balance is reduced after certain actions like placing limit orders but that's not reflected in my subaccount balance and I try to place new orders with "MAX" amount).

We have to improve streaming. If the FE doesn't "reflect" balances it means that the streaming failed to stream the updates.

This should be fixes after recent upgrades to the streams.


Crds lists

Description
Changes proposed in this pull request:

...
...
...

Related issue(s)

/retest

One more thing - it would be nice to inspect /shoot--hasselhoff--prod/namespaces/default/customresourcedefinitions/details/verticalpodautoscalercheckpoints.autoscaling.k8s.io - there is 404 error here.

The same goes with verticalpodautoscalercheckpoints.autoscaling.k8s.io, but I guess the issue is the same.

What's more, when I refresh the page (e.g. http://localhost:4200/cluster/shoot--hasselhoff--prod/namespaces/default/customresourcedefinitions/details/certificaterevocations.cert.gardener.cloud), it stops working).


cannot login

ps.: thanks for this amazing tool

Updated readme, see https://github.com/alexspeller/ember-twiddle/commit/bb634bdacd7758026dcfce820c6341446249c8f0


feat: update librime to 1.11.2+dfsg1

Rime Input Method Engine - Lua extension plugin
Issue: https://github.com/deepin-community/sig-deepin-sysdev-team/issues/552
Log: update repo

/integrate


Data decoder

I implemented data.Decoder which decodes a struct from data.Map. This is intended to be used by plugins to define their parameters easily. Sorry for a pretty huge pull request.
fixes #121

Great Job!
memo: It has an error in TravisCI check, but the error is not related to this PR.

Thanks! I'll fix them on Thursday this week.

Thank you!


mobile menu layers under page content

Causes it to sometimes show up while scrolling, should move it off screen until it's needed.

Fixed this a while ago


[Feature Request] Buffering progress

An option to know the current buffering progress. This is useful to use in a slider alongside with the current player position

I have to see if that's possible. Currently working on other issues.

I don't have the time to work on this yet but it's likely possible to make use of the demuxer-cache-state property for this. it's also possible to set custom cache size using mpv properties. it returns the value as cache-end or we can use the dedicated property demuxer-cache-time. both are the same value. demuxer-cache-state will simple also return other values as listed in the link.


[Snyk] Fix for 3 vulnerabilities

Snyk has created this PR to fix 3 vulnerabilities in the maven dependencies of this project.
Snyk changed the following file(s):

master/pom.xml

Vulnerabilities that will be fixed with an upgrade:

Issue
Score
Upgrade

Improper Handling of Case Sensitivity SNYK-JAVA-ORGSPRINGFRAMEWORK-8230364
  40
org.springframework:spring-context:  5.3.18 -> 6.1.14 Major version upgrade No Known Exploit

Improper Handling of Case Sensitivity SNYK-JAVA-ORGSPRINGFRAMEWORK-8230365
  40
org.springframework:spring-context:  5.3.18 -> 6.1.14  org.springframework:spring-core:  5.3.18 -> 6.1.14  org.springframework:spring-web:  5.3.18 -> 6.1.14 Major version upgrade No Known Exploit

Improper Handling of Case Sensitivity SNYK-JAVA-ORGSPRINGFRAMEWORK-8230366
  40
org.springframework:spring-web:  5.3.18 -> 6.1.14 Major version upgrade No Known Exploit

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

:tada: Snyk checks have passed. No issues have been found so far.
:white_check_mark: security/snyk check is complete. No issues have been found. (View Details)
:white_check_mark: license/snyk check is complete. No issues have been found. (View Details)


CPU throttling

Platform
Which platform does the bug apply to?

WebExtension (Google Chrome, Mozilla Firefox)

Describe the bug
Lately my CPU was throttling and kinda worried me as I had no idea about the reason, I tried to debug and find the source. Later on I decided to check all chrome processes and found out one which is using over 20% of my CPU once I killed it, wappalyzer extension disappeared. Later on to just make sure it is the extension, I turned it on and my CPU hits over 50% of use and once I disable it, things goes back to normal.
To Reproduce
Steps to reproduce the behavior:

Enable the latest extension version on chrome
Open task manager and extend the chrome processes

Expected behavior
N/A
Additional context
I will just try and check the code now if there is any vulnerability that is causing this.

Read this issue, you may have a similar issue: #2605

I'm experiencing this as well, any solutions?
@kyletaylored That's a really large thread, which after reading, I didn't discern much of a solution. Am I missing something?
Nevermind the cause, I simply want minimal CPU usage.

@AdityaAnand1 Unfortunately, that's exactly the case - this crops up on a case by case basis and is not consistent across all users, meaning there is some external factor that is coming into play, such as another Chrome Extension or service that is conflicting and causing an issue.
For anyone who is having this issue, you need to open up the Chrome extension sandbox (found in the Extension settings) and run the Chrome profiler to see what exactly is taking up all the resources.

Hold on. How come chrome extensions come into the picture? Doesn't it use a plain vanilla pupeteer chromium instance (devoid of any extensions)? Is it affected by my system's user installation of chrome?(!)
I have a crazy amount of ad blockers, script blockers and privacy related stuff on my personal chrome. Could that affect wappalyzer detection?

@AdityaAnand1 this issue is specifically about the WebExtension driver, which is the Chrome/Firefox/Edge extension.

@AliasIO I don't think so, because I have multiple extensions and they are not using too much CPU. Once I turn on Wappalyzer the CPU usage goes up


Update prompt-toolkit dependency to 3.0.x

prompt_toolkit 3.0 has been out for a while.
I think we could update the dependency

I think I've to update this line https://github.com/crate/crash/blob/9177c001ce73eb80c295ccb9bc21ef23edbf72a7/setup.py#L33 , right @mfussenegger ? Should I open a PR with the changes?

Yes you've to update that line. Maybe it's also necessary to make some other adjustements depending on the changes within prompt-toolkit.
PR would be nice :+1:


refactor css-classes+ids

reduce the amount of classes doing similar things by cleaning up the currently used ones.
Might be something for you, @Algareb ?

@Algareb, Will you this one? :)

#161

taggable tiers positioning #161

related -  #161


Removed gradIndices and outputIndices from Init

Hey, there was a use case where casting BRNN to float was needed, and having gradIndices and outputIndices in the constructor would cause an error when gather is called. I've modified the module to use a method similar to the mask in MaskZero. Let me know of any issues etc!

@SeanNaren Thanks for taking the time to fix this :)

@nicholas-leonard you're welcome!


♻ move qc functions to submodules of qc

♻ move qc functions to submodules of qc

[ ] closes #xxxx
[ ] README entry added if new functionality
[ ] fixup commits are appropriately squashed
[ ] submission_packet has been regenerated and committed as last commit in this PR

This should improve developer experience of writing and updating qc scripts

Allowing merge after failing. Will resolve in a seperate PR of adding diagnosis id QC


new file for kadane's algorithm with proper comments, documentation and test cases added.

What's being changed:

I have added a new file with the implementation of kadane's algorithm to calculate the maximum contiguous subarray sum for the given array. I have added proper comments and documentation for the same with 3 test cases example as well.
Checkoff the following:

[x]  Read Contribution.md
[x]  Created a new branch before committing.
[x]  My File doesn't contain any duplicacy or misinformation (isn't available in the library).
[x]  Added to the right category.
[ ]  Added "add code" label.
[x]  Described what's being changed.

oh okay! but in https://github.com/codewithdev/C-plus-plus-Algorithms/blob/master/03-Arrays/kadens.cpp that array size has been restricted to 100. it should be a variable n, I guess. So can i change this and add some comments and example test cases in the already present file?

you can add the changes in the this particular file if you want to. https://github.com/codewithdev/C-plus-plus-Algorithms/blob/master/03-Arrays/kadens.cpp


Allow for a custom/wrapped HttpClient class

I'd like to have the possibility to specify which HttpClient to use. Although the System.Net.Http.HttpClient doesn't really implement an interface, I still want to be able to specify another type which completely respects the method signatures currently found on the System.Net.Http.HttpClient. The type I would specify would be a wrapper around the current System.Net.Http.HttpClient.
Why would I need this? I'm currently in need to wrap the HttpClient calls in order to make my client more robust. With this I mean that when a call to a service fails, due to timeouts, or network errors, ... I'd likt to retry the call a number of times, or with an exponential backoff mechanism. For this I would currenlty use the Polly library which allows me to do just that. However, today I need to wrap the calls the client calls, while it would be really helpful to have this functionality by being able to inject the HttpClient type.
If desired I can even create a pull request as I already have the code changes.

I'd say we add a setting HttpClientType (default "System.Net.Http.HttpClient") and replace all "System.Net.Http.HttpClient" with this setting...

Seems to be just like the approach we took. Except for the naming, but HttpClientType would certainly cut it.

Yes, the naming is like DateTimeType which already exists... Can you create a PR with only these changes?

I've prepared a pull request, but I've got a couple of issues due to only having VS2017 at my disposal. I'm not able to check in the NSwagStudio because VS2017 restructured it & I can't open the NSwag.Core.sln because VS2017 will automatically try to convert the .xproj files to the new .csproj files. Do you have any objection to these conversion? If you do, I can push an isolated pull request without touching the abovementioned projects.

I'll do this upgrade myself and remove the NSwag.Core.sln solution completely if this is possible... Just create a PR for the new setting

https://github.com/NSwag/NSwag/pull/666


In version 1.11 of bottlerocket, Add harbor credential provider config that can enter userdata

Tell us about your request
I am putting the following part in the userdata when launching the bottlerocket 1.11 version image.
[settings.kubernetes.credential-providers.harbor-credential-provider]
enabled = true
cache-duration = "30m"
image-patterns = ["abc.abc.com"]

It is not supported by BottlerocketConfig in that part, so it is used through custom build.
Can you please add that part?
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
By specifying the harbor-credential-provider in the userdata, I can configure the node using the bottlerocket image to access the harbor.
If the harbor credential provider is not supported as it is now, I have to manually specify the id/pwd information of the harbor in the userdata.
Are you currently working around this issue?
As mentioned above, I downloaded the source of karpenter, modified the BottlerocketConfig part, and custom built it for use.

// BottlerocketKubernetes is k8s specific configuration for bottlerocket api
type BottlerocketKubernetes struct {
	APIServer                 *string                             `toml:"api-server"`
	ClusterCertificate        *string                             `toml:"cluster-certificate"`
	ClusterName               *string                             `toml:"cluster-name"`
	ClusterDNSIP              *string                             `toml:"cluster-dns-ip,omitempty"`
	CredentialProviders       map[string]HarborCredentialProvider `toml:"credential-providers,omitempty"`
	NodeLabels                map[string]string                   `toml:"node-labels,omitempty"`
	NodeTaints                map[string][]string                 `toml:"node-taints,omitempty"`
	MaxPods                   *int                                `toml:"max-pods,omitempty"`
	StaticPods                map[string]BottlerocketStaticPod    `toml:"static-pods,omitempty"`
	EvictionHard              map[string]string                   `toml:"eviction-hard,omitempty"`
	KubeReserved              map[string]string                   `toml:"kube-reserved,omitempty"`
	SystemReserved            map[string]string                   `toml:"system-reserved,omitempty"`
	AllowedUnsafeSysctls      []string                            `toml:"allowed-unsafe-sysctls,omitempty"`
	ServerTLSBootstrap        *bool                               `toml:"server-tls-bootstrap,omitempty"`
	RegistryQPS               *int                                `toml:"registry-qps,omitempty"`
	RegistryBurst             *int                                `toml:"registry-burst,omitempty"`
	EventQPS                  *int                                `toml:"event-qps,omitempty"`
	EventBurst                *int                                `toml:"event-burst,omitempty"`
	KubeAPIQPS                *int                                `toml:"kube-api-qps,omitempty"`
	KubeAPIBurst              *int                                `toml:"kube-api-burst,omitempty"`
	ContainerLogMaxSize       *string                             `toml:"container-log-max-size,omitempty"`
	ContainerLogMaxFiles      *int                                `toml:"container-log-max-files,omitempty"`
	CPUManagerPolicy          *string                             `toml:"cpu-manager-policy,omitempty"`
	CPUManagerReconcilePeriod *string                             `toml:"cpu-manager-reconcile-period,omitempty"`
	TopologyManagerScope      *string                             `toml:"topology-manager-scope,omitempty"`
	TopologyManagerPolicy     *string                             `toml:"topology-manager-policy,omitempty"`
}

type HarborCredentialProvider struct {
	Enabled       *bool     `toml:"enabled,omitempty"`
	CacheDuration *string   `toml:"cache-duration,omitempty"`
	ImagePatterns *[]string `toml:"image-patterns,omitempty"`
}

Additional Context
No response
Attachments
No response
Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

I work on Bottlerocket, and just curious about this. Is there a Harbor credential provider available publicly? If so, we could possibly look at adding that to Bottlerocket. PRs are also very welcome to Bottlerocket!
I don't know Karpenter well, but I would suggest one small change to the above. Rather than calling the new struct HarborCredentialProviders, it might be better to call it ImageCredentialProvider and have some name mapping. Then it would be flexible enough to configure whatever credential provider the user would be trying to use.

I don't know Karpenter well, but I would suggest one small change to the above.

We just directly translate BR's toml -> json.

Closing, doesn't look like something for Karpenter to do.


CLI: create documentation page for the spectrum-analysis command

Create a documentation page for the mc spectrum-analysis command.
CLI Command: mc spectrum-analysis: performs spectrum analysis on a sound file (#40)

Done.


[Documentation] wrong install command

In the readme the install command is
pip3 install phonebox_plugin

Correct is
pip3 install phonebox-plugin

Thanks, fixed.
Both options will actually work (pip install command replaces underscores with dashes in the package name).
The package is named phonebox-plugin on PyPI as per PEP8.


states115.json missing

We have districts115.json but not states115.json. The code is smart enough to fall back to states114.json but it affects speed a little.
I assume the solution is just cp states114.json states115.json but I didn't want to presume there were no state boundary changes since last time.

Copied json114.json to json115.json. Done.

Done.


Daf 2328 setvalidation

Broken. Please ignore.

Fixed. Prior push had irrelevant commits in it that were part of a different fix.


Custom Building using browser profiling.  Directions in self-contained

html file.  Can read either the current master or preview config.json
files from Github.
For making builds against tagged production versions, a local
config.json file from repo required.  This is only readable by Firefox.

Impressive!


A new BlankBootstrap3.theme has been added

This them does not contain any of the default bootstrap css files. Users can extend this theme with their own bootstrap theme css files.

Code included as part of Extlib v17. Please refer to the readme. Thanks Csaba


coronal suture terms

Add:
absent coronal suture (child of abnormal coronal suture morphology MP:0003840)
DEF: failure to form the dense, fibrous connective tissue joint between the parietal bones and the frontal bone
SYN: absent frontoparietal suture
premature coronal suture closure (a child of premature cranial suture closure MP:0000081)
DEF: early closure of the coronal suture of the skull
SYN: coronal suture synostosis
SYN: frontoparietal suture synostosis
SYN: coronal suture craniosynostosis
SYN: frontoparietal suture craniosynostosis
SYN: coronal craniosynostosis
SYN: frontoparietal craniosynostosis
SYN: early fusion of coronal sutures
wide coronal suture (also a child of wide cranial sutures MP:0030029)
DEF: an abnormally increased width of the coronal suture for age-related norms
SYN: wide frontoparietal suture
SYN: broad coronal suture
SYN: broadened coronal suture
SYN: widened coronal suture
SYN: large coronal suture
SYN: wide spaced coronal suture

absent coronal suture MP:0030349
premature coronal suture closure MP:0030350
wide coronal suture MP:0030351


reset admin password

I reup haven:

stop and rm haven container
stop and rm etcd0 container
delete data dirs
up etcd0 and haven conteiners
But i canot login with admin/password
what am I doing wrong?

Follow command remove admin user of Haven system from etcd storage:
etcdctl rm /cluman/users/admin
after it you maybe need restart haven, and it will use default admin settings


Feature Request - Where-Object speed improvements

Summary of the new feature/enhancement
As it stands I've stopped using Where-Object in performance-related scenarios. I used it a lot when creating different scripts but then I found out it's actually 7-10x slower than simple foreach loop.
$UsersAll = Get-ADUser -Properties Manager, DisplayName, EmailAddress -Filter '*'
$UsersWithManagers = foreach ($User in $UsersAll) {
    $Manager = ($UsersAll | Where-Object { $User.Manager -eq $_.DistinguishedName })
    [PSCustomobject] @{
        SamAccountName = $User.SamAccountName
        Manager        = $User.Manager
        ManagerDisplay = $Manager.DisplayName
        ManagerEmail   = $Manager.EmailAddress
    }
}
$UsersWithManagers | Format-Table -AutoSize

This takes 7 minutes 54 seconds on a domain of size 4412 users. With foreach approach like this:
$UsersAll = Get-ADUser -Properties Manager, DisplayName, EmailAddress -Filter '*'
$UsersWithManagers = foreach ($User in $UsersAll) {
    $Manager = foreach ($_ in $UsersAll) {
        if ($User.Manager -eq $_.DistinguishedName) {
            $_
            break
        }
    }
    [PSCustomobject] @{
        SamAccountName = $User.SamAccountName
        Manager        = $User.Manager
        ManagerDisplay = $Manager.DisplayName
        ManagerEmail   = $Manager.EmailAddress
    }
}
$UsersWithManagers | Format-Table -AutoSize

It takes just 59 seconds. I ended up using hashtable for that particular problem (https://evotec.xyz/how-i-didnt-know-how-powerful-and-fast-hashtables-are/) but the main idea here is that Where-Object is just slow for larger loops.
It would be really cool to "fix" this in PowerShell 7 so Where-Object can once again be used as GO TO to solution for filtering stuff.

Related article https://learn-powershell.net/2015/02/20/a-look-at-filtering-performance-in-powershell/
I think there is 2 slow thinks:

pipeline itself
where-object internally

I guess we could transform Where-Object to Filter function and get up to 20x improvements.
The code reference
https://github.com/PowerShell/PowerShell/blob/94b6b6f4f7985be7c006c3eb87691992d872142a/src/System.Management.Automation/engine/InternalCommands.cs#L1632-L1643

I have also an example for this problem. If you use there Where-Object function of PowerShell it is slow. If you use the Linq function of the object you get twice the perfomance, with more or less the same code..

Point of clarity, that .Where() method has absolutely nothing to do with Linq; Linq extension methods aren't supported in PS and can't be used without accessing them directly as static methods (i.e., [System.Linq.Enumerable]::Where()). The method you're using is specific to PS's method binding, it's documented in the about_arrays help topic :)
But yeah, pipeline binding and processing has some overhead, for sure. 🙂


Fix bug in crucible-ci controller build job

This PR: https://github.com/perftool-incubator/crucible/pull/287
Spawned this workflow: https://github.com/perftool-incubator/crucible/actions/runs/4175006860
Which included this job: https://github.com/perftool-incubator/crucible/actions/runs/4175006860/jobs/7229341805
This was supposed to be building a Crucible controller based on Fedora 37 but it actually still built one based on Fedora 36.
Figure out why and fix it.


WASM : wasmtime/wamr/wavm support in official build

WASM: wasmtime/wamr/wavm support in official build
Description:
Official build of envoy does not support wasmtime/wamr/wavm runtime ( effectively making only v8 as active one ) .
Is there any specific reason why these are not supported in official build ?
Is it due to potential issues building them together in binary or security related issues ?
envoy.wasm.runtime.wamr: WAMR-based WebAssembly runtime. This runtime is not enabled in the official build.
envoy.wasm.runtime.wavm: WAVM-based WebAssembly runtime. This runtime is not enabled in the official build.
envoy.wasm.runtime.wasmtime: Wasmtime-based WebAssembly runtime. This runtime is not enabled in the official build.

AFIK the main barrier to wasm is it missing testing and docs.  cc @mpwarres @lizan as owners to comment more

@mpwarres @lizan - any thoughts ..? if I enable wasmtime as part of the build (in the envoy fork I am using) , do you see any security issue(s)/stability issues ?

On the proxy-wasm side, I'm not aware of issues with building the engines together (proxy-wasm-cpp-host supports a multiengine build config), or specific issues blocking those runtimes from being used. @PiotrSikora may know if there are any historical issues.
As @alyssawilk pointed out, we still need to improve documentation and testing before WasmFilter can move out of alpha.

AFIK the main barrier to wasm is it missing testing and docs. cc @mpwarres @lizan as owners to comment more

@alyssawilk I don't believe there was ever any issue with testing Wasm, since it had sufficient test coverage from the very first PR, and while the documentation is probably still missing, the lack of it applies the same to V8 as to the other Wasm engines.
As @mpwarres mentioned, there are no technical reason not to support them all in a single build, since we do that in Proxy-Wasm C++ Host, so it's really about justifying the need for the alternative Wasm engines in the official build... Why do you prefer Wasmtime instead of V8?

wasmtime seems to be faster compared to v8 ( and probably safer in terms of security as well)

it's really about justifying the need for the alternative Wasm engines in the official build.

my concern here would be increased build times, larger binaries, and larger potential attack surfaces - im wondering if there is realistically ever a need for more than one engine in a build

I don't think there is really a practical need for more than one engine in a build , but some may prefer one engine vs another due to various reasons .
<< larger potential attack surfaces >> This really depends on the kind of engine being used right ?

wasmtime seems to be faster compared to v8 ( and probably safer in terms of security as well)

Any data points?


Protected Resource Builder + MVC

Currently, header propagation middleware assumes the presence of an access token in a header. This is not true for cookie-based applications

Is there a way, even not official from the library, to do that? I'm building a mvc app and I really want to use this keycloak resource. I've tryied on some ways, but didn't work.
I used the source directly, trying to put the tokens on cookies and recover, but no success.

Hi @luylucas10 , it should be possible. The only issue is to find a valid token for exchange. Have you tried exchaing id_token?

Finally I have a solution.
This was the reference that I used: https://github.com/mderriey/aspnet-core-token-renewal/blob/master/src/MvcClient/Startup.cs
We still need the "DisableHeaderPropagation": true in the appsettings and our program.cs like this:
builder
    .Services
    .AddAuthentication(OpenIdConnectDefaults.AuthenticationScheme)
    .AddKeycloakWebApp(builder.Configuration.GetSection(KeycloakAuthenticationOptions.Section),
        configureOpenIdConnectOptions: options =>
        {
            options.SaveTokens = true;
            options.ResponseType = OpenIdConnectResponseType.Code;
            options.GetClaimsFromUserInfoEndpoint = true;
            options.MapInboundClaims = false;
            options.TokenValidationParameters.NameClaimType = JwtRegisteredClaimNames.Name;
            options.TokenValidationParameters.RoleClaimType = ClaimTypes.Role;
            options.Events = new OpenIdConnectEvents
            {
                OnSignedOutCallbackRedirect = context =>
                {
                    context.Response.Redirect("/");
                    context.HandleResponse();
                    return Task.CompletedTask;
                },
                // guess this is the needed configurationn
                OnTokenResponseReceived = context =>
                {
                    var identity = context?.Principal?.Identity as ClaimsIdentity;
                    identity?.AddClaims(new[]
                    {
                        new Claim("access_token", context.TokenEndpointResponse.AccessToken),
                        new Claim("id_token", context.TokenEndpointResponse.IdToken)
                    });
                   // makes cookie and token with same expiration
                    context.Properties.IsPersistent = true;
                    context.Properties.ExpiresUtc = new JwtSecurityToken(context.TokenEndpointResponse.AccessToken).ValidTo;
                    return Task.CompletedTask;
                }
            };
        });

builder
    .Services
    .AddAuthorization()
    .AddKeycloakAuthorization()
    .AddAuthorizationServer(builder.Configuration)
    .ConfigureHttpClient(async (provider, client) =>
    {
        // get the token from user cookie and put in the header
        var ctx = provider?.GetService<IHttpContextAccessor>()?.HttpContext;
        var header = new AuthenticationHeaderValue("Bearer", await ctx?.GetTokenAsync("access_token"));
        client.DefaultRequestHeaders.Authorization = header;
    });

Now I have the [ProtectedResource] working. Thank you for working on this integration for dotnet, I'll contribute, but for now, I have to speed up my personal project.

Awesome, I'm looking forward to your contribution. Looks good to me!


Grafana Panel Refresh Resets Chosen Buttons

I am making a panel to display various traces, this panel also receives live data via queries, my issue is that in this panel I have some buttons that alternate between displaying different combinations of the traces, however, when the panel is refreshed by Grafana, the selected button is forgotten and the graph returns to its default state making it necessary to re-click the button every time after a Grafana refresh.
Is there any way to navigate around this issue, and have the panel remember what buttons have been pressed even with a dashboard refresh?
Environment:

Grafana Version: 10.1.0
Plotly Plugin Version: 1.5.0

Hmm some example code might help, but my guess would be seeing if you are able to set a dashboard variable on button click (set &var-variable in the url see here). It's an interesting question, but the panel itself doesn't manage user selections beyond the defaults you set - that should be handled by Grafana's systems.

Currently my layout section button definition looks like this:
"updatemenus": [
{
"buttons": [
{
"args": [
{
"visible": [true, true, true, true, true, true, true, true],
}
],
"label": "Single and Max",
"method": "update"
},
I have created a dashboard variable called Test, and I am able to access its value in the script section of the panel to make changes on the graph like this:
let buttonPressed = variables.Test;
if (buttonPressed == 1){
//do something here
}
however im not sure how I can make my button change this Test variable to a specific number depending on the button im pression? I'm still new to plotly so maybe this is a very basic question, but I was wondering if you would know how to do it?

Hm yeah this is tricky. There's an onclick section, but I suppose if you're creating a button then you would need access to the Grafana functions that let you update the variables there.... Like here but we only expose those in the on click panel.

If you are able to make a public dashboard I could view it might be easier to diagnose how you would do this. @zemorg Have you tried my above suggestion?

Hello, I ended up making the dashboard variable selectable by the user, so this bypassed the need for buttons in the graph that would change it, maybe later I will try the buttons again. Thank you for the quick response, my apologies for taking up your time. I would say its alright to close this issue.

Okay great, thanks!


Auto-detect route reward colours (and provide index key to match)

Better than reward20 reward100 and so on

v3 has a MUCH better colour detection algorithm - providing an index key will be handled as a separate enhancement


Merge juicesync

juicesync was splitted out from juicefs, this PR add that back with history.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.5 out of 8 committers have signed the CLA.:white_check_mark: tangyoupeng:white_check_mark: davies:white_check_mark: chnliyong:white_check_mark: yujunz:white_check_mark: Suave:x: Arvintian:x: angristan:x: daybugYou have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.5 out of 8 committers have signed the CLA.:white_check_mark: tangyoupeng:white_check_mark: davies:white_check_mark: chnliyong:white_check_mark: yujunz:white_check_mark: Suave:x: Arvintian:x: angristan:x: daybugYou have signed the CLA already but the status is still pending? Let us recheck it.


createWindowsNotification doesn't add X-WNS-Type header when the message body has xml prolog

This method has been changed recently to replace contains checks with regex.
However a regex like "^<toast[\s\S]*>[\s\S]+$" does not match when the message body has a xml prolog. Also noted this regex seems correct in other languages.
ex message body from test send in Azure portal

<?xml version="1.0" encoding="utf-8"?>
<toast>
<visual><binding template="ToastText01">
<text id="1">Test message</text>
</binding>
</visual>
</toast>

Tried "\s*<toast[\s\S]*>[\s\S]+$" and it seems to work with java regex.

Closed as per #90


is there a possibility that the project will develop?

i am install on android termux and install vscode and  web-code.
Now i using only web-code.
Why ?
1 - I can work offline.
2 - There is nothing superfluous. (There is not much that is missing)
I would very much like this project to continue to develop.
Was it abandoned forever ?

It's abandoned sorry. Mostly because I don't need to use it any more, I use a local installation of https://github.com/cdr/code-server instead. It works in the same way but is better almost every way.

i use it too.  But I liked this project more.
You have a lot of interesting repositories.
Thank you for what you are))


Zoom on time scale

Background: https://airtable.com/tblD3oZPLJgGhCmch/viwINAgXA5on9pr2T/recRDiNUHNjTucgsa
PRs:

FYI, @amruta-ranade, this has been pushed to 1.3.

This has been moved to 2.2.


Music Doesn't Loop

If the end of the song is reached, the music should restart or choose a new random track.

Actually, I got that error first. So did you copy me?

The main developer is fixing this issue. Don't worry! It'll be done soon.

I've enabled looping for all music - fixed in commit ac8e94a


pageState property not available in response

When using the nodejs library for searching documents, the pageState property is not returned.  Without this property you can not page a larger result set.  It is available via the API, please see attached

I ran into the same problem. If I was returning a result set with more than 20 documents, how do we page through the result set?
Here is what I tried...

Login to the Astra console.
Create a new database and keyspace.
Create a token with Database Administrator rights and save the token value.
From a command prompt, create a directory.
Navigate into the directory and initialize it: npm init.
Install the @astrajs/collections module; npm install @astrajs/collections.
Install the @astrajs/collections module; npm install uuid.
Create a script with the following contents (adjust *** values):

const uuid = require('uuid')
const { createClient } = require("@astrajs/collections")

async function init() {
    const max_user_count = 1

    const name_namespace = '******'
    const name_collection = 'things'

    try {
        // Create a connection to `thinger`
        const client = await createClient({
            astraDatabaseId: "***",
            astraDatabaseRegion: "******",
            applicationToken: "***",
        })

        // Create a namespace and document collection
        const collection = client.namespace(name_namespace).collection(name_collection)

        // Dump a bunch of documents in the collection
        for (user_count = 0; user_count < max_user_count; user_count++) {
            const user = await collection.create({ name: uuid.v4(), })
        }

        // Pull back all documents - limited to the default of 20 per page
        const results = await collection.find({})
        //const results = await collection.find({}, {"page-size": 15})

        // How do we page through the result sets?
        console.log(results)

    } catch(error) {
        console.log(error)
    }
};

init()

Run the script: node ./script-name.js.

I could trim the results to fewer docs. I couldn't get more than 20-docs.
OS:

ProductName:	macOS
ProductVersion:	11.6
BuildVersion:	20G165

Environment:

Node.js v14.16.1
@astrajs/rest v0.2.1


disable/enable programmatically?

Hi
how to disable/enable slider programmatically?
Thank You in Advance...

After you call Slidr.attach(...) you are returned a SlidrInterface from which you can call .lock() or .unlock()


Created ColorWheel and GradientSeekbar

TO-DO
Table of Contents

[x] Identify the component the PR relates to in brackets in the title.
ColorWheel, GradientSeekbar
[x] Sign the CLA bot. You can do this once the pull request is opened.

Contributing
has more information and tips for a great pull request.

@zeobot set ebm, lc to pass


Blank notification message in Background mode that cannot be removed

Hello!
I have a problem. Despite the fact is running in silent mode i can see a notification when it goes on Background mode.
The notification has no text and i cannot swipe it. It always stay there.
It doesn't appear instantly, but some 10min later.
All the rest seems to be working fine. But i really need to resolve this or i cannot use the plugin.
Below there is a screenshot of the notification:

I am testing it on Android right now.
This is my code:
   cordova.plugins.backgroundMode.setDefaults({
		silent: true
	});

   cordova.plugins.backgroundMode.configure({
		silent: true
	});

	cordova.plugins.backgroundMode.enable();

	cordova.plugins.backgroundMode.onactivate = function ()
	{
		// my code
	}

	cordova.plugins.backgroundMode.ondeactivate = function ()
	{
		// other code
	}

Why is that?
There is something wrong in my code?
Thank you!

Supposedly it has to be there for Android, but you can set its title and image.

Purpose of silent mode is to not show app icon in notifications, even if it has title etc set.
I have exactly the same problem as described. App logo shows in notification, without ability to click/tap on it (it does nothing at all). Like proper background mode works.
It is not happening on all android phones but at lot of them. I don't know if it is android version/api specific. On my android 5.0 silent mode works as expected, but on others e.g. 4.0, 4.1, 4.4 and 5.1 it shows after 2-10 minutes app icon in notifications without text - not clickable.
I have title, ticker and text set besides silent: true.

The same for me

Anyone could fix this?

+1，i have the same problem

same here

I can confirm now, that it is happening when android force kills application due to low memory.
Can it be fixed?
Thanks.

delete  cordova.plugins.backgroundMode.configure({         silent: true     });  and try again. maybe it helps you

It still happens, why was the issue closed?

no idea..

@FrancescoMussi As far as I can remember I took a look on it: ef779d8f32ae63b619e22b4eeea5c3e78dfea8fd
I also cannot reproduce (anymore).

@FrancescoMussi As far as I can remember I took a look on it: ef779d8f32ae63b619e22b4eeea5c3e78dfea8fd
I also cannot reproduce (anymore).

Please re-open if still present with latest master branch (0.6.6)


Snake control is interrupted while hovering over other GUI elements

When the mouse cursor is on top of other GUI elements (so far confirmed: Chat window; Popup notifications), the snake will no longer react to the mouse, and instead go straight in its current direction.

I think the fix might be setting a high ZIndex on InputCapture? https://github.com/littensy/slither/blob/de627db1d63cfcbad476c1542d0e37c788b9b54b/src/client/app/common/input-capture.tsx#L14

Will require getting the mouse position some other way (useMouse from React hooks). To keep Hoarcekat working check if running in studio.

I think the fix might be setting a high ZIndex on InputCapture?
https://github.com/littensy/slither/blob/de627db1d63cfcbad476c1542d0e37c788b9b54b/src/client/app/common/input-capture.tsx#L14

I decided to have InputCapture use UserInputService instead of a Frame if it's being used in a running game. The original purpose of the component was to listen to user input events from the Hoarcekat plugin window, so it should be fine.


5/25 Publish

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-autogen/com.microsoft.azure.sdk.iot.device.transport.mqtt._mqtt.yml
:white_check_mark:Succeeded

docs-ref-autogen/com.microsoft.azure.sdk.iot.device.transport.mqtt._mqtt_iot_hub_connection.yml
:white_check_mark:Succeeded

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-autogen/com.microsoft.azure.sdk.iot.device.transport.mqtt._mqtt.yml
:white_check_mark:Succeeded

docs-ref-autogen/com.microsoft.azure.sdk.iot.device.transport.mqtt._mqtt_iot_hub_connection.yml
:white_check_mark:Succeeded

docs-ref-autogen/com.microsoft.azure.sdk.iot.service.transport._transport_utils.yml
:white_check_mark:Succeeded

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


Write logs to stderr

What would you like to be added:
Make it possible to write the logs to stderr.
Why is this needed:
The logs are not separate from the outfile data. So to make the following command work, some filtering is required:
kubectl rbac-tool viz --outformat dot --outfile - | dot -Tpng >foo.png

@dadav - thanks for the PR - i'll take a look later today


Fix passed download_config in HubDatasetModuleFactoryWithoutScript

Fix passed download_config in HubDatasetModuleFactoryWithoutScript.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


maven: (doc) add a note about automatic maven upgrades

This is motivated by #238746
When upgrading maven, we had to update the hashes of the first invocation of the double invocation methods of packaging maven projects. This was caused by the implicit versions of maven plugins changing with the Maven upgrade. This is not an issue when the versions of all relevant plugins are explicitly set in the Maven project.
I added the section below to the docs so that hopefully this will be less of an issue in the future.
I will approach the upstream devs of existing packages and ask them to explicitly set the versions of the plugins.

@wegank I'm still new here and there is no reviewer or assignee assigned automatically. Since you've been working on Maven lately, maybe you can have a look?


Making HttpContextWrapper support HttpContext.Current == null

Solution 1 for #2292 .
This will stop manual logging from failing for self hosted ASP.Net Web Api applications.
HttpContext information won't be logged in this case but at least it won't fail and Exception information will be logged.

Thanks! Waiting for green and merging.


The type property is a little bit confusing

The document says
type (string) – event type: 'click', 'mouseover', 'mouseout', 'mouseenter', 'mouseleave', 'mousedown', 'mousemove', 'mouseup', 'touchstart', 'touchmove', 'touchend', 'pointerdown', 'pointerup'

So it seems like it is possible to have a type to be a pointerdown or a pointerup. But after reading the codes I have found that it is impossible to be like that, because the pointer events use the mouse events' handlers (code is here), and the mouse events just fire mouseup and mousedown.
So it is a little bit confusing, this is what you think:
// A cube can have a "pointerdown" event because the document says so.
cube.addEventListener('pointerdown', (event) => {
  // ...
});

but this is what you actually have to do:
// Well I just have to use "mousedown" event.
// But this handler has been registered as "pointerdown" actually.
cube.addEventListener('mousedown', (event) => {
  // ...
});

So this is my suggestion:

Get rid of the pointerdown and pointerup from the document.
Fire pointerdown and pointerup when PointerEvent is supported.

Best wishes

@LancerComet, thank you for pointing this out! Sorry for my late reply. I was pretty busy in the past few weeks. I will look into it, hopefully in the next few days, and get back here.

@LancerComet, now I'm firing pointer events additionally when they are supported: Release 1.5.0
Thanks again. Let me know, if there are any bugs.


Update to embedded_hal 1.0.

Update to the alpha version of embedded_hal 1.0.0. Also depend on linux_embedded_hal to deduplicate some code.

Thanks for submitting this PR! Looks good to me. There are two points I'd like to see addressed before I can merge this though:

0.2.x compatibility has been removed, which will cause issues with older/abandoned crates. I'd prefer to keep both around at least until after the full 1.0.0 release to give everyone more time to transition. Here is an example of how to support both.
Adding a dependency for linux_embedded_hal (and all of its dependencies) feels unnecessary just for the Delay implementation, considering it just uses thread::sleep() like rppal currently does, and our implementation is scheduled for a rewrite as mentioned in #40, at which point the dependency would have to be removed anyway.

I'm happy to schedule some time for myself, merge your PR as-is and implement these changes. If you're up for addressing them yourself that'd be great too. In that case let me know so we don't end up both doing the same thing. :)

I re-added the implementations for 0.2.x compatibility, except for Delay, which I'll leave up to you.

Ok, I now also re-added Delay using spin_sleep.

Awesome! Thanks for implementing the changes.


Variables not exported

There are variables, such as transformations inside of serialize.js that need to be able to be accessed, but are not able to be currently, due to the structure of index.js, which only exports the default exports of each file.

Fixed in https://github.com/mavoweb/vastly/commit/03289b62ac44235db7db1703977b91a357e66604


Support responses with both error messages and stack traces

The HCS now can accept stack trace information in the ErrorRecord
struct. As a result, the GCS should provide that information back on
error.

@beweedon,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


TEST-#6705: Don't compare pkl files

What do these changes do?

[x] first commit message and PR title follow format outlined here

NOTE:  If you edit the PR title to match this format, you need to add another commit (even if it's empty) or amend your last commit for the CI job that checks the PR title to pick up the new PR title.

[x] passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] signed commit with git commit -s
[x] Resolves #6705
[x] tests added and passing
[x] module layout described at docs/development/architecture.rst is up-to-date

@dchigarev could we merge it?


In a console controller response->setErrorCode is replace by ConsoleModel

When using $this->response->setErrorCode(..) in a console controller, after returning a string for output or a ConsoleModel, errorCode is set to "null" in meta response message.
Property $response is not really usable.

I've figured out why. At some point, we introduced Zend\Mvc\ResponseSender\ConsoleResponseSender, and, at that time, deprecated the usage of Zend\Console\Response::send() — as in, we no longer call it. That method had an exit($errorLevel) call in it which was responsible for setting the exit status code; the "new" response sender does not call exit.
To get the behavior you want, you need to use Zend\View\Model\ConsoleModel:
// Inside your console action method; make sure you import the class!
$output = new ConsoleModel();
$output->setErrorLevel(-15);
$output->setResult("done!");
return $output;

This works correctly. One note: most shells will not deal with negative numbers for statuses, and will instead subtract that number for the maximum status; -15 becomes 241.


Include Traceroute command in the run image

Hello Team,
Can we please include the traceroute  command in the run image ?
It will be easy to troubleshoot the network and FW related issue.
-Sameer

can anybody help here ?

See conversation on https://github.com/paketo-buildpacks/jammy-full-stack/issues/139


Remove remaining data gen references

Cleans up README (docs)
Removes pandas dependency leftover from dbldatagen
Removes some leftover SparkModel attrs from data gen

I knew I'd miss something 😂
Thanks!


Circumvent rust build regression

https://github.com/rust-lang/rust/issues/78549 is currently blocking build with latest nightly. Even though that issue is getting fixed, this PR circumvents it and makes builds work again.
This fixes https://github.com/rust-lang/rust/issues/78341 and should allow https://github.com/rust-lang/rustfmt/pull/4503 and others to proceed.

The issue has been fixed upstream.