iOS 12 support?

I noted that the Package.swift specifies a minimum of iOS 13, but Xcode 15.x allows a user to select a Minimum Deployment Target all the way down to iOS 12.0 for a project.
Are there any technical reasons preventing the package file specifying iOS 12 as the minimum version? If so, would you be happy to make this change? (Or I am happy to raise a PR for that?).

Hey @danielrbrowne
I didn’t expect someone to be still supporting iOS 12 😅
I just opted for some reasonable low versions, but it should work with 12 too.
I’d be happy to merge a PR. 👏

It's purely for historical reasons on a pet project of mine that I first released in 2010.
It's not an iOS version that I plan to support for any real length of time but as I migrate away from Firebase/Flurry I want to make a release that captures as many of my existing users as possible (before I embark on bigger changes like a migration to SwiftUI etc that will necessitate a bump to a much more recent iOS version 😅).
I'll raise a PR later today with the iOS and tvOS changes for the package file and let you handle the release versioning etc assuming your CI is happy.

Ah this is probably something that I will just have to accept, I just tried this locally and of course you're using concurrency which is iOS 13.0 and above. No worries, I've just checked and I don't think I'm really losing too many users by dropping iOS 12. I'll close this issue now.


buttons on the tables

Good afternoon, I had to update the react-bootstrap-table2,
because of this problem:
https://github.com/react-bootstrap-table/react-bootstrap-table2/issues/530#event-1828208046
In the previous version, it was this:
    "react-bootstrap-table-next": "^0.1.14",
    "react-bootstrap-table2-editor": "^1.0.1",
    "react-bootstrap-table2-filter": "^0.3.0",

I was doing this, to process buttons in the table, based on the row property:
      const addButtonLancamento = (cell, row) => {
         if (row.status === "Aberto") {
                return (

                        <Button size="sm" floating color="white" onClick={() => this.acaoLancamento(row)}><Fa className="green-text" icon="check"></Fa></Button>

                )
            }
           if (row.status === "Baixado") {
                return (

                        <Button size="sm" floating color="white" onClick={() => this.acaoLancamento(row)}><Fa className="orange-text" icon="rotate-left"></Fa></Button>

                )
            }

        }

  const columnsPagamento = [
    {
            dataField: 'dtemis',
            text: 'Emissao:',
            sort: true,
        },
        {
            dataField: 'dtvcto',
            text: 'Vencimento:',
            sort: true,
        },
        {
            dataField: 'vlfinal',
            text: 'Valor:',
            sort: true,
        },
        {
            text: 'Pagar:',
            dataField: 'Pagar',
            formatter: addButtonLancamento,
            editable: false
        }];

This had the following result:
Gif Result
However, now that I have upgraded to the latest version, it has stopped working.
How can I have the same result in this new version?

@Denis-String
Sorry, I am not very clear what the problem you face via your gif..
However, in the newest version, we did some cell performance tuning.  So would you please describe your cases and the problems? thanks
BTW.....  you can check this issue: https://github.com/react-bootstrap-table/react-bootstrap-table2/issues/504
I think after<EMAIL_ADDRESS>we support dummy column via enable column.isDummyField. It's useful for your Pager column which is just action or component without any data etc.
here is an online demo probably like your case
Please reopen this issue and mention me again if above information can not help u.

BTW, please read column.formatter again, the formatter function should not use external data because it will effect react-bootstrap-table determine if a cell should be updated.


UITableViewCells tap not getting recognised when used along with a UIGestureRecogniser

I am using KILabels in my UITableViewCells where I need to make the hashtags and usernames tappable. I also need the UITableViewCells to show options to the user either by swiping the cell to the left or by long pressing on the UITableViewCell. The thing is the KILabel is not catching the taps when used along with the swipe options or with the long press UIGestureRecogniser.

@genaks were you able to solve this? I have a similar issue with this as well...

@HackShitUp You can follow the Guferos' comment from here to solve this issue.

@genaks awesome, thank you so much! :)

@HackShitUp most welcome.


ListItemIcon with Typescript

I am using the latest version of the material-ui theme with typescript but I get the below error when trying to define a ListItemIcon. Any ideas what am I doing wrong? the issue seems to be down to the icon type as the children property resolves to shouldUpdate() instead of a ReactElement...
import {
    **Dashboard**
} from 'material-ui-icons';

export type AppRoute = {
    redirect?: boolean,
    to: string,
    from?: LocationDescriptor,
    path: string,
    **icon?: React.ComponentType<SvgIconProps>,**
    sidebarName?: string,
    navbarName: string,
    component?: React.ComponentType
};

const appRoutes: Array<AppRoute> = [
    {
        path: '/dashboard',
        sidebarName: 'Dashboard',
        navbarName: 'Material Dashboard',
        to: '',
        **icon: Dashboard,**
        component: DashboardPage
    },
    {redirect: true, path: '/', to: '/dashboard', navbarName: 'Redirect'}
];

<ListItem button={true} className={classes.itemLink}>
                            <ListItemIcon className={classes.itemIcon + whiteFontClasses + listItemClasses}>
                                {prop.icon}
                            </ListItemIcon>
                            <ListItemText
                                primary={prop.sidebarName}
                                className={classes.itemText + whiteFontClasses}
                                disableTypography={true}
                            />
                        </ListItem>

index.js:2177 Warning: Failed prop type: Invalid prop children of type function supplied to ListItemIcon, expected a single ReactElement.
in ListItemIcon (created by WithStyles(ListItemIcon))
in WithStyles(ListItemIcon) (created by Sidebar)
in div (created by ButtonBase)
in ButtonBase (created by WithStyles(ButtonBase))
in WithStyles(ButtonBase) (created by ListItem)
in ListItem (created by WithStyles(ListItem))
in WithStyles(ListItem) (created by Sidebar)
in a (created by Link)
in Link (created by Route)
in Route (created by NavLink)
in NavLink (created by Sidebar)
in ul (created by List)
in List (created by WithStyles(List))
in WithStyles(List) (created by Sidebar)
in div (created by Sidebar)
in div (created by Paper)
in Paper (created by WithStyles(Paper))
in WithStyles(Paper) (created by Drawer)
in div (created by Drawer)
in Drawer (created by WithStyles(Drawer))
in WithStyles(Drawer) (created by Sidebar)
in HiddenJs (created by WithWidth(HiddenJs))
in EventListener (created by WithWidth(HiddenJs))
in WithWidth(HiddenJs) (created by WithTheme(WithWidth(HiddenJs)))
in WithTheme(WithWidth(HiddenJs)) (created by Hidden)
in Hidden (created by Sidebar)
in div (created by Sidebar)
in Sidebar (created by WithStyles(Sidebar))
in WithStyles(Sidebar) (created by App)
in div (created by App)
in App (created by WithStyles(App))
in WithStyles(App) (created by Route)
in Route
in Switch
in Router

@crashnick16 The children property of the list item icon is supposed to be a React.ReactNode, not a React.ComponentType.

@oliviertassinari that is exactly what I would expect. but then How do I define the icon to satisfy the correct type? Clearly using the above does not work and if I try to set the type of the icon to ReactElement it fails with the below
(19,7): Type '({ path: string; sidebarName: string; navbarName: string; to: string; icon: ComponentType<SvgIcon...' is not assignable to type 'AppRoute[]'.
Type '{ path: string; sidebarName: string; navbarName: string; to: string; icon: ComponentType<SvgIconP...' is not assignable to type 'AppRoute'.
Type '{ path: string; sidebarName: string; navbarName: string; to: string; icon: ComponentType<SvgIconP...' is not assignable to type 'AppRoute'.
Types of property 'icon' are incompatible.
Type 'ComponentType' is not assignable to type 'ReactElement | undefined'.
Type 'ComponentClass' is not assignable to type 'ReactElement | undefined'.
Type 'ComponentClass' is not assignable to type 'ReactElement'.
Property 'type' is missing in type 'ComponentClass'.

ahh, just saw your changes 👍

@crashnick16 I have limited knowledge of TypeScript. I'm not sure I can help much. I have added a new test a fixed the definitions in #10593. It should be working on your side. What about
-     icon?: React.ComponentType<SvgIconProps>,
+     icon?: React.ReactElement<any>,

@oliviertassinari that does not seem to solve the problem, unfortunately. Where is the undefined coming from?
(60,43): Type '{ children: ReactElement | undefined; className: string; }' is not assignable to type 'IntrinsicAttributes & ListItemIconProps & { children?: ReactNode; }'.
Type '{ children: ReactElement | undefined; className: string; }' is not assignable to type 'ListItemIconProps'.
Types of property 'children' are incompatible.
Type 'ReactElement | undefined' is not assignable to type 'ReactElement'.
Type 'undefined' is not assignable to type 'ReactElement'.
and if I add type ReactElement | any then this results in the below:
(13,31): Type declaration of 'any' loses type-safety. Consider replacing it with a more precise type.

The property is required

I have no clue what the issue is. does not make any sense.


TelegramUniversalBot & TimeClient

hi i dont get it... i want to use TelegramUniversalBot. For that I probably need SSL, so I included your library.
First, now i cant get a valid time from NTP servers. Before there was no problem.
with the telegram bot I get the following error from your lib:
11:02:21.792 -> > ERROR.mRunUntil: SSL internals timed out!
11:02:21.856 -> > ERROR.mConnectSSL: Failed to initlalize the SSL layer.
11:02:21.921 -> > ERROR.mConnectSSL: Unknown error code.
######################################################
11:03:04.366 -> > ERROR.mUpdateEngine: Error writing to basic client.
11:03:04.430 -> > ERROR.mConnectSSL: Failed to initlalize the SSL layer.
11:03:04.494 -> > ERROR.mConnectSSL: Unknown error code.
my Ethernet works and I get an IP with DHCP
i included telegram root certificate
i use sslClient.setX509Time(timeClient->getEpochTime()); but it is not working (see above)
my minimalized code
#include <UniversalTelegramBot.h>
#include <EthernetENC.h>
#include <EthernetUdp.h>
#include <ESP_SSLClient.h>
ESP_SSLClient sslClient;
EthernetClient ethClient;
EthernetUDP ethUDP;
UniversalTelegramBot *bot;

const char rootCA[] PROGMEM = "-----BEGIN CERTIFICATE-----\n" ...

void setup() {
  Ethernet.begin(macAddr);

  sslClient.setInsecure();
  sslClient.setBufferSizes(1024 /* rx */, 512 /* tx */);
  sslClient.setDebugLevel(1);
  sslClient.setSessionTimeout(150);
  sslClient.setX509Time(timeClient->getEpochTime());
  sslClient.setCACert(rootCA);
  sslClient.setClient(&ethClient);

  bot = new UniversalTelegramBot(tele_token, sslClient);
}

