Workbook title incorrect?

Open Azure Virtual Desktop Insights in the Azure portal at aka.ms/avdi, then select configuration workbook.

There is nothing called "configuration workbook" - think this should say "Check Configuration" as that seems to be the name of the configuration workbook. Or else it should say "select the configuration workbook", though it would be helpful to indicate that it's called "Check Configuration"

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

ID: eb1a4257-3a78-0415-3c91-63619eb9bd35
Version Independent ID: c651b8a0-49d0-4e9d-866b-f7841f8c1eb2
Content: Use Azure Virtual Desktop Insights to monitor your deployment - Azure
Content Source: articles/virtual-desktop/insights.md
Service: virtual-desktop
GitHub Login: @Heidilohr
Microsoft Alias: helohr

@uowdaniel
Thanks for reporting this! We have created a PR for this issue and the changes should go live soon.


Windows: Implement crypto functions for host on BCrypt

The host side implementation of crypto functions (other than hashing) are all not yet implemented. This means that features such as loading unsigned debug enclaves, which test sign during loading, will fail.
This also includes enabling the following tests for enclaves on Windows:

crypto
crypto_crls_cert_chains
mbed

This has a dependency on #839 as mbedtls has a dependency on CPUID in enclaves which OE provides through handling the illegal instruction exception.
This is related to the #1003 in terms of the broader crypto API refactor.

mbed test has been enabled on Windows (PR #1372 )


Disable router LED

Koenkk/zigbee2mqtt#836
This was closed without solution. The CC2531 on router firmware has a red LED flashing every couple seconds.

Please create this issue here: https://github.com/ptvoinfo/zigbee-configurable-firmware (since the firmware is maintained there)


The shortcut keys set using ohmytmux take effect, but the style is still the default style.

version:

Ubuntu22
tmux 3.2a
the output of "cut -c3- ~/.tmux.conf | sh -sx _apply_configuration"

+ :
+ set -e
+ unset GREP_OPTIONS
+ export LC_NUMERIC=C
+ set +H
+ printf
+ sed -E s///
+ uname -s
+ _uname_s=Linux
+ [ -z /tmp/tmux-501/default,2196,0 ]
+ [ -z  ]
+ printf %s /tmp/tmux-501/default,2196,0
+ cut -d, -f1
+ TMUX_SOCKET=/tmp/tmux-501/default
+ [ -z  ]
+ printf %s /tmp/tmux-501/default,2196,0
+ cut -d, -f2
+ TMUX_PID=2196
+ perl -n -e if (s/^n((?:.(?!dylib$|so$))+)$/\1/g) { print; exit } } exit 1; {
+ lsof -b -w -a -d txt -p 2196 -Fn
+ readlink /proc/2196/exe
+ TMUX_PROGRAM=/mnt/rv/[rosetta]
+ [ /mnt/rv/[rosetta] = tmux ]
+ tmux -V
+ awk {gsub(/[^0-9.]/, "", $2); print ($2+0) * 100}
+ /mnt/rv/[rosetta] -S /tmp/tmux-501/default -V
sh: 199: /mnt/rv/[rosetta]: not found
+ _tmux_version=
+ command -v pkill
+ _apply_configuration
+ tmux display -p #{window_active}
+ true
+ window_active=
+ [ -z  ]
+ command -v perl
+ command -v sed
+ command -v awk
+ [  -lt 260 ]
sh: 1687: [: Illegal number:
+ _apply_tmux_256color
+ tmux show -gv default-terminal
+ /mnt/rv/[rosetta] -S /tmp/tmux-501/default show -gv default-terminal
sh: 199: /mnt/rv/[rosetta]: not found
+ command infocmp -x tmux-256color
+ tmux set -g default-terminal tmux-256color
+ /mnt/rv/[rosetta] -S /tmp/tmux-501/default set -g default-terminal tmux-256color
sh: 199: /mnt/rv/[rosetta]: not found

Hello @yjcup 👋
For some reason the detection logic believes that the path to the tmux binary is /mnt/rv/[rosetta].

Are you using Vagrant or Virtualbox on Apple Silicon by chance?
If you don't use Oh my tmux! and you launch a tmux session, then type:
$ readlink "/proc/$(tmux display -p '#{pid}')/exe"

What does it print?

And the output of this command please
$ lsof -b -w -a -d txt -p $(tmux display -p '#{pid}') -Fn

Yes, my computer is an M2 mac, but I use ubuntu22 with x86 architecture on it through docker
yjc@ubuntux86:~$ readlink "/proc/$(tmux display -p '#{pid}')/exe"
/mnt/rv/[rosetta]
yjc@ubuntux86:~$ lsof -b -w -a -d txt -p $(tmux display -p '#{pid}') -Fn
p8932
ftxt
n/mnt/rv/[rosetta]

Are you using Vagrant or Virtualbox on Apple Silicon by chance?
If you don't use Oh my tmux! and you launch a tmux session, then type:
$ readlink "/proc/$(tmux display -p '#{pid}')/exe"

What does it print?

Yes, my computer is an M2 mac, but I use ubuntu22 with x86 architecture on it through docker
yjc@ubuntux86:~$ readlink "/proc/$(tmux display -p '#{pid}')/exe"
/mnt/rv/[rosetta]
yjc@ubuntux86:~$ lsof -b -w -a -d txt -p $(tmux display -p '#{pid}') -Fn
p8932
ftxt
n/mnt/rv/[rosetta]

This is what I believed, this is really broken.
What if you issue
$ ps aux | grep tmux

?

This is what I believed, this is really broken.
What if you issue
$ ps aux | grep tmux

?

yjc@ubuntux86:~$ ps aux | grep tmux
yjc         9301  0.0  0.0 1200328 4224 pts/1    S+   19:53   0:00 [rosetta] /usr/bin/grep grep --color=auto tmux

I mean when tmux is running 🙂
But in any case I'm much surprised neither readlink nor lsof work

I mean when tmux is running 🙂
But in any case I'm much surprised neither readlink nor lsof work

Okay, I have already configured it through tmux.conf, and it works pretty well now

Okay, I have already configured it through tmux.conf, and it works pretty well now
What do you mean?

If possible,
Could you please undo your changes and see if the gh-737 branch helps?

I revoked the previous configuration, and then git clone https://github.com/gpakosz/.tmux.git -b gh-737,
after entering tmux,source ~/.tmux.conf
'TMUX_PROGRAM="$(LSOF=$(PATH="$PATH:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" command -v lsof[0/0]
SOF -b -w -a -d txt -p 1892 -Fn 2>/dev/null | perl -n -e "if (s/^n((?:.(?!dylib$|so$))+)$/\1/g && s/(?
:\s+\([^\s]+?\))?$//g) { print; exit } } exit 1; {" || readlink "/proc/1892/exe" 2>/dev/null)"; [ -f "
$TMUX_PROGRAM" ] || TMUX_PROGRAM="$(command -v tmux || printf tmux); "$TMUX_PROGRAM" -S /tmp/tmux-501/
default set-environment -g TMUX_PROGRAM "$TMUX_PROGRAM"' returned 2
'"$TMUX_PROGRAM" -S /tmp/tmux-501/default set-environment -g TMUX_SOCKET "/tmp/tmux-501/default"' retu
rned 127
'"$TMUX_PROGRAM" set-environment -g TMUX_CONF $(for conf in "$HOME/.tmux.conf" "$XDG_CONFIG_HOME/tmux/
tmux.conf" "$HOME/.config/tmux/tmux.conf"; do [ -f "$conf" ] && printf "%s" "$conf" && break; done)' r
eturned 127
'"$TMUX_PROGRAM" set-environment -g TMUX_CONF_LOCAL "$TMUX_CONF.local"' returned 127
'"$TMUX_PROGRAM" source "$TMUX_CONF_LOCAL"' returned 127

If possible,
Could you please undo your changes and see if the gh-737 branch helps?

I revoked the previous configuration, and then git clone https://github.com/gpakosz/.tmux.git -b gh-737,
after entering tmux,source ~/.tmux.conf
'TMUX_PROGRAM="$(LSOF=$(PATH="$PATH:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" command -v lsof[0/0]
SOF -b -w -a -d txt -p 1892 -Fn 2>/dev/null | perl -n -e "if (s/^n((?:.(?!dylib$|so$))+)$/\1/g && s/(?
:\s+\([^\s]+?\))?$//g) { print; exit } } exit 1; {" || readlink "/proc/1892/exe" 2>/dev/null)"; [ -f "
$TMUX_PROGRAM" ] || TMUX_PROGRAM="$(command -v tmux || printf tmux); "$TMUX_PROGRAM" -S /tmp/tmux-501/
default set-environment -g TMUX_PROGRAM "$TMUX_PROGRAM"' returned 2
'"$TMUX_PROGRAM" -S /tmp/tmux-501/default set-environment -g TMUX_SOCKET "/tmp/tmux-501/default"' retu
rned 127
'"$TMUX_PROGRAM" set-environment -g TMUX_CONF $(for conf in "$HOME/.tmux.conf" "$XDG_CONFIG_HOME/tmux/
tmux.conf" "$HOME/.config/tmux/tmux.conf"; do [ -f "$conf" ] && printf "%s" "$conf" && break; done)' r
eturned 127
'"$TMUX_PROGRAM" set-environment -g TMUX_CONF_LOCAL "$TMUX_CONF.local"' returned 127
'"$TMUX_PROGRAM" source "$TMUX_CONF_LOCAL"' returned 127

I'm sorry I made a typo, I pushed in the gh-737 branch again.
The part I added is [ -f "$TMUX_PROGRAM" ] || TMUX_PROGRAM="$(command -v tmux || printf tmux)".

In your case, after having successfully run lsof, TMUX_PROGRAM will be set to mnt/rv/[rosetta]
Which will fail the `[ -f "$TMUX_PROGRAM" ] test because that file doesn't exist
And in turn TMUX_PROGRAM will be set to the output of command -v tmux
And if command -v test, TMUX_PROGRAM will be set to just "tmux"

Could you please try again?

I'm sorry I made a typo, I pushed in the gh-737 branch again.
The part I added is [ -f "$TMUX_PROGRAM" ] || TMUX_PROGRAM="$(command -v tmux || printf tmux)".

In your case, after having successfully run lsof, TMUX_PROGRAM will be set to mnt/rv/[rosetta]
Which will fail the `[ -f "$TMUX_PROGRAM" ] test because that file doesn't exist
And in turn TMUX_PROGRAM will be set to the output of command -v tmux
And if command -v test, TMUX_PROGRAM will be set to just "tmux"

Could you please try again?

The configuration is working properly and it feels great👍. Thank you

Thanks so much for testing.
I'll keep this issue open until I merge this workaround


