bug: Command mode prompt doesn't show until user types, when mapping opens command mode

Did you check docs and existing issues?

[X] I have read all the which-key.nvim docs
[X] I have searched the existing issues of which-key.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.9.4
Operating system/version
Ubuntu 22.04.3 LTS
Describe the bug
Command mode prompt is invisible until user types after triggering the mapping, e.g. the example below (which is in the repro lua)
{ ':echo "hello but not pressing enter"', 'example' }
Steps To Reproduce

nvim -u repro.lua
Type <space>%
Nothing will happen.
Type a

Expected Behavior
Command mode should show up at the end of step 2 with cursor at the end of the line
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  { "folke/which-key.nvim", config = true, init = function()
	  require('which-key').register({
		  ['%'] = { ':echo "hello but not pressing enter"', 'example' }
	  }, { prefix = '<space>' })
  end},
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

For now, i'm working around the issue by using the command mode buffer
function CopyPath(expand)
  local string = vim.fn.expand(expand)
  vim.fn.setreg('+', string)
  print('Copied: ' .. string)
end
lvim.builtin.which_key.mappings['%'] = {
  ":lua CopyPath('%:p')<Left><Left><Left><C-f>i", -- added <C-f>i
  "Copy file path"
}

I have the same issue on MacOS. Workaround also work, but not with Noice unfortunatly. It forces traditional cmd mode.

still an issue

I have migrated to v3 just now and unfortunatly the issue stills persists. If there is a new v3 way to get around it, please let us know. If not, would it be prudent to reopen?

Not exactly the same, but maybe related: 0xAdk/full_visual_line.nvim/issues/4.


Vt vizapp improvements

Added the VT table from GWTC-3 catalog document for comparison

This is awesome, thank you. Could you add the units somewhere? Also, I want to make sure, have you normalized by the livetime of each analysis (i.e. divide the number in the plot by the livetime) ? These should be quoted in the catalog paper somewhere.


AppImage Portable Home Paths

hi, for quality control, there needs to be an option for each appimage program to have its own separate settings folders. please provide an environment variable inside LinuxPA (such as PANAME) that is the filename of a launched appimage. or how else to solve this. thanks!
common.sh
export HOME=$PWD/Home-PA/$PANAME.home
export XDG_DATA_HOME=$PWD/Home-PA/$PANAME.config
example of result subfolders
/Home-PA/Firefox-54.0.glibc2.3.4-x86_64.AppImage.home
/Home-PA/Firefox-54.0.glibc2.3.4-x86_64.AppImage.config
/Home-PA/Thunderbird-45.4.0.glibc2.3.3-x86_64.AppImage.home
/Home-PA/Thunderbird-45.4.0.glibc2.3.3-x86_64.AppImage.config

https://github.com/AppImage/AppImageKit/commit/d17fdefadcb98befa66c29137ce25731256f8f2a implements the following:

If there is a directory with the same name as the AppImage plus .home, then export $HOME.
If there is a directory with the same name as the AppImage plus .config, then export $XDG_CONFIG_HOME.

Depending on how well this works in practice, it may become part of the spec.
Example on how to use this
Imagine you want to use the Leafpad text editor, but carry its settings around with the executable.
You can do the following:
# Download Leafpad AppImage and make it executable
wget -c "https://bintray.com/probono/AppImages/download_file?file_path=Leafpad-<IP_ADDRESS>.glibc2.4-x86_64.AppImage" -O Leafpad-<IP_ADDRESS>.glibc2.4-x86_64.AppImage
chmod a+x Leafpad-<IP_ADDRESS>.glibc2.4-x86_64.AppImage

# Create a directory with the same name as the AppImage plus the ".config" extension
# in the same directory as the AppImage
mkdir Leafpad-<IP_ADDRESS>.glibc2.4-x86_64.AppImage.config

# Run Leafpad, change some setting (e.g., change the default font size)
# then close Leafpad
./Leafpad-<IP_ADDRESS>.glibc2.4-x86_64.AppImage

# Now, check where the settings were written:
linux@linux:~> find Leafpad-<IP_ADDRESS>.glibc2.4-x86_64.AppImage.config
(...)
Leafpad-<IP_ADDRESS>.glibc2.4-x86_64.AppImage.config/leafpad/leafpadrc

Notice that Leafpad has written its configuration file leafpadrc into the directory we had created.
If it does not work with your AppImage, make sure it was generated with the latest appimagetool continuous build as of today. If your application does not honor $XDG_CONFIG_HOME (it should), then please file a bug with the application developer and use  a directory with the same name as the AppImage plus the .home extension in the meantime.

Great Suggestions! I'll definitely add the $PANAME variable. I'll probably also add a setting to make it automatically create the .home and .config directories when the app is launched or downloaded.
Sent from my Google Nexus 5 CAF using FastHub

yes, please do both. note that (as of the current runtime version) the auto create directories should be in in the same directory as the AppImage. so that the new appimage runtime sees and uses them.
and, to make it better, probonopd really should have the runtime also look for home directories with the short app name (such as the [Desktop Entry], Name=). best you do that for auto create. thanks
Firefox.AppImage.home
Firefox.AppImage.config
excellent. much appreciated. thanks.

probonopd really should have the runtime also look for home directories with the short app name (such as the [Desktop Entry], Name=)

What would be the advantage of this? This could even mean that different versions of the same application would re-use the same directories, which I am not sure is what people would want.

hi, using the "Desktop-Entry-Name" allows keeping settings when auto upgrading app versions. the logic can be to first search for portable home directories by filename (as you do now) and if not found then search by short app name (such as the prefix and/or "desktop-entry-name").

Please open a feature request in the AppImageKit project @Kodiman

They have been implemented.

hi, excellent. you are the best. thanks.


Added f5.bigip.resource.Stats to the list of allowed_lazy_attributes …

…on f5.big.tm.ltm collection objects Nodes, Pools, Rules, Virtuals and Virtual_Address_s
This is to allow obtaining all item stats with a single request which may come in handy when stats on large collections are required and calling item.stats.load() in a loop causes massive REST calls and huge delay.
Note that entries have to be mapped by the application, suggested criteria are item.fullPath and stat_entry['nestedStats']['entries']['tmName']['description'].

Travis build error from upstream files, not included in PR.
Kindly asking for merge anyway.

@BastiG this needs tests.

Provided tests as requested. Build errors are not related to PR files.

@BastiG I've fixed those build errors in a recent push. can you rebase your PR and update it here for CI/CD to try again?

@BastiG earlier, I spoke before the patch was actually in. now it is. feel free to re-base on top of latest devel and I'll merge after it passes tests

Thanks, @caphrim007. I integrated the changes from upstream and build tests now succeed.
However all merged commits now show up in the PR, so I'll set up a fresh fork and PR there.


How to setup redirect.center on own server/VPS?

Hi, you've developed a great tool for us. I would like to know how can I install this redirect.center on my own server/VPS/AWS/GCP?
Step by step would be very appreciated 👍
Cheers!

Hey Juno, all you need to know is inside the file READM.md.
$ npm install
export FQDN=redirect.center - change to your domain
export PORT=80
export PUBLIC_IP=<IP_ADDRESS> - change to your ip
*.redirect.center CNAME TO redirect.center - change to your dns
$ npm run pm2-start
done. Any problem, let me know.
Regards

Hi Udle,
npm ERR! Linux 4.13.0-1011-gcp
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "eslint"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR<EMAIL_ADDRESS>eslint: `eslint src/`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>eslint script 'eslint src/'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the redirect.center package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     eslint src/
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs redirect.center
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls redirect.center
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /opt/redirect.center/npm-debug.log
npm ERR! Test failed.  See above for more details.

I added permanent environment variable as per instructed.

Create new instance from Google Cloud Compute (Ubuntu 16.04)
Install node.js and npm
Set environment variables
Install eslint
execute npm test failed (log above)

do i need to edit config.js ?
PS: http and https port are opened.

I got it running!
Note: Make sure you're running Node.JS 8 instead of 4!


Drop support for python 2.7 and 3.4

Failure in cpp-tests seems to be unrelated to this PR. I suspect it has something to do with the version of cmake


Support adding devices by dir

This enables cases where devices exist in a subdirectory of /dev,
particularly where those device names are not portable across machines,
which makes it problematic to specify from a runtime such as cri.
Added this to ctr as well so I could test that the code at least
works.
Closes #4846

Another thing I noticed trying to test this, the options here do not support symlinks.

Ping, this is a regression for AKS clusters (recently switched from docker to containerd), since docker does support this.

Looks good, but can we have a test?

Looks good, but can we have a test?

I had one, I recall I had some issues with it since it requires modifying /dev.

I had one, I recall I had some issues with it since it requires modifying /dev.

Got that teset working, updated the PR.

Got that teset working, updated the PR.

Ping, this is fixing real issues we are seeing on AKS with containerd nodes.

Ping, this is fixing real issues we are seeing on AKS with containerd nodes.

@mikebrow Updated.

@mikebrow Updated.

What should we do if the directory contains symlinks?

What should we do if the directory contains symlinks?

I think it will/should be ignored ?

hi, may I know roughly when this fix will be in a containerd release?

Updated tests to show that symlinks currently don't do anything, as well as some other cases.

@dmslowmo I think we at least need it in 1.5, but I may request to backport this to 1.4.

@dmslowmo I think we at least need it in 1.5, but I may request to backport this to 1.4.

Adding it to 1.4 would be great!

The commit has a bug that by reusing the variable dev, only the last device file on the path (major:minor) is enabled (multiple times). The change below fixes the problem:

@alexandref75 Interesting, this looks like an issue using the pointer and the value being overwritten.
At the beginning of the loop we should be able to do dev := dev to capture the variable.
Would you like to open a PR?

@cpuguy83 I can open a PR. A few questions, the first one is this commit is already included in the 1.5 branch and being backported to 1.4  so it needs to be fixed on both, anything is special to address this?
The C guy on me sees adding a new variable a little wasteful but I am not an experienced go programmer so that may be the best solution (adding dev := dev line). Any is OK for me. Thanks for the help.


Question issue: How to use suspensionState of OnNavigatedToAsync to restore data

Here is the code for OnNavigatedToAsync and OnNavigatedFromAsync :
public override Task OnNavigatedToAsync(object parameter, NavigationMode mode, IDictionary<string, object> suspensionState)
{
if (suspensionState.Any())
{
Value = suspensionState[nameof(Value)]?.ToString();
}
return Task.CompletedTask;
}
public override async Task OnNavigatedFromAsync(IDictionary<string, object> suspensionState, bool suspending)
{
if (suspending)
{
suspensionState[nameof(Value)] = Value;
}
await Task.CompletedTask;
}
I am looking for away to use the suspensionState to restore data if the app suspends, while suspending the MinimalTemplate app in the debug mode it does not go through the if statement of suspensionState.Any(). Actually the state is saved on the OnNavigatedFromAsync but not restored on the suspensionState of the OnNavigatedToAsync.
I would like to know when does the suspensionState fire some value? or which mechanism does allow me to restore data that I saved with OnNavigatedFromAsync during the suspension.

