text:
An error occurred during milvus_cli-v0.4.2  installation

# python --version
Python 3.12.3
# openssl --version
OpenSSL 3.2.1 30 Jan 2024 (Library: OpenSSL 3.2.1 30 Jan 2024)
#

# pip install milvus_cli-0.4.2-py3-none-any.whl

Looking in indexes: http://mirrors.tencentyun.com/pypi/simple
Processing ./milvus_cli-0.4.2-py3-none-any.whl
Collecting Click==8.0.1 (from milvus-cli==0.4.2)
  Using cached http://mirrors.tencentyun.com/pypi/packages/76/0a/b6c5f311e32aeb3b406e03c079ade51e905ea630fc19d1262a46249c1c86/click-8.0.1-py3-none-any.whl (97 kB)
Collecting pymilvus==2.3.4 (from milvus-cli==0.4.2)
  Using cached http://mirrors.tencentyun.com/pypi/packages/02/8d/8c1362746d528c4fe4d7d35fdf8de3457f1cfe9e65d02a0999647b72b72f/pymilvus-2.3.4-py3-none-any.whl (172 kB)
Collecting tabulate==0.8.9 (from milvus-cli==0.4.2)
  Using cached http://mirrors.tencentyun.com/pypi/packages/ca/80/7c0cad11bd99985cfe7c09427ee0b4f9bd6b048bd13d4ffb32c6db237dfb/tabulate-0.8.9-py3-none-any.whl (25 kB)
