Token filters - elision [DOC]

What do you want to do?

[ ] Request a change to existing documentation
[x] Add new documentation
[ ] Report a technical problem with the documentation
[ ] Other

Create a separate page for Token filter: elision
Part of META issue: https://github.com/opensearch-project/documentation-website/issues/1483
*Version: all

@Naarcha-AWS I can take this one


No download button

Hello, some videos returns "No download button"
There are some old videos hosted on Wistia, i managed to find a way to download those too.
If you want i can make a pull request later with the modification.

Yep, that will be great!
I have downloaded manually these too.


Remove serialization of AnyInt

Description

This is a breaking change! 🔥

The AnyInt type shouldn't be serializable.
This decision will force users to use explicit integers like NonZeroInt instead of using directly the AnyInt interface, or to use the Int type if they need to represent any integer.
Checklist

[ ] Remove the serialization of AnyInt.
[ ] Test on all platforms.
[ ] Refactor code.
[ ] Update the Unreleased section in the changelog.

If users use the Int type instead of the AnyInt type, they loose all advantages of using the explicit API this library offers.
So we will keep the serialization of the AnyInt type.


log-backup: log backup task may silently broken by a failed initialization

Bug Report

What version of TiKV are you using?
v6.5.5, but this probably happens on all current versions.
What operating system and CPU are you using?
a general x64 cpu.
Steps to reproduce

Begin a task, with one store has a temporary connective issue to PD.
Wait.

What did you expect?
The log backup task should either:

Fail.
Run normally.

What did happened?
The log backup lag increases to infinity. Until we evict all leaders in the store failed to connect to PD during loading the task.
It reports the log (thankfully...) and did nothing more.
[2023/11/07 19:29:51.821 +00:00] [WARN] [errors.rs:171] [""backup stream meet error""] [verbose_err="Etcd(...)"] [err="..."] [context=""failed to register backup stream task log-scheduled-backup-manager to router: ranges not found"

/component backup-restore


application re-open instead of browser when click on links in application

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
setup deep linking with the application
go to application settings and configure always open the application when click on link (abc.com)
now trigger a link in the same domain (abc.com/info)
If the user accidently click always open the app, there is no way to reset it unless the user re-set the configuration.
Expected results
Expect a message pop up to allow me to pick open the link on browser or open it with the application.
This happen by default if the user didn't set the configuration
Actual results
Reopen the application instead of the URL in browser
Code sample
Code sample
if (await canLaunch(url)) {
      await launch(
        url,
        forceSafariVC: false,
        forceWebView: false,
        enableJavaScript: true,
      );
    }

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.5.3, on Microsoft Windows [Version 10.0.19045.3570], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc1)
[√] Chrome - develop for the web
[√] Android Studio (version 2021.2)
[√] IntelliJ IDEA Ultimate Edition (version 2023.2)
[√] VS Code (version 1.83.0)
[√] Connected device (3 available)

• No issues found!

Hi @wijesijp. Thanks for filing this. I see you are on an older version of Flutter, can you please upgrade to the latest versions to see if this issue still persists? If it does, please provide a minimal complete reproducible code sample that doesn’t include 3rd party plugins or complex production code?


TENSORFLOW PROBLEM

Hi!
I've already installed the requirements but if I try to run the example I have the next error:
'tensorflow' has no attribute 'flags'
Loading customized config and text tokenizer...
2020-11-10 21:26:21.042753: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-11-10 21:26:21.042783: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
ln: failed to create symbolic link 'QuickUMLS': File exists
Traceback (most recent call last):
File "run_bluebert_ner_predict.py", line 34, in
flags = tf.flags
AttributeError: module 'tensorflow' has no attribute 'flags'
How can I solve that problem?

@CatalinaZ16  did you install the tensorflow or tensorflow-gpu?
If you don't use GPU, i would suggest to try install tensorflow-1.15.0 first for running it. If you do want to use GPU, you probably need to check the (compatibility between the versions of your CUDA driver and the tensorflow-gpu [https://www.tensorflow.org/install/gpu]).

Hello!
It already works. Thank you.
Regards.


Sample index bug in replay buffer

    def sample(self, batch_size, chunk_size):
        """
        (batch_size, chunk_size, input_size)
        """
        last_filled_index = self.buffer_index - chunk_size + 1
        assert self.full or (
            last_filled_index > batch_size
        ), "too short dataset or too long chunk_size"
        sample_index = np.random.randint(
            0, self.capacity if self.full else last_filled_index, batch_size
        ).reshape(-1, 1)
        chunk_length = np.arange(chunk_size).reshape(1, -1)

 =>   sample_index = (sample_index + chunk_length) % self.capacity

I suspect there is an error in the line marked by =>, as when the sample_index is close to the end of the buffer_index, the exceeding part will lie at the initialized empty data (which will be cast to zero in the latter). So the correct version would be
      sample_index = (sample_index + chunk_length) % self.buffer_index

Sorry for my wrong interpretation of % self.capacity, any exceeding part will be the last element, which is fine.


License Issue - code is derived from LGPL 2.1 code

