runit_service errors when using Chef 14

Cookbook version
6.0.0
Chef-client version
14.0.202
Platform Details
Redhat 7.5 on AWS (ami-18726478)
Scenario:
WAR file based install of Jenkins 2.120
Steps to Reproduce:
I am using the following attributes:
default["jenkins"]["executor"]["timeout"] = 240
default["jenkins"]["master"]["install_method"] = "war"
default["jenkins"]["master"]["version"] = "2.120"

Expected Result:
Converge should be successful, the same configuration works fine on Chef 12, but fails on Chef 14.
Actual Result:
       Recipe: runit::default
         * packagecloud_repo[imeyer/runit] action add
           * yum_package[pygpgme] action install (up to date)
           * log[pygpgme_warning] action write (skipped due to not_if)
           * ruby_block[disable repo_gpgcheck if no pygpgme] action run (skipped due to not_if)
           * template[/etc/yum.repos.d/imeyer_runit.repo] action create
             - create new file /etc/yum.repos.d/imeyer_runit.repo
             - update content in file /etc/yum.repos.d/imeyer_runit.repo from none to 77af55
             --- /etc/yum.repos.d/imeyer_runit.repo     2018-05-18 21:40:09.495135134 +0000
             +++ /etc/yum.repos.d/.chef-imeyer_runit20180518-9911-1svhj6s.repo  2018-05-18 21:40:09.495135134 +0000
             @@ -1 +1,11 @@
             +[imeyer_runit]
             +name=imeyer_runit
             +baseurl=https://packagecloud.io/imeyer/runit/el/7/$basearch
             +repo_gpgcheck=1
             +gpgcheck=0
             +enabled=1
             +gpgkey=https://packagecloud.io/imeyer/runit/gpgkey
             +sslverify=1
             +sslcacert=/etc/pki/tls/certs/ca-bundle.crt
             +metadata_expire=300
             - change mode from '' to '0644'
             - restore selinux security context
           * execute[yum-makecache-imeyer_runit] action run
             - execute yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit
           * ruby_block[yum-cache-reload-imeyer_runit] action run
             - execute the ruby block yum-cache-reload-imeyer_runit
           * execute[yum-makecache-imeyer_runit] action nothing (skipped due to action :nothing)
           * ruby_block[yum-cache-reload-imeyer_runit] action nothing (skipped due to action :nothing)

         * yum_package[runit] action install
           - install version 0:2.1.2-3.el7.centos.x86_64 of package runit
         * service[runsvdir-start] action start (up to date)
         * service[runsvdir-start] action enable (up to date)
       Recipe: jenkins::_master_war
         * remote_file[/var/lib/jenkins/jenkins.war] action create
           - create new file /var/lib/jenkins/jenkins.war
           - update content in file /var/lib/jenkins/jenkins.war from none to 439787
           (file sizes exceed 10000000 bytes, diff output suppressed)
           - change owner from '' to 'jenkins'
           - change group from '' to 'jenkins'
           - restore selinux security context
       Recipe: <Dynamically Defined Resource>
         * service[jenkins] action nothing (skipped due to action :nothing)
       Recipe: jenkins::_master_war
         * runit_service[jenkins] action enable
           * ruby_block[restart_service] action nothing (skipped due to action :nothing)
           * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
           * directory[/etc/sv/jenkins] action create
             - create new directory /etc/sv/jenkins
             - change mode from '' to '0755'
             - restore selinux security context
           * template[/etc/sv/jenkins/run] action create
             - create new file /etc/sv/jenkins/run
             - update content in file /etc/sv/jenkins/run from none to 88d9dc
             --- /etc/sv/jenkins/run    2018-05-18 21:40:15.673500926 +0000
             +++ /etc/sv/jenkins/.chef-run20180518-9911-1nct5we 2018-05-18 21:40:15.673500926 +0000
             @@ -1 +1,20 @@
             +#!/bin/sh
             +
             +#
             +# This file was generated by Chef.
             +# Do NOT modify this file by hand.
             +#
             +
             +[ -r /etc/profile ] && . /etc/profile
             +
             +exec 2>&1
             +cd /var/lib/jenkins
             +touch jenkins.start
             +exec chpst -u jenkins: -U jenkins: \
             +  env HOME=/var/lib/jenkins \
             +  JENKINS_HOME=/var/lib/jenkins \
             +  java -Dmail.smtp.starttls.enable=true -Djenkins.install.runSetupWizard=false -jar jenkins.war \
             +  --httpPort=8080 \
             +  --httpListenAddress=<IP_ADDRESS> \
             +
             - change mode from '' to '0755'
             - restore selinux security context
           * directory[/etc/sv/jenkins/log] action create
             - create new directory /etc/sv/jenkins/log
             - restore selinux security context
           * directory[/etc/sv/jenkins/log/main] action create
             - create new directory /etc/sv/jenkins/log/main
             - change mode from '' to '0755'
             - restore selinux security context
           * directory[/var/log/jenkins] action create (up to date)
           * template[/etc/sv/jenkins/log/config] action create
             - create new file /etc/sv/jenkins/log/config
             - update content in file /etc/sv/jenkins/log/config from none to e3b0c4
             (no diff)
             - change mode from '' to '0644'
             - restore selinux security context
           * link[/var/log/jenkins/config] action create
             - create symlink at /var/log/jenkins/config to /etc/sv/jenkins/log/config
           * template[/etc/sv/jenkins/log/run] action create
             - create new file /etc/sv/jenkins/log/run
             - update content in file /etc/sv/jenkins/log/run from none to d76c77
             --- /etc/sv/jenkins/log/run        2018-05-18 21:40:15.785489431 +0000
             +++ /etc/sv/jenkins/log/.chef-run20180518-9911-149rexl     2018-05-18 21:40:15.784489533 +0000
             @@ -1 +1,9 @@
             +#!/bin/sh
             +
             +#
             +# This file was generated by Chef.
             +# Do NOT modify this file by hand.
             +#
             +
             +exec chpst -unobody logger -d -p local6.info -t [jenkins]
             - change mode from '' to '0755'
             - restore selinux security context
           * directory[/etc/sv/jenkins/env] action create
             - create new directory /etc/sv/jenkins/env
             - change mode from '' to '0755'
             - restore selinux security context
           * ruby_block[Delete unmanaged env files for jenkins service] action run (skipped due to only_if)
           * template[/etc/sv/jenkins/check] action create (skipped due to only_if)
           * template[/etc/sv/jenkins/finish] action create (skipped due to only_if)
           * directory[/etc/sv/jenkins/control] action create
             - create new directory /etc/sv/jenkins/control
             - change mode from '' to '0755'
             - restore selinux security context
           * link[/etc/init.d/jenkins] action create
             - create symlink at /etc/init.d/jenkins to /sbin/sv
           * file[/etc/sv/jenkins/down] action nothing (skipped due to action :nothing)
           * ruby_block[restart_service] action run
             * ruby_block[restart_service] action nothing (skipped due to action :nothing)
             * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
             * directory[/etc/sv/jenkins] action create (up to date)
             * template[/etc/sv/jenkins/run] action create (up to date)
             * directory[/etc/sv/jenkins/log] action create (up to date)
             * directory[/etc/sv/jenkins/log/main] action create (up to date)
             * directory[/var/log/jenkins] action create (up to date)
             * template[/etc/sv/jenkins/log/config] action create (up to date)
             * link[/var/log/jenkins/config] action create (up to date)
             * template[/etc/sv/jenkins/log/run] action create (up to date)
             * directory[/etc/sv/jenkins/env] action create (up to date)
             * ruby_block[Delete unmanaged env files for jenkins service] action run (skipped due to only_if)
             * template[/etc/sv/jenkins/check] action create (skipped due to only_if)
             * template[/etc/sv/jenkins/finish] action create (skipped due to only_if)
             * directory[/etc/sv/jenkins/control] action create (up to date)
             * link[/etc/init.d/jenkins] action create (up to date)
             * file[/etc/sv/jenkins/down] action nothing (skipped due to action :nothing)
             * directory[/etc/service] action create (up to date)
             * link[/etc/service/jenkins] action create
        - create symlink at /etc/service/jenkins to /etc/sv/jenkins
             * ruby_block[wait for jenkins service socket] action run
        - execute the ruby block wait for jenkins service socket

             ================================================================================
             Error executing action `run` on resource 'ruby_block[restart_service]'
             ================================================================================

             Mixlib::ShellOut::ShellCommandFailed
             ------------------------------------
             Expected process to exit with [0], but received '1'
             ---- Begin output of /sbin/sv -w '7' restart /etc/service/jenkins ----
             STDOUT: timeout: down: /etc/service/jenkins: 1s, normally up, want up
             STDERR:
             ---- End output of /sbin/sv -w '7' restart /etc/service/jenkins ----
             Ran /sbin/sv -w '7' restart /etc/service/jenkins returned 1

             Cookbook Trace:
             ---------------
             /tmp/kitchen/cache/cookbooks/runit/libraries/helpers.rb:174:in `tap'
             /tmp/kitchen/cache/cookbooks/runit/libraries/helpers.rb:174:in `safe_sv_shellout!'
             /tmp/kitchen/cache/cookbooks/runit/libraries/helpers.rb:202:in `restart_service'
             /tmp/kitchen/cache/cookbooks/runit/libraries/provider_runit_service.rb:56:in `block (3 levels) in <class:RunitService>'
             /tmp/kitchen/cache/cookbooks/runit/libraries/provider_runit_service.rb:282:in `block in <class:RunitService>'

             Resource Declaration:
             ---------------------
             # In /tmp/kitchen/cache/cookbooks/runit/libraries/provider_runit_service.rb

       53:         ruby_block 'restart_service' do
       54:           block do
       55:             action_enable
       56:             restart_service
       57:           end
       58:           action :nothing
       59:           only_if { new_resource.restart_on_update && !new_resource.start_down }
       60:         end
       61:

             Compiled Resource:
             ------------------
             # Declared in /tmp/kitchen/cache/cookbooks/runit/libraries/provider_runit_service.rb:53:in `block in <class:RunitService>'

             ruby_block("restart_service") do
        action [:nothing]
        default_guard_interpreter :default
        declared_type :ruby_block
        cookbook_name "jenkins"
        block #<Proc:0x0000000006b0a508@/tmp/kitchen/cache/cookbooks/runit/libraries/provider_runit_service.rb:54>
        block_name "restart_service"
        only_if { #code block }
             end

             System Info:
             ------------
             chef_version=14.0.202
             platform=redhat
             platform_version=7.5
             ruby=ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
             program_name=/opt/chef/bin/chef-client
             executable=/opt/chef/bin/chef-client

           * ruby_block[restart_log_service] action run
             * ruby_block[restart_service] action nothing (skipped due to action :nothing)
             * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
             * directory[/etc/sv/jenkins] action create (up to date)
             * template[/etc/sv/jenkins/run] action create (up to date)
             * directory[/etc/sv/jenkins/log] action create (up to date)
             * directory[/etc/sv/jenkins/log/main] action create (up to date)
             * directory[/var/log/jenkins] action create (up to date)
             * template[/etc/sv/jenkins/log/config] action create (up to date)
             * link[/var/log/jenkins/config] action create (up to date)
             * template[/etc/sv/jenkins/log/run] action create (up to date)
             * directory[/etc/sv/jenkins/env] action create (up to date)
             * ruby_block[Delete unmanaged env files for jenkins service] action run (skipped due to only_if)
             * template[/etc/sv/jenkins/check] action create (skipped due to only_if)
             * template[/etc/sv/jenkins/finish] action create (skipped due to only_if)
             * directory[/etc/sv/jenkins/control] action create (up to date)
             * link[/etc/init.d/jenkins] action create (up to date)
             * file[/etc/sv/jenkins/down] action nothing (skipped due to action :nothing)
             * directory[/etc/service] action create (up to date)
             * link[/etc/service/jenkins] action create (up to date)
             * ruby_block[wait for jenkins service socket] action run
        - execute the ruby block wait for jenkins service socket
             - execute the ruby block restart_log_service

           ================================================================================
           Error executing action `enable` on resource 'runit_service[jenkins]'
           ================================================================================

           Mixlib::ShellOut::ShellCommandFailed
           ------------------------------------
           ruby_block[restart_service] (/tmp/kitchen/cache/cookbooks/runit/libraries/provider_runit_service.rb line 53) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
           ---- Begin output of /sbin/sv -w '7' restart /etc/service/jenkins ----
           STDOUT: timeout: down: /etc/service/jenkins: 1s, normally up, want up
           STDERR:
           ---- End output of /sbin/sv -w '7' restart /etc/service/jenkins ----
           Ran /sbin/sv -w '7' restart /etc/service/jenkins returned 1

           Cookbook Trace:
           ---------------
           /tmp/kitchen/cache/cookbooks/runit/libraries/helpers.rb:174:in `tap'
           /tmp/kitchen/cache/cookbooks/runit/libraries/helpers.rb:174:in `safe_sv_shellout!'
           /tmp/kitchen/cache/cookbooks/runit/libraries/helpers.rb:202:in `restart_service'
           /tmp/kitchen/cache/cookbooks/runit/libraries/provider_runit_service.rb:56:in `block (3 levels) in <class:RunitService>'
           /tmp/kitchen/cache/cookbooks/runit/libraries/provider_runit_service.rb:282:in `block in <class:RunitService>'

           Resource Declaration:
           ---------------------
           # In /tmp/kitchen/cache/cookbooks/jenkins/recipes/_master_war.rb

            70: runit_service 'jenkins' do
            71:   sv_timeout node['jenkins']['master']['runit']['sv_timeout']
            72: end

           Compiled Resource:
           ------------------
           # Declared in /tmp/kitchen/cache/cookbooks/jenkins/recipes/_master_war.rb:70:in `from_file'

           runit_service("jenkins") do
             provider Chef::Provider::RunitService
             action :enable
             updated true
             updated_by_last_action true
             default_guard_interpreter :default
             service_name "jenkins"
             enabled false
             running false
             masked nil
             pattern "jenkins"
             status_command "/sbin/sv status /etc/service"
             supports {:restart=>true, :reload=>true, :status=>true}
             sv_bin "/sbin/sv"
             sv_dir "/etc/sv"
             service_dir "/etc/service"
             lsb_init_dir "/etc/init.d"
             log true
             restart_on_update true
             run_template_name "jenkins"
             log_template_name "jenkins"
             check_script_template_name "jenkins"
             finish_script_template_name "jenkins"
             sv_templates true
             sv_timeout 7
             log_dir "/var/log/jenkins"
             service_mirror # Declared in

           service("jenkins") do
             provider Chef::Provider::Service::Simple
             action [:nothing]
             default_guard_interpreter :default
             service_name "jenkins"
             enabled nil
             running nil
             masked nil
             pattern "jenkins"
             start_command "/sbin/sv start /etc/service/jenkins"
             stop_command "/sbin/sv stop /etc/service/jenkins"
             status_command "/sbin/sv status /etc/service/jenkins"
             restart_command "/sbin/sv restart /etc/service/jenkins"
             supports {:restart=>true, :reload=>true, :status=>true}
           end

             declared_type :runit_service
             cookbook_name "jenkins"
             recipe_name "_master_war"
           end

           System Info:
           ------------
           chef_version=14.0.202
           platform=redhat
           platform_version=7.5
           ruby=ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
           program_name=/opt/chef/bin/chef-client
           executable=/opt/chef/bin/chef-client

I encountered the same issue on Chef 13, as well as 12.22.5-1

Here's the changes it makes to /etc/sv/jenkins/run when going from Chef 12 -> Chef 14, which ends up causing the jenkins service to not be able to start:
Recipe: jenkins::_master_war
  * runit_service[jenkins] action enable
    * ruby_block[restart_service] action nothing (skipped due to action :nothing)
    * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    * directory[/etc/sv/jenkins] action create (up to date)
    * template[/etc/sv/jenkins/run] action create
      - update content in file /etc/sv/jenkins/run from a2893d to 88d9dc
      --- /etc/sv/jenkins/run	2018-08-18 01:35:30.579834161 +0000
      +++ /etc/sv/jenkins/.chef-run20181009-8299-172016f	2018-10-09 17:48:43.302170583 +0000
      @@ -1,15 +1,16 @@
       #!/bin/sh

       #
      -# This file was generated by Chef for jenkins.myorg.com.
      +# This file was generated by Chef.
       # Do NOT modify this file by hand.
       #

      +[ -r /etc/profile ] && . /etc/profile

       exec 2>&1
       cd /var/lib/jenkins
       touch jenkins.start
      -exec chpst -u jenkins:jenkins:tomcat -U jenkins:jenkins:tomcat \
      +exec chpst -u jenkins: -U jenkins: \
         env HOME=/var/lib/jenkins \
         JENKINS_HOME=/var/lib/jenkins \
         java -Dmail.smtp.starttls.enable=true -Djenkins.install.runSetupWizard=false -jar jenkins.war \
      - restore selinux security context
    * directory[/etc/sv/jenkins/log] action create (up to date)
    * directory[/etc/sv/jenkins/log/main] action create (up to date)
    * directory[/var/log/jenkins] action create (up to date)
    * template[/etc/sv/jenkins/log/config] action create (up to date)
    * link[/var/log/jenkins/config] action create (up to date)
    * template[/etc/sv/jenkins/log/run] action create
      - update content in file /etc/sv/jenkins/log/run from f861dd to d76c77
      --- /etc/sv/jenkins/log/run	2018-08-18 01:35:30.631834289 +0000
      +++ /etc/sv/jenkins/log/.chef-run20181009-8299-1nbykdj	2018-10-09 17:48:43.350170718 +0000
      @@ -1,7 +1,7 @@
       #!/bin/sh

       #
      -# This file was generated by Chef for jenkins.myorg.com.
      +# This file was generated by Chef.
       # Do NOT modify this file by hand.
       #

      - restore selinux security context

Perhaps it is only reproducible if the jenkins service user is a member of multiple groups? @tas50 any ideas on this one?

Also saw some entries in my /var/log/messages when the runit service was failing to start:
Oct  9 18:49:35 jenkins [jenkins]: chpst: fatal: unknown user/group: jenkins:
Oct  9 18:49:36 jenkins [jenkins]: chpst: fatal: unknown user/group: jenkins:
Oct  9 18:49:37 jenkins [jenkins]: chpst: fatal: unknown user/group: jenkins:
Oct  9 18:49:38 jenkins [jenkins]: chpst: fatal: unknown user/group: jenkins:
Oct  9 18:49:39 jenkins [jenkins]: chpst: fatal: unknown user/group: jenkins:

I am no longer running into this issue with runit cookbook 5.1.0 and jenkins cookbook 7.0.0


Fix bug when video_id doesn't exist

When running main.go, there is always one line added randomly in the output JSON file, with only a single value ('video_id': {}). Identify why this is happening during the data retrieval method and build case to avoid adding it to the file.

Hi, I thought that is because your file data "data/metadata/trending/trending_videos_metadata.csv"'s first row is
,video_id,video_url,trending_position,trending_date,trending_datetime .
It happen randomly becuse golang's map is not sort array, so when you use map it maybe randomly.
I can help you if you want to skip the first row of metadata.csv  or you just change your metadat format with delete first row.
:)

