2 finger swipe up to read full page not working with VoiceOver

With VoiceOver on, when the user does 2 finger swipe up for this page, the focus stays on the COVID Alert image on top and the page is not read as its expected to.
Screenshot below shows where the focus stays and nothing is read/announced on the page.
iOS 13.5.1 on iPhone 7

This is cause because the logo is a button for the test mode menu -
We're going to start pushing up builds without that menu on and this problem will go away.

Yes, this works if you deselect the COVID alert button. It won't be a button on release because its currently used to access the tester nav options.


feat(routes): changed redirect for root route

in case a user is already logged in when calling the root route, a redirect to the box (Kiste) route /kiste is executed

OK


Add support for sticky section titles in LazyListSection

I'm experimenting with the section API at the moment, both the regular one and the lazy scope extension. Since sections typically have cleared defined "header" which in this instance is represented by the title composable, it would be nice to add a parameter stickyTitle: Boolean = false and then based on its value select between item and stickyHeader. Also it would be great to add some sort of a sticky state listener, so that code could be executed depending on whether the title is sticky at the moment or not (my use case for example, is to change the padding If the title becomes sticky)
This could be a nice addition to the seemingly upcoming section refactoring

I could definitely help out, as I've done something similar myself, but 1. I barely understand how compose works. 2. I've no idea what the guidelines for PR submissions would be

Added stickySection in 0.1.0-alpha04


chore: use different selector to pick banner

When the element is null, the returned collection will not be iterable. So we use the single element instead of using the list.

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Build Cause: Pull request #296 opened

Start Time: 2021-06-03T00:55:29.359+0000

Duration: 13 min 37 sec

Commit: 9f7e85cbe571a0327e509072913beaeef573186d

Test stats :test_tube:

Test
Results

Failed
0

Passed
97

Skipped
0

Total
97

Trends :test_tube:

Thanks for testing Paul. I ll go ahead and merge it then.


Fix a typo

Description
Fix a typo
Issue reference
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation

@holopin-bot @ytimocin Thank you!


Remove mp-data index

We should evaluate usage of this index, and move to generating a file that can be read within data_pipeline and separately loaded into elasticsearch if necessary for rest_api

This is not used by the API

I don't think this index is used by the pipeline. Mouse phenotypes are read by the --efo step, but I think --mp is not actually used anywhere.
I'm going to remove it entirely, including the generation step.

Done

Turns out the mp-data index is used, by a gene plugin.

This is even more complicated - there are two differen ways that MP is stored and looked up. Work in progress for this on opentagets/pipeline branch af-re-add-hpo-lookup to standardise and cleanup


See Payment with PayPal Function

Hi, sorry for ask again about this problem.
Basically, I want to see my transactions or tested pays.
With the function Credit Card these are show in the accounts https://www.sandbox.paypal.com/ and https://developer.paypal.com/
But if I use the PayPal function, I cant see my transactions.
I was looking for one near this doubt, I found here:
102
And in the comments of the video when you explain how to use this package, but nobody clarifies how to solve it.
What am I doing wrong?
Thanks for your help, and sorry for my bad English.

@leninchek
Did you find the solution?


Support for AbortSignal?

Would it make sense to include support for AbortController/AbortSignal in the API or at least document the uses of it?
What is AbortSignal?
There seems to be a growing consensus about the new DOM api for aborting fetch requests with the AbortSignal interface. Refs:

https://developers.google.com/web/updates/2017/09/abortable-fetch
https://developer.mozilla.org/en-US/docs/Web/API/AbortController
https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal

The interface for AbortSignal is rather simple, on top of extending EventTarget:

aborted boolean read-only that tells if process has been aborted or not
onabort event handler when abort has been issued (from e.g. AbortController)

The apparent benefit from this pattern is that you can cancel multiple processes at once.
What can be done in Bluebird?

Extend functions that do serial iterations so they can be cancelled through an AbortSignal by providing the signal as argument. E.g. Promise.each([p1, p2, p3], callback, signal), reduce, etc.
Documenting the use of the new DOM api when creating promises:

const controller = new AbortController();
const signal = controller.signal;

new Promise((resolve, reject) => {
  const to = setTimeout(() => { resolve('boop'); }, 300);

  signal.addEventListener('abort', () => {
    clearTimeout(to);
    reject('cancelled');
  });

  console.log('beep');
});

controller.abort();
// OUTPUT:
// beep
// cancelled

Provide a simple AbortSignal implementation but with an abort method included.

Would it make sense to include support for AbortController/AbortSignal in the API or at least document the uses of it?

Well, thanks for opening the issue but I don't think so. AbortController is a compromise reached because the lack of a better API - Bluebird ships with promise cancellation.
Note that you can use AbortController with bluebird just fine and mix and match since an AbortController is external to promises - but it can't do things like abort coroutines in the middle or promise chains and it doesn't have resource cleanup or disinterest semantics.
Basically, you can use promise cancellation and trigger .cancel with AbortController.signal

By the way, we're (Node.js) discussing this tomorrow at the Node.js collaborator summit (use cases in https://github.com/nodejs/promise-use-cases/tree/master/use-cases and some of them cover cancellation).
Feel free to check out the repo and weigh in.

FWIW: I've written some adapter functions to convert between a cancellable promise and a promise with an AbortController over at bluebird-abort-signal-adapter. No usage instructions yet, but the tests should give you an idea of how to use it.
If you're interested, I can find some time to put this on npm.


ELIFECYCLE error

I'm having an issue installing this using OSX 10.9.5
and have installed:
$ npm -v
5.3.0

$ node -v
v8.3.0

I've tried deleting the following folders:
$ rm -fr /Users/giacomo/.node-gyp
$ rm -fr /Users/giacomo/.npm
$ rm -fr node_modules

but the install commands throw up the same errors.
npm install webcast-osx-audio -save

><EMAIL_ADDRESS>install /Users/giacomo/Downloads/devicecast/node_modules/osx-audio
> node-gyp rebuild

20 errors generated.
make: *** [Release/obj.target/audio/src/bindings.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at emitTwo (events.js:125:13)
gyp ERR! stack     at ChildProcess.emit (events.js:213:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 13.4.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/giacomo/Downloads/devicecast/node_modules/osx-audio
gyp ERR! node -v v8.3.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Try install it using the version specified on the README - https://github.com/jamesmorgan/devicecast#development
I know I had issues originally when using newer versions of node so there may be issues with older ones as well. One of the libraries is bound to a specific version unfortunately, I will check if the its been fixed. Closing for now

Thanks - I did start with the version of node in the readme, but NPM is b0rked:
$ npm -v

/usr/local/lib/node_modules/npm/node_modules/npm-package-arg/npa.js:6
let url
^^^
SyntaxError: Unexpected strict mode reserved word
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/access.js:5:11)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)

... and I realise now that clearing all versions of npm and doing a fresh install of v0.10.38 resolved the issue.


Handle :invalid params in validate_acceptance

Previously, an error was raised:
 ** (BadMapError) expected a map, got: nil
 stacktrace:
   (stdlib) :maps.find("terms_of_service", nil)
   (elixir) lib/map.ex:145: Map.get/3
   (ecto) lib/ecto/changeset.ex:1467: Ecto.Changeset.validate_acceptance/3
   test/ecto/changeset_test.exs:897: (test)

if this looks good, a backport to 2.0.6 would be very appreciated :)

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:


