 add EnqueueRequestsFromMapFunc for secret watch to correct secret update on driver pod

The problem is that after secret used by flashsystemcluster CR is changed, there is no reconciling action to update driver.
The fix is to add EnqueueRequestsFromMapFunc on secret resource to trigger reconciling on corresponding flashsystemcluster CR.

Do you mean CSI driver CR gets changed after using secret? It should not happen and what exactly gets changed in it?

@iamniting  Thanks for your comments.  Code is updated with an enhancement through CredentialResourceVersion to force odf driver update once corresponding secret is changed.

@iamniting Thanks for your comments. Code is updated with an enhancement through CredentialResourceVersion to force odf driver update once corresponding secret is changed.

As of now you have 4 commits, I think you should squash them into 1

@iamniting  thanks for the suggestion. Commits are now squashed to 1.


Frontend: Vanilla JS

Description
This issue will cover Everything related to Vanilla JS .
Domain
Frontend Dev HTML/CSS/JS
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


Add a space between an and on in the paragraph below

While this article does not cover availability options external to SQL Server, such as those provided by virtualization, everything discussed here applies to SQL Server installations inside a guest virtual machine whether in the public cloud or hosted by anon premises hypervisor server.

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

ID: 76208061-3c5d-758a-6704-dd7f546d5545
Version Independent ID: 6ea99630-2750-17b2-b64b-b6fa8464e1dc
Content: Disaster recovery for SQL Server - SQL Server
Content Source: docs/database-engine/sql-server-business-continuity-dr.md
Product: sql
Technology: high-availability
GitHub Login: @MashaMSFT
Microsoft Alias: mathoma

Hi @ManojNair,
Thank you for contacting Microsoft and providing your feedback to our documentation!
If you're suggesting a simple change to the documentation, it may be faster for you to submit the edit yourself via a Pull Request (PR). You can do so by following these steps:

Navigate to the page of interest
Select the "Edit" button at the top right of the page
Select the "Pencil" icon on the right
Modify the text within the text box in markdown format
Name your file change and copy the link to your Git Issue into the "extended description" box
Select "Propose file change"
Select "Create pull request" on the 'Comparing changes' page
Select "Create pull request" on the 'Open a pull request' page
Wait for an author to review and approve the change request - this can take a bit depending on the complexity

Doing so will allow authors to directly add your text to the documentation. This also displays your github image on the page of authors, and list you as a contributor to the documentation.
Otherwise, we would be happy to make this change for you :)
Thanks again for your submission, and hope you have a wonderful rest of your day!

@ManojNair Thank you for the feedback!  This issue appears to have been resolved.
Please comment below if there are any further questions.


