Added Just Pull and issues widget - removed every thing that was coded per PR#540

Added both widgets to capitalone template. These will be repo based as the product is currently using for commits.

Closing this PR. Let's clean it up first.


added Morse Code Translator

Description
added Morse Code Translator
Fixes #649
Have you read the Contributing Guidelines on Pull Requests?

[X] Yes
[ ] No

Type of change
Please delete options that are not relevant.

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

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md
[x] My documentation follows Template for README.md
[x] My changes generate no new warnings
[x] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works.

Upper case and lower case sensitivity is not handled. If I write lower case message, then the decrypted message needs to be in lower case only

I didn't get you . There are no distinctions between uppercase and lowercase letters used in Morse code.

Upper case and lower case sensitivity is not handled. If I write lower case message, then the decrypted message needs to be in lower case only

I didn't get you . There are no distinctions between uppercase and lowercase letters used in Morse code.

If I encrypt the message " I am reviewing PRs", then get the morse code and then decrypt that code, the output would be "I AM REVIEWING PRS". It should be the same lower cases

capital letter and small letter have the same morse code .So when you write your message in small letter , the script converts it into capitals (as they have the same morse code) and gives an output.

capital letter and small letter have the same morse code .So when you write your message in small letter , the script converts it into capitals (as they have the same morse code) and gives an output.

oh, okay, I searched about it and you are right, I was not aware of this thing, apologies, you code works and therefore I have approved it


Add a few Agent integration tests

@jpkrohling could you please review and eventually merge?

LGTM, I like how you solved the Retry problem :)


Use dynamic content theming based on featured image

Checks failed because of the local maven dependency. Will push it to Maven central later


Add ./name as an alternative to ./nick

I think the title of this PR is explanatory enough. Not entirely certain if it'll work, but I'm guessing it should!

oop, closed by mistake, it'll work, thanks for your contribution to Devzat 💖


Gitops Module to provision CP4BA - IBM Business Automation Navigator and UMS Operator

Related user story
Gitops Module to create Instance of IBM Business Automation Operator #604
Type of module
terraform or gitops
If requesting a terraform module, what is the target cloud platform?
ibm, aws, azure, etc
What is the purpose of the module?
Please describe what this automation module will do
What is the category of the module?
cluster, iam, network, database, integration, dev-tool, sre, infrastructure, util

Please add below collaborators
@indirakalagara @dineshchandrapandey @saratrip  @DileepPaul

/name cp-business-automation-navigator

/displayName IBM Business Automation Navigator and UMS operator

/softwareProvider ibm-cp


When i try running for chrome it says : Error: Cannot find module 'win-dpapi'

Posting full code with full error below (Worked perfectly for firefox but not for chrome)
index.js
const { getCookie, listCookies, Browser } = require('cookie-thief')
async function chromeit() {
const cookies = await listCookies({
browser: Browser.Firefox,
});
console.log(cookies);
}
chromeit()
node index.js
(node:2016) UnhandledPromiseRejectionWarning: Error: Cannot find module 'win-dpapi'
Require stack:

C:\Users\obi\Documents\CookiesMonster\node_modules\cookie-thief\lib\chrome\optionalDependencies.js
C:\Users\obi\Documents\CookiesMonster\node_modules\cookie-thief\lib\chrome\decrypt.js
C:\Users\obi\Documents\CookiesMonster\node_modules\cookie-thief\lib\chrome\index.js
C:\Users\obi\Documents\CookiesMonster\index.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
at Function.Module._load (internal/modules/cjs/loader.js:746:27)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:93:18)
at getDpapi (C:\Users\obi\Documents\CookiesMonster\node_modules\cookie-thief\lib\chrome\optionalDependencies.js:18:13)
at decryptWindows (C:\Users\obi\Documents\CookiesMonster\node_modules\cookie-thief\lib\chrome\decrypt.js:27:55)
at C:\Users\obi\Documents\CookiesMonster\node_modules\cookie-thief\lib\chrome\index.js:82:60
at Generator.next ()
at C:\Users\obi\Documents\CookiesMonster\node_modules\cookie-thief\lib\chrome\index.js:8:71
at new Promise ()

The reason i ask is the error is showing that win-dpapi was not installed. it probably didnt error because its an optional dependency. its optional because its only there for when its installed on windows.
So for some reason win-dpapi didn't install.
Would be helpful if you had the log of the install output for either this package, or maybe can try just install win-dpapi and see if that succeeds

i tried just now. same problem

@obiwan245 Hey, can't seem to recreate the issue. have you tried the steps in here? looks like its same issue https://stackoverflow.com/a/45840283
Currently got a WIP change to make sure the appropriate platform modules are installed, so this problem should get flagged up during package installation. Will look to add some notes in the docs about this issue on windows as well, hopefully this weeked


Expose the Evaluator depth first walk as a visitor

Multiple users expressed interest in walking over the logical project elements (via walking over all the imports). Currently, this walk is hidden deep inside the Evaluator
Example visitor queries:

GetItemProvenance would want all the ProjectItemElements
CPS and internal team would want all the Imports, including the ones evaluating to false

GetLogicalProject is related.

Team triage: maybe if there's a high-pri motivating factor. But doesn't seem worth it right now.


Prevent side effects with third party modals

Add id to frontend bridge modal markup to prevent side effects with additional third party modals on the same page

Sry, all the whitespace changes after the function keywords were fixed by my IDE on paste...


Cli user and password

Description
This adds a specific username and password option to use with jenkins-cli for basic authentication using http protocol. The password can be a token.
Issues Resolved
partially fixes #599, as it only fixes the use of http protocol, and not tested with ssh
Check List

[ ] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[x] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

Mistakenly included another commit in the PR, will create a new PR with only the correct commit.


The question about sdk and its corresponding FW version

Hi! I use the 2.19.0 sdk and I don't its corresponding FW version.Thanks!

Hi @dyb678  The recommended firmware version for SDK 2.19.0 is 5.11.4
https://github.com/IntelRealSense/librealsense/releases/tag/v2.19.0

However - and this is VERY important - only a D415 or D435 camera model could support a firmware that old.  For example, if a D455 was updated with the 5.11.4 firmware then it would become unusable and no longer detectable.

OO,thanks!Actually,I find when I use the imu method" linear_interpolation" in ros wrapper will cause the data unstable but "copy"method seems not suitable for SLAM task. How can solve it ?Thanks a lot!

Raw RealSense IMU data is inherently "noisy".  So there may not be much that you can do to stabilize the data if the Copy option cannot be used.
Ideally, fast moving or turning of the camera should be avoided if possible as this can cause the IMU's tracking to be lost.
You could also try setting accel and gyro to their maximum speed values to see how this affects the data when using linear_interpolation.
ROS1
roslaunch realsense2_camera rs_camera.launch enable_accel:=true enable_gyro:=true unite_imu_method:=linear_interpolation accel_fps:=200 gyro_fps:=400
ROS2
ros2 launch realsense2_camera rs_launch.py enable_accel:=true enable_gyro:=true unite_imu_method:=2 accel_fps:=200 gyro_fps:=400

Case closed due to no further comments received.


Restructure hypatia's ReadSet to make code more testable

TLDR
Currently the ReadSets class has too many functionalities which makes it hard to set up unit tests for the hypatia code.
These changes goal is to split the ReadSets in multiple parts that can each be tested on their own.
The new structure
The main components used to replace ReadSets in the new code structure are:

ModelSettings -> This is used to represent the settings for a model scenario. It has 3 main functions
-   Validate that the model settings are coherent
-   Store all the information historically stored in the sets folder (and offers convenient shortcuts to access commonly needed transformation of the settings)
-   Compute based on the settings the shape of the user parameters required for the Model
ModelData -> This is used to validate and store the Model settings and the model user provided parameters. This is the structure storing all the Model information necessary in BuildModel to set up the cvxpy problem.
Excel.py -> This is a file containing utility functions to be able to read/write settings and parameters from excel files.

The commits
Create ModelSettingData class
Description
Creates ModelSetting class
Tests
I added unit tests for the ModelSetting. Run by:
python3 -m unittest hypatia/backend/tests/ModelSettingsTests.py

Add ModelData class
Description
Creates ModelData class
Tests
I added unit tests for the ModelData. Run by:
python3 -m unittest hypatia/backend/tests/ModelDataTests.py

Add new function to interact with excel files
Description
Creates the functions to interact with excel files. Then main functions are:

read_settings -> Given a path to a sets folder and an execution mode, it reads settings and creates a ModelSetting structure to store them
write_parameters_files -> Given ModelSetting and a path, it writes the default parameters of the Model to excel files
read_parameters -> Given ModelSetting and a path to a parameters folder, it reads the user provided parameters and creates a ModelData object.

Tests
I manually tested these functions and made sure that I was able to correctly read and write excel files.
For now I have not written automated tests for these function, but we can consider it in the future if it seems necessary.
Switch model building to use ModelData instead of ReadSets
Description
This switches all the code to use ModelData instead of ReadSets.
Tests
For now I limited myself to manually run hypatia (https://gist.github.com/AAmedeo/637b33c80b44935be7fe57f846bd5fa1) on the existing example models and made sure that the result stayed the same.
However, we are planning to add lots of new tests cases in the near future to verify the correctness of the optimization results returned by hypatia.
Move create_technology_columns to utilities
Description
Moved create_technology_columns function out of StrData.py since I am planning to remove that file in the following diff
Tests
I just run the existing unit tests
python3 -m unittest hypatia/utility/tests/utilityTest.py
python3 -m unittest hypatia/backend/tests/ModelSettingsTests.py

Fix plotting to use ModelData
Description
Make sure that the plotting library uses ModelData instead of ReadSets
Tests
I tried to create various plot and verified that the plot worked correctly.
For example running a script like https://gist.github.com/AAmedeo/0bf7814e8e00ff9cacda0aaef3825aee
For now I have not written automated tests for the plotting function, but I think we should look into restructuring and testing
the plotting functionality in the near future.
Remove StrData
Description
Remove unused code
Tests
The code is already unused so it shouldn't effect anything else.
I run all existing automated tests:
python3 -m unittest hypatia/utility/tests/utilityTest.py
python3 -m unittest hypatia/backend/tests/ModelSettingsTests.py
python3 -m unittest hypatia/backend/tests/ModelDataTests.py

Also I run did some manual tests to verify that the new restructured code behaves the same as before.
I did this by running this

Thank you for the review :)
I updated the code to use nlevels instead of __get_number_of_levels() based on your suggestion.
In order to make it work I had to fix some of the parameters definitions since they were setting the "columns" field  to List/Series which does not have nlevels. After this change all the "columns" and "index" fields should only be set to pd.Index or pd.MultiIndex.
I tested the change manually running: https://gist.github.com/AAmedeo/6ec78988cb206cf28a92dd0ad1b5f386