@Hamza54   this is my sample.maybe it can be help you!
suspensionState demo
`
public override async Task OnNavigatedToAsync(object parameter, NavigationMode mode, IDictionary<string, object> suspensionState)
{
try
{
if (suspensionState.Any())
{
FileList = SerializationService.Json.Deserialize<ObservableCollection>(suspensionState[nameof(FileList)]?.ToString());
}
else
{
await ApplicationData.Current.ClearAsync(ApplicationDataLocality.Temporary);
}
            await Task.CompletedTask;
        }
        catch (Exception ex)
        {
            Debug.WriteLine(ex.Message);
        }
    }

    public override async Task OnNavigatedFromAsync(IDictionary<string, object> suspensionState, bool suspending)
    {
        try
        {
            if (suspending)
            {
                suspensionState[nameof(FileList)] = SerializationService.Json.Serialize(FileList);
            }
            await ApplicationData.Current.ClearAsync(ApplicationDataLocality.Temporary);

            await Task.CompletedTask;
        }
        catch (Exception ex)
        {
            Debug.WriteLine(ex.Message);
        }
    }`

@NewBLife Thank you for your answer,
Can you give a case where the application enters the if (suspensionState.Any()) and runs the lines inside. I can't figure out when does this part of code runs although I debugged in the suspension lifecycle event.

https://github.com/NewBLife/UWP/tree/master/MvvmDemo/FileOperationDemo
this demo i have created before can do it！please try it！add a photo in mainpage before do suspend event.

Suspend occurs when the user closes the app without killing the process. You can test this in Visual Studio with the Debug Location toolbar and select Suspend+Terminate. I hope this makes sense.


should parameter "container operations" go in their own namespace?

Reasons I'm asking:

names like push_arg_front don't imply that multiple types can be pushed (they can)
names like push_args_front put too much emphasis on the fact that multiple types can be pushed
callable_traits::push_front is too generic
callable_traits::parms::push_front or something like that might be nice.

Thoughts?

Just my cursory viewpoint.. I would say yes but make it params or maybe even args. The args function could be something like to_tuple or just get.

@ricejasonf Thanks for the input. I agree that params would be good. Right now I'm preparing a PR for a Boost.TypeTraits fork with all of the CallableTraits features integrated. This will be a good thing for me to ask on the mailing list.

Won't do for now


Enable unused_crate_dependencies Rust lint

Which issue does this PR close?
Fixes https://github.com/apache/arrow-rs/issues/6796
Rationale for this change
Removing unused dependencies is expected to improve compile times.
What changes are included in this PR?

enable unused_crate_dependencies Rust lint for all crates
remove unused dependencies flagged by that lint

Are there any user-facing changes?
no

The PR is expected to fail because (1) i didn't remove all the dependencies flagged by the lint and (2) there are false-positives.
However, it failed in an unexpected way https://github.com/apache/arrow-rs/actions/runs/12027104363/job/33527467696?pr=6804
Run cargo clippy -- -D warnings
  cargo clippy -- -D warnings
  shell: sh -e {0}
  env:
    RUSTFLAGS: -C debuginfo=1
    RUST_BACKTRACE: 1
error: failed to parse manifest at `/__w/arrow-rs/arrow-rs/object_store/Cargo.toml`

Caused by:
  error inheriting `lints` from workspace root manifest's `workspace.lints`

Caused by:
  failed to find a workspace root

Any idea why failed to find a workspace root? i am not getting this error when i run
cargo clean
RUSTFLAGS="-C debuginfo=1" RUST_BACKTRACE=1 cargo +stable clippy -- -D warnings

locally

Any idea why failed to find a workspace root? i am not getting this error when i run

object_store is not a member of the crate workspace as it is released separately

Thanks, that explains why it fails on CI.
I missed the working-directory: object_store when replying CI steps locally.

Marking this as a draft as there appear to still be unresolved issues

I changed the approach. Instead of enabling lint in the cargo.toml, i switched to enaling it on specific cargo invocations as part of CI. Why? Because it feels cargo lacks necessary information to make this check work well in all cases. It apparently does not distinguishes dependencies when compiling tests and examples, or tests with different feature flags. I couldn't find a way to make it work, without adding a lot of suppressions (#allow or fake imports). Moreover, being very strict about dev/test dependencies isn't probably useful, as it doesn't benefit Arrow's users in any way.

cc @alamb

I'll plan to merge this tomorrow unless there are any other comments.
I hope to make the RC around Thursday

Thanks again @findepi


Improve area_slice.

Fix #530

@jvegasbsc looks good to me, man, cheers!

Merging of #526 introduced some conflicts.

area_slice() has now moved to _area_pp.py after merging the Oceans stuff earlier today

Can you fix this?

can do :grin:

@jvegasbsc I have resolved the conflict but I had to change the area_slice() slightly to accomodate your work, have a look and tell me if that looks fine to you (it has now moved to _area_pp module); I have also deleted the unit test test_time_area since the replacement (which is more complex) now lives in its own directory _time_area complete with init file

all checks fine, @jvegasbsc , have a quick look and if all looks okay to you mergy-merge pls

Let also @BenMGeo approve this, he needs this feature in one of his diags.

Looks nice!

This is solved after line 51, no?

Yes, it is, depending on the input files being fixed accordingly in fix_metadata.
As said, it's intermediate results that are wrong. The final result is [0,360] with the valid_min/max like in the input cube.


[BUG] gsutil not found

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Not sure, I was a few hours into my game and I issued sit on throne and the game crashed.
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1365, in _do_call
    return fn(*args)
  File "/usr/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1350, in _run_fn
    target_list, run_metadata)
  File "/usr/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1443, in _call_tf_sessionrun
    run_metadata)
tensorflow.python.framework.errors_impl.InvalidArgumentError: indices[0,0] = 1024 is not in [0, 1024)
	 [[{{node sample_sequence/while/model/GatherV2_1}}]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./play.py", line 261, in <module>
    play_aidungeon_2()
  File "./play.py", line 224, in play_aidungeon_2
    result = "\n" + story_manager.act(action)
  File "/mnt/data/AIDungeon/story/story_manager.py", line 206, in act
    result = self.generate_result(action_choice)
  File "/mnt/data/AIDungeon/story/story_manager.py", line 211, in generate_result
    block = self.generator.generate(self.story_context() + action)
  File "/mnt/data/AIDungeon/generator/gpt2/gpt2_generator.py", line 116, in generate
    text = self.generate_raw(prompt)
  File "/mnt/data/AIDungeon/generator/gpt2/gpt2_generator.py", line 99, in generate_raw
    self.context: [context_tokens for _ in range(self.batch_size)]
  File "/usr/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 956, in run
    run_metadata_ptr)
  File "/usr/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1180, in _run
    feed_dict_tensor, options, run_metadata)
  File "/usr/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1359, in _do_run
    run_metadata)
  File "/usr/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1384, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: indices[0,0] = 1024 is not in [0, 1024)
	 [[node sample_sequence/while/model/GatherV2_1 (defined at /usr/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py:1748) ]]

Original stack trace for 'sample_sequence/while/model/GatherV2_1':
  File "./play.py", line 261, in <module>
    play_aidungeon_2()
  File "./play.py", line 102, in play_aidungeon_2
    generator = GPT2Generator()
  File "/mnt/data/AIDungeon/generator/gpt2/gpt2_generator.py", line 49, in __init__
    top_p=top_p,
  File "/mnt/data/AIDungeon/generator/gpt2/src/sample.py", line 121, in sample_sequence
    back_prop=False,
  File "/usr/lib/python3.6/site-packages/tensorflow_core/python/ops/control_flow_ops.py", line 2753, in while_loop
    return_same_structure)
  File "/usr/lib/python3.6/site-packages/tensorflow_core/python/ops/control_flow_ops.py", line 2245, in BuildLoop
    pred, body, original_loop_vars, loop_vars, shape_invariants)
  File "/usr/lib/python3.6/site-packages/tensorflow_core/python/ops/control_flow_ops.py", line 2170, in _BuildLoop
    body_result = body(*packed_vars_for_body)
  File "/usr/lib/python3.6/site-packages/tensorflow_core/python/ops/control_flow_ops.py", line 2705, in <lambda>
    body = lambda i, lv: (i + 1, orig_body(*lv))
  File "/mnt/data/AIDungeon/generator/gpt2/src/sample.py", line 90, in body
    next_outputs = step(hparams, prev, past=past)
  File "/mnt/data/AIDungeon/generator/gpt2/src/sample.py", line 76, in step
    hparams=hparams, X=tokens, past=past, reuse=tf.AUTO_REUSE
  File "/mnt/data/AIDungeon/generator/gpt2/src/model.py", line 185, in model
    h = tf.gather(wte, X) + tf.gather(wpe, positions_for(X, past_length))
  File "/usr/lib/python3.6/site-packages/tensorflow_core/python/util/dispatch.py", line 180, in wrapper
    return target(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/tensorflow_core/python/ops/array_ops.py", line 3956, in gather
    params, indices, axis, name=name)
  File "/usr/lib/python3.6/site-packages/tensorflow_core/python/ops/gen_array_ops.py", line 4082, in gather_v2
    batch_dims=batch_dims, name=name)
  File "/usr/lib/python3.6/site-packages/tensorflow_core/python/framework/op_def_library.py", line 794, in _apply_op_helper
    op_def=op_def)
  File "/usr/lib/python3.6/site-packages/tensorflow_core/python/util/deprecation.py", line 507, in new_func
    return func(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py", line 3357, in create_op
    attrs, op_def, compute_device)
  File "/usr/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py", line 3426, in _create_op_internal
    op_def=op_def)
  File "/usr/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py", line 1748, in __init__
    self._traceback = tf_stack.extract_stack()

Exception ignored in: <bound method Story.__del__ of <story.story_manager.Story object at 0x7f3b70f93dd8>>
Traceback (most recent call last):
  File "/mnt/data/AIDungeon/story/story_manager.py", line 37, in __del__
    self.save_to_storage()
  File "/mnt/data/AIDungeon/story/story_manager.py", line 135, in save_to_storage
    stderr=subprocess.STDOUT,
  File "/usr/lib/python3.6/subprocess.py", line 729, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.6/subprocess.py", line 1364, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'gsutil': 'gsutil'

Expected behavior
The game doesn't crash.
I think you just need to add gsutil to requirements.txt
Additional context

