Meet RuntimeError about bbox datatype when train on retinanet r101 on coco dataset

Hello, here is my problem:
2019-04-28 19:11:41,479 - INFO - Start running, host: wei@wei, work_dir: /home/wei/github/mmdetection-master/tools/work_dirs/test
2019-04-28 19:11:41,479 - INFO - workflow: [('train', 1)], max: 2 epochs
Traceback (most recent call last):
File "/home/wei/github/mmdetection-master/tools/train.py", line 90, in
main()
File "/home/wei/github/mmdetection-master/tools/train.py", line 86, in main
logger=logger)
File "/home/wei/github/mmdetection-master/mmdet/apis/train.py", line 59, in train_detector
_non_dist_train(model, dataset, cfg, validate=validate)
File "/home/wei/github/mmdetection-master/mmdet/apis/train.py", line 121, in _non_dist_train
runner.run(data_loaders, cfg.workflow, cfg.total_epochs)
File "/home/wei/anaconda3/envs/py36/lib/python3.6/site-packages/mmcv/runner/runner.py", line 355, in run
epoch_runner(data_loaders[i], **kwargs)
File "/home/wei/anaconda3/envs/py36/lib/python3.6/site-packages/mmcv/runner/runner.py", line 261, in train
self.model, data_batch, train_mode=True, **kwargs)
File "/home/wei/github/mmdetection-master/mmdet/apis/train.py", line 37, in batch_processor
losses = model(**data)
File "/home/wei/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/home/wei/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/parallel/data_parallel.py", line 141, in forward
return self.module(*inputs[0], **kwargs[0])
File "/home/wei/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/home/wei/github/mmdetection-master/mmdet/models/detectors/base.py", line 80, in forward
return self.forward_train(img, img_meta, **kwargs)
File "/home/wei/github/mmdetection-master/mmdet/models/detectors/single_stage.py", line 55, in forward_train
*loss_inputs, gt_bboxes_ignore=gt_bboxes_ignore)
File "/home/wei/github/mmdetection-master/mmdet/models/anchor_heads/anchor_head.py", line 198, in loss
sampling=sampling)
File "/home/wei/github/mmdetection-master/mmdet/core/anchor/anchor_target.py", line 63, in anchor_target
unmap_outputs=unmap_outputs)
File "/home/wei/github/mmdetection-master/mmdet/core/utils/misc.py", line 24, in multi_apply
return tuple(map(list, zip(*map_results)))
File "/home/wei/github/mmdetection-master/mmdet/core/anchor/anchor_target.py", line 120, in anchor_target_single
gt_bboxes_ignore, gt_labels)
File "/home/wei/github/mmdetection-master/mmdet/core/bbox/assigners/max_iou_assigner.py", line 76, in assign
overlaps = bbox_overlaps(gt_bboxes, bboxes)
File "/home/wei/github/mmdetection-master/mmdet/core/bbox/geometry.py", line 49, in bbox_overlaps
lt = torch.max(bboxes1[:, None, :2], bboxes2[:, :2])  # [rows, cols, 2]
RuntimeError: Expected object of scalar type Float but got scalar type Double for argument #2 'other'
Here is a sample of my annotation file:
{'id': 2, 'image_id': 0, 'category_id': 5, 'iscrowd': 0, 'segmentation': [], 'area': 11800, 'bbox': [296, 244, 118, 100], 'minAreaRect': [[411, 345], [289, 270], [316, 226], [438, 301]]}
I have no idea where should change, or where I did wrong. Thanks in advance for help!

Hi @hbhflw2000 ,
The error indicates that "bboxes1", namely "gt_bboxes" has a type Double. However, a type Float is required (due to the predicted "bboxes").
Please make sure that the "gt_bboxes" that you have is properly converted to a type of float32. For your reference, in mmdet/datasets/coco.py, we have a gt_bboxes of type np.float32.

Hi @hbhflw2000 ,
The error indicates that "bboxes1", namely "gt_bboxes" has a type Double. However, a type Float is required (due to the predicted "bboxes").
Please make sure that the "gt_bboxes" that you have is properly converted to a type of float32. For your reference, in mmdet/datasets/coco.py, we have a gt_bboxes of type np.float32.

Thanks very much. I tried to convert the gt_bboxes to float32, and now it works! I really appreciate your help.


Option to store null values into the local cache

Is your feature request related to a problem? Please describe.
I have an application that is using Hazelcast "near cache" extensively and I'm evaluating a migration to Redis using Redisson "local cache" because I would like to use the AWS ElastiCache Redis service. This application does thousands of cache reads for every user request, so the "local cache" is really needed.
For testing purposes, I launched the same request twice to this application using Hazelcast and twice using Redis, and I saw that the second execution time for the Redis application was higher than the second execution time for the Hazelcast application. It was very surprising considering that the second request should read the data from the "local cache" (redisson).
I debugged the application code and I found that it does hundreds of cache misses. On the othe hand, I found that Redisson only updates the local cache when reading the map value from redis gives a not null value. This redisson code is in RedissonLocalCachedMap.getAsync():
future.onComplete((value, e) -> {
    (...)
    if (value != null) {
        cachePut(cacheKey, key, value);
    }
});

So, considering that our application does hundreds of cache misses and that Redisson local cache always tries to read the value from redis (even when it tried to read the same key before), it is reasonable that our application performs worse than expected.
Describe the solution you'd like
In order to improve our application performance when using Redis I think that it would be helpful to be able to add null values to the Redisson local cache, maybe adding an extra option in LocalCachedMapOptions; something like cacheNullValues, with a false value by default. I think that something related was fixed in #928 and #853
Describe alternatives you've considered
I have not considered an alternative :disappointed:

I am willing to work on a pull request to implement this feature. Would it be ok?

Yeah. You could add allowNullValues setting to LocalCachedMapOptions object.

Merged

Could this be added to LocalCacheConfiguration for JCache as well?

@theigl
I created separate issue for this task https://github.com/redisson/redisson/issues/3313


Vox Pupuli migration

Hello @dalen,
Thanks for the great module however looking at the issues, open PR's and supported versions  it would seem that this module is possibly now abandoned, suspect you have moved on to more fun/different projects.  If that is the case i wonder if you would be willing to migrate the repo to voxpupil, id be happy to do the work for this and maintain the module going forward but would need access to the repo to transfer it
Thanks

Sure, invited you as collaborator on it.
I have a couple of other modules that could be moved to voxpopuli as well.

great thanks ill pick this up once i have clocked off for the day

hey @dalen, long time no see! I added you to our migrationa github group at Vox Pupuli. You should be able to migrate puppet-dnsquery.

@dalen just as an update i didn't have the required permissions to transfer the repo, i gusse you need to be the owner.  Anyway as said if you can transfer the repo to voxpupuli i can pick up the rest of the task from there thanks

it is migrated to voxpopuli org now. Thanks for taking over the maintenance of it. If there's any of my other old modules still of interest feel free to take care of them as well.
I guess puppetdbquery was the most popular, but I imagine everyone has moved over to the build in query functions in puppetdb by now, even if they are a bit more verbose to write.

thanks @dalen i was on vacation last week ill pick this up tomorrow :)


[BUG] Cannot find module package/lib/cli/cli.js

System info

Playwright Version: [v1.31.0]
Operating System: Mac
Browser: All
Other info:

After a long-running session, a simple, unadorned Playwright.create() can start failing with:
com.microsoft.playwright.PlaywrightException: Failed to read message from driver, pipe closed.

	at com.microsoft.playwright.impl.PipeTransport.poll(PipeTransport.java:75)
	at com.microsoft.playwright.impl.Connection.processOneMessage(Connection.java:175)
	at com.microsoft.playwright.impl.ChannelOwner.runUntil(ChannelOwner.java:109)
	at com.microsoft.playwright.impl.Connection.sendMessage(Connection.java:119)
	at com.microsoft.playwright.impl.ChannelOwner.sendMessage(ChannelOwner.java:102)
	at com.microsoft.playwright.impl.Connection$Root.initialize(Connection.java:79)
	at com.microsoft.playwright.impl.Connection.initializePlaywright(Connection.java:152)
	at com.microsoft.playwright.impl.PlaywrightImpl.createImpl(PlaywrightImpl.java:52)
	at com.microsoft.playwright.impl.PlaywrightImpl.create(PlaywrightImpl.java:35)
	at com.microsoft.playwright.Playwright.create(Playwright.java:110)
	at com.microsoft.playwright.Playwright.create(Playwright.java:114)
Caused by: java.io.EOFException
	at com.microsoft.playwright.impl.ReaderThread.readIntLE(PipeTransport.java:110)
	at com.microsoft.playwright.impl.ReaderThread.readMessage(PipeTransport.java:139)
	at com.microsoft.playwright.impl.ReaderThread.run(PipeTransport.java:125)

It took me a long while to realise what was going on.
On stdout, which can be logged to a separate place relative to that of Java exceptions, I noticed:
node:internal/modules/cjs/loader:1050
  throw err;
  ^