Issue with Tiling and Multiple Processors in Noah-MP 4.0.1 with Sprinkler Irrigation Scheme

Discussed in https://github.com/NASA-LIS/LISF/discussions/1603
Problem

Originally posted by smodanesi September 17, 2024
Hello LISF Community,
I am conducting experiments using Noah-MP version 4.0.1, coupled with the sprinkler irrigation scheme to obtain irrigation quantities over CONUS. Since I am running simulations at a spatial resolution of 0.25°, I wanted to activate the tiling option to obtain more accurate irrigation values. However, I encountered an issue when running irrigation with tiling across multiple processors.
I have attached two images that show maps of cumulative annual irrigation, mean annual soil moisture, cumulative annual evapotranspiration, and mean annual leaf area index, using both 8 and 36 processors. As you’ll notice, the 36-processor run presents an error where areas that should be irrigated are left with no irrigation (see the large squares with zero values in the file output_36_processors.jpg as compared with the output_8_processors.jpg). Please, note that this run was obtained using the lis.config option "decompose by processors: 'true'"; however similar issues can be found setting this option equal to "False" (just the big squares with zero values are located in another position).
I attempted to debug the code, checking potential issues such as the irrigation scale at the tiling level, but I haven’t been able to find the error. I also attach my ldt.config and lis.config files for your reference, in case there might be an issue with the tiling setup in the LDT input NetCDF (or in the lis.config file).
I would greatly appreciate any insights or suggestions you may have to help resolve this issue. If you need any additional information please just let me know.
Thank you very much for your assistance.
Best regards,
Sara
ldt.config_CONUS_tiling.txt
lis.config_CONUS_tiling.txt

Solution
This issue was linked to a uninitialized variable and was solved in a PR to our KUL-RSDA fork of the NASA-LISF: https://github.com/KUL-RSDA/LISF/pull/48
I will make a similar PR to the support/lisf-public-7.5.

@karsenau @jerlingi @KathyNie @hkato1
I looked through the irrigation codes for the other LSMs in LIS with irrigation available (Noah-3.3, CLSM-F2.5, Noah-MP-3.6, and RUC-3.7), and based on my review, I don't think this issue will affect the other LSMs.
I will note that the irrigation code in Noah-MP-3.6 LSM does use NOAHMP401_struc(n)%dt.  However, unlike Noah-MP-4.0.1, this value is actually defined and set in NoahMP36_readcrd.F90 as:
     NOAHMP36_struc(n)%dt = NOAHMP36_struc(n)%ts
Another note is that the timestep in Noah-3.3 irrigation is set to:
   timestep = LIS_rc%ts
instead of the LSM timestep.  @jerlingi - do you think this might be an issue?


Writing to a socket quickly on Windows causes a hang forever

Describe the bug
cant write to a socket quickly on Windows
this works completely fine on Unix
but causes a block forever on Windows
To Reproduce
Write to the socket
Write again, very quickly
Expected behavior
both writes succeed, and not stall forever
Reproducible example
[dependencies.interprocess]
version = "1.2.0"
features = ["tokio_support"]

[dependencies]
tokio = { version = "1", features = ["full"] }
uuid = { version = "1.4.1", features = ["v4"] }
futures = "0.3.28"
tempdir = "0.3.7"

shared_lib:
use std::{env, thread};
use std::ffi::OsStr;
use interprocess::local_socket::tokio::{LocalSocketListener, LocalSocketStream};
use std::io::{Result, Write, Error as IoError, ErrorKind as IoErrorKind};
use std::time::Duration;
use futures::AsyncWriteExt;
use futures::AsyncReadExt;
use tokio::io::AsyncReadExt as _;
use tokio::process::Child;

#[repr(transparent)]
pub struct IpcStream {
    stream: LocalSocketStream,
}

macro_rules! read_usize {
    ($stream: expr) => {{
        let mut buff = [0; std::mem::size_of::<usize>()];
        $stream.read_exact(&mut buff).await?;
        usize::from_ne_bytes(buff)
    }};
}
macro_rules! read_stream {
    ($stream: expr, $meth: ident, $r#type: ident) => {{
        let stream = $stream;
        let len = read_usize!(stream);
        let data = {
            let mut buf = $r#type::with_capacity(len);
            let mut stream = stream.take(len as u64);
            stream.$meth(&mut buf).await?;

            if buf.len() != len {
                return Err(IoError::new(
                    IoErrorKind::UnexpectedEof,
                    format!("expected {len} extra bytes found {} in stream", buf.len())
                ))
            }
            buf
        };

        Ok(data)
    }};
}

impl IpcStream {
    pub async fn connect_to_parent() -> Result<IpcStream> {
        fn write_to_stdout_immediate(buf: &OsStr) -> Result<()> {
            let buf = buf.to_string_lossy();
            let buf = buf.as_bytes();
            let mut stdout = std::io::stdout().lock();
            stdout.write_all(&usize::to_ne_bytes(buf.len()))?;
            stdout.write_all(buf)?;
            stdout.flush()
        }

        let pathname = {
            let mut temp_dir = env::temp_dir();
            temp_dir.push(format!("{}.sock", uuid::Uuid::new_v4()));
            temp_dir
        };
        write_to_stdout_immediate(pathname.as_os_str())?;

        match LocalSocketListener::bind(pathname) {
            Ok(listener) => match listener.accept().await {
                Ok(sock) => Ok(IpcStream { stream: sock }),
                Err(err) => Err(err)
            },
            Err(err) => Err(err)
        }
    }
    pub async fn connect_to_child<'a>(child: &mut Child) -> Result<IpcStream> {
        let name = {
            let child_stdout = {
                match child.stdout {
                    Some(ref mut out) => out,
                    None => return Err(IoError::new(
                        IoErrorKind::NotConnected, "No stdout")
                    ),
                }
            };
            let res: Result<String> = read_stream!(child_stdout, read_to_string, String);

            res?
        };

        Ok(IpcStream {
            stream: LocalSocketStream::connect(name).await?,
        })
    }

    #[inline(always)]
    pub async fn write_buf(&mut self, buf: &[u8]) -> Result<()> {
        self.stream.write_all(&usize::to_ne_bytes(buf.len())).await?;
        self.stream.write_all(buf).await
    }
    #[inline(always)]
    pub async fn write_str(&mut self, buf: &str) -> Result<()> {
        self.write_buf(buf.as_bytes()).await
    }

    pub async fn read_buff(&mut self) -> Result<Vec<u8>> {
        read_stream!(&mut self.stream, read_to_end, Vec)
    }
    pub async fn read_string(&mut self) -> Result<String> {
        read_stream!(&mut self.stream, read_to_string, String)
    }

    #[inline(always)]
    pub async fn close(mut self) -> Result<()> {
        self.stream.close().await
    }
}

impl Drop for IpcStream {
    fn drop(&mut self) {
        let _ = futures::executor::block_on(self.stream.close());
    }
}

Sender:
use shared_lib::IpcStream;

#[tokio::main]
async fn main() {
    let mut stream = IpcStream::connect_to_parent().await.unwrap();
    eprintln!("Connected to Parent");
    stream.write_str("hello world").await.unwrap();
    eprintln!("Wrote hello world to stream");
    stream.close().await.unwrap();
    eprintln!("Closed stream");
}

Receiver:
use std::process::Stdio;
use tokio::process::Command;
use shared_lib::IpcStream;

#[tokio::main]
async fn main() {
    let mut child = Command::new("./test-ipc.exe")
        .stdout(Stdio::piped())
        .stdin(Stdio::null())
        .stderr(Stdio::inherit())
        .spawn()
        .unwrap();

    let mut stream = IpcStream::connect_to_child(&mut child).await.unwrap();

    println!("{}", stream.read_string().await.unwrap());
}

I encountered a same problem.

@gaoqiangz @NightMare-Vortex
Could you create a simpler reproduction project, ideally one that

is just a .zip file or a GitHub repo
doesn't depend on tokio, uuid, etc.

With the current one, narrowing down the error cause is a lot harder than it could be.

I'm fairly sure this bug is actually fixed on main. Will look into whether this issue is still relevant or not after I release 2.0.0.

2.0.0 has been released. As a lot of Tokio-related bugs have been fixed since this issue was first reported, and because the test suite has been greatly expanded, I assume that this bug is no longer present.
Please reopen this issue and provide a minimal reproducible example if the bug persists.


fix(VTKInput): support for VTK appended encoded compressed format

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


Parser fails at Display Segments with reserved keyworks

The Display Segment don't follow the standard lexical rules, it allows tokens not used anywhere else, such @(https://github.com/icicle-emu/icicle-emu/issues/14) and allow reserved keywords, such call constructor in avr8
This makes inspossible to parse the AVR8 CPU familly:
Unable to parse ghidra/Ghidra/Processors/Atmel/data/languages/avr8xmega.slaspec because:
avr8.sinc:637:1 error: Error parsing: Sleigh

:call abs22dst                   is phase=1 & (ophi7=0x4a & op1to3=0x7) ... & abs22dst {
 ^^^^^^
avr8.sinc:637:1 Error parsing: Item
avr8.sinc:637:1 Error parsing: Constructor
avr8.sinc:637:2 Unexpected token: Call (expected [])

Reopening this since there are still issues related to # characters which will require some additional work.

I also had this problem and my solution was a little unconventional, I have basically two lexical parsers: normal/display.
The PreProcessor is a iterator like struct that produces token-normal and token-display, instead of reading the whole file creating a single token vector, we read/parse the file on the ast demand.
Buffering the tokens on the assertions level, like constructors parse-(normal/display) one token at the time until the is token is found, after that parse-normal  until } or unimpl, and then parse this created token vector using normal parsing techniques.
The PreProcessor parsing macros is separated from the regular lexer, it only uses the two lexers to produce tokens.
Something like this:
graph
subgraph AST builder
AST-->next_token_normal;
AST-->next_token_display;
subgraph PreProcessor and File Read
next_token_normal-->A{"@, $( or #"};
next_token_display-->B{"$("};
A-->|PROCESS|next_token_normal;
B-->|PROCESS|next_token_display;
A-->|NO|lexer_normal;
B-->|NO|lexer_display;
end
lexer_normal-->|token-normal|AST;
lexer_display-->|token-display|AST;
end

Yeah I ended up with something similar in: 9aebe35


⚠ gorzdrav.org has degraded performance

In b8ba766, gorzdrav.org (https://gorzdrav.org) experienced degraded performance:

HTTP code: 200
Response time: 2670 ms

Resolved: gorzdrav.org performance has improved in b5ec520.


Created skeleton for Settings page based on wireframe using Material UI components.

Description
Please include a summary of the change and a link to which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x] I've manually run the component in the browser (Google Chrome) and tested each field, switch, and button.

Checklist:

[x] My code follows the style guidelines of this project (maybe?)
[x] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

