Undocumented requirement/convention on Certificate and secretName

/kind bug
What happened:
Deleting a certificate it is recreated by ingress-shim Sync.
I had a Certificate with spec.config[0].http01.ingress, I want to delete the Certificate, but
it is recreated because the Ingress has the annotation searched by ingress-shim during Sync.
The ingress-shim is looking for a certificate named as the secret required by Ingress, here.
I don't find any documentation related to this "assumption", so I should be able to use different names between Certificate and Secret and the ingress shim should look for certificate with the secretName matching which one is required by the Ingress TLS section.
What you expected to happen:
I'd expect that ingress-shim look for secretName in spec of certificates not by name.
maybe using something like c.certificateLister.Certificates(ing.Namespace).GetBySecretName(tls.SecretName) to find existing certificates.
Alternatively I'd expect that this assumption would be well-documented.
How to reproduce it (as minimally and precisely as possible):

create a Certificate named "a" with a secretName equal "b"
deploy an Ingress that uses the secret named "b"
delete the Certificate "a"

the Certificate "a" is recreated with the Ingress in ownerReferences

I'm unsure whether we want to do this - it seems quite complex, and I don't
see an immediate benefit.
Can you describe your use case further?
You should either manually create your Certificate resource and reference
the outputted secret from your ingress (without adding the tls-acme
annotation). Or otherwise use tls-acme annotation and allow cert manager to
create and manage the Certificate for you.
Why do you manually provision the Certificate resource, and also add the
tls-acme annotation?
On Thu, 3 May 2018 at 18:47, Marco<EMAIL_ADDRESS>wrote:

/kind bug
What happened:
Deleting a certificate it is recreated by ingress-shim Sync.
I had a Certificate with spec.config[0].http01.ingress, I want to delete
the Certificate, but
it is recreated because the Ingress has the annotation searched by
ingress-shim during Sync.
The ingress-shim is looking for a certificate named as the secret required
by Ingress, here
https://github.com/jetstack/cert-manager/blob/master/pkg/controller/ingress-shim/sync.go#L94
.
I don't find any documentation related to this "assumption", so I should
be able to use different names between Certificate and Secret and the
ingress shim should look for certificate with the secretName matching
which one is required by the Ingress TLS section.
What you expected to happen:
I'd expect that ingress-shim look for secretName in spec of certificates
not by name.
maybe using something like
c.certificateLister.Certificates(ing.Namespace).GetBySecretName(tls.SecretName)
to find existing certificates.
Alternatively I'd expect that this assumption would be well-documented.
How to reproduce it (as minimally and precisely as possible):

create a Certificate named "a" with a secretName equal "b"
deploy an Ingress that uses the secret named "b"
delete the Certificate "a"

the Certificate "a" is recreated with the Ingress in ownerReferences
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jetstack/cert-manager/issues/535, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMbP4T1tQCtivTM6hIkAXFqv68dwI4-ks5tuzSfgaJpZM4TxbXr
.

Hi, thank you for your replay and sorry for my delay,
I forgot to mention that I am using a 0.2 release (specifically the chart cert-manager-0.2.8),
the only annotation on ingresses I use are:
    certmanager.k8s.io/acme-challenge-type: http01
    certmanager.k8s.io/issuer: letsencrypt-exinda-issuer

no kubernetes.io/tls-acme: "true".
My use case / purpose is to allow "users of k8s cluster" to be able to have a their own ACME issuer (with associated their account, for rate-limit etc) and get valid certificates for domains they choose to be used in Ingresses they need.
To achieve that I understood that they have to deploy:

an Issuer associated to their email/acme account
a Certificate for some domains
an Ingress to serve the domains using the secret they are referencing in Certificate for those domains (at point 2)

What I understood is that, in the Certificate definition, in the acme.config stanza there is the instructions for cert-manager (controller and/or ingress-shim) related to ingress/pods management to implement the ACME challenge.
In my understanding it should be possible to choose a name for the Certificate different by the Secret used to store the "real" key/cert blob.
Maybe I'm misunderstanding the [documentation|http://docs.cert-manager.io/en/release-0.2/reference/ingress-shim.html#supported-annotations] on Ingress annotations related to certmanager,
in my guessing the annotation  certmanager.k8s.io/acme-challenge-type: http01 and certmanager.k8s.io/issuer: letsencrypt-exinda-issuer would be used/required only in the case I use spec.config[0].http01.ingress in Certificate instead of ingressClass an existing ingress is patched to add url endpoints for the ACME challenge, otherwise using the ingressClass a new ingress will be created for the ACME challenge and destroyed when the cert is issued.
In "my" particular case I have for sure a bad configuration of certificate and ingress, because I have 2 Certificates that refer to the same secretName, and also the Certificate is using the ingress (not ingressClass), so I cleaned up my configuration and my problem is gone, but I would want just suggest to better clarify those aspects related to annotations (maybe mutually exclusive) and names to use for certificates and secrets refs in the Documentation.
I pointed that code line because reading that I realized why the Certificate was continuously recreated when I already have the Secret with real key/cert for ingress, and I guess also the annotations on Ingress are involved because they would be observed by ingress-shimm in my guess.
Thank you very much,
best regards

@munnerz related to this issue ingres-shim is creating Certificate resources even when it is unnecessary (and unhelpful), because the required Secret exists.
When ingress-shim is checking an Ingress, it should not create a new Certificate if the Secret named in the Ingress already exists. E.g. it is often the case that some domains are provided by a non-ACME registrar, and are stored in Secret with the name give in the Ingress.  Since the Secret required by the Ingress is already satisfied, ingress-shim should not create an unnecessary Certificate (which is a proxy for creating a missing Secret).
E.g. if a Secret called 'my-static-secret' already exists, ingress-shim should only create a Certificate for 'www.example.com' called 'missing-secret'.
  tls:
  - secretName: missing-secret
    hosts:
    - www.example.com
  - secretName: my-static-secret
    hosts:
    - foo.example2.com

If you fix this, you will also fix @safanaj's problem. Since his manually created Certificate creates the required Secret mentioned in his Ingress, and so ingress-shim, with my proposed check, won't create another. That is, you only need to check if the Secrets named in the Ingress exist, you don't (I think) need to check every Certificate as @safanaj  was suggesting, to fix both my and his use case.

I ran into the issue @whereisaaron describes as well. Where I've pre-provisioned a Certificate with three DNS Subject Alt Names. Then when I deploy Ingress with one of those host names it creates a new certificate at secretName rather than using the one that is already there and starts causing SSL failures because now the other two alt names are missing.

I don't think we can, or should, skip creating a certificate if the target
secret exists.
This would prevent users migrating from certificates from other sources.
Adding an annotation to an ingress resource is an expression of "I want a
certificate resource to be created and kept valid for the contents of this
ingress".
If you are reusing a single certificate/secret between ingress resources,
then only one of those ingresses should have the annotation (or you should
just manage the Certificate resource manually instead).
On Fri, 7 Sep 2018 at 00:26, Xavier Stevens<EMAIL_ADDRESS>wrote:

I ran into the issue @whereisaaron https://github.com/whereisaaron
describes as well. Where I've pre-provisioned a Certificate with three
DNS Subject Alt Names. Then when I deploy Ingress with one of those host
names it creates a new certificate at secretName rather than using the
one that is already there and starts causing SSL failures because now the
other two alt names are missing.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jetstack/cert-manager/issues/535#issuecomment-419273339,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMbP3NYzFkVQ43Lt2W3zIwwkaxFXQ2Lks5uYa9CgaJpZM4TxbXr
.

@munnerz Ah, this makes sense now. Sorry I misunderstood. I've removed the annotations from my Ingress definitions and things are working as expected.


Minimize loading time when create a new account or start the app

Find the cause of slow start
Try another package to interact with keychain

Closing as completed


Offhand item disappears when switching dimensions

https://github.com/user-attachments/assets/c6ba0ae9-c094-4f69-bef7-87fc24e87c06
Steps to reproduce:

Start a new Minecraft world with Backhand 1.5.1.
Put an item in the offhand slot.
Travel to a different dimension.
Observe the offhand item is no longer visible until you press the offhand key.

Expected behavior:
Offhand item should remain visible when switching dimensions without requiring any additional input.

https://github.com/user-attachments/assets/c971bcb0-fce1-4765-9513-58cb4958e5ea
issue persists in 1.5.2

Aight can you send your full mod list because I couldn't reproduce it when I tested it yesterday

EFR 2.6.0
Backhand 1.5.2
Bauble EX 2.1.4

EFR 2.6.0
Backhand 1.5.2
Baubles EX 2.1.4

also tested with only Backhand installed

I still can't reproduce. Have you changed any specific config options?

i set Use inventory slot to true now thr offhand item doesn't dissapear

The video I sent above has that option disabled (the default) but it also works fine with it enabled.
Can you try on a new world with that option disabled? It uses a IExtendedEntityProperties so it's possible that something has gone wrong there.

The offhand item still disappears.

sloved in 1.5.3 version


Feature: Configure max-lines of "List"

Environment
Host

item
version

OS
Debian 10 buster

GROWI
3.7.3

node.js
12.16.2

npm
6.14.4

Using Docker
yes

Using growi-docker-compose
no

(Accessing https://{GROWI_HOST}/admin helps you to fill in above versions)
Client

item
version

OS
Windows 10 Pro 1909

browser
Chrome 81.0.4044.138（Official Build）

What is the expected result? (期待される動作)
Each page has "List" view at the bottom.
I feel that this list contains too many lines in each page.
Sometimes, pages with trivial contents are occupied by this large list...

Captured by https://demo.growi.org/
I suggest to Implement system property for changing max-lines of list.
Note

@knaou
Thank you for your request.
This is a good idea.
Many sites allow you to choose how many to display.
I want to be able to set.
However, I think it will be a while before we start to development. Please wait a moment. Thanks.

This user interface has been deprecated since version 4.2.x.


Select JSON column Exception by using query() function

Describe the bug
When a select operation is performed using the query() function, an exception is thrown if the result contains complex JSON format.
Steps to reproduce

create  a JSON table

CREATE TABLE IF NOT EXISTS test_table (id Int32, json JSON) ENGINE = MergeTree() ORDER BY id;

insert the complex data

:) select * from test_table Format JSONEachRow;

{"id":2,"json":{"content":"This is a description of the book","metadata":{"Author":"test","Number of pages":"","Title":"title","Year of Original Publication":"","Year of Publication":"2023"}}}

use query() function failed

res = client.query("SELECT * FROM test_table")

