Allow concat() to drop/replace duplicate index labels?

Right now,
>>> coords_l, coords_r = [0, 1, 2], [1, 2, 3]
>>> missing_3 = xr.DataArray([11, 12, 13], [(dim, coords_l)])
>>> missing_0 = xr.DataArray([21, 22, 23], [(dim, coords_r)])
>>> together = xr.concat([missing_3, missing_0], dim='x')
>>> together
<xarray.DataArray 'missing_3' (x: 6)>
array([11, 12, 13, 21, 22, 23])
Coordinates:
  * x        (x) int64 0 1 2 1 2 3
>>> together.sel(x=1)
<xarray.DataArray 'missing_3' (x: 2)>
array([12, 21])
Coordinates:
  * x        (x) int64 1 1

Would it be OK to introduce a kwarg ("replace"?) that replaces cells of identical coordinates from right to left?
That would render
>>> together
<xarray.DataArray 'missing_3' (x: 6)>
array([11, 21, 22, 23])
Coordinates:
  * x        (x) int64 0 1 2 3

Some people might even want to drop all cells with coordinate collisions (probably not us).  If that's the case then the kwarg would be ternary.....

I don't think this is the best fit for concat. Rather, I would suggest a new method, something like combine_first. See these issues for more discussion: https://github.com/pydata/xarray/issues/835 https://github.com/pydata/xarray/issues/742

Is combine_first already implemented?  I can't find it in the source code, neither could I find ops.choose.

Sorry, nope not implemented yet.  ops.choose also is not implemented yet, but it would be in the style of stack from core/ops.py.

So I fooled around with Pandas' combine_first:
>>> df1 = pd.DataFrame({'x':[1,2,3],'z':[4,5,6]}).set_index('x')
>>> df1
   z
x
1  4
2  5
3  6
>>> df2 = pd.DataFrame({'x':[1,12,13],'y':[0,5,6],'z':[7,8,9]}).set_index(['x','y'])
>>> df2
      z
x  y
1  0  7
12 5  8
13 6  9
>>> df1.combine_first(df2)
        z
x  y
1  0  4.0
12 5  8.0
13 6  9.0

and was surprised that the indexes were not "outer-joined".  Is this the behavior xarray wants to emulate?
As a mockup for xr.combine_first(arr1, arr2)', I was thinking about using align([arr1, arr2], join="outer")` to set up the template, and then go into the template to set the values right.  Is that a sound approach?  Muchas gracias.

Indeed, I think we definitely want to do an outer align first. That behavior for pandas looks very strange.

Here's my somewhat hacky stab at it, not optimized for speed/efficiency:
def combine_first(left, right):
    """
    Takes 2 data arrays, performs an outer-concat, using values from the right array to
    fill in for missing coordinates in the left array.
    """
    l_aligned, r_aligned = xr.align(left, right, join="outer")
    temp = l_aligned + r_aligned   # hack
    temp.values[temp.notnull().values] = np.nan  # now template is all nan
    # insert non-nan values from right array first
    temp.values[r_aligned.notnull().values] = r_aligned.values[r_aligned.notnull().values]
    # insert values from left array, overwriting those from right array
    temp.values[l_aligned.notnull().values] = l_aligned.values[l_aligned.notnull().values]
    return temp

And the result:
>>> ar1 = xr.DataArray([4,5,6],[('x',[1,2,3])])
>>> ar2 = xr.DataArray([[7,8,9],[10,11,12],[13,14,15]],[('x',[1,12,13]),('y',[0,5,6])])
>>> ar1
<xarray.DataArray (x: 3)>
array([4, 5, 6])
Coordinates:
  * x        (x) int64 1 2 3
>>> ar2
<xarray.DataArray (x: 3, y: 3)>
array([[ 7,  8,  9],
       [10, 11, 12],
       [13, 14, 15]])
Coordinates:
  * x        (x) int64 1 12 13
  * y        (y) int64 0 5 6
>>> temp = combine_first(ar1, ar2)
>>> temp
<xarray.DataArray (x: 5, y: 3)>
array([[  4.,   5.,   6.],
       [  4.,   5.,   6.],
       [  4.,   5.,   6.],
       [ 10.,  11.,  12.],
       [ 13.,  14.,  15.]])
Coordinates:
  * x        (x) int64 1 2 3 12 13
  * y        (y) int64 0 5 6
>>> temp = combine_first(ar2, ar1)
>>> temp
<xarray.DataArray (x: 5, y: 3)>
array([[  7.,   8.,   9.],
       [  4.,   5.,   6.],
       [  4.,   5.,   6.],
       [ 10.,  11.,  12.],
       [ 13.,  14.,  15.]])
Coordinates:
  * x        (x) int64 1 2 3 12 13
  * y        (y) int64 0 5 6

Would this be the behavior we want from xarray's combine_first?  Not entirely analogous to the Pandas function.  Maybe rename it?

Another test:
>>> left
<xarray.DataArray (x: 2, y: 2)>
array([[1, 1],
       [1, 1]])
Coordinates:
  * x        (x) |S1 'a' 'b'
  * y        (y) int64 -2 0
>>> right
<xarray.DataArray (x: 2, y: 2)>
array([[0, 0],
       [0, 0]])
Coordinates:
  * x        (x) |S1 'b' 'c'
  * y        (y) int64 0 2
>>> combine_first(left, right)
<xarray.DataArray (x: 3, y: 3)>
array([[  1.,   1.,  nan],
       [  1.,   1.,   0.],
       [ nan,   0.,   0.]])
Coordinates:
  * x        (x) object 'a' 'b' 'c'
  * y        (y) int64 -2 0 2
>>> combine_first(right, left)
<xarray.DataArray (x: 3, y: 3)>
array([[  1.,   1.,  nan],
       [  1.,   0.,   0.],
       [ nan,   0.,   0.]])
Coordinates:
  * x        (x) object 'a' 'b' 'c'
  * y        (y) int64 -2 0 2

Pandas implements this like: result = where(notnull(left), left, right). That's probably how we want want to do it -- much simpler than my proposal in the other issue.

I think we should still call it combine_first -- the only difference is the alignment behavior.

Thanks for the reply.  Wpuld it make things easier if c, d = xr.align(a, b, join="outer") explicitly broadcasts missing dimensions in all returned values?  Currently, if b is missing a dimension, then d would also miss a dimension:
>>> a
<xarray.DataArray (x: 2, y: 2)>
array([[1, 1],
       [1, 1]])
Coordinates:
  * x        (x) |S1 'a' 'b'
  * y        (y) int64 -2 0
>>> b
<xarray.DataArray (x: 3)>
array([4, 5, 6])
Coordinates:
  * x        (x) |S1 'a' 'b' 'd'
>>> c, d = xr.align(a, b, join="outer")
>>> c
<xarray.DataArray (x: 3, y: 2)>
array([[  1.,   1.],
       [  1.,   1.],
       [ nan,  nan]])
Coordinates:
  * x        (x) object 'a' 'b' 'd'
  * y        (y) int64 -2 0
>>> d
<xarray.DataArray (x: 3)>
array([4, 5, 6])
Coordinates:
  * x        (x) object 'a' 'b' 'd'

Use xarray.broadcast to do xarray style broadcasting (it also aligns). This will be easier after xarray.apply is merged
For now, maybe use Dataset._binary_op - take look at how fillna is implemented. This is actually almost exactly the same as fillna except using an outer join (instead of a left join).

So I spend some time looking at dataset._calculate_binary_op but couldn't quite come up with what I wanted.  After banging my head against the wall a bit this is what I have:
def combine_first(left, right):
    la, ra = xr.align(left, right, join='outer', copy=False)  # should copy=True?
    la, ra = la.where(ra.isnull() | ra.notnull()), ra.where(la.isnull() | la.notnull())
    ra.values[la.notnull().values] = la.values[la.notnull().values]
    return ra

And it seems to work.  My test cases are
>>> l_2d
<xarray.DataArray (x: 2, y: 2)>
array([[1, 1],
       [1, 1]])
Coordinates:
  * x        (x) |S1 'a' 'b'
  * y        (y) int64 -2 0
>>> r_2d
<xarray.DataArray (x: 2, y: 2)>
array([[0, 0],
       [0, 0]])
Coordinates:
  * x        (x) |S1 'b' 'c'
  * y        (y) int64 0 2
>>> ar_1d
<xarray.DataArray (x: 3)>
array([4, 5, 6])
Coordinates:
  * x        (x) |S1 'a' 'b' 'd'

and here are the results:
>>> combine_first(l_2d, r_2d)
<xarray.DataArray (x: 3, y: 3)>
array([[  1.,   1.,  nan],
       [  1.,   1.,   0.],
       [ nan,   0.,   0.]])
Coordinates:
  * x        (x) object 'a' 'b' 'c'
  * y        (y) int64 -2 0 2
>>> combine_first(r_2d, l_2d)
<xarray.DataArray (x: 3, y: 3)>
array([[  1.,   1.,  nan],
       [  1.,   0.,   0.],
       [ nan,   0.,   0.]])
Coordinates:
  * x        (x) object 'a' 'b' 'c'
  * y        (y) int64 -2 0 2
>>> combine_first(l_2d, ar_1d)
<xarray.DataArray (x: 3, y: 2)>
array([[ 1.,  1.],
       [ 1.,  1.],
       [ 6.,  6.]])
Coordinates:
  * x        (x) object 'a' 'b' 'd'
  * y        (y) int64 -2 0
>>> combine_first(ar_1d, l_2d)
<xarray.DataArray (x: 3, y: 2)>
array([[ 4.,  4.],
       [ 5.,  5.],
       [ 6.,  6.]])
Coordinates:
  * x        (x) object 'a' 'b' 'd'
  * y        (y) int64 -2 0

I don't like the fact that I have to access .values, and the use of .where is slightly wonky.  But this is definitely the cleanest working solution I have thus far.  Any suggestion to improve is welcome.

Any suggestion on improvement?

hmm, so what would be an expected behavior of ds.combine_first?
If I have
>>> ds0
<xarray.Dataset>
Dimensions:  (x: 2, y: 2)
Coordinates:
  * x        (x) |S1 'a' 'b'
  * y        (y) int64 -1 0
Data variables:
    ds0      (x, y) int64 0 0 0 0
>>> ds1
<xarray.Dataset>
Dimensions:  (x: 2, y: 2)
Coordinates:
  * x        (x) |S1 'b' 'c'
  * y        (y) int64 0 1
Data variables:
    ds1      (x, y) int64 1 1 1 1

I get
>>> ds0.combine_first(ds1)
<xarray.Dataset>
Dimensions:  (x: 3, y: 3)
Coordinates:
  * x        (x) object 'a' 'b' 'c'
  * y        (y) int64 -1 0 1
Data variables:
    ds0      (x, y) float64 0.0 0.0 nan 0.0 0.0 nan nan nan nan
    ds1      (x, y) float64 nan nan nan nan 1.0 1.0 nan 1.0 1.0