I would add a description of what you did to the PR so everyone has a high level summary of what you worked on.


fix: small-user-avatars causes misalignment

Closes #7509
Test URLs
https://github.com/refined-github/refined-github/issues
Screenshot
small-user-avatars disabled:

Before
After

small-user-avatars enabled:

Before
After

Thank you for the PR!


WIP: Improved travis times for pylint

Description:
Improved tox and travis test times for pylint by adding the jobs flag.

Duplicate of #10703

@OttoWinter I didn't catch that. Although the final results might be inconclusive it actually just ran 5min faster that the PR it checked right before.
Build #39970
Build #39971 --> This one

I don't think that we should enable it as long as https://github.com/PyCQA/pylint/issues/374 is still open.


add catches to serviceWorker.ready calls to work around an issue with FireFox options that can actually lead to rejecting the ready Promise

closes #45

Any plans for gettings this merged?


typo: redis/resource-manager/Microsoft.Cache

subid -> subscriptionId
properites -> properties
occured -> occurred
Trim trailing space

Automation for azure-sdk-for-js


Not emitting definition for INT8_MAX (from stdint)

I'm wrapping the AWS CRT packages and I have encountered some weird behavior. This C code:
// stdint.h is included indirectly through a number of headers which are also passed to Clang.jl
#define AWS_EVENT_STREAM_HEADER_NAME_LEN_MAX (INT8_MAX)

causes this wrapper to be generated:
const AWS_EVENT_STREAM_HEADER_NAME_LEN_MAX = INT8_MAX

There's no definition for INT8_MAX in the generated code. It would be great if Clang.jl could emit:
const AWS_EVENT_STREAM_HEADER_NAME_LEN_MAX = 127

or at least:
const INT8_MAX = 127
const AWS_EVENT_STREAM_HEADER_NAME_LEN_MAX = INT8_MAX

Is Clang.jl expected to fail in this case, or did I misconfigure something?
Clang.jl v0.17.6
Julia v1.9.3

Yes. It's technically impossible to do this because macro expanding is handled by the preprocessor, before the AST is created, and we can only extract info from the AST. The identifier INT8_MAX could be anything, it's legal to undef it and define it again. So, unless we implement a full-featured C preprocessor in Julia, it's hard to do it without any mistakes.
However, the best practice is much simpler. We can add const INT8_MAX = typemax(Int8) to the prologue file and do it once for all.
I know the ultimate solution is something like Rust's https://github.com/rust-lang/libc. But in practice, as Julia is niche at the moment, we really don't have that manpower. ;)

Fair enough


Show boot-node PeerID != PeerID warning on that node

Is there an existing issue?

[X] I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

[X] This is not a support question.

Description of bug
[Parachain] 💔 The bootnode you want to connect provided a different peer ID than the one you expect: `12D3KooWNRR7q6TiFJ9zooSQGxL7xtRtikAMijG3VVrN44bNRtCj` with `12D3KooWNRR7q6TiFJ9zooSQGxL7xtRtikAMijG3VVrN44bNRtCj`:`Dialer { address: "/dns4/khala-node-asia-1.phala.network/tcp/30333/ws/p2p/12D3KooWNRR7q6TiFJ9zooSQGxL7xtRtikAMijG3VVrN44bNRtCj", role_override: Dialer }`.

[Parachain] 💔 The bootnode you want to connect provided a different peer ID than the one you expect: `12D3KooWLi5WqKWv3WwKRbW4s7owvKJoMuJ9sCntBpwDzi32vWHd` with `12D3KooWLi5WqKWv3WwKRbW4s7owvKJoMuJ9sCntBpwDzi32vWHd`:`Dialer { address: "/dns4/khala-node-asia-2.phala.network/tcp/30333/ws/p2p/12D3KooWLi5WqKWv3WwKRbW4s7owvKJoMuJ9sCntBpwDzi32vWHd", role_override: Dialer }`.

Steps to reproduce
1 Add a node to boot-node in chainspec
2 Restart the node with the new chainspec

faced the same error log ~ X != X
[Parachain] 💔 The bootnode you want to connect provided a different peer ID than the one you expect: `12D3KooWS2h3rxqEC9bzrFNKVgrT1iaGz2UAWA1jVG1EB6dEoeJm` with `12D3KooWS2h3rxqEC9bzrFNKVgrT1iaGz2UAWA1jVG1EB6dEoeJm`:`Dialer { address: "/dns4/bootnode.kilt.io/tcp/30365/p2p/12D3KooWS2h3rxqEC9bzrFNKVgrT1iaGz2UAWA1jVG1EB6dEoeJm", role_override: Dialer }`.

I saw this happening if you add node to bootnode of itself.
There is a potential to handle it more gracefully of course.


refactor: refactored the code to fit the new API

Description
Include description of feature this PR introduces or a bug that it fixes. Include the following information:
Refactored the code to fit the new API convention.
Please verify that you have completed the following steps

[X] I have self-reviewed my code.
[X] I have included test cases validating introduced feature/fix.

There are two changes that I think we should introduce:

restore logic regarding noise from _prepare_measurable_cirq_circuit. We moved part adding identity layer at the end of the circuit, but we don't take into account the noise model stored as an attribute of the simulator. Probably the following need to be added to get_native_wavefunction:

    if noise_model is not None:
        cirq_circuit = cirq_circuit.with_noise(self.noise_model)

I think we should keep the old behaviour of running circuits via Cirq instead of relying on run_and_measure implementation in BaseWavefunctionSimulator. The native Cirq way is probably more efficient. If we decide to keep this old logic, we should probably not inherit from BaseWavefunctionSimulator, but either inherit from BaseCircuitRunner and implement wavefunction related methods separately, or don't inherit any base class at all and just write methods adhering to the WavefunctionSimulator protocol.

Codecov Report
Base: 95.29% // Head: 95.63% // Increases project coverage by +0.34% :tada:

Coverage data is based on head (637d1c3) compared to base (9d7cf9b).
Patch coverage: 94.11% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #37      +/-   ##
==========================================
+ Coverage   95.29%   95.63%   +0.34%
==========================================
  Files           8        8
  Lines         340      321      -19
==========================================
- Hits          324      307      -17
+ Misses         16       14       -2

Impacted Files
Coverage Δ

...tra/integrations/cirq/simulator/_qsim_simulator.py
86.66% <ø> (ø)

src/orquestra/integrations/cirq/simulator/_base.py
94.28% <93.33%> (+3.17%)
:arrow_up:

...ations/cirq/conversions/_cirq_pauli_conversions.py
100.00% <100.00%> (ø)

...tra/integrations/cirq/simulator/_cirq_simulator.py
100.00% <100.00%> (ø)

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.


Support for console logs of variables in sandbox

Example

Output

I've pushed some commits, can you check if this gives an expected output?


When switching to an unsupported language variable inspector should be cleared

When we switch to an unsupported language, the context should change, and variable inspect should show nothing. Possible solutions:
Approach 1
In inspectorscripts.ts:
    public static getScript( lang: string ): Promise<Languages.LanguageModel> {
        return new Promise( function( resolve, reject ) {
            if ( lang in Languages.scripts ) {
                resolve( Languages.scripts[lang] );
            } else {
                reject( "Language " + lang + " not supported yet!" );
            }
        } );
    }

Should always resolve, even if language is not supported. When going to an unsupported language, it should default to no data
Why we shouldn't do this
We may want things to fail in the way they're suppose to fail...
Approach 2
In handler.ts
This should probably be handled in _initOnKernel() in reply.
Why we shouldn't do this
???

Clearing the data sounds good to me. If we implement #26 we could use this title element to indicate that something failed.

Do we want a separate handler for just the title?
The quickest "hack" is for inspector to always resolve even if the language isn't supported and populate an empty variable table
With adding other information and context it should be clear language doesn't work (I hope)


Cannot find module '@t00nday/nestjs-pdf' or its corresponding type declarations.

Hi,
@t00nday/nestjs-pdf is not recognising in the nest-js library.
below given is the error . any idea on this ?
src/config/pdf/Pdf.service.ts:1:28 - error TS2307: Cannot find module '@t00nday/nestjs-pdf' or its corresponding type declarations.
import { PDFService } from '@t00nday/nestjs-pdf';

Hi @UjjualUSspericorn , have you been able to solve this?

@UjjualUSspericorn  How did you solve this issue ?


Full-scale range seems a bit lopsided

All axes don't seem to be able to quite achieve +/- 1g full-range when measuring gravity, after calibration/bias offsets. Check scaling factors used, calibration code, and try setting offsets manually.

Adding digits to the scaling factors (_ares) just to test accuracy doesn't seem to help, so scaling factors are probably OK.

This is mostly achievable when setting offsets manually. Either the calibration routine could be improved, or this could be chalked up to a limitation in sensor resolution.

marking this closed - revisiting this, it doesn't seem to make a difference whether offsets are set manually or by using CalibrateAccel().


Run task cancelation doesn't seem to work in the shell

