[8.x] Add support for multiple connections to parallel testing

The current parallel testing implementation assumes only the default connection needs to be switch to test databases.
This PR adds a new config key (database.testing.connections) that be an array of connection names that should be switch to the current database while testing.

Not sure if the config name is suitable or if it even belongs in database.

A fix for this would be very welcoming, as it's the reason I can't even try this feature.

Should be a property on the base test class IMO - not a configuration item.

@ibrasho it doesn't appear that this sets database names for different connections. For example if my main database is laravel and I have another connection with the database name of alternate, does this overwrite the database name to be laravel_test_1 for both connections? I would expect the alternate connection to have a database of alternate_test_1.

Thanks for your pull request to Laravel!
Unfortunately, we are going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If eventually more people have the need for this feature, we will re-consider it.

I'm not opposed to having this feature, but it would need to be a property on the base test class.

@ibrasho Can you apply Taylor's suggestion? I will analyze the pull request after that.

@ibrasho are you going to add the necessary logic to update the database names as I had explained? If not I'll find time to do it myself after this has been merged.

@tomirons, I'm trying to work out the logic to make that happen. @taylorotwell suggested adding a property to the base class, but what you suggested requires creating multiple databases in the setUpProcess callback (which is run before any test case is instantiated. I'm thinking of using a static property on the base class. Would that be fine, @taylorotwell?
The best option is to provide the user with the ability to override the default logic instead of catering to every scenario. In my case, I had to override 3 classes to be able to do this. If the framework gave the users the ability to override the default logic easily, things should be better.
I should have some time to finish this later today.

@ibrasho I completely understand taking the robust approach here and I support it. I was just voicing my concern on how tight knit the current implementation was, that's all. 😃

@ibrasho after testing out your changes with our application that has over 4k tests and has multiple different connections. It didn't seem to work at all. 😢

@tomirons Can you clarify the issue you face? Which changes did you try? I've used something similar in one of my projects and it's working fine. I might write a blog post on how to do this in a project if this doesn't get merged.

@ibrasho I applied the second implementation that you linked to here.

Not sure where to set the connections at. In the AppServiceProvider, elsewhere?
On the schema is up to date check it was failing as well because it couldn't find the connection in that array.

I would love to get this working for our application. 🙏

Have a test suite thats taking 30 minutes to run... finally getting around to using parallel testing in our app that makes use of mysql and mongo connections but the framework only handles using test databases for the default connection.
I can imagine this feature being requested by more of the community over time.
Any updates on this?

@ibrasho  @tomirons
Do you guys have found any solution? I have a similar issue with Postgres.
The problem with Postgres is when you use a schema name different than public.

Works : php artisan test
Works: php artisan test --parallel

'pgsql' => [
            'driver' => 'pgsql',
            ....
            'schema' => 'public',
        ],

Works : php artisan test
Dont Work: php artisan test --parallel

'pgsql' => [
            'driver' => 'pgsql',
            ....
            'schema' => 'myblog',
        ],

Paratest always tries to use public schema.
This is a problem, because sometimes you don't want to use public schema for security reasons.

@robsontenorio I have not come up with a solution to this issue. The schema problem would be a separate issue than what is trying to be solved here.

@tomirons Just opened an issue #39775  but just noticed there is no interest at this moment to include that feature on framework. Maybe in the future, but for now,  I am removing parallel tests on my codebase.

@taylorotwell @nunomaduro I would like to implement this feature in a possibly simpler and easier to maintain way. I have a working implementation I think will work for y'all. The only issue is the storage location of the array of connection names.
After some tinkering, I am unsure of how it would be possible to set this as a property of the Testcase as it seems not possible to resolve what the Testcase class is during the boot of ParallelTestingServiceProvider.
Do you suggest some way of resolving the used Testcase during ParallelTestingServiceProvider and/or the ParallelTesting callbacks (other than ParallelTesting::setUpTestCase)
This would be an extremely useful and powerful feature for the codebase that I feel we are currently missing.

Currently it seems impossible since callSetUpProcessCallbacks is called before your Testcase is created/setup.


suanpan: Add version 1.5

/verify

Given that the binary is statically linked, I doubt if that is the problem of vcredist. Do you mind to check if vcredist is the latest version, in case it is not?

I have tested the package with Win10 virtual environment provided by MS https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/.
The program can be successfully executed after confirming the "Unknown Publisher" warning.

It can be executed via scoop as well.

@Ash258 Please see what to do next.

@Ash258 Another thing is, the program requires AVX.

Already exists in the main bucket (https://github.com/ScoopInstaller/Main/pull/2754)


ConcurrentSkipListMap: Use sentinel instead of self references

The self references in the marker nodes are leaking
as recommended, implement a sentinel instead

closes #946
cc: @AlexandreHetu

I signed it!

@tomball I'm not sure if I didn't miss any comparison, and it's tough for us to test against our project (we're stuck on the 1.0.2 version).

Thanks for your contribution!

@tomball just a FYI and I feel bad about it, the tests didn't manage to run on my machine
clang path: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
SDK path: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
j2objcc -c /Users/florent/src/j2objc/jre_emul/build_result/tests/android/test/MoreAsserts.m
/Users/florent/src/j2objc/jre_emul/build_result/tests/android/test/MoreAsserts.m:26:10: fatal error:
      'junit/framework/Assert.h' file not found
#include "junit/framework/Assert.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [/Users/florent/src/j2objc/jre_emul/build_result/tests/android/test/MoreAsserts.o] Error 1

I initially opened the PR in hope the CI would pick it up and run it faster that I was able to undestand the issue. If there's anything, let me know.

It's not an issue, just run "make -j8 dist" from your j2objc directory, so that all sub-projects are built, especially junit.

Awesome! I wish in was in the contributing guide (I’ll open a PR later).
I ran make test from the jre_emul folder.

@tomball turns out the tests are failing now, sorry for the bad commit.

No worries. I need to roll the change back and attack the problem from
another angle.
The problem is this class has several fields which may outlive the instance
(keySet, entrySet, values, and descendingMap), and so need RetainedWith
annotations to ensure these reference cycles don't keep the whole map from
leaking. I don't understand why the map is now being released early (that's
likely why the test failed), but it should be apparent in the debugger.
On Wed, Feb 28, 2018 at 4:40 PM Florent Vilmart<EMAIL_ADDRESS>wrote:

@tomball https://github.com/tomball turns out the tests are failing
now, sorry for the bad commit.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/j2objc/pull/947#issuecomment-369434189, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AC2krzHjQ1Jq96YtB50MjyyiXV3gmrjPks5tZ0N0gaJpZM4SXcgc
.

I backported to the 1.0.2 version and tried on our project and reach a similar conclusion, after deallocation, a full chain of nodes was leaked. I’ll keep exploring other avenues in our ‘fork’ and keep you posted in case I find something interesting. I’ll reopen the issue also. Thanks for the quick responses, it’s really appreciated.


added school feedback component

added component to show school feedback which fetches performances by school token
todo: update the component's render function to reuse new components

Right now the page just shows a table of the dance names, I'll be reusing the winners component that Peiyao and Lena make

nice good job


do not copy config to /tmp on start - #374

https://github.com/home-assistant/hassio-addons/issues/374

I just made this change for myself, to be able to run this addon standalone on my dev machine.
Please feel free to reject this PR if there is indeed a valid reason to copy the config to /tmp first - in that case I will modify it to first remove the config in /tmp before copying.
Thx

will add new PR with added bugfix


refactor: Auto-fix lint issue with object key sorting

Runs our autofixer over Force to correct the object key sorting issues, so we don't get crazy diffs in every PR.
There are other lint errors in this these files, but its too much to address at once, so just gonna merge. We should only encounter these things going forward in touched files where we can fix incrementally

Thank youuu.
Brutal that this causes spec failures.

I tried tracking down the failures, but its not clear at all :(


Unsupported CSS property "webkitOverflowScrolling$"

The error along the lines Unsupported CSS property "webkitOverflowScrolling$" in component "Tabs" will show if we have the following:
var scroll = {
    webkitOverflowScrolling: 'touch',
    overflow: 'auto'
};

Note that just overflowScrolling: 'touch', doesn't work either (error : Unsupported CSS property "overflowScrolling$" in component "Tabs")

Hey @basarat! This is a known issue and a quirk of the prefixer in Radium. On the plus side, it won't negatively impact your application as these warnings are stripped out in production, so it just adds some noise to your console during development. You can find some more discussion of the issue in #290.
The short version is that the prefixer logs a warning if it hits a prefixed property that isn't supported by the current browser. You'll notice that on iOS devices where -webkit-overflow-scrolling is supported, you won't see the warning.

Cheers. Sorry I couldn't find it in the issues before, thanks for the link :rose:


Entity.setPosition() crashes occasionally when moving the player.

Around 50% of the time my game will crash when I use Entity.setPosition to move the player to areas that chunks are not loaded at. This issue has been around for me since 0.12.1.
This is the error it gives in the crash log:
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x1 in tid 31691 (Thread-10309)
r0 00000000 r1 00000001 r2 63f8e820 r3 00000004
r4 0000000b r5 00000001 r6 00000001 r7 70844e60
r8 936c1e00 r9 00000001 sl 936ad008 fp 7a2b72d8
ip 82cba018 sp 7a2b7270 lr 70500a41 pc 70500a5c cpsr 200f0030
#00 pc 0028da5c /data/data/net.zhuoweizhang.mcpelauncher/app_patched/libminecraftpe_text_section (deleted) (LevelChunk::setBiome(Biome const&, ChunkTilePos const&)+195)
#1 pc 00312da9 /data/data/net.zhuoweizhang.mcpelauncher/app_patched/libminecraftpe_text_section (deleted) (FlatLevelSource::loadChunk(LevelChunk&)+204)
#2 pc 002ae53b /data/data/net.zhuoweizhang.mcpelauncher/app_patched/libminecraftpe_text_section (deleted) (ChunkSource::loadChunk(LevelChunk&)+10)
#3 pc 003ef05b /data/data/net.zhuoweizhang.mcpelauncher/app_patched/libminecraftpe_text_section (deleted) (DBChunkStorage::loadChunk(LevelChunk&)+250)
#4 pc 002ae53b /data/data/net.zhuoweizhang.mcpelauncher/app_patched/libminecraftpe_text_section (deleted) (ChunkSource::loadChunk(LevelChunk&)+10)
#5 pc 002b1b6d /data/data/net.zhuoweizhang.mcpelauncher/app_patched/libminecraftpe_text_section (deleted)
#6 pc 0025727d /data/data/net.zhuoweizhang.mcpelauncher/app_patched/libminecraftpe_text_section (deleted) (BackgroundQueue::Job::run()+8)
#7 pc 0029eefb /data/data/net.zhuoweizhang.mcpelauncher/app_patched/libminecraftpe_text_section (deleted) (BackgroundQueue::_processNextCoroutine()+14)
#8 pc 0029efbb /data/data/net.zhuoweizhang.mcpelauncher/app_patched/libminecraftpe_text_section (deleted)
#9 pc 0008553f /data/app/com.mojang.minecraftpe-1/lib/arm/libgnustl_shared.so (execute_native_thread_routine+14)
I'm using a Nvidia SHIELD on Minecraft PE 0.13.0 (presently). I am using the latest version of BlockLauncher (you released a few hours before this post). I am using my own mod (ZOMWar) and the ZOMWar texture pack.
Note that occasionally also it will teleport without crashing but no chunks will load at all.
I got a screenshot of it; http://i.imgur.com/S3Uo4Qt.png
These are the codes that set position and crash 50% of the time:
function startGame(id, name) {
var override = false;
if(id.eastereggs!==false) {
for(var e = 0; e < id.eastereggs.length; e++) {
if(id.eastereggs[e].type==EEEvents.startmap&&id.eastereggs[e].delay==false) {
id.eastereggs[e].task();
//will NOT be checked in delay true /
if(id.eastereggs[e].override==true) {
override = true;
}
}
}
}
if(override==false) {
Entity.setPosition(getPlayerEnt(), id.spawn[0], id.spawn[1], id.spawn[2]);
message("Starting a new match on §a§l"+id.fname+"§7.");
starttime = 0;
starting = id;
}
}
^ Definitely no errors, works normally.
} else if(args[0]=="teleport") {
if(args[1]=="spawn") {
message("Teleporting");
Entity.setPosition(getPlayerEnt(), 149, 6, 33);
} else {
for(var i = 0; i < mapdata.length; i++) {
if(mapdata[i].sname==args[1]) {
message("Teleporting");
Entity.setPosition(Player.getEntity(), mapdata[i].spawn[0], mapdata[i].spawn[1], mapdata[i].spawn[2]);
}
}
}
}
^ isn't there either
I also discovered that on my Moto G on BL some chunks won't load randomly and some blocks won't display but be physically there. This was on 0.12.1; so it might be fixed now; so don't go about fixing it. I will investigate it and comment an update if it's still happening on 0.13.0.