Error: Cannot find module '/private/var/folders/yc/h50n8fgn0h79y848sfkr942h0000gn/T/playwright-java-17403553361898517108/package/lib/cli/cli.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1047:15)
    at Module._load (node:internal/modules/cjs/loader:893:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

So the issues that I would pinpoint/suggest are:

the Java exception doesn't provide a hint of what might be going on

in particular, it's not safe to assume that Java exceptions will be printed to the same place than stdout/stderr, so relying on node.js output alone is not self-contained

'/private/var/folders/yc/h50n8fgn0h79y848sfkr942h0000gn/T/playwright-java-17403553361898517108/package/lib/cli/cli.js' was gone, for whatever reason

hint 1: this was a very long-running session

are these Unix tmp files?

hint 2: I ran node commands in this directory during this time

may a node invocation spoil playwright's node?

neither 'hint' is necessarily conclusive - I just hope they help

After restating the JVM session, the issue was gone. Therefore it's hard to reproduce, sorry.
Thanks - V

On stdout, which can be logged to a separate place relative to that of Java exceptions, I noticed:

This is stderr output which is indeed maybe printed to a different place.

the Java exception doesn't provide a hint of what might be going on

in particular, it's not safe to assume that Java exceptions will be printed to the same place than stdout/stderr, so relying on node.js output alone is not self-contained

We can probably also include a few last stderr lines into the exception. Currently stderr output from the driver process is simply piped to stderr of the parent process (where the test runs), so you should already be able to see all those errors as part of stderr.

'/private/var/folders/yc/h50n8fgn0h79y848sfkr942h0000gn/T/playwright-java-17403553361898517108/package/lib/cli/cli.js' was gone, for whatever reason

hint 1: this was a very long-running session

are these Unix tmp files?

Yes, this is how playwright works today. We first extract the driver in a temp directory and then run it from there. We may replace that with a step where we download the driver once during installation / first run.

hint 2: I ran node commands in this directory during this time

may a node invocation spoil playwright's node?

Playwright doesn't expect anyone else to touch the node modules / run any node commands in that directory. Even though merely running some node.js commands in that directory may be hamless, others may well modify the driver in an unexpected way.

Sorry for the confusion, I had only run node in my project directory, not in the temp directory. I guess that no interference can happen then.

Yes, this should not matter.

having some similar scenario error, please any one. HELP....
"C:\Program Files\Java\openjdk-21\bin\java.exe" -ea -Didea.test.cyclic.buffer.size=1048576 "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2<IP_ADDRESS>\lib\idea_rt.jar=52140:C:\Program Files\JetBrains\IntelliJ IDEA 2<IP_ADDRESS>\bin" -javaagent:C:\Users\CTram\AppData\Local\JetBrains\IntelliJIdea2024.3\captureAgent\debugger-agent.jar -Dkotlinx.coroutines.debug.enable.creation.stack.trace=false -Ddebugger.agent.enable.coroutines=true -Dkotlinx.coroutines.debug.enable.flows.stack.trace=true -Dkotlinx.coroutines.debug.enable.mutable.state.flows.stack.trace=true -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 -classpath "C:\Program Files\JetBrains\IntelliJ IDEA 2<IP_ADDRESS>\lib\idea_rt.jar;C:\Program Files\JetBrains\IntelliJ IDEA 2<IP_ADDRESS>\plugins\testng\lib\testng-rt.jar;C:\Users\CTram\Desktop\playwright-automation-framework\target\test-classes;C:\Users\CTram\Desktop\playwright-automation-framework\target\classes;C:\Users\CTram.m2\repository\com\microsoft\playwright\playwright\1.45.1\playwright-1.45.1.jar;C:\Users\CTram.m2\repository\com\google\code\gson\gson\2.11.0\gson-2.11.0.jar;C:\Users\CTram.m2\repository\com\google\errorprone\error_prone_annotations\2.27.0\error_prone_annotations-2.27.0.jar;C:\Users\CTram.m2\repository\org\opentest4j\opentest4j\1.3.0\opentest4j-1.3.0.jar;C:\Users\CTram.m2\repository\com\microsoft\playwright\driver\1.45.1\driver-1.45.1.jar;C:\Users\CTram.m2\repository\com\microsoft\playwright\driver-bundle\1.45.1\driver-bundle-1.45.1.jar;C:\Users\CTram.m2\repository\io\cucumber\cucumber-java\7.20.1\cucumber-java-7.20.1.jar;C:\Users\CTram.m2\repository\io\cucumber\cucumber-core\7.20.1\cucumber-core-7.20.1.jar;C:\Users\CTram.m2\repository\io\cucumber\cucumber-gherkin\7.20.1\cucumber-gherkin-7.20.1.jar;C:\Users\CTram.m2\repository\io\cucumber\cucumber-gherkin-messages\7.20.1\cucumber-gherkin-messages-7.20.1.jar;C:\Users\CTram.m2\repository\io\cucumber\gherkin\28.0.0\gherkin-28.0.0.jar;C:\Users\CTram.m2\repository\io\cucumber\messages\24.1.0\messages-24.1.0.jar;C:\Users\CTram.m2\repository\io\cucumber\testng-xml-formatter\0.2.0\testng-xml-formatter-0.2.0.jar;C:\Users\CTram.m2\repository\io\cucumber\query\12.2.0\query-12.2.0.jar;C:\Users\CTram.m2\repository\io\cucumber\tag-expressions\6.1.0\tag-expressions-6.1.0.jar;C:\Users\CTram.m2\repository\io\cucumber\cucumber-expressions\17.1.0\cucumber-expressions-17.1.0.jar;C:\Users\CTram.m2\repository\io\cucumber\datatable\7.20.1\datatable-7.20.1.jar;C:\Users\CTram.m2\repository\io\cucumber\cucumber-plugin\7.20.1\cucumber-plugin-7.20.1.jar;C:\Users\CTram.m2\repository\io\cucumber\docstring\7.20.1\docstring-7.20.1.jar;C:\Users\CTram.m2\repository\io\cucumber\html-formatter\21.7.0\html-formatter-21.7.0.jar;C:\Users\CTram.m2\repository\io\cucumber\junit-xml-formatter\0.5.0\junit-xml-formatter-0.5.0.jar;C:\Users\CTram.m2\repository\io\cucumber\ci-environment\10.0.1\ci-environment-10.0.1.jar;C:\Users\CTram.m2\repository\org\apiguardian\apiguardian-api\1.1.2\apiguardian-api-1.1.2.jar;C:\Users\CTram.m2\repository\io\cucumber\cucumber-testng\7.20.1\cucumber-testng-7.20.1.jar;C:\Users\CTram.m2\repository\org\testng\testng\7.10.2\testng-7.10.2.jar;C:\Users\CTram.m2\repository\com\beust\jcommander\1.82\jcommander-1.82.jar;C:\Users\CTram.m2\repository\org\webjars\jquery\3.7.1\jquery-3.7.1.jar;C:\Users\CTram.m2\repository\io\cucumber\cucumber-picocontainer\7.20.0\cucumber-picocontainer-7.20.0.jar;C:\Users\CTram.m2\repository\org\picocontainer\picocontainer\2.15\picocontainer-2.15.jar;C:\Users\CTram.m2\repository\net\datafaker\datafaker\2.4.0\datafaker-2.4.0.jar;C:\Users\CTram.m2\repository\org\yaml\snakeyaml\2.3\snakeyaml-2.3.jar;C:\Users\CTram.m2\repository\com\github\curious-odd-man\rgxgen\2.0\rgxgen-2.0.jar;C:\Users\CTram.m2\repository\com\googlecode\libphonenumber\libphonenumber\8.13.46\libphonenumber-8.13.46.jar;C:\Users\CTram.m2\repository\org\slf4j\slf4j-api\1.7.30\slf4j-api-1.7.30.jar" com.intellij.rt.testng.RemoteTestNGStarter -usedefaultlisteners false -socket52139 @w@C:\Users\CTram\AppData\Local\Temp\idea_working_dirs_testng.tmp -temp C:\Users\CTram\AppData\Local\Temp\idea_testng.tmp
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Executing test suite...
Setting up Playwright...
Playwright setup complete!
Tearing down Playwright...
Tearing down Playwright!
Setting up Playwright...
Playwright setup complete!
Tearing down Playwright...
Tearing down Playwright!
Setting up Playwright...
Playwright setup complete!
Tearing down Playwright...
Tearing down Playwright!
Setting up Playwright...
Playwright setup complete!
Tearing down Playwright...
Tearing down Playwright!
Setting up Playwright...
Playwright setup complete!
Tearing down Playwright...
Tearing down Playwright!
Setting up Playwright...
Playwright setup complete!
Tearing down Playwright...
Tearing down Playwright!
Setting up Playwright...
Playwright setup complete!
Tearing down Playwright...
Tearing down Playwright!
Finished executing test suite!
===============================================
Default Suite
Total tests run: 7, Passes: 7, Failures: 0, Skips: 0
node:internal/modules/cjs/loader:1145
const err = new Error(message);
^
Error: Cannot find module './../../package.json'
Require stack:

C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\userAgent.js
C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\index.js
C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\cli\programWithTestStub.js
C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\cli.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
at Module._load (node:internal/modules/cjs/loader:986:27)
at Module.require (node:internal/modules/cjs/loader:1233:19)
at require (node:internal/modules/helpers:179:18)
at getPlaywrightVersion (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\userAgent.js:91:54)
at HarTracer.stop (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\har\harTracer.js:414:54)
at Tracing.abort (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\trace\recorder\tracing.js:203:21)
at CRBrowserContext._didCloseInternal (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\browserContext.js:195:18)
at CRBrowserContext._browserClosed (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\browserContext.js:187:10)
at CRBrowser._didClose (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\browser.js:109:52) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\userAgent.js',
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\index.js',
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\cli\programWithTestStub.js',
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\cli.js'
]
}

Node.js v20.14.0
node:internal/modules/cjs/loader:1145
const err = new Error(message);
^
Error: Cannot find module './../../package.json'
Require stack:

C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\userAgent.js
C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\index.js
C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\cli\programWithTestStub.js
C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\cli.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
at Module._load (node:internal/modules/cjs/loader:986:27)
at Module.require (node:internal/modules/cjs/loader:1233:19)
at require (node:internal/modules/helpers:179:18)
at getPlaywrightVersion (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\userAgent.js:91:54)
at HarTracer.stop (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\har\harTracer.js:414:54)
at Tracing.abort (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\trace\recorder\tracing.js:203:21)
at CRBrowserContext._didCloseInternal (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\browserContext.js:195:18)
at CRBrowserContext._browserClosed (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\browserContext.js:187:10)
at CRBrowser._didClose (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\browser.js:109:52) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\userAgent.js',
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\index.js',
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\cli\programWithTestStub.js',
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\cli.js'
]
}