fork := false
Within the shell, invoking run, waiting a moment for the main to get rolling, and then hitting ctrl-c appears to not work at all. It used to Thread#interrupt, but no longer. To be clear, the main in question is sitting on a CountDownLatch#await(), and I've wrapped a try/catch around it to ensure I handle anything. What actually ends up happening is the following exception is printed to stderr (but not raised within my try/catch!):
java.util.concurrent.RejectedExecutionException
	at sbt.ConcurrentRestrictions$$anon$4.submit(ConcurrentRestrictions.scala:242)
	at sbt.Execute.submit(Execute.scala:282)
	at sbt.Execute.ready(Execute.scala:262)
	at sbt.Execute.notifyDone(Execute.scala:201)
	at sbt.Execute.$anonfun$retire$2(Execute.scala:172)
	at sbt.Execute.$anonfun$retire$2$adapted(Execute.scala:171)
	at scala.collection.immutable.List.foreach(List.scala:431)
	at sbt.Execute.retire(Execute.scala:171)
	at sbt.Execute.$anonfun$work$2(Execute.scala:299)
	at sbt.Execute$$anon$1.process(Execute.scala:27)
	at sbt.Execute.next$1(Execute.scala:117)
	at sbt.Execute.processAll(Execute.scala:127)
	at sbt.Execute.runKeep(Execute.scala:95)
	at sbt.EvaluateTask$.liftedTree1$1(EvaluateTask.scala:476)
	at sbt.EvaluateTask$.run$1(EvaluateTask.scala:475)
	at sbt.EvaluateTask$.runTask(EvaluateTask.scala:498)
	at sbt.internal.Aggregation$.$anonfun$timedRun$4(Aggregation.scala:101)
	at sbt.EvaluateTask$.withStreams(EvaluateTask.scala:388)
	at sbt.internal.Aggregation$.timedRun(Aggregation.scala:99)
	at sbt.internal.Aggregation$.runTasks(Aggregation.scala:113)
	at sbt.internal.Aggregation$.$anonfun$applyDynamicTasks$4(Aggregation.scala:181)
	at sbt.Command$.$anonfun$applyEffect$2(Command.scala:145)
	at sbt.internal.Act$.$anonfun$actParser0$4(Act.scala:436)
	at sbt.Command$.process(Command.scala:189)
	at sbt.MainLoop$.$anonfun$processCommand$5(MainLoop.scala:245)
	at scala.Option.getOrElse(Option.scala:189)
	at sbt.MainLoop$.process$1(MainLoop.scala:245)
	at sbt.MainLoop$.processCommand(MainLoop.scala:269)
	at sbt.MainLoop$.$anonfun$next$5(MainLoop.scala:162)
	at sbt.State$StateOpsImpl$.runCmd$1(State.scala:289)
	at sbt.State$StateOpsImpl$.process$extension(State.scala:325)
	at sbt.MainLoop$.$anonfun$next$4(MainLoop.scala:162)
	at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:23)
	at sbt.MainLoop$.next(MainLoop.scala:162)
	at sbt.MainLoop$.run(MainLoop.scala:143)
	at sbt.MainLoop$.$anonfun$runWithNewLog$1(MainLoop.scala:118)
	at sbt.io.Using.apply(Using.scala:27)
	at sbt.MainLoop$.runWithNewLog(MainLoop.scala:111)
	at sbt.MainLoop$.runAndClearLast(MainLoop.scala:65)
	at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:50)
	at sbt.MainLoop$.runLogged(MainLoop.scala:41)
	at sbt.StandardMain$.runManaged(Main.scala:188)
	at sbt.xMain$.$anonfun$run$6(Main.scala:100)
	at scala.util.DynamicVariable.withValue(DynamicVariable.scala:62)
	at scala.Console$.withIn(Console.scala:230)
	at sbt.internal.util.Terminal$.withIn(Terminal.scala:553)
	at sbt.internal.util.Terminal$.$anonfun$withStreams$1(Terminal.scala:343)
	at scala.util.DynamicVariable.withValue(DynamicVariable.scala:62)
	at scala.Console$.withOut(Console.scala:167)
	at sbt.internal.util.Terminal$.$anonfun$withOut$2(Terminal.scala:543)
	at scala.util.DynamicVariable.withValue(DynamicVariable.scala:62)
	at scala.Console$.withErr(Console.scala:196)
	at sbt.internal.util.Terminal$.withOut(Terminal.scala:543)
	at sbt.internal.util.Terminal$.withStreams(Terminal.scala:343)
	at sbt.xMain$.run(Main.scala:83)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at sbt.internal.XMainConfiguration.run(XMainConfiguration.scala:83)
	at sbt.xMain.run(Main.scala:46)
	at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:111)
	at xsbt.boot.Launch$.withContextLoader(Launch.scala:131)
	at xsbt.boot.Launch$.run(Launch.scala:111)
	at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:37)
	at xsbt.boot.Launch$.launch(Launch.scala:120)
	at xsbt.boot.Launch$.apply(Launch.scala:20)
	at xsbt.boot.Boot$.runImpl(Boot.scala:56)
	at xsbt.boot.Boot$.main(Boot.scala:18)
	at xsbt.boot.Boot.main(Boot.scala)

Sbt then returns to the shell and acts as if the process has been canceled, but if you do a thread dump, you'll see the main still stuck in await(). This also happens with fork := true, incidentally.
As far as I can tell, this appears to be sbt itself hitting a failure condition within the scheduling of the interrupts within Execute. Since the task is already canceled, subsequent executions hit the rejection exception shown above, including the step which would have interrupted the constituent threads from the main.

Duplicate of #6192

Duplicate of #6192

As @armanbilge pointed out, I was in err to close this as a duplicate. Reopening. This issue still manifests.

Related issue: https://github.com/sbt/sbt/issues/6346

Reproduction in https://github.com/typelevel/cats-effect/issues/2251#issuecomment-1536987989
Still reproducible in sbt 1.10.5

Commits that might be of interest
https://github.com/sbt/sbt/commit/9003ed4fac471f872dc9670e7c7d087020c33761
https://github.com/sbt/sbt/commit/b6f2fe7654e40df76b144888182c0b3a9b0ff981

Crosspost from https://discord.com/channels/632277896739946517/632277897448652844/1310893527252860948

I managed to somewhat isolated the problem and identified a workaround. Here's the commit that caused the regression:
https://github.com/sbt/sbt/commit/b6f2fe7654e40df76b144888182c0b3a9b0ff981#diff-6d9589bfb3f1247d2eace99bab7e928590337680d1aebd087d9da286586fba77R507
So basically before that commit, sbt run calls runTask, which does not have the thread cleanup issue. After that commit, sbt run invokes foregroundRunTask, which has the cleanup issue.
The workaround, for now, is to use fgRun instead of run. fgRun calls runTask under the hood hence cleans up all threads properly.
I was looking into the drawback of fgRun and it seems that the only drawback is that fgRun blocks (uses sbt main thread to run the application), while foregroundRunTask places the run as a non-blocking background job.


Add BFF dev mode for local K8s testing

Description
This PR allows developers to run a local MR cluster in kind and port forward their service to work with the BFF running locally.

How Has This Been Tested?
Follow the dev guide all the way to step 4.
Port forward with:
kubectl port-forward svc/model-registry-service 8081:8080 -n kubeflow

Run the BFF with:
make run DEV_MODE=true DEV_MODE_PORT=8081

and the UI in a separate terminal.
You should see an empty MR that you can interact with (make models, versions, archive, restore, etc)

Merge criteria:

All the commits have been signed-off  (To pass the DCO check)

[x] The commits have meaningful messages; the author will squash them after approval or in case of manual merges will ask to merge with squash.
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has manually tested the changes and verified that the changes work.
[x] Code changes follow the kubeflow contribution guidelines.

If you have UI changes

[ ] The developer has added tests or explained why testing cannot be added.
[ ] Included any necessary screenshots or gifs if it was a UI change.
[ ] Verify that UI/UX changes conform the UX guidelines for Kubeflow.

/lgtm


Add 3,204,715 recipes

Working on optimizations, the site becomes too slow if I were to merge this haha

Those optimizations sure are taking a while. I'm getting close to losing interest in infinite craft entirely, so maybe we need a new plan of attack. Instead of adding all of these recipes right away, I limit it to a max of 1 new recipe per element. That way, there will be a path to every element and it (hopefully) won't be too many recipes. Then I can move on to removing the censored items, as well as fixing the recipes errors I forgot about. Then, one last PR with all of the recipes, and it can sit for as long as those optimizations need.
What do you think?

Sorry, I've been quite busy with work the past couple weeks. I do want to get these recipes in though. I'm going to go ahead and merge this in and suffer through the slowdowns


Installation of Manim failed

If this is a support request:
OSX high Sierra
Macbook Pro 2011
I followed strictly ALL steps of the tutorial
At the very end of the installation I get the following error:
ERROR: Could not find a version that satisfies the requirement opencv-python==<IP_ADDRESS> (from -r requirements.txt (line 8)) (from versions: <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>)
ERROR: No matching distribution found for opencv-python==<IP_ADDRESS> (from -r requirements.txt (line 8))
It might be that my  hardware is too old???
I noticed that there are requirement sheet less demanding in these cases ;-)
Many thanks
Martin

In summary, yes, your account is too old, I recommend you install Pyenv to have multiple versions of python, install 3.7.3 and then using that version install the requirements of this version.

Thanks
just one question (since I am not advanced in these things)
I had installed the environment as requested by the turorial.
And I had python 3.7.3
since the requirement sheet has allready been installed, I only changed it directly: correct?)
is that all or do I have to do the installation all over again?
Is there a way to check whether now everything is fine?

sorry, I have 3.8.2
looks like I am getting there :-)
thanks

One (hopefully last question)
have downloaded pyhton 3.7 and put 3,8 in the trash
have re and overinstalled averything
however: 3.8 will be installed again in the manim virtualenv
how to avoid that?

I give up.
Erased everything 3 times,
installed everything from scratch according to the tutorial (which is great)
changed the requirement sheet to the above provided data
still get the same error
Collecting tqdm==4.24.0
Using cached tqdm-4.24.0-py2.py3-none-any.whl (43 kB)
ERROR: Could not find a version that satisfies the requirement opencv-python==<IP_ADDRESS> (from -r /Volumes/Daten/Manim/manim/requirements.txt (line 8)) (from versions: <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>)
ERROR: No matching distribution found for opencv-python==<IP_ADDRESS> (from -r /Volumes/Daten/Manim/manim/requirements.txt (line 8))
(venv) Martins_Mac:Manim Martin$
Can it be, that in the new requirements.txt  the version of  opencv-python==<IP_ADDRESS> needs to be changed?

ok, found out, that I had no opencv installed at all
so am cleaning that up ;-)
Thanks for all


[FEATURE]-Show version information in Program File Name

Is your feature request related to a problem? Please describe.
It would be nice if the Program Name had the Essentials version number in it so it could be audited for compliance with PepperDash UDM
Describe the solution you'd like
The Program Name or File to have the version number included

Any reason why UDM can't use the existing console command reportverison to determine the version number?  The base version number is also already reported by progcomments but we can't report the build type or number there.

@jgutenplan for adding that functionality into UDM.  I'm not sure how it would work exactly... it might have to be its own compliance field

Upon discussion we think the issue is that UDM is not displaying the Essentials versions info (reportverisons) appropriately. The info is already provided by essentials. SO it really ends up being a lambda change.
Does this make sense @ngenovese11 @jgutenplan


stable diffusion with dynamic width, height

Feature request
If optimum-neuron can run with dynamic width, height in stable diffusion, there will be no reason to use NVIDIA GPU I think..
But I know it is hard job(or impossible job) to do. I want to read and modify code to achieve this.
Is there any hint or is there any possibility to use stable diffusion with dynamic pixel ratio, or just array of fixed pixel ratio?
I'm very looking forward this..
Motivation
Again, If this is possible, there is no reason to use stable diffusion in normal GPU.
Your contribution
I can make an test code, and I'd love to contribute if dynamic pixel ratio compilation is possible.

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Thank you!

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Thank you!

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Thank you!


Idea listing page implimentation

Functionality added:

Listing all ideas for a hackathon
Fetches data from DB
UI Implementation for above

Libraries added addition to present

@apollo/client
react-virtualized

Limitations

Currently query is written for supporting only nhost hackathon. It should be generalized to adopt for all.

Screenshot of implementation:

https://deploy-preview-25--activities-reactplay.netlify.app

How do I test it? What's the URL?

/ideas  as the page name is ideas

@shrilakshmishastry here is the design for the ideas page. I can provide all the artifacts as separate PNG files.


