Advanced Evals: Combining Multiple Annotators of Varying Quality

Summary
This summary adds a notebook for dealing with multiple annotators, partially replicating the seminal MT-Bench paper while using OpenAI's new structured outputs and token probability features unavailable in other LLMs
Motivation
There currently is no cookbook on dealing with combining a large number of human annotators with LLM-As-Judge, even though this practice is quite common.

For new content
When contributing new content, read through our contribution guidelines, and mark the following action items as completed:

[x] I have added a new entry in registry.yaml (and, optionally, in authors.yaml) so that my content renders on the cookbook website.
[x] I have conducted a self-review of my content based on the contribution guidelines:

[x] Relevance: This content is related to building with OpenAI technologies and is useful to others.
[x] Uniqueness: I have searched for related examples in the OpenAI Cookbook, and verified that my content offers new insights or unique information compared to existing documentation.
[x] Spelling and Grammar: I have checked for spelling or grammatical mistakes.
[x] Clarity: I have done a final read-through and verified that my submission is well-organized and easy to understand.
[x] Correctness: The information I include is correct and all of my code executes successfully.
[x] Completeness: I have explained everything fully, including all necessary references and citations.

We will rate each of these areas on a scale from 1 to 4, and will only accept contributions that score 3 or higher on all areas. Refer to our contribution guidelines for more details.

@pap-openai  Anything I can do to help get this reviewed (or close it out?)

@pap-openai Anything I can do to help get this reviewed (or close it out?)

Hi @nelsonauner, we're currently working on a contributor license agreement and will come back a bit later once we've figured that out


dynadjust-log-file : does not have a file at the output location referenced

Description
In the .dnaproj file there is reference to a log file: dynadjust-log-file
It does not look like this file gets written anywhere? There is no file with that name in the folder at the location referenced.
Screenshots

Operating system

[Windows]
[10]

Additional context
This is not affecting anything, and not sure if it really falls under the category of a bug. Just noticed it and wondered if there should be a file written, or if this is something that's yet to be implemented.

Thanks @tekwen.
The dynadjust log file should be created when dynadjust is executed.
Are you able to verify if this file is created when executing the following:
$> dynadjust -n <project-name> --import --adjust

Aha! That's the trick. I see it now. Thanks @rogerfraser
+---------------------------------------------------------------------------
+ Title:        dynadjust - DynAdjust 2022.
+ Description:  Geodetic network adjustment software
+ Version:      1.2.7, Release (64-bit)
+ Build:        Apr  4 2023, 14:40:56 (MSVC++ 17.1, VS2022)
+ Copyright:    (C) 2022 Geoscience Australia.
                This software is released under the Apache License.
+ Contact<EMAIL_ADDRESS>+---------------------------------------------------------------------------

+ Executable   Start date and time      End date and time        Exit status
------------------------------------------------------------------------------------------
+ import       12-05-2023 8:37:15 AM    12-05-2023 8:37:15 AM    Ended successfully.
+ adjust       12-05-2023 8:37:15 AM    12-05-2023 8:37:15 AM    Ended successfully.

+ DynAdjust finished successfully.


siwtch unapproved item to approved one automatically

could unapproved and approved items in the restoration phase share the same data? or reset item id when using API

Unapproved items can’t be sold on the market board, can they? You need to approve them first anyways.

Unapproved items can’t be sold on the market board, can they? You need to approve them first anyways.

correct, unapproved items are untradable

correct, unapproved items are untradable

yeah, but players want to know the price of the approved items when they check unapproved items. there are some plugins such as the market board on Dalamud, hold your mouse on the item to get the price.  however, the patches in the Diadem only show unapproved items.

yeah, but players want to know the price of the approved items when they check unapproved items. there are some plugins such as the market board on Dalamud, hold your mouse on the item to get the price.  however, the patches in the Diadem only show unapproved items.

yeah, but players want to know the price of the approved items when they check unapproved items. there are some plugins such as the market board on Dalamud, hold your mouse on the item to get the price.  however, the patches in the Diadem only show unapproved items.

yeah, but players want to know the price of the approved items when they check unapproved items. there are some plugins such as the market board on Dalamud, hold your mouse on the item to get the price.  however, the patches in the Diadem only show unapproved items.

Oh, I understand now. Sure, I’ll look into this, especially since pmb seems to not get new features anymore.

Oh, I understand now. Sure, I’ll look into this, especially since pmb seems to not get new features anymore.


Allow to init with external resources

Is your feature request related to a problem? Please describe.
I have a project using local and external resources and I'm facing the problem to init the resources because the library forces me to use a unique localePath to set my resources, but I also have locales from another library. With 'pure' i18next we could do:
const extLocales  = require('library/locales');
const locales = {
   en: { ... },
   es: { ... },
}
//...
const resources = mergeDeep(...locales, extLocales)

i18next.init({
  lng: 'en',
  resources
}

but with localePath we cannot do such thing
Describe the solution you'd like
It could be solved with the possibility to give manually the resources instead of localePath

This package simply passes the config options on directly to the i18next initialiser. Have you tried this setup?
I suggest you play around until you reach a point where next-i18next is blocking you in some way, and then we can proceed from there, once you have provided a specific bug report.

Yeah, mah mistake. Maybe it could be more explicit on the README, I now that we have to try it, but since everyone that was working with me on it have the same doubt, it could have this on the documentation.
Thank you, @isaachinman and sorry to bother you

What exactly would you like to add to the README?


EAS ENV VARIABLES NOT PICKED UP DESPITE FOLLOWING DOCUMENTATIONS

Build/Submit details page URL
https://expo.dev/accounts/zakisb97/projects/gogain/builds/16e1e538-4314-420d-9bd1-996f3e773739
Summary
Environment variables are not being properly injected into EAS builds despite following multiple documented approaches:
Set env variables in eas.json build profiles
Defined variables in EAS Dashboard under the correct profile
Hardcoded values directly in eas.json for testing
Triggering EAS builds from Azure CI pipeline
As a trick to confirm i hae the right env variables. i had a screen with touchable opacity when i click it alerts the EXPO_PUBLIC_API_URL . THE PROBLEM IT SHOWS EMPTY STRING AND Every screen that needs an api call isn't working.
Important Note: The builds are triggered remotely on EAS servers via Azure pipeline, NOT built locally within Azure. The Azure pipeline simply initiates the EAS build process.
Expected: Environment variables (EXPO_PUBLIC_API_URL, EXPO_PUBLIC_APP_NAME) should be accessible in the app for different environments (preview/production).
Actual: Only Clerk secret keys are being successfully injected. All other environment variables are undefined in the built app.
Attempted Solutions:
Using variable references in eas.json:
  "build": {
    "preview": {
      "autoIncrement": true,
      "env": {
        "APP_ENV": "staging",
        "EXPO_PUBLIC_API_URL": "EXPO_PUBLIC_API_URL",
        "EXPO_PUBLIC_APP_NAME": "EXPO_PUBLIC_APP_NAME"
      },
      "distribution": "store",
      "environment": "preview",
      "channel": "preview"
    },
    "production": {
      // Similar configuration...
    }
  }
}

Hardcoding values directly in eas.json:
{
  "build": {
    "preview": {
      "autoIncrement": true,
      "env": {
        "APP_ENV": "staging",
        "EXPO_PUBLIC_API_URL": "https://api-staging.myapp.pro",
        "EXPO_PUBLIC_APP_NAME": "My App (Preview)"
      },
      "distribution": "store",
      "environment": "preview",
      "channel": "preview"
    },
    "production": {
      // Similar configuration...
    }
  }
}

Additional Context:
1.env files are not pushed to branches
2. Two separate branches (preview/prod) with different API endpoints
3. Following EAS documentation stating .env files are optional
4.Using eas.json for build configuration
5.Builds are triggered on EAS servers via Azure pipeline, not built locally in Azure
6Environment specific variables need to be available on the app.
Managed or bare?
bare
Environment
expo-env-info 1.2.1 environment info:
System:
OS: macOS 14.0
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.17.0 - ~/.nvm/versions/node/v20.17.0/bin/node
Yarn: 1.22.22 - /opt/homebrew/bin/yarn
npm: 10.8.2 - ~/.nvm/versions/node/v20.17.0/bin/npm
Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.15.2 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 23.5, iOS 17.5, macOS 14.5, tvOS 17.5, visionOS 1.2, watchOS 10.5
IDEs:
Xcode: 15.4/15F31d - /usr/bin/xcodebuild
npmPackages:
babel-preset-expo: ^11.0.13 => 11.0.15
expo: ^51.0.18 => 51.0.39
expo-router: ~3.5.20 => 3.5.24
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.74.5 => 0.74.5
react-native-web: ~0.19.10 => 0.19.13
npmGlobalPackages:
eas-cli: 12.5.1
Expo Workflow: bare
Error output
Errors happens on pages requiring api call.
Reproducible demo or steps to reproduce from a blank project
Simple demo project . add eas.json variables like shown in summary and ignore .env files via gitignore. that's it.

We just encountered the same issue.
We detected that you are building for the "store" distribution. Resolving the environment for environment variables used during the build to "production". Set the "environment" field in the build profile if you want to specify the environment manually.
No environment variables with visibility "Plain text" and "Sensitive" found for the "production" environment on EAS servers.
Environment variables loaded from the "wehorse-prod" build profile "env" configuration: REACT_APP_PRODUCT, REACT_APP_MODE.

wehorse-prod build profile env vars
"env": {
                "REACT_APP_PRODUCT": "wehorse",
                "REACT_APP_MODE": "prod"
            }

but the resulting app has REACT_APP_MODE="stage" instead of "prod". "stage" is the default one specified in the .env file.
We are always using latest eas-cli in our CI


(fix) auto migrate on deploy and flake8 - init.py

Codecov Report

Merging #16 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #16   +/-   ##
=======================================
  Coverage   80.00%   80.00%
=======================================
  Files           4        4
  Lines          40       40
=======================================
  Hits           32       32
  Misses          8        8

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 3f5a152...fd00652. Read the comment docs.


Problem with v1.9