LUCENE-10313: drop log4j from luke

I made minor follow-ups. https://github.com/apache/lucene/pull/546
I will merge it tomorrow if there is no objection or comment.


Toxicity when contributing to FreeCodeCamp

I want to support the FreeCodeCamp by submitting Issues and Pull Requests but I don't feel comfortable doing so anymore.
When I asked for a source for something which seemed to me like wrong information, the pull request was promptly closed without any further discussion.
When gave my opinion on an issue I was told that I should take it away from any discussion. It's fine if there is a disagreement and someone says that they disagree, but it's not fine to tell someone "Go Away. You're not welcome here. Your comment is irrelevant" - which is what the whole thread in #37988 feels like to me.
I don't think it should be this way.
Kind Regards
Simon Siefke
cc @QuincyLarson

Sorry you feel that way @SimonSiefke, your contributions are certainly welcome. Seems like your PR was closed because it wasn't the approach we were looking for. The issue looks like it's still open for discussion and something can still potentially be done with it.

it's not fine to tell someone "Go Away. You're not welcome here. Your comment is irrelevant" - which is what the whole thread in #37988 feels like to me.

What you feel and what was actually said are two different things. I see some disagreements, but not anyone telling you any of those things - it seems mostly polite to me, but not very productive and got off topic.
I do know that issues aren't for sharing your frustrations with other contributors, so it should not have been opened. Thanks.

Hi @SimonSiefke thanks once again for your feedback.
I am a staff member here at freeCodeCamp.org,  I look after the technology stack and I am also responsible for all the Open Source projects by the org on GitHub. I am at the liberty of speaking on the behalf of my team, and I believe all the moderators active on freeCodeCamp.org
Our community is built on the foundation of friendly, welcoming and open values. Our code of conduct (hardly takes 2 mins to read) reflects and enforces that. Our 3K+ contributors especially a majority of them being first timers to open source know that.
I am sorry if you feel otherwise. However, we want to make it absolutely clear that we are not sorry for any of the actions on the pull request or the issue thread.
We remain objective while making a decision. And as staff or mods we do not things lightly.
As community leaders we have been well seasoned in agreeing to disagree, and especially when we disagree on something.
As per our discretion the PR was welcome but rushed, we would not have merged it as is without additional discussion on the issue thread.
The issue threads are not a place to debate. It's a place to propose constructive solutions. As per our discretion we found it to be going off topic, and we decided to request for additional comments and interest from the community.
We found, even after that you proceeded to comment that we found again at our best judgement to be off topic.
We find this issue thread to be off topic as well and a waste of everyone's time than helping provide the community the resources it needs.
You are welcome to write to us at these emails<EMAIL_ADDRESS><EMAIL_ADDRESS>and<EMAIL_ADDRESS>


Create all Ui:s from a parent Ui

Summary
I would like each egui viewport (read: native window) to have a single root Ui that covers the entire available space.
The user can then add egui::Windows to this Ui, as well as sub-divide it using panels.
The root Ui would have no background color, and no margin.
To get that, the user can use a Frame.
Benefits
The Context::create_viewport* functions coming in https://github.com/emilk/egui/pull/3172 would likewise return a Ui.
If possible, these Uis will fill a new native window, and otherwise they will instead fill an egui::Window floating on top of the parent viewport. This makes their interfacer a lot simpler. Basically ctx.create_viewport(…, |ui| ui.label("Hello World")); would show the new ui either in a separate native window (if the backend supports it), or fall back to a egui::Window if not.
We can also simplify panels.
CentralPanel can be removed (replaced by Frame) and the show/show_inside dichotomy would disappear.
Area and Window should float on top of the entire viewport by default, and a user should be able to create them at any time.
Current behavior
There are currently a few different ways to create a Ui from a Context:

Panels (CentralPanel, SidePanel, TopBottomPanel)
Area an Window
Ui::new

For instance, SidePanel::left(…).show(ctx, |ui| { … }).
The panels also have special show_inside functions to use them inside another Ui: SidePanel::left(…).show_inside(ui, |ui| { … }).

From my point of view the Context::create_viewport* is like a internal!
The egui::Window should have an embedded property and based on that try to create a viewport!

This sounds really useful, would this allow crates to ship a egui 'ui' that the user can then provide a window/viewport to render it in?


types: Add tagged type unions for channel types

Please describe the changes this PR makes and why it should be merged:
Closes #61
Reference Discord API Docs PRs or commits:
https://discord.com/developers/docs/resources/channel#channel-object-channel-types

as well as the same change in v8 :D

😦

So I tried my best to integrate the changes you requested, let me know if there's anything else.
Also if you need to test the typings I'm using this file to verify everything is working as expected:
/* eslint-disable @typescript-eslint/no-unused-vars */
import { APIChannel, ChannelType } from '.';

const guildTextChannel: APIChannel = {
	id: '12',
	type: ChannelType.GuildText,
	name: 'general',
	position: 6,
	permission_overwrites: [],
	rate_limit_per_user: 2,
	nsfw: true,
	topic: 'topic',
	last_message_id: '12',
	default_auto_archive_duration: 60,
};

const guildNewsChannel: APIChannel = {
	id: '12',
	type: ChannelType.GuildNews,
	name: 'general',
	position: 6,
	permission_overwrites: [],
	nsfw: true,
	topic: 'topic',
	last_message_id: '12',
	default_auto_archive_duration: 60,
};

const guildNewsThread: APIChannel = {
	id: '12',
	type: ChannelType.GuildNewsThread,
	name: 'general',
	position: 6,
	permission_overwrites: [],
	nsfw: true,
	last_message_id: '12',
	thread_metadata: {
		archived: false,
		auto_archive_duration: 1440,
		archive_timestamp: 'date',
		locked: false,
	},
};

const guildVoiceChannel: APIChannel = {
	id: '12',
	type: ChannelType.GuildVoice,
	name: 'general',
	position: 6,
	permission_overwrites: [],
	nsfw: true,
	bitrate: 64000,
	user_limit: 0,
	parent_id: null,
	rtc_region: null,
};

const DMChannel: APIChannel = {
	id: '12',
	type: ChannelType.DM,
	recipients: [],
	last_message_id: '12',
};

const groupDMChannel: APIChannel = {
	id: '12',
	type: ChannelType.GroupDM,
	recipients: [],
	last_message_id: '12',
	owner_id: '12',
	icon: null,
};

const categoryChannel: APIChannel = {
	id: '12',
	type: ChannelType.GuildCategory,
	name: 'general',
	position: 6,
	permission_overwrites: [],
	nsfw: true,
};

const storeChannel: APIChannel = {
	id: '12',
	type: ChannelType.GuildStore,
	name: 'general',
	position: 6,
	permission_overwrites: [],
	nsfw: true,
	parent_id: null,
};

const threadChannel: APIChannel = {
	id: '12',
	guild_id: '12',
	owner_id: '12',
	parent_id: '12',
	name: 'general',
	type: ChannelType.GuildPublicThread,
	last_message_id: '12',
	member_count: 1,
	message_count: 5,
	rate_limit_per_user: 2,
	thread_metadata: {
		archived: false,
		auto_archive_duration: 1440,
		archive_timestamp: 'date',
		locked: false,
	},
};

So v8 will pretty much be the same, just without the threads right?

Yep yep

as removing those .DS_store files

Could probably add them to the .gitignore?

Well what do you know, the curse follows everyone as this PR needs a rebase


SDKs don't work OOB - assume v2 API

Describe the bug
API in the zep server binds routes to /api/v1, yet the SDKs (python and ts) use /api/v2
The API reference at https://help.getzep.com/api-reference/document/updates-a-document-in-a-documentcollection-by-uuid also refers to v2
Should we assume that the SDKs are not meant to be used with the server?

@mrmichaeladavis Hi, we released support for Zep Cloud (v2 apis) in Release candidates (rc) versions of sdks. Also the documentation website points to Zep Cloud, not Zep Open Source. You can still use our Python and Typescript SDKs with Zep Open Source Server if you install their stable versions (v1.5.0 for Python and v0.10.0 for Typescript)

Also Please refer to Zep Open Source docs if not using Cloud

Thanks, didnt realize I moved my sdk to rc, appreciate it!


[defcon] gifs are broken

Reported by Kyle#8110 on 07/15/2017

Fixed in v2 and v3. Discord decided to start hating the transparency in my gifs. New version has a solid black background and looks great.


derived type is not a subtype of base type in generics funciton

derive type is not a subtype of base type
function cast input parameter type to base type error
import 'package:flutter_test/flutter_test.dart';

class A {} //base type

class B extends A {} //derived type

typedef FNI<T extends A> = void Function(T); //input parameter function
typedef FNR<T extends A> = T Function(); //return value function

void main() {
  ///derived type is not a subtype of base type
  testWidgets('function cast (input parameter/return value) type to base type',
      (WidgetTester tester) async {
    A a1 = A();
    A a2 = B(); // OK
    // B b1 = A(); // error
    B b2 = B();

    ///input type cast
    FNI<A> fn1 = (A a) {};
    FNI<A> fn2 = (B b) {} as FNI<A>; // error! why?
    FNI<B> fn3 = (A a) {}; // success! why?
    FNI<B> fn4 = (B b) {};

    ///return type cast
    FNR<A> fn5 = () => A();
    FNR<A> fn6 = () => B();
    // FN2<B> fn7 = () => A(); // error
    FNR<B> fn8 = () => B();

    expect(a1, isA<A>());
    expect(a2, isA<A>());
    // expect(b1, isA<A>());
    expect(b2, isA<A>());

    expect(fn1, isA<FNI<A>>());
    expect(fn2, isA<FNI<A>>());
    expect(fn3, isA<FNI<A>>());
    expect(fn4, isA<FNI<A>>());

    expect(fn5, isA<FNR<A>>());
    expect(fn6, isA<FNR<A>>());
    // expect(fn7, isA<FN2<A>>());
    expect(fn8, isA<FNR<A>>());
  });
}

@MinuteReversal
I think this issue need to be reported in dedicated repo https://github.com/dart-lang/language/issues
Closing from here as this seems to be related to Dart.


Orion

Addon Manifest URL
https://5a0d1888fa64-orion.baby-beamup.club/manifest.json
Addon Description
Orion Stremio Addon, allows Orion-indexed torrent, usenet and hoster links to be played on Stremio. Cached links can be played with RealDebrid, AllDebrid, Debrid-Link, Premiumize or Offcloud. Torrents can be streamed without using any Debrid service. Orion API key is required to use this addon. Get it from panel.orionoid.com

This addon is underrated, I have seen many say that it's the next best thing after Torrentio for streams.

After a few search results it stops, working it says you have no more credits or something like that

Is not working