and changing the order to ds1.combine_first(ds0) just flips the order of the data_vars, but the cell values of the data_vars remain the same.
This is done essentially by adding a _combine_first to ops.py that mimics _fillna, except join='outer'.

What about simply adding a keyword argument join to fillna? Then you could you write join='outer' to accomplish combine_first.

So these are my _fillna and _combine_first in ops.inject_binary_ops:
f = _func_slash_method_wrapper(fillna)
method = cls._binary_op(f, join='left', fillna=True)
setattr(cls, '_fillna', method)

f = _func_slash_method_wrapper(fillna)
method = cls._binary_op(f, join='outer', fillna=True)
setattr(cls, '_combine_first', method)

Within dataarray.py and dataset.py, combine_first(self, other) simply returns self._combine_first(other).  This code path renders the test results you saw earlier.
Given this construct, I'm not sure how to do the refactor like you mentioned.  Perhaps a few more pointers to the right direction? :)

I suppose I can save one line by getting rid of the duplicate f = _func_slash_method_wrapper(fillna), but besides that I'm not sure what's the best way to refactor this.
If the behaviors check out, then this branch might be ready for a PR.

Currently, ds0.combine_first(ds1) gives exactly the same result as xr.merge([ds0, ds1]).  But for data arrays it still offers something new.
Either
1.) my combine_first should be doing something different with datasets, or
2.) we don't need a combine_first for datasets, or
3.) change xr.merge so that when applied to data arrays, it creates a new data array with outer-join and fillna (by chaining combine_first down the list of data arrays).

Checking in on how to move forward from here...I feel it's pretty close to a PR...

I would rather wait a little while here -- I think #964 will handle the logic we need to make add a join argument to fillna very easy, which I would prefer to adding a new method.
merge works a little differently than combine_first -- it raises an exception if any overlapping values conflict.

So I took at quick look at the commits in #964.  It's not entirely clear to me how one can easily add a join argument to fillna.  Should I keep my current commits, and just submit a PR to master once #964 is merged in, and then we could see how it goes from there?

I just merged #964.
If you're up for it, I would suggest rewriting fillna using apply_ufunc, instead of the current hack which relies on the injected _fillna method created with the _binary_op staticmethod (ugh).
Let me know if you need any guidance on using apply_ufunc or if the documentation is sufficient. In this case, at least you would not need to use confusing signature argument.

Ok I'll give it a shot.  Will touch base when I run into roadblocks.

I'm curious, if you put a from .computation import apply_ufunc inside ops.py, would you not get some circular ImportError?  Seems difficult to get out of this circle......

@chunweiyuan import at the top of the method/ function,
def fillna(self, other, ...):
     from .computation import apply_ufunc
     return apply_ufunc(...)

This is the pretty standard way to get around circular imports. There's basically no way to avoid this issue with APIs designed to have lots of logic in method calls.

Fixed by #1204


Is there a way to get the current login user name in JSON.

Laravel Version: 5.5.18
Voyager Version: 1.0
PHP Version: 7
Database Driver & Version:

Description:
Is there a way to to add current loin user name on text field. so when a user fill a form there user name can add on the filed automatic.
I know on laravel i can use Auth::user()->name to get current user but how can i use it in brade options.
This is a Question.

{{Auth::user()->name}}

I'm not sure what this has to do with Voyager.  Are you looking to have certain fields pre-fill with the user's name? If so, That's not something Voyager currently supports, and it's very unlikely we'll merge that into Voyager, but you're free to make it work for your own project.
Also, "how do I..." questions are best asked on our slack group.  It's a lot easier to hold discussions there.


Hide rows of weeks in the calendar

Hey, I was wondering if there's a way to display day rows only from the current week onwards in the month view instead of the entire month.
Thanks

Any workaround or way to do this?

@bryankeller any updates here?


Do you have similar "re-train" example for binary classification?

I am trying to load a existing LightGbmBinary model (.zip) and retrain it with new data.  Just don't know how to make it work.  Any help will be greatly appriciated.

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

ID: 0366cc46-bc07-44fd-72d9-d37b40bd5eca
Version Independent ID: 5c20d041-f946-d7c8-b0b5-7bee96e90282
Content: Re-train a model - ML.NET
Content Source: docs/machine-learning/how-to-guides/retrain-model-ml-net.md
Product: dotnet-ml
GitHub Login: @luisquintanilla
Microsoft Alias: luquinta

LightGBM is not one of the supported algorithms that lets you incrementally retrain a model at this time. If that's something you'd be intererested in, I would encourage you to suggest it as a feature in the dotnet/machinelearning repo.


Dose this support MacOS CPU version and ignore the inference speed?

I want to test this demo on my MacOS, however when i "make" in "lib" folder it shows that it requires cuda nvcc home.

Hi,
Have you solved this problem? I am working on an ubuntu 18.04 LTS system with CPU only and I encounter the same problem when I try to run  $ python demo_video_mobile.py or $ python demo_camera_mobile.py
ModuleNotFoundError: No module named 'nms.gpu_nms'
Because I don't run "make" in the "lib" folder.
Thank you in advance for your help!


assignment is updated

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
I aimed to refactor existing code to improve the model’s performance and enhance the data preprocessing pipeline
What did you learn from the changes you have made?
From these changes, I learned the importance of feature engineering in improving model performance. Adding relevant features and refining the data processing pipeline led to better model accuracy and predictive power. Additionally, I learned that cross-validation provides a more reliable measure of model performance compared to a single train-test split.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
N/A
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
N/A
How were these changes tested?
N/A
A reference to a related issue in your repository (if applicable)
N/A
Checklist

[ ] I can confirm that my changes are working as intended

Revised my work based on the comments

approved


Feature request: convenience clear_state method in Logger

Use case

[!note]
This is a cross-language feature request that was originally brought up under aws-powertools/powertools-lambda-typescript#2337

As a customer who uses canonical logging - aka wide logging - I would like to be able to clear any key I might have appended to the Logger instance regardless of me using the default formatter or the decorator - both of which either expose a method along these lines or can be configured to automatically clear state.
Solution/User Experience
from aws_lambda_powertools import Logger
from aws_lambda_powertools.utilities.typing import LambdaContext

logger = Logger()

