Prevent a panic if the channel used by Body is terminated

I don't know if this is the right way, but I got a panic during Drop, and this makes it werk.

Thanks for the PR! What was the panic, and why did it happen during Drop? I'd like to better understand, since without knowing, this looks like potentially an extra method check on every iteration.

This is the stack trace I got (I also posted this on the Discord, I'm also there if you wanna ping me), it was happening after everything was done in the code, so during the Dropping of stuff.
At fault might also be rusoto_s3, but I'm not sure if it's rusoto_s3 using the Body wrong, or if it's the Body that is doing something wrong.
Definitely a weird edge case.

Interesting stack trace... It seems the panic is from polling for another chunk after a previous poll already returned Poll::Ready(None). The code in Body doesn't poll it extra times, so it seems that at some level above, something is polling the body after it "finished". I'd lean towards the bug being up there, and not something to fix in hyper itself.

Suspected so, I will look into fixing it from the rusoto side, will link the PR/issue here once it's up.

For now, I'm going to close this. Curious how it ends, though!


TextField - allow to customize cursor color in error state

The color of the TextField's cursor in error state is the same as the error text color by default. However we should be allowed to customize it
Fixes #135580
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Hi @lirantzairi, thank you for the contribution!
I think a better place to put cursorErrorColor might be in InputDecoration and InputDecorationTheme since this is where errorStyle lives and this allows someone to define top level themes in MaterialApp for all their TextFields. What do you think? I do know cursorColor belongs to TextField and DefaultSelectionStyle but i'm leaning towards including this new property on InputDecoration.
/cc @LongCatIsLooong for any thoughts.

@Renzo-Olivares I was thinking about it, I chose to put it in TextField because the concept of a cursor belongs to TextFields and not to other widgets that use InputDecoration.  For example a developer that adds a DropdownButton with InputDecoration might be confused if he sees the option to set a cursor color. It's the same reason why the icon of the dropdown button is managed in the dropdown class and not in the decoration.
Moreover, I would prefer not to connect between cursorErrorColor and errorStyle because I believe that connection was wrong in the first place due to misunderstanding of Material design guidelines.
Lastly, I feel (and this is a wild guess) that this variable is likely to be used by people who set cursorColor, so putting them next to each other is more intuitive.

@lirantzairi I see your point! Thanks for the clear explanation. This PR looks good, my main argument for putting it in InputDecoration or DefaultSelectionStyle is that it would allow the user to override the cursorErrorColor for an entire widget subtree rather than a single TextField. I'm not completely sold on placing it in either (though leaning towards DefaultSelectionStyle), so I think we can hold off on that for now.

@Renzo-Olivares I fixed the code format according to your comment and rebased on master so that all tests pass now. Thank you for the review :)

Hi, can I ask you when this PR will be in stable Flutter? Or in general, how can I tell? Thanks a lot!

Thank you for this PR, I lost almost an hour looking into this issue until I figured it out. Awesome work! 🦾

Thanks @MilanVilov :)

this works on flutter 3.16.6?

this works on flutter 3.16.6?

Not on 3.16, this fix was included in 3.19.0.


Fix botman url

Last merge cause a build failed
Links
  1. [L775] 301 https://github.com/mpociot/botman  → https://github.com/botman/botman

@Jibbarth, can you please, tell me what is the problem and how to fix this?
I'm trying for months, either if someone's pull request is merged and I immediately make a fork and add my package Travis-CI check fails.

@e200 Regarding travis log, the awesome_bot command check all url in the README.md, and assert there is no redirection or broken link.
In https://github.com/ziadoz/awesome-php/pull/787 the link for botman added is no longer at this url.
When you make your PR, travis analyze the result of merge, so it throw error because one link is not ok, while it's not your modification...
If this PR is merged, you should just had to rebase your branch from this repo, and travis should be green.

Thanks.


The profile picture frame constantly shows a notification.

🧐 Have you read the FAQ and viewed similar issues?

[X] I have read the FAQ
[X] I have checked older issues, open and closed
[X] I did a clean install of SpotX as described in the FAQ

Сountry of your account
USA
What is your Spotify Plan?
Free
Do you have Spicetify installed?
No
ℹ Computer information
- Spotify: <IP_ADDRESS>0.g242057a2
- Windows: Windows 10 Enterprise LTSC 2021 21H2 19044.4651
- PowerShell: PowerShell 7 7.4.4 (Administrator)

📝 Description

The profile picture frame always shows a blue notification dot, but when I click on it, there are no notifications (I have subscribed to many podcasts).

📸 Screenshots

Usually, this notification disappears after opening the notification center and reloading the client (Ctrl+Shift+R)
but you have 0 notifications. If it doesn't work, give me your profile, and I'll send you a notification so you can try again.

Usually, this notification disappears after opening the notification center and reloading the client (Ctrl+Shift+R)
but you have 0 notifications. If it doesn't work, give me your profile, and I'll send you a notification so you can try again.

I also got this issue, I did a clean install but still got the issue. My friend gave me a notification, and I try open it and reloading but the problem persists
Sorry for the inconvenience

I have the same issue too. Could you send me a notification as well @amd64fox or tell me how to do it myself

Could you send me a notification as well

link ?

https://open.spotify.com/user/31yryiyophsah5tklv46vusatike?si=59d95d3992d54aad

sent

how do I open the notification console? When I click on the notification, it takes me to your profile.

you just need to open the notification center as in the screenshot above, then restart the client

Even after reloading, the notification is not getting cleared and the blue dot is still there. I even tried logging out and back in.

idk for me it works, you can do a clean install or disable that exp


Add values.yaml file for easy integration with external DB

What is missing?
We need to have a ready to use values.yaml file for cases where TimescaleDB is not provisioned with tobs.
Why do we need it?
For easier integration with Timescale Cloud.
Anything else we need to know?:

related to #331


Use of other Git services.

It looks like it would be simple enough to abstract away the online git repo service and make Github one of N possible providers.
I'd like the option of using Gitlab and others, in particular using the git web view or other self hosted options.
I may have time to look at doing this myself.

Adding some context and instructions for new contributors:

Any data sources to be index must implement the DataManager class, which exposes the ability to (a) download the dataset, and (b) iterate over it.
Currently, we have two GitHub-specific data managers: one for repositories (GitHubRepoManager) and one for issues (GitHubIssuesManager).
Adding support for GitLab would require implementing the DataManager class. GitLab has a convenient Python SDK, which should help with cloning / management of private keys.
Once a GitLabManager class is implemented, we might need an extra command-line flag to specify whether the desired repo should be cloned from GitHub or GitLab, something like --repo-provider.
We should also generalize the GITHUB_TOKEN environment variable into CODEBASE_TOKEN so that it can be reused for both providers.

@iuliaturc Thank you for these details.  I'm using a Gitea host internally, so I'll look at that as another provider variant too.

hey @jasonm23 just wanted to get a sense if you wanted to take this task? if you're too busy, no worries. happy to take over, i just don't want to step on your toes if you're mid-implementation! :)

Feel free, I didn't get to it yet. I'd be happy if you take it.

Actually I'll leave this on the market for a bit during Hacktoberfest while Mihail is on a break.

@iuliaturc @mihail911 I'll post here if I make a start on it.

@iuliaturc @mihail911 I have opened a new PR in WIP Status for this issue. I have added the tests but 1 test is remaining to be added and also GitLabIssueManager is not done.

Thanks @agokrani! Assigned the issue to you.


Update Composer dependencies (2024-01-03-00-15)

Visual regression test passed!
View the visual regression test report


Add example router configuration file for 'peer' topologies

Hi, I am attempting to use the Zenoh RMW as I was used to with DDS, that is, being a distributed service. So far, I have not been lucky with that, although the "router/client" topology works like a charm :). Please, could you provide an example of a JSON5 configuration file that enables ROS 2 nodes to communicate in the "peer to peer" (distributed/non-centralized) mode?
I am using Ubuntu 24.04 LTS with ROS 2 Jazzy.
Thanks in advance!

The process is doable, one one of the hosts (e.g. your laptop), you need to copy this file: https://github.com/ros2/rmw_zenoh/blob/rolling/rmw_zenoh_cpp/config/DEFAULT_RMW_ZENOH_ROUTER_CONFIG.json5 for example to ~/my_router_config.json5. Open it and modify the endpoints key according to these instructions: https://github.com/ros2/rmw_zenoh?tab=readme-ov-file#connecting-multiple-hosts.
After that, you point to the file and run the router:
export ZENOH_SESSION_CONFIG_URI=~/my_router_config.json5
ros2 run rmw_zenoh_cpp rmw_zenohd

Now in another terminal you should be able to see the nodes.

It would really be nice if the router had a nice argument such that one could do only this:
ros2 run rmw_zenoh_cpp rmw_zenohd --listen tcp/my-robot.local:7447  # This does not work now!

So perhaps that idea can be entertained rather than writing instructions :slightly_smiling_face:

Thank you for your reply @Timple! However, I need to be a bit more specific.
This approach does not suit very well in case the addresses are changing frequently, so I was considering employing the UDP multicast scouting. I think this will avoid me from needing to specify the endpoints and still it will use a de-centralized topology, is it true?
At my current setup, I can freely use Wireshark as ROS 2 is running on LXC containers.
Cheers!

To have nodes discover each other over multicast discovery, you will need to

enable multicast scouting here
Set envar ZENOH_ROUTER_CHECK_ATTEMPTS to -1 as described here https://github.com/ros2/rmw_zenoh/tree/rolling#checking-for-a-zenoh-router

This should work for nodes on the same host. I've not tried it for nodes across different hosts but I imagine it would work the same. You can find better documentation of various topologies in upstream Zenoh.
We don't plan to add such a config file to the repo here since the goal of rmw_zenoh is to provide a good out-of-the-box experience with a single default config file. However, advanced users are free to specify custom configs. Hence, I will close this ticket.
Feel free to ask more questions like this on https://robotics.stackexchange.com/


Fails in HPWHsim plot.py