OS, environment
Arch Linux, python3.6
Game settings
Fantasy, Wizard

Thanks for catching this, I am adding it to requirements.txt.


Library release removal request

Library name
basicMPU6050
Version to remove
1.0.0

Hi @RCmags. I am confirming your request.
Unlike submissions, this type of request is still handled manually. The Library Manager index maintainer occasionally comes through to clear all the outstanding requests. They will close this issue when it is done. You will get a notification from GitHub at that time.
After that, you can monitor the indexing of the library via its dedicated logs web page.
Information about that here:
https://github.com/arduino/library-registry/blob/main/FAQ.md#can-i-check-on-library-releases-being-added-to-library-manager


Are there any plans to support secured client communication towards the agent?

Jaeger documentation today says:
❌ Sending trace data over UDP - no TLS/authentication.
❌ Retrieving sampling configuration via HTTP - no TLS/authentication
I am deploying Jaeger agent as a daemonset on K8s, I would like to have secured communication between Agent and Application (Client library).
Are there any plans to implement TLS communication for the above interfaces? How can we establish secured connections between clients and jaeger agents today?

We have no particular plans for securing comms with the agent, as it is meant to run in a secure env. You can use https to submit spans directly to collector.


Standardize colors with SCSS variables

Summary
The colors used for CoursePlan was super decentralized. Every instance of using colors with hex codes is just copy-pasted directly from the designs. This PR is a massive overhaul to centralize the colors with SCSS variables.
The variables can be seen at and changed at src/assets/scss/_variables.scss.
Instructions to import global color variables
// To import into <script>
import { inactiveBlue, ... } from<EMAIL_ADDRESS>
// To import into <style>
@import<EMAIL_ADDRESS>
Test Plan
All color schemes should work as before and color names consistent with the designs defined here.

This pull request is predominately a refactoring effort involving CSS and minor changes in JS (all involving the altering of Hex codes). Nothing should be broken as a result.

Wow thanks for this overhaul Han! In src/assets/images we have .svg files like dropup-lightblue.svg which now might be one of the SCSS variable names. Have you considered renaming those .svg files to correspond with your changes? Though I should note that in src/assets/components/Requirements.vue, we have reqGroupColorMap which would have to change if we changed the names of the .svg files:
// reqGroupColorMap maps reqGroup to an array [<hex color for progress bar>, <color for arrow image>]
      reqGroupColorMap: {
        UNIVERSITY: ['508197', 'grayblue'],
        COLLEGE: ['1AA9A5', 'blue'],
        MAJOR: ['105351', 'green'],
        MINOR: ['92C3E6', 'lightblue']
      }

Wow thanks for this overhaul Han! In src/assets/images we have .svg files like dropup-lightblue.svg where lightblue now might be one of the SCSS variable names. Have you considered renaming those .svg files to correspond with your changes? Though I should note that in src/assets/components/Requirements.vue, we have reqGroupColorMap which would have to change if we changed the names of the .svg files:
// reqGroupColorMap maps reqGroup to an array [<hex color for progress bar>, <color for arrow image>]
      reqGroupColorMap: {
        UNIVERSITY: ['508197', 'grayblue'],
        COLLEGE: ['1AA9A5', 'blue'],
        MAJOR: ['105351', 'green'],
        MINOR: ['92C3E6', 'lightblue']
      }

Maybe these filenames could be refactored in this PR or another one?

@tcho6319 O wow I see what you mean. What I would do is componentize all of these icons and pass in a color prop so they can be changed more easily. Would be done in a separate PR tho, and it's not a super high priority so I wouldn't even focus on that now of all things

@willespencer fixed the issue. It was really small thing. Sorry I couldn't have done it earlier


Adding an abstract BarrettHandPositionCommandExecutor class

This PR adds BarrettHandPositionCommandExecutor and renames several classes. This is necessary/convenient to have a non-simulation counterpart ros::RosBarrettHandPositionCommandExecutor which has the same execute method signature as the existing sim-mode-executor.

adds an abstract class BarrettHandPositionCommandExecutor which contains execute method for four finger goal positions (3 primal, 1 spread).
renames existing Barrett*Executor classes to SimBarrett*Executor
removes collideWith param from their execute method to match the abstract class's execute signature
addscollideWith to the contructors for SimBarrett*Executor classes
addssetCollideWith methods to  SimBarrett*Executor classes

One question for @mkoval : shouldn't we expose step (or spin) method for all Executors, including the higher level abstract classes? (applies to #149 as well)

Coverage decreased (-0.1%) to 85.055% when pulling 811a63b5d8929ccd4b1cc84be86e130355f46477 on SimBarrettHandCommandExecutor into 9154cc4b5715f731ddc01ec0699818c0ef8e9791 on master.

Coverage decreased (-0.1%) to 85.088% when pulling dd96c1035f3e35c9d3b79b195c7c58515ca9a728 on SimBarrettHandCommandExecutor into 855128a20a2aa03f65ad6491c6161935a5d5012b on master.

Coverage decreased (-0.1%) to 85.088% when pulling cf8f104fea60e7beed2de6981c0595aa8a45f823 on SimBarrettHandCommandExecutor into 855128a20a2aa03f65ad6491c6161935a5d5012b on master.

@jslee02 As far as I know, I don't think it's necessary to create an abstract class for fingers. The abstraction at hand level is necessary so that both simulation-mode and real-mode can be handled by the same API. The real-mode does not need finger-executors; we just need to call something like RosBarrettHandPositionCommandExecutor::execute(goalPosition) that sends commands using actionlib. On a separate thread (e.g. in libherb) we'll have a MultiplexExecutor that calls step() method of RosBarrettHandPositionCommandExecutor( BarrettHandKinematicSimulationExecutor) to check the execution status (or step forward).

After discussion with @mkoval I had to make another major change: change KinematicSimulationTrajectoryExecutor::step to just step once, and remove all multi-threading component. The multi-threaded, step-forwarding part is expected to be handled by an external thread calling step() regularly. This make KinematicSimulationTrajectoryExecutor consistent with all other executors.
@mkoval @jslee02 please take a look. Thanks!

Coverage decreased (-0.3%) to 84.128% when pulling 06dad13a74e51988e0e2bc82271228d6f4488ca5 on SimBarrettHandCommandExecutor into 2b21ddd14e5aea1a31e94dbc0774cf1fc8bc661f on master.

Coverage decreased (-0.3%) to 84.128% when pulling 06dad13a74e51988e0e2bc82271228d6f4488ca5 on SimBarrettHandCommandExecutor into 2b21ddd14e5aea1a31e94dbc0774cf1fc8bc661f on master.

@mkoval @jslee02 I think I've addressed all your suggestions (except perhaps the one about reading kProximalSpeed from herb_description). Let me know if this looks good to merge!

I realized I forgot to fix the tests, but I've fixed some of them now.

test_BarrettFinger tests now compile, although they seem to indicate that step isn't actually updating anything. @gilwoolee based on our conversation earlier this afternoon, this might be expected behavior because there isn't a separate thread running? Is that correct?
test_BarrettHand partially compiles, although that's because I've commented out the majority of it. Now that robot is a parameter, it seems that testing this will become more difficult. I believe that aikido currently doesn't have any dependency on herb_description, so we can't load in the urdf as a skeleton (which makes it impossible to construct a BarrettHandCommandExecutor). Any thoughts on how to fix that?

Coverage decreased (-7.2%) to 77.233% when pulling 1eba53b8677b104e3dc2488d39c525c7fb079553 on SimBarrettHandCommandExecutor into 2b21ddd14e5aea1a31e94dbc0774cf1fc8bc661f on master.

Coverage decreased (-3.7%) to 77.233% when pulling fa23b684a933138f4527d4823bba51fcd1f941ac on SimBarrettHandCommandExecutor into abe85e9255513d9f8a690d93496d3016dc8e94b9 on master.

@brianhou To answer the questions:

