Hidden text in emails when using dark mode

In light mode, I can see all this text fine.
NOTE: These are emails from GCP alerts. I can provide additional styling information from the email as necessary, let me know!

@willieowens - Could you please confirm if your issue has resolved or still looking for any help?

Yes this is still an issue.

@willieowens - Could you please the repro steps or docs so that we can try it from our end?

Does not happen with every email, but I noticed with GKE notifications. Here is the HTML of the email in question:
<!DOCTYPE html>

    <meta charset=3D"utf-8">
    <title>[RESOLVED] Unacked messages for gke-cluster-upgrade-notifs [SUM]=
 on project-XXXXXXXXXXX Cloud Pub/Sub Subscription labels {project_=
id=3Dproject-XXXXXXXXXXX, subscription_id=3Dgke-cluster-upgrade-not=
ifs-internal}</title>

      VIEW INCIDENT
      <meta itemprop=3D"name" content=3D"View alert" />
      <meta itemprop=3D"description" content=3D"Navigate to the details pag=
e for this Cloud Monitoring alert." />

  Alert recovered

Unacked messages for gke-cluster-upgrade-notifs [SUM]

Unacked messages for project-XXXXXXXXXXX Cloud Pub/Sub Subscri=
ption labels {project_id=3Dproject-XXXXXXXXXXX, subscription_id=3Dg=
ke-cluster-upgrade-notifs-internal} returned to normal with a value of 0.00=
0.

Summary

Start time

  (1 week ago)

Alert firing lasted

    7 days 0 hours

Project

  project-XXXXXXXXXXX=

Policy

  GKE Cluster Upgrade

Condition

  Unacked messages for gke-cluster-upgrade-notifs [SUM]

Metric

    pubsu=
b.googleapis.com/subscription/num_undelivered_messages

Threshold

    above 0

Observed

      0.000

Policy documentation

GKE is upgrading our cluster

  VIEW INCIDENT

© 2020 Google LLC

  1600 Am=
phitheatre Parkway, Mountain View, CA 94043

You have received this mandatory service announcement to update you ab=
out important changes to Google Cloud Platform or your account.

Manage notifications

@willieowens -We are mainly responsible for Microsoft Teams app development related issues.
For Microsoft Teams product issues/failures your tenant Admin can reach out to Microsoft 365 Product Support.
For general questions about Microsoft Teams please post your question on Microsoft Teams Community.


Wallet Details Navigation Placeholder

Contains a Screen that is shown as a placeholder for the real contents for navigational purposes.
This screen lets developers test that the navigation proposed can be properly implemented and that the user can transition between the screens that precede and follow this one.
Contains mocked elements that demonstrate the nature of the screen and UI elements that allow the user to perform navigation actions

This has been confused with profile screen, but are the same thing.


Docker build for CPU and GPU

I have here added a Docker file for both CPU and GPU builds.
How To Build the Docker image
To build the Docker image for CPU only
git clone https://github.com/loretoparisi/generating-reviews-discovering-sentiment.git
cd generating-reviews-discovering-sentiment
docker build -t sentiment-neuron -f Dockerfile .

or execute ./build.sh
while to build the Docker image for GPU
cd generating-reviews-discovering-sentiment
docker build -t sentiment-neuron -f Dockerfile.gpu .

or you execute ./build.sh GPU
How To Run the Docker image
To run for CPU
cd generating-reviews-discovering-sentiment
docker run --rm -it sentiment-neuron bash

or  execute ./run.sh
while to run for GPU you have to attach the nvidia-docker driver and device (here we attach the device 0, that is the first GPU as default):
docker run -it --device=/dev/nvidiactl --device=/dev/nvidia-uvm --device=/dev/nvidia0 --volume-driver nvidia-docker -v nvidia_driver_367.57:/usr/local/nvidia:ro $IMAGE $CMD

or  execute ./run.sh GPU
How To Use it
As soon as you run the image you will be in the /sentiment folder.
Then you can run the provided examples test_sentiment.py:
root@718644c454d5:/sentiment# python test_sentiment.py
7.592 seconds to transform 8 examples
it was a nice day 0.012658
it was a great day 0.371533
it was a bad day -0.499269
It was a wonderful day 0.503395
It was an excellent day 0.44557
It was a super excellent day 0.623401
It was such a bad bad day  -0.858701
It was such a bad bad bad day -1.04497

and the test_generative.py example, adapted from this fork.
root@e713b094abb6:/sentiment# python test_generative.py
'I couldn't figure out'... --> (argmax sampling):
Positive sentiment (1 sentence):
 I couldn't figure out how to use the stand and the stand but I love it and it is so easy to use.

Negative sentiment (+100 chars):
 I couldn't figure out how to get the product to work and the company would not even try to resolve the problem.  I would ...

'I couldn't figure out'... --> (weighted samples after each word):
Positive sentiment (3 examples, 2 sentences each):
(0) I couldn't figure out what was going on with the characters from page one. I was so engrossed in the story that I read all day.
(1) I couldn't figure out how to install the installation video that came with it but I am so glad I did. My son was so excited to put this together for me.
(2) I couldn't figure out what it was until finding this book by accident.  Every time I encounter a book from this trilogy I enjoy it as much now as I did when I was a child.

  I should have never bought this product.
...

Notes

I had to merge the PR here to support the generative test that adds the generate_sequence method.
To enable the Nvidia GPU on the host machine, you need to have nvidia-docker installed. To check the nvidia toolkit installation please run the nvidia-smi command to list the available connected gpu.
To address some python language compatibility issues, I'm using the tensorflow latest python3 docker image  -
tensorflow:latest-py3 and tensorflow:latest-gpu-py3 for the gpu.
I'm adding the tqdm module via pip in the Dockerfile.

If there will be further info how to train this model, I will add to the Docker image.

Example of session with GPU
Using the GPU the performances will speed up of 3x at least during the generation. Please run with ./run.sh GPU
root@b26bc09607fa:/sentiment# nvidia-smi
Fri Apr 21 18:13:49 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 367.57                 Driver Version: 367.57                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GRID K520           Off  | 0000:00:03.0     Off |                  N/A |
| N/A   38C    P8    17W / 125W |      0MiB /  4036MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
root@b26bc09607fa:/sentiment# python
.git/               Dockerfile.gpu      README.md           encoder.py          run.sh              test_sentiment.py
Dockerfile          LICENSE             build.sh            model/              test_generative.py  utils.py
root@b26bc09607fa:/sentiment# python test_generative.py
2017-04-21 18:14:03.451601: I tensorflow/core/common_runtime/gpu/gpu_device.cc:887] Found device 0 with properties:
name: GRID K520
major: 3 minor: 0 memoryClockRate (GHz) 0.797
pciBusID 0000:00:03.0
Total memory: 3.94GiB
Free memory: 3.91GiB
2017-04-21 18:14:03.451662: I tensorflow/core/common_runtime/gpu/gpu_device.cc:908] DMA: 0
2017-04-21 18:14:03.451697: I tensorflow/core/common_runtime/gpu/gpu_device.cc:918] 0:   Y
2017-04-21 18:14:03.451731: I tensorflow/core/common_runtime/gpu/gpu_device.cc:977] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GRID K520, pci bus id: 0000:00:03.0)
'I couldn't figure out'... --> (argmax sampling):
Positive sentiment (1 sentence):
 I couldn't figure out how to use the stand and the stand but I love it and it is so easy to use.

Negative sentiment (+100 chars):
 I couldn't figure out how to get the product to work and the company would not even try to resolve the problem.  I would ...

'I couldn't figure out'... --> (weighted samples after each word):
Positive sentiment (3 examples, 2 sentences each):
(0) I couldn't figure out the controls and controls on the Roku box.  I have used Netflix and the controls are easy to use.
(1) I couldn't figure out what to do and I was glad I found this book.  The book is clear and easy to follow.
(2) I couldn't figure out how to use it properly but it is easy to make my coffee and use it all the time. I would buy another soon.

Negative sentiment (3 examples, 2 sentences each):
(0) I couldn't figure out how to use this  because it is so hard to set up the first time.
(1) I couldn't figure out how to contact the vendor who is in India and sending the product back to company. What good is it when you get it mailed back to someone that finds it really useful? I am returning this item and looking for a different product.
(2) I couldn't figure out the problem like the rest of the product was good enough to send back but not worth any return and I feel wasted of money.
I have had this thing for exactly 3 weeks and it is still locked up on a different window and still not connected.

'I couldn't figure out'... --> (weighted samples after each character):
Sentiment not influenced (3 sentences):
 I couldn't figure out how to  separate the usb points but it's fine now.Thankfully Amazon.com was able to deal with the error.

Sentiment fixed to 0 (3 sentences):
 I couldn't figure out the plot, but even with that the story still fell flat and silly of Jamie, no offense to J Weller.
was thinking it would be low in calories but its really good.  didnt actually try it though when i tried just a  small amount.

Sligthly negative sentiment (3 sentences):
 I couldn't figure out what it was supposed to do.  I have Comcast. I wanted to do the site fast so they  would see my device.

Thanks! I found this very helpful. Hope the Docker file can get merged? Looking like for current code to work, it needs a very specific TF version...
 You just keep me hanging on! 0.999466

I did noticed that calls to transform need to be of no larger than a batch of 64.

@moscow25 I will send a PR!

@loretoparisi Thanks a tonne. Very Helpful ..!!

@loretoparisi Thanks a bunch!


How to verify db1000n works as expected?

How to verify db1000n works as expected?

In docker on virtual machines
In Kubernetes

@Arriven I would rather just mention that seeing these logs:
Атака проводиться успішно! Руський воєнний корабль іди нахуй!
Attack is successful!
The app has generated approximately %v bytes of traffic

taken from https://github.com/Arriven/db1000n/blob/a2f4abf8ab2a624a90c83df3ee4554117a47a64b/src/runner/runner.go#L161 means the app is up and running.


Add serratus.io link

Link https://serratus.io/palmdb to the the main github page (https://github.com/ababaian/palmdb)

not working yet on my machine? Does achange have to be pushed?

Sorry, i misunderstood. I only updated the existing references to https://github.com/rcedgar/palmdb
Just added a new route for palmdb, though it's not actually referenced anywhere in the app


add ar-AE, ar-EG and clean ar-JO

this PR add ar-AE, ar-EG to isMobilePhone and fixes #717 , it also clean up the ar-JO regexp.

Thanks :smile:


git cherry-pick results in conflicts between file contents and file references

I started using Git LFS in a repository in a new branch, which I rolled back from master before the introduction of a large file. After configuring Git LFS to track these large files, I started to replay the history commit by commit using git cherry-pick -n (to review changes before committing them).
The conflicts occur because on one hand the patch works with actual file contents while on the other hand Git LFS works with a pointer description which gets updated with each new version.
Could Git LFS detect the discrepancy and avoid the conflict somehow?

I don't think Git LFS has an opportunity to detect and avoid conflicts. I've added this to our list of bugs.

Added to the roadmap in #1438


Site down

@Spuds  @eurich the site looks down from here, is it just me?

Back. I guess @Spuds broke something. :stuck_out_tongue:

Sure, blame Spuds... ^^


