2D Histogram

We recently added a new Histogram class (#2389, #2403) but it would be great if we could achieve similar functionality in two dimensions.
Histograms would be built by accumulating X/Y pairs into binned ranges. Histogram output could be plotted as heatmaps, with color representing the count in each 2D bin.
An example use case would be for visualizing flow cytometry data

Hi,
I would love to use this feature.
I currently developing an app in C#/Avalonia that need to represent such data set.
Are you going to implement it in a new release?
Is there another way to do it currently with ScottPlot 4.1?

I got set back being sick for several weeks 🤧 but I'm starting to get better now and will be picking this up soon, possibly before the next release.
I'm curious, what is the use case for your 2D histogram? The only use case that comes to mind for me is flow cytometry, but I'm curious what others may be interested in using this for.

Hi Scott,
Thanks for replying.
I am supporting the development of an instrument control software for a microfluidic device for doing assay for drug discoveries,
We need to plot some signals data (PMT) for each droplet detected.
I am porting a legacy application written in LabView to C#
Here is an example of a plot in labview.

It is only about 5 min worth of data, we will be running the apps for  hours.
If you are curious about our technologies, check our website: https://1859.ai/
I was able to implement the plot with the current Scottplot 4.1 code
Here is a screenshot

here is the code, might not be the most efficient way to do it though, so having the 2D Histogram feature available would be great.
`       var binsX = 1500;
var binsY = 1500;
var min = 0.0;
var max = 5.0;
    // Calculate the bin edges for the x and y axes
    var histX = new ScottPlot.Statistics.Histogram(min, max, binsX);
    histX.AddRange(dropletsData.Select(p => p.Max1InVolts));
    double[] xEdges = histX.Bins;
    var histY = new ScottPlot.Statistics.Histogram(min, max, binsY);
    histY.AddRange(dropletsData.Select(p => p.Max2InVolts));
    double[] yEdges = histY.Bins;

    // Create an empty 2D array to store the bin counts
    // needed nullable array to represent empty bin as transparent
    // https://scottplot.net/cookbook/4.1/category/plottable-heatmap/#heatmap-with-empty-squares
    double?[,] counts = new double?[binsX, binsY];

    // Loop through each point and increment the appropriate bin
    foreach (var point in dropletsData)
    {
        int xBin = Array.BinarySearch(xEdges, point.Max1InVolts);
        if (xBin < 0)
            xBin = ~xBin - 1;

        int yBin = Array.BinarySearch(yEdges, point.Max2InVolts);
        if (yBin < 0)
            yBin = ~yBin - 1;
        counts[yBin, xBin] ??= 0;
        counts[yBin, xBin]++;
    }
    AvaPlot.Plot.Clear();
    var heatmap = AvaPlot.Plot.AddHeatmap(counts, ScottPlot.Drawing.Colormap.Turbo);
    heatmap.Update(counts, min: 1);
    heatmap.Smooth = true;
    heatmap.FlipVertically=true; // needed to match with LabView ScatterPlot
    var cb = AvaPlot.Plot.AddColorbar(heatmap);
    cb.Label = "Droplets";
    heatmap.XMin = 0.0;
    heatmap.XMax = 5.0;
    heatmap.YMin = 0.0;
    heatmap.YMax = 5.0;
    AvaPlot.Plot.SetAxisLimits(min, max, min, max);
    AvaPlot.Plot.XAxis.SetBoundary(min, max);
    AvaPlot.Plot.YAxis.SetBoundary(min, max);`

I got pretty far on this tonight (#2639). It needs some work to refine the API, but we're getting pretty close! I added a cookbook example in the code base (it's not on the website or in NuGet yet), but it's looking like this:
// create the experimental plot type and add it to the plot
ScottPlot.Plottable.BinnedHistogram hist2d = new(100, 100);
AvaPlot.Plot.Add(hist2d);

// add sample data
Coordinate[] flowData = DataGen.FlowCytometry();
hist2d.AddRange(flowData);

// add a colorbar
AvaPlot.Plot.AddColorbar(hist2d.Colormap);

This is done now (#2639) and here's how to use it:
// create a binned histogram
var hist2d = plt.AddBinnedHistogram(100, 100);

// data is a collection of X/Y points
Coordinate[] flowData = DataGen.FlowCytometry();

// add X/Y points to the histogram
hist2d.AddRange(flowData);

Thanks Scott.
This looks great. I will give it a try in the next few days.
Just got back from a break.
I also excited to see the following" ScatterDataLogger: Experimental plot type for live incoming data " I am going to be tested it as well as we have the need for that type of plotting in my application ( plotting livestream of data signal from an fpga)

I'm re-opening this issue to track progress toward adding this plot type into ScottPlot 5


c++20  generators for boost beast

I am starting work on a new c++20 project that uses boost beast websocket and http. I would like to use async with coroutines, similar to how async/await works in Python and Rust. However there are a lot of different coroutine implementations for c++, and I would like some advice on which one I should use with beast.
Are there currently any plans for beast to support c++20 coroutines, and has work already started on any experimental c++20 coroutine generators for beast? I know how to write my own, but if somebody else is already working on it I would like to make use of it and perhaps make some contributions, instead of redoing what has already been done. I think it would be good to have an async generator for messages being received over the websocket, possibly also implemented as an infinite sequence that supports std::ranges?
On the other hand perhaps c++20 coroutines are still too new, and I should stick with boost coroutines? I see from the http client coro_ssl example that beast is using boost coroutines instead of coroutines2. Should I stick with boost coroutines even though it has been deprecated, or should I use boost coroutines2 instead?

If you have C++20 and recent compiler suite, I'd be happy to recommend C++20 coroutines. The asio::awaitable support is pretty good and is well maintained.
e.g.:
auto result = co_await object.async_something(asio::use_awaitable);
You can write generators, or you can use the asio::experimental::channel as a rendezvous point for multiple streams of events. asio::steady_timer also makes the basis of an efficient asynchronous semaphore, whichever coroutine system you choose.
If you have older tooling, then you may want to consider boost::coroutine.

Thank you, yes. I am using c++20 and recent gcc. Is there any good example code for how to connect as a websocket client using asio:awaitable and beast? I looked at the example directory in the master branch and the coro example in there is I believe 3 years old and using boost::coroutine?

Here is something I wrote some months ago in both C++17 and C++20
https://github.com/test-scenarios/boost_beast_websocket_echo
I am available most days on the CPPLang slack in the #beast channel.
https://cppalliance.org/slack/

Yes, you can close it please
On Wed, 31 Aug 2022, 9:31 am Klemens Morgenstern, @.***>
wrote:

Is this resolved?
—
Reply to this email directly, view it on GitHub
https://github.com/boostorg/beast/issues/2401#issuecomment-1232345373,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIRUGJXYACSUL6E6PYVDHALV32YWHANCNFSM5SEGOKGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

I am available most days on the CPPLang slack in the #beast channel.
https://cppalliance.org/slack/

Hi @madmongo1 , beast is absolutely fantastic and I am having so much fun with modern C++ after a 10+ years hiatus from the language. Thank you!
Richard, I tried signing up but it rejects my email , looks like only peeps from @aurescapital.com allowed? Can I please get an invitation to<EMAIL_ADDRESS>I'm working on a scalable media server in C++ using Beast and Fiber (and ffmpeg ofc) for video transcoding for one of my German clients and I'm going to use coroutines too.


[Improvement] Change GitHub repo names

Search before asking

[X] I have searched in the issues and found no similar issues.

What would you like to be improved?
It would be better to drop the "incubator—" from the repo names so that when you become a TLP, they won't need to change.
How should we improve?
Rename this repo to just "amoro"
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Subtasks
No response
Code of Conduct

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

Hi, @justinmclean  thanks a lot for bringing up this improvement.
Changing the repo name can indeed reduce work at graduation, but I'm unsure if this meets the requirements of the ASF Incubator, considering many other repo names of the podlings still include the "incubator-" prefix.

Over time, we have removed the incubator name from the website and other resources to make less work for Infra and make it easier to become a TLP. It would be easier to fix now I think. Can the PPMC can raise an Infra Jira to fix this?

Now Repo Change to Amoro


V2 Pre-release : 2021 MAR 07

Pre-release version of V2 JSCAD, including changes from several previous pull requests.
Features:
modeling: rename relativeTo option to align and center
modeling: revisit modifiers, adding insert of points for T-junctions during triangulation
amf-serializer: enhanced to snap and triangulate 3D geometries before serialization
dxf-serializer: enhanced to snap and triangulate 3D geometries before serialization
stl-serializer: enhanced to snap and triangulate 3D geometries before serialization
x3d-serializer: enhanced to snap and triangulate 3D geometries before serialization
Fixes:
web: corrected check of scope for key events
modeling: added validation of points and faces in polyhedron
NOTE: Development dependencies have been bumped due to changes in Node.js 14.

[X] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[X] Does your submission pass tests?

@SimonClark thanks in advance. 👍


[DatePicker] Datepicker style is broken in 0.15.0-alpha.2

Problem Description
Date picker look weird since 0.15.0-alpha.2. In 0.15.0-alpha.1 it's okay.
http://www.material-ui.com/v0.15.0-alpha.2/#/components/date-picker

Versions

Material-UI: 0.15.0-alpha.2
React: 0.14.7
Browser: chrome 49.0.2623.87 (64-bit)

Tested in safari 9.0.3 and also have the style broken

Thanks. Fixed here: https://github.com/callemall/material-ui/commit/dbc425d50849e518c67070bd33f021a2951dd683


Clarify that tf.image.adjust_brightness accepts negative values

URL(s) with the issue:
https://www.tensorflow.org/api_docs/python/tf/image/adjust_brightness
Description of issue (what needs changing):
The documentation states that delta should be in the range [0, 1). However, the delta is added to the image so negative values in the range (-1, 0] are also valid, and useful if the image should be made darker.
Clear description
It is useful to be able to darken images, and the documentation should make it clear how to do so.

I wondered this myself. Since random_adjust_brightness provides a value in the interval [-max_delta, max_delta) it seems that negative values should be accepted.
I wondered whether this could be an issue with underflow for unsigned integer representations? The calculation is done as a float, but scaling and casting negative results (e.g. -0.1) to uint could give some weird behaviour. You can't just set a hard limit of 0 either, because some projects scale pixel values between -1 and 1. (https://www.tensorflow.org/api_docs/python/tf/keras/applications/xception/preprocess_input)


Using native WireGuard app for mobile clients.

I really love Tailscale, except that the control server is not open source and that the iOS app is a huge battery drain. It does not implement on demand capabilities. I'm very interested in this project to replace it.
Is it possible for a solution like this to generate the proper WireGuard config file to use with the WireGuard native iOS app?
So I have a finite amount of clients, say 10. I only have 2-3 that are truly mobile. Is a control server "check in" required to make it work? I'm unfamiliar with exactly how the mesh overlay is created and continuously updated for all other clients. I'm assuming a static WireGuard config would not be able to know if/when another client changes networks (dynamic ip, roaming, etc.)
As a consolation, I wonder if a static WireGuard config file could be downloaded, but options added to just connect to one "relay" server all the time and get its "mesh connectivity" from the relay, since it won't have constant updates from the control plane.

That's essentially what netmaker does to integrate unsupported clients (IoT, routers without plugins, currently mobile phones, etc.)
See https://www.netmaker.io/features/ingress
They don't get direct peer to peer connections (instead going through the ingress node and then that uses peer to peer), but it's a lot better than nothing and still more flexible than a traditional VPN server.
While netbird might get mobile clients soon I'd still love to see that feature, as I use quite a few external devices that have wireguard support, but can not run any custom/third party software at all...

Recently we've released the Android app: https://play.google.com/store/apps/details?id=io.netbird.client
The iOS app is under development and should be release in Q3

Any plans releasing a TestFlight release preview for ios?

Hello folks, you can sign up for the iOS preview here: https://forms.gle/HVAdMKt2vSdCiTzY9
We will send you test flight invites when the first version is ready for testing.

Hello folks, we published the iOS app!!!
You can find it here:
https://apps.apple.com/us/app/netbird-p2p-vpn/id6469329339
We are looking into, publishing to China's store but it might be a problem as it requires more paperwork. So it will be great to hear from the community there, if there is an alternative distribution channel.

but still having a gateway to plain WG clients like netmaker makes sense IMHO, please keep the non interactive users and devices in mind.


Multimodel inference

Will be great if we could load more models in the same container and switch between them using model name

FYI, there is now a mid-level python API. You can build now your own FastAPI server, according to your needs.

@bacoco Takeing suggestion for design patterns for this feature. If there is a good one, I might implement it #151

I think launching this from command-line is basically not possible.
It would be launching multiple models with typer.cli where most args are auto-generated.
Do you think a cli-setup from .yaml would be a good option? @bacoco

Hey all, its fully implemented. @bacoco


the label [approx. one year ago] is not in the [index]

Dear Zipline Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment

Operating System: (Windows Version or $ uname --all)
Linux uvm01 4.4.0-93-generic #116-Ubuntu SMP Fri Aug 11 21:17:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Python Version: $ python --version
Python 3.4.5 :: Continuum Analytics, Inc.

Python Bitness: $ python -c 'import math, sys;print(int(math.log(sys.maxsize + 1, 2) + 1))'
64

How did you install Zipline: (pip, conda, or other (please explain))
conda

Python packages: $ pip freeze or $ conda list
alembic                   0.7.7                    py34_0    Quantopian
bcolz                     0.12.1              np111py34_0    Quantopian
bottleneck                1.2.0               np111py34_0
click                     6.7                      py34_0
contextlib2               0.5.4                    py34_0
cyordereddict             0.2.2                    py34_0    Quantopian
cython                    0.25.2                   py34_0
decorator                 4.0.11                   py34_0
empyrical                 0.2.2                    py34_0    Quantopian
hdf5                      1.8.17                        2
intervaltree              2.1.0                    py34_0    Quantopian
libgfortran               3.0.0                         1
logbook                   0.12.5                   py34_0    Quantopian
lru-dict                  1.1.4                    py34_0    Quantopian
mako                      1.0.6                    py34_0
markupsafe                1.0                      py34_0
mkl                       2017.0.3                      0
multipledispatch          0.4.9                    py34_0
networkx                  1.11                     py34_0
numexpr                   2.6.1               np111py34_2
numpy                     1.11.3                   py34_0
openssl                   1.0.2l                        0
pandas                    0.18.1              np111py34_0
pandas-datareader         0.2.1                    py34_0
patsy                     0.4.1                    py34_0
pip                       9.0.1                    py34_1
pytables                  3.3.0               np111py34_0
python                    3.4.5                         0
python-dateutil           2.6.1                    py34_0
pytz                      2017.2                   py34_0
readline                  6.2                           2
requests                  2.14.2                   py34_0
requests-file             1.4.1                    py34_0
scipy                     0.18.1              np111py34_1
setuptools                27.2.0                   py34_0
six                       1.10.0                   py34_0
sortedcontainers          1.4.4                    py34_0    Quantopian
sqlalchemy                1.1.5                    py34_0
sqlite                    3.13.0                        0
statsmodels               0.6.1               np111py34_1
tk                        8.5.18                        0
toolz                     0.8.2                    py34_0
wheel                     0.29.0                   py34_0
xz                        5.2.3                         0
zipline                   1.1.1               np111py34_0    Quantopian
zlib                      1.2.11                        0

Now that you know a little about me, let me tell you about the issue I am
having:
Description of Issue

What did you expect to happen?
I have a skeleton script with all excess code stripped out to demonstrate the issue. I expect the script to execute successfully with no output.

What happened instead?
$ python ZiplineDebug.py

Traceback (most recent call last):
  File "/home/username/anaconda3/envs/zipline/lib/python3.4/site-packages/pandas/core/indexing.py", line 1395, in _has_valid_type
    error()
  File "/home/username/anaconda3/envs/zipline/lib/python3.4/site-packages/pandas/core/indexing.py", line 1390, in error
    (key, self.obj._get_axis_name(axis)))
KeyError: 'the label [2016-09-19 00:00:00+00:00] is not in the [index]'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "ZiplineDebug.py", line 29, in <module>
    environ=os.environ)
  File "/home/username/anaconda3/envs/zipline/lib/python3.4/site-packages/zipline/utils/run_algo.py", line 360, in run_algorithm
    environ=environ,
  File "/home/username/anaconda3/envs/zipline/lib/python3.4/site-packages/zipline/utils/run_algo.py", line 179, in _run
    overwrite_sim_params=False,
  File "/home/username/anaconda3/envs/zipline/lib/python3.4/site-packages/zipline/algorithm.py", line 709, in run
    for perf in self.get_generator():
  File "/home/username/anaconda3/envs/zipline/lib/python3.4/site-packages/zipline/gens/tradesimulation.py", line 230, in transform
    handle_benchmark(normalize_date(dt))
  File "/home/username/anaconda3/envs/zipline/lib/python3.4/site-packages/zipline/gens/tradesimulation.py", line 190, in handle_benchmark
    benchmark_source.get_value(date)
  File "/home/username/anaconda3/envs/zipline/lib/python3.4/site-packages/zipline/sources/benchmark_source.py", line 75, in get_value
    return self._precalculated_series.loc[dt]
  File "/home/username/anaconda3/envs/zipline/lib/python3.4/site-packages/pandas/core/indexing.py", line 1296, in __getitem__
    return self._getitem_axis(key, axis=0)
  File "/home/username/anaconda3/envs/zipline/lib/python3.4/site-packages/pandas/core/indexing.py", line 1466, in _getitem_axis
    self._has_valid_type(key, axis)
  File "/home/username/anaconda3/envs/zipline/lib/python3.4/site-packages/pandas/core/indexing.py", line 1403, in _has_valid_type
    error()
  File "/home/username/anaconda3/envs/zipline/lib/python3.4/site-packages/pandas/core/indexing.py", line 1390, in error
    (key, self.obj._get_axis_name(axis)))
