Fix: avoid duplicate link metrics

Scope & Purpose
We cannot update a link, but have to drop and recreate it. Until now, this new index had the same set of labels as the old one. However, on followers (and with replication2 also on the leader), the DropIndex and EnsureIndex actions could run concurrently. I.e., we could try to create the new index before the old one was fully removed. In this case we could get a duplicate metric exception, preventing the index from being created. Such errors are not really handled ATM, they are simply logged and otherwise ignored. That means the index will simply not be available on the affected server, since we will also do not retry to create it at a later time.
To avoid this, we add a new indexId label to the metric to make it unique.

[x] :hankey: Bugfix

Checklist

[ ] Tests

[ ] Regression tests
[ ] C++ Unit tests
[ ] integration tests
[ ] resilience tests

[x] :book: CHANGELOG entry made
[x] Backports

[x] Backport for 3.11: #20421
[x] Backport for 3.10: #20422

@MBkkt good point about getLabels and inverted indexes - will fix that. But I don't get why this should break aggregation on the coordinators. Can you elaborate?

@mpoeter We have cluster metrics functionality. For now metrics aggregating by removing shard from labels


[release-0.58] [vmi-mutator-webhook]: do not inject LimitRange defaults into VMI

Signed-off-by: enp0s3<EMAIL_ADDRESS>This is a manual cherry-pick of #9054
What this PR does / why we need it:
There were merge conflicts in the e2e tests because of recent refactors in the main branch
Which issue(s) this PR fixes
https://bugzilla.redhat.com/show_bug.cgi?id=2152534
Release note:
NONE

/lgtm

/approve
/hold
Feel free to unhold once the BZ is updated in the description

/unhold
PR desc updated


Please update examples

Hi, I'm having a lot of trouble getting this to work. Using version 0.5.0 from cdnjs.com I have been able to get the basic plugin working with Bootstrap 3.3.5. But I have not been able to get typeahead working, and it's really hard to diagnose what the problem is when your examples are using old versions of bootstrap, typeahead and this very plugin. Can you please update the examples to use the latest versions of everything? For typeahead that should be the fork at https://typeahead.js.org
It would also really help to have examples using typeahead but without Bloodhound. The docs say that you can use JQuery.get (and getJSON I assume) just in typeahead.source, or even just a plain array, but I haven't been able to get either working.

Thanks for pointing that out. I'll make updating those a priority and try
and get them out asap
On Nov 1, 2015 8:52 PM, "Dannii Willis"<EMAIL_ADDRESS>wrote:

Hi, I'm having a lot of trouble getting this to work. Using version 0.5.0
from cdnjs.com https://cdnjs.com/libraries/bootstrap-tagsinput I have
been able to get the basic plugin working with Bootstrap 3.3.5. But I have
not been able to get typeahead working, and it's really hard to diagnose
what the problem is when your examples are using old versions of bootstrap,
typeahead and this very plugin. Can you please update the examples to use
the latest versions of everything? For typeahead that should be the fork at
https://typeahead.js.org
It would also really help to have examples using typeahead but without
Bloodhound. The docs say that you can use JQuery.get (and getJSON I assume)
just in typeahead.source, or even just a plain array, but I haven't been
able to get either working.
—
Reply to this email directly or view it on GitHub
https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/issues/414.

Thanks! :)

@curiousdannii Examples page has been updated - let me know if you're still having any issues and I'll see how I can help

The link to bootstrap 2.3.2 in the header should be updated. Otherwise it looks good. If I have further troubles I'll make a new issue.


less counting, proper list handling, and adds to NOT default group

a better version of anudeepND/whitelist/pull/183
also should close anudeepND/whitelist/issues/179 AND close anudeepND/whitelist/issues/180

use
curl -sSL https://raw.githubusercontent.com/mwoolweaver/whitelist/master/scripts/whitelist.py | sudo /usr/bin/env python3
to test before merge

@mwoolweaver Sorry for the late reply, thanks for this PR :)


pdb_delsc - one tool two jobs

verison 2
Following the "one tool one job" rule, pdb_delsc deletes side chain atoms and allows for residue selection. This shouldn't be because of pdb_selres already selects residues.

Very true. I am removing it because we have pdb_selatom now, so this is the equivalent of doing pdb_selatom -CA,C,N,O. No need for redundancy.


AssertThatTypeDoesNotMatchTest.java:31-31: Improve test coverage and mutation...

