Only update kind config path if it was defined

#166 introduced an issue when the "config" value is blank in the spec, it gets populated with a directory.  This gets passed to kind later and causes cluster creation to fail.
$ kne_cli deploy kne/deploy/kne/kind.yaml
INFO[0000] Reading deployment config: "/home/bstoll_google_com/kne/deploy/kne/kind.yaml"
...
INFO[0000] Creating kind cluster with: [create cluster --name kne --image kindest/node:v1.22.1 --config /home/bstoll_google_com/kne/deploy/kne]
ERROR: failed to create cluster: error reading file: read /home/bstoll_google_com/kne/deploy/kne: is a directory
Error: failed to create cluster: "/home/bstoll_google_com/go/bin/kind create cluster --name kne --image kindest/node:v1.22.1 --config /home/bstoll_google_com/kne/deploy/kne" failed: exit status 1

With this change, the cluster is created:
$ kne_cli deploy kne/deploy/kne/kind.yaml
INFO[0000] Reading deployment config: "/home/bstoll_google_com/kne/deploy/kne/kind.yaml"
...
INFO[0000] Creating kind cluster with: [create cluster --name kne --image kindest/node:v1.22.1]
...
INFO[0062] Waiting on Meshnet to be Healthy
INFO[0062] Meshnet Healthy
INFO[0062] CNI healthy
INFO[0062] Controllers deployed and healthy
INFO[0062] Deployment complete, ready for topology

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 3 (33.33%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.04%) to 53.853%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cmd/deploy/deploy.go
1
3
33.33%

Totals

Change from base Build<PHONE_NUMBER>:
-0.04%

Covered Lines:
1915

Relevant Lines:
3556

💛  - Coveralls


Add example with PalmerPenguins

Codecov Report

Merging #22 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #22   +/-   ##
=======================================
  Coverage   76.47%   76.47%
=======================================
  Files           5        5
  Lines          17       17
=======================================
  Hits           13       13
  Misses          4        4

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c64aa19...97f573f. Read the comment docs.

@devmotion Thanks for pointing out all those silly mistakes! I should taken closer look before submitting the PR.

Closing because this is definitely stale, and hasn't seen any movement in a couple of years. Can re-open if someone wants to complete it


fix fix file cache missing when compaction and improve bvars

What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[x] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[ ] No.
[x] Yes.

Does this need documentation?

[ ] No.
[x] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

run buildall

run beut

run cloud_p0

run cloud_p0

run buildall

run buildall

run buildall


Doc reorg: Key Concepts

Critical Changes
Changes
Issues Closed

I included two related sections here that I think may need to be broken out or sited somewhere else - Orgs & Org Configurations and Project Structure, both of which are more detailed than the remainder of the Key Concepts sections.


Short solution needed: "Check if key exists in Redis" (php-redis)

Please help us write most modern and shortest code solution for this issue:
Check if key exists in Redis (technology: php-redis)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

Check if key exists in Redis


fix: use "babel-loader" and "style-loader" explicityly in webpack config

Found error "The node API for babel has been moved to babel-core." when build. The same issue have been reported and solved in https://github.com/babel/babel-loader/issues/259.

Thanks mate for taking the time to fix that 🙂
I'll go through the build scripts soon, move the plugin over to webpack as well, update dependencies, remove stuff thats not needed, etc, but it's good to have the fix in 👍


Feature/rifex 21/adding confirmation message component

This PR adds the confirmation message component:

Also add support for rif modular styling.
Affects only the ui
How to use it:
You can just use rifActions.showConfirmationMessage to display a confirmation message with a setup that look like this:
const message = {
  title: 'Title',
  body: 'Some text that says what you need to confirm.',
  confirmLabel: 'Confirm',
  cancelLabel: 'Cancel',
  confirmCallback: () => {
    alert('You confirmed this!')
  },
  cancelCallback: () => {
    alert('You canceled this!')
  },
}

As you can see we have title to put a title to the box, a body to put a text to show in the body of the box, 2 labels, one for cancel and the other for confirmation and 2 callback functions to trigger when the user clicks on the cancel or confirm buttons. Here is a full example of use:
h('button', {
  onClick: () => {
    const message = {
      title: 'Title',
      body: 'Some text that says what you need to confirm.',
      confirmLabel: 'Confirm',
      cancelLabel: 'Cancel',
      confirmCallback: () => {
        alert('You confirmed this!')
      },
      cancelCallback: () => {
        alert('You canceled this!')
      },
    }
    return props.dispatch(rifActions.showConfirmationMessage(message))
  },
  style: { marginLeft: '10px' },
}, 'Open Box'),

lgtm


Stores Append Object

Is your feature request related to a problem? Please describe.
Append item to same path in the store
await spec().post('/user').stores('USER', '.').stores('USER', 'req.body')

I want support about this ticket

rfc9698.pdf

Is your feature request related to a problem? Please describe.
Append item to same path in the store
await spec().post('/user').stores('USER', '.').stores('USER', 'req.body')

I need help with everything to get done

I have closed this issue to fix the issue.
await spec()
  .post('/user')
  .stores('USER', '.')
  .stores('USER', 'req.body', { merge: true })

Please I'm new here I don't know the next option to take

Subaccount_ BybitQsReMwcaFl2
UID_ 380839827


Any help with unit testing the endpoint

https://fast-endpoints.com/wiki/Integration-Testing.html
https://github.com/dj-nitehawk/FastEndpoints/tree/main/Tests


[TSK-276] Date Controls in Telegram Scraper

Introduces start and end date arguments, and includes them in the scraping logic for Telegram.
Unlike the other tools currently in use, Telegram's telethon package requires that dates be provided in datetime format. It offers the offset_date for end date, but has no equivalent for start date. As a result, start/minimum date functionality is achieved by filtering the returned messages by their date property (which is also in datetime format).
Since the arguments can only be provided as strings, a format of YYYY-MM-DD is assumed, and validated for.

@ydamit sorry for the late review, just noticed I had this assigned! Trying to setup your branch and make it run, had a couple of issues. Will comment them in-line

Hey @alebg , I think I incorporated all the suggestions you made except for the filename content consistency situation. I believe that might be a separate issue or set of issues now, and might be handled by other contributors as part of v3. @maany does this sound right?

Hey @alebg, I think I got as close as I could with the relative path filename, but can you confirm? I'm not 100% sure this achieves the desired result, but capturing the sender plus the timestamp seemed to be the closest I could reasonably get. And I'll have to see if the analogous result can be achieved in the other scrapers.

@ydamit @alebg thanks for the work on this. This will be part of a major scraper and telegram pipelines release ( v4) to make sure the existing kubeflow stuff does not break :)

Aborted in Notion


[Explorer] Default + Custom Criteria improvements

For Custom Criteria:

You can now disable a CC by inserting a -- in the first line of the criteria; eg: ::--Criteria::
If a custom criteria throws an error or fails to parse/load, Core no longer disables custom criteria entirely -- it now disables the problematic criteria until you update the custom criteria file and trigger a new journal/re-read (which reloads the source file).

For Default Criteria:

Adds landable status of the body triggering the Close Ring/Belt proximity. (Requested in Discord somewhere.)
Adds the triggering ring name to the Wide Ring criteria. (I believe also requested, can't remember now.)

I struggle to see the utility of expanding the criteria directives to disable criteria though. Especially when you can already achieve this by intentionally breaking your criteria and end directives, for example by removing a single : to make them :Criteria:: and :End::. Top level scripts that aren't contained in criteria directives are ignored.

Ok, largely I didn't think of that approach. 😄 Ripped the ::--Criteria:: bit out.
That said, in testing, I did notice I missed one spot of disabling CC in Explorer.cs and added that.
PTAL.


Backtest debug from develop

Hi! hoping you can help.
To test and assure the freqtrade bot backtest is working as would be expected we're executing a simpleMA crossover test against tradingview and freqtrade.
1hr candles, ETHBTC, binanace, 20180520-27
On trading view we get 4 hits. On freqtrade zero.
This may well be as ive crafted the strategy incorrectly.
Please can you run your eye over it, hopefully will benefit your project too!
thanks
Please can somebody take a look at this Freqtrade strategy.
I'm trying to mimic the script further below executed on tradingview.
Freqtrade returns no backtest trades, on tradingview there are 4 hits.
Cmd Output:

python3 ./freqtrade/main.py -s Freqtrade_backtest_validation_freqtrade1 backtesting --export trades --export-filename=Freqtrade_backtest_validation_freqtrade1.1.json --timerange=20180520-20180527 --refresh-pairs-cached
2018-06-06 18:15:01,268 - freqtrade.configuration - INFO - Log level set to INFO
2018-06-06 18:15:01,269 - freqtrade.configuration - INFO - Using max_open_trades: 200 ...
2018-06-06 18:15:01,270 - freqtrade.configuration - INFO - Parameter --timerange detected: 20180520-20180527 ...
2018-06-06 18:15:01,270 - freqtrade.configuration - INFO - Using data folder: user_data/data/binance ...
2018-06-06 18:15:01,270 - freqtrade.configuration - INFO - Parameter -r/--refresh-pairs-cached detected ...
2018-06-06 18:15:01,270 - freqtrade.configuration - INFO - Parameter --export detected: trades ...
2018-06-06 18:15:01,270 - freqtrade.configuration - INFO - Storing backtest results to Freqtrade_backtest_validation_freqtrade1.1.json ...
2018-06-06 18:15:01,270 - freqtrade.optimize.backtesting - INFO - Starting freqtrade in Backtesting mode
2018-06-06 18:15:01,299 - freqtrade.strategy.resolver - INFO - Using resolved strategy Freqtrade_backtest_validation_freqtrade1 from '/Users/creslin/PycharmProjects/freqtrade_new/freqtrade/strategy/../../user_data/strategies'
2018-06-06 18:15:01,299 - freqtrade.strategy.resolver - INFO - Override strategy 'ticker_interval' with value in config file: 1h.
2018-06-06 18:15:01,299 - freqtrade.exchange - INFO - Instance is running with dry_run enabled
2018-06-06 18:15:01,302 - freqtrade.exchange - INFO - Using Exchange "Binance"
2018-06-06 18:15:01,891 - freqtrade.optimize.backtesting - INFO - Using stake_currency: BTC ...
2018-06-06 18:15:01,891 - freqtrade.optimize.backtesting - INFO - Using stake_amount: 1 ...
2018-06-06 18:15:01,891 - freqtrade.optimize.backtesting - INFO - Using local backtesting data (using whitelist in given config) ...
2018-06-06 18:15:01,897 - freqtrade.optimize - INFO - Download data for all pairs and store them in user_data/data/binance
2018-06-06 18:15:01,897 - freqtrade.optimize - INFO - Download the pair: "ETH/BTC", Interval: 1h
dumping json to "user_data/data/binance/ETH_BTC-1h.json"
2018-06-06 18:15:02,224 - freqtrade.optimize.backtesting - INFO - Ignoring max_open_trades (realistic_simulation not set) ...
2018-06-06 18:15:02,263 - freqtrade.optimize.backtesting - INFO - Measuring data from 2018-05-20T00:00:00+00:00 up to 2018-05-27T00:00:00+00:00 (7 days)..
2018-06-06 18:15:02,279 - freqtrade.optimize.backtesting - INFO - Dumping backtest results to Freqtrade_backtest_validation_freqtrade1.1.json
dumping json to "Freqtrade_backtest_validation_freqtrade1.1.json"
2018-06-06 18:15:02,290 - freqtrade.optimize.backtesting - INFO -
==================================== BACKTESTING REPORT ====================================

pair
buy count
avg profit %
total profit BTC
avg duration
profit
loss

ETH/BTC
0
nan
0.00000000
nan
0
0

TOTAL
0
nan
0.00000000
nan
0
0

Freqtrade strategy:

# Freqtrade_backtest_validation_freqtrade1.py
# This script is 1 of a pair the other being freqtrade_backtest_validation_tradingview1
# These should be executed on their respective platforms for the same coin/period/resolution
# The purpose is to test Freqtrade backtest provides like results to a known industry platform.
#
# --- Do not remove these libs ---
from freqtrade.strategy.interface import IStrategy
from pandas import DataFrame
# --------------------------------

# Add your lib to import here
import talib.abstract as ta
import freqtrade.vendor.qtpylib.indicators as qtpylib
import numpy

class Freqtrade_backtest_validation_freqtrade1(IStrategy):
    # Minimal ROI designed for the strategy.
    minimal_roi = {
        "40": 2.0,
        "30": 2.01,
        "20": 2.02,
        "0": 2.04
    }

    stoploss = -09.90
    ticker_interval = '1h'

    def populate_indicators(self, dataframe: DataFrame) -> DataFrame:
        # SMA - Simple Moving Average
        dataframe['fastMA'] = ta.SMA(dataframe, timeperiod=14)
        dataframe['slowMA'] = ta.SMA(dataframe, timeperiod=28)
        return dataframe

    def populate_buy_trend(self, dataframe: DataFrame) -> DataFrame:
        dataframe.loc[
            (
                (dataframe['fastMA'] > dataframe['slowMA'])
            ),
            'buy'] = 1

        return dataframe

    def populate_sell_trend(self, dataframe: DataFrame) -> DataFrame:
        dataframe.loc[
            (
                (dataframe['fastMA'] < dataframe['slowMA'])
            ),
            'sell'] = 1
        return dataframe

Tradingview Script:
//@version=3
/// This is to be ran on traderview.
/// Comparing the results from this test to "freqtrade_backtest_validation_freqtrade1.py"
/// executed on the bot are used to confirm like for like results in backtest
/// between Freqtrade and Tradingview

strategy("FreqTrad Backtest Valdiation 1", shorttitle = " freqit_1 ", overlay=true, max_bars_back=2000)

// Revision:        1
// Author:

// === INPUT SMA ===
fastMA    = input(defval = 14, type = integer, title = "FastMA", minval = 1, step = 1)
slowMA    = input(defval = 28, type = integer, title = "SlowMA", minval = 1, step = 1)

// === INPUT BACKTEST RANGE ===
FromMonth = input(defval = 5, title = "From Month", minval = 1, maxval = 12)
FromDay   = input(defval = 20, title = "From Day", minval = 1, maxval = 31)
FromYear  = input(defval = 2018, title = "From Year", minval = 2017)
ToMonth   = input(defval = 5, title = "To Month", minval = 1, maxval = 12)
ToDay     = input(defval = 27, title = "To Day", minval = 1, maxval = 31)
ToYear    = input(defval = 2018, title = "To Year", minval = 2017)

// === FUNCTION EXAMPLE ===
start     = timestamp(FromYear, FromMonth, FromDay, 00, 00)  // backtest start window
finish    = timestamp(ToYear, ToMonth, ToDay, 23, 59)        // backtest finish window
window()  => time >= start and time <= finish ? true : false // create function "within window of time"

// === SERIES SETUP ===
buy  = crossover(sma(close, fastMA), sma(close, slowMA))     // buy when fastMA crosses over slowMA
sell = crossunder(sma(close, fastMA), sma(close, slowMA))    // sell when fastMA crosses under slowMA

// === EXECUTION ===
strategy.entry("L", strategy.long, when = window() and buy)  // buy long when "within window of time" AND crossover
strategy.close("L", when = window() and sell)                // sell long when "within window of time" AND crossunder

plot(sma(close, fastMA), title = 'FastMA', color = yellow, linewidth = 2, style = line)  // plot FastMA
plot(sma(close, slowMA), title = 'SlowMA', color = aqua, linewidth = 2, style = line)    // plot SlowMA
Output for tradingview script ran for same UTC period

output from tradingview.

confirmed to work


Make truncation round toward zero

From the Scaladocs for JsonNumber#truncateToLong:

Truncation means that we round toward zero to the closest valid scala.Long.

This isn't the current behavior, though:
scala> import io.circe.{ Json, JsonNumber }
import io.circe.{Json, JsonNumber}

scala> JsonNumber.fromString("1.5").map(_.truncateToLong)
res0: Option[Long] = Some(2)

scala> Json.fromDouble(1.5).flatMap(_.asNumber).map(_.truncateToLong)
res1: Option[Long] = Some(2)

scala> Json.fromBigDecimal(BigDecimal(1.5)).asNumber.map(_.truncateToLong)
res2: Option[Long] = Some(2)

This PR fixes the discrepancy by rounding toward zero (as specified in the docs) instead of to the nearest whole value.

Current coverage is 82.32% (diff: 100%)

Merging #533 into master will increase coverage by 0.15%

@@             master       #533   diff @@
==========================================
  Files            70         70
  Lines          1974       1974
  Methods        1831       1833     +2
  Messages          0          0
  Branches        143        141     -2
==========================================
+ Hits           1622       1625     +3
+ Misses          352        349     -3
  Partials          0          0

Powered by Codecov. Last update ceac13b...14cdd2e


DataSet subjects - should it retun whole obj representation?

Hei!
It says in the spec:
When a client uses this endpoint they receive a json array that contains the subject representations in the named dataset
Does it means that the server return only the list of subjects (IDs) of objects in the dataset, or should it return the contents of the object from the perspective of the dataset? I presume that the whole contents of the object are delivered, but that would be nice to confirm.
Cheers and keep up work with the spec,
Petr

Glad you like the work. This is kind of unified Topic Maps / RDF / SDShare / Linked Data / JSON-LD / Linked Data Fragments / and Lightweight SPARUL for management. I hope to put out a reference impl soon.
To answer your question: Its the full representations inline. e.g. not like sdshare, but like sdshare inline. I will update the spec to be clearer.

Good, thank you!


feat: add Install-Files to installation

Fixes #2712
Description

Updated fileicon.ts:
   {
      name: 'installation',
      fileNames: [
        'installation',
        'installation.md',
        'installation.rst',
        'installation.txt',
        'install',
        'install.md',
        'install.rst',
        'install.txt',
      ],
    },

Contribution Guidelines

[x] By creating this pull request, I acknowledge that I have read the Contribution Guidelines for this project.

Give examples of using these files in other projects

I do not think that it is appropriate to add these files, that they can be, for example, in /docs/installation.md
Do you think we need icons for absolutely every file name?
No, I'm thinking of removing all filenames altogether and leaving only install.

I do not think that it is appropriate to add these files, that they can be, for example, in /docs/installation.md
Do you think we need icons for absolutely every file name?
No, I'm thinking of removing all filenames altogether and leaving only install.

This sounds fair

You need to leave only Install and nothing else

How about Installation?

How about Installation?

okay

@okineadev  Even if the PR is merged, other types of files like README or security .md files are also supported. What are your thoughts on this?

@okineadev Even if the PR is merged, other types of files like README or security .md files are also supported. What are your thoughts on this?

installation is much more common in documentation files
If it is possible to configure associations so that this icon is applied to INSTALLATION files specifically in capital letters - then it could be done


"Win32Exception: The token supplied to the function is invalid" on default configuration

I tried the following code:
    class Program
    {
        static void Main(string[] args)
        {
            // tried both <IP_ADDRESS> and localhost
            var rawDriver  = GraphDatabase.Driver("bolt://<IP_ADDRESS>:7687");
            using (var session = rawDriver.Session())
            {
                var result = session.Run("MATCH (n:Root) RETURN labels(n) AS labels");
                foreach (var row in result)
                {
                    Console.WriteLine(row["labels"].As<string[]>().FirstOrDefault());
                }
            }
     }

Over a Neo4j 3.2.0 Community Edition with default settings as follows:
#***************************************************************
# Server configuration
#***************************************************************

# This setting constrains all `LOAD CSV` import files to be under the `import` directory. Remove or uncomment it to
# allow files to be loaded from anywhere in filesystem; this introduces possible security problems. See the `LOAD CSV`
# section of the manual for details.
dbms.directories.import=import
dbms.allow_format_migration=true
# Require (or disable the requirement of) auth to access Neo4j
dbms.security.auth_enabled=false

#
# Bolt connector
#
dbms.connector.bolt.type=BOLT
dbms.connector.bolt.enabled=true
dbms.connector.bolt.tls_level=REQUIRED
# To have Bolt accept non-local connections, uncomment this line:
# dbms.connector.bolt.address=<IP_ADDRESS>:7687

#
# HTTP Connector
#
dbms.connector.http.type=HTTP
dbms.connector.http.enabled=true
#dbms.connector.http.encryption=NONE
# To have HTTP accept non-local connections, uncomment this line:
#dbms.connector.http.address=<IP_ADDRESS>:#{default.http.port}

#
# HTTPS Connector
#
# To enable HTTPS, uncomment these lines:
#dbms.connector.https.type=HTTP
#dbms.connector.https.enabled=true
#dbms.connector.https.encryption=TLS
#dbms.connector.https.address=localhost:#{default.https.port}

# Certificates directory
# dbms.directories.certificates=certificates

#*****************************************************************
# Administration client configuration
#*****************************************************************

# Comma separated list of JAX-RS packages containing JAX-RS resources, one
# package name for each mountpoint. The listed package names will be loaded
# under the mountpoints specified. Uncomment this line to mount the
# org.neo4j.examples.server.unmanaged.HelloWorldResource.java from
# neo4j-examples under /examples/unmanaged, resulting in a final URL of
# http://localhost:${default.http.port}/examples/unmanaged/helloworld/{nodeId}
#dbms.unmanaged_extension_classes=org.neo4j.examples.server.unmanaged=/examples/unmanaged

#*****************************************************************
# HTTP logging configuration
#*****************************************************************

# HTTP logging is disabled. HTTP logging can be enabled by setting this
# property to 'true'.
dbms.logs.http.enabled=false

# Logging policy file that governs how HTTP log output is presented and
# archived. Note: changing the rollover and retention policy is sensible, but
# changing the output format is less so, since it is configured to use the
# ubiquitous common log format
#org.neo4j.server.http.log.config=neo4j-http-logging.xml

# Enable this to be able to upgrade a store from an older version.
#dbms.allow_format_migration=true

# The amount of memory to use for mapping the store files, in bytes (or
# kilobytes with the 'k' suffix, megabytes with 'm' and gigabytes with 'g').
# If Neo4j is running on a dedicated server, then it is generally recommended
# to leave about 2-4 gigabytes for the operating system, give the JVM enough
# heap to hold all your transaction state and query context, and then leave the
# rest for the page cache.
# The default page cache memory assumes the machine is dedicated to running
# Neo4j, and is heuristically set to 50% of RAM minus the max Java heap size.
#dbms.memory.pagecache.size=10g

# Enable this to specify a parser other than the default one.
#cypher.default_language_version=2.0

# Keep logical logs, helps debugging but uses more disk space, enabled for
# legacy reasons To limit space needed to store historical logs use values such
# as: "7 days" or "100M size" instead of "true".
#dbms.tx_log.rotation.retention_policy=7 days

# Enable shell server so that remote clients can connect via Neo4j shell.
#dbms.shell.enabled=true
# The network interface IP the shell will listen on (use <IP_ADDRESS> for all interfaces).
#dbms.shell.host=<IP_ADDRESS>
# The port the shell will listen on, default is 1337.
#dbms.shell.port=1337

And my packages.config after Install-Package Neo4j.Driver -Pre is modified as follows (no other nuget package is installed):
<packages>
  <package id="Neo4j.Driver" version="1.3.0" targetFramework="net461" />
  <package id="System.Net.NameResolution" version="4.0.0" targetFramework="net461" />
  <package id="System.Net.Security" version="4.0.0" targetFramework="net461" />
  <package id="System.Net.Sockets" version="4.1.0" targetFramework="net461" />
  <package id="System.Security.Cryptography.Algorithms" version="4.2.0" targetFramework="net461" />
  <package id="System.Security.Cryptography.Encoding" version="4.0.0" targetFramework="net461" />
  <package id="System.Security.Cryptography.Primitives" version="4.0.0" targetFramework="net461" />
  <package id="System.Security.Cryptography.X509Certificates" version="4.1.0" targetFramework="net461" />
</packages>

.NET target framework is 4.6.1.
And I get the following exception during Session.Run():
System.AggregateException occurred
  HResult=0x80131500
  Message=One or more errors occurred.
  Source=Neo4j.Driver
  StackTrace:
   at Neo4j.Driver.Internal.Connector.PooledConnection.OnError(Exception error)
   at Neo4j.Driver.Internal.Connector.DelegatedConnection.Init()
   at Neo4j.Driver.Internal.ConnectionPool.CreateNewPooledConnection()
   at Neo4j.Driver.Internal.ConnectionPool.<Acquire>b__21_0()
   at Neo4j.Driver.Internal.LoggerBase.TryExecute[T](Func`1 func)
   at Neo4j.Driver.Internal.ConnectionPool.Acquire()
   at Neo4j.Driver.Internal.ConnectionPool.Acquire(AccessMode mode)
   at Neo4j.Driver.Internal.Session.<>c__DisplayClass14_0.<Run>b__0()
   at Neo4j.Driver.Internal.LoggerBase.TryExecute[T](Func`1 func)
   at Neo4j.Driver.Internal.Session.Run(String statement, IDictionary`2 statementParameters)
   at TestNeoBolt.Program.Main(String[] args) in C:\Users\Administrator\Documents\Visual Studio 2017\Projects\TestNeoBolt\TestNeoBolt\Program.cs:line 19

Inner Exception 1:
SecurityException: Failed to establish encrypted connection with server bolt://<IP_ADDRESS>:7687/.

Inner Exception 2:
AuthenticationException: A call to SSPI failed, see inner exception.

Inner Exception 3:
Win32Exception: The token supplied to the function is invalid

With the following binding redirect:
      <dependentAssembly>
        <assemblyIdentity name="System.Security.Cryptography.X509Certificates" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>

It seems to be related to X509 handshake.
Is there a misconfiguration I'm missing or is it an issue within Neo4j or the driver?

Hi,
Sorry for coming back late. I failed to reproduce your problem locally. Is the server using the neo4j self-generated certificate, or did you configured the server to use an existing certificate?
Zhen

Out of the package with Neo4j Community

Okay, thanks. I will look more into this. Meanwhile if you could try on other machine/os to help me check if it is more os related or it is a generally issue.
Regards,
Zhen

Hi,
We looked more into this issue and could not reproduce the problem mentioned. However, it seems that there may exist a local OS level issue about SSPI and TLS - which could be monitored via adding the following diagnostics configuration to the application configuration file (app.config or web.config) -
please do not forget to update trace file location (c:\temp\network.log) to fit your environment.
<system.diagnostics>
    <sources>
      <source name="System.Net" tracemode="includehex" maxdatasize="1024">
        <listeners>
          <add name="System.Net"/>
        </listeners>
      </source>
      <source name="System.Net.Sockets">
        <listeners>
          <add name="System.Net"/>
        </listeners>
      </source>
    </sources>
    <switches>
      <add name="System.Net" value="Verbose"/>
      <add name="System.Net.Sockets" value="Verbose"/>
    </switches>
    <sharedListeners>
      <add name="System.Net"
        type="System.Diagnostics.TextWriterTraceListener"
        initializeData="c:\temp\network.log"
      />
    </sharedListeners>
    <trace autoflush="true"/>
  </system.diagnostics>

We will look at it in more depth after you are able to send us the trace file created. It will also be helpful for us if you could let us know your OS and Java version.
Regards,
Ali

Hi,
We have worked more on this upon another support issue about this same error where we have the exact configuration, we were able to reproduce it on our internal environment. The problem lies on the version of Windows being used and TLS 1.2's not being enabled. Neo4j server requires clients to support TLS 1.2 and the .NET Framework relies on OS-level security providers for protocol selection.
So, please verify that your windows version is listed as TLS 1.2 supported and have it turned it on by default via Support for SSL/TLS protocols on Windows If it is not, please have TLS 1.2 support enabled by following the actions at How to enable TLS 1.2 on Windows Server 2008 R2.
Regards,
Ali

On some installations, even if you update Windows Server 2008 R2 and follow the TLS 1.2 activation instructions the same Win32Exception will be thrown. I have painfully detected that you need two KBs to be installed in those cases.
Make sure both KB3140245 and KB2888853 are installed, and also follow the TLS 1.2 activation within regedit.


RedisCollection.Any() without parameters is not implemented

I cannot use Any() in RedisCollection. To verify if there are any registers, we have to get the count and compare it to 0.

I tried to implement it but still with the same error.

Interesting, this should just be producing a very basic FT.SEARCH indexname * LIMIT 0 0 and doing the check like you're doing. I'll dig into it.


FIX #11662 Add app label to selector in galley, mixer, pilot, security and sidecarInjectorWebhook

Fix https://github.com/istio/istio/issues/11662
Istio services like
istiocoredns or servicegraph have the app label in spec/selector  but others like pilot, security not.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: aljesusg
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: linsun
If they are not already assigned, you can assign the PR to them by writing /assign @linsun in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @aljesusg. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@gbaufake @jmazzitelli Can you check this?

@aljesusg: PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Overlapping with https://github.com/istio/istio/pull/11788 - maybe pool both sets of changes into a single PR?

@sdake rebased and updated for master


Add nibble and transparency support to BltComplexCopy.

My experiment at using the action param as a bitfield to allow nibble-level access to src and target data, and also to add transparency support.
It's a little silly - I think most of the combinations wouldn't be too useful, but hey.
I've only really tested the nibble-pair -> byte blitting, so there may be a couple of mistakes in the others.
Just for my own amusement really - I'm not really expecting you to merge it! But if you do want it, let me know and I'll tidy it up and update the documentation first.

New version. It's  a bit clunky - all the combinations of actions and src/target formats tend to lead to an explosion of line-copy routines!
Could be less code using C++ templates. But it'd be less readable :-)
But I'm pretty happy it covers most use-cases I'd expect.
Doesn't handle overlapping blits - would have to do a whole bunch of reverse-copy routines for that, so can't really use it to scroll the screen, say.
The documentation is a bit of a mess in the final pdf. makedispatch.py  strips out a lot of formatting. Probably would be nicer to just treat the DOCUMENT chunks as verbatim markdown and insert them as-is. But can sort that out later.
Also, I haven't (yet) done any example code. I plan to  do so when I get a chance!

Oh - I forgot about the BASIC side. Are there any changes I need to make there?

My thoughts on this are that I should suggest that you change the blitter interface in any way you think best, as you clearly have more and better ideas than me.
If this involves leaving it as it is now, that's fine, but I think at this point, even though it's a breaking change, it could be replaced entirely or significantly.
Worst Case Scenario is the "new blitter" implements the simpler functionality of the old blitter for backward compatibility. This has been done before (with the gamepad for example)
So I haven't approved this PR, not because of the PR itself, but so that you can change it completely if you think it best.

Haven't had a chance to come back to this yet, but I should be able to over the weekend.
I've got a couple of "approach" questions to put to everyone:

Should it stay as a memory-move operation that just happens to be useful for getting images into the framebuffer, or should it explicitly be a image-drawing operation? The difference would be adding support for clipping, say, and taking x,y destination coordinates rather than an address. Or should be a separate API call which is image-oriented? (and probably calls this one after applying some clipping)?

In general, should I think of the framebuffer as a straight 8 bits/pixel, 256-entry palette thing, or more like nibble pairs, where one nibble overrides the other to (kind of ) support dual layers (eg background + sprites)? The nibble-pair-override approach can be done using the palette - I get there's no specific support required on the "hardware" side. But I'm curious to know if there's a particular mental model people have in mind for the framebuffer...

Can be both. I'd be inclined perhaps towards your second idea, keep the current one more or less as is, or even return it to the original, which just was a fast copier, then the second can be image orientated.

Ideally both. The normal "game use" is to update the background - the lower 4 bits of the pixel with drawing and leave the upper 4 bits alone, so there is an unpack facility there, potentially. However, there are already API calls to draw tiles and sprites on the background, so that may be duplication.

New version tweaks the blitarea struct layout a little (all the fields unused in the target area have been moved to the end of the struct. In theory, the 6502 side could use a smaller memory area for the dest area struct...)
Also adds a new BltImage() function (blitter function 4), which should be a little simpler for common graphics cases, and performs clipping.

I also wrote a little test program (with llvm-mos) to help me try out all the combinations:
https://gist.github.com/bcampbell/84c598eb11a75b2c5dc51f8fe82b0d5f

I haven't added any XOR actions, but that could be done later without breaking the API.

Build isn't working. The fix looks straightforward, but I'd like you to take a look :)


VSCode startup freezes - 1.18

Has been happening since the last few versions. Running on 1.18 now. Startup profiles as below
dba8_main.cpuprofile.txt
dba8_renderer.cpuprofile.txt

VSCode Version: Code 1.18.0 (dcee2202709a4f223185514b9275aa4229841aa7, 2017-11-08T21:22:49.932Z)
OS Version: Windows_NT x64 6.1.7601
CPUs: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz (4 x 2294)
Memory (System): 7.89GB (1.86GB free)
Memory (Process): 170.27MB working set (195.93MB peak, 142.36MB private, 43.43MB shared)
Load (avg): 0, 0, 0
VM: 0%
Initial Startup: yes
Screen Reader: no
Empty Workspace: no
Timings:

Component
Task
Time (ms)

main
start => app.isReady
44

main
app.isReady => window.loadUrl()
308

renderer
window.loadUrl() => begin to require(workbench.main.js)
35058

renderer
require(workbench.main.js)
912

renderer
create extension host => extensions onReady()
52834

renderer
restore viewlet
91

renderer
restore editor view state
53416

renderer
overall workbench load
77731

main + renderer
start => extensions ready
113137

main + renderer
start => workbench ready
114108

:warning: Make sure to attach these files from your home-directory: :warning:
-dba8_main.cpuprofile.txt
-dba8_renderer.cpuprofile.txt

😱 this is known upstream issue that spawning processes is very slow at times... I am closing this as a dupe of https://github.com/Microsoft/vscode/issues/24884

@codingcooker To understand more of this I wonder if this always happens to you or just sometimes?

@jrieken Nothing special about the setup. It used to be fine like 4-5 versions ago, but then it started showing bad responsiveness ever since. The release notes for 1.18 mentioned performance improvements - so I jumped back by doing a clean install hoping that it would fix it, but in vain!
And yes, it happens all the time. Tried with disabling extensions - but the same issue.

And yes, it happens all the time.

That is bad, but also a good thing because it'll allows us to drill into this. If you are up for it, please help us with this (as we don't see this on our machine). Please do the following:

Install Procmon, https://docs.microsoft.com/en-us/sysinternals/downloads/procmon
Close VS Code and other processes because procmon will record everything that happens on your machine
Start a recording via Procmon > File > Capture Events
Reproduce the slow startup of VS Code
Stop event capturing in procmon (uncheck File > Capture Events)
Right click the table title in procmon and ensure that "Duration" and  "Thread ID" are shown (in addition to the defaults)
Last, save the data (All events) as Comma-Separated-Values (CSV) and share it with us

Note that this file will contain things like fully qualified paths and processes other than VS Code. Feel free to share the data with me by email (https://github.com/jrieken) or other means.


pull 2020/04/22

hey @LAWTIDEBOY i think you submitted this PR by mistake. if there is an issue with something you can submit an issue but otherwise, please do not submit random pull requests to a repository that you do not own!

Sorry this was indeed a mistake …
On 22 Apr 2020 at 21:01 +0200, Leah Wasser<EMAIL_ADDRESS>wrote:

hey @LAWTIDEBOY i think you submitted this PR by mistake. if there is an issue with something you can submit an issue but otherwise, please do not submit random pull requests to a repository that you do not own!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


[nrf fromtree] Bluetooth: Audio: Fix unicast_client avail ctx dir check

The unicast_client_pacs_avail_ctx_notify_cb had a direction
check that was a leftover copy from the location notification.
However the context notification is always for both sink and
source, and thus does not need any direction checks (in fact
the dir variable was unused).
Signed-off-by: Emil Gydesen<EMAIL_ADDRESS>

Being tested on nrf-sdk in https://github.com/nrfconnect/sdk-nrf/pull/8388


Update minSdkVersion: 23 → 24

As React Native is updating to minSdkVersion 24 (https://github.com/facebook/react-native/pull/45906), sync the version with ReproducerApp as well

This is unnecessary as this repo will out-update it self once a new release is out:
https://github.com/react-native-community/reproducer-react-native/blob/main/.github/workflows/auto-updater.yml

This is unnecessary as this repo will out-update it self once a new release is out: https://github.com/react-native-community/reproducer-react-native/blob/main/.github/workflows/auto-updater.yml

Great! Thanks for the #TIL.


Add Contribution Guidelines

Added the Contribution Guidelines to CONTRIBUTING.md, with sections Code, Pull Requests, and Off-topic.

Since most of our PRs here deal with content and internationalization efforts it might be good to build that in here as well.
We have a "code" section, which is good (some code is in this repo), but we should probably outline some content suggestions for idealized PRs.

@snostorm Do you have any main points you'd like to be added to the content and internationalization section?

Putting this on the WG Agenda, we'll either merge as-is (or discuss what to add) Monday.

@snostorm Sounds good. I'll be happy to make any changes that are decided on, if you guys want me to.

Content issues somewhat covered by https://github.com/iojs/evangelism/blob/master/socialMedia.styleGuide.md so maybe we can merge with some notes about that

So, in the meeting we decided that although we want to add to this, we'll just merge as-is and hope not to forget to add more.
Can we get some WG +1's still on here to make it more official since this is a CONTRIBUTING.md change?

@bnb Can you please look into the comments, this PR has been around for so long, it would be great if we finally could get it merged.

Sorry for forgetting about this - I try to be good about issues I create, but i didn't follow through with this one. If I did it properly, I addressed all comments made on this issue.

Besides the little duplication above, it LGTM. :shipit:

@fhemberger Fixed that. Merging.


refactor(SetTheory/Ordinal/Arithmetic): redefine IsLimit to IsSuccLimit

This is a temporary stepping stone before outright deprecating IsLimit.

[x] depends on: #19053

Thanks! :tada:
bors merge


Client Allocation Request for: NBFS Canada

Client Allocation Questions
Core Information

Name: NBFS Canada
Website / Social Media: nbai.io
Region: North America
DataCap Requested: 5TiB
Addresses to be Notarized: f3ufzpudvsjqyiholpxiqoomsd2svy26jvy4z4pzodikgovkhkp6ioxf5p4jbpnf7tgyg67dny4j75e7og7zeq
Notary Requested: andrewxhill

Hey @flyworker, thanks for the request. I have some questions regarding your request. I know some things about your work already, but it's helpful to have this all in a public records. Please provide as thorough of answers as you can.

Can you introduce yourself? Where can I find you online? Examples include Github, Twitter, LinkedIn, WeChat, etc., and more than one is encouraged.
If you represent an organization, what is the name, nature, registration country, time since inception, and named officers of your organization?
In which region(s) do you intend to use the DataCap?
What is your use case for the DataCap being requested?
Do you plan to specify advanced features when utilizing a DataCap in your storage deal? If so, please specify the feature.
How many miners do you plan on allocating the DataCap? Please specify if you have a specific miner(s) you would like to allocate the DataCap.
Do you agree on providing transparency of DataCap allocation decisions & execution details in public to prevent excessive/unfair self-dealing? If so, how will you plan to report it?
Will your organization be responsible for allocating the full DataCap? Examples where this might not be the case, include app builders where the application end-users may have access to storage backed by the DataCap. Please read our full proposal for details on this approach. It is not read today, but when it is, we will provider further documentation.

Thanks.
Andrew

Can you introduce yourself? Where can I find you online? Examples include Github, Twitter, LinkedIn, WeChat, etc., and more than one is encouraged.

Charles Cao, CEO of Nebula AI inc.

History working on IPFS / Filecoin
Contributor to Calibration/SR1/SR2/Slingshot and multiple slack community champion
Integrate IPSF/Filecoin into GPU cloud computing platform Orion deep learning
Github: https://github.com/flyworker
LinkedIn: https://www.linkedin.com/in/charles-cao-09a79526/

If you represent an organization, what is the name, nature, registration country, time since inception, and named officers of your organization?

NBFS Canada is a Filecoin mining brand owns by Nebula AI inc. Nebula AI inc. is registrated in November 2017 in Canada, head-office Montreal, Canada

CEO Charles Cao
https://www.linkedin.com/in/charles-cao-09a79526/

COO Rex Miller
https://www.linkedin.com/in/rexhold/

Twitter: https://twitter.com/nbfscanada

Linkedin: https://www.linkedin.com/company/nebula-ai

website:
https://www.nbfspool.com/
https://nbai.io
https://www.cengn.ca/nebula-ai/

YouTube: https://www.youtube.com/channel/UCWltsUAyiser4-_eLLGmpdg

In which region(s) do you intend to use the DataCap?

Primary in North America,but also have backup copy in EU
4.     What is your use case for the DataCap being requested?
Data for Machine Learning

Do you plan to specify advanced features when utilizing a DataCap in your storage deal? If so, please specify the feature.

Offline deals transmission, data fast retrieval, data analysis platform

How many miners do you plan on allocating the DataCap? Please specify if you have a specific miner(s) you would like to allocate the DataCap.

We plan to locate data cap to 5 miners, they are miner in Canada, US and EU, e.g. f019104, f010617，f022142, f01278,f010446

Do you agree on providing transparency of DataCap allocation decisions & execution details in public to prevent excessive/unfair self-dealing? If so, how will you plan to report it?

Yes, we can publish the deals, miner id and data source.

Will your organization be responsible for allocating the full DataCap? Examples where this might not be the case, include app builders where the application end-users may have access to storage backed by the DataCap. Please read our full proposal for details on this approach. It is not read today, but when it is, we will provider further documentation.

Yes, we will

Hey @flyworker I forgot to ask, have you received datacap previously?

Yes we have 5TB before.
Application history
https://github.com/keyko-io/filecoin-clients-onboarding/issues/38

hey @flyworker sorry, we attempted to finalize this yesterday but the address is the same as the one you submitted previously. it's not possible (yet) to gain datacap a second time for the same address. could you submit a fresh address for this time around?

Hi @andrewxhill  Yes, we have a new one for it
f3tektw5tqjnxbcdybnp7kcskg7t3rndvvcu5w7usx7m3exqsfkxezncpefsf6fmianjvwkc2qw5qsiim6luua
Thanks

okay, moving forward with f3rkcl5lnoumsunl3grsy2b57z7zt6uoyvgnviz2dw3ir7sslnya2634as2ksfxzziuxzgubavqsb3s2fmofcq

Confirmed: https://filfox.info/en/message/bafy2bzaceawjv3ntsg5jfke32k7d3jiucckf7p74chcrtchpd6k4wkrwhbs6q


No check and/or usage for/of Geomagnetic Rotation Vector Sensor?

Summary:
Rendering of sky map while device orientation is changed is not smooth, it is jumpy, no matter how the settings are configured.
Steps to reproduce:
Change settings, try pointing to sky
Expected behavior:
Smooth "rotation" of rendered sky on device screen.
Observed behavior:
Frequently jumping in rotation while device orientation was changed, even when it was changed smoothly.
Device and Android version:
Model: Samsung Galaxy A5 (2016)
Andoid: Nougat 7.0, stock
Sensors reported by command "pm list features | grep sensor":

feature:android.hardware.sensor.accelerometer
feature:android.hardware.sensor.compass

In this model there is no sensor type Rotation Vector, which is checked in the source code's performFeatureCheck() method. On the other hand there is Geomagnetic Rotation Vector sensor!
I just tried this Google platform sample with a little modification:

Replaced the Sensor.TYPE_ROTATION_VECTOR with Sensor.TYPE_GEOMAGNETIC_ROTATION_VECTOR
Added LowPass filter (with A=0.5) for Geomagnetic Rotation Vector (GRV) readings
And it works like a charm, without jumps - a cube is rotating on screen based on orientation!

Screenshots:
N/A
Summary
Maybe you should consider to add also Sensor.TYPE_GEOMAGNETIC_ROTATION_VECTOR with LowPass filter, mainly when there is no Gyroscope sensor in device, since GRV uses only accelerometer and compass.

@jaydeetay

Hey that's great!  Thanks for figuring that out and the excellent bug report.  I'll try to get that in the next version of the code.  Will leave this open till then.


install/kubernetes: Fix experimental-install.yaml for Hubble

This change fixes the experimental-install.yaml, which was broken due
to the certgen changes introduced with #13666. The version v0.1.2 of
certgen accidentally changed the behavior of the
hubble-generate-certs, where it would try (and fail) to load the
unrelated clustermesh-apiserver CA, causing the job to end up in a
CrashLoopBackoff.
This PR bumps certgen to v0.1.3, which contains a fix for the above
issue and brings in some additional smaller improvements for Hubble,
such as:

The Hubble CA can now be loaded from a secret instead of having to
regenerate it each time. This improves connectivity for Hubble
during certificate renewal, as now the old and new certificates
share the same CA.
The --cilium-namespace flag can now be used to control the
namespace for the Hubble certificate secrets and configmaps.

Signed-off-by: Sebastian Wicki<EMAIL_ADDRESS>

test-me-please


rust-analyzer: do not reuse server if rust-toolchain has different version

Description
The current logic for reusing the server could give some errors in rust if using a .rust-toolchain.toml. If one project has one version of rust, and the other project has another version, then it could report errors if it reuses the server.
Neovim version
NVIM v0.10.0-dev-565+g3688735c2
Build type: Release
LuaJIT 2.1.0-beta3
Nvim-lspconfig version
0011c435282f043a018e23393cae06ed926c3f4a
Operating system and version
macOS 13.4.1
Affected language servers
rust-analyzer
Steps to reproduce
Clone this repo: https://github.com/seblj/foo

nvim -u minimal_init.lua
:e foo/one/src/main.rs
With for it to start the server
:e foo/two/src/main.rs
Wait for it to index
See all the errors about

Actual behavior
It reuses the server even though the toolchain specifies that it should have a different version. This leads to a bunch of errors.
Expected behavior
It should not reuse the server, and instead verify the version and start a new instance if it's not the same version as the current one
VSCode seems to handle this just fine, although I am not sure how they do it.
Minimal config
local on_windows = vim.loop.os_uname().version:match("Windows")

local function join_paths(...)
	local path_sep = on_windows and "\\" or "/"
	local result = table.concat({ ... }, path_sep)
	return result
end

vim.cmd([[set runtimepath=$VIMRUNTIME]])

local temp_dir = vim.loop.os_getenv("TEMP") or "/tmp"

vim.cmd("set packpath=" .. join_paths(temp_dir, "nvim", "site"))

local package_root = join_paths(temp_dir, "nvim", "site", "pack")
local lspconfig_path = join_paths(package_root, "test", "start", "nvim-lspconfig")

if vim.fn.isdirectory(lspconfig_path) ~= 1 then
	vim.fn.system({ "git", "clone", "https://github.com/neovim/nvim-lspconfig", lspconfig_path })
end

vim.lsp.set_log_level("trace")
require("vim.lsp.log").set_format_func(vim.inspect)
local nvim_lsp = require("lspconfig")
local on_attach = function(_, bufnr)
	local function buf_set_option(...)
		vim.api.nvim_buf_set_option(bufnr, ...)
	end

	buf_set_option("omnifunc", "v:lua.vim.lsp.omnifunc")

	-- Mappings.
	local opts = { buffer = bufnr, noremap = true, silent = true }
	vim.keymap.set("n", "gD", vim.lsp.buf.declaration, opts)
	vim.keymap.set("n", "gd", vim.lsp.buf.definition, opts)
	vim.keymap.set("n", "K", vim.lsp.buf.hover, opts)
	vim.keymap.set("n", "gi", vim.lsp.buf.implementation, opts)
	vim.keymap.set("n", "<C-k>", vim.lsp.buf.signature_help, opts)
	vim.keymap.set("n", "<space>wa", vim.lsp.buf.add_workspace_folder, opts)
	vim.keymap.set("n", "<space>wr", vim.lsp.buf.remove_workspace_folder, opts)
	vim.keymap.set("n", "<space>wl", function()
		print(vim.inspect(vim.lsp.buf.list_workspace_folders()))
	end, opts)
	vim.keymap.set("n", "<space>D", vim.lsp.buf.type_definition, opts)
	vim.keymap.set("n", "<space>rn", vim.lsp.buf.rename, opts)
	vim.keymap.set("n", "gr", vim.lsp.buf.references, opts)
	vim.keymap.set("n", "<space>e", vim.diagnostic.open_float, opts)
	vim.keymap.set("n", "[d", vim.diagnostic.goto_prev, opts)
	vim.keymap.set("n", "]d", vim.diagnostic.goto_next, opts)
	vim.keymap.set("n", "<space>q", vim.diagnostic.setloclist, opts)
end

nvim_lsp["rust_analyzer"].setup({ on_attach = on_attach })

LSP log
https://gist.github.com/seblj/d675fb3078d1121b96d51e4198697170

can't reproduce

Did you try the minimal config? Because the screenshot is not from minimal config

And it's important that you open foo/one/src/main.rs before foo/two/src/main.rs

And it's important that you open foo/one/src/main.rs before foo/two/src/main.rs

yep open one before two. my config just simple . my rust_analyzer config just
lspconfig.rust_analyzer.setup({
  on_attach = M._attach,
  settings = {
    ['rust-analyzer'] = {
      imports = {
        granularity = {
          group = 'module',
        },
        prefix = 'self',
      },
      cargo = {
        buildScripts = {
          enable = true,
        },
      },
      procMacro = {
        enable = true,
      },
    },
  },
})

Yes, but try with default rust_analyzer config. Comment out the settings you have for it

The problem is because the two folders are using different versions of rust-analyzer, because foo/one is using rust-analyzer 1.70.0 (90c54180 2023-05-31), and foo/two is using rust-analyzer 1.72.0-nightly (8084f397 2023-06-25) because of rust-toolchain.toml

I know your point but for min test can't reproduce.

What is your version of rust-analyzer in the two folders? Here is mine:

https://github.com/neovim/nvim-lspconfig/assets/5160701/9f68fe1f-f712-4c79-a7c3-0aceade0f1cb
And did you also remove all the settings for rust-analyzer so it's only:
require("lspconfig")["rust_analyzer"].setup({ on_attach = on_attach })?

your version is too old. new is 07-02

Can you please navigate to the two directories and say what the version of rust-analyzer is in those two directories?
I suspect that you have default rust nightly on or something, and the the nightly rust-analyzer will attach to both buffers, and then the issue will go away. However, I don't think that is expected, as it might add other issues

just use package management install rust-analyzer  . my default of rust is stable  for check version both in stable.
check your pic . you start two rust-analyzer one in 1.70 two in 1.72 . you use component add two version rust-analyzer.
just install one .

Alright, I can try using nightly rust-analyzer for stable project


Allow adding rewrite rules to the web/.htaccess file

At the moment this is not possible since the .htaccess file would be overwritten by DrupalScaffold drupal updates of drupal/core

On the one hand, you also want drupal core .htaccess updates to go through.

Turns out composer install wouldn't actually call DrupalScaffold  (https://github.com/drupal-composer/drupal-scaffold/pull/20)
Doesn't that mean we need to add composer drupal-scaffold in https://github.com/digipolisgent/robo-digipolis-deploy/blob/develop/.travis.yml?

Remove the scaffold script from your composer.json file and you can safly edit the .htaccess file (until the next core update).


Revert "Rebuild for Python 3.7, GCC 7, R 3.5.1, openBLAS 0.3.2"

Reverts conda-forge/datamash-feedstock#3

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


How to know how many hours I spent in codewars?

Is your feature request related to a problem? Please describe.
I want to know how many hours I spent in codewars.
Describe the solution you'd like
Add information about how many hours I spent on a personal profile.
Describe alternatives you've considered

I don’t want to use the browser’s webpage online time statistics extension
Provide an API to query the time statistics is fine too.

We don't know either and have no plan to start tracking.


DOT-310 Replace storybook with ladle

idk maybe storybook is just too big

oh its kinda hot https://ladle.dev/docs/

Interesting, what are the benefits/drawbacks vs storybook?

like 20x smaller. fast af

we don't really use any of these features

We could eventually consider having the stories in a stories folder instead of inside each package in UI :thinking:


const foo: Set = []; // compiles!

TypeScript Version:  2.0.3 with --target es6
Code
const foo: Set<string> = <any>[];
foo.add('bar');

Expected behavior:
Should emit type error during compilation.
Actual behavior:
Compiles without errors and, as expected, receive "foo.add is not a function" when run.

Why should there be error? The type annotation wins over the inferred type (which is any), and add does exist in Set<T>.

This is basically like asking why the type system doesn't yell at you when you've gone out of your way to lie to it.
You're saying something has a type of any which is assignable to anything. Then you're assigning it to a binding with the type Set<string> which is permitted. Naturally, anything you can do with a Set<string> follows for foo.


Update views.md

Good day Mr. Karam,
This is my first time contributing to the efforts of translating the Laravel framework into Arabic. I would appreciate any input you have about my translation so far. I am relying on حسوب to get all the proper word translation for the documentation as per your suggestion.
I have a few questions. How 'formal' should the Arabic used be? For example, there is a big difference between saying مصفوفة, which is in English 'Matrix' and صفيفة, which is the programming entity called 'Array'. Do we care for such nuance? What about avoiding common mistakes in Arabic? Such as avoiding the use of 'تم' whenever possible. As long as the translation is readable, anything is ok, correct?
Thanks again for your efforts.

@Tahir-K Hello and thanks for your contributions
I do not recommend that the translation be literal and formal, I recommend that the translation be more supportive of the translation, for example, the translation of "composer" is "الملحن" but actually the composer is a package manager so the translation should be "مدير الحزم".
I want to notice that the views file was translated before, please check if there are any changes you can made.


feat(webui): use Inter as default font

:tada: This PR is included in version 1.18.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


group with empty key should always emit one row

A from ... group expression always yields one row, even if the input is empty. To see why, consider a SQL query with empty GROUP BY key, which is analogous:
SELECT COUNT(*) AS c
FROM Emp
WHERE 1 = 0
GROUP BY ();

The query returns one row, and a value of 0 for c. In Morel, a group without a key is implicitly a group by zero expressions, for which there is always one value, namely (), the empty tuple. group returns a row for each group key value.
from e in emps
group compute count;
val it = [4] : int list

from e in emps
where false
group compute count;
val it = [0] : int list

from e in emps
where false
group;
val it = [()] : unit list

Fixed in 41d27539af5e53449f35f5464b4285755b212f9b.


 New-PowerBIReport -Path is not accepting reportname which has dot like report.powerbi.pbix

 New-PowerBIReport -Path is not accepting reportname which has dot like report.powerbi.pbix

When Ever I am running it just publishing with Name: report
Instead of it should take Name: report.powerbi
Do we have any solution or work around for those reports which has dot in name ?

This cmdlet explicitly removes .pbix at the end. I believe this is an outdated requirement and should be fixed here. It's in our backlog to discuss ETA. https://github.com/microsoft/powerbi-powershell/blob/bd274bb420f92053d16c9e2556e218902a5856a8/src/Modules/Reports/Commands.Reports/NewPowerBIReport.cs

You can try using the -Name parameter, but include the ".pbix" extension, eg
New-PowerBIReport -Path "path\to\report.powerbi.pbix" -Name "report.powerbi.pbix" -WorkspaceId "..."

I find that the cmdlet removes everything from the last "." in the name, so including the ".pbix" means that it should prevent the undesirable truncation.


PictureRecorder->Picture->toImage doesn't work with Images on Web

The combination of PictureRecorder, Picture, and toImage doesn't work with drawImage or drawVertices on Web.
Repro here: https://github.com/luigi-rosso/flutter-picture-recorder-image-bug
This example draws a circle and then two image over it. The image on the left is drawn with canvas.drawImageRect. The one on the right is drawn with canvas.drawVertices. The canvas is created with a PictureRecorder.
Note how it works in the Mac app but not on the Web.
I ran the web build with:
flutter run --release --dart-define=FLUTTER_WEB_USE_SKIA=true -d chrome

I ran the mac build with:
flutter run -dmacos

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel unknown, 3.0.0, on macOS 12.3.1 21E258 darwin-arm, locale en-US)
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed
      instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4)
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] VS Code (version 1.67.1)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

! Doctor found issues in 2 categories.

Hi @luigi-rosso, Thanks for filing the issue.
There is a similar issue describing this case https://github.com/flutter/flutter/issues/103803, Please follow up there for further updates, Closing this issue as a duplicate. If you disagree feel free to write in the comments and we will reopen it.
Also please see https://github.com/flutter/flutter/issues/103803#issuecomment-1133520718
Thank you.


Chrome failed to start: exited abnormally

When I run the python example the script crashes with
"AttributeError: 'ScraperSearch' object has no attribute 'query' "
This kind of error message was already reported elsewhere, but the solution-thread didn't help me.
The root of this error message might be reflected by the earlier error message that occurs a little bit earlier in the output:
"GoogleScraper - ERROR - Message: unknown error: Chrome failed to start: exited abnormally"
so obviously there seems to be a probem with chrome/chromedriver. Is there a way to log the error output?

basically the same issue as in https://github.com/NikolaiT/GoogleScraper/issues/111


Render tweets with video

Show link/thumbnail at first, load video as tweets are in focus
If video is tweet video, use iframe with given source in loklak result
Else:

Show logo, source of video (Youtube, Vimeo, Fp, etc..)
Request for embeded url of a html5-video-container

Done with #139

good work!

I just added the recognition of vine.co video links, please embed those videos as well.

No need to open this, all results without filters will be rendered automatically, doesn't matter what kind of links they have. Quick test on live: http://test.loklak.net/search?q=%23vine&timezoneOffset=-180


Hide pay button when auto reimbursement enabled

~On hold for https://github.com/Expensify/Web-Expensify/pull/40396~
Details

This PR hides the Pay button after approval for group policies only if the auto-reimbursement limit is greater than or equal to the reimbursable total and if the reimbursement is enabled at the policy level.
Fixed Issues

$ https://github.com/Expensify/App/issues/33716
Tests

Create a collect policy in OldDot with direct reimbursement

Add a withdrawal account
Set Manual reimbursement to a big number

Execute the following JS snippet in the OldDot policy to enable workspace chats creation:

if (Url.getCurrentPageName()!="policy" ){ alert('Only run this snippet from a policy editor!'); } else { var p = Policy.getCurrent(); p.policy.isPolicyExpenseChatEnabled = "true"; p.save().done(function(){$.jGrowl('Workspace chat creation enabled!')}); }

Add a member and an approver (the approver can be the policy owner too)
Login in one session as a member and in another session as the approver
As member, create a money request and submit it in the workspace chat
Verify the money request appears in the approver's workspace chat
As approver turn off the internet connection to verify easily if the Pay button is not shown
Approve the report
Verify the Pay is not shown after approval

https://github.com/Expensify/App/assets/6829422/38b03e66-45e6-4d78-8b31-a3e3caee5f5e

[x] Verify that no errors appear in the JS console

Offline tests

N/A
QA Steps

Same as test steps

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

On hold for backend changes but the code can be reviewed

Hi @aimane-chnaif, the backend changes were deployed to production so the PR is ready for review. Can you provide me with some emails so I can add you to a policy with auto reimbursement enabled for testing?

Friendly bump @aimane-chnaif

I am stuck here. This message doesn't disappear even if bank account is added

Ah I think that system message doesn't disappear, we just process the request when the bank account is added and post another message mentioning the request was settled iirc.
What happens if you create another request after you add the bank account?

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.31-7 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


SPA mode: error when eveluating SSR module

Reproduction
With such config:
import { vitePlugin as remix } from "@remix-run/dev";
import { defineConfig } from "vite";
import tsconfigPaths from "vite-tsconfig-paths";

export default defineConfig({
  plugins: [remix({ ssr: false }), tsconfigPaths()],
});

Taken from https://remix.run/docs/en/main/future/spa-mode
That I tried in my existing project, I am getting SSR errors which is weird when running remix vite:dev
System Info
System:
    OS: macOS 13.5.1
    CPU: (8) arm64 Apple M1
    Memory: 109.72 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Yarn: 1.22.19 - ~/node_modules/.bin/yarn
  Browsers:
    Chrome: 121.0.6167.184
    Edge: 121.0.2277.128
    Firefox: 122.0.1
    Safari: 16.6
  npmPackages:
    @remix-run/dev: ^2.7.1 => 2.7.1
    @remix-run/node: ^2.7.1 => 2.7.1
    @remix-run/react: ^2.7.1 => 2.7.1
    vite: ^5.1.3 => 5.1.3

Used Package Manager
yarn
Expected Behavior
It compiles
Actual Behavior
[vite] Error when evaluating SSR module virtual:remix/server-build: failed to import "/app/routes/_index.tsx"
|- ReferenceError: localStorage is not defined

Does this error happen if you run build it and then run the preview? I imagine it's just in dev mode as it runs the code on the server there.

This is noted in the Caveats section in the docs.  SPA Mode still has a server so that it can pre-render your root route and save it to an index.html file at build time.  It also uses that server during dev so it can handle HMR/HDR etc.
What are you doing with localStorage in _index.tsx?  There's a few ways you can get past this:

make the access defensive via something like if (typeof window !== undefined),
put the access into an effect which will only run on the client
moving localStorage access inside a .client./ts file
or using a ClientOnly component from remix-utils

My application "stores" are connecting to localStorage at "bootstrap".
Thanks for reply. I had WTF moment with why exactly this happens and missed it in docs somehow.


fix(server): replace optimist on yargs lib

fix #2473

:white_check_mark: Build karma 2537 completed (commit https://github.com/karma-runner/karma/commit/b439e2a46a by @anthony-redFox)

:white_check_mark: Build karma 2538 completed (commit https://github.com/karma-runner/karma/commit/64154120b9 by @anthony-redFox)

Hi guys, do you have any update on this PR?. I'm guessing many people and companies have that security issue reported by blackduck and other security scan tools. So that, I would like to know how can we proceed with this merged and what risk are identified.
Cheers!

You marked this as BREAKING but the code looks like a refactoring to use yargs.
How can this break users?

@johnjbarton  agree with you, update message.

:white_check_mark: Build karma 2540 completed (commit https://github.com/karma-runner/karma/commit/c47e932ca7 by @anthony-redFox)

:white_check_mark: Build karma 2541 completed (commit https://github.com/karma-runner/karma/commit/edd3152c1f by @anthony-redFox)


Prefix to postfix in java

Have you read the Contributing Guidelines on Pull Requests?
yes
Description
Fixes #6940
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
issue #6940

@HarshCasper  @ankitaggarwal23 @anushkrishnav can you please review and merge my pr


Deprecate old documentation page in favor of docs

Motivation
https://coreruleset.org/documentation/ (a WordPress page) was there before the Great Patriotic Documentation Effort.
There are already too many documentation pages. Let's merge this page's contents into the documentation, get rid of the WordPress page, and send people to the actual documentation.
Proposed solution

[ ] add https://coreruleset.org/documentation/ tidbits to the documentation (volunteered by @RedXanadu)
[ ] remove the WordPress documentation page
[ ] add the new documentation to the menu
[ ] redirect ^/documentation/?$ to /docs/ with 301

I'll double-check the content on the landing page and make sure nothing gets lost. Will do that this week (week of 18 April).

@lifeforms I ended up making some edits to the new landing page… Also made sure nothing would be dropped from the old landing page.
See: https://github.com/coreruleset/documentation/pull/38

Thank you! The new documentation is now in the menu. 🥳

Awesome! Thanks!


Rework board to be 2d array (accessible by board[x][y]) instead of slice (necessary to iterate through whole array to find specific tile)

Hope it helps with #2

Done by 64a02a9


No module named 'azure.functions_worker'

I was trying to follow these instructions and have my python function app write to table storage, but if I include azure-cosmos in my requirements.txt, I get the following error when I try to run my function:
Exception has occurred: ModuleNotFoundError
No module named 'azure.functions_worker'
File "c:\users\user\appdata\roaming\npm\node_modules\azure-functions-core-tools\bin\workers\python\worker.py", line 33, in main
import azure.functions_worker
File "c:\users\user\appdata\roaming\npm\node_modules\azure-functions-core-tools\bin\workers\python\worker.py", line 46, in
main()
Issue similar to #151

@ankitkumarr, I believe this is because we don't have an __init__.py currently packaged with the azure package in core tools dependencies?

@maiqbal11, yeah you are right!
@tlaur, this is on track to be fixed on the next release. As a work-around, you can delete azure/__init__.py. To find the location of that file, you can do this --
$ python3.6
>>> import azure
>>> azure.__file__

This should not have any impact on your app.

@ankitkumarr Thanks, removed .env/Include/Lib/azure/init.py from my virtual environment and the app runs fine now.

This should be fixed in the latest Core Tools.

Hello there.
Apparently for me the error persists.
I tried to install azure-functions-worker but it does not work even with that.

Same Issue for me.

Please open a separate issue if you saw similar errors. The root cause here was fixed and released. It is most likely a different cause and would need separate investigation.
cc: @Hazhzeng @maiqbal11

@tlaur @equidevium @nk-gears, this is due to the existing issues in 1.0.0b9 python worker. You can perform the following steps to mitigate the issues until 1.0.0b11 is released in the functions-core-tools

Go to C:\Users<YourUserName>\AppData\Roaming\npm\node_modules\azure-functions-core-tools\bin\workers\python\worker.py
Change azure.functions_worker to azure_functions_worker
In your requirements.txt, add azure_functions_worker
Run pip install -r requirements.txt
5. Run func host start


Raspberry PI Docker Image?

Any chance we could get a raspberry pi/arm compatible image for this project? Thanks!!

No time like the present to learn how to do this myself.  Built it myself! Thanks!


Fix input icon positions in safari

Description
Added top: 0 to input icon class to correctly position the input icon in Safari
Pull Request Checklist

[x] Ask the contributors if a similar effort is already in process or has been solved.
[x] Review the contribution guidelines.
[x] Use staging as your pull request's base branch. (All PRs using production as its base branch will be declined).
[x] Ensure all gulp scripts successfully compile.
[x] Update, remove, or extend all affected documentation.
[x] Provide a description what is being changed, extended, or removed.
[x] Link to any issue(s) this request is resolving.
[x] Ensure no private Dialpad links or info are in the code or pull request description (Dialtone is a public repo!).
[x] Request a review from Joshua Hynes, Ted Goas, or David Becher.

Screenshots
Chrome

Safari

Testing locally in Dialtone Vue

Dialtone Vue local testing complete


Defined a new broker metric for total query processing time

What does this PR do?
Defined a new broker metric for total query processing time and added metric to broker.yaml
Tags to include: observability , release notes
Release Notes:
Includes a new broker gauge type metric - queryTotalTimeMs

Review pls : @npawar

How is this different from the totaltimems that we have today?

How is this different from the totaltimems that we have today?

Are you referring to BrokerQueryPhase.QUERY_EXECUTION metric? It is currently defined as:
_brokerMetrics.addPhaseTiming(rawTableName, BrokerQueryPhase.QUERY_EXECUTION,
        executionEndTimeNs - routingEndTimeNs);

So, it is not the total query processing time. Total query time should start from the request compilation phase and all the way to the end.

@npawar can you merge this PR?


deliver dragonwell security provider jar

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: Sere-Fu:white_check_mark: superajun-wsj:x: dongbeioubaYou have signed the CLA already but the status is still pending? Let us recheck it.


maybe bug in ./segmentor/trainer_contrastive.py

In./segmentor/trainer_contrastive.py
I think
#138 pixel_queue_ptr[lb] = (pixel_queue_ptr[lb] + 1) % self.memory_size
should be
#138 pixel_queue_ptr[lb] = (pixel_queue_ptr[lb] + K) % self.memory_size

Hi, @eraserNut thanks for pointing this out. Yes, this is indeed a bug as mentioned in another issue. I will fix this.

In ContrastiveSeg/lib/loss/loss_contrast_mem.py #134
logits_mask = torch.ones_like(mask).scatter_(1,                                                      torch.arange(anchor_num * anchor_count).view(-1, 1).cuda(),                                                      0) mask = mask * logits_mask
Can you tell me what the logits_mask does? Can I delete it? Because in my experiments, the logits_mask seems strange in the process.

Hi @eraserNut, please refer to #16. The logits_mask helps to mask out self-similarity of each feature itself.

Hi @eraserNut, please refer to #16. The logits_mask helps to mask out self-similarity of each feature itself.

Thanks for your time. I didn't quite understand why there will be  self-similarity pixels. All the anchor pixels are sampled from the training batch, and the contrasive pixels are sampled from the queue.

Hi @eraserNut, please refer to #16. The logits_mask helps to mask out self-similarity of each feature itself.

Thanks for your time. I didn't quite understand why there will be self-similarity pixels. All the anchor pixels are sampled from the training batch, and the contrasive pixels are sampled from the queue. Why multiply of these two kinds of pixels will have self-similarity?

I think self-contrastive only exists when queue is None. When queue is not None, logits_mask should not be multiplied to mask, maybe its a unfixed bug.


Cannot open Chatterino

"Chatterino cannot be opened because of a problem."

What version are you using?
Did you try resetting (i.e. deleting) setting/commands/layouts to check if one of these is corrupt?
Did you try reinstalling?

Did you download VC++ 2017 as described here?
https://github.com/fourtf/chatterino2/blob/master/README.md#downloading

Closed due to inactivity. If you still have this issue, feel free to open a new issue (make sure to answer the questions from TranRed and apa420 in that issue).


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1124 ms

Resolved: Bofrost.at performance has improved in e9ce263.


mining profit taking a lot of time

all other pos coins dont get this much time as much Bullcoin is consuming u guyz cannot make it succesful untill u grab this problem because this is the only reason ppl ll buy this coin ,this is my request to solve this issue on urjent basis...

https://drive.google.com/file/d/0B-g1uBauhyRIc0hONnVKYmhEVUU/view?usp=sharing
Please try a new version of Android Wallet

Bro issue is in pc wallet mining why i ll go for android

Why do not I get monthly profit in my wallet?


feat: logging, request id

Checklist

[ ] run make test
[ ] PR title must follow conventional-commit-standard
[ ] tests and/or benchmarks are included
[ ] documentation is changed or added
[ ] commit message and code follows the Code of conduct

@YuriBuerov did you test that the request-id is correctly propagated from Node -> hook -> another-hook -> onOriginResponse -> postHook ?

@StarpTech  yes


Requirement for Phone System addon

One of our customers told us that they were able to apply phone system addon to SfB Online Plan2.
If users having SfB Online Plan2 do not need to switch Enterprise subscription, would you update the content?

Yes, technically it possible to add them to a SP2. However, for more features they recommend upgrading to an E-based plan.

@naminakao - Can you send me a link please?

https://support.office.com/en-us/article/3ed752b1-5983-43f9-bcfd-760619ab40a7

@naminakao - Can you copy the exact text of what you feel needs changed? Thanks, Tony

pasted screenshot.

@naminakao - ok, I've updated the text and added a couple notes to make it more clear. See if they work. I just published it live on DMC.


DEBU[0000] Registering HTTP route                        method=DELETE route=/images/{name:.*}
DEBU[0000] Registering HTTP route                        method=OPTIONS route=
DEBU[0000] Initializing discovery service                name=nodes uri=<IP_ADDRESS>:4243
INFO[0000] Listening for HTTP                            addr=<IP_ADDRESS>:2375 proto=tcp
DEBU[0000] Updated node state                            id=XXXX:XXXX name=vagrant-ubuntu-saucy-64
INFO[0000] HTTP request received                         method=POST uri=/v1.17/images/create?fromImage=re%3Alatest
ERRO[0000] HTTP error: Not supported in clustering mode.  status=501
DEBU[0030] Updated node state                            id=XXXX:XXXX name=vagrant-ubuntu-saucy-64
INFO[0046] HTTP request received                         method=POST uri=/v1.17/containers/create
INFO[0046] HTTP request received                         method=POST uri=/v1.17/containers/xxxx/attach?stderr=1&stdin=1&stdout=1&stream=1
DEBU[0046] Proxy hijack request                          addr=<IP_ADDRESS>:4243
DEBU[0046] Event received                                from=busybox:buildroot-2014.02 id=xxxx node=vagrant-ubuntu-saucy-64 status=create
INFO[0046] HTTP request received                         method=POST uri=/v1.17/containers/xxxx/start
DEBU[0046] Proxy request                                 method=POST url=http://<IP_ADDRESS>:4243/v1.17/containers/xxxx/start
INFO[0046] HTTP request received                         method=POST uri=/v1.17/containers/xxxx/resize?h=27&w=69
DEBU[0046] Proxy request                                 method=POST url=http://<IP_ADDRESS>:4243/v1.17/containers/xxxx/resize?h=27&w=69
DEBU[0046] Event received                                from=busybox:buildroot-2014.02 id=xxxx node=vagrant-ubuntu-saucy-64 status=start
INFO[0049] HTTP request received                         method=GET uri=/v1.17/containers/xxxx/json
DEBU[0049] Event received                                from=busybox:buildroot-2014.02 id=xxxx node=vagrant-ubuntu-saucy-64 status=die
DEBU[0060] Updated node state                            id=W6CK:LRCS:KGSV:N5ZT:ZGAN:QPAH:7ES4:XBZ7:7D3U:ADRX:AF5Y:4ZF2 name=vagrant-ubuntu-saucy-64

Also, I moved the events on debug

LGTM