TTX cannot recreate AmaticSC-Regular on Windows 7

When dumping the AmaticSC-Regular font to TTX, and then reconstructing the TTF using TTX again, the resulting font does not open correctly on Windows 7, the text is displayed using an arial-like fallback font.
The command line was just
TTX AmaticSC-Regular.ttf
TTX AmaticSC-Regular.ttx

Re-generating the font using FontForge does work

Sorry, I forgot to mention that I'm using the AmaticSC-Regular from the Google Fonts repository

Hi @Ziriax, thanks for reporting this.
I seems like the GPOS table might be the problem. If you remove it from the TTX and try to compile it, you'll see the font is loaded by Windows.
The GPOS in the original font seems to contain no features nor lookups, but only two script records (DFLT dflt and latn dflt) pointing nowhere.
We need to investigate further the reason why Windows fails to load the fontTools-recompiled GPOS table, but doesn't complain about the original one.

Thanks for the very fast feedback, you guys are amazing

Interestingly, I just tried to loading the roundtripped font in Windows 8.1 and it works... hmm

It might be that the font preview panel in Windows 7 is still using GDI.
I tested the font with our DirectWrite-based renderer on Windows 7, and it renders fine.
Since I believe Chrome, Firefox and IE now all use DirectWrite on Windows, this issue might not be that problematic, and might just be a bug in GDI?

True. The roundtripped font works in the latest browsers, as well as in Word 2013. These all use DirectWrite. It fails to load in Windows Preview and in Notepad, for example.
Still, I want to understand why FontForge's GPOS table is not rejected by Windows GDI, but fontTools' is.

As a sidenote, I also reported here that the AmaticSC-Regular font (version 1.003) as currently stored in the Google Fonts repository is also problematic, while the 1.001 version of the font does work. Maybe that can help.

I'm not sure fontTools should take care of this... It seems like a Windows 7 bug which affects only GDI rendering. Other OSes (including later Windows versions) don't complain about it. Similarly the OpenType Sanitiser doesn't say anything about GPOS (it only complains about the gasp table version which is set to 0 in the original font, but that's not it). Even Microsoft FontValidator seems happy about the GPOS.
Anyway, I inspected the two GPOS tables, as generated by FontForge and fontTools/TTX, using a hex editor. The size of the latter shrinks from 48 to 36 bytes, because fontTools point the two ScriptRecords to the same ScriptTable and (empty) FeatureList and LookupList structs, instead of repeating them twice like FontForge does. This is perfectly legal by the OT spec, so I can't see why Windows 7 (GDI) would refuse to load the whole font just because of that...

Microsoft has an old tool called Font Validator.
Not sure if this can help.
If I run the tool on version 1.001 and 1.003 of the font, I get many warnings and errors for both of them, but I get more errors for 1.003, namely:
gasp
E1003 The version number is not 0

loca
E1703 Loca entry points outside the glyf range Number of glyphs with the error = 1
W1701 Loca references a glyf entry which length is not a multiple of 4 Number of glyphs with the warning = 110

name
E2003 The table doesn't contain strings for Mac platform
E2008 The PostScript string is not present for both required platforms Mac Postscript string is missing, but MS Postscript string is present

Yes, I did mention FontValidator in my previous message.
The reason the font isn't being loaded has nothing to do with either gasp, loca or name tables.
It is specifically the GPOS table, as recompiled by fontTools, which Windows 7 GDI doesn't seem to like. All the other warnings/errors you see in FontVal report do not prevent the font from being loaded by Windows.
I managed to isolate the problem by re-compiling selectively each single table until I found that the GPOS was the issue.

Let me stress this point again: the GPOS table as recompiled by fonttools is perfectly fine. It is Windows 7 which fails to load it because of some bug that appears to be fixed now.
If you want the font to render in Windows 7 GDI, even after passing it thorugh TTX, you can simply get rid of that stub GPOS table which serves no purposes, since it has no features/lookups.

Sorry, my bad! I just found the LOCA error very suspicious, and thought it might be useful info.

The FontVal error message about loca table "pointing outside of the glyf range" is related to the fact that the last glyph in Amatic SC 1.003 font is an empty glyph, without any contours nor components: namely "nbsp" (GID 380). If you replace it with another non-empty glyph, the message should disappear.

Still would be interesting to understand what in particular is causing this.


500 error after uploading the json file

After uploading my json backtest file, I get a 500 error in the browser. I checked the log in the running Nuxt server in my terminal and here is what I got:
 ERROR  Request failed with status code 500                                                                                13:20:17

  at createError (node_modules/axios/lib/core/createError.js:16:15)
  at settle (node_modules/axios/lib/core/settle.js:17:12)
  at Unzip.handleStreamEnd (node_modules/axios/lib/adapters/http.js:236:11)
  at Unzip.emit (events.js:314:20)
  at Unzip.EventEmitter.emit (domain.js:486:12)
  at endReadableNT (_stream_readable.js:1252:12)
  at processTicksAndRejections (internal/process/task_queues.js:80:21)

When I revisit the http://localhost:3000 address, I see the file in the "Uploaded backtests", when I click on it, same error happens.

Can you provide an example of a JSON file with which the error occurs?

sorry man. Forgot to copy .env file and enter my database info

It's ok. Feel free to contact me if you have any further questions.


The difference between Camera Pose and normal

Hi, eally a great work!
In your paper, there is"It is noteworthy that the camera pose essentially represents the direction vector", i want to know why not choose normal to control the orientation? What is the difference between them?
Any help would be greatly appreciated.

Normal doesn't carry much information by itself.  We introduce camera pose to distinguish the orientations of different viewpoints, hence after normalization, a direction vector is chosen instead of normal.

thanks！


knife bootstrap fails if -N option is not passed

The client_builder uses the value of the -N option as the node name:
https://github.com/chef/chef/blob/master/lib/chef/knife/bootstrap/client_builder.rb#L79-L81
if that is nil since the user didn't pass it, the user will receive a confusing HTTP 405 Method Not Allowed Error here:
https://github.com/chef/chef/blob/master/lib/chef/knife/bootstrap/client_builder.rb#L157
This command should use the first argument of the bootstrap command as the node name if -N was not passed.

This is the same issue that i am going through now. Is this only for Chef-client 12.x i didn't had this with the chef-client 11.x?

Second - hitting this is issue also. Chef: 12.2.1

Third - hitting this issue as well. But with further problems...
We also have a custom bootstrap template that fails even if you put the -N option on your bootstrap command.
Relevant contents of bootstrap template:
awk NF > /etc/chef/validation.pem <<'EOP' <%= validation_key %> EOP chmod 0600 /etc/chef/validation.pem
if you remove the validation_key attribute from your knife.rb file and the validation key file from your .chef directory, the bootstrap template writes nothing to  /etc/chef/validation.pem on the node and the chef-client on the node fails because of a corrupted validation key. I tried removing the validation key logic from the bootstrap template, but then the chef-client on the node fails because the key cannot be found at /etc/chef/validation.pem.
What to do?
$ knife --version
Chef: 12.2.1
(on both my Chef workstation and my Chef node)

Fourth that issue on a standard bootstrap process.


Clean Data Chunking NB

The PR focuses on fixing headings and proofreading of the Chunking notebook.

@tinaok the PR is ready to review. fyi, I've rename the name of the dask notebook as it was wrong, it should be Scale with Dask and not dask_introduction. The notebook runs without issues in my Pangeo-EOSC.

Thank you very much @acocac All fine, I'll merge it


Dotnet process is spawned multiple times

To Reproduce
Steps to reproduce the behavior:

Open Vscode
Close the program
Open Task Manager and check for the Dotnet process
Back to step 1, every time I open Vscode, it spawns a new one

Expected behavior
When closing Vscode, dotnet should exit as well
Screenshots

Versions(please complete the following information):

OS: Ubuntu 22.04
Devskim Version: 1.0.11

I'm able to replicate this on Ubuntu, but am not yet sure how to resolve it. The design of the extension delegates responsibility for the lifecycle of the Language Server process to the VS Code library for the Language Client which launches and then connects to the server. Its not clear why it would properly close the processes on Windows but not on Ubuntu but will investigate more.

This issue doesn't appear to be present in Bicep which uses a very similar design including also using the omnisharp language server library, which may be useful as a reference to identify the issue.

