fix: update typing in schemaless_insert

Codecov Report

Merging #153 (17da73b) into main (d35267f) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #153   +/-   ##
=======================================
  Coverage   75.84%   75.84%
=======================================
  Files          20       20
  Lines        2339     2339
=======================================
  Hits         1774     1774
  Misses        565      565

Impacted Files
Coverage Δ

taos/connection.py
88.88% <ø> (ø)

taos/_version.py
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add architecture x86: ViGEm.ViGEmBus version 1.17.333.0

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

If you close this and re-open it, it'll remove the Validation-Completed label :)

But how do I merge it?

But how do I merge it?

A moderator will need to review and approve it


CockroachCloud onboarding points to old binaries

Hi, I signed up for a free-tier CockroachCloud cluster and was presented with the following modal:

All the download commands point to the 20.2 release. The download commands for Mac and Linux are:
curl https://binaries.cockroachdb.com/cockroach-v20.2.10.darwin-10.9-amd64.tgz | tar -xJ; cp -i cockroach-v20.2.10.darwin-10.9-amd64/cockroach /usr/local/bin/
wget -qO- https://binaries.cockroachdb.com/cockroach-v20.2.10.linux-amd64.tgz | tar xvz; cp -i cockroach-v20.2.10.linux-amd64/cockroach /usr/local/bin/
And the "Install on Windows" link points to https://www.cockroachlabs.com/docs/v20.2/install-cockroachdb-windows.
Is the 21.1 release not recommended for use with CockroachCloud yet, or are these links just out of date?

oh, I guess this is because the latest stable version of CockroachDB isn't available in CockroachCloud yet, or at least not in the free tier. That's kinda confusing, since the "get started" page specifically says "Get Started with CockroachDB 21.1 Today".

Thanks for filing this issue Roland! CockroachCloud Free beta doesn't yet use v21.1 but this will become the default and all free clusters updated very soon. We do support v21.1 on the paid tier today, if you're looking to test out new features. That said, I've created an issue to update the binary download commands to align with the latest release.

Thanks, Emily. Closing this issue since the updates should be on the CC side.


[bug] [v2beta] fullscreen display bug. A white line on the top

Describe the bug
fullscreen display bug. A white line on the top.
"app": {
    "withGlobalTauri": true,
    "windows": [
      {
        "label": "wallpaper_tauri_233",
        "title": "wallpaper tauri 233",
        "decorations": false,
        "fullscreen": true,
        "transparent": true,
        "resizable": false,
        "dragDropEnabled": false,
        "theme": "Dark"
      }
    ],
    "security": {
      "csp": null
    }
  },

[✔] Environment
    - OS: Windows 10.0.22631 X64
    ✔ WebView2: 126.0.2592.113
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.79.0 (129f3b996 2024-06-10)
    ✔ cargo: 1.79.0 (ffa9cf99a 2024-06-03)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (environment override by RUSTUP_TOOLCHAIN)

[-] Packages
    - tauri-cli [RUST]: 2.0.0-beta.22

[-] App

Additional context
OS: Windows 11 23H2

Internal Display
Display: Connected to AMD Radeon 780M Graphics

Desktop Mode: 2560 x 1600, 240 Hz
Active Signal Mode: 2560 x 1600, 240 Hz
Bit Depth: 10-bit
Color Format: RGB
Color Space: Standard Dynamic Range (SDR)

OS: Windows 11 23H2

👀

@FabianLars
i solved it by adding "shadow": false in tauri.conf.json.
我在tauri.conf.json文件中添加了"shadow": false，然后问题解决了。
    "windows": [
      {
        "title": "Desutop",
        "label": "main",
        "alwaysOnTop": true,
        "decorations": false,
        "fullscreen": true,
        "focus": false,
        "closable": false,
        "shadow": false,
        "resizable": false,
        "visible": false
      }
    ],

Can someone confirm whether it's still an issue with the latest rc?

On windows if I have a default tauri application (floating window not fullscreen) with decorations set to false I get white lines on the right and bottom of the application window.


Allow manually specifying namespaces

Summary
In some cases, a user cannot list all namespaces in a cluster. It would be convenient if the user could manually specify which namespaces he has access to, because otherwise Jetpilot cannot be used for such clusters.
Motivation
A cluster with some level of hardening may disallow access to list resource "namespaces". Such cluster cannot then be used in the app.
Proposal
Add an option to manually specify accessible namespaces in such cases.

:tada: This issue has been resolved in version 1.20.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Recognize ConstraintViolationException from error code in Sql Server #6323

Same as https://github.com/hibernate/hibernate-orm/pull/6323 but for the main branch
Fix HHH-16399

LGTM


TypeError: fsevents is not a constructor

Hello. https://github.com/firebase/firebase-tools/issues/1490#issuecomment-512366497

same issue，hope fix it soon。

fixed

I'm getting the issue
TypeError: fsevents is not a constructor
when running npm start in my RN project.
And the error seems to occur when calling new fsevents.
function createFSEventsInstance(path, callback) {
return (new fsevents(path)).on('fsevent', callback).start();
}
Node: v8.16.0
Watchman: 4.9.0
npm: 6.4.1
"name": "chokidar",
  "description": "A neat wrapper around node.js fs.watch / fs.watchFile / fsevents.",
  "version": "2.0.4",
  "optionalDependencies": {
    "fsevents": "^1.2.2"
  },

I am unable to find ANY solution/information that could fix my issue.

Update chokidar to latest 2.x, or even better — 3.x.


[Bug Report] table loading state does not scroll while scrolling the page and it`s run away

Element UI version
1.3.3
OS/Browsers version
win7 64
Vue version
2.3.3
Reproduction Link
https://jsfiddle.net/xcodebin/vbpyrsbc/1/#&togetherjs=myJVzp8cR6
Steps to reproduce
no step
What is Expected?
loading just contain table
What is actually happening?
it`s run away .

Remove the body modifier: https://jsfiddle.net/vbpyrsbc/2/


Data highlight

Creating PR in to v1.2.

Issues in v1.2-dev PR. going to re-start merges from master.


Fix storylet ID not being recorded when using an item.

1-Click Wiki tries to keep track of the current storylet ID to narrow the list of possible Wiki pages as much as possible. Unfortunately, due to an oversight, this value was not correctly recorded when the storylet opens up after clicking an item.
While this will not prevent reaching a correct page due to built-in "search-by-name" fallbacks, this still can be improved to reach an actual 1-Click™ experience.

@alanhuang122 Would you kindly review this change?


One Shot - Create doesn't handle missing values

If you try to train a One Shot Model using an SFrame with Nones in the image column, this is what you get:
In [23]: tc.one_shot_object_detector.create(data, 'label', max_iterations=20)

---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
~/anaconda3/envs/mygreatenvironment/lib/python3.6/site-packages/turicreate/extensions.py in __run_class_function(self, fnname, args, kwargs)
    273         try:
--> 274             ret = self._tkclass.call_function(fnname, argument_dict)
    275         except RuntimeError as exc:

turicreate/_cython/cy_model.pyx in turicreate._cython.cy_model.UnityModel.call_function()

turicreate/_cython/cy_model.pyx in turicreate._cython.cy_model.UnityModel.call_function()

RuntimeError: Cannot decode image. Unknown format.

During handling of the above exception, another exception occurred:

ToolkitError                              Traceback (most recent call last)
<ipython-input-23-b9a4a4b470b7> in <module>
----> 1 tc.one_shot_object_detector.create(data, 'label', max_iterations=20)