def lambda_handler(event: dict, context: LambdaContext) -> str:
    try:
        logger.append_keys(order_id=event.get('order_id', None)
    finally:
        logger.info('CANONICAL')
        logger.clear_state()

Alternative solutions
N/A

Acknowledgment

[X] This feature request meets Powertools for AWS Lambda (Python) Tenets
[ ] Should this be considered in other Powertools for AWS Lambda languages? i.e. Java, TypeScript, and .NET

Awesome, thank you for opening this @dreamorosi ! We'll work on this tomorrow

Meanwhile we don't submit a PR for a top level method, this is possible today like this:
logger.registered_formatter.clear_state()

The top level method should delegate to formatter

Hello @heitorlessa and @dreamorosi! I noticed in the issue https://github.com/aws-powertools/powertools-lambda-typescript/issues/2337 that you two discussed how to resolve a "conceptual" bug with our current method names (persistent vs non-persistent) and their behavior. I see that some things are marked as deprecated to be removed in the next major release. As we're about to release Powertools for AWS Lambda (Python) v3, we have an opportunity to review this here.
My idea is:
1 - Create a new method and call it add_persistent_keys so that those keys will persist even the clear_state() method is invoked. This method will allow developers to explicitly define the keys that should remain until the Logger instance is destroyed.
2 - Regarding the current append_keys method, I don't think we need to change its functionality. However, we should improve the documentation and potentially add a workflow example to clarify that this method behaves like a "temporary keys" mechanism. The keys added through append_keys will be removed when clear_state() is called, as it is currently designed.
I might be misunderstanding something regarding the TypeScript issue, and please correct me if this is the case. If not, and you agree with my proposal, I think we can proceed with implementing this change for Powertools for AWS Lambda (Python) v3.

Hey Leo, I'm unsure on how to move forward with that feature and even more unsure whether to recommend that you skip it entirely in Python or not.
The clear_state method is fine, but the persistent/temporary distinction is a bit messy due to how it was naively implemented in our repo.
With Heitor we already hashed out the new API and wording (my second to last comment in the PR), but now there are some questions on how to actually implement it as fixing the implementation requires a different merging strategy for the attributes. I plan on fixing this later next week, or the week after once I'm done with the Madrid Summit.
It's important to highlight here that this distinction between persistent and temporary attributes was added to TS as a deviation by the original implementer and not in response to customer demand, at least afaik.
While there are valid use cases for this type of feature, I don't know that we have evidence of customers actually needing/using it, so the decision to add it to Python is up to you.

Hello @dreamorosi! Thank you for your always valuable insights! I'm going to leave this here on hold until you make progress on the TypeScript PR and see if we can adopt the same in Python. If possible, it's good because we can start to reduce the differences in language implementations, if not I'll move forward and implement only the clear_state method.


Using otelcol.exporter.oltphttp to send logs to Loki OTLP points fails due to 204 response

What's wrong?
Attempting to push logs from otelcol.exporter.olpthttp directly to a Loki 3.1.0 OTLP endpoint seems to fail i.e. logs are not acklowledged as being sent even though I can see the logs appear in Loki. This seems to be caused by Loki responding with a HTTP 204 which is not recognized as success by the oltphttp component.
I found a possible otel related upstream issue which was recently fixed:
https://github.com/open-telemetry/opentelemetry-cpp/issues/2632
https://github.com/open-telemetry/opentelemetry-cpp/pull/2712
If the otlphttp component is using this library then this would explain the above observation.
When I introduce a Caddy proxy in between with the following config, the problem goes away!
reverse_proxy /v1/logs {
    to loki-gateway.loki-system.svc:80
    @204 {
       status 204
    }
    handle_response @204 {
       copy_response 200
    }
    rewrite /otlp/v1/logs
}

Can alloy update to the latest opentelementry-cpp version to solve this?
Steps to reproduce

Set up Alloy to push OTLP logs directly to a Loki 3.1.0 OTLP endpoint
Observe the pipeline clogging up as delivery of logs is not acknowledged

System information
Linux grafana-alloy-1 6.1.92
Software version
Grafana Alloy v1.2.1
Configuration
loki.source.kubernetes "pods" {
  targets    = discovery.relabel.loki_relabel.output
  forward_to = [
    otelcol.receiver.loki.local.receiver,
  ]
}

otelcol.exporter.otlphttp "local" {
  client {
    # This endpoint rewrites /v1/logs to /otlp/v1/logs
    endpoint = "http://otlp-proxy.starlift-observability.svc"
    auth = otelcol.auth.headers.local.handler

    tls {
      insecure = false
    }
  }
}

Logs
ts=2024-07-12T08:18:33.463303168Z level=error msg="failed to consume log entries" component_path=/ component_id=otelcol.receiver.loki.local err="sending queue is full"

Any news on this?


Extract Documentation from Monorepo

Pull documentation into its own repo

So far I haven't done much but open lots of tabs - hoping to get a little further this week

2 pieces left is:

moving all documents over
makes sure autogenerated docs is set up and works

https://github.com/celo-org/docs


Document how to debug apps with VS Code

https://github.com/sony/flutter-elinux/wiki/Debugging-with-VSCode
cc @xuelian-bai Did you know this? This is cool!

I'm planning to let the tool automatically configure launch.json on app launch so that the user doesn't have to copy and paste observatoryUri manually. In that way, the user can just press the Run button (F5) to attach to a running app and start debugging. I'll prepare a PR soon.
cc @xuelian-bai

That sounds good.
I have one concern, in vscode, for example, run a java application, user can set breakpoint and run, user don't need to attach a running app manually, in this way, user can debug an app which may can't launch properly, but, if app can only be attached, the precondition is that the app can launch properly.
But, it seems that this method use offcial vscode flutter extension, which is not open source, I think maybe we have no other way to debug...

@xuelian-bai Yes, I'm aware of that limitation. Only the "Attach and Debug" function can be supported in the way I mentioned. I'll try to find a way to enable "Run and Debug", but actually there could be no way to resolve the limitation. Still, I think the limitation is something that can be understanded by users as long as we document it properly.

the precondition is that the app can launch properly.

FYI, there is an option --start-paused that can provided to the flutter-tizen run command. Code execution can be paused until a debugger is attached.

offcial vscode flutter extension, which is not open source,

Why do you think it's not open-sourced: https://github.com/Dart-Code/Dart-Code :)
There's a chance to contribute to the project, as I mentioned as a second option in https://github.com/flutter-tizen/flutter-tizen/issues/88#issuecomment-823812365.


How to provide non const list to the list parameter in MultiSelectDropdown

hi i wanted to provide a non-const list to the list parameter but after providing a non-const list the dropdown is not generating

i have the same problem, how to deal it?

i have the same problem, how to deal it?

@hycinth ... If I have understood your problem correctly then, the constructor of the multi select widget is const and its a stateful widget so you will not see the difference until its marked as dirty and rebuilds. Try providing UniqueKey() for the multi select widget.

The below code works for me you need to render the widget after API call hope this will solve your problem
details.isEmpty                                   ? null                                   : MultiSelectDropdown.simpleList(                                       list: details                                           .map((e) => e.name)                                           .toList(),                                       initiallySelected:                                           selectedDetails                                               .map((e) => e.name)                                               .toList(),                                       includeSelectAll: true,                                       isLarge: false,                                       textStyle: const TextStyle(                                           fontSize: 14,                                           overflow: TextOverflow.ellipsis),                                       splashColor: Colors.transparent,                                       onChange: (newList) {                                         // your logic                                         // typically setting state                                       },                                       width: 180,                                       numberOfItemsLabelToShow:                                           2, // label to be shown for 2 items                                       padding: EdgeInsets.zero,                                       whenEmpty:                                           'Select Note', // text to show when selected list is empty                                       boxDecoration: BoxDecoration(                                         border: Border.all(                                             color: Colors.transparent),                                         borderRadius: BorderRadius.circular(0),                                       ),                                     ),


Uninstallation program frozen

I searched the keyword 'Uninstallation', no related item pop up, so I decide to report a new issue.
Output of docker version:
<IP_ADDRESS>33
1.12.1-rc1-beta23
Docker windows

Output of docker info:
(paste your output here)

Additional environment details (AWS, VirtualBox, physical, etc.):
OS: windows 10 Pro Version 1511
OS Build : 10586.545
Steps to reproduce the issue:

Uninstall Docker

Describe the results you received:
The program froze here:

I guess something wrong when it trying to stop its service

Describe the results you expected:
Docker can be uninstalled smoothly
Additional information you deem important (e.g. issue happens only occasionally):

Can you open this issue here https://github.com/docker/for-win/issues as you will get help fater as it is specific to Docker for Windows.

@justincormack I opened an new issue and the link is https://github.com/docker/for-win/issues/60


Output in protein group tsv messed up

Some cells attempt to have more than 32000 characters written, which messes up excel formatted results.

done in #934


make changes for subindex logic in all double entry models upstream

Pull Request
Are you a current Fivetran customer?

What change(s) does this PR introduce?

Bug fixes

Added additional logic to account for journal_entry lines and amounts in payment models.
Filtered out unusual cases causing payment discrepancies (see more of the investigation here)

Did you update the CHANGELOG?

[ ] Yes

Does this PR introduce a breaking change?

[ ] Yes (please provide breaking change details below.)
[ ] No  (please provide an explanation as to how the change is non-breaking below.)

Did you update the dbt_project.yml files with the version upgrade (please leverage standard semantic versioning)? (In both your main project and integration_tests)

[ ] Yes

Is this PR in response to a previously created Bug or Feature Request

[ ] Yes, Issue/Feature [link bug/feature number here]
[ ] No

How did you test the PR changes?

[ ] CircleCi
[ ] Local (please provide additional testing details below)

Select which warehouse(s) were used to test the PR

[ ] BigQuery
[ ] Redshift
[ ] Snowflake
[ ] Postgres
[ ] Databricks
[ ] Other (provide details below)

Provide an emoji that best describes your current mood

🏗 👷
Feedback
We are so excited you decided to contribute to the Fivetran community dbt package! We continue to work to improve the packages and would greatly appreciate your feedback on our existing dbt packages or what you'd like to see next.

@fivetran-avinash is this PR still needed?

@fivetran-avinash is this PR still needed?

@fivetran-joemarkiewicz Nope. We covered this in the transform development, closing now.


About AIK output

Hi,
感谢你的工作，
请问你用的IK算法输出的是21个手指关节的旋转矩阵对嘛？，我现在已经用别的办法获取了手部21个关键点的3d坐标了，我在思考如何用你写的IK的方法来获得关节旋转信息以便后续驱动avatar等工作？还有一个问题是这种AIK算法实时性如何（大约需要多少ms）？

Thanks for interests!
AIK output joint rotation in MANO fashion, and the 21 joint here is also following with Mano's definition.
The whole pipleline, that is hand keypoint estimation plus AIK , could not achieve 60FPS as I rememebered.
However, you might use TensorRT or other ways to speed up the network inference. And you might also try to optimize and speed up the AIK procedure.


IntelliJ TS parameter warnings

Describe the bug
IntelliJ (2023.3) Typescript language service raises argument warnings with Xata SDK (0.28) calls such as select and filter.
With "email" being a string column:
    const page = await xata.db.repro
        .filter("email", "email")
        .select(["id", "email"])
        .getMany();

Filter:

Argument type "email" is not assignable to parameter type FilterColumns | JSONFilterColumns

Select:

Argument type string[] is not assignable to parameter type SelectableColumnWithObjectNotation[]

Assigning Alexis because he had some ideas about a fix for this

Note: this issue surfaced since IntelliJ version 2023.3, it doesn't occur with 2023.2.

I'm having same issue with select function. When I write it this way
const userRoles = await xataClient.db.usersRoles
    .filter({ userId })
    .select([{ name: "roles" }])
    .getFirst()

WebStorm stops complaining about it, but then I'm losing typing for userRoles so I can't do
  console.log(userRole?.roles)

I mean it works but I'm getting TS2339: Property roles does not exist on type XataRecord<UsersRolesRecord>. To get rid of this error I need to switch back to .select(["roles"]). The other option is to call read function on userRoles:
console.log((await userRole?.read())?.roles)

but this looks like an overkill.
So, to me it's better to just write
const userRole = await xataClient.db.usersRoles
    .filter({ userId })
    .select(["roles"])
    .getFirst()

  console.log(userRole?.roles)

and ignore the IntelliJ issue.


Yeah, maybe some blocking tools are in order?

CW: Racial Slurs copy/pasted ad nauseum.
https://github.com/futo-org/polycentric/assets/172934229/7f636fab-3027-4bee-8afa-1916c16013b8
Yeah uh...
Maybe we shouldn't really have a platform where people like this can just, you know
Do a lot of that? Like, I understand the whole freedom of speech deal, but I feel that just allowing this isn't that great of a look.

The ability to block users is on our roadmap but not currently implemented. In the ideal implementation users should have control of what kind of experience they want to have. I will update here when the functionality is implemented.

A draft of block lists has been implemented here: https://github.com/futo-org/polycentric/commit/cfd6589b69173fa00bda470265e59c6301812e6a
In this draft users can be blocked, unblocked, a list of blocked users viewed, and blocked users are filtered from the explore feed. It has been auto deployed on staging at stg.polycentric.io blocked users are not currently filtered in all contexts such as replies or search.

Hello, it's been a little bit because I got saddled with a lot of work in the past few weeks.
This is a great start, so far! I do hope that this extends to replies or search. The only concern I have is the ability to see the list of people that other users have blocked, as I feel that it is too easy to see this. Ideally, this list should just be in a user's own settings page.
Thank you very much for taking the time to implement this!

A draft of block lists has been implemented here: cfd6589
In this draft users can be blocked, unblocked, a list of blocked users viewed, and blocked users are filtered from the explore feed. It has been auto deployed on staging at stg.polycentric.io blocked users are not currently filtered in all contexts such as replies or search.


[3.x] Update NetworkedMultiplayerCustom.xml with more explicit documentation to guide usage

Some suggestions based on the new NetworkedMultiplayerCustom class introduced in #63163 to be used in 3.x.
@dsnopek I've made some suggestions to the docs based on what would have helped me through my first time. This in conjunction with #63628 and your new additions in #63637 should help new users understand what's going on without having to dig through the source code.
I'd also like some help improving the deliver_packet method docs since I haven't gotten around to really digging through how that gets propagated. I assume the from_peer_id is meant to be the unique network id the sender of that packet was initialized with? And am I correct in assuming the target_id/target_peer is what it uses to deliver it the right place locally? I think some further documentation here would be helpful to know how to use set_target_peer in conjunction with this.

Closing in favor of #64585


Mechanical Saw works in reverse direction

Describe the Bug
Usually Mechanical Saw cut items in the direction that their shaft is rotating. I have downloaded the latest build but the bug is present in previous builds as well
Reproduction Steps

Place down a Mechanical Saw
Give it rotation force
Put an item on it

Expected Result
Item cutting follows the direction of the rotational force
Screenshots and Videos
https://user-images.githubusercontent.com/58992150/150753053-6466da83-5fcb-4fcc-8488-a4bdc844b981.mp4
Crash Report or Log
No response
Operating System
Windows 10 1809
Mod Version
0.4.0c
Minecraft Version
1.18.1
Other Mods
Fabric API 0.46.1
Additional Context
No response

This is not a bug but a feature of Create. It exists in forge version too for a long time.
If item cutting follows the direction of the rotational force as you expected, it will be a bug.

This is not a bug but a feature of Create. It exists in forge version too for a long time. If item cutting follows the direction of the rotational force as you expected, it will be a bug.

Hmm, okay


Moved control_ren to a mixin and added it to USB, GPIB and TCPIP

control_ren can be used by more than gpib (can change local/remote state of instrument on usb and tcpip). I created a mixin and used it where I know it will work.
Another option would be to just put control_ren in MessageBasedResource.

Coverage increased (+0.01%) to 50.41% when pulling eb0060ec5ecc5df0decc7f9896013f5818fee5bd on lupien:move_control_ren2 into c22c0bf5972bbb49432b7abf335be9b460221eda on hgrecco:master.

Merged Thanks!


CI: Frontend Tests

Purpose
Adds front-end build & test to GitHub CI workflow
Changes
Adds front-end build & test to GitHub CI workflow
Checklist

[x] My code follows the style of this project.
[x] The code compiles without warnings.
[x] I have performed a self-review of the changes.
[x] I have documented my code, in particular the intent of the
hard-to-understand areas.
[ ] (If necessary) I have updated the CHANGELOG.

CLA acceptance
By submitting the contribution I accept the terms and conditions of the
Contributor License Agreement v1.0

link: https://developers.concordium.com/CLAs/Contributor-License-Agreement-v1.0.pdf

[x] I accept the above linked CLA.

Depends on bug/7-incorrect-baker-removal-time


iOS 9.3.x emojis appear in keyboard but don't show up when you type

Pretty much the title, they appear as question marks when u type.
Latest versions of everything from your repo + your iOS 15 efm font for <14

Fixed in latest version.


Run periodically on GitHub Actions

Signed-off-by: Jason Hall<EMAIL_ADDRESS>Summary
This adds a GitHub Actions workflow to build and run the monitor code on an hourly schedule. logInfo.txt is not persisted between runs, so each run is the "first" run in this case.
This also updates the --interval flag to take a duration string (e.g., --interval=5m, --interval=10s, --interval=6h) instead of an integer number of minutes.
It also fixes a few tiny Go nits around error value scoping and usage of log.Print and log.Fatal.
Run this way, if the periodic scheduled verification fails, an email will be sent to repo owners to alert them. We can also create a badge for this on the repo page.
Release Note
Added a --once flag to run verification once then exit. --interval is updated to take a Go duration string (e.g., 5m, 10s, 6h), and more errors result in failure instead of just logging.
Documentation
N/A

Anything else this needs to be able to merge it?


Edited summary

Edited summary: added the description of the SPSiteCollection object.

Docs Build status updates of commit 2be5d37:
:clock10: Full build: the average full build time is 61 min(s) 27 sec(s), this is based on the last 4 build(s) for this repository.
:warning: This is a FULL build due to a recent Docs Build service upgrade, normally no action is required on your part. In the result you find subsequent builds still performing full builds, please contact your repository admin to manually perform a full build on the 'live' branch. For more detailed info, please click here.

Docs Build status updates of commit 2be5d37:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint-server/xml/Microsoft.SharePoint.Administration/SPSiteCollection.xml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Homekit shows blind closed when open

Im having problems with a zemismart blind motor setup through tuya smart app often showing in homekit as closed when its open every now and then it will show correctly as open then closed again next time it refreshes.

Same issue with a windows cover from tuya smart life platform here. I’m using the plug-in from docker homebridge with default refresh and configuration with expose stop but it doesn’t. If further information or testing is needed I can do it!

I tried homebridge-tuya-platform but it has similar issues if blind is open homekit stays in the opening state but never actually reaches the full open state

Duplicate of #143 (Blinds and curtains are one and the same device with a different name)


can we add WhatsApp call events in webhook of NOWEB Engine response ? [Feature Request]

Need Call Events on webhook of NOWEB ENGINE

You can receive events about calls in WhatsApp using webhooks!
https://waha.devlike.pro/docs/how-to/calls/

Features
Here's the list of features that are available by 🏭 Engines:

WEBJS
NOWEB

call.received
✔
✔

call.accepted

✔

call.rejected

✔

{
  "event": "call.received",
  "session": "default",
  "payload": {
    "id": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
    "from"<EMAIL_ADDRESS>    "timestamp":<PHONE_NUMBER>,
    "isVideo": false,
    "isGroup": false
  },
  ...
}


Ubuntu Server 20.04 VM networking stops working intermittently

Describe the issue
I'm running a Ubuntu Server 20.04 VM according to the setup guide.
Every so often, the VM networking stops working while it is running. The VM can no longer access the internet, and I can no longer SSH from the host to the VM. The VM console window still works, and I'm able to log in and use the VM that way. I can shut down and restart the VM, and networking works again.
I've noticed that when networking stops working, the CPU usage for QEMULauncher sits at 100%. Nothing inside the VM (checked with htop) is using this much CPU.
It happens randomly - I can't reproduce it on demand. I've been running this VM daily for a couple of weeks, and I've seen this issue ~5 times. Once it happened twice (after a restart) within about 5 minutes.
Configuration

UTM Version: 2.4.1
OS Version: macOS Monterey 12.0.1
Intel or Apple Silicon? Apple (M1 Max)
Shared networking

Crash log
N/A
Debug log
Will add ASAP - sorry, I enabled debug logging earlier, but have since restarted the VM. I'll wait for the issue to happen again and attach the debug log.
Upload VM
config.plist.txt

The CPU usage might be unrelated. I've just had the CPU issue again - where QEMULauncher is at a minimum of 100% - but the VM networking is still working fine.

same problem.  port forwarding stop working, cannot SSH to the VM from the host
Configuration
UTM Version: 2.4.1
OS Version: macOS Monterey 12.0.1
Intel or Apple Silicon? Apple (M1 Pro)
Shared networking

I've had it happen again just now.
Turns out the debug log is not particularly exciting
Running:  -L /Applications/UTM.app/Contents/Resources/qemu -S -qmp tcp:<IP_ADDRESS>:4000,server,nowait -nodefaults -vga none -spice "unix=on,addr=/Users/tallytarik/Library/Group Containers/WDNLXAD4W8.com.utmapp.UTM/257404A5-9A02-474C-AD00-CF75ADFF1F1E.spice,disable-ticketing=on,image-compression=off,playback-compression=off,streaming-video=off,gl=on" -device virtio-ramfb-gl -cpu cortex-a72 -smp cpus=8,sockets=1,cores=8,threads=1 -machine virt,highmem=off -accel hvf -accel tcg,tb-size=1500 -drive if=pflash,format=raw,unit=0,file=/Applications/UTM.app/Contents/Resources/qemu/edk2-aarch64-code.fd,readonly=on -drive if=pflash,format=raw,unit=1,file=/Users/tallytarik/Library/Containers/com.utmapp.UTM/Data/Documents/DockerUbuntu.utm/Images/efi_vars.fd -boot menu=on -m 6000 -device intel-hda -device hda-duplex -name DockerUbuntu -device qemu-xhci,id=usb-bus -device usb-tablet,bus=usb-bus.0 -device usb-mouse,bus=usb-bus.0 -device usb-kbd,bus=usb-bus.0 -device ich9-usb-ehci1,id=usb-controller-0 -device ich9-usb-uhci1,masterbus=usb-controller-0.0,firstport=0,multifunction=on -device ich9-usb-uhci2,masterbus=usb-controller-0.0,firstport=2,multifunction=on -device ich9-usb-uhci3,masterbus=usb-controller-0.0,firstport=4,multifunction=on -chardev spicevmc,name=usbredir,id=usbredirchardev0 -device usb-redir,chardev=usbredirchardev0,id=usbredirdev0,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev2 -device usb-redir,chardev=usbredirchardev2,id=usbredirdev2,bus=usb-controller-0.0 -device virtio-blk-pci,drive=drive0,bootindex=0 -drive if=none,media=disk,id=drive0,file=/Users/tallytarik/Library/Containers/com.utmapp.UTM/Data/Documents/DockerUbuntu.utm/Images/disk-0.qcow2,cache=writethrough -device usb-storage,drive=drive1,removable=true,bootindex=1,bus=usb-bus.0 -drive if=none,media=cdrom,id=drive1 -device virtio-net-pci,mac=E6:84:EB:2B:78:64,netdev=net0 -netdev vmnet-macos,mode=shared,id=net0 -device virtio-serial -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -chardev spicevmc,id=vdagent,debug=0,name=vdagent -uuid 257404A5-9A02-474C-AD00-CF75ADFF1F1E -rtc base=localtime
qemu-aarch64-softmmu: -netdev vmnet-macos,mode=shared,id=net0: info: Started vmnet interface with configuration:
qemu-aarch64-softmmu: -netdev vmnet-macos,mode=shared,id=net0: info: MTU:              1500
qemu-aarch64-softmmu: -netdev vmnet-macos,mode=shared,id=net0: info: Max packet size:  1514
qemu-aarch64-softmmu: -netdev vmnet-macos,mode=shared,id=net0: info: MAC:              c2:af:bc:c3:cf:9e
qemu-aarch64-softmmu: -netdev vmnet-macos,mode=shared,id=net0: info: DHCP IPv4 start:  <IP_ADDRESS>
qemu-aarch64-softmmu: -netdev vmnet-macos,mode=shared,id=net0: info: DHCP IPv4 end:    <IP_ADDRESS>
qemu-aarch64-softmmu: -netdev vmnet-macos,mode=shared,id=net0: info: IPv4 subnet mask: <IP_ADDRESS>
qemu-aarch64-softmmu: -netdev vmnet-macos,mode=shared,id=net0: info: UUID:             216D6223-C430-48C2-B471-9E298EB4A802
qemu-aarch64-softmmu: warning: Spice: playback:0 (0x14486e920): setsockopt failed, Operation not supported on socket
qemu-aarch64-softmmu: warning: Spice: record:0 (0x14486e9d0): setsockopt failed, Operation not supported on socket
gl_version 30 - es profile enabled
WARNING: running without ARB/KHR robustness in place may crash

I was able to restore networking by running this in the console window:
ip link set dev enp0s9 down
ip link set dev enp0s9 up

Just upgraded to Monterey 12.1 and ran into the same issue. Headless (console) Linux VM Guest.
By the look of things it's initially getting APIPA / ULA addresses:
2: enp0s6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP g0
    link/ether 9a:66:8c:d6:98:4e brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/16 brd <IP_ADDRESS> scope global noprefixroute enp0s6
       valid_lft forever preferred_lft forever
    inet6 fd14:97e6:d2a3:5250:16b1:dd1:b42e:cd54/64 scope global temporary dyna
       valid_lft 604780sec preferred_lft 86163sec
    inet6 fd14:97e6:d2a3:5250:9866:8cff:fed6:984e/64 scope global dynamic mngtm
       valid_lft 2591980sec preferred_lft 604780sec
    inet6 fe80::9866:8cff:fed6:984e/64 scope link
       valid_lft forever preferred_lft forever

DHCP bug maybe?

Same problem for me.
UTM Version: 2.4.1 (40)
OS Version: macOS Monterey 12.0.1
Hardware: Apple (M1 Max)
Network Mode: Shared
I run two VMs for most of the day:

ARM64 QEMU 6.1 ARM
x86_64 Standard PC (Q35 + ICH9, 2009)

This seems to happen randomly, but at least once every other day. I only have the problem on the ARM64 VM, the x86 has no networking issues. FWIW, the ARM64 VM is console only, the x86 is Full Graphics.

@polynomialspace Thanks for doing some extra digging!
After I read your comment I tried disabling the firewall, but I just saw the VM networking die again - with firewall off. So maybe it's not a factor?

Same issue here.

I've been encountering the same issue, and the fix by @tallytarik works to fix it at least temporarily.

ip link set dev enp0s9 down
ip link set dev enp0s9 up

Here to add a "me too" on Apple M1 host and arm64 Ubuntu guest.
Networking simply stops working, suddenly and without any repeatable causal pattern, as far as I can discern.
I cannot SSH into the guest, nor can I reach it from any sources that are external to the VM. The window manager still works, and I can either restart the interface as outlined above or reboot the VM to workaround until it strikes again.
I do not have the symptom of "uses 100% CPU" during those times. Other than network connections failing, the system seems to be running as expected.

For me it occurred when I had call on the host OS using Microsoft teams, don’t know if coincidence, having a workaround will help, thanks!

I've been seeing this too. I originally thought that it was happening around network changes, because I would find the VM networking dead after the wifi disconnects (due to the issue with 80MHz channel width). It has been better since I addressed that a few days ago, but it's happened twice today without an associated loss of wifi connectivity. I checked for it around other network transitions (connecting and disconnecting a VPN), but it seemed to still be working. I then found it dead again about 30 minutes later.

Something similar seems to happen when using Lima, which also uses QEMU.

ip link set dev enp0s9 down

I keep getting zsh: command not found: ip error. Any help here??

That sounds like you don't have the iproute2 package installed. It should be a pretty standard part of most Linux distributions these days. There should also be an equivalent command in the older ifconfig utility.

Oh... I was running it on the host machine. The commands ran successfully on the Ubuntu VM, but the network problem persists. Any help here??

Same issue for me as well. I have noticed it with the pre-built ununtu 20.04 image from the gallery. All networking services become randomly unavailable.

ip link set dev enp0s9 down
ip link set dev enp0s9 up

This solution is the only one I have found so far.

Same issue here, sometimes restart the VM helps to reconnect to it and sometimes not, need to restart completely the mac. I will try the command to down up the network link to see if it helps.

I'm also getting this, Ubuntu 22.10 guest, macOS 13.3.1 host on Intel, running on the Apple Virtualisation backend (not qemu). Toggling the network interface on/off from the gnome shell top right menu also works to restore connectivity, at which point VPN etc. must be reconnected.
Similar to a previous commenter, I am using Microsoft Teams on the host mac and it might be correlated. I also have a USB-C ethernet interface and subjectively seem to experience the networking failures more when both that and wifi are plugged in and enabled, although I get it when just using wifi as well.

I had this same issue and it was driving me nuts. I finally decided to try changing the Emulated Network Card from 'virtio-net-pci' to 'virtio-net-device'.  It's been a week now without any loss of network.
Now if I can just get GL display drivers to not randomly lock up, this work mac can be a Linux desktop all the time. Sooo close I can taste it.

This works for me and needs to be done after every reboot:
dhclient enp0s1

I started getting this issue within the last two months (which is weird as this is a very old issue). On both Ubuntu and RHEL the network completely dies after (usually hours or days) but now more frequently. Sometimes minutes or an hour.
I can solve this by setting the Network device to net-virtio-device, but you can only do this on one VM at a time, so only one of my VMs avoids this issue.

I ended up creating this script that periodically checks if the internet is up, and if not, automatically restarts the interface, based on the solution in this issue.
#!/bin/bash

if [ $(whoami) != root ]
then
        echo This command must be run as root >&2
        exit 1
fi

while true
do
        now=$(date +'%Y-%m-%dT%H:%M:%S')
        if curl --silent --show-error --max-time 5 https://cloudflare-ipfs.com/ipfs/bafkreihdwdcefgh4dqkjv67uzcmw7ojee6xedzdetojuzjevtenxquvyku
        then
                echo "$now - Internet is OK"
        else
                echo "$now - Internet is not OK"
                ip link set enp0s1 down
                ip link set enp0s1 up
        fi
        sleep 15
done

Notes:

This URL points to a blank file.
You may need to change enp0s1 to the name of the interface you're using. To check the name run ip link

This is happening for me too, although the solution to restart networking with sudo ip link set enp0s1 down / sudo ip link set enp0s1 up does not resolve it. Only a full shut-down and restart seems to fix it.
Host environment: Mac 14.2.1 (23C71) (Intel)
Guest environment: Ubuntu 20.04.2 with UI
UTM version: Version 4.4.5 (94)
I've also tried disabling/enabling networking through the guest Ubuntu UI, but that doesn't work either.

Same here, after running the latest updates on Ubuntu 22.04.03 LTS.
Intermittent loss of network. Updated the UTM app and now using the script @dtinth provided.
The strange thing is, this is a VM that has been running over 6 months, and just this week - after the updates, it started falling apart.

I've had a similar issue, except occurring around once a day, figured out that it's related to Netplan not applying the default route when updating the DHCP lease. More info on this can be found here, replacing Netplan with NetworkManager solved this for me.

@illixion hmm mine was already set to NetworkManager.
The script to keep the connection alive works for me as a workaround.


Raven intercepts errors even if not installed

Hey there! Thanks for making Raven and Sentry, they are super awesome, apart from one small issue
We have this bit of code:
    if (settings.APP_SENTRY_DSN) {
        Raven.config(settings.APP_SENTRY_DSN).install();
        Raven.setUserContext({
            id:userId,
            email:userEmail
        });
    }

Basically, we don't config and install raven unless there's a DSN. Whether there's a DSN or not is environment-specific, so we don't have one for local environments, for instance.
However, even if it never gets installed, Raven still seems to be intercepting errors, only we can't see the detail now. All we can see is, in the console:
 <error>

The stacktrace appears to be recursive calls to captureMessage, like so:

It does look like to me that Raven treats lack of config as an error, rather than allowing the error to just continue being thrown. Is that right?
Looking forward to your response :)

It should be a complete noop if it's not configured. Are you able to reproduce this in a way that I can check it out?

Hmm, perhaps I'm not understanding properly how to use it then. If I don't want Raven to be doing anything, e.g. on a local environment, what is the proper way to disable it?

You can call config with a falsey DSN value. So an empty string or the value false.
Raven.config(false).install() will succeed, but noop the inner workings so it doesn't actually report.

I looked into this earlier today. I haven't been set up a bare minimum test case, but the issue lies in isSetup calling logDebug with the console plugin enabled, which calls captureMessage, which calls isSetup, etc. In fact, calling Raven.config(false).install() using the latest backbone, console, jquery, native bundle has the same issue

Ohhh, I can see how that'd happen. :( I'll come up with something to fix that then.

@mattrobenolt I'm running in the same problem for the same use case of a local environment. Any progress on this? I agree that Raven should not throw any error when not installed.
Thanks for your good work!

@marcelboettcher Are you using the console plugin too?

@mattrobenolt no, I don't - should I?


Pil 1116

PR for PIL-1116:
https://github.com/hmrc/pillar2-frontend/compare/main...PIL-1116
A small change to one line of text on the TransactionHistoryViewPage in pillar2-frontend:
Change the hint text to:
"You can see all transactions made by your group during this accounting period and the previous 6 accounting periods."
And - a corresponding change to the Unit Test in TransactionHistoryViewSpec.

Mo review:
https://github.com/hmrc/pillar2-frontend/blob/PIL-1116/app/views/paymenthistory/TransactionHistoryView.scala.html#L41
You removed {0} from messages, but still binding registrationDate. Might not be related to the build failure, but for safety I think this needs to be removed.
stipo.androvic   21 minutes ago:
Thanks, well spotted - will fix asap.
TransactionHistoryView.scala.html
@layout(pageTitle = titleNoForm(messages("transactionHistory.title")), pageLayout = pageLayout) {
@heading(messages("transactionHistory.heading"))
@p(messages("transactionHistory.p1", registrationDate))
change this to :
@p(messages("transactionHistory.p1"))


Application did not close the cursor or database object that was opened here

i am getting these with 5.0.0-rc1 with encrypted database when i exit my app
###/com.zoffcc.applications.trifa E/Database: close() was never explicitly called on database '/data/user/0/xxxxxx/xxxx.db'
net.sqlcipher.database.DatabaseObjectNotClosedException: Application did not close the cursor or database object that was opened here
    at net.sqlcipher.database.SQLiteDatabase.<init>(SQLiteDatabase.java:2402)
    at net.sqlcipher.database.SQLiteDatabase.openDatabase(SQLiteDatabase.java:1148)
    at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1203)
    at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1198)
    at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1183)
    at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1219)
    at com.github.gfx.android.orma.encryption.EncryptedDatabase$Provider.provideOnDiskDatabase(EncryptedDatabase.java:170)
    at com.github.gfx.android.orma.OrmaConnection.openDatabase(OrmaConnection.java:106)
    at com.github.gfx.android.orma.OrmaConnection.<init>(OrmaConnection.java:96)
    at com.zoffcc.applications.trifa.OrmaDatabase$Builder.build(OrmaDatabase.java:466)
    at com.zoffcc.applications.trifa.MainActivity.onCreate(MainActivity.java:395)
    at android.app.Activity.performCreate(Activity.java:6681)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2651)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2765)
    at android.app.ActivityThread.-wrap12(ActivityThread.java)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1506)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:153)
    at android.app.ActivityThread.main(ActivityThread.java:6234)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:778)

