Update EF Core Tools

How do I update EF Core Tools? I tried running "update-package" in the PMC, but still get this warning when doing "Update-Database":
The EF Core tools version '2.1.1-rtm-30846' is older than that of the runtime '2.1.3-rtm-32065'. Update the tools for the latest features and bug fixes.
Microsoft.EntityFrameworkCore.Model.Validation[30000].
@Rick-Anderson edit/summary of solution:

If you get the warning via the console/CLI dotnet ef command,  install the latest version of the .NET Core SDK- but not the preview version.
If you get this warning in the PMC (Program Manager Console - using EF commands (Update-Database etc.) - Add the following package reference to the .csproj project file:

<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="2.1.4" />

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

ID: 6719f08e-3bd7-dc1a-71df-f2ef9fbca9d8
Version Independent ID: 7096fdb3-612e-9e00-bd0b-8ea4886a09ce
Content: Add a model to a Razor Pages app in ASP.NET Core
Content Source: aspnetcore/tutorials/razor-pages/model.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

What does dotnet --version show? Can you share your project file (.csproj).
cc @tdykstra @scottaddie @guardrex

@sana-ajani install the latest version of the .NET Core SDK But not the preview version.

@bricelam  more customers are reporting this problem with the current SDK.

You can add me to the list of people experiencing this problem.  I have version 2.1.402 of the SDK installed on a Windows 10 machine and get the error message when issuing EF commands in the Package Manager Console window in Visual Studio 2017 (version 15.8.4).

If you get the error using dotnet ef, update the SDK like @Rick-Anderson said.
If you get the error using PMC (Update-Database and friends), update the package like @GiorgioG said.

@bricelam So, is this a new requirement to install the EntityFrameworkCore.Tools package?  My project file does not have a reference to an older version of this package, and I used to be able to issue EF commands from the PMC without getting this warning message before.

For now, yes. We're sorting it out in future versions. (See also aspnet/Home#3503)

If you get the warning using dotnet ef, update the SDK like @Rick-Anderson said.
If you get the warning using PMC (Update-Database and friends), update the package like @GiorgioG said.
If you're not encountering any issues or missing features, also feel free just to ignore the warning.

Can someone clarify exactly which project would reference the package in the .csproj file, if using a multiple project solution, in order to resolve the issue, as per Rick Anderson's suggestion?

@DarrenGansberg 	the project that's using the EF tools.

@GiorgioG solution worked.

Update tools by using the package manager console:
Install-Package Microsoft.EntityFrameworkCore.Tools -Version 2.1.3

Just experienced this issue in an Azure DevOps build pipeline. Using YAML builds, didn't alter my YAML file at all, and started to experience this issue. Does anyone have any insight into why this would randomly stop working in an environment like AzureDevOps hosted agents, or direct me to the correct location to report the problem? I have build and repo history which proves nothing changed on my end to cause the build to stop working with ADO.

For reference, to fix it in dotnet core 3, run the following:
dotnet tool update --global dotnet-ef

Even though I'm on the latest version of the SDK and Microsoft.EntityFrameworkCore.Tools, I needed to run the above.


fix: batch/resource-manager/Microsoft.Batch

space in property name
returnedable -> returnable

Automation for azure-sdk-for-python

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-js

Can one of the admins verify this patch?

Automation for azure-sdk-for-go

Automation for azure-sdk-for-java


[WIP] Add updated social backup and recovery flows

Description
Updates the backup flow to provide a social option (Backup with Friends) that splits the mnemonic into two pieces.  Also provides a social recovery option when importing a wallet.
Back button is overridden in certain cases to prevent users from going to a previous step in the backup flow.
Priority to be finished:

[ ] Back up prompt and notification button navigation
[ ] Doing backup flow state to hide the prompt during backup flow

To be finished:

[ ] Tests (Updating existing tests and new tests for new screens)
[ ] Style adjustments to match mocks

Future work:

[ ] Cancel confirmations (Both native back button and cancel in header)
[ ] Locales

[ ] Correct Spanish translations (Currently uses Google Translate translations for new / updated strings in order to match the English strings)
[ ] Remove no longer used locale strings

[ ] Pin check before viewing backup key

Tested
An explanation of how the changes were tested or an explanation as to why they don't need to be.
Other changes
N/A
Related issues

Closes #768
Closes #770

Backwards compatibility
Yes, this provides an additional social recovery option while keeping the original recovery options available.

Force push above is reverting a merge with master, bringing it back to original branch

Closing as this was done in Rossy's PR here: https://github.com/celo-org/celo-monorepo/pull/1399


Pfsense Agent

Hi the Agent for pfsense seems to not be existing anymore, does anyone have a copy??

Hello Lerato6221,
The agent is up and running and updated.
You will find more up to date infos here : https://dynfi.com/en/articles/dynfi-manager-connection-agent/
Sincerely yours.


feat: support use of existing buckets as sources

Fix #451
Passing an existing bucket to the construct is now supported, but the user must explicitly set the acceptResponsibilityForUsingExistingBucket or an error is thrown. When using an existing bucket, the bucket policy is not added automatically, but the relevant statement can be retrieved with getPolicyStatementForBucket(bucket) and the user is responsible to add that statement to the bucket. That can be done in different ways, but choice and responsibility is left to the user. For example a CfnOutput containing the policy statement can be created to expose the statement, or the policy can be explicitly replaced in the CDK project.
Edit: push-forced to fix invalid commit name

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@dontirun I've implemented the request changes, thanks for reviewing!

@michelesr  You need to authorize modification on the branch for mergify to do it's thing

@michelesr You need to authorize modification on the branch for mergify to do it's thing

Looks like that can only be done from a fork in a personal (not org) account. I'll open a PR from my personal account and then if everything works fine I'll close this.

Closing because #470 was merged instead.


SVG icons throw a warning:  Received true for a non-boolean attribute fontSize

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
There shouldn't be a warning when importing an svg icon. Or if there should be, please update docs to reflect the correct way of rendering the SVG icon in our code. Currently the docs don't show if any fontSize attribute needs to be passed in.
Current Behavior
When importing any svg icon, I get a warning saying:
Warning: Received true for a non-boolean attribute fontSize. If you want to write it to the DOM, pass a string instead: fontSize="true" or fontSize={value.toString()}.
I don't set a fontSize attribute in the tag, like how the docs show. This is part of what my code looks like:
import IconButton from 'material-ui-next/IconButton';
import DeleteIcon from 'material-ui-icons/Delete';

<IconButton onClick={() => this.setState({ openDialog: true })}>
 <DeleteIcon />
</IconButton>

Steps to Reproduce (for bugs)

Import any icon from material-ui-icons package.
Render it.
See warning in console.

NOTE: I tried this in codesandbox but did not see the warning. But here is the link regardless:
https://codesandbox.io/s/qvo302329q
Context
I'm currently in the processing of migrating all Button components from Material-UI v.0.20 to v.1 in my application at work. Currently, the way I'm avoiding getting this warning is by actually not using SVG icons at all and using, for instance <Icon>delete</Icon> instead.
Your Environment

Tech
Version

Material-UI
1.0.0-beta.31

material-ui-icons
1.0.0-beta.17

React
16.2.0

browser
Chrome v63.0.3239.84

@wendyperalta You are suffering from a bundle duplicated module:

material-ui-next
material-ui-icons that is importing material-ui

Upgrade everything and you should be good.

@oliviertassinari
this code :  https://stackblitz.com/edit/react-17ners?file=index.js
https://react-17ners.stackblitz.io open console in this page
and you see:
warning.js:33 Warning: Received true for a non-boolean attribute fontSize
I did not understand how to fix this.


Add missing configuration for scheduler

Description

The configuration for running the scheduler is missing, so I added the configuration.
Related issue and scope

[ ] I opened an issue to propose and discuss this change (#????)

My changes affect the following components

[ ] API
[ ] Controller
[ ] Message Bus (e.g., Kafka)
[ ] Loadbalancer
[x] Scheduler
[ ] Invoker
[ ] Intrinsic actions (e.g., sequences, conductors)
[ ] Data stores (e.g., CouchDB)
[ ] Tests
[ ] Deployment
[ ] CLI
[ ] General tooling
[ ] Documentation

Types of changes

[x] Bug fix (generally a non-breaking change which closes an issue).
[ ] Enhancement or new feature (adds new functionality).
[ ] Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

[x] I signed an Apache CLA.
[x] I reviewed the style guides and followed the recommendations (Travis CI will check :).
[ ] I added tests to cover my changes.
[ ] My changes require further changes to the documentation.
[ ] I updated the documentation where necessary.

Codecov Report

Merging #5235 (1d27143) into master (37f1f99) will decrease coverage by 1.44%.
The diff coverage is 40.00%.

@@            Coverage Diff             @@
##           master    #5235      +/-   ##
==========================================
- Coverage   26.29%   24.85%   -1.45%
==========================================
  Files         238      231       -7
  Lines       13965    13700     -265
  Branches      576      567       -9
==========================================
- Hits         3672     3405     -267
- Misses      10293    10295       +2

Impacted Files
Coverage Δ

...apache/openwhisk/connector/lean/LeanProducer.scala
0.00% <0.00%> (ø)

.../org/apache/openwhisk/core/connector/Message.scala
27.83% <ø> (-14.44%)
:arrow_down:

...enwhisk/core/loadBalancer/CommonLoadBalancer.scala
0.00% <0.00%> (ø)

.../openwhisk/core/loadBalancer/FPCPoolBalancer.scala
0.00% <0.00%> (ø)

...enwhisk/core/loadBalancer/InvokerSupervision.scala
0.00% <0.00%> (ø)

...e/loadBalancer/ShardingContainerPoolBalancer.scala
0.00% <ø> (ø)

...ontainerpool/v2/FunctionPullingContainerPool.scala
0.00% <ø> (ø)

...nwhisk/core/invoker/ContainerMessageConsumer.scala
0.00% <ø> (ø)

...he/openwhisk/core/invoker/FPCInvokerReactive.scala
0.00% <ø> (ø)

...sk/core/scheduler/container/ContainerManager.scala
0.00% <0.00%> (ø)

... and 24 more

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 cbdcfe5...1d27143. Read the comment docs.


Update chart2.js

fixes out-of-sequence CBSAs

Thanks @higs4281! Do the same problems exist in chart1.js?

@contolini there were four mismatches. fixed.

You da best.

@contolini got it!
the final pieces were the content files used to build the option choices for the two charts in index.html. once i got those aligned with the fixed data files, it all works.
we need a way to keep these files in sync for the next data refresh;
also, isn't very dry to have two indentical chart dropdowns in content/homepage/charts/

i wrote a selenium test to check every option in each table, and all choices pass.

:+1: :+1: :+1:


[WIP] Tree view for bug-report CRDs, run analyze first

Fixes https://github.com/istio/istio/issues/35099.
Partial fix for https://github.com/istio/istio/issues/35101.

@ostromart: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
00f41abb9260258e05a0ece3d65eff27f8425d2e
link
true
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Integration: Publisher can track progress of their upload or cancel

Placeholder for any required FE-BE integration.

Update 1/15

@MDunitz will write an integration test for the backend (check that given a dropbox link a dataset is uploaded, correctly converted, the metadata is correctly added to the db and the dataset can be retrieved/dowloaded in its forms)
@seve will write an integration test for the frontend using the current testing framework to ensure once uploaded the dataset information renders correctly

Update 1/15

@MDunitz will write an integration test for the backend (check that given a dropbox link a dataset is uploaded, correctly converted, the metadata is correctly added to the db and the dataset can be retrieved/dowloaded in its forms)
@seve will write an integration test for the frontend using the current testing framework to ensure once uploaded the dataset information renders correctly

Do we have updates on what Infra Team says about using Local Happy Path to run logged in E2E tests? Thank you!

Do we have updates on what Infra Team says about using Local Happy Path to run logged in E2E tests? Thank you!

Update 1/25
Meeting with Infra tomorrow re using local happy path for logged in e2e testing, particularly for the cicd pipeline.
Currently running into some issues with the OIDC auth process.

Update 1/25
Meeting with Infra tomorrow re using local happy path for logged in e2e testing, particularly for the cicd pipeline.
Currently running into some issues with the OIDC auth process.


security: XSS vulnerability

Description
There is XSS vulnerability in the following links. Please, replace the cockpit url with yours. To generate the xss, please replace  with < SCRIPT>alert(document.cookie)
http://<IP_ADDRESS>/jslib/old/datatables/images< xss>
http://<IP_ADDRESS>/jslib/1< xss>
http://<IP_ADDRESS>/jslib/bootstrap/1< xss>
http://<IP_ADDRESS>/jslib/bootstrap/css//1< xss>
http://<IP_ADDRESS>/jslib/bootstrap/fonts//1< xss>
http://<IP_ADDRESS>/jslib/bootstrap/js//1< xss>
http://<IP_ADDRESS>/jslib/bootstrap/js/bootstrap-3-3-2.min.js/1< xss>
http://<IP_ADDRESS>/jslib/flatui//1< xss>
http://<IP_ADDRESS>/jslib/flatui/css//1< xss>
http://<IP_ADDRESS>/jslib/flatui/fonts//1< xss>
http://<IP_ADDRESS>/jslib/flatui/fonts/lato//1< xss>
http://<IP_ADDRESS>/jslib/flatui/images//1< xss>
http://<IP_ADDRESS>/jslib/flatui/images/login//1< xss>
http://<IP_ADDRESS>/jslib/flatui/images/switch//1< xss>
http://<IP_ADDRESS>/jslib/flatui/images/tile//1< xss>
http://<IP_ADDRESS>/jslib/flatui/images/todo//1< xss>
http://<IP_ADDRESS>/jslib/flatui/images/video//1< xss>
http://<IP_ADDRESS>/jslib/font-awesome//1< xss>
http://<IP_ADDRESS>/jslib/font-awesome/css//1< xss>
Actual Result

Version
JumpScale
Core: 8.1.1rc1-3-g3469b7f
Portal: 8.1.1rc1

JSCockpit
JSCockpit: 8.1.0rc2-46-gce1faa0

https://github.com/Jumpscale/jumpscale_portal8/pull/139

@ahussein should this be in validation?

it should be in the next state of the workflow after being code complete and tested by the developer. I am not sure if that is validation or something else. Let me know so that I do it myself next time.


[Relax] Refactor PatternRewriter into separate Block/Expr mutators

Prior to this commit, the PatternRewriter mutator handled pattern rewriting at either the expression level (rewrite_call) or the dataflow block level (rewrite_bindings).  These two functionalities had different external APIs, defined diffierent member variables, and visited different IR nodes.  In effect, it had two entirely independent implementations, which just happened to be implemented within the same class.
This commit refactors the single PatternRewriter mutator into separate BlockPatternRewriter and ExprPatternRewriter mutators.

related to the class but not this PR necessarily would be good to think about complexity reduction for rewrite_bindings, which is source of slowdown in our overall compilation


Can change LoadBalancer of Gateway Filter?

I tried changing LoadBalancer in ReactiveLoadBalancerClientFilter to override Mono<Response<ServiceInstance>> choose(Request request) to route to instances based on user request information and eureka metadata, but it was difficult.
To change the LoadBalancer, I tried injecting a bean that inherited LoadBalancerClientFactory, but the LoadBalancerClientConfiguration configuration class is specified in the factory constructor.
Even if ServiceInstanceListSupplier is provided using the withBase method of ServiceInstanceListSupplierBuilder, it is difficult to set serviceId because is not dynamically created through NamedContextFactory.

Hello @apollyon4, you should be able to modify the behaviour by providing custom ServiceInstanceListSupplier or ReactorLoadBalancer bean as described in the docs  without having to modify anything in ReactiveLoadBalancerClientFilter. If you're still facing an issue after trying that, please provide a minimal, complete, verifiable example that reproduces the issue. Please make sure it's against Spring Cloud 2023.0.0, as it's the only version with OSS support at this point.

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

https://github.com/apollyon4/spring-cloud-netflix-issue
Through debugging, I checked which load balancer was called.
I didn't know that naming it @LoadBalancerClient would connect to lb://{id}.
But what I want is to register new route definitions via config-api so they can be refreshed without deploying them.
However, if i add the added route definition by registering the name of @LoadBalancerClient, i must deploy the server.
I would like to be able to change the default RoundLoabinLoadBalancer.

@apollyon4  You can change the default RoundRobinLoadBalancer; you just need to create your own configuration class where you create instances of the beans you'd like to use with @Bean-annotated methods, and pass the configuration via @LoadBalancerClient or @LoadBalancerClients annotation, for example over a @Configuration class. It's all described in the docs I've linked, please take a look. You can also see an example here: https://github.com/spring-cloud-samples/spring-cloud-intro-demo/blob/main/card-service/src/main/java/org/example/excluded/CustomLoadBalancerConfiguration.java - we're providing a custom ServiceInstanceListSupplier, but you could provide a custom ReactorLoadBalancer bean instead.

@OlgaMaciaszek
I understood your answer to mean that some serviceId(name or value of the client) could changed to @LoadBalancerClient. I was already able to change RoundRobinLoadBalancer through @LoadBalancerClient in my example project, but it's not what I want.
I cannot change the default RoundRobinLoadBalancer.
I can only change what is declared in @LoadBalancerClient.
I want to set default another LoadBalancer instead of RoundRobinLoadBalancer without specifying @LoadBalancerClient because serviceId is unknown in build time.

Hell @apollyon4, you'd need to use @LoadBalancerClients annotation's defaultConfiguration attribute to pass your configuration class.

@OlgaMaciaszek
Thank you! This is the option I was looking for.
I should have looked it up better, I'm sorry.

No problem. Closing as question answered.


Is it normal to have to add the database name in my Athena queries?

System information:
Operating System:  Windows 10 Pro, Version 1809, Build 17763.1282
DBeaver Version:  7.1.3
Connection specification:
Database:  AWS Athena
Describe your question:
Hi,
I just created my first successful connection to AWS Athena!  In running some test queries, I found that I must specify the name of the database in my queries to get them to succeed, like this:
select firstname from "mydatabase".mytable;
The "Active catalog/schema" dropdown has the desired database selected.
Is this normal to have to fully qualify all queries with the database name like this?
Thanks!
Ryan

It is a kind of bug. Thank you for the report.

Generally it depends on Athena driver..

It also depends on driver (Simba) behavior.

We can't fix it from the dbeaver side.


Implementing Map/Dict functionality with ARgorithmToolkit objects.

To implement a lot of algorithms, a dict or hashmap maybe a necessary Data-structure. It'll require some form of generics or interface classes to use as key-value pairs, to ensure that the correct data is being written into the states, and object references aren't lost.

class serializability and storing object id in state

within state_def
make object id a compulsory part of metadata

all ARgorithmToolkit classes to be made JSON serialisable.
refer this for more info
We can do this easily by creating our own ARgorithmToolkit.utils.Encoder which can parse StateSet into a JSON and convert ARgorithmToolkit class objects into strings/objects containing reference to the id of the ARgorithmToolkit object used in body

lets say a ARgorithmToolkit.Array can be serialised into a string like
"$argorithm_array_{id}"

or into an object like
{
     "argorithm_object" : {
           "type" : "Array",
           "id" : "<whatever id>"
     }
}

Right now object deletion is only recorded in linkedlist
Should we also implement delete states in all other data structures as well
arr = ARgorithmToolkit.Array(name='arr',algo=algo,data=[1,2,3])
arr = ARgorithmToolkit.Array(name='arr',algo=algo,data=[4,5,7])

as these objects are overwritten in python, shouldnt that happen in application as well and we might need a delete state to do that

They're not technically over written, they remain in memory the reference counter to that object is decremented. If that reference counter reaches 0, it is collected by Garbage collector

They're not technically over written, they remain in memory the reference counter to that object is decremented. If that reference counter reaches 0, it is collected by Garbage collector

yeah what i meant was by overwritten is that they are no longer accessed by any variable
so thats a yes or a no on the _del states?


Could not load library libcudnn_ops_infer.so.8. Error: libcudnn_ops_infer.so.8: cannot open shared object file: No such file or directory

Lightning automatically upgraded your loaded checkpoint from v1.5.4 to v1.9.4. To apply the upgrade to your files permanently, run `python -m pytorch_lightning.utilities.upgrade_checkpoint --file ../../../.cache/torch/whisperx-vad-segmentation.bin`
Model was trained with pyannote.audio 0.0.1, yours is 3.1.1. Bad things might happen unless you revert pyannote.audio to 0.x.
Model was trained with torch 1.10.0+cu102, yours is 2.1.2+cu121. Bad things might happen unless you revert torch to 1.x.
[NeMo W 2024-10-22 17:57:27 nemo_logging:349] /home/syt/anaconda3/envs/whisper2/lib/python3.10/site-packages/pyannote/audio/utils/reproducibility.py:74: ReproducibilityWarning: TensorFloat-32 (TF32) has been disabled as it might lead to reproducibility issues and lower accuracy.
    It can be re-enabled by calling
       >>> import torch
       >>> torch.backends.cuda.matmul.allow_tf32 = True
       >>> torch.backends.cudnn.allow_tf32 = True
    See https://github.com/pyannote/pyannote-audio/issues/1370 for more details.

      warnings.warn(

Traceback (most recent call last):
  File "/home/syt/PycharmProjects/test/whisper/diarize.py", line 126, in <module>
    alignment_model, alignment_tokenizer, alignment_dictionary = load_alignment_model(
ValueError: not enough values to unpack (expected 3, got 2)

This question exists in my Linux-ubuntu

but in windows11, the same code, it can run successfully

You are using an old version of the code, please pull the latest version

[NeMo W 2024-10-22 21:16:05 nemo_logging:349] /home/syt/anaconda3/envs/whisperX/lib/python3.10/site-packages/pyannote/audio/utils/reproducibility.py:74: ReproducibilityWarning: TensorFloat-32 (TF32) has been disabled as it might lead to reproducibility issues and lower accuracy.
It can be re-enabled by calling
>>> import torch
>>> torch.backends.cuda.matmul.allow_tf32 = True
>>> torch.backends.cudnn.allow_tf32 = True
See https://github.com/pyannote/pyannote-audio/issues/1370 for more details.
  warnings.warn(

Could not load library libcudnn_ops_infer.so.8. Error: libcudnn_ops_infer.so.8: cannot open shared object file: No such file or directory
When I update it, and make a new python environment, but a new issue is coming

urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /MahmoudAshraf/mms-300m-1130-forced-aligner/resolve/main/config.json (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1007)')))
And some old version of the code make a new wrong of it。

You need to use torch<2.4

you need to use a combo of one of these:
[ctranslate2<4.5,torch<2.4] or [ctranslate2>=4.5,torch>=2.4]
any other version will not be compatible

I'm having the same error.

I would really appreciate if you could help me with this issue. I was using this library for a project in my company and now we cannot install it and make it work in production.

@gor2000 if it's looking for libcudnn_ops_infer.so.8 then you are using ctranslate2<4.5.0, in that case downgrade torch to 2.3.*
also you need to add CUDA libraries to your PATH by adding this to your bashrc or whatever method you find suitable:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`python3 -c 'import os;import tensorrt_libs; import nvidia.cuda_runtime.lib; import nvidia.cuda_cupti.lib; import nvidia.cuda_nvcc.lib; import nvidia.cuda_nvrtc.lib; import nvidia.cudnn.lib; import nvidia.cublas.lib; import nvidia.cufft.lib; import nvidia.curand.lib; import nvidia.cusolver.lib; import nvidia.cusparse.lib; print(f"{os.path.dirname(nvidia.cudnn.lib.__file__)}:{os.path.dirname(nvidia.cublas.lib.__file__)}:{os.path.dirname(nvidia.cufft.lib.__file__)}:{os.path.dirname(nvidia.curand.lib.__file__)}:{os.path.dirname(nvidia.cusolver.lib.__file__)}:{os.path.dirname(nvidia.cusparse.lib.__file__)}:{os.path.dirname(nvidia.cuda_runtime.lib.__file__)}:{os.path.dirname(nvidia.cuda_cupti.lib.__file__)}:{os.path.dirname(nvidia.cuda_nvcc.lib.__file__)}:{os.path.dirname(nvidia.cuda_nvrtc.lib.__file__)}:{os.path.dirname(tensorrt_libs.__file__)}")'`

Hi @MahmoudAshraf97. I could solve it in WSL Ubuntu. However, when I try to replicate it using dockers it gives me a similar error:

I'm using this image: FROM pytorch/pytorch:2.4.1-cuda12.4-cudnn9-runtime

torch==2.4.1+cu124
ctranslate2==4.5.0

If I try to export the line you mentioned before I got this:

I've worked with nvidia and cuda and I don't know why it only works in my machine/server, but I've not been able to make it work using Docker. I've also tried with this: images but it did not work as well.

This is because you didn't add the libcudnn_ops.so.9.1.0 to your path, you can use command below
export LD_LIBRARY_PATH = $LD_LIBRARY_PATH:/path/to/you

then you can wirte it to .bashrc


Optimal control results should include the final cost achieved

The the optimal control module (ct.optimal), it would be useful if the functions that compute an optimal trajectory returned the cost associated with the final trajectory that is returned, so that it doesn't have to be recomputed.  (Perhaps also a function to compute the cost along a curve according to an arbitrary cost function.)

Is there currently an option to return the value of the cost associated to a final trajectory given a time horizon?

The return object from ct.optimal.solve_ocp is a OptimizeResult object, so result.fun will get you the value of the function.  Whoever handles this enhancement should change that to be something more meaningful (eg, result.cost as a property that maps to result.fun).

FYI, I have added this to an upcoming PR.

FYI, I have added this to an upcoming PR.

That sounds really useful. Hope that it gets added soon!


Reset database

For testing purposes, I need to reset the values set by ImmortalDB. Currently I am doing the following to achieve this, but it would be great if the library offered this functionality:
const clearStorage = () => Promise.all(
  Object.keys(localStorage)
    .filter(key => key.startsWith('_immortal'))
    .map(key => ImmortalDB.remove(key.replace('_immortal|', '')))
);

localStorage offers this functionality as localStorage.clear()

This is tricky.
ImmortalDB strives to remain agnostic of the underlying key:value storage
implementations. As such, it's not currently a requirement that underlying
key:value stores provide method(s) to iterate through keys, a requirement to
implement a clear() method.
For example, imagine you added a custom RemoteNetworkStore to ImmortalDB
that connects to a remote key:value store over a WebSocket. That remote
key:value store might have millions of keys, a la DynamoDB, and not have an
efficient mechanism to iterate through all keys.
We need to thoughtfully consider whether key iteration should be a requirement
for storage implementations.
I'll ruminate on this.

@gruns First off, I just discovered this library. It's quite clever, thanks for writing it!

As such, it's not currently a requirement that underlying key:value stores provide method(s) to iterate through keys

What if you make a requirement for all stores to provide a clear() method, but also have the convention that it can return false meaning that it does not implement that functionality. ImmortalDB could log a warning or something - since the main use case for this would be testing / development and not production.
Win/Win I think :)

What if you make a requirement for all stores to provide a clear() method, but
also have the convention that it can return false meaning that it does not
implement that functionality.

Quite reasonable. I rather like it.
Throwing a NotImplementedError (or similar) exception is better expected
behavior than returning false.
In scenarios where the majority of stores don't implement clear(), one could
call clear() and then get() and the get() would succeed. Which would be
confusing. This is, of course, an unrealistic scenario, but nonetheless entirely
possible.
Another interesting tidbit: to implement clear(), iteration is required. And
when iteration is provided, keys(), values(), and entries() are also
trivially added.


core_theme now only affects whether standard css is loaded

core_theme now only affects whether standard css is loaded (no more effect on js). This is also a bugfix (before, supplying page() with core_theme = false resulted in a julia compilation error). This PR is just a suggestion, please let me know if working like this doesn't make sense (I am new)
#115
#156

Thank you @jochenkrattenmacher
I had not looked into this PR, so sorry!
I had just fixed the same issue myself when I came across the same problem. But I had not seen the requirements in deps_routes, which luckily you found.
So your PR ends up in fixing the two remaining lines...
Thanks again.


using a class from another file in the initial context causes SyntaxError: Unexpected token

I have an example branch here: https://github.com/redappleorigin/xstate-codegen/tree/imported-class-syntax-error
It is forked off of<EMAIL_ADDRESS>I added a new folder and file to examples 'models/example.model.ts' and modified fetchMachine.machine.ts so that it specifies an initialContext with one of the properties being new ExampleModel(). This causes a SyntaxError: Unexpected token 'export'

The interface referencing the imported class is fine and does not throw an error. It seems that trying to instantiate my ExampleModel class anywhere in the machine file will cause that SyntaxError.

I'm using node v14.2.0 on a windows 10 machine.

@redappleorigin I'm off on holiday today, so this fix might have to wait a few days. @Andarist would you know a reason why importing a class might mess with the extractMachines rollup config?

@redappleorigin Do you have a local babel config in the dir where you're running the codegen tool?

@mattpocock no sir

Did the example I provided have the same issue for you?

Just curious if maybe it is my machine somehow.

I'm running into this issue as well

@Andarist I don't suppose you have a bleeding edge branch I could work off, would you?

@redappleorigin back from hols, so will have a look at your example tomorrow. Agree with @Andarist that this is odd.

In my case it has to do with an importet enum. As soon as I import it from another file rather than declare it in the same module where it is being used the SyntaxError: Unexpected token 'export' error shows up.

It's because the configuration for external that is passed to rollup isn't working correctly. It's marking files that start with a forward slash (/) as external when they're not.

@rjdestigter would this work?
// Tests for '.' or '/' at the start of a string
const internalRegex = /^(\.|\/)/;
external: (id) => !internalRegex.test(id),

@mattpocock in my case I am on windows, so a slight change was required:
// Tests for '.', '/', or some drive letter followed immediately by a ':' at the start of a string
const internalRegex = /^(\.|\/|\w:)/.test(id);
external: (id) => !internalRegex.test(id),

Released under 0.1.0-next.8


marxan 345 add feature class name aliases filters

Substitute this line for a meaningful title for your changes
Overview
Allow user to add a q query parameter to filter by featureClassName and alias
Designs
Link to the related design prototypes (if applicable)
Testing instructions
Feature relevant tickets
Link to the related task manager tickets

Checklist before submitting

[ ] Meaningful commits and code rebased on develop.
[ ] If this PR adds feature that should be tested for regressions when
deploying to staging/production, please add brief testing instructions
to the deploy checklist (docs/deployment-checklist.md)
[ ] Update CHANGELOG file

@alexeh I'm taking the liberty to move here the conversation you started in the project channel:

I'd like to to do something like this:
@Get(':projectId/features')
  async findAllGeoFeaturesForProject(
    @ProcessFetchSpecification() fetchSpecification: FetchSpecification,
    @Param() params: { projectId: string },
    @Query('q') queries: { featureAliasFilter: string },
  ): Promise<GeoFeatureResult> {
    const results = await this.geoFeaturesService.findAllPaginated(
      fetchSpecification,
      { params, queries },
    );
    return this.geoFeaturesService.serialize(results.data, results.metadata);
 }

But this is not possible due to typing, and it will need to either update nestjs-base-service or add a new type, which not sure if > worth the trouble. Thoughts?

So, firstly - what is the intent here? I think we should handle the legacy of the InfoDTO that was bestowed upon us by wise elders and adapt it to our needs (or discard it if not useful). My guess of the general intent is that it would have been used for endpoint or module-specific params and "other stuff", rather than things like FetchSpecification which are common to most endpoints.
I think we may need a few more of these "partial match over one or more fields" parameters in this project, but I'd wait until we need it at least a second time in practice to make it into a common pattern.
Said that, I think this should work:
  @Get(':projectId/features')
  async findAllGeoFeaturesForProject(
    @ProcessFetchSpecification() fetchSpecification: FetchSpecification,
    @Param() params: { projectId: string; featureClassAndAliasFilter?: string },
    @Query() featureClassAndAliasFilter: { q: string},
  ): Promise<GeoFeatureResult> {
    /**
     * @debt Add proper typing in nestjs-base-service to allow adding query parameters in InfoDTO
     */

    params.featureClassAndAliasFilter = featureClassAndAliasFilter.q;
    const results = await this.geoFeaturesService.findAllPaginated(
      fetchSpecification,
      { params },
    );

    return this.geoFeaturesService.serialize(results.data, results.metadata);
  }

Or you can extend AppInfoDTO via type intersection (e.g. export type AppInfoDTO = InfoDTO<User> & { otherStuff: ... };), but I'd go here later, if we want to have a common property for this kind of usage - but then, we should probably try to move it to nestjs-base-service, I suppose.


[Bug]: Connection timeout information optimization

ODC version
4.2.1
OB version
all
What happened?
When testing the connection, it is not appropriate to judge that the host is unreachable based on the socket timeout：

What did you expect to happen?
Optimize query information and prompt users to the real reason for test connection failure
How can we reproduce it (as minimally and precisely as possible)?
jdbc connection timeout
Anything else we need to know?
Issues encountered by public cloud customers
Cloud
No response

The error message is as expected


[WIP] Start a single server in a domain

Starts a single server in a domain.
Adds the start button.

@miq-bot add_label WIP

@miq-bot add_label wip

Not ready to do that.


How to Build a digital Clock with only HTML, CSS, and JavaScript

We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner. Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for an articles to be reviewed and/or published.
Be sure to visit our Resources Page for tools, resources, and example articles to go over.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
NOTE: We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
We're looking for the first 2-3 paragraphs of the article that appropriately summarize what your article will be about.
Proposed title of article
Your title should be descriptive of the article/tutorial. Be Specific. Use keyword research to gain your article higher ranking.
Introduction paragraph (2-3 paragraphs):
Please write the Introductory paragraph(s), that would be included in your article. We will use this writing snippet to help us assess overall quality before approval. We're looking for the first 2-3 paragraphs of the article that appropriately summarize what your article will be about.
Take your time and write the content as you would intend to get it published.
Key takeaways:
What are the 3-5 most important things the reader should understand or be able to do after reading this article? Use this area to get your ideas down on the bulk of your article or tutorial.
References:
Please list links to any published content/research that you intend to use to support/guide this article.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Proposed title of article
How to build a digital clock with only HTML, CSS, and JavaScript
Introduction
The web made almost everything possible, and the emergence of JavaScript as the programming language of the web enables us to see our code live as they appear on the web and give us the ability to interact with web content. This article seeks to use this feature of the web to build a digital clock that runs on the web using web-based technologies such as HTML, CSS, and JavaScript.
Key takeaways:
By the end of this article, readers should be able to

Know how to declare JavaScript function
Know how to use JavaScript setInterval method
Know how to use JavaScript Date class and its methods
Know how to use JavaScript ternary operator
Understand JavaScript function call
Create a project they can add to their portfolio

References
N/A

@WanjaMIKE, the currently posted Section article is very light on detail and reads more of provided code snippets rather than explaining how the code works which this article proposes to do (as well as a slightly different tech stack). I think this would provide more value to readers though the topic idea itself isn't unique.

Okay @louisefindlay23

@Frank-dev20 Topic approved. Let's ensure that it adds value to the community. Thanks

@WanjaMIKE  article submitted for review. I await your wonderful comment.


Arabic source rewayat club

Source name
rewayat club
Source link
https://rewayat.club/
Language
Arabic
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

Duplicate of #78


Farm name filter should accept more characters

The farm name filter rejects names with special characters, but some special characters are legal in farm names:

This input field should accept all characters that can appear in farm names (I'm not sure which those are).

Fixed in explorer farms PR

Fixed in explorer farms PR

https://github.com/threefoldtech/tfgrid-sdk-ts/pull/1240

Verified,

Devnet
6d0ec3d
TC2274 - Filter Farms by Farm Name

The farm name Filters accept special char in its validation.

verified:

Devnet
000eea2


Each language in index.html language list is in its mother tongue

I think it is better that the items in the language list (available in the index pages) are each written in their own language. In this way it is easier for a non-English speaker to change language.

Thanks. This makes sense.


Can't get comments

Full error:
Traceback (most recent call last):
  File "C:\Users\-------\Documents\Scratchattach\testing commenta.py", line 5, in <module>
    current = project.comments(limit=5, offset=0)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\-------\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\scratchattach\project.py", line 294, in comments
    comments = comments + r
               ~~~~~~~~~^~~
TypeError: can only concatenate list (not "dict") to list

I connected to project and logged in, what's happening?
EDIT: Here's the code:
import scratchattach as scratch3
session = scratch3.login("disnottaken_alt", password removed by TimMcCool)
project =  session.connect_project("996647443")

current = project.comments(limit=5, offset=0)
print(current) #should work?

pls don't share password

might be a bug, I'll look into it

Yeah it's a bug that happens when you try to get the comments of an unshared project. Will be fixed. Sorry.

the bug should be fixed in an update that I'm about to release (didn't test it tho). Please tell me if the problem still happens

pls don't share password

Omg yeah i just noticed


deploy: add cephfs/CSIDriver and cephfs/csi-config-map to API

Move cephfs/csidriver and cephfs/csi-config-map to API
updates:  https://issues.redhat.com/browse/RHSTOR-4539

Move cephfs/csidriver and cephfs/csi-config-map to API
updates: https://issues.redhat.com/browse/RHSTOR-4539

@riya-singhal31
That is downstream link.
Please open an upstream issue with appropriate description and link that here.

Move cephfs/csidriver and cephfs/csi-config-map to API
updates: https://issues.redhat.com/browse/RHSTOR-4539

@riya-singhal31 That is downstream link. Please open an upstream issue with appropriate description and link that here.

Thanks Rakshith, updated.


CopyToStreamingAssets() called twice in a row?

In version v1.10.20 Unity integration package CopyToStreamingAssets() is called twice in a row when invoked via EventManager.Update. Once in OnCacheCange at the end of the method and again right after that in Update.
Also in EventManager.CopyToStreamingAssets in the last iteration loop you call AssetDatabase.SaveAssets every loop. Is that necessary? Can you not call it at the end of the loop?
This along with how often this method is invoked via Update is slowing down iteration time when working in the editor. It is invoked entering play mode or recompiling scripts when none of the FMOD bank assets have changed.

We have changes for these in 2.0 that can be used as a guide for manually modifying other versions.
https://github.com/fmod/UnityIntegration/blob/master/Assets/Plugins/FMOD/src/Editor/EventManager.cs


Add catsarch.com instances

Hi!
Sorry if this isn't the right place for this, I did see the instruction to edit services-full.json but I don't use Github for much so I'm slightly lost on what to do there (and if I should be doing something like a pull request for that?) so I figured I'd just ask here instead of guessing and/or creating needless requests.
Currently my Nitter and BreezeWiki instances show up (https://nitter.catsarch.com, https://breezewiki.catsarch.com) but I was wondering if my other hosted instances could be added:
Rimgo: https://rimgo.catsarch.com
Quetre: https://quetre.catsarch.com
libremdb: https://libremdb.catsarch.com

Thanks for letting me know about these, I just added them!


CLOUD-49049 Wrong JPA relation between HostGroup and InstanceGroup

@doktoric plz review

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1867/


Update styling for Symptoms Check for Desktop

[ ] Update current Symptoms Check UI's styling for desktop.

Refer to the latest design in FIGMA under Desktop App MVP.
https://www.figma.com/file/4cV84H1jyMo0rJEAl3HNnJ/FightPandemics-landing-page?node-id=1377%3A8027

[ ]  Designs need to be pixel perfect

Hi, I've created a new branch to address this issue. feature/175symptomscheckstyling

@anniegiang @robinv85 @manualzuru   Since the symptoms check relies on the step wizard, I am not sure if what we want is to style differently the step wizard for the symptoms check or change the styles for the step wizzard itselves and therefore apply that styling in other parts that rely on it as the need help part.
In other words, should I modify the styles directly in the stepwizard's components or overwrite the styling, without the wizard's component being modified, via styled(stepwizardcomponent)``?

@agmaal1 Thanks for starting on this!

@anniegiang @robinv85  I've styled step 1 and 2. Could you take a look to the changes in the branch before proceed with the rest of the steps?
As we agreed, I'm doing it without overwriting the wizards components, but I'm not sure it that's the best way since leads to a lot of code repetition. Wouldn't be better to change directly in the wizard components styles to make them able to change depending on props? I mean this way:
implementing styles:
export const SCAnswerButton = styled(AnswerButton)
height: ${(props) => props.height?.mb ?? "5rem"}
@media screen and (min-width: ${mq.tablet.narrow.minWidth}) {
font-size: ${(props) => props.height?.dkt ?? "8rem"};
}
applying custom styles: <SCAnswerButton height={{mb:'5rem', dkt:'8.5rem'}}>Button content</SCAnswerButton />
I'm doing it inside the Symptoms check to avoid repetition, but wouldn't be better to do it directly over the wizard's components?


Add service_checks.json files validation

What does this PR do?
See title
Motivation
Automation 🎉
Review checklist

[ ] PR has a meaningful title or PR has the no-changelog label attached
[ ] Feature or bugfix has tests
[ ] Git history is clean
[ ] If PR impacts documentation, docs team has been notified or an issue has been opened on the documentation repo

Additional Notes
Anything else we should know when reviewing?

Codecov Report

Merging #2432 into master will decrease coverage by 6.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2432      +/-   ##
==========================================
- Coverage    83.9%   77.86%   -6.04%
==========================================
  Files         581       21     -560
  Lines       34346      610   -33736
  Branches     4175       65    -4110
==========================================
- Hits        28819      475   -28344
+ Misses       4273      109    -4164
+ Partials     1254       26    -1228

LGTM, let's make flake8 happy


⚠ St. Lawrence Global Observatory CKAN Sitemap has degraded performance

In f202086, St. Lawrence Global Observatory CKAN Sitemap (https://catalogue.ogsl.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 6827 ms

Resolved: St. Lawrence Global Observatory CKAN Sitemap performance has improved in d4fcdf5 after 13 minutes.


chore(update) update to AppVersion 0.34.0

Signed-off-by: Daniel Werdermann<EMAIL_ADDRESS>
What this PR does / why we need it:

update flux version to 0.34.0

Which issue this PR fixes

close #122

Special notes for your reviewer:
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] helm-docs are updated
[x] Helm chart is tested
[x] Update artifacthub.io/changes in Chart.yaml
[x] Run make reviewable

Hi, somehow outdated CRDs were installed with this PR: https://github.com/fluxcd-community/helm-charts/issues/129


Update 1.1-compare-and-contrast-different-types-of-social-engineering…

…-techniques.md

I appreciate the correction, and I am certain there are more typos and spelling errors on the other files.
This repository is just a very dirty draft where speed is much more important than accuracy. Everything gets corrected when writing the articles on the blog. As an example, the CEH repository that was used as a draft for these series of articles.
Feel free to fork the repository if you consider it useful, I want to return to the project but sometimes life happens, and there is no concrete date for it.


Offer to push up local branches in PR creation flow

Similar to how we offer to push up local commits, but branches as well.

This feature already exists, but we don't offer to create a fork, so I'm going to repurpose this issue to track that


create_test_acc_csv() errors out for some Nmin values

create_test_acc_csv() is failing whenever Nmin is such that one of the sleep blocks starts just before the end of the recording but doesn't end within the recording. Same issue for non-wear periods and activity periods.
For instance, create_test_acc_csv(Nmin = 3000) is attempting to create a non-wear block that runs past the end of the recording, resulting in an error:

GGIR::create_test_acc_csv(Nmin = 3000)
Error in [<-(tmp, nw3, 1, value = accx) : subscript out of bounds

And this example creates a too-long last activity block:

GGIR::create_test_acc_csv(Nmin = 2311)
Error in testdata[, 1] <- testdata[, 1] + ACC :  number of items to replace is not a multiple of replacement length

And this ends up with an error because of a too-long last sleep block:

GGIR::create_test_acc_csv(Nmin = 2309)
Error in [<-(*tmp*, sleep_periods, 1, value = accx + round(rnorm(n = length(sleep_periods),  :  subscript out of bounds

The problem is that while create_test_acc_csv() is making sure that sleep/non-wear/activity blocks start within the recording period, it isn't making sure that these blocks also end within the recording period.
I sent in a pull request: https://github.com/wadpac/GGIR/pull/410
In there, I modified create_test_acc_csv.R to test various Nmin values that lead to errors.
I also provided a fix for the issue; I think it works. The fix ensures that no sleep block (or non-wear block, or activity block) ends after the end of the recording. If a block is too long to fully fit within a recording, it gets truncated.

Thank you, nice solution! I have now merged the pull request and will close this issue.


Allow users to fold & expand imports

Currently all versions of vscode does not have the ability to fold imports in typescript files.
It would make the code look much cleaner if the editor allows the ability to fold/expand the imports in languages such as typescript & java

duplicate of #3422


ImportError: cannot import name 'iter_sections' from 'neurom.core'

Hi,
I am running into an issue of importing the package after successful installation. My python version is 3.7, and I installed brainrender via "pip install brainrender". Then I tried to use it by calling "from brainrender import Scene" in the terminal, it shows the following error:
from brainrender import Scene
Error in sys.excepthook:
Traceback (most recent call last):
File "//anaconda3/envs/allensdk/lib/python3.7/site-packages/pyinspect/exceptions.py", line 146, in excepthook
emanager.render_error()
File "//anaconda3/envs/allensdk/lib/python3.7/site-packages/pyinspect/exceptions.py", line 83, in render_error
relevant_only=self.relevant_only,
File "//anaconda3/envs/allensdk/lib/python3.7/site-packages/pyinspect/_exceptions.py", line 291, in inspect_traceback
eline = read_single_line(fpath, f.f_lineno - 1)
File "//anaconda3/envs/allensdk/lib/python3.7/site-packages/pyinspect/utils.py", line 136, in read_single_line
"When reading a single line from file: the file doesnt exist!"
FileExistsError: When reading a single line from file: the file doesnt exist!
Original exception was:
Traceback (most recent call last):
File "", line 1, in
File "//anaconda3/envs/allensdk/lib/python3.7/site-packages/brainrender/init.py", line 12, in
from brainrender.scene import Scene
File "//anaconda3/envs/allensdk/lib/python3.7/site-packages/brainrender/scene.py", line 19, in
from brainrender.actors import Volume
File "//anaconda3/envs/allensdk/lib/python3.7/site-packages/brainrender/actors/init.py", line 3, in
from brainrender.actors.neurons import Neuron, make_neurons
File "//anaconda3/envs/allensdk/lib/python3.7/site-packages/brainrender/actors/neurons.py", line 2, in
from morphapi.morphology.morphology import Neuron as MorphoNeuron
File "//anaconda3/envs/allensdk/lib/python3.7/site-packages/morphapi/morphology/morphology.py", line 11, in
from neurom.core import iter_sections
ImportError: cannot import name 'iter_sections' from 'neurom.core' (//anaconda3/envs/allensdk/lib/python3.7/site-packages/neurom/core/init.py)
Thank you for your attention!

Hi,
Thanks for giving brainrender a shot. It seem that the issue might be with the version of neurom package. I have tested up to version 1.4.20 and it worked fine, which version are you using?

Hi Federico,
Thanks for the info! I was using the latest version 2.1.0 of neurom. Now I downgraded it to 1.4.20 and it works. It seems that the new version is not compatible.

Hi, this seems unrelated to the original issue. What version of vedo and vtk are you running?

Hi,
Thanks for the quick reply! I am running vedo 2021.0.3 and vtk 9.0.1.

Hi,
It looks like the newer versions of vedo don't have the offscreen argument when calling the show function which creates the interactive rendering: https://github.com/marcomusy/vedo/blob/fd4f9aa58ac7739c61ff7bcf52bd6fcdd3443e3b/vedo/plotter.py#L1799
The simplest fix is to downgrade it with pip install vedo==2021.0.2, that should resolve the problem

Hi,
Thanks a lot! It works well with vedo 2021.0.2.

@FedeClaudi Indeed this keyword was moved to the init of the Plotter class. So instead of
plt = vedo.Plotter()
# ...
plt.show(offscreen=True)

you should have
plt = vedo.Plotter(offscreen=True)
# ...
plt.show()


[tests] skip core-dump test on xpu

Summary
Some tests cause a core dump on XPU. We are fixing this. But for now, let's skip it for XPU CI.
Below are the test results with "make test" on XPU after the skip:
======================================================== 738 passed, 223 skipped, 42 warnings in 70.34s (0:01:10) =========================================================

Hardware Type: Intel(R) Data Center GPU Max 1550
[x] run make test to ensure correctness
[x] run make checkstyle to ensure code style
[x] run make test-convergence to ensure convergence

@yao-matrix


OCM-7255 | feat: Edit machinepool refactored to use new runner

https://issues.redhat.com/browse/OCM-7255

/rerun

lgtm

/approve


@font-face

If you have multiple @font-face declarations, they will be merged into one and will stop functioning.
This;
@font-face {
    font-family: myFirstFont;
    src: url(sansation_light.woff);
}
@font-face {
    font-family: mySecondFont;
    src: url(sansation.woff);
}

Will be converted into this;
@font-face
  font-family myFirstFont
  src url(sansation_light.woff)
  font-family mySecondFont
  src url(sansation.woff)

Meaning that myFirstFont will not be declared once the Stylus is converted back into CSS again.

need to address this on a special case. TODO


allow client code to set "messageId"

I described an issue I'm having here: https://segment.forumbee.com/t/x18slj/can-you-add-a-unique-string-onto-api-calls-in-order-to-avoid-duplicates.
But the gist of it for analytics.js is this: can my client code explicitly tell analytics.js what "messageId" to set on messages sent to segment? Would that be an acceptable feature?
(I think it would solve the problem I described on forumbee: when a server-side event happens, I'd set a messageId for it server-side too. That way, when it comes time to communicate that event to segment client-side, I know that even if the user somehow sends in multiple simultaneous requests, and the client-side js attempts to send that single real event to segment multiple times, segment will see they all have the same messageId, and so only use the first.)

It would technically be possible, but I'm not sure its the right solution for the problem. Partly because the messageId field is ignored by most client side integrations and they would still process the message twice.
The root of the problem seems to be:

the page visited after the action is a redirection, we wait until we have a normal page where we can execute the segment.js before wiping the cookie data; this way we don't accidentally skip any track call

I think the correct fix within the library would be be to build some persistent queuing, either at the analytics.js level or the segment integration (the latter stills presents the problem for bundled client side integrations). This way you can safely make track calls during a redirect.
Otherwise there are a few solutions you can implement your end as well:

I think your current setup is reasonable (I would be surprised if it caused significant number of duplicates to cause any worry), and guarantees at least once delivery. And if this is a unique action for every user (i.e. happens only once for a single user, e.g. Signed Up), then you could dedupe in tools (e.g. SQL) using a unique userId, event combination.

Alternatively, you could either set a timeout after making the segment call and when the timeout completes, you can invoke the redirect (rather than invoking the redirect right away). This won't guarantee at least once delivery, but will improve your chances significantly. Even a 1 second timeout should increase your chances to >99.99%. And it will guarantee at most once delivery.

Lastly you can track the event on your server right when it processes the login or before redirecting. This will have close to perfect rate of delivery. I'd recommend tracking the event on the server if you need it to be ~100% reliable, given  the volatile nature of client side tracking. e.g. in your case the user could close the tab during redirect and never come back, and you'd lose the post redirect event. But if you tracked it server side, your server can ensure it gets delivered to Segment.

thanks for the reply @f2prateek!

I think the correct fix within the library would be be to build some persistent queuing, either at the analytics.js level or the segment integration (the latter stills presents the problem for bundled client side integrations). This way you can safely make track calls during a redirect.

I don't exactly understand.
I want to double-check I'm clear about the current setup:

user submits a form that performs some action
in the server-side PHP code, we set a cookie so we remember what action was done. Then we sent a 302 HTTP response which redirects them to another page
while rendering the other page, the PHP sees the cookie that was set previously, and so echoes out the JS to the page for tracking the event
the JS sends the track message to segment/whatever else
once all those are done, we also sends a separate AJAX request to OUR server to request that the cookie be cleared. This way (we thought) there wouldnt send any more segment tracking requests

And so the problem we seem to sometimes have is that while step 4 is happening (we just sent the tracking request to segment in the JS, but have an AJAX request to our own server to clear the cookie) another page gets loaded (step 3 and then 4 again, but in a separate tab).
So before the 1st page gets to step 5, which unsets the cookie, both pages have gone through step 4, sending the segment tracking requests.
So I've tried an implementation which swaps steps 4 and 5: so before we send segment tracking data, we clear the cookie which indicates we need to send tracking data. Also, we only send segment tracking data if the ajax request to ourselves successfully cleared the cookie; if the cookie was already cleared (by a previous ajax request), we then DON'T send the segment tracking data.
So far this modified approach seems to be working: no duplicate segment tracking requests being sent. And it doesn't need modifications to analytics.js, or gutting our current implementation and switching it to all server-side tracking


docker-compose tooling fails on Mac using docker-machine

The docker-compose tooling does not work on Mac if docker-machine (with VirtualBox VM) is used as docker environment.
make quick-start fails and waits forever after
waiting until the controller recognizes a healthy invoker ...
Restarting openwhisk_controller_1 ...........................................

I think this is with the restart-controller step in the mail file. Looks like it is related to the invoker does not start and the controller does not find a working invoker. So the actual problem might have been occurred before. But the previous step init-couchdb did not log any error.
Errors from the invoker log:
[2017-06-15T13:06:18.470Z] [INFO] Slf4jLogger started
[2017-06-15T13:06:18.788Z] [INFO] [??] [Config] environment set value for db.whisk.actions
[2017-06-15T13:06:18.841Z] [INFO] [??] [Config] environment set value for db.protocol
[2017-06-15T13:06:18.842Z] [INFO] [??] [Config] environment set value for consulserver.host
[2017-06-15T13:06:18.846Z] [INFO] [??] [Config] environment set value for docker.image.prefix
[2017-06-15T13:06:18.850Z] [INFO] [??] [Config] environment set value for invoker.container.network
[2017-06-15T13:06:18.868Z] [INFO] [??] [Config] environment set value for whisk.version.date
[2017-06-15T13:06:18.869Z] [INFO] [??] [Config] environment set value for whisk.api.host.name
[2017-06-15T13:06:18.870Z] [INFO] [??] [Config] environment set value for db.port
[2017-06-15T13:06:18.876Z] [INFO] [??] [Config] environment set value for whisk.version.buildno
[2017-06-15T13:06:18.877Z] [INFO] [??] [Config] environment set value for db.username
[2017-06-15T13:06:18.888Z] [INFO] [??] [Config] environment set value for db.whisk.activations
[2017-06-15T13:06:18.896Z] [INFO] [??] [Config] environment set value for docker.registry
[2017-06-15T13:06:18.897Z] [INFO] [??] [Config] environment set value for db.whisk.auths
[2017-06-15T13:06:18.902Z] [INFO] [??] [Config] environment set value for whisk.logs.dir
[2017-06-15T13:06:18.911Z] [INFO] [??] [Config] environment set value for runtimes.manifest
[2017-06-15T13:06:18.918Z] [INFO] [??] [Config] environment set value for kafka.host.port
[2017-06-15T13:06:18.928Z] [INFO] [??] [Config] environment set value for consul.host.port4
[2017-06-15T13:06:18.931Z] [INFO] [??] [Config] environment set value for db.host
[2017-06-15T13:06:18.935Z] [INFO] [??] [Config] environment set value for port
[2017-06-15T13:06:18.950Z] [INFO] [??] [Config] environment set value for db.provider
[2017-06-15T13:06:18.953Z] [INFO] [??] [Config] environment set value for db.password
[2017-06-15T13:06:18.953Z] [INFO] [??] [Config] environment set value for kafka.host
[2017-06-15T13:06:18.954Z] [INFO] [??] [WhiskConfig] reading properties from consul at consul.docker:8500
[2017-06-15T13:06:26.949Z] [WARN] [??] [WhiskConfig] failed to read properties from consul: null
[2017-06-15T13:06:28.592Z] [INFO] [#sid_100] [Invoker] starting invoker instance 0 [marker:invoker_startup0_count:9831]
[2017-06-15T13:06:30.904Z] [INFO] [??] [ContainerPool] Not using runc because of configuration flag
[2017-06-15T13:06:30.913Z] [INFO] [??] [ContainerPool] dockerhost = localhost    serializeDockerOp = true   serializeDockerPull = true   useRunC = false
[2017-06-15T13:06:30.956Z] [INFO] [??] [ContainerPool] maxActive set to 8
[2017-06-15T13:06:30.969Z] [INFO] [#sid_101] [ContainerUtils] [marker:invoker_docker.ps_start:12240]
[2017-06-15T13:06:30.992Z] [INFO] [#sid_101] [SimpleExec] Running command: /usr/bin/docker ps --no-trunc -a
[2017-06-15T13:06:31.242Z] [INFO] [#sid_101] [SimpleExec] Done running command: /usr/bin/docker ps --no-trunc -a
[2017-06-15T13:06:31.244Z] [INFO] [#sid_101] [ContainerUtils] [marker:invoker_docker.ps_finish:12516:248]
[2017-06-15T13:06:31.255Z] [INFO] [??] [Invoker] using whisk.core.invoker.Invoker@76adb233
[2017-06-15T13:06:31.258Z] [INFO] [#sid_102] [ContainerPool] killStragglers now removing 2 leftover containers
[2017-06-15T13:06:31.276Z] [INFO] [#sid_102] [ContainerUtils] [marker:invoker_docker.unpause_start:12534]
[2017-06-15T13:06:31.289Z] [INFO] [#sid_102] [SimpleExec] Running command: /usr/bin/docker unpause wsk0_2_warmJsContainer_20170509T111848942Z
[2017-06-15T13:06:31.505Z] [INFO] [#sid_102] [SimpleExec] Done running command: /usr/bin/docker unpause wsk0_2_warmJsContainer_20170509T111848942Z
[2017-06-15T13:06:31.517Z] [ERROR] [#sid_102] [ContainerUtils] stdout:  stderr: Error response from daemon: Container 9a9e0b935a4f121325a69bc208830b55d7ccf4716398af1ab22a9bac90835c51 is not paused [marker:invoker_docker.unpause_error:12779:238]
[2017-06-15T13:06:31.526Z] [INFO] [#sid_102] [ContainerUtils] [marker:invoker_docker.rm_start:12781]
[2017-06-15T13:06:31.527Z] [INFO] [#sid_102] [SimpleExec] Running command: /usr/bin/docker rm -f wsk0_2_warmJsContainer_20170509T111848942Z
[2017-06-15T13:06:31.725Z] [INFO] [#sid_102] [SimpleExec] Done running command: /usr/bin/docker rm -f wsk0_2_warmJsContainer_20170509T111848942Z
[2017-06-15T13:06:31.725Z] [INFO] [#sid_102] [ContainerUtils] [marker:invoker_docker.rm_finish:13007:226]
[2017-06-15T13:06:31.732Z] [INFO] [#sid_102] [ContainerUtils] [marker:invoker_docker.unpause_start:13007]
[2017-06-15T13:06:31.737Z] [INFO] [#sid_102] [SimpleExec] Running command: /usr/bin/docker unpause wsk0_1_warmJsContainer_20170509T111848174Z
[2017-06-15T13:06:31.862Z] [INFO] [#sid_102] [SimpleExec] Done running command: /usr/bin/docker unpause wsk0_1_warmJsContainer_20170509T111848174Z
[2017-06-15T13:06:31.866Z] [ERROR] [#sid_102] [ContainerUtils] stdout:  stderr: Error response from daemon: Container cb9e2d5c2d95645f4efbd4cfd16c326f73d4a26fa18a4e4705bc39ce41534532 is not paused [marker:invoker_docker.unpause_error:13141:134]
[2017-06-15T13:06:31.868Z] [INFO] [#sid_102] [ContainerUtils] [marker:invoker_docker.rm_start:13141]
[2017-06-15T13:06:31.880Z] [INFO] [#sid_102] [SimpleExec] Running command: /usr/bin/docker rm -f wsk0_1_warmJsContainer_20170509T111848174Z
[2017-06-15T13:06:32.065Z] [INFO] [#sid_102] [SimpleExec] Done running command: /usr/bin/docker rm -f wsk0_1_warmJsContainer_20170509T111848174Z
[2017-06-15T13:06:32.090Z] [INFO] [#sid_102] [ContainerUtils] [marker:invoker_docker.rm_finish:13344:203]
[2017-06-15T13:06:32.094Z] [INFO] [#sid_102] [ContainerPool] killStragglers completed
[2017-06-15T13:06:32.887Z] [INFO] [#sid_101] [ContainerPool] Starting warm nodejs container
[2017-06-15T13:06:32.937Z] [INFO] [#sid_101] [ContainerUtils] [marker:invoker_docker.run_start:14181]
[2017-06-15T13:06:32.945Z] [INFO] [#sid_101] [SimpleExec] Running command: /usr/bin/docker run -e __OW_API_HOST=https://https://<IP_ADDRESS>:443 -e SERVICE_IGNORE=true --name wsk0_1_warmJsContainer_20170615T130632580Z -c 128 -m 256m --memory-swap 256m --cap-drop NET_RAW --cap-drop NET_ADMIN --ulimit nofile=1024:1024 --pids-limit 1024 --net openwhisk_default -d openwhisk/nodejs6action:latest
[2017-06-15T13:06:34.069Z] [INFO] [#sid_101] [SimpleExec] Done running command: /usr/bin/docker run -e __OW_API_HOST=https://https://<IP_ADDRESS>:443 -e SERVICE_IGNORE=true --name wsk0_1_warmJsContainer_20170615T130632580Z -c 128 -m 256m --memory-swap 256m --cap-drop NET_RAW --cap-drop NET_ADMIN --ulimit nofile=1024:1024 --pids-limit 1024 --net openwhisk_default -d openwhisk/nodejs6action:latest
[2017-06-15T13:06:34.070Z] [INFO] [#sid_101] [ContainerUtils] [marker:invoker_docker.run_finish:15348:1128]
[2017-06-15T13:06:34.213Z] [WARN] [#sid_101] [ContainerPool] Docker operation took 1307 milliseconds
[2017-06-15T13:06:34.228Z] [INFO] [#sid_101] [ContainerPool] Started warm nodejs container 1: 788ec76955f15c12d94231096c23ad3f7b23b393562b3f230a75e56fb7dca848
[2017-06-15T13:06:34.390Z] [INFO] [#sid_101] [ContainerPool] Starting warm nodejs container
[2017-06-15T13:06:34.409Z] [INFO] [#sid_101] [ContainerUtils] [marker:invoker_docker.run_start:15672]
[2017-06-15T13:06:34.410Z] [INFO] [#sid_101] [SimpleExec] Running command: /usr/bin/docker run -e __OW_API_HOST=https://https://<IP_ADDRESS>:443 -e SERVICE_IGNORE=true --name wsk0_2_warmJsContainer_20170615T130634389Z -c 128 -m 256m --memory-swap 256m --cap-drop NET_RAW --cap-drop NET_ADMIN --ulimit nofile=1024:1024 --pids-limit 1024 --net openwhisk_default -d openwhisk/nodejs6action:latest
[2017-06-15T13:06:35.562Z] [INFO] [#sid_101] [SimpleExec] Done running command: /usr/bin/docker run -e __OW_API_HOST=https://https://<IP_ADDRESS>:443 -e SERVICE_IGNORE=true --name wsk0_2_warmJsContainer_20170615T130634389Z -c 128 -m 256m --memory-swap 256m --cap-drop NET_RAW --cap-drop NET_ADMIN --ulimit nofile=1024:1024 --pids-limit 1024 --net openwhisk_default -d openwhisk/nodejs6action:latest
[2017-06-15T13:06:35.568Z] [INFO] [#sid_101] [ContainerUtils] [marker:invoker_docker.run_finish:16842:1170]
[2017-06-15T13:06:35.569Z] [WARN] [#sid_101] [ContainerPool] Docker operation took 1172 milliseconds
[2017-06-15T13:06:35.570Z] [INFO] [#sid_101] [ContainerPool] Started warm nodejs container 2: bf9821f61073011c2164366f60d73a067b5cd7cd68a38448faf980f1181dab32
[2017-06-15T13:06:36.764Z] [INFO] Bound to /<IP_ADDRESS>:8085
[2017-06-15T13:07:03.699Z] [ERROR] [??] [KafkaProducerConnector] sending message on topic 'health' failed: org.apache.kafka.common.errors.TimeoutException: Batch containing 1 record(s) expired due to timeout while requesting metadata from brokers for health-0
[2017-06-15T13:07:03.702Z] [ERROR] [??] [Invoker] failed to ping the controller: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.TimeoutException: Batch containing 1 record(s) expired due to timeout while requesting metadata from brokers for health-0
[2017-06-15T13:07:33.788Z] [ERROR] [??] [KafkaProducerConnector] sending message on topic 'health' failed: org.apache.kafka.common.errors.TimeoutException: Batch containing 1 record(s) expired due to timeout while requesting metadata from brokers for health-0
[2017-06-15T13:07:33.790Z] [ERROR] [??] [Invoker] failed to ping the controller: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.TimeoutException: Batch containing 1 record(s) expired due to timeout while requesting metadata from brokers for health-0

I'm not sure how this can be related to the used docker environment. But on the same Mac using Docker for Mac everything works well.

But on the same Mac using Docker for Mac everything works well.

@mhaack Docker for Mac is indeed the intent for docker-compose. I hope the entire OW project moves away from the docker VM setup soon.

FYI, I also only got it to run using Docker for Mac (and not individual docker/docker-machine/docker-conpose installed via Homebrew), so I created a PR to point that requirement out in the readme: #54

@mhaack I'm closing this issue as #54 points out the requirements.


img height attribute error

height-"60"=""

<img class="lazy loaded noselect" alt="Moon Rocks - Blueberry - Indica" data-src="https://images.xpx.com/products/000/043/509/avatar/large/1522863816-Moon_Rocks_-Grape.png" width="60" height-"60"="" src="https://images.xpx.com/products/000/043/509/avatar/large/1522863816-Moon_Rocks-_Grape.png" data-was-processed="true" draggable="false">

My bad, it was an issue on my side!


GPT4

Please provide us with the following information:

This issue is for a: (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

change bicep and env file and set model to gpt4

Any log messages given by the failure

model not supported

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful
Is GPT-4 not supported? We implemented the solution with gpt-4 instead of gpt 3.5 turbo. But unfortunately it is not supported (we get an error message in the thought process). Is that correct or are we missing something?

Thanks! We'll be in touch soon.

This sample deploys gpt3.5-turbo. Since you've already implemented a solution, I assume you already have access to GPT-4 through. To change which model gets deployed, you can change the model name in the bicep file.
https://github.com/Azure-Samples/azure-search-openai-demo-csharp/blob/b14d971be1a9305ad9c76351967138d9f132ef74/infra/main.bicep#L25
Depending on the region, which version you use and is available to you may differ. Here's the list of versions and available regions
You can change the version here.
https://github.com/Azure-Samples/azure-search-openai-demo-csharp/blob/b14d971be1a9305ad9c76351967138d9f132ef74/infra/main.bicep#L300

I already changed it as you described it, but it still does not work. I got the follwoing error message:

Are you using the latest version of the app in the main branch?
I believe you're seeing that error because you're using the text completions API which doesn't work with GPT-4. In recent updates to the app we removed text completions in favor of the chat completions API.

The Chat Completion API is a new dedicated API for interacting with the GPT-35-Turbo and GPT-4 models. This API is the preferred method for accessing these models. It is also the only way to access the new GPT-4 models.

https://learn.microsoft.com/azure/ai-services/openai/how-to/chatgpt?pivots=programming-language-chat-completions

Marking issue as complete. Backend and infra have been updated to allow for GPT-4 use.


Layout. "Invariant Violation: processUpdates()" error when layout's child presence is changed

I'm using<EMAIL_ADDRESS>and patched version of material.js and material.css according to React-MDL requirements, not material-design-lite counter parts, because I'm aware of issue #1356.
Layout component has two children: Header and div.footer. Initially div.footer is visible and rendered as direct child of Layout component. Then, when state isFooterVisible changes, div.footer will not be rendered at all during next cycle.
renderFooter(){
  if (!this.state.isFooterVisible) return null;

  return (
    <div className="Layout-footer">
      <Button onClick={this.toggleFooter}>Hide Footer</Button>
    </div>
  );
}

render(){
  return (
    <Layout fixedHeader>
      {this.renderHeader()}
      {this.renderFooter()}
    </Layout>
  );
}

Given that, when isFooterVisible becomes false, React fails at reconcile phase with following error.

Uncaught Invariant Violation: processUpdates(): Unable to find child 1 of element. This probably means the DOM was unexpectedly mutated (e.g., by the browser), usually due to forgetting a <tbody> when using tables, nesting tags like <form>, <p>, or <a>, or using non-SVG elements in an <svg> parent. Try inspecting the child nodes of the element with React ID .0

I created example repo, so you can reproduce the error. See https://github.com/samoshkin/react-mdl-layout-reconcile-issue

Thanks @samoshkin for the great bug report! I'll use your repo to help me find the root cause to this.

Thanks a lot @samoshkin for the bug repo. It helped me a lot having quickly a test example and work a fix on it.
I moved the button in the layout so I could easily toggle the footer.

A fix will follow soon :)
The fix is mostly inside the patched version of MDL. Instead of letting him creating a dom element for the  layout inner container, it's created by React. Thus it knows where the node is.

Wow, thanks a lot for fixing this. Looking forward for the next release :)

Released as 1.5.3 :)


Camulet menu entry swapper entries are incorrect

Type
Incorrect behavior
Operating System
None
OS Version
No response
Bug description
The camulet's right-click options when equipped are Remove, Check, Temple, and Surface. The swap shift-click menu has the entries Check and Teleport.
Screenshots or videos

RuneLite version
<IP_ADDRESS>
2.4.2
Logs
No response

duplicate of #15150


making changes with travis bot for testing env

@Ali-Razmjoo : adding pytest and codecoverage package and made requirements-dev.txt for testing environment so that user won't have to run the tests.
problem is that once we update requirements.txt ,then we need to keep in mind to update requirements-dev.txt also or maybe we can remove requirements-dev and add pytest and codecov to requirements.txt ! please give a review for this

what's the purpose? 🤔

purpose is we need pytest and codecov for testing.
should we create new requirments-dev.txt or just add the package in requirements.txt?

nah you are right I will merge it once if fixed CI...

thanks for this, I merged #57 instead.


Install problems (py2)

Expected behaviour: In a clean python 2 environment with a clean pip cache etc., calling pip install pyopenworm should install pyopenworm without error.
Actual behaviour: All is fine until
Collecting FuXi (from pyopenworm)
  Downloading FuXi-1.0-rc.dev.tar.gz (95kB)
    100% |████████████████████████████████| 102kB 5.3MB/s
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-gwQrf1/FuXi/setup.py", line 1, in <module>
        import ez_setup
    ImportError: No module named ez_setup

Steps to reproduce behaviour:
rm -r ~/.cache/pip/*  # clear the pip cache
conda create -n pyopenworm2 python=2.7  # create an empty conda environment
source activate pyopenworm2  # activate the conda environment
pip install pyopenworm

The clean conda environment has a pip freeze looking like this:
autopep8==1.2.1
backports.shutil-get-terminal-size==1.0.0
cycler==0.9.0
decorator==4.0.11
enum34==1.1.6
ipython==5.1.0
ipython-genutils==0.1.0
nose==1.3.7
path.py==8.1.2
pathlib2==2.2.0
pbr==1.8.1
pep8==1.6.2
pexpect==4.2.1
pickleshare==0.7.4
prompt-toolkit==1.0.9
ptyprocess==0.5.1
Pygments==2.1.3
pytz==2015.7
scandir==1.4
simplegeneric==0.8.1
six==1.10.0
stevedore==1.9.0
traitlets==4.3.1
virtualenv==13.1.2
virtualenv-clone==0.2.6
virtualenvwrapper==4.7.1
wcwidth==0.1.7

An issue which may or may not be related is that FuXi requires rdflib < 3a and the setup.py requires rdflib==4.1.2. This means that if rdflib is installed first, FuXi will overwrite it and things may work, but if rdflib is installed second, FuXi won't work.

By calling pip install ez_setup, I can avoid this error - so ez_setup should be added to the setup.py requirements.
However, I then get this one:
Processing dependencies for PyOpenWorm==0.6.0
    error: rdflib 4.1.2 is installed but rdflib<3a is required by set(['FuXi'])

    ----------------------------------------
Command "/home/cbarnes/anaconda3/envs/pow2_2/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-HhlbIo/pyopenworm/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-atJth_-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-HhlbIo/pyopenworm/

This issue is created by the fact that FuXi requires rdflib < 3a and the setup.py requires rdflib==4.1.2. This means that if rdflib is installed first, FuXi will overwrite it and things may work, but if rdflib is installed second, FuXi won't work.

I'm not well-versed in PyPI so I don't know how similar pip install and setup.py install are, but adding ez_setup helps.
However, yarom requires a modern version of rdflib and FuXi requires an ancient version of rdflib - there doesn't seem to be a way around that conflict.
error: rdflib 2.4.2 is installed but rdflib>=4.1.2 is required by set(['yarom'])

Is FuXi even maintained any more? The homepage link on PyPI is dead, the github repo claims to be obsolete and non-functioning, and points to a Google Code repo (google code having been retired a year ago), which is itself in archive state; and it's based on an rdflib 2 major versions ago. Is there another library which could be used instead?

There was work done to make FuXi compatible with RDFLib 4 rdflib/FuXi@4d245e9463ea59d76bba81ecabfe1e7b056ceaee4. Looking over a recent large changeset on FuXi, I see issues with code quality, like commented-out code, needless repetition in imports, broken links to supporting references, changes away from PEP8, removal of __all__ lists (suggesting higher coupling), and less explicit messages in exceptions that give me some pause.
There doesn't seem to be a viable alternative that's intentionally rdflib compatible and which is better maintained. Given the small scope of reasoning with N3 in PyOpenWorm, I'm more inclined to remove reasoning as a feature. There's still a path for those that want it to build and apply their own rules with FuXi or another reasoner, but I'm going to deprecate then remove the usages of FuXi in PyOpenWorm now.


"PreauthAmount" is unrecognised by "Altapay\Response\ReserveSubscriptionResponse"

When creating a subscription we get the following error:
The parameter "PreauthAmount" does not have a setter or a property in class "Altapay\Response\ReserveSubscriptionResponse"

Hi @AJenbo , thanks for the heads up and providing a fixes. The change will be review and merged soon.

Thanks :smiley:


adding return to recursive call

Description
This issue happens when Bagisto is retrying to create orders. The rolled-back order is still being returned after the latest created order because lacking of a return for createOrderIfNotThenRetry recalling. Instead, the application should return the latest created order and exist the recursive call.
How To Reproduce Issue
Issue can be reproduced by making a fail order creation query, then on the retry, make it success.
How To Test This?
We can test this by placing an order as usual.
Branch Selection

[ ] Target Branch: master

Below is my full log when creating multiple orders at same time.
Before the change
[2024-08-27 13:06:16] qa.INFO: Order Creation flow: Created order: 438206
[2024-08-27 13:06:16] qa.INFO: Order Creation flow: Added address order: 438206
[2024-08-27 13:06:16] qa.INFO: Order Creation flow: Added items order: 438206
[2024-08-27 13:06:18] qa.INFO: Order Creation flow: Created order: 438207
[2024-08-27 13:06:18] qa.INFO: Order Creation flow: Added address order: 438207
[2024-08-27 13:06:18] qa.INFO: Order Creation flow: Added items order: 438207
[2024-08-27 13:06:21] qa.INFO: Order Creation flow: Rolled back order: 438207
[2024-08-27 13:06:21] qa.ERROR: Order Creation flow: OrderRepository:createOrderIfNotThenRetry: Error message
[2024-08-27 13:06:21] qa.INFO: Order Creation flow: Created order: 438208
[2024-08-27 13:06:21] qa.INFO: Order Creation flow: Added address order: 438208
[2024-08-27 13:06:21] qa.INFO: Order Creation flow: Added items order: 438208
[2024-08-27 13:06:22] qa.INFO: Order Creation flow: Committed order: 438206
[2024-08-27 13:06:24] qa.INFO: Order Creation flow: Committed order: 438208
[2024-08-27 13:06:25] qa.INFO: Order Creation flow: Return order: 438206
[2024-08-27 13:06:27] qa.INFO: Order Creation flow: Return order: 438208
[2024-08-27 13:06:27] qa.INFO: Order Creation flow: Committed order: 438207
[2024-08-27 13:06:30] qa.INFO: Order Creation flow: Return order: 438207
Order 438207 (Rolled back) still being returned at the end.
After the change
[2024-08-27 17:18:34] qa.INFO: Order Creation flow: Created order: 438228
[2024-08-27 17:18:34] qa.INFO: Order Creation flow: Added address order: 438228
[2024-08-27 17:18:34] qa.INFO: Order Creation flow: Added items order: 438228
[2024-08-27 17:18:36] qa.INFO: Order Creation flow: Created order: 438229
[2024-08-27 17:18:36] qa.INFO: Order Creation flow: Added address order: 438229
[2024-08-27 17:18:36] qa.INFO: Order Creation flow: Added items order: 438229
[2024-08-27 17:18:39] qa.INFO: Order Creation flow: Rolled back order: 438229
[2024-08-27 17:18:39] qa.ERROR: Order Creation flow: OrderRepository:createOrderIfNotThenRetry: Error message
[2024-08-27 17:18:39] qa.INFO: Order Creation flow: Created order: 438230
[2024-08-27 17:18:39] qa.INFO: Order Creation flow: Added address order: 438230
[2024-08-27 17:18:39] qa.INFO: Order Creation flow: Added items order: 438230
[2024-08-27 17:18:40] qa.INFO: Order Creation flow: Committed order: 438228
[2024-08-27 17:18:42] qa.INFO: Order Creation flow: Committed order: 438230
[2024-08-27 17:18:43] qa.INFO: Order Creation flow: Return order: 438228
[2024-08-27 17:18:45] qa.INFO: Order Creation flow: Return order: 438230
[2024-08-27 17:18:45] qa.INFO: Order Creation flow: Committed order: 438229
Only order #438230 returned, while 438229 (rolled back) only be committed for the transaction.


Added Joi , Yup and Zod to schema validators category

Thank you for contributing to the Node.js Toolbox catalog! 🙏
Note: Node.js Toolbox is specifically for backend libraries. If a library works both in the browser AND in Node.js feel free to add it. Libraries that work ONLY in the browser are out of scope for now.
Before submitting your pull request, please make sure:

[x] To use the exact package name as it appears on NPM (and npm install <package-name>)
[x] The packages are listed in alphabetical order
[x] The package doesn't already exist in a different category
[x] Description doesn't have a dot (.) at the end
[x] To format with Prettier before committing (npm run prettier)

Thanks for your PR @maikofelix47 ! These are great validators, but they're not JSON Schema based (which this category is for). We could add a new category, or change this category to be more broadly about validators and not just JSON Schema. What do you think?

@Maximization I agree. We may have to come up with a different subcategory for them to be more specific just like we have HTTP frameworks and full-stack framework categories. What do you think of the category 'schema validators' or 'data schema validators'? Their documentation describes them as schema validators.

I'd say let's go with "Object Schema Validators" 👍. Could you please update the PR to add the new category?

https://nodejstoolbox.com/categories/object-schema-validators 🚀


System architecture aarch64 is not detected as arm

Some devices with arm architecture are indicated by the java system property "os.arch" as aarch64 (e.g. the Coral Dev Board).
However, the current arch detection mechanism in PlatformHelper would identify such a device (or OS) as x64:
https://github.com/srs/gradle-node-plugin/blob/master/src/main/groovy/com/moowork/gradle/node/util/PlatformHelper.groovy#L59
Thereby the wrong nodejs version is downloaded and cannot be installed on those devices. The whole build process fails.

We re-arranged the conditionals and added a startsWith('aarch') in the https://github.com/node-gradle/gradle-node-plugin fork, which should hopefully solve this


Basic Tensorflow Distributed Example

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1156  👈
#1154
#1153
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @dongreenberg and the rest of your teammates on  Graphite

Merge activity

Aug 15, 10:03 PM EDT: @dongreenberg started a stack merge that includes this pull request via Graphite.


[bugfix]tools/mkdeps.c:add options for gen full path object target

Summary
When the compilation file is a full path, the Make.dep target cannot correctly generate dependencies, causing incremental compilation to fail.
Check g_altpath. If only the CURRENT path is included, the obj target use its own full path, otherwise just use the filename.
add default value current path for obj-path.
Impact
Make Make.dep to correctly generate targets with paths
Testing
build with qemu-armv8a:nsh

[Experimental Bot, please feedback here]
The PR summary is understandable, but it could be more comprehensive by addressing all the points in the requirements.
Here's a breakdown of what's missing and how to improve it:
Missing Information:

Why change is necessary: While the summary mentions the bug, it doesn't explicitly state the problem's impact.  For example, you could say "Incremental compilation fails when the compilation file uses a full path, leading to inefficient builds."
What functional part of the code is being changed: Be specific. Mention the exact files or modules affected by your changes, like "Modified the Make.dep generation logic in <filename>.c"
Related Issues:  Are there any open issues on the NuttX or NuttX Apps repositories related to this bug? If so, provide links.
Impact - User: Will this change require users to modify their build scripts or configurations?  Be explicit.
Impact - Documentation: Does this change require any documentation updates? If so, confirm if these updates are included in the PR.
Testing - More Detail:

Specify the exact versions of the tools used (OS, compiler, etc.). For example: "Linux Ubuntu 20.04, GCC 10.3.0"
Provide more descriptive testing logs. Instead of just "build with qemu-armv8a:nsh," show the actual commands used and relevant output snippets that demonstrate the issue before and the fix after your changes.

Recommendations for Improvement:

Expand the Summary: Ensure all bullet points in the NuttX PR requirements are addressed clearly.
Be Specific: Provide precise details about the code changes, their locations, and their effects.
Detailed Testing Information: Include specific version numbers and relevant log snippets to showcase the problem and the solution.

By providing this additional information, your PR will be easier to understand, review, and merge.


SDK support for Klevu search dropdown

Hi,
I am trying to integrate Klevu search dropdown in Magento headless project which is in progress. In the current live site I could see when no result page is coming there "popular search" and "you may like" section. Can you let us know how this Klevu features are bing retrieved using the Klevu SDK (react)

Popular searches
"You May Like" product section (Customisations ->  No Results Found Personalization -> Personalized Error Recommendations -> Show popular products)
Recent Searches
"Recently viewed" products
In search dropdown (quick search) I could see a banner on top. Could see different banner if results are available and if no result. Please let me know how this is being configured in Klevu dashboard and how this Klevu features are bing retrieved using the Klevu SDK

Note : Need to use SDK react for Klevu search

Here is a new documentation page on getting those settings: https://docs.klevu.com/headless-sdk/klevu-merchant-center-settings

Sounds like there is a problem with the backend side of things. Please contact our support and they can debug your account and check the settings: https://help.klevu.com/support/tickets/new

Closing as inactive


go get URL fixed in README

The build fails with an unrelated issue:
./conn_test.go:146: undefined: SimpleRetryPolicy

Yeah, the fork is not uptodate anyway, so I'll have to rebase from gocql/gocql.

@vrischmann It’s ok now.


srcset

The  isn't detected when using srset on the image.

@farissi what's the part that isn't working ? I've tried an image with srcset and it's working for me, if you can provide a jsfiddle example that would be great.

I didn't manage to reproduce it on jsfiddle: https://jsfiddle.net/Farissi/e5yawsak/1/
However, the issue is happening once every 3 or 4 page refresh, the image is cached, and all the srcset image have same dimensions.
I will keep you updated if I manage to find what's causing this.
Many thanks!

@farissi I am not sure this will solve the issue but here is a new branch I just created trying to solve this : https://raw.githubusercontent.com/medBouzid/imagesStatus/1.1/imagesStatus.js
please use this and see if the problem still occur

@medBouzid, doesn't work either with the new code, I will try to investigate further on the issue and post an update once I find what was causing it.
Thank you for your investment.


Batch updates

Unfortunately, tests are not passing will check what's the issue.
[update] looks like tests expects keyChange to be called before storage.set is resolved what kills performance optimisations
I see 3 options:

wait of fabric and check if it solves the problem with too many renders
update tests
try to batch only setStates (not sure if it's enough to just do it on withOnyx as some components may just use Onyx.connect and update state there?)

Details
https://expensify.slack.com/archives/C035J5C9FAP/p1664786930667779
Related Issues

GH_LINK
Automated Tests

Linked PRs

@Szymon20000 any updates on this?

@Szymon20000 did you get a chance to look over the latest reviews?

@Szymon20000 any updates on this PR?

This pr is more like a proof of concept. We should get very similar results once we update to Fabric. This can be safely closed :)

Cool, thanks for the update!

Given that Fabric is so cutting edge and seems like it has been plagued
with problems, should we reconsider this as a stopgap while Fabric gets
ironed out (pun intended)?
On Mon, Nov 7, 2022 at 8:59 AM Carlos Martins @.***>
wrote:

Cool, thanks for the update!
—
Reply to this email directly, view it on GitHub
https://github.com/Expensify/react-native-onyx/pull/187#issuecomment-1305908965,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEMNUUFAPNB4BUK5QEYNF3WHEYOZANCNFSM6AAAAAAQ4K52S4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I'm going to close this PR for now since a lot of performance improvements have been made (particularly being able to subscribe to properties of objects directly). I think that's enough of a stop-gap for now until we have Fabric.


Merge Task Server & Build Server

https://github.com/microsoft/build-server-for-gradle/pull/162
FYI:

Restart Summaries and Solutions
All these cases require user to response to the reload/restart window.
1. Gradle (Task) Server Stop by accident and Process Exit

Previous Solution:

Restart the Gradle (Task) Server by calling this.start() in GradleServer.ts.
Code reference: GradleServer.ts#L70-L72

Current Approach:

Reload the window.

Note:

Reloading is necessary after we merge

2. Gradle (Task) Client Loses Connection

Previous Solution:

Reconnect to the Gradle (Task) Server in GradleClient.ts.
Code reference: GradleClient.ts#L491-L500

Current Approach:

Same as before or Reload the window, depending on the situation.

Note:

Typically occurs alongside server downtime. Actions here may not make a difference if the server itself requires a reload. Need more discussion here.

3. User Changes Configuration
Changes include:

java.home || java.jdt.ls.java.home || java.import.gradle.java.home
Modify project's Gradle wrapper properties file
Previous Solution:

Call GradleServer.restart(), which sets this.restarting = true, kills the current process, and restarts the server.
Code reference: Extension.ts#L312-L317

Current Approach:

Reload the window.

Note:

Necessary to apply configuration changes effectively, requiring a window reload.


Update shard memory usage after increase of default values

https://github.com/prometheus/prometheus/pull/5267 increased the defaults by 5 times for both max_samples_per_send and capacity.
I think this value needs to be increased, too. Not too sure how realistic is 5 times and how to get to the < 100kb in the first place.
@csmarchbanks @bboreham

Thanks @csmarchbanks for sharing the math. Makes a lot of sense. I thought it would use a hash instead of the slice header (My mistake: I did not look in the code before this PR).
I think on the basis of your math, you shouldn't have merged my PR or where is the factor of five coming from if 500kB is correct?.
I purely updated the value from 100kB to 500kb on the basis of the old config values have changed in the prometheus PR after that document was written

I figured <500kB is still correct even if the real number is lower :). I forgot to include in my own math above the additional overhead per shard for things like the compression buffers, pending sample slice (which is in protobuf form and copies all the label values), etc that would bring it above 100kB right now. I should probably pull up an actual heap profile sometime but in the meantime 500kB seems reasonable.


Add product card to sell product

Pls assign me under the hacktoberfest.

It's already added. Try another