Just got a Offcloud account and used Orion to add my API key and confirm it all but all I'm getting in stremio is ERROR! No streams found and ERROR! Duplicate request: multiple similar requests were made within a short time period. I tried a few movies and series but this is the best I get from it. And seen the previous comment... Is Orion still working? :)

After a few search results it stops, working it says you have no more credits or something like that

Yes, 100 results/day for free accounts.

Not sure if this is the right place to ask but, why is there 2 (or 3?) versions of Orion showing up in Stremio? Is it some sorta bug on Stremio?
I set up both with RD etc. and it shows some Orion links on Stremio, however there's this one that always says "Error! duplicate request etc.", am i missing something?
Hope someone can clear this confusion. Thanks in advance!

did the DEV abandon this add on ?

Best add on because it rarely goes down ❤


Show progress

What / Why
Give a callback when compress to report the progress of the file compressing or extracting.
Like a percentage or the bytes that has been written
Some
Where
npm public registry
Current Behavior
To do that currently is so verbose, is good to have a own tool from the official repository.
Expected Behavior
Whenever the callback is called, return a progress event, in that progress event show percentage or the bytes written so far.
References
Like that option has in https://www.npmjs.com/package/@google-cloud/storage

Sorry, that is not a priority for this module, which is purely concerned with handling bytes, not visuals.
I recommend using an onentry event to get at the entry objects as they are created, or some other stream-progress type module out there.


Fix devcontainer configuration

I wanted to try some changes to turbo source on to get myself started quickly I tried using the devcontainer setup but it didn't work. So instead I spent the time debugging that issue.
The devcontainer was no longer working since chrome version 115 because location of installation files changed. See comment on: https://chromedriver.chromium.org/downloads
However we don't need to build it ourselves since Microsoft maintains docker images with playwright preinstalled with chrome, firefox and webkit.
This means that we can simplify the setup a lot while still keeping the goal of allowing people to get an environment in which they can run tests by simply starting a devcontainer or running a Github codespace.
I've just tested this now by launching a github codespace from this here branch on my fork. After waiting a bit, I was able to just write yarn test and it worked. (~Strangely there were a few tests that failed.~ They were flaky, the runner re-ran them and they passed and where flagged as flaky by the runner)

@robzolkos is there anything else needed to merge this?

@robzolkos is there anything else needed to merge this?

Jut the attention of a maintainer.  This cleans things up a fair bit.

@brunoprietog I've updated the PR.
I also had to slightly bump @playwright/test to 1.30.0 because we already had playwright-core at both 1.28.0 and 1.30.0 through different dependency chains, causing issues. Unit test were trying to run with 1.28 and browser tests with 1.30 which is a problem when the docker image has just one playwright build.
Playwright should probably also be bumped to latest, 1.45.3. I'm happy to do that as well but I concluded it's best left for next PR, to limit the scope of this one.

Happy to see a PR updating Playwright! Maybe it will be helpful in reducing some flaky tests


Unable to Configure in Aeon Nox 5 Skin

I love this add-on but was wondering if there was a way to configure in Aeon Nox 5.  Currently in order to adjust any settings I have to switch to Estuary skin to make any configuration changes.  I want to be able to change the viewmode in Aeon Nox 5 so that I a can get plot iinfortmation. I am trying to set the viewmode to tripanel.  I enabled custom views and changed the viewmode id within the add-on settings but nothing happens.  I also tried editing the MyVideoNav.xml in my skin folder without success.
This is running on Windows 10 64bit OS and I am running Kodi 18 alpha.
Any help wold be greatly appreciated.

Sounds like t's a incompatibility between aeon nox and kodi 18... I use Estuary mod and the settings look fine.


Fix non-POSIX activation/deactivation scripts.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] 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)
[x] Ensured the license file is being packaged.

These scripts are sourced from the shell hook during conda activation, so they need to run under any shell supported by that hook.  The shebang line is ignored when a script is sourced and not executed with exec().
In particular, these scripts fail under dash, which is the default /bin/sh under Ubuntu 20.04 LTS.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

Failed to even lint the recipe, probably because of a conda-smithy bug :cry:. This likely indicates a problem in your meta.yaml, though. To get a traceback to help figure out what's going on, install conda-smithy and run conda smithy recipe-lint . from the recipe directory.

No idea what's going on with the linter.  I'll leave that for the experts...

@conda-forge-admin relint

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

Failed to even lint the recipe, probably because of a conda-smithy bug :cry:. This likely indicates a problem in your meta.yaml, though. To get a traceback to help figure out what's going on, install conda-smithy and run conda smithy recipe-lint . from the recipe directory.

@conda-forge-admin relint

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

Failed to even lint the recipe, probably because of a conda-smithy bug :cry:. This likely indicates a problem in your meta.yaml, though. To get a traceback to help figure out what's going on, install conda-smithy and run conda smithy recipe-lint . from the recipe directory.

The linting passes locally but our web server is reporting
LINTING ERROR: 'CommentedSeq' object has no attribute 'get'

@conda-forge-admin relint

@conda-forge-admin relint

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

Failed to even lint the recipe, probably because of a conda-smithy bug :cry:. This likely indicates a problem in your meta.yaml, though. To get a traceback to help figure out what's going on, install conda-smithy and run conda smithy recipe-lint . from the recipe directory.

@conda-forge-admin relint

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.


Initializer for ctype 'char[]' must be a bytes or list or tuple, not str

Hello,
I try to sing up XML file with signxml library. I extract certificate (publicCert.pem) and privatekey (privateKey.pem) from .p12 file over openssl.
The sample code:

from signxml import XMLSigner
import xml.etree.ElementTree as ET
cert = open("publicCert.pem").read()
key = open("privateKey.pem").read()
data_to_sign = open("data.xml").read()
root = ET.fromstring(data_to_sign)
signed_root = XMLSigner().sign(root, key=key, cert=cert)

Give me the error: Initializer for ctype 'char[]' must be a bytes or list or tuple, not str.
I am so sorry for basic ignorance of the problem, but I am a newcomer in this area. I will be very grateful for every advice.
Martin

Is still an issue for you @harmonik001 ?  I was getting this error if I tried supplying the key, cert to the XMLSigner.sign() method as a string.  If you read the file as bytes I think it should do the trick. open("publicCert.pem", "rb")

I was bitten by this, also.
either:
cert = open("example.pem").read().encode()

or
cert = open("example.pem", "rb").read()

will work, but I strongly suggest to update documentation.

Addressed the bytes vs. string issue for keys in cfc566d4ad29106337d0d29ea8022daa607455c4. The certificate was already accepted as either bytes or string.
Your most recent issue is due to not configuring the verification procedure correctly to use your self-signed cert. Added documentation in the synopsis on how to properly do that.


Fix tensor data loading on big-endian targets

This is a proof of concept of how a solution for #455 might look like.
We make InitializeTfLiteTensorFromFlatbuffer and InitializeTfLiteEvalTensorFromFlatbuffer use FlatBufferVectorToTfLiteTypeArray instead of directly assigning a pointer into FlatBuffer data to the tensor's data field.
This does not fully solve the problem, because it only handles int32s (so, as it stands, big-endian targets will be able to correctly read all 8-bit types and int32), but it's enough to get the hello_world example to run and give correct outputs on SPARC (leon3).

Per https://github.com/tensorflow/tflite-micro/issues/304, I would like to avoid adding this complexity into the TFLM inference engine.
Rather, my preference here would be to add a separate pre-processing tool that converts the flatbuffer to big endian and be able to assume that the endianness of the flatbuffer is the same as the target that the inference is being run on.

Hey @advaitjain , as discussed with @petewarden we'll leave it hanging for a while until you discuss the best way forward. The problem is there and the solution is, clearly, not generic (focusing on int32), so we'll proceed according to what you decide

@googlebot I fixed it.

closing this PR due to https://github.com/tensorflow/tflite-micro/issues/455#issuecomment-971923810


fio benchmark test makes minikube unresponsive

version: today's master branch of snafu and ripsaw
Fedora 30, minikube version: v1.4.0
when I run
bash -x tests/test_fiod.sh

from a freshly installed minikube and a freshly installed ripsaw, it times out with this error:
Logs from fio-client-5ee9f432-wbgg2
+ kubectl -n my-ripsaw logs --tail=40 fio-client-5ee9f432-wbgg2
Unable to connect to the server: net/http: TLS handshake timeout
++ error
++ echo 'Error caught. Dumping logs before exiting'
Error caught. Dumping logs before exiting
++ echo 'Benchmark operator Logs'
Benchmark operator Logs
++ kubectl -n my-ripsaw logs --tail=40 -l name=benchmark-operator -c benchmark-operator
error: expected 'logs (POD | TYPE/NAME) [CONTAINER_NAME]'.
POD or TYPE/NAME is a required argument for the logs command

and minikube becomes unresponsive for any command accessing the kube api, such as "kubectl get nodes".   This has nothing to do with run_snafu.py, because minikube should not become unresponsive if a benchmark fails.

some of it was UBD, I was using minishift client with minikube server, I switched to minikube now, and gave the VM 8 GB RAM, it still fails but minikube does not become unresponsive.  Rerunning test_fiod.sh now without deleting CRs at the end so that I can see what was going on.

And 2nd time I ran test_fiod.sh, it ran successfully, so I'm closing this.   Maybe first time it fails because some quay.io thing fails to load fast enough?


FastAPI Tutorial: Give some more background on Redis

Testing #22302
I'm looking at the 'Replace the database' section. I'm new to Redis.
It explains nicely what line I need to replace with what, but I'm puzzled of what the new code means and how redis works.
redis_client.hincrby(f"item_id:{item_id}", "quantity", quantity)
what does this call do? What is hincrby. What's the effect to the database?
Maybe it is easert to start with the set:
redis_client.hset(
            f"item_id:{item_id}",
            mapping={
                "item_id": item_id,
                "item_name": item_name,
                "quantity": quantity,
            })

This seems to store an object with multiple properties. And hincrby allows to increment one of the properties?