Yes. It is correct. We need to convert those that take in step(timeSincePreviousCall) by measuring the time between execute(...) step() and see if the dof values after step() approximately matches the expected value (computed by ellapsedTime *speed. Some of the tests  test collision-related behaviors, so they can just run for completion (until future returns). We should be able to get the same dof values as before.
I don't know how it exactly works, but @jslee02 knows about how to import resource or make some package dependency for test-only purposes. @jslee02 could you add to this?

The only real option I see is to include a BarrettHand model in the Aikido repository. We can put that in the test/resources directory, where we currently store files necessary to test CatkinResourceRetriever.
I suggest building herb_description and copying the standalone BH-280 URDF file out of the devel (or install) space. Then, edit the URDF file to: (1) replace all references to visual geometry with the collision geometry to reduce the number of binary mesh files that we need to copy and (2) modify the path to mesh files to resolve when we run unit tests.
@jslee02 had some trouble with (2) in DART, but was able to work around it using a custom ResourceRetriever. He may be able to shed some light about how to approach this.

Do we want to test BarrettHandKinematicSimulationPositionCommandExecutor that is dependent on herb_description? If so, I would like to suggest moving this class (and other BarrettHand related classes) to libherb since it's not a robot agnostic implementation.

We decided that the right thing to do is to include a Barrett hand model in the repository at some point. In the meantime, we'll merge this (to unblock other PRs) and open an issue to fix that.


Only draw the tooltip if it is defined

Fixes an issue I noticed when testing locally
Reproduce
Chart.defaults.tooltips = false;
const ci = new Chart(ctx, {
  data,
});

This will crash when trying to draw the tooltip because chart.tooltip is never created when the options are falsy
Closes: #7423

@benmccann have you had a chance to review?

Yeah, that's a backwards compatibility thing (title & legend plugins do the same). I will open an MR to remove


Create Filter View Component

Issue Description
Create Filter View (name pending) component.
Issue Type

[x] New Feature
[ ] Enhancement
[ ] Bug
[ ] Other

Tech Design
Summary
Create a Filter View component that is a search bar and a suggested search drop-down.
Implementation is similar to the single search select.
In addition to the dropdown style, there will also be a variant with a persistent result view that updates during search.
Example of search with persistent result view and multiple search qualifiers.
Expected behavior
When inputting text to the Filter View, either

a dropdown menu will be shown with the options matching the current value in the input.
a persistent result view will populate with relevant results.

Responsiveness
Similar behavior to terra-form-select.

Options will wrap when width is overflowed.
Input value will be horizontally scrollable when input width is overflowed.
Results list will scroll when number of items overflows height.

I18N / Bidirectionality
Alignment will be mirrored in rtl orientation.
Accessibility

User should be able to horizontally scroll through input value with arrow keys.
User should be able to navigate the options with arrow keys and select using space or enter.
User should be able to tab to focus the field.

React Props:
FilterView
Mostly borrowed from terra-search-field.

Props
Type
isRequired
Default
Description

children
node
required
undefined
The dropdown/result menu options.

defaultValue
string
optional
undefined
The default value displayed in input

disableAutoSearch
bool
optional
false
When true, will disable the auto-search.

disabled
bool
optional
false
Whether the search field is disabled.

dropdownAttrs
object
optional
undefined
Additional attributes to spread onto the dropdown. (Style, classNames, etc.)

isBlock
bool
optional
false
Whether the field should display as a block.

minimumSearchTextLength
number
optional
2
The minimum number of characters to perform a search.

noResultContent
node
optional
undefined
Content to display when no results are found.

onChange
func
optional
undefined
Callback function triggered when the value changes. Provide a function to create a controlled input.

onInvalidSearch
func
optional
undefined
A callback to indicate an invalid search.

onSearch
func
optional
undefined
A callback to perform search.

optionFilter
func
optional
undefined
Callback function invoked for each option on search change.

placeholder
object
optional
undefined
Placeholder text.

searchDelay
number
optional
250
Time component waits (in milliseconds) after input before performing search.

Option

Props
Type
isRequired
Default
Description

disabled
bool
optional
false
Whether the option is disabled.

display
string
optional
undefined
The display text of the option.

isSelected
bool
optional
false
Whether or not the list item should have selection styles

value
string/number
required
none
The value of the option.

Example:
<FilterView>
  <FilterView.Option value="red" display="Red" key="1" />
  <FilterView.Option value="green" display="Green" key="2" />
  <FilterView.Option value="blue" display="Blue" key="3" />
</FilterView>

What's the rationale behind the isSelected prop? Seems odd to toggle selection styles. How would a user know which option is the current one if they're cycling through using arrow keys? Would it make more sense to have a prop be a callback function that is triggered when that option is selected?

Looking at the open-source theme callouts, we'll have to add support for OptGroups to group options together with a label.

If we cycle through a populated dropdown using arrow keys, should the input be pre-populated with that option, similar to a url bar?

Removed the isSelected prop in favor of adding in a callback function prop when an option is selected
Updated the tech design to include the OptGroup props

+1 on tech design.

I think the initiallyOpen prop is redundant, as it's essentially the same value as your children length check. We should look to removing it.

+1 after prop drop.

Let's break this up into it's own package, separate from search-field.

@yuderekyu @neilpfeiffer is this still being actively worked on? The PR was closed and never merged. There are several different teams and projects that have their own custom implementation for this. Having this component would save a lot of duplicate work and make our Orion applications look more consistent for our clients.
These 3 projects listed below are examples of custom implementation and future work/bug fixes that could be avoided if this component existed in the Terra framework. 2 of these projects have already been released to clients and the 3rd one will be released sometime next year:

https://github.cerner.com/problems/ion-conditions-js/blob/master/tests/wdio/__snapshots__/reference/en/chrome_medium/add-spec/Select_-This_Visit-_and_enter_search_text__Display_search_result[1199602%2C_556940%2C_1195370].png

https://github.cerner.com/ipoc/goals-js/blob/master/tests/wdio/components/__snapshots__/reference/en-US/chrome_large/searchable-list-spec/Goal_catalog_search_error[1454642].png

https://github.cerner.com/procedures/procedures-js/blob/master/test/wdio/procedure-add/__snapshots__/reference/en/chrome_large/procedure-add-spec/resizes_the_popup_after_rendering_a_scroll_bar[default].png

The allergies org has also created their own custom filter view component that they are using across several different applications:
https://github.cerner.com/procedures/procedures-js/blob/master/test/wdio/procedure-add/__snapshots__/reference/en/chrome_large/procedure-add-spec/resizes_the_popup_after_rendering_a_scroll_bar[default].png

Thanks @gabeparra01 for the bump on this issue and adding needed use-cases.
No, this is not actively being worked on -- this was a summer intern project and never quite got completed, still had outstanding API and approach items needing to be solved. It has not been re-prioritized as of yet, but I can forward this on as a new request to the planning group now with the cases you have outlined for consideration for future work.
FWIW - we also have recently uncovered accessibility issues, particularly with search/filter inputs and contextually positioned dropdowns over the content, with iOS VoiceOver. This would affect a revisit of this work and may affect final approach/designs.

@neilpfeiffer Alright thanks for the update!


Fix CMD in Dockerfile.

When I ran docker run I got an error it's related to executable command not found in $PATH.
I fixed CMD line in the official correct style.

A new PR is here https://github.com/zkemail/email-wallet/pull/38
Let me close then.


Use SPDX license identifier instead of bulky headers

There exists a nice, consistent way to denote licenses in source
files. It's called SPDX and further information is here [1].
This commit migrates the bulky apache-2 license headers with the
SPDX short identifier equivalent.
[1] https://spdx.org/ids-how
Signed-off-by: Eric Brown<EMAIL_ADDRESS>

Looks like hacking doesn't support SPDX identifiers until 1.1.1 which isn't released yet (even though this change was add last Sept).

As I recall, Apache requires this "bulky" header on all files. Does the foundation recognize the SPDX Identifier as a valid substitution?

Which foundation?
Apache supports it - http://www.apache.org/foundation/license-faq.html#Apply-My-Software
And a fix was added to openstack/hacking https://github.com/openstack/hacking/commit/85cdbdf408c57650e43d3e36f0786aa4b772bf26 to support it.

The hacking library finally released tag 2.0.0 which includes the SPDX support.


Apply latest changes of glide gifdecoder, fix DISPOSE_BACKGROUND and DISPOSE_PREVIOUS

Instead of https://github.com/felipecsl/GifImageView/pull/54 , submitting a new PR.
As @felipecsl mentioned, copied code block from https://github.com/bumptech/glide/blob/6ddb5f0598b1a5a5a51647fb968e998d6cabbd3d/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/StandardGifDecoder.java#L389-L392
Works well with my case, and also I hope it will fix https://github.com/felipecsl/GifImageView/issues/46
Thanks.

Oops, I did it wrong again.
GifDecoder of glide checks previousFrame == null, while mine checks previousImage == null
Will add additional commits.

This was not a simple thing. https://github.com/bumptech/glide/issues/1094 is a related issue, but this is not yet merged even into the master branch of bumptech/glide . I will try this soon, but not today.

Before:

After:

This is awesome, thanks a lot for doing it @keewon. I'll cut a new release with these changes soon

Thanks a lot!


ref: Update IsPlainObject

Update isPlainObject in order to increase speed and better understanding.
:bug: Bug fix or new feature

Hi. Appreciate the PR, but the current implementation works as-is, and that while loop was added years ago to handle some specific edge cases.  Thanks anyway!


Foobar complains the plugin is not for this version

When I try load the DLL when foobar is launched it fals with the following error message:
Failed to load DLL: foo_mediacontrol.dll Reason: This component is missing a required dependency, or was made for different version of foobar2000.
I used the versions 1.3.17 and  1.4 beta 2 .
It states that it is missing a dependency !? Which dependency is !?

Same here with versions 1.3.16 and 1.3.17.

I can't reproduce it on 1.3.17. Do you have the Visual C++ 2015 redistributable installed?

I'm using the compiled version. Not using development tools.
2017-12-31 11:38 GMT+00:00 Nikola Yanakiev<EMAIL_ADDRESS>
I can't reproduce it on 1.3.17. Do you have the Visual C++ 2015
redistributable installed?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Hual/foo_mediacontrol/issues/6#issuecomment-354599219,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AArxVojAjMu9o18bpS9J0CyuvwZ0emSpks5tF3IygaJpZM4RPrpU
.

At least I thought I had. But as it turned out, only the x64 package. Installed the x86 version and everything works as expected.  ;) Thanks for the quick reply!

I'll add a statically linked build just in case.
@digfish the runtime is required to run it, not just to build it.

Hi,
thank you all for your quick replies.
How I'm going to use the runtime !? It's not possible to use the .dll !?
Can you upload it to the releases !?
Thanks again
2017-12-31 13:15 GMT+00:00 Nikola Yanakiev<EMAIL_ADDRESS>
I'll add a statically linked build just in case.
@digfish https://github.com/digfish the runtime is required to run it,
not just to build it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Hual/foo_mediacontrol/issues/6#issuecomment-354603255,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AArxVi2Qc_RECnqshmNT1B7w30m3fyhqks5tF4j4gaJpZM4RPrpU
.

Just download and install the "Visual C++ Redistributable for Visual Studio 2015" x86 package from microsoft.com, restart foobar2000 and the component should load. Or you could wait for @Hual to upload the statically linked DLL which wouldn't need the runtime to be installed on your machine.

Not possible, sadly.


[Bug]: The update of existing Azure AD app doesn't work

Is there an existing issue for this?

[X] I have searched the existing issues

Affected Resource(s)
applications.azuread.upbound.io/v1beta1 - Application
Resource MRs required to reproduce the bug
apiVersion: applications.azuread.upbound.io/v1beta1
kind: Application
metadata:
  name: my-app-test
  annotations:
    crossplane.io/external-name: "/applications/00000000-0000-0000-0000-000000000000"
spec:
  managementPolicies: ["Observe"]
  forProvider:
    displayName: my-app-test
    identifierUris:
    - "dummyurl.com"
  providerConfigRef:
    name: azuread-provider-config

Steps to Reproduce

updating the existing Azure AD application

What happened?
Hi crossplane team,
we need to update the existing azure AD application by adding redirect uris for SSO configuration.
However looks it's not working with the azuread provider the version 1.6.0.
Relevant Error Output Snippet
Warning CannotObserveExternalResource 33s managed/applications.azuread.upbound.io/v1beta1, kind=application external resource does not exist

Crossplane Version
1.18.0
Provider Version
1.6.0
Kubernetes Version
v1.31.0
Kubernetes Distribution
minikube
Additional Info
I've tried to use identifierUris as an additional field but still not working. Changing the management policy and using "*" creates a new app instead of updating the existing one. My provider config has ReadWrite permissions for all apps.

Thanks for your report @eriksML. To clarify, you're interested in importing a resource as documented here, right?


Sky Span: Game overloads when beating Lanner

Lanner's Strategy: Create nothing but Anya's and have them sit behind the human commander spamming the field with razor disks.
The problem: When I adjusted for this strategy and took out the Anya's  the game would "take too long or hit an infinite loop". Even when I simplified my code down to just a few lines it still would error out. Not sure what is causing the error. It tends to happen right around the time the first Anya would die and the send Anya would spawn. And only happens when the ogre's have a mass of people around the human spawn.
The ogre code that causes the error (I had an even simpler version but it doesnt seem to matter):
buildOrder = ['munchkin', 'munchkin', 'munchkin', 'thrower']
buildType = buildOrder[len(self.built) % len(buildOrder)]
if len(self.built) <100:
    if self.buildables[buildType].goldCost <= self.gold:
        self.build(buildType)