The puzzle 47-de66b5c3 (from #47) in atom-codegen/src/test/java/oo/atom/codegen/bytebuddy/matchers/AssertThatTypeDoesNotMatchTest.java (lines 31-31) has to be resolved: "Improve test coverage and mutation coverage for {@link AssertThatTypeDoesNotMatch}"
The puzzle was created by Kapralov Sergey on 29-Sep-17.
Estimate: 15 minutes, role: IMP.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

@skapral please pay attention to this new issue.


全局表该如何配置,sharding-jdbc的版本是1,5

Please answer these questions before submitting your issue. Thanks!
Which version of Sharding-Jdbc do you using?
Expected behavior
Actual behavior
Steps to reproduce the behavior
Please provide the reproduce example codes (such as github link) if possible.

我想要实现的效果是:  sharding_0, sharding_1有张表t_type, 插入记录时,往这2个表同时添加记录，而不是只往默认数据源加


Pasting into terminal find doesn't work on Windows

VSCode Version: 1.14.1
OS Version: Windows 10

Steps to Reproduce:

Copy some text
Focus on terminal and click ctrl+f and then ctrl+v

Search input is focused but after clicking ctrl+v the text is pasted in terminal itself.

Reproduces without extensions: Yes

Also on macOS when I focus in the search input and click command+a the text in terminal is selected, not the input content. Pasting works fine though.
The problem seems to be that keyboard shortcuts don't always work in the context of the search input when it's focused...

The cmd+a thing is fixed in Insiders I believe.

This happens because TerminalPasteAction is assigned the Ctrl+V shortcut and it hijacks the input from the TerminalFindWidget.
@Tyriar, do you think changing the default keybinding to Ctrl+Shift+V would be ok? In this case, pressing Ctrl+V in the find widget works as expected.

It's ctrl+v as I've tried to stay in line with OS standards and that's what cmd.exe uses. This should be able to get fixed by resolving the conflict.
/cc @cleidigh @rebornix

It also happens when you right click the search box, at least on Windows - see details described here.


some sites show wrong icon

https://keep.google.com/

This is because it redirects to the Google sign in screen. You could define another favicon endpoint here (e.g. http://favicongrabber.com), but it won’t fix it, because you access the endpoint anonymously.
I think the best way to solve this is by proving an option to set a specific favicon per site.


Documentation does not help import data

(tensorflow)python train.py
Traceback (most recent call last):
File "train.py", line 17, in
from data import *
ImportError: No module named data

I corrected it. Thanks.

Thanks for the quick turn around time!


[SDK] Kill tasks based on resource-sets

Tasks should be killed based on whether a resource-set is being consumed by a task from their pod already, not based on task name.

@mrbrowning: This is rebased on #532. So that should go in first, so ignore the first two commits please?

@mrbrowning: I will add the following to documentation:
At any given point in time only a single task may consume a resource-set.  Any attempt to launch a task consuming an already consumed resource-set.  Will result in the killing of the task which is currently running and the launch of the new task.
Clear?
Finally, the scenario addresses is one I ran into when testing manual recovery of HDFS clusters.  If you want to restart a bootstrap Step, you can set it to pending, but it doesn't kill the appropriate running server task so that it can run.

@mrbrowning:  See #566 for the docs change.


register URLs to the OS (open YouTube in ElectronPlayer)

Is it possible to make the OS default browser (for instance Safari) open YouTube URLs in ElectronPlayer be default (if desired)? If possible at all this properly should be googled via a setting.

If I had to guess I would assume this is not possible to cause for example Youtube's domain to launch the app but I will investigate and report back. Maybe there would be a Chrome/Safari/etc extension that could be used to give this functionality.

From my research, this isn't really easily possible. You can define custom URLs like electronplayer://menu which could launch the application but I can not see any way of overriding certain http/s URLS. I assume this functionality could be created with a Safari or Chrome or ect extension but that is not really in the scope of this project. You could have the extension that detects set URLs ie. 'https://youtube.com' and then redirect them to electronplayer://openurl?url=urlhere. I could add support for those custom protocol links if you are interested in building this. If you do decide to build this please contact me if you have any questions and I can link to it in the README if you finish it, for others who want to use it.


question about performance in DocAVQ

I use your code, the performance on the DocAVQ dataset can only reach 49. Can you provide your trained model？

I have already provided the Model Weights here: https://github.com/anisha2102/docvqa#model-checkpoints
PS: In the final submission, I used a second model for handling the cases of empty predictions of the model shared above.

I have already provided the Model Weights here: https://github.com/anisha2102/docvqa#model-checkpoints
PS: In the final submission, I used a second model for handling the cases of empty predictions of the model shared above.

second model？ This link has only one model.
I use this model to predict on the docvqa only get 45...

Can you help me answer the question?

Hi @shaoqb,
I have not updated the testing and postprocessing scripts for this repository yet - this repository was only meant for sharing the training code so people can play around with it. So it will be difficult to reproduce exact results.
I  will surely try to update the code further when I have time.
Some pointers which might be helpful:

Look at the outputs of the model - As the metric is ANLS even mismatches of spaces between prediction and ground-truth can harm your performance. I  had performed some post-processing to tackle this.
You can try to retrain the model using the code and pick your best checkpoint to handle outputs for cases where the above model did not give any answer.

could you update  the testing and postprocessing scripts ？This will help me reproduce the results of docvqa，I will be very grateful to you！


should examples point to the cdn for altspace sdk resources?

Sorry, I don't know what altspace SDK is. Maybe you're reporting the issue on the wrong issue tracker? This is for project called "hub", a command-line tool for git.


Migrate from highfive to triagebot

This migrates this repository from using the highfive bot to using triagebot (aka rustbot).
This is ready to merge now, feel free to merge to re-enable auto-assignment.

Thanks for re-submitting! This time I've read the description and I believe it's ready to go :)
@bors r+

:pushpin: Commit 37201f199251e2bb6695481de5eee34e7bee4a6f has been approved by JohnTitor
It is now in the queue for this repository.

:hourglass: Testing commit 37201f199251e2bb6695481de5eee34e7bee4a6f with merge e4b8fd4f59a87346c870295c8125469c672998aa...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14
Approved by: JohnTitor
Pushing e4b8fd4f59a87346c870295c8125469c672998aa to master...


Different Location Accuracy Result on Google Map and NativeScript Geolocator On Same Mobile Device

Similar to the issue raised in the following link which has been closed:
https://github.com/NativeScript/nativescript-geolocation/issues/69
I utilized the NativeScript Geolocator plugin (with an Accuracy.high option) to obtain the longitude & latitude of my location on an Android device (version 7.0). The horizontal/vertical accuracy of the location returned was a range of 500 - 1,500 metres.
When I put the location obtained on Google Map (using the required Latitude,Longitude pair), the location is very far from my actual location (corresponding to the horizontal/vertical accuracy).
However, when I use the Google Map mobile app to obtain my current location it is very accurate (as displayed by the blue marker/indicator).
I would have thought that the location provided by the NativeScript Geolocator plugin (using the Accuracy.high option) should be same as that of Google Map mobile app since they use the same Google Play Services.
Could someone help with this.

@oduwareosahon I've tried to reproduce the issue using this test application but to no avail.
Please provide more additional information (sample application, project dependencies, API levels of used devices/emulators) so we could investigate further based on your specific scenario.

You can replicate this issue by testing the following on a physical android device:
(1a) Following the example in the code extract below, create a simple NativeScript project that uses the NativeScript Geolocator plugin to obtain your current location (using the Accuracy.high option). To keep this simple, print out the location (longitude/latitude as well as the horizontal/vertical accuracy) to the console.
(1b) Display the location (longitude & latitude values) obtained from the above step on a map.
(2) Open Google Map Android App on the same physical device (install it if not installed). The blue marker should indicate your current location.
(3) Compare the location displayed on a map in Step 1 with that of Step 2. You should notice that the location on the Google Map App (Step 2) is very accurate, while the location obtained from NativeScript Geolocator plugin (Step 1) is very inaccurate (ranges between 500 - 1,500 metres from the actual location).
My question is why the difference in accuracy on the same physical device when (according to the documentation) they both use the same Google Play Services.
CODE EXTRACT
// Import Section
import { Component, ElementRef, OnInit, ViewChild } from "@angular/core";
import { View } from "ui/core/view";
import * as geolocation from "nativescript-geolocation";
import * as camera from "nativescript-camera";
import { Image } from "ui/image";
import { Accuracy } from "ui/enums";
// Function to get the current location
buttonGetLocationTap() {
geolocation.isEnabled().then(function (isEnabled) {
if (!isEnabled) {
geolocation.enableLocationRequest().then(function () {}, function (e) {
console.log("Error: " + (e.message || e));
});
}
}, function (e) {
console.log("Error: " + (e.message || e));
});
if(geolocation.isEnabled()) {
  var location = geolocation.getCurrentLocation({desiredAccuracy: Accuracy.high, updateTime: 5000, timeout: 20000}).
  then(function(loc) {
      if (loc) {
          console.log("Current location is: Longitude => " + loc.longitude + "; Latitude => " + loc.latitude +
                      "; Hor.Accuracy: "+loc.horizontalAccuracy+"; Ver.Accuracy: "+loc.verticalAccuracy);
      }
  }, function(e){
      console.log("Error: " + e.message);
  });
}

}

@NickIliev I think I finally have a clue as to what might be the likely cause of the difference in accuracy. I observed the following on my device (Tecno Carmon CX):

Under Settings -> Location -> Mode, there are 3 options:

High Accuracy (Use GPS, Wi-Fi, Bluetooth, or cellular networks to determine location)
Battery Saving (Use Wi-Fi, Bluetooth, or cellular networks to determine location)
Device only (Use GPS to determine location)

When the app sends an enable location request, I get a prompt - "To continue, let your device turn on location, which uses Google's location service...." This selects the first option (High Accuracy) among the 3 options stated above. However, it seems that with this option on my device, the Geolocation plugin isn't using the device GPS to determine the location as expected (the documentation states that it would use the most accurate location provider that is available).
When I attempt to change the Settings -> Location -> Mode option to either "Battery Saving" or "Device only", the app keeps giving the initial prompt to turn on location which sets the option back to "High Accuracy". The issue seems to be that with this option, the Geolocation plugin doesn't use the device GPS to determine the location. How? I discovered this to be so by manually changing the Settings -> Location -> Mode option to "Battery Saving" which would use Wi-Fi, Bluetooth, or cellular networks to determine location. With this option, on the Google Map android app the current location marker (blue indicator) is exactly the same as the inaccurate position returned by the Geolocation plugin. However, when I change the option to "Device only" which would use GPS to determine location, the Google Map android app returns an accurate location.
Is there a way to ensure that the Geolocation plugin only uses the device GPS to determine the location and returns say a NULL location otherwise OR is there a way to make the Geolocation plugin accept other location options on my device - e.g "Device only"?

Can confirm the accuracy is also WAY off on iOS too.

10+ kilometres off in my test.

Here's the Playground I used.
Test method:

Get location from Playground.
Copy the location lat/lon coordinates into Google Maps.
Use Google Maps Measure Tool to measure the distance from my known location and the plugins' output location.

Test Device:

iPhone 6s Plus
iOS 12.3.1

I also see no difference between High, and Any accuracy

The lat/lon coordinates are the same for both.
And both are way off in accuracy.

After rolling my own implementations I have found

iOS eventually gets very accurate. Not sure how the wizards at Google get precise accuracy immediately in there Maps app, but my implementation gets there after a few seconds.
Android never gets accurate. For me it's first returned fix is all I ever get; it's about 3km off. Turning Google Location Accuracy off, so my device is forced to use GPS results in no location data at all.


When a session starts from a referral

Hello,
When a user visits our site via a ...utm_source=taboola&utm_medium=referral and a clearly showed referral adress like https://trc.taboola.com/... the javascript doesn't records the utms.
We are running ads on taboola.com which is a tool for content delivery.

sorry.
it was a typo in my script: used utm_utm_source


Add a turbo:reload event that returns the reason why turbo needed to do a hard reload.

I feel like we are missing an event fired when the page is going to be hard reloaded. With turbo:reload users will be able to listen to why their Turbo navigations are causing reloads instead of soft-navigation. That will help users track the data and improve their apps.

I like this. @seanpdoyle thoughts on implementation?

hey @dhh @seanpdoyle 👋
Anything I need to add to get this merged?

Could you share a use-case that depends on the contents of the event.detail.reason?
I can understand the utility of the turbo:reload event, but I'm curious what types of things more information and context would enable. It's worth mentioning that whatever values we introduce here would be treated as a public API, and we'd be beholden to maintaining those values, regardless of any internal implementation changes or architectural restructuring.

@seanpdoyle that's a great question. We compute hashes for JS versions, and CSP headers, which we deliver in <meta> tags with data-turbo-track="reload" on. We want to observe when these get triggered so we can measure & potentially react to them. We'd like to differentiate those from from <meta name="turbo-visit-control"> which is far more intentional and would go in a different reporting bucket than changes to CSP headers which invalidate a Turbo request.

@seanpdoyle those cases make sense for you?


Environment & Environments now children of abstracts TerminusModel & TerminusCollection

Part of #411
Fully linted & encapsulated

I've reviewed this as best I can, I think I understand the change and it looks good to me, there aren't any obvious suggestions. +1 nice one! Good to see us moving to reusable classes.


demangler: Support the future final mangling prefix $S

As it’s not clear if we will need underscores, the demangler accepts $S and _$S.
Note that a double underscore is handled by the demangler client.
rdar://problem/32251811
*) Explanation: Support the future final mangling prefix $S
*) Scope: This is an enhancement of the demangler. It does not affect the compiler.
*) Origin: rdar://problem/32251811
*) Risk: Low. It does not affect the compilation.

@swift-ci Please test

@rjmccall Can you please review this PR?


Create common administrative "Edit modal" widget similar to confirm_dialog

We have several modals with very similar implementations, that would likely benefit from sharing a common framework:

The "Edit bots" modal
The "Edit user" modal
The "Edit linkifier" modal, static/templates/settings/admin_linkifier_edit_form.hbs
The "custom profile fields" edit widget is inline probably should be converted into a modal.

We should create a edit_fields_modal widget that can share much of the copy/pasted code (especially HTML template code) for these widgets.
Tagging as difficult because this requires careful refactoring, grepping, commit structure, and manual testing to do this productively without requiring a lot of reviewer work to manually test.

chats on refactoring modals https://chat.zulip.org/#narrow/stream/6-frontend/topic/refactor.20modals.20to.20confirm_dialog

@ritikchauhan-01 Are you still working on this?

@ritikchauhan-01 Are you still working on this?

yes

@ritikchauhan-01 are you still working on this?

@zulipbot abandon

@sahil839 No

@zulipbot claim


Multiple tailwind configurations

Hey there
First of all thanks for a awesome css framework. Now my question is it possible to  have two configurations(tailwind.css). Basically i want a frontend-tailwind.js and a backend-tailwind.js. So i that i can have two styles sheets backend.scss and frontend.scss wich each uses their own configuration file and have their own classes. So that i dont need to load more css then needed.

What build system are you using? The instructions will be different whether you are using Webpack, Gulp, Laravel Mix, etc.

Thanks for the quick reply i am using Laravel Mix. :)

So here's as close as I've gotten with Mix:
mix.sass('./resources/assets/sass/front.scss', './public/css/sass-front.css')
    .sass('./resources/assets/sass/back.scss', './public/css/sass-back.css')
    .options({
        processCssUrls: false,
    })

Config.preprocessors.sass[0].postCssPlugins = [tailwindcss('./tailwind-front.js')];
Config.preprocessors.sass[1].postCssPlugins = [tailwindcss('./tailwind-back.js')];

It's not quite working though, seems to be using the same config for both and I haven't quite figured out if that's a Tailwind problem or a Mix problem. Don't have a ton of time to explore it further right now but feel free to try and troubleshoot that deeper 👍

Thanks, ill try to look into that

What you can do is creating two different Laravel Mix webpack config files like so:
https://stackoverflow.com/questions/45046696/laravel-mix-multiple-entry-points-generates-one-manifest-js
Thus you can use different tailwind configurations!

Thanks ill try that out

@adamwathan @Pab89 It might be worth having a look at https://github.com/JeffreyWay/laravel-mix/issues/1688#issuecomment-415008456

Also look at this comment: https://github.com/JeffreyWay/laravel-mix/issues/1688#issuecomment-445872399

@adamwathan Is this doable relatively easily with just straight up postcss and tailwind? I have a similar situation, where I want to use tailwind to style HTML that will eventually be converted into a PDF, which will use different CSS than the main application.