KeyError: 'the label [2016-09-19 00:00:00+00:00] is not in the [index]'

Here is how you can reproduce this issue on your machine:
Reproduction Steps
1.Run my script
2.
3.
...
Script:
ZiplineDebug.py.txt
from zipline.api import symbol
from zipline import run_algorithm

import pandas as pd
import os
from datetime import datetime
import pytz

def initialize(context):
#    context.asset = symbol('AAPL')
    pass

def handle_data(context, data):
    pass

tz = pytz.timezone("US/Mountain")
start = datetime(2016, 9, 17, tzinfo=tz)
end = datetime(2017, 9, 2, tzinfo=tz)

perfData = run_algorithm(start=start,
                         end=end,
                         bundle="quantopian-quandl",
                         initialize=initialize,
                         capital_base=40000.00,
                         handle_data=handle_data,
                         environ=os.environ)

What steps have you taken to resolve this already?
I tried various dates and various other means of importing data (quandl, csv, yahoo). I verified that the data has dates going back further than one year ago.
Anything else?
IMPORTANT this is the key point
The script does run successfully if I modify the start date to start a little later (like a few days later). The script runs with no output, which is what I expect. Try adding one month to the start date and it will run.
As days pass the start date required for the script to run successfully also has to be later. This makes me think that somehow I cannot backtest with data >1yr ago.
...
Sincerely,
QuantGuy01

Just to chime in, I too have the same issue on both osx and Ubuntu. Detailed output here..
File "test.py", line 21, in <module>
  bundle='quantopian-quandl',
File "/home/tejara/anaconda2/lib/python2.7/site-packages/zipline/utils/run_algo.py", line 360, in run_algorithm
  environ=environ,
File "/home/tejara/anaconda2/lib/python2.7/site-packages/zipline/utils/run_algo.py", line 179, in _run
  overwrite_sim_params=False,
File "/home/tejara/anaconda2/lib/python2.7/site-packages/zipline/algorithm.py", line 709, in run
  for perf in self.get_generator():
File "/home/tejara/anaconda2/lib/python2.7/site-packages/zipline/gens/tradesimulation.py", line 230, in transform
  handle_benchmark(normalize_date(dt))
File "/home/tejara/anaconda2/lib/python2.7/site-packages/zipline/gens/tradesimulation.py", line 190, in handle_benchmark
  benchmark_source.get_value(date)
File "/home/tejara/anaconda2/lib/python2.7/site-packages/zipline/sources/benchmark_source.py", line 75, in get_value
  return self._precalculated_series.loc[dt]
File "/home/tejara/anaconda2/lib/python2.7/site-packages/pandas/core/indexing.py", line 1296, in __getitem__
  return self._getitem_axis(key, axis=0)
File "/home/tejara/anaconda2/lib/python2.7/site-packages/pandas/core/indexing.py", line 1466, in _getitem_axis
  self._has_valid_type(key, axis)
File "/home/tejara/anaconda2/lib/python2.7/site-packages/pandas/core/indexing.py", line 1403, in _has_valid_type
  error()