enemies = self.getEnemies()

minions = self.getFriends()
for minion in minions:

    # self.command(minion, 'move', {"x": 64, "y": 30})

    if enemies[1]:
        self.command(minion, 'attack', enemies[1])
    else:
        self.command(minion, 'attack', enemies[0])

#When the move command is used instead of attack to keep minions from swarming human spawn it does not freeze

I've got better NaN handling in place now, so at least it errors out. Will keep an eye out for scattershot or razor discs continuing to be problems in new hero levels.


[F] Resolves all strict typescript errors

In this branch, the following URL ends up in a redirect loop:
https://wdp-admin-client-git-zd-fix-types-cast-iron.vercel.app/communities/xeVb2RRf75xDUXZ0t9YXxfbEYYJPaVw/collections

I'll see if I can fix it tomorrow morning.

Fixed!


Sunidhi

Updated e-mail validation

Codecov Report

Merging #25 (b184467) into main (c0a123d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #25   +/-   ##
=======================================
  Coverage   96.15%   96.15%
=======================================
  Files           1        1
  Lines          26       26
=======================================
  Hits           25       25
  Misses          1        1

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 c0a123d...b184467. Read the comment docs.

E-mail validation


Required tools

We should allow for required tools, meaning the model is required to use a specific tool.

hey @sixlive I'd be happy to work on this one if you like if you don't already have it covered - I have an immediate need for it ;)

Really appreciate the offer! I've got a few ideas / opinions around handling this. My goal is to tackle it this week/weekend. I'll be sure to reach out for some feedback from you before I merge!


connect.kak doesn't work

I have install the connect.kak as explain in the readme.
When launching kak-shell in a terminal, it start a kakoune instance with the following message in the debug:
Error while transfering remote messages: socket read failed: Bad file descriptor
remote client disconnected: -1
accepting connection failed: socket read failed: No such file or directory
remote client connected: 4

Also it echo something in the prompt : 1:93 'connect-set-detach' wrong argument count
When trying to pop a terminal from kakoune I get the following;
Error: 1:1: 'connect-shell' wrong argument count
Error: 1:1: 'connect-terminal' option not found: 'prelude'. Use declare-option first

I do have prelude installed and require-module connect in my kakrc

I think it is a race condition introduced by https://github.com/mawww/kakoune/issues/3618.

connect-shell connects a shell, not a terminal.

Any idea how to fix ?

connect-terminal
Also, there is no connect-terminal option in the source code.

I have no idea what you are talking about.
Why would I have prelude instead of prelude_path in my source code ? it is up to date and I didn't edited the source code.

OK  I fixed connect-terminal by deleting everything and reinstalling,
bug kak-shell is still buggy: it give me: 1:93 'connect-set-detach' wrong argument count

Just added a wait_for_session function in kak-shell:
wait_for_session() {
  session=$1

  # Wait for session
  # Grep in quiet mode with fixed strings and whole line switches
  while ! kak -l | grep -q -F -x "$session"; do
    continue
  done
}

@lenormf mentioned flock -E but I do not know it.
https://github.com/mawww/kakoune/issues/3618
Let me know if you know a better implementation.

Just added a wait_for_session function in kak-shell:
wait_for_session() {
  session=$1

  # Wait for session
  # Grep in quiet mode with fixed strings and whole line switches
  while ! kak -l | grep -q -F -x "$session"; do
    continue
  done
}

@lenormf mentioned flock -E but I do not know it.
mawww/kakoune#3618
Let me know if you know a better implementation.

I'm basically a lurker. But to keep this from eating up your CPU needlessly, you should have a sleep call instead of continue. If you do a small interval like 0.25s or 0.5s it won't make your CPU go into overload and it'll still be low-latency.

Thanks for the feedback.  I tested with a slight amount of time and it looks reasonable.  You can test the difference:
Before
while true; do continue; done

After
while true; do sleep 0.1; done


regex

After a recent git pull, in merlin/src/keras_lib/data_utils.py I had to comment out
import regex as re
and include
import re
to get the code to work.  I am using python 2.7.5.

I am also working with same version. I didn't have any problems.

I got an error too about module regex being missing, but I did 'pip install
regex' and it worked fine.
On Wed, Jun 28, 2017 at 2:34 PM, Srikanth Ronanki<EMAIL_ADDRESS>wrote:

I am also working with same version. I didn't have any problems.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/CSTR-Edinburgh/merlin/issues/176#issuecomment-311748514,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABReNiE5XoPkvpFD00JT3_fdRLBz7cGdks5sIpzDgaJpZM4OH7bL
.

I wonder why I've included that import when the code itself has nothing to do with regular expressions. I removed that line now and added a requirements file to the repo.
With this, the installation should be easy now:
pip install -r requirements.txt


Don't lock AppLock itself!

I locked AppLock itself and now it's impossible to open it.  As soon as you enter the pattern it closes immediately.
The only thing is to uninstall it and reinstall it.  Please hide App Lock itself from the list of apps

https://github.com/SubhamTyagi/AppLock/blob/81a7ed623a47f8ce8f5c0fe183838235896c91f9/app/src/main/java/com/lzx/lock/services/LoadAppListService.java#L68


LogstachTcpSocketAppender and mandatory "destination" property vs logback behaviour

Suppose the following configuration fragment:
<appender name="REMOTE" class="net.logstash.logback.appender.LogstashTcpSocketAppender">
    <destination>${destinations}</destination>
    ...
</appender>

If the destinations property cannot be resolved, Logback's default (and non configurable) behaviour is to default it to <prop.name>_IS_UNDEFINED. The TcpSocketAppender requires at least one destination and stops in error if not the case. Unfortunately, in this scenario, from the appender's point of view, a value IS specified - so the precondition checks pass and no error is raised. The appender will eventually start but always fail to connect to a remote destination.

As a temporary workaround, I changed my appender declaration in logback.xml as follows:
<appender name="REMOTE" class="net.logstash.logback.appender.LogstashTcpSocketAppender">
    <destination>${destinations:- }</destination>
    ...
</appender>

The destinations property defaults to a single space if not defined. The appender interprets the blank string as an empty value and complains because of no destinations specified.
This workaround works only for the destination property of course. Problem is still there for the other mandatory properties.

Could add a validation check for string values that end with _IS_UNDEFINED
Any other suggestions?

After some research, it seems there is no way to change Logback's behaviour. Looks like checking for a _IS_UNDEFINED suffix is the only solution I'm afraid :-(

Added validation check.  Will be available when 4.6 is released.

4.6 has been released and is on its way to maven central


Example for adapter

Hi
Could you provide an example for adapter option?

Close this issue due to the same reason of #164


Use vec to avoid indexing with a matrix

This fixes an issue with a test in StatsBase wherein Bool[x != 0 for x in sum(ff, 2)] returns a vector on 0.4 but a matrix on 0.5. Using vec ensures that we always get a vector here, as desired.

Closing in favor of #1014. Andreas is awesome.


0.4-SNAPSHOT

Closed by CI build #11

see the report:

Documentation

Merged by CI build #12

tag 0.4-SNAPSHOT
maven snapshot
documentation here
release note


Added documentation

Hi! I started documenting new traits. I have some questions, though. I see most of the work has been done in disel::sql_types. I'm fairly new with the codebase, so let me know if I'm on the right path, and I can write more:
Structs:

IsNullable: represents a type that can be null.
NotNull: represents a type that will never be null. (NOT NULL when creating the field in the table).
NotSelectable: what does this mean? It cannot be selected? but how is that defined at the database level?
Typed: Does this mean it has an associated custom type?
Untyped: is this a kind of Any type?

Traits:

SqlType: I'm guessing this trait is meant to especify the type of a field, right? I'm guessing this type must be a type in diesel::sql_types or its submodules, right?
BoolOrNullableBool represents either a boolean or a boolean that can be nullable, right?
IntoNotNullable: I'm guessing this is a conversor to a non-nullable type, like NotNull, right? Where is this used? how?
MaybeNullableType: sound similar to IsNullable, how would I differentiate this?
MixedNullable: this seems like a combination between two types, that will output IsNullable if any of the two types is nullable.
NullableIfOneIsNullable: the definition here is a bit complex, could I get a hint on what this does?
TypedExpressionType: This I don't fully understand, since it seems that Untyped is a typed expression type.
TypedSql: I'm guessing this represents a SQL type that has a type. so, basically, only the Typed type, but I guess external libraries can implement it to provide their own types?

Let me know if I can write some documentation with this, and I can keep updating this PR.

Thanks for working on this :+1:

Structs:

IsNullable: represents a type that can be null.
NotNull: represents a type that will never be null. (NOT NULL when creating the field in the table).

Correct. Those are similar to the is_aggregate types here. I've refactored to code in such way that they are now in their own module. Documentation should be similarly styled.

NotSelectable: what does this mean? It cannot be selected? but how is that defined at the database level?

It's just a type marker type, that says: This cannot appear in a select clause + we don't need to know the actual type.

Typed: Does this mean it has an associated custom type?

This type is just a wrapper expression types that have a at compile time known type (so something that implements SqlType as inner type). When thinking now again about that: It may not be required to have this type wrapper at all. If I find some time I will try to remove it.

Untyped: is this a kind of Any type?

That's a marker type where we know that a query returns something, but we cannot say at compile time what will be returned. So basically sql_query based queries are Untyped. In the long term that also will enable the dynamic value functionality.

Traits:

SqlType: I'm guessing this trait is meant to especify the type of a field, right? I'm guessing this type must be a type in diesel::sql_types or its submodules, right?

Every type that can be used as inner type of Typed<> should implement that trait. It says: This marker type represents some sql type. It is mainly used to determine if an type is nullable or not.

BoolOrNullableBool represents either a boolean or a boolean that can be nullable, right?

Just a trait that is used to be generic over Nullable<Bool> + Bool.

IntoNotNullable: I'm guessing this is a conversor to a non-nullable type, like NotNull, right? Where is this used? how?

Probably not used anymore, but yes the idea is that this is the counter part of IntoNullable.

MaybeNullableType: sound similar to IsNullable, how would I differentiate this?

That's a type level constructor that constructs Nullable<T> for expressions that are nullable and T for such that are not null. Useful to construct the return type of a expression with mixed null values.

MixedNullable: this seems like a combination between two types, that will output IsNullable if any of the two types is nullable.

A trait to calculate if a expression of mixed nullable subexpression is nullable or not. The name is not great. Basically MixedAggregates, so correct.

NullableIfOneIsNullable: the definition here is a bit complex, could I get a hint on what this does?

Similar to MixedNullable but returns only IsNullable if both sides are IsNullable . (Sql Or expressions have this behavior :shrug:)

TypedExpressionType: This I don't fully understand, since it seems that Untyped is a typed expression type.

Just a marker trait, that ensures that every type passed as Expression::SqlType is actually some type we defined above. (I've used this mainly to made sure that I've found all locations where I had to replace something)

TypedSql: I'm guessing this represents a SQL type that has a type. so, basically, only the Typed type, but I guess external libraries can implement it to provide their own types?

That's a helper trait to access the inner type of Typed<> in some contex's, where rustc would otherwise complain about a uncoverd type parameter.
Hopefully that helps a bit. Another documentation thing that needs to be checked: The existing documentation for our custom derives.

Hopefully that helps a bit. Another documentation thing that needs to be checked: The existing documentation for our custom derives.

Hi, sorry I didn't have time to work on this the last weeks. I started today again and I see that the traits we mentioned are either already documented or nonexistent. Is there something left to do here?
I also tried finding the documentation of the derives, but I found that the changes in the PR have already been documented or hidden. Let me know if there is something left.

@Razican I've added most of the documentation myself already. Currently I'm experimenting with keeping Queryable and QueryableByName in such a way that a impl of one of those traits would imply the corresponding impl of FromSqlRow.
Beside of that I see the following open points where help would be appreciated:

Benchmarking the "new" implementation against the old one. I've linked a postgres based benchmark in the corresponding PR at the diesel repo, verifying that results + porting it to mysql/sqlite would be a great help
Reviewing the user facing part of the PR (Changelog, Documentation, Public API)


Add equirectangular screenshot mechanism

This may not belong in the boilerplate, but it would be pretty slick to have an ability to capture screenshots of our VR worlds. In the past we've discussed equirectangular captures. They could be mapped on spheres and used as "snow globe"-style preview visuals for sites in a directory (as one example).

readback of WebGL has to be enabled at context creation and has perf impact, as a heads up

@nickdesaulniers Would leveraging add-on capabilities change the equation at all?


Small bug when compiling without LAPACK

@psocratis since this is a minor change, can you please just add it in https://github.com/mfem/mfem/pull/4172?

@psocratis since this is a minor change, can you please just add it in #4172 and close this PR?

Another option is to add it to #4236 which already has some fixes for Example 33/33p.

We can switch the target branch of this to #4236 and merge it there for review.

We can switch the target branch of this to #4236 and merge it there for review.

I will add the change to #4236 and close this. Thanks.


Make defaults off by default and some dependency updates

This PR disables the defaults handling by default, as it imposes quite a bit of bloat (one method per property) onto users that may not actually need/want it.
This also opportunistically updates dependencies and to the new java-library format

Sidenote - updating gradle's helped me get around all the weird local build issues I'd had on previous PRs.

But how to enable defaults generation now?

Use the compiler option


Rebase develop branch to 0.5.0 of master branch

@sbarnum : "Rebase" has a specific meaning in Git.  Please be careful in the future with its use.


Same request as before, but now with added test cases for the context based CSS Selector

I added a second implementation of the existing CSS Selector widget. With a working test cases this time.
This is to allow for attribute specific CSS classes.
In my project I've used it to render denied,or approved requests in a different look and feel. Also I will be using this implementation in the new version of the Questionnaire appstore module to allow the user to work with dynamic layouts for questions.
It would be great if this can be added to the appstore widget.

Merged, could you please add your enhancements to the documentation as well.


Publish into Maven Central

Hi, publishing into Maven Central makes it very easy to integrate into build process.
Thanks

Bump!

@fanweixiao any progress? Can we have it in jcenter?

Btw, it is easily available from https://jitpack.io/#jiecao-fm/hashids-java/v1.0.0 : )

@jitpack Great! Very nice idea. Thanks.

@jitpack :+1:

@fanweixiao maybe this could be relevant and useful rultor

@rultor hello

@rultor hello

@fanweixiao Hi there! I understand a few simple commands: "merge", "deploy", etc. This page explains them briefly. Any questions or bug reports are welcome. Have fun :)

