error running predictions.py

how to solve this error
Traceback (most recent call last):
File "predictions/predictions.py", line 168, in
clf = pickle.load(open(f'{path_to_model}', 'rb'))
File "C:\Users\OWNER\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\sklearn_init_.py", line 80, in
from .base import clone
File "C:\Users\OWNER\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\sklearn\base.py", line 21, in
from .utils import IS_32BIT
File "C:\Users\OWNER\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\sklearn\utils_init.py", line 23, in
from .class_weight import compute_class_weight, compute_sample_weight
File "C:\Users\OWNER\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\sklearn\utils\class_weight.py", line 7, in
from .validation import deprecate_positional_args
File "C:\Users\OWNER\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\sklearn\utils\validation.py", line 26, in
from .fixes import object_dtype_isnan
File "C:\Users\OWNER\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\sklearn\utils\fixes.py", line 18, in
import scipy.stats
File "C:\Users\OWNER\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\scipy\stats_init.py", line 367, in
from .stats import *
File "C:\Users\OWNER\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\scipy\stats\stats.py", line 172, in
import scipy.special as special
File "C:\Users\OWNER\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\scipy\special_init.py", line 641, in
from ._ufuncs import *
ImportError: DLL load failed: The specified module could not be found.
Here is all the package installed
Package            Version

certifi            2023.11.17
chardet            3.0.4
click              8.1.7
colorama           0.4.6
cycler             0.11.0
Flask              1.1.2
fonttools          4.38.0
idna               2.10
importlib-metadata 6.7.0
itsdangerous       2.1.2
Jinja2             3.1.2
joblib             1.3.2
kiwisolver         1.4.5
MarkupSafe         2.1.3
matplotlib         3.2.2
numpy              1.18.5
packaging          23.2
pandas             1.0.5
pickleshare        0.7.5
Pillow             9.5.0
pyparsing          3.1.1
python-dateutil    2.8.2
pytz               2023.3.post1
requests           2.24.0
scikit-learn       0.23.1
scipy              1.2.1
seaborn            0.10.1
six                1.16.0
threadpoolctl      3.1.0
typing-extensions  4.7.1
urllib3            1.25.11
Werkzeug           2.2.3
zipp               3.15.0

Your error is occuring in the following line:
File "predictions/predictions.py", line 168, in
clf = pickle.load(open(f'{path_to_model}', 'rb'))

Note that this line of code is loading a trained model that has been saved from one of the ml_model_build scripts. Please check the path you are feeding into line 168 correctly points to one of these models.


Similar genome finder will create group with bad genome

User created a group with the output of similar genome finder; it included a bad genome that then was suppressed from any views of the genome group, but was still present in the group so that a CodonTree invocation on that group crashed.
Tagged for similar genome finder, but this may be a more general problem.
Related to https://jira.cels.anl.gov/browse/PATRIC-2426

This is most likely because the genome was deleted from the database due to bad quality, but corresponding mash files are not deleted. Need top delete such genomes from ftp/blast/mash dbs.
I will clean up ftp and blast files, can you do the same for mash sketches?

Yes. We should also have the services verify the existence of genomes before returning them to the user; perhaps also think about verifying genome groups before their use. This will happen again and users might have genomes in their groups that have been deleted.


Support qiskit version 0.25

While the tests are passing, there are a huge number of warnings:
The first set of warnings are due to qasm_simulator, unitary_simulator, and statevector_simulator being deprecated, but I have modified conftest.py so that they are never used with qiskit.aer... so I can't tell why they are still being emitted 🤔
tests/test_integration.py: 31 tests with warnings
  /qiskit/providers/aer/backends/qasm_simulator.py:331: PendingDeprecationWarning: The `QasmSimulator` backend will be deprecated in the future. It has been superseded by the `AerSimulator` backend.
    ' backend.', PendingDeprecationWarning)

tests/test_integration.py: 31 tests with warnings
  /qiskit/providers/aer/backends/statevector_simulator.py:156: PendingDeprecationWarning: The `StatevectorSimulator` backend will be deprecated in the future. It has been superseded by the `AerSimulator` backend. To obtain legacy functionality initalize with `AerSimulator(method="statevector")` and append run circuits with the `save_state` instruction.
    ' with the `save_state` instruction.', PendingDeprecationWarning)

tests/test_integration.py: 30 tests with warnings
 /qiskit/providers/aer/backends/unitary_simulator.py:155: PendingDeprecationWarning: The `UnitarySimulator` backend will be deprecated in the future. It has been superseded by the `AerSimulator` backend. To obtain legacy functionality initalize with `AerSimulator(method="unitary")` and append run circuits with the `save_state` instruction.
    ' with the `save_state` instruction.', PendingDeprecationWarning)

The next one I am also not sure about:
tests/test_integration.py: 13 tests with warnings
  /pennylane_qiskit/qiskit_device.py:325: UserWarning: Option verbose is not used by this backend
    self._current_job = self.backend.run(qcirc, shots=self.shots, **self.run_args)

Finally, I think this requires the following lines in converter.py to be updated @antalszava?
tests/test_integration.py: 20 tests with warnings
  /pennylane_qiskit/converter.py:174: DeprecationWarning: Back-references to from Bit instances to their containing Registers have been deprecated. Instead, inspect Registers to find their contained Bits.
    qc_wires = [(q.register.name, q.index) for q in quantum_circuit.qubits]

tests/test_integration.py: 12 tests with warnings
  /pennylane_qiskit/converter.py:183: DeprecationWarning: Back-references to from Bit instances to their containing Registers have been deprecated. Instead, inspect Registers to find their contained Bits.
    operation_wires = [wire_map[(qubit.register.name, qubit.index)] for qubit in op[1]]

Thanks @albi3ro, good catch with the documentation! I've just updated it.

Also, I think backend and method are the same thing? Or am I understanding this wrong?

Qiskit Aer has recently refactored how the Aer provider works; rather than returning multiple backends, it now returns a single simulator AerSimulator with multiple methods, see https://qiskit.org/documentation/stubs/qiskit.providers.aer.AerSimulator.html.

looks good to me!


Finding the root cause of the performance issues in shopping experiences