@adamwathan since Webpack v4 this doesn't appear to work. It looks like it's not recommended to use extract-text-webpack-plugin for CSS anymore, which is causing some problems. Has anyone solved this recently?

@jakedohm You could do something like:
const tailwind = require('tailwindcss');
...
.sass('resources/sass/app/app.scss', 'public/css/app.css', {
    implementation: require('node-sass')
}, [
    tailwind(`./resources/sass/app/tailwind.config.js`)
])
.sass('resources/sass/admin/admin.scss', 'public/css/admin.css', {
    implementation: require('node-sass')
}, [
    tailwind(`./resources/sass/admin/tailwind.config.js`)
])

@rosswilson252 This is unfortunately not possible at the moment. I tried and your code example will end up in an infinite loop. As far as I know it is impossible to use two config files with Laravel Mix, when you also want to use SCSS in your project.
Even when you try to build around the issue, tailwind is only accepting one argument. Or you get to work with https://laravel-mix.com/extensions/postcss-config, but again, you're left alone when you want to use it with SCSS.

@heyalbert I've used the above example in quite a few projects now (sometimes outputting 3 or 4 different sections).
Are you trying to use two different config files for a single output i.e (tailwind1.config.js and tailwind2.config.js) > app.css?


Add custom metrics locust

added custom metric support for Locust to track metrics like number of tokens sent and received. The framework can be easily extended.
If the variable enable_custom_metric is set to true then  custom metrics collected by the locust master is available at the following endpoints:

While the test is running

http://$LOCUST_SERVICE_IP:8089/custom_metrics/custom_metrics.csv

After a test ends:

http://$LOCUST_SERVICE_IP:8089/custom_metrics/custom_metrics_final.csv

/gcbrun


Opens new file as tab, but cannot go navigate to it

Hello!
Every time I open a second file with nerdtree (pressing enter), it goes to a new tab (or what it seems to be a tab). Checking on :buffers gives me effectively all the files I've opened, but I cannot navigate them with gt/gT.
Also, if I try to close one of the "tabs" with :q and Nerdtree closed, it closes all the buffers, exiting neovim.
Finally, if I open the files with "t" instead of "enter" I can navigate to these files gt/gT, but if I mistakenly open another file with enter, it opens a another buffer that I cannot close. without closing as well the other buffer where I was at the moment I opened the second one. The tabs does not close.
I'm using neovim and archlinux and plug to install nerdtree. And I've mapped Nerdtree to open with F3.
Thanks!

It really seems you're confused about how Vim works... I'm unable to follow the description of your issue.  I suggest you continue to read the documentation and try things out. In the future, please provided enough information so that we can reproduce your issue precisely.
This issue is quite old, so I will now close.


Use 'az monitor autoscale list' instead

DaveVoyles@Dave-MacBook-Pro  ~  az monitor autoscale-settings list
This command is deprecating and will be removed in future releases. Use 'az monitor autoscale list' instead.

Removed settings

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[ ] I adhere to the Command Guidelines.

@DaveVoyles  we don't see the necessity of this change. There are help docs for the az monitor autoscale commands as just above you changes: https://github.com/DaveVoyles/azure-cli/blob/cd90cf33d6cb9f47733aeb5a8b21e6b8572986c2/src/command_modules/azure-cli-monitor/azure/cli/command_modules/monitor/_help.py#L273.
I will close this PR. Please feel free to share your concerns if we missed your point.

I'm confused. Is this command being deprecated or removed?  I changed the command to the one the warning suggested.

There are two commands in the CLI:
az monitor autoscale list - the new version
az monitor autoscale-settings list - the deprecated version which will be removed.
There is already help for both of these.  You were changing the autoscale list help to use the autoscale-settings list help, which is not a change we want to make.  The warning is to tell you to use autoscale list instead of autoscale-settings list because the deprecated command will be removed in the future (the near future in this case).

Ah OK, now I understand. Thank you for clarifying!


Uninstall mcfunction has Errors

Describe the bug
Error in tellraw uninstall command
To Reproduce
Steps to reproduce the behavior:

Generate a datapack
Try and run function (not there)

Expected behavior
tellraw @s ["",{"text":"[NBS] ","color":"gold","bold":true},{"text":"Data pack ","color":"yellow"},{"text":"lobby","color":"gold","underlined":true},{"text":" uninstalled successfully. You may now remove it from your data pack folder.","color":"yellow"}]
Current Command
tellraw @s ["",{"text":"[NBS] ","color":"gold","bold":"true"},{"text":"Data pack ","color":"yellow"},{"text":"lobby","color":"gold","underlined":"true"},{"text":" uninstalled successfully. You may now remove it from your data pack folder.","color":"yellow"}]
Additional context
Version 3.10.0

"true" should just be true


Make refactoring test suite portable across machines

The symptom: Running the MIM core in the way the test suite runs it produces different results on Ed's laptop than it did on my desktop, so bit-for-bit checking against checked-in known-good outputs fails.
Possible causes:

Binary format compatibility problem (Fortran "unformatted" output is alleged to be system-dependent).
Compiler/runtime/OS version difference leading to (hopefully small) differences in numerical output.

Possible solutions:

If it's only cause 2, could write a small Python program that compares corresponding pairs of output files semantically, e.g., by computing pointwise relative error, or pointwise absolute difference divided by maximum array element (a version of relative error for arrays of things that are supposed to be on the same scale).

Pro: Would be useful to check soundness of changes that are expected to change the numerics but not much.
Pro: If equipped with visualizations, could become a user-facing facility (What changed between this run and that one?)
Con: Doesn't address cause 1.

Save the outputs in some portable format, either directly from the MIM core, or as a post-process conversion written in Python.

Pro: This is a useful user-facing facility to have anyway.
Con: Doesn't address cause 2 by itself, but does if combined with the preceding.
Con: Writing formatted output is presumably slower than unformatted.  Doing this automatically could affect the total latency of a run, especially if we do the simple thing of doing the conversion in post-processing, after the core simulation has finished.
Con: The formatted files will presumably be larger, which would make them yet more annoying to keep checked in.  Need to make a choice as to whether to use a human-readable format (still larger, conversion may be even slower) or a portable binary format.  Are there standard formats in either category?  netCDF?

Change the test process not to rely on checked-in known-good outputs, but instead to clone the MIM repo at a specific version (in a subdirectory), and generate the known-good outputs using that version.

Note: It is not too difficult to arrange this to only download the blessed MIM core and build the outputs from it once, rather than wasting time doing it once per test run.
Pro: Less auto-generated stuff in the git repository.
Pro: Should solve both cause 1 and cause 2 at once.
Con: (Somewhat) more complex test harness.
Con: Not reusable for other purposes; generates none of the co-benefits of the other two solutions.

Some thoughts:

"Save the outputs in some portable format, either directly from the MIM core, or as a post-process conversion written in Python" deserves to have it's own ticket. This is potentially a very large feature that deserves to be discussed in its own right.

If this is caused by compiler/runtime differences, then running the test suite without any optimisations may be enough to fix the issue.

I like solution one because it gives us a mechanism for examining how numerical changes affect the output. This will be handy when dealing with #1. And, as mentioned it could be a useful facility for users.

I should also have mentioned that I need to edit https://github.com/edoddridge/MIM/blob/master/test/output_preservation_test.py#L51 and https://github.com/edoddridge/MIM/blob/master/test/output_preservation_test.py#L53 to contain "./MIM" in order for the test suite to run on my mac laptop.

Now that I've installed valgrind the two beta_plane_gyre tests still fail and I am informed of a tiny memory leak. It seems that the memory leak is not real, but is just an artefact of the OS.
This may be more evidence that cause 2 is responsible.

The ./MIM is a function of whether or not . is mentioned in your $PATH environment variable.  The test suite should not rely on that being the case, so ./MIM is appropriate.

Does valgrind produce a failure exit status due to that memory leak?  Paste the test runner output?

The output from valgrind is:
==71978== Memcheck, a memory error detector
==71978== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==71978== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info
==71978== Command: ./MIM
==71978==
STOP 0
==71978==
==71978== HEAP SUMMARY:
==71978==     in use at exit: 22,263 bytes in 194 blocks
==71978==   total heap usage: 6,293 allocs, 6,099 frees, 11,069,230 bytes allocated
==71978==
==71978== LEAK SUMMARY:
==71978==    definitely lost: 80 bytes in 2 blocks
==71978==    indirectly lost: 0 bytes in 0 blocks
==71978==      possibly lost: 0 bytes in 0 blocks
==71978==    still reachable: 0 bytes in 0 blocks
==71978==         suppressed: 22,183 bytes in 192 blocks
==71978== Rerun with --leak-check=full to see details of leaked memory
==71978==
==71978== For counts of detected and suppressed errors, rerun with: -v
==71978== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

OK.  Then I wouldn't worry about it.  Memory leaks are less bad than unallocated memory access, so we can defer systematically looking for them.  This one in particular is small enough to ignore.

@edoddridge does the refactoring suite pass on your machine now?  Can we close this issue as done, at least for the time being?

The test suite passes on my laptop, so I agree we can close this.


Add support for 'checkstyle' output

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features) see docs/README.md

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Add support for the checkstyle output format. Checkstyle is a static code analysis tool used in software development.
What is the current behavior? (You can also link to an open issue here)
Currently, woke supports the following output formats: text, simple, github-actions, json and sonarqube.
What is the new behavior (if this is a feature change)?
Adding new output format (checkstyle).
Does this PR introduce a breaking change? (What changes might users need to make due to this PR?)
No
Other information:
Checkstyle is a static code analysis tool used in software development. While checkstyle was originally designed for Java static analysis, multiple CICD tools support the checkstyle XML format. The checkstyle format can be used to report generic static analysis issues, not just Java. A list of supported tools is available at https://checkstyle.org/index.html#Related_Tools_Active_Tools
For example:

golangci-lint can produce output of golang static analysis in checkstyle format.
The Jenkins warning NG plug-in can show the results of static analysis using checkstyle format.

Though the checkstyle format is very simple, there is no formal XSD. See https://github.com/checkstyle/checkstyle/issues/5166

Thanks!

Released in v0.19.0


prevents WaitGroup from being copied after the first use

/lgtm
/approve

/cherrypick release-4.3


add CI/CD Workflow

Automate build, test, and deployment of your project:
On every push or pull request, trigger unit tests and build the project.
Deploy the application to a testing/staging environment if all tests pass.

@ananyag309, do reach out if you have any doubts
Happy Coding!


