checkbox + boolean support

I have been playing with this crate and while it is relatively easy to use, I think more data types should be supported.
In particular booleans should be accepted cell value with a check box or something to toggle.
From a user perspective, If I were to have a something in a table that can be true or false, it would be better for the user to say click the checkbox and have the program set it to be true.
However, with the current state of things, with every cell expected to be a string value, I can only simplify things down to Y/N, even though I thought I saw that tables in FLTK can render these properly.

From what I understand, FLTK's table widget has 2 main apis, one for handling (viewing/modifying) large data, which is based on simple drawing of cells and data. Another api which can use widgets as children of the table, which might choke on large data.
This crate primarily targets the first role since it requires a lot of boilerplate.
The other role can be simply implemented directly using an fltk Table widget.

use fltk::{enums::*, prelude::*, *};

const ROWS: i32 = 6;
const COLS: i32 = 5;

struct MyTable {
    table: table::Table,
}

impl MyTable {
    pub fn new() -> Self {
        let mut table = table::Table::default()
            .with_size(400, 300)
            .center_of_parent();
        table.set_frame(FrameType::NoBox);
        table.set_rows(ROWS);
        table.set_cols(COLS);
        for i in 1..ROWS {
            if let Some((x, y, _, h)) = table.find_cell(table::TableContext::RowHeader, i, 0) {
                let mut f = frame::Frame::new(x, y, 80, h, None).with_label(&format!("row {}", i));
                f.set_frame(FrameType::ThinUpBox);
            }
        }
        for j in 1..COLS {
            if let Some((x, y, w, _)) = table.find_cell(table::TableContext::ColHeader, 0, j) {
                let mut f = frame::Frame::new(x, y, w, 25, None).with_label(&format!("col {}", j));
                f.set_frame(FrameType::ThinUpBox);
            }
        }
        for i in 1..ROWS {
            for j in 1..COLS {
                if let Some((x, y, w, h)) = table.find_cell(table::TableContext::Cell, i, j) {
                    if j == 2 {
                        button::CheckButton::new(x, y, w, h, None);
                    } else {
                        let mut i = input::Input::new(x, y, w, h, None);
                        i.set_value("");
                    }
                }
            }
        }

        table.end();
        Self { table }
    }
}

widget_extends!(MyTable, table::Table, table);

fn main() {
    let a = app::App::default();
    let mut win = window::Window::default().with_size(500, 400);
    let table = MyTable::new();
    win.end();
    win.show();
    a.run().unwrap();
}

It would benefit from a method to associate data with widgets, but adding this functionality to this crate seems a bit overkill.

