Add GPU support to Ladybird package

Describe the bug
The Ladybird package assumes it doesn't need GPU so if you run with --enable-gpu-painting it will return Configured to use GPU painter, but current platform does not have accelerated graphics I have had similar issues to this with other packages so I think that it is likely to be a issue with said Nix package
Steps To Reproduce
Steps to reproduce the behavior:

Run Ladybird with Ladybird --enable-gpu-painting
Observe

Expected behavior
It runs with GPU support and doesn't make errors
Screenshots

Additional context
I have AMD RX 6800 GPU and this seems like a experimental feature, also I am pretty sure QT can use the GPU as well so I think this might enable that? Benefit of that likely to be small at best but still
Notify maintainers
@fgaz

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
this path will be fetched (0.01 MiB download, 0.05 MiB unpacked):
  /nix/store/d3dzfy4amjl826fb8j00qp1d9887h7hm-stdenv-linux
copying path '/nix/store/d3dzfy4amjl826fb8j00qp1d9887h7hm-stdenv-linux' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 6.9.6, NixOS, 24.11 (Vicuna), 24.11.20240622.a71e967`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - channels(root): `"home-manager, nixos"`
 - nixpkgs: `/nix/store/yqy82fn77fy3rv7lpwa9m11w3a2nnqg5-source`

Add a :+1: reaction to issues you find important.

I assume Sika needs to be included? Just a guess

Currently we disable hardware acceleration at compile time:
https://github.com/NixOS/nixpkgs/blob/97c5d4cffffb0cb92f14ac514fe5ed31ae5585f0/pkgs/applications/networking/browsers/ladybird/default.nix#L137-L138
I'll try to enable it again and see if it works, after I do these:

[ ] #318747
[ ] package skia
[ ] update ladybird to a commit from this month

Ah sorry didn't catch that

Note that the ENABLE_ACCELERATED_GRAPHICS flag (which uses OpenGL) is planned to be deprecated for using Skia to access the GPU. Ideally with a Vulkan dep on Linux and Metal dep on macOS.

Ah. By 'soon', I actually mean 'already' https://github.com/LadybirdBrowser/ladybird/pull/428

That's what I assumed that flag did sorry

Thank you for informing us @ADKaster. Then I'll consider this closed when I finish #325045


New MaptimeKC chapter

we would like to start a new chapter in Kansas and need to set up our website. any help will be appreciated.

Hey @RiverDoctor . Have you made any progress with this?  Best way to get started is to send an email to<EMAIL_ADDRESS>They'll respond and help you get set up.

Sorry for the delay @RiverDoctor ! Repo is made - let me know if you have any issues! https://github.com/maptime/kansas-city
Don't forget to update the _config.yml for your site (it's in the readme).


Lab28 – Secrets placed differently and not viewable for student account

Module: Implement security in Azure Cosmos DB for NoSQL
Lab/Demo: 28
Task: Create an Azure Key Vault and store the Azure Cosmos DB account credentials as a secret
Step: 4
The Secrets are no longer in the Settings section but moved to Objects
Step: 6
Student accounts are not eligible to see secrets (but still can create them somehow) → cannot get the required Secret Identifier for oncoming steps.
Task: Adding the Secret Identifier to your webapp
Step: 4
No can do as I cannot get the Secret Identifier.
Task: Deploy your application to Azure App Services
Step: 13
The deployment cannot commence because “This region has quota of 0 instances for your subscription. Try selecting different region or SKU.” But without knowing, which region does have quotas (for student accounts), this is a game of guessing (my first try was “West US” though).
Task: all
Step: all
Lab time most likely too short to complete the whole lab.

Reviewing issue

Solution for the lab found, waiting for labs to be updated in production.

Fix in place, lab now works as expected.


Question on how it works

Hi,
Your plugin is so close to what I need, but I can't seem to make it work right. I have an importmap and I really just want to rewrite e.g.
import {useState} from 'react';
to
import {useState} from '../web_modules/react';
So I have a list of third party imports and I just want to use relative imports. Any thoughts? Thank you

Hey!
So I understand, what do you expect the final url to look like? Do you mean you want the relative url to be resolved against the location of the asset server? Or do you want the final output to be relative? What have you tried so far?

Hello thank you for your reply,
I learned that without the bundle: true option set in esbuild, your plugin doesn't work. With it, it works PERFECTLY!
That might be nice to document more clearly.
Your plugin is my exact use case. Now that snowpack is dying, I needed a pure esbuild solution. Combined with esinstall, and your import map plugin, you can essentially get rid of snowpack. Big thanks!

Great! No problem.
if you have time, feel free to paste in your final working setup here in case it’s useful for others.

This solution really has 3 simple scripts, and functionally replaces snowpack and dev server.
add this to a file scripts/build.mjs, and add it to package.json / scripts as
{ scripts:     "build": "node scripts/build.mjs" }
I have another script which uses esinstall, scripts/install.mjs. Do that in postinstall: "node scripts/install.mjs"
You can improve this by reading package.json / dependencies and loading the array dynamically.
//install.mjs
import { install } from 'esinstall'; await install(['react', 'react-dom', '@mui/material', '@emotion/react', '@emotion/styled'], {     dest: 'dist/web_modules'   });
Note here how bundle is true. Then the import map works perfectly as an absolute url. It will work at every level of depth. That was the trick - once you understand esm loads urls according to the base / rules of the page like every other url on a web page.
//build.mjs
`import esbuild from 'esbuild';
import * as importMap from "esbuild-plugin-import-map";
import { globPlugin } from 'esbuild-plugin-glob';
import fs from 'fs';
const map = JSON.parse(fs.readFileSync('./dist/web_modules/import-map.json',
{encoding:'utf8', flag:'r'}));
for (var i in map.imports){
map.imports[i] = map.imports[i].replace('./', '/web_modules/');
}
importMap.load(map);
esbuild.build({
entryPoints: ['src/**/*.tsx'],
bundle: true,
format: 'esm',
inject: ['./react-shim.js'],
minify: false,
sourcemap: true,
watch: false,
target: 'es2020',
plugins: [globPlugin(), importMap.plugin()],
outdir: 'dist',
}).
then(() => {
import('./serve.mjs')
})
.catch(() => process.exit(1))`
//serve.mjs
`import liveServer from "live-server"
var params = {
port: 8181, // Set the server port. Defaults to 8080.
root: "dist", // Set root directory that's being served. Defaults to cwd.
logLevel: 2, // 0 = errors only, 1 = some, 2 = lots
open: false
};
liveServer.start(params);`


Update packages

Description
I upddated the packages and code to support the new versions of packages:
discord.js: ^14.3.0,
got: ^12.4.1,
pm2: ^5.2.5,
util: ^0.12.4

Type of change

[X] Dependencies change (npm package updates, downgrades, etc)
[X] This change requires a documentation update

How Has This Been Tested?

[x] Test A: Run the commands with different permissions to test permission checker
[ ] Test B: (for reload) Run .ping, change the code, reload, run .ping again

Checklist:

[X] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works

(btw sorry if this is poorly written its my first ever PR)

oh god the commit messages are horrible


Add SQLite to DrupalVM

Drupal Console, Drupal 8 tests, and other various components utilize SQLite. Should we add SQLite by default? Perhaps at the very least add this line to the "extra_packages" section of the config.yml file:
extra_packages:
  - unzip
  #- php5-sqlite

If you want drush to work as well, we'll also need to install sqlite3

This is one more package, though, that (because Debian/Ubuntu are crazy) would require more tweaking/changing in a switch between PHP 7 and PHP 5.x... I'm thinking I might postpone this until I make the final decision to default everything to PHP 7. Which may be fairly soon!

One upstream issue here: https://github.com/geerlingguy/ansible-role-php/issues/126
For installation of SQLite itself, since the package name differs between RedHat and Ubuntu, we might need to use a role :(
Otherwise, two tasks maybe.

Looks like we can simply add:
extra_packages:
  - sqlite

The package name is the same across at least CentOS 7 and Ubuntu 16.04 :)


Possibly non-optimal chunk sizes?

We currently save the on-disk chunk sizes in the database, and tell xarray to use these when loading data. @jmunroe pointed out that these chunks can be quite small, leading to a large number of tasks in the graph for many computations. Some thoughts:

there are many tasks, but this is less of a problem than it used to be -- task overhead has been significantly reduced in dask
perhaps this problem should be pushed up to the model layer, so they don't write such small chunks
perhaps we could defer down to xarray with auto chunksizes (I'm not sure if this takes the on-disk chunk boundaries into account, which would lead to rechunking churn)

From an email thread with @jmunroe and @aekiss

When discussing chunking, xarray and netCDF it is very confusing because there is on-disk (netCDF file level) chunking and xarray (dask) chunking. The netCDF chunk size is going to have some optimum size based on lustre which I don't know or understand at pretty much any level beyond hand-waving.

The xarray (dask) chunking will be what affects the size of the task-graph. Currently the cookbook library automatically matches the dask chunking to the on-disk chunking because it is difficult to think of a better default.

It does make some sense to have the netCDF chunk size smaller than what might be the optimum size for xarray calculations, as different calculations might like different xarray chunking along select dimensions (think time series analysis vs spatial analysis), and if the netCDF chunk size were large in all dimensions this would lead to a lot of unnecessary IO, unless dask/xarray does some nifty caching or can re-order ops based on IO access patterns. I know less than nothing about that.

Looking into the interplay of on-disk/dask chunking and auto chunking is a great use case of standard analyses cf #210

Related #194


Build fails with -DCLUSTERING="OFF"

The issue affects 0.23 release but should manifest in current master as well.
I'm building Xapiand on Alpine v3.9 like this:
cmake -DCLUSTERING="OFF" -DCMAKE_INSTALL_PREFIX="/usr" -GNinja "$builddir"
ninja

I get following error:
-- CMake v3.13.0
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Option DATABASE_WAL - on
-- Option DATA_STORAGE - on
-- Option CHAISCRIPT - on
-- Option UUID_ENCODED - on
-- Option LTO - on
-- Checking whether system has ANSI C header files
-- Looking for 8 include files dlfcn.h, ..., float.h
-- Looking for 8 include files dlfcn.h, ..., float.h - found
-- Performing Test memchrExists
-- Performing Test memchrExists - Success
-- Performing Test freeExists
-- Performing Test freeExists - Success
-- ANSI C header files - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for DIR in sys/stat.h;sys/types.h;dirent.h
-- Looking for DIR in sys/stat.h;sys/types.h;dirent.h - found
-- Found Git: /usr/bin/git (found version "2.20.1")
-- Performing Test HAVE_FLAG_STDLIB_LIBCPP
-- Performing Test HAVE_FLAG_STDLIB_LIBCPP - Failed
-- Found ZLIB: /lib/libz.so (found version "1.2.11")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Found UUID: /usr/lib/libuuid.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.6.0")
-- Found the following ICU libraries:
--   uc (required)
-- Found ICU: /usr/include (found suitable version "62.1", minimum required is "54.1")
-- Date Revision:<PHONE_NUMBER>1112
-- Performing Test HAVE_CXX_FLAG_STD_CXX17
-- Performing Test HAVE_CXX_FLAG_STD_CXX17 - Success
-- Performing Test HAVE_CXX_FLAG_FNO_COMMON
-- Performing Test HAVE_CXX_FLAG_FNO_COMMON - Success
-- Performing Test HAVE_CXX_FLAG_FLTO
-- Performing Test HAVE_CXX_FLAG_FLTO - Success
-- Performing Test HAVE_CXX_FLAG_FDIAGNOSTICS_COLOR_ALWAYS
-- Performing Test HAVE_CXX_FLAG_FDIAGNOSTICS_COLOR_ALWAYS - Success
-- Compiler: GCC (GNU)
-- Performing Test HAVE_CXX_FLAG_WNO_ATTRIBUTES
-- Performing Test HAVE_CXX_FLAG_WNO_ATTRIBUTES - Success
-- Performing Test HAVE_CXX_FLAG_WNO_SUBOBJECT_LINKAGE
-- Performing Test HAVE_CXX_FLAG_WNO_SUBOBJECT_LINKAGE - Success
-- Looking for include file pthread_np.h
-- Looking for include file pthread_np.h - not found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Looking for include file limits.h
-- Looking for include file limits.h - found
-- Looking for include file netinet/in.h
-- Looking for include file netinet/in.h - found
-- Looking for include file sys/socket.h
-- Looking for include file sys/socket.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file execinfo.h
-- Looking for include file execinfo.h - not found
-- Looking for include file libunwind.h
-- Looking for include file libunwind.h - not found
-- Looking for include file sys/sysctl.h
-- Looking for include file sys/sysctl.h - not found
-- Looking for include file sys/capability.h
-- Looking for include file sys/capability.h - not found
-- Looking for C++ include sstream
-- Looking for C++ include sstream - found
-- Looking for C++ include strstream
-- Looking for C++ include strstream - found
-- Looking for fallocate
-- Looking for fallocate - found
-- Looking for fsync
-- Looking for fsync - found
-- Looking for getcwd
-- Looking for getcwd - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for memcpy
-- Looking for memcpy - found
-- Looking for posix_fadvise
-- Looking for posix_fadvise - found
-- Looking for posix_fallocate
-- Looking for posix_fallocate - found
-- Looking for pread
-- Looking for pread - found
-- Looking for pwrite
-- Looking for pwrite - found
-- Looking for socket
-- Looking for socket - found
-- Looking for setresuid
-- Looking for setresuid - found
-- Looking for pthread_getname_np in pthread
-- Looking for pthread_getname_np in pthread - not found
-- Looking for pthread_get_name_np in pthread
-- Looking for pthread_get_name_np in pthread - not found
-- Looking for pthread_setname_np in pthread
-- Looking for pthread_setname_np in pthread - found
-- Looking for pthread_set_name_np in pthread
-- Looking for pthread_set_name_np in pthread - not found
-- Looking for pthread_attr_setaffinity_np in pthread
-- Looking for pthread_attr_setaffinity_np in pthread - not found
-- Performing Test HAVE_DECL___BUILTIN_EXPECT
-- Performing Test HAVE_DECL___BUILTIN_EXPECT - Success
-- Looking for fdatasync
-- Looking for fdatasync - found
-- Looking for include file sys/epoll.h
-- Looking for include file sys/epoll.h - found
-- Looking for include files sys/types.h, sys/event.h
-- Looking for include files sys/types.h, sys/event.h - not found
-- Looking for include file sys/eventfd.h
-- Looking for include file sys/eventfd.h - found
-- Looking for include file sys/inotify.h
-- Looking for include file sys/inotify.h - found
-- Looking for include file sys/select.h
-- Looking for include file sys/select.h - found
-- Looking for include file sys/signalfd.h
-- Looking for include file sys/signalfd.h - found
-- Looking for include file port.h
-- Looking for include file port.h - not found
-- Looking for include file poll.h
-- Looking for include file poll.h - found
-- Looking for inotify_init
-- Looking for inotify_init - found
-- Looking for epoll_ctl
-- Looking for epoll_ctl - found
-- Looking for kqueue
-- Looking for kqueue - not found
-- Looking for select
-- Looking for select - found
-- Looking for eventfd
-- Looking for eventfd - found
-- Looking for signalfd
-- Looking for signalfd - found
-- Looking for port_create
-- Looking for port_create - not found
-- Looking for poll
-- Looking for poll - found
-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- Looking for nanosleep
-- Looking for nanosleep - found
-- Looking for exp10
-- Looking for exp10 - not found
-- Looking for log2
-- Looking for log2 - found
-- Looking for __exp10
-- Looking for __exp10 - not found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for _byteswap_uint64
-- Looking for _byteswap_uint64 - not found
-- Looking for _byteswap_ulong
-- Looking for _byteswap_ulong - not found
-- Looking for _byteswap_ushort
-- Looking for _byteswap_ushort - not found
-- Looking for _putenv_s
-- Looking for _putenv_s - not found
-- Looking for __popcnt
-- Looking for __popcnt - not found
-- Looking for __popcnt64
-- Looking for __popcnt64 - not found
-- Looking for closefrom
-- Looking for closefrom - not found
-- Looking for fork
-- Looking for fork - found
-- Looking for ftime
-- Looking for ftime - found
-- Looking for ftruncate
-- Looking for ftruncate - found
-- Looking for getdirentries
-- Looking for getdirentries - not found
-- Looking for gethostname
-- Looking for gethostname - found
-- Looking for getrlimit
-- Looking for getrlimit - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for link
-- Looking for link - found
-- Looking for nftw
-- Looking for nftw - found
-- Looking for random
-- Looking for random - found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for sigaction
-- Looking for sigaction - found
-- Looking for sigsetjmp
-- Looking for sigsetjmp - found
-- Looking for sleep
-- Looking for sleep - found
-- Looking for socketpair
-- Looking for socketpair - found
-- Looking for srandom
-- Looking for srandom - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Looking for timer_create
-- Looking for timer_create - found
-- Looking for times
-- Looking for times - found
-- Looking for writev
-- Looking for writev - found
-- Performing Test HAVE_SYS_ERRLIST_AND_SYS_NERR
-- Performing Test HAVE_SYS_ERRLIST_AND_SYS_NERR - Failed
-- Performing Test HAVE__SYS_ERRLIST_AND__SYS_NERR
-- Performing Test HAVE__SYS_ERRLIST_AND__SYS_NERR - Failed
-- Performing Test HAVE___BUILTIN_EXP10
-- Performing Test HAVE___BUILTIN_EXP10 - Success
-- Performing Test FTIME_RETURNS_INT
-- Performing Test FTIME_RETURNS_INT - Success
-- Performing Test STRERROR_R_CHAR_P
-- Performing Test STRERROR_R_CHAR_P - Failed
-- Performing Test HAVE_DECL___BUILTIN_ADD_OVERFLOW
-- Performing Test HAVE_DECL___BUILTIN_ADD_OVERFLOW - Success
-- Performing Test HAVE_DECL___BUILTIN_BSWAP16
-- Performing Test HAVE_DECL___BUILTIN_BSWAP16 - Success
-- Performing Test HAVE_DECL___BUILTIN_BSWAP32
-- Performing Test HAVE_DECL___BUILTIN_BSWAP32 - Success
-- Performing Test HAVE_DECL___BUILTIN_BSWAP64
-- Performing Test HAVE_DECL___BUILTIN_BSWAP64 - Success
-- Performing Test HAVE_DECL___BUILTIN_CLZ
-- Performing Test HAVE_DECL___BUILTIN_CLZ - Success
-- Performing Test HAVE_DECL___BUILTIN_CLZL
-- Performing Test HAVE_DECL___BUILTIN_CLZL - Success
-- Performing Test HAVE_DECL___BUILTIN_CLZLL
-- Performing Test HAVE_DECL___BUILTIN_CLZLL - Success
-- Performing Test HAVE_DECL___BUILTIN_CTZ
-- Performing Test HAVE_DECL___BUILTIN_CTZ - Success
-- Performing Test HAVE_DECL___BUILTIN_CTZL
-- Performing Test HAVE_DECL___BUILTIN_CTZL - Success
-- Performing Test HAVE_DECL___BUILTIN_CTZLL
-- Performing Test HAVE_DECL___BUILTIN_CTZLL - Success
-- Performing Test HAVE_DECL___BUILTIN_MUL_OVERFLOW
-- Performing Test HAVE_DECL___BUILTIN_MUL_OVERFLOW - Success
-- Performing Test HAVE_DECL___BUILTIN_POPCOUNT
-- Performing Test HAVE_DECL___BUILTIN_POPCOUNT - Success
-- Performing Test HAVE_DECL___BUILTIN_POPCOUNTL
-- Performing Test HAVE_DECL___BUILTIN_POPCOUNTL - Success
-- Performing Test HAVE_DECL___BUILTIN_POPCOUNTLL
-- Performing Test HAVE_DECL___BUILTIN_POPCOUNTLL - Success
-- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE
-- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE - Failed
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file sys/resource.h
-- Looking for include file sys/resource.h - found
-- Looking for include file sys/uio.h
-- Looking for include file sys/uio.h - found
-- Looking for include file sys/utsname.h
-- Looking for include file sys/utsname.h - found
-- Looking for include file uuid.h
-- Looking for include file uuid.h - not found
-- Looking for include file uuid/uuid.h
-- Looking for include file uuid/uuid.h - found
-- Looking for include file zlib.h
-- Looking for include file zlib.h - found
-- Performing Test SOCKLEN_T
-- Performing Test SOCKLEN_T - Success
-- Performing Test SNPRINTF
-- Performing Test SNPRINTF - Success
-- Performing Test IEEE
-- Performing Test IEEE - Success
-- Performing Test PREAD_PROTOTYPE
-- Performing Test PREAD_PROTOTYPE - Success
-- Performing Test PWRITE_PROTOTYPE
-- Performing Test PWRITE_PROTOTYPE - Success
-- Performing Test ATOMIC_AVAILABLE
-- Performing Test ATOMIC_AVAILABLE - Failed
-- Check size of long long
-- Check size of long long - done
-- Check size of uint16_t
-- Check size of uint16_t - done
-- Check size of u_int16_t
-- Check size of u_int16_t - done
-- Check size of __uint16
-- Check size of __uint16 - failed
-- Check size of _Bool
-- Check size of _Bool - done
-- Looking for ccache - not found
-- RelWithDebInfo build
-- Compile flags: -Os -fomit-frame-pointer -std=c++17 -fno-common -fdiagnostics-color=always -Wno-attributes -Wno-subobject-linkage -D_Atomic=volatile -O2 -g -DNDEBUG
-- Configuring done
-- Generating done
-- Build files have been written to: /work/user/xapiand/src/Xapiand-0.23.0/build

[42/400] Building CXX object CMakeFiles/XAPIAND_OBJ.dir/src/database/schemas_lru.cc.o
FAILED: CMakeFiles/XAPIAND_OBJ.dir/src/database/schemas_lru.cc.o
/usr/bin/c++   -I../src -Isrc -Os -fomit-frame-pointer -std=c++17 -fno-common -fdiagnostics-color=always -Wno-attributes -Wno-subobject-linkage -D_Atomic=volatile -O2 -g -DNDEBUG -MD -MT CMakeFiles/XAPIAND_OBJ.dir/src/database/schemas_lru.cc.o -MF CMakeFiles/XAPIAND_OBJ.dir/src/database/schemas_lru.cc.o.d -o CMakeFiles/XAPIAND_OBJ.dir/src/database/schemas_lru.cc.o -c ../src/database/schemas_lru.cc
../src/database/schemas_lru.cc: In member function 'std::tuple<bool, std::shared_ptr<const MsgPack>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > SchemasLRU::_update(const char*, bool, const std::shared_ptr<const MsgPack>&, const MsgPack*, const Endpoints&, int, std::shared_ptr<std::unordered_set<std::__cxx11::basic_string<char> > >)':
../src/database/schemas_lru.cc:478:7: error: 'schema_updater' was not declared in this scope
       schema_updater()->debounce(foreign_uri, version, foreign_uri);
       ^~~~~~~~~~~~~~
../src/database/schemas_lru.cc:478:7: note: suggested alternative: 'schema_ptr'
       schema_updater()->debounce(foreign_uri, version, foreign_uri);
       ^~~~~~~~~~~~~~
       schema_ptr
ninja: build stopped: subcommand failed.

The compilation will succeed if following patch is applied (I'm not sure about any other inadverent effects though):
--- a/src/database/schemas_lru.cc
+++ b/src/database/schemas_lru.cc
@@ -475,7 +475,9 @@ SchemasLRU::_update([[maybe_unused]] const char* prefix, bool writable, const st
 					auto version = save_shared(foreign_id, *schema_ptr, Endpoint(foreign_path), context);
 					schema_ptr->set_flags(version);
 					if (version) {
+#ifdef XAPIAND_CLUSTERING
 						schema_updater()->debounce(foreign_uri, version, foreign_uri);
+#endif
 					}
 					L_SCHEMA("{}" + YELLOW_GREEN + "Foreign Schema [{}] was saved to {} id={}: " + DIM_GREY + "{}", prefix, repr(foreign_uri), repr(foreign_path), repr(foreign_id), repr(schema_ptr->to_string()));
 				} catch (const Xapian::DocVersionConflictError&) {

Thanks so much for reporting the issue and indeed your patch fix the problem. Thanks!!!! It should now be fixed by 1830bf9


User revenue for sold NFT with pending conflicting transaction

Soonaverse user: 0xce4e4adbc0834333baaa04e523ed8411507b08f3
User never received payment for selling his NFT on soonaverse.  In Shimmer explorer it reports as "conflicting"
https://explorer.shimmer.network/shimmer/block/0x5b9405a876e290cf38d55c69a296ff90a1623d4f9879ac897721fc0a395e0d8b
Appears as though NFT was purchased through bulk buying option with this transaction:
https://explorer.shimmer.network/shimmer/transaction/0xd0fe88b422be1ed270ceb4052964b4944cb4c1af4b2f01f2fb81b31e4afd8a8d

Can you please have a look @adamunchained

Payment received


[BUG]: Sophos Antivirus detects the decryption of a powershell payload as malicious

What happened?
The ProtectedData conversion of a base64 payload which happens here is triggering Sophos AV detection as "WIN-EXE-ENR-ML-MALICIOUS-3" due to the execution of obfuscated powershell.
Versions
Agent.Version: 2.210.1
OS Name: Microsoft Windows Server 2022 Standard
Version: 10.0.20348 Build 20348
Environment type (Please select at least one enviroment where you face this issue)

[X] Self-Hosted
[ ] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
Azure DevOps Server (Please specify exact version in the textbox below)
Azure DevOps Server Version (if applicable)
Azure DevOps Server Version 19.205.33122.1
Operation system
Microsoft Windows Server 2019 Standard - Version 10.0.17763 Build 17763
Version controll system
git
Relevant log output
No response

Hi @maf1024, thanks for reporting! We are working on more prioritized issues at the moment, but will get back to this one soon.


Ha 10730 daterange

Can we change 'PIP Apply' to PIP on this page
http://localhost:3000/mys-version-0-3/service-metrics/which-service?

Sorry found a bug on http://localhost:3000/mys-version-0-3/find-out
weird behaviour of clicking on radio labels, have dropped a video in slack


{Core} aaz: Fix invalid escape in tests

Related command

Description

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Core


aws-connect-vm-portal - ERESOLVE unable to resolve dependency tree

ISSUE

ERESOLVE unable to resolve dependency tree

RECREATION STEPS

Download ZIP of repo (v1.1.0)
Unzip the file to your location of choice (I unzipped it on my development VDI)
Navigate to the source\aws-connect-vm-portal folder
Install the NPM packages

OUTPUT
C:\dev\cim-amazon-connect-voicemail\source\aws-connect-vm-portal>npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/react-native
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>
npm ERR!   node_modules/@react-native-community/netinfo
npm ERR!     peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!     node_modules/@aws-amplify/core
npm ERR!       peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!       node_modules/aws-amplify-react
npm ERR!       3 more (@aws-amplify/analytics, @aws-amplify/api, @aws-amplify/auth)
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

REQUEST

Please let me know how to resolve this issue without having to upgrade all of the NPM packages to their latest version.
Point me at any documentation on how to get the UI installed, built, and running on my local machine.  Our corporate policies will not allow deployment of this app using the provided steps, so code must be built and deployed by using Azure DevOps build agent pipelines.
Are their plans on the backlog to get this updated to use more recent packages?  Many of the packages referenced are years older than their newest revision.

CLARIFICATION

Yes, I can use --legacy-peer-deps on my npm i command and it will try to install the packages, but because of security vulnerabilities in three packages (see addendum) the installation won't complete.  Once I get past that issue I'll update this issue.

UI UPDATES

Our plan is to submit a PR to the development branch that allows for more global settings (making SMS optional) and changing the Admin UI to hide transcription and SMS options when they are disabled globally.

ADDENDUM
There are also three npm packages that have security vulnerabilities (express 4.18.2, immer 9.0.6, aws-sdk 2.555.0) causing the packages to be quarantined by our nexus package server, but I'll follow the guidelines in your security policy to report them.

Hi @PeifferWM
Since you are wanting to deploy this locally (and then through a pipeline), can you confirm you are using the development branch and Node 14 as per the README?
Thanks!
Gillian

Hello and thank you for your comment @virtualgill ,
I am using code version 1.1.0, which I believe is from the master branch as that is more stable (updated appx twice a year).
I looked at the note about Node 15 being an issue and saw that the ticket was closed.  I forget that 'closed' doesn't mean 'resolved', so should have looked at the comments as the 'resolution' was to use Node 14.
I was on Node 16, so had to downgrade.  As my development machine is Windows and it is a pretty locked down corporate virtual machine, NVM4W is not a simple app to use.  Changing Node versions requires complete uninstall/reinstall, but I did that.
Unfortunately, security violations in referenced packages stopped me from installing the packages without doing two more things (after we whitelisted both<EMAIL_ADDRESS>and immer@6.0.1).

Update aws-sdk in package.json to use 2.1234.0 (Had to be 2.814 or higher)
Add a npm-shrinkwrap.json file (yes, more modern way is package-lock.json) to force aws-amplify to use a<EMAIL_ADDRESS>
  {
    "dependencies": {
      "@aws-amplify/core": {
        "version": "^2.2.1",
        "from": "<EMAIL_ADDRESS>        "dependencies": {
          "aws-sdk": {
            "version": "2.1234.0",
            "from"<EMAIL_ADDRESS>          }
        }
      }
    }
  }

That got the packages to install successfully.  But it still won't build.  (Remember, I'm on Windows, so the provided npm run build command doesn't work.)  Instead I just npx react-scripts build and this is the results.

Any other suggestions on how to get this to build without completely deviating from the code provided in the repository?
Thad

I'm withdrawing this question.  After upgrading TypeScript to 3.5.5 the build errors go away.  I still think that this code should install and build with no modifications when it is downloaded, but I'll open a support ticket directly within the AWS console about that and work with our Account Manager about that, just like I'm emailing Amazon directly about the NPM packages with critical security vulnerabilities.


regional gke cluster example.

Hello guys!
There's a template, nice schema for it, and example for a regional GKE cluster.
There's a little explanation in README.md about bugs workarounds that would explain some desicions that were made in the template.
Best from Amsterdam,
Ivan.

I signed it!

Hi, I think the issue is that the author of the commit in git isn't the exact same identity as your github user, so it upset our bot. I'm assuming that you are this person since your name matches. Can you author the commit as your github account and submit a new request? Sorry for the complication.

nah. It's not worthy. In the end I decided to give up on this one with this amount of workarounds and bugs you need to deal with on the way of cluster creation and create all the clusters manually.


Feature Request: Backup look up provider if primary runs out of quota

Does this make sense?
I do this in my code by catching the error thrown and retrying the request with a different lookup provider, but this feels like it might be a useful addition for low budget projects?

Yes, totally agree. See #351 and #746.


Inviting friends to community

It would be great if we can invite friends to community.

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

Closing in light of #3127.


teardown ability

Added the ability to "teardown" a single rate limited key. I realized if you write tests around this on a production api... the rate limiter can screw up the tests.
This was a small idea, so I figured I would send a small pull request to see what/how you think this should potentially work if it is to be added.

Sounds good I'll, do it in the morning.

Changes made. No more keys, just create the key for the given dur, and run delete. This is perfect.

Going to merge and address my comments myself :) Thanks anyway!

Released in v4.0.1


[PowerRename] Clear capturing groups with more than 1 digit

Summary of the Pull Request
As discussed in #4125, number of capturing groups available in PowerRename will be limited to 1 digit numbers. Other capturing groups will be cleared.
Assume pattern:(foo)_(bar) matches. Then,

$1 will become foo
$0001 will become foo
$002 will become bar
$3, $4, $5, $12, $004 etc. will become empty string.

PR Checklist

[x] Applies to #4125
[x] CLA signed. If not, go over here and sign the CLA
[x] Tests added/passed
[x] Requires documentation to be updated
[x] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

The added testcase looks good!

Do we really need to process $0001? To me it looks like a syntax error if the intention was to use $1, but if it was intentional, we should not treat it as $1.

Do we really need to process $0001? To me it looks like a syntax error if the intention was to use $1, but if it was intentional, we should not treat it as $1.

I thought if $01 is treated as $1 why $001 shouldn't be.
These seem to be some edge cases and I can't be sure how to handle. And since these are edge cases, users probably will encounter rarely and current behaviour seemed somewhat smooth to me when encountered rarely.
How do you think we should treat those? If you suggest that we should keep $0001 as it is, what about $01 since we limit the capturing groups to 1 digit.

$01 should also not be treat as a special case, since it should not be equivalent to $1.

Edited the PR description accordingly.

I added a few more tests:
{ L"(foo)(bar)", L"$0$1$2_$123$040", L"foobar", L"$0foobar_foo23$040" },
{ L"(foo)(bar)", L"$1$1$2_$123$040$2", L"foobar", L"foofoobar_foo23$040bar" },
{ L"(foo)(bar)", L"$$$1", L"foobar", L"$foo" },
{ L"(foo)(bar)", L"$$1", L"foobar", L"$1" },
{ L"(foo)(bar)", L"$12", L"foobar", L"foo2" },
{ L"(foo)(bar)", L"$10", L"foobar", L"foo0" },

The last two of these fail, probably because you're expecting something before the first dollar sign.

what else is needed here to get this in?

@muratakburak did you sign the CLA?

did you sign the CLA?

He did, not sure why it shows Expected, this is not his first PR, (e.g. #4722)

ok, overriding it then.


Implemented: system groups section on find groups page

Related Issues

Closes #
Short Description and Why It's Useful

Screenshots of Visual Changes before/after (If There Are Any)

Contribution and Currently Important Rules Acceptance

[ ] I read and followed contribution rules

@k2maan you should also include the group type badge on the group cards in this PR if you haven't already done that


Inconsistent time_key types between RealTimeKernel.from_moscot() and TemporalProblem.prepare()

Hello,
First of all, thank you for the great tools and the continuous updates. I tried to run moscot+cellrank on my data and I run into some issues. I went back to the tutorial and I encountered the same things:

Moscot's TemporalProblem.prepare() requires a numerical time_key, while CellRank's RealTimeKernel.from_moscot() wants a categorical variable. By running the tutorial example, I get the below error after tp.prepare(time_key = 'day').
If I change day into day_numerical, it runs, however CellRank's kernel will fail as it needs a categorical variable.

TypeError: Temporal key has to be of numeric type.Found `adata.obs['day']` to be of type `categorical`.

TypeError: Expected `adata.obs['day_numerical']` to be categorical, found `floating`.

Versions:

cellrank==2.0.0 scanpy==1.9.3 anndata==0.9.2 numpy==1.24.4 numba==0.57.1 scipy==1.11.1 pandas==1.5.3 pygpcca==1.0.4 scikit-learn==1.3.0 statsmodels==0.14.0 scvelo==0.2.5 pygam==0.8.0 matplotlib==3.7.1 seaborn==0.12.2

Hey @palfalvi, thanks for pointing this out, I ran into the same error and we fixed it on moscot's side here: https://github.com/theislab/moscot/pull/548 Can you please try installing moscot from main to see whether this works for you?
@MUCDK @michalk8, I think we should make a patch release in moscot to fix this, the RealTimeKernel in CellRank is currently not usable because of this.

Hey @Marius1311 ,
Thank you for the rapid answer.
I reinstalled moscot from github and now it works fine.
Best,
Gergo

Hi,
Thanks for developing this powerful tool.
I ran into the same issue and reinstalled moscot from main, however when passing "Day" as categorical I get the following error:
tp <- tp.prepare(time_key="Day", joint_attr='X_scpoli')

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[8], line 1
----> 1 tp <- tp.prepare(time_key="Day", joint_attr='X_scpoli')

TypeError: bad operand type for unary -: 'TemporalProblem'

My adata.obs['Day'] looks like:
Name: Day, Length: 55327, dtype: category
Categories (8, float64): [5.0, 11.0, 14.0, 20.0, 30.0, 60.0, 90.0, 120.0]

:

Versions
    `
    -----
    anndata     0.10.8
    scanpy      1.10.3
    -----
    PIL                         10.3.0
    absl                        NA
    asttokens                   NA
    backports                   NA
    cellrank                    2.0.6
    cffi                        1.17.1
    chex                        0.1.86
    cloudpickle                 3.0.0
    colorama                    0.4.6
    comm                        0.2.1
    contextlib2                 NA
    cycler                      0.12.1
    cython_runtime              NA
    dateutil                    2.9.0
    debugpy                     1.6.7
    decorator                   5.1.1
    diffrax                     0.6.0
    docrep                      0.3.2
    docstring_inheritance       NA
    equinox                     0.11.7
    etils                       1.9.4
    executing                   0.8.3
    filelock                    3.16.1
    flax                        0.9.0
    fsspec                      2024.9.0
    google                      NA
    h5py                        3.11.0
    igraph                      0.11.6
    ipykernel                   6.28.0
    jaraco                      NA
    jax                         0.4.35
    jax_cuda12_plugin           NA
    jax_plugins                 NA
    jaxlib                      0.4.35
    jaxopt                      NA
    jaxtyping                   0.2.34
    jedi                        0.19.1
    joblib                      1.4.2
    kiwisolver                  1.4.7
    legacy_api_wrap             NA
    leidenalg                   0.10.2
    lightning                   2.4.0
    lightning_utilities         0.11.7
    lineax                      0.0.7
    llvmlite                    0.43.0
    matplotlib                  3.8.4
    matplotlib_inline           0.1.6
    ml_collections              NA
    ml_dtypes                   0.5.0
    more_itertools              10.3.0
    moscot                      0.3.6.dev63+g655e179
    mpl_toolkits                NA
    mpmath                      1.3.0
    msgpack                     1.1.0
    mudata                      0.3.1
    multipledispatch            0.6.0
    natsort                     8.4.0
    networkx                    3.4.2
    numba                       0.60.0
    numpy                       1.26.4
    numpyro                     0.15.3
    nvidia                      NA
    opt_einsum                  v3.3.0
    optax                       0.2.2
    optimistix                  0.0.9
    ott                         0.4.8
    packaging                   24.1
    pandas                      2.2.3
    parso                       0.8.3
    patsy                       0.5.6
    petsc4py                    3.21.5
    pkg_resources               NA
    platformdirs                3.10.0
    plotly                      5.24.1
    progressbar                 4.5.0
    prompt_toolkit              3.0.43
    psutil                      5.9.0
    pure_eval                   0.2.2
    pydev_ipython               NA
    pydevconsole                NA
    pydevd                      2.9.5
    pydevd_file_utils           NA
    pydevd_plugins              NA
    pydevd_tracing              NA
    pygam                       0.9.1
    pygments                    2.18.0
    pygpcca                     1.0.4
    pyparsing                   3.1.4
    pyro                        1.9.1+0a67ddc
    python_utils                NA
    pytz                        2024.2
    rich                        NA
    scipy                       1.12.0
    scvelo                      0.3.2
    scvi                        1.1.6.post2
    seaborn                     0.13.2
    session_info                1.0.0
    six                         1.16.0
    sklearn                     1.1.3
    slepc4py                    3.21.1
    sparse                      0.15.4
    stack_data                  0.2.0
    statsmodels                 0.14.3
    sympy                       1.13.2
    texttable                   1.7.0
    threadpoolctl               3.5.0
    toolz                       0.12.1
    torch                       2.4.0
    torchgen                    NA
    torchmetrics                1.4.2
    tornado                     6.4.1
    tqdm                        4.66.5
    traitlets                   5.14.3
    typeguard                   NA
    typing_extensions           NA
    wcwidth                     0.2.5
    wrapt                       1.16.0
    yaml                        6.0.2
    zmq                         25.1.2
    zstandard                   0.23.0
    -----
    IPython             8.27.0
    jupyter_client      8.6.0
    jupyter_core        5.7.2
    -----
    Python 3.11.9 (main, Apr 19 2024, 16:48:06) [GCC 11.2.0]
    Linux-4.18.0-553.16.1.el8_10.x86_64-x86_64-with-glibc2.31
    -----
    Session information updated at 2024-11-05 12:04
    `

Hi,
This is strange to me. Would you mind posting a short reproducible example? I.e. create a small toy AnnData with the same dtype of Day.

I've encountered this before as well.

Hi,
This is strange to me. Would you mind posting a short reproducible example? I.e. create a small toy AnnData with the same dtype of Day.

Hi Dominik,
You can download a toy dataset from this link:
https://filesender.surf.nl/?s=download&token=197bda9c-835b-42b2-9a75-fd197481266f
Following the CellRank tutorial I run
adata.obs["Day"] = adata.obs["Day"].astype(float).astype("category")
adata.obs["day_numerical"] = adata.obs["Day"].astype(float)

### Run moscot to couple cells across timepoints
tp = TemporalProblem(toy_adata)
tp = tp.score_genes_for_marginals(gene_set_proliferation="human", gene_set_apoptosis="human")
tp <- tp.prepare(time_key="Day", joint_attr='X_scPoli')

Also tried without passing a joint_attr, but it will give the same error after computing the last PCA.
If you need additional information, .obs/.obsm/.layers, let me know!
Thanks!

@selmanozleyen can you please have a look?


DB password special character bug

When a special character '@' exists in the sqlalchemy URI it is not store correctly in superset metastore.
example URI:
postgresql://:123@456@:5432/
Expected results
escape the special character correctly after saving the Database entry
Actual results
what actually happens.
Screenshots
If applicable, add screenshots to help explain your problem.
How to reproduce the bug

Go to Sources -> Datasources -> Create New
Construct the URI and make sure the password has '@' character.
Test Connection (Success)
Save Datasource
Open the newly created datasource
Test Connection (Failed)

In this stage if you replace the password part ('XXXXXXXXXX') in the URI with the actual password its working correctly
Environment

superset version: 0.37.0rc1

Thanks for the report @GiannisDimitriou - if you have a recommended code fix we'd be really excited!

@GiannisDimitriou the password needs to be entered pre-quoted. You can check what the password/username would be when quoted with the following snippet:
>>> from urllib.parse import quote_plus
>>> quote_plus('my@password/with!weird\characters')
'my%40password%2Fwith%21weird%5Ccharacters'

While it would be simple to perform this quoting automatically, current users are relying on the existing functionality. I can open a PR explaining how to properly quote username/password, unless you wish to that is!

Side note: I had a recent conversation with one of our designers and he mentioned the idea of moving away from URIs and having a more complete form with different fields for each component of the URI. Maybe an "advanced" option let's you use the URI if you prefer. Then the UI would quote things for you.

Side note: I had a recent conversation with one of our designers and he mentioned the idea of moving away from URIs and having a more complete form with different fields for each component of the URI. Maybe an "advanced" option let's you use the URI if you prefer. Then the UI would quote things for you.

@mistercrunch  That's a very good idea, looking forward to help with requirement/testing if needed
@villebro Thanks for the snippet!

Hello, is there an update on this . my password has an asterix. I would atleast love to get a work around.
postgresql+psycopg2://test:test123**@play-domain.1.rds.amazonaws.com:5432/keymakerdb

If I just escape the password, it works at connection time but does not recognize the password post connection. so essentially unusable.

related https://github.com/apache/superset/issues/13456

Any workaround here?

For now - changed type of password field from being EncryptedType to String in superset/models/core.py
Before anyone uses this approach - please consider security risk here. I'm doing it for POC purposes.

Same issue, our password include %
We got error as below:
ValueError: invalid interpolation syntax in 'postgresql+psycopg2://username:xxx!xxx%@localhost:5432/superset' at position 56

same here, if password or username has '@' it does not seems to be working.

Did you try escaping the password string as explained above?

I was able to make it work via replacing the special character with url encode value.
example: "pass@word" should be changed to "pass%40word" in SQLALCHEMY URI* field.


Any example how to upload files to s3?

In particular I was trying to upload a png file. There is a  putObjectRequest.SetBody(); function but it only accepts string stream. How can I upload an image file?

SetBody accepts any arbitrary iostream.
Sent from my iPhone

On May 20, 2016, at 11:22 AM, chebz<EMAIL_ADDRESS>wrote:
In particular I was trying to upload a png file. There is a putObjectRequest.SetBody(); function but it only accepts string stream. How can I upload an image file?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

Well I can't just put IFStream/FStream there, And I am not sure how to do it otherwise.

You can put fstream. See the Readme which has a sample. Also have a look at the s3 integration tests which also do this.
Sent from my iPhone

On May 20, 2016, at 2:16 PM, chebz<EMAIL_ADDRESS>wrote:
Well I can't just put IFStream/FStream there, And I am not sure how to do it otherwise.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub

yeah figured it out, like I've said in the email, I've tried using ifstream whereas I should have been using fstream. Thanks!

Can I please have some sample code as well as I am trying to the exactly same thing? In particular, how am I suppose to open a local png file and then make iostream that is acceptable by putObjectRequest.SetBody() ?

Hi
As per this link, https://aws.amazon.com/blogs/developer/using-cmake-exports-with-the-aws-sdk-for-c/
I made a project and able to upload the string example.
Then i tried to upload a jpeg file as per this link, https://forums.aws.amazon.com/thread.jspa?messageID=712685
But the putObjectOutcome is failure.
The error is >> Error while putting Object BadRequest Unable to parse ExceptionName: BadRequest Message: An error occurred when parsing the HTTP request.
My code is below.
int main()
{
Aws::SDKOptions options;
Aws::InitAPI(options);
S3Client client;
//first put an object into s3
PutObjectRequest putObjectRequest;
putObjectRequest.WithKey(KEY)
       .WithBucket(BUCKET);

#if 0
//this can be any arbitrary stream (e.g. fstream, stringstream etc...)
auto requestStream = Aws::MakeSharedAws::StringStream("s3-sample");
*requestStream << "Emoji s3 upload test";
//set the stream that will be put to s3
putObjectRequest.SetBody(requestStream);

#else
string filePATH = "planets.jpg";
//PutObjectRequest putObjectRequest;
//putObjectRequest.SetBucket(S3_BUCKET);
std::shared_ptr<Aws::FStream> fileToUpload = Aws::MakeShared<Aws::FStream>("OCRFile", filePATH, ios::in | ios::binary | ios::trunc);
putObjectRequest.SetBody(fileToUpload);
putObjectRequest.SetContentType("image/jpeg");
putObjectRequest.SetContentLength(static_cast<long>(putObjectRequest.GetBody()->tellg()));
//putObjectRequest.SetContentMD5(HashingUtils::Base64Encode(HashingUtils::CalculateMD5(*putObjectRequest.GetBody())));
//PutObjectOutcome putObjectOutcome = s3Client.PutObject(putObjectRequest);

#endif
auto putObjectOutcome = client.PutObject(putObjectRequest);
if(putObjectOutcome.IsSuccess())
{
    std::cout << "Put object succeeded" << std::endl;
}
else
{
    std::cout << "Error while putting Object " << putObjectOutcome.GetError().GetExceptionName() <<
           " " << putObjectOutcome.GetError().GetMessage() << std::endl;
}

.....
.....
Please let me know if anyone fixed it.
Thanks
Gopi. J


[AKS] fix the aks browse in cloud shell.

History Notes:
(Fill in the following template if multiple notes are needed, otherwise PR title will be used for history note.)
[Component Name 1] (BREAKING CHANGE:) (az command:) make some customer-facing change.
[Component Name 2] (BREAKING CHANGE:) (az command:) make some customer-facing change.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

hi @qwordy  @fengzhou-msft  could you pls help to look at this PR? thanks.

It seems this is broken again, the Cloud Shell CLI 2.1.0 without aks-preview extension shows the JSON API, with the extension it now shows an URL in this form, which opens a blank page:   https://gateway18.eastus.console.azure.com/n/cc-373a90e2/cc-373a90e2/proxy/8001/api/v1/namespaces/kube-system/services/http:kubernetes-dashboard:/proxy

@kennethgp will be fixed by this PR:
https://github.com/Azure/azure-cli/pull/12411

@kennethgp @andyliuliming  Thank for your efforts, how long can we have this in azure cli cause both me and my customer tested this function it is still not working as expected,

@JuneZhao  this is released in 2.2.0 . please help double check


WebGPU: add suport to ShaderMaterial for native WGSL + misc updates

Sorry for the big PR!
A good chunk of it is specific to WebGPU, here's an overview:
WGSL shader code

There's a new property that indicates the language a shader is written in (GLSL or WGSL)

this property is used by Effect to select the right directories to retrieve the shaders from

WGSL shaders are now in a separate ShadersWGSL/ directory (and ShadersWGSL/ShadersInclude/) and not in Shaders/

ShaderStore, Effect and some gulp scripts have been updated to support this change

ShaderMaterial has been updated to support WGSL shaders

all features of WebGPU are supported: external textures, samplers, storage textures, storage buffers

a new ExternalTexture class has been created for external textures support
a new Sampler class has been added. The corresponding properties have been moved from InternalTexture to Sampler and InternalTexture now extends Sampler

adding this class also simplified the code of WebGPUCacheBindGroup

instances, morphs and bones are working in WGSL (by adding the appropriate #include<...> declarations as in GLSL)
I will make a doc page to explain how to use WGSL in ShaderMaterial

WGSL shader code

I have reused in WGSL the same names for the built-ins than the ones used in GLSL

gl_VertexID, gl_InstanceID, gl_Position, gl_FragCoord, gl_FrontFacing, gl_FragDepth, gl_FragColor
I could use the names from the WGSL spec but as we can use the names we want it seemed better (for the end user) to use the same names than in GLSL

attribute, varying, uniform and uniform buffers are declared in the same way than in GLSL

in WGSL, the equivalent of attributes and varyings must be enclosed in a struct, meaning we can't easily dispatch these declarations in several files
I have reused the attribute/varying/uniform syntax from GLSL and added some wrapping code to comply with the WGSL syntax => I have copied the way GLSLang->Tint->WGSL is doing it
the uniform declarations are collected and added into the LeftOver uniform buffer which is the buffer that is updated when using the ShaderMaterial.setXXX methods

Perf improvements

there has been some perf improvements

the bind group caching mechanism has been improved to avoid querying the cache if no changes occurred in the material context since the last draw call: we just reuse the previous bind groups "as is"
the bind group descriptors are pre-created and reused when we need to create the bind groups (lower GC usage)
some internal reorg allowed to simplify and improve code in WebGPUCacheRenderPipeline
use only two bind groups, #0 for the scene ubo and #1 for everything else (which is possible because the max number of bindings in a group is 2^16)

this allows to issue only two setBindGroup() calls instead of 3 or 4.
in a future PR, we should handle the scene ubo "by hand" and re-set it only if it has changed. That way, in average, we will only issue a single setBindGroup() call to set the group #1 as group #0 will change infrequently
there's the WebGPUShaderProcessingContext._SimplifiedKnownBindings flag that can be set to false if we want to reverse to the previous way of handling binding groups (we used bind groups #0, #1 and #2 for specific known ubos)

Miscellaneous

the webgpu.idl file has been synchronized with the spec
some parsing code from ShaderCodeInliner has been moved to a separate Misc/CodeStringParsingTools class as these functions are also used to parse the WGSL code
global renaming

set has been renamed to group wherever possible in the WebGPU code because group is the named used in the spec for the bindings
sampler was used to mean texture in some internal variable names. As we now have separate sampler objects from texture objects, sampler has been renamed to texture when appropriate

webgpuShaderProcessor has been split into 3 classes

base class webgpuShaderProcessor
webgpuShaderProcessorGLSL that processes shader code written in GLSL
webgpuShaderProcessorWGSL that processes shader code written in WGSL

[EDIT] I have also updated the WebGPU engine to implement #11065

Wow! nice PR :-) I'll go over this later today
On a side-not, I believe we should squash this when merging to avoid the long history in future inspection of the code

Only 2 changes and I ll merge it in ! GG @Popov72


Transition from Python 2 to 3

The Initial Commit of METplus to Python 3.
See 'develop' branch commit log for details: e4edcde5a3b
The METplus develop branch has been updated and is now python 3.
The develop branch will not run under python 2.
The intent of the INITIAL commit is to make available a port that allows all of
METplus’ current functionally to run so folks can start working with Python 3.
It is expected that more porting will be needed, as issues are discovered,
and more testing occurs, these will be opened as new issues.
Technically this port was built and tested with Python 3.6.0 which
was the requirement.
Here are the notes discussed at the meeting regarding the
python 2 to 3 commit.
Not sure if everyone has access but it is the document under
METplus Engineering Meeting Notes folder of the METplus Team Drive  - METplus_python_2_to_3
https://docs.google.com/document/d/1xYXtbdsuXHM80x0-BFeHYJHBepuF-zBRDdWMWRaxRbA
Notes:
The 'develop' branch should be merged into your 'feature_nnn_name' branch
and development should now occur under python 3.


bug: Fix for Overflow Error in Fast Power Function

Problem Description
In the implementation of bitshifts in lib.cairo, the existing fpow function exhibits an overflow error when computing 2^n for n ≥ 64 using the generic function for u128.
Details
When we want to compute 2^n for n ≥ 64 using the generic function for u128, we encounter an overflow error. The error occurs in the last steps where we need to compute x * x, and x is greater than or equal to 2^64. Thus, x * x is greater than or equal to 2^128, leading to an overflow error.
Proposed Solution
The proposed solution is to modify the fpow function with a specific condition for n == 1. Below are the old and new code snippets:
Old function code:
fn fpow(x: u128, n: u128) -> u128 {
    if n == 0 {
        1
    } else if (n & 1) == 1 {
        x * fpow(x * x, n / 2)
    } else {
        fpow(x * x, n / 2)
    }
}

New function code:
fn fpow(x: u128, n: u128) -> u128 {
    if n == 0 {
        1
    } else if n == 1 {
        x
    } else if (n & 1) == 1 {
        x * fpow(x * x, n / 2)
    } else {
        fpow(x * x, n / 2)
    }
}

This change fixes the issue by handling the specific case where n is 1, preventing the overflow error.

Fixed by https://github.com/keep-starknet-strange/alexandria/pull/161


Send the JWT tokens as part of the Authorization header

I am trying to send the JWT token as part of the authorization header but I coudn't find it on the official docs or on any forum. Is there any way to do it?

If your using the new v5 for nuxt 3, the onLogin helper function is what you're looking for

Thanks @Diizzayy.  I have try it and ti works fine. I think you should consider adding the GitHub example in the official docs as I used these ones to make it work.

I have try it and ti works fine

@eduayme Happy to hear it works for you, and certainly, a big update to the documentation is around the corner.


Cannot import name 'RewardConfig' from 'trl'

ImportError                               Traceback (most recent call last)
 in <cell line: 19>()
17 )
18 from peft import PeftModel, LoraConfig, prepare_model_for_kbit_training, get_peft_model, TaskType
---> 19 from trl import (
20     PPOTrainer,
21     PPOConfig,
ImportError: cannot import name 'RewardConfig' from 'trl' (/usr/local/lib/python3.10/dist-packages/trl/init.py)

NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
I am unable to import RewardConfig from neither trl nor trl.trainer.

Hi @medhanshrath-t
Can you try to install TRL from source?
pip install git+https://github.com/huggingface/trl

It works when I install TRL from source, no error is thrown

Closing issue since solution seems to work.


refactor(config): small refactoring of lib/config

Looks like the test checks the log.error() call not the result.


hyperparameters questions

Thanks for the great work, I tried to generate a corgi in the paper using the official code, but it seems that the hyperparameters in the official code may be a little different from the paper, can you give some advice on improving the result?
The picture I use:

The prompt I use:
"A DSLR photo of a corgi wearing a beret and holding a baguette, standing up on two hind legs"
other hyperparameters are not changed.
The model I generate:
https://github.com/deepseek-ai/DreamCraft3D/assets/53119724/fc34a686-1c3b-4e9b-be6b-8f4f7c8ceb27

Hi I also noticed that stable-zero123 doesn't work well for some cases. You may change to zero123-xl which we used in the paper.


Coverage config

Adds some coverage hints, and sets the coverage output to omit files with 100% coverage.

Current dependencies on/for this PR:

main

PR #243

PR #244   👈

PR #242

PR #248

This stack of pull requests is managed by Graphite.


add MultiClusterHub

Short description:
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
Bug:

/cherry-pick v4.15 v4.14

/lgtm

/verified


Add flag to opt out of existence check when switching namespaces

We have a tool that chooses a cluster and namespace based on runtime data, and
by the time we have decided what cluster and namespace to connect to, we already
know that the namespace exists in the cluster.
We want to extend this tool to support multiple switching mechanisms (rather than
just kubectl config use-context and kubectl config set-context), and but the
existence check for the namespace is prohibitively slow on some of our clusters.
To avoid paying that penalty, this change adds a flag to switch ns which allows
the user to opt out of the existence check.
λ switch ns does-not-exist
namespace "does-not-exist" not foundexit status 1

λ switch ns does-not-exist --check-existence=false

Thank you very much for the PR. Could you try to rebase it on master - golangci-lint is failing for this build. Master contains an updated version of golangci-lint. Thank you!

@danielfoehrKn Thanks for taking a look! Rebased now.
This seems related to #147 in that it solves (or, rather, works around) the same issue, namely namespace switching being slow on some clusters. We also have many CRDs in some of our clusters, so it's possible #147 would be enough for our immediate needs, but we also have some clusters with many namespaces (~thousands) so I worry that even if API discovery is made fast enough, the pure listing of those namespaces will still be noticeable. So I'd love to see both of these PRs merged - then I can experiment and see what seems to work best.


Swiper crashing with React 18 + Strict Mode

Reproduction link
https://codesandbox.io/s/swiper-react-18-gf9bq
Bug description
When using Swiper React with React 18 (currently in RC, to be released soon) and Strict Mode, it crash with the following error:

Cannot read properties of undefined (reading 'wrapperClass')

Basically the swiper object gets destroyed() somewhere, and when in the Swiper class (core/core.js) mount() gets called and tries to access this.params, the swiper object contains nothing else but { destroyed: true }, so the hereinabove error is thrown.
To reproce it:

Install React 18 (yarn add react@rc react-dom@rc)
Enable cuncurrent mode (1) by changing ReactDOM.render(REACT_NODE, HTML_ROOT) to ReactDOM.createRoot(HTML_ROOT).render(REACT_NODE)
Enable React strict mode by wrapping the virtual DOM with <React.StrictMode></React.StrictMode>

(1) About concurrent mode: it's possible to use the normal mode, but then React 18 issue the following deprecation message:

Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot

Swiper version
7.4.1
Platform/Target and Browser Versions
Linux, Chrome 99.0 (shouldn't matter).
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Same thing for Next.js, , ow it works.  thanks @maxmvsk

Same thing for Next.js, , ow it works. thanks @maxmvsk

works fine

I tried as follows
Using swiper in nextjs, when upgrading next and react to the latest version, an error is reported
Cannot read properties of undefined (reading 'wrapperClass')
The relevant dependency information is as follows:
"next": "^12.1.7-canary.30",
"react": "^18.2.0-next-e531a4a62-20220505",
"react-dom": "^18.2.0-next-e531a4a62-20220505",
"swiper": "^7.4.1"

The above problem can be solved when the reactStrictMode in next.config.js is set to false
When you don't want to modify the strict mode of react, you can try to upgrade the swiper to the latest version, and it can be used normally
"next": "^12.1.7-canary.30",
"react": "^18.2.0-next-e531a4a62-20220505",
"react-dom": "^18.2.0-next-e531a4a62-20220505",
"swiper": "^8.2.2"

Hello folks, I'm testing the latest version of this lib (8.4.6) with the latest version of React (18.2.0) and RemixJS (1.11.0) but I'm still getting this error:

Uncaught TypeError: this.params is undefined
slideTo slideTo.js:2

Can you reopen this issue please?
I need to support this current configuration:
import { RemixBrowser } from '@remix-run/react';
import { startTransition, StrictMode } from 'react';
import { hydrateRoot } from 'react-dom/client';

function hydrate() {
  startTransition(() => {
    hydrateRoot(
      document,
      <StrictMode>
        <RemixBrowser />
      </StrictMode>
    );
  });
}

if (window.requestIdleCallback) {
  window.requestIdleCallback(hydrate);
} else {
  // Safari doesn't support requestIdleCallback
  // https://caniuse.com/requestidlecallback
  window.setTimeout(hydrate, 1);
}

Any help is really appreciarted!

Swiper 9.0.2 + React 18.2.0 in StrictMode
Uncaught TypeError: Cannot read properties of undefined (reading 'slideClass')
    at slideSelector (process-lazy-preloader.js:2:1)
    at processLazyPreloader (process-lazy-preloader.js:3:1)
    at HTMLImageElement.<anonymous> (core.js:484:1)

Previous one was not described well...
New one with link to sanbox here: https://github.com/nolimits4web/swiper/issues/6342

Server Error
TypeError: (0 , react__WEBPACK_IMPORTED_MODULE_0__.createContext) is not a function
This error happened while generating the page. Any console logs will be displayed in the terminal window.
Call Stack
eval
node_modules\swiper\swiper-react.mjs (121:54)
(rsc)/./node_modules/swiper/swiper-react.mjs
file:///C:/Users/Admin/OneDrive/Desktop/MCIT-CMS/Web/.next/server/vendor-chunks/swiper.js (80:1)
webpack_require
file:///C:/Users/Admin/OneDrive/Desktop/MCIT-CMS/Web/.next/server/webpack-runtime.js (33:43)
eval
webpack-internal:///(rsc)/./components/Jobcard/jobItem.tsx (15:70)
(rsc)/./components/Jobcard/jobItem.tsx
file:///C:/Users/Admin/OneDrive/Desktop/MCIT-CMS/Web/.next/server/app/[language]/page.js (612:1)
webpack_require
file:///C:/Users/Admin/OneDrive/Desktop/MCIT-CMS/Web/.next/server/webpack-runtime.js (33:43)
eval
webpack-internal:///(rsc)/./components/Jobcard/jobList.tsx (7:66)
(rsc)/./components/Jobcard/jobList.tsx
file:///C:/Users/Admin/OneDrive/Desktop/MCIT-CMS/Web/.next/server/app/[language]/page.js (623:1)
webpack_require
file:///C:/Users/Admin/OneDrive/Desktop/MCIT-CMS/Web/.next/server/webpack-runtime.js (33:43)
eval
webpack-internal:///(rsc)/./app/[language]/page.tsx (26:86)
i have this error

React 18.3.1
Swiper 11.1.5
Cannot convert undefined or null to object
TypeError: Cannot convert undefined or null to object
at Function.assign ()
at Object.init (http://localhost:3000/static/js/bundle.js:290556:14)
at updateSwiper (http://localhost:3000/static/js/bundle.js:296291:32)
at http://localhost:3000/static/js/bundle.js:296967:67
at commitHookEffectListMount (http://localhost:3000/static/js/bundle.js:214919:30)
at commitLayoutEffectOnFiber (http://localhost:3000/static/js/bundle.js:215019:21)
at commitLayoutMountEffects_complete (http://localhost:3000/static/js/bundle.js:216218:13)
at commitLayoutEffects_begin (http://localhost:3000/static/js/bundle.js:216207:11)
at commitLayoutEffects (http://localhost:3000/static/js/bundle.js:216153:7)
at commitRootImpl (http://localhost:3000/static/js/bundle.js:218062:9)

@vanditpatel22 I just ran into this issue in local development with the thumbs module (presumably because of react strict mode).  I found that I need to use some check like:
thumbs={{ swiper: thumbsSwiper?.destroyed ? undefined : thumbsSwiper }}

Otherwise, the swiper instance that may be passed could be destroyed, and such an instance does not have the expected properties for the thumbs module to use during its update.


Initial commit of GraalVM configuration

The initial commit of GraalVM configurations, a sample, and project structure.

My main suggestion is to move version management to the parent poms.
Otherwise, looking pretty good.
Also, we need a readme for the sample on how to run it, etc.

Will do - Can I add the README in a followup PR? There is still much polish I want to do on the sample and overall project; but just want to get some code in for now.


Update mongo-scala-driver to 4.1.2

Updates org.mongodb.scala:mongo-scala-driver from 4.1.1 to 4.1.2.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.mongodb.scala", artifactId = "mongo-scala-driver" } ]

labels: library-update, semver-patch

Codecov Report

Merging #220 (4ee8157) into master (e104041) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #220   +/-   ##
=======================================
  Coverage   14.92%   14.92%
=======================================
  Files          55       55
  Lines        2050     2050
  Branches       22       22
=======================================
  Hits          306      306
  Misses       1744     1744

Continue to review full report at Codecov.

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


Interactive Windows Output test failure

https://dev.azure.com/ms/vscode-python/_build/results?buildId=21628&view=logs&j=9769632f-f174-5c91-a8b0-9f83c2b48558

Possibly a flaky test. I haven't seen this before.

Hasn't seemed to have failed since then.


nav-button does not have a type, and causes a form submit when clicked

Hi,
The Virtual Tour example from this site: https://h5p.org/virtual-tour-360 works in that environment.
However, when I downloaded the package to our .Net H5P platform, clicking on the "+" nav-button causes a form submit. This does not happen on the example site I think because it uses an iframe embed, and is not enclosed in a form.
There appears to be an easy fix though. Currently the button is created as
<button title="High Place of Sacrifice" class="nav-button"></button>
But instead should be created as (not the type="button")
<button type="button" title="High Place of Sacrifice" class="nav-button"></button>
This makes it behave as expected.

So the fix that I made to my local version concerns this file: https://github.com/h5p/h5p-three-image/blob/master/scripts/components/Shared/NavigationButton.js
this:
<button           ref={this.navButton}           title={title}           className='nav-button'           tabIndex={ isInnerButtonTabbable ? undefined : '-1'}           onClick={this.onClick.bind(this)}           onDoubleClick={this.onDoubleClick.bind(this)}           onMouseDown={this.onMouseDown.bind(this)}           onMouseUp={this.setFocus.bind(this)}         />
Needs to be this:
<button           ref={this.navButton}           title={title}           type='button'           className='nav-button'           tabIndex={ isInnerButtonTabbable ? undefined : '-1'}           onClick={this.onClick.bind(this)}           onDoubleClick={this.onDoubleClick.bind(this)}           onMouseDown={this.onMouseDown.bind(this)}           onMouseUp={this.setFocus.bind(this)}         />


Not able to do full clone from container

even when setting "full = true" in the lxc container config, I get Error cloning LXC container: 500 parameter 'storage' not allowed for linked clones, error status.
Doing a packet capture of the API servers internal port on the proxmox host reveals that the full option is not set in the clone http request to the API.
I'm using version v2.9.0 of the provider (as v2.9.1 doesn't work with containers at all)

same issue here using v2.9.3
Error: error cloning LXC container: 500 CT is locked (disk), error status:  (params: {"hostname":"ubuntu-qvqa-2","newid":411,"node":"proxmox","storage":"nvme","target":"proxmox","vmid":"400"})
any idea what's wrong?

Currenctly experiencing the same problem with v2.9.4
Error: error cloning LXC container: 500 parameter 'storage' not allowed for linked clones, error status:  (params: {"hostname":"helios","newid":105,"node":"zeus","storage":"local-lvm","target":"zeus","vmid":"108"})
│
│   with proxmox_lxc.advanced_features[3],
│   on main.tf line 16, in resource "proxmox_lxc" "advanced_features":
│   16: resource "proxmox_lxc" "advanced_features" {

Same problem happened to me!

Just tried this on 2.9.7, sadly i still get the error.
Error: error cloning LXC container: 500 CT is locked (disk), error status:  (params: {"hostname":"xxx","newid":111,"node":"xxx","storage":"local-lvm","target":"xxxx","vmid":"107"})

Same for me. 2.9.7 does not resolve the issue yet.

A lot of confusion there!
**500 parameter 'storage' not allowed for linked clones, error status**
The error speaks itself, linked clone are only a same-storage feature, since its like how CoW filesystems works. This is not a bug, you cannot do linked clone in GUI either, I dont know how would you expect to do it elsewhere.

**500 CT is locked (disk)**
There is some mess with the source container, too few infos to investigate
Closing this now, any other linked-clone/different storage issue will be closed.
Anyone else please open a complete issue with all the informations needed!

Imo this issue still is an issue and has nothing to do with linked clones except for the error message.
I'm not trying to create a linked clone. Seeing this error message indicates to me that it tries to create a linked clone which is neither expected nor wanted when setting the option "full"...
The template is a fresh container created in proxmox with archlinux.

Please re-consider this issue.

you are right that full clone is broken, actually the parameter is ignored!
Working on it but lxc clone functionality has a little work to do

you are right that full clone is broken, actually the parameter is ignored! Working on it but lxc clone functionality has a little work to do

I still have the issue, can it be re-open ?

Still having this issue


!ACHTUNG! PEAK company copyrighted data

Due PEAK company request to remove copyrighted data from USB descriptor, i removed such data from my repo. Sorry but we must respect other companies.
Q: Firmware will works ?
A: By default firmware not works anymore with PEAK drivers. USB VID set to another value. Vendor/Product strings was changed too.

могли бы вы обьяснить назначение
static const uint8_t bootloader_info[] = {
0x00, 0x00, 0x08, 0x04, 0x00, 0x08, 0x07, 0x00,
0x04, 0x02, 0xe0, 0x07, 0x01, 0x00, 0x00, 0x00
};


Projectiles can be spawned by NetworkWeapon without an ID in their name

_accept_projectile in network_weapon.gd has a code path which calls _spawn() without calling _save_projectile(...) on the result, leading to a server with the correct name (eg: "Bullet IDIDIDIDID") and a client with an incorrect name (eg: "Bullet").
This leads all future projectile spawns to desync as their names will be different on the server (eg: "Bullet IDIDIDIDID") and client (eg: "Bullet2 IDIDIDID"), causing RPCs to fall.

Thanks for the catch! Created draft PR #237


Issue 2198: Providing s3 authentication through environment variables fails when using 'apoc.load.csv'

Issue 2198

issue closed


Flutter support

Summary
Support Flutter for webrtc video conferencing. Or at least be open to supporting others doing it.
Desktop
https://github.com/go-flutter-desktop/go-flutter

Flutter Desktop with golang embedded inside as a "plugin".

Mobile
https://github.com/empirefox/flutter_dial_go

Flutter Mobile with golang as a plugin inside, and using protobufs for IO between the 2 languages.

Motivation
Pions has WASM and Browser support moving alone, but i think supporting flutter will allow Desktop and Mobile also.
Describe alternatives you've considered
https://github.com/cloudwebrtc/flutter-webrtc
But there is much less control because its not written in golang.
Additional context
In Flutter you can use golang as a "plugin" on the device and so the golang webrtc will work there.
Flutter has a Video Player, Camera & mic access
https://github.com/flutter/plugins/tree/master/packages/video_player
https://github.com/flutter/plugins/tree/master/packages/camera
https://github.com/hungrymonkey/mic_stream
The hard bit though is the encoding of the video and audio in golang. As far as i know pions relies on gstreamer to do the heavy lifting ?

This is a cool idea and we're always open to support projects building on our work. Building the Flutter 'plugin' itself seems out of the scope of this repo thought.
We'll probably want to close this issue to keep the issue list focused on specific problems/features. I'm not sure where to move this idea/info, thought. Maybe we need a better place to feature (potential) projects. Thoughts @Sean-Der ? The Wiki seems an easy option but also less discoverable/interactive.

Yea 100% agree with @backkem here
You are correct we don't encode/decode video ourselves, but we don't require GStreamer. You can use ffmpeg or hardware encode/decode and interact with them yourself!
@gedw99 we would love to help though! I am not sure what the next steps forward are? Is there anyone in the flutter community that would be interested in working on this with us? I would love to talk and figure out a way to unblock them.
We currently don't have the bandwidth to add flutter support ourselves, we are trying to release another version of pion WebRTC and that is more the enough work cut out for ourselves :)
Feel free to grab us on https://pion.ly/slack/ always happy to chat on Slack. Also invite any flutter devs and we can figure out a way to build this together!

@Sean-Der Thanks.
I am working with the webrtc flutter team to get it all working with golang. Its lots of work and so will ask you questions as i move forward.


Fix debug info in e2e tests

@luksa: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_sail-operator_main
58c7d37c14de4cbd40d1b38161bbd7757afaeb21
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Sksafemath additions (DEPENDANT PR)

Description of Change
depends on PR https://github.com/mono/SkiaSharp/pull/2155

Bugs Fixed

Fixes #

API Changes
None.

Behavioral Changes
None.

Required skia PR
https://github.com/mono/SkiaSharp/pull/2156
PR Checklist

[ ] Has tests (if omitted, state reason in description)
[ ] Rebased on top of main at time of PR
[ ] Merged related skia PRs
[ ] Changes adhere to coding standard
[ ] Updated documentation

Thanks for this PR and the work. However, I do not think this is used much outside of internal things in skia. To reduce maintenance overhead, I want to keep the API at a minimum. If this is ever needed in SkiaSharp or provides some significant benefit we can reopen.
This safe math feature is probably just worth doing in the various places that actually do math that could overflow.


AttributeError: 'RconConnection' object has no attribute 'pkt_id'

From interpreter:
>>> server = srcds.rcon.RconConnection("server.address.redacted", password="BadPass")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/srcds/rcon.py", line 51, in __init__
    self._authenticate(password)
  File "/usr/lib64/python2.7/site-packages/srcds/rcon.py", line 56, in _authenticate
    auth_pkt = RconPacket(self.pkt_id.next(), SERVERDATA_AUTH, password)
AttributeError: 'RconConnection' object has no attribute 'pkt_id'

fails in both python2 and python3

i think this should have been resolved in #4


Requesting REQUEST_EXTERNAL_STORAGE if Camera permissions are missing

Don't know much android but this looks wrong:
https://github.com/tanersener/ffmpeg-kit-test/blob/3c2fa0adb0972489da28c0bf6220714e2008184c/android/test-app-maven-central/src/main/java/com/arthenica/ffmpegkit/test/MainActivity.java#L143

REQUEST_EXTERNAL_STORAGE is an application specific request code. It is not used actively. However, I agree that the name of the constant is misleading a tad. So, I renamed it as REQUEST_PERMISSIONS in the new version.

thx boi


[WIP] Bug 2086408: Add security context to controller

Replaces the default security context with the following strict security context.
Updated Security Context
SecurityContext{
			Capabilities: &corev1.Capabilities{
				Drop: []corev1.Capability{"ALL"},
			},
			Privileged:               pointer.Bool(false),
			RunAsNonRoot:             pointer.Bool(true),
			AllowPrivilegeEscalation: pointer.Bool(false),
			SeccompProfile: &corev1.SeccompProfile{
				Type: corev1.SeccompProfileTypeRuntimeDefault,
			},
		}

Fixes pod security violation in OCP 4.11+ since pod security admission level is set as "restricted" by default.
Signed-off-by: thejasn<EMAIL_ADDRESS>

/test e2e-aws-operator

/test e2e-azure-operator

/test e2e-aws-operator

/lgtm

/assign @quarterpin

/lgtm

/approve

/label qe-approved

/assign @xenolinux

/label docs-approved


Track Deployed Artifacts

Opening an issue to get some discussion started on how skaffold can keep track of what it's deploying through the various deployers we support (helm, kubectl apply, ksonnet, etc.).
Tracking these artifacts can help with things like #94 and deletion cases.
For kubectl, we know the manifest paths so we could parse those YAMLs and apply labels, or build a label selector?
For helm, we know the release names so we can query them with helm list or something similar.

Some more ideas: Add a list of deployed runtime.Objects to the BuildResult
For Helm, populate this via helm get
For kubectl, populate this by parsing the yamls we're about to deploy
It looks like this is the best way to parse YAML files currently:
https://github.com/kubernetes/client-go/issues/193

Here's a functioning yaml parsing snippet:
https://gist.github.com/dlorenc/2ac000a25656447a0c06e79150407b4c


Doubles now get printed out properly in toml_writer.

I made the changes you suggested and turned it into a single pull request.

I should note that I disagree with enforcing a precision on the user.  We should just let the user set the precision before they print out the TOML and that's what gets printed.  But I'm not married to that idea.

Needs a clang-format.
You can remove the precision setting if you want. I just am struggling to see where you'd ever want to lose precision compared to what you've got in the in-memory structure while serializing.

The reason is that printing full precision on every double results in misleading data.  For instance the following is a TOML file that was read in via the parse.cpp program.
DoubleArray = [1.1, 2.2, 3.3, 4.4, 5.5]

And the output is as follows:
DoubleArray = [1.1000000000000001, 2.2000000000000002, 3.2999999999999998, 4.4000000000000004, 5.5000000000000000]

It just looks ugly.