Feature Request

Connect to websockets
Custom Shapes (Rectangles and ellipses)
Add text
Add images

Hello, thanks for checking out this library!

Connect to websockets

This is already possible by hooking up your websocket logic with the onChange functions.
For example, provide the useRealtimeDrawer hook an onChange function that sends a websocket message to the server with the function payload when the user draws on the canvas. For the viewer you'll be listening for websocket messages from the server and when received you pass them to the useRealtimeViewer's onChange function to render the results.

Custom Shapes (Rectangles and ellipses)
Add text
Add images

These features are unfortunately out-of-scope for this project. This library is meant for freehand drawing only.
For this purpose I recommend checking out react-konva. It's a much more comprehensive library with support for shapes, text, images and more!

Hello, thanks for checking out this library!

Connect to websockets

This is already possible by hooking up your websocket logic with the onChange functions.
For example, provide the useRealtimeDrawer hook an onChange function that sends a websocket message to the server with the function payload when the user draws on the canvas. For the viewer you'll be listening for websocket messages from the server and when received you pass them to the useRealtimeViewer's onChange function to render the results.

Custom Shapes (Rectangles and ellipses)
Add text
Add images

These features are unfortunately out-of-scope for this project. This library is meant for freehand drawing only.
For this purpose I recommend checking out react-konva. It's a much more comprehensive library with support for shapes, text, images and more!


Remake UI design and resolve conflict with

Remake Design, Text, Button, Themes,..
Update Unity Version
Add 3 car models to garage

And Change Build Index , add scene Preloader as Start Game Scene


CNDB-6142 Make sure AbstractMessageHandler doesn't update ClientMetrics if not initialized

ClientMetrics are supposed to be used in conjunction with the native transport protocol. That's also confirmed by the fact that the only place where they are initialized is in the NativeTransportService class in OSS and in CqlService in CNDB.
ClientMetrics are mainly updated within the CQLMessageHandler, but there's also one case where they are updated in AbstractMessageHandler. Since InboundMessageHandler is an implementation of AbstractMessageHandler and it's also used by writer services in CNDB, where the native transport is not used, this PR makes sure that AbstractMessageHandler doesn't update ClientMetrics if they are not initialized, in order to prevent NullPointerExceptions.
For reference, see: https://github.com/riptano/cndb/issues/6142

@jasonstack I also added a test as CI was, rightly, complaining about code coverage. If you can have a look when you have a minute. Thanks!

Closed as we ended up using this alternative implementation instead: https://github.com/datastax/cassandra/pull/604


cannot type in shell

Dear Roland, I just installed on my ubuntu machine
The problem is, I cannot type any query in shell
The cursor blink, but any button in my keyboard doesn't work
I attached the screenshot.
(Ubuntu 14.04/jdk7/tomcat8/FireFox & Chrome)

same here - although Xavier works like a charm.
Any ideas?


Add custom lists to configure that can be articlized and pluralized

Type: FEATURE REQUEST
Challenge:
Imagine a UI that builds templates and lists and then executes them dynamically. Adding those lists as actions is not currently possible.
Solution:
Allow configure to accept custom lists. Besides a key and values, you can specify whether to support articlize and pluralize:
var Sentencer = require('sentencer');

Sentencer.configure({
    // the list of nouns to use. Sentencer provides its own if you don't have one!
    nounList: [],

    // the list of adjectives to use. Again, Sentencer comes with one!
    adjectiveList: [],

    customLists: [
        {
            key: "animal",
            values: ["dog", "cat", "horse", "pig", "elephant"],
            articlize: "an_animal", // if named, add action that calls articlize
            pluralize: "animals"    // if named, add action that calls pluralize
        },
        {
            key: "band",
            values: ["The Beatles", "The Who", "Styx"],
            articlize: "",  // no key or empty value, don't articlize
            pluralize: ""   // no key or empty value, don't pluralize
        }
    ],

    // additional actions for the template engine to use.
    // you can also redefine the preset actions here if you need to.
    // See the "Add your own actions" section below.
    actions: {
        my_action: function () {
            return "something";
        }
    }
});

The templates available for custom lists:
"{{ animal }}"
// "dog", "cat", "horse", "pig", "elephant"

"{{ an_animal }}"
// "a dog", "a cat", "a horse", "a pig", "an elephant"

"{{ animals }}"
// "dogs", "cats", "horses", "pigs", "elephants"

"{{ band }}"
// "The Beatles", "The Who", "Styx"

"{{ a_band }}"
// ignore

"{{ bands }}"
// ignore

It's awesome! But it's still not merged? 🥲


Fix link to pubsub landing page in README

Thanks!

Coverage remained the same at 81.495% when pulling 2ad7cf5e6140b813f3eef78e73c627edeb4dfe2c on anuraaga:patch-1 into 76d2a71da656c6255b8eb05fe61df53662a15c86 on GoogleCloudPlatform:master.


Support for body-parser urlencoded, out of the box?

Hi,
I have an endpoint and I am calling into it and passing in x-www-form-urlencoded values from postman.
It arrives in the controller but the controller Body property is empty.
   @Body() transaction

It seems that routing-controllers uses Body-Parser out of the box as it parses JSON right ?
But urlencoded, do I need to configure something? Or pass something into @Body ?
Does anyone have an example ?
Appreciate any insight anyone has.
Thanks

Currently is not supported out of the box:
https://github.com/pleerock/routing-controllers/blob/master/src/driver/express/ExpressDriver.ts#L90
The easiest way is to create a parser object on app bootstrap:
import * as bodyParser from "body-parser";

// create application/x-www-form-urlencoded parser
export const urlencodedParser = bodyParser.urlencoded({ extended: false })

And then use it in your controller as a middleware mounted before the route:
@JsonController("/urlform")
class UrlFormController {

    @Get("/test")
    hello() {
        return "Hello World!";
    }

    @Post("/send")
    @UseBefore(urlencodedParser)
    handleForm(@Body() form: BodyFormType) {
        // your form should be here
    }

}

Or on the whole controllers endpoint if you have multiple forms:
@JsonController("/urlform")
@UseBefore(urlencodedParser)
class UrlFormController {
    // ...
}

Thanks! Just what I needed, actually I had it added as a global middleware but this is way better as I don't want my other endpoints to support this method.
Thanks!


Documet view with no content to display from the text crashes page

When viewing a document after upload if it was uploaded with no text crashes the page. I uploaded a document without a text field in the metadata, in the next frontend component of the table view when looking at the document the page flashes and crashes. the console error is that .length is trying to be called against null. My suspicion is that the content preview pill is checking length regardless of whether the property is present when trying to display the row component in the document view.

Related to the migration of the WASM import improvement to the lighter-weight Text encoder. Resolved by 5f0e392afb80b47e904371cc025ca21a9b9cba84


Would This Work on a Jailbroken iOS device on 9.3.3? Or on a rooted Android device on 4.2.2?

I have a jailbroken iPhone on 9.3.3 with the terminal. Working python. I'm wondering if this would work or if I'd have network interface issues.

@notcrunchytaco You'd need a wireless adapter that supports monitor mode and a kernel supporting such an adapter.

@keeganjk Actually no, for the arp spoofing part a basic network interface is enough. Even the default one of the iPhone.
But I think installing Python and the requirements would cause problems.

Closing due to inactivity. I believe the question has been answered.


Explore RNN regression

We want to explore RNN regression  on hybrid labs data. For that, a python module needed to be called to fit, and predict. The module should:

[ ] have a notebook in docs folder to show a simple example
[ ] have tests
[ ] have an easy interface and run fast (to be discussed)
[ ] extend pycaret to compare different models, see examples (to be discussed)

Data:
The data folder exp699_032024_TUDelft is available on Atlas SharePoint at Documents > HybridLabs > Example_data. NOTE: The data folder exp699_032024_TUDelft is not public and cannot be shared with others. The trained model on this data cannot be also shared. For now, no need to store the trained model.
The data folder exp699_032024_TUDelft includes:

readme.md: it contains the experiment details and ML input/output
channel.csv: it contains the variable names and units
exp699.mat: it contains the data and it is in matlab format.

Reading data in python:
import h5py
import numpy as np

# see channels.csv file for the data structure

matfile = "./exp699.mat"
data = h5py.File(matfile, mode="r")

print(data.keys())
print(data["exp699"].keys())

ref = data["exp699"]["Y"]["Data"][0][0]
deref = data[ref]
np.array(deref).shape  # (327702, 1)

# time
np.array(data["exp699"]["X"]["Data"]).shape  # (327702, 1)

Literature:
Some literature is available at on Atlas SharePoint at Documents > HybridLabs > Literature.

see #14


Xarray Error while implementing bpch_to_nc script of xbpch: conflicting sizes for dimension

Hello everyone,
I am facing an error of " conflicting sizes for dimension time " when I am implementing bpch_to_nc script of xbpch. If anyone knows the solution for this error please let me know.
In the terminal after executing the command I get:
Reading in file(s)...
/usr/local/lib/python2.7/dist-packages/pandas/io/parsers.py:710: UserWarning: Duplicate names specified. This will raise an error in the future.
return _read(filepath_or_buffer, kwds)
Traceback (most recent call last):
File "/usr/local/bin/bpch_to_nc", line 4, in
import('pkg_resources').run_script('xbpch==0.3.3', 'bpch_to_nc')
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 657, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 1437, in run_script
exec(code, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/xbpch-0.3.3.dist-info/scripts/bpch_to_nc", line 77, in
ds = open_bpchdataset(args.bpch_files[0], **open_kws)
File "/usr/local/lib/python2.7/dist-packages/xbpch/core.py", line 82, in open_bpchdataset
ds = xr.Dataset.load_store(store)
File "/usr/local/lib/python2.7/dist-packages/xarray/core/dataset.py", line 397, in load_store
obj = cls(variables, attrs=attributes)
File "/usr/local/lib/python2.7/dist-packages/xarray/core/dataset.py", line 365, in init
self._set_init_vars_and_dims(data_vars, coords, compat)
File "/usr/local/lib/python2.7/dist-packages/xarray/core/dataset.py", line 383, in _set_init_vars_and_dims
data_vars, coords, compat=compat)
File "/usr/local/lib/python2.7/dist-packages/xarray/core/merge.py", line 365, in merge_data_and_coords
indexes=indexes)
File "/usr/local/lib/python2.7/dist-packages/xarray/core/merge.py", line 443, in merge_core
dims = calculate_dimensions(variables)
File "/usr/local/lib/python2.7/dist-packages/xarray/core/dataset.py", line 109, in calculate_dimensions
(dim, size, k, dims[dim], last_used[dim]))
ValueError: conflicting sizes for dimension 'time': length 38 on 'IJ-SOA-$_POA' and length 19 on 'PL-SUL=$_SO2dms'
Thank you
-Pritanjali Shende