I see. That’s understandable, though a little disappointing. Thanks for the reply.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Mohammed Alyousef @.>
Sent: Friday, March 18, 2022 5:19:49 AM
To: fltk-rs/fltk-table @.>
Cc: bryceac @.>; Author @.>
Subject: Re: [fltk-rs/fltk-table] checkbox + boolean support (Issue #9)
From what I understand, FLTK's table widget has 2 main apis, one for handling (viewing/modifying) large data, which is based on simple drawing of cells and data. Another api which can use widgets as children of the table, which might choke on large data.
This crate primarily targets the first role since it requires a lot of boilerplate.
The other role can be simply implemented directly using an fltk Table widget.
[image]https://user-images.githubusercontent.com/37966791/159001678-f502bb4d-c37e-4aeb-bcf2-243b3350f549.png
use fltk::{enums::, prelude::, *};
const ROWS: i32 = 6;
const COLS: i32 = 5;
struct MyTable {
table: table::Table,
}
impl MyTable {
pub fn new() -> Self {
let mut table = table::Table::default()
.with_size(400, 300)
.center_of_parent();
table.set_frame(FrameType::NoBox);
table.set_rows(ROWS);
table.set_cols(COLS);
for i in 1..ROWS {
if let Some((x, y, _, h)) = table.find_cell(table::TableContext::RowHeader, i, 0) {
let mut f = frame::Frame::new(x, y, 80, h, None).with_label(&format!("row {}", i));
f.set_frame(FrameType::ThinUpBox);
}
}
for j in 1..COLS {
if let Some((x, y, w, _)) = table.find_cell(table::TableContext::ColHeader, 0, j) {
let mut f = frame::Frame::new(x, y, w, 25, None).with_label(&format!("col {}", j));
f.set_frame(FrameType::ThinUpBox);
}
}
for i in 1..ROWS {
for j in 1..COLS {
if let Some((x, y, w, h)) = table.find_cell(table::TableContext::Cell, i, j) {
if j == 2 {
button::CheckButton::new(x, y, w, h, None);
} else {
let mut i = input::Input::new(x, y, w, h, None);
i.set_value("");
}
}
}
}
    table.end();
    Self { table }
}

}
widget_extends!(MyTable, table::Table, table);
fn main() {
let a = app::App::default();
let mut win = window::Window::default().with_size(500, 400);
let table = MyTable::new();
win.end();
win.show();
a.run().unwrap();
}
It would benefit from a method to associate data with widgets, but adding this functionality to this crate seems a bit overkill.
—
Reply to this email directly, view it on GitHubhttps://github.com/fltk-rs/fltk-table/issues/9#issuecomment-1072358034, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAHKMOQGNBONJPOSNWOGLJDVARYGLANCNFSM5Q2BOJHQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>

@MoAlyousef Comrade, I'm trying to use this as an example. For some reason, the scroll doesn't work.
Can you tell me how I can solve it?

Hello
You would need to place the Table inside a Scroll widget


libvirt: Fix shell reload

I experimented with moving the shell reload straight after the pipx ensurepath when discussing this with Magnus, but in the GHA once merged this doesn't seem to be working as the reload means the script ends, so we need to move this back.

I thought we concluded that launching a shell at the end of a script will make some sense on a local developer box, but if invoked in GHA, in a step without a tty, the shell would just immediately exit?
can you point to the failed run maybe?

The latest daily e2e test is the failed run: https://github.com/confidential-containers/cloud-api-adaptor/actions/runs/12356330516 and it's passing in this one. Sorry, I thought I'd reverted this after our discussion about it. I should have re-checked before I merged.


Replace Size and Pixel instances with simple objects

Creating new OpenLayers.Size and OpenLayers.Pixel instances should be avoided when a simple javascript object is sufficient. This saves many unneeded instances creation and parseFloat calls.
This pull request only change the internal code; no deprecation or API breakage ...
(partially based on #63)

It looks good. I just made a few minor, doc-related, comments.

@fredj, also, do you think we could have OpenLayers.Pixel and OpenLayers.Size display deprecation messages? (As mentioned in #63)

@elemoine: thanks for the review; I've update the branch. Can you take a second look please?
Regarding the deprecation of OpenLayers.Pixel and OpenLayers.Size: the code is not ready for that yet; I'm planning to open a new pull request later. (I realize that this pull request title was confusing.)

This sounds like a safe change. I'd like to give others a chance to express their opinions on this patch. So I'd say let's wait for a couple days before merging. Thank you @fredj.

@probins There is no API change: tileSize still need to be Size instance. The goal of this pull request is to avoid using complex classes where a simple javascript object is enough (to save unneeded instances creation and parseFloat calls).

ah yes, I see, Tile is still cloning it. Rats, can't get rid of my Size objects just yet then :-(

I think these changes look great.  I really like the idea of dividing up the effort here - keeping these changes restricted to use within the library and later addressing API changes.


Versioning and Release Notes

Will it be possible to create a dist folder and release the version of the software in there, so that while creating an issue one can refer to the version they are using. In addition, if there can be a release note accompanying the release, with new features and bug fixes, then it will be of great help.

That's a good idea. We can try


Add a way to open the default browser while going through the issue list

Is your feature request related to a problem? Please describe.
I would like to open a browser for a given issue to see it in a web view (attached files)
Describe the solution you'd like
I would like to have a keyboard shortcut when I'm in the TUI that will open the browser for a given URL. The URL is already available using the "c" shortcut but I would like to have an open browser directly.
Describe alternatives you've considered
I could copy the URL, open the browser, pasting the URL directly in and hit enter. It seems to be extra long.
Additional context
I think this package could be useful: https://github.com/skratchdot/open-golang

Hi @remyleone, does pressing Enter doesn't work for you?

Ah sorry, I thought it didn't work because the focus didn't change to the browser. Thanks a lot


Address WebServer

if I use the WebServer HTTP(80), that is, without an address, then when HTTP.begin() is called, the server starts at <IP_ADDRESS>:80. I use the standard web server from libretiny, not async from EspHome

And what's the issue? <IP_ADDRESS> obviously means "any address", that is, you can connect to it on any IP address the device has (for example, both WiFi station and AP).

That's right, I was wrong. Sorry, it just doesn't open the web, and for some reason I immediately thought of the wrong address.


TypeScript error: Property 'animateCamera' does not exist on type 'MapView'

Bug report

Summary

As the title states, I'm not sure why I'm getting the TypeScript error 'animateCamera' can not be found on 'MapView'.
Environment info

react-native info output:
System:
    OS: macOS 11.5.2
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 1.25 GB / 32.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.13.0 - ~/.nodenv/shims/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 7.15.1 - ~/.nodenv/shims/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.10.2 - /Users/chris/.gem/ruby/2.7.3/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
    Android SDK: Not Found
  IDEs:
    Android Studio: 4.0 AI-193.69<IP_ADDRESS>26763
    Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild
  Languages:
    Java: 13.0.1 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2
    react-native: 0.66.0 => 0.66.0
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

react-native-maps is 0.29.4 - just upgraded to see if the type error would go away
Steps to reproduce

Set a ref to the map.
Then try calling myMapRef.current.animateCamera(...)

Describe what you expected to happen:

animateCamera method should be exposed
Describe what you actually happens:

TypeScript warning: Property 'animateCamera' does not exist on type 'MapView'
Reproducible sample code

It's working as expected for me.


For now, only support .SRT format.

No, sorry, I don´t know about it. If you want, you can add this format to the library.

Thanks for the lightning fast reply.


ceph-facts: generate fsid on mon node

The fsid generation is done via a python command. When the ansible
controller node only have python3 available (like RHEL 8) then the
python command isn't necessarily present causing the fsid generation
to fail.
We already do some resource creation (like ceph keyring secret) with
the python command too but from the mon node so we should do the same
for fsid.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1714631
Signed-off-by: Dimitri Savineau<EMAIL_ADDRESS>

failure in podman scenario will be addressed in a dedicated PR


_check_angles bug fix

PR Summary:
Reorder the codes for _check_angles. Right now, even if verbose=True, the corresponding block of code will not be excuted because of the _error_or_warn line right before it.
PR Checklist

[ ] Includes appropriate unit test(s)
[ ] Appropriate docstring(s) are added/updated
[ ] Code is (approximately) PEP8 compliant
[ ] Issue(s) raised/addressed?

The code will continue if only the warning is raised.
Just look back at the code. So before, it seems like the if verbose: code is only activated if we pass in (assert_angles_params=False, verbose=True). So if we only pass in verbose=True without the assert=False, the code will error out without giving the missing parameters.
So I guess the question becomes whether we want to keep the old behavior (need to pass in both args) or just pass in verbose=True, the code will print out the missing params and then error out.


Implement custom AsyncValidator class

Hi,
I'm trying to create a async validator class, however I noticed there is no interface for it. I want to take this approach, because I want to use getIt dependency injection of my services into the validator.
Validator only have a sync interface.
And returning a ValidatorFunction is also a sync interface.
So I'm only left with the docs and implementing local function. Any ideas?
p.s. Love your reactive forms port by the way!

Hi @morrowyn,
Thanks for using Reactive Forms and for your kind words. As far as I understand about your issue is that you want to create a class that implements an interface like abstract class AsynValidator. The same way that is implemented the abstract class Validator. Is that what you are suggesting?
Please let me know, and best regards.

Hi @morrowyn,
Could you please clarify for me if is correct the answer in my first comment? I would like to know if is correct my understanding of what you want with this issue?
Best regards

Hi @morrowyn
The newly released version 15.0.0 brings the validators as classes and an AsyncValidator class. Now you can inherit from AsyncValidator to implement a custom validator class.
Thanks for the issue and the contribution.


Distribution Tests Linux (standalone subset) failed to get packages from ftp.debian.org

https://source.cloud.google.com/results/invocations/29f122f1-ff17-4f5b-88db-45f05813da2d/targets/grpc%2Fcore%2Fpull_request%2Flinux%2Fgrpc_distribtests_standalone/log
It looks like that the distribution test has problems in getting packages from ftp.debian.org.
Err http://deb.debian.org jessie-updates/main amd64 Packages

Err http://deb.debian.org jessie-updates/main amd64 Packages

Err http://deb.debian.org jessie-updates/main amd64 Packages

Err http://deb.debian.org jessie-updates/main amd64 Packages

Err http://deb.debian.org jessie-updates/main amd64 Packages

404  Not Found

This might be related to https://github.com/grpc/grpc/issues/18477.


bot_settings: Fix bot owner hidden dropdown menu.

This pull request fixes the issue regarding the hidden dropdown menu for the bot owners in the bot organization settings.
Fixes: #22169
Screenshots and screen captures:

Self-review checklist

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

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] 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.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Tested this PR on current Firefox on Linux. It works as expected.

Thanks @Lotiun and @sov-j !
@sahil839 could you please review this one?

I am not sure how changing postion property fixes this.
But this does not work correctly when screen size is small enough such that we have a vertical scrollbar in the modal as seen in the GIF below. Also, the space between dropdown and the buttons in the footer is also decreased as the result of this change.

@Lotiun can you respond to the feedback?

Thanks for all your work on this @Lotiun. Closing this PR since the issue was fixed by #25446.


Generics with parameterized fields

A model with a parameterized field such as this one:
@AutoValue
public abstract class ListResponse<T> {
  public abstract List<T> results();
}

Will produce:
this.resultsAdapter = gson.getAdapter(new TypeToken<List<T>>(){});

This doesn't work since T is erased during runtime.

Same issue happens when you have this :
public abstract class Base<T> {
  public abstract T value();
}

@AutoValue
public abstract class ChildInteger extends Base<Integer> {
}

Will produce:
private final TypeAdapter<T> valueAdapter;

Auto-value generate the correct type when using this pattern ($AutoValue_ChildInteger use the concrete type)


Support for functions

Describe the feature or improvement you're requesting
Pythonic support for functions as described in the feature announcement.
Additional context
No response

Seems like we can use like this
completion = openai.ChatCompletion.create(
    model="gpt-3.5-turbo-0613",
    messages=[{"role": "user", "content": "What is the weather like in Boston?"}],
    functions=[
        {
            "name": "get_current_weather",
            "description": "Get the current weather in a given location",
            "parameters": {
                "type": "object",
                "properties": {
                    "location": {
                        "type": "string",
                        "description": "The city and state, e.g. San Francisco, CA",
                    },
                    "unit": {"type": "string", "enum": ["celsius", "fahrenheit"]},
                },
                "required": ["location"],
            },
        }
    ],
)

And the response is

Right, saw the docs updated too. Leaving this open for Pythonic support tho haha, ie using either built-in or Pydantic types rather than horrors like "string" ;) Ideally, noting the safety issues, it should be taking an actual function as input, rather than JSON kinda-code.

I totally agree with that pythonic support. We want some sort of type safe stuff like TypedDict at least.

See how tools are implemented in Langchain, for example. You should just be able to pass a function and have it receive the JSON as kwargs.

I really happy if openai implement like that. I'm also thinking to wrap this in a pythonic way in my project, but this function calling needs descriptions or enum fields in properties, and i can't imagine where can we get description of passed function's parameter.

This is a real issue - even GPT-4 is apparently not yet reliably capable of returning consistent null values. I'm able to get more consistent results with carefully engineered "old fashioned" prompts for structured outputs as it stands anyhow, but my first impression is that this is not a "magic bullet" for getting machine-readable responses back...

I have made a simple converter that converts a Python function into this JSON: https://github.com/janekb04/py2gpt

I don't think this works properly with the new "function" feature, because in here it is clear that the "function_call" element of the "messages" map is not transmitted to the API backend:
https://github.com/openai/openai-python/blob/041bf5a8ec54da19aad0169671793c2078bd6173/openai/cli.py#L119-L121

That is for cli, and the ChatCompletion class which we actually use is this class. check out __init__.py, you can see the ChatCompletion is imported from api_resources.
https://github.com/openai/openai-python/blob/041bf5a8ec54da19aad0169671793c2078bd6173/openai/__init__.py#L19

Would you want something like runFunctions / runTools from the Node SDK?

We're working on something like this! We're tracking separately, so I'm going to close this issue. Keep an eye on our releases!

I built https://github.com/jackmpcollins/magentic to solve exactly this issue of translating between python objects and openai LLM queries. @francisjervis if you are still looking for a solution, you might be interested in checking out the docs on how function calling works in magentic: https://magentic.dev/function-calling/


Switch from django-tagging to django-taggit

This is related to issue #74. It might be a duplicate of issue #98, but I can't tell for sure what was being suggested in that issue.
Essentially, the state of things is this: django-tagging has been abandoned. The last commit was in January 2010. The docs are awful. It is not coming back.
django-taggit's last commit was in March 2011. Still a while ago, but much more recent than django-tagging. The docs are not perfect, but they are much better than django-tagging's docs.
As far as I can tell from using both tagging and taggit, taggit provides everything that anyone would need from a tagging app, and does it better and cleaner than tagging. It would be great to see zinnia make the switch.

Close until any progress.


subscribeAndWaitForMessage timeout - enhancement

It would be great to have some timeout option, otherwise you have an endless loop,
this is not ok in some situations.

`public function subscribeAndWaitForMessage($topic, $qos): string
{
$this->subscribe(
[
$topic => [
'qos' => $qos,
'function' => 'direct_return_message'
]
]
);
    $microtimeStart = microtime(true);
    do {
        $return = $this->proc();
        $microtime = microtime(true);

        if (($microtime - $microtimeStart) > 30  ){
            $return = '{"rtErr":"Time exceeded !"}';
        }
    } while ($return === true);
    return $return;
}`


Path detection selecting wrong path

Here's an example:
openapi: 3.0.1
info:
  title: Directus SDK
  description: Template for generating any kind of SDK.
  contact:
    email<EMAIL_ADDRESS>  license:
    name: GPL-3.0
    url: 'https://www.gnu.org/licenses/gpl-3.0.de.html'
  version: 1.0.0
externalDocs:
  description: Directus Docs
  url: 'https://docs.directus.io'
servers:
  - url: 'https://demo.directus.io/{project}'
    variables:
      project:
        default: thumper
        description: The project name
  - url: '/thumper'paths:
paths:
  # Projects
  /{project}:
    $ref: './paths/projects/project.yaml'
    servers:
      - url: 'https://demo.directus.io/'
  /server/projects:
    $ref: './paths/projects/projects.yaml'
    servers:
      - url: 'https://demo.directus.io/'
  /server/projects/{project}:
    $ref: './paths/projects/delete-project.yaml'
    servers:
      - url: 'https://demo.directus.io/'
  # Files
  /files:
    $ref: './paths/files/files.yaml'
  /files/{id}:
    $ref: './paths/files/file.yaml'
  /files/{id}/revisions:
    $ref: './paths/files/revisions.yaml'
  /files/{id}/revisions/{offset}:
    $ref: './paths/files/revision.yaml'

When you now try to call /files for example, it will match the /{project} endpoint to it. Instead, the priority should not be on the order but on the variables (Variables last).
So /abc before /{var} and /path/to/something before /path/to/{var}

Thanks! I believe this is a duplicate of https://github.com/RuntimeTools/OpenAPIValidators/issues/57 ?

Oh yea, sorry didn't check. 👍


Added From<Bound<'py, T>> impl for PyClassInitializer<T>.

This is a tiny change that allows Bound<T> to be returned from a pyclass's #[new] method, as is already supported for Py<T>.
This flexibility would be convenient in certain cases; for example, it is often desirable to have a constructor for use on the Rust-side that returns the type as a Python object (Py<T> or Bound<T>) instead of T directly (e.g. when you want to be able to downcast into T::BaseClass). And as long your desired arguments are the same as for your #[new] method, you can just reuse the same constructor for use from both Python and Rust. However, you are currently limited to getting a Py<T> from this, which usually has to be followed by .into_bound(py) if you want to do anything useful with it. But if you could have the #[new] method return Bound<T> instead, as implemented by this PR, then it would be more ergonomic to call from Rust (while making no difference on the Python side). I also think it just makes sense intuitively, since Bound<T> is essentially just Py<T> with superpowers.
In my opinion this change is too trivial to warrant adding tests, but let me know if you disagree and I can add some.

Please add a test -- they're not just to ensure that this implementation is correct (and I agree, it looks trivial), they're also to ensure that as we refactor and change our APIs in the future, we don't break this.

Please add a test -- they're not just to ensure that this implementation is correct (and I agree, it looks trivial), they're also to ensure that as we refactor and change our APIs in the future, we don't break this.

No problem, done!

Actually something failed, sorry I'll fix it.

Thanks

No problem, thanks for the merge!


Identify replica sets based on owner info provided by DCP, group applications by their replica set in resource dropdowns, add tests for console logs application resource grouping

Currently, we are grouping applications based on whether their display names are identical, instead of using the ExecutableReplicaSet property from DCP.
The approach I took was

Flow owner information, which includes the above property, from DCP through to the dashboard frontend
Modify the 'application grouping' view model creation logic to use the real replica set for a resource
Replace (replica set) with (application) on traces/logs resource dropdowns, because the OTLP applications there can be grouped, but are not replica sets.

Add a test around behavior for console logs view model creation (#1411)

Fixes #1411
Fixes #4103
Fixes #1233

Microsoft Reviewers: Open in CodeFlow

@JamesNK Could you advise on what to do about ResourceOutgoingPeerResolverTests.NameAndDisplayNameDifferent_MultipleInstances_ReturnName

does the previous behavior of ResourceViewModel.GetResourceName need to stay the same for containers?


Fix RTC resetting after reboot

This PR aims to fix the issue described here https://github.com/arduino/ArduinoCore-renesas/issues/181.
The issue can be described as follow: When the board is reset, or powered off with VRTC powered, the RTC time value is reset.

Hi, is there an ETA of when this PR will be merged and published?

Hi @workgroupengineering, since this PR required the FSP core to be recompiled, we are testing this to check whether we have any issues on other components. If you want you can apply this patch on your local core and report to us if you find any issues.

Thanks for the reply, I'll try

Portenta C33 + USB cable plugged -> reset button :+1:
Portenta C33 + Portenta breakout + CR2032 + USB cable -> reset button :+1:
Portenta C33 + Portenta breakout + CR2032 + USB cable -> disconnect usb cable :+1:

Portenta C33 retest after force push :+1:
UNO R4 Minima + USB cable plugged -> reset button :+1:  Thanks @aentinger
UNO R4 WiFi + USB cable plugged -> reset button :+1:
UNO R4 WiFi + USB cable plugged + external Vbat -> reset button :+1:
UNO R4 WiFi + USB cable plugged + external Vbat -> disconnect usb cable :+1:


Gateway (Write sample about spring-security + spring-cloud-gateway + AAD)

As title.

PR created: https://github.com/Azure-Samples/azure-spring-boot-samples/pull/144
Here is the link to preview: https://github.com/chenrujun/azure-spring-boot-samples/blob/udpate-samples-about-aad-spring-security/aad/spring-security/docs/reactive/webflux/oauth2/spring-cloud-gateway.md

Hi, @clavinovahan , please take a look about this sample, let me know if you have any questions.

Closing this issue, because related PR has been merged. https://github.com/Azure-Samples/azure-spring-boot-samples/pull/147


Take eye offset into account for depth in StandardMaterial3D

When using depth in StandardMaterial3D the eye offset wasn't taken into account giving the material a flat look when viewed in stereoscopic.
Note that eye_offset is set to vec3(0, 0, 0) for normal rendering and should just end up being ignored.
Fixes #73404

Thanks!

Cherry-picked for 4.1.1.


The Real Reason For this

I made this since For Kids TO have Fun and, to also Have My Personal Website.

That's why I made my site as well lol.

Question: Do you know how to use Lua with FNF Psych Engine? I know some friends that code with Lua but it's for Roblox, not FNF. I've been trying to learn how to use it so I can make things better with my mod. Do you think you could maybe help?


rebase: update golang version to v1.15.5

To fix math/big CVE, this version of golang has the fix
for this vulnerability.
CVE-2020-28362 cephcsi-container: golang: math/big: panic during recursive division of very large numbers
Signed-off-by: Mudit Agarwal<EMAIL_ADDRESS>

/retest ci/centos/mini-e2e/k8s-1.19
/retest ci/centos/mini-e2e/k8s-1.20

/retest ci/centos/mini-e2e/k8s-1.19
/retest ci/centos/mini-e2e/k8s-1.20

/retest ci/centos/mini-e2e/k8s-1.19

/retest ci/centos/mini-e2e/k8s-1.19

/retest ci/centos/mini-e2e/k8s-1.20

/retest ci/centos/mini-e2e/k8s-1.20

/retest ci/centos/mini-e2e/k8s-1.20

#1795 occurred here

/retest ci/centos/mini-e2e/k8s-1.20

#1795 occurred here

/retest ci/centos/mini-e2e/k8s-1.19
/retest ci/centos/mini-e2e/k8s-1.20

JFYI, a /retest comment can only contain a single CI job

/retest ci/centos/mini-e2e/k8s-1.19
/retest ci/centos/mini-e2e/k8s-1.20

JFYI, a /retest comment can only contain a single CI job

DS Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1906015

DS Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1906015

@nixpanic we need to backport it to DS 4.7 (I will create a separate PR for that)
Should this go to 3.2.1 also?

@nixpanic we need to backport it to DS 4.7 (I will create a separate PR for that)
Should this go to 3.2.1 also?

@nixpanic we need to backport it to DS 4.7 (I will create a separate PR for that)
Should this go to 3.2.1 also?

Downstream builds are done differently, so I do not think it matters much. We also do not need to discuss downstream topics in this repository.
The CVE text says:

Applications written in Go that use math/big via cryptographic packages including crypto/rsa and crypto/x509 are vulnerable and can potentially be caused to panic via a crafted certificate chain.

Ceph-CSI does not do certificate checks itself, although it is possible to pass a certificate for Vault. I deem it extremely unlikely that an admin creates a StorageClass with a vulnerable certificate and cause a problem, or re-configures the Vault service to provide a vulnerable certificate. It does not hurt to backport the change, but I do not see the need to do a new 3.2.x release with it.

@nixpanic we need to backport it to DS 4.7 (I will create a separate PR for that)
Should this go to 3.2.1 also?

Downstream builds are done differently, so I do not think it matters much. We also do not need to discuss downstream topics in this repository.
The CVE text says:

Applications written in Go that use math/big via cryptographic packages including crypto/rsa and crypto/x509 are vulnerable and can potentially be caused to panic via a crafted certificate chain.

Ceph-CSI does not do certificate checks itself, although it is possible to pass a certificate for Vault. I deem it extremely unlikely that an admin creates a StorageClass with a vulnerable certificate and cause a problem, or re-configures the Vault service to provide a vulnerable certificate. It does not hurt to backport the change, but I do not see the need to do a new 3.2.x release with it.


Maintenance Mode always detected

root@chainexplorer:/var/www/html/utility# php maint_crontab.php
10/19/2015 14:44:37 - 0: Beginning maintenance.
10/19/2015 14:44:37 - 1: Maintenance mode detected, exiting.

Before, following instructions, I created an entry in crontab that included running this php script but nothing seemed to be happening. I removed it from crontab and have tried running it manually for testing but this is all that's happening, even after restarting.
It's worked to an extent but has frozen on 12488 block:
http://chainexplorer.info/
I tried removing it as an incomplete block but maint_crontab won't let me resume giving me the same error. Thoughts?

Ive messaged Jake, hopefully what I just selected will also send him an alert or similar on github itself.
Ive been checking on your block explorer and I think Jake can explain the system, possible solutions etc better than anyone at the moment.

Hello,

If maintenance or loading was interrupted and the flags are still set, you can use the script "maint_resetflag.php" found in the utility directory to take it out of that maintenance mode.
The flags are necessary to ensure that two copies of the scripts don't start loading duplicate blocks.

I should've rtfm'd a little better, since I should've known that script did SOMETHING. My bad.
Looking like that'll fix it since it's working now. Once maint_crontab catches up with the blockchain count does it terminate (and thus why making a cronjob that runs every minute is necessary) or run indefinitely? Because I have it running in screen right now as a cheat and will just leave it like that if it'll work, but still have days to go before I have to worry about it (currently 20k blocks in, 880k to go)

Yes, when maint_crontab reaches the block height it found in the node when it was first executed, it will self terminate. That's also the reason for the maintenance mode flag.  If it takes several minutes to catch up with the node, we don't want another instance starting due to a shorter crontab timer and then both instances trying to load the same blocks.
I'm not sure the target block time for fedoracoin but you can set the crontab timer to approximately that, if it's more than a minute, and it would probably be fine.
If the VPS has low resources you could disable the crontab until the database is basically caught up, and it would let things proceed a little faster.  It only takes a moment to check the flags though, so it's probably not a big deal either way.


Remove conflicts from the counters doc.

Sorry, not sure how that happened.

LGTM, please merge.

As discussed on IRC, merging without waiting for checks since it's only doc changes.


We should not be able to write alphabets in the text boxes

Currently, we can write alphabets in the Bill Total and Tip text boxes, which results in a $NaN output.
This is because the input boxes are of type=text we can change them to type=number to solve this.
I would like to work on this issue.

Sure @Dharmik48! I've assigned it to you :)


travis tests

A quick set of compilation, linting and integration tests to run
on patches

Can this be closed? I cherry-picked this commit when merging Juliusz's master


Coordinates grid on Mapsui

Is it possible to create a coordinates grid on mapsui map? If so how could I achieve this?

I made a short sample. It is a Xamarin.Forms project, but uses only native Mapsui functions.
GridApp.zip

I'll give it a try. Thanks a lot @charlenni ! :)


OLS-332: remove pytorch_model.bin, load the embeddings model from model.safetensors

Description
On HF, the BAAI/bge-base-en embeddings model is stored in two formats: pickle'd pytorch_model.bin and model.safetensors. model.safetensors is preferable as more secure, so delete pytorch_model.bin after download and make RAG data smaller by 418MB.
Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[x] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library

Related Tickets & Documents

Related Issue # https://issues.redhat.com/browse/OLS-332
Closes #

Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] PR has passed all pre-merge test jobs.
[ ] If it is a core feature, I have added thorough tests.

Testing

Please provide detailed steps to perform tests related to this code change.
How were the fix/results from this change verified? Please provide relevant screenshots or results.

/lgtm

/retest

/lgtm
/approve

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.75%. Comparing base (8ef2294) to head (ad01ad4).
Report is 29 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #489      +/-   ##
==========================================
- Coverage   96.50%   95.75%   -0.76%
==========================================
  Files          45       48       +3
  Lines        1402     1577     +175
==========================================
+ Hits         1353     1510     +157
- Misses         49       67      +18

see 11 files with indirect coverage changes


How to compile static link library

I have encountered some problems with the ortools dynamic link library connected to the bazel project. Now I want to use the static link library link, but the document does not specify how to compile the static link library. Can you provide the compilation method? Thank you!

i do not know.

There are any news how to compile static library?

This is a bazel question, not an or-tools one. I do not specify static or
dynamic anywhere.
Le lun. 29 juin 2020 à 23:42, Pavel<EMAIL_ADDRESS>a écrit :

There are any news how to compile static library?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1709#issuecomment-651384302,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3PSYSFGI5GM5ST6KCTRZEDCZANCNFSM4JL7B2PQ
.

I think this is an OR-Tools question as the OR-Tools make files specify the /MD flag.
I have managed to compile OR-Tools as a static library for windows which does not need the C++ runtime.  Although this should be as simple as changing the /MD and /MDt flags to /MT and /MDt in the makefiles in the folder or-tools/makefiles, it turned out to be very involved because the changes don't work for all the dependencies.  Looking back at my notes I think the steps I took were as follows:
step 1
tools\make third_party
step 2
In dependencies\sources\zlib1.2.11\win32\makefile.msc change MD to MT, delete install files and make third party again
step 3
edit Makefile.win.mk in the makefiles folder to change MD to MT
and run  tools\make dotnet
step 4
In dependencies\sources\abseil-cpp... \build_cmake
edit CMakeCache to change all the MD  and MDt to MT and MTt
make third party and make dotnet
repeat for gflags and glog and protobuf
step 5
for CBC open the CBC solution file in visual studio and in the C/C++ code generation menu change the Runtime Library setting to Multithreaded /MT (see e.g.  https://helloacm.com/how-to-static-link-vc-runtime-in-visual-c/ )
delete all the obj files in port\obj folder
step 6
make dotnet again
Good luck to anyone trying to repeat this!

Side note: Since CMake 3.15 and CMP0091, by using the CMake based build, it will be easier to select it, thanks to the introduction CMAKE_MSVC_RUNTIME_LIBRARY, still need to propagate this flag to ortools and all its dependencies...

Hi. I would like to compile or-tools statically for unix(linux and macos). Is this possible?
Thank you

@DiegoJRAleixandre you should use the CMake based build instead, using -DBUILD_SHARED_LIBS=ON since we don't force to build static (except on windows)
see:
https://github.com/google/or-tools/blob/b77bd3ac69b7f3bb02f55b7bab6cbb4bab3917f2/CMakeLists.txt#L63-L64
https://github.com/google/or-tools/blob/b77bd3ac69b7f3bb02f55b7bab6cbb4bab3917f2/CMakeLists.txt#L76-L78
https://github.com/google/or-tools/blob/b77bd3ac69b7f3bb02f55b7bab6cbb4bab3917f2/cmake/cpp.cmake#L6
ref: https://cmake.org/cmake/help/latest/variable/BUILD_SHARED_LIBS.html

So in order to build the libraries as static in macOS and linux, I should just remove that flag (set it to OFF for UNIX too)?
Thank you, and pretty new to this so sorry if this are basic questions


为  增加theme props

This function solves the problem (这个功能解决的问题)
既然是主题编辑希望可以传入当前的配置，而不是只有默认的。希望能够增加像一样的props，能够使编辑器根据当前配置进行编辑。
Expected API (期望的 API)
props:
theme:  PropType<GlobalTheme | null>
themeOverrides: themeOverrides: PropType<GlobalThemeOverrides | null>

This issue does not have any recent activity. If you are still experiencing similar problems, open a new error, including a minimal copy of the problem


Create export directory before writing into it

This fixes a FileNotFoundException when the export directory didn't exists before serving the site in live mode.
Same as https://github.com/avisi-cloud/structurizr-site-generatr/blob/main/src/main/kotlin/nl/avisi/structurizr/site/generatr/GenerateSiteCommand.kt#L58
I guess before https://github.com/avisi-cloud/structurizr-site-generatr/pull/154 this was created implicitly somewhere when generating the diagrams.

This addresses https://github.com/avisi-cloud/structurizr-site-generatr/issues/159


Use boto3 to get temporary credentials to bypass windows cmd issue

The SAMLAssertion string was too long to be passed to the command line on windows, so this call has been updated to use boto3. Further updates due to paths not being checked for aws by subprocess module.

This looks great, thank you!


Add backward compatibility warning to release notes

Is your feature request related to a problem? Please describe.
PR #261 implemented #94, changing the url of the version, health and config endpoints. Warn users about this since it could break existing clients.
Describe the solution you'd like
Add warning to release notes as done for release 0.7. Consider bumping up version from 0.7.5 to 0.8.
Describe alternatives you've considered
N/A
Additional context
N/A

implemented as part of #275.


Assets for fpm presentation at FortranCon2021

There is a repository with public domain artwork for the fpm presentation given at FortranCon2021 (https://github.com/awvwgk/fpm-artwork).

Excellent, let's add that if you want under fpm/FortranCon2021 (or something similar)


Added the capability to specify time interval and removed function to…

… postprocess more than one feature and target set per step

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
#1829
What are the significant changes in functionality due to this change request?
Allows users to specify time intervals in ratio terms of the full time interval (pivot parameter). To prevent confusion, the capability to postprocess multiple pairs of features and targets in one single step has been deprecated. To postprocess multiple time intervals, the user will now have to create a new step and add it to the sequence.

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[ ] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

Job Mingw Test on 95a2587 : invalidated by @yoshiurr-INL
Random issue

I considered reenabling the multiple feature-target pairs but realized this would essentially require the user to create multiple DataObjects and OutStreams anyway due to potentially using different pivot parameters depending on how many data points is provided from the feature and target.
If we recall, 'pivotParameterFeature' and 'pivotParameterTarget' are utilized for this postprocessor. If the grids are nonuniform, it is possible for one transient to use 'pivotParameterFeature' and for another transient to use 'pivotParameterTarget' due to the auto-selection algorithm implemented to choose coarser grids and have the finer data interpolate/extrapolate.
Then, the pivot parameter for the output DataObject cannot be described using a single pivot parameter. To avoid this risk, I propose to keep the current changes.
For the suggestion to add an attribute to provide the user the choice to use ratio or raw time values, I agree that should be an option and will make changes ASAP.

The capability to use ratios and raw values is now available.

Job Test qsubs sawtooth on 7c94021 : invalidated by @yoshiurr-INL
Restart Sawtooth tests

Job Test qsubs sawtooth on d444b2f : invalidated by @yoshiurr-INL
Restart Sawtooth tests

Job Test qsubs sawtooth on d444b2f : invalidated by @yoshiurr-INL
Restart Sawtooth tests

Job Test qsubs sawtooth on d444b2f : invalidated by @yoshiurr-INL
Restart Sawtooth tests

Job Test qsubs sawtooth on 08e843a : invalidated by @yoshiurr-INL
Restart Sawtooth tests

Job Test qsubs sawtooth on 08e843a : invalidated by @wangcj05

PR checklist is satisfied.


Import Curl doesn't have body

I imported a curl request have body (copy from inspect of chrome, choose "Copy all as cURL (bash)). In Postman it has body, but not in keyrunner.

Issue has been fixed with Version#1.0.37

import curl text doesn't create a request.  Maybe because Keyrunner read and import all curl appeared in text. But Postman only import the first curl. I think it's no need to change.

yes, we import all the curl commands found and create a collection. Thank you !!


Inconsistent image display with WandB frontend

wandb, version 0.9.4
Python 3.7.8
Linux
Description
When uploading media from many different runs with different iterations / sec images are inconsistent.
Images are only shown with a browser refresh.
What I Did

Have many runs going simultaneously with different iters/run.
Goto project page.
Images don't show up.
Set slider to first or second step --> no images shown.
Images only shown correctly after refreshing.

  For production deploys, we configure an external bucket and a persistent queue implementation.  In the trial version of wandb/local we run Redis to queue file events and if the instance gets shutdown before all files are processed they will not be present in the UI.  Let's confirm you're actually missing file records.  From within the container you can run:
sudo mysql -D wandb_local
SELECT name FROM files WHERE run_name = "3a38emrr";

Then we can compare that list with the files you have on disk.

Hi @vanpelt ,
So looks like the files did finally appear, but took quite a while to properly propagate:
+--------------------------------------------------------------+
| name                                                         |
+--------------------------------------------------------------+
| code/main.py                                                 |
| config.yaml                                                  |
| diff.patch                                                   |
| media/graph/graph_0_summary_77cb566f.graph.json              |
| media/images/test_input_10_62f959c1.png                      |
| media/images/test_input_11_62f959c1.png                      |
| media/images/test_input_1_62f959c1.png                       |
| media/images/test_input_2_62f959c1.png                       |
| media/images/test_input_3_62f959c1.png                       |
| media/images/test_input_4_62f959c1.png                       |
| media/images/test_input_5_62f959c1.png                       |
| media/images/test_input_6_62f959c1.png                       |
| media/images/test_input_7_62f959c1.png                       |
| media/images/test_input_8_62f959c1.png                       |
| media/images/test_input_9_62f959c1.png                       |
| media/images/test_mean-perturbed-generated_10_a091f148.png   |
| media/images/test_mean-perturbed-generated_11_4f2900c9.png   |
| media/images/test_mean-perturbed-generated_1_1910e144.png    |
| media/images/test_mean-perturbed-generated_2_4ce919f5.png    |
| media/images/test_mean-perturbed-generated_3_11ed31fc.png    |
| media/images/test_mean-perturbed-generated_4_b516adea.png    |
| media/images/test_mean-perturbed-generated_5_9532d1ce.png    |
| media/images/test_mean-perturbed-generated_6_ad080a13.png    |
| media/images/test_mean-perturbed-generated_7_5354a9d0.png    |
| media/images/test_mean-perturbed-generated_8_635a631a.png    |
| media/images/test_mean-perturbed-generated_9_320f06ba.png    |
| media/images/test_memory_10_a26b2dda.png                     |
| media/images/test_memory_11_8797d008.png                     |
| media/images/test_memory_1_4fbc07e0.png                      |
| media/images/test_memory_2_fa8b6ddb.png                      |
| media/images/test_memory_3_47665165.png                      |
| media/images/test_memory_4_8e17d543.png                      |
| media/images/test_memory_5_9db4e290.png                      |
| media/images/test_memory_6_13b0040f.png                      |
| media/images/test_memory_7_418c0bc7.png                      |
| media/images/test_memory_8_838624ff.png                      |
| media/images/test_memory_9_cea43253.png                      |
| media/images/test_mosiac-generated_10_a78ecc08.png           |
| media/images/test_mosiac-generated_11_b7817536.png           |
| media/images/test_mosiac-generated_1_1910e144.png            |
| media/images/test_mosiac-generated_2_3ea21f39.png            |
| media/images/test_mosiac-generated_3_80aed177.png            |
| media/images/test_mosiac-generated_4_15848765.png            |
| media/images/test_mosiac-generated_5_552d10fc.png            |
| media/images/test_mosiac-generated_6_987ccc19.png            |
| media/images/test_mosiac-generated_7_463e5004.png            |
| media/images/test_mosiac-generated_8_04c4c691.png            |
| media/images/test_mosiac-generated_9_16783e15.png            |
| media/images/test_read-traces-minibatch0_10_995fec55.png     |
| media/images/test_read-traces-minibatch0_11_d21bc3a3.png     |
| media/images/test_read-traces-minibatch0_1_971c8d94.png      |
| media/images/test_read-traces-minibatch0_2_642292da.png      |
| media/images/test_read-traces-minibatch0_3_d9c71b45.png      |
| media/images/test_read-traces-minibatch0_4_cc66a5b5.png      |
| media/images/test_read-traces-minibatch0_5_e64aebc0.png      |
| media/images/test_read-traces-minibatch0_6_273cb434.png      |
| media/images/test_read-traces-minibatch0_7_c11f3bf0.png      |
| media/images/test_read-traces-minibatch0_8_fc858dd1.png      |
| media/images/test_read-traces-minibatch0_9_631b287f.png      |
| media/images/test_reconstruction_10_baadce9f.png             |
| media/images/test_reconstruction_11_1f9d9273.png             |
| media/images/test_reconstruction_1_d2c571aa.png              |
| media/images/test_reconstruction_2_b162f785.png              |
| media/images/test_reconstruction_3_d932e33c.png              |
| media/images/test_reconstruction_4_2235eb05.png              |
| media/images/test_reconstruction_5_af99612c.png              |
| media/images/test_reconstruction_6_deb2c929.png              |
| media/images/test_reconstruction_7_09704b41.png              |
| media/images/test_reconstruction_8_33edfd7b.png              |
| media/images/test_reconstruction_9_63f1ef8a.png              |
| media/images/train_input_10_0fa343c8.png                     |
| media/images/train_input_11_95f51c82.png                     |
| media/images/train_input_1_34a1d5d4.png                      |
| media/images/train_input_2_d046162f.png                      |
| media/images/train_input_3_7d86d1b4.png                      |
| media/images/train_input_4_ca5131c8.png                      |
| media/images/train_input_5_8dd3d680.png                      |
| media/images/train_input_6_9317c0a1.png                      |
| media/images/train_input_7_8ce9cf95.png                      |
| media/images/train_input_8_d8007113.png                      |
| media/images/train_input_9_6463d8e2.png                      |
| media/images/train_mean-perturbed-generated_10_b54b85b4.png  |
| media/images/train_mean-perturbed-generated_11_0fb961b4.png  |
| media/images/train_mean-perturbed-generated_1_475a50ea.png   |
| media/images/train_mean-perturbed-generated_2_e1b62153.png   |
| media/images/train_mean-perturbed-generated_3_3f28ed32.png   |
| media/images/train_mean-perturbed-generated_4_b39799d4.png   |
| media/images/train_mean-perturbed-generated_5_fa1efcba.png   |
| media/images/train_mean-perturbed-generated_6_23fdb778.png   |
| media/images/train_mean-perturbed-generated_7_1c1416ee.png   |
| media/images/train_mean-perturbed-generated_8_e5782731.png   |
| media/images/train_mean-perturbed-generated_9_2fa52b4e.png   |
| media/images/train_memory_10_33ef80c0.png                    |
| media/images/train_memory_11_2db84136.png                    |
| media/images/train_memory_1_661dbcf0.png                     |
| media/images/train_memory_2_6a6c5af3.png                     |
| media/images/train_memory_3_cbb0a6e6.png                     |
| media/images/train_memory_4_225be40b.png                     |
| media/images/train_memory_5_5ca3120c.png                     |
| media/images/train_memory_6_be473a2f.png                     |
| media/images/train_memory_7_871cc013.png                     |
| media/images/train_memory_8_d6c58600.png                     |
| media/images/train_memory_9_ffab958f.png                     |
| media/images/train_mosiac-generated_10_ca68604c.png          |
| media/images/train_mosiac-generated_11_6411da20.png          |
| media/images/train_mosiac-generated_1_475a50ea.png           |
| media/images/train_mosiac-generated_2_0818030b.png           |
| media/images/train_mosiac-generated_3_b5a23425.png           |
| media/images/train_mosiac-generated_4_a1c61d0c.png           |
| media/images/train_mosiac-generated_5_e0b4b3f8.png           |
| media/images/train_mosiac-generated_6_3fb18cdf.png           |
| media/images/train_mosiac-generated_7_bb473dc7.png           |
| media/images/train_mosiac-generated_8_5a899f5a.png           |
| media/images/train_mosiac-generated_9_b1605565.png           |
| media/images/train_read-traces-minibatch0_10_d3b4dc0e.png    |
| media/images/train_read-traces-minibatch0_11_a816032d.png    |
| media/images/train_read-traces-minibatch0_1_486c7452.png     |
| media/images/train_read-traces-minibatch0_2_2707d407.png     |
| media/images/train_read-traces-minibatch0_3_60daf4ad.png     |
| media/images/train_read-traces-minibatch0_4_f995b459.png     |
| media/images/train_read-traces-minibatch0_5_2c3b1d39.png     |
| media/images/train_read-traces-minibatch0_6_f7044779.png     |
| media/images/train_read-traces-minibatch0_7_7fd2cb43.png     |
| media/images/train_read-traces-minibatch0_8_3305d885.png     |
| media/images/train_read-traces-minibatch0_9_519f09c0.png     |
| media/images/train_reconstruction_10_1af3ed44.png            |
| media/images/train_reconstruction_11_c44ccb40.png            |
| media/images/train_reconstruction_1_fc2a7fa1.png             |
| media/images/train_reconstruction_2_4e92529f.png             |
| media/images/train_reconstruction_3_d291b25e.png             |
| media/images/train_reconstruction_4_e10eeb54.png             |
| media/images/train_reconstruction_5_f3eb84dc.png             |
| media/images/train_reconstruction_6_f3f80736.png             |
| media/images/train_reconstruction_7_d8d734bf.png             |
| media/images/train_reconstruction_8_e95ba55b.png             |
| media/images/train_reconstruction_9_fa6d8d42.png             |
| output.log                                                   |
| requirements.txt                                             |
| upstream_diff_3d9e8cf427f8b8d1868fa378e64a5ca4c8afdfe9.patch |
| wandb-metadata.json                                          |
| wandb-summary.json                                           |
+--------------------------------------------------------------+
141 rows in set (0.03 sec)

Is this to be expected? With Visdom I see results instantly propagated.

They should be showing up within seconds unless the instance is overloaded or under provisioned.  Can you check the system load inside the docker container next time you're running runs?  How much RAM / CPU does the instance have?  The suggested minimum is 4 CPU's and 8GB of RAM.

I'm currently running it on a 12core system with 80Gb of RAM and the file-system is backed with a Raid-0 SSD. htop reveals no major CPU / RAM usage issues.

How many images are you logging per second in the run?  Within the instance we can see them getting processed in the log: /var/log/gorilla-filemeta.log.  The python process asks our api for an upload url, then uploads the file to the Minio instance running in the VM.  Minio then sends an event to a redis queue and the gorilla-filemeta process consumes events from this queue and writes them to the DB.  It sounds like this queue is getting backed up for some reason, hopefully the log get's us more insight.

I tried running around 8 experiments simultaneously with each logging around 12 images per 10-20s. I wouldn't expect that to saturate the network or disk IO.
The logs you requested ( I didn't see anything obviously wrong there; I didn't a log-rotate version of these logs either ) :
https://gist.githubusercontent.com/jramapuram/fb081343b32ef993e0074af619098fcd/raw/775847ff969ecee49f602d84c414b99dac900dae/gorilla-filemeta.log
I think your original speculation might be right with the desync'd ordering.

Strange.  If you can send a simple script the reproduces the issue we can debug on our end and see what's going on.

I'll try to setup a minimal reproducible sample when I get some time and post back here.

I just had this happen with just 1 running experiment in local mode.

:8080/files/jramapuram/kpp3d_single_mem/12qla2f4/media/images/test_mosiac-generated0_343_5c4d83b1.png:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:8080/files/jramapuram/kpp3d_single_mem/12qla2f4/media/images/test_mean-perturbed-generated5_352_0f25651a.png:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:8080/files/jramapuram/kpp3d_single_mem/12qla2f4/media/images/test_mean-perturbed-generated7_356_5bd8859a.png:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:8080/files/jramapuram/kpp3d_single_mem/12qla2f4/media/images/test_input_341_9909e173.png:1 Failed to load resource: the server responded with a status of 404 (Not Found)

Hi there,I believe this is fixed in our latest release 0.10.x. Could you please kindly try the update and reopen this ticket if it's still a problem.


Simplify client testing

This looks like a big change, but I really just removed the complexity of running the client tests, and refactored the existing tests into more logically scoped ones.
TODO

[ ] make sure this is working in CI

Under this approach, if one of the tests fails, will it leave behind created workspaces?

Under this approach, if one of the tests fails, will it leave behind created workspaces?

It definitely can. This is still intended to be primarily a CI testing strategy, but it can certainly be helpful to run it locally as well.

Under this approach, if one of the tests fails, will it leave behind created workspaces?

It definitely can. This is still intended to be primarily a CI testing strategy, but it can certainly be helpful to run it locally as well.

Also, each time the CI runs, it's a fresh system so it wouldn't affect CI, just local testing.


The Windows install instructions to not take into account multirust users on windows

The lack of a path for the library files for windows users using multirust may cause confusion as it did with me, So I think we should add another line that explains where it is.

This should be alright now


Support mouse input

Support the following mouse events:
Move to certain locations (hover-above)
Click on certain locations.
Input Mouse up, Mouse down.
Drag to and from certain locations.

Drag and drope got its own issue #34
The rest of these issues were closed by f3ddd88b11858690c4240ee8418a4a2f646aa83d


Handle properties of builtin function separately from builtin objects

separate builtin function part to make code clear and to support 'name' property later
JerryScript-DCO-1.0-Signed-off-by: HyukWoo Park<EMAIL_ADDRESS>

Would it be possible to create a const uint16_t array with the names for each built-in function? This way there would be no need to store them in memory.

@zherczeg
I'm not sure that I correctly understand your comment,
but you mean that allocating one global array for storing names of builtin-functions, right?
That way would use more memory definitely, is it ok?

It is just a question. If we create a const array, it will goes to the read-only data, so it increase the binary size, but not the read/write memory consumption. Since each function has a unique built-in id, we can get the name of the function from this const array. However, if no built-in routine use more than 16 property, your patch could be good as well.

Hi @clover2123!
I'm planning to start the implementation of the function name property of script functions. To eliminate simultaneous work on this task, please let me know if you have already started it. :)

@zherczeg AFAIK every name of built-in routines could be represented by 16bit lit_magic_string_id_t.
@rerobika I'm going to implement 'name' property one by one starting from builtin function to normal function. But my work process would be of course slower than yours (for name of normal function, parser needs to store function name during the parsing. But I'm not familiar with jerryscript parser, so I have to dig into it now).
There is no problem if you take this item. I'll find another item after this patch.

This patch is still work-in-progress.
I'll update ecma_built_in_function_props_t to separate builtin function module from 'ecma_built_in_props_t` completely.

@clover2123 yes, the name can be represented as a 16 bit integer. My question is, whether the instantiation of the actual properties (length, etc.) can be fit into 16 bit for all of these routines? If yes, then splitting the 32 bit value into two 16 bit values is ok.

Hi @clover2123!
I'm interested about the status of the PR, since there was no activity in the last two weeks. The patch itself look good to me after the minor changes requested by @zherczeg , and we would like to land it soon. Do you have capacity to do the requested changes? If you don't, I can do the finals steps as well if you don't mind.

@rerobika
Sorry for late update.
I'll complete this patch soon.

@zherczeg @rerobika
Thanks for your review. I've updated this patch according to your comments.

@clover2123 We are planning to prepare for a release before long and the function name support for builtins/builtin routines are highly important for us. I think this PR was only a preparation for it and according to your previous contributions you are interested about it. Would you like to submit a PR for finalize this topic or let us/me to do the remaining work?

@rerobika
Yes, I'd like to complete name property implementation for builtins. But would you first let me know when a new release is scheduled? If the schedule is too tight for me, it would be better that you do the remaining work.

@clover2123 We are planning in feature freeze in the end of this week please consider your available time for this task according to it and please let me know your decision. :)

@rerobika
Oh.. sadly I don't have enough time to focus on this issue right now.
Would you please handle it?


#6262 sidebar consistency

aThank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[ ] Feature
[x] Refactoring

Needs QA check

@kodadot/qa-guild please review

Context

[x] Closes #6262
[ ] Requires deployment <snek/rubick/worker>

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

Screenshot 📸

[x] My fix has changed UI

Copilot Summary

They are all about the same height now, good.
@prachi00, when you changed the Connect Wallet sidebar to Connect Wallet, you also changed the profile to Connect wallet:

They are all about the same height now, good.
@prachi00, when you changed the Connect Wallet sidebar to Connect Wallet, you also changed the profile to Connect wallet:

arent they the same sidebar modal?

@prachi00 yes, but connect wallet is not what the profile sidebar is about

They are all about the same height now, good.
@prachi00, when you changed the Connect Wallet sidebar to Connect Wallet, you also changed the profile to Connect wallet:

arent they the same sidebar modal?

they are, but their states are different depending if the user has his/her wallet connected or not, for example:

the title here should be "connect wallet":

and once the user connects its wallet, it should be renamed to Profile:

@prury got it, fixed


stop and load new video

Hello, please help me urgently, what code do i use to load a new video and play when a video is already playing before.

hi @oluwabajio
Well, you can copy the application example MainActivity.java:
videoLayout = (FullscreenVideoLayout) findViewById(R.id.videoview);
videoLayout.setActivity(this);
videoLayout.setShouldAutoplay(false);
Uri videoUri = Uri.parse("http://techslides.com/demos/sample-videos/small.mp4");
try {
    videoLayout.setVideoURI(videoUri);
} catch (IOException e) {
    e.printStackTrace();
}

I hope it helps.

Thanks for your response, That code works fine if no video was playing at all, but in a situation where a video is already playing and you want to play another one, it shows illegalstate exception at this place
throw new IllegalStateException("FullscreenVideoView Invalid State: " + currentState);

inside setvideourl
public void setVideoURI(Uri uri) throws IOException, IllegalStateException, SecurityException, IllegalArgumentException, RuntimeException {
if (mediaPlayer != null) {
if (currentState != State.IDLE)
throw new IllegalStateException("FullscreenVideoView Invalid State: " + currentState);
        mediaPlayer.setDataSource(context, uri);

        currentState = State.INITIALIZED;
        prepare();
    } else throw new RuntimeException("Media Player is not initialized");
}

Oh, sorry, I didn't pay attention about videos that were already playing. You are right. That's because it follows the MediaPlayer states table.
In that case, I suggest you to call "reset()" before setting a new data source.
Unfortunately, I cannot test it right now but following MediaPlayer state diagram, I think that is the right way to do it.

if you call the reset(); method, before playing the video, the video wont play and the controls(seekbar, play button, etc wont be updated)

Hi @oluwabajio Oh, I see.
In fact, FulllscreenVideoLayout was created just as an example to use FullscreenVideoView.
I need to rebuild FullscreenVideoLayout as lots of people is tending to use it as a default implementation.
Until them, I recommend you to update the UI by yourself, extending FullscreenVideoLayout and overriding the reset() melhod.
It's very simple. You just need to update de seekbar and the progress text:
@Override
public void reset() {
    super.reset();

    seekBar.setProgress(0);
    textElapsed.setText("00:00");
    textTotal.setText("00:00");
}

There were just one problem in that solution. Because of some Android implementations, when we call reset(), the surface is not updated so, for newer Android versions, the video frame is still appearing even when "prepare" is called. I'm still trying to figure out some solution but I haven't found one yet.
So, in that case, instead just calling "reset()", I recommend you to rebuild the FullscreenVideoLayout.
I have tested it and apparently it works well.
Follow the code I tested:
public void change(View v) {
    videoLayout.reset();

    FrameLayout.LayoutParams params = (FrameLayout.LayoutParams) videoLayout.getLayoutParams();
    frameLayout.removeView(videoLayout);
    videoLayout = new FullscreenVideoLayout(this);
    videoLayout.setLayoutParams(params);
    frameLayout.addView(videoLayout);

    try {
        Uri videoUri = Uri.parse("http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4");
        videoLayout.setVideoURI(videoUri);

    } catch (IOException e) {
        e.printStackTrace();
    }
}

Where frameLayout variable is the parent ViewGroup where FullscreenVideoLayout belongs to.

Hi @oluwabajio
Would you mind testing a new version of this lib?
I have uploaded a new snapshot with this fix:
compile 'com.github.rtoshiro.fullscreenvideoview:fullscreenvideoview:1.1.1c-SNAPSHOT'
Just remember to include the repository:
allprojects {
repositories {
jcenter()
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}
}
With this update, you only need to call reset() before calling setDataSource again. I hope it helps. I've updated FullscreenVideoLayout to update the UI.
Best

i did not import it to my project through gradle, i created the fullscreenvideoview and fullscreenvideoviewlayout as java classes in my project cos i needed to tweak some things in your code, but i will try the new ffix out
Thanks

Hi @oluwabajio
Did you get time to test this fix?
Thank you.

Well. I'm closing it for while

Hello, I have exact the same issue when loading a new video. Your solution with the "compile 'com.github.rtoshiro.fullscreenvideoview:fullscreenvideoview:1.1.1c-SNAPSHOT'" snapshot does not solve the issue. removeView() will help but I don't think that's an nice solution even it works for now. ;) Are you still working on an implementation where reset() works directly?

Hi
In fact, I thought it was already solved :)
Have you tested with the last production release 1.1.1 (without SNAPSHOT part)?
Unfortunately I can't test it right now.
Thank you
Best
T

On 6 de jul de 2016, at 13:40, Fred117<EMAIL_ADDRESS>wrote:
Hello, I have exact the same issue when loading a new video. Your solution with the "compile 'com.github.rtoshiro.fullscreenvideoview:fullscreenvideoview:1.1.1c-SNAPSHOT'" snapshot does not solve the issue. removeView() will help but I don't think that's an nice solution even it works for now. ;) Are you still working on an implementation where reset() works directly?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

Hello and thank you very much for your answer. ;)
I have tested it including the following line to my gradle file but that doesn't resolve the problem:
compile 'com.github.rtoshiro.fullscreenvideoview:fullscreenvideoview:1.1.1'

Hi @Fred117
Sorry for the delay but I'm back now.
I'm testing it but can't find the problem.
Which Android version are you testing it? Do you have the stacktrace error? What happens when you call reset() before setting the new data source?
Thank you very much!
Best
T

Hello and thank you for your answer. It's working now. ;)

Nice!

In the reset method; i think you shouldn't release the mediaplayer object. based on the mediaplayer life graph, you can simply call mediaplayer.reset(); after that the state should allow to play next video.. the benefit of the current approach is that you don't have to release the mediaplayer and recreate it.. that should save some time in playing next video.. what do you think?

Hi @saadnawaz1
Yes, I totally agree.
I just wanted to find a reliable solution ;)
I'll fix that as soon as I can
I have created a new issue #25
Thx!
Best

hi, I gave the video a second time, then show
Error :  Media Player is not initialized
at com.github.rtoshiro.view.video.FullscreenVideoView.setVideoURI  ?
help me,
Best

I reset the FullScreenVideoLayout object and then call setVideoURI again but it throws an error:
07-12 15:09:35.853 10125-10125/com.igb W/System.err: java.lang.IllegalStateException
07-12 15:09:35.855 10125-10125/com.igb W/System.err:     at android.media.MediaPlayer.prepareAsync(Native Method)
07-12 15:09:35.855 10125-10125/com.igb W/System.err:     at appUtils.FullscreenVideoView.prepare(FullscreenVideoView.java:448)
07-12 15:09:35.855 10125-10125/com.igb W/System.err:     at appUtils.FullscreenVideoView.setVideoURI(FullscreenVideoView.java:1029)
07-12 15:09:35.855 10125-10125/com.igb W/System.err:     at adapter.AdapterCreateVideo.updateUrl(AdapterCreateVideo.java:152)
07-12 15:09:35.855 10125-10125/com.igb W/System.err:     at com.igb.ActCreateVideo.onActivityResult(ActCreateVideo.java:334)
07-12 15:09:35.855 10125-10125/com.igb W/System.err:     at android.app.Activity.dispatchActivityResult(Activity.java:6931)
07-12 15:09:35.855 10125-10125/com.igb W/System.err:     at android.app.ActivityThread.deliverResults(ActivityThread.java:4090)
07-12 15:09:35.855 10125-10125/com.igb W/System.err:     at android.app.ActivityThread.handleSendResult(ActivityThread.java:4137)
07-12 15:09:35.855 10125-10125/com.igb W/System.err:     at android.app.ActivityThread.-wrap20(ActivityThread.java)
07-12 15:09:35.855 10125-10125/com.igb W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1529)
07-12 15:09:35.855 10125-10125/com.igb W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:102)
07-12 15:09:35.855 10125-10125/com.igb W/System.err:     at android.os.Looper.loop(Looper.java:154)
07-12 15:09:35.855 10125-10125/com.igb W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:6123)
07-12 15:09:35.855 10125-10125/com.igb W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
07-12 15:09:35.855 10125-10125/com.igb W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
07-12 15:09:35.855 10125-10125/com.igb W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757)

Could you please help?

I fixed it myself making some tweaks in source code. The reason for this error was that prepareAsync in prepare was called before the surface was recreated. The reason for all this was when I called setVideoURI for another video surface was destroyed and was not ready. Surface was created after some time. Another issue was variable videoIsReady. It was not updated when surface was destroyed. Due to all this I made a couple of tweaks to change the flow of library in order to record new video and display it on surface.
I introduced two varaibles in FullScreenVideoView:

private static int videoLoadingPending=0;
private static Uri pendingUri;

I am uploading updated classes.
FullscreenVideoView.zip

Hi @RushiMThakker
Thank you very much. I'll take a look at the code.
I confess i'm not having as much time as I used to. But I'll take a look for sure.
@Maysami
I didn't understand your question. Did you initialize the object? When it happens?

"Media Player is not initialized" and crash a lot of times, please add a fix to the repo, thanks


[OMID-41] Add GPG key to KEYS file for Francisco

Change-Id: Ia5c22d4e30f3c193fc25857a174f5aba12db21fb

+1


Stuck in Auto Detecting Mode

Hello, so I have been testing the bot using the AMD 5800x graphics card. I get this message:
"Open Source BB-Bot V3.2 ◻ TESTMODE: Yes ◻ ITEM KEYWORD: 5800
Auto Detecting Mode
Initializing .."
However, it never adds it to my cart and I am not sure why not. Please let me know. Thanks!

^^ I have tried with both Chrome and Firefox with popups enabled.

What keyword are you using ? are you on the item page ?

hapenned to me too, using 3080, and Iam on the same page
ty

Can you please join discord so I can support you with voice if needed ?

I will
Ty
On Tue, Aug 31, 2021 at 10:50 AM Karan Kapuria @.***>
wrote:

Can you please join discord so I can support you with voice if needed ?
[image: Discord] https://discord.gg/UcxcyxS5X8
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/kkapuria3/BestBuy-GPU-Bot/issues/16#issuecomment-909361030,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AS45XFNOMWPHHSSVKZOF2XLT7T25LANCNFSM5DDQZEPA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Joined 👌

Please mention your issue in #general-help

Pull request fixed this issue #17


Plugin breaks until another file is opened

I've been experiencing a long-running issue with this plugin where occasionally, it will just flat out stop working. hjkl don't even insert, I just can't do anything to modify the file at all until I open one or two more files and try moving in them and then go back to the previous file. Where do I start with debugging this issue?

https://github.com/vscode-neovim/vscode-neovim#-build


fix: recursive readdir is broken

cc @seawatts

LGTM 👍

Current coverage is 91.72% (diff: 77.77%)

Merging #659 into master will decrease coverage by 0.07%

@@             master       #659   diff @@
==========================================
  Files           179        180     +1
  Lines          1988       1993     +5
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           1825       1828     +3
- Misses          163        165     +2
  Partials          0          0

Powered by Codecov. Last update d6b2d6c...7d459bb

@zacharygolba did you also fix the first level controller/application.js issue here?

@seawatts that was fixed in #662.

Awesome Thanks!
On Wed, Jan 25, 2017 at 12:56 PM, Zachary Golba<EMAIL_ADDRESS>wrote:

@seawatts https://github.com/seawatts that was fixed in #662
https://github.com/postlight/lux/pull/662.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/postlight/lux/pull/659#issuecomment-275230317, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACDIwnZQDblCKCHMGEuaaNqI7j4_s1hXks5rV7bugaJpZM4LqkHF
.

--
Chris Watts | Software Engineer |<EMAIL_ADDRESS>


[FEA] Provide a way to set the maximum dynamic shared memory size

Is your feature request related to a problem? Please describe.
There is, to my knowledge, no way to increase the default bound of 48KB on dynamic shared memory. This puts a limit on the kernels we can develop with Numba CUDA JIT.
Describe the solution you'd like
A method on CUDADispatcher or a parameter in the JIT decorator or an automatic call to cudaFuncSetAttribute (or equivalent) when needed.
Describe alternatives you've considered
I am not aware of any alternatives. I am not sure how I could get a pointer to the cuda function to call cudaFuncSetAttribute myself.
Additional context
NVIDIA/nvmath-python provides a way to use CuFFTDx device side APIs from numba cuda kernels. CuFFTDx requires a large amount of shared memory for bigger FFT sizes.

Thanks for the request! In the past I think I've been able to set these attributes by going through some APIs that weren't necessarily public, which could serve as a workaround for your use case - let me see if I can find a way to do this that you can use, prior to the implementation of such a feature.

Here's an example of a workaround:
from numba import cuda
from numba.cuda.cudadrv import drvapi, enums
from numba.cuda.cudadrv.driver import driver
import numpy as np

# Setup - add a binding for cuFuncSetAttribute:
#
# CUresult cuFuncSetAttribute(
#     CUfunction hfunc,
#     CUfunction_attribute attrib,
#     int value)
cfsa_name = 'cuFuncSetAttribute'
cfsa_args = (drvapi.c_int,
             drvapi.cu_function,
             drvapi.cu_function_attribute,
             drvapi.c_int)
drvapi.API_PROTOTYPES[cfsa_name] = cfsa_args

# Kernel eagerly compiled (because of the signature in the jit decorator) so
# that we can obtain the cufunc and set the maximum dynamic shared memory size
# prior to our attempt to launch it

@cuda.jit("void(float64[::1])")
def k(data):
    data[0] = 1

def set_max_dynamic_shared_memory(function, nbytes):
    """Set the maximum dynamic shared memory size for all overloads of a given
    function."""
    attrib = enums.CU_FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES

    for sig, kernel in function.overloads.items():
        cufunc = kernel._codelibrary.get_cufunc()
        driver.cuFuncSetAttribute(cufunc.handle, attrib, nbytes)

        result = cufunc.read_func_attr(attrib)
        print(f"Max dynamic shared memory set to: {result}")

# Set max dynamic shared memory, with a little headroom
set_max_dynamic_shared_memory(k, 50000)

# 49153 is greater than the default 48K (by one byte)
k[1, 1, 0, 49153](np.zeros(1))

The workaround patches in cuFuncSetAttribute() into the driver's API bindings. We eagerly compile the kernel by providing signatures. This ensures we have the cufunc available on the device to set attributes for, and then we set the maximum dynamic shared memory size for all of the overloads (compiled variants) of the kernel.
On my system the above example fails to launch if I comment out the call to set_max_dynamic_shared_memory().
The above example works when using Numba's built in ctypes binding - it may need adjusting if the NVIDIA CUDA Python bindings are in use (I'm not sure yet if this is the case with nvmath-python) - if you run into an issue let me know and I should be able to revise the example.

WIP towards feature implementation is in https://github.com/gmarkall/numba-cuda/tree/set-max-dynshared - so far I just added an API for it to the cufunc, but really it needs an API that faces the user more closely - e.g. as suggested in the issue, either a parameter for the JIT decorator, or an automatic call.
I think I'd lean towards a parameter in the JIT decorator, because an automatic call at kernel launch time would get in the critical path for launching kernels and could potentially slow things down there.

Thanks for confirming! I'll keep this issue open until a more user-friendly mechanism for it has been added to numba-cuda.

FYI we have some helpers in the nvmath-python samples solving exactly this problem, see

https://github.com/NVIDIA/nvmath-python/blob/main/examples/device/common_numba.py#L43
https://github.com/NVIDIA/nvmath-python/blob/main/examples/device/cublasdx_gemm_fusion.py#L136

Maybe this can help as a temporary solution.


Reimplement arrays

Goals:

Null safety
IndexOutOfBoundsException safety
Support [{index}] syntax through the public interface Indexable

Generic based


Update documentation

Add documentation to show usage on AWS IAM and auth_type as updated configuration.

I'd like to see some more documentation in the project README.md file. And a full configuration reference would be helpful. I can create a separate GitHub issue if you'd prefer.

@dlvenable Thanks for feedback. In the past, we have decided to keep all documentation at https://github.com/opensearch-project/documentation-website . Do you think having more example config at README will be more beneficial?

I think having a little more in the README.md is helpful. Many developers often end up on GitHub first. And I do find it a good starting point myself.
I'd probably suggest:

Updating the title. It just says "Logstash Plugin"
A brief introduction to what the plugin is actually doing.
A sample configuration file

@naveentatikonda Can you add this to README or USERGUIDE? Thanks


[test-triage] Bazel builds timing out in 5 nightly regressions

Hierarchy of regression failure
Chip Level
Failure Description
Failure Buckets

Some pass patterns missing: ['^TEST PASSED (UVM_)?CHECKS$'] has 27 failures:

Test chip_sw_example_flash has 1 failures.

0.chip_sw_example_flash.723784426
Log /container/opentitan-public/scratch/os_regression/chip_earlgrey_asic-sim-vcs/0.chip_sw_example_flash/latest/run.log
  INFO: From Running Cargo build script libftdi1_sys:
  Build Script Warning: Config for libftdi1 not found, falling back to default search path: `"pkg-config" "--libs" "--cflags" "libftdi1" "libftdi1 >= 1.4"` did not exit successfully: exit status: 1
  [620 / 977] Compiling Rust rlib regex_syntax v0.6.27 (32 files); 71s processwrapper-sandbox ... (60 actions, 59 running)
  [667 / 977] Linking sw/device/lib/base/libbitfield.a; 58s processwrapper-sandbox ... (60 actions, 57 running)
  [688 / 977] Action hw/ip/otp_ctrl/data/img_rma.24.vmem; 85s processwrapper-sandbox ... (60 actions, 58 running)
  [696 / 977] Action hw/ip/otp_ctrl/data/img_rma.24.vmem; 135s processwrapper-sandbox ... (56 actions, 55 running)
  [699 / 977] Action hw/ip/otp_ctrl/data/img_rma.24.vmem; 221s processwrapper-sandbox ... (53 actions running)
  [700 / 977] Action hw/ip/otp_ctrl/data/img_rma.24.vmem; 288s processwrapper-sandbox ... (57 actions, 56 running)
  [701 / 977] Action hw/ip/otp_ctrl/data/img_rma.24.vmem; 396s processwrapper-sandbox ... (58 actions running)
  [702 / 977] Action hw/ip/otp_ctrl/data/img_rma.24.vmem; 499s processwrapper-sandbox ... (58 actions, 57 running)

Test chip_sw_example_concurrency has 1 failures.

0.chip_sw_example_concurrency.3476378567
Log /container/opentitan-public/scratch/os_regression/chip_earlgrey_asic-sim-vcs/0.chip_sw_example_concurrency/latest/run.log
  [638 / 977] Compiling Rust rlib libc v0.2.133 (213 files); 52s processwrapper-sandbox ... (60 actions, 58 running)
  [664 / 977] Linking sw/device/silicon_creator/lib/libepmp_state.a; 94s processwrapper-sandbox ... (58 actions running)
  [677 / 977] Action hw/ip/uart/data/uart_regs.h; 113s processwrapper-sandbox ... (53 actions, 52 running)
  [691 / 977] Action hw/ip/uart/data/uart_regs.h; 165s processwrapper-sandbox ... (58 actions running)
  [692 / 977] Action hw/ip/uart/data/uart_regs.h; 221s processwrapper-sandbox ... (60 actions, 57 running)
  [695 / 977] Action hw/ip/uart/data/uart_regs.h; 308s processwrapper-sandbox ... (59 actions running)
  [709 / 977] Action hw/ip/uart/data/uart_regs.h; 392s processwrapper-sandbox ... (60 actions running)
  [715 / 977] Action hw/ip/uart/data/uart_regs.h; 744s processwrapper-sandbox ... (54 actions running)
  [718 / 977] Action hw/ip/uart/data/uart_regs.h; 939s processwrapper-sandbox ... (51 actions running)
  [721 / 977] Action hw/ip/uart/data/uart_regs.h; 1710s processwrapper-sandbox ... (54 actions running)

Test chip_sw_sleep_pin_mio_dio_val has 1 failures.

0.chip_sw_sleep_pin_mio_dio_val.3452962466
Log /container/opentitan-public/scratch/os_regression/chip_earlgrey_asic-sim-vcs/0.chip_sw_sleep_pin_mio_dio_val/latest/run.log
  [553 / 1,048] Creating runfiles tree bazel-out/k8-fastbuild/bin/sw/device/tests/sim_dv/sleep_pin_mio_dio_val_test_sim_dv.runfiles; 105s local ... (60 actions, 55 running)
  [609 / 1,048] Compiling Rust rlib gimli v0.26.2 (49 files); 50s processwrapper-sandbox ... (60 actions, 58 running)
  INFO: From Running Cargo build script libftdi1_sys:
  Build Script Warning: Config for libftdi1 not found, falling back to default search path: `"pkg-config" "--libs" "--cflags" "libftdi1" "libftdi1 >= 1.4"` did not exit successfully: exit status: 1
  [667 / 1,048] Linking sw/device/silicon_creator/lib/libepmp_state.a; 63s processwrapper-sandbox ... (60 actions running)
  [692 / 1,048] Action hw/ip/otp_ctrl/data/otp_ctrl_regs.h; 87s processwrapper-sandbox ... (57 actions, 56 running)
  [701 / 1,048] Action hw/ip/otp_ctrl/data/otp_ctrl_regs.h; 128s processwrapper-sandbox ... (60 actions running)
  [718 / 1,048] Action hw/ip/otp_ctrl/data/otp_ctrl_regs.h; 175s processwrapper-sandbox ... (60 actions, 59 running)
  [725 / 1,048] Action hw/ip/otp_ctrl/data/otp_ctrl_regs.h; 232s processwrapper-sandbox ... (60 actions running)
  [744 / 1,048] Action hw/ip/otp_ctrl/data/otp_ctrl_regs.h; 299s processwrapper-sandbox ... (60 actions, 59 running)

Test chip_sw_exit_test_unlocked_bootstrap has 1 failures.

0.chip_sw_exit_test_unlocked_bootstrap.1327559239
Log /container/opentitan-public/scratch/os_regression/chip_earlgrey_asic-sim-vcs/0.chip_sw_exit_test_unlocked_bootstrap/latest/run.log
  INFO: From Running Cargo build script libftdi1_sys:
  Build Script Warning: Config for libftdi1 not found, falling back to default search path: `"pkg-config" "--libs" "--cflags" "libftdi1" "libftdi1 >= 1.4"` did not exit successfully: exit status: 1
  [657 / 980] Linking sw/device/silicon_creator/lib/base/libstatic_critical_epmp_state.lo; 62s processwrapper-sandbox ... (59 actions, 54 running)
  [669 / 980] Compiling Rust rlib bitvec v1.0.1 (66 files); 87s processwrapper-sandbox ... (57 actions, 56 running)
  [697 / 980] Action hw/top_earlgrey/ip/sensor_ctrl/data/sensor_ctrl_regs.h; 126s processwrapper-sandbox ... (55 actions, 53 running)
  [703 / 980] Action hw/top_earlgrey/ip/sensor_ctrl/data/sensor_ctrl_regs.h; 176s processwrapper-sandbox ... (53 actions, 50 running)
  [708 / 980] Action hw/top_earlgrey/ip/sensor_ctrl/data/sensor_ctrl_regs.h; 265s processwrapper-sandbox ... (50 actions running)
  [709 / 980] Action hw/top_earlgrey/ip/sensor_ctrl/data/sensor_ctrl_regs.h; 352s processwrapper-sandbox ... (50 actions, 49 running)
  [714 / 980] Action hw/top_earlgrey/ip/sensor_ctrl/data/sensor_ctrl_regs.h; 433s processwrapper-sandbox ... (48 actions running)
  [714 / 980] Action hw/top_earlgrey/ip/sensor_ctrl/data/sensor_ctrl_regs.h; 547s processwrapper-sandbox ... (48 actions running)

Test chip_sw_spi_host_tx_rx has 1 failures.

0.chip_sw_spi_host_tx_rx.4006519917
Log /container/opentitan-public/scratch/os_regression/chip_earlgrey_asic-sim-vcs/0.chip_sw_spi_host_tx_rx/latest/run.log
  [685 / 981] Action hw/ip/otp_ctrl/data/img_rma.24.vmem; 128s processwrapper-sandbox ... (48 actions running)
  [711 / 981] Action hw/ip/otp_ctrl/data/img_rma.24.vmem; 176s processwrapper-sandbox ... (60 actions, 57 running)
  [742 / 981] Action hw/ip/otp_ctrl/data/img_rma.24.vmem; 230s processwrapper-sandbox ... (47 actions, 46 running)
  [757 / 981] Action hw/ip/otp_ctrl/data/img_rma.24.vmem; 294s processwrapper-sandbox ... (44 actions, 43 running)
  INFO: From Action hw/ip/spi_host/data/spi_host_regs.h:
  /workspace/mnt/repo_top/util/reggen/gen_cheader.py:212: UserWarning: Cannot generate a module define of type logic
    warnings.warn("Cannot generate a module define of type {}"
  [761 / 981] Action hw/ip/otp_ctrl/data/img_rma.24.vmem; 372s processwrapper-sandbox ... (45 actions running)
  [768 / 981] Action hw/ip/otp_ctrl/data/img_rma.24.vmem; 467s processwrapper-sandbox ... (44 actions running)
  [768 / 981] Action hw/ip/otp_ctrl/data/img_rma.24.vmem; 1403s processwrapper-sandbox ... (44 actions running)

... and 20 more tests.

In each case it appears that we are running a lot of steps in parallel, and they're running orders of magnitude longer than we expect. I think we ran a lot in parallel before, something got slower and is causing it to time out.
Steps to Reproduce

Commit hash where failure was observed: e79e3525c284efe83f957ba62a24cd91be94370b
We don't yet know how to reproduce
Kokoro build number: 378

Tests with similar or related failures
See failure buckets. Doesn't appear to cluster on specific tests so I think it's more to do with the environment and a resource issue.

There's a quirk with Bazel that we've encountered before that may be exacerbating a resource constraint here. Jobs are dispatched in a manner appropriate for the host, which may not fit well with a VM or other requirements on cloud machines. We'll try limiting our dispatched build jobs to something more appropriate for the VMs we build on and see if that helps.


Note beginning: "Best practice: If you use Configuration Manager already, make sure you..."

This note doesn't account for situations where the Microsoft Deployment Toolkit (MDT) is being used to create a reference image and then subsequently a deployment image for VDI purposes. In that case we want Office 365 Pro Plus to be a part of the reference image but not activate until the user initially signs in to their VDI solution. The note should mention that scenario so that we understand how it's supported. How is Shared Activation handled for example?

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

ID: b314dc73-e63b-9712-a4b1-9171ad6b7e82
Version Independent ID: d3b16d76-6883-4e52-9c32-4699379d40c8
Content: Plan your enterprise deployment of Office 365 ProPlus
Content Source: DeployOffice/plan-office-365-proplus.md
Service: o365-proplus-itpro
GitHub Login: @jwhit-MSFT
Microsoft Alias: jwhit

Other documents states explicitly that when we install O365 as part of a reference image, no Office applications must be started (if any one of them is started, we must uninstall Office and reinstall in order to correct the error).
Shared activation must be enabled in a VDI solution. How you choose to handle the shared activation depends on the VDI solution. Using Citrix with WEM, you could point to a specific folder where the shared activation is stored (you do that in the ODT wizard) and then add that folder to the sync process.


[DRAFT] update azuread endpoint migration check logic

#6236
Waiting on https://github.com/rancher/rancher/issues/29306

Updated to fix button color #6172 :


Add highlight-thing mode.

https://github.com/fgeller/highlight-thing.el

Looks like it's slightly out of alphabetical order, but otherwise looks good! Once that's fixed, I'll merge it.

Done.

Looks good to me! Thanks!