Hi,
at start, I have this error
C:\Utilitaires\MFS\X-Touch-Mini-FS2020>X-Touch-Mini-FS2020.exe
Traceback (most recent call last):
File "main.py", line 9, in
File "c:\Python37\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module
File "configfile.py", line 3, in
File "c:\Python37\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module
File "eventqueue.py", line 3, in
File "c:\Python37\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module
File "conditionalrunner.py", line 1, in
File "c:\Python37\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module
File "site-packages\jinja2_init_.py", line 12, in
File "c:\Python37\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module
File "site-packages\jinja2\environment.py", line 25, in
File "c:\Python37\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module
File "site-packages\jinja2\defaults.py", line 3, in
File "c:\Python37\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module
File "site-packages\jinja2\filters.py", line 13, in
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (C:\Utilitaires\MFS\X-Touch-Mini-FS2020\markupsafe_init_.pyc)
[33432] Failed to execute script main
I don't have this file <markupsafe_init_.pyc>, only a subfolder  which contains <_speedups.cp37-win_amd64.pyd>
Previous  v1.8.1 works fine.

Can confirm. Doesn't work on my system as well. @maartentamboer different jinja2 version used?

Apparently one of the packages that jinja depends on had a breaking change. I will see if I can make a fix by directly including the old version
https://github.com/pallets/markupsafe/issues/286

Fix is released: https://github.com/maartentamboer/X-Touch-Mini-FS2020/releases/tag/v1.9.1


benchmarking xxh3 vs ahash for use in std HashMap

Hi, I've read your claim that the benchmarks performed by ahash were not using xxh3 in an optimal manner, and I would like to create a benchmark which would use xxh3 correctly.
I've written these two very simple functions to benchmark:
 pub fn use_ahash(v: &str) {
    let mut hash = ahash::AHashMap::<&str, i64>::default();
    hash.insert(v, 1);
    assert_eq!(*hash.get(v).expect("Not found"), 1);
    assert_eq!(*hash.get("Does not exist in hash table").unwrap_or(&-1), -1);
}

pub fn use_xxh(v: &str) {
    let mut hash = HashMap::<&str, i64, xxh3::Xxh3Builder>::default();
    hash.insert(v, 1);
    assert_eq!(*hash.get(v).expect("Not found"), 1);
    assert_eq!(*hash.get("Does not exist in hash table").unwrap_or(&-1), -1);
}

Is this the correct use of xxh3 for usage with HashMap?

The problem is not how you benchmark, but std's HashMap having inefficient interface
It creates hasher for every hash while better approach would be to use oneshot function.
And as xxh3's state is very complex creating full state every time is expensive call
So generally my implementation of xxh is not suitable for use in std's HashMap
You're supposed to create state once and re-use it every time by calling reset

Also hashing integers/small strings generally irrelevant benchmark

Maybe it'd make sense to have a singleton class which returns the single instance whenever its created and pass that to the HashMap?

There is no purpose in trying to work around bad interface of std library
And no, you cannot just return have singleton as then you need to worry about concurrency

Ok, I've found a nice workaround:

struct Xxh3StaticHashBuilder {}

struct Xxh3StaticWrapper {
    _written: u64,
}

impl Hasher for Xxh3StaticWrapper {
    fn finish(&self) -> u64 {
        self._written
    }

    fn write(&mut self, bytes: &[u8]) {
        self._written = xxh3::xxh3_64(bytes)
    }
}

impl std::hash::BuildHasher for Xxh3StaticHashBuilder {
    type Hasher = Xxh3StaticWrapper;
    fn build_hasher(&self) -> Self::Hasher {
        Xxh3StaticWrapper{ _written: 0 }
    }
}

Then using the std HashMap like this

pub fn use_xxh(v: &str) {
    let mut hash = HashMap::with_hasher(Xxh3StaticHashBuilder{});  // HashMap::<&str, i64, xxh3::Xxh3Builder>::default();
    hash.insert(v, 1);
    assert_eq!(*hash.get(v).expect("Not found"), 1);
    assert_eq!(*hash.get("Does not exist in hash table").unwrap_or(&-1), -1);
}

Is quite fast (faster than ahash if the string is more than ~200 characters long).

yes, but note that this solution only works well if you use types where Hash implementation writes once
Otherwise you'll have incorrect result so you should only use it in specialized cases (strings, bytes, integers)

I see. I guess a HashMap isn't the best usecase for xxh anyway, as plain keys tend to be small objects, and nested keys require the instance to update and can't call the hash function one.
Feel free to close this issue, and thanks for your time.


It seems that would be ban by this

After compile km and um and install. I got ban after 1 hour play. Is it still safe now?

Did you change IOCTL device interface name?

Didn't change,thanks . There's another thing that Game will not been allowed to start after I use dsefix(test mode).  So I can only install the driver after run game.

dsefix may cause BE / XIGN bans too. But I can't supply you any way to bypass them


Add persistence extensions when building image in tekton

https://issues.redhat.com/browse/FLPATH-1176
Add persistence extensions when building image in tekton

@dmartinol PTAL

/hold until https://github.com/parodos-dev/serverless-workflows/pull/164 is merged

@masayag pls bump the version...


Replace type kind

Changes in resulted code must be only "Unknown kind" => "Unknown conversion"

Things might become clearer if Simply, Owned are changed to Scalar, Pointer because that seems the principal distinction between different conversions. In the future though Pointer might have to be split into Refcounted and Boxed because only the latter need mutable borrows (to_glib_none_mut(&mut self)).

Renamed cases. Restored skip_option.

Now I understand what you say. Really checking for conversion type in rust_type.rs unneeded.
Removed it.

Restored conversion check in rust_type.rs

Great. Thanks for taking care of this enum.
@homu r+

:pushpin: Commit d62b793 has been approved by gkoz

:hourglass: Testing commit d62b793 with merge ea2d306...

:sunny: Test successful - status


Update(10/18/2024): Display device name & Add Open File Function

Home Screen: Added the device name at the top of the screen. Both the device name and IP address are now copyable via a long press.
Network Screen: Each connection now displays the corresponding device name. This is achieved by sending a request to the server to retrieve the device name, and storing the IP address-device name pairs in a global hash map for easy reference.
Send Screen: Reformatted the display for a cleaner look, now including the device name (retrieved from the global hash map rather than sending another server request).
Receive Screen: Reformatted the display and added device name for better clarity. Since the receive screen shows the history of received files, I introduced a new parameter (deviceName) in the IncomingTransferInfo data class, allowing the device name to be displayed without querying the server. Also, I added the function to open received files.

This looks really good.
Android 9 continues to be an irritation, however. I notice that it's not loading the device name of its neighbours -
Receive screen on Android 9:

Send screen on Android 9:

I'll add this as a GitHub bug to worry about another time.

Looks good to me. My two phones running on Android 14 are running as expected.
Just a little thing that I noticed. The device name presented in the home/info screen is Build.BRAND + " " + Build.MODEL while the device name displayed in the network/send screen is only Build.MODEL. Both are described as "device name" but I don't think this is a big deal.


chore: configure canary builds for v6

There were some places where we did a static require() call, e.g. when loading the driver implementation based on the type option. Those places were problematic for bundlers like webpack, as well as new school build systems like vite.
The type option is removed in favour of driver exports
Instead of specifying the type we now have several options:

use defineConfig() helper imported from the driver package to create your ORM config:import { defineConfig } from '@mikro-orm/mysql';

export default defineConfig({ ... });

use MikroORM.init() on class imported from the driver package:import { MikroORM } from '@mikro-orm/mysql';

const orm = await MikroORM.init({ ... });

specify the driver option:import { MySqlDriver } from '@mikro-orm/mysql';

export default { driver: MySqlDriver, ... };

The MIKRO_ORM_TYPE is still supported, but no longer does a static require of the driver class. Its usage is rather discouraged and it might be removed in future versions too.

ORM extensions
Similarly, we had to get rid of the require() calls for extensions like Migrator, EntityGenerator and Seeder. Those need to be registered as extensions in your ORM config. SchemaGenerator extension is registered automatically.

This is required only for the shortcuts available on MikroORM object, e.g. orm.migrator.up(), alternatively you can instantiate the Migrator yourself explicitly.

import { defineConfig } from '@mikro-orm/mysql';
import { Migrator } from '@mikro-orm/migrations';
import { EntityGenerator } from '@mikro-orm/entity-generator';
import { SeedManager } from '@mikro-orm/seeder';

export default defineConfig({
  dbName: 'test',
  extensions: [Migrator, EntityGenerator, SeedManager], // those would have a static `register` method
});

Closes #3743

Codecov Report
Base: 99.94% // Head: 99.90% // Decreases project coverage by -0.04% :warning:

Coverage data is based on head (0ef45f0) compared to base (be8f205).
Patch coverage: 92.30% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##               v6    #3814      +/-   ##
==========================================
- Coverage   99.94%   99.90%   -0.05%
==========================================
  Files         214      216       +2
  Lines       13461    13429      -32
  Branches     3130     3128       -2
==========================================
- Hits        13454    13416      -38
- Misses          7       13       +6

Impacted Files
Coverage Δ

...ckages/cli/src/commands/MigrationCommandFactory.ts
100.00% <ø> (ø)

packages/core/src/drivers/DatabaseDriver.ts
100.00% <ø> (ø)

packages/core/src/drivers/IDatabaseDriver.ts
100.00% <ø> (ø)

packages/core/src/platforms/Platform.ts
98.64% <ø> (-0.91%)
:arrow_down:

packages/core/src/typings.ts
100.00% <ø> (ø)

packages/knex/src/AbstractSqlPlatform.ts
98.11% <ø> (-0.20%)
:arrow_down:

packages/mongodb/src/MongoDriver.ts
100.00% <ø> (ø)

packages/mongodb/src/MongoPlatform.ts
97.87% <ø> (-2.13%)
:arrow_down:

packages/core/src/MikroORM.ts
98.01% <80.00%> (-1.99%)
:arrow_down:

packages/core/src/utils/Configuration.ts
99.25% <93.33%> (-0.75%)
:arrow_down:

... and 13 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Missing API Documentation