[#3948] Update dotnet samples to target .Net 8 - Essential samples

Addresses # 3948
Description
This PR updates the Essential samples to target .NET 8
Specific Changes

Updated the following samples to target .NET 8

02.echo-bot
03.welcome-user
05.multi-turn-promp
06.using-cards
07.using-adaptive-cards
08.suggested-actions
13.core-bot
15.handling-attachments
40.timex-resolution
43.complex-dialog
45.state-management

Testing
These images show the updated bots working as expected.
06.using-cards

03.welcome-user

05.multi-turn-promp

06.using-cards

07.using-adaptive-cards

08.suggested-actions

13.core-bot

15.handling-attachments

40.timex-resolution

43.complex-dialog

45.state-management

/promoted 3987


removed defaultValue for replication option to allow cluster option

Predis now has built-in support for redis-cluster:
https://github.com/nrk/predis/blob/v1.1/README.md#cluster
However this options has only effect when the replication option is omitted.
But due to the defaultFalse configuration, the option['replication'] was always present and prevented Predis to enter cluster mode:
https://github.com/nrk/predis/blob/v1.1/src/Client.php#L123
An example config is:
snc_redis:
    clients:
      default:
          type: predis
          alias: default
          dsn:
              - 'redis://%cache.redis_host.one%:%cache.redis_port%/%cache.redis_db%'
              - 'redis://%cache.redis_host.two%:%cache.redis_port%/%cache.redis_db%'
          options:
            profile: 3.2
            cluster: "redis"

With "redis-custer" or "redis" as cluster option commands like this will automatically be resolved:
MOVED 14966 cache.redis_host.two:6381
This probably needs some more work as replication now can be even more than boolean:
https://github.com/nrk/predis/blob/v1.1/README.md#replication

Does your setup work with #307?

@snc #307 will not work for cluster: "redis" because the options array will still have the key "replication" with null and so the isset function will not let the option pass.
When ->defaultNull() would be removed it would probably work.
However as i mentioned in #306 i would prefer not to predefine/limit the options by the bundle configuration at all.

What about merging this PR @snc? This fixes redis cluster for newer predis versions.

@ivoba @snc is there any progress on this?
Is there currently a working config with predis 1.1.1 that allows cluster: redis option to work ?


different results from ska2 0.3.2 and 0.3.6

I was trying to run the latest version 0.3.6 (from conda install -c bioconda ska2 today) with our data and the results are different from 0.3.2. The command for all the following analysis are the same:
ska build -o seqs_ska2_strict --min-count 4 --min-qual 20 --threads 4 -k 31 --qual-filter strict -f ska2_input.tsv
ska distance --filter-ambiguous seqs_ska2_strict.skf > distances_ska2_strict.txt

We have 40 samples:
0.3.2:

0.3.6:

To help debug, I took 5 samples from the cluster in bottom right corner and subsampled to 1/5 of the read counts so the file is smaller. You can find them here https://github.com/danrlu/debug_data/tree/main/ska:
With 5 samples (see ska2_input_more.tsv)
0.3.2:
Sample1	Sample2	Distance	Mismatches
pt59	pt60	6.00	0.19603
pt59	pt61	5.00	0.21242
pt59	pt74	7.00	0.21048
pt59	pt75	7.00	0.19414
pt60	pt61	7.00	0.21246
pt60	pt74	7.00	0.21003
pt60	pt75	7.00	0.19471
pt61	pt74	2.00	0.22424
pt61	pt75	6.00	0.21081
pt74	pt75	7.00	0.21033

and 0.3.6
Sample1	Sample2	Distance	Mismatches
pt59	pt60	20.00	0.19603
pt59	pt61	21.17	0.21242
pt59	pt74	23.17	0.21048
pt59	pt75	24.00	0.19414
pt60	pt61	21.50	0.21246
pt60	pt74	20.00	0.21003
pt60	pt75	19.50	0.19471
pt61	pt74	16.17	0.22424
pt61	pt75	20.67	0.21081
pt74	pt75	19.67	0.21033

With 2 samples (see ska2_input.tsv), both 0.3.2 and 0.3.6 gave the same results:
Sample1	Sample2	Distance	Mismatches
pt60	pt61	12.00	0.21246

I checked the documentation and didn't see changes of setting for the options in the command. Let me know what else I should try~~ Thanks!!

The following have changed between these versions:

https://github.com/bacpop/ska.rust/pull/63
https://github.com/bacpop/ska.rust/issues/53
https://github.com/bacpop/ska.rust/pull/61
https://github.com/bacpop/ska.rust/pull/49

So some filtering default changes – could these have affected your results?

Let me look through them. Thanks!

Closing due to lack of update


How to destory emojionearea on some click event?

I have initialized emojionearea with angualrjs, now i was seeking for some destroy function, so that we can remove emojionearea when not required.

I am also in need of something like that to use with an EmberJS component. +1

Wouldn't $.remove() would do for destroying the component?

@Blkc unfortunately no

duplicate of https://github.com/mervick/emojionearea/issues/104


Support batch requests

I've had a look around but I don't think this library uses the batch endpoint. It looks like its supported in other languages such as Java, but not node. Any plans to implement it?
Also from looking at the docs its not completely clear, but is object copying supported in a batch request? (The Java docs don't have a copy method from what I can see)

Same problem as @gWOLF3. We have to upload more than 1000 html files simultaneously and the performance is awful.

Batch requests in this case is specifically for the Storage Batch API: https://cloud.google.com/storage/docs/json_api/v1/how-tos/batch
Helps with:

Updating metadata, such as permissions, on many objects.
Deleting many objects.

I think you're looking more for performent parallel uploads, is that right?

I think you're looking more for performent parallel uploads, is that right?

Yes exactly. I know that currently the storage batch API doesn't support batch operations for up- and downloads, so i'm wondering if there is any plan to support that eventually.
I found the following feature request https://issuetracker.google.com/issues/142641783 but i'm not sure if there is any progress beeing made.
Further In my research i stumbled upon this video https://www.youtube.com/watch?v=oEto_3jr1ec, which suggests using composite objects to speed up things (https://goo.gle/2mh4Ei0 ).
I didn't try that suggestion yet, but it seems to complicate things quite a bit.

Adding my 2 cents: I'd like support for this in order to improve the performance of deleting a large number of files.
Currently I have to do something like this
const bucket = firebaseAdmin.storage().bucket();
const promises = files.map((filePath) => {
  return bucket
    .file(filePath)
    .delete()
    .catch((e) => console.log("error deleting file", e.message));
});
await Promise.all(promises);

Ideally, I could just call bucket.deleteFiles(files)

I’d forgotten about this issue...

I think you're looking more for performent parallel uploads, is that right?

Ideally yes but as the batch API doesn’t support that I’d like to see batch deletions please!

Adding my 2 cents: I'd like support for this in order to improve the performance of deleting a large number of files.
Ideally, I could just call bucket.deleteFiles(files)

I've got the exact same use-case and would love to be able to use the batch API to delete multiple files.

This issue is duplicated and now being tracked by https://github.com/googleapis/nodejs-storage/issues/1868

@shaffeeullah not sure if that is a duplicate - only mentions uploads / downloads and copying

@rhodgkins Good callout. This issue includes things like delete which are supported by cloud storage (https://cloud.google.com/storage/docs/batch#overview). We'll look into it.

This would be super useful for bulk deletions!

The current guidance for bulk deletions is to leverage OLM. Further additions for batch operations are unlikely to be implemented and as such I am going to close this issue.


Code refactor and added more test

This PR contains the following:

first iteration refactoring rc.feature.replace.na.R: extracted functions, added roxygen statement #12
made rc.feature.replace.na.R generic, rc.cmpd.replace.na.R is not needed anymore #12
first iteration refactoring rc.feature.filter.cv.R: extracted functions, added roxygen statement #10
first iteration refactoring rc.feature.filter.blanks.R: extracted functions, added roxygen statement  #13
added test and testdata for rc.get.xcms.data + rc.get.csv.data, rc.remove.qc, and rc.restore.qc.samples #15
first iteration refactoring defineExperiment.R: extracted functions, added roxygen statement  #4
formatted ramclustR.R, rc.remove.qc.R, rc.ramclustr.R

@zargham-ahmad so

#4 is resolved completely
#10 is also completely resolved - did you delete the duplicated file/merge the files together so that it is clear which functions have to be used?

@zargham-ahmad so

duplicated code in define experiment #4 is resolved completely?
duplicate code related to rc.feature.filter.cv.R  #10 is also completely resolved - did you delete the duplicated file/merge the files together so that it is clear which functions have to be used?

I have updated the description with the close keyword. Regarding the filter cv I believe rc.feature.cv.filter.R is not used because it has semantic error and the function name is same as rc.feature.filter.cv.R. Let me know if we want to keep it or delete it.

@zargham-ahmad I'd suggest we delete it.


Aggregation inside elastic search

As I understood, jest' aggregation works on its logic, not elastic query. It brings all data and aggregate on java side.
How should I make aggregating data on elastic side with jest? I wonder if big data will aggregate so slow and spend compute cost a lot

Hi Kdh6429,
It is done at ES side not Jest side.

https://github.com/searchbox-io/Jest/blob/master/jest/src/test/java/io/searchbox/core/search/aggregation/CardinalityAggregationIntegrationTest.java
Here is code that I saw. Is aggregation in the code at ES side? or am I looking at wrong code?


fix: proper error handling for lnurl withdraw

Describe the changes you have made in this PR
proper error handling for lnurl withdraw
Type of change
(Remove other not matching type)

fix: Bug fix (non-breaking change which fixes an issue)

Screenshots of the changes [optional]

Checklist

[X] Self-review of changed code
[X] Manual testing
[X] Added automated tests where applicable
[X] Update Docs & Guides
For UI-related changes
[X] Darkmode
[X] Responsive layout

fixed  tests accordingly merging it


remove k8s v1.10.0 pre-release versions

If applicable:

[ ] documentation
[ ] unit tests
[ ] tested backward compatibility (ie. deploy with previous version, upgrade with this branch)

Release note:

NONE

This change is not backwards compatible with the current upgrade implementation!


Lazy loading pages

In router, some pages that are loaded later in the app, I try to load like this for webpack optimization.
const HomePage = resolve => require(['./HomePage.vue'], resolve);
Instead of
const HomePage from './HomePage.vue';
These pages work but just not the first time they are accessed. Any idea how I could fix this?
Probably useful for not just me!

http://framework7.io/vue/navigation-router.html#async-lazy-components


signature issue

how to give custom delegate.
i have integrated the code with my app.  and  after signature it is not redirecting to previous page can you please guide me asap

Are you facing issue in Objective-c or Swift?

swift

Please refer my example. Go to this CaptureSignatureViewController.m and check captureSign method.

In Swift Example, when i click on get sign button its is getting crash with error "fatal error: unexpectedly found nil while unwrapping an Optional value" . please check and let me know as soon as possible. thanks

@arshadsk5 Are you testing in iOS 10? I have convert sample project and library into swift 3. Please try now and let me know if you face same issue again.

its ok i had done some changes to the code, now it's working fine in swift 2. Thanks

Ok Thanks.


L1 client cache for sublist and accounting optimizations

This allows for low contention hot cache on a per client basis. Other optimizations around atomic stats accounting has also been optimized.

Coverage increased (+0.2%) to 79.804% when pulling d0a9a47ea35e5b37455b2a10eb075a78fbb04508 on subl1 into b5413eca8c01c1fd211b7de48d78a770989e8ee4 on master.


error that convert model from pytorch to onnx

hi, could you convert model from pytorch to onnx?
error:

theta_i = self.stn_list[i](F.avg_pool2d(stn_feature, stn_feature.size()[2:]).view(bs,-1)).view(-1,4), ##the reason RuntimeError: Failed to export an ONNX attribute 'onnx::Gather', since it's not constant,

2.RuntimeError: Exporting the operator affine_grid_generator to ONNX opset version 11 is not supported. Please open a bug to request ONNX export support for the missing operator.

or is there an alternative to replace spatial transformer means?

Sorry, I have no experience with ONNX.
I didn't try to replace the STN. Actually, the STN module in our model can be viewed as roi pooling with learnable boxes. You can try to re-implement it in an ONNX-compatible manner.

removing F.affine_grid与F.grid_sample,
in my experiment, ap decreased by 0.3%.

You mean removing the ALM module?

only remove line 81,82,84.

@eeric  could you share the code you used to convert model from pytorch to onnx ?

@A7med01
this work is easy, you can look up torch.onnx.
in addition, you need to process model format to torch.nn.DataParallel.

@eeric
this is my code , what is wrong ?

import torch
import torch.onnx
attr_num = 6
model_agg = models.__dict__["inception_iccv"](pretrained=True, num_classes=attr_num)
model_agg = torch.nn.DataParallel(model_agg).cuda()

checkpoint = torch.load("61.pth.tar")
model_agg.load_state_dict(checkpoint['state_dict'])

# Create the right input shape (e.g. for an image)
dummy_input = torch.randn(1, 3, 224, 224)
torch.onnx.export(model_agg.module, dummy_input, "onnx_model_name.onnx")

@eeric
this is my code , what is wrong ?

import torch
import torch.onnx
attr_num = 6
model_agg = models.__dict__["inception_iccv"](pretrained=True, num_classes=attr_num)
model_agg = torch.nn.DataParallel(model_agg).cuda()

checkpoint = torch.load("61.pth.tar")
model_agg.load_state_dict(checkpoint['state_dict'])

# Create the right input shape (e.g. for an image)
dummy_input = torch.randn(1, 3, 256, 128)
torch.onnx.export(model_agg.module, dummy_input, "onnx_model_name.onnx")

loading model param as following:
https://blog.csdn.net/wuqingshan2010/article/details/111386066
others is good

@eeric
do you mean to add the device part
import torch
import torch.onnx

attr_num = 6
model_agg = models.__dict__["inception_iccv"](pretrained=True, num_classes=attr_num)

device = torch.device("cuda")
model_agg = model_agg.to(device)

model_agg = torch.nn.DataParallel(model_agg).cuda()

checkpoint = torch.load("61.pth.tar")
model_agg.load_state_dict(checkpoint['state_dict'])

dummy_input = torch.randn(1, 3, 256, 128)
torch.onnx.export(model_agg.module, dummy_input, "onnx_model_name.onnx")

gives me this error :
RuntimeError: Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor) should be the same

@eeric
please see if this is right :
import torch
import torch.onnx
from collections import OrderedDict
import model as models

device = torch.device("cuda")

attr_num = 6
model_agg = models.__dict__["inception_iccv"](pretrained=True, num_classes=attr_num)

model_agg = model_agg.to(device)

checkpoint = torch.load("61.pth.tar")

new_state_dict = OrderedDict()
for k, v in checkpoint.items():
    name = k[7:]  # remove "module."
    new_state_dict[name] = v

model_agg.load_state_dict(new_state_dict)
dummy_input = torch.randn(1, 3, 256, 128)
torch.onnx.export(net, dummy_input, "onnx_model_name.onnx")

it gives me error with model_agg.load_state_dict(new_state_dict) : 	Unexpected key(s) in state_dict: "", "ict", "cu".

add model_agg = nn.DataParallel(model_agg)

@eeric  thank you , i changed it but still have error
import torch
import torch.onnx
from collections import OrderedDict
import model as models

device = torch.device("cuda")

attr_num = 6
model_agg = models.__dict__["inception_iccv"](pretrained=True, num_classes=attr_num)

model_agg = model_agg.to(device)

checkpoint = torch.load("61.pth.tar")

new_state_dict = OrderedDict()
for k, v in checkpoint['state_dict'].items():
    name = k[7:]  # remove "module."
    new_state_dict[name] = v

model_agg.load_state_dict(new_state_dict)

dummy_input = torch.randn(1, 3, 256, 128)
dummy_input.to(device)

torch.onnx.export(model_agg, dummy_input, "onnx_model_name.onnx")

RuntimeError: Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor) should be the same

@eeric I edited my code and now I have this error
import torch
import torch.onnx
from collections import OrderedDict
import model as models

attr_num = 6
# create model
model_agg = models.__dict__["inception_iccv"](pretrained=True, num_classes=attr_num)

device = torch.device("cuda")

#model_agg = torch.nn.DataParallel(model_agg).cuda()

# load model
#print("Model loading")

model_agg = model_agg.to(device)

checkpoint = torch.load("1_test.pth.tar")

new_state_dict = OrderedDict()
for k, v in checkpoint['state_dict'].items():
    name = k[7:]  # remove "module."
    new_state_dict[name] = v

model_agg.load_state_dict(new_state_dict)

# Create the right input shape (e.g. for an image)
# dummy_input = torch.randn(sample_batch_size, channel, height, width)
model_agg = model_agg.to(device)

dummy_input = torch.randn(1, 3, 256, 128)
dummy_input = dummy_input.to(device)

#torch.onnx.export(model_agg, dummy_input, "onnx_model_name.onnx")

torch.onnx.export(model_agg,               # model being run
                  dummy_input,                         # model input (or a tuple for multiple inputs)
                  "age_gender.onnx",   # where to save the model (can be a file or file-like object)
                  export_params=True,        # store the trained parameter weights inside the model file
                  opset_version=11,          # the ONNX version to export the model to
                  do_constant_folding=True,  # whether to execute constant folding for optimization
                  input_names = ['input'],   # the model's input names
                  output_names = ['output'], # the model's output names
                  dynamic_axes={'input' : {0 : 'batch_size'},    # variable length axes
                                'output' : {0 : 'batch_size'}})

RuntimeError: Failed to export an ONNX attribute 'onnx::Gather', since it's not constant, please try to make things (e.g., kernel size) static if possible

only remove line 81,82,84 in model/inception_iccv.py.

when you do this, do you successfully able to convert the model to onnx ?

onnx demo was ok, but error was 'onnx::Gather', I guess as below
only remove line 81,82,84 in model/inception_iccv.py.

onnx demo was ok, but error was 'onnx::Gather', I guess as below
only remove line 81,82,84 in model/inception_iccv.py.

i removed these lines and still get same error

your model some op were not supported.
according to "since it's not constant", maybe convolution kernel size is not constant, eg: pooling.

I replaced x = F.avg_pool2d(x, x.size()[2:]) with :
x_shape = [int(s) for s in x.size()[2:]]

        x = F.avg_pool2d(x, x_shape)

the model is now exported with removing lines 81,82,84 ? how this affect model accuracy with you ? is there any alternatives i can use ?

of course, when using author code.

x.size()[2:]
haha, I caught the mistake, it's not constant.

@A7med01 thanks for source code @eeric  are you guys then converting into tensorrt file and running the inference , can you share the tensorrt.py file

@abhigoku10 can you share your code for ONNX evaluation to see if i get same numbers

torch.onnx.errors.SymbolicValueError: Expected node type 'onnx::Constant' for argument 'kernel_size' of node 'symbolic_fn', got 'onnx::Loop'.  [Caused by the value '2061 defined in (%2061 : Long(device=cpu)[] = onnx::Loop(%2060, %1727, %size_array.2) # /home/ubuntu/yasin/PAR/ALM-pedestrian-attribute/model/inception_iccv.py:28:17

I updated the model code without deleting any operations, so the accuracy is preserved. You can export it using ONNX with opset 16.
https://github.com/Y-T-G/ALM-pedestrian-attribute/blob/master/model/inception_iccv.py

I removed SpatialTransformBlock completely by editing the forward function:
https://github.com/Y-T-G/ALM-pedestrian-attribute/blob/8462c298121d2be8a6e9e3d8affc5bd2561d21a1/model/inception_iccv.py#L135
to:
    def forward(self, input):
        bs = input.size(0)
        feat_3b, feat_4d, feat_5b = self.main_branch(input)
        main_feat = self.global_pool(feat_5b).view(bs,-1)
        main_pred = self.finalfc(main_feat)

        fusion_5b = self.latlayer_5b(feat_5b)
        fusion_4d = self._upsample_add(fusion_5b, self.latlayer_4d(feat_4d))
        fusion_3b = self._upsample_add(fusion_4d, self.latlayer_3b(feat_3b))

        return main_pred

My accuracy dropped very little. Less than 0.1%.


Make PhotoMessagePresenter.photoCellStyle property public

Current coverage is 62.46%

Merging #64 into dev will not affect coverage as of 75e254a

@@              dev     #64   diff @@
=====================================
  Files          57      57
  Stmts        2867    2867
  Branches        0       0
  Methods         0       0
=====================================
  Hit          1791    1791
  Partial         0       0
  Missed       1076    1076

Review entire Coverage Diff as of 75e254a

Powered by Codecov. Updated on successful CI builds.


How is this different from Dat ecosystem?

The Dat project also has secure logs, key value stores and databases built on top of single and multi author append only logs, distributed over efficient p2p protocol that only does diffs.

Can someone elucidate how this offers a different set of costs and benefits?
When should one use the Dat toolkit, and when should something like orbit be used.

First, you need to compare IPFS vs Dat — as OrbitDB is built on top of IPFS via IPFS-log. There are a few discussions scattered around the web on the topic:
datproject.org/faq#dat-vs
IPFS/faqs - ipfs vs dat
stackoverflow
For my use-cases - IPFS makes more sense because of the interoperability guarantees provided by libp2p as explained here.

I am not really interested in that comparison, but addressing my question of how orbitdb for example is different from HyperDb will include some part of that comparison also.

This is a good question! @haadcode, I suspect you might be able to help the most, here?

I think @mistakia's answer is a good one as one first needs to consider the underlying storage and transport systems (IPFS vs. Dat) as that's more the defining factor for data formats, hash formats, transport protocols, storage APIs, etc. and those will have the biggest effect on "costs and benefits" and "when should one use the Dat toolkit, and when should something like orbit be used" I believe.
I'm not best equipped to make that comparison, but from OrbitDB's perspective, what IPFS has that (afaik) Dat doesn't is functionality (and concept) for storing "objects". That is, storing any data in addition to storing files. This is actually imho something many don't see at first due to the name "FileSystem" in IPFS, but IPFS works as general data storage and transport system and files are only one notion of data.
As for hyperdb and OrbitDB: first, I'm big fan of the work @mafintosh is doing in the Dat/hyper* ecosystem! Not having looked throughly into hyperdb and based on a quick look around, I believe the biggest difference between the two is that OrbitDB has the concept of "Stores" enabling multiple data model (any, really) whereas hyperdb is focused to be a key-value database. I believe the underlying data structures are similar, and append-only log, but the semantics and implementation is prolly different.
Would love to hear more comparisons and comments and build the knowledge here as well as in the Dat community so users can make an educated decision! Perhaps @noffle @mafintosh and others can add more detail from hyperdb perspective? 🙏

Likewise. The fact that one critically relies on CRDTs (which I am not very familiar with), while the other does not, would to my mind suggest that there have to be some pretty substantial differences in tradeoffs.

@bedeho Closing this for now and I'd like to refer you to the new OrbitDB Field Manual, which aims to answer these sort of questions with the depth and breadth they deserve. If something there is unclear or if you have more questions, please open an issue!

This is a bit of a different question than the Guide is currently able to answer - although we should probably include it in there! For now, reopening this as relevant to some of our users.

Moving to Field Manual to discuss further


Disable jobs flag

What this PR does / why we need it:
This adds a conditional option to disable test jobs from running. The test jobs are currently formatted to look at the release name {{ .Release.Name }}-kong-proxy.{{ .Release.Namespace }}.svc.cluster.local/httpbin with kong-proxy being hard coded. There are cases where the service name does not match that url resulting in unlimited restarts on the test pods. For example, if the Helm nameOverride value is used or if the service is created by something outside of the chart (Terraform).
Which issue this PR fixes

fixes #598

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] PR is based off the current tip of the main branch.
[x] Changes are documented under the "Unreleased" header in CHANGELOG.md
[x] New or modified sections of values.yaml are documented in the README.md
[x] Commits follow the Kong commit message guidelines

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Can you elaborate on what you mean regarding the Service? That sounds unrelated to the original issue.
If Jenkins lacks support for that feature (which does appear to be the case looking at https://github.com/jenkins-x-plugins/jx-gitops/blob/6f6cfceade01384dde7f5dd827bca0a91465f5bd/pkg/cmd/helm/step_helm_template.go#L178-L207) then it's something they should add/you should submit a PR there to add it.

@rainest The service issue is to just show a use case where the service name may not always match the value of what is set on the tests: {{ .Release.Name }}-kong-proxy.{{ .Release.Namespace }}.svc.cluster.local/httpbin. But the main issue stems from the tests being spun up due to not passing in --skip-tests(Jenkins X problem).
I would like to mention, of all the Helm charts we are using, all provide us the flexibility to turn off the tests. Kong is the only problem we have with tests restarting and not being able to disable them. I.e Grafana & Sonarqube to name a few.


Add small Up and Down (▲ ▼) arrow buttons to increase/decrease numbers input by click

Tiny arrow buttons Up/Down (▲ ▼)  to increase or decrease number input by 1 per click. Specially useful when calculating by number of factories.

The fields used to have these when the inputs were marked for numbers only. Now that they also support fractions the inputs accept any string and the up/down arrows were lost with that change.
I'll have to look into whether it's possible to add the arrows back manually.


OperationalError: too many terms in compound SELECT

| 17.03.2017 (07:58:35) |
Traceback (most recent call last):
  File "library/utils.py", line 24, in execute
    result = handler(*list)
  File "extensions/avatar_hash.py", line 105, in handleQueue
    user.hashes = Avatars.makeHashes(user)
  File "extensions/avatar_hash.py", line 77, in makeHashes
    runDatabaseQuery(sql[:-1], set=True)
  File "./gateway.py", line 143, in runDatabaseQuery
    db(query, args)
  File "library/itypes.py", line 101, in <lambda>
    __call__ = lambda self, *args: self.execute(*args)
OperationalError: too many terms in compound SELECT

Неактуально для mark 2, там не будет такой глупой системы.


coverage.py isn't showing the expected results for celery prefork model

Describe the bug
coverage.py isn't working for the processes that are not spawned, celery uses prefork model to create processes
To Reproduce
How can we reproduce the problem?  Please be specific. Don't link to a failing CI job. Answer the questions below:

What version of Python are you using?
Python3.9
What version of coverage.py shows the problem? The output of coverage debug sys is helpful.
the latest version
What versions of what packages do you have installed? The output of pip freeze is helpful.
amqp==5.1.1 billiard==4.1.0 blinker==1.6.2 celery==5.3.1 click==8.1.7 click-didyoumean==0.3.0 click-plugins==1.1.1 click-repl==0.3.0 coverage==7.3.0 Flask==2.3.3 itsdangerous==2.1.2 Jinja2==3.1.2 kombu==5.3.1 MarkupSafe==2.1.3 prompt-toolkit==3.0.39 python-dateutil==2.8.2 redis==5.0.0 six==1.16.0 tzdata==2023.3 vine==5.0.0 wcwidth==0.2.6 Werkzeug==2.3.7
What code shows the problem?  Give us a specific commit of a specific repo that we can check out. If you've already worked around the problem, please provide a commit before that fix.
Explained the problem in the next message.
What commands should we run to reproduce the problem? Be specific. Include everything, even git clone, pip install, and so on. Explain like we're five!
Explained the problem in the next message.

Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.

Hi, can you provide us with code to run to demonstrate the problem? It's hard to debug your situation without it.

If I may hijack this issue, comes from:

Celery uses it's own Pool implementation with billiard.Pool when running under prefork, and it does'nt play with coverage at all
Celery solo pool, is not really a Pool, and it's just running code synchronously, so it interacts properly with coverage (but defeats the purpose of multiprocesing)

Ultimately this means that coverage does not provide any statistics on code run through Celery Tasks (at least when they run under the usual pool=prefork).
I added some example code https://github.com/sprezz-arthur/flaky-coverage-mre based on my previous issue https://github.com/nedbat/coveragepy/issues/1910
You can run it simply with:
python -m cov_stats get_cov_partials.sh 1

Thanks. I did make it work with gevent. I'm not sure why it works for that case but not others.

Thanks. I did make it work with gevent. I'm not sure why it works for that case but not others.

Basically because using anything other than prefork you're not using billiard.Pool, which seems to be the sole thing that does not play well with coverage.

Could we make a simple example that uses billiard so we can debug the problem?

If I may hijack this issue, it seems the problem comes from:
* Celery uses it's own Pool implementation with `billiard.Pool` when running under `prefork`, and it doesn't play with `coverage` at all

* Celery `solo` pool, is not really a Pool, and it's just running code synchronously, so it interacts properly with `coverage` (but defeats the purpose of multiprocessing)

Ultimately this means that coverage does not provide any statistics on code run through Celery Tasks (at least when they run under the usual pool=prefork).
I added some example code https://github.com/sprezz-arthur/flaky-coverage-mre based on my previous issue #1910
You can run it simply with:
python -m cov_stats get_cov_partials.sh 1

I've provided an example based on our previous discussion. It's as simple as using billiard.Pool to run a function. I'd also like to point out the previous suggestion (explicitly closind and joining pool within the context-manager) doesn't change anything here.

Thanks, sorry I missed that.  Can you include instructions for how to properly install that repo?

Thanks, sorry I missed that. Can you include instructions for how to properly install that repo?

Alway from keyboard at the moment. I will provide a complete setup when I get back tomorrow.
For the time being I believe any version of python with:

pytest (which includes billiard)
coverage
Will do.

I got it to run with poetry install.
I've written an issue against billiard: https://github.com/celery/billiard/issues/419

Managed to get it working, somewhat following the patching done in coverage.multiproc.
I'll further test, but for the time being the patch is:
import sys
import billiard.pool
from coverage.debug import DebugControl
from typing import Any

ORIGINAL_INIT = billiard.pool.Worker.__init__
ORIGINAL_DO_EXIT = billiard.pool.Worker._do_exit

def coverage_aware_worker_init(self, *args, **kwargs):
    """
    Patched __init__ for billiard.pool.Worker.
    Start coverage once the worker is constructed.
    """

    ORIGINAL_INIT(self, *args, **kwargs)

    from coverage import Coverage
    cov = Coverage(data_suffix=True, auto_data=True)
    cov._warn_preimported_source = False
    cov.start()

    debug: DebugControl | None = cov._debug
    if debug and debug.should("multiproc"):
        debug.write(f"Worker {id(self)} coverage started.")

def coverage_aware_worker_do_exit(self, pid, exitcode, exc=None):
    """
    Patched _do_exit for billiard.pool.Worker.
    Stop & save coverage just before sys.exit().
    """
    # Because _do_exit calls sys.exit(exitcode), we have a chance to finalize coverage first.
    from coverage import Coverage
    cov = Coverage.current()  # Get the current Coverage instance, if any.

    if cov is not None:
        debug: DebugControl | None = cov._debug
        if debug and debug.should("multiproc"):
            debug.write(f"Worker {id(self)} coverage stopping (exitcode={exitcode}).")

        try:
            cov.stop()
            cov.save()
            if debug and debug.should("multiproc"):
                debug.write(f"Worker {id(self)} coverage data saved.")
        except Exception as exc:
            if debug:
                debug.write("Exception while stopping coverage in worker", exc=exc)

    ORIGINAL_DO_EXIT(self, pid, exitcode, exc)

def patch_billiard(rcfile: str) -> None:
    """
    Patch billiard.pool.Worker so that coverage is started in __init__
    and stopped/saved in _do_exit.
    """
    import os
    import billiard
    if getattr(billiard, "_coverage$patched_worker", False):
        return

    os.environ["COVERAGE_RCFILE"] = rcfile  # So child processes know .coveragerc location

    # Replace the Worker __init__ and _do_exit with our coverage-aware versions

    # TODO: why don't I need to start coverage?
    #billiard.pool.Worker.__init__ = coverage_aware_worker_init
    billiard.pool.Worker._do_exit = coverage_aware_worker_do_exit

    setattr(billiard, "_coverage$patched_worker", True)

NB: I had to patch not Pool, as done in the multiprocessing case, but rather Worker itself.
It seems billiard.pool.Worker calls _do_exit which in turn calls exit, ending the process before any coverage reporting can be done.

Hmm, thanks, I guess I overlooked that coverage.py monkey-patches multiprocessing (the hazards of a 20-year project!).   But I'm not sure what to do with this.  I don't want to add billiard-specific code to coverage.py, and I'm not sure they want to add coverage-specific code.


Allow init crop with base64 image

Hey guys.
It's just
        return scope.$watch("src", function() {
          var delimit;
          if (scope.src) {
            scope.filename = scope.src;
            delimit = scope.src.match(/\?/) ? "&" : "?";

            // HERE:
            if (scope.src.substr(0, 10) === 'data:image') {
                return loadImage(scope.src, true);
            }
            return loadImage("" + scope.src + delimit + "crossOrigin");
          }
        });

thanks, see version 0.3.5

https://github.com/standup75/cropme/blob/master/cropme.js#L431
you need to put 'return' there.

Duh, thank you (and it took me 2 more commits to do that :) )

See version 0.3.7


DCan1 RX not read

Continuing on configuring dcan as in #48 , it appears that dcanRX is not configured to read properly.
I connected the blue to a pre-existing can bus and viewed its output with a logic analyzer.
After configuring can0 to the proper bitrate, running candump can0 -L on the blue produces no data, even though traffic was seen on the logic analyzer.
WIth can0 configured with no loopback, writing to the bus fails, as shown below.

After enabling loopback, the blue can successfully write to the bus:

But it follows no arbitration and will write even if the bus is already in use. When the bus then goes to an error state, it ignores it and continues to write.

This is fairly consistent with no actual RX feedback, even though the logic analyzer tied to the RX and TX pins on the blue show proper connection.

This appears to be a similar issue?
https://groups.google.com/forum/embed/?place=forum/beagleboard&showsearch=true&showpopout=true&showtabs=false&hideforumtitle=true&parenturl=https%3A%2F%2Fbeagleboard.org%2Fdiscuss#!category-topic/beagleboard/can/2fcUNqcMTXQ

Here's how I tested CAN on Blue: https://gist.github.com/jadonk/90d3462c8569d11fa3f7caf14f4769f1

@jadonk
Sadly setting up the can interface doesn't work for me. I can send data just fine after setting it up, but cannot receive anything.

closing since CAN is not part of this git repo.


Build fails with Duplicate definition of type, exception or module

Building Paket fails for me. There are a lot of this kind of errors when running build.cmd
 3>C:\Users\dsm\Documents\github\Paket\src\Paket.Core\Versioning\Cache.fs(56,1): error FS0037: Duplicate definition of type, exception or module 'Cache' [C:\Users\dsm\Documents\github\Paket\src\Paket.Core\Paket.Core.fsproj]

Full build log is attached.
build-log.txt

I guess we need F# 4.1 installed.

Yes, that got it working, thanks!


Fix Windows tests

Fixes #62 cc @denniskl
OK, tests pass on my local VM.  There is still some issue with HDF5, I suspect due to pytables h5py interactions.

Merging if travis.ci passes.  Then moving on to binstar-build for windows testing.

Passes, merging.  @denniskl if you want to try locally and report your experience I'd appreciate it.

Great, that (mostly) works. Many thanks!


Expose LoadExtension with entry point

Expose sqlite3_load_extension with entry point argument to allow loading extensions where library name does not match entry point name, eg. libspatialite.
Solves #261

Coverage decreased (-1.4%) to 66.739% when pulling da9decb965f9e3c0cf528b5c6bc0896d27896d44 on shaxbee:master into 0d708316a6f2070c6e235a6fd1770f63e37f6360 on mattn:master.

thank you

Please put it on hold - I'm testing it on darwin right now and it seems that system installed libsqlite3 does not support extension loading.
Shall we require darwin users to use homebrew version of it which includes extension loading? If so I have a change ready for that.

It seems that forcing brew library is an only option as otherwise the go-sqlite3 will not build on darwin complaining on extension functions.

@shaxbee See https://github.com/weitzj/libspatialite to get a spatialite library for Android.

@weitzj Thanks for the link, currently I'm not building anything for Android, just wanted to solve #261 :-)


Add offset to channel id

I was getting a "key already exists in IndexedContainer" exception when trying to merge animated assets

I'm not very well versed in animations. @najadojo @sbtron  Can you please take a look?

@robertos could this be merged?


CompoundGeometry.from_points() does not assign material properties

When creating a compound geometry using the from_points technique, material properties are not assigned.
This is because is no material assignment in the CompoundGeometry.from_points() method, e.g. see here.
I have suggested an incomplete fix in #196, but needs additional work for the else statement and default value given to the materials attribute.

Hi @connorferster, I've added some test into a new branch from_points_material_fix. Looks like the Geometry.from_points() method works fine, just an issue with the CompoundGeometry.from_points().


Ability to pass keywords to ESMF, including pole_method

✨ Feature Request

The regrid call in esmpy includes many keywords which aren't yet controlable via iris-esmf-regrid. There may be a case for either adding some of these as keywords to iris-esmfiregrid classes or else the ability to add a dictionary of keywords to pass down to esmpy (when it is suitable to do so).

One underlying issue may be solved by #378.

One of the keywords for ESMPy that I'd really like to get at is the UnmappedAction - this would help us enormously with debugging.

Reference #391


ImportError: cannot import name '_valarray' from 'scipy._lib._util'

I am currently using scipy version 1.6.3 and I am getting the following error when trying to run my code:
ImportError: cannot import name '_valarray' from 'scipy._lib._util'
I can see that _valarray was removed in the feature "MAINT: Remove _util._valarray #12682", so it is perhaps unsurprising that it cannot be found. I am surprised that it is being looked for in the first place.
Could this be a bug? Is there anything I can do to deal with this issue?

Please add a reproducible example which triggers the error.


Changed Laravel 4 to 5 in composer.json

Changed Laravel 4 to 5 in composer.json to reflect the current version
;).