Hi, I've also had an identical issue however this only occurs for runs longer than 1 month. Version 12.1.1 of GEOS-Chem with no modifications to the code. I'm on version 0.3.4 of xbpch.
This isn't a big issue as the netcdf diagnostics are working fine in 12.1.1 and as far as I can tell I'm unable to replicate the error with older versions of GEOS-Chem bpch output. It looks like the time dimensions for IJ-SOA-$_POA are always doubled so it might be an issue with the actual bpch file that is being output?

Hi @darothen I have spotted the issue here, in V11 in the tracerinfo.dat file ND42 has two duplicated names "POA" and "OPOA", these get concatenated on the time dimension. This has been fixed in V12. I spotted this as a similar things happens when tracer names exceed 8 characters and then truncate to identical names.
Thanks,
Peter

Thanks @peterivatt, that's helpful - it's the same issue as #17. I think I'm going to implement the "brute force" option and force users to specify if their tracerinfo.dat is from before GC v12.2.0 and just deal with it that way. Hopefully will be able to cut a patch this weekend.


Fix libzmq system library linking

If I understood correctly, I suppose this was a logic error, where BUILD_SHARED_LIBS=ON should be forcing to use the bundled version and build libzmq and link statically, and OFF where it should be choosing the libzmq system's version, if not found then force from bundled version.
This fixes on my machine my builds perfectly at least, this will permit me to advance on my Gentoo ebuild.

oops I haven't seen this one,
as for why the Debian SID build with libc++ failed I think it is due because it uses gcc's stdlib headers somewhere rather than LLVM's ones somehow where both implementations are different, or it is still linking with libstdc++ even though -stdlib=libc++ is given, something like that. Running with clang++-13 -v might give more information.
On my side I made a little test with:
cmake .. -G Ninja -DCMAKE_CXX_FLAGS=-fdiagnostics-color=always -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER=clang-13 -DCMAKE_CXX_COMPILER=clang++-13 -DCMAKE_CXX_FLAGS=-stdlib=libc++ -DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=lld -DCMAKE_MODULE_LINKER_FLAGS=-fuse-ld=lld -DCMAKE_SHARED_LINKER_FLAGS=-fuse-ld=lld -DCMAKE_STATIC_LINKER_FLAGS=-fuse-ld=lld
iand it works fine (both libc++ and libstdc++ are linked), there is definitely something going wrong on the machine

if i recall BUILD_SHARED_LIBS is indicating if we want to build liboxenmq as a shared library or not. i dont think building with its own zmq makes sense if BUILD_SHARED_LIBS is set to ON

Alright, this was an issue on my system, my bad; to be clear it was because somehow I got BUILD_SHARED_LIBS=ON and BUILD_SHARED_LIBS=OFF mixed, but it is gone now, I'll be closing the pull request

it is likely something could be potato in the cmake. i have seen this happen before off of debian build enviroments.

I just did a quick test build again in case if you monitor the issue, basically my linker is trying to link with libzmq/lib/libzmq.a when it should be libzmq/lib64/libzmq.a when -DBUILD_SHARED_LIBS=OFF

oh god it's that issue again, i think we have the required cmake runes to fix this. let me dust off my necrocmakecon

aha, when referencing lib/ we should be using ${LIBDIR} from GNUInstallDirs

ah rip, yeah I just saw this now in LocalLibzmq.cmake should be easy to fix then

Should I wait for your fix or I make a pull request?
Also ${LIBDIR} does not work, but ${CMAKE_INSTALL_LIBDIR} does...

Does this sound good?

i'll let @jagerman review it as a final pass but it looks fine to me.

Looks good to me.

Though:

This fixes on my machine my builds perfectly at least, this will permit me to advance on my Gentoo ebuild.

Shouldn't you just be depend on the system libzmq?  The bundled version is there as a sort of hack for environments that are afraid of/unable to link to system libs.

Though:

This fixes on my machine my builds perfectly at least, this will permit me to advance on my Gentoo ebuild.

Shouldn't you just depend on the system libzmq? The bundled version is there as a sort of hack for environments that are afraid of/unable to link to system libs.

That was exactly my issue I was basically wanting to build from system libzmq, I thought it was first a logic error (it was not I had just some confusions on SHARED_LIBS=ON/OFF),
the problem was more just my cmake configuration that has failed multiple times for some reasons,
though once I did setup my env correctly, it built correctly with system libs, but not with the bundled version in some systems (this is not really necessary indeed, but in case that the libzmq system version is lower it might turn useful in some situationsl)


Moisture - Avoid battery drain

In order to avoid battery drain should be implemented a solution to delay the measurements.
It is mandatory to allow the use of the button while the runtime is on hold in order to not to wait until the runtime wakes up and makes the measurement.

This featured request has been moved to the next milestone due to the necessary effort to achieve it.

Not necessary anymore for this project.


add a logs message when starting dns server

there's a similar message in pilot-agent when we start a dns server, but currently none for ztunnel.  Unless the ztunnel is handling an actual dns request, there's no sign that the server is actually running
Sample log message:
2023-07-19T14:01:29.401806Z  INFO ztunnel::dns::server: starting local DNS server on [::]:15053

tldr; debugged a problem with ztunnel dns, and ended up being related to iptables instead

@howardjohn what should the component field name be?

modified log format:
2023-07-19T15:54:36.126590Z  INFO ztunnel::dns::server: starting local DNS server address=[::]:15053

@GregHanson are you changing the name? or just want to remove the WIP label?

added component field, removing hold label


Provide a network API

Provide a network API so you can connect to a program and send new code to it.

This seems handy, but is also (by definition) remote code execution. We shouldn't enable this by default, and we should think carefully about the implementation's access control mechanism.

Indeed.  I agree on both counts.  I imagine a use-case of a) a private application or service in development, running on one's own machine, perhaps in a VM, that no one else can reach anyway, or b) full-on two-way TLS, with both client and server certificates required.  For something like this, self-signed would be fine, I should think, but obviously a "real" one would also be fine.
In any case, yeah, when and if we implement this, we can talk about the api then.  I just wanted to get the idea out there.


chore: release 0.1.0

:robot: I have created a release *beep* *boop*
0.1.0 (2021-05-31)
Features

add npm registry to milirc (1daacc6)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/mili-project-manager/mtpl-base/releases/tag/v0.1.0 :sunflower:


[ModalManager] Select Option is not accessible when placed in a Modal or Drawer because aria-hidden is set

Steps to reproduce
Link to live example: https://stackblitz.com/edit/vitejs-vite-j2pkfu?file=src%2FApp.tsx
Example code:
import { useState } from 'react';
import { Select, Option, Drawer, Button, Box } from '@mui/joy';

function App() {
  const [open, setOpen] = useState(false);

  return (
    <>
      <Button onClick={() => setOpen(true)}>Open</Button>

      <Drawer open={open} onClose={() => setOpen(false)}>
        <Box>
          <Select defaultValue="dog">
            <Option value="dog">Dog</Option>
            <Option value="cat">Cat</Option>
          </Select>
        </Box>
      </Drawer>
    </>
  );
}

Steps:

Press the "Open" button to open the Drawer.
Inspect the elements using dev tools.

Current behavior
When opening the Drawer, the ModalManager will apply aria-hidden="true" to all elements in the root container (<body>) except for the presentation container of the Drawer itself. Most of the time this is desired because only the the content of the Drawer should be accessible.
In my example though, I am nesting a Select component inside the Drawer. The list item menu of the Select (Popper) is placed below the body element and will have the aria-hidden attribute set to true:

It seems that I am still able to use the Select component using the mouse and keyboard. So there seems to be no harm for the regular user, I think.
But we have noticed this bug in a playwright test using getByRole("option") which is strict about visibility and will not find the option because aria-hidden is set.
Expected behavior
The options of the Select should be accessible when placed inside a modal/drawer.
Maybe:

aria-hidden should not be set to root-level containers that are part of the current modal.
Or: There should be some documentation on how to solve this issue otherwise.

Context
No response
Your environment

npx @mui/envinfo
System:
    OS: Linux 5.4 Ubuntu 20.04.6 LTS (Focal Fossa)
  Binaries:
    Node: 20.9.0 - ~/.nvm/versions/node/v20.9.0/bin/node
    npm: 10.1.0 - ~/.nvm/versions/node/v20.9.0/bin/npm
    pnpm: 8.10.5 - ~/.local/share/pnpm/pnpm
  Browsers:
    Chrome: 123.0.6312.105

Search keywords: modal select aria-hidden modalmanager base-ui joy
Search keywords:

@danilo-leal, this is about Joy's Select, so should remain in the Material UI repo.

@PMudra, You can render the listbox within the Select's DOM element by setting the disablePortal prop:
<Select defaultValue="dog" slotProps={{ listbox: { disablePortal: true } }}>


Vive Controllers no longer visible in-game

Anyone else having problems with the Vive controllers no longer appearing (not functional at all)? The only things in-game that work are the menu buttons, which will show the SteamVR dashboard, with the controllers re-appearing then. I've been developing with NewtonVR for over a year now, and this is the first time this happened.
I'm using the latest SteamVR beta client (Built Dec 20, 2017 at 19:15 Version<PHONE_NUMBER>). To verify if this was not something I've messed up in my project, I started a new Unity project, imported the latest SteamVR plugin (Version 1.2.2) and the latest NewtonVR scripts from Unity store (Version 1.24, July 06, 2017). The same issue still occurs.
The SteamVR client (specially betas) can be a little inconsistent, so I've re-started the computer a few times as well. If I'm the only one seeing this I'll try to re-install it.
Thank you.
UPDATE: re-installing the SteamVR client either beta or standard version didn't solve the issue. I also noticed that the example scene inside the SteamVR plugin folder is working OK.

My bad - sorry about that. Somehow I disabled the check box "Enable SteamVR" inside NVR Player.


Get "403 Forbidden" message when running the pod

The pod does not start in my cluster, here is how I do that:

I run the pod with following command:

kubectl apply -f https://raw.githubusercontent.com/fluent/fluentd-kubernetes-daemonset/master/fluentd-daemonset-elasticsearch.yaml

Wait for pod to run:

$ kubectl get pods | grep fluentd
fluentd-d7z2f                    0/1       CrashLoopBackOff   3          1m

Pod reports failure:

$ kubectl logs fluentd-d7z2f
2017-04-26 06:44:32 +0000 [info]: reading config file path="/fluentd/etc/fluent.conf"
2017-04-26 06:44:32 +0000 [info]: starting fluentd-0.12.32
2017-04-26 06:44:32 +0000 [info]: gem 'fluent-plugin-elasticsearch' version '1.9.2'
2017-04-26 06:44:32 +0000 [info]: gem 'fluent-plugin-kubernetes_metadata_filter' version '0.26.2'
2017-04-26 06:44:32 +0000 [info]: gem 'fluent-plugin-record-reformer' version '0.8.3'
2017-04-26 06:44:32 +0000 [info]: gem 'fluent-plugin-secure-forward' version '0.4.3'
2017-04-26 06:44:32 +0000 [info]: gem 'fluentd' version '0.12.32'
2017-04-26 06:44:32 +0000 [info]: adding match pattern="fluent.**" type="null"
2017-04-26 06:44:32 +0000 [info]: adding filter pattern="kubernetes.**" type="kubernetes_metadata"
2017-04-26 06:44:33 +0000 [info]: adding match pattern="**" type="elasticsearch"
2017-04-26 06:44:33 +0000 [error]: config error file="/fluentd/etc/fluent.conf" error="Exception encountered fetching metadata from Kubernetes API endpoint: 403 Forbidden"
2017-04-26 06:44:33 +0000 [info]: process finished code=256
2017-04-26 06:44:33 +0000 [warn]: process died within 1 second. exit.

The error is:

config error file="/fluentd/etc/fluent.conf" error="Exception encountered fetching metadata from Kubernetes API endpoint: 403 Forbidden

After some digging I found out that server returns:

system:serviceaccount:kube-system:default cannot list pods at the cluster scope

How can I start fluentd with this issue? Thank you in advance!

It was appeared that cluster runs RBAC authrorization which requires to create additional configuration in order to allow fluentd to access to cluster information:
---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: fluentd
  namespace: system

---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
  name: fluentd
  namespace: system
rules:
- apiGroups:
  - ""
  resources:
  - pods
  verbs:
  - get
  - list
  - watch

---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: fluentd
roleRef:
  kind: ClusterRole
  name: fluentd
  apiGroup: rbac.authorization.k8s.io
subjects:
- kind: ServiceAccount
  name: fluentd
  namespace: system

---
apiVersion: v1
kind: ConfigMap
metadata:
  name: fluentd
  namespace: system
data:
  fluent.conf: |
    @include kubernetes.conf

    <match **>
       type elasticsearch
       log_level info
       include_tag_key true
       host elastic.system.svc.cluster.local
       port 9200
       user elastic
       password Teidael7iijo
       logstash_format true
       buffer_chunk_limit 2M
       buffer_queue_limit 32
       flush_interval 5s
       max_retry_wait 30
       disable_retry_limit
       num_threads 8
    </match>

---
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
  name: fluentd
  namespace: system
  labels:
    k8s-app: fluentd-logging
    version: v1
    kubernetes.io/cluster-service: "true"
spec:
  template:
    metadata:
      labels:
        k8s-app: fluentd-logging
        version: v1
        kubernetes.io/cluster-service: "true"
    spec:
      serviceAccount: fluentd
      serviceAccountName: fluentd
      containers:
        - name: fluentd
          image: fluent/fluentd-kubernetes-daemonset:elasticsearch
          volumeMounts:
            - name: varlog
              mountPath: /var/log
            - name: varlibdockercontainers
              mountPath: /var/lib/docker/containers
            - name: config
              mountPath: /fluentd/etc/fluent.conf
              subPath: fluent.conf
      volumes:
        - name: varlog
          hostPath:
            path: /var/log
        - name: varlibdockercontainers
          hostPath:
            path: /var/lib/docker/containers
        - name: config
          configMap:
            name: fluentd

Can you point me please, where should I put this information (in order to create the PR)?

Since the PR was created and merged on https://github.comfabric8io/fluent-plugin-kubernetes_metadata_filter, considering to close this issue:

https://github.com/fluent/fluentd-kubernetes-daemonset/issues/14
https://github.com/fabric8io/fluent-plugin-kubernetes_metadata_filter/pull/71/files

@shagabutdinov is everything addressed or are you still facing some problem ?

Yes, everything is fine, thank you! The issue may be closed.

@edsiper - sorry, this doesn't fix the RBAC issues - I've deployed the latest daemonset from Git, and I get this when it deploys:
2017-06-22 20:41:04 +0000 [error]: config error file="/fluentd/etc/fluent.conf" error="Exception encountered fetching metadata from Kubernetes API endpoint: 403 Forbidden (User \"system:serviceaccount:kube-system:default\" cannot list pods at the cluster scope.)"
2017-06-22 20:41:04 +0000 [info]: process finished code=256

Can you please include RBAC support into the manifest? Basically any Kubernetes 1.6.x+ deployment is broken with this as that's when RBAC is on by default.

@jpds as @shagabutdinov pointed out in his post, add the following on top of the fluentd daemonset definition in that .yaml file:

apiVersion: v1
kind: ServiceAccount
metadata:
name: fluentd
namespace: system

apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: fluentd
namespace: system
rules:

apiGroups:

""
resources:
pods
verbs:
get
list
watch

kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: fluentd
roleRef:
kind: ClusterRole
name: fluentd
apiGroup: rbac.authorization.k8s.io
subjects:

kind: ServiceAccount
name: fluentd
namespace: system

This got rid of the "403 Forbidden" issue, but now im running into OOMKilled and CrashLoopBackOff issues related to resource utilization :)
I hope this helps you ...

@jpds as @shagabutdinov pointed out in his post, add the following on top of the fluentd daemonset definition in that .yaml file:
---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: fluentd
  namespace: system

---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
  name: fluentd
  namespace: system
rules:
- apiGroups:
  - ""
  resources:
  - pods
  verbs:
  - get
  - list
  - watch

---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: fluentd
roleRef:
  kind: ClusterRole
  name: fluentd
  apiGroup: rbac.authorization.k8s.io
subjects:
- kind: ServiceAccount
  name: fluentd
  namespace: system

---

This got rid of the "403 Forbidden" issue, but now im running into OOMKilled and CrashLoopBackOff issues related to resource utilization :)
I hope this helps you ...

Hello,
@edsiper do you find any workaround ? I faced to the same issue.

Hello, @Maellooou
The manifest @shagabutdinov pasted should be working.
Specifically, Apply the ServiceAccount, ClusterRoleBinding, and ClusterRole templates,
and using fluentd to access k8s in your daemonset template: spec.template.spec.serviceAccountName: fluentd

I hava a 3 nodes cluster and use “_https://github.com/fluent/fluentd-kubernetes-daemonset/blob/master/fluentd-daemonset-elasticsearch.yaml_” to deploy fluentd，it‘s working on 2 of 3 nodes，but on the last one i get ：
config error file="/fluentd/etc/fluent.conf" error="Exception encountered fetching metadata from Kubernetes API endpoint: pods is forbidden: User "system:serviceaccount:kube-system:default" cannot list pods at the cluster scope ({"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"pods is forbidden: User \"system:serviceaccount:kube-system:default\" cannot list pods at the cluster
i am confused ......

@rotmond I have same issue, have you been resolved it?

I was having the same issue on GKE. It's basically the same as https://github.com/coreos/prometheus-operator/issues/357. To fix you need to give your GCloud user account the cluster-admin role:
kubectl create clusterrolebinding your-user-cluster-admin-binding --clusterrole=cluster-admin<EMAIL_ADDRESS>Note that your-user-cluster-admin-binding above is arbitrary.
The email address is case sensitive. Use the shell script below to find it as GCloud sees it (code from link). Make sure to change your project ID (needs jq installed).
gcloud projects get-iam-policy "your-project-id-here" --format json
| jq -r '.bindings[] | select(.role == "roles/owner") | .members[]'
| awk -F':' '{print $2}'

@rotmond I am also facing the same issue now, can you tell me how did you resolve the same.
config error file="/fluentd/etc/fluent.conf" error_class=Fluent::ConfigError error="Exception encountered fetching metadata from Kubernetes API endpoint: pods is forbidden: User "system:serviceaccount:kube-system:default" cannot list pods at the cluster scope ({"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"pods is forbidden: User \"system:serviceaccount:kube-system:default\" cannot list pods at the cluster scope","reason":"Forbidden","details":{"kind":"pods"},"code":403}\n)"

Hello, @Maellooou The manifest @shagabutdinov pasted should be working. Specifically, Apply the ServiceAccount, ClusterRoleBinding, and ClusterRole templates, and using fluentd to access k8s in your daemonset template: spec.template.spec.serviceAccountName: fluentd

Thank you very much, after reading your answer, I did not specify serviceAccountName: fluentd


FTP datadumps locations are not supported.

e.g. the uniprot datasets are marked as invalid because the somewhere a FTP uri is changed into a HTTP uri.

Now that FTP URIs can be entered via the Website it makes sense to be able to process them as well. Unfortunately, this is not yet the case. I have opened a separate issue for this over at https://github.com/LODLaundry/lodlaundry.github.io/issues/83


validation

validation

[x] check if the input is empty
[x] check if the length is less than 60 characters

hi anisya what does the evt stand for in the export function submitNewTodo.

Normally it stands for an event.


yourappbox-app-upload 1.0.0

New Pull Request Checklist
Please mark the points which you did / accept.

[x] I will not move an already shared step version's tag to another commit
[x] I read the Step Development Guideline
[x] I have a test for my Step, which can be run with bitrise run test (in the step's repository)
[x] I did run bitrise run audit-this-step (in the step's repository - note, if you don't have this workflow in your bitrise.yml, you can copy it from the step template.)
[x] I read and accept the Abandoned Step policy

Allows uploading of an ipa/apk to YourAppBox and the legacy system that it replaced, Installfish.

Hi @andrewmarmion,
thanks for the PR!
I agree with @koral-- pls fix this: https://github.com/bitrise-io/bitrise-steplib/pull/2429#discussion_r395988617 as 'Unused dependencies (for example, git and wget added as a sample by default) waste build time.', see: https://devcenter.bitrise.io/contributors/create-your-own-step/#submodules-and-step-dependencies
Fixing issues in a StepLib pull request: https://devcenter.bitrise.io/contributors/sharing-steps-with-all-bitrise-users/#fixing-issues-in-a-steplib-pull-request
@koral--huge thanks for the review


Unable to run the budget allocator as it gives me warning about coefficients. How can we handle this? Thanks!

Issue
Unable to run the budget allocator as it gives me warning "3 of my coefficients are 0". How can we handle this? Thanks!
A summary of what the issue is about.
Running the last step to create a budget for the marketing channels after choosing the best modID that represents our business. However, even after formatting the data, changing variables and tweaking the code its giving me error that it cant run and cant find the "
Error in chnName %in% modNLSCollect$channel :
object 'modNLSCollect' not found "
Steps to Reproduce
modNLSCollect$channel
optim_result <- f.budgetAllocator(modID = "1_78_4"
,scenario = "max_historical_response"
,channel_constr_low = c(0.7,0.75,0.60,0.8,0.75,0.77,0.87,0.9,0.88,
0.78,0.87,0.65,0.88,0.87),
channel_constr_up = c(1.5, 1.5, 1.5, 2, 1.5, 1.5,1.5,1.5,2
,1.5,1.5,1.5,1.5,1.5) # not recommended to )
Please provide instructions that can be used to reproduce your issue. Usually
this will include a test case that produces the wrong output.
NA
Expected Behavior
Should run the optimizer
Actual Results
please seem image

What actually happened. For example, an error message you did not expect to see.
Please seee image

Environment
R version (R 4.04)

hey thanks for flagging this! There was indeed a bug in the allocator and I've just pushed a fix. Would you please try out the update and see if the error still occurs? Looking at your waterfall plot, some media channels are having no effect.  When this happens, channels with 0 effect will not be considered in the budget allocator, because, well, they have 0 effect and there's nothing to optimised.

Hey Thanks @gufengzhou . I was poking around and I saw that the bug was fixed yesterday and It seems its working now. Appreciate the work and quick response on this! :-)

Good that the fix is working:)
The waterfall plot is not (only) the coefficient plot, but the "decomposition", or to be precise, it's the variable multiplied with the coef. It tells you "var 1 explains x% of your conversations/sales".
The decay plot just shows the selected decay rate of each media channel. When using geometric adstock, it's exactly the decay rate. When using weibull adstock, it's the "average" decay Rate, or the "geometric equivalent for weibull". Hope it helps.