SEMANTIC containing a dot character not working

Grok patters should be %{SYNTAX:SEMANTIC}
When the SEMANTIC value contains a dot, no outputs are parsed as is expected.
NO DOT:

HAS DOT:

I've seen the same issue too, tried coming up with workarounds, but so far just ended up replacing dots with underscores. This works but is far from ideal.

I also experience this and would highly appreciate a implementation of this


Syndication: YouTube

manual syndication of videos (movies)
maybe auto generate the video description blob to copy/paste into YouTube
include canonical url in video description

We publish videos so infrequently, this isn't worth it right now.


build: change depending wasmd to v0.1.4-dynamiclink1

Description
build: change depending wasmd to v0.1.4-dynamiclink1
Checklist:

[x] I followed the contributing guidelines and code of conduct.
[x] I have added a relevant changelog to CHANGELOG.md
[ ] I have added tests to cover my changes.
[ ] I have updated the documentation accordingly. (not needed)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

I approved it, but some tests are failing, please fix them.


Auto update typescript with Renovate

Testing

There is none, tbh. I would say if you have any doubts that our CI will catch all problems arising from this auto update please raise them.
Trade-offs

I did the manual update and decided against simply pushing it and instead use renovate. It's going to be two PRs, but in return we stay on the latest possible version.

Dependencies

Screenshots

CI should catch all possible breaking changes, right?

We currently use 2.9.2 and the latest version is 3.2.2, we might have some breaking changes: https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes .

Yes, CI should catch them. I checked the update and it worked fine 👍

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


Make api load balancer type configurable in openstack.

Context
Currently the load balancer for openstack  it is single_lb_tiny. This can create issues because it is not highly available. ha_lb_tiny is the better choice.
We will also make this configurable to make further changes of the LB more easy.
Tasks