This is the spec. Keep the database connection as a global, singleton instance.
It is not intended that you connect the DB for each time.

i do not connect again. it just crashes often with this error. and after that the database table is corrupt and app can never start again.

Oh, really?

i have now switched back to 4.x without encryption

I guess this is  a bug in SQLCipher. I have no idea about it.

I am facing a similar issue, Does someone found any solutions?

Please issue it to SQLCipher's issue tracker. I think it's the SQLCipher's problem.

This is especially happening for delete queries


Chapter 1 homework 3 complete.

The instructions mention a Lesson3.cs.  That file is not there, easy fix to create it, but instructions may be unclear.

I am having a little difficulty understanding the instructions, are you asking to calculate the BMI for a second individual?  Are you expecting me to make person instances and pass them into the funcitons?

I am having a little difficulty understanding the instructions, are you asking to calculate the BMI for a second individual? Are you expecting me to make person instances and pass them into the funcitons?
Or would you like me to just make a SecondDemo member within main?

Second individual.

The requested change was added.


App crashing on Meteor.com hosting

Hey team! Great work on this project. I see vegas.meteor.com is crashing just like our chicago.meteor.com is crashing. Running the app in production mode locally works fine. Our logs:
[Tue Sep 15 2015 00:57:52 GMT+0000 (UTC)] INFO STATUS waiting -> starting
[Tue Sep 15 2015 00:57:52 GMT+0000 (UTC)] NOTICE Starting application on port 24974
[Tue Sep 15 2015 00:57:52 GMT+0000 (UTC)] INFO STATUS starting -> running
[Tue Sep 15 2015 00:57:58 GMT+0000 (UTC)] INFO setting timer for:  Tue Sep 15 2015 01:30:00 GMT+0000 (UTC)
[Tue Sep 15 2015 00:57:58 GMT+0000 (UTC)] INFO setting timer for:  Tue Sep 15 2015 01:30:00 GMT+0000 (UTC)
[Tue Sep 15 2015 00:57:58 GMT+0000 (UTC)] INFO ## Running Production Environment ##
[Tue Sep 15 2015 00:57:58 GMT+0000 (UTC)] INFO Fetching Meetup Member Profiles offset 0
[Tue Sep 15 2015 00:57:58 GMT+0000 (UTC)] WARNING
undefined:1
<!DOCTYPE html>
^
SyntaxError: Unexpected token <
at Object.parse (native)
at /meteor/containers/00f85ad9-f070-89f0-8524-1b47e4a4896f/bundle/programs/server/npm/npm-container/node_modules/meetup-api/lib/meetup.js:80:42
at Request.callback (/meteor/containers/00f85ad9-f070-89f0-8524-1b47e4a4896f/bundle/programs/server/npm/npm-container/node_modules/meetup-api/node_modules/superagent/lib/node/index.js:519:3)
at Request.<anonymous>
(/meteor/containers/00f85ad9-f070-89f0-8524-1b47e4a4896f/bundle/programs/server/npm/npm-container/node_modules/meetup-api/node_modules/superagent/lib/node/index.js:133:10)
at Request.emit (events.js:95:17)
at IncomingMessage.<anonymous>
(/meteor/containers/00f85ad9-f070-89f0-8524-1b47e4a4896f/bundle/programs/server/npm/npm-container/node_modules/meetup-api/node_modules/superagent/lib/node/index.js:636:12)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:944:16
at process._tickCallback (node.js:442:13)
[Tue Sep 15 2015 00:57:58 GMT+0000 (UTC)] INFO STATUS running -> waiting
[Tue Sep 15 2015 00:57:58 GMT+0000 (UTC)] ERROR Application crashed with code: 8