Brilliant! This does help alot. So, for decay rate % for geometric adstock is for a the associated time period whether its months/week or year?
Cheers!:-)

Decay rate is always based on your time grain. If you have daily data, then decay rate of 40% means day 1 has 100 imps, day 2 has 40 imps carried over from day 1, day 3 has 16 imps carried over from day 1, etc.
Regarding using old ModID, well yes, you can use the exact hyperparameter of that old model ID as the set local bound values (to fix all hypPars so to say), you will get one single output from f.robyn, then run the allocator on that (ModID will be 1_1_1 because there's just one model).
Curious to know how you think about the result and over performance of Robyn:)

That explains it. I will give it a shot in running the old model as you mentioned. I am glad it has the functionality😀
As I have embedded more and more into robyn and trying to understand the functions created, the idea behind the budget allocator is quite neat. I think its a great MMM tool employing sophisticated never grad and other tools.
I reckon my confusion arises from the results,  I am aware of the pareto optimal result" one cannot be better off without making other worst" but how do you figure in terms of NRMSE and DECOMP,SSD?  I know RMSE and MAPE  and it's impact but how do you look for good NRMSE?In terms of Business logic?
In addition to that, my MAPE is NA? I have tried wrangling, formatting the data, tweaking code but don't know why it's not giving me that.
Furthermore, is there any way to include variables considered exposure without any set data?
Robyn is a great tool and I reckon with our feedback, upgrades it has the potential to be a industry wide norm.
Apologies for long questions. I am actually excited to know more and more about robyn because then I can implement it in all my projects.
Thanks again 😀

DECOMP.RSSD is short for "decomposition root sum of squared distance", a metric we "invented" to account for business logic. The intuition is this: assuming you're spending 90% on TV and 10% on FB. If you get 10% effect for TV and 90% for FB, you'd probably not believe this result, no matter how low the model error (NRMSE) is. If you get 80% TV and 20% FB as effect share, it'll more "realistic". This is where the logic is from: minimising the distance between share of spend and share of effect.
Regarding the question "how do you look for good NRMSE", the job is called multi-objective optimisation and done by Nevergrad. It's how evolutionary algorithm works. We have 2 objective function here: NRMSE and DECOMP.RSSD (when calibrating with experiment, MAPE.LIFT will be added as a third objective). With every new iteration (or generation), the mutation of hyperparameters will always based on the best candidate from the last iteration, so that the learning can be carried over from iteration to iteration. "Best candidate" is defined by the lower/better NRMSE or DECOMP.RSSD. For more details you can check out Nevergrad .
At last, MAPE is NA because you're not calibrating the model. This is expected. Hope it helps:)

I see! Now it's coming all together in conjunction with information about never grad.
I reckon this is what was required to put my mind at ease. Thanks alot for the time and effort you have put in elaborating on the topics.
We can close this issue 😀
Cheers!


Implement HA and Scalability to the turn server instances

Is your feature request related to a problem? Please describe.
At the current state the turn server is utilizing ASG only for failure prevention/HA but not for scale-out/in.
This is caused by coturn (the used turn server) is not scalable by default.
We can scale the instance vertically and this would fit for nearly all use-cases. Under some circumstances it might be usefully to have a real multi-node cluster for the turn server where traffic is distributed to 2 or more instances.
Describe the solution you'd like
We need to check which steps to take to make this happen.
Roughly said we need to implement Redis to distribut session tokens between multible coturn/turn instances so they know about the sessions to be forwarded for audio/video distribution.
Also we need to test and setup a NLB in front of the turn instances to have a single URL to be used by the Big Blue Button application servers as well as clients. NLB is to be used to use TLS forwarding as well as mixed TCP/UDP (non-HTTP) traffic turn is setup for.
These features need a level 4 LB.
Describe alternatives you've considered
there might be another option to leave out the NLB and configure each Application instance to select random turn servers via bootstrap mechanisms. but hstly thats quick and dirty.

due coturn moved directly to the application instance in 5.0.0 this won't be needed anymore. coturn will scale with each app instance.


Implementing on our custom dataset

Hello,
First, Thanks for your great work.
Would you please elaborate more that how can I use the functionalities of this project on my attributed graphs?
Thanks

Hi,
Apologies for a late reply! A good starting point to how to add a new dataset is to see my answer to issue #3 (https://github.com/rampasek/GraphGPS/issues/3) and follow the existing dataset examples.


Add .submit() method call to the CopycatServer class

It would be nice to have a simple method directly on the CopycatServer class to apply a command as if it had come in from a remote client.
server.submit(Operation  operation): CompletableFuture
It appears that you have to create a CopycatClient to communicate with a server now. This entails some overhead, communication over a socket, serialization, etc.. Also, when I connected a remote client to a server there was a ton of chatter, frequent lost connections and recovery, etc.. I'd rather just handle all that in my application code. I'll send an external command to my app, my app will translate it into an Operation object and submit it to the server. Much cleaner, and I'll get closer control over the whole process.

The problem with this is sessions. In order to support linearizable semantics, clients have to register and manage sessions. It's not as simple as just passing commands and queries to the state machine. Local calls to the cluster can be simulated using a client with LocalTransport, which is what's done in AtomixReplica. Create a client with LocalTransport, and then implement a ServerSelectionStrategy to force the client to only connect to the local server. Atomix is where this use case is natively supported, and it won't be supported in Copycat for the reasons above.
If you're losing connections with the client then please file a bug report with the client logs. But keep in mind that clients often intentionally disconnect and reconnect to new servers depending on their configured behavior and failures. The reason the client does all this is so that applications don't have to. If CopycatServer provides a submit() method so you can send a request to the server and have it written to the cluster, your code itself would have to handle connecting to the correct server when one of the servers is partitioned, getting a list of servers when the cluster configuration is changed, ordering and deduplicating events from the state machine, finding leaders, resending failed requests, etc, and still wouldn't benefit from linearizable semantics.


Refactor FormField

This is an update to the FormField component mostly meant to make the component work with other form field components, such as masked inputs. It also attempts to simplify some of the child parsing logic and fix styles in the Select component when used with a Label.

Allows Label to be used with Select, without affecting the chevron position
Adds IconField component for grouping icons with Select and Input elements
Adds isField isLabel and isIcon static properties to allow for other components to be used as FormField children – this can be used for masked inputs in upcoming common components
Uses inline styles for applying styles dynamically to children
Simplifies child parsing logic, but makes this component a little less fool-proof
Replaces alwaysShowLabel prop with Label autoHide prop – fixes #226

Codecov Report

Merging #361 into next will not change coverage.
The diff coverage is 100%.

@@         Coverage Diff         @@
##           next   #361   +/-   ##
===================================
  Coverage   100%   100%
===================================
  Files        41     42    +1
  Lines       429    393   -36
===================================
- Hits        429    393   -36

Impacted Files
Coverage Δ

src/Select.js
100% <100%> (ø)
:arrow_up:

src/Input.js
100% <100%> (ø)
:arrow_up:

src/FormField.js
100% <100%> (ø)
:arrow_up:

src/IconField.js
100% <100%> (ø)

src/Label.js
100% <100%> (ø)
:arrow_up:

src/Icon.js
100% <100%> (ø)
: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 955844d...eb79aca. Read the comment docs.

Since the icon package was moved out since this started, I want to add the isIcon static property to the new icon components before merging this in

Added the isIcon static property in #403


docs: make folder tree for split command in quick start more readable

What/Why/How?
Incorrect formatting of the ASCII folder tree makes it hard to skim and understand
Reference
https://redocly.com/docs/cli/quickstart/#split---divide-your-large-definition-into-smaller-parts
Testing
Screenshots (optional)
Check yourself

[ ] Code is linted
[ ] Tested with redoc/reference-docs/workflows
[ ] All new/updated code is covered with tests

Security

[ ] Security impact of change has been considered
[ ] Code follows company security practices and guidelines

This one has been around a while, rebasing


SRVLOGIC-282: Move main-sync CI to kie-ci repository

Jira: https://issues.redhat.com/browse/SRVLOGIC-282
Description:
Move main-sync CI to kie-ci repository to make it reusable from other midstream repositories
referenced Pull Requests:

https://github.com/kiegroup/kogito-examples/pull/21
https://github.com/kiegroup/kogito-runtimes/pull/33
https://github.com/kiegroup/kogito-apps/pull/21
https://github.com/kiegroup/drools/pull/46
https://github.com/kiegroup/kogito-images/pull/34
https://github.com/kiegroup/kogito-serverless-operator/pull/31
https://github.com/kiegroup/kie-tools/pull/6

is this ready to be merged? @rgdoliveira

I think so. @fantonangeli can you merge the PRs related to this one that are approved?

@rgdoliveira @mareknovotny
Yes it's ready to be merged and I will merge all related approved PRs. Thank you


Magic.instance.user.isLoggedIn() does not return on iOS