Seem to be some changes in syntax causing plot.py to fail.
: Traceback (most recent call last):
785:   File "/Users/phil-ahrenkiel/Documents/GitHub/HPWHsim/scripts/python/plot.py", line 268, in
785:     plot(measured_path, simulated_path, plot_path)
785:   File "/Users/phil-ahrenkiel/Documents/GitHub/HPWHsim/scripts/python/plot.py", line 241, in plot
785:     plot = dimes.TimeSeriesPlot(
785:            ^^^^^^^^^^^^^^^^^^^^^
785:   File "/Users/phil-ahrenkiel/Library/Caches/pypoetry/virtualenvs/hpwhsim-python-scripts-9LaPCKWl-py3.11/lib/python3.11/site-packages/dimes/timeseries.py", line 19, in init
785:     self.time_values = self.x_axis.data_values
785:                        ^^^^^^^^^^^^^^^^^^^^^^^
785:   File "/Users/phil-ahrenkiel/Library/Caches/pypoetry/virtualenvs/hpwhsim-python-scripts-9LaPCKWl-py3.11/lib/python3.11/site-packages/pandas/core/generic.py", line 5989, in getattr
785:     return object.getattribute(self, name)
785:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Can you point to a commit or branch where this is failing so I can reproduce it on my machine?

The Plot.villara test passes using this sha. But it fails after calling poetry dimes update in scripts/python.

I'm not able to reproduce this. When I run poetry update I get 0.0.0 b9aacbf. What version of dimes are you getting?


POD-Friends Service

A service must be created to encapsulate the POD handling for friends, so it can be used from the controllers afterwards.

Discarded, since we're ditching Angular


Vite migration react state demo counter

Getting super pick. Please change the favicon of vite to the person in the computer please. :)

Actually @mgczarnievicz it is already like that....


[NOT for review] testing travis testing

test test

Closing test pull requests to just clean up our CR list


Keybinding Issue

Hello PKief,
On Windows 11 I have a strange issue where the CTRL + Shift + c keybinding works fine, but the CTRL + Shift + Enter keybinding does not work.
I'm new to VS Code / VS Codium so it might be user error.  I do not have any custom keybindings and the only change I have made to VS Codium is the theme.
I also tried to rename my C:\Users<username>\AppData\Roaming\VSCodium directory to .old as well as my C:\Users<username>.vscode-oss to .old thinking a full reset of VS Codium may fix the issue.  However, I still have the same issue after reinstalling the extensions.
Any tips would be much appreciated.  Great extension BTW!
Thanks!
zons

Nevermind, turned out to be keybindings that were duplicating. Not sure why they remained after deleting the config.


ClusterQueue not considering next ResourceFlavor when whenCanPreempt: Preempt is set

What happened:
Setting whenCanPreempt: Preempt in a ClusterQueue with 2 resource flavors appears to stop the ClusterQueue from considering the 2nd resource flavor.
How to reproduce it (as minimally and precisely as possible):

Created a cluster queue with 2 resource flavors
Each resource flavor has quota for 2 cpus
Submitting 3 jobs that require 1 cpu each (via Job or plain Pod API) will result in 2 being admitted and 1 not

NOTE: ClusterQueue is configured as follows:
  preemption:
    reclaimWithinCohort: Any
    withinClusterQueue: LowerOrNewerEqualPriority
  flavorFungibility:
    whenCanBorrow: Borrow
    whenCanPreempt: Preempt

What you expected to happen:
All 3 jobs should be admitted (quota from resource flavor 2 should be used).
Anything else we need to know?:
Condition of non-admitted Workload:
status:
  conditions:
  - lastTransitionTime: "2023-11-17T22:37:24Z"
    message: 'couldn''t assign flavors to pod set main: borrowing limit for cpu in
      flavor flav-1 exceeded'
    reason: Pending
    status: "False"
    type: QuotaReserved

Environment:

Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.4", GitCommit:"fa3d7990104d7c1f16943a67f11b154b71f6a132", GitTreeState:"clean", BuildDate:"2023-07-19T12:20:54Z", GoVersion:"go1.20.6", Compiler:"gc", Platform:"darwin/amd64"}
Kustomize Version: v5.0.1
Server Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.3-gke.100", GitCommit:"6466b51b762a5c49ae3fb6c2c7233ffe1c96e48c", GitTreeState:"clean", BuildDate:"2023-06-23T09:27:28Z", GoVersion:"go1.20.5 X:boringcrypto", Compiler:"gc", Platform:"linux/amd64"}

Kueue version (use git describe --tags --dirty --always): Built from main (commit 4405e35b51bb153611e0a01f48884aa2c131055c - deployed with manifests from 0.5.0)
Cloud provider or hardware configuration:
OS (e.g: cat /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

I will plan on submitting a test case reproducing this issue if nobody has gotten to it at my next chance - might be Monday.

/assign

cc @KunWuLuan if you have any ideas.

I will try to reproduce the case today.

There is some problem in cq.AllocatableResourceGeneration and wl.LastAssignment.ClusterQueueGeneration. I am working on it. cc @alculquicondor

It seem that cluster queue is updated and cq.AllocatableResourceGeneration is added after the third job is scheduled. After I add a check about RGs, the problem is solved.


Added groups to the user model / service

This PR adds usergroups to the usermodel. This way we can retrieve the assigned groups directly from the user instead of using the removed findGroupsOfUser function in the usergroup service

So users have groups and groups have users. Will they end up looking at one table? Or will the information be stored in different locations (which wouldn't be good, obviously).
Otherwise this looks fine.

They share a table by giving the jointable the same name. See comments above.
joinColumns and invertJoinColumns have to be the opposite in the two classes.

Very nice.

LGTM. Feel free to merge


Adding SVA

Hi,
it would be great to add SVA:
| SVA | Multiple | DE Remote | Job posting | Link! |?|
Thank you!

done


JavaScript heap out of memory

1.Your development environment（weex、weex-toolkit、system and more).

"vue": "^2.5.3",
"vue-loader": "^12.2.2",
"vue-template-compiler": "^2.5.3",
"webpack": "^2.7.0",
"weex-loader": "^0.6.0",
"weex-vue-loader": "^0.5.0",
"weex-vue-precompiler": "^0.1.17",
"weex-vue-render": "^1.0.17"
mac OS 10.13.4
Chrome 65.0.3325.181（正式版本） （64 位）

2.What i'm doing

I'm running weex-ui repo using npm and editing files in it to learn codes, not integrating it as a dependency.

2.Expected behavior and actual behavior.

Expected behavior: debug normally
Actual behavior: JavaScript heap out of memory

3.Steps to reproduce the problem.

yarn
npm start
edit and save multiple times

4. Error infos
<--- Last few GCs --->

[35038:0x104002400]   765823 ms: Mark-sweep 1106.0 (1603.9) -> 1105.9 (1605.9) MB, 1873.6 / 0.0 ms  allocation failure GC in old space requested
[35038:0x104002400]   767068 ms: Mark-sweep 1105.9 (1605.9) -> 1105.8 (1526.4) MB, 1244.1 / 0.0 ms  last resort GC in old space requested
[35038:0x104002400]   768237 ms: Mark-sweep 1105.8 (1526.4) -> 1105.8 (1496.9) MB, 1168.9 / 0.0 ms  last resort GC in old space requested

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x36732bda5529 <JSObject>
    1: fromString(aka fromString) [buffer.js:336] [bytecode=0x367300aeed01 offset=161](this=0x36737a8822d1 <undefined>,string=0x3673033d7f89 <Very long string[757229]>,encoding=0x36732bdb63e1 <String[4]: utf8>)
    2: from [buffer.js:189] [bytecode=0x367300aee7e1 offset=14](this=0x3673aee3d529 <JSFunction Buffer (sfi = 0x3673d7e837e1)>,value=0x3673033d7f89 <Very long string[757229]>,encodingOrOf...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [/usr/local/bin/node]
 2: node::OnFatalError(char const*, char const*) [/usr/local/bin/node]
 3: v8::Utils::ReportOOMFailure(char const*, bool) [/usr/local/bin/node]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/usr/local/bin/node]
 5: v8::internal::Factory::NewRawTwoByteString(int, v8::internal::PretenureFlag) [/usr/local/bin/node]
 6: v8::internal::String::SlowFlatten(v8::internal::Handle<v8::internal::ConsString>, v8::internal::PretenureFlag) [/usr/local/bin/node]
 7: v8::String::WriteUtf8(char*, int, int*, int) const [/usr/local/bin/node]
 8: node::StringBytes::Write(v8::Isolate*, char*, unsigned long, v8::Local<v8::Value>, node::encoding, int*) [/usr/local/bin/node]
 9: node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding) [/usr/local/bin/node]
10: node::Buffer::(anonymous namespace)::CreateFromString(v8::FunctionCallbackInfo<v8::Value> const&) [/usr/local/bin/node]
11: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))[/usr/local/bin/node]
12: v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, v8::internal::BuiltinArguments) [/usr/local/bin/node]
13: v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) [/usr/local/bin/node]
14: 0x33d3436042fd
15: 0x33d3436bd196

Thank you for your feedback. This is a known problem.
Because the number of packages is too large, webpack packaging is slow.
You can modify the following webpack.config.js as follows：
const foundScripts = glob.sync(`${dir}/yourEntry/index.js`, {});

Like:
const getEntry = dir => {
  // 生成 entry 映射表
const foundScripts = glob.sync(`${dir}/cell/index.js`, {});
  // 生成 entry 映射表
  const ret = {};
  foundScripts.forEach(function(scriptPath) {
    if (!/\.entry\.js$/.test(scriptPath)) {
      ret[scriptPath.replace(/^(.*)\.js$/, '$1')] = './' + scriptPath;
    }
  });
  return ret;
};


The new title bar has a problem on maximize the window

VSCode Version: 1.25.0
OS Version: Windows 10 1803

Steps to Reproduce:

Set "window.titleBarStyle": "custom"
Press maximize button to make the window full screen (Image 1)
Press again the maximize button to make the window smaller
Press once again the maximize button to make the window full screen (Image 2). Now the title bar has a blue border on top and an extra space.

Does this issue occur when all extensions are disabled?: Yes
Image 1:

Image 2:

Yes this problem exist on windows 10. Fragment from oryginal title bar show alter 2 maximalize.

This is actually an issue with Electron (and presumably with the latest Windows 10 update) across various Electron-powered applications.
Related issues:

electron/electron#12971
electron/electron#12996


2669 purchases by type

Resolves #2669 .
Description
This adds three fields to Purchase - the money spent on diapers, adult incontinence products and other products. These will now be used in the annual reports.
There is also a validation added to ensure that the categories add up to the total, as long as any category has a value in it.
While I was at it I fixed a couple of other bugs in this page - the vendor and storage facility drop downs were not populating when an error occurred, and the currency amount for "purchase amount" was showing up as e.g. "45.0".
For now I have not added these fields to any pages other than the edit form (e.g. not the index page) since I feel they are less important values and don't need to clutter those pages up.
Type of change

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Local and unit tests.
Screenshots

@ edwinthinks Added the money gem and it makes things a lot smoother. Please check to see if I've addressed your comments!

It definitely reads better. :) I'll make the change.

@edwinthinks fixed!

Looks like there is a few failing specs @dorner, lets' see if we can fix up those. Let me know if I can assist