README.md links to Hackage for API docs [https://hackage.haskell.org/package/helm], however there are no API docs there.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/34356550-missing-api-documentation?utm_campaign=plugin&utm_content=tracker%2F290443&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F290443&utm_medium=issues&utm_source=github).

The docs for 1.0.0 are now up on Hackage. I'm going to leave the older versions unpublished due to them being deprecated.


Dependency software-properties-common has been removed from Debian Trixie (v13, Testing)

Reporting a bug 🐛
Hello maintainers 👋🏻
Debian Trixie recently removed the package software-properties-common. It's unclear when (or even if) this package will be re-added.

https://tracker.debian.org/news/1579223/software-properties-removed-from-testing/
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1038747

For what it's worth, I chatted with the maintainer on IRC (juliank on oftc.net), and fixing the package is low on his priority list at the moment. He also suggested that deb-get may not need software-properties-common at all anymore.

14:32 <juliank> Yeah I don't think it needs any more
14:33 <juliank> It used to run add-apt-repository but it doesn't anymore

Installation Log
kindrobot@framian ~> sudo apt install curl lsb-release wget
                     curl -sL https://raw.githubusercontent.com/wimpysworld/deb-get/main/deb-get | sudo -E bash -s install deb-get
[sudo] password for kindrobot:
lsb-release is already the newest version (12.1-1).
lsb-release set to manually installed.
wget is already the newest version (1.24.5-2+b1).
The following package was automatically installed and is no longer required:
  libcupsimage2t64
Use 'sudo apt autoremove' to remove it.

Installing:
  curl

Summary:
  Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 67
  Download size: 255 kB
  Space needed: 482 kB / 403 GB available

Continue? [Y/n] y
Get:1 http://ftp.ca.debian.org/debian trixie/main amd64 curl amd64 8.11.0-1 [255 kB]
Fetched 255 kB in 0s (1,154 kB/s)
Selecting previously unselected package curl.
(Reading database ... 186364 files and directories currently installed.)
Preparing to unpack .../curl_8.11.0-1_amd64.deb ...
Unpacking curl (8.11.0-1) ...
Setting up curl (8.11.0-1) ...
Processing triggers for man-db (2.13.0-1) ...
  [+] Updating /var/cache/deb-get/deb-get.json_extract
--2024-11-22 13:53:31--  https://github.com/wimpysworld/deb-get/releases/download/0.4.3/deb-get_0.4.3-1_all.deb
Resolving github.com (github.com)... <IP_ADDRESS>
Connecting to github.com (github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/482789449/80ea25cf-a90f-4b4b-a6fb-61563557205e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20241122%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241122T185332Z&X-Amz-Expires=300&X-Amz-Signature=642a1ae6db8bbe8a4174c5cc194aa72faac4344dcd89f6f7aa46265f06803cfb&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Ddeb-get_0.4.3-1_all.deb&response-content-type=application%2Foctet-stream [following]
--2024-11-22 13:53:32--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/482789449/80ea25cf-a90f-4b4b-a6fb-61563557205e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20241122%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241122T185332Z&X-Amz-Expires=300&X-Amz-Signature=642a1ae6db8bbe8a4174c5cc194aa72faac4344dcd89f6f7aa46265f06803cfb&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Ddeb-get_0.4.3-1_all.deb&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23694 (23K) [application/octet-stream]
Saving to: ‘/var/cache/deb-get/deb-get_0.4.3-1_all.deb’

/var/cache/deb-get/de 100%[======================>]  23.14K  --.-KB/s    in 0s

2024-11-22 13:53:32 (83.2 MB/s) - ‘/var/cache/deb-get/deb-get_0.4.3-1_all.deb’ saved [23694/23694]

E: Unable to correct problems, you have held broken packages.
kindrobot@framian ~ [0|1]> sudo apt install /var/cache/deb-get/deb-get_0.4.3-1_all.deb
Note, selecting 'deb-get' instead of '/var/cache/deb-get/deb-get_0.4.3-1_all.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

Unsatisfied dependencies:
 deb-get : Depends: software-properties-common but it is not installable
Error: Unable to correct problems, you have held broken packages.

System information
Run the following a paste the output below:
/etc/os-release
PRETTY_NAME="Debian GNU/Linux trixie/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=trixie
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

/etc/lsb-release
kindrobot@framian ~> cat /etc/lsb-release
cat: /etc/lsb-release: No such file or directory

deb-get version
kindrobot@framian ~> deb-get version
fish: Unknown command: deb-get

deb-get update
kindrobot@framian ~ [127]> deb-get update
fish: Unknown command: deb-get

Indeed removing the software-properties-common dependency from debian/control and rebuilding allowed me to install and use deb-get.


Polymer version

Which version is this supported ?

v1 and v2 too.
Pay attention that there will be some limitations when using it due to the shadow dom avoiding styling inheritance (more info about polymer styling).

Thanks a lot !!!!


Treemap colors include background color

One of the colors the treemap is currently rendering is the background color of the web page itself (white or close to it). This also happens to be the text label color. Obviously, the entire rectangle and its text disappears.
Could this color please be removed? Thanks!

@redstreet Can you send/attach a small screenshot with the color you are referring to? I cannot find the near-to-white color you are mentioning in the treemap-color-definitions. Maybe with a screenshot I can track it down.

I'm unfortunately unable to reproduce it using bean-example generated files.
I've attached a small portion of the right edge of the treemap, since this is a bit difficult to do without exposing a lot of private data. If it helps to know, I have about a 180 accounts in the hierarchy, and upto 5 deep. Also, if I hover over the white portions you see in the treemap, the text shown is almost the same color as the background bubble it's shown in.
Doe this help at all? If not, I'll try to reproduce this with random data later. Thanks!

@redstreet This is exactly what I asked for, thanks! I will try to figure out what goes wrong here, since the white color is not part of the treemap-color-definition.

@redstreet There are 15 colors for 15 different categories in a treemap. If there are more, now there is a "backup-color" that is applied to all those (which were white until now). Does that work for you?

Thanks!
This certainly does solve the problem of invisible rectangles. However, where in the past, the smaller visible rectangles on the right (as shown in the screenshot I sent) had colors that matched their parents in the hierarchy, now they are all shown in gray. Meaning beyond a certain point in the treemap, all I see is gray rectangles, with no easy way to get a sense of whether they match a parent. For example, in the previous screenshot, I see a lot of magentas and blues, and immediately gain some insight from that.
Is it possible to retain the previous behavior, but only change the whites to a visible color?

Is it possible to retain the previous behavior, but only change the whites to a visible color?

This is exactly what the change should have done :-/ I will look into it again, but again, could you send a small screenshot, possibly from the same account/view as before?

Am 20.12.2015 um 22:14 schrieb redstreet<EMAIL_ADDRESS>Thanks!
This certainly does solve the problem of invisible rectangles. However, where in the past, the smaller visible rectangles on the right (as shown in the screenshot I sent) had colors that matched their parents in the hierarchy, now they are all shown in gray. Meaning beyond a certain point in the treemap, all I see is gray rectangles, with no easy way to get a sense of whether they match a parent. For example, in the previous screenshot, I see a lot of magentas and blues, and immediately gain some insight from that.
Is it possible to retain the previous behavior, but only change the whites to a visible color?
—
Reply to this email directly or view it on GitHub.

Here it is:

(Not showing the section to the left of it which is colored as before).

Ahh I see the mistake, thanks for the screenshot! Will fix it in the next couple of hours.

@redstreet Better? :innocent:

Terrific :),  thanks much again!


TypeScript doesn't narrow out undefined after constructor call when callee is any

TypeScript doesn't seem to narrow the type of a variable correctly in cases where the constructor being called is typed as any.  If the type of a variable includes undefined in its type signature, it's not narrowed out after a constructor call even though by definition (I think--correct me if I'm wrong) new fn() must always evaluate to an object if it doesn't throw first.
TypeScript Version:  3.1.3

Search Terms: constructor narrow
Code
let x: { [x: string]: any } | undefined;
x = new (Object as any)();
// AFAIK `x` can't possibly be undefined after this point
console.log(x.foo);  // error: Object is possibly 'undefined'.

Expected behavior:
No error.
Actual behavior:
Compile-time error: Object is possibly 'undefined'.
Playground Link:
http://www.typescriptlang.org/play/#src=let x%3A { [x%3A string]%3A any } | undefined%3B
x %3D new (Object as any)()%3B
console.log(x.foo)%3B

Technically this is because any includes undefined. So when we narrow { [x: string]: any } | undefined; to only members assignable to any, we get.... { [x: string]: any } | undefined;. It's a decent argument for using subtype and not assignability in getAssignmentReducedType.

Rather than casting like new (Object as any)() you could cast as new (Object as new() => object)()? Or new (Object as new() => {[i: string]: any})(). I know that technically a constructor can't return undefined (since an undefined return just means to use the supplied this as the result), so technically constructing an any doesn't yield any but rather any - undefined, but we have pretty much no way to represent that in the typesystem.

To be clear: The new (Object as any)() was just to illustrate the issue in the standalone repro.  In my actual use case the constructor in question comes from a dynamic import where it is already typed as any and I was trying to avoid a cast (since I’d already done checks to verify it’s constructible beforehand).  It just surprised me that the compiler didn’t realize new Anything() can never be undefined is all.
If a cast is the only workaround, so be it. :smiley:

Instead of a cast, would a non-null assertion be enough to squelch the error?
x = new (Object as any)()!;
x.foo;

I don't think so, no; for the same reason I said above about subtraction types - NonNullable<any> is still any because we have no way of representing the removal of a type from a broader type's domain.

I guess any is kind of like the type system’s version of infinity - infinity minus anything is still infinity.  That makes sense now, thanks.
But now I finally understand the underlying issue: new <any>() is being inferred as any which flies in the face of expectation since I know that per specification, calling any random value in a program using new can only have two possible results: it will either throw (and therefore the type doesn’t matter), or else return something which is assignable to:
interface ICtorResult {
    [x: string]: any
    [x: number]: any
    [x: symbol]: any
}

...and therefore any new expression, regardless of what’s being new’d, can safely be inferred as some intersection of its known type and the interface above.  While subtracting from infinity doesn’t work, the intersection of “everything” with “only some things”, mathetically speaking, is “only some things”.  Could the type system be made to do that?

Can negated types be used to solve this?

I don't think so, no; for the same reason I said above about subtraction types - NonNullable<any> is still any because we have no way of representing the removal of a type from a broader type's domain.

Why? It seems quite reasonable from a typescript user point of view to say: hey, I want that function returns anything despite undefined | null

@deser Nobody said it wasn't useful; it's just not possible today.  Somebody has to implement it first.


RestClient::InternalServerError: 500 Internal Server Error

Check full details on Airbrake: #1573156525460405034
Backtrace:
[GEM_ROOT]/gems/rest-client-1.6.7/lib/restclient/abstract_response.rb:48:in return!

I added undefined and '' to the ignoredTechs list.
I don't know if this fixes the problem but I think it does. :sweat_smile:
https://github.com/quintel/etmoses/commit/645c8a78a497c4c2444d2352e6f33de355b29ed7


Adding jwt and new protobuf schema

Status
READY
JIRA Ticket
SPACON-383
Description
New protobuf format adding JWT
Todos

[ ] Tests
[ ] Documentation
[ ] License

Steps to Test or Reproduce
Outline the steps to test or reproduce the PR here.
git fetch --all
git checkout <feature_branch>
./gradlew connectedCheck

@boundlessgeo/spatial-connect

👍


feat: add math/base/special/sqrtpif

Progresses #649
Description

adds math/base/special/sqrtpif, which would be the single-precision equivalent for math/base/special/sqrtpi.

This pull request:

Progresses: https://github.com/stdlib-js/stdlib/issues/649

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines

@stdlib-js/reviewers

We have an open PR adding the same package at #3116.

I didn't  seen it , I am closing this


Reorganise the components list

Is it possible to reorganise the components list to group the ones that are related, and would it also be possible to add headers? E.g. Image as a header and image components grouped below.
We would like to know what is possible and will create a (wish)list afterwards.

@millianapia - here's the wishlist for reorganising the component list :smile:
Text block
Teaser
Image
Full width image
Quote
Accordion
Promo tiles
Iframe
Full width video player
Icon and text
Key numbers
Promotion
Anchor link
Image carousel
Horizontal scroll iFrame
Video player
Horizontal scroll video player
Table
Form
News list
Stock values
Twitter embed
Cookie declaration

@meols can you verify that the new order is as ordered 🥁

@millianapia - thanks, the order is as ordered :smile: Approved

Feature available in sanity now


Should AuthorizeInteractionResponseGenerator trigger on a "local" login without a client?

Question
When I login using a client (a simple MVC web) my simple custom AuthorizeInteractionResponseGenerator that triggers just fine and I can do the things I want.
However, if I login in directly in Identity Server (via the /Account/Login) URL in the Quick Start, i.e. not being redirected from a client, the AuthorizeInteractionResponseGenerator does not trigger.
Minimal working example
.AddIdentityServer(...)
 ...
    .AddAuthorizeInteractionResponseGenerator<TestResponseGenerator>();

public class TestResponseGenerator : AuthorizeInteractionResponseGenerator
{
    public TestResponseGenerator(ISystemClock clock, ILogger<AuthorizeInteractionResponseGenerator> logger, IConsentService consent, IProfileService profile) : base(clock, logger, consent, profile)
    {
    }

    protected override Task<InteractionResponse> ProcessLoginAsync(ValidatedAuthorizeRequest request)
    {
        // Does nothing for now, just want to see if it triggers when debugging...
        Console.WriteLine("Triggered!");
        return base.ProcessLoginAsync(request);
    }
}

Is this by design?
We have a scenario where we might want to let user register/signup (and later login) without coming from the context of a client, and we want to do some processing of the login regardless.

However, if I login in directly in Identity Server (via the /Account/Login) URL in the Quick Start, i.e. not being redirected from a client, the AuthorizeInteractionResponseGenerator does not trigger.

Yes, because you're not making an authorization request.

Yes, because you're not making an authorization request.

Ah I see, so this is authorizing a client making a request (on behalf of a "user"/identity)? I mixed it up with a user just authenticating itself.
If I want to take an action every time a user logs in (for example, check if the email is verified and things like that), is it outside the scope of Identity Server and perhaps something done in the asp net core identity side of things?


Memory exhaustion error reports are lost

Looks like this:
Fatal error: Allowed memory size of 157286400 bytes exhausted (tried to allocate 20480 bytes) in somefile.php on line 172
Fatal error: Allowed memory size of 157286400 bytes exhausted (tried to allocate 20480 bytes) in Bugsnag\src\Handler.php on line 278

It's trying to allocate in shutdownHandler and it fails, so the error report about memory exhaustion is never actually reported. As a quick hack job, adding ini_set('memory_limit', '-1'); inside of shutdownHandler seems to do the trick.
Using PHP 8.0.0 and bugsnag v3.25.0

Hey @xPaw; the quick solution is to increase the memory limit as you've done. However, we'd suggest you increase the memory limit carefully to a threshold that's acceptable rather than giving your script an unlimited memory allocation with -1, as this may lead to other knock-on issues.
We're currently looking into reporting 'out of memory' errors for PHP already, so we'll be sure to let you know in this thread as soon as this is available in the Bugsnag PHP library.

Standard trick is: https://github.com/symfony/error-handler/blob/v5.2.1/ErrorHandler.php#L113-L116.

threshold that's acceptable rather than giving your script an unlimited memory allocation with -1

I know. I only threw that hack into bugsnag's shutdownHandler function so it can send the report.

Out of Memory errors will now be reported as of v3.26.0.


Preparation for HA of the controller

This PR is to prepare HA for the controller. The goal is not to make the controller able to be HA.
This PR treats only:

controller-container has an index
the port for each controller is unique
active ack will be sent to the right controller
Tids, generated by controller will be unique (All tids of controllerX are tid % numberOfInvokers = x
Edit nginx.conf to loadbalance between controllers (if more than one controller is deployed)

@cbickel we need to open an issue for this pr and discuss the strategy (for example: you can't enable this without disabling the cache. Tracking system load will need to be global across controllers. Should we separate CRUD vs Activate?).
Also, need to reference the issue from the Apache dev list.


feat: 3D Maze game using threeJs and MapGL

PR Description 📜
.  I developed a 3D Maze game using threeJs and MapGL .
. I built the game by 5 level and 5 different maps.
. I enhance the 3D experience by adding sound for movements.
. I write a clear README.md with game screenshots
Fixes #2937

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @Gobinath-B ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

@kunjgit can you please review the code and merge it.

Sorry to inform but you are missing out on lot of things there in the documentation and how you have to take care of the structure please go through documentation once and again make PR

Thank you  @Gobinath-B , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Species and Government Ideas

Ideas for species traits, government traits, and empire origins.

Start on a special world with a missive tree that has influence over the local space. In order to colonize a planet, the empire must grow the influence of the tree to the target planet. The planet is also terraformed into the same type as the homeworld.
The tree gives significant buffs to any planet within its influence and ships that are traveling along the path of its influence.

Nomad (Origin)
Start with a colony on a ship. Can only colonize ships and can not create any permanent structure that is not a ship.
Gets bonuses to ship that can support a colony and unique ship components


WriteDouble loses precision after 6 significant digits

WriteDouble loses precision after 6 significant digits. It'd be useful to have
more than 6. E.g. something like<PHONE_NUMBER>000 comes out as 1.33859e+12, losing
some information.

I notice this is because rapidjson uses %g in a format string. Would %f be
acceptable? There's also a todo comment stating "Optimization with custom
double-to-string converter." Perhaps that would address this problem instead.
And finally, I believe format strings allow the user to specify the precision.
Could this be an option exposed to the rapidjson user?

Thanks for the consideration.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 23 Apr 2013 at 3:22

Merged into: #67

You can find an implementation of this functionality in a pull-request in my
personal fork at GitHub, see https://github.com/pah/rapidjson/pull/3

In addition to explicitly specifying a precision with each writer.Double()
call, you can tell the Writer classes to use a user-defined precision via
  writer.SetDoublePrecision(...);

This proposal does not address the todo to provide an optimization with a
custom double-to-string converter.  Neither does it provide a way to switch
from a %g to a %f format string behaviour.

Pull-request: https://github.com/pah/rapidjson/pull/3
Latest patch: https://github.com/pah/rapidjson/pull/3.patch

Original comment by<EMAIL_ADDRESS>on 2 Apr 2014 at 4:09

Original comment by<EMAIL_ADDRESS>on 26 Jun 2014 at 2:44

Changed state: Duplicate


Show custom_excerpt in edit mode

Issue Summary
The custom_excerpt is not visible in edit mode
To Reproduce

Create a new post
Enter a Excerpt in the post settings

Excerpt should be visible in the ghost blog editor page, maybe in readonly (not editable)
Technical details:

Ghost Version: 3.17.1
Node Version: v12.16.3
Browser/OS: any
Database: any

I appreciate the feedback but this is not a bug.

I appreciate the feedback but this is not a bug.

So it shouldn't be there in edit mode?
Should I have opened it as feature request?


Tiny fixes for deploy & scale tutorials

While working on the localization of tutorials intro pages, I noticed a few nits, such as consistent naming (i.e. deployment vs. Deployment), "online terminal" mentions (while we don't have it anymore), missing internal links, and extra spaces. Fixing them in this PR.

/lgtm


Wrong documentation

The documentation says "lite" service plan for "alert notification service", but in the trial mta file file you can find the correct service plan "standard"

Hi @maxi1555,
Thank you for the contribution.
Relevant section has been updated.


Added more events in tournaments + some tests for these events

Pull request for #40 #41 and #27
Adding new events for the tournaments :)
Let me know if you see any cool improvements ! 😄

closes #40
closes #41
closes #27


Leukaemia Classification using DL

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
The link for the dataset used in this project: https://www.kaggle.com/datasets/andrewmvd/leukemia-classification  project aims to identify whether the given medical image contains Leukaemia cells or not.
Use Case
To classify normal from abnormal cell images of Leukaemia.
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@sanjay-kv sir like earlier in gssoc are there any repo which have points limitation, cuz spamming issue has already started in a few repos


ulong with UnitGenerateOptions.ArithmeticOperator causes error

[UnitOf(typeof(ulong), UnitGenerateOptions.ArithmeticOperator)]
public readonly partial struct Money
{
}

Will produce the following error:
Operator '-' cannot be applied to operand of type 'ulong'

thanks, I've fixed in v1.6.2


conda-forge channel installation

Instead of pyscf conda channel
conda install -c pyscf pyscf
is it okay to install from conda-forge channel?
conda install -c conda-forge pyscf
and if it is alright, could you also upload the version 2.1.1 in conda-forge?
There, only version 2.0.1 from 8 months ago is available.
While in PyPI, it's already version 2.1.1.

Once this PR passed, pyscf-2.2 will be available on conda forge. https://github.com/conda-forge/pyscf-feedstock/pull/9

@alpinnovianus, has this been resolved?

@verena-neufeld It doesn't seem to be resolved yet.
I still only see 2.0.1:
https://anaconda.org/conda-forge/pyscf/files
and I do not know if or when the abovementioned PR is going to pass...

Just updated the package on cf today.

As per Anaconda website there are no pyscf installation files for windows 64 bit . Above discussion works only for OSx

PySCF has never been released for Windows, so this is not an issue specific to the Conda release. I'll close this issue since the conda-forge installation channel for pyscf is available now.


Moving autocancel to be the last setting under pr

Hopefully, this will address the issue of it not being triggered for new PR commits
Ticket:

XXX

Description
Please include a summary of the changes and the related issue.
Type

[ ] Dependency upgrade
[ ] Bug fix
[ ] New feature
[ ] Dev change

Checklist:

[ ] I have added tests that prove my fix is effective or that my feature works

Screenshots:
N/A

This was supposed to test YAML triggers on Azure Pipelines, that were not happening. Turns out there was a setting on ADO's side, overriding the YAML behaviour.


chore(docs): correct iss claim of jwt profile

:tada: This PR is included in version 0.111.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


1.3.0+ fails to extract

NPS Browser just sits on extracting.
com.apple.xpc.launchd[1] (JK3Y.NPS-Browser.17640[5875]): Service exited due to signal: Illegal
com.apple.xpc.launchd[1] (com.apple.xpc.launchd.oneshot.0x1000003a.NPS Browser[6100]): Service exited due to signal: Killed: 9 sent by CoreServicesUIAgent[585]
NPS Browser[6166]: assertion failed: 17G65: libxpc.dylib + 75013 [0BC7AD67-671D-31D4-8B88-C317B8379598]: 0x89
NPS Browser[6166]: objc[6166]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fff9a671c90) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x1134aacd8). One of the two will be used. Which one is undefined.
NPS Browser[6166]: BUG in libdispatch client: kevent[mach_recv] monitored resource vanished before the source cancel handler was invoked

@insanelysick a quick google search is telling me that the problem is a finder extension https://discussions.apple.com/thread/7191749


Define variables as default, to allow easy extending

Thanks for your pull request. Good improvement!
Could you resubmit it to the dev branch? I can bundle the other dev changes together before merging to master. 👍

I've made these changes in a separate PR #31


Split into more components

Codecov Report
Attention: 14 lines in your changes are missing coverage. Please review.

Comparison is base (8227dfb) 10.05% compared to head (833b4e4) 16.84%.
Report is 39 commits behind head on main.

Files
Patch %
Lines

...ts/MarketParticipant/V1/MarketParticipantClient.cs
0.00%
7 Missing :warning:

...bApi/GraphQL/Types/CreateMarketParticipantInput.cs
0.00%
5 Missing :warning:

...h/api-dh/source/DataHub.WebApi/GraphQL/Mutation.cs
0.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2272      +/-   ##
==========================================
+ Coverage   10.05%   16.84%   +6.79%
==========================================
  Files          84      102      +18
  Lines        4168     4547     +379
  Branches      778        0     -778
==========================================
+ Hits          419      766     +347
- Misses       3739     3765      +26
- Partials       10       16       +6

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Added startup line showing compile date/time

firmware start now has the following:
Hello from the Edge Impulse Device SDK.
Compiled on May  2 2020 at 14:19:24
Mounting file system: OK

Landed in upstream, will be put in this repository during the next release. Thanks again!


Need to update Actions

GitHub is deprecating some features, and updating underlying infra, so need to update our Actions to take this into account.

Also can now add Ruby 3.2 to the test matrix.


[Tabs] use inlined ScrollbarSize implementation

Bundle size optimization

Coverage increased (+0.2%) to 92.144% when pulling ff4912d9fdbab0ebdc3b47fe94885cb1890df864 on tabs-inline-scrollbarsize into 546748a4db6b65080084d2fa1d455f5018a34477 on master.


add code note

sorry for this pull requset , it just a practice for fork a repo. just ignore this.


Use currently supported Ruby versions

ref. https://www.ruby-lang.org/en/news/2019/03/31/support-of-ruby-2-3-has-ended/

👍

Thank you ❤


Osrm build fixes (r15.09 backport)

^yes, again, this doesn't fix the luajit variant. Perhaps I should remove that if it doesn't work?

Makes sense to me

I'll do that in master, not here...


Include agent hostname or UUID in verifer IMA log message

The verifier currently states Checking IMA measurement list...
It would be good to some how pull in the hostname or UUID, as when several agents are being polled, the same message is repeated over and over, with no details on which target node is being measured.
https://github.com/keylime/keylime/blob/e2bfff7b1ebcaef9b3dec7d840f18133684e84bf/keylime/tpm_abstract.py#L327-L328
Something like:
Checking IMA measurement list on agent: D432FBB3-D2F1-4A97-9EF7-75BD81C00000

May I work on this @lukehinds?

Very much, thanks @rajdroid !

Hi @lukehinds, In normal test scenario with keylime_registrar, keylime_verifier and keylime_agent. I don't see this log message in the verifier. Am I missing something?

Ah yes, I will show you how to set this up. It might take me a day or two with Christmas tomorrow. In the meantime this blog post outlines the set up:
https://keylime-docs.readthedocs.io/en/latest/user_guide/runtime_ima.html
The difference is that you're using an TPM emulator in the virtual machine, so we need to emulate IMA extending into the TPM. You can do this (just before running `keylime_tenant -v <IP_ADDRESS> -t 127......') by starting the ima emulator:
keylime_ima_emulator
Give it a go, if you get stuck I can help you in here, or in a few days time I can send you a gist with all the steps.

Yeah no problem @lukehinds. Let me try this resource. If I stuck somewhere, I'll let you know.
And Merry Christmas

How did you get on @rajdroid ?

Didn't get a chance to work on it. I was on vacation. Will work on it from tomorrow.

No worries, in your own time. Wanted to see if you needed help still with getting the logging message to display.

I got the setup working. Now I'll take look at the code changes.

thanks @rajdroid I was looking at the code and it looks like quite a few functions will need to carry out agent_uuid value. let me know if you need some help at all.

yeah, you are right. I had to propagate agent_id from top functions to bottom one, but it's done. Currently testing it, will raise a review in some time.


Write a Java program to find minimum of n numbers

Description
Write a Java program to find minimum of n numbers
Input  : 10 20 30 40 50
Output : 10

How to contribute

Save the solution in program/FindMinimumOfNNumbers.java file
Add FindMinimumOfNNumbers.java file in find-minimum-of-n-numbers folder

!assign


chore(ci): extend test environment cleanup timeout to unblock e2e tests

What this PR does / why we need it:
For some reason, e2e tests on GKE v1.25 take longer to clean up the environment, so to unblock extend the timeout.
Special notes for your reviewer:
There's an issue in ktf https://github.com/Kong/kubernetes-testing-framework/issues/565 to track an effort to extend cleaner's API to allow e.g. configuration whether to wait for namespaces to be deleted.

I think that the cleanup taking longer is directly connected to the fact that we have enabled synchronous wait for the cluster teardown.

I think that the cleanup taking longer is directly connected to the fact that we have enabled synchronous wait for the cluster teardown.

You're right. I've created #3557 to allow configurable wait for cluster deletion. PTAL.
By default this makes it so that we don't wait for the cluster to get deleted. This IMHO is fine because

we issue a cluster delete on test teardown anyway (I guess we could trust GKE to delete the cluster, no? :) )
we have a cluster cleanup on schedule running every 30min so even if the above fails this will delete the cluster