While the licensing of LiquidCrystal  (or bundled Arduino libraries in general) was not obvious prior to 2015, things got much clearer in 2015 to more clearly state the current and past license for the LiquidCrystal library going back to 2006 was/is LGPL 2.1
This library code is a derivative of LiquidCrystal and  LiquidCrystal_I2C  both of which were/are licensed LGPL 2.1+
LGPL 2.1+ does not allow re-licensing derivative code with a different license with substantially different  terms such as public domain or MIT
The LGPL 2.1+ terms require that this library must also be licensed as LGPL 2.1+ or can use the "+" convert option to convert the license to a later/newer license such as gpl v3
This is from SerLCD.cpp
 * License: This code is public domain but you buy me a beer if you use this and we meet someday (Beerware license).
 *
 * This library is based heavily on the LiquidCrystal_I2C library and the sample code provided with
 * the SparkFun Serial OpenLCD display.  The original LiquidCrystal library by David A. Mellis and
 * modified by Limor Fried and the OpenLCD code by Nathan Seidle at SparkFun.
 *
 * The LiquidCrystal_I2C library was based on the work by DFRobot.
 * (That's the only attribution I found in the code I have. If anyone can provide better information,
 * Plese let me know and I'll be happy to give credit where credit is due.)

I have notes on LiquidCrystal and LiquidCrystal_I2C files that go back more than 10 years.
Unfortunately, some of the web pages & files are no longer available.

Perhaps they can still be found in Internet wayback machine.

Here is a more complete background history of the LiquidCrystal_I2C code.
The key take away is that the LiquidCrystal_I2C  library is not an original work by DFRobot.
The DFR code is a derivative of an earlier LiquidCrystal_I2C work by Mario H. which is derivative of LiquidCrystal
The LiquidCrystal_I2C files found out on the net typically have no copyright or licensing notices in them
but they are clearly from the same origin given they are all nearly identical to the much older LiquidCrystal_I2C files by Mario H
which originally were hosted here https://hmario.home.xs4all.nl/arduino/LiquidCrystal_I2C
This web page:  http://playground.arduino.cc/Code/LCDi2c
mentions Marios LiquidCrystal_I2C library as being available as of 2009-09-14
Mario's web page also claims his library was released in 2009 and in the V1 zip
image here:
http://www.xs4all.nl/~hmario/arduino/LiquidCrystal_I2C/V1.0/LiquidCrystal_I2C_V1.0.zip
all the files but 1 are dated 2009. And in the info sub directory there is a
file called "readme.txt" which states:
LiquidCrystal_I2C V1.0

The LiquidCrystal_I2C library is a modified version of the standard LiquidCrystal library as found on
the Arduino website.

So given Mario's LiquidCrystal_I2C library predates
DFRobot LiquidCrytal_I2C and DFRobot LiquidCrystal_I2C seems to have started with Mario's code,
DFRobot LiquidCrystal_I2C would be a derivative of Mario's LiquidCrystal_I2C
library and Mario's library is a derivative of the IDE LiquidCrystal library.
While the IDE LiquidCrystal code did not contain copyright notices or license
information in the LiquidCrystal source files themselves, at the point in time when LiquidCrystal_I2C was created,
the IDE LiquidCrystal code was licensed as LGPL 2.1 as indicated in the
license.txt file in the root directory of the arduino.cc IDE repository which
was committed October 11, 2007 and has not changed since.
It can be seen here:
https://github.com/arduino/Arduino/blob/master/license.txt
license.txt was a catchall license for all
Arduino core files and libraries provided by the IDE.
It contains a small note:
===========================

next, the gnu lesser general public license that covers the arduino core
and libraries.

===========================
What is below that tiny comment in the readme file is a LGPL 2.1 license agreement.
So it seems that the intent was that the LiquidCrystal library was released as LGPL 2.1
In 2015 the IDE LiquidCrystal source files were updated to contain a copyright notice and
license within the files.
Copyright (C) 2006-2008 Hans-Christoph Steiner. All rights reserved.
Copyright (c) 2010 Arduino LLC. All right reserved.

[ with a LGPL 2.1+ notice ]

To make it clear that the license for the LiquidCrystal library originally was and still is LGPL 2.1

Duplicate of Issue #27

Duplicate of Issue #27

I'm not sure how the duplicate got created.
My browser did report "server not found" the first time I submitted it so I submitted it again.
I guess the first submit actually did create it even though I got the error.

I'm not sure how the duplicate got created.
My browser did report "server not found" the first time I submitted it so I submitted it again.
I guess the first submit actually did create it even though I got the error.


Cannot build on openSUSE Leap 15.4

I'm not sure what development Qt packages I need for building this and I'm pretty sure I don't have any. What packages do I need?
I tried building with cmake -S . -B build and this was the output:
-- The CXX compiler identification is GNU 13.0.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at src/CMakeLists.txt:2 (find_package):
  By not providing "FindQt6.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt6", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt6" with any of
  the following names:

    Qt6Config.cmake
    qt6-config.cmake

  Add the installation prefix of "Qt6" to CMAKE_PREFIX_PATH or set "Qt6_DIR"
  to a directory containing one of the above files.  If "Qt6" provides a
  separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred!
See also "/home/plasma/Downloads/unofficial-discord-client-master/build/CMakeFiles/CMakeOutput.log".

Since discord are against 3rd party clients I will not go deep to working on this, but if someone want to take the head of development I will review the PR opened :)
In your env probably it can't figure out where you have installed Qt pkgs... Just export that variable and should be fine


Implement Lisp Exercises