Context:
With [https://shopware.atlassian.net/browse/NEXT-24928|https://shopware.atlassian.net/browse/NEXT-24928|smart-link]  we only fixed the performance when editing the block settings in the sidebar.
With this ticket, we need to take more time to find the root cause that causes the performance issues when editing elements & blocks within the Pagebuilder.
Issue:
Once an layout has more than about 30 elements. There is a massive impact on performance.
This is especially noticeable when you write something in a text field. Then the whole page starts to hang extremely, everything is delayed until even the browser crashes.
Acceptance criteria:

Identify the root cause of performance issues
Develop a draft of how to fix it
Estimate and evaluate the effort

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-25640
[created from NEXT-25640, comment 505147]

[public]

Status Change: Open

This issue is ready for implementation.
[created from NEXT-25640, comment 511281]


How to install portia in Ubuntu 14.04

I follow the Documentation , and choose to install Docker. And I can run Portia using
docker run -i -t --rm -v <PROJECTS_FOLDER>:/app/data/projects:rw -p 9001:9001 scrapinghub/portia
But I can use it to design a spider but can't run it and can't find the Log to solve the problem . Also I am sure that the spider is OK because I ever run a spider in Scrapinghub.
And then I use Developing Portia using Docker to build a Portia project but when it goes to
docker build . -t portia
it shows

root@ubuntu:/home/wuhaonan/portia/portiaui# ember build
Built project successfully. Stored in "dist/".
root@ubuntu:/home/wuhaonan/portia/portiaui# docker build . -t portia
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/wuhaonan/portia/portiaui/Dockerfile: no such file or directory

And I can't find any solution in Stackoverflow, so how can I deal with it?

Please follow the steps given at the bottom in #736
This is for the docker approach, not using the develop using docker.

@hackrush01 Thank you for your help, but it doesn't work.

And the console shows

Internal Server Error: /api/projects/test/spiders/blog.csdn.net/schedule
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/exception.py", line 39, in inner
response = get_response(request)
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/rest_framework/viewsets.py", line 87, in view
return self.dispatch(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line 185, in inner
return func(*args, **kwargs)
File "/app/portia_server/portia_api/resources/route.py", line 74, in dispatch
return super(JsonApiRoute, self).dispatch(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/rest_framework/views.py", line 466, in dispatch
response = self.handle_exception(exc)
File "/app/portia_server/portia_api/resources/route.py", line 77, in handle_exception
response = super(JsonApiRoute, self).handle_exception(exc)
File "/usr/local/lib/python2.7/dist-packages/rest_framework/views.py", line 463, in dispatch
response = handler(request, *args, **kwargs)
File "/app/portia_server/portia_api/resources/spiders.py", line 82, in schedule
request = requests.post(settings.SCHEDULE_URL, data=schedule_data)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 110, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 56, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 488, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 609, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 487, in send
raise ConnectionError(e, request=request)
ConnectionError: HTTPConnectionPool(host='localhost', port=6800): Max retries exceeded with url: /schedule.json (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7ff264517a90>: Failed to establish a new connection: [Errno 111] Connection refused',))
[05/Mar/2017 13:19:22] "POST /api/projects/test/spiders/blog.csdn.net/schedule HTTP/1.0" 500 14774

Can you please give more detail as to which site you are trying to scrape and the exact step you followed up until now. Because the error log shows that connection to the site was refused. Maybe then we can zero in on the problem.

@hackrush01 I scrape my blog's article lists.
And this site is be accessable in portia, while I use
docker run -i -t --rm -v ~:/app/data/projects:rw -p 9001:9001 scrapinghub/portia
to run it.
I can create a project, spiders and examples in <IP_ADDRESS>:9001. I can edit everything in the browser, but I can run the spider through it.

This is Portia, my spider and items.

Is the possible reason that I try to scrape the site in China?

I think it's a more general problem, I too am not able to scrape websites designed in languages other that English(such as French, Hindi etc).

@hackrush01 But I can scrape the websites with Chinese characters in Scrapinghub. And the console shows that there are something wrong about the connection.

@Mr-Phoebe For that to work you need to have scrapyd running so it can receive your spider and load it.

@ruairif Thank you for your help.
I installed scrapyd, but failed to run it.  It shows
Failed to load application: 'module' object has no attribute 'OP_NO_TLSv1_1'
So I try to update pyopenssl with the advice from here, but I can't do it.
Does it need a virtual environment?
Or how to deal with it.
I appologize for my naive and poor behavior. But I really need help.

You can install it in  a venv and install a more up to date openssl

Same problem
docker run --rm -it -v ~/data/portia:/app/data/projects:rw -p 9001:9001 scrapinghub/portia

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/exception.py", line 39, in inner
    response = get_response(request)
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 187, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 185, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
    return view_func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/rest_framework/viewsets.py", line 87, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line 185, in inner
    return func(*args, **kwargs)
  File "/app/portia_server/portia_api/resources/route.py", line 74, in dispatch
    return super(JsonApiRoute, self).dispatch(request, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/rest_framework/views.py", line 466, in dispatch
    response = self.handle_exception(exc)
  File "/app/portia_server/portia_api/resources/route.py", line 77, in handle_exception
    response = super(JsonApiRoute, self).handle_exception(exc)
  File "/usr/local/lib/python2.7/dist-packages/rest_framework/views.py", line 463, in dispatch
    response = handler(request, *args, **kwargs)
  File "/app/portia_server/portia_api/resources/spiders.py", line 82, in schedule
    request = requests.post(settings.SCHEDULE_URL, data=schedule_data)
  File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 110, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 56, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 488, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 609, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 487, in send
    raise ConnectionError(e, request=request)
ConnectionError: HTTPConnectionPool(host='localhost', port=6800): Max retries exceeded with url: /schedule.json (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f577c3ec850>: Failed to establish a new connection: [Errno 111] Connection refused',))

The issue still occurs on both Ubuntu 16 and Windows 10 x64 when running using docker:
docker run -i -t --rm -v /home/marcin/portia:/app/data/projects:rw -p 9001:9001 scrapinghub/portia


[WIP] Add Vision API Template

Add a Spring Template for the Cloud Vision APIs.

Sounds good, thanks for the reviews guys. I have updated the docs for cloud vision to now reference the template.
I have noted the following remaining concerns:

Consider then some much higher-level API
Checking for error cases: what happens if image analysis fails, response_size != 1

I will do more research to determine what the appropriate way to improve on these area is.


Performance slow

When I enable FireSass I notice my browser really starts to crawl. When I disable FireSass then the browser responds as expected.
Great plugin! Just wanted to point out there's some performance issues, especially on a lower Dual-Core i5 CPU & <4GB RAM machine.

No thoughts on what may help this? LibSass has helped compile times, but parsing is another rabbit hole.


Fix: parameters undefined

Fix issue: https://github.com/ryanvanderpol/expo-analytics/issues/58

@giautm thanks for submitting this!  Are there any side effects of this change?  It seems unlikely, but what I would notice is that in the original version, the parameters object is updated before every call to the GA API, so if the screen resolution changes, or any of the additionalParameters change, the original parameters property would be stale.
Perhaps a better implementation of this would be to set it in the constructor, as you currently have it, but then update it as it was doing before inside the promiseGetWebViewUserAgentAsync promise?

@ryanvanderpol : with current implement of promiseGetWebViewUserAgentAsync, It just return the old promise with resolved value, no re-calculate step/update parameters. So the parameters object is updated before every call to the GA API as wrong.
If you want that effect, return a function then call it before every call to GA.
https://github.com/ryanvanderpol/expo-analytics/blob/9c2e8224309d8af37457f29fccf6fd7ddc39eddf/analytics.js#L43-L63


The learning curve of the FewShot step

Hi,
Thanks for sharing your code.  And I wonder if you can share the curves (like training loss, training acc, val loss, val acc), since my training curves seem to be strange.

python train_protonet.py --lr 0.0001 --temperature 128   \
--max_epoch 100 --model_type AmdimNet --dataset MiniImageNet \
--init_weights ./saves/initialization/miniimagenet/mini_imagenet_ndf192_rkhs1536_rd8_ssl_cpt.pth  \
--save_path ./MINI_ProtoNet_MINI_1shot_5way/ \
--shot 1  --way 5 --gpu 4 --step_size 10 --gamma 0.5 \
--ndf 192 --rkhs 1536 --nd 8

the log of the above training  command  have been upload to the github code

Thanks for your response.


Fix kotlin-jvm and java-gradle-plugin interactions with configuration cache enabled

By making the java-gradle-plugin's component-filtered-artifact-view based file collection used to generate the plugin under test metadata resolved before storing the configuration cache,
Context
This fixes https://github.com/gradle/gradle/issues/16183
Also see https://github.com/gradle/gradle/issues/16223

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test this

OK, I've already cancelled the old build and triggered a new ReadyForMerge build for you.

@bot-gradle test this

OK, I've already cancelled the old build and triggered a new ReadyForMerge build for you.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.


File selector

Now in nested menu form! Also added a bunch of directories to the repository seed data.

Great work, @wkwan!


feat(config): force Inovelli LZW42 to use Color Switch V2

In the Inovelli Official Hubitat driver for the LZW42, they use Color Switch V2 commands (source).
I also own these lightbulbs, and I can confirm they do indeed respond to the V2 version of set, which takes a dimming duration.
I am not super familiar with how to write these config files, so if this is the wrong way to force it to use Color Switch V2, please point me in the correct direction, so that I can fix it.

If the device supports V2 of the Color Switch CC, it should tell Z-Wave JS when asked for the version. Z-Wave JS automatically uses V2 of the CC when the device supports it. The dimming duration is then either "default", or the given one.
To verify, please make a driver log of a re-interview, loglevel debug and attach it here as a file (drag & drop into the text field).

zwavejs_2024-02-02.log
Here's the log, surprise surprise, it's reporting Color Switch V1, unfortunately this isn't one of those 99% cases...


Adding mediators to the inbound endpoint shows a misconnection.

Description:
After creating an HTTP inbound endpoint and adding a log mediator results in displaying the below sequence.

Steps to reproduce:
Affected Versions:
1.1.0
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

The latest release v1.1.1 has resolved the issue. Please reopen if the problem persists.


Add fix and test for description bug

Adds a fix for #15 which ensures that the description content terminates correctly.
Also adds an automated test to prevent regression of the code. Vitest was added as the testing platform as one didn't exist.

Nice one! Thanks a bunch for contributing and making the Random MDN bot better!


Changes in Invoke-MandiantAuditAzureADDomain function

I have run this script and found that it was not reporting the SigningCertificate and NextSigningCertificate.
"Get-MsolDomain -Authentication federated" this command does not return the certificates.
"$federation_data" variables have the correct certificates.
Please review and approve.

Good finding. @dmb2168, this looks good!

@y5158 , there is one more issue in the original code. The comparison operator on line 179 should be '-gt' instead of '>'. Please could you fix that as well?

@y5158 , there is one more issue in the original code. The comparison operator on line 179 should be '-gt' instead of '>'. Please could you fix that as well?

I have updated the operator as you mentioned. Also, changed 315336000 (3649 days) to 31536000 (365 days)

approved thanks!

Thanks, @dmb2168 @jurajsucik


loader: move Loader interface into separate package

this will allow to import the Loader interface without importing the full loader package, which in some cases may end up generating import cycles

/test

/test

/test


Refactored store type parsing in type mapping

Moved parsing of the store type from RelationalTypeMappingInfo to RelationalTypeMappingSource, where it can be overridden.
Moved considerable additional initialization logic from RTMI to RTS. RTMI no longer holds parsed facet fallbacks (e.g. _parsedSize) - the type mapping info is simply initialized with the right value.
Collapsed together some constructors in RelationalTypeMappingInfo and TypeMappingInfo.
Added option to parse Unicode from the store type for MySQL.
Removed IsMax setting which wasn't used anywhere.

Part of #11896
Some additional comments:

Do we really not need IsMax anymore, it wasn't being used anywhere? If we need it, I can add it back in a way that's SQL Server-specific rather than at the relational level.
One thing that still doesn't seem possible, is for provider-specific facets to be managed via the fluent API or attributes. For example, in theory it could be nice for providers to have fluent APIs for managing, say, the SRID of a property. This is because {Relational,}TypeMappingInfo only contains the specific set of standard facets (size/precision/scale/unicode), and isn't annotatable or anything. It also doesn't refer to the IProperty or MemberInfo, which would allow the provider's type mapping source to perform additional lookups. Any objection to adding that?
After all this I may look a little bit at store type name generation in RelationalTypeMapping, to make sure the current design doesn't limit us in any way.

This is because {Relational,}TypeMappingInfo only contains the specific set of standard facets (size/precision/scale/unicode), and isn't annotatable or anything. It also doesn't refer to the IProperty or MemberInfo, which would allow the provider's type mapping source to perform additional lookups. Any objection to adding that?

That's by design, if the property was to be included in TypeMappingInfo, then we would need to get a new mapping for every property even if all other facets are the same.
The current extensibility story is that a provider would need to create their own TypeMappingInfo type with the additional facets they need. But if needed we could consider having some annotations to avoid this.

This is because {Relational,}TypeMappingInfo only contains the specific set of standard facets (size/precision/scale/unicode), and isn't annotatable or anything. It also doesn't refer to the IProperty or MemberInfo, which would allow the provider's type mapping source to perform additional lookups. Any objection to adding that?

That's by design, if the property was to be included in TypeMappingInfo, then we would need to get a new mapping for every property even if all other facets are the same.

Is it not possible for a TypeMappingSource to simply ignore the property and return the same mapping for many properties (assuming they have no mapping-affecting annotations)? This would be similar to how some providers currently ignore, say, the IsUnicode and RowVersion properties on the TypeMappingInfo. Or did you mean that you need different TypeMappingInfo instances for each property (although would that really be a problem, seeing as how they're structs)?

The current extensibility story is that a provider would need to create their own TypeMappingInfo type with the additional facets they need. But if needed we could consider having adding some form of annotations to avoid this.

Annotations seem like they'd be hard to do here because TypeMappingInfo is a struct. A new TypeMappingInfo (wrapping RelationalTypeMappingInfo, I assume?) would be a bit difficult, because we also have plugins with their own metadata/annotations which should affect mapping - I was specifically thinking about spatial support (e.g. the ability to specify SRID) which is implemented in a plugin. It would also mean that a provider would need to override all places where TypeMappingInfos are created, which could be a bit unwieldy (although I'm not familiar enough with the design yet).
(I'm probably missing some of the picture though)

This is because {Relational,}TypeMappingInfo only contains the specific set of standard facets (size/precision/scale/unicode), and isn't annotatable or anything. It also doesn't refer to the IProperty or MemberInfo, which would allow the provider's type mapping source to perform additional lookups. Any objection to adding that?

That's by design, if the property was to be included in TypeMappingInfo, then we would need to get a new mapping for every property even if all other facets are the same.

Is it not possible for a TypeMappingSource to simply ignore the property and return the same mapping for many properties (assuming they have no mapping-affecting annotations)? This would be similar to how some providers currently ignore, say, the IsUnicode and RowVersion properties on the TypeMappingInfo. Or did you mean that you need different TypeMappingInfo instances for each property (although would that really be a problem, seeing as how they're structs)?

It's certainly possible, but would be more expensive than just using the TypeMappingInfo hashcode. But you might convince me if you show that the difference is not that great.

👍
I'll investigate this a bit and try to understand the current design better.

One other thing I want to note here is that primary deeper reasons this is not simple are:

We don't want put resolved store type names in the generated migrations or the snapshot. This is because it immediately makes the migrations very provider-specific. (Yes, they can be provider-specific now, but only in limited ways.)
We can't pass anything to the type mapper that is not also available on the migrations snapshot, since it needs to build the same model. In particular, this means that the CLR type, and anything associated with it, can't be used because CLR types are erased from the snapshot. This is why we don't expose IProperty to the type mapper.

@ajcvickers thanks for the clarification.

We don't want put resolved store type names in the generated migrations or the snapshot. This is because it immediately makes the migrations very provider-specific. (Yes, they can be provider-specific now, but only in limited ways.)

I understand and that makes sense, but does exposing IProperty to the type mapper push in that direction? I mean, the type mapping returned by the type mapping source is going to contain very provider-specific store types regardless of whether the TypeMappingInfo input references the IProperty or not... And the provider-specific store type is necessary for when the migration is actually being applied (e.g. add column), even if it isn'ts part of the scaffolded migration source or not...

We can't pass anything to the type mapper that is not also available on the migrations snapshot, since it needs to build the same model. In particular, this means that the CLR type, and anything associated with it, can't be used because CLR types are erased from the snapshot. This is why we don't expose IProperty to the type mapper.

But isn't the CLR type already exposed to the type mapper via TypeMappingInfo.ClrType? It specifically seems odd to me that the CLR type would be exposed (and used for type mapping logic) but not IProperty, which contains additional information (e.g. annotations).

but does exposing IProperty to the type mapper push in that direction

The IProperty restriction is based on not allowing the CLR type to flow (see below). Store types for the current provider are generated when the migration is executed, but aren't in the migrations code generated. So the migrations code can be used for different databases, with minimal conditional code for provider-specific things like Identity columns.

But isn't the CLR type already exposed to the type mapper via TypeMappingInfo.ClrType?

I guess it's really more about the PropertyInfo, rather than the CLR type itself. Also, I believe that type is the provider type after conversion. If not, then we have an issue because it means model types would need to be in the snapshot, which is not allowed.

But isn't the CLR type already exposed to the type mapper via TypeMappingInfo.ClrType?

I guess it's really more about the PropertyInfo, rather than the CLR type itself. Also, I believe that type is the provider type after conversion. If not, then we have an issue because it means model types would need to be in the snapshot, which is not allowed.

The type in the snapshot is the provider type, but that's also an issue since some mappings need the model CLR type - https://github.com/aspnet/EntityFrameworkCore/issues/12212. If I recall correctly we decided that we'll compromise by storing the model CLR type name

@AndriySvyryd Thanks for remembering. 😄


reconnect to chat websocket

If commentron goes down/restarts, the web socket should reconnect automatically.

I think Sean fixed this.


Synthetics option for deployment

Summary
With the API level performance constraints we think it is unlikely that a synthetic approach to integration is feasible. As such we're going to remove that deployment option and focus on containerized and serverless options for deployment. We are keeping this issue open in backlog as a reminder.
Desired Behavior
N/A
Possible Solution
N/A
Additional context
N/A

closed no action


window is not defined when using public API

see https://github.com/lhorie/mithril.js/issues/1279

I do before everything other. Odd, but works
require('mithril/test-utils/browserMock')(global);

Will close this for now.


Image loading issue while checking chat history

I have implemented chat library in my project but when I have to show all the chat history for particular user which contains so many text messages and too much images (from document directory) most of the images doesn't load properly .
Anyone can help me out of this ?

You should share some code!

This happens in even the demo code: https://github.com/badoo/Chatto
You can check the screenshot below and same thing is happens in above demo code.

@ShahVivek In demo app it's done intentionally in order to show failed states for photo messages. If you check DemoPhotoMessageViewModel you will find that final state is choosed randomly:
func fakeProgress() {
        ...
        if self.transferProgress.value >= 1.0 {
            if arc4random_uniform(100) % 2 == 0 {
                self.transferStatus.value = .success
                self.image.value = self.fakeImage
            } else {
                self.transferStatus.value = .failed
            }
            return
        }
        ...
    }

Do you use a code from demo app or you have implemented your own photo message? If latter can you share some code example, so we can take a look into it?


In facets, vertically align checkbox with first word of option

Describe the bug DSpace 7.2?
As first reported in https://groups.google.com/g/dspace-community/c/GMO020isfZQ/m/1ISexkihAwAJ,
in facets, the check box for each option seems to be vertically centered on each option. This is fine for single lines but is confusing for multi-line options. For example, the ETD collection in the Iowa State University repository running DSpace 7.2, https://dr.lib.iastate.edu/collections/0830d32e-14e1-4a4f-bb8f-271a75ed35af?scope=0830d32e-14e1-4a4f-bb8f-271a75ed35af, offers a Department facet with the long option, Civil, Construction, and Environmental Engineering. I propose putting the check box inline with the first word of each option. I observe this in Firefox but not in Chrome or Safari. Attached are screenshots of each. [Note also that checkboxes in Safari overlap the text for some options.]

Firefox

Chrome

Safari

A clear and concise description of what the bug is. Include the version(s) of DSpace where you've seen this problem & what web browser you were using. Link to examples if they are public.
To Reproduce
Steps to reproduce the behavior:

Do this
Then this...

Expected behavior
A clear and concise description of what you expected to happen.
Related work
Link to any related tickets or PRs here.

I'm seeing slightly different misalignment on Firefox 103.0.2

Thanks, @ybnd, thank you for sharing your view. Is that a site that I could test? In Firefox 104.0, the page that I linked above still looks the same as the first screenshot.

@alawvt that was on the demo site: https://demo7.dspace.org/search

Thanks, @ybnd, the subjects on the Demo site look fine for me, too. So maybe it is a theme issue at https://dr.lib.iastate.edu/. Therefore, I'd be fine with closing this issue, @tdonohue.

I'd suggest leaving it open since the default style in FF is still off compared to other browsers (just not vertically)
& we could look at the spacing issue on Safari as well

Ok. Here's Safari

and Chrome.

Closing, as alignment issues no longer exist in Firefox or Chrome or MS Edge.  I suspect this was fixed in #2018 or some similar change in 7.5


Roving hackers are e-mailing me about API keys in this repository

I got an e-mail from one Beny Coninteil complaining that there are what look like API keys publicly available in this repository.
https://github.com/DataBiosphere/duos-ui/blob/b517cc9fca250c54bfdfffc1975016d487c20e51/config/prod.json#L7-L8
Are these keys meant to be kept secret? If not, can they be stored in a format that supports a comment explaining why they do not have to be kept secret?

@adamnovak
These are not secrets, they are publicly accessible values through the application. We can remove them from the repo. We've been notified from internal sources as well and will address this in an upcoming PR. Thank you.

Resolved with https://github.com/DataBiosphere/duos-ui/pull/879


Create npmpublish.yml

Publish to NPM and GitHub registry upon creating a GitHub release

I have added npm_token to the project's secrets. This workflow will also publish the package to the GitHub package repository using GITHUB_TOKEN which is automatically set in the workflow.


Load the first zone detector

Check all ZoneDetectors and pick the first one if default is not configured.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 38.62%. Comparing base (d5c484a) to head (c627b92).

Additional details and impacted files
@@            Coverage Diff             @@
##              3.3   #13947      +/-   ##
==========================================
- Coverage   39.02%   38.62%   -0.40%
==========================================
  Files        1893     1893
  Lines       79249    79253       +4
  Branches    11524    11526       +2
==========================================
- Hits        30926    30611     -315
- Misses      44032    44351     +319
  Partials     4291     4291

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


ValueError: Expected iterable of tuples of (name, dtype), got ['archived', 'author',....]

I am trying to replicate the example of this page: http://blaze.pydata.org/blog/2015/09/08/reddit-comments/ about castra, dask and reddit comments, and I get this error when I run the dd.from_castra(data,columns). My castra file took some hours to be created but it is clean and exactly as the tutorial mentions.
Can you please check?

In case someone else has this problem - as a workaround you can create Castra object manually and then use c.to_dask(list(zip(c.columns, c.dtypes))).


Fix installing on Windows by specifying encoding

In a windows environment, if the encoding is not specified, ASCII is expected. This creates errors when running setup.py when the README (or other files) contain emojis or other non-ascii characters. This fixes this at least for the README, not sure if there are other instances of this.

Thanks, I will add a build test to the CI.

For future reference
Traceback (most recent call last):
  File "D:\a\videohash\videohash\setup.py", line 5, in <module>
    long_description = f.read()
  File "C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\encodings\cp1252.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 196[8](https://github.com/akamhy/videohash/runs/5096340174?check_suite_focus=true#step:5:8): character maps to <undefined>
Error: Process completed with exit code 1.


[BUG] NPE when using two "val"s together with anonymous class instantiation in nested scope

Describe the bug
When in the same nested scope there are two vals followed by the instantiation of an anonymous class, compiling with javac, a NullPointerException is raised:
Exception while resolving: NODE LOCAL (class com.sun.tools.javac.tree.JCTree$JCVariableDecl) @val()
final ___Lombok_VAL_Attrib__ k = 2(RegularFileObject[C:\Dev\lombok-crash-test-case\src\TestCase.java])
java.lang.NullPointerException
        at com.sun.tools.javac.comp.Check$Validator.visitTypeIdent(Check.java:1340)
        at com.sun.tools.javac.tree.JCTree$JCPrimitiveTypeTree.accept(JCTree.java:2084)
        at com.sun.tools.javac.comp.Check$Validator.validateTree(Check.java:1359)
        ....

To Reproduce
The following Java source can reproduce the problem when compiled with javac -cp lombok.jar TestCase.java:
import lombok.val;

class TestCase {
	public void func() {
		for (int i = 0; i < 1; ++i) {
			val j = 1;
			val k = 2;

			new TestCase() { };
		}
	}
}

Expected behavior
It should compile.
Version info (please complete the following information):

Lombok version: behavior observed both with 1.6.22 and 1.18.12
Platform: javac 1.8.0_192

Additional context
No problem at all when compiling in Eclipse.
Compilation succeeds even with javac, if any of the following happens:

one of the vals is removed (j or k, it doesn't matter)
the curly braces are removed after new TestCase() thus instantiating a named class instead of an anonymous class
the for cycle is removed thus removing the nested scope and having the two vals and the anonymous class instantiation in the root function scope

We did change something in the val handling code while fixing #2358. Can you please check the problem still exists in the edge release?

Same problem also with edge release (tried a few minutes ago).
I got the exact same error.


mipmap-* folders not supported

Image files in the res\mipmap-* folders are erased even though I have references to @mipmap/id in my layout xml files.

Potential fix here
https://github.com/bveenvliet/android-ImageSweep/commit/5aa4c0fa08cca6ad61a50aea9a7c9bd0d4851188

Closing issues in preparation to archive this project.


installation fails under windows for users with a space in their usernames

Hi,
I tried installing Reel under windows as per the instructions. Running the setup script seems to work, but starting Reel doesn't work, and the error message indicates that the problem is a space in the program's path, which happens because my username has a space in it. Probably something needs more quoting? Sorry, I have no clue about windows so can't diagnose the problem further.
Cheers,
Mika

The full message in the cmd window when trying to start Reel is:
Opening Reel 1.0...
Der Befehl "C:\Users\Hein" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Drücken Sie eine beliebige Taste . . .

The user name here is "Hein Mück".

The content of my Run_Reel file is:
@ECHO off
TITLE Reel
CD C:\Users\Hein Mck\PycharmProjects\Reel\Reel1.0\
ECHO Opening Reel 1.0...
C:\Users\Hein Mck\AppData\Local\Microsoft\WindowsApps\python.exe Refinement_evaluator_ver1.0.py
PAUSE
EXIT

It also looks like the "ü" in my username broke.

Hi Mika
I can change the batch file to include quotation marks around the path, but I am currently not sure how to fix the issue with special characters. However, I can add a note in the instructions, both the README.md and the quick guide, so users may fix the issue manually.

I think the special characters are actually fine, quotation marks fixed everything for me. I guess notepad can't show the special characters, but windows finds the file anyway.

I see, well that's great!


add database entry to setup script

pre-requirements:

[x] git clone project
[x] EBS volume with dataset mounted to project git folder #26
[x] docker environment built with pyscopg2 #25

Tasks:

[x] check database structure is correct
[x] change segmentation type to BYTEA in initdb.sql
[x] add BYTEA seg_dims to imgaes table in initdb.sql
[x] change bbox to BYTEA in initdb.sql
[x] update BuildDatabase:

[x] build_sql don't need create_tables anymore...
[x] load_json change "segmentation" to bytestring
[x] load_json make "seg_dims" to bytestring
[x] load_json change "bbox" to bytestring

[x] update QueryDatabase:

[x] read segmentation from bytestring
[x] read seg_dims from bytestring reshape segmentation
[x] read bbox from bytestring

[ ] run get_images on small query table to make sure file pathing setup correctly (no downloading)
[ ] update data_pipline.py to use argparse in "__main__" to load annotations
[ ] add bash command to setup script to load appropriate dataset+annotations

AUDIBLE: going to store sementation as json string to preserve different structures. We won't be using this during current experiments anyways.

[ ] change segmentation type to JSON
[ ] remove seg_dims
[ ] check number of colunms (7)
BuildDatabase:

[ ] pop info into self.info
[ ] convert tables to DataFrames
[ ] update bbox conversions to bytestring
[ ] update segmentation conversions to json string
[ ] write tables to .csv (s) and compare sum of sizes to json size

QueryDatabase:

[ ] remove read seg_dims
[ ] update read segmentation

[ ] ? move csv(s) to docker/postgres then:

[ ] update postgres Dockerfile to copy csv(s) into db

AUDIBLE: going to store sementation as json string to preserve different structures. We won't be using this during current experiments anyways.
....

possible issue with index of pandas DF, use set_index('column')

finally have models training again


Staggering animations are running simultaneously when using ng-class and ng-show

I'm having issues adding animation using ng-repeat with ng-show and ng-class. Basically if one of my items have a different class added via ng-class, animations for these different classes run simultaneously as in the gifs below.
With ng-class declaration:

Without ng-class declaration:

This is the plunker link: http://plnkr.co/edit/1H3K6EUOZ1y4xIEOw0eU?p=preview

This is now completely broken in 1.4.8. @matsko  Is it possible that stagger isn't supported on ng-show anymore?

So eehh,  I know this issue is quite old by now but I'm running in to an issue that seems to be the same issue right now, items with a different additional class are staggered based on their additional class as opposed to the class on which ".ng-enter-stagger" is defined.
Any chance that something has changed since 2015?

@JvanderHeide the way that AngularJS caches stagger elements (to avoid extra reflows) is by using element.className as a caching key. So this means that each element needs to have the same className value for the stagger to work.
If you want to apply styling based on optional classes then you may need to use an attribute selector in CSS (use a data- attr).

@matsko Yeah that's what I gathered from the source, and it makes sense. I guess I'll just have to work around it :+1:
In my case the data-attr would've been to much of a refactor to existing code (the entire website has multiple themes based on cascading classes, and we've only recently had the opportunity to start adding animations and transitions), so I've had to resolve it by wrapping the elements with another element :man_shrugging:
Thanks for the reply!


Fix bench script

Coverage increased (+0.07%) to 81.97% when pulling 77743a77aab81a5739eec52dc4e34efe15f27b33 on adriengentil:fix-bench into 91e4d9a47585bb30ded3a1e8f7ae0adaaba46f94 on criteo:master.

Coverage increased (+0.07%) to 81.97% when pulling 77743a77aab81a5739eec52dc4e34efe15f27b33 on adriengentil:fix-bench into 91e4d9a47585bb30ded3a1e8f7ae0adaaba46f94 on criteo:master.

Great!
@uepoch I let you merge this one at your convenience.


chore: use published image for docker-compose

Impact: minor
Type: chore
Changes
When you clone this branch and run docker-compose up, it will now pull and use the latest published reactioncommerce/example-storefront:release-v3.0.0 image from DockerHub instead of node-dev. Host files are not linked in, NPM deps are not reinstalled, and NextJS will run in the faster production mode unless you set NODE_ENV=development in your .env file.
Breaking changes
Breaking only for devs who will now need to run ln -s docker-compose.dev.yml docker-compose.override.yml to get the previous behavior.
Testing

Verify dc up starts quickly and in prod mode. (You should not see anything about compiling pages in the logs.)
After dc down, run ln -s docker-compose.dev.yml docker-compose.override.yml and then dc up again. Verify it now starts in dev mode and reloads when you change files.
After dc down, run rm docker-compose.override.yml to remove the override file. It should be back to running in prod mode when you do dc up.

I'll give this a local test this afternoon.

I seem some syntax errors but those aren't related to the docker mechanics here.
web_1  |  error  in ./src/pages/_error.js
web_1  |
web_1  | Syntax Error: SyntaxError: /usr/local/src/app/src/pages/_error.js: Support for the experimental syntax 'decorators-legacy' isn't currently enabled (23:1):
web_1  |
web_1  |   21 | });
web_1  |   22 |
web_1  | > 23 | @withStyles(styles)
web_1  |      | ^
web_1  |   24 | export default class Error extends Component {
web_1  |   25 |   static propTypes = {
web_1  |   26 |     classes: PropTypes.object,
web_1  |
web_1  |
web_1  |  @ multi ./pages/_error.js

Wait hmm. It looks like the server starts and THEN does try to do some compiling:
web_1  | Server started ! ✓
web_1  |
web_1  |       http://localhost:4000
web_1  |       Press CTRL-C to stop
web_1  |
web_1  |  WAIT  Compiling...12:39:29 AM
web_1  |
web_1  | [12:39:29 AM] Compiling client
web_1  | [12:39:29 AM] Compiled client in 51ms
web_1  |  ERROR  Failed to compile with 2 errors12:39:29 AM
web_1  |
web_1  |  error  in ./src/pages/_app.js
w

Is that right for prod mode?

@focusaurus It shouldn't be doing that when you don't have the override file. Can you verify you don't have NODE_ENV=development in .env? That would also cause it. Even the prebuilt NextJS server will run in dev mode when NODE_ENV is development, which is always confusing to me.

Yes, I had NODE_ENV=development in my .env. After commenting that out it behaves properly. Should we add a warning to the prod image to catch this? What percentage of our user base would hit the same scenario I did?


Code Inspection: npm audit on nortissej/docurl

marked:>=0.3.14 <0.6.2

(warn) Regular Expression Denial of Service Upgrade to version 0.6.2 or later.

marked:0.4.0:

typedoc>marked

[atomist:code-inspection:nortissej/docurl=@atomist/atomist-sdm]

Issue closed because branch nortissej/docurl was deleted.


Unthemed preview bar

The grey preview bar which says (Locked) In Preview when previewing edited channel descriptions is currently mostly unthemed.
This is because the TeamSpeak client software does not currently expose this bar in a way that allows theme developers to style it.
Therefore, this issues is merely a reminder to fix this once the problem is addressed within the TeamSpeak client software.

I can restyle it just fine

Addressing elements contained within #PreviewWidget works but trying to set a background color for #PreviewWidget doesn't. I'm well aware of pyTSon's "Widget info" and it manages to highlight #PreviewWidget just fine, but that's probably because it's a plugin that overrides the elements properties directly.
Using only QT Style Sheets, I only managed to change the background color of the QLabel nested within the #PreviewWidget which looks pretty ugly.

We'll it's better then a completely white space with unreadable text so i'd take that until a proper solution is found.

I'll try a few variations and see which one looks the least ugly.
After all, it may be better to "reset" the design of this particular element to what it used to look like in the original design if we can't address it properly.

After all, it may be better to "reset" the design of this particular element to what it used to look like in the original design if we can't address it properly.

Depends on the fact wether the original is still readable or not.

The release/0.9.0 branch now uses a more "classic" design until we are given access to style this element properly.

I doubt the TeamSpeak 3 client will introduce a fix anytime soon. Closed.


[Feature][doc] add link for expansion/reduction document to user doc

Describe the feature
please add 扩/缩容 link to official website， and put the following content links to this link:
https://github.com/apache/incubator-dolphinscheduler-website/blob/master/docs/zh-cn/1.3.3/user_doc/expansion-reduction.md
the official website github url :  https://github.com/apache/incubator-dolphinscheduler-website
the result as follows:

Which version of Dolphin Scheduler:
-[1.3.3]

I will solve the problem

https://github.com/apache/incubator-dolphinscheduler-website/pull/218

done.close


CI/BLD: update GEOS minor versions

Update maint-2.0 to use the latest GEOS minor versions for CI testing.
Also set the version for the binary wheels for the next maintenance release to use GEOS 3.11.2; see NEWS.md for changes.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 87.085%

Totals

Change from base Build<PHONE_NUMBER>:
0.3%

Covered Lines:
2387

Relevant Lines:
2741

💛  - Coveralls


GEODE-2687: Ensure three tests for SSL authentication.

Remove unnecessary header file by merging its code
into the source file.
Ensure failure in the absence of the expected
exception in testThinClientSSLAuthFail.
Add testThinClientSSLAuthCorrupt for a corrupted
client keystore.
Add testThinClientSSLAuthUntrusted for an untrusted
client keystore.

This closes #71


Cherry-pick PT frontend bug fix: https://github.com/apache/tvm/pull/8622

Cherry-pick PT frontend bug fix: https://github.com/apache/tvm/pull/8622

I chery-picked whole commit 874ea7a81d91857a2495892c598a8b3b87a6da64 to dev and to release-1.10.0-rc branches. This PR merge was overwritten.
Please reset/pull your local branches if needed


Add support for arrays

Codecov Report

Merging #9 into master will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master        #9   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines           65        84   +19
  Branches        17        22    +5
=========================================
+ Hits            65        84   +19

Impacted Files
Coverage Δ

src/eip-712.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


downloading geckodriver fails on macOS

When trying to download the geckodriver either through script or CLI on macOS, there is the following error:
RuntimeError: Error, unable to determine correct filename for 64bit macos

The error is in this line. Cause it is searching for a file with the string macos64 and it doesn't exist in github. It should be macos-aarch64
https://github.com/leonidessaguisagjr/webdriverdownloader/blob/959dff64f524509c611b2151152414b6b13bf9de/webdriverdownloader/webdriverdownloader.py#L320

A workaround could be use the library like this
gdd.download_and_install(os_name='macos', bitness='-aarch64')

if you already know if your are in macos and 64 bit machine. Or use 32 bit version? idk


Node selector to be available per Solace broker role

At the moment there is only one node selector for all brokers overall.
With pvc tied to an AZ, and at any initial start (ie after a daily shutdown), there will be race condition between brokers which may satisfy first broker and leave others without any matching node satisfying pvc location (AZ), cpu availability etc...
Currently:
nodeSelector:
  workload: "solace"

Suggestion:
primaryNodeSelector:
  workload: "solace"
  eks.amazonaws.com/nodegroup: broker-primary
backupNodeSelector:
  workload: "solace"
  eks.amazonaws.com/nodegroup: broker-backup
monitorNodeSelector:
  workload: "solace"
  eks.amazonaws.com/nodegroup: broker-monitor

available in nodeAssignment

Hi @sebay , to understand:

The EventBroker manifest currently supports the spec.nodeAssignment section of the broker spec for each of the Primary, Backup and Monitor brokers where Kubernetes standard Affinity and NodeSelector definitions can be provided.
Have you had a chance to try that? See details at https://github.com/SolaceProducts/pubsubplus-kubernetes-quickstart/blob/main/docs/EventBrokerOperatorParametersReference.md#pubsubpluseventbrokerspecnodeassignmentindex
How would your suggestion differ?

Note: Tolerations support is planned in the next release


UWP doesn't work

I am running Windows 10 Pro
Version	10.0.18363 Build 18363
and Visual Studio 2019.
Running just created new Xamarin Forms app. It runs great on Android but on Windows app it crashes on the follow line.
        public IBluetoothLE Ble { get; } = CrossBluetoothLE.Current;
with an exception
System.NotImplementedException
  HResult=0x80004001
  Message=This functionality is not implemented in the portable version of this assembly.  You should reference the NuGet package from your main application project in order to reference the platform-specific implementation.
  Source=Plugin.BLE
  StackTrace:
   at Plugin.BLE.CrossBluetoothLE.get_Current()
   at BT2.Bt2AppManager..ctor() in C:\Sandbox\BEMO\CrossApp\trunk\BT2\BT2\BT2\Bt2AppManager.cs:line 36
   at BT2.Bt2AppManager.get_Current() in C:\Sandbox\BEMO\CrossApp\trunk\BT2\BT2\BT2\Bt2AppManager.cs:line 25
   at BT2.Views.BT2ScanView.initDeviceList() in C:\Sandbox\BEMO\CrossApp\trunk\BT2\BT2\BT2\Views\BT2ScanView.xaml.cs:line 48
   at BT2.Views.BT2ScanView..ctor() in C:\Sandbox\BEMO\CrossApp\trunk\BT2\BT2\BT2\Views\BT2ScanView.xaml.cs:line 25
   at BT2.MainPage.InitializeComponent() in C:\Sandbox\BEMO\CrossApp\trunk\BT2\BT2\BT2\obj\Debug\netstandard2.0\MainPage.xaml.g.cs:line 22
   at BT2.MainPage..ctor() in C:\Sandbox\BEMO\CrossApp\trunk\BT2\BT2\BT2\MainPage.xaml.cs:line 16
   at BT2.App..ctor() in C:\Sandbox\BEMO\CrossApp\trunk\BT2\BT2\BT2\App.xaml.cs:line 13
   at BT2.UWP.MainPage..ctor() in C:\Sandbox\BEMO\CrossApp\trunk\BT2\BT2\BT2.UWP\MainPage.xaml.cs:line 24

Below is UWP settings:

Hi @yshteinm,
I'm the friendly issue checker.
It seems like (100.00 %) you haven't used our issue template :cry: I think it is very frustrating for the repository owners, if you ignore them.
If you think it's fine to make an exception, just ignore this message.
But if you think it was a mistake to delete the template, please close the issue and create a new one.
Thanks!


Changing the cursors

Describe the Issue
There is no documentation on how to change the cursor. The way it can be done for Gaze is by GazeProvider.SetGazeCursor, but It's not clear  how to do it for other input devices like hands, motion controllers and mouse.
Also, the SetGazeCursor method is only available on the GazeProvider class and not on the IGazeProvider interface.
Feature Area
Pointers and Cursors
Existing Doc Link
https://microsoft.github.io/MixedRealityToolkit-Unity/Documentation/Input/Pointers.html

@jbienzms From Paris Hack

The scenario is that the customer only allows some holograms to be placed on certain surfaces. They want to change the cursor to a different symbol when the user tries to place one of these holograms on an invalid surface. They allow holograms to be placed by head ray, hand ray and controller ray so they need to be able to change the cursor of various types of pointers and they're hoping to use a single approach to do it.
We've found that cursor visualization is triggered by 'Cursor State Data' in the DefaultCursor.prefab, however it seems like in this system the cursor might be responsible for changing itself to a set number of pre-defined states. In the customers case, they want to change the cursor when the cursor is on an "invalid surface" part of the spatial mesh.
Specific questions:

How should the customer add their own custom "invalid surface" cursor state?

Where should the customer logic to the cursor system to detect the surface it is on and change the cursor to the "invalid surface" state?

If this should be a feature request rather than a docs request, please feel free to change it.
Thank you!

This issue was automatically closed by StaleBot, but I don't believe it's actually been resolved. If there is a way to accomplish this, can someone please post a link here and then we can re close the issue. Thanks!

@wiwei Tagging you for visibility. This was opened at the H2 event last year StaleBot keeps trying to close it. If it's been addressed, I'm happy to let it close. But maybe a docs entry somewhere might be good.

Doc's updated, closing this issue


Preserve keyword namespaces on write. Fixes #23

Fixes #23

Looks good to me. Thanks @royvandewater


Possible enhancements to management of test bin/hex files

According to https://github.com/stnolting/neorv32/blob/master/riscv-arch-test/port-neorv32/framework_v2.0/riscv-target/neorv32/README.md, https://github.com/stnolting/neorv32/blob/master/rtl/core/neorv32_application_image.vhd and https://github.com/stnolting/neorv32/blob/master/riscv-arch-test/port-neorv32/framework_v2.0/riscv-target/neorv32/device/rv32i_m/M/Makefile.include, currently each test program is compiled from assembler, an elf file is generated, then a bin file, which is then converted and replaced in a VHDL source. I feel there needs to be some more idiomatic and cleaner way of doing so. Let me drop some ideas:

Use a VHDL function for initialising a ROM from a bin or hex file. So, the simulation/synthesis can use the same input file that you would program through a debugging cable.
Avoid compiling all the example bin/hex files in each CI run. The core is expected to change more frequently than the RISC-V test suite. Therefore, it might be sensible to precompile all the tests and use them as an asset. All those bin/hex files do only need to be updated when the bootloader or any relevant part of the core is modified. There are three solutions for handling bin/hex files:

Check them into the repo.
Use a dummy pre-release. In fact, the same 'nightly' pre-release would fit.
Use the CI cache (see actions/cache).

I have to admit this might not be the most elegant way to initialize the ROM.

Use a VHDL function for initialising a ROM from a bin or hex file. So, the simulation/synthesis can use the same input file that you would program through a debugging cable.

I also thought about this. At the time the whole "generate application image" thing was implemented, I had some troubles dealing with reading files with VHDL's textio (mainly "path issues")... Actually, I do not really like the way it is implemented right now:

having additional VHDL files in the core/rtl folder just for providing memory images does not feel right. Providing VHDL memory init functions to read the results of a compilation seems to be the right way to go.
the image generator is a relic from the NEORV32`s predecessor. I think the functionality could (should!) be easily moved to a simple script (bash, not python! 😉).

Avoid compiling all the example bin/hex files in each CI run. The core is expected to change more frequently than the RISC-V test suite. Therefore, it might be sensible to precompile all the tests and use them as an asset. All those bin/hex files do only need to be updated when the bootloader or any relevant part of the core is modified. There are three solutions for handling bin/hex files:

I already get in trouble (rightly!) when uploading PDFs to the repository (:wink:). Adding pre-compiled tests does not feel right - and maybe this is not required at all, since the riscv-arch-tests workflow only provides a manual trigger (yet), that is triggered every now and then. Anyway, the CI cache seems to be an interesting option!
By the way, running the riscv-arch-tests does not actually require any software (except for the image generator) from the rest of the project at all. The bootloader is not used since the test programs are "loaded" into the ROM during compilation.

There was the idea to implement a new top generic to pass the path to memory init files to the design. Basically, I am ok with this as this could also be used to pass version info.
However, my main concerns are:

this seems to be platform-independent solution. But "who" defines this path? And where/when?
the solution should be robust. A FPGA beginner should not have to worry about it. Even not when doing a new setup by hand (without scripts).

But "who" defines this path? And where/when?

Each tool can allow defining the top-level generics in a different way, because that is not specified in the LRM as far as I am aware. (maybe it changed with VHDL 2019?)
Anyway, in practice, most simulators allow specifying a top-level generic in the CLI through -gNAME=VALUE. In fact, it gets problematic if the generic is not of type string, but the type string is the once which we found to be most consistent. That is not surprising since CLI arguments are always strings, per se. For this specific reason, in VUnit we support using JSON-for-VHDL and base16 encoding the string. That converts any complex data structure into a "plain" string, which any simulator can handle.
Therefore, defining the path through a generic string is the most portable solution. That's not only with regard to multiple simulators but also with regard to different OS, since the path separator symbol is different!
Moreover, VUnit provides tb_path as an optional top-level argument. Therefore, you don't need to tell the whole path explicitly. You can just care about the name (provided that you always use the same location).
As a result, I think the only challenge is which VHDL subprogram to use for reading the hex/file and initialising the memory. @Xiretza, do you remember where we discussed this recently? I vaguely recall that you provided an example which you use for this purpose.

the solution should be robust. A FPGA beginner should not have to worry about it. Even not when doing a new setup by hand (without scripts).

The solution would be:

Build the app with GCC.
Convert the app to some hex/bin (if necessary).
Provide the path to the file through a top-level generic (VUnit allows handling it in the run.py script).

So, it'd be arguably easier, because users would have a list of hex/bin files and they would synthesize multiple designs without modifying any VHDL at all. Moreover, there are mechanisms for modifying the content in the bitstream, so it would be potentially possible to not required syntehsizing again. However, I believe that's out of scope.

As a result, I think the only challenge is which VHDL subprogram to use for reading the hex/file and initialising the memory. @Xiretza, do you remember where we discussed this recently? I vaguely recall that you provided an example which you use for this purpose.

That must've been on gitter on 2021-05-14 (and also earlier on 2021-03-04). If you don't have matrix, here's a direct link to the implementation I pointed to: https://gitlab.com/YARM-project/soc/-/blob/72737f9910468c737b6c59a415000a6ca89829f6/vhdl/core/util_pkg.vhd#L57.
It reads a single memory word per line in plain hex formatting (i.e. xxd -p -c4 for 32-bit words). It's certainly not a very pretty implementation, but should be enough to draw some inspiration from.

From /ghdl/ghdl#1004:
    type ram_t is array(0 to (MEMORY_SIZE / 8) - 1) of std_logic_vector(63 downto 0);

    impure function init_ram(name : STRING) return ram_t is
        file ram_file : text open read_mode is name;
        variable ram_line : line;
        variable temp_word : std_logic_vector(63 downto 0);
        variable temp_ram : ram_t := (others => (others => '0'));
    begin
        for i in 0 to (MEMORY_SIZE/8)-1 loop
            exit when endfile(ram_file);
            readline(ram_file, ram_line);
            hread(ram_line, temp_word);
            temp_ram(i) := temp_word;
        end loop;

        return temp_ram;
    end function;

    signal memory : ram_t := init_ram(RAM_INIT_FILE);

You can see that used in microwatt: https://github.com/antonblanchard/microwatt/search?q=initialize_ram. There, they use constants instead of generics.

@umarcor

Therefore, defining the path through a generic string is the most portable solution. That's not only with regard to multiple simulators but also with regard to different OS, since the path separator symbol is different!

I agree :+1:
Btw, I think Windows can also resolve paths with Linux-style separators. Need to check that...

Anyway, in practice, most simulators allow specifying a top-level generic in the CLI through -gNAME=VALUE.

What about synthesis tools? :thinking:
I think they might provide a similar feature when using scripts for the setup but I am not sure about that.
Anyway. I think the idea with a path generic is great. FPGA beginners already have to setup linker files and memory generics to make the NEORV32 run - and I think they are doing quite fine :wink: So there should be not problem to expect them to configure another generic.

So, it'd be arguably easier, because users would have a list of hex/bin files and they would synthesize multiple designs without modifying any VHDL at all.

:+1:
Just another thing: I think it would be better to keep the bootloader image as dedicated VHDL package. The bootloader does (should) not change very often. Most of the time I update the bootloader code + image only when the CPU's rtl files have changed anyways.
So I would recommend using the path generic to configure the actual application code in the instruction memory for setups that do not use the bootloader + for passing version information.
@Xiretza

If you don't have matrix, here's a direct link to the implementation I pointed to: https://gitlab.com/YARM-project/soc/-/blob/72737f9910468c737b6c59a415000a6ca89829f6/vhdl/core/util_pkg.vhd#L57.

That looks good (and quite powerful)!

From /ghdl/ghdl#1004:

That is also fine!
One more note: The 32-bit wide instruction memory is build from 4 8-bit component so we would need a conversion there - but that is really no big deal. There already is a memory init function in the IMEM that copies from the according image package file. So modification should be very simple:
https://github.com/stnolting/neorv32/blob/652a022669ffd2272276dea2c05b2783de8fe3bc/rtl/core/neorv32_imem.vhd#L73-L86
plus
https://github.com/stnolting/neorv32/blob/652a022669ffd2272276dea2c05b2783de8fe3bc/rtl/core/neorv32_imem.vhd#L94-L101

Maybe I'm missing the full context here but for the VUnit testbench the instruction memory could be a VUnit memory model  connected to a Wishbone slave VC and we can use VUnit functionality to initialize that memory from file.

@LarsAsplund, see https://github.com/stnolting/neorv32/blob/master/rtl/core/neorv32_application_image.vhd. Currently, the software is compiled to an hex file and then a program in C (https://github.com/stnolting/neorv32/blob/master/sw/image_gen/image_gen.cpp) is used for autogenerating the VHDL source, with the values of the program hardcoded.
Instead, I think it would be desirable to provide the path to the hex file as a top-level generic, which allows to have multiple hex files and run simulations by just changing the file passed to the generic. Currently, it is difficult to run multiple simulations with different software, because all of them expect a single (the same) file to contain the source. Moreover, the size of that memory/constant depends on the size of the software. As a result, each time you generate it, it's expected to have a different size.
I don't think the VUnit memory model is useful in this case, because the purpose is to test the ROM initialisation method which is used for synthesis too. However, using VUnit's model might be interesting in more intensive software tests, where the performance might be better. I vaguelly recall that @stnolting had some alternative model of the memories for simulation purposes...

@umarcor Ok, I see that I was thinking about the external IMEM (https://github.com/stnolting/neorv32/blob/87ef9eff369e9458f9ef5d94abac0fa4c6b25232/sim/neorv32_tb.vhd#L514). Is that used?

I have modified the makefiles and the image generator. A make hex will create a plain ASCII hex-char text file neorv32_exe.hex that can be used to initialize custom (instruction-)memories. The generated files look like this (for the blink_led demo): https://gist.github.com/stnolting/11854fd0f802907b0fc4d709309ad37a
With the internal IMEM disabled (MEM_INT_IMEM_EN => false,) we could use some external memory component to execute code from that, just like @LarsAsplund said. This would also allow to run multiple simulations in parallel since no HDL files are touched at all.

Instead, I think it would be desirable to provide the path to the hex file as a top-level generic, which allows to have multiple hex files and run simulations by just changing the file passed to the generic. Currently, it is difficult to run multiple simulations with different software, because all of them expect a single (the same) file to contain the source. Moreover, the size of that memory/constant depends on the size of the software. As a result, each time you generate it, it's expected to have a different size.

I know the current setup using the image packages is not the best. But maybe the idea with executing code fro external (VUnit) memories is a good trade-off here (so, for simulation setups).
I am thinking about "splitting" all the tests:

use the plain old simple testbench for all processor-internal test cases - including executing code from the pre-initialized internal IMEM
use the VUnit testbench for all external test cases like verifying the bus interfaces (AXI, Wishbone, Stream) and maybe also the serial interface (UART, SPI, I²C) 🤔

I don't think the VUnit memory model is useful in this case, because the purpose is to test the ROM initialisation method which is used for synthesis too. However, using VUnit's model might be interesting in more intensive software tests, where the performance might be better. I vaguelly recall that @stnolting had some alternative model of the memories for simulation purposes...

VUnit would be very handy here!  The current RISC-V arch tests take ages to complete. A parallel job having the executable in external (and simulation-optimized VUnit) memories could speed things up a lot I think.

@umarcor Ok, I see that I was thinking about the external IMEM (https://github.com/stnolting/neorv32/blob/87ef9eff369e9458f9ef5d94abac0fa4c6b25232/sim/neorv32_tb.vhd#L514-517). Is that used?

This was just a test to check if this concept works (executing code from external memory) - which, by the way, works fine :smile:


Empty Response

After login is successful I'm getting a complete empty array from this function?
$inventory = $pokemonGoApi->getInventory();
You got any contact information? Skype?

Take a look at the examples inside the example folder.
 // Retrieve the inventory
 $inventory = $pokemonGoApi->getInventory();

// Retrieve the poke bank
 $pokeBank = $inventory->**getItems()**->getPokeBank();

// Retrieve a pokemon of type pidgey
$pokemon = current($pokeBank->getPokemonsByType(PokemonId::PIDGEY));

You can reach me at<EMAIL_ADDRESS>


Figure 3 in the paper is very confusing

Thank you for your nice work. However, it seems to be hard to understand the flowchart of DVT. In my point of view, the arrows in fig.3 confuse me a lot. Specifically:

For the leftside red box, what happens between the noisy feature maps outputed by ViT and the 3 terms? The arrows make me feel like that the part below is predicting noise in the noisy feature maps. However, i did not find corresponding contents in the paragraphs of the paper.
For the rightside red box, the big purple arrows seem to denote that the output of Generalizable Denoiser and the noisy ViT feature maps are the inputs of Per-image denoising. But that seems not to be exactly what fig.(3) express.

In short, it is difficult for me to figure out how exactly DVT inplemented.  I will appreciate it if you offer me help. Looking forward to your reply!

Hi, thanks for your interest in our work!

In short, the greenish arrows refer to the 'g' in Eq. (5), the orangeish arrows refer to 'f(x)', and the pinkish arrows refer to 'h'. These are also explained in the text right below Figure 3. What might be confusing is the part about the residual predictor. It indeed takes in the original feature map and predicts the residual — the part co-dependent on features and locations, or say, the part that cannot easily be explained away by using f and g. Feel free to ask for more specific details about any term that you find confusing.

The two large triangles (not necessarily arrows) denote an hourglass shape. Imagine the "encoder" and "decoder" architecture in an autoencoder, usually denoted as hourglass architecture as well. The top triangle indicates that we're feeding everything into the per-image denoising module, and the bottom triangle represents the output from that module. The reason we plot arrows pointing towards the outputs of the per-image denoising from the generalizable denoiser is to show that we ask the model to predict the denoised features from the noisy features.

And thanks for your suggestions, we will keep these in mind when we update the paper to make it clearer!

Hi, thanks for your interest in our work!

In short, the greenish arrows refer to the 'g' in Eq. (5), the orangeish arrows refer to 'f(x)', and the pinkish arrows refer to 'h'. These are also explained in the text right below Figure 3. What might be confusing is the part about the residual predictor. It indeed takes in the original feature map and predicts the residual — the part co-dependent on features and locations, or say, the part that cannot easily be explained away by using f and g. Feel free to ask for more specific details about any term that you find confusing.
The two large triangles (not necessarily arrows) denote an hourglass shape. Imagine the "encoder" and "decoder" architecture in an autoencoder, usually denoted as hourglass architecture as well. The top triangle indicates that we're feeding everything into the per-image denoising module, and the bottom triangle represents the output from that module. The reason we plot arrows pointing towards the outputs of the per-image denoising from the generalizable denoiser is to show that we ask the model to predict the denoised features from the noisy features.

And thanks for your suggestions, we will keep these in mind when we update the paper to make it clearer!

Thank you for your kindly reply! Actually i do notice the text right below, but what i expect to see, that some explainations about the flowchart of how DVT actually works(In fact i am still very confused about it for now...), seem to be missing. I would like to share my current understanding of DVT, and hope you can give some instructions:

Should i be very familiar with InstantNGP(mentioned in the supplementary material, but i just know ViT) so that i can comprehend how and why f and g are generated in DVT? It is too suffering to attempt to figure out what everything goes on just from fig.3 and corresponding texts in the paper.
In fig.3 (a) Per-image Denoising, I can understand that there is a training process that trying to making the sum of the three terms to be as similar as the noisy ViT feature maps (denoted as learning the decomposition). But what's the relationship between this and Per-image Denosing? Do we get noisy-free feature map crops from well-trained Neural Feature Field?
What is the relationship between Per-image Denoising and Generalizable Denoiser? Is Generalizable Denoiser happen after Per-image Denoising?
Besides, it is also extremely difficult for me to read the codes since the code style distincts drastically from what i'm familiar with. I hope you can bear with me if some questions seem silly. Thank you for your patience.


[REBRAND] Buttons update 🕹

Summary
Update our existing <Button /> component to match the guidelines specified in our new design system:

Quite a few states have been removed and component overall is much simpler now.
There's finally a new state for loading: <Button loading />.
I also updated our <Spinner /> component in order to be able to use it on <Button />:

It's also much simpler now 💙
Preview

Button
Spinner

Design
https://marvelapp.com/5504e6j/screen/67099684
Story
ZDS-2

TODO

[ ] Move to <Button size={"standard" | "small" } /> for future scalability 💅🏻

:tada: This PR is included in version 4.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


MessageBox/ContentDialog Not DIsplaying

So I have my main window code-behind and I have a button in XAML. I link my button to a click handler that in theory should open a messagebox when clicked, however nothing happens. I've tried all the folowing code below and no dialog ever shows. I'm using Linux with the GNOME 40 desktop enviornment.
private void ButtonClick(object sender, RoutedEventArgs e)
{
    var msg = new MessageDialog();
    msg.SetOwner(this);
    msg.Show(); //Dialog never shows and no error message occurs
}

This issue also occurs with:
private void ButtonClick(object sender, RoutedEventArgs e)
{
    this.NewMessageDialog("test", "test", null); //Dialog never shows and no error message occurs
}

This issue also occurs if i change MessageDialog to ContentDialog. I could be totally not doing this right, but from the sample you provided this is what I came up with :man_shrugging:

So I have my main window code-behind and I have a button in XAML. I link my button to a click handler that in theory should open a messagebox when clicked, however nothing happens. I've tried all the folowing code below and no dialog ever shows. I'm using Linux with the GNOME 40 desktop enviornment.
private void ButtonClick(object sender, RoutedEventArgs e)
{
    var msg = new MessageDialog();
    msg.SetOwner(this);
    msg.Show(); //Dialog never shows and no error message occurs
}

This issue also occurs with:
private void ButtonClick(object sender, RoutedEventArgs e)
{
    this.NewMessageDialog("test", "test", null); //Dialog never shows and no error message occurs
}

This issue also occurs if i change MessageDialog to ContentDialog. I could be totally not doing this right, but from the sample you provided this is what I came up with 🤷♂

mmm, so strange, I'm gonna install an VM to see the error, but, did u import AuraUI.xaml?

ah, what's ur OS exactly?

I think that's can be an Avalonia bug, 'cause the ContentDialog control does not use unmanaged or platform specific code; just uses the OverlayLayer, this is managed by Avalonia...

Arch Linux with gnome desktop
But I'm a total idiot...I totally forgot to include the style in App.xaml
I'm at work rn so I'll include it later and lyk what happens

xdd

@nlogozzo  it's fixed?

Still waiting to try...won’t be home till 10 PM EST today...late night :)

On Apr 11, 2021, at 4:50 PM, Piero Castillo @.***> wrote:

@nlogozzo it's fixed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Fixed by adding styles


feat(structure): add initial required code and prefabs

The initial structure for the repo has been added with the required
code and prefabs along with any necessary documentation.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
v1.0.0
GitHub release

Your semantic-release bot :package::rocket:


Comment on PR if validation fails

Fixes https://github.com/Quansight/qhub/issues/7

Example: https://github.com/Quansight/qhub-gcp-test-deployment/pull/1#issuecomment-707298719

@costrouc is this linked to #7? Do you know what is the status on it?

@costrouc is this linked to #7? Do you know what is the status on it?

Superceded by #408. Closing


lib: src: simulations: fourier_series pixels overflow

Fourier series simulation has overflowing pixels in large screen devices.
Screenshot of BUG (top right of image)

Device: Asus max pro m1

OS:: Android
Screen Width 440px

Additional context
I would like to up this issue.

This has been on my radar, thanks for opening an issue. You can work on this and ping me if you need help.

Checked just now, I don't this issue persists anymore.


Loading local model to change reference model

I made windows version and it works well.
https://github.com/sdbds/champ-for-windows
I improve code for loading local model for safetensors and ckpt,we will not download vae and stable-diffusion-1-5.

Cannot run with necessary models only. non-used models required by load_models function.


The Microsoft.ServiceFabricMesh/secrets is a Readonly resource

During a deployment, i have updated the secret value of a secret.
I received the error message during the deployment of Microsoft.ServiceFabricMesh/secrets resources.
"error": {
"code": "BadRequestWithReason",
"message": "Request is invalid. Reason Secret version value is a readonly property.",
}
What do we need to do when updating the secret value ?

I think this is an expected behavior. In the docs, it says:

The name of the value is typically the version identifier. Once created the value cannot be changed.

I assume it follows the same approach of KeyVault, where each new value get a new version.
So you would have:
{
  "name": "v1",
  "properties": {
    "value"<EMAIL_ADDRESS>  }
}

Then :
{
  "name": "v2",
  "properties": {
    "value": "mongodb://abcdefg:0Fc3IolnL12312asdfawejunASDF.."
  }
}

You can not change an existing secret value. @guibirow is correct, you should be creating a new version with the new secret value you want to use.

Thanks for you guys


Error in in2n pre-training nerf

python launch.py --config configs/instructnerf2nerf.yaml --train --gpu 1 data.dataroot="data/bear" data.camera_layout="front" data.camera_distance=1 system.prompt_processor.prompt="Turn the bear into a grizzly bear" \
trainer.val_check_interval=100 \
data.eval_data_interval=15 \
system.start_editing_step=1000 \
trainer.max_steps=10000 \

I use in2n to edit nerf, but I can't train a complete scene. Where is the problem?thanks (it works in face datset)

Hi @hrz2000 ,
I think there are currently two problems. One is that our NeRF model does not support 360-degree scenes. Another issue is that some losses in NeRF, such as loss_opaque and loss_orient, are not suitable for representing the 3D background. So I am working on implementing Gaussian Splatting for these 3D scenes in the next few days.

@hrz2000 Hi, I am also using in2n to edit nerf but I can't find original scene data (multi-view images) with appropriate format (which can be processed with three studio). I did have the bear example you used from the original In2n, but it can't be processed with three studio. (the data of face case was provided by threestudio and it works). Would you like to share how to get the other benchmark cases data in the threestudio format?(like the bear case you used). Sorry for any trouble.


Add :pdf format specifier for messages containing PDF documents

Description
Anthropic just released direct support for PDF images in their API, which is huge.
We should add support for this ASAP, particularly given that it's easy to include.
See: https://docs.anthropic.com/en/docs/build-with-claude/pdf-support

This is released in v1.8!


Pin sev crate to use 1.1.0, due to 1.2.0 breaking changes

Pin sev crate to use 1.1.0, due to 1.2.0 breaking changes
sev 1.2.0 introduced a couple of breaking changes. fixes https://github.com/confidential-containers/kbs/issues/102
How to use
n/a
Testing done
cargo t

I don't see the actual pinning being commited

I don't see the actual pinning being commited

Oh, good point. I toggled the branch but didn't rename the PR 👍

oh i see - the sev 1.2.0 crate is being picked up automatically so we need changes. alright


Flexible indexes: how best to implement the new data model?

Yesterday during the flexible indexes weekly meeting we have discussed with @shoyer and @jhamman on what would be the best approach to implement the new data model described here. In this issue I summarize the implementation of the current data model as well as some suggestions for the new data model along with their pros / cons (I might still be missing important ones!). I don't think there's an easy or ideal solution unfortunately, so @pydata/xarray any feedback would be very welcome!
Current data model implementation
Currently any (pandas) index is wrapped into an IndexVariable object through an intermediate adapter to preserve dtypes and handle explicit indexing. This allows directly reusing the index data as a xarray coordinate variable. For a pandas multi-index, virtual coordinates are created for each level from the IndexVariable object wrapping the index.  Moreover, this wouldn't work with the new data model where an index may be built from a set of coordinates with different dimensions.
Proposed alternatives
Option 1: independent (coordinate) variables and indexes
Indexes and coordinates are loosely coupled, i.e., a xarray.Index holds a reference (mapping) to the coordinate variable(s) from which it is built but both manage their own data independently of each other.
Pros:

separation of concerns.
we don't need anymore those complicated adapters for reusing the index data as xarray (virtual) variable(s), which may simplify some xarray internals.
if we drop an index, that's simple, we just drop it and all its related coordinate variables are left as-is.

we could theoretically build a (pandas) index from a chunked coordinate, and then when we drop the index we still have this chunked coordinate left untouched.

Cons:

data duplication

this would clearly be a regression when using pandas indexes, but maybe less so for other indexes like kd-trees where adapting those objects for using it like coordinate variables wouldn't be easy or even possible.

what if we want to build a DataArray or Dataset from one or more existing indexes (pandas or other)? Passing an index and treating as an array then re-building an index from this array is not optimal.
keeping an index and its corresponding coordinate variable(s) in a consistent, in-sync state may be tricky, given that those variables may be mutable (although we could prevent this by encapsulating those variables using a very lightweight wrapper inspired by IndexVariable).

Option 2: indexes hold coordinate variables
This is the opposite approach of the current one. Here, a xarray.Index would wrap one or more xarray.Variable objects.
Pros:

probably easier to keep an index and its corresponding coordinate variable(s) in-sync.
sharing data between an index and its coordinate variables may be easier.

Cons:

accessing / iterating through all coordinate variables in a DataArray or Dataset may be less straightforward.
when the index is dropped, we might need some logic / API to return the coordinates as new xarray.Variable objects with their own data (or should we simply always drop the corresponding coordinates too? maybe not...).
more responsibility / work for developers who want to provide 3rd party xarray indexes.

Option 3: intermediate solution
When an index is set (or unset), it returns a new set of coordinate variables to replace the existing ones.
Pros:

it keeps some separation of concerns, while it allows data sharing through adapters and/or ensures that variables are immutable using lightweight wrappers.

Cons:

like option 2, more things to care of for 3rd party xarray index developers.

Would we need to duplicate data with option 1? It seems like a wrapper that makes the data in a Variable immutable might resolve that? We could even compute the variable's data on the fly using Xarray's lazy indexing machinery.
I was initially leaning towards 2 due to cleaner handling of "virtual" coordinates, but I'm not so sure that that would actually help anymore.

At the very least, I do think we need something like option 3. We don't want to be in a scenario where indexes can easily get out of sync.


What is the advised method to run dbt-deps using astronomer-cosmos ?

This operator: DbtDepsOperator gives depreciation error now. Could you please help with an example.

deps are automatically handled if we include it in packages.yml file inside dbt project.


Adding back italic text (Text)

Also changed bold to **Text** and italic to *Text* because thats how github does it (I just think that'd be more familiar for users).

 I hate using * or ** for bold or italic. I just hate it. Like if its going to be added at least have it be a toggle.

** is already bold, this just adds italic, what are the alternatives?

Slack has *bold*, and _italic_, which is a bit more fun, I think.

@goto-bus-stop We had italic in the past, but it interferes with usernames since _ is a legal character.  Same goes for -.
The easiest way would be to use characters that aren't able to be used in usernames (everything not alpha-numeric, -, _).
Slightly harder way, adjust the parser to not parse mentions for formatting tags.  That might be the way to go, honestly.

okay, it's now using _ and not parsing mentions anymore

@henr-y Sorry to get back to you so late on this.  I don't know how much I care about misuse of the tags, but This_ is a @User_with_underscores makes the text between the first and second underscore italic despite the second being part of the username.  I don't care all that much, though I'd like to preserve the username if possible.
TL;DR : This works if the beginning underscore is in the username, but breaks when the ending underscore is in the username.

@foodbandlt The other tags can be misused atm too ^^

You'd need to remove all usernames from msg and add them again after they've been parsed.

Ahah, nice.  I didn't check that.  Should be a way to do it with regex.  If you can't get it I'll put some thought into it, heh.
Thanks!  Sorry for being so stringent...


Add a (since) line

So people don't have to do timezone conversion in their heads, it would display a relative time

Closed in 6c5bdeb3b35ea0cb2c7e4d9fe928572d80a36845


Add tests for UuidGenerator, and phpunit config.

No open issue for this, just adding some missing tests.

Cool, no rush

👍 from me of course


feat(ibc-testkit): revamp MockContext with chain capabilities

Closes: #1045
Description

takes account of new ClientStateValidation and ClientContextValidation
introduces block production using Merkle root
begin_block and end_block methods for MockContext
removes clippy lints in ibc-testkit

PR author checklist:

[ ] Added changelog entry, using unclog.
[ ] Added tests.
[ ] Linked to GitHub issue.
[ ] Updated code comments and documentation (e.g., docs/).
[ ] Tagged one reviewer who will be the one responsible for shepherding this PR.

Reviewer checklist:

[ ] Reviewed Files changed in the GitHub PR explorer.
[ ] Manually tested (in case integration/unit/mock tests are absent).

That was a good suggestion. While doing that, I realized that the chain ID (and revision number) are not that relevant for our test cases. We can actually totally remove the chain_ids and use fixed zero as a default revision number.


kubevirt: Replace routes on migration

Kubevirt live migration between nodes that do not own the VM subnet are creating wrongly at ECMP route since is not replacing the point to point routes, this breaks traffic.
This change use just just IPPrefix and Policy at the point to point routes predicate to prevent ECMP.

- What this PR does and why is it needed

- Special notes for reviewers

- How to verify it

- Description for the changelog

still not full stable
server logs.
2024/01/30 13:54:49 Handling connection <IP_ADDRESS>:55828
2024/01/30 13:54:49 Handling connection [fd98::3]:39486
2024/01/30 13:55:26 failed to reading data: %!w(*net.OpError=&{read tcp 0xc00007a540 0xc00007a570 0xc000016080})
2024/01/30 13:55:26 Clossing connection [fd98::3]:39486
2024/01/30 13:55:26 failed to reading data: %!w(*net.OpError=&{read tcp 0xc00007a4b0 0xc00007a4e0 0xc0000160a0})
2024/01/30 13:55:26 Clossing connection <IP_ADDRESS>:55828


Search problems

Hi !
I don't understand why my search bar just highlights some words. I installed lunr et i tried a lot of solution but nothing help me !
maybe my index is wrong but lunr do it automaticaly
Can you help me please ? (forgive my english, i learn ;) )

Salut Timo,
Can you share your repo to investigate ?

its a bit longer ^^
the file was to heavy for the site
i delete my npm adds and i send you this

https://github.com/TimotheClavier/metiwiki.git
Thats the meti.zip file
i want to say i'm under a proxy in my enterprise and i can't do a git clone so i downloaded the zip and i put him in my theme folder.
I don't know if this has an importance but i prefer say it
Thanks !!

Hum sorry but my index don't take all of my content, juste 29 on 80
You know somethings about this ?

I ran into the same problem as @TimotheClavier. The baseURL value in my config.toml file was pointed to the wrong environment. Without this, the search functionality fails to pull in the index.json and instead only highlights the results that appear on that page.


Clash for OPNSense

First I wanna thank u all for working so hard to give us OPNSENSE. Thank you all very much.
I am living in China, and I think you guys know China has a GFW which blocks access to some foreign websites including Github. As long as the GFW can detect traffic patterns (such as SSH tunneling, VPN or Tor protocols), we have to use some different way to get over "THE GREAT WALL" such like shadowsocks or v2ray.
Clash is a rule-based tunnel,it works like Surge, it can deal with DNS spoofing by using its own DNS plugin, you can use it as a gateway proxy because it support v2ray and shadowsocks. I think many people would thank u if you can add clash into OPNSENSE as a plugin.
The clash github address:
https://github.com/Dreamacro/clash
The FreeBSD ports:
https://svnweb.freebsd.org/ports/head/net/clash/
Thank you all again.

Isn't there a feature request already?

duplicate https://github.com/opnsense/plugins/issues/1412

@mervynsword please don't spam our issue tracker. It's considered quite rude to beg for attention like this.

@mervynsword please don't spam our issue tracker. It's considered quite rude to beg for attention like this.

Sorry for that,won`t do that again.And thank you for your hard work.

https://pfschina.org/wp/?p=10626