I had the same issue for Meteor-Reunion meetup. The error was that the IP address is banned by Cloudflare and api.meetup.com

:+1: for the Montreal Meteor community - any clue @Cram974 on how you worked around the issue?
I could mup deploy to some other server if necessary, people were active on our site


Added Question CSS category

Summary of changes

Added Question is Css Category
Checklist

[x] I have read and followed the contribution guidelines.
[x] I have read through the Code of Conduct and agree to abide by the rules.
[x] This PR is for one of the available issues and is not a PR for an issue already assigned to someone else.
[x] My PR title has a short descriptive name so the maintainers can get an idea of what the PR is about.
[x] I have provided a summary of my changes.

closes #XXXXX

Hi @Sanyam-2026 !
We already have that question in the quiz file.
So I will closing this PR.
If you are interested in contributing, please first check if this question doesn't already exist in the file first.
Then create a PR and we will review it 👍


chef server organization identification issue

Hi Team,
When i tried to install lamp server with new organization its still pointing old organization. Where i have to update new organization details.
Berks upload:
PS C:\Users\Ganesh\Desktop\ganesg_dev\chef-starter\chef-repo\cookbooks\lamp_new> berks upload
Uploaded lamp_new (0.1.3) to: 'https://api.chef.io/organizations/gani139'
PS C:\Users\Ganesh\Desktop\ganesg_dev\chef-starter\chef-repo\cookbooks\lamp_new>

