Select input formik adapter

attempting to make a Formik adapter for the SelectInput. Getting the following error onChange in the Formik form story example:

[ ] validation doesn't show error beneath SelectInput

[ ] error onChange

[ ] need to add generateOnChangeHandler to checkbox and text inputs too

 Single/Multi Select Input

 Formik Bindings

#50

@juanfabrega pushed a fix for displaying validation message, but now the isMulti select doesn't work.

No worries I will take a look shortly and get it working.
On Fri, Jul 10, 2020 at 6:52 PM Nathan Young<EMAIL_ADDRESS>wrote:

@juanfabrega https://github.com/juanfabrega pushed a fix for displaying
validation message, but now the isMulti select doesn't work.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/palmetto/palmetto-components/pull/69#issuecomment-656928337,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEYCJRDDBQZSR236MMDKAATR26LRFANCNFSM4OWJSTZA
.

@nathanyoung @JCarmine
In my latest commit I made a few changes to the API as a result of our discussion on Friday. Note that these should probably be discussed to make sure we're all good with the solution.
First off, we discussed having our APIs be consistent and whenever possible actually bubble up events so that components are as close as possible to a natural react experience. With react-select that unfortunately isn't possible because they have no event to bubble up. I read through this entire thread that discusses this problem and I recommend you do as well:
https://github.com/JedWatson/react-select/issues/1631
I considered different solutions but ultimately landed on a middle ground between the vanilla react select and full on event dispatching. I'm basically generating an object that has some of the same properties as a JS event, but it is NOT an event. At least this way our component APIs are consistent to the user, but they will definitely not get a true event.
If we did want to go that route, an alternate approach worth considering is to render the react-select and a hidden native  element, which we will use as a target to dispatch events with new Event constructor. The main issue with this is that it requires a lot of prop mapping so that our select shares the same properties as the react-select props. It is convoluted, but as close to the real deal as I can think of. Question is whether it is necessary.
With the approach I took, our vanilla component is working now, and the Formik adapter works with their standard API as well. I did have to change our stories to conform to this new API.
Lastly, I also caught an issue with prop naming disparity for errors which was causing the validation message not to show up. We can discuss how we want to name these across the board, but at the moment it seems error is the convention which takes either a boolean or the actual error message. I am good with this but if there are concerns about clarity please bring them up.


System.PlatformNotSupportedException

Trying to do a very simple Xamarin.Android UnitTest app

We are able to successfully use the same PCL from an actual Xamarin.Android project, this issue appears only when referencing and using it from a Xamarin.Android UnitTest app

Enviornment

Visual Studio for Mac (Community Edition v 7.3.2 build 12)

Following is the project structure:

Project.PCL (PCL4.5 - Profile 111)
Project.Droid (Xamarin.Android)
Project.iOS (Xamarin.iOS)
Project.Common (PCL4.5 - Profile 111)
Project.Service (PCL4.5 - Profile 111)
Project.Tests.Droid (Xamarin.Android UnitTest app)

Steps tried to be able to fix this:

Ensure Microsoft.Azure.Mobile.Client is referenced to platform-specific projects as well
Ensure version of Microsoft.Azure.Mobile.Client package is same across all the projects
Delete /bin and /obj folder from the project and Rebuild
Restart Visual Studio

Any advice to be able to fix this for the UnitTest app?

@mistryhardik Any update on this? Do you still see this exception?

@elamalani We have switched our implementation by writing our own HttpClient handler instead of using Azure Mobile SDK provided for now. Sorry for late reply

Thanks for an update @mistryhardik


NextJS 13 and app dir (loader issues, e.g tailwind)

By following the instructions for NextJS it basically works but it missconfigures other loaders, e.g Tailwind.
So by adding
/** @type {import('next').NextConfig} */

const withTM = require('next-transpile-modules')(['@piwikpro/next-piwik-pro'])
const nextConfig = {
  /* Your Next.js config */
}
module.exports = withTM(nextConfig)

and then npm run dev
- error ./app/globals.css
Module parse failed: Unexpected character '@' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> @tailwind base;
| @tailwind components;
| @tailwind utilities;

Import trace for requested module:
./app/globals.css

@jackblackCH
Living it here for future generations, because we've had the same problem:
Next 13+ doesn't require next-transpile-modules as it was replaced by a simple option in next.config.js:
transpilePackages: ['@piwikpro/next-piwik-pro'],