Fantastic thanks for explaining this. Feel free to submit PRs for any changes or improvements and I am happy to review them.


[AutoDiff upstream] Update @differentiable syntax.

Clean up unused syntax components and fix description strings.
Upstream PR: https://github.com/apple/swift/pull/28211

@swift-ci Please test tensorflow


Correction of batch_bool<floating point type,...>::operator[]

Hi there,
Many thanks for your fantastic library !
There's a small correction for batch_bool<T,...>::operator[] where T is a float or a double: sse and avx operations that give booleans (e.g. for operator<) actually fill all the bits in the results. It gives a -nan for a true or a 0 for a false if read as a double or a float. Unfortunately, these floating points values do not convert directly to the right boolean :(
In the PR, there are some additionnal tests for this topic.
Best regards.

Ooops... I've missed it, many thanks :) !

Thanks for adding some tests as well!
I would close the PR and open one from a feature branch, so that you don't pollute your local master branch with commits that are not upstream.


fix: cyclic dependency error while deploying through dropgz

This is a fix for the cyclic dependency in the dropgz deploy subcommand. The deploy command is trying to write a file that is already being executed by some other program.
This change renames the current dest as old one ( deleting the old dest if it exists) and then try to write the new content to the dest.

@vipul-21 as an aside from the content of this change, PRs are documentation. Please fill in the PR description so that

any teammember will be able to gather the context necessary to review your change, and
anyone in the future (ie you, in 6 months) will be able to look back at this PR and understand the problem you were attempting to fix, the proposed solution, and the context at this point in time.

There should have been a description template prepulated when you opened the PR, so I can only assume that you intentionally deleted that instead of filling it in with useful information.
This same thing applies to your commit history and messages - the commit history on this PR is an unreadable mess, but it should provide documentation which help the reader understand what changes are being made and why.
@timraymond maybe does the best job of this on the whole team, and this recent PR should be a good reference for you 🙂

Thank @rbtr for the review. I'll add the description for the PR. Regarding the commit messages, git is tracking everything since start for my PR, even though those comments are already merged. I need to make amends to my fork master branch because the diff only shows the last commit I made, but the PR includes all the commits so far.
Won't happen in the next PR. Thanks for the review, appreciate it :)

The commit history needs to be fixed in this PR. The docs for git rebase and git cherry-pick will help you. Do not update with merge commits. The commit history should contain only the commits related to this change.
In the future, make feature branches instead of committing directly to master (even on your fork), and don't reuse branches that have already been merged for a new set of changes. It will make it easier for you to rebase your changes on top of the latest upstream changes if you keep them well separated.