Think I rather drop the version number from the description, because we still support Laravel 4.

But this branch is for Laravel 5, correct? Or does it still support Laravel 4 as well? Docs said to use the 1.3 branch in that case.

Yes, but I think packagist uses the master branch for the description.

Alright, fair enough :), i'll close this then!


Created all required classes needed for TrinoToRelConverter (trino2rel)

Added skeleton classes required as a first step to allowing Trino/Presto SQL as input, based off the process of Hive to RelNode.
Note: contains a lot of "Hive specific" code as placeholders. We will update/add/remove the classes according to the future unit test result.

According to my previous experiment, the current implementation can handle most of the common Trino SQLs in Wenrui's test.

We had unresolved questions on the function registry, and whether each input dialect will have its own function registry or all input dialects can reuse the same function registry. Also, we need to make sure that we convert to the same Rel that Hive QL translates to for a semantically equivalent query. For example, a query in Trino using the strpos function should be converted to Coral IR with instr function.

@wmoustafa, for this PR, I would prefer to try to support all the supported SQLs in ParseTreeBuilderTest#getSupportedSql and clean the unnecessary code. And then, we can add functionResolver to function conversion like strpos -> instr and other corner cases. Do you think we need to use this one PR to finish all the remaining work?
And for the test, I would prefer to instantiate TrinoToRelConverter with localMetastore instead of writing a lot of SQLs to create db/table. What's your opinion on that?