Once you have that added, you need to use <PiwikProProvider> as per docs, BUT bear in mind that it has to be in a client component (e.g. files with 'use client' at the beginning of the file.
That's it!

Issue closed cause Next >= 13 is oficially supported with it's app directory


Add the wide algorithm* environment and make its caption style consistent with kaobook

This PR depends on #225. I will provide an example if needed.

I ran into the need to have wide algorithm, then I iterated to this workaround:
\begin{table*}[h!]
    \begin{tabular}{ c }
        \begin{algorithm}[H]
        ....
                \caption{Example code}
        \end{algorithm}\\
    \end{tabular}
\caption{Meta-Coal Algorithm}
\end{table*}

This displays as:

Is this not sufficient?

@taqtiqa-mark Having both "Table 2.1" and "Algorithm 1" seems weird to me. (This shouldn't be the case with my patch, but this PR is from two years ago, so I don't remember what I did.)

Having both "Table 2.1" and "Algorithm 1" seems weird to me.

Agreed. But that should be configurable without too much difficulty. I left it in for the use case where you have multiple algorithms you want to display - possibly with a different label, say "Set Algorithms", etc.
Any way I'll leave this here for anyone who needs this without patching in this PR.


Problems using WebDeploy with NTLM authentication

I'm trying to deploy an Asp.Net MVC application to IIS. When I use the deployment script of the Publish Profile everything works but from cake I getting this error no matter what I try :-(

An error occurred when executing task 'Deploy'.
Error: Connected to the remote computer ("miadapp01.lnrproperty.com") using the Web Management Service, but could not authorize. Make sure that you are using the correct username and password, that the site you are connecting to exists, and that the credentials represent a user who has permissions to access the site.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_UNAUTHORIZED.

I'm calling with this parameters:
DeployWebsite(new DeploySettings(){
            SourcePath = "{path to zip file}",
            SiteName = "Default Web Site",
            ComputerName = "{host name}",
            AgentType = RemoteAgent.WMSvc,
            AllowUntrusted = true,
            NTLM = true
});

Thanks in advance!

Your not including any credentials with the request and your getting an unauthorized error message back?
The first thing id try is including credentials that exist in IIS on the remote computer, check out the troubleshooting  page for more info or consult Microsoft's documentation.

Your not including any credentials with the request

He is including NTLM credentials. Rest of your suggestions are good.


move [Twitter] url to query param

Refs #3714

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @calebcartwright!

  Generated by :no_entry_sign: dangerJS against 2d314b59d7ba1022b96bcb161e9734b362df2ad0

Could you update the badge suggestion endpoint too?

Good catch!


Clean up and improve readme and script text

Thanks so much for the work on this, will be testing it out later today and very thankful for a way to simplify the setup!
This is just a cleanup pass to correct some small typos I saw and improve the output that users see when running the script, nothing major.
Will see what other improvements I can PR once I'm able to actually run it on my Deck and experiment a bit!

@sethforprivacy thank you.


Weird behaviour with cwd

I'm working on an PR to add Pipfile support to Anaconda #978.
Describe you environment

OS Type: OS X 10.12.6
Python version: $ python -V Python 2.7.13
Pipenv version: $ pipenv --version pipenv, version 8.2.7

Expected result
The following snippet (run under Python 3) should return the virtualenv's path:
import subprocess
dirname = '/Users/user/dir1'
sp = subprocess.Popen(
    ['pipenv', '--venv'], cwd=dirname,
    stdout=subprocess.PIPE, stderr=subprocess.PIPE)
sp_out, sp_err = sp.communicate()
print('o:', repr(sp_out), 'e:', repr(sp_err), 'cwd:', repr(dirname))

o: b'/Users/user/.local/share/virtualenvs/dir1-pCEfX-1b\n' e: b'' cwd: '/Users/user/dir1'

Actual result
For one folder it works, for an other it doesn't. When it doesn't work it returns this:
o: b'' e: b'No virtualenv has been created for this project yet!\n' cwd: '/Users/user/dir2'

When running pipenv --venv from shell it works perfectly in both folders.
No --verbose for --venv :-(
Steps to replicate
No idea, what is the difference between the two folders. Copying the bad folder's pipfile to the good folder doesn't break the good folder.
Can you tell me how can I diagnose what is the difference between the two folders?

Can you add PIPENV_MAX_DEPTH=0 in your shell environment and try the bad directory again?
If that doesn't work, this may be related to #969.

@nateprewitt unfortunately I somehow fixed my bad directory, renamed it and run pipenv install again, so now the behaviour is consistent between the two. I really don't know what was the difference.

@hyperknot that's unfortunate for debugging but good for your situation I guess. I'm closing this out then and feel free to follow up in #969 if you encounter it again.


Failed to add ssh key into repo

Gitea version (or commit ref):
Git version:
Operating system:
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[x] SQLite

Can you reproduce the bug at https://try.gitea.io:

[x] Yes (provide example URL)
[ ] No
[ ] Not relevant

Log gist:

Description
I have created a git repo and try to adopt ssh key for authentication. After added ssh key into Deploy keys, it redirect to the error page that only contain
template: repo/settings/deploy_keys:34:65: executing "repo/settings/deploy_keys" at <.CreatedUnix.FormatS...>: can't evaluate field FormatShort in type int64
This issue appear both my local docker environment (latest) and https://try.gitea.io
...
Screenshots

What version are you using?

seems to be also related to #3142

should be fixed by #3146.

I'm using the most latest version of gitea in docker

@CircleCurve  #3146 has not been reviewed and merged.

@lunny Ok. Thanks you to solve my problem. I will go to use http instead of ssh at this time for development.


Q: What is the most suitable AS for estatio?

Given a limited CPU and memory, what is the most best AS to run estatio with minimum Memoryand CPU.
I like to run it on JBoss actually (WildFly as JDK8 is used) , but I think estatio requires less resource consuming AS.
Maybe Tomcat or Jetty.
What is recommended?

We run Estatio on a Tomcat server in production.  @jcvanderwal will be able to say how much memory we allocate; I think it's about 1G.  I don't see any reason not to run it on WildFly, though you'll need to disable CDI scanning.  See http://stackoverflow.com/questions/34311775/deploying-apache-isis-on-wildfly for some further details.

Minimum requirement for Estatio is 2GB, in production we use 4GB linux
virtual machines.
On 28 February 2016 at 10:14, Dan Haywood<EMAIL_ADDRESS>wrote:

Reopened #28 https://github.com/estatio/estatio/issues/28.
—
Reply to this email directly or view it on GitHub
https://github.com/estatio/estatio/issues/28#event-569663126.

4GB? that is expensive VM.
What about Tomcat version? 8.0 ?

The 4GB is needed because we run a version with Apache Camel embedded. And
we own the hardware so memory is cheap. We currently run Estatio on Tomcat7
but migrate to Tomcat8 later this week. We have other Isis applications
that already run on Tomcat8.
On 1 March 2016 at 09:22, Amr ElAdawy<EMAIL_ADDRESS>wrote:

4GB? that is expensive VM.
What about Tomcat version? 8.0 ?
—
Reply to this email directly or view it on GitHub
https://github.com/estatio/estatio/issues/28#issuecomment-190609203.


⚠ Processors has degraded performance

In 162c7e3, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 62 ms

Resolved: Processors performance has improved in af8fada.


MySQL crashing when faced with rapid directory/notification updates

As part of the bulk importer, I'm doing this:
	proc_run('php','include/notifier.php','location',$channel_id);
	proc_run('php', 'include/directory.php', $channel_id);

These lines, when executed in quick succession for a number of channels, appear to cause MySQL to literally crash, segfault and stop running.
I have yet to locate where the dumpfile is and try to pinpoint the error, but I probably will.
This may not be supported use of these calls, and I can possibly schedule the calls with waits, to mitigate this. But I'm noting it here.

The query which causes it to fail, according to the mysql log with verbose logging on, is:
    insert into outq ( outq_hash, outq_account, outq_channel, outq_driver, outq_posturl, outq_async, outq_created, outq_updated, outq_notify, outq_msg ) values (

I already see that errors before and now I see some more possible errors can get a crash for many pull request  in the directory link in the login or registration page. Make in Admin the option ON block Public no stop robots, hackers and spammer continues using your web for make pull request using channel suggestions still is open to Public. Anyway my MYSQL problems with Hubzilla Stop when I start using
Server type: MariaDB
Server version: 10.1.8-MariaDB

The query is not specific, it also crashes at other times with:
	select hubloc_url, hubloc_primary from hubloc where hubloc_addr =<EMAIL_ADDRESS>order by hubloc_id desc

It appears to be OOM'ing during import (not news to @mike I'm sure). This is a 1GB VM.

 What's going on here?
http://storage.restivo.org/videos/hz-mysql-freakout.ogv
The MySQL hasn't actually gone away in this situation, I can hit it with mysql client, and hubzilla web interface works, but something has gone bananas. Ideas?

Backoffs on the importer keep MySQL from crashing. 10 seconds between channel imports, and backoffs exponentially from there, keep things from getting too broken. But it stlll seems very fragile.

It appears the cause of the problem is hubzilla's poller cron job. If I turn off the cron job, and stop the polling, I can get through a bulk install without MySQL crashing even once. I don't know what it's doing but it seems to be quite the memory and CPU consumer. It's still a problem though because I'm not sure if users doing a bulk migration will be able to remove the cron job temporarily.

Yep, confirmed, it's now a replicable problem. Turning the polling off, no MySQL problems. Manually run the poller, and MySQL explodes into a million flaming shards. Can make it happen at will. This is on a 1GB RAM VM, Debian 8.
The problem is prompted by importing a large number of channels. That doesnt' crash MySQL in itself, but the next time the poller runs--- BLAMMO.
I don't know what that poller is doing but it seems to be very heavyweight. Ideas, @redmatrix  ?
I'm not sure what the workaround might be for the importer, other than waiting between channel imports some period much larger than the polling period, i.e. 15-20 minutes. Could take a day or two to import a large site, but maybe that's just the way it is.

I'm not sure we want to run the notifier on imports? People have reported getting notifications about old imported posts as a bug/annoyance. The poller reads outq while the importer is trying to write it, that causes a race condition which causes everything to block on each other, hence the OOM. Similar situation for the directory updates. I'm sure @redmatrix can offer solutions and more thoughts on the subject, but that's why it's happening.

This appears to be remedied by #188 . Closing.

CPU usage is much improved by #188 but MySQL is stil crashing. It may be possible that further tuning could solve the problem, but that's not been proven by testing yet. Leaving this open until a cause and solution is found.

What I see is today 2 times this process never stop and they start again by cron at the end I have 53 process all duplicates
www-data	301.85 MB	/usr/bin/php include/queue.php
At the end  that is eating your CPU I coming tired of holding few hours and I stop mysql and Kill the process after that all look is working perfect again. Why happens that today? That I show there is small but before I have 53 process with 735 megas each

Forget last post make sure you have only in vhost 80 443  -indexes in my server by example Apache 2.4.14 see Apache Vhosts override the option in .htaccess when that is a BUG
I simple make global -indexes in and CPU everything is now down. Process start and close normally

I'd like to know what is the cause of the problem. If that fixes it, great, but until someone can explain why it happens I'm not sure it's a bug in Hubzilla or something that should be documented or what.

By Now is OK will see tomorrow morning if is not over-locked again . I have a web pulling feeds from may urls constantly and making more traffic of Hubzilla to MYSQL and not give this problems .
For sure is something more because is not normal

Ok I test and restest I not have idea if you have 2 Hubzilla installations in the seam server but after check many logs The problem with php running process start again with more of 1 installation . That is 100% already test 1 domain can be working with many users the other can be a hubzilla installation with not traffic at all. when is activate the cron for both installations The system start holding process open by cron easting you memory and at the end will crash your mysql and you will get MYSQL connection error.
In 6 hours can eat 8 GB RAm and get 85% CPU usage . Still like that I not get MYSQL crash or errors but Apache is Killing my server


Add /go/bin to the PATH variable in Docker image

terrascan version:
docker.io/accurics/terrascan@sha256:cf459ae515849f2c004308c1a924958c3f92b121c94d64dcfac3849ce09b00b3

Operating System:
Docker

Description
When used in a pipeline, need to add full path otherwise it fails with an error. Would be logically if the Docker image's PATH environment variable had /go/bin in it.
What I Did
Images used:
    build : docker.io/accurics/terrascan@sha256:cf459ae515849f2c004308c1a924958c3f92b121c94d64dcfac3849ce09b00b3

+ terrascan version
/opt/atlassian/pipelines/agent/tmp/shellScript17173005529052170318.sh: line 4: terrascan: not found
Build teardown

This should be a pretty quick fix. I'd be interested in adding this.

Hey @seancallaway ,
Sure please go ahead
Thank you for taking this initiative!


Remove dead code, unsent telemetry updated telemetry to enforce GDPR info

Codecov Report

Merging #11210 (a1db522) into main (be3a5f5) will decrease coverage by 0%.
The diff coverage is 87%.

:exclamation: Current head a1db522 differs from pull request most recent head d04e9f2. Consider uploading reports for the commit d04e9f2 to get more accurate results

@@           Coverage Diff           @@
##            main   #11210    +/-   ##
=======================================
- Coverage     63%      63%    -1%
=======================================
  Files        485      478     -7
  Lines      34121    33998   -123
  Branches    5564     5516    -48
=======================================
- Hits       21637    21447   -190
- Misses     10423    10498    +75
+ Partials    2061     2053     -8

Impacted Files
Coverage Δ

src/kernels/helpers.ts
67% <ø> (+1%)
:arrow_up:

src/notebooks/notebookUsageTracker.ts
77% <0%> (ø)

...c/platform/common/platform/platformService.node.ts
68% <ø> (+2%)
:arrow_up:

src/platform/common/utils/misc.ts
78% <ø> (ø)

src/platform/errors/types.ts
68% <ø> (ø)

src/platform/logging/index.ts
74% <ø> (ø)

src/platform/telemetry/constants.ts
100% <ø> (ø)

src/platform/telemetry/startupTelemetry.ts
29% <0%> (ø)

src/platform/terminals/types.ts
100% <ø> (ø)

src/telemetry.ts
5% <ø> (-95%)
:arrow_down:

... and 67 more


Feat: prefill first name in input for events

Date: 16 Feb 2024
Developer Name: Jayasurya

Issue Ticket Number:-
#865
Description:
Prefill first name of user in events input field
Is Under Feature Flag

[x] Yes
[ ] No

Database changes

[ ] Yes
[x] No

Breaking changes (If your feature is breaking/missing something please mention pending tickets)

[ ] Yes
[x] No

Is Development Tested?

[x] Yes
[ ] No

Tested in staging?

[ ] Yes
[x] No

test case is missing

There are test cases with name already set, do you mean e2e test?

The input can be disabled then if name is already filled

The input can be disabled then if name is already filled

Why? The user can edit it if needed and also if we disable the input, then there is no use of showing it at all, can just proceed with other fields.

The input can be disabled then if name is already filled

If not logged in and joining as guest, name won't pre-filled. Not sure if it can/should be disabled when logged in.


refactor pwa detail view

PWA details card:

remove unneeded divs
make the whole card a link (instead of declaring three different
links)
add card hover effect (WDYT?)
add card touch effect
small design changes (more consistent font sizes)

Lighthouse card:

extract score into separate partial template
fade in chart
reserve chart space with border
show spinner while chart is loading

I've also changed the script loading order (chart stuff only in view page). How that makes sense.
PTAL

@sebastianbenz great fixes 👍
I like the card hover effect with a single link, makes more sense.

Thanks for reviewing! Sorry - about the large PR - will try to do better in the future.


v0.3.7

Current dependencies on/for this PR:

main

PR #278   👈

This comment was auto-generated by Graphite.


Short solution needed: "How to iterate Numpy array in loop" (python-numpy)

Please help us write most modern and shortest code solution for this issue:
How to iterate Numpy array in loop (technology: python-numpy)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

import numpy as np
someArray = np.array([[1,2,3,4],[5,6,7,8]])
for i in someArray.flat: print(i)

I added the solution please have a look :)

How to iterate Numpy array in loop


\n newlines are not working with this module

I'm using this module for AWS Budgets notifications. However, messages appear in slack from aws budgets with \n not breaking lines.

I ran into the same issue, the quick fix was to remove the json.dumps at https://github.com/terraform-aws-modules/terraform-aws-notify-slack/blob/master/functions/notify_slack.py#L42.
I have been testing this in a deployment and so far everything is working properly since it is dumped later before sending. Still evaluating if it broke something else before I submit a PR.

@e-moshaya If you have a chance to test this https://github.com/terraform-aws-modules/terraform-aws-notify-slack/pull/52 please do!

@e-moshaya This is now fixed in v2.7.0.

Thanks!


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade" workflow

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


sprite bounds tweaks

A variation of @ivanpopelyshev PR
This PR favours non trimmed Textures (As most will not be trimmed)

It basically checked for trim, if its not then business as usual

Renamed a few functions to make it easier to understand that we are calculating trimmed bounds

Slight refactor that hopefully should make it easier to follow

vertexTrimmedData only created when required

I like it :+1:


IDVA6 1576 HTTP response headers (helmet)

Link to Jira
https://companieshouse.atlassian.net/browse/IDVA6-1576
Description

Installs helmet and nocache
Implement recommended security HTTP headers
Add a content security policy to ensure that only whitelisted assets should be loaded

CI: No security warnings found


[issue] In effectively_once mode, when a single pod fails, the entire function will fail due to failure to create the producer.

When I enable effectively_once and deploy the function in k8s, for example, after deploying 5 pods, when one of my pods crashes, his subscription will be transferred to other pods due to failover mode. At this time, other pods will fail to create the producer because the producer on the server side is not closed.

Failed to create producer: {"errorMsg":"org.apache.pulsar.broker.service.BrokerServiceException$NamingException: Producer with name 'persistent://pulsar/default/input_test-partition-5-0' is already connected to topic","reqId":1766584259806202457, "remote":"<IP_ADDRESS>/<IP_ADDRESS>:6650", "local":"/<IP_ADDRESS>:46786"}

After this, the function restarts due to an exception, and due to failover, the function once again transfers the subscription and fails due to failure to create the producer.
Therefore, when I need to enable effectively_once, I have to deploy multiple functions to consume partitioned topics separately. But this is not an easy way to maintain

In addition, the function can easily fall into the following error and be stuck because of this error until the broker is restarted.

WARN  org.apache.pulsar.client.impl.ClientCnx - [id: 0x24fe09d6, L:/<IP_ADDRESS>:36944 ! R:<IP_ADDRESS>/<IP_ADDRESS>:6650] Received send error from server: PersistenceError : Cannot determine whether the message is a duplicate at this time

If we have any optimization suggestions, I hope can provide them, thank very much

@freeznet
@nlu90
@jiangpengcheng

it looks like that the server should close the producer when the related client is crashed and doesn't close the producer
which version of Pulsar are you using? @graysonzeng

it looks like that the server should close the producer when the related client is crashed and doesn't close the producer
which version of Pulsar are you using? @graysonzeng

Thanks for the reply, the pulsar version is 3.1.1。I agree with you. It seems that some mechanism is needed to properly shut down the producer before creating it.

I will check it

I can't reproduce the error, when I manually delete one function pod, its producer for output topic will be closed by the server too, so the next active consumer can create the producer
could u share the yaml you used? @graysonzeng

``

I can't reproduce the error, when I manually delete one function pod, its producer for output topic will be closed by the server too, so the next active consumer can create the producer
could u share the yaml you used? @graysonzeng

Of course
apiVersion: compute.functionmesh.io/v1alpha1
kind: FunctionMesh
metadata:
  name: functionmesh-001
spec:
  functions:
    - name: functions-dedup-v1
      className: com.tencent.functionNoTag
      image: mirrors.tencent.com/g_k_cdp/pulsar-functions-test:v1.0.1
      replicas: 10
      processingGuarantee: "effectively_once" #effectively_once manual
      pod:
        terminationGracePeriodSeconds: 30
      input:
        topics:
          - persistent://pulsar/default2/input_test
        typeClassName: "[B"
      output:
        topic: persistent://pulsar/default2/alltables3
        typeClassName: "[B"
      pulsar:
        pulsarConfig: "pulsar-dedup-gtmz-167-sink-test02-config-v1"
        authSecret: "sink-dedup-test02-config-auth"
      java:
        extraDependenciesDir: ""
        jar: /pulsar/connectors//DynamicTopic-1.0.nar # the NAR location in image.
        jarLocation: "" # leave empty since we will not download package from Pulsar Packages
      clusterName: pulsar-gtmz-167
      forwardSourceMessageProperty: true
      resources:
        requests:
          cpu: "2"
          memory: 2G
        limits:
          cpu: "2"
          memory: 2G
      clusterName: test-pulsar
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: pulsar-dedup-gtmz-167-sink-test02-config-v1
data:
  webServiceURL: http://xx.xx.47.12:8080
  brokerServiceURL: pulsar://xx.xx.47.12:6650
  authPlugin: "org.apache.pulsar.client.impl.auth.AuthenticationToken"
  authParams: "eyJhxxxx"
---
apiVersion: v1
kind: Secret
metadata:
  name: sink-dedup-test02-config-auth
stringData:
  clientAuthenticationPlugin: "org.apache.pulsar.client.impl.auth.AuthenticationToken"
  clientAuthenticationParameters: "token:eyxxxx"

I see, the error is caused by below:
when pod-1 crashes, another pod(like pod-2) will take over pod-1's subscription to pod-1 subscripted partition(like partition-5), if a message comes to partition-5, the pod-2 will create a new producer with the name persistent://pulsar/default/input_test-partition-5-0, then when pod-1 restarted and got a new message, it cannot create new producer with name persistent://pulsar/default/input_test-partition-5-0
this issue is caused by JavaInstanceRunnable, I will fix it in the apache/pulsar repo
@graysonzeng

thanks!

I created a pr here: https://github.com/apache/pulsar/pull/21912, and built a jar based on it, could you add it to your runner image to check whether the issue is resolved? @graysonzeng

Thank you for your fix. I have a question. After adding the instance name to producerName, can the effectively_once be guaranteed? For example, there was no ack for the message before the failure, but the message was resent after switching to another instance. I think deduplication is invalid at this time because of different producerNames. @jiangpengcheng

This issue is hard to fix since we cannot use different producer name to ensure the de-duplication. Below is a workaround when the error happens:

set the function's replicas to 0
wait until all function pods stop so that no producer exists for the output topic
set back the function's replicas

cc @graysonzeng

Thanks for the suggestion. I have an idea, how about using independent subscription names for each pod. For example, I have 10 partitions on the consumer side and two pods for consumption. Then, my two pods set subscription names A and B respectively. After this, even if the pod fails, the subscription will not be switched to other surviving pods due to failover, and it can continue to consume when the pod is pulled up by kubernetes. @jiangpengcheng

with different sub names will make podA and podB both consume all ten partitions and lead to duplication

A and B consume part of the partitions respectively. For example, A consumes partitions 0-4 and B consumes partitions 5-9. This will not lead to duplication.

A and B consume part of the partitions respectively.

this needs to be specified manually, which is just like what you do now:

Therefore, when I need to enable effectively_once, I have to deploy multiple functions to consume partitioned topics separately. But this is not an easy way to maintain

Thanks . I originally thought that the creation of subscription does not need to be specified manually. In this way, the user can create a sink. No need to configure multiple configurations in yaml repeatedly. But it seems like this is the only way it can be for now @jiangpengcheng


[Feature]: Provide a way to increase the body size param which is required for importing the application through JSON file

Is there an existing issue for this?

[X] I have searched the existing issues

Documentation Link
https://docs.appsmith.com/setup/kubernetes#appsmith-configuration
Describe the problem
The default size for the request body might be limited on kubernetes clusters installed using the helm-charts which causes the problem in the import flow. This can be fixed by updating the supported max size.
For more details please refer: https://community.appsmith.com/t/issue-on-import-json-application-413-request-entity-too-large/855
Describe the improvement
Create a section for Kubernetes installations on how to update the request body size as discribed in the community forum

@sharat87 / @sum35h   - could you please help us out understand the documentation needs?

This seems to be a config on the helm chart ingress.  Assigned to @sum35h, as discussed. CC: @jnikhila

@pratapaprasanna, we seem to have a limit of 150M in NGINX configuration:
https://github.com/appsmithorg/appsmith/blob/76d4a7aa3f0cfb4aacd92cce1b70f12f428c1c51/deploy/docker/templates/nginx/nginx-app-http.conf.template.sh#L29
Can you confirm if we have this same figure in the NGINX controller configuration as well please?
@abhvsn, this is the limit we want, I'm guessing, right?

Yes, this issue was discussed long back but AFAIR this was a config issue and updating the setting in values.yml fixed the issue for customer.

Okay. I'll wait for @pratapaprasanna to confirm that as well, and if that's also fine, we can close this.


Using nvidia-container-cli with systemd-nspawn containers: nvml error: driver not loaded

I'm trying to make the nvidia driver available inside a systemd-nspawn container by bind-mounting the files listed bynvidia-container-cli list. It seems to be working (sort of), but we're running into some issues like:

nvidia-container-cli: initialization error: nvml error: driver not loaded

Are there any special steps required to make the driver available (and work properly) inside the container?
There's this answer from 2018 by @3XX0 saying:

list shows partially what needs to be injected inside containers.

I'm very interested to know what else there needs to be done.
According to the archlinux wiki it should be possible to mount the nvidia drivers from the host inside the nspawn container. However we're trying to make it work on a Debian 11 based appliance OS (TrueNAS SCALE), so we can't follow the instructions in the wiki.
The OS inside the container is also Debian 11 and is installed from the LXC image provided by https://images.linuxcontainers.org.
Our attempt can be found in this issue: https://github.com/Jip-Hop/jailmaker/issues/4.

We got it working by running:
[ ! -f /dev/nvidia-uvm ] && modprobe nvidia-current-uvm && /usr/bin/nvidia-modprobe -c0 -u
And nvidia-smi -f /dev/null.
Before running nvidia-container-cli list. Then there was also the need to create a .conf file inside the container under /etc/ld.so.conf.d/ with /usr/lib/x86_64-linux-gnu/nvidia/current as contents, otherwise ldconfig wouldn't pick up mounted nvidia libraries.


signature verification for docker images is not supported (try --insecure-skip-verify) | flag provided but not defined: -insecure-skip-verify

So, I tried to run a container off Docker Hub on Alpha (618.0.0):
sudo rkt run docker:cloudlauncher/docker-hub-nginx-cache-proxy

This spits out:
signature verification for docker images is not supported (try --insecure-skip-verify)

Ok, let's try:
sudo rkt run --insecure-skip-verify docker:cloudlauncher/docker-hub-nginx-cache-proxy

Now I get:
flag provided but not defined: -insecure-skip-verify
Usage:
  -private-net=false: give container a private network
  -spawn-metadata-svc=false: launch metadata svc if not running
  -stage1-image="/usr/share/rkt/stage1.aci": image to use as stage1. Local paths and http/https URLs are suppo
rted. If empty, Rocket will look for a file called "stage1.aci" in the same directory as rkt itself
  -volume=: volumes to mount into the shared container environment
flag provided but not defined: -insecure-skip-verify

Using a single dash (-) doesn't work either.
Am I doing something wrong? Or is this just broken?

Looks like this is the correct call:

rkt --insecure-skip-verify run docker://cloudlauncher/docker-hub-n
ginx-cache-proxy

Could be a bit more clear.

Sorry about that, it is a bit of a known issue with flag parsing (see for
example https://github.com/coreos/rocket/pull/183).
In the not too distant future we will likely move to a better command line
library to clear this up.
Am 17.03.2015 00:23 schrieb "Blake La Pierre"<EMAIL_ADDRESS>
Looks like this is the correct call:
rkt --insecure-skip-verify run docker://cloudlauncher/docker-hub-n
ginx-cache-proxy
Could be a bit more clear.
—
Reply to this email directly or view it on GitHub
https://github.com/coreos/rocket/issues/630#issuecomment-82177571.

It would be nice to be able to use flags anywhere.

Closing this, opened #632 to track.


Add method to convert actions to a preprocessing pipeline

Closes #2058
To enable this, the following were also changed:

Updates PipelineBase to accept empty component graphs (len(ComponentGraph) == 0), previously had ugly stack trace
Updates make_pipeline_from_components to allow creating pipelines where an estimator is not the last component. EDIT: will be blocked on #2103

Just going to close this for now, can revive when we work more on data check actions :)


Cross-platform web configurator

Related issue on the upstream: https://github.com/FeralAI/GP2040/issues/43

This probably isn't of much help, but I noticed that whatever is going on with this firmware, rndis & the Linux kernel, that it makes Linux unhappy enough that I can't even do USB pass through to a Windows VM in Virtualbox (that's a first for me). That's even with the rndis kernel modules blacklisted.

This has been resolved, updates coming out soon

Thought we had merged this already - reopening

Waiting on the CMake changes then we should be able to get this closed out.  Will re-make on the new GitHub


Request: tag a new version

@driesvints
Please tag a new version supporting Laravel 10

This will be done eventually


Arrow of the Upload plugin's icon

Hi.
I think the arrow of the Upload plugin's icon is upside down. What do you think?

Why not ^^ you can make a pull request with the updated SVG if you want :)

I will then. 😃

Thank you, merged! :)