Node.js v20.14.0
node:internal/modules/cjs/loader:1145
const err = new Error(message);
^
Error: Cannot find module './../../package.json'
Require stack:

C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\userAgent.js
C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\index.js
C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\cli\programWithTestStub.js
C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\cli.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
at Module._load (node:internal/modules/cjs/loader:986:27)
at Module.require (node:internal/modules/cjs/loader:1233:19)
at require (node:internal/modules/helpers:179:18)
at getPlaywrightVersion (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\userAgent.js:91:54)
at HarTracer.stop (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\har\harTracer.js:414:54)
at Tracing.abort (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\trace\recorder\tracing.js:203:21)
at CRBrowserContext._didCloseInternal (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\browserContext.js:195:18)
at CRBrowserContext._browserClosed (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\browserContext.js:187:10)
at CRBrowser._didClose (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\browser.js:109:52) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\userAgent.js',
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\index.js',
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\cli\programWithTestStub.js',
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\cli.js'
]
}

Node.js v20.14.0
node:internal/modules/cjs/loader:1145
const err = new Error(message);
^
Error: Cannot find module './../../package.json'
Require stack:

C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\userAgent.js
C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\index.js
C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\cli\programWithTestStub.js
C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\cli.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
at Module._load (node:internal/modules/cjs/loader:986:27)
at Module.require (node:internal/modules/cjs/loader:1233:19)
at require (node:internal/modules/helpers:179:18)
at getPlaywrightVersion (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\userAgent.js:91:54)
at HarTracer.stop (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\har\harTracer.js:414:54)
at Tracing.abort (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\trace\recorder\tracing.js:203:21)
at CRBrowserContext._didCloseInternal (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\browserContext.js:195:18)
at CRBrowserContext._browserClosed (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\browserContext.js:187:10)
at CRBrowser._didClose (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\browser.js:109:52) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\userAgent.js',
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\index.js',
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\cli\programWithTestStub.js',
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\cli.js'
]
}

Node.js v20.14.0
node:internal/modules/cjs/loader:1145
const err = new Error(message);
^
Error: Cannot find module './../../package.json'
Require stack:

C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\userAgent.js
C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\index.js
C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\cli\programWithTestStub.js
C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\cli.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
at Module._load (node:internal/modules/cjs/loader:986:27)
at Module.require (node:internal/modules/cjs/loader:1233:19)
at require (node:internal/modules/helpers:179:18)
at getPlaywrightVersion (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\userAgent.js:91:54)
at HarTracer.stop (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\har\harTracer.js:414:54)
at Tracing.abort (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\trace\recorder\tracing.js:203:21)
at CRBrowserContext._didCloseInternal (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\browserContext.js:195:18)
at CRBrowserContext._browserClosed (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\browserContext.js:187:10)
at CRBrowser._didClose (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\browser.js:109:52) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\userAgent.js',
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\index.js',
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\cli\programWithTestStub.js',
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\cli.js'
]
}

Node.js v20.14.0
node:internal/modules/cjs/loader:1145
const err = new Error(message);
^
Error: Cannot find module './../../package.json'
Require stack:

C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\userAgent.js
C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\index.js
C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\cli\programWithTestStub.js
C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\cli.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
at Module._load (node:internal/modules/cjs/loader:986:27)
at Module.require (node:internal/modules/cjs/loader:1233:19)
at require (node:internal/modules/helpers:179:18)
at getPlaywrightVersion (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\userAgent.js:91:54)
at HarTracer.stop (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\har\harTracer.js:414:54)
at Tracing.abort (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\trace\recorder\tracing.js:203:21)
at CRBrowserContext._didCloseInternal (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\browserContext.js:195:18)
at CRBrowserContext._browserClosed (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\browserContext.js:187:10)
at CRBrowser._didClose (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\browser.js:109:52) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\userAgent.js',
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\index.js',
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\cli\programWithTestStub.js',
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\cli.js'
]
}

Node.js v20.14.0
node:internal/modules/cjs/loader:1145
const err = new Error(message);
^
Error: Cannot find module './../../package.json'
Require stack:

C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\userAgent.js
C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\index.js
C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\cli\programWithTestStub.js
C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\cli.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
at Module._load (node:internal/modules/cjs/loader:986:27)
at Module.require (node:internal/modules/cjs/loader:1233:19)
at require (node:internal/modules/helpers:179:18)
at getPlaywrightVersion (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\userAgent.js:91:54)
at HarTracer.stop (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\har\harTracer.js:414:54)
at Tracing.abort (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\trace\recorder\tracing.js:203:21)
at CRBrowserContext._didCloseInternal (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\browserContext.js:195:18)
at CRBrowserContext._browserClosed (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\browserContext.js:187:10)
at CRBrowser._didClose (C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\server\browser.js:109:52) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\userAgent.js',
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\utils\index.js',
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\lib\cli\programWithTestStub.js',
'C:\Users\CTram\AppData\Local\Temp\playwright-java-16014884828754383049\package\cli.js'
]
}

Node.js v20.14.0
Process finished with exit code 0


Update deploy script to match kiwi project deployments

Closes #5

@sleberknight Do we need to care or do something different for the fact that elucidation-common has a test-jar?

@sleberknight Do we need to care or do something different for the fact that elucidation-common has a test-jar?

I don't think so. I looked and Maven Central contains the test JAR for 4.1.2.


dumpContainerDirToTargetCompressed should copy files to a containerName named directory

Motivation
dumpContainerLogToTarget copies the files to a containerName named directory.
However dumpContainerDirToTargetCompressed doesn't.
Changes
Change dumpContainerDirToTargetCompressed to copy the tarball to a containerName named directory.

retest this please

rerun java8 tests


Polars: fill_nan