Problem
On ios, when we try to use the Magic.instance.user.isLoggedIn() method, the app enters an unknown state (aka not crashing, but  the isLoggedIn method never returns.
Test configuration
xcode 15.0.1
ios 16.6.1
iPhone SE (physical device)
flutter 3.3.9 + magic SDK 5.0.0
flutter 3.16.0 + magic SDK 5.0.0
flutter 3.10.1 + magic SDK 5.0.0
flutter 3.10.1 + magic SDK 2.0.2
What I have found so far
Messages are being dequeue in  magic_sdk.relayer.webview.dart, but I suspect the ios Webview crashes during runJavaScript execution:
_webViewCtrl.runJavaScript(
          "window.dispatchEvent(new MessageEvent('message', $jsonString));");

Since _webViewCtrl.runJavaScript is a future and is not awaited (which is normal here), I cannot be sure that the problem occurs here, but since it calls the platform specific runJavaScript method I cannot debug any further.
When the problem occurs, this appears in the terminal:
[Process] 0x122078640 - GPUProcessProxy::gpuProcessExited: reason=IdleExit
[Process] 0x123000a20 - [PID=95111] WebProcessProxy::gpuProcessExited: reason=IdleExit

Sample code

you can switch between real call to Magic.instance.user.isLoggedIn() and "stub" version to see the demo works no problem with a random Future.

import 'package:flutter/material.dart';
import 'package:magic_sdk/magic_sdk.dart';
import 'package:magic_sdk/modules/blockchain/supported_blockchain.dart';

void main() {
  runApp(const MyApp());
  Magic.instance = Magic.blockchain(
    PUT_YOUR_PUBLIC_KEY_KEY,
    rpcUrl: "https://rpc.ghostnet.teztnets.xyz/",
    chain: SupportedBlockchain.tezos,
  );
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      debugShowCheckedModeBanner: true,
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Stack(
        children: [
          const Home(),
          Magic.instance.relayer,
        ],
      ),
    );
  }
}

class Home extends StatefulWidget {
  const Home({super.key});

  @override
  State<Home> createState() => _HomeState();
}

class _HomeState extends State<Home> {
  bool _isLoggedIn = false;
  bool _loading = false;
  bool _useStub = false;

  String get _loggingText => _isLoggedIn ? "I am logged in" : "I am not logged in";

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          crossAxisAlignment: CrossAxisAlignment.center,
          children: [
            Row(
              mainAxisAlignment: MainAxisAlignment.center,
              children: [
                const Text("Use stub"),
                Switch(
                  value: _useStub,
                  onChanged: (value) =>  setState(() => _useStub = value),
                ),
              ],
            ),
            Text(_loading ? "fetching logging state" : _loggingText),
            TextButton(
              onPressed: () async {
                setState(() => _loading = true);
                final isLoggedIn = await _fetchIsLoggedIn(useStub: _useStub);
                setState(() {
                  _isLoggedIn = isLoggedIn;
                  _loading = false;
                });
              },
              child: const Text('Click to test if user is logged in'),
            ),
            if (_loading) const LinearProgressIndicator(),
          ],
        ),
      ),
    );
  }

  Future<bool> _fetchIsLoggedIn({bool useStub = false}) async {
    if (useStub) {
      print("try fetching stub");
      await Future.delayed(const Duration(milliseconds: 1200));
      print("end fetching stubg");
      return true;
    } else {
      print("try fetching magic use is logged in");
      final isLoggedIn = await Magic.instance.user.isLoggedIn();
      print("End fetching magic use is logged in with value: $isLoggedIn");
      return isLoggedIn;
    }
  }
}

👋 @hbock-42 Thank you for bringing this to our attention. We've just a released an update to our system that may resolve this issue. Could you please try restarting the app, or even better re-install and fresh build and try again? Let us know if you continue to see the hang up.

Hello @Ariflo , thank you for the quick update.
As you suggested a fress build was necessary, but the problem is solved.
Rebuilding the project after flutter clean was not enough, I had to manually uninstall the application from my phone and reinstall it to solve the problem (I can confirm this is required since I had our professional app installed, and the reproducible project installed, and for both of them, just rebuilding was not enough).
So problem solved, I just have to figure out how to make my customers delete then reinstall the application

Is there something we can do to prevent our users to be able de delete then re-install the application?
Maybe we could delete some files generated the first time the magic SDK is used (shared pref or I don't know)? It would force us to make a new version of our app and force our users to update but this is definitely not a problem


Pabowers/monitoring python library

I have added the command to add monitoring to a blade. I have confirmed that it calls the correct endpoint in the hanarp, but have not validated against a real blade.

I've never added a CLI command in this repo (and I'm not sure who has) - Donald is my best guess. Whomever has should review.


Allow anonymous users to access image work and map set manifests

Closes #1434.

Coverage remained the same at 99.584% when pulling f8fba66c792c7d1d694461896121f3a4dbb09272 on 1434-image-work-manifest into 39f638e678e08b915bd014fab9ffd9e1b5290ee5 on master.


check_mode suppor

In borg-client.yml, running the playbook in check mode is not possible since sshkey is undefined in the following task
- name: client | put sshpubkey on the normal backupserver
  authorized_key:
    user: "{{ item.user }}"
 ->   key: "{{ sshkey.stdout }}"

I would suggest to add a check_mode: no when fetching the ssh-key in order to validate the usage of sshkey.stdout
- name: client | fetch ssh-key
  command: "cat {{ borgbackup_ssh_key }}.pub"
  register: sshkey
  changed_when: false
  -> check_mode: no
  tags:
    - skip_ansible_lint

Note : As I am not a old ansible coder feel free to indicate why this is not already the case

Check mode was never tested while implementing the role, so I'm not sure if this would be the only issue? I expect that anything with ssh keys involved will fail if the key is not generated, so it probably doesn't make sense to implement check mode then?


How to change TextField text from Store?

In the example, when we commit a new message, the _currentMessage is emptied but the TextField does not reflect that changes.
This is the code in the store:
triggerOnAction(commitCurrentMessageAction, (ChatUser me) {
      final ChatMessage message =
          new ChatMessage(sender: me, text: _currentMessage);
      _messages.add(message);
      _currentMessage = '';
    });

The view uses a TextEditingController  as a controller for the TextField Widget so I understand why it is not updated.
How can we empty the TextField from the Store with flutter_flux?

I think the correct way would be to move the TextEditingController to the ChatMessageStore. Then you would be able to empty the text field by calling clear() on the TextEditingController.
Also, with this change, the setCurrentMessageAction would no longer be needed.

This is an excellent question for Stack Overflow. Would @letsar be willing re-post your question there, and then @yyoon can provide an answer there and get internet points :)
I'm going to close this issue for now, but it's a great question and we encourage you to re-post to SO. Thank you for using Flutter!

Of course, the question is here: https://stackoverflow.com/questions/47561790/how-to-change-textfield-text-from-store-with-flutter-flux

Just posted on answer there with more details.


Documentation web site does not render anything.

Are you using the latest version? Is the version currently in use as reported by npm ls sharp the same as the latest version as reported by npm view sharp dist-tags.latest?  N/A
What are the steps to reproduce?  Go to https://sharp.pixelplumbing.com. - it's just a white screen
What is the expected behaviour?  See the website
Are you able to provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem? N/A
As a workaround you can go to the Way Back Machine https://web.archive.org/web/20210523064213if_/https://sharp.pixelplumbing.com/install

Hello, the site works for me and it works for WebPageTest too:
https://www.webpagetest.org/result/210602_BiDc15_cc26d6539ffbe51d33d31efba52ca26e/
Perhaps there was a temporary networking problem?
It's fronted by Cloudflare CDN, uses Fastly CDN in the middle and is backed by Google Firebase Hosting, so the availability is expected to be very, very high.
Are you able to re-test? Are there any JavaScript errors in the console? Which browser/OS are you using?

Hmm I get all kinds of CORS Errors
`Content Security Policy: The page’s settings blocked the loading of a resource at https://cdn.jsdelivr.net.x.3d1398140012f049a0096e0054dce6d1b9ca.9270fa56.id.opendns.com/s/cdn.jsdelivr.net/gh/lovell/sharp@v0.28.3/docs/README.md?X-OpenDNS-Session=3d1398140012f049a0096e0054dce6d1b9ca9270fa56_Yy369de0 (“connect-src”).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at<EMAIL_ADDRESS>(Reason: CORS request did not succeed).
Content Security Policy: The page’s settings blocked the loading of a resource at https://cdn.jsdelivr.net.x.9ada86190a99104208091bf0898c955b1459.9270fa5c.id.opendns.com/s/cdn.jsdelivr.net/gh/lovell/sharp@master/docs/image/sharp-logo.svg?X-OpenDNS-Session=9ada86190a99104208091bf0898c955b14599270fa5c_S8WbeOD6 (“img-src”).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at<EMAIL_ADDRESS>(Reason: CORS request did not succeed).
Uncaught (in promise) TypeError: NetworkError when attempting to fetch resource.`

It looks like you're using some kind of OpenDNS-based web proxy that is intercepting and rewriting HTML.
The Content Security Policy in the sharp docs prevents "man in the middle" attacks from unknown URLs, which is what OpenDNS is effectively doing here with its random *.id.opendns.com hostnames.
https://github.com/lovell/sharp/blob/9f384e1c6c111bd98119d567a846c635f9ebbd59/docs/index.html#L8-L13

More likely our corporate custom certificate but point taken. Thanks - not sure what the resolution is here or if there is one but thanks for providing an explanation.
I'll use wayback machine as a workaround

I can confirm that the problem is still active when accessing from our corporation

Commit https://github.com/lovell/sharp/commit/7467fa8b50d280780dfa9fe9a7248deaa499c7a1 reduces the reliance on jsdelivr, which should help with some corporate web proxies. I've re-published the docs with this change, although you may have to wait up to 24 hours for CDN caches to clear.


Error logging tracking responsible vast tag (VMAP)

Hi there,
I'm getting a lot of missed opportunities due to errors which are not handled in a clean way which would allow the next ad to run. Hence I would like to implement some error logging which gives insight on the quality of tags. Unfortunately I couldn't find a way to get the responsible vast tag when an error occurs. I'm using vmap, so there are multiple. Is there any way and if not could one be added or is it all closed ima sdk?

The IMA SDK doesn't expose the VAST tags inside your VMAP response, we should be cleanly handling all errors. Do you have more info on things that aren't being handled cleanly so we can fix that? Thanks!

I'm under the impression that we are loosing around 30% of the opportunities due to errors which videojs-ima is not recovering from.
Is it possible that we will ever see some reports about the vast tag from ima?

The IMA SDK team doesn't have this on their roadmap, but we are looking into exposing more info on ads that fail to load to troubleshoot issues like this.

Hi @Slind14,
I wanted to reach out to you about this issue. Is identifying the specific VAST tag erroring within a VMAP something you require?
I am going to close this issue, but please feel free to reopen if you would like us to look into that possible feature.


Type Inference Issues in Nuxt API Routes

Environment

Operating System: Windows_NT
Node Version:     v20.18.0
Nuxt Version:     3.13.2
CLI Version:      3.15.0
Nitro Version:    2.9.7
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      default
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
Here is the reproduction on Github. It seems codesandbox is doing better than my windows machine? The types aren't muddled and dev server loads up pretty fast.
Describe the bug
Having issues with type inference in Nuxt API routes. The get route returns { [x: string]: never; } while the post route works fine. Explicit typing fixes it, but it's not ideal.
Additional context
I recently discovered InternalApi and was eager to use it extensively. However, the routes are not being inferred properly, especially the GET routes. For example:
export type Branch = InternalApi["/api/:domain/branches"]["get"]["data"][number];

