Introduce platform-specific FileDescriptor::Handle

In #10706 we extracted all system-specifics out of the generic Socket API. Part of that was the introduction of Socket::Handle which is an abstract type for representing a socket handle to the respective operating system.
We should do the same thing for IO::FileDescriptor and introduce a similar Handle type.
On Windows, we're actually using C file descriptors (LibC::Int) instead of OS handles (LibC::HANDLE). It's possible to gain one from the other via _open_osfhandle and _get_osfhandle. But that's a lot of extra juggling when the APIs acutally all operate on OS handles.
This was also previously mentioned in #14316:

Ideally we could replace the type of fd on Windows entirely, similar to how Socket#fd returns a LibC::HANDLE, in which case we could also drop _close / _dup2 / _get_osfhandle / _open_osfhandle. This isn't possible since IO::FileDescriptor#fd is public.

I do think it's actually possible to change this. The return type of IO::FileDescriptor#fd is Int and the documentation states the return type's size is platform-specific. So we should be good. LibC::HANDLE is a void pointer. We can return that (maybe casted to int) without breaking any promises.
I'd be fine with breaking the return type on Windows though (i.e. return LibC::HANDLE directly), because it's not a stable supported platform yet. And I'd expect minimal impact from such a change.

For the record, https://github.com/microsoft/win32metadata declares HANDLE to be an alias for UIntPtr rather than Void*, so maybe HANDLEs are not supposed to be pointers in the first place even if the Windows SDK header says so (this in turn could affect GC behavior, see #14107)

Yeah, I was wondering about that as well. It seems the fun bindings are using HANDLE in some places where the actual type should be UIntPtr.
Also we cannot put LibC::HANDLE in an Atomic (for @volatile_fd), so we actually need to store it as an integer type.

@HertzDevil I'm not sure if #14501 fully resolves this.
There are a couple more places in the API where FileDescriptor::Handle should (probably) be used:

Crystal::System::File.mktemp
Crystal::System::File.fchown
IO::FileDescriptor#initialize, .new

I wouldn't worry about fchown as it's unlikely to be implemented


What's the difference between 'real_agents/plugins_agent/plugin_prompt.py' and 'real_agents/plugins_agent/api_calling/prompt.py' ?

I noticed that both prompts are used in the chat_plugin.py, but I didn't understand the different usage between them since they both required the LLM to generate selected plugin and input json.

Hi @jayden222 ! Good Question!
Actually, the agent has some kind of hierarchy architecture.
The prompt in real_agents/plugins_agent/plugin_prompt.py is the general prompt prepared for the Plugin Agent.
Equipped with the plugin_prompt, the agent will thus be able to call the plugins via certain format.
(👆actually like a task assigner, will decide when to call the plugin, and which plugin to call)
Meanwhile, the plugin is also driven by an LLM, which should handle and decide issues like: whether the returned results of API provider are satisfactory
The prompt in real_agents/plugins_agent/api_calling/prompt.py is thus to prompt another LLM to handle this single API calling.
(👆actually like a task assignee, will work on the specific API calling)

Yes! That's the core problem, in academics we can it decomposition of questions. In a more fashion way, we can it high-level tasks and low-level tasks in a tool-usage agent.


Join Dev Nation?? Closed?

Hey How You doing,
Did you close down the discord Join Dev Nation?? I cannot log in for a long time
https://github.com/Megabyte918/MultiOgar-Edited/issues/1153

Dev nation has been shut down.

NOTE: Multiogar-Edited it not related to Dev-Nation so please do not create issues about it here.

@FantasyIsBae  I see thanks for letting me know,
what a shame was pretty good I hope you open it again in the future

🤔


legacy render on nixos

hi i was on arch and now I switched to nixos
on arch there was a package called hypeland legacy render
and i had to install that for hypeland to work
but there is no such package on nixos
how can i install hyprland on my legacy bios system running nixos

Not an expert here but as long as you don't have this on /etc/environment, It should default to the legacy OpenGL renderer.
WLR_RENDERER=vulkan

I also use the OpenGL renderer because my 2º GPU do not support the vulkan instructions necessary for the vulkan renderer. The renderer is by the way part of wlroots, not hyprland, if I'm not mistaken.

thanks I'll try it and see if it solves my problem.

that env var is ignored, I don't know what you are on about, but placebo is one hell of a drug

@fufexan for nix

You need an override. Set in your modules
package = pkgs.hyprland.override { legacyRenderer = true; }

Forgot to document it in the wiki.

Done in https://github.com/hyprwm/hyprland-wiki/commit/3c82b489abc9eae201be2e8e9dd34596de75ce45


how to remove caddy service completely from linux

1. What version of Caddy are you using (caddy -version)?
2. What are you trying to do?
3. What is your entire Caddyfile?
(paste Caddyfile here)

4.
5. Please paste any relevant HTTP request(s) here.

6. What did you expect to see?
7. What did you see instead (give full error messages and/or log)?
8. How can someone who is starting from scratch reproduce the bug as minimally as possible?

We need more information from you!
P. S. : You should ask this question at https://caddy.community


Resuming saving state

What is the right way to resume training?
Let's say I want to fine-tune PSNR model, and set
"pretrain_model_G": "../experiments/pretrained_models/RRDB_PSNR_x4.pth"
in train_ESRGAN.json
So next time if I want to continue, should I load the same .json file with pretrain_model_G set up to PSNR again, or should I remove this line and only tell it to do
"resume_state": "../experiments/model/training_state/18000.state" ?
I am afrain it can start fine-tuning PSNR from the scratch if I leave it.

Let's say, after training you have got :
experiments/model/training_state/18000.state
experiments/models/180000_G.pth

If you want to resume from this 180000 state, you need to  load the same .json file
and you are supposed to set two options:
"pretrain_model_G": "../experiments/models/180000_G.pth"
"resume_state": "../experiments/model/training_state/18000.state"

In other words, you need to set these two options together and make sure they match each other (both for 180000th iteration).
I think it can be improved. Later I will improve it by only setting the resume_state.

Very interesting! So we have to set it to, basically "Fine tune incomplete model G by using saved state with the same name" to properly continue.
This means me and many people on Game_Upscale subreddit did it wrong all along.
And another question if you don't mind: for me, descreasing batch_size on both Windows and Linux increases speed dramatically, setting it from default 16 to 1 makes first 200 iter go from ~4 minutes to ~50 seconds.
Wasn't it supposed to make it faster with larger batch sizes?

Thank you! What is the right niter, lr_gain, lr_steps and other values for different batch_sizes options? I suppose default ones (500 000 iterations with 50000, 100000, 200000, 300000 steps) in train_ESRGAN.json are set up for batch_size 16.

The current setting is for batch size 16. I have not tried other settings. Usually, with a larger batch size, we can set a larger learning rate and fewer iterations.
BTW, if you want to fine-tune for other datasets, you can fine-tuen directly from ESRGAN, which takes less time. You could use the pretrained G and D (download). And set learning rate from 1e-4 (or smaller), with much less iterations.

Wow, thanks a lot. This would be helpful.
I will test this ASAP, but I usually use PSNR model for initial fine-tuning, because my dataset (textures) is very different from DIV2K or any others and they work better with PSNR. But maybe fine-tuning ESRGAN will make it better
As far as I understand, I need to add pretrain_model_D line to .json file.

This model is the same model as that in ESRGAN repo (the G), only providing the extra D.
You can try fine-tuning from ESRGAN, maybe will be better and faster.
Yes, you also need to add pretrain_model_D

"pretrain_model_G": "../experiments/models/180000_G.pth" "resume_state": "../experiments/model/training_state/18000.state"

if I set

"pretrain_model_G": null

"resume_state":"../experiments/model/training_state/18000.state"
Is it the same as starting again?

@HengPiPi
I think you are right.
(@SirIzumi, sorry that I made mistakes in the previous response)  I have checked the codes again.  If you want to resume, you can just set the resume_state option.
The codes will automatically look for the corresponding pretrain_model_G.
The codes are here:
https://github.com/xinntao/BasicSR/blob/4f3889667b5bcab16711c69d75db9754945ff212/codes/options/options.py#L106-L120

Thank you for an excellently written code base.
Im here because Im trying to continue training using datasets with different statistics than the ones you trained on.Most yaml parameters were straightforwards to decipher by following your code, but i - like sirzizumi was having issues with updating the resume point. As a general point, comments on the .yaml parameters would be useful.

@xkunglu Thanks. I will write a wiki later.

Thank!
After deleting the lines, training began.
How can I interrupt my workout and resume?
Where are the training_state files stored or where can I specify a directory for them?

@wolfam0108 The training_state files are stored in your experiment folder.
For resuming, you should use the same exp-name as the interrupt one and modify the resume_state field in the yml option file to pointing to the  training_state file~

Do training_state files appear immediately after starting a workout?
I have a folder created with the name of the project, but the training_state folder is empty.

@vova0108
The training state will be saved when saving models, which could be set by the key save_checkpoint_freq: !!float 5e3 in the yml option file.

Is it enough !!float 5e3? Or I need to change this? Is there an example?

@vova0108
!!float 5e3 is an example, which means that after 5000 iterations, the program will save the checkpoint and training state.
You can change it accordingly.


Update typings & packages for Angular 2 final, .gitignore compiled js

Haven't tested these changes, but considering there are no breaking changes from RC 6 -> 2.0 final that should affect the code, this should be fine.

Thank you


Misc bugs after ceph-tests update  [JIRA: RCS-159]

[x] Unnecessary NextMarker
[x] CS should respond 'Not Found' if bucket is not existed. (test)
[ ] Support non-canned ACL. (test)
[ ] CS should respond 'InvalidAccessKeyId' if non-existent key id is sent. (test)
[ ] CS should responds 'SignatureDoesNotMatch' if a signature is not match. (test)
[x]  Copy API should copy user meta data.
[ ] CS should refuse a empty request on multipart completion.
[x] CS should respond NoSuchUpload. (test)