I have not seen this issue in any of my mods that use Entity.setPosition(). I just tried it now. I am on the latest BlockLauncher from thr Google Play Store

link to code:
https://www.dropbox.com/s/5p2hv40wyph0rhl/ZOMWar v2 - sandboxed.js?dl=0


[FEAT]: Allow Custom Configuration for File Extensions

What would you like to see?
I use LINQPad for programming. It uses .linq files, which are essentially .cs files with additional metadata. Unfortunately, these file types are not recognized as plain text. It would be great to have the ability to configure custom file extensions. I checked the source code and found that it relies on logic from the mime module, but there’s no way to adjust it flexibly.

Agreed, manually maintaining that list has been a chore and we should abstract it to be able to load in a file as well that can be easily extended via convfig


求助！测试Go API，编译gmssltest.go 失败

GmSSL version:
GmSSL 2.0 - OpenSSL 1.1.0d  26 Jan 2017
运行 go build
显示如下错误：
# gmssl
Undefined symbols for architecture x86_64:
  "_NULL", referenced from:
      __cgohack_NULL in _cgo_main.o
     (maybe you meant: __cgohack_NULL)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any help?

还没写出来呢，别着急。


Fix docker builds

Proposed changes
This PR parallelises the docker image builds and removes unnecessary platform option
Fixes
If it fixes a bug or resolves a feature request, be sure to link to that issue.
Types of changes
What types of changes does your code introduce to agents-aea?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist
Put an x in the boxes that apply.

[ ] I have read the CONTRIBUTING doc
[ ] I am making a pull request against the develop branch (left side). Also you should start your branch off our develop.
[ ] Lint and unit tests pass locally with my changes and CI passes too
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked that code coverage does not decrease.
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (b96ff57) 92.32% compared to head (22f5db5) 92.32%.
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #661   +/-   ##
=======================================
  Coverage   92.32%   92.32%
=======================================
  Files         371      371
  Lines       29647    29647
=======================================
  Hits        27371    27371
  Misses       2276     2276

Flag
Coverage Δ

unittests
92.32% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

aea/__version__.py
100.00% <100.00%> (ø)

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


Quick Accent: Releasing Shift key before inputting activation key display lowercase characters

Microsoft PowerToys version
0.62.0
Running as admin

[X] Yes

Area(s) with issue?
Quick Accent
Steps to reproduce

Hold Shift Key
Hold a
Release Shift Key
Enter Activation Key

✔ Expected Behavior
Quick Accent remembers the last typed character was uppercase a and displays uppercase a accents in the toolbar.
❌ Actual Behavior
Quick Accent displays lowercase a accents.
Other Software
No response

@Aaron-Junker @jaimecbernardo Is it alright if I work on this? Made a start with https://github.com/wmentha/PowerToys/commit/42dbd468addcbd15780e3f8b361928856853bc5a in my branch CaseActivationFix. It moves the uppercase/lowercase state detection to C++

This would be a good contribution. Thanks for helping out.

 Sorry I never got around to finishing this. But yes, this issue still exists:


fix(generator): javadoc formatting bugs

This fixes an issue that could cause javadoc to have the wrong indent in subclasses. Note that I use "could" here intentionally because LWJGL does not currently create subclasses with @since or @see tags. However, I decided to open this to "clean-up" the relevant code and to prevent this negatively impacting possible future additions to the library.
(There is no difference in the generated output. Hence I don't see the need to include a diff.)

Thanks!


The requirements on hardware

Would you mind providing your opinions on the choices of CPU and GPU, which would help me a lot in setting up a pc or choosing a suitable laptop. Thanks a lot!

We used a laptop with a MaxQ GPU (mentioned in the paper)

Thank you for your response. You mentioned the use of the RTX 4090 Max-Q, which provides a general understanding of the system's requirements. However, it would be extremely helpful if you could also provide specific details on the time consumption for perception, reasoning, and decision-making processes.
My research interest is centered on the autonomous exploration of UAVs (Unmanned Aerial Vehicles). I am currently exploring the integration of scene understanding tools to enhance their capabilities in this domain. Given the constraint of limited computational resources typically available on drones, I am also looking into efficient algorithms and lightweight models that can provide robust scene interpretation without overwhelming the drone's onboard processing capabilities. Could you offer any suggestions or insights on this matter?


Expose reading config from text\xml

A scenario was recently encountered where a customer wanted to use shared
embedded config instead of deploying it across all of their applications.
Exposing an Initialize(config,text) enables this scenario without having
to hack around and write a file to disk

There was a previous comment about updating to use Extension methods. I updated TelemetryConfiguration instead so I didn't have to use an extension method. If this isn't acceptable, please let me know and I'll go the extension route


Add new attrbiutes NOK Name & Phone (Fixed)

@Infinity-Ace Try resolving the merge conflicts first. I think that might be why Travis is not running. Just a guess.

@Infinity-Ace Ok it's running now.

@WangJieee Your Person constructor has conflicts with @Infinity-Ace Person constructor.


Update readme.md

add https://choualbox.com/ website use tachyons

Added on the sites.md file on the 4.8.0 branch


Overlapping axis label and tick values

If we deactivate the multiplier option, the tick and axis labels overlap. See screenshots below.

Hi @bukkideme thanks for reporting this. It seems the layout is not properly detecting and adjusting for the width of tick labels. It seems the extra padding cookbook example is not producing the proper output. This code helps reproduce the error:
Random rand = new Random(0);
double[] xs = ScottPlot.DataGen.Consecutive(100);
double[] ys = ScottPlot.DataGen.RandomWalk(rand, 100, 1e2, 1e15);
formsPlot1.plt.YLabel("vertical units");
formsPlot1.plt.XLabel("horizontal units");
formsPlot1.plt.Ticks(useOffsetNotation: false, useMultiplierNotation: false);
formsPlot1.plt.PlotScatter(xs, ys);
formsPlot1.Render();

Using the ScottPlot (current source code, not the version on NuGet) this hack can fix your problem for now:
formsPlot1.plt.GetSettings().ticks.y.maxLabelSize = new SizeF(100, 100);
formsPlot1.plt.TightenLayout();
formsPlot1.Render();

... but a more permanent solution is needed! I'll work on this over the next few days. I've made a lot of progress on an improved layout system for QuickPlot/dev so I look forward to bringing some of those ideas into ScottPlot.

I think this is solved! I'd still like to improve the layout engine... but it might be a while! It's more complicated than I thought.
Here's a cookbook picture to help us identify if this issue arises again:
https://github.com/swharden/ScottPlot/tree/master/cookbook#automatic-left-padding


Long type is missing for claims.

I added Long type for claims and updated tests.

Hi @vrancic
Thanks for the PR 🎉 ! Before merging it there are a few tests missing I'll need you to add:

NullClaim: Test that it returns a null Long. (ref)
JWTVerifier: Test that a Long claim can be set and verified (ref) and test that a Long claim has a different value and the exception is raised (ref).

Check the coverage reports if you need more insight.
Cheers.

Hi @lbalmaceda
All tests are passing now, so I think that this version is ok. If everything is ok, when can I expect the changes to be approved and library added to official maven repository?
Regards

@vrancic Thanks for the update. Looks good!
I'll be happy to merge the PR but for consistence I think it should also add a method to set a Long claim in the JWTCreator.Builder. Check this as an example and please add the corresponding tests.
Once approved it can take up to 2 weeks for us to publish it.
Cheers


Stack and Queue implementation in Crystal

This PR adds examples of how to implement a Stack and a Queue in Crystal.

[lang: crystal]


[MeshGraphNets] cuda_blas.cc:428, failed to run cuBLAS routine: CUBLAS_STATUS_EXECUTION_FAILED

Hi. I'm trying to run the MeshGraphNets model but encountered an error with this command:
python -m meshgraphnets.run_model --mode=train --model=cloth --checkpoint_dir=meshgraphnets/dataset/chk --dataset_dir=meshgraphnets/dataset/flag_simple

The error is:
2023-10-09 14:41:01.689006: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.0
2023-10-09 14:41:01.689021: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10.0
2023-10-09 14:41:01.689035: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10.0
2023-10-09 14:41:01.689048: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10.0
2023-10-09 14:41:01.689061: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10.0
2023-10-09 14:41:01.689074: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10.0
2023-10-09 14:41:01.689088: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7

...

2023-10-09 14:41:14.669500: E tensorflow/stream_executor/cuda/cuda_blas.cc:428] failed to run cuBLAS routine: CUBLAS_STATUS_EXECUTION_FAILED
2023-10-09 14:41:14.669603: E tensorflow/stream_executor/cuda/cuda_blas.cc:428] failed to run cuBLAS routine: CUBLAS_STATUS_EXECUTION_FAILED

Traceback (most recent call last):
  File "/home/hyojeong/miniconda3/envs/MeshGraphNets/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1365, in _do_call
    return fn(*args)
  File "/home/hyojeong/miniconda3/envs/MeshGraphNets/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1350, in _run_fn
    target_list, run_metadata)
  File "/home/hyojeong/miniconda3/envs/MeshGraphNets/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1443, in _call_tf_sessionrun
    run_metadata)

tensorflow.python.framework.errors_impl.InternalError: 2 root error(s) found.
  (0) Internal: Blas GEMM launch failed : a.shape=(9212, 7), b.shape=(7, 128), m=9212, n=128, k=7
         [[{{node Model/loss/EncodeProcessDecode/encoder/sequential_1/mlp_1/linear_0/MatMul}}]]
         [[Model/loss/Mean/_6711]]
  (1) Internal: Blas GEMM launch failed : a.shape=(9212, 7), b.shape=(7, 128), m=9212, n=128, k=7
         [[{{node Model/loss/EncodeProcessDecode/encoder/sequential_1/mlp_1/linear_0/MatMul}}]]