[!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

#1534
#1539
#1540
#1586
#1590  👈
#1584
#1542
#1498
#1479 : 1 other dependent PR (#1496 )
#908 : 1 other dependent PR (#913 )
#890 : 1 other dependent PR (#856 )
#829 : 2 other dependent PRs (#854 , #888 )
#1519 : 1 other dependent PR (#1506 )
#1566
main

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

Join @Shoeboxam and the rest of your teammates on  Graphite


[BEAM-12356] [release-2.31.0] Cache and shutdown BigQuery services

Cherrypick release blocker #14949.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Java PreCommit

Run Java PreCommit

Run Java PreCommit

LGTM


landingPage

Fixes #23

Share the website link so I can review your changes.

Link
Which type of link?
As it's in my localhost
How can u access that?

Deploy your website somewhere like netify, repl.it, or GitHub pages.
Then share.

Here is the link
https://elated-wozniak-048845.netlify.app/

Don't forget to fill the google form.
Link in slack channel.


Use HTMX

Use HTMX
At #678, we discussed using HTMX to do inline edits.
Benefits:

HTMX could ease the development of create_modal, edit_modal, and details_modal from Flask Admin.
HTMX could ease the development of Redis Console from Flask Admin.
HTMX is a UI Toolkit (Bootstrap, Tabler, Tailwind) agnostic library. So if we ever come up with a different template mode, it still going to be useful.
HTMX allows us to build SPA applications without traditional tools like ReactJS or Angular.

I'm currently working on a Redis CLI like in the Flask Admin and planning to open a PR.
What do you think about this feature?

Hmm, I think that's nice but there's still a lot missing in SQLAdmin which I think could be more useful. I've been meaning to work on the filters for a while now, but I haven't had the time.

Hmm, I think that's nice but there's still a lot missing in SQLAdmin which I think could be more useful. I've been meaning to work on the filters for a while now, but I haven't had the time.

I agree with you. I think #394 deserves some attention.
But as a POC, I think RedisCLI is the best-fitting implementation. I've made some progress at contrib/rediscli branch. Feel free to check it out and give some insight.
I'm waiting for #771 to be resolved to continue developing the RedisCLI implementation.


allow dots as part of table name

This is specially useful when combined with schemas in postgres. For
example, in a multi-tenant environment, a schema could be used per
tenant to ensure data separation between tenants. However, enqueue would
happen into a shared table in a shared schema. This way, tenants share
the infrastructure (in this case workers instead of one worker process
per tenant) but still have their own data island.
P.S. this is the only part that prevented us from having a smooth upgrade to v8.0.0.

Your changes are merged to upstream https://github.com/yandex-money-tech/db-queue/commit/2c8788e55a4cde98a2258268f2a9f72d2fb13e02.
Thanks a lot!


youtube-music: 1.18.0 -> 1.19.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/youtube-music/versions.
meta.description for youtube-music is: Electron wrapper around YouTube Music
meta.homepage for youtube-music is: https://th-ch.github.io/youtube-music/
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.19.0 with grep in /nix/store/icig0qp8rzp6pvhwab9f20qznvqag6l2-youtube-music-1.19.0
found 1.19.0 in filename of file in /nix/store/icig0qp8rzp6pvhwab9f20qznvqag6l2-youtube-music-1.19.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
youtube-music

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/icig0qp8rzp6pvhwab9f20qznvqag6l2-youtube-music-1.19.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A youtube-music https://github.com/r-ryantm/nixpkgs/archive/d6f5a817db226ca035804c0b8cd2dc1a944cc27f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/icig0qp8rzp6pvhwab9f20qznvqag6l2-youtube-music-1.19.0
ls -la /nix/store/icig0qp8rzp6pvhwab9f20qznvqag6l2-youtube-music-1.19.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

youtube-music

Maintainer pings
cc @aacebedo for testing.

Result of nixpkgs-review pr 211903 run on x86_64-linux 1

1 package built:

youtube-music


Update README

Short description:
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
Bug:

/verified


Removing example Swarm template

Removing the example Swarm template as it is not suitable for usage outside of evaluation mode due to a lack of data persistence.
A more mature set of Swarm templates will be released at a later date.

Thanks @nickdgriffin. LGTM.


Move to golang 1.18

Signed-off-by: Nahshon Unna-Tsameret<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release notes:

Move to golang version 1.18

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 45.93%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
711

Relevant Lines:
1548

💛  - Coveralls

ok-to-test

/ok-to-test


Fyle 1vcwg0y : Fixed Project Save is not consistent in Expenses on condition : 'When projects are not assigned but it is mandatory '

No UI Changes

Test cases tested :


feat: add array/base/last

Description

What is the purpose of this pull request?

This pull request:

Adds support for returning the last element of an array-like object

Related Issues

Does this pull request have any related issues?

This pull request:

resolves #858

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

Thanks for the review and the merge @kgryte! I will take better care of the edge cases and add better examples the next time. Most of the changes you did made sense. But I am just curious about these two changes:

Why are we multiplying the len by 2 in the createBenchmark()?

I am assuming this one is done for better documentation of the test results. I noticed that in the other packages we had benchmark.length.js in addition to the benchmark.js file. I wasn't able to understand the difference between those two files. However do we need to rename this file to benchmark.length.js since I see pkg+':len='+len only in files with this name?

@Infinage Regarding changes,

You need to multiply by 2 in order for the Complex64Array to have the expected length. A complex number array has interleaved real and imaginary components. Meaning, for every complex number element, the element is comprised of a real number and a complex number which are adjacent in memory. Hence, when allocating the underlying buffer, we need to double the storage capacity.

Yes, in general, for benchmarks which measuring performance as a function of array length, we use the .length.js suffix to make clear that the benchmark considers input argument size when measuring perf. We use pkg+':len='+len' as the file is dynamically creating benchmark functions, and we need to be able to distinguish the benchmark runs from one another in the TAP output.

For now, you do not need to rename the file. I can take care of that on my end.
Hope this answers your questions.

Yes it does, thanks!


Account page

Presistence

Coverage decreased (-0.03%) to 76.015% when pulling 3f1ee18d645d1cc9d9e670df4b4b920a354bf726 on accountPage into c035c0de776d103cba97b0cd228f487c17860e9f on master.


neo.mjs frontend

Hello everyone,
I moved the neo.mjs implementation into a separate repo now (forking the starter kit).
https://github.com/neomjs/neomjs-realworld-example-app
The implementation is already feature complete and ready for your review.
Thx & best regards
Tobi

[x]  🏁 Fork the starter repo & post the link in this issue
[ ]  🎨 Create logo for repo & update issue status (@EricSimons)
[x]  🔨 Implement all of Conduit's functionality per the spec & API
[ ]  👀 Move repo to main org & Peer review final codebase by admins/community (RFC)
[ ]  🎉 Tag v1 release and officially list it on the README!

online examples are now available here:
https://neomjs.github.io/neomjs-realworld-example-app/

@anishkny @EricSimons is this project still alive?
I created another thread for the neo.mjs frontend, when it was not inside a starter kit fork yet and did not get a response for 2 weeks. Now the starter kit fork is feature complete and still no response for 7 days.
A quick heads up if and when someone will look into it would be greatly appreciated!
After all, I invested quite some time to create a new version where the app runs within a web worker and in dev mode, the real ES8 JS modules will get directly consumed by the browser.
Thanks for your feedback,
Tobias

@tobiu sorry for the delay - this looks awesome. Could you build/test this project on TravisCI (or similar) as a how to?

Hi @anishkny,
good to hear from you. In theory this is possible, it might need some time though.
Please keep in mind that i released neo.mjs to the public on November 23rd. Before this point, there was no npm package of the framework, so the build processes only work inside the root folder of the framework repo at this point.
It should be possible though to use a CI to build the app inside the framework repo folder and copy the dist folder to the app repo root.
Regarding testing via a CI it does get even more complicated. neo.mjs is using Siesta (Bryntum) which can run inside a nodejs env. However, getting neo.mjs running in node as well is definitely an Epic. For pure unit testing it is possible (in case we import the modules we do want to test into the main thread). Getting the full worker setup running in node is non trivial for sure.
As a first step I will update the neo.mjs RealWorld app repo to the latest framework version tomorrow and add a small guide on how to do a build manually (just a couple of npm run script calls).
It is definitely already possible to launch the Siesta testing harness locally for this repo.
Regarding neo.mjs itself: It already got 420 npm downloads since the release and is starting to gain traction.

When do you expect neo.mjs to be available for wider use? Maybe we should hold off until there is a clearer path for users to consume it.

If I may add a spoiler here: I already started to work on a second version of the RealWorld app. It will stick to the API, but not to the UI specs at all. V2 will not use the bootstrap based theme, since neo.mjs has an own component styling engine in place which would create conflicts.
It probably can not get added here, but is meant to be a starting point for new devs who want to get up to speed on how to create a bit more complex neo.mjs apps. It is also meant for making a point why a multi-threading performance based ui framework is needed.
The following examples are DOM based (no webGL, canvas or SVG):

Best regards
Tobias

When do you expect neo.mjs to be available for wider use? Maybe we should hold off until there is a clearer path for users to consume it.

It is already available now :) I will keep you posted after upgrading the app tomorrow.

spoiler2 on the gallery & helix: https://www.facebook.com/neo.mjs/videos/476943849598009/

@anishkny

When do you expect neo.mjs to be available for wider use? Maybe we should hold off until there is a clearer path for users to consume it.
Good start for new users to consume it are the neo.mjs pages with docs and examples (including realworld app)
https://neomjs.github.io/pages/

and the tutorials inside of the docs
https://neomjs.github.io/pages/node_modules/neo.mjs/dist/production/docs/index.html

a quick heads up on my end: i was pretty busy today getting the neo.mjs 1.0.10 npm release published. the gh-pages are updated as well and the v2 "spoiler app" prototype is now online.
will work on the app for which this ticket is about tomorrow.

Hi @anishkny,
I am pleased to announce that the demo app repo is ready for your review now.
The repo is upgraded to neo.mjs v1.0.11 and does provide build processes (this was a rather big sprint).
In general: you can change the app source files and just reload the page for the non dist versions (no build required).
To get the changes into dist/development or dist/production, 2 new build scripts are in place:

npm run dev-build-my-apps

npm run prod-build-my-apps

Looking forward to your feedback!
Best regards,
Tobias

Can you build/test this repo on TravisCI/CircleCI or similar to show how to set it up?

I can take a look into it. It is trivial though at this point (see the updated readme):

Clone the repo
npm install
npm run server-start (or use a local webserver of your choice, configured for JS modules)

Hi @anishkny,
I added a couple more test into the siesta harness (navigating from home to login to signup + checks if we end up on the correct page).
I also polished the starting point for:

npm run server-start

Running the script will open a new browser tab with this content:

So, to open the testing harness you just need to click on the link there.
I read the specs once more very carefully:
https://github.com/gothinkster/realworld/tree/master/spec
And they don't mention that using a CI is a requirement.
With a quick look at the codebase I assume that your self made top1 app does not even have tests at all: https://github.com/gothinkster/react-redux-realworld-example-app
So is it really necessary to add a CI?
I am asking this since I am not familiar with using them plus never tried to use Siesta in an automated way (although it should be possible).
My time is sadly very limited at this point. We had a big marketing event for neo.mjs this weekend:

and now users are pinging us why we are not listed yet with a fully functional app. I need to jump back into a client project for quite a while, so no chance to look into it on my end.
Please give me a heads up, if the current status is fine or not. If not I can try to ask Bryntum to help out on this.
Thanks and best regards
Tobias

Hi @anishkny,
we dedicated a lot of time (especially @tobiu ) to build the realworld app with neo.mjs because we think it is a great showcase. Thanks to your feedback we even improved the hole build process.
Now like you can see in the posts above everything is prepared and up and running.
We really would appreciated to see the app and framework get listed. It means a lot to us.
Thanks
Nils

Hello,
I hope all is good.first of all, I love the work that you have done it's lovely.
I clone your repo the COVID 19 is working fine on localhost I but want to publish it without localhost:8080. I want to publish with some name rather then localhost.can you please help out me?