you downloaded the startkit of your current organization , that is why cookbooks are uploading in same organization , if you want to change the organization , then create organization and download starterkit of that organization , otherwise change the knife.rb file info

@raja139
pls confirm is it fixed?

please close the issue if you fix it


GDScript: Remove function of continue for match statement

The keyword is confusing and rarely is used in the intended way. It is removed now in favor of a future feature (pattern guards) to avoid breaking compatibility later.

Thanks!


Support native compilation with graalvm

You could support graalvm native compilation.
Currently it is not working, some exception occur:
com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class org.zalando.logbook.json.JsonHttpLogFormatter$JsonBody and no properties discovered to create BeanSerializer
Detailed Description
Define reflect-config.json files as explained in graalvm documentation.
Context
Can use logbook when going native

In my case I was able to solve it in a Spring Boot project following the steps below.

Add the file reflection-config.json in folder : src/main/resources with the content:

[
    {
      "name" : "org.zalando.logbook.json.JsonHttpLogFormatter$JsonBody",
      "allPublicMethods" : true
    }
]

Add in the build.gradle file:

buildArgs.add("-H:ReflectionConfigurationFiles=${projectDir}/src/main/resources/reflection-config.json")

you can do that with only one step:
rename your file reflection-config.json to reflect-config.json and place it inside src/main/resources/META-INF/native-image/<group id>/<artifact id> it will be picked up automatically.
It you are using Spring, you can also use ReflectionHints instead.
My point here is that this reflection config could be added directly to the logbook lib then no extra (external) configuration is required.

Looks like a nice addition to logbook. @itineric would you be interested in contributing to the library to add the necessary changes?


python SAT, add numeric if..else, bool logic or implication

According to these examples bool, channeling:
NewBoolVar is always used to add add if..else, bool logic or implication, but how to add numeric implication(checking for numeric condition to be true)?
e.x:
a = model.NewIntVar(0, 10, 'a')
b = model.NewIntVar(0, 100, 'b')

# ""how to check:""
# if a equals 6:
# then b = b - 30

...

Maybe I missed something in above-mentioned examples, so apologies if question is a bit dummy.
Thank you beforehand

Create a boolvar bv
bv implies a == 6
not bv implies a != 6
then use bv in your implication.
Note that b = b - 30 will returns infeasible.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le jeu. 2 mai 2019 à 09:50, Shohruh<EMAIL_ADDRESS>a écrit :

According to these examples bool
https://github.com/google/or-tools/blob/master/ortools/sat/doc/boolean_logic.md,
channeling
https://github.com/google/or-tools/blob/master/ortools/sat/doc/channeling.md
:
NewBoolVar is always used to add add if..else, bool logic or implication,
but how to add numeric implication(checking for numeric condition to be
true)?
e.x:
a = model.NewIntVar(0, 10, 'a')
b = model.NewIntVar(0, 100, 'b')
""how to check:""
if a equals 6:
then b = b - 30
...
Maybe I missed something in above-mentioned examples, so apologies if
question is a bit dummy.
Thank you before hand
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1239, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3KE3IR2MYT4FXZZ3Z3PTKMLZANCNFSM4HJ4DACA
.

Thank you for your instant reply, the approach is clear. Could you please, make a hint what to do to add constraint for b == b - 30, as u mentioned it returns infeasible.

I suppose, one way could be to create another model int var but, is there any other option?

b == b - 30 will be simplified to 0 == -30
Which is always false.
Le jeu. 2 mai 2019 à 11:54, Shohruh<EMAIL_ADDRESS>a écrit :

Thank you for your instant reply, the approach is clear. Could you please,
make a hint what to do to add constraint for b == b - 30, as u mentioned
it returns infeasible.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1239#issuecomment-488615859,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3LKEILBA5J44IDAEY3PTK247ANCNFSM4HJ4DACA
.

This is not an imperative language, you are writing equations
Le jeu. 2 mai 2019 à 11:56, Laurent Perron<EMAIL_ADDRESS>a écrit :

b == b - 30 will be simplified to 0 == -30
Which is always false.
Le jeu. 2 mai 2019 à 11:54, Shohruh<EMAIL_ADDRESS>a écrit :

Thank you for your instant reply, the approach is clear. Could you
please, make a hint what to do to add constraint for b == b - 30, as u
mentioned it returns infeasible.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1239#issuecomment-488615859,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3LKEILBA5J44IDAEY3PTK247ANCNFSM4HJ4DACA
.

yes, but for my case it is required to assign b, so b==b-30, means b=100-30 (explicitly). So, I added constraint from other side. model.Maximize(y) And  INFEASIBLE disapeared


App doesn't start with iOS 13.3.1

Library setup method: CocoaPods
Version of the library: 19.0.3
Xcode version: 11.3.1
OS version: iOS 13.3.1

When trying to start the app on iOS 13.3.1 the following error occurs. It works fine on iOS 13.3.
dyld: Library not loaded: @rpath/Cosmos.framework/Cosmos
  Referenced from: /private/var/containers/Bundle/Application/1FF3E21A-D0FA-413C-9046-4576BC24E3F0/MyApp.app/MyApp
  Reason: no suitable image found.  Did find:
	/private/var/containers/Bundle/Application/1FF3E21A-D0FA-413C-9046-4576BC24E3F0/MyApp.app/Frameworks/Cosmos.framework/Cosmos: code signature invalid for '/private/var/containers/Bundle/Application/1FF3E21A-D0FA-413C-9046-4576BC24E3F0/MyApp.app/Frameworks/Cosmos.framework/Cosmos'

/private/var/containers/Bundle/Application/1FF3E21A-D0FA-413C-9046-4576BC24E3F0/MyApp.app/Frameworks/Cosmos.framework/Cosmos: stat() failed with errno=25
/private/var/containers/Bundle/Application/1FF3E21A-D0FA-413C-9046-4576BC24E3F0/MyApp.app/Frameworks/Cosmos.framework/Cosmos: code signature invalid for '/private/var/containers/Bundle/Application/1FF3E21A-D0FA-413C-9046-4576BC24E3F0/MyApp.app/Frameworks/Cosmos.framework/Cosmos'

/private/var/containers/Bundle/Application/1FF3E21A-D0FA-413C-9046-4576BC24E3F0/MyApp.app/Frameworks/Cosmos.framework/Cosmos: stat() failed with errno=1
/private/var/containers/Bundle/Application/1FF3E21A-D0FA-413C-9046-4576BC24E3F0/MyApp.app/Frameworks/Cosmos.framework/Cosmos: code signature invalid for '/private/var/containers/Bundle/Application/1FF3E21A-D0FA-413C-9046-4576BC24E3F0/MyApp.app/Frameworks/Cosmos.framework/Cosmos'

/private/var/containers/Bundle/Application/1FF3E21A-D0FA-413C-9046-4576BC24E3F0/MyApp.app/Frameworks/Cosmos.framework/Cosmos: stat() failed with errno=1

Edit 1: I wrote, that it didn't build. This is wrong. It does build, but not start.
Edit 2: Formatting

the same issue on iPhone XR iOS 13.3.1

Same issue on iPhone 11 Pro 13.3.1, on simulator it works.