@rultor release, tag=1.0.0

@rultor release, tag=1.0.0

@fanweixiao OK, I will release it now. Please check the progress here

@rultor release, tag=1.0.0

@fanweixiao Oops, I failed. You can see the full log here (spent 2min)

@giulp seems it's not easy to use rultor. I am not familiar maven-related things, if you have experience on this, can you help publishing this project to maven central? if sure, I can add you to collaborator so you can use rultor to release it :smile:

@fanweixiao it'd be a pleasure and a honour to help :) count me in

@giulp I've invited you to a team for collaborating, please accept :)

:+1: for jcenter / maven central

Now is 1.0.0 released. Any updates on this issue?

@giulp how's about the process :8ball:

busy giulp's been investigating it
will push an update in a couple of days

@giulp :+1:

+1 for maven

:clock1: :clock2: :clock3: :clock4: :question:

Sorry guys too busy atm maybe someone else wants to take the task
2015-06-02 8:41 GMT+02:00 Shane StClair<EMAIL_ADDRESS>
[image: :clock1:] [image: :clock2:] [image: :clock3:] [image: :clock4:] [image:
:question:]
—
Reply to this email directly or view it on GitHub
https://github.com/jiecao-fm/hashids-java/issues/8#issuecomment-107827500
.

Created a Sonatype JIRA ticket to try to get this moving.

@shane-axiom I've added you to the team, you'll have admin access to this repo :)

I'm about to prepare the repo.  Per the ticket, only Shane will get a deployer role.  If any other team members need deployer roles, just comment on the ticket and I'll add you.

Thanks @thwatson. @fanweixiao I notice that the Maven groupId for the project was fm.jiecao.lib when v1.0.0 was released, and I set up the OSS repo to use the current groupId org.hashids. Can I go ahead and release v1.0.1 and push that?

Yes, I will try to remove the old v1.0.0 version, we should use org.hashids as groupId. thanks a lot.

Alright, v1.0.1 is publushed and available via Maven Central!

@shane-axiom :+1: :+1:


exit with code 9009, signal null

python-tools experienced an unexpected exit.
Please consider posting an issue on https://github.com/michaelaquilina/python-tools/issues/new
exit with code 9009, signal null

I got this same error. Looks like #280 #281 are same issues.


Fix use of **/ in .dockerignore

Closes #29014
Signed-off-by: Doug Davis<EMAIL_ADDRESS>

LGTM

I see the test have changed. is this a breaking change ?

Its not so much a breaking change as much as its a fix for a bug.
The case of the **/ pattern when used against dir/file wasn't quite right before.
It popped up because **/ is supposed to be treated just like **. And when ** appeared at the end of the pattern it was supposed to be converted to a regex .*.  However, the check for a / after ** was done after the "end of string/pattern" check, so when we removed the trailing / it was too late to notice the EOS - and it got converted into .*/ or [^/]* instead of .*.  Hopefully that rambling made sense.

Please can you write a real commit message it makes life incredibly difficult when looking through commits later as then you have to look up #29014 to see what the issue actually is about.

@justincormack done

LGTM


[TACHYON-1544] Fix flakiness in getCapacityTest

https://tachyon.atlassian.net/browse/TACHYON-1544
This PR changes LocalTachyonCluster to until the worker has registered before returning from its start() method. This should fix the race condition where getCapacityTest checks the master's capacity before the worker has registered its capacity.

Thanks for the fix, LGTM

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7880/
Test PASSed.

LGTM


bug on 0.15: --footer not working

$ npx mudslide@latest send me 'hello\nworld' --footer 'bye!'
on my 0.15 install only this appears on my WA:
hello
world

Hi @lightaffaire
The command npx mudslide@latest send me 'hello\nworld' --footer 'bye!' shows on my iOS app:

However, in the web app I see:

Could it be a limitation of the web app? Could you check how it looks on a mobile app?

I have upgraded to 0.16 and have noticed this:

from fedora 37 linux to WA web I get:

hello
world
but no --footer text (bye!)

checking the same user on my android pixel 7 pro WA app I see NOTHING... no text and no footer!

send me / send-file me --caption / send-image me --caption ALL WORK OK and are visible on WA android app

Sorry to hear it doesn't work for you.
npx mudslide@latest send me 'message text here' --footer 'this is footer text'

works for me.
I'm using the iOS app, I don't have access to an Android phone atm.

I just retried this on 0.17.1 and the issue is still there... no footer text is visible.

Hi @lightaffaire
On iOS I now only get a footer when including buttons, for example:
npx mudslide@latest send me 'message text here' -b yes -b no --footer 'this is footer text'

results in:

Previously I would also get a footer without buttons, but that no longer works.
I think this issue originates from the Baileys library (behavior changed when upgrading to the latest release of that library). Unfortunately, there's not much I can do about it.

I just retried this on 0.18.0 and the issue is still there... no footer text is visible.


ACPI errors | Probook 6470b

Hi, recently i wanted to install Monterey on my second disk. I faced a lot of problems (most with unbootable usb, system wont boot after install or opencore wont recognize any device). How can i fix these errors (monterey instalator on startup). Sometimes it just stucks. (second image)

EFI on USB drive here

ACPI eeror is normal for installing macOS
This is gone after post install

If i complete the instalation i dont have bootable OS, either when opencore opens it doesnt shows any partition (only usb)

Read the guide correctly


Optimize jsonschema

https://www.peterbe.com/plog/jsonschema-validate-10x-faster-in-python
Has some interesting optimizations for jsonschema, lets apply them!

no one has touched this issue for too long. gonna close it


CAMEL-10118: Fix Zipkin Spring-boot configuration

The documentation of the zipkin component states that it must be activated using the @CamelZipkin annotation, so the spring.factories file should be removed, otherwise it will be configured even if the annotation is not present on the main class.
The annotation alone is sufficient.

Yeah but I think we need to support both kind adding the annotation, or setting camel.zipkin.enabled=true in the applicaiton.properties.
So the auto configuration need some logic to only run if either

annotation present
enable=true

Maybe this can be a solution.
Now the semantics is:
Annotation present -> enabled, can be disabled with camel.zipkin.enabled=false
Annotation absent -> disabled, can be enabled with camel.zipkin.enabled=true
So, now it is disabled by default, otherwise the annotation is meaningless.

Yeah this is good.
Though I wonder if spring boot allows to check if that property == true. I think I have seen some SpEL evaluation you can do. But not sure if you can do a OR so its Annotation present or that property == true in the same auto configuration class.
+@ConditionalOnProperty(value = "camel.zipkin.enabled")

Yeah, I tried that way. It seems there is no standard way to express the predicate "is annotation present", because annotations are just used to provide additional behaviour (eg. Import).
Going by reflection ... maybe not..

Ah okay, then it sounds better to do what you have done in this PR

