Prompt feature update

Updated xlmr.py to incorporate prompt as a feature input.
Updated Input class, added the attribute 'nls_labels'.
Updated test cases.

Codecov Report

Merging #158 (90d4765) into master (6df3ac7) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #158   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           54        54
  Lines         2546      2583   +37
=========================================
+ Hits          2546      2583   +37

Flag
Coverage Δ

unittests
100.00% <100.00%> (ø)

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

Impacted Files
Coverage Δ

dialogy/base/input/__init__.py
100.00% <100.00%> (ø)

dialogy/constants/__init__.py
100.00% <100.00%> (ø)

dialogy/plugins/text/classification/xlmr.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


go test failed with TestBytesReader

version: last commit 6500a9f4f15818b9854dec9e8f14584d61062555
golang version: go version go1.20.8 darwin/arm64
Description:
go test -timeout 30s -run TestBytesReader github.com/Dreamacro/protobytes
--- FAIL: TestBytesReader (0.00s)
bytes_test.go:19:
Error Trace:	/Users/luke/git/go/protobytes/bytes_test.go:19
Error:      	Not equal:
expected: 0
actual  : 8
Test:       	TestBytesReader
FAIL
FAIL	github.com/Dreamacro/protobytes	0.491s
FAIL

It was testing for the expected value error, thanks for the report, it's fixed.


Synthesis sanity check

Summary
Test is premeditated to compare permrowcol_synthesis to linear_function_synthesis.
Details and comments

The failing tests are unrelated to our code.


Added fullscreen and stick firing

Added fullscreen and stick firing

You can have stick firing... for now
Created issue https://github.com/vgmoose/space/issues/9 to track progress on configurable options menu


NonMatchingSplitsSizesError from huggingface dataset for POJ-104

Hello, I get this error when I try to load your POJ-104 dataset from huggingface.
NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=18878686, num_examples=32000, dataset_name='code_x_glue_cc_clone_detection_poj104'), 'recorded': SplitInfo(name='train', num_bytes=20179075, num_examples=32500, dataset_name='code_x_glue_cc_clone_detection_poj104')}, {'expected': SplitInfo(name='validation', num_bytes=5765303, num_examples=8000, dataset_name='code_x_glue_cc_clone_detection_poj104'), 'recorded': SplitInfo(name='validation', num_bytes=6382433, num_examples=8500, dataset_name='code_x_glue_cc_clone_detection_poj104')}]

As far as I can tell, the dataset expects to load 500 fewer examples than the downloaded files contain. I attached a notebook which reproduces the issue:

Notebook (run with Python 3.8): test_poj104.zip
Output: test_poj104.pdf

Could you fix the issue so that we can load the dataset without ignore_verifications=True?

Ok, thanks for the info. Can you refer me to who maintains the huggingface datasets?


Set Up Deployment of ACCESS-Vis Package to ACCESS-NRI Conda Channel

Set Up Deployment of ACCESS-Vis Package to ACCESS-NRI Conda Channel
Description:
We need to automate the deployment of the ACCESS-Vis package as a conda package to the ACCESS-NRI conda channel. The deployment process should be managed using GitHub Actions to ensure automatic updates whenever a new release is created.
Action Required:

Set Up GitHub Action for Conda Deployment

Create a GitHub Actions workflow that triggers deployment to the ACCESS-NRI channel upon pushing a new version tag or release.
Ensure the workflow includes steps to:

Build the conda package using conda-build.
Upload the package to the ACCESS-NRI channel using anaconda-client.

Conda Configuration

Ensure that the meta.yaml file is correctly configured for the package, including dependencies, versioning, and other necessary metadata.

Conda Credentials

Store the Anaconda credentials (username and API token) as GitHub repository secrets (e.g., ANACONDA_USERNAME and ANACONDA_API_TOKEN).
Configure the workflow to securely use these secrets during deployment.

Versioning Strategy

Ensure that the workflow increments the version number correctly based on Git tags or releases in GitHub.
Provide instructions in the README.md or CONTRIBUTING.md for maintaining and tagging new versions.

Testing the Workflow

Test the GitHub Actions workflow with a test deployment to a separate conda channel or staging environment to ensure everything functions properly before live deployment.

Documentation

Update the README.md with installation instructions for the conda package from the ACCESS-NRI channel and mention the automated deployment process in the repository documentation.

Additional Resources:

Information on how to set up the deployment can be found in the access-med-utils repository.
Organisation recommendations and guidelines can be found here:
ACCESS-NRI Documentation Guidelines.

I think we need a Lavavu conda package...


[PGSQL] Merge master branch to postgresql

Don't hesitate to force push, not sure you can do a merge request here...

Github seems to say there is still conflicts?

Don't hesitate to force push, not sure you can do a merge request here...

Github seems to say there is still conflicts?

It looks better if the force push to origin/postgresql
I haven't permission to force push, -> I will close it

Force push are dangerous.... what about a PR with a rebase on origin/master?


Sync users feature

Add sync_users or improve sync_perms command to enable creating users in project through centralauth so that they appear in project admin even if they have no permissions.

What is the idea behind that feature? I think this might be out of scope for this module but we could consider providing an API to access "available users". Lets talk about this thing before starting to implement something :)

Wan't do - out of the scope.


So quotable, it had to get into the Readme.

Hey Steve
I thought your response from gitter the other day was so good that it should be immortalised. Plus, adding this detail answers one of the questions that I had in my head when I first looked at apisauce.
Keep up the good work!
🙌

I will not accept this without a class @juddey GIF.  YOU HAVE BEEN WARNED!

Yes, Mr. President. 😆


Create an intro

Add an intro about yourself: who are you, what is your strength, why are you here.

Don't forget emphasise your strengths

I don't no what to discuss, so I added it just to pass the test.


Infinite loop

    /**
     Stop animating.
     */
    @available(*, deprecated=2.11, renamed="stopAnimating()")
    public func stopAnimation() {
        self.stopAnimation()
    }

It should be changed to -> self. stopAnimating()

Thanks for your report! Fixed in 2.12.


installation issues on Ubuntu 16.04 GPU version

Dear developers:
I encountered one error with fine setting configuration
All the settings is right, and it said that
                                       all external dependencies fetch successful
                                       configuration finished