ơ kìa @dotai2012 chuyển qua code dotnet r à :(


master-slave mode,appear some problem

Hi!
In master-slave mode,   when I was in execution bottledwater - pg connecting to Postgresql Slave Databases,
Appear the following ERROR:Command failed: CREATE_REPLICATION_SLOT "bottledwater" LOGICAL "bottledwater": ERROR:  logical decoding cannot be used while in recovery。
This bottledwater-pg should be how to configure in Postgresql master-slave mode?
Can you help me ? thanks!!!

Unfortunately you have to install Bottled Water on the master. That's a limitation of Postgres that will hopefully be fixed in a future version, but for now there's nothing I can do about it.

Thank you very much.

Hi!
but,I have some question .In master-slave mode,Bottled Water can't install slave ?

There are internal technical reasons for this, which a Postgres committer explained to me once, but I'm afraid I don't understand fully (it gets quite deep into the internals of Postgres). I vaguely remember something about catalog/DDL replication, and that a standby might not have sufficient information in order to fully decode the WAL. It sounds like it could be fixed in principle, but it requires some changes inside Postgres, and so the developers haven't had a chance to work on it yet.

Thank you very much.xixi


Integrate Spotify SDK into the app scaffold

Description
We have to integrate the Spotify SDK into our app scaffold.
There a GitHub (repo)[https://github.com/tillhainbach/SpotifyQuickStart/tree/main] that has a "quickstart" using SwiftUI and the SDK. You can reference this.
Acceptance Criteria

We should be fully connected to Spotify and be able to make API calls through the SDK

Closed by PR #53


For Relationship Autocreation, Campaign Types should only be required when the Object is CampaignMember

Do you want to request a feature or report a bug?
Enhancement

What is the current behavior?
When creating a new Relationship Autocreation setting under EDA Settings | Relationships | Autocreation, you are forced to specify a value in the Campaign Types field, even if you are creating a new setting for the Contact.

What is the expected behavior?
Ideally, the Campaign Types field would only be required if the Object is set to CampaignMember.

What is the motivation / use case for changing the behavior?
Not having this required would make setting up autocreation settings more intuitive. Right now, a user has to enter in a fake value.

@aligeez  I didn't lurch this yet because I think we were going to start lurching issues only during backlog grooming. Can we review this on Tuesday?

**lurch: add

Tracking W-033542

Resolved in Summer with Education Cloud Settings!


Unable to replicate detection results

Hi Tianweiy, I am unable to replicate the detection results on nuScenes v1.0-trainval. I run the following command:
python ./tools/dist_test.py ./configs/nusc/voxelnet/nusc_centerpoint_voxelnet_0075voxel_dcn.py --work_dir work_dirs/nusc_0075_dcn_verifydet --checkpoint work_dirs/nusc_0075_dcn_verifydet/voxelnet_converted.pth --speed_test
I expect a mAP 57.1 and NDS 65.4 on the validation split. However, I instead get mAP 42.59 and NDS 57.82, which is quite a difference from the published results. The code and .zip files I downloaded clean (i.e. no edits made). Could you help me with this? Thank you.
Below is my output (sorry only have img version):

not sure what went wrong but I just run the model again and the result is attached

yeah, I noticed this. But I don't get much idea. Could you try other model ? like the VoxelNet 0.1 voxel size, or PointPillars. I can take a deeper look if these models also don't work

Ok I just tried the other models and again was not able to replicate the published results.
For the model nusc_0075_dcn_flip:
python ./tools/dist_test.py ./configs/nusc/voxelnet/nusc_centerpoint_voxelnet_0075voxel_dcn_flip.py --work_dir work_dirs/nusc_0075_dcn_flip-20210401 --checkpoint work_dirs/nusc_0075_dcn_flip-20210401/voxelnet_converted.pth --speed_test

For the model nusc_01:
python ./tools/dist_test.py ./configs/nusc/voxelnet/nusc_centerpoint_voxelnet_01voxel.py --work_dir work_dirs/nusc_01-20210401 --checkpoint work_dirs/nusc_01-20210401/voxelnet_converted.pth --speed_test

ok, thanks for the experiments. Could you send me the generated info file? Here or through email. I could compare the output and see

Sounds good, the output infos.json files for each model experiment are attached in this URL.
I also ran the PointPillars model:
python ./tools/dist_test.py ./configs/nusc/pp/nusc_centerpoint_pp_02voxel_two_pfn_10sweep.py --work_dir work_dirs/nusc_02_pp-20210402 --checkpoint work_dirs/nusc_02_pp-20210402/latest.pth --speed_test

I took a look but still don't get any idea. I run the pointpillars again and the output is here
WARNING:tensorflow:From /home/tianweiy/CenterPoint/det3d/datasets/waymo/waymo_common.py:17: The name tf.enable_eager_execution is deprecated. Please use tf.compat.v1.enable_eager_execution instead.

Deformable Convolution not built!
No APEX!
2021-04-03 20:41:21,670 - INFO - Distributed testing: False
2021-04-03 20:41:21,670 - INFO - torch.backends.cudnn.benchmark: False
2021-04-03 20:41:21,699 - INFO - Finish RPN Initialization
2021-04-03 20:41:21,699 - INFO - num_classes: [1, 2, 2, 1, 2, 2]
Use HM Bias:  -2.19
2021-04-03 20:41:21,730 - INFO - Finish CenterHead Initialization
Use Val Set
10
2021-04-03 20:41:24,030 - INFO - work dir: .
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 6019/6019, 12.3 task/s, elapsed: 491s, ETA:     0s
 Total time per frame:  0.0
======
Loading NuScenes tables for version v1.0-trainval...
23 category,
8 attribute,
4 visibility,
64386 instance,
12 sensor,
10200 calibrated_sensor,
2631083 ego_pose,
68 log,
850 scene,
34149 sample,
2631083 sample_data,
1166187 sample_annotation,
4 map,
Done loading in 20.6 seconds.
======
Reverse indexing ...
Done reverse indexing in 6.4 seconds.
======
Finish generate predictions for testset, save to infos_val_10sweeps_withvelo_filter_True.json
Initializing nuScenes detection evaluation
Loaded results from infos_val_10sweeps_withvelo_filter_True.json. Found detections for 6019 samples.
Loading annotations for val split from nuScenes version: v1.0-trainval
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 6019/6019 [00:08<00:00, 724.59it/s]
Loaded ground truth annotations for 6019 samples.
Filtering predictions
=> Original number of boxes: 1037839
=> After distance based filtering: 784270
=> After LIDAR points based filtering: 784270
=> After bike rack filtering: 783533
Filtering ground truth annotations
=> Original number of boxes: 187528
=> After distance based filtering: 134565
=> After LIDAR points based filtering: 121871
=> After bike rack filtering: 121861
Rendering sample token 5376e3a2874542d8b440faa899e52b97
Rendering sample token 14f665de1fa34d0a9d12838a5b77d687
Rendering sample token c428be7e072c4c2489b90a6dcefcae4c
Rendering sample token d6d3eac48860468aa0eba1ae2896b5ea
Rendering sample token 67aad7ad948f44f8af668ea8389bdd52
Rendering sample token 9c9f22a58fdc45f2b8a119cda3554f1f
Rendering sample token e30f071748cc49eb85babe49265a4eda
Rendering sample token f4550267cd0240e1a1ceb844e33e97d4
Rendering sample token 93fdce35d7db4764ad5f822f57ab49e2
Rendering sample token 22186f4894ab46b481a9e1ee31d7734e
Accumulating metric data...
Calculating metrics...
 The first few are exactly the same
{'sample_token': 'fd8420396768425eabec9bdddf7e64b6',
 'translation': [238.5336649820913,<PHONE_NUMBER>943419, 0.8178466555858235],
 'size': [1.941047191619873, 4.686219692230225, 1.695513367652893],
 'rotation': [-0.05642427875393288,
  -0.01451897126186833,
  -0.005060293211819714,
  -0.9982884821899968],
 'velocity': [-0.003885525449341362, 0.0011442948418105496],
 'detection_name': 'car',
 'detection_score': 0.9006239771842957,
 'attribute_name': 'vehicle.parked'}

{'sample_token': 'fd8420396768425eabec9bdddf7e64b6',
 'translation': [238.5336649820913,<PHONE_NUMBER>943419, 0.8178466555858235],
 'size': [1.941047191619873, 4.686219692230225, 1.695513367652893],
 'rotation': [-0.05642427875393288,
  -0.01451897126186833,
  -0.005060293211819713,
  -0.9982884821899968],
 'velocity': [-0.0038855254493413613, 0.0011442948418105496],
 'detection_name': 'car',
 'detection_score': 0.9006239771842957,
 'attribute_name': 'vehicle.parked'}

But later one are quite different
{'sample_token': 'fd8420396768425eabec9bdddf7e64b6',
 'translation': [234.2726240440502,<PHONE_NUMBER>883771, 1.4279969817978069],
 'size': [1.9032458066940308, 4.423369884490967, 1.6396597623825073],
 'rotation': [0.6590264216996125,
  -0.013906298109727714,
  0.006559113261404357,
  -0.7519626110438695],
 'velocity': [1.9240300060300094e-09, -9.99591698491402e-09],
 'detection_name': 'car',
 'detection_score': 0.2936813235282898,
 'attribute_name': 'vehicle.parked'}

{'sample_token': 'fd8420396768425eabec9bdddf7e64b6',
 'translation': [217.04610062119278,<PHONE_NUMBER>122483, 1.1620993524755705],
 'size': [1.9314839839935303, 4.393193244934082, 1.6663353443145752],
 'rotation': [0.7750769363095061,
  -0.012619429571072645,
  0.008783910928127876,
  -0.6316797730711176],
 'velocity': [1.924030006030008e-09, -9.995916984914021e-09],
 'detection_name': 'car',
 'detection_score': 0.30032822489738464,
 'attribute_name': 'vehicle.parked'}


Following Windows install instructions does not allow az to be called from Powershell.

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
I am trying to install Azure CLI on Windows 10 1909.  I follow the instructions by using an admin Powershell session, and copying and pasting the command from the documentation.
https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?view=azure-cli-latest
When it completes, I re-launch an admin Powershell as stated, and az is not recognized as a program.
To Reproduce
Follow the instructions by using an admin Powershell session, and copying and pasting the command from the documentation.
https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?view=azure-cli-latest
When it completes, re-launch an admin Powershell as stated, and type az.  It is not recognized as a program.
Expected behavior
I should be able to use az at the command line.
Environment summary
Windows 10 1909 x64, Chrome v80.
Additional context

@fengzhou-msft please take a look

@TheCodeFiend did you see the following message in a popup when Powershell starts to download the package? BTW, when you relaunch Powershell, you don't need to run as administrator, but this should not affect running az.

Close due to inactivity. Feel free to reopen this issue if the latest Azure CLI still does not work for you.


Divider, Icon, Loader, Tooltip, Tooltip Bubble - improve theming

Description / User story
After #740 , we have to adjust all the components to follow the new approach.
Requirements / Prerequisites

[ ] #740

Acceptance Criteria

[ ] The new theming approach has been implemented in the Divider component
[ ] The new theming approach has been implemented in the Icon component
[ ] The new theming approach has been implemented in the Loader component
[ ] The new theming approach has been implemented in the Tooltip Bubble component
[ ] The new theming approach has been implemented in the Tooltip component

Additional information

...

Code of Conduct

[X] I agree to follow this project's Code of Conduct

We found out that #740 can not be split into multiple issues and instead will continue the work in a single branch.


Login/Lobby: after joining a game, the bottom bar appears in game lobby before game starts. should match attached mock

this would cause confusion for players who haven't started the game yet, though as far as i have seen, does not impede players playing the game.
It also does not display the current amount of players, nor room code as in mockups. The only difference between decider screen and player screen should be the availability of next/back buttons and the copy under the room code. otherwise, everything is exactly the same.  Here below is what the player screen should look like:

Will test to see if this also happens on webapp. if not, not priority for playtest.

possible fix for this created the new problem noted in #62


fs: fix mkdtemp on AIX

AIX 6.1 adds supports for mkdtemp only if _XOPEN_SOURCE >= 700,
according to Michael Haubenwallner.
See: https://sourceware.org/bugzilla/show_bug.cgi?id=13558

/cc @mhdawson @iWuzHere

This also needs to be applied here: https://github.com/libuv/libuv/blob/v1.x/uv.gyp#L437, here https://github.com/libuv/libuv/blob/v1.x/Makefile.am#L285 and here: https://github.com/libuv/libuv/blob/v1.x/Makefile.am#L276

not sure what happened with the branch, bit I see some weird commits which are not related.

@saghul yes sorry, fixed it. I rebased against upstream/master instead of upstream/v1.x.

CI: https://ci.nodejs.org/job/libuv+any-pr+multi/264/

The mkdtemp function is still missing. Maybe a missing #include?

Probably yeah, but the funny thing is that the test passes :-)

Uh, yeah. Is it because of some #ifdef? I should check...

When you say  mkdtemp function is still missing I'm not sure what you mean if it compiles/runs ?

@mhdawson if you look here, you'll see this:
src/unix/fs.c: In function 'uv__fs_mkdtemp':
src/unix/fs.c:216:3: warning: implicit declaration of function 'mkdtemp' [-Wimplicit-function-declaration]
   return mkdtemp((char*) req->path) ? 0 : -1;
   ^

ok got it.
Upping XOPEN_SOURCE to 700 should be ok but we should figure why we are getting that warning.  I can give you access to the AIX machine if you need somewhere to investigate

Is this relevant? https://sourceware.org/bugzilla/show_bug.cgi?id=13558

Exactly: Since AIX 6.1, mkdtemp() is declared upon _XOPEN_SOURCE >= 700, and thus the symbol is >available in libc.
The difference is: Upon _ALL_SOURCE (defined in config.h),
AIX 6.1 defines (overrides!) _XOPEN_SOURCE=600, while
AIX 7.1 defines (overrides!) _XOPEN_SOURCE=700,
This particularly isn't a problem on AIX 7.1, but still the check for mkdtemp() should be extended to if the declaration is available too.

@iWuzHere this is linked in the first comment (and in the commit), but seems not to work. The CI still reports the same error with _XOPEN_SOURCE=700.
@mhdawson having an AIX machine with gcc would help, indeed!

@ralt, if you send me your public key I'll create an account on the community CI machine that you can use to investigate.  You can put it  in this issue or send it to me directly at<EMAIL_ADDRESS>

@mhdawson thanks! Here is my public key:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC29lRrc5wZ7IJhhq/iURb9xjEeBd7E5Hl+/yX1xBWQ9j5brwH5DqtBJgjhfc96g0w6/Fjeuf9h52/cGP1PU+2rbF1hMzieC9Ni5pHZZqiA45jUTB/qd6FErrq7l6E2GRaoO2w8zgbC6Grleo7Xr4vBrn0toamv31ChHA0hC9bGaO5VNqZx7ykGpqitbGNPZVb1y0VhhOkjS8girToQ+B/3JyTMgEFPi2bHxs4v72oA3EmQY5d93HMGu/EU2fyHuTA2LSxJVjXHNiOh/sYL+acXtOZSRG5o41vihZZs0+2pT7S5yhPuHoEOrFZ1SlKe3ij6KRO+F7NR2IzMr7T5mXvb florian@debian

And you can send me the host's credentials to<EMAIL_ADDRESS>

On our internal aix machine, running aix 6.1
imrani@dal-pax /tmp/imranbuild ls
libuv   test.c
imrani@dal-pax /tmp/imranbuild cat test.c
#include<stdlib.h>

int main(void)
{
 char template[] = "/tmp/imranbuild/testXXXXXX";
 mkdtemp(template);
return 0;
}

imrani@dal-pax /tmp/imranbuild gcc -D_XOPEN_SOURCE=700 test.c
imrani@dal-pax /tmp/imranbuild ./a.out
imrani@dal-pax /tmp/imranbuild ls
a.out       libuv       test.c      test_0aiia
imrani@dal-pax /tmp/imranbuild

From the community machine:
imran@sovma188 ~ ls
aix61-ppc64  test.c
imran@sovma188 ~ cat test.c
#include<stdlib.h>

int main(void)
{
 char template[] = "/home/imran/testXXXXXX";
 mkdtemp(template);
return 0;
}

imran@sovma188 ~ gcc -D_XOPEN_SOURCE=700 test.c
imran@sovma188 ~ ./a.out
imran@sovma188 ~ ls
a.out        aix61-ppc64  test.c       testm_abUa
imran@sovma188 ~

@ralt machine Details send through email

So, I had the same results as @iWuzHere in the machine. So I don't understand the warning in CI, especially since stdlib.h (the only needed include) is included in src/unix/fs.c.

Is it possible you need something like this:
        'sources': [ 'src/unix/fs.c' ],
       'defines': [
         '_ALL_SOURCE',
        '_XOPEN_SOURCE=700',
         '_LINUX_SOURCE_COMPAT',
         '_THREAD_SAFE',
       ],

As the one that is there may be specific to the file ?

Sounds like a good idea. I've pushed a commit doing this.
However, @saghul was telling me that AIX is actually using autotools, so I'm not sure this will fix it.
Let CI decide?

Unless we are worried about the resources, let the CI tell us will be the least person time :)