Swift Linux support

Is it in your plans to add support for Swift2.2 linux version? I managed to see several web framework and all of those are planned to work at this very moment only with memoryDB, Redis and CouchDB.
I think it would be cool to have both server side and client side the same db, classes and going on...

The Linux version of Swift currently lacks some runtime features that Realm Swift depends on. We're tracking Swift's development and will reevaluate as Swift's Linux support improves.

can you comment what specifically you need in Linux that isn't there?  I could use a ream/swift/linux port myself...

The key feature that is missing is the ability for Realm to provide the implementation of getters and setters for model classes. This is handled by the Swift's Objective-C runtime integration on Apple platforms, but no equivalent mechanism exists on Linux. The property behaviors proposal may fill this role.

Steps:

[ ] expose a C-header interface to the C++ bits of Realm Cocoa
[ ] have minimal Swift with SwiftPM build system that calls into some symbols to demonstrate that the build system works
[ ] write a basic "dynamic"-ish API, not built on top of existing Realm Cocoa
[ ] come up with a possibly verbose, but comprehensive subset of the API
[ ] possibly have a codegen tool to generate models, or find an alternative mechanism for accessors

Any news?

Unfortunately, we have nothing to share at this time. We will post an update to this ticket if we have any news.


[GT] Do not manually create ButtonModel to add click action, use widget api

