Split live.ts module into smaller modules

This splits the various definitions from src/live.ts into several, smaller, modules and moves them into src/types/*.ts. While at it, this also moves the json.ts and lson.ts modules into src/types/Json.ts and src/types/Lson.ts respectively, and moves src/types.ts to src/types/index.ts.
There are more types we can split out this way inside src/types/index.ts itself, so that eventually that index file is going to be nothing more than a re-exporting index file for convenience.
There are no functional changes made in this PR, only code moving around.
Fixes #247 .

Changes approved in Slack. Since this is mechanical, going to get this merged in now, but please let me know if you have feedback — happy to adjust.


Proposal for an updated mod_rewrite suggestion in the documentation and update of user agent string.

Adressing issue #684 as OP mistakes the current suggestion as 'incorrect', the rewrite rules could be changed into this:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]

This is a flexible solution for new developers in CI and for developers who are unexperienced with the mod_rewrite module.
One of the first questions I found on SO searching for 'codeigniter' and 'mod_rewrite' was this: http://stackoverflow.com/questions/6756181/mod-rewrite-for-codeigniter
I think questions and answers like these suggested supports the documentation suggestion.
Also updating user agent string from previous commit b8daad7 after being corrected in a comment.
Documentation for the correct user agents and user agent strings for Opera browsers can be found at http://my.opera.com/community/openweb/idopera/

Hi, i face some issue on CI 2.0.. about hosting problem.. i need some one help.. this is my first project developed using CI. so i face index.php issue in base URL.. ple help me... i used .ht-access file but that file cant removing index.php.. in localhost base_url working properly, but when i hosted base URL should not work without index.php. ex: www.xxx.com/index.php/search.
.htaccess file...
RewriteEngine on
RewriteBase /xxx.com
RewriteCond $1 !^(/index.php|resources|robots.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(/index.php|css|images|js|robots.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
i face page not found error...
if i use base_url in config file like $config['base_url']= 'http://www.xxx.com/index.php'; the link should work properly..
please help me, how can i remove the index.php in CI framework when i hosted..

This is not the place to get help with your development.
I suggest you ask in CodeIgniters official forums at http://codeigniter.com/forums/ or at Stack Overflow at http://stackoverflow.com

Hi, i face some issue on CI 2.0.. nah, just kidding! :P


Root URL Admin Site 301 Response

When the admin site is mapped to the root URL path, the adminSearchPath returns a 301 response due to a missing trailing slash /. As a result, the query q is not passed through to the redirected URL and the search method returns 0 values.

How to recreate
Set the admin site path to the root URL of the site in the project urls.py
urlpatterns = [
    path('', admin.site.urls)
]

Steps to resolve
search.js:35
const adminSearchPath = adminPath ? `/${adminPath}/search/` : '/search';

Adding the trailing slash returns the correct 200 response along with the full search results.
const adminSearchPath = adminPath ? `/${adminPath}/search/` : '/search/';

Thanks for raising this, and for the proposed solution! Have implemented and published in 0.3.2

No problem @ahmedaljawahiry! Really enjoying the library by the way, using it across a ton of projects!

Great to hear!


lr_find() issue with NER

/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/tensor_shape.py in __init__(self, value)
    191       raise TypeError("Cannot convert %s to Dimension" % value)
    192     else:
--> 193       self._value = int(value)
    194       if (not isinstance(value, compat.bytes_or_text_types) and
    195           self._value != value):

TypeError: int() argument must be a string, a bytes-like object or a number, not 'tuple'

lr_find() breaks with the error above (last frame) when running with bilstm-crf and bilstm-bert NER models.

Which version of TensorFlow are you using?  Another user reported that this problem was solved by upgrading from TF 2.0 to TF 2.1.0.  So, it seems to be a TensorFlow problem.
I was unable to reproduce this issue on TensorFlow 2.1.0.
Thanks.

I was using tensorflow_gpu==2.0.0, so upgrading to 2.1.0 fixed the issue. Thanks Arun!


📚 [Documentation / WorkFlow] - Adding dependabot.yml file

Description ✍
We need to add dependabot.yml file as it helps us to keep our dependencies up to date. Every day, it checks your dependency files for outdated requirements and opens individual PRs for any it finds.
@anmode please assign me this issue under gssoc'23.
Are you contributing for a program ?
GSSoC2023
Code of Conduct

[X] I have read and agree to the Contributing Guidelines of this project.

not required


git tfs clone: add an option for storing all branches in parallel

When cloning a tfs repo into a git repo (with branches) I recognized that first the main branch is downloaded. When there is a merge changeset the main branch is "deleted" an it gets the merged branch. This is very slow! Especially for big projects with many branches. Can you provide an option (e.g. --store-all-branches) to keep the files of all branches on the disk during the clone? I totally agree that this option should be disabled by default! But when I know I have enough space this would speed up things a lot.

I think this option have no sens or will not improve performances.
I don't really know what you mean by "the first main branch is deleted"
because all the files are still in the git repository.
Also, git-tfs only download the files that TFVC tell us has changed in a
changeset. And that is what is slow because that is TFVC way to exchange
entire files not compressed that is inefficient.
We indeed use a workspace in a hidden folder to download the file (because
that's the way tfs api works) but once downloaded, these files could be
deleted because useless (they are stored in git).
Better using disk space won't speed up things :-(
On 25 Aug 2017 13:52, "SaschaWeisenberger"<EMAIL_ADDRESS>wrote:
When cloning a tfs repo into a git repo (with branches) I recognized that
first the main branch is downloaded. When there is a merge changeset the
main branch is "deleted" an it gets the merged branch. This is very slow!
Especially for big projects with many branches. Can you provide an option
(e.g. --store-all-branches) to keep the files of all branches on the disk
during the clone? I totally agree that this option should be disabled by
default! But when I know I have enough space this would speed up things a
lot.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/git-tfs/git-tfs/issues/1091, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAcFpNNYPHQR3Wi0-fh-wlZqk3M6vlo8ks5sbrWHgaJpZM4PCkCT
.

Sorry the thing with "delete" was unclear...
I mean: There is you folder "~W" where you create your workspace. When you get the first changeset (e.g. from main branch) all the files of this branch are in this folder. When there is a merge changeset, it seems like there is a context switch which costs a lot of time. What I mean is, why don't you store the files like following:
~W
|->MAIN
|->Branch1
|->Branch2
...
Then you have all branches and don't need this context switch anymore.

The folder '~W' was created here with such name to prevent to exceed the limit of 250 characters in the path that people encounter sometimes when cloning so I'm not very keen of with the fact to reintroduce the name of the branches in it.
Also, I don't know what do you find costly in the context switch.
Is it just the delete? In this, indeed, we could let the files here and delete only in the end. But I'm not sure it will improve performance a lot (on clone that could last hours :-()
Or do you talk about a sort of cash done by the already their files? In this case, that will change nothing (except if I am completely wrong) because we download all the files TFVC tell us that changed in a changeset. TFVC don't provide checksums so we can't know which ones has changed.

Okay, seems I have to excuse... I just debugged it and most of the time was indeed within trhe function ProcessMergeChangeset, BUT in detail it was the function VersionControlServer.QueryHistory(...) to get the required ChangesetID.
So sorry again, seems there is nothing you can do.
But at this point I want to say: Thank you for this great tool! Helped me a lot aready!

Okay, seems I have to excuse...

No problem. If everyone was like you....

But at this point I want to say: Thank you for this great tool!

Not as perfect as we want but :

indeed, it is quite useful
difficult to find some time and motivation (because I am no more a user of the tool)

Helped me a lot aready!

We appreciate that (we don't receive a lot of thanks...)


Azure RBAC error on deploy

Hi
I'm getting an error similar to
https://github.com/camilb/prometheus-kubernetes/issues/40
I'm running on Azure ACS K8S 1.7.7 and I'm deploying the latest code using commit cd8bdb94e9bef6cdf86124fdebdacfe17ebc45b8
I've tried doing

kubectl create clusterrolebinding admin-binding --clusterrole=cluster-admin --user=

where  is obtained using the command

kubectl config view

Deploying Prometheus
serviceaccount "prometheus-k8s" created
rolebinding "prometheus-k8s" created
rolebinding "prometheus-k8s" created
rolebinding "prometheus-k8s" created
clusterrolebinding "prometheus-k8s" created
Error from server (Forbidden): error when creating "manifests/prometheus/prometh                                                                                eus-k8s-rbac.yaml": roles.rbac.authorization.k8s.io "prometheus-k8s" is forbidde                                                                                n: attempt to grant extra privileges: [PolicyRule{Resources:["nodes"], APIGroups                                                                                :[""], Verbs:["get"]} PolicyRule{Resources:["nodes"], APIGroups:[""], Verbs:["li                                                                                st"]} PolicyRule{Resources:["nodes"], APIGroups:[""], Verbs:["watch"]} PolicyRul                                                                                e{Resources:["services"], APIGroups:[""], Verbs:["get"]} PolicyRule{Resources:["                                                                                services"], APIGroups:[""], Verbs:["list"]} PolicyRule{Resources:["services"], A                                                                                PIGroups:[""], Verbs:["watch"]} PolicyRule{Resources:["endpoints"], APIGroups:["                                                                                "], Verbs:["get"]} PolicyRule{Resources:["endpoints"], APIGroups:[""], Verbs:["l                                                                                ist"]} PolicyRule{Resources:["endpoints"], APIGroups:[""], Verbs:["watch"]} Poli                                                                                cyRule{Resources:["pods"], APIGroups:[""], Verbs:["get"]} PolicyRule{Resources:[                                                                                "pods"], APIGroups:[""], Verbs:["list"]} PolicyRule{Resources:["pods"], APIGroup                                                                                s:[""], Verbs:["watch"]} PolicyRule{Resources:["configmaps"], APIGroups:[""], Ve                                                                                rbs:["get"]}] user=&{kubeconfig  [system:authenticated] map[]} ownerrules=[] rul                                                                                eResolutionErrors=[]
Error from server (Forbidden): error when creating "manifests/prometheus/prometh                                                                                eus-k8s-rbac.yaml": roles.rbac.authorization.k8s.io "prometheus-k8s" is forbidde                                                                                n: attempt to grant extra privileges: [PolicyRule{Resources:["services"], APIGro                                                                                ups:[""], Verbs:["get"]} PolicyRule{Resources:["services"], APIGroups:[""], Verb                                                                                s:["list"]} PolicyRule{Resources:["services"], APIGroups:[""], Verbs:["watch"]}                                                                                PolicyRule{Resources:["endpoints"], APIGroups:[""], Verbs:["get"]} PolicyRule{Re                                                                                sources:["endpoints"], APIGroups:[""], Verbs:["list"]} PolicyRule{Resources:["en                                                                                dpoints"], APIGroups:[""], Verbs:["watch"]} PolicyRule{Resources:["pods"], APIGr                                                                                oups:[""], Verbs:["get"]} PolicyRule{Resources:["pods"], APIGroups:[""], Verbs:[                                                                                "list"]} PolicyRule{Resources:["pods"], APIGroups:[""], Verbs:["watch"]}] user=&                                                                                {kubeconfig  [system:authenticated] map[]} ownerrules=[] ruleResolutionErrors=[]
Error from server (Forbidden): error when creating "manifests/prometheus/prometh                                                                                eus-k8s-rbac.yaml": roles.rbac.authorization.k8s.io "prometheus-k8s" is forbidde                                                                                n: attempt to grant extra privileges: [PolicyRule{Resources:["services"], APIGro                                                                                ups:[""], Verbs:["get"]} PolicyRule{Resources:["services"], APIGroups:[""], Verb                                                                                s:["list"]} PolicyRule{Resources:["services"], APIGroups:[""], Verbs:["watch"]}                                                                                PolicyRule{Resources:["endpoints"], APIGroups:[""], Verbs:["get"]} PolicyRule{Re                                                                                sources:["endpoints"], APIGroups:[""], Verbs:["list"]} PolicyRule{Resources:["en                                                                                dpoints"], APIGroups:[""], Verbs:["watch"]} PolicyRule{Resources:["pods"], APIGr                                                                                oups:[""], Verbs:["get"]} PolicyRule{Resources:["pods"], APIGroups:[""], Verbs:[                                                                                "list"]} PolicyRule{Resources:["pods"], APIGroups:[""], Verbs:["watch"]}] user=&                                                                                {kubeconfig  [system:authenticated] map[]} ownerrules=[] ruleResolutionErrors=[]
Error from server (Forbidden): error when creating "manifests/prometheus/prometh                                                                                eus-k8s-rbac.yaml": clusterroles.rbac.authorization.k8s.io "prometheus-k8s" is f                                                                                orbidden: attempt to grant extra privileges: [PolicyRule{Resources:["nodes/metri                                                                                cs"], APIGroups:[""], Verbs:["get"]} PolicyRule{NonResourceURLs:["/metrics"], Ve                                                                                rbs:["get"]}] user=&{kubeconfig  [system:authenticated] map[]} ownerrules=[] rul                                                                                eResolutionErrors=[]
servicemonitor "kube-scheduler" created
servicemonitor "kube-apiserver" created
servicemonitor "kube-controller-manager" created
servicemonitor "node-exporter" created
servicemonitor "kubelet" created
service "prometheus-k8s" created
servicemonitor "prometheus-operator" created
prometheus "k8s" created
servicemonitor "alertmanager" created
servicemonitor "prometheus" created
servicemonitor "kube-dns" created
servicemonitor "kube-state-metrics" created
configmap "prometheus-k8s-rules" created

After installation, I can only see the basic Node info but no K8S specific data such as namespace, pod & depoyments
Any ideas ?

Hi
Just some another issue. I previously deploy this codebase at commit df4cfcd2ec31c39c82c677a4e6c0033e21d9df75
I would get the same rbac error but I was able to recieve k8s data including namespace, pod etc. Any idea why I can't get these data anymore from the latest commits ?

Hi @DaveNW16HD, actually never tested Azure ACS, only Azure AKS, but I will create a cluster these days and have a look on it.


Project > File > User can upload files having duplicate names multiple times

Roles: All
Describe the bug
Project > File > User can upload files having duplicate names multiple times
Steps to Reproduce

Login as Admin user
Create a new project
Click on the View file button
Click on the Upload file button
Add file1
Again Add file1

Expected Result
The duplicate file name should not be allowed
Actual Result
User can upload files having duplicate names multiple times.
See video - https://drive.google.com/file/d/1CqFa7rKZpiqb-GRU72c5YToz5KOf9icM/view?usp=drivesdk
cord-field# 89ee57a1

We treat that as a new version of the same file. You can see that in the file's "history".

@sethmcknight can we close this?


Support for annotations document

It shall be possible to add a YAML file to the interfaces, which provides tag information for the modules, interfaces, structs, enums e.g. called symbols.
os.fs.FileSystem:
  service:
    port: 12345

This will add the service tag with the attribute port=12345 to the FileSystem interface in the module os.fs.
There shall also be an additional API to query the tag information using glob patterns.
Tags.query('os.fs.FileSystem') == { service: { port: 12345 }}

An external YAML file can now be used to add external annotations to the QFace domain object model. See ee1ef38757970c93932e5028f8fe86fc1aa8d7e0

Currently the YAML need to be named after a QFace document and the types need to be fully qualified. Need to see how good this solution is.

Added API to parse a YAML document and merge the tags. Now all yaml files named after a QFace document are parsed plus the generator can also parse custom YAML files.


Moving sidebar opacity setting to max doesn't trigger a change (in sidebar options wheel)

Works on scroll, just re-render call?


Remove Dead Links & Update HA Installation

Updated the HA page to have the same information as the readme does in the HA repository.

Fantastic (as always), and I’m going to merge this to main!
As an aside, I can’t say enough how much I appreciate these PRs and your general responses to issues that arise. Not sure if there’s anything I could send your way as a thank you, but if you drop me a line at<EMAIL_ADDRESS>I would love to chat


Handle skipped stage by piped

What this PR does / why we need it:
This makes piped enable to handle the skipped stage.
And add the notification of this in another PR.
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

/hold cancel

Sure.

Nice adding!
/lgtm

Nice adding!
/lgtm


Add maven-wrapper version 3.3.2

@ehsavoie FWIW I perceive this as two things: deterministic builds as this enforces a Maven version and an easy entry for community users that might not have proper tooling handy at all times.


The package name of permission.C2D_MESSAGE still wrong

Hi I am using latest stable Android Studio with 'com.android.tools.build:gradle:1.3.0' and 'eu.inloop:easygcm:1.5.0@aar'
However when I build the project and check the manifest file the permission row still show 'easygcm.permission.C2D_MESSAGE' instead of '{applicationId}.permission.C2D_MESSAGE'
As my other project use the same library so once I installed that application I cannot install current application.
I have checked the Release Log of this library, it should be fixed in latest version, but I still face the problem : (
Can anyone help me ? Thanks so much

@kaiyan910  I'm facing the same problem. I'm using this library in two different projects and I can't install both in the same device.

+1

We are having this issue as well.


boards: openhwgroup: add CV64A6 on GenesysII board

Adds support for the CVA6 CPU on a GenesysII FPGA board with Xilinx AXI Ethernet
(https://github.com/cispa/CVA6-Vivado-Project-with-Xilinx-AXI-Ethernet). The SoC currently contains the CVA6 CPU in 64-bit configuration with the SV39 MMU, interrupt controllers (CLINT and PLIC), UART, a SPI for booting from SD, a boot ROM, and I2C controller for on-board audio, a GPIO and the Xilinx AXI Ethernet subsystem.

Depends on https://github.com/zephyrproject-rtos/zephyr/pull/77732 and https://github.com/zephyrproject-rtos/zephyr/pull/73986

I have cleaned the defconfigs and removed the empty CMakeLists.txt for my three board PRs.

I am currently using it for a school project, if it can help, the fact that the board is called in some places cv64a6_genesysII_cispa and others cv64a6_genesysII without the "_cispa" suffix gave issues in cmake identifying the files. I fixed by renaming files adding the suffix, but consider also to just remove it everywhere

I am currently using it for a school project, if it can help, the fact that the board is called in some places cv64a6_genesysII_cispa and others cv64a6_genesysII without the "_cispa" suffix gave issues in cmake identifying the files. I fixed by renaming files adding the suffix, but consider also to just remove it everywhere

https://github.com/zephyrproject-rtos/zephyr/pull/77792/files and this PR refer to two slightly different configurations.
This one uses the Xilinx Ethernet subsystem, while https://github.com/zephyrproject-rtos/zephyr/pull/77792/files uses the lowRISC Ethernet (which currently does not have a driver in zephyr).
The files are adapted for these two different configurations respectively. You can use the -b parameter to west build to select which variant you want to build (-b cv64a6_genesysII or -b cv64a6_genesysII_cispa).


Missing support for FollowTrajectoryAction

https://github.com/carla-simulator/scenario_runner/blob/05a811a6248c8033e4c76185ff40ae5eccad7e69/srunner/tools/openscenario_parser.py#L1211
Any plans for supporting FollowTrajectoryAction?

Hey @Briandez, we have PR #751 with the very basic implementation, and it'll be merged soon. The rest of the action has no specific plans, but it'll come eventually

Hi @glopezdiest
I also did something couple of days ago similar to the PR

But somehow i am getting this error on running the scenario:

But i guess this has something to do with the opendrive itself rather then the implementation but im not sure though.

How are you passing that trajectory to the actor? Which behavior are you using? Some OSC behaviors modify the actor control, so you need to first create a controller before using those, or the error you are seeing might happen

Closing this issue while waiting for the original poster to provide more information. Feel free to reopen it if needed


typo in the options

Hi! nothing super important here but I realized there is a typo on the options. you are missing one "t" in --label_for_the_horizontal_axis. :-)

Thank you, I fixed this.


This can be achieved image wave diffusion effect?

Hello，I'm a beginner about GPUImage.Now ,I need to achieve picture wave effect,so can i use it?

I don't know what "picture wave effect" means, sorry.


Server backup procedure

So think there are 3 main points necessairy to perform a server backup,
Full backup

the PostgreSQL DB, probably with doing an SQL Dump. Currently ~121GB on the main server (but likely many duplicate files).
the ramp_deployment folder (including the submissions). Currently 250GB on the main server. Submissions might not be strictly necessary.
conda envs to facilitate re-deployment. Currently 24GB.

These backups can then be copied into some cloud storage, for instance with rclone
Ideally with encryption, particularly for the DB.
Full backup
The last two points can probably be done incrementally. Less sure about the first one.

sounds good !


feat: modify gha to test and publish alpine based images

We already have the alpine based django image. The PR adopts the pipeline and allows to push the new images to dockerhub. The debian image is still the default image with the latest tag.
We will have three tags in dockerhub:

latest (at the moment, the (current) debian based images)
[defectdojo_version]-debian (current)
[defectdojo_version]-alpine (new)

Disadvantage: The nginx image which was already based on alpine is now called nginx-debian. This was required to distinguish between the old nginx image, where the build process was based on debian, and the new image, where also the build process is based on alpine.
Please review carefully, if I haven't broken our pipeline!

On behalf of DB Systel GmbH

@alles-klar I think the approach for separating the names of the docker files into alpine and debian makes sense, but I believe it will bring more pain that benefit.
Every user will be forced to upgrade their compose and make a choice for debian/alpine. I think it would be simpler to keep the debian images as Django/nginx and the alpine images to be labeled as Django-alpine/nginx-alpine. A note in the upgrade docs would be useful to inform users they have the choice to change it if they desire.

@Maffooch you are right I forgot to update the dockerfile names in the compose files. I have done that and also adding some lines to the docs.
The old docker tags are still the same, so hopefully there are no changes for the standard way of using defectdojo.

@Maffooch there will be some more, you can see them in line 134 and 149 of release-2-tag-docker-push.yml.
Dockerfile.django-debian:

defectdojo/defectdojo-django:latest
defectdojo/defectdojo-django:2.19.0
defectdojo/defectdojo-django:2.19.0-debian

Dockerfile.nginx-debian:

defectdojo/defectdojo-nginx:latest
defectdojo/defectdojo-nginx:2.19.0
defectdojo/defectdojo-nginx:2.19.0-debian

Dockerfile.django-alpine:

defectdojo/defectdojo-django:2.19.0-alpine

Dockerfile.nginx-alpine:

defectdojo/defectdojo-nginx:2.19.0-alpine

That's works perfectly!

Looks good! And makes #7222 needlees as we can change the distribution with the tag helm value directly.

This LGTM.  Dropping my approval  now.
@dsever Thoughts?


i18n & Ukrainian translations

hi @lilbonekit , thanks for getting involved!
is there a broader plan for this feature? eg programmatically translating the full reviews into Ukranian? lmk what you're thinking :)

@RedVelvetZip could you please look at the i18n implementation and how we resolved the JSON files for different locales? Also, please review the PR, and then after your approval, we'll add Ukrainian translations. We do not translate everything now because of possible changes to the code after the review.

thank you again for the work thus far @lilbonekit
@bolander72 and I are reviewing!

@lilbonekit thank you for all the work to get this rolling! Would you be willing to work with us to get these merge conflicts resolved to continue?

Hello, @ bolander72, @RedVelvetZip! Please review PR asap and let's merge it before the other changes. The pull request contains many changes affected components, helpers, folders structures and so on

@lilbonekit about to push up a commit for spacing and typo fixes.
Can you please look into these two translation keys that are causing issues due to html tags:
if-you-have-comments-on-this-framework-please
layers-that-settle-to-a-parent-blockchain-must-consider
I think these need to use the Rich Text or HTML markup helper functions.
Other than that fix, everything else is looking good!

Hello, @bolander72 ! Fixed. We need use [t.raw(...)](https://next-intl-docs.vercel.app/docs/usage/messages#raw-messages) when we use html tags inside strings template,
otherwise it returns [Object object]

@lilbonekit perfect! Ok then, greelight on doing the UK translation conversions 🎉

Helo @bolander72, @RedVelvetZip! Please review the PR! :) We added uk translation

@lilbonekit I found a few issues I am going to work on. Will need your help for the additional translations (or at least your review).

Tables are not filtering and sorting properly given language change.
Under "Risk" column on tables, in UK, all projects are "Under Review" (which is incorrect)
Hero needs to be updated for Layers, Staking, Bridges, etc. Either made dynamic or new Hero components for each.

Will update comment if I find more.

Hello, @bolander72! Thanks for attentively review! I restored some original translation keys from uk json files as it used for filtering and sorting, added some missing keys for hero section and now it should be okay. Look forward to hearing from you soon

Hello, @bolander72! Thanks for attentively review! I restored some original translation keys from uk json files as they are used for filtering and sorting, added some missing keys for hero sections and now everything should be okay. Look forward to hearing from you soon


Changin margin in input-group from initial to auto

Initial does not work for IE11, while auto does. This introduced problems in IE where the 32px margin would not be overridden to initial (this creates a unwanted 32px margin in account-selector between dropdown and selected account-number)
Example of bug:

Coverage remained the same at 84.949% when pulling 1c2e264f4a095ab546aed67077f093453fcca385 on etse:patch-1 into f3370e9e217329a22527cffe8768e6a68bdf628e on SpareBank1:develop.


Change exported library name to proper JS variable

Line https://github.com/bvaughn/react-virtualized/blob/master/webpack.config.dist.js#L14 in webpack makes it so that if you include this as a <script> tag on a page, it sets it to window["react-virtualized"] which is strange. I would expect it to be window.ReactVirtualized, so that it exposes a ReactVirtualized global without forcing a referencing through the window object.

Hey @jlongster. Seems like a good suggestion. Since this is a backwards incompatible change- I'm going to include this in the upcoming v5 release. (I kind of doubt anyone's using the library as window["react-virtualized"] but... just in case.)
PS. Perfect timing on your Twitter post about hidden messages with script tags. I was just briefly thrown by the seemingly cutoff email summary I got for this issue.


How we can update all installed packages at once?

I'm searching for a way to update all installed packages at once, using just one command line.
How can we do that?

Usage questions can be asked on Gitter, and full instructions how to use the tool on our website.
In future, please observe our Contributor Guidelines before opening an issue here.


another question :)

Hi, thx for the repo - very interesting!
I tried to use it in a kaggle competition, but till now I did not get it right.
In kaggle competitions one usually is finetuning with not a lot of epochs.
I call .fit() twice, first time eg 12 epochs with a warmup learning rate scheduler without swa and then again eg 17epochs with swa enabled.
Tried cyclic with freq 4, but val_loss got worse, not recovering from higher learning rates.
Tried cyclic with freq 8 and auto lr, but val_loss and val_auc are fluctuating and leading to sub-par results
Generally saved weights based on best val_loss do better in cv.
Can you please comment on this. Do you have any recommendations?
best
Roman

First of all, SWA has no guarantees of always producing better results. If it does not improve results it does not mean you are using it wrong. Try it, and if it does not work you abandon it.

Generally saved weights based on best val_loss do better in cv.

This does not work with SWA. The whole point of SWA is to replace the weights after training with an average that is thought to generalize better. If you then replace your weights with something else then you are no longer using SWA.

Can you please comment on this. Do you have any recommendations?

Some suggestions:

Rule of thumb is to use SWA for the last 25% of epochs (with warmup included). You control this with start_epoch.
Use the constant schedule. It is preferred by the authors and cyclic only works when you have more epochs.

However, this is not an issue with the repo. So it is better you email me if you have more questions.


It is possible to improve to LAN mode?

These nodes could be great if worked in LAN mode. Unfortunetly, usually I've got error when I tried to change state of my Sonoff. Errors are 406, 405, 503 etc so it is unuseable. Better solution to controll son off from Node-Red is install Home Assistant with SonoffLAN custom component and install nodes to use HA API. It works great and very fast, beacuse it it local comunication, beyond the cloud. Maybe there it is possible to upgrade to LAN mode base on SonoffLAN?

1 to the request. Please implement. This is already implemented in HAS https://github.com/AlexxIT/SonoffLAN

Same issue here

I would also prefer control over LAN.


Fix botframework send_elements

Proposed changes:
I just updated my Rasa setup by bumping all my project from Core + NLU to Rasa. I noticed that attachments sent by actions through utter_custom_message don't work anymore. The issue I found is the double encapsulation of elements, leading to an issue similar to this and also this one I guess.
Let me know what do you think of that quick fix.
Status (please check what you already did):

[x] made PR ready for code review
[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog
[ ] reformat files using black (please check Readme for instructions)

Thanks for the PR, we'll give it a review as soon as possible.

Ooops mea culpa.
Actually when I migrated from Core to Rasa 1, I didn't update my action code with dispatcher.utter_elements and the depreciated method dispatcher.utter_custom_message makes the double encapsulation of elements. Dumb fix!

Hey @1tupac ! I think I just had someone run into your same issue. The double encapsulation is my fault -- I had meant for it to just pass on the args to the utter_elements function but must have messed that up. Would you be up for submitting a fix in the sdk repo?
I assume the issue is that this line should actually take *elements instead of elements no?


Unregister conversion webhooks at Kyma  cleanup

Description

unregister conversion webhooks as it is already undeployed

Related issues
https://github.com/kyma-incubator/reconciler/issues/1190

/retest

/test all


@#!Here's FRee To Watch!# Mitchell Leek vs Jack Brubaker Live Streams TV Channel 19,June 2024 #3570

On Wednesday, June 19, 2024, The Melbourne Pavilion in Flemington, Victoria, Australia, will host an electrifying night of boxing featuring the highly anticipated clash between Leek and Brubaker. This event promises to be a thrilling spectacle, with four exciting fights on the card, showcasing some of the best talents in the sport.
📺🔴⏩ CLICK HERE O WATCH LIVE
📺🔴⏩ CLICK HERE O WATCH LIVE
Event Details:
Main Event: Leek vs. Brubaker
Date: Wednesday, June 19, 2024
Venue: The Melbourne Pavilion, Flemington, Victoria, Australia
Number of Fights: 4
Main Event: Leek vs. Brubaker
The spotlight of the night will be on the main event, featuring a heated contest between Leek and Brubaker. Both fighters have been training rigorously for this bout, and fans can expect an intense showdown as they vie for supremacy in the ring.
Fighter Profiles:
Leek: Known for his powerful punches and aggressive style, Leek is a formidable opponent. With a record that boasts numerous knockouts, he is determined to add another victory to his name and solidify his position as a top contender.
Brubaker: A strategic and technically skilled fighter, Brubaker relies on his agility and precision. His impressive defensive techniques and quick counterattacks make him a challenging adversary for any opponent.
Undercard Fights:
In addition to the main event, the night will feature three other captivating fights, each bringing its own flavor of excitement to the ring. These undercard bouts will highlight a mix of rising stars and seasoned fighters, all eager to showcase their talents.
Fight Card:
Fight 1: A clash between two up-and-coming prospects, both looking to make a name for themselves and move up the rankings.
Fight 2: A middleweight battle featuring two fighters known for their resilience and determination, promising a fierce contest.
Fight 3: A lightweight bout where speed and skill will be on full display as the fighters aim to outmaneuver each other for the win.
Main Event: Leek vs. Brubaker - The highlight of the evening, where the stakes are high, and the competition is fierce.
Venue: The Melbourne Pavilion
The Melbourne Pavilion is renowned for hosting top-tier boxing events, providing an electric atmosphere for both fighters and fans. Located in Flemington, Victoria, this venue offers excellent facilities and an intimate setting, ensuring that every seat provides a great view of the action.
What to Expect:
Intense Action: With fighters who are determined to give their best, fans can anticipate a night filled with high-octane action and dramatic moments.
Skill and Strategy: Each fight will display a blend of raw power, technical prowess, and strategic gameplay, making for a compelling spectacle.
Fan Engagement: The event will feature opportunities for fan interactions, including meet-and-greet sessions with the fighters and exclusive merchandise.
Conclusion:
Main Event:
Headline Fight: Leek vs. Brubaker
Mitchell Leek vs. Jack Brubaker
Lucas Miller vs. Mat Sheehan
Clay Smith vs. Jamie Phillips
T. Fitzgerald vs. S. Phanaensa
Leek vs. Brubaker at The Melbourne Pavilion promises to be a memorable night of boxing, filled with excitement and drama. Whether you're a die-hard boxing fan or new to the sport, this event offers something for everyone.


Cursor too high/short for non-alphabetic scripts such as Chinese, emojis, and others.

The cursor for text fields is the wrong size/height for the text when typing non-alphabetic/english-like scripts.
This has been confirmed to affect Chinese (and other chinese-like scripts), emojis, Arabic (and arabic-like scripts), but probably impacts more.
Example with Chinese:

It is interesting to note that highlighting the text works properly and covers the full vertical extent of the text. The cursor positions seems to be calculated from the same properties, but is coming up with a different result.
GetBoxesForRange() also seems to be outputting expected values.

in text_painter.dart get preferredLineHeight, we are laying out a ' ' and using the line height. There is probably a better, more consistent way of doing this...

I suspect our current text painter's preferredLineHeight doesn't take into account the actual height TextStyle property of the TextSpan either.
We should use your new get box for range API for the cursor too.

In the 0.11.4 version, the height of the cursor seems to be acceptable, but the position is still not aligned.

Many lines of text also have problems, which may be caused by the same reasons. Half of the last line will be covered.

code is
  TextField(
     maxLines: 2,
  ),

flutter --version
Flutter 0.11.4 • channel dev • https://github.com/flutter/flutter.git
Framework • revision df57dc9da9 (2 days ago) • 2018-11-11 22:36:47 -0800
Engine • revision 5646e86a6f
Tools • Dart 2.1.0 (build 2.1.0-dev.9.3 9c07fb64c4)

Dup of #23934

TextField ( style: TextStyle(height: 1.2) )
height ：1.2 solve the problem

I will close this now, as we have landed fixes that

Centers the caret
Makes it taller/take the full height of the line


multi conda env prefix bug

Type: Bug

Behaviour
Expected vs. Actual
i use conda as my python env manager, my configed env is dev
just open terminal in vscode, shows
(dev) (base) $ which python
/Users/my_username/miniconda3/envs/dev/bin/python
(dev) (base) $ conda deactivate
(base) (base) $ conda deactivate
$ conda activate dev
(dev) $

you can see that multiple env prefix (dev) (base) occored, need to deactivate two times and re-activate to work fine
Steps to reproduce:

just open a python project and configed with a conda env
open terminal in vscode

Diagnostic data

Python version (& distribution if applicable, e.g. Anaconda): 3.10.13
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Conda
Value of the python.languageServer setting: Default

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

2024-02-02 11:00:25.040 [info] Experiment 'pythonRecommendTensorboardExt' is active
2024-02-02 11:00:25.040 [info] Experiment 'pythonREPLSmartSend' is active
2024-02-02 11:00:25.040 [info] Experiment 'pythonSurveyNotification' is active
2024-02-02 11:00:25.040 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2024-02-02 11:00:25.040 [info] Experiment 'pythonTestAdapter' is active
2024-02-02 11:00:25.040 [info] Default formatter is set to ms-python.autopep8 for workspace /Users/my_username/code/aws_data_tasks
2024-02-02 11:00:25.040 [info] Test server listening.
2024-02-02 11:00:25.040 [info] VS Code was launched from an activated environment: 'dev', selecting it as the interpreter for workspace.
2024-02-02 11:00:25.040 [info] Python interpreter path: ~/miniconda3/envs/dev/bin/python
2024-02-02 11:00:25.069 [info] Send text to terminal: echo /bin/zsh
2024-02-02 11:00:25.071 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2024-02-02 11:00:25.113 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2024-02-02 11:00:25.185 [info] > conda info --json
2024-02-02 11:00:26.456 [info] Starting Pylance language server.
2024-02-02 11:00:27.190 [info] > conda run -n dev --no-capture-output python ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/printEnvVariables.py
2024-02-02 11:00:27.190 [info] shell: bash
2024-02-02 11:00:28.069 [info] Shell integration is not working for zsh
2024-02-02 11:00:28.069 [warning] Shell integration is not active, environment activated maybe overriden by the shell.
2024-02-02 11:00:28.070 [info] > conda info --json
2024-02-02 11:00:28.070 [info] shell: zsh
2024-02-02 11:00:29.250 [info] > conda run -n dev --no-capture-output python ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/printEnvVariables.py
2024-02-02 11:00:29.250 [info] shell: zsh
2024-02-02 11:00:30.289 [info] > /usr/bin/python3 ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/printEnvVariables.py
2024-02-02 11:00:30.289 [info] shell: zsh
2024-02-02 11:00:30.370 [info] Send text to terminal: /usr/bin/python3 /Users/my_username/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/printEnvVariablesToFile.py /Users/my_username/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/deactivate/zsh/envVars.txt

User Settings

languageServer: "Pylance"

Extension version: 2024.0.0
VS Code version: Code 1.86.0 (Universal) (05047486b6df5eb8d44b2ecd70ea3bdf775fd937, 2024-01-31T10:29:15.765Z)
OS version: Darwin x64 22.6.0
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
3, 2, 2

Memory (System)
16.00GB (0.03GB free)

Process Argv
--crash-reporter-id 4cecafe4-886a-47fe-832d-a048eb686591

Screen Reader
no

VM
0%

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30951796
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
dsvsc019bcf:30953938
3ef8e399:30949928

Closing as duplicate of https://github.com/microsoft/vscode-python/issues/22233#issuecomment-1767146695.


E404 error while using npm install ng-browser-info

Dears,
I am getting this issue, while trying to execute this below code.
npm install ng-browser-info
PLEASE HELP ME WITH THE STEPS ON HOW TO RESOLVE THIS
npm WARN notice Due to a recent security incident, all user tokens have been inv
alidated. Please see https://status.npmjs.org/incidents/dn7c1fgrr7ng for more de
tails. To generate a new token, visit https://www.npmjs.com/settings/~/tokens or
run "npm login".
npm ERR! code E404
npm ERR! 404 Not Found: ng-browser-info@latest
npm ERR!      C:\Users\IBM_ADMIN\AppData\Roaming\npm-cache_logs\2018-07-25T11_50

@andrastothtw can you please guide me on this issue what exactly I am suppose to do, am bit new to all this.
Wil be of great help.


[Removal]: Digital Peach Mockingbird

Hotspot Name
Digital Peach Mockingbird
Hotspot b58 Address
11uKDuRwabcPE7qbojP7HHCCcccj6D9hzgEjLUH9WqjqVnKgM5M
Discord Handle
No response
Hotspot Manufacturer
browan
Removal Reason
i m on denylist, for no reason, i don t understand........ please check
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information
i m on denylist, for no reason, i don t understand........ please check

We do not have sufficient evidence to remove these hotspots from the denylist. This is an automated comment due to the volume of addition and removal requests. A future tool is in the works to provide more insight into the analysis approach made by the Helium team and community members that maintain this list.

We have taken into account this removal request in the next iteration of the denylist. It may take some time before it's processed. This is an automated comment due to the volume of addition and removal requests. A future tool is in the works to provide more insight into the analysis approach made by the Helium team and community members that maintain this list.


New in Development Environment - vcs tools list link

New in Development Environment - vcs tools list link
I've add the curated list in Development Environment - list of Git/SVN/HG clients and tools
https://github.com/postpdm/awesome-vcs-tools
It's a list of VCS clients and diff tools. Please, approve
By submitting this pull request I confirm I've read and complied with the below requirements.
Failure to properly do so will just result in the pull request being closed and everyone's time wasted. Please read it twice. Most people miss many things.

I have read and understood the contribution guidelines and the instructions for creating a list.
This pull request has a descriptive title. For example, Add Name of List, not Update readme.md or Add awesome list.
The entry in the Awesome list should include a short description about the list project/theme (not the list itself), and should be added at the bottom of the appropriate category.
The list I added

has been around for at least 30 days,
is the result of hard work and is the best I could possibly produce,
is a non-generated Markdown file in a GitHub repo,
is not a duplicate,
includes a succinct description of the project/theme at the top (example),
includes a project logo/illustration (whenever possible) at the top right of the readme (example). (The logo should link to the project website or any relevant website. The logo should be high-DPI, so set it to maximum half the width of the original image.),
only has awesome items with descriptions (Awesome lists are curations of the best, not of everything),
contains the awesome badge on the right side of the list heading,
has a Table of Contents section named Contents as the first section,
has an appropriate license (Meaning something like CC0, NOT a code licence like MIT, BSD, Apache, etc) (If you use a license badge, it should be SVG, not PNG),
has contribution guidelines,
doesn't include a Travis badge,
has been checked for inconsistent formatting, spelling, and grammar:

Each link description starts with an uppercase character and ends with a period.
Drop all the A / An prefixes in the descriptions.
Consistent naming. For example, Node.js, not NodeJS or node.js.

New in Development Environment - vcs tools list link

While the topic of the list is certainly interesting, your list is very far from being awesome at the moment (which is normal after just 3 hours of work).

I have read and understood the contribution guidelines and the instructions for creating a list.
Please attentively read the guidelines and instructions, that should make most problems in your list clear.

@egeerardyn
Can you help to improve the https://github.com/postpdm/awesome-vcs-tools ? :)
3 hours - it's just the time to write the list, Data I have got from my existing file. :)

By submitting this pull request I confirm I've read and complied with the below requirements.

I don't even know where to start with pointing out what it doesn't follow, so I'm just going to close this.

@yn-coder: maybe when your list has matured for a week or two and you have fixed some of the obvious flaws, then I can put some time of mine into that list.
But first priority for you is to make sure your list complies with the guidelines.

Ok


Mark Opera 78+ as fully supporting position:sticky

Works for me on Opera 82.0.4227.50, so I checked other Opera versions and looks like the Chrome bug was fixed in Opera 78.

Confirmed, thanks!


add more tests for findGraphQLTags, fix cache/schema tests

another boring incremental improvement PR 😆

re-enable some tests for GraphQLCache that were disabled after an update to graphql-config after I found a proper mocking workaround
add more tests for cases in findGraphQLTags.ts as a follow up to #2509

Nice. Almost 4% coverage increase!


workbench.files.action.showActiveFileInExplorer is throwing an exception

Issue Type: Bug
Not sure how to reproduce exactly as it seems to happen only sometimes. I Got this error when the active file is expanded in the explorer, running showActiveFileInExplorer will put the focus border around the explorer, not the item.
ERR Data tree node not found: [object Object]: Error: Data tree node not found: [object Object]
    at j.getDataNode (file:///C:/Users/daimms.REDMOND/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:940:433)
    at j.<anonymous> (file:///C:/Users/daimms.REDMOND/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:938:732)
    at Generator.next (<anonymous>)
    at file:///C:/Users/daimms.REDMOND/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:30:939
    at new Promise (<anonymous>)
    at n (file:///C:/Users/daimms.REDMOND/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:30:716)
    at j.expand (file:///C:/Users/daimms.REDMOND/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:938:489)
    at Array.<anonymous> (file:///C:/Users/daimms.REDMOND/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:5114:366)
    at t (file:///C:/Users/daimms.REDMOND/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:93:803)

VS Code version: Code - Insiders 1.32.0-insider (2e4d4a6bb16a65303b460795fa4ac734f9aea43e, 2019-02-21T06:18:29.174Z)
OS version: Windows_NT x64 10.0.18836

System Info

Item
Value

CPUs
Intel(R) Xeon(R) CPU E5-1620 v4 @ 3.50GHz (8 x 3492)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: unavailable_offsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
63.92GB (33.39GB free)

Process Argv

Screen Reader
no

VM
0%

Dup of https://github.com/Microsoft/vscode/issues/68627

Let's reopen this and try to get steps.
Since there still seems to be some corner cases where this still happens.
@Tyriar do you still see this? If yes, can you help us in getting steps?
fyi @joaomoreno

Yes I definitely still see this, the most recent instances have been when the file I'm trying to show is collapsed deep within the tree. I'll bookmark this issue and post when I see it again. Removing needs more info so it doesn't auto close.

Dup of https://github.com/microsoft/vscode/issues/77106
Fixed via a timeout
@Tyriar please let me know if you stil see this.

Still having problems with this command, the state I had was I had an item in node_modules selected:

Pressed my keybinding:
{ "key": "ctrl+0",           "command": "workbench.files.action.showActiveFileInExplorer" }

And it just focused the same item in the explorer (@azure). The item that should has already been expanded down at the bottom of the tree. There is no longer an exception though, it just doesn't work.

Let's reopen this, even though not sure how to fix.

I saw this again and it appears that one of the ancestor folders (which is currently off screen) is disposed already, despite it being expanded and its children not being disposed.

From mine and Daniels chat, so we do not lose it. Assigning to May to try to find a fix then.
Isidor Nikolic Hello Daniel. Thanks for looking into it. That if check is there becuase the item might not be found in the explorer and then we should not do anything.
So the folder should not be disposed, that is the actuall issue.  Items gets disposed only when the explorer is refreshed, when there is a new fileSystemProvider registereted etc
Since you are on a WSL window it might be that the file system provider is regsitered late and that somehow fucks up the explorer.
If you would like to investigate deeper it would be cool if you put a breakpoint here https://github.com/microsoft/vscode/blob/78f299ee51a427e53b45f53df4b05dbb67e38e31/src/vs/workbench/contrib/files/common/explorerModel.ts#L321
ANd check out why in your case the item gets disposed.
If you are busy I can investigate deeper in debt week. Thanks!

@Tyriar are you still seeing this after my explorer refactoring with latest vscode insiders? I did the refactoring one week ago which should be enough time to see if this got fixed?

@isidorn haven't seen it since, normally it's weeks between repros for me though. I'll ping you if I see it again, thanks!


Move to file scoped namespace project Core part 1

Move to file scoped namespace project Core part 1

Thank you @gmottajr for this contributions! I went ahead to resolve conflicts with main and get this merged in.

/azp run

/azp run

/azp run


feat: review and expand API on behavior of topological bases under some constructions

The main addition is IsTopologicalBasis.inf (see https://leanprover.zulipchat.com/#narrow/stream/217875-Is-there-code-for-X.3F/topic/Inf.20of.20a.20pair.20of.20topologies/near/419989448), and I also reordered things to be in the more typical order (deducing the Pi version from the iInf version rather than the converse).
Also a few extra golfs and variations.

LGTM but I contributed too much to merge it myself.
maintainer merge

bors r+


[WIP] Typehead Component

TODO

[x] Accessibility checkup
[x] Update documentation
[x] Add/update Tests
[x] Format PR title: ComponentName: Description.
[x] Keyboard navigation of options

I now have access! Copying over my slack message for the record.
I will work to get you some better designs by end of week. If you have time in the meantime, there are some functional changes that need to be done. I think ant has the best performing example:
https://codesandbox.io/s/9rzvg

The field should clear invalid values when it loses focus as to not need to throw an error state
Caret on field should not be optional as that signals that this is a dropdown
Bug: Sometimes when I select a value in the list, it does not hold in the field.

As far as how this is documented, is this a separate concept or are there ways to document this with the selectlist?

Adding also that we have no need for additional color options as well as we'd discussed earlier.
Final thing I'll also be thinking about how we name this new addition based on where we can document it. I'm not sure if it should be called Autocomplete. Perhaps Typeahead or just Selectlist Search.

Hey. Let me know when this is ready for another review. I see some of the changes still need to be implemented.
As a note this is "Typeahead" not "Typehead".

Hey. Let me know when this is ready for another review. I see some of the changes still need to be implemented.

@ashleyseto hey, yea I think it's good to review.

Thanks for all the updates! Seems like the visuals are correct. There are a few UX things and I think that bug is still happening. I'm looking at this on Chrome.
*On load of the page, the typeahead dropdown won't allow an item to be selected in the dropdown. A user should always be able to select an item vs typing something.

*Clicking the x to clear the field causes the dropdown to pop open briefly. Is there any way to prevent that?
*When an invalid value is in the field, clicking anywhere else on the page causes the dropdown to briefly pop open when the field clears then close. The dropdown shouldn't pop open when the user clicks elsewhere on the page.
There may be additional comments from @christianvuerings as I can't evaluate the code quality :)

Reviewed initial feedback, and it has been resolved in the latest changes.
Outstanding is the dropdown height and any of Christian's comments.
Also in the examples, we may want to use the label component. https://gestalt.netlify.app/#/Label

Hey @christianvuerings, should have all the UI issues from @ashleyseto  addressed and I've gone through and resolved the ones you commented on. I started getting these last set of Flow issues

If you have any ideas that would be helpful. Thanks

Hey @christianvuerings, should have all the UI issues from @ashleyseto addressed and I've gone through and resolved the ones you commented on. I started getting these last set of Flow issues

If you have any ideas that would be helpful. Thanks

@simkessy That's because we enables flow types-first. See https://medium.com/flow-type/types-first-a-scalable-new-architecture-for-flow-3d8c7ba1d4eb for more info. #940 contains a couple of examples of how to flowtype the proptypes.

Seems to be working correctly from what I see. The only change I could see that might be needed is the docs using the label component rather than text.

Hey @ashleyseto

Seems to be working correctly from what I see. The only change I could see that might be needed is the docs using the label component rather than text.

Hey @ashleyseto , I checked with the TextField component and it is using the FormLabel component. They should probably match? If not let me know and I'll make the update.

Not sure where we ended up with the select state since I was out last week but the Figma file does contain the latest. I noticed in the current build the select state is gray, and it changes gray shades depending on where you hover.

https://www.figma.com/file/rJPa4obG6uWXU4gAI61wLS/List-component-Gestalt?node-id=298%3A81


markdown resources cannot be identified because CSS cloaks them as HTML

CSS renders markdown files as HTML, which is very convenient when shown in web browsers, but currently makes it impossible for generic data browsers to know that a given resource is actually markdown canonically.
NSS (besides not doing the conversion) adds a triple like that to the container resource:
<file.md>
    a <http://www.w3.org/ns/iana/media-types/text/markdown#> .

But CSS does not. There should be a way for clients to know, that a given HTML resource has a canonical markdown representation. Perhaps CSS can include it as a Link header or HTML meta information and into the container as NSS does.
Practical consequences today are e.g. that the markdown-pane will not show up on CSS, because the data browser only receives HTML content.

Done in #1030. Will be part of v3.0.0 release.


Error when sampling data

Hello,
I try to replicate the following code (https://bamt.readthedocs.io/en/latest/examples/learn_sampling_predict.html) but when i learn the parameters i get the following error : AttributeError: 'NoneType' object has no attribute 'split'. I give you the details of the errors : error.pdf
And I have the impression that learning the structure isn't complete: the progress bar is at 0%.
When I set the use_mixture parameter to False, I can generate data, but the number of samples generated does not correspond to the number given at the start (there are fewer).
Thanks,
Nikita

Yes, the error appears at the parametric training stage, since apparently the version of scikit-learn is not quite suitable, try the version, for example, 1.2.0

Thanks for the quick reply, but I still have the same error with the scikit-learn 1.2.0

Ok, then you can try two more things:

Install the package threadpoolctl==3.1.0
Check if all discrete variables are exactly of type int or string.

Thanks it worked after installing the version threadpoolctl==3.1.0.
I have one last problem when I use the command sampled_data = bn.sample(1000) , I don't get 1000 samples but 943 and it varies between executions

Ok, thank you for this information and your help ! Now everything works


PropTable does not work with styled-component

Bug Report
Describe the bug
PropTable won't render for a styled-component like the following:
// Header.js
import React from 'react';
import PropTypes from 'prop-types';

import styled from 'styled-components';

const Header = styled.header`
  z-index: 100;
  background-color: ${props => props.bg};
  min-height: 3rem;
  width: 100%;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1rem;
  display: flex;
  align-items: center;
`;

Header.defaultProps = {
  bg: #333,
};

Header.propTypes = {
  children: PropTypes.node.isRequired,
  bg: PropTypes.string,
};

export default Header;

---
name: Header
menu: Components
---

import { PropsTable } from 'docz';
import Header from './Header';

# Header

## Properties

<PropsTable of={Header} />

To Reproduce

Create a styled-component
Import it into an .mdx file
start docz dev server
See error

I've heard react-docgen v5 (link) is suppose to fix this issue and parse the props out of native styled-components correctly.
But for now, to continue working and moving forward, I've done something similar in our implementation. Yes it adds an extra step, but it works and doesn't break any of our components.
const ButtonStyled = styled.button`
    background-color: ${themeGet('bgColor')};
    color: ${themeGet('textColor')};
    box-shadow: ${themeGet('elevation')};
`;

const Button = React.forwardRef((props, ref) => <ButtonStyled {...props} ref={ref} />);

Button.displayName = 'Button';

We use React.forwardRef due to some refs that we need access to. So we just wrap around our styled variants with a forwardRef comp.
We tried to move this logic to an HOC but HOC breaks with the Props table.
Hopefully the anticipated react-docgen@5 fixes most of these issues. 👍

Can this issue be reopened? This is still no supported, and I guess that docz still depends on<EMAIL_ADDRESS>Any chance of upgrading react-docgen to v5?

+1

No news on this? What's prevent docz from upgrading react-docgen to v5?

Why is this closed ? I think a lot of React projects use styled components, and using a workaround like the one that was suggested is not an option for everybody. This seems like quite a simple fix, and it would be great to get rid of this little bug. The problem with the workaround is also that it makes little sense to change your real code for the sake of documentation, it's weird.
The stale bot is also a real problem here. It's not because the issue is stale that the issue is invalid...

This is still an issue for us, but the workaround above solved this issue.


Making Slides in Quarto with reveal.js

Raising this one to have a go to > https://meghan.rbind.io/blog/quarto-slides/
References

Reproducible authoring with Quarto - 2022 Toronto Workshop on Reproducibility with Mine Çetinkaya-Rundel (slides: https://mine-cetinkaya-rundel.github.io/2022-repro-toronto/).
Reproducible Publications with Julia and Quarto - JuliaCon 2022 with J.J. Allaire (slides: https://jjallaire.github.io/quarto-juliacon-2022).
Workshop: Welcome to Quarto 2-hour Workshop - RStudio Meetup: Welcome to Quarto 2-hour Workshop by Tom Mock (slides: https://jthomasmock.github.io/quarto-2hr-webinar/).  https://jthomasmock.github.io/quarto-2hr-webinar/materials/01-intro-quarto.html#/TitleSlide

Presentation

There are few examples here https://github.com/mcanouil/awesome-quarto#presentations
https://github.com/mcanouil/quarto-cli

Other references

https://quarto.org/docs/extensions/

https://github.com/quarto-ext/fontawesome

https://quarto.org/docs/extensions/listing-revealjs.html

Tutorials

https://thedatasavvycorner.com/blogs/03-quarto-github-actions
https://posit-conf-2023.github.io/quarto-r/

https://github.com/quarto-dev/quarto-cli/discussions/6913
https://github.com/posit-conf-2023/quarto-r/blob/main/_quarto.yml
https://github.com/posit-conf-2023/quarto-r/tree/main

Can render slides here http://mxochicale.github.io/tools/#/title-slide using some of these exmaples https://github.com/quarto-dev/quarto-web/tree/main/docs/presentations/revealjs/demo

adds arrows ef13829  5e7db93  based on  https://quarto.org/docs/reference/formats/presentations/revealjs.html

Trying 96432ab
FROM
You can reference emojis in text by writing :wave: to get 👋. The full list of emoji codes is available here.
( This is a good list of what overall YAML options are available.)

[ ] Let's try to incorporate some of these features https://github.com/saforem2/slides-template

Testing themes from https://quarto.org/docs/presentations/revealjs/themes.html
beige
blood
dark
default
league
moon
night
serif
simple
sky
solarized

Don't work

[ ] http://mxochicale.github.io/tools/slides/index00.html#/title-slide
[ ] http://mxochicale.github.io/tools/slides/index01.html#/title-slide

Listing: http://mxochicale.github.io/tools/


fix(nuxt): definePageMeta props set true

🔗 Linked issue
https://github.com/nuxt/nuxt/pull/29586

📚 Description
Sorry for this, I find that, in this pull request, this judgment condition has some effect.
// /pages/[params]/[id].vue
// not work
definePageMeta({
   props: true,
})

if (property.value.type !== 'Literal' || (typeof property.value.value !== 'string' && typeof property.value.value !== 'boolean')) {

Please recheck this. @danielroe
Thank you very much❤

I find this always false.. then the props is deleted. When set props: true


[feature request] bloblang support for raw string literal

It is very cumbersome and frustrating to write regular expressions or access object keys without raw string literals.
need support for this
# now
foo.re_match(“[0-9][0-9]\\.”)

# want
foo.re_match('[0-9][0-9]\.')
# or
foo.re_match(`[0-9][0-9]\.`)

Hey @fearfate, please try the following:
foo.re_match("""[0-9][0-9]\.""")


[OSF-8247] Fix Fork completion failure email language

Purpose
Forking emails and error messages have bad, casing, grammar and language. This fixes that.
Changes
Language and textual changes.

Fork completed email should have the node title rather than the fork title;
The line that says that they can opt-out of this type of email;
Changed to sentence case from title case on the subject of the email;
Used suggested wording for forking notification;
Adjusted wording of body of success email based on suggestion and made it more compact;
On failure email, re-worded so user sees that they can visit the original project, not the failed fork.

QA Notes
This should now match the language described in the original ticket.
Please verify that at least one other HTML email still gives the unsubscribe option.
Side Effects
None that I know of.
Ticket
https://openscience.atlassian.net/browse/OSF-8247

@Johnetordoff This looks all good, but please take a look at the changes I made to your PR description. This will be much more useful to testers to understand the changes and the consequences of those changes. If you could do PRs more like this in the future, you would save a lot of QA time and effort. Thanks!


Joulescope flagged as virus by G DATA

Joulescope model
JS110
UI version
other
What OS are you seeing the problem on?
Windows 10
What happened?
Execution of file Joulescope.exe is blocked by GData Antivirus due to detected presence of Gen:Variant.Tedy.474701.
What was expected?
Execution of Joulescope.exe should not be falsely blocked by an antivirus software.
How to reproduce?

Run G DATA Security Client
Try to execute Joulescope.exe
Observe that the G DATA Monitor blocks the execution.

Extra information
According to VirusTotal, 16/72 Antivirus services detect a virus in Joulescope.exe: https://www.virustotal.com/gui/file/c2ff95bfb6e5b9570524651191a3731588da70b7d7634008b452fff5d5fcdd05/details
Current workaround is placing Joulescope.exe in the list of exceptions. This is however not ideal in a corporate setting, where exceptions are undesired and/or fully prohibited, preventing the use of the Joulescope UI.

Please report this file as a false positive to GData.  I have already reported it to Microsoft and BitDefender.  Please see the full post on the forum.
Unfortunately, this is most likely not a problem with the Joulescope UI, but with PyInstaller being flagged as malicious.  We will continue to work with the anti-virus vendors to get this likely false positive cleared.

Thank you for the fast answer and the detailed forum post. I will go back to 1.0.31 and try again in a couple of days.

Fixed by 1.0.42.
Joulescope UI 1.0.42 (download) scans clean on VirusTotal!
In addition to fixing the anti-virus false positive detections, this release also includes the new JS220 soft-fuse and offset calibration. You can view the full changelog.
We solved this issue by switching our distribution approach from PyInstaller to Nuitka. We are also now a proud Nuitka sponsor with full access to Nuitka commercial, which will also help us better manage any false positive anti-virus detections in the future.

I can confirm that there is no issue with GData. Thank you for the quick fix.


Total number of integrations fix

Description
This PR fixes #1248
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

@Kumar-Monisankar-Basu Let's discuss this on the Websites call. Please add this as an agenda item in the meeting minutes if you would. :)

Thank you @Kumar-Monisankar-Basu


Not reloading feed

When I switch to another account it won't refresh/reload feed, I saw my previous account clouts. (I liked, reclouted, diamond) all show previous account details.

yeah, i have experienced this sometimes.
the only solution is to reload the page.

But i can be fix as same when change name and page it reload feed also on switch account

If you know fix - best is to submit a PR with the fix. Its more likely to get fixed then.


build/static/js folder showing all actual components

I created a simple create-react-app. After creating build(by npm run build) I see only some .js and .map files within build/static/js folder. But I see and can access all my component files and node_modules folder while running in browser from my local through serve -s build.
How can I hide actual component files?
Please help me on that.
#7662

Thanks.

Unless there is something wrong with the output of the build directory I don't see how this is relevant to create-react-app. Please create an issue with serve package if there are any access issues.


New issue template for customers wanting to report CDN issues with anaconda.org

Checklist

[X] I added a descriptive title
[X] I searched open requests and couldn't find a duplicate

What is the idea?
I propose that we point users to conda/infrastructure for reporting issues about CDN propagation delays (or other CDN issues).  For this, I would suggest a new Issue template that required them to provide extra details that would aid with a response.  We intend to integrate our monitoring to detect user-reported issues of this type so we can be proactive when they occur.
If conda/infrastructure is not the right place, I'm happy to request this from elsewhere.
Why is this needed?
When investigating CDN issues, extra details are often needed to quickly diagnose a user-reported problem.  A new issue template could help responders act more quickly if those details were required.
What should happen?
I new issue template is created and made available from the New Issue template chooser in GitHub.

Additional Context
The new extra fields we would like to request are:

The channel(s) affected
When the problem was first detected
Whether the problem concerns:

repodata completeness
package download speed
channel availability / accessibility
Other

[optional] Example packages or URLs to investigate
[optional] output of curl -I EXAMPLE_URL
[optional] Urgency

not stale


[improve][cli] Option to create replicated subscriptions in pulsar-perf txn

Motivation
Add option to create replicated subscription in pulsar-perf transaction.
Modifications

-rs, --replicated to create replicated subs. --replicated is the same that it's in pulsar-perf consume.
Added -rs also to pulsar-perf consume for consistency
FIxed leaks in perf tests

Documentation

[x] doc-not-needed

Codecov Report

Merging #18904 (1331041) into master (1be5a69) will increase coverage by 2.98%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master   #18904      +/-   ##
============================================
+ Coverage     33.99%   36.98%   +2.98%
+ Complexity     6476     1965    -4511
============================================
  Files           623      209     -414
  Lines         59103    14402   -44701
  Branches       6147     1569    -4578
============================================
- Hits          20095     5327   -14768
+ Misses        36347     8493   -27854
+ Partials       2661      582    -2079

Flag
Coverage Δ

unittests
36.98% <ø> (+2.98%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

.../apache/pulsar/client/impl/BatchMessageIdImpl.java
67.50% <0.00%> (-4.73%)
:arrow_down:

...rg/apache/pulsar/client/impl/PulsarClientImpl.java
43.85% <0.00%> (-0.95%)
:arrow_down:

...va/org/apache/pulsar/client/impl/ProducerImpl.java
16.83% <0.00%> (-0.17%)
:arrow_down:

...ache/pulsar/broker/service/SubscriptionOption.java

...he/pulsar/broker/service/AbstractSubscription.java

...pache/pulsar/compaction/CompactedTopicContext.java

...service/schema/BookkeeperSchemaStorageFactory.java

...e/pulsar/common/naming/NamespaceBundleFactory.java

...service/nonpersistent/NonPersistentDispatcher.java

.../SchemaRegistryServiceWithSchemaDataValidator.java

... and 411 more


AsyncImage - Failed to load image

Versions

Python: v3.5.3
OS: Debian GNU/Linux 9
Kivy: v1.11.0.dev0, git-1828af3, 20180623
Kivy installation method: pipenv install --skip-lock git+http://github.com/kivy/kivy.git#egg=kivy-1.10.1

Description
I tried using AsyncImage to load https://cdn-images-1.medium.com/max/800/1*RO3AhbppPUFJBZwt3gUW-A.png which is failing with error HTTP Error 403: Forbidden
Possible Solution: Adding proper headers before making the request using urllib as being done here in loader module
Code and Logs
main.py
from kivy.config import Config
Config.set('kivy', 'log_level', 'debug')

from kivy.app import App

class TestApp(App):
    def build(self):
        self.load_kv('./main.kv')

if __name__ == '__main__':
    TestApp().run()

main.kv
BoxLayout
    AsyncImage
        source: 'https://cdn-images-1.medium.com/max/800/1*RO3AhbppPUFJBZwt3gUW-A.png'
        canvas:
            Color:
                rgb: [1, 1, 1]
            Rectangle:
                texture: self.texture
                size: self.width + 20, self.height + 20
                pos: self.x - 10, self.y - 10

python main.py (logs)
[INFO   ] [Logger      ] Record log in /home/realslimshanky/.kivy/logs/kivy_18-07-18_83.txt
[INFO   ] [Kivy        ] v1.11.0.dev0, git-0471549, 20180718
[INFO   ] [Python      ] v3.5.3 (default, Jan 19 2017, 14:11:04)
[GCC 6.3.0 20170118]
[INFO   ] [Factory     ] 194 symbols loaded
[DEBUG  ] [Cache       ] register <kv.lang> with limit=None, timeout=None
[DEBUG  ] [Cache       ] register <kv.image> with limit=None, timeout=60
[DEBUG  ] [Cache       ] register <kv.atlas> with limit=None, timeout=None
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
[DEBUG  ] [Cache       ] register <kv.texture> with limit=1000, timeout=60
[DEBUG  ] [Cache       ] register <kv.shader> with limit=1000, timeout=3600
[DEBUG  ] [App         ] Loading kv <./test.kv>
[DEBUG  ] [App         ] kv <./test.kv> not found
[DEBUG  ] [App         ] Loading kv </home/realslimshanky/Kivy/app/main.kv>
[DEBUG  ] [Window      ] Ignored <egl_rpi> (import error)
[INFO   ] [Window      ] Provider: sdl2(['window_egl_rpi'] ignored)
[INFO   ] [GL          ] Using the "OpenGL" graphics system
[DEBUG  ] [GL          ] glShaderBinary is not available
[INFO   ] [GL          ] Backend used <gl>
[INFO   ] [GL          ] OpenGL version <b'3.0 Mesa 13.0.6'>
[INFO   ] [GL          ] OpenGL vendor <b'Intel Open Source Technology Center'>
[INFO   ] [GL          ] OpenGL renderer <b'Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) '>
[INFO   ] [GL          ] OpenGL parsed version: 3, 0
[INFO   ] [GL          ] Shading version <b'1.30'>
[INFO   ] [GL          ] Texture max size <8192>
[INFO   ] [GL          ] Texture max units <32>
[DEBUG  ] [Shader      ] Fragment compiled successfully
[DEBUG  ] [Shader      ] Vertex compiled successfully
[DEBUG  ] [ImageSDL2   ] Load </home/realslimshanky/.local/share/virtualenvs/app-o_-EAHWa/lib/python3.5/site-packages/kivy/data/glsl/default.png>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
[DEBUG  ] [Cache       ] register <kv.loader> with limit=500, timeout=60
[INFO   ] [Loader      ] using a thread pool of 2 workers
[DEBUG  ] [ImageGIF    ] Load </home/realslimshanky/.local/share/virtualenvs/app-o_-EAHWa/lib/python3.5/site-packages/kivy/data/images/image-loading.gif>
[DEBUG  ] [Base        ] Create provider from mouse
[INFO   ] [Base        ] Start application main loop
[ERROR  ] [Loader      ] Failed to load image <https://cdn-images-1.medium.com/max/800/1*RO3AhbppPUFJBZwt3gUW-A.png>
Traceback (most recent call last):
  File "/home/realslimshanky/.local/share/virtualenvs/app-o_-EAHWa/lib/python3.5/site-packages/kivy/loader.py", line 317, in _load_urllib
    fd = urllib_request.urlopen(filename)
  File "/usr/lib/python3.5/urllib/request.py", line 163, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.5/urllib/request.py", line 472, in open
    response = meth(req, response)
  File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.5/urllib/request.py", line 510, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 590, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden
[DEBUG  ] [Atlas       ] Load </home/realslimshanky/.local/share/virtualenvs/app-o_-EAHWa/lib/python3.5/site-packages/kivy/data/images/defaulttheme.atlas>
[DEBUG  ] [Atlas       ] Need to load 1 images
[DEBUG  ] [Atlas       ] Load </home/realslimshanky/.local/share/virtualenvs/app-o_-EAHWa/lib/python3.5/site-packages/kivy/data/images/defaulttheme-0.png>
[DEBUG  ] [ImageSDL2   ] Load </home/realslimshanky/.local/share/virtualenvs/app-o_-EAHWa/lib/python3.5/site-packages/kivy/data/images/defaulttheme-0.png>

Seems this host is filtering on the user agent, we can open the url with clients like eog which display fine, or with wget, but not with GET (link to lwp-request a perl script, on my system), using a GET command from an http shell, only changing user-id makes the issue come and go. So we could certainly change the user agent in kivy, but you never know what will be the policy of the server, so it's not going to be a proper general solution.

Thinking a bit more, the actual issue is that you can't set the required parameter on the loader class from user code, It seems like the simple solution would be to give a global kivy option, something like "useragent", in a new "network" section. and use this value in both UrlRequest and Loader (as it uses urllib directly).

Thanks @tito, works like a charm :taco:

New testing "Add a color to the background of a custom layouts rule/class" from [https://kivy.org/doc/stable/guide/widgets.html] but same problem:
[ERROR  ] [Loader      ] Failed to load image <http://www.everythingzoomer.com/wp-content/uploads/2013/01/Monday-joke-289x277.jpg>
Traceback (most recent call last):
  File "/Applications/Kivy3.app/Contents/Resources/venv/lib/python3.6/site-packages/kivy/loader.py", line 342, in _load_urllib
    fd = opener.open(request)
  File "/Applications/Kivy3.app/Contents/Frameworks/python/3.6.5/lib/python3.6/urllib/request.py", line 532, in open
    response = meth(req, response)
  File "/Applications/Kivy3.app/Contents/Frameworks/python/3.6.5/lib/python3.6/urllib/request.py", line 642, in http_response
    'http', request, response, code, msg, hdrs)
  File "/Applications/Kivy3.app/Contents/Frameworks/python/3.6.5/lib/python3.6/urllib/request.py", line 570, in error
    return self._call_chain(*args)
  File "/Applications/Kivy3.app/Contents/Frameworks/python/3.6.5/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/Applications/Kivy3.app/Contents/Frameworks/python/3.6.5/lib/python3.6/urllib/request.py", line 650, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden

What am I doing wrong?  What am I missing? (Note: Just copy/paste code from site)


App does not work anymore (Android 8, 9, 10, 11, ..)

This app seems to require read access to /system/build.prop which not granted to apps anymore. I am not sure which Android version was the last one that allows to do so but on Android 8 and later it does not work anymore.
Unfortunately this is not visible to the user as the app does swallow all error messages instead of logging them on logcat.
Therefore the app can not work anymore.

Consequently, should this issue be primarily that this software should provide any errors via logcat rather than deliberately suppress them (if it is)?


query_df returning unexpected value when the columns are using Date32 and date before 1970-01-01

Describe the bug
Hi, my team is working on a migration from SF to CH and we encountered an issue when using query_df to read columns of Date32 data type. The API would return incorrect value if the date is before 1970-01-01. We have checked that the data stored within CH is right, and use query API to read the raw results is also correct.
Steps to reproduce

Create a test table using Nullable(Date32)
Use the query_df to read the table

Expected behaviour
The returned result should match the result stored in DB
Code example
DROP TABLE IF EXISTS TEST_DATE32;

CREATE TABLE TEST_DATE32 (
    `timestamp` Nullable(Date32),
    `event_id` UInt8
)
ENGINE = ReplicatedMergeTree
ORDER BY ();

INSERT INTO TEST_DATE32 VALUES ('2001-01-01', 1), ('1969-01-01', 2);

SELECT * FROM TEST_DATE32

import clickhouse_connect

def getClickhouseConnection(db, env):
    return clickhouse_connect.create_client(
        username=env.get('CLICKHOUSE_DATABASE_USER') if env else os.getenv('CLICKHOUSE_DATABASE_USER'),
        password=env.get('CLICKHOUSE_DATABASE_PWD') if env else os.getenv('CLICKHOUSE_DATABASE_PWD'),
        host=env.get('CLICKHOUSE_DATABASE_HOST') if env else os.getenv('CLICKHOUSE_DATABASE_HOST'),
        port = 443,
        interface='https',
        secure=True,
        database=db,
        settings = {
            'mutations_sync': 2,
            'replication_alter_partitions_sync': 2
        }
    )

def readTabelCH(table, schema, env=None):
    with getClickhouseConnection(schema, env) as chConn:
        query = f"SELECT * FROM {table}"
        df = chConn.query_df(query)
        return df

readTabelCH("TEST_DATE32", "<YOUR_DB_NAME>", env=env)

The result returned would be

Configuration
Environment

clickhouse-connect version: 0.6.6
Python version: 3.8.16
Operating system: MacOS 13.6 (22G120)

ClickHouse server

ClickHouse Server version:
ClickHouse Server non-default settings, if any:
CREATE TABLE statements for tables involved:

CREATE TABLE TEST_DATE32 (
    `timestamp` Nullable(Date32),
    `event_id` UInt8
)
ENGINE = ReplicatedMergeTree
ORDER BY ();

Sample data for these tables, use clickhouse-obfuscator if necessary

INSERT INTO TEST_DATE32 VALUES ('2001-01-01', 1), ('1969-01-01', 2);

Thanks for the report!  This should be fixed in the latest 0.6.17 release, it was an incorrect use of an unsigned numpy type.

Thanks for the report! This should be fixed in the latest 0.6.17 release, it was an incorrect use of an unsigned numpy type.

Thanks for the reply, will upgrade to new version and try again.


Add input modes

This PR adds input modes to Papyros. Currently, a select is used to choose between SingleLine and Batch mode (represented by the InputMode enum). The input handling functionality has been moved to a separate class called InputManager to deal with (re)rendering of the input area.
SingleLine mode employs an input field that is able to contain a single line and is cleared upon consumption.

.
Batch mode is the default and is the same as before, a multiline textarea that is not cleared.
Remaining questions:
Naming of the modes (especially a good translation to Dutch is not straightforward)
Support for more modes? Currently Batch mode is actually a hybrid as you can also still type while running if there is not enough input. This might not be desirable in Batch mode, but maybe in a new Hybrid mode?
Styling? A select near the input field, or rather in a separate settings section? If we only want 2 input modes, a toggle could suffice instead of a select field with dreaded translations?
Closes #68

Possible naming:
English

on demand, interactive, just-in-time, synchrone
preset, asynchrone

Dutch

op aanvraag, interactief, synchroon
vooraf ingesteld, asynchroon

Optimal "hybrid" approach still seems the possibility to enter answers interactively in the same edit panel where the prompt appears (with a blinking cursor indicating that input is expected), after lines from a preset input have been consumed first. UI-wise this seems the most challenging, but CodeMirror seems to provide some support for this.

@bmesuere Following your remarks, there would not be a third/hybrid mode? Should batch mode throw an error when no more input is found, instead of waiting and accepting enter-presses?

No, I would focus the text area in that case and display an additional message

How would this work together with the link you mentioned to switch modes? Or is this by default active in Batch mode then?

Current visuals for in interactive mode:

Generically making only a part of the switching text a link is not very straightforward, so currently all of it functions as a clickable toggle.

How would this work together with the link you mentioned to switch modes? Or is this by default active in Batch mode then?

Yes, I think the way you implemented it right now is ok, except for maybe an additional help message if still waiting in batch mode.

Yes, I think the way you implemented it right now is ok, except for maybe an additional help message if still waiting in batch mode.

I'm thinking of making it a tooltip when they hover of the input area, or should I add a small question mark icon that they can hover over for help, or even something else?

Already looks pretty good. Some suggestions:

Couldn't you put short instructions like "Enter your code here." or "Enter your input here." as default text in the editor and the input, to make clear what's expected from the user (disappears as soon as user starts editing)
When switching to interactive mode, the edit field already contains some spaces. Would be easier if these weren't there.
Is the flow clear if users switch between input and interactive mode while running code? Maybe we should disable switching between both modes while code is running.
When switching away from and back to interactive mode, the previous batch input has disappeared. I would keep the input upon switching, but only use it when in interactive mode.
Do we want to keep the interactivity of "batch mode" as is. Now, if the input of the batch mode is exhausted and more input is requested, you can still type additional input in the input field. Maybe it's more predictable if the batch input field is set in readonly mode while running code, and when all input is consumed and more input is requested, we could automatically switch to interactive mode as a sign that more input is requested by the execution.
We could even think about highlighting the line of input that will be read next in the readonly input field (might be useful later when we introduce debugging).

Placeholder text doesn't work since we give the input field automatic focus if waiting waiting for input
I wouldn't add default text to the code editor itself. You will have to remove this manually every time you open the editor with only a small first time benefit
I also noticed the extra spaces
Agreed with disable switching if running, but I wouldn't make this a priority
Batch input should indeed stay in the text area when switching to interactive mode and back
I would not switch to interactive mode when the batch input is exhausted. The current behaviour with an info message telling to add input seems clear to me and the expected thing to do. The additional lines will be part of the input on next run where this wouldn't be the case if you actually switched modes.
I wouldn't bother with highlighting lines for now. If not paused for debugging, this will almost never be visible or flash very rapidly.

Placeholder text doesn't work since we give the input field automatic focus if waiting waiting for input

Even when focused, the placeholder is still there if the field is empty. Or is this a browser specific thing? It works just fine for me.

I wouldn't add default text to the code editor itself. You will have to remove this manually every time you open the editor with only a small first time benefit

There is no default text that needs removing. The code editor just also has a placeholder that is cleared when code is entered.

I also noticed the extra spaces

This was a formatting issue when using backticks in JavaScript and has been resolved.

Agreed with disable switching if running, but I wouldn't make this a priority

Currently, I added an automatic switch to interactive mode when there is no more input in batch mode, combined with @pdawyndt 's suggestion to keep track of the previous batch input. If such a switch occurs during a run, the mode is also restored at the end of the run.

Batch input should indeed stay in the text area when switching to interactive mode and back

This has been implemented.

I would not switch to interactive mode when the batch input is exhausted. The current behaviour with an info message telling to add input seems clear to me and the expected thing to do. The additional lines will be part of the input on next run where this wouldn't be the case if you actually switched modes.

I implemented that, so you can tyr it out. If you still dislike it, then I can revert it.

Maybe add status messages to status bar at the bottom of the CM6 editor, as in this example from CM6 itself (see bottom of page).

Use same font in "Output" and "Input" panels as in code editor.

Dodona uses this font stack for code: Monaco, Menlo, "Ubuntu Mono", Consolas, source-code-pro, monospace

@winniederidder there seems to be a type issue while deploying

Managed to reproduce it by removing node_modules, looking into the dependency issue now.

@bmesuere I openend an issue over on CodeMirror as I believe this is due to a recent new version of @codemirror/state. This explains why I needed to reinstall node_modules before encountering this issue myself.

I also have the default font (Windows 10, Chrome).
I'm still in favor of switching to CodeMirror for the output panel. Features like line numbers, no-wrapping are also useful for this panel, and probably also some of the other features in future iterations.

After we get 0.1 out of the door, we should probably focus on consolidating the code and restructuring things a bit. For example, the InputManager class now contains logic to pass around input using the buffers, the logic to switch between input modes, the code to render the input and even some css. I won't open the discussion now, but this doesn't seem very manageable if we further extend the functionalities op Papyros.

By using Tailwind, the css is inlined in the classes, so any rendering code in this application will contain css in that sense.
As you describe it, the component takes care of sending input, handling the input mode and rendering, which sounds similar to the React approach I'm used to. Could you open a separate issue on this to elaborate further then on what the downsides are of this approach?

I was talking about the general stuff like the font stack that's in a variable, not the classes. Unless I'm missing something this could go in our css file.
The other stuff is bad separation of concerns. If you go over the input manager class, it's full of "if mode is this, do that; otherwise do something else" this is a clear code smell that the 2 input modes should be separate components (probably with a common super class ("InputProvider"?)). Its common interface should be to return the next input line. Another class should then "manage" these things, request lines from the right component and pass them to the worker.

Regarding button icons, the usage of MDI icons was discouraged. Which source can I use then @bmesuere ? This is to add the usual play/stop icons to the relevant buttons.

I created a new issue for the rework and some other elements to make sure they are remembered. (#76 )

Regarding button icons, the usage of MDI icons was discouraged. Which source can I use then @bmesuere ? This is to add the usual play/stop icons to the relevant buttons.

I would just inline the svg here


onScrollsToTop callback is never called

No matter where I put the ScrollsToTop widget in my app, the onScrollsToTop is never called.
I tried

at the very top level (in main.dart, around the home widget)
around the Scaffold of the widget which is containing the bottomNavigationBar
around the Scaffold of any other pages widget
around the ListView widget

I do have multiple navigators. One per tab in the bottom navigation bar.
How can I use the ScrollsToTop widget in this case?

Hey!
Please check Warning https://github.com/optimist-dev/scrolls_to_top#warning
"If you use several Navigators, the tap events will come only to the widgets inside the main Navigator"
Can you provide a minimal example and I'll try to figure out how to fix it?

Due to the fact that there has been no response for a long time, I am closing this thread. If the problem recurs, please write to this thread again

@otopba  Just FYI I also tried playing around with the repository but wasn't able to get it working. Since it isn't a high priority feature, we postponed it for now. Would love to deliver a reproducible example, but currently lack the time to do so.
Not entirely sure what you mean by "if you use several navigators". We use auto_route for our project, and have a bottom navigation bar that replaces different routes.
According to documentation you should wrap the content in Scaffold, but that wasn't sufficient apparently.


Running "git branch" in subshell includes current directory listing in output

On Ubuntu 15.10:
~$ uname -a
Linux spectre 4.2.0-34-generic #39-Ubuntu SMP Thu Mar 10 22:13:01 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
~$ git --version
git version 2.5.0

~$ git init odd
Initialized empty Git repository in /home/jason/odd/.git/
~$ cd odd
~/odd$ touch file_1 file_2
~/odd$ git add file_1
~/odd$ git commit -m "New file"
[master (root-commit) a7fc4c3] New file
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 file_1
~/odd$ git status -s
?? file_2
~/odd$ git branch
* master
~/odd$ echo $(git branch)
file_1 file_2 master

For emphasis:
~/odd$ ls $(git branch)
ls: cannot access master: No such file or directory
file_1  file_2
~/odd$

For some reason, git branch running in a subshell returns the current directory listing along with the output from the command itself.  I've tested a few other commands (rev-parse, show-ref, etc.) but those produce the expected results.  As far as I can tell, only the branch command has this odd behavior.
I removed my ~/.gitconfig to test whether it was source of this behavior and found that it is not.

Wrong place to report this bug.