all the thing right until I generate the pip_package
(bazel build -c opt --config=cuda //tensorflow/tools/pip_package:build_pip_package),
process like below:
`yuze@nlp:~/tensorflow$ ./configure
~/tensorflow ~/tensorflow
Please specify the location of python. [Default is /usr/bin/python]:
Do you wish to build TensorFlow with Google Cloud Platform support? [y/N] n
No Google Cloud Platform support will be enabled for TensorFlow
Do you wish to build TensorFlow with Hadoop File System support? [y/N] n
No Hadoop File System support will be enabled for TensorFlow
Found possible Python library paths:
/usr/local/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages
Please input the desired Python library path to use.  Default is [/usr/local/lib/python2.7/dist-packages]
Using python library path: /usr/local/lib/python2.7/dist-packages
Do you wish to build TensorFlow with OpenCL support? [y/N] y
OpenCL support will be enabled for TensorFlow
Do you wish to build TensorFlow with CUDA support? [y/N] y
CUDA support will be enabled for TensorFlow
Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/bin/gcc]:
Please specify the CUDA SDK version you want to use, e.g. 7.0. [Leave empty to use system default]: 8.0
Please specify the location where CUDA 8.0 toolkit is installed. Refer to README.md for more details. [Default is /usr/local/cuda]:
Please specify the Cudnn version you want to use. [Leave empty to use system default]:
Please specify the location where cuDNN  library is installed. Refer to README.md for more details. [Default is /usr/local/cuda]:
Please specify a list of comma-separated Cuda compute capabilities you want to build with.
You can find the compute capability of your device at: https://developer.nvidia.com/cuda-gpus.
Please note that each additional compute capability significantly increases your build time and binary size.
[Default is: "3.5,5.2"]:
Please specify which C++ compiler should be used as the host C++ compiler. [Default is /usr/bin/g++]:
Please specify which C compiler should be used as the host C compiler. [Default is /usr/bin/gcc]:
Please specify the location where ComputeCpp 1.2 is installed. Refer to README.md for more details. [Default is /usr/local/computecpp]:
INFO: Starting clean (this may take a while). Consider using --expunge_async if the clean takes more than several minutes.
......
INFO: All external dependencies fetched successfully.
Configuration finished
yuze@nlp:~/tensorflow$ bazel build -c opt --config=cuda //tensorflow/tools/pip_package:build_pip_package
INFO: Found 1 target...
ERROR: missing input file '@local_config_sycl//sycl:LICENSE.text'.
ERROR: /home/yuze/.cache/bazel/_bazel_yuze/540cd99ea4fee1092020a833f635df2b/external/farmhash_archive/BUILD:13:1: C++ compilation of rule '@farmhash_archive//:farmhash' failed: crosstool_wrapper_driver_is_not_gcc failed: error executing command external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -fPIE -Wall -Wunused-but-set-parameter ... (remaining 37 argument(s) skipped): com.google.devtools.build.lib.shell.AbnormalTerminationException: Process terminated by signal 15.
ERROR: /home/yuze/tensorflow/tensorflow/tools/pip_package/BUILD:105:1: //tensorflow/tools/pip_package:build_pip_package: missing input file '@local_config_sycl//sycl:LICENSE.text'.
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /home/yuze/tensorflow/tensorflow/tools/pip_package/BUILD:105:1 1 input file(s) do not exist.
INFO: Elapsed time: 3.485s, Critical Path: 1.17s
`
can you kindly tell me where is wrong?
Thank you!

Yifei, I think this is a new license? Maybe a missing dependency?

I see the issue for when OpenCL support is enabled, will send a PR.

I think I fixed it in my last set of OpenCL enhancements (https://github.com/tensorflow/tensorflow/pull/6161)

I see. Looks good. Let me close my PR.

Thank you, all lovely guys, the installation is OK now, //smile
But  When I finished installation and test it, it occurs an error saying Device mapping : no known device
it works out like below:
`
INFO: Starting clean (this may take a while). Consider using --expunge_async if the clean takes more than several minutes.
......
INFO: All external dependencies fetched successfully.
Configuration finished
yuze@nlp:~/tensorflow$ bazel build -c opt --config=cuda //tensorflow/tools/pip_package:build_pip_package
INFO: Found 1 target...
INFO: From Compiling external/protobuf/python/google/protobuf/pyext/message_factory.cc:
...................................................................................................................................
INFO: From Compiling tensorflow/contrib/rnn/kernels/lstm_ops_gpu.cu.cc:
nvcc warning : option '--relaxed-constexpr' has been deprecated and replaced by option '--expt-relaxed-constexpr'.
nvcc warning : option '--relaxed-constexpr' has been deprecated and replaced by option '--expt-relaxed-constexpr'.
Target //tensorflow/tools/pip_package:build_pip_package up-to-date:
bazel-bin/tensorflow/tools/pip_package/build_pip_package
INFO: Elapsed time: 1120.235s, Critical Path: 852.79s
yuze@nlp:~/tensorflow$ cd ../
yuze@nlp:~$ python
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import tensorflow as tf
with tf.device('/cpu:0'):
...   a = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[2, 3], name='a')
...   b = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[3, 2], name='b')
...   c = tf.matmul(a, b)
...
sess = tf.Session(config=tf.ConfigProto(log_device_placement=True))
Device mapping: no known devices.
I tensorflow/core/common_runtime/direct_session.cc:255] Device mapping:

`
And I am sure my CUDA and cuDNN is all right, and the path environment has no problem. But where may this error occur ?
Thanks again.

1- In your logs, I do not see you installing the pip package you just built using pip install
2- You also enabled "OpenCL" we have not tested the configuration where both opencl and cuda are enabled. It is quite possible they are interacting in an unexpected way.
3- Also, what is the reason for not using the GPU pip packages we provide?
Also, I think the tail of your log is missing, it might contain more information.

@gunan  Hi~ dear gunan, thank you very much, I didn't know the pip packages you provide, it is quite easy to setup. And now, my tensorflow with GPU is running.  //Applause


Track include and TLS certs with Reloader

Adds logic to recursively find any includes and certs in the NATS config and add them to the file watcher
Dependency updates

Golang regex doesn't support negative lookaheads, but I updated the code to handle includes with $ and updated the test to verify these cases


Question: where are the models saved after they are downloaded?

I want to know where the bins are located because are huge and when you test a lot of models sometimes you need to purge the models that you don't want.

Read this: https://huggingface.co/docs/transformers/installation#cache-setup


Refactor all tests to hide GUI

Description
this is how I would propose we fix #1363
most of the tests that are showing gui elements don't need to be.  So rather than move tests or introduce new keywords and conventions into our tests to run or not run those tests, I propose we try to write tests that don't need to show anything.  In all but 2 cases (screenshot tests, and the full-screen keybinding test), I was able to remove the GUI without changing what the test is covering.
couple strategies:

use isVisibleTo(parent_widget) instead of isVisible which prevents the need to show the parent widget to test visibility.
for viewer_factory always start without show=True ... if show=True is required, take a closer look at why.
if we're just testing to see whether show() has been called.  mock the show method and assert_called_once() ... (we can trust Qt that show() actually works).
if all else fails (as in the screenshot tests), we can add if os.getenv('CI') to restrict those tests to CI... or use export CI to "opt in" to testing them locally.

(sidenote: I think if we could figure out #1109, we could also hide the screenshot tests). and the  "full-screen keybinding" test is basically just calling a Qt method, so I feel fine relegating that one to CI as well since we don't need to test an external library.
Type of change

[x] Refactor tests

How has this been tested?

[x] all tests pass (locally at least) with my change

Final checklist:

[ ] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works

(windows fail is the same as before... maybe fixed by #1371 ?)

CI is an environment variable convention used by pretty much every CI provider, and cirrus sets it.  For that reason I’m -1 on using a napari specific variable name

Maybe I was a little quick to merge this. I just tested it out more locally and my screen still gets taken over. See

If I run the napari/_tests folder and try and leave the terminal to another window. Does this not happen to you @tlambert03?
I don't see the actual GUI pop up like I did before, just that gray screen so this PR is definitely an improvement on before

that's the phenotype of the full-screen keybinding leaking through.  It hadn't been happening for me... but yeah, it is right now :/  Lemme see what happened

interesting.  it's actually rather context dependent.  When I let the tests run without going to another window, nothing pops up.  but if I go elsewhere and type and stuff (the whole point), it does pop up.  furthermore, if I just run napari/_tests/test_napari.py, it pops up every time.  so I must have missed a test or two in there.  will investigate

interesting. it's actually rather context dependent. When I let the tests run without going to another window, nothing pops up. but if I go elsewhere and type and stuff (the whole point), it does pop up

yes, I had noticed something to that effect! Thanks for looking in!!


Generate input types (and more fixes)

See https://github.com/HoudiniGraphql/houdini/discussions/475#discussioncomment-3467838
I also unified and fixed some things I stumbled over.
Does this need a changeset?

No, I dont think this one needs a changeset since the user isn't affected


Adding github user and email inputs

Description:
This pull-request adds two new inputs to the action.yml file: user and email. These inputs will allow users to specify the user name and email address associated with the commits made by the action.
This feature is particularly useful for actions that generate commits or perform other git operations. By including this information, it will be easier to track who made the changes and when they were made.
The user and email inputs are optional, but if they are not provided, the action will fall back to using the default user and email associated with the GitHub account that created the token.
Please review and let me know if any changes are needed. Thank you!

I remember I think.
Anyways not sure, can you explain why it is better than using dry run?

Thanks for the idea with dry run. I haven't considered it before, and it makes more sense. BTW the changes were not working anyway, so you can ignore this PR if you find it overengeneered.


chore: bump version to 1.0.6

Summary
No ticket
What is this PR for?
Create a new release
Testing
What testing have you done?

@EmmaSimon I was planning to hold off, I want to test that on my commute tomorrow going in & out of tunnels while it is in staging


Integrate darksky as a weather provider (closes #42)

Codecov Report

Merging #75 into develop will increase coverage by 5.03%.
The diff coverage is 97.22%.

@@             Coverage Diff             @@
##           develop      #75      +/-   ##
===========================================
+ Coverage    75.59%   80.62%   +5.03%
===========================================
  Files           11       15       +4
  Lines          127      160      +33
  Branches         2        1       -1
===========================================
+ Hits            96      129      +33
  Misses          31       31

Impacted Files
Coverage Δ

...tics/weather/providers/darksky/DarkSkyClient.scala
100% <100%> (ø)

...analytics/weather/providers/darksky/Requests.scala
100% <100%> (ø)

...nalytics/weather/providers/darksky/Responses.scala
100% <100%> (ø)

...wanalytics/weather/providers/darksky/DarkSky.scala
100% <100%> (ø)

.../com.snowplowanalytics/weather/HttpTransport.scala
86.36% <66.66%> (ø)
:arrow_up:

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 b0ff33f...4a31e22. Read the comment docs.

@BenFradet All done


Fix regression in Bash strings

In a recent patch the regex for single-quoted and double-quoted
strings of the Bash language was split into two separate regexes
to prevent the highlighting of variables inside of single-quoted
strings.
This causes a bug whenever a double-quoted string apears inside a
single-quoted string, because the double-quoted string is matched
first.
'"foo"'

The same problem exists with the newly introduced Here-Documents.
This patch fixes the problem by matching Here-Documents first and
merging the regexes for single-quoted and double-quoted
strings again.
This patch also adds testcases for this, to prevent future
regressions.

The regression was introduced by my latest patch series for the Bash language. Sorry for the mess :(

Thanks for fixing it


⚠ Bofrost.at has degraded performance

In ab9e711, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2406 ms

Resolved: Bofrost.at performance has improved in d0baacd after 6 minutes.


Remove: GoLang.Go.1.20 version 1.20.0

Replaced by GoLang.Go as splitting is no longer necessary with package pinning
Microsoft Reviewers: Open in CodeFlow

@stephengillie why was this commit allowed, it changed the whole structure of the Go versioning?

@stephengillie why was this commit allowed, it changed the whole structure of the Go versioning?

From the first commit by @russellbanks:

Replaced by GoLang.Go as splitting is no longer necessary with package pinning

Package Pinning prevents a package from being upgraded unless it's explicitly specified, or unless --include-pinned is specified.

@stephengillie why was this commit allowed, it changed the whole structure of the Go versioning?

Package pinning never used to exist so we split packages by major versions if older major versions were still getting updates (think Go 1.19 still getting updates), to emulate update channels. The downside to this is that it violates the good-practice of packages being able to be installed side-by-side and it also means that users on Go 1.19, for example, won't get an upgrade to Go 1.20 unless they explicitly upgrade.
The solution is package pinning where a package can be pinned to a version such as 1.19.x; the user won't get updates greater than that. This means that this temporary solution is no longer needed.


Omit lenses for not runnable doctests

Ideally, we should properly parse the doctest attributes before, but since I need it for the code lens only, this way should suffice for now

bors r+
cc #4873, which adds markdown parser


Got to doc doesn't work

Ensime "go to doc" just doesn't work (on anything), but when I tried "browse all docs", I got this error and both doc-related commands disappeared from the command palette (and didn't get back even after ensime relaunch)
Atom Version: 1.6.0-beta0
System: Mac OS X 10.11.1
Thrown From: ensime package, vundefined
Stack Trace
Uncaught ReferenceError: shell is not defined
At /Users/laughedelic/.atom/packages/ensime/lib/features/documentation.coffee:37

ReferenceError: shell is not defined
    at Function.Documentation.openDoc (/Users/laughedelic/.atom/packages/ensime/lib/features/documentation.coffee:37:36)
    at Client.module.exports.Client.goToDocIndex (/Users/laughedelic/.atom/packages/ensime/lib/client.coffee:101:19)
    at Object.module.exports.Ensime.goToDocIndex (/Users/laughedelic/.atom/packages/ensime/lib/ensime.coffee:333:30)
    at atom-text-editor.<anonymous> (/Users/laughedelic/.atom/packages/ensime/lib/ensime.coffee:110:90)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at /Applications/Atom Beta.app/Contents/Resources/app.asar/src/command-registry.js:3:61
    at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom Beta.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:183:32)
    at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom Beta.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
    at space-pen-div.atom.commands.add.core:confirm (/Applications/Atom Beta.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at /Applications/Atom Beta.app/Contents/Resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom Beta.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:536:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom Beta.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:359:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/window-event-handler.js:97:36)
    at HTMLDocument.<anonymous> (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)

Commands
     -0:33.7.0 vim-mode:insert-after-end-of-line (atom-text-editor.editor.vim-mode.is-focused.normal-mode)
     -0:33.3.0 vim-mode:activate-normal-mode (atom-text-editor.editor.vim-mode.is-focused.insert-mode)
     -0:33.1.0 vim-mode:move-up (atom-text-editor.editor.vim-mode.is-focused.normal-mode)
     -0:32.8.0 vim-mode:substitute-line (atom-text-editor.editor.vim-mode.is-focused.normal-mode)
  4x -0:31.2.0 blur (atom-text-editor.editor.vim-mode.is-focused.insert-mode)
     -0:14.2.0 vim-mode:activate-normal-mode (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
     -0:13.9.0 core:move-left (atom-text-editor.editor.vim-mode.is-focused.normal-mode)
     -0:13.6.0 vim-mode:move-up (atom-text-editor.editor.vim-mode.is-focused.normal-mode)
  2x -0:13.3.0 vim-mode:move-to-next-whole-word (atom-text-editor.editor.vim-mode.is-focused.normal-mode)
  3x -0:11.4.0 ensime:go-to-doc (atom-text-editor.editor.vim-mode.is-focused.normal-mode)
     -0:08.7.0 command-palette:toggle (atom-text-editor.editor.vim-mode.is-focused.normal-mode.hyperclick)
     -0:08.5.0 blur (atom-text-editor.editor.vim-mode.is-focused.normal-mode.hyperclick)
     -0:05.9.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -0:05.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:05.5.0 blur (atom-text-editor.editor.mini.is-focused)
     -0:05.5.0 ensime:browse-doc (atom-text-editor.editor.vim-mode.normal-mode.hyperclick)

Config
{
  "core": {
    "disabledPackages": [
      "keybinding-resolver",
      "language-objective-c",
      "distraction-free-mode",
      "language-gfm",
      "autocomplete",
      "markdown-writer",
      "markdown-lists",
      "markmon-preview",
      "markdown-preview",
      "remember-session",
      "mechanical-keyboard",
      "autocomplete-css",
      "git-tab-status",
      "minimap-git-diff",
      "autocomplete-atom-api",
      "language-clojure",
      "language-html",
      "language-less",
      "language-ruby",
      "language-c",
      "language-csharp",
      "language-go",
      "language-make",
      "language-mustache",
      "language-perl",
      "language-php",
      "language-python",
      "language-ruby-on-rails",
      "language-sass",
      "language-sql",
      "language-toml",
      "language-xml",
      "scala-worksheet",
      "scala-worksheet",
      "autocomplete-snippets",
      "autocomplete-html",
      "move-status-items",
      "autocomplete-emojis",
      "welcome",
      "autocomplete-paths",
      "bookmarks",
      "background-tips",
      "encoding-selector",
      "archive-view",
      "markdown-mindmap",
      "autocomplete-bibtex",
      "package-switch",
      "language-idris",
      "antialiased",
      "vim-mode-plus",
      "auto-reveal-in-sidebar",
      "active-files",
      "line-ending-selector",
      "linter-manager",
      "linter-annotations",
      "semanticolor",
      "pull-requests",
      "atom-telegram",
      "nav-panel",
      "metrics",
      "linter-markdown",
      "linter-scalac",
      "imdone-atom",
      "imdone-atom-github",
      "todo-manager",
      "bottom-dock",
      "git-travel",
      "build-sbt",
      "build",
      "markdown-scroll-sync",
      "github-notifications",
      "swackets",
      "minimap-codeglance"
    ],
    "packagesWithKeymapsDisabled": [
      "linter"
    ],
    "projectHome": "~/dev",
    "themes": [
      "native-ui",
      "atom-material-syntax"
    ]
  }
}

Installed Packages
# User
Ensime, v0.35.0
advanced-open-file, v0.14.2
atom-material-syntax, v0.3.3
auto-reveal-active-file, v0.3.1
autoflow-diffable, v0.5.0
cursor-history, v0.5.9
file-icons, v1.6.14
highlight-selected, v0.11.2
hyperclick, v0.0.35
language-diff, v0.4.0
language-elm, v1.3.2
language-haskell, v1.5.2
language-latex, v0.6.1
language-pfm, v0.82.0
language-scala, v1.1.6
latex-completions, v0.3.1
line-diff-details, v1.2.0
linter, v1.11.3
markdown-preview-plus, v2.2.2
markdown-table-formatter, v2.7.2
mathjax-wrapper, v0.1.0
minimap, v4.19.0
native-ui, v0.17.0
package-manager-commands, v2.0.3
pdf-view, v0.39.0
plain-simple, v1.0.3
pretty-json, v0.4.1
project-folder, v0.1.8
vim-mode, v0.64.0

# Dev
No dev packages

Yup bug - thanks for the report.  @hedefalk thanks, looks like you've got it covered.

Man, I forgot to self-assign again :.(
On Wed, Feb 10, 2016 at 11:03 PM Richard Dallaway<EMAIL_ADDRESS>wrote:

Yup bug - thanks for the report. @hedefalk https://github.com/hedefalk
thanks, looks like you've got it covered.
—
Reply to this email directly or view it on GitHub
https://github.com/ensime/ensime-atom/issues/165#issuecomment-182600585.

Thanks for the quick fix. Looking at how fast you break and fix things, I start to think that I should report more, because most of the time ensime just doesn't work on my projects :sweat_smile:

@laughedelic Yeah, sorry for that :) Please report any problems you struck!
Even if it's false positives (which I will move to ensime-server and then close as dup of ensime-server#673) it is good to have reports and test cases.

:ok_hand:


I need some help.

@xx3000 , I am using the mTec to do some study in GI. This is the first time I learned the SDF and your paper gives me a lot of help. But, when running your code I had some problems. Like below:
GL_MAX_UNIFORM_BLOCK_SIZE  is 1024
color encoding  is 9729
Avail GPU mem  is 4538860
Assertion failed: IsObject(), file e:\mtec\mtec vs2013\µtec\rapidjson\document.h, line 1204
I hope you can take time out of your busy schedule to answer my doubts, thanks!
Besides, I'm compiling this solution with VS2013 in Debug Win32.

After debugging, I found the location that caused the program to abort at runtime. But I don't have a clue. I hope someone can help me. The position where program aborting is at "document.h", line 1207.
RAPIDJSON_ASSERT(IsObject());

I compiled several different GLEW in Win32, including GLEW 1.13.0 released on 2015.8.10 and GLEW 2.1.0 released on 2017.7.31. And it could not work out. Moreover, I've tried freeglut 2.8.1 [Released: 5 April 2013] and freeglut 3.0.0 [Released: 7 March 2015], it's helpless for my implementation. QAQ


feat(pie-thumbnail): DSW-2578 add pie thumbnail skeleton

Please click the Preview tab and select a different PR template if your change isn't for an                                            existing web component.
PIE Docs Template
New Web Component Template
═══════════════════════════════════════════════════════════
Describe your changes (can list changeset entries if preferable)
Author Checklist (complete before requesting a review, do not delete any)

[x] I have performed a self-review of my code.
[x] I have reviewed the PIE Storybook/PIE Docs PR preview.
[x] If changes will affect consumers of the package, I have created a changeset entry.

Not-applicable Checklist items
Please move any Author checklist items that do not apply to this pull request here.

[ ] I have added thorough tests where applicable (unit / component / visual).
[ ] I have reviewed visual test updates properly before approving.
[ ] If a changeset file has been created, I have tested these changes in PIE Aperture using the /test-aperture command.

Testing
How do I test my changes?

Task
Link

Aperture PR
🔗

NextJS 14 deployment
🔗

Nuxt 3 deployment
🔗

Vanilla deployment
🔗

Reviewer checklists (complete before approving)
Mark items as [-] N/A if not applicable.
Reviewer 1

[ ] I have reviewed the PIE Storybook/PIE Docs PR preview.
[ ] I have verified that all acceptance criteria for this ticket have been completed.
[ ] I have reviewed the Aperture changes (if added)
[ ] If there are visual test updates, I have reviewed them.

Reviewer 2

[ ] I have reviewed the PIE Storybook/PIE Docs PR preview.
[ ] I have verified that all acceptance criteria for this ticket have been completed.
[ ] I have reviewed the Aperture changes (if added)
[ ] If there are visual test updates, I have reviewed them.

No need to test in aperture this time around as it's just the generated files, but definitely worth doing as you continue development in future PRs!

@bntsv - Just noticed a bug in the generator that's causing generated test to fail. I'll commit a change (probably Monday) to fix, with a follow-up PR to fix the underlying issue in the generator


Customize number of lines of context in diff

Thank you for making this plugin and open sourcing it!
Have you considered supporting the --unified flag?

-U<n>
--unified=<n>
Generate diffs with  lines of context instead of the usual three. Implies --patch.

To begin with, making this an option in the plugin settings would be great.
(To be even more sophisticated, the plugin could set --unified dynamically based on the diff, for example to the largest value that will still allow the diff+prompt to fit in the context)

I am using IntelliJ's com.intellij.openapi.diff.impl.patch.UnifiedDiffWriter for creating prompt. This way I only use changes that are picked in the commit dialog. I can't find any other implementation of diff writer in IntelliJ API and am not ready to write my own, because it's a pretty complex.


SAREGISTER interacts incorrectly with always-on: opt-out

If you set always-on to opt-out in the server config, then SAREGISTER a client, the client isn't created until first login (which is fine), but then doesn't correctly transition to always-on as part of that login (which is not).

https://github.com/oragono/oragono/blob/b3fd7e39f02362dd36655b5b5d21d065a4375555/irc/getters.go#L293-L297

Needs a changelog entry.


tcpcryptd should be enabled by default for security.

So, as part of the hardening process of NixOS, I think tcpcryptd should be enabled by default - it encrypts TCP connections if it's talking to another tcpcryptd-enabled server, otherwise it falls back to standard TCP connections.

I think tcpcryptd is a fantastic idea in principle but I'm -1 on enable-by-default. IMHO daemons that rewrite network traffic to that extend should be opt-in (principle of least surprise).
On top of that I'm not convinced that exposing another daemon written in c to the Internet is a great idea :)

Can we close this? Seems to be majority-against.

I don't see this getting general support and it is easy enough to enable, with e.g. nixops especially for multiple machines.


University Class Schedule: not very convenient formatting

The section details is currently formatted as shown in the following example:
TTh 12:00p - 1:15p JFSB B137
Available Seats: 28/38

I think it'd be more clear if it was as follows:
TTh 12:00p - 1:15p
JFSB B137
Available Seats: 28/38

Also, this row is clickable in iOS and shows where the building is on a map. @romrell4 do we want to add this functionality to Android?

I think that would be good functionality to have. Let's do it


creating SRPMs is not working

Blocks #32
I took a look at utilizing copr as a build backend (this makes a lot of sense for upstream repos). Our tooling should create srpms from the repos and feed them to copr, wait for builds to finish and update status of the respective PR. In order to achieve that, we need to construct SRPMs.

Partially fixed in #49
We need to test it a bit.

Closing in favor of https://github.com/packit-service/packit/issues/122


where to modify the batch size?

I am trying to run this on GPU but having memory issue. Where can I modify the batch size?
Thanks.

You can change the config dict and set a value for the entry: miniBatchSize
Have a look here with all the possible config parameters:
https://github.com/UKPLab/emnlp2017-bilstm-cnn-crf/#lstm-hyperparameters

Thank you!


Welcoming Sean to the HDWG @ DLSPH

[x] Adding Sean to the GitHub organization
[x] Creating a markdown page for his profile in _people

Closed by 79766e2


Feature Request:  Integrate Text-to-Speech AI for Better User Experience

Summary
First of all, thank you for the outstanding work on this mod. It's impressive, and I appreciate the effort and dedication that has gone into its development.
Let's jump straight to the point, I propose improving the Text-to-Speech (TTS) functionality of this mod by integrating AI libraries. This could improve voice quality and provide a more immersive experience for players.
Current Situation
The mod currently uses the NaturalVoiceSAPIAdapter for TTS. While it functions adequately, there are other libraries available that offer higher-quality voices and additional features.
Proposed Libraries
1. Microsoft Azure Speech SDK

Description: Provides advanced TTS capabilities with high-quality, natural-sounding voices. Supports C++ integration and is compatible with Unity projects.
SDK Information: Microsoft Azure Speech SDK
Voice Gallery: Microsoft Voice Gallery
Benefits:

Offers neural voices for realistic speech.
Supports a wide range of languages and dialects.
Provides options for voice customization.

Considerations:

Requires an Azure account; usage may incur costs.
Licensing terms should be reviewed to ensure compatibility with the mod's distribution.

2. Amazon Polly

Description: A cloud service that converts text into lifelike speech using deep learning technologies.
SDK Information: Amazon Polly SDK for C++
Available Voices: Amazon Polly Voices
Benefits:

Provides a variety of natural-sounding voices.
Supports Speech Synthesis Markup Language (SSML) for advanced control.
Allows caching of speech locally to reduce latency.

Considerations:

Requires an AWS account; usage may incur costs.
Licensing should be checked to ensure alignment with the mod's distribution model.

3. Google Cloud Text-to-Speech

Description: Delivers natural-sounding speech using WaveNet and neural network technologies.
Documentation: Google Cloud Text-to-Speech
Available Voices: Google Cloud Voices
Benefits:

High-fidelity voices with a wide selection.
Supports SSML for detailed speech customization.

Considerations:

Requires a Google Cloud account; usage may incur costs.
Licensing and terms of service need to be reviewed for mod use.

3. OpenAI Text-to-Speech

Description: OpenAI offers advanced AI models capable of generating natural-sounding speech. Their Text-to-Speech service provides high-quality voice synthesis that can enhance the auditory experience within applications.
Documentation: OpenAI Text-to-Speech Quickstart
SDK Information: OpenAI C++ library
Benefits:

Utilizes state-of-the-art AI for highly realistic voice output.
Supports multiple languages and accents.
Can convey different emotions and speaking styles to match game atmospheres.

Considerations:

Requires an OpenAI account; usage may incur costs based on API usage.
Licensing terms need to be reviewed to ensure compatibility with the mod's distribution.

Benefits of Integration

Improved Voice Quality: More natural and expressive voices enhance player immersion.
Customization: Ability to match voices with the game's atmosphere and characters.
Accessibility: Better support for players who prefer or require audio content.

Additional Considerations

Integration Effort: Assess compatibility with the current C++ codebase and Unity engine.
Performance Impact: Evaluate any potential performance implications.
Licensing: Ensure that the chosen library's licensing terms are compatible with the mod's distribution.

Conclusion
Integrating one of these advanced TTS libraries could significantly enhance the player experience. I'm interested in contributing to this effort and would be happy to assist with research or development if this aligns with your project's goals.
Thank you for considering this feature request!

NaturalVoiceSAPIAdapter supports the Azure Speech service.
You can use the online Azure voices if you have an Azure account, create a speech resource, then enter the key and region in the installer dialog.
You can create an Azure account for free, and if you choose the free tier while creating the speech resource, there will be no cost. The quota is 0.5 million characters per month, which may be enough for a single user, but not if shared with every user.
So I think that adding support for those speech SDKs would be great, but users should use their own accounts and keys, and pay for their own usage.


Copy bytes directly instead of using scala.reflect.io.Streamable

scala.reflect.io.Streamable is way slower than copying bytes directly. Depending on buildtool implementations of VirtualFile and FileConverter the code path may end up running this method which for smaller files (1Kb) is 10x slower and for larger ones (20Kb+) even 20x slower. This can add up for bigger codebases.

Thanks!
Please note that both Scala 2.13 and Scala 3 have their own compiler bridges now.

Oh, I wasn't aware of this. I can't find Scala 3 bridge sources, do you mind sharing the link to them ?

IIRC, Scala 3 rewrote the compiler bridge in Java: https://github.com/scala/scala3/tree/main/sbt-bridge/src
With what you know / learned by creating this PR, maybe you can find out if a similar change is needed in Scala 3 as well.

👍  thanks. Are you going to submit a forward-port to 2.13? https://github.com/scala/scala/blob/2.13.x/src/sbt-bridge/scala/tools/xsbt/AbstractZincFile.scala


Run unit tests against sqlite and mysql, eventually postgres

$ panoramix db upgrade
...
INFO  [alembic.migration] Running upgrade 289ce07647b -> 1a48a5411020, adding slug to dash
Traceback (most recent call last):
  File "/home/james/.local/bin/panoramix", line 374, in <module>
    manager.run()
  File "/home/james/.local/lib/python2.7/site-packages/flask_script/__init__.py", line 412, in run
    result = self.handle(sys.argv[0], sys.argv[1:])
  File "/home/james/.local/lib/python2.7/site-packages/flask_script/__init__.py", line 383, in handle
    res = handle(*args, **config)
  File "/home/james/.local/lib/python2.7/site-packages/flask_script/commands.py", line 216, in __call__
    return self.run(*args, **kwargs)
  File "/home/james/.local/lib/python2.7/site-packages/flask_migrate/__init__.py", line 216, in upgrade
    command.upgrade(config, revision, sql=sql, tag=tag)
  File "/home/james/.local/lib/python2.7/site-packages/alembic/command.py", line 165, in upgrade
    script.run_env()
  File "/home/james/.local/lib/python2.7/site-packages/alembic/script.py", line 390, in run_env
    util.load_python_file(self.dir, 'env.py')
  File "/home/james/.local/lib/python2.7/site-packages/alembic/util.py", line 244, in load_python_file
    module = load_module_py(module_id, path)
  File "/home/james/.local/lib/python2.7/site-packages/alembic/compat.py", line 79, in load_module_py
    mod = imp.load_source(module_id, path, fp)
  File "/home/james/.local/lib/python2.7/site-packages/panoramix/migrations/env.py", line 89, in <module>
    run_migrations_online()
  File "/home/james/.local/lib/python2.7/site-packages/panoramix/migrations/env.py", line 82, in run_migrations_online
    context.run_migrations()
  File "<string>", line 7, in run_migrations
  File "/home/james/.local/lib/python2.7/site-packages/alembic/environment.py", line 738, in run_migrations
    self.get_context().run_migrations(**kw)
  File "/home/james/.local/lib/python2.7/site-packages/alembic/migration.py", line 311, in run_migrations
    step.migration_fn(**kw)
  File "/home/james/.local/lib/python2.7/site-packages/panoramix/migrations/versions/1a48a5411020_adding_slug_to_dash.py", line 18, in upgrade
    op.create_unique_constraint('idx_unique_slug', 'dashboards', ['slug'])
  File "<string>", line 7, in create_unique_constraint
  File "/home/james/.local/lib/python2.7/site-packages/alembic/operations.py", line 806, in create_unique_constraint
    schema=schema, **kw)
  File "/home/james/.local/lib/python2.7/site-packages/alembic/ddl/sqlite.py", line 34, in add_constraint
    "No support for ALTER of constraints in SQLite dialect")
NotImplementedError: No support for ALTER of constraints in SQLite dialect

Good catch. I just pushed 0.6.1 addressing this. I'm renaming this task to related work that will prevent this.

@jamescasbon please confirm that 0.6.1 works for you

Yes, worksforme.  Thanks!


Intitial template and global nav changes

@angiecesere - let's take a look and see if we want to merge this in :)

Angie says go for it!


chore: Updated titles in all pages for consistency

Signed-off-by: Nikhil-Ladha<EMAIL_ADDRESS>Description
Updated the titles on pages to maintain consistency throughout the UI.
Also, updated the drawer behavior for Meshery UI menu extensions.
Signed commits

[X] Yes, I signed my commits.

@Abhishek-kumar09 I have added the code in this PR to handle the drawer behavior on meshmap page. Please do review it :)

btw, I had only 1 query rest of the PR looks great as @Nikhil-Ladha himself.

Good, good.

Can you please do a second round of review @Abhishek-kumar09 ?

@Abhishek-kumar09 I think we are safe to bypass the integration-tests and merge the PR? 🤔

@Abhishek-kumar09 I think we are safe to bypass the failing integration-tests and merge the PR? thinking

+1


How to list only broken sites?

Hello,
how to list only broken sites? Without OK status. Or how to copy all results in clipboard to import in my TXT file. Thank you for your time.

Not currently supported. Logging may be a feature added to v0.8, but it all depends on how much free time I have.

Thank you for fast reply. So isn't possible remove or filter out all OK pages from list of broken links at this time?

You can create your own report or log using the programmatic API.

A simple workaround is to do something like blc https://some-url.com | grep BROKEN | tee 2>&1 output.txt and then you can reformat output.txt however you want.

@rybarova check this PR


Support for project types?

Hi,
first of all great package and thank you!
I wanted to know why you are explicitly excluding the following types and specifically project:
$exclude = ['library', 'project', 'metapackage', 'composer-plugin'];
Would it have negative consequences to use this plugin with project? I have a project depending on another hence the perfect use case for this.
I am happy to make a PR if you are inclined to change this? I have tried it on local with no issues.

Closing now as resolved in https://github.com/markocupic/composer-file-copier-plugin/pull/2


Run skeleton application

As a developer
I need to run a skeleton version of our application
So that I can ensure the basic setup is correct and operational
Details and Assumptions
* The skeleton application includes the basic framework and dependencies.

Acceptance Criteria
Given the application setup instructions
When I follow the steps and run the application
Then the application starts without errors and displays a basic greeting or dashboard

Done


[Feature] what's the difference between paimon table and flink table

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
we are using synchronized data from pulsar to paimon, however, paimon does not support pulser nowadays, and I think to synchronized from pulsar to flink, and store the data into hdfs, while what's the difference between a paimon table and a flink table.
and, anohter way that we need to think about is that use pulsar-kafka-paimon, does paimon-0.5-SNAPSHOT support kafka well currently ? I did meet some wrong when I use kafka to sync data to paimon
Solution
No response
Anything else?
No response
Are you willing to submit a PR?

[X] I'm willing to submit a PR!

@homesickjava Please feel free to discuss any issues you've encountered with Kafka-Paimon synchronization; I can assist you in resolving them.


How to test canvas drawing?

Possible approaches

Image snapshot in Jest. Maybe convert the result canvas to an image and compare it to the previous snapshot.
Image snapshot in Cypress. This could be slow to run.
Sync elementsSnapshot from component's state to a global variable (window). Then, expect against the global variable. This can check if raw data for drawing is correct, but it's not cover the result of drawing.

Let's try Cypress first. Jest may not be suitable for stuff related to layout.
https://github.com/testing-library/user-event/issues/440#issuecomment-685010755

Helpful info
How to drag & drop in Cypress

https://github.com/cypress-io/cypress/issues/1624
https://github.com/cypress-io/cypress/issues/845

Image snapshot diff when cypress run, but not diff when cypress open

https://github.com/jaredpalmer/cypress-image-snapshot/issues/95


torch.count_nonzero(indexer).item() RuntimeError: CUDA out of memory.

Eval step
100%|██████████| 6/6 [00:03<00:00,  1.55it/s]
eval stats: {'psnr': 6.496485767868177, 'mse': 0.2280503436923027}
Train step
0%|          | 0/12800 [00:00<?, ?it/s]
Traceback (most recent call last):
File "opt.py", line 605, in
train_step()
File "opt.py", line 597, in train_step
grid.optim_background_step(lr_sigma_bg, lr_color_bg, beta=args.rms_beta, optim=args.bg_optim)
File "/root/miniconda/envs/plenoxel/lib/python3.8/site-packages/svox2/svox2.py", line 2055, in optim_background_step
indexer = self._maybe_convert_sparse_grad_indexer(bg=True)
File "/root/miniconda/envs/plenoxel/lib/python3.8/site-packages/svox2/svox2.py", line 2217, in _maybe_convert_sparse_grad_indexer
torch.count_nonzero(indexer).item()
RuntimeError: CUDA out of memory. Tried to allocate 1024.00 MiB (GPU 0; 7.93 GiB total capacity; 6.78 GiB already allocated; 362.56 MiB free; 6.79 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

encountered the same problem, how did you solve this problem?  thanks in advance!


[2.0beta3] msgctxt in RTL layout causes mirroring

Using Windows 10 and Arabic interface.
If there is a string that has msgctxt, showing in the listview, the mirroring of the "new-painted" items is reversed.
For example, if PoEdit's window is big enough to show 32 strings (File below), then all of the strings are mirrored wrongly when opened the file, as all of them are newly painted.
If it was small and able to just show less than 32 (The last string is the msgctxt one), then the first strings will be right, till you reach that string (and it's mirrored) by scrolling. Now if you scroll up you'll see the old strings mirrored while they were right.
I'm having problems recording video. If needed, I'll try again. For now some screenshots:
All visible right:

All visible right:

Last one is mirrored:

Top one is mirrored while it was right:

Test file:
msgid "Blender Reference Manual 1"
msgstr ""

msgid "Blender Reference Manual 2"
msgstr ""

msgid "Blender Reference Manual 3"
msgstr ""

msgid "Blender Reference Manual 4"
msgstr ""

msgid "Blender Reference Manual 5"
msgstr ""

msgid "Blender Reference Manual 6"
msgstr ""

msgid "Blender Reference Manual 7"
msgstr ""

msgid "Blender Reference Manual 8"
msgstr ""

msgid "Blender Reference Manual 9"
msgstr ""

msgid "Blender Reference Manual 10"
msgstr ""

msgid "Blender Reference Manual 11"
msgstr ""

msgid "Blender Reference Manual 12"
msgstr ""

msgid "Blender Reference Manual 13"
msgstr ""

msgid "Blender Reference Manual 14"
msgstr ""

msgid "Blender Reference Manual 15"
msgstr ""

msgid "Blender Reference Manual 16"
msgstr ""

msgid "Blender Reference Manual 17"
msgstr ""

msgid "Blender Reference Manual 18"
msgstr ""

msgid "Blender Reference Manual 19"
msgstr ""

msgid "Blender Reference Manual 20"
msgstr ""

msgid "Blender Reference Manual 21"
msgstr ""

msgid "Blender Reference Manual 22"
msgstr ""

msgid "Blender Reference Manual 23"
msgstr ""

msgid "Blender Reference Manual 24"
msgstr ""

msgid "Blender Reference Manual 25"
msgstr ""

msgid "Blender Reference Manual 26"
msgstr ""

msgid "Blender Reference Manual 27"
msgstr ""

msgid "Blender Reference Manual 28"
msgstr ""

msgid "Blender Reference Manual 29"
msgstr ""

msgid "Blender Reference Manual 30"
msgstr ""

msgid "Blender Reference Manual 31"
msgstr ""

msgid "Blender Reference Manual 32"
msgstr ""

msgctxt "Sound"
msgid "Blender Reference Manual"
msgstr ""

Note to self: this alone (tagging markup segments and terminating with PDF) is not sufficient to fix the bug:
diff --git a/src/edlistctrl.cpp b/src/edlistctrl.cpp
index f331025a6..977a02326 100644
--- a/src/edlistctrl.cpp
+++ b/src/edlistctrl.cpp
@@ -317,6 +317,14 @@ void PoeditListCtrl::Model::GetValueByRow(wxVariant& variant, unsigned row, unsi
 #if wxCHECK_VERSION(3,1,1)
             if (d->HasContext())
             {
+                wxString context = EscapeMarkup(d->GetContext());
+                wxString srcstring = EscapeMarkup(d->GetString());
+                if (m_appTextDir != m_sourceTextDir)
+                {
+                    context = bidi::mark_direction(context, m_sourceTextDir);
+                    srcstring = bidi::mark_direction(context, m_sourceTextDir);
+                }
+
                 // Work around a problem with GTK+'s coloring of markup that begins with colorizing <span>:
                 #ifdef __WXGTK__
                     #define MARKUP(x) L"\u200B" L##x
@@ -325,7 +333,7 @@ void PoeditListCtrl::Model::GetValueByRow(wxVariant& variant, unsigned row, unsi
                 #endif
                 orig.Printf(MARKUP("<span bgcolor=\"%s\" color=\"%s\"> %s </span> %s"),
                             m_clrContextBg, m_clrContextFg,
-                            EscapeMarkup(d->GetContext()), EscapeMarkup(d->GetString()));
+                            context, srcstring);
             }
             else
             {
diff --git a/src/unicode_helpers.cpp b/src/unicode_helpers.cpp
index 9fb2dd97a..3b739c93d 100644
--- a/src/unicode_helpers.cpp
+++ b/src/unicode_helpers.cpp
@@ -133,6 +133,7 @@ wxString mark_direction(const wxString& text, TextDirection dir)
     replacement[1] = mark;
     out.Replace("\n", replacement);
 #endif
+    out += PDF;
     return out;
 }

Something truly weird is going on in wxDVC markup rendering.


Cardano Operations Book: discussion, how to link there

Someone just referenced this site from the CIP repository today: https://book.world.dev.cardano.org
Also titled the Cardano World Repository, it's still pretty empty but appears to be coming from an official source and has some information that's hard to find documented anywhere else (e.g. the new networks evolved from the Testnet that I've only seen documented informally so far).
The currently mostly greyed-out page outline has some overlap with the material here in the Dev Portal (cardano-wallet, Ogmios).  More generally I was wondering if anyone knows about its development plan & timeline, and can post ideas about it here, in the hope when ready that this will be properly introduced on & linked from the Dev Portal.

p.s. I've also now noticed this site was referenced earlier by @katomm in https://github.com/cardano-foundation/developer-portal/issues/759#issue-1363275769 - regarding the same material (documentation of Cardano environments)

The currently mostly greyed-out page outline has some overlap with the material here in the Dev Portal (cardano-wallet, Ogmios).

I think the original intention of that site was to include a lot more information, but IMO - the current state (except index) is good, it shouldn't onboard more as it will likely have yet another overlap with instructions on : dev portal (community maintained), docs.cardano.org (IO maintained), github repo of components (readme.md+docs folder) and other community sites (eg: coincashew) for step-by-step instructions. The more the websites referenced, greater are chances of confusion/chaos/outdated (or different styles of information).
Instead, we could use the config/topology file/genesis/etc references as-is for downloads, but need to also be mindful of standards:
For instance, P2P - while works - is still not production-ready (the n2n versions are still changing), might not be best idea to include default templates with P2P turned on. But given that it's only enabled on non-mainnet networks, except preprod (supposed to replicate mainnet) - other networks having that config might be OK.
Additionally, preprod/preview networks are both supposed to be reset soon, and we should be having a new community initiated testnet as well.
With the above changes upcoming, I would prefer if we could defer changes for now - until there is clearer picture in coming weeks

thanks @rdlrt that's much as I thought... the strategy of "one web site to rule them all" often ends up not achieving that goal on an organically growing project.  I've only posted this issue to give contributors a place to track how this site is developing, so we might link there if & when it reaches some kind of maturity. 😎

I also think the "juicy stuff" is on https://book.world.dev.cardano.org/environments.html we can just link that.

we can just link that.

This link was in fact added by https://github.com/cardano-foundation/developer-portal/pull/814 but the link isn't well presented for either UX or SEO, so I've opened up https://github.com/cardano-foundation/developer-portal/pull/846.
Once that's merged I think this can be closed because the consensus seems to be that the only thing useful about this site is its Environments page.


cupy.array_api.asarray doesn't work with list of arrays

Description
CuPy's Array API module doesn't work with lists of arrays, while the main CuPy namespace works fine. numpy.array_api also works fine for this usecase.
To Reproduce
In [1]: import cupy.array_api as xp

In [2]: xp.asarray([xp.ones(5), xp.ones(5)])
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-3-2681967f8885> in <module>
----> 1 xp.asarray([xp.ones(5), xp.ones(5)])

~\mambaforge\envs\scipy-cupy\lib\site-packages\cupy\array_api\_creation_functions.py in asarray(obj, dtype, device, copy)
     81     try:
     82         runtime.setDevice(device.id)
---> 83         res = np.asarray(obj, dtype=dtype)
     84     finally:
     85         runtime.setDevice(prev_device)

~\mambaforge\envs\scipy-cupy\lib\site-packages\cupy\_creation\from_data.py in asarray(a, dtype, order)
     74
     75     """
---> 76     return _core.array(a, dtype, False, order)
     77
     78

cupy\_core\core.pyx in cupy._core.core.array()

cupy\_core\core.pyx in cupy._core.core.array()

cupy\_core\core.pyx in cupy._core.core._array_default()

ValueError: Unsupported dtype object

Seems like accepting the sequence of arrays is actually not specified by the spec, so probably it's not allowed.
Would be great to raise a more descriptive error message though.

Thanks for reporting!

Seems like accepting the sequence of arrays is actually not specified by the spec, so probably it's not allowed.
Would be great to raise a more descriptive error message though.

Agree, better to have a check in the cupy.array_api layer.
It seems NumPy's implementation supports constructing an array from sequence of arays:
>>> import numpy.array_api as xp
>>> xp.asarray([xp.ones(5), xp.ones(5)])
Array([[1., 1., 1., 1., 1.],
       [1., 1., 1., 1., 1.]], dtype=float64)

No I would not interpret this way. Some parts of the spec are permissive, meaning if it doesn't forbid explicitly things that make sense can be allowed. For example in past meetings we've discussed that it is ok to support complex numbers as of today despite most APIs do not specify the behavior yet. The risks are 1. the extended support may not be portable, 2. if it has the potential of being covered in a future spec version, a backward incompatibility might happen up to the future spec.
Back to the use case here, I would think it is an extension of "a (possibly nested) sequence of Python scalars", so supporting it makes sense to me if it is straightforward.


Issue#4170

Format SQL : Added a line break before the closing bracket and the added indentation.

As you can see in the git history this code was commented for a reason. It produces too verbose SQL in some cases (like in MySQL view definition) making it very inconvenient.
I think that by default it should work as is.
We need new formatter option on this page:

It is here: https://github.com/dbeaver/dbeaver/blob/e0f3d52c8c10119847f0f7ab464125438b73db9e/plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/editors/sql/format/tokenized/SQLTokenizedFormatterConfigurationPage.java


[feature request] Offer code mark styles and gutter marks

(Using VSCode 1.3.0 in win 10 x64 build 10586 with vscode-eslint extension 1.10.18).
Currently the code marks(for errors and warnings) appear only as squiggly underline (i.e. as spellchecker errors in browsers, e.g. Firefox, Chrome):
(the error is in red, and the warning is in green)

My suggestion is to offer code mark styles (ideally  the outline code mark style -see below- )
and gutter marks :
(with the errors to be in red, and the warnings to be in yellow, as eslint itself uses these colors - not green)

(here is another screenshot, taken that site)
It's more easy to distinguish the errors this way.
Thank you

For reference Sublimelinter3 package offers five different code mark styles :

fill,
outline,
solid underline,
squiggly underline, and
stippled underline

and two types of gutter marks:

errors, and
warnings

I found myself searching around for a setting to enable this, I guess i've been heavily spoiled by Atom and Sublime. This is pretty important for me, because I find the squiggly lines to be far too difficult to see when scrolling through a file.

I second the use of yellow for warning. For one thing, red-green is always a poor UI choice as it ignores the 7%+ of XY-chromosomal people who have red-green color blindness. For another, it matches ESLint. Also yellow just feels more like a warning than green, culturally speaking.

Moving to vscode since such a feature has to be implemented in the editor.

This issue was moved to Microsoft/vscode#9209


Query Parameters Serialization - Explode doesn't respect the default value

A proposed fix for issue #479.
Add a unit test covering this behavior.

I understand this fix but the serialization code looks wrong:
writer.WriteProperty(OpenApiConstants.Explode, Explode, Style.HasValue && Style.Value == ParameterStyle.Form);
Maybe it should be:
writer.WriteProperty(OpenApiConstants.Explode, _explode);
Then the serialized model would reflect the actual values read in (as _explode is a nullable bool?).
Also, there is now an inconsistency as Style is also not set to a default value:
“Default values (based on value of in): for query - form; for path - simple; for header - simple; for cookie - form.”

@safepage The serialization code will write out any value that was read because that is what the Explode property does by default (unless it is the default value).  Only if Explode has not be set, i.e. _explode is null will the default value be used.  If the Explode property returns a "default" then it will match with the default passed as the third parameter to WriteProperty and no Explode value will be written to the output.  This does mean that if a input document redundantly provides the default value, then it will be missing in the output.


HowTo Article: Using findpts

We could use an article describing the ins and outs of using findpts to get the element and local coordinate of a given point in global coordinates.

Yes, I will start working on this.

We now have an article, thanks @kmittal2 .


Remove duplicate word in README.md

Oh, thanks for noticing! Actually the readme is generated from the docs/GettingStarted.md filed when you run npm start inside the website folder. Would you mind making your change there?
I think this was meant to say interactive watch mode. Would you mind changing it into that? Thank you!

@cpojer Sure!

@cpojer Done, but it adds this line too in README.md: There is also a great introductory guide available at [Plotly Academy](academy.plot.ly/react/6-testing) that walks you through testing a react and redux application.

thank you! It wasn't updated previously I assume :)

@cpojer No problem!


Use a generated unique id to represent a safe-app instead of a URL

Using the URL as a unique identifier for the safe-app is error prone as the same app can be represented in multiple forms (eg.: https://example.com, https://example.com/, https://example.com/?, https://example.com/# etc...
We should then generate a unique identifier to represent each app instead of relying on the uniqueness of the url.
GET /api/v1/safe-apps/

[
  {
    "id": <stringified-id>,
    ...
  }
]

Sounds good, normalizing an url is not an easy task as there are a lot of edge cases


azd up fails with a go panic on a .NET Aspire using AddContainer

[ ] Make sure you've installed the latest version using instructions in the wiki

Output from azd version
Run azd version and copy and paste the output here:
azd version 1.5.0 (commit 012ae734904e0c376ce5074605a6d0d3f05789ee)
Describe the bug
azd up will cause a go panic if you run it on an .NET aspire starter template after adding these lines to AppHost's program.cs:
builder.AddContainer("podcast", "podcast", "latest")
   .WithServiceBinding(hostPort: 8080, containerPort: 80, scheme: "http")
   .WithEnvironment("ASPNETCORE_ENVIRONMENT", "Development")
   .WithEnvironment("ASPNETCORE_URLS", "http://+:80");

It's perhaps that Aspire is generating something wrong, but either way, both sides (aspire generator and azd consumer) can be more defensive
Building...
info: Aspire.Hosting.Publishing.ManifestPublisher[0]
      Published manifest to: C:\Users\scottha\AppData\Local\Temp\azd-provision777714042\apphost-manifest.json
2023/12/05 14:47:41 hooks.go:156: service 'apiservice' does not require any command hooks.
2023/12/05 14:47:41 hooks.go:156: service 'webfrontend' does not require any command hooks.
2023/12/05 14:47:41 hooks.go:85: azd project is not available or does not contain any command hooks, skipping command hook registrations.
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0xa64ee1]

goroutine 1 [running]:
github.com/azure/azure-dev/cli/azd/pkg/apphost.(*infraGenerator).Compile(0xc0001ca7c0)
        github.com/azure/azure-dev/cli/azd/pkg/apphost/generate.go:409 +0x121
github.com/azure/azure-dev/cli/azd/pkg/apphost.BicepTemplate(0xc00059e190?)
        github.com/azure/azure-dev/cli/azd/pkg/apphost/generate.go:94 +0x17b
github.com/azure/azure-dev/cli/azd/pkg/project.(*DotNetImporter).ProjectInfrastructure(0xc00059e190?, {0x1251ec0?, 0xc00055bf50?}, 0xc00008fec0?)
        github.com/azure/azure-dev/cli/azd/pkg/project/dotnet_importer.go:97 +0x78
github.com/azure/azure-dev/cli/azd/pkg/project.(*ImportManager).ProjectInfrastructure(0xc00012c0e8, {0x1251ec0, 0xc00055bf50}, 0xc0000d1760)
        github.com/azure/azure-dev/cli/azd/pkg/project/importer.go:125 +0x447
github.com/azure/azure-dev/cli/azd/cmd.(*upAction).Run(0xc00014e1c0, {0x1251ec0, 0xc00055bf50})
        github.com/azure/azure-dev/cli/azd/cmd/up.go:117 +0x277
github.com/azure/azure-dev/cli/azd/cmd/middleware.(*MiddlewareRunner).RunAction.func1({0x1251ec0?, 0xc00055bf50?})
        github.com/azure/azure-dev/cli/azd/cmd/middleware/middleware.go:127 +0x2e8
github.com/azure/azure-dev/cli/azd/cmd/middleware.(*HooksMiddleware).registerCommandHooks(0xc00059e1e0?, {0x1251ec0, 0xc00055bf50}, 0x410965?, 0xc000506c10?, 0xc00068a400)
        github.com/azure/azure-dev/cli/azd/cmd/middleware/hooks.go:88 +0x399
github.com/azure/azure-dev/cli/azd/cmd/middleware.(*HooksMiddleware).Run(0xc00059e1e0, {0x1251ec0?, 0xc00055bec0?}, 0xc00068a400)
        github.com/azure/azure-dev/cli/azd/cmd/middleware/hooks.go:73 +0x1d8
github.com/azure/azure-dev/cli/azd/cmd/middleware.(*MiddlewareRunner).RunAction.func1({0x1251ec0, 0xc00055bec0})
        github.com/azure/azure-dev/cli/azd/cmd/middleware/middleware.go:125 +0x2a2
github.com/azure/azure-dev/cli/azd/cmd/middleware.(*TelemetryMiddleware).Run(0xc000506ad0, {0x1251ec0, 0xc0003a96e0}, 0xc00068a400)
        github.com/azure/azure-dev/cli/azd/cmd/middleware/telemetry.go:85 +0x8b8
github.com/azure/azure-dev/cli/azd/cmd/middleware.(*MiddlewareRunner).RunAction.func1({0x1251ec0, 0xc0003a96e0})
        github.com/azure/azure-dev/cli/azd/cmd/middleware/middleware.go:125 +0x2a2
github.com/azure/azure-dev/cli/azd/cmd/middleware.(*ExperimentationMiddleware).Run(0xc00003c450?, {0x1251ec0, 0xc0003a96e0}, 0xc00068a400)
        github.com/azure/azure-dev/cli/azd/cmd/middleware/experimentation.go:64 +0x4d6
github.com/azure/azure-dev/cli/azd/cmd/middleware.(*MiddlewareRunner).RunAction.func1({0x1251ec0, 0xc0003a96e0})
        github.com/azure/azure-dev/cli/azd/cmd/middleware/middleware.go:125 +0x2a2
github.com/azure/azure-dev/cli/azd/cmd/middleware.(*DebugMiddleware).Run(0xc0005a4300, {0x1251ec0, 0xc0003a96e0}, 0xc00068a400)
        github.com/azure/azure-dev/cli/azd/cmd/middleware/debug.go:48 +0x311
github.com/azure/azure-dev/cli/azd/cmd/middleware.(*MiddlewareRunner).RunAction.func1({0x1251ec0, 0xc0003a96e0})
        github.com/azure/azure-dev/cli/azd/cmd/middleware/middleware.go:125 +0x2a2
github.com/azure/azure-dev/cli/azd/cmd/middleware.(*MiddlewareRunner).RunAction(0xc00045cc30, {0x1251ec0, 0xc0003a96e0}, 0xc00056da80?, {0x1246600?, 0xc00014e1c0})
        github.com/azure/azure-dev/cli/azd/cmd/middleware/middleware.go:131 +0x226
github.com/azure/azure-dev/cli/azd/cmd.(*CobraBuilder).configureActionResolver.func1(0xc000453400, {0xc00045f940?, 0x0, 0x1})
        github.com/azure/azure-dev/cli/azd/cmd/cobra_builder.go:142 +0x4cf
github.com/spf13/cobra.(*Command).execute(0xc000453400, {0xc00045f930, 0x1, 0x1})
        github.com/spf13/cobra@v1.3.0/command.go:856 +0x694
github.com/spf13/cobra.(*Command).ExecuteC(0xc0003d1680)
        github.com/spf13/cobra@v1.3.0/command.go:974 +0x38d
github.com/spf13/cobra.(*Command).Execute(...)
        github.com/spf13/cobra@v1.3.0/command.go:902
github.com/spf13/cobra.(*Command).ExecuteContext(0x1251e88?, {0x1251e88?, 0x198c080?})
        github.com/spf13/cobra@v1.3.0/command.go:895 +0x47
main.main()
        D:/a/_work/1/s/cli/azd/main.go:61 +0x1fe

To Reproduce
Make a .NET 8 Aspire Starter app, and add these lines to Program.cs. This app will build and run fine, but azd up won't run.
builder.AddContainer("podcast", "podcast", "latest")
   .WithServiceBinding(hostPort: 8080, containerPort: 80, scheme: "http")
   .WithEnvironment("ASPNETCORE_ENVIRONMENT", "Development")
   .WithEnvironment("ASPNETCORE_URLS", "http://+:80");

Expected behavior
I expect it at least try to deploy or throw a reasonable error.
Environment
Information on your environment:

CLI only

@davidfowl

This is a duplicate of #3016 which will be fixed with Aspire preview 2.


Update access control to public snippet

For now access control to public snippet is made using a flobal map directly in the go code. Thismake the api nor stateless. We neesto move this functionality to mysql.

+1


Lineage list API and integration tests

FYI — I merged in the update_enums branch to this one, so that everything's there that needs to be (afaik)...


Trailing "new line" character

var md = require('markdown-it')();
var result = md.render('# markdown-it rulezz!'); //"
markdown-it rulezz!
\n"

(see working sample above: https://runkit.com/58db86c6eae8b80014630525/58ed4d8b84abae0014060150)
Why is there a trailing \n in the result?
The documentation does not seem to specify this.

It's common practice for multiline texts. For example, if you commit text without newline to github, you will see red warning marker at the end in diff. Eslint report missed tailing newline as bug. And so on. You can .trim() result if you don't like this.


Cannot uglify the bundle

Putting a plugins: [new webpack.optimize.UglifyJsPlugin()] breaks the build with the following message
ERROR in main.js from UglifyJs
    Unexpected token: name (dedupeId)

Because you cannot uglify ES2015.

This is known - you need a transpiler. See the demo:
https://github.com/webpack-contrib/polymer-webpack-loader/blob/master/demo/webpack.config.js#L40-L46


Mysql connection issue with MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT

Changes on file MySQLi/Connection.php
Comparing versions numbers without the string when connecting through ssl with a ssl_verify = false
Description
Fixes Issue #4558 . I added a regex in the if condition when comparing mysqli_client_info with version_compare(). Now, it is comparing the version number without the previous string and whitespace.
Checklist:

[ -] Securely signed commits
[ - ] Component(s) with PHPdocs
[ ] Unit testing, with >80% coverage
[-  ] User guide updated
[- ] Conforms to style guide

How about preg_filter with digits and . instead? Seems like that's what we are actually after.

Hi @MGatner,
I've been working with @fedeburo on this, and running some tests against PHP version_compare() method, and also looking into the preg_filter() approach, but believe there is simpler solution, and one that is more developer friendly for future.
We've been using version_compare() to compare apples to engines, and it will always fail. Lets compare apples with apples :)
A proposed solution: prefix 'mysqlnd ' to the 2nd string param in the version_compare(), E.g. In the elseif() and if() conditions, Change the parts:
version_compare($this->mysqli->client_info, '5.6', '>=')
// TO: version_compare($this->mysqli->client_info, 'mysqlnd 5.6', '>=')

version_compare($this->mysqli->client_info, '5.7.3', '<=')
// TO: version_compare($this->mysqli->client_info, 'mysqlnd 5.7.3', '<=')

No need for preg_filter() and regex interfering with the inner workings of the php method 'version_compare()', and potentially causing future bugs/issues that would be later difficult to find and debug.
The tests I've run confirm version compare will work as expected when fed comparable strings.(See code below).

Why?
By adding preg_filter() in the inputs to the version_compare() method makes things very messy indeed, and potentially interfere with the inner workings of version_compare() eg. the development state parts (eg '4.1.2-dev' etc.). Here is an extract from the PHP Manual: "...not only versions with different levels like '4.1' and '4.1.2' can be compared but also any PHP specific version containing development state.".

If we truly believe there is an issue with version_compare() then a bug should be reported with https://bugs.php.net/report.php , but tests I've run show that we have the wrong string for the 2nd param, and is not an issue with version_compare().
If we believe the native php methods mysqli_get_client_info() has an issue and shouldn't have the String Prefix 'mysqlnd ' before the version number, again a bug should be reported to php.net.
Those 2 methods are probably not things we should interfere with inside CIv4 logic.
We probably shouldn't be modifying/filtering the end users real mysqli client_info string, but rather set our hard-coded comparable correctly.

By only modifying the 2nd hard-coded string (currently '5.6') to 'mysqlnd 5.6' it will be very easily identified and changed later IF PHP.net decide that mysqli_get_client_info() shouldn't have the string prefix and update the method in a future version.
I've checked the output of mysqli_get_client_info() AKA mysqli->client_info in CIv4, that provides the version info with a few different machines and apache servers and all have the prefix 'mysqlnd ' before the version numbers. (Have checked with devices running php v5 and v7, I have not checked with anything running php v8).
Also note, I read through the PHP bug report referenced in the developer comment above the elseif() Line 160, and the term 'mysqlnd' appears 55 times, so I don't expect there will be any changes coming to the output of mysqli_get_client_info() anytime soon.
If in doubt about how version_compare() works, check the Manual doc's, its designed to compare two "PHP-standardized" version number strings. If they are not standardized, then they are not comparable. Link: https://www.php.net/manual/en/function.version-compare
CODE AND TESTS:
$versionList = array(
		'mysqlnd 5.0.12-dev'=> "false.",
		'mysqlnd 5.6' 		=> "true.",
		'mysqlnd 5.6.0-dev' => "true.", //Should be seen as TRUE, here to show things are working as they should be.
		'mysqlnd 5.7.0-dev' => "true.", //Should be seen as TRUE, here to show things are working as they should be.
		'mysqlnd 7.4.3' 	=> "true."
	);
### TEST CURRENT LOGIC IN CIv4 - Compare to '5.6':
#------------------------------------------------------------
	foreach ($versionList as $sqli_client_info => $expectedResult)
	{
		echo "
For case '".$sqli_client_info."':  \tExpected: ".$expectedResult."  \tActual: "; var_dump( version_compare($sqli_client_info, '5.6', '>=') );
	}
# OUTPUTS:
//For case 'mysqlnd 5.0.12-dev': Expected: false. 	Actual: bool(false)
//For case 'mysqlnd 5.6': 	Expected: true. 	Actual: bool(false)
//For case 'mysqlnd 5.6.0-dev': Expected: true. 	Actual: bool(false)
//For case 'mysqlnd 5.7.0-dev': Expected: true. 	Actual: bool(false)
//For case 'mysqlnd 7.4.3': 	Expected: true. 	Actual: bool(false)
### SUMMARY:
# Seems like when string and/or whitespace before the number, we always get false. BECAUSE the '5.6' in the if conditions are mising a matching prefix 'mysqlnd '.
# Note, that the '-dev' postfix is not effected, and things work as expected and as per PHP Manual docs.

### PROPOSED NEW LOGIC IN CIv4  - Compare to 'mysqlnd 5.6':
#------------------------------------------------------------
foreach ($versionList as $sqli_client_info => $expectedResult)
	{
    	echo "
For case '".$sqli_client_info."':  \tExpected: ".$expectedResult."  \tActual: "; var_dump( version_compare($sqli_client_info, 'mysqlnd 5.6', '>=') );
	}
# OUTPUTS:
//For case 'mysqlnd 5.0.12-dev': Expected: false. 	Actual: bool(false)
//For case 'mysqlnd 5.6': 	Expected: true. 	Actual: bool(true)
//For case 'mysqlnd 5.6.0-dev': Expected: true. 	Actual: bool(true)
//For case 'mysqlnd 5.7.0-dev': Expected: true. 	Actual: bool(true)
//For case 'mysqlnd 7.4.3': 	Expected: true. 	Actual: bool(true)

I'm very happy to review an alternate solution. This is not my area of expertise so I leave the approach decisions up to you all.

New pull request sent with the new fix
`version_compare($this->mysqli->client_info, '5.6', '>=')
// TO: version_compare($this->mysqli->client_info, 'mysqlnd 5.6', '>=')
version_compare($this->mysqli->client_info, '5.7.3', '<=')
// TO: version_compare($this->mysqli->client_info, 'mysqlnd 5.7.3', '<=')`

Found this discussion around the same issues (back in 2016), adding it here for reference:
https://forum.codeigniter.com/printthread.php?tid=64389
and it mentions this resource: https://www.php.net/manual/en/mysqli.installation.php
where we can see 'mysqlnd ' listed in the table as the default for PHP version 5.4.x and above. Note there is a 2nd one listed 'libmysqlclient' for PHP versions 3.0.x and lower, which may need to be supported somewhere.

@MGatner i notice that most of the test are failing in:
Failed asserting that File exists: APPPATH/Language/en/Foobar.php\n or File exists: APPPATH/Language/es/Foobar.php\n.
Im not sure what is this.. Should i make a new fork and new pull request?

Hi @paulbalandan, the fork was updated and now another pull request was made without those languages files. I dont know why and how those files were there...
Wait for your acception.
Another question: once the pull request is done and accepted, how long does this change will have been released in the new version? I need to know an approximately date in order to know if i have to do a manual modification in the different environments of the webapp that I am developing.

Just minor cosmetic changes.

Ok @paulbalandan , do i have to do a new pull request with those changes?

Hi @paulbalandan, the fork was updated and now another pull request was made without those languages files. I dont know why and how those files were there...
Wait for your acception.
Another question: once the pull request is done and accepted, how long does this change will have been released in the new version? I need to know an approximately date in order to know if i have to do a manual modification in the different environments of the webapp that I am developing.

We're supposed to do a release two weeks ago but was delayed because of last minute refactors that need to be finished. Once all tidied up we can make a release. I cannot commit to an exact date but hopefully by next week or before the month ends.

Just waiting for tests to pass. 😁

Me too... 😁
@paulbalandan @MGatner
I wonder why the SQLSRV driver tests are failing if the only file that was modify is .../Database/MySQLi/Connection.php (nothing was modified under (SQLSRV) folder).
It seems that some constants and functions are undefined on .../Database/SQLSRV/Connection.php file.

I notice that these constants and functions are also undefined on the other app that I am working on.
How can I solve this?
Are the SQLSRV tests necessary in this pull request?

I have been trying in the past week to debug this sqlsrv problem. You can see my PR on that. Ideally we need all tests to pass to know that this fix is working. But since sqlsrv is failing in itself, your changes should not fail all tests other than for sqlsrv.

I have been trying in the past week to debug this sqlsrv problem. You can see my PR on that. Ideally we need all tests to pass to know that this fix is working. But since sqlsrv is failing in itself, your changes should not fail all tests other than for sqlsrv.

Thanks @paulbalandan.
It seems that no other test have failed apart from the SQLSRV.
Is this pull request accepted?


[Feature] - Docker container

I am not familiar with docker, so if anyone wants to help out and create a docker container for this script that would be awesome 🚀

I will create a Dockerfile and open a pullrequest in the next few weeks


javascript-developer: Allow building on non arm

Fixes https://github.com/lgrammel/gptagent.js/issues/7

^ yep this works

Sweet, merged!


msrestazure.azure_exceptions.CloudError: Azure Error: AuthorizationFailed DevTestLab

`from azure.common.client_factory import get_client_from_cli_profile,get_azure_cli_credentials
from azure.mgmt.devtestlabs.models.custom_image import CustomImage
from azure.mgmt.devtestlabs import DevTestLabsClient
from azure.mgmt.devtestlabs.models import LabVirtualMachine,GalleryImageReference
from azure.mgmt.devtestlabs.operations import GalleryImagesOperations,LabsOperations
#pre-defined variables
rg_name = "rgName"
lab_name = "labName"
vm_name="vmName"
#clients-credential
credentials, subscriptions = get_azure_cli_credentials()
devtestlab_client = DevTestLabsClient(credentials,subscriptions)
#lab-virtual-machine-gallery-image-reference
lab_gallery_image_reference=GalleryImageReference(offer="WindowsServer",os_type="Windows",publisher="MicrosoftWindowsServer", sku="2019-Datacenter", version="latest")
#lab-virtual-machine
lab_virtual_machine=LabVirtualMachine(gallery_image_reference=lab_gallery_image_reference,user_name="uName",password="pwd",size="Standard_DS1_v2",lab_subnet_name="subnetName",location="westeurope",lab_virtual_network_id="/subscriptions/subscriptionID/resourceGroups/rg_name/providers/Microsoft.Network/virtualNetworks/vnName",disallow_public_ip_address=True,storage_type="standart")
#devtestlab_client.virtual_machines.list(rg_name,lab_name)
devtestlab_client.virtual_machines.create_or_update(rg_name, lab_name, vm_name,lab_virtual_machine,raw=True)`
My role is "DevTest Labs User" on this lab.
I can create a virtual machine over both Portal and Azure CLI but not python script even though I use CLI Credential to connect Azure.
Can anybody explain me what is wrong with my code?

msrestazure.azure_exceptions.CloudError: Azure Error: AuthorizationFailed
Message: The client 'XXX' with object id 'XXXid' does not have authorization to perform action 'Microsoft.DevTestLab/labs/virtualmachines/write' over scope '/subscriptions/subscriptionID/resourceGroups/rgName/providers/Microsoft.DevTestLab/labs/labName/virtualmachines/vmName'

Taking a look at the built in roles, it doesn't appear that DevTest Labs Users have write access for virtual machines. Adding new roles, like contributor, would allow you access to perform write actions on virtual machines.

Taking a look at the built in roles, it doesn't appear that DevTest Labs Users have write access for virtual machines. Adding new roles, like contributor, would allow you access to perform write actions on virtual machines.

Any insight into why when one has the "DevTest Labs User" VM creations succeeds trough the azure CLI but not the SDK ?


Node lifecycle, background triggers (2)

Feeling good about the node start/stop logic. Seems solid and will always run the node in the background for 20 seconds, whether the background session results from a foreground > background transition or from launching into the background because of a location or background fetch trigger.
Need some help:
I want to clean up all the things we do after the node is started and/or comes online. I deleted a bunch of old code, code that did some of those important things. Go through it with me and let's identify all the things that need to happen and exactly when/how they should happen.
Todo:

[x] Fire off things that should happen once the node is created
[x] Fire off things that should happen once the node is started
[ ] Create UI and logic for enabling background location

@asutula just catching up here and thinking what needs doing in BG. Maybe useful to start with that the goals are of launching in the BG (maybe incorrect, just exploring)...

To get the latest "state" in RN so that when the user opens the app, it's already up-to-date
To create any new local notifications based on new notifications
For 1., I think this can be achieved by just calling refreshingMessages, nothing else:

Threads won't be updated unless a user creates one, or accepts an invite (so, in-app stuff)
All other new stuff (photos, notifications, comments, likes) will get pushed to the RN layer if the message retriever finds anything... other types of updates not visible to the UI will also be triggered (joined, leaves, merges, ignores)

So, a manual call to update the thread list and photo lists doesn't seem useful... maybe redundant if say a new photo is found, pushed to RN, which then refreshes that thread again.

And then for 2., same deal... new notifications would have to be driven by successfully finding offline messages.

@sanderpick does that call to refreshMessages need to happen once the node has started or once it's online?

Online
On Aug 24, 2018, 9:04 AM -0700, Aaron Sutula<EMAIL_ADDRESS>wrote:

@sanderpick does that call to refreshMessages need to happen once the node has started or once it's online?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Ok give this a spin. Think it's G2G.

Created #407, #408 and #409 for some things I noticed along the way, but don't need to block us for now.


Update Composer dependencies (2020-04-30-00-12)

Visual regression test passed!
View the visual regression test report


RoR Group Capstone Project: Recipe App

Features

created login page and registration page with Devise.
Food list displays a list of food added by the logged-in user (display also quantity of a given food).
created a form that allows users to add new food.
displays a list of recipes created by the logged-in user which leads to recipe details.
user can delete a recipe
displays a list of all public recipes which leads to recipe details.
recipe details displays a toggle button that allows  a recipe to be made public or private.
Generates shopping list view
displays the list of food that is missing for all recipes of the logged-in user
count the total food items and total price of the missing food.
a navigation menu that allows users to open all  created pages
unit and integration tests
fix N+1 queries

Before

After

Thanks @Lizdev-05! 👌