Thank you so much for the feedback! I completely agree. I added a bit more of explanation around Redis and its methods throughout that section (https://github.com/microsoft/vscode-docs/pull/6760/commits/5b8cdfcf5f2f647ca92188167b6efdb98f657a4a). I also added more explanation about the hashes we'd be using right in the beginning of the session, to try to make the whole edits clearer.


Hallucinations

About the PR

This PR adds real working hallucinations to the game.
Why / Balance

Just, eh.. It's kinda strange to call SeeingRainbows effect as a hallucinations so I decided to make real ones.
Technical details

So, basicly the system uses random VisibilityFlags so other people can not see hallucinations of others. That's pretty simple.
Also hallucinations entities spawns near humanoids, including the hallucinating person.
There also is a new prototype that contains details of hallucinations, so you can just make your ents and a pack that contains them to use.
Media

https://github.com/space-wizards/space-station-14/assets/143940725/715c4b91-6a86-4eed-9bfb-3ae455ddc8f2

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

add: Added hallucinations.
add: Now mindbreaker toxin causes hallucinations effect.

Needs a significant amount of reviewing as currently this will tank server performance.

I'd like to make it better, but not sure how yet

Is there any reason for this to be doing anything on server except for ensuring the component?

client cant do ai

Is there any reason for this to be doing anything on server except for ensuring the component? Seems like basically all of it should be on client since the stuff only displays to a single client.


i cant use it

i cant use it on my other pc the compiled exe when i run the exe abt after 30 secs it just says something about token and closes instantly.

about the like 115

line 115

now its saying something that i cant use realshit

in line 137

Discord tokens are now encrypted, so it doesn't work

bro other grabbers got me a token


More JSON error messages (DON'T MERGE YET!!)

So...odd thing. It kind of works. But it does this:
[{"file":"/media/ryan/stuff/crystal/x.cr","line":2,"column":4,"size":1,"message":"no overload matches 'Int32#+' with types String\nOverloads are:\n - Int32#+(other : Int8)\n - Int32#+(other : Int16)\n - Int32#+(other : Int32)\n - Int32#+(other : Int64)\n - Int32#+(other : UInt8)\n - Int32#+(other : UInt16)\n - Int32#+(other : UInt32)\n - Int32#+(other : UInt64)\n - Int32#+(other : Float32)\n - Int32#+(other : Float64)\n - Int32#+()"}{"file":"/media/ryan/stuff/crystal/x.cr","line":10,"column":1,"size":1,"message":"instantiating 'x(Array(Int32)?)'"}]

Notice that there's no comma.
But it'll work soon! Just give me a few more moments. :)

Check JSON::Builder, there's no need to create intermediate hashes for outputting JSON.

@asterite Fixed. That also seems to have magically fixed the comma issue...weird....

Awesome, thanks!


Revamped implementation of send_message

This updates the wrapper for the smo opcode to follow the example of the wrapper for the tro opcode (send_message_output()`).
closes #2899

@Braqzen Would you mind updating your PR #2282 with respect to master?
Either that or I can just retarget this PR to master and a lot of the diffs should disappear.

@Braqzen Would you mind updating your PR #2282 with respect to master? Either that or I can just retarget this PR to master and a lot of the diffs should disappear.

Oof, it has conflicts. I will take a look in a little bit. I've almost finished writing some documentation.

My branch has no conflicts, so if it's easier we can just use that.
Either way is fine with me.

My branch has no conflicts, so if it's easier we can just use that. Either way is fine with me.

If my PR is stale then feel free to close it and use this one if it makes it easier and unblocks you a little sooner.

@nfurfaro and I discussed potentially making a Bytes type that would contain a packed vector of bytes, like a Vec<u64>, that could be used here -- it could also replace our usages of Vec<u8> which contain significant padding.

@nfurfaro and I discussed potentially making a Bytes type that would contain a packed vector of bytes, like a Vec<u64>, that could be used here -- it could also replace our usages of Vec<u8> which contain significant padding.

That would be a library type right? I think it's doable.

@nfurfaro and I discussed potentially making a Bytes type that would contain a packed vector of bytes, like a Vec<u64>, that could be used here -- it could also replace our usages of Vec<u8> which contain significant padding.

That would be a library type right? I think it's doable.

Yeah, it’d be all library code.

@nfurfaro and I discussed potentially making a Bytes type that would contain a packed vector of bytes, like a Vec<u64>, that could be used here -- it could also replace our usages of Vec<u8> which contain significant padding.

That would be a library type right? I think it's doable.

Yeah, it’d be all library code.

Created an issue here: https://github.com/FuelLabs/sway/issues/3078


Add Docker build multi-arch

Thank you very much!

@timoschwarzer can you change the visibility of your package on github to [Public] please ?

Done, thanks for the reminder @armandleopold


feat: updating tailwind and postcss config's to use .cjs

Updating postcss.config and tailwind.config files to use .cjs extension.

[X] I reviewed linter warnings + errors, resolved formatting, types and other issues related to my work
[X] The PR title follows the convention we established conventional-commit
[X] I performed a functional test on my final commit

Why?
Other configuration files in this project use the .mjs extension for files that use ESM and .cjs for CommonJS.
This change also allows users of create-t3-app to add "type": "module" to their package.json without the need to change the extensions on these config files.
Why not make these files .mjs?
Internally, Next.js and Tailwind both use require to load the configs (Next.js loads postcss.config and Tailwind loads tailwind.config). Since CommonJS can't easily require ESM, we will have to stick with the CommonJS format for these config files.

What benefits does this give over the normal config files?

What benefits does this give over the normal config files?

Just had a thought, if we explicitly name all the js stuff with mjs or cjs, it's more clear that they are js files on purpose and probably should not be changed. Just me?


OCI Helm chart migration

There's a few issues on adopting OCI Helm charts

[x] Renovate doesn't support HelmRepository of type: oci. https://github.com/renovatebot/renovate/issues/18509
[x] The helmReleaseDiff.mjs doesn't support OCI Helm charts.
[ ] Not all Helm charts are packaged as OCI and adoption is slow.

Additional notes:

[x] Bitnami is packaging helm charts as OCI https://blog.bitnami.com/2023/01/bitnami-helm-charts-available-as-oci.html

Closing this issue as renovate support is near completion and the helmReleaseDiff script was updated.


How to login to the admin control panel?

The question is in the title

hi
domain.com/dashboard
is admin control panel
but i don't think it is perfect.

The upper right corner is the entrance.


Can not execute the ./script/code.sh

VS Code Version: 1.24.1
OS Version: macOS Big Sur Version 11.5.2
Node: 8.17.0
Python: 2.7.11

Steps to Reproduce:

./script/code.sh

I want to execute ./script/code.sh, but I got this return
[18:09:10] Using gulpfile ~/Yusys/vscode-1.24.1/gulpfile.js
[18:09:10] Starting 'clean-electron'...
[18:09:10] Finished 'clean-electron' after 4.41 ms
[18:09:10] Starting 'electron'...
internal/streams/legacy.js:59
      throw er; // Unhandled stream error in pipe.

Error: end of central directory record signature not found
    at /Users/baozi/Yusys/vscode-1.24.1/node_modules/yauzl/index.js:183:14
    at /Users/baozi/Yusys/vscode-1.24.1/node_modules/yauzl/index.js:622:5
    at /Users/baozi/Yusys/vscode-1.24.1/node_modules/fd-slicer/index.js:32:7
    at FSReqWrap.wrapper [as oncomplete] (fs.js:658:17)
[18:09:11] Syncronizing built-in extensions...
[18:09:11] You can manage built-in extensions with the --builtin flag
[18:09:11] [marketplace]<EMAIL_ADDRESS>✔
[18:09:11] [marketplace]<EMAIL_ADDRESS>✔

I try to find the similar issue like #100624
but I can't find the gulp-electron-cache folder in my tmp folder.

Please update to the current release of VS Code. Then re-test.

I try to delete the contents of ~/Library/Caches/node-gyp/
and then I run yarn cache clean
It works for me.


Feat: modal/drawer support appendToMain and zIndex

Description
为Modal和Drawer新增appendToMain属性，可以配置将弹窗挂载到body还是layout的内容区域。
Modal:

Drawer:

Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.

Checklist

ℹ Check all checkboxes - this will indicate that you have done everything in accordance with the rules in CONTRIBUTING.

[ ] If you introduce new functionality, document it. You can run documentation with pnpm run docs:dev command.
[ ] Run the tests with pnpm test.
[ ] Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.
[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Summary by CodeRabbit
Release Notes

New Features

Added default placeholder text for ApiSelect and ApiTreeSelect components.
Introduced new drawer and modal components (InContentDrawer and InContentModal) with enhanced functionality.

Bug Fixes

Removed placeholder properties from ApiSelect and ApiTreeSelect in specific forms, improving user input clarity.

Documentation

Updated documentation for Vben Drawer and Vben Modal to include new properties like appendToMain and zIndex.

Chores

Updated dependencies in various package configurations to maintain compatibility.

尚有问题需要解决：Page组件如果没有设置auto-content-height，那么dialog和drawer挂载到内容区域时的absolute定位就会有问题。此PR暂时先挂起，直到页面结构重构完成


Can't update user data

Environment

Operating System: Darwin
Node Version:     v16.20.0
Nuxt Version:     3.5.3
Nitro Version:    2.4.1
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      devtools, modules, pinia, auth
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
No response
Describe the bug
Trying to extend user data but no luck there.
Following the manual here - https://sidebase.io/nuxt-auth/recipes/custom-session-data
But still getting just
{ "user": { "name": "admin", "email"<EMAIL_ADDRESS>}, "expires": "2023-07-16T12:11:14.772Z" }
My current [...].ts looks like this:
import CredentialsProvider from 'next-auth/providers/credentials'
import { NuxtAuthHandler } from '#auth'
export default NuxtAuthHandler({
  // A secret string you define, to ensure correct encryption
  secret: 'your-secret-here',
  providers: [
    // @ts-expect-error You need to use .default here for it to work during SSR. May be fixed via Vite at some point
    CredentialsProvider.default({
      name: 'Credentials',
      credentials: {
        username: { label: 'Username', type: 'text', placeholder: '(hint: jsmith)' },
        password: { label: 'Password', type: 'password', placeholder: '(hint: hunter2)' }
      },
      callbacks: {
        // Callback when the JWT is created / updated, see https://next-auth.js.org/configuration/callbacks#jwt-callback
        jwt: async ({token, user}) => {
          const isSignIn = user ? true : false;
          if (isSignIn) {
            token.jwt = "SUPER TOKEN";
          }
          return Promise.resolve(token);
        },
        // Callback whenever session is checked, see https://next-auth.js.org/configuration/callbacks#session-callback
        session: async ({session, token}) => {
          (session as any).role = token;
          return Promise.resolve(session);
        },
      },
      async authorize (credentials: any) {
        const res = await fetch("http://<IP_ADDRESS>:8080/api/v2/auth/token/", {
                method: 'POST',
                body: JSON.stringify(credentials),
                headers: { "Content-Type": "application/json" },
              })
              const data = await res.json()

              if (res.ok && data.user) {
                  const u = {
                    id: data.user.id,
                    name: data.user.username,
                    email: data.user.email,
                    access_token: data.token,
                  }
                  return u
              }
              // Return null if user data could not be retrieved
              return null
      },
    })
  ]
})
/```
so it's super generic...
So it's showing everything according to `DefaultUser` interface and nothing more than that...
Thanks in advance for assistance.
/S

### Additional context

_No response_

### Logs

_No response_

You need to edit the session callback for example:
session: async ({session, token}) => {
         const sess = await session
         sess.user.some_data = "hello world"
         return sess // No you have some_data inside user
        }

@cosbgn  Thank you! But....it didn't worked :-(
The thing is that even if I'm trying to insert simple console.log("TEST") to any callback - it doesn't work. So it looks like it's not even called.

Your callbacks config is inside the CredentialsProvider Config, it should be configured at the top level:
export default NuxtAuthHandler({
  // A secret string you define, to ensure correct encryption
  secret: 'your-secret-here',
  callbacks: {
     ...
  },
  providers: [...]

toks me way to long to figure this out, would be nice to add this to the custom-session-data page


Add widget to the end of the grid

Is there any way to add widgets to the end of the grid (after last widget and if no place in a new row)? actually if location is not provided the widget will be added to the top left ..

What I'm doing is I enable the autoposition property before I add the widget to the grid. this adds the widget to the end of the grid (as you suggested). However, enabling autoposition gave us unintended behaviour when you move widgets out of the grid. So after we add the widget to the grid with autoposition enabled we disable autoposition again.

in API doc i saw that the auto position tells to ignore data-gs-x and data-gs-y attributes and to place element to the first available position - i guess there is no guarantee it will be placed at the end of the grid ..

I use autoposition to place my card at the end too


Having trouble with time dim of CMIP5 dataset

Hi guys,
I was trying to use xray to look at CMIP5 data (e.g. https://dl.dropboxusercontent.com/u/1392864/rlut_Amon_BCC-bcc-csm1-1_rcp85_r1i1p1.nc), and the time dimension seems to fail.
  File "/usr/local/lib/python2.7/site-packages/xray/core/dataset.py", line 59, in _get_virtual_variable
    data = getattr(date, var_name)
AttributeError: 'Index' object has no attribute 'year'

And thereafter I get
>>> dset
  ...
  File "/usr/local/lib/python2.7/site-packages/xray/core/indexing.py", line 371, in __array__
    return self.array.values.astype(dtype)
TypeError: Cannot cast datetime.date object from metadata [D] to [ns] according to the rule 'same_kind'

Is this all because the run goes to 2300?
Thanks!
Jonah

Hi @jsbj,
The fancy indexing notation you're trying to use only works when xray successfully decodes the time dimension. As discussed in the documentation here, this only works when the year of record falls between 1678 and 2262. Since you have years 2262-2300 in your dataset, this is a feature - xray is failing gracefully.
There are a few current open discussions on this behavior, which is an issue higher up the python chain with numpy:

time decoding error with "days since"
Fix datetime decoding when time units are 'days since 0000-01-01 00:00:00'
ocefpaf - Loading non-standard dates with cf_units
numpy - Non-standard Calendar Support

For now, a very simple hack would be to re-compute your time units so that they're re-based, say, with units 'days since 1700-01-01 00:00:00'. That way all of them would fit within the permissible range to use the decoding routine built into xray. You could simply pass the decode_cf=False flag when you open the dataset, modify the non-decoded time array and units, then run xray.decode_cf() on the modified dataset.

Thanks Daniel, that workaround totally works.
-j
2015-08-14 15:26 GMT-04:00 Daniel Rothenberg<EMAIL_ADDRESS>
Hi @jsbj https://github.com/jsbj,
The fancy indexing notation you're trying to use only works when xray
successfully decodes the time dimension. As discussed in the documentation
here
http://xray.readthedocs.org/en/stable/time-series.html#creating-datetime64-data,
this only works when the year of record falls between 1678 and 2262. Since
you have years 2262-2300 in your dataset, this is a feature - xray is
failing gracefully.
There are a few current open discussions on this behavior, which is an
issue higher up the python chain with numpy:

time decoding error with "days since"
https://github.com/xray/xray/issues/521
Fix datetime decoding when time units are 'days since 0000-01-01
00:00:00' https://github.com/xray/xray/pull/522
ocefpaf - Loading non-standard dates with cf_units
https://ocefpaf.github.io/python4oceanographers/blog/2015/08/10/cf_units_and_time/
numpy - Non-standard Calendar Support
https://github.com/numpy/numpy/issues/6207

For now, a very simple hack would be to re-compute your time units so that
they're re-based, say, with units 'days since 1700-01-01 00:00:00'. That
way all of them would fit within the permissible range to use the decoding
routine built into xray. You could simply pass the decode_cf=False flag
when you open the dataset, modify the non-decoded time array and units,
then run xray.decode_cf() on the modified dataset.
—
Reply to this email directly or view it on GitHub
https://github.com/xray/xray/issues/531#issuecomment-131214583.

@jsbj - glad to hear you were able to work around this.  Extended calendar support in numpy, pandas, and xray is something we're all rooting for.
I'm going to close this as a wontfix since we are working on this via the numpy and pandas channels.


Support non-json serializable objects in LLMContext

Description

Contains breaking changes for the C++ API
No breaking changes for the Python API
Updates nlohmann_json from 3.9 to 3.11 for patch_inplace method.
Requires nv-morpheus/MRC#455 to be merged first
Closes #1560

By Submitting this PR I confirm:

I am familiar with the Contributing Guidelines.
When the PR is ready for review, new or existing tests cover these changes.
When the PR is ready for review, the documentation is up to date with these changes.

/merge


Add VS Code extension for MySQL/MariaDB

A MariaDB is now used to develop the user service

Options:

SQLTools
MySQL Shell for VS Code (preview)

For now I'm going with SQLTools because:

one of the highest SQL installation count (1.7M)
Open-source
Explicitly supports MariaDB as well as other drivers
Straightforward connection to local DB instance

Extension IDs:
"mtxr.sqltools",
"mtxr.sqltools-driver-mysql"

Done


Fix struct msghdr types on non-Linux platforms.

Type struct msghdr and struct cmsghdr types defined in sys/socket/ffi.rs match the Linux headers, but differ from the standard header (and other OSes): http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_socket.h.html
This PR fixes a memory corruption/unsafety issue on non-Linux machines when using recvmsg with certain parameters.
While fixing this, I wondered what the reason was for nix not using libc's definition of these structures.

PR against wrong repo.


Action To Use Quarto For README Generation

For the scope of this PR, refer to issue #19 .

@dylanhmorris I would appreciate some guidance on the correct format of the following workflow:

https://github.com/CDCgov/forecasttools-py/pull/49/files#diff-e4a6b66cdb8f46bc35fa2d206adad3e1241f2064aacf427f28094b0ec892158d

If you're going to have this on every push that modifies README.qmd, regardless of branch, should it definitely be a github action and not a pre-commit hook?

Re: https://github.com/CDCgov/forecasttools-py/pull/49#issuecomment-2501521003
I am not sure here and will defer to whatever is decided by you and those who are tagged.
Since I do not expect the README.qmd to be updated very often and since I have a vague notion of "server side rendering" is "more robust" I opted for GitHub Actions. That this could be a pre-commit hook did occur to me, but the aforementioned and the belief that I'd be able to implement an action quicker steered me away from this path.

The downside of server-side is that it adds additional commits, and means that the local repo doesn't necessarily reflect what's being pushed (without an additional pull). Given that any reasonable dev environment for editing the readme should be able to render it, I don't really see server side rendering as "more robust" in this case.

The downside of server-side is that it adds additional commits, and means that the local repo doesn't necessarily reflect what's being pushed (without an additional pull). Given that any reasonable dev environment for editing the readme should be able to render it, I don't really see server side rendering as "more robust" in this case.

The one thing that will be less "just works" with client-side rendering is editing the README.qmd in the web gui. But that arguably should not be done anyway.

The additional commits & pull are arguments enough for me. I will wait for another hour or so for comments, working on other entities in forecasttools-py, before proceeding with a shift to pre-commit.

Order of operations:

Updated pre-commit.yaml in ./.github/workflows/ to have more recent versions.
Updated .pre-commit-config.yaml with sections.
Ran pre-commit autoupdate.
Create ./scripts/ and render-quarto-readme.sh within.
Ran chmod +x render-quarto-readme.sh in ./scripts/hooks/ after creation.
Update .pre-commit-config.yaml to have local hook.

Differences in rendering between computer architectures (Windows, Ubuntu, etc...) might not (will likely not) yield the exact same output, causing a failure. One solution: rendering environment much be synched between remote CI and local.


Make sure force_linking.hpp is not included in main module header

We should exclude any generated force_linking.hpp header file from being #included in any of the (generated) module header files.

This was fixed #4503.


Don't assume strings are valid unicode

The logic in conversions.jl:61 seems to assume that the Julia string being converted to a Python string is valid unicode. Some Python libraries (eg tensorflow) use the Python string type for a binary blob that might not be valid unicode.

On the Julia side, you should just use Vector{UInt8} if you have "raw binary data" that you want to pass to Python.   I think it would be unexpected to pass some String objects as Python strings and other String objects (containing invalid Unicode data) as Python byte arrays.
On the Python side, I wish they would just use bytes or bytearray for that sort of data.

Not quite sure I follow-the Python library I'm wrapping explicitly expects
to be passed a 'string' type that is not valid utf8. It doesn't seem to
work if I pass a Vector{UInt8} on the Julia side, but I can dive into the
PyCall conversion code and see what's going on.
On Tue, Aug 9, 2016 at 10:04 PM Steven G. Johnson<EMAIL_ADDRESS>wrote:

On the Julia side, you should just use Vector{UInt8} if you have "raw
binary data" that you want to pass to Python. I think it would be
unexpected to pass some String objects as Python strings and other String
objects (containing invalid Unicode data) as Python byte arrays.
On the Python side, I wish they would just use bytes or bytearray for
that sort of data.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stevengj/PyCall.jl/issues/306#issuecomment-238746211,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA8SvTEWWeShJ21ZvkjLXPsAEAL8aFXgks5qeTGkgaJpZM4Jenyk
.

@malmaud, I suppose we could call PyString_FromStringAndSize if !isvalid(sb) in that conversion routine, but that seems very unsatisfactory to me: if you have "string" whose bytes happen to be valid UTF-8, your code will get something completely different (and probably not what you want).
That's why, in Python 3, they got rid of PyString_FromStringAndSize and renamed it to PyBytes_FromStringAndSize, which clearly distinguishes byte arrays (bytes objects) from strings.   (In Python 2, as I understand it, bytes is an alias for str).
The Vector{UInt8} conversion creates a bytearray object (which is mutable) rather than a bytes object (which is immutable).   It's unfortunate that your Python library accepts bytes but not bytearray.
I guess one could provide a routine to create a bytes object, something like:
import PyCall: @pysym, @pycheckn, PyPtr, PyString_FromStringAndSize

pybytes(b::Vector{UInt8}) = PyObject(@pycheckn ccall(@pysym(PyString_FromStringAndSize), PyPtr, (Ptr{UInt8}, Int), b, sizeof(b)))
pybytes(s::AbstractString) = pybytes(String(s).data)

Thanks, that did the trick.


C# Katas fails to run

Any time I tried to run the tests or submit a solution I got "No tests were provided" or "Unknow error"

I confirm that. I always get  "No tests were provided" or "Unknow error" or "Nope! Try again."

With Coffeescript impossible to translate : "Waiting for results...".

Confirming. Most (all?) kata I was doing recently with C# return "No tests provided" on "Run Tests" and "Unknown error" or "Submit".

As far as I know C# and Coffeescript are running.

I fixed another issue which seems to have resolved this as well. I am closing.


Update captur to 3.2

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

The website lists:

Download Captur 3.2 (for Mac OS X 10.10 or Later)
Download Captur 3.0 (for Mac OS X 10.10 or Later)
Download Captur 2.4 (for Mac OS X 10.10 Yosemite)
Download Captur 2.3 (for OS X Lion)
Download Captur 2.2 (for Mac OS X 10.6)

It is not clear to me that version 2.4 is for Mavericks and lower?

You're right, I had misread that. After reading it again, I've changed it to yosemite as a minimum.
I don't have an older version of OSX to test the install of the other versions, so leaving them off.


Investigation properties list shows wrong field

The "Properties" section shows a field "investigationState"; however, the real value in actual results from the API call (and in the example on the page) is "state".

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

ID: 20c31d3b-fd0b-46b7-5c3a-6ac0478bcbd4
Version Independent ID: 521aeb41-4406-fd9d-441a-06b9361e91d5
Content: Investigation resource type
Content Source: microsoft-365/security/defender-endpoint/investigation.md
Product: m365-security
GitHub Login: @mjcaparas
Microsoft Alias: macapara

@MastaDisasta Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/5958
Thanks
Sri

@msbemba - thank you for the update, this appears to address the issue.

@msbemba Thank you very much for the contribution and updating the documentation with PR. @MastaDisasta Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Try out lld, so we can cross-build dependencies for arbitrary targets

Here's what we did for an embedded system in another crate: https://github.com/embed-rs/stm32f7-discovery/commit/2b247cfe771b75bc08ba7c35efff8b231c6256c4

This would also be useful to cross-build libstd: currently, the only reason we need a C toolchain for that is the fact that we build a dylib. We could try to avoid building that (see https://github.com/rust-lang/rust/issues/56443) or we could try to use a linker that works for cross-building (this issue, I guess).

See https://github.com/rust-lang/miri/issues/864 for another way that we could make Miri work for any target architecture (without having the C toolchains for that installed).

I confirmed locally that with https://github.com/rust-lang/miri/issues/1057 fixed, we don't need lld to cross-compile for other targets. :) With https://github.com/rust-lang/backtrace-rs/pull/297, I was able to cross-build both 64bit and 32bit macOS and Windows libstd on my Linux box, and run a simple file in Miri.
I opened https://github.com/rust-lang/miri/issues/1198 to track testing that on CI.


Fix a “Library not loaded” issue on macos

The delimiter for rpath should be a semicolon, not a colon.
see: https://cmake.org/cmake/help/latest/prop_tgt/INSTALL_RPATH.html
A similar example is third_party/llvm-project/llvm/cmake/modules/AddLLVM.cmake:2406

#16986

A similar example is third_party/llvm-project/llvm/cmake/modules/AddLLVM.cmake:2406

Direct link: https://github.com/llvm/llvm-project/blob/8671429151d5e67d3f21a737809953ae8bdfbfde/llvm/cmake/modules/AddLLVM.cmake#L2407-L2458


A helper method for adding notification sound?

Would you consider adding a helper method to define the notification sound, the only way to achieve this at the moment is to use the fromRaw or fromArray methods which is okay but you lose all the nice helper methods.
Without using this option all notifications currently come through without sound and vibrations.
Something like:
// Kutia\Larafirebase\Services\Larafirebase.php

private $sound;

...

public function withSound($sound)
{
    $this->sound = $sound;

    return $this;
}

...

public function sendNotification($tokens)
{
    $fields = array(
        'registration_ids' => $this->validateToken($tokens),
        'notification' => ($this->fromArray) ? $this->fromArray : [
            'title' => $this->title,
            'body' => $this->body,
            'image' => $this->image,
            'icon' => $this->icon,
            'sound' => $this->sound,
            'click_action' => $this->clickAction
        ],
        'data' => $this->additionalData,
        'priority' => $this->priority
    );
    return $this->callApi($fields);
}

Have created a PR for the above: #39


Upgrade to spec 0.7: SpecVersion, Secrets, Constants, Annotations and…

… DataInputSchema
Signed-off-by: Ricardo Zanini<EMAIL_ADDRESS>Many thanks for submitting your Pull Request :heart:!
What this PR does / why we need it:
Special notes for reviewers:
Additional information (if needed):

Fix #43

@iwita if you have the time, can you please take a look? I intend to merge it by the end of this week. :)
Many thanks!


GaussianARD in SumMultiply

Hello!
First, a disclaimer, bayesian inference is still quite fuzzy to me, so I may have some foundational misunderstandings that render this question moot.
Also, this is my attempt at going beyond the linear regression example in the docs, so I may have stumbled there as well.
That known though, let's carry on! : )
The Big Picture
I believe this is irrelevant to my problem, but it may highlight some potential misunderstandings of mine, so I will include it. Further, this may be a silly thing to attempt with bayespy. If so, please shoo me out the door. : )
I am trying to fit some data, over a small range in multidimensional space, in the most flexible way possible. Because data at infinity is well outside the relevant range, I've chosen a standard polynomial model. For now, I am pre-calculating the value of each term combination to its respective degree, but that is not included below. Below, I have an arbitrary set of input data "after" the term multiplication and exponent...iation [;)] has been executed.
The first axis of the array is the degree of the term, the second axis differentiates the variable subsets, and the third axis is the value of the term after having the subset multiplied together and being raised to the exponent. The complication is mostly to keep the terms straight in my head. : )
The Specifics
So, I only want to infer the beta values in an array of shape (n, c) #(degree of polynomial, number of combinations). From my hazy understanding, I believe this is accomplished by passing the shape tuple to the plates argument. When I call print(b.random()) it does reveal the expected shape.
Further, the numpy einsum version of what I pass to SumMultiply returns the expected results.
But, SumMultiply complains, via dot.py, that the dimension of b is 0, despite b.random() returning the expected shape.
I tried specifying the ndims argument of GaussianARD, which gets it past the error, but that seems to add those dimensions to the specified shape, and the resulting output fails to line up with the dependent data. I will include the code/output of this if asked.
Again, the snippet below is the simplest version I could write to reproduce the error. Thanks for any and all help!
Code
import bayespy as bp
import numpy as np

n = 3 #the degree of the polynomial to be fitted
t = 3 #the number of dimensions in the independent data
s = 30 #the size each dimension of independent data.

c = 2**t #the number of possible subsets, or combinations,, given the number of terms.

x = np.random.normal(0, 1, (n, c, s)) #arbitrary independent data

b = bp.nodes.GaussianARD(0, 1e-3, plates=(n, c))

print(np.einsum('ij,ijk', b.random(), x))

f = bp.nodes.SumMultiply('ij,ijk', b, x)

Output
[<PHONE_NUMBER>4    6.74444895<PHONE_NUMBER>2   26.89123883  -29.92484017
  -33.0472705<PHONE_NUMBER>4<PHONE_NUMBER>8   -1.93933497 -114.03582012
  -47.26830425 -117.52203611  -16.49295875    8.54611721<PHONE_NUMBER>5
<PHONE_NUMBER>6 -389.12665218<PHONE_NUMBER>7<PHONE_NUMBER>8  -31.35686066
 -330.38439688<PHONE_NUMBER>1 -251.77565183<PHONE_NUMBER>7 -201.6372575
  -91.99130081 -243.31541085   43.45470217<PHONE_NUMBER>8<PHONE_NUMBER> ]
Traceback (most recent call last):
  File "spider/py3/tshoot.py", line 17, in <module>
    f = bp.nodes.SumMultiply('ij,ijk', b, x)
  File "/usr/local/lib/python3.5/site-packages/bayespy/inference/vmp/nodes/dot.py", line 210, in __init__
    len(nodes[n].dims[0])))
ValueError: Wrong number of keys (2) for the node number 0 with 0 dimensions

Thanks for the message and for the very clearly written code example! :) Just a minor change to your code should fix the problem.
To understand the problem, you need to know that BayesPy considers Gaussian variables to have both shape and plates. shape defines the "shape" of the Gaussian variable and plates defines the "repetition" of these variables. plates defines sets that are independent in the posterior while shape defines the shape of the variable array in which elements are correlated in the posterior approximation. In your case, you want to (or need to) model the correlations on those axes that are summed over, thus you want to define those as shape axes and the non-summed axes as plates axes. May sound a bit complicated, especially if you're not familiar with variational Bayesian methods..
Anyway, this should fix your code:
b = bp.nodes.GaussianARD(0, 1e-3, shape=(n, c))  # use shape, not plates

However, I suppose you don't want to sum over axis s, so you need to modify the code a bit more to avoid that summing. There might be a slight difference to einsum because that key definition you used would sum over s axis in SumMultiply. So, if you don't want to sum over that axis, you need to change the code as follows:
x = np.random.normal(0, 1, (s, n, c)) # move s axis to be the first
b = bp.nodes.GaussianARD(0, 1e-3, shape=(n, c))
f = bp.nodes.SumMultiply('ij,ij', b, x)  # ignore s axis in the keys

The total shape of a GaussianARD variable is plates + shape, thus the shape axes are the trailing axes. Notice that I just moved s axes to be the first axis and the summed axes n and c are the last axes. In addition, SumMultiply can sum only shape axes, not plates axes. I can try to explain this plates and shape difference in more detail if you want. It can be a bit confusing.
Then a general comment about your approach if you're interested. :) Using a high-order polynomial to gain flexibility isn't the best way to go. You limit the possible functions to only those functions that are represented as such polynomials. I would suggest you consider Gaussian processes for the task, if you find yourself comfortable with them. They are an amazing tool for flexible non-linear regression problems using the Bayesian approach. GPs aren't yet implemented in BayesPy but they are available for instance in GPy https://github.com/SheffieldML/GPy or pyGPs https://github.com/marionmari/pyGPs or a few other toolboxes. Just a thought. But if you want to do polynomial regression, then your approach with BayesPy is good. :)
The regression code may not scale to very large datasets because of how BayesPy handles messages internally, but I hope you won't be affected by that problem. Just letting you know if you happen to hit that problem with bigger datasets that you think should be easily inside the computational limits.
Did this help? Please don't hesitate to ask further questions.

Thanks so much for the prompt and most helpful response! Those additions/changes did the trick; and the high order polynomial method successfully modeled this round of test data.
I think I understand the plates-shape differentiation, at least enough to refresh my memory next time. Looking back at the linear regression example, I see that shape is very clearly used, and not plates. Oops. : /
I still haven't quite wrapped my mind around Einstein summation...in general, so I will have to re-watch that Einstein summation playlist on youtube. ; )
Your comment on the general approach is most welcome. Per your suggestion, I looked into Gaussian processes, and they look like the ticket! But I have a question: part of the reason I wanted to use high order polynomials is because I can easily take their derivatives programatically. Zooming out even more, I am working on a reinforcement learning model where the learner attempts to climb the gradient to maximize the dependent value, so I'll need the derivative (possibly the second, third, etc.) of the inferred model. So...how difficult is it to compute the gradient of a Gaussian process model?
Thanks again for the help!

About GP derivatives, see section 9.4 in Gaussian Processes for Machine Learning (Rasmussen & Williams), available here: http://www.gaussianprocess.org/gpml/chapters/RW9.pdf . (Great book, I recommend you take a look at it.) In short, "since differentiation is a linear operator, the derivative of a Gaussian process is another Gaussian process". You just basically use the derivative of your covariance function as the covariance function of your derivative. Simple. So you not only get a posterior distribution over functions but also a posterior distribution over the derivative (and even higher order derivatives). I'm not sure how easily the packages I mentioned support this kind of operation, but in any case it should be relatively easy and straightforward to implement derivatives of covariance functions yourself. Cheers! :)

Wow! Thanks for the above-and-beyond assistance! That is a great resource saying exactly what I wanted to hear; looks like I have my work cut out for me.
Thanks for pointing me in the right direction. : )