ask for help

first:  each tab should given the same weight  , so I set app:stl_distributeEvenly="true"
second: the Indicator width should be the same with the title text width  , can it be possible ?

I've solved this， thank you

Mark it as solved to help others

By all means, don't tell others how you solved it 😠

@ainiyiwan  How did you set the indicator's width to be the same as the title text?


github-runner: systemd hardening too restrictive

Describe the bug
#163030 introduced systemd syscall filtering which seems overly restrictive for common use cases.
Steps To Reproduce

We use cargo-tarpaulin for coverage reports of our Rust projects which makes use of the ptrace(2) system call (denied by ~@debug).
Android projects commonly rely on arm-linux-androideabi-ar which uses chown(2) (denied by ~@privileged).

Expected behavior
In my opinion, those use cases are too common and should work out of the box. Also, workflow failures are difficult to debug if syscall filtering (or any hardening) steps in.
I'd suggest to revise the syscall filtering:
https://github.com/NixOS/nixpkgs/blob/26839ce8e094340fb89a718b07a4807eebd984f4/nixos/modules/services/continuous-integration/github-runner.nix#L304-L310
Also, it might help with debugging or employing a custom hardening configuration if we add a module option enableHardening which defaults to true.
Notify maintainers
@newAM @kfollesdal
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"x86_64-linux"`
 - host os: `Linux 5.18.6, NixOS, 22.11 (Raccoon), 22.11.20220629.cf3ab54`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.9.1`
 - nixpkgs: `/nix/store/8mik2m5inkjin29v5gv5zc2jji4lab3l-source`
output here

@aanderse also noted problems with makefile workflows in #163030 that I have been able to reproduce.
I am sorry I did not catch this when making the changes originally.  My usecase was running binaries on uncommon targets (e.g. thumbv7em-none-eabi) connected over USB; and I only had light testing for other usecases.  I have since added a makefile test to the runner I use for testing package/module updates and will add a coverage workflow now too.
I am ok with removing the SystemCallFilter harderning entirely, or making it more permissive.  I only added this because at the time I thought it would be a sane default for majority of applications.  I would prefer we keep some hardening.  Most people probably do not want a CI process to change the clock, hostname, or reboot the system entirely.
I have been working on this in the background since @aanderse reported issues; this is what I have come up with so far, I have not tested it with cargo-tarpaulin yet (will do that later this weekend); but it does allow make and debug related tools such as strace to function.
{
  SystemCallFilter = [
    "~@capset"
    "~@clock"
    "~@cpu-emulation"
    "~@module"
    "~@mount"
    "~@obsolete"
    "~@raw-io"
    "~@reboot"
    "~@setdomainname"
    "~@sethostname"
  ];
  # Prevents "GC Warning: Couldn't read /proc/stat" when running nix
  ProcSubset = "all";
}

In addition to SystemCallFilter changes ProcSubset should also be changed to "all" so that nix does not emit warnings when running.

Most people probably do not want a CI process to change the clock, hostname, or reboot the system entirely.

:+1:

In addition to SystemCallFilter changes ProcSubset should also be changed to "all" so that nix does not emit warnings when running.

:+1:

we should remove them or make them optional

Yes, all this hardening is already available and entirely optional! Every user is free to add anything to systemd.services.github-runner.serviceConfig that they want. I understand that NixOS developers are super keen on systemd hardening, which is generally good, but for certain applications I just don't think it makes sense to go over the top... or even provide "curated" selections behind 'enableHardening' type flags. CI software is so broad I think we're providing more trouble and confusion than value here.
My personal recommendation for this specific module is to follow what @newAM suggested as a reasonable default and let users decide any hardening they want for themselves. But I'm not the maintainer of this module in NixOS, just a user, so I defer to those who are volunteering their time to maintain this module :bowing_man:

PR to fix is here: #181867
Mentions do not generate notifications, just making a comment so that anyone subscribed to this issue gets a notification.


[docs] update shiki config for transformers API

Description (required)
An update has been made to shikiConfig's API.
⚠ For some reason when I save the file, it is reformatted with other lines losing a trailing space.

Related issues & labels (optional)

Closes #
Suggested label:

For Astro version: 4.2. See astro PR #9643.

Hello! Thank you for opening your first PR to Astro’s Docs! 🎉
Here’s what will happen next:

Our GitHub bots will run to check your changes.
If they spot any broken links you will see some error messages on this PR.
Don’t hesitate to ask any questions if you’re not sure what these mean!

In a few minutes, you’ll be able to see a preview of your changes on Netlify 🥳

One or more of our maintainers will take a look and may ask you to make changes.
We try to be responsive, but don’t worry if this takes a few days.


DPS5015 v2.6 Display blank

Hello!
Has anyone tried to flash a DPS5015 hardware rev. 2.6 with opendps recently?
I noticed that the background light is contantly on but nothing is getting displayed after flashing.
After that I wanted to build opendps on my own but that doesn't work either on windows nor on linux (debian 11) with the latest checkout.
Any advice regarding how to get the display working would be very appreciated.

Thanks for the help. I was able to flash it successfully with PR #241 by building it on my own.


GroupVersionKind not filled when fetching TPRs from apiserver

The rest client does not fill the GroupVersionKind of the fetched object, we are working aroung that here:
https://github.com/kubevirt/kubevirt/blob/master/pkg/virt-api/rest/kubeproxy.go#L85.
There seems to be a bug report in the kubernetes sdk alredy: https://github.com/kubernetes/client-go/issues/60.

@stu-gott I guess this should be fixed with the api server migration. Right?

Does this still apply to CRDs?

No, CRDs don't have this. Closing.


Implement Pre-publish Test

TLDR: make sure the code builds prior to us publishing (Travis or locally)

several basic pre-publish tests have been added since I originally opened this issue — closing out.


One pager reporting implementation along with the plots.

Added new OnePagerReporter class to create comprehensive one-page visualization reports
combining multiple plot types from different visualizers.

@sumalreddy17  can this be deleted? I think its old

outdated


feat: deployments list pagination [27]

deployments list pagination
Description

create pagination component/tests
refactor useDeploymentList hook to support deployment state

Fixes # (issue)
Testing
Create more than 11 deployments, see pagination
Screenshots (if applicable)

Checklist:

[x] I have read and followed the CONTRIBUTING guidelines for this project.
[x] I have added or updated tests and they pass.
[ ] I have added or updated documentation and it is accurate.
[ ] I have noted any breaking changes in this module or downstream modules.

Relates #31


Bumps Faraday to < 0.16.0, recover spec

Per the discussion here https://github.com/oauth-xx/oauth2/issues/373#issuecomment-380650988
It appears to be a simple spec recovery after reviewing the diff here https://github.com/lostisland/faraday/compare/v0.14.0...v0.15.0#diff-edec4a38ac976ddeb50ec36ed13bf8e1R23
closes #384

Looks like we need to pend the failing spec for jruby-1.7.  Some strange variance in the request diff there, though I don't think it looks concerning.  We use rspec-pending_for to pend ruby engine specific failures like this.

@joshRpowell any news? Shall we reopen this with new PR?

We just need someone to pend the failing spec.  I will get around to it eventually, unless someone else does first.
https://github.com/pboling/rspec-pending_for

@raimondasv have a local headstart after @pboling comment https://github.com/oauth-xx/oauth2/pull/385#issuecomment-393355947 but the wife decided to buy a house.  moving day is Friday.  I should be able to wrap up next week.
No offense taken if you want to wrap it up in another PR.  would rather have it done / merged.

@morgoth @tisba Ideally we would have people reporting in that master HEAD is working for them.  As it is I am not aware of anyone running master HEAD live in production, and there are breaking changes.  I'll try to make time to dog food this soon, but my use case is about as tiny as possible, so it won't be a great test.
More importantly, we need assistance finishing up the remaining issues in the release milestone.  Please contribute!
https://github.com/oauth-xx/oauth2/milestone/1

I can report that master is working for me :-)
However I use it only through https://github.com/basecamp/google_sign_in

@pboling understood. I'll see what I can do. but the oauth2 gem is just a small part in a bigger "chain" of dependencies we use (via omniauth-github, omniauth-oauth2, …). I guess they all have to incorporated the breaking changes in oauth2 master :-/
Currently we run off a forked version with a relaxed faraday constraint which is also pretty much the only thing that was important to us in our case.

The breaking changes are very unlikely to affect most things.  They are breaking in the sense that some people may have been relying on bug as features, or quite minor changes to existing behavior.  See the changelog.  I expect most 'happy path' use cases will not require changes.


installing in .net

Problem encountered on https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/install
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Can you provide more details about the problem you are encountering? Also make sure you open a new command line window after installation.


Question on idleConnection configuration.

We use LittleProxy to route requests to our end proxy servers.
As of today we use idleConnectionTimeout during the bootstrapping of the proxy server.
We have a scenario where few of our proxy servers are of very low bandwidth and would actually take more time to respond (slight inactivity window over here).
Wanted to check if we could configure idleConnectionTimeout at a request level?
what I'm interested in is, configuring custom idleConnectionTimeout between ProxyToServer and ServerToProxy.
Any way I could achieve this?

Hi,
Can somebody please have a look at this?
Regards,
Furqhan


Get-PowerBIWorkspace : Attempted to access an element as a type incompatible with the array

i have upgraded to latest version, but i recevie the error :

`PS C:> $allWS=Get-PowerBIWorkspace -Scope Organization -All
Get-PowerBIWorkspace : Attempted to access an element as a type incompatible with the array.
At line:1 char:8

$allWS=Get-PowerBIWorkspace -Scope Organization -All

   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : WriteError: (Microsoft.Power...owerBIWorkspace:GetPowerBIWorkspace) [Get-PowerBIWorkspace], ArrayTypeMismatchException
FullyQualifiedErrorId : Attempted to access an element as a type incompatible with the array.,Microsoft.PowerBI.Commands.Workspaces.GetPowerBIWorkspace`

This sounds like an issue with NewtonsoftJSON dll version mismatch. Can you try running the commands from Powershell core?

Can we have this issue fixed? PowerShell Core doesn't work for the AzureAD module, which is required for automating Power BI access. I raised this issue on the Power BI forums here: https://community.powerbi.com/t5/Developer/PowerShell-AzureAD-cmdlets-incompatible-with/td-p/1684100, which shows how this is a breaking change with no workaround.
This affects several other cmdlets as well so very far reaching error.