Thanks for the PR it has been merged. Do you mind closing this?


No module named 'mvdream.pipeline_mvdream'

when i try to run test i get an error like this .
(D:\condaenv\LGM) D:\ai_model>python infer.py big --resume pretrained/model_fp16.safetensors --workspace workspace_test --test_path data_test
A matching Triton is not available, some optimizations will not be enabled
Traceback (most recent call last):
File "D:\condaenv\LGM\Lib\site-packages\xformers_init_.py", line 55, in _is_triton_available
from xformers.triton.softmax import softmax as triton_softmax  # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\condaenv\LGM\Lib\site-packages\xformers\triton\softmax.py", line 11, in
import triton
ModuleNotFoundError: No module named 'triton'
D:\ai_model\core\attention.py:22: UserWarning: xFormers is available (Attention)
warnings.warn("xFormers is available (Attention)")
Traceback (most recent call last):
File "D:\ai_model\infer.py", line 21, in
from mvdream.pipeline_mvdream import MVDreamPipeline
ModuleNotFoundError: No module named 'mvdream.pipeline_mvdream'
i am running on windows 10.
thanks

@krizalid38 Hi, it seems the xformers installation is failed, could you try to re-install it and check the logs?

Hi, if you install xformers by pip install -U xformers --index-url https://download.pytorch.org/whl/cu118
it'll install xformers for torch2.2.0+cu118,so you may need to update your torch to this version.


how to generate table of contents

I need to convert some html to pdf , this package work, but I don't find the api to generate table of contents.anyone can give me help ?

Sorry, I ddin't find a solution to do that yet.

Is this a planned feature?


.NET Framework Compatibility

The library description says: "It is compatible with mostly any supported .NET Framework version and CPU architecture."
Installing from NuGet manager I get the error:
"Could not install package 'MQTTnet.Extensions.ManagedClient <IP_ADDRESS>'. You are trying to install this package in a project that has '.NETFramework,Version=v4.0' as its target, but the package does not contain assembly references or content files compatible with that framework. For more information, contact the package author."
I am compiling to .net framework 4.0 because there are Windows XP 32-bit machines as target.
Gravedad	Código	Descripción	Proyecto	Archivo	Línea	Estado suprimido
Error		No se pudo instalar el paquete 'MQTTnet.Extensions.ManagedClient <IP_ADDRESS>'. Está intentando instalar este paquete en un proyecto que tiene '.NETFramework,Version=v4.0' como destino, pero el paquete no contiene referencias de ensamblado o archivos de contenido compatibles con dicho marco. Para obtener más información, póngase en contacto con el autor del paquete.
I want to use only mqtt client.

Well, it says supported .NET version. .NET Framework 4.0 has been out of support for 6 years now. The earliest still supported version of .NET Framework is 4.6.2. See https://learn.microsoft.com/en-us/lifecycle/products/microsoft-net-framework
Windows XP has also been out of support for a long time. There is probably not much that you can do.

It should be compatible with netstandard1.3 though (Check the library project files)...

@luistope @Jeanot-Zubler is partially right. We support .NET 4.5.2+ (even if 4.5.2 is no longer supported). The only framework which is older and not supported is 3.5 (which is supported until 2029).

It should be compatible with netstandard1.3 though (Check the library project files)...

@SeppPenner Also no luck, as .NET Framework 4.0 did not support .NET Standard.


The Deployment does not have an associated Jira issue key goes in error

We have encountered a persistent error while running Add-JiraDeploymentInformation.ps1.
When executing the integration without an associated issue key in Jira, an error occurs. The error message received is as follows:
Invoke-RestMethod: /agent/_work/23/s/EP.PowerShell.JiraDeployInfo/Public/Add-JiraDeploymentInformation.ps1:181
Line |
181 | … $response = Invoke-RestMethod -uri "https://api.atlassian.com/jira/de …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| [{"message":"Associations must provide at least one value."}]
It appears that the issue stems from the Jira API, which no longer accepts association properties without a value.

If you are using update-jira.yml it has continueOnError set so this should only generate a warning in your build steps.


When I searched inside a folder using a regular expression, some files that should match that expression were not displayed in the search results.

Issue Type: Bug
History of discovery
When I scanned the entire folder containing a large number of files using regular expressions, the number of files displayed in the search results was clearly smaller than expected.
Execution procedure
Search the entire folder using the regular expression (?<!\w)foo
Expected result
All files containing the sentence " foo" appear in the search results (enclosed in double quotes to emphasize the inclusion of spaces)
Actual result
Some of the files containing the sentence " foo" did not appear in the search results, but others did.
Some verification

Confirmed that the sentence " foo" can be matched when searching with the regular expression (?<! \w)foo in each file.
When I changed the regular expression to (?<!a)foo, a search in the folder matched all files containing the sentence " foo".
When I searched the entire folder again with a file that was not displayed in the search results opened in the editor, the opened file was displayed in the search results.
Confirmed that the problem can be reproduced even if the file is reduced to only two representatives that are displayed and not displayed in the search results while keeping the folder structure as it is
Make sure the reproducibility of the problem does not depend on the folder structure
Make sure the reproducibility of the problem is file name independent
Confirm that if you delete the contents of the file to only "foo", it will be displayed in the search results.