This is a placeholder issue for keeping track of porting assignments to Lisp, or noting why they may not be applicable. (This list shamelessly stolen from https://github.com/exercism/xclojure/issues/1)

[X] bob
[X] word-count
[X] anagram
[X] beer-song
[X] nucleotide-count
[X] rna-transcription
[X] point-mutations
[X] phone-number
[X] grade-school
[X] robot-name
[X] leap
[X] etl
[X] meetup
[X] space-age
[X] grains
[X] gigasecond
[X] triangle
[X] scrabble-score
[X] roman-numerals
[X] binary
[ ] prime-factors @wobh
[ ] raindrops @canweriotnow
[X] allergies
[ ] strain
[ ] atbash-cipher
[ ] accumulate
[ ] bank-account
[ ] crypto-square
[ ] trinary
[x] sieve @wobh
[ ] simple-cipher
[ ] octal
[ ] luhn
[ ] pig-latin
[ ] pythagorean-triplet @wobh
[ ] series
[X] difference-of-squares
[ ] secret-handshake
[ ] linked-list
[ ] wordy
[ ] hexadecimal
[ ] largest-series-product
[ ] kindergarden-garden
[ ] binary-search-tree
[ ] matrix
[ ] robot-simulator
[ ] nth-prime @wobh
[ ] palindrome-products
[ ] pascals-triangle @wobh
[ ] say
[ ] sum-of-multiples
[ ] queen-attack
[ ] saddle-points
[ ] ocr-numbers

How do you want to divvy these up? There's a number of simple ones, we should probably try to get out sooner rather than later: roman numerals, difference of squares, nth-prime, pascals triangle, raindrops, and probably others. They can be cycled earlier into the list of existing exercises.

Maybe we can just note down when one of us 'takes' one to do it. Then handle the submission via pull request?

Got "difference of squares" almost ready. Roman numerals next.

PR #45 should check off 'raindrops'

So, I've been away from exercism and xlisp for a while due to health problems and other stuff, but I'm getting back into it. I'd like to hold off a bit on new exercises until we can check off the second box, it's subtasks and third box in #26.
I made some headway on that back in January here: https://github.com/wobh/xlisp/tree/xlisp-26-test-lib so I believe we're really close.

Been away from xlisp for a while as well. Maybe coming back now. Need to clean up old business I left behind here (and give some nits on exercism!)

For future reference:

all exercises implemented by language: http://synopsis.exercism.io
all exercise readme's: https://github.com/exercism/x-common

Oh, cool. Would it be aright if I snagged a couple?

Sure!

Sweet. I'll stick my username next to those I plan to implement in the list then PR.

We have a new process that you can use to find exercises to implement.
You can read all about it here.
I'm closing this issue in favor of the process described in the Contributing guide linked to above.
Thanks!


Several hs problems

Several problems of HS are added.

I would suggest, probably, in these and subsequent related benchmarks to take into account the following points:

It is better to use 2 "top" level folders: "hs" and "hs_constr".

The DESC text should be more accurate:
2.1) Check that DESC relates to the code of the benchmark (in several benchmarks, this is not the case: "i - integer control", number of variables, etc.);
2.2) It is probably worth adding a link to the web page in DESC, which describes the corresponding benchmark;
2.3) The phrase "Continuous optimal control (OC) problem" seems not quite correct, because, formally speaking, this is not a control problem, but a standard optimization of a given function.

In the presence of constraints, the use of three functions bm_constr, _f_batch_good and _f_batch complicates the code. I suggest to:
3.1) rename the bm_constr function to _constr_batch and leaving its contents unchanged;
3.2) to delete the function "_f_batch" and move its content into the method get of the parent class Bm (since the constraint execution check is performed in the same way in all benchmarks) at the same time, we additionally need to introduce a flag (like with_constr) into Bm class for the presence of a constraint in the benchmark or something similar so that the method knows whether or not to call the constraint function;
3.3) rename the _f_batch_good function to _f_batch and leaving its contents unchanged.

It is necessary to edit the content of if __name__ == '__main__': of the new benchmarks so that it matches the function dimension etc.

We need to move the imports from the __init__.py scripts in the subfolders to the top-level __init__.py script, or refine the demo script (demo.py).

I accept this pull request in its current form, and then we will jointly refine the code of new benchmarks ;)


Mandatory dependency on ring on unix platforms (including Linux)

rustls-platform-verifier/Cargo.toml contains:
[target.'cfg(all(unix, not(target_os = "android"), not(target_os = "macos"), not(target_os = "ios"), not(target_os = "tvos")))'.dependencies]
rustls-native-certs = "0.7"
webpki = { package = "rustls-webpki", version = "0.102", features = ["ring", "alloc", "std"] }

As far as I can tell, this force-enables ring on any unix platform that isn't android or an apple platform.
I maintain a crate with an indirect dependency on rustls-platform-verifier, and I'd like to be able to offer my users the option of using ring, aws-lc-rs, or a custom crypto provider.
Would it be possible to remove this mandatory dependency?

Would it be possible to remove this mandatory dependency?

@joshtriplett This should be fixed for you in v/0.3.2.

@cpu Thank you!


feat: utilization map plotted with pydeck

Pull Request doc
Purpose
To show the code differences between plotting utilization maps using Bokeh and Pydeck:
https://pydeck.gl/
A working demo of the output can be found here:
https://cleanenergy.blob.core.windows.net/cleanenergy-misc/1705Utilization2.html
The biggest changes were removing the projection code (now done by the GPU on the fly), and defining a color gradient function (also rendered on the GPU) for the lines. Though I made modifications to the existing utilization plot file to make the differences clearer, we will probably will want to have this implementation in a separate folder.
Overall, using pydeck results in MUCH faster map rendering and smoother map navigation which should lay the groundwork for future map animations. We might discuss if we want to continue with the current Bokeh color scheme (I'm still tweaking the color mapping) or use something different. We also plan to use a different map tiles that have more prominent state outlines.
Scenario 1705 Utilization map in Bokeh:

Scenario 1705 Utilization map in PyDeck:

Decided to continue using Bokeh in PostREISE for now...


Fix retention days for backups

Backups are held for 7 days and final snapshots are held for 35 days. Update the docs to reflect this reality.

tweaks done


Retrieve the population of a region

SELECT Region,
SUM(Population) AS Population
FROM country
WHERE Region = 'your_region';

SELECT SUM(Population) AS RegionPopulation FROM country WHERE Region = ?


update to OPAM 2 and add Travis config from Coq-community

As requested by @dranov in #22. Also tests with Coq master besides 8.9.

@dranov can you approve this so I can merge?


Use of re package for string operation in testsuite

What is the purpose of this change? What does it change?

Was the change discussed in an issue?
fixes #1129

How to test changes?
CI should go green or run test locally one by one through make test-*

:white_check_mark: odo build 1588 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/eea3f28e74 by @amitkrout)

:white_check_mark: odo build 1610 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/a2de58e4a5 by @amitkrout)

:white_check_mark: odo build 1611 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/c4edb3505b by @amitkrout)