Event cell color different for each event (issue #823 follow up)

Hello @acro5piano,
On my previous answer on the #823 issue, I tried to change the style with the prop eventCellStyle, which worked, but it changed all events colors at the same time.
My goal is to have different colors based on the type of the event.
I have a function that returns the style based on the type, but eventCellStyle takes only one style, right ?
I cannot give it an array (or a prop color on each event) that could take multiple styles in order to have a specific style on an event, or am I missing something ?
I also tried to give a look at EventRenderer, but it seems that your stroybook is no longer found on github https://github.com/acro5piano/react-native-big-calendar/blob/main/stories/index.stories.tsx

Thanks for your issue.

I have a function that returns the style based on the type, but eventCellStyle takes only one style, right ?

I didn't notice this, but yes. I'll the code to enable to have multiple styles soon.

I also tried to give a look at EventRenderer, but it seems that your stroybook is no longer found on github

Fixed!

Fixed on v3.4.1, without changing code. It was just type-changed.
@nicolas-chalant Can you try the new version? It might work only on the Web platform. Thanks

Thanks for the update, I'm checking it !

With the storybook I reached my goal ! Thanks again for your help.
I did not need the style array actually, but I tried it and it seems to work.
For those wondering, I used a customize event with a color prop and add those lines in the calendar :
eventCellStyle={(event) => {
      const backgroundColor = event.color
      return { backgroundColor }
}}

How did you do this? Can you please share the storybook you're referring to? :)

Hello @acro5piano  @nicolas-chalant,
Firstly, thank you for this component, very useful.
I am wondering if it is possible to set the event color based on the data passed in. For example my dataset looks something like this:
{title: "meeting",start:new Date(), end: new Date(), color:"red"}
Is it possible to set the calendar entry color to match the color property in my object? If so, how?
Thank you!


Reduce threshold for recent travel advice

The current behaviour is that the travel advice must be at least an hour old before we start alerting on it.
15 minutes is probably a more reasonable threshold. Users should have received emails within 15 minutes of the advice being published.

👍


[Experimental] Mesh Shader

Long story short, the performance did not improve as expected.
Initially, I envisioned merging four vertex shader executions into a single mesh shader execution, which theoretically should have reduced the amount of logic to be executed and improved performance.
However, the actual results were quite the opposite. On my M1 MacBook Air, the rendering time per frame increased to about 400% of the original, possibly due to lack of hardware support. Even when tested on an iPhone 15 Pro with hardware acceleration, the performance was still unsatisfactory. Given the disappointing results, I didn't bother to analyze the specific data in detail 😝.
This PR is essentially an interesting experiment. If anyone is interested, feel free to try it yourself or join the discussion. It's possible that there are aspects of my implementation that could be improved.

In that spirit I'll share a similar experiment I keep feeling like should work but has always resulted in a slowdown (maybe ~~10%): a similar preprocessing phase, but using compute shaders.
https://github.com/scier/MetalSplatter/tree/scier/preprocess-compute-shader


Open SCMB connection

As oneview-redfish-toolkit user, when I configure authentication mode to conf file based and if the these credentials have administrator priviledge, I connect to HPE OneView SCMB. If this connection fail, the user should receive an proper error message.

blocked by:
https://github.com/HewlettPackard/python-hpOneView/issues/359


Unable to access Yobit with version 0.3.0

Getting error message while trying to connect to Yobit, "yobit GET https://yobit.net/api/3/info 503 Just a moment..."
Can you please have a look into this issue as Yobit is literally used for every pump group lol. Thanks so much.
I graduated 3 years ago with Computer Science degree but end up working in a different field for the last 3 years. I'm preparing myself to get back into coding and become a developer full time. I'm doing ASP .Net projects at the moment to get ready for job hunting, when I have spare time I will help you to make this bot even better!

should work with alpha3


Where is the code for COBB?

We will publish the code of COBB and the benchmark in a few days.

https://github.com/514flowey/JDet-COBB
@avenger123456

Code has been publicated in https://github.com/514flowey/JDet-COBB


Fix logo image sizing in README.md

…turns out GitHub's Markdown parser does some weird stuff to images.
🤦♂

Thanks, @dissolve!


FS bug

Using FS API:

Create /new_folder_1
Create /new_folder_1/new_folder_2
Create /new_folder_1/new_folder_2/new_file and write something into it
Remove /new_folder_1/new_folder_2/new_file
Removing /new_folder_1/new_folder_2 does not work any longer: it can be removed only after resetting the module

You mean the function to delete folders will only take effect after restart. Which function do you use?

You mean the function to delete folders will only take effect after restart.

To be exact, this function has no effect before restart. It has to be called after restart to remove folder_2. The function is API_FS_Mkdir(path, 0) the way it is implemented in micropython:
mp_obj_t mp_vfs_mkdir(mp_obj_t path_in) {
    const char* path = mp_obj_str_get_str(path_in);
    if(strcmp(path,"/")==0 || strcmp(path,"/t")==0)
    {
        mp_raise_OSError(MP_EEXIST);
    }
    int32_t ret = API_FS_Mkdir(path,0);
    if(ret != 0)
        mp_raise_OSError(MP_EIO);
    return mp_const_none;

You mean that the function that generates folders is only valid if it is called after reboot, rather than following your initial steps.

Sorry, the problem is ofc with the removal:
mp_obj_t mp_vfs_rmdir(mp_obj_t path_in) {
    const char* path = mp_obj_str_get_str(path_in);
    if(strcmp(path,"/")==0 || strcmp(path,"/t")==0)
    {
        mp_raise_OSError(MP_EINVAL);
    }
    char* path0 = (char*)malloc(160);
    memset(path0,0,160);
    API_FS_RealPath(path,path0);
    int32_t ret = API_FS_Rmdir(path0);
    free(path0);
    if(ret != 0)
        mp_raise_OSError(MP_EIO);
    return mp_const_none;
}


cannot use Promise to retrieve header

I can use a promise to retrieve the rows for the csv file, but I cannot seem to use a promise to retrieve the header, e.g.:
     <button
        type="button" ng-csv="getArray(acquisition)"
       csv-header="getCSVExportFileHeader()"
       filename="cdt-export-{{acquisition.companyName}}.csv">

     $scope.getCSVExportFileHeader = function(){
          return HomeService.getCSVHeader(); // returns a promise
       };

I don't think this library can handle a promise here - of course, there is a race condition if the header returns after the array, but I think the users of the library can handle this race condition :)
So my request is for you to support a promise to retrieve the header, thanks!

@ORESoftware - I am unable to retrieve promise data in the csv file.
can you please share scope method which returns the promise for data.


added xz file/lzma support

I added support for xz-files / lzma compression and would welcome some feedback. I'll add unit tests for this features soon.
Furthermore, our xz-files contain individually compressed chunks created by GNU parallel (details see below), so it would be nice if you could guild me on how it would be possible to implement this parallelization in dask.
Here's how the files are created and loaded using gnu parallel:
# compress: run xz on 2G block of data and simply concat output (this is ok for xz format)
parallel --gnu --block 2G --pipe --keep-order --verbose 'xz -e9 -S $description-{#}' < ${input}.raw > ${output}.xz

# decompress: split on xz header and decompress chunks individually
parallel --gnu --pipe --recstart `echo -e '\xfd7zXZ\x00'` 'xzcat | grep ${pattern}' < ${input}.xz | ...

Does the LZMAFile efficiently support the seek and tell file methods?

No, seeks just decompress everything between current (or beginning) and target position.

This looks pretty good for matching parity with our other compression handlers. One caveat (as Matt brought up) is that without efficient seeks, parallel chunked decompression is going to be a bit tricky to do efficiently, as the seeks used internally are expensive. This also causes problems with gzip (see https://github.com/dask/dask/issues/901).

Thank you Jim for your feedback, I did revisit the code.
And for chunked decompression I may have a deeper look into the issue in the future.

About testing, it would be interesting to have on python 2.7 env with and one without backports.lzma, but I don't know if this is too much overhead?

Perhaps just add it to the travis install for python 2.6?

I added backports.lzma for 2.7 travis setup, so I would say it's ready to merge now, unless you prefer me to squash all changes?

I did realize that pandas included xz file support (pydata/pandas#8654) and they call the compression 'xz' all over, not like I did with a file format (xz) and a compression name (lzma), so I changed my code to be compatible with this (otherwise dask.data_frame.read_csv won't work).
Shoud I squash my changes or keep the history?

If you could squash your commits, that'd be great. Also, if you want to please add yourself to the authors file (https://github.com/dask/dask/blob/master/AUTHORS.md).

Thanks!

Thanks for the support :)


Designer issue

Why designer is not working in winui 3.0 framework.

I remember it worked for me yesterday, but currently it doesn't work for me on both machines.

we need proper solution for this . Any body can help one this ?

I working on Blankapp, Packaged(WINUI in Desktop)

Hi @santhoshkumarmk, are you talking about the XAML Designer in Visual Studio? This is not supported in Preview 3. More info in issue #3656


LocalExecutor - Unable to make custom plugin works

Wanted to learn airflow and using it through docker.
I used the LocalExecutor compose file with uncommented volume for the plugin folder.
Here my project structure :
├── dags
│   └── dag.py
├── docker-compose.yml
└── plugins
    ├── __init__.py
    ├── custom_plugins.py
    └── operators
        ├── __init__.py
        ├── facts_calculator.py
        ├── has_rows.py
        └── s3_to_redshift.py

I try then to follow the official documentation but I cannot import my custom operator.
Here  the content of my custom_plugin.py (I tried to put it in the init file too). I cannot import from operators only without an error.
from airflow.plugins_manager import AirflowPlugin

from plugins.operators.facts_calculator import FactsCalculatorOperator
from plugins.operators.has_rows import HasRowsOperator
from plugins.operators.s3_to_redshift import S3ToRedshiftOperator

# Defining the plugin class
class CustomPlugin(AirflowPlugin):
    name = "custom_plugin"
    # A list of class(es) derived from BaseOperator
    operators = [
        FactsCalculatorOperator,
        HasRowsOperator,
        S3ToRedshiftOperator
    ]
    # A list of class(es) derived from BaseHook
    hooks = []
    # A list of class(es) derived from BaseExecutor
    executors = []
    # A list of references to inject into the macros namespace
    macros = []
    # A list of objects created from a class derived
    # from flask_admin.BaseView
    admin_views = []
    # A list of Blueprint object created from flask.Blueprint
    flask_blueprints = []
    # A list of menu links (flask_admin.base.MenuLink)
    menu_links = []

And in my /dags folder I do :
from airflow.operators import HasRowsOperator
from airflow.operators import S3ToRedshiftOperator
...

But I got an error from my IDE, if I try to run it I got this error:
[2019-10-06 15:34:03,054] {{dagbag.py:205}} ERROR - Failed to import: /usr/local/airflow/dags/dag.py
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/airflow/models/dagbag.py", line 202, in process_file
    m = imp.load_source(mod_name, filepath)
  File "/usr/local/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/local/airflow/dags/dag.py", line 5, in <module>
    from airflow.operators import HasRowsOperator
ImportError: cannot import name 'HasRowsOperator' from 'airflow.operators' (unknown location)

It has been 2 days that I'm block here. I tried different solution found here and there but I cannot make it work. Any idea how to fix it ? Any exemple, even with a dummy operator ?

EDIT :
I tried to find online working exemple and I found this one : https://github.com/blue-yonder/airflow-plugin-demo
I added the compose file without touching anything else and I also have the same issue. So I don't know where this come from but it's hard to me to belive that there is not something wrong with the docker image.

I had a lot of issues getting plugins to work recently.  The directory structure that did the trick was:
├── dags
│   └── dag.py
├── docker-compose.yml
└── plugins
    └── something_plugin
        ├── __init__.py
        └── operators
            ├── __init__.py
            └── something_operator.py

Empty plugins/something_plugin/operators/__init__.py file.
For the plugins/something_plugin/__init__.py, something like:
from airflow.plugins_manager import AirflowPlugin
from plugin_folder.operators.something_operator import SomethingOperator

# Defining the plugin class
class SomethingPlugin(AirflowPlugin):
    name = "something_plugin"
    # A list of class(es) derived from BaseOperator
    operators = [
        SomethingOperator
    ]
    # A list of class(es) derived from BaseHook
    hooks = []
    # A list of class(es) derived from BaseExecutor
    executors = []
    # A list of references to inject into the macros namespace
    macros = []
    # A list of objects created from a class derived
    # from flask_admin.BaseView
    admin_views = []
    # A list of Blueprint object created from flask.Blueprint
    flask_blueprints = []
    # A list of menu links (flask_admin.base.MenuLink)
    menu_links = []

And for importing in a DAG,
from airflow.operators.something_plugin import SomethingOperator

Current version of Airflow should warn if you try to import from airflow.operators instead of airflow.operators.thing_operator for builtin operators (as well as hooks, etc.)  In this case, from your plugin instead of from the relevant file.  Hooks would be the same.
from airflow.hooks.something_plugin import SomethingHook


How do I get started?

I am unable to find where to change the website content: add my name and other information.
Please guide me.
Thank you.

Hey! I'm also trying to figure this out. Have you made any progress on this?

Oh ya, you can change them in exampleSite/config.yaml

oh ya, you change them in exampleSite/config.yaml


Markdown not rendering correctly on blog posts

The blog posts on our site don't seem to be rendering markdown correctly anymore. This screenshot of the kvikio post should have subsection headings and paragraph breaks.

This seems to be happening on all the blog posts.

thank you for spotting this, @TomNicholas! this is mostly likely caused by a dependency update. i'm going to look into it


chore: Switch from f-m-p to d-m-p with inline assembly

Changed to d-m-p with an inline assembly.
'will send later a PR with a plain Dockerfile which might look more concise.
@arun-gupta could you please test whether mvn -Pdocker docker:push works for you when you are connected with docker login ? The plugin should pick up the credentials transparently.

updated

updated with openjdk


Rank calculated incorrectly using 'gen_array_ops.rank()'

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 16.04
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): 'v1.2.1-0-gb4957ff', '1.2.1'
Python version:  2.7.12
Bazel version (if compiling from source): 0.4.5
CUDA/cuDNN version: No GPU
GPU model and memory: No GPU
Exact command to reproduce: //tensorflow/python/kernel_tests:transpose_op_test

The problem
While running TensorFlow tests such as  //tensorflow/python/kernel_tests:transpose_op_test  or //tensorflow/contrib/distributions:mixture_test,
on a big endian system they fail with error: ValueError: Dimension must be 2 but is 0 for 'Mixture_1/sample/Categorical/sample/transpose' (op: 'Transpose') with input shapes: [1,4], [0].
After debugging a little, realized that, while calculating rank of a tensor in transpose method, the rank is calculated incorrectly via gen_array_ops.rank(a).
I tried replacing rank = gen_array_ops.rank(a) to use the array_ops.rank(a) method instead and it works perfectly fine.
I tried the same change on an x86 machine and it doesn't break anything there.
I am unable to understand the difference between the two methods though. Also is there some major impact of above change which is not very obvious?

Switching to array_ops.rank(a) presumably fixes the problem because it's using the statically inferred rank from Python. I expect this would fail if, for some reason, a had a statically unknown rank (e.g. a = tf.placeholder(tf.float32, shape=None)).
Given the type punning involved in the implementation of TensorShape::dims(), I'm not totally surprised that it fails on a big-endian machine. Hopefully this provides a pointer to the correct solution.

Thanks @mrry for your comments.
So switching to array_ops.rank(a) would not be the right thing to do even though majority of the tests are passing with this!
I am going through tensor_shape.h and trying to figure out where exactly things are going wrong on big endian.
Another point to note is that gen_array_ops.rank(a) was working fine in TensorFlow version 0.10.0 and transpose tests were passing there.  There are no major changes in tensor_shape.h from v0.10.0 to v1.2.1 !
Have a question : Could you please point which rank definition does the gen_array_ops.rank(a) pick? The def rank from gen_array_ops.py just seems to call _op_def_lib.apply_op("Rank", input=input, name=name).

@namrata-ibm gen_array_ops.rank() is a generated wrapper for the Rank operator, which is defined at https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/ops/array_ops.cc?utf8=✓#L2191-L2212 .
The kernel associated with that operator is defined at https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/shape_ops.h#L85-L98 .
The code that puts in place the mapping between kernel and operator is at https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/shape_ops.cc#L193-L248 .

@frreiss, Thank you for your reply.
I am debugging this further, and realized that
const int rank = inp.dims(); returns value 2 as expected.
May be the output tensor is going wrong somewhere. Needs more debugging here.

IIRC the size of an int on POWER is 64 bits. Perhaps the assignment at line 94 (out->scalar<int32>()() = rank;) is writing 8 bytes into the Tensor instead of 4? What happens if you change the type of rank from int to int32_t?
Source code for Tensor::scalar() is at https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/framework/tensor.h?utf8=✓#L641-L645 .
That function is a thin veneer over TensorMap::operator(), which is defined at https://bitbucket.org/eigen/eigen/src/8d1ccfd9c5a0bf1a662bd0fe35858f4e527d2bac/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h?at=default&fileviewer=file-view-default#TensorMap.h-221:226

@frreiss, I am working on s390x arch. Replacing int to int32_t yields the same result.
The rank kernel hasn't changed much since v0.10.0 where the same was working.
Inspecting Tensor::scalar() further now.

@frreiss @mrry We are able to narrow down the issue to the point of failure. For s390x, we are getting issue with TF_RETURN_IF_ERROR(c->WithValue(perm_elems, rank, &perm_elems));
Adding a check is solving the issue for us:
if (!c->ValueKnown(perm_elems))
TF_RETURN_IF_ERROR(c->WithValue(perm_elems, rank, &perm_elems));

Please let us know if the solution looks ok to you.

@mrry, I was looking at the statically inferred rank vs statically unknown rank calculation.
From the code :
  with ops.name_scope(name, "transpose", [a]) as name:
      if perm is None:
        rank = gen_array_ops.rank(a)
        perm = (rank - 1) - gen_math_ops._range(0, rank, 1)

I printed the range calculated above, in 2 scenarios

when , rank = gen_array_ops.rank(a)

(Pdb) p gen_math_ops._range(0, rank, 1)
<tf.Tensor 'transpose/Range:0' shape=(0,) dtype=int32>

whereas
2. If we change,  rank_a = rank(a)
(Pdb) p gen_math_ops._range(0, rank_a, 1)
<tf.Tensor 'transpose/Range:0' shape=(2,) dtype=int32>

In both cases, rank / rank_a is:
(Pdb) p rank
<tf.Tensor 'transpose/Rank:0' shape=() dtype=int32>
(Pdb) p rank.shape
TensorShape([])
(Pdb) p rank.eval()
2
(Pdb) p (gen_math_ops._range(0, rank, 1)).eval()
array([0, 1], dtype=int32)

Is there some other property of rank tensor which I haven't printed and is affecting the calaculation of shape of Range?

Can you also try tracing the execution of tf.contrib.util.constant_value(gen_array_ops.rank(a))? My suspicion is that it's returning 0 incorrectly, but I'm not sure why that would be.

@mrry, I had to use tensor_util.constant_value(gen_array_ops.rank(a)) as  tf.contrib.util.constant_value(gen_array_ops.rank(a)) gave errors like tf, contrib modules missing. I assume the former is equivalent in v1.2.1.
The same failure is seen with this too.  :(
This change works on Intel x86 though.
Little analysis:
(Pdb) p rank_a
array(0, dtype=int32)
(Pdb) p rank_a.shape
()
(Pdb) p rank_a.eval()
*** AttributeError: AttributeError("'numpy.ndarray' object has no attribute 'eval'",)
(Pdb) p (gen_math_ops._range(0, rank_a, 1)).eval()
array([], dtype=int32)

(Pdb) p tensor_util.constant_value(gen_array_ops.rank(a))
array(0, dtype=int32)

I could see calls made to cpp_shape_handler.cc/ProtoFromShapeHandle . This implementation seems to be added after v0.10.0. Are these files involved during tensor object conversion from python to cpp?

Got the root cause of the issue. The conversion from ndarray to Tensor is causing trouble on big endian machine. Following is the change in file tensorflow/python/framework/tensor_util.py which is solving the problem (this file is from tag 1.3.0) :
--- a/tensorflow/python/framework/tensor_util.py
+++ b/tensorflow/python/framework/tensor_util.py
@@ -617,8 +617,9 @@ def _ConstantValue(tensor):
   elif tensor.op.type == "Rank":
     input_shape = tensor.op.inputs[0].get_shape()
     if input_shape.ndims is not None:
-      return np.ndarray(shape=(), buffer=np.array([input_shape.ndims]),
-                        dtype=np.int32)
+      return np.array([input_shape.ndims], np.int32)

Now the tests failing on rank for big endian are passing.

Correcting the fix given in the above comment:
--- a/tensorflow/python/framework/tensor_util.py
+++ b/tensorflow/python/framework/tensor_util.py
@@ -617,7 +617,7 @@ def _ConstantValue(tensor):
   elif tensor.op.type == "Rank":
     input_shape = tensor.op.inputs[0].get_shape()
     if input_shape.ndims is not None:
-      return np.ndarray(shape=(), buffer=np.array([input_shape.ndims]),
+      return np.ndarray(shape=(), buffer=np.array([input_shape.ndims], dtype=np.int32),
                         dtype=np.int32)
     else:
       return None

The missing data type in the nparray is behaving differently on the big endian machines. This solution works fine for Intel as well zSystems architecture. Will create a PR for same.

Thanks for digging into that, @shahidhs-ibm! I'd be delighted to accept a PR that fixes this on your architecture. Is it possible that you've uncovered a bug in the underlying NumPy implementation as well?

@mrry Yes, indeed this is a bug in NumPy implementation.
On Intel:
# python
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy as np
>>> z = np.ndarray(shape=(), buffer=np.array([1,2,3]), dtype=np.int32)
>>> z
array(1, dtype=int32)
>>> z = np.ndarray(shape=(), buffer=np.array([1,2,3], dtype=np.int32), dtype=np.int32)
>>> z
array(1, dtype=int32)
>>>

On zSystems:
# python
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy as np
>>> z = np.ndarray(shape=(), buffer=np.array([1,2,3]), dtype=np.int32)
>>> z
array(0, dtype=int32)
>>> z = np.ndarray(shape=(), buffer=np.array([1,2,3], dtype=np.int32), dtype=np.int32)
>>> z
array(1, dtype=int32)
>>>

We will log a bug on NumPy for the incorrect conversion happening for ndarray.


chore: add aesop dependency

I would like to experiment next week to see if aesop can replace tidy in the basic category theory library. (And also just give aesop some exercise.)
This PR is just adding it as a dependency, to check nothing is going to go horribly wrong right away. :-)

bots r+

bors r+


archiver: rework implementation

@Dr-Emann Do you plan to review this? If not, I'll make a review myself as I'm willing to merge this soon...

I don't know that I'll have a chance to review, unfortunately, sorry.

I don't know that I'll have a chance to review, unfortunately, sorry.

No worries. I know it's a big change, but I think it's worth as it will make the archiver steps more clear and will allow you to implement something like #395 on top. In general, it allows to decouple the backup source from the archiving process...

rebased.

I did a review and some simplifications of the complicated types. Now IMO this is mergeable :-)
As a side note - I just saw some errors processing trees on windows and have the good hope that this PR will also salvage these. But that will need some more testing... for Windows topics, see #487


download link return 404

Description

https://zowe.org/docs-site/latest/user-guide/install-zos.html#obtaining-and-preparing-the-installation-file
In the installation guide, the link Zowe Download(https://zowe.org/download/) won't work, it returns 404 .
It worked before, but today it returns 404.

Pages to Update

Screenshots

Expected behavior

Additional context

Hi Jing, @rjmaomao Thank you for catching this! The link is broken due to the zowe.org website update yesterday. The new link is https://zowe.org/#download now.  We just updated the download link on the Zowe doc site. It will be refreshed in a few minutes.


⚠ Bofrost.fr has degraded performance

In 013cc81, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1579 ms

Resolved: Bofrost.fr performance has improved in 1fd910b after 6 minutes.


Integrate LF rectification and calibration within NeuralNetwork training

Compute rectification and calibration at neural network training.
In this way, the network receives an image from napari, and based on its size, it can determine if it's already rectified. If it's not, then it uses the pre-computed rectification

Solved in: https://github.com/PolarizedLightFieldMicroscopy/napari-LF/commit/5bf5e6aff2df123bde3b3f083b519ec73633e941

Calibration file dependency removed from gui in 0aac2f5386e2deb4c2dcd930e38ea48e98f817c9.


Not Fetching All Categories & All Posts

I'm having issues with fetching all the posts and also categories as well. How can I handle the issues?

Please give more information.

I'having the same problem, it looks like a caching problem in next js. I tried specifying the revalidate in the pages, but did not work. They only way i got it to work is by disabling cache altogheter by forcing it in the fetch function
async function fetchWithNoCache(url: string): Promise<Response> {   const timestamp = new Date().getTime();   const urlWithTimestamp = ${url}${url.includes('?') ? '&' : '?'}_=${timestamp};   return fetch(urlWithTimestamp, {     cache: 'no-store',     headers: {       'Cache-Control': 'no-cache, no-store, must-revalidate',       'Pragma': 'no-cache',       'Expires': '0',     },   }); }

Yes I have been having a lot of issues which I think could be related to cache bugs. Where did you put this code?, would like to try it out to see if it fixes the random errors

Just put the function in @/lib/wordpress then call fetchWithNoCache instead of fetch in every endpoint call in the same file. Keep in mind that preventing the content to be cached will turn off ISR, so the endpoints will be hit on every page view

Thank you for the info Francesco.
I have been dealing with a lot of random errors for some days now. But now I managed to find the problem. It was a php error in functions.php 🙂 I’m going to have an eye on it. So this seems to had nothing to do with cache bug. Fingers crossed.


gvim colortable on Windows BGR instead of RGB

Compiled on Win 7 64 with MinGW 64, gcc 4.9.2.
I've noticed in 5487544fa5d46af9f8f98aa4f5c59074a6e0639a that the colors were displayed wrong.
It's a global rendering issue, RGB colors are interpreted as BGR. I've reverted back to 674127e1801fd02ff07dddf0dc3bf0d8cce68997 which displays the colors as expected.

Already reported at here: https://groups.google.com/d/topic/vim_dev/t7uZx3jCp14/discussion
Patch is also available.

i swap r and b
term.c: 6071
#define TORGB(r, g, b) ((b<<16) | (g<<8) | (r))
this bug make all color scheme terriable

known problem, closing.


make reports

make reports like
visitor report ( daily monthly weekly yearly )
student report ( daily monthly weekly yearly )
loss and profit report ( daily monthly weekly yearly )
balance sheet

1-visitor daily report
2-student daily report
3-weekly report for above both
4-finance daily reports
5-monthly reports
6-yearly reports
7-teacher

ok keep posting

errors are done

ok now start working on reports

daily students & visitor are done

Start working

Reports are done


Plot function

Adds a Plot.dist function.
Put it up here for comments for now. I implemented this because I wanted to plot numbers as discrete distributions with all mass on one value next to other distributions. So all the plot function does is parse a squiggle dictionary into a rescript data structure and converts all numbers into distributions.
Things that I see need to be done:

[x] Tests! Glorious tests!
[x] Error messages could be better.
[ ] Documentation of Plot functionality

I'm excited for some of the other plotting features that could be built upon this.

Codecov Report

Merging #1243 (56913bc) into develop (1ea3c97) will increase coverage by 0.02%.
The diff coverage is 62.85%.

@@             Coverage Diff             @@
##           develop    #1243      +/-   ##
===========================================
+ Coverage    59.57%   59.60%   +0.02%
===========================================
  Files           84       85       +1
  Lines         4183     4218      +35
===========================================
+ Hits          2492     2514      +22
- Misses        1691     1704      +13

Impacted Files
Coverage Δ

...ript/FunctionRegistry/FunctionRegistry_Library.res
100.00% <ø> (ø)

...uiggle-lang/src/rescript/Reducer/Reducer_Value.res
41.11% <16.66%> (-1.75%)
:arrow_down:

packages/squiggle-lang/src/rescript/FR/FR_Plot.res
72.41% <72.41%> (ø)

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

Earlier, the plan was for Plot not to be its own type on the Reducer, but instead use a type alias.
https://github.com/quantified-uncertainty/squiggle/issues/969
https://github.com/quantified-uncertainty/squiggle/pull/900#discussion_r943409545
However, we still don't have type aliases.
If @berekuk thinks so, this might be a good time to add type aliases, and use those instead. However, it also doesn't seem that bad to do it this way for now and change later.

I think I'm pretty happy with this so far. I think much of this story is fairly straightforward; there's just a lot of different pieces to it though. Looks like most of that is in place here.

I think coverage was failing because we didn't have a token configured and github rate-limited their token (details). When dependabot hits on Mondays, it's especially bad. So I put CODECOV_TOKEN in github secrets on this repo.

This PR makes significant changes to the plotting language, I don't want to make those changes rn due to the migration to typescript. I'll get back to this later.


Write Tests for the API Negotiation controller

It would be greatly useful to write tests for the API Negotiation controller.
The idea is to write declarative tests that clearly and formally capture the intent of the API Negotiation.
Preferred framework would be KUTTL.

Would wait until post-prototype-2 when we add APIImport/Export

Merged with https://github.com/kcp-dev/kcp/issues/158


[hub] Remove dependency on wallet

Modules and types shared between the wallet and the hub are good candidates for being factored out into a separate package.

Here are all occurrences:
https://github.com/search?utf8=✓&q=statechannels%2Fwallet+extension%3Ats+path%3Apackages%2Fhub&type=Code&ref=advsearch&l=&l=

@liam The search query is a bit to opportunistic

Hello,
I think you included me by mistake.
The biggest problemv here is that Ethereum doesn't scale 😉
Liam
On Wed, 11 Dec 2019, 15:38 Mike Kerzhner<EMAIL_ADDRESS>wrote:

@liam https://github.com/liam The search query is a bit to opportunistic
[image: Screen Shot 2019-12-11 at 7 37 59 AM]
https://user-images.githubusercontent.com/1062379/70635709-3cd2cf80-1be9-11ea-9244-42624489d764.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/statechannels/monorepo/issues/735?email_source=notifications&email_token=AAAGRFDFBCDJLYOJNQHYTNTQYECQRA5CNFSM4JZQLHO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGTSCSI#issuecomment-564601161,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAGRFHEURQ5P3TM7ZQACK3QYECQRANCNFSM4JZQLHOQ
.


Update release-notes.md

Just confused about the release version, why is the newest one lower than the previous one?

?


[QUESTION] No way to get current cell index when iterating

Prerequisites

[x] Able to reproduce the behaviour outside of your code, the problem is isolated to Laravel Excel.
[x] Checked that your issue isn't already filed.
[x] Checked if no PR was submitted that fixes this problem.

Versions

PHP version: 7.1
Laravel version: 5.5
Package version: 2.1

Description
Hi,
I am finding it incredibly difficult to iterate over a sheet and update cells. I want to iterate over a CSV, check a value in each row, and depending upon that value set another value in another existing cell.
I know I can't directly amend cell collection properties when looping over the rows with ->each(), which is fine. But I would at least expect that I can get the cell ID of the current item in the iteration so that I can figure out the other cell reference and update it with the cell manipulation methods.
Is this possible at all? This is my current code. It sets a new collection property called used rather than updating the existing one, probably as I am not updating the cell value, which I can't do as I don't know the cell reference at runtime.
$new = Excel::load(storage_path('app/promocodes.csv'), function($file) use ($promocode) {
     $file->each(function($row) use ($promocode) {
        if($row->promocode === $promocode) {
            $row->used == 1;
        }
   });
   return $file;
});

If you wan't to use the "Fluent" way 2.1 offers, than there's no way to get the CellId/coordinate, you'll have to use native PHPExcel methods to do so.

Hmm, I'm sorry but seem "load" function was removed? How I can read an csv file then import its data to my database?

Thanks @patrickbrouwers. @dungdt2 I am using Laravel 5.5 and LaravelExcel 2.1 which are still compatible with load functionality.

You can re-export all your data and do something like this:
namespace App\Exports;

use \App\Models\Product;

use Maatwebsite\Excel\Events\{
    AfterSheet,
};

use Maatwebsite\Excel\Concerns\{
    Exportable,
    FromCollection,
    WithEvents,
    RegistersEventListeners
};

class ProductExport implements FromCollection, WithEvents {
    use Exportable, RegistersEventListeners;

    protected $promocode;

    public function __construct($promocode)
    {
      $this->promocode = $promocode;
    }

    public function collection()
    {
      return Product::collection();
    }

    public static function afterSheet(AfterSheet $event)
    {
        $worksheet = $event->sheet->getDelegate();

        $row_iterator =  $worksheet->getRowIterator();

        // Eg: excel with two cols A (promocode) and B (used)
        foreach ($row_iterator as $row) {
            $row_id = $row->getRowIndex()
            $promocode = $worksheet->getCell('A' . $row_id)

            $worksheet->setCellValue('B' . $row_id, ($promocode == $this->promocode) );
        }
    }

}

Then call your export class and pass the argument $promocode.
         $promocode = 'B0L4D0';
        (new \App\Exports\ProductExport($promocode))->queue('test.xlsx')->chain([
            // notify user
        ]);


Can't inject property dependency using a parent class

Hi,
Not sure if this is a bug, missing feature or have I misunderstood something. Dependency injector container \yii\di\Container does not seem to support property injection using a parent class/interface.
I'd like to inject a property dependency for all subtypes of a class without type hinting in the constructor.
I can set the property dependency directly to all the objects being created like this:
class SubClass1 extends BaseClass {}
class SubClass2 extends BaseClass {}

$container->set('SubClass1', ['property' => $value]);
$container->set('SubClass2', ['property' => $value]);

But if I do this, then the property does not get defined.
$container->set('BaseClass', ['property' => $value]);

I can override the get method of the container to attach the property manually, but this doesn't seem right. The property is also too trivial to put in the constructor.

I encountered this problem myself and I thought it'd be good to share my final approach. I'm not sure if it's OK to copy content from StackOverflow, but I have posted the proposed solution here.
To sum up: I decided to roll with my own DI Container implementation that adds a new configurable property:
public $inheritableDefinitions = [];
With it you can configure the container in app configuration file like this:
'container'  => [
    'inheritableDefinitions' => [
        'BaseClass'  => ['property' => 'value'],
    ],
],

so that when you instantiate SubClass1 like this:
$object = $container->get('SubClass1');

it ends up with property set to 'value':
$object->property === 'value'; // true, as configured

What's your thoughts on this approach? I think when it's as explicit as above it shouldn't make any harm both in terms of performance and unexpected behavior.


Benchmark the RL agents

We need an immediate glance the coverage of the supported RL libraries.
ALL aspects implemented or e.g. 85% implemented.
With that overview, one can decide which of the 3 supported libraries to use
For SB3 which export ONNX, only this option is more feasible to use c# for godot4

@GeorgeS2019 Can you give a more detailed example of what you do have in mind here?
I am currently benchmarking the different rl backends in godotrl in terms of learning and runtime performance for my master thesis. But it sounds like you are more interested in having a comprehensive list of what is supported in the different rl libs, correct?

@visuallization
The future moving forwards for Godot is to replace python with language that is supported through GDExtension e.g. C#  With that, training and inference are all done using One langauge
https://github.com/edbeeching/godot_rl_agents/discussions/114#discussioncomment-6382743


benchmarks: app_kernel: Fixed coverity issue.

The return value from the k_mem_slab_alloc was not read. Hence
adding code to make use of this return value.
Fixes: GH-6681
Signed-off-by: Adithya Baglody<EMAIL_ADDRESS>

Codecov Report

Merging #7904 into master will decrease coverage by <.01%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master    #7904      +/-   ##
==========================================
- Coverage   55.03%   55.02%   -0.01%
==========================================
  Files         483      483
  Lines       53965    53967       +2
  Branches    10490    10491       +1
==========================================
  Hits        29697    29697
- Misses      19992    19993       +1
- Partials     4276     4277       +1

Impacted Files
Coverage Δ

tests/benchmarks/app_kernel/src/memmap_b.c
83.33% <33.33%> (-16.67%)
:arrow_down:

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 8e41572...7ad3be4. Read the comment docs.


Move code related to tpm2_checkquote into its own function

This PR makes the check_quote function a bit easier to read by moving tpm2_checkquote related code into is own function.

LGTM, I just tested on my end-to-end CI and it passed


GenAI project blue print workflow fails on "default" Compute Runner

Describe the bug
When using the GenAI Project Blueprint the initial workflow fails as it uses the "default" compute so it gets a "no space left on device".
BedrockChatBotStack-3yxu3v67:  fail: docker build --tag cdkasset-bb7f020b2a9eddb62bb7c3136884815ff5159f2f2c3dbd2ca1139dbb63f4273d --file embedding.Dockerfile --platform linux/amd64 . exited with error code 1: DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/```

## Steps to reproduce

Steps to reproduce the behavior:

1. Create a new project using the GenAI Blueprint on a CodeCatalyst space with the Free Tier
2. Wait for the workflow to fail

## Expected behavior

The workflow should work...OR...
- add pre-requisites to be non "not-free-tier" AWS account and add a selection option for the Compute Instance to be used by the workflow

## Version information

Blue Print version 0.3.69

Space-ID: 13dcf089-b721-484e-878c-637fe7e365ca
Project-ID in CodeCatalyst: 5788da79-1534-47cb-9811-aad514c0c0e0

After executing the same workflow once again on the free tier it worked succcesfully.... :(

I have a feeling this was a transient issue with the workflow action, given that it succeeded the second time you executed it. I tried to deploy the blueprint using the same setup as you (space in a free tier) and everything deployed as expected. Do you happen to have the workflow run ID from the failure? I can pass it over to that team to see if they can help debug the failure.

Maybe. Here you have workflow ID and run ID.
workflows/326697c2-8df7-4255-a114-ecf02afaca3a/runs/7522795d-2e2c-41b4-ac9e-e33db284d512

Thanks. The default compute fleet used is Linux.x86-64.Large and that provides 64GB of disk space - the containers we build along with the source code is well under this limit. The default compute being used is also the same no matter what tier the space belongs to.
I opened a ticket with our workflow team to help triage this further.

Published an update to the blueprint to use a build image that provides more disk space, per the guidance of our workflows team.


Fixes #2028 adding to_i for nil org geocoding quota

@rafatower CR this fix for #2028 , please.

Retest this, please.

Frontend tests were OK :+1: (details)

Looks good!
El 10/02/2015 19:37, "Juan Ignacio Sánchez Lara"<EMAIL_ADDRESS>escribió:

@rafatower https://github.com/rafatower CR this, please.
You can view, comment on, or merge this pull request online at:
https://github.com/CartoDB/cartodb/pull/2178
Commit Summary

Fixes #202 adding to_i for nil org geocoding quota

File Changes

M app/models/geocoding.rb
https://github.com/CartoDB/cartodb/pull/2178/files#diff-0 (4)
M app/models/user.rb
https://github.com/CartoDB/cartodb/pull/2178/files#diff-1 (2)

Patch Links:

https://github.com/CartoDB/cartodb/pull/2178.patch
https://github.com/CartoDB/cartodb/pull/2178.diff

—
Reply to this email directly or view it on GitHub
https://github.com/CartoDB/cartodb/pull/2178.


PlantDisease Classification Challenge

[ Project Lead ] @spMohanty
[ GitHub Repo ] https://github.com/crowdAI/Knowledge-Base
[ Track ] Open Educational Resource: you're collaborating on curriculum or other educational resources, Open Data: you have data others can use and play with during the sprint
[ Level ] Beginner
Description
The project will attempt to attempt classification of diseased plant leaves among 38 crop-disease pairs on a recently released dataset of 54000 images of healthy and diseased plant leaves. The goal of the project will be to help people get started in similar image classification problems by using state of art deep learning based approaches, with or without access to GPUs.

Want to Contribute?
Join us at the Global Sprint June 2-3. Leave a comment in this issue to let the project lead know you're interested in contributing during #mozsprint 2016!

Note to the Project Lead
Congrats, @spMohanty! This is your official project listing for the Mozilla Science Global Sprint 2016. To confirm your submission, please complete the following:

[x] Provide a GitHub repository for work and discussion on your project
[x] Confirm in a comment that at least one person will be available to review and answer questions on this project from 9-5 in their timezone on both June 2 & 3.

Do you want to become a featured project? :tada:
Here are some exercises that will help your project be more inviting to new contributors. We hope you'll try to complete some of these as you prepare for #mozsprint.
If you complete all the exercises, your project will be eligible to be featured in our collection of open source science projects! Once you've finished this list, contact @acabunoc to submit your project for review.

[ ] README.md:
[ ] LICENSE:
[ ] CONTRIBUTING.md:
[ ] Roadmap or an Issue Tracker (with tasks to complete):
[ ] Data Reuse Plan (if applicable):
[ ] Code of Conduct:
[ ] Personas:

Hi @acabunoc,
I confirm that I will be there at IdeaSquare on both the days of the Sprint between 9-5.
Here is the link to the Github Repository : https://github.com/crowdAI/Knowledge-Base , which will be used to keep track of the progress made during the Sprint.
Also, we would like to change the name and the description to :
Name : CrowdAI-KnowledgeBase
Description : CrowdAI’s educational vision is to become a great open access learning resource for data analysis and machine learning. To make this happen, we’ll are launching the crowdAI Knowlegde Base, a place where everyone in the community comes together to build high quality resources to help Scientists get started with state of art Machine Learning approaches.
As a part of the Mozilla Global Sprint 2016, we will be focussing on how to get started with trying to classify diseased plant leaves from among 38 crop-disease pairs on a recently released dataset of 54000 images of healthy and diseased plant leaves {PlantVillage} . The goal of the project is also to help anyone get started in similar image classification problems by using state of art deep learning based approaches (with or without access to GPUs).
At the end of the sprint, each of the participants should be able to independently design and train a deep neural network on their own image classification problem (given a set of images, the task at hand is to map every image to a particular class it might belong to).

Thanks @spMohanty! feel free to update the issue!

Would love to help out and learn more about deep learning!

Hi,
I have written a blog post along with repo of code (with @spMohanty 's encouragement) here:
the blog post: http://chsasank.github.io/plantvillage-tutorial.html
repo: https://github.com/chsasank/plantvillage-challenge
Although the code itself doesn't get you started on torch, it helps you achieve very good results,
Sasank.


LDAP support

The ldap URI for osc does not work correctly.
Updating to:
  - 'AuthLDAPURL "ldap://cts06.osc.edu/ou=People,ou=hpc,o=osc?uid"'

fixed the issue.

'AuthLDAPURL "ldaps://cts06.osc.edu:636/ou=People,ou=hpc,o=osc?uid" SSL'

We ideally want to be using SSL when connecting to the LDAP server. I don't know why you couldn't use SSL when you were walking through the installation. Extra steps perhaps that are out side the scope of the OOD installation directions?

I think the webdev07 server needs to be whitelisted on cts06 for ssl to work.

This probably needs a ticket opened with Trey to enable support for this in all future blank OOD VM installs.

So everyone is aware, the current LDAP servers use an internal CA to sign their certs.  This CA is not trusted by the system and uses MD5 cert which is actually untrusted regardless of CA on RHEL7 systems.  There are hacks to support MD5 but they are ugly.  The new LDAP servers have SHA256 certs and are trusted by the OS CA cert bundle.  These new LDAP servers will be going live sometime between now and May 23rd.
If it helps WIAG make better documentation, you all can use openldap[1-4].infra.osc.edu as LDAP servers.  The schema is the same but the SSL support is much better.  No guarantees on stability as those hosts are not yet production and I have to periodically purge LDAP to re-sync with the production LDAP master.
I'd recommend either using SSL (port 636) or TLS (port 389).  The TLS usually has to be enabled since it uses same port as unencrypted LDAP.

I am fine with changing the documentation to point to ldaps://openldap1.infra.osc.edu:636.... We need to first test with on webdev07.

Updated in e3f71860d92e56a45ad54e54bb217ec1f9273fab


PushAPI body Limit

Added a limit on push API body allowed size.
Closes https://github.com/quickwit-oss/quickwit/issues/1446

@PSeitz  10M is the value suggested https://github.com/quickwit-oss/quickwit/issues/1446


disconnected setting isConnected to true?

Is this line correct? It seems like isConnected should be set to false in the disconnected function …

@feifanzhou oops, sorry, missed the issue :-)
As for the line in question it was actually irrelevant in this case.
The purpose of "isConnected" was to run pending functions after pusher is "configured" if there's a delayed config present.
I removed the line so it's not confusing


Support for multisampled textures + resolve?\

I see there are some indications in the code that sample_count was almost added to the texture descriptor but don't see it implemented yet.
What would be the challenges in supporting multisampled textures and resolve targets for render passes? I would be happy to help though I have mostly experience with wgpu:s user-facing code
(side note: Such a fresh breath of air to read this code! It's all so simple.. blade-graphics looks very promising and I would like to give blade a try for our rendering engine at my company that's currently using wgpu (for this game https://idno.se/swap/). Seeing your presentation and descirbing the simple binding model in blade really motivated me after having to deal with so much pipeline description and setup of bind groups for our multiple shader permutations... )

I haven't investigated this again since WebGPU times, but I think the support for MSAA will largely look the same as in wgpu. The sample count needs to be used and respected by the texture creation. Then we'll need extra data in RenderPipelineDesc to specify the resolve target. This is the only way with zero translation overhead to both Vulkan and Metal.

I made some experiments in my fork and also dåfoun that there was a ClearOp::ResolveTo(TextureView) in the code which I successfully used together with some more info in the texture_descriptor for sample count and some more msaa state in the renderpipelinedesc to get msaa working for the particles demo. I did have some issues with it though on my intel integrted graphics laptop as well as an intel+nvidia machine, though my Ryzen+AMD gpu seemed to work fine. None of the targets had validarion errors.
I will investigate more and get back, though on vacation atm

Yes, I think this is a fine way to expose it in the API. Technically, one could try to both store the result and resolve it in Vulkan, but that isn't very useful. If we provide this through ClearOp, it becomes very neatly out of the way for most usages.

I'm finishing working on #203 and thinking about making a release. Would you want to prototype a change to squeeze into blade-graphics-0.6 about multisampling? @EriKWDev

#203 looks like a nice addition!
I am still on vacation and will be back in December so will not be able to contribute much work until then sadly.
So if a release is in order then go ahead!
(On a side-note I also started investigating https://docs.vulkan.org/features/latest/features/proposals/VK_KHR_dynamic_rendering_local_read.html on the airplane as well as it might become relevant for our company in the future too, though support in drivers seemed not great at the moment)

Getting back at this for my next flight home but I am struggling a lot with the opengl es implementation of the finishop resolve. The textures are only represented as either textures or renderbuffers but in order to resolve them using gl.blit_framebuffer we need FBO:s. Seems bad to create and remove framebuffers each time we need to resolve them.
Haven't done much msaa rendering in gles but wasn't entirely obvious how to resolve a multisampled texture there.
Vulkan and metal was easier, though I need to get to a computer at work in order to test that the metal implementation actually works

This is pretty much what wgpu-hal is also doing - https://github.com/gfx-rs/wgpu/blob/02b28e28f0f0904a943de44b647bf18a66ac4fc4/wgpu-hal/src/gles/queue.rs#L1107-L1133
It does reuse both the FBOs though instead of recreating them


Add Support deepl translation.

Fixes #
Proposed Changes

Add option key translator in update.translate.
Add support deepl API

@noppefoxwolf Thank you for this, I'll take a more detailed look soon, looks good on first look. But can you please also update the README file accordingly? Also a new entry in CHANGELOG.md with yourself mentioned would save me some time. 👍

Thank you @noppefoxwolf, I merged this via b4559894477da2237f6468f911eb1206878af5ef.


libspnav: fix cross-compilation

Description of changes
Prior to this commit, pkgsCross.foo.libspnav would fail with something like:
/nix/store/...-bash-5.1-p16/bin/bash: line 1: ar: command not found

Let's fix that by passing AR= in makeFlags.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 175668 run on aarch64-darwin 1

2 packages built:

libspnav
spacenav-cube-example


prevent weapons from firing after promptbox

When ignoring controls, also ignore the primary and secondary weapons firing triggers.  This will prevent weapons from inadvertently firing due to the mouse click activating both the prompt and the firing control.
Also when drawing clickable buttons, check the Clickable flag first for a small improvement in efficiency.

Maybe add a comment to state which controls are being ignored.


Debug bool check

fixed bug where v.Debug was missing before debug; resulting in debug always being on.

Please read go-i2c tutorial to find, how to decrease verbosity level of I2C-bus interaction.


Include second pathName only for sources settings

Fixes
If you refresh page on /cost-management/aws it will include aws as part of basename url and once user clicks on ocp in navigation path will be /cost-management/aws/ocp this is because basename calculation tries to include second part of pathName all the time. On other hand sources settings require this second part to be present.
It's a bit hacky writing consts in the path calculation, but this is quick and dirty solution, once sources will be in specific bundle (hopefully in 2 weeks) this hacky work around can be removed and basename can be only
<BrowserRouter basename=`${release}${pathName[0]}/` />

ping @boaz0

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1074   +/-   ##
=======================================
  Coverage   75.65%   75.65%
=======================================
  Files         228      228
  Lines        4370     4370
  Branches      814      814
=======================================
  Hits         3306     3306
  Misses        951      951
  Partials      113      113

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 fd39f1d...c65bdb3. Read the comment docs.


format decimal

nicolas hola foremost thanks for the contribution of this component, is very good, now my question is, would need to format a decimal value that I have a json, this is my scrip .ajax
$ .ajax ({
            url: 'T.aspx/Getdatos'
            type: 'POST'
            contentType: "application / json; charset = utf-8"
            Error: function (data, textStatus) {
                alert ("Error could not load the data. ');
            },
            success: function (data, st) {
                if (st == 'success') {
                    derivers var = $ .pivotUtilities.derivers;
                    var = $ .extend renderers (
                            $ .pivotUtilities.renderers,
                            $ .pivotUtilities.c3_renderers,
                            $ .pivotUtilities.d3_renderers,
                            $ .pivotUtilities.export_renderers
                            );

                    $ ("# Output") pivotUI (jQuery.parseJSON (data.d) {renderers: renderers}, false, "es");

                }
}
        });

I'm not sure what your question is... Can you describe what you are getting and what you are hoping to get?

Nicolas hello, thanks for the reply, I need is to format a number that
bring a json, the question is how I can make the separation of decimals.
attached a picture of the data as it comes. there functions to format the
number
[image: Imágenes integradas 1]
2016-01-09 2:34 GMT-03:00 Nicolas Kruchten<EMAIL_ADDRESS>
I'm not sure what your question is... Can you describe what you are
getting and what you are hoping to get?
—
Reply to this email directly or view it on GitHub
https://github.com/nicolaskruchten/pivottable/issues/420#issuecomment-170199672
.

--
Atte,
David Esteban Finten.-

I'm sorry, the image did not come through, and I still don't understand your question. There is a numberFormat() function within $.pivotUtilities but without more context I will not be able to help you use it...

nicolas, sorry for not being as clear in my query, in my json I get the
numerical data unformatted eg (317 473 000,00), I would need to see such
data 317,473,000.00 separate points and decimals a comma.
I do not know yet how serious the correct syntax
$.ajax({
url: 'Tablero.aspx/Getdatos',
type: 'POST',
contentType: "application/json; charset=utf-8",
error: function (data, textStatus) {
alert('Error.');
},
success: function (data, st) {
if (st == 'success') {
                var derivers = $.pivotUtilities.derivers;

                var renderers = $.extend(
                        $.pivotUtilities.renderers,

                        $.pivotUtilities.c3_renderers,
                        $.pivotUtilities.d3_renderers

                        );

                $("#output").pivotUI(jQuery.parseJSON(data.d), {

renderers: renderers }, false, "es");
            }

        }
    });

I hope to be clear
Thanks for taking the time to answer
2016-01-12 17:01 GMT-03:00 Nicolas Kruchten<EMAIL_ADDRESS>
I'm sorry, the image did not come through, and I still don't understand
your question. There is a numberFormat() function within $.pivotUtilities
but without more context I will not be able to help you use it...
—
Reply to this email directly or view it on GitHub
https://github.com/nicolaskruchten/pivottable/issues/420#issuecomment-171036312
.

--
Atte,
David Esteban Finten.-

OK so first you have a parsing problem right? You have numbers coming in as strings with spaces for thousands-separators/commas for decimal-separators and you want them to be parsed into numbers and then displayed with commas as thousands-separators/dots as decimal-separators?


Question about the setting of weight decay.

Hi, very nice work!
I have noticed that CogVLM is trained with different weight decay values in each stage. For example, 0.05 for pre-training and 0.1 for ﬁnetuning. Why doing this difference and what is the strategy to set these values?

Oh, we actually did not carefully investigate it. It is more because different authors are using their own defaults.


Fix optional field access in referenced lax type

Purpose
Fixes #35107
Fixes #35105
Remarks

Needs to be merged after https://github.com/ballerina-platform/ballerina-lang/pull/35160 is merged

Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Branch decision depends on whether https://github.com/ballerina-platform/ballerina-lang/issues/35237 is considered a breaking change

Let's handle semantic API change for https://github.com/ballerina-platform/ballerina-lang/pull/35210#discussion_r831836038 in https://github.com/ballerina-platform/ballerina-lang/issues/35237


No pokemon data showing on the map

For some reason there is nothing show up on my map.
The error I'm getting:
file:///C:/Users/{username}/Desktop/PikaBot-win32-ia32/resources/app/qrcode.js Failed to load resource: net::ERR_FILE_NOT_FOUND
The map is loading fine and my character walks around but there aren't any pokestops/pokemons on my map.

0.0.1-alpha release is not woking

Allright so this release: https://github.com/PokemonGoF/PokemonGo-Bot-Desktop/releases Isn't working? I got updated 2 hours ago.

@klokklok2 Yep, it's not working. Also removing files so noone downloads broken version

Thanks I thought it worked for other people.


${file} in page causes failure

I have a weird issue. A page wasn't loading, and it turned out to be because of this code block:
${file};

More testing:

${file} anywhere, inside or outside codeblocks, will cause markserv to just keep loading
${fil}, ${a}, etc, doesn't give me any problems.

Does anyone have an idea why this  happens? Sounds like possible code injection vulnerability perhaps?

That's really odd.
Can you supply a test case file/snippet?

I see what you're seeing. It's a bug in templating.
It assumes you're giving Markserv a file to include, eg: {file: somethingElse.md}.
If no link is supplied the behavior should be to not try and continue loading the file.
This fixes your problem:
// libs/server.js: 323

		file: (url, opts) => new Promise(resolve => {
			if (!url) {
				return resolve(false)
			}

Will try to get a fix for this soon.
That being said, there's a deeper issue here. Templating should be more solid, and I'm not sure it's actually being used by people. Perhaps it should be turned off by default.
Do you use templating?

Hi, thanks for your reply! (Sorry for not responding earlier, the mail got lost in the "Forum"  section of my mail, and I don't see any notifs in github).
I did not turn templating on, nor did I turn it off. I don't have a use for templating yet.
One would assume anything in a code block is escaped. So maybe parsing template code in a code block should be turned off entirely?
I tried common escape characters on ${file}, but though they helped the issue, they did so by showing up in the printed code block. That begs the question how one would make a markdown page about templating :smile:
I'll try your solution today or tomorrow!

Your solution works like a charm!
For others having the same issue:
I installed markserv using yarn, and the global tag, so for me server.js is in ~/.config/yarn/global/node_modules/markserv/lib/.

Just add the code that F1LT3R supplied, so you get:             file: (url, opts) => new Promise(resolve => {
                      if (!url) {
                              return resolve(false)
                      }
                      const absUrl = path.join(opts.baseDir, url)
                      getFile(absUrl)
                              .then(data => {
                                      msg('implant', style.link(absUrl), flags)
                                      resolve(data)
                              })
                              .catch(err => {
                                      warnmsg('implant 404', style.link(absUrl), flags, err)
                                      resolve(false)
                              })
              }),

Restart markserv

I have the same problem; I have applied the solution described here and it solved it as well. I am running markserv 1.17.4. I would like to know when this issue is going to be fixed. It's been 1 year now... Thanks.

Would you like to submit a PR @Max-Z80 ?

@F1LT3R Sure !

Found out the problem. It was my environment. Turns out that my machine was configured to support localhost on a IPV6 address while my kernel does not support IPV6.

Thanks @Max-Z80 - I'll take a look this weekend.


./configure syntax error

Running ./autogen.sh creates and executes a ./configure file that doesn’t work. Here's the log:
jayman@jayman-linux-laptop:~/Downloads/make/xwiimote-bindings$ ./autogen.sh
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/bin/automake line 3936.
configure.ac:29: installing 'build-aux/ar-lib'
configure.ac:18: installing 'build-aux/compile'
configure.ac:20: installing 'build-aux/config.guess'
configure.ac:20: installing 'build-aux/config.sub'
configure.ac:22: installing 'build-aux/install-sh'
configure.ac:22: installing 'build-aux/missing'
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking dependency style of gcc... none
checking whether make supports nested variables... (cached) yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking for gcc option to accept ISO C99... none needed
checking whether ln -s works... yes
checking for ar... ar
checking the archiver (ar) interface... ar
./configure: line 5571: syntax error near unexpected token `2.2'
./configure: line 5571: `LT_PREREQ(2.2)'
jayman@jayman-linux-laptop:~/Downloads/make/xwiimote-bindings$

When I remove the line it works fine.

You need to install a missing dependency => libtool

Normally the output is quite obvious when libtool is missing, but indeed having the same error: installing libtool fixed it. I suppose this issue can be closed. CC @dvdhrm and/or @nadenislamarre, can any of you close this? And is the xwiimote project still alive?


New Fields: Add logic to verify field validity.

#26: We are currently using dummy values for the new fields, to let concurrent development of the MVP functions be done. However, fields like NRIC should have some verification integrated within them.
This is likely most relevant to the Add command, with some ties to Edit.

Validation for appointment has been implemented. New fields are no longer using dummy values.

Due to uncertainties regarding the validation of NRIC number and the vagueness on the actual algorithm for valid NRIC checks, will the validation of NRIC in view.

While validation of NRIC is important, we recognize that users may want to use their own definition of an Identification field, like a shorthanded NRIC approach, etc. Therefore, we will leave NRIC as a field that can take in any value.


Integration test: Change ipv4.dad-timeout.

Issue:
The integration test case test_reapply_preserve_ip_config will
fail showing ipv4 is disabled.

Root cause
After commit 4e34009a828ded98e2a7b14b8cb009c7f0b6cf08, nmstate
will goes to verification stage once network manager indicate a
profile is activated. The NetworkManager does not wait on
ipv4.dad-timeout for marking a profile is activated. This makes
nmstate got no IPv4 address during duplicate address detection
stage, which then mark ipv4 as disabled.

Fix
Change ipv4.dad-timeout in test_reapply_preserve_ip_config to 0
which is no wait on duplicate address detection.

ci test please

Here is a proposal for a different commit message:
Integration test: Disable duplicate address detection (dad)

Issue:
    The integration test case `test_reapply_preserve_ip_config` fails
    showing that IPv4 is disabled.

Root cause:
    After commit 4e34009a828ded98e2a7b14b8cb009c7f0b6cf08, nmstate verifies the
    network state after network manager indicated a profile is activated.
    NetworkManager marks a profile as active before ipv4.dad-timeout elapsed.
    Therefore, when nmstate queries Network Manager during duplicate address
    detection, IPv4 will appear as disabled.

Fix:
    Change ipv4.dad-timeout in `test_reapply_preserve_ip_config` to 0 to
    disable duplicate address detection.

I wonder, why does it only fail in the integration tests? Will this not cause problems on actual systems?

Git commit message updated.


[Android] onProgress returns 100% immediately on start of upload.

I am using TUS for my React Native project.
I have the problem that only on ANDROID when starting to upload, onProgress immediately returns
bytesUploaded === bytesTotal
percent upload: 100%
I tried to use chunkSize. But Tus returns 1 error.
Here is my code:
`mUpload = new tus.Upload(localFile, {
uploadUrl: uploadUrl,
headers: {Accept: 'application/vnd.vimeo.*+json;version=3.4'},
retryDelays: [0, 1000, 3000, 5000],
onError: error => {
onError(error);
},
onProgress: (bytesUploaded, bytesTotal) => {
logger('bytesTotal: ', bytesTotal);
logger('bytesUploaded', bytesUploaded);
const percentage = Math.round((bytesUploaded * 100) / bytesTotal);
},
onSuccess: () => {
    logger('onSuccess')
 },

});
mUpload.start();`
When I try to use chunkSize it seems the percent counter is working but it throws an error Tus returns :
 chunkSize: size / 100,
Error:
Vimeo upload error:  [Error: tus: failed to upload chunk at offset 2605440, caused by [object Object], originated from request (method: PATCH,.....
You are there please help me help me

Hwo big is your uploaded file? Does it get uploaded correctly? Are you sure that the upload corresponding with this uplaodUrl has not been completed before yet?

When I try to use chunkSize it seems the percent counter is working but it throws an error Tus returns :

IIRC, Vimeo has some restrictions on what chunkSizes can be used with their service. Please check their API documentation.


Add modern security headers

Current coverage is 92.60%

Merging #99 into master will increase coverage by +0.17% as of cc76f17

@@            master    #99   diff @@
=====================================
  Files           32     33     +1
  Stmts          608    622    +14
  Branches        36     36
  Methods          0      0
=====================================
+ Hit            562    576    +14
  Partial          0      0
  Missed          46     46

Review entire Coverage Diff as of cc76f17

Powered by Codecov. Updated on successful CI builds.

@trane I am done with the review


Added solution for Dataminr Pulse

Required items, please complete
Change(s):

Added Dataminr Pulse solution for certification

Reason for Change(s):

New Product

Version Updated:

Initial Version

Testing Completed:

Yes

Checked that the validations are passing and have addressed any issues that are present:

Yes

Hello @jayeshprajapaticrest oshezaf have requested changes

Hello @jayeshprajapaticrest oshezaf have requested changes

@v-prasadboke We have noted comment suggested by @oshezaf and we are working on it.

Hello @jayeshprajapaticrest any updates on the above

Hello @jayeshprajapaticrest Please remove the branch conflicts as well

Hello @jayeshprajapaticrest Please remove the branch conflicts as well

@v-prasadboke Sure we will do it. Thanks

Hello @jayeshprajapaticrest any updates on the above

Hello @jayeshprajapaticrest any updates on the above

@v-prasadboke I have resolved the conflicts. Please confirm and let me know if anything else changes are required.

Hello @oshezaf author has requested for review

Hello @oshezaf any updates on the above

The api version of Microsoft.Resources/templateSpecs/versions is 2021-05-01 please replace it with 2022-02-01.
Please correct the api version and repackage the solution again.

The api version of Microsoft.Resources/templateSpecs/versions is 2021-05-01 please replace it with 2022-02-01. Please correct the api version and repackage the solution again.

@v-prasadboke I have updated API version and committed the updated solution.

The api version of Microsoft.Resources/templateSpecs/versions is 2021-05-01 please replace it with 2022-02-01. Please correct the api version and repackage the solution again.

@v-prasadboke I have updated API version and committed the updated solution.

As we are done with the API version change is there any update on this PR for further process?

@oshezaf As there is no specific schema available to map our dataminr alerts data. We have scrapped that use case of ASIM mapping and remove the related files from the PR.

@v-atulyadav @devikamehra @v-prasadboke @manishkumar1991 @oshezaf @rahul0216 @manishkumar1991
Is there any updates on this PR?

@jayeshprajapaticrest : Kindly share the playbook working screenshots

@Team
While resolving conflicts don't know PR gets automatically closed.

@jayeshprajapaticrest : Kindly share the playbook working screenshots
@rahul0216 PFA for the same.

Playbook looks good.

Hello @jayeshprajapaticrest there is still one arm-ttk failure for the PR, please resolve it

Hello @jayeshprajapaticrest there is still one arm-ttk failure for the PR, please resolve it

@v-prasadboke
Working on it. Still getting the hard coded URL related validation error even if I used variable to get it from customer as input with default values.

Ok @jayeshprajapaticrest will examine the validation failures, You can expect an update till 18 Jul

Ok @jayeshprajapaticrest will examine the validation failures, You can expect an update till 18 Jul

OK. Thanks.
Then should I commit updated solution created using V3 tool?

Hello @jayeshprajapaticrest, arm ttk is failing for hardcoded uri. As discussed in the call ill have this issue investiagted and Update you soon.

@v-prasadboke Any updates on this PR?

Hello @jayeshprajapaticrest can we have a quick call for this PR.

If it takes less than 15 min than sure we can connect now. Please share the link.

Shared the link, you can join.

Shared the link, you can join.

I am not able to find it. Can you share here or mailed me?

Microsoft Teams meeting

Join on your computer, mobile app or room device

Click
 here to join the meeting

Meeting ID:
234 142 451 259
Passcode: RcEq4U

Download
 Teams |
Join on the web

Or call in (audio only)

[+1<PHONE_NUMBER>,,331331961#](tel:+13238494874,,331331961#)
  United States, Los Angeles

Phone Conference ID: 331 331 961#

Find
 a local number |
Reset PIN
[Learn More](https://aka.ms/JoinTeamsMeeting)
 |
Meeting options

Hello @jayeshprajapaticrest, as discussed in the call you can go with the requested changes.
https://github.com/Azure/Azure-Sentinel/blob/master/Playbooks/Update-NamedLocations-TOR/azuredeploy.json
You can refer this Playbook for more clarification.

Hello @jayeshprajapaticrest any updates on the requested changes.

Hello @jayeshprajapaticrest any updates on the requested changes.

Just created the solution locally with the updated changes of key vault url as discussed in the call. But still getting the hard coded url related validation.
Will be updating it in this PR in an hour.

Ok sure, Thanks for the updates @jayeshprajapaticrest.

@v-prasadboke
Validation gets succeeded. Can you please proceed with the PR merging process?

Hello @jayeshprajapaticrest, Thank you for the updates but still an arm ttk validation is failing for the same

Hello @jayeshprajapaticrest, Thank you for the updates but still an arm ttk validation is failing for the same

Yes today again we got the error. I did the changes as suggested. But still getting this error.
Can you please help us out so that PR gets merged as early as possible?

Found out what was the issue
can we go with a quick call.

https://teams.microsoft.com/l/meetup-join/19%3Ameeting_ZmE2ZTIzYmUtZTBkMi00ZjNkLTg1ZDgtZjM1N2VkZWUzYTFi%40thread.v2/0?context={"Tid"%3A"72f988bf-86f1-41af-91ab-2d7cd011db47"%2C"Oid"%3A"28263f0a-981b-4a56-a4c9-1e91e9ea44fb"}

Hello @jayeshprajapaticrest, we are still discussing this issue internally. You can expect an update till 02 Aug 2023

Hello there, @jayeshprajapaticrest. This is still being worked on. Sorry for the trouble and delay in getting this PR Merged.
I'm looking for a solution to the validation check that is failing for hardcoded URIs.

Hello @jayeshprajapaticrest, as discussed in the call we are still onto this and update you soon about the same.

Hello @jayeshprajapaticrest, We are still discussing this check failure for hard coded uri. Will update you before 18 Aug 2023.

Hello @jayeshprajapaticrest, Sorry for the inconvenience. But we are facing some technical issue while working on the logic app design.
This is my assurance I'll update provide you some update and fix the issue of this playbook.
Thank you and Once again I apologize for the delay.

Hello @jayeshprajapaticrest, Sorry for the inconvenience. But we are facing some technical issue while working on the logic app design. This is my assurance I'll update provide you some update and fix the issue of this playbook. Thank you and Once again I apologize for the delay.

@v-prasadboke
Understood. Thanks for the reply.
Please try to do as fast as you can as we need this integration publicly available.

@v-prasadboke
Can we reschedule it to early at around 12:30 if possible?

@v-prasadboke Can we reschedule it to early at around 12:30 if possible? As I have some meetings between 1 to 4 PM today.

@v-prasadboke
My meeting gets cancelled. So we can connect at 3:00 PM. If possible from your end please share the link.
Thanks.

Hello @jayeshprajapaticrest, If you are available for tomorrow 24 August, 2023 can we schedule a call?

Hello @jayeshprajapaticrest, If you are available for tomorrow 24 August, 2023 can we schedule a call?

@v-prasadboke Sure we can connect.

Thank you for the reply @jayeshprajapaticrest, Will share you the invite within some time.

Thank you for the reply @jayeshprajapaticrest, Will share you the invite within some time.

@v-prasadboke
Are we going to connect as I didn't have the invite?

Hello @jayeshprajapaticrest, I've sent you a mail with attached .json file of the playbook. Please check it out and let me know about the same.
Thanks, Prasad.

Hello @jayeshprajapaticrest, I've sent you a mail with attached .json file of the playbook. Please check it out and let me know about the same. Thanks, Prasad.

@v-prasadboke
Thanks for the update.
Will check and updates you here as soon as possible.

Hello @jayeshprajapaticrest, Any updates on the above requested changes.

Hello @jayeshprajapaticrest, Could you please share some updates on the above forementioned requested changes.
Thank you.

Hello @jayeshprajapaticrest, Could you please share some updates on the above forementioned requested changes. Thank you.

We are working on to checking it. Will updates you by tomorrow EOD itself.

Hello @jayeshprajapaticrest, Thank you for the updates.

@v-prasadboke
We have locally tested the playbook that you shared with us. We did minor change in the concate part and it gets running successfully. Also there is not hardcoded url related Armttk error. So I have committed the latest playbook templated and package.
Please look into it.
Also we are getting one new KqlValidation error which was not expected. So can you please help us out for that as well?

Hello @jayeshprajapaticrest, Thank you for committing the changes. I'll take a loot at the changes which you committed and at the KQL validation as well. We will provide you some update before 06 September 2023.

@v-prasadboke
We have committed the yaml file for custom parser and all the validation errors gets resolved.
So can you please proceed further for PR merging as it already took so much time?

Hello @jayeshprajapaticrest, Thank you for the response.
Will examine this PR and update you about the same soonest before 07 September, 2023.

Hello @jayeshprajapaticrest, Available for a quick call

Hello @jayeshprajapaticrest, Available for a quick call. Its about sample data

Sure, We can connect at 05:30 today.

I'll Schedule a call as per the same

I'll Schedule a call as per the same

@v-prasadboke We can connect now if you are available

Microsoft Teams meeting

Join on your computer, mobile app or room device

Click
 here to join the meeting

Meeting ID:
227 294 715 019
Passcode: B5TPd2

Download
 Teams |
Join on the web

Or call in (audio only)

[+1<PHONE_NUMBER>,,774458782#](tel:+13238494874,,774458782#)
  United States, Los Angeles

Phone Conference ID: 774 458 782#

Find
 a local number |
Reset PIN
[Learn More](https://aka.ms/JoinTeamsMeeting)
 |
Meeting options

Hello @jayeshprajapaticrest, I've committed some minimal changes.
Please approve and confirm. Also I've added a readme file which have a date modified section please update the date as accordingly.
Thanks.

@v-prasadboke
I checked the changes and I have few question in it that you have done.
So is it possible to quick connect today if you are available to discuss and getting better understanding on the changes?

Sure @jayeshprajapaticrest, Is 2:00 AM ok.

Is it fine to connect at 3:00 PM if you are OK with it?

Is it fine to connect at 3:00 PM if you are OK with it?

Sure, You can join with the same meeting link mentioned above

Is it fine to connect at 3:00 PM if you are OK with it?

Sure, You can join with the same meeting link mentioned above

Note. Thanks

@v-prasadboke
Sorry for the inconvenience  caused.
I have one sudden important meeting scheduled for other task at 03:00 PM.
So can we reschedule it after 4:00 PM if possible?

Sure we can go for 4:00 PM.

Hello @jayeshprajapaticrest, Waiting for your approval for my committed changes. Thank you.

@v-prasadboke
I have made one commit with some minor changes in playbook and workbook. Please check and everything is looks good from my end. Please proceed further.

@v-prasadboke Thank you for approving the changes. Let's hope finally it will merge by today.


Add Greek language translation

Adding "el.json" file for Greek translations of the user strings.
Note:
"el" is the ISO 639-1 standard two-letter code for Greek language.
Source:
https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes#el

Thank you @vassilis-papanikolaou !


Update app.py

want to change something on this code

Okk sure
On Wed, Jul 5, 2023, 21:19 Bob Belderbos @.***> wrote:

Closed #60
https://github.com/talkpython/100daysofcode-with-python-course/pull/60.
—
Reply to this email directly, view it on GitHub
https://github.com/talkpython/100daysofcode-with-python-course/pull/60#event-9733524474,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4FHML6YXEVZRSEWZUAG2T3XOWEHPANCNFSM6AAAAAAZ7B33BM
.
You are receiving this because you authored the thread.Message ID:
<talkpython/100daysofcode-with-python-course/pull/60/issue_event/9733524474
@github.com>

Just a hello everybody. I bought this together with a bunch of other Udemy things years ago, and I'm just getting back into both programming and Chinese.
So I'm months behind you all.
Cheers!
David.


Correlate some more activities with OSM tags.

Thanks to Tom Skinner (@trskinner) for the patch!

Awesome, thank you Tom and Michael! I'll update PersonType tomorrow and come up with profiles that engage in more of these new activities.


[Do not merge] Adds proof-of-concept for man page

Requires help2man
Available from homebrew
See https://github.com/Distrotech/help2man

Follow-up to 1 October CLI meeting

Available from homebrew

This needs to be available on all developer platforms IMO. Is there a better tool than this really old one? Would you consider generating markdown and then using pandoc? This will give you more control too I suspect.

Josh said he wasn't actually serious about adding the man page material, and the source for the utility is linked if you ever decide that's the direction you want to go in.
This was a fun tiny way to take a break, but I'm going to close this as a non-starter.
I do appreciate you taking a peek though. :)


KNOX-2157 - Verifying the server's state in addition to PID check at gateway start

What changes were proposed in this pull request?
Apart from the already existing PID check, we are going to verify if the Jetty server is in STARTED state. We can achieve it by implementing Jetty's LifeCylce.Listener interface and write out the status (STARTING, STARTED, FAILURE, STOPPING, STOPPED) into $DATA_DIR/gatewayServer.status file. The startup script will return 0 when this file contains STARTED; 1 otherwise (the file is overwritten in every status change).
Additionally, two new command-line options are introduced to the start command:

--test-gateway-retry-attempts: indicates the number of tries the startup script should execute before it fails. Defaults to 5.
--test-gateway-retry-sleep: the amount of time that the test process will wait or sleep before a retry is issued. Defaults to 2s.

Note: currently, the stop command simply kills the Java process and there is no hook in the Java code to handle graceful shutdown. Because of this the STOPPING and STOPPED statuses never got written into the status file. To avoid future errors I rather added a delete command in the shell script.
How was this patch tested?
Executed a full build:
$ mvn clean -Dshellcheck=true -T1C verify -Prelease,package
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18:24 min (Wall Clock)
[INFO] Finished at: 2020-01-02T18:50:47+01:00
[INFO] Final Memory: 410M/1798M
[INFO] ------------------------------------------------------------------------

Tested manually:

confirmed that the new status file became created/removed when started/stopped the server
tried the start command with different options (--printEnv, --test-gateway-retry-attempts, --test-gateway-retry-sleep)
made sure (using debug messages in the shell scripts) that the status check took place (in my environment it needed 3 re-tries)

So just to make sure I understand the problem, the issue is that the launcher runs the gateway process and doesn't wait for the initialization of the server to complete before returning and saying this is up and running.
Is it possible to maybe use the listener or another method in the GatewayServer to wait until initialization is complete? Is the launcher returning too soon?
Ideally after GatewayServer starts the server would be completely ready. It is weird that we are saying that everything is good before that :/
I am not sure I am a fan of the writing a file and checking the output to avoid what looks to be a fundamental gateway starting issue. I wonder how we avoid this in tests currently. There must be an existing method to make sure that the topology is deployed or something along those lines or we would see issues like this in the tests. The solution in this PR wouldn't help the tests since it would be in the shell script only.

The main difference between our tests and the way how we start it from the startup script is:

within the tests we directly call GatewayServer.startServer (usually in methods annotated with @BeforeClass) and wait until it returns
whereas in the script - where the application is configured to run in the background by default - creates a Java process with nohup which invokes GatewayServer.main() with the given argument and let the process live its own life in the background. Right after the Java call the script continues to check if the PID exists. Usually, it takes some time for the server to start up but the script indicates it's up&running because the PID is there.

It's not easy to add hook in a shell script to check the 2nd case:

either the server persists its state somewhere which the script can read (this is what I implemented here)
or the script tries to ping the server somehow
2.1. The REST API would be ideal, but this would require at least one servlet which does not require authentication.
2.2. Or one might try to check if the port is open. For instance:

$ nc -z localhost 8443

$ echo $?
1

$ nc -z localhost 8443

$ echo $?
1

$ nc -z localhost 8443
Connection to localhost port 8443 [tcp/pcsync-https] succeeded!

$ echo $?
0


Python3 syntax updates: remove future imports, unicode

Syntax clean up - does not functionally alter anything, but they are ignored by Python 3, so remove them.

Need to update print statements as well, will reopen shortly

Updated print commands.


Demo of possible fix for checkbox label focus glitch

This PR demonstrates a possible fix to #1906.
I don't necessarily expect it to get merged - but the review app can help demonstrate how it works and possibly be used for testing.
I've tried it in Voiceover on mac and it seems to have no impact.
As it's fiddling with focus it would want to be well tested - but you can't directly focus these items anyway so it mostly makes changes only when mouse-down on a label.

This fix is a variation of what I did to fix a similar issue on my service - there using a parent element as a 'trap' for the focus.
I actually think it's better if the checkbox input retains visual focus, so I prefer this approach.
One other approach could be a pure js solution looking for mousedown on a label and moving focus.

Hi @edwardhorsford. After 2+ years someone's getting back to you on this 😅
Thanks for investigating this, the solution looks good. It has however prompted me to investigate. the issue and I think I've found a slightly neater solution that involves targeting the label with :active. By changing the focus state CSS that starts on on line 123 of the checkbox sass file so that it also targets .govuk-checkboxes__label:active:before, it applies the correct focus styling when the label is clicked ("active") even though focus technically isn't on the checkbox input anymore, as per your hypothesis.
I've done some very rudimentary testing and it seems to work well but I'm also interested in your opinion on this, if you can remember working on this. Depending on if you think this solution works we can do a couple of things to move it forward:

Tidy up this PR to reflect the active solution
Close this PR and open a new one with the active solution

Let me know what you think.

@owenatgov thanks for looking at this.
I didn't immediately remember it specifically, but do recall fixing a bug related to this on our service. As my memory is patchy, it might be better if you just open a new pr with your solution. I'd be happy to give it a test though.

I've made a PR with my proposal https://github.com/alphagov/govuk-frontend/pull/2827
As this PR is recorded in the new PR, I'm going to close this one. We can always reopen this one if we discover that it's a more suitable solution.