Tests use non rancher images.

The integration tests currently use images that are on repos that are not from the rancher account. They should only use images from rancher.

Are you referring to ibuildthecloud/* images?  Are their other images?  I'll gladly move them.

There's one from my repo as well for the volume tests.

Both

Closed in favor of rancher/rancher#3858


chore: update Italian translations

Update IT translations:

fix some typos
use more precise translations
use the singular form for plural English words when used in Italian

Thank you @eleftrik!


There is a problem on Android side

It works smoothly on iOS devices, but I get this error on the Android side and I can't build.
“ * What went wrong:
A problem occurred configuring project ':watermark_unique'.

Could not open cp_proj generic class cache for build file '/Users/****/.pub-cache/hosted/pub.dev/watermark_unique-1.0.1/android/build.gradle' (/Users//.gradle/caches/7.6.3/scripts/31j50r97x7cmidhwb3bblqygg).
Build file '/Users//.pub-cache/hosted/pub.dev/watermark_unique-1.0.1/android/build.gradle' should not contain a package statement.
Failed to notify project evaluation listener.
Could not get unknown property 'android' for project ':watermark_unique' of type org.gradle.api.Project.
Could not get unknown property 'android' for project ':watermark_unique' of type org.gradle.api.Project."

Hey @nuriulgen ! Thanks for sharing a problem. I am going to fix it as soon as possible.

@engineer-unknown  I am eagerly waiting for the problem to be resolved as soon as possible.

@nuriulgen The Issue was fixed and updated to pub.dev. Thanks for your time!

@engineer-unknown  The problem seems to be solved, thank you for solving the problem so quickly.


Failed to start a training task