:white_check_mark: odo build 1614 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/f9e414f67d by @amitkrout)

  78,88: 					url := runCmdShouldPass("odo url list | grep `odo component get -q` | grep 8080 | awk '{print $2}' | tr -d '\n'")
  83,70: 						podName := runCmdShouldPass("oc get pods | grep nodejs-watch | awk '{print $1}' | tr -d '\n'")
  141,88: 					url := runCmdShouldPass("odo url list | grep `odo component get -q` | grep 8080 | awk '{print $2}'")
  145,70: 						podName := runCmdShouldPass("oc get pods | grep python-watch | awk '{print $1}' | tr -d '\n'")
  222,88: 					url := runCmdShouldPass("odo url list | grep `odo component get -q` | grep 8080 | awk '{print $2}' | tr -d '\n'")
  227,71: 						podName := runCmdShouldPass("oc get pods | grep wildfly-watch | awk '{print $1}' | tr -d '\n'")
  298,88: 					url := runCmdShouldPass("odo url list | grep `odo component get -q` | grep 8080 | awk '{print $2}' | tr -d '\n'")
  302,71: 						podName := runCmdShouldPass("oc get pods | grep openjdk-watch | awk '{print $1}' | tr -d '\n'")
  368,88: 					url := runCmdShouldPass("odo url list | grep `odo component get -q` | grep 8080 | awk '{print $2}' | tr -d '\n'")
  443,88: 					url := runCmdShouldPass("odo url list | grep `odo component get -q` | grep 8080 | awk '{print $2}' | tr -d '\n'")```

10 places from where `awk` and other related commands need to be removed

grep instances found
/home/gramnani/GoProjects/src/github.com/redhat-developer/odo/tests/e2e/component.go
  90,44: 			waitForEqualCmd("curl -s "+routeURL+" | grep 'develop' | wc -l | tr -d '\n'", "1", 10)

/home/gramnani/GoProjects/src/github.com/redhat-developer/odo/tests/e2e/e2e_test.go
  96,69: 			configOutput := runCmdShouldPass("odo utils config view --global|grep Timeout")
  102,70: 			configOutput := runCmdShouldPass("odo utils config view --global |grep UpdateNotification")
  105,69: 			configOutput = runCmdShouldPass("odo utils config view --global |grep Timeout")
  110,60: 			configOutput := runCmdShouldPass("odo utils config view|grep ComponentType")
  119,59: 			configOutput = runCmdShouldPass("odo utils config view|grep ComponentType")
  127,69: 			configOutput = runCmdShouldPass("odo utils config view --global |grep Timeout")
  399,58: 				curlRoute := waitForEqualCmd("curl -s "+getRoute+" | grep 'Welcome to your Node.js application on OpenShift' | wc -l | tr -d '\n'", "1", 10)
  401,6: 					grepBeforePush := runCmdShouldPass("curl -s " + getRoute + " | grep 'Welcome to your Node.js application on OpenShift'")
  401,69: 					grepBeforePush := runCmdShouldPass("curl -s " + getRoute + " | grep 'Welcome to your Node.js application on OpenShift'")
  402,63: 					log.Printf("Text before odo push: %s", strings.TrimSpace(grepBeforePush))
  416,58: 				curlRoute := waitForEqualCmd("curl -s "+getRoute+" | grep -i odo | wc -l | tr -d '\n'", "1", 10)
  418,6: 					grepAfterPush := runCmdShouldPass("curl -s " + getRoute + " | grep -i odo")
  418,68: 					grepAfterPush := runCmdShouldPass("curl -s " + getRoute + " | grep -i odo")
  419,62: 					log.Printf("Text after odo push: %s", strings.TrimSpace(grepAfterPush))
  420,13: 					Expect(grepAfterPush).To(ContainSubstring("ODO"))

/home/gramnani/GoProjects/src/github.com/redhat-developer/odo/tests/e2e/java_test.go
  38,67: 			buildName := runCmdShouldPass("oc get builds --output='name' | grep javaee-git-test | cut -d '/' -f 2")
  54,57: 			pingValue := waitForEqualCmd("curl -s "+routeURL+" | grep 'Insult' | wc -l | tr -d '\n'", "1", 10)
  65,67: 			buildName := runCmdShouldPass("oc get builds --output='name' | grep wo-wait-javaee-git-test | cut -d '/' -f 2")
  68,53: 			buildStatus := runCmdShouldPass("oc get builds | grep wo-wait-javaee-git-test")
  71,44: 			dcName := runCmdShouldPass("oc get dc | grep wo-wait-javaee-git-test | cut -f 1 -d ' '")
  75,46: 				dcStatus := runCmdShouldPass("oc get dc |grep wo-wait-javaee-git-test | cut -f 4 -d ' '")
  94,57: 			pingValue := waitForEqualCmd("curl -s "+routeURL+" | grep 'Insult' | wc -l | tr -d '\n'", "1", 10)
  104,44: 			dcName := runCmdShouldPass("oc get dc | grep javaee-war-test| cut -f 1 -d ' '")
  119,57: 			pingValue := waitForEqualCmd("curl -s "+routeURL+" | grep 'Sample' | wc -l | tr -d '\n'", "2", 10)
  132,67: 			buildName := runCmdShouldPass("oc get builds --output='name' | grep uberjar-git-test | cut -d '/' -f 2")
  148,57: 			pingValue := waitForEqualCmd("curl -s "+routeURL+" | grep 'Hello World' | wc -l | tr -d '\n'", "1", 10)
  161,44: 			dcName := runCmdShouldPass("oc get dc | grep sb-jar-test| cut -f 1 -d ' '")
  175,57: 			pingValue := waitForEqualCmd("curl -s "+routeURL+" | grep 'HTTP Booster' | wc -l | tr -d '\n'", "1", 10)

/home/gramnani/GoProjects/src/github.com/redhat-developer/odo/tests/e2e/service_test.go
  75,45: 				waitForEqualCmd("curl -s "+routeURL+" | grep 'Spring Boot' | wc -l | tr -d '\n'", "3", 2)

/home/gramnani/GoProjects/src/github.com/redhat-developer/odo/tests/e2e/source_test.go
  39,44: 			waitForEqualCmd("curl -s "+routeURL+" | grep 'WSGI' | wc -l | tr -d '\n'", "1", 10)
  60,44: 			waitForEqualCmd("curl -s "+routeURL+" | grep 'Javalin' | wc -l | tr -d '\n'", "1", 10)
  79,44: 			waitForEqualCmd("curl -s "+routeURL+" | grep 'Insult' | wc -l | tr -d '\n'", "1", 10)
  98,44: 			waitForEqualCmd("curl -s "+routeURL+" | grep 'node.js' | wc -l | tr -d '\n'", "1", 10)
  117,44: 			waitForEqualCmd("curl -s "+routeURL+" | grep 'dotnet' | wc -l | tr -d '\n'", "1", 10)

/home/gramnani/GoProjects/src/github.com/redhat-developer/odo/tests/e2e/watch_test.go
  78,46: 					url := runCmdShouldPass("odo url list | grep `odo component get -q` | grep 8080 | awk '{print $2}' | tr -d '\n'")
  78,76: 					url := runCmdShouldPass("odo url list | grep `odo component get -q` | grep 8080 | awk '{print $2}' | tr -d '\n'")
  83,50: 						podName := runCmdShouldPass("oc get pods | grep nodejs-watch | awk '{print $1}' | tr -d '\n'")
  85,96: 						runCmdShouldPass("oc exec " + podName + " -c nodejs-watch-testing -- ls -lai /tmp/src/ | grep 'a b';exit")
  86,96: 						runCmdShouldFail("oc exec " + podName + " -c nodejs-watch-testing -- ls -lai /tmp/src/ | grep 'a b.txt';exit")
  141,46: 					url := runCmdShouldPass("odo url list | grep `odo component get -q` | grep 8080 | awk '{print $2}'")
  141,76: 					url := runCmdShouldPass("odo url list | grep `odo component get -q` | grep 8080 | awk '{print $2}'")
  145,50: 						podName := runCmdShouldPass("oc get pods | grep python-watch | awk '{print $1}' | tr -d '\n'")
  146,96: 						runCmdShouldPass("oc exec " + podName + " -c python-watch-testing -- ls -lai /tmp/src/ | grep 'a b';exit")
  151,96: 						runCmdShouldFail("oc exec " + podName + " -c python-watch-testing -- ls -lai /tmp/src/ | grep 'a b.txt';exit")
  222,46: 					url := runCmdShouldPass("odo url list | grep `odo component get -q` | grep 8080 | awk '{print $2}' | tr -d '\n'")
  222,76: 					url := runCmdShouldPass("odo url list | grep `odo component get -q` | grep 8080 | awk '{print $2}' | tr -d '\n'")
  227,50: 						podName := runCmdShouldPass("oc get pods | grep wildfly-watch | awk '{print $1}' | tr -d '\n'")
  229,117: 						runCmdShouldPass("oc exec " + podName + " -c wildfly-watch-testing -- ls -lai /opt/s2i/destination/src/src/ | grep 'a b';exit")
  232,117: 						runCmdShouldFail("oc exec " + podName + " -c wildfly-watch-testing -- ls -lai /opt/s2i/destination/src/src/ | grep 'a b.txt';exit")
  298,46: 					url := runCmdShouldPass("odo url list | grep `odo component get -q` | grep 8080 | awk '{print $2}' | tr -d '\n'")
  298,76: 					url := runCmdShouldPass("odo url list | grep `odo component get -q` | grep 8080 | awk '{print $2}' | tr -d '\n'")
  302,50: 						podName := runCmdShouldPass("oc get pods | grep openjdk-watch | awk '{print $1}' | tr -d '\n'")
  304,101: 						runCmdShouldPass("oc exec " + podName + " -c openjdk-watch-testing -- ls -lai /tmp/src/src/ | grep 'a b';exit")
  307,101: 						runCmdShouldFail("oc exec " + podName + " -c openjdk-watch-testing -- ls -lai /tmp/src/src/ | grep 'a b.txt';exit")
  369,46: 					url := runCmdShouldPass("odo url list | grep `odo component get -q` | grep 8080 | awk '{print $2}' | tr -d '\n'")
  369,76: 					url := runCmdShouldPass("odo url list | grep `odo component get -q` | grep 8080 | awk '{print $2}' | tr -d '\n'")
  444,46: 					url := runCmdShouldPass("odo url list | grep `odo component get -q` | grep 8080 | awk '{print $2}' | tr -d '\n'")
  444,76: 					url := runCmdShouldPass("odo url list | grep `odo component get -q` | grep 8080 | awk '{print $2}' | tr -d '\n'")

:white_check_mark: odo build 1651 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/807cc2e5fa by @amitkrout)

@girishramnani Thanks a lot for these reference.  You could work on converting each test separately

:white_check_mark: odo build 1814 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/66f16110ea by @amitkrout)

@amitkrout wouldn't it be easier to split this into multiple PRs? You could work on converting each test separately

+100, Awesome idea!!!
Closing the pr and will start sending pr for each test file. It will really speed up the process. Thanks a lot.

@kadel  https://github.com/redhat-developer/odo/issues/1129#issuecomment-468219393


docs/howto/debugging: Move "you can skip this step" to top of the step.

So people don't do the step unnecessarily.

Merged, thanks!


Athena vs Glue Load

what are the tradeoffs between the two? How do the costs differ? Are there limitations with one approach or the other with respect to functionality e.g. limited data quality provision in athena? (for the MVP we want only 1 type of compute, will just Athena suffice?)
Cost implications between them
Defintion of Done

Record the decision in confluence
Choose one of the option
Demo the Athena load to TA's

decision recorded here https://dsdmoj.atlassian.net/wiki/spaces/DataPlatform/pages/4463755568/MVP+compute+method


Implement project management commands

I'd recommend running tsuru locally with tsuru-bootstrap to review this locally.
Here's a terminal session using the commands, to help reviewing:
% tsuru-admin pool-add -p dev/dev.example.com
Pool successfully registered.
% tsuru-admin pool-add -p qa/qa.example.com
Pool successfully registered.
% tsuru-admin pool-add -p stage/stage.example.com
Pool successfully registered.
% tsuru-admin pool-add -p production/example.com
Pool successfully registered.
% tranor target-set https://gist.githubusercontent.com/fsouza/ac50e24d18bd7c24588164481fa3686b/raw/482b60f8ecff0cf77bcc2db8903dff5492910447/
Target successfully defined!
% tranor env-list
+-------------+-------------------+
| Environment | DNS Suffix        |
+-------------+-------------------+
| dev         | dev.example.com   |
| qa          | qa.example.com    |
| stage       | stage.example.com |
| production  | example.com       |
+-------------+-------------------+
% tranor project-create --name myblog --platform python --team admin
successfully created the project "myblog"!
Git repository: git@<IP_ADDRESS>.nip.io:myblog-dev.git
% tranor project-create -n website -l static -t admin -e dev,production
successfully created the project "website"!
Git repository: git@<IP_ADDRESS>.nip.io:website-dev.git
% tranor project-list
+---------+--------------+--------------------------+
| Project | Environments | Address                  |
+---------+--------------+--------------------------+
| myblog  | dev          | myblog.dev.example.com   |
|         | qa           | myblog.qa.example.com    |
|         | stage        | myblog.stage.example.com |
|         | production   | myblog.example.com       |
+---------+--------------+--------------------------+
| website | dev          | website.dev.example.com  |
|         | production   | website.example.com      |
+---------+--------------+--------------------------+
# ... manually deploy the app website-dev
% tranor project-info -n website
Project name: website

+-------------+-------------------------+---------+-------------------------------+
| Environment | Address                 | Version | Deploy date                   |
+-------------+-------------------------+---------+-------------------------------+
| dev         | website.dev.example.com | v1      | Mon, 05 Sep 2016 16:36:19 UTC |
| production  | website.example.com     |         |                               |
+-------------+-------------------------+---------+-------------------------------+

Current coverage is 94.95% (diff: 95.28%)

Merging #3 into master will increase coverage by 1.44%

@@             master         #3   diff @@
==========================================
  Files             3          5     +2
  Lines            77        416   +339
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits             72        395   +323
- Misses            4         12     +8
- Partials          1          9     +8

Powered by Codecov. Last update 2da3b70...5d48af7

@fsouza two initial comments:

Would it be possible for us to have a separate PR with the go dependencies? As we currently use Github for reviewing, it got a bit lost with the amount of files which were added
The documentation you wrote as part of the PR is great - what do you think of adding it as a doc for developers in the project, as a md?

congratulation @fsouza for beating the previous record ( @aflag : 121 files )

@tatiana since the build would fail without the dependencies and there's no point in reviewing the vendor directory, I pushed it directly to master and rebased the changes in the PR, it should be easier to review now.

@Lepthy down to 11 files now :D

@tatiana should I include the docs in the readme?

We have two issues with the way we are doing pools. One is what @tatiana already flagged. By trying to create a project without passing envs it fails if config.json doesn't have all environments:
$ tsuru pool-list
+-------------------------+--------+-------+
| Pool                    | Kind   | Teams |
+-------------------------+--------+-------+
| dev/dev.example.com     | public |       |
| production/example.com  | public |       |
| qa/qa.example.com       | public |       |
| stage/stage.example.com | public |       |
| theonepool              | public |       |
+-------------------------+--------+-------+
$ tranor env-list
+-------------+------------------+
| Environment | DNS Suffix       |
+-------------+------------------+
| dev         | dev.example.com   |
| stage       | stage.example.com |
| production  | example.com       |
+-------------+------------------+
$ tranor project-create --name myblog --platform python --team admin
Error: failed to load environments: invalid values: qa (valid options are: dev, stage, production)

Another problem, which is not directly related to this pull request, is that tsuru is bad at handling pool names with /. Look at my attempt to remove qa/qa.example.com:
$ tsuru-admin pool-remove qa/qa.example.com
Are you sure you want to remove "qa/qa.example.com" pool? (y/n) y
Error: 404 page not found

BTW: will project-update be part of this PR as well?

@tatiana yes, I'll   include project-update in the PR :)

@aflag the values for the default enviornments were hard coded, but as suggested by @tatiana, they're now loaded from the config file. Please try again.

The project myblog is left over from a previous revision of this PR. After trying to delete it with the latest revision this happened:
rafael@zim:~/code/go/src/github.com/ef-ctx/tranor£ tranor project-list
+---------+--------------+--------------------------+
| Project | Environments | Address                  |
+---------+--------------+--------------------------+
| banana  | dev          | banana.dev.example.com   |
|         | qa           | banana.qa.example.com    |
|         | stage        | banana.stage.example.com |
+---------+--------------+--------------------------+
| melon   | dev          | melon.dev.example.com    |
|         | qa           | melon.qa.example.com     |
|         | stage        | melon.stage.example.com  |
|         | prod         | melon.example.com        |
+---------+--------------+--------------------------+
| myblog  | dev          | myblog.dev.example.com   |
|         | qa           | myblog.qa.example.com    |
|         | stage        | myblog.stage.example.com |
+---------+--------------+--------------------------+
rafael@zim:~/code/go/src/github.com/ef-ctx/tranor£ tranor project-remove -n banana
Are you sure you want to remove the project "banana"? (y/n) y
Project successfully removed!
rafael@zim:~/code/go/src/github.com/ef-ctx/tranor£ tranor project-remove -n myblog
Are you sure you want to remove the project "myblog"? (y/n) y
Project successfully removed!
rafael@zim:~/code/go/src/github.com/ef-ctx/tranor£ tranor project-list
+---------+--------------+-------------------------+
| Project | Environments | Address                 |
+---------+--------------+-------------------------+
| melon   | dev          | melon.dev.example.com   |
|         | qa           | melon.qa.example.com    |
|         | stage        | melon.stage.example.com |
|         | prod         | melon.example.com       |
+---------+--------------+-------------------------+
| myblog  | dev          | myblog.dev.example.com  |
+---------+--------------+-------------------------+
rafael@zim:~/code/go/src/github.com/ef-ctx/tranor£ tranor project-remove -n myblog
Are you sure you want to remove the project "myblog"? (y/n) y
Error: project not found
rafael@zim:~/code/go/src/github.com/ef-ctx/tranor£ tsuru app-list
+-------------------+-------------------------+---------------------------------------+
| Application       | Units State Summary     | Address                               |
+-------------------+-------------------------+---------------------------------------+
| banana-production | 0 of 0 units in-service | banana.example.com                    |
|                   |                         | banana-production.<IP_ADDRESS>.nip.io |
+-------------------+-------------------------+---------------------------------------+
| melon-dev         | 0 of 0 units in-service | melon.dev.example.com                 |
|                   |                         | melon-dev.<IP_ADDRESS>.nip.io         |
+-------------------+-------------------------+---------------------------------------+
| melon-prod        | 0 of 0 units in-service | melon.example.com                     |
|                   |                         | melon-prod.<IP_ADDRESS>.nip.io        |
+-------------------+-------------------------+---------------------------------------+
| melon-qa          | 0 of 0 units in-service | melon.qa.example.com                  |
|                   |                         | melon-qa.<IP_ADDRESS>.nip.io          |
+-------------------+-------------------------+---------------------------------------+
| melon-stage       | 0 of 0 units in-service | melon.stage.example.com               |
|                   |                         | melon-stage.<IP_ADDRESS>.nip.io       |
+-------------------+-------------------------+---------------------------------------+
| myblog-production | 0 of 0 units in-service | myblog.example.com                    |
|                   |                         | myblog-production.<IP_ADDRESS>.nip.io |
+-------------------+-------------------------+---------------------------------------+
| tsuru-dashboard   | 1 of 1 units in-service | tsuru-dashboard.<IP_ADDRESS>.nip.io   |
+-------------------+-------------------------+---------------------------------------+

I would expect at least an error while removing the project.

Calling project-info in a project that does not exist should return an error to the user. Instead, this happens:
rafael@zim:~/code/test£ tranor project-info -n notfound
Project name: notfound

+-------------+---------+-------+-------------+
| Environment | Address | Image | Deploy date |
+-------------+---------+-------+-------------+
+-------------+---------+-------+-------------+

@aflag we can write a loop in project-remove that waits for all apps to be removed. Should we do that?
I treated the notfound error on project-remove but forgot to do the same thing on project-info, sorry :-(

@aflag I'm still working on project-update, but all the previous comments have been addressed. Thanks for reviewing and testing this!
Regarding the pool name, I tested and we could use either \ or |. I prefer the first, but I don't have a good reason, I just prefer :D

@fsouza awesome work, thanks! Let's go with the \ just for lazy shell programming ;)

This is finally ready for review again, include project-update!


DRPC is constantly reconciling in a tight loop

Post a failover and subsequent relocate, DRPC seems to get into a tight reconcile loop and keeps reconciling the resource. Need to investigate why and address the same.
NOTE: Other areas of drpc reconciliation is already WIP, just noting this down as well.

Addressed in prior PRs.


IndexError: list index out of range

 ETHUSDT has gained 21.425% in the last 5 minutes, calculating volume in USDT
 preparing to buy 0.26192 ETHUSDT
Traceback (most recent call last):
  File "/Users/miguelstevens/Desktop/bot/Binance Detect Moonings.py", line 299, in <module>
    update_porfolio(orders, last_price, volume)
  File "/Users/miguelstevens/Desktop/bot/Binance Detect Moonings.py", line 267, in update_porfolio
    'symbol': orders[coin][0]['symbol'],
IndexError: list index out of range

Received this error, the console has been open for about an hour, all default settings are there, using testnet as well.

I'm unable to replicate your issue but could you try changing the way you store information from the last order in the update portfiolio function to be:
            'symbol': orders[coin][-1]['symbol'],
            'orderid': orders[coin][-1]['orderId'],
            'timestamp': orders[coin][-1]['time'],
            'bought_at': last_price[coin]['price'],
            'volume': volume[coin]

Let me know if this fixes your issue

@CyberPunkMetalHead I made the changes! I'll let you know if the problem is fixed with that, thank you!

Awesome, keep me updated :)

Just out of curiosity,  if 0 selects the first index of the array, what does -1 do in python, select the last?

Yep, exactly that :)


Fill in the namespace for all resource specs.

The use case for this is subtle, but the authn/authz APIs that can be customized for any given Kubernetes cluster, are only given the resource object's spec as-is. If the namespace is not provided in the spec, the model sent around to these authentication endpoints won't know what the namespace is on the resource, which can be critical information for them to make decisions in admission control. The API server itself knows the namespace since it's encoded in the request URI,but other components that receive the resource object model need this information to be provided in the spec.

Is there an upstream ticket for this?  Sounds like a change in the apiserver to forward the inferred namespace to the authz server would make this unnecessary?

@foxish is there a way upstream Kubernetes could fill this in for Authz if it's missing in the original resource object?

Are you using a custom authorization plugin? The requestAttributes object should allow you to get the namespace associated with that request I think.

We addressed this internally

We are using a custom authorization plugin, and have patched our internal fork of kubernetes to send additional info where it wasn't before.  I'm not sure how applicable it is to the wider kubernetes community though as we've changed how that works a bit, so am closing this PR.
@jlz27 who chatted with you about ingress a few weeks ago might have more details to share.

Ya this was due to a bug in our custom webhook based admission controller. We forked k8s apiserver to add pluggable support for admission control and did not pass the path based parameters from Attributes.


switch order of HOC's in compose

Currently active route was not being highlighted int he sidebar.
Due to https://github.com/ReactTraining/react-router/blob/master/packages/react-router/docs/guides/blocked-updates.md,
React Router props were not updating in PrimaryNav. Switched order of connected and withRouter in compose() and
the issue was resolved.

Coverage remained the same at 26.707% when pulling fe97ac3981a14395a64efef8b68dc2b5e354b459 on Jskobos:fix-sidebar-highlighting into 522dbd026683ba404cd177eec1a4b3d66d8418c5 on linode:develop.


1kHz control rate

Hi all!
According to the specs of the robot, it is possible to control it at 1kHz.
However, I have been struggling to reach any control rate higher than 500Hz.
I have tested this by modifying the lowcmd_development.cpp example by changing the dt attribute and setting it to 1ms.
This change does not seem to have any effect as the function sendRecv seems to be blocking the code and have a hard-coded sleep time of 2ms, which prevents any control higher than 500Hz.
Is there any way to bypass this issue and obtain the advertised 1kHz control rate?

Sorry abot that. The z1 is not enough to support such a high frequency.
This depends on the structure size and baud rate of the RS485 communication with the motor.


Fix 2098 - FSharp.Core in incremental builder

See #2098
@vasily-kirichenko  Not sure if this is a complete fix, but it may get us further

The bug is gone! Excellent work :)

@dsyme ... Debug vsix works now with crashing every 5 minutes.
Thanks.


Move XML template into XML handler directly

NIST_XML_TEMPLATE should probably be removed from constants and placed into the xml handler as-is.

Should the xml template use the various NIST_KEY_* values? Probably not but worth noting.

This was a child issue of #14


Move Program out of the backends

It is currently almost identical between the Cocoa backend and the GTK+ one, and as it is the main entrypoint of the library it makes no sense to have it implemented by each backend.

I recall attempting this a while back and getting stuck on the different threading models of the backends. As discussed in #11, the plan is to (eventually) split cedar into multiple crates, including a core, which would likely include a Program trait (or something similar).
In the mean time, I'll leave this open in case you want to take a pass at it and submit a pull request.

I would like to see the same kind of change for View, but the import of widgets at the top annoys me a bit. I could do just like I did for the Application when moving Program in #14, but that feels a lot more of a hack. Any idea?

program has been simplified to a single function in #18. Also, View has been removed in favor of tree and dom.


Setting custom content-path does not work

Hello, I am trying to configure shinyproxy to be hosted on /shiny
Following docs https://www.shinyproxy.io/configuration/  I should set in application.yml:
landing page: /shiny
server:
servlet:
context-path: /shiny
But this configs does not work, shiny still listens on root /
Could you please provide right config to use?

Setting the context-path should be enough. You don't need to set-up the landing-page, since this is relative to the context-path, and you would get .../shiny/shiny address.

found that issue: https://github.com/openanalytics/shinyproxy/issues/79
and seems fix is on 2.0.2+ shiny only https://github.com/openanalytics/shinyproxy/commit/58f135828e3b24cf9976069da58dcbf4b3f502fb


can't edit the descriptor of the second account with a text box but can with a camera and QR code

Create new wallet
Settings Tab
Click "Edit" next to the descriptor
Paste a descriptor
Click OK
Apply
Add account
OK
"Edit" button is not available. You can only scan a QR code or show an incomplete descriptor that has no master fingerprint or xpub.

I don't understand why the second account can't add a descriptor by pasting into the text box, but it can by scanning a QR code. It seems like both options should always be available.

I've allowed editing of the output descriptor of a new account on a watch only wallet in 1887e1c7. Changing the policy or script type won't be allowed though.

So, if you paste or scan a descriptor that uses a different script or policy type, will it error out or it just sneaks the script or policy type change through that way?

It will show an error, and no change to the wallet will be made.

Nice, sparrow wallet gets better every day!


BCI2000 IO

This adds a new IO to Neo for importing BCI2000 dat files.
How do I upload the test data files to g-node?

This new io looks, the code is really clear.
For the file you need, a G-Node account (there are base in Munchen, Germany).
I don't remember how to get it. I will ask.
@achilleas-k is it possible to create a ccount for Chadwick ?
I can also send me theses files and I will put them there myself, it will be faster.

If it's just a one-time addition of files I (or you, @samuelgarcia) can add them. If @cboulay will need to update the files frequently, we can create an account, yes. Let me know if an account is necessary.

Sorry, the last few days have been busy and somehow I didn't get notifications about your comments. The data files are publicly available as part of the BCI2000 distribution but it's probably still easier for me to send them to Samuel.

I've addressed your comments and sent you the test data. I will await further instructions or comments.

Everything looks good.
I have put files at gnode there are here https://portal.g-node.org/neo/bci2000/
So you shoudl able to lauch  nosetest  neo/test/iotest/test_bci2000.py
Could you also make a test file in neo/rawio/tests/test_bci2000rawio.py
See other test in the dir.
It is important, some other tests are launch at low level.
Could you test both on py and py3 ?

I added the rawio test then made some py2 compatibility fixes. It is now py2 and py3 tested.
I had to comment out from __future__ import unicode_literals because it was interfering with my ability to define column names for my structured arrays. Nothing else seems to be affected so far.
Sorry I took so long to get to this. I still can't figure out why I'm not getting notifications for comments on this PR. If you have any further comments or requests for me, please @ mention me by name to make sure I get the notification.

I think it is OK.
Tell us if we can merge.
Thank you for this new RawIO.

The 3.6 test failed because TestTdtIOIO (SIC) timed out after 10 min.
The 2.7 test is taking a long time, probably for the same reason.
BTW, I discovered why I wasn't getting e-mail notifications about this PR. I hope I won't take another 2 weeks to answer you next time.

Hi.
thanks for the fix.
I guess this is ready for merge.


[Feature][resource center] Can the resource center support Tencent Cloud COS

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
I am currently using HDFS in the resource center and I want to migrate to Tencent Cloud COS uniformly. What changes do I need to make? Tencent Cloud's bucket is public read
Use case
After switching to Tencent Cloud COS, you can perform upload, download, and preview operations in the resource center
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Currently there are no plans to support it.

Can I connect to Tencent Cloud COS through the dependency of S3Utils and AWS Java SDK S3

You can try it, but cos doesn't work well with S3.

The above picture shows our program configuration, and when downloading from the resource center, the following error occurred。

It is obvious that AWS Java SDK S3 is designed for Amazon S3 cloud services, not the S3 protocol

The optional regions are shown in the above figure

@SbloodyS

for me ,it work

Hi, I am currently working on feature #16396 to support Tencent Cloud COS as a storage plugin in DS.
Could you please assign this issue to me?

Hi, I am currently working on this feature (#16396) to support Tencent Cloud COS as a storage plugin in DS.
Could you please assign this issue to me?
This work is due by September 30, 2024.

done