clickhouse_connect.driver.exceptions.InternalError: Unrecognized ClickHouse type base: ofpages`String name: ofpages`String

This bug is related to having spaces in your keys ('like a key of Number of pages).  ClickHouse parses that as a tuple element.  I'll see if I can improve the parser to handle that correctly, but the quickest workaround is to not use keys with spaces.

This should be fixed in 0.6.19, although any time you have to deal with spaces in a column name there's always a chance of weird bugs.


Not and issue, but a big thank you!

Coming from Electron and new to Flutter. Your Fluent library is a really welcome addition to the other UI libs. Thank you very much!

I am really glad you like it! This kind of comments and feedbacks is what keeps me loving the community. <3


[red-knot] Fix bug where union of two iterable types was not recognised as iterable

Fixes #13990. My favourite kind of bugfix: more accuracy for less code!

This should work as expected today

in fact, it does not... great catch!

in fact, it does not

Should we capture this in an issue?

in fact, it does not

Should we capture this in an issue?

I am working on a fix. But if I do not succeed in putting up the fix, I will write up an issue.

in fact, it does not

Should we capture this in an issue?

I am working on a fix. But if I do not succeed in putting up the fix, I will write up an issue.

I did not succeed in putting up the fix! Here is the issue instead: https://github.com/astral-sh/ruff/issues/14012


Agents -- MMCV util

where are the agents stored? in mmcv util?
i cannot find mmcv util, could you please help me?
Is the PPO agent used in the tutorial, from stablebaslines or RLLIb?

Model Save Path:
When you run the code, all the models and logs should be stored in work_dir by default. You may change the work_dir in the config file (e.g. ,deepscalper) to change the position.
PPO:
We use RLlib for PPO


Fix DLL injection

Fixes #222 #197
Inject DLL as soon as the process is launched. Injecting them later fails on CreateRemoteThread() with error code 5 "Access Denied".
Tested with 3DMigoto (GIMI) and ReShade.

Also fixes #197

any chance a version with this patch available?
having this issue is so annoying, to the point that I have to remove and re-add the 3dmigoto dll everytime 😥

I published a release of my fork

I published a release of my fork

goated, ty man

came back here to say this worked well as both 3dmigoto and specialK injected without any extra works
this deserve a merge, so it also have the "windows show in Alt-Tab" patch too

Hey vapope, would you mind making your fork with the latest version (v2.1.3)?
On v2.1.1 there is a bug as Alt-Tab and Win-Tab showing a ghost window

Sorry if I have to ask here, your fork doesn't open issue nor discussion

I'd rather have @34736384 merge this already, but in the mean time I patched my fork with the latest version.

thank you :)
judging by the activity and the response to one of the issue you linked for this PR, I don't think he will so better much to ask for your fork to be up-to-date than waiting, though annoying...

was planned to rewrite the unlocker in net core, but I'll go ahead and merge this first


Change global DNS target in a straightforward way

Address https://github.com/rancher/rancher/issues/17982#issuecomment-472225106
Problem:
Cannot change globalDNS target to mcapp when it aims at projects, and vice versa
Solution:
Delete existing project target when mcapp target is set,
Delete existing mcapp target when try to add project target.

LGTM

@prachidamle Updated

thanks @gitlawr, that change looks correct


BUG: makeBaseBox

Isn't it a bit weird that the baseBox should be centered on the origin in x / y dimensions, but will not be centered in z dimension?
https://github.com/sgenoud/replicad/blob/c80d81918617dd10d0f004f750e180396390f30d/packages/replicad/src/shortcuts.ts#L10
perhaps it should be this?
const makeBaseBox = (
  xLength: number,
  yLength: number,
  zLength: number
) => {
  return new Sketcher()
    .movePointerTo([-xLength / 2, yLength / 2])
    .hLine(xLength)
    .vLine(-yLength)
    .hLine(-xLength)
    .close()
    .extrude(zLength).translateZ(-zLength/2);
};

ah it seems that "extrude" extrudes "symetrically around the center", eg a vertical extrusion of length L will extrude L/2 in the vertical direction and L/2 in the opposite direction? Perhaps it should be documented

I have explained the extrude method here https://github.com/raydeleu/ReplicadManual/wiki/5.-Create-solid-shapes#521-extrude. I don't think that you are correct that the extrude is always symmetrical.
You are correct that it is a bit odd that the box is not centered on the origin, but I assume that is why the programmer calls it makeBaseBox. It is a box with the base flat on the XY-plane. So it is probably not a bug but a feature :-)

Thanks, then I'm closing the issue (although I think the makeBaseBox behavior should probably be explained in some doc)


Render markdown on documentation

Would be nice to have documentation's markdown syntax rendered withing Atom

Kinda implemented in #144.

Done.


address #543

Fixes #543 .
Changes proposed in this pull request:
the proposed translation were made in the English translation file.Need a feedback before moving into other languages.
cc @HospitalRun/core-maintainers

I have created some changes. Please review and give a feedback

@yasirunilan thx again for the PR. Are you intending to implement the changes @jkleinsc or should I close this?

#992 resolved #543 so I am closing this.


Preventing dragging circle in the line chart to excess the canvas boundaries

Before:
https://github.com/dautovicharis/Charts/assets/94565457/dd4fb301-8e75-4e81-91eb-804376025112
After:
https://github.com/dautovicharis/Charts/assets/94565457/78705e55-8e0f-4a6b-ac52-dc0593d49ca8

@sevbanBayir Thank you for your contribution! I think this is good, but can you please create PR to develop branch? Thanks!

ah sorry i was looking for a develop branch but then i distracted. i created another PR with adjustments, i think we can close this up.

Perfect! Ok, just one thing, I think It will be necessary to clean this commit  from your main branch in case you decide to add some additional contributions. Thank you
I am closing this PR because the destination was wrong.
We are going to fix this with new PR -> https://github.com/dautovicharis/Charts/pull/51


add novalidate attr to attributeBindings array

A couple of things would be needed:

make the property explicit, defining it as false by default
add documentation (yuidoc style) for the property
add a simple test to https://github.com/kaliber5/ember-bootstrap/blob/master/tests/integration/components/bs-form-test.js

Replaced by #94


Failed to register to eureka server with spring security

I have tried many times, but it failed every time.
Spring Boot Version: 2.1.3.RELEASE
Spring Cloud Version: Greenwich.RELEASE
There is eureka server's configuration:
spring:
  application:
    name: registration-center
  security:
    user:
      name: eureka
      password: 123456
server:
  port: 8761
eureka:
  instance:
    hostname: localhost
  client:
    fetch-registry: false
    register-with-eureka: false
    service-url:
      default-zone: http://eureka:123456@${eureka.instance.hostname}:${server.port}/eureka/
  server:
    enable-self-preservation: false