Full report about issue
Target device
Device: iPhone XR on iOS 13.3.1
Dev machine
Mac OS: Catalina 10.15.4
XCode: 11.4.1
CocoaPods version: 1.9.1
Dev machine: flutter
Flutter version: 1.17.1 • channel stable
Flutter framework: revision f7a6a7906b • 2020-05-12 18:39:00 -0700
Engine: revision 6bc433c6b6
Tools: Dart 2.8.2
Dev machine: xCode exception
dyld: Library not loaded: @rpath/Flutter.framework/Flutter
  Referenced from: /private/var/containers/Bundle/Application/5C2B4581-F945-4E44-BD28-55C462054CAC/Runner.app/Runner
  Reason: no suitable image found.  Did find:
	/private/var/containers/Bundle/Application/5C2B4581-F945-4E44-BD28-55C462054CAC/Runner.app/Frameworks/Flutter.framework/Flutter: code signature invalid for '/private/var/containers/Bundle/Application/5C2B4581-F945-4E44-BD28-55C462054CAC/Runner.app/Frameworks/Flutter.framework/Flutter'

(lldb)


Wildfly fails to deploy WARs created with --static-metamodel

Wildfly fails to deploy WARs created using--static-metamodel and --provided-module
...
Caused by: java.net.URISyntaxException: Illegal character in path at index 27: vfs:/C:/Users/Francois/Java Libraries/Servers/wildfly/bin/content/sessions-1.0.0.war/WEB-INF/lib/com.redhat.ceylon.model-1.3.0.jar

But the same WAR deploys on Payara/Glassfish
Using --exclude-module works for both application servers, but the WAR is slightly larger.

FTR: this is surely a result of the space in the windows path, right @fwgreen? Your issue description didn't really reflect that. ;-)

@gavinking I'm inclined to agree (and you're probably right), but I'm thrown off by the WAR only breaking with --static-metamodel and not with --exclude-module or with no flags.  So I decided to play it safe and not speculate as to the underlying cause 😄

Do you have the full stack trace?

@FroMage Here's the log https://gist.github.com/fwgreen/f99e518df843d9ca2ffee5e24ee18834

Thanks. That looks like a JBoss VFS bug to me. I'll see if we can workaround it.

OK I have a fix for that pushed on master.


es heap sizing

and some battle stories of install time for full_planet_considerations.
The install time is for my own somewhat clueless install.  In particular I am not sure if my polylines file from Valhalla was actually used or not despite linking to it in pelias.json ; another polylines file was generated and the usual 'use Valhalla for large .pbf files' was shown.

Thanks! I reworked this a bit but used your commit as a foundation and added heap sizing recommendations in e2ef7ae


Use reusable package for server

Related to https://github.com/iterative/dvc.org/pull/3920

server broken here too


Cant use p5.tween with node

Hi,
I am trying to use p5.tween on a node project, but when I try import, it gives me this error:
p5.min.js:3 Did you just try to use p5.js's registerMethod() function? If so, you may want to move it into your sketch's setup() function.

For more details, see: https://github.com/processing/p5.js/wiki/p5.js-overview#why-cant-i-assign-variables-using-p5-functions-and-variables-before-setup
p5.tween.js:177 Uncaught TypeError: Cannot read properties of undefined (reading 'registerMethod')
    at eval (p5.tween.js:177:25)
    at eval (p5.tween.js:178:7)
    at eval (p5.tween.js:179:3)
    at Object../node_modules/p5.tween/dist/p5.tween.js (vendor.js:2417:1)

It is happening because p5.tween tries to invoke the p5.prototype before p5 is defined.
I tryied many different approaches.
Could please help me showing an example how to use p5.tween on a node project?
Thank you!

Hi pedro,
thank you for reporting. I am not sure, but I think p5js is not working with nodejs. It's build to run in browser (client-side) and not server-side.
Maybe this is the reason, why p5.tween is not loaded correctly.

Thanks!


CI: Enable full debug in runtime config file

The runtime is about to lose its old --debug command-line option [*]
which is being replaced by a config file option.
Remove occurences of --debug and enable debug for all components
specified in the runtime config file.
Fixes #600.
[*] - https://github.com/clearcontainers/runtime/pull/693
Signed-off-by: James O. D. Hunt<EMAIL_ADDRESS>

An nginx test is failing on the k8s build:
1..1
not ok 1 Verify nginx connectivity between pods
# (in test file nginx.bats, line 44)
#   `[ "$status" -eq 0 ]' failed
# node "jenkins-azure-vm-ubuntu-16-04-template587430" tainted
# /tmp/tmp.VqbkKVeIRv
# deployment "nginx-service" created
# service "nginx-service" exposed
# NAME                CLUSTER-IP      EXTERNAL-IP   PORT(S)   AGE
# svc/kubernetes      <IP_ADDRESS>       <none>        443/TCP   1m
# svc/nginx-service   <IP_ADDRESS>   <none>        80/TCP    1s
#
# NAME                               READY     STATUS              RESTARTS   AGE
# po/nginx-service-103607745-532zx   0/1       ContainerCreating   0          1s
# po/nginx-service-103607745-w20c8   0/1       ContainerCreating   0          1s
# nginx-service-103607745-532zx   1/1       Running   0          17s
# nginx-service-103607745-w20c8   1/1       Running   0          17s
# deployment "nginx-service" deleted
Build step 'Execute shell' marked build as failure

Anyone seen this before?

@chavafg, @devimc - could you take a look at this to allow us to unblock https://github.com/clearcontainers/runtime/pull/693?

@jodh-intel, the k8s job is still unstable on jenkins, please disregard that message.

Thanks @chavafg. It looks like pullapprove is "stuck" as your approval should be enough I think! ;)

lgtm

lgtm


Suppress service reconcile exception

@ibuildthecloud

https://github.com/rancher/rancher/issues/3946


InvalidArgumentError: Incompatible shapes

Hey,
my training stops immediately after the following error:

`2019-07-09 08:36:12.220852: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2019-07-09 08:36:13.081077: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1432] Found device 0 with properties:
name: GeForce GTX 1080 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.582
pciBusID: 0000:03:00.0
totalMemory: 10.91GiB freeMemory: 10.76GiB
2019-07-09 08:36:13.241345: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1432] Found device 1 with properties:
name: GeForce GTX 1080 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.582
pciBusID: 0000:04:00.0
totalMemory: 10.92GiB freeMemory: 10.76GiB
2019-07-09 08:36:13.242391: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1511] Adding visible gpu devices: 0, 1
2019-07-09 08:36:13.821277: I tensorflow/core/common_runtime/gpu/gpu_device.cc:982] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-07-09 08:36:13.821313: I tensorflow/core/common_runtime/gpu/gpu_device.cc:988]      0 1
2019-07-09 08:36:13.821321: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1001] 0:   N Y
2019-07-09 08:36:13.821325: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1001] 1:   Y N
2019-07-09 08:36:13.821749: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10407 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1080 Ti, pci bus id: 0000:03:00.0, compute capability: 6.1)
2019-07-09 08:36:13.822072: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:1 with 10409 MB memory) -> physical GPU (device: 1, name: GeForce GTX 1080 Ti, pci bus id: 0000:04:00.0, compute capability: 6.1)
INFO:tensorflow:Restoring parameters from ./data/darknet_weights/yolov3.ckpt
0%|          | 0/244 [00:00<?, ?it/s]Saving optimizer parameters to checkpoint! Remember to restore the global_step in the fine-tuning afterwards.
----------- start to train -----------
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1334, in _do_call
return fn(*args)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1319, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1407, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Incompatible shapes: [4,19,35,3,1] vs. [4,18,34,3,1]
[[{{node logistic_loss/mul}} = Mul[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:GPU:0"](split:2, strided_slice_137)]]
[[{{node concat_18/_825}} = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_59264_concat_18", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train.py", line 140, in
feed_dict={is_training: True})
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 929, in run
run_metadata_ptr)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1152, in _run
feed_dict_tensor, options, run_metadata)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1328, in _do_run
run_metadata)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1348, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Incompatible shapes: [4,19,35,3,1] vs. [4,18,34,3,1]
[[node logistic_loss/mul (defined at /home/anika/YOLOv3_TensorFlow/model.py:282)  = Mul[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:GPU:0"](split:2, strided_slice_137)]]
[[{{node concat_18/_825}} = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_59264_concat_18", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
Caused by op 'logistic_loss/mul', defined at:
File "train.py", line 75, in
loss = yolo_model.compute_loss(pred_feature_maps, y_true)
File "/home/anika/YOLOv3_TensorFlow/model.py", line 359, in compute_loss
result = self.loss_layer(y_pred[i], y_true[i], anchor_group[i])
File "/home/anika/YOLOv3_TensorFlow/model.py", line 282, in loss_layer
conf_loss_pos = conf_pos_mask * tf.nn.sigmoid_cross_entropy_with_logits(labels=object_mask, logits=pred_conf_logits)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/nn_impl.py", line 181, in sigmoid_cross_entropy_with_logits
relu_logits - logits * labels,
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/math_ops.py", line 866, in binary_op_wrapper
return func(x, y, name=name)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/math_ops.py", line 1131, in _mul_dispatch
return gen_math_ops.mul(x, y, name=name)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/gen_math_ops.py", line 5042, in mul
"Mul", x=x, y=y, name=name)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/util/deprecation.py", line 488, in new_func
return func(*args, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py", line 3274, in create_op
op_def=op_def)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py", line 1770, in init
self._traceback = tf_stack.extract_stack()
InvalidArgumentError (see above for traceback): Incompatible shapes: [4,19,35,3,1] vs. [4,18,34,3,1]
[[node logistic_loss/mul (defined at /home/anika/YOLOv3_TensorFlow/model.py:282)  = Mul[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:GPU:0"](split:2, strided_slice_137)]]
[[{{node concat_18/_825}} = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_59264_concat_18", tensor_type=DT_FL`

I already trained some Tensorflow models (Yolo, Faster RCNN) with my data. Any Idea what I am doing wrong here? I used your args.py and just set the batch size to 4 and adjusted the data paths.

So I forgot that I increased the image size to 600x600. This seems to be the issue... Anyway, I would like to train with bigger images, is there anything I need to adjust when changing the size?

you should make sure that the image size can be divided by 32.

Thanks!

you should make sure that the image size can be divided by 32.

why the image size can be divided by 32.
explain, please

@iampalop @wizyoung
does this have an explanation?

@AhmedAnwar97
I think because feature map dimension is 32x32
can you explain it to me?

@iampalop
Check issue #247 ... LyuYifan illustrated the reasons of this issue.


[web]: Animation behaves strangely on web