CI run to see https://ci.nodejs.org/job/libuv+any-pr+multi/265/

Made no difference but I wonder if its because there are 2 references to src/unix/fs.c now in the file.
@iWuzHere
Can you try out to see if you can find a combination that eliminates the warning.  Possibly what @ralt has but removing the src/unix/fs.c earlier in the file.

I think the tests are working because test-fs.c is compiled with the right options, so the linking is properly done. So it's a warning that should be an error, because in the release binary, it will fail. It does sound like someone should mess with the compilation options though, indeed.

Whats causing this is a combination of '-Wall' and '-D_ALL_SOURCE'
imrani@dal-pax /tmp/imranbuild gcc -Wall  -D_XOPEN_SOURCE=700 test.c
imrani@dal-pax /tmp/imranbuild gcc -Wall  -D_ALL_SOURCE -D_XOPEN_SOURCE=700 test.c
test.c: In function 'main':
test.c:7:2: warning: implicit declaration of function 'mkdtemp' [-Wimplicit-function-declaration]
  i = mkdtemp(template) ? 0 : 1;
  ^
imrani@dal-pax /tmp/imranbuild

If we really want this warning gone our options would be:

compile without -Wall (not a real option)
compile without -D_ALL_SOURCE (also not an option as this removes functionality)
compile with -Wno-implicit-function-declaration

@iWuzHere can you make sure that a minimal example is actually working on AIX? And I don't mean the tests, but a small C program including the compiled libuv header.

@ralt when you say "I don't mean the tests" does that mean the libuv tests?

@iWuzHere yes, my earlier hypothesis was that libuv tests are working on accident, even if the compiled libuv doesn't. I'd like to confirm that it's just a useless warning instead.

imrani@dal-pax /tmp/imranbuild gcc -Wall -D_ALL_SOURCE -D_XOPEN_SOURCE=700 test.c
test.c: In function 'main':
test.c:7:2: warning: implicit declaration of function 'mkdtemp' [-Wimplicit-function-declaration]
  i = mkdtemp(template) ? 0 : 1;
  ^
imrani@dal-pax /tmp/imranbuild ./a.out
0
imrani@dal-pax /tmp/imranbuild ls
a.out       libuv       test-0akia  test.c

The call works even with the warning.
Or would you like me to just copy out the test link against the compiled libuv and run it?

Yes, linking against the compiled libuv is what I want to make sure it's working.
If your small test is actually working though, I guess that means it will work with libuv too.

Did we come to closure on this one in respect to doing the right thing on AIX ?

Closing this since AIX seems to work fine. Holler if we need to reopen.


Turtle to OWLNETS issue: @prefix and namespaces

Statement of Problem
Using PheKnowLator to process OWL files in Turtle serialization can introduce issues with namespaces (SABs) in the resulting OWLNETS files. This is an issue for any OWL file that is available in Turtle, including:

GlyCoCoO (part of GlyGen)
NPO and NPOSKCAN (part of SPARC)

Details
PheKnowLator assumes RDF/XML as input. To work with an OWL file that is in another serialization, it is necessary first to convert to RDF/XML. The generation framework does this using the rdflib package.
For files in Turtle format, the generation framework parses the file in TTL and then serializes to XML.
graph = Graph().parse(owl_file,format='ttl')
    convertedpath = os.path.join(owl_dir,'converted.owl')
    v = graph.serialize(format='xml', destination=convertedpath)
    graph2 = Graph().parse(convertedpath, format='xml')
    graph = graph2

Turtle files contain a prefix section that associates portions of URIs with namespaces. Following are examples of prefixes from the NPO Turtle file:
@prefix AllenTransgenicLine: <http://api.brain-map.org/api/v2/data/TransgenicLine/> .
@prefix BFO: <http://purl.obolibrary.org/obo/BFO_> .
@prefix ILX: <http://uri.interlex.org/base/ilx_> .
@prefix ilxr: <http://uri.interlex.org/base/readable/> .
@prefix ilxtr: <http://uri.interlex.org/tgbugs/uris/readable/> .

When the Turtle file is serialized to XML, namespace prefixes are translated, and so are lost to PheKnowLator.
Example
Turtle
@prefix ILX: <http://uri.interlex.org/base/ilx_>
.
.
.
ILX:0101528 a owl:Class ;
    rdfs:label "CA2 alveus" ;
    rdfs:subClassOf UBERON:0002305,
        [ a owl:Restriction ;
            owl:onProperty ilx.partOf: ;
            owl:someValuesFrom UBERON:0007639 ] .

Translated RDF/XML
<rdf:Description rdf:about="http://uri.interlex.org/base/ilx_0101528">
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
    <rdfs:label>CA2 alveus</rdfs:label>
    <rdfs:subClassOf rdf:resource="http://purl.obolibrary.org/obo/UBERON_0002305"/>
    <rdfs:subClassOf rdf:nodeID="na9ff5cff0e4544b79582c69e889226d4b13"/>
  </rdf:Description>

OWLNETS_edgelist.txt:
http://uri.interlex.org/base/ilx_0101528	http://www.w3.org/2000/01/rdf-schema#subClassOf	http://purl.obolibrary.org/obo/UBERON_0002305

(PheKnowLator only translates information OWL information relevant to knowledge graphs.)
If the Turtle prefix is an IRI that is similar to a OBO IRI (such as the Interlex IRI above), then it may be possible to define a namespace. However, prefixes such as
@prefix ilxtr: <http://uri.interlex.org/tgbugs/uris/readable/> do not translate to a OBO equivalent.
Solution Options
We need to obtain the original namespace prefixes from the Turtle file--in effect, translate from the full IRIs in the OWLNETS files back to the Turtle prefixes.
The most straightforward way would be simply to add more "special cases" to the existing codeReplacements function. This would be justified in that:

We could select only those prefixes that relate to the nodes of interest.
The set of possible cases is likely to be small. We're only dealing with a handful of Turtle files (<5 ) for the initial round.
The Turtle files are already published.
Authors of Turtle files can argue that the Turtle files are in a legitimate format, and it's up to us to translate them correctly to OWLNETS. The issues actually arise from the need to serialize Turtle to RDF/XML before running PheKnowLator.

We could automate this to a degree by having the framework read the original Turtle files and extract namespaces from the prefixes. However, we would need to provide a list of Turtle files to read, and some of the prefixes are actually for relationships. This does not seem to be much better a solution than adding special cases manually.

Solution
I developed a solution to handle Turtle files that winds up addressing larger issues of code maintenance for the codeReplacements function.
There are three basic types of conversions required in codeReplacements:

Codes from UMLS SABs
Codes with IRIs that have prefixes that are not in the expected format of prefix/SAB_code, but that can be handled with a simple replacement of the prefix with a SAB. Most of these originate with Turtle conversions, but there are some from other sources.
Codes with IRIs that require more complicated formatting, such as those from EDAM.

The codeReplacements function continues to contain the logic for handling the UMLS nodes and the truly special cases (1 and 3 above). However, for the case of simple prefix-SAB mappings, the function now reads a CSV file in the application directory named prefixes.csv.
The use of the prefixes.csv resource file should make it easier to respond to new sets of assertions without significant modification of the logic in the codeReplacements function.


Numerous bug fixes

Number of bugfixes related to footnotes:

[x] Footnotes removing are not updating xrefs properly #1222
[x] Can't delete table with footnote refs #1221
[x] Footnotes sometimes are in wrong order #1223
[x] Typo in New > Figure Package menu #1226
[x] Figure scoped supplementary file is not exporting #1227

Looking good.


GPU memory for evaluation

How much GPU memory is need to evaluate the model?
I´m running:python3 tools/test.py configs/MSMDFusion_nusc_voxel_LC.py checkpoint/MSMDFusion.pth --eval bbox
But get the error message: RuntimeError: CUDA out of memory. Tried to allocate 1.21 GiB (GPU 0; 7.77 GiB total capacity; 4.40 GiB already allocated; 1.21 GiB free; 5.05 GiB reserved in total by PyTorch)