@ljfgem did you mean to support all the supported SQLs in ParseTreeBuilderTest#getSupportedSql except the corner cases (because I expect the corner cases will show up there)? My preference is to start from a function translation that requires a rewrite (e.g., strpos to instr), because that will shed light on how to go about those translations that preserve semantics, which is actually the most important part of the Rel conversion.

@wmoustafa in ParseTreeBuilderTest#getSupportedSql, looks like there is no such a corner case you mentioned, so I didn't consider it.
But yeah, we can include the function translation that requires a rewrite in this PR for a test SQL like select strpos('aaa', 'a').

Thanks @KevinGe00 for the great PR! Left a few nits.

@wmoustafa @funcheetah PTAL if you get a chance, thanks!

Thanks @KevinGe00! Great work.


chore: bdd-nh-1592448132 to 0.0.1

chore: Promote bdd-nh-1592448132 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Fix responsive background image and grid areas

What does this PR do?
(Provide a description of what this PR does.)

I fixed the background in playspace, in order to make a responsive game!

Screenshots of changes made to the webapp.

(If you changed any code, please provide us with clear instructions on how you verified your changes work.)
Related PRs and Issues
(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)

Have you updated the README.md file?

[ ] yes
[x ] no

Have you made any big breakthrough change?

[ ] yes
[ x] no