Can we have this issue fixed? PowerShell Core doesn't work for the AzureAD module, which is required for automating Power BI access. I raised this issue on the Power BI forums here: https://community.powerbi.com/t5/Developer/PowerShell-AzureAD-cmdlets-incompatible-with/td-p/1684100, which shows how this is a breaking change with no workaround.
This affects several other cmdlets as well so very far reaching error.

Any news or workaround for this issue?

I just downloaded the latest version  (1.0.974) and it is still not fixed for me !

I don't have much clue as version and location are exactly the same for us about Newtonsoft.Json. I'm going to follow up about this issue for more context.
In the mean time, can I know why you need to use Connect-AzureAD instead of Login-PowerBI? Cause we support PS Core.

I am having the same issue. It seems to be related to using VS Code. When I run [Newtonsoft.Json.JsonConvert].Module I get the below. This is not coming from Windows PowerShell as expected per the above comment. I'm using PS 5.1 in VS Code, not PS Core as there are issues with the MicrosoftPowerBIMgmt module in Core.

I don't have much clue as version and location are exactly the same for us about Newtonsoft.Json. I'm going to follow up about this issue for more context.
In the mean time, can I know why you need to use Connect-AzureAD instead of Login-PowerBI? Cause we support PS Core.

I'm not using Connect-AzureAD for Power BI? We need to be able to access our Azure AD tenant however to be able to create and work with groups that provision access to Power BI workspaces.

I have this issue in VScode as well
When I run [Newtonsoft.Json.JsonConvert].Module in VS Code I get the below. This is not coming from Windows PowerShell as expected per the above comment.
gives me version 11 not 12

Hi, same issue in a Azure automation context.
System.ArrayTypeMismatchException: Attempted to access an element as a type incompatible with the array.
                      at System.Collections.Generic.List`1.Add(T item)
                      at Microsoft.PowerBI.Api.V2.PowerBIClient.Initialize()
                      at Microsoft.PowerBI.Api.V2.PowerBIClient..ctor(Uri baseUri, ServiceClientCredentials  credentials, HttpClientHandler rootHandler, DelegatingHandler[] handlers)
                      at Microsoft.PowerBI.Common.Api.PowerBIApiClient.CreateClient(IAuthenticationFactory authenticator, IPowerBIProfile profile, IPowerBILogger logger, IPowerBISettings settings, HttpClientHandler httpClientHandler)
                      at Microsoft.PowerBI.Common.Client.PowerBIClientFactory.CreateClient(IAuthenticationFactory                 authenticator, IPowerBIProfile profile, IPowerBILogger logger, IPowerBISettings settings)
                      at Microsoft.PowerBI.Common.Client.PowerBIClientCmdlet.CreateClient()
                      at Microsoft.PowerBI.Commands.Workspaces.GetPowerBIWorkspace.GetWorkspaces()
                      at Microsoft.PowerBI.Commands.Workspaces.GetPowerBIWorkspace.ExecuteCmdlet()
                      at Microsoft.PowerBI.Commands.Common.PowerBICmdlet.ProcessRecord()

I ran this on a hybrid worker with latest module version : 1.2.1026
But seems Newtonsoft dll loaded by automation is version 13 and not 12 as specified in current version.
[Newtonsoft.Json.JsonConvert].Module gave :
MDStreamVersion    : 131072
FullyQualifiedName : C:\Program Files\Microsoft Monitoring                      Agent\Agent\AzureAutomation\7.3.1209.0\HybridAgent\Newtonsoft.Json.13.dll
ModuleVersionId    : f7499511-9334-484f-b6db-6825be2eac0d
MetadataToken      : 1
ScopeName          : Newtonsoft.Json.dll
Name               : Newtonsoft.Json.13.dll
Assembly           : Newtonsoft.Json, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
CustomAttributes   : {}
ModuleHandle       : System.ModuleHandle

Is it possible to update version dependency of Newtonsoft ?
Thanks

Hi @CattieCat,
Thanks for your answer.
I replace Get-PowerBIWorkpace by Invoke-PowerBIRestMethod and it's ok.
For the record, I do it this way :
    if ($WorkspaceID) {
        $url = "groups?`$filter=id eq '$WorkspaceID' and type eq 'Workspace'"
    } elseif ($WorkspaceName) {
        $url = "groups?`$filter=name eq '$WorkspaceName' and type eq 'Workspace'"
    } else {
        throw "Specify an Id or a worskapce Name"
    }
....
    $ResObj  = Invoke-PowerBIRestMethod -Url $url -Method GET | ConvertFrom-Json
    if<EMAIL_ADDRESS>-eq 1) {
        $WorkspaceID = $ResObj.value.Id
    } else {
        throw "Workspace not found"
    }

Seeing this is over a year old is there an ETA on a resolution for this?

Is there going to be a fix for this issue? This is preventing us using a large amount of available cmdlets that require retrieving IDs from Azure (e.g. we can't use Add-PowerBIWorkspaceUser for security groups). The AzureAD module still isn't supported in PowerShell Core so we still can't manage our Power BI tenant effectively.

We had a Microsoft tech that help us with this issue and provided us with the code to run it in Azure Automation.  This runs in PowerShell 5.1 HybridWorker.  Make sure your Hybrid Worker has all the modules for PowerBI.  Hope this helps.
if ($($env:computerName) -eq "Client") {"Runbook running on Azure Client sandbox"} else {"Runbook running on " + $env:computerName}
Write-Output "Parent runbook"
[Newtonsoft.Json.JsonConvert].Module
$cred = Get-AutomationPSCredential -Name 'TheName'
#POWERBI MODULE SECTION
PowerShell background Job for PowerBI module to avoid modules incompatibility
Write-Warning "Starting PowerShell background for PowerBI module"
$job = Start-Job -ScriptBlock {
Param($jobResults)
Write-Output "Importing Orchestrator AssetManagement Cmdlets module"
Import-Module Orchestrator.AssetManagement.Cmdlets

#Start of your code
Connect-PowerBIServiceAccount -Credential $using:Cred

Get-PowerBIWorkspace -Scope Organization -All

#End of your code

Write-Output "Background job Newtonsoft Version check 1"
[Newtonsoft.Json.JsonConvert].module

} -ArgumentList (,$Results)
Write-Output "Waiting for Job to finish"
Wait-Job $job
Write-Output "Retrieving Job output"
Receive-Job -ID $job.id -keep

This worked for me as of March 2024 on a VM that is on Azure.
Install-Module -Name AzureAD
Install-Module -Name MicrosoftPowerBIMgmt
Install-Module -Name Newtonsoft.Json
Login-PowerBI
Get-PowerBIActivityEvent -StartDateTime 2024-03-26T00:00:00 -EndDateTime 2024-03-26T01:00:00
$PSVersionTable - 5.1.20348.2227
Windows Server 2022 Datacenter Azure Edition
Same exact thing did not work on my laptop.


Picovoice Porcupine: unable to find base64 file for trained custom wake word

What is the URL of the doc?
https://www.npmjs.com/package/@picovoice/porcupine-web-angular
What's the nature of the issue? (e.g. steps do not work, typos/grammar/spelling, etc., out of date)
The downloaded zip file from picovoice console has only ppn file for trained custom wakeword. The documentation below mentioned that it will also have a _b64.txt file, but it is missing. Please let me know where we can get the base64 file for the trained custom wakeword.

what is the platform you are setting? Can you provide the list of file names in the zip please?

Hi Kenarsa, thanks for the reply.
We are using browser based web application built in Angular. Please find the screenshot of content of the zip file.
There are 2 files  : 1) .PPN file  and 2) LICENSE.txt file.
We are looking for the base64 file.

got it! You are picking Windows as the platform which is incorrect as you want to build for the web. You should pick WebAssembly


not possible to overwrite a received shared file

Describe the bug
a file share cannot be overwritten by the receiver and after trying the share disappears
Steps to reproduce
Steps to reproduce the behavior:

as einstein share a file with marie
as marie accept the share
as marie try to overwrite the received share

Expected behavior
file is overwritten
Actual behavior
403 Forbidden error

[ ] todo QA-team add API tests (currently there are no tests testing only this)


exported struct literals are keyed

only a real risk if the ErrMissingFlag struct gets more fields. I can't take full credit, go vet found this.

safety first :+1:


Strange display error

Hi, I started using Chart JS today and i'm really enjoying it, but something strange is happening:

And i'm using the default settings from docs examples

PS: Look close to numbers on the Y-axis, they are 'out of focus', this is also happening with tool tips

Pictures are nice, but unless you include some sort of code to make your apparent bug reproducible, you're not going to get a whole lot of help.

Closing since this needs a test case. I have a feeling that it is a browser issue. We've seen a number of issues with chrome HW rendering.


Update readme.md to fix a typo

@AlexITC There is one more occurrence of --all flag at line 168 of README. Lets get it fixed and merge this PR, ok?

@rockjam for this sort of thing I think you can just edit people's PRs through the web UI and then squash-merge it. Saves a round trip :)

Okay, will do next time.


Please clarify recommended setup for React Apps

Please clarify the best way to configure this client when using React Framework

Hello @rturk!
Thanks for your feedback and for using blip chat widget. To use with react app, you can install blip-chat-widget from npm (npm i -S blip-chat-widget) and import them via destructuring assignment.
We made an example to clarify your question:
import React from "react";
import ReactDOM from "react-dom";
import { BlipChat } from "blip-chat-widget";

import "./styles.css";

class App extends React.Component {
  componentDidMount() {
    new BlipChat()
      .withAppKey("YOUR-APP-KEY")
      .withButton({ color: "#2CC3D5" })
      .build();
  }
  render() {
    return (

Hello world

    );
  }
}

const rootElement = document.getElementById("root");
ReactDOM.render(<App />, rootElement);

Thanks!

@samwx amazing, that was fast. Are you a bot?

@rturk hahahaha, thanks! But no, I'm a real person 😄

Hi @rturk , is this code still working or some updates may be required?
I'm getting an error 'TypeError: undefined is not an object (evaluating 'self.navigator.userAgent.toLowerCase')'

Same here, I guess.

Ps: I'm using Nextjs, maybe anything with SSR?

Solved importing blip-chat with dynamically import


Grid_radius is not grid radius?

Looking at cell positions in this example with grid_radius set to 210 um makes me wonder what is grid_radius actually referring to... If it was radius, then min+max = ~420 um. If it was diameter, then min+max = ~210 um. Right?

@sivanni can you check this and confirm whether this is a bug?

210 microm was the radius in Markram model, in above example it is diameter
Hanki Outlook for Androidhttps://aka.ms/ghei36