I met this problem too with ~8 RTX4090 GPUs ~, which is not normal. I figure it out by cancling this comment https://github.com/SxJyJay/MSMDFusion/blob/7b5b2741e693ba8007c95e3e8951e4e67fbc47ed/mmdet3d/models/middle_encoders/sparse_multimodal_encoder_painting.py#L432.
Hope it will be helpful.

How much GPU memory is need to evaluate the model?
I´m running:python3 tools/test.py configs/MSMDFusion_nusc_voxel_LC.py checkpoint/MSMDFusion.pth --eval bbox
But get the error message: RuntimeError: CUDA out of memory. Tried to allocate 1.21 GiB (GPU 0; 7.77 GiB total capacity; 4.40 GiB already allocated; 1.21 GiB free; 5.05 GiB reserved in total by PyTorch)

Thanks for quick response, I tried it but it but did not change anything. Is there anything else I can try? I am currently exploring torch.cuda.empty_cache() and torch.utils.checkpoint.checkpoint() do you think any of these methods will work? And if so which file/files should I implement them?

Thanks for quick response, I tried it but it but did not change anything. Is there anything else I can try? I am currently exploring torch.cuda.empty_cache() and torch.utils.checkpoint.checkpoint() do you think any of these methods will work? And if so which file/files should I implement them?

Maybe change this to 1 will help . And what is your GPU memory?https://github.com/SxJyJay/MSMDFusion/blame/7b5b2741e693ba8007c95e3e8951e4e67fbc47ed/configs/MSMDFusion_nusc_voxel_LC.py#L104

That was the first thing i tried :), but I did not have any affect as well. I have 8Gb GPU memory will that be enough to evaluate?

I think your GPU is the problem. Maybe you can use server like autodl or try anonther dataset like nuscenes-mini.

Yes I think so too. I have another question regarding the checkpoint files for the pretrained model, right now there is a checkpoint pth file, is there a json format of as well? Or should I just convert it?
Im wondering since CenterPoint wants the checkpoint detection file to be json format.

Yes I think so too. I have another question regarding the checkpoint files for the pretrained model, right now there is a checkpoint pth file, is there a json format of as well? Or should I just convert it?
Im wondering since CenterPoint wants the checkpoint detection file to be json format.

Are you doing the vitual points generating part? If so, I haven't done this, so sorry about unenabling to answer your question.

I met this problem too with ~8 RTX4090 GPUs ~, which is not normal. I figure it out by cancling this comment
https://github.com/SxJyJay/MSMDFusion/blob/7b5b2741e693ba8007c95e3e8951e4e67fbc47ed/mmdet3d/models/middle_encoders/sparse_multimodal_encoder_painting.py#L432
.
Hope it will be helpful.

How much GPU memory is need to evaluate the model?
I´m running:python3 tools/test.py configs/MSMDFusion_nusc_voxel_LC.py checkpoint/MSMDFusion.pth --eval bbox
But get the error message: RuntimeError: CUDA out of memory. Tried to allocate 1.21 GiB (GPU 0; 7.77 GiB total capacity; 4.40 GiB already allocated; 1.21 GiB free; 5.05 GiB reserved in total by PyTorch)

Hello, have you trained this model? I'm using A800 here but still not enough to train. If you've trained, can you give me an answer to the reason for my lack of memory here, thank you

I met this problem too with ~8 RTX4090 GPUs ~, which is not normal. I figure it out by cancling this comment
https://github.com/SxJyJay/MSMDFusion/blob/7b5b2741e693ba8007c95e3e8951e4e67fbc47ed/mmdet3d/models/middle_encoders/sparse_multimodal_encoder_painting.py#L432
.
Hope it will be helpful.

How much GPU memory is need to evaluate the model?
I´m running:python3 tools/test.py configs/MSMDFusion_nusc_voxel_LC.py checkpoint/MSMDFusion.pth --eval bbox
But get the error message: RuntimeError: CUDA out of memory. Tried to allocate 1.21 GiB (GPU 0; 7.77 GiB total capacity; 4.40 GiB already allocated; 1.21 GiB free; 5.05 GiB reserved in total by PyTorch)

Hello, have you trained this model? I'm using A800 here but still not enough to train. If you've trained, can you give me an answer to the reason for my lack of memory here, thank you

hello ,have you solved this problem? If so, could you please tell me how to do it !


ReGaHss: URL parameter decoding of '+' to white space unimplemented (visible with curl >= 7.77.0)