File "/home/tejara/anaconda2/lib/python2.7/site-packages/pandas/core/indexing.py", line 1390, in error
  (key, self.obj._get_axis_name(axis)))
KeyError: 'the label [2015-01-02 00:00:00+00:00] is not in the [index]'

I have the same problem!

Same problem.
Ingest quandl data.
Can't run buyapple.py example if start date < 1 year prior to now
This works:

%%zipline --start 2016-9-21 --end 2017-6-1
from zipline.api import symbol, order, record
def initialize(context):
pass
def handle_data(context, data):
order(symbol('AAPL'), 10)
record(AAPL=data[symbol('AAPL')].price)

This fails with error: "KeyError: 'the label [2016-09-20 00:00:00+00:00] is not in the [index]'"

%%zipline --start 2016-9-20 --end 2017-6-1
from zipline.api import symbol, order, record
def initialize(context):
pass
def handle_data(context, data):
order(symbol('AAPL'), 10)
record(AAPL=data[symbol('AAPL')].price)

It appears from issue #1947 that this might have something to do with a problem with pandas datareader and yahoo or google API.
Am I wrong in thinking that my code should be using Quandl if I ingest it first?
Thanks!

PS:  My ingested bundles looks like this:
zipline bundles
quandl
quantopian-quandl 2017-09-19 16:55:07.011638
quantopian-quandl 2017-09-19 02:30:42.271764

So this has nothing to do with your data, it seems that it's getting choked up on your benchmark data. This is a problem because quandl does not have SPY data so you have to get it elsewhere, and yes yahoo's api does not work anymore. If you look in your ~/.zipline/data directory, you will see a SPY_benchmark.csv file, and thats the data you should be looking to.
Not sure how zipline works with regards to this, but maybe if you specify a date that is on a non-trading day with no data (weekend, holiday, etc.) it will poop at you? Doubt it, but food for thought.

Thanks about the pointers to benchmarks. I found the code doing this and it looks like Google (not Yahoo) is returning just the last year's worth of data, no matter what dates you pass it. I see other people have since commented on the same.
The latest pandas_reader version also has this same behavior. I modified the benchmarks.py code to use Yahoo and print the data to STDOUT and I then fetched the data as a one-off. I then saved the data into SPY_benchmarks.csv.
I tried just leaving Yahoo in there permanently, but it comes back with errors and I think it has something to do with it rate limiting connections. So doing a one-off grab and saving it into the csv and then changing it back to google worked for me.
Thanks for the help everyone.

I edited benchmarks.py changing "google" to "yahoo". This worked for me.
I occasionally get an error saying something about yahoo. If I re-run it goes away, and it seems to work as expected

If you are interested, I've made a working Docker image with all the necessary stuff to setup a zipline+pyfolio environment running in Jupyter Notebooks.
Check this out, and run the command below.
https://github.com/minimalgeek/DeepLearning/tree/master/Stock/zipline
docker-compose up --build

Now I'm confused... apparently getting data from yahoo works with pandas_datareader now? I thought the yahoo API was broken? Is it because datareader was edited to download the data as csv?

Nice job Farago,
I thought pyfolio and zipline were incompatible due to different
requirements (pandas version maybe)?
On Wed, Sep 27, 2017 at 9:08 AM, Faragó Balázs<EMAIL_ADDRESS>wrote:

If you are interested, I've made a working Docker image with all the
necessary stuff to setup a zipline+pyfolio environment running in Jupyter
Notebooks.
Check this out, and run the command below.
https://github.com/minimalgeek/DeepLearning/tree/master/Stock/zipline
docker-compose up --build
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/quantopian/zipline/issues/1953#issuecomment-332513064,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aen4EyJEinjL4nn2y4tAawguoJqhYyfZks5smkdpgaJpZM4PbyRw
.

Docker Notebook container works great Farago.
Do you know if a container exists, or how I would do the same for running python / with Idle to test zipline and pyfolio?  I currently use Anaconda, but have problems running both zipline and pyfolio in same environment.

No idea about Idle, I use PyCharm. That one has a plugin for Docker environments. (If you want to debug your code, you need to upgrade it to the pro version).
Anyway, in the Dockerfile you can modify the last line:
CMD jupyter notebook --ip='*' --port=8888 --no-browser --allow-root
to
CMD python <algorithm_file>.py
or something like that :)

The reason for this is because Google has now limited us to about 251 days worth of data, so you can't run backtests over a year. There is a fix currently being worked on.
There are duplicates of this issue so I'm just going to direct everyone to this issue: https://github.com/quantopian/zipline/issues/1965. I'll comment there when there is a fix on master


Building for all platforms

https://github.com/deep-foundation/dev/issues/66

https://github.com/deep-foundation/dev/issues/2

build in actions and push to versions

research for asar

Building done. Need to be optimized in other issue


Add Brewfile icon

https://github.com/Homebrew/brew.sh/tree/master/assets/img

Thank you, @Alhadis! 🎉


Option for Error internal Details in ProblemDetails [For Discussion]

Alternatives

See SOAPStacktraceFilter

Default should be development

set @Required on the option for 5.1.0?


imprv: Reduce sanitizing

Support BS5 Navs and tabs
https://getbootstrap.com/docs/5.3/components/navs-tabs

@mergify queue


  I am native Ukrainian speaker.
If this gets merged, i will continue translating the rest.

Thanks 👍


Installation of CouchDB with Yunohost

Hi @vrtmrz thank you so much for that plugin.
There is a very easy way to install CouchDB on a VPS with full https etc... which is Yunohost with CouchDB app.
If you agree I can make a quick PR to update the dedicated documentation and add a link for those who would be interested

Thank you for your proposal and information! I think this distro is useful.
And, of cource! Your contributions are always welcome!
I was on the run out from explaining server setting up by just only this word: And, be sure to check the server log and be careful of malicious access.


File backend flattens arrays

I noticed the file backend parses arrays rather oddly. It flattens them and doesn't account for indices.  For example, the following:
---
hosts:
- name: alpha
  ip: <IP_ADDRESS>
- name: gold
  ip: <IP_ADDRESS>

is currently parsed as:
/hosts/name: gold
/hosts/ip: <IP_ADDRESS>

The last object of the array is the only one that's available from GetValues. However, I believe the intended interpretation of the above YAML is the following:
/hosts/0/name: alpha
/hosts/0/ip: <IP_ADDRESS>
/hosts/1/name: gold
/hosts/1/ip: <IP_ADDRESS>

Here array indices are interpreted as strings. This is in fact how confd parses arrays. Would you be open to change easykv's file backend to behave like confd's?

Sure, just send an PR and i'll happily merge it.

Thank you will do! 😄
Encountered this while writing the tests for https://github.com/HeavyHorst/easykv/pull/7, so I'll finish that up after this issue.


Brainstorming: User Data Analytics

In our database, we have a lot of open columns for stuff like branch of service, Github / LinkedIn account, that sort of thing. However, we have no way of actually populating it.
I'd like to find a way we can query the database for missing data, and start generating reports for what questions we need to ask. That way, we can do customized, targeted surveys (maybe three question a month, or every couple weeks, or something) to get a better picture of our membership base.
This all starts in the backend, but the surveys themselves would probably go out via email or Slack.

Additionally, once we get an idea of where we're missing the most data, we can start prioritizing what data is most critical (and using that to ensure we're sending targeted surveys)

hi!  was just curious what the size of your data is, and whether you would want an automated report to run weekly/monthly or just a more detailed understanding of what you have now?
I haven't worked with ruby yet, but i work in the health care sector doing big data analytics/engineering (i used to be in the Air Force) and would be interested in helping out with this. I think this organization has a great mission.

Mostly, a more detailed understanding of what we have now - can we connect on Slack or email<EMAIL_ADDRESS>

Invited you to a channel to discuss some ideas.


checksum the downloaded .tar and node.lib files

@nodejs/node-gyp Should this remain open? 5.5 years of no activity, so just checking....

I'll close.  This was implemented, downloads are checksummed.


[BUG] Fails to build on NixOS Unstable

Pyprland version
2.4.0
Describe the bug
the version of aiofiles is outside of the version range for the dependency
To Reproduce
Steps to reproduce the behavior:
attempt to rebuild NixOS
       > Checking runtime dependencies for pyprland-2.4.0-py3-none-any.whl
       >   - aiofiles<24.0.0,>=23.2.1 not satisfied by version 24.1.0

Expected behavior
It builds

I'll publish a version with more relaxed dependencies versions

Still failing for me

Is the message the same?
Do you have a chance to make local changes to understand what's locking the
version resolution?
Le mar. 5 nov. 2024, 16:58, clotodex @.***> a écrit :

Still failing for me
—
Reply to this email directly, view it on GitHub
https://github.com/hyprland-community/pyprland/issues/147#issuecomment-2457566030,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB2IHU65CTXCMYFJPP4UM3Z7DTKXAVCNFSM6AAAAABRFSCKHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJXGU3DMMBTGA
.
You are receiving this because you were assigned.Message ID:
@.***>

the email did likely not transmit my edit
the issue is fixed - it was my mistake, used the unstable verison, not master. Master is building now as flake input :)

great, thanks for fixing the issue! I'll close it


0.27.0 : release missing?

Noticed commit: https://github.com/ivx/yet-another-cloudwatch-exporter/commit/02f97ff5f589569189496e5023eebbbceda7bdf6
But no release in Github, no docker image?

Also looking for new version as i need mq metrics.
So i just build it by myself:
docker build . yace_base:v0.27.0-alpha

Sorry for not responding so long. New versions have everything.


Update bootstrap.js to create API token and proper permissions for gatsby-blog

I haven't yet had a chance to test this on the other backend/frontend starters, so maybe this should be labelled as a WIP.
The gatsby-blog starter requires an API token, which is not set automatically, creating a bumpy first start-up. Also, I think that Authenticated permissions were missing within bootstrap to get it working.
This change generalizes the setPublicPermissions method to setInitPermissions where role can be passed along with the permissions object. A new method is added setInitFrontendAPIToken, which creates a full-access token type and writes the resulting access key to backend/env.development.
Caveats:

untested on the Nextjs versions, although I'm sure those will need similar things.
this monorepo reuses bootstrap.js in multiple templates where an initial API token would be undesirable, and where backend/env.development does not exist, such as the standard strapi-blog template. If I had a better idea of where/how the starting .env file was generated from, one solution would be to add a DEMO_IS_STARTER variable such that only multi-app starters make this change.

Resolves https://github.com/strapi/starters-and-templates/issues/38 I believe