From: Vafa Andalibi<EMAIL_ADDRESS>Sent: Friday, October 18, 2019 7:04:44 PM
To: VisualNeuroscience-UH/CxSystem2<EMAIL_ADDRESS>Cc: Vanni, Simo H<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [VisualNeuroscience-UH/CxSystem2] Grid_radius is not grid radius? (#50)
@sivannihttps://github.com/sivanni can you check this and confirm whether this is a bug?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/VisualNeuroscience-UH/CxSystem2/issues/50?email_source=notifications&email_token=ADVCKY2BJ6J7HLFCO4OB2ZTQPHNBZA5CNFSM4JCIRHTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBU6T7I#issuecomment-543812093, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADVCKYYBACJHNEWIW4YT3XLQPHNBZANCNFSM4JCIRHTA.

Thus I think it might be a bug

My bad! Cell positions are stored in w_positions, not z_positions as shown in the picture above. z_positions correspond to retinal locations. I fixed visimpl conversion code and added comments to the code.


Add admin email log to vasp extra

Scope of changes
We already have email logs for the VASP contacts, this adds a similar log for the TRISA admin to support reissuance email auditing. This will also help ensure that duplicate emails are not sent to the admin address.
SC-8291
Type of change

[ ] bug fix
[x] new feature
[ ] documentation
[ ] other (describe)

Acceptance criteria
Unit tests pass and there is enough metadata in the log for auditing.
Author checklist

[x] I have manually tested the change and/or added automation in the form of unit tests or integration tests
[ ]  I have updated the dependencies list
[x]  I have recompiled and included new protocol buffers to reflect changes I made
[ ]  I have added new test fixtures as needed to support added tests
[x]   Check this box if a reviewer can merge this pull request after approval (leave it unchecked if you want to do it yourself)
[x]  I have moved the associated Shortcut story to "Ready for Review"

Reviewer(s) checklist

[ ] Do we want to include any other fields in the log, such as the sent to email address?

Codecov Report

:exclamation: No coverage uploaded for pull request base (feature/certman-refactor@0f9d1c9). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head fd0c6eb differs from pull request most recent head 6224b15. Consider uploading reports for the commit 6224b15 to get more accurate results

@@                     Coverage Diff                     @@
##             feature/certman-refactor     #712   +/-   ##
===========================================================
  Coverage                            ?   38.10%
===========================================================
  Files                               ?      155
  Lines                               ?     2433
  Branches                            ?      617
===========================================================
  Hits                                ?      927
  Misses                              ?     1330
  Partials                            ?      176

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


Preparing for 8.0

Fixes #798
We'll probably want to rebase this on top of the what is citus changes and new 8.0 features pr once they are both merged. That way I can check that there are still no sphinx warnings when it all gets put together.

The checklist is complete.


Bugfix/issue 1100 localization object reference

Closes https://github.com/gregnb/mui-datatables/issues/1100.

Coverage remained the same at 76.256% when pulling dc2e1ec9a66244d041fa82cd85033b6be5767ca0 on bugfix/issue-1100-localization-object-reference into 80d3ab5e2c62c9eef89294785fd73e0e72d77bf5 on master.


[FEATURE]Hovering the social media icons

Description
The icons shown in the ss are not having any hovering styles.
Screenshots

Additional information
No response

Hi, I would like to take up this challenge.

Hey @Vyvy-vi @emmalearnscode I have made the required changes in the code & made a pr #952.
Please review it & let me know if some changes are needed.


Subscribe For Email Notifications

Create The Ability For People To Sign Up For Email Notifications On New Posts
We could implement this by using a Bootstrap Modal or by having a section indicating that a visitor can sign up to receive email notifications when there is a new blog post.
Jekyll currently doesn't have a built in ability to do this so we would have to find a solution to handle this. This may be some actual backend work to get things working.
Could be a great opportunity for a couple students to get together and pair program to figure out a solution.

If we sign up for a Mailchimp account, there are JavaScript widgets that will do this out of the box.  All you'd need to do is drop in an HTML/JavaScript snippet, much like how we added disqus.

Awesome, I was thinking about mailchimp but I didn't look into it yet. Mailchimp is a really great product too, I've always enjoyed using it.

I can work on this - I've used MailChimp before through their Forever Free program. I'll sign up for an account and take a stab at it.

You rock, Dave!

Awesome, thanks Dave!

So I have a working version of the signup form, email campaign etc on Mail Chimp setup, but I tried adding it to my fork of the community site and I'm not sure where to embed the sign-up form. Apparently, adding it to index.html file under community.thefirehoseproject.com does not save? I made the add and it showed up on my local server but when I did a git commit, no changes. It has to be that I'm adding it to a part that is protected or locally created from other parts of site and it overwrites it/doesn't save. I also saw that you made a commit during the time I was working on it - perhaps that messed it up? I wouldn't think so since I was on my own fork and branch "mailchimp".
What file should I add the embed to in order to have the subscribe form show up? I think it should either be off to the side or a link in the drop down menu. @colinrubbert are you available for either some pair programming tomorrow or do you know where I need to add it?

I would suggest creating a mailchimp.html file in _includes so it would look something like _includes/mailchimp.html.
With Jekyll you don't want to necessarily add a bunch of stuff to index.html besides partials or specific styling. Where it could be a good place to put it would be in the footer or render it on each posts page. I'm not sure how to just build a pop-up that says "Hey sign up here" because I haven't looked into it. I, however, would suggest not putting it in the index.html file but instead put it in a file in the _includes folder just like I did with the video player.


定时器识别有问题

Vue - Official extension or vue-tsc version
v2.0.26
VSCode version
1.91.0
Vue version
vue2
TypeScript version
no
System Info
No response
Steps to reproduce
1
What is expected?
正确匹配括号
What is actually happening?

这对吗这,不认识箭头函数了
Link to minimal reproduction
No response
Any additional comments?
No response

重启vscode后正常


Juno's neta logo_URIs invalid, missing png

Juno's neta logo's URI's currently pointing to osmosis-labs/assetlists, needs to point to cosmos/chain-registry
missing .png file

This was resolved by #323, thank you.


Remove extra layer of abstraction

#698

Err, I don't actually want to rename it.

I'm working on something similar, I wonder how much overlap there is? https://github.com/geohot/tinygrad/pull/708

This wasn't what I was thinking, I really want to remove the extra shapetracker, not just the indirection. My PR is looking like -100 lines

This wasn't what I was thinking, I really want to remove the extra shapetracker, not just the indirection. My PR is looking like -100 lines.
You picked the hardest of the issues :)
#693 is probably pretty doable.

Sounds good. I'll close this PR then.


Set namespace flag after sanitizing it

Problem
This plugin accepts a namespace var and creates a K8s namespace using that value. K8s namespaces must contain only lowercase alphanumeric characters and dashes, and begin with an alphanumeric character (reference).
To handle the possibility that users will provide values for namespace that are invalid as K8s namespace names, the plugin sanitizes the value before creating the namespace. This ensures that namespace creation does not fail due to an invalid name.
However, when the plugin calls kubectl rollout, it passes the unsanitized, user-provided namespace value. As a result, if the namespace var required sanitization to be a valid K8s namespace name, the rollout command will specify a namespace that does not exist, and will fail with the message:
namespaces "$NAMESPACE_VAR" not found

Fix
I see two options here:

Reject namespace values that are not valid K8s namespaces early in execution (probably in checkParams).
Sanitize the user-inputted value for use in the rollout command.

This PR implements (2). I prefer this approach because it allows the most flexibility for users.
For instance, a common usage pattern is to pass the git branch name as the drone-gke namespace value. Branch names can have capital letters and other characters not allowed in K8s branch names. Option (2) allows users to continue the practice of using branch names without having to restrict the characters they can use in their git branches.
PR Form
If this is a change to the core functionality, did you make a corresponding PR to drone-eks?

If this change is desired, I will open up a parallel request in drone-eks

[ ] yes
[x] no
[ ] n/a

Did you update the tests?

[x] yes
[ ] no
[ ] n/a

Did you update the docs?

I'm thinking of this as a bug fix, so I didn't think an update to the docs was warranted. Let me know if there's a change I should make.

[ ] yes
[x] no
[ ] n/a

Thanks Michael, good find! I agree with you, the namespace var should be sanitized once and used consistently.
Do you mind refactoring the code so the sanitization and c.Set happens in the checkParams func as you described? That way c.String("namespace") will have the sanitized string everywhere it's called as checkParams happens early on.
Also, once this PR is approved, thank you in advance for importing the same changes into drone-eks!! 🫡

Do you mind refactoring the code so the sanitization and c.Set happens in the checkParams func as you described? That way c.String("namespace") will have the sanitized string everywhere it's called as checkParams happens early on.

@tonglil Done!


nswatch.WatchOptions.... revisit in the light of sdk watchNamespace

This is a request to tidy up the code around namepsace support in the controller, to leaverage the capabilities and delegate to the sdk for config and options. there is currently duplicate functionality in the nswatch.WatchOptions
This has been called out in a comment for some time, may be some low hanging fruit.
https://github.com/artemiscloud/activemq-artemis-operator/blob/main/main.go#L139

Yes it's duplicated.


we should skip generated classes

reported by @iColdheart and @dmitry-zasypkin

why?

why not?) everybody do this...

@eduard93 do you need not to skip it?

This was tested Implementation in Caché 2013.1.1? I have problems when project import in %SYS, and error triggered: %SourceControl.Git.Utils.1.INT(408) ERROR #1054: Invalid expression

@tiago-sistema please open a new issue in such cases. I did it this time -- https://github.com/intersystems-ru/cache-tort-git/issues/39

Generated Classes should always be skipped for source control hooks as generated classes are artifacts which are created by some action performed on other configuration items already in source control.  Since that generation could differ from version to version of the DB, putting generated items into source control is a mistake because:

They will be overwritten when the source configuration items are recompiled
They could be incompatible with newer versions of the DB
A great example of this would be classes generated by a SOAP Service or Client.  These shouldn't be added to source control but should be generated automatically when the main source for these interfaces are compiled.
Sorry to be late to the party, but I wanted to clarify this :)


Nonblocking implementation

MCU/other hardware in use: STM32h7
Display resolution and interface: I2C, [128x64]

Nonblocking I2C support
Hello, I'm attempting to build an application that utilizes this library in conjunction with doing real-time DAC/ADC functions. I have noticed that my DAC output, which is executed from a Timer producing a simple sine-wave is blocked by the I2C communication that this library executes, which distorts the output of the DAC.
I know that the embedded-hal doesn't support non-blocking for various reasons. What I would like to do is write my own interface adapter and implement I2C interrupt handling within my app to unblock the communication to the display.
Looking at the test_helpers.rs, I see this:
#[allow(dead_code)]
#[derive(Debug, Clone, Copy)]
pub struct StubInterface;