ERROR   : [20220302-02:52:53] utils.py:23:run_command(): run cmd error:
 Traceback (most recent call last):
  File "/usr/local/bin/mir", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.8/dist-packages/mir/main.py", line 19, in main
    return cmd.cmd_run()
  File "/usr/local/lib/python3.8/dist-packages/mir/tools/utils.py", line 24, in wrapper
    _ret = f(*args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/mir/commands/base.py", line 17, in cmd_run
    return self.run()
  File "/usr/local/lib/python3.8/dist-packages/mir/commands/training.py", line 217, in run
    return CmdTrain.run_with_args(work_dir=self.args.work_dir,
  File "/usr/local/lib/python3.8/dist-packages/mir/tools/command_run_in_out.py", line 135, in wrapper
    raise exc
PermissionError: [Errno 13] Permission denied: 'nvidia-docker'

你好，请确认一下这两个问题：

启动服务的账号是否在 docker 组里面？
是否已经安装了 nvidia-docker？

@fenrir-z hi, I meet the same error, and my log is:
ERROR   : [20220518-01:37:13] app.py:59:handle_exception(): (['git', 'rev-parse', 't000000200001257c83b1652837818@t000000200001257c83b1652837818:tasks.mir'], 128, b"fatal: Invalid object name<EMAIL_ADDRESS>b't000000200001257c83b1652837818@t000000200001257c83b1652837818:tasks.mir') Traceback (most recent call last):   File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1523, in full_dispatch_request     rv = self.dispatch_request()   File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1509, in dispatch_request     return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)   File "/usr/local/lib/python3.8/dist-packages/connexion/decorators/decorator.py", line 48, in wrapper     response = function(request)   File "/usr/local/lib/python3.8/dist-packages/connexion/decorators/uri_parsing.py", line 144, in wrapper     response = function(request)   File "/usr/local/lib/python3.8/dist-packages/connexion/decorators/validation.py", line 384, in wrapper     return function(request)   File "/usr/local/lib/python3.8/dist-packages/connexion/decorators/parameter.py", line 121, in wrapper     return function(**kwargs)   File "/app/ymir_viz/src/controllers/model_controller.py", line 22, in get_model_info     model_info = pb_reader.MirStorageLoader(   File "/app/ymir_viz/src/viz_models/pb_reader.py", line 21, in get_model_info     model_info = mir_storage_ops.MirStorageOps.load_single_model(   File "/usr/local/lib/python3.8/dist-packages/mir/tools/mir_storage_ops.py", line 254, in load_single_model     mir_storage_data: mirpb.MirTasks = cls.load_single_storage(mir_root=mir_root,   File "/usr/local/lib/python3.8/dist-packages/mir/tools/mir_storage_ops.py", line 220, in load_single_storage     mir_storage_data.ParseFromString(exodus.read_mir(mir_root=mir_root, rev=rev,   File "/usr/local/lib/python3.8/dist-packages/mir/tools/exodus.py", line 18, in read_mir     blob_hash = scm_git.rev_parse(f"{rev}:{file_name}")   File "/usr/local/lib/python3.8/dist-packages/mir/scm/cmd.py", line 135, in <lambda>     return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)   File "/usr/local/lib/python3.8/dist-packages/mir/scm/cmd.py", line 439, in _call_process     return self.execute(call, **exec_kwargs)  # type: ignore   File "/usr/local/lib/python3.8/dist-packages/mir/scm/cmd.py", line 345, in execute     raise ValueError(command, status, stderr_value, stdout_value) ValueError: (['git', 'rev-parse', 't000000200001257c83b1652837818@t000000200001257c83b1652837818:tasks.mir'], 128, b"fatal: Invalid object name<EMAIL_ADDRESS>b't000000200001257c83b1652837818@t000000200001257c83b1652837818:tasks.mir') <IP_ADDRESS> - - [18/May/2022:01:37:13 +0000] "GET /v1/users/0002/repositories/000012/branches/t000000200001257c83b1652837818/models HTTP/1.1" 500 305 "-" "python-requests/2.27.1"

Merge error happened in training task means there are conflict between training/validation dataset. Some of the test examples may already exist in training dataset. Please double check before proceed.
Tip: to exclude training samples from test dataset,

try a data process task (预处理),
choose test dataset,
exclude training dataset
The result dataset will remove all examples belonging to training dataset.


Allow pipeline output decoration

Allow other plugins to provide a decorator to filter
the output of a Jenkins Pipeline.

Seems reasonable to me @lucamilanesio but do you have an implementation taking advantage of the new API to go along with it?  Generally we like to have at least one consumer for net-new APIs.

Yes, will push shorty a plug that extends the current logstash plugin for streaming the pipeline output, will showcase as well on Tuesday at JenkinsWorld

Okay, this is probably something that will be of special interest to @jglick since he's done work specifically related to external logging.

@jglick any feedback? The logger decoration is very useful with the current master and with the additional refactoring that you are currently doing on your PR.

Anyway should be obsoleted by #105.

@lucamilanesio  Would you agree this obsolete?  Should this PR be closed?


Multithreading: solving different problems with CP-SAT ends in random crash

What version of OR-tools and what language are you using?
Version: 7.5.7466
Language: C#
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
CP-SAT
What operating system (Linux, Windows, ...) and version?
Windows
What did you do?
If I run two threads A and B. Lets say A will try to solve problem #1 and B will try to solve problem #2. Lets say the problem remains the same so input model and output is always the same. If I make it so that these threads will try solving these same issues in an endless loop... it will work for a couple of minutes, but then CpSolver.solve(model) suddenly causes my entire application to crash. If I place the solve(model) inside a static lock like this it will work (where cpSolverLock is a static object variable defined in the class):
                var solver = new CpSolver();
                var status = CpSolverStatus.Unknown;
                lock (cpSolverLock)
                {
                    status = solver.Solve(model);
                }

What did you expect to see
I expect that an instance of CpSolver is unaffected by another instance of CpSolver running on another thread. This is especially so when nothing I ever provide to CpSolver, CpModel or just ortools classes/methods and so on is accessed by multiple threads at all.
What did you see instead?
Crash with the following error:
The program '[30320] AutomaticCapacityTester.exe' has exited with code -1073740940 (0xc0000374).
Make sure you include information that can help us debug (full error message, model Proto).
Tell me if you need some sample model, but the nature of the problem doesn't feel model specific.

Strange.
The C++ solver is totally MT safe.
It seems an issue around the swig/interop layer.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le ven. 10 avr. 2020 à 03:50, patr0805<EMAIL_ADDRESS>a écrit :

What version of OR-tools and what language are you using?
Version: 7.5.7466
Language: C#
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP,
Gurobi)
CP-SAT
What operating system (Linux, Windows, ...) and version?
Windows
What did you do?
If I run two threads A and B. Lets say A will try to solve problem #1
https://github.com/google/or-tools/pull/1 and B will try to solve
problem #2 https://github.com/google/or-tools/pull/2. Lets say the
problem remains the same so input model and output is always the same. If I
make it so that these threads will try solving these same issues in an
endless loop... it will work for a couple of minutes, but then
CpSolver.solve(model) suddenly causes my entire application to crash. If I
place the solve(model) inside a static lock like this it will work (where
cpSolverLock is a static object variable defined in the class):
            var solver = new CpSolver();
            var status = CpSolverStatus.Unknown;
            lock (cpSolverLock)
            {
                status = solver.Solve(model);
            }

What did you expect to see
I expect that an instance of CpSolver is unaffected by another instance of
CpSolver running on another thread. This is especially so when nothing I
ever provide to CpSolver, CpModel or just ortools classes/methods and so on
is accessed by multiple threads at all.
What did you see instead?
Crash with the following error:
The program '[30320] AutomaticCapacityTester.exe' has exited with code
-1073740940 (0xc0000374).
Make sure you include information that can help us debug (full error
message, model Proto).
Tell me if you need some sample model, but the nature of the problem
doesn't feel model specific.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1958, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3KHRWXOJTDFSL77SELRLZ3PPANCNFSM4MFE3Q2A
.

I have tried to make a minimal sample, but ran into another problem there that was much more apparent when I added num_search_workers.. it might be related since both seem to be memory issues. I will try to make a sample code that result in 0xc0000374.
I also wonder why simply doubling the size of capacities array makes the solver EXTREMELY slow, but thats a seperate issue I hope can be solved as I otherwise think I have to think away from integer programming for performance reasons.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using Google.OrTools.Sat;
namespace MultiThreadingBugReproducer
{
class Program
{
static void Main(string[] args)
{
for (var amount = 0; amount < 2; amount++)
{
var intialAmount = amount;
Thread thread0 = new Thread(() => Thread0Task(intialAmount * 3));
thread0.Start();
}
        Console.Read();
    }

    private static void Thread0Task(int amount)
    {
        var iteration = 0;
        while (true)
        {
            var model = new CpModel();
            var capacities = new int[] { 223, 123, 236, 9, 12, 5, 2, 7, 2};
            capacities = capacities.Take(capacities.Count()).ToArray();
            var reservationAmount = capacities.Sum() - 8;
            var remainingCapacityExpressions = new List<LinearExpr>();
            var reservationVars = new List<IntVar>();
            for (var index = 0; index < capacities.Length; index++)
            {
                var resVar = model.NewIntVar(0, int.MaxValue, $"res_{index}");
                reservationVars.Add(resVar);

                var remainingCapacityExpression = capacities[index] - resVar;
                remainingCapacityExpressions.Add(remainingCapacityExpression);
            }

            model.Add(LinearExpr.Sum(reservationVars) == reservationAmount);

            var lowestRemainingCapacityInPairsVars = new List<IntVar>();
            for (var index = 0; index < capacities.Length; index++)
            {
                for (var index2 = index + 1; index2 < capacities.Length; index2++)
                {
                    var remainingCapacityPairA = remainingCapacityExpressions[index];
                    var remainingCapacityPairB = remainingCapacityExpressions[index2];

                    var minVar = model.NewIntVar(int.MinValue, int.MaxValue, $"h_{index}_{index2}");

                    // Objective maximization will force all minVar to be as high as allowed, achiving minVar equal minimum of numbers provided.
                    model.Add(minVar <= remainingCapacityPairA);
                    model.Add(minVar <= remainingCapacityPairB);

                    lowestRemainingCapacityInPairsVars.Add(minVar);
                }
            }

            model.AddDecisionStrategy(lowestRemainingCapacityInPairsVars, DecisionStrategyProto.Types.VariableSelectionStrategy.ChooseHighestMax, DecisionStrategyProto.Types.DomainReductionStrategy.SelectMaxValue);
            model.Maximize(LinearExpr.Sum(lowestRemainingCapacityInPairsVars));

            // Creates a solver and solves the model.
            var solver = new CpSolver();
            solver.StringParameters = "num_search_workers:2";
            var status = solver.Solve(model);
            Console.WriteLine($"Solved: iteration: " + iteration++);
        }
    }
}

}

Hi guys, I have the same issue of heap corruption (0xc0000374 error). running the solver in MT. I also tried the code above. It was working good on my machine until I increased the number of threads. Maybe this could be useful for debugging,
Thank you

Are you hitting the memory limit ?

Yes, but not in this case. It seems in such case I face with SEHException. This is actually my another question. Is there any way to control (or limit) the memory usage of the solver? It is good for me to interrupt the task if it hits some memory threshold.
So about heap corruption. It happens randomly on the same bunch of rather small tasks.
One another interesting thing. I tried to call GC.TryStartNoGCRegion before launching the solvers, It seems that the probability of the crash becomes lower.

Seems related to https://github.com/Azure/azure-service-bus-dotnet/issues/306

I faced with this issue on Windows 10, .Net framework v 4.7...

Hi Laurent, I am having a similar kind of issue, however in Java this time:
Stack: [0x0000009b19d00000,0x0000009b19e00000],  sp=0x0000009b19dfe7e0,  free space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [ntdll.dll+0xa5f58]
C  [ntdll.dll+0x3fb91]
C  [ucrtbase.dll+0x114cb]
C  [jniortools.dll+0x49d369]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 1877  com.google.ortools.sat.mainJNI.SatHelper_solveWithParameters([B[B)[B (0 bytes) @ 0x0000027787c3c536 [0x0000027787c3c4c0+0x0000000000000076]
J 1872 c1 com.google.ortools.sat.SatHelper.solveWithParameters(Lcom/google/ortools/sat/CpModelProto;Lcom/google/ortools/sat/SatParameters;)Lcom/google/ortools/sat/CpSolverResponse; (39 bytes) @ 0x0000027780b44884 [0x0000027780b446c0+0x00000000000001c4]
J 1858 c1 com.google.ortools.sat.CpSolver.solve(Lcom/google/ortools/sat/CpModel;)Lcom/google/ortools/sat/CpSolverStatus; (26 bytes) @ 0x0000027780b3ede4 [0x0000027780b3ea20+0x00000000000003c4]
j  test.ThreadingTest.solve(II)V+175
j  test.ThreadingTest.access$0(Ltest/ThreadingTest;II)V+3
j  test.ThreadingTest$1.run()V+13
j  java.lang.Thread.run()V+11<EMAIL_ADDRESS>v  ~StubRoutines::call_stub
siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), reading address 0x00000000f4985132

Can you send me the model ? the code ?
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le ven. 24 avr. 2020 à 09:09, patrick-mills<EMAIL_ADDRESS>a
écrit :

Hi Laurent, I am having a similar kind of issue, however in Java this time:
Stack: [0x0000009b19d00000,0x0000009b19e00000], sp=0x0000009b19dfe7e0,
free space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
code)
C [ntdll.dll+0xa5f58]
C [ntdll.dll+0x3fb91]
C [ucrtbase.dll+0x114cb]
C [jniortools.dll+0x49d369]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 1877
com.google.ortools.sat.mainJNI.SatHelper_solveWithParameters([B[B)[B (0
bytes) @ 0x0000027787c3c536 [0x0000027787c3c4c0+0x0000000000000076]
J 1872 c1
com.google.ortools.sat.SatHelper.solveWithParameters(Lcom/google/ortools/sat/CpModelProto;Lcom/google/ortools/sat/SatParameters;)Lcom/google/ortools/sat/CpSolverResponse;
(39 bytes) @ 0x0000027780b44884 [0x0000027780b446c0+0x00000000000001c4]
J 1858 c1
com.google.ortools.sat.CpSolver.solve(Lcom/google/ortools/sat/CpModel;)Lcom/google/ortools/sat/CpSolverStatus;
(26 bytes) @ 0x0000027780b3ede4 [0x0000027780b3ea20+0x00000000000003c4]
j test.ThreadingTest.solve(II)V+175
j test.ThreadingTest.access$0(Ltest/ThreadingTest;II)V+3
j test.ThreadingTest$1.run()V+13
j java.lang.Thread.run()V+11<EMAIL_ADDRESS>v ~StubRoutines::call_stub
siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), reading address
0x00000000f4985132
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1958#issuecomment-618843468,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3IU42GRIRQJ3PNPUBTROE3KTANCNFSM4MFE3Q2A
.

Below is my JUnit test which reproduces the issue: JDK is 11.07,  JUnit 5, OR-Tools 7.5.
[My PC spec is Intel Core i9 with 8 cores, 32GB of ram and I am running Windows 10 Home 64-bit].
Hope that helps,
Patrick
`package test;
import org.junit.jupiter.api.Test;
import com.google.ortools.sat.CpModel;
import com.google.ortools.sat.CpSolver;
import com.google.ortools.sat.CpSolverStatus;
import com.google.ortools.sat.IntVar;
class ThreadingTest {
int n = 5;
int maxIts = 1000000;
double maxTime = 1.0;

static {
	System.loadLibrary("jniortools");
}

@Test
void testMultiThread() {
	runSolver(8);
}

void runSolver(int nThreads) {
	Object obj = new Object();

	for (int t = 0; t < nThreads; t++) {
		new Thread(new Runnable() {
			@Override
			public void run() {
				solve(8, maxIts);
				synchronized(obj) {
					obj.notifyAll();
				}
			}

		}).start();
	}
	int running = nThreads;
	while (running > 0) {
		try {
			synchronized(obj) {
				obj.wait();
			}
		} catch (InterruptedException e) {

		}
		running--;
	}
	System.out.println("\nFinished");
}

private void solve(int n, int maxIts) {
	for (int its = 0; its < maxIts; its++) {
		CpModel model = createModel();

		IntVar queens[] = new IntVar[n];
		for (int i = 0; i < n; i++) {
			queens[i] = model.newIntVar(0, n-1, "Queen"+i);

		}
		model.addAllDifferent(queens);
		for (int i = 0; i < n; i++) {
			for (int j = i+1; j < n; j++) {
				model.addDifferentWithOffset(queens[i], queens[j], j - i);
				model.addDifferentWithOffset(queens[i], queens[j], i - j);
			}
		}

		CpSolver solver = new CpSolver();
		solver.getParameters().setMaxTimeInSeconds(maxTime);
		CpSolverStatus status = solver.solve(model);

		if (status == CpSolverStatus.FEASIBLE) {
			System.out.println("Solution found in: "+solver.wallTime()+" seconds.");
		}
		else {
			System.out.println(status);
		}
	}
}

private CpModel createModel() {
	return new CpModel();
}

}`

Thank you all. I rewrote this in C++ and found the problem, and the workaround.
By default, CP-SAT catches SIGINT. This handler is not thread safe.
If you run multiple solver in parallel, you need to change this parameter:

Not setting the parameter will work in 7.7.

Thanks very much for your help, Laurent.
Best regards,
Patrick
On Fri, Apr 24, 2020 at 1:51 PM Laurent Perron<EMAIL_ADDRESS>wrote:

Not setting the parameter will work in 7.7.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1958#issuecomment-618989362,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APKFAHHJ7SYQWU2Z3ZPJXVLROGDMTANCNFSM4MFE3Q2A
.


perf: reduce collision in hot maps

Both maps were starting with 4 capacity (powerOf2) and were suffering
from high collision rates.
BuiltInLibraryFunctionMap (~120 items +) hence allocating 131 prime capacity
helps both with startup time and collision management. Prime number
choice is due to hash type. (16 / aligned address)
Property name map is set to 10% init rate of actual property map and
updated to prime size policy from powerOf2. (uses same hash function with property map)
Prime MOD was previously very expensive (comparing to powerOf2) https://github.com/Microsoft/ChakraCore/pull/3516 intends to change that.

Change looks fine to me as long as it improves perf.

I wouldn't be surprised if this would improve perf solid 1 to 2% on AcmeAir due to large property map.
Thanks for the review.


v3.0.0 docgen does not detect React.createClass components

I've been struggling to get react-docgen working with the current default configs. Storybooks has a few features recently merged into addon-info to automatically generate documentation for description, prop-types, and more. We could potentially automatically generate configs for Knobs as well.
The issue seems to inside the Kadira babel plugin babel-plugin-react-docgen. When stepping through what's happening during babel compile, I found out it never reaches the part that runs react-docgen.

Half the components get rejected because they're stateless components. Some are incorrectly identified, some are correct that they are stateless, however I still think there is value in getting docgen description and prop info for stateless components.
https://github.com/kadirahq/babel-plugin-react-docgen/blob/master/src/index.js#L25
All of the components will fail the parent path node name test which seems to always point to a render function and thus fail because they don't have a name. The name is used to find the generated info later on.
https://github.com/kadirahq/babel-plugin-react-docgen/blob/master/src/index.js#L29
All of the components will fail to be detected as exported.
https://github.com/kadirahq/babel-plugin-react-docgen/blob/master/src/index.js#L34

My guess is that we need to update the plugin to support the new version of babel we're using.
Example of a component that would be identified as stateless, without parent node name, and not exported:
const React = require('react');
const classNames = require('classnames');

const stylesheet = require('./ProgressBar.less');

const { PropTypes } = React;

/**
 * The progress bar for the Uploading component. Renders a progress bar with a
 * delay.
 */
const ProgressBar = React.createClass({
  propTypes: {
    /**
     * The percentage of progress to display.
     */
    progress: PropTypes.number.isRequired,
    /**
     * The time in MS to delay the rendering of the progress bar.
     */
    delay: PropTypes.number.isRequired
  },

  getDefaultProps() {
    return { delay: 500 };
  },

  getInitialState() {
    return { visible: this.props.delay === 0 };
  },

  componentDidMount() {
    if (this.props.delay > 0) {
      this.initDelayTimeout();
    }
  },

  componentWillUnmount() {
    if (this.delayTimer) {
      clearTimeout(this.delayTimer);
    }
  },

  initDelayTimeout() {
    this.delayTimer = setTimeout(() => {
      this.setState({ visible: true });
    }, this.props.delay);
  },

  render() {
    const innerStyle = { width: `${this.props.progress}%` };

    if (!this.state.visible) {
      return null;
    }

    return (

    );
  }
});

module.exports = ProgressBar;

Since my component class names are the same as the filenames, I've been able to get it to work by changing the index.js in babel-plugin-react-docgen to:
      'FunctionDeclaration|FunctionExpression|ArrowFunctionExpression': function FunctionDeclarationFunctionExpressionArrowFunctionExpression(path, state) {

        console.log('babel-plugin-react-docgen 2');
        console.log(path.hub.file.opts.basename);
        // if (!(0, _isStatelessComponent2.default)(path)) {
        //   console.log('stateless');
        //   return;
        // }
        // if (!path.parentPath.node.id) {
        //   console.log('no parent');
        //   console.log(path.parentPath.node);
        //   return;
        // }
        // var className = path.parentPath.node.id.name;
        var className = path.hub.file.opts.basename;

        // if (!isExported(path, className, t)) {
        //   console.log('not exported');
        //   return;
        // }
        console.log('generating');
        injectReactDocgenInfo(className, path, state, this.file.code, t);
      }

I think we should try to bring the babel plugin under our umbrella org and maintain it since it does bring a lot of improvements to addon-info.
Thoughts?

I have asked @arunoda to transfer control of the repo, so we can work on it.
Second option is to look to alternatives: https://www.npmjs.com/package/babel-plugin-doc-gen

Thanks for all this investigative work @danielduan !!!

That other package seems to be work in progress and hasn't been worked on for a few months. It's probably better to bring the original plugin in-house and update it.
It seems a bit misleading to name it babel-plugin-react-docgen since it only looks for a specific type of React file. Maybe something like babel-plugin-storybook-docgen seems more fitting. Alternatively, we could build other options into the plugin such that it could be used outside of the Storybook use case.

@danielduan The repo has been moved over. https://github.com/storybooks/babel-plugin-react-docgen
If you can make a PR there I can publish it, I think

I'm encountring this in version 2.35.3,
Module build failed: TypeError: The plugin ["...\\node_modules\\babel-plugin-react-docgen\\lib\\index.js",{"DOC_GEN_COLLECTION_NAME":"STORYBOOK_REACT_CLASSES"}] didn't export a Plugin instance

@wildeyes I've never encountered that before. I think the confusing thing is that there's two ways to use the plugin.
If you want the docgen info on the React class and all in one global collection:
{
  "plugins":[
    ["babel-plugin-react-docgen", { "DOC_GEN_COLLECTION_NAME": "MY_REACT_DOCS"}]
  ]
}

If you just want the docgen info on the react class:
{
  "plugins": ["react-docgen"]
}

Make sure you're using the right one?

I actually don't have that plugin in my plugins list.

@wildeyes it is automatically injected by storybooks when it reads from your custom .babelrc if you have one. If not, it reads from the default one and then injects it.
Either way, I'm not sure why it's happening and it definitely shouldn't. Can you try upgrading your project to 3.0.0-alpha.4 and see if this issue still exists?

I'm gonna mark this for 3.0.1 release. Currently, stateless components and class style React components do work so I don't think the fix for this plugin should hold up the release for Storybook.

Also, to support description for stateless components: please update react-docgen to at least
https://github.com/reactjs/react-docgen/releases/tag/v2.11.0

It was originally on 2.12 already and I've upgraded it to 2.16 so we're good. @stupidism

@danielduan Sorry, I wrote description in the wrong place. It's working.

This is resolved? 🎈

@danielduan There is already a solution for automatic knob generation: https://github.com/lucasconstantino/storybook-addon-smart-knobs . :)

I think this should be done in this plugin?
https://github.com/storybooks/babel-plugin-react-docgen/issues/28


Cannot read property 'limit' of undefined"

vue-autosuggest version: 2.0.0
node version: 11.10.1
npm version: 6.9.0

<template>

      You have selected {{selected.name}}

      <vue-autosuggest
        v-model="query"
        :suggestions="suggestions"
        @focus="focusMe"
        @click="clickHandler"
        @input="onInputChange"
        @selected="onSelected"
        :sectionConfigs="sectionConfigs"
        :get-suggestion-value="getSuggestionValue"
        :input-props="{id:'autosuggest__input', placeholder:'Do you feel lucky, punk?'}">

{{suggestion.item.name}}

      </vue-autosuggest>

</template>

What I did:
I try to change your demo from 'Advanced usage' section to my needs. And the demo without any modifications works fine. I want to get results via ajax and results will be stored in vuex store. So, in 'onInputChange' method I fire dispatch to action (with some delay so the dispath is not run after change of every character), and actions get data from server and send to vuex store and results are available in computed as 'suggestions' and it's connected to ':suggestions' props in 'vue-autosuggest' component. So far so good. In Dev tools in Chrome in Vue section I see after dispatch the store is updated - so results are available.
What happened:
No suggestion appears
Problem description:
After dispatch on console, I receive:
[Vue warn]: Error in render: "TypeError: Cannot read property 'limit' of undefined"

found in

---> <Autosuggest>
       <AddDoc> at resources/js/components/accountdocs/AddDoc.vue
         <Root>

I have no idea where is the problem.

It appears your suggestions are of the wrong format. https://github.com/darrenjennings/vue-autosuggest#props

Suggestions to be rendered. e.g.suggestions: [{data: ['harry','ron','hermione']}]

Suggestions are arrays of section objects. Could probably use some better expected return value warnings. For instance, if [{data: null}], will throw the error you are describing.
Bad:
return [{data: null}] // vue-autosuggest should maybe handle this for you and treat null same as []
return ['frodo', 'samwise']
return [{}]

Good:
return [{data: []}] // empty section
return [{data: ['frodo', 'samwise']}
return [] // empty everything
return [{name: 'hobbits', data: ['frodo', 'samwise']}, {name: 'humans', data: ['aragorn']}] // with sections: https://github.com/darrenjennings/vue-autosuggest#sectionconfigs

Leaving this open to handle null data

Hi Darren
Thank you for providing this module.
I had the exact same problem as described above, until I found out by trail and error that the format was wrong. :)

Fixed in 2.0.4


Fix transforming nil values into empty string in server mode

Thanks @baranovoleg
Can you add a NULL encode/decode test?

Corrected the comment.
Adding some returns nil for totally implementation NULL values

Sorry, i just read the https://dev.mysql.com/doc/internals/en/null-bitmap.html
And a check on nil goes in BuildSimpleBinaryResultset func directly

LGTM
Thanks @baranovoleg


Don't work in IE10.

Don't work in IE10.

Changing line 284 in /dist/iv-viewer.js to the following should make it work in IE 10/11:
if (style) {   for (var property in style) {     if (style.hasOwnProperty(property)) {       wrapper.style.property = style[property];     }   } }
https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/style#Setting_styles


Update Compiler-Options-Hardening-Guide-for-C-and-C++: make the fallthrough macro look like a function call

make the fallthrough macro look like a function call
This makes it look like normal code and thus it keeps syntax checkers happy and automatic indentation still works etc.

Wait a second! I don't mind switching this to function call notation, but the sentence above it becomes wrong. The Linux kernel does NOT use function call notation. So the sentence above needs to say "inspired by" or "similar to".

We agreed at the meeting today to fix the text above it to reflect this change to function call notation. I created a fix, but accidentally merged it into main instead of its own branch. Since we agreed to do this today during our meeting, I think we just "let the quick fix ride". If anyone sees a problem with the quick fix, please create a PR to fix the fix :-).


bug(coffeescript) fix freezing bug due to badly behaved regex

Closes #2375

Actually I just realized I can both release a new stable version and hold this open for review at the same time, so that's what I'm going to do. :-)  The power of Git.

This has been live in 9.18.1 for 5 days now with no reported issue.  Going to merge and close this, but if anyone still seems an issue with it later we can always review.

Looks sane. Sorry I'm late.

Better late than never, so I've heard. :-p


[pt-br] Add docs/tasks/access-application-cluster/connecting-frontend-backend.md

Adding content/pt-br/docs/tasks/access-application-cluster/connecting-frontend-backend.md

/label tide/merge-method-squash

Hello @ricmmartins! Thank you very much for your contribution!
If you need help, please don't hesitate to ask us in Portuguese slack channel #kubernetes-docs-pt

Hi @ricmmartins
I forgot explain before. The folder service/access should inside the docs/tasks/access-application-cluster/

@MrErlison I've added it under docs/tasks/access-application-cluster/ but still showing error as if is not there...

/cc @edsoncelio

/unhold

Thanks!
/approve


√【Watch】_YAILIN LA MAS VIRAL - CHAPA (VIDEO OFICIAL)

𝖮𝗋𝗂𝗀𝗂𝗇𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝗏𝗂𝖽𝖾𝗈 𝗍𝗈𝗈𝗄 𝗍𝗁𝖾 𝗂𝗇𝗍𝖾𝗋𝗇𝖾𝗍 𝖻𝗒 𝗌𝗍𝗈𝗋𝗆 𝖺𝗇𝖽 𝖺𝗆𝖺𝗓𝖾𝖽 𝗏𝗂𝖾𝗐𝖾𝗋𝗌 𝗈𝗇 𝗏𝖺𝗋𝗂𝗈𝗎𝗌 𝗌𝗈𝖼𝗂𝖺𝗅 𝗆𝖾𝖽𝗂𝖺 𝗉𝗅𝖺𝗍𝖿𝗈𝗋𝗆𝗌 All 𝗏𝗂𝗋𝖺𝗅 𝖿𝗎𝗅𝗅 𝗏𝗂𝖽𝖾𝗈 𝗅𝖾𝖺𝗄𝖾𝖽 𝗌𝗈𝖼𝗂𝖺𝗅 𝗆𝖾𝖽𝗂𝖺 𝗍𝗐𝗂𝗍𝗍𝖾𝗋
[🌐 𝖢𝖫𝖨𝖢𝖪 𝖧𝖤𝖱𝖤 🟢==►►
[🔴 𝖢𝖫𝖨𝖢𝖪 𝖧𝖤𝖱𝖤 🌐==►►
[🔴 𝖢𝖫𝖨𝖢𝖪 𝖧𝖤𝖱𝖤 🌐==►►
Civil servants caught having sex in their offices will face "severe measures", the vice-president of Equatorial Guinea has warned after hundreds of allegedly pornographic videos were leaked to the public.
The videos reportedly involve high-ranking civil servant Baltasar Ebang Engonga having sex with various women - including the wives of prominent officials - in his office.

He has not yet commented.

He has also ordered the installation of surveillance cameras in courts and ministries to combat "indecent and illicit acts".

It added that he had recommended opening an investigation.
The videos in question were leaked after Mr Engonga was arrested on separate corruption charges, state television TVGE said.

Since then, the flow of internet traffic - particularly the downloading of images - has been severely disrupted in the country, people in Equatorial Guinea told the AFP news agency.
As head of the National Financial Investigation Agency, Mr Engonga works on tackling financial crimes such as money laundering.
.
.
.
..
.
.
.
..
.
.
.
Following the furore over the videos, Equatorial Guinea's chief prosecutor Anatolio Nzang Nguema told state TV that if Mr Engonga was found to have been "infected with a sexually transmitted disease" he would be prosecuted for an offence against "public health".
He is reportedly nicknamed "Bello" - Spanish for beautiful - on account of his good looks.

VCBCGFD


Cannot find the add-on in the add-on store

Problem/Motivation
Trying to follow the installation instructions which say:

Search for the "VSCode Remote" add-on in the Supervisor add-on store and install it.

Expected behavior
So I go to https://my.home-assistant.io/redirect/supervisor_store/ and type in "VSCode Remote" ...
Actual behavior
... but unfortunately, there are no results:

No results found in Official add-ons.
No results found in ESPHome.
No results found in Home Assistant Community Add-ons.

Steps to reproduce
(see above)
Proposed changes
It would be great if you could clarify the installations and/or the requirements for installing this add-on.
My system is:

Home Assistant 2022.9.6
Supervisor 2022.09.1
Operating System 9.0
Frontend 20220907.2 - latest

That is correct, this add-on hasn't been released.
https://github.com/hassio-addons/addon-vscode-remote/releases


supporting newer cert-manager api version

To use Jenkins X on EKS, the cert-manager needs to be the newest version to allow it to utilise IAM roles for DNS changes through the kubernetes service account.
The new cert-manager updated the API from certmanager.k8s.io/v1alpha1 to cert-manager.io/v1alpha2. See https://cert-manager.io/docs/installation/upgrading/upgrading-0.10-0.11/
With the additions in this PR this becomes configurable and I can tell it to use the new API through the app settings in my jenkins-x configuration.
It should also allow Jenkins X core devs to support EKS out of the box eventually.

/ok-to-test

/approve


chore: release 0.21.2

:robot: I have created a release *beep* *boop*
0.21.2 (2021-12-13)
Bug Fixes

refine styles with dark navbar (e3c9eef), closes #128

This PR was generated with Release Please. See documentation.

Coverage remained the same at 76.61% when pulling 82cbe94f353e248a0c5ee0c0167dc310097ba708 on release-v0.21.2 into 2bd7d448769425941544c499bedc32aaf825ef94 on master.

:robot: Release is at https://github.com/easyops-cn/docusaurus-search-local/releases/tag/v0.21.2 :sunflower:


Add issue template for bug reporting

Reference
https://github.com/johngerome/js-sticky-table-headers/issues/new/choose

I can contribute, assign to me. Thanks

@saimaheshtaduri  Sure, you can have It.
Please follow https://www.conventionalcommits.org/en/v1.0.0/ for the commit messages convention.
in this case, It would be chore: <you commit message> this will be the subject of your pull request as well.
Thanks

@saimaheshtaduri I'll be assigning this to another 3 days from now. Let me know if you have any clarification I'll guide you through the process.

Hey @johngerome I am ready to work for this issue. Can you please assign me?

Please verify the PR sent to clear this issue and do let me know if I wanna do some change in the template

@gopivaibhav all good. I labeled your PR with hacktoberfest-accepted. Thanks again.


Validation components

Added validation modules and configs.
Next steps (tomorrow):

continue validation
code fine-tuning, cleaning, including printf --> LogXYZ

@fabferro @forthommel @wpcarvalho FYI


converted to maven and added Event to hook into

Hey, I'm not sure if the development is still active on this, but I figured I'd update this to use maven and work with MC 1.16 for the server I play on. I added the event as well so I could hook into it with another plugin

Hey how do I download this?

Hey how do I download this?

You can download the source from my fork at https://github.com/retrontology/PvPToggle and build it with maven

nametagedit repo is different than you have here https://github.com/sgtcaze/NametagEdit/blob/master/documentation/Developers.creole


feat: add washover class

Codecov Report
Base: 96.83% // Head: 96.78% // Decreases project coverage by -0.05% :warning:

Coverage data is based on head (2f8d661) compared to base (3621c4b).
Patch coverage: 96.15% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #79      +/-   ##
==========================================
- Coverage   96.83%   96.78%   -0.05%
==========================================
  Files           7        8       +1
  Lines         442      467      +25
==========================================
+ Hits          428      452      +24
- Misses         14       15       +1

Impacted Files
Coverage Δ

cluster_experiments/washover.py
95.00% <95.00%> (ø)

cluster_experiments/random_splitter.py
98.27% <100.00%> (+0.07%)
:arrow_up:

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

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


OODT-928 Update maven-compiler-plugin from 1.6 to 1.7 in core pom.xml

This issue addresses https://issues.apache.org/jira/browse/OODT-928

Peer review on this one would be appreciated as it will enable us to get the builds back to stable.

+1


WGS parameter question

Hello I just had a quick question about the WGS pipeline.
As far as the --dbSNP and --dbSNFP goes, is dbSNFP used only for humans or is this a parameter that should also be used for mice samples ? Also, should both dbSNP and --dbSNFP be used for mice  and if so, are the files suppose to be the same like it shows in the
github page?
--dbSNP
Default: '/projects/omics_share/mouse/GRCm38/genome/annotation/snps_indels/GCA_000001635.6_current_ids.vcf.gz'
--dbNSFP
Default: '/projects/omics_share/mouse/GRCm38/genome/annotation/snps_indels/GCA_000001635.6_current_ids.vcf.gz'

dbNSFP is used only in the human workflow. We have corrected the typo in the documentation.


Added initial German language support.

Thanks for taking the time. Great suggestions. Accepted all of them.

Thank you for the contribution, merging this into the next build!


[FEATURE] Add typescript to project

Description
I think it would be a good implementation for the application to use Typescript given the growth of the project and community collaboration in order to avoid bugs, have better security quality and in addition to assisting in possible refactorings.
As you can see, it is used a lot because it is really good and useful.

Go for it @juninhokaponne I was going to add this issue

I'm working on it now, I'll open a PR in a few hours.

Do you think is it necessary refactor all files for .tsx and types or just add typescript and then open new issues for refactor all .files .js for .tsx ?
I already add typescript, config and refactored index.js for index.tsx.

Yeah if you had typescript done , may you can refactor the other code . I think it can be solved in one issue. No need for multiple issues @juninhokaponne

There was a lot to change, however, it is working correctly and as expected, the video is attached to the PR as a ZIP @Vijaykv5 .


Optional queue args: link to RabbitMQ docs instead

The current example for optional arguments [1] is not
great for a number of reasons:

It suggests something without any explanation as to what the feature is.
Policies [2] is a far better option operationally for many extra arguments.
Application-provided arguments are rigid and require queue deletion and redeclaration to change.
The example suggests classic mirrored queues. They are superseded by Quorum Queues [3].

I suggest including a few external links to relevant RabbitMQ doc guides
instead of a "just copy this" single line advice that can be counterproductive.

https://www.rabbitmq.com/queues.html#optional-arguments
https://www.rabbitmq.com/parameters.html#policies
https://www.rabbitmq.com/quorum-queues.html

Thanks for contributing to Logstash! If you haven't already signed our CLA, here's a handy link: https://www.elastic.co/contributor-agreement/

@jsvd sorry to bother you directly but it's been a week without any feedback :)

@jsvd done. I have updated documentation for a couple settings. I don't see where this plugin would overriden March Hare's default heartbeat timeout and with stock defaults it use 60 seconds instead of "disabled". I verified this from a JRuby REPL with March Hare and Wireshark.
Let me know if you'd like me to post a capture file as evidence.

I don't see where this plugin would overriden March Hare's default heartbeat timeout and with stock defaults it use 60 seconds instead of "disabled".

Nice catch, so you see it being 60 seconds? the default is set in https://github.com/rabbitmq/rabbitmq-java-client/blob/master/src/main/java/com/rabbitmq/client/ConnectionFactory.java#L66, but it should be overriden with zero in the mixin in https://github.com/logstash-plugins/logstash-mixin-rabbitmq_connection/blob/master/lib/logstash/plugin_mixins/rabbitmq_connection.rb#L105

@jsvd any more suggestions? :)

Bump.

@jsvd so what happens now, more reviews?

@jsvd I'd really appreciate if the docs were updated as currently they are recommending things that Team RabbitMQ does not.

@yaauie with the move of this plugin to an integration repo, please take note of carrying this change over to https://github.com/logstash-plugins/logstash-integration-rabbitmq

@jsvd I have filed https://github.com/logstash-plugins/logstash-integration-rabbitmq/issues/3 (including absorbing these upstream changes) to enumerate the steps being taken, and added it to the top of my planned work.
@michaelklishin I'm sorry for dropping this. I'l work to ensure that docs build has what it needs to include these changes shortly.


Keithley3706A: Convert _get_slot_id to a public method

This method would useful upstream as a public method. This PR is simply converting _get_slot_id to get_slot_id

Closing this PR as I can use a public facing method that already exists to get this information.


Title is potentially misleading

This page concerns an SQL Server driver for Ruby, yet the title turns this the other way around. In the current phrasing "A Ruby Driver to connect to SQL Server" is implied.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2426d21c-01c8-1d0e-9bf6-a5262dc19155
Version Independent ID: 0bca8d2e-201e-a3a2-95ef-2fab28b38872
Content: Ruby Driver - SQL Server
Content Source: docs/connect/ruby/ruby-driver-for-sql-server.md
Product: sql
Technology: connectivity
GitHub Login: @David-Engel
Microsoft Alias: v-daenge

@WouterJeuris Thanks for submitting feedback.

This page concerns an SQL Server driver for Ruby, yet the title turns this the other way around. In the current phrasing "A Ruby Driver to connect to SQL Server" is implied.

I'm not sure I understand how the title is misleading. The main heading is "Ruby Driver for SQL Server". The page title is "Ruby Driver - SQL Server". You seem to be implying that the title might be implying that it is about a driver for SQL Server to connect to Ruby. But you would never connect to a programming language from a database. There's nothing to connect to until you create it using the programming language.
The phrasing is consistent with what we use for other the drivers in this documentation. "for SQL Server" comes last as in "for [connecting to] SQL Server".

Closing this issue. If you feel that there is still something that needs to be resolved, feel free to reopen and add more information.
#please-close


Amplify CLI does not add the access, format and identifyDoc parameters when adding predictions

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
16.3.2
Amplify CLI Version
10.8.1
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made
Describe the bug
I ran "amplify add predictions" with the following options:
Evertsons-MacBook-Pro:theamplifyapp evertsoncroes$ amplify add predictions
✔ Please select from one of the categories below · Identify
✔ What would you like to identify? · Identify Text
✔ Provide a friendly name for your resource · identifyTextd230b04a
✔ Would you also like to identify documents? (y/N) · yes
✔ Who should have access? · Auth users only
Successfully added resource identifyTextd230b04a locally
When running Amplify push I got the following error:
Name: predictionsidentifyTexte10c3610 (AWS::CloudFormation::Stack), Event Type: create, Reason: Parameters: [access, format, identifyDoc] must have values
When I checked the parameters.json, I can see indeed that these 3 values are missing. It seems the CLI is not generating the correct values based on my choices.
Expected behavior
That "amplify push" succeeds.
Reproduction steps

Check out this project at this commit: https://gitlab.com/evertson90/theamplifyapp/-/commit/87db85a1acf0bf057fc86070cf3271d6990540c8
run "amplify add predictions"
See "describe the bug" section for answers I used
run "amplify push"

Project Identifier
bfaf6cb7a4743f03f665dbc0848381fe
Log output

# Put your logs below this line
🛑 Resource is not in the state stackUpdateComplete
Name: predictionsidentifyTexte10c3610 (AWS::CloudFormation::Stack), Event Type: create, Reason: Parameters: [access, format, identifyDoc] must have values

Additional information
I haven't used this project since june 2022. So the sudden jump of Amplify versions might be the problem.
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

Hey @evertson90 :wave: thanks for raising this! I was able to reproduce using CLI 10.8.1 where these values are not captured in the associated parameters.json
{
    "resourceName": "identifyText815fa47b",
    "identifyPolicyName": "identifyPolicy815fa47b",
    "authRoleName": {
        "Ref": "AuthRoleName"
    },
    "unauthRoleName": {
        "Ref": "UnauthRoleName"
    },
    "adminAuthProtected": "DISALLOW",
    "adminGuestProtected": "DISALLOW",
    "identifyType": "identifyText"
}

And to workaround this issue we can manually add the choices in this file:
{
    "resourceName": "identifyTextd699d656",
    "identifyPolicyName": "identifyPolicyd699d656",
    "authRoleName": {
        "Ref": "AuthRoleName"
    },
    "unauthRoleName": {
        "Ref": "UnauthRoleName"
    },
    "adminAuthProtected": "DISALLOW",
    "adminGuestProtected": "DISALLOW",
    "identifyType": "identifyText",
    "identifyDoc": true,
    "access": "auth",
    "format": "ALL"
}

Marking this as a bug 🙂
Note for fix, this is not reproducible with CLI 11.0.0-beta.8

Hello @josefaidt  I have the same for predictions on Android category but it misses access and the type property.

I add the same issue with IdentifyLabels
adding this
"access": "auth",
"type": "ALL"

to parameters.json fixed the push problem.
Thank you @josefaidt


support more overlayfs layers

Auto-detect longest common dir in lowerdir option and compact it if the
option size is hitting one page size. If does, Use chdir + CLONE to do
mount thing to avoid hitting one page argument buffer in linux kernel
mount.
More information is here #2497

Codecov Report

Merging #2502 into master will increase coverage by 0.03%.
The diff coverage is 47.36%.

@@            Coverage Diff             @@
##           master    #2502      +/-   ##
==========================================
+ Coverage   44.76%   44.79%   +0.03%
==========================================
  Files          93       93
  Lines        9555     9649      +94
==========================================
+ Hits         4277     4322      +45
- Misses       4585     4633      +48
- Partials      693      694       +1

Flag
Coverage Δ

#linux
48.97% <47.36%> (-0.02%)
:arrow_down:

#windows
41.04% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

mount/mount_linux.go
26.01% <47.36%> (+26.01%)
:arrow_up:

Continue to review full report at Codecov.

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

I see.... the docker/docker/builder using the re-exec....

mount code LGTM

ping @dmcgowan @stevvooe @AkihiroSuda
please take a look~ thanks

LGTM

LGTM


Reporting figures for 2022

OS Hub needs the following figures for 2022 for their reporting requirements:

average # of affiliations per facility
Percentage of database with more than one affiliation

Tagged CAN pending OS Hub timeline.


Performance issues

Site hangs every month or so and the application server needs to be restarted. The instances of the application are staying around.
The application is using an excessive amount of memory after some time. It's currently using 4.2 GB of memory!

Hi @cmckni3!
What version are you using?
I am using 2.2.1 in camaleon site with 991 demonstration sites and it is using 2.4GB of memory.
Previous to 2.2.1 the helpers of current theme + helpers of installed plugins was loading on demand which was changed to avoid that kind of problems.
Regards,

I'm running 2.1.2 but I don't want to update if it's going to break the entire site.

Ufffff, then:
maybe you can add this change manually:

Add this in the line 28

PluginRoutes.all_helpers.each{|h| include h.constantize }

Comment the line 55.
https://github.com/owen2345/camaleon-cms/blob/2.1.1/app/controllers/camaleon_cms/camaleon_controller.rb

By this way you can avoid to load helpers for every request.
Regards,

undefined method `all_helpers' for PluginRoutes:Class

Here is the function:
https://github.com/owen2345/camaleon-cms/blob/master/lib/plugin_routes.rb#L183

Yeah I added it


ADD: Better Fees Handling

Desired
A simple rule of thumb to follow.
This issue relies on implementing this: https://github.com/xchainjs/xchainjs-lib/issues/299 first, which is to change the suggested fees from thirdparty to THORChain gas oracle.
FEES
Three fees in THORChain:

The on-chain deposit transaction fee (inbound tx)
The liquidity fee as a function of slip
The on-chain redemption transaction fee (outbound tx)

For clarity, the two chains will be referred to as the inboundChain and the outboundChain

Inbound Fee
Get from inboundChain.getFee(params, "fast") -> the fee the user will pay to make the tx
Liquidity Fee
Do not show to the user, since it is included in the quote
Outbound Fee
Get from 3 * outboundChain.getFee(params, "fast") -> the fee that will be deducted from outbound/refund/withdrawal
THRESHOLDS
If a user swaps/adds liquidity to a chain, two things could happen:

swap is successful, the outboundFee will be deducted from the output
swap/add fails, the outboundFee will be deducted from the refund

So, do not let the user send an amount less than the higher of the two.
Implementation
Firstly, make sure the outboundFee for calculations is computed in the value of the inbound side:
outboundFeeInInboundAsset = getValueOfToken1InToken2(outboundFee, outboundAsset , inboundAsset)

"Estimated Fee". -> Display this to the user
minInputAmount -> Do not let the user input less than this (use form validation).
Swaps
"Estimated Fee" == inboundFee + outboundFee
minInputAmount = max(inboundFee, outboundFeeInInboundAsset) // swap or refund

Add liquidity
"Estimated Fee" == inboundFee
minInputAmount = max(inboundFee, outboundFeeInInboundAsset)  // add or refund

Withdraw Liquidity
"Estimated Fee" == inboundFee + outboundFee // withdrawals

A faster way to do it
InboundFee
BTC/LTC/BCH = 1 * gasRate (sat/byte) * 250 (bytes)
BNB = 1 * gasRate (sat/byte) * 1 (bytes)
ETH = 1 * gasRate (GWEI) * 70000 (units)
OutboundFee
BTC/LTC/BCH = 3 * gasRate (sat/byte) * 250 (bytes)
BNB = 3 * gasRate (sat/byte) * 1 (bytes)
ETH = 3 * gasRate (GWEI) * 70000 (units)


Properly handle auth verification

Currently, the API is unprotected. It should expect an Authorization token in the headers that the service checks to verify the caller identity before sending any emails. This is a hard requirement before "release".

Basic work towards this has been started in #6


Calc expressions do not work for UInt64

This outputs raw value in bytes:
{calc:Binding MemoryUsage.UsedBytes, Mode=OneWay}
However, this just outputs empty string (should output kilobytes):
{calc:Binding MemoryUsage.UsedBytes/1024, Mode=OneWay}
UsedBytes if of type UInt64.

DynamicExpresso.Interpreter used by CalcBinding to process expression has not implemented implicit conversion between 2 types.
To make your code working , just add 'UL' suffix to the constant:
{calc:Binding MemoryUsage.UsedBytes/1024UL, Mode=OneWay}


Automated cherry pick of #2568: fix host maintenance

Cherry pick of #2568 on release/2.10.0.
#2568: fix host maintenance

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.10.0@a644f9c). Click here to learn what that means.
The diff coverage is 0%.

@@               Coverage Diff                @@
##             release/2.10.0   #2572   +/-   ##
================================================
  Coverage                  ?   7.65%
================================================
  Files                     ?     411
  Lines                     ?   64327
  Branches                  ?       0
================================================
  Hits                      ?    4923
  Misses                    ?   58981
  Partials                  ?     423

Flag
Coverage Δ

#aFlag
7.65% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/guests.go
0.67% <0%> (ø)

pkg/compute/models/guest_actions.go
0% <0%> (ø)

Continue to review full report at Codecov.

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


Layout::right_to_left() clips the group frame

Describe the bug
The following code:
    egui::CentralPanel::default().show(ctx, |ui| {
        ui.group(|ui| {
            ui.with_layout(Layout::right_to_left(), |ui| {
                ui.button("Right");
            });
            ui.label("Left");
        });
    });

produces this UI:

Note that the Left label is not only at the bottom of the window but also clipped, and the frame of the group is clipped as well.
Desktop (please complete the following information):

Windows 11
egui 0.18.1

As documented, with_layout takes up all available space. So any call after that will have no space left.


DOI bibxml error

Describe the issue
I the error "Error resolving bibliographic item. Tried methods: auto (DoiAdapter: ): uncategorized issue, fallback (): not indexed"
when I tried to query:

https://bib.ietf.org/public/rfc/bibxml7/reference.DOI.10.1007/3-540-60865-6_43.xml
https://bib.ietf.org/public/rfc/bibxml-doi/reference.DOI.10.1145/2975159.xml
They are working fine now.

Both work fine now.
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

In the logs:

Do these types of queries make a GET request to crossref.org?

Hi @kesara ,
We retrieve DOI data from Crossref using their API. It looks like their system was down when you tried to make that request.
Can we close this issue as it's not persisting?

@stefanomunarini I'm okay with closing this issue.
Can we provide a more helpful error message for the users?

@kesara caching seems like to me a good solution. We can for sure improve error message for the users. I'll take care of this over the next few weeks


Update WSDLCreator.php

replace apache_request_headers with new function getallheaders

Why I should merge this changes? Any reasons, problems?
This should have implemented this http://php.net/manual/en/function.getallheaders.php#84262 if you use nginx, because your function is only alias for apache_request_headers.


Variable event handlers

The event handler properties should be variable. I can do this in JS:
document.getElementById("foo").onclick=bar;
But I can't do it in Ceylon:
if (is HTMLElement e = document.getElementById("foo")) {
  e.onclick=bar;
}

Because I get an error that onclick is not variable.

@bjansen is this something that can still be done for 1.3.0? (I'm guessing this is also something simple, but, again I could be wrong)

I'm on it, 'cause I need it soon


How to connect two user anonymously in a conversation?

I could not found any information about Microsoft chatbot for connect two user in a conversation. NearGroup chatbot does it. I wonder if it is possible via using Microsoft chatbot  framework

Can you please explain your use case further so we can try to assist you better?

For example, in NearGrop chatbot, you can chat with another chatbot user  via chatbot but, none of you can see each other's information. Basically chatbot take message from you and send other user and vice versa. We can think it as anonymous chat app.

@wethil Are you using .NET or Node.js SDK for BotBuilder?

Node.js

This is not a feature of bot framework.  This would be channel specific.  Bot framework does not control your profile on a channel like facebook.
Closing this issue, but feel free to continue the discussion if you would like


  Are they $ref'd from some schema?  The assets/Layer schema uses the URI @lrosenthol mentioned above.

@lrosenthol

https://ns.adobe.com/xdm/assets/layer is an $id, defined in layer.schema.json
http://ns.adobe.com/core/1.0/sType/Layer# is a namespace URI, mapped to  the stLayer: prefix (in extensible.schema.json. The prefix is used for following properties:

stLayer:originX
stLayer:originY
stLayer:width
stLayer:height
stLayer:unit

http://ns.adobe.com/core/1.0/sType/LayerGroup# is a namespace URI, too, but unused
http://ns.adobe.com/core/1.0/sType/Artboard# is the same

If we remove the LayerGroup# and Artboard# URIs, no semantic change will be made to XDM, but we can reduce the number of defined namespace URIs by two.

stLayer:originX - can be renamed to xdm:originX, which isn't used yet
stLayer:originY - can be renamed to xdm:originY, which isn't used yet
stLayer:width - can be renamed to xdm:width (there is only activitystreams:width which is similar)
stLayer:height - can be renamed to xdm:height (there is only activitystreams:height which is similar)

The last question is what to do with stLayer:unit

Unit used for artboard coordinates (originX, originY, width and height). For example: inch, mm, pixel, pica, point (default is pixel)

I would merge it with xdm:unit

"The unit that this metric is measured in. Whenever possible, metrics should follow the SI base units or be ISO 4217 currency codes. For measures that are counts, the xdm:unit must be null.

We would need to build a consolidated list of known units. From the two lists we have right now, the only overlap is mm, for "millimeters".

Layer needs a complete revamp!  It was taken from the PSD XMP grammar and doesn't reflect the wider uses for one.  Better to mark it as not stable and I'll work on cleaning it up (along with Artboard, etc.) in the coming weeks.

Ok. Any objections to the consolidation of the other properties I’ve mentioned?

Closing - will reopen new ones as needed.


fix install hosted in other ns

Summary
Related issue(s)
https://issues.redhat.com/browse/ACM-14314
Fixes #
Tests

[ ] Unit/function tests have been added and incorporated into make unit-tests.
[ ] Integration tests have been added and incorporated into make integration-test.
[ ] E2E tests have been added and incorporated into make e2e-test-all.
[ ] List other manual tests you have done.

@clyang82 @ldpliu , I think we should also update the addon controller to let the cma using the placement&addondeploymentconfig in the mgh installed namespace, refer https://github.com/stolostron/multicluster-global-hub/blob/main/operator/pkg/controllers/addons/addons_controller.go#L50-L66


Do not require the db-setup container to hang around forever

Is your feature request related to a problem? Please describe.
I think it is bad design to have the db-setup container hang around forever serving an empty dir.
Describe the solution you'd like
I'd prefer if the successful completion of the db-setup could be checked in another way.
One possibility would be to use a container-orchestration feature for this.
In kubernetes init-containers would be appropriate. Docker-compose also just recently added a similar feature: https://github.com/docker/compose/issues/6855
Describe alternatives you've considered
Another possibility would be to check for the existence of some database table or something in the server entrypoint.
(Instead of waiting for the port 8000 on the db-setup container)
Additional context
Relevant lines:
https://github.com/OpenSlides/OpenSlides/blob/4f35770769eeb71c22935a885bf82534a2be8934/server/docker/entrypoint-db-setup#L82
https://github.com/OpenSlides/OpenSlides/blob/4f35770769eeb71c22935a885bf82534a2be8934/server/docker/entrypoint#L17

In kubernetes init-containers would be appropriate. Docker-compose also just recently added a similar feature: docker/compose#6855

Unfortunately, at openslides.com we're not quite ready to switch away from Swarm, so at least I'm personally not convinced quite yet. :)
For now, I would be happy to look at alternatives that work with Swarm though.  I imagine it could even be as simple as exit 0 in combination with the correct restart_policy.
For the longer term, thanks for pointing out init containers.

Another possibility would be to check for the existence of some database table or something in the server entrypoint.
(Instead of waiting for the port 8000 on the db-setup container)

Well, it kind of used to work that way but it wasn't sufficient.
If I remember correctly, the main reason for introducing the specialized server-setup service was to avoid race conditions.  By never scaling server-setup beyond 1 and letting it handle the setup we can also spawn multiple server containers without having them all try to do database migrations simultaneously.
This is certainly a workaround.  A more elegant solution would probably use database locks but I don't know how feasible changing that would be.

Yes, init containers sounds right. If it is fully released (I didn't checked the status) someone can try it out.

Unfortunately, at openslides.com we're not quite ready to switch away from Swarm, so at least I'm personally not convinced quite yet. :)

As I understand, the mentioned docker-compose feature is also available in docker swarm.


watchActiveIndex  was removed?

why remove watchActiveIndex of basic options?
this’s my packages

use readIndex

Hey dude, readIndex is do not work

use readIndex

Oh sorry, my mistake.
use realIndex

Oh sorry, my mistake.
use realIndex
it it not work, i want to get the activeIndex when i touchMove the swiper-slide.when i touchMove,the className swiper-slide-active is change.

like this

Oh sorry, my mistake.
use realIndex
it it not work, i want to get the activeIndex when i touchMove the swiper-slide.when i touchMove,the className swiper-slide-active is change.

Oh sorry, my mistake.
use realIndex

now fact is , the className swiper-slide-active is changed when i touchEnd

Oh sorry, my mistake.
use realIndex

can you write a demo give me? thanks


refactor: migrate to v1.casbin.org

Replaced by: https://github.com/casbin/casbin-website/pull/365


Authorization prompts

Some services (Syncthing in my case), have a popup authorization prompt rather than something on the page itself. I'm not familiar with what this authorization method is, but it's the same thing my router uses for its admin UI. When my error-pages range includes status code 401, error-pages intercepts and presents the unauthorized page, never giving the popup the chance to... pop up. Right now I've just set my range to 402-599 to avoid this, but I thought you should know in case there's something that can be done to fix it.

I can't fix this on the error-pages side :( Please, ask for the solution in the https://github.com/traefik/traefik repository

Hi @tarampampam, I have a similar case where I use the basic authentication middleware for accessing the Traefik panel and also with other containers:
labels:
      - traefik.http.middlewares.admin-auth.basicauth.users=${TRAEFIK_USERNAME}:${TRAEFIK_HASHED_PASSWORD}

When one clicks cancel at the login prompt the text message 401 Unauthorized from Traefik appears, not the custom one from error-pages.
Is it possible to fix this?
I'm using Traefik v3.0.1 and this is the part I use with error-pages:
error-pages:
    container_name: error-pages
    image: tarampampam/error-pages:${ERROR_PAGES_TAG:-latest}
    depends_on:
      - traefik
    networks:
      - traefik-public
    environment:
      LISTEN_PORT: ${ERROR_PAGES_LISTEN_PORT}
      TEMPLATE_NAME: ${ERROR_PAGES_TEMPLATE_NAME}
      DEFAULT_ERROR_PAGE: ${ERROR_PAGES_DEFAULT_ERROR_PAGE}
      DEFAULT_HTTP_CODE: ${ERROR_PAGES_DEFAULT_HTTP_CODE}
      SHOW_DETAILS: ${ERROR_PAGES_SHOW_DETAILS}
      DISABLE_L10N: ${ERROR_PAGES_DISABLE_L10N}
    labels:
      - traefik.enable=true
      - traefik.docker.network=traefik-public
      - traefik.constraint-label=traefik-public

      - traefik.http.middlewares.error-pages.errors.status=400-599
      - traefik.http.middlewares.error-pages.errors.service=service-error-pages
      - traefik.http.middlewares.error-pages.errors.query=/{status}.html

      - traefik.http.routers.router-error-pages-http.entrypoints=http
      - traefik.http.routers.router-error-pages-http.rule=HostRegexp(`.+`)
      - traefik.http.routers.router-error-pages-http.priority=1
      - traefik.http.routers.router-error-pages-http.middlewares=error-pages

      - traefik.http.routers.router-error-pages-https.entrypoints=https,entrypoint-forwardedHeaders-trustedIPs
      - traefik.http.routers.router-error-pages-https.rule=HostRegexp(`.+`)
      - traefik.http.routers.router-error-pages-https.priority=1
      - traefik.http.routers.router-error-pages-https.tls=true
      - traefik.http.routers.router-error-pages-https.middlewares=error-pages

      - traefik.http.services.service-error-pages.loadbalancer.server.port=${ERROR_PAGES_LISTEN_PORT}

P.S.
Among other things, I would like to point out that in v3.x of Traefik, if I'm not mistaken, they seem to have removed the named regex routers (e.g. HostRegexp(``{host:.+}``) becomes HostRegexp(``.+``)).


Remove upper-left text

Fails

:no_entry_sign:
Please provide a meaningful description for this pull request.

  Generated by :no_entry_sign: dangerJS against 8937034b47ba85c4877eb71600ae1d07faf8eb45


EMAILPLT-180: Bootstrap-ized the rollup.jsp

https://issues.jasig.org/browse/EMAILPLT-180
Added Boostrap styles to rollup.jsp

merged out-of-band.


[Enhancement] hive metastore cache max num is configurable by catalog properties

What type of PR is this：

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Some users have large tables with many partitions, so the catalog level cache num is not enough.
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[x] 2.5
[ ] 2.4
[ ] 2.3

run starrocks_fe_unittest

run starrocks_admit_test

run starrocks_admit_test

[FE PR Coverage Check]
:heart_eyes: pass : 4 / 4 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/connector/hive/CachingHiveMetastoreConf.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/connector/CachingRemoteFileConf.java
2
2
100.00%
[]

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.5


What is the best way to read a pin from Posit Connect directly into polars?

What is the best way to read a pin from Posit Connect directly into polars?
I have found a few options that work, but none of them are exactly what I am looking for.
(1) Use pin_download
This method is my favourite, but it requires one extra step, I can't get a polars dataframe directly from pin_read.
import pins
import polars as pl

board = pins.board_connect()
paths = board.pin_download("sam.edwardes/vessel_verbose_raw")
pl.read_parquet(paths)

(2) Use pandas
This works, but requires me to have pandas installed. I also assume there is some kind of performance hit b/c you first read into pandas, then into polars?
import pins
import pandas as pd
import polars as pl

board = pins.board_connect()
pl.DataFrame(board.pin_read("sam.edwardes/vessel_verbose_raw"))

(3) Use fsspec
I have not figured out how to implement this yet, but I found this example for duckdb:
https://github.com/rstudio/pins-python/pull/193
Is there a way to do this with polars?
Related issues

https://github.com/rstudio/pins-python/issues/153
https://github.com/rstudio/pins-python/issues/32

Suggestions
It would be nice if pins gave me a choice about what DataFrame library is used with pin_read. For example:
import pins
import polars as pl

board = pins.board_connect()
board.pin_read("sam.edwardes/vessel_verbose_raw", df_library='polars')

Oh this is a great question! There is currently no official way to read pins directly into polars. I would likely lean towards your option 2. pandas is a dependency of pins, so pandas will already be installed; you don't have to import it or have a special extra install. That way, you're able to keep the standard pin_read <> pin_write workflow. This preference is partially due to the fact that pins are usually storing small/medium sized data sets (the general rule of thumb is 500MB or less), so the performance difference is less important than in a big data environment.
I do see many packages moving to a dataframe library agnostic approach and am definitely interested in what that would look like for pins 👀

Some thoughts about a design for supporting multiple DataFrame families in pin_read:
I agree with @SamEdwardes that the best thing would be a new string argument like df_library, defaulting to None. To begin with, None might be interpreted to mean "use pandas".
In the longer run, something global might change the behaviour of None:
import pins
pins.set_default_df_provider("polars")

Perhaps this would be at the board level rather than completely globally.
Also, the python_df_library could be stored as metadata in the pin itself, and by default pin_read would use whatever DataFrame type was used in pin_write (if available).
On the other hand, it's not too hard to run pl.DataFrame(board.pin_read("mypin")) to undergo the conversion; it also doesn't add much readability above board.pin_read("mypin", df_library="polars"). So I think this is fairly low priority to add.
Lastly, I think that geopandas (#249 / #254) has a similar issue where a user might want a standard .parquet file loaded as a GeoDataFrame, rather than pandas.DataFrame.

What do people feel about some blend of a global option (with the default being pandas) + Options(frame_cls) at the board level? The behavior would be: if the board level option is specified, use that, otherwise fall back to the global option. Then people would be able to have multiple boards with different dataframe types if that's their style or set it once they're sole pandas/polars users.

I think that's a good balance and has the advantage that it avoids adding a Options class argument to pin_read which I think would be a bit clunky.
One question to answer would be: what if the file type has multiple df libraries supported, but none of them are the global deafult or board default? There's still an ambiguity in that case. So maybe the API needs to allow you to set an ordered prioritization between libraries. Alternatively, the user could just temporarily change the global default... that's a bit hacky though.
Also, what if a user does want to deal with multiple df libraries per board? One way to handle this might be to have a context manager implementation like this, which would over-ride any other board or global config:
with pins.force_df_provider("polars"):
    df = pin_read(...)

I don't have a strong preference on the implantation, but one outcome that would be nice for for things like intellisense to work. For example, VS Code should know if it is getting a pandas dataframe or polars dataframe back so that it can show me the correct auto-completion.


Mention the kiota-java-extra repository

It's finally more official, so worth adding it to the Readme 🙂

if you want we could start a PR for the docs site (microsoft.github.io/kiota) on the main repo as well. We should be to add:

this
that
and the vs code extension in the future.

Don't hesitate to get started on the PR, adding a new page under the welcome to kitoa section should do it for now.


ISSUE #1313 Added a new file index.html

i have added index.html file for random quote generator

fix  #1313


Running binaries from different Operating Systems

SimEng should be able to support codes compiled across a variety of commonly used operating systems (RHEL, CentOS, macOS, Windows, Ubuntu, etc), and in turn their libraries. Recent unexpected behaviour concerning the calling of mmap system call on RHEL and CentOS has meant simple programs compiled on these systems cannot currently be simulated by SimEng.
A way to create these binaries must be set up and developments to fix the lacking support must be carried out.

Given recent changes made in multi-thread-support branch which solidifies our implementation of MMAP syscall, and the general improvement of our Linux ELF and syscall emulation found in release 0.9.5, I propose closing this issue and instead opening two/three new issues titled "Support dynamically linked binaries", "Support Mach-O binaries", and "Support EXE binaries" (the latter only if we still want to add support for Windows compiled executables, which, given we do not support running SimEng on Windows currently may not be within scope).
Given how different each of these three tasks are, splitting this issue up makes each goal more achievable in my opinion.

Agreed, this older issue is best split into the recommended newer issues which better align with recent developments. Currently, there's no active plan for supporting Windows or its executables so I think it's best left out for now and reconsidered in the future.

Closing this issue based on the above, and opening two new issues for Dynamic linking support and Mach-O executable support


Is it possible to disable the Member ID validation?

Hi,
I have a specific relationship that I handle manually in the Adapter, to allow both new and existing models to be created/updated in the same request. (in order to save request-count)
However even though the relationship is marked as "Guarded" to prevent any built in relationship handling, it'll still fail with an error 400.
detail: "The member id is required."
Is it possible to remove this validation for specific relationships to handle it manually?
Cheers,

Submitting resource identifiers without an id member is against the spec - which is why you're getting that message. The spec says:

A “resource identifier object” MUST contain type and id members.

As this package is about delivering JSON-API compliant APIs, it's not possible to disable something that is defined by the spec.
If you want to do something that is non-spec compliant, don't register the route for that relationship via the routing helpers provided by this package. Then manually implement the route via normal Laravel route definitions... i.e. handle it yourself.
FYI the spec is aiming to support Operations at some point (hopefully soon), which will solve the problem that you're trying to solve by your work-around. I'm definitely planning to add support for that as soon as it is introduced to the spec, because I need to use it too!

Alright.
I know it's in the spec, which is why I have a workaround right now, but I'd prefer to keep it as clean as possible.
Let me know if I can be of help when it's introduced to the spec.
Cheers

Ah thanks and no problem! As I say, use the work-around of registering your own relationship route for the mo and hopefully Operations will be great when they get added to the spec!!


How to change the style of a specific value on a line chart

I have a line chart that show values below and above 0. I want my below-zero values to be red, and my above-zero values to be blue. Is it possible?
Also, i want to style the line at 0 to be more appealing, with a darker color and even ticker. Is it possible?
Thanks!

Hey, please ask implementation questions on #chartjs on Stack Overflow.  There's a link in the readme.


[Feature Request] Can the element UI table be dragged?

Existing Component
是
Component Name
el-table
Description
Can the element ui table be dragged?

No. Why is it necessary


Update CI for CoreCLR Builds

Moving to Sprint 90. This should happen after #6 so the CI should be updated to build and test.

This is (nearly) done for xplat full framework. Need to run/test with coreclr.

@rainersigwald Can we close this issue?  There's no description so I'm not sure exactly what it's supposed to cover.

Given that the CI build is working for .NET Core in xplat, and #342 covers also running it for full framework, I think this issue can be closed.


[test] libSyntax: add a flag to swift-syntax-test to print trivial node kinds.

These trivial node kinds include node collections like stmtlist and unknown syntax like UnknownExpr.

@swift-ci please smoke test

@swift-ci Please smoke test and merge


[Service Bus] Processor Event docs

Summary
The focus of these changes is to annotate the events for the Service Bus processor types to advise against attempting to start/stop the processor from within the handler code.

Do we need a similar update for EventHubProcessorClient?

Do we need a similar update for EventHubProcessorClient?

It's already in the docs there.   😄


Add option to bundle only dependencies

Adds a commandline option, -d, to bundle only the dependencies for the specified executable or library, and omit copying the actual library.
The use case for this was when I was copying libraries when bundling my graphical Cygwin application, and there were libraries and executables that needed to go into specific places. I ended up copying them to /bin to pull the dependencies in, and then removing them from /bin again.
Another use case is installing dependencies for an already-present DLL or executable that was copied as part of a folder structure, and this option avoids the need to then go and delete the DLL from the folder where you want its dependencies to be.

Ah yeah, I must have messed up my pull request for #2. It's all learning I guess :)


Breaking imports of go.opentelemetry.io/otel/sdk for 1.21.0

The build test failure indicates the tracerProvider @HEAD has not implemented the interface from the upstream.
pkg/reconciler/taskrun/controller.go:92:30: cannot use tracerProvider (variable of type *tracing.tracerProvider) as type "go.opentelemetry.io/otel/trace".TracerProvider in struct literal:
	*tracing.tracerProvider does not implement "go.opentelemetry.io/otel/trace".TracerProvider (missing tracerProvider method)

When looking into this, there seems to be 2 issues that need verification:

The tracerProvider interface has changed in this version upgrade with an embeddedTracerProvider: https://github.com/open-telemetry/opentelemetry-go/blob/d37d851bbce65577ab340849ec6c540fdc6e3096/trace/embedded/embedded.go#L36
trace.NewNoopTracerProvider() is deprecated and the up-to-date func should have the interface implemented.

Originally posted by @JeromeJu in https://github.com/tektoncd/pipeline/issues/7387#issuecomment-1843395375

cc @kmjayadeep

I'm working on updating to otel 1.21. It also deprecated jaeger exporter in favor of otel exporter, which makes the update not so-straightforward.
You can find the WIP PR here
Is this blocking anyone currently?

I'm working on updating to otel 1.21. It also deprecated jaeger exporter in favor of otel exporter, which makes the update not so-straightforward. You can find the WIP PR here

Thanks for this! I think this PR also works fine for the bump, just failed the go coverage test IIUC.

Is this blocking anyone currently?
I don't think this is a blocker at the moment.

@kmjayadeep the bump to containerd "seems" blocked on this.

A lot of dependabot PRs are blocked on this. For some reason, dependabot tries to update it with other dependencies, making them all fail (instead of just updating the ones).

@vdemeester I will check my WIP PR once again and raise upstream in the next couple of days

I can reopen this https://github.com/tektoncd/pipeline/pull/7465 if it looks good. @vdemeester @kmjayadeep

The proper solution is to migrate jaeger to otel exporter and upgrade to 1.21. I have raised https://github.com/tektoncd/pipeline/pull/7547 for this.
@JeromeJu In your PR, jaeger exporter is from otel 1.17 and SDK is 1.21. I'm not sure if there will be any compatibility issues with that. But if it works without issues, I would suggest to go ahead with it and unblock others. I can rebase afterwards on my PR. 7547 will take longer to review and test anyway.


add X-GitHub-SSO to response-headers

Awesome! Thanks you kindly, good sir (@gr2m). 👍

https://developer.github.com/v3/auth/#authenticating-for-saml-sso

@armw4  I was reading the article you attached above.. What does the statement below actually means?
"Visit the URL specified in X-GitHub-SSO to whitelist the token for the organization."
I was trying to connect to my organization repository with sourcetree.. but I couldn't get it work.. Guess I might not whitelisting my repository correctly..

Hmm...it’s been a while since I dealt with this. I recall needling to interrogate the aforementioned response header inside my express.js app to determine if SSO was enabled for an organization. I believe I tenderer an error message of sorts to warn the user they needed to use a token which encapsulates the SSO authorization as opposed to Basic Auth. The token takes SSO into account and is more restrictive as opposed to all encompassing and permissive like Basic Auth (you have to explicitly grant org access, repository access, etc.).

Yes! I found it. You need to use a Personal Access Token to access web resources when SSO is enabled. It allows the admin to track your access and tokens (great for Enterprise-Grade organizations). I encountered this while building an Atlassian Connect Express Jira Cloud add-on.

@armw4  Thank you so much for responding so quick, and spending time on researching this
Unfortunately I wan't get Sourcetree work even with the Personal Access Token.. I changed to use GitKraken, and it seems much easier to setup ...
But thanks again ((I hope I can offer you a beer)...

Haha..no problem sir have a great 21st of October, 2019 ⭐ 🌍 ☮