Closing as stale


Update LetsEncrypt certificates

Hello,
Just want to confirm that this is the correct procedure to update the LetsEncrypt certificates every ~3 months:
I have in my docker-compose file:
    volumes:
    - /opt/mailserver/letsencrypt:/etc/letsencrypt

I generate/renew the certificates on the host machine, then:
cp -R -L /etc/letsencrypt/live/mail.mydomain.com/* /opt/mailserver/letsencrypt/live/mail.mydomain.com/

docker exec mailserver openssl s_client -connect <IP_ADDRESS>:25 -starttls smtp -CApath /etc/ssl/certs/
Verify return code: 0 (ok)

docker exec mailserver openssl s_client -connect <IP_ADDRESS>:143 -starttls smtp -CApath /etc/ssl/certs/
Verify return code: 0 (ok)

Is this correct and enough? I don't need to restart any services or even the container?
Thank you very much :)

I think you Dovecot must be restarted (at least):
docker-compose exec mail bash -c '[[ "$SMTP_ONLY" -ne 1 ]] && dovecot reload'

Postfix also uses the certificate, so this instance should also be reloaded:
docker exec -it mail postfix reload

Thanks guys!

Postfix also uses the certificate, so this instance should also be reloaded:
docker exec -it mail postfix reload

According to my tests, postfix automatically reloads new certificate. Anyone to double check that ? In the meantime, reloading postfix would not hurt 😉

According to my tests, postfix automatically reloads new certificate. Anyone to double check that ? In the meantime, reloading postfix would not hurt 😉

Your assumption could be true. I am using SSL_TYPE=manual with dehydrated and Let's Encrypt.


Add python 3.10 to CI testing

Is this a known issue @tacaswell ?
ERROR: Command errored out with exit status 1: /opt/hostedtoolcache/Python/3.10.0/x64/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-kke49npk/matplotlib_b7ba7bdf39e14b5a922d195a4709bc51/setup.py'"'"'; __file__='"'"'/tmp/pip-install-kke49npk/matplotlib_b7ba7bdf39e14b5a922d195a4709bc51/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-4rxiyka3/install-record.txt --single-version-externally-managed --compile --install-headers /opt/hostedtoolcache/Python/3.10.0/x64/include/python3.10/matplotlib Check the logs for full command output.

It looks like something is going wrong while building the wheel and it is then trying every version of Matplotlib on pypi in order and eventually failing to build on 1.1.1 !  We probably should put a reasonable floor....

@AbbyGi I hope you do not mind I took the liberty of fixing this.  Feel free to squash my commits down if you want.

@tacaswell, not at all, thanks for the help!


Peer to peer code review 31/03/2023

It would be a good idea to change your media query to 768px instead of 376px
You can change the hamburger menu display property to display: unset to ensure it shows in the mobile version
some of the buttons on the page, when hovered don't change the text color, kindly change the text color to white on hover
The Buttons text is not aligned in the center
Your logo in the desktop version is too close to the screen, kindly add a margin similar to the Figma design
When the button is disabled, you can change the background color to match the Figma design

Fixed the issues.


fix(ci): Speed up CI tests by disabling debug logs

Motivation
We want to speed up Zebra's full sync (#4155). But logging lots of debug info can be really slow.
Zebra doesn't use RUST_LOG itself, but some other dependencies do. (And the compiler does.)
Specifications
https://rust-lang-nursery.github.io/rust-cookbook/development_tools/debugging/config_log.html
Solution

change RUST_LOG to info

Review
Anyone can review this high-priority PR.
Reviewer Checklist

[ ] Code implements Specs and Designs
[ ] Tests for Expected Behaviour
[ ] Tests for Errors

This might have a speed impact, I'm running a full sync test here:
https://github.com/ZcashFoundation/zebra/actions/runs/2236845311
The time to beat is around 5h45m.

Both PR and merge queue "Build images" failed with:

error: failed to solve: failed to fetch oauth token: unexpected status: 401 Unauthorized
Error: buildx failed with: error: failed to solve: failed to fetch oauth token: unexpected status: 401 Unauthorized

@mergifyio refresh

If #4173 merges, it will obsolete this PR.

Obsoleted by PR #4173


Make rpm relocatable

Signed-off-by: Maxime Gervais<EMAIL_ADDRESS>

@g-maxime please rebase for having FFmpeg built during CI.

@JeromeMartinez Done.


ingest submission has problems with handling multiple requests

The ingest job is not creating a new flow on each job submission.

This is a bug in data-integration core library.  Appears that the Transform executor step that says "Execute after N rows" doesn't work and appears to be off by one.  So if you have the value set to N then the block of N rows will not be passed until row N+1 is executed.
The workaround will be to do it as a job execution.  I have tested that and that appears to work properly.  Will close this for now.


Deprecate ScalarUDFImpl::invoke

Is your feature request related to a problem or challenge?
in https://github.com/apache/datafusion/pull/13001 @agscpp  added a general function ScalarUDFImpl::invoke_batche that handles inputs with 0 and more than 0 arguments.
Previously, there were two separate functions to handle these cases:

https://docs.rs/datafusion/latest/datafusion/logical_expr/trait.ScalarUDFImpl.html#tymethod.invoke
https://docs.rs/datafusion/latest/datafusion/logical_expr/trait.ScalarUDFImpl.html#method.invoke_no_args

Describe the solution you'd like
I would like to mark invoke and invoke_no_args deprecated
Describe alternatives you've considered

Mark the functions deprecated, with a message to implement invoke_batch instead. for example
https://github.com/apache/datafusion/blob/c22abb4ac3f1af8bbdf176ef0198988fc7b0982c/datafusion/expr/src/expr.rs#L1125
Update the documentation so invoke_batch is the main API and the documentation reflects that
Update the DataFusion codebase so that the ScalarUDFImpls use invoke_batch rather than invoke and invoke_udf

Additional context
I think this is pretty well specified and largely mechanical so it would be a good first issue

take

Sorry for duplicating this in https://github.com/apache/datafusion/issues/13238. It's already in progress, so let's maybe close this one?


reward in new self critical

Hi @ruotianluo and thanks for your work on this project.
In the implementation of the new self-critical, why are you printing the loss and not the reward:
out['struc_loss'] = struc_loss['loss']
out['reward'] = struc_loss['reward']
if struc_flag:
        print("iter {} (epoch {}), train_loss = {:.3f}, lm_loss = {:.3f}, struc_loss = {:.3f}, time/batch = {:.3f}" \
            .format(iteration, epoch, train_loss, model_out['lm_loss'].mean().item(), model_out['struc_loss'].mean().item(), end - start))

You are printing out['struc_loss'] rather than out['reward']

I print the CIDER score out when computing the cider.


capi/known is missing

I following the readme of the repo and ended up with this exemple:
import * as C from "capi";
import { polkadot } from "capi/known";

const main = async () => {
    const chain = C.chain(polkadot);

    const alicePublicKey = chain.address.alice.asPublicKeyBytes();

    const value = await chain
    .pallet("System")
    .entry("Account", alicePublicKey)
    .read();
}

main();

(on node v16)
and ts fails with:
    return new TSError(diagnosticText, diagnosticCodes, diagnostics);
           ^
TSError: ⨯ Unable to compile TypeScript:
src/tools/capi-test.ts:2:26 - error TS2307: Cannot find module 'capi/known' or its corresponding type declarations.

2 import { polkadot } from "capi/known";
                           ~~~~~~~~~~~~
src/tools/capi-test.ts:8:34 - error TS2339: Property 'address' does not exist on type 'Chain<any>'.

8     const alicePublicKey = chain.address.alice.asPublicKeyBytes();
                                   ~~~~~~~

Hi, @crystalin.
The error likely stems from your module resolution strategy (defined as moduleResolution in your tsconfig). Unless set to NodeNext or Node16, the resolution of non-root exports fails. This is true across Node+TS projects, regardless of Capi usage or lack thereof.
There is a relevant issue I'd like to point out, incase you have a preference on the best path forward. I can imagine other devs will run into this pain point as well, so we certainly need to fine-tune this part of the experience before a first stable release.
We still have some development ahead of us before Capi is ready for the prime time; there will be breaking changes. That being said, testing & feedback is greatly appreciated (thank you!); please let us know how we can ensure Capi ultimately meets your needs.


fixed duplicate search result of the selected parent:child tag

cc: @jjcoffee
Details

Fixed Issues

$ https://github.com/Expensify/App/issues/32203
PROPOSAL:
Tests

Precondition:
The workspace has multiple tags in Parent: Child format added on OD.
The workspace has more than 8 tags.

Log in to ND as employee.
Go to the workspace chat > + > Request money.
Create a manual request with a tag in Parent: Child format.
Click on the expense preview twice to open expense details page.
Click on Tag.
Search for the selected tag in the search field.
Verify that the selected tag is not listed multiple times.

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

Offline tests

QA Steps

[x] 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(themeColors.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 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

all yours @jjcoffee

@jjcoffee PR ready

@FitseTLT You have conflicts, can you merge main?

Done

Tell me when u are finished with ur review and will update all at once according to comments 👍

Can we unescape in the changed tag message? I guess here
https://github.com/Expensify/App/blob/bc3705e61c29e974161287b250a5f76f4f5d4d66/src/libs/ModifiedExpenseMessage.ts#L188

Can we unescape in the changed tag message? I guess here
https://github.com/Expensify/App/blob/bc3705e61c29e974161287b250a5f76f4f5d4d66/src/libs/ModifiedExpenseMessage.ts#L188

Wow this is a nice catch 👍

But now I really doubt that we will not be running into another regression 🤞 😭

@jjcoffee it is also failing in my other pr it must be related with main

: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 staging by https://github.com/amyevans in version: 1.4.30-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.30-1 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.30-1 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


Fast

优化分支开发结束，准备合入主线版本。

Codecov Report
Patch coverage: 80.86% and project coverage change: -44.27 :warning:

Comparison is base (28ca941) 88.96% compared to head (ea7e30b) 44.69%.

Additional details and impacted files
@@             Coverage Diff             @@
##           master      #15       +/-   ##
===========================================
- Coverage   88.96%   44.69%   -44.27%
===========================================
  Files           3       14       +11
  Lines         154     2696     +2542
===========================================
+ Hits          137     1205     +1068
- Misses         11     1372     +1361
- Partials        6      119      +113

Impacted Files
Coverage Δ

set_basemap_func.go
10.02% <ø> (ø)

set_basemap_tmpl.go
0.00% <0.00%> (ø)

set_slice_elem_is_ptr_tmpl.go
0.00% <0.00%> (ø)

set_composite_type.go
73.27% <73.27%> (ø)

cache.go
75.00% <75.00%> (ø)

set_slice_elem_is_ptr.go
79.79% <79.79%> (ø)

new_baseslice.go
81.81% <81.81%> (ø)

dcopy.go
87.82% <87.82%> (ø)

is_base_type.go
88.23% <88.23%> (ø)

set_basetype.go
90.90% <90.90%> (ø)

... and 4 more

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Release with UuidGenerator

The last release doesn't include the UuidGenerator. Is it possible to create a new release that includes it?
Thanks for the good job!

The last release doesn't include the UuidGenerator.

Which version are you referring to? 2.9.0 or 3.3.0? Also, which UuidGenerator is missing? Can you post some code to show how you are using the library?

I just followed the instructions at the README, but when you install from packagist without explicitly saying which version you get release 1.1.0, from february 1st. And by the history of commits seems like UuidGenerator was added in March.
I changed my composer.json to ask for dev-master and it's working, but there's no "stable" release with it.

I'm sorry. I was confused about which library you were using. I thought this was a question on ramsey/uuid. You're asking for ramsey/uuid-doctrine. Apologizes. :-)
Version 1.1.0 is the correct version to use for ramsey/uuid-doctrine.
Do you get an error message? If so, what is it?

I have a hunch as to what is going on. When you install ramsey/uuid-doctrine, do you also see it installing ramsey/uuid 3.3.0?
If so, when you run your code, are you getting an Exception with the message "There is no suitable CSPRNG installed on your system"?
If this is the case, can you provide more information about your system? What version of PHP? What OS?
Thanks!

The exact error I get is:
[Doctrine\ORM\ORMException] Can't instantiate custom generator : Ramsey\Uuid\Doctrine\UuidGenerator
And of course, if I look into vendor/ramsey/uuid-doctrine/src/ there is no UuidGenerator file, just
UuidBinaryType.php  UuidType.php

I see the problem now. The README.md file in the master branch is ahead of release 1.1.0 because I haven't yet released what's in master as 1.2.0, so the documentation is for new functionality that hasn't been released yet. Sorry for the confusion.
There's a simple enough solution, though. I have just released 1.2.0, which includes the UuidGenerator class.
Please update Composer and let me know if this fixes the problem. Thanks!

Updated to 1.2.0 and working perfectly!
Thank you very much and keep up the good work!

Great to hear!


[Players Pannel]No custody icon for bots

When bot get into custody, there is no custody icon for bot.

Been fixed in last commit!


cannot install package

✗ seurimas/slime 2.1.0
Error: Problem when downloading the seurimas/slime 2.1.0 code.```

got issue when trying to install it..

Disregard that question. I saw you question in slack and took the brute-force fix (lowercased my username), since elm-package is a little finicky.


Error: Could not bind to a valid ArcGIS Pro installation (ArcGIS 10.7 and R 4.0.0)

Hello,
I have been trying to get the ArcBridge running but while Arc can see R, I cannot seem to get the bridge to work in R. I followed suggestions in Issue #64, and can successfully run Progress Messages from the Catalog - it counts up and counts back down; however, I still cannot seem to bind. Any suggestions are greatly appreciated.

Hello, @merritbn. What is the version of R, and Desktop/Pro are you using? Are you using a 32 bit or a 64-bit version of R?

Hi @orhuna,
I am running R vers 4.0.0 and ArcGIS 10.8.1. I just upgraded from 10.7 but still cannot get the bridge to connect. Both programs are running on a 64-bit framework.

@orhuna,
Thank you for clarifying. I flipped over to the 32-bit build and we are in business! Thanks for your time!


dashify doesn't convert underscores in dash (lodash was doing it)

Hello,
I use SVGR to convert icons with CLI, with --filename-case kebab option.
After upgrade SVGR from 2.1 to 4.1, icons aren't renamed in kebab case:
Before: next_circle.svg -> next-cirlce.svg
Now: next_circle.svg -> next_cirlce.svg
Is it intentional from your side ?
Thanks

Hello @damien916, thanks for the report. We have to investigate it, is it a bug or just something expected, I don't really know.


Interactive ingestion options for Easy RAG

At the Brno JUG meeting, there was a suggestion to allow easier experimenting with RAG in the sense of automatically ingesting files that get added to Easy RAG's document directory over time in Dev Mode, without triggering a reload.
~I'm not sure if Dev mode supports watching a whole directory for new files though~ -> actually we would probably have to watch the directory in some custom way in order to NOT trigger a reload
Another interesting option to explore would be allowing to 'upload' a new file into the embedding store via the Dev UI.

cc @xstefank

actually we would probably have to watch the directory in some custom way in order to NOT trigger a reload

AFAIR, this is pretty hard to get right on all supported OSes


Explore Moving Documentation To GitHub Pages

We should explore moving the docs site to GitHub Pages. It seems to provide better support for markdown/HTML/CSS/JS and integration with GitHub Actions. Together with Jekyll, it also offer a wide selection of themes.

@ihcsim https://github.com/gohugoio/hugo is a good alternative for Jekyll, if not preferred.

@julio-lopez No complains about Hugo; I used it in a previous project. What does the Hugo/GH Pages integration look like? I haven't looked into it, but GH Pages mentioned Jekyll has built-in support.

Still relevant

@ihcsim @pavannd1 I would like to work on this issue.

@Sagar2366 Currently, all the docs are written in rst format. Any idea what does porting it over to GH Pages with Hugo looks like, including CI automation etc.?

https://github.com/kanisterio/kanister/tree/master/docs are published to S3+Cloudfront during Kanister release, from internal Kasten pipeline. Let's discuss refactoring build+publish docs to GitHub.

https://github.com/kanisterio/kanister/pull/2642 is merged. Now we need to make a GH workflow to build and publish the docs.

While that is underway, I've made REQ0054258 with Veeam CT to update DNS with doc-new IN CNAME kanisterio.github.io


List required/suggested PHP extensions in composer.json

Best-effort attempt to declare all extensions used by YOURLS.
Inspired by discussion on YOURLS/docs#42. Based on the output of https://github.com/RogerGee/php-ext-depends
composer check-platform-reqs will show the status of all except those in "suggest", which is a limitation to sort out later.

Required:

[x] ext-dom
[x] ext-pcre
[x] ext-pdo
[x] ext-pdo_mysql
[x] ext-filter
[x] ext-hash

Recommended

[x] ext-curl
[x] ext-json
[x] ext-openssl
[x] ext-zlib
[x] ext-iconv
[x] ext-mbstring
[x] ext-bcmath OR ext-gmp
[x] ext-posix

@ozh double-checked most of those and amended the patch. Of note: bcmath or GMP can be used, so I listed both as suggested.


brew cask cleanup has been deprecated

brew cask cleanup has been deprecated and causes a breaking error. It has since just been rolled up into brew cleanup.

Created a pull request (my first ever!) to fix. Hope it helps.

Fixed with #13. Thanks!


Grouping header table cells are not hidden when the column is hidden

Issue Type

[x] Bug

Issue
When a column has hidden set to true then the column cells are hidden, but it does not hide the grouping cells for the same column. See jsfiddle below.
Specs
Version: v2.13.0
Possible solution
I looked into VgtHeaderRow.vue line 24+ and adding !column.hidden there seems to be solving the problem:
    v-if="headerRow.mode !== 'span' && !column.hidden"
    v-for="(column, i) in columns"
    :key="i"

jsfiddle
https://jsfiddle.net/4g6fwhpn/

@xgx252c this is fixed in v2.13.1
closing.


In Production, Upload Materials to S3

Done on infrastructure end, bucket name is {env}-cadet-assets

Env here is stg for staging, prd for production

Already storing assets in an S3 bucket.


PointCloud.getShort(i, dim = "Classification") gives java.nio.BufferUnderflowException

Hi,
I have a cluster (Spark 2.2.0 and Hadoop 2.8.3) with 4 Ubuntu 16.4 nodes (2 cores and 8GB each). To have geotrellis-pointcloud I use the following jars:
geotrellis-pointcloud 1.6.0
io.pdal:pdal                1.7.1
io.pdal:pdal_scala        1.7.1
io.pdal:pdal_native      1.7.1
The installed PDAL is version 1.7.maintenance, installed from sources.
When I read X, Y, Z into a RDD[(Double, Double, Double)] and I take the first 10 points it works without issues. When I try to also read Classification it crashes.
Here are the details to reproduce the problem. We are using a LAZ file with 24487575 points, link to download it. The file was uploaded to HDFS and we use the following code to read the data into a :RDD[(Double, Double, Double, Short)], i.e., RDD[X, Y, Z, Classification]
val laz_path = new Path("/user/hadoop/ahn3/C_25EZ2.laz")
val rdd_laz = HadoopPointCloudRDD(laz_path)

val points :RDD[(Double, Double, Double, Short)] = rdd_laz.flatMap(_._2).mapPartitions{ _.map { packedPoints =>
  var res = new Array[(Double, Double, Double, Short)](packedPoints.length)
  cfor(0)(_ < packedPoints.length, _ + 1) { i =>
    res(i) = (packedPoints.getX(i), packedPoints.getY(i), packedPoints.getZ(i), packedPoints.getShort(i, dim = "Classification"))
  }
  res
}}.flatMap( m => m)

Then I ask for the first 10 points with a take
val points10 = points.take(10)

I get the following error:
Name: org.apache.spark.SparkException
Message: Job aborted due to stage failure: Task 0 in stage 57.0 failed 4 times, most recent failure: Lost task 0.3 in stage 57.0 (TID 95, <IP_ADDRESS>, executor 3): java.nio.BufferUnderflowException
	at java.nio.Buffer.nextGetIndex(Buffer.java:506)
	at java.nio.HeapByteBuffer.getShort(HeapByteBuffer.java:310)
	at io.pdal.PointCloud.getShort(PointCloud.scala:91)
	at $line496.$read$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$anonfun$2$$anonfun$apply$1.apply(<console>:98)
	at $line496.$read$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$anonfun$2$$anonfun$apply$1.apply(<console>:95)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:410)

Hey! I'll try to have a look into it as fast as it's possible. Thanks for your report!

We spot the reason, we should use getByte and not getShort. In the schema I got confuse with Intensity which is a 2 byte field while classification is 1 byte.
I think we can mark it invalid, right?

Issue is invalid, there was a type mismatch.


[vm/aot] Bad code motion with @pragma('vm:unsafe:no-bounds-checks')

In both foo1 and foo2 generate code that crashes:
===== CRASH =====
si_signo=Segmentation fault(11), si_code=SEGV_MAPERR(1), si_addr=0x7f68355141e0
Aborted

@pragma('vm:unsafe:no-bounds-checks')
@pragma('vm:never-inline')
int foo1(String s) {
  int sum = 0;
  for (int i = 0; i < s.length; i++) {
    if (s.codeUnitAt(i) == 0) {
      sum += s.codeUnitAt(1_000_000_000);
    }
  }
  return sum;
}

@pragma('vm:unsafe:no-bounds-checks')
@pragma('vm:never-inline')
int foo2(String s) {
  int sum = 0;
  for (int i = 1; i < s.length; i++) {
      sum += s.codeUnitAt(1_000_000_000);
  }
  return sum;
}

main() {
  print(foo1(''));
  print(foo1('x'));
  print(foo2(''));
  print(foo2('x'));
}

The problem is that the position of the memory access is no longer constrained by the bounds check, which can throw, so is hoisted out of the loop. The programmer, even one with a licence to use the unsafe pragma, probably does not expect this result.
I worry that there are more subtle versions of this problem. For example, a bounds check would prevent partial redundancy elimination from moving a load a[i] at the top of the loop into the continue block when the same load a[0] occurs before the loop.
After bounds checks are removed there needs to be a mechanism to prevent subsequent unsound code motion. I'm not sure how this is currently done. One mechanism might be to arrange phase ordering so that there are no code motion phases after bounds check elimination optimization. If phase-ordering is mechanism, it implies that bounds check elimination cannot have been done on inlining candidates. We might know that a bounds check is safe, but it cannot be removed early.
One remedy might be to split bounds check elimination into two phases. The first, which can be run at any time, marks bounds checks as to-be-removed, but still considers them capable of throwing. This keeps the loads constrained. The second phase, after all code motion, does cleanup to remove the bounds checks and any pure transitive inputs. Inlining heuristics could discount the size of to-be-removed bounds checks. The unsafe annotation would generate the bounds check with the to-be-removed flag already set. Perhaps there could a vestigial form of the bound check without a length input to release the non-index inputs early.

//cc @alexmarkov

@mraleph Do we need to insert Redefinition instead of bounds check when they are disabled by pragma?

FWIW we have the same problem with FFI where we are performing aggressive hoisting for accesses through Pointer:
@pragma('vm:never-inline')
int foo(bool v, Pointer<Int8> p) {
  var x = 0;
  for (var i = 0; i < 2; i++) {
    x ^= i;
    if (v) {
      x ^= p.value;
    }
  }
  return x;
}

void main(List<String> args) {
  foo(args.contains("should-crash"), nullptr);
}

For the pragma I like @rakudrama's suggestion to just mark bounds checks as ephemeral because that would permit hoisting if bounds check is eliminated through other means.
However for FFI we should probably just mark corresponding LoadIndexedInstr as immovable... We might really want to invest into rewriting our hoisting so that we could hoist invariants which are always executed if the body is executed and guard them by loop condition.

I'm going to attempt to fix the unwanted motion of the indexed load by keeping the check in place until EliminateRedundantBoundsChecks.


Included build '.../node_modules/react-native-gradle-plugin' does not exist.

New Version
0.72.3
Old Version
0.71.8
Build Target(s)
Android simulator, any variant
Output of react-native info
System:
OS: macOS 13.5
CPU: (10) arm64 Apple M1 Max
Memory: 1.05 GB / 64.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 16.18.0
path: ~/.nvm/versions/node/v16.18.0/bin/node
Yarn:
version: 1.22.19
path: ~/.yarn/bin/yarn
npm:
version: 8.19.2
path: ~/.nvm/versions/node/v16.18.0/bin/npm
Watchman:
version: 2<IP_ADDRESS>
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.12.1
path: /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 22.4
- iOS 16.4
- macOS 13.3
- tvOS 16.4
- watchOS 9.4
Android SDK:
Android NDK: 17.2.4988734
IDEs:
Android Studio: 2022.2 AI-222.4459.24.2221.9862592
Xcode:
version: 14.3.1/14E300c
path: /usr/bin/xcodebuild
Languages:
Java:
version: <IP_ADDRESS>
path: /usr/bin/javac
Ruby:
version: 2.7.6
path: /Users/Can/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.3
wanted: 0.72.3
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
Issue and Reproduction Steps
Since I've upgrading to 0.72.3 (I haven't tested building the previous months but at some point it was working, I don't remember the exact RN version though) I've been getting the following error:
FAILURE: Build failed with an exception.

What went wrong:
Included build '/path-to-my-project/node_modules/react-native-gradle-plugin' does not exist.

I've seen https://github.com/facebook/react-native/issues/36643 and my settings.gradle references old version (includeBuild('../node_modules/react-native-gradle-plugin')) and it exists. But still, I tried changing includeBuild('../node_modules/react-native-gradle-plugin') to includeBuild('../node_modules/@react-native/gradle-plugin') yet I still get the same error. I want to clean the project to try again but I can't even clean the project because of that error.
I can't do anything related to gradle (though ./gradlew is there and can run even if it errs the same)
What am I doing wrong?

I had two React Native projects open and I was accidentally trying to "fix" the wrong one. Changing includeBuild('../node_modules/react-native-gradle-plugin') to includeBuild('../node_modules/@react-native/gradle-plugin') as suggested in #36643 solved the issue.


logging level is override when import pybrain.tools.shortcuts

As far as I import pybrain.tools.shortcuts, my logging loglevel is override somewhere.
For example, the following script:
#!/usr/bin/env python3

import logging
import argparse
import pybrain.tools.shortcuts

def main():
    logging.debug("DEBUG")
    logging.info("INFO")
    logging.error("ERROR")
    logging.critical("CRITICAL")
    logging.warning("WARNING")

if __name__ == '__main__':
    parser = argparse.ArgumentParser(description="Test")
    parser.add_argument('--loglevel', help='Logging level (CRITICAL, ERROR, WARNING, INFO, DEBUG). Default is INFO',
                        default='DEBUG')
    args = parser.parse_args()
    print("Setting log level to: {}".format(args.loglevel))
    logging.basicConfig(level=getattr(logging, args.loglevel))
    main()

give:
Setting log level to: DEBUG
ERROR:root:ERROR
CRITICAL:root:CRITICAL
WARNING:root:WARNING

If you comment the import pybrain line, the output will be (as expected):
Setting log level to: DEBUG
DEBUG:root:DEBUG
INFO:root:INFO
ERROR:root:ERROR
CRITICAL:root:CRITICAL
WARNING:root:WARNING

Note: I was not able to find the issue in the pybrain source code, but the proof is there.
% pip show pybrain
---
Metadata-Version: 1.0
Name: PyBrain
Version: 0.3.3
Summary: PyBrain is the Swiss army knife for neural networking.
Home-page: http://pybrain.org
Author: UNKNOWN
Author-email: UNKNOWN
License: BSD
Location: /home/asyd/tools/virtualenvs/neurones/lib/python3.5/site-packages
Requires: scipy
Classifiers:

You can bypass the problem by creating a logger instead of directly using the logging lib.
https://docs.python.org/3/howto/logging-cookbook.html


libsecret maybe not be enough

Expected Behavior
after installing libsecret, the credentials are saved and need not be entered again
Actual Behavior
the error message about installing libsecret keep popping, and have to do the whole porcess of host and authentication entering again every time
Command line error(When running from terminal) :
Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
Specifications

Chronos-timetracker version: 2.7.2
OS: Manjaro

Solution:
Had to install gnome-keyring to solve the issue. Most probably an issue with https://github.com/atom/node-keytar Would be nice if it is added as an extra hint with installing libsecret hint in case that doesn't work.

Same issue, same solution on Kubuntu 18.04

The same for Manjaro with KDE as of 01.10.2019. gnome-keyring resolved the issue.

solution doesn't work here, I have both libsecret and gnome-keyring but still got the same error

@teorge did you try 4.2.0 version?

Hello. TY for the product!
We have same issue on v. 4.2.0 on ubuntu 19.04.
We tried appimage from site and snap package - same error with libsecret.
Can you help?)

Yes I have this issue too:
https://drive.google.com/file/d/12kKEGXK3qJVv4b324MqMBqrk7pEDK2lD/view?usp=sharing
In the video you can see the error.
In the iceo you can see I have libsecrent.
In the video you can see I have keyring.
Whats wrong?  Something aroud here:?
https://github.com/web-pal/chronos-timetracker/blob/4e4738eaa938546a19157a0199649ded3b841b09/app/renderer/containers/FlagsContainer/FlagsContainer.jsx


Why a small delay necessary between master and viewer channel creations?

In https://github.com/aws-samples/amazon-kinesis-video-streams-demos/pull/98, we need to add a small delay before running the viewer. Otherwise, the viewer will get stuck in "Create Channel" signaling state. The log shows that the server responded with 400 even after the master could successfully create and connect to the channel. This seems to be an issue from the backend. But, we need to get further investigation to accurately find the root cause.
Logs: log-1012.txt

Do we use the caching provider?

@MushMal Yes, we're using the file caching provider, same as the sample.


RobotCar dataset triangulation fail.

Hi @Skydes,
When I try to use RobotCar dataset by modifying the pipeline as you did in pipeline_Aachen.ipynb, in the step of triangulation.main, I get following error from colmap:
Triangulating image #25989 (20861)
==============================================================================

  => Image sees 0 / 453 points
  => Triangulated 0 points

==============================================================================
Retriangulation
==============================================================================

  => Merged observations: 0
  => Completed observations: 0

==============================================================================
Bundle adjustment
==============================================================================

F0916 10:15:07.367084 25425 colmap.cc:1573] Check failed: bundle_adjuster.Solve(&reconstruction)
*** Check failure stack trace: ***
    @     0x7f0ec3ba10cd  google::LogMessage::Fail()
    @     0x7f0ec3ba2f33  google::LogMessage::SendToLog()
    @     0x7f0ec3ba0c28  google::LogMessage::Flush()
    @     0x7f0ec3ba3999  google::LogMessageFatal::~LogMessageFatal()
    @     0x55b97c6a788d  (unknown)
    @     0x55b97c695a0e  (unknown)
    @     0x7f0ebf823b97  __libc_start_main
    @     0x55b97c69f6aa  (unknown)
[09/16/2020 10:15:07 WARNING] Problem with point_triangulator, exiting.

It seems that the overlap is not enough to triangulate.  Have you meet the same problem before?
And I am really curious about how to reproduce the result of Hierarchical Localization - SuperPoint + SuperGlue at https://www.visuallocalization.net/benchmark/ for RobotCar Seasons dataset.

I will very soon release an update than supports RobotCar. The way you are selecting SfM image pairs is maybe incorrect - if you used covisibility, your initial model might not be correct.

Here is a pre-release of scripts running hloc on RobotCar: https://github.com/cvg/Hierarchical-Localization/tree/robotcar/pipelines/RobotCar A clean release will happen sometime in the next weeks.

Here is a pre-release of scripts running hloc on RobotCar: https://github.com/cvg/Hierarchical-Localization/tree/robotcar/pipelines/RobotCar A clean release will happen sometime in the next weeks.

That's great! Thanks for your kind release, I will take a shot.

Sorry for the late reply. I have try the new RobotCar pipeline, it works well! Could you explain more detail about your idea using multi-camera for localization?


Is it for bw image or pixel dot image only?

Hello. I tested the some colorful images and the performance is terrible. Do you intend this algorithm for binary or simple image only?

 A point of note is that there is no AI model in this project.
For maximum details of photographs you can try this: https://github.com/nagadomi/waifu2x


Set Z layer of ViewComponent within scene without re-adding it to the parent container

closes #326

Test setZIndex with toFront and toBack together. Maybe toFront should only set it to the front of components with same zIndex


Potentially missing a NULL value check in _cupsConvertOptions

Hello, I was recently implementing the cups library in my code and I came across a unique situation. I came across a seg fault that occurs when calling _cupsConvertOptions. The root cause of this crash occurs through passing a null pointer as the media_col_sup parameter. Later, when this line of code is executed:
for (i = 0; i < media_col_sup->num_values; i ++)
a seg fault occurs. I attributed this to user error since _cupsConvertOptions is an internal function, but I traced through other call sites of this function to see how  media_col_sup is structured. Long story short, there is a possibility for a null pointer to propagate to the  _cupsConvertOptions function call beginning with the main method of backend/ipp.c.
In the main method of backend/ipp.c at line 886, the variable media_col_sup is set to NULL. It is then set to the return value of ippFindAttribute (line 1147), which still has the potential to be NULL. This value is then passed into the new_request function (lines 1480 and 1601), and finally into _cupsConvertOptions (line 2875).
I apologize if this is still user error or I have misunderstood an aspect of the API, but it seems like a check of the media_col_sup variable should be done before it's properties are accessed. Thanks.

Hi,
IMO theoretically the crash could happen in IPP backend if the destination does not have media-col-supported attribute, which current IPP printers usually have, but it wouldn't harm to protect the code if it does not.

Thanks for your response, that's the approach I was thinking as well. Although it's an edge case, adding that check to prevent crashing would be useful :)


Added support for events.find REST API

This PR adds to the client an "events" property, on which a "find" method is available.
This allows invoking the "getEvents" REST API endpoint (as described in http://www.keycloak.org/docs-api/3.2/rest-api/index.html#_getevents).

👍
released as 0.12.0


Istiod not correctly loading some configured meshconfig values

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities
To ask questions about how to use Istio, please visit https://discuss.istio.io)
Bug description
When installing Istio with the following configuration, some of the meshconfig settings are not properly loaded:
cat <<EOF > test-configmap.yaml
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
  namespace: istio-system
spec:
  meshConfig:
    outboundTrafficPolicy:
      mode: REGISTRY_ONLY
    localityLbSetting:
      enabled: false
    enableAutoMtls: false
    ingressClass: foo
    defaultConfig:
      drainDuration: 46s
EOF
istioctl install -f test-configmap.yaml

Looking at the istiod logs, it shows that the ingressClass and drainDuration are correctly set to foo and 46s, but the other 3 seem to have empty values, as shown here:
2021-05-14T20:44:17.376817Z	info	Loaded MeshConfig config from Kubernetes API server.
2021-05-14T20:44:17.376959Z	info	mesh configuration updated to: (v1alpha1.MeshConfig)(0xc000a94fc0)(proxy_listen_port:15001 connect_timeout:<seconds:10 > protocol_detection_timeout:<> ingress_class:"foo" ingress_service:"istio-ingressgateway" ingress_controller_mode:STRICT enable_tracing:true default_config:<config_path:"./etc/istio/proxy" binary_path:"/usr/local/bin/envoy" service_cluster:"istio-proxy" drain_duration:<seconds:46 > parent_shutdown_duration:<seconds:60 > discovery_address:"istiod.istio-system.svc:15012" proxy_admin_port:15000 control_plane_auth_policy:MUTUAL_TLS stat_name_length:189 concurrency:<value:2 > tracing:<zipkin:<address:"zipkin.istio-system:9411" > > status_port:15020 termination_drain_duration:<seconds:5 > > outbound_traffic_policy:<> enable_auto_mtls:<> trust_domain:"cluster.local" default_service_export_to:"" default_virtual_service_export_to:"" default_destination_rule_export_to:"" root_namespace:"istio-system" locality_lb_setting:<enabled:<> > dns_refresh_rate:<seconds:5 > thrift_config:<> enable_prometheus_merge:<value:true > )
[ ] Docs
[x] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
Expected behavior
outbound_traffic_policy should have value mode: REGISTRY_ONLY, locality_lb_setting.enabled and enable_auto_mtls should have values false.
Steps to reproduce the bug
See description.
Version (include the output of istioctl version --remote and kubectl version --short and helm version --short if you used Helm)
Latest build.
How was Istio installed?
Environment where the bug was observed (cloud vendor, OS, etc)
Additionally, please consider running istioctl bug-report and attach the generated cluster-state tarball to this issue.
Refer cluster state archive for more details.

In my testing this works, its just how the output is displayed, zero values (which all three of your examples are) are not rendered

Thanks John.


Fetch API returns Network request failed on some websites.

fetch API return Network request failed only on some websites.
I was trying to ping the api from my website and found out I kept getting a request error. I can ping the url via postman as a normal get request but for some reason the Fetch API won't let me.
This happens when debugging on Android (note 9)
React Native version:
  React Native Environment Info:
    System:
      OS: macOS 10.14
      CPU: (4) x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
      Memory: 19.91 MB / 8.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 12.9.1 - /usr/local/bin/node
      Yarn: 1.19.1 - ~/.yarn/bin/yarn
      npm: 6.12.0 - ~/.config/yarn/global/node_modules/.bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      Android SDK:
        API Levels: 27, 28
        Build Tools: 28.0.3
        System Images: android-24 | Google Play Intel x86 Atom
    IDEs:
      Android Studio: 3.1 AI-173.4697961
      Xcode: /undefined - /usr/bin/xcodebuild
    npmPackages:
      react: 16.8.3 => 16.8.3
      react-native: https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz => 0.59.8

Steps To Reproduce

Fetch a famous url (facebook , google) no issue.
Fetch a less famous url (crash)

Describe what you expected to happen:
Snack, code example, screenshot, or link to a repository:
https://snack.expo.io/SkFgBWoFH
Code to reproduce:
fetch('https://facebook.github.io/react-native/movies.json')
    .then(response => {
        console.log(response);
    })
    .catch(function(err) {
        console.info(err);
    });

fetch('https://pixiumdigital.com')
    .then(response => {
        console.log(response);
    })
    .catch(function(err) {
        console.info(err);
    });

any updates?

Same here, in Android only (both debug and release), for example trying to fetch("https://www.mocky.io/v2/5185415ba171ea3a00704eed") raises a NetworkError.

Update, after doing some tests, we came to the conclusion that it's due to failing SSL certificates. We don't know what's wrong with these, but the issue also happens in Postman with the "SSL certificate verification" option enabled. Could it be that the certificate authority is not in the phone's list?

I tried to apply https://github.com/facebook/flipper/issues/993#issuecomment-619823916 but I'm still getting the same Network request failed with that new Flipper 0.39.0 when trying to fetch("https://www.mocky.io/v2/5185415ba171ea3a00704eed"), even though it works in Chrome/Firefox/Safari.

I tried to apply facebook/flipper#993 (comment) but I'm still getting the same Network request failed with that new Flipper 0.39.0 when trying to fetch("https://www.mocky.io/v2/5185415ba171ea3a00704eed"), even though it works in Chrome/Firefox/Safari.

I had similar issues with Android. It was happening because my Nginx SSL was not compatible with android.
Try comparing both the working URL and the not working one using SSL check services like https://www.ssllabs.com/ssltest/

Well it's just B-graded, is that so bad?
https://www.ssllabs.com/ssltest/analyze.html?d=www.mocky.io

I'm also seeing this since upgrading to RN0.62 from 0.59x.
It occurs for both iOS and Android apps when debugging on my physical devices.
I've tried updating Flipper to 0.41.0 on the Android side of things w/ no luck.
As an aside, if I build the apps in release mode this bypasses the issue (obviously as Flipper isn't in the mix).

I'm getting randomly network errors in our app in IOS.  1 or 2 of 20 requests fail and said network error. Are like randomly.  I did a stress test from the postman and hundreds of requests works ok and response code 200.

I don't think this is stale as a few people have had the same issue and this was never addressed.


How to govern a  decentralized network

The Decentralized Wireless Alliance (dewi.org) advertises itself as "the Foundation arm of the Helium block-chain and its global community". It is a not-for-profit organization established and run by early investors of the for-profit Helium Systems Inc. with the declared purpose of "supporting the Helium community worldwide, we are responsible for fostering research, development, and innovation at the intersection of radio hardware, sensors and manufacturing, blockchain, and peer-to-peer systems".
Not-for-profit implies neither that an organization is, nor is not, dedicated to advocating in an unbiased way the interests of all stakeholders or of the public-at-large.
DeWi is seen as a benevolent non-biased entity.  However, while the current directors and dues-paying members may be benevolent, with interests aligned with those of all in the community, it is folly to assume that this is, and always will be, true.
There is nothing wrong with the founders having a trade organization. However, I suggest that it should either hold no arbitrary authority regarding Helium Improvement Proposals (HIPs) OR it should be fully transparent to the community regarding all factors which might reasonably be perceived as potentially leading to conflicts of interest.  This would include, for all directors and managerial employees/consultants:

Full legal names
Relationships, including employment with,  and beneficial holdings of stock and other securities of, Helium Systems Inc. and entities that produce or supply relevant products and services.
Beneficial holdings of Helium Security Tokens (HST) and Helium Network Tokens (HNT).

Additionally, the terms by which the board of directors and voting membership in the organization is determined should be clearly displayed on its website.
Ideally, I believe that approval and implementation of HIPS and all adjustment of chain variables and firmware code should be controlled by a well-defined and representative organization.  The current system of holding a vote by a few dozen folks who know to keep an eye open and regularly check the proposals on Discord could result in decisions contrary to the interests of many or most being implemented.
I expect that some, upon reading the above might be tempted to say – So you don’t like the status quo; where is your fleshed-out proposal for the future?  Why are you bringing this up here without one?
To which I would reply that I believe that this is a topic worthy of discussion and that I have learned that to raise such issues for discussion in Discord is not, by some, taken “seriously”.  While I do not flatter myself to know how best the matter should be addressed, nor all of the factors that should be considered, I am hopeful that a good discussion will result in a proposal with wide acceptance.
If it turns out that the current system is widely viewed as the best that option available, I'll be fine with that.  I really don't know.

@GP-Colorado I welcome any critique of our collective governance, and as a board member of DeWi and the de-facto manager of the current HIP process, I would be happy to discuss some of your ideas. Unfortunately this repository is not an open discussion forum. I'd invite you to put this into a proposal following the template and process outlined in HIP7, which was itself a critique (with suggested solutions) for Helium's governance at the time.

I attempted to open a related topic for discussion in Discord #hip-open-discussion channel and heard that it was not the appropriate place. So, I came to the repository to open the discussion.  But apparently, this is not the appropriate place either.  I did not want to take the step of making a full-fledged HIP until I had raised my concerns and gotten the thoughts of others in a collaborative process, as I don't believe that I should escalate to that unless I am confident that my observations are of concern to others.
I'll be happy to chat with you and others about the topic. So please tell me, where would be the appropriate venue for me to bring this up to solicit more information, perspectives, and ideas for improvements?


[Translators] new homepage

Hello dear frii.site translators! frii.site is getting a new homepage soon, and we ask you to translate it into your language. There are about 15 sentences to translate.
Translations are on the dev branch.
Thank you in advance!

@WhatDidYouExpect @lugosieben @Planethac @nikolan123 @rock3tsprocket @ctih1

alright

@WhatDidYouExpect @lugosieben @Planethac @nikolan123
Languages with less than 70% completion rate will be deleted in 3 weeks.
https://frii.site/translations

i can translate it to turkish @ctih1


support enable https and auth when deploy openGemini instance

Support enable https and auth when deploy openGemini instance.

resolved by #15


“youtube-dl -g” option is not working.

“youtube-dl -g” option is not working.
For example :
youtube-dl -f 18 "https://www.youtube.com/watch?v=2t-fMNu-C_Y"
This command will work well and can download the file.
However,
youtube-dl -g -f 18 "https://www.youtube.com/watch?v=2t-fMNu-C_Y"
With this command “-g” option,  after I get the download URL,
download doesn’t working with same URL.
youtube-dl -v -g -f 18 "https://www.youtube.com/watch?v=2t-fMNu-C_Y"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'-g', u'-f', u'18', u'https://www.youtube.com/watch?v=2t-fMNu-C_Y']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.01.09
[debug] Python version 2.7.6 - Linux-3.13.0-48-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: none
[debug] Proxy map: {}
https://r3---sn-oguesnle.googlevideo.com/videoplayback?mn=sn-oguesnle&mm=31&sparams=dur%2Cgcr%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cnh%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&upn=zAteOe-ix0Y&mv=m&mt=1452481103&itag=18&ms=au&initcwndbps=21162500&pl=19&mime=video%2Fmp4&expire=1452502747&nh=IgpwcjAyLm5ydDE5KgkxMjcuMC4wLjE&ip=<IP_ADDRESS>&key=yt6&dur=195.929&source=youtube&ratebypass=yes&lmt=1451098805674460&requiressl=yes&ipbits=0&fexp=9416008%2C9416126%2C9418200%2C9418203%2C9420452%2C9421931%2C9422596%2C9423662%2C9423749%2C9426036%2C9426760%2C9427108&sver=3&id=o-ABDFdVoLf5Qs0l625uAh8THQkZILu_3ma1mIbNVjJVex&gcr=jp&signature=33F05B77FF85A063EFB7A1E900F345A6C5B713AF.8AB60F6AC5A5040D0878090A70051A224C4E6F15

-g is only supposed to print the download URL.


Add data-turbolinks-eval always to script tags

Forward and back buttons don't re-evaluate scripts for turbolinks unless
data-turbolinks-eval is set to 'always'. However, this is a turbolinks
v3 feature which is not yet released.
The branch contains a link to turbolinks at master, and this setting
works for react_on_rails.

I prefer the inline scripts, but this depends on the unreleased version of turbolinks.
CC: @ryanaip, @robwise, @alexfedoseev

I just checked Turbolinks: https://github.com/rails/turbolinks/issues/628
Looks like this is shipping anytime now, so I'm OK saying that react_on_rails will require an update to turbolinks.

@alexfedoseev @ryanaip, This solution may also be missing this:
https://github.com/shakacode/react_on_rails/pull/102/files#diff-11f0a5146e6819b284aaa17cb1e40f9dR186
Basically, should we be sure that we call something like this:
function unmount(el) {
    var domId = el.getAttribute('data-dom-id');
    var domNode = document.getElementById(domId);
    provideClientReact().unmountComponentAtNode(domNode);
  }

I've added #105 for an overall discussion of the best approach.

It's unclear when and if TurboLinks will support the data-turbolinks-eval="always" option.
Thus, going with data attributes for now.


Make Random Story Generator

Once upon a time....
Create a random story generator that uses predefined sets of characters, settings, and actions to create humorous or surprising short stories.

I can do that . Assign me please @sumanth-0 .

#82 Created a PR for the same! @sumanth-0


sweep tokens

Ability to sweep a private key and claim BCH and/or SLP tokens

will be addressed in re-write.
closing due to age.


Lincense

Could you please add the license for this component

Hi,I am not aware about license procedure.Can you tell me which license i need ?

Thanks for the license


CLLocationManager.promise() never resolves

Since jumping from 1.4.0 to 1.5.0 and Swift 1.2, I can't seem to get CLLocationManager.promise() to ever resolve.  The following test fails each time, due to the unfulfilled expectation:
    func testLocation() {
        let expectation = expectationWithDescription("location")
        CLLocationManager.promise().then { (location: CLLocation) -> Void in
            println(location)
            expectation.fulfill()
        }
        waitForExpectationsWithTimeout(13, handler: nil)
    }

Fixed with: https://github.com/mxcl/PromiseKit/commit/7fdef1e6e41c6c7c94bb3c45e2ec17a4222b2af7
I'm really sorry I didn't push a new pod for that. I thought I had.
Related: we need tests for this kind of thing, but I couldn't figure out how to make tests for eg. CLLocationManager that are reliable. Unreliable tests are useless. Any ideas?

Pushing 1.5.1…

Pushed.

Thanks for the quick fix. What kinds of tests do you have in mind? Is the one above unreliable?

Yes, because the simulator is buggy when it comes to simulating location.

Ah yes, this is what stubs are for right? Could we stub out CLLocationManager to always provide a fixed set of coordinates?

Yeah true, that would be fine for this case.

In fact, would stubbing have detected this? What we needed to do is trigger the CLLocationManager to call its delegates. Stubbing probably would have worked here while in actual usage it would not have because our delegate was invisible to the location manager (which seems like a Swift bug).


Snackbar 'undo' button visibility low

Actual Behaviour
'undo' button color is bit darker which decreases its visibility
Expected Behaviour
To use lighter shades of red for greater visibility
Screenshots of the issue

Would you like to work on the issue?
Yes

@S2606 I think we can change the transparency of colors to make them visible on darker color. Can you experiment it.
No

Yes

See the legibility part.
https://material.io/guidelines/style/color.html#color-usability

@heysadboy Sure..


Adds a method of getting an emblem for a given class by saying the class name

This bypasses the 500p cost to get an emblem but that seems pretty incidental / doesn't really matter.
Another option would be to make Bor into a merchant and have him sell all of the emblems for 500p each instead.

you can use client->TakeCashFromPP to implement a payment thing

please adjust main dialogue to give links to do this


Enable CI for this repo

It would be great to enable CI for this repo (on TravisCI or Azure Pipelines). We'll need the manager/server running to test the client side.

@cryos, what kind of testing can be done for the .ts and .tsx files?

It feels a little premature to think about testing the web client code, there are some test suites where buttons etc can be pressed as far as I remember. There are probably approaches to unit testing the TypeScript code too, I read some in the book I recommended to you but haven't spent much time on that as things are at such an early stage right now.


Add unit tests for pkg/ovs/openflow

Signed-off-by: Hongliang Liu<EMAIL_ADDRESS>

Codecov Report

Merging #96 (db01a6e) into main (8427b4a) will decrease coverage by 14.64%.
The diff coverage is 95.00%.

Additional details and impacted files

@@             Coverage Diff             @@
##             main      #96       +/-   ##
===========================================
- Coverage   63.52%   48.88%   -14.65%
===========================================
  Files         400      340       -60
  Lines       56887    49429     -7458
===========================================
- Hits        36137    24162    -11975
- Misses      18069    23653     +5584
+ Partials     2681     1614     -1067

Flag
Coverage Δ

integration-tests
?

kind-e2e-tests
?

unit-tests
48.88% <95.00%> (-0.37%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/ovs/openflow/ofctrl_action.go
86.08% <ø> (+5.24%)
:arrow_up:

pkg/ovs/openflow/ofctrl_packetout.go
98.33% <ø> (+17.77%)
:arrow_up:

pkg/ovs/ovsctl/interface.go
16.66% <ø> (ø)

pkg/ovs/openflow/ofctrl_builder.go
96.65% <95.00%> (+17.81%)
:arrow_up:

pkg/signals/signals.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/ipfix/ipfix_registry.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/controller/querier/querier.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/agent/flowexporter/connections/conntrack.go
0.00% <0.00%> (-93.94%)
:arrow_down:

pkg/agent/nodeportlocal/k8s/annotations.go
0.00% <0.00%> (-84.45%)
:arrow_down:

pkg/apiserver/apiserver.go
3.66% <0.00%> (-84.30%)
:arrow_down:

... and 183 more


Offsets

Updated Static classes + all offsets for build 13685119 as some were having issues and fixed a spelling mistake.

Thanks for contributing. I haven't tested it but it looks about right.

working alright on my end. Sorry for the huge chain of commits, ill make sure its all in one single change if i update again.