impl WriteOnlyDataCommand for StubInterface {
    fn send_commands(
        &mut self,
        _cmd: display_interface::DataFormat<'_>,
    ) -> Result<(), DisplayError> {
        Ok(())
    }
    fn send_data(&mut self, _buf: display_interface::DataFormat<'_>) -> Result<(), DisplayError> {
        Ok(())
    }
}

I assume that I could use the WriteOnlyDataCommand trait to achieve this?
Kind regards
Oliver

Sorry for the delay! @therealprof maintains the crate that WriteOnlyDataCommand so might be able to offer more insight, but yes I think it's enough to add a custom impl of WriteOnlyDataCommand and pass that into Builder::new().connect(interface).into() instead of the provided blocking implementations.

There's an embedded-hal-async now that provides async/await-compatible bus interfaces. See https://github.com/jamwaffles/ssd1331/pull/13 for a PR adding support to the ssd1311 crate and follow https://github.com/embedded-graphics/embedded-graphics/issues/622 for an upstream embedded-graphics trait.

cc https://github.com/jamwaffles/ssd1306/pull/178


Frypolar can be killed with ember seeds

Even the official strategy guide says to use ember seeds. We speedrunners are the weird ones.
Incidentally, did you make the slingshot a requirement just to be nice, instead of leaving the satchel as possible? Though it may not be possible to reach frypolar without a slingshot anyway.

I had no idea. You're right though, satchel does work. It's stupid, but it works. I'll add that in too.


Without nbformat package display hooks automatically archives

The exporting/archiving code has a bug when the notebook archive is not available for whatever reason (e.g. if nbformat or nbconvert cannot be imported). The display hook always calls:
holoviews.archive.add(element, html=html)

which is a no-op if exporting hasn't been enabled on the NotebookArchive. However the regular FileArchive will always process the add event, whether or not exporting has been enabled.

I believe this has been resolved in the PR referenced above. Closing.

Yes. The referenced PR fixed this.


Updates to get fakespans working on my local machine

Couple more steps needed to get it working on my machine.

LGTM

@shellbj -> What are the odds you could merge this?


feat(off-chain): add  burn  and update ckb tx proof

[ ]  add burn ckb token

[ ]  add transder and query balance of sudt

[ ]  update ckb tx proof

[ ]  add unlock func which not test


Fixed styling around buttons

Fixed #47
Appropriate space has been added around these buttons and have tested it on my local machine. It is working fine.

Fixed #47
Appropriate space has been added around these buttons and have tested it on my local machine. It is working fine.


Error in reuters-example in the Serve Recommendations part

Hello,
I am trying to run reuters-example following this http://docs.seldon.io/content-recommendation-example.html but when I execute run_recommendation_microservice.sh reuters-example seldonio/reuters-example 1.0 reuters I have this error:
deployment "reuters-example" configured service "reuters-example" configured WARNING:kazoo.client:Connection dropped: socket connection error: None WARNING:kazoo.client:Connection dropped: socket connection error: None connecting to zookeeper-1:2181,zookeeper-2:2181,zookeeper-3:2181Traceback (most recent call last):   File "/opt/conda/bin/seldon-cli", line 4, in <module>     __import__('pkg_resources').run_script('seldon==2.0.1', 'seldon-cli')   File "/opt/conda/lib/python2.7/site-packages/setuptools-18.5-py2.7.egg/pkg_resources/__init__.py", line 742, in run_script   File "/opt/conda/lib/python2.7/site-packages/setuptools-18.5-py2.7.egg/pkg_resources/__init__.py", line 1667, in run_script   File "/opt/conda/lib/python2.7/site-packages/seldon-2.0.1-py2.7.egg/EGG-INFO/scripts/seldon-cli", line 5, in <module>     seldon.cli.start_seldoncli()   File "/opt/conda/lib/python2.7/site-packages/seldon-2.0.1-py2.7.egg/seldon/cli/__init__.py", line 3, in start_seldoncli     cli_main.main()   File "/opt/conda/lib/python2.7/site-packages/seldon-2.0.1-py2.7.egg/seldon/cli/cli_main.py", line 346, in main     start_zk_client(opts)   File "/opt/conda/lib/python2.7/site-packages/seldon-2.0.1-py2.7.egg/seldon/cli/cli_main.py", line 301, in start_zk_client     gdata["zk_client"].start()   File "/opt/conda/lib/python2.7/site-packages/kazoo/client.py", line 546, in start     raise self.handler.timeout_exception("Connection time-out") kazoo.handlers.threading.KazooTimeoutError: Connection time-out error: error executing remote command: Error executing command in container: Error executing in Docker Container: 1
PS: I have installed seldon in a cloud kubernetes cluster and i have my DNS pod which is working well.
Here are my running pods:
default      influxdb-grafana-7mpow                 2/2       Running       0          2h        kubernetes-2 default      kafka-controller-q5n79                 1/1       Running       14         2h        kubernetes-2 default      memcached1-0mm1t                       1/1       Running       0          2h        kubernetes-2 default      memcached2-xy165                       1/1       Running       0          2h        kubernetes-2 default      reuters-example-1808766350-tq0ic       1/1       Running       0          2h        kubernetes-2 default      seldon-control                         1/1       Running       0          2h        kubernetes-3 default      seldon-server-1847842434-nyksb         2/2       Running       35         2h        kubernetes-2 default      spark-master-controller-xuqfw          1/1       Running       0          19h       kubernetes-3 default      spark-worker-controller-f2aum          1/1       Running       0          1d        kubernetes-3 default      spark-worker-controller-l131c          1/1       Running       0          19h       kubernetes-3 my-system   elasticsearch-logging-v1-d13tc         1/1       Running       0          1d        kubernetes-3 my-system   fluentd-elasticsearch-kubernetes-2     1/1       Running       0          2h        kubernetes-2 my-system   fluentd-elasticsearch-kubernetes-3     1/1       Terminating   3          1d        kubernetes-3 my-system   heapster-f9lsf                         2/2       Running       0          1d        kubernetes-3 my-system   infludb-grafana-m3fqi                  2/2       Running       0          1d        kubernetes-3 my-system   kibana-logging-v1-7c8qr                1/1       Running       2          1d        kubernetes-3 my-system   kube-apiserver-kubernetes-1            1/1       Running       0          2h        kubernetes-1 my-system   kube-controller-manager-kubernetes-1   1/1       Running       55         2h        kubernetes-1 my-system   kube-dns-v8-fdk73                      5/5       Running       0          1d        kubernetes-3 my-system   kube-scheduler-kubernetes-1            1/1       Running       44         2h        kubernetes-1 my-system   scheduler-master-kubernetes-1          2/2       Running       15         2h        kubernetes-1
Could please help me or even give me an idea to explore.
Thank you in advance
Nadia

Hi Nadia,
I don't see zookeeper pods running and that is the error above.
Can you check it can be found by doing an nslookup inside seldon-contro pod, e.g. by doing:
kubectl exec -ti seldon-control -- /bin/bash
root@seldon-control:/home/seldon# nslookup zookeeper-1
Server:		<IP_ADDRESS>
Address:	<IP_ADDRESS>#53
Name:	zookeeper-1.default.svc.cluster.local
Address: <IP_ADDRESS>

Here the result for nslookup command:
`Server:         <IP_ADDRESS>
Address:        <IP_ADDRESS>#53
Name:   zookeeper-1.default.svc....net
Address: <IP_ADDRESS>
`

Thank you I have created zookeepers pods and now it's working

Nadia, That is good. seldon-up.sh should create the zookeeper ppds by default. Is there any reason why they were not running?

I think it's me how have deleted them but forgotten to relaunch the script.
But i have an other issue which is concerning my seldon-server pod. It is always restarting because of CrashLoopBackOff status. Here is the desciption of the pod:
`Events:
FirstSeen     LastSeen        Count   From                    SubobjectPath                   Type            Reason          Message

2h            3m              524     {kubelet kubernetes-2}  spec.containers{seldon-server}  Warning         BackOff         Back-off restarting failed docker container
2h            3m              509     {kubelet kubernetes-2}                                  Warning         FailedSync      Error syncing pod, skipping: failed to "StartContainer" for "seldon-server" with CrashLoopBackOff: "Back-off 5m0s restarting failed container=seldon-server pod=seldon-server-1847842434-nyksb_default(0f531258-3d28-11e6-8f46-00505601b183)"
19m   2m      5       {kubelet kubernetes-2}  spec.containers{seldon-server}  Warning Unhealthy       Liveness probe failed: HTTP probe failed with statuscode: 404
3h    1m      47      {kubelet kubernetes-2}  spec.containers{seldon-server}  Normal  Pulled          Container image "seldonio/seldon-server:1.3.4" already present on machine
2h    1m      38      {kubelet kubernetes-2}  spec.containers{seldon-server}  Normal  Killing         (events with common reason combined)
2h    1m      40      {kubelet kubernetes-2}  spec.containers{seldon-server}  Normal  Created         (events with common reason combined)
2h    1m      40      {kubelet kubernetes-2}  spec.containers{seldon-server}  Normal  Started         (events with common reason combined)
`
Do you have any idea?

It could be a memory issue. How much memory do you have on your cluster nodes?
Also, can you show us the logs, e.g. (your server will have different id below):
kubectl logs seldon-server-1847842434-dcqns seldon-server