void loop() {
  bot->sendMessage(tele_id, tele_message, "");
}

how can i get TimeClient work again? How can i get your lib to work :D

SORRY, i changed the certificate again and now its working as sexpected
nTP works also very well again


read certificate string and in-memory generation

I forgot to create the pull request, sorry. A review from any of you would be good.


Portainer Agent "stealing" docker node events

Bug description
I have written a program which listens for docker node events.  It does this currently by piping the output of a "docker events" command:
docker events --filter type=node

Technically the above is in a while-read loop on the output of this command.  When the portainer agent is not running, every time a service is stopped or started on a node, docker actually sends a node event along with the service event. I am using this as a trigger point for simplicity sake to trap these events.  This works well and I've tested it several different ways.
If the portainer agent is running, however, these node events when a service gets started/stopped are not sent. I'm not sure how, but these events are somehow suppressed.  When I stop portainer, I immediately start getting the correct docker node events again when other swarm services start/stop.
Expected behavior
"docker events --filter type=node" will continue to send all of the events it normally does when portainer is not running, including node updates when a service starts or stops on a node.
A clear and concise description of what you expected to happen.
Portainer Logs
The logs in portainer itself show nothing other than normal startup activity, on both the main portainer container and the agents.
Steps to reproduce the issue:

Ensure portainer is not running
Start running "docker events --filter type=node" in a terminal window
In another window, Start or stop a docker swarm service (not portainer), i.e. traefik or anything else.
The docker events will show an event on the node where the terminal stops or starts (a node event, not a service event)
Start the portainer stack (portainer + agents globally on every node of the swarm)
Start or stop a docker swarm service again (not portainer)
The docker node event log will now not show any updates.
Stop the portainer stack
Start or stop a docker swarm service again.
Now the docker node event log will show updates

Technical details:

Portainer version:  1.24.1
Docker version (managed by Portainer): 19.03.8
Platform (windows/linux): linux (arm64 and amd64)
Command used to start Portainer (docker stack deploy -c docker-compose.yml portainer):
Browser: Chrome

Hi @davideshay ,
I'm unable to reproduce that error, however in my test environment everything looks good.
I have some wordpress stack before i deploy portainer
[root@amet portainer_stack]# docker stack ls
NAME                SERVICES            ORCHESTRATOR
wordpress2          2                   Swarm
[root@amet portainer_stack]# date
Tue Aug 18 13:12:21 WIB 2020