And this is eureka client's configuration:
spring:
  cloud:
    gateway:
      discovery:
        locator:
          enabled: true
      routes:
      - id: route_service_user
        uri: lb://SERVICE-USER
        predicates:
        - Path=/user/**
  application:
    name: gateway-client
server:
  port: 8901
eureka:
  client:
    servers-url:
      default-zone: http://eureka:123456@localhost:8761/eureka
    register-with-eureka: true
    fetch-registry: true
  instance:
    prefer-ip-address: true
    hostname: localhost

I also tried to disable csrf:
@EnableWebSecurity
public class WebSecurityConfig extends WebSecurityConfigurerAdapter {

    @Override
    protected void configure(HttpSecurity http) throws Exception {
        http.csrf().disable()
                .authorizeRequests()
                .antMatchers("/actuator/**").permitAll()
                .anyRequest()
                .authenticated()
                .and().httpBasic();
    }
}

It bothers me a lot, could you please help me out?

Try Spring Cloud support, this is not really directly related to Eureka based on my understanding.


Linux  UE4.17 Could not find file Module.VlcMediaFactory.gen.cpp

View log file
log.txt

Linux is not officially supported yet. Please refer to the following thread for details on how to make it work, thanks! https://github.com/ue4plugins/VlcMedia/issues/17


~ still not working on some keyboards

I can't type ~ using polish keyboard layout in starfall. It opens console and doesnt write char. When I switch my key laout to english one it writes char but still opens console( I was trying with and without fix enabled)

I don't think there is anything I can do about this as it's most likely something to do with GMod internally opening the console.

You could change your console bind, or disable it.
I don't think this has anything to do with the SF editor though. I'll see if the E2 editor behaves the same way.

For a UK Keyboard layout opens the console for me but for example on a US layout I have to press Shift + which types a ~ to open the console. If I switch to a Polish keyboard layout I press Shift + ` to type a ~ which does not open the console. But if you find a text box on the GMod menu ( Start New Game and then there is one in the bottom left ) and try to type the ~ on the Polish layout it opens the console without typing the ~. Therefore this is not something to do with our editor as it happens in GMod on its own with HTML panels.
If you want to make an issue on the garrysmod issues page feel free (https://github.com/Facepunch/garrysmod-issues) but I suspect this is something similar to the issue I opened a while ago (https://github.com/Facepunch/garrysmod-issues/issues/1941).

I rebound my console key to HOME to test its behavior.

Outside of all editors
Pressing the HOME key results in console opening
Pressing Shift / Ctrl / Alt + HOME does not result in the console opening
In E2 editor
Pressing the HOME key results in the home function being executed inside the editor; no console
Pressing Shift / Ctrl / Alt + HOME does not results in the proper function being executed; no console
In the SF editor
Pressing the HOME key results in the home function not being executed inside the editor; console opened
Pressing Shift / Ctrl / Alt + HOME results in the home function not being executed; console opening

Rebound console key back to `

Outside of all editors
` results in console opening
Shift / Ctrl / Alt + ` ( ~ ) results in console not opening
In E2 editor
` results in console opening
Shift / Ctrl / Alt + ` ( ~ ) results in console not opening;
Shift + ` pressed results in "~" being typed.
In the SF editor
` results in console opening and being closed ( fix console bug enabled & disabled )
Shift / Ctrl / Alt + ` ( ~ ) results in console opening
Shift + ` pressed results in "~" being typed.

This has to do with the Starfall Editor.

This is nothing to do with console keybinds, it is to do with HTML panels.
You didn't even try the Polish keyboard layout... As I said Shift + types ~ on a Polish layout and does not open the console normally. Find a HTML panel which you can type into ( A standard one in GMod is the one on the Start New Game menu ) and press Shift + (~). It opens the console even though it is not a keybind.
Technically this is to do with the editor since it uses a HTML panel but there is nothing I can do about it unless it is fixed in the actual game.


Use more specific opcode names; DUP1 ... DUP16 instead of "DUP"

Using the more specific opcode names makes it easier to follow each step in the debugger. With DUP1 ... DUP16 all showing as "DUP", you need to step forward and then visually scan the whole stack to figure out which item was duplicated.
The change is just modifying the names in src/code/opcodes.js#L105-L120. My preference would also be SWAP1 ...  SWAP16 over "SWAP". For PUSH1 ... PUSH32, showing "PUSH" is fine since they all push to the top of the stack.

Please also fix the log opcodes and others that might have number suffixes.


Fix missing file icon in media library

Summary
Fixed missing file icons by adding hook_install to copy files.
Metadata

Question
Answer

Did you use a meaningful pull request title?
yes

Did you apply meaningful labels to the pull request?
yes

Did you perform a self review first?
yes

CHANGELOG reflects changes?
yes

Did you perform browser testing?
yes

Risk level
Low

Relevant links
https://thinkoomph.jira.com/browse/RIGA-89

Looks good after fixing the PHPCS error
/approved


Fix yml files, add test, add workflow

Hi @polyanskiy , thanks for maintaining this repo. I depend on it via https://github.com/toftul/refractiveindex and find it extremely helpful.
I noticed that in yesterday's update, four yml files were improperly formatted and therefore cannot be parsed. This PR fixes the four files, and also adds some testing to help ensure that all files in the database can always be parsed. It also adds a github action which will run with every PR, to help keep things in a healthy state.
Thanks again for your work on this repo. Please let me know if you have any questions or if I can be helpful.

Hi @mfschubert,
Thank you for identifying the bugs and adding the new scripts!
Would it be possible for you to add some comments and outputs to the test_parse.yml file to make it clearer how to use the script and what it’s doing?
Thanks again for your contributions!

Hi @polyanskiy, sure I will be happy to do so. I am away for one week but can get to this early next week.


OpenVPN Connection Timeout

I have installed pivpn (RPi 3 with Raspbian Jessie, GUI-version), and it looked as if everything is working. I added a user and rebooted the RPi. I then installed OpenVPN Connect on my Android 7.1.1-phone. When I imported the opvn-file and entered the chosen password for this user it tries to connect for a while, then states that it has encountered a connection timeout.
My phone is not connected to my home-network, I have it running on the mobile data-plan.
In my router I have setup a "Virtual server" that points from port 2056 on my external IP to the same port-number on my RPi. Obviously that is the port I chose in the installer because I wanted to use a non-standard port.
My opnv-file:
client
dev tun
proto udp
remote <my ip-address> 2056
resolv-retry infinite
nobind
persist-key
persist-tun
key-direction 1
remote-cert-tls server
tls-version-min 1.2
verify-x509-name server name
cipher AES-256-CBC
auth SHA256
comp-lzo
verb 1
<ca>
-----BEGIN CERTIFICATE-----
* removed *
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
* removed *
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN ENCRYPTED PRIVATE KEY-----
* removed *
-----END ENCRYPTED PRIVATE KEY-----
</key>
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
* removed *
-----END OpenVPN Static key V1-----
</tls-auth>

Does anybody know what is going wrong?

Anybody? I have no idea where to start looking, and I cannot think of any setting that would be wrong...

Huumm since it failed after you rebooted, please check booth
systemctl status openvpn
systemctl status openvpn@server
and see if services started properly. or if there is any errors.
if you don't understand the output, please paste it here so I can check it.
systemctl start openvpn
or
systemctl start openvpn@server
hope this helps out.

Huumm since it failed after you rebooted, please check booth
systemctl status openvpn
systemctl status openvpn@server
and see if services started properly. or if there is any errors.
if you don't understand the output, please paste it here so I can check it.
systemctl start openvpn
or
systemctl start openvpn@server
hope this helps out.

Well, it looks like it is running, but just to be sure, here's the output:
pi@raspberrypi:~ $ systemctl status openvpn
● openvpn.service - OpenVPN service
   Loaded: loaded (/lib/systemd/system/openvpn.service; enabled)
   Active: active (exited) since Sat 2017-06-03 15:42:00 CEST; 2 days ago
  Process: 557 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
 Main PID: 557 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/openvpn.service

pi@raspberrypi:~ $ systemctl status openvpn@server
●<EMAIL_ADDRESS>- OpenVPN connection to server
   Loaded: loaded<EMAIL_ADDRESS>disabled)
   Active: active (running) since Sat 2017-06-03 15:41:59 CEST; 2 days ago
  Process: 466 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf (code=exited, status=0/SUCCESS)
 Main PID: 518 (openvpn)
   CGroup<EMAIL_ADDRESS>           └─518 /usr/sbin/openvpn --daemon ovpn-server --status /run/openvpn/server.status 10 --cd /etc/openvpn --config /etc/openvpn/server.conf

I hope you there is anything I am missing?

Is port forwarding working?

@anudeepND Good one! I checked with canyouseeme.org and it claims it cannot reach port 2059 on my IP. Reason is ... timeout.
I think I have it correctly setup on my router (screenshot included), don't know how else to set it up...

Any ideas?

Does the checkbox 'enable port forwarding' do anything?

@Kroesss don't know that router, however, I believe that you must tick the "enable port forwarding" and the "select" checkboxes and then Apply.

@redfast00 @cfcolaco You guys are rght (of course). I totally missed that checkbox. Everything works like a charm now.
Thank you!


Account for laptops with lower resolution [responsiveness]

Is your feature request related to a problem? Please describe.
The current responsive screen options don't account for laptops with smaller resolution (e.g w: 1336).
Describe the solution you'd like
1336 should be the minimum width as it can still take 3 cols and it doesn't make much sense to see tablet view on a laptop simply because it has lower resolution.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
This behaviour was observed on a 15" PC with 1336 x 768 resolution.

You should pr this, if you don’t want to, I’ll do it tomorrow

Alright. I'll make a PR


Not able to download full data

yfinance.download('ABBOTINDIA.NS',
period = "2d",
interval = "1d",
progress = False,
threads = True)["Close"]
giving result for data for 1 day only, instead of 2 days which i requested.

I also found that the data for 2022/02/03 was missing when I request all the other stocks. Hope this isssue will be fixed soon.

I am having a similar problem. I can get multiple day closes but if I select an intra-day interval, I only get the close for each day.

Same issue with this INDIA VIX (^INDIAVIX) symbol.

Anyone found solution for this? Pls help

@ranaroussi
simple code run during market hours on 2022-03-04 provides output but skips the data for 2022-03-03. Below is the code and output
data = yf.download('RELIANCE.NS', start='2022-02-20', interval='1d',rounding=True).reset_index()

Problem still happening?

@ValueRaider yes, this problem is still happening occasionally.

1 observation, whenever this issue happens, if i want data till n date, then it always misses entries of (n-1) date. Don't know how much it can help in debugging.

What's your yfinance version?

yfinance==0.2.3

Step 1 is confirming what is to blame - Yahoo vs yfinance. Add debug code to print the dates Yahoo returns.


[Unity][BYOC] Add cutlass finegrained decode matmul

This PR updates cutlass BYOC to support fine-grained (group quantization) decode matmul
cc @masahi

So no need to update weight preprocessing？

no, weight preprocessing is only applied to permute the quantized weight and it's not related to scales

cc @sunggg

LGTM! How do we decide which one to use between groupwise vs row-wise?

@sunggg I'm proposing to add a new quantization mode q4f16_ft_group to mlc-llm

@vinx13 need lint fix

@tvm-bot rerun

@tvm-bot rerun

need a fresh push from @vinx13 to retrigger ci

@vinx13 Any idea what's up with CI? It's been failing for the same reason over and over.


Moving to PBKDF2

Due to the simplicity of SHA512 I will be moving to PBKDF2 for hashing.

This article is worth some consideration


Finalise New Group page

Note: Work done on top of #1456

Coverage decreased (-0.8%) to 82.449% when pulling cb6231f9abad43a87ce0dfd7e3ba2c0dd94a00b8 on aayush-05:finaliseNewGroupPage into eb749492e9709adfae42036ae8fc0daded7509b1 on CircuitVerse:master.

@nitin10s @tachyons please have a look at this

LGTM


Sync gRPC LB load_balancer.proto with Go and Java

In https://github.com/grpc/grpc-proto/pull/25 I added a canonical version of the load balancer proto that can be shared between all languages.  grpc code should sync with it so that all three grpc implementations can be aligned.
cc: @ejona86

We have some special needs in our version of the proto due to the use of nanopb. In particular, see https://github.com/grpc/grpc/blob/master/src/proto/grpc/lb/v1/load_balancer.proto#L19-L31 as well as not not having access to type names such as google.protobuf.Timestamp (which is why we define the types ourselves).
I presume Java and Go could use the core version's of the proto, but we can't use theirs.

@dgquintas I had seen this for some of the other protos.  I think a possible way forward is to make copies of the google/protobuf/timestamp.proto file, rather than the message.

Given how small the types are, why not include them as we do in core instead of having another moving piece?

Because you changed the schema. The packages are now different and the JSON handling is different. Multiple built-in types have special handling by protobuf.

I see. I'll experiment (read, fight with nanopb) using a copy of the file.

@dgquintas also, if you have rapport with nanopb you could file an issue to treat well known types the same as protoc.  (in the future, of course)

I can, and will, certainly file a feature request with them.

Actually, here's the real problem:
third_party/protobuf/src/google/protobuf/timestamp.pb.h:7:10: fatal error: string: No such file or directory
 #include <string>
          ^~~~~~~~

That is, nanopb is happy to generate code using the google.protobuf... types, but when we try to compile the generated code for the "official" types, we run into forbidden includes, such as <string>, but I'm sure it's not the only one.
We are, in core, still restricted to a subset of C++, unlike protobuf.
CC @nicolasnoble

After talking to @carl-mastrangelo , there may be a way around this. Stay tuned.


update README

adding commas / fixing typos
adding helpful links for some steps (similar to my proposed changes in the JS subgraph template)

I'm gonna go ahead and merge this since it's a clear improvement


[Enhancement] Adds the ability to define the templates from within your CrudController

Publicises an API enabling the templates to be defined from within the CrudController setup using the below.
$this->setShowView('your-view');
$this->setEditView('your-view');
$this->setCreateView('your-view');
$this->setListView('your-view');
$this->setReorderView('your-view');
$this->setRevisionsView('your-view');
$this->setDetailsRowView('your-view');

You can also call the getters for all the above if needed e.g
$this->getShowView();
$this->getEditView();
$this->getCreateView();
$this->getListView();
$this->getReorderView();
$this->getRevisionsView();
$this->getDetailsRowView();

a more full example might look similar to
class RegionCrudController extends CrudController
{

    public function setUp()
    {
        $this->crud->setModel("App\Models\Region");
        $this->crud->setRoute("admin/regions");
        $this->crud->setEntityNameStrings('region', 'regions');

        $this->setCreateView('tabbed-form');
        $this->setEditView('tabbed-form');
    }
}

I LOVE THIS! :-) Great idea.

You haven't merged it though :P
Ha the one issue I've got is the lack of consistency, because its bound to the controller you apply it via $this rather than $this->crud
However I'm not sure if it can be moved to the CrudPanel without breaking any conventions/recommended practice. I'm not sure if it should be attached to the controller, because you define the views in the controllers, so it should be attached to it. So I'm torn! ha but I think it could be moved easy enough

Yeah, sorry, I'm trying to first take care of the "low hanging fruit" PRs - those that take 30 minutes or less to test and merge. This one takes a little more time. Your PRs generally are big features, which is awesome (of course), but they also need proper testing before being merged, as one bug there would make a lot of people cry "help" :-)
Hmm... you bring up a good point.

If it were a PanelTrait, you'd be able to change a view:

from the CrudController (or anything that extends it);
from the CrudPanel (or anything that extends it);

This should be more future-proof, if in time we decide to have CrudPanel methods that change views.

Plus, I think it's more intuitive to have the syntax the same with all other methods (as you said above):

-$this->setShowView('your-view'); // will be fairly new, as we don't have any other methods on $this
+$this->crud->setShowView('your-view'); // would feel familiar, I think

Going to merge this soon. Awesome feature for 3.2. Thinking out loud here:
(1) I like $this->crud->setShowView() better than $this->setShowView(). Fits in nicely with the coming Facade, when it would be CRUD::setShowView();
(2) By now, we have a few operations that the CRUD takes care of:

C: create
R: list, show, details_row, revisions
U: edit, reorder
D: delete

Each of them has a view (except delete). So for consistency, we could

create a syntax similar to $this->crud->allowAccess() and $this->crud->addButton(), so basically $this->crud->setView('create', 'some_view'); this does not necessarily exclude the detailed methods @OwenMelbz created, but:

I imagine it's easier to remember this one method instead of all of them;
I think it would make for cleaner code when you overwrite more than 2-3 views;

make sure we have consistent names for each operation (create vs insert, edit vs update, show vs preview, destroy vs delete), across all traits (Access, Buttons, Views); or intelligent matching when the wrong operation name has been used;

Changed the following:

moved the trait to CrudPanel instead of CrudController, for API syntax consistency;
added alias for edit view (update);
added alias for show view (preview);
added revisions_timeline view getter and setter;
did NOT adopt the $this->crud->setView('create', 'some_view') syntax;

Awesome PR again, @OwenMelbz , thanks a lot.
Merged into 3.2!


RBAC role API ambiguous description for path parameter name_or_id

Where is the problem?
https://docs.konghq.com/gateway/3.1.x/admin-api/rbac/reference/#add-a-user-to-a-role
What happened?
For below APIs,

Add a User to a Role
List a User’s Roles
Delete a Role from a User
List a User’s Permissions

The path parameter name_or_id should have been the user name or UUID where as the documentation says its the role name or UUID. Kindly help to check and fix the issue.
What did you expect to happen?
The path parameter name_or_id should have been the user name or UUID where as the documentation says its the role name or UUID. Kindly help to check and fix the issue.
Code of Conduct and Community Expectations

[X] I agree to follow this project's Code of Conduct
[X] I agree to abide by the Community Expectations

@Kong/gateway-moderators Could someone verify that the description for name_or_id should be "The RBAC username or UUID." ?

@cloudjumpercat My apologies for our delay on this. Nice catch; the docs are indeed incorrect. All of the following need updating:

https://docs.konghq.com/gateway/3.1.x/admin-api/rbac/reference/#add-a-user-to-a-role
https://docs.konghq.com/gateway/3.1.x/admin-api/rbac/reference/#list-a-users-roles
https://docs.konghq.com/gateway/3.1.x/admin-api/rbac/reference/#delete-a-role-from-a-user

I would suggest "The RBAC user name or UUID." - ie, "user name" rather than "username" since the field itself is name.
Thank you @anand206 for reporting this issue.


Fix add worker when using an internal registry

Fixes #271
Cleaned up the add worker code and fixed the bug.

Nice LGTM


ejabberd: 20.12 -> 21.04

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

It appears that the license for this should be gpl2Plus according to the files' license headers; oddly, though, there are a few (such as src/mod_mqtt_ws.erl) that claim to be apache v2...

[nix-shell:~/.cache/nixpkgs-review/pr-122569]$ results/ejabberd/bin/iex
/nix/store/a94napnlmxxvlsvycqf0ynnd6w0igrbq-ejabberd-21.04/bin/elixir: line 126: exec: erl: not found

I'm getting this if I try to run iex or mix binaries... presumably those scripts should have their ERL_EXEC="erl" lines patched.


[BUG]tests are failing.

Description

In which platform does it happen?

How do we replicate the issue?

Expected behavior (i.e. solution)

Other Comments

several issues going on here

master cpu is failing due to the nni smac issue @anargyri are you ok pushing the current staging solution to this to master? or are there changes we should make to the nni notebook?

master gpu is failing due to metrics discrepancy with xdeepfm - could be something we can fix with setting seeds, @loomlike is this something you have time to look into?

staging failures seem to be a temporary hiccup connecting to git. i queued them to rerun, so hopefully those will be fixed shortly

I agree we should push staging until NNI fix the issue.

SAR issue is fixed. We still need to fix the issue with NNI https://github.com/microsoft/recommenders/issues/746
@loomlike I think you have a fix for the xdeepfm right? is this already in staging?

addressing the staging nni failure in #781

Will take a look at xDeepFM one.

Is xDeepFM test still failing? If so, please give me more context, i.e. would be nice to know specific test function names that fail. I don't see them from my machine or PRs.

I haven't seen it failing for a while, but not sure


Difference between features

Question
Is there any difference between the features below from TODO list we have in README file?

[X] Allow enabling/disabling/configuring state-icon
[ ] Allow defining, per entity, if it should be an icon or label, and save
that persistently

Additional context
I would like to keep improving this project, so more clear idea of that those features mean would help very much.

Who knows what I was thinking... I saw that too earlier but figured I'd fix it along with another commit.
The second one (along with the "configuring" part of the first) was done in #62  and the enabling/disabling (which is basically allowing to hide the icon) was done in #65. They're both completed now.

Hahahahaha sounds fair, thanks then!


bug: future search dialog box iOS: filter doesn't change list

Examples of future search with a dialog box on iOS are affected by a bug.
Selection of a filter doesn't refresh the list.
Selection of an order refreshes the list and takes the previously selected filter into consideration.
All works fine in a menu, not in a dialog box.

Fixed as version 2.0.7


Modified test cases

@njagadish @pkharat

Changes look fine. @hiteshhapani - Please raise a different PR with same changes on nfp-integration branch also.


plugin cache / hf detector cache

how to handle post-instantiation param changes?
_reset method in HFDetector to be used when loaded from cache?

Consider closing based on #768

Plugin cache complete in #768
HF detectors not heavy enough to be worth re-using instead of re-instantiating right now


Code cleaning - rcmdcheck

Make updates so rcmdcheck::rcmdcheck() does not show any errors or warnings

Closed with commit https://github.com/Roche/flexsurvPlus/commit/5a872db43f90e14599b59d66ed13cc60611cf8b7


Text Annotation Extraction Doesn't Supports Breaking lines in Copy and Paste

Attach (recommended) or Link to PDF file here: https://mozilla.github.io/pdf.js/web/viewer.html
Configuration:

Web browser and its version: Chrome Version 120.0.6099.216 (Official Build) (64-bit)
PDF.js version: v4.0.379
Is a browser extension: No

Steps to reproduce the problem:

Create a text annotation.
Copy and paste a long paragraph with line breaks.
Save the document.

What is the expected behavior? (add screenshot)
]

What went wrong? (add screenshot)

Provide some details about this:
The extracting method of text annotation in src/display/editor/freetext.js is not so good:
  #extractText() {
    const divs = this.editorDiv.getElementsByTagName("div");
    if (divs.length === 0) {
      return this.editorDiv.innerText;
    }
    const buffer = [];
    for (const div of divs) {
      buffer.push(div.innerText.replace(/\r\n?|\n/, ""));
    }
    return buffer.join("\n");
  }

This will not only lead to the losing first line bug in other browsers, but also make only text input using keyboard available. Maybe here you can add some formatting based on the width of the text annotation. On pasting, making it only paste text content but no fonts and other styles is also a good idea.
By the way, please add flattening function to make it possible to add annotations to the PDF as text content.

This function from pdf-lib(https://github.com/Hopding/pdf-lib/) may fit this problem:
const layoutMultilineText = (
  text: string,
  { alignment, fontSize, font, bounds }: LayoutTextOptions,
): MultilineTextLayout => {
  const lines = lineSplit(cleanText(text));

  if (fontSize === undefined || fontSize === 0) {
    fontSize = computeFontSize(lines, font, bounds, true);
  }
  const height = font.heightAtSize(fontSize);
  const lineHeight = height + height * 0.2;

  const textLines: TextPosition[] = [];

  let minX = bounds.x;
  let minY = bounds.y;
  let maxX = bounds.x + bounds.width;
  let maxY = bounds.y + bounds.height;

  let y = bounds.y + bounds.height;
  for (let idx = 0, len = lines.length; idx < len; idx++) {
    let prevRemainder: string | undefined = lines[idx];
    while (prevRemainder !== undefined) {
      const { line, encoded, width, remainder } = splitOutLines(
        prevRemainder,
        bounds.width,
        font,
        fontSize,
      );

      // prettier-ignore
      const x = (
          alignment === TextAlignment.Left   ? bounds.x
        : alignment === TextAlignment.Center ? bounds.x + (bounds.width / 2) - (width / 2)
        : alignment === TextAlignment.Right  ? bounds.x + bounds.width - width
        : bounds.x
      );

      y -= lineHeight;

      if (x < minX) minX = x;
      if (y < minY) minY = y;
      if (x + width > maxX) maxX = x + width;
      if (y + height > maxY) maxY = y + height;

      textLines.push({ text: line, encoded, width, height, x, y });

      // Only trim lines that we had to split ourselves. So we won't trim lines
      // that the user provided themselves with whitespace.
      prevRemainder = remainder?.trim();
    }
  }

Dependence:
const lineSplit = (text: string) => text.split(/[\n\f\r\u000B]/);
and
const splitOutLines = (
  input: string,
  maxWidth: number,
  font: PDFFont,
  fontSize: number,
) => {
  let lastWhitespaceIdx = input.length;
  while (lastWhitespaceIdx > 0) {
    const line = input.substring(0, lastWhitespaceIdx);
    const encoded = font.encodeText(line);
    const width = font.widthOfTextAtSize(line, fontSize);
    if (width < maxWidth) {
      const remainder = input.substring(lastWhitespaceIdx) || undefined;
      return { line, encoded, width, remainder };
    }
    lastWhitespaceIdx = lastIndexOfWhitespace(line) ?? 0;
  }

Steps to reproduce the problem:

Create a text annotation.
Copy and paste a long paragraph with line breaks.
Save the document.

WFM, when testing in both Firefox Nightly 123.0a1 and Chrome Beta 121.0.6167.57 on Windows 11 and pasting the following text into a new FreeText-annotation:
Lorem ipsum dolor sit amet,
consectetur adipiscing elit,
sed do eiusmod tempor incididunt
ut labore et dolore magna aliqua.

Since you only included a screen-shot, but not the actual text that you tried to paste, this issue is unfortunately lacking crucial information needed for it to be actionable/valid.

Sorry for that.
If you copy these text from my issue here to make a text annotation, this will happen in Chrome.

The reason why your text is not affected is that it is manually broken into lines.
Like this code:
#extractText() {
    const divs = this.editorDiv.getElementsByTagName("div");
    if (divs.length === 0) {
      return this.editorDiv.innerText;
    }
    const buffer = [];
    for (const div of divs) {
      buffer.push(div.innerText.replace(/\r\n?|\n/, ""));
    }
    return buffer.join("\n");
  }

The divs.length  === 0 is true and it will return the inner text which has line breaks when there is a '\'. But at least when I am using window 11 system and Chrome browser, copying something in the webpage and pasting will lead to the inner HTML and inner text to be like this:

The line break happens only because of the span has the text-wrap of 'warp' in its style. And when it is serialized to be rendered on the pdf, the code only extracts it's inner text because it has no inner div.

Maybe here you can add some formatting based on the width of the text annotation. On pasting, making it only paste text content but no fonts and other styles is also a good idea.

This is what I think can be done to fix this. Also you can consider that not manually doing line breaks is the user's fault and this is not a bug of the text annotations.

Also you can consider that not manually doing line breaks is the user's fault and this is not a bug of the text annotations.

As far as I'm concerned, this seems like a reasonable conclusion.


Add project images in readme

Can I add project images to the readme.md file?
If yes, please assign this issue to me, I would like to work on this issue.

I want to work on this issue under JWOC

I don't think we need it as we already have very detailed readme which contains all the env setup steps


Deploy: deploySubpath for each app service

Feature Enhancement request
Does this occur consistently? YES
Repro steps:

Create 2 angular apps in a folder and publish. Requires appService.deploySubpath to be set to publish.
publish to second site requires changing the appService.deploySubpath.
Move/add deploySubPath to each app service

Version: 0.23.0
OS: win32
OS Release: 10.0.19043
Product: Visual Studio Code
Product Version: 1.59.1
Language: en

Angular project with 2 sites.
Parent Folder
API
WebSite
Site a
Dist <= Deploy from here
Src
app
Site b
Dist <= Deploy from here
src
app
new behaviour: Each App Service will have its own DeploySubPath instead of a single DeploySubPath for the extension.
Thanks
From: Eric Jizba @.>
Sent: Saturday, 4 September 2021 4:50 am
To: microsoft/vscode-azureappservice @.>
Cc: drwebmonkey @.>; Author @.>
Subject: Re: [microsoft/vscode-azureappservice] Deploy: deploySubpath for each app service (#2130)
Can you give an example of your folder structure with the 2 apps? And what you would like the new behavior to be?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode-azureappservice/issues/2130#issuecomment-912674664, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACSMU27NUJ7QMZMXK7ZBLTTUAD4FJANCNFSM5DHTLLWQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

This issue has become stale and is at risk of being closed. The community has 60 days to upvote the issue. If it receives 5 upvotes we will keep it open and take another look. If not, we will close it. To learn more about how we handle issues, please see our documentation.
Happy Coding!

This feature request is now a candidate for our backlog. The community has 240 days to upvote the issue. If it receives 5 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This issue has become stale and is at risk of being closed. The community has 60 days to upvote the issue. If it receives 5 upvotes we will keep it open and take another look. If not, we will close it. To learn more about how we handle issues, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this issue has received less than 5 community upvotes and we closed it. Still a big Thank You to you for taking the time to create it! To learn more about how we handle issues, please see our documentation.
Happy Coding!


Bug - On dev branch - ubuntu 20 - open / save file modal will freeze and crash app

This is a bug
Using Tauri with patched Tao (latest dev branch) on ubuntu 20.10.
Trying to open a file modal (to open or save) will try to open something - it shows in the task bar - but no window is actually drawn to the screen. It hangs and eventually crash : "App is not responding / Force quit / Wait"

Thanks for reporting.
We'll do our tests and keep you updated.

Just wanted to add that I just tried it on macos - no issue. I'll test on windows too.

Should be a Linux-only issue. I'll help track this.

The problem started after #68, ControlFlow::Wait and ControlFlow::Poll are not working. I guess we'll need your help here @wusyong

Sure, I can look into it. Is there an example (on tao) I could test?

Not really, we just run "cargo run --bin api" on the tauri repo and open the dialog tab.

Okay, I can confirm this is because of the new control flow since it now also runs on the main loop aside with gtk::main_iteration.
Unfortunately, I don't think we could change the implementation. Because it is the only way to work with all control flow and many other event variants afaik.
The workaround I think could spawn a glib task (Maincontext::spawn or invoke) when calling dialog.
Sine tao already pushes the thread default into the Maincontext, you should be able to get the Maincontext and use it right away.
let context = glib::MainContext::default();
context.invoke(|| {...});

Hi, any progress on this ? Should this issue be moved to tauri repo ?

Hi, any progress on this ? Should this issue be moved to tauri repo ?

Let's see what @lucasfernog has to say about that.

Okay, I can confirm this is because of the new control flow since it now also runs on the main loop aside with gtk::main_iteration.
Unfortunately, I don't think we could change the implementation. Because it is the only way to work with all control flow and many other event variants afaik.
The workaround I think could spawn a glib task (Maincontext::spawn or invoke) when calling dialog.
Sine tao already pushes the thread default into the Maincontext, you should be able to get the Maincontext and use it right away.
let context = glib::MainContext::default();
context.invoke(|| {...});

Tried to test if it can work by patching the message in Tauri, and I still got the same issue;
(disabling rfd work, so the issue comes from there)
  let context = glib::MainContext::default();
  context.invoke(move || {
    rfd::MessageDialog::new()
    .set_title(title.as_ref())
    .set_description(message.as_ref())
    .set_buttons(rfd::MessageButtons::Ok)
    .set_level(rfd::MessageLevel::Info)
    .show();
  });

I'll check rfd how they work...


install old version

what is the command to install an older version?
I have an error with this command: sudo pip install django-shibboleth-remoteuser-kennydude == 0.4
Could not find a version that satisfies the requirement django-shibboleth-remoteuser-kennydude == 0.4 (from versions: 0.5.macosx-10.11-intel, 0.6, 0.6.1, 0.6.2)
I connect to a server in ssh.

@leslie971 Looks like you are using a fork of this package, not this one. Please see https://pypi.org/project/django-shibboleth-remoteuser-kennydude/ and contact kennydude for help.


Send notification to Raygun when deployment is finished

the deploy can (depending on your tasks) still fail between 'published' and 'finished'

why is this not beieng merged?

Hi Dennis,
Sorry about this! I didn't realise Github doesn't automatically watch repositories that you create under an organization so I wasn't getting any notifications. I'll merge this and release it today.


err: open repo: repository does not exist

On macOS:
> aicommit -d
err: open repo: repository does not exist

Not sure what I've done wrong.

Are you running the command from a git repo? i.e. does your current working directory have a .git directory?

No, I wasn't in the root. That fixed it.
Unrelated, but I have a key but have no idea how to make the model available.
err: error, status code: 404, message: The model `gpt-4o` does not exist or you do not have access to it

That's weird. Anyways I added support for changing the model here https://github.com/coder/aicommit/commit/16e0b9a4f969d04bbc64e87054762a1fd4cff2fe and tagged a new release, so binaries will be available shortly.


fleet: add wait command, code refactor & update tests

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify src/index.json.

fleet


Consider babel plugin transformations

If a babel-plugin transforms code, type check the output of that plugin instead of original source.
example: babel-plugin-transform-js-macros

Duplicate of #1515


OpenZepplin-Solidity tests fail after the State Trie and VM refactor

Even with the fix in https://github.com/trufflesuite/ganache-core/commit/4a641cddde21779421a09407aa6b3f34f0dfbc97 openzeppelin-solidity tests as of commit https://github.com/OpenZeppelin/openzeppelin-solidity/tree/70e616db7c2bcce9d3a3fbbab83b7fe64a54fcd1 fail.
Original refactor commit: https://github.com/trufflesuite/ganache-core/commit/56153af1eefba36d1221e55cc060aba49728c2de
1891 passing (6m)
  1 pending
  2 failing

  1) Contract: balanceDifference
       returns balance increments:

      AssertionError: expected '422589324399999999999' to equal '1000000000000000000'
      + expected - actual

      -422589324399999999999
      +1000000000000000000

      at Context.<anonymous> (test/helpers/test/balanceDifference.test.js:14:27)
      at process._tickCallback (internal/process/next_tick.js:68:7)

Hey, @nventuro from OpenZeppelin here, trying to fix that very same test while migrating to truffle 5. Does this issue being open mean the error was not fixed in the 2.3.2 release? Thanks!

I've updated openzeppelin-test-helpers (where this functionality has been extracted to) to use ganache-core 2.3.3 (via ganache-cli 6.2.5), which made that very same test pass, so I think this can be closed.

Thanks @nventuro for following up on this. I'm going to keep this open until we can open until we can look into https://github.com/trufflesuite/ganache-core/commit/56153af1eefba36d1221e55cc060aba49728c2de a bit further to see what originally went wrong in that commit and then file an appropriate issue for that when we do.


Shell command doesn't work

I'm going through tutorial and bumped into troubles when trying to call command from shell:
weppy --app bloggy.py setup
I get response message:
Usage: weppy [OPTIONS] COMMAND [ARGS]...

Error: No such command "setup".

My bloggy.py file content: https://pastebin.com/9eP3Hqec

@kdebowski custom commands are loaded from the application module, so, usually, when they don't show up it means there's something wrong with your application.
Probably if you open up a shell, it will show you the error with its traceback:
weppy --app bloggy.py shell

@gi0baro thanks! I had some bad indentation. Everything works fine.
Just to mention there some inconsistency in documentation:
On tutorial page (http://weppy.org/docs/1.2/tutorial) the syntax to run command is:
> weppy --app bloggy.py setup
On page (http://weppy.org/docs/1.2/cli) the syntax is:
> weppy --app=myapp setup.
As I can see both works.

@kdebowski there's no difference. But thank you for spotting the difference, I will unify the notation.
I'm closing this, feel free to reopen it if you still have issues.


Can not show the preloader before iframe

I am using Magnific popup iframe and everythings working fine ,I can not show the preloader before iframe content loaded ,,,

Still not working...Facing same bug


Preparing editable metadata (pyproject.toml) ... error

I'm encountering an error during the installation of the package.
Error message:
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Preparing editable metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing editable metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [40 lines of output]

Cause:
The issue seems to be a result of an update in the Hatchling package.
Workaround:
A temporary workaround is to use Hatchling version 1.18.0. This can be achieved by adding the following line to the pyproject.toml file:
[build-system]
requires = ["hatchling==1.18.0"]

The error appears both on my system (Python 3.9.16, Ubuntu 22.04.3 LTS) and trying to run the Getting Started Notebook on Colab.

thanks for opening this and giving the quick fix. I don't really understand what hatchling does not like about our pyproject, and used your quick fix to fix: so it is fixed now :)
Thanks again!


Convert templates to “compound” tags

Building on the ideas of KyoriPowered/adventure-text-minimessage#178 & KyoriPowered/adventure-text-minimessage#179 , this will greatly enhance the flexibility of templates.
new syntax for templates:
<template>text with "bleeded" styles of template</template>regular text
In essence, a template is no longer a string that is replaced, but a full tag.
Unlike a simple <red>, however, a template can contain its own styles, text, click events, translations, or even templates inside it.
i.e.: if <template> was defined as <red><bold>Prefix</bold>,
The first example would be equivalent to writing out:
<red><bold>Prefix</bold>text with "bleeded" styles of template</red> regular text
As previously stated, this greatly expands the flexibility of templates and improves minimesaage overall

This should be fixed by #672


are the files wrong/incomplete?

not sure if this is a joke or error...
but regardless cannot open transformer.xslx anywhere, tried:
onedrive
dropbox
google sheets
libre office
can't recall last time had an issue opening xslx in google sheets.
it appears msft no longer supports excel viewer.
however msft's official recommendation is either one drive or dropbox, neither of which displayed anything.
in one-drive/dropbox it kind of looks like an error/bad file.
in sheets/libre it kind of looks like wrong content- just appears to be a text copy/paste of the this project's github page.
some screenshots below

I can't reproduce this error.
I tried local Excel and it loaded correctly.
I tried Google Drive that seems to load the file correctly.
Nevertheless, I uploaded a resaved version. Please try again.

thanks- new upload fixed it!
now can open in both libreoffice and google sheets.
thx again


Update readme.md

Suggested edits for readability and clarity.

Excellent, thanks a lot @dpdiest !


Errors in multiple domains configuration

Following the instructions to setup a multiple domains for my projects, I display the error:
WARNING: The WARDEN_ENV_NAME variable is not set. Defaulting to a blank string.
WARNING: The TRAEFIK_DOMAIN variable is not set. Defaulting to a blank string.
WARNING: The WARDEN_ENV_TYPE variable is not set. Defaulting to a blank string.
ERROR: for php-fpm  Cannot create container for service php-fpm: bad format for add-host
I created the .warden/warden-env.yml file based on the example here
https://docs.warden.dev/configuration/multipledomains.html

What does your .env file at your project rool look like? Each of the variables referenced in the above should be defined in the .env. Sounds like something got messed up in there.
If nothing in .env stands out, could you let me know what versions of Docker, Docker Compose (this is where the warnings above are coming from), Warden, etc are you using here?

This is the .env file:
WARDEN_ENV_NAME=XXXXXXXX
WARDEN_ENV_TYPE=magento2
WARDEN_WEB_ROOT=/
TRAEFIK_DOMAIN=XXXXXXXX.test
TRAEFIK_SUBDOMAIN=app
BYPASS_VARNISH=false
ELASTICSEARCH_VERSION=6.8
MARIADB_VERSION=10.3
NODE_VERSION=10
PHP_VERSION=7.3
RABBITMQ_VERSION=3.7
REDIS_VERSION=5.0
VARNISH_VERSION=6.0
WARDEN_SELENIUM=0
WARDEN_SELENIUM_DEBUG=0
WARDEN_BLACKFIRE=0
You can see that the variables are defined.
I'm using warden 0.3.1, Docker version 18.09.3, build 774a1f4, docker-compose version 1.21.0, build unknown

The warden/warden-env.yml file now works fine, after I updated the docker-compose to 1.25.4 version.


Add Ann. Inst. Fourier

According to our list at https://github.com/JabRef/abbrv.jabref.org/blob/main/journals/README.md, this file is auto-generated by a python script. Contributed 4.5 years ago at https://github.com/JabRef/abbrv.jabref.org/pull/20 - and still in use.
I let the generation run - and no updates happened: https://github.com/JabRef/abbrv.jabref.org/actions/runs/4814199404/jobs/8571612064
You can add it to https://github.com/JabRef/abbrv.jabref.org/blob/main/journals/journal_abbreviations_general.csv, if you cannot convince MathSciNet to include that journal.


Adds failing test for cached prop in wrapper

It seems that when root.update() is called, any child wrappers that have already been constructed maintain a cached version of their props.

This is intended behavior in v3.


User profile

Done

Finished styling the user profile,
created edit-profile / edit-account routes and components

wip

styling on edit-profile and edit-account components
handle data flow for my activity in user profile

Completed

Changed most inline styling to styled Components
Created edit-profile / edit-account routes and components
Finished edit profile styling
Finished account info styling

wip

form validations
user profile comments sections

@CeesWang Hi Chen, can you resolve the merge conflicts?

@CeesWang Please resolve the merge conflicts.

Merge conflicts should be resolved let me know if there's anything else


[Help wanted] Can not build the project

Description
Hi guys, I am experiencing an issue with simply building the project:

I've pulled https://github.com/RocketChat/Rocket.Chat.Android and https://github.com/RocketChat/Rocket.Chat.Kotlin.SDK into the same folder
I've went into /app and ran the ./build-sdk.sh
It errors out with

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/berman/projects/android-company-chat/Rocket.Chat.Kotlin.SDK/common/build.gradle' line: 9

* What went wrong:
A problem occurred evaluating project ':common'.
> Failed to apply plugin [id 'org.jetbrains.dokka']
   > Could not generate a proxy class for class org.jetbrains.dokka.gradle.DokkaTask.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

I am pretty new to Android development so I just don't know which direction I should be looking towards to solve this. For some reason, I wasn't able to find an answer on Google or anywhere. :(
So I was just trying random things, such as checking out to different tags and branches in both repos to see if it would work. And when I checked out to master from develop I believe it worked once (and never after, so I can't confirm what I did exactly that time).
When I went back to Android Studio and tried to build the chat itself it gives following errors:

It does not matter if building Kotlin SDK worked or not, it still gives the same error.
Could you guys advice what I may be doing wrong? Or in which direction I should be looking. I can provide more info, I really need to get this running 😃🚀
Devices and Versions
Macbook Pro Retina 13"
Android Studio 3.1.2
Rocket.Chat.Android version: f3e08765
Rocket.Chat Server version: N/A
Logs
The log when I click Rocket.Chat.Android/Tasks/build/build in Gradle projects menu in Android Studio:
10:23:14 PM: Executing task 'build'...

Executing tasks: [build]

registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Could not find google-services.json while looking in [src/nullnull/debug, src/debug/nullnull, src/nullnull, src/debug, src/nullnullDebug]
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Could not find google-services.json while looking in [src/nullnull/release, src/release/nullnull, src/nullnull, src/release, src/nullnullRelease]
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
:app:compileSdk
CURRENT DIR: /Users/berman/projects/android-company-chat/Rocket.Chat.Android/app
SDK DIR: /Users/berman/projects/android-company-chat/Rocket.Chat.Kotlin.SDK
CURRENT SHA: e19e551
not dirty
same hash as before e19e551 = e19e551

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/berman/projects/android-company-chat/Rocket.Chat.Kotlin.SDK/common/build.gradle' line: 9

* What went wrong:
A problem occurred evaluating project ':common'.
> Failed to apply plugin [id 'org.jetbrains.dokka']
   > Could not generate a proxy class for class org.jetbrains.dokka.gradle.DokkaTask.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/berman/projects/android-company-chat/Rocket.Chat.Kotlin.SDK/common/build.gradle' line: 9

* What went wrong:
A problem occurred evaluating project ':common'.
> Failed to apply plugin [id 'org.jetbrains.dokka']
   > Could not generate a proxy class for class org.jetbrains.dokka.gradle.DokkaTask.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
rm: /Users/berman/projects/android-company-chat/Rocket.Chat.Android/app/libs/common*: No such file or directory
rm: /Users/berman/projects/android-company-chat/Rocket.Chat.Android/app/libs/core*: No such file or directory
cp: /Users/berman/projects/android-company-chat/Rocket.Chat.Kotlin.SDK/common/build/libs/common-0.1-SNAPSHOT.jar: No such file or directory
cp: /Users/berman/projects/android-company-chat/Rocket.Chat.Kotlin.SDK/core/build/libs/core-0.1-SNAPSHOT.jar: No such file or directory
:app:preBuild
:player:preBuild UP-TO-DATE
:player:preDebugBuild UP-TO-DATE
:player:checkDebugManifest UP-TO-DATE
:player:processDebugManifest UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:player:compileDebugAidl UP-TO-DATE
:app:compileDebugAidl UP-TO-DATE
:player:packageDebugRenderscript NO-SOURCE
:app:compileDebugRenderscript UP-TO-DATE
:app:checkDebugManifest UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:mainApkListPersistenceDebug UP-TO-DATE
:app:mergeDebugShaders UP-TO-DATE
:app:compileDebugShaders UP-TO-DATE
:app:generateDebugAssets UP-TO-DATE
:player:mergeDebugShaders UP-TO-DATE
:player:compileDebugShaders UP-TO-DATE
:player:generateDebugAssets UP-TO-DATE
:player:packageDebugAssets UP-TO-DATE
:app:mergeDebugAssets UP-TO-DATE
:app:processDebugGoogleServices
Parsing json file: /Users/berman/projects/android-company-chat/Rocket.Chat.Android/app/google-services.json
:app:createDebugCompatibleScreenManifests UP-TO-DATE
:app:processDebugManifest
:app:fabricGenerateResourcesDebug
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:player:compileDebugRenderscript UP-TO-DATE
:player:generateDebugResValues UP-TO-DATE
:player:generateDebugResources UP-TO-DATE
:player:packageDebugResources UP-TO-DATE
:app:mergeDebugResources
:app:splitsDiscoveryTaskDebug UP-TO-DATE
:player:platformAttrExtractor UP-TO-DATE
:player:generateDebugRFile UP-TO-DATE
:app:processDebugResources
:player:generateDebugBuildConfig UP-TO-DATE
:player:compileDebugKotlin UP-TO-DATE
:player:prepareLintJar UP-TO-DATE
:player:generateDebugSources UP-TO-DATE
:player:javaPreCompileDebug UP-TO-DATE
:player:compileDebugJavaWithJavac UP-TO-DATE
:player:processDebugJavaRes NO-SOURCE
:player:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE
:app:kaptGenerateStubsDebugKotlin
w: /Users/berman/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jre7/1.2.41/9e7a6f582de73d9cdc6c56ef4e23604a0ee55768/kotlin-stdlib-jre7-1.2.41.jar: kotlin-stdlib-jre7 is deprecated. Please use kotlin-stdlib-jdk7 instead
w: /Users/berman/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jre8/1.2.41/7b389de81710eb609752953f38ad6e7de2927292/kotlin-stdlib-jre8-1.2.41.jar: kotlin-stdlib-jre8 is deprecated. Please use kotlin-stdlib-jdk8 instead
:app:kaptDebugKotlin
w: Note: Version 5.1.0 of Realm is now available: https://static.realm.io/downloads/java/latest
w: /Users/berman/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jre7/1.2.41/9e7a6f582de73d9cdc6c56ef4e23604a0ee55768/kotlin-stdlib-jre7-1.2.41.jar: kotlin-stdlib-jre7 is deprecated. Please use kotlin-stdlib-jdk7 instead
w: /Users/berman/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jre8/1.2.41/7b389de81710eb609752953f38ad6e7de2927292/kotlin-stdlib-jre8-1.2.41.jar: kotlin-stdlib-jre8 is deprecated. Please use kotlin-stdlib-jdk8 instead
w: Note: Processing module RocketChatLibraryModule
w: Note: Processing module RocketChatServerModule
w: Note: Processing class RealmEmail
w: Note: Processing class RealmSession
w: Note: Processing class RealmUser
w: Note: Processing class RealmPreferences
w: Note: Processing class RealmPublicSetting
w: Note: Processing class RealmBasedServerInfo
w: Note: Processing class RealmSettings
w: warning: Supported source version 'RELEASE_7' from annotation processor 'org.jetbrains.kotlin.kapt3.ProcessorWrapper' less than -source '1.8'
e: /Users/berman/projects/android-company-chat/Rocket.Chat.Android/app/build/tmp/kapt3/stubs/debug/chat/rocket/android/chatroom/presentation/ChatRoomPresenter.java:15: error: State is not public in kotlin.collections; cannot be accessed from outside package
    private final kotlinx.coroutines.experimental.channels.Channel<kotlin.collections.State> stateChannel = null;
                                                                                ^
e: /Users/berman/projects/android-company-chat/Rocket.Chat.Android/app/build/tmp/kapt3/stubs/debug/chat/rocket/android/chatroom/presentation/ChatRoomPresenter.java:17: error: State is not public in kotlin.collections; cannot be accessed from outside package
    private kotlin.collections.State lastState;
                              ^
e: /Users/berman/projects/android-company-chat/Rocket.Chat.Android/app/build/tmp/kapt3/stubs/debug/chat/rocket/android/server/infraestructure/ConnectionManager.java:7: error: State is not public in kotlin.collections; cannot be accessed from outside package
    private final java.util.concurrent.CopyOnWriteArrayList<kotlinx.coroutines.experimental.channels.Channel<kotlin.collections.State>> statusChannelList = null;
                                                                                ^
e: /Users/berman/projects/android-company-chat/Rocket.Chat.Android/app/build/tmp/kapt3/stubs/debug/chat/rocket/android/server/infraestructure/ConnectionManager.java:8: error: State is not public in kotlin.collections; cannot be accessed from outside package
    private final kotlinx.coroutines.experimental.channels.Channel<kotlin.collections.State> statusChannel = null;
                                                                                ^
e: /Users/berman/projects/android-company-chat/Rocket.Chat.Android/app/build/tmp/kapt3/stubs/debug/chat/rocket/android/server/infraestructure/ConnectionManager.java:32: error: State is not public in kotlin.collections; cannot be accessed from outside package
    kotlinx.coroutines.experimental.channels.Channel<kotlin.collections.State> channel) {
                                                                       ^
e: /Users/berman/projects/android-company-chat/Rocket.Chat.Android/app/build/tmp/kapt3/stubs/debug/chat/rocket/android/server/infraestructure/ConnectionManager.java:37: error: State is not public in kotlin.collections; cannot be accessed from outside package
    kotlinx.coroutines.experimental.channels.Channel<kotlin.collections.State> channel) {
                                                                       ^
e: /Users/berman/projects/android-company-chat/Rocket.Chat.Android/app/build/tmp/kapt3/stubs/debug/chat/rocket/android/chatroom/presentation/ChatRoomView.java:127: error: State is not public in kotlin.collections; cannot be accessed from outside package
    kotlin.collections.State state);
                      ^
e: /Users/berman/projects/android-company-chat/Rocket.Chat.Android/app/build/tmp/kapt3/stubs/debug/chat/rocket/android/chatrooms/ui/ChatRoomsFragment.java:141: error: State is not public in kotlin.collections; cannot be accessed from outside package
    kotlin.collections.State state) {
                      ^
e: /Users/berman/projects/android-company-chat/Rocket.Chat.Android/app/build/tmp/kapt3/stubs/debug/chat/rocket/android/chatrooms/presentation/ChatRoomsView.java:24: error: State is not public in kotlin.collections; cannot be accessed from outside package
    kotlin.collections.State state);
                      ^
e: /Users/berman/projects/android-company-chat/Rocket.Chat.Android/app/build/tmp/kapt3/stubs/debug/chat/rocket/android/chatrooms/presentation/ChatRoomsPresenter.java:12: error: State is not public in kotlin.collections; cannot be accessed from outside package
    private final kotlinx.coroutines.experimental.channels.Channel<kotlin.collections.State> stateChannel = null;
                                                                                ^
e: /Users/berman/projects/android-company-chat/Rocket.Chat.Android/app/build/tmp/kapt3/stubs/debug/chat/rocket/android/chatrooms/presentation/ChatRoomsPresenter.java:15: error: State is not public in kotlin.collections; cannot be accessed from outside package
    private kotlin.collections.State lastState;
                              ^
e: /Users/berman/projects/android-company-chat/Rocket.Chat.Android/app/build/tmp/kapt3/stubs/debug/chat/rocket/android/server/infraestructure/ConnectionManagerKt.java:16: error: State is not public in kotlin.collections; cannot be accessed from outside package
    public static final kotlin.collections.State getState(@org.jetbrains.annotations.NotNull()
                                          ^
e: /Users/berman/projects/android-company-chat/Rocket.Chat.Android/app/build/tmp/kapt3/stubs/debug/chat/rocket/android/chatroom/ui/ChatRoomFragment.java:278: error: State is not public in kotlin.collections; cannot be accessed from outside package
    kotlin.collections.State state) {
                      ^
e: /Users/berman/projects/android-company-chat/Rocket.Chat.Android/app/build/tmp/kapt3/stubs/debug/chat/rocket/android/chatrooms/ui/ChatRoomsFragment.java:6: error: [ComponentProcessor:MiscError] dagger.internal.codegen.ComponentProcessor was unable to process this class because not all of its dependencies could be resolved. Check for compilation errors or a circular dependency with generated code.
public final class ChatRoomsFragment extends android.support.v4.app.Fragment implements chat.rocket.android.chatrooms.presentation.ChatRoomsView {
             ^
e: /Users/berman/projects/android-company-chat/Rocket.Chat.Android/app/build/tmp/kapt3/stubs/debug/chat/rocket/android/chatrooms/presentation/ChatRoomsPresenter.java:6: error: [ComponentProcessor:MiscError] dagger.internal.codegen.ComponentProcessor was unable to process this class because not all of its dependencies could be resolved. Check for compilation errors or a circular dependency with generated code.
public final class ChatRoomsPresenter {
             ^
e: /Users/berman/projects/android-company-chat/Rocket.Chat.Android/app/build/tmp/kapt3/stubs/debug/chat/rocket/android/chatroom/ui/ChatRoomFragment.java:6: error: [ComponentProcessor:MiscError] dagger.internal.codegen.ComponentProcessor was unable to process this class because not all of its dependencies could be resolved. Check for compilation errors or a circular dependency with generated code.
public final class ChatRoomFragment extends android.support.v4.app.Fragment implements chat.rocket.android.chatroom.presentation.ChatRoomView, chat.rocket.android.widget.emoji.EmojiKeyboardListener, chat.rocket.android.widget.emoji.EmojiReactionListener {
             ^
e: /Users/berman/projects/android-company-chat/Rocket.Chat.Android/app/build/tmp/kapt3/stubs/debug/chat/rocket/android/chatroom/presentation/ChatRoomPresenter.java:6: error: [ComponentProcessor:MiscError] dagger.internal.codegen.ComponentProcessor was unable to process this class because not all of its dependencies could be resolved. Check for compilation errors or a circular dependency with generated code.
public final class ChatRoomPresenter {
             ^
e: /Users/berman/projects/android-company-chat/Rocket.Chat.Android/app/build/tmp/kapt3/stubs/debug/chat/rocket/android/dagger/AppComponent.java:8: error: [ComponentProcessor:MiscError] dagger.internal.codegen.ComponentProcessor was unable to process this interface because not all of its dependencies could be resolved. Check for compilation errors or a circular dependency with generated code.
public abstract interface AppComponent {
                ^
:app:kaptDebugKotlin FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:kaptDebugKotlin'.
> Compilation error. See log for more details

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 27s
37 actionable tasks: 8 executed, 29 up-to-date
10:23:43 PM: Task execution finished 'build'.

Hi,
What version of JDK do you use? Try to install JDK 8 version.

^ Installing JDK 8 from here http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html and restarting computer (omg) helped. Thank you @dachnikrus!

I am struggle with the same problem and i also installed JDK 8 in my Mac system. But problem still exist. Please help.

Can you try restarting your computer and then  click Rocket.Chat.Android/Tasks/build/build in Gradle projects menu in Android Studio

@RCuztomise can you copy paste the issue. Also make sure both the App and the SDK repos are updated to the latest develop branch

Error


Argument error in the LSTM example

I attempted to run the example in with TF LSTM model . When attempting to compute the Shapley values I get the following error:
    shap_values = explainer.shap_values(x_test[:10]) XXX\shap\explainers\_deep\__init__.py", line 124, in shap_values     return self.explainer.shap_values(X, ranked_outputs, output_rank_order, check_additivity=check_additivity)   XXX\shap\explainers\_deep\deep_tf.py", line 308, in shap_values     sample_phis = self.run(self.phi_symbolic(feature_ind), self.model_inputs, joint_input)   XXX\shap\explainers\_deep\deep_tf.py", line 365, in run     return self.execute_with_overridden_gradients(anon)   XXX\shap\explainers\_deep\deep_tf.py", line 401, in execute_with_overridden_gradients     out = f()   XXX\shap\explainers\_deep\deep_tf.py", line 358, in anon     data = X[i].reshape(shape) TypeError: 'NoneType' object cannot be interpreted as an integer
Any idea how to fix this?
Thanks!

Sorry for the very late feedback and thanks a lot for the report.
This is potentially related #3419


422 when updating metadata with empty string value

Describe the bug
The following error is given when trying to update a metadata key with an empty string value.
Value at key 'metadata': Either:
- Must be undefined or null
- Value at key 'color': Either:
  - Must be null
  - Too short. Must be at least 1 characters.

To Reproduce

Create a room and note the id.
Call POST https://api.liveblocks.io/v2/rooms/<room_id> with

{
  "metadata": {
    "color": ""
  }
}

Expected behavior
A response with a status of 200, and an updated metadata with color as "".
Context
One can delete the key from the metadata property but in my case an empty string is a valid value and I don't think Liveblocks should impose data structure limitations on the metadata object.

Any update on this @nvie

Hey @sno6, I think we forgot to circle this back to you, but we pushed a fix for this two weeks ago (on Oct 9), so you should be able to use this now without issues! 🙏


Extract taxonomy related CLI commands from the Fybrik main repository

Currently, taxonomy CLI commands are part of the main Fybrik repo. That creates several issues:

conflicts with their dependencies prevents upgrade Fybrik third-party components. And prevents resolving security alerts in these third-party components.
The main fybrik file points to these CLI commands only, which is misleading and complicates understanding Fybrik's code.

Good idea, the docker image will eliminate existing golang requirement.

The work plan:

Copy the taxonomy CLI files (main.go, cmd/,, compile/, validate/, maybe some others)  into a new repository.
Remove the import comments in structural.go, and //go:build exclude in structural.go and taxonomy_validate.go
Check that the taxonomy compile and taxonomy verify operations can work with the new repository.  Fybrik Makefile  and/or with a [custom taxonomy](a Custom Taxonomy)
Create a Docker that can be used for the taxonomy compilation, validation, similar to openapi-generator-cli , see https://github.com/OpenAPITools/openapi-generator#16---docker
Create the docker image and push it into a public repository
Update the main Fybrik repo to use the docker image, update its web pages, and remove the redundant files.

Might be helpful - some info from my attempt to generate a container (ghcr.io/shlomitk1/taxonomy-compiler:master)

Makefile target to build an executable

.PHONY: taxonomy-build
taxonomy-build:
	CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -o taxonomy_compiler main.go

Dockerfile to create the image

# Copyright 2020 IBM Corp.
# SPDX-License-Identifier: Apache-2.0
ARG image=registry.access.redhat.com/ubi8/ubi-minimal:8.6
FROM $image
ENV HOME=/tmp
WORKDIR $HOME
COPY taxonomy_compiler /
USER 10001

ENTRYPOINT ["/taxonomy_compiler"]

Test container locally in fybrik root dir
docker run --rm -u "$(id -u):$(id -g)" -v ${PWD}:/local ghcr.io/shlomitk1/taxonomy-compiler:master taxonomy compile --out /local/custom-taxonomy.json --base /local/charts/fybrik/files/taxonomy/taxonomy.json /local/samples/taxonomy/example/catalog/connection.yaml


web: rename “TRUSTED BOT” text of the badge to “VERIFIED BOT”

Acceptance criteria:

The badge next to bot usernames "TRUSTED BOT" should be renamed to "VERIFIED BOT"

I can't see any badge near the bots:

@ifaouibadi please check it

It seems that the info was not updated properly, not it's ok. LGTM


Prevent loosing focus after a char composition ended by Tab key. Fix #1341

When a char composition ends with a Tab key, after a first onKeyDown_(e) call, another one occurs with a different keycode (192) but the same timestamp and same key (Tab).
This second onKeyDown_ event cause a blur and Term loose its focus.
Notice: A breakpoint in onTextInput_ prevent this second event. Race condition ?

Really appreciate your time debugging this @chabou


Add decryption of password prior to making connection

Using 'decrypt_password' value in laravel/laravel config/database.php file.
This may not be the appropriate way to add this feature but would be useful to eliminate unencrypted passwords in logs.

Closing pull request.


Veldred worth-it to go for?

Hi Curtis,
with Big Sur the point of serious consideration has come. Our apps build with Eto are using OpenGL for the graphics and now its starting to become funny and strange with new macOS.
Just from first impression Veldred seems to be a good way to go for portable graphics on .Net for Windows, Mac, iOS and Droid.
But three years ago I thought the same with OpenGL.
You are supporting Veldred with a Eto-lib. How serious is this? What is your impression about Veldred?
Tom

@TomQv I am supporting it, yes.  Initial impressions is that it is a good alternative instead of creating your own wrappers around the various 3D toolkits for .NET, and is being updated somewhat regularly.
I'm not sure how to explain how "serious" this is though. 🤷🏻♂

@TomQv I am supporting it, yes.  Initial impressions is that it is a good alternative instead of creating your own wrappers around the various 3D toolkits for .NET, and is being updated somewhat regularly.
I'm not sure how to explain how "serious" this is though. 🤷🏻♂


Few mistakes in doc

I am dropping here some mistakes I got following getting started doc:

I didn't find any Provider from ReasonUrql module. Did you mean Context.Provider?
For Hooks.useMutation(~request, ()); it seems that extra () are causing trouble. It seems that useMutation only accept a single argument https://github.com/FormidableLabs/reason-urql/blob/4b99ef4e11f371516b53bc5b557d2872c7af0a78/src/hooks/UseMutation.rei#L22 so it should be update in all the docs
In all places I found that mention Exchanges, it's never saying that it's in Client module. Examples like https://github.com/FormidableLabs/reason-urql/blob/b751ad1f5973bf5e17f9243d5f271b2c2ecb8fb9/docs/exchanges.md#defaultexchanges should do Client.(make( instead to open Client & make Exchange available)

Hey @MoOx thanks for the suggestions! You're definitely right on these.

I didn't find any Provider from ReasonUrql module. Did you mean Context.Provider?

Yep, that's a mistake. We did a little reorganization of modules to support v2 and that was missed.

For Hooks.useMutation(~request, ()); it seems that extra () are causing trouble. It seems that useMutation only accept a single argument

Yep, correct on this one as well – do you happen to have handy where in the docs you saw this? I'll also review so we can point contributors at the right place to make changes.

In all places I found that mention Exchanges, it's never saying that it's in Client module. Examples like https://github.com/FormidableLabs/reason-urql/blob/b751ad1f5973bf5e17f9243d5f271b2c2ecb8fb9/docs/exchanges.md#defaultexchanges should do Client.(make( instead to open Client & make Exchange available)

Yep, this was again just missed in the reorg. Previously Exchanges was its own top-level module, but some recent changes force it to reference the type t from the Client module, and to avoid circular dependencies we need to colocate the modules. So your edit is correct, we just missed them when updating the docs.
If you'd like to take on making any of these docs changes we'd happily welcome contributions. I'm sporadically responding currently (off on some vacation), but can get to it next week as well. Thanks for opening the issue, very much appreciated 💯

I will try to help when I will be more confortable. I am struggling a lot for now :/

Thanks ! (back from vacations)


The auth item doesn't work when I test on Github API with Guzzle6

I am using Guzzle6 to test Github API.
But there is a problem with using auth configuration when I tested https://api.github.com/user interface which needs Authentication .
mycode:
$arr = [
    'base_uri' => 'https://api.github.com/',
    'timeout' => 2.0,
];
$client = new Client($arr);
$res = $client->request(
    'POST',
    '/user',
    [
	'verify' => false,
	'debug' => true,
	'auth' => [
<EMAIL_ADDRESS>		'xdssdfxdf',
	],
);
dump($res->getBody()->read(4600000),true);

I run this, and then I got a fatal error:

Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: POST https://api.github.com/user resulted in a 400 Bad Request response: { "message": "Problems parsing JSON", "documentation_url": "https://developer.github.com/v3/users/#update-the-authen (truncated...) in D:\AMP\www\dc\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php on line 113

I checked the 400 Bad Request` response: { "message": "Problems parsing JSON on github API document.
It means that

Sending invalid JSON will result in a 400 Bad Request response.

I try to solve it with myself, but failed. I confused when and where the problem happened.

Have you tried dumping the request body?
As far as I can see there is a syntax error as well (check the number of opening and closing square brackets), but maybe that's just the example code.
Last, but not least: you send a POST request to an endpoint, but there is no body in your request. Are you sure you want POST and not GET?


⚠ MorethanTV has degraded performance

In f52be57, MorethanTV ($MTV) experienced degraded performance:

HTTP code: 502
Response time: 3424 ms

Resolved: MorethanTV performance has improved in 31d4810 after 52 minutes.