For an image asset tile, animation behaves strangely on DomCanvas as compared to both Canvaskit/ flutter mobile.
Sample code:
_animation = Tween(begin: 0, end: twoRadians).animate(_controller);
_sizeanimation = Tween(begin: 1.0, end: 0.0).animate(_controller);
// this animation builder is used as child in a stack
AnimatedBuilder(
animation: _animation,
child: Container(),
builder: (context, child) {
return Transform.rotate(
angle: _animation.value.toDouble(),
child: Transform.scale(
scale: _sizeanimation.value,
child: Image.asset(
"assets/tiles_images/${tile.bg}.png",
fit: BoxFit.fill,
),

Hi @mariamhas
Not sure what the issue is
Please try this code sample I created based on your snippet, feel free modify and provide a reproducible code sample

code sample
import 'package:flutter/material.dart';
import 'dart:math' as math;

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      theme: ThemeData.dark(),
      home: Home(),
    );
  }
}

class Home extends StatefulWidget {
  @override
  _HomeState createState() => _HomeState();
}

class _HomeState extends State<Home> with SingleTickerProviderStateMixin {
  AnimationController _controller;

  Animation _animation;
  Animation _sizeanimation;
  var radians = 45 * math.pi / 360;

  @override
  void initState() {
    super.initState();
    _controller =
        AnimationController(duration: const Duration(seconds: 2), vsync: this);
    _animation = Tween(begin: 0, end: radians).animate(_controller);
    _sizeanimation = Tween(begin: 1.0, end: 0.0).animate(_controller);
    _controller.forward();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Material App Bar'),
      ),
      body: Stack(
        children: [
          AnimatedBuilder(
              animation: _animation,
              child: Container(),
              builder: (builder, child) {
                return Transform.rotate(
                  angle: _animation.value.toDouble(),
                  child: Transform.scale(
                    scale: _sizeanimation.value.toDouble(),
                    child: Image.asset('assets/dash.png', fit: BoxFit.fill),
                  ),
                );
              })
        ],
      ),
      floatingActionButton: FloatingActionButton(
        child: Icon(Icons.add),
        onPressed: () {},
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel master, 1.22.0-2.0.pre.93, on Mac OS X 10.15.6 19G2021,
    locale en-GB)
    • Flutter version 1.22.0-2.0.pre.93 at /Users/tahatesser/Code/flutter_master
    • Framework revision f35a8b7470 (4 hours ago), 2020-08-26 21:33:03 -0700
    • Engine revision 388193a67b
    • Dart version 2.10.0 (build 2.10.0-62.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.1
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.48.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.13.2

[✓] Connected device (4 available)
    • Taha’s iPhone (mobile) • 00008020-001059882212002E • ios            • iOS
      13.6.1
    • macOS (desktop)        • macos                     • darwin-x64     • Mac
      OS X 10.15.6 19G2021
    • Web Server (web)       • web-server                • web-javascript •
      Flutter Tools
    • Chrome (web)           • chrome                    • web-javascript •
      Google Chrome 84.0.4147.135

• No issues found!

Same here. I tried the sample, and it's working as expected. I'm assuming this was fixed by https://github.com/flutter/engine/pull/20310.


Add a link to the src at the top MFA doc

fixes https://github.com/dotnet/AspNetCore.Docs/issues/20039

In the issue, we discussed where to place the link. Given that @damienbod is the topic author and keeps the repo up-to-date, I suggested that moving all of these samples into the repo might not be best. It creates even more overhead to maintain on this repo (and more topic overhead for @damienbod). I suggested moving the samples to the repo if/when @damienbod would ever decide in the future to stop keeping that repo up-to-date.
WRT to the link(s), the options are ...

At the top only (calling out the external destination in the link text) ... This is what's on the PR. This is best for visibility, but it (probably) breaks the pattern of only having "official" samples cross-linked at the top.

At the bottom only as the first link of Additional resources  (I suggested this approach ... bottom only), like ...

* [Authentication samples (damienbod/AspNetCoreHybridFlowWithApi GitHub repository)](https://github.com/damienbod/AspNetCoreHybridFlowWithApi): Code examples in this article are demonstrated in the sample apps.

Both locations


Latest release not on maven central

https://repo.maven.apache.org/maven2/com/github/gantsign/maven/ktlint-maven-plugin/
only contains up to 1.9.0?
when will the latest release be deployed there

@sindrefl thanks for reporting this issue. I've released version 1.10.1 to fix this issue. I checked and it has been uploaded to Maven Central, though it may take a few hours before it's available to download.


[Feature Req] Multiple lines of text on To-do

When you press enter on the keyboard, it makes new line to type on.
Suggestion: Add a new button to confirm your To-do list after making this feature

Release 1.3.5 added the ability of confirming tasks via enter, since we did not expect people to add multi-line tasks. Do you use this to denote multiple sub-tasks within one task? We are currently planning to allow for increased complexity within the ToDo section, including the ability to add sub-tasks within a task (similar to the items in the shopping list categories).
If you think even with the ability of hierarchical ToDo's it would still be useful to be able to enter new-lines, we could consider adding an option that reverts enter to it's original functionality.

It doesn't have to be as complicated as that. I think I just wanna have some more room & flexibity while using it.
For example:
(Start writting here)
[ Project⋮ (enter)

List 1 (enter)
List 2 (enter)
List 3 ] (and so on...)
[A button confirming your To-Do task]


update rs/cors module version to fix govuln

Description:

Fix for vulnerability flagged here. Upstream merged this new version after v 0.104 was released.
Link to Splunk idea: <Link to Splunk idea, see https://ideas.splunk.com>
Testing:
Documentation:

Dependabot:

https://github.com/signalfx/splunk-otel-collector/pull/5076
https://github.com/signalfx/splunk-otel-collector/pull/5075

closing in favor of dependabot updates


Updated global map plotting scripts

PlateCarree and Robinson projections are used to depict three cases on a global map. Also tried to use absolute and relative.

Love these plots. Two comments:
One of the plots seems to have a different colormap (algea) It seems some 'Scottish' moisture shows up near the Pakistan case. Is that correct?

Thank you!
In response to your comments, the use of different colormaps was intentional. I choose similar but different colormaps for standard deviations to compare with the original colormaps used for the averages. This was to see which colormap would better represent the text and avoid confusion.
Additionally, I find one or a few models from the Scotland case have values extending over the Pacific. By decreasing the low-value threshold, some values overlap near the Pakistan case.

I like these plot a lot as well, it provides a nice overview directly, and the colorbars are well chosen. Would it be possible to make the colorbars with the (absolute) standard deviation until the same maximum as the absolute numbers? That would make is a bit easier to judge for which precipitation case there is the largest spread in terms of standard deviation.

Sure! I will update the plots with standard deviation soon.


Upgrade com.fasterxml.jackson:jackson-bom 2.13.4 -> <IP_ADDRESS>21013

This PR contains the following updates:

Package
Type
Update
Change

com.fasterxml.jackson:jackson-bom
import
patch
2.13.4 -> <IP_ADDRESS>21013

[ ] If you want to rebase/retry this PR, click this checkbox.

Suggested commit message:
Upgrade Jackson 2.13.4 -> <IP_ADDRESS>21012

See https://github.com/FasterXML/jackson-bom/compare/jackson-bom-2.13.4...jackson-bom-<IP_ADDRESS>21012

Message was overwritten due to another upgrade. New suggested commit message;
Upgrade Jackson 2.13.4 -> <IP_ADDRESS>21013

See:
- https://github.com/FasterXML/jackson-databind/compare/jackson-databind-2.13.4...jackson-databind-<IP_ADDRESS>
- https://github.com/FasterXML/jackson-bom/compare/jackson-bom-2.13.4...jackson-bom-<IP_ADDRESS>21013

Tweaked suggested commit message.


Evaluation metrics for running the test dataset.

Hello! I would like to ask how to model check the evaluation metrics of the test dataset. I tried to run the test dataset with eval.py, but got errors. Can you give the specific configuration method? Thanks!

hello have you addressed your problem?


Add padding between items on auction results for you screen

The type of this PR is: Bugfix

This PR resolves CX-1922
Description
Adds padding between items on "Auction Results for Artists You Follow" screen.

PR Checklist (tick all before merging)

[ ] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[ ] I have tested my changes on iOS and Android.
[ ] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[ ] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[ ] I have documented any follow-up work that this PR will require, or it does not require any.
[ ] I have added an app state migration, or my changes do not require one. (What are migrations?)
[ ] I have added a changelog entry below or my changes do not require one.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Warnings

:warning:

❌ An error occurred while validating your changelog, please make sure you provided a valid changelog.

  Generated by :no_entry_sign: dangerJS against 1ae8408e81ee8a4e983859e0751b7a2ca3dbcb66


Update TeamsWorkflow.yml

Fixed a few things that should not be there for FW Teams workflow. The "Migrate" command should also not be part of any check reports for the other workflows, I've removed it from the Teams one Please verify.

Looks good!
Check env not needed on teams workflow, but cant take out of db creation so best fix I think.


feat(dashboard): bring the dashboard closer to the config

Preview URL: https://dashboard-staging-git-feat-config-parity-nhost.vercel.app/

This PR adds the following sections to the settings:

Access token and refresh token expiration
Hasura CORS domains
Enabling / Disabling Hasura Console
Enabling / Disabling Hasura Dev Mode
Enabling / Disabling Hasura Allow Lists
Enabling / Disabling certain Hasura APIs
to be extended...

Codecov Report

Merging #2008 (2baef92) into main (157e1b7) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main    #2008   +/-   ##
=======================================
  Coverage   87.10%   87.10%
=======================================
  Files          85       85
  Lines        9282     9282
  Branches      550      550
=======================================
  Hits         8085     8085
  Misses       1197     1197


Failed setup

Hi, I have the same problem like @LassPar

Do you know this kind of problem?
I saw a similar log message in one of the closed issues and this kind of problem should be fixed.
We use two socks and both are v3 accordingly to the packing.
Thanks!
I got the following log message

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: custom_components.owlet.coordinator
Source: helpers/update_coordinator.py:290
Integration: Owlet Smart Sock
First occurred: 20:35:37 (3 occurrences)
Last logged: 20:36:00
Unexpected error fetching owlet data: 'LOST_POWER_ALRT'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/owlet/coordinator.py", line 44, in _async_update_data
properties = await self.sock.update_properties()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyowletapi/sock.py", line 242, in update_properties
self._properties = await self.normalise_properties()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyowletapi/sock.py", line 180, in normalise_properties
properties = {
^
File "/usr/local/lib/python3.11/site-packages/pyowletapi/sock.py", line 181, in
key: type(self._raw_properties[property]["value"])
KeyError: 'LOST_POWER_ALRT'

I'll have a look today about catching these errors so the setup won't fail. I'll do this for all fields rather than the one you've specified as different revisions of the sock appear to all have different properties

I've amended my API calling library to ignore any properties that don't exist on the response. I haven't had a chance today to then make the subsequent changes to the integration but will do as soon as I can and push out an update.

Thanks for the quick response. I'm looking forward to test the update.

I've now released version 2023.11.1 which should fix this. Any properties that don't exist for a specific sock version are now just ignored rather than throwing an error. I tested as much as I could although more difficult for me to test as my sock version has all the properties that the integration exposes.

I updated the integration and getting all values now.
Thank you again for your help!

Thanks for confirming