(Copied from https://github.com/basho/riak_cs/pull/1096#issuecomment-84247404)

Updated with the fixes by #1212

Fixed by #1212 ?

Unnecessary NextMarker
CS should respond 'Not Found' if bucket is not existed. (test)
Copy API should copy user meta data.
CS should respond NoSuchUpload. (test)

Yes. I added checkboxes in the description and checked them.


GPU plugin wont turn on (Mac M1)

The GPU plugin keeps turning off on the new M1 macbook
It worked on my other intel macbook pro

The GPU works fine through Rosetta from what we've seen and tested.
Native Arm64 is unsupported at the moment.
This issue is incredibly barebones; use the issue template.
Related to #12959

The GPU works fine through Rosetta from what we've seen and tested.
Native Arm64 is unsupported at the moment.
This issue is incredibly barebones; use the issue template.
Related to #12959

I followed everything in your guide and it does not work. I turn it on and it turns itself off

I followed everything in your guide and it does not work. I turn it on and it turns itself off

Not my guide
Not officially supported

Not my guide
Not officially supported

As stated on such tutorial, the gpu plugin it not functional on M1 macs.

As stated on such tutorial, the gpu plugin it not functional on M1 macs.

duplicate #12959

duplicate #12959

As stated on said tutorial, the gpu plugin it not functional on M1 macs.

did not see, sorry. when should we see a fix? does this have anything to do with compute shaders?

As stated on said tutorial, the gpu plugin it not functional on M1 macs.

did not see, sorry. when should we see a fix? does this have anything to do with compute shaders?


Add highlights 2022-11-24

What does this PR do?
Adds weekly highlights. Please add content as commits or suggestions and approve once it looks goot to you.

nothing from honeybadger this week


Add unit tests for SeparatorActions

Summary
Related to #264. Adds test for SeparatorAction.
Implementation details
Adds unit tests.
How to validate this change
If the test looks like it makes sense and it is passing CI no further testing needed.

:green_heart: Build Succeeded

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

Expand to view the summary

Build stats

Start Time: 2023-02-01T03:15:54.880+0000

Duration: 3 min 54 sec

:robot: GitHub comments
Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

/test all : Re-trigger the build for all the stages.


Faeries won't spawn

Genera version 1.0.7
Forge version 2611
I started a new world and planted some nightshade in a forest biome but no faeries are spawning. I went back and downgraded to 1.0.6 and had no issues with faeries spawning. I don't see any sort of errors in the log so I'm not sure what's going wrong.

The underlying mechanism that spawns Faeries was changed quite a bit in 1.0.7 I noticed that the nightshade spawned them at a slower rate, but they were spawning for me in testing. I'll look into it. Thanks.

At what rate should I be expecting faeries to spawn in 1.0.7? I had a field of about a dozen nightshade (just to test) and after 5 minutes, I still wasn't seeing any.

Yeah, that's definitely too slow. I got some after two or so minutes. I'm not home yet, but I will be soon. I'm on a trip until Sunday, so I may have a little time to fix this, but I might not get it done until Sunday.

That's understandable. :)
If it helps any, I created a new modpack to test that only contained Genera and Forge 2611 to make sure the issue wasn't a mod conflict. I also tried switching to Forge 2619 and 2587 to see if that made a difference. Unfortunately there still aren't any faeries spawning in any of the situations.

Thanks for putting the effort in. I'll fix it as soon as I can.

Thanks for the update!

You mentioned other flowers...are burdocks suppose to spawn faeries as well? Because I did another test with just Genera and Forge 2611 and I couldn't get faeries to spawn that way either (after waiting 10 minutes).

Really? That's odd. They spawn pretty regularly for me. I'll look into it. Thanks for all the testing!

I feel like I'm doing something wrong here since you're not getting the same results as me, but I can't figure out what. :P
I don't know if this could have anything to do with it but I checked the config/genera folder and it contains /faerie and /rituals but they're both empty. Is something suppose to be in there?

No, those are custom user-provided Faeries and rituals. Nothing should be in them by default. If the plant is fully grown (stage 2), then should spawn. It's weird.

I'm having the same issue. I've planted over a hundred nightshade plants with Genera-1.12.2-1.0.7 on a clean install of minecraft 1.12.2 and forge 1.12.2-<IP_ADDRESS>11 with no faerie spawns. I've tried switching to the Twitch client, differing light levels, waiting long periods of time, and not using bonemeal. After all that, I downgraded to the 1.12.2-1.0.6 version and went back to my Nightshade farm world. I got a message saying that the genera:faerie_registry was missing in this save and that continuing would remove that registry. Once I got in, I found enough Faeries in my Nightshade farm to completely fill the hotbar in a few seconds.
I'm also having rendering issues with the Faeries which may be related but I think I'll make a new issue for that.

The rendering issues are known. Working on them. I don't know what's wrong with spawning, but I think it'll likely be fixed with the next update. I've cleaned a lot.

I know you know there are rendering issues, but from what I've read they seem pretty basic. As far as I can tell, what I'm seeing hasn't been addressed:

As you can see, there is a lot of stuttering movement with the faeries and there is the fact of how they show enmasse when I'm at a certain distance but when I'm closer they almost completely vanish.

I should mention that my graphics card is old (AMD Radeon HD 6900 Series) and the rest of my computer ain't the greatest either.


Update PULL_REQUEST_TEMPLATE.md

Suggestion for PR template. You can view the result here:
luizcmarin/issues-prs#23
is here:
https://github.com/luizcmarin/issues-prs/blob/main/.github/PULL_REQUEST_TEMPLATE.md

The more complicated it is, the more likely you are to give up writing, I agree. Just a little aesthetics I think would be appropriate.
This is just a meeting of ideas. It needs to be simplified. I await suggestions.

I think, currently PR template is enough, it good for review. Not need more complicate template.

I think, currently PR template is enough, it good for review. Not need more complicate template.

The more complicated it is, the more likely you are to give up writing, I agree. Just a little aesthetics I think would be appropriate.
This is just a meeting of ideas. It needs to be simplified. I await suggestions.


TRAIN_FULL.md Part 3, Step 4: not in the list

Following the instructions, I tried the command:
python -m tools.train_net_reg_qe \
    --config-file configs/COCO-detection/cascade_ubbr_R_50_FPN_ft_all_30shot_aug_ftmore.yaml \
    --num-gpus 2 \
    --opts \
    --resume \
    --eval-only \
    DATASETS.DT_PATH "('checkpoints/coco/faster_rcnn/faster_rcnn_R_50_FPN_ft_all_30shot_aug_ftmore_dropout/inference/coco_instances_trainval_results_score_max10_min08_full_all_dino_vits8_10_cosine.json',)" \
    MODEL.META_ARCHITECTURE "GeneralizedRCNNRegOnly" \
    QUERY_EXPAND.ENABLED True

The difference from the original command of Part 3, Step 4 in TRAIN_FULL.md is "--num-gpus 2".
Then, I got the following error:
Traceback (most recent call last):
  File "/opt/conda/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/opt/conda/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/user/.vscode-server/extensions/ms-python.python-2022.10.1/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py", line 39, in <module>
    cli.main()
  File "/home/user/.vscode-server/extensions/ms-python.python-2022.10.1/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py", line 430, in main
    run()
  File "/home/user/.vscode-server/extensions/ms-python.python-2022.10.1/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py", line 317, in run_module
    run_module_as_main(options.target, alter_argv=True)
  File "/home/user/.vscode-server/extensions/ms-python.python-2022.10.1/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 238, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/user/.vscode-server/extensions/ms-python.python-2022.10.1/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 124, in _run_code
    exec(code, run_globals)
  File "/misc/fazz-face/work/bessho/lvc/tools/train_net_reg_qe.py", line 275, in <module>
    launch(
  File "/misc/fazz-face/work/bessho/lvc/detectron2/engine/launch.py", line 55, in launch
    mp.spawn(
  File "/home/user/.local/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 199, in spawn
    return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
  File "/home/user/.local/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 157, in start_processes
    while not context.join():
  File "/home/user/.local/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 118, in join
    raise Exception(msg)
Exception:

-- Process 1 terminated with the following error:
Traceback (most recent call last):
  File "/home/user/.local/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 19, in _wrap
    fn(i, *args)
  File "/misc/fazz-face/work/bessho/lvc/detectron2/engine/launch.py", line 94, in _distributed_worker
    main_func(*args)
  File "/misc/fazz-face/work/bessho/lvc/tools/train_net_reg_qe.py", line 247, in main
    res = Trainer.test(cfg, model)
  File "/misc/fazz-face/work/bessho/lvc/tools/train_net_reg_qe.py", line 129, in test
    data_loader = cls.build_test_loader(cfg, dataset_name)
  File "/misc/fazz-face/work/bessho/lvc/tools/train_net_reg_qe.py", line 216, in build_test_loader
    return build_detection_test_loader(cfg, dataset_name, mapper=DatasetMapperIgnore(cfg,
  File "/misc/fazz-face/work/bessho/lvc/lvc/data/build.py", line 320, in build_detection_test_loader
    cfg.DATASETS.PROPOSAL_FILES_TEST[list(cfg.DATASETS.TEST).index(dataset_name)]
ValueError: 'checkpoints/coco/faster_rcnn/faster_rcnn_R_50_FPN_ft_all_30shot_aug_ftmore_dropout/inference/coco_instances_trainval_results_score_max10_min08_full_all_dino_vits8_10_cosine.json' is not in list

I failed to find how to solve this error ...
I’d appreciate your help.

This needed the "MODEL.LOAD_PROPOSALS False" in the command line args. Please see the latest commit


Slotted Content

https://github.com/brainly/html-sketchapp/issues/133
Before and After

Changes that have been made:

Before the collections of layers, check if a slot and make the assignedNodes children of the slot
Remove custom element layer with else

@jholt1 any luck with an alternative solution to the problem? I am about to push a new version of html-sketchapp, I thought that maybe you would like to push your PR as well. Let me know if I can help anyhow 🙂

@jholt1 I guess we can close the PR for now, if anything new comes up, let us know.


Kore-AI Support

Feature Request
Description of Problem:
Kore-AI provides a very easy way of creating conversational bots.  We have a requirement to produce a bridge between this and symphony.

Released in 5.59.3

Released in 5.59.3


add ci checks

there weren't any CI checks before, so i added some for installing deps, building, and linting

will wait to take this out of draft state once #14 is merged (with the upgraded eslint* deps)


Textİnput rtl(peraian,arabic) bugs

Software Versions

Python:
OS:
Kivy:
Kivy installation method:

Describe the bug
A clear and concise description of what the bug is.
The issue tracker is a tool to address bugs only (search known bugs: https://git.io/vM1iE).
Please use the #support Discord channel at https://chat.kivy.org/ or Stack Overflow for
support questions, more information at https://git.io/vM1yQ.
Expected behavior
A clear and concise description of what you expected to happen.
To Reproduce
A short, runnable example that reproduces the issue with latest kivy master.
Code and Logs and screenshots
// REPLACE ME: Paste your code and logs here, a template can be found at https://git.io/vM1id.

Additional context
Add any other context about the problem here.

There is insufficient information to know what the bug is. Closing


BUG_FIXED/AUTH/3-Only-allow-registered-and-logged-in-people-to-submit…

BUG_FIXED?AUTH/3-Only-allow-registered-and-logged-in-people-to-submit-suggstions

This is getting better, but still a couple of issues:

You haven't implemented the /api/getUser or similar endpoint that would return if the user is an admin or not. Merging this feature with the exportGaelicData is not okay, as the latter is a pretty expensive call to make just to obtain if you're an admin or not. Also in your example you would only hide the button in case someone already clicks on it - it should already be hidden, unless the user is an admin

Minor but can be important, don't use the _ as a variable name is you are actually using it. Make sure to rename it to req.

Also don't forget that you can add fixes to this PR by adding new commits to the branch. Please do NOT create a new PR as that will make the entire team fail the exercise!

The comments made here https://github.com/gla6-fp-team1/gaelic-project/pull/52#discussion_r1365465712 are still needed, although at least the code works - albeit it is super insecure.


Errors after pairing with google home

Hi,
We have a bridge device that we can successfuly pair and control from Apple home.
When repeating the same process with google home, the pairing process is shown completed successfully in Google Home and the bridged devices appear in the app but no connection is established to the devices.
We have the following errors in the log :
[2m2024-10-04 08:56:48.942 ERROR  [0;1;90mExchangeManager      [0;31mCannot find a session for ID 40345
[2m2024-10-04 08:56:56.836 ERROR  [0;1;90mSubscriptionHandler  [0;31mError sending subscription update message (error count=1): RetransmissionLimitReachedError
[2m2024-10-04 08:57:58.661 ERROR  [0;1;90mExchangeManager      [0;31mThe previous message has not been acked yet, cannot send a new message.
[2m2024-10-04 09:00:02.270 ERROR  [0;1;90mSubscriptionHandler  [0;31mSending update failed 3 times in a row, canceling subscription<PHONE_NUMBER> and let controller subscribe again.

Attached the complete error log file of the server.
server-error.log
Google home is on latest version and successfully controlling other matter devices.
What could be the issue ?
Thank you in advance !

We also have this error after repeating the pairing with apple home :
1|server   | 2024-10-04 10:07:46.887 ERROR  CaseServer           An error occurred during the commissioning Fabric cannot be found from destinationId
Although devices can still be controlled from apple home.

Ok I think we need to analyze this in steps ;-)
First of all "Cannot find a session for ID 40345" can always happen directly after a device restart when the controller still thinks the old sessions are still existing (but they are removed on restart). Usually a controller tries to establish a new session after some of these tries.
So this error most likely related to a restart and not to a commisioning process.
So ideally set the loglevel to debug and try this again.
For commissioning: If you use Google Home on iOS then you currently need to register the device as test device in the Google console else Google commissioning fails. No idea why they added this limitation to iOS now after lifting it on Android some time ago. See https://github.com/project-chip/matter.js/blob/main/docs/ECOSYSTEMS.md#google-home-ecosystem
So with Debug log I think I can have a deeper look what exactly happens

Hi Apollon77,
Thank you for your answer.
When testing pairing on Google Home, it is done using a Android tablet, not from IOS.
I tried to repeat pairing but it did not suceed this time.
See attached the full logs.
server-error.log
server-out.log
Thanks a lot.
Best Regards,

Ok ... first of all ... please tell me what I see in the log?
I see a running subscription 135936054 which is running "all the time" ... then I see a new device being initialized on port 5540 and announced.
If I should guess then it would be that you startup multiple devices and use the same port 5540 ? (I can not verify because I do not see details for that running subscription).
But if this is the case then honestly this can not work because then you mix up stuff.
So you either need to correctly stop and kill the running device before starting new OR make sure that you only have one device listening to the same port number, else exactly such things happen as you describe.
On the other side the commisioning process in the log stopped at "csrRequest" which is commonly the case when google verifies that the vendor/product Id matches to the things setup in the dev console and this does not match. So then I would repeat the question again if you read the above mentioned docs and did this registration? Maybe it then magically works? ;-)

Great to hear. I still do not understand in which cases Google requires this registration and when not :-(

Ok log show the following. There seems to be an active fabric 1 already. What's this? Because it was not covered by the logs? The admin subject used for commissioning is the same as for the following commissioning which is ok when it is google app and hub ... but as said ... questions because seems incomplete log.
Also what is 2a02:a03f:aafb:6600:a5e8:41fe:e772:2989 ? Just to know the context
The log then shows commissioning of a second fabric #2 and all is fine until addNoc. Then also the reconnection to the operational device happens but then instead of sending "commissioningComplete" message it does some read requests to gather details about the device.
This read started 11:11:02.433 and needed till 11:11:09.408 to collect the data ... that's 7 seconds?! What you use as device or as storage here? Seems very slow ... normally these are "milliseconds" ...
Interestingly also no resubmissions of the read message came in during this timeframe - which should have been the case anyway irrelevant ... or was your system somehow at 100% and so nothing else happened? because all resubmissions of the original read message came in after we sent the first DataReport starting 11:11:09.425 and then with 10ms delays which normally are longer backoffs.
So it seems that something completely blocked your system including incoming MDNS while the data were collected for the read.
So in the end it was a read timeout for google and thats why it was stuck there.
Se yes we have planned to optimize reads to send out data already while collecting them ... but in fact no idea if this would have helped that much because your system really seemed to were blocked a lot by whatever ... Sooooo ... whats up there -  that would be your homework gg ;-)

PS: If you like ... join the Discord I created for Matter Integrators ... there we can also chat more directly then here via Github issues


docs: Simplify Typescript instructions

Remove the /support in the import instructions removes the need to modify the tsconfig.json file.
While following the instructions, I noticed the package.json has a main entry that points to the support.js file while the types points to the index.d.ts file. Removing the /support from the instructions removes the need to modify the "types" in the tsconfig.json file. It makes everything simpler.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


fix(producer): accumulate more overflowed requests before logging

To avoid excessive logging during high produce phases.  Otherwise, we were logging every overflowed batch.

Didn't spot other logs that might be triggered on a per-batch or per-message basis in the producer.
The most uncertain is this log, but that should be the exception not the usual flow (similar for the consumer and client).

Re-tagged 0.7.1: https://github.com/emqx/pulsar-client-erl/commit/b3fc0de296a9d966971aa34eed5f881eab8e4280


Release 1.7 and deploy to PyPi

With the latest commits fixing the build for Python 3.8, I think it would be worth releasing 1.7 and deploying it to PyPi :innocent:.

Done, please test

Working now with 1.7 from PyPi (note that you should probably tag 1.7 on this git repo as well).
Thanks a lot! :tada:


Model query sort by timeuuid field

I have a model with the following attribute:
id: {
  type: 'string',
  autoIncrement: true,
  primaryKey: true
}

The string id translates into timeuuid on cassandra side. However when trying to query the table sorting by id:
Entity2
  .find()
  .sort({id: 'desc'})
  .exec(function cb(err, ents) { ... });

the entities do not arrive in the normal order, and this can be seen by checking the createdAt column, which I have not disabled from the model.
I know that in cql in order to make comparisons between timeuuid fields one could use 'dateof' function, which extracts the timestamp from a timeuuid. Any idea if I am doing something wrong in my query or if the functionality I am trying to achieve is / will be supported in sails-cassandra?

sort() is not supported by sails-cassandra as indicated here and it is likely will never be supported. Cassandra is NOT RELATIONAL DATABASE and records can only be sorted in CLUSTERING ORDER which is defined by underlying data model (also see here). So having sorts like in relational database is not possible.


[Prototype]: Add button to open demos in Xanadu Cloud

This is a prototype PR to add a button at the top of each demo that links to the corresponding notebook version of the demo in Xanadu Cloud.
There is no need to review at this stage.

Closing this PR because the build is no longer working.


[BUG] save/load checkpoint in zero3 fails to preserve frozen weights

Describe the bug
I was scratching my head on why I wasn't getting on resume the same weights as what was going in during model save.
The problem stems from having some weights that are frozen. The checkpoint saves only optimizer states which don't have frozen weights in it! so those weights are lost.
So when we resume - all the frozen weights aren't there and remain random. This would be extremely subtle to catch if only a few weights are frozen.
I validated that if I unfreeze everything, the resume works just fine - what goes in - it comes out correctly
so basically we need to figure out what to do with frozen weights, so that they survive resume.
Using stage3_gather_16bit_weights_on_model_save isn't an option for LLM. And even if there was enough cpu memory it'd be extremely inefficient if needing to save checkpoints frequently during training.
@tjruwase

While at it we need to raise priority for solving https://github.com/microsoft/DeepSpeed/issues/1971 since it again is a show stopper for using ZeRO3 for LLM training.

TODOs

Fix tests/unit/checkpoint/common.py::compare_model_states
-> params_to_fetch = [p for p in loaded_model.params()+trained_model.params() if p.ds_status == NOT_AVAIL]
with Gather(params_to_fetch):
for x,y in zip(loaded_model.params(), trained_model.params()):

Flush z3 cache in following cases

After training
After ds.init()

Frozen weight tests
-> Create 2 models with 1 frozen weight
-> test_load_module_only
-> test full deepspeed state

Checkpointing frozen weights
-> Similar to param_shapes in module checkpoint
-> Save param with requires_grad==False into module.state_dict
-> _get_zero_param_shapes -> _get_zero_param_ds_tensor: Refactoring to generalize
-> Add frozen_param_groups to zero 1/2/3 optimizer state, mirror self.fp16_groups

Update zero_to_fp32.py to recover frozen weights.

Hi @stas00 I am thinking about using ZeRO3 for training LoRA method in peft library from Huggingface. Since LoRA freezes the original model and adds an additional matrix on top of it, could this issue create a problem while training LoRA? Thanks

I shouldn't impact training itself.
This issue is about saving/loading checkpoint if you are not using the "stage3_gather_16bit_weights_on_model_save": true, setting. It's possible to work around those, but this is not trivial.

My current solution to save zero3 weights:
    from deepspeed.utils import safe_get_full_fp32_param
    output_state_dict = {
        k: safe_get_full_fp32_param(v).cpu() for k, v in model.named_parameters()
    }

    if get_local_rank() != 0:
        return

    torch.save(output_state_dict, os.path.join(save_directory, WEIGHTS_NAME))

@bigeagle, @stas00, apologies for the delay on this. There should be some progress here by next week.

I am using deepspeed_engine.save_checkpoint and deepspeed_engine.load_checkpoint to save and load models. Is it wrong? Also, I am not using ZeRO3 but ZeRO2 because I am getting some error of 'Index out of bounds` in ZeRO3

I shouldn't impact training itself.
This issue is about saving/loading checkpoint if you are not using the "stage3_gather_16bit_weights_on_model_save": true, setting. It's possible to work around those, but this is not trivial.

Thanks for your response. I am using deepspeed_engine.save_checkpoint and deepspeed_engine.load_checkpoint to save and load models. Is it wrong? Also, I am not using ZeRO3 but ZeRO2 because I am getting some error of 'Index out of bounds` in ZeRO3

Thanks for your response. I am using deepspeed_engine.save_checkpoint and deepspeed_engine.load_checkpoint to save and load models. Is it wrong?

That is the correct way in general. Except in the case of frozen weights, it won't save/restore frozen weights. So until this bug is fixed on resume you need to restore the frozen weights from the original ones (as they have never changed). Once it's fixed then it'll work w/o any workarounds.

Also, I am not using ZeRO3 but ZeRO2 because I am getting some error of Index out of bounds in ZeRO3

Please file a new issue about it, including a full traceback. Most of the time this type of error comes a mismatch of embedding size and token ids, but if it works with Z2 then it's probably something else.

Hi @stas00 I am thinking about using ZeRO3 for training LoRA method in peft library from Huggingface. Since LoRA freezes the original model and adds an additional matrix on top of it, could this issue create a problem while training LoRA? Thanks

So is there a way to not save the frozen weights? I am using LoRA and the huge model got saved.

@richardwth, can you please add more details of the problem? It might be better to create a new ticket since it seems different from this one. Thanks!


chore(release): v0.13.0 🎉

:robot: I have created a release beep boop
0.13.0 (2023-08-07)
Features

manipulation: add getUniqueIdentifierSlug method (896864b)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ehmpathy/domain-objects/releases/tag/v0.13.0 :sunflower:


Link to Temporal Tables documentation under "See Also"

You should probably include a link to Temporal Tables under the "See Also" section.
https://docs.microsoft.com/en-us/sql/relational-databases/tables/temporal-tables

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

ID: 015ca28b-f0f3-c5b0-b2b6-b0a546fd4e17
Version Independent ID: 1d340e3e-6e9e-1463-e9be-16e7d5a8062a
Content: What is change data capture (CDC)? - SQL Server
Content Source: docs/relational-databases/track-changes/about-change-data-capture-sql-server.md
Product: sql
Technology: ****
GitHub Login: @MikeRayMSFT
Microsoft Alias: mikeray

@HarryDriscollTWE -- Harry, thank you for your suggestion.  I am updating this article.


Add cmd arguments

This allows 0 or 1 arguments to :Neogit, so :Neogit retains default behaviour but :Neogit floating now uses a floating window

Could you change the syntax from Neogit floating to Neogit kind=floating? Simple parsing is enough, but we need the syntax change to make future subcommands easier to distinguish.

Sure!

How would it work though, I think you'd have to make neogit.status.create() take a table

For now just pass in the value of kind directly

Can I do the parsing in the lua function? Vimscript regex is very hard

https://user-images.githubusercontent.com/36493671/112026931-b54e6d00-8b5c-11eb-84ca-b914deaebcc7.mp4

(I did the parsing in the lua function, I couldn't figure out how to match things in vimscript)

Can I do the parsing in the lua function? Vim regex is very hard

Parsing in lua is 100% prefered.
Obviously the name I chose for the function is just a placeholder and you can change it to whatever you think fits best.


[Q] How can I inject the NIT table and the AIT table into a TS that does not contain these tables?

Hi,
I want to add these two tables (NIT and AIT) in a transport stream that does not contain these tables.  And I have two xml files with default tables. I have been trying with the plugins -P nit and -P inject but I have not succeeded.
Can you help me? Thanks in advance and best regards.

The most common reason for tables not being injected is the absence of "free space" (aka stuffing, aka null packets) in the TS. Please read the reference doc for tsp in the user's guide, especially the section "modifying, inserting and deleting packets".

Oh yes, that was my problem, the absence of null packets in the ts. Thanks!
I was able to inject the NIT table without any problems with -P inject. Now, what bitrate and repetition interval values are suitable for the AIT table?
Best regards

Now, what bitrate and repetition interval values are suitable for the AIT table?

Did you read the various DVB implementation guidelines?

Resolved! Thank you very much!


Reconcile changes for Tunnel Spec

Currently if the Tunnel spec changes (image, caPool, etc), the corresponding resources are not updated unless they are manually deleted and left to be recreated. This should be handled by the operator.
Also, when recreating the configMap, the service reconciler should also be triggered to add the services back to it (if delete strategy is used).

Deployment update currently only happens for the size. This should be made generic by calling the deploymentForTunnel for updates as well.


Why is the CA named 'membersrvc'?

Description
Why is the CA named 'membersrvc'? First, the name is long and awkward which means moar unnecessary typing for users/developers (sure, auto-complete, but seriously). Secondly, 'membersrvc' doesn't really describe what this component is. It is a certificate authority (CA). In the documentation, we call it the CA. Why not name it that?
I would propose that we rename that component's image hyperledger/fabric-ca, and the binary fabric-ca. This makes it clear what the component is, and ties it to the 'fabric'.
Describe How to Reproduce
N/A

@hyperledger/fabric-maintainers @smithbk @mastersingh24 thoughts?

the original "naming" of the "block" in the architecture diagram was "membership services" most likely because permissioned networks have "members".  I am agnostic as to what we call it now, although the current implementation is basically a set of CAs

we seem to be very inconsistent in how we refer to this. In many places, it is referred to as the CA.

The fabric-ca is a good suggestion.


pcm-power returns "unsupported processor model (183)"

Running pcm-power returns "Unsupported processor model (183)".
Please see below the full details.
$ sudo pcm-power
 Intel(r) Performance Counter Monitor  (202307-1build1)

 Power Monitoring Utility

=====  Processor information  =====
Linux arch_perfmon flag  : yes
Hybrid processor         : yes
IBRS and IBPB supported  : yes
STIBP supported          : yes
Spec arch caps supported : yes
Max CPUID level          : 32
CPU model number         : 183
Number of logical cores: 24
Number of online logical cores: 24
Threads (logical cores) per physical core: 1 (maybe imprecise due to core offlining/hybrid CPU)
Offlined cores:
Num sockets: 1
Physical cores per socket: 24 (maybe imprecise due to core offlining/hybrid CPU)
Core PMU (perfmon) version: 5
Number of core PMU generic (programmable) counters: 6
Width of generic (programmable) counters: 48 bits
Number of core PMU fixed counters: 3
Width of fixed counters: 48 bits
Nominal core frequency:<PHONE_NUMBER> Hz
IBRS enabled in the kernel   : yes
STIBP enabled in the kernel  : no
The processor is not susceptible to Rogue Data Cache Load: yes
The processor supports enhanced IBRS                     : yes
Package thermal spec power: 55 Watt; Package minimum power: 0 Watt; Package maximum power: 0 Watt;

INFO: Linux perf interface to program uncore PMUs is present

Unsupported processor model (183).
Cleaning up
 Closed perf event handles
 Zeroed uncore PMU registers

$ cat /proc/cpuinfo
model		: 183
model name	: 13th Gen Intel(R) Core(TM) i9-13900HX

$ uname -a
Linux ubuntu 6.5.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 14 14:59:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Can you please tell me if this will be fixed or is any plan to support this CPU?
Thanks
Ionut Balosin

the answer is here: https://github.com/intel/pcm/blob/master/doc/FAQ.md#q5


To configure and maintain mailGraph automatically

Feature added

When testing mailGraph supplying eventId of zero will pick a random problem from Zabbix via API for testing mailGraph - no need anymore to specify a specific eventId.

Relates to #43

Relates to #36 - also maintain composer libraries (add, update, remove)


Add version: JetBrains.Kotlin.Compiler version 1.2.30-eap-47

Pull request has been created with Komac v1.9.1 :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/116315&drop=dogfoodAlpha

@wingetbot waivers Add Validation-Executable-Error


Refactor the 'convertToRender' command

Just closed this PR since its branch name was wrong.
This is the new one https://github.com/Shynixn/AstralEdit/pull/62


Endpoint URL is not constructed properly when using access_token and routes API options

Version

Prismic CLI version (know it by running prismic --version):

Reproduction

Init API using both access_token and routes

What is expected?

A properly constructed URL: https://200629-sms-hoy.cdn.prismic.io/api/v2?access_token=MC5YM3hmbWhNQUFDWUFubTlL.J--_ve-_ve-_vWvvv71UO2dXM--_ve-_ve-_vUrvv70xKgrvv73vv73vv71VBz3vv71MHi0777-977-9&routes=%5B%7B%22type%22%3A%22page%22%2C%22path%22%3A%22%2F%3Auid%22%7D%5D (? then &)
What is actually happening?

401 happens because URL is not constructed properly: https://200629-sms-hoy.cdn.prismic.io/api/v2?access_token=MC5YM3hmbWhNQUFDWUFubTlL.J--_ve-_ve-_vWvvv71UO2dXM--_ve-_ve-_vUrvv70xKgrvv73vv73vv71VBz3vv71MHi0777-977-9?routes=%5B%7B%22type%22%3A%22page%22%2C%22path%22%3A%22%2F%3Auid%22%7D%5D (2 x ?)
Any additionnal information

This is due to the separator function being called with argument url instead of potential updated one: this.url: https://github.com/prismicio/prismic-javascript/blob/v4/src/Api.ts#L29-L35
@arnaudlewis

fixed here: https://github.com/prismicio/prismic-javascript/pull/143/commits/db60da93fbd0dcc61f04a92c856d8d9f92f5cd38


Open SAP Web IDE Full-Stack

Hi,
screenshots are not visible.

@IObert I think you assumed that you can you reuse images from other tutorials -- via specifying path to another tutorial -- but you cannot currently. You'll have to copy images to that folder.

Thanks for reporting @jitendrakansal


test: add cluster readiness script to tests

Description

Release required?

[ ] No release
[ ] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

This provided no benefit, the script passed straight away, yet I see master being updated


Bump qpy version in encoder

Summary
Server side has been updated to use Qiskit 1.0
Details and comments
Fixes #1410

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

1 of 2 (50.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 82.297%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit_ibm_runtime/utils/json.py
1
2
50.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5769

Relevant Lines:
7010

💛  - Coveralls


Profile app link

When signing in and updating profile, link to app goes away:

Confused users are confused.

This is because we disabled everything @hamhands

Right. So I guess we should upgrade the stop gap fix to a full fix

? What does that mean? I think we might want to add the app links back in there.

@bsmithgall I mean commenting out all app links in the global nav bar always struck me as a stop gap rather than a real fix.

What's the plan here, it is awkward to try to move between apps now. Do we have any thoughts on turning something back on for this @shellicious @hamhands ?

@bsmithgall the original impetus for removing app links was when scout was launched. I don't know what @shellicious thinks, but in my mind I think there at minimum needs to be some way to get back to the app the user came from when editing profile info or signing up for an account. That's currently pretty difficult to do, right?

Yes.

We originally had a way to navigate between the apps, but that is gone now.

Other option is that we turn all app links back on, but that would a) muddy up the already fairly full nav bar and b) possibly confuse users as @rileystewart originally noted

Ok, I think that's the right way to do it, thoughts @shellicious?

at one point, we had links in a drop down. Is that what you're suggesting bringing back, @hamhands? I'm in favor of that. I was just thinking yesterday that navigating between apps is an annoyance.

@hamhands do you want to re-add them?

While you are at it, you can probably fix #490

@bsmithgall :+1:


Reduce maximum sugarscape agent population to match 0.xml

This fixes the visualisation for the included example, and likely also behaviour.
The simpler of 2 solutions for #22.
The alternative of fixing the issue to allow a dynamic population sizes at run time up to the maximum at compile time would be non-trivial.

Fix #22


x86_64 NDK on macos m1 ERROR

x86_64 NDK on macos m1 ERROR: Unknown host CPU architecture: arm64

I found someone who said: need changed text in ndk-build file from
$DIR/build/ndk-build "$@" to  arch -x86_64 /bin/bash $DIR/build/ndk-build "$@"


[MNT] Change sphinx licence

generalise licence in sphinx

Should probably go back to American spelling since we are made to use that for the github file im pretty sure 🙂

Also im not quite sure the notice makes much sense anymore

or maybe not


Unable to build from source for android

What
Unable to build android from source following method described in the react native docs
## Output error
build file `**/react-native/ReactAndroid/build.gradle.kts' line: 15

* What went wrong:
Plugin [id: 'com.facebook.react'] was not found in any of the following sources:

- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Included Builds (No included builds contain this plugin)
- Plugin Repositories (plugin dependency must include a version number for this source)

I tried updating the id to match the group id for react-native-tvos but came across the same error with a different ID.
I also tried setting the substitute to
substitute(module("io.github.react-native-tvos:react-android")).using(project(":packages:react-native:ReactAndroid"))

which also did not work
Expo version 51
React Native version 0.74.5

I created a new Expo TV project using RNTV 0.76.5-0, executed prebuild to create the android directory, and then added these lines to the end of android/settings.gradle:
includeBuild('../node_modules/react-native') {
    dependencySubstitution {
        substitute(module('io.github.react-native-tvos:react-android')).using(project(':packages:react-native:ReactAndroid'))
        substitute(module('com.facebook.react:react-android')).using(project(':packages:react-native:ReactAndroid'))
        substitute(module('com.facebook.react:react-native')).using(project(':packages:react-native:ReactAndroid'))

        substitute(module('io.github.react-native-tvos:hermes-android')).using(project(':packages:react-native:ReactAndroid:hermes-engine'))
        substitute(module('com.facebook.react:hermes-android')).using(project(':packages:react-native:ReactAndroid:hermes-engine'))
        substitute(module('com.facebook.react:hermes-engine')).using(project(':packages:react-native:ReactAndroid:hermes-engine'))
    }
}

With this change, build from source works correctly with Android Studio.


ShaderMaterial textures show up empty even if they have correct UID and path references

Godot version
v4.0.alpha.custom_build [b062e2ca9]
System information
Windows 10 64 bits GLES3 GeForce GTX 1060 6GB/PCIe/SSE2
Issue description
I opened a project I've been keeping up to date with Godot 4 over the past months and this time I found out my textures didn't show up in the game. Turns out the textures I had assigned in the material all show up as "Empty":

Even though in the .tres file, the UID and paths seem to be both correct.
I tried deleting .imported, shader_cache and uid_cache to reimport the project, but that didn't solve the issue.
Steps to reproduce
I'm not sure about the reproduction steps, so I froze my project as-is and stripped it down to just one material and its dependencies. So far it still happens in that version.
Just open solar_system/materials/planet_material_grassy.tres, observe textures are all empty, then inspect what's in the .tres file and see that all information is correct and texture uniforms are not supposed to be empty.
https://zylannprods.fr/dl/godot/SolarSystem4_not_finding_textures.zip
Minimal reproduction project
No response

I've had no problem with many materials and shaders converted from gd3.
I downloaded your project, copied the material, and in my copy I reattached the textures and saved it. Reopened the project and the new material retained the textures.
Here's the difference between the two files.
--- planet_material_grassy.tres 2022-08-16 17:34:49.624141100 +0800
+++ "planet_material_grassy - Copy.tres"        2022-08-16 17:39:28.389392700 +0800
@@ -9,11 +9,11 @@
 [resource]
 render_priority = 0
 shader = ExtResource("1")
-shader_param/u_block_local_transform = null
-shader_param/u_lod_fade = null
-shader_param/u_mountain_height = 10000.0
-shader_param/u_side_albedo_texture = ExtResource("2_ylcsf")
-shader_param/u_side_normal_texture = ExtResource("3_780vy")
-shader_param/u_top_albedo_texture = ExtResource("2")
-shader_param/u_top_normal_texture = ExtResource("4")
-shader_param/u_transition_mask = null
+u_block_local_transform = null
+u_lod_fade = null
+u_mountain_height = null
+u_side_albedo_texture = ExtResource("2_ylcsf")
+u_side_normal_texture = ExtResource("3_780vy")
+u_top_albedo_texture = ExtResource("2")
+u_top_normal_texture = ExtResource("4")
+u_transition_mask = null

I am aware creating new materials probably works. What I am reporting here is an existing material with valid data loading incorrectly (or if it is invalid somehow, I'd like to know what mistake there is)

Changed by @Chaosus https://github.com/godotengine/godot/pull/62972
Here:
https://github.com/godotengine/godot/commit/886c2d9681e83d8e1aed2a793f5d8136c2a98c4e#diff-067f83187419fe00fff5ff7d7e726ff4bd3f6be24ea0920d990ff495a151b7bc
Regression PR:
https://github.com/godotengine/godot/pull/64092


Need support for CryptoCurrencies

I'd like to use Money and Wallet to represent/hold any CryptoCurrency as well any ISO 4217 fiat money. The current implementation supports the ISO 4217 CurrencyCode enumeration, but this standard does not mention the 1000+ new cryptocurrencies that are being quickly introduced. One source that can be used to create an enumeration of  cryptocurrencies is in this GitHub repository:
crypti/cryptocurrencies ([https://github.com/crypti/cryptocurrencies]).  These are just strings.
If this feature were added, then Wallet would be useful in the CryptoCurrency domain in addition to the fiat currency domain. Please modify the class and methods to support on either the 4217 enumeration, or an enumeration created from the JSON class above, or both.

@BillHertzing Excellent idea. However, the number of cryptos are growing very frequently. And, I really want to move away from string-based currency name yet provide support for all cryptocurrencies currently available and will be available in future. Having a large enough enum is not really a solution for it, as it will become outdated with the arrival of a new crypto. This is possible if I decide to change the way I treat currency in the code- which is a large change. I may do this at some point in near future. Please do share if you have different thoughts.

@BillHertzing I did come up with an idea to support not only crypto-currencies, but also commodities. so, basically, you will be able to use the Money class for anything along with fiat currencies like USD, AUD, etc. Needless to say, you can also mix and match them together. This will be a breaking change and will be released as a major version in near future. Keep an I on the repo and/or nuget package. I will also update the project to support .NET Standard 2.0 in that release.

Sounds good, I'll give it a shot when I get the chance, after I see it get
released.
On Mon, Aug 6, 2018 at 11:51 PM Zp Bappi<EMAIL_ADDRESS>wrote:

@BillHertzing https://github.com/BillHertzing I did come up with an
idea to support not only crypto-currencies, but also commodities. so,
basically, you will be able to use the Money class for anything along with
fiat currencies like USD, AUD, etc. Needless to say, you can also mix and
match them together. This will be a breaking change and will be released as
a major version in near future. Keep an I on the repo and/or nuget package.
I will also update the project to support .NET Standard 2.0 in that release.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zpbappi/money/issues/12#issuecomment-410924729, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA2mtAYVtuRIO7IGUffT07XZ0DPFu13Uks5uOQ63gaJpZM4QdwTy
.


Add load and save support for cookie_jar

What do these changes do?

Add load and save support for cookie_jar
Add test case for the support above.

Are there changes in behavior for the user?
No.
Related issue number
Checklist

[x] I think the code is well written
[x ] Unit tests for the changes exist
[ ] Documentation reflects the changes
[x] Add yourself to CONTRIBUTORS.txt
[x] Add a new entry to CHANGES.rst

Please fix PEP8 blames first.

The checking bot blames that cookieJar is misspelled word.
Changing it to CookieJar will fix the problem.
Please do it.

So sorry for that I didn't response these days. I've re committed my fixes.

Current coverage is 98.48% (diff: 81.81%)

Merging #1317 into master will decrease coverage by 0.02%

@@             master      #1317   diff @@
==========================================
  Files            29         29
  Lines          6516       6527    +11
  Methods           0          0
  Messages          0          0
  Branches       1094       1095     +1
==========================================
+ Hits           6419       6428     +9
- Misses           47         48     +1
- Partials         50         51     +1

Powered by Codecov. Last update 2013dc4...dfdaa5a

Please add a test for missing case: https://codecov.io/gh/KeepSafe/aiohttp/compare/2013dc4b33abb4c932d5f56f9abb878dd882d99a...a11386475d721f9a2efd8784f464cec376c8c396#61696F687474702F636F6F6B69656A61722E7079-49
I would have 100% coverage someday.
Adding not covered lines definitely goes in wrong direction.

Sorry, #1326 was finished first.


feat(bytecode): get_bytecode_from_target return type

Motivation
This PR closes #288

thank you for opening! sadly, this was actually handled in #283


Files converted to Typescript from Javascript. Logic separated out in…

…to different components with closely related functions and variables moved closer to the relevant components.
Tracing has been restructured for readability and separation of concerns. The package now first treats tracing/index as the entrypoint.
Pages have been renamed to include _ where page routes are not meant to exist.

Thank you for the attentive review, team! Great suggestions that should definitely be patched before merge. I've gone and implemented your suggestions to the branch and updated the branch pull request.


I couldn't use vcpkg to install imgui (or any other package)

Command: vcpkg install imgui
OS: Windows 10 x64
Toolchain: Visual Studio 2022 (MSVC) + standalone cmake
I got the output like this

I noticed that the imgui version is x86, which doesn't match my platform
But I run the command vcpkg search imgui, I couldn't found the x64 version of imgui

Seems the error info told me that I should run vcpkg update and git pull, it didn't work

I tried to install boost library use vcpkg, but I've got almost the same error, the message doesn't decleare what's the reason, so what should I do?

the message doesn't decleare what's the reason

There is a list of three possible causes right above the red wall of text.

Oh thanks for your notice, I'd read the reasons above and checked my proxy settings. But I tried for over 10 times, luckily, it works! Seems it was the problem of my network connection


Skip API create step when running from feature branch with non GA version

Automatic review  is triggered whenever pipeline is triggered from internal project. This needs to be restricted to run from master or from other branch if version is GA.

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

@weshaggard : Please let me know if this change looks good. I have tested this using JS pipeline.

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

/azp run azure-sdk-tools - sync - eng-common

/azp run azure-sdk-tools - sync - eng-common

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

Verified successful check for java package: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=804642&view=logs&j=9d510ff3-53a8-5192-bd2d-466ce830bc13&t=509d9cda-30de-5baa-fdf2-cb3500e06c56


General Ras GTPase terms

Afraid this is a rather general point that covers a lot of terms. I think that the terms related to Ras GTPases might benefit from some renaming and new terms to help define the Ras subfamily. The Ras superfamily major subfamilies are Ras, Rab, Rho, Ran, Arf. Currently most Ras process/function terms have the Ras parent term which applies to the superfamily and the children referring to the specific subfamilies (e.g. Rho, Arf). The child terms do not include the Ras subfamily itself (although there are some Ras sub-sub families like Ral & Rap).
e.g. Parent: GO:0005099 Ras GTPase activator activity
Children: GO:0005097 Rab GTPase activator activity
GO:0005098 Ran GTPase activator activity
GO:0005100 Rho GTPase activator activity
GO:0017123 Ral GTPase activator activity
GO:0046582 Rap GTPase activator activity
The same is true of other Ras superfamily relationships, e.g.
GO:0032856 activation of Ras GTPase activity
GO:0017016 Ras GTPase binding
GO:0046579 positive regulation of Ras protein signal transduction
GO:0034261 negative regulation of Ras GTPase activity
GO:0005088 Ras guanyl-nucleotide exchange factor activity
I'm not sure what the best approach is: requesting new Ras sub-family-specific GOs would result in a very similar name to the parent term.
This may also be an issue for other families with sub-families that share the same name e.g. Rho family with Rho and Rac subfamilies.
Reported by: hattrill
Original Ticket: geneontology/ontology-requests/10426

@hattrill - finally can close this issue.  We will not be creating any new protein family binding terms.
This issue was discussed at the DC GOC meeting that just concluded.
Decision: protein family binding terms will be removed from GO. Annotations will be to ‘protein binding’ and the ‘with’ column (or, preferably, col. 16 using the has_input relation) will be required. If desired, an external protein classification can be used to create virtual protein family binding terms for grouping gene products for, e.g. enrichment analysis


The group deployment list --top does not work as expected.

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az group deployment list
Errors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Complete multiple deployments.
List deployments with --top 1.
Lists all deployments instead of the top 1 deployment.

Put any pre-requisite steps here...
az group deployment list -g {} --top {}

Expected Behavior
Environment Summary
Darwin-18.6.0-x86_64-i386-64bit
Python 3.7.3
Shell: bash

azure-cli 2.0.66 *

Extensions:
interactive 0.4.1

Additional Context

@Tiano2017 , this is a service end bug, can you cross check whether this top query string still works?
Please check out the full uri below, as you can tell Azure CLI does supply the top query string
GET /subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourcegroups/deploy/providers/Microsoft.Resources/deployments/?%24top=1&api-version=2018-05-01&%24skiptoken=...

Duplicate of #8953


Improve portability of resolution-mode assertions automatically emitted in nodenext

In the last week, I’ve gotten two separate requests for help with solving an issue where a resolution-mode assertion in a triple-slash reference:
/// <reference types="chai" resolution-mode="require" />

was automatically inserted into a declaration file. The implementation file was an ES module that referenced a global defined in chai, which only ships as a CommonJS module. Presumably, the resolution-mode assertion gets added in declaration emit to increase the likelihood that, if the user installs a version of chai that contains separate ESM and CJS types, the ESM-format .d.ts file here will still resolve to the CJS types, as it did when it was created by the library’s compilation. (Note that if the user does have the same version of chai that the library had during compilation, the resolution-mode assertion will not actually be needed.)
The reason this was an issue for the two folks who reached out to me was that some of their users  who consumed these declaration files were using --moduleResolution bundler or maybe even --moduleResolution node10, and consequently got the error:
error TS1452: 'resolution-mode' assertions are only supported when `moduleResolution` is `node16` or `nodenext`.

I feel pretty confident that non-node16/nodenext modes could simply ignore these assertions when they occur in declaration files. While we can’t guarantee that users in other modes will resolve these references the same way the library did, this is no different from any import statement the user wrote, or indeed any import() type automatically inserted by the declaration emitter.
Maybe better, we could also consider supporting resolution-mode assertions and the way they affect conditional package.json "exports" lookups in every moduleResolution mode in type reference directive lookups. They don’t reflect a runtime module resolution feature, so it feels like all we should care about is doing our best to resolve to the same global types in every moduleResolution mode.
It should be noted that in the meantime, a workaround for library authors is to manually write a /// <reference types="chai" /> with no resolution-mode assertion in the implementation file that generated the reference that caused the problem.

It should be noted that in the meantime, a workaround for library authors is to manually write a /// <reference types="chai" /> with no resolution-mode assertion in the implementation file that generated the reference that caused the problem.

I just learned that this doesn’t always work, for some reason. I haven’t looked into what the difference is, but
// @Filename: index.mts

/// <reference types="node" />
export function f(s: NodeJS.ReadableStream) {}

emits a declaration file with
/// <reference types="node" resolution-mode="require"/>
export function f(s: NodeJS.ReadableStream) {}

@andrewbranch Yes, this bug is holding up our transition to ESM for the Azure SDK for JS https://github.com/Azure/azure-sdk-for-js/pull/26238 as we cannot get our sdk/test-utils/perf/utils/utils.ts to compile in such a way that both ESM and CJS can use it.
By default, the utils.ts is the following:
/// <reference types="node" />

export async function drainStream(stream: NodeJS.ReadableStream): Promise<void> {

When compiled it will emit the following into the utils.d.ts:
/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>

For some reason, unlike the chai fix we have, this does not work with the Node types.  We need this fixed so we can upgrade our core from CJS to ESM.

Ran into this trying to make a library for use in cloudflare workers. It uses "types": [ "@cloudflare/workers-types" ] to make the correct ambient types available, but because I'm using nodenext module resolution my library becomes incompatible with bundler resolution downstream. Is there a particular reason that bundler mode can't either support or ignore resolution-mode assertions at least?


Incompatible with quilt

Hello! Mod is incompatible with quilt loader, tested on quilt 0.17.7 and quilt 0.18.1-beta21

Fixed in 1.2

Fixed in 1.2

Oh, 1.2 doesn't work too(

Testing with Quilted Fabric API, it crashes. Without it, it should work. I'll look into fixing

Should be fixed here, https://modrinth.com/mod/better-hand-bobbing/version/1.2.1

Should be fixed here, https://modrinth.com/mod/better-hand-bobbing/version/1.2.1

Yes, now it works, but there is no button called hand bobbing

What mod effects the settings like that? And check sodium video settings?

What mod effects the settings like that? And check sodium video settings?

Oh, sorry, I've checked the sodium video settings but didn't notice the button. Everything is ok.


Multiple sources.

Hi There,
I would like to start with a thank you for this very nice script. It saves us paying for thrid party bots an expensive monthly subscription for a simple feature.
My question is regarding the config and its possible settings.
I was wondering if it was possible to set multiple sources at once? I know we can do that for destinations but unsure if it works for sources too.
Thanks in advance.

https://github.com/aahnik/tgcf/discussions/68

Hi There,
Thanks for the reply.
I have done that, however, for some reason one of the two-channel I added is not working as expected.

The issue seems to be related to the channel itself, not the multi sources/destinations
Is there a way to figure out why ?
Thanks

Yes I think so too. The whole library doesn't work at all for me. With no channel.. The event listener doesnt get triggered. I thought it was because of the telegram update, but if this works at you. Then there must be a another bug

It's weird, one channel works perfectly fine, but the second one doesn't at all...

Where did you deploy it? Or do you use it on your local?

It's ran from my Laptop.


Whole state graph doesn't play animation is there is one missing animation on the component

It would be good if there was some way we could somehow still play the animation graph even if there is an invalid state. It will allow teams to carry on working on other parts without having to interrupt and wait for that specific issue to be fixed.

It could just fail to transition to not fully set up state.

In Unity, the expectation/logic is that would wouldn't do any animation while in that state.
Developers tend to use this as a 'switch' in the state graph and allows them to create logic graphs when an empty state is a 'holding' state


Updating Dark Mode In UX /UI And Much More

Following tasks were the issues found in the - figma file given in the UI

the dark mode
light mode advancements
dark mode mobile

Kindly assign me the issue I'll be happy to work on it

@dartpain hey I have made the changes can you tell me how can I send pull request for that? what has to updated for it?

Create a fork and the make a pull request to this repository. Here is a good example https://github.com/firstcontributions/first-contributions

You can create and just publish a figma file here in the comments or a link to it, we will check it out

Dark theme design has been added to figma and is being implemented in this issue https://github.com/arc53/DocsGPT/issues/371


Support for UDS + SOCK_STREAM ?

Hey,
We've internal agent handling now Unix socket of type SOCK_STREAM. It works by first sending 4 bytes in little-endian which is the size of the following data and sending actual data. I could introduce something like UnixStreamMetricSink into cadence, opinions? Alternatively I was thinking about making MultiLineWriter and relevant methods public so I would implement such sink on my side but would prefer to not duplicate logic of the MultiLineWriter at least.

I could introduce something like UnixStreamMetricSink into cadence, opinions?

I'm not opposed to this but I'd slightly prefer to make MultiLineWriter public.

Alternatively I was thinking about making MultiLineWriter and relevant methods public so I would implement such sink on my side

This seems reasonable to me. It could be exposed via the cadence::ext module. WDYT?

I could introduce something like UnixStreamMetricSink into cadence, opinions?

I'm not opposed to this but I'd prefer to make MultiLineWriter public.

Alternatively I was thinking about making MultiLineWriter and relevant methods public so I would implement such sink on my side

This seems reasonable to me. It could be exposed via the cadence::ext module. WDYT?

Sounds good. Can you take a look at https://github.com/56quarters/cadence/pull/206 ? With those I was able to implement sink backed by unix stream socket and still reuse SocketStats and MultiLineWriter.


Add documentation

The current README.md is growing, and we've always wanted it to be fairly minimal, since its primary purpose is to be the readme on a new site after cloned from the project template.
I was thinking that adding a docs folder might be nice, because then:

Our documentation on how to develop with bubs is version controlled.
We could show how you can incorporate markdown into what is otherwise a wordpress powered dynamic site.

@kylehotchkiss thoughts on approach here?

Is our goal to actually publish these pages on our bubs site? Should the bubs docs be published on any site cloned from bubs-next?
I like the idea of using MDX for these. If we want things to live at the top level /docs in repo, we'll need to make an api to expose those to getStaticPaths. Otherwise, a folder full of MDX docs could work, but it'll be pretty nested in the repo /website/src/pages/docs.

My main goal is just to be able to have a place to put things that isn't the growing README. I suppose an interim solution is just to create a docs folder for now, then we can always figure out where to publish later.

Resolved by #50


no values for memory

Implemented your component today got everything working after some time :-) but memory values are empty. Any idea how to solve this ?

@joostvanmourik  are you running on a Raspberry Pi?
If you do, a fix can be found in the following link:
https://github.com/ualex73/monitor_docker/issues/26#issuecomment-723016034
(i will add this to the GitHub page)

No further comment, I assume it is fixed now.


allow inline stacktrace generation

allow inline stacktrace generation, adding an inline option to net.logstash.logback.stacktrace.ShortenedThrowableConverter
ie:
    <conversionRule conversionWord="stack"
                       converterClass="net.logstash.logback.stacktrace.ShortenedThrowableConverter" />

    <property name="STACKTRACE_PATTERN" value="%stack{full,40,500,rootFirst,inline}"/>

    <property name="CONSOLE_LOG_PATTERN" value="%d%d{Z} %-5level [%15.15t] %-40.40logger{39} [%20.20marker] - %replace(%msg){'\n', '\\\\n'} || mdc=[%mdc] ${STACKTRACE_PATTERN} %n"/>

    <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
		<encoder>
			<pattern>${CONSOLE_LOG_PATTERN}</pattern>
		</encoder>
	</appender>

result in a single line :
2022-05-10 11:06:46,859+0200 ERROR [           main] com.example.demo.DemoApplication         [                    ] - failure || mdc=[] java.lang.IllegalAccessException: a\n	at com.example.demo.DemoApplication.lambda$run$0(DemoApplication.java:40)\n	at o.springframework.boot.SpringApplication.callRunner(SpringApplication.java:777)\n	... 3 common frames omitted\nWrapped by: java.lang.IllegalStateException: Failed to execute CommandLineRunner\n	at o.springframework.boot.SpringApplication.callRunner(SpringApplication.java:780)\n	at o.springframework.boot.SpringApplication.callRunners(SpringApplication.java:761)\n	at o.springfr...\n
(useful for rsyslog or fluentd when you don't want to use json format)

I haven't add the time to fully review your PR yet... Sorry about that.
In the meantime I have approved your contribution. A build will now be triggered every time you submit a change. You may have to rebase your work to pickup the latest changes I'm afraid, or the build will keep failing because of issues not related to your work.

Hi @MarneusCalgarXP, it would be nice if you could also add some information/documentation about this new feature in the relevant section of the README.md.

done

I made some additional cosmetic changes to your PR. It has been merged manually, reason why I'm simply closing the PR.
Thanks for your contribution.

I made some additional cosmetic changes to your PR. It has been merged manually, reason why I'm simply closing the PR. Thanks for your contribution.

thank you for merging it ;-)


Adding python-enum34 as a rosdep key

Only added to ubuntu trusty as I'm not aware of naming on other platforms.

It's available on trusty and newer. We can just use the versionless ubuntu tag http://packages.ubuntu.com/trusty/python-enum34

please juste write : ubuntu: [python-enum34]


Automatically wrap I-searches

It's annoying to have to manually wrap I-searches, especially given that when there is exactly one match there are three(!) different pieces of text you can see in the minibuffer when pressing C-s repeatedly.
I-searches should wrap automatically.

Irrelevant now that we use swiper, see:

a5ad6b21b2999aa69f960b54b16cb7e45850b344
7761e616fde7e1fd0dfdd3845564cc74b8998dac


fix: :bug: ignore undefined items in array

Tests can sometimes generate undefined results, ignore such results while annotating edges.

Pull Request Test Coverage Report for Build 968841374

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 92.701%

Totals

Change from base Build 944673532:
-0.2%

Covered Lines:
185

Relevant Lines:
197

💛  - Coveralls


EF Lazy Loading silently prevents nullable foreign key being set to NULL

This issue has been moved from a ticket on Developer Community.

If you try to set a lazy loaded (virtual) foreign key navigation property to null on an EF Entity (I believe this applies to EF6 and Core), the call to SaveChanges() does nothing.
This is because the property is already null because it hasn't been loaded yet, so setting it to null and calling SaveChanges() does nothing.
You need to force the property to load, and then assign null to it and call SaveChanges().
Consider the following code:
public void UnassignSubscription(int subscriptionId)
        {
            var user = db. Users.FirstOrDefault(x => x.Subscription.SubscriptionId == subscriptionId);

if (user != null)
            {
                user. Subscription = null;
                db. SaveChanges();
            }
        }

This won't work because user. Subscription is already null because it is virtual and hasn't been loaded yet.
The following will work because it forces user. Subscription to be loaded. I.e. not null.
public void UnassignSubscription(int subscriptionId)
        {
            var user = db. Users.FirstOrDefault(x => x.Subscription.SubscriptionId == subscriptionId);

if (user != null)
            {
                var subscription = user. Subscription; // Need to load the subscription so we can NULL it.
                user. Subscription = null;
                db. SaveChanges();
            }
        }

The solution would be either to auto load the property on assignment.
Or at a minimum, add the scenaro to intellisense so that you get a red squiggle to tell you your code isn't going to do anything unless you force load the property.

Original Comments
Visual Studio Feedback System on 11/22/2019, 00:22 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Original Solutions
(no solutions)

EF Team Triage: This issue is not something that our team is planning to address in the EF6.x code base.  This does not mean that we would not consider a community contribution to address this issue.
Moving forwards, our team will be fixing bugs, implementing small improvements, and accepting community contributions to the EF6.x code base. Larger feature work and innovation will happen in the EF Core code base (https://github.com/aspnet/EntityFramework).
Closing an issue in the EF6.x project does not exclude us addressing it in EF Core. In fact, a number of popular feature requests for EF have already been implemented in EF Core (alternate keys, batching in SaveChanges, etc.).
BTW this is a canned response and may have info or details that do not directly apply to this particular issue. While we'd like to spend the time to uniquely address every incoming issue, we get a lot traffic on the EF projects and that is not practical. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we use canned responses for common triage decisions.


#5 🏗 Exposed Env Vars Use Cases Exposed For Developers

I employed environment variables and covered nearly all practical applications to empower developers in mastering their software.
During this, I demonstrated:

Techniques for locating environment variables.
Methods for incorporating environment variables into Bash scripts, CLI, and separate configuration files.

The pull request contains two commits.
In the second commit, I removed a section from the previous branch to ensure that each branch adheres to a specific concept, theme, or application.
I may later decide to concatenate all of them; we will see.

Therefore, I will squash the commits to consolidate them into a single entry in my main history.


Ensure UofT machines are using an up-to-date version of Ubuntu

Context
Ticket ref: https://2i2c.freshdesk.com/a/tickets/750
The following email from Azure was forwarded to support:

Canonical Ubuntu 18.04 LTS will reach end of standard support on 31 May 2023.
Ubuntu 18.04 LTS end of standard support is 31 May 2023—ensure your VMs are on a supported operating system You're receiving this email because you've deployed Ubuntu 18.04 on Azure.
On 31 May 2023, Ubuntu 18.04 LTS will reach the end of standard support. After this date, you'll still be able to use your existing virtual machines, however, security, maintenance, and feature updates will no longer be provided by Canonical and your VMs may become vulnerable.
To avoid potential vulnerabilities, review the following options and choose the one that best fits your needs:

Upgrade to Ubuntu 20.04 LTS  or Ubuntu 22.04 LTS , the latest operating systems which offer improved performance and hardware enablement.
Purchase Ubuntu Pro , which includes security patching for all Ubuntu packages. Ubuntu Pro 18.04 LTS will remain fully supported until April 2028.
Read more details  about these options.
Recommended action To ensure your VMs are running on a supported OS and can still receive security updates, upgrade  Ubuntu or purchase  Ubuntu Pro by 31 May 2023.
More information If you have questions, get answers from community experts in Microsoft Q&A . If you have a support plan and you need technical help, please create a support request .
Links provided herein may take you to a third-party website and are provided for convenience only. Third-party websites are subject to the third-party's terms and privacy statements.

Account information Subscription ID: ead3521a-d994-4a44-a68d-b16e35642d5b
Subscription name: P574_ACT_JUPYTER

Action point

[ ] Ensure the machines on the UofT subscription are using an up-to-date version of Ubuntu

Proposal
No response
Updates and actions
No response

This relates to https://github.com/2i2c-org/meta/issues/539

Given I don't fully trust tf with Azure, I'm going to do the following:

[ ] Use the Azure portal to upgrade the cluster to 1.26 (currently at 1.22)
[ ] Use the Azure portal to upgrade the nodepools to 1.26 (currently at 1.22)
[ ] Use the Azure portal to upgrade the nodepools base image
[ ] Refresh TF state to make sure it matches reality.

I've suggested June 7 2:30 AM to 4:30 AM as the window (it's afternoon in India for me).

Thank you @yuvipanda for driving this :heart: :tada: !!!! Super happy about this getting done!
I've linked your comment from #2158 which tracks the need to upgrade this cluster.

Heard back from UToronto, this is a good time and we'll do the upgrade!

This is now resolved as part of the k8s cluster upgrade performed by Yuvi (both the new-cluster that isn't used, and the old we still use).

Wanted to keep this open until TF state is up to date.

There was an outage here we have to write an incident report for, but this is done!

Closing now again.


image normaliztion

left_image_data_resized in the training code is normalized to [0, 1] and fed to the vae encoder. However, according to Marigold, the vae encoder accepts data range [-1, -1]. Is this on purpose?

Since they are only the prompt, you can set to -1 to 1, but 0~1 is also Ok, it does not change the result a lot. Actually the inference code in the official repo, the prompt part(rgb latent)'s input is also 0-1

Thanks for your response!


Google Gemini / Vertex API - as potential alternative to chatGPT

I'm testing the the Google gemini-pro model via the Vertex AI API. It seems it has a similar quality like OpenAI's chatGPT for our purposes here. I'm opening this issue to document how one can make it work. Installation is a bit complicated.
Steps to setup Goole cloud:

Create a Google cloud account here.
Create project within the Google cloud (for billing) here.

Accessing Gemini from a local computer (WIP):

For making it work locally, one needs to store authentication details locally as explained here. This requires installing Google Cloud CLI. At least on Windows the installer does not work at the moment... Issue reported here

Accessing Gemini from Google Colab:

Activate the Vertex AI API here
Use this notebook: https://colab.research.google.com/github/haesleinhuepf/bia-bob/blob/gemini/demo/gemini_test.ipynb

authenticate in the notebook.
enter the right project ID (not name) in the notebook

I've submitted a quite complex prompt, derived from bia-bob system prompt and the output looks ok. Snippet screenshot:

Executing this notebook a couple of times essentially costs nothing.

Link to the gemini paper: https://arxiv.org/pdf/2312.11805


Support Python 3.10

Codecov Report
Attention: Patch coverage is 76.47059% with 4 lines in your changes missing coverage. Please review.

Project coverage is 74.24%. Comparing base (b587fb6) to head (00ca4c6).

Files
Patch %
Lines

polyflame/fhirflat.py
75.00%
1 Missing :warning:

polyflame/plots.py
75.00%
1 Missing :warning:

polyflame/types.py
80.00%
1 Missing :warning:

polyflame/util.py
75.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #5      +/-   ##
==========================================
- Coverage   74.43%   74.24%   -0.19%
==========================================
  Files           9        9
  Lines         352      365      +13
==========================================
+ Hits          262      271       +9
- Misses         90       94       +4

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


Wrong Docker version on host

Hi, I wanted to use this useful tool on a EC2 instance running the last CoreOS stable AMI (version 835.11.0, ami-7e72c70d).
The thing is that it comes with Docker 1.8.3:
 ~ $ docker version
Client:
 Version:      1.8.3
 API version:  1.20
 Go version:   go1.4.2
 Git commit:   cedd534-dirty
 Built:        Fri Jan 22 06:07:01 UTC 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.8.3
 API version:  1.20
 Go version:   go1.4.2
 Git commit:   cedd534-dirty
 Built:        Fri Jan 22 06:07:01 UTC 2016
 OS/Arch:      linux/amd64

When I try to run docker-cleanup with docker run -v /var/run/docker.sock:/var/run/docker.sock:rw -v /var/lib/docker:/var/lib/docker:rw meltwater/docker-cleanup:latest, I get:
Error response from daemon: client is newer than server (client API version: 1.21, server API version: 1.20)
Cannot run docker binary at /usr/bin/docker
Please check if the docker binary is mounted correctly

Is there a way to use an older version of docker-cleanup that runs the same version of my host? Do you have any suggestion?
Isn't this a common issue? I don't think that all the people is using Docker 1.9.
Thanks a lot!

I believe we should simply update the embedded docker version to be 1.9.1 (or latest)

@mikljohansson But this is the problem actually: my host has Docker 1.8.3, but docker-cleanup comes with 1.9.1 (from Alpine repo): in my case, I would need version 1.8.3 inside the container too.

Same here, AWS ECS a bit outdated (or as some people call it: "stable") ;-)

@mikljohansson I was thinking there are 2 options :

would it make sense to build docker-cleanup for multiple versions of docker. The tag would then look like docker-cleanup:- e.g.

docker::run_instance:
  'cleanup':
    image: 'meltwater/docker-cleanup:1.8.3-1.5.2'
    volumes:
      - "/var/run/docker.sock:/var/run/docker.sock:rw"
      - "/var/lib/docker:/var/lib/docker:rw"

second option would be to pass an env DOCKER_VERSION and install that specific docker version at runtime.

@salimane I'm thinking there's a 3rd option

Rewrite docker-cleanup to use Golang and one of the Golang Docker Daemon API clients and talk to the docker directly from the program. Hopefully this avoids the nasty exact protocol match the docker command line client insists on. We're aren't using any fancy features of the Docker Daemon API so should be fine.

Keeping all the env vars compatible should ensure no one notice a difference if we did such a rewrite.
We'd also need to avoid using the golang:onbuild base image because of its horrible bloatiness. Travis could build the binary and then package it into an image and push that to Docker Hub. Rather than having docker hub build the image directly which forces use of golang:onbuild since the hub only supports dockerized builds.

Having same issue here:  Error response from daemon: client is newer than server (client API version: 1.21, server API version: 1.19) (launching with fleet)

Crazy idea but couldn't the docker client just be mounted from the host? Something like -v $(which docker):/usr/bin/docker

Ended up forking the dockerfile to use docker v1.7.1, here it is if anyone else has that problem https://github.com/olalonde/docker-cleanup .. would still be nice if it was officially supported through tags here.

As of Docker 1.10, there is now support for the DOCKER_API_VERSION environment variable that allows you to dictate which API version that the client should use.
Alpine linux currently only has 1.9.1 available, but the edge branch currently includes 1.11.1.


Model Buggy with Weapons/Tools being held.

like.. shotgun? all-over, shovel? also, in a weird place. flashlight? inside the hand. just to point out..

for the ArkKnights Lappland one i for one. and the Blue Archive models i'm pretty sure

That's a question for the person who made the mod. From an API standpoint, it's impossible to determine the correct location to place items.


Implement GraphQL API

Aurora Database and Elastic Beanstalk application

[x] Create database on Amazon RDS Auora (MySQL 5.6)

[x] Create database with limited privileges

[x] Create Elastic Beanstalk application
[x] Ensure that the database is not publicly accessible from outside the VPC
[x] Launch API application environment with the same VPC of the production database and a new security group

[x] Ensure that access to the database subnets is restricted to the security group of API environment
[x] Use compatible development database attached to the lifecycle of the EB environment

[x] Point API load balancer to https://api.hollowverse.com

[x] Assign valid SSL certificate
[x] Implement HTTPS redirection

API server

[x] Add common configuration and boilerplate
[x] Write database layer

[x] Add validation rules at the database layer before any inserts or updates
[x] Ensure that the database layer types correspond to the schema

[x] Set up development scripts

[x] Write a Wiki entry to explain how to get started with the development of Hollowverse API (https://github.com/hollowverse/hollowverse/wiki/API-Development)

[x] Define basic GraphQL schema

[x] Add scalar types for date and time
[x] Add scalar types for urls and emails

[x] Automatically generate TypeScript definitions from the GraphQL schema file
[x] Validate schema as part of test command
[x] Write deploy script
[ ] Implement Relay-compatible connection types to allow for pagination of long lists of data

[ ]  NotablePerson.events
[ ]  NotablePerson.events.comments

[x] Implement sign up and authentication using Facebook

[x] Decide whether the authentication and authorization token should be in the business logic layer or the GraphQL layer

[ ] Deploy experimental API and GraphiQL interactive documentation and playground to https://api.hollowverse.com/
[x] Add extensive comments to TS code and GraphQL schema types
[ ] Add migration to import data from Firebase
[x] Add README

Closes hollowverse/hollowverse#192
Closes hollowverse/hollowverse#193
Closes hollowverse/hollowverse#194

I experimented with implementing Relay (https://github.com/forabi/hollowverse-api/tree/implement-relay). It looks like the graphql-tools, which greatly simplifies the definition of the schema and resolvers, does not play well with Relay definitions. TypeScript made things more complicated.
Implementing Relay with graphql-relay package would mean sacrificing the convenience of defining the schema in a *.graphql file and having to rewrite all GraphQL types and resolvers in JS/TS. The code would be very verbose. I think for the time being we can deploy an initial version of the API without Relay compatibility. Apollo Server has its own convention for pagination, we can decide which one we should go with later.

@forabi Yeah, I agree.


Flag unreasonably high EqEq charges

Feature description
One easy check is to run charge equilibration. If we have crazy numbers there's likely something wrong.
This was already used in https://www.nature.com/articles/s41467-020-17755-8#Sec15 w +/- 3 as threshold
Implementation idea
Openbabel (?)
import pybel
import sys

with open(sys.argv[-1]) as in_file:
    m = in_file.read()

# Test EQeq's openbabel implementation
mol = pybel.readstring('cif', m)
mol.calccharges('eqeq')
charges = [a.partialcharge for a in mol]

The issue with openbabel is that I often faced problems if i didn't install a specific version from the conda channel.
Questions are of course if we want to have a threshold for every element or just one.
Problem with openbabel is the GPL license ....
Alternative implementation
Manually install https://github.com/danieleongari/EQeq

Probably, we should let the users modify the threshold

current implementation sometimes has issues as the ionization data is not there for all metals in openbabel


Caffe layers.

I am creating a custom caffe layer. I want to put this in digits. So how can we do that ?

In the current digits 6 RC build, custom caffe layers is broken due to protobuf migration. You can use DIGITS 5 to create custom caffe layers VIA this guide: https://github.com/NVIDIA/DIGITS/tree/v5.0.0/examples/python-layer

Thnx.