@rbtr There were 22 commits for rebase and had merge conflicts. So i created a separate branch with baseline as master and created the PR: https://github.com/Azure/azure-container-networking/pull/1586
Closing this one as that would be easier to review. Thanks Evan !


False positive when super class/interface resides in a transitive dependency and required for kapt

Plugin version
0.72.1-SNAPSHOT
Gradle version
6.8.3
Android Gradle Plugin (AGP) version
4.2.0
Describe the bug
Consider the following module graph:
app -> lib1 (impl), lib2 (impl)
lib1 -> lib2 (impl)
lib2

and class hierarchy:
// app:
@AnnotationProcessed
class Lib1InterfaceImpl : Lib1Interface
// lib1:
interface Lib1Interface : Lib2Interface
// lib2:
interface Lib2Interface

app module has kapt plugin applied and Lib1InterfaceImpl gets processed. We don't want to expose lib2 from lib1 so instead we require every consumer of lib1 to declare an explicit implementation dependency on lib2.
When running buildHealth or :app:projectHealth, the following advice is given regarding app module:
Advice for project :app
Unused dependencies which should be removed:
- implementation(project(":lib2"))

If we apply this advice, that is remove the dependency onlib2 from app, the latter fails to build:
> Task :app:kaptDebugKotlin FAILED
app/build/tmp/kapt3/stubs/debug/com/app/Lib1InterfaceImpl.java:7: error: cannot access Lib2Interface
public final class Lib1InterfaceImpl implements com.lib1.Lib1Interface {
             ^
  class file for com.lib2.Lib2Interface not found
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:kaptDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution
   > java.lang.reflect.InvocationTargetException (no error message)

To Reproduce
Repro project: https://github.com/technoir42/dependency-analysis-bug-repro, branch: superclass-bug.
Remove the dependency on lib2 from app and run ./gradlew :app:assembleDebug.
Expected behavior
If a super class/interface is required for kapt, the plugin does not recommend removing the dependency which contains such class/interface.

From what you've described, I would also expect you'd have advice for project :lib1 suggesting that you upgrade lib1 -> lib2 (impl) to lib1 -> lib2 (api). Is that the case? (If not, it's a bug in this plugin.)
The advice given by buildHealth is meant to be taken holistically. It is possible to follow one single piece and end up with a project that does not compile, for reasons you've discovered :)

We don't want to expose lib2 from lib1 so instead we require every consumer of lib1 to declare an explicit implementation dependency on lib2.

This is brittle behavior, and I would argue it violates the principles behind dependency management. lib2 is part of lib1 's ABI, so the most correct approach is to use the api configuration. If you insist, however, your best bet is to follow the instructions in the wiki here.


Not results generating?

I am following these commands. However, I am getting blank output file.
minimap2/minimap2 -x ava-pb -t8 pb-reads.fq pb-reads.fq | gzip -1 > reads.paf.gz
Layout
miniasm/miniasm -f reads.fq reads.paf.gz > reads.gfa
Command Message:
$./miniasm -f ../reference-e.coli.fasta ../overlaps.paf > ../Assembly.fasta
[M::main] ===> Step 1: reading read mappings <===
[M::ma_hit_read::0.0351.05] read 29586 hits; stored 45892 hits and 22946 sequences (165435970 bp)
[M::main] ===> Step 2: 1-pass (crude) read selection <===
[M::ma_hit_sub::0.0421.04] 3 query sequences remain after sub
[M::ma_hit_cut::0.0421.04] 0 hits remain after cut
[M::ma_hit_flt::0.0421.04] 0 hits remain after filtering; crude coverage after filtering: -nan
[M::main] ===> Step 3: 2-pass (fine) read selection <===
[M::ma_hit_sub::0.0421.04] 0 query sequences remain after sub
[M::ma_hit_cut::0.0421.04] 0 hits remain after cut
[M::ma_hit_contained::0.043*1.04] 0 sequences and 0 hits remain after containment removal
[M::main] ===> Step 4: graph cleaning <===
[M::ma_sg_gen] read 0 arcs
[M::main] ===> Step 4.1: transitive reduction <===
[M::asg_arc_del_trans] transitively reduced 0 arcs
[M::main] ===> Step 4.2: initial tip cutting and bubble popping <===
[M::asg_cut_tip] cut 0 tips
[M::asg_arc_del_multi] removed 0 multi-arcs
[M::asg_arc_del_asymm] removed 0 asymmetric arcs
[M::asg_pop_bubble] popped 0 bubbles and trimmed 0 tips
[M::main] ===> Step 4.3: cutting short overlaps (3 rounds in total) <===
[M::asg_arc_del_short] removed 0 short overlaps
[M::asg_arc_del_short] removed 0 short overlaps
[M::asg_arc_del_short] removed 0 short overlaps
[M::main] ===> Step 4.4: removing short internal sequences and bi-loops <===
[M::asg_cut_internal] cut 0 internal sequences
[M::asg_cut_biloop] cut 0 small bi-loops
[M::asg_cut_tip] cut 0 tips
[M::asg_pop_bubble] popped 0 bubbles and trimmed 0 tips
[M::main] ===> Step 4.5: aggressively cutting short overlaps <===
[M::asg_arc_del_short] removed 0 short overlaps
[M::main] ===> Step 5: generating unitigs <===
[M::main] Version: 0.3-r179
[M::main] CMD: ./miniasm -f /home/kumarm/RNA-Seq/e-coli-data/e.coli-reads.fasta /home/kumarm/RNA-Seq/e-coli-data/overlaps.paf
[M::main] Real time: 0.351 sec; CPU: 0.353 sec
/RNA-Seq/MinION-data/miniasm$

Has this problem been solved? I also met to

I met it, Show this problem"Command terminated by signal 9", the memory is not enough. But I don’t know how miniasm uses multithreading

It generate empty file, even on Galaxy EU/ORG platforms?

I have the same issue.... do you have some solution to it?

You may want to adjust your settings, as the tool seems to be expecting long reads by default and does some filtering...
e.g.: miniasm -1 -2 -m 30 -s 50 -o 50 -I 0.5 -f hq.fastq hq.paf.gz > hq.gfa for pretty loose settings...


Consider switching to SendGrid instead of Mandrill

it's free

Thanks for the heads up. Mandrill used to offer a free plan as well, but it looks like they dropped it from Heroku. Feel like submitting a PR?

Will try to yes. Switching to send grid was rather simple so far
--
Mark Silverberg
(m)<PHONE_NUMBER>
http://twitter.com/skram

On Jan 16, 2016, at 5:44 PM, Moncef Belyamani<EMAIL_ADDRESS>wrote:
Thanks for the heads up. Mandrill used to offer a free plan as well, but it looks like they dropped it from Heroku. Feel like submitting a PR?
—
Reply to this email directly or view it on GitHub.


[Feature Request] Inline DatePicker component

Existing Component
Yes
Component Name
DatePicker
Description
How do I use element-ui/packages/date-picker/src/panel/date.vue as a separate component. I need to show the calendar in a specific block on the page.
import DatePanel from 'element-ui/packages/date-picker/src/panel/date'
Vue.component('el-date-panel', DatePanel)

does not work for me
i'm novice in vue and node, please help
i'm need something like this: http://geoffzhu.cn/vue-event-calendar/
but by the Element components
tnx!

We have no plan to provide an inline Datepicker.

It's sad. But thanks for the answer!

@Leopoldthecoder Is there any particular reason? I can't imagine that implementing the option would be too difficult; I can work on a PR if needed. This seems to be a basic functionality provided by most other datepicker libraries, likely because it is often used.
If you think that there wouldn't be enough user interest, then maybe we can update the title to [Feature Request] Inline DatePicker component and keep this ticket open for a bit to see if there's any activity here.

Some response from the maintainers will be greatly appreciated here.
@Leopoldthecoder @QingWei-Li @baiyaaaaa

I have usercase to show inline date picker without any animation like simple div. It will be fine if you implement this feature.

Any future plans on this issue as it's been more than 2 years?

+1

+1

+1

Plz support inline picker!!

+1

1

+1

I'd suggest moving on. These two seem promising, and provide what you're looking for:
https://buefy.org/documentation/datetimepicker/#inline
https://bootstrap-vue.org/docs/components/calendar#overview

@a-kriya shipping yet another framework with the source code just to be able to use what's already present in the current one doesn't look very efficient. Lot's of people seem to need it and assuming this library still maintained, it would be really helpful if the team could consider the demand and to add the "inline" option to the existing picker.

@arthabus I thought it was clear that this library isn't actively maintained, and by moving on, I meant that the other two frameworks can be used instead (for new projects). For existing projects, standalone components (or a fork) are an option:
https://www.npmjs.com/package/vuejs-datepicker
https://vcalendar.io/

There is also an attempt to maintain a new fork (https://github.com/EOITek/element) but it doesn't seem to be active anymore. We use 10+ components from this library and I suspect that many others also do the same as this library has great coverage. It would be great if the maintainers are willing to create a poll and let other core maintainers take the decisions.
P.S: For example, we use week and year selector as well which is not available in most of the alternatives. VCalendar itself is 250kb minified and bigger than the bundled version of this library.

The core maintainers of this library are/were employees of Ele.me. It just looks like they've pulled resources from it.
If you really need an inline Element picker, then you'll likely have to fork and implement it yourself. Just saying that bumping this ticket is not gonna do much when the only maintainer who'd responded and closed this isn't even with Ele.me anymore.

TBH, I use CSS and invoke the JS internally as a workaround and it works even if it's nasty. I even created an issue and put a bounty on it (https://github.com/ElemeFE/element/issues/18175) but the core maintainers don't that they will rewrite the date picker logic so we need to wait for some time. It's been a long time though, we should probably create a fork in a near feature if the maintainers are not interested in it.
I see that you're one of the core maintainers of the library that you shared and that's reasonable for you to share your library here in this case. However; our app extensively uses Element and the app bundle is almost 2.5MB minified so we're conservative adding a new library and the switching cost is too high at the moment.

That's one way to do it. But I think Element has been bloated for a long time now (as it tried to cater to everyone) and maintaining a fork of it may be more trouble than worth (as evident with the fork that you shared above). For an enterprise project, we've kept it pinned to v2.3.6.
By the way, I've just contributed to Buefy, as I'd contributed to Element.

a-kriya  I thought it was clear that this library isn't actively maintained...

@a-kriya That's a bad news... Maybe it would make sense to indicate that in the readme then? Might be helpful for newcomers and for those who was hoping for fixes.

@arthabus Probably, but I'm just a user (and a small-time contributor), so that is not really up to me. The frequency of commits and releases, along with the # of open issues/PRs and activity within them is a good indicator of how a project is maintained, and this one hasn't been doing well with any of those for a while.

+1

+1

+1

+1

+1

+1

If something new desn't made. You can see below example to do inline date-picker component:
<style>
  .inline-datepicker {
    position: static !important;
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .inline-datepicker .el-popper__arrow {
    display: none;
  }
</style>

<template>
    <el-date-picker
        popper-class="inline-datepicker"
        :teleported="false"
        style="display: none!important"
    />
</template>


Performance with large datasets

It seems the performance limit is actually limited by the size of the GeoJSON.
At around 110MB the Electron app might crash. I tried writing to a GeoJSON file directly and then load it but it turns out performance is not that much better than my in memory objects.
The problem is more that we parse the PostgreSQL result (only once we received all rows) into real GeoJSON which might also take 2seconds. But just making the  110MB query from the database takes 5s to 10s so it might be still ok.
Also there might be a clustering optimization for points.
You can show 350k points and it works. But according to Mapbox we should be able to display millions of points.

around 100.000 ways still decent as performance, when i load 200.000 ways i get a white screen and i have to close the app
for nodes after<PHONE_NUMBER>00 nodes is start crushing

@lukasmartinelli [Geojson-VT] is the client js library that renders GeoJSON as vector tiles.  For very large GeoJSON data with a large number of features or attributes, the client web worker may run out of memory while loading the data into memory and render the vector tiles.  Is this what you're seeing right now?
If the data is geoJSON data is too big, the solution could be:

Chunk the data into several parts, and load as different sources into the client

        for (i=0; i<5; i++){
            map.addSource("route-" + i, {
                "type": "geojson",
                "data": 'http://localhost:8080/smaller-2.geojson',
                "maxzoom" : 15,
                "buffer": 1,
                "tolerance": 5
            });
        map.addLayer({
            "id": "route-" + i,
            "type": "line",
            "source": "route-" + i,
            "layout": {
                "line-join": "round",
                "line-cap": "round"
            },
            "paint": {
                "line-color": "red",
                "line-width": 1
            }
        });
    }

Note that client memory is still the upper limit as to what the client can buffer and store VT's on the fly.

Render Vector Tiles using a server-side tool such as Tippiecanoe or the Mapbox Uploads API.

If the data renders but the map performs poorly when the user interacts with it, clustering a GeoJSON point source or simplifying a vector tile source will help.

@lukasmartinelli Geojson-VT is the client js library that renders GeoJSON as vector tiles. For very large GeoJSON data with a large number of features or attributes, the client web worker may run out of memory while loading the data into memory and render the vector tiles. Is this what you're seeing right now?

Exactly that when I last did memory profiling.. but Geojson-VT is impressive.

If the data is geoJSON data is too big, a solution could be:
Chunk the data into several parts, and load as different sources into the client. Note that client memory is still the upper limit as to what the client can buffer and store VT's on the fly.
Render Vector Tiles using a server-side tool such as Tippiecanoe or the Mapbox Uploads API.

So if I want to fix this problem I could create the vector tiles on the Electron main process and then serve actual vector tiles to the chromium client? Essentially a PostGIS to vector tile tileserver on demand like tessera. I could then use PostGIS to ensure that not too much is loaded at once (or at least in the possibilities of vector tiles).
What do you think about that?
Serving the GeoJSON is not ideal - was just my quickest hack so far. And I was impressed that the client can handle the 100MB file.
The idea with the multiple sources is a nice one! I was astonished before that by having multiple sources I can display much more what is otherwise possible by having a single source for displaying millions of points - and know you explained the reason 👍
If you are already here and know a lot about Mapbox GL JS. I have a question if you don't mind 😁  Now the batch API is gone in Mapbox GL JS in the latest release (which I use in PostGIS editor as well).
How should  batch updates to a style be done in the newest version? Is that now done internally automatically and we don't have to worry?

@lukasmartinelli Yep, Batch updates are done automatically https://github.com/mapbox/mapbox-gl-js/blob/master/CHANGELOG.md#0170-april-13-2016

So if I want to fix this problem I could create the vector tiles on the Electron main process and then serve actual vector tiles to the chromium client? Essentially a PostGIS to vector tile tileserver on demand like tessera. I could then use PostGIS to ensure that not too much is loaded at once (or at least in the possibilities of vector tiles).

:+1:  Sounds solid.  Mapbox GL JS can handle almost any data size sourcing from Vector Tiles.

Render VT resources
Big VT Example


Remove OIDs from catalogs

We don't necessarily need to use them for our catalogs. They do simplify things slightly, but they're kind of a legacy feature of PostgreSQL and PG11 introduced a bug affecting dump/restore/upgrade of relations created WITH OIDS so let's just get rid of them.
We'll want to wait for a version upgrade to do this since it will require a catalog change. That change should be relatively straightforward though, something like:
ALTER TABLE pipelinedb.cont_query DROP COLUM oid;

We probably don't even need a new column to replace it with. We should have enough information in the catalogs to serve the same purpose.

Test


deploy-bdc-aks Notebook cell 17 connect to master throws exception

Issue Type: Bug
An unexpected error occurred while connecting. Please file an issue with the title 'Unexpected Error Occurred while Connecting' and include the log file C:\Users\pradm\AppData\Roaming\azuredatastudio\logs\20190730T231710\renderer1.log
The remderer1.log is empty and I notice the following in main.log
[2019-07-30 23:17:10.248] [main] [info] update#setState idle
[2019-07-30 23:17:40.251] [main] [info] update#setState checking for updates
[2019-07-30 23:17:40.532] [main] [info] update#setState idle
[2019-07-31 00:14:46.380] [main] [error] webContents#will-navigate: Prevented webcontent navigation
The output window for Log(Window) shows the exception
[2019-07-31 00:12:32.455] [renderer1] [info] Creating new connection dashboard://providerName:MSSQL|applicationName:azdata|authenticationType:SqlLogin|database:master|server:<IP_ADDRESS>,31433|user:sa|group:C777F06B-202E-4480-B475-FA416154D458
[2019-07-31 00:12:32.455] [renderer1] [info] Adding connection dashboard://providerName:MSSQL|applicationName:azdata|authenticationType:SqlLogin|database:master|server:<IP_ADDRESS>,31433|user:sa|group:C777F06B-202E-4480-B475-FA416154D458
[2019-07-31 00:12:32.455] [renderer1] [info] Successfully added connection dashboard://providerName:MSSQL|applicationName:azdata|authenticationType:SqlLogin|database:master|server:<IP_ADDRESS>,31433|user:sa|group:C777F06B-202E-4480-B475-FA416154D458
[2019-07-31 00:12:32.834] [renderer1] [error] OnConnectionComplete but no connection found 'connection://providerName:MSSQL|applicationName:azdata|authenticationType:SqlLogin|database:|server:<IP_ADDRESS>,31433|user:sa|group:undefined' Connections = [connection://providerName:MSSQL|applicationName:azdata|authenticationType:SqlLogin|database:|server:<IP_ADDRESS>,31433|user:sa|group:C777F06B-202E-4480-B475-FA416154D458,dashboard://providerName:MSSQL|applicationName:azdata|authenticationType:SqlLogin|database:master|server:<IP_ADDRESS>,31433|user:sa|group:C777F06B-202E-4480-B475-FA416154D458]
[2019-07-31 00:12:32.887] [renderer1] [error] Unexpected error occurred while connecting.: Error: Unexpected error occurred while connecting.
at ConnectionStatusManager.onConnectionComplete (file:///C:/Users/pradm/AppData/Local/Programs/Azure Data Studio - Insiders/resources/app/out/vs/workbench/workbench.main.js:164842:23)
at ConnectionManagementService.onConnectionComplete (file:///C:/Users/pradm/AppData/Local/Programs/Azure Data Studio - Insiders/resources/app/out/vs/workbench/workbench.main.js:221879:60)
at MainThreadDataProtocol.$onConnectionComplete (file:///C:/Users/pradm/AppData/Local/Programs/Azure Data Studio - Insiders/resources/app/out/vs/workbench/workbench.main.js:227181:47)
at RPCProtocol._doInvokeHandler (file:///C:/Users/pradm/AppData/Local/Programs/Azure Data Studio - Insiders/resources/app/out/vs/workbench/workbench.main.js:232825:27)
at RPCProtocol._invokeHandler (file:///C:/Users/pradm/AppData/Local/Programs/Azure Data Studio - Insiders/resources/app/out/vs/workbench/workbench.main.js:232810:45)
at RPCProtocol._receiveRequest (file:///C:/Users/pradm/AppData/Local/Programs/Azure Data Studio - Insiders/resources/app/out/vs/workbench/workbench.main.js:232742:32)
at RPCProtocol._receiveOneMessage (file:///C:/Users/pradm/AppData/Local/Programs/Azure Data Studio - Insiders/resources/app/out/vs/workbench/workbench.main.js:232670:26)
at RPCProtocol._protocol.onMessage (file:///C:/Users/pradm/AppData/Local/Programs/Azure Data Studio - Insiders/resources/app/out/vs/workbench/workbench.main.js:232560:52)
at Emitter.fire (file:///C:/Users/pradm/AppData/Local/Programs/Azure Data Studio - Insiders/resources/app/out/vs/workbench/workbench.main.js:10435:38)
at deliverMessages (file:///C:/Users/pradm/AppData/Local/Programs/Azure Data Studio - Insiders/resources/app/out/vs/workbench/workbench.main.js:32249:25)
at source (file:///C:/Users/pradm/AppData/Local/Programs/Azure Data Studio - Insiders/resources/app/out/vs/workbench/workbench.main.js:32255:13)
at Emitter.fire (file:///C:/Users/pradm/AppData/Local/Programs/Azure Data Studio - Insiders/resources/app/out/vs/workbench/workbench.main.js:10435:38)
at PersistentProtocol._receiveMessage (file:///C:/Users/pradm/AppData/Local/Programs/Azure Data Studio - Insiders/resources/app/out/vs/workbench/workbench.main.js:32480:37)
at PersistentProtocol._socketDisposables.push._socketReader.onMessage.msg (file:///C:/Users/pradm/AppData/Local/Programs/Azure Data Studio - Insiders/resources/app/out/vs/workbench/workbench.main.js:32358:83)
at Emitter.fire (file:///C:/Users/pradm/AppData/Local/Programs/Azure Data Studio - Insiders/resources/app/out/vs/workbench/workbench.main.js:10435:38)
at ProtocolReader.acceptChunk (file:///C:/Users/pradm/AppData/Local/Programs/Azure Data Studio - Insiders/resources/app/out/vs/workbench/workbench.main.js:32099:37)
at ProtocolReader._register._socket.onData.data (file:///C:/Users/pradm/AppData/Local/Programs/Azure Data Studio - Insiders/resources/app/out/vs/workbench/workbench.main.js:32068:61)
at Socket.listener (file:///C:/Users/pradm/AppData/Local/Programs/Azure Data Studio - Insiders/resources/app/out/vs/workbench/workbench.main.js:32637:40)
at ZoneDelegate.invokeTask (C:\Users\pradm\AppData\Local\Programs\Azure Data Studio - Insiders\resources\app\node_modules\zone.js\dist\zone-node.js:421:31)
at Zone.runTask (C:\Users\pradm\AppData\Local\Programs\Azure Data Studio - Insiders\resources\app\node_modules\zone.js\dist\zone-node.js:188:47)
at ZoneTask.invokeTask (C:\Users\pradm\AppData\Local\Programs\Azure Data Studio - Insiders\resources\app\node_modules\zone.js\dist\zone-node.js:496:34)
at Socket.ZoneTask.invoke (C:\Users\pradm\AppData\Local\Programs\Azure Data Studio - Insiders\resources\app\node_modules\zone.js\dist\zone-node.js:485:48)
at Socket.emit (events.js:182:13)
at addChunk (_stream_readable.js:283:12)
at readableAddChunk (_stream_readable.js:264:11)
at Socket.Readable.push (_stream_readable.js:219:10)
at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
C:\Windows\system32>kubectl get pods --all-namespaces
NAMESPACE       NAME                                    READY   STATUS    RESTARTS   AGE
kube-system     coredns-696c56cf6f-j7mpf                1/1     Running   0          53m
kube-system     coredns-696c56cf6f-mw68s                1/1     Running   0          48m
kube-system     coredns-autoscaler-bc55cb685-bgszl      1/1     Running   0          53m
kube-system     heapster-5678f88989-nkrm5               2/2     Running   0          48m
kube-system     kube-proxy-b48f5                        1/1     Running   0          49m
kube-system     kubernetes-dashboard-7b749f655b-82hks   1/1     Running   0          53m
kube-system     metrics-server-5b7d5c6f8d-ft7wj         1/1     Running   0          53m
kube-system     tunnelfront-549c594b8c-vh6r5            1/1     Running   0          53m
mssql-cluster   appproxy-77xxf                          2/2     Running   0          37m
mssql-cluster   compute-0-0                             3/3     Running   0          37m
mssql-cluster   control-z49sm                           3/3     Running   0          45m
mssql-cluster   controldb-0                             2/2     Running   0          45m
mssql-cluster   data-0-0                                3/3     Running   0          36m
mssql-cluster   data-0-1                                3/3     Running   0          36m
mssql-cluster   gateway-0                               2/2     Running   0          30m
mssql-cluster   logsdb-0                                1/1     Running   0          40m
mssql-cluster   logsui-kwndq                            1/1     Running   0          40m
mssql-cluster   master-0                                3/3     Running   0          36m
mssql-cluster   metricsdb-0                             1/1     Running   0          40m
mssql-cluster   metricsdc-2jd8p                         1/1     Running   0          40m
mssql-cluster   metricsui-sbwmc                         1/1     Running   0          40m
mssql-cluster   mgmtproxy-7g4f2                         2/2     Running   0          40m
mssql-cluster   nmnode-0-0                              1/1     Running   1          30m
mssql-cluster   sparkhead-0                             4/4     Running   0          30m
mssql-cluster   storage-0-0                             4/4     Running   0          36m
mssql-cluster   storage-0-1                             4/4     Running   0          36m
Azure Data Studio version: azuredatastudio-insiders 1.10.0-insider (6db84eefa36a9abf3bcfaa767289ec85f80c95ae, 2019-07-30T07:34:33.861Z)
OS version: Windows_NT x64 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz (12 x 2394)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.92GB (23.10GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

followed up offline and the issue has been resolved.

Just updating the solution that worked for this scenario; We updated the pandas package from 0.22.0 to 0.25.0 after launching ADS with elevated privileges and re-ran the statement again which worked. The cluster was stable and none of the PODS had any issues. This occurred when we were using deploy-bdc-aks notebook which was published as a part for CTP 3.2 release and in connect to master the hyperlink [Click here to connect to master SQL Server instance] was shown, once we clicked on the link the above error was shown.


Feature request - Add image id to container self metadata

It would be exceptionally useful to have access to the image id used to start a container. Both for debugging/troubleshooting and maybe to have access for display.
Something like:
curl rancher-metadata/latest/self/container/image_id
It looks like the data is already in the Instance model as getImageId() maybe it is as easy as exposing it on the ContainerMetaData class?

This would indeed be very useful.

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.


Help me display the answer in a textbox please already tried

Help me display the answer in a textbox please already tried everything and can not , and you know if she read the message

Windows Form...

The first question is not API related. The second one: use event system
Regards

When I send a message to a person she receives the message more when not answer me the message in the textbox am using the example WhatsAppPort


Recipe language switcher

Fixes #258

This pull request includes changes to the Sharp Cooking app, primarily focused on the introduction of a language switcher feature and updates to the app's URL. The language switcher allows users to select the language in which a recipe is written, influencing the parsing of recipe ingredients and steps. The URL updates reflect a change in the domain name for the app.
Here are the main changes:
URL updates:

CNAME: The domain name for the app was changed.
index.html: The URLs for the Open Graph and Twitter metadata were updated to reflect the new domain name.

Language switcher feature:

public/locales/en/translation.json, public/locales/pt/translation.json: Added new entries for the language switcher feature in both English and Portuguese. [1] [2] [3] [4]
src/components/RoundButton.vue: Created a new Vue component for round buttons, which is used for the language switcher button.
src/pages/options.vue: Added the language switcher to the options page, with the necessary state and event handlers. [1] [2] [3] [4] [5]
src/pages/recipe/[id]/edit.vue: Integrated the language switcher into the recipe editing page, allowing the language of a recipe to be changed. (src/pages/recipe/[id]/edit.vueR27-R28, src/pages/recipe/[id]/edit.vueR49, src/pages/recipe/[id]/edit.vueR59-R69, src/pages/recipe/[id]/edit.vueR84-R89, src/pages/recipe/[id]/edit.vueR123-R125, src/pages/recipe/[id]/edit.vueR151, src/pages/recipe/[id]/edit.vueL153-R175, src/pages/recipe/[id]/edit.vueR326, src/pages/recipe/[id]/edit.vueR377, src/pages/recipe/[id]/edit.vueR511-R515, src/pages/recipe/[id]/edit.vueR662-R670)


Fixed import parsing failures

This pull request fixes the https://github.com/jtangelder/sass-loader/issues/32
@jhnns Please review it

@akiran was this patch PR'd upstream by any chance?


having problem with resume download

I want to resume download a canceled file,I added ranges in header like this:
    if (targetFile.exists()) {
        long downloaded = targetFile.length();
        requestBuilder.addHeader("Ranges", "bytes=" + downloaded + "-");
    }

while I get a response header:
Date: Mon, 13 Apr 2015 07:41:08 GMT
Content-Type: application/octet-stream
Content-Length: 72940103
Last-Modified: Fri, 10 Apr 2015 03:28:28 GMT
Connection: keep-alive
Accept-Ranges: bytes
OkHttp-Selected-Protocol: http/1.1
OkHttp-Sent-Millis:<PHONE_NUMBER>075
OkHttp-Received-Millis:<PHONE_NUMBER>081

I checked ths request have a header
Ranges: bytes=7535104-
but it seems it didn't sent to server, and I confirmed the server is support Ranges.
and I have used interceptor for progress like the demo, is something messed up with this?

Can you please hook up a network interceptor to log the request headers? We should confirm that the header is being dropped before anything else.
(Using a tool like charlesproxy.com or Stetho is just as good.)

thanks for reply.
I've test it, it's like it has been dropped while it response
the original code is
client.networkInterceptors().add(new Interceptor() {
        @Override
        public Response intercept(Chain chain) throws IOException {
            Request request = chain.request();

            Log.e("", request.headers().toString());

            Response originalResponse = chain.proceed(request);

            Log.e("", originalResponse.headers().toString());

            return originalResponse.newBuilder()
                    .body(new ProgressResponseBody(originalResponse.body()))
                    .build();
        }
    });

first log
Ranges: bytes=7163808-
Connection: Keep-Alive
Accept-Encoding: gzip
User-Agent: okhttp/2.3.0
second
Date: Mon, 13 Apr 2015 13:15:31 GMT
Content-Type: application/zip
Content-Length: 72940103
Connection: keep-alive
Set-Cookie: __jsluid=30482be645cfabce41a46721efc6ba83; path=/
Last-Modified: Wed, 08 Apr 2015 10:02:01 GMT
ETag: "5524fc99-458fa47"
Accept-Ranges: bytes
X-Cache: pipe
OkHttp-Selected-Protocol: http/1.1
OkHttp-Sent-Millis:<PHONE_NUMBER>389
OkHttp-Received-Millis:<PHONE_NUMBER>496

It's possible that OkHttp's transparent Gzip is interfering. Consider adding Accept-Encoding: identity as a request header. Other than that, it could be a problem with your server not supporting range requests. What's the status code of the response?

There's no action for us to take here. If this is a bug report, please provide a test case. Otherwise it might be best to go to stackoverflow with this issue.

If anyone is here for the same problem, I believe Range is the name of the header instead of Ranges


Support CSV graphs and improve the look and feel

Preview: https://excalidraw-git-charts.excalidraw.vercel.app/
tldr: Support for more formats, better sensible defaults and other improvements for pasting charts.
The anatomy of the chart.

[x] Support copy/pasting CSV. You can basically write a few values in text editor and copy/paste the graph.
[x] Better approach with the labels (set the correct alignment).

[x] Y-axis label was changed to Title in the spreadsheet and now displayed in the middle on top of the chart.
[x] Max Y value is properly aligned right outside of the chart box.
[x] Change the min Y value to 0. As we don't support negative charts yet it's more natural to have 0 for the Y-axis.

[x] X-axis arrow (or line?).
[x] Y-axis arrow (or line?).
[x] Dashed horizontal line for the max value across the chart
[x] Sensible defaults so the chart looks good every time. Getting the properties of the current scene could lead to very ugly charts, and people won't expect this to be the case. Instead we can have sensible defaults and with a click users can change the look and feel of it instantly, while the chart is still selected. Some examples of what could go wrong, just by modifying the last element with some properties, pasting the chart could end up very ugly.

[x] Random color from the background options [2 - 15]
[x] Stroke color: Black
[x] Fill: Hachure
[x] Stroke: Solid
[x] Sloppiness: Artist
[x] Edges: Sharp

[x] Paste the chart as a group. Easier to move around inside the document, and if people want to change the style it's much easier just selecting the group and update the properties.
[x] Don't display errors and paste text instead. That error was too intrusive and didn't even pasted the text, which could be a valid case. If people know about this feature, they will figure it out that there was an error and try pasting again.
[x] Track the chart rendering
[x] Remove debug rectangle before merging.

Try it out with the following data:
Month,Accounts
Jan,98
Feb,769
Mar,263
Apr,356
May,431
Jun,985
Jul,548
Aug,738
Sep,748
Oct,69
Nov,376
Dec,424

Or from an HTML table

Month
Accounts

Jan
653

Feb
751

Mar
941

Apr
116

May
828

Jun
85

Jul
169

Aug
666

Sep
127

Oct
484

Nov
288

Dec
687

Or tabulated data
Day	Commits
Sun	143
Mon	167
Tue	92
Wed	114
Thu	128
Fri	155
Sat	193

Known issues (maybe for future improvements)
The following issues are currently on master as well.

Doesn't work for negative numbers
Only works for one or two columns (maybe later we can paste multiple charts.. or a combination. Not something for this PR)

Haven't reviewed yet, just noticed that the csv support breaks tabulated data (which we supported initially):
day	commits
Sun	143
Mon	167
Tue	92
Wed	114
Thu	128
Fri	155
Sat	193

You may wanna look into it.

This works really well. I appreciate how easy it is to change the styling on the group, too.
Representing graphs would be a huge feature. This feels more like an easter egg? A very limited scope, almost a surpise to see data interpretted automatically. Not a criticism per se, just thinking about how we would place it. Are there other secret features with copy and paste?

Representing graphs would be a huge feature.

This feature already works on production.. so this is just an improvement.
And you are right, it's a bit like an easter egg :) Maybe we'll blog about it after this is merged to make it more popular..

The idea is that you can paste the chart and then easily change the properties if needed with a click for the whole chart.

:tada:

This has pretty interesting behavior if you resize the chart :D The lines become invisible, i think, but are still there


Jumbotron dropdown

This PR adds a dropdown component and a jumbotron component
@pbugnion I'm a bit unsure about using "Dropdown" as it clashes with the Dropdown component in dash core components. Should we try to find a better name? Menu, or DropdownMenu for example?

I think dropdown has a much more precise meaning than menu, so Dropdown is a better name.
I don't have strong preferences between Dropdown and DropdownMenu, except that I don't think shadowing dash core components is particularly bad (since we consistently use the dbc namespace in examples).

Ok cool, I'll leave it as it is for now, thanks for your input!


[Feature request]: notification only option in the settings

Version

[X] I'm using version 1.9.0

Existing requests

[X] I've checked Existing requests

What operating system are you using?
macOS
Operating System Version
macos monterey 12.1
Problem description
I want a notification instead of the window when it's time for a break
Possible solution
A third setting to choose from for getting only notification without a window. Of course, strict mode would have to be disabled, the length of the break also. But, I would keep the long and the short break by renaming the notifications.

Alternative solutions
No response
Additional information
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

+1

+1

As alternative, you could try the web version, that is notification only: https://web.stretchly.net/


String interpolation of most keywords leads to double free error

Running the following code
print “The keyword is ${while}”
results in a double free error:
morpho6(62148,0x1db5ed000) malloc: Double free of object 0x122e1f200
morpho6(62148,0x1db5ed000) malloc: *** set a breakpoint in malloc_error_break to debug
zsh: abort      morpho6 test.morpho

whereas the expected output should be some error highlighting that the input is a keyword.
Certain keywords that have values, like nil, true, work fine in the above.
With self, I am getting a reasonable error:
Error 'SlfOtsdClss' [line 1 char 24] : Cannot use 'self' outside of a class.

but super leads to double free.

Thanks for this @joshichaitanya3; I am noticing a number of issues with string interpolation that I'm going to look into. I'll send updates when I have more information.

It seems that this issue has been solved with today's PR. Thanks for reporting this @joshichaitanya3!


Silence suppression swaps stereo channels

Silence suppression swaps the audio channels randomly. About half the times when there is nothing playing the audio channels get swapped.
This is easy to test by setting one of the audio channels volume to 50% like this:

May be related to the issue described here: https://github.com/duncanthrax/scream/issues/10#issuecomment-393991430

@andyclegg : Can you take a look please?

@duncanthrax I was working on this at my old job, unfortunately I've moved on now so won't be able to work on this any more. I believe @gabrielsteadman has taken over work on this.

Unfortunately, the issue with channel swapping is also reproducible without silence suppression. The channels have a 1/2 chance to swap every time my sender PC goes to sleep or hybernates.

I've used wireshark to check the packets going on the network (unicast), and the issue is on the sender (Windows 10) side.

I've found a possible issue with silence suppression and the fix seem to solve it, but it doesn't explain the sleep / hibernation part.
I couldn't check it myself since I didn't encounter it before, there is a chance that will fix itself as well but who knows.


E2E Gero tests failing: investigate

  ✗ gero:http://localhost:4008/?gero:SendsToken:

  Error: Error: Failed to convert Address to PubKeyHash

It may be that the staking component of the address is a script hash, but why?

Fixed in https://github.com/Plutonomicon/cardano-transaction-lib/pull/1253/commits/37d9d41e3b8377dbbe726540e8c4495c766a44c6


Demo and Formula problem

Hi
I was hoping to look at the demo site, but I can't find the username and password in your docs.
https://demo.unfoldadmin.com/admin/login/?next=/admin/
I then tried to install the formula demo, but I get an error when running 'poetry run python src/manage.py migrate':
'django.db.migrations.exceptions.MigrationSchemaMissing: Unable to create the django_migrations table (attempt to write a readonly database)'
It creates the sqlite db, but somehow it thinks that the db is read only.
python 3.11.5, django 4.2.5

Hey, I had to refactor piece of code to be sure that overridden admin site is really loaded. Updated the demo site and it should be hopefully fine. Both login and password are prefilled.
Regarding the issue with local migration, the problem was that I was forcing to have database in readonly mode. In production this is fine but on local, migrations were not passing. I added a condition to allow writing on local machines when DEBUG=1.
Let me know if you found something else :-)

Hi. Demo site working now, thanks!


Scrape failing? Could not get users: Promise is not defined undefined

Hey, haven't been able to debug this properly. On running npm run scrape, it clearly gets as far as pulling the active users (and users object has their IDs)... but then I see this Promises-related error:
Could not get users: Promise is not defined undefined
Here's it is with a few lines for context...
> node ./scrape.js

Tue Feb 23 2016 07:45:17 GMT-0500 (EST)  -  1 active users
A error occured while scraping. Please check to make sure your development.json config is correct
Tue Feb 23 2016 07:45:17 GMT-0500 (EST)  - Could not get users: Promise is not defined undefined

Not sure if it's working or failing before the pulled data gets persisted anywhere.
The stats/dashboard sidebar doesn't present any user records.
Thoughts?

I haven't seen this error before.
What version of node do you have? It could help to update to the latest stable version of whatever major version you are on (v5.7.0, v4.3.1 or v0.12.10)
When you've updated rebuild your node_modules:
rm -rf node_modules
npm install
npm run build-minified

If updating doesn't work, try adding this to the beginning of the webpack config:
require('es6-promise').polyfill()

http://stackoverflow.com/a/32940141/434980

Much appreciate the quick reply man. Actually I kicked off a node update and module rebuild right after posting this. Just tried again and all works beautifully. Thinking it was specifically due to an old node version, in case anyone else runs into the same.
Love that you've shared the code for this. Toying with things now. :)
David


Update build-unix.md

for Ubuntu packages install
As draft because I'm testing it on my laptop.

What version of Ubuntu are you using?
Just tested it on fresh 22.04 & 20.04 (2 currently supported versions) Desktop and Server. Followed steps for stable (current mainnet version) as well as steps for develop (current testnet) and both were built just fine using the provided packages.
The latest addition of bison was added to support the requirement of yacc
I'm also not sure why you need to add cmake as it is compiled and used with all the other dependencies and systemwide cmake will never be used.


[SPARK-32030][SQL] Support unlimited MATCHED and NOT MATCHED clauses in MERGE INTO

What changes were proposed in this pull request?
This PR add unlimited MATCHED and NOT MATCHED clauses in MERGE INTO statement.
Why are the changes needed?
Now the MERGE INTO syntax is,
MERGE INTO [db_name.]target_table [AS target_alias]
 USING [db_name.]source_table [<time_travel_version>] [AS source_alias]
 ON <merge_condition>
 [ WHEN MATCHED [ AND <condition> ] THEN <matched_action> ]
 [ WHEN MATCHED [ AND <condition> ] THEN <matched_action> ]
 [ WHEN NOT MATCHED [ AND <condition> ] THEN <not_matched_action> ]

It would be nice if we support unlimited MATCHED and NOT MATCHED clauses in MERGE INTO statement, because users may want to deal with different "AND "s, the result of which just like a series of "CASE WHEN"s. The expected syntax looks like
MERGE INTO [db_name.]target_table [AS target_alias]
 USING [db_name.]source_table [<time_travel_version>] [AS source_alias]
 ON <merge_condition>
 [when_matched_clause [, ...]]
 [when_not_matched_clause [, ...]]

where when_matched_clause is
WHEN MATCHED [ AND <condition> ] THEN <matched_action>

and when_not_matched_clause is
WHEN NOT MATCHED [ AND <condition> ] THEN <not_matched_action>

matched_action can be one of
DELETE
UPDATE SET * or
UPDATE SET col1 = value1 [, col2 = value2, ...]

and not_matched_action can be one of
INSERT *
INSERT (col1 [, col2, ...]) VALUES (value1 [, value2, ...])

Does this PR introduce any user-facing change?
Yes. The SQL command changes, but it is backward compatible.
How was this patch tested?
New tests added.

Test build #124306 has started for PR 28875 at commit e18a7a5.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/28925/
Test PASSed.

@cloud-fan @brkyvz , pls take a look.

Test build #124306 has finished for PR 28875 at commit e18a7a5.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class DeleteAction(override val condition: Option[Expression]) extends MergeAction(condition)

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124306/
Test PASSed.

Test build #124379 has started for PR 28875 at commit a6ac363.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/28998/
Test PASSed.

Test build #124381 has started for PR 28875 at commit 1d39c92.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29000/
Test PASSed.

Test build #124396 has started for PR 28875 at commit ab97e31.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29015/
Test PASSed.

Test build #124396 has finished for PR 28875 at commit ab97e31.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Test build #124381 has finished for PR 28875 at commit 1d39c92.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Test build #124379 has finished for PR 28875 at commit a6ac363.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124396/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124379/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124381/
Test FAILed.

Test build #124585 has started for PR 28875 at commit d5edef3.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29206/
Test PASSed.

Test build #124585 has finished for PR 28875 at commit d5edef3.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds the following public classes (experimental):
sealed abstract class MergeAction extends Expression with Unevaluable
case class DeleteAction(condition: Option[Expression]) extends MergeAction

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124585/
Test FAILed.

retest it please.

retest it please

ok to test

Test build #5046 has started for PR 28875 at commit d5edef3.

Test build #5047 has started for PR 28875 at commit d5edef3.

Test build #5046 has finished for PR 28875 at commit d5edef3.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
sealed abstract class MergeAction extends Expression with Unevaluable
case class DeleteAction(condition: Option[Expression]) extends MergeAction

Test build #5047 has finished for PR 28875 at commit d5edef3.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
sealed abstract class MergeAction extends Expression with Unevaluable
case class DeleteAction(condition: Option[Expression]) extends MergeAction

Test build #124625 has started for PR 28875 at commit d5edef3.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29249/
Test PASSed.

Test build #124625 has finished for PR 28875 at commit d5edef3.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
sealed abstract class MergeAction extends Expression with Unevaluable
case class DeleteAction(condition: Option[Expression]) extends MergeAction

thanks, merging to master!

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124625/
Test PASSed.

Thanks @cloud-fan !


All slides rendering on first slide?

Hi again
So, ive been having this issue for a while now. When i want to use a horizontal swiper (and i copy the code exactly as the demo) i get all my slide contents rendering on the FIRST slide only...and the swiper still swipes in the correct direction (only without any info on the slide, of course).
Any thoughts at all? I really need to figure this out soon.
class BedOfRoses extends React.Component {
    render() {
        const params = {
            pagination: '.swiper-pagination',
            paginationClickable: true,
            nextButton: '.swiper-button-next',
            prevButton: '.swiper-button-prev',
            spaceBetween: 30
        };
        return (
            <Swiper>

Slide 1

Slide 2

Slide 3

Slide 4

Slide 5

            </Swiper>

        );

    }
}

export default BedOfRoses;

Have you included the swiper.css file?

I have the same issue and I include the swiper.scss file.


[Bug]: Cannot run with chalkjs

Version
27.4.7
Steps to reproduce

clone https://github.com/UniCoderGroup/utty-node/tree/5cfefa615a240a9c618085dd28c8bf95c7581cbd
npm i
npm run test

Expected behavior
The test runs.
Actual behavior
ERROR:

Cannot find module '#ansi-styles' from 'node_modules/chalk/source/index.js'
at Resolver.resolveModule (node_modules/jest-resolve/build/resolver.js:324:11)

Additional context
It seems that jest cannot resolve module path begin with #.
Environment
System:
    OS: Windows 10 10.0.19043
    CPU: (8) x64 AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx
  Binaries:
    Node: 14.16.0 - C:\Program Files\nodejs\node.EXE
    npm: 6.14.11 - C:\Program Files\nodejs\npm.CMD
  npmPackages:
    jest: 27.4.7 => 27.4.7

Related issue: https://github.com/chalk/chalk/issues/532

Duplicate of #12270


Applying the kotlin-dsl plugin without any repositories should provide a helpful error message

Currently if you apply the kotlin-dsl plugin, e.g. in a buildSrc project, and add a Kotlin class or pre-compiled script plugin, it fails with a cryptic error message.
Expected Behavior
Ideally, from a user's perspective, putting the following into buildSrc/build.gradle.kts should simply work:
plugins {
    `kotlin-dsl`
}

Current Behavior
While we tell users that they need to define a repo from which to get the Kotlin compiler in the documentation, the error message is rather cryptic:
Could not resolve all files for configuration ':kotlinCompilerPluginClasspath'.
> Could not find org.jetbrains.kotlin:kotlin-sam-with-receiver:1.3.31.
  Required by:
      project :

Context
The error message was not immediately actionable for me and thus I think users might feel the same way. So one option would be to make that clearer, in particular if no repositories have been specified at all.
For a buildSrc build, we could reuse the repositories from the root build script unless it defines custom ones. 🤔
Steps to Reproduce
Run gradle build in https://github.com/marcphilipp/gradle-sandbox/tree/master/kotlin-dsl-plugin
Your Environment
Build scan URL: https://scans.gradle.com/s/4cdky2gt45dlm/

This is the generic dependency resolution error message one gets when declaring dependencies without repositories, or with repositories where some dependency cannot be found.
I'm not sure we want to special case the kotlin-dsl plugin use case. Maybe this is more about turning that generic error message into an actionable help message.

When I encountered the error, I was a bit confused at first because I normally don't expect a plugin to require certain repositories and, despite knowing buildSrc is a separate build, even less so in a buildSrc project where I already configured repos in the root build script.
If we end up improving the generic error message, I think that would be a good outcome. 🙂

I vaguely recall a discussion we had about actionable error/help messages in a previous World Meeting. One of the ideas floating around was to allow plugins to elaborate on build failures and provide better messages to the user.
In this particular case, say the kotlin-dsl plugin was able to provide a BuildFailureElaborator service that would be given a chance to analyse the build failure Could not resolve all files for configuration ':kotlinCompilerPluginClasspath' and return an actionable message:

The kotlin-dsl plugin requires additional Kotlin compiler dependencies to be resolved but no repository was defined, please add a repository to the project.

This is the generic dependency resolution error message one gets when declaring dependencies without repositories, or with repositories where some dependency cannot be found.

At least for the "no repositories" case, you should get a "Cannot resolve external dependency foo because no repositories are defined."  Are there some dependencies defined in this case?

The buildscript contains only the plugins block, no dependencies defined:
https://github.com/marcphilipp/gradle-sandbox/tree/master/kotlin-dsl-plugin
However, it looks like the plugin defines an Embedded Kotlin Repository which is probably why the "no repos"  error message isn't showing.

Unfortunately, this issue has not been fixed on gradle 5.6.4. I got the same cryptic error message today while trying to use Kolin DSL, and I was so confused until I stumbled on this issue page through gradle Github repository. Though I have fixed the bug, I believe something should be done to give accurate information on what really went wrong.
Execution failed for task ':buildSrc:compileKotlin'.
> Could not resolve all files for configuration ':buildSrc:kotlinCompilerPluginClasspath'.
   > Could not find org.jetbrains.kotlin:kotlin-sam-with-receiver:1.3.41.
     Required by:
         project :buildSrc

For those having this same issue, just add repository to your build.gradle.kts file. Like this:
repositories{
    jcenter()
}

My buildSrc's build.gradle.kts looks like this:
plugins {
  `kotlin-dsl`
}

repositories {
  jcenter()
}

And I'm still getting this error:
Could not determine the dependencies of task ':compileKotlin'.
> Could not resolve all files for configuration ':kotlinCompilerClasspath'.
   > Cannot resolve external dependency org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.72 because no repositories are defined.
     Required by:
         project :

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

Clean your project. Delete the .gradle and build folders and then rebuild your project. If that doesn't work, close your project and remove it from recent projects. Then open it back and let it build by itself.

That worked

I have the same error
Could not determine the dependencies of task ':compileKotlinMetadata'.
> Could not resolve all files for configuration ':kotlinCompilerClasspath'.
   > Cannot resolve external dependency org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.72 because no repositories are defined.
     Required by:
         project :

I don't have jcenter()  but I'm using maven central and it is also there
https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-compiler-embeddable
Weird that there is missing project name.

We're getting this issue here with Gradle 6.8.3
Could not resolve compiler classpath. Check if Kotlin Gradle plugin repository is configured in project ':buildSrc'.
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':buildSrc:compileKotlin'.
Could not resolve all files for configuration ':buildSrc:kotlinCompilerClasspath'.
   > Cannot resolve external dependency org.jetbrains.kotlin:kotlin-compiler-embeddable:1.4.20 because no repositories are defined.
     Required by:
         project :buildSrc

We're getting this issue here with Gradle 6.8.3
Could not resolve compiler classpath. Check if Kotlin Gradle plugin repository is configured in project ':buildSrc'.
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':buildSrc:compileKotlin'.
Could not resolve all files for configuration ':buildSrc:kotlinCompilerClasspath'.
   > Cannot resolve external dependency org.jetbrains.kotlin:kotlin-compiler-embeddable:1.4.20 because no repositories are defined.
     Required by:
         project :buildSrc

// buildSrc/build.gradle.kts
plugins {
  `kotlin-dsl`
}

just see this doc. and you will fix it.
https://docs.gradle.org/6.7.1/userguide/kotlin_dsl.html#sec:kotlin-dsl_plugin

Got it working by replacing Jcenter() with mavenCentral().

I've tested the scenario and the 7.4 error message is actually actionable and gives a proper link to the documentation:
Execution failed for task ':buildSrc:validatePlugins'.
> Could not resolve all files for configuration ':buildSrc:compileClasspath'.
   > Cannot resolve external dependency org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31 because no repositories are defined.
     Required by:
         project :buildSrc
   > Cannot resolve external dependency org.jetbrains.kotlin:kotlin-reflect:1.5.31 because no repositories are defined.
     Required by:
         project :buildSrc

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

I think the issue can be closed now.

If the previous fixes don't work for you and you still have an issue, use the lines below.
plugins {
kotlin-dsl
}
repositories{
mavenCentral()
}


kernel: 4.14.34-rt27 -> 4.14.40-rt30, add 4.16.7-rt1

Hi @henrytill,
Sorry for the slightly chaotic PR, including 2 kernels now.
If you want I can make a branch for them.

@magnetophon no problem whatsoever


introduce managed clang environment

Automation attempting to install llvm based on mamba

It seems the following installs things under a custom prefix, without the need to initialize anything:
$ micromamba create -p /path/to/custom/prefix jupyter -c conda-forge

Then, in order to call a Scala Native sub-process, we should probably create a shell script calling the Scala Native command, but with the output of the following command at the top:
$ micromamba shell -p /path/to/custom/prefix -s bash --no-rc --dry-run activate

.tar.bz2 support should land in the upcoming coursier release, thanks to https://github.com/coursier/coursier/pull/2364

It seems this PR has gotten stale, there's been no activity for 5 months as of this comment.
I'm closing it for now, any future progress should be tracked in #294


Support SQL

https://github.com/SteveYi-LAB/SteveYi-ShortLink/commit/ac1fd43963b6e0259e0b891187cbca1675592f7e


Update to Bevy 0.13

Thanks for the PR! Will checkout and merge soon!

I see 2 issues in particular in the simple.rs example:

The lighting seems off. We can fix this by bumping up the intensity.
In Edit Mode,  if we drag the vertex then the connecting edges seem to have gaps at the ends. They go away if we de-select and re-select the Mesh.

Found the culprit for the Edges issue.
Since you've changed to using Cuboid instead of Box, you also need to adjust the scale length for this in Edit Mode to edge_vec.length() (same as how you've done it in the indicators.rs):
https://github.com/oscrim/bevy_mesh_drawing/blob/6ad198659249f48ce5aa39a75f4eb77af483ff81/crates/mesh_drawing/src/systems/edit_mode.rs#L389

Found the culprit for the Edges issue.
Since you've changed to using Cuboid instead of Box, you also need to adjust the scale length for this in Edit Mode to edge_vec.length() (same as how you've done it in the indicators.rs):
https://github.com/nilaysavant/bevy_mesh_drawing/blob/6a52d81dc556422a83e46aca19de48f6f9850b71/crates/mesh_drawing/src/systems/edit_mode.rs#L389

Ah I see, totally missed that. I also realized that the EDGE_INDICATOR_WIDTH will cause the width to be half of what they were prevoisly, do you want me to bump it up to 0.2?
With regards to the lighting they have changed the exposure so all lighting values need to be changed, Ill increase the intensity of the light in the example

Ah I see, totally missed that. I also realized that the EDGE_INDICATOR_WIDTH will cause the width to be half of what they were prevoisly, do you want me to bump it up to 0.2 (as it was 0.1 previously)?

The edges are looking fine. I think its because I'm plugging it into the scale. So no need to update the width.
Overall looks good to me. Will merge it soon! Thanks again!


Swagger docs "Try it out" calls not working

When using the interactive UI on the swagger docs, the error TypeError: NetworkError when attempting to fetch resource pops up.
I authenticated using the "Authorize" button at the top of the page, with my credentials.

That's weird, I just tested on a fresh install, went to /swagger-ui.html, authenticated with Authorize button, and then clicked a try me button.
Strangely I had a popup from my browser prompting for basic auth so I re entered my credentials and I then got my API call result.
Are you on the right path ? Which browser are you using ? Which version of Jelu ? and which endpoint are you trying ?

Apparently it happens because I deployed the app with HTTPS (behing reverse proxy), but the SwaggerUI doc performs the calls in HTTP :

Never had this problem before on some API with swagger which I host ; I'll do a bit of research on the subject to understand better what's happening.

@Ombrelin  it might be a proxy config issue indeed :
https://stackoverflow.com/questions/70843940/springdoc-openapi-ui-how-do-i-set-the-request-to-https
I also have the problem on my main instance behind proxy and https but not on localhost.
I didn't have the time to test the proposed fixes (either fix proxy config or make the urls relative in the openapi config in the code)

Should be fixed in 0.28.0


Notarize Timer for macOS

Timer is currently not notarized, which means that it is difficult to run on modern macOS versions like Catalina due to enhanced security features.

Notarizing macOS Software Before Distribution
Apple Developer Program Membership Fee Waivers

Safely open apps on your Mac
Duplicate of #97


Use recent versions of activesupport

This is preventive maintenance to avoid us colliding if chef-zero or other deps end up needing activesupport.

:+1:

👍


[Unit Testing] Need to test all available functions in version 0.7.0

We should test out all available functions in the latest version as of now v0.7.0. Testing can be done anywhere. You can import the library and test each function properly. Any sort of evidence for successful testing will be accepted. If you find any bugs/issues during testing, feel free to open a new issue.

@kashifkhan0771 could you assign to me this feature?

Sure @JoseScap - Thanks you!

I would suggest adding REPORT.Json file after testing. This way your contribution will be noted as well. You can follow following pattern for Report file.
[
  {
    "version": "v0.7.0",
    "performed_on": "dd-mm-yyyy",
    "performed_by": "github_username",
    "no_of_issues_found": 0,
    "tested_features": [
      "random",
      "maps"
    ],
    "issue": "link to issue"
  }
]

Make sure to add any sort of evidence for testing in the issue comments.

Once this testing is complete we will draft our first stable release v1.0.0

Any update on this @JoseScap ?

I guess @JoseScap got busy with something, can anyone else take this? We need to release our first stable version after this.

I guess, I have to do it myself :)


Code with me support

Hi @FirstTimeInForever. Thanks a lot for this amazing plugin. Currently, I wanna use Pycharm to replace Overleaf when collaborating on paper. But the problem is PDF viewer currently does not work in Intellij Code with me editor yet, so I cannot see the PDF in the client side. Do you have any timeline to support this functionality?

I can confirm the issue. Installing the pdf viewer in the client did not help.

@PHPirates very strange issue.
When the Code with me client open the pdf, it cannot show.
Then install the plugin (latest build), the pdf can be open.
After, it cannot be open again.
The url is cwm:// link, it's supported in virtual file system.

I can still reproduce the issue as well, but not sure how to fix it. Markdown preview works fine so it may not be a jcef issue.

@PHPirates please report to idea client (code with me).

if code with me host install the pdf plugin, and client don't install
Then, a opened pdf file can be refreshed by a fresh install, the virtual file is cwm://xxx

if code with me host don't install the pdf plugin, client cannot open pdf files

if code with me host and client both installed the pdf plugin, client cannot open
And the accept method is never called by idea client

upstream bug: https://youtrack.jetbrains.com/issue/CWM-1199

similar: https://github.com/asciidoctor/asciidoctor-intellij-plugin/issues/994

@PHPirates  After decompiled markdown plugin in code with me client, now we can support code with me too.

However, IMO, this shouldn't be labed as bug, enhancement should be a better label.


integration test needs to verify resource create/delete successfully from deployment manager side

integration test needs to verify resource create/delete successfully from deployment manager side
currently when ./test/e2e.sh finished successful, from pantheon, binding deployment is deleted as expected, however instance deployment still there.

from logs, it's the timing issue which caused instance deployment failed be deleted. When test script asked GKE catalog to delete instance, deletebinding in broker side still hasn't finished yet, so broker failed to delete that instance deployment which had binding associated.
The issue should be gone after we switching to status polling.


fix(pageserver): properly propagate missing key error for vectored get

Problem
Some part of the code requires missing key error to be propagated to the code path correctly (i.e., aux key range scan). Currently, it's an anyhow error.
Summary of changes
Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
[ ] If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

[ ] Do not forget to reformat commit message to not include the above checklist

removed stuck_at_lsn and vectored_get field, maybe we will add a key_range field in the future, but for now, not adding it to avoid large copies (keyspace can be large with multiple partitions).


Need non-aggregating versions of sum(), min(), and max()

With duckdb v0.10.2:
duckdb <- asNamespace("duckdb")
drv <- duckdb::duckdb()
con <- DBI::dbConnect(drv)
experimental <- FALSE
invisible(duckdb$rapi_load_rfuns(drv@database_ref))
df1 <- data.frame(a = 1)

rel1 <- duckdb$rel_from_df(con, df1, experimental = experimental)
rel2 <- duckdb$rel_project(
  rel1,
  list(
    {
      tmp_expr <- duckdb$expr_reference("a")
      duckdb$expr_set_alias(tmp_expr, "a")
      tmp_expr
    },
    {
      tmp_expr <- duckdb$expr_function("r_base::max", list(duckdb$expr_reference("a")))
      duckdb$expr_set_alias(tmp_expr, "b")
      tmp_expr
    }
  )
)
#> Error: {"exception_type":"Binder","exception_message":"Aggregates cannot be present in a Project relation!"}

Created on 2024-05-05 with reprex v2.1.0

I don't understand what they should be doing then ?

The same as in dplyr, as usual 🙃
data.frame(a = 1:3) |>
  dplyr::mutate(b = sum(a))
#>   a b
#> 1 1 6
#> 2 2 6
#> 3 3 6

Created on 2024-05-11 with reprex v2.1.0

Since this error happens at the binding stage, it's not critical for correctness, but might be for performance.

I see, so do the aggregate and recycle the value. I'll look into it.

Having looked at how duckplyr handles e.g. the regular sum, this feels more like a translation problem and we need to squeeze in a duckdb$expr_window so that the duckdb expression gains a OVER ()
library(duckdbrfuns)

con <- duckdbrfuns:::duckdb_con()
duckdb <- asNamespace("duckdb")

experimental <- FALSE
df1 <- data.frame(a = 1:10)

rel1 <- duckdb$rel_from_df(con, df1, experimental = experimental)
rel2 <- duckdb$rel_project(
  rel1,
  list(
    {
      tmp_expr <- duckdb$expr_reference("a")
      duckdb$expr_set_alias(tmp_expr, "a")
      tmp_expr
    },
    {
      tmp_expr <- duckdb$expr_window(
        duckdb$expr_function("r_base::sum", list(duckdb$expr_reference("a")))
      )
      duckdb$expr_set_alias(tmp_expr, "b")
      tmp_expr
    }
  )
)
print(rel2)
#> DuckDB Relation:
#> ---------------------
#> --- Relation Tree ---
#> ---------------------
#> Projection [a as a, r_base::sum(a) OVER () as b]
#>   r_dataframe_scan(0x10de98358)
#>
#> ---------------------
#> -- Result Columns  --
#> ---------------------
#> - a (INTEGER)
#> - b (INTEGER)
duckdb$rel_to_altrep(rel2)
#>     a  b
#> 1   1 55
#> 2   2 55
#> 3   3 55
#> 4   4 55
#> 5   5 55
#> 6   6 55
#> 7   7 55
#> 8   8 55
#> 9   9 55
#> 10 10 55

Created on 2024-05-21 with reprex v2.1.0
IIUC duckplyr bases the need for wrapping in a expr_window based on an allow list:
https://github.com/romainfrancois/duckplyr/blob/7bc1ccb925ef742cf7805c9391fec19b1233123c/R/relational.R#L242-L252
        known_window <- c(
          # Window functions
          "rank", "rank_dense", "dense_rank", "percent_rank",
          "row_number", "first_value", "last_value", "nth_value",
          "cume_dist", "lead", "lag", "ntile",

          # Aggregates
          "sum", "mean", "stddev", "min", "max", "median",
          #
          NULL
        )

Perhaps instead of (in addition to?) that the r_base:: functions could mark that they are aggregates ? i.e. use r_base::aggregate::sum instead of r_base::sum so that then duckplyr can take advantage of that naming convention to squeeze in a expr_window.

Do we even need the "project" versions of sum() then? Does your reprex work with "r_base::aggregate::sum" instead of "r_base::sum" ?
Less code in the extension means less complexity. Sorry about the extra work.

Perhaps we don't even need the naming convention, and we can somehow interrogate the extension to find out if a function is a ScalarFunctionSet or a AggregateFunctionset but I'm not sure it's worth it.

Indeed the reprex needs r_base::aggregate::sum. Here's a simplified as we don't need the alias:
library(duckdbrfuns)

con <- duckdbrfuns:::duckdb_con()
duckdb <- asNamespace("duckdb")

experimental <- FALSE
df1 <- data.frame(a = 1:10)

rel1 <- duckdb$rel_from_df(con, df1, experimental = experimental)
rel2 <- duckdb$rel_project(
  rel1,
  list(
    duckdb$expr_reference("a"),
    duckdb$expr_window(
      duckdb$expr_function("r_base::aggregate::sum", list(duckdb$expr_reference("a")))
    )
  )
)
duckdb$rel_to_altrep(rel2)
#>     a r_base::aggregate::sum(a) OVER ()
#> 1   1                                55
#> 2   2                                55
#> 3   3                                55
#> 4   4                                55
#> 5   5                                55
#> 6   6                                55
#> 7   7                                55
#> 8   8                                55
#> 9   9                                55
#> 10 10                                55

Created on 2024-05-21 with reprex v2.1.0

Thanks, confirmed with most recent duckdb, without having to change the names:
library(duckdb)
#> Loading required package: DBI

drv <- duckdb()
con <- dbConnect(drv)
duckdb <- asNamespace("duckdb")

duckdb$rapi_load_rfuns(drv@database_ref)

experimental <- FALSE
df1 <- data.frame(a = 1:3)

rel1 <- duckdb$rel_from_df(con, df1, experimental = experimental)
rel2 <- duckdb$rel_project(
  rel1,
  list(
    duckdb$expr_reference("a"),
    duckdb$expr_window(
      duckdb$expr_function("r_base::sum", list(duckdb$expr_reference("a")))
    )
  )
)
duckdb$rel_to_altrep(rel2)
#>   a r_base::sum(a) OVER ()
#> 1 1                      6
#> 2 2                      6
#> 3 3                      6

Created on 2024-05-22 with reprex v2.1.0
Looks like this issue is moot. I need to trace it back to the original duckplyr problem.