[ ] make api load balancer configurable in cluster-openstack
[ ] set `ha_lb_tiny as default
https://gigantic.slack.com/archives/C025SV21RP1/p1655470617560139

Feedback from Refinement:

it is not implemented in CAPO
we don't have the permission to list the available flavors
Can we set a default flavor on openstack?

assumption: Loadbalancer type is set via flavor - openstack documentation

we're not able to list different provided loadbalancer flavors
per default no flavor_id is specified in a loadbalancer create call (neither via openstack loadbalancer create or in CAPO)
creating a loadbalancer via CLI by setting a flavor - with the current permissions we have - works fine:openstack loadbalancer create --name standalone-lb --flavor ha_lb_tiny --description "hb_lb_tiny-test" --enable --vip-subnet-id 10d89517-zzzz-yyyy-xxxx-c2cdea6c7a9d

Upstream Issue kubernetes-sigs/cluster-api-provider-openstack#1278 for tracking purpose got created

For customer workload it's already supported to define the loadbalancer flavor by setting the annotation loadbalancer.openstack.org/flavor-id (xref: https://github.com/kubernetes/cloud-provider-openstack/blob/master/pkg/openstack/loadbalancer.go#L1713-L1715)

@bavarianbidi what is the state of this issue? what do we expect from this upstream issue?

@gawertm upstream issue got created to make the issue/feature request transparent to CAPO community. This helps to track the feature request on CAPO side and also makes it easy to reference other open feature requests which might be impacted by this issue(a possible implementation).
As we've got a few thumbs up, it's fine to start with the implementation and contribute to upstream.

@bavarianbidi yeah, I think I formulated my question wrong^^ ofc its clear why we created upstream issue, question was more, what will happen now or what are we waiting for.
But as you said we can start with the contribution. should I put it back to the backlog then?

But as you said we can start with the contribution. should I put it back to the backlog then?

as the requirements are clear, it should be fine to start with the implementation. (so yes, moving back to backlog is fine - IMO)


Remove query and fragment from image's extension (Issue #433)

Not setting extension of image correctly seems to result in data corruption in file.
As far as the issue goes, leaving fragment in URL seems file (at least in LibreOffice), but the change will remove it as well just in case.

Thanks @katsuya-horiuchi !
ありがとう

Glad to be of help. However, I found another issue, so I'll file an issue after further investigation.
And nice use of Japanese :)

Sure, just open the examples/pptxgenjs-demo.html file in your browser.
You can test any/all features. :-)


Add New Features to predictive-calc

Hi, I want to work on this issue as part of GirlScript Summer of Code (GSSoC). Could you please assign it to me? @yashasvini121

once review my work . I have made changes on model.py and predict.py

Hi @yashasvini121, I'd like to add a House Price Prediction model. The model will allow users to input house features (square footage, location, number of bedrooms, etc.) and receive a predicted price using a regression model. I'll integrate it with the existing JSON configuration system, making it easy for users to add custom data for predictions. Could you please assign this to me?

It's already implemented in the projects

@yashasvini121 Could you please specify what advancements you would like to make in the predictive-calc?


Multiple Versions of jQuery

Contributors,
My version of Timber is loaded 3 different versions of jQuery.  Is this needed?  I am trying to optimize the javascript delivery of my site and wondering if I can just use the latest version of jQuery instead of having multiple versions.  Is some of the javascript dependent on older versions of jQuery or can I safely remove?

Can't say this is related to Timber (it only has one version included) so am going to close the comment.
That said, you shouldn't need or want three versions. I can't speak to the differences between the versions specifically but you should investigate why they're included — is an app including its own version, is it included in the theme code multiple times, etc — and ideally stick to one.


Typo in code samples

"represengting" appears on this page, and in other samples. Sorry - not set up to fix this myself right now!
https://github.com/dotnet/samples/search?utf8=✓&q=represengting+&type=

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

ID: 71953a61-1074-48ff-7afd-9135975b28f2
Version Independent ID: 2ba91f2f-bf41-7f7b-b0b3-64c4c0c932d9
Content: DateTime.TryParseExact Method (System)
Content Source: xml/System/DateTime.xml
Service: unspecified
Product: .net
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

Thanks for the feedback @ChrisMaddock. I've opened a PR to fix this: https://github.com/dotnet/samples/pull/94


[Spike] Limits and quotas (accounts, environments and APIs)

User Story
As a Modernisation Platform Engineer
I want to identify limits and quotas relate to account provisioning
So that I can identify and address any potential limits to the size of the platform
Value / Purpose
As the platform continues to grow we need to understand if there are any limits to the size of our AWS estate.

Are there any hard limits on the account creation process?
Is there a maximum number of environments we can have?
Are there any limits/quotas on APIs (eg, SSO?)?
Is there a limit to the number of accounts that can be part of the MOJ AWS Organization?
Pipeline failures related to quota limits; what are these?

Is there anything else we need to consider?
What about non-AWS APIs that we make use of such as PagerDuty and GitHub?
Understanding these limits now will give us chance to address them before hitting them - or, at worst, knowing we have reached a limit
Useful Contacts
No response
Additional Information

https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html
https://docs.aws.amazon.com/ram/latest/userguide/service-quotas.html
https://docs.aws.amazon.com/singlesignon/latest/userguide/limits.html
https://docs.aws.amazon.com/vpc/latest/tgw/transit-gateway-quotas.html

Proposal / Unknowns
We're not sure on the scope here; picking up this ticket we don't expect to comprehensively cover everything we do or might use, but we'll cast a wide net.
Definition of Done

[ ] Appropriately timebox spike (3 days)
[ ] Document any limits and quotas
[ ] Consider, and document, potential resolutions or workarounds (perhaps in a user runbook)
[ ] Review with team
[ ] Raise tickets where we think we should change our approach to avoid hitting quotas

To answer "Is there a limit to the number of accounts that can be part of the MOJ AWS Organization?"
https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html
I imagine the number of accounts doesn't have a hard limit as you can request an increase.
The number of OUs looks to be 1000. I think we create an OU per application and MP is just part of the larger org so I'm not sure if another team is monitoring that overall to assess the impact?

Please see final draft of document and I have also shared it with the team for their review.

Please see final draft of document and I have shared it with the team for their review.


How to upload the image on click canvas area instead of speared upload button

How to upload the image on click canvas area instead of speared upload button,

do you still need help?

yes, @web-dave

how do you trigger the input dialog?
<input *ngIf="!settings.noFileInput" #fileInput type="file" accept="image/*" (change)="fileChangeListener($event)">

and in the onMouseDown
@ViewChild("fileInput") fileInput: ElementRef;

  public onMouseDown(event: MouseEvent): void {
    this.cropper.onMouseDown(event);
    if (!this.cropper.isImageSet() && !this.settings.noFileInput) {
      // load img
      this.fileInput.nativeElement.click();
    }
  }

That's one way. but I'll test it tonight.


Remove geo pattern :(

:-(

Coverage remained the same at 100.0% when pulling f08bc36467d43fa4894dcf6b18a547132a85697f on 564_bye_banner_sad into 4a91b91497e7bd01cc4c31a1b62e936105941dd8 on dev.

Coverage remained the same at 100.0% when pulling f08bc36467d43fa4894dcf6b18a547132a85697f on 564_bye_banner_sad into 4a91b91497e7bd01cc4c31a1b62e936105941dd8 on dev.

Coverage remained the same at 100.0% when pulling 18cd82bbbfb7586bf1dd1c730e809f65e52fe375 on 564_bye_banner_sad into e8b0a534ec2a7caca5443a3115273f8aa184f69a on dev.


Use pandas 2.0.0 and date_format argument of pandas.read_csv()

Related issues
#1413
What was changed
We use Pandas version >= 2.0.0 and date_format argument.

https://github.com/lisphilar/covid19-sir/actions/runs/4707422811/jobs/8349270255 shows an error, but this is not related to the issue. This pull request will be merged and the new error will be discussed with a new issue.

The new issue for the error is #1415


[DO NOT MERGE]: Polyglot example for tools

NOTE: This PR is for discussion; please do not merge until we compare with other option (TODO).
As discussed on Open Source Day today, we're not happy with the current pages that provide  information for different programming language domains, for example: https://docs.cucumber.io/tools/
This PR provides an example of how we could deal with this, using the polyglot option. Another option would be to have a kind of landing page for tools, with links to language-specific pages for Java tools / JavaScript tools / Ruby tools.
Each option has upsides (+) and downsides (-).
Background info:

TOC (left menu) is generated based on headers
Headers inside language blocks do not end up in TOC
=> Build will fail if there are headers inside a language block

1. Polyglot:
+ Uses language tabs, so when navigating from other pages, the user will automatically end up on tab for selected language
+ No more irrelevant info (i.e. belonging to other language)
- Cannot use headers within language blocks; therefore titles inside language blocks will not end up in the TOC on the left (e.g. Maven, Rake)
- As these language specific titles are no longer headers, we can no longer link directly to them.
Preview link: https://deploy-preview-150--cucumber.netlify.com/tools/
2. Language specific pages (TODO: I'll create a separate PR, so we can compare the two)
+ Can contain language specific headers in TOC
+ Can link directly to language specific tools (e.g. Maven, Rake)
+ No more irrelevant info (i.e. belonging to other language) / "have exactly the right content for the given platform" - @mattwynne
- "end up on a left-nav for that [] tools page, but with no context around it to say where I just came from, or how to get back there. So I feel a bit lost." - @mattwynne
- User will have to specifically click a link to go to language specific page with desired info.
Atm I'm not sure what would be easier to maintain...

Closing this PR as #151 is more in line with what we discussed and what @aslakhellesoy is doing for instance in the Installation page.


unexpected sizes for headers image in the list display

Only the headers with image width and height are applied.

you can see here even when the width should be fixed they are not displayed correctly the size change based on the image:

What is wrong here?

as you can see in the code the height and the width should be fixed values with 50 but in the below image it doesn't keep it consistent so I got different heights based on the default image height.

What is wrong here?

could you check why the height constraint isn't applied?

it's fine that this is not a plan but can you explain to me how I can use height correctly, whatever number I put in the height, it doesn't work so am I doing something wrong or it has no use?


Define all stacks for buildpack

Summary
Apache TomEE was added to Java buildpack in https://github.com/paketo-buildpacks/java/pull/574, but some stack definitions in buildpack.toml are missing. Now build of Java project ends with message
ERROR: failed to build: validating stack mixins: buildpack<EMAIL_ADDRESS>does not support stack io.buildpacks.stacks.bionic

Use Cases
Checklist

[x] I have viewed, signed, and submitted the Contributor License Agreement.
[ ] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[x] I have added an integration test, if necessary.
[x] I have reviewed the styleguide for guidance on my code quality.
[x] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

The buildpack has the wildcard stack set, which should match any stack.
[[stacks]]
  id = "*"

How are you building your app? Are you using pack cli? or building with Maven/Gradle in a Spring Boot project? or something else? Whatever tool you're using, please also include the version. I'll try to reproduce and see what's happening here.
Thanks

@dmikusa-pivotal
Thanks for quick response!

The buildpack has the wildcard stack set, which should match any stack.

But buildpacks for Apache Tomcat and OpenLiberty explicitly define all stacks.

How are you building your app? Are you using pack cli?

Yes, we build apps with pack build ..., version 0.15.1.

@dmikusa-pivotal
Thanks for quick response!

The buildpack has the wildcard stack set, which should match any stack.

But buildpacks for Apache Tomcat and OpenLiberty explicitly define all stacks.

This is more for historical reasons than anything. We just haven't gone through to remove them.

How are you building your app? Are you using pack cli?

Yes, we build apps with pack build ..., version 0.15.1.

Can you try upgrading pack? That version is pretty old and probably does not have wildcard support.
The latest version is:
> pack --version
0.24.1+git-3c7aff3.build-3213

@dmikusa-pivotal

Can you try upgrading pack?

In some our build pipelines we use version 0.23.0. Switch to that version and build completed successfully. Thank you for your point!
But for reason of backward compatibility this PR still may be useful.


Improve (-webkit-)?image-set minification

https://developer.mozilla.org/en-US/docs/Web/CSS/image-set
Sample:
@media (max-width: 1200px) {
    .logo {
        background-image: url("/images/logo.jpg");
        background-image: -webkit-image-set(
<EMAIL_ADDRESS>1x,
<EMAIL_ADDRESS>2x
        );
        background-image: image-set(
<EMAIL_ADDRESS>1x,
<EMAIL_ADDRESS>2x
        );
    }
}

Currently results in:
@media (max-width:1200px){.logo{background-image:url(/images/logo.jpg);background-image:-webkit-image-set(
<EMAIL_ADDRESS>1x,
<EMAIL_ADDRESS>2x
        );background-image:image-set(
<EMAIL_ADDRESS>1x,
<EMAIL_ADDRESS>2x
        )}}

Quotes could be removed, newlines/whitespace can be reduced too.

FYI, since this should soon be available unprefixed in all browsers, I think it will start to see much wider use. I am certainly warming up to using it for all images, and would love to have it minified properly :)
See caniuse for details: https://caniuse.com/css-image-set

Won't fix as clean-css is going into maintenance mode.


Improvement: Update documentation

Hello, first of all, great plugin thanks.
Im creating this issue to maybe help some people.
Be sure to have the field "relation" set to empty even if you have any relation in the tables you want to export. Not having it results into 500 internal errors.
In my case a simple export of a newsletter table:
module.exports = {     config: {       "api::newsletter.newsletter": {         columns: [           "email",         ],         locale: "false",         relation: {}       },     },   };
Maybe write it in the documentation ? I'm pretty sure it's confusing.

Hello, first of all, great plugin thanks. Im creating this issue to maybe help some people. Be sure to have the field "relation" set to empty even if you have any relation in the tables you want to export. Not having it results into 500 internal errors.
In my case a simple export of a newsletter table:
module.exports = { config: { "api::newsletter.newsletter": { columns: [ "email", ], locale: "false", relation: {} }, }, };
Maybe write it in the documentation ? I'm pretty sure it's confusing.

This helped me, thanks.

updated


CORS problem

It seems CORS problem appears when /graphql/ request is made.
I'm running ReactApp with TON-CLIENT-WEB-JS library to perform call to Node SE running on http://<IP_ADDRESS> ReactApp is running on http://<IP_ADDRESS>:3000.
Requests like: ton.queries.blocks.query(...) work well, but
ton.contracts.deploy(...) reports CORS problem.

I think your question related to web-js client not to CLI tool.
https://github.com/tonlabs/ton-client-web-js
I have reposted you issue https://github.com/tonlabs/ton-client-web-js/issues/2


DBZ-8114 Implementing VariableScaleDecimal and improving tests (backport)

Back port of #61, depends on debezium/debezium#5775

@nrkljo Applied, thanks!


Feature Request: Built-In Versioning/Selector Feature

We are using geekdocs for a site we are building, and it's awesome!
We are now at a stage of our project/initiative that we will have different versions/releases of the guidance of our project/initiative and will require the ability for folks to browse the docs for the version they are concerned with, but also be notified that its not the latest version at the same time.
From looking around, this isn't possible today in the geekdocs theme, but it is in the docsy theme.
We'd really love to stay using geekdocs, any chance this feature could be added?
Update
Did some digging in docsy and think we need to take inspiration from these files:

https://github.com/google/docsy/blob/main/layouts/partials/version-banner.html
https://github.com/google/docsy/blob/main/layouts/docs/baseof.html
https://github.com/google/docsy/blob/main/layouts/partials/navbar-version-selector.html
https://github.com/google/docsy/blob/main/layouts/partials/navbar.html

Thanks a lot for your feedback! Yes, that's a feature that I also wanted to have for a long time. If someone wants to implement it, I'm happy to review. As I'm currently working on other projects, it might take some time to get it implemented on my own.

Thanks @xoxys, I might give it a go over the weekend in my project and if I get it working, ill push it back up in a PR 👍

Sure, the theme is using SASS for stylesheets, the source files are located in https://github.com/thegeeklab/hugo-geekdoc/tree/main/src/sass and most parts of the core theme are located in https://github.com/thegeeklab/hugo-geekdoc/blob/main/src/sass/_base.scss
To compile the sass stylesheets (and other artifacts) we use webpack. To simplify the development process a bit, there are npm scripts available to run a dev server. npm install && npm run start will install all requirements and start a webpack dev server and a Hugo dev server in parallel. After starting the setup, the Hugo server is available at http://localhost:1313/ and changes to the sass files as well as content files will trigger a rebuild and frontend reload automatically.
I hope that helps, if you have further questions just let me know.


Fix 'require_relative' directive in perfect_numbers_test.rb

require_relative 'example' is in perfect_numbers_test.rb.
It should be require_relative 'perfect_numbers'.

Thank you @gchan


PCI Compliance Issues

A PCI scan of my website identified injection attack issues with the Wiki module.
I did some testing and was able to execute some javascript code on a Wiki page in one of two ways:

By putting the script in the query string (i.e., wiki?topic=

By putting the script in a Wiki comment

Are there any plans to resolve these issues?

(Irony) This wiki happened to strip out the script tag that I tried to include in my example above.


ServiceInstance is fully deleted when deprovision fails

If the deprovision operation fails, a ServiceInstance will still be finalized and fully deleted.  Instead, we should leave the instance in a failed state until the user force-deletes it, so that they can have a chance to contact the broker operator and/or ensure that all resources are cleaned up.
Example log:

I1018 20:37:32.409486      63 controller.go:312] Creating client for ClusterServiceBroker ansible-service-broker, URL: https://asb.ansible-service-broker.svc:1338/ansible-service-broker/
I1018 20:37:32.409967      63 controller_instance.go:1471] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Setting condition "Ready" to False
I1018 20:37:32.409994      63 controller_instance.go:1490] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Found status change, condition "Ready": "True" -> "False"; setting lastTransitionTime to 2017-10-18 20:37:32.409958514 +0000 UTC
I1018 20:37:32.410014      63 controller_instance.go:1521] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Updating status
I1018 20:37:32.419723      63 controller_instance.go:292] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Deprovisioning
I1018 20:37:32.452711      63 controller_instance.go:377] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Received asynchronous de-provisioning response, 97cf1893d97f32dd339d1f7cba6b31bf at ansible-service-broker: response: &{Async:true OperationKey:0xc42045d9b0}
I1018 20:37:32.452764      63 controller_instance.go:1471] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Setting condition "Ready" to False
I1018 20:37:32.452783      63 controller_instance.go:1521] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Updating status
I1018 20:37:32.459836      63 event.go:218] Event(v1.ObjectReference{Kind:"ServiceInstance", Namespace:"fail-project", Name:"apb-push-fail-apb-pvrnz", UID:"0fd8f140-b444-11e7-adf7-0242ac110005", APIVersion:"servicecatalog.k8s.io", ResourceVersion:"91", FieldPath:""}): type: 'Normal' reason: 'Deprovisioning' The instance is being deprovisioned asynchronously
I1018 20:37:32.607803      63 controller.go:312] Creating client for ClusterServiceBroker ansible-service-broker, URL: https://asb.ansible-service-broker.svc:1338/ansible-service-broker/
I1018 20:37:32.608082      63 controller_instance.go:292] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Deprovisioning
I1018 20:37:32.620834      63 controller_instance.go:377] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Received asynchronous de-provisioning response, 97cf1893d97f32dd339d1f7cba6b31bf at ansible-service-broker: response: &{Async:true OperationKey:<nil>}
I1018 20:37:32.620873      63 controller_instance.go:1471] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Setting condition "Ready" to False
I1018 20:37:32.620885      63 controller_instance.go:1521] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Updating status
E1018 20:37:32.624978      63 controller_instance.go:1524] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Failed to update status: Operation cannot be fulfilled on serviceinstances.servicecatalog.k8s.io "apb-push-fail-apb-pvrnz": the object has been modified; please apply your changes to the latest version and try again
I1018 20:37:32.625007      63 controller.go:232] Error syncing ServiceInstance fail-project/apb-push-fail-apb-pvrnz: Operation cannot be fulfilled on serviceinstances.servicecatalog.k8s.io "apb-push-fail-apb-pvrnz": the object has been modified; please apply your changes to the latest version and try again
I1018 20:37:32.630136      63 controller_instance.go:921] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Processing
I1018 20:37:32.632493      63 controller.go:312] Creating client for ClusterServiceBroker ansible-service-broker, URL: https://asb.ansible-service-broker.svc:1338/ansible-service-broker/
I1018 20:37:32.632727      63 controller_instance.go:1013] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Polling last operation
I1018 20:37:32.646438      63 controller_instance.go:1107] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Poll returned "in progress" : %!q(*string=<nil>)
I1018 20:37:32.646508      63 controller_instance.go:1193] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": last operation not completed (still in progress)
I1018 20:37:32.876445      63 leaderelection.go:199] successfully renewed lease kube-service-catalog/service-catalog-controller-manager
I1018 20:37:33.459932      63 controller_instance.go:921] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Processing
I1018 20:37:33.465160      63 controller.go:312] Creating client for ClusterServiceBroker ansible-service-broker, URL: https://asb.ansible-service-broker.svc:1338/ansible-service-broker/
I1018 20:37:33.465584      63 controller_instance.go:1013] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Polling last operation
I1018 20:37:33.478728      63 controller_instance.go:1107] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Poll returned "in progress" : %!q(*string=<nil>)
I1018 20:37:33.478793      63 controller_instance.go:1193] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": last operation not completed (still in progress)
I1018 20:37:34.898760      63 leaderelection.go:199] successfully renewed lease kube-service-catalog/service-catalog-controller-manager
I1018 20:37:36.912250      63 leaderelection.go:199] successfully renewed lease kube-service-catalog/service-catalog-controller-manager
I1018 20:37:37.479017      63 controller_instance.go:921] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Processing
I1018 20:37:37.483058      63 controller.go:312] Creating client for ClusterServiceBroker ansible-service-broker, URL: https://asb.ansible-service-broker.svc:1338/ansible-service-broker/
I1018 20:37:37.483470      63 controller_instance.go:1013] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Polling last operation
I1018 20:37:37.504218      63 controller_instance.go:1107] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Poll returned "in progress" : %!q(*string=<nil>)
I1018 20:37:37.504311      63 controller_instance.go:1193] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": last operation not completed (still in progress)
I1018 20:37:38.920729      63 leaderelection.go:199] successfully renewed lease kube-service-catalog/service-catalog-controller-manager
I1018 20:37:40.929379      63 leaderelection.go:199] successfully renewed lease kube-service-catalog/service-catalog-controller-manager
I1018 20:37:42.938438      63 leaderelection.go:199] successfully renewed lease kube-service-catalog/service-catalog-controller-manager
I1018 20:37:44.946954      63 leaderelection.go:199] successfully renewed lease kube-service-catalog/service-catalog-controller-manager
I1018 20:37:45.504527      63 controller_instance.go:921] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Processing
I1018 20:37:45.509046      63 controller.go:312] Creating client for ClusterServiceBroker ansible-service-broker, URL: https://asb.ansible-service-broker.svc:1338/ansible-service-broker/
I1018 20:37:45.509519      63 controller_instance.go:1013] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Polling last operation
I1018 20:37:45.544512      63 controller_instance.go:1107] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Poll returned "failed" : %!q(*string=<nil>)
I1018 20:37:45.544624      63 controller_instance.go:1471] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Setting condition "Ready" to Unknown
I1018 20:37:45.544648      63 controller_instance.go:1490] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Found status change, condition "Ready": "False" -> "Unknown"; setting lastTransitionTime to 2017-10-18 20:37:45.544618301 +0000 UTC
I1018 20:37:45.544680      63 controller_instance.go:1471] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Setting condition "Failed" to True
I1018 20:37:45.544691      63 controller_instance.go:1501] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Setting lastTransitionTime, condition "Failed" to 2017-10-18 20:37:45.544676883 +0000 UTC
I1018 20:37:45.544707      63 controller_instance.go:1521] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Updating status
I1018 20:37:45.544694      63 event.go:218] Event(v1.ObjectReference{Kind:"ServiceInstance", Namespace:"fail-project", Name:"apb-push-fail-apb-pvrnz", UID:"0fd8f140-b444-11e7-adf7-0242ac110005", APIVersion:"servicecatalog.k8s.io", ResourceVersion:"93", FieldPath:""}): type: 'Warning' reason: 'DeprovisionCallFailed' ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Error deprovisioning: ""
I1018 20:37:45.604743      63 controller_instance.go:217] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Clearing catalog finalizer
I1018 20:37:45.604792      63 controller_instance.go:1521] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Updating status
I1018 20:37:45.804806      63 controller_instance.go:70] ServiceInstance "fail-project/apb-push-fail-apb-pvrnz": Received delete event; no further processing will occur

#dibs

I think the instance delete is happening here:
https://github.com/kubernetes-incubator/service-catalog/blob/6f49128ac95189c221e832fd8597b24cac98e5fe/pkg/controller/controller_instance.go#L284-L304
This is strange because from what I understand, ReconciledGeneration is set to 1 when the Polling code gets here, but it should be at least 2, 1 for provisioning, and 2 for the deprovisioning call.
Will work on an integration test tomorrow.

I think this might be a dangerous set of criteria to use.  It's possible since our control loops do multiple status updates that you might process an out of date resource with an old resource version due to a race between the API server and the informer cache.

@pmorie In that case, though, the update to the status will fail. So there should not be any side effects of processing the out-of-date resource.

Reassigning to @staebler since this is a blocker for RH and @n3wscott is in an all-day meeting, and Matthew is already making changes in the same area.


[async] Rewrite JavalinServlet

Breaking changes in API, can be merged only before official release of 5.x
Motivation behind those changes:

Standalone sync execution
Performance improvements
Remove future callback

This PR does several things:

Replaces reactive future-based implementation with linear loop based execution of pending tasks
Introduces concept of sync & async execution, prioritizing linear sync path whenever possible
Removes Stage, Result and ExecutionResult + associated structures/signatures reducing heap usage during heavy load and reducing GC pauses -> CPU & req/s
Removes future callback (#1651)
Replaces unsafe ctx.future(CompletableFuture<?>) & safe ctx.future(CompletableFuture<?>, Runnable) with ctx.future(Supplier<CompletableFuture<*>) [breaking API]
Removes ctx.resultFuture(), because this method has no sense and no one ever requested it, following git history it was just added with ctx.future()`.
Renames DefaultContext to JavalinServletContext and moves servlet related classes to standalone package
Makes JavalinServlet stateless, tasks are defined in private config & execution does not need to create a new mutable handler per each call. Execution state is hidden in JavalinServletContext
Differs userFuture from resultStream as it was in the past. User still can set only one future per task, but resultStream can be overridden again.
ctx.async does not return unsafe future anymore, it provides thread-safe onDone listener
Replaced tricky exception based redirects with task deque modification
Provided hidden API that allows user to modify request execution (allows to simulate things like ctx.terminate())
?