VS Code version: Code 1.59.1 (3866c3553be8b268c8a7f8c0482c0c0177aa8bfa, 2021-08-19T11:56:46.957Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz (8 x 3600)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.92GB (3.27GB free)

Process Argv
--crash-reporter-id 2c8ce268-0703-4181-94f1-688c30fd28d8

Screen Reader
no

VM
0%

Extensions (20)

Extension
Author (truncated)
Version

All-Autocomplete
Ati
0.0.23

vscode-eslint
dba
2.1.23

githistory
don
0.6.18

gitlens
eam
11.6.0

EditorConfig
Edi
0.16.4

prettier-vscode
esb
8.1.0

gc-excelviewer
Gra
3.0.43

code-eol
jef
1.0.11

webpack
jer
2.2.0

rainbow-csv
mec
1.9.1

vscode-language-pack-ja
MS-
1.59.3

csharp
ms-
1.23.15

remote-wsl
ms-
0.58.2

powershell
ms-
2021.8.2

debugger-for-chrome
msj
4.12.12

color-highlight
nau
2.4.0

tsserver-live-reload
rbu
1.0.1

erabasic
sas
0.4.0

vscode-scss-formatter
sib
2.2.3

vscodeintellicode
Vis
1.2.14

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
pythonvsuse255:30340121
vscod805cf:30301675
pythonvspyt200:30340761
vscextlangct:30333562
binariesv615:30325510
pythonvssor306:30344512
bridge0708:30335490
pygetstartedc2:30360494
bridge0723:30353136
vsdyn420:30356812
vscus224:30358039

After some verification after translating the description, it was presumed that the cause of this problem was the file contents, so maybe this is not a VS Code bug but a search engine bug in the first place?

[2021-09-02 15:26:12.268] [renderer6] [debug] SearchService#search .\bar.txt: PCRE2: error matching: UTF-8 error: 1 byte missing at end

I found.

As a result of calmly reading the log and thinking carefully, I understood that the cause of this error is not at least VS Code but upstream ripgrep or further upstream.
For the time being, I decided to repost the bug report to ripgrep and this issue will be closed.


fetching data from stats summay endpoint failed

Description
fetching cards data failed due cors error

Network: Dev

Steps to reproduce
go to https://staging.dashboard.dev.grid.tf/#/ , and check the console
Logs/Alerts
/#/:1 Access to fetch at 'https://stats.dev.grid.tf/api/stats-summary' from origin 'https://staging.dashboard.dev.grid.tf' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values '*, *', but only one is allowed. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

@hossnys can you help with this issue ?

this happened after @coesensbert already added this header to our caddyfile
header /api/stats-summary Access-Control-Allow-Origin "*"

so please @0oM4R revert that change from your nginx config so we let it handled only from our side on caddy .

ok, so no need to revert it from nginx config as we'll need it in place in case we deployed it on K8s cluster , so we will remove that header from Caddyfile to avoid that duplicate , it's fixed now on both https://stats.dev.grid.tf and https://stats.02.dev.grid.tf
removed here

Verified, Devnet edc4bf8.
The errors aren't shown anymore.


GPU Convolution for INT8 is slower than FP16

Based on an ARM-NN issue filed . @TeresaARM requested that I file a separate issue with the ARM Compute library.
Output of 'strings libarm_compute.so | grep arm_compute_version':
arm_compute_version=v22.11 Build options: {'arch': 'arm64-v8a', 'build_dir': 'release/arm64-v8a', 'debug': '0', 'os': 'android', 'build': 'cross_compile', 'extra_cxx_flags': '-fPIE -fPIC -g0', 'toolchain_prefix': '/opt/homebrew/share/android-commandlinetools/ndk/25.1.8937393/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-', 'compiler_prefix': '/opt/homebrew/share/android-commandlinetools/ndk/25.1.8937393/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android24-', 'neon': '1', 'opencl': '1', 'embed_kernels': '1', 'examples': '0', 'gemm_tuner': '0', 'benchmark_tests': '0', 'validation_tests': '0'} Git hash=b'1b3192e8a23513031163dc14d248f47671986121'

Platform: Samsung A33, Mali GPU G68
Operating System: Android 12
Problem description:
I've tried running a really simple convolution (attached 2 models, one in FP32 and one in INT8). Here is what I see on an Samsung A33, Mali GPU G68. I see a good boost with INT8 on CPU but not GPU. Is this expected?

CPU (INT8): 2.5ms
CPU (FP32): 6.3ms
GPU (INT8): 7.2ms
GPU (FP32): 8.4ms

models.zip

Hi @srikris-sridhar

GPU Convolution for INT8 is slower than FP16

Just please clarify if you meant FP32 instead of FP16.
Do you mean int8 model being slower than fp32 in GpuAcc running on Mali GPU G68?

I meant FP16, not FP32. Sorry for the typo in the numbers.

Hi @srikris-sridhar
I can confirm that I reproduced the problem on Mali-G57, see below:
LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./ExecuteNetwork -c GpuAcc -m ./simple_conv_int8.tflite   --iterations 12 | grep Inference
Info: Inference time: 41.74 ms
Info: Inference time: 30.60 ms
Info: Inference time: 31.26 ms
Info: Inference time: 30.85 ms
Info: Inference time: 29.64 ms
Info: Inference time: 30.25 ms
Info: Inference time: 30.24 ms
Info: Inference time: 30.35 ms
Info: Inference time: 30.75 ms
Info: Inference time: 31.25 ms
Info: Inference time: 30.72 ms
Info: Inference time: 30.00 ms

LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./ExecuteNetwork -c GpuAcc -m ./simple_conv_fp32.tflite  --iterations 12 | grep Inference
Info: Inference time: 36.13 ms
Info: Inference time: 23.24 ms
Info: Inference time: 23.34 ms
Info: Inference time: 22.88 ms
Info: Inference time: 22.97 ms
Info: Inference time: 22.80 ms
Info: Inference time: 23.23 ms
Info: Inference time: 23.43 ms
Info: Inference time: 20.62 ms
Info: Inference time: 23.17 ms
Info: Inference time: 19.25 ms
Info: Inference time: 23.19 ms

Discussing this with the team it looks like there is some work to be done in the GEMM heuristics to choose the right block size.
Hope this helps.

Awesome. Thanks! Looking forward to seeing what can be done here. This seems consistent across many models.

Thanks for reporting this, we added the request to our backlog.
Closing the issue as we are already tracking it internally.


HTTPException: 405

I met the following error:
PS F:\midjourney\MidJourney-Wrapper> python .\main.py
Ignoring exception in on_connect
Traceback (most recent call last):
  File "C:\Users\yifan\miniconda3\envs\midjourney\lib\site-packages\discord\client.py", line 352, in _run_event
    await coro(*args, **kwargs)
  File "C:\Users\yifan\miniconda3\envs\midjourney\lib\site-packages\discord\bot.py", line 793, in on_connect
    await self.register_commands()
  File "C:\Users\yifan\miniconda3\envs\midjourney\lib\site-packages\discord\bot.py", line 460, in register_commands
    await self.http.bulk_upsert_command_permissions(
  File "C:\Users\yifan\miniconda3\envs\midjourney\lib\site-packages\discord\http.py", line 338, in request
    raise HTTPException(response, data)
discord.errors.HTTPException: 405 Method Not Allowed (error code: 0): 405: Method Not Allowed
Logged in as BoilSheepSheep#7113

I tried to ignore it and write prompt in my channel, but I saw:
Ignoring exception in command <discord.commands.SlashCommand name=mj_imagine>:
Traceback (most recent call last):
  File "C:\Users\yifan\miniconda3\envs\midjourney\lib\site-packages\discord\commands\core.py", line 110, in wrapped
    ret = await coro(arg)
  File "C:\Users\yifan\miniconda3\envs\midjourney\lib\site-packages\discord\commands\core.py", line 766, in _invoke
    await self.callback(ctx, **kwargs)
  File "F:\midjourney\MidJourney-Wrapper\main.py", line 27, in mj_imagine
    print(response.txt)
AttributeError: 'Response' object has no attribute 'txt'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Users\yifan\miniconda3\envs\midjourney\lib\site-packages\discord\bot.py", line 520, in process_application_commands
    await ctx.command.invoke(ctx)
  File "C:\Users\yifan\miniconda3\envs\midjourney\lib\site-packages\discord\commands\core.py", line 306, in invoke
    await injected(ctx)
  File "C:\Users\yifan\miniconda3\envs\midjourney\lib\site-packages\discord\commands\core.py", line 116, in wrapped
    raise ApplicationCommandInvokeError(exc) from exc
discord.commands.errors.ApplicationCommandInvokeError: Application Command raised an exception: AttributeError: 'Response' object has no attribute 'txt'

The in my channel, the problem is looked like this:

You should try asking GPT first.
My observation is wrong, your robot seems to have failed to log in successfully. If you haven't modified the code, it should be that your robot's token is wrongly written

It's response.text instead of response.txt
And for the ignored errors at the beginning, they aren't big deal, I don't know why it occurs on linux. Try updating pycord, it was discussion in #29 at the end.

Ah sorry, I just noticed that there was a typo in main.py it is fixed in the commit e4553fb. Now you would have the exact error message showing correctly in the console.

I have the same issue, i tried updating to response.text but still shows discord.errors.HTTPException: 405 Method Not Allowed (error code: 0): 405: Method Not Allowed

@jonadshead just ignore that I does not stop the bot

@jonadshead , @yifanHuang129
You must invite MidJourney Bot join the same server with your Navigator Bot!!

Me too, but it's no big deal. can still be used.


add nearly-instrumented Imagemagick Dockerfile

I am not sure if there is somehow a linker error being obscured - I've debugged about five in this attempt to get Imagemagick instrumented - but the last commented out instrumentation command returns non-zero exit status and I am not sure why or what to check next

Figured out a way to do this and am doing it as part of kaoudis/eval.


UX Issue

It's not quite a problem, there are 2 different colors of green used for "successful" get/send jobs? I feel that has to be an error.

Keen eye!  Should be resolved in v7.1.1.


Add configuration option for disabling Groups Manager

Hi, thanks for this useful plugin :-)
I wanted to add a feature to remove groups from Grav Admin menu. I do not use this feature on all of my projects, this may be interesting for other people who want the cleanest admin possible.
Added this condition into admin-addon-user-manager.php line 60
if ($this->getPluginConfigValue('enable_groups', 1))
    	$this->managers[] = new GroupsManager($this->grav, $this);

Also the option at the bottom of blueprints.yaml :
    enable_groups:
      type: toggle
      label: "Enable groups"
      default: 1
      highlight: 1
      options:
        1: PLUGIN_ADMIN.ENABLED
        0: PLUGIN_ADMIN.DISABLED

We just miss the label translation in all languages. Tell me if I can do a PR. Thanks !

Hi @zouloux ! Are you still interested in opening a PR for this?

Hi @zouloux ! Are you still interested in opening a PR for this?

Grav v1.7.0 has a built-in interface for managing users and groups. 🎉 I'm discontinuing the plugin. Thanks for using my plugin for the time being! 🙇

Thanks for you plugin man, it helped a lot <3


Fix curves

Fix curves usage:

Revert previous commit on buffer lengths checks because it impacts other curves
Add secp256k1 in the menus
Update snapshots accordingly

Checklist

[X] App update process has been followed
[X] Target branch is develop
[X] Application version has been bumped

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 27.01%. Comparing base (cd08b73) to head (dc6b525).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #102   +/-   ##
========================================
  Coverage    27.01%   27.01%
========================================
  Files            1        1
  Lines          211      211
========================================
  Hits            57       57
  Misses         154      154

Flag
Coverage Δ

unittests
27.01% <ø> (ø)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


PDF Documents

Hi
i'm trying to use your plugin to receive PDF documents from other iPad apps but not having any success. This is the command i use to enable the plugin:
cordova plugin add cc.fovea.cordova.openwith --variable IOS_URL_SCHEME=keyzoopenwith --variable IOS_UNIFORM_TYPE_IDENTIFIER=com.adobe.pdf
The cordova app compiles ok and runs on my iPad however, the app does not show up in the "Copy to" form of any other apps that handle PDF document.
If i reconfigure the plugin to look for public.image, the same as the example you provide, then all works ok.
Am i missing a configuration step somewhere or is this a bug?
thanks

Hi, same issue. @sc-keyzo did you made any progress?

@perelin @sc-keyzo
I made this changes to ShareExtension-Info.plist to solve this issue
...
NSExtension

NSExtensionAttributes

NSExtensionActivationRule

SUBQUERY (
extensionItems,
$extensionItem,
SUBQUERY (
$extensionItem.attachments,
$attachment,
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.adobe.pdf" OR
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.file-url" OR
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.url" OR
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.image"
).@count == $extensionItem.attachments.@count
).@count == 1
...
And use public.data as uti

@axel012 Thanks for posting this, i will try it out and let you know how i get on

I'm getting error: unable to read property list from file: /Users//cordova/platforms/ios/ShareExtension/ShareExtension-Info.plist: The operation couldn’t be completed. (XCBUtil.PropertyListConversionError error 1.) (in target 'ShareExt' from project '') from xcode then. What can I do?

Hi, it's potentially just a typo, here's my working plist
`

CFBundleDevelopmentRegion
en
CFBundleDisplayName
OpenWithItThree
CFBundleExecutable
$(EXECUTABLE_NAME)
CFBundleIdentifier
$(PRODUCT_BUNDLE_IDENTIFIER).shareextension
CFBundleInfoDictionaryVersion
6.0
CFBundleName
$(PRODUCT_NAME)
CFBundlePackageType
XPC!
CFBundleShortVersionString
1.0.0
CFBundleVersion
1.0.0
NSExtension

NSExtensionAttributes

NSExtensionActivationRule

                            SUBQUERY (
                                extensionItems,
                                $extensionItem,
                                    SUBQUERY (
                                        $extensionItem.attachments,
                                        $attachment,
                                        ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.adobe.pdf"
                                    ).@count == $extensionItem.attachments.@count
                            ).@count == 1

NSExtensionMainStoryboard
MainInterface
NSExtensionPointIdentifier
com.apple.share-services

`

Thanks, app is build again. But unfortunately I'm still not able to import a document inside my app. It's just not shown as possibility in share menu.
Here's my ShareExtension-Info.plist:
`

CFBundleDevelopmentRegion
en
CFBundleDisplayName
MyApp
CFBundleExecutable
$(EXECUTABLE_NAME)
CFBundleIdentifier
$(PRODUCT_BUNDLE_IDENTIFIER).shareextension
CFBundleInfoDictionaryVersion
6.0
CFBundleName
$(PRODUCT_NAME)
CFBundlePackageType
XPC!
CFBundleShortVersionString
4.4.9
CFBundleVersion
4.4.9
NSExtension

NSExtensionAttributes

NSExtensionActivationRule

                                SUBQUERY (
                                    extensionItems,
                                    $extensionItem,
                                        SUBQUERY (
                                            $extensionItem.attachments,
                                            $attachment,
                                            ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.adobe.pdf" OR
                                            ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.file-url" OR
                                            ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.url" OR
                                            ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.image"
                                        ).@count == $extensionItem.attachments.@count
                                ).@count == 1

NSExtensionMainStoryboard
MainInterface
NSExtensionPointIdentifier
com.apple.share-services

`
Do you have any ideas if there is something wrong? Do I forgot to configure something else?

maybe help https://github.com/sanek-mizin/cordova-plugin-openwith


How add .vimrc or sysinit.vim config for oni?

Hi @DemonCloud ,
Did you set the oni.loadInitVim to configuration value to true?
Check out the this question on the FAQ:  Why isn't my init.vim loaded? for some more info.
I'll close this for now, but feel free to re-open if that doesn't answer your question.


Example code fails at anvil.verify(JWK..)

Setting this to for example the access_token gives [TypeError: Cannot read property 'indexOf' of undefined] in a .catch error message.

I'm not quite understanding the problem statement here (not enough info in the description, to reproduce). I propose we close this issue (@ikb42 - feel free to reopen, if this is still relevant).

The example code was failing when I was setting an unexpected value for the token, looking at the example now I'm not sure what exactly I meant / if this has changed over the time.  Will close.