then starting $ docker events --filter type=node and deploy portainer (https://www.portainer.io/installation/) using $ docker stack deploy --compose-file=portainer-agent-stack.yml portainer
[root@amet portainer_stack]# docker stack deploy --compose-file=portainer-agent-stack.yml portainer                                                                          Creating network portainer_agent_network
Creating service portainer_agent
Creating service portainer_portainer
[root@amet portainer_stack]# docker stack ls
NAME                SERVICES            ORCHESTRATOR
portainer           2                   Swarm
wordpress2          2                   Swarm
[root@amet portainer_stack]# date
Tue Aug 18 13:14:59 WIB 2020

my other console running $ docker events --filter type=node is still showing
[root@amet portainer_stack]# date
Tue Aug 18 13:09:48 WIB 2020
[root@amet portainer_stack]# docker events --filter type=node
2020-08-18T13:14:39.461222555+07:00 node update k0uk9es23db0hvybmyms8kx85 (name=amet.lab)
2020-08-18T13:14:39.467277741+07:00 node update zrjslx0eujoo3nq0l6hd0k917 (name=amet2.host)

then I try to deploy new wordpress stack again.
[root@amet wordpress]# docker stack ls
NAME                SERVICES            ORCHESTRATOR
portainer           2                   Swarm
wordpress2          2                   Swarm
wordpress3          2                   Swarm
[root@amet wordpress]# date
Tue Aug 18 13:19:37 WIB 2020
[root@amet wordpress]#

however in my other console running $ docker events --filter type=node it's still updating.
[root@amet portainer_stack]# date
Tue Aug 18 13:09:48 WIB 2020
[root@amet portainer_stack]# docker events --filter type=node
2020-08-18T13:14:39.461222555+07:00 node update k0uk9es23db0hvybmyms8kx85 (name=amet.lab)
2020-08-18T13:14:39.467277741+07:00 node update zrjslx0eujoo3nq0l6hd0k917 (name=amet2.host)
2020-08-18T13:19:26.184270221+07:00 node update zrjslx0eujoo3nq0l6hd0k917 (name=amet2.host)
2020-08-18T13:19:29.719407452+07:00 node update k0uk9es23db0hvybmyms8kx85 (name=amet.lab)

I'm running portainer 1.24.1 and docker 19.03.12


Sugestion: A way to declare Non Sparse Arrays

Search Terms
non sparse array.
(I read and understand (I supouse): https://github.com/Microsoft/TypeScript/issues/10272 https://github.com/Microsoft/TypeScript/issues/13778 )
Suggestion
Add a way to declare Non Sparse Arrays to take adventajes of type guards to have these adventajes:

detect trys of creating sparse arrays
no need to control if a poped or accessed elemet is not undefined

It could be something like:  type a: NonSparse<ElementType[]> or type a:NonSparseArrayOf<ElementType>
Use Cases
Knowing and wanting that an array haves non undefined values.
Examples
    /////////// Actualy ///////////

    type Ene={n:string}
    var a:Ene[]=[{n:'uno'},{n:'dos'},{n:'tres'}];

    if(a.length){
        var e1 = a[a.length-1];
        var e2 = a.pop();  // e1 and e2 points to the same object
        console.log(e2.n); // [ts] Object is possibly 'undefined'.
        console.log(e1.n); // no error detects in e1 why?
    }

    /////////// SUGGESTION ///////////

    type Eme={n:string}
    var a:NonSparse<Eme[]>=[{n:'uno'},{n:'dos'},{n:'tres'}];

    if(a.length){
        var e1 = a[a.length-1];
        var e2 = a.pop();  // e1 and e2 points to the same object
        console.log(e2.n); // ok a is NonSparse
        console.log(e1.n); // ok a is NonSparse
        a.push({n:'tail'}); // ok
        a.unshift({n:'head'}); // ok
        a[a.length] = {n:'tail2'} // ok, same as push
        a[a.length+1] = {n:'far 1'} // ERROR, sparse
        a[7] = {n:'far 2'} // ERROR, may be sparse
        var i=8;
        a[i] = {n:'far 3'} // ERROR, may be sparse
        if(i <= a.length){
            a[i] = {n:'far 2'} // ok, guard guarantees non sparse array
        }
        delete a[i]; // ERROR, me be transforming a into sparse array
        if(i >= a.length){
            delete a[i]; // ok, guard guarantees non sparse array
        }
    }

    /////////// CASE OF USE ///////////

    async function callSeq1(listOfFunctions:NonSparse<(()=>Promise<void>)[]>):Promise<void>{
        while(listOfFunctions.length){
            var f = listOfFunctions.pop();
            await f(); // [ts] Cannot invoke an object which is possibly 'undefined'.
        }
    }

    /////////// WORKARROUND ///////////

    async function callSeq2(listOfFunctions:NonSparse<(()=>Promise<void>)>[]):Promise<void>{
        var f;
        while(f = listOfFunctions.pop()){
            await f();
        }
    }

Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript / JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. new expression-level syntax)

I think the vast, vast majority of arrays are non-sparse; it seems like what you'd actually want is for the default Array behavior to be like this and need to opt in to sparseness.

@RyanCavanaugh, I agree with you. But I think maybe changing that is a breaking change. Thats why I suggest a way to be more specific. A way to say "this array is non sparse".
That change would not bother me. But I do not know in which cases a breaking change is allowed.

The compiler today does not have any reasoning about array bounds. Its is not clear if there is a way to plug this into the current system.

Do you want to label this issue to be a good idea for the future?
In special if you think that is need to enance array and tupple treatament.
For example:
        var e1 = a[a.length-1];
        var e2 = a.pop();  // e1 and e2 points to the same object

both points to the same object. e1 can be undefined in the same way that e2, but tsc does not warns any problem in e1.
Or in a tuple case:
   function a3(a:[T, T, T], b:T){
      a[7] = b;
   }

the assigment inside the function does not warns the error. After that statement a not be a [T, T, T] tupple any more. It becames an simply sparse array.
I think than in the future there be the need of analyze all the array and tupples stuffs.
Please save this issue for that moment.

The issue will always be there. we do look at closed issues every now and then.
The thing is we are not anywhere close to be able to track this information in the type system today. It is possible that in a year or two things will be different and we would be able to get there. but i am sure things like https://github.com/Microsoft/TypeScript/issues/13778 will get us there first.

I agree with you. Thank you

I was playing with lib/lib.d.ts in interface Array<T> changing pop(): T | undefined and a I thought:
Perhaps the problem is not being able to specify the result type of the object to which a method has been applied.
For example:
var server = new Server();
await server.listen();
// ...
await server.close();

The variable server is of class Server but we can say that in the first time is of "type unstarted" then is of "type listening" and at the end of "type closed". Someone can says you are talking about state not type. May be right, but that state can be (in the future) checked at compile time with Typescript.
Then if we can do that, we can have betters arrays.
new Array<T>() =>  Array<T, 0>
var x:string[] = [] // x is of type Array<string,0>
x.push('hi')      // x is of type Array<string,1>

function chop<T, n>(a:Array<T,n>, e:T){
    if(a.length && a[0]==e){
        return a.shift();
    }
}

var line = readline()
chop(x, line);   // after chop x is of type Array<string,1> | Array<string,0>

May be we can use a symbol ~> to anotate the out type.
chop: <T,n>(arr: Array<T,n> ~> Array<T,n|n-1>, element:T) => T | undefined;   // chop modifies arr
listen: () => Listener ~> ServerListening         // chop modifies this

It is too much? I am sorry


Login with oauth enabled

Hi,
is there a way to use the plugin with 2FA enabled? In this case it would be OAUTH
I get the following error:
{
"httpError": {
"status": 401,
"headers": {
"content-type": "text/html;charset=utf-8",
"content-length": "754",
"connection": "keep-alive",
"set-cookie": [
"JSESSIONID=XXXX; Path=/; HttpOnly"
],
"x-seraph-loginreason": "AUTHENTICATED_FAILED",
"www-authenticate": "OAuth realm="https%3A%2F%2Fexample.com"",
"content-language": "de",
"date": "Tue, 25 Apr 2023 07:14:30 GMT",
"strict-transport-security": "max-age=31536000; includeSubDomains"
}
},
"requestConfig": {
"url": "/api/user/current",
"method": "GET",
"params": {}
}
}

My understanding is this should work using an API token generated following https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/
Is that the api token you used?

Ahm no, the Confluence Instance is on premise. I created an user token.

Ahh currently the plug-in only supports cloud instances. It's on the list to support on premises instances.


Fixed the link checker to for redirection links.

We have latest link in blob storage which redirect to latest ga version.
Our current link check has limitation to check the invalid redirect links.
Need to work on either verification scripts or latest redirection to fix the issue.

We currently do not have the redirect links change in blob storage. So the task is not required. Closed for now. We can have a new issue opened if we have further requests.

We currently do not have the redirect links change in blob storage. So the task is not required. Closed for now. We can have a new issue opened if we have further requests.


ValueError: Unable to import backend : pytorch

I can not import backend PyTorch on Colab.
!pip install -q keras-core

import torch
print(torch.__version__)  # 2.0.1+cu118

# set backend for Keras core

import os
os.environ["KERAS_BACKEND"] = "pytorch"  # gives same output on backend = torch

import importlib
import torch
import keras_core
from keras_core import backend as K

print(K.backend())

The output is
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
[<ipython-input-3-1420b7863060>](https://localhost:8080/#) in <cell line: 8>()
      6 import importlib
      7 import torch
----> 8 import keras_core
      9 from keras_core import backend as K
     10

5 frames
[/usr/local/lib/python3.10/dist-packages/keras_core/__init__.py](https://localhost:8080/#) in <module>
      6
      7
----> 8 from keras_core import activations
      9 from keras_core import applications
     10 from keras_core import backend

[/usr/local/lib/python3.10/dist-packages/keras_core/activations/__init__.py](https://localhost:8080/#) in <module>
      6
      7
----> 8 from keras_core.src.activations import deserialize
      9 from keras_core.src.activations import get
     10 from keras_core.src.activations import serialize

[/usr/local/lib/python3.10/dist-packages/keras_core/src/__init__.py](https://localhost:8080/#) in <module>
----> 1 from keras_core.src import activations
      2 from keras_core.src import applications
      3 from keras_core.src import backend
      4 from keras_core.src import constraints
      5 from keras_core.src import datasets

[/usr/local/lib/python3.10/dist-packages/keras_core/src/activations/__init__.py](https://localhost:8080/#) in <module>
      1 import types
      2
----> 3 from keras_core.src.activations.activations import elu
      4 from keras_core.src.activations.activations import exponential
      5 from keras_core.src.activations.activations import gelu

[/usr/local/lib/python3.10/dist-packages/keras_core/src/activations/activations.py](https://localhost:8080/#) in <module>
----> 1 from keras_core.src import backend
      2 from keras_core.src import ops
      3 from keras_core.src.api_export import keras_core_export
      4
      5

[/usr/local/lib/python3.10/dist-packages/keras_core/src/backend/__init__.py](https://localhost:8080/#) in <module>
     39     from keras_core.src.backend.torch import *  # noqa: F403
     40 else:
---> 41     raise ValueError(f"Unable to import backend : {backend()}")
     42

ValueError: Unable to import backend : pytorch

I think there are still some known issues in the CUDA alignment between PyTorch and Tensorflow, so you should temporarily use the CPU version of PyTorch i.e. torch>=2.0.1+cpu as the authors specify in the requirements
More information at https://github.com/keras-team/keras-core/blob/main/requirements.txt

Hi @ahmadmustafaanis, so it should be "torch" instead of "pytorch", as the backend() is just making exact matches i.e. backend() == "torch", maybe it could be extended to backend() in ["torch", "pytorch"], or add the supported backends in the exception raised. Other than that, make sure you set the environment variable KERAS_BACKEND before the keras_core import, as the environment variable is just mapped once during init, and you cannot set multiple per session, so set it before keras_core import and you'll be good. I tested your code with KERAS_BACKEND=torch and works fine, pasting it here https://colab.research.google.com/drive/1sZyPBmYYAz2FrnkI9j6o5ewfa-Xh2SIT?usp=sharing
I hope this was useful to you! 😄


Installation Error: CLI Utility issues

In Installation Step 2 I try to use the utility to create the tailwind.js config file I receive an error.  I later discovered that I get this error whenever trying to use the utility.

@Wilby1976 I had this issue as well and found my version of Node.js was out of date. Currently v8.9.0 is working for me.

That was exactly the issue. Thanks @SmashBrando!


ruby-mqtt-271ee631f128/lib/mqtt/packet.rb:223:in `read_byte': Failed to read byte from socket (MQTT::ProtocolException)

mqtt_client.connect exception
As I understood, MQTT protocol doesn't support reasonable error message from Ruby, so..
Please, point me, what I am doing wrong.
The code below mostly taken from the https://til.magmalabs.io/posts/37aa95d040-connecting-ruby-to-aws-iot-core-using-mqtt-client

region = ENV['IOT_AWS_REGION']
access_key_id = ENV['IOT_AWS_ACCESS_KEY']
secret_access_key = ENV['IOT_AWS_SECRET_ACCESS_KEY']
host = ENV['IOT_AWS_ENDPOINT']
port = ENV['IOT_AWS_PORT']

secrets_manager = Aws::SecretsManager::Client.new(
  region:, access_key_id:, secret_access_key:
)

client = Aws::IoT::Client.new(
  region:, access_key_id:, secret_access_key:
)

things = []

1.times do |i|
  logger = Logger.new("log/subscriber#{i}.log", 'daily')

  # Creates new ssl certificate
  cert = client.create_keys_and_certificate(set_as_active: true)
  ap cert

  thing = client.create_thing(thing_name: "Subscriber#{i}")
  ap thing
  #<struct Aws::IoT::Types::CreateThingResponse thing_name="Subscriber0", thing_arn="arn:aws:iot:us-west-2:607446338782:thing/Subscriber0", thing_id="a647b47c-f45f-4af4-927b-1fd03871b89f">

  things << { thing:, cert: }

  ap things

  client.attach_policy(policy_name: 'new_policy', target: cert.certificate_arn)
  client.attach_thing_principal(
    thing_name: thing.thing_name, # required
    principal: cert.certificate_arn, # required)
  )

  # Stores the certificate in aws secrets manager
  # secrets_manager.create_secret(name: 'iot_cert_pem', secret_string: cert.certificate_pem)
  # secrets_manager.create_secret(name: 'iot_private_key', secret_string: cert.key_pair.private_key)
  #
  # The operation failed because the secret iot_cert_pem already exists. (Aws::SecretsManager::Errors::ResourceExistsException)

  # Reads the certificate from aws secrets manager
  cert_pem = secrets_manager.get_secret_value(secret_id: 'iot_cert_pem').secret_string
  private_key = secrets_manager.get_secret_value(secret_id: 'iot_private_key').secret_string

  # Connects to aws iot core endpoint using mqtts
  mqtt_client = MQTT::Client.new
  mqtt_client.ssl = true
  mqtt_client.host = host
  mqtt_client.port = port
  # mqtt_client.client_id = 'basicPubSub1'
  mqtt_client.cert = cert_pem
  mqtt_client.key = private_key

  # TODO: unknown reason exception
  #   * Failed to read byte from socket (MQTT::ProtocolException)
  #   - probably some issues with thing-policy-permissions-etc combination fails
  mqtt_client.connect(MQTT::Client.generate_client_id('my-awesome-app-'))

@sumskyi were you able to figure this out?

@sumskyi were you able to figure this out?

@MikeJakuszewski Yes, sorry for not respond ASAP after I figured out the reason.
The problem was because I've committed out the storing keys to the secret_manager for some reason, so then I set mqtt_client.cert= and mqtt_client.key= as nil's


@conda-forge-admin, please add bot automerge

To auto-merge on successful CI runs.

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/analysisstore-feedstock#3.


DSDT cannot be extracted | AmiBoardInfo2

I tried Extracting the dsdt included in to this DXE driver but failed.
bios

I am trying that way as after i enable Above 4G it can't see sata drives.

@glikched you gave zero information about your system
And the issue with drives not showing is because you installed windows in legacy mode. the wiki common issues says how to fix it

Wiki now has instructions for extracting and reinserting DSDT on these boards. One user on win-raid was successful doing it

Ok thank i didn't got time to check and give you more info.

Continuing in #38


Regenerate license

@nikitavoloboev I was noticing that GitHub wasn't recognising the license, so I regenerated it to fix it. I also fixed some whitespace errors with the MIT license.

Strange. I wonder why it wasn't recognizing it.

It's still not recognizing it. I checked my other repos and they're all fine.

It's still not recognizing it. I checked my other repos and they're all fine.

@nikitavoloboev Just noticed that too ... this is very strange

Probably a GitHub bug..

Probably


Don't treat 0 as a falsy value

Is there any better way to check for falsy values except numbers?
Fixes #354.

You could potentially just check for string or number types, since they're the only ones that you want rendered as text anyway. It was mainly just to stop values like false, objects, undefined, null etc from rendering as text.

Changed the check to check for string or number.

Thanks!


More clean up and python3 updates

Coverage remained the same at 95.139% when pulling a1ba6388e91d2989a572386b024918073c8935ad on celeraone:master into 4751420dd80344908a5e3048a1b3e6824b33b861 on sontek:master.

We can probably remove six and import configparser directly at this point and just "officially" drop python2 support.  It happens to work right now but it hasn't been fully supported for a long time.


Bug: Special Undead Color Settings Not Applying

Hi there, it's been a while.
I noticed this when running PotD again a bit ago, but the color I have set for the Special Undead (Orange) didn't appear at all for them.
Not sure if it was conflicting with the "Catch All Mobs" or the regular Overworld mobs.
Sorry I don't have screenshots to help again with it, when I'm home tonight I'll try some tests out in 51-60 to see if I can get the Marketeer or Merchnat to spawn.

I'll have to take a look at this. Lots of the logic for custom settings has been changed in the last few months so I wouldnt be surprised if a bug slipped through.

Just showing examples. Overworld is disabled too.

I have not been able to reproduce this since I don't have that much time to investigate atm. I updated a specific check that may or may not fix the issue. If you see it again please use /radar showdebug to show the mob's DataId - or go into the local mobs menu in utility to debug.

Ah, seems like the old list I had was wrong, from that Bnpc.csv. I think we spoke about this before.
For example this one is actually 6394

Seems like I need to go back and get you the correct numbers for all of them. Q_Q


virtual machine crashes with lemonOS

it crashes and i am using macos intel

Which app do you use for emulation?

virtualbox

What are your settings? what is the error? when does it crash? not much I can do without information like this

it crashes in the beginning when it trys to load up

it dose not say anything about the error

There is not much i can do without more information

I think he used the default settings for host cpu emulation so in his case intel.

Excuse me if i'm false, and correct me if needed.


oro:cron:tracking:parse - Is it possible to return Tracking Events entity back to reports?

Hi!
Is it possible to return Tracking Events entity back to reports? As far as I know it's an annotation config that I should add on Entity file right?
I'm just asking because after the new tracking structure, we lost some reports that was using that table data.
Thank you.

Thank you @yurio for your commit fixing it.
The problem now is when we generate report using Tracking Event Entity it shows data from all organizations.
So, I tried to add Organization level Ownership Type on: TrackingBundle/Entity/TrackingEvent.php but now I'm getting Invalid query error when I try to generate reports. Do you have any clue in order to fix this security problem?
Thank you.
This is the annotation I added on TrackingBundle/Entity/TrackingEvent.php
 *      "ownership"={
 *          "owner_type"="ORGANIZATION",
 *          "owner_field_name"="owner",
 *          "owner_column_name"="owner_id"
 *      },
 *      "security"={
 *          "type"="ACL",
 *          "group_name"=""
 *      },


CI broken on Windows

Last successful run.
First failed run.
The failures started on automatic scheduled runs, so no code changes in the evcxr repository.
The failed run reports "Microsoft Windows Server 2022" while the run that succeeded reports "Microsoft Windows Server 2019"

Thanks @bjorn3 - that seems to have fixed it


httperror: added stack to NewFromPb

Coverage decreased (-0.09%) to 86.02% when pulling 6f593760f284298d45adada5bf3eb94d36f622c2 on dissoupov into f290c929413c498de7ae27c8febb517a59a120e6 on main.


What is the channelLink?

According to document, we can send message to channel with channelLink, So what is the channel link?
I try @channel and channel and sapp.ir/channel. not of them works.
$data = [
			'type' => 'TEXT',
			'to' => "sapp.ir/channelusername",
			'body' => "test",
			'time' => null,
			'MajorType' => 'CHANNEL',
		];
		$r = $this->api->sendRAW($data);

So what is the channelLink exactly?

Also try https://what.sapp.ir/channel and https://sapp.ir/channel


UICollectionViewDataSourcePrefetching does not work correct

I can see this problem
(I made video for you, may be it helps you to reproduce )
http://recordit.co/gMGP5cnTmt

Hey. planning to work on this when swift 4.2 will be released on Xcode 10. For now this is a feature improvements request.


Other ways of logging in

[x] TOTP sets the two_factor_auth_passed key into the session
[x] WebAuthn sets the two_factor_auth_passed key into the session
[ ] gss slave -> @mrvahedi68 is investigating

https://github.com/nextcloud/globalsiteselector#manualusermapping
We need to create a mapping configuration file to provide available user backends to inquire about the absent user in the master database.

create a mapping configuration file to provide available user backends

-> created issue 6 about that

Using setup-gss.sh we can now confirm the SAML -> GSS leader -> GSS follower flow, and indeed we see there that by the time we're logged in to the follower and opening the mfachecker app, the SAML attribute is not in scope anymore. That is what we'll fix in #3.


[New Feature]: Adding Login page

🎮 feature Request
I want to login/Sign up page to the Game, so that players can save their data i.e high score, number of times played, number of wins, etc. This will be great enhancement and the website will be more modernized. Please assign this issue to me under GSSoC'24.
Point down the features
Login page.
Save useful data of players.
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Can you please assign me this issue?

Hi @saketh-05 ,
I'd like to work on this bug. Please assign it to me.
Thanks,
Aman Verma

I want to work on this issue.Please assign to me

If you have any doubt you can directly send message on our discord (https://discord.gg/rZb46cCMmK), we have created separate channels for all projects...
Thank you :)


Overhaul Java load balancer

This patch is an overhaul of the Java load balancer.
The main goal was to add support for v1 of the AWS SDK for Java, whereas
the existing code only support v2.
README.md was also completely rewritten, to explain the two SDK versions
and how to use them.
The v1 support is very different, and much simpler, than the old v2
implementation. The reason why the simpler implementation was possible
is a different (and better) understanding of how SSL would be used
in a load-balanced Alternator setup. The README.md suggests how we
should simplify the v2 implementation to be like the new v1
implementation, but actually doing this is left to the future.
We may want to do similar changes also to the implementations in
other languages.
Additionally, the pom.xml was cleaned from unnecessary stuff, and
building of the library and demos actually works now. The demo is
built, but no longer part of the generated jar file - which only
contains the minimum needed for applications - these of course don't
need the demo.
The existing code also had errors dealing with various combinations
of SSL and authentication checks, which this patch fixes.
In this patch, I replaced the separate GetItem/PutItem/CreateTable
demos by one demo (Demo1.java for v1, Demo2.java for v2) which
does a bunch of requests. It makes it easy to demonstrate how
different requests in sequence contact different Scylla nodes.
NOTE: the code in this patch still has a lot of debugging printouts.
These should be removed (or replaced by Java logging) in the future.
Signed-off-by: Nadav Har'El<EMAIL_ADDRESS>

@eliransin @slivne here is the AWS SDK for Java v1 support I promised for the load balancer.
@fruch if you still want to use the client load balancer in your Java v1 application, I'll be happy if you can try this. The README.md explains how to build the jar (trivial, mvn package) and how to use it (also very easy). If you have any comments on the documentation or how it works (or doesn't work), I'll be happy to improve it.

Oh, and I forgot to mention in the commit message that this fixes issue #5...

@nyh
Initial test hydra-kcl was working nicely with one local node.
I've commented out all the System.printf, we should have a better logging setup, or using a more common library, or adding a callback to the construct, to handle logging. throwing everything to stdout doesn't really help

@nyh
Initial test hydra-kcl was working nicely with one local node.

Thanks.
I just realized something - do you also use this for DynamoDB streams? How, do you use the same RequestHandler also for the stream client? It should work, but I didn't think of trying!

I've commented out all the System.printf, we should have a better logging setup, or using a more common library, or adding a callback to the construct, to handle logging. throwing everything to stdout doesn't really help

Yes, I should switch to using trace-level logging messages, and only enable them in the demo. I'll do that.

@fruch @psarna @eliransin pushed a new version, with:

Silly tracing printouts replaced by clean java.util.logging logging. The demos (Demo1.java and Demo2.java) enable the tracing messages, but ordinary applications will not.
Deduplicated the AlternatorLiveNodes class (which maintains the list of live nodes). In the previous version of this PR, only the SDK v1 code used this class, and the v2 code uses another copy. In this PR, both use the same AlternatorLiveNodes code. This common code uses Java's HTTP features to avoid relying on either version of the SDK so the same code will work on both.

pushed a new version with "some.url.com" replaced by the same IP address example (https://<IP_ADDRESS>:8043) used later in the example.


Use custom binary index file format

This is very interesting project. A search engine on your local that you know how it works and can customize. It can actually impove my productivity.
So I was interested in the performance, because it seems not so fast.
I injected performance measurement code in various places in my branch.
This is the time to make index of the whole docs.gl in my computer.
Indexed in 7.639098 s

And this is the time to search a common word like TEXTURE:
Load index file (JSON): 5.9112787 s
Search index: 0.0046938 s
Total seach time: 5.9307961

It is too slow as a search engine, but interestingly most of the time is spent on loading the JSON file index.
I suppose most time consuming part is parsing.
I see that you attempt to implement sqlite index file. Indeed it is very fast to load, since it doesn't really load the file when it makes connection to the db.
Load index file (sqlite): 0.0006661 s

However, sqlite doesn't look particularly easy to work with. I tried to implement search feature for sqlite, but it's too painful to implement using SQL.
So I propose a third approach - designing a custom binary file format for the specific use case.
The idea is to implement our custom serializer/deserializer to a binary file like below. It will omit the parsing part and loading time should be much faster.
impl InMemoryModel {
    pub fn serialize(&self, mut writer: impl Write) -> std::io::Result<()> {
        writer.write_all(&self.docs.len().to_le_bytes())?;
        for (path, doc) in &self.docs {
            let path = path.as_os_str().to_string_lossy();
            let path_bytes = path.as_bytes();
            writer.write_all(&path_bytes.len().to_le_bytes())?;
            writer.write_all(path_bytes)?;

            writer.write_all(&doc.count.to_le_bytes())?;

            writer.write_all(&doc.tf.len().to_le_bytes())?;
            for (term, f) in &doc.tf {
                let term_bytes = term.as_bytes();
                writer.write_all(&term_bytes.len().to_le_bytes())?;
                writer.write_all(term_bytes)?;

                writer.write_all(&f.to_le_bytes())?;
            }
        }

        writer.write_all(&self.df.len().to_le_bytes())?;
        for (term, f) in &self.df {
            let term_bytes = term.as_bytes();
            writer.write_all(&term_bytes.len().to_le_bytes())?;
            writer.write_all(term_bytes)?;

            writer.write_all(&f.to_le_bytes())?;
        }
        Ok(())
    }
}

The deserializer is like below.
impl InMemoryModel {
    pub fn deserialize(mut reader: impl Read) -> Result<Self, Box<dyn Error>> {
        let mut this = Self::default();

        fn deserialize_string(reader: &mut impl Read) -> Result<String, Box<dyn Error>> {
            let mut buf = [0u8; std::mem::size_of::<usize>()];
            reader.read_exact(&mut buf)?;
            let path_len = usize::from_le_bytes(buf);
            let mut path_buf = vec![0u8; path_len];
            reader.read_exact(&mut path_buf)?;
            Ok(String::from_utf8(path_buf)?)
        }

        let mut buf = [0u8; std::mem::size_of::<usize>()];
        reader.read_exact(&mut buf)?;
        let num_docs = usize::from_le_bytes(buf);
        for _ in 0..num_docs {
            let path = deserialize_string(&mut reader)?;

            reader.read_exact(&mut buf)?;
            let count = usize::from_le_bytes(buf);

            let mut tf = TermFreq::new();

            reader.read_exact(&mut buf)?;
            let tf_len = usize::from_le_bytes(buf);
            for _ in 0..tf_len {
                let term = deserialize_string(&mut reader)?;
                reader.read_exact(&mut buf)?;
                let f = usize::from_le_bytes(buf);
                tf.insert(term, f);
            }

            this.docs.insert(PathBuf::from(path), Doc {
                count,
                tf
            });
        }

        reader.read_exact(&mut buf)?;
        let num_df = usize::from_le_bytes(buf);
        for _ in 0..num_df {
            let term = deserialize_string(&mut reader)?;
            reader.read_exact(&mut buf)?;
            let f = usize::from_le_bytes(buf);
            this.df.insert(term, f);
        }

        Ok(this)
    }

We don't need serde or anything, in fact using it may put some overhead. Dumping binary data right into disk should be the simplest and the fastest way to serialize.
I implemented in the branch and with this binary file:
Indexed in 3.9568251 s

Load index file (binary): 1.6069981 s
Search index: 0.0043521 s
Total seach time: 1.6252311000000002

It's still not very fast, but much better than JSON.
I think we can make it a randomly-accessible binary file format and seek the file pointer to the necessary field to reduce the time to load the whole file content. It should implement Model trait. We will need a header in the beginning of the binary to indicate these file offset per data records such as a document. At least it seems easier than SQL with complex queries.
It is like designing a custom database engine but I think it fits to the policy of this project :)

Excellent job done !

I wonder how just using a more efficient serde format like bincode instead of json would compare? I suspect it probably will perform equally. Using zero-copy deserialization should be even better, e.g. using something like rkyv.

Actually, it looks like the main reason it's slow is just unbuffered IO. See #5. With that, it loads in 0.3s for me with json.

Oh... I was aware that reading xmls was using BufReader, but I missed the index file.
And I also forgot to put BufRead to the binary format.
Now:
Load index file (JSON): 0.0862068 s
Load index file (binary): 0.0465654 s

The difference doesn't really matter much.
BTW, I managed to make sqlite search work in #4, and it's
Sqlite search time: 0.0187526 s

I have to admit that sqlite is fast.


add model.fit()

model.fit() takes training data, validation data (optional), and trainer settings as arguements, starts a trainer to train the model.
model = SeqLabeling(model_args)
model.fit(train_set, dev_set,
              epochs=trainer_args["epochs"],
              batch_size=trainer_args["batch_size"],
              validate=False,
              use_cuda=trainer_args["use_cuda"],
              pickle_path=pickle_path,
              save_best_dev=trainer_args["save_best_dev"],
              model_name=model_name,
              optimizer=Optimizer("SGD", lr=0.01, momentum=0.9))

Codecov Report

Merging #94 into master will decrease coverage by 0.06%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master      #94      +/-   ##
==========================================
- Coverage   79.53%   79.47%   -0.07%
==========================================
  Files          68       68
  Lines        3620     3624       +4
==========================================
+ Hits         2879     2880       +1
- Misses        741      744       +3

Impacted Files
Coverage Δ

fastNLP/models/base_model.py
46.66% <50%> (+0.51%)
:arrow_up:

fastNLP/fastnlp.py
90.84% <0%> (-0.71%)
:arrow_down:

Continue to review full report at Codecov.

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

did you delete the preprocess.py?
so what is the pipeline now?

@xuyige
DataSet ---> trainer

@FengZiYjun
i mean the more detail pipelines
like preprocessor->xxx->dataset loader->dataset->tensor->network->...

@xuyige
It is hard to illustrate in words. Better with graphs.


[Configure settings] Button "Apply changes" should not be displayed when agent does not have conversation settings

EPAM AI DIAL chat version
0.22.0
How to reproduce
Steps:

click "New conversation" button
click "Change agent" link
select any app which does not have settings
click "Configure setting"

Actual result
Modal form with Apply changes button is displayed

Expected result
according to design button should not be displayed

Confidential information

[X] I confirm that do not share any confidential information

Case 2:
"Apply changes" button should not be displayed is click on Settings icon for restricted model/app


fix BesTLA compile on Windows

Type of Change
feature or bug fix or documentation or others
API changed or not
Description
detail description
Issues: xxx
Expected Behavior & Potential Risk
the expected behavior that triggered by this PR
How has this PR been tested?
how to reproduce the test (including hardware information)
Dependency Change?
any library dependency introduced or removed

https://inteltf-jenk.sh.intel.com/job/nlp-release-build-win/314/

https://inteltf-jenk.sh.intel.com/job/nlp-release-build-win/314/

https://inteltf-jenk.sh.intel.com/job/nlp-release-build-win/315/


We need a chance to speak in the app instead of just listening

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Hi, Just wonder if I can accept an invitation code to enter clubhouse by
Samsung cell phone?
On Mon, Mar 22, 2021 at 4:21 PM ahmedhassan12320 @.***>
wrote:

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always
frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features
you've considered.
Additional context
Add any other context or screenshots about the feature request here.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/grishka/Houseclub/issues/290, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATJOKIBWNWSYAMWN4ZUG2VLTE7GJBANCNFSM4ZUB5IDQ
.


[Feature] Step back and forth by one frame

Currently animatplot's animation.controls() supply a play/pause button. It works really nicely, but once the animation is paused you have no option but to resume playing it at the same speed.
What would be great is to add two more buttons, to step one frame forwards or one frame backwards.
Obviously animatplot is not a full GUI, but I think this small change would be within scope and could be unobtrusive. If you used pictorial represenations of the actions then you could probably squeeze the three new buttons required into the same amount of space that the current button occupies. I'm imagining something like :rewind: :arrow_forward: :fast_forward: (apologies for using emojis to demonstrate).
This shouldn't be hard to do because the buttons just call the _update method.

If we add a step forward/back by one, and maybe we should put the buttons in a line below the slider in a row. This would deal with the text of the slider overlapping.

Also it should be possible to use the dragging argument of the slider widget to move a paused animation to a particular frame by dragging it with the mouse...


RE7 Steam update broke the VR mod for me

Discussed in https://github.com/praydog/REFramework/discussions/781

Originally posted by ehabibeh May  8, 2023
Hey guys. I'm new to the use of this VR mod and I believe the new RE7 build 11026049 released yesterday is causing issues with the VR mod. The framework initializes VR, but doesn't start the game fully. After the framework initializes VR, we're stuck in a black void. No sound. I am able to bring up the steam VR interface using the steam button on my controller.
Troubleshooting done:
-Uninstalled the game, deleted the game folder, reinstalled the game, unzipped latest RE7.zip into the game folder.
-Disabled "desktop Theatre"
-Tried the latest RE7TDB.zip
-Tried the dx11 beta with both the latest RE7.zip and RE7TDB.zip files
I've restarted my PC/headset between each troubleshooting step. The only changes I'm aware of since this last worked was the game update. I was able to play successfully about an hour before that update. I'm assuming this is a known issue being worked on because you seem to be on top of things, but still thought it would be wise to bring this to your attention.
I've been using the mod for a couple days now and I love it! Thanks for your hard work!

Turn off HDR system-wide. Also, not enough information provided as in the issue template. I need the log file and system specs, etc...
https://github.com/praydog/REFramework/blob/master/.github/ISSUE_TEMPLATE/bug_report.md

Thanks for the reply. The change in settings didn't seem to make a difference. There wasn't any crash, but here is the .dmp file anyway renamed to .txt. I'm using the latest version of RE7.zip.
OS Name: Microsoft Windows 10 Enterprise (64-Bit)
Version: 10.0.19045 Build 19045
CPU: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz, 3696 Mhz, 6 Core(s), 12 Logical Processor(s)
GPU: Nvidia GTX 3080
re2_framework_log.txt
reframework_crash.txt

Just an update:
I downgraded my version of RE7 to the previous version on steam by using the steam console command "download_depot<PHONE_NUMBER>71<PHONE_NUMBER>192510703". This allowed me to download the files from the previous game build. Once the files were downloaded, I moved them over to my game folder replacing the updated files. Then I reapplied the RE7.zip VR mod files. The mod is now working again!
This is good as now we know it's a problem after the game updated and nothing local on my end.

I've updated the issue's title to make it easier for others to search in the future. I'll just stick with the pre-update files until the VR mod is updated. If anyone need help downgrading their version of RE7 to get VR working again, feel free to send me a message. Thanks again for looking into this!

Sorry, just saw this. You have to have RE7 fully downloaded and updated without the VR mod. Copy the downloaded depot files into the RE7 steam folder and overwrite the update files, then install the VR mod. No other depots are needed.

Github is a little confusing to me, but I see under the May 18th build the assets show they've been updated 19 hours ago (from now). Does that mean the files have been modified/updated or is that something else? I reported this issue on May 8th, so I was hoping the May 18th release had a fix for you.

Alright, looks like I figured it out workaround. Solution is very the same as @ehabibeh provided, but there is one moment, which is not obvious.

Reinstall RE7 (and deleted all mod files)
Run it
Select in "Beta" dx11 option (that will downgrade game a bit. This is what originally @ehabibeh tried to do to make VR Mod work, but no chance)
Run it
executed this command download_depot<PHONE_NUMBER>71<PHONE_NUMBER>192510703 in Steam Console
Copy depot files in game folder (this step and previous one actually helped @ehabibeh and me as well)
Run game again
Delete re7_config.ini file in games folder and run game again (that will switch game back to dx12 as it will generate config file again. If not doing that your game will be in DX11 mode as you rollbacked using "Beta" and on launch it generates new config file, which targets DX11 and disables Ray Tracing)
Finally install latest RE7.zip from Releases tab in GitHub
Done, you can play VR again :)

@praydog @ehabibeh pls, pin this post somehow, because I'm more then sure I'm not the only one struggled from this issue :)

damn! I ran into this exact problem yesterday. currently just finished downloading the depot files. Currently wondering if installing nexus 4k texture mod along with the re7vr mod will still work or not with this?

Should be fixed on DX11 (non-RT) in 2c09f11a08143963530f5a2ea291e10fbce366ac
Newer builds can be downloaded here: https://github.com/praydog/REFramework-nightly/releases/
If this issue is not related to HDR, or you are knowingly or unknowingly using the DX12 RT build(s), then this will not fix the issue. Please comment here if it has resolved the problem.

(I bet everyone used 1.519 version just because everybody believed it was latest one, but apparently - its not).

Not sure what you're talking about. 1.519 on there is the latest one. It will always be the one shown at the top.


Hash collision generating the UUID4

It looks like we are using a method to generate the UUID4 via this code - http://www.php.net/manual/en/function.uniqid.php#94959. This has caused UUID hash collision multiple times to the same customer. We need to look into a more standard way to generate the UUID4.

https://github.com/ramsey/uuid

The posted code uses mt_rand, which PHP's internal implementation before 7.2 did not generate values with equal probability: it was weighted about 2% more on the ends and at mod 65535 boundaries. What PHP version is the customer using?
That said, it's sufficient for versions 7.0+ to replace calls to mt_rand with random_bytes (or for earlier versions with ParagonIE's shim, which is effectively what Ramsey's UUID library does. While Ramsey's UUID library is defacto standard, it's not necessarily immune from collisions on v4. It may also be slower.
Would recommend using Ramsey UUID first and see if that helps. If it doesn't, or if it's slow, then other approaches could be taken.

Customer (my co) was using 7.2 at the time iirc, now 7.3, in transition to 7.4

Thanks, @passcod. With that info, we can probably eliminate issues with the Mersenne Twister implementation in the PHP engine. While it's a long shot to say it'll be reproducible, are you able to provide some sample code that demonstrates how you were able to get duplicate UUID? For example, tight loops? High concurrency? Also, what OS?

Just normal use via rollbar error logging. No particular high usage (we hit a few thousand error logs a day at most), it was fairly random. We haven't had occurrences since early this year as we changed to generate the uuids our side (with ramsey's library) instead of relying on rollbar's internals.Servers are Ubuntu 18.04 LTS with a 5.3 kernel (using the "hwe" kernel package), with ondrej's PHP builds, running on a VMware cluster, if that matters any. ---- On Fri, 06 Nov 2020 12:54:41 +1300<EMAIL_ADDRESS>wrote ----
Thanks, @passcod. With that info, we can probably eliminate issues with the Mersenne Twister implementation in the PHP engine. While it's a long shot to say it'll be reproducible, are you able to provide some sample code that demonstrates how you were able to get duplicate UUID? For example, tight loops? High concurrency? Also, what OS?
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.


Allow CLI to retry processing until no new messages are exported

Definition of Done / Acceptance Criteria
As someone exporting data from PIXL, I'd like to be able to set a run off that will deal with the VNA being flaky at returning imaging studies, and it will keep on retrying unexported images until a round of processing doesn't export any images
Testing
could use this for one of the system tests to ensure that it waits until rabbitmq is empty, but with a shorter timeout for checking whether there has been a change in exported images. Other option is to mock out the interaction with database, queue and time to be able to control this precisely and have quick tests
Documentation
Create documentation for use
Details and Comments
Currently have to do this manually to compensate for the VNA, to serve projects easily we should automate this.
The VNA has to pull data from long term storage to a cache layer and often fails during our request for the image. If there's a retry within 24 hours, it then works because the data has been transferred to the cache. Currently the pipline is run a few times over. As we filter out exported images before publishing messages to rabbitmq, requerying is reasonable.
Basic thoughts on how this might work

define last_exported_count, number of messages exported at the start of the run. This would be 0 if the batch is new, otherwise queried from the database.
populate messages
poll rabbitmq until the rabbitmq imaging queue is empty
wait 5 minutes to allow for orthanc raw and orthanc anon to process and the image to be published
query database for the current number of messages exported for the project. If this is the same as last_exported_count, success and exit! If not then query again

Might be worth setting a CLI argument for maximum number of retries, maybe 5?

in progress work at https://github.com/UCLH-Foundry/PIXL/tree/peshence/cli-retry-processing in case whoever picks this up finds it useful (likely they won't, sorry)


Update issue templates

Add Issue Templates. Mostly just the standard github ones

@aaronmgdr As we discussed, I picked this up to help with the load and added the form version

✅


Implement menu button for clear verification

Dependent on #32
Implements a modal when the Verify Clears button is clicked that verifies clears upon submission.
I've also separated the Clears() function into another helper so I can reuse the code.

(Used an alt because my main would fill the entire screen)

github is being dumb and wont let me comment on the line 🙃 but we should double check that cleanWorld in clears-handler.go is still parsing the world correctly without the autofill (such as typing the world with lowercase). i might be too paranoid about this but i dont really trust the user to actually type the world in right

https://github.com/user-attachments/assets/bc2779d1-337c-47ed-b9e7-f8fcc05ad691

github is being dumb and wont let me comment on the line 🙃 but we should double check that cleanWorld in clears-handler.go is still parsing the world correctly without the autofill (such as typing the world with lowercase). i might be too paranoid about this but i dont really trust the user to actually type the world in right

doesn't seem like there's any issue with lowercase worlds! https://github.com/user-attachments/assets/bc2779d1-337c-47ed-b9e7-f8fcc05ad691

amazing lgtm


Update Detekt API version used to 1.23.0

What does this PR do?
I noticed some Kotlin 1.7 artifacts downloaded for the test classpath and they were coming from Detekt 1.22.0.
This PR updates Detekt to 1.23.0 to be better aligned with the version we use for the checks (1.23.4) and to stop Kotlin 1.7 artifacts being downloaded.
Detekt 1.23.4 is not used because it will bring Kotlin 1.9, this is not what we want.
Detekt changelog is here.
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

[!NOTE]
We also need to update the shared pipeline to 1.23.0 in dd-source

@xgouchet It is 1.23.4 there in the latest version. Or you mean something else?
Anyway, with this PR tests are passing on macOS, but failing in the CI (Linux) container, so I probably keep this PR on hold for now.


Editor config options not populated correctly when project build path includes a symlink?

Version Used:
8.0.201 SDK on Ubuntu Linux 22.04
Steps to Reproduce:
(1) Create a folder a
(2) In a create an ASP.NET MVC project
dotnet new mvc

(3) Add a second Index.cshtml view in any location other than Home/
(4) Create a symlink directory b which points to a
ln -s ./a ./b

(5) Build the project via the symlinked path
dotnet build ./b/a.csproj

Diagnostic Id: CS8785
Expected Behavior:
Build succeeds cleanly.
Actual Behavior:
Build produces warning and will likely fail at runtime.

CSC : warning CS8785: Generator 'RazorSourceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'ArgumentException' with message 'The hintName 'Index_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')'. [/home/nblumhardt/a/a.csproj]

In the generated editorconfig file, ProjectDir and MSBuildProjectDirectory use the symlink path, while the target paths generated for included files use the resolved path.
I hit this because my source code root is symlinked into a directory under my ~ home dir on another drive. In this repro.GeneratedMSBuildEditorConfig.editorconfig, the paths in question are ~/GitHub and /mnt/data/GitHub, and you can see that both Index.cshtml views end up with the same target path.
is_global = true
build_property.TargetFramework = net8.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb = true
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = repro
build_property.RootNamespace = repro
build_property.ProjectDir = /home/nblumhardt/GitHub/repro/
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.RazorLangVersion = 8.0
build_property.SupportLocalizedComponentNames =
build_property.GenerateRazorMetadataSourceChecksumAttributes =
build_property.MSBuildProjectDirectory = /home/nblumhardt/GitHub/repro
build_property._RazorSourceGeneratorDebug =

[/mnt/data/GitHub/repro/Views/Home/Index.cshtml]
build_metadata.AdditionalFiles.TargetPath = SW5kZXguY3NodG1s
build_metadata.AdditionalFiles.CssScope =

[/mnt/data/GitHub/repro/Views/Home/Privacy.cshtml]
build_metadata.AdditionalFiles.TargetPath = UHJpdmFjeS5jc2h0bWw=
build_metadata.AdditionalFiles.CssScope =

[/mnt/data/GitHub/repro/Views/Other/Index.cshtml]
build_metadata.AdditionalFiles.TargetPath = SW5kZXguY3NodG1s
build_metadata.AdditionalFiles.CssScope =

[/mnt/data/GitHub/repro/Views/Shared/Error.cshtml]
build_metadata.AdditionalFiles.TargetPath = RXJyb3IuY3NodG1s
build_metadata.AdditionalFiles.CssScope =

[/mnt/data/GitHub/repro/Views/Shared/_ValidationScriptsPartial.cshtml]
build_metadata.AdditionalFiles.TargetPath = X1ZhbGlkYXRpb25TY3JpcHRzUGFydGlhbC5jc2h0bWw=
build_metadata.AdditionalFiles.CssScope =

[/mnt/data/GitHub/repro/Views/_ViewImports.cshtml]
build_metadata.AdditionalFiles.TargetPath = X1ZpZXdJbXBvcnRzLmNzaHRtbA==
build_metadata.AdditionalFiles.CssScope =

[/mnt/data/GitHub/repro/Views/_ViewStart.cshtml]
build_metadata.AdditionalFiles.TargetPath = X1ZpZXdTdGFydC5jc2h0bWw=
build_metadata.AdditionalFiles.CssScope =

[/mnt/data/GitHub/repro/Views/Shared/_Layout.cshtml]
build_metadata.AdditionalFiles.TargetPath = X0xheW91dC5jc2h0bWw=
build_metadata.AdditionalFiles.CssScope = b-ewte10s1rc

Building from the resolved path fixes this.
I know this is a fairly loose repro; if it's something that's likely to be fixed/fixable and you need more information from me please just let me know.

Transferred to razor.


Can flow-log-ttl support hourly dimensionality

Feature request
The current unit of flow-log-ttl is days, in my cluster, the data of flow-log in one day reaches 25+Gb, so I want to keep only the last few hours of data, is there a way to achieve this?

Shorten flow_log to 30 hours
Execute the clichouse on all nodes:
alter table flow_log.l4_flow_log_local modify ttl time + toIntervalHour(30)
alter table flow_log.l7_flow_log_local modify ttl time + toIntervalHour(30)


Known Clients to deserialize this format of API

Are there any known libs in Java that can deserialize the JSON produce by this library? I have been using RABL before and serializing the data in flat structure with relationship attributes baked into the root object. Fast JSON API is producing output with the main object and the relationships separately like this:
{
  "data": [
    {
      "id": "8388",
      "type": "upcoming_match",
      "attributes": {
        "id": 8388,
        "start_date": "2018-04-09T14:30:00.000Z",
        "start_datetime": "2018-04-09T14:30:00.000Z",
        "number": "4th Match",
        "match_type": 6,
        "match_type_desc": "T20",
        "name": "4th Match - Sunrisers Hyderabad Vs Rajasthan Royals on 9 April 2018",
        "series_id": 1797,
        "is_live": true,
        "has_selected_team": false
      },
      "relationships": {
        "teams": {
          "data": [
            {
              "id": "5",
              "type": "team"
            },
            {
              "id": "4",
              "type": "team"
            }
          ]
        }
      }
    }
  ],
  "included": [
    {
      "id": "5",
      "type": "team",
      "attributes": {
        "id": 5,
        "name": "Sunrisers Hyderabad",
        "flag_thumb": "https://elasticbeanstalk-us-west-2-520152758970.s3-us-west-2.amazonaws.com/www/teams/5_17a21e668f7aa5017248dc4585570a3a6526dcf9_thumb.png?1408803408"
      }
    },
    {
      "id": "4",
      "type": "team",
      "attributes": {
        "id": 4,
        "name": "Rajasthan Royals",
        "flag_thumb": "https://elasticbeanstalk-us-west-2-520152758970.s3-us-west-2.amazonaws.com/www/teams/4_301f221783a033b2fef98a680eb132420bae55e4_thumb.png?1408803398"
      }
    }
  ]
}

Usually, I have seen APIs including the relationship data within the parent node (i.e. teams within each match in this example). But Fast JSON API is including them separately as a list. Is this a new pattern of exposing relationships and includers? My API client is in Java. I am using https://github.com/FasterXML/jackson to access the API. Instead of writing complex classes that maps this JSON, is there a recommended client that lets me navigate the JSON easily? Like for example,

document.getUpcomingMatch("8388").getTeams().get(0).getFlagThumb()

Have you tried either of the suggestions here http://jsonapi.org/implementations/#client-libraries-java ?

That is what I'm looking for. Thanks!


Create iu.txt

create a file in this repository for my university

@sahinekber18 I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host iu.edu.ng not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


[FEATURE] GUI 加入密钥部分

Is your feature request related to a problem? Please describe.
NO
Describe the solution you'd like
GUI TEST ON WINDOWS
Describe alternatives you've considered
GUI NEED TEST
Additional context
NONE

finish


ReadTheDocs build is failing

There appears to be an issue with setuptools 50.0.0. Unfortunately, specifying a different version of setuptools in pyproject.toml doesn't resolve the issue. ReadTheDocs is apparently installing setuptools 50.0.0 regardless of the version I specify. I don't know if there's a workaround, so I plan to just keep an eye on setuptools issues for now.
Related to pypa/setuptools#2353.

The issue seems to have resolved itself.


Update client-go v7.0.0

Codecov Report

Merging #1016 into master will decrease coverage by 0.03%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #1016      +/-   ##
=========================================
- Coverage    3.54%    3.5%   -0.04%
=========================================
  Files          52      52
  Lines       18011   18203     +192
=========================================
  Hits          638     638
- Misses      17251   17443     +192
  Partials      122     122

Impacted Files
Coverage Δ

apis/voyager/v1beta1/zz_generated.deepcopy.go
0% <0%> (ø)
:arrow_up:

apis/voyager/v1beta1/openapi_generated.go
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Closing the application doesn't end the process and a few other bugs

Hello,
Straight to the point:

Once the VMAF score has been presented and the log.xml opened and shown to the user, exiting VMAF-GUI by pressing the 'x' doesn't end the process. The exe is still running.
Exiting midway through a comparison closes the application, but leaves the ffmpeg process running and continuing the decompress the file(s).

Once the VMAF score has been presented and the log.xml opened and shown to the user, exiting VMAF-GUI by pressing the 'x' doesn't end the process. The exe is still running.
Could you clarify? Does the form close but the process still shows as running in task manager?
Exiting midway through a comparison closes the application, but leaves the ffmpeg process running and continuing the decompress the file(s).
I'll need to add a handler for when the form is closed so I can kill the currently running job, good catch

Could you clarify? Does the form close but the process still shows as running in task manager?
Yes, the form/window closes but the process is not terminated.

I'll need to add a handler for when the form is closed so I can kill the currently running job, good catch
Excellent and thank you. This piece of software is like a rare gem. It does exactly what you state it's meant to, and it performs the task well, with only a few minor issues.

Yes, the form/window closes but the process is not terminated.

I cloned the repo to my machine and tested and I experienced the same. This is likely due to the fact that ffmpeg or vmaf was launched by vmaf-gui and is considered by the OS to be part of vmaf-gui

Here's a couple of events recorded by Windows. There's not much of use here, but some of the information should be useful.

Application: vmaf-gui.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
at System.Windows.Forms.Control.MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean)
at System.Windows.Forms.Control.Invoke(System.Delegate, System.Object[])
at System.Windows.Forms.Control.Invoke(System.Delegate)
at vmaf_gui.Form1+<>c__DisplayClass7_0.<button1_Click>b__0()
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()

Application: vmaf-gui.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ComponentModel.Win32Exception
at System.Diagnostics.Process.StartWithCreateProcess(System.Diagnostics.ProcessStartInfo)
at System.Diagnostics.Process.Start()
at vmaf_gui.Form1.ChildProcess(System.String, System.String, Boolean)
at vmaf_gui.Form1.vmaf(System.String, System.String, Boolean, Boolean)
at vmaf_gui.Form1+<>c__DisplayClass7_0.<button1_Click>b__0()
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()

I assume the unhandled exception is caused by manually killing ffmpeg from task manager? Or is it caused by closing the form?

I've attempted to resolve this by aborting the Thread that handles each child process and I've tried to kill the currently running child process on the form close event. I'm not super experienced with C#. Fixing this issue seems to be beyond me at this point. I'm very much leaning at this point towards archiving this repo after redoing it in electron

Modifying this method to return the process handler should enable us to use the Kill method on form close
https://github.com/ThatNerdUKnow/vmaf-gui/blob/master/vmaf-gui/Form1.cs#L18
Actually, it might be better to create a vector of process handlers as a member of the Form1 class and call the Kill method on each handler on form close


Implement Display for structs in std::char

Right now, EscapeUnicode, EscapeDefault, EscapeDebug, ToLowercase, and ToUppercase do not implement Display. I think that this would be rather useful, because then you could simplyprint!("{}", 'ß'.to_uppercase()) instead of having to do a for loop or convert to a String (which is costly).
Code is implemented in rust-lang/rust#38909.

Closing this because a pull request will suffice.


"Error Resolving 'hiredis' During Serverless Deployment"

while trying to deploying the code to aws server I am getting this error from the Redis package does not contain any package of the name hiredis as the inter dependency can we shift to other version of the Redis to resolve this issue ?
Packaging✘ [ERROR] Could not resolve "hiredis"
node_modules/redis/lib/parsers/hiredis.js:3:22:
  3 │ var hiredis = require('hiredis');
    │                       ~~~~~~~~~
    ╵                       "./hiredis"

Use the relative path "./hiredis" to reference the file
"node_modules/redis/lib/parsers/hiredis.js". Without the leading "./", the path "hiredis" is being
interpreted as a package path instead.
✖ Stack testing-service-dev failed to deploy (3s)
✖ ServerlessError2: Build failed with 1 error:
node_modules/redis/lib/parsers/hiredis.js:3:22: ERROR: Could not resolve "hiredis"
at Esbuild._build (file:///Users/yash/.serverless/releases/4.4.6/package/dist/sf-core.js:685:36178)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async before:package:createDeploymentArtifacts (file:///Users/yash/.serverless/releases/4.4.6/package/dist/sf-core.js:685:25113)
at async PluginManager.runHooks (file:///Users/yash/.serverless/releases/4.4.6/package/dist/sf-core.js:953:9311)
at async PluginManager.invoke (file:///Users/yash/.serverless/releases/4.4.6/package/dist/sf-core.js:953:10023)
at async PluginManager.spawn (file:///Users/yash/.serverless/releases/4.4.6/package/dist/sf-core.js:953:10443)
at async before:deploy:deploy (file:///Users/yash/.serverless/releases/4.4.6/package/dist/sf-core.js:721:65669)
at async PluginManager.runHooks (file:///Users/yash/.serverless/releases/4.4.6/package/dist/sf-core.js:953:9311)
at async PluginManager.invoke (file:///Users/yash/.serverless/releases/4.4.6/package/dist/sf-core.js:953:10023)
at async PluginManager.run (file:///Users/yash/.serverless/releases/4.4.6/package/dist/sf-core.js:953:10813)

Duplicate of #7


AKS Upgrade Caution

As upgrade cluster page states that "AKS adds a new node to the cluster that runs the specified Kubernetes version, then carefully cordon and drains one of the old nodes to minimize disruption to running applications". It's true. However, when you have multiple pools or just a single system/app pool, upgrade operation also breaks/doesn't migrate your node configuration as well. For example, Application Gateway Ingress  state, labels, taints and etc. will be reset and, therefore, you get an application downtime. So, planning/caution section is highly needed to add to both pages (upgrade AKS cluster, upgrade aks cluster, multiple pools)

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

ID: 8c420b2c-e868-9a6a-49fb-913f2cd007ef
Version Independent ID: 5c543e08-7d75-21eb-9510-22e2cd56d16b
Content: Use multiple node pools in Azure Kubernetes Service (AKS) - Azure Kubernetes Service
Content Source: articles/aks/use-multiple-node-pools.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: mlearned

@rlevchenko
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@mlearned @zr-msft
Can you please check and add your comments on this doc update request as applicable.

Thank you @rlevchenko for the feedback.
The steps outlined in the article work when using node pools. When using other node configurations, AKS makes a best effort attempt to preserve old node labels and taints in the new nodes.
If you have a specific case where labels or taints were not preserved and you were expecting it, please file a support request or open an issue on the AKS GitHub repo.
#please-close


Photo sorting "by upload date" does not work correctly

I have set sort "by upload date" from very beginning, but some photos ignore this rule. This happens with older versions (at least 5 months old), too, so this is not new issue/regression. Photo sorting happens on upload and easy to notice when new photo does not appear on top, but instead goes into middle/bottom of album.
Example album: https://pics.lag.lt/#15519937717252 - scroll to bottom and check upload dates on last photos. Ilustrated:

I checked EXIF but can't spot anything suspicious on badly sorted photos - they are taken with different cameras, processed with the same software. EXIF should be available in "Full Photo" view.
Also this happens on multiple albums.

It looks like they are ordered by ID instead of takestamp.

This looks like a duplicate of #123, which I fixed on March 22. Have you not updated your installation in a while? E.g., I see that https://pics.lag.lt/#15519937717252/1559810316064 is affected even though it was uploaded on June 6th.
The current version should not exhibit this problem. However, the already uploaded pictures are affected. @ABLomas the easiest fix would be to re-upload the whole album with the current version, in the desired order. If you are comfortable messing around with the SQL console though, I can send you the queries that will fix it for the four pictures affected without re-uploading anything.
@ildyria ID and takestamp are basically supposed to be the same; it's just that ID is easier to sort by so that's what we use :-).

My running code is not very old, i think around 1 week or so (updated after "Public smart albums (#293)" commit).
I'm fine with photo ordering if new photos will appear in correct order. Searched before opening issue, but missed this one, probably because you were talking about albums and i had issues with photos.
Give me few days, if photos will go in correct order, i will close this issue.


DO-NOT-MERGE test the revert-latest-external-secret branch in pipeline-service

This should verify the revert of https://github.com/openshift-pipelines/pipeline-service/pull/935 that was performed in https://github.com/openshift-pipelines/pipeline-service/pull/952 fixes the removal of the tekton results watcher deployment here in infra-deployments.
@redhat-appstudio/konflux-pipeline-service FYI
rh-pre-commit.version: 2.2.0
rh-pre-commit.check-secrets: ENABLED

/hold

tailing the e2e-tests live we are already past the gitops rollout and results watcher is OK again @redhat-appstudio/konflux-pipeline-service
assuming no oddly specific chains related errors we'll move forward with https://github.com/openshift-pipelines/pipeline-service/pull/952

/test appstudio-hac-e2e-tests


Ignored datastore/_generated directory in lint.

It's unclear why this wasn't failing sooner, but it is causing the build to fail.

@tseaver Merging now just to get a green build. Can roll back if you find issues.
These are the merges to master from today, just brutal

LGTM


Will the team releases more documents

The project is complex and hard to fully understand. It is appreciate to release more documents.

Hi, thanks for your interest on the project. We are preparing the soft document recently. A preliminary version is available at https://trademaster.readthedocs.io/en/latest/  We will release it when it is finished.

Looking forward to it very much!


[sbt 1.0] server reboot

This implements the sbt server outlined in http://eed3si9n.com/sbt-server-reboot.
Pending https://github.com/sbt/util/pull/48

Should we migrate that to sjson-new and sbt-datatype before merging?

@Duhemm Good idea.

Migrated to sbt-datatype + bumped up util

Rebasing on top of 1.0.x to resolve conflicts.

There was a rebase artifact in one of the commits, so I fixed that.

codacy is mad, but Travis is green.


The auto generated id_in leads to invalid query

https://github.com/Weakky/ra-data-opencrud/blob/929e19342f0878fa7ab68852162f48c58a318f1a/src/buildVariables.js#L31-L36
The filter like { id_in: ['id_1', 'id_2'] } will lead to query variables like:
{
   "where": {
    "id_in": { "id_in": ["id_1", "id_2"] }
  }
}

Which is not a valid query anymore.

Hey there,
Could you please provide the components you're using to end up into this bug?
Thanks 🙏

Sure, the component is react-admin List: https://marmelab.com/react-admin/List.html#permanent-filter
The query like this:
{
  posts (where: { title_in: ["Hello World", "My Second Post"] }) {
    id
    title
  }
}

will turn to:
{ title_in: { id_in: ["Hello World", "My Second Post"] } }

The link for the query: https://graphqlbin.com/v2/YvW2uN


Formatting style for editor.formatOnSave is different.

In 1.6.0, my settings.json contains {"clang-format.style": "google"}. If I right-click inside of a file and choose format, the formatting is correctly applied in the "google" style. If I enable editor.formatOnSave, the formatting style is changed when formatting is applied during saving.
Right-click->Format Code formatting:
class Foo {
  constructor() {
    let foo = {bar: 1};
    Promise.resolve(1)
        .then(result => {
          console.log(result);
        })
        .then(() => 2)
        .then(v => {
          console.log('received ', v);
        });
  }
}

Saving (applying editor.formatOnSave) formatting:
class Foo {
  constructor() {
    let foo = { bar: 1 };
    Promise.resolve(1)
      .then(result => {
        console.log(result);
      })
      .then(() => 2)
      .then(v => {
        console.log('received ', v);
      });
  }
}

Note the change in spacing in the "let foo" line and the tab formatting of the Promise's .then() functions.

I believe this may be related to https://github.com/Microsoft/vscode/issues/11609

Is the formatting that you get, when you have editor.formatOnSave enabled the default formatter's? That is, do you get that very formatting if you disable the extension entirely?

Yup, that's correct. Uninstalling the clang-format extension still results in the latter formatting.

Ah, it appears the autosave feature calls provideDocumentRangeFormattingEdit, whereas the editor.action.format uses provideDocumentFormattingEdit. For some reason, VSCode opts to use clang-format for the latter, but chooses to use the built-in typescript formatter in /usr/share/code/resources/app/extensions/typescript/out/features/formattingProvider.js for the former.
Not sure the best way around that, other than waiting for Microsoft/vscode#11609 to settle...

This should be solved with Visual Studio Code 1.7 since you can now simply deactivate the built-in formatters.

Yup, can confirm using 1.7 doesn't show this behavior anymore. Thanks for looking into it.


Make LossLessDefaulter selective to only prevent dropping fields outside of schema (unmarshal strict solution).

What type of PR is this?
/kind feature

What this PR does / why we need it:
Make LossLessDefaulter selective to only prevent dropping fields outside of schema (unmarshal strict solution).
Which issue(s) this PR fixes:

Fixes #3174
Special notes for your reviewer:
The reflection-based solution for prevent dropping fields outside of schema is quite complex. This is an alternative solution for #3186 using json.UnmarshalStrict(). Thanks to @trasc for the idea.
Does this PR introduce a user-facing change?

NONE

/cc @trasc

I'm still hesitant (no strong opinion at this point) that this path-mapping approach is simpler than https://github.com/kubernetes-sigs/kueue/pull/3186.
It is certainly simpler on the surface, but the path mapping code makes me feel uneasy about productising it. First, I have a feeling we are building on top of API which is meant to surface errors for human readers, not to build functionality around it. Second, the mapping is done with regexes which are intrinsically meant for unstructured data. Finally, there are many nuances about syntax and escaping. I suppose the code to support all cases properly, like [][]string will be even more complex. And I'm not even sure how to methodically approach verifying correctness.
I consider the previous structured-traversal approach straighforward conceptually. Yes, there are many cases to take care about corresponding to different field types (slice, Map, Pointer, Struct, primitives), but there is only a finite number of those, and we can get help from code analysis tools to see what are the uncovered types.
Let me know your thoughts.

I consider the previous structured-traversal approach straighforward conceptually. Yes, there are many cases to take care about corresponding to different field types (slice, Map, Pointer, Struct, primitives),

I would add the inline structs.
But yes, it seems like a more limited set. It overall sounds more reliable than the parsing via regex. Right now, the code in #3186 doesn't actually look that long.

Yet another possible approach: https://github.com/kubernetes-sigs/kueue/compare/main...epam:kubernetes-kueue:dont-drop-on-muatation
In short, we crate a patch that shows what is removed just by an Unmarshal/Marshal cycle with the local scheme, and we drop the paths in question from the final patch.

Yet another possible approach: main...epam:kubernetes-kueue:dont-drop-on-muatation
In short, we crate a patch that shows what is removed just by an Unmarshal/Marshal cycle with the local scheme, and we drop the paths in question from the final patch.

I like this idea. Could you please create a separate PR to continue the discussion?

Yet another possible approach: main...epam:kubernetes-kueue:dont-drop-on-muatation
In short, we crate a patch that shows what is removed just by an Unmarshal/Marshal cycle with the local scheme, and we drop the paths in question from the final patch.

I like this idea. Could you please create a separate PR to continue the discussion?

It would also be great to add more test cases from the current PR and check how it works with them.

Let me try to compare the options:
@trasc's

Con: It adds three passes to the structure (to unmarshal, then marshal, then diff)
Pro: It delegates any nuances of json marshaling to well tested libraries.
Pro: It handles structs that implement MarshalJSON, which is not uncommon. We have resource.Quantity upstream.

@mbobrovskyi's

Pro: It adds one pass to the structure
Con: More maintenance on our side
Con: It can't handle MarshalJSON

So maybe @trasc's is the only viable option? Maybe we can optimize a little if we can reuse the unmarshalled object from CustomDefaulter, once the change goes to controller-runtime.

I think the extra in-memory pass is only a minimal con. The whole object is anyway serialized / deserialized multiple times during webhook admission and transferred over the wire between kube-apiserver and webhooks.

Con: More maintenance on our side

That is some con, but ideally we can transfer the solution to controller-runtime in the long run. In order to make the transfer possible I think we need to make sure it is correct in all cases.
So, for now I'm mostly focused on correctness, and running all tests we have against https://github.com/kubernetes-sigs/kueue/compare/main...epam:kubernetes-kueue:dont-drop-on-muatation would be great to build confidence in this approach.
Regarding MarshalJSON - I'm not familiar with this in the context of webhooks and wondering how this is working. IIUC kube-apiserver needs to serialize the object to send it over the wire to webhooks. I would suppose it doesn't use custom MarshalJSON because it would risk running arbitrary code on kube-apiserver. So, if the webhook uses it to deserialize it, we can create a mismatch in the serialize / deserialize functions. Maybe it warrants an experiment how/if this is supported, WDYT @alculquicondor ?

I think that a field with custom Marshal/Unmarshal can also declare itself as object with // +kubebuilder:validation:Type=object.


is there anything like this for json docs???

hi. sorry for opening this issue here. i want to know that is there anything like this for json documents???

Hi @arahimizadeh,
You have the following task which does patching on JSON: https://marketplace.visualstudio.com/items?itemName=geeklearningio.gl-vsts-tasks-file-patch


Allows non-semver versions

Modprox should only add semver-versions or pseudo-versions of modules.
I think the behavior should be similar to that of go get: resolve a non-semver tag to a revision and add the module by its pseudo-version.
See this and this for more info on pseudo-version handling.

@deadok22 as I understand this issue, the requirements are that users will be able to specify versions in /modules/new in a way similar to go get and have modprox resolve them correctly, as specified in the standard:
go get github.com/gorilla/mux@latest    # same (@latest is default for 'go get')
go get<EMAIL_ADDRESS>  # records v1.6.2
go get github.com/gorilla/mux@e3702bed2 # records v1.6.2
go get github.com/gorilla/mux@c856192   # records v0.0.0-20180517173623-c85619274f5d
go get github.com/gorilla/mux@master    # records current meaning of master

I think this is difficult, since there's no single way of resolving what a pseudo version is ; non-github may behave differently. Further, I think the main use case is just adding a pre-modules repo as a dependency, so I'd like to make it easier to just do that.
/mods/find brings us close, but has a few shortcomings. I'm going to try fixing those in #173.
Please correct me if I misunderstood what this issue is about.

I discussed this offline with @deadok22. The request here is that

/new will prevent users from registering arbitrary strings as versions
/new will resolve things like @master, @$COMMITSHA, and @$TAGNAME to a pseudoversion, similar to how go get does it.

I'm going to look at go get source to see how it handles it. We'll need to also correctly handle internal repos.


Register event types for better type inference

This allows typescript to know which kind of event object is passed to listeners for those event names.

Released in v4.5.0 🎉


Package upgrade: permission_handler 7.1.0 --> 8.1.3

Summary
Package upgrade: permission_handler 7.1.0 --> 8.1.3
Changelog
[General] [Change] - Upgrade permission_handler from 7.1.0 to 8.1.3 (changelog)
Test Plan
Regression test the following areas:
./lib/ui/scanner/native_scanner_view.dart
./lib/core/providers/scanner.dart

Deferred