Replace
aButtonElement addViewModel: (BrButtonModel new action: [ :aButton | "action" ])

with
aButtonElement action: [ :aButton | "action" ]

For example:
GtExampleStatusAttribute>>#affect:in:

The problems can be detected through:
'`@a addViewModel: (BrButtonModel new action: [:`var | | `@temps |<EMAIL_ADDRESS>])' gtASTMatches

The constraint was documented in GtButtonsDefiningActionsThroughModels


WIP: Moving Fibre Channel CSI Driver

Needs clean up and code review.

is it possible to retain the commit history?

is it possible to retain the commit history?

Yes, I'll see if I can copy over with the original commit history, but the whole thing would still need review.

Opened PR #2 that retains commit history


No errors given for invalid named imports from package in node_modules

This is most likely a support request,  but this just doesn't seem to work for me and I've tried a variety of configs. I can't get errors to be reported for invalid imports from node_modules dependencies. Errors are reported as expected from modules within the application itself, and I've also been able to get eslint-import-resolver-babel-module to correctly resolve modules with local aliases. But I can't get it to work with things in node_modules:
import { somethingNotExported } from 'some_module'
Tried basic config:
"extends":  "plugin:import/errors"

Tried explicitly specifying node resolution:
"settings": {
    "import/resolver": {
        "node": {}
    }
},

Tried explicitly setting rule:
    "import/no-unresolved": [2, {"commonjs": true }]

Any ideas what I'm doing wrong? No errors are ever reported for imports from node_modules, except for the actual package not existing.
-- edit -
This may be me simply not understanding the capabilities here. Of course the exports of packages in node_modules are not in ES6 syntax for the most part.  Buit is there a possible configuration that can parse typescript typings? In the case of modules where I'm trying to get syntax validation, there are typings present.

I'm having the same problem. In my case, the other package actually uses ES6 exports. It's a private NPM package that we publish as ES2015. Still, I'm not getting an error if I import a non-existing named export.

I solved at least part of the problem. There is an ESLint setting "import/ignore" that contains an array of regex strings. Any file whose path matches one of those regexes will be ignored. This setting has the following default value:
"import/ignore": ["node_modules", "\\.(coffee|scss|css|less|hbs|svg|json)$"]

That means that any file in node_modules will be ignored.
Explicitly setting the value to ["\\.(coffee|scss|css|less|hbs|svg|json)$"] will fix the problem at least for ES6 exports. For module.export-style exports, this still doesn't help, though.

Since npm-installed modules should always be transpiled to CJS, this generally shouldn't be an issue.

@ljharb it's the opposite: ES6 exports are working but CJS modules doen't work ! I have the same issue than @DanielSWolf .

@jay1337 can you provide the exact import line that should be failing, and your eslintrc?

@ljharb here is what you asked for:
import { anything-not-existing-in-existing-valid-installed-module } from 'existing-valid-installed-module`;

{
	"extends": [
		"eslint:all",
		"plugin:import/errors",
		"plugin:import/warnings",
	],
	"parserOptions": {
		"ecmaVersion": 6,
		"sourceType": "module",
		"allowImportExportEverywhere": true,
	},
	"env": {
		"es6": true,
		"node": true,
	},
	"parser": "babel-eslint",
	"plugins": [
		"import",
	],
	"settings": {
		"import/resolver": "node",
		"import/ignore": [],
	},
}

@jay1337 Thanks! can you provide a specific module and export that doesn't work? Also, why do you need the allowImportExportEverywhere setting?

@ljharb There is an issue with many modules, you can test with import { blabla } from 'express';
I use allowImportExportEverywhere for conditional imports. It is useful with Meteor to import files on server but not on client (in a file shared between server and client).

Rereading https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/namespace.md, it looks like this just isn't a feature this plugin supports. "A module path that is ignored or not unambiguously an ES module will not be reported when imported."
Node itself doesn't know how to map named imports to CJS module.exports, which is why the current plan for node is to not allow anything but default imports from CJS modules.

@ljharb you are right ! However there is a new way for modules to give the path of their ES source. They now use module field in package.json (instead of jsnext:main). It's gonna be the new standard : https://github.com/dherman/defense-of-dot-js/blob/master/proposal.md#typical-usage . Some important modules have already switched to modulefield : react-router, ... Could eslint-plugin-import check also this field ?

It’s absolutely not going to be a “new standard”; that link is to a failed proposal. The module field is non-standard, and primarily because people are already using it, it will likely never be (it’d have to pick a new name).

Ok. Up to you. But looking at all my dependencies, a lot are using module
field. I think it would be very useful. If it's not a standard you could
add it as an option (switch to enable, or list of field names, or regex,
...).
Le 24 déc. 2017 20:18, "Jordan Harband"<EMAIL_ADDRESS>a écrit :

It’s absolutely not going to be a “new standard”; that link is to a failed
proposal. The module field is non-standard, and primarily because people
are already using it, it will likely never be (it’d have to pick a new
name).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/benmosher/eslint-plugin-import/issues/765#issuecomment-353799498,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACBSLcO0r-cI9epx9VqpHyZMfXNBFHtYks5tDqNugaJpZM4MZrsu
.

We could; but I'd personally oppose it. Spreading and enabling the use of nonstandard package.json fields is bad for the ecosystem.


Bug: lose strict check option

sorry, i don't understand,where is this option

sorry, i don't understand,where is this option

you can check this line

it's ok, because the type is "boolean | Record<string,any>"

it's ok, because the type is "boolean | Record<string,any>"

The function only handle the boolean type, when  I use number？symbol? set......


[Question] Support for custom template functions in Helm?