@edwinthinks they should be fixed now, with the exception of one error that's happening on my local that seems unrelated to my changes (something to do with the date input field).

@all-contributors add @dorner for coding


Question: Mounting a sshfs folder and share it with host

Hi guys,
I'm currently trying to run a container that start a sshfs process to mount a shared file system.
I would like to mount it and share it with the host (and then with other containers).
I saw a github discussion on that problem and understood that it was solved. If I got that, I need to pass the shared argument when specifying the volume. Unfortunately, it does not work.
docker run -it --privileged -v /empty_host_data_dir/:/container_volume_to_mount/:shared my_container
afterwards, when I list /container_volume_to_mount in my container, it's OK, I get my files, but when go back to the host and list /empty_host_data_dir it is still empty.
I'm using docker v 1.6.2 in a Ubuntu 15.10 host.
Could you help me?
Thanks,

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

$docker info

Containers: 13
Images: 64
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 90
 Dirperm1 Supported: true
Execution Driver: native-0.2
Kernel Version: 4.2.0-34-generic
Operating System: Ubuntu 15.10
CPUs: 1
Total Memory: 1.636 GiB
Name: my-host
ID: V37Z:QEZT:DOLV:2AG6:6TYM:3CKW:CTMU:HA3Q:MJUM:JLII:4FCP:OJQN
WARNING: No swap limit support

$docker version

Client version: 1.6.2
Client API version: 1.18
Go version (client): go1.5.1
Git commit (client): 7c8fca2
OS/Arch (client): linux/amd64
Server version: 1.6.2
Server API version: 1.18
Go version (server): go1.5.1
Git commit (server): 7c8fca2
OS/Arch (server): linux/amd64

that command means, it will
mount  /empty_host_data_dir to container directory. As you host directory is empty, so after mount, it is still empty. Any issue for this ?

I didn't understand your answer.
My /empty_host_data_dir is empty at the beginning yes, but once mounted in the container directory, I want to mount inside it the content of my sshfs network folder.
Thus, if I was not enough explicit, I'd like to mount something from the container into a mounted volume.
Thanks,

@yarmenti You need to upgrade to Docker 1.10 to have this funtionality.
Containers are in their own mount namespace and mounts are not propagated back the host.
WIth 1.10 you can specify that you do want to share mounts back to the host, like this: -v /foo:/bar:shared... but this is only supported in since 1.10.


Datatables UI

This PR would close #20. I've added functionality to parse the table out of the cprofilev results and have datatables be the front-end, which makes it very easy to quickly filter to particular rows within the table and to sort the table on the fly. As a result, I removed a lot of the old sorting code. The current UI looks like this:

Feedback welcome!

this looks really good. thanks! I'll get to this soon and get this into the next version.

Could you please merge that? This looks awesome! 😮


This works on mobile?

Hi.
I tested the component on a Moto G4 phone with the Chrome browser and the result was: "getUserMedia is not implemented in this browser".
Is there any way to make it work?
I appreciate if you can help.

+1

This does work on mobile since we used iPhones & iPads while writing this component.


Issue/Question: Clear dock and run cell with one keystroke

Re: Issue/Question: Clear dock and run cell with one keystroke
I'm new to Atom and Hydrogen - evaluating switching to it from jupyter notebook and visual studio code. Great work BTW - thanks for all your time put into it!
Question/issue: I prefer to see the output in the dock, but it appears that hydrogen does not offer automatic option to clear the dock between cell runs - right now it just keeps adding them at end. If so, can someone show how to map a single shortcut in Atom to two hydrogen commands to be executed in sequence - namely:
'hydrogen:clear-results' & 'hydrogen:run-cell'?
In other words I'd like be able to press ctrl-alt-enter and make hydrogen clear the dock and run the cell.
I've checked http://flight-manual.atom.io/behind-atom/sections/keymaps-in-depth/ but it shows only how to combine built-in editor ones.
Thanks in advance.
Windows 10 Home Premium 64bit
Atom 64bit v 1.21.1
Hydrogen 2.0.1

Your idea in #1067 will resolve this. Once that is added a mapping in your keymap.cson to hydrogen:clear-results should work nicely.
Closing in favor of #1067


Panel 14

NCL Script: https://www.ncl.ucar.edu/Applications/Scripts/panel_14.ncl
NCL Plot: https://www.ncl.ucar.edu/Applications/Images/panel_14_lg.png
Issue: #335

@anissa111 @michaelavs Hi!! I am having trouble with the log scales on the contour plot. Below is the plot when I set the y-axis to log scale, and it doesn't seem like the same scale as the original one (the tick 100000 should be approaching the middle of the y-axis). There are a couple other problems (minor and major tick marks) but I think figuring out the scale to X and Y axis should be the first step. Do you guys have a clue to what the scale should be? The original NCL script doesn't seem to specify this.

Edited. Y axis is still not exactly right.

@anissa111 @michaelavs @erinlincoln Hi all! If any of you would have a chance to look at this it would be aweeesome. I fixed the X axis scale and the problem now is with Y axis. I have tried natural logarithmic, log10, and log2, and none is correct. Right now the scale is x**2 but it is still not exactly right.
Maybe you would have a hunch what the scale is? Let me know!! Thanks!

I played with it on Desmos for a bit and I don't think this is exactly right, but if you just are aiming to get close .55x**2.5 goes through all of the points

.

@michaelavs Thanks for the reviews!

There's still something about the axes here that sits a little weird with me, but I've looked into it again today and cannot find anything. I added a couple comments explaining more about the axes, and when the checks pass I'll approve. If we ever learn more about what's supposed to be going on with axes like this, I suggest we revisit this example in the future.


boxy.grow can overgrow and corrupt existing texture

hello,
while loading multiple images to boxy I found out, that once boxy calls grow procedure that doubles texture size, at certain point it will overgrow supported hardware size and fail with OpenGL error.
I can catch it as an exception however it will corrupt existing texture and all images once rendered are have glitches.
Please, is there any mechanism to prevent the corruption? Or, indirectly, to prevent overgrowing the texture?
Error once it happens:
/.nimble/pkgs/boxy-0.4.1/boxy.nim(413) addImage
/.nimble/pkgs/boxy-0.4.1/boxy.nim(356) takeFreeTile
/.nimble/pkgs/boxy-0.4.1/boxy.nim(329) grow
/.nimble/pkgs/boxy-0.4.1/boxy.nim(147) createAtlasTexture
/.nimble/pkgs/boxy-0.4.1/boxy/textures.nim(53) bindTextureData
/.nimble/pkgs/opengl-1.2.6/opengl/private/errors.nim(44) glTexImage2D
/.nimble/pkgs/opengl-1.2.6/opengl/private/errors.nim(99) checkGLerror
Error: unhandled exception: OpenGL error: invalid value [GLerror]

This code is showing max size for my PC:
var intBuffer: GLint
glGetIntegerv(GL_MAX_TEXTURE_SIZE, intBuffer.addr)
echo intBuffer.GLuint
# RESULT in my case = 16384

Thank you for the bug report! I now raise a proper exception.

Thank you for the quick fix, will try new version.


glibc: 2.34-115 -> 2.34-210

Description of changes
Misc backports, see https://sourceware.org/git?p=glibc.git;a=tree;h=e123f08ad5ea4691bc37430ce536988c221332d6;hb=e123f08ad5ea4691bc37430ce536988c221332d6, until 852361b5a32fafb1aafb6467c7c567063fd99d44
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

I think this is what broke our gnat bootstrap: https://hydra.nixos.org/build/176570025


multi call updateEdge not working

What platform were you using when you found the bug?

React Flow / Svelte Flow version: 12.3.4
Browser and version: Chorme 130.0.6723.70
OS and version: macOS Sonoma 14.0

Live code example
No response
Describe the Bug
When I call updateEdge in loop，only the first update is active.
like below code
for (const edgeUpdate of edgeUpdates) {
  updateEdge(edgeId, edgeUpdate);
}

Steps to reproduce the bug or issue
I read  useQuene and find the code
useIsomorphicLayoutEffect(() => {
    // Because we need to flip the state back to false after flushing, this should
    // trigger the hook again (!). If the hook is being run again we know that any
    // updates should have been processed by now and we can safely clear the queue
    // and bail early.
    if (!shouldFlush) {
      queue.reset();
      return;
    }

    const queueItems = queue.get();

    if (queueItems.length) {
      runQueue(queueItems);

      queue.reset();
    }

    // Because we're using reactive state to trigger this effect, we need to flip
    // it back to false.
    setShouldFlush(false);
  }, [shouldFlush]);

If push updateEdge Faster thanReact state update，the quene will be reset。
Expected behavior
updateEdge can active all
Screenshots or Videos
No response
Additional context
No response

Please create a minimal reproduction for this at new.reactflow.dev/ts.

I see the fixed, it's also good for me. thanks


X axis range problems

Hi!
I have issues with the Controller.Range.MaximumX property. The controller is a WpfGraphController<FloatDataPoint, FloatDataPoint> and i set this property to 25 based on the demo provided by you. As a little test i have pushed a 100 data, one by one, throught Controller.PushData(X,Y) and at the end the number of displayed points is a 100 instead of the top 25 which should be the case, as the MaximumX property is still 25.
Any Guess why i see all my data instead of the last few entries?

I found an issue with the FloatDataPoint.
Please get the latest version and try again.

It seems to be working now.
One more thing, the "zooming" does not work, in previous versions it showed me a conversion error (single - double), now it's just not working with the ctrl+click and drag .
Also i want to clear the graph from code behind, is it possible to force render a clear graph after i called controller.clear().


Service Instance creation: Remove request to fetch service broker

Space Developers are unable to make a request to fetch service brokers, therefore they are not able to create service instances.
Also fixes https://github.com/cloudfoundry-incubator/stratos/issues/2279

@richard-cox I never pushed the commit that fixed the issue you hit. It is however present in https://github.com/cloudfoundry-incubator/stratos/pull/2284. I've pushed it now.


ng-disabled has no effect

ng-disabled has no effect

well, attribute changes are watched but not initial value, sorry I have to fix it.
here in demo it works, in src dir, I need make some few changes, thx
https://github.com/darul75/ng-slider/blob/master/src/ng-slider.html#L138

fix in https://github.com/darul75/ng-slider/releases/tag/2.1.8
put any star on repo if you can ;)


⚠ K-Thorne has degraded performance