Somehow related:

https://github.com/javalin/javalin/issues/1517
https://github.com/javalin/javalin/pull/1652
https://github.com/javalin/javalin/issues/1642
https://github.com/javalin/javalin/issues/1651
Previous issues & PRs related to servlet rewrite

// -- copied from personal notes:
Todo for now:

[x] Merge servlet with servlet handler
[x] Future-free execution of sync request
[x] Stateless servlet
[x] JavalinServletContext
[x] ctx.future{}
[ ] Optimize handlers matching?
[x] Safe async result listener?
[x] ~Seekable result listener?~

Thanks, this looks great !


Replacer doesn't work for nested values

2.0.0 has a regression compared to 1.6.0. The replacer function doesn't seem to work on nested values, only on root-level ones.
Reproduction
This example code doesn't produce the desired output:
import { stringify } from "javascript-stringify";

function makeRaw(str) {
  const fn = () => {};
  fn.__expression = str;
  return fn;
}

function str(value) {
  return stringify(
    value,
    (val, indent, stringify) => {
      if (val && val.__expression) {
        return val.__expression;
      }
      return stringify(val);
    },
    2
  );
}

console.log(str({
  "no-console": makeRaw(`process.env.NODE_ENV === 'production' ? 'error' : 'off'`),
  "no-debugger": makeRaw(`process.env.NODE_ENV === 'production' ? 'error' : 'off'`)
}))

It outputs () => {} instead of process.env.NODE_ENV === 'production' ? 'error' : 'off' for example.

cc @sodatea

Thanks for the flag. It should be possible to fix this, it's unfortunately caused by a lot of new ways to write functions in ES2015 which resulted in having to write a custom function replacer that only worked with the object key.

Fixed with https://github.com/blakeembrey/javascript-stringify/commit/6ce8383752d2e515d90895404dc38366f9cd50a5 and released as 2.0.1.


Return/Enter key does not work while Caps lock

It should move to the next line.

It seems that basemaps are not transitive relations.
This has been fixed as of commit 39a6fd6f976367bac6be6e3df9de70ca8de15c80

It seems that basemaps are not transitive relations.
This has been fixed as of commit 39a6fd6f976367bac6be6e3df9de70ca8de15c80


SignalHound USB_SA124B: Multiple devices/linux support

I have two questions regarding the driver for SignalHound USB_SA124B:

I see that, unlike for example the EraSynth drivers, this driver doesn't take the COM port or any other selector as argument. How is it then possible to simultaneously connect and use two signalhounds? When I instantiate the class, it connects to one of the signalhounds connected to the PC, but I'm not aware of how the driver determines which instrument to connect to.
This driver specifically makes use of Windows .dll . Are Linux compatible drivers not available for this instrument?

I am not all that familiar with the signal hound but it looks like

OpenDevice takes a device handle which is an integer starting at 0. I would guess that if you want to connect to a second signalhound you probably need to increase that counter. We should probably let the user pass this argument to the init of the device defaulting to 0.
The driver is written and tested on windows. If there is a linux version of the software from Signal hound it should not be too much work to extend the driver to also work against a linux version of the driver (is an .SO file) but that does require some work

For 1., I modified the driver locally in order to pass the handle during instantiation.
Instantiating the class twice with different handle values appears to work. The order with which the instruments are connected appeared not to depend on the handle. Connections to the instruments were always established in the same order.

Ok good. We would be very happy for a pr that allows the user to set this when creating the instrument similary to how a visa instrument takes the address


question: how to get post looping by category

Hi, I want get post's excerpt by category? how is the code?