This issue also affects the useFetch types for the routes in question.
https://github.com/user-attachments/assets/a39be427-da32-4dd3-80f6-0fd73a4d669b
Logs
No response

I’ve identified several issues:

Type Inference in InternalApi:

The InternalApi computes types as { x: string: never; } when any or unknown gets inferred within the payload. I've found reasons why any gets inferred within the payload.

Type Annotation in SQL Queries:

Writing:updatedBy: {
  id: sql`COALESCE(${updater.id}, ${creator.id})`,
  name: sql`COALESCE(${updater.name}, ${creator.name})`,
  image: sql`COALESCE(${updater.image}, ${creator.image})`,
},

instead of:updatedBy: {
  id: sql<string>`COALESCE(${updater.id}, ${creator.id})`,
  name: sql<string>`COALESCE(${updater.name}, ${creator.name})`,
  image: sql<string>`COALESCE(${updater.image}, ${creator.image})`,
},

Confusion from Promise.all:

Using Promise.all at some point in the chain has introduced confusion.

I’ll try to include all the features I used in the reproduction to ensure clarity.

I have provided the reproduction in the original post


locally created screenshots and videos in examples are queued for commit

Problem description

If screenshots or videos are created locally in the examples directories then they are added to git differences for a potential commit

Due to the above issue, screenshots have been committed to examples/v10/chrome/cypress/screenshots

Steps to reproduce the issue
In a local clone of the repository, execute:
cd examples/v10/quiet
npm ci
npx cypress run --browser chrome
git status

Note the output
$ git status
On branch master
Your branch is up to date with 'origin/master'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        cypress/screenshots/
        cypress/videos/

nothing added to commit but untracked files present (use "git add" to track)

Expected behavior
Screenshots and videos resulting from Cypress test runs locally should not be committed to the repository.
Analysis
The entries for videos and screenshots do not match the actual locations where videos and screenshots are stored
https://github.com/cypress-io/github-action/blob/b23f22bd72e8c7fe1afab8e8989cec8431998f6f/.gitignore#L3-L4
compare to the actual locations from the steps to reproduce:
examples/v10/quiet/cypress/screenshots
examples/v10/quiet/cypress/videos