Here is the logs:
INFO: validateJarFile(/usr/local/tomcat/webapps/ROOT/WEB-INF/lib/servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class Jun 28, 2016 3:13:44 PM org.apache.catalina.startup.TldConfig execute INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/home/seldon/ROOT/WEB-INF/lib/slf4j-jcl-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/home/seldon/ROOT/WEB-INF/lib/slf4j-log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. Jun 28, 2016 3:13:46 PM org.apache.catalina.core.StandardContext startInternal SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file Jun 28, 2016 3:13:46 PM org.apache.catalina.core.StandardContext startInternal SEVERE: Context [] startup failed due to previous errors Jun 28, 2016 3:13:46 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads SEVERE: The web application [] appears to have started a thread named [localhost-startStop-1-SendThread(<IP_ADDRESS>:2181)] but has failed to stop it. This is very likely to create a memory leak. Jun 28, 2016 3:13:46 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deployment of web application directory /usr/local/tomcat/webapps/ROOT has finished in 9,573 ms Jun 28, 2016 3:13:46 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8080"] Jun 28, 2016 3:13:46 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["ajp-bio-8009"] Jun 28, 2016 3:13:46 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 10941 ms Jun 28, 2016 3:13:46 PM org.apache.catalina.loader.WebappClassLoaderBase loadClass INFO: Illegal access: this web application instance has been stopped already.  Could not load org.apache.zookeeper.server.ZooTrace.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact. java.lang.IllegalStateException         at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1743)         at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1701)         at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1115)
For the memory I have 4Go of RAM for each node.

Can you check for any ERRORS in the seldon-server api.log before the pod is restarted, e.g.
kubectl exec -ti seldon-server-1847842434-dcqns -- /bin/bash
<dcqns:/usr/local/tomcat# cd /home/seldon/logs/base
<4-dcqns:/home/seldon/logs/base# grep ERROR api.log
(or show all lines or last few of log if too long)

Here is what I get:
rg.apache.curator.CuratorConnectionLossException: KeeperErrorCode = ConnectionLoss org.apache.curator.CuratorConnectionLossException: KeeperErrorCode = ConnectionLoss org.apache.curator.CuratorConnectionLossException: KeeperErrorCode = ConnectionLoss org.apache.curator.CuratorConnectionLossException: KeeperErrorCode = ConnectionLoss org.apache.curator.CuratorConnectionLossException: KeeperErrorCode = ConnectionLoss org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'actionHistoryProvider': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: io.seldon.api.caching.MemcacheActionHistory io.seldon.api.caching.ActionHistoryProvider.defaultProvider; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'memcacheActionHistory': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: io.seldon.memcache.ExceptionSwallowingMemcachedClient io.seldon.api.caching.MemcacheActionHistory.cacheClient; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'exceptionSwallowingMemcachedClient' defined in file [/home/seldon/ROOT/WEB-INF/classes/io/seldon/memcache/ExceptionSwallowingMemcachedClient.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [io.seldon.memcache.ExceptionSwallowingMemcachedClient]: Constructor threw exception; nested exception is java.lang.Exception: *Warning* Memcached NOT initialized! Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: io.seldon.api.caching.MemcacheActionHistory io.seldon.api.caching.ActionHistoryProvider.defaultProvider; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'memcacheActionHistory': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: io.seldon.memcache.ExceptionSwallowingMemcachedClient io.seldon.api.caching.MemcacheActionHistory.cacheClient; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'exceptionSwallowingMemcachedClient' defined in file [/home/seldon/ROOT/WEB-INF/classes/io/seldon/memcache/ExceptionSwallowingMemcachedClient.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [io.seldon.memcache.ExceptionSwallowingMemcachedClient]: Constructor threw exception; nested exception is java.lang.Exception: *Warning* Memcached NOT initialized! Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'memcacheActionHistory': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: io.seldon.memcache.ExceptionSwallowingMemcachedClient io.seldon.api.caching.MemcacheActionHistory.cacheClient; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'exceptionSwallowingMemcachedClient' defined in file [/home/seldon/ROOT/WEB-INF/classes/io/seldon/memcache/ExceptionSwallowingMemcachedClient.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [io.seldon.memcache.ExceptionSwallowingMemcachedClient]: Constructor threw exception; nested exception is java.lang.Exception: *Warning* Memcached NOT initialized! Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: io.seldon.memcache.ExceptionSwallowingMemcachedClient io.seldon.api.caching.MemcacheActionHistory.cacheClient; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'exceptionSwallowingMemcachedClient' defined in file [/home/seldon/ROOT/WEB-INF/classes/io/seldon/memcache/ExceptionSwallowingMemcachedClient.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [io.seldon.memcache.ExceptionSwallowingMemcachedClient]: Constructor threw exception; nested exception is java.lang.Exception: *Warning* Memcached NOT initialized! Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'exceptionSwallowingMemcachedClient' defined in file [/home/seldon/ROOT/WEB-INF/classes/io/seldon/memcache/ExceptionSwallowingMemcachedClient.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [io.seldon.memcache.ExceptionSwallowingMemcachedClient]: Constructor threw exception; nested exception is java.lang.Exception: *Warning* Memcached NOT initialized!

It again looks like the seldon-server pod can't contact zookeeper services.
Try to contact zookeeper from inside the seldon-server pod, it should look like:
/home/seldon/logs/base# telnet zookeeper-1 2181
Trying <IP_ADDRESS>...
Connected to zookeeper-1.default.svc.cluster.local.
Escape character is '^]'.

No it is not zookeeper connection problem. I have got the good result:
Trying <IP_ADDRESS>...
Connected to zookeeper-1.default.svc.....net.
Escape character is '^]'.

Strange as "org.apache.curator.CuratorConnectionLossException: KeeperErrorCode = ConnectionLoss" imples it can't connect to Zookeeper.
Can you attach the whole log if possible?

He is the whole logs
logs.txt
wholeApiLogs.txt

ok - that error is because the memcache pods are not running.
It sounds like you are having problems starting all the required pods on seldon-up.sh

But they are running my memcache pods:
influxdb-grafana-7mpow             2/2       Running   0          4h
kafka-controller-q5n79             1/1       Running   18         4h
memcached1-0mm1t                   1/1       Running   0          4h
memcached2-xy165                   1/1       Running   0          4h
mysql                              1/1       Running   0          1h
reuters-example-1808766350-tq0ic   1/1       Running   0          4h
seldon-control                     1/1       Running   0          4h
seldon-server-1847842434-nyksb     2/2       Running   62         4h
spark-master-controller-xuqfw      1/1       Running   0          21h
spark-worker-controller-f2aum      1/1       Running   0          1d
spark-worker-controller-l131c      1/1       Running   0          21h
td-agent-server                    1/1       Running   0          1h
zookeeper-1                        1/1       Running   0          1h
zookeeper-2                        1/1       Running   0          1h
zookeeper-3                        1/1       Running   0          1h

That is strange. Can you connect to them from the seldon-server pod?
kubectl exec -ti seldon-server-1847842434-zbzlb -- /bin/bash
<34-zbzlb:/usr/local/tomcat# telnet memcached1 11211
Trying <IP_ADDRESS>...
Connected to memcached1.default.svc.cluster.local.
Escape character is '^]'.

The same result
Trying <IP_ADDRESS>...
Connected to memcached1.default.svc.sid.atos.net.
Escape character is '^]'.

I think its because the zookeeper servers were not running so when you restarted them they have not been updated with the correct state information.
There are 2 options:

do a seldon-down.sh and then a seldon-up.sh t reset the system
or
try seldon-cli client --action zk_push
and then restart the seldon-server pod

Hi cliveseldon,
I think what you have suggested has corrected the problem.
Thank you very much!


Allow inscription to contain standard "spoiler" metadata for potentially NSFW or sensitive content

Allow a standard metadata label for inscriber to include to mark as "spoiler" content
Allow explorer to only show content when user clicks on a reveal button (e.g. "Show Spoiler Content")

Great idea!
This seems reasonable, but at the moment low priority, since problematic content hasn't been too big of an issue.
One thing I'm worried about is that tastes change, so something NSFW now may not be in the future, or vice versa, and we can't allow changing whether it has the spoiler tag.
Although I do like calling it a "spoiler" tag. Marking something as a spoiler is a common practice in many online venues, and could be used for lots of different things, and is very non judgemental.
One thing that would move this along would be if someone figured out a simple implementation. Right now the front-end loads every kind of content in an iframe, which doesn't have any special tags or style that vary per inscription. This has been a great design, and keeps the front end clean, and delegates all rendering to the back end. I want to keep this design, so I don't want to front end to have to query the database when rendering /inscriptions. If someone can come up with a clean design for that, the protocol level stuff is very simple.


Bump version

It looks like this was branched off of your old bugfix/srm-github-actions-branch-and-project-name branch
That was squash-merged into master, losing record of the original commits and causing them to show again here
You should make a new branch after pulling latest from master and push again

Closing this PR. Separate PR raised #5.


[release] merging crate-release-update into crate

cc @GuillaumeGomez @EPashkin

Sys crate branch has tag 0.8.0 while all in it 0.7.0

Same problem with cairo it has 0.7.0 (as sys) not as main 0.5.0

and with sourceview

Hum... I don't really know how to handle multiple crate versions in a single repository... I'll try to think something about (and eventually fix version numbers).

Oh, 0.8.0 go from pangocairo-sys I missed that, then it really same problem.

As variant we can add prefix to all version tags (maybe only for these repos),
"atk-sys0.7.0", "gtk-sys0.7.0", "pangocairo-sys0.8.0"
"cairo0.5.0", "cairo-sys0.7.0"

not sure if better since these tags will all point to the same commit... I really don't know what we should do in here.

IMHO It normal that it point to same commit currently, but if we have new version for Ex. "cairo" without sys, we see that it only  changes.

I'll think about how to solve this. Meanwhile I'll open a PR on the release repository so we don't forget about it.


helloworld failed to render on one specific pdf

I have tested pdf.js with 12 independent pdf from the net. One of them failed.
Link to PDF file (or attach file here):
https://www.ets.org/Media/Tests/GRE/pdf/gre_research_validity_data.pdf
Console.log:
pdf.worker.js:42554 The provided value 'moz-chunked-arraybuffer' is not a valid enum value of type XMLHttpRequestResponseType.
pdf.worker.js:2311 Error: JPEG error: marker was not found
pdf.worker.js:2312     at error (http://localhost:8081/pdf.worker.js:2312:17)
at Object.JpegStream_ensureBuffer [as ensureBuffer] (http://localhost:8081/pdf.worker.js:20614:7)
at Object.JpegStream_getBytes [as getBytes] (http://localhost:8081/pdf.worker.js:20619:10)
at Object.PDFImage_getImageBytes [as getImageBytes] (http://localhost:8081/pdf.worker.js:34359:25)
at Object.PDFImage_createImageData [as createImageData] (http://localhost:8081/pdf.worker.js:34262:31)
at http://localhost:8081/pdf.worker.js:37141:34
pdf.worker.js:2298 Warning: Unable to decode image: Error: JPEG error: marker was not found
pdf.js:277 Warning: Dependent image isn't ready yet
Configuration:

Web browser and its version: latest chrome
Operating system and its version: ubuntu
PDF.js version:
Is an extension:

Steps to reproduce the problem:
1.
2.
What is the expected behavior? (add screenshot)
What went wrong? (add screenshot)
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

Closing as duplicate of issue #4090.