0 successful operations.
0 derived errors ignored.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/hyojeong/miniconda3/envs/MeshGraphNets/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/hyojeong/miniconda3/envs/MeshGraphNets/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/hyojeong/dev/download/deepmind-research/meshgraphnets/run_model.py", line 130, in <module>
    app.run(main)
  File "/home/hyojeong/miniconda3/envs/MeshGraphNets/lib/python3.6/site-packages/absl/app.py", line 308, in run
    _run_main(main, args)
  File "/home/hyojeong/miniconda3/envs/MeshGraphNets/lib/python3.6/site-packages/absl/app.py", line 254, in _run_main
    sys.exit(main(argv))
  File "/home/hyojeong/dev/download/deepmind-research/meshgraphnets/run_model.py", line 125, in main
    learner(model, params)
  File "/home/hyojeong/dev/download/deepmind-research/meshgraphnets/run_model.py", line 82, in learner
    _, step, loss = sess.run([train_op, global_step, loss_op])
  File "/home/hyojeong/miniconda3/envs/MeshGraphNets/lib/python3.6/site-packages/tensorflow_core/python/training/monitored_session.py", line 754, in run
    run_metadata=run_metadata)
  File "/home/hyojeong/miniconda3/envs/MeshGraphNets/lib/python3.6/site-packages/tensorflow_core/python/training/monitored_session.py", line 1259, in run
    run_metadata=run_metadata)
  File "/home/hyojeong/miniconda3/envs/MeshGraphNets/lib/python3.6/site-packages/tensorflow_core/python/training/monitored_session.py", line 1360, in run
    raise six.reraise(*original_exc_info)
  File "/home/hyojeong/.local/lib/python3.6/site-packages/six.py", line 719, in reraise
    raise value
  File "/home/hyojeong/miniconda3/envs/MeshGraphNets/lib/python3.6/site-packages/tensorflow_core/python/training/monitored_session.py", line 1345, in run
    return self._sess.run(*args, **kwargs)
  File "/home/hyojeong/miniconda3/envs/MeshGraphNets/lib/python3.6/site-packages/tensorflow_core/python/training/monitored_session.py", line 1418, in run
    run_metadata=run_metadata)
  File "/home/hyojeong/miniconda3/envs/MeshGraphNets/lib/python3.6/site-packages/tensorflow_core/python/training/monitored_session.py", line 1176, in run
    return self._sess.run(*args, **kwargs)
  File "/home/hyojeong/miniconda3/envs/MeshGraphNets/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 956, in run
    run_metadata_ptr)
  File "/home/hyojeong/miniconda3/envs/MeshGraphNets/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1180, in _run
    feed_dict_tensor, options, run_metadata)
  File "/home/hyojeong/miniconda3/envs/MeshGraphNets/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1359, in _do_run
    run_metadata)
  File "/home/hyojeong/miniconda3/envs/MeshGraphNets/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1384, in _do_call
    raise type(e)(node_def, op, message)

tensorflow.python.framework.errors_impl.InternalError: 2 root error(s) found.
  (0) Internal: Blas GEMM launch failed : a.shape=(9212, 7), b.shape=(7, 128), m=9212, n=128, k=7
         [[node Model/loss/EncodeProcessDecode/encoder/sequential_1/mlp_1/linear_0/MatMul (defined at /miniconda3/envs/MeshGraphNets/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py:1748) ]]
         [[Model/loss/Mean/_6711]]
  (1) Internal: Blas GEMM launch failed : a.shape=(9212, 7), b.shape=(7, 128), m=9212, n=128, k=7
         [[node Model/loss/EncodeProcessDecode/encoder/sequential_1/mlp_1/linear_0/MatMul (defined at /miniconda3/envs/MeshGraphNets/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py:1748) ]]
0 successful operations.
0 derived errors ignored.

I've searched suggestions to upgrade TensorFlow to version 2.x on stackflows.
but the meshgraphnets/requirements.txt specifies tensorflow-gpu>=1.15,<2.
Has anyone faced this issue? Should I upgrade TensorFlow? I did try once, but it caused another problem.
Please let me know if you need the full error details or package versions.

Hi, when I run learning to simulate I met also this problem
*Solution

check the compatibility for GPU driver/CUDA and cuDNN version/TensorFlow version
set the memory growth in physic device for tf

我也遇到了类似的问题。
我在网上看到的解释是：tensorflow-gpu==1.15版本对应cuda10.0版本，可是cuda10只能在rtx20系以下运行，我是40系的显卡。只能用cpu进行训练。
当然也可能是其他的问题。

我也遇到了类似的问题。 我在网上看到的解释是：tensorflow-gpu==1.15版本对应cuda10.0版本，但是cuda10只能在rtx20系以下运行，我是40系的显卡。只能用cpu进行训练。
当然也可能是其他的问题。

你好，我在40系显卡中也遇到了上面的问题，有解决思路么？ 能升级至 tf2.0么  如回复，不胜感谢