If I have a need for custom template functions (beyond what's included in Go template language and the Sprig library), is modifying my Helm source code the only option? Or could such custom template functions be implemented in a Helm plugin or within a Helm chart?
Thanks.

@craiganderson Other than creating additional helper templates, yes you are limited to the existing functions unless you hack in your own (not recommended).

Thanks, that answers my question.


mlp_show_linked_elements broken; provides different results for logged in / out users

I expect mlp_show_linked_elements() to show the same result for logged in and logged out users.
But in this example it shows 0 results for logged out users but the correct results for logged in users.
Note that all pages are published and public; so the rights/roles cannot be the reason for this.
This problem is tested with WP 4.0.1 and Multilingual Press Free 2.1.2.
Problem description:
Logged in users (correct behavior):
php:
  $config = array (
    'link_text'         => 'text',
    'show_current_blog' => FALSE,
    'echo'              => FALSE,
    'sort'              => 'priority',
    'strict'            => FALSE
  );
  var_dump(mlp_show_linked_elements( $config ));

result:
string(148) "

Deutsch

"

Logged out users (false behavior):
php:
// same

result:
string(0) ""

That happens when the sites are marked as private. See this topic on wordpress.org, it includes a screenshot.
We will improve the UX for that, and maybe change it completely in one of the future versions.

Great, thanks @toscho those Multisites where in deed not "Public". It works now.
There very confusing part is, that logged in and logged out users behave differently again.
Having this more explicit would be great!


The return value is defined as "void" make Python client code to fail

The return type of some the APIs are defined as "void" which make no sense in python. The python client code fail with error "not defined".

See: https://github.com/swagger-api/swagger-codegen/issues/594
I think swagger-codegen should respect "type": "void"
(at the same time we don't specify return types in lots of places where we should, I'm correcting that in a separate PR.

Related: #6167

Closing as fixed by #6613 (and not actually a bug in this code to begin with...)


Make SF not spottable not working

Use case: the sf 'II' is associated to World_War_II. Making the sf not spottable doesn't remove it from the output topics

It's a feature. :D
It only makes the SF annotation probability lower, not null.

Ok, in this case I will add the other topics to the current wolf pr then

Closing as part of archiving process.


Add FAQ for "import" vs destructuring

It's an initial draft, but I'm open to feedback. I might come back and edit it myself later.

I think it's also worth talking about interopRequire (https://twitter.com/wSokra/status/828902492893241344)

Other relevant things to include:

https://github.com/babel/babel/pull/4964 (spec mode for transform-es2015-modules-commonjs)
https://twitter.com/left_pad/status/829075501134315520 [thread]

@ghost: […] I'm not sure what "live" means in this context—that sounds like the opposite of what they are
@hzoo: export let c = 3; export function incCounter() { c++; } – You can't modify counter directly but it will update
@hzoo: I guess we have to make a distinction between read-only and live (the ex in the link pasted should explain it)
@ghost: if it helps, as an outsider to this, my reaction was along the lines of "live? as opposed to what?"

I guess I should come back to this.
It's on my TODO list for this week, now.


Deploy scripts as standalone binaries fails due to missing Gradle

Running kscript --package foo.kts fails with the following error message [kscript] [ERROR] gradle is required to package kscripts
Contents of foo.kts:
#!/usr/bin/env kscript

@file:DependsOn("com.offbytwo:docopt:<IP_ADDRESS>50202")
//@file:DependsOn("log4j:log4j:1.2.14")

import org.docopt.Docopt
import java.util.*

val usage = """
Use this cool tool to do cool stuff
Usage: hellow.kts [options] <file>...

Options:
 --pc-only      Use protein coding genes only for mapping and quantification
"""

println(args.toString())
val doArgs = Docopt(usage).parse(args.toList())

println("Hello from Kotlin!")
println("Parsed script arguments are: \n" + doArgs)

As the error indicates, gradle is required in your PATH for this feature.

Oh sorry, it wasn't obvious to me that gradle was required to be in my PATH specifically


Beekeeper retrieval failing without error

There has been a failure in retrieval check when running on CI:
Run ./beekeeper check retrieval --api-scheme http --debug-api-scheme http --disable-namespace --debug-api-domain localhost --api-domain localhost --node-count "${REPLICA}" --upload-node-count "${REPLICA}" --chunks-per-node 3
  ./beekeeper check retrieval --api-scheme http --debug-api-scheme http --disable-namespace --debug-api-domain localhost --api-domain localhost --node-count "${REPLICA}" --upload-node-count "${REPLICA}" --chunks-per-node 3
  shell: /bin/bash -e {0}
  env:
    REPLICA: 3
Seed:<PHONE_NUMBER>327333839
Node 0. Chunk 0 retrieved successfully. Node:<PHONE_NUMBER>2ee1b05353f8eb0e32e6a936456603209e6529f923b595272d66fd Chunk: a96d17e2f8ac4e112551e6c4132a0ee225f8d293189541dcd7b0db15458e6279
Node 0. Chunk 1 retrieved successfully. Node:<PHONE_NUMBER>2ee1b05353f8eb0e32e6a936456603209e6529f923b595272d66fd Chunk: af6841024b781f235e40afd1618aba36dda76feda876ed114c4658762face08c
Node 0. Chunk 2 retrieved successfully. Node:<PHONE_NUMBER>2ee1b05353f8eb0e32e6a936456603209e6529f923b595272d66fd Chunk: 6870b40ff88732d8a846c15a7e1e2e27df804691093546abd93a0dbfb04b99aa
Node 1. Chunk 0 retrieved successfully. Node: 373cf0c005a05a7c752c3bb608d12c31a56dde1849f5ac66a471ad08c084e666 Chunk: 6152e382c29273ae6ad53917441fbf9e1c2373fa251790a3de92192dabce67a5
Error: node 2: download chunk ea8993aa9b6c8296fdb3fae1e5e04290834826ce5fcd8fa40b6d0a37a581eaf0:

But unfortunately there is no error associated with the failure.
https://github.com/ethersphere/bee/runs/772677840#step:11:11
The same test passed in different workflow https://github.com/ethersphere/bee/runs/772677881#step:15:1, it could be flaky, but could you check if error is not returned correctly?

@janos all tests before retrieval are successfully executed => cluster is properly connected and running, as you said possibly test is flaky
@svetomir can you please look into it?

I wasn't able to replicate the issue, but it seems that we got HTTP response code of 0.
I'll leave this issue open for some time so we can investigate further.


ios failed to build

`[app_en.arb:sharpRightTurnActionNextRoadText] ICU Syntax Error: Expected "identifier" but found "{".
    Make a hard right turn onto {{0}}
                                 ^
[app_en.arb:slightLeftTurnActionNextRoadText] ICU Syntax Error: Expected "identifier" but found "{".
    Bear left onto {{0}}
                    ^
[app_en.arb:slightRightTurnActionNextRoadText] ICU Syntax Error: Expected "identifier" but found "{".
    Bear right onto {{0}}
                     ^
[app_en.arb:downloadMapsErrorText] ICU Syntax Error: Expected "identifier" but found "{".
    Map downloading failed with error: {{error}}
                                        ^
[app_en.arb:mapRegionChildrenNumberText] ICU Syntax Error: Expected "identifier" but found "{".
    {{0}} items
     ^
[app_en.arb:sizeOfWholeAreaOfRegion] ICU Syntax Error: Expected "identifier" but found "{".
    Whole area {{0}}
                ^
[app_en.arb:stopMapDownloadDialogTitle] ICU Syntax Error: Expected "identifier" but found "{".
    Stop downloading "{{0}}"?
                       ^
[app_en.arb:updateMapsErrorText] ICU Syntax Error: Expected "identifier" but found "{".
    Map updating failed with error: {{error}}
                                     ^
Launching lib/main.dart on Ayman’s iPhone in debug mode...
main.dart:1
Signing iOS app for device deployment using developer identity: "Apple Development: ayman elarian (XXXX)"
Xcode build done.                                           14.5s
Failed to build iOS app

Xcode build done.                                           14.5s
Failed to build iOS app
Could not build the precompiled application for the device.`

[✓] Flutter (Channel stable, 3.7.3, on macOS 13.0.1 22A400 darwin-x64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] IntelliJ IDEA Community Edition (version 2021.2.4)
[✓] VS Code (version 1.75.1)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

In this case it seems you have to stick to Flutter version 3.3.10. As mentioned get started section of the readme file:
If not already done, install the Flutter SDK. You need at least version 3.3.10. Newer versions may also work, but are not guaranteed to work.
For the next release we most likely will support 3.7.x


[BUG] 升级3.0 无法使用 hyperf-ext/auth

Execute the command and paste the result below.
Command: composer require hyperf-ext/auth
./composer.json has been updated
Running composer update hyperf-ext/auth
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - hyperf-ext/auth[v2.0.0, ..., v2.0.3] require hyperf/command ^2.0 -> found hyperf/command[v2.0.0, ..., 2.2.x-dev] but it conflicts with your root composer.json require (~3.0.0).
    - hyperf-ext/auth v2.1.0 requires hyperf/command ~2.1.0 -> found hyperf/command[v2.1.0-beta1, v2.1.0, 2.1.x-dev] but it conflicts with your root composer.json require (~3.0.0).
    - hyperf-ext/auth[dev-master, v2.2.0] require hyperf/command ~2.2.0 -> found hyperf/command[v2.2.0-beta1, ..., 2.2.x-dev] but it conflicts with your root composer.json require (~3.0.0).
    - Root composer.json requires hyperf-ext/auth * -> satisfiable by hyperf-ext/auth[dev-master, v2.0.0, ..., v2.2.0, 9999999-dev].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require hyperf-ext/auth:*" to figure out if any version is installable, or "composer require hyperf-ext/auth:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

多谢，


Prefix Import: Error message if VLAN_id is not found

Hi I just imported a bunch of prefixes into netbox 1.8.1. It was a bit hard to track down some issues with missing VLANs (some didn't exist at all, some only at a different site) which gave me this error message:

Would be great if we could have a specific error handling (like the other errors, e.g. description too long, too) which shows what it was searching for and in which line this happened, because it's no fun to debug 500 lines by hand. :smile:

To confirm, importing even invalid data should never yield a server error. (Invalid data should trigger a validation error and return the user to the populated form.)


In USelect, the Query update Emit is working.

Environment
Operating System: Windows_NT

Node Version:     v18.16.1
Nuxt Version:     3.8.2
CLI Version:      3.10.0
Nitro Version:    2.8.1
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      modules, googleFonts, build, typescript, colorMode, nitro, css, runtimeConfig, telemetry, experimental, vite
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Version
v2.11.1
Reproduction
https://stackblitz.com/edit/nuxt-ui-s8nxtx?file=app.vue
Description
I'm trying to get the searched query, update:query emit isn't working.
I also tried v-model:query . even this is not working.
Additional context
No response
Logs
No response

Are you referring to this? https://ui.nuxt.com/dev/forms/select-menu#control-the-query
It hasn't been released yet, only on the Edge version.

Okay, thanks.
Could I please know when is the planned release date for this?

We don't have a date yet but you can install it by following: https://ui.nuxt.com/getting-started/installation#edge


example-forum when filter by category and voteup, posts disappear from view

Steps to reproduce

use example-form
assign a category to a post
filter by category
vote up

Results:
Posts disappear from view
Expected Results:
Posts should still be there

Move to VulcanJS project


Don't error when listener connects to a stream with no data

If the RewindBuffer for a stream is empty, a listener connection causes an error.  This shouldn't happen.  We need to detect that situation and send the user an appropriate error code instead.

Is there a way though to stream "silence" as long as there's no source connected? If I connect to a server without source (e.g. VLC), it will terminate the connection and not stream. This means I would need to retry manually until a source streams audio to the server, but it would be more convenient to have the client streaming, even if it's silence, until a source connects. That way, you can't miss anything even without rewindbuffer, and listen live.


buffering not working as well since 1.1.17

Describe the bug
When the Buffer checkbox is enabled, the clients keep showing wait cursors and watching experience isn't great.
Server (please complete the following information):

OS - Linux Docker
Arch Intel AMD64
Threadfin Version and Build: versions > 1.1.16

To Reproduce
Steps to reproduce the behavior:

Buffer Size o 2MB
Buffer to RAM checked
FFMpeg options -hide_banner -loglevel error -reconnect 1 -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect_delay_max 2 -rtbufsize 128M -i [URL] -c copy -f mpegts pipe:1
Watch stream on client.

Expected behavior
Smooth stream shows up on the clients, rather than stop / start buffered stream.
Screenshots
None
Desktop (please complete the following information):
Not Applicable
Additional context
rolling back to 1.1.16 seems to work the best, with nicely buffered / smooth stream.

I'm not seeing any issues on my end. Everything runs smooth for me on ffmpeg. Check your options and maybe adjust

Thanks. I will try removing the  -reconnect 1 -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect_delay_max 2 -rtbufsize 128M
I am not convinced that -rtbufsize 128M does anything..

Sorry I am not able to debug this further, I am rolling back to 1.1.16, will see if any other users see issues with the buffering. Thanks.


Proxy Fallback to Static Init

In progress

Test that all compiled code ended up in jar
./gradlew jar
jar -tf


Enable 16bit mode data transfer with changes for esp-idf 5.0 support.

Thanks for the contribution!


Add Ed McFarlane as a maintainer

This proposes adding @emcfarlane (from Buf) to the list of maintainers. Per Connect's governance policy, this also makes Ed one of the handful of maintainers with a vote on Connect RFCs.
Ed has done the lion's share of recent maintenance and improvements in this codebase (as well as in otelconnect), and he is already a maintainer in several related packages (authn, cors, and vanguard).  He is an expert in all three of the protocols (as well as in RPC<-> REST transcoding) , has made numerous high-quality contributions to the code, and is already a valuable resource for answering questions in Slack and in GitHub issues.
I am in support of this. @akshayjshah, @bufdev, @mattrobenolt, what do you think?

Strong +1 from me.

@jhump thanks! Will debug this testcase 😅

That's 3 of 4 current maintainers in favor, so the motion passes - congrats, @emcfarlane!


Implement augmentations

Per #27, we'll use albumentations where possible, but several of albu's implementations use openCV or other packages that can't handle >3-channel images. We'll therefore need to re-implement some (probably using numpy/scipy/scikit-image).

Resolved with #35.


fix: enable prisma to generate query engine for debian

On Ubuntu 20.04, I was experiencing this issue when running the project locally with docker-compose up on the v0.9.7 tag. This adds binaryTargets for debian-base systems so prisma generates query engines for that system.
Validated by building and running the images on my previously broken machine.

@lucasmarshall additionally, it seems the builds are failing because they can't log in to AWS ECR. I'm assuming that's because the actions are being triggered from my fork. Not sure what you'd like me to do about that.

@lucasmarshall additionally, it seems the builds are failing because they can't log in to AWS ECR. I'm assuming that's because the actions are being triggered from my fork. Not sure what you'd like me to do about that.

Hmmm. Not sure what's going on there. We should be safe to merge anyway, so I'll do so.


Add Tab Hierarchy

Description
The idea of the tab hierarchy is to allow the user to "save" tabs, including their line number (not implemented). This would, for example, make traversing large OOP trees a lot easier since the user can essentially note down what line of a file the user deems as essential.
The UXUI can be improved. Currently, it requires a double click to open a saved tab, which differs from the Project Navigator and may not be very user friendly. Line number is also uncomfortably close to the file name.
Related Issue
none
Checklist

[x] I read and understood the contributing guide as well as the code of conduct
[x] My changes generate no new warnings
[x] My code builds and runs on my machine
[x] I documented my code
[x] Review requested

Screenshots
Adding, nesting, and opening saved tabs
https://user-images.githubusercontent.com/88234730/190424635-8178cc5d-d5cb-40aa-81fa-26a2479364d0.mov

Restarting the test job.
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler (in target 'AuroraEditor' from project 'AuroraEditor') 5984 (52 failures)

It looks like this code does not compile in a lower version of Xcode/MacOS
2022-09-16T12:04:30.2619830Z /Users/runner/work/AuroraEditor/AuroraEditor/AuroraEditor/Base/TabBar/Model/TabBarItemStorage.swift:70:1: error: constrained extension must be declared on the unspecialized generic type 'Array' with constraints specified by a 'where' clause
2022-09-16T12:04:30.2620330Z extension Array<TabBarItemStorage> {
2022-09-16T12:04:30.2620560Z ^         ~~~~~~~~~~~~~~~~~~~~~~~~
2022-09-16T12:04:30.2620790Z Command EmitSwiftModule failed with a nonzero exit code
2022-09-16T12:04:30.2620960Z
2022-09-16T12:04:30.2621550Z CompileSwift normal x86_64


Support for consumer groups in HTTP

What does that even mean? Spring Cloud Stream has "consumer group" as a core domain feature (although there has been some discussion about making it optional). What would that look like for HTTP consumers? See also #36.

I don't really know what it means or what would be the benefit. In Spring Cloud Stream "consumer group" plays a big role when tied together with SCDF by essentially routing between the instances of a consumer, so I look at it as more of an application connectivity feature. Are we planning to connect apps like that over HTTP?
And yes we are considering on expending the concept of binders in Spring Cloud Stream basing it on features like persistent pub-sub, support for consumer groups etc.


clothoid-circular-clothoid figures with constraints

How to calculate clothoid-circular-clothoid figures with constraints on the circle radius size?
Is it possible to rotate with this library using the clothoid-circular-clothoid figures and not only clothoids?

The Clothoid object from this library can accurately represent circles as well, but constrained optimization of piecewise clothoid/circle trajectories is well beyond the scope of this library.  Our goal is to give a pythonic and simple representation of these curves that other optimization code can build upon if needed.  This library would be a good candidate for representing the geometric curves themselves, but for any specific optimization involving multiple curves you can use any of the available python optimization libraries and use pyclothoids to build the cost functions or constraints to pass in to them.  While the requested functionality would certainly be valuable, the scope would demand a separate library beyond the scope of pyclothoids to implement the required optimizations efficiently.

I think one needs to implement this on the C++ level. Consider opening an issue in the other repository. Also a good workaround I think is to instead use the triple clothoid solver which is already available.


optional property "overlayColor" to set Modal BG

Creating a new optional property called "overlayColor" to set the background colour for Modal component.
Currently the background is set to either 'transparent' or 'white'.
User should have control over the background.
Referring to issue #12478 (Dim Background on Modal Display)

Motivation
(Write your motivation here.)
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!)
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/react-native-website, and link to your PR here.)
Release Notes

^ The bot flagged this has lacking release notes but it's because they are incomplete - you're missing the LOCATION field.


fix to work for C#

What does this implement/fix? Explain your changes.
This PR fixes the C# wrapper. Current master repo fails to build.

I'm quite unclear what this issue is fixing, could @kazuyaujihara provide more details? @jones-gareth should look here as well.

Current repo fails to build C# wrapper because of the following issues.

SWIG and C# cannot handle BOOST_BINARY.
%template(DiceSimilarity) RDKit::DiceSimilarity<boost::uint32_t>; in "GraphMolCSharp.i" is also defined in "MorganFingerprints.i".
SWIG converts boost::uint32_t to (unsigned int), which is incorrect for C#.

I used SWIG 4.0.2 / Visual Studio 2019 on Windows.

I'm quite unclear what this issue is fixing, could @kazuyaujihara provide more details? @jones-gareth should look here as well.

The changes to Code/GraphMol/MolPickler.h should fix C# compilation errors that I see on Windows (but, strangely, not on Linux):
C:\gareth\src\RDKitDotNet\swig_csharp\PropertyPickleOptions.cs(15,14): error CS0103: The name 'BOOST_BINARY' does not ex
ist in the current context [C:\gareth\src\RDKitDotNet\RDKitDotNetCore.csproj]

So that is a good thing.
I can see why moving away from boost::uint32 appears attractive, but the C# library build is fragile round unsigned integer primitive types.  We should confirm that the changes build on Linux and Windows, as this is not part of the build process (perhaps the native binary build should be added to the test pipelines).

I have checked that it can be built and it looks running on Linux (Ubuntu 20.4 on WSL2).
Although C# supports unsigned types, it is not used in generic purpose except byte types. So type conversion is required when a user calls APIs. Therefore, I think it is desirable to have wrapper methods to do it having C# naming habit. It is desirable to have proper unit tests on it.

It looks like BOOST_BINARY was introduced in 2017 unless I'm reading git-blame it wrong.  I find this odd as I've built windows builds with MSVC 2017, admittedly I haven't done this in a while...
https://github.com/bp-kelley/rdkit-csharp
As part of this PR, I think we should try to add windows c# builds otherwise it will bit-rot.  I know @jones-gareth has a different build system, perhaps it is time to add it to rdkit proper.
It would be nice to also have a direct push to nuget as well if possible.

We should also ensure that this is resolved, it is in my c# build system.
https://github.com/rdkit/rdkit/issues/2222
But this is really a build system issue I think.

As part of this PR, I think we should try to add windows c# builds otherwise it will bit-rot. I know @jones-gareth has a different build system, perhaps it is time to add it to rdkit proper.
It would be nice to also have a direct push to nuget as well if possible.

For my C# builds I have adapted Greg's Azure piplines.  I build Windows 64bit and Ubuntu 18.04.  For Widows I just install swig and run the commands in the Windows_VS2017_x64 pipeline with these extra  settings for cmake:
    -DRDK_BUILD_SWIG_WRAPPERS=ON ^
    -DRDK_BUILD_SWIG_JAVA_WRAPPER=OFF ^
    -DRDK_BUILD_SWIG_CSHARP_WRAPPER=ON ^

That builds the native C# 64bit library.
For Ubuntu we should be able add to the linux_build_java pipeline.  If the mono-mcs package is installed and RDK_BUILD_SWIG_CSHARP_WRAPPER set then that would build the C# native binary and compile the DLL.
While it would be great to do an automated push to Nuget, that seems ambitious right now.  Including building the C# native libraries in the test pipelines would be pretty useful- it would at least stop development on master breaking the C# compile.  Once that's done we can look at how we might include tests.
So, with some tweaking to those 2 Azure pipelines, we can include the C# library compile.  I'm not sure it belongs in this PR though.

We should also ensure that this is resolved, it is in my c# build system.
#2222
But this is really a build system issue I think.

The problem in #2222 is that you support both win32 and win64 and dynamically load the correct DLL from the Initialize function.
I don't believe that is an issue for the RDKit code base- so shouldn't be part of this PR.

I already implemented C# wrapper and its NuGet package, which supports both x86 and x64. It is used by the VSTO Add-in of Excel.
https://github.com/kazuyaujihara/build-rdkit
https://github.com/kazuyaujihara/NCDK-Excel

@kazuyaujihara  Thanks!  LGTM for now, I'll pass it by greg.

Ok, it seems like I should deprecate my C# nuget build for now.
Is the consensus we should test a 64 bit azure build of C# if possible and let the nuget packaging happen elsewhere?

Is the consensus we should test a 64 bit azure build of C# if possible and let the nuget packaging happen elsewhere?

That's my take.  I've never used Azure and I don't know how you would go from the builds to Nuget packaging, but it looks straightforward to change the pipeline YAML to build the C# wrappers.
Is it worth adding Azure C# build and Nuget packaging as issues?

Is it worth adding Azure C# build and Nuget packaging as issues?

I think so, preferably to this PR actually so we actually have a build working.  I'll see what I can do, probably nothing for a few days though.

I agree that having the C# builds tested on windows in CI would be useful. The only reason there's not currently a Win64 test of the SWIG wrappers is that I failed to figure out how to get SWIG setup on the Azure Pipelines Win64 instances. It sounds like @jones-gareth has solved that, so it should be easy. Let's go ahead and merge this PR and do that separately though.
I don't think Nuget (or any other kind of) packaging should be something that's part of the core RDKit repo. Having something like that would be great, but I'd prefer to treat it like the conda builds and have it in a separate repo.

I agree that having the C# builds tested on windows in CI would be useful. The only reason there's not currently a Win64 test of the SWIG wrappers is that I failed to figure out how to get SWIG setup on the Azure Pipelines Win64 instances. It sounds like @jones-gareth has solved that, so it should be easy. Let's go ahead and merge this PR and do that separately though.

I don't mean to give the impression that I've solved it- I've never used Azure.  I just (naively!) assumed that it would be pretty simple to add SWIG.  There is an example here https://forge.naos-cluster.tech/aquinetic/f2i-consulting/fesapi/-/blob/5567af4cfa463288210fb8ca90df8b401430a543/azure-pipelines.yml of SWIG in a pipeline.

I'm going to merge this and work on azure integration in a different PR.


Importing SOAP API with different endpoints (for import and for runtime calls)

APIM-CLI version
1.14.2
API-Management version
7.7.20211130
Question
is it possible to import a soap frontend API and differentiate:

the URL provided for wsdl import
the URL to reach at API calls
?

I've tried using:
{
"organization": "MyOrg",
"apiDefinition": "http://myHost1:8105/import/myservice?wsdl",
"backendBasepath": "http://myHost2:7349/runtime/myservice",
....
But in API Manager I saw that Backend service URL is always equals to "apiDefinition" field and backendBasePath is ignored.
Is there a way to achieve my goal?

I attach the json api configuration file if you want to reproduce the issue:
mySoapService.json
with this command:
 apim-cli.sh api import -c mySoapService.json -s myEnv
this is a screenshot of API Manager backend service URL after the import:

My goal is to configure a different backend endpoint (as specified in backendBasePath field in the json = http://mybackend/calculator)

Hi @gcornacchia,
As overridebasepath flag is set it is not allowing to change the host name.  Added a fix to handle it.  In the meantime, remove the flag, it will work.
Thanks
Rathna

Hi @rathnapandi,
so as a workaround I removed the flag overridebasepath and the import succeeded with the desired behavior.
If I understand well you have added a fix to reach the same goal but with overridebasepath = true option? is this already available in the develop branch?

Hi @gcornacchia,
Yes, the changes are available in development brach.
Thanks
Rathna

Hi @rathnapandi,
I've tried the code in development branch.
the behaviour is not exactly the expected, I've tested with the same provided above:
In the imported frontend API I see the backend URL is partially correct: a suffix not specified in json config file is added (maybe read from the wsdl itself??)

do you think it's a apim-cli issue or API manager issue?

Hi @gcornacchia,
The  URL suffice / basepath calculator.asmx  is coming from WSDL. We can update the backend Service URL host  via backendBasePath ( it should be host only).

Unfortunately, API manager does not allow to edit the basepath by updating backend API or WSDL.

hi @rathnapandi ,
I can handle in some way this API Manager limitation, when will the next apim-cli release be available?

Hi @gcornacchia
Mid of next week.

Fixed in 1.14.6


Add instructions on how to require role assignment

In the current instructions, it says to add a delegating permission.  This does nothing!  If you follow this example, ANY client ID in your tenant can make calls to the API ... extremely insecure.
Please add instructions on how to properly secure an API by turning on requiring role assignment:

add a role to the service through the manifest:
  "appRoles": [
    {
      "allowedMemberTypes": [ "Application" ],
      "description": "Allow the application to access TodoListService",
      "displayName": "Access TodoListService",
      "id": "0C65E07C-9D03-4617-83D3-09ADAE44C4E1",
      "isEnabled": true,
      "origin": "Application",
      "value": "api-access"
    }
  ],

and assign that role to the daemon:

I am trying to add this "require role assignment" in new portal, but it doesn't work. I'm getting error message when daemon app is trying to obtain token: "AADSTS50105: Application 'xxxxx-026e-4668-9da1-xxxxxx' is not assigned to a role for the application 'https://xxxxx.onmicrosoft.com/xxxxxx-10aa-441f-92b2-xxxxxxxxxxx'.
Trace ID: 4f0a1a2d-0dba-4fd2-993e-d17bc97c4400
Correlation ID: b28f2644-60a1-41ca-8aef-16bd5f5d526b
Timestamp: 2017-07-10 23:28:24Z"

I needed admin consent for the daemon app for this to work


x/debug/internal/core: build broken on darwin since at least 2021-10-28

greplogs --dashboard -md -l -e '//go:linkname must refer to declared function or variable'

2021-10-28T22:38:00-26ed8fd-af05d8b/darwin-amd64-10_14
2021-10-28T22:38:00-26ed8fd-af05d8b/darwin-amd64-10_15
2021-10-28T22:38:00-26ed8fd-af05d8b/darwin-amd64-11_0
2021-10-28T22:38:00-26ed8fd-af05d8b/darwin-amd64-nocgo
2021-10-28T22:38:00-26ed8fd-af05d8b/darwin-arm64-11_0-toothrot
2021-10-28T20:50:34-26ed8fd-d0751b1/darwin-amd64-10_14
2021-10-28T20:50:34-26ed8fd-d0751b1/darwin-amd64-10_15
2021-10-28T20:50:34-26ed8fd-d0751b1/darwin-amd64-11_0
2021-10-28T20:50:34-26ed8fd-d0751b1/darwin-amd64-nocgo
2021-10-28T20:50:34-26ed8fd-d0751b1/darwin-arm64-11_0-toothrot
2021-10-28T18:17:57-26ed8fd-f229e70/darwin-amd64-10_14
2021-10-28T18:17:57-26ed8fd-f229e70/darwin-amd64-10_15
2021-10-28T18:17:57-26ed8fd-f229e70/darwin-amd64-11_0
2021-10-28T18:17:57-26ed8fd-f229e70/darwin-amd64-nocgo
2021-10-28T18:17:57-26ed8fd-f229e70/darwin-arm64-11_0-toothrot
2021-10-28T18:10:59-26ed8fd-ed475fe/darwin-amd64-10_14
2021-10-28T17:52:59-26ed8fd-3124968/darwin-amd64-11_0
2021-10-28T16:54:58-26ed8fd-6bd0e7f/darwin-amd64-10_14
2021-10-28T16:54:58-26ed8fd-6bd0e7f/darwin-amd64-10_15
2021-10-28T16:54:58-26ed8fd-6bd0e7f/darwin-amd64-11_0
2021-10-28T16:54:58-26ed8fd-6bd0e7f/darwin-amd64-nocgo
2021-10-28T16:54:58-26ed8fd-6bd0e7f/darwin-arm64-11_0-toothrot
2021-10-28T16:08:36-26ed8fd-6f0185b/darwin-amd64-10_14
2021-10-28T16:08:36-26ed8fd-6f0185b/darwin-amd64-11_0
2021-10-28T16:08:36-26ed8fd-6f0185b/darwin-amd64-nocgo
2021-10-28T15:55:26-26ed8fd-61536ec/darwin-amd64-11_0
2021-10-28T15:35:25-26ed8fd-278b9b3/darwin-amd64-11_0
2021-10-28T15:08:31-26ed8fd-5c98bcb/darwin-amd64-10_14
2021-10-28T15:08:31-26ed8fd-5c98bcb/darwin-amd64-10_15
2021-10-28T15:08:31-26ed8fd-5c98bcb/darwin-amd64-11_0
2021-10-28T15:08:31-26ed8fd-5c98bcb/darwin-arm64-11_0-toothrot
2021-10-28T14:25:03-26ed8fd-a3bb28e/darwin-amd64-10_14
2021-10-28T14:25:03-26ed8fd-a3bb28e/darwin-amd64-10_15
2021-10-28T14:25:03-26ed8fd-a3bb28e/darwin-amd64-11_0
2021-10-28T14:25:03-26ed8fd-a3bb28e/darwin-amd64-nocgo
2021-10-28T14:25:03-26ed8fd-a3bb28e/darwin-arm64-11_0-toothrot
2021-10-28T03:44:12-26ed8fd-2ff1074/darwin-amd64-10_14
2021-10-28T03:44:12-26ed8fd-2ff1074/darwin-amd64-10_15
2021-10-28T03:44:12-26ed8fd-2ff1074/darwin-amd64-11_0
2021-10-28T03:44:12-26ed8fd-2ff1074/darwin-amd64-nocgo
2021-10-28T03:44:12-26ed8fd-2ff1074/darwin-arm64-11_0-toothrot
2021-10-28T03:35:34-26ed8fd-b8f928b/darwin-amd64-10_14
2021-10-28T03:35:34-26ed8fd-b8f928b/darwin-amd64-10_15
2021-10-28T03:35:34-26ed8fd-b8f928b/darwin-amd64-11_0
2021-10-28T03:35:34-26ed8fd-b8f928b/darwin-arm64-11_0-toothrot
2021-10-28T02:35:22-26ed8fd-056dfe6/darwin-amd64-10_14
2021-10-28T02:35:22-26ed8fd-056dfe6/darwin-amd64-10_15
2021-10-28T02:35:22-26ed8fd-056dfe6/darwin-amd64-11_0
2021-10-28T02:35:22-26ed8fd-056dfe6/darwin-amd64-nocgo
2021-10-28T02:35:22-26ed8fd-056dfe6/darwin-arm64-11_0-toothrot
2021-10-28T01:15:26-26ed8fd-b2fe2eb/darwin-amd64-10_14
2021-10-28T01:15:26-26ed8fd-b2fe2eb/darwin-amd64-10_15
2021-10-28T01:15:26-26ed8fd-b2fe2eb/darwin-amd64-11_0
2021-10-28T01:15:26-26ed8fd-b2fe2eb/darwin-amd64-nocgo
2021-10-28T01:15:26-26ed8fd-b2fe2eb/darwin-arm64-11_0-toothrot

@bcmills 👋🏼
I just ran into the above error when trying out go1.18beta1 running this program: https://go.dev/play/p/PVYJTCGE7ZU
Let me know if this is a well known/fixed bug given the CLs mentioned, or if we should re-open this issue. Thanks!

looks like this is not fixed in go1.18 darwin/arm64

@AbhimanyuAryan, you may need to upgrade your x/debug and/or x/sys dependency to pick up the fix.

Yes I fixed it thanks

what's the solution here?

what's the solution here?

go get -u golang.org/x/sys
https://stackoverflow.com/a/71508032/3438870

@mxplusb I tagged sys about 3 weeks ago, so I don't know what problem you're trying to solve but it's probably not this issue. sys will be tagged again in another couple weeks if that does turn out to be what you need.


Modified .bool to work under the limitations of Swift MySQL driver

Currently, vapor/mysql doesn't support bitfields for deserialization. Which means that let mybool: Bool = node.extract("myBool") will fail and be caught by vapor/mysql/Bind+Node.swift:105.
There are quite a few ways to solve this problem. The most involved being implement bit fields in vapor/mysql. It's also possible to just implement bit fields for booleans by adding the case case MYSQL_TYPE_BIT where cBind.buffer_length == 1: and returning an Int/UInt and then let Node automatically turn that into a boolean, but it seems a little bit silly to me to implement the case only to catch single-bit BIT fields. Then, there's the simplest solution: this PR. Just change the type from BIT to TINYINT until vapor/mysql supports BIT.

I think this is the best solution for now. Thanks @BrettRToomey!


Settings - Possibility of using alternative NSUserDefaults in iOS

From @markusian on May 19, 2016 12:53
Please take a moment to fill out the following (change to preview to check or place x in []):
This is a

[ ] Bug
[x] Feature Request

Which plugin does this impact:

[ ] Battery
[ ] Connectivity
[ ] Contacts
[ ] DeviceInfo
[ ] ExternalMaps
[ ] Geolocator
[ ] Media
[ ] Permissions
[x] Settings
[ ] Text To Speech
[ ] Vibrate
[ ] Other

Version Number of Plugin: 2.1.0
Device Tested On: iPhone 6.0
Expected Behavior
The settings plugin uses the NSUserDefaults.StandardUserDefaults as default, not allowing to define any other NSUserDefaults database to store the objects. This is useful, for example, in the case in which an app group is used, and it is necessary to have shared settings between the container app and the extensions / other apps in the group.
Copied from original issue: jamesmontemagno/Xamarin.Plugins#309

Do you have an idea of what the implementation would be? Should it be for all settings or only specific settings. Is there something similar on Android/Windows that could be abstracted?

From @markusian on May 26, 2016 7:8
There is one line that is responsible of this behaviour:
var defaults = NSUserDefaults.StandardUserDefaults;
You can find it [here] (https://github.com/jamesmontemagno/Xamarin.Plugins/blob/master/Settings/Refractored.Xam.Settings.iOS/Settings.cs#L31).
The code should be modified in such a way that the defaults variable can be instantiated to whatever NSUserDefaults the user needs. For instance it could be instantiated to new NSUserDefaults("groupID", NSUserDefaultsType.SuiteName) in case one needs to use an app group.
Regarding if it should be only for specific settings, I think it is not strictly necessary. Having the possibility to have shared settings in an app group would be already a step forward, while having different user defaults for different settings could be too much.
And, as far as I know, there is no equivalent in Android or Windows.

From @neelamc23 on June 2, 2016 14:17
I think an Android equivalent would be SharedPreferences.

For Android I store in SharedPreferences, which means you could build a preference screen via xml.

From @heathhodgert on June 6, 2016 21:0
This would be a very nice feature. I already use your settings plugin but had to spin my own for app group settings. The only thing i see in windows is Extension folders and managing our own settings file.

Available now for testing in: 2.6.0-beta9


Account controller

As a user I want to be able to list all accounts (names and balances).
Each column should have appropriate label saying what it is (account name / balance).
Each transaction should be displayed in new row in read-only mode (not editable fields)
Data should be loaded on page load when application URL is entered in the browser.
Data should be retrived from server with GET request which is asynchronous to content load
In case there is an error in retriving data the error message should be displayed.
If there is no data available the empty table (only headers) should be displayed.


panic: runtime error: invalid memory address or nil pointer dereference

Issue:
panic: runtime error: invalid memory address or nil pointer dereference when hostMetrics enabled.
On env:
Chart version opentelemetry-collector-0.40.7
APP verison 0.66.0
GKE 1.22
Helm v3.5.0
Steps:

config.yaml

mode: daemonset

presets:
  hostMetrics:
    enabled: true

config:
  processors:
    memory_limiter:
      check_interval: 5s
      limit_mib: 1600
      spike_limit_mib: 500

helm install otel-collector  open-telemetry/opentelemetry-collector -f config.yaml
Pods CrashLoopBackOff
Check pod logs

2022-12-07T09:46:27.396Z	info	extensions/extensions.go:48	Extension started.	{"kind": "extension", "name": "health_check"}
2022-12-07T09:46:27.396Z	info	extensions/extensions.go:44	Extension is starting...	{"kind": "extension", "name": "memory_ballast"}
2022-12-07T09:46:27.399Z	info	service/service.go:115	Starting shutdown...
2022-12-07T09:46:27.399Z	info	healthcheck/handler.go:129	Health Check state change	{"kind": "extension", "name": "health_check", "status": "unavailable"}
2022-12-07T09:46:27.399Z	info	pipelines/pipelines.go:118	Stopping receivers...
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x78 pc=0x8d316d]

goroutine 1 [running]:
net/http.(*Server).Close(0x0)
	net/http/server.go:2732 +0x4d
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zipkinreceiver.(*zipkinReceiver).Shutdown(0xc000c82240, {0x69619a1, 0x2})
	github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zipkinreceiver@v0.66.0/trace_receiver.go:165 +0x25
go.opentelemetry.io/collector/service/internal/pipelines.(*Pipelines).ShutdownAll(0xc000c80e10, {0x75de9c0, 0xc0000c2018})
	go.opentelemetry.io/collector@v0.66.0/service/internal/pipelines/pipelines.go:121 +0x499
go.opentelemetry.io/collector/service.(*service).Shutdown(0xc000d54680, {0x75de9c0, 0xc0000c2018})
	go.opentelemetry.io/collector@v0.66.0/service/service.go:121 +0xd4
go.opentelemetry.io/collector/service.(*Collector).shutdownServiceAndTelemetry(0xc001277a88, {0x75de9c0?, 0xc0000c2018?})
	go.opentelemetry.io/collector@v0.66.0/service/collector.go:264 +0x36
go.opentelemetry.io/collector/service.(*Collector).setupConfigurationComponents(0xc001277a88, {0x75de9c0, 0xc0000c2018})
	go.opentelemetry.io/collector@v0.66.0/service/collector.go:166 +0x286
go.opentelemetry.io/collector/service.(*Collector).Run(0xc001277a88, {0x75de9c0, 0xc0000c2018})
	go.opentelemetry.io/collector@v0.66.0/service/collector.go:190 +0x46
go.opentelemetry.io/collector/service.NewCommand.func1(0xc000170900, {0x69107b9?, 0x1?, 0x1?})
	go.opentelemetry.io/collector@v0.66.0/service/command.go:53 +0x479
github.com/spf13/cobra.(*Command).execute(0xc000170900, {0xc0000b4030, 0x1, 0x1})
	github.com/spf13/cobra@v1.6.1/command.go:916 +0x862
github.com/spf13/cobra.(*Command).ExecuteC(0xc000170900)
	github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3bd
github.com/spf13/cobra.(*Command).Execute(...)
	github.com/spf13/cobra@v1.6.1/command.go:968
main.runInteractive({{0xc000550cc0, 0xc000551e90, 0xc0005510e0, 0xc000550960}, {{0x69388ae, 0xf}, {0x69b56ff, 0x1f}, {0x690a299, 0x6}}, ...})
	github.com/open-telemetry/opentelemetry-collector-releases/contrib/main.go:32 +0x5d
main.run(...)
	github.com/open-telemetry/opentelemetry-collector-releases/contrib/main_others.go:11
main.main()
	github.com/open-telemetry/opentelemetry-collector-releases/contrib/main.go:25 +0x1d8

Anyone can help for this issue?
Thank you.

@wadexu007 I was unable to reproduce this issue with your values.yaml and chart version.  It looks like the collector is shutting down during its startup sequence which is causing some issues with the Zipkin receivers shutdown processes, but I think that is unrelated.  The real problem is that shutdown is starting while the extensions are being started up.
My initial guess is that there is another permission issue somewhere with the collector and your cluster.  Or maybe something with k8s 1.22.  What happens if you try a more recent k8s version?

@TylerHelmuth Thanks for point me it related to extensions.
  extensions:
    memory_ballast:
      size_in_percentage: 40

I think this default extensions memory_ballast config caused my pod error
Error: failed to start extensions: open /hostfs/var/lib/docker/overlay2/1e58c5b6f2e5d08595852d0d2e04a5e0cbed025c445097ed2201501e3b789c18/merged/sys/fs/cgroup/memory/memory.limit_in_bytes: permission denied; failed to shutdown service after error: failed to shutdown pipelines: no existing monitoring routine is running

Now, my workaround is explicitly declare extension only use health_check. Then my pods running well.
mode: daemonset

presets:
  hostMetrics:
    enabled: true

config:
  processors:
    memory_limiter:
      check_interval: 5s
      limit_mib: 1600
      spike_limit_mib: 500

  service:
    extensions:
    - health_check

@wadexu007 that error message looks like the same as the permission issue you are having with memory_limiter.  Can we close this issue and track everything in https://github.com/open-telemetry/opentelemetry-helm-charts/issues/543?

@TylerHelmuth Sure, please go ahead.


question: architectural option

I think it would be nice if tachyon also supported tachyon-edge architecture: CloudFront and LambdaEdge origin request event, without API Gateway.
I would like to know wheter you would be willing to accept a PR to enable tachyon to be manually deployed in such fashion (without the save resized to S3)?
Let me know if you are interested, and I will implement and add some specific documentation to allow that type of deployment.

Hey @alsguimaraes.
I think part of the benefit of the current system is not having to save any image other than the original to S3 given that a lot of those files wouldn't get used again (I'm thinking of cropping and generating previews).
Using lambda@edge on origin request is a nice idea but I'm not sure how it could be achieved without saving resized images to S3? I've only tinkered with lambda@edge a little bit so might be missing something.
Have you found it's more cost effective to run tachyon this way without API Gateway?

And to answer your question with regards to a pull request I think we'd be happy to link out to tachyon-edge for the time being but we couldn't really take on supporting that option unless we decided to adopt that approach for our own infrastructure.

Submitted PR #122


m3u file references localhost

One issue that comes up when connecting dizqueTV to other IP TV platforms is the m3u file will reference "localhost" for all the logo images. This means that in order to get those logos to be accessed by Channels DVR server, you have to (1) make sure to portforward dizqueTV to be accessible outside your local network and then (2) modify the m3u file to reference your public IP address for all those logo images.
should develop something whereby the server uses Universal plug and play type settings to automatically let it send the logos out to the public IP so that services can reference those files outside of the home network.

What I do is when I edit the channels I replace the localhost with my server's IP.
Something to deal with this automatically would be cool, probably.

i replaced localhost with my local 192 IP address but this would ONLY work inside your local network. So I had to make sure to portforward dizqueTV on my router and then change it to the external IP address -- so that when using channels outside my local network, it will still be able to access / pull those logos.
I noted to channels DVR that they should for IPTV feeds, pull those logos in and then host them for the server so that they can easily access and push them out to clients OUTSIDE the local network. For DizqueTV, it should automatically portforward the app at least for the purposes of port forwarding the logos; and then the m3u should reference the public ip address / port thats forwarded for the purposes of pushing the logos OUTSIDE of the local network.
Plex somehow has a solution for this - my guess is plex for TV channels will pull the logos and host them (which hopefully channels DVR will do in the future). But DizqueTV could also help solve this issue via the notes above.


Add badges to README

This commit adds crates.io and docs.rs missing badges, and reformats the README to match the style of bytecodealliance/cargo-wasi.

cc @tschneidereit @sunfishcode
PS need to cc you guys in as I currently lack permissions to anything but wasmtime so going the old-fashioned route ;-)