Add logger_name option

What is this PR

[ ] Bug fix
[X] Addition of a new feature
[ ] Other

Why is this PR needed? & What does this PR do?
This PR adds a logger_name variable that lets the logger than fancylog sets up be given a name. This is useful
for grabbing this logger at a later time.
How has this PR been tested?
Added new test to check expected logger_name is created.
Change is not breaking nor requires documentation change.
Checklist:

[X] The code has been tested locally
[X] Tests have been added to cover all new functionality
[ ] The documentation has been updated to reflect any changes
[X] The code has been formatted with pre-commit

Hey @adamltyson sure, I have added it as the 'canonical' way to use fancylog. We could also show a version without filename where logging is done as was previously (logging.info("...")) but not sure if this is overkill. But would be happy to add as another function (rename main to example_with_logger_name then create a second example_without_logger_name.

I think this is fine, I've created #31 to track documenting fancylog properly.
Will release now.

New version is released (0.4.1).


Route Lookup Service LB policy implementation

Implementation of Route Lookup Service LB policy.
The first 3 commits (up to ec2cd96) is submitted for review separately in #22345.
WIP - the PR is still work in progress

This change is

keep it

@markdroth - fixed some rotten code and the RLS tests are passing locally on Bazel. Still need to address recent design changes like removing the request processing strategy.

You're right, sorry. I just pushed the latest commit.
(strangely I don't see the new commit posted on this PR... but it's indeed on my github branch in already. Not sure what's wrong...)

I'll give multiple targets a try

Merged in the multiple-targets change. I'll sign off now. The two RLS tests (getting added in this PR) are passing locally, but there's some asan issues that I will not have time to work on.
Thanks for the review and the guidance, Mark.


Removed stray =NULL

@AjayVV : Thanks for your contribution! The author(s) have been notified to review your proposed change.


CLI Utility

Proposal
Create a CLI Utility called goyave-cli or gyv to make Goyave development easier. The utility would be an interactive, a bit like gh

Creation tools:

Create a project

The utility would ask a series of questions
Name of the project, name of the go module
Goyave version (latest by default)
Database used (changes the config options)

Create controllers

Resource controllers (full CRUD template, then fill the blanks)
Resource controller creation can take a model as reference to automatically create a request and the handlers

Create middleware
Create request (validation, may be created alongside resource controllers)
Create model (+ its resource controller)

Database commands:

Run seeders
Run migrations (may open to a more advanced migration system)
Clear / recreate database

Miscellaneous:

Detailed routes list
Run tests (maybe not needed, as it would duplicate go test)
Generate OpenAPI specification #42
Open documentation page (goyave.dev)
ngrok integration

Possible drawbacks
None.
Additional information
This issue is a feature proposal and is meant to be discussed. If you have any other idea for this CLI Utility, feel free to suggest it!
It is also a good candidate if you want to contribute to the project.
This should probably be developed as a side-project.

Is this essentially a scaffolding utility to get new projects started quickly? If so, is goyave-template a good starting point for this utility?

@jg-l It is a bit more than scaffolding as you can see. The idea is to build something a bit like artisan in Laravel.
But the goyave template can be used for the "Create project" part indeed.

@jg-l It is a bit more than scaffolding as you can see. The idea is to build something a bit like artisan in Laravel.
But the goyave template can be used for the "Create project" part indeed.

I see. I will draft a PR for this project. Can we agree the CLI should be made in Go? Or do you have something else in mind?

@jg-l Yes I planned the CLI to be done in Go.

I've started the project, but it's just a skeleton for now.
https://github.com/jg-l/goyave-cli
I do have a few questions which I'm compiling regarding the first heading: "Creation tools". I'll post it when it's ready.
Any thoughts on the architecture so far?

Looks good to me so far. Setup CI with similar tools that the ones I used for Goyave, so it ensures the CLI has the same code quality.

@jg-l Any progress?

Very little progress though I have something, will push soon

I'm on it.

I may have taken more than I can chew at the moment. I will cede this project to @Wulfheart

@jg-l Thanks man.

Im watching this thread, I'm still interested in this project. Just don't have the time to maintain another OSS project. I will help with what I can.
Good luck @Wulfheart

What about renaming it to another fruit like mango?
This would make it distinguishable from the main app plus it will be redistributable via the go get -u-command which would ease getting the cli.
@System-Glitch What are your thoughts on this?

@Wulfheart It would probably be confusing if the CLI didn't have the same name as the framework, but I agree that goyave-cli command is a bit long and annoying to write. In the same fashion as angular ng command, we could remove some letters.
Any idea to make it shorter while keeping it clear that it's the CLI for goyave?

@System-Glitch What about gyv?

@Wulfheart I like it! Let's go with gyv.

@System-Glitch I have a prototype running under https://github.com/Wulfheart/gyv.
Please note that it is really early stage and a sketch. The only command working properly is the init command.

@Wulfheart Thanks for the link. I will watch it.
Is it possible to make it available for go 1.13 minimum instead of 1.14 so the requirements for the CLI are the same as the framework?

@System-Glitch Should be no problem. 1.14 is just the version installed on my machine.

I would try to work on it although I have no experience working with cli

@MShoaei https://github.com/Wulfheart/gyv.

This weekend I will have some spare time and release an initial version of the tool. I'm estimating that it can be only used for bootstrapping a project.

The repository for this project has been created here. Iissues and discussions related to the CLI will take place in this repository. Feel free to fork if you want to contribute!


[JTC] Fix test_tolerances_via_actions

Small changes were missing in #1192 for succeeding tests, reported here https://github.com/ros-controls/ros2_controllers/pull/1206#issuecomment-2229499354
Tested on jammy.

@saikishor I can confirm that JTC tests are fine with #1206 on noble now
 $ colcon test --packages-select joint_trajectory_controller
Starting >>> joint_trajectory_controller
[Processing: joint_trajectory_controller]
Finished <<< joint_trajectory_controller [5min 21s]
Summary: 1 package finished [5min 21s]


Moved Sidebar item context menu options from SidebarControl.xaml.cs into INavigationControlItem

Resolved / Related Issues

Closes #8498

Details of Changes

Added

Moved sidebar context menu options from SidebarControl.xaml.cs file to SidebarContextMenuOptions class as part of INavigationControlItem.
Removed repeated methods for opening context menus.
Changed context menu item methods to ICommand for consistency.
Reordered elements in SidebarControl.xaml.cs to be more in line with current coding style.

Fixed

Recycle bin was still visible after "Unpin From Favorites" clicked.

Validation

[x] Built and ran the app
[ ] Tested the changes for accessibility

@oleklukasiewicz could you resolve conflicts?

Done!

@oleklukasiewicz thank you!


add draft of mobile version

complete footer not included

deleted everything in public/style.css to resolve merge conflicts. will build it again and push directly to main


Feature/#122

Description
Adds "Sorry" "There are no results in your area" text for location page.
Works for both light and dark theme.
Matches figma design.
Fixes #122
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

Change Status

[x] Complete, tested, ready to review and merge

How Has This Been Tested?

[x] Manual and visual testing.

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[x] There are no merge conflicts

Code Climate is giving an issue of cognitive complexity, though it has nothing to do with what was added in this PR.


[Vectorize] Add validation for update clause

Update clause cannot have updates based on both $vectorize and $vector

@vkarpov15
$vectorize field in the update clause will resolve to $vector field.
In case both field used with same update operator, vectorized value will be used for update.
If the fields are used in different update operator, existing validation for handling field paths will handle this scenario.
I will close this issue.

I think it is worth throwing an error if both $vectorize and $vector would be updated, because having one overwrite the other automatically is likely to cause confusion.
We've been having a similar issue with a feature we shipped in Mongoose 7.4 that adds an id setter which makes doc.id = '0'.repeat(24) equivalent to doc._id = '0'.repeat(24) by default. Has lead to several issues where users specify both id and _id because they're assigning Mongoose documents.


Adds Sunscreen to Readme

By submitting this pull request, I promise I have read the contribution guidelines twice and ensured my submission follows it. I realize not doing so wastes the maintainers' time that they could have spent making the world better. 🖖
⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆

@Dev43 Thanks for contributing 🎉


add explanation about component containers.

closes https://github.com/ros2/ros2_documentation/issues/4901

@christophebedard @clalancette can you take a look? thanks in advance.

@christophebedard thanks for doing review on this, most of your comments are addressed by https://github.com/ros2/ros2_documentation/pull/4902/commits/f3aad80887d24c9986302515a28d6d4e80f72569
just fyi, since i borrowed most of your suggestions, that put you as Co-Author.

@christophebedard thanks for checking on this, all comments are addressed. requesting review once again.

@christophebedard all comments are resolved, and i cleaned up the commit history and messages via squash.

@clalancette @christophebedard thanks 👍


Web console: add missing dynamic coordinator configs

Added decommissioningNodes and decommissioningMaxPercentOfMaxSegmentsToMove were missing from the dynamic config dialog.

Also:

Refactored the default config setting
Added icon to submit button

the dialog has default value of 70 for decomissioning percent.
however that value is not propogated to the coordinator.
only if the value is manually modified, is it propogated


FHG-2866 Add Contact Details

FHG-2866 Add Contact Details

As I said, don't start any new stories until you've finished https://github.com/DFE-Digital/fh-referral-ui/pull/163.


Update AuthorizationResolver to be hot-reload aware

Why make this change?

Closes #2324 which tracks making DAB's AuthorizationResolver hot-reload aware. Hot-reload aware just means that the service should update its internal state to align with the latest runtimeconfig changes.

What is this change?

Adds Event for DAB's HotReload event handler to signal changes to the runtime config. The AuthorizationResolver can only refresh once the SqlMetadataProvider has fetched updated database object metadata.
GraphQL is not yet supported (separate work item for schema eviction).
REST should work when #2417 is merged which fixes bug with updating metadata providers after hot reload.

How was this tested?

[x] Integration Tests -> setup test fixture with initial config specifying a Book entity with certain permissions. The test then hot-reloads a new config with a different entity and different permissions (different include/exclude column names) and validates that only the new entity is accessible and the expected fields are accessible. Validates that the old entity is not accessible and has "been forgotten" by DAB.

/azp run

/azp run

/azp run

/azp run

/azp run


⚠ AGEG website (prod) has degraded performance

In ba99e7b, AGEG website (prod) (https://www.ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 1974 ms

Resolved: AGEG website (prod) performance has improved in ed53231.


Assigning Judges to a Show Form

Adds a page where Admins can assign Judges to shows.
Also adds seeds for Users on the backend.

~~~Still working on refetching data & updating the store after an assignment is made. Also want to pull in https://github.com/gorangajic/react-icons for Font Awesome Icons (currently using Open Iconic).~~~ [Edit: ✅]

~~~Will remove WIP status when things are finished. Review at your leisure, but code will change.~~~ [Edit: ✅]

@robmcl4 I'm going to merge this now so that you can work on the Add Judge Button which goes on one of the pages in this PR. I was planning on adding reducer tests, but they're less of a priority right now and can wait for a future PR.


Add tree to apt.txt

Workflows still failing on my fork but we seem to be getting a different error this time. I see if I can finally figure this out. Any suggestions on what might be going on @scottyhq?

Actually something magical happened and the bot fixed things. Nice bot!!


Sometimes file link isn't renamed after the image file is renamed.

While the plugin always successfully renames the pasted image file, sometimes, the file link isn't renamed. This causes a broken link.
(Then I will have to find the image manually, which is very annoying.)
Environments (please complete the following information):

OS: Windows
Use [[Wikilinks]]: True
Debug info:
SYSTEM INFO:
Obsidian version: v1.1.16
Installer version: v0.15.9
Operating system: Windows 10 Home 10.0.22621
Login status: logged in
Catalyst license: none
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: adapt to system
Community theme: Blue Topaz v20230218
Snippets enabled: 0
Restricted mode: off
Plugins installed: 15
Plugins enabled: 14
1: Outliner v4.3.0
2: Quick Explorer v0.2.8
3: Quick Switcher++ v3.0.0
4: Settings Search v1.3.7
5: Excalidraw v1.8.21
6: Dataview v0.5.55
7: Advanced Tables v0.18.1
8: Find orphaned files and broken links v1.9.0
9: Sortable v0.3.1
10: Style Settings v1.0.3
11: Tag Wrangler v0.5.8
12: Obsidian_to_Anki v3.4.2
13: Paste image rename v1.6.1
14: Text Generator v0.2.21

To Reproduce
This is happening randomly, sometimes after pasting the image, it just fails to be renamed.
(I have not been able to reproduce this in sandbox so far.)
( This is my settings)

Expected behavior
Image link is renamed with the file, displaying the image correctly.
Screenshots

Same here, when I paste 2 or more images, the file links all get inserted but only the last file link has the correct file name. The other file links point to the original file names (see screenshot)


Remaping buttons in retroarch

Nintendo switches A and B. Is it possible to swap the buttons for a specific game?  Remapping doesn’t work in steam

Not sure I understand the ask. The buttons are already mapped so that they represent as close as possible the physical locations of the original controllers.
If you want to map so that the letters match, I recommend against that, because you could render games unplayable because the physical locations will be different than the game was designed for.
If you still want to modify controller settings you have to do that in retroarch.
From the desktop, open the Console application and run retroarch and hit enter.


Add serialized_len method in Encodable trait

It's nice to know ahead of time how much space an encodable object will take once serialized, this allows to allocate the capacity of a vector before using it for storing serialized information, avoiding vector re-allocations.
Used in the serialize method here https://github.com/rust-bitcoin/rust-bitcoin/blob/99ae48ab010fa6773687ca96deff46ab63fadc12/src/consensus/encode.rs#L142 as done in the second commit, improve serialize performance a lot for object sized hundreds of bytes where the weight of re-allocations in comparison of the serialization work is bigger.
# before

test blockdata::transaction::benches::bench_transaction_serialize               ... bench:         550 ns/iter (+/- 31)

# after

test blockdata::transaction::benches::bench_transaction_serialize               ... bench:         144 ns/iter (+/- 4)

(Note I renamed current benchmark to bench_transaction_serialize_with_capacity because it was using a pre-created workhorse collection to store serialization data and created a new one bench_transaction_serialize which use serialize())
Still a draft cause I have to re-check everything but I will do after https://github.com/rust-bitcoin/rust-bitcoin/pull/988 is merged so that I don't have to bother to implement serialized_len in psbt methods .

We should be mindful about definition of a contract here.

 Could users e.g. depend on it writing unsafe code?
Would be be better to define it as something less precise?

fn estimated_serialized_len
fn maximum_serialized_len (serialized data guaranteed to be less or equal)

I could imagine that maximum_serialized_len could be marginally faster (no need to inspect e.g. varints), at the cost of over-allocating a little bit, etc.

We should be mindful about definition of a contract here.
* Can we always commit to providing fast yet 100% accurate size? Could users e.g. depend on it writing `unsafe` code?

* Would it make sense to define something less precise instead/as well?

  * `fn estimated_serialized_len`
  * `fn maximum_serialized_len` (serialized data guaranteed to be less or equal)

I could imagine that maximum_serialized_len could be marginally faster (no need to inspect e.g. varints), at the cost of over-allocating a little bit, etc. Or maybe precise is always fast and easy. Just asking. :D

I think being accurate it's not an issue, the implicit debug_assert in serialize already gives me some confidence (and as suggested by @tcharding I will also add some explicit tests in the final version).
While being fast, you are right, it's an issue for big objects like blocks where this technique is not performing well. The reason is that you have fewer reallocations the bigger the objects become. However, gains for small objects are significant and there are a lot of downstream projects serializing a tx or its parts (Example 1, 2)
My proposal is to add a parameter cap: usize to serialized_len and break the sum calculation in impl Encodable for Vec<$type> if the partial result is greater than cap. So the contract of the fn becomes that the result is exact if lower than cap, while if greater is just a min bound (obviously, calling with usize::MAX still gives exact result if needed)
Then inside fn serialize use something with a reasonable value like Vec::with_capacity(self.serialized_len(1000))

LGTM, since its draft just mentioned the unit tests and one other thing, it was not immediately clear what all the magic numbers meant, perhaps in the final version we could have comments for them (assuming its not just unclear in the diff and is actually obvious in the code). Thanks.

I will add more comments in the final version

This is awesome!

Could users e.g. depend on it writing unsafe code?

No and this is clearly communicated by the trait not being unsafe. However I wouldn't mind spelling it out in docs for newbies. Also note that the current policy of no unsafe prevents adding unsafe to the trait.

My proposal is to add a parameter cap: usize to serialized_len and break the sum calculation

I don't understand how this could lead to speed improvement, I guess it'll be worse. But I'm not sure I understand what you describe correctly. Obviously benchmarks will be needed to check this anyway.

I don't understand how this could lead to speed improvement, I guess it'll be worse. But I'm not sure I understand what you describe correctly. Obviously benchmarks will be needed to check this anyway.

Didn't implement the cap thing yet, but have a look at bench result with this MR plus this commit https://github.com/rust-bitcoin/rust-bitcoin/commit/5705e88685044f2301c0f104f43c4963ec8554dd
test blockdata::block::benches::bench_block_serialize                           ... bench:     942,927 ns/iter (+/- 16,702)
test blockdata::block::benches::bench_block_serialize_realloc                   ... bench:     837,625 ns/iter (+/- 19,035)
test blockdata::block::benches::bench_block_serialize_with_capacity             ... bench:     833,153 ns/iter (+/- 6,677)
test blockdata::block::benches::bench_block_serialized_len                      ... bench:      82,208 ns/iter (+/- 1,974)
test blockdata::transaction::benches::bench_transaction_serialize               ... bench:         145 ns/iter (+/- 5)
test blockdata::transaction::benches::bench_transaction_serialize_realloc       ... bench:         571 ns/iter (+/- 26)
test blockdata::transaction::benches::bench_transaction_serialize_with_capacity ... bench:         108 ns/iter (+/- 8)
test blockdata::transaction::benches::bench_transaction_serialized_len          ... bench:          10 ns/iter (+/- 0)

As you can see, performance of block serialization with serialized_len estimation is worse because the cost of computing the len is non-negligible.
The change is so effective for small objects and bad for big one because for an object of 1k you do 10 re-allocations, while for an object of 1M you do just 20 re-allocations (vector capacity doubles). While computing the serialized_len grows linearly with the size of the object

pushed the serialized_len(threshold: usize) version.
Still very rough code, commits to be reorganized, but benchmarks are ok:
test blockdata::block::benches::bench_block_serialize                           ... bench:     837,149 ns/iter (+/- 6,638)
test blockdata::block::benches::bench_block_serialize_realloc                   ... bench:     840,989 ns/iter (+/- 5,990)
test blockdata::block::benches::bench_block_serialize_with_capacity             ... bench:     835,592 ns/iter (+/- 5,488)
test blockdata::block::benches::bench_block_serialized_len                      ... bench:          63 ns/iter (+/- 3)

test blockdata::transaction::benches::bench_transaction_serialize               ... bench:         164 ns/iter (+/- 9)
test blockdata::transaction::benches::bench_transaction_serialize_realloc       ... bench:         547 ns/iter (+/- 21)
test blockdata::transaction::benches::bench_transaction_serialize_with_capacity ... bench:         107 ns/iter (+/- 3)
test blockdata::transaction::benches::bench_transaction_serialized_len          ... bench:          12 ns/iter (+/- 0)

Ah, I think I understand now.
"The method is intended for allocation optimizations and should return a precise value if possible and fast however it may return a bit greater than the actual serialized length if the computation of the value becomes less expensive assuming sacrificing a bit of RAM bytes is worth it."
Would sound good to me. I can already imagine that ignoring the actual length of compact size and assuming largest case may perform better while wasting only a few % of bytes.

Ah, I think I understand now.

I'm not sure what you're referring to exactly.
My understanding is that calculating the size of the block is the biggest issue. One mainnet block is > 2k txes, and it's impossible be precise without actually going through all the data. To lesser extent the same is recursively a problem for each Tx itself with inputs and outputs.

it may return a bit greater

I think it's best to commit to nothing for the estimate, other than "doing our best". For smaller types returning precise size, for larger using whatever heuristic that works well with mainnet data. Eg. an estimated size of a block is "AVG_MAINNET_TX_SIZE * block.txs.len() + header size + 16 /* some extras just to avoid reallocation */", etc.
Since this is a pure heuristic, it will never be perfect, and there's multiple ways to approach it, but for real world performance giving a quick guess that doesn't cause buffer reallocation 95% of the time and doesn't waste too much memory, would be a huge improvement no matter what.

@Kixunil I see what you mean with is_big_object now, and I think it's cleaner than adding a parameter to serialized_len so I will change this MR accordingly
@dpc I think heuristics of serialized space makes sense but having an accurate serialized_len (explaining it could be slow in fn docs) together with is_big_object will accomplish my goal for this PR

Implemented is_big_object as suggested by @Kixunil
PR still needs tests and additional comments on "magic numbers" returned by serialized_len, I will update after #988

@RCasatta cool! Did you try to check how various values for max_iterations affect the speed? Maybe it'd even make sense to have a helper for some specific good value if we can consistently reproduce it as the best one.

Did you try to check how various values for max_iterations affect the speed?

No, to start I chose a safe low value (10) for max_iterations where I am sure there is no performance degradation for big objects but at the same time the performance gains are covering most of the use cases.

I don't think it matters that you reallocate if the program is going to crash on OOM anyway.

@Kixunil What if it doesn't crash, but just severely degrades the performance?

Assuming otherwise correct implementation, if it overflows usize then the data would've been bigger than what fits into RAM anyway. If it overflows because it's wrong it could affect performance already for other reasons.

Oh, I see what you mean. Nevermind, my point is moot.
Though even in precise version - isn't serialized data always smaller than deserialized one? To overflow the usize user would have to call it with input that takes more memory than usize can handle, which IIRC is not possible.
Though I guess there is no guarantee that whatever implemented Encodable acts in a "normal" way.
OK, your point holds. :+1:

Enodable is a public, non-sealed trait so one could make (a buggy) transaction generator that generates super-large txes. Also I can think of one ridiculous example where serialized size is larger: compact size for values >= 2^32 (8B in memory, 9B serialized). :)

I was thinking, instead of is_big_object() to use a serialized_len_min() which returns the minimal serialized size of an Encodable object.
Even for blocks with many transactions is about as fast as is_big_object() (no need to loop, just a multiplication) and can be similarly used as a discriminant to decide to use the precise value or the minimal one in serialize().


feat(cli): add colors to -Zhelp console output

What does this PR try to resolve?
A follow up of #12992.

How should we test and review this PR?
A snapshot is also added to prevent regression.
Additional information
Found this while doing refactor around core::features.

Thank you for reviewing this!
@bors r=epage

:pushpin: Commit dbfe4277d3a1457c7cc6904dc7831300e728be15 has been approved by epage
It is now in the queue for this repository.

:hourglass: Testing commit dbfe4277d3a1457c7cc6904dc7831300e728be15 with merge 88599985e997d9bafd60ece09092a539eb5edbbd...

:sunny: Test successful - checks-actions
Approved by: epage
Pushing 88599985e997d9bafd60ece09092a539eb5edbbd to master...


Support installing Liberty from zip files

Same as https://github.com/WASdev/ci.ant/pull/35.

Fixed by #24.

Thank you so much!


9-serving updates

This command needs to be updated to

mc config host add minio $S3_ENDPOINT $ACCESS_KEY $ACCESS_SECRET_KEY
mc config host add minio http://$S3_ENDPOINT $ACCESS_KEY $ACCESS_SECRET_KEY

Add details of how to build the exported mnist model.
Add details of how to build or use an off the shelf tensorflow serving container

cc @sozercan


Added files

Added files.

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/enterprise/compare.md
:warning:Warning

Details

docs/enterprise/onboard.md
:warning:Warning

Details

includes/enterprise-open-configure-cortana.md
:warning:Warning

Details

docs/enterprise/authenticate.md
:white_check_mark:Succeeded

docs/enterprise/build-your-bot.md
:white_check_mark:Succeeded

docs/enterprise/connect-your-bot.md
:white_check_mark:Succeeded

docs/enterprise/create-bot-template.md
:white_check_mark:Succeeded

docs/enterprise/media/.md
:white_check_mark:Succeeded

docs/enterprise/media/images/default_settings-skill_information.png
:white_check_mark:Succeeded

docs/enterprise/media/images/enterprise-back-deploy-active.png
:white_check_mark:Succeeded

docs/enterprise/media/images/enterprise-configure_cortana_skill.png
:white_check_mark:Succeeded

docs/enterprise/media/images/enterprise-registered_app.png
:white_check_mark:Succeeded

docs/enterprise/media/images/enterprise-reply_urls.png
:white_check_mark:Succeeded

docs/enterprise/media/images/enterprise-run_debug_mode.png
:white_check_mark:Succeeded

docs/enterprise/media/images/group_settings_configured-skill_information-invocation_name.png
:white_check_mark:Succeeded

docs/enterprise/toc.md
:white_check_mark:Succeeded

docs/enterprise/compare.md

Line 18: [Warning] Invalid file link:(~/enterprise/feature-personalization).
Line 19: [Warning] Invalid file link:(~/enterprise/feature-play-audio).
Line 20: [Warning] Invalid file link:(~/enterprise/feature-publication).

docs/enterprise/onboard.md

Line 15: [Warning] Invalid file link:(~/enterprise/entskills@microsoft.com).

includes/enterprise-open-configure-cortana.md

Line 12: [Warning] Invalid file link:(~/enterprise/includes/media/images/enterprise-configure_cortana_skill.png).
Line 12: [Warning] Invalid file link:(~/enterprise/includes/media/images/enterprise-configure_cortana_skill.png).
Line 13: [Warning] Invalid file link:(~/enterprise/includes/media/images/enterprise-run_debug_mode.png).
Line 13: [Warning] Invalid file link:(~/enterprise/includes/media/images/enterprise-run_debug_mode.png).

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

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/enterprise/onboard.md
:warning:Warning

Details

includes/enterprise-open-configure-cortana.md
:warning:Warning

Details

docs/enterprise/authenticate.md
:white_check_mark:Succeeded

docs/enterprise/build-your-bot.md
:white_check_mark:Succeeded

docs/enterprise/compare.md
:white_check_mark:Succeeded

docs/enterprise/connect-your-bot.md
:white_check_mark:Succeeded

docs/enterprise/create-bot-template.md
:white_check_mark:Succeeded

docs/enterprise/media/.md
:white_check_mark:Succeeded

docs/enterprise/media/images/default_settings-skill_information.png
:white_check_mark:Succeeded

docs/enterprise/media/images/enterprise-back-deploy-active.png
:white_check_mark:Succeeded

docs/enterprise/media/images/enterprise-configure_cortana_skill.png
:white_check_mark:Succeeded

docs/enterprise/media/images/enterprise-registered_app.png
:white_check_mark:Succeeded

docs/enterprise/media/images/enterprise-reply_urls.png
:white_check_mark:Succeeded

docs/enterprise/media/images/enterprise-run_debug_mode.png
:white_check_mark:Succeeded

docs/enterprise/media/images/group_settings_configured-skill_information-invocation_name.png
:white_check_mark:Succeeded

docs/enterprise/toc.md
:white_check_mark:Succeeded

docs/enterprise/onboard.md

Line 15: [Warning] Invalid file link:(~/enterprise/entskills@microsoft.com).

includes/enterprise-open-configure-cortana.md

Line 12: [Warning] Invalid file link:(~/enterprise/includes/media/images/enterprise-configure_cortana_skill.png).
Line 12: [Warning] Invalid file link:(~/enterprise/includes/media/images/enterprise-configure_cortana_skill.png).
Line 13: [Warning] Invalid file link:(~/enterprise/includes/media/images/enterprise-run_debug_mode.png).
Line 13: [Warning] Invalid file link:(~/enterprise/includes/media/images/enterprise-run_debug_mode.png).

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

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/enterprise/onboard.md
:warning:Warning

Details

includes/enterprise-open-configure-cortana.md
:warning:Warning

Details

docs/enterprise/authenticate.md
:white_check_mark:Succeeded

docs/enterprise/build-your-bot.md
:white_check_mark:Succeeded

docs/enterprise/compare.md
:white_check_mark:Succeeded

docs/enterprise/connect-your-bot.md
:white_check_mark:Succeeded

docs/enterprise/create-bot-template.md
:white_check_mark:Succeeded

docs/enterprise/media/.md
:white_check_mark:Succeeded

docs/enterprise/media/images/default_settings-skill_information.png
:white_check_mark:Succeeded

docs/enterprise/media/images/enterprise-back-deploy-active.png
:white_check_mark:Succeeded

docs/enterprise/media/images/enterprise-configure_cortana_skill.png
:white_check_mark:Succeeded

docs/enterprise/media/images/enterprise-registered_app.png
:white_check_mark:Succeeded

docs/enterprise/media/images/enterprise-reply_urls.png
:white_check_mark:Succeeded

docs/enterprise/media/images/enterprise-run_debug_mode.png
:white_check_mark:Succeeded

docs/enterprise/media/images/group_settings_configured-skill_information-invocation_name.png
:white_check_mark:Succeeded

docs/enterprise/toc.md
:white_check_mark:Succeeded

includes/media/.md
:white_check_mark:Succeeded

includes/media/images/enterprise-configure_cortana_skill.png
:white_check_mark:Succeeded

includes/media/images/enterprise-run_debug_mode.png
:white_check_mark:Succeeded

docs/enterprise/onboard.md

Line 15: [Warning] Invalid file link:(~/enterprise/entskills@microsoft.com).

includes/enterprise-open-configure-cortana.md

Line 12: [Warning] Invalid file link:(~/enterprise/includes/media/images/enterprise-configure_cortana_skill.png).
Line 12: [Warning] Invalid file link:(~/enterprise/includes/media/images/enterprise-configure_cortana_skill.png).
Line 13: [Warning] Invalid file link:(~/enterprise/includes/media/images/enterprise-run_debug_mode.png).
Line 13: [Warning] Invalid file link:(~/enterprise/includes/media/images/enterprise-run_debug_mode.png).

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

:warning: Validation status: warnings

File
Status
Preview URL
Details

includes/enterprise-open-configure-cortana.md
:warning:Warning

Details

docs/enterprise/authenticate.md
:white_check_mark:Succeeded

docs/enterprise/build-your-bot.md
:white_check_mark:Succeeded

docs/enterprise/compare.md
:white_check_mark:Succeeded

docs/enterprise/connect-your-bot.md
:white_check_mark:Succeeded

docs/enterprise/create-bot-template.md
:white_check_mark:Succeeded

docs/enterprise/media/.md
:white_check_mark:Succeeded

docs/enterprise/media/images/default_settings-skill_information.png
:white_check_mark:Succeeded

docs/enterprise/media/images/enterprise-back-deploy-active.png
:white_check_mark:Succeeded

docs/enterprise/media/images/enterprise-configure_cortana_skill.png
:white_check_mark:Succeeded

docs/enterprise/media/images/enterprise-registered_app.png
:white_check_mark:Succeeded

docs/enterprise/media/images/enterprise-reply_urls.png
:white_check_mark:Succeeded

docs/enterprise/media/images/enterprise-run_debug_mode.png
:white_check_mark:Succeeded

docs/enterprise/media/images/group_settings_configured-skill_information-invocation_name.png
:white_check_mark:Succeeded

docs/enterprise/onboard.md
:white_check_mark:Succeeded

docs/enterprise/toc.md
:white_check_mark:Succeeded

includes/media/.md
:white_check_mark:Succeeded

includes/media/images/enterprise-configure_cortana_skill.png
:white_check_mark:Succeeded

includes/media/images/enterprise-run_debug_mode.png
:white_check_mark:Succeeded

includes/enterprise-open-configure-cortana.md

Line 12: [Warning] Invalid file link:(~/enterprise/includes/media/images/enterprise-configure_cortana_skill.png).
Line 12: [Warning] Invalid file link:(~/enterprise/includes/media/images/enterprise-configure_cortana_skill.png).
Line 13: [Warning] Invalid file link:(~/enterprise/includes/media/images/enterprise-run_debug_mode.png).
Line 13: [Warning] Invalid file link:(~/enterprise/includes/media/images/enterprise-run_debug_mode.png).

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


Permission issue during authentication

Fixed LinkedIn authentication. Main issue was present in the scope,
since v2 API, scopes must be separated with space char (" ") and the
full scope must be encoded like an URI. Unfortunately, OAuth2 Elixir
module doesn't support this kind of encoding and replace space with
a plus ("+") character. The patch include a way to generate scopes
with space instead of "+" char and encode it correctly.
NOTE: this is a quick and dirty patch.
increment version to 0.3.3

Hey guys,
I made a lot of small changes around the project in this PR. I tried to make dogma working (without success) and update travis-ci configuration file too. I think I will try to rewrite a part of the code to be compliant with dogma.
I added some regression tests too. Feel free to react if you think the PR is too big and should be splitted in smaller one.

up guys! Somewhere available to check that and valid the PR?

No news. good news. I close this pull request.


Add MIT license file

Would you please consider adding a LICENSE file?  The MIT license specifically states that the text of the license must accompany the source code.

Thanks!


General Questions

I was wondering about:

Is there finger tracking support?
How to start this on boot with windows?
Why is this not in the oculus store yet? Considering that VD is now plug and play (able to install throught the built in store)

Yes. Just put down the controllers.
https://support.microsoft.com/en-us/windows/add-an-app-to-run-automatically-at-startup-in-windows-10-150da165-dcd9-7230-517b-cf3c295d89dd
ALVR got rejected because it requires non-Oculus software to run (SteamVR). On the other hand for Virtual Desktop, even if it supports SteamVR games, SteamVR is not required because it implements its own VR runtime.

Please do not use GitHub issues for general questions. Use the Discussions tab or ask in the Discord server.


How long does training take

Hi, I wonder if there are any information about used training time of these models on any dataset?

training in one A100.
scanobjectnn: 3 hours
s3dis: all models less than 24 hours. pointnext-s around 8 hours.
shapnetpart: pointnext-s 18 hours
8 V100s:
scannet: pointnext-s, 12 hours


ARC-1620 doc links

What's in this PR?
Links to documentation.
Why
So customers can documentation... but they probably won't coz nobody reads things 🙃
Added feature flags
GHE_SERVER
Affected issues
ARC-1620
How has this been tested?
Locally
What's Next?
Publication of docs so links actually work (won't merge before then)

Are @krazziekay's commits meant to be in this PR?

Are @krazziekay's commits meant to be in this PR?

No. I was testing out something of his earlier and obviously forgot to switch back to main 🤦