Requirement already satisfied: requests==2.31.0 in /usr/lib/python3.12/site-packages (from milvus-cli==0.4.2) (2.31.0)
Collecting grpcio<=1.58.0,>=1.49.1 (from pymilvus==2.3.4->milvus-cli==0.4.2)
  Using cached http://mirrors.tencentyun.com/pypi/packages/5d/a2/781bae6df87dfd31115b24b1fe01213ef29caf9dbd0b8c1688c59aebf617/grpcio-1.58.0.tar.gz (24.8 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [26 lines of output]
      <string>:43: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
      Traceback (most recent call last):
        File "/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-ti6kc_fj/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 327, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-ti6kc_fj/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 297, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-ti6kc_fj/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 497, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-ti6kc_fj/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 313, in run_setup
          exec(code, locals())
        File "<string>", line 292, in <module>
        File "<string>", line 226, in check_linker_need_libatomic
        File "/usr/lib64/python3.12/subprocess.py", line 1026, in __init__
          self._execute_child(args, executable, preexec_fn, close_fds,
        File "/usr/lib64/python3.12/subprocess.py", line 1955, in _execute_child
          raise child_exception_type(errno_num, err_msg, err_filename)
      FileNotFoundError: [Errno 2] No such file or directory: 'c++'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

If you want to install 0.4.2 version, you can try pip3 install milvus_cli==0.4.2. @suyestyle

This error may be related to the gcc environment, I used the command [yum install g++ gcc] to install the gcc environment after re-installing milvus_cli, found that the error was still reported, the error message is like the following
      cc1: warning: command-line option ‘-std=c++14’ is valid for C++/ObjC++ but not for C
      creating None
      creating None/tmp
      creating None/tmp/tmpz4gja2dg
      gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fPIC -I/usr/include/python3.12 -c /tmp/tmpz4gja2dg/a.c -o None/tmp/tmpz4gja2dg/a.o
      Traceback (most recent call last):
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/_distutils/unixccompiler.py", line 188, in _compile
          self.spawn(compiler_so + cc_args + [src, '-o', obj] + extra_postargs)
        File "/tmp/pip-install-1a0ys1gc/grpcio_ce8c2701034f43569109bc0bdd9eae27/src/python/grpcio/_spawn_patch.py", line 58, in _commandfile_spawn
          _classic_spawn(self, command)
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/_distutils/ccompiler.py", line 1041, in spawn
          spawn(cmd, dry_run=self.dry_run, **kwargs)
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/_distutils/spawn.py", line 68, in spawn
          raise DistutilsExecError(f"command {cmd!r} failed with exit code {exitcode}")
      distutils.errors.DistutilsExecError: command '/usr/bin/gcc' failed with exit code 1

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "/tmp/pip-install-1a0ys1gc/grpcio_ce8c2701034f43569109bc0bdd9eae27/src/python/grpcio/commands.py", line 313, in build_extensions
          build_ext.build_ext.build_extensions(self)
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 479, in build_extensions
          self._build_extensions_serial()
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 505, in _build_extensions_serial
          self.build_extension(ext)
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/command/build_ext.py", line 254, in build_extension
          _build_ext.build_extension(self, ext)
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 560, in build_extension
          objects = self.compiler.compile(
                    ^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-install-1a0ys1gc/grpcio_ce8c2701034f43569109bc0bdd9eae27/src/python/grpcio/_parallel_compile_patch.py", line 64, in _parallel_compile
          multiprocessing.pool.ThreadPool(BUILD_EXT_COMPILER_JOBS).map(
        File "/usr/lib64/python3.12/multiprocessing/pool.py", line 367, in map
          return self._map_async(func, iterable, mapstar, chunksize).get()
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/multiprocessing/pool.py", line 774, in get
          raise self._value
        File "/usr/lib64/python3.12/multiprocessing/pool.py", line 125, in worker
          result = (True, func(*args, **kwds))
                          ^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/multiprocessing/pool.py", line 48, in mapstar
          return list(map(*args))
                 ^^^^^^^^^^^^^^^^
        File "/tmp/pip-install-1a0ys1gc/grpcio_ce8c2701034f43569109bc0bdd9eae27/src/python/grpcio/_parallel_compile_patch.py", line 59, in _compile_single_file
          self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/_distutils/unixccompiler.py", line 190, in _compile
          raise CompileError(msg)
      distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
          return _build_backend().build_wheel(wheel_directory, config_settings,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 415, in build_wheel
          return self._build_with_temp_dir(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 397, in _build_with_temp_dir
          self.run_setup()
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 497, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 313, in run_setup
          exec(code, locals())
        File "<string>", line 614, in <module>
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/__init__.py", line 103, in setup
          return distutils.core.setup(**attrs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 184, in setup
          return run_commands(dist)
                 ^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 200, in run_commands
          dist.run_commands()
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
          self.run_command(cmd)
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 976, in run_command
          super().run_command(command)
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/command/bdist_wheel.py", line 373, in run
          self.run_command("build")
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
          self.distribution.run_command(command)
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 976, in run_command
          super().run_command(command)
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/build.py", line 132, in run
          self.run_command(cmd_name)
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
          self.distribution.run_command(command)
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 976, in run_command
          super().run_command(command)
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/command/build_ext.py", line 93, in run
          _build_ext.run(self)
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 359, in run
          self.build_extensions()
        File "/tmp/pip-install-1a0ys1gc/grpcio_ce8c2701034f43569109bc0bdd9eae27/src/python/grpcio/commands.py", line 317, in build_extensions
          raise CommandError(
      commands.CommandError: Failed `build_ext` step:
      Traceback (most recent call last):
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/_distutils/unixccompiler.py", line 188, in _compile
          self.spawn(compiler_so + cc_args + [src, '-o', obj] + extra_postargs)
        File "/tmp/pip-install-1a0ys1gc/grpcio_ce8c2701034f43569109bc0bdd9eae27/src/python/grpcio/_spawn_patch.py", line 58, in _commandfile_spawn
          _classic_spawn(self, command)
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/_distutils/ccompiler.py", line 1041, in spawn
          spawn(cmd, dry_run=self.dry_run, **kwargs)
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/_distutils/spawn.py", line 68, in spawn
          raise DistutilsExecError(f"command {cmd!r} failed with exit code {exitcode}")
      distutils.errors.DistutilsExecError: command '/usr/bin/gcc' failed with exit code 1

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "/tmp/pip-install-1a0ys1gc/grpcio_ce8c2701034f43569109bc0bdd9eae27/src/python/grpcio/commands.py", line 313, in build_extensions
          build_ext.build_ext.build_extensions(self)
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 479, in build_extensions
          self._build_extensions_serial()
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 505, in _build_extensions_serial
          self.build_extension(ext)
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/command/build_ext.py", line 254, in build_extension
          _build_ext.build_extension(self, ext)
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 560, in build_extension
          objects = self.compiler.compile(
                    ^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-install-1a0ys1gc/grpcio_ce8c2701034f43569109bc0bdd9eae27/src/python/grpcio/_parallel_compile_patch.py", line 64, in _parallel_compile
          multiprocessing.pool.ThreadPool(BUILD_EXT_COMPILER_JOBS).map(
        File "/usr/lib64/python3.12/multiprocessing/pool.py", line 367, in map
          return self._map_async(func, iterable, mapstar, chunksize).get()
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/multiprocessing/pool.py", line 774, in get
          raise self._value
        File "/usr/lib64/python3.12/multiprocessing/pool.py", line 125, in worker
          result = (True, func(*args, **kwds))
                          ^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/multiprocessing/pool.py", line 48, in mapstar
          return list(map(*args))
                 ^^^^^^^^^^^^^^^^
        File "/tmp/pip-install-1a0ys1gc/grpcio_ce8c2701034f43569109bc0bdd9eae27/src/python/grpcio/_parallel_compile_patch.py", line 59, in _compile_single_file
          self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
        File "/tmp/pip-build-env-k3evp3bk/overlay/lib/python3.12/site-packages/setuptools/_distutils/unixccompiler.py", line 190, in _compile
          raise CompileError(msg)
      distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1

      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for grpcio
Failed to build grpcio
ERROR: Could not build wheels for grpcio, which is required to install pyproject.toml-based projects

The following several installation methods have been tried, but the installation has failed
Install from PyPI (Recommended)
Run pip install pymilvus==2.3.4 Run pip install milvus-cli==0.4.2

Install from a tarball
Download the [latest release](https://github.com/zilliztech/milvus_cli/releases/latest) of  milvus_cli-<version>.tar.gz.
Run pip install milvus_cli-<version>.tar.gz.
Install from source code
Run git clone https://github.com/zilliztech/milvus_cli.git.
Run cd milvus_cli.
Run pip install --editable .
Install from an executable file

@suyestyle  Sorry, I'm not very familiar with it.
My idea is you can try to create a new system environment for cli, like docker? Hope can help you.

authors: nameczz suyestyle


text:
Setup Solr Cluster

While Solr autoheals we do need to setup a scalable cluster to accomodate for this. Seutp Kubernetes Cluster to replace current hardwired env.
Step 1: make a plan
Step 2: review plan team
Step 3: amend and integrate

dropped/

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
zine v0.13.0 reports error for basic quote block

I guess it's a regression issue, because my code works months ago, but fails after installing zine v0.13.0.

Installed the latest Zine lib:
$ cargo install zine
    Updating crates.io index
     Ignored package `zine v0.13.0` is already installed, use --force to override

Given a basic quote block from official doc:
```quote
author = "x"
bio = "y"
content = "z"

Run zine serve, an error occurred:
$ zine serve
listening on http://127.0.0.1:3000
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Parse quote block error: missing field `content` at line 1 column 1', C:\Users\xxx\.cargo\registry\src\github.com-1ecc6299db9ec823\zine-0.13.0\src\code_blocks\mod.rs:92:53
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Watch build error: task 10 panicked

If remove the quote block it works again.

I'm sure the format is correct and has a content field as described in issue description.

It's working on Ubuntu but on Windows 10 🙃

repo: zineland/zine


text:
Update silencer-lib, silencer-lib_2.13.10, ... to 1.7.17

About this PR
📦 Updates

com.github.ghik:silencer-lib
com.github.ghik:silencer-lib_2.13.10
com.github.ghik:silencer-plugin

from 1.7.12 to 1.7.17
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.ghik" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.github.ghik" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #294.

source: gharchive/pull-request

repo: zio/zio-crypto


text:
Add some new operators for ZIO parity

Adds a number of new operators to close the gap with ZIO. I avoided some of the ones that seemed to make less sense for ZQuery like delay or bracket, though I was considering a runManaged since that pattern is present in a lot of the other ancillary types (e.g. Ref).
Also if there are any that I missed that you think could be part of this I'm happy to add them, since the most of the work was just copy-paste.

@paulpdaniels Thank you! Will review tomorrow.

@adamgfraser comments addressed

authors: adamgfraser paulpdaniels

repo: zio/zio-query


text:
WIP Add Rendering

very naive attempt at #8, @jdegoes can you please review?

no escaping for sql injection
values not rendered correctly
no group by
no order by
selects in joins aren't qualified by the table they're from (which is a problem if the same column name exists in both tables being joined)

issues discovered:

aggregations go boom at runtime (unimplemented implicit defs)
offset doesn't seem to be supported by sql server or oracle unless you use fetch first/next. In sql server this is considered part of order by and mysql doesn't support fetch first. I think we need a dialect as part of the signatures for render and renderBuilder to deal with dialect specific issues like top vs. limit vs. rownum (line 353)
in an update statement, set isn't required to be non-empty. I've partially fixed this with UpdateBuilder but it's still possible to create an invalid Update

got the following output for the examples
select first_name as first, last_name as last from users
select first_name as first_name, last_name as last_name from users limit 3, 2
update users set first_name = Fred where true and first_name = Terrence
delete from users where first_name = Terrence
select first_name as first_name, last_name as last_name, order_date as order_date from users left join orders on usr_id = usr_id

need implementations for Aggregation implicit defs
Exception in thread "main" scala.NotImplementedError: an implementation is missing
	at scala.Predef$.$qmark$qmark$qmark(Predef.scala:347)
	at zio.sql.Sql$Features$IsAggregated$.AggregatedIsAggregated(Sql.scala:711)

@unclebob418 Looks like the right track! Did you want to keep working on this, and keep it open, or merge now and fixup later?
The one thought I had: it would be quite useful to have a SqlBuilder data type that can be used to accumulate SQL strings, instead of a StringBuilder. This would allow, at least, a notion of indentation, which would be useful in pretty printing SQL strings.

@jdegoes RenderMode.Pretty has the concept of indentation, I'm just ignoring it at the moment. I think eventually an option for syntax highlighting may be nice but probably the most important thing would be getting something that can run against a db. I've added implementations for the aggregation defs but I think the rest of the issues I've noted above are still valid.
I'm not convinced having everything extend renderable is the correct approach. We don't yet have the concept of dialects but once we do I think this may be better represented in the individual dialect modules. Can we merge this for now so people have something to work with? cc @lemastero

authors: jdegoes robmwalsh

repo: zio/zio-sql


text:
🛑 B-Common Feedback Platform is down

In ad5f868, B-Common Feedback Platform (https://commonfeedbackplatform.org/api/v2/sectors) was down:

HTTP code: 502
Response time: 146 ms

Resolved: B-Common Feedback Platform is back up in 8f3e179.

repo: zite-io/server-status


text:
Cannot run extension on Windows

I followed the instruction as it says: i've installed extension, idris, idrin, then restarted my shell processes, restarted VSCode but I get no autocompletion. It only says "Didn't load filename" and that's all.
I'm not sure what to do or what additional information I could provide.

same here ;/

Same issue on Linux.

I have the same problem either on Windows((

That should be caused by type checking error. Hovering on anything or using idris repl to get the error message, fix it and this will go away.

no, it's not related to error
autocomplete should work when code doesn't compile otherwise it's useless. You started typing something and expect it to suggest some items, but atm code doesn't compile, you have some fooBa name which is not complete therefore is not a valid idris code.

1. no, it's not related to error

2. autocomplete should work when code doesn't compile otherwise it's useless. You started typing something and expect it to suggest some items, but atm code doesn't compile, you have some `fooBa` name which is not complete therefore is not a valid idris code.

Mine (didn't load message) is caused by type error... Every time after fixing the bad code, it just goes away and loads successfully...

Hi,
I had the same error. In my case, the ipkg-filename had a typo (it ended on .ipgk rather than on .ipkg).
After fixing the typo, I ran idris --checkpkg .\MyPackage.ipkg to make sure that Idris can read my package-file.
I then ran idris --clean .\MyPackage.ipkg (just in case).
After restarting VSCode, the annoying error-message was gone and the extension was working again.
Hope, it helps someone out there with the same problem.

authors: ChessMax Pzixel RaoulSchaffranek malte-v ninjazoete raptazure

repo: zjhmale/vscode-idris


text:
使用ner few-shot 自定义中文数据集训练的模型，predict预测的时候报错

Describe the bug
使用ner few-shot predict预测的时候报错

config.yaml中已添加 - predict，相关参数配置参考以下代码：
`cwd: ???
use_wandb: False
defaults:
#- train/conll
- predict`
predict.yaml中相关参数配置参考以下代码：
`cwd: ???
seed: 1
bart_name: "/home/zhifeng.zhao/DeepKE/example/ner/few-shot/bart-base-chinese"
dataset_name: hainan-lianhua
device: cuda
num_epochs: 30
batch_size: 16
learning_rate: 2e-5
warmup_ratio: 0.01
eval_begin_epoch: 16
src_seq_ratio: 0.6
tgt_max_len: 10
num_beams: 1
length_penalty: 1
use_prompt: True
prompt_len: 10
prompt_dim: 800
freeze_plm: True
learn_weights: True
notes: ''
save_path: "/home/zhifeng.zhao/DeepKE/example/ner/few-shot/" # 模型保存路径
load_path: "/home/zhifeng.zhao/DeepKE/example/ner/few-shot/hainan-lianhua_5_5e-05/best_model.pth" # 模型加载路径，不能为空
write_path: "/home/zhifeng.zhao/DeepKE/example/ner/few-shot/predict_zzf.txt"`
标签映射已经配置：
MAPPING = {     'conll2003': {'loc': '<<location>>',                 'per': '<<person>>',                 'org': '<<organization>>',                 'misc': '<<others>>'},     'mit-movie': mit_movie_mapping,     'mit-restaurant': mit_restaurant_mapping,     'cluener2020': cluener2020_mapping,     'atis': atis_mapping,     'hainan-lianhua': {                         'device': '<<device>>',                         'problem': '<<problem>>',                         'equipment': '<<equipment>>',                         'department': '<<department>>',                         'organization': '<<organization>>'} }
Environment (please complete the following information):

OS: [Ubuntu 22.04]
Python Version [Python 3.8.19]

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

您好，非常感谢您对我们工作的关注。由于这个issue问题非常具体，我们相关代码维护同学将尽快排查下给您回复。

您好，非常感谢您对我们工作的关注。由于这个issue问题非常具体，我们相关代码维护同学将尽快排查下给您回复。
您好，编辑DeepKE/example/ner/few-shot/conf/predict.yaml，参数修改为learn_weights: False，解决了已经训练好模型的加载问题

您好，非常感谢您对我们工作的关注。由于这个issue问题非常具体，我们相关代码维护同学将尽快排查下给您回复。

您好，编辑DeepKE/example/ner/few-shot/conf/predict.yaml，参数修改为learn_weights: False，解决了已经训练好模型的加载问题

authors: choshiho njcx-ai

repo: zjunlp/DeepKE


text:
一些关于KnowEditDataset类的疑问

当我运行
python run_knowedit_llama2.py
--editing_method=LoRA
--hparams_dir=../hparams/LoRA/llama-7b
--data_dir=./data
--datatype='counterfact'
之后，会出现报错：
Traceback (most recent call last):
File "/root/EasyEdit/examples/run_knowedit_llama2.py", line 60, in
datas = KnowEditDataset(args.data_dir,size=args.ds_size)
File "/root/EasyEdit/examples/../easyeditor/dataset/knowedit.py", line 59, in init
with open(zsre_loc, "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'data'
在run_knowedit_llama2.py第60行 ：datas = KnowEditDataset(args.data_dir,size=args.ds_size)，这里直接把顶级目录传入到了KnowEditDataset中了，而KnowEditDataset类会直接打开这个args.data_dir，造成报错。
如果我想手动输入数据的位置，我应该选择哪个数据集？是/data/KnowEdit/wiki_counterfact/test_cf.json还是/data/KnowEdit/wiki_counterfact/train_cf.json？
还有一个疑问，就是在KnowEditDataset里面有这样一行代码，zsre_loc = data_dir，这样写是数据只支持zsre数据吗？

测试结果是/data/KnowEdit/wiki_counterfact/test_cf.json 数据集
这个代码是之前命名的问题，不是仅仅支持zsre，我们会进行修改。

明白了，谢谢

请问您还有其他问题吗

authors: Mint-hfut littlefive5 zxlzr

repo: zjunlp/EasyEdit


text:
TypeScript type of call's return value doesn't match runtime type

This compiles. My editor says the return type of call(print, ...) is [StackVar<"i32">].
const print = importFunc(
  { in: [i32, i32, i32, i32, i32, i32, i32], out: [i32] },
  () => {}
);

const printCentered = func(
  { in: [i32, i32, i32, i32, i32, i32, i32], out: [i32], locals: [] },
  ([text, x, y, color, fixed, scale, small]) => {
    const [width] = call(print, [text, 0, -6, color, fixed, scale, small]);
    const newX = i32.sub(x, i32.div_s(width, 2));
    return call(print, [text, newX, y, color, fixed, scale, small]);
  }
);

However, it fails at runtime with TypeError: call is not a function or its return value is not iterable.
Changing
-    const [width] = call(print, [text, 0, -6, color, fixed, scale, small]);
+    const width: any = call(print, [text, 0, -6, color, fixed, scale, small]);
+    console.info(width);

makes it work and prints { kind: 'stack-var', id: 16, type: 'i32' } which is indeed not an array.

Thanks for finding that, a type bug I will fix

Fixed and released as 0.2.3

repo: zksecurity/wasmati


text:
Aircraft must takeoff in the order which they taxi - Fixes #565

This fixes aircraft being able to takeoff before the aircraft in front of them.  It looked to be a piece which wasn't migrated with the overhaul of runways.
@erikquinn, could you confirm this matches the behaviour you expect?

@tedrek Yes. I wasn't aware of #565, I've been out of town about a week. But yes this seems to have fixed it, and your assumption is correct; I must have missed it with that bit of work.
All seems good with this!

authors: erikquinn tedrek

repo: zlsa/atc

license: mit

license_source: bigquery


text:
e_subject_common_name_not_from_san is no longer sufficient for enforcing CABF BRs

This is my solution to the issue I raised #625.  I've gone with a straightforward fix by making the old lint ineffective from the 21st August 2021 and making a new lint which performs a case-sensitive string comparison between the common name and SAN dNSNames.  I have also refactored the tests on the original lint to use the de facto standard table approach because it allowed me to largely copy and paste the new tests I wrote for the new lint across with just some minor tweaks.
Comments for reviewers:

I'm not super fond of the name for the new lint so I'm open to suggestions as I really struggled to come up with something given that lint_subject_common_name_not_from_san is already taken and I can't just use a w_/e_ prefix as both old and new lint return errors!  Maybe a suffix of '_case_sensitive' would work better?
~I'm not familiar with all the lingo surrounding the CA/B forum so if someone can let me know what I should have called the CABFBRs_SC48_EffectiveDate variable then that'd be great!~ Thanks @sleevi!

I don't know how to comment on this so I'm going to have to abuse the format a bit:
https://github.com/zmap/zlint/pull/627#discussion_r699463497
I think this is the only open question remaining and unless you've had time to look further and determine strict confirmation either way then I can add the changes you recommend of putting "::ffff:0:0/96" into the list of reserved networks and add the comment text you proposed in also and we should be covered against those concerns.

Looks like you guys were busy yesterday!  Thanks everyone for all the reviews, comments and for the merge

repo: zmap/zlint


text:
chore(main): release 0.2.2

:robot: I have created a release beep boop
0.2.2 (2024-11-12)
Bug Fixes

ci: Bump tauri.conf.json version as well. (#84) (435512a)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.2.2
:sunflower:

repo: zmkfirmware/zmk-studio


text:
Development branch

Does anyone oppose me making a development branch to merge PR's into before merging into master "stable"?
@benvium @zmxv

Sounds like a good idea to me 👍

I'm on the fence on this. Having a development branch is more work to maintain, but I feel better about it until 1. there are tests 2. I get to know the project better.
For now, I created unstable. If it doesn't work or we need something better, we can adjust and move forward :)

And that didn't work. Waiting on Zhen to make some changes.

authors: gvenk trepidity

repo: zmxv/react-native-sound


text:
Wrap lines in CTable

See #743
Example output:
https://gist.githubusercontent.com/DarthGandalf/9c6d0939eb60f84486b4/raw/e224447be4f44c8389d0fb8a4add3a2ccf1af744/gistfile1.txt
https://gist.githubusercontent.com/DarthGandalf/9c6d0939eb60f84486b4/raw/67fdef6500e43141996f31384d51b56a48cae805/gistfile2.txt

Is the wrap width setting configurable?  I'm still seeing basically garbage with ZNC 1.6:

I suggest we start simplifying those tables and transform to ChanServ-style output, for example:

    /msg *status help
    ...
    RESTART Restart ZNC
    SHUTDOWN Shutdown ZNC
    ...

    /msg *status help shutdown
    ...
    Syntax: SHUTDOWN [message]
    ...

That could be nice. The current tables look especially bad with mobile clients (Communi-Sailfish).

authors: DarthGandalf Mikaela jpnurmi mgedmin

repo: znc/znc


text:
Paid Grammarly Account: captcha required while trying to log in

When trying to log in to a paid account, a captcha is required:
"Authentification requires captcha input."
And login fails.
Any idea of a possible solution?

UPDATE:
This requires support from the Grammarly Auth team. They have already implemented the necessary changes and waiting for release (which is delayed due to holidays). Expecting this to be resolved in the first half of Jan 2020. 🥂

I am facing the same problem

This seems to be the open issue #107 - But unfortunately, I am affected as well since I had to log out a couple of days ago.

Does logging out and in again several times help?

Same issue

any workarounds even? I'm having the same issue

Same issue. Any workaroud? Thnaks

Can't use it anymore. Same error on login.

Can't log in anymore due to the captcha problem. I use VSCode to write academic papers. This extension is very important. Without this extension, Grammarly is meaningless to me.

Bump. Same here. No need to pay for Grammarly any more.
Does anyone know a more human-friendly service?
A

I submitted a ticket to Grammarly support. I encourage everyone struggling with this issue to do the same.

I also will cancel my subscription because of this.

I submitted a ticket to Grammarly support. I encourage everyone struggling with this issue to do the same.

I've also submitted a ticket. But their response is that they won't officially support the integration to VSCode.

@stevenybw  they don't have to support it, just not to break it. I love Grammarly and used them from their very early beta, but now I am looking at alternatives, unfortunately very few.
So far https://writefull.com/researchers.html#overleaf-learn-more-anchor looks promising.

I submitted a ticket to Grammarly support. I encourage everyone struggling with this issue to do the same.

I've also submitted a ticket. But their response is that they won't officially support the integration to VSCode.

They are probably working on its own extension.

In the meantime, I am evaluating https://sapling.ai/ , they also have Chrome extension, the ones who will cover most of my tools will have my money :)

Having the same problem.  I Will cut a support ticket with Grammarly, but I don't expect much.  They seem to ignore support tickets.  All I want is the ability to use Markdown with Grammarly.
Ther desktop App and Online editor converts all unordered list to there own bulleted list.  So you can't even copy and paste to check grammar.

@AlexMikhalev Could you try the tool? Unfortunately, my scientific writing pipeline is still broken...

VS Code auth issues would be sorted soon (I don't have a timeline yet but project for providing auth support for this extension is approved.)
This extension is still unofficial (which means I still work on it over weekends). As soon as auth issue is resolved, I will notify.

@matherm looks like https://writefull.com/researchers.html#overleaf-learn-more-anchor was built specifically for academic work, maybe it will help you in the meantime.

Any updates on captcha support?

For some reason, it started working again for me

For some reason, it started working again for me

Not for me.

Same problem. waiting  for the update .

the same problem, no solution yet.

For some reason, it started working again for me

how is it start at the beginning? because from the beginning, it did not work.

VS Code auth issues would be sorted soon (I don't have a timeline yet but project for providing auth support for this extension is approved.)
This extension is still unofficial (which means I still work on it over weekends). As soon as auth issue is resolved, I will notify.

Is there a workaround to be able to log in in the meantime?

@znck I will pay you if you can get this working

Fix is already in process, as soon as I get oauth client ID, I'll publish new version.

Awesome! Send me your PayPal/venmo when you’re done :) I’ll buy you your next coffee.

Hey @znck any updates yet?

🤞 hopefully this year.
(PR was approved on Friday, the feature allows oauth for VS Code will go live in next release.)

hopefully this year.
(PR was approved on Friday, the feature allowing oauth for VS Code will go live in next release.)

That's great news, also do you have any way to support you? Patreon, donations, etc?

💖 GitHub Sponsors

any progress on this?

Duplicate of #107

the same problem, no solution yet.
v0.12.5

the same problem, no solution yet.
v0.12.5

WIP #148

WIP #148

WIP #148

Thanks a lot,  I am looking forward to this fix.

WIP #148

Thanks a lot,  I am looking forward to this fix.

authors: AlexMikhalev Ayadmk RaulDurand Thomvaill adder46 amacgregor boazbk codeHatcher cristianvasquez faguado-uvigo geeeekDing giorgiokrs guillemf learn2free matherm senerdude sparshy stderr-enst stevenybw teefers wesleytian znck

repo: znck/grammarly


text:
Request $/handleOAuthCallbackUri failed with message: Minified error 8

Explainer links to this page
And it says:

ERROR: #8
Invalid oauth callback url: vscode://znck.grammarly/auth/callback?windowId=2

Single instance of VSCode running on latest preview or latest version.

Fixed in latest prerelease version 0.23.15.

authors: rdohms znck


text:
LDAP demo ldif is using {{ LDAP_DOMAIN }} replacment which is not supported

The used ldap image https://github.com/osixia/docker-openldap#seed-ldap-database-with-ldif is supporting only a few replacements for the ldif seed files. LDAP_DOMAIN is not one of them, thus this stays unreplaced in LDAP resulting in invalid email addresses.
To be clear:
mail: user2@{{ LDAP_DOMAIN }}

Is what ends up in ldap without getting replaced.

Relevant code is at https://github.com/osixia/docker-openldap/blob/stable/image/service/slapd/startup.sh#L69 - best action is probably to propose a change to upstream ldap image so LDAP_DOMAIN is also replaced in ldif seeds.

Hi @longsleep ,
thanks for the hint and the reference to the upstream code.  Let's see if the upstream source would be interested in this change.

Ah damn.. Was my mistake.. I l've the fear, I tested with the wrong branch.
I'm looking for it

@nupplaphil no worries. I fixed it for the time being.

Thanks!! :)

authors: fbartels longsleep nupplaphil

repo: zokradonh/kopano-docker


text:
[New] 申请

😀 申请人 XeryYue
GitHub Email: 81237533@qq.com

🌏 领养萌物 Adopt

react
2.vue

🌈 Tip

How to show? 如何展示？
What we can? 我可以做什么？

格式有误，修改一下噢~

@ajuner pets 格式的提示 没说空格，你加一下呗~

好的。。我记得我敲了空格 @xrkffgg

@XeryYue 你的邮箱多加了个空格。。。检验没过
可以直接用过在线网站筛选，格式自动的。

好吧。。 @xrkffgg

authors: XeryYue ajuner xrkffgg

repo: zoo-js/zoo


text:
subject uploader doesn't match uploaded files

The drop area says I've got 0 manifests and 2 files selected, though note that nothing is actively selected for upload. Also, I actually have uploaded 1 manifest and 4 files at this point. Not sure if this is @camallen or @brian-c

this is a front end issue with the subject uploader. can you please move to the front end repo?

authors: aliburchard camallen

repo: zooniverse/Panoptes


text:
Catch NoMethodError when generating export

workflow_at_version can be nil. I assume there is an underlying issue
that causes that, but this does not attempt to fix it.
Regardless of the underlying problem, the export should not silently
fail.
Review checklist

[ ] First, the most important one: is this PR small enough that you can actually review it? Feel free to just reject a branch if the changes are hard to review due to the length of the diff.
[ ] If there are any migrations, will they the previous version of the app work correctly after they've been run (e.g. the don't remove columns still known about by ActiveRecord).
[ ] If anything changed with regards to the public API, are those changes also documented in the apiary.apib file?
[ ] Are all the changes covered by tests? Think about any possible edge cases that might be left untested.

Related HB https://app.honeybadger.io/projects/40595/faults/49691900


text:
Fix approved total number

Related to issue https://github.com/zooniverse/alice/issues/233
Changes made to tove (currently deployed in staging but not in prod yet), is to send over within meta field of the response body of /transcriptions call a new attribute called approved_count which calculates the number of approved transcriptions that come in from the api call out of all the records queries from the call.
NOTE (to self) : Before deploying to production, must deploy tove changes to prod first.

Thanks for reviewing and thoroughness, Shaun! Much appreciated!

Testing
Testing was a pain. ☠
Initially tested on localhost (http://local.zooniverse.org:3000) with macOS 11.6 + Chrome 95.

However, all attempts to login were met with an inexplicable invalid_grant undefined error
I suspect this is a combination of two things. 1. the local dev server is running on http, not httpS. (Trying to configure this for https is going to be its own thing, to be honest.)
Chrome must have (in the past 1-2 years or so since I last accessed Alice) cranked up its security, meaning that a successful login token from https://*.zooniverse.org doesn't count for http://*.zooniverse.org . But this is just a guess.

^ I probably should have mentioned my struggles with testing/ developing locally as well. Yes this did happen to me.

I fell back to testing on localhost (http://local.zooniverse.org:3000) with macOS 11.6 + Firefox 94, and this actually worked!

Yup, I had to do the same as well. Chrome had some weird issue, but I think i used Firefox and Safari to develop locally. Again, would have been helpful for me to have mentioned that to you as well. Would have saved some pain and heartache. 💔

Status
Approved to merge, but I think we need to propagate the Tove changes to production before we deploy Alice to production too, am I correct?

Tove changes have already been deployed. So we should be good to deploy Alice to prod. 👍

repo: zooniverse/alice


text:
WildCam Lab docs 2021

PR Overiew
This PR adds additional documentation and guides for setting up and updating WildCam Labs.

New folder: 'docs/wildcam/misc-tools'
New script: filter-csv.py. This script reads a CSV file, finds rows that meet a specific criteria, and copies those rows to an output CSV. Useful for, e.g., trimming down mega huge Zooniverse Classification exports, so we only have Classifications from specific Workflows.
TODO

Status
WIP

Thanks Cam!

Good point, the current doc might actually make more sense on classroom-map-api. I'm still gathering my thoughts on this though since I need to expand this README with an additional section called "how to copy Classroom's wildcam-lab modules to make a new Program."... I might end up with two READMEs (one for Classrooms and one for the Classrooms Maps API).
awk?? Oh man, I need to spend some time grokking these command line tools. Python is my default for file-related scripting at the moment. (Though this is admittedly much better than me relying on Node.js for the equivalent.)

I'm going ahead and merging these doc updates first so I have a save point while I work on the "spinning off a new Program" bit.

repo: zooniverse/classroom


text:
Outdated GitHub actions

The deployment workflow is still using Node 16. GItHub added a deprecation warning for Node 16 when it reached End-Of-Life in September 2023, and aims to remove support completely by the end of Spring 2024. Dependabot should take care of updating it, though.
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20:
azure/login@v1, Azure/aks-set-context@v3.

For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
EDIT: GitHub will start enforcing the use of Node 20 on 13th May 2024.
https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

It might alos be worth moving this repo to Node 22, once that comes out next week.

Merged Dependabot PRs.

authors: eatyourgreens zwolf

repo: zooniverse/subject-set-search-api


text:
List of regexes for service secrets

Would love some help on gathering a list of regexes for services so that folks could search for a service they use. This list could be put into its own wiki page and referenced in the README

Can't edit your wiki pages :/
Here is the markdown you might want to copy:

Supported Services
gitleaks supports the following services or secrets:

RKCS8 keys
RSA keys
SSH keys
Github API tokens
AWS API tokens
Facebook API tokens
Twitter API tokens
Telegram bot tokens

Awesome! Appreciate it. I'll be adding the Telegram bot token shortly

authors: jfowl zricethezav

repo: zricethezav/gitleaks


text:
Added trusts for the heat

Used the trusts for deferred_auth_method and used the heat standard port for haproxy.

This is a modified file from
https://github.com/ansible/ansible-modules-core/blob/devel/cloud/openstack/keystone_user.py
it added a function to allow adding a role only without user. will need to contribute it back to ansible_core.

This is the pull request for keystone_user.py. After this request is pulled, we can remove keystone_user.py from the library.
https://github.com/ansible/ansible-modules-core/pull/1926

Sounds good, keep us updated.

authors: cjchang msambol


text:
Predefined DLP Dictionary with Space in Engine

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version
sh-3.2$ terraform -v
Terraform v1.5.7
on darwin_arm64
+ provider registry.terraform.io/zscaler/zia v2.6.1

Affected Resource(s)

zia_dlp_engines

Terraform Configuration Files

locals {
  engine_expression = join(
    " ${var.condition} ",
    [for idx, dict_name in var.zia_dlp_dictionaries : "(D${element(data.zia_dlp_dictionaries.zia_dlp_dictionaries_name, idx).id}.S > ${var.dictionary_threshold[idx]})"]
  )
}

resource "zia_dlp_engines" "dlp_engine" {
  name        = "${var.dlp_engine_name}_tf"
  description = "Terraform ${var.dlp_engine_description}"
  engine_expression = "(${local.engine_expression})"
  custom_dlp_engine = true
}

dlp_engine_name        = "us_cai_dlp_engine"
dlp_engine_description = "us_cai_dlp_engine"
zia_dlp_dictionaries   = ["Weapons", "Gambling",  "Social Security Numbers (US)"]
dictionary_threshold   = ["100", "5", "50"]
condition              = "OR"

data "zia_dlp_dictionaries" "zia_dlp_dictionaries_name" {
  count = length(var.zia_dlp_dictionaries)
  name  = var.zia_dlp_dictionaries[count.index]
}

Debug Output

Panic Output
When using predefined directories with SPACES in them, its getting below error
╷
│ Error: no dictionary found with name: Social Security Numbers (US)
│
│   with data.zia_dlp_dictionaries.zia_dlp_dictionaries_name[2],
│   on data.tf line 1, in data "zia_dlp_dictionaries" "zia_dlp_dictionaries_name":
│    1: data "zia_dlp_dictionaries" "zia_dlp_dictionaries_name" {
│
╵

Expected Behavior
This should generate engine_expression = "((D45.S > 0) OR (D46.S > 0) OR (D62.S > 50))"
Actual Behavior
Getting │ Error: no dictionary found with name: Social Security Numbers (US)
Steps to Reproduce

terraform apply

Any Prefinded Dictionary with SPACE is not generating the associated ID and use it when creating the engine.

@tiwari3010 There are some API limitations regarding search containing spaces that need to be investigated. In the meantime, we recommend to clone the built-in dictionary i.e Social Security Numbers (US) and set the name with underscores or dashes as Social_Security_Numbers_US.
Regards

Thank you William, I thought of doing that exactly.

╷
│ Error: time stamp or api key doesn't have required sizes
│
│   with module.DLPs.data.zia_dlp_dictionaries.example1,
│   on ..\modules\vinci_dlp_dictionary\datasource.tf line 1, in data "zia_dlp_dictionaries" "example1":
│    1: data "zia_dlp_dictionaries" "example1"{
why this error occurs?

Error: time stamp or api key doesn't have required sizes
│
│   with module.DLPs.data.zia_dlp_dictionaries.example1,
│   on ..\modules\vinci_dlp_dictionary\datasource.tf line 1, in data "zia_dlp_dictionaries" "example1":
│    1: data "zia_dlp_dictionaries" "example1"{
Why is this error coming ?

repo: zscaler/terraform-provider-zia


text:
Added submenu

I added submenu for Linux. Sorry. Later I'll try to add icons

That's a good start, thanks! I would try to make it in a recursive manner, though (now submenus are limited to one level only and have no checked state support etc). Also probably it would be possible to reuse the same callback for "activate" signal.

@zserge   "a recursive manner"  I thought as much:)  I'll do a recursive. Thanks for reply.

Hello. I redid all.

That's much better, well done! May I ask you to use clang-format tool to re-format the code to be consistent (default settings should work fine, the original code was formatted like that). Also I'd recommend to remove the commented-out block in example.c (lines 48..65) as it doesn't bring any sense to the example. Then I'd be happy to merge it.

Update.   I hope I did the right.

I've simplified it a little bit and added implementations for winapi and macos. Congratulations, sub-menus are now done!

authors: angelskieglazki zserge

repo: zserge/tray


text:
Added support for raw/command forwarding

They are implemented as a /raw pseudo-command in tg side and a configurable prefix .tg_ to replace telegram's / prefix at IRC side.
Syntax checks needed since I am too lazy to learn py or to check it.

If this works, users at #archlinucn and #linuxba can play with @PeterCxy's bot.


text:
Update ohai cookbook for namespace deprecation

Cookbook Version
3.2.1 and master
Chef Client Version
The deprecation notice is visible in chef-client 13 and applies to upcoming chef-client 14.
Platform Details
Applies to all platforms
Scenario
I've been doing an inventory and clean up of the various Chef 14 deprecations in our environment. This one is actually coming from the dependent ohai cookbook and is fixed in the later (~> 5.0) versions.
I was going to submit quick PR with the version bump but then realized that this version of ohai is dependent on chef >= 12.7 and so would be a breaking change for anyone on chef-client versions 12.0-12.6. Not sure how you'd like to handle that.
Steps to Reproduce
in .kitchen.yml:
provisioner:
  name: chef_zero
  require_chef_omnibus: 13
  data_bags_path: ./test/data_bags
  client_rb:
    treat_deprecation_warnings_as_errors: true # WiP on some depends

and converge any suite.
Expected Result
converges successfully
Actual Result
           ================================================================================
           Error executing action `create` on resource 'ohai_plugin[dovecot]'
           ================================================================================

           Chef::Exceptions::DeprecatedFeatureError
           ----------------------------------------
           "rename path to new_resource.path (CHEF-19)/tmp/kitchen/cache/cookbooks/ohai/resources/plugin.rb:13:in `desired_plugin_path'.\nPlease see https://docs.chef.io/deprecations_namespace_collisions.html for further details and information on how to correct this proble
m. at /opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.8.5/lib/chef/formatters/doc.rb:419:in `deprecation'"

           Cookbook Trace:
           ---------------
           /tmp/kitchen/cache/cookbooks/ohai/resources/plugin.rb:13:in `desired_plugin_path'
           /tmp/kitchen/cache/cookbooks/ohai/resources/plugin.rb:80:in `block in class_from_file'
           /tmp/kitchen/cache/cookbooks/ohai/resources/plugin.rb:131:in `block in after_created'
           /tmp/kitchen/cache/cookbooks/ohai/resources/plugin.rb:130:in `each'
           /tmp/kitchen/cache/cookbooks/ohai/resources/plugin.rb:130:in `after_created'
           /tmp/kitchen/cache/cookbooks/dovecot/recipes/ohai_plugin.rb:34:in `from_file'
           /tmp/kitchen/cache/cookbooks/dovecot/recipes/default.rb:22:in `from_file'
           /tmp/kitchen/cache/cookbooks/dovecot_test/recipes/default.rb:22:in `from_file'

           Resource Declaration:
           ---------------------
           # In /tmp/kitchen/cache/cookbooks/dovecot/recipes/ohai_plugin.rb

            34: ohai_plugin 'dovecot' do
            35:   name 'dovecot'
            36:   source_file "#{source_dir}/dovecot.rb.erb"
            37:   resource :template
            38:   variables enable_build_options: ohai_build_options
            39: end

           Compiled Resource:
           ------------------
           # Declared in /tmp/kitchen/cache/cookbooks/dovecot/recipes/ohai_plugin.rb:34:in `from_file'

           ohai_plugin("dovecot") do
             action [:create]
             default_guard_interpreter :default
             declared_type :ohai_plugin
             cookbook_name "dovecot"
             recipe_name "ohai_plugin"
             source_file "ohai7_plugins/dovecot.rb.erb"
             resource :template
             variables {:enable_build_options=>true}
             plugin_name "dovecot"
           end

           System Info:
           ------------
           chef_version=13.8.5
           platform=ubuntu
           platform_version=16.04
           ruby=ruby 2.4.3p205 (2017-12-14 revision 61247) [x86_64-linux]
           program_name=chef-client worker: ppid=1720;start=15:49:35;
           executable=/opt/chef/bin/chef-client

Thanks for the report!
Maybe I should make a release tomorrow including the unreleased changes in master, then do a major bump with the dependency update. What do you think?

I agree that's probably the way to go. Chef 14 is still almost four weeks away too if there were any other breaking changes you wanted to roll in.

I should note too that Chef 12 will actuually be EOL at the end of April: https://www.chef.io/eol-chef12-and-chefdk1/

Any plans for the new release already? Trying to reach chef-14 compatibility now that chef-12 is EOL and chef-13 is deprecated.

@zuazo cloud you roll out a fix/update?

Had a look at it but there still seems to be some more work to do https://travis-ci.org/dermarens/dovecot-cookbook/jobs/391843519

May I ask why this isnt up yet? If you don't want to maintain the package I bet somebody else would be willing to.

Is there any status on this cookbook update?

Has there been any update on this issue?

We are now on Chef 17, is there any update?

We are now on Chef 17, is there any update?

authors: ccrebolder dermarens julianrutten ledgr lordkage zuazo

repo: zuazo/dovecot-cookbook


text:
虚拟机下无法热更新问题

本机是MAC.
在MAC跑了一个Linux虚拟机
编辑文件无法引起重新编译，每次都需要重新编译很久
开发上非常痛苦。
尝试过HMR=reload和Watch=True都没有效果

尝试过HMR=reload和Watch=True都没有效果

HMR\Watch是默认开启的，建议更新到最新的umi看看

在MAC跑了一个Linux虚拟机，编辑文件无法引起重新编译

这边测下来是可以的，不知道是什么类型的文件。Mac直接开发不好么。。

每次都需要重新编译很久

参考umi编译提速
主要有几点，SourceMap/nodeModulesTransform/esbuild(可以试试)

Mac直接开发不好么。。

因为我这里是后端的，后端的程序我都放在虚拟机下运行。

尝试过HMR=reload和Watch=True都没有效果

HMR\Watch是默认开启的，建议更新到最新的umi看看

在MAC跑了一个Linux虚拟机，编辑文件无法引起重新编译

这边测下来是可以的，不知道是什么类型的文件。Mac直接开发不好么。。

每次都需要重新编译很久

参考umi编译提速
主要有几点，SourceMap/nodeModulesTransform/esbuild(可以试试)

感觉这是个共性问题，我拉antd-admin的代码也是无法热更新。

感觉这是一个共性问题

如果是这样，Q群分分钟炸

repo: zuiidea/antd-admin


text:
npm run dev 错误

Failed to compile.
Error in ./src/index.js
Module build failed: ReferenceError: Unknown plugin "dva-hmr" specified in "base" at 2, attempted to resolve relative to "/Users/huguijian/Desktop/antd-admin/src"
at Array.map (native)
@ multi index

roadhog版本不对，或者不是全局安装的，安装README的注意操作

authors: huguijian zuiidea


text:
Handle corrupted domain.json files gracefully

We got a report of a user having the Zulip desktop app just hang on startup.
It turned out the cause was their domain.json file was totally corrupted JSON and didn't open (it was filled with \0 characters).
We should probably do some combination of the following.
(0) See if we have any bugs that might cause this corruption (e.g. if we open the file for writing before doing a network request and only after the network request returns, write to the file).
(1) Quickly look into whether there's a standard Electron storage library we should be using that does this sort of error-handling for us.  That might be the best plan.
(2) If not, make the code that reads domain.json handle errors in a reasonable way.  We probably want to show some sort of user-facing error like "The Zulip app's configuration file (path) seems to be corrupted; this is very rare and likely caused by problems with your filesystem.." with a button "Clear state" or something.  And we should log something to e.g. Sentry so we can track how often it happens.

@geeeeeeeeek is it possible that reloading the DB while updating the saved server causing this issue. Do we really need to reload db here -
https://github.com/zulip/zulip-electron/blob/0a1866abb58a1bba4200e790161eb357b39ac3e9/app/renderer/js/utils/domain-util.js#L49
https://github.com/zulip/zulip-electron/blob/0a1866abb58a1bba4200e790161eb357b39ac3e9/app/renderer/js/utils/domain-util.js#L218
https://github.com/zulip/zulip-electron/blob/master/app/renderer/js/utils/domain-util.js#L212-L221

Short term solution - If domain.json or setting.json gets corrupted for some reason then re-create both the files so that users don't get the hanging app window.
Long term solution - Find the root cause of why the files are getting corrupted and fix that.

Made some changes in error handling of corrupted config files. From now on, if the config files (settings.json, domain.json) gets corrupted for some reason then we re-initialize those files that way user won't get hanging app window. For an example if the domain.json gets corrupted -

First we're showing the error dialog -

Deletes and re-init domain.json. Also logging the errors for better debugging.
FYI @timabbott.

Is this fixed? If so, i think, it can be closed.

Is this fixed? If so, i think, it can be closed.

@vsvipul nope, I still get this error once in a while but not sure how to reproduce.

authors: akashnimare timabbott vsvipul

repo: zulip/zulip-electron


text:
form data should be saved in localstorage for /devtools/integrations/

Sometimes while development, when I'm playing around with Python, I do something wrong and it forces me to refresh the /devtools/integrations/ page on the browser, and I lost my old data and I have to fill it again, it would be convenient if we save form data to localstorage or something on client-side to continue from the same state. Plus a clear button that clears the whole form would be great.

I don't think the tool is intended in any way to be an editor where one hand-writes JSON; one should only be copy-pasting content into /devtools/integrations/ from e.g. a fixture file (or more often using the fixture file system).
Can you talk more about the development workflow you're doing and why?  That might answer the question of whether it makes sense to change this development tool.

authors: gurrrung timabbott

repo: zulip/zulip


text:
"View stream" button not shown for new private streams

At present, when a new private stream is created, the "view stream" button in the upper right is not shown until the page is reloaded. If the stream creator is subscribed to the stream, they should be able to see the "view stream" button right away.

@zulipbot claim

authors: Rixant alya


text:
Link to help center articles for notification settings

In the Personal settings > Notifications panel, we should add the following ? links (like the ones used for other settings) to link to the appropriate help center pages:
Desktop message notifications: /help/desktop-notifications
Mobile message notifications: /help/mobile-notifications
Email message notifications: /help/email-notifications
CZO thread

Hey @alya , Could you please assign this Issue to me, since zulipbot won't allow me to claim this issue, I have one open PR under product-review, Thanks.

Done!


text:
Add two lines around pasting images or uploading images, and quoting and replying

Fix #11389
Testing Plan:
Tested manually.
A few js tests had to be changed in test-js-with-node
GIFs or Screenshots:

@Z0Marlin thanks for working on this!
This should be implemented as a block_format option to compose_ui.replace_syntax and compose_ui.insert_syntax_and_focus, not all of their callers; and those functions should (1) check if the caret is already at the start of a line, and only if not add extra newlines.  And we should add unit tests for the new option with various caret positions extending frontend_tests/node_tests/compose_ui.js.  Done well, just reading those tests should be enough to be confident it works correct in various situations.  Some test cases to try, with | as the place the caret was:
|

(i.e. just the | at the start of an empty message, should not add any extra newlines)
some text |

| some text

some text
|

@skunkmb FYI, you can help review this since you know this code path well.

@timabbott I've added the option in the compose_ui.insert_syntax_and _focus function as of now. Is it required to add a similar option to the replace_syntax function? As per my understanding, the insert_syntax_and_focus function is always being called first to insert a syntax string, and then the replace_syntax function is replacing this string with another one, whenever quoting and replying, or uploading images. So I think, just having the option in insert_syntax_and_focus function is enough. What do you think is the right approach here?

@Z0Marlin I think that's correct for the cases we care about here. Can you add unit tests?

Having spent a bit of time in this code recently fixing the bug mentioned above, I think the structure of your code changes are wrong; you should be passing the option to smart_insert and changing the whitespace rules inside there, not effectively duplicating parts of smart_insert in its caller.

Alright, so essentially, all the whitespace editing must be done in smart_insert, and the other functions should just pass the required parameters to smart_insert  ?

Ok, so I've shifted the logic of adding new lines to smart_insert(),  and added the unit tests for the same.

@timabbott the PR is ready for review. Are there any more changes that need to be made?

Closing as this is stale and much of the core work has already been merged via another PR.


text:
portico: Add hint text for invite only realm on /login.

This is built on top of https://github.com/zulip/zulip/pull/14410. I have added tests as requested by Tim.
Ready for a review.

Merged as bbb07aed38fc6b0680c4dfa2fd1c40a0e96807e5 after some tweaks to the text, thanks @hackerkid!

authors: hackerkid timabbott


text:
recent_topics: Load filters from localstorage before rendering.

We were loading filters from localstorage after rendering the
filters block which caused the incorrect icons being displayed
for filters.
Since usually recent_topics renders a couple times when it
is loaded directly and the filters were being loaded as part of
show_selected_filters after we rendered recent_topics filters,
it meant the correct filters were being displayed in the
second render.
But, when user loads any other narrow directly when Zulip is loaded,
and opens recent_topics, recent_topics is only rendered once,
hence the bug gets noticed.
Fixes #17496

Nice, merged, thanks @amanagr!

authors: amanagr timabbott


text:
[WIP] Upgrade to Django 1.10

This PR does not include FastCGI upgrade.

Automated message from Dropbox CLA bot
@umairwaheed, it looks like you've already signed the Dropbox CLA. Thanks!

@umairwaheed  a head's up in case this is helpful when upgrading, I think there will be some fiddling with django-bitfield, which we use...the project is not currently maintained and not supported by 1.10 last I checked https://github.com/disqus/django-bitfield/issues/67

PR for Django BitField. https://github.com/disqus/django-bitfield/pull/73

This is getting to be a pretty big branch; can you start building a PR with the parts that also work on django 1.8 so we can start merging those?

This is getting to be a pretty big branch; can you start building a PR with the parts that also work on django 1.8 so we can start merging those?

Yeah, sure.

PR containing commits that are ready to be merged https://github.com/zulip/zulip/pull/2215.

@timabbott, one of the side effects of upgrading to Django 1.10 is that whenever the password of the user is changed the password hash changes causing the user to log out. Currently, our UI doesn't handle it well and the user is allowed to navigate away before he is redirected to the login page. This is also the reason why casper tests related to settings page fail.

I think we probably want to keep the behavior that it logs out other clients, but it shouldn't log out the current client that's actually changing the password.  Maybe that means we should just log you back in again (using the new_password you just set) in the same API call that changed the password?

Maybe that means we should just log you back in again (using the new_password you just set) in the same API call that changed the password?

This looks good.

@timabbott, this logging out issue also seems to be due to caching.

Logging out issue due to caching fixed in https://github.com/zulip/zulip/pull/1945/commits/64b7d23fc96b70027957f356072ad54f09e427f8

The front end tests pass now but backend tests fail. They are are failing due to some i18n issue. Will check tomorrow.

@timabbott done with this.

This commit doesn't work with Django 1.8 https://github.com/zulip/zulip/pull/1945/commits/7d2365cc1fde545a8904b699eec61f4632b4eaa6

@umairwaheed it looks like django-bitfield merged 1.10 support into master recently; should we switch to using that?

(Also can you rebase this?)

We should also update PROVISION_VERSION to 3.0 in version.py since this is a big, non-backwards-compatible change to dependencies.

Once that is done I can try deploying this to chat.zulip.org.

@timabbott done

Already merged.

authors: smarx timabbott umairwaheed umkay


text:
message_list_view: Fix incorrect comparison.

discussion: https://chat.zulip.org/#narrow/stream/9-issues/topic/new.20message.20top.20of.20feed.20scrolling/near/1579820
This fixes an incorrect comparison introduced in 05f4493f3da1e811553efcf2e2481b684bd6d69d

This fixes the "delete message" and "move message" repros for me.

Merged, thanks @amanagr! I had suspected that change, but somehow I'd tried reverting that change and still reproduced this issue, but I probably just did it wrong; I was pretty tired last night.

authors: alya amanagr timabbott


text:
corporate: Add minimum licenses for discounted plan.

Adds a field on the Customer model for setting a minimum number of licenses for a default discount.
Notes:

The first commit adds some error handling for support requests that do not successfully make the expected updates.

Previously, if a support admin approved a sponsorship request (100% discount) for a billing entity that had a currently active plan, then an error message was sent and no updates were made. But the error message was displayed / sent as a success message.
Now, this raises an error and displays as an error on the support admin page.

Setting the minimum licenses is not shown as an option for the support admin:

Until a discount is set (not None or greater than 0)
OR if there is a minimum number of licenses already set (e.g. the support admin reset the discount to zero when there was also a minimum licenses set)
There is also a check when updating/setting a minimum number licenses for the customer.default_discount being set or greater than 0

Since the setting of the discount and the minimum number of licenses are two separate actions, in theory, a user could create a plan in the time between the discount and min licenses being updated.

Screenshots and screen captures:

Approve sponsorship failed because on active plan

Discount added (note allowed for active plans currently)

Min licenses failed because on active plan

Discount added without active plan

Min licenses added without active plan

Sponsorship marked as no longer pending

Sign up for Basic plan after discount and min licenses set

Sign up for Business plan after discount and min licenses set

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Looks great, merged, thanks @laurynmm!

authors: laurynmm timabbott


text:
Refactor tornado to be more easily split into multiple processes

This implements a substantial portion of the refactoring that will be required to implement #372 (running multiple Tornado processes).  The overall strategy of this is as follows:

Split the Tornado event system into two processes: a connection server (that handles auth and holds open longpolled user connections) and a queue server (that manages the queues for a particular set of users).  The idea is that each of those processes is easily shardable but the combination of them squashed together is less so.
Remove database/memcached queries from the Tornado queue server component where possible, with the goal of having the queue server not accessing them at all, and the connection servers only access them in the auth decorators (in the future, we can change how auth works as well, but the issue is not pressing).  I believe this is basically achieved, modulo some transition code related to the Client object.

There's some additional commits on top of this that implement splitting Tornado into two processes somewhat hackishly that you can check out to help understand where this is going:
https://github.com/timabbott/zulip/commits/refactor-tornado-test
While those work, I don't feel enough confidence in them to submit them for merge right now, but I think these prerequisite changes are ready for review.

Automated message from Dropbox CLA bot
@timabbott, it looks like you've already signed the Dropbox CLA. Thanks!

Have we considered delegating the queue server bits back to rabbitmq? Perhaps each client can have different queue / topic subscriptions and we can let rabbitmq handle the pub / sub / routing, rather than having all of them share one TornadoQueueClient and writing code to handle the event routing.

The queue server component has somewhat complicated business logic that I'm a bit worried about trying to jam into rabbitmq or redis.  When I have a bit more time, I can write some notes on why, but I currently think that would be fairly difficult.

I merged the first half of this pull request; the second half is a bit more speculative so I'm holding off on it for now.

Merged!  Still needs more work before we can achieve #372, but this has made a lot of progress.

authors: davidhkc smarx timabbott


text:
Testing: test log_events in zerver/lib/actions.py

With focus primarily on code coverage.

Automated message from Dropbox CLA bot
@eestrada, thanks for the pull request! It looks like you haven't yet signed the Dropbox CLA. Please sign it here.

@smarx I have signed the Dropbox SLA for my company. I should be listed under the ethan@metapipe.com email address. Generally my commits are signed with my personal email address though. Would that be the thing that is bouncing me?

Great, that should be good enough.  The bot just isn't smart enough to handle bots.

@eestrada sorry for the slow reply, your code looks great (The failure in Travis CI was caused by something unrelated).  I've merged this, thanks for your contribution!

Automated message from Dropbox CLA bot
@eestrada, thanks for signing the CLA!

authors: eestrada smarx timabbott


text:
RealmAuditLog: Fill subscription events with event_last_message_id=None.

RealmAuditLog: Fill subscription events with event_last_message_id=None.
This is in context to conversation which happened at https://chat.zulip.org/#narrow/stream/9-issues/subject/500.20error.20on.20login/near/511981
Issue was that event_last_message_id was being assigned value None for subscription events when the realm was first created. Thing is realm administrator account was already created before initial onboarding messages were sent to streams. If administrator account was soft deactivated and reactivated that will lead to errors and admin account will not be logged in.

@adnrs96 thanks for doing this!  I merged it as f50e3250753bd2cc3d375d6e5bf11b85dce25996 after some tweaks (see comments above).

Noted the stuff!
Thanks for cleaning it up for me.


text:
Yeti Launch - Uncaught Exception error message and grayed out files

I thought I'd give Yeti a whirl. It looks like it will be a fabulous tool.
After uninstalling the older CLI - via terminal as per instructions,  on launch of Yeti - after installing in my Applications. I'm on MAC (OS- EL CAPITAN)
1 -  On launch first time (no previous projects) Uncaught Exception Error
see attached
yeti launch error.jpg

2 - I click  OK on the error  box and continue to create a NEW PROJECT.
Test Yeti using STARTER
All seems well - despite the disconcerting exception uncaught.

Revised below

3 - Click Settings "Gear Icon" > SELECT YOUR PROJECT FOLDER
which I did. See attached.
I have a project but it says under the NEW PROJECT BUTTON

You don't have any projects yet . . .
I see this
$ Creating Test Yeti in /Users/iBarb/Desktop/Test_Yeti
$ Finished creating Test Yeti project!
$ Test Yeti launching with livereload.
$ [16:39:57]
$ Using gulpfile ~/Desktop/Test_Yeti/gulpfile.js
$ [16:39:57] Starting 'sass'...
$ [16:39:58] Finished 'sass' after 510 ms
$ [16:39:58] Starting 'default'...
4 -I click FINDER in the left bar.
scss folder in root -
I open it
inside  is:
_settings.scss (this is where i made my background color changes)
app.css
I click Browser - I see the starter template - but no background color changes.

Ok - so now I see  there is also the foundation-sites folder . . . .

I think what is needed is  accompanying  instructions for yet - besides just -
DOWNLOAD AND LAUNCH YETI

same here

Projects not created with Yeti Launch do not directly import into it (yet!). As for the javascript error, we are in the process of QAing the patch for this bug. Thanks everyone for letting us know!

I tried it again.Cleaned Yeti out - redownloaded it from http://foundation.zurb.com/sites/docs/
Much better this time. Still get the  Exception Not Found Error,
1 - Initial opening screen - tells you to create the path to your project first. That makes sense.
So I
1 - create the folder and select it.
2 -  Continue and sign up later
3 - New project button
4 - Basic template
5 - Project Name
Note - Can not create any projects with  an underscore _
like test_bl, test-bl works.
6 - Create project
7 - Browser - Launches the kitchen sink
8 - Finder - Open test-bl folder, open scss -
Yipee!  No grayed out files and clean install - no extra scss folders or files,  or extra foundation-sites folder.
Yeti terminal says
$ Creating test-bl in /Users/iBarb/Desktop/test yeti/test-bl
$ Finished creating test-bl project!
Under New Project - test-bl shows. Did not last time even though I followed same process.
9 - FNDER  >  Open _settings.scss file.
(it opens in my TEXT WRANGLER)
Duplicate line
// $body-background: $white;
and remove // and change color to black
$body-background: $black;
SAVE
RUN PROJECT -
$ Creating test-bl in /Users/iBarb/Desktop/test yeti/test-bl
$ Finished creating test-bl project!
$ test-bl launching with livereload.
$ [10:27:37]
$ Using gulpfile ~/Desktop/test yeti/test-bl/gulpfile.js
$ [10:27:37] Starting 'sass'...
$ [10:27:38] Finished 'sass' after 537 ms
$ [10:27:38] Starting 'default'...
$ [10:27:38] Finished 'default' after 9.18 ms
$ Watching all sass files for changes!
Note - No variable not found error this time
index is showing in browser - no background color change.
What step am I missing ?

Addendum -
Apps should leave users with a  successful outcome. The design of an app should lead uses through the process and and options.
So far a great stride was in making the CREATE PATH TO FOLDER the first allowable user interaction -
However  as you can see by my notes above  . . .      a bit more work needs to be done on YETI LAUNCH design and interaction so people have no questions.

@blynnc Thanks for sharing your experience.
I think that the reason the background color isn't changing is that it doesn't know what $black is.
I checked, and there is a line a few lines above the background color, that defines the black color. I tested your situation with the $black also uncommented, and it worked. Could you try that and let me know if it solves your problem?
The other issue is that Yeti Launch isn't reporting the scss error of an undefined variable (or anything else). This can give the impression that scss succeeded in compiling, when in reality there is an error. We have patched this so that Yeti Launch does report scss errors . The patch is in QA right now, apologies for any trouble that has caused you. We will be releasing it as soon as we possibly can. Expect it no later than early next week.
Lastly, I agree 100%. The app should leave users with a successful outcome, and guide them through the whole process. We definitely have had some bumps during launch week, but are firmly committed to seeing them through. We want this to be an incredible resource for front end developers, and these small usability issues certainly hamstring its potential. Feedback like yours is helpful for us to bring a great product to the table, so thank you for sharing.
Screenshot of the setting to also uncomment: http://prntscr.com/971g29
Have a happy thanksgiving!

Erik

Thank-you!  That fixes my problem and that explanation is also a big stepping stone to guiding me through the rest of the_scss file.  I hope this helps someone new to Foundation 6.
Underscores _ are a rather common  special character used in naming  files and folder names.   At least I've always used them or a combination of  underscores and dashes. underscore_item-1.jpg or  folder_system-2
Thanks again. Happy Thanksgiving to entire crew.

Hello everyone,
Hello everyone,
The patch been released! You can download it at http://foundation.zurb.com/develop/yeti-launch.html.
The patch addresses:
Javascript error on startup,
Scss error reporting
Glitch for users with a space in their path trying to open an editor
Big enhancement:
Hosted code integration
A few other minor enhancements:
Allow underscores in project names @blynnc
Change editor button in settings sidebar
Thanks everyone for your patience,
Erik

whats about yeti for linux?

We are hoping to add linux support in the future. Be patient, and thanks for letting us know!

authors: SalahAdDin blynnc erikmellum phifa

repo: zurb/foundation-sites


text:
DEPRECATION WARNING: Passing a string to call()

I found an issue DEPRECATION WARNING: Passing a string to call()
I found how to fix this. How can I submit my modification ?

Duplicate of https://github.com/zurb/motion-ui/issues/99. Resolved in https://github.com/zurb/motion-ui/pull/100

authors: ncoden raphaelsanchez

repo: zurb/motion-ui


text:
alignment

made necessary adjustments to deskstop login and sign up pages

https://www.figma.com/file/LEKdq0JqyuzzOGxv0tZWjh/WalletFriendly?node-id=1485%3A3323

authors: Powelldabig nkirusteph


text:
Configuration queries timing out

The numbers in the brackets are the config param numbers - it is likely that they don't exist on the given firmware.
Node 26 (7, 8) - Zooz ZEN22 Dimmer v2, Manuaf. ID 634, Prod Type: 45330, Prod. ID 7964,  Firmware 1.7
Node 27 (7, 8) - Zooz ZEN22 Dimmer v2, Manuaf. ID 634, Prod Type: 45330, Prod. ID 7964,  Firmware 1.7
Node 29 (7, 8) - Zooz ZEN22 Dimmer v2, Manuaf. ID 634, Prod Type: 45330, Prod. ID 7964,  Firmware 1.7
Node 39 (7, 8) - Zooz ZEN22 Dimmer v2, Manuaf. ID 634, Prod Type: 45330, Prod. ID 7964,  Firmware 1.7
Node 40 (7, 8) - Zooz ZEN22 Dimmer v2, Manuaf. ID 634, Prod Type: 45330, Prod. ID 7964,  Firmware 1.7
Node 41 (7, 8) - Zooz ZEN22 Dimmer v2, Manuaf. ID 634, Prod Type: 45330, Prod. ID 7964,  Firmware 1.7
Node 51 (132, 137, 185) - Trane XR524 Thermostat,  Manuaf. ID 139, Prod Type: 21586, Prod. ID 21570,  Firmware 1.30
Node 58 (9, 10) - Zooz ZEN21 Dimmer v2, Manuaf. ID 634, Prod Type: 45329, Prod. ID 7708,  Firmware 3.0
Node 38 (2, 250) - AEON Labs Micro Switch G2 DSC26103-ZW, Manuaf. ID 134, Prod Type: 3, Prod. ID 26,  Firmware 2.14

Zooz ZEN22: Parameter 7 is incorrect but 8 looks like it was added in v.1.07 (https://www.support.getzooz.com/kb/article/297-zen22-dimmer-change-log/)
Trane XR524 (terrible documentation, looks like users have reverse engineered parameters over time):

132: Not documented anywhere, could be write-only but I can't verify it exists at all - deleting
137: Not documented anywhere, could be write-only but I can't verify it exists at all - deleting
185: This would purport to do the same thing as 132. Can't find documented anywhere - deleting

Zooz ZEN21: Parameters added in v3.1. Condition added. Will combine these when I do the Zooz folder.
Aeon Micro Switch G2: Exists in the manual I have from Aeotec. Aeotec support emails on 4/5 to confirm. I'll keep the PR as a draft until I hear back.

repo: zwave-js/node-zwave-js


text:
能不能再额外添加个方法

因为.9图是url,在使用SDWebImageManager.shared.loadImage下载图片的时候,如果已经存在Image了,是获取不到Data的；
所以能不能那个再加个方法: + (ImageClass *)imageWithImage:(UIImage *)image;

因为.9图是url,在使用SDWebImageManager.shared.loadImage下载图片的时候,如果已经存在Image了,是获取不到Data的；
所以能不能那个再加个方法: + (ImageClass *)imageWithImage:(UIImage *)image;

NSData *data = UIImagePNGRepresentation(image); 转一下就行，我这边处理的话也是走这个逻辑

func loadNinePatchImage(_ url: URL, completion: @escaping (Result<(image: UIImage, padding: UIEdgeInsets, url: URL), LoadImageError>) -> ()) {
        let ckey = SDWebImageManager.shared.cacheKey(for: url)! as NSString
        if let img = cache.object(forKey: ckey) {
            let padding = NinePatchUtils.padding(for: img)
            completion(.success((img, padding, url)))
            return
        }
        SDWebImageManager.shared.loadImage(with: url, options: [], context: nil, progress: nil) { img, data, _, _, _, u in
            guard let ul = u else {
                DispatchQueue.main.async {
                    completion(.failure(.none))
                }
                return
            }
            if let img = img, let data = img.pngData() {
                let ukey = SDWebImageManager.shared.cacheKey(for: ul)! as NSString
                let img = NinePatchUtils.image(with: data)
                let padding = NinePatchUtils.padding(for: img)
                self.cache.setObject(img, forKey: ukey)
                DispatchQueue.main.async {
                    completion(.success((img, padding, ul)))
                }
                return
            }
            guard let d = data else {
                DispatchQueue.main.async {
                    completion(.failure(.none))
                }
                return
            }
            let ukey = SDWebImageManager.shared.cacheKey(for: ul)! as NSString
            let img = NinePatchUtils.image(with: d)
            let padding = NinePatchUtils.padding(for: img)
            self.cache.setObject(img, forKey: ukey)
            DispatchQueue.main.async {
                completion(.success((img, padding, ul)))
            }
        }
    }

使用pngData()这个逻辑的话,会造成变形。。。。。。

func loadNinePatchImage(_ url: URL, completion: @escaping (Result<(image: UIImage, padding: UIEdgeInsets, url: URL), LoadImageError>) -> ()) {
        let ckey = SDWebImageManager.shared.cacheKey(for: url)! as NSString
        if let img = cache.object(forKey: ckey) {
            let padding = NinePatchUtils.padding(for: img)
            completion(.success((img, padding, url)))
            return
        }
        SDWebImageManager.shared.loadImage(with: url, options: [], context: nil, progress: nil) { img, data, _, _, _, u in
            guard let ul = u else {
                DispatchQueue.main.async {
                    completion(.failure(.none))
                }
                return
            }
            if let img = img, let data = img.pngData() {
                let ukey = SDWebImageManager.shared.cacheKey(for: ul)! as NSString
                let img = NinePatchUtils.image(with: data)
                let padding = NinePatchUtils.padding(for: img)
                self.cache.setObject(img, forKey: ukey)
                DispatchQueue.main.async {
                    completion(.success((img, padding, ul)))
                }
                return
            }
            guard let d = data else {
                DispatchQueue.main.async {
                    completion(.failure(.none))
                }
                return
            }
            let ukey = SDWebImageManager.shared.cacheKey(for: ul)! as NSString
            let img = NinePatchUtils.image(with: d)
            let padding = NinePatchUtils.padding(for: img)
            self.cache.setObject(img, forKey: ukey)
            DispatchQueue.main.async {
                completion(.success((img, padding, ul)))
            }
        }
    }

使用pngData()这个逻辑的话,会造成变形。。。。。。

不好意思，上一个回答有误，点九图解析，必须是对原文件的二进制数据解析。
当先通过系统API读取文件解码成UIImage对象时，会抹掉其中的点九图相关数据，所以此时获取UIImage对象的pngData数据后，经过NinePatchKit解析出的只是普通的图片对象，所以渲染的时候是普通放缩，也就是你遇到的变形现象。
SD的loadImage除了返回解码后的UIImage对象，也会返回原data对象，通过原data对象就能正常解析了，如：
SDWebImageManager.shared.loadImage(with: url, options: [], progress: nil) { img, data, error, _, _, _ in
          if let downloadData = data {
              let showImage = NinePatchUtils.image(with: downloadData)
              let padding = NinePatchUtils.padding(for: showImage)
              print(padding)
              print(showImage)
              // more logic ...
          }
      }

authors: zgjff zxinsunshine

repo: zxinsunshine/NinePatchKit


text:
chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-main" workflow

Codecov Report

Merging #402 (af7df48) into main (03aae66) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #402   +/-   ##
=======================================
  Coverage   95.69%   95.69%
=======================================
  Files           1        1
  Lines         395      395
  Branches       53       53
=======================================
  Hits          378      378
  Misses         17       17

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 03aae66...af7df48. Read the comment docs.

authors: codecov-commenter zxkane

repo: zxkane/snat


text:
永遠フレンズ

永遠フレンズ

歌曲信息

专辑：永遠フレンズ
作词：畑 亜貴
作曲：中土 智博
编曲：中土 智博
歌手：Printemps

谱
#2#3#7#6 #65#5#6 #6#7#2
#2#3#7#6 #65#5#6 [#22]#6
#22#2 #2#35#6 #6#75
#35#55#2 #55#2#5 #5#65 #3#2#3#2
----「(#6#6)#2#3 55 (#6#6)#2#3 5#55」----
#2#22#22#2 #2#35#3#2#2
#2#35#6#2#2 #7#6#55 #55#2#2
555#3#2#3 #2#3#2#3#6#2
#2#2#35#6#2#2 #7#6#55#5#6 #2#2#55#3#2#2

5#5#6#6 #2#2#7#6#555#55
#2#2#355 55#55#3#2#3#2
#32#2 2#3#2 #2#3#4#5 #4#3#2#6 #6[#1]#5
----
#2#3#7#6 #65#5#6 #6#7#2
#2#3#7#6 #65#5#6 [#22]#6「#6#2#7#6」
#22#2 #2#35#6 #6#75
#35#5#5#6 5#3#2#2
#2#3#7#6 #65#5#6 #6#7#2
#2#3#7#6 7[122 12#2]「#6#6#7#6」
#22#2 #2#35#6 #6#75
#35#55#2 #55#2#5 #5#65 #3#2#3#2
----「(#6#6)#2#3 55 (#6#6)#2#3 5#55」----
#2#22#22#2 #2#35#3#2#2
#2#35#6#2#2 #7#6#55 #55#2#2
555#3#2#3 #2#3#2#3#6#2
#2#2#35#6#2#2 #7#6#55#5#6 #2#2#55#3#2#2

5#5#6#6 #2#2#7#6#55#55
#2#2#355 55#55#3#2#3#2
#32#2 #2#3#2 #2#3#4#5 #4#3#2#6 #6[#1]#5
----
#2#3#7#6 #65#5#6 #6#7#2
#2#3#7#6 #65#5#6 [#22]#6「#6#2#7#6」
#22#2 #2#35#6 #6#75
#35#5#5#6 5#3#2#2
#2#3#7#6 #65#5#6 #6#7#2
#2#3#7#6 7[122 12#2]「#6#6#7#6」
#22#2 #2#35#6 #6#75
#35#55#2 #55#2#5 #5#65 #3#2#3#2
----「(#6#6)#2#3 55 (#6#6)#2#3 5#55」----
#55#3#2#3#2「#55#3#2#6#2」
#55#3#2#65「[#2]#6」
#55#3#2#3#2「#55#3#2#6#2」
#6#2「#65」
----
5#5#6#55#5#55 #3#55
5#5#6#55#7#7#65 #35#55#3#2#3
#6
----
#2#3#7#6 #65#5#6 #6#7#2
#2#3#7#6 #65#5#6 [#22]#6「#6#2#7#6」
#22#2 #2#35#6 #6#75
#35#5#5#6 5#3#2#2
#2#3#7#6 #65#5#6 #6#7#2
#2#3#7#6 7[122 12#2]「#6#6#7#6」
#22#2 #2#35#6 #6#75
#35#55#2 #55#2#5 #5#65 #3#2#3#2
----「#55#3#2#3#2『#55#3#2#6#2』#55#3#2#65『[#2]#6』#55#3#2#3#2『#55#3#2#6#2』#6#2『#65』」----
(#6#6)#2#3 55 (#6#6)#2#3 5#55

记谱：暗月灬朦胧

LoveLive!(ラブライブ!), Printemps


text:
Adds 'show' endpoint for appointment type

Was a little confused how to properly do VCR testing with this setup.  I ended up creating a new valid access_token, then replacing token: nil in here.  Made the API request successfully and recorded it.  Then copied and pasted the authentication handshake from another cassette like this one.  Finally I went into the cassette and deleted my valid token and replaced with the test_access_token.
It seems somewhat hacky to me... maybe you guys set this up differently?
Another potential solution if you're open to it...
Use something like dotenv and have a .env.example with all the environment variables people need to run the test suite.  Replace the support/client.rb file with something like this:
def client_attributes
  {
    version: ENV['ATHENA_API_VERSION'],
    key: ENV['ATHENA_API_KEY'],
    secret: ENV['ATHENA_API_SECRET'],
    token: nil
  }
end

Then API requests should just work fine as long as people set up their own credentials.  Finally, you can filter out the credentials from the cassettes doing something along these lines.
Lemme know what you think!

I have plan to use dotenv but I didn't expect that someone other than me will be using this gem.

authors: MatUrbanski SpencerCDixon


text:
How to set up SEO

??

I don't understand what you mean.

As you can see, the search engine already optimized. Can you tell me more specifically?

Feel free to re-open this issue if you have a question.

authors: cjade zzossig

repo: zzossig/hugo-theme-zzo


text:
Use canonicalUrl parameter for canonical tag in meta headers

If defined. Fallback to .Permalink as before.
Useful for example to provide a copy of an article on your personal blog which is officially published on the company blog, without a SEO penalty for the main article.

Ok, Thanks!

authors: szpak zzossig


text:
Issues

What an awesome project. It would be really helpful however the script is not working.
I downloaded it, opened it in my browser but nothing happens when I click the pick or download buttons.
Suggestion: add an option where I can select my own background (from PC or internet) instead of colors.

@hiddenchamp Thank you for your message and suggestion. That encourages me a lot! Your reported problem did not occur in my environment. Could you tell which device, OS version, and browser do you use?

Thanks for getting back to me so quickly 👍
I downloaded it and opened the index.html file in chrome and firefox.
Look here: https://i.ibb.co/W0Dt3gR/Screenshot-2020-09-17-Featured-Image-Maker.png
I even started wamp to see if it works that way. Nothing happened.
I am using a PC.

@hiddenchamp Oh I get it. It wouldn't work if you open the downloaded index.html directly.
You should put those files on a web server. I'm sorry but my repository doesn't contain a development server. So if you want to operate the app in your local environment, you need to prepare a web server such as Apache. Just Apache, not WAPM, is fine.
Or if you want to test it quickly, fork the repository and enable GitHub Pages from the Setting of your forked repository, so you can test it on the GitHub Pages.

I don't know why it wasn't working before with wamp (which includes apache) but it is working now haha :).
One suggestion: add the possibility to select a background images from PC or URL instead of the colors.
Also image size and download button.
Great project btw.

@hiddenchamp I will develop those features if I feel like it 😉

@zzzmisa Awesome. THanks and good luck with the project 👍

authors: hiddenchamp zzzmisa

repo: zzzmisa/featured-image-maker


text:
SelectNodes().RemoveAt breaks node relationships

Description
Removing elements from the results of SelectNodes causes siblings of nodes either side of the one removed to go missing or change which parent they belong to.  Either that or I'm really misunderstanding something.
Fiddle or Project
// @nuget: HtmlAgilityPack

using System;
using HtmlAgilityPack;

public class Program
{
	public static void Main()
	{
		var html =
		@"

    <title>Document</title>

First Header

           Hello

Second Header

         World!

Third Header

         Nonsense

";

		var htmlDoc = new HtmlDocument();
		htmlDoc.LoadHtml(html);
		HtmlNode root = htmlDoc.DocumentNode;
		HtmlNodeCollection headers = root.SelectNodes("//h3[contains(@class, 'h3')]");
		// don't want the last one
		headers.RemoveAt(headers.Count - 1); // without this line, it does what I expect. Both h3's and p's are displayed
		foreach(HtmlNode node in headers)
		{
			Console.WriteLine("Found header: {0}", node.InnerText);
		}
		Console.WriteLine();
		DisplayAllSiblings(headers[0]); // 'p = Hello' should be displayed
		DisplayAllSiblings(headers[1]); // 'p = World!' has gone missing
	}

	static void DisplayAllSiblings(HtmlNode node)
	{
		HtmlNode parent = node.ParentNode;
		HtmlNodeCollection coll = parent.SelectNodes("./*");

		Console.WriteLine("Siblings of {0}:", node.InnerText);
		foreach(HtmlNode brother in coll)
		{
			Console.WriteLine("Node: {0} = {1}", brother.Name, brother.InnerText.Trim());
		}
		Console.WriteLine();
	}
}

Output of the above when removing the last node:
Found header: First Header
Found header: Second Header

Siblings of First Header:
Node: h3 = First Header
Node: p = Hello

Siblings of Second Header:
Node: h3 = Second Header

Output when changing the RemoveAt to headers.RemoveAt(1);
Found header: First Header
Found header: Third Header

Siblings of First Header:
Node: h3 = First Header
Node: h3 = Third Header
Node: p = Nonsense

Siblings of Third Header:
Node: h3 = Third Header
Node: p = Nonsense

Further technical details

HAP version: Whichever version dotnetfiddle uses, found in 1.8.10
NET version net472

Hello @adeyblue ,
My developer took time to look at it and we recommend you to use instead the RemoveChild method such as:
var headerToRemove = headers.Last();
headerToRemove.ParentNode.RemoveChild(headerToRemove);

The problem with directly using RemoveAt is you use the method from the List<T> which doesn't raise the HasChanges method. To make it works, we would need to create our own List<T> class which I don't think is a good long-term solution.
Make sure to use methods provided by the library instead.
Let me know if that answer correctly to this issue
Best Regards,
Jon

authors: JonathanMagnan adeyblue

repo: zzzprojects/html-agility-pack