Describe the issue you are experiencing
During the course of a bug report in homematic-forum.de (cf. https://homematic-forum.de/forum/viewtopic.php?f=65&t=72884) it has been revealed, that with newer curl versions >= 7.77.0 the following curl command performs a HTTP query against ReGaHss which cannot be processed correctly by the internal webserver of ReGaHss:
$ curl -v -G --data-urlencode "value=dom.GetObject(ID_SYSTEM_VARIABLES).Get('Test Space').State('Test')" "http://<IP_ADDRESS>:8181/hm.exe"
*   Trying <IP_ADDRESS>:8181...
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 8181 (#0)
> GET /hm.exe?value=dom.GetObject%28ID_SYSTEM_VARIABLES%29.Get%28%27Test+Space%27%29.State%28%27Test%27%29 HTTP/1.1
> Host: <IP_ADDRESS>:8181
> User-Agent: curl/7.77.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Accept-Ranges: bytes
< Cache-Control: private, no-cache, must-revalidate, no-transform, max-age=0
< Content-Type: text/xml; charset=iso-8859-1
< Content-Length: 127
< Date: Wed, 16 Mar 2022 10:34:07 GMT
< X-Frame-Options: SAMEORIGIN
< X-Content-Type-Options: nosniff
< X-XSS-Protection: 1; mode=block
< X-Robots-Tag: none
< X-Download-Options: noopen
< X-Permitted-Cross-Domain-Policies: none
< Referrer-Policy: no-referrer
<
* Connection #0 to host <IP_ADDRESS> left intact
<xml><exec>/hm.exe</exec><sessionId></sessionId><httpUserAgent>User-Agent: curl/7.77.0</httpUserAgent><value>null</value></xml>

In comparison, with curl versions < 7.77.0 the following output is produced:
$ curl -v -G --data-urlencode "value=dom.GetObject(ID_SYSTEM_VARIABLES).Get('Test Space').State('Test')" "http://<IP_ADDRESS>:8181/hm.exe"
*   Trying <IP_ADDRESS>:8181...
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 8181 (#0)
> GET /hm.exe?value=dom.GetObject%28ID_SYSTEM_VARIABLES%29.Get%28%27Test%20Space%27%29.State%28%27Test%27%29 HTTP/1.1
> Host: <IP_ADDRESS>:8181
> User-Agent: curl/7.76.1
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Accept-Ranges: bytes
< Cache-Control: private, no-cache, must-revalidate, no-transform, max-age=0
< Content-Type: text/xml; charset=iso-8859-1
< Content-Length: 127
< Date: Wed, 16 Mar 2022 10:33:33 GMT
< X-Frame-Options: SAMEORIGIN
< X-Content-Type-Options: nosniff
< X-XSS-Protection: 1; mode=block
< X-Robots-Tag: none
< X-Download-Options: noopen
< X-Permitted-Cross-Domain-Policies: none
< Referrer-Policy: no-referrer
<
* Connection #0 to host <IP_ADDRESS> left intact
<xml><exec>/hm.exe</exec><sessionId></sessionId><httpUserAgent>User-Agent: curl/7.76.1</httpUserAgent><value>true</value></xml>

To identify the issue, take special note for the invalid <value>null</value> result output compared to <value>true</value> output when using a curl version < 7.77.0
After investigation, the following change in curl makes the root cause in the webserver implementation in ReGaHss obvious:
https://github.com/curl/curl/pull/6895
https://github.com/curl/curl/commit/0d7c55bd57ffd5fedb5862e123673d35704b58ac
In detail, newer curl versions (>= 7.77.0) are using a + for a space encoding within URL parameters in full accordance to RFC 1866. However, ReGaHss itself seems not to respect RFC1866 and thus fails to decode the + sign in URL parameters back to a real white space.
This can be spotted by the above curl outputs, more detailed by the following different URL encoding forms by the --data-urlencode command-line parameter of curl:
curl 7.77.0:
/hm.exe?value=dom.GetObject%28ID_SYSTEM_VARIABLES%29.Get%28%27Test+Space%27%29.State%28%27Test%27%29

curl 7.76.1:
/hm.exe?value=dom.GetObject%28ID_SYSTEM_VARIABLES%29.Get%28%27Test%20Space%27%29.State%28%27Test%27%29

Note the difference in the Test+Space vs. Test%20Space output between the different curl versions.
Describe the behavior you expected
The webserver within ReGaHss should properly decode URL parameters which contain a + signs to substitute a white-space characters (something which can also be performed with %20).
Steps to reproduce the issue

Execute the above mentioned curl commands with the different curl versions
Note the difference in the value return as well as in the URL parameter encoding performed by curl.
Note that only with curl < 7.77.0 the corresponding WebUI system variable is being changed in the WebUI.

What is the version this bug report is based on?
<IP_ADDRESS>20226
Which base platform are you running?
ova (Open Virtual Infrastructure)
Which HomeMatic/homematicIP radio module are you using?
n/a
Anything in the logs that might be useful for us?
n/a

Additional information
https://github.com/curl/curl/pull/6895
https://github.com/curl/curl/commit/0d7c55bd57ffd5fedb5862e123673d35704b58ac
https://homematic-forum.de/forum/viewtopic.php?f=65&t=72884

FYI: This issue will be fixed with ReGaHss R1.00.0388.0230 or newer.


how to miner this coin

how to miner this coin

The basic algorithm of the coin's consensus is PoST from Chia-network. The miner also share the plot files to make blocks from chia.
Here are the steps to mine blocks for DePINC:

Make plots according Chia's documents
Start DePINC node program and sync the blocks
Bind your farmer public-key with DePC reward address on chain
Make configure file for your miner client
Start mining and get rewards

Check the wiki to get more information.


Add MongoDB Checkpoint Saver Implementation for LangGraph

Pull Request Description:
This PR introduces a MongoDB-based checkpoint saver implementation for LangGraph. The implementation includes both synchronous and asynchronous versions, which can be used to save and retrieve checkpoints in a MongoDB database.
Key Changes:

AsyncMongoDBSaver: An asynchronous implementation of the checkpoint saver using MongoDB, designed for high performance and non-blocking operations.
MongoDBSaver: A synchronous implementation of the checkpoint saver using MongoDB, for simpler use cases where asynchronous operations are not necessary.
Example Usage: Added examples for using the MongoDB checkpoint savers with LangGraph agents, demonstrating how to use both the synchronous and asynchronous checkpointing methods.

Features:

Supports MongoDB version 4.x and later.
Utilizes the motor library for asynchronous MongoDB operations.
Provides a simple, configuration-driven API for connecting to a MongoDB database and saving/retrieving checkpoints.

Example Code:

Synchronous Checkpoint Saver:

    from typing import Literal
    from langchain_core.runnables import ConfigurableField
    from langchain_core.tools import tool
    from langchain_openai import ChatOpenAI
    from langgraph.checkpoint.mongodb import MongoDBSaver
    from langgraph.checkpoint.mongodb.aio import AsyncMongoDBSaver
    from langgraph.prebuilt import create_react_agent

    @tool
    def get_weather(city: Literal["nyc", "sf"]):
        if city == "nyc":
            return "It might be cloudy in nyc"
        elif city == "sf":
            return "It's always sunny in sf"
        else:
            raise AssertionError("Unknown city")

    tools = [get_weather]  # List of tools to be used by the agent
    model = ChatOpenAI(model_name="gpt-4o-mini", temperature=0, api_key="your_api_key")

    # Create a MongoDBSaver instance and use it as a checkpointer
    with MongoDBSaver.from_conn_info(
        url="mongodb://localhost:27017", db_name="checkpoints"
    ) as checkpointer:

        # Create a React agent using the model and tools, along with the MongoDB checkpointer
        graph = create_react_agent(model, tools=tools, checkpointer=checkpointer)

        # Example configuration for the agent's execution
        config = {"configurable": {"thread_id": "1"}}

        # Invoke the agent with a query
        res = graph.invoke({"messages": [("human", "what's the weather in sf")]}, config)

        # Retrieve the latest checkpoint
        latest_checkpoint = checkpointer.get(config)
        latest_checkpoint_tuple = checkpointer.get_tuple(config)

        # List all checkpoint tuples
        checkpoint_tuples = list(checkpointer.list(config))

Asynchronous Checkpoint Saver: from typing import Literal
 from langchain_core.tools import tool
 from langchain_openai import ChatOpenAI
 from langgraph.checkpoint.mongodb.aio import AsyncMongoDBSaver
 from langgraph.prebuilt import create_react_agent

 @tool
 def get_weather(city: Literal["nyc", "sf"]):
     if city == "nyc":
         return "It might be cloudy in nyc"
     elif city == "sf":
         return "It's always sunny in sf"
     else:
         raise AssertionError("Unknown city")

 tools = [get_weather]  # List of tools to be used by the agent
 model = ChatOpenAI(model_name="gpt-4o-mini", temperature=0, api_key="your_api_key")

 # Create a AsyncMongoDBSaver instance and use it as a checkpointer
 async with AsyncMongoDBSaver.from_conn_info(
     url="mongodb://localhost:27017", db_name="checkpoints"
 ) as checkpointer:

     # Create a React agent using the model and tools, along with the MongoDB checkpointer
     graph = create_react_agent(model, tools=tools, checkpointer=checkpointer)

     # Example configuration for the agent's execution
     config = {"configurable": {"thread_id": "1"}}

     # ainvoke the agent with a query
     res = await graph.ainvoke({"messages": [("human", "what's the weather in sf")]}, config)

     # Retrieve the latest checkpoint
     latest_checkpoint = checkpointer.get(config)
     latest_checkpoint_tuple = checkpointer.get_tuple(config)

     # List all checkpoint tuples
     checkpoint_tuples = list(checkpointer.list(config))

Checklist:

[x] Code implemented and tested
[x] Documentation updated (README.md, usage examples)
[x] Tests added
[x] Code linting and formatting checks

@kevaldekivadiya2415 thank you for your contribution! MongoDB actually implemented one and it will be released soon, so closing this one for now.
we're also not merging contributions for checkpointer implementations into langgraph repo, but you can always make one in your own repo!

Any updates on when this feature will be available?

It already is! https://langchain-ai.github.io/langgraph/how-tos/persistence_mongodb/


Update /vmware-tanzu/carvel- to /carvel-dev/

Change https://github.com/vmware-tanzu/carvel- to https://github.com/carvel-dev/
Change https://raw.githubusercontent.com/vmware-tanzu/carvel- to https://raw.githubusercontent.com/carvel-dev/

Hey @liangyuanpeng ! Thank you so much for taking the time to make these changes. I started reviewing them but since the changes span across a lot of files it will probably take a bit more time for me to complete the review.

Hey @liangyuanpeng! Thank you for the PR. It's getting a little difficult to go through so many changes. Would you like to close this PR and create multiple PRs instead (for example, one PR for files at root, one PR for blogs, one PR for docs of each tool, etc,.)

Thanks for your review, i know it's really challenge due for too much change. Close this PR first and  i'm not sure whether to continue.


chore(devenv): use auto-generated React wrapper

This change converts all React stories to the auto-generated React wrapper introduced in #95.
This change also adds support for components extending another component to the Babel plugin that generates the React wrappers.
Refs #91.

@emyarod Fixed the Netlify timeout issue. As always, please don't hesitate to ping me if you have any questions. Thanks!


Word Counter (Gssoc,23)

Describe the project you want to add with tech stack
Word counter that will count the no. of words, characters, sentences, and paragraphs in the textbox. Made with the help of HTML, CSS, and JS.
Expected behavior
Word counter that will count the no. of words, characters, sentences, and paragraphs in the textbox.

@MohitGupta121 @TusharKesarwani @pranjay-poddar Can you plz assign this task to me and also mark the level and Gssoc'23 label?


Sample for IDynamicInterfaceCastable

Summary
Add a sample using the new IDynamicInterfaceCastable API.
cc @AaronRobinsonMSFT @jkoritzinsky

@dotnet/docs This sample involves building a native library. To make it a bit simpler for users to run, it hooks the native build in such that dotnet run and dotnet build will build the native library. This is the same system as that used for the marshaling and hosting samples. The prerequisite to make this work is the have the C++ compiler for the platform be installed and on the path when building. The CI build is failing because the C++ compiler is not found - is there a recommendation for what we should do here? Maybe have the CI set some property such that the projects could conditionally skip doing the native build?

@dotnet/docs This sample involves building a native library. To make it a bit simpler for users to run, it hooks the native build in such that dotnet run and dotnet build will build the native library. This is the same system as that used for the marshaling and hosting samples. The prerequisite to make this work is the have the C++ compiler for the platform be installed and on the path when building. The CI build is failing because the C++ compiler is not found - is there a recommendation for what we should do here? Maybe have the CI set some property such that the projects could conditionally skip doing the native build?

I would love to get CI working for this. I checked on my computer that has the latest VS2019 preview and I don't have the following according to the readme:

Using Developer Command Prompt for VS 2019 Int Preview, cl.exe doesn't resolve to anything.
There is no x64 Native Tools Command Prompt for VS 2019 shortcut on my machine.

This actually needs a README.md with metadata, so that it is indexed by the samples browser.

Nice - I had no idea that was a thing. Will update.

There is no x64 Native Tools Command Prompt for VS 2019 shortcut on my machine.

Do you have a C++ workload installed for VS? I'll make the readme point out
https://docs.microsoft.com/cpp/build/building-on-the-command-line#download-and-install-the-tools.
The CI is only on Windows currently, right?

Do you have a C++ workload installed for VS? I'll make the readme point out
https://docs.microsoft.com/cpp/build/building-on-the-command-line#download-and-install-the-tools.
The CI is only on Windows currently, right?

Ahh that is probably the reason. I believe the CI machine has all workloads installed, so the command would work there. CI is only on Windows yes. Tomorrow I'll work on getting Preview 7 installed and the CI to use dotnet via the developer command prompt. It currently only runs it directly.

@adegeo I updated the sample so that it should automatically find the MSVC compiler based on the bitness of the dotnet executable doing the build. It works locally for me. With that, hopefully moving Preview 7 is all that is needed for the CI.

Awesome! CI passed!

@IEvangelist I have updated the README to include metadata for indexing by the samples browser. Do you have any additional concerns with this?

@adegeo Seems like the CI is now expecting the added global.json to correspond a project in its current directory or a parent directory, but not finding one?
Running "LocateProjects "d:\a\samples\samples" --pullrequest 3744 --owner dotnet --repo samples"
1|core/interop/IDynamicInterfaceCastable/global.json|

When it was passing before, global.json wasn't listed by LocateProjects.


slint-lsp: 0.3.4 -> 0.3.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/slint-lsp/versions.
meta.description for slint-lsp is: Language Server Protocol (LSP) for Slint UI language
meta.homepage for slint-lsp is: https://slint-ui.com/
meta.changelog for slint-lsp is: https://github.com/slint-ui/slint/blob/v0.3.5/CHANGELOG.md
Updates performed

Rust version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.3.5 with grep in /nix/store/9s0i8ywdwl5qxswdjgah1nm47pjkz3f8-slint-lsp-0.3.5
found 0.3.5 in filename of file in /nix/store/9s0i8ywdwl5qxswdjgah1nm47pjkz3f8-slint-lsp-0.3.5

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
slint-lsp

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/9s0i8ywdwl5qxswdjgah1nm47pjkz3f8-slint-lsp-0.3.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/9s0i8ywdwl5qxswdjgah1nm47pjkz3f8-slint-lsp-0.3.5
ls -la /nix/store/9s0i8ywdwl5qxswdjgah1nm47pjkz3f8-slint-lsp-0.3.5/bin

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

1 package built:

slint-lsp

Maintainer pings
cc @xgroleau for testing.

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

1 package built:

slint-lsp


Add NewDateTime(t time.TIme) DateTime to avoid reflection for common usecase.

Ive been using the DateTime type alot in pocketbase as its essential for managing the dates in the database.
My most common use case by far is just going from a standard GO time format to a DateTime format for the database.
Constantly going between the go time instance and the datetime instance for manipulating dates.
The only parsing function we have currently is the ParseDateTime(v any) function
I propose adding a function like
func NewDateTime(t time.Time) DateTime {
	return DateTime{t: t}
}

The thing with using ParseDateTime(v any)  is that we are forced into using reflection when we dont have to.
If we are doing the safe operation that is error free goin from .Time to types.DateTime.  We still have to handle the error block
(or at least feel compelled to, yes we could just do t, _ := ParseDateTime(t), but if a function returns an error i like to handle it, even if its impossible in this case when the value passed in is an time.Time value)
In this PR i added the function and a simple test. I tried to stay consistent with the other tests there.
Ive currently just copied this file into my codebase and added the file for myself but it could be a nice addition for other PB users :).
Its simplified alot of my date handling functions where I originally handled the error to realise when reading the scan function internals that no error can be thrown if I pass in a time.Time struct.

Ive mistakenly added
// ParseTime creates a new DateTime from the provided time.Time
func ParseTime(t time.Time) DateTime {
return DateTime{t: t}
}
When I was messing with different names for the function. Im going to remove it now

I don't think there is need for this because in the develop branch the types.DateTime type was updated to have pretty much the same methods as time.Time.
Also note that DateTime.Scan uses type assertion, not reflection.


Add credits menu

Migrated from https://github.com/bevyengine/bevy_github_ci_template/issues/57

We can simplify https://github.com/MiniaczQ/bevy-substate-based-ui down to a menu + credits

If we can decide on the scope I can work on this right now


Display the subject to be converted before converting it

Will help debug #3

This is already the case:
https://github.com/sct-pipeline/spine-park/blob/8e541e9064c9be264a85f867ed93371df80c506b/convert_to_bids.py#L63-L68
Closing


Firefox complains about "unreachable code after return statement"

Firefox adds warnings to my console because of this code:
https://github.com/webpack/webpack/blob/44bcc43fdd3f55a7146558cf3609ec7d381e5400/lib/hmr/HotModuleReplacement.runtime.js#L190-L193
Could be rewritten as:
 status: function (l) {
 	if (l) {
 	 	registeredStatusHandlers.push(l);
	} else {
		return currentStatus;
 	}
 },

Yeah, the code is certainly valid. Firefox is just issuing a warning because of the early return, because in some cases, that could indicate a coding mistake like leaving in an early return for debugging purposes (even though it isn't a mistake, in this situation).

Found another instance:

I think it's a Firefox bug. According the the documention no warning should happen in this case: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Stmt_after_return

I'm also getting this on Firefox 76.0.1, though differently:

Don't have the time to test rolling back webpack and/or Firefox now to narrow it down, but next week, unless someone figured it out by then :+1:

Narrowed it down! I was actually having some unreachable code after a return statement.
The warning went away once I fixed it.
Perhaps it is the same for you, @markjaquith?
I just manually commented out various bits in my code 'til it went away, narrowing it down as I went.

Is there a reproducible testcase as repository?
I can not resolve this in Firefox 76.
Related and old bug reports:
https://bugzilla.mozilla.org/show_bug.cgi?id=1151931
https://bugzilla.mozilla.org/show_bug.cgi?id=1177941

Fixed on Firefox side


Docs(Quickstart Guide): Fix invalid link to plugin.path

The link to the plugin.path is not pointing to the correct site.
I simply added /documentation/ to fix it.

@janikdotzel this link is working for me, with both the current docs site (https://kafka.apache.org/documentation.html) and the docs for a prior version (https://kafka.apache.org/32/documentation.html). The former leads me to https://kafka.apache.org/documentation.html#connectconfigs_plugin.path, and the latter to https://kafka.apache.org/32/documentation.html#connectconfigs_plugin.path.
Can you describe what you're seeing that appears to be broken here?

My behavior was visiting the quickstart guide https://kafka.apache.org/quickstart.
Clicking on the link leads me to https://kafka.apache.org/quickstart#connectconfigs_plugin.path, which is not available.
Your comment has shown me, that the whole quickstart guide is embedded in two (or even more places).
First place /documentation/#quickstart
Second place /quickstart
I have two solutions in mind to solve this issue:

Route each link in the quickstart guide to their corresponding page. E.g. If someone is on page /quickstart route him to /quickstart and so on. However this would be a lot of work.
Always route the request to /documentation/#quickstart. This is already done for the other links. E.g. Kafka Connect from line 163 of the same file.

@C0urante What do you think?
If you agree with my second solution the current change in the docs is already correct.


pre background should not have a hue

The sand-colored background on highlighted code conflicts with the way we color example boxes etc. Please either don't use a background, or use one that has no hue (and maybe is semi-transparent?).

Yeah, you're right. Fixed in 9ec7eb81


L515 - Depth Stream freezes but RGB Stream keeps going

Required Info

Camera Model
L515

Operating System & Version
Linux - Ubuntu 18

Kernel Version (Linux Only)
5.4.0-52-generic

Platform
PC

SDK Version
PyRealsense2, version 2.39

Language
Python

Segment
Robot

(Cannot provide firmware version as I'm currently working remotely, but I can update it if needed)
Issue Description
Context
We are using the L515 on Universal Robots to do dynamic picking on a conveyor belt. The UR-Script is communicating with the camera through a XML-RPC server
What is the issue
We have an issue that appears kinda randomly (about 1 time for each 20 detection) : the depth stream totally freezes even if RGB stream keeps updating. We see that through display, but also through frames' id : the depth stream is sending always the same image, with the same ID & the same timestamp
When the issue occurs :
As I said before, it's is kind of random. Nevertheless, when it occurs, it is always when the robot is moving to the detected object
Additionnal infos
This issue appears on our 2 L515 and it has been reproduced on 4 different computers
My Ideas
It may be a communication error between the camera and the PC : the PC never indicates to the RealSense that it has well received the depth image. It might occur after an allocation error
Cheers !
Rémi Lux

@remi2257
Have you attempted to see if this disconnect issue happens when the L515 device is connected directly to the computer via USB and not over server communication setup?
*If we don’t hear from you in 7 days, this issue will be closed.


[CircleGraphCtrl] Introduce pageloaded event

This will introduce 'pageloaded' eventh when page is loaded.
ONE-vscode-DCO-1.0-Signed-off-by: SaeHie Park<EMAIL_ADDRESS>

for #928, from #940


Add an option to make the outline the color of the team

Add an option to make the outline the color of the team

I haven't forgotten this request!
Added this feature along with the update for 1.19! See the v1.2.3 release or Curseforge file to download.

i just used a few mixins but thanks


Remove Dashbot

FEATURE OVERVIEW
User Story
As a developer, I want to remove Dashbot integration. Removing the extra Northstar lookups we need to track by User Id would stop #916 from triggering New Relic errors.
Additional Information (optional)
These analytics won't be too useful once Conversations goes live in a number of weeks anyway.

Closed by #953


Detect 127 chars limit for shebang line automatically

If shebang in generated argrelay client or server exceeds 127 chars, it fails to start.
The verification should be automatic: https://stackoverflow.com/a/10813634/441652

It is implemented in bootstrap_dev_env.bash:
https://github.com/argrelay/argrelay/blob/v0.5.2.final/src/argrelay/custom_integ_res/bootstrap_dev_env.bash#L258


Filter Events by Category set to None causes Module Load Exception

Describe the bug
If you go to the settings menu of the module and choose Filter Events by Category set to None it causes the module to throw an error to the screen below the calendar view after you hit submit.  The error will stay present on the page across all users until the app pool is cycled then it will clear out.  The setting will have been reverted back to Select All instead of None.
To Reproduce
Steps to reproduce the behavior:

Login as host
Navigate to a page with the Events module installed
Click Edit Settings icon
Scroll down to Filter Events by Category
Click the checkbox next to Select All to make it None
Hit Update Settings
Scroll below the Events calendar and the error will be present

Expected behavior
Ability to set filter to None without error.
Screenshots
Choosing the value

Shows none

Error

Error log
Note: Debug DLL's
Debug DLLs loaded into the website and then I reproduced the error again.

ModuleId:1733
ModuleDefId:153
FriendlyName:Events
ModuleControlSource:DesktopModules/Events/Events.ascx
AbsoluteURL:/Default.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:803ee784-a361-418d-b5f1-f65ab4336248
AssemblyVersion:9.2.1
PortalId:0
UserId:1
TabId:305
RawUrl:/FL-ActionCoalition.aspx
Referrer:https://WEBSITE/FL-ActionCoalition/tabid/305/ctl/EventSettings/mid/1733/Default.aspx?popUp=true
UserAgent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
ExceptionHash:qmcw++duJKgL444/aFDfQlQEh4c=
Message:Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
StackTrace:
InnerMessage:Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
InnerStackTrace:
at System.Collections.ArrayList.get_Item(Int32 index) at Components.EventModuleSettings.get_ModuleCategoriesSelected() at DotNetNuke.Modules.Events.SelectCategory.get_SelectedCategory() at DotNetNuke.Modules.Events.EventMonth.BindDataGrid() at DotNetNuke.Modules.Events.EventMonth.Page_Load(Object sender, EventArgs e)
Source:
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:

Forgot to include version info.
DNN 9.2.1
Events 7.0.2


Campusevents deletion failure alert

Description
Please provide a summary of the pull request and the issue it fixes. Please add necessary details, context, dependencies, explanation of when review is needed (see next section), etc.
Fixes #(add issue number here and remove parentheses)
Review Time Estimate
Please give your idea of how soon this pull request needs to be reviewed by selecting one of the options below. This can be based on the criticality of the issue at hand and/or other relevant factors.

[ ] Immediately
[ ] Within a week
[x] When possible

Type of changes
Please select a relevant option:

[ ] Bug fix (non-breaking change which fixes an issue).
[x] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
[ ] Other (any another change that does not fall in one of the above categories.)

Checklist:
Please select all applicable options:

[ ] I have signed the Rokwire Contributor License Agreement (CLA). (Any contributor who is not an employee of the University of Illinois whose official duties include contributing to the Rokwire software, or who is not paid by the Rokwire project, needs to sign the CLA before their contribution can be accepted.)
[x] I have updated the CHANGELOG.
[ ] I have read the Contributor Guidelines.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] My change requires updating the documentation.
[ ] I have made necessary changes to the documentation.
[ ] I have added tests related to my changes.
[ ] My changes generate no new warnings.
[ ] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

@bingzhang, how difficult will it be to redirect users to the event listing page after successful delete? If it's a quick addition, please include that in the PR, and we can merge this PR soon. Also, please let me know if #619 needs to be closed. Thanks.


Minor updates

-improved menu component UX

@JayJay1024 please help me reviewing this code. Thanks for your time


[BEAM-11922] remove broken test

This file was checked in by mistake - remove it.

R: @tysonjh

Run Java Postcommit

Bump for merge...


Refactor matchActivity to always return the dereferenced activity

Instead of returning the dereferenced activity or false, return an array with the success status (true or false) first, and the dereferenced activity next.
This will allow to optimise requests so that, even if the match fais, we don't need to lose dereferenced data.

I don't understand the context of the problem

This is a very internal refactoring. If you don't know the matchActivity util, it probably won't matter to you.


Can't always kick players trough Dashboard and not even ingame

So I obviously logged in as Admin ingame and I also tried kicking people trough the Dashboard (on chrome) but nothing happens. It does write in the chat that the player got kicked but it just doesn't actually happen and it doesn't matter how often I try it. Keep in mind that it's not always like that. Sometimes there is people I can kick and sometimes there is people I just can't kick, doesn't matter if I wait 20 minutes before trying again ingame or only try to reload the dashboard and try it there.
Screenshot of the chat with kick messages: https://prnt.sc/1vmpjjw
Server Manager Version: Assetto Corsa Server Manager Premium v1.7.9
Server name (if relevant): Eat My Dust

Seems to work better with v2.1.3, thanks for that!


fix:change the name of the function

change the name of the function

code optimization

Types of changes

[x] Bug fix (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 change)
[ ] Enhancement (changes that improvement of current feature or performance)
[ ] Refactoring (changes that neither fixes a bug nor adds a feature)
[ ] Test Case (changes that add missing tests or correct existing tests)
[ ] Code style optimization (changes that do not affect the meaning of the code)
[ ] Docs (changes that only update documentation)
[ ] Chore (changes that don't modify src or test files)

Self Check before Merge

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Pull Request Test Coverage Report for Build 145924213

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

Totals

Change from base Build 143341677:
0.0%

Covered Lines:
2337

Relevant Lines:
5105

💛  - Coveralls


Follow the same standards with provider kubernetes for environment variable

Currently only one configuration can be set which is quite limited on running this provider in CI and in development.
Would suggest 2 things:

In-cluster config should just automatically set based on the below

In-cluster Config
The provider uses the KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT environment variables to detect when it is running inside a cluster, so in this case you do not need to specify any attributes in the provider block if you want to connect to the local kubernetes cluster.
If you want to connect to a different cluster than the one terraform is running inside, configure the provider as above.
ref: https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs#in-cluster-config

Support multiple args instead of: only one of kubeconfig_incluster,kubeconfig_path,kubeconfig_rawcan be specified, butkubeconfig_incluster,kubeconfig_path were specified..

Would also be great if we could get exec as well like the kubernetes provider!

Would you accept a PR that implements this?

I would accept a PR that makes kubeconfig_incluster settable via an env var for users that wasn't to keep the HCL agnostic and control via the environment which auth is being used.
A PR that isn't fully backwards compatible for existing users is not an option. I am also not keen on adding additional attributes to the provider if the one's already there can get the job done.
You could already now achieve what you want simply by always supplying a path to a kubeconfig and have that kubeconfig set the desired auth.

The primary use case I am suggesting supporting is for CI environments where a kubeconfig is not present because it is generated with an exec call. Backwards compatibility is assumed always.

From the hashicorp/kubernetes provider docs:
provider "kubernetes" {
  host                   = var.cluster_endpoint
  cluster_ca_certificate = base64decode(var.cluster_ca_cert)
  exec {
    api_version = "client.authentication.k8s.io/v1beta1"
    args        = ["eks", "get-token", "--cluster-name", var.cluster_name]
    command     = "aws"
  }
}```

Essentially everything this provider supports, I would be glad to add support for in this provider in whatever way would be backwards compatibility with existing functionality. The kubernetes provider is used widely by the entire Terraform ecosystem and as such reflects the needs of the community. I'd like this provider to support those needs (as mine are among them).

What you're trying to do @tkellen is possible by defining the kubeconfig as a HCL map, and then passing it into kubeconfig_raw using Terraform's yamlencode function. There should be examples how to do this in the issues, use the search.
This issue is about something else. I am not planning to add individual kubeconfig attributes to the provider spec because I have zero interest in playing catch up supporting all of them.

Roger that. I'll fork the provider. The ergonomics of building a kubeconfig are not something I am interested in maintaining.
Here is another format your provider does not support:
data "aws_eks_cluster" "this_env" {
  name = local.name
}

data "aws_eks_cluster_auth" "this_env" {
  name = local.name
}

provider "helm" {
  kubernetes {
    host                   = data.aws_eks_cluster.this_env.endpoint
    cluster_ca_certificate = base64decode(data.aws_eks_cluster.this_env.certificate_authority[0].data)
    token                  = data.aws_eks_cluster_auth.this_env.token
  }
}

To be clear, I appreciate the work you and the other contributors have done here but it seems very strange that you don't support configuring your provider in the way kubernetes/helm/kubectl do.

If I extract the functionality from the kubernetes provider into a library and make it possible for this provider to utilize that functionality, would you consider adding this support? That would allow you to kick requests from users "upstream" to me. I would also seek to get the helm, kubectl and kubernetes providers to share the functionality, though obviously I can't guarantee it would be adopted this way.

@tkellen I doubt that maintaining a fork is less work than simply doing something like this and getting the host, CA and token path from the env vars inside the pod instead of via the AWS provider data sources like in the example.
If you search the issues, you will find plenty of examples and plenty of explanation why I am not interested in duplicating things that can be set in a kubeconfig in the provider schema. Since this issue is about something else entirely, though, I kindly ask you to stop derailing the conversation now.

🙄 roger that, will fork.


Included cloudfoundry deployment

#10

Coverage remained the same at 100.0% when pulling 5e0427dc112c4e563688a52554ec73e52dcb555c on feature/issue10 into 3b6389b656201be9ab69dbbc07172a61867c132e on master.


Skip SDXL test in CI

What does this PR do?

Skipping the SDXL test in CI for now since the dataset used in the test is not available at the moment (more information here).
Also removing the LoRA SDXL test since LoRA is not usable in the SDXL training example anymore.
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Add support for Linux ARM64

it support Arm64 /Raspbery PI ?

Currently it is only compiled for x68. I know that .NET runs on Raspian. We would have to try and compile on Raspian and if that checks out, build a pipeline to automate the build.
Thanks for your input @todosrc!

i try on Raspbery PI 3 , this is the result :
pi@raspberrypi:~/Desktop/testbrowser $ dotnet HelloPhotino.NET.dll
Creating new PhotinoWindow instance.
Unhandled exception. System.DllNotFoundException: Unable to load shared library 'Photino.Native' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libPhotino.Native: cannot open shared object file: No such file or directory
at PhotinoNET.PhotinoWindow.Photino_ctor(String title, IntPtr parentPhotinoNET, WebMessageReceivedDelegate webMessageReceivedCallback, Boolean fullscreen, Int32 x, Int32 y, Int32 width, Int32 height)
at PhotinoNET.PhotinoWindow..ctor(String title, Action`1 configure, Int32 width, Int32 height, Int32 left, Int32 top, Boolean fullscreen)
at HelloPhotinoApp.Program.Main(String[] args) in E:\MyIOT\photino.Samples-master\photino.Samples-master\Photino.HelloPhotino.NET\Program.cs:line 55
Aborted

Any news or maybe an ETA for ARM/Raspberry Pi support?

No ETA at this point. We're working hard to get V2 working on Windows, Linux and macOS. It would be great to have someone from the community try to compile for RasPi when that's ready. You may have a long wait for us to get around to it.

I have compiled the source code using the command below in Raspbian ARM 64 bit. But I still unable to make it works correctly though the program was running. Photino just displayed The URL can’t be shown, I was using the dotnet new photinoapp -o photinoapp without any code changes.
gcc -std=c++11 -shared -DOS_LINUX Exports.cpp Photino.Linux.cpp -o x64/Photino.Native.so `pkg-config --cflags --libs gtk+-3.0 webkit2gtk-4.0` -fPIC

I think the The URL can’t be shown is same issue with this https://github.com/tryphotino/photino.Samples/issues/18.
I have tried new Uri("https://www.google.com"), it has same error too.

@sanme98  i think the URL issue    is already close , can you retest on PI ?

I got the error below after install Templates::2.0.1 on PI 64 bits. The program exited after I clicked Close button.

@sanme98 This error indicates a mismatched version between the .Native code and the .NET code. Please make sure you're working with the latest packages and/or source code.

@MikeYeager I have no idea now, I created a new project by using the latest template also the same error.

dotnet new -i TryPhotino.VSCode.Project.Templates
&& dotnet new photinoapp -o MyPhotinoApp
&& cd MyPhotinoApp
&& dotnet run

After that, I have even added the native library package manually. The same error too.

dotnet add package Photino.Native --version 2.1.3

csproj content
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net5.0</TargetFramework>
    <Platforms>AnyCPU;x64</Platforms>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Photino.Native" Version="2.1.3" />
    <PackageReference Include="Photino.NET" Version="2.0.13" />
  </ItemGroup>

  <ItemGroup>
    <None Update="wwwroot\**">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
  </ItemGroup>
</Project>

Will try to debug if I have some time in future & know how to debug native lib.

@sanme98 The newest version of Photino.Native is indeed 2.1.3, however the newest version of Photino.NET is 2.1.10, not 2.0.13. I believe that's where the issue lies. Please update Photino.NET. Cheers!

@sanme98  Cheers!

Hey, sounds great.
I also want to use Photino on a Raspberry PI.
Can you please share your running version somehow?

Also interested in this capability.

I too am interested in trying to get a Photino app running on a Pi 4 or Pi Pico or Pi Zero.  Any ETA or plans for this soon?

Meanwhile I compiled it by myself for ARM32.
It runs on my Raspberry PI3B+ without problems.
It is part of this project archive: http://web.freescoreboard.org/download/FreeScoreBoard9_Beta1.tar.gz

Dear Mike,
this is the compile command I have used:
gcc -std=c++11 -shared -DOS_LINUX Exports.cpp Photino.Linux.cpp -o x64/Photino.Native.so pkg-config --cflags --libs gtk+-3.0 webkit2gtk-4.0 -fPIC
I compiled it directly on my Raspberry 3B+ with the 32Bit Raspberry OS.
Well, I am not so familiar with c++.
In the beginning I had some errors and packages to setup on by device (like gtk).
I just followed the messages and finally I got the compilation.
Great Project, Thanks

I compiled photino.Native on Raspberry Pi OS (PI4) both 32bit(linux-arm) and 64bit(linux-arm64) with no issues.
Next, I am working to compile photino.Native on M1 Mac mini (osx-arm64).
It would be excellent to add pipelines for each of the following to the repo!
-linux-arm
-linux-arm64
-osx-arm64

Looking forward to this feature

Photino.NET v2.5.0 was just released with support for ARM64 on Windows, macOS and Linux. Windows and Linux (Debian) ARM64 tested in VM on Apple Silicon.
For anyone interested in using this on other platforms than Debian-related Linux distros (Raspberry Pi, SuSe, RedHat, etc), feedback is very much appreciated.


fix: Source paths with trailing slashes causing inconsistent sources in XML report with relative_paths

This is related to two bugs:

Fixes https://github.com/nedbat/coveragepy/issues/1541
Potentially unreported: <sources> would include an empty <source> if the source contained a trailing slash when using relative_paths=True.

The fix strips out the trailing slash in source directories when relative_paths=True is used. This does not need to be applied for relative_path=False, because canonical_filename will automatically strip trailing slashes through its use of os.path.join.
This fix returns the behaviour to that present prior to https://github.com/nedbat/coveragepy/commit/45cf7936ee605cfe06f7f5967a72a73198960120 where the <source> reported would never end in a trailing slash.

Thanks!

This is now released as part of coverage 7.2.4.

This is now released as part of coverage 7.2.4.


Proposal: Ship SerialDisposable();

See https://github.com/kentcb/Genesis.GenericSerialDisposable I'm sure @kentcb would be keen to retire his implementation to get this included by default.

Well.....no, not really. Here's the thing: SerialDisposable<T> depends only on Rx, and I often use it in contexts that do not require RxUI. It would actually make things harder/messier if this was bundled in RxUI.

@kentcb this is the System.Reactive repo, not ReactiveUI repo. Apologies for the context shift as you were also reviewing some RxUI PRS at the same time. This proposal is to lift your implementation and ship it, in, the official rxnet package.

lol, oops. Carry on, soldier.
In that case, not only could it be lifted, but it could be made more efficient (avoid casting and such). I'd be all for this and would be happy to PR it if there's a general consensus that this is A Good Thing.

SerialDisposable<T> and CompisiteDisposable<T> would make sense in Systemor System.Core imo. They are general purpose and probably copy-paste ~reimplemented~in many apps & libs.

I'm not sure what this would buy us other than API bloat in our own library since I'm not sure it would be useful in Rx .NET core.  If on the other hand, we had say System.Reactive.Disposables as its own package, then perhaps that would make sense.

@mattpodwysocki having another package gets my thumbs up as they are useful outside of Rx

+1 for a separate library, but should it be System.Disposables without "Reactive" in the title? There's nothing actually reactive about any of the disposable types in Rx.

@RxDave we weren't allowed to touch the System namespace in .NET outside of System.Reactive so that's why I was proposing keeping it there.

Perhaps the idea of a Disposables library belongs directly in the CoreFx repo? It can start off as a spec/discussion and see if it fits in one of the existing libraries or if it should be its own thing like System.Disposables?

@onovotny I wouldn't be opposed.  Feel free to start the discussion.

same would apply to the IScheduler interface as well, should be a core interface that I can use. to bring in rx only for that interface is not so convenient

@colombod can you open a different issue for IScheduler with details about the non-Rx use case you would like to see supported?

One of the original goals of System.Reactive.Interfaces and System.Reactive.Core was to reduce the amount of stuff one needs to include if one is interested in e.g. the disposable algebra or the scheduler functionality. In particular, it cuts out large assemblies such as System.Reactive.Linq and System.Reactive.Providers. In fact, at some point in the past, the schedulers were in their own concurrency assembly which was also used by System.Interactive.
If anything, it'd make sense to split these off into an even more fine-grained set of assemblies again. Such assemblies can become very concrete minimal units of functionality that can be used as proposals for inclusion into corefx, potentially with a stop over at corefxlabs. FWIW, I've never been a fan of trying to smash assemblies together for a perceived light-weight nature based on e.g. seeing the number of assembly references in a Visual Studio project. Finer grained is the better side to err on.

I just think that as IDisposable, Observer and IObservable are part of .net BCL same should be for the IScheduler. That would make contract assemblies untied to RX, a lot of time need to bring a dependency on rx overtime i am exposing the IScheduler through my interfaces, that coupling should be only at implementation.

Looks like the discussion of the inclusion has stalled here and in the corefx proposal too. For one thing, they are pretty much Rx-concurrency specific. Ix.Async doesn't use them nor can I recall any other forms of async approaches working with the type. The concept itself is simple enough to be included/adapted to other types.
However, 4.x inlined most usages of the types and uses direct field updating instead of allocating a holder.
If the remaining holders get eventually into the corefx, we can revisit this issue similarly to the Ix.Async work.


Help running webcam detection in raspberry 3b+

Hi all,
I followed the tutorial entirely, successfully trained my custom ssd_mobilenet_v2_quantized_300x300_coco model with 7 classes to detect.
The issue comes when I try to run the webcam detection script, in the rpi 3b+, appears the next error:
RuntimeError: tensorflow/lite/kernels/detection_postprocess.cc:404 ValidateBoxes(decoded_boxes, num_boxes) was not true.Node number 98 (TFLite_Detection_PostProcess) failed to invoke.
The weirdest thing of all is the fact that if I run the exact same code in my workstation (with tf 1.15.1), the code works flawlessly, so it makes me think that there's something wrong with the raspberry.
The model was trained in Colab with tensorflow 1.15, and compiled with the following sintax:
!tflite_convert --graph_def_file=compiler/tflite_graph.pb --output_file=compiler/detect.tflite --output_format=TFLITE --input_shapes=1,300,300,3 --input_arrays=normalized_input_image_tensor --output_arrays='TFLite_Detection_PostProcess','TFLite_Detection_PostProcess:1','TFLite_Detection_PostProcess:2','TFLite_Detection_PostProcess:3'  --inference_type=QUANTIZED_UINT8 --mean_values=128 --std_dev_values=128 --change_concat_input_ranges=false --allow_custom_ops
Any help will be so pleased. Thanks in advance!

@egamez099 Hi! Did you ever fix this error? I am having the same issue and when googling this error there seems to be limited fixes....


Light Color Temperature lost after upgrade

When running anything newer than 1.93 my light entity turns into a simple on/off - without the controls for color temperatur. Downgrading to 1.93 bring the controls back.
I think I have a Driskol fan...still looking for the manual - but it appears to not report a model number.
TestHubspace.py output: https://pastebin.com/NGVwUzx3

Thanks for the output. I tried a better way to identify items that do not return the model number, I obviously goofed something with the light. Fans with lights are hard to handle! I will take a look. Does the fan work properly still? It may take me a couple days, no harm in going to 1.93, as new functionality has been added.

Ok. Think I got it. To test it out, first update to the latest version using HACS. Then download the Hubspace.py file from the repo and replace the one in custom_components/hubspace/   . Hopefully it will work.
If it works, I will make a new release. I just do not want to make a release if this fix does not work

Perfect! Color-temp controls are back. I deleted and re-discovered a couple of times, just to make sure - and everything consistently appeared.
Thank you!

Great. Closed with release v1.96


Smf per thread results

@aakarshg  yes it was intended.   smallfile itself changed so that the same key 'elapsed' is used on the thread, host, and cluster levels.  'elapsed' generally implies "elapsed time".  In general smallfile output module was rewritten to make JSON output more consistent and K8S friendly (for example, if host-set not specified, then there are only per-thread and cluster results, no host results, since in K8S host=pod).    This PR assumes that behavior now.    When you rebuild quay.io/cloud-bulldozer/snafu it will pull in new version of smallfile.


‘Click for unit test options’ label on canvas not functional

What is a bit confusing: In the top left corner is the label ‘Click for unit test options’, but when you left click on it nothing happens. It turns out, actually by just right clicking anywhere on the canvas, you can access the unit test menu options.

Fixed it for now with a new quick left click menu


Fix the buffer_points function to accurately calculate 500m radius buffers

Because CRS is EPSG:27700 and Easting and Northing, a value 500 for the buffer should correspond to 500 metres.

After a conversation with Musa, I finished this on 29th Jan.
The code here specifies 500, which is apparently correct. QGis might help to verify this.


Indentation/Formatting Style

I dislike the current indentation-or-formatting-or-whatever style.
Suggestions
Function and Single Argument on Line
I frequently use the following Lispy style:
number : Nat
number = _+_ 5
             6

The preceding example is obviously a bit contrived and unnecessarily breaks the line but does indicate that I try to get some sort of alignment.
Function on Line
I have also seen some use of the following Lisp style:
number : Nat
number = (_+_
           5
           6)

Question and Offer
Do either of these choices appeal to you?  Your current indentation style has confused me at least once.  :-)
In either case, I am willing to fix up the indentation style for you.

The one with less parenthesis looks good to me. Yes, please help out. Thanks a lot.

From: andrewchawk @.>
Sent: Thursday, August 1, 2024 8:58 PM
To: onestruggler/short-intro-reflection @.>
Cc: Subscribed @.***>
Subject: [onestruggler/short-intro-reflection] Indentation Style (Issue #1)
CAUTION: The Sender of this email is not from within Dalhousie.
I dislike the current indentation-or-formatting-or-whatever style.
Suggestions
Function and Single Argument on Line
I frequently use the following Lispy style:
number : Nat
number = + 5
6
The preceding example is obviously a bit contrived and unnecessarily breaks the line but does indicate that I try to get some sort of alignment.
Function on Line
I have also seen some use of the following Lisp style:
number : Nat
number = (+
5
6)
Question and Offer
Do either of these choices appeal to you? Your current indentation style has confused me at least once. :-)
I am willing to fix up the indentation style for you.
—
Reply to this email directly, view it on GitHubhttps://github.com/onestruggler/short-intro-reflection/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE3BG3V44N3SXVSYYDHTTW3ZPIWIDAVCNFSM6AAAAABL2QRBIGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ2DEMZZGQYTQMI.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Also still, are you intentionally avoiding the standard library?

Yes, I am avoiding it to be self-contained.

From: andrewchawk @.>
Sent: Thursday, August 1, 2024 11:29 PM
To: onestruggler/short-intro-reflection @.>
Cc: Xiaoning Bian @.>; Comment @.>
Subject: Re: [onestruggler/short-intro-reflection] Indentation/Formatting Style (Issue #1)
CAUTION: The Sender of this email is not from within Dalhousie.
Also still, are you intentionally avoiding the standard library?
—
Reply to this email directly, view it on GitHubhttps://github.com/onestruggler/short-intro-reflection/issues/1#issuecomment-2263360567, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE3BG3VYCO6BOTWBU5R25T3ZPJH65AVCNFSM6AAAAABL2QRBIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRTGM3DANJWG4.
You are receiving this because you commented.Message ID: @.***>

Long line is indeed not looking good. I don't want to break it without a cause, I am thinking to break the long ones by assumptions and the conclusion. But not for short ones. E.g
Lemma1 : Nat -> Nat -> Nat -> Nat
===>
Lemma1 :
      Nat ->
      Nat ->
      Nat ->
      Nat
Similarly in the definition of Lemma1.
For comments, emacs' agda-mode has a default line width (probably around 80 characters), I just press Alt+q to auto-wrap my comments. It's not working for code.

From: andrewchawk @.>
Sent: Thursday, August 1, 2024 11:26 PM
To: onestruggler/short-intro-reflection @.>
Cc: Xiaoning Bian @.>; Comment @.>
Subject: Re: [onestruggler/short-intro-reflection] Indentation/Formatting Style (Issue #1)
CAUTION: The Sender of this email is not from within Dalhousie.
Also, do you have a preferred maximum line length?
Also, do you have oppose breaking lines after the equals sign? An example is as follows:
example =
reallyReallyReallyReallyReallyReallyYouGetItLongDefinition
—
Reply to this email directly, view it on GitHubhttps://github.com/onestruggler/short-intro-reflection/issues/1#issuecomment-2263353066, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE3BG3QLTDAGRIXLKGQQGDTZPJHSTAVCNFSM6AAAAABL2QRBIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRTGM2TGMBWGY.
You are receiving this because you commented.Message ID: @.***>


Give help command

Maybe rename this to "assist."

Maybe rename this to "assist."

It's good practice for bots to also display their help command upon being tagged by a user. Shouldn't be that bad to implement.

It's good practice for bots to also display their help command upon being tagged by a user. Shouldn't be that bad to implement.

This is this command -> https://github.com/xbony2/ESAEBSAD2/blob/master/src/main/groovy/xbony2/esaebsad2/commands/GiveHelpCommand.groovy
Also maybe.

This is this command -> https://github.com/xbony2/ESAEBSAD2/blob/master/src/main/groovy/xbony2/esaebsad2/commands/GiveHelpCommand.groovy
Also maybe.


Change feed processor with lease container partition key other than /id

Is your feature request related to a problem? Please describe.
The change feed processor requires lease container with specific partition name. This requires me to provision a dedicated container using at least 100 RU even in my dev/test environments.
Describe the solution you'd like
Allow to use arbitrary partitioned lease container.

The lease container is to be used exclusively by the Change Feed Processor, not shared with other load or operations. It can be shared with multiple Change Feed Processor instances, but its main goal is to be the state store for the Processor.
The Change Feed Processor needs to know the Partition Key to execute its operations and hence the requirement to be partitioned by /id. If you provided a container with a different Partition Key, then it could interfere with the operations and schema the Change Feed Processor uses (for example, creating hot partitions if the PK is an attribute not used by CFP or generating failures in the queries or operations if the PK matches one of the attributes used by the lease schema).
Reusing the same container to do operations can generate data corruption (deleting or altering leases while the Change Feed Processor instances are running) so it is not recommended.
There are no plans currently to provide support for custom partitioned containers.

Closing as the question has been answered, no current plans to support a custom partitioning schema.
Pull model without the lease container requirement is in the works, see https://github.com/Azure/azure-cosmos-dotnet-v3/issues/831


[BBU] Business Model #2: Minimum Quorum and Influence on Membership costs

Problem/Concern
To cover just the minimum operational expense as finalized by the consortium, we need a minimum quorum of Stewards willing to pay the set membership costs.
How are Steward membership costs affected if the minimum quorum is not met ?

In general this analysis needs to be an ongoing task of the Finance Committee.
Initially, given budgetary assumptions, the minimum requirements of Stewards is outlined here.
@aratibaliga if this is adequate pls close issue.

Triaged on 5/21 via GFWG Weekly Scrum.