Is the code beautified?

[ x] yes
[ ] no

Is the code clear to understand woth proper variable naming and comments?

[x ] yes
[ ] no

This PR is related to Improvements to the responsive part #218


Updating Flowise Hosted on Railway

Hi,
If I click "Update available" on my Flowise instance hosted on Railway and elect to update my Flowise instance, will my current flows and associated data be deleted?
Thanks!

If you created volumes when you installed flowise, you will be fine.

https://docs.flowiseai.com/configuration/deployment/railway#persistent-volume


Type-safe voltage and current units

Closes #1

Ok this is great!

I’m a bit worried it’s overkill, and that ElectricPotential is harder to follow than if we just had a Millivolts(u16) type.
I could try a type alias for Volts, Amps, etc?


Not able to build on windows

Hi, I am tryoing to build this project on windows and getting below error
$ go get github.com/lfittl/pg_query_go                                                                                # github.com/lfittl/pg_query_go/parser                                                                                In file included from .\include/c.h:1129:0,                                                                                from .\include/postgres.h:47,                                                                                from contrib_pgcrypto_sha1.c:50:                                                                                .\include/port.h:17:19: fatal error: netdb.h: No such file or directory                                                                compilation terminated.

I have tried the modules step as well but no success. I have searched for netdb.h and this file is not there in the include folder.
How I can resolve this. Thanks