Hi, to get post's excerpt by category you can use this code
$sql = "SELECT * FROM `posts`
        WHERE `type` = 'post' AND `status` = '1' AND `cat` = '1'
        ORDER BY `date` DESC LIMIT {$vars}";
$pcat = Db::result($sql);
if(isset($pcat['error'])){
    $pcat['error'] = "No Posts found.";
}else{
    $pcat= self::prepare($posts);
    echo "
";
    foreach($pcat as $p){
        echo "

id)."\">{$p->title}

".substr($p->content, 0, 200)."

";
    }
    echo "
";
}

try that code above, and let me know if it's working. I'll add this method at the next release.
thanks,

This issue had been added to core library


Add doxygen output filter for acceptable warnings.

Signed-off-by: David Antliff<EMAIL_ADDRESS>

+1


null safety version.

Gentfolk,
what's the chance of getting a null safety version released?
I'm using the validators package which depends on vin-decoder which is stopping my moving to a full nnbd release for my project DCli.
A nnbd release would be greatly appreciated.

Thanks for the report, I wasn't aware we were blocking the validators project. I'll set aside some time for this in the next couple of days and prepare a null safety version.

Thanks
On Wed, 17 Feb 2021, 7:10 pm Paul Mundt<EMAIL_ADDRESS>wrote:

Thanks for the report, I wasn't aware we were blocking the validators
project. I'll set aside some time for this in the next couple of days and
prepare a null safety version.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/adaptant-labs/vin-decoder-dart/issues/5#issuecomment-780382356,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAG32OG366TWPYW4WDKPDETS7N2YNANCNFSM4XXQIRNQ
.

A 0.2.0-nullsafety pre-release has now been published.


Explore other base images for the docker option (e.g., newer centos versions, ubuntu, debian)

Not a good idea to keep telling people to modify their boot loader configuration. See https://github.com/efabless/openlane/issues/9 for details.
Should help with running natively as well.

I am working on building openLANE image based on Ubuntu OS and will try to integrate FAULT tool as well.

I am working on building openLANE image based on Ubuntu OS and will try to integrate FAULT tool as well.

@nadeemyaseen-lm: In #146, @robtaylor is planning to submit a patch for centos8 migration. Perhaps you should co-ordinate your efforts in that regard.

@nadeemyaseen-lm: In #146, @robtaylor is planning to submit a patch for centos8 migration. Perhaps you should co-ordinate your efforts in that regard.

@nadeemyaseen-lm could you share if you have anything working based on ubuntu?

@nadeemyaseen-lm could you share if you have anything working based on ubuntu?

Hi @robtaylor ,
I have built OpenLANE image based on Ubuntu OS. Can you please guide me on how to push my branch because I am facing an authentication error at my end?

Hi @robtaylor ,
I have built OpenLANE image based on Ubuntu OS. Can you please guide me on how to push my branch because I am facing an authentication error at my end?

@mahmoodulhassan-lm: You need to create your own fork of OpenLANE, push your changes there (basing them on the develop branch), and then submit a PR. Then, one of the OpenLANE developers will review your changes and decides where to go from there (+ CI will auto-test your code).
https://github.com/efabless/openlane/blob/master/CONTRIBUTING.md

@mahmoodulhassan-lm: You need to create your own fork of OpenLANE, push your changes there (basing them on the develop branch), and then submit a PR. Then, one of the OpenLANE developers will review your changes and decides where to go from there (+ CI will auto-test your code).
https://github.com/efabless/openlane/blob/master/CONTRIBUTING.md

We're comfortable with CentOS 7 for now. Rocky Linux may be considered in the future as CentOS 7's EOL approaches.


Shutdown collective with balance

We need to deactivate the collective https://opencollective.com/climatewborders
but it has a balance of €1.79
The balance should go to the host but the host doesn't have a default collective.
So maybe we could record a transaction with amount = 0 and hostFeeInHostCurrency = 179 ?

This is a dup of #1871

@xdamman I don't like it much. The cleanest options:

create a collective for the host
donate to another collective on the host

Ideally all entities on open collective are collective with different functionalities. It's not efficient that a host needs to have an org and a collective. It should be one, with different tags/colors and the ability to add / remove functionalities. The new collective page is getting us closer to this.

I believe in the case where a host is not storing their host fees on Open Collective (this one it seems), we should be able to just delete the balance off the Collective's ledger and logically, it will be 'given' to the host, because in this case the 'host fees' are just the difference between what's represented in their Collective balances and what is in their bank account. So if you click the 'zero collective' option on a Collective whose host has no default Collective, the balance can just disappear.
However, the larger issue is what @piamancini mentioned, that hosts should not have host entities and default Collectives as seperate things. There is an issue for there here: #1723


New version: vim.vim.nightly version 9.1.0080

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

Hi @chrisbra,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 695.)

Automatic Validation ended with:

Installation failed with exit code -1978335187 2024-02-06 19:18:09.546 [FAIL] Installer failed security check. Url: https://github.com/vim/vim-win32-installer/releases/download/v9.1.0080/gvim_9.1.0080_x86.exe Result: 0x80004005

(Automated response - build 695.)

/AzurePipelines run


Nearest Earth Objects Classification and Prediction File

Pull Request for ML-Crate 💡
Issue Title : Nearest Earth Objects Classification and Prediction

Info about the related issue (Aim of the project) : To classify and predict the nearest earth objects from the NASA.

Dataset

Name: NIRVIK GHOSH
GitHub ID: @Nirvik07
Idenitfy yourself: HRSoC 2022 Participant

Closes: #314
Checklist: ☑

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added things that prove my fix is effective or that my feature works.
[x] Any dependent changes have been merged and published in downstream modules.

@abhisheks008 should I create a fresh PR?

That will be better @Nirvik07


Add list of users that click the flag button to the Attestationn popup

GP-483

Commit: https://github.com/ledgerleapllc/devxdao-frontend/commit/b50a7003da2072630f41a25a4cc560a79d2f61c0


consolidate cosmos chain node commands

DRY up the chain node flag usage within the cosmos ChainNode, exporting public helpers to get or execute the commands from test cases.
BinCommand - returns aggregate command of command []string args/flags after the chain node binary, with --home flag appended at the end.
ExecBin - executes aggregate command from BinCommand.
NodeCommand - returns aggregate command of BinCommand with additional flags --node and --chain-id appended, necessary when commands interact with the node URL.
QueryCommand - returns aggregate command of NodeCommand with prepended arg query and appended flag --output json to return response formatted as json.
ExecQuery - executes aggregate command from QueryCommand.
ExecTx - assembles aggregate command of NodeCommand with prepended arg tx and appended flags necessary for transaction broadcast (--from, --gas-prices, --gas-adjustment, --keyring-backend, -y), then executes it.

Perhaps a helper to generate the common, repeated flags.

I did this for BinCommand, NodeCommand, and QueryCommand, but did not see an immediate use for TxCommand. You're right that this would be helpful for debugging, so added TxCommand also.


Add support to get max length integer value via integer id

What happened 🤔

attrs.getAttributeIntValue(XML_NAMESPACE_ANDROID, "maxLength", 4) doesn't support to get max length int value from an integer id.

Insight 👀

The default way to support getting int value from int id value is using TypeArray.getInt(com.android.internal.R.styleable.TextView_maxLength, -1), but custom PinEntryEditText class can't access to com.android.internal.R.styleable.TextView_maxLength.

There is another approach to get the current value of max length from android:maxLength property. android:maxLength was initialized via TextView into InputFilter.LengthFilter, so we could get this value out from current filter list. Note that, InputFilter.LengthFilter.getMax() is only supported from API 21, so we need to use reflection to get mMax value out in lower APIs. mMax field was introduced from the first version of InputFilter https://android.googlesource.com/platform/frameworks/base/+/54b6cfa9a9e5b861a9930af873580d6dc20f773c/core/java/android/text/InputFilter.java

After rechecked, it seems getting value out from mMax by reflection on API 19 is not a pretty way, back to getting value from resid or raw int value https://stackoverflow.com/a/60593495.

PoW (a.k.a Proof Of Work)💪

API 21

API 19

Can we merge this PR?

@MarcinB85 while waiting for the author merge this PR, you can use this version https://jitpack.io/#nimblehq/PinEntryEditText/feature~support-integer-id-value-on-max-length-SNAPSHOT


ARROW-14519: [C++] Properly error if joining on unsupported type

Instead of DCHECK, return a NotImplemented.

CC @michalursa. Note that the KeyColumnMetadata computed here is unused, but computing it here serves as a useful up-front check as otherwise we run into a DCHECK later during plan execution instead, so I opted to keep it.

Moved the validation to HashJoinSchema::ValidateSchemas as suggested on JIRA.

Also includes a fix for the build issues at HEAD.


Change facets markup and improve CSS styling

Regarding to #58 we can change markup for facets as well.
Proper format can be:

   <input ... >
   Facet label

Also merge of #162 broke facet CSS styling.

QA done. Facets works properly after change.


Added clock skew parameter

We needed wider time window when validating token expiration in some test scenarios. We added optional config parameter clockSkewInSec which overrides default time window of 10mins.

LGTM, except that I suggest making the property accept msec instead, possibly also dropping the postfix on the variable name, so it is consistent with the other property on this class accepting a similar kind of value (silentRefreshTimeout).


Include causing error when raising StatsUnavailable

The stats_controller will catch any InstancesUnavailable and raise an
error without any information.
This can make more complicated troubleshoot issues on CF.
Note: Currently this PR simply appends the underlying error to the message, which will result in something like: Stats unavailable: Stats server temporarily unavailable., Error: Could not connect to the remote server. I did not want to change it in case some user relies on this exact message.
It might be worth it to change the message, at least to remote the last dot.

Fixed typo that made tests fail.

Hi keymon,
The pull request doesn't break anything, but  we are concerned about leaking credentials.  What kind of errors and logging are you getting when you run this code? Can you give us steps to reproduce your error so we can test this too?
@thausler786 && @adowns01
CAPI team members

For instance, we were having issues with CC callling  tps_listener, which was caused by a timeout calling it. tps_listener was not responding because doppler was not responding on time (due some network issue).
In consequence I was getting a "Stats unavailable: Stats server temporarily unavailable" which gave us no info at all. We had to read the code and consider any kind of problem when communicating. It was a tricky one,  not easy to troubleshoot at all and took a while.
You can simulate that with any problems when running the underlying code: Network refused, DNS resolution error, bad permissions, etc... For instance, make tps_listener hang when calling the /stats endpoint: CC it will silently timeout after 10s
BTW, we wrote a blogpost about that case: https://gdstechnology.blog.gov.uk/2016/07/20/how-our-government-paas-team-solved-an-aws-packet-mystery/

Looking at other instances where this error is raised, it's safe to merge these changes. Thanks.