* matches anything except a slash, so there is no match. (See reference documentation https://git-scm.com/docs/gitignore.)
Suggested Fix

For .gitignore ...

Change

examples/*/cypress/videos
examples/*/cypress/screenshots

to
examples/**/cypress/videos
examples/**/cypress/screenshots

in order to match /v10/quiet/ for example.

Add

examples/**/cypress/downloads

in case any future examples cause this temporary directory to be created.
(See Cypress documentation: Folders / Files) for list of temporary file locations.

Remove the incorrectly committed screenshots from the repository:
examples/v10/chrome/cypress/screenshots

PR #677 is submitted for this issue


[SNAP-1192] correct offsetInBytes calculation

What changes were proposed in this pull request?
offsetInBytes in UnsafeRow.writeToStream should be "baseOffset - Platform.BYTE_ARRAY_OFFSET" instead of "Platform.BYTE_ARRAY_OFFSET - baseOffset"
How was this patch tested?
precheckin

Merging trivial but required fix. Should go upstream.
@soubhik-c please check


Very bad documentation

[Enter feedback here]

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

ID: 2e218b24-88cc-2c51-1ccc-7718cf0ffb33
Version Independent ID: 0cf3bb9b-c822-b0a6-35d8-785ebcefb4f3
Content: Introduction to Azure Data Factory - Azure Data Factory
Content Source: articles/data-factory/introduction.md
Service: data-factory
Sub-service: tutorials
GitHub Login: @dcstwh
Microsoft Alias: weetok

Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Fix GVim context menu to correctly set current directory when multiple files are selected

Solution: Always use the working directory and pass it on to the process creation
closes #8874

Thank you!


Lowercase Replicas Auto Balance options in UpdateReplicaAutoBalanceModal

What this PR does / why we need it
Lowercase Replicas Auto Balance options in UpdateReplicaAutoBalanceModal which follow the same character case in Setting -> General
Issue
https://github.com/longhorn/longhorn/issues/7530
Test Result

Additional documentation or context

@mergify backport v1.6.x v1.5.x


Add pre-built binaries as GitHub Release Artifacts

Can the distributed versions of bosh-init (from https://s3.amazonaws.com/bosh-init-artifacts/*) be added to the github releases for bosh-init, to make it easy for people to trigger jobs to update environments based on new releases of bosh-init via Concourse?

any reason not to use s3 resource?
Sent from my iPhone

On Jun 3, 2016, at 8:11 AM, Geoff Franks<EMAIL_ADDRESS>wrote:
Can the distributed versions of bosh-init (from https://s3.amazonaws.com/bosh-init-artifacts/*) be added to the github releases for bosh-init, to make it easy for people to trigger jobs to update environments based on new releases of bosh-init via Concourse?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

We have a number of other things using the GitHub resource, which includes the version file, indicating what version of the binary was released. The artifacts all end up having the same name, which makes it easier to implement/consume, rather than check the s3 bucket for new binaries of later versions, and parse that out.
I guess we could use a combo of both, and pull the version from one the github-release resource, and the binary from the s3 resource, but that seems more clunky to support than having them all in a single resource.

On Jun 3, 2016, at 11:24 AM, Dmitriy Kalinin<EMAIL_ADDRESS>wrote:
any reason not to use s3 resource?
Sent from my iPhone

On Jun 3, 2016, at 8:11 AM, Geoff Franks<EMAIL_ADDRESS>wrote:
Can the distributed versions of bosh-init (from https://s3.amazonaws.com/bosh-init-artifacts/*) be added to the github releases for bosh-init, to make it easy for people to trigger jobs to update environments based on new releases of bosh-init via Concourse?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/cloudfoundry/bosh-init/issues/79#issuecomment-223609876, or mute the thread https://github.com/notifications/unsubscribe/AG2SUgFpsH1DPVd2-nGJp7XMQn6kWtb5ks5qIEdHgaJpZM4ItoMV.

might also make sense to add a feature to s3 resource to pick up named regex matches and have them to be files. that way you can match version and version file will be present. cc @vito

all right, lets go for the PR and we ll merge it.
Sent from my iPhone

On Jun 20, 2016, at 2:00 AM, Dr Nic Williams<EMAIL_ADDRESS>wrote:
An example is in http://concourse.ci/versioned-s3-artifacts.html

name: my-product-rc type: s3 source: bucket:
my-product-pipeline-artifacts regexp: my-product-(.*).tgz
access_key_id: {{s3-access-key-id}} secret_access_key:
{{s3-secret-access-key}}
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


Remove missed code path for api < 1.12

Missed from #13160
ping @cpuguy83
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

LGTM if janky is happy

@vbatts issue with this depreciation should also be discussed :/

Ping @icecrime

@runcom while you're at it, we should probably also do what @cpuguy83 mentioned here: https://botbot.me/freenode/docker-dev/2015-06-17/?msg=42103863&page=4
That is, error out if the API version is too low prompting to upgrade the client to use a more recent API version.

@tiborvass sounds cleaner to do that in a separate PR (I agree with the idea though)

@tiborvass I'm on it then (I prefet to split the PR as @thaJeztah suggested if it's ok for everyone)

LGTM

LGTM


from SECEdgar.filings import Filing() --> SyntaxError: invalid syntax

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

#> pip install SECEdgar
#> python

from SECEdgar.filings import Filing()
4.>>>
File "", line 1
from SECEdgar.filings import Filing()
^
SyntaxError: invalid syntax

from SECEdgar.filings import Filing()
File "", line 1
from SECEdgar.filings import Filing()
^
SyntaxError: invalid syntax

1.a> pip uninstall SECedgar
2.a> git clone https://github.com/rahulrrixe/SEC-Edgar.git; cd SEC-Edgar/; py setup.py install
3.a> Finished processing dependencies for SECEdgar==0.1.5
4.a > python
4.b >>> from SECEdgar.filings import Filing() --> SyntaxError: invalid syntax
It's broken...
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
If specific to your OS, please specify which OS you are using [e.g. Windows, macOS, Ubuntu Linux, etc.]
Additional context
Add any other context about the problem here.

Try this:
from SECEdgar.filings import Filing
don't type parenthesis after Filing


User System

Idea
The user system needs to be robust and yet simple. The main features behind it will be the biographies, status, and profile pictures. The profile picture system was already completed, so to finish it off, all I will need to do is link it using URLs. Then, I need to add a biography system, and I might want to force users to not use bad language (so I may have to build a new library for that). And then finally, the statuses will require their own endpoint because they are more 'real-time' than the other endpoints.
Todo

[X] Create a List of Vulgar Words
[x] Build Vulgar Detection Library
[ ] Force Authentication on all Endpoints
[ ] Endpoints

[ ] Set Status
[x] Get Status
[ ] Set Account Data
[x] Get Account

[ ] Testing

[ ] Set Status
[x] Get Status
[ ] Set Account Data
[x] Get Account

I finished the querying endpoints and the testing behind them, but I still need to add the setting user data endpoints.

I've also been thinking I should add an api-feature like the one that GitHub has where users can query:
/user/8.png

And get redirected to the profile picture of that user.

Finished the Testing!!!


failover: force delete pods on unresponsive nodes

Eviction always waits for confirmation by the kubelet to complete. This is
not ideal if the whole node crashed, as then kubelet can't confirm deletion,
and we are stuck with Pods in Terminating state. This is especially bad
in case of StatefulSets, as those won't ever recreate the Pod, as the old
one is still visible, even if it is factually gone.
The solution is to check the node state in the fail over case, and
if kubernetes reports that the node is not ready, we force delete the
pod from the API without waiting for any kind of acknowledgement by
the kubelet.
Also fixes a small typo

draft, until I could test it.

@rck I noticed some issues along the way, so it might be better to review commit by commit


added due date to grants

Description
Due date is now shown on the grants in the applicant's grants list.

Looks good. Just waiting on this goddamn check to stop getting stuck on queue...


support log roller by configuration

Issues associated with this PR
Your PR should present related issues you want to solve.
Sign the CLA
Make sure you have signed the CLA
Solutions

support log roller by configuration
change logtime from s to ms

UT result
Unit Test is needed if the code is changed, your unit test should cover boundary cases, corner cases, and some exceptional cases.
And you need to show the ut result.
Benchmark
If your code involves the processing of every request, you should give the Benchmark Result
Code Style

Make sure Goimports has run
Show Golint result

Codecov Report

Merging #749 into stable will decrease coverage by 0.08%.
The diff coverage is 65.38%.

@@            Coverage Diff             @@
##           stable     #749      +/-   ##
==========================================
- Coverage    51.5%   51.42%   -0.09%
==========================================
  Files         205      205
  Lines       17014    17027      +13
==========================================
- Hits         8763     8756       -7
- Misses       7354     7373      +19
- Partials      897      898       +1

Impacted Files
Coverage Δ

pkg/log/errorlog.go
94.11% <100%> (+0.27%)
:arrow_up:

pkg/log/accesslog.go
69.28% <100%> (ø)
:arrow_up:

pkg/log/logger.go
49.72% <50%> (-7.02%)
:arrow_down:

pkg/log/roller.go
69.44% <60%> (-0.71%)
:arrow_down:

pkg/network/connection.go
22.63% <0%> (-0.59%)
: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 508670b...8436bc0. Read the comment docs.


feat: add new schema and models

Before submitting your PR for review

[x] Run npm run lint to find errors in code syntax/format
[x] Run npm run lint:fix to fix all auto-fixable errors in source code and auto-format with prettier
[x] Ensure you fix any linting errors displayed after running any of the above commands

What does this PR do?
Resolve #100
description of Task to be completed?

add ApplicationSchema
add OrganizationSchema
add AdminSchema

How should this be manually tested?
Any background context you want to provide?
What is the link to the issue on Github?
Issue #100
Questions:

Awesome stuff! Thank you very much! We can vegin implementing the routes then

@piouson I tried to include unique index, but it's failing the linting test. I'll merge anyway and fix this in a hotfix PR


Publish 06/15/2022, 10:30 AM

Docs Build status updates of commit b867a5e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Connect-SPOService.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOMalwareFile.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOMalwareFileContent.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOBuiltInSiteTemplateSettings.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Requirements alias not working

Output of helm version:
Client: &version.Version{SemVer:"v2.14.3", GitCommit:"0e7f3b6637f7af8fcfddb3d2941fcc7cbebb0085", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.14.0", GitCommit:"05811b84a3f93603dd6c2fcfe57944dfa7ab7fd0", GitTreeState:"clean"}

Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.3", GitCommit:"5e53fd6bc17c0dec8434817e69b04a25d8ae0ff0", GitTreeState:"clean", BuildDate:"2019-06-06T01:44:30Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"11+", GitVersion:"v1.11.10-gke.5", GitCommit:"5aa3a95d828fe45aab3611dfc4ebdc0341fe1507", GitTreeState:"clean", BuildDate:"2019-05-29T17:25:39Z", GoVersion:"go1.10.8b4", Compiler:"gc", Platform:"linux/amd64"}

Cloud Provider/Platform (AKS, GKE, Minikube etc.): GKE
Exactly what it says on the tin. My requirements.yaml looks like this:
dependencies:
  - name: mcrouter
    version: 1.0.0
    repository: https://kubernetes-charts.storage.googleapis.com
    alias: objectCache
  - name: mcrouter
    version: 1.0.0
    repository: https://kubernetes-charts.storage.googleapis.com
    alias: sessionCache

The resulting requirements.lock looks like this:
dependencies:
- name: mcrouter
  repository: https://kubernetes-charts.storage.googleapis.com
  version: 1.0.0
- name: mcrouter
  repository: https://kubernetes-charts.storage.googleapis.com
  version: 1.0.0
digest: sha256:09459955a2e5d721ee0dfcc79ce08d9cd078b3684bf87c758e0d0f0d9608562e
generated: "2019-08-09T14:43:45.681670207+02:00"

Output from helm dep up:
Hang tight while we grab the latest from your chart repositories...
...Unable to get an update from the "local" chart repository (http://<IP_ADDRESS>:8879/charts):
	Get http://<IP_ADDRESS>:8879/charts/index.yaml: dial tcp <IP_ADDRESS>:8879: connect: connection refused
...Successfully got an update from the "common" chart repository
...Successfully got an update from the "gitlab" chart repository
...Successfully got an update from the "stable" chart repository
Update Complete.
Saving 2 charts
Downloading mcrouter from repo https://kubernetes-charts.storage.googleapis.com
Downloading mcrouter from repo https://kubernetes-charts.storage.googleapis.com
Deleting outdated charts

After this, my charts subdirectory only contains mcrouter-1.0.0.tgz. My understanding is that it should contain:

sessionCache-1.0.0.tgz
objectCache-1.0.0.tgz

Is this correct, or have I misunderstood the purpose of this feature?

Got the same problem here :(

@NGTOne This is the expected behavior 😄 The will later be used as a chart name while rendering the templates, instead of using the chart name mcrouter. The alias will help in differentiating between different instances of the same chart and also create resources without name conflicts - as usually, the resource name is combination of release name, chart/alias name, resource name - it differs based on the implementation of the helpers file and your templates of course

See https://helm.sh/docs/developing_charts/#alias-field-in-requirements-yaml


MINOR: use 2 logdirs in ZK migration system tests

Zookeeper migration system tests currently override the config to use only one log directory.
This PR removes the override so that the system tests run with 2 log directories following the work done as part of KIP-858.

CC: @soarez @OmniaGM @pprovenzano @cmccabe

@showuon could you have a look at this one?

Sorry for being late. @soarez , should we back port to v3.8 branch since it should work in v3.8.0?

@showuon no worries! Yes, I agree. I think we should backport this to the 3.8 branch. I'm testing the cherry-pick locally against 3.8 now.
@jlprat Let us know if you have any concerns.

Thanks @soarez. Go ahead

Backported to 3.8. Thanks.


customerName field in order type

I want to merge this change because it adds customerName field in order type
In dashboard, on order list we're overfetching the billing address, just to show the customer name in the list.
⚠ Dashboard PR should be created to remove the unnecessary ask for billing address and use customerName field instead.

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-2742 Add resolver for Customer Name in Order Model

Closing this one, we decided there is no need for that change after all. The performance impact is the same as asking for billingAddress since it's the same DL (or none if we already asked for billingAddress anyway) 🔥


Remove MigratedBalanceModal

Because the corresponding endpoint is unmaintained

I think we shouldn't remove the token migrations.


[DRAFT] Jax

TIPS:

cudnn8 is not compatible with next releases, so maybe we have to upgrade 12.2 image to 9.0 version. Or developers must be do a rev 3 of jetpack 6.
cudnn9 must be renamed and mantain a specific structure of folders.
clang not detect cuda and cudnn, so it must be passes by command.
create_cudnn is like a temporal folder for build jax.
All must be match if not, crash!

IDEA:
Create a docker.builder that run create_cudnn.sh etc and build jax. All must be automatize by hyperparameter, like sm_87, cuda version, cudnn_version and local_cuda_path
New command:
python3 build/build.py --enable_cuda --enable_nccl=False \
        --cuda_compute_capabilities="sm_87" \
        --cuda_version=12.2.0 --cudnn_version=9.4.0 \
        --bazel_options=--repo_env=LOCAL_CUDA_PATH="/usr/local/cuda-12.2" \
        --bazel_options=--repo_env=LOCAL_CUDNN_PATH="/opt/nvidia/cudnn/"

https://github.com/dusty-nv/jetson-containers/pull/618

@dusty-nv all is prepared for the next release 0.4.32.
Now depends on the commit builds or not.
Dockers are not prepared. taking accont my tips

I've improved the script because needs that cuda must be lib instead of lib64 path


trace-agent: get rid of the statsd singleton

What does this PR do?
AIT-9770

Remove the statsd singleton in the trace agent. Inject the statsd client as a dependency and propagate it to all the trace-agent components instead.
Remove pkg/trace/metrics

Motivation

Singletons are bad for many reasons
Better support for trace-agent as a library

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes
The new-e2e tests make assertions on the statsd metrics emitted by the trace-agent :)

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided. Except if the qa/skip-qa label, with required either qa/done or qa/no-code-change labels, are applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

/merge

/merge

/merge

/merge

/merge


"Constitution Convention" Spam

I'm playing the current version (as Israel, 1940's and 50's) and keep getting spammed by Constitution Convention event (wants to switch to Promote Democratic).
Just an FYI.

Dveduu said: ↑
Whenever I have a liberal government, I get spammed by "Constitution Convention" event. It keeps telling me to take the reform "Promote Democratic", but I already have the reform.


Add user settings key/value DB table

rather than adding a new col to users table per new setting, use a key/value table to store settings for users
Future PRs could include similar PR for Repo settings

Codecov Report

Merging #16834 (e67e72f) into main (4afdb1e) will increase coverage by 0.01%.
The diff coverage is 64.17%.

@@            Coverage Diff             @@
##             main   #16834      +/-   ##
==========================================
+ Coverage   45.26%   45.28%   +0.01%
==========================================
  Files         779      780       +1
  Lines       87308    87375      +67
==========================================
+ Hits        39524    39569      +45
- Misses      41368    41377       +9
- Partials     6416     6429      +13

Impacted Files
Coverage Δ

models/error.go
39.68% <30.00%> (-0.16%)
:arrow_down:

models/user_setting.go
69.64% <69.64%> (ø)

models/user.go
54.95% <100.00%> (+0.05%)
:arrow_up:

modules/charset/charset.go
71.71% <0.00%> (-4.05%)
:arrow_down:

modules/queue/workerpool.go
47.32% <0.00%> (-3.82%)
:arrow_down:

modules/queue/queue_disk_channel.go
60.94% <0.00%> (-1.78%)
:arrow_down:

models/repo_list.go
77.64% <0.00%> (-0.79%)
:arrow_down:

models/issue_comment.go
51.31% <0.00%> (-0.30%)
:arrow_down:

services/pull/pull.go
42.19% <0.00%> (+0.40%)
:arrow_up:

modules/queue/queue_channel.go
96.66% <0.00%> (+1.66%)
:arrow_up:

... and 5 more

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 4afdb1e...e67e72f. Read the comment docs.

Oh, as a followup to this PR: What about the same structure for repository settings? I think they might need the exact same mechanism for repos instead of for users.

Some comments are hidden. Do we have conclusions about how to do a UPSERT?
https://github.com/go-gitea/gitea/pull/16834#discussion_r746206283

Some comments are hidden. Do we have conclusions about how to do a UPSERT?
https://github.com/go-gitea/gitea/pull/16834#discussion_r746206283

I have no strong feelings either way, but was asked to change it to this by @zeripath, so I will await his feedback.

@wxiaoguang I've updated upsert logic per your feedback. Thank you for your patience with me :)

CI failure is related.

Are there any requirements for key naming? Asking about logical delimiter.
What naming I should use?:

diff:whitespaceBehaviour
diff_whitespaceBehaviour`
diff-whitespaceBehaviour`

it needs to be standardized so that it is the same for everyone I think.

It has been discussed in a relevant PR: https://github.com/go-gitea/gitea/pull/17414#discussion_r754804759 It's not documented yet...

@Gusted thank you a lot!


null pointer dereference crash on armeabi-v7a

after updating to the latest version of the toolchain I noticed that app apks built for arm32 now crash on arm64 devices. This seems to happen since the swift 5.4 update in 4a27bacf524eab8e5d1c289191b760a5ce0db4e7. I am guessing this is not the expected behaviour. I can't reproduce these crashes when using this release of the toolchain 2b0e328e1ee3b9a341247c76827844f2acd3b5f3 so I seems not to be related to the ndk update.
Do you have any ideas where this is coming from? I mean, ideally the apks are used on the architecture where they are compiled for, but unfortunately this does not always reflect the reality. In our bugtracking tools we see that sometimes people use 32bit apks even when the arch of their device would be capable of running 64bit. We still don't understand why this happens. Maybe people manually install apks on their devices, maybe this happens when migrating the data from old phones to new ones or maybe there is even a bug in the play store.
edit: maybe arm32 libs are generally broken and it has nothing to do with executing them on arm64. I'll try to test the behaviour on an arm32 device.
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1
Cause: null pointer dereference
    r0  00000000  r1  00000001  r2  00000203  r3  00000000
    r4  b086802c  r5  b08350d4  r6  b083518c  r7  ffa0c090
    r8  b08351d8  r9  00000004  r10 b086802c  r11 00000000
    ip  00000000  sp  ffa0c088  lr  b07a4b91  pc  b07915d4
backtrace:
    #00 pc 004115d4  /data/app/com.flowkey.app-l5bhdCK6OXt5wZje6DjubQ==/lib/arm/libswiftCore.so
    #01 pc 00424b8d  /data/app/com.flowkey.app-l5bhdCK6OXt5wZje6DjubQ==/lib/arm/libswiftCore.so
    #02 pc 0005e6ab  /data/app/com.flowkey.app-l5bhdCK6OXt5wZje6DjubQ==/lib/arm/libc++_shared.so (std::__ndk1::__call_once(unsigned long volatile&, void*, void (*)(void*))+74)
    #03 pc 00437fd5  /data/app/com.flowkey.app-l5bhdCK6OXt5wZje6DjubQ==/lib/arm/libswiftCore.so (swift_once+44)
    #04 pc 0041c82d  /data/app/com.flowkey.app-l5bhdCK6OXt5wZje6DjubQ==/lib/arm/libswiftCore.so (swift_getCanonicalPrespecializedGenericMetadata+20)
    #05 pc 00401430  /data/app/com.flowkey.app-l5bhdCK6OXt5wZje6DjubQ==/lib/arm/libswiftCore.so

The call /lib/arm/libswiftCore.so (swift_getCanonicalPrespecializedGenericMetadata+20) seems corresponds to this line: https://github.com/apple/swift/blob/swift-5.4.1-RELEASE/stdlib/public/runtime/Metadata.cpp#L805
The call /lib/arm/libswiftCore.so (swift_once+44) seems corresponds to this line: https://github.com/apple/swift/blob/swift-5.4.1-RELEASE/stdlib/public/runtime/Metadata.cpp#L731
The call /lib/arm/libc++_shared.so (std::__ndk1::__call_once(unsigned long volatile&, void*, void (*)(void*))+74) seems corresponds to this line: https://github.com/apple/swift/blob/swift-5.4.1-RELEASE/stdlib/public/runtime/Once.cpp#L65
The remaining two lines /lib/arm/libswiftCore.so seems something what executed inside swift_once:
swift_once(
      token,
      [](void *uncastDescription) {
        auto *description = (const TypeContextDescriptor *)uncastDescription;
        _cacheCanonicalSpecializedMetadata(description);
      },
      (void *)description)

Maybe like something wrong with _cacheCanonicalSpecializedMetadata(description) call. Or maybe with call to std::__ndk1::__call_once.
Seems you need a debug build of libswiftCore to see more symbols.

This is a known issue with Swift 5.4, apple/swift#36658, that was fixed with Swift 5.4.2, which I see Vlad just released.

Nice. I saw the change in canPrespecializeTarget, but wasn't sure that it will address this issue.
Thank you! @buttaface
@michaelknoch Seems you can try toolchain release based on Swift 5.4.2.

seems to work, the crash does not happen when using the 5.4.2 release. thanks @buttaface @vgorloff !


Running "npx figma connect" results in the error "Failed to fetch components from Figma (ERR_BAD_REQUEST): 400 undefined"

Hello.
I am trying to connect to Figma components using Code Connect.
After running the "npx figma connect" command and specifying the access token and working directory,
I specify the URL of the Figma component, but the connection fails with the error message "Failed to fetch components from Figma (ERR_BAD_REQUEST): 400 undefined".
I tried to display debug logs with the "--verbose" option, but it seems that no debug logs were output.
My environment is as follows, please tell me the cause of the error and how to deal with it.
Environment:
OS: Windows 10 22H2
npm: 10.8.2
node_module:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Network: Company network with proxy

Hello.
I'm adding some information to this issue.
Based on the error message, I checked the method defined in the link code:
https://github.com/figma/code-connect/blob/main/cli/src/connect/wizard/run_wizard.ts#L52
My understanding is that it extracts the "FileKey" from the URL, creates a REST API endpoint, and executes the API (GET /code_connect//cli_data).
I created and executed a code that runs the REST API independently in the same configuration and network environment as described in the issue.
I expected it to end with "ERR_BAD_REQUEST" as in the previous issue, but it ended normally.
Is there any difference between using the code_connect module and executing the REST API directly?
Also, is the following README content relevant?
https://github.com/figma/code-connect/blob/main/README.md#common-issues

Hi @ktamken. To help us investigate further, could you please submit a support request on Figma support and provide the filekey.

Hello.
@rrabherufigma
Thank you for your reply.
This issue could be due to my network environment, so I will check it on my end.
If I still need to contact you, I will submit a support request to Figma support.
I will close this issue for now.

Hello, I have the same problem "Figma (ERR_BAD_REQUEST): 400 undefined".
@ktamken what was the solution for you? What do you config in your "network environment"?


Slideshow in the publication cover section?

Instead of just having a single cover image for the publication cover, is it possible to have a series of images running as a slider in the background?!
I am building a personal photography website and it would be a really cool feature to have that!

The problem with that is Ghost doesn't provide a place where you can upload (and manage) those images, you'll need to upload them somewhere else and then paste the links into the code editing the template everytime you need to change/add them.
It's possible to put a slider but the main issue is what I said before, I can't do it this way because is a very specific and non intuitive way to do it.


Team Formation

Form a team of 2 to 5 people
Gather with at least one other person to create a team around an idea or a problem that's interesting to you.
Spend a few minutes asking these questions:

What's our shared vision?

Talk about what goal you want to accomplish as a team.

What's in it for me?

Talk about each individual's motivation - what do you as an individual want to learn or accomplish?

What talents do we bring to the table?

Share a bit of your experience and skills

Set working agreements

What agreements do you, as a team, want to make for the time you are spending together?
Suggestions:

Show Up On Time
Agree on when you'll meet
"Art of the Possible" - no idea is stupid, let's consider everything.
Be Present - when you're here, you're here, be intentional with your time.

That's it! Now you have a clear goal for your team to accomplish and you know why each of you are here.

Emma, Julia, Daren, Fred, and Sam (myself) have all expressed interest in contributing to this project.

Sam and Fred will spearhead the development efforts for the time being. Emma, Brett, Darren, and Julia are handling the business logistics and solution planning.

I was unable to attend tonight but I am interested in contributing to the
development as well.
Laurie
On Jun 20, 2016 8:01 PM, "Sam Lindstrom"<EMAIL_ADDRESS>wrote:

Sam and Fred will spearhead the development efforts for the time being.
Emma, Brett, Darren, and Julia are handling the business logistics and
solution planning.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/codefordenver/music-volunteers/issues/1#issuecomment-227320977,
or mute the thread
https://github.com/notifications/unsubscribe/AOKlg2XZ3ehET5a75LT2I9mW1Mi6tjdqks5qN0YRgaJpZM4IV3Ci
.

Thanks @LaurieLinz! Whoever wants to jump in and contribute is more than welcome to join!


Kubeconfig's clusters server can support multiple IP addresses.

Kubeconfig's clusters server can support multiple IP addresses.
At present, when accessing apiserver externally, the third-party load balancing is usually used. Can we directly support multi IP access capability in kubernetes.
What would you like to be added:
apiVersion: v1
clusters:

cluster:
certificate-authority: /etc/kubernetes/pki/ca.crt
server: https://<IP_ADDRESS>;<IP_ADDRESS>:6443
name: kubernetes
contexts: []
current-context: ""
kind: Config
preferences: {}
users: []
Why is this needed:

Supporting a list of servers would open the doors for more issues like different ways to choose the server used, favoring the one with the lowest latency, how retries work upon an error.
Ultimately we decided there's no way to implement this while making everyone happy in the end. It's best to leave the load balancing implementation up to the user.
/close


Oo/oslynn/12999/onboarding epic sender and receiver

This PR onboards Epic as sender and receiver.
Test Steps:

Include steps to test these changes

Changes

Include a comprehensive list of changes in this PR
(For web UI changes) Include screenshots/video of changes

Checklist
Testing

[x] Tested locally?
[x] Ran ./prime test or ./gradlew testSmoke against local Docker ReportStream container?
[ ] (For Changes to /frontend-react/...) Ran npm run lint:write?
[ ] Added tests?

Process

[ ] Are there licensing issues with any new dependencies introduced?
[ ] Includes a summary of what a code reviewer should test/verify?
[ ] Updated the release notes?
[ ] Database changes are submitted as a separate PR?
[ ] DevOps team has been notified if PR requires ops support?

Linked Issues

Fixes #issue
https://app.zenhub.com/workspaces/engagement-6166edbd409257001e09f1b2/issues/gh/cdcgov/prime-reportstream/12999

To Be Done
Create GitHub issues to track the work remaining, if any

#issue

Specific Security-related subjects a reviewer should pay specific attention to

Does this PR introduce new endpoints?

new endpoint A
new endpoint B

Does this PR include changes in authentication and/or authorization of existing endpoints?
Does this change introduce new dependencies that need vetting?
Does this change require changes to our infrastructure?
Does logging contain sensitive data?
Does this PR include or remove any sensitive information itself?

If you answered 'yes' to any of the questions above, conduct a detailed Review that addresses at least:

What are the potential security threats and mitigations? Please list the STRIDE threats and how they are mitigated

Spoofing (faking authenticity)

Threat T, which could be achieved by A, is mitigated by M

Tampering (influence or sabotage the integrity of information, data, or system)
Repudiation (the ability to dispute the origin or originator of an action)
Information disclosure (data made available to entities who should not have it)
Denial of service (make a resource unavailable)
Elevation of Privilege (reduce restrictions that apply or gain privileges one should not have)

Have you ensured logging does not contain sensitive data?
Have you received any additional approvals needed for this change?

Closing PR as it is no longer needed