In 01a16fe, K-Thorne (https://k-thorne.com) experienced degraded performance:

HTTP code: 200
Response time: 14387 ms

Resolved: K-Thorne performance has improved in cccd586.


Replace dkjson with lua-cjson

It would be great if busted could switch the JSON parser from dkjson to lua-cjson.
lua-cjson

is more popular than dkjson which is not an argument for itself, but this raises the probability you need to install / have installed lua-cjson anyway
claims better compatibility (though I haven't checked lua-cjson against 5.3, but dkjson claims < 5.3 and lua-cjson >= 5.1)
is way faster

Nearly any other module in my OpenResty-based setup refers/uses lua-cjson when it comes to JSON with only busted introducing a second dependency on a different JSON parser.

lua-cjson had build problems on windows. That was the only reason we did not choose to use it. Have they been resolved?

claims better compatibility (though I haven't checked lua-cjson against 5.3, but dkjson claims < 5.3 and lua-cjson >= 5.1)

dkjson works in 5.3 without issues.
In general, I prefer dkjson:

it's pure lua, which means you don't have to deal with compiling cjson (I run tests in places where I don't have a C compiler)
it has a sane options passing scheme

For a test suite, I prefer the correctness of dkjson over the speed of cjson.
However, if you're only using the basic .decode and .encode functions with a single argument, the apis are equivalent; and you can just swap out one for the other.

Ok, point taken... https://github.com/Olivine-Labs/busted/issues/445#issuecomment-131679678

(I run tests in places where I don't have a C compiler)

Maybe I can work out a solution based on luarocks' dependency modes to drop "testing-only" dependencies from production builds -- the concept of "dev dependencies" is not available there.

Maybe I can work out a solution based on luarocks' dependency modes to drop "testing-only" dependencies from production builds -- the concept of "dev dependencies" is not available there.

FWIW, I currently just install the testing only dependencies manually.
==> then for e.g. travis, I put them in there manually too. you usually install busted and luacov in this way already.
The manual-ness is a bit annoying, but it's really just 2 or 3 lines that you type once. Or a really minor step for a new developer joining the project.

Using Lua 5.1.5 dkjson fails to generate proper output on most of Busted specs.
Relevant issue:#448


Adding documentation for Secrets Rotation

Desired Outcome
There should be documentation for the Secrets Rotation feature.
Implemented Changes
Added secrets rotation documentation, some other small doc updates, and updated one of the error messages.
Pulled in an image from 428 that has not landed yet.
Connected Issue/Story
Resolves #[relevant GitHub issue(s), e.g. 76]
CyberArk internal issue link: ONYX-16906
Definition of Done
[x] Add initial Secrets Rotation documentation.
Changelog

[ ] The CHANGELOG has been updated, or
[X] This PR does not include user-facing changes and doesn't require a
CHANGELOG update

Test coverage

[ ] This PR includes new unit and integration tests to go with the code
changes, or
[X] The changes in this PR do not require tests

Documentation

[X] Docs (e.g. READMEs) were updated in this PR
[ ] A follow-up issue to update official docs has been filed here: insert issue ID
[ ] This PR does not require updating any documentation

Behavior

[ ] This PR changes product behavior and has been reviewed by a PO, or
[ ] These changes are part of a larger initiative that will be reviewed later, or
[X] No behavior was changed with this PR

Security

[ ] Security architect has reviewed the changes in this PR,
[ ] These changes are part of a larger initiative with a separate security review, or
[x] There are no security aspects to these changes

@rpothier: Doc overall looks great!  My review is mostly cosmetic.  Thanks.


Loop causes index method type inference to break for switch statements

TypeScript Version:  3.4.0-dev.201xxxxx

Search Terms:
loop
type inference
switch statement
indexing
Code
interface I {
    [key: string]: string | number
    a: string
    b: number
}

function goodDemo(obj: I, key: string) {
    switch (key) {
        case 'a':
            const good: string = obj[key]
    }
}

function badDemo(object: I, keys: Array<string>) {
    for (const key in keys) {
        switch (key) {
            case 'a':
                // Type 'string | number' is not assignable to type 'string'.
                //   Type 'number' is not assignable to type 'string'.
                const bad: string = object[key]
        }
    }
}

Expected behavior:
no compile error due to line const bad: string = object[key]
Actual behavior:
compile error:
Type 'string | number' is not assignable to type 'string'.
  Type 'number' is not assignable to type 'string'.

Playground Link:
playground
Related Issues:

Dup of/Related to #22046

Seems to me that you aimed to set up a for..of loop (instead of a for.. in).
In any case, either
function notThatBadDemo1(object: I, keys: Array<string>) {
    for (const key of keys) {
        switch (key) {
            case 'a':
                const bad: string = object[key]
        }
    }
}

or
function notThatBadDemo2(object: I, keys: {[name:string]:string}) {
    for (const key in keys) {
        switch (key) {
            case 'a':
                const bad: string = object[key]
        }
    }
}

seem to compile correctly.
(Don't know if it may help).

Awesome, for.. of fixes the issue. Resolving.


Record username in ZPM.Analytics.Event

In the class ZPM.Analytics.Event which is used to track the events done for a module, ie
install

install
uninstall
download
etc

I would like to see the following added
/// The username of the person that performed the action
Property Username As %String [ SqlComputeCode = {set {*}=$Username}, SqlComputed, SqlComputeOnChange = %%INSERT ];
so as to be able to track who is performing the actions.
Our practice is to

standup our own private repo/registry
Provide username and password commonly based on customer names, although not exclusively customer names, they are sometimes personal names
Use the data in ZPM_Analytics.Event  to determine who has performed what actions.  It's not clear that fields like

city
country
region
are ever populated and fields like
-GUID
-IP
provide any meaningful insight

Adding this single property declaration should be completely safe and transparent to users.

@scanzano-bcbssc ZPM.Analytics.Event is part of the zpm-registry package, so this issue belongs here: https://github.com/intersystems-community/zpm-registry/issues


images appeared skewed. removed them from img tags

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the CODEOWNERS.
What Type of PR is This?

[X] Issue
[ ] Feature
[ ] Maintenance/Chore

The original images were set using image tags whicvh had set values on how they should appear which made them appear skewed.
I used Markdown instead which has repaired the issue.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65d734df818cc2139903709a--harness-developer.netlify.app


Update core.js

Added "ur_pk" (Urdu/اردو)

Hi, the patch is missing the translation file in lang/ur_pk.json

Here's a guide on how to do translation: https://github.com/dualshock-tools/dualshock-tools.github.io/blob/main/TRANSLATIONS.md
tl;dr: create a file called ur_pk.json into lang/ with all the strings, you can start by duplicating an existing one and changing the translation for each line


Does Apollo Autopilot consider weather conditions?

A vehicle should behave differently in different weather conditions. However, I did not find anything about the weather (or the related factors such as visibility or ground friction) in the documentation and the code.
Does Apollo have a strategy that considers the weather parameters?
Or, does the current strategy operate correctly without considering weather parameters?

current strategy operate correctly without considering weather parameters. We plan to increase the recognition of rainy and foggy weather, making it suitable for more work scenarios


Added Application XnConvert

XnConvert is a fast, powerful and free cross-platform batch image converter. Its fast and can handle any type of image file format conversion.
https://www.xnview.com/en/xnconvert/

Thanks for the suggestion @og-mrk.

I have also fixed the choco repo link as I got confused and inserted another of xn product but its fixed.

Thanks you @og-mrk

Not accepting any more programs at this time. We will be moving most of the "niche" programs into a button utilizing UniGetUI.


Upgrade to 1.6.15 failing

Rancher versions:
rancher/server: v1.6.14
rancher/agent: rancher/healthcheck:v0.3.3
Infrastructure Stack versions:
healthcheck:
ipsec: rancher/net:v0.13.7
network-services: rancher/network-manager:v0.7.19
Docker version: (docker version,docker info preferred)
17.12.1-ce
Operating system and kernel: (cat /etc/os-release, uname -r preferred)
RHEL 7
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
OpenStack, KVM
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Upgrade from v1.6.13 to v1.6.14 was ok, to v1.6.15 it failing on IPSec infra stack deployment/upgrade
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Cattle v0.183.37
Steps to Reproduce:
v1.6.13 upgrade server to v1.6.15, than upgrade infrastructure components.
Results:

all agents disconnects, after attempt to put them back or add new hosts ipsec failing with this errors:

rancher-ui_1  | 2018-03-27 11:14:11,710 ERROR [9cd55eb9-fb94-41e5-b57d-113b43a265af:112650328] [instance:1659967] [instance.start] [] [cutorService-27] [c.p.e.p.i.DefaultProcessInstanceImpl] Agent error for [compute.instance.activate.reply;agent=111206]: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"/rancher-entrypoint.sh\": stat /rancher-entrypoint.sh: no such file or directory": unknown
rancher-ui_1  | 2018-03-27 11:14:11,734 ERROR [:] [] [] [] [cutorService-27] [.e.s.i.ProcessInstanceDispatcherImpl] Agent error for [compute.instance.activate.reply;agent=111206]: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"/rancher-entrypoint.sh\": stat /rancher-entrypoint.sh: no such file or directory": unknown
rancher-ui_1  | 2018-03-27 11:14:38,094 ERROR [89c10978-9408-4389-a449-65b56b87d124:112649731] [service:423] [service.activate] [] [ecutorService-3] [c.p.e.p.i.DefaultProcessInstanceImpl] Expected state running but got error: Couldn't bring up network: netplugin failed but error parsing its diagnostic message "": unexpected end of JSON input

What RHEL7 exactly and what kernel? (uname -r)
Also docker info would be helpful here. When did you upgrade to 17.12.1 and from what version?

Red Hat Enterprise Linux Server release 7.4 (Maipo)
kernel 3.10.0-693.17.1.el7.x86_64
docker info
Containers: 22
 Running: 22
 Paused: 0
 Stopped: 0
Images: 498
Server Version: 17.12.1-ce
Storage Driver: overlay
 Backing Filesystem: xfs
 Supports d_type: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 9b55aab90508bd389d7654c4baf173a981477d55
runc version: 9f9c96235cc97674e935002fc3d78361b696a69e
init version: 949e6fa
Security Options:
 seccomp
  Profile: default
Kernel Version: 3.10.0-693.17.1.el7.x86_64
Operating System: RedHat Linux Server 7.4
OSType: linux
Architecture: x86_64
CPUs: 6
Total Memory: 31.26GiB
Name: rancher-host-0001
ID: OWAA:XXX:XXX:XXX:XXXX
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
HTTP Proxy: http://proxy:3128
HTTPS Proxy: http://proxy:3128
No Proxy: localhost,<IP_ADDRESS>,<IP_ADDRESS>,example.com
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

When did you upgrade to 17.12.1 and from what version?
all agents disconnects. What is in the log of the rancher-agent container in this case?
How are you adding them back?

Prev version was 17.05.0.ce, upgrade was done a day or two before. When server was upgraded I start infrastructure stack upgrade, that leads to rancher-agent upgrade process, but that finished in loop. Rancher upgrade container try to remove rancher-agent, which wasn't running (already removed during process). I try to restart docker service on affected agents and add them back as a new one, but this leads to rancher-entrypoint.sh issue. Also completely new hosts was not able to be added.

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


Disable compression option

Is there an option to disable ZLIB compression on Windows builds in GRPC?  For example, protocol buffers allows passing: " -Dprotobuf_WITH_ZLIB=OFF" to cmake and then the builds do not include zlib compression.

Currently you need zlib to compile gRPC. We don't believe that's a limitation so there's no plan to change that.
Btw, an official way to build grpc on windows is now cmake. You should be able to build on windows (including zlib) seamlessly.
https://github.com/grpc/grpc/blob/master/INSTALL.md#windows


Redirect on authentication error

What's the feature you'd like to ask for.
A clear and concise description of what this feature does, improves and / or solves. Include code snippets or examples if applicable.
When using authentication within web-browser based applications, it would be convenient for the application to redirect to the login page rather than displaying the 401 error.
Additional context
Add any other context or screenshots about the feature request here.
The following code accomplishes this:
def auth_redirect_handler(request: Request, exc: Exception) -> RedirectResponse:
    '''
    Exception handler to capture 401 errors and redirect to /login
    '''
    status_code = HTTP_401_UNAUTHORIZED
     return RedirectResponse(url=request.url_for('login'), status_code=307)

and in my app adding:
exception_handlers={HTTP_401_UNAUTHORIZED: auth_redirect_handler}

If starlite is made to do it by default, it will send redirect response even to the request sent by REST API clients. So this is left on the user to decide. Besides, once starlite-oidc extension is ready for production, it will have this functionality by default for the web apps, not only that, starlite-oidc will redirect you to the login page of the identity provider and back to the same page where the user was redirected from to maintain continuity.

Its easy enough to do with a custom middleware as is - simply set the logic in the __call__ method of the middleware and you can redirect there.


How to setup on local linux environment or dockerized environment?

Hi Dina,
I have attended your Four Keys presentation during cdCon2020. I liked the tool. I would like to know if it is possible to run the dashboard on the local setup? I would move it to GCP later. Thanks
regards,
Jayesh

The dashboard only runs in datastudio.  As far as I know, there is no way to run DataStudio in a local environment.

The dashboard only runs in datastudio.  As far as I know, there is no way to run DataStudio in a local environment.

Hi Jayesh,
The data is in BigQuery and I've published the scripts used for the dashboard in the new metrics documentation: METRICS.md
You should be able to use these scripts with any SQL based dashboard system.
Thanks!
Dina


feat: add /nodes/{nodeDisplay}/isRequired endpoint

fixes fds-822

@mialy-defelice This PR is ready for review


when install to others namespace,vela cli not work

Describe the bug

when install to others namespace,vela cli not work,such as vela addon enable velaux return an error: Error: configmaps "vela-addon-registry" not found.
To Reproduce

vela install -n my-vela-system
vela addon enable velaux
now you can see error
Expected behavior

addons enable success
Screenshots

KubeVela Version

[root@kubevela ~]# vela version
CLI Version: 1.9.4
Core Version:
GitRevision: git-b9f1cc97
GolangVersion: go1.19.10

Cluster information

[root@kubevela ~]# kubectl version
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.6", GitCommit:"ad3338546da947756e8a88aa6822e9c11e7eac22", GitTreeState:"clean", BuildDate:"2022-04-14T08:49:13Z", GoVersion:"go1.17.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.6", GitCommit:"ad3338546da947756e8a88aa6822e9c11e7eac22", GitTreeState:"clean", BuildDate:"2022-04-14T08:43:11Z", GoVersion:"go1.17.9", Compiler:"gc", Platform:"linux/amd64"}

Additional context

there is a -n flag in vela install,but others cmd can't specify namespace.
maybe we need add a -n flag.

Related to https://github.com/kubevela/kubevela/issues/4921

After executing the command export DefaultKubeVelaNS="my-vela-system" vela addon list, there was no output.


Unzipper misses entry

Hi august.. I have a problem.. For some unexplained reason the unzipper misses an entry in my epub file.. It reads the mimetype and the META-INF dir just fine, but when it comes to the dir OEBPS it just skips it and thus js-epub fails.. I hope there is a logical explanation hope you can help
Regards
Jakob

Hey!
I just deprecated this project. I was looking into fixing bugs and updating it, but I found a much better alternative that didn't exist when I created this project. Check it out :)
https://gildas-lormeau.github.io/zip.js/


[Traefik Pilot] Traefik Plugin Analyzer has detected a problem.

The plugin was not imported into Traefik Pilot.
Cause:
failed to load readme: failed to get the readme file: GET https://api.github.com/repos/AustinHellerRepo/TraefikOutboundLimiter/readme?ref=v0.0.1: 404 Not Found []

Traefik Plugin Analyzer will restart when you will close this issue.
If you believe there is a problem with the Analyzer or this issue is the result of a false positive, please contact us.

Added readme file


Remove duplicate connection that had been used for payloads

Without a proxy to aggregate connections, AppScope can unintentionally act like a DDOS attack when configured to output data with network sockets, and when the process being scoped is forking/exec'ing child processes by the thousands.  Every process that exists makes two outbound connections, one for standard metrics and events, and another dedicated for raw payload data.
Right now we don't expect to be sending payload data, so we've made this DDOS issue twice as bad as it needs to be.
Possibile solutions include:

only creating the connection if payloads are configured to be on
never create the payload connection, period

So the most direct solution seems to be 1. above.
In src/cfgutils.c:initCtl(), it's almost as simple as changing from
if (cfgLogStreamEnable(cfg)) {
to
if (cfgLogStreamEnable(cfg) && cfgPayEnable(cfg)) {
I say almost this simple, because there is also the possibility that a protocol definition will try to forward on payload data even if cfgPayEnable() is false.


when the video starts, double sounds are heard

Version 5.5

https://github.com/TheRealJoelmatic/RemoveAdblockThing/blob/861272fb6b4aee20cd6b59f281b2034926e174c0/Youtube-Ad-blocker-Reminder-Remover.user.js
press "Raw" and then press "reinstall".

https://github.com/TheRealJoelmatic/RemoveAdblockThing/blob/861272fb6b4aee20cd6b59f281b2034926e174c0/Youtube-Ad-blocker-Reminder-Remover.user.js
press "Raw" and then press "reinstall".

working thanks


Add Plugin for UTXO tracking by account.

This plugin facilitates sending NEO or GAS for arbitrary addresses by providing an RPC method getunspents for retrieving the unspent UTXOs. The unspent UTXOs are stored indexed by account script hash in an additional LevelDB database whose path is configurable in the plugin settings. This plugin was migrated from my initial PR here: neo-project/neo/pull/569
The format of the response data is compatible with the format returned from the neoscan v1 API get_balance` call.

I'll be testing this by re-syncing MainNet from the latest chain file and will report here with the results from my testing.

Building and testing it now.

I got this error but need double check, maybe it is my configuration.
[ERROR][03/11/2019 20:24:58][Thread 0004][akka://NeoSystem/user/$a] Error while creating actor instance of type Neo.Ledger.Blockchain with 2 args: (Neo.NeoSystem,Neo.Persistence.LevelDB.LevelDBStore)
Cause: [akka://NeoSystem/user/$a#360886005]: Akka.Actor.ActorInitializationException: Exception during creation ---> System.TypeLoadException: Error while creating actor instance of type Neo.Ledger.Blockchain with 2 args: (Neo.NeoSystem,Neo.Persistence.LevelDB.LevelDBStore) ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.) ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Neo.Plugins.RpcSystemAssetPlugin.OnCommit(Snapshot snapshot)
   at Neo.Ledger.Blockchain.Persist(Block block)
   --- End of inner exception stack trace ---
   at Neo.Ledger.Blockchain.Persist(Block block)
   at Neo.Ledger.Blockchain..ctor(NeoSystem system, Store store)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at Akka.Actor.Props.ActivatorProducer.Produce()
   at Akka.Actor.Props.NewActor()
   --- End of inner exception stack trace ---
   at Akka.Actor.Props.NewActor()
   at Akka.Actor.ActorCell.CreateNewActorInstance()
   at Akka.Actor.ActorCell.<>c__DisplayClass109_0.<NewActor>b__0()
   at Akka.Actor.ActorCell.UseThreadContext(Action action)
   at Akka.Actor.ActorCell.NewActor()
   at Akka.Actor.ActorCell.Create(Exception failure)
   --- End of inner exception stack trace ---
   at Akka.Actor.ActorCell.Create(Exception failure)
   at Akka.Actor.ActorCell.SysMsgInvokeAll(EarliestFirstSystemMessageList messages, Int32 currentState)

@vncoelho Maybe it is trying to persist the genesis block before the plugin is loaded. I'll check into it.

Maybe the folder can be just  RpcSystemAsset.

Sorry for not checking it in detail, @jsolman. I will also try to check it more tomorrow.

Maybe the folder can be just RpcSystemAsset.

Maybe RpcSystemAssetTracker

@jsolman, it works for scripthash, right? Not base58?

[ERROR][03/11/2019 21:16:49][Thread 0003][akka://NeoSystem/user/$a] Error while creating actor instance of type Neo.Ledger.Blockchain with 2 args: (Neo.NeoSystem,Neo.Persistence.LevelDB.LevelDBStore)
Cause: [akka://NeoSystem/user/$a#1123270816]: Akka.Actor.ActorInitializationException: Exception during creation ---> System.TypeLoadException: Error while creating actor instance of type Neo.Ledger.Blockchain with 2 args: (Neo.NeoSystem,Neo.Persistence.LevelDB.LevelDBStore) ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Neo.Plugins.RpcSystemAssetTrackerPlugin.ResetBatch()
   at Neo.Plugins.RpcSystemAssetTrackerPlugin.OnPersist(Snapshot snapshot, IReadOnlyList`1 applicationExecutedList)
   at Neo.Ledger.Blockchain.Persist(Block block)
   at Neo.Ledger.Blockchain..ctor(NeoSystem system, Store store)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at Akka.Actor.Props.ActivatorProducer.Produce()
   at Akka.Actor.Props.NewActor()
   --- End of inner exception stack trace ---
   at Akka.Actor.Props.NewActor()
   at Akka.Actor.ActorCell.CreateNewActorInstance()
   at Akka.Actor.ActorCell.<>c__DisplayClass109_0.<NewActor>b__0()
   at Akka.Actor.ActorCell.UseThreadContext(Action action)
   at Akka.Actor.ActorCell.NewActor()
   at Akka.Actor.ActorCell.Create(Exception failure)
   --- End of inner exception stack trace ---
   at Akka.Actor.ActorCell.Create(Exception failure)
   at Akka.Actor.ActorCell.SysMsgInvokeAll(EarliestFirstSystemMessageList messages, Int32 currentState)

This log is more precise now, @jsolman

@jsolman, it works for scripthash, right? Not base58?

I'll make it work for both.

I need to change the plugins so they can override a method that will be called when all plugins have finished loading. The ImportBlocks needs to start its work after all plugins are loaded for example. Also, the genesis block needs to not be persisted until plugins are loaded.

Blocks are importing now and I'll report back on how testing goes.
This change is required: neo-project/neo/pull/633

Testing after syncing with MainNet looks good. Keep in mind that to use this you need:

To be using Neo 2.10.1 (currently master at or above commit https://github.com/neo-project/neo/commit/432a3f6b5ca4389f7a2221fc845edf770e32b0f7)
The updated ImportBlocks plugin: https://github.com/neo-project/neo-plugins/pull/53

Also, to be safe currently, do not stop the import blocks process when importing from chain file by using the exit command or control+c. I am going to improve shutdown to capture control+c and shutdown cleanly, but currently exit will hang while importing blocks, and interrupting could possibly stop after a block had been committed to the main LevelDB database and before the UTXOs are committed to this LevelDB database, leaving them in an inconsistent state.
As an improvement, I could likely have it persist the block number in LevelDB when this plugin commits so that it can check if it didn't persist the latest block on start-up and handle it that way.

44d358a seems to have hurt performance significantly more than expected. Looking into why.

I have not done any testing yet after adding the last commit that adds the RPC method to get the claimable spent transactions. I will test it tomorrow and also likely add a method for getting the total unclaimed gas available for an address to fill the last gap.

The API for getting all the claimable transactions is working as expected from my testing with MainNet. Now all that remains is implementing an operation to get total claimable amount, and it should be done.

Ok, support for all operations needed for claiming GAS now are in and seem to be working as expected.

Maybe we can create a 2.10.1 branch as you suggested elsewhere; I will not merge this as it references a CI NuGet build.


Running GTN locally

Hi all,
I need help in creating a conda environment for the GTN following this training: https://training.galaxyproject.org/training-material/topics/contributing/tutorials/running-jekyll/tutorial.html,
I am stuck in this step

It either keeps running, then PC stuck and does not resume, so I force restart it, or it gives the following error

Thanks,
Engy

Hi @EngyNasr you can try with mamba, or you can also try with rvm , it's a ruby version manager. Then installing ruby 3.2 or so, and running make serve-gitpod would be possibly more efficient.
many of us are using RVM and ruby because the conda resolution is incredibly slow.

Hi @EngyNasr you can try with mamba, or you can also try with rvm , it's a ruby version manager. Then installing ruby 3.2 or so, and running make serve-gitpod would be possibly more efficient.
many of us are using RVM and ruby because the conda resolution is incredibly slow.

I installed rvm and ruby 3.2, then I ran make serve-gitpod, I have this error now

You'll need to manually install bundle, gem install bundle, and after that bundle install to install the requirements (replacing the conda install step)

mamba is outdated and integrated into the latest conda version.

Thank you <3 <3 it is working locally now with RVM

Great, glad to hear it! We will hopefully find time to document this path better in the future due to how much faster it is to use than conda (even with the new solver)

Great, glad to hear it! We will hopefully find time to document this path better in the future due to how much faster it is to use than conda (even with the new solver)

True its way faster than conda and if the laptop was suspended or so it keeps running


Consider implementing a fallback adapter for systems that don't have virtualization platforms available

In cases where the host system doesn't have support for virtualization platforms or no drivers are installed, it might be useful to provide a fallback x86 emulator, such as QEMU TCG. This would be provided as a separate platform in a separate module (e.g. virt86-qemu-tcg) and should be available on every system, but listed last in the platform factories.
It might be interesting to add a feature to PlatformFeatures to indicate that this is a software-based platform, as oppposed to a hardware-assisted virtualization platform, since some users might be interested in differentiating between them (possibly to warn about degraded performance).
Make sure to update the Supported Platforms and Features wiki page.

OpenXbox  also mentions other fallback options, like libx86emu, libcpu, bochs and unicorn (although that unicorn is unusable in it's current state).

To add to the above comment, the project lib86cpu might also become a viable option in the (distant) future.

Good to hear @ergo720. I'm looking forward to it.


KAFKA-4175: Can't have StandbyTasks in KafkaStreams where NUM_STREAM_THREADS_CONFIG > 1

standby tasks should be assigned per consumer not per process

@guozhangwang @enothereska @mjsax @hjafarpour  - this fixes the lock error worked around in: https://github.com/apache/kafka/pull/1861
Also re-instantes NUM_THREADS_CONFIG to 3 in the SmokeTestClient

Thanks @dguy the patch looks good to me.
But one question I have just thought about is, with num.threads = 1 and num.standby >0, the TaskAssignor will assign both the active and the standby of the same task to the same thread as well, which can also trigger locking issues, right? In that case why changing num.threads from 2 to 1 can temporarily fix the system test?

@guozhangwang - The TaskAssignor doesn't assign the standby tasks to the same process. So if num.threads = 0 and num.standby > 0 you only get the active task assigned. Which seems correct to me as there isn't anywhere for the standby to run.
The change of threads to 1 fixed the system test as all the threads in the same KafkaStreams instance were being assigned the same set of standby tasks, hence they were competing for the same locks.

LGTM

@dguy In that case, won't a TaskAssignmentException("failed to find an assignable client"); gets thrown since the state == null.

@guozhangwang In TaskAssignor
public void assignStandbyTasks(int numStandbyReplicas) {
        int numReplicas = Math.min(numStandbyReplicas, states.size() - 1);
        for (int i = 0; i < numReplicas; i++) {
            assignTasks(false);
        }
    }

So, that exception will not be thrown for the standby tasks.

You are right. Thanks for the patience!
Merged to trunk.


vulnerability issue with @pnp/spfx-controls-react version 1.21.3

There are vulnerability issue with @pnp/spfx-controls-react version 1.21.3 while building the solution in pipeline
Could you please address the below issues
CVE-2020-7746 - Upgrade chart.js from 2.7.3 to 2.9.4 to fix the vulnerability.
CVE-2020-8203 - Upgrade lodash from 4.17.13 to 4.17.20 to fix the vulnerability.
CVE-2021-23337 - Upgrade lodash from 4.17.13 to 4.17.20 to fix the vulnerability.
Category
[ ] Bug
Version
Please specify what version of the library you are using: [     1.21.3    ]
If you are not using the latest release, please update and see if the issue is resolved before submitting an issue.
Expected / Desired Behavior / Question
CI Pipeline to build without security vulnerabilities.
Observed Behavior
CI Pipeline to build with security vulnerabilities.
Thanks!

Hi @mmohamedbasith,
FYI, latest version (3.15.0) has mentioned libraries with following versions:

chart.js: 2.9.4
loadash: 4.17.21

@mmohamedbasith just to add the @michaelmaillot 's answer, V1 is no longer actively maintained. We will try to review PRs with updates to V1 if submitted by contributors, but our main focus is the latest version.


fix for #374

I just removed code which do nothing. Save flag is not been set so saving will not happen.
And the copy is done only if the app is not in the config file (!app)


[BUG] Multi-instances doesn't work and I can't switch roblox accounts after ban

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
After logging out of the banned account on the roblox website, it doesn't let me launch roblox from another account.
I have multi-instances on, but recently it has not been working, maybe that's the issue? (I don't know how to fix multi-instances not working.)

I am having the same issue..

After logging out of the banned account on the roblox website, it doesn't let me launch roblox from another account.

Are you able to log out of the desktop app first?

My friend helped me fix it. Thanks to Elia x


[Bug]: Redis Docstore docs property error

Bug Description
docs property of the RedisDocumentStore is giving AttributeError: 'str' object has no attribute 'decode'. Did you mean: 'encode'? error. Steps and solution is explained in the steps to reproduce segment.
Version
0.10.24
Steps to Reproduce
After creating a docstore with
    redis_client = Redis(
        host="localhost",
        port=6379,
        decode_responses=True,
    )
    docstore = RedisDocumentStore.from_redis_client(redis_client=redis_client, namespace=COLLECTION_NAME)

docstore.docs

raises the AttributeError: 'str' object has no attribute 'decode'. Did you mean: 'encode'? error. It's because of the get_all method in RedisKVStore
    def get_all(self, collection: str = DEFAULT_COLLECTION) -> Dict[str, dict]:
        """Get all values from the store."""
        collection_kv_dict = {}
        for key, val_str in self._redis_client.hscan_iter(name=collection):
            value = dict(json.loads(val_str))
            collection_kv_dict[key.decode()] = value
        return collection_kv_dict

Since the key is a string, it does not have a decode method.  It can either be deleted or key can be converted to whatever wanted.
Relevant Logs/Tracbacks
No response

I should take a note that when I did update with pip install -U ... or uninstall and reinstalled the llama-index-storage-docstore-redis
pip install --no-cache-dir llama-index-storage-docstore-redis

it did not update the RedisKVStore
we should also do
pip install -U llama-index-storage-kvstore-redis

to make it work. I'll also add this to the respective PR if it helps anyone. Thank you for the major help!


Center of the graph zoom must be mouse position

d3-zoom is probably doing the right thing but we apply extra transformations to canvas in D3Graph/index.js.
d3-zoom doesn't know about that.
Correct fix is to initialize zoom behavior with a starting transformation.

Has been fixed last week


Describe the bug
When I open a dart file, it presents the message: "Error running flutter sdk-path"
To Reproduce
Open a dart file eg "widget_test.dart"
Expected behavior
No warning presented.
System information

OS: Ubuntu 20.04
Flutter version: 2.10.5
Is flutter in $PATH: Yes
neovim version: v0.6.0 (v0.8-dev also tried)

Additional context
flutter and neovim are installed as snaps.
flutter sdk-path runs in the terminal and presents the output:
/home/MYUSERNAME/snap/flutter/common/flutter
This is my first time setting up neovim, apologies if it is an obvious oversight.
init.lua follows:
require('packer').startup(function(use)
  use 'wbthomason/packer.nvim'
  use {'akinsho/flutter-tools.nvim', requires = 'nvim-lua/plenary.nvim'}
end)

require("flutter-tools").setup{}

@justyn I think the issue might be that you are running your setup function for this plugin at the wrong time, which is an easy mistake to make with packer. I'm a mobile currently so I can't do a code block easily but essentially rather than calling set up immediately after calling use, you should add a config key Which should be a function and inside of it is where you call setup of this plugin. Have a look at Packer's documentation for how config works

Hi @akinsho
Thanks, and yes I completely believe this is user error since I haven't used nvim before.
Currently packer and flutter-tools are the only plugins I'm installing.
I've adjusted the flutter tools section to be this:
    use {
        'akinsho/flutter-tools.nvim',
        requires = 'nvim-lua/plenary.nvim',
        config = require('flutter-tools').setup{}
    }

However, I'm still seeing the message, sorry.

@justyn you need to adjust your config a bit more to
    use {
        'akinsho/flutter-tools.nvim',
        requires = 'nvim-lua/plenary.nvim',
        config = function()
			require('flutter-tools').setup{}
		end
    }

The key here is that you are trying to delay calling require('flutter-tools').setup() to later in nvim's initialization, whereas without the function wrapper you were calling it immediately

@akinsho so sorry but I've just tried your adjustment, and run :Packer{Compile,Install,Sync} a few times for good measure, and restarted nvim, and I'm still seeing the same error.
I wonder if it's actually something to do with my system somehow?

I deleted my ~/.config/neovim directory and started again.
It contains only init.lua, pasted below in its entirety:
require('packer').startup(function(use)
  use 'wbthomason/packer.nvim'
  use {
        'akinsho/flutter-tools.nvim',
        requires = 'nvim-lua/plenary.nvim',
        config = function()
		require('flutter-tools').setup{}
		end
    }
end)

Then ran :PackerSync which worked with no issues.
But same error. So I feel like something else is going on.
Do you have any pointers on how I might debug?
flutter sdk-path returns correct path in terminal (same terminal I'm running nvim from`).
Thanks

@justyn I'm not really sure, I don't run Linux any more, so I can't check for you, but as you say it might be something about how things are setup on your system. The best guess I have is adding a print statement where the fetch is being done to see why it's failing, can you also confirm for me that plenary is correctly installed and available e.g.lua =require('plenary') should return a table

Re. adding the log you can add the argument job to the function call function(job)
then print vim.prettyprint(job:result()) and paste the result here.
https://github.com/akinsho/flutter-tools.nvim/blob/e9471a942900d18f4cf2376400a36f8592321d52/lua/flutter-tools/executable.lua#L82

Thank you @akinsho I will investigate along those lines as soon as I am able.

Hi @akinsho I'm new to lua and couldn't work out vim.prettyprint, but just adding job argument to the schedule_wrap function, then print(job:result()) led to this on the display:
table: 0x7f737d548bf0

I tried converting the table to a string with this code snippet from SO:
function dump(o)
   if type(o) == 'table' then
      local s = '{ '
      for k,v in pairs(o) do
         if type(k) ~= 'number' then k = '"'..k..'"' end
         s = s .. '['..k..'] = ' .. dump(v) .. ','
      end
      return s .. '} '
   else
      return tostring(o)
   end
end

then I added this in job:after_failure:
      io.output("templog")
      io.write(dump(job:result()))
      io.output(io.stdout)

But this is all that gets put in the file:
{ }

Entire function then looks like this:
  job:after_failure(vim.schedule_wrap(function(job)
    ui.notify(
      { string.format("Error running %s", lookup_cmd) },
      { timeout = 5000, level = ui.ERROR }
    )
      io.output("biscuit")
      io.write(dump(job:result()))
      io.output(io.stdout)
  end))

Not entirely sure if I'm dumping the output incorrectly or if it is just unhelpful.

lua =require('plenary') results in this:
{
  <metatable> = {
    __index = <function 1>
  }
}

Aha, I was looking at some other tool called prettyprint and could not get it to play ball. vim.pretty_print works.
It prints: {} so that seems to match what I had seen before.
I can't find any other flutter installations on my system, I've only installed it once as far as I know.
The command that is failing in nvim is just flutter sdk-path which runs okay in the terminal. Given that this just outputs a string with a path, it's hard to see what could go wrong.
I wonder if plenary.job requires something else to be passed to it on Linux?

I've found that an emacs dart plugin also has trouble on Linux systems using snap (the recommended way to install Flutter on Linux): https://github.com/emacs-lsp/lsp-dart/issues/107
Although the fix there seems to be to use flutter sdk-path which is the command that is failing here anyway, so perhaps this isn't helpful.

@justyn so I developed this plugin whilst running linux using Ubuntu, so I actually added the sdk-path initially for myself since that was the easiest way to find the binary, so I'm sure that that works since it did for my right up till I switched to a mac recently. I haven't changed that code in a very long time since it tends to cause loads of issues if I change it since someone's machine somewhere will break.
Plenary job shouldn't have any issue resolving that command, it could be that something is maybe erroring

@justyn can you try something similar but with
  job:after_failure(vim.schedule_wrap(function(...)
    vim.pretty_print(...) -- <- This will print all the arguments passed to the function
    ui.notify(
      { string.format("Error running %s", lookup_cmd) },
      { timeout = 5000, level = ui.ERROR }
    )
  end))

@akinsho
I got this output with the ...
{
	["is_shutdown"] = true,
	["command"] = "flutter",
	["_stdout_results"] =
	{
	},
	["stdout"] = uv_pipe_t: 0x558887bdd2a0,
	["stderr"] = uv_pipe_t: 0x558887bdfc40,
	["pid"] = 177360,
	["code"] = 1,
	["interactive"] = true,
	["handle"] = uv_process_t: 0x558887bdc420,
	["enable_handlers"] = true,
	["enable_recording"] = true,
	["user_data"] =
	{
	},
	["signal"] = 0,
	["_stderr_results"] =
	{
	},
	["stdin"] = uv_pipe_t: 0x558887bdfe10,
	["_additional_on_exit_callbacks"] =
	{
		[1] = function: 0x7f26aef57c58,
		[2] = function: 0x7f26aef57e08,
	},
	["args"] =
	{
		[1] = "sdk-path",
	},

Thanks for the help

Hmm, all that really clarifies is that the command is definitely failing when run from inside neovim, I wonder if you'd get the same error when run inside neovim's terminal 🤔(not that that really matters since it's not exactly equivalent). I think there's a plenary method to view the errors but it's not a super well documented library unfortuntely

Ah found another example from somewhere else in the code base, can you print j:stderr_result() i.e.
job:after_failure(vim.schedule_wrap(function(j)
	vim.pretty_print(j:stderr_result())
-- ...
end))

@akinsho seems to be empty, just shows {}

I did just try running flutter sdk-path in neovims :terminal and it worked, returned the correct path. 🤷

Just as a sanity check I changed lookup_cmd to which flutter and that executed correctly (and returned /snap/bin/flutter as expected.

This is really quite/hard for me to test on mac, so I can't really dig any deeper, and jumping around in VMs is a step beyond what I'm keen on doing, since my nvim plugins are already quite a large time sink I never planned on.
I guess if which flutter works for you, you can use that. I'm guessing that if this was a general problem, I'd have seen more reports of this. I've had quite a few issues like this about finding the flutter path across a bunch of OSes and distros etc. which is why there are so many mechanisms to find or specify the path.
I guess one other thing to do is to try checking the j:stdout_result() and maybe also logging inside the after_success handler just to see if anything is going on there.

Well unfortunately which flutter isn't returning a result that can be used for the SDK, it leads to other errors when the plugin can't find what its looking for. I meant I just ran it to make sure commands were running correctly at that point in the code.
I hear you about the time sink, and thank you for the time already spent on this.
One last thing I would like to try is to bypass the flutter sdk-path lookup and provide the result of that command (which is /home/MYUSER/snap/flutter/common/flutter directly.
I tried to pass the option flutter_path in init.lua, which docs say would take priority over the lookup, but I still get the message "Error running flutter sdk-tools".
Could you recommend the best approach to achieve this? Thanks

@justyn I only now just noticed amongst all of this that your init.lua is configured incorrectly. You cannot call setup immediately calling packer.startup it doesn't work like vim plug so by the time you call setup you probably havent loaded the plugin properly yet.
require('packer').startup(function(use)
  use 'wbthomason/packer.nvim'
  use {'akinsho/flutter-tools.nvim', requires = 'nvim-lua/plenary.nvim'}
end)

require("flutter-tools").setup{}

You should put your setup function inside of a config key in the use block e.g.
use {"thisplugin", config = function()
 require('flutter-tools').setup()
end}

Can you please run things this way and see if it helps

Hi @akinsho sorry maybe I'm getting confused but I think I already have this, my init.lua is pasted here: https://github.com/akinsho/flutter-tools.nvim/issues/146#issuecomment-1116039682
Is this still wrong?

Well after deleting packer and packer_compiled, I tried again with the latest flutter-tools but this time if I try to open a dart file it says Error detected while processing FileType Autocommands for "dart" [snip] client_id: expected number, got nil.
I'm taking this as a sign from the universe to give up for now.
Thanks for spending the time to try to debug my issue. Perhaps I'll revisit it at a later date.

It's working! 🎉
The issue I described here remains - "Error running flutter sdk-tools".
If I run this command in a terminal, it gives me the path the the SDK.
By appending /bin/flutter to this and passing it to flutter-tools with: flutter-tools = "PATH it works.
On my first attempt without appending /bin/flutter, I got an error, because flutter-tools was assuming that the directory 2 levels above the path I set was the SDK.
So for future reference by anybody else, this was the minimal init.lua file I used to get it running:
require('packer').startup(function(use)
  use 'wbthomason/packer.nvim'
  use {
        'akinsho/flutter-tools.nvim',
        requires = 'nvim-lua/plenary.nvim',
        config = function()
		require("flutter-tools").setup {
			flutter_path = "/home/MYUSER/snap/flutter/common/flutter/bin/flutter",
		}
		end
    }
end)

Thanks again @akinsho for all the help (and of course for developing the plugin).

@justyn just wanna say thank you! Linux user here and this fixed it for me :)


Need to add Header

Header er modde user er pic and update button er option thakbe

it's work but must need user profile pic

publish for a demo


Fix json examples in the api reference.

Signed-off-by: David Calavera<EMAIL_ADDRESS>

LGTM


modify the error chinese word

Signed-off-by: timyinshi<EMAIL_ADDRESS>/kind bug
/sig docs
delete the redundant word,and solve the problem of the statement is not smooth.

/assign @xichengliudui

/approve

/lgtm


Error: got an unexpected keyword argument 'shape'

When I run the train.py the following errors appear:
root@7b5e7d552258:~/speech-to-text-wavenet# python train.py
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcublas.so.8.0 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcudnn.so.5 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcufft.so.8.0 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcurand.so.8.0 locally
INFO:tensorflow:0225:23:49:51.252:data.py:73] VCTK corpus loaded.(total data=36395, total batch=2274)
Traceback (most recent call last):
File "train.py", line 79, in
loss = logit.sg_ctc(target=y, seq_len=seq_len)
File "/usr/local/lib/python2.7/dist-packages/sugartensor/sg_main.py", line 151, in wrapper
out = func(tensor, tf.sg_opt(kwargs))
File "/usr/local/lib/python2.7/dist-packages/sugartensor/sg_loss.py", line 225, in sg_ctc
out = tf.nn.ctc_loss(tensor, opt.target.sg_to_sparse(), opt.seq_len, time_major=False)
File "/usr/local/lib/python2.7/dist-packages/sugartensor/sg_main.py", line 151, in wrapper
out = func(tensor, tf.sg_opt(kwargs))
File "/usr/local/lib/python2.7/dist-packages/sugartensor/sg_transform.py", line 277, in sg_to_sparse
shape=tf.shape(tensor).sg_cast(dtype=tf.int64))
TypeError: init() got an unexpected keyword argument 'shape'

Try replacing decoded[0].shape with decoded[0].dense_shape in line 80 of `recognize.py' if you're using TF 1.0.
From
y = tf.sparse_to_dense(decoded[0].indices, decoded[0].shape, decoded[0].values) + 1
To
y = tf.sparse_to_dense(decoded[0].indices, decoded[0].dense_shape, decoded[0].values) + 1


PIP-209: Separate C++/Python clients to own repositories

Motivation
Pulsar C++ code base is in the same main repository for the Pulsar project.
While the decision was the right one at the time, there is a considerable overhead
in keeping the C++ client in its current position.
Issues with the current approach
The Pulsar repository has grown a lot in size and number of active developers.

The frequency of changes in various parts of the codebase has increased to a
point where the amount of resources dedicated to CI is very significant.
Every change in Java code will trigger the CI jobs for the C++ client and every
change in the C++ client will do the same.
During a CI job we are building the C++ client multiple times:

For C++ and Python client tests
To build Python wheels to be included in the pulsar Docker images (for supporting
Pulsar functions)

The release process for Pulsar has become very complex and requires building a
large number of binaries for C++ and Python clients. This has become too much
of a burden during the course of a Pulsar release.

Goal
Decouple the development of C++ and Python client libraries from the development
of the core components of Pulsar in Java.
API Changes
No response
Implementation
Changes
Repositories

Move the C++ client code to a new repository github.com/apache/pulsar-client-c++
Move the Python client code to a new repository github.com/apache/pulsar-client-python

The change will be done without losing any history, extracting a sub-directory into
a new Git repository.
git filter-repo --subdirectory-filter  pulsar-client-cpp

Release process
The release process will be split in multiple parts:

the main Pulsar release will only contain the Java parts (server distribution
and Java client library)
The C++ client will have its own release schedule and versioning
The Python client will have its own release schedule and versioning

Versioning
Both C++ and Python clients will continue with their own individual versioning.
In order to not break anything or cause more confusion, we would need to use
a new version that is bigger than the current version (2.11.x).
The suggestion is to start the new releases for both C++ and Python from 3.0.0.
Existing branches
Existing branches of Pulsar, where the C++ client will still be in the same main
the repository and will be receiving bug fixes in their current location.
The different location of the new C++ code will make the cherry-picking process
slightly more painful in the short term, though it will even out in long term.
Projects dependencies
C++/Python --> Pulsar
Both C++ and Python unit/integration tests are designed to run against a standalone
instance of Pulsar broker. In the current form, they're using the master code
that is built to run the tests.
After the split, the unit tests will use a Docker image of Pulsar. We can use a few
different images to test for compatibility

Latest stable (eg: 2.10.1)
Nightly (Pulsar Docker image published every day from master branch)

Pulsar --> Python
To create a Pulsar image, we are now building the Python client wheel file and then
installing it at build time.
Instead, we are going to include a wheel file for a version of the Python client
that has been already released.
Python --> C++
The Python client library is just a wrapper on top of the C++ client. Today these
are built together, with Python wrapper code residing in a sub-directory of C++ client
code, and compiled using the same CMake build script.
By separating the Python client into a different repository, we are going to
depend on an already released version of the C++ client.
Automated documentation in the website
On the Pulsar website we are auto-generating C++ documentation with the Doxygen
tool and the Python one with Pdoc.
Instead of just fetching the main repo code, the website build job should be
also fetching the new repos to run the tooling.
Alternatives
No response
Anything else?
No response

There're still several works to complete PIP-209. For example, dangling references, release processes, and doc gen processes. I will create issues for all of them and try to pick up some.

@merlimat please add these issues to the description as a checklist so that we can properly track subtasks.

https://github.com/apache/pulsar/issues/17916
https://github.com/apache/pulsar/issues/17917
https://github.com/apache/pulsar/issues/17918

Closed as resolved. Doc updates is tracked by https://github.com/apache/pulsar/issues/17918.
Ping once more @BewareMyPower :)


tjournal 0.12.1

action-homebrew-bump-formula

Created with brew bump-formula-pr.

This is for testing only.


Features/ai

Changes made on AI assistant Panel:
Header content added(logo and right side text),
main content added(chat icon and text),
Changes made on Files:
Pages -> layout -> Layout.tsx, Layout.module.css
Pages -> chat->Chat.tsx, Chat.module.css

Changes made on AI assistant Panel:
Header content added(logo and right side text),
main content added(chat icon and text),
message box style added
Changes made on Files:
Pages -> layout -> Layout.tsx, Layout.module.css
Pages -> chat->Chat.tsx, Chat.module.css
Components -> Answer->Answer.tsx, Answer.module.css


Nightly Linux 64bit failing

curl-sys isn't compiling because it can't find the OpenSSL libraries:
configure: error: OpenSSL libs and/or directories were not found where specified!
thread '<main>' panicked at 'assertion failed: t!(cmd . status (  )).success()', /home/rustbuild/src/rust-buildbot/slave/cargo-linux-64/.cargo/registry/src/github.com-1ecc6299db9ec823/curl-sys-0.1.21/build.rs:128

Full output: http://buildbot.rust-lang.org/builders/nightly-dist-cargo-linux-64/builds/135/steps/compile/logs/stdio
It's been failing since May 5th. I apologize if this isn't the right place to report this issue.
/cc @brson?

Oh oops! I fixed this but forgot to restart buildbot. I have just done so and this should be moving forward now.

Thanks!


Compiling error with Godot 2.1.3

I get the following error when trying to compile the 2.1 branch with Godot 2.1.3:
modules\benet\enet\godot.cpp(111): error C2039: 'set_blocking_mode': is not a member of 'PacketPeerUDP'
If I remove that line, instead of tinkering with the Godot core code, I get the following error trying to compile:
modules\benet\enet_packet_peer.cpp(622): error C2440: '=': cannot convert from 'void' to 'int'

To compile for 2.1 you still need to apply 2 small patches to Godot Core:
You will find the patches in the patch folder in the 2.1 branch.
https://github.com/Faless/godot-enet-better/tree/2.1/patch
I'll PR those patches to godot 2.1 branch at some point (they are backports from master) I'm waiting to PR all the network fixes together

Ah, OK, thanks for the heads up.  That makes sense.   And excuse my ignorance, it is sometimes vast, but how do you use the patches?

Yep, totally spaced that.  Git patches.  Those definitely worked, thanks for the information, sir!

Just an update, the patches are now merged in the 2.1 branch of Godot Engine.
You should be able to build the module without patching in that branch and the future 2.1.4 release

Awesome, good to know!  Thank you for the update, sir!

Are they moving ENet back into 2.1.4, hopefully?

Are they moving ENet back into 2.1.4, hopefully?

I don't think so, it's a 3.0 feature, I don't expect it to be backported


Associate user IDs and device IDs to poller sentry reports

I noticed that this might be helpful when looking through Sentry errors.
See the commit message of e5eb4f12bafb960a3389accba4ef22fb57721cb2  for more rationale.
Completely untested.

I manually checked this by running an E2E test with pollers altered to log an event to sentry every iteration of the polling loop. I could see a username and device ID logged to sentry alongside the traceback.


Fix for Java container release

Also changing ssh to https login in github, but that's more flexible.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

r: @lostluck

or r: @emilymye

Run Python_PVR_Flink PreCommit

Run Python_PVR_Flink PreCommit


Request Time out

[ ] I've read, understood, and done my best to follow the *CONTRIBUTING guidelines.

ℹ The requests were working fine till 28th April. After that I removed my pod files and updated them again at new location. I checked the difference between old project folder and the new one. But there are no differences. The old project is working fine but in the new project with updated pods, I am getting request time out in all apis. And also, somehow the IP is also getting blocked after that.
Note that the api urls are same for both the projects and there is no code differences between these two projects. I am clueless in why the IP is getting blocked and why the request with new pods are getting timed out.
Alamofire Environment
Alamofire version: 4.8.2
Xcode version: 10.2.1
Swift version: 4.2
Platform(s) running Alamofire: TvOS
macOS version running Xcode: 10.14.5 Beta
Demo Project
ℹ Please link to or upload a project we can download that reproduces the issue.
We have used PromiseKit with this
return Promise{ seal in
Alamofire.request(url, method: method, parameters: parameters, encoding: JSONEncoding.default, headers: requestHeaders)
.validate()
.responseJSON { (response) in
switch response.result{
case .success(let data):
seal.fulfill((data, response))
case .failure(let err):
seal.reject(NetworkErrorHandler.transform(err, with: response))
}
}
}
Also, As per few suggestions in earlier reported issues, I have tried to replace "JSONEncoding.default" with "URLEncoding.default" but it's of no use.
Please guide me how to fix this.

Can we get some update on this?

This doesn't seem to be an Alamofire issue, and we don't have time to troubleshoot your APIs.
We use our GitHub project for bug reports and feature requests. In the future, you should open questions like this on Stack Overflow.
Cheers. 🍻

From our Contribution Guidelines
Asking Questions
We don't use GitHub as a support forum. For any usage questions that are not specific to the project itself, please ask on Stack Overflow instead. By doing so, you'll be more likely to quickly solve your problem, and you'll allow anyone else with the same question to find the answer. This also allows maintainers to focus on improving the project for others.


fix: fallback return key error; functref support visual; redraw after close

I made some mistakes in previous commits:

fallback return key just return the current char, and will add the previous char with has_key branch
funcref also need visual before call
If it need redraw after close popup window？ in my test, sometimes will leave a window when execute command.

thanks