Hi @shabbirulhasan,
this topic here is messing with my emotions. The neo.mjs RealWorld App is feature complete for more than 4 months now and it never got reviewed. It did not even get listed on the repo page as in progress.
I have rarely encountered this unsupportive people than the Gothinkster guys here.
Especially @anishkny and @EricSimons.
Regarding your question: please use the issue tracker inside the neo repo you are using (there is more than 1 neo covid repo inside the https://github.com/neomjs/ namespace). In short: if you got a neo app running on localhost you are almost there. Just deploy it to your webserver (or into the cloud) and specify which files should get mapped to which urls inside your webserver settings.

@tobiu FYI RealWorld is a sideproject we maintain. We have families to feed, mortgages to pay, etc and RealWorld doesn't pay those bills. RealWorld is an incredibly large OSS learning project, and as such, has a ton of issues/PRs that I honestly have no how  @anishkny makes the time to even look at much less comment on or review.
If you want to make someone the "bad guy" here, have it be me, not Anish. The dude is a beast and has single handedly scaled this project into what it is today.
I will not tolerate slander against any of the admins/maintainers. If you do this again, you will be banned.
That said, lets talk about the fun things!
If I had to guess why this hasn't been merged in yet, I'd wager it's because the answers given weren't super straightforward. I took some time to review what you've made, and it LGTM, but the only thing I'd request is that the link at the top of your realworld app repo points at the actual running Conduit app itself instead of your bare GH pages URL.
Once you've got that taken care of I'll merge this PR. Thanks

Hi @EricSimons,
thank you for looking into this. I changed the link on top of the repo page to point to the dist/prod version directly (same for the "demo" link on the top part of the readme).
The reason for pointing to the main examples page was simply that there are 3 different versions of the neo RW app out there (dev mode, dist/dev, dist/prod). Added all 3 direct links to the very bottom of the readme now.
I also took the time to update the repo to the latest neo version, adjusted the build processes & the docs app (the repo was created before the unified npx build scripts were in place).
So, ready for a merge on my end!
Regarding your comment: Of course I do appreciate your work as well as @anishkny's with this Conduit repository. If I would not like it, I would not have invested around 1 month to create this RW app to share it with you.
I am also very well aware of the OSS limitations. I spent 1.5 years of my full and unpaid working time to get neo to a first public release & this was 4 months ago. Literally burned all all of my personal savings and this was only possible since I did work on some very high profile JS projects before. I felt that it was time to give back and share my knowledge with everyone who is interested in scaling UIs via multithreading. Now, without creating an awareness that this framework even exists all the effort would be pointless. This is why it feels important to me to get listed here.
Best regards,
Tobias
[Off topic] In case you got a couple of minutes of spare time I would love your input on the Covid19 in numbers neo app. It needed less code than the RW app to create it (pictures and links inside the main repo readme => https://github.com/neomjs/neo). Thx!

Awesome- can you open a PR on this repo to add this to our frontend-repos.yaml?

"here" as in "https://github.com/gothinkster/realworld-starter-kit"?
if so, done.

No, see this PR as an example: https://github.com/gothinkster/realworld/pull/483/files

ok... again.
like this: https://github.com/gothinkster/realworld/pull/488 ?

@EricSimons @tobiu great work. Who has the rights and can merge this? looking forward to see this in the list. Thanks guys

@EricSimons The PR is open for 21 days now. Anything missing on my end?
Thanks, Tobias

@EricSimons Another 16 days. A comment would be appreciated.
Thanks, Tobias

updated the neo RW implementation to use the latest framework version (v1.1.57).

Merged!  Sorry about the delay! Closing this out- thanks for contributing to RealWorld 🙏

Thx! v1.1.57 made the neo implementation a lot more lightweight, since main thread addons are now in place. Here is a small blog post about it:
https://medium.com/@tobiasuhlig/using-js-libraries-inside-a-multithreading-environment-835cd8cbc30b?source=friends_link&sk=39450bea5b2c1812a9adb741d7f9e3af

updated the repo to use neo v1.1.74 which includes the new build programs.

https://medium.com/p/bundling-your-webpack-based-build-processes-performance-improvements-dd7d0ffdd788?source=email-121c20a934c6--writer.postDistributed&sk=6b7ae4abdf227ecee6c046b5bc9b14b6

Hi @EricSimons,
how often do you update the main repo-readme? The last listed update was on May 2nd.
Still got users complaining that neo is not yet listed here.
Thanks for looking into it!
Best regards,
Tobias


:: breaks autocomplete

:: break the autocomplete prosses
for example  PHP 5.4 and up :
Closure::bind
when type double '::' the autocomplete brack .
please make :: trigger autocomplate
sources:
(http://php.net/manual/en/closure.bind.php)

Are you using a php provider? Or are you talking about the built-in provider?
The built in provider does not understand php, so it will not trigger on :: like a specific php provider would.

Closing as the PHP provider can handle the :: case. We will not be triggering on it in the default provider.


Execute SP using Entity Framework and .net Core

I created a web api project using .net core and entity framework.
This uses a stored procedure which returns back most of the properties of a table defined by entity framework.
The entity framewrok does not bring back all the columns of the table. And I get an error when I call the api complaining it cannot find the missing columns when I execute the stored procedure using ,
_context.Set().FromSql("execute dbo.spr_GetValue").ToList();
I created another model class which defines the properties brought back from the SP( called NewClass).
_context.Set().FromSql("execute dbo.spr_GetValue").ToList();
This works, but just wanted to check if there is a convention that the SP should only return the model classes from the database.
Thanks in advance.

@liroforum Currently FromSql must either return an entity type or a query type with all properties mapped. See https://docs.microsoft.com/en-us/ef/core/querying/raw-sql
See also #11624 and #10753 for issues tracking support for more than just entity/query types.

So does that mean I should not add my own model class and change the SP to return all the properties of the entity. So what about really complicated sql SP which does not need the entire column of a table to return(may be uses joins between tables in database)?


Better representation of Parameters at commandline

Converted from SourceForge issue 3027874, submitted by ceball
Submit Date: 2010-07-10 18:48 GMT
r11145 added repr() for Parameter, so that the documentation of parametertized classes and instances could include type, bounds, default value and so on. Later reverted this change because it results in too much information in the gui (pop-up boxes), and probably too much even in the commandline help. Would be nice to have some compromise, though.

This is also fixed now.
>>> import param
>>> class A(param.Parameterized):
...     b = param.List(default=[1,2,3])
...
>>> help(A)
Help on class A in module __main__:

class A(param.parameterized.Parameterized)
 |  params(b=List, name=String)
 |  Parameters of 'A'
 |  =================
 |
 |  Parameters changed from their default values are marked in red.
 |  Soft bound values are marked in cyan.
 |  C/V= Constant/Variable, RO/RW = ReadOnly/ReadWrite, AN=Allow None
 |
 |  Name   Value    Type    Bounds   Mode
 |
 |  b   [1, 2, 3]  List  (0, None)  V RW
 |
 |  Parameter docstrings:
 |  =====================
 |
 |  b: < No docstring available >
 |
 |  Method resolution order:
 |      A
 |      param.parameterized.Parameterized
 |      __builtin__.object
 |
 |  Data descriptors defined here:
 |
 |  b
 |
 |  name
 |      String identifier for this object.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from param.parameterized.Parameterized:
[...]

(and similarly for instances).


Youtube api changed, extension stopped working

http://gdata.youtube.com/feeds/api/videos/AZb54NlQZms?v=2&alt=jsonc
{"apiVersion":"2.1","error":{"code":410,"message":"No longer available","errors":[{"domain":"GData","code":"NoLongerAvailableException","internalReason":"No longer available"}]}}

This is fixed in v1.5.0. See this commit for info.

great, thanks!

Still facing this issue.
https://gdata.youtube.com/feeds/api/videos/xAHjjKf7A1Y?v=2&alt=jsonc
{"apiVersion":"2.1","error":{"code":410,"message":"No longer available","errors":[{"domain":"GData","code":"NoLongerAvailableException","internalReason":"No longer available"}]}}

@Yatish0833 see my comment in #19.


Task Scheduler error: 'Cannot create a file when that file already exists'

Description
Scheduling a task to execute now. However, after running for 2 seconds, it stops and produces an error that says 'Cannot create a file when that file already exists'
Reproduce

This is my following code where it seems to produce the error message:

currentYear = datetime.now().year
def month_format():
currentMonth = datetime.now().month
currentMonth = str(currentMonth)
if len(currentMonth) < 2:
currentMonth = "0" + currentMonth
return currentMonth
currentMonth = month_format()
folder_date = str(currentYear) + str(currentMonth)
path_date = './' + folder_date + '/'
os.mkdir(path_date)

Expected behavior
Scheduler creates the folder without giving me the error messages mentioned from the description

Context

Operating System and version:
Browser and version:
Jupyter Server version:

Troubleshoot Output

Paste the output from running `jupyter troubleshoot` from the command line here.
You may want to sanitize the paths in the output.

Command Line Output

Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.

Browser Output

Paste the output from your browser Javascript console here, if applicable.

At the time you ran this script, did a directory called 202306 already exist under your JupyterLab root? If so, then the error is genuine.
If you want to run a job repeatedly with this command in it, consider adding a check for the directory before you create it.

Hello,
Thank you for the response. I actually deleted the directory locally on my
machine and it still thinks it exists. Is this run on somewhere else
instead of it being locally?
Thanks,
On Tue, Jun 6, 2023 at 2:24 PM Jason Weill @.***> wrote:

At the time you ran this script, did a directory called 202306 already
exist under your JupyterLab root? If so, then the error is genuine.
If you want to run a job repeatedly with this command in it, consider
adding a check for the directory before you create it.
—
Reply to this email directly, view it on GitHub
https://github.com/jupyter-server/jupyter-scheduler/issues/379#issuecomment-1579471251,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A55MGJGLREXAET7PS2CQBFTXJ6NY5ANCNFSM6AAAAAAY4UU3WE
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Luis P. Garcia, GIS Specialist
City of Los Angeles | Bureau of Street Services
1149 South Broadway, Los Angeles, CA 90015
https://maps.google.com/?q=1149+South+Broadway,+Los+Angeles,+CA+90015&entry=gmail&source=g
Work Phone:<PHONE_NUMBER>


Anonmasky (Under 'Dashboards')

Anonmasky page link is dead (https://github.com/Anonmasky/anonmasky.github.io)

Thanks for reporting it. I have added a commit to remove it. Let me if you can find more dead links.


Restore compatibility for old (now deprecated) copy algorithms

This was accidentally left in #4821.

Looks good to me now :)

retest

Sorry @hkaiser, I accidentally configured the CSCS jenkins instance to use the LSU configuration (which is not there obviously). Testing should restart soon.

retest

Sorry @hkaiser, I accidentally configured the CSCS jenkins instance to use the LSU configuration (which is not there obviously). Testing should restart soon.

It's unrelated to that in fact. I'm talking to CSCS admins about the issue.


feature(spin): Support for custom Spin triggers

Spin has a plugin system that allows Spin apps to be triggered by user-defined events. To add a trigger to the spin-shim it needs to be added to the source code e.g. https://github.com/deislabs/containerd-wasm-shims/pull/192
Since it is not desirable to add all possible triggers to the shim, it would be nice to use the existing plugin system to load the plugins at runtime. Trigger plugins are standalone binary CLI programs that take the path of a locked spin application as a parameter.
I see two options:
Option 1: Mount Spin plugins folder from Host

With this approach, the plugins can be conveniently managed on the host using the spin cli tool, and only the mount needs to be added to the shim. However, it is a piece of "dark magic" for the user, and the plugins still need to be distributed across all nodes of a Kubernetes cluster (in the case of K8s).
Option 2: Make the shim aware of plugins and fetch them during container startup

This option fetches the plugin during container creation, what makes startup a bit slower but does not need the plugins being installed on the node.
Thoughts

In the end, a trigger plugin is just another thing which has a lifecycle that needs to be managed. I see this as outside the scope of the shim.
Locating and executing a trigger can be done similar to the trigger_command_for_resolved_app_source function in the spin CLI https://github.com/fermyon/spin/blob/main/src/commands/up.rs#L152-L153
Executing binaries is a potential attack vector we should be aware of. (maybe this feature can be made optional)

I can see this as a very useful addition to the spin shim. Thanks for brining this up @0xE282B0 !
I am personally preferring the second approach where the spin shim is aware of the plugins because this seems more ops friendly.


Alter of StatisticReportData view

Changed generation of the Id column in StatisticReportData view to auto-incremental to fix the problem that only the first line repetitions are saved to the report file

Do we have any integration tests addressing suggested changes? (As simple as verify that query returns something meaningful, or validating a "snapshot" results for some expected input data)

We don't have such tests. I looked at what options exist, but did not find any option for in-memory databases. If you have a suggestion/hint on how to implement this, I would be grateful.
Also, we discussed this report at the meetup and since this report does not give us the possibility to simply filter by region/territorial community without spending a lot of resources, the approach will most likely change after advice from the data analyst.

Do we have any integration tests ..? ...

We don't have.... I looked at what options exist, but did not find any option for in-memory databases. ....

Well, talking abstractly, there are 2 in-memory options:

either mocked db by EF (and thus it's not SQL, but rather LINQ version, so views functionality couldn't be tested)
or EF to SQLite (that is not our current db provider).

Ofc it's possible to adopt SQLite for testing purposes, but I'd like to know do we need it ("don't fix what ain't broken").
@DmyMi are db-related bugs frequent/hard to be fixed? Should we invest into autotesting this scope?

@VadymLevkovskyi i don't think we should invent complex testing procedures here, as we will probably re-write this eventually and might not use the same approach.


Accents not shown in terminal

Hi,
The accents (eg.: áéíóú) are not showing in the terminal even when using other fonts, like Ubuntu Mono and Arial.
It looks like the application is not using the same keyboard scheme as the OS. An example: In the hotkeys I try to use CTRL+|  (the key before 1 in a portuguese keyboard layout pt-PT, and it assumes the accent `).
Thanks. Great work.
Ubuntu 20.04 with portuguese from Portugal (pt-pt) language.
Version: 1.0.108
Platform: linux 5.4.0-26-generic
Plugins: clickable-links

the problem was solved after reinstalling Ubuntu 20.4. It's was probably something related with the ubuntu upgrade or previous configuration made to the OS.


The back button does not work as expected.

In most cases, the back button isn’t available, but when it is, the behavior is unexpected.
https://www.dropbox.com/s/78b2ylhuhu60ifl/back-button-none.mov?dl=0
https://www.dropbox.com/s/djf7rwyy3d1p520/back-button-1.mov?dl=0

I suspect this is because of the use of React's hashHistory rather browserHistory. OAM uses the former because it's hosted on Github (which doesn't have the necessary server-side support for index.html routing). If OAM gets hosted on say S3 then the URLs could be moved over to browserHistory.


[RFC] Transition Caching

With this PR https://github.com/CodaProtocol/coda/pull/1602,  wouldn't there be better to break about the transition_frontier_cache into three different components, processor pipe, or in the catchup scheduler and catchup thread. The one that Jiawei is building is a cache but each key state_hash is associated with a value that is a list of children transitions.

With this PR #1602, wouldn't there be better to break about the transition_frontier_cache into three different components, processor pipe, or in the catchup scheduler and catchup thread. The one that Jiawei is building is a cache but each key state_hash is associated with a value that is a list of children transitions.

No? That PR solves a different problem with the catchup scheduler, does it not? This cache is just representing any value in any state before being added to the transition frontier, so it encapsulates transitions that are in the processor pipe, processor thread, catchup scheduler table, catchup scheduler thread, catchup scheduler breadcrumb builder thread, catchup thread, and the processor catchup breadcrumb pipe.

As @enolan pointed out, a bloom filter is not the correct way to solve this problem as I had the false positive property of it reversed. We will need to come up with another way to handle caching bad transitions. The handling of active, unprocessed transitions has been implemented and has been merged already.

I rescope this RFC to only the unprocessed transition caching, which has already been implemented. As it's already been implemented, I'm going to go ahead and merge this RFC into develop.
(This is just some cleanup that should have happened months ago, sorry about that)


Fix example inserting item in immutable array

Hi.  Appreciate the PR, but the current example is correct as-is.  The second argument to slice() is exclusive, so we need to start at that index value to get the rest of the items.  Try running this small example:
const items = ["a", "b", "c", "d", "e"];
const index = 2;

const newItems = [
  ...items.slice(0, index),
  "f",
  ...items.slice(index)
];

console.log(newItems);
// should be: ["a", "b", "f", "c", "d", "e"]
// if we used index + 1, then "c" would be left out

```.

Oh sorry my bad I misread it, i thought it was  about replacing the value at index
Sent from my iPhone

On Jan 31, 2018, at 10:06 PM, Mark Erikson<EMAIL_ADDRESS>wrote:
Hi. Appreciate the PR, but the current example is correct as-is. The second argument to slice() is exclusive, so we need to start at that index value to get the rest of the items. Try running this small example:
const items = ["a", "b", "c", "d", "e"];
const index = 2;
const newItems = [
...items.slice(0, index),
"f",
...items.slice(index)
];
console.log(newItems);
// should be: ["a", "b", "f", "c", "d", "e"]
// if we used index + 1, then "c" would be left out
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


[PE-D][Tester A] Incorrect name format when adding student

Can use numbers for names, which should not be possible legally. Even if a number is attached to the name, it is normally Roman numerals by convention.

Labels: severity.Medium type.FeatureFlaw
original: Darkarche3/ped#13

Feature flaw in the form of regex validation. Will not resolved in this iteration. For planned enhancments.


Handling of negative spec_step and spec_linewidth

Describe the bug
Submitting a negative spec_step results in the command never completing.
Submitting a negative spec_linewidth results in a completing job, but don't think that a negative width is physically valid.
To Reproduce
element: Au
isotope: -1
xr_lines: K1:L3-K1:L3
uehling_correction: false
nuclear_model: POINT
output: 1
write_spec: true
spec_step: -10000.0
spec_linewidth: 100000.0

element: Au
isotope: -1
xr_lines: K1:L3-K1:L3
uehling_correction: false
nuclear_model: POINT
output: 1
write_spec: true
spec_step: 10000.0
spec_linewidth: -100000.0

Expected behavior
The former should definitely not be allowed. A validation error should prevent a negative step being used to prevent the command never completing.
I also don't think that a negative linewidth is physically valid, but this is less of an issue as it doesn't cause a total failure like the step does.
Screenshots
Spectrum with 1e5 linewidth

Spectrum with -1e5 linewidth

~Desktop~VM (please complete the following information):

OS: Rocky
Version 8

Hi both,
Good point Patrick.  None of those negative values should be allowed, as they do not have any physical meaning.

Other parameters that can cause issues when given negative values:

uehling_steps: leads to bad allocation and the core being dumped when <0
uehling_lowcut
uehling_highcut: (presumably should also need to be greater than uehling_lowcut)
max_E_iter
max_nodes_iter
max_state_iter

At this point I think it's likely that a lack of input validation is the rule rather than the exception. A general review of all numeric parameters to ensure they are being validated is probably sensible.

with regards to spec-step and spec-line-width being negative.  We now have a message when a negative value is used.  It is this one: ' Parameter spec_step: Value ('-10.0') must fulfill float('0.0') <= float(value) <= float('inf')'.  Now... I understand that error message.  It says that the values has to be between 0 and inf.  However... Is there any way of putting this error message in human-like language?


Sentinel Style + Ready Action

When preparing a ready action and having the Sentinel weapon style you will not get your attack of opportunity if the ready action triggers. This may very well be a core game issue that just wasn't possible before; I imagine it is not possible to "queue" reaction type actions, but I feel like it may be worth reporting for nothing else than listing it under known issues or somewhere on the wiki.

Can you please attach a save and step by step to reproduce?

@EnderWiggin

AFAIK, ready Action consumes your reaction, so sentinel can't trigger as it requires reaction to be available. RAW you should be able to react if your ready action has not triggered yet, but Solasta has different implementation.

Ah that makes sense. My bad for missing that :)


Disable live code analysis easily and on selected files

Type: Feature Request
Hello!
Visual Studio Code is wonderful and works great! Thank you!
May I ask for the ability to disable live code analysis EASILY within the app's main menu, maybe with a single right-click or keyboard shortcut?
Having the option to disable the live code analysis ONLY on selected files and on all files would be a great new feature.
VS Code version: Code 1.78.2 (b3e4e68a0bc097f0ae7907b217c1119af9e03435, 2023-05-10T14:39:26.248Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: Yes

live code analysis

Please clarify what you mean by "live code analysis".

You are right. Live code analysis is not the correct name of the feature.
I mean Type Checking JavaScript
https://code.visualstudio.com/docs/nodejs/working-with-javascript#_type-checking-javascript
After reading the docs, it is said that I can opt individual files out of
type checking with a // @ts nocheck comment at the top of the file.
Am I getting this right?
If disabling type checking on single files is as simple as stated, please
remove this issue and excuse me.
Thank you and my apologies.
El vie, 26 may 2023, 17:47, John Murray @.***> escribió:

live code analysis
Please clarify what you mean by "live code analysis".
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/183551#issuecomment-1564589622,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJIPQT727B2YFAQ7QUW6NBDXIDGAHANCNFSM6AAAAAAYQKLWKM
.
You are receiving this because you authored the thread.Message ID:
@.***>

Duplicate of #199246


Use console script

Instead of python main.py user can now use either lm-eval or lm_eval and can be used without needing to be in the lm-eval directory.
Example
lm_eval \
    --model hf \
    --model_args "pretrained=EleutherAI/pythia-2.8b" \
    --tasks boolq-seq2seq \
    --limit 10

or accelerate launch --no_python lm_eval .. to use accelerate for multi-gpu usage.

LGTM! Is there an easy way to have an entry point too for the accelerate launch  version? nw if not.
We need PR #693 to be merged prior to this though due to linter test.

Can't find a way to use it. I'm hoping something like lm_eval-accelerate or automatically use accelerate with lm-eval but haven't found it yet.


Arcade Offline Version missing 'MRT Game Maker Kit' in the Hardware device list

Offline version of arcade's Hardware list for download has no 'MRT Game Maker Kit'
To Reproduce
Steps to reproduce the behavior:

Go to 'https://arcade.makecode.com/offline-app'
Click on 'makecode-arcade-setup-win64.exe' and download
Run the program and open a game file
Move cursor to the download button ... 'click to select hardware' and click choose hardware.
In the hardware list, there is no 'MRT Game Maker Kit' option to choose from.

Expected behavior
Expect to have the MRT Game Maker Kit device listed on the Arcade offline version hardware list.
Screenshots

This will be fixed when we release next version of offline app which is around every 3 months


[BUG] JSQLParser Version 4.6: Informix : Encountered unexpected token: "," ","

Failing SQL Feature:

can not parser the col[m, n] syntax

SQL Example:

Simplified Query Example, focusing on the failing featureselect age, name, gender, citiy_code
from user_info where city_code[1, 4] = '3301'

Software Information:

JSqlParser version 4.6
Informix

Error Info:
net.sf.jsqlparser.JSQLParserException: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "," ","
    at line 19, column 16.

Was expecting one of:

    "&"
    ":"
    "::"
    "<<"
    ">>"
    "COLLATE"
    "["
    "]"
    "^"
    "|"

Greetings.
If you need support for Informix specific syntax, you will need to provide or sponsor an implementation.

Greetings.
I have found that current version can support col[m, n], maybe this issue can be closed?

Greetings.
I have found that current version can support col[m, n], maybe this issue can be closed?

Lol!
So sorry I did not even recall that I implemented similar stuff before.
Always test any exception in the Online Formatter first. We get a lot of false reports against ancient versions of JSQLParser.

Works with recent JSQLParser 4.8 and you can test it online here.


PRs are never merged or closed?

Question in the title.
What's going on with this project? Do you guys need assistance?
Same question for issues

Merge history is here: https://github.com/robchahin/sso-wall-of-shame/commits/main/
Updates are bursty and best-effort. This has been the case for most of the last 6 years. PRs take priority over issues, and well-formed PRs are merged faster than PRs that require changes.
I appreciate offers of help and have received a few over the years, the site has had a couple of secondary maintainers in its time but we all have hobbies and obligations. I am slow to onboard additional maintainers deliberately.

Hey @robchahin ,
maybe you haven't received my emails and other inquiries over the last months. Happy to help and to join forces with ssotax.org. Would love to discuss that so that PRs and other contributions can be integrated more quickly. What do you think?


Bug: Weird c++20 MainWindow.xaml.g.hpp bug

Version
2.0.230706.1
Summary
The Xaml compiler generates code that calls winrt::Windows::Foundation::IReference<bool>::Value https://github.com/microsoft/microsoft-ui-xaml/issues/9214.
If you force the instantiation of winrt::Windows::Foundation::IReference<bool>::Value there is no problem.
Otherwise, you get the classic a function that returns 'auto' cannot be used before it is defined error even though the header is properly included.
Feel free to close it seems like a msvc bug since in only happens on /std:c++20, I just though you might want to know.
Reproducible example
https://github.com/tom-huntington/auto-bool-visibility-conversion-cpp20-regression
//MainWindow.xaml.h
#if 1
inline void force_instantiation_of_IRefBoolValue()
{
    &winrt::Windows::Foundation::IReference<bool>::Value;
}
#else
//error C3779 : 'winrt::impl::consume_Windows_Foundation_IReference<winrt::Windows::Foundation::IReference<bool>,T>::Value' : a function that returns 'auto' cannot be used before it is defined
#endif

Thanks, if you think this is a compiler bug your best bet is to report a problem here:
https://developercommunity.visualstudio.com/cpp
For Xaml-related issues you're better off engaging directly with the Xaml team here:
https://github.com/microsoft/microsoft-ui-xaml


Application getting crash on VideoTrack.removeSink

track.removeSink(renderer); in BindingAdapter
Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x50 in tid 23586 !libmediasoupclient_so.so (Java_org_webrtc_VideoTrack_nativeRemoveSink+6) (BuildId: d90348112037bfc9b825eb9cf196d3d39503c2e1)
previously it was working fine with org.mediasoup.droid:mediasoup-client:3.0.8-beta-3

@haiyangwu could you please share solution in this case with the updated sdk
crashing on videotrack.removeSink(renderer)


feat(BooleanSubalgebra): closure of supClosed+infClosed set containing bot+top

Every element in the closure of such a set s can be written as a finite sup of elements of the form a \ b with a, b in s.

Can we also have the dual versions using himp?

Is it useful? closure_bot_sup_induction didn't have a top_inf counterpart. Maybe you can try to use the dual Boolean algebra to prove it?

maintainer merge
Thanks!


Ping Tag Support

I think the Protocol interface should support ping tags by default to make forming and parsing responses easier. I think methods could look like these:

GetPingTags(msg string) (string, [][2]string) - I'm thinking this could return the original message with tags replaced by UUIDs, then an ordered list of [uuid,displayName] matches for easy parsing. This could make parsing tags much easier, and universal. I'm not sure how UUIDs could be typed this way, but they should be mostly safe due to loads of strict typing everywhere else.
MakePingTag(uuid UUID, displayName string) string

Instead of GetPingTags, maybe messages should just have a method for dumping post-pingtag processing? Or both? Or maybe just go right to the extreme and replace text dumping with a result akin to GetPingTags? So many options : /.
MakePingTag would be extremely useful.

Bluesky is quite elegant with how they handle pings (slice of ranges), we could more-or-less adopt their standard.


Add type and meta_data fields to services

Merge #105 first

Replaced with #109 and #110

Replaced with #109 and #110


Access Service with RESt API and TEST bot question

@Samurais  Hello Thank you for the guide!!
I tested Access Service with RESt API with POSTMAN, and
when body says {"message": "hello"}, then, I got following message as:
{
"detail": "Invalid username/password."
}
questions is that

Do I need to log in first at http://<IP_ADDRESS>:8000/admin/? I don't know username and password. I tried to find username and password at "db.sqlite3 " and  when I entered Username as "admin" and password as "pbkdf2_sha 256$30000$3Nynf4nfaN8w$XNnpLTYHg7pXOyOnvxlomOQOsEkuYQzhkcc074zuRkI=", I failed to log in.

I tested POSTMAN as like: (HEADER/BODY)

I created folder "rest_framework" at C:\Program Files\Anaconda3\Lib\site-packages\django\contrib\admin\templates\rest_framework and created api.html.
But I don't know how to enter my question to bot.

hi,  I am also concerned about this project recently. I think it is authorized. you can use curl with -H 'Authorization: Basic YWRtaW46cGFzc3dvcmQxMjM=' ,  this server base on django , it maybe help you --> how-are-permissions-to-access-to-django-rest-api-managed


Dependabot/npm and yarn/next 13.4.12

@dependabot

https://github.com/dependabot squash and merge

@dependabot  squash and merge


Remove DIRECTIONS bit values utility

This is unused.
Removals

Remove DIRECTIONS bit values utility

Testing

PR checks should pass.

Merging in @wpears absence


Add support for handling generic dataclasses

Adds support for generic dataclasses and recursive (pydantic) dataclasses.

@samuelcolvin I will probably need some guidance from you about how to get dataclasses with deferred annotations working.
We also may need to do some refactoring to make "rebuilding" possible without losing the info from dataclasses.field(...).
I also have some hacks in the schema building in here currently that I think could be removed if we rework the dataclass building to be more similar to your "improved" BaseModel schema building. For me to do that, I think I would need some guidance on that as well.

Closing in favor of #5473


Update 0.3.1

Changes made

Initialized Feedstock from conda-forge
Added jinja variables
Added dev & doc urls, license family & description
Reformatted according to recipe standards

Jira Ticket: PKG-856
Upstream: https://github.com/agoose77/hatch-nodejs-version/tree/master
Change log: https://github.com/agoose77/hatch-nodejs-version/compare/v0.3.0...v0.3.1

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_44roorfzcj/clone/recipe/meta.yaml:22: missing_wheel: For pypi packages, wheel should be present in the host section
WARNING: /tmp/abs_44roorfzcj/clone/recipe/meta.yaml:51: missing_doc_source_url: The recipe is missing a doc_source_url
WARNING: /tmp/abs_44roorfzcj/clone/recipe/meta.yaml:51: missing_license_url: The recipe is missing a license_url
Errors were found

Does wheel still need to be present if hatchling exists in the host section?

Does wheel still need to be present if hatchling exists in the host section?

I am not sure but in doubt I would still add it.

Linter check found the following problems:
The following problems have been found:
WARNING: /tmp/abs_776fsi7oy7/clone/recipe/meta.yaml:52: missing_doc_source_url: The recipe is missing a doc_source_url
WARNING: /tmp/abs_776fsi7oy7/clone/recipe/meta.yaml:52: missing_license_url: The recipe is missing a license_url
Warnings were found

Linter check found the following problems:
The following problems have been found:
WARNING: /tmp/abs_b9n3f_5u99/clone/recipe/meta.yaml:52: missing_license_url: The recipe is missing a license_url
WARNING: /tmp/abs_b9n3f_5u99/clone/recipe/meta.yaml:52: missing_doc_source_url: The recipe is missing a doc_source_url
Warnings were found


improve html reporter to make it friendly to parallel

context is stored locally and set with contextStart
Make it a parameter for a test so that tests across multiple contexts can run and populate the reporter correctly.
maybe use option type, and default to None and when None fallback to current behaviour.

https://www.nuget.org/packages/canopy/0.9.45


BackButton was not showing while Scaffold has endDrawer

I just change the behavior of BackButton visibility, when I add endDrawer to the current Scaffold the BackButton is disappearing.
From the developer's perspective, I think this one is not good behavior so that I just created a PR for changing this behavior.
Also some other developers on SO
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is [test-exempt].
[x] All existing and new tests are passing.

I've filed https://github.com/flutter/flutter/issues/97608 to track the issue. I'm going to close this PR since it is not the right approach for the issue, but please don't hesitate to submit a new PR to fix this issue if you would like! It's definitely a valid issue.


Removed "-SNAPSHOT" from 0.15.0 Releases

Current coverage is 0.00% (diff: 100%)

Merging #783 into master will not change coverage

@@           master   #783   diff @@
====================================
  Files         211    211
  Lines         534    534
  Methods         0      0
  Messages        0      0
  Branches       15     15
====================================
  Hits            0      0
  Misses        534    534
  Partials        0      0

Powered by Codecov. Last update 8358381...2387478

Thanks for the PR! It looks like our main site is a little out of date. @rossabaker has been doing some work converting the site to use Hugo, commit #782. I think its addressed there.

Yes, but I'm still working on that, so I like this.  Thanks!  :)


Some docs are not matching the API

@svelkit/graphql:

initGraphQLClient takes an argument uri, in the docs it's url

@svelkit/delay:

The delay component takes an argument ms, in the docs it's delay

Could you create a PR to fix these?


Revived the example with a new structure and docs

Description of changes:
The docs have been updated to follow the code structure more in sync as well as utilize a more modern code generation using Makefile
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Why use vendoring still instead of regular modules without vendoring?
Should the try it out instructions have non-GOPATH instructions since that is on the deprecation/removal path now?

This is great @DennisSSDev, let's try to move it to the finish line!

The vendor folder is explicitly required to generate the binary twirp tools. This is the simplest way I could make it. (besides effectively forcing the end-user to manually install twirp on their machine)

The vendor folder is explicitly required to generate the binary twirp tools

The requirement to allow protoc work with a specific version of protoc-gen-go and protoc-gen-twirp, is to have them installed in the PATH. You can do this using GOBIN when installing the tool (e.g. GOBIN=./_bin go install ...), and/or making sure that the PATH has that folder when calling protoc (e.g. PATH=./_bin:$PATH protoc ...).
The go install command will download the dependency with the right version specified in go.mod. If the vendor folder is present, then the download is not needed. But in this case, it is reasonable to require connection to Github, because this example is already downloaded from Github.


Getting "AttributeError: 'coroutine' object has no attribute 'show'" while running the examples

Hi,
I tried to run the examples in the README and am running into this error. Any help is appreciated. Thanks.
/usr/local/lib/python3.10/dist-packages/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/pydevd_schema.py:13622: RuntimeWarning: coroutine 'CodeInterpreterSession.agenerate_response' was never awaited
  self.source = Source(update_ids_from_dap=update_ids_from_dap, **source) if source.__class__ !=  Source else source
RuntimeWarning: Enable tracemalloc to get the object allocation traceback

AttributeError                            Traceback (most recent call last)
[<ipython-input-24-e9de3efe595c>](https://localhost:8080/#) in <cell line: 2>()
      7
      8     # output the response
----> 9     response.show()

AttributeError: 'coroutine' object has no attribute 'show'

Same error too

+1

Running into the same issue.  Anyone able to overcome this?


Customizing pages form

I'm trying to modify the form for a pages so that I can add a messages to users suggesting that they only upload so many files at a time. I'm tried overriding `lib/comfortable_mexican_sofa/form_builderas well asapp/views/comfy/admin/cms/files/_form.html.haml`` and I'm not able to see any changes. How can I modify this view?

Now it's a matter of overriding tag class: https://github.com/comfy/comfortable-mexican-sofa/blob/master/lib/comfortable_mexican_sofa/content/tags/files.rb
or just overriding partial that shows attachments: https://github.com/comfy/comfortable-mexican-sofa/blob/master/app/views/comfy/admin/cms/pages/_fragment_attachments.html.haml


Load blancing features in NGINX in NPM

It would be nice to see the LB features from nginx being made available in GUI.
https://youtu.be/a41jxGP9Ic8
I don't know if there is more to add.

Please consider this as it would be really powerful


MIT License

@jenssegers  The library is amazing but we cannot use it in any of our applications or contribute to it if it does not have a registered license.
It would be great if you can register with MIT or apache and add a LICENSE.MD to your library.

we have the same issue here

would be great if you add a MIT license, like laravel does.

The composer file has MIT as license. Could anyone do a PR with an MIT license file? No access to my computer atm.

https://github.com/jenssegers/laravel-mongodb/pull/1780


Micro improvements for the create option

Improved the german translation for the create option label text.
Added a special 'dal-create' class in case the select2 option represents the create option to instantly create a new item. (--> I think it is generally useful to have this class in order to distinguish a data item from the create option... now a concrete application can add its custom css to style the create option.)

Why not add span.dal-create on the server side ? Given the state of the codebase, i would recommend avoid adding untested client side code.
Thanks for your contribution <3

Sorry this didn't make it in 3.3.1, looking forward for your feedback .


[proxy] make weave launch-proxy return DOCKER_HOST settings

This would be convenient:
DOCKER_HOST=$(weave launch-proxy)
docker run ...

Could also do it the same way as boot2docker:
$ boot2docker up
$ eval "$(boot2docker shellinit)"

eval is less nice, but lets it a) return more output than just the docker_host, and b) set tls at the same time.

I was rather trying to avoid eval.
@errordeveloper I believe swarm or compose have something in this area. Details?

So Machine is the new boot2docker, one either used eval $(docker-machine env) or docker $(docker-machine conf) .... Machine would also setup Swarm, if you pass it the right flags. With Compose, one actually has to use eval as it doesn't take flags that docker-machine conf outputs. With Machine you also get 3 variables that define host and port and TLS stuff.

> docker-machine ls
NAME     ACTIVE   DRIVER       STATE     URL                         SWARM
test-1   *        virtualbox   Running   tcp://<IP_ADDRESS>:2376

> docker-machine config
--tlsverify --tlscacert="/Users/ilya/.docker/machine/machines/test-1/ca.pem" --tlscert="/Users/ilya/.docker/machine/machines/test-1/cert.pem" --tlskey="/Users/ilya/.docker/machine/machines/test-1/key.pem" -H=tcp://<IP_ADDRESS>:2376
> docker-machine env
export DOCKER_TLS_VERIFY=1
export DOCKER_CERT_PATH="/Users/ilya/.docker/machine/machines/test-1"
export DOCKER_HOST=tcp://<IP_ADDRESS>:2376

# Run this command to configure your shell: eval "$(docker-machine env)"

If you setup Swarm via passing flags to Machine, you then do docker-machine config --swarm or docker-machine env --swarm to talk to the Swarm endpoint.

So, equivalent would be: eval $(weave env) and/or docker $(weave config) run ...

Should inspect the weaveproxy container, and find the exposed port, also. Not worrying about TLS for now.

NB: these commands would ideally not invoke weavexec.

NB: these commands would ideally not invoke weavexec.

What I meant is that ideally these commands would execute completely locally. But that isn't going to work since with #805 and #810 only the proxy knows how it was configured, so we have to ask it.
NB: the settings thus obtained aren't going to be correct in the presence of firewalls.

Gets more interesting with TLS, as well.

With TLS, we can't really figure out the client certs, as we would have to guess their location. We could potentially query the proxy and set DOCKER_TLS_VERIFY, based on that. Which means it would work for TLS, aside from the user would need to set DOCKER_CERT_PATH (or have their client certs in ~/.docker).
Downside of querying the proxy to determine --tlsverify status is that the client computer will need curl/wget/telnet/netcat. (Since we want this to run locally, not through exec_remote).

whether the client uses crypto, and if so what flavour and what certs, is a user choice, and not something that can be derived from the proxy / server config. And it's not unreasonable to ask users to set env vars / supply command line options to their docker invocations using the same settings they'd use when not going via the proxy. That's the point of #506.
So I think we should stick to determining a plausible value for DOCKER_HOST here.

Ah, so you're saying usage with docker-machine would be:
$ eval $(docker-machine env)
$ eval $(weave proxy-env)
$ docker ps

Not sure how the weave proxy-config works with docker-machine config then...

I wasn't saying anything about machine.
Surely in the proxy + machine setup, the chaining is client -> machine -> proxy -> docker. In which case machine needs to be made aware of anything that is different compared to talking to docker directly. And that should only be the DOCKER_HOST.