I guess I have the same error as @dharmjit but the inline formatting really doesn't help in reading it 😅 (please fix it)
Microsoft Windows [Version 10.0.18363.778]
(c) 2019 Microsoft Corporation. All rights reserved.

D:\Federico\Projects>go get github.com/lfittl/pg_query_go
# github.com/lfittl/pg_query_go/parser
In file included from C:\Users\maxir\go\pkg\mod\github.com\lfittl\pg_query_go@v1.0.0\parser\include/c.h:1129,
                 from C:\Users\maxir\go\pkg\mod\github.com\lfittl\pg_query_go@v1.0.0\parser\include/postgres.h:47,
                 from contrib_pgcrypto_sha1.c:50:
C:\Users\maxir\go\pkg\mod\github.com\lfittl\pg_query_go@v1.0.0\parser\include/port.h:17:10: fatal error: netdb.h: No such file or directory
   17 | #include <netdb.h>
      |          ^~~~~~~~~
compilation terminated.

I really don't know what this is and what I'm talking about, so I tried a bare bone "googling" and a quick browsing led to similar issues in other codebases like here and here but you can find tons of them across multiple programming languages. From my understanding it all boils down to different dependencies under Windows and Unix.
Here  is some info on the library.
The general agreement I found on the subject is to use a conditional including, under windows host the library to be used should be #include <winsock2.h> but further analysis is needed to pinpoint the fix.
Anyway the bug clearly isn't related specifically to github.com/lfittl/pg_query_go but rather to its external dependencies needs.

I was just trying this out in a test project, but right now it seems like the include file that is missing is expected to be in this project. Is this because this is work in progress?
The include file that is missing should be parser/include/port/win32_port.h and is included from here:
https://github.com/pganalyze/pg_query_go/blob/main/parser/include/port.h#L24C29-L24C29
Compiler error on Widows:
# github.com/pganalyze/pg_query_go/v4/parser
In file included from ..\..\go\pkg\mod\github.com\pganalyze\pg_query_go\v4@v4.2.3\parser\include/c.h:1387,
                 from ..\..\go\pkg\mod\github.com\pganalyze\pg_query_go\v4@v4.2.3\parser\include/postgres.h:46,
                 from pg_query_internal.h:4,
                 from pg_query.c:2:
..\..\go\pkg\mod\github.com\pganalyze\pg_query_go\v4@v4.2.3\parser\include/port.h:24:10: fatal error: port/win32_port.h: No such file or directory
   24 | #include "port/win32_port.h"
      |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.

I was just trying this out in a test project, but right now it seems like the include file that is missing is expected to be in this project. Is this because this is work in progress? The include file that is missing should be parser/include/port/win32_port.h and is included from here: https://github.com/pganalyze/pg_query_go/blob/main/parser/include/port.h#L24C29-L24C29
Compiler error on Widows:
# github.com/pganalyze/pg_query_go/v4/parser
In file included from ..\..\go\pkg\mod\github.com\pganalyze\pg_query_go\v4@v4.2.3\parser\include/c.h:1387,
                 from ..\..\go\pkg\mod\github.com\pganalyze\pg_query_go\v4@v4.2.3\parser\include/postgres.h:46,
                 from pg_query_internal.h:4,
                 from pg_query.c:2:
..\..\go\pkg\mod\github.com\pganalyze\pg_query_go\v4@v4.2.3\parser\include/port.h:24:10: fatal error: port/win32_port.h: No such file or directory
   24 | #include "port/win32_port.h"
      |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.

This is because Postgres itself supports Windows, but libpg_query (and pg_query_go by extent) does not today. See https://github.com/pganalyze/libpg_query/issues/44

Windows support has been added in #107 and released as v5.1.0.


Fix "instance variable @options not initialized" warning in verbose mode

When running in verbose mode (-w or --verbose or $VERBOSE = true), when instantiating any renderer (subclass of Redcarpet::Render::Base) without parameters, warning is shown about @options not initialized:
warning: instance variable @options not initialized

(For example, it can be seen if running RUBYOPT=-w rake test)
It's caused by accessing @options with rb_iv_get:
https://github.com/vmg/redcarpet/blob/1c71f5edcd113d6eb8fcc17cde17878b8adcd3d0/ext/redcarpet/rc_render.c#L414-L415
Replaced it with rb_attr_get, according to source, it's the same as rb_ivar_get but without warnings and without conversion of undef to nil, not sure if it's the right method by design (seems that it is).
Also not sure what is purpose for @options in render objects: there are no reads of it and all options are passed to actual renderer in constructor only, overwriting @options later is meaningless. Redcarpet::Markdown object adds its options to it when initialized but I can't figure out where these options are used (and these options are not for renderer but for "extensions"). Update: it's feature #560 and intended for custom renderers to be able to access "extension options" and not only renderer options passed in constructor.
I can try to detect warnings in tests, but I'm not sure if it's right idea (it can only be done in quirky ways such as capturing stderr), so not changed tests for now.

Thank you very much @kolen ! :-)


Package launcher scripts better for the zip/tar packages

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
Atom includes launcher scripts that handle various details required for better interaction with the platform. For example, on Windows the script for launching Atom handles the fact that Atom is a GUI (Windows Subsystem) application and makes it behave properly with console output, waiting for it to exit, or detaching from the shell. As another example, the script in Linux/Mac is meant for launching from the shell (Not from a .desktop file or similar) and handles setting ATOM_DISABLE_SHELLING_OUT_FOR_ENVIRONMENT and various other details that are somewhat similar to what is done in Windows.
Another issue is that there is no visible script for launching apm in the Linux/Mac zip/tar packages. You have to dig into resources\app\apm\bin\apm to run it, which is confusing for users not familiar with Atom's internals. I think the deb/rpm packages include a symlink but the zip/tar packages include no such thing.
I think that for all platforms such scripts should be packaged inside a bin folder at the root of the Atom installation. This way they are more visible, and you have a clear directory to add to your PATH.
The scripts for Windows are here resources/win, and the script that is used in Linux/Mac is here atom.sh. apm on Linux/Mac includes it's own scripts and a symlink is created for the non tar/zip packages.
Steps to Reproduce