~/anaconda3/envs/mygreatenvironment/lib/python3.6/site-packages/turicreate/toolkits/one_shot_object_detector/one_shot_object_detector.py in create(data, target, backgrounds, batch_size, max_iterations, verbose)
     55         If True, print progress updates and model details.
     56     """
---> 57     augmented_data = preview_augmented_images(data, target, backgrounds)
     58     model = _tc.object_detector.create( augmented_data,
     59                                         batch_size=batch_size,

~/anaconda3/envs/mygreatenvironment/lib/python3.6/site-packages/turicreate/toolkits/one_shot_object_detector/util/_augmentation.py in preview_augmented_images(data, target, backgrounds, verbose, **kwargs)
     66                                             target_column_name,
     67                                             backgrounds,
---> 68                                             options_for_augmentation)
     69     return augmented_data

~/anaconda3/envs/mygreatenvironment/lib/python3.6/site-packages/turicreate/extensions.py in <lambda>(*args, **kwargs)
    288         elif name in self._functions:
    289             # is it a function?
--> 290             ret = lambda *args, **kwargs: self.__run_class_function(name, args, kwargs)
    291             ret.__doc__ = "Name: " + name + "\nParameters: " + str(self._functions[name]) + "\n"
    292             try:

~/anaconda3/envs/mygreatenvironment/lib/python3.6/site-packages/turicreate/extensions.py in __run_class_function(self, fnname, args, kwargs)
    275         except RuntimeError as exc:
    276             # Expose C++ exceptions using ToolkitError.
--> 277             raise _ToolkitError(exc)
    278         ret = _wrap_function_return(ret)
    279         return ret

ToolkitError: Cannot decode image. Unknown format.

Like other toolkits, do we want to drop the missing values and proceed with remaining data?

Yes. We want to drop missing values from the training data.


Document reporter methods and JSDoc API

Hi,
If possible, it'd be great to have some official docs on building one's own reporter. Though I've gotten things basically working, I'm not sure how robust it is, and it'd be nice for there to be a guide which could put the jsdoc blocks that do exist into perspective (btw, it'd be great if you might be ok to publish some jsdoc files out of your project to help tie things together).

Please feel free to post PR's.  It's not that this project doesn't want better documentation, it's an issue of limited time and having to focus that time on dealing with bugs.  Also nobody makes a living off this project so everyone involved often has to prioritize other work which pays the bills.

I fully understand--and have the same feeling on other projects I'm involved with. No less for such a truly essential project as nyc!
If it's not distracting to have an extra open issue, I personally file such "unfunded" issues in case they may be helpful in gathering votes showing interest and in case someone comes along and references the issue, those of us interested can get notified about it. But please feel free to close if you feel distracted by it.


Refine Out_channel string/bytes generator

As part of carving a reproducer for #444, I realized that its string and bytes generators could be refined to have a bigger chance of producing strings stressing the channel boundary logic.
This quick little PR attempts such a refinement.
It is based on a size_gen generator that produces numbers around powers of 2:
let size_gen =
      Gen.(map2 (fun pos size_adj ->
                   let res = 1 lsl (pos-1) in
                   if size_adj < res then res-size_adj else res) (int_bound 18) (int_bound 10));;
val size_gen : int QCheck.Gen.t = <fun>
Gen.generate ~n:10 size_gen;;
- : int list = [65531; 16378; 65535; 128; 8185; 0; 249; 4; 59; 28]
Gen.generate ~n:10 size_gen;;
- : int list = [65531; 126; 1; 512; 131066; 13; 252; 4087; 16380; 120]
Gen.generate ~n:10 size_gen;;
- : int list = [0; 65533; 15; 8190; 4089; 4094; 8; 65528; 2044; 65530]

This times out on MSVC bytecode and MinGW bytecode trunk, where I suspect the underlying buffer size to differ.


Incorrect assembly for the Z80

When assembling this code:
LABEL ld hl, 1
djnz LABEL

It should have assembled as:
21
01
00
10
FB

However, it assembled as:
21
01
00
10
FC

Please, notice that the last line is different (FB vs FC)
Am I missing something?
Thanks!

Thanks I'll take a look. That's a big one.

This is fixed now.


Query consistency support

It looks like the GO client now supports query consistency (unless we we missed that somehow):
https://cadenceworkflow.io/docs/07_goclient/11_queries
We should add an optional parameter to support this.  This will require an update to cadence-proxy.

This is a duplicate of #753


Check memory usage

Seems like monika's memory usage keeps increasing with time. Need to figure out to fix this.

the issue is occured when symon is down. it is due to monika still sending report to symon when the server is down, this in some way makes the memory loaded heavily.

need to stop getting probe after 3 times getProbes error
don't send any report after getProbes Error

Seems the issue has been solved with optimizations from @ilmiawan
closing this issue.


Fix argument count check

lua_gettop returns the number of object on stack not an array.
This "works" since undefined < n is always false so no error was thrown...

Good catch, thanks!


Use non-alphanumeric character in hotkey definition - across layouts

I want to use the semicolon in the definition of a hotkey. And I want to be able to use that hotkey on multiple keyboard layouts (e.g. qwerty and dvorak).
If I use 0x29 as suggested here, the hotkey works fine when I have selected the qwerty layout.
However, when using the dvorak layout, the shortcut now triggers on "s" - which is in the same location as the semicolon key on qwerty. The keycode 0x29 is tied to a location on the keyboard, not to the character on that key.
Therefore, my question/issue: How to define non-alphanumeric characters in shortcuts, so that they are tied to the character and not to the location on the keyboard?

I have tried semicolon, 0x003b, 0x003B from here. I also tried ;, ';', ";", as well as every possibly abbreviation such as scolon, scln, semic, etc.

Also running into this issue. I would love to be able to use the semicolon key

You just skhd -o and you'll be able to type your key and see the code you need


Adding server side download methods for azure

Server side fetcher methods for azure fs to support server download

At a high level, having segment fetcher and FS interface is redundant. We need to make SegmentFetcher work on top of FS interface and pass an instance of FS at runtime.


Implement ability to easily create merkle proofs from one share to the data hash

Summary
In order to create bad encoding fraud proofs, we need to have the ability to create a single merkle proof for a given share in the available data square.
Details
Since we use nmt to create the row and column roots of the data availability header, and then a simple merkle tree of the row and column roots to create the data hash, this will require creating two proofs and adding them together. The first proof will come from nmt, and then second will be created using tendermint's merkle tree
Action Items

[ ] Implement the ability to combine merkle proofs from nmt and tendermint's merkle package

References
tracking issue #459

Given the model for the light clients, we don't need the Merkle proof from the row/column roots to the availableDataRoot as the light clients are assumed to have the availableDataHeader. Thus, we will only need the first proof that will come from the NMT.

Nice, thanks for updating. I think we can close this issue then

There is still some work to be done here. I don't think that part is explicitly used in our code base:

Thus, we will only need the first proof that will come from the NMT.

This proof is currently only implicitly given when downloading the data via ipfs. But in fact, this should be used throughout the code-base (e.g. when querying for Txs using rpc). I'm at least not sure if this is already the case.


Updates Score api expected output

Description
Relates to https://github.com/jenkins-infra/plugin-site/pull/1431.
Simplify the description of the score API content.
Rather than having objects (which requires to be well described), we can provide the scoring components are a list and do the same of the probe composing the scorings.

Testing done
Updated the ScoreAPITest expected output.

### Submitter checklist
- [ ] If an issue exists, it is well described and linked in the description
- [x] The description of this pull request is detailed and explain why this pull request is needed
- [x] The changeset is on a specific branch. Using `feature/` for new feature, or improvements ; Using `fix/` for bug fixes ; Using `docs/` for any documentation changes.
- [ ] If required, the documentation has been updated
- [x] There is automated tests to cover the code change / addition or an explanation why there is no tests in the description.

Done in #355


fix: update InstantiateMsg for lockdrop vault in init-neutrond.sh

lockdrop vault has been deleted from genesis


compose: delete drafts with attachments

Draft messages containing attachments, polls, or to-dos were not being deleted after they were sent. This was occurring because only locally echoed draft messages were being deleted.
To resolve this issue, I implemented additional code in the send_message_success function to delete draft messages that were not locally echoed after they were successfully sent.
Fixes: #24063

Screenshots and screen captures:
https://user-images.githubusercontent.com/96344003/214677960-ae78e76b-219f-4ab4-b2b5-1b6f9ba61b15.mov
Initial image of draft (Before sending the draft with attachment)

Sending draft message with attachment

Later image of draft (After sending the draft message)

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x]  Corner cases, error conditions, and easily imagined bugs.

@laurynmm Please review the PR and suggest if any change is required.

@SahilSingh177 - Thanks for looking into this issue. This solution doesn't take into account if there is an error when the message is sent (either a networking error or a server error). In that case, the user's local draft could be deleted before getting confirmation that the message was successfully sent/saved/etc. in the database by the server.
I think that first figuring out why some drafts are being correctly deleted after being successfully sent and others are not will be key to understanding the issue and then working on how to solve it.
Looking at where draft_model.deleteDraft is being called in the frontend code would be where I might start. And reading the documentation on sending messages could also be helpful.

Thanks for the insight. I'll look into this.

Merged, after rewriting the commit message to be line-wrapped properly and explain in more formal language, explaining the issue and our analysis of it. Thanks for debugging this @SahilSingh177!
Check out the Zulip commit message guidelines for more details on writing great commit messages.


Async-SPI on ESP32: Unexpected behavior

(Issue originally raised on Matrix by @plaes)
Given this code
//! Connect MISO and MOSI pins
//!
//! The following wiring is assumed:
//! SCLK => GPIO0
//! MISO => GPIO2
//! MOSI => GPIO4

//% CHIPS: esp32 esp32c2 esp32c3 esp32c6 esp32h2 esp32s2 esp32s3
//% FEATURES: async embassy embassy-generic-timers embedded-hal embedded-hal-bus/async

#![no_std]
#![no_main]

use embassy_executor::Spawner;
use embassy_time::{Duration, Timer};
use embedded_hal::spi::Operation;
use embedded_hal_async::spi::SpiDevice;
use embedded_hal_bus::spi::ExclusiveDevice;
use esp_backtrace as _;
use esp_hal::{
    clock::ClockControl,
    dma::*,
    dma_descriptors,
    gpio::{Io, Level, Output},
    peripherals::Peripherals,
    prelude::*,
    spi::{
        master::{dma::SpiDma, prelude::*, Spi},
        FullDuplexMode,
        SpiMode,
    },
    system::SystemControl,
    timer::{timg::TimerGroup, ErasedTimer, OneShotTimer},
    Async,
    FlashSafeDma,
};
use esp_println::println;

// When you are okay with using a nightly compiler it's better to use https://docs.rs/static_cell/2.1.0/static_cell/macro.make_static.html
macro_rules! mk_static {
    ($t:ty,$val:expr) => {{
        static STATIC_CELL: static_cell::StaticCell<$t> = static_cell::StaticCell::new();
        #[deny(unused_attributes)]
        let x = STATIC_CELL.uninit().write(($val));
        x
    }};
}

const DMA_BUF: usize = 256;

#[cfg(not(any(feature = "esp32", feature = "esp32s2")))]
type SafeSpiDma = FlashSafeDma<
    SpiDma<'static, esp_hal::peripherals::SPI2, DmaChannel0, FullDuplexMode, Async>,
    DMA_BUF,
>;

#[cfg(any(feature = "esp32", feature = "esp32s2"))]
type SafeSpiDma = FlashSafeDma<
    SpiDma<'static, esp_hal::peripherals::SPI2, Spi2DmaChannel, FullDuplexMode, Async>,
    DMA_BUF,
>;

#[esp_hal_embassy::main]
async fn main(_spawner: Spawner) {
    esp_println::println!("Init!");
    let peripherals = Peripherals::take();
    let system = SystemControl::new(peripherals.SYSTEM);
    let clocks = ClockControl::boot_defaults(system.clock_control).freeze();

    let timg0 = TimerGroup::new(peripherals.TIMG0, &clocks);
    let timer0: ErasedTimer = timg0.timer0.into();
    let timers = [OneShotTimer::new(timer0)];
    let timers = mk_static!([OneShotTimer<ErasedTimer>; 1], timers);
    esp_hal_embassy::init(&clocks, timers);

    let io = Io::new(peripherals.GPIO, peripherals.IO_MUX);
    let sclk = io.pins.gpio0;
    let miso = io.pins.gpio2;
    let mosi = io.pins.gpio4;
    let cs = io.pins.gpio5;

    let dma = Dma::new(peripherals.DMA);

    #[cfg(any(feature = "esp32", feature = "esp32s2"))]
    let dma_channel = dma.spi2channel;
    #[cfg(not(any(feature = "esp32", feature = "esp32s2")))]
    let dma_channel = dma.channel0;

    let (descriptors, rx_descriptors) = dma_descriptors!(32000);

    let mut spi = Spi::new(peripherals.SPI2, 100.kHz(), SpiMode::Mode0, &clocks)
        .with_pins(Some(sclk), Some(mosi), Some(miso), Some(cs))
        .with_dma(
            dma_channel.configure_for_async(false, DmaPriority::Priority0),
            descriptors,
            rx_descriptors,
        );

    let cs = Output::new(io.pins.gpio18, Level::Low);

    let spi: SafeSpiDma = FlashSafeDma::new(spi);
    let mut spi_dev = ExclusiveDevice::new(spi, cs, embassy_time::Delay).unwrap();

    loop {
        let write_buf = &[1];
        let payload = &[5, 4, 3, 2, 1];

        println!("SPI 2 (write buffer)... ");
        let mut ops = [Operation::Write(write_buf), Operation::Write(payload)];
        let _ = spi_dev.transaction(&mut ops).await;

        println!("SPI 3 (read previous buffer)...");
        let mut read: [u8; 6] = [0x00u8; 6];
        let mut ops = [Operation::Read(&mut read)];
        let _ = spi_dev.transaction(&mut ops).await;
        println!("... result: {:?}", read);

        Timer::after(Duration::from_millis(1_000)).await;
    }
}

The output on ESP32 is:
SPI 2 (write buffer)...
SPI 3 (read previous buffer)...
... result: [5, 0, 0, 0, 0, 0]

Which is quite unexpected - should be result: [0, 0, 0, 0, 0, 0
On ESP32 the LA shows this:

On e.g. ESP32-C6 (and all other tested targets) the LA shows this:

So, on ESP32 the Read clocks out the previous buffer and since there is more data to clock out some garbage.
Still interesting that only the first byte makes it into the read-buffer.
The huge delay before the Read on ESP32-C6 compared to ESP32 is also interesting.

That's probably because the SPI driver in DMA mode doesn't disable the write side when reading is being done.
This logic here should also be done for DMA mode.
https://github.com/esp-rs/esp-hal/blob/237804efb602fe22542be36c90c919efc14879fd/esp-hal/src/spi/master.rs#L2997-L3000
Somewhere in here. https://github.com/esp-rs/esp-hal/blob/237804efb602fe22542be36c90c919efc14879fd/esp-hal/src/spi/master.rs#L2104-L2130


Add function to compute the modular exponentiation for BigInts

Implementation of the 'Left-to-right k-ary exponentiation' algorithm.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

Hi, this is my first pull request to a rust library. It definitely needs some documentation, but I thought it would be better to wait for some feedback first and add the documentation at the end.

Unfortunately I'm pretty unfamiliar with the implementation here, so it may be best to put this as an extension trait on crates.io instead of an extension trait in-tree.

It is an implementation of the LR-k-ary algorithm as described in the "Handbook of Applied Cryptography, 14.82".
Your idea to put this as an extension trait to crates.io is also OK for me.

Ok, let's take that strategy for now, thanks regardless for the PR though!


Support for Canal networking

Only flannel and calico networks are supported. It would be nice to have canal networking support too
https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/#pod-network

I'll take a look at this. From the first look, should not be very complicated at all.

This is fixed in #70 therefor this can be closed now.


[Spring Cloud Gateway]: RewritePath GatewayFilter not working for local forward route

Spring cloud Gateway version: 4.1.0
I have configured a route as follows which has downstream endpoint to a local REST API implemented in the gateway application itself as RestController:
spring:
  cloud:
    gateway:
      routes:
        - id: LocalRoute
          predicates:
            - Path=/local/**
          uri: forward:/local
          filters:
            - RewritePath=/local/(?<segment>.*), /token/$\{segment}

REST API is implemented as follows:
@GetMapping(value="/local/token", produces = MediaType.APPLICATION_JSON_VALUE)
public Mono<ResponseEntity<String>> createToken() {
   // Code to generate token and return in JSON format
}

When request is sent with url http://example.com:8080/local/token from Postman client, then request is intercepted correctly by the Gateway application.
RoutePredicateHandlerMapping | Route matched: LocalRoute
RoutePredicateHandlerMapping | Mapping [Exchange: GET http://example.com:8080/local/token] to Route{id='LocalRoute', uri=forward:/local, order=0, predicate=Path: [/local/**], match trailing slash: true, gatewayFitlers=[[[RewritePath /local/(?<segment>.*) = '/local/${segment}'], order = 1]], metadata={}}

Note: Request is first intercepted by Gateway app and then custom pre global filters are executed instead of directly by REST endpoint (by Spring DispatcherHandler) due to overridden configuration as described in below post:
https://stackoverflow.com/questions/70618318/spring-cloud-gateway-as-a-gateway-as-well-as-web-application
@Component
public class RequestMappingHandlerMappingBeanPostProcessor implements BeanPostProcessor {
    @Override
    public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException {
        if (bean instanceof RequestMappingHandlerMapping) {
            ((RequestMappingHandlerMapping) bean).setOrder(2); // After RoutePredicateHandlerMapping
        }
        return bean;
    }
}

However when request is forwarded to local REST endpoint then the path segment is not getting appended in uri. That is the request is forwarded as /local instead of /local/token due to which request gets into recursion and throw StackOverflow exception.
Rest endpoint is not reached due to mismatch in request uri.
Note: When the endpoint is changed to http://localhost:8080/local (not with forward: prefix) for testing, then RewritePath filter appends path segment and result correctly to http://localhost:8080/local/token
I have referred following documents to fix the problem but none of them is workin:
https://docs.spring.io/spring-cloud-gateway/reference/spring-cloud-gateway/gatewayfilter-factories/rewritepath-factory.html
https://stackoverflow.com/questions/48865174/spring-cloud-gateway-proxy-forward-the-entire-sub-part-of-url
How to append path segment in local forward route in Spring Cloud Gateway?

Forward uri's are a path, so when you say forward:/local it's going to forward it to /local regardless of any path manipulation.

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


Whitelist Digital Marketplace Jenkins IP

What
Whitelist Digital Marketplace Jenkins IP
How to review
Code check. Check that the IP matches one in support case #3635
Who can review
not @mtekel

LGTM


Few more Event based test-cases

also updated to LTE version of .NET Core i.e. 2.1.
Ref: https://dotnet.microsoft.com/platform/support/policy/dotnet-core

oh! i will revert the change then.

Awesome, thanks so much again!


correct base-images

use k8s.gcr.io for all images (Eventually this may not point to gcr.io/google-containers)
use the debian-iptables image on all architectures instead of debian-base on not-amd64, I suspect the images for other architectures don't work currently

/cc @MrHohn

cc @yuwenma


Added 5 java Solutions of Leetcode Problem.

Additionally, submit these solutions on LeetCode and share the submission links, it would be easier to verify.

Hey @code-chaser I have updated .

Sorry for the delay, let me check.

Additionally, submit these solutions on LeetCode and share the submission links, it would be easier to verify.

Umm, this 😅
Also, regarding the file naming thing, here:

decode_ways.java -> decode-ways.java
design_Circular _Queue.java -> design-circular-queue.java
similarly for all the other files.

If you have any doubt you can ask.
Sorry for the inconvenience and thanks for your patience!

Hey @code-chaser sorry for the mistake I have changed it again..


[WIP] Flannel and kube-proxy daemonsets

[WIP] Please do not merge yet
This builds upon https://github.com/kubernetes/kube-deploy/issues/176
Since CNI has been merged into docker-multinode with https://github.com/kubernetes/kube-deploy/pull/115, it would be great to have self hosted flannel and kube-proxy as daemon-sets. That is what this pull request is about.
Most of the work for this is in the hyperkube: see PR https://github.com/kubernetes/kubernetes/pull/29848, which goes hand in hand with this one.
The biggest issue is how to cleanly propagate configuration (such as the MASTER_IP) to the daemonsets.
I've tested this in a two node setup, all addons were running correctly and I managed to deploy the guestbook example without issues.
@luxas @cheld @zreigz

@luxas I found a comment from you about kube-proxy in deamon-set: https://github.com/kubernetes/kubernetes/issues/23225#issuecomment-227194754.
If I understand you correctly, you suggest that the api-server creates a config-map with the master-IP implicitly - more or less similar to kube-system namespace. This seems straightforward.  Is this a task someone can pick up?
Should we put flannel and kube-proxy  in a static pod in the meanwhile? (not so nice, as the configuration is distributed)

Flannel is going to be dependent on this PR: https://github.com/coreos/flannel/pull/483 (no etcd, yay!)
kube-proxy daemonset in turn is going to get it's credentials from /var/lib/kubelet/kubeconfig that is mounted into the container, and populated in beforehand by the ./master.sh and ./worker.sh scripts

I've updated this PR for the new KubeSubnetMgr in flannel. It uses a hyperkube image (to be changed later) with these changes, building on top of v1.4.0-alpha.3. The kube-proxy daemonset which uses the kubeconfig of kubelet is also there.
Some notes:

hyperkube needs to be bumped to 1.4.0 for the flannel ConfigMap to work
addone-manager's kubectl needs to be bumped to 1.4.0 for the the same reason
/rootfs needs to be mounted to hyperkube for kubelet, so that it can access  /rootfs/etc/kubernetes/cni/net.d (populated by the flannel ds pod)
kube-proxy needs to be functional for flannel to work, as the new flannel implementation uses an InClusterClient to talk to the API-server on <IP_ADDRESS>
controller-manager's --cluster-cidr in hyperkube needs to be kept in sync with the flannel overlay config
One small issue: Using v1.4.0-alpha.3, I think the kube-proxy falls back to using an InClusterClient if the kubeconfig generated by docker-multinode has MASTER_IP set to localhost on the master node. This is a chicken and egg problem, if I'm not mistaken, since it will try to access <IP_ADDRESS>. This behaviour is fixed in k8s HEAD (this line changed to this). Correct me if I'm wrong.

What do you think?

docker-multinode has been removed so I'm going to close this PR.

This change is


Errors with v0.7.0-rc.1

Just tried v0.7.0-rc.1 on a test cluster and had many reconciler errors:
level=info ts=2023-09-18T13:23:52.690231504Z caller=servicelevelobjective.go:90 controllers=ServiceLevelObjective reconciler=servicelevelobjective namespace=dummy/slo-backend-myapp-auth-identity-latency msg="updating prometheus rule" namespace=dummy name=slo-backend-myapp-auth-identity-latency
2023-09-18T13:23:52Z	ERROR	Reconciler error	{"controller": "servicelevelobjective", "controllerGroup": "pyrra.dev", "controllerKind": "ServiceLevelObjective", "ServiceLevelObjective": {"name":"slo-backend-myapp-auth-identity-latency","namespace":"dummy"}, "namespace": "dummy", "name": "slo-backend-myapp-auth-identity-latency", "reconcileID": "9555b7ae-72b9-45d0-a822-e5b1118097e7", "error": "servicelevelobjectives.pyrra.dev \"slo-backend-myapp-auth-identity-latency\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	sigs.k8s.io/controller-runtime@v0.16.1/pkg/internal/controller/controller.go:329
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	sigs.k8s.io/controller-runtime@v0.16.1/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	[sigs.k8s.io/controller-runtime@v0.16.1/pkg/internal/controller/controller.go:227](http://sigs.k8s.io/controller-runtime@v0.16.1/pkg/internal/controller/controller.go:227)

To fix the issue, Pyrra's SLO CustomResourceDefinition needs to be updated before upgrading.

[!WARNING]
The example below is for v0.7.0-rc.1, please change it accordingly if you read this in the future.

How to fix for v0.7.0-rc.1:
kubectl apply -f https://raw.githubusercontent.com/pyrra-dev/pyrra/v0.7.0-rc.1/examples/kubernetes/manifests/setup/pyrra-slo-CustomResourceDefinition.yaml

Would be nice to have an upgrade guide or a section in the documentation.
@metalmatze What's the best place to put this?

Thanks for the report.
Usually Kubernetes operators get deployed with the CRD. Upgrading isn't an exception to that.
Update the CRD and all deployments in one go.
I'm happy to have that written into the README, next to the installation guide to make it more obvious.
How does that sound?

That's true, but it also depends on the deployment material and the deployment method.
In this case, I was using Pyrra's helm chart, which doesn't support this release candidate.
Sounds good, will make a PR when I have time.

Since the chart now supports 0.7.x, this is not relevant anymore.
Closing the issue.


Profile themes are not how they are supposed to show as

Please elaborate.
The issue should have been fixed with c5b9dd7.


Easy private IP setup

TL;DR
When I am creating a database in the Cloud Console, disabling the public IP and setting up a private IP is as easy a checking a box. Using the Postgres submodule in this repo, it is significantly more difficult, as you have to configure a google_compute_global_address and a google_service_networking_connection and wire it all together before applying your database.
The basic idea is to move the provisioning on these two resources into the database module so it is just as easy to configure private IPs here as it is in Cloud Console.
Terraform Resources
No response
Detailed design
No response
Additional information
No response

Another addition to this request would be a way to look up and automatically connect to the PSC network if it already exists. I'm following the Cloud Foundation Toolkit Example Foundation, and the PSC network, address allocation, etc, is created in the 3-networks step. I'm not working in an app-infra project (step 5) and need to create a Cloud SQL database in the project with a private IP. I can't find any documentation on how to do this either with this module or with the base Google terraform provider.

@j-windsor We have a private service access module that helps set this up. Here is an example
https://github.com/terraform-google-modules/terraform-google-sql-db/blob/643e6e58c24560f936ee6bb0574cde17e080fb10/examples/mysql-private/main.tf#L40

@dataplex thanks for the report. I opened another issue to track your request.


[BUG] Importing Notes doesnt work on its own and also loses reminder setting.

Describe the bug
Exporting and Importing Calendar notes loses info and doesn't work as expected.
To Reproduce

Create two identical calendars in two different worlds.
Create a note in one of them and customize it (text, color etc)
Export Calendar Notes
Import the file to the other world.

Expected behavior
To retain all customization and work when you select to export only notes.
Screenshots
If I export just the Notes, like this

It doesn't do anything. I'd have to export/import the calendar configuration too. If this is intended design, then what does it export/import with just the Notes selected?
The 2nd issue is that, the "remind me" options which colorizes also the notes when turned on (I think) doesnt get applied after the import.
Foundry Information

SC version 2.4.3
Additional context
Add any other context about the problem here.

Sorry about the delay in getting back to you, I was on vacation for the past little bit and am just getting back into this.
So the export does export the notes properly, the issue is that the import functionality has a bug where it doesn't see notes unless a calendar configuration is also attached.
I am currently rebuilding the import to make sure that notes can be imported alone or with a calendar configuration.
The remind me option may not be properly being applied, I will check that out as well while doing this.


the Spiderpool IPAM allocates IPs slowly with large subnet

What help do you need？
I'm using Calico with Spiderpool to provide fixed IP capabilities for StatefulSet applications. Since there's no need for underlay network connectivity, I've configured the pod CIDR as an overlay network segment, <IP_ADDRESS>/10. The SpiderIPPool subnet is also set to <IP_ADDRESS>/10, with the ips spanning the entire range from <IP_ADDRESS> to <IP_ADDRESS>. The issue I'm encountering is that after the Pods are created, they remain in the ContainerCreating state for an extended period, waiting for the CNI to allocate IPs-sometimes over a minute. Upon checking the Spiderpool agent logs, it appears that the requests are queuing up. I captured some CPU profiles using pprof and noticed that most of the time is spent on ipdiffset. Suspecting that the large network segment might be the issue, I changed the IPs from a /10 to a /20 subnet, which significantly sped up the allocation process.
Additionally, only about 10 Pods were created, so the concurrency was quite low. Please help identify the reasons for the slow allocation. Thank you.
Here is the IPAM duration with the /10 subnet:

Here is the IPAM duration with the /20 subnet:

Here are the CPU performance metrics:

Here are the memory performance metrics:

Thank you, this question is very meaningful and we have paid attention to it.

@iziang  the fix is on the way  https://github.com/spidernet-io/spiderpool/pull/3583

done


feat: add copied notice for copy button #877

I made the notification for the copy button this way, if there is any problem I can fix it.

Dark Notice
Light Notice

thanks for the suggestion! I have noticed a few details; also you can run tests locally (as you can see, prettier is complaining).

i fixed issues and run locally tests.


Question about the scaling factor

Hello, this work looks really interesting!
I've got one question about the scaling factor: is this method capable of retrieving the correct scaling factor during inference? Is this possible thanks to the (correctly scaled?) "meanshape" estimation?
Thanks in advance

Hi @AlbertoRemus ,
Yes, during inference the method predicts a pose that is composed of a scaling factor, a translation and a rotation.
It is not related to the meanshape estimation, all the meanshapes have roughly the same size that is scaled according to the scale value predicted by the pose module.

Hi @AlbertoRemus , apologies for the late reply.
If I remember correctly, you're right. The projection is weakly perspective because we apply the projection using the same distance/scale factor for the entire object. If you have pictures of objects which are very close to the camera, you may not be able to learn and predict those objects perfectly due to the perspective distortions. I think the model could still be able to learn meaningful shapes if the distortions are limited.
Regarding the code you linked, we use a constant "base" z value, but also a scale factor scale (that the model learns to predict) that is used to change the size of the object instead of predicting a variable distance from the camera.
Regarding your case in particular, if you have the object orientation and translation, I think you're still using a weak perspective projection, since your translation on the z is fixed for each object (i.e. you apply the same transformation to each of its points, even if the points are at slightly different z distances from the camera).
If you have different z values in the dataset, I think you can either predict them directly or fix a z value and compute a scale factor, based on the actual z and the fixed z (and the focal length).
I hope this helps, please let me know if you have any other questions or something is not clear 🙂


Modular Input Decorators

In an attempt to have similar design patterns to how custom search commands are created, and also to make the definition of the scheme, member access to configuration values, automatic casting of configuration types, and convenient .spec file generation, I implemented a proof of concept for decorators for the Script class.
It mimics much of how the search command decorators are implemented, with changes where necessary.
The functionality isn't fully complete, and is lacking validation of decorator parameters, but before spending a lot more time polishing and making it complete I wanted to get feedback regarding the willingness of the SDK team to merge such a PR, and also to get early feedback regarding which pieces the team would want implemented differently.
The summary of what this PR accomplishes is shown in this code snippet:
from splunklib.modularinput import Configuration, Script, Argument
import sys

@Configuration(use_single_instance=True)
class DevSDKScript(Script):
    a_string_argument = Argument(data_type=Argument.data_type_string, description="A String Argument")
    a_boolean_argument = Argument(data_type=Argument.data_type_boolean, description="A Boolean Argument")
    a_number_argument = Argument(data_type=Argument.data_type_number, description="A Number Argument")

    # for inputs that need to perform preliminary actions (preparation) with knowledge of the entire set of inputs
    def preflight(self, input_items, ew):
        for input_name, input_item in input_items:
            ew.log("INFO", "{0} preflight".format(input_name))

    # process_input is called once per configured input to be more convenient, not requiring the developer
    #  to implement the interation themselves
    # stream_events is still overrideable if the developer prefers the existing method
    def process_input(self, input_name, input_item, ew):
        ew.log("INFO", "{0} stream_event".format(input_name))
        ew.log("INFO", " a_string_argument: {0}".format(input_item.a_string_argument))
        ew.log("INFO", " a_boolean_argument: {0}".format(input_item.a_boolean_argument))
        ew.log("INFO", " a_number_argument: {0}".format(input_item.a_number_argument))

    # for inputs that need to perform post actions (cleanup) with knowledge of the entire set of inputs
    def postflight(self, input_items, ew):
        for input_name, input_item in input_items:
            ew.log("INFO", "{0} postflight".format(input_name))

if __name__ == "__main__":
    sys.exit(DevSDKScript().run(sys.argv))

Hi @micahkemp-splunk, right now the team is focused on addressing bug fixes and security updates so I'm not sure when an enhancement like this would be possible but could you break down what you are trying to address/make easier a bit more? This will help us determine the right priority. Also let us know if this is still something you are interested in pursuing, I know it's been nearly two years since this was put up.
For example, I think you're addressing at least four different usability problems:

Decorators for easier specification of configuration
Allowing users to define modular input arguments and validators similar to search commands such that argument parsing and validation is enforced by default by the Script class rather than requiring users to implement parsing and validation themselves
Providing separate methods for each stage of input gathering - preflight, process_input, and postflight
Enforcing that process_input is called only once per configured input: it would be great to understand how you intend to accomplish this or the issue you have with the current stream_events implementation


Error when using ThemeData

Steps to Reproduce
The error started after adding ThemeData to the MaterialApp.
void main() {
  //debugPaintSizeEnabled = true;
  runApp(new MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    final starredItem = new BottomNavigationBarItem(
        icon: new Icon(Icons.star), title: new Text("Starred"));
    final searchItem = new BottomNavigationBarItem(
        icon: new Icon(Icons.search), title: new Text("Search"));
    final bookmarksItem = new BottomNavigationBarItem(
        icon: new Icon(Icons.collections_bookmark),
        title: new Text("Bookmarks"));
    final myBooksItem = new BottomNavigationBarItem(
        icon: new Icon(Icons.library_books), title: new Text("My Books"));
    final profileItem = new BottomNavigationBarItem(
        icon: new Icon(Icons.person), title: new Text("Profile"));

    final bottomNavigationItems = [
      starredItem,
      searchItem,
      bookmarksItem,
      myBooksItem,
      profileItem
    ];

    return new MaterialApp(
      theme: new ThemeData(
        primaryColor: Colors.black45,
        primaryColorDark: Colors.black,
        primaryColorLight: Colors.black26,
        accentColor: Colors.amberAccent
      ),
      title: 'Flutter Demo',
      home: new Scaffold(
        appBar: new AppBar(title: new Text('Cronicalia'),),
        body: new Column(
          children: <Widget>[
            new Expanded(
                child: new ListView(
                  children: [
                    new Image.asset(
                  'images/lake.jpg',
                  width: 600.0,
                  height: 240.0,
                  fit: BoxFit.cover,
                ),
              ],
            )),
          ],
        ),
        bottomNavigationBar: new BottomNavigationBar(
          onTap: (int index) {},
          items: bottomNavigationItems,
          fixedColor: Colors.black45,
          currentIndex: 0,
        ),
      ),
    );
  }
}

Logs
I/flutter (25870): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter (25870): The following assertion was thrown building WidgetsApp-[GlobalObjectKey
I/flutter (25870): _MaterialAppState#a2348](dirty, state: _WidgetsAppState#5c897):
I/flutter (25870): 'package:flutter/src/widgets/title.dart': Failed assertion: line 24 pos 15: 'color != null &&
I/flutter (25870): color.alpha == 0xFF': is not true.
I/flutter (25870): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter (25870): more information in this error message to help you determine and fix the underlying cause.

For more information about diagnosing and reporting Flutter bugs, please see https://flutter.io/bug-reports/.

I found the issue. The shades of blacks I was using have transparency (Colors.black45 and Colors.black26).
I think this is misleading. Maybe you could consider using a name like Colors.tranparentBlack45. I was getting a lot of strange shades when using black and now I know why.

I ran into this issue as well before. The documentation in title.dart explains that the color needs to be opaque since it is used by the Android operating system. And drilling into the implementation of colors like Colors.black45 shows that they have transparency. Renaming those colors would be a breaking change and wouldn't necessarily provide enough value to warrant breaking, so for now, we'll leave it as-is.
I'm going to close this issue, as it is behaving as expected.

@rami-a At least make it throw something we can understand.

Non-fatal Exception: java.lang.Exception: 'package:flutter/src/widgets/title.dart': Failed assertion: line 24 pos 15: 'color != null && color.alpha == 0xFF': is not true.
at .new(title.dart:24)
at _WidgetsAppState.build(app.dart:1381)
at StatefulElement.build(framework.dart:4619)
at ComponentElement.performRebuild(framework.dart:4502)
at StatefulElement.performRebuild(framework.dart:4675)
at Element.rebuild(framework.dart:4218)
at ComponentElement._firstBuild(framework.dart:4481)
at StatefulElement._firstBuild(framework.dart:4666)
at ComponentElement.mount(framework.dart:4476)
at Element.inflateWidget(framework.dart:3446)
at Element.updateChild(framework.dart:3214)
at ComponentElement.performRebuild(framework.dart:4527)
at Element.rebuild(framework.dart:4218)
at ComponentElement._firstBuild(framework.dart:4481)
at ComponentElement.mount(framework.dart:4476)
at Element.inflateWidget(framework.dart:3446)
at Element.updateChild(framework.dart:3214)
at ComponentElement.performRebuild(framework.dart:4527)
at StatefulElement.performRebuild(framework.dart:4675)
at Element.rebuild(framework.dart:4218)
at ComponentElement._firstBuild(framework.dart:4481)
at StatefulElement._firstBuild(framework.dart:4666)
at ComponentElement.mount(framework.dart:4476)
at Element.inflateWidget(framework.dart:3446)
at Element.updateChild(framework.dart:3214)
at ComponentElement.performRebuild(framework.dart:4527)
at StatefulElement.performRebuild(framework.dart:4675)
at Element.rebuild(framework.dart:4218)
at ComponentElement._firstBuild(framework.dart:4481)
at StatefulElement._firstBuild(framework.dart:4666)
at ComponentElement.mount(framework.dart:4476)
at Element.inflateWidget(framework.dart:3446)
at Element.updateChild(framework.dart:3214)
at ComponentElement.performRebuild(framework.dart:4527)
at StatefulElement.performRebuild(framework.dart:4675)
at Element.rebuild(framework.dart:4218)
at ComponentElement._firstBuild(framework.dart:4481)
at StatefulElement._firstBuild(framework.dart:4666)
at ComponentElement.mount(framework.dart:4476)
at Element.inflateWidget(framework.dart:3446)
at Element.updateChild(framework.dart:3214)
at RenderObjectToWidgetElement._rebuild(binding.dart:1148)
at RenderObjectToWidgetElement.mount(binding.dart:1119)
at RenderObjectToWidgetAdapter.attachToRenderTree.(binding.dart:1061)
at BuildOwner.buildScope(framework.dart:2607)
at RenderObjectToWidgetAdapter.attachToRenderTree(binding.dart:1060)
at WidgetsBinding.attachRootWidget(binding.dart:941)
at WidgetsBinding.scheduleAttachRootWidget.(binding.dart:922)

I ran into the same issue when using ThemeData.from() without explicitly specifying a primaryColor via copyWith. Is this also expected behavior? It feels lie a bug in the ThemeData.from().
    ThemeData.from(colorScheme: colorScheme, textTheme: textTheme).copyWith(
         //  primaryColor: generateMaterialColor(colorScheme.primary), // uncomment this line to solve the issue
);

This is happening on flutter stable.


Cicd changes

github actions cicd ssh attributes changed

I think you accidentally targetted the wrong repo for this PR again @kapil-bunni .


(setup): Fix setup function from being called twice

Setup function is being called more than once because currentScript is always defined and there are muliple exports of setup.js. not sure if this works or if it passes tests because I wasn't able to build the project.  Probably need to take a look at the contributing documentation and make sure its accurate.

This is happening because setup is being called in the button iframe too. So I don't think this fix is going to work.
On a side note, let me add some quick-start steps in the readme.

FYI: https://github.com/paypal/paypal-checkout/blob/master/README.md#development

@bluepnume So is checkout.js required on the iframe page as well, or is it there just to have the same version of xcomponent?  Couldn't you just have xcomponent?
Is setup required to be called on the iframe page?  If not can we make a param to does not call it if set?
If its required then can we get a logPrefix param?
logPrefix:  currentScript.getAttribute('data-log-prefix'),

Then on Hermes do "data-log-prefix="ppxo_hermes"

@bluepnume So is checkout.js required on the iframe page as well, or is it there just to have the same version of xcomponent? Couldn't you just have xcomponent?

No, the way xcomponent works, the component definition needs to live in both the parent and the child. This is also necessary so we can do things like rendering paypal.Checkout up from paypal.Button's iframe.

If its required then can we get a logPrefix param?

Yeah, that's a good idea. 👍


I'm sorry, but I don't have access to that information - Login and ACL

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Set up and tested  the app using GPT 3.5 and GPT4V.  Uploaded a lot of docs using the prepdocs.py, which could be retrieved by web app.
Then added in authentication and ACL - forcing users to login. ran the manage acls scripts. looked up a document to check my access and now I just get I dont know  as a response or  I'm sorry, but I don't have access to that information.. I can see from the thought process that the search is retrieving an empty set.
Do i need to reindex something ?

Any log messages given by the failure

Expected/desired behavior

It returned an answer based on the documents searched as before.
OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

azd version?

run azd version and copy paste here.
azd version 1.7.0 (commit 49d6adc2efb178083f61822e6b4715258560803d)

Versions

Mention any other details that might be useful

Thanks! We'll be in touch soon.

I should say it works fine in openai studio

Hm, I think the next thing I would try is:

Using the manageacls script to double check that you do have access to the document you expect to see, via command like:
./scripts/manageacl.ps1 --document [name-of-pdf.pdf] --acl-type [oids or groups]--acl-action view

Querying the search index in the Azure Portal index viewer for the relevant document (sourcefile eq "filename") and checking the oids/groups

Querying the search index in the Azure Portal with the same query used by the UI.

Perhaps the IDs aren't quite set correctly?
cc @mattgotteiner

Thanks. It seems okish

I have access

Querying the search index for the file
{
<EMAIL_ADDRESS>"https://gptkb-xxxxx.search.windows.net/indexes('gptkbindex')/$metadata#docs(*)",
<EMAIL_ADDRESS>{
"search": "had course guide.pdf",
"select": "sourcefile,oids,groups",
"filter": "sourcefile eq 'had course guide.pdf'",
"skip": 50
},
"value": [
{
<EMAIL_ADDRESS>8.523854,
"sourcefile": "had course guide.pdf",
"oids": [],
"groups": []
},
{
<EMAIL_ADDRESS>7.436149,
"sourcefile": "had course guide.pdf",
"oids": [],
"groups": []
},
(Multiple similar rows with lower scores ?)

Query was What courses does Hadlow college offer in animal management
{
"search": "What courses does Hadlow college offer in animal management",
"queryType": "semantic",
"semanticConfiguration": "default",
"captions": "extractive",
"answers": "extractive|count-3",
"queryLanguage": "en-US"
}

{
<EMAIL_ADDRESS>"https://gptkb-hdtqjlhd3jjw4.search.windows.net/indexes('gptkbindex')/$metadata#docs(*)",
<EMAIL_ADDRESS>[
{
"key": "file-had_course_guide_pdf-68616420636F757273652067756964652E706466-page-42",
"text": "full-time courses offer at hadlow campus course titlelevelfdsc in applied animal behavioural science & welfare4 & 5fdsc in zoo husbandry & animal management4 & 5fdsc in equine training and management4 & 5fdsc in horticulture - commercial4 & 5bsc top up in equine training and management6bsc top up in applied animal …",
"highlights": "full-time courses offer at hadlow campus course titlelevelfdsc in applied animal behavioural science & welfare4 & 5fdsc in zoo husbandry & animal management4 & 5fdsc in equine training and management4 & 5fdsc in horticulture - commercial4 & 5bsc top up in equine training and management6bsc top up in applied animal …",
"score": 0.83056640625
},
{
"key": "file-had_course_guide_pdf-68616420636F757273652067756964652E706466-page-63",
"text": "The College courses include: Full-time Further Education College delivered course - Levels 1-3 in Agriculture, Agricultural Engineering, Animal Management, Equestrian Studies, Fisheries Management, Floristry and Horticulture.",
"highlights": "The College courses include: Full-time Further Education College delivered course - Levels 1-3 in Agriculture, Agricultural Engineering, Animal Management, Equestrian Studies, Fisheries Management, Floristry and Horticulture.",
"score": 0.81494140625
},

"oids": [], "groups": []-  both are empty -that is the same bug i experienced after uploading files with ./scripts/manageacl.sh
see https://github.com/Azure-Samples/azure-search-openai-demo/issues/2064


Please add Richmond, VA

We need these confederate monuments gone and the police defunded!

DUE TO HIGH VOLUME EMPTY ISSUES WILL BE IMMEDIATELY CLOSED. PLEASE PROVIDE ALL INFORMATION. THANK YOU!!!! :^)

A subject message for the email
A list of emails (at least one) for the government officials you’d like to receive the message
A detailed message concerning the budgeting decisions that are at stake in your community

Please read more about our email style guidelines here.
If this information is copied from an external source please provide a link to the original source.
See our current links for examples at https://defund12.org.
Thank you!!


Create Model file for Object (face) Recognition in C++

I am doing research on face Recognition using tensorflow.
Can I please know how how to use the code to create model file for face recognition.
Task (required in C++)
I have 5 folders, each folder has 4 images of a particular person.
I would like to train the images and generate a model file from scratch.
I would then like to use the model file for recognizing one of the 5 persons.
Steps followed

https://www.tensorflow.org/tutorials/image_retraining

Issues

Its in Python , but I wanted in C++
It is not training the model file from scratch

2.https://github.com/tensorflow/models/tree/master/research/inception/inception
Issue Resolved

Model can be trained from scratch.

Unresolved Issue

Its in Python , but I wanted in C++

Please help me in creating the model file in C++

This question is better asked on  StackOverflow since it is not a  bug or feature request. There is also a larger community that reads questions there. Thanks!

I am sorry to say but haven't received any response in Stackoverflow yet - https://stackoverflow.com/questions/46909787/tensorflow-create-model-file-for-object-face-recognition-in-c


Firebase Auth using setTosAndPrivacyPolicyUrls does not provide clickable links

Hi there, I think I am in the right place, I have asked this question in stack overflow but it seems to me this is an issue with the Firebase code

Android device: Tested on Redmi Mi 9T . Also tested on Samsun Tablet, Pixel and ther devices. All same
Android OS version: 11, also on 8, 9 and 10
Google Play Services version: implementation 'com.google.android.gms:play-services-auth:19.2.0'
Firebase/Play Services SDK version:     implementation 'com.google.firebase:firebase-auth-ktx:21.0.1'
FirebaseUI version:     implementation 'com.firebaseui:firebase-ui-auth:7.2.0'

Step 3: Describe the problem:
I am following instructions from here
But the Terms of service on the bottom of the intial log in screen are not clickable at all, also they don't work on the Google Login, only oneworks  on the Facebook login, while they both work on the email login
Steps to reproduce:
I have a custom layout with this at the bottom:
<TextView
    android:id="@+id/terms_and_conditions"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:autoLink="all"
    android:fontFamily="@font/omnes_light"
    android:gravity="center"
    android:linksClickable="true"
    android:paddingLeft="20dp"
    android:paddingRight="20dp"
    android:paddingBottom="20dp"
    android:textSize="16dp"
    android:text="@string/terms_and_conditions_login"
    app:layout_constraintBottom_toBottomOf="parent"
    app:layout_constraintLeft_toLeftOf="parent"
    app:layout_constraintRight_toRightOf="parent" />

I have also tried swapping in and out these lines:
android:linksClickable="true"
android:text="@string/terms_and_conditions_login"

and taking out the tools:text line
Where the string is
<string name="terms_and_conditions_login">By continuing, you are indicating that you accept\nour Terms of Service and Privacy Policy.</string>
Code is mentioned below
Observed Results:
So: the buttons work correctly, but the Text at the bottom for the terms of service shows the text with just the words "Privacy Policy" in blue and none of it clickable. Also, as noted in this question when I get to the Google login, both links give an error that "No browser found to open this link"
In the facebook login, one link works and one doesn't (Terms and conditions doesn't work). In the Email login, both work perfectly. Obviously, I have checked the links and they are fine in all normal cases.
I really think I am doing things correctly, and I can't prove it but I think on an older version of your code it worked correctly
Expected Results:

I really would like the links to work everywhere for PP and TOS

Relevant Code:
Then in my code I have
private fun login() {
    val selectedProviders = mutableListOf<AuthUI.IdpConfig>()
    selectedProviders.add(AuthUI.IdpConfig.GoogleBuilder().build())
    selectedProviders.add(AuthUI.IdpConfig.FacebookBuilder().build())
    selectedProviders.add(AuthUI.IdpConfig.EmailBuilder().build())

    val customLayout = AuthMethodPickerLayout
            .Builder(R.layout.activity_login_init)
            .setGoogleButtonId(R.id.google_button)
            .setFacebookButtonId(R.id.facebook_button)
            .setEmailButtonId(R.id.email_button)
            .setTosAndPrivacyPolicyId(R.id.terms_and_conditions)
            .build()

    val authUi = AuthUI.getInstance().createSignInIntentBuilder()
            .setAuthMethodPickerLayout(customLayout)
            .setAvailableProviders(selectedProviders)
            .setTheme(R.style.AppTheme_NoActionBar)
            .setIsSmartLockEnabled(false)
            .enableAnonymousUsersAutoUpgrade()
            .setTosAndPrivacyPolicyUrls("https://www.mycompany.com/terms-conditions/", "https://www.mycompany.com/privacy-policy/")
            .build()

    signInLauncher.launch(authUi)

}

Have this problem as well -> "Also, as noted in this question when I get to the Google login, both links give an error that "No browser found to open this link"

Hi there @KibiH
I managed to reproduce your error and removing the android:autoLink attribute from the custom layout textview solved the issue on my side. Let me know if it works for you

Hi @thatfiredev
Thanks so much for looking into this issue. Also thanks for that tip.
Following your instructions,  I removed android:autoLink attribute from the custom layout textview.
It partially solved my problem. So now on the main Login page, I see two correct clickable links and they click through to the correct pages. However as I noted above, and as was written in this question when I click on the Google login, both blue links give an error: "No browser found to open this link". In the Facebook login the "terms and conditions" link goes to some bad address with a 404 (our link is ourwebsite.../terms-conditions/ but for some reason it is trying to go to ourwebsite..../terms-of-service/ ) and on the email logon they work.
So thanks for a partial solution - do you have the final pieces for me? Pretty please?

@KibiH I see a new answer on that same question https://stackoverflow.com/a/73019599/5861618
It suggests adding the links to the Cloud Console. Can you try that?

Hi @thatfiredev
Thanks so much for directing me to that link. Yes, this seems to have fixed the issue in Google login. Th only remaining problem is that the Facebook login the link to "terms" goes to the wrong address. If you tell me that this is a FB issue then I will happily close this issue

@KibiH I think it should be a similar process for Facebook:

Head to https://developers.facebook.com/apps/
Choose your app from the list
Click on Settings > Basic, you'll 2 fields where you can add the Privacy Policy and Terms of Service URLs


Update Swagger for docs

Signed-off-by: kagarmoe<EMAIL_ADDRESS>:nut_and_bolt: Description: What code changed, and why?
Manual update of Swagger for the API docs.

Outdated


NeonService: add MetricsPrefix

Metrics counters need a prefix to identify where they came from.
Add an optional metricPrefix parameter to the constructor and then expose this as a read-only MetricsPrefix property.  When this is passed, we'll use this for generating counter names etc. and when this is not passed, we'll drive the prefix from the service name.

[x] The metricsPrefix parameter should include only alphanumerics and underscores.  We'll convert anything else to underscores, append an underscore and then replace any double underscores with a single underscore.

[x] Prefixes based on the service name will do the same conversion.

[x] The built-in NeonService counters need to use the prefix.

[x] Update counter names for other services:

[x] neon-cluster-operator
[x] neon-node-agent
[x] neon-dashboard
[x] neon-sso-session-proxy

DONE


fix: A issue where a flag would be the negative value of itself after a bitwise op

A flag is stored a f64 internally but when a binary op (&) is performed it get's converted to a i32 and then the op is performed. But when compared (===) it's a f64 again. Which is now the negative value of itself because of the double conversion
This does not cause issues with negative numbers

This should be an issue with the other variants of bitflags which are <32 bits too right?

nope. The signbit of the float value will overwrite the sign bit of the 32 bit value. Which is not a issue when you take a 16 bit value and put it in a 32 bit "container"


Demo site is down

Hi, the demo site for easyMDE appears to be down.

Thank you for the report, will figure out what's wrong with the webserver

The website should now be online and stable again, my apologies for the interruption.

@Ionaru the site is still not accessible for me. Maybe you should check again.
Kind regards
Andi

grumble grumble grumble
Some kind of issue with docker is causing nginx to not let connections through, I still haven't found the cause but a restart of the docker daemon seems to have fixed it for now.
Thank you for notifying me!

Hi @Ionaru, I was passing by and saw that the demo seems down

Thanks for the report, this is a recurring issue I'm having with nginx and Docker for Windows.

The website is online again, apologies for the interruption.


Add to Service-OPS, make a dashboard to monitor tig usage profile

Monitor cloudwatch, update logs for more profile info.

Talk with Nikki


Scale ruby, iris and jade missing

Don't know if it's just the types, or the package, but I get the following error:
Type '"jade"' is not assignable to type '"gray" | "mauve" | "slate" | "sage" | "olive" | "sand" | "tomato" | "red" | "crimson" | "pink" | "plum" | "purple" | "violet" | "indigo" | "blue" | "cyan" | "teal" | "green" | "grass" | ... 8 more ... | "sky"'

Get the same error for ruby and iris

Are these new colors?

Looking at the commits in the radix colors repo (https://github.com/radix-ui/colors) they seem to have been added about a month ago.

Fixed in #16, not released yet.


Update Wallet Adapter

Description
This PR updates Wallet Adapter according to https://github.com/solana-labs/wallet-adapter/issues/604. This adds support for the Wallet Standard and updates Mobile Wallet Adapter.
The PR also adds yarn resolutions for @solana/web3.js and react to avoid multiple versions being resolved.
How has this been tested?
Building the project locally, opening the wallet modal and seeing Backpack and Glow detected as Standard Wallets, and connecting to Backpack without an adapter.
Types of changes

[x] Technical Debt (non-breaking change which removes unused code/assets)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[ ] The related ClickUp task has been linked to this PR
[ ] The person creating the pull request is listed in "Assignees"
[ ] Change requires updated documentation

Screenshots
Backpack and Glow detected as Standard Wallets, so they show up first.

Connected to Backpack without an adapter.

It's ready to merge! What are the issues with connecting/disconnecting though? Anything we need to be concerned about in the library?

I pushed some updates to this to include the latest Release Candidate of @solana/wallet-adapter-react and the latest version of @solana-mobile/wallet-adapter-mobile. Please let me know if your connect/disconnect issues persist!

Maybe don't merge yet, I'm reworking some things in the dependencies, will push a new version.

We're at RC 9, which looks likely to be the last RC. This PR updates GooseFX to use the latest RC. I'll follow up once we hit full release. There are no functional changes for apps with this update. It makes how wallets attach to the window more robust.

Yep, I'm done!

Hey! I think there's still a bug with mobile wallet adapter.
https://user-images.githubusercontent.com/13243/198368377-d8b5d732-c24e-4466-bae6-6147bad77880.mov
Are you, perchance, recreating the SolanaMobileWalletAdapter after connecting (eg. because memoization is getting busted?).

I'll fix this.

@steveluscher reporting another possible issue here: i don't get redirected to https://solanamobile.com/wallets when i click on the button with an android phone that has no wallet installed and seem to just get stuck on the loading state forever
https://user-images.githubusercontent.com/12636708/198526781-37b774bc-75cb-4827-aaea-efe677c4fb80.mp4


Spatial/Temporal Bounds/Resolution

Can we ignore this if we do the JSON-LD work on qube-configs in #712?


Update with 1.2.0 release notes

DO NOT MERGE
Signed-off-by: Fabio Utzig<EMAIL_ADDRESS>

@carlescufi @nvlsianpu @d3zd3z Please check if you have anything to add here!
@d3zd3z If imgtool changed in a way that breaks previous usage is this considered a breaking change of MCUBoot and we should release 2.x.x or is it OK to make it 1.2.0?
Btw, I am testing a small patch for Mynewt serial boot which I might have to PR later, but apart from that I did a some thorough testing of all functionality on Mynewt and basic sanity testing on Zephyr (thanks to @nvlsianpu for serial boot testing on Zephyr!) and all looks good.

I'm not real sure what we should do about the version number. I guess it depends on what we consider the API to be. If it includes imgtool, then yes this would be breaking.
But, I'd be more inclined to say it should still be 1.2 because we aren't changing the image format, which is kind of the API that matters. I wonder if @mbolivar has any comments on this, coming from a practical point of view.


Service call failed on launch start up

I dont have the kincetv2 yet but already used the launchfile for testing.  I get multiple service call fails when I start via the following. Is this ok?
Log file here. I just would like to get the depth-image topic, but can not see any yet. Is there a list which topics might be available?
baum@baum-ThinkPad-L520:~/catkin_ws$ roslaunch kinect2_bridge kinect2_bridge.launch
... logging to /home/baum/.ros/log/8b821768-d9ac-11e5-ac7c-8ca9827a5146/roslaunch-baum-ThinkPad-L520-29059.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://baum-ThinkPad-L520:41235/

SUMMARY
========

PARAMETERS
 * /kinect2_bridge/base_name: kinect2
 * /kinect2_bridge/base_name_tf: kinect2
 * /kinect2_bridge/bilateral_filter: True
 * /kinect2_bridge/calib_path: /home/baum/catkin...
 * /kinect2_bridge/depth_device: -1
 * /kinect2_bridge/depth_method: default
 * /kinect2_bridge/edge_aware_filter: True
 * /kinect2_bridge/fps_limit: -1.0
 * /kinect2_bridge/jpeg_quality: 90
 * /kinect2_bridge/max_depth: 12.0
 * /kinect2_bridge/min_depth: 0.1
 * /kinect2_bridge/png_level: 1
 * /kinect2_bridge/publish_tf: False
 * /kinect2_bridge/queue_size: 5
 * /kinect2_bridge/reg_devive: -1
 * /kinect2_bridge/reg_method: default
 * /kinect2_bridge/sensor:
 * /kinect2_bridge/use_png: False
 * /kinect2_bridge/worker_threads: 4
 * /kinect2_points_xyzrgb_hd/queue_size: 5
 * /kinect2_points_xyzrgb_qhd/queue_size: 5
 * /kinect2_points_xyzrgb_sd/queue_size: 5
 * /rosdistro: jade
 * /rosversion: 1.11.16

NODES
  /
    kinect2 (nodelet/nodelet)
    kinect2_bridge (nodelet/nodelet)
    kinect2_points_xyzrgb_hd (nodelet/nodelet)
    kinect2_points_xyzrgb_qhd (nodelet/nodelet)
    kinect2_points_xyzrgb_sd (nodelet/nodelet)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[kinect2-1]: started with pid [29077]
process[kinect2_bridge-2]: started with pid [29078]
process[kinect2_points_xyzrgb_sd-3]: started with pid [29079]
process[kinect2_points_xyzrgb_qhd-4]: started with pid [29080]
[ INFO] [1456177938.512262545]: Loading nodelet /kinect2_bridge of type kinect2_bridge/kinect2_bridge_nodelet to manager kinect2 with the following remappings:
process[kinect2_points_xyzrgb_hd-5]: started with pid [29096]
[ INFO] [1456177938.600562929]: waitForService: Service [/kinect2/load_nodelet] has not been advertised, waiting...
[ INFO] [1456177938.605438049]: Initializing nodelet with 4 worker threads.
[ INFO] [1456177938.652956791]: waitForService: Service [/kinect2/load_nodelet] is now available.
[ INFO] [1456177939.725829628]: [Kinect2Bridge::initialize] parameter:
        base_name: kinect2
           sensor: default
        fps_limit: -1
       calib_path: /home/baum/catkin_ws/src/iai_kinect2/kinect2_bridge/data/
          use_png: false
     jpeg_quality: 90
        png_level: 1
     depth_method: default
     depth_device: -1
       reg_method: default
       reg_devive: -1
        max_depth: 12
        min_depth: 0.1
       queue_size: 5
 bilateral_filter: true
edge_aware_filter: true
       publish_tf: false
     base_name_tf: kinect2
   worker_threads: 4
[FATAL] [1456177940.280519500]: Service call failed!
[FATAL] [1456177940.280526627]: Service call failed!
[FATAL] [1456177940.281116464]: Service call failed!
[kinect2-1] process has died [pid 29077, exit code -11, cmd /opt/ros/jade/lib/nodelet/nodelet manager __name:=kinect2 __log:=/home/baum/.ros/log/8b821768-d9ac-11e5-ac7c-8ca9827a5146/kinect2-1.log].
log file: /home/baum/.ros/log/8b821768-d9ac-11e5-ac7c-8ca9827a5146/kinect2-1*.log
[kinect2_bridge-2] process has died [pid 29078, exit code 255, cmd /opt/ros/jade/lib/nodelet/nodelet load kinect2_bridge/kinect2_bridge_nodelet kinect2 __name:=kinect2_bridge __log:=/home/baum/.ros/log/8b821768-d9ac-11e5-ac7c-8ca9827a5146/kinect2_bridge-2.log].
log file: /home/baum/.ros/log/8b821768-d9ac-11e5-ac7c-8ca9827a5146/kinect2_bridge-2*.log
[kinect2_points_xyzrgb_qhd-4] process has died [pid 29080, exit code 255, cmd /opt/ros/jade/lib/nodelet/nodelet load depth_image_proc/point_cloud_xyzrgb kinect2 rgb/camera_info:=kinect2/qhd/camera_info rgb/image_rect_color:=kinect2/qhd/image_color_rect depth_registered/image_rect:=kinect2/qhd/image_depth_rect depth_registered/points:=kinect2/qhd/points __name:=kinect2_points_xyzrgb_qhd __log:=/home/baum/.ros/log/8b821768-d9ac-11e5-ac7c-8ca9827a5146/kinect2_points_xyzrgb_qhd-4.log].
log file: /home/baum/.ros/log/8b821768-d9ac-11e5-ac7c-8ca9827a5146/kinect2_points_xyzrgb_qhd-4*.log
[kinect2_points_xyzrgb_hd-5] process has died [pid 29096, exit code 255, cmd /opt/ros/jade/lib/nodelet/nodelet load depth_image_proc/point_cloud_xyzrgb kinect2 rgb/camera_info:=kinect2/hd/camera_info rgb/image_rect_color:=kinect2/hd/image_color_rect depth_registered/image_rect:=kinect2/hd/image_depth_rect depth_registered/points:=kinect2/hd/points __name:=kinect2_points_xyzrgb_hd __log:=/home/baum/.ros/log/8b821768-d9ac-11e5-ac7c-8ca9827a5146/kinect2_points_xyzrgb_hd-5.log].
log file: /home/baum/.ros/log/8b821768-d9ac-11e5-ac7c-8ca9827a5146/kinect2_points_xyzrgb_hd-5*.log
[kinect2_bridge-2] restarting process
process[kinect2_bridge-2]: started with pid [29230]
[kinect2_points_xyzrgb_qhd-4] restarting process
process[kinect2_points_xyzrgb_qhd-4]: started with pid [29231]
[kinect2_points_xyzrgb_hd-5] restarting process
process[kinect2_points_xyzrgb_hd-5]: started with pid [29232]
[ INFO] [1456177940.610248787]: Loading nodelet /kinect2_bridge of type kinect2_bridge/kinect2_bridge_nodelet to manager kinect2 with the following remappings:
[ INFO] [1456177940.632336306]: waitForService: Service [/kinect2/load_nodelet] could not connect to host [baum-ThinkPad-L520:49166], waiting...
[kinect2_points_xyzrgb_sd-3] process has finished cleanly
log file: /home/baum/.ros/log/8b821768-d9ac-11e5-ac7c-8ca9827a5146/kinect2_points_xyzrgb_sd-3*.log
[kinect2_points_xyzrgb_sd-3] restarting process
process[kinect2_points_xyzrgb_sd-3]: started with pid [30404]

Hi,
could you build it in debug and start it in gdb to see where is crashes?

Yes I followed instrunctions for gdb:
`baum@baum-ThinkPad-L520:~/catkin_ws/devel/lib/kinect2_bridge$ gdb kinect2_bridge
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from kinect2_bridge...done.
(gdb) run
Starting program: /home/baum/catkin_ws/devel/lib/kinect2_bridge/kinect2_bridge
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Traceback (most recent call last):
File "/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in
from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named 'libstdcxx'
[New Thread 0x7fffdc310700 (LWP 3346)]
[New Thread 0x7fffdac61700 (LWP 3349)]
[New Thread 0x7fffda460700 (LWP 3351)]
[New Thread 0x7fffd9c5f700 (LWP 3352)]
[New Thread 0x7fffd945e700 (LWP 3358)]
[New Thread 0x7fffd3fff700 (LWP 3359)]
[ INFO] [Kinect2Bridge::initialize] parameter:
base_name: kinect2
sensor: default
fps_limit: -1
calib_path: /home/baum/catkin_ws/src/iai_kinect2/kinect2_bridge/data/
use_png: false
jpeg_quality: 90
png_level: 1
depth_method: opencl
depth_device: -1
reg_method: opencl
reg_devive: -1
max_depth: 12
min_depth: 0.1
queue_size: 2
bilateral_filter: true
edge_aware_filter: true
publish_tf: false
base_name_tf: kinect2
worker_threads: 4
Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:106
106	../sysdeps/x86_64/strlen.S: No such file or directory.
(gdb) bt
#0  strlen () at ../sysdeps/x86_64/strlen.S:106
#1  0x00007ffff4b6d82e in __GI___strdup (s=0x0) at strdup.c:41
#2  0x00007fffe693d816 in ?? () from /lib/x86_64-linux-gnu/libudev.so.1
#3  0x00007fffe693f359 in ?? () from /lib/x86_64-linux-gnu/libudev.so.1
#4  0x00007fffe693f5f4 in udev_device_new_from_syspath () from /lib/x86_64-linux-gnu/libudev.so.1
#5  0x00007fffd826c707 in udev_device_new_from_devnum () from /lib/x86_64-linux-gnu/libudev.so.0
#6  0x00007fffee654be4 in ?? () from /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
#7  0x00007fffee65507a in ?? () from /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
#8  0x00007fffee64e4fc in ?? () from /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
#9  0x00007fffee62bd9c in ?? () from /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
#10 0x00007fffee6279e1 in glXQueryVersion () from /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
#11 0x00007ffff5713d34 in _glfwInitGLX () from /usr/local/lib/libfreenect2.so.0.2
#12 0x00007ffff570c451 in _glfwPlatformInit () from /usr/local/lib/libfreenect2.so.0.2
#13 0x00007ffff5704c34 in glfwInit () from /usr/local/lib/libfreenect2.so.0.2
#14 0x00007ffff56e81a5 in Timer (this=0x6c1640)
at /home/baum/catkin_ws/src_3party/libfreenect2/src/logging.cpp:203
#15 WithPerfLoggingImpl (this=0x6c1640)
at /home/baum/catkin_ws/src_3party/libfreenect2/src/logging.cpp:257
#16 libfreenect2::WithPerfLogging::WithPerfLogging (this=0x70b340)
at /home/baum/catkin_ws/src_3party/libfreenect2/src/logging.cpp:313
#17 0x00007ffff570289a in libfreenect2::OpenCLDepthPacketProcessorImpl::OpenCLDepthPacketProcessorImpl (this=0x70b340, deviceId=-1)
at /home/baum/catkin_ws/src_3party/libfreenect2/src/opencl_depth_packet_processor.cpp:236
#18 0x00007ffff56fc9e1 in libfreenect2::OpenCLDepthPacketProcessor::OpenCLDepthPacketProcessor (
this=0x709e60, deviceId=-1)
at /home/baum/catkin_ws/src_3party/libfreenect2/src/opencl_depth_packet_processor.cpp:717
#19 0x00007ffff56e0e26 in libfreenect2::OpenCLPacketPipeline::OpenCLPacketPipeline (this=0x6c1410,
deviceId=-1) at /home/baum/catkin_ws/src_3party/libfreenect2/src/packet_pipeline.cpp:151
#20 0x000000000044f996 in Kinect2Bridge::initPipeline (this=0x7fffffffca70, method=..., device=-1)
at /home/baum/catkin_ws/src/iai_kinect2/kinect2_bridge/src/kinect2_bridge.cpp:403
#21 0x000000000044e535 in Kinect2Bridge::initialize (this=0x7fffffffca70)
at /home/baum/catkin_ws/src/iai_kinect2/kinect2_bridge/src/kinect2_bridge.cpp:294
#22 0x000000000044c125 in Kinect2Bridge::start (this=0x7fffffffca70)
at /home/baum/catkin_ws/src/iai_kinect2/kinect2_bridge/src/kinect2_bridge.cpp:146
#23 0x00000000004478f0 in main (argc=1, argv=0x7fffffffd9d8)
at /home/baum/catkin_ws/src/iai_kinect2/kinect2_bridge/src/kinect2_bridge.cpp:1490
(gdb) quit
`

I also get this during debug build:
baum@baum-ThinkPad-L520:~/catkin_ws$            from /usr/include/pcl-1.7/pcl/visualization/cloud_viewer.h:39, from: can't read /var/mail//usr/include/pcl-1.7/pcl/visualization/cloud_viewer.h:39, baum@baum-ThinkPad-L520:~/catkin_ws$                  from /home/baum/catkin_ws/src/iai_kinect2/kinect2_viewer/src/viewer.cpp:32: from: can't read /var/mail//home/baum/catkin_ws/src/iai_kinect2/kinect2_viewer/src/viewer.cpp:32: baum@baum-ThinkPad-L520:~/catkin_ws$ /usr/include/pcl-1.7/pcl/visualization/area_picking_event.h: In member function ‘bool pcl::visualization::AreaPickingEvent::getPointsIndices(std::vector<int>&) const’: bash: syntax error near unexpected token ('
baum@baum-ThinkPad-L520:~/catkin_ws$ /usr/include/pcl-1.7/pcl/visualization/area_picking_event.h:64:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
bash: /usr/include/pcl-1.7/pcl/visualization/area_picking_event.h:64:30:: No such file or directory
baum@baum-ThinkPad-L520:~/catkin_ws$            if (nb_points_ == -1)

                          ^

`

to be sure i reinstalled libfreenect2 in this configuration:

and make install does outputs:
Install the project... -- Install configuration: "RelWithDebInfo" -- Up-to-date: /home/baum/freenect2/lib/libfreenect2.so.0.2.0 -- Up-to-date: /home/baum/freenect2/lib/libfreenect2.so.0.2 -- Up-to-date: /home/baum/freenect2/lib/libfreenect2.so -- Installing: /home/baum/freenect2/include/libfreenect2 -- Up-to-date: /home/baum/freenect2/include/libfreenect2/registration.h -- Up-to-date: /home/baum/freenect2/include/libfreenect2/logger.h -- Up-to-date: /home/baum/freenect2/include/libfreenect2/packet_pipeline.h -- Up-to-date: /home/baum/freenect2/include/libfreenect2/frame_listener_impl.h -- Up-to-date: /home/baum/freenect2/include/libfreenect2/frame_listener.hpp -- Up-to-date: /home/baum/freenect2/include/libfreenect2/libfreenect2.hpp -- Installing: /home/baum/freenect2/include/libfreenect2 -- Up-to-date: /home/baum/freenect2/include/libfreenect2/export.h -- Up-to-date: /home/baum/freenect2/include/libfreenect2/config.h -- Up-to-date: /home/baum/freenect2/lib/cmake/freenect2/freenect2Config.cmake -- Up-to-date: /home/baum/freenect2/lib/pkgconfig/freenect2.pc

Protonect is not building, I will suspend this and report later

libfreenect2 got build and is ok via proton gl check.  I am stuck under install point4: there is no rules inside freenect2 ( only include and lib). So it says no such file or directory

I cannot make sense of this and dont know which direction to go:

CMake Error at iai_kinect2/kinect2_bridge/CMakeLists.txt:22 (find_package):
By not providing "Findfreenect2.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"freenect2", but CMake did not find one.

Could not find a package configuration file provided by "freenect2" with
any of the following names:
freenect2Config.cmake
freenect2-config.cmake

Add the installation prefix of "freenect2" to CMAKE_PREFIX_PATH or set
"freenect2_DIR" to a directory containing one of the above files.  If
"freenect2" provides a separate development package or SDK, be sure it has
been installed.
-- Configuring incomplete, errors occurred!

mmh. I do have the first one from above under freenect2/lib/cmake/freenect2

I used ccmake . to solve it. Now I cannot generate because of cmake warning with eigen

CMake Warning at /opt/ros/jade/share/cmake_modules/cmake/Modules/FindEigen.cmake:62 (message):
The FindEigen.cmake Module in the cmake_modules package is deprecated.

Please use the FindEigen3.cmake Module provided with Eigen.  Change
instances of find_package(Eigen) to find_package(Eigen3).  Check the
FindEigen3.cmake Module for the resulting CMake variable names.
Call Stack (most recent call first):
iai_kinect2/kinect2_registration/CMakeLists.txt:31 (find_package)

I think I got it also I almost lost it, Wow. I have no Idea why the installation directory of libfreenect2 is not simply a module_path where cmake is looking by default, so I had to copy it into /lib eg. where cmake looks for default.

I am still wondering what point4 is for:

I am stuck under install point4: there is no rules inside freenect2 ( only include and lib).
Is it ok to have skipped it as I dont have the directory

`baum@baum-ThinkPad-L520:~/catkin_ws$ roslaunch kinect2_bridge kinect2_bridge.launch
... logging to /home/baum/.ros/log/71303404-da46-11e5-b8b6-74e50b7d17bc/roslaunch-baum-ThinkPad-L520-12298.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://baum-ThinkPad-L520:36684/
SUMMARY
PARAMETERS

/kinect2_bridge/base_name: kinect2
/kinect2_bridge/base_name_tf: kinect2
/kinect2_bridge/bilateral_filter: True
/kinect2_bridge/calib_path: /home/baum/catkin...
/kinect2_bridge/depth_device: -1
/kinect2_bridge/depth_method: default
/kinect2_bridge/edge_aware_filter: True
/kinect2_bridge/fps_limit: -1.0
/kinect2_bridge/jpeg_quality: 90
/kinect2_bridge/max_depth: 12.0
/kinect2_bridge/min_depth: 0.1
/kinect2_bridge/png_level: 1
/kinect2_bridge/publish_tf: False
/kinect2_bridge/queue_size: 5
/kinect2_bridge/reg_devive: -1
/kinect2_bridge/reg_method: default
/kinect2_bridge/sensor:
/kinect2_bridge/use_png: False
/kinect2_bridge/worker_threads: 4
/kinect2_points_xyzrgb_hd/queue_size: 5
/kinect2_points_xyzrgb_qhd/queue_size: 5
/kinect2_points_xyzrgb_sd/queue_size: 5
/rosdistro: jade
/rosversion: 1.11.16

NODES
/
kinect2 (nodelet/nodelet)
kinect2_bridge (nodelet/nodelet)
kinect2_points_xyzrgb_hd (nodelet/nodelet)
kinect2_points_xyzrgb_qhd (nodelet/nodelet)
kinect2_points_xyzrgb_sd (nodelet/nodelet)
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
process[kinect2-1]: started with pid [12316]
process[kinect2_bridge-2]: started with pid [12317]
process[kinect2_points_xyzrgb_sd-3]: started with pid [12318]
process[kinect2_points_xyzrgb_qhd-4]: started with pid [12319]
process[kinect2_points_xyzrgb_hd-5]: started with pid [12326]
[ INFO] [1456250031.852324821]: Loading nodelet /kinect2_bridge of type kinect2_bridge/kinect2_bridge_nodelet to manager kinect2 with the following remappings:
[ INFO] [1456250031.861009240]: waitForService: Service [/kinect2/load_nodelet] has not been advertised, waiting...
[ INFO] [1456250031.898318526]: Initializing nodelet with 4 worker threads.
[ INFO] [1456250031.906303124]: waitForService: Service [/kinect2/load_nodelet] is now available.
[ INFO] [1456250032.348491956]: [Kinect2Bridge::initialize] parameter:
base_name: kinect2
sensor: default
fps_limit: -1
calib_path: /home/baum/catkin_ws/src/iai_kinect2/kinect2_bridge/data/
use_png: false
jpeg_quality: 90
png_level: 1
depth_method: default
depth_device: -1
reg_method: default
reg_devive: -1
max_depth: 12
min_depth: 0.1
queue_size: 5
bilateral_filter: true
edge_aware_filter: true
publish_tf: false
base_name_tf: kinect2
worker_threads: 4
[Info] [Freenect2Impl] enumerating devices...
[Info] [Freenect2Impl] 8 usb devices connected
[Info] [Freenect2Impl] found 0 devices
[ERROR] [1456250032.540770761]: [Kinect2Bridge::initDevice] no Kinect2 devices found!
[ERROR] [1456250032.543927698]: [Kinect2Bridge::start] Initialization failed!
[FATAL] [1456250032.599816322]: Service call failed!
[kinect2_bridge-2] process has died [pid 12317, exit code 255, cmd /opt/ros/jade/lib/nodelet/nodelet load kinect2_bridge/kinect2_bridge_nodelet kinect2 __name:=kinect2_bridge __log:=/home/baum/.ros/log/71303404-da46-11e5-b8b6-74e50b7d17bc/kinect2_bridge-2.log].
log file: /home/baum/.ros/log/71303404-da46-11e5-b8b6-74e50b7d17bc/kinect2_bridge-2*.log
[kinect2_bridge-2] restarting process
process[kinect2_bridge-2]: started with pid [12499]
[ INFO] [1456250032.930016905]: Loading nodelet /kinect2_bridge of type kinect2_bridge/kinect2_bridge_nodelet to manager kinect2 with the following remappings:
[ INFO] [1456250032.976143775]: [Kinect2Bridge::initialize] parameter:
base_name: kinect2
sensor: default
fps_limit: -1
calib_path: /home/baum/catkin_ws/src/iai_kinect2/kinect2_bridge/data/
use_png: false
jpeg_quality: 90
png_level: 1
depth_method: default
depth_device: -1
reg_method: default
reg_devive: -1
max_depth: 12
min_depth: 0.1
queue_size: 5
bilateral_filter: true
edge_aware_filter: true
publish_tf: false
base_name_tf: kinect2
worker_threads: 4
[Info] [Freenect2Impl] enumerating devices...
[Info] [Freenect2Impl] 8 usb devices connected
[Info] [Freenect2Impl] found 0 devices
[ERROR] [1456250033.132945350]: [Kinect2Bridge::initDevice] no Kinect2 devices found!
[ERROR] [1456250033.135766289]: [Kinect2Bridge::start] Initialization failed!
[FATAL] [1456250033.139175826]: Service call failed!
[kinect2_bridge-2] process has died [pid 12499, exit code 255, cmd /opt/ros/jade/lib/nodelet/nodelet load kinect2_bridge/kinect2_bridge_nodelet kinect2 __name:=kinect2_bridge __log:=/home/baum/.ros/log/71303404-da46-11e5-b8b6-74e50b7d17bc/kinect2_bridge-2.log].
log file: /home/baum/.ros/log/71303404-da46-11e5-b8b6-74e50b7d17bc/kinect2_bridge-2*.log
[kinect2_bridge-2] restarting process
`

Of course, you have to install it somewhere where cmake looks for stuff, for example /usr/local/. I just saw, they changed the install instructions, ${HOME}/freenect2 will not work, previously it defaulted to /usr/local/
So finally it seems to work. Now you only need to connect the Kinect2 to a USB 3 port. Also make sure to that you have done: "Set up udev rules for device access: sudo cp ../platform/linux/udev/90-kinect2.rules /etc/udev/rules.d/, then replug the Kinect."

On 23 Feb 2016 18:02, "Thiemo Wiedemeyer"<EMAIL_ADDRESS>wrote:

Of course, you have to install it somewhere where cmake looks for stuff,
for example /usr/local/. I just saw, they changed the install
instructions, ${HOME}/freenect2 will not work, previously it defaulted to
/usr/local/
So finally it seems to work. Now you only need to connect the Kinect2 to a
USB 3 port. Also make sure to that you have done: "Set up udev rules for
device access: sudo cp ../platform/linux/udev/90-kinect2.rules
/etc/udev/rules.d/, then replug the Kinect."
—
Reply to this email directly or view it on GitHub
https://github.com/code-iai/iai_kinect2/issues/232#issuecomment-187819789
.

As I said there how to copy if the directory is not existent. Where do you want me to look for the udev rules?

Not that hard to find seriously...
https://github.com/OpenKinect/libfreenect2/blob/master/platform/linux/udev/90-kinect2.rules

https://github.com/OpenKinect/libfreenect2/blob/master/platform/linux/udev/90-kinect2.rules

Oh, I was looking inside the freenect2 directory. Sorry Thank you for your help it does work fine now. In case anyone wants to know ahead of time which topics are published right now I added a screenshot:


lz4 is broken on darwin until next release

Issue description
From the 1.9.1 release notes:

Note: this release has an issue when compiling liblz4 dynamic library on Mac OS-X. This issue is fixed in: https://github.com/lz4/lz4/pull/696.

This breaks things like gitAndTools.gitFull, gitSVN, and nix-prefetch-scripts.
Steps to reproduce
Attempt to build lz4-1.9.1 (tracking nixos-unstable).
Observe:
building
build flags: -j8 -l8 SHELL=/nix/store/5544q4fyc2cr0raqv6c6xhx6d9z1ccdj-bash-4.4-p23/bin/bash PREFIX=\$\(out\) INCLUDEDIR=\$\(dev\)/include LD=\$CC
make[1]: Entering directory '/private/tmp/nix-build-lz4-1.9.1.drv-0/source/lib'
compiling static library
compiling dynamic library 1.9.1
ld: unknown option: -soname=liblz4.so.1
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [Makefile:113: liblz4.so.1.9.1] Error 1
make[1]: Leaving directory '/private/tmp/nix-build-lz4-1.9.1.drv-0/source/lib'
make: *** [Makefile:52: lib-release] Error 2
builder for '/nix/store/1p6amz4jbw2lqp3bsd89kxifxc4n2s9p-lz4-1.9.1.drv' failed with exit code 2

Technical details

system: "x86_64-darwin"
host os: Darwin 18.5.0, macOS 10.14.4
multi-user?: yes
sandbox: no
version: nix-env (Nix) 2.2.2
channels(root): "nixpkgs-19.03pre164964.b0f40b78513"
nixpkgs: /Users/JHENAHAN/src/dotnix/nixpkgs

Remedy
Until that PR lands in a release, it is sufficient to use an overlay like
self:
  super:
    {
      lz4 = super.lz4.overrideDerivation (attrs:
        {
          src = super.fetchFromGitHub {
            sha256 = "09c8g708gcnah5nd0m64dym17m10vg101yv2867lyp2mna7rsvh7";
            rev = "02914300185515097cdbebcd95c379508b5d3053";
            repo = "lz4";
            owner = "lz4";
          };
        });
    }

the fix is already in staging https://github.com/NixOS/nixpkgs/pull/60849

Closing and waiting around for #60849 to hit nixos-unstable :)


Add tests to footprint.yml

Fixes https://github.com/tmrowco/northapp-contrib/issues/368
Can't be merged right now the footprint.yml file is invalid and many tests as failing.

@martincollignon can you review the changes to footprints.yaml
@dafrie do you foresee any problems here?

This is awesome! 🙌
I have a few changes to the .eslintrc as well, should I push a commit and then we can bundle it here?

do it!

🤦 <-- me
💪<-- @corradio

lol!

waiting for @dafrie before going further


Mouse Click Events

Mouse events are essential for making a bar interactive.
For this first version the bar should be able to propagate mouse click events to the component that has been interacted with.

Implemented with 4f45942.