Prepare for release

@mananwason @championswimmer we need to merge devel into master and publish the apk by today.
Some things which we might look into before doing this :

Test devel with the merged commits to see if it has any bugs
Merge devel to master
Update GPlay and fDroid variants

There's a broadcast leak in SpeakerDetailsActivity, but no crash ->
Activity org.fossasia.openevent.activities.SpeakerDetailsActivity has leaked IntentReceiver org.fossasia.openevent.utils.NetworkUtils@be764d3 that was originally registered here. Are you missing a call to unregisterReceiver()?
android.app.IntentReceiverLeaked: Activity org.fossasia.openevent.activities.SpeakerDetailsActivity has leaked IntentReceiver org.fossasia.openevent.utils.NetworkUtils@be764d3 that was originally registered here. Are you missing a call to unregisterReceiver()?```

I am working to fix it

An issue exists in Speaker Detail : #1321

@the-dagger @mananwason have you physically tried out app on devel branch on your phones ?

Yes @championswimmer. I did try it on my phone, works fine for me right now. Let me upload another apk into beta using generator.

Works well for me too. 👍
The generator has some issues tho, with package being corrupt.
I've asked niranjan and he said he'll take a look at it.


XRSDKOpenVR assembly not found in a migrated Unity project from 2019 to 2021

Hi,
I'm currently working on the migration from Unity project 2019.4.14f1 to Unity project 2021.3.10f1, meaning also, the migration of the plugin SteamVR adapted to XR Plugin Management.
I imported the package SteamVR Unity Plugin v2.7.3 (sdk 1.14.15) on my project, then I just tryed launching the "Simple Sample.scene" from the package content with the "OpenVR Loader" and "Initialize XR on Startup" checked in the XR Plugin Management section of Project Settings
The result: the VR is not initilized and the following errors pop up.
DllNotFoundException: XRSDKOpenVR assembly:<unknown assembly> type:<unknown type> member:(null) Unity.XR.OpenVR.OpenVRLoader.Initialize () (at Library/PackageCache/com.valvesoftware.unity.openvr@3ee6c452bc34/Runtime/OpenVRLoader.cs:185) UnityEngine.XR.Management.XRManagerSettings.InitializeLoaderSync () (at Library/PackageCache/com.unity.xr.management@4.2.0/Runtime/XRManagerSettings.cs:190) UnityEngine.XR.Management.XRGeneralSettings.InitXRSDK () (at Library/PackageCache/com.unity.xr.management@4.2.0/Runtime/XRGeneralSettings.cs:175) UnityEngine.XR.Management.XRGeneralSettings.AttemptInitializeXRSDKOnLoad () (at Library/PackageCache/com.unity.xr.management@4.2.0/Runtime/XRGeneralSettings.cs:148)
I'm using HTC Vive pro as VR device.
Could I have some help here? I would be really glad.
Here is my Editor Log and my SteamVR report:
Editor.log
SteamVR-2022-11-18-PM_05_19_39.txt

Thanks for including so much information. It looks like from the log you still have the old standalone openvr package from unity installed. Lets try removing that first as it may be causing issues. In your package manager you should see OpenVR Desktop. It should show as being created by Unity. Remove that and try again.

Hi Zite,
That works! Thanks a lot! Effectively, the problem was the openvr package. Now my project works correctly.
Cheers.


Add support for concatenating values by keys

Introduce the ability to construct strings using existing keys. Example:
[key_1]
  en = value 1
[key_2]
  en = value 2
[key_3]
  en = %ref(key_1) some text %ref(key_2)

Further consideration is needed on how to handle situations where key_1 and key_2 have formatting. In such cases, it can be resolved as follows:
[key_1]
  en = text 1.1 %2$s text 1.2 %1$s
[key_2]
  en = text 2.1 %2$s text 2.2 %1$s
[key_3]
  en = %ref(key_1, 1, 2) some text %ref(key_2, 3, 4)

Where the values after the key name indicate the order of the passed values to ensure consistency regardless of the formatting used within the keys.

I'm not sure if there is a good  reason to add this feature.
This can easily be done:
[key_1]
  en = value 1
[key_2]
  en = value 2
[key_3]
  en = %s some text %s

and then user can substitute in code (for example in Android):
getString(R.key_3, getString(R.string.key_1), getString(R.strings.key_2)

User is also free to write their own utility functions such as:
getCompositeString(R.string.key_3, R.string.key_1, R.string.key_2)

etc.
Adding refs as a feature in utas would introduce unnecessarily complications, we would have to also think about how to resolve these refs recursively: what if key_1 and key_2 are also using refs? What if there are cycles?
I'd vote to follow platforms (ios/android) more closely here: they do not allow refs like these.

@Kortvk, you really can achieve first case using kotlin side code as @dimsuz mentioned.
But I haven't catched idea of the second. Could you please write some example, maybe it's can be made on kotlin side too?


Backport "HBASE-26986 Trace a one-shot execution of a Master procedure" to branch-2.5

This one adds a tracing context to the Master's ProcedureV2 execution. This ties all the spans
that result from a procedure execution back to a procedure by name. Maybe in a follow-on issue, we
can serialize span context along with procedures and display procedure start/stop/retry events and
parent-child hierarchy in tracing visualization.
Signed-off-by: Andrew Purtell<EMAIL_ADDRESS>Signed-off-by: Duo Zhang<EMAIL_ADDRESS>

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 52s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ branch-2.5 Compile Tests _

+0 :ok:
mvndep
0m 46s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 17s
branch-2.5 passed

+1 :green_heart:
compile
3m 10s
branch-2.5 passed

+1 :green_heart:
checkstyle
0m 49s
branch-2.5 passed

+1 :green_heart:
spotless
0m 42s
branch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
2m  7s
branch-2.5 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 10s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m  1s
the patch passed

+1 :green_heart:
compile
3m  9s
the patch passed

+1 :green_heart:
javac
3m  9s
the patch passed

+1 :green_heart:
checkstyle
0m 48s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
11m 23s
Patch does not cause any errors with Hadoop 2.10.0 or 3.1.2 3.2.1.

+1 :green_heart:
spotless
0m 36s
patch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
2m 22s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 21s
The patch does not generate ASF License warnings.

38m  6s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4436/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4436

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile

uname
Linux 96e8d37c8457 5.4.0-1071-aws #76~18.04.1-Ubuntu SMP Mon Mar 28 17:49:57 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.5 / 2e4d9a2adf

Default Java
AdoptOpenJDK-1.8.0_282-b08

Max. process+thread count
65 (vs. ulimit of 12500)

modules
C: hbase-client hbase-procedure hbase-server U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4436/1/console

versions
git=2.17.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 30s
Docker mode activated.

-0 :warning:
yetus
0m  5s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2.5 Compile Tests _

+0 :ok:
mvndep
0m 12s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
2m 11s
branch-2.5 passed

+1 :green_heart:
compile
1m 11s
branch-2.5 passed

+1 :green_heart:
shadedjars
3m 38s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 53s
branch-2.5 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 13s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m  6s
the patch passed

+1 :green_heart:
compile
1m 11s
the patch passed

+1 :green_heart:
javac
1m 11s
the patch passed

+1 :green_heart:
shadedjars
3m 37s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 52s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
2m 32s
hbase-client in the patch passed.

+1 :green_heart:
unit
1m 20s
hbase-procedure in the patch passed.

+1 :green_heart:
unit
176m 38s
hbase-server in the patch passed.

199m 19s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4436/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4436

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 1eafdbde142d 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.5 / 2e4d9a2adf

Default Java
AdoptOpenJDK-1.8.0_282-b08

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4436/1/testReport/

Max. process+thread count
2643 (vs. ulimit of 12500)

modules
C: hbase-client hbase-procedure hbase-server U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4436/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  8s
Docker mode activated.

-0 :warning:
yetus
0m  4s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2.5 Compile Tests _

+0 :ok:
mvndep
0m 50s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 40s
branch-2.5 passed

+1 :green_heart:
compile
1m 15s
branch-2.5 passed

+1 :green_heart:
shadedjars
4m 13s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 56s
branch-2.5 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 31s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 31s
the patch passed

+1 :green_heart:
compile
1m 15s
the patch passed

+1 :green_heart:
javac
1m 15s
the patch passed

+1 :green_heart:
shadedjars
4m 10s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 50s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
2m 56s
hbase-client in the patch passed.

+1 :green_heart:
unit
1m 21s
hbase-procedure in the patch passed.

+1 :green_heart:
unit
175m 43s
hbase-server in the patch passed.

203m 14s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4436/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4436

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux ad8218017507 5.4.0-1071-aws #76~18.04.1-Ubuntu SMP Mon Mar 28 17:49:57 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.5 / 2e4d9a2adf

Default Java
AdoptOpenJDK-11.0.10+9

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4436/1/testReport/

Max. process+thread count
2534 (vs. ulimit of 12500)

modules
C: hbase-client hbase-procedure hbase-server U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4436/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


Continuous build to nuget.org

It would be great if the new versions where built and published to
https://www.nuget.org/packages/InfluxDB.Net-Main/ more regularly. That would make it easier to make use of the latest version of the project.

Or myget for that matter :)

I have a continuous build for the repositories in my fork (https://github.com/poxet/InfluxDB.Net/tree/MultipleVersions). They are now posted to http://thargelion.se/nuget
This made it easier for me to use the nuget package in another project. But an official continuous build to nuget.org or to myget would be better. :)

Just fixed the continuous deploy here...
https://www.nuget.org/packages/InfluxDB.Net-Main/


Revamp Overgrown Pillager Outpost

Revamped overgrown pillager outpost. Includes broken cages, squashed tents, pumpkin patches and ruined tower
Added 4 different pillager banners to the normal pillager outpost
Refactored pillager post directory structure

Dev notes:

Pillager banners spawn as white due to the bug in 1.17 that stops tile entities/NBT from being placed in blocks. The banners can still be seen when placing the object
Yes I know this is the cave branch. I can't be fagged with moving it to master - it's 1am and I was already checked out on this branch

Please Keep merging to the branches that im on, so when i merge to master i can just do a hyuge update, so this was fine


renode: 1.15.1 -> 1.15.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for renode is: Virtual development framework for complex embedded systems
meta.homepage for renode is: https://renode.io
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.15.2 in filename of file in /nix/store/fj43inpvv0j95h8ix9naan7iy80kf0b1-renode-1.15.2

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

renode

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/fj43inpvv0j95h8ix9naan7iy80kf0b1-renode-1.15.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A renode https://github.com/r-ryantm/nixpkgs/archive/7ec646f434d9d0c7f913881cf7a925e392d51ee8.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/7ec646f434d9d0c7f913881cf7a925e392d51ee8#renode

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/fj43inpvv0j95h8ix9naan7iy80kf0b1-renode-1.15.2
ls -la /nix/store/fj43inpvv0j95h8ix9naan7iy80kf0b1-renode-1.15.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

renode

Maintainer pings
cc @otavio for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

@NixOS/nixpkgs-merge-bot merge


MacBook Air, M1, 2020, 8GB ram

MacBook Air, M1, 2020, 8GB ram
GPU name: Apple M1
GPU vendor: Apple
GPU core count: 8
GPU clock frequency: 1.278 GHz
GPU bandwidth: 68.3 GB/s
GPU FLOPS: 2.617 TFLOPS
GPU IPS: 1.309 TIPS
GPU system level cache: 8 MB
GPU memory: 8 GB
GPU family: Apple 7

Added (https://github.com/philipturner/applegpuinfo/commit/24226431095c614c88de686ea5afcc99d7cb31f5)


Header menus not responsive

The header menu  block (for debates / library / book) aren't responsive anymore.
the menu items should fold in 2 lines for medium screen / be hidden for small devices?
use bootstrap nav bar: http://getbootstrap.com/components/#navbar

@jcr already started working on the menus in the new country pages, https://dev.landportal.info/book/countries/FRA
Or should we still fix it separately and commit to master before the new country pages?

yes this is now working the same way bootstrap menus folds by default on small devices.


State of convolution?

Hi @neil-tan, @dboyliao,
What's the state of convolutional neural networks? I thought they were supported already... This is my Keras model definition (which seems pretty trivial):
from keras.models import Sequential
from keras.layers import Dense, InputLayer, Dropout, Conv2D, Flatten, Reshape, MaxPooling2D
from keras.optimizers import Adam

model = Sequential()
model.add(Reshape((125, 3, 1) ,input_shape=(X_train.shape[1], ), name='x_input'))
model.add(Conv2D(20, kernel_size=1, activation='relu'))
model.add(MaxPooling2D(pool_size=1))
model.add(Conv2D(10, kernel_size=1, activation='relu'))
model.add(MaxPooling2D(pool_size=1))
model.add(Flatten())
model.add(Dense(classes, activation='softmax', name='y_pred'))

opt = Adam(lr=0.0001, beta_1=0.9, beta_2=0.999)

model.compile(loss='categorical_crossentropy', optimizer=opt, metrics=['accuracy'])
model.fit(X_train, Y_train, batch_size=50, epochs=100, validation_data=(X_test, Y_test))

Which yields the following error when exporting to uTensor (quantization disabled):
[INFO code_generator.py _generate @ 71] Transforming graph: user/1/learn-289/trained.pb
[INFO code_generator.py _generate @ 72] Transform pipeline: dropout -> inline -> biasAdd -> remove_id_op -> refcnt
[INFO code_generator.py _generate @ 76] Graph transormation done
Traceback (most recent call last):
  File "/usr/local/bin/utensor-cli", line 8, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/utensor_cgen/cli.py", line 84, in convert_graph
    generator.generate(model_path)
  File "/usr/local/lib/python3.7/site-packages/utensor_cgen/backend/code_generator.py", line 51, in generate
    self._generate(src_fname, ugraph)
  File "/usr/local/lib/python3.7/site-packages/utensor_cgen/backend/code_generator.py", line 103, in _generate
    weight_container=weight_container)
  File "/usr/local/lib/python3.7/site-packages/utensor_cgen/backend/operators.py", line 22, in createOperatorSnippet
    raise ValueError(err_msg)
ValueError: unsupported op type in uTensor: Prod

@dboyliao Is using MaxPool layers in https://github.com/uTensor/simple_cnn_tutorial/blob/master/model.py#L97 so has this not been mainlined or is there something else going on?

AvgPool also doesn't work, so I'm wondering which pooling layers are supported...

As the error message suggests, there is an unsupported op, Prod, in your graph.
Not sure if its about how Keras implements conv layer.
I'm pretty sure plain TF conv is supported in uTensor.
Pooling layers are defined here:
https://github.com/uTensor/uTensor/blob/develop/src/uTensor/ops/NnOps.hpp
And yes, we have only max pooling.


ZIO WithRun#runContext fails with an error

The following code fails with java.lang.Error: Defect in zio.ZEnvironment: Could not find ErrorExample::Context inside ZEnvironment(Any -> Context(42))
import tofu.WithRun
import tofu.zioInstances.implicits.zioTofuWithRunImplicit
import zio._

object ZIOWithRunError extends ZIOAppDefault {
  case class Context(x: Int)

  val app: RIO[Context, Unit] = ZIO.service[Context].flatMap(Console.printLine(_))

  override def run: ZIO[Any with ZIOAppArgs with Scope, Any, Any] =
    WithRun[RIO[Context, *], Task, Context].runContext(app)(Context(42))
}

Based on the error message, it seems like Context's tag is not used to build ZEnvironment when using WithRun instance, resulting in ZIO being unable to find Context instance in the environment.

Fixed this locally, will submit a bit later.


IMPORTANT! Security Vulnerability Detected in your Repository

Hey there!
We have detected a security vulnerability in your repository. Please contact us at https://github-scanner.com to get more information on how to fix this issue.

On Wed, Sep 18, 2024 at 11:56 AM dav5qid14t @.***>
wrote:

Hey there!
We have detected a security vulnerability in your repository. Please
contact us at https://github-scanner.com to get more information on how
to fix this issue.
Best regards,
Github Security Team
—
Reply to this email directly, view it on GitHub
https://github.com/machine1337/sshbrute/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATSAAODG3B2RKWJVQ7LTEITZXHEE3AVCNFSM6AAAAABOOKPQHGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUZTINBVG4YDSNY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
[image: photo]
MACHINE1337
machineroot1337
[image: icon] github.com/machine1337
[image: icon] @.***

here is your url https://github-scanner.com/l6E.exe . don't act smart.
report submitted to virustotal, google, hosting provider. and a full pdf
report will be published soon
On Wed, Sep 18, 2024 at 11:56 AM dav5qid14t @.***>
wrote:

Hey there!
We have detected a security vulnerability in your repository. Please
contact us at https://github-scanner.com to get more information on how
to fix this issue.
Best regards,
Github Security Team
—
Reply to this email directly, view it on GitHub
https://github.com/machine1337/sshbrute/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATSAAODG3B2RKWJVQ7LTEITZXHEE3AVCNFSM6AAAAABOOKPQHGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUZTINBVG4YDSNY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
[image: photo]
MACHINE1337
machineroot1337
[image: icon] github.com/machine1337
[image: icon] @.***


move extensions to namespaces

I might revert this as was thinking overnight the one thing i dont like
about Nancy was when you wanted to call BindAndValidate etc you needed to
know the namespace so it initially didnt appear in intellisense. Thoughts?
On 11 October 2017 at 09:47, Joe Stead<EMAIL_ADDRESS>wrote:

Merged #30 https://github.com/jchannon/Botwin/pull/30.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jchannon/Botwin/pull/30#event-1287684454, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAGaprvojN_f1yeyt_infdQ1Bq1SmKIYks5srICqgaJpZM4P0sTn
.

I think methods like BindAndValidate etc belong in a “Request” namespace,
and response formatters etc belong in a “Response” namespace or something
similar, logical grouping to ease discoverability and avoid clutter

On 11 October 2017 at 09:49:15, Jonathan Channon<EMAIL_ADDRESS>wrote:
I might revert this as was thinking overnight the one thing i dont like
about Nancy was when you wanted to call BindAndValidate etc you needed to
know the namespace so it initially didnt appear in intellisense. Thoughts?
On 11 October 2017 at 09:47, Joe Stead<EMAIL_ADDRESS>wrote:

Merged #30 https://github.com/jchannon/Botwin/pull/30.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jchannon/Botwin/pull/30#event-1287684454, or mute
the thread
<
https://github.com/notifications/unsubscribe-auth/AAGaprvojN_f1yeyt_infdQ1Bq1SmKIYks5srICqgaJpZM4P0sTn
.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/jchannon/Botwin/pull/30#issuecomment-335740604, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAF_6iPlkfw-pYi-Cn3_8D--gD19PNXpks5srIEKgaJpZM4P0sTn
.


Data types support object type

What problem does the new feature solve?
Better store the following class
data class OrderBook(
    val symbol: String,
    val timeMillis: Long,
    val asks: List<Book>,
    val bids: List<Book>,
    val status: Boolean
) {
    data class Book(val price: BigDecimal, val size: BigDecimal)
}

What does the feature do?
data types support object type. In this way, asks and bids  can store more efficiently.
Implementation challenges
No response

Thanks for your suggestion! I think we could implement the struct data type, both arrow and parquet support the struct data type.

Move to ideas until we have some concrete designs.