Look at the contents of the portable zip

Expected behavior: I expect the launcher scripts to be packaged visibility.
Actual behavior: They are packaged inside the resources folder slightly out of view. apm on Linux/Mac is hidden deeply.
Reproduces how often: 100%
Versions
Windows 10.0.16299.248 x64

Atom    : 1.24.0
Electron: 1.6.16
Chrome  : 56.0.2924.87
Node    : 7.4.0

apm  1.18.12
npm  3.10.10
node 6.9.5 x64
atom 1.24.0
python 2.7.14
git 2.16.2.windows.1
visual studio 2015

Either a README in the root of the archive or potentially putting the launch scripts themselves in the root would address this.


pull request for e2e test at 11/10/2016 04:15:08

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

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


[#1848] Move python generators from Samples to "generators" - Empty bot

Addresses # 1848
#minor
Description
This PR adds the python generators' Empty bot from the BotBuider-Samples repository.
Detailed Changes

Added generators/app/templates/empty folder

Testing
These images show the empty bot being generated and working.

Promoted to MS in PR# 1868


Create a separate UI for invoking an analysis

With the addition of new API requests to fetch an analysis output, we need a new UX / UI which is differentiated from the standard layer views. A user needs to:

Configure an analysis
Run the analysis
Receive an indication of the analysis job's status
View the results as a map or table
Download the results

Some rough ideas below but please suggest options / alternatives.
Separate UI element to run an analysis

Analysis pane activated:

After staring an analysis job, some user awareness of status:

Buttons active when the analysis job is complete. User can view or download the results:

View the results as a map:

View the results as a table:

The API I currently see from #80 is for zonal statistics. Is there a new one that could be used to calculate the map and table data? If so, how might one use it in relation to all the fields listed here? If this API is still a WIP, we can work on creating the barebones UI and make some fake filler functions that return filler JSON that can later be replaced with the actual API calls.
To make it more obvious the analysis has completed, we can leverage #87 here to create a notification once the analysis is done.

What about using dropdowns instead of radio buttons? Since we don't have a lot of space to work with, a dropdown could help simplify the menu a little and also help ensure future layers don't break the menu somehow by taking more space.
We could keep radio buttons for the statistic type.

Good suggestion to use dropdowns. The mockups were just to show what was happening in terms of flow. Definitely prefer an implementation that will work regardless of number of available layers, analysis types, etc.

I thought it would be neat to click a table row and for the corresponding tooltip to open on the map, so I made it here:
https://github.com/oviohub/prism-frontend/pull/92/commits/d7e9d2186887615aeac0f9c14133054a04f660d3
without putting too much effort into actually displaying meaningful data in the tooltip (mostly a proof-of-concept).
Should we try make it a proper feature?
There are some caveats - its really hard to make the tooltip appear in the middle of a state since we only have boundary points, so the tooltip is always on a boundary. We could put in the effort to run a calculation to find the middle?

I thought this mockup to show the analysis to user so that is easy for him to see the current details for which the analysis is created.
UX Design:

Currently, RUN ANALYSIS and DOWNLOAD buttons are at the end of the table, so the user has to scroll down to click them
New, All these buttons would be stick to the footer
The summary would be scrollable for the user

I thought it would be neat to click a table row and for the corresponding tooltip to open on the map,

Great idea Ryan! I definitely find it useful to have interaction between the table and map view. It would be great to have this implemented, with the tooltip in the center of the polygon as you suggested. Not a high priority at the moment, but a great feature to have.

I thought this mockup to show the analysis to user so that is easy for him to see the current details for which the analysis is created.
UX Design:

Currently, RUN ANALYSIS and DOWNLOAD buttons are at the end of the table, so the user has to scroll down to click them
New, All these buttons would be stick to the footer
The summary would be scrollable for the user

Yes, this is a good suggestion. +1 from me to implement this


fixed the newsletter section and also made navbar responsive and fixe…

fixed the newsletter section and also made navbar responsive and fixed the ui of navbar of small screen

Please resolve conflicts also add issue no. which issue you are solving like # issue_no


Creating a CLI for a REST API (ep. 20)

Fixes #109

Deploy preview processing.
Built with commit 924259281d5a7dbc2301f456cff159d0357fa1be
https://app.netlify.com/sites/goin5minutes/deploys/58290754a7e2d21dd5d91a2b


New game Path_Finder_Challenge

PR Description 📜
Please include summary related to the issue you have fixed and describe your PR in brief over here by specifying the issue number on which you were working below
on which you were working below
Game logic and basic description
Path Finder Challenge is a grid-based puzzle game where the player must navigate from a source tile to a destination tile on an 8x8 grid. The grid contains various types of tiles, including normal tiles, obstacles, bonuses, and special tiles. The player interacts with the grid by clicking on tiles to select a path. The game ends when the player either successfully reaches the destination or runs out of time. If the player selects an obstacle tile, they lose points. The game also features a timer and a scoring system to track the player’s progress.
Features :
-Fixed Grid Layout: The grid is static, with a consistent layout where the source is always in the top-left corner and the destination is in the bottom-right corner.
-Tile Types:
Normal Tiles:, Obstacle Tiles, Bonus Tiles
-Score System: Players earn points for selecting normal and bonus tiles and lose points for selecting obstacles.
-Timer: A countdown timer limits the duration of the game. The game ends when the timer reaches zero.
-Selection Path: Players can select a path from the source to the destination. The tiles on the selected path are highlighted.
-Restart and Start Game: Buttons are provided to start a new game or restart the current game.
-Dark Theme Option: A toggle button allows switching between light and dark themes for better visual comfort.
Also Included image for Alien Language Translator
Fixes #5134

Mark the task you have completed ✅

[ x ] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[ x ] I have performed a self-review of my own code or work.
[ x ] I have commented my code, particularly in hard-to-understand areas.
[ x ] My changes generates no new warnings.
[ x ] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[ x ] I have added screenshot for website preview in assets/images
[ x ] I have added entries for my game in GameZone's README.md
[ x ] I have added README.md in my Game folder
[ x ] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @nikki-05 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Thank you  @nikki-05 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Evaluation hack: decorations for inserting #pragmas into generated source

OK. I feel the need to apologize for how hacky this solution is before I even start explaining it.
It's a huge hack and I'm sorry.
There we have it.

As per #211 (items 2 and 3), this adds a new decor (i.e., decoration) command, whose purpose is to insert arbitrary strings that are then inserted in to the generated source code. They have no semantics. You do this:
decor "#pragma SDS data copy(m1[0:row_size][0:col_size])"

and it inserts that #pragma directly into the generated C++. The idea is that, for evaluation purposes, we want to insert some pragmas into the HLS source code that we never intend to support as first-class language features. They're tool-specific garbage that is not interesting from a language/type system perspective; they're just annotations necessary to make the complete evaluation work. This includes the SDSoC pragmas, IMO, because they're just about host/FPGA data movement—not at all about the actual logic HLS, which is what our language (currently) targets.
These decor constructs can appear in two locations:

In the normal flow of commands (they're treated as a "block" command), in which case they get inserted (on their own line) at that point in the function. This is useful for loop annotations, for example, where you want to give a loop trip count for estimation purposes.
At the top of the file, before the decls, in which case they get emitted right before the C++ kernel function. This is useful for function-level pragmas, like the SDSoC one in my example above, that annotate the function arguments.

I also considered making these a little more complicated, so they'd be backend-sensitive—that is, you'd says something like decl vivado "#pragma ..." to insert an annotation only when generating Vivado code. But I thought that was a little too much too soon.

Here's an example. In our machsuite-gemm-blocked benchmark, I changed the file to look like this:
decor "#pragma SDS data copy(m1[0:row_size][0:col_size])"
decor "#pragma SDS data zero_copy(prod[0:row_size][0:col_size])"

decl m1: float[4096];
decl m2: float[4096];
decl prod: float[4096];

let temp_x:float = 0.0;
let mul:float = 0.0;

let i_row:bit<32> = 0;
let k_row:bit<32> = 0;

let jj:bit<32> = 0;
while (jj < 64) {
  let kk:bit<32> = 0;
  while (kk < 64) {
    for (let i = 0..64) {
      for (let k = 0..8) {
        i_row := i * 64;
        k_row := (k + kk) * 64;
        temp_x := m1[i_row + k + kk];
        for (let j = 0..8) {
          mul := temp_x * m2[k_row + j + jj];
          let temp = prod[i_row + j + jj];
          ---
          prod[i_row + j + jj] := temp + mul;
        }
      }
    }
    kk := kk + 8;
  }
  jj := jj + 8;
}

With this PR, that source now compiles to this:
// Avoid using `ap_int` in "software" compilation.
#ifdef __SDSVHLS__
#include "ap_int.h"
#else
template <int N> using ap_int = int;
#endif

#pragma SDS data copy(m1[0:row_size][0:col_size])
#pragma SDS data zero_copy(prod[0:row_size][0:col_size])
void gemm(float m1[4096], float m2[4096], float prod[4096]) {

  float temp_x = 0.0;
  float mul = 0.0;
  ap_int<32> i_row = 0;
  ap_int<32> k_row = 0;
  ap_int<32> jj = 0;
  while((jj < 64)) {
    ap_int<32> kk = 0;
    while((kk < 64)) {
      for(int i = 0; i < 64; i++) {
        for(int k = 0; k < 8; k++) {
          i_row = (i * 64);
          k_row = ((k + kk) * 64);
          temp_x = m1[(i_row + (k + kk))];
          for(int j = 0; j < 8; j++) {
            mul = (temp_x * m2[(k_row + (j + jj))]);
            float temp = prod[(i_row + (j + jj))];
            //---
            prod[(i_row + (j + jj))] = (temp + mul);
          }
        }
      }
      kk = (kk + 8);
    }
    jj = (jj + 8);
  }
}

That's pretty much what we want!

It's a huge hack, but this totally seems the right way to do it! It also makes it easy to audit the uses of decor and see if we're using it as an escape hatch for something that should actually exist in the language.


Hide body and content overflow

Try to fix a not necessary overflow.
On my pc the webview has an overflow that is not necessary, this appeas to be a "bug":

I changed the overflow value and tested locally.
Fixed for me:

That's all, thanks.
--also thanks for the great work in this app o/

:+1:


Version 4.1 documented but not published

Hello, first of all congratulate them for this excellent framework, it helps a lot to launch applications quickly.
My observation is that reading the documentation appear features that have not yet been published, specifically the option to generate validators in the console (adonis make: validator StoreUser) which corresponds to version 4.1, however the latest published version is 4.0.
Do you have an estimated date of publication of this version?

Hey @kattatzu! 👋
Sorry for the very late reply!
I didn't get your issue, the documentation for version 4.1 are published on the website.

But how can we use features from 4.1 version?) Cli is just 4.0.12 version, where we don't have make:test make:validator commands, and so on. Do you have date of release cli for current version of documentation? Thanks a lot

Hey @IlyaSovenko! 👋
The CLI has its own version.
Feel free to follow the documentation to install testing packages.


Multiple windows showing PowerToys errors.

Microsoft PowerToys version
0.64.1
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
General
Steps to reproduce
I do nothing to get the error. May be it was trying to update the apps or any other background process.
✔ Expected Behavior
Nothing
❌ Actual Behavior
Five windows appears showing an error "Something went wrong" with instructions to send the log file to PowerToys GitHub Repository.
2022-11-28.txt
2022-11-27.txt
2022-11-24.txt
2022-11-25.txt
2022-11-26.txt
Other Software
No response

Same happening with me too but my log is a bit different. I just turned on my laptop and it's showing this error
2022-11-27.txt
2022-11-28.txt

Can you please upgrade to latest 0.73 and verify if the issue still occur?
/needinfo


Fix bug with Journey Imports

Fixes the bug mentioned in this issue: https://github.com/rockcarver/frodo-cli/issues/457
A few comments were also added to clarify why we use JSON.stringify and JSON.parse for scripts in journey exports and imports.
This update broke a few of the journey import tests in frodo-cli, so I made a PR there as well to fix those tests.

Merge in this PR first so that the pipeline doesn't fail when this is merged in.


Move tests of acr to the root of the package folder.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #2432   +/-   ##
=======================================
  Coverage   72.16%   72.16%
=======================================
  Files         334      334
  Lines       18741    18741
  Branches     2772     2772
=======================================
  Hits        13524    13524
  Misses       4350     4350
  Partials      867      867

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 22d906e...5a54748. Read the comment docs.

@djyou can you approve this PR?
Instruction: https://help.github.com/articles/approving-a-pull-request-with-required-reviews/


CollectionAssert.AreEqual for collection of collections ignores even-items

Describe the bug
CollectionAssert.AreEqual for collection of collections ignores even-items in the collection.
Steps To Reproduce
int[][] expected = [[1, 2], [3, 4], [5, 6], [7, 8], [9]];
int[][] actual = [[1, 2], [999, 999, 999, 999, 999], [5, 6], [/*empty*/], [9]];
CollectionAssert.AreEqual(expected, actual); // Passed!

Expected behavior
Collections are not equal
Actual behavior
The test is passed
Additional context
MSTest.TestFramework: v3.6.0 (since the CollectionAssert for collection of collections are enabled)

@engyebrahim please investigate and fix urgently so we can insert into 3.6.1.


https://largelots.datamade.us/lots-admin-map/ show no applied for lots

Related to #157

Dupe of #157. closing


Remove default action from new applications

Actual
When we create a new application with lotus new, it generates a default action.
It was introduced before the action generator (#166) was available. It used to offer a nice onboarding experience for new developers.
Proposed Change
Now that the action generator is shipped, there is no reason to generate this default action.
In order to guide new developers, we should change the message of the default page that appears when no routes are available.

Please generate a new action with bundle exec lotus generate action web home#index

Implemented by #258


Added support for .NET Core 3.0 and AppMetrics 3.2.0

The issue or feature being addressed

#27

Details on the issue fix or feature implementation
Added support for .NET Core 3.0 and AppMetrics 3.2.0
Confirm the following

[X] I have ensured that I have merged the latest changes from the dev branch
[X] I have successfully run a local build
[X] I have included unit tests for the issue/feature
[X] I have included the github issue number in my commits

any chance getting this merged?

Is this project supported?

Are you going to merge this .netcore 3.0 support?


[BUG]: Updating location Prisma binaries for linux builds. [21700:0331/163659.380261:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.portal.Error.NotFound: 未找到请求的设置 Prisma schema loaded from prisma/schema.prisma Datasource "db": SQLite database "anythingllm.db" at "file:/home/can/.config/anythingllm-desktop/storage/anythingllm.db"  Error: Schema engine error:  Prisma schema loaded from prisma/schema.prisma Error: EROFS: read-only file system, unlink '/tmp/.mount_Anythi2fjdh3/resources/backend/node_modules/.prisma/client/index.js'  [OllamaProcessManager] Ollama will bind on port 36215 when booted.

How are you running AnythingLLM?
AnythingLLM desktop app
What happened?
Updating location Prisma binaries for linux builds.
[21700:0331/163659.380261:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.portal.Error.NotFound: 未找到请求的设置
Prisma schema loaded from prisma/schema.prisma
Datasource "db": SQLite database "anythingllm.db" at "file:/home/can/.config/anythingllm-desktop/storage/anythingllm.db"
Error: Schema engine error:
Prisma schema loaded from prisma/schema.prisma
Error:
EROFS: read-only file system, unlink '/tmp/.mount_Anythi2fjdh3/resources/backend/node_modules/.prisma/client/index.js'
[OllamaProcessManager] Ollama will bind on port 36215 when booted.
Are there known steps to reproduce?
ubuntu system

Does this stop the app from booting? Please dont open this issue again as a duplicate. Respond in the thread with the requested information so we can debug and determine if this is really a bug
Duplicate of https://github.com/Mintplex-Labs/anything-llm/issues/1000

这会阻止应用程序启动吗？请不要再次以重复形式打开此问题。在线程中响应请求的信息，以便我们可以调试并确定这是否真的是一个错误
#1000 的副本
yes,it stop the app from booting


adds readme todo

I got the scroll spy to work for nested and also made nested optional. It also works for non animated. But for animated, at the moment it still starts from 0 from within the inner div (the window scrolls correctly from current position but the div scrolling starts from 0 in the div). I'm actively working on finding a solution


AutoAttack skips attacks not supporting targeted mode

Description

Adding provision to attack.py so that attempted modification of a non-supported attack parameter raises a ValueError.
Adding try/except to AutoAttack so that attacks which do not support targeted mode are skipped.

Fixes #2256
Type of change
Please check all relevant options.

[ ] Improvement (non-breaking)
[x] Bug fix (non-breaking)
[ ] New feature (non-breaking)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Testing
Please describe the tests that you ran to verify your changes. Consider listing any relevant details of your test configuration.

[x] Test A

Test Configuration:

OS: macOS
Python version: 3.10
ART version or commit number: 1.15.1

Checklist

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Codecov Report

Merging #2257 (d627d3d) into dev_1.16.0 (a00dca2) will decrease coverage by 64.46%.
The diff coverage is 0.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@               Coverage Diff               @@
##           dev_1.16.0    #2257       +/-   ##
===============================================
- Coverage       85.64%   21.18%   -64.46%
===============================================
  Files             313      313
  Lines           27810    27811        +1
  Branches         5086     4663      -423
===============================================
- Hits            23819     5893    -17926
- Misses           2696    21845    +19149
+ Partials         1295       73     -1222

Files Changed
Coverage Δ

art/attacks/attack.py
61.70% <0.00%> (-31.16%)
:arrow_down:

art/attacks/evasion/auto_attack.py
21.97% <0.00%> (-62.47%)
:arrow_down:

... and 253 files with indirect coverage changes


[Feature request]Internationalization

Is your feature request related to a problem? Please describe.
Now only Chinese, English, Spanish, more languages are needed
Describe the solution you'd like
Add more languages file in src/locale

Resource file naming convention : https://zhuanlan.zhihu.com/p/50620931

Add new language support ： 繁体中文

This source file seems to contain hard-coded Chinese (as used in alert and tooltip).
https://github.com/mengshukeji/Luckysheet/blob/b8dec25a13e3c9a906200397e01ab6f1b35502b8/src/controllers/selection.js#L633
Hyperlink popup also contains hard-coded Chinese.
https://github.com/mengshukeji/Luckysheet/blob/59aa5e6e07cacb506564f0a1f685f4f6d031d2fe/src/controllers/hyperlinkCtrl.js#L324