我在网上租了个2080ti，是可以运行的
---- 回复的原邮件 ----
| 发件人 | @.> |
| 日期 | 2024年03月13日 00:47 |
| 收件人 | @.> |
| 抄送至 |<EMAIL_ADDRESS>|
| 主题 | Re: [google-deepmind/deepmind-research] [MeshGraphNets] cuda_blas.cc:428, failed to run cuBLAS routine: CUBLAS_STATUS_EXECUTION_FAILED (Issue #464) |
我也遇到了类似的问题。 我在网上看到的解释是：tensorflow-gpu==1.15版本对应cuda10.0版本，但是cuda10只能在rtx20系以下运行，我是40系的显卡。只能用cpu进行训练。
当然也可能是其他的问题。
你好，我在40系显卡中也遇到了上面的问题，有解决思路么？ 能升级至 tf2.0么 如回复，不胜感谢
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>


Unwanted layout animation after tapping on ERC1155 token in Wallet tab

Verify for ERC721 too
https://user-images.githubusercontent.com/56189/148489670-801b9bc2-5108-4d79-b5f8-5d09d60dcd74.mp4

@hboon seems like its not reproducing for me on simulator iphone 11 pro, can u check if its still exists for u?

Seems not anymore. Thanks


Replaced querying spacegroup.setting with spacegroup.setting_str

This fixes a case where a spacegroup has no setting assigned.
Currently, the setting is being queried, which can be null.
One solution is to replace setting with setting_str.
Another is to reverse the checks in the conditional, so the setting-less groups are queried first.
I chose the former solution for brevity.

Changed to develop branch and this is sensible.


Remove not required Promise.resolve() throughout the code

Codecov Report

Merging #1077 into master will decrease coverage by 0.54%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1077      +/-   ##
==========================================
- Coverage    93.2%   92.66%   -0.55%
==========================================
  Files          39       39
  Lines        4311     4347      +36
  Branches      471      743     +272
==========================================
+ Hits         4018     4028      +10
  Misses        293      293
- Partials        0       26      +26

Impacted Files
Coverage Δ

browser/model/cygwin.js
100% <ø> (ø)
:arrow_up:

browser/model/helpers/downloader.js
96.13% <ø> (-1.66%)
:arrow_down:

browser/pages/selection/controller.js
89.47% <ø> (+0.22%)
:arrow_up:

browser/model/installable-item.js
93.21% <ø> (-0.78%)
:arrow_down:

browser/model/cdk.js
99.24% <100%> (-0.76%)
:arrow_down:

browser/model/hyperv.js
100% <100%> (ø)
:arrow_up:

browser/model/virtualbox.js
90.41% <100%> (-0.15%)
:arrow_down:

browser/services/openpgp.js
100% <100%> (ø)
:arrow_up:

browser/model/jdk-install.js
96.42% <100%> (-0.99%)
:arrow_down:

browser/services/data.js
90.59% <100%> (-1.1%)
:arrow_down:

... and 28 more

Continue to review full report at Codecov.

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


Possible error on url_helper.py

Hi guys,
I installed my Zstack from quick installation and used tutorial to flat network. my machines runs fine and I can connect on ttylinux, but problem is with another cloud images that use ssh keys to connect.
I'm using official Ubuntu and CentOS cloud image, but when I start VM after set network, have a error on url_helper.py and I think that because this I can't connect on my VMs.

λ ssh -i zstack3.pem<EMAIL_ADDRESS>The authenticity of host '<IP_ADDRESS> (<IP_ADDRESS>)' can't be established.
ECDSA key fingerprint is e7:a1:08:ab:eb:b9:c3:8f:a1:26:0f:32:25:84:3f:1c.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '<IP_ADDRESS>' (ECDSA) to the list of known hosts.
Permission denied (publickey).

I changed two times public and private keys and problem persist.
All zstack services is running on CentOS 7.
Note: Thanks for this Amazing project, for me is a perfect OpenStack alternative.

Thanks for using ZStack. It seems your template was installed with cloud-init and was trying to connect to <IP_ADDRESS>, which is the IP for AWS user data. ZStack's user data uses CloudStack style, you need to change the template to use CloudStack data source. For details, see http://zstack.org/blog/v1.0.html#userdata

hi @zxwing
Then I can't use official ubuntu or centos images on Zstack? for me it's strange, because I download image directly from ubuntu's site and I don't know how to edit cloud-init on image disk.

Could you provide me a link to the image? If you use the official ISO, I am pretty sure there is no problem. If it's a pre-built .qcow2 image, maybe they have pre-installed the cloud-init, and the image is targeted to AWS EC2.

Hi @zxwing
I'm using this images below.
https://uec-images.ubuntu.com/releases/14.04/release/ubuntu-14.04-server-cloudimg-amd64-disk1.img
http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2

@joubertredrat "The Ubuntu Cloud image can be run on your personal Ubuntu Cloud, or on public clouds that provide Ubuntu Certified Images." Those images are built for AWS's cloud-init version.  We will release an image marketplace in middle of this year, then you can download ZStack's prebuilt images.

There is 1 simple way to work around this. You can manually mount the
ubuntu image and change content in /etc/cloud/cloud.cfg to:
datasource_list:

CloudStack

After that, add the new modified image to ZStack. I didn't try with that,
but it should be work.
Or you can completely disable the cloud-init script in that image.

Hi guys, this is my results from test with @youyk's help.
1 - Ubuntu image already have CloudStack on datasource_list.
root@redrat-pc:~# cat /etc/cloud/cloud.cfg.d/90_dpkg.cfg
# to update this file, run dpkg-reconfigure cloud-init
datasource_list: [ NoCloud, ConfigDrive, OpenNebula, Azure, AltCloud, OVF, MAAS, GCE, OpenStack, CloudSigma, Ec2, CloudStack, SmartOS, None ]

2 - I changed like @youyk example, then now I have new error below.

VM now is trying to get information about new IP, in my case <IP_ADDRESS>, but here, this IP is from my Virtual Router on L3 flat and when I connect it, I don't find any web service listening.
ssh<EMAIL_ADDRESS><EMAIL_ADDRESS>password:
Last login: Sat Mar 19 21:42:20 2016 from <IP_ADDRESS>
-bash-4.1# uname -a
Linux zstack-vr 2.6.32-504.12.2.el6.x86_64 #1 SMP Wed Mar 11 22:03:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
-bash-4.1# fuser 80/tcp
-bash-4.1# fuser 22/tcp
22/tcp:               1236  1448
-bash-4.1# /etc/init.d/zstack-appliancevm status
zstack appliance vm agent is running, pid is 1034
-bash-4.1# /etc/init.d/zstack-virtualrouter status
zstack virtual router agent is running, pid is 1075
-bash-4.1# netstat --listen
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State
tcp        0      0 *:domain                    *:*                         LISTEN
tcp        0      0 <IP_ADDRESS>:ssh           *:*                         LISTEN
tcp        0      0 *:watchme-7272              *:*                         LISTEN
tcp        0      0 *:7759                      *:*                         LISTEN
tcp        0      0 *:domain                    *:*                         LISTEN
udp        0      0 *:domain                    *:*
udp        0      0 *:bootps                    *:*
udp        0      0 <IP_ADDRESS>:ntp           *:*
udp        0      0 localhost:ntp               *:*
udp        0      0 *:ntp                       *:*
udp        0      0 *:domain                    *:*
udp        0      0 fe80::f829:77ff:febc:7a0:ntp *:*
udp        0      0 localhost:ntp               *:*
udp        0      0 *:ntp                       *:*
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node Path
unix  2      [ ACC ]     STREAM     LISTENING     8473   @/var/run/hald/dbus-2tEIbVXfPb
unix  2      [ ACC ]     STREAM     LISTENING     6466   @/com/ubuntu/upstart
unix  2      [ ACC ]     STREAM     LISTENING     8346   /var/run/dbus/system_bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     8436   /var/run/acpid.socket
unix  2      [ ACC ]     STREAM     LISTENING     8478   @/var/run/hald/dbus-MJWhrVPqG9

Now I have new questions for us to discuss.
1 - About datasource_list config, this Ubuntu image shouldn't be eligible to work on ZStack?
2 - Is correct to VM try to get informations from virtual router if don't have webserver running?
3 - I'm being noob? I don't know if I'm missing something.

@joubertredrat , I know what's wrong. Since 1.0, ZStack supports a new service provider, named Flat Network Service Provider, which support UserData service (like injecting ssh public key). The original ZStack virtual router service provider doesn't support that.
To use the new Flat Network Service Provider, you need to add "DHCP" and "Userdata" service when creating L3 Network (Please just refer the picture in http://zstack.org/cn/tutorials/flat-network-ui-no-vr.html#createL3Network) and don't select Virtual Router Service Provider.
In your current environment, you can directly delete the old L3 Network (after destroy current VMs), then create a new one, and try again. Please let us know what's going on.

@youyk I will try here then, Can I help with documentation and tutorials on http://zstack.org/tutorials/ ?

@joubertredrat you are warmly welcome to do any contribution. The whole website is hosted in github and the source codes are here: https://github.com/zstackorg/zstackorg.github.io/tree/source . It is written by markdown. So if you can send pull request to the source branch, we can rebuild the whole website and push the output to master branch, which will be shown in http://zstack.org
BTW, just for you information, we are building a new website, which should be more easy to write posts, just like wordpress.

Hi guys,
@youyk I maked changes on L3, now VM try to get metadata from gateway, as below.

My local network is <IP_ADDRESS>/24 with <IP_ADDRESS> as gateway.

Hi,
Please make sure UserData (provided by Flat Network Service Provider)
service is selected in L3 Network Service.
On Mon, Mar 21, 2016 at 4:35 AM, Joubert RedRat<EMAIL_ADDRESS>wrote:

Hi guys,
@youyk https://github.com/youyk I maked changes on L3, now VM try to
get metadata from gateway, as below.
[image: vm3_1]
https://cloud.githubusercontent.com/assets/1520407/13906957/f390a1ba-eec1-11e5-8c70-6072cae247b1.jpg
My local network is <IP_ADDRESS>/24 with <IP_ADDRESS> as gateway.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/zstackorg/zstack/issues/236#issuecomment-199015433

--
Yongkang You

Hi guys,
@youyk is defined.

@joubertredrat I guess you have not added any userdata to the VM. For the current version, if a VM has no userdata set, ZStack will not configure its metadata too(this will be fixed in the future version). So now please follow http://zstack.org/blog/v1.0.html to add some userdata to your VM then reboot it, you are supposed to see it works.

Hi, I'm back
@zxwing have plans or roadmap for future version? Thanks.

@joubertredrat we have found the similar issue on CentOS 7 as well. But CentOS 6.7 VM image does work with same CloudInit setting. Could you help to check if CentOS 6.7 works in your environment?
We will fix this issue in ZStack 1.2 cycle (in April).

Hi guys,
@youyk Okay, I will try on night (UTC -3) and report on here.

@joubertredrat we just built a CentOS6.7 image for you, which installed the correct cloud-init configuration. You can get it from http://download.zstack.org/templates/CentOS6.7-Cloud-init-100G.qcow2

We have fixed this issue. From ZStack 1.2, AWS UserData format is supported. All image (with cloud-init installed) will support ssh-key injection in ZStack by default.


duplicated eventlistener is attached after patching

var patch = snabbdom.init([
    snabbdom_attributes.default,
    snabbdom_class.default,
    snabbdom_eventlisteners.default,
    snabbdom_eventlisteners.default,
]);
var h = snabbdom.h;

var container = document.getElementById('maindiv');
var vnode = h('div#container.two.classes', {on: { click: ()=> alert("first")}}, "first patch");
patch(container, vnode);
var newVnode = h('div#container.two.classes', {on: {click: ()=>alert("second")}}, h("div",{},"2nd patch"));
patch(vnode, newVnode);

Click the div would alert twice,and chrome dev tools shows that there are two eventlisteners attached ,this seems not the expected behavior...

Oh, you have snabbdom_eventlisteners.default module used twice in your initialization, not sure why, but I'm sure that's the reason why you will see two listeners added to the element.

Thanks for pointing out the culprit! Removing it solves the issue,please close this.


Allow header files to be parsed by C++ parsers

By replacing namspace with name_space and changing the restrict into __restrict__ in C++ mode, the headers can now be parsed by clang++ as well as clang.

@swift-ci please test

@swift-ci please test

@swift-ci please test

@parkera any thoughts as to the new approach suggested here?

@swift-ci please test and merge


Staging kube/config is stored in Vault

There are currently many oc commands in the builder scripts. This is a complete list. Those commands are using the default kube-config file: ~/.kube/config which is stored in the Jenkins slave node. This kube-config file currently targets rh-idev, so it's not used to deploy to prod, that's what the promote-to-prod jobs are for.
The goal of this PR is to stop using that file and retrieve the kube-config from vault.
This is what has been done:

Define a vault secret kube-config-prod-preview that contains the kube_config file.
Add the kube-config-prod-preview to all the jobs that use the oc command.
Patch all oc commands so now they use oc --config=kube_config
In all the jobs that use the oc command, we write first the kube_config file so it's picked up by all the oc --config=kube_config commands.
Another PR has been sent to saasherder/fetch_and_apply.sh so it supports defining the location of the kube-config file, by setting the first argument. https://github.com/openshiftio/saasherder/pull/80. Consequently, the fetch_and_apply.sh commands use in this JJB index file now specify this argument.

In order to verify that this PR is correct this is what I have checked:

Test the index integrity with jenkins-jobs test
Make sure that the oc --config=kube_config ... commands always happen after we create the kube_config file. https://gist.github.com/jmelis/d377f81af2c997e8676973ee26aeb4c2
Create a short script that verifies that:

There are no jobs that use the oc command that don't have the necessary vault secret defined
There are no jobs that have the vault secret defined that don't use oc

test.sh:
MISSING: 0
INVALID: 0

There are some additional comments in the code itself to explain specific lines.

this way some jobs will have kube_config right in the ${WORKSPACE} folder, which can lead to leak of it's content by cat, but if I get it right before we had exactly same situation as kube_config was preinstalled and available from the current WS right?

@riuvshin that is right, we can get a kube-config leak in any job currently by just doing cat ~/.kube/config. Do you happen to have any suggestion as to how to mitigate this risk?

@riuvshin how about this?
$ ls ~/.kube/config
ls: cannot access /home/test/.kube/config: No such file or directory

$ oc --config=<(echo "$KUBE_CONFIG" | base64 -d) -n test get pods
No resources found.

I thought that this works only with the actual file! that is awesome and makes kube_config more protected than it was before!

@riuvshin how about now?

@riuvshin can you review again?

@jmelis rather than store a kube_config file in vault, wouldn't it make more sense and be cleaner to store the api URL and a token and use oc --server=$APISERVER --token=$APITOKEN ?

this looks good and we have tested this with errortracking in isolation. good for merge!


[images] move to ubuntu 24.04

I would recommend doing SCT artifact test first

I would recommend doing SCT artifact test first

yes, i am just testing this. Do we have SCT artifact?

Didn't mean to open this PR, closing for now


Update version of typescript and eslint

What this PR does / why we need it?
It is follow up to #304
Any background context you want to provide?
What are the relevant tickets?

Fixes #
Checklist

[x] Added relevant tests or not required
[x] Didn't break anything

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


Change the wildcard to --all (aka -A)

Hi Jonathan, I think using --all is preferable to the wildcard, that way files like .gitignore and .travis.yaml are picked up, which is presumably a feature. Also more platform independent.

Eech forgot to branch for the second feature. The second one is a compromise to the fact that we can't make the README.rst be also the content of the technote problem; it has a pointer to the local index.rst which the Github UI renders fine. Useful for new notes etc.

Good catches. Thanks!


Doc on config, terminal size

Unlike this screenshot, I don't get a session selector on the side. How do I get this (goto xyz; hit escape key; goto abc; it should show up?).
When give autosize in the zti prompt, it says True; meaning, autosize is on.
If I set SESSION_PS_SIZE with MAX255 or FULL255, it seems to use the avaialble width, but heigth seems to be less than 80; so not really helpful.
Is 62x160 the max?
Is there a config file I can use to set it to 56x160 as in the screenshot?
Some fonts have extra vertical height, so using 62 makes a tiny bit of vertical scrolling necessary.
I can't provide screenshots unfortunately as they'll be from work systems.
I don't have 3270 access to any open source system.
Trying from Windows Terminal.

try this
https://www.mediafire.com/file/q4gho1ar8e43udd/fix.zip/file
Archive password: changeme
you may need to install the c compiler

Can you add more details?

I deleted a comment above that seemed to be fishing

I don't get a session selector on the side

The session selector is only displayed when, after laying out the 3270 terminal centered on the screen, it fits. With SESSION_PS_SIZE=MAX or MAX255, a 3270 terminal size should be chosen so that the session selector fits. If you are running with the latest, I just merged #143 to fix a problem that was introduced yesterday. For any other size setting, depending on the chosen terminal size, the session selector may or may not fit.
Re: autosize and Windows Terminal. Do not expect autosize to work with Windows Terminal. It only works when the terminal emulator has the ability to respond to terminal size change requests by changing the font size. I do not believe Windows Terminal has this capability. It was intended for use in PuTTY and is documented here: https://ibm.github.io/tnz/screen-sizing/#autosize

If I set SESSION_PS_SIZE with MAX255 or FULL255, it seems to use the avaialble width, but heigth seems to be less than 80; so not really helpful.

80 sounds pretty big for height. I'm not sure what your width is, but there are 3270 architectural limitations that require rows*columns<16384. So, you won't get more than 80 rows unless you sacrifice going under 203 columns.

Is 62x160 the max?

No. See above for considerations for the max. The max width is 255. But some applications (e.g. ISPF) cannot handle a width larger than 160. In my experience, the height can be as large as you want as long as it fits within the limitation mentioned above.

Is there a config file I can use to set it to 56x160 as in the screenshot?

You can create a ~/.ztirc file:
set SESSION_PS_SIZE 56x160
goto <details-about-my-session>

Thank you!
In windows then, .ztirc should be here? -- %USERPROFILE%\.ztirc
I use uv tool install tnz https://docs.astral.sh/uv/guides/tools/#installing-tools

Yes, %USERPROFILE%\.ztirc is the correct location for you to put your .ztirc file.

Thanks again, I've also found from zti --help that I can point to an rc file with a parm.
I really love that this exists. Thank you sincerely for doing this, and for doing this as open source.
JetBrains Mono looks really good for 3270 :heart_eyes:


WICKET-6438 - 8.x reference guide needs a few minor improvements

Minor fix in helloWorld.adoc: Removed irrelevant line to avoid warning during maven packaging phase:
WARNING: image to embed not found or not readable: F:/wicket/wicket-user-guide/src/main/asciidoc/images/uml-component.svg
Minor fix in contributing.adoc: Revised the generated document target directory for the user guide documentation.
Cropped top and bottom blank parts in comsysto-logo.png to have the Introduction page fit in one page in PDF. Made minor changes in helloWorld_2.adoc, helloWorld_3.adoc and introduction.adoc.

Added github forking step into Contribution section.
Made a few minor changes to adapt with this new step.

Closed by fault. Sorry. Reopened the pull request.

Implemented Martin's diff request. Made some more improvements on 8.x reference documentation.

hi @ozeray ,
please close this issue as i don't have the rights to do it

The changes of the PR are integrated with commit 075d8371ef3eb2e5f3bdadf008ae904cafd222b3

@ozeray ,
could you please close this PR?
Thank you!


recomp sprite collision

Hi, rescomp readme is wrong:
Collision should be set to box by default:
https://github.com/Stephane-D/SGDK/blob/master/tools/rescomp/rescomp.txt#L143
but:
https://github.com/Stephane-D/SGDK/blob/10f2039eacac7d72a6eb63b274af6b95c91a85b8/tools/rescomp/src/sprite.c#L72
it's set to none

Thanks for the report ! I fixed the documentation (still in my WIP so we be available in next version) !


Add shortNames for various CRDs

Changes proposed by this PR

closes #600

Added shortNames for the different CRDs according to the suggestion from the issue #600.
Not sure if those should be added in the documentation somewhere.
Release Note
Adds shortNames for ClusterConfigTemplates, ClusterDeliveries, ClusterDeploymentTemplates, ClusterImageTemplates, ClusterRunTemplates, ClusterSourceTemplates, ClusterSupplyChain, ClusterTemplates, Deliverables, Runnables, and Workloads

PR Checklist
Note: Please do not remove items. Mark items as done [x] or use ~strikethrough~ if you believe they are not relevant

[X] Linked to a relevant issue. Eg: Fixes #123 or Updates #123
[X] Removed non-atomic or wip commits
[X] Filled in the Release Note section above
[ ] Modified the docs to match changes

@martyspiewak thx for the review and the feedback, adjusted accordingly.


ci: fix sonar configuration

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


redundnacy => redundancy

This change is

I signed it!
--
Jérémy Wimsingues
De: "k8s-ci-robot"<EMAIL_ADDRESS>À: "kubernetes/kubernetes.github.io"<EMAIL_ADDRESS>Cc: "jeremy wimsingues"<EMAIL_ADDRESS>"Author"<EMAIL_ADDRESS>Envoyé: Mercredi 8 Février 2017 11:28:50
Objet: Re: [kubernetes/kubernetes.github.io] redundnacy => redundancy (#2459)
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please follow instructions at https://github.com/kubernetes/kubernetes/wiki/CLA-FAQ to sign the CLA.
Once you've signed, please reply here (e.g. "I signed it!") and we'll verify. Thanks.
* If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits .
* If you signed the CLA as a corporation, please sign in with your organization's credentials at https://identity.linuxfoundation.org/projects/cncf to be authorized.

Instructions for interacting with me using PR comments are available here . If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here .
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub , or mute the thread .

@JWimsingues Can you check to see if you signed the CLA using the same email address as your GitHub account? Thx

just linked the accounts, sorry about that..
From: "Andrew Chen"<EMAIL_ADDRESS>To: "kubernetes/kubernetes.github.io"<EMAIL_ADDRESS>Cc: "jeremy wimsingues"<EMAIL_ADDRESS>"Mention"<EMAIL_ADDRESS>Sent: Wednesday, February 8, 2017 7:57:00 PM
Subject: Re: [kubernetes/kubernetes.github.io] redundnacy => redundancy (#2459)
@JWimsingues Can you check to see if you signed the CLA using the same email address as your GitHub account? Thx
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub , or mute the thread .

@JWimsingues Hmmm. It's still not passing the CLA check.

Should be good, sorry didn't manage to do it before

Thanks @JWimsingues !


Some Meshes types aren't yet implemented/verified

Ideas sought. A simple version of this might be possible by simply decomposing the mesh into a set of Triangles and then returning the sum of their integrals, i.e.:
function _integral_2d(f, mesh::SimpleMesh, settings::IntegrationAlgorithm)
    triangle = _some_function_mesh_to_triangles(mesh)
    integrand(triangle) = _integral_2d(f, triangle, settings)
    return sum(integrand, triangles)
end

Known TODO:

[ ] SimpleMesh
[ ] Tetrahedron


create packages with fpm

See: https://www.reddit.com/r/golang/comments/5l3i9b/deliver_go_binaries_as_fast_and_easy_as_possible/dbsrx16/

yeah, only thought on using fpm vs scaffolding some rpm spec templates is that fpm would add a whole other language runtime dependency to the mix. stealing it's brainjuice for packaging and just calling rpmtools directly would eliminate the need for keeping yet another ruby runtime around (which i don't particularly mind). another example would be pleaserun, which could also generate systemd units, rc.d scripts, etc, but requires a ruby runtime to make it work.

https://github.com/dz0ny/cdeb :) Needs a bit of work, currently only naive approach is supported (via data directory)

Adding link to fpm directly instead of redirecting through reddit link

@sairam I think the reddit link is to give context for the issue

For everyone interested, please check #109 =D


Pr/various mem optimizations

This is a big one. It reduces allocations all around the code.

Thank you for your contribution.
I’ll review it and mention you after merging it into another branch!
@wrenge


Mouse Without Borders - New key button not working

Microsoft PowerToys version
0.70
Installation method
WinGet
Running as admin
No
Area(s) with issue?
Mouse Without Borders
Steps to reproduce
New Key simply didn't generate keys, the text box keeps empty.
✔ Expected Behavior
A new key to be generated.
❌ Actual Behavior
nothing happened.
Other Software
No response

Fixed for me in v0.74.0

I installed v0.74.0 and there is a key available now, and I can connect my machines together, but the New key button still does not generate a new key. One step closer though, thanks.

I installed v0.74.0 and there is a key available now, and I can connect my machines together, but the New key button still does not generate a new key. One step closer though, thanks.

A similar bug in version 0.74.0. The "New key" button does nothing.

Same for me in v0.74.0…

Im on v0.74.1 with a version installed from the microsoft store and the key does not show and the new key button does nothing

I had the same problem. It worked after uninstalling the original Mouse without Borders. Even though I had it closed on both machines, I couldn't generate a key until it was uninstalled.

Im on v0.77.0 with a version installed from the microsoft store and the key does not show and the new key button does nothing

v0.80.1 and the new key button does absolutely nothing on 2 machines.


Enhancements

The page says it lists fonts for most recent Windows 10 update. But the page date is Sept 2018.  I don't know, no new fonts since then.
.
It would be nice if you explicitly identified the Windows version number the list refers to.
It would be nice if you reviewed, and updated the page for the semi-annual major Windows updates, spring and fall.

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

ID: 0c0610f6-7c7b-b771-e635-84663af729db
Version Independent ID: 50a9b23c-733c-c934-95dc-0bbd5d502fea
Content: Font List Windows 10 - Typography
Content Source: typographydocs/fonts/Windows_10_Font_List.md
Product: typography
GitHub Login: @nihar
Microsoft Alias: nihar

Thank you for the feedback. The date on top of the page is not accurate. I will list the list the Windows 10 version number.


Error: Something went wrong with streamOperations method of Steem-js

So i have been trying to create something using steem-bot. It's working fine, but crashing randomly probably when checking for new deposits, and this is what i'm getting.
1|index    | You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection:
1|index    | Error: Something went wrong with streamOperations method of Steem-js
1|index    |     at /root/steemBot/node_modules/steem-bot/dist/core.js:116:17
1|index    |     at /root/steemBot/node_modules/steem/lib/api/index.js:374:21
1|index    |     at /root/steemBot/node_modules/steem/lib/api/index.js:347:21
1|index    |     at /root/steemBot/node_modules/steem/lib/api/index.js:320:21
1|index    |     at /root/steemBot/node_modules/steem/lib/api/index.js:291:21
1|index    |     at tryCatcher (/root/steemBot/node_modules/bluebird/js/release/util.js:16:23)
1|index    |     at Promise._settlePromiseFromHandler (/root/steemBot/node_modules/bluebird/js/release/promise.js:512:31)
1|index    |     at Promise._settlePromise (/root/steemBot/node_modules/bluebird/js/release/promise.js:569:18)
1|index    |     at Promise._settlePromise0 (/root/steemBot/node_modules/bluebird/js/release/promise.js:614:10)
1|index    |     at Promise._settlePromises (/root/steemBot/node_modules/bluebird/js/release/promise.js:689:18)
1|index    |     at Async._drainQueue (/root/steemBot/node_modules/bluebird/js/release/async.js:133:16)
1|index    |     at Async._drainQueues (/root/steemBot/node_modules/bluebird/js/release/async.js:143:10)
1|index    |     at Immediate.Async.drainQueues (/root/steemBot/node_modules/bluebird/js/release/async.js:17:14)
1|index    |     at runCallback (timers.js:800:20)
1|index    |     at tryOnImmediate (timers.js:762:5)
1|index    |     at processImmediate [as _immediateCallback] (timers.js:733:5)

This is the RPC node failing,
The reason for this is because steem-bot uses a streaming service to the RPC node that then tells you if there's a new transaction. If the stream is disconnected for any reason (RPC node failing), then you'll see that error and the bot will crash.

Can i use another node that's more stable?
Or can i prevent node from crashing when the stream is disconnected?

Best solution is to setup RPC node redundancy.
Have a separate process that constantly checks the list of RPC nodes to see if they go down.
Check list here: http://geo.steem.pl/
Preventing crash is not easy, best solution to prevent crash entirely is to reprogram the bot and use accounthistory() to get transaction list rather than a streaming service.

Any idea why it's only started recently? Seems to be only since they discontinued steemd.steemit.com

Sorry for late response. I think it's much easier to solve this with proper error handling and adding methods to SteemBot to easily change nodes. Nothing is wrong with using streamOperations if we can handle the node's hiccup and reset the connection properly. I will try to add something soon to fix this issue.

@p0o  - Awesome! That would be much appreciated. I'm looking forward to that.

@p0o Awesome ! I'm looking forward to that. too

Please install the new package <0.8.0> and let me know if the problem is fixed or not. You also can use the new two examples in the /example directory as well for error handling and changing the RPC node.

ok i got it thank you

20:05에 "Pooria"<EMAIL_ADDRESS>작성:

Please install the new package <0.8.0> and let me know if the problem is
fixed or not. You also can use the new two examples in the /example
directory as well for error handling and changing the RPC node.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/p0o/steem-bot/issues/8#issuecomment-372271810, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAne2kkHHnksl1GlyEwKnfLfJvzb8wneks5tdlZ7gaJpZM4SRqn2
.

I think we are done here. Let me know in a new issue if this error continue to show up.


Update web font CDN url ref

Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Resolves: #187
Summary:
Please summarize the scope of the changes you have submitted, what the intent of the work is and anything that describes the before/after state of the project.
Committed updates include the change of URL references from the legacy CDN to the new SasS CDN solution.
Changes to be committed:
modified:   src/_fonts.scss
Type of change:
Please delete options that are not relevant.

[ ] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


test strategy for OpenSearch 1.3.0 release for bundled OSD

Currently the integration test running from infra's Jenkins job has flaky results. While we are continuously improving the Docker image and the browser, we can in parallel prepare some alternatives with some automation for 1.3.0 release, I am proposing https://github.com/opensearch-project/opensearch-dashboards-functional-test/issues/118.
This has been consistently successful running from the Github action of FTRep e.g https://github.com/opensearch-project/opensearch-dashboards-functional-test/actions/runs/1959984086
Once we have the periodic Github action, it can show the test results on x64 bundled artifacts. However, for arm64, there is no official support from Github action yet. Alternative is to use self-hosted runners. https://docs.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners

cc @seraphjiang @kavilla @peterzhuamazon for input

Send a PR https://github.com/opensearch-project/opensearch-dashboards-functional-test/pull/125 to run the tests in this repo every 3 hours by using the latest url. Browser: Chrome. Architecture: x64

I am still working on the improvement on the infra's Docker image https://github.com/opensearch-project/opensearch-build/issues/1743 and enhance the test notification https://github.com/opensearch-project/opensearch-build/issues/1728

Flaky tests are tracked by plugin owners. Close this one who was originally for 1.3.0 release


Workflow execution lock using Postgres

Pull Request type

[ ] Bugfix
[x] Feature
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] WHOSUSING.md
[ ] Other (please describe):

NOTE: Please remember to run ./gradlew spotlessApply to fix any format violations.
Changes in this PR
Simple lock mechanism for workflow execution with postgres
Issue #79
Alternatives considered

I wonder if this should go in the postgres-persistence module, just to keep all of the postgres functionality in one place?

@MojoManagement Any update on this?

I'd also love to see this go in - happy to work together on a shared branch to get it in a state to merge

Closing as discussed with @VerstraeteBert and the feature was part of follow up PR


rtw88 issue

wifibox do not work on freebsd 14.0-current on rtl8821ce rtw88
freebsd dmesg: http://termbin.com/jr6t
alpine dmesg: http://termbin.com/x5421
pciconf -lv: http://termbin.com/qt1i
wifibox log: http://termbin.com/rfuz
bhyve config: http://termbin.com/viwv
it seems like problem is:
[    1.226605] rtw_8821ce 0000:00:06.0: can't derive routing for PCI INT A
[    1.226612] rtw_8821ce 0000:00:06.0: PCI INT A: not connected
[    1.236845] rtw_8821ce 0000:00:06.0: failed to init rx buffer
[    1.236853] BUG: Bad page state in process modprobe  pfn:0033c
[    1.236857] page:0000000003bfee4d refcount:-1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x33c
[    1.236861] flags: 0x0(zone=0)
[    1.236865] raw:<PHONE_NUMBER>000000 dead000000000100 dead000000000122<PHONE_NUMBER>000000
[    1.236868] raw:<PHONE_NUMBER>000000<PHONE_NUMBER>000000 ffffffffffffffff<PHONE_NUMBER>000000
[    1.236869] page dumped because: nonzero _refcount
[    1.236870] Modules linked in: rtw88_8821ce(+) rtw88_pci rtw88_8821c rtw88_core
[    1.236876] CPU: 0 PID: 449 Comm: modprobe Not tainted 5.15.49-0-lts #1-Alpine
[    1.236880] Hardware name: FreeBSD BHYVE/BHYVE, BIOS 14.0 10/17/2021
[    1.236881] Call Trace:
[    1.236884]  <TASK>
[    1.236886]  bad_page.cold+0x62/0x90
[    1.236893]  free_pcppages_bulk+0x206/0x2d0
[    1.236898]  free_unref_page+0xac/0xe0
[    1.236901]  skb_release_data+0x121/0x130
[    1.236904]  kfree_skb+0x2e/0x70
[    1.236906]  rtw_pci_free_rx_ring+0x60/0xa0 [rtw88_pci]
[    1.236911]  rtw_pci_probe+0x4f3/0x88e [rtw88_pci]
[    1.236914]  pci_device_probe+0x82/0xe0
[    1.236918]  really_probe.part.0+0xa0/0x290
[    1.236922]  ? __driver_probe_device+0x87/0xc0
[    1.236924]  driver_probe_device+0x18/0xd0
[    1.236926]  __driver_attach+0xa6/0x170
[    1.236928]  ? __device_attach_driver+0xe0/0xe0
[    1.236930]  bus_for_each_dev+0x73/0xb0
[    1.236932]  bus_add_driver+0x110/0x1c0
[    1.236934]  driver_register+0x8a/0xe0
[    1.236937]  ? 0xffffffffc0133000
[    1.236938]  do_one_initcall+0x46/0x170
[    1.236941]  ? kmem_cache_alloc+0x35/0x130
[    1.236944]  do_init_module+0x41/0x210
[    1.236947]  __do_sys_init_module+0x160/0x190
[    1.236949]  do_syscall_64+0x3b/0x80
[    1.236953]  entry_SYSCALL_64_after_hwframe+0x44/0xae
[    1.236957] RIP: 0033:0x7f4dc5457a13
[    1.236960] Code: 0e 4c 8b 44 24 10 4d 8d 48 08 4c 89 4c 24 10 44 8b 4c 24 08 4d 8b 00 4c 01 c9 41 83 f9 2f 76 05 48 8b 4c 24 10 4c 8b 09 0f 05 <48> 89 c7 e8 01 93 fe ff 48 83 c4 58 c3 56 31 d2 be 02 00 08 00 bf
[    1.236962] RSP: 002b:00007ffc17743b90 EFLAGS: 00000212 ORIG_RAX:<PHONE_NUMBER>0000af
[    1.236965] RAX: ffffffffffffffda RBX: 00007f4dc541a020 RCX: 00007f4dc5457a13
[    1.236966] RDX: 000055b808851a13 RSI:<PHONE_NUMBER>001688 RDI: 00007f4dc520b210
[    1.236967] RBP: 00007f4dc520b210 R08:<PHONE_NUMBER>000000 R09:<PHONE_NUMBER>001688
[    1.236969] R10: 00007f4dc541cf10 R11:<PHONE_NUMBER>000212 R12: 00007f4dc54b8b7c
[    1.236970] R13: 000055b808851a13 R14: 00007f4dc541cdf0 R15:<PHONE_NUMBER>000000
[    1.236971]  </TASK>
[    1.236972] Disabling lock debugging due to kernel taint
[    1.237176] rtw_8821ce 0000:00:06.0: failed to allocate pci resources
[    1.239125] rtw_8821ce 0000:00:06.0: failed to setup pci resources
[    1.239862] rtw_8821ce 0000:00:06.0: Firmware version 24.11.0, H2C version 12
[    1.239898] rtw_8821ce: probe of 0000:00:06.0 failed with error -12

Hi @deafmutelfy, thanks for the detailed report!  I have been looking for testers of the rtw88 driver.  Unfortunately, I could not try it myself for real, but with your help we can take a chance to make it work.
Looks like the FreeBSD host also loaded a firmware for the card which might be conflicting with the one that is being loaded on the VM.  Can you please somehow remove the rtw88 firmware on the host?  I cannot tell exactly how to do this, perhaps kldunload(8) or devmatch(8) may work.  It would be nice to see what kernel modules are present on the host.

@pgj hello
btw I've already configured devmatch to block if_rtw88
kldstat: https://termbin.com/bl47

What options do you use the wifibox-alpine package with?  The defaults?  It might make sense to increase the amount of memory dedicated for the guest.  Mind that although bhyve.conf suggests that is 128 MB, the guest lowers it to 45 MB, so you will have to change $LOCALBASE/share/wifibox/bhyve.conf: either remove the file or increase the value of memory.

changing memory to 128M in /usr/local/share/wifibox/bhyve.conf fixed failed to allocate pci resources error, but rtw88 still not working
new alpine dmesg: https://termbin.com/yrb7
[    1.274346] rtw_8821ce 0000:00:06.0: can't derive routing for PCI INT A
[    1.274353] rtw_8821ce 0000:00:06.0: PCI INT A: not connected
[    1.284985] rtw_8821ce 0000:00:06.0: Firmware version 24.11.0, H2C version 12
[    1.306037] BUG: kernel NULL pointer dereference, address:<PHONE_NUMBER>00003c
[    1.306105] #PF: supervisor read access in kernel mode
[    1.306105] #PF: error_code(0x0000) - not-present page
[    1.306105] PGD 0 P4D 0
[    1.306105] Oops: 0000 [#1] NOPTI
[    1.306105] CPU: 0 PID: 449 Comm: modprobe Not tainted 5.15.49-0-lts #1-Alpine
[    1.306105] Hardware name: FreeBSD BHYVE/BHYVE, BIOS 14.0 10/17/2021
[    1.306105] RIP: 0010:rtw_pci_probe+0x7ba/0x88e [rtw88_pci]
[    1.306105] Code: ed 0f 84 27 f9 ff ff e9 76 03 00 00 4d 89 e6 4c 8b 24 24 e9 16 fc ff ff c7 44 24 34 01 00 00 00 e9 b5 fa ff ff 48 8b 44 24 28 <66> 81 78 3c 86 80 0f 85 f6 fd ff ff 41 c6 84 24 90 77 00 00 01 e9
[    1.306105] RSP: 0018:ffffa564c010bc20 EFLAGS: 00010246
[    1.306105] RAX:<PHONE_NUMBER>000000 RBX:<PHONE_NUMBER>000200 RCX:<PHONE_NUMBER>000000
[    1.306105] RDX: ffff89a541ac520b RSI: ffff89a541ac28f2 RDI: ffff89a541ac20f6
[    1.306105] RBP: ffff89a541ac7188 R08: ffff89a541ac20f6 R09:<PHONE_NUMBER>000003
[    1.306105] R10: ffff89a541ac520b R11: ffff89a541ac28f2 R12: ffff89a541ac1de0
[    1.306105] R13:<PHONE_NUMBER>000000 R14: ffff89a5411530c8 R15: ffff89a542f28040
[    1.306105] FS:  00007f4b7fbc3b48(0000) GS:ffffffffb1c4c000(0000) knlGS:0000000000000000
[    1.306105] CS:  0010 DS: 0000 ES: 0000 CR0:<PHONE_NUMBER>050033
[    1.306105] CR2:<PHONE_NUMBER>00003c CR3:<PHONE_NUMBER>9d2000 CR4:<PHONE_NUMBER>1506f0
[    1.306105] Call Trace:
[    1.306105]  <TASK>
[    1.306105]  pci_device_probe+0x82/0xe0

Hrm, I have just read that the in-tree rtw88 driver might not be broken on 8821CE.  Perhaps we should try a different driver, e.g. tomaspinho/rtl8821ce.

how?

In such situations, I usually port the kernel module to Alpine so that it can be loaded on the VM.  Please give me some time and I will get back with version of the guest image that you can test.

thank you!
now it works fine

rtl8821ce&wifibox's performance is pretty better than native if_rtw88's one. sure, you may.
CPU: AMD A6-9225
Wireless NIC: Realtek RTL8821CE
Model: Lenovo IdeaPad 330-15AST
FreeBSD: 14.0-CURRENT, 13.1-RELEASE

Great, thanks for the details!  The main branch of the https://github.com/pgj/freebsd-wifibox-port tree now has the change you tested above, and it will soon find its way to the FreeBSD ports tree as well.  With all these, I am closing this ticket.


Allow options.exclude to be empty

I had scss in node_modules that I wanted to process, so I tried setting exclude to '', but that's falsey, so it defaulted back to 'node_modules/**'. This PR fixes it.

<EMAIL_ADDRESS>


Presentation getElementProperties return null when use pkg to exe

I use Presentation.getManager().getElementProperties to get element properties, it's ok at js,
but when I use pkg to exe, it return undefined, where did i go wrong?
(pkg -t win-x64 package.json)
others api seems well at exe file, only this api  return undefined.
and I changed it to Presentation.getManager().getContent by this: https://gist.github.com/grigasp/32131ec63c5132e7599c387e9a835330#file-main-ts-L127-L135
there are some properties and not return undefind.
but I find another issue, it lost some properties when run after pkg exe file.
a certain element's detail info in js:
{
pc_bis_Element_Model: 'house',
pc_bis_Element_CodeValue: undefined,
pc_bis_Element_UserLabel: 'Geometry',
pc_bis_GeometricElement3d_Category: 'NewWall',
pc_SolidGeometricalPropertiesSchema_SolidGeometricalPropertiesClass_BoxSolidElement_Width: '0.370m',
pc_SolidGeometricalPropertiesSchema_SolidGeometricalPropertiesClass_BoxSolidElement_Length: '1.686m',
pc_SolidGeometricalPropertiesSchema_SolidGeometricalPropertiesClass_BoxSolidElement_Height: '1.686m',
pc_SolidGeometricalPropertiesSchema_SolidGeometricalPropertiesClass_BoxSolidElement_RotationX: '0.000°',
pc_SolidGeometricalPropertiesSchema_SolidGeometricalPropertiesClass_BoxSolidElement_RotationY: '0.000°',
pc_SolidGeometricalPropertiesSchema_SolidGeometricalPropertiesClass_BoxSolidElement_RotationZ: '0.000°',
pc_SolidGeometricalPropertiesSchema_SolidGeometricalPropertiesClass_BoxSolidElement_Volume: '0.125 Cu.m',
pc_SolidGeometricalPropertiesSchema_SolidGeometricalPropertiesClass_BoxSolidElement_SurfaceArea: '2.070 Sq.m',
pc_SolidGeometricalPropertiesSchema_SolidGeometricalPropertiesClass_BoxSolidElement_Capped: 'Yes',
rc_SolidGeometricalPropertiesSchema_SolidGeometricalPropertiesClass_BoxSolidElement_bis_Model_bis_InformationContentElement_ncc_bis_RepositoryLink: [ { displayValues: [Object] } ],
rc_SolidGeometricalPropertiesSchema_SolidGeometricalPropertiesClass_BoxSolidElement_ncc_bis_ExternalSourceAspect: [ { displayValues: [Object] } ]
}
but when log at exe, it lost last 2 properties, and pc_bis_Element_Model, pc_bis_GeometricElement3d_Category values become to @RulesEngine:LABEL_General_NotSpecified@:
{
pc_bis_Element_Model: '@RulesEngine:LABEL_General_NotSpecified@',
pc_bis_Element_CodeValue: undefined,
pc_bis_Element_UserLabel: 'Geometry',
pc_bis_GeometricElement3d_Category: '@RulesEngine:LABEL_General_NotSpecified@',
pc_SolidGeometricalPropertiesSchema_SolidGeometricalPropertiesClass_BoxSolidElement_Width: '0.370m',
pc_SolidGeometricalPropertiesSchema_SolidGeometricalPropertiesClass_BoxSolidElement_Length: '1.686m',
pc_SolidGeometricalPropertiesSchema_SolidGeometricalPropertiesClass_BoxSolidElement_Height: '1.686m',
pc_SolidGeometricalPropertiesSchema_SolidGeometricalPropertiesClass_BoxSolidElement_RotationX: '0.000°',
pc_SolidGeometricalPropertiesSchema_SolidGeometricalPropertiesClass_BoxSolidElement_RotationY: '0.000°',
pc_SolidGeometricalPropertiesSchema_SolidGeometricalPropertiesClass_BoxSolidElement_RotationZ: '0.000°',
pc_SolidGeometricalPropertiesSchema_SolidGeometricalPropertiesClass_BoxSolidElement_Volume: '0.125 Cu.m',
pc_SolidGeometricalPropertiesSchema_SolidGeometricalPropertiesClass_BoxSolidElement_SurfaceArea: '2.070 Sq.m',
pc_SolidGeometricalPropertiesSchema_SolidGeometricalPropertiesClass_BoxSolidElement_Capped: 'Yes'
}
is there some way to solve this problem?
very thx

Hi. Most likely this happens because of missing presentation backend assets. Have a look at PresentationManagerProps.presentationAssetsRoot docs for information about where we look by default and how to specify custom paths, if necessary.

Hi. Most likely this happens because of missing presentation backend assets. Have a look at PresentationManagerProps.presentationAssetsRoot docs for information about where we look by default and how to specify custom paths, if necessary.

Okey, is this fix ths getElementProperties  or detail info lost by getContent ?
it that means I will put presentation-backend and presentation-common folders copy to ./assets/ after ncc execution ?

Hi. Most likely this happens because of missing presentation backend assets. Have a look at PresentationManagerProps.presentationAssetsRoot docs for information about where we look by default and how to specify custom paths, if necessary.

Okey, is this fix ths getElementProperties or detail info lost by getContent ?
it that means I will put presentation-backend and presentation-common folders copy to ./assets/ after ncc execution ?

Sorry, I don't understand what you're asking.
The assets should be at the right place at the time you're calling Presentation.initialize.

Sorry ,my english is not well, I attach some screenshot to descript it:

This is js file I exported by NCC. and I put the presentations to here:

Is this place right ? then I will use PKG index.js to exe

As described here, when presentation-backend and presentation-common source is packed into a single js file, by default we expect to find the assets next to the js file at ./assets/**/*. What I see in your screenshots doesn't match that requirement. To match the default paths requirement, the directory structure should be like this:

index.js
assets

locales (from presentation-common assets)
primary-presentation-rules (from presentation-backend assets)
supplemental-presentation-rules (from presentation-backend assets)

Thank you very much for the reply, now it can be solved that the single js file packaged by NCC can be executed correctly!
At present, after using PKG to package it as an EXE file, after placing the Assets folder in this EXE file, the output result is still incorrect. I will check the reason again.

At present, after using PKG to package it as an EXE file, after placing the Assets folder in this EXE file, the output result is still incorrect. I will check the reason again.

It looks like pkg requires special configuration to include assets into the package: https://www.npmjs.com/package/pkg#user-content-config.


Nils edit creep laws

I added two dislocation creep laws (Rock salt | Li & Urai (2016) and Salado rock salt | Li & Urai (2016)). Also changed the way the BibTexReference of these laws are stored from the Tuple nested structure of the parse_bibtex() function to a simple string containing all the BibTex information. This done to use it in the table output which has been pushed to the main branch. The test fixes and DislocationCreep.jl commits should not be merged since new work is being done on the whole creep law system.

there are still a lot of conflicts that need to be resolved

conflicts are gone but tests fail.

Thanks for the PR! Since most of the rheology implementation is still sort of experimental, you shouldn't expect the tests to pass yet.

Could you put these into a subfolder? i.e. in src/CreepLaw/data/DiffusionCreep.jl and src/CreepLaw/data/DislocationCreep.jl

Surely can do. One quick question though: Are you sure that DiffusionCreep.jl and DislocationCreep.jl should be moved to "data" and not DiffusionCreep_Data.jl and DislocationCreep_Data.jl?

Sorry was probably not very clear. I meant to move DiffusionCreep_Data.jl into the new subfolder and  rename as  DiffusionCreep_Data.jl. It should be enough since the subfolder is already called Data

Did I understand it correct with the changes I did? Thanks for the quick answers by the way.

Almost :) You could rename src/Data/DiffusionCreep_Data.jl as  src/Data/DiffusionCreep.jl (and same for dislocation). Since they are in a folder called Data, there is no need to repeat the word Data in the name of the .jl file anymore.


Add support for user space control (custom user space programs or passing data from user space to kernel bpf

Version
0.0.10
Linux Version
5.13.0-28-generic
Is your feature request related to a problem? Please describe.
No response
Describe the solution you'd like
Bumblebee currently does not allow the user any control on the user space program and only allows writing of some kernel programs. It would be very useful to allow some user space level control.
This could range from
(1) Generate a user space stub program that goes with the kernel program generated and shares the bpf map struct definitions etc
(2) Document any safe workarounds until then such as using the bpftools utility directly to interface with Bee's kernel space program.  Document any race scenarios/ concurrency issues that developers may need to be aware of, or use of bpf maps vs global variables etc.
Basic use case example might be setting up network filters in the data plane based on user configured filter/ policy keys.
Describe alternatives you've considered
No response
Additional Context
No response

Hello, this is very interesting, and definitely something we've been thinking about. The issue is that bumblebee is fundamentally meant to abstract the plumbing of eBPF programs from the user. Also, the OCI images cannot easily run user space code as that falls in the realm of a traditional docker container. The only way to run user space code would be to add some kind of user space plugin system. I have been thinking about this myself, and was thinking about experimenting with WASM.


adguard cert does not work with work profile

Please answer the following questions for yourself before submitting an issue.

[X] I am running the latest version
[X] I checked the documentation and found no answer
[X] I checked to make sure that this issue has not already been filed

AdGuard version
4.1
Environment
- OS: Android 12
- Device: Xperia 5 II
- Firmware: Latest

Root access

[X] Yes, I have it.

What filters do you have enabled?
No response
What Stealth Mode options do you have enabled?
No response
Issue Details
The adguard cert seems to only move the last cert to system store.
This leaves a problem, if someone enables work profile, there will be 2 certs, either both in /data/misc/user/0/cacerts-added, or in /data/misc/user/0/cacerts-added and /data/misc/user/10/cacerts-added respectively and adguard only seems to move one of them to the system store.
P.S. If both of them are in  /data/misc/user/0/cacerts-added, one of them will end with .1 instead of .0
Expected Behavior
Both regular user (0) and work profile user can have certificates in the system store.
Actual Behavior
For regular user(0) and work profile user, only one of them can have certificate in system store.
Screenshots
Screenshot 1:

Additional Information
No response

@terrytw We have discussed this issue with developers and transferred it to the appropriate repository.

@Versty Dear Diana, any update? I saw that you assigned someone then removed the assignment later. Not asking any ETA, just want to know whether this is still being worked on.

This is still a problem but I found a workaround. You need root.

Using root file manager go to /data/misc/user/0/cacerts-added - this folder contains two adguard certificates installed on your main profile
Copy these two into /data/misc/user/999/cacerts-added - this folder is for work profile certs
Also copy certs to /system/etc/security/certs - this is system wide cert store
Reboot
After rebooting there will be notification that new certificates were installed for work profile
Adguard cert will now work properly on work profile allowing system wide https filtering in auto proxy root mode. It also works properly with VPN at same time

Yes I have figured it out as well, thank you for sharing anyway.
Problem is that after Android 11, even with root permission you cannot write to system partition.
I have modified movecert module myself to achieve this.
It is just kinda disappointing that the devs just ignored this.

@terrytw please share the modified module. It may help people with same problem. and I agree, it's disappointing we still don't have fix from Adguard team. Work profile is getting more and more popular and this will affect more and more people.

I was going to but it is rather cumbersome. Oh well here it goes
movecert-1.9-new.zip
You will need to modify post-fs-data.sh because work profile user ID can be any number, for you it is 999 for me it is 10.
Also since you cannot install cert to work profile directly, you will need to install it in main profile and move it from /data/misc/user/0/cacerts-added/ to /data/misc/user/10(or whatever you work profile user ID is)/cacerts-added/

There's also another problem that needs looking into by the devs. Adguard from main profile does not detect apps in the work profile, therefore excluding apps on the work profile from protection is impossible. Most of us uses work profile to sandbox dangerous intrusive apps like Facebook or Instagram and these works with default settings, but this may be a big problem in the future.

You will need to install 2 adguard, one for main profile one for work profile.

Yeah, I meant the work Adguard is showing that HTTPS filtering is not working.

For latest adguard, you need to make sure that the intermediate cert is still in user store while the other cert is in system store.

Yes, they are in the right stores. But my work profile Adguard still doesn't pick up the certs for HTTPS filtering in VPN mode, and proxy mode simply block all connections =<

You have to be doing something wrong. I have it set in auto proxy mode (ROOT) and HTTPS filtering works on both profiles with certs moved to stores.

Finally I've got Adguard to block ads on both profiles in Proxy (Root) Mode, but I'm running into a weird issue when Instagram and Twitter on my Work Profile simply don't load anything/ profiles. These apps work just fine in Main profile. The issue is only present when Adguard is  On.


Hackathon 2019 |||

Once again I would love to host the hackathon in my home close to Stuttgart.
I noted down below what we need in order to make this hackathon successful :)

[ ] Prepare an agenda
[ ] Write a blogpost

Date
The Hackathon will happen from 29.11.2019 to 1.12.2019.
Location
Address:
71229 Warmbronn, Planstraße 19

Features
A garden with pool and grill (probably not usable at winter times. We need to have a summer inexor hackathon once in a time 😁)

Accomodation
We have mattresses, blankets and pillows for up to 8-9 people (excluding us).
Depending on how much space you need and how cuddly you are:
Guestroom/Chillout

1 large mattress for 2
3 small mattresses for 1
1 Hammock

Livingroom

1 large L shaped sofa for ~2

Musicroom

1 small sofa (comfy!) for 1

a couple of isomats

There is plenty of space (I would think in total for up to 15 people) and also floor heating in the first floor <3
If possible, please bring your own pillow and blanket, we only have some light blankets, but covers for all beds.
It is our home - we trust you to handle it in an orderly manner.
Participation fee
We will split the bills evenly and add a few euros for accomodation/house costs (electricity, water, etc).
Participation during the day is free of course, but we will also distribute a few snacks and drinks if possible.
By average, I could imagine that 7-10 euro per person per day is fair for

2x dinner (fr, sat)
2x breakfast (sat, sun)
softdrinks

Hackathon was a success!
See protocol https://hackmd.io/VZtoDLYHTGicMqfvXbzlIw


Make some InlineAutoDataAttribute constructor overloads protected

InlineAutoDataAttribute has a constructor overload that takes an AutoDataAttribute as an argument.
As #457 implicitly points out, there's no way to use this constructor overload when using the [InlineAutoData] attribute to annotate tests.
This constructor overload only exists to enable a derived class to supply a custom, derived instance of AutoDataAttribute, thereby customizing the behaviour of the derived attribute. Since this constructor overload only exists to enable inheritance, we should consider changing its accessibility level to protected.
This is a breaking change, so can only be done in AutoFixture 4.
Note that this ought to be done for both AutoFixture.Xunit and AutoFixture.Xunit2.

I'm going to take a look at this, and (hopefully) open a Pull Request over the next couple of days.

I think we can now close this, since #462 is merged.

Addressed by 5ac109164aa212c5963d620d3a4a166ebbe1096f


incorrect code generated for char x[8][255]

I think this issue I posted in c2hsc belongs here instead:
https://github.com/jwiegley/c2hsc/issues/25

(copied here, sorry for the noise:)
I have a struct like:
typedef struct {
    char listOfNames[8][255];
} MyCoolStruct;

I would expect that field to translate to type [Ptr CChar], which correctly happens, woohoo!
The problem is that I expect a list of length 8, where each Ptr CChar points to a character array with length 255. Instead I get a list of length 255, where the pointers are all invalid.
In the final haskell code, the deserialization looks like
instance Storable C'MyCoolStruct where
  peek p = do
    v0 <- peekArray (2040 `div` (sizeOf (undefined :: Ptr CChar)) (plusPtr p 0)
    return (C'MyCoolStruct v0)

which translates to
instance Storable C'MyCoolStruct where
  peek p = do
    v0 <- peekArray 255 p :: IO [Ptr CChar]
    return (C'MyCoolStruct v0)

This gives corrupt output. The pointers aren't valid pointers, they are strings cast to pointers.
I think the correct implementation would be:
instance Storable C'MyCoolStruct where
  peek p = do
    let v0 = [plusPtr (plusPtr p 0) (255 * k) | k <- [0..8]]
    return (C'MyCoolStruct v0)

I looked through the source code but didn't make much progress. I'll be happy to try again if you can give me a few pointers to relevant sections.

Thanks, Greg!  I'm mentoring at a Hackathon next week, and this would be a great bug to get someone interested in.  I'll let you know how it goes.

This looks like it's happening at https://github.com/jwiegley/bindings-dsl/blob/master/bindings.dsl.h#L313, and that we need to take the size of any sub-array into account, rather than always using the size of Ptr CChar (which in this case is likely 8 bytes, and coincidentally the same size as your outer array bound).

It seems to me that the major size is not available, only the total number of elements in the multi array. Is that right? So C2hsc.hs itself needs the patch?

That sounds right.

In the meanwhile, my workaround is:
typedef struct {
  char name[255];
} MyString;

typedef struct {
  MyString stringArray[8];
} MyStruct;

Do you think you can find time to take a look at this in the next few weeks? I understand if you're wrapped up in other things.
I would greatly appreciate even a hacky unfinished patch which I would try to polish. I tried to fix this myself but I find language-c very opaque.

@ghorn What is the context in which you're using this?

At work we have a large C/C++ codebase. I have a script which extracts all the relevant typedef structs from this codebase and writes them into one header file. I use c2hsc / hsc2hs to turn this header file into a haskell module where every data type is an instance of Storable. This lets me deserialize log files and analyze them in haskell.

Ah, so this is for getting real work done.  I'll put it on my todo list for the week and see if I can't get to it for you.  I almost got somebody at our last local Hackathon to look at this particular bug, but then it fell through.  It shouldn't be hard.

you have my gratitude

@ghorn It should be fixed now in the c2hsc master branch, can you please confirm?

Thank you! There may be a few problems. See my comments here https://github.com/jwiegley/c2hsc/commit/98930351c288b47aa2beb28bc35612cb351937fe

After the fix, the behavior is to turn
typedef struct {
    char listOfNames[8][255];
} MyCoolStruct;

into:
data C'MyCoolStruct = C'MyCoolStruct{
  c'MyCoolStruct'listOfNames :: [CChar]
} deriving (Eq,Show)

Is that the intended behavior?
I would have expected
data C'MyCoolStruct = C'MyCoolStruct{
  c'MyCoolStruct'listOfNames :: [[CChar]]
} deriving (Eq,Show)

The problem is now that I can't easily turn this into [String] because I don't have the information to divide this into 8 groups before I turn [CChar] into String.

@ghorn bindings-DSL is a bit coarse in its translation of multi-dimensional arrays.  The new mapping matches the Storable instance that it generates.  We'll have to explore better representation of multiple dimensions as new issue, since that should be fixed as well.  Even if we were to emit the translation as [[CChar]] from c2hsc, the Storable instance would still be wrong.

It may even be that we need a new argument to #array_field to support this, since knowing the type doesn't tell us enough about the array's size.

I don't completely follow this. Are you saying that bindings-dsl is generating the Storable instance, and there is no interface which lets c2hsc do what I want? So there is no c2hsc solution which doesn't involve changing bindings-dsl? Is this correct?

BTW did you see the other two comments? The module name problem https://github.com/jwiegley/c2hsc/commit/98930351c288b47aa2beb28bc35612cb351937fe#commitcomment-13723380 and the typelevel array typedef problem https://github.com/jwiegley/c2hsc/commit/98930351c288b47aa2beb28bc35612cb351937fe#commitcomment-13723516 ?

@ghorn Yes, I did see them, thanks!  I'll create separate issues for these three things.


Variables used in If Math Expression are not added to Custom Scripts

Describe the bug
When you use the if math expression event in a custom script, any used variables won't be added to the list of variables.
To Reproduce
Create a new custom script, add the if math expression event and add a variable with $ to the expression.
Expected behavior
The expression should be evaluated and any used variables should be added to the list.
Screenshots

Platform (please complete the following information):

OS: Windows 10
App version 3.0.2

The same happens in the evaluate math expression event. (only the variable from the dropdown gets added)

Fixed in #926

It mostly works, but when you enter a variable in the text field and then click on it again to change it, the new variable doesn't get added to the list. (additional info: there are two different ways to select a variable: 1. a small selection box when you first enter $ and the variable name and 2. a larger box with suggestions when you click on an already added variable; the problem here lies in 2.)

(also, the autolabeling only works as expected in the Evaluate Math Expression event)

Works now. :)