Slash-create will spam error if Sync is impossible and error is not caught properly

Slash-create 3.0, Gateway- Eris
I have bad coding skills. I say this because I have a catch-all error system that'll output the error to a Discord Channel and console. error(), before going on its way. I'm sure many bots do this for the sole reason of keeping their bot online.
Pair this with a broken script. and Slash will (supposedly) try using the broken command, over and over, and will attempt to continuously sync the broken command, until it's been rate-limited.

You should catch the error and put the error stack in this issue so I can figure out what's making it error. However, slash-create does not sync upon using a command, so it may be a user error.

When I launched it again, it seems that it's require-all that's going the trick, trying to add any command that looks even a small amount like js.
SyntaxError: Unexpected identifier
    at wrapSafe (node:internal/modules/cjs/loader:1024:16)
    at Module._compile (node:internal/modules/cjs/loader:1072:27)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
    at Module.load (node:internal/modules/cjs/loader:973:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14)
    at Module.require (node:internal/modules/cjs/loader:997:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at <Redact>\node_modules\require-all\index.js:56:46
    at Array.forEach (<anonymous>)
    at requireAll <Redact>\node_modules\require-all\index.js:34:9)
C<Redact>\slash_modules\campaignSettings.js:33
                                  required: false,
                                  ^^^^^^^^

Looks like an error requiring the file, and not actually a library issue.

This isn't an issue with require-all either. You most likely forgot to put a comma in the slash command options object.


Improve wording

In GraphQL, it is not possible to have a request without a response.

I don't think mutation is a good example, as there is nothing special about it in regard to errors. Queries behave in the same way. For me, the sentence reads as if mutations don't contain response data, which is not correct. That was the source of confusion and the reason I created the PR.
As far as I understand, executeAndVerify is meant to be used when one only cares about if the response contains errors.
What about something like that?

If you are not interested in the response data and only want to verify that no error occurred, you can use executeAndVerify instead of execute.

Either way, I don't think the sentence is that big of a deal, but I created the PR because I thought it's a low hanging improvement. Discussing it much further might not be worth the effort.

Mutation and query are alike, but with mutation it's more likely to not have any data returned, and without any data to access, nothing would enforce the error checks. This is exactly how I ran into this and what led to adding executeAndVerify.
The issue with the proposed wording is that with field selection you already have control over the what data is returned, and so executeAndVerify is less about interested or not, but about having a way to verify there are no errors when there is no data. in that case, without data access, there is no trigger for error checks.


KeyError: 'ScanNet200MixFormer3D_Online is not in the mmdet3d::model registry.

When I run the command : CUDA_VISIBLE_DEVICES=0 python tools/test.py configs/ESAM_CA/ESAM_online_scenenn_CA_test.py work_dirs/ESAM_online_scannet200_CA/epoch_128.pth --work-dir work_dirs/ESAM_online_scenenn_CA_test/ --cfg-options train_dataloader=None
I suffer the error below ,how can I deal it? thank you
Traceback (most recent call last):
File "tools/test.py", line 153, in
main()
File "tools/test.py", line 141, in main
runner = Runner.from_cfg(cfg)
File "/data/syy/anaconda3/envs/ESAM/lib/python3.8/site-packages/mmengine/runner/runner.py", line 462, in from_cfg
runner = cls(
File "/data/syy/anaconda3/envs/ESAM/lib/python3.8/site-packages/mmengine/runner/runner.py", line 429, in init
self.model = self.build_model(model)
File "/data/syy/anaconda3/envs/ESAM/lib/python3.8/site-packages/mmengine/runner/runner.py", line 836, in build_model
model = MODELS.build(model)
File "/data/syy/anaconda3/envs/ESAM/lib/python3.8/site-packages/mmengine/registry/registry.py", line 570, in build
return self.build_func(cfg, *args, **kwargs, registry=self)
File "/data/syy/anaconda3/envs/ESAM/lib/python3.8/site-packages/mmengine/registry/build_functions.py", line 232, in build_model_from_cfg
return build_from_cfg(cfg, registry, default_args)
File "/data/syy/anaconda3/envs/ESAM/lib/python3.8/site-packages/mmengine/registry/build_functions.py", line 100, in build_from_cfg
raise KeyError(
KeyError: 'ScanNet200MixFormer3D_Online is not in the mmdet3d::model registry. Please check whether the value of ScanNet200MixFormer3D_Online is correct or it was registered as expected. More details can be found at https://mmengine.readthedocs.io/en/latest/advanced_tutorials/config.html#import-the-custom-module'

You can try add PYTHONPATH="$(dirname $0)/..":$PYTHONPATH before CUDA_VISIBLE_DEVICES.
If this does not work, maybe you should check whether the installation is done correctly. You can refer to readme for more details.

这是来自QQ邮箱的假期自动回复邮件。

您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。

when I go through this step2:Prepare scannet_frames_25k data, run:
python download-scannet.py -o  --preprocessed_frames
I met y pressing any key to continue you confirm that you have agreed to the ScanNet terms of use as described at:
http://kaldir.vc.in.tum.de/scannet/ScanNet_TOS.pdf

Press any key to continue, or CTRL-C to exit.
Traceback (most recent call last):
File "download_scannetv2.py", line 205, in
File "download_scannetv2.py", line 136, in main
File "download_scannetv2.py", line 35, in get_release_scans
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 6: invalid start byte
and I want to ask I should use download download_scannetv2.py or  download-scannet.py  to download data if I want to use Scannet200.
thank you

The downloading code for scannet is written in python2. You can try to use Python 2 interpreter to run this scripts.
You should use download_scannetv2.py. The data of ScanNetv2 and ScanNet200 is the same. The only difference is use different category mapping.

KeyError: 'ScanNet200MixFormer3D_Online is not in the mmdet3d::model registry. Please check whether the value of ScanNet200MixFormer3D_Online is correct or it was registered as expected. More details can be found at https://mmengine.readthedocs.io/en/latest/advanced_tutorials/config.html#import-the-custom-module'

I am sure I follow the readme to install , can you tell me the version of mmengine, I can not find any other questions.thanks

The version of mmengine is 0.10.3.
Can you check ESAM/oneformer3d/mixformer3d.py and ESAM/oneformer3d/__init__.py to see whether ScanNet200MixFormer3D_Online is correctly registered and imported?
Also make sure your install mmdet3d in a new environment. Previous mmdet3d project may affect your environment variables.

The version of mmengine is 0.10.3.
Can you check ESAM/oneformer3d/mixformer3d.py and ESAM/oneformer3d/__init__.py to see whether ScanNet200MixFormer3D_Online is correctly registered and imported?
Also make sure your install mmdet3d in a new environment. Previous mmdet3d project may affect your environment variables.
Should register the ScanNet200MixFormer3D_Online myself?
It means I should install the package mmdet3d or install the environment of mmdet3d?

The version of mmengine is 0.10.3.
Can you check ESAM/oneformer3d/mixformer3d.py and ESAM/oneformer3d/__init__.py to see whether ScanNet200MixFormer3D_Online is correctly registered and imported?
Also make sure your install mmdet3d in a new environment. Previous mmdet3d project may affect your environment variables.

Now I can run it successfully. thank you!!


[QUESTION] vendor:publish hyperf/watcher 用不了

vendor:publish hyperf/watcher 用不了
我要用热更新 然后报错了
[root@VM-0-9-centos hyperf-skeleton]# /usr/local/php7.3/bin/php vendor:publish hyperf/watcher
Could not open input file: vendor:publish
[root@VM-0-9-centos hyperf-skeleton]# ls
app  composer.json  config           Dockerfile    phpunit.xml  runtime  vendor
bin  composer.lock  deploy.test.yml  phpstan.neon  README.md    test
我下面有vendor文件夹呀

Continue as root/super user [yes]? y
Using version ^2.1 for hyperf/watcher
./composer.json has been updated
Running composer update hyperf/watcher
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Generating optimized autoload files

rm -rf runtime/container
61 packages you are using are looking for funding.
Use the composer fund command to find out more!

安装是提示这个

/usr/local/php7.3/bin/php bin/hyperf.php vendor:publish hyperf/watcher

/switch-to question

解决了

 ScanFileDriver::class,
    'bin' => '/usr/local/php7.3/bin/php',
    'watch' => [
        'dir' => ['app', 'config'],
        'file' => ['.env'],
        'scan_interval' => 1000,
    ],
];

为什么设置了没有效果代码改了上传服务器没更新呀


Rewards aus Staking

@g3org0815 could you send the DFX telegram support channel a message?
This is only for development related problems.

https://t.me/DFXswiss_en

Sorry ans Thanks


Alphabetically order building of modules during compilation

It would be nice if compilation of modules were alphabetically sorted, so you roughly know when the module you are intending to build will be built.
https://github.com/znc/znc/blob/384681351228c1a4e4be2bea3d7ae7585409a210/modules/Makefile.in#L117
ps: Are the rm -rf's there safe? Won't that delete everything if the variables are unset?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/40646177-alphabetically-order-building-of-modules-during-compilation?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github).

If you want to build a specific module, you can just say make thatmodule.so. Also consider interaction with -j flag.

I don't want to make a specific module, I just want the list of modules that is being compiled to be alphabetically sorted since it takes quite a while and there's no way of knowing how far in you're at in the process.

If you use CMake, it'll say current completion in percents, with either
ninja or makefile generator.
2017-01-19 16:40 GMT+00:00 Jos Ahrens<EMAIL_ADDRESS>
I don't want to make a specific module, I just want the list of modules
that is being compiled to be alphabetically sorted since it takes quite a
while and there's no way of knowing how far in you're at in the process.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/znc/znc/issues/1358#issuecomment-273827850, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAT15L8YgmtSexwfoOLos2VuIWa4CzBtks5rT5HrgaJpZM4LbkSL
.

CMake is only a recent addition, many people will probably stick to the known ./configure method unless something tells them there's a better alternative.


False usage of gradle cache on new code generator version

I'm running a service with two gradle modules - service and model - where the model only contains the code generation to leverage the usage of gradle cache in builds. If the version of the used generator changes the models are not freshly generated but taken from the cache, although the task has no way of knowing if the new sources will be the same as the old ones.
This can lead to breaking later builds although the initial build that updated the generator looked fine.
A workaround is to define this version as an additional property but imho this should not be necessary as the plugin can never assume anything about the sources generated by a new version. So this version should always be part of the tasks inputs to influence the gradle cache's key.
To Reproduce:
Build a module with any code generator -> change version of said generator -> building again will take the results from the gradle cache instead of creating new sources.
Expected behavior:
Sources are freshly generated if the generator version changes.
Environment
Plugin version: 2.19.1
Swagger Codegen version: io.swagger.codegen.v3:swagger-codegen-cli:3.0.30 / io.swagger.codegen.v3:swagger-codegen-cli:3.0.31
Gradle version: 7.3.3
Java version: 11.0.13
OS: macOS Big Sur 11.6.2

Bumping this issue since I have run into the same problem recently.


Add Georgian language on Crowdin

What feature or new tool do you think should be added to DevToys?
I would like to request adding a Georgian language on Crowdin so that I can translate it.
I have also requested this in Discussions on Crowdin, but given that other topics have no replies for up to a year and the languages were not added, I thought I would also duplicate it here.
Why do you think this is needed?
While there's less than 10 million people speaking Georgian language, the Georgian developer society is growing exponentially, especially after COVID and it would be greatly appreciated if the DevToys is available in Georgian language.
Solution/Idea
No response
Comments
No response

Hi,
Thanks for the suggestion. I just added it here: https://crowdin.com/project/devtoys/ka


Fixes OVM3 module isolated build

The build has been fixed by removing the relative path to the parent model. Now this plugin can be built in isolation, as long as the parent artefacts are present in the m2 local repo.

Ping @miguelaferreira @borisroman
[INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ cloud-plugin-hypervisor-ovm3 ---
[INFO] Building jar: /data/git/ekholabs/cosmic-plugin-hypervisor-ovm3/target/cloud-plugin-hypervisor-ovm3-5.0.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ cloud-plugin-hypervisor-ovm3 ---
[INFO] Installing /data/git/ekholabs/cosmic-plugin-hypervisor-ovm3/target/cloud-plugin-hypervisor-ovm3-5.0.0-SNAPSHOT.jar to /root/.m2/repository/cloud/cosmic/cloud-plugin-hypervisor-ovm3/5.0.0-SNAPSHOT/cloud-plugin-hypervisor-ovm3-5.0.0-SNAPSHOT.jar
[INFO] Installing /data/git/ekholabs/cosmic-plugin-hypervisor-ovm3/pom.xml to /root/.m2/repository/cloud/cosmic/cloud-plugin-hypervisor-ovm3/5.0.0-SNAPSHOT/cloud-plugin-hypervisor-ovm3-5.0.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.865s
[INFO] Finished at: Wed Feb 10 06:40:31 GMT 2016
[INFO] Final Memory: 29M/317M
[INFO] ------------------------------------------------------------------------
[root@cs1 cosmic-plugin-hypervisor-ovm3]# pwd
/data/git/ekholabs/cosmic-plugin-hypervisor-ovm3
[root@cs1 cosmic-plugin-hypervisor-ovm3]#

Guys,
It seems the Maven repo is empty.
07:39:47 [ERROR] COMPILATION ERROR :
07:39:47 [INFO] -------------------------------------------------------------
07:39:47 [ERROR] /home/jenkins/workspace/cosmic/plugin-pull-request-build-cosmic-plugin-hypervisor-kvm/src/test/java/com/cloud/hypervisor/kvm/storage/KvmPhysicalDiskTest.java:[5,18] error: package org.mockito does not exist
07:39:47 [ERROR] /home/jenkins/workspace/cosmic/plugin-pull-request-build-cosmic-plugin-hypervisor-kvm/src/test/java/com/cloud/hypervisor/kvm/storage/KvmPhysicalDiskTest.java:[7,22] error: package junit.framework does not exist
07:39:47 [ERROR] /home/jenkins/workspace/cosmic/plugin-pull-request-build-cosmic-plugin-hypervisor-kvm/src/test/java/com/cloud/hypervisor/kvm/storage/KvmPhysicalDiskTest.java:[9,41] error: cannot find symbol

go build


Question: best way to setup testing / alerts for when boarding -> ITC is not working?

Recently, a potential user tried to sign up via our boarding site and got an error, because we had not updated our boarding app after the latest ITC changes (groups of external testers I think).
Is there a way to script "dry run" style testing (I.e. force boarding to communicate with ITC but not actually create a new tester that counts against the 2000 tester limit)? (So that I can be alerted when the test fails and figure out if it is an issue on our end, with boarding, or with ITC...)
Thanks, apologies if this has been asked and answered I did not find it in a quick search.
-Chris

You can set the ITC_IS_DEMO environment variable 👍

Thanks!


split: add --verbose option

rustfmt isn't happy
there is an issue with gnu/rm but i guess unrelated.
but bravo for
Congrats! The gnu test tests/split/suffix-length is now passing!

I have fixed the formatting issue, sorry about that. I have installed the pre-commit hook to prevent future issues, I hope.


WrongVarFomat

Hi,
I have already used the old s7 library in the past and worked really fine.
Now we are going to connect to an s7-1200 plc and with this library it connects just fine.
The problem occurs when i try to read from the plc.
The var location is : DB1.DBW2
C# code: object s = plc1.Read("DB1.DBW2");
And i get WrongVarFormat.
Can you please help me out. Is there something new in this version that maybe i am missing?
Regards,

On the bottom of this document there is the configuration to read from S7-1200 / 1500
http://snap7.sourceforge.net/snap7_client.html


Navigation

Summary
Navigation between login and home/register has been migrated to Navigation Architecture Component
Screenshots

Trello Card
N/A

@lmiotti  changes uploaded


Add parameter for specifying which APT repo to use

Pull Request (PR) description
Adds a parameter to puppetserver::repository for specifying which APT repo to use. Defaults to puppet which contains the latest major release.
This Pull Request (PR) fixes the following issues
Fixes #67

build failures are due to  http://yum.puppet.com/pc1-release-el-7.noarch.rpm  and Debian 7 being out of support


Text Nodes Cannot Be Selected When Siblings Are Element Nodes

Given this:
"866 Results" cannot be selected. If I wrap it in a span, it can be.
.search-options__actions is floated right.

@sshaw did you wrap it with a span using the browser inspect element or did you do it in your HTML code?
Is it possible to see this page?

Page is not public but this demonstrates the issue:
<!DOCTYPE html>

        <title>Foo</title>

Foo

                <button>Filter</button>

            866 results

Adding a span to the source fixes it.
I haven't looked at your code but from the markup it looks like it requires an element with a .chrome-extention-wi-element class. Which a text node cannot.

@sshaw I understand the problem now and indeed my code will never detect this case. In my opinion, having loose text nodes is never a good practice so I would say that adding a  to it is the correct solution. This way this element can easily be styled (if needed) and you won't get white space around the text as shown in the picture you uploaded.

my code will never detect this case...

What's the issue?

In my opinion, having loose text nodes is never a good practice so I would say that adding a  to it is the correct solution.

Heh. There's nothing wrong with loose text, it's definitely not a bad practice :neckbeard:.

What's the issue?

This extension looks for terminal elements (or elements without children) and allows you to select those elements and see their properties. Otherwise you would be able to select a lot of undesirable elements that most people don't even know are there. For your specific case the div that contains "866 results" is not terminal. It contains another div as children so it will never be selectable, but the child div will.
Text nodes cannot have a class so the only possibility here would be to also allow elements that contain text nodes to be selected. However, I think this would be confusing because the parent element size won't necessarily be the size of the clicked text.

Heh. There's nothing wrong with loose text, it's definitely not a bad practice :neckbeard:.

I didn't mean to say there is something wrong with it but from my experience they never make anyones life easier.


Add possibility to react to notification tap via new CRNotificationDelegate

I think this is a neat little functionality expanding the cool & simple to use CRNotification! :)
It also does not change the API so it is backwards compatible, only if needed, a delegate can be set. It is also very simple to comply with the delegate.
If you want a more fancy feature, one could also include the text (or other information) of the notification in the delegate call.
As this is my first pull request on GitHub, please take a look and let me know if I need to improve something or if you don't like the feature 😄

Hey, thanks for the PR!
I like the idea, and I guess the intention is that you want to execute the same piece of code in the completion handler, without duplicating the code - is that the case? If so, there is nothing stopping you from simply passing in a function instead of writing the same block each time. One could simply just pass in the same function as the one executed in the delegate.
Usually the purpose of the delegate is to handle some sort of value(s) passed to the function. Maybe the type, title and message could be passed along, so you can reach on the type of notification shown, whether it being a success, failure or something else.
Is that something you could add? 🙂

Hey, thank you for the quick reply!
I'm really sorry that I forgot about this PR, that's why it took so long to respond.
Anyway, the idea was that you can tap on a notification to get more info, so we can present the user a non obstructing notification that she received a badge, and if she wants, she can tap on it to get more details (a full screen badge view for example).
Therefore it was not possible to implement this during the completion handler, as I only want to show more information when the user taps on it, not when the timer hides it or it is swiped away.

Sorry for the delay on the review, I've been a little busy. Looks good! 🙂

If there is nothing more you'd like to do on this PR I will merge it 👍

Thank you! :)
No you can merge it.

Its now in master as 1.2.1. Thanks for the contribution 🚀 🙂


Flaky E2E Tests - TestReduceSuite/TestIdleKeyedReducePipeline

https://github.com/numaproj/numaflow/actions/runs/8195555528/job/22415020803

To be fixed by https://github.com/numaproj/numaflow/pull/1412/

Ran current e2e 20 times and did not see it. Closing...


UI on Desktop

We need to have a conditional rendering based on the screen size, majorly in the email list page. It looks good on the phone, but on desktop, we need quite different UI. You can take inspiration from gmail for the same.

i can start working on this

i can start working on this

I have assigned this issue to you, share the ss on the discord channel and then add the PR

@bmerchant22 I am done with the desktop UI ( width > height for now, so same UI is for tablets )
Can you check if these pages look proper so I can put a PR

@bmerchant22 also, the attachment functionality isnt working. It gives the following error

@bmerchant22 There is a slight change in the directory structure. I have created different files for the Desktop UI. We can choose to merge them too ( I kept it this way so to keep the code readable and short )

@bmerchant22 I am done with the desktop UI ( width > height for now, so same UI is for tablets ) Can you check if these pages look proper so I can put a PR

you can keep the drawer tabs like the inbox, sent, trash on display permanently...like its there in the webmail....you can also reduce the width of the list where it shows all the mails to make it look more compact...you can make the design the rest of the things similar to webmail as well

@bmerchant22 There is a slight change in the directory structure. I have created different files for the Desktop UI. We can choose to merge them too ( I kept it this way so to keep the code readable and short )

it's better to keep them separate..so its fine

@yashlm Also, do i make the drawer tabs permanent for only the desktop screen ( and not the tablets ).

@yashlm Also, do i make the drawer tabs permanent for only the desktop screen ( and not the tablets ).

yes

@yashlm done with the separate Desktop UI. I haven't applied the permanent drawer on the Advanced Settings page. The Tablet UI does not have a permanent drawer. Also, the attachment error has been resolved now.

@yashlm The desktop files are also separated from the tablet ones causing a similar change in the directory structure as last time
Do I put a PR ?

@yashlm done with the separate Desktop UI. I haven't applied the permanent drawer on the Advanced Settings page. The Tablet UI does not have a permanent drawer. Also, the attachment error has been resolved now.

implement it in advance settings as well...the application will seem more consistent that way...apart from this...the file structure and the other things seems good...you can put a pr

Done :+1:


[1.8.9 Bug] Using trusty magical ukulele crash

Specifically, the ukulele that adds warp ward and such. I also tried the knowledge ukulele, and that crashed the game as well. Logs for the warp ward ukulele crash are below.
MC log: https://gist.github.com/SunnyTD/a79cb540448d580336a0
FML log: https://gist.github.com/SunnyTD/fd75abf6b9d5503bcdfb

Oh no, Azanor changed his API again...

Not sure if this will help but there is crash log when using bard one
https://gist.github.com/LiSirNo/52b2727eeea383cf1f4d


Issue #187 - Remove admin to urls.py

i'll be happy to accept it as it's good, but as you can see here https://github.com/foxmask/django-th/issues?q=is%3Aissue+is%3Aopen+label%3Ahacktoberfest ; guys play the game and ask to pick up the issue first. By respect for us I cant validate you PR.
Sorry,
Thanks you for your understanding
I hope soon to open others issues for this event.
Regards.


cargo-lambda: from 0.13.0 to 0.18.1

Description of changes

Upgrade version with relevant hashes.
Remove cargo-watch as dependency.
Add outputHashes because of change in cargo-lambda dependencies.

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/when-to-use-precompiled-binaries-in-a-nixpkgs-derivation/27087/1

After noticing that aarch64-darwin and x86_64-darwin were failing, I tried to build this on  x86_64-darwin. After applying the following patch, it built! @waynevanson Can you apply this patch and see if that makes the last 2 checks pass?
diff --git a/pkgs/development/tools/rust/cargo-lambda/default.nix b/pkgs/development/tools/rust/cargo-lambda/default.nix
index 621e6411b83..f3cceec061e 100644
--- a/pkgs/development/tools/rust/cargo-lambda/default.nix
+++ b/pkgs/development/tools/rust/cargo-lambda/default.nix
@@ -1,11 +1,13 @@
 { lib
 , cacert
+, curl
 , rustPlatform
 , fetchFromGitHub
 , makeWrapper
 , pkg-config
 , openssl
 , stdenv
+, CoreServices
 , Security
 , zig
 }:
@@ -32,7 +34,7 @@ rustPlatform.buildRustPackage rec {

   nativeBuildInputs = [ makeWrapper pkg-config ];

-  buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
+  buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ curl CoreServices Security ];

   checkFlags = [
     # Disabled because they accesses the network.
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index c7dc4ba4785..8de6f162e1a 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -16074,7 +16074,7 @@ with pkgs;
   };
   cargo-insta = callPackage ../development/tools/rust/cargo-insta { };
   cargo-lambda = callPackage ../development/tools/rust/cargo-lambda {
-    inherit (darwin.apple_sdk.frameworks) Security;
+    inherit (darwin.apple_sdk.frameworks) CoreServices Security;
   };
   cargo-limit = callPackage ../development/tools/rust/cargo-limit { };
   cargo-make = callPackage ../development/tools/rust/cargo-make {

@taylor1791
Great work, thank you for supplying a patch.


fixing an issue with report labels

Github Issue (if applicable): #696
Forum Link (if applicable): Potentially: https://forum.youneedabudget.com/discussion/53888/toolkit-0-7-11#latest
Explanation of Bugfix/Feature/Enhancement:
I made an assumption when fixing reports last time that a function was doing more work than it needed. Turns out that assumption was false. I changed it back to do what it's supposed to do and updated it's name so hopefully I don't make that mistake again.
Recommended Release Notes:
Fixed an issue where you were seeing more (or way less) dates in the income vs expense column report.

Thanks!

@blargity did this fix the issues you were seeing with reports?


Bump dependencies

no issue

bump deps with no breaking changes
bump yarn.lock sub-dependencies
resolve deprecation warnings for removal of Authorizers in ember-simple-auth

Coverage decreased (-1.3%) to 70.722% when pulling 5b9c903cae75c127120e5d3a1b1b8e3a8808296b on kevinansfield:bump-deps into b72fe7c49e874d3c619efc5216d1228194935ee9 on TryGhost:master.


add new emoji

I would like to our little startup to your emoji lib :)
Thanks,
Mike

added CallFire to emoji lib

please?


Windows 10 App

Hello, Can you please be more specific if Offline Mode supports Windows 10 / Windows 10s

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

ID: 47bcdcf0-46c7-2e85-2dc2-1e9afe7220c1
Version Independent ID: a315aeaf-2034-d310-88ee-77dd760e24b7
Content: Configure mobile offline synchronization in Dynamics 365 for phones and tablets
Content Source: ce/mobile-app/setup-mobile-offline-for-admin.md
Service: crm-online
GitHub Login: @mduelae
Microsoft Alias: mkaur

@josbur - Thank you for the question. As it states in the documentation, mobile offline feature is only available for iOS and Android devices. It is not support any Windows devices.

The mobile offline feature is only available for iOS and Android devices.
To use the mobile offline feature, download the latest version of the Dynamics 365 for phones and tablet app from the app store. For iOS, version 13.19043.32 or later is supported; for Android, version 4.3.19043.33 or later supported.
Thanks,
MInts


Inserting empty array inserts a record with default values.

knex('test').insert({}).toString()
"insert into "test" default values"
knex('test').insert([{}]).toString()
"insert into "test" default values"

These two use cases make sense, but I think that the logic has incorrectly been extended to the following:
knex('test').insert([]).toString()
"insert into "test" default values"

Can I propose that inserting an empty array should either be a no-op or throw an error?
I can't think of a case where an empty array would be intentionally used to to insert a single record. A no-op would be ideal, this way it saves the client checking for empty arrays on every insert.
At the moment I use this (shitty) workaround:
safeInsert = (k, table, rows, returning) ->
  if _.isEmpty rows then [] else k(table).insert rows, returning or 'id'

Hey guys, I could have a crack at fixing this. I'm not familiar with the codebase yet, but I'm interested in contributing to the project and would like this issue resolved.
I'd rather not invest the time if this is not desired functionality, so I'm asking here before attempting a pull request.

Yes, please send a PR with updates to the relevant tests. I'll make the final call here and say that passing any empty array should be a noop.

Great. I'm quite busy, but I'll try to get around to it in the next couple
of weeks.
On 9 January 2015 at 12:27, Ben Drucker<EMAIL_ADDRESS>wrote:

Yes, please send a PR with updates to the relevant tests. I'll make the
final call here and say that passing any empty array should be a noop.
—
Reply to this email directly or view it on GitHub
https://github.com/tgriesser/knex/issues/589#issuecomment-69280462.

So do we think should this be a no-op or an error? Just want to adjust the tests in the next branch

A noop

Just want to adjust the tests in the next branch

@tgriesser sounds like this fix is underway already? Happy to help out if needed.

Yeah, so it turns out there's a bunch of cases in the tests that I'm looking to break because they might not make sense, or they're not applicable across all drivers.
Just want to sanity check this - an array passed to insert will have any non object values filtered out:
// current: inserts one row,
// 0.8: noop
knex.insert([null])

// current: inserts two rows if possible,
// 0.8: noop
knex.insert([null, null])

// current: inserts one row
// 0.8: noop
knex.insert()

// current: insert one row
// 0.8: same behavior
knex.insert({})

// current: - insert one row
// 0.8: same behavior
knex.insert([{}])

// current: insert two rows in mysql, fails in PG, Oracle, SQLite3
// 0.8: should this work for mysql and throw for others?
knex.insert([{}, {}])

I find inserting "{}" to be a much more intuitive way to say "insert a row with all defaults" than "null". Inserting a value without saying what column it goes to has no meaning anyway, so filtering them out seems good by me, but insert([{}]) and insert([{}, {}]) failing is definitely not intuitive.
I'm not exactly sure what this translates to in SQL: INSERT INTO table () VALUES () or something? What would be valid? Could you then do VALUES (),() ?
Seems and edge case all around, but it'd be nice if it was consistent.

but insert([{}]) and insert([{}, {}]) failing is definitely not intuitive.

The thing is they the (), () is valid in mysql but not in others where inserting default is
insert into table default values and you can't do the default values thing twice... so either we run multiple queries or we fail.

Gotcha. To be honest, it's almost worth running multiple queries or not supporting the syntax at all, to me. What would make the most sense is .insertDefault() or something and just require sane arguments to .insert()

you can't do the default values thing twice... so either we run multiple queries or we fail.

Are there other times when knex will fire multiple queries for a single call? I'd expect insert to be atomic, and would usually want to use a transaction for multiple inserts.
Failing in the case of trying to insert multiple empty records ({}, {}) in PostgreSQL (and others) seems appropriate, since it's actually a limit of the system, and equivalent to writing bad SQL.
I think your proposed behaviour is appropriate, @tgriesser.

If anyone stumbles upon this, the only way that works is by inserting one element at a time with:
.insert({});
.insert({});

IMO .insert([{},{}]); makes sense (although it doesn't work);

I faced this problem too. It would be nice to be able to call insert([{}, {}, ...])

@tahv0 @PierBover As mentioned above, that is not possible in most of the DBs without making multiple queries.
Making multiple queries from one builder is just not supported by knex (migration schema APIs are exception to this).
It is pretty fundamental principle in this lib that you get just one query and its result. Allowing multiple queries would open door to implement all kind of hacky compatibility work arounds and I don't think that is in the scope that knex should do (just making basic parts work well has proven to be hard and time consuming enough).
So throwing an error would be good solution here for unsupported dialects... that array is already looped through to find out missin keys etc. so it wouldn't affect performance either.
Or is someone comes up with single query that makes this possible would be even better. Something like this could work:
.insert([{id: knex.raw('DEFAULT')}, {}, {}, {}])

but the problem is that we don't know even the id column name for sure.

Closing this as the original issue has already been adjusted by Tim into a noop long ago.
Unfortunately the noop in this case is an empty SQL string sent to db. Imo a real noop would imply no database connection at all, but that can be a potential improvement.


Use "with" to close more files eagerly and also on error

I'm not opposed to this, but I'm certainly not in favor of spur-of-the-moment refactoring.

Closed in favour of #966.


ADD: emotion API

Pretty simple addition, would appreciate a lightning code review before merge though :)

Birdperson is pleased


Very short videos don't show up.

Describe the bug
Videos that are only a few seconds long will not show up.
To Reproduce
Steps to reproduce the behavior:

Enter a URL for a video about a second long
See error

Expected behavior
Video shows up and plays through, no matter how short it is.

Solved in beta 11


[ISSUE-30] Fixing "no dependencies" transformer bug

https://github.com/wildfly-extras/batavia/issues/30

Thanks Richard!


feat(docs): gcutil is deprecated; convert all calls to gcloud compute

continuation of #3123
updates to recommended defaults per that thread should probably be reviewed once more before merge

Thanks for keeping us up-to-date, @wenzowski. :+1:

my pleasure @carmstrong

running a test cluster with 64GB persistent ssd now. At UX level, difference between ephemeral direct-attached ssd & 64GB persistent ssd pool not obvious. And much safer. :wink:

Test cluster with this config has been working smoothly now for 2 days; a far cry from the original defaults. I'm using n1-highmem-2 instances, but aside from that config is as documented.
While this is zone f, the default should probably be availability zone c right now. GCE Haswell instances cost no more than Sandy Bridge or Ivy Bridge instances.

Tested on GCE, all commands worked fine with copy-and-paste except I had to omit the --type pd-ssd parameter as noted above (defaulting to pd-standard).

I found ceph unreliable with the pd-standard which is why the move to pd-ssd from #3123


feat: events include this data

Why?
If you want to get data from both objects affected on a collision event, you can only access the data of "the other" object, and you need to use useRef in order to access the object firing the event.
Example:
const ref  = useRef(null);

return <RigidBody  onCollisionEnter={e => {
  console.log(ref.current!.translation()); // "this"
  console.log(e.rigidBody!.translation()) // the "other"
} />

To avoid having to depend on an useRef, this PR includes the firing rigid body data too, so you can instead do this:
<RigidBody onCollisionEnter={e => {
  console.log(e.thisRigidBody!.translation()); // "this"
  console.log(e.rigidBody!.translation()) // the "other"
} />

This is nice!
In the future we should probably rename this to something like source, and target.
onCollisionEnter(event => {
  console.log(event.source.collider) // this collider
  console.log(event.target.collider) // other collider
})

Although, target might be a confusing name since it is used by JavaScript for the source of the event...

I like the following. If you are happy I can update this PR or prep a new one for further discussion as it will become a breaking change.
export type BaseCollisionPayload = {
  target: {
    rigidBody?: RapierRigidBody;
    collider: RapierCollider;
    rigidBodyObject?: Object3D;
    colliderObject?: Object3D;
  },
  other: {
    rigidBody?: RapierRigidBody;
    collider: RapierCollider;
    rigidBodyObject?: Object3D;
    colliderObject?: Object3D;
  },
}

I think let's go for that! This library comes with the WIP disclosure, so breaking changes can happen.
In that case change the changeset to minor, and update the docs!
We could also ...other on the payload, and mark it as @deprecated, to allow both versions as an intermediate solution.
This is also nice as it lets us detect the affected collider of a RigidBody without needing to set individual events on each.

@wiledal updated.


Fixed #24613 -- Added example to defer documentation

Would it be worth using an abstract model to prevent duplication of fields and Meta.db_table?

In my testing, it wasn't possible to use an object manager on an abstract model, but maybe I did something wrong?

Here is what I had in mind (untested):
class SharedFields(models.Model):
    f1 = models.CharField(max_length=10)
    f2 = models.CharField(max_length=10)

    class Meta:
        abstract = True
        db_table = 'app_largetable'

class CommonlyUsed(SharedFields):
    class Meta(SharedFields.Meta):
        managed = False

class ManagedModel(SharedFields):
    f3 = models.CharField(max_length=10)

@timgraham this does work, just tested it. Not sure if it's clearer to have 2 models or 3 with one abstract; my feeling is that for this example in docs having 2 models is better but for depending on a specific use case, your solution may be much better in some specific cases. Perhaps have the original example with a note saying:

If many fields need to be duplicated in the unmanaged model, it may be best to create an abstract Model with all shared fields and have an unmanaged and managed models inheriting from the abstract model.

I think this is clear enough and probably doesn't need a separate example because if a user needs it, he'll have a large number of dupe fields and he'll naturally see the need to refactor them out into a shared model and this note gives enough guidance on how to do that.

Seems okay.

@akulakov, I agree, I wanted to write the example using three models in for DRY, but I thought that might make the example excessive. I'll add that note to the PR when I get home.
@timgraham, do you think there's any other wording that needs to be changed in either the note itself, or the comment in the code?

merged in dd99f57710bb4930561a6c049f54719af80850ec, thanks!


admin settings: Make restricted to domains checkbox unchecked and readonly if there are no domains.

Having restricted_to_domain = True when there are no RealmAliases means the user is likely just confused.
Relevant files are static/templates/settings/organization-settings-admin.handlebars and static/js/admin.js. Probably I would do this in populate_realm_aliases in admin.js.
@HarshitOnGitHub if you're interested!

@rishig Will submit a PR soon!! :)


[HUDI-3526] Enhance Hudi Metrics

Change Logs
General improvement and refactoring around flink metrics
Impact
Describe any public API or user-facing feature change or any performance impact.
Risk level (write none, low medium or high below)
If medium or high, explain what verification was done to mitigate the risks.
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

I will fix ci in the near future

Hello, has this pr been fixed? @complone

We already support the metrics in Flink, I think we can close this one now.


Increment a database field by 1 in GORM

Your issue may already be reported! Please search on the issue track before creating one.
What version of Go are you using (go version)?
go version go1.13.4 darwin/amd64
Which database and its version are you using?
mysql  Ver 8.0.18 for macos10.14 on x86_64 (MySQL Community Server - GPL)
Question
I find that mysql can update one column with increment(you can find at Increment a database field by 1)
then does GORM support it with Update method? or just only use db.Exec with raw mysql query ?

I think Gorm doesn't support it yet and I don't encourage to write raw query for simple.
For now, a simple example:
model := &User{Name: "lerolero"}
db.FirstOrCreate(&User{}, model)
db.Model(model).Update("logins", gorm.Expr("logins + ?", 1))

It's time to create Upsert method.


feat: show toggle action on code host toolbar for code hosts

Addresses, but doesn't close, 17430
Users need a way to enable/disable blame decorations on code hosts. We currently only show the "toggle" action item on Sourcegraph.
Problems

No action item tooltips on GitHub yet, so  part of 16951
Incomplete selections implementation for code hosts. Decoration setting of file is rendered useless.

Temporary solution: Toggle cycles through none -> line -> file on Sourcegraph. On code hosts, toggle between none and file.

The linked issue is labelled with needs-design, could we wait for @AlicjaSuska's to explore this and make a proposition? I think it should be considered that GitHub has a native "Blame" button that would appear right next to it:

The linked issue is labelled with needs-design, could we wait for @AlicjaSuska's to explore this and make a proposition? I think it should be considered that GitHub has a native "Blame" button that would appear right next to it:

Please, see my comment on issue 17430 :)

Please, see my comment on issue 17430 :)

Closing in favor of the approach mentioned in issue 17430.


Reduce readme clutter - Move projects to other files

This will make arrangement easier and README shorter.

Thank you :D


[glfw3] Build failure on x64-linux

Package<EMAIL_ADDRESS>Host Environment

Host: x64-linux
Compiler: GNU 13.2.1
vcpkg-tool version: 2024-03-14-7d353e869753e5609a1f1a057df3db8fd356e49d
vcpkg-scripts version: 7e840a565 2024-04-22 (47 minutes ago)

To Reproduce
vcpkg install glfw3
Failure logs
-- Downloading https://github.com/glfw/glfw/archive/3.4.tar.gz -> glfw-glfw-3.4.tar.gz...
-- Extracting source /root/vcpkg/downloads/glfw-glfw-3.4.tar.gz
-- Using source at /root/vcpkg/buildtrees/glfw3/src/3.4-2448ff4533.clean
GLFW3 currently requires the following libraries from the system package manager:
    xinerama
    xcursor
    xorg
    libglu1-mesa
    pkg-config

These can be installed on Ubuntu systems via sudo apt install libxinerama-dev libxcursor-dev xorg-dev libglu1-mesa-dev pkg-config

Alternatively, when targeting the Wayland display server, use the packages listed in the GLFW documentation here:

https://www.glfw.org/docs/3.3/compile.html#compile_deps_wayland
-- Found external ninja('1.11.1').
-- Configuring x64-linux
-- Building x64-linux-dbg
-- Building x64-linux-rel
-- Fixing pkgconfig file: /root/vcpkg/packages/glfw3_x64-linux/lib/pkgconfig/glfw3.pc
CMake Error at scripts/cmake/vcpkg_find_acquire_program.cmake:166 (message):
  Could not find pkg-config.  Please install it via your package manager:

      sudo apt-get install pkg-config
Call Stack (most recent call first):
  scripts/cmake/vcpkg_fixup_pkgconfig.cmake:193 (vcpkg_find_acquire_program)
  ports/glfw3/portfile.cmake:53 (vcpkg_fixup_pkgconfig)
  scripts/ports.cmake:175 (include)

Please refer to the following message:
CMake Error at scripts/cmake/vcpkg_find_acquire_program.cmake:166 (message):
  Could not find pkg-config.  Please install it via your package manager:

      sudo apt-get install pkg-config

Thanks for posting this issue. This issue has been solved, so I am closing this issue for now.


fix(build): declare ModuleNameOptions as consumed by the new webpack plugin

Great, if you could add this change as well I'll close my original PR #23.

@niieani I did not do it so that it wouldn't conflict with your PR... We can merge both independently, can't we?

OK then.


rebase: update minikube to 1.27.0

The fscrypt kernel module has been enabled, yay!
See-also: kubernetes/minikube#14783
Updates: #3310

Show available bot commands
These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:

/retest ci/centos/<job-name>: retest the <job-name> after unrelated
failure (please report the failure too!)
/retest all: run this in case the CentOS CI failed to start/report any test
progress or results

:+1: @irq0 https://github.com/ceph/ceph-csi/pull/3310

Nice! I'll rebase #3310 and remove the pre-release ISO config when this is merged

@mergifyio rebase

/test ci/centos/mini-e2e/k8s-1.22

/test ci/centos/mini-e2e/k8s-1.23

/test ci/centos/mini-e2e/k8s-1.24

/test ci/centos/mini-e2e-helm/k8s-1.22

/test ci/centos/mini-e2e-helm/k8s-1.23

/test ci/centos/mini-e2e-helm/k8s-1.24

/test ci/centos/k8s-e2e-external-storage/1.22

/test ci/centos/k8s-e2e-external-storage/1.23

/test ci/centos/k8s-e2e-external-storage/1.24

/test ci/centos/upgrade-tests-cephfs

/test ci/centos/upgrade-tests-rbd


missing claim search entries

i.e.
{"jsonrpc":"2.0","method":"claim_search","params":{"page_size":20,"page":1,"claim_type":["stream","repost"],"no_totals":true,"not_tags":[],"order_by":["release_time"],"has_source":true,"fee_amount":">=0","channel_ids":["0739af4338a3e9c2307c4170107b30c0af1e1a1f"],"release_time":"<1656102420","include_purchase_receipt":true},"id":1656102468406}
is missing: https://odysee.com/@Cahlen:0/CahlenLee_20220623_DefiningHarm:4

This ended up being a bug due to fee amount filter - it works without it. Removed for now, but this should be fixed.

Could be similar to https://github.com/lbryio/herald.go/issues/40


Unexecuted text sticks around in readonly debug console text area after session

Issue Type: Bug
Repro:

Start debug session
Type something into the debug console (don't execute)
When debug session ends it results in this:

When it's in this state, this is what it looks like when it's unfocused:

I cannot edit/delete the text.
VS Code version: Code - Insiders 1.31.0-insider (e02e44464c02d617b98d0a3265bf5efef7794436, 2018-12-21T06:15:51.434Z)
OS version: Linux x64 4.15.0-43-generic

By design the input is readonly while you are not debugging.
This feels like a corner case so I decided that when a debug input turns readonly that we only show the decoration if there is no text - since from your screenshot it looks like a glitch.
Otherwise the text will still be readonly.

👍


Box plot widget

Add the box plot widget
https://plotly.com/javascript/box-plots/

Partially done with #5


Consecutive startTransaction requests are sent, even before getting the response within the timeout period.

Hey @matth-x ,
The logs look something like this:
[OcppOperation] Sent requirement (success): [2,"531531536","StartTransaction",{"connectorId":1,"meterStart":0,"timestamp":"2022-02-24T10:01:39.000Z","idTag":"vckjvcJvjk337nKJCn92"}]
[OcppOperation] Sent requirement (success): [2,"531531536","StartTransaction",{"connectorId":1,"meterStart":0,"timestamp":"2022-02-24T10:01:39.000Z","idTag":"vckjvcJvjk337nKJCn92"}]
[OcppClientSocket] get pong
[OcppOperation] Sent requirement (success): [2,"531531536","StartTransaction",{"connectorId":1,"meterStart":0,"timestamp":"2022-02-24T10:01:39.000Z","idTag":"vckjvcJvjk337nKJCn92"}]
[OcppClientSocket] get pong
[OcppOperation] Sent requirement (success): [2,"531531536","StartTransaction",{"connectorId":1,"meterStart":0,"timestamp":"2022-02-24T10:01:39.000Z","idTag":"vckjvcJvjk337nKJCn92"}]

Happening with StopTransaction as well. The following are the console logs -
[OcppOperation] Sent requirement (success): [2,"531531539","StopTransaction",{"meterStop":2,"timestamp":"2022-02-24T13:54:20.000Z","transactionId":58}]
[OcppOperation] Sent requirement (success): [2,"531531539","StopTransaction",{"meterStop":2,"timestamp":"2022-02-24T13:54:20.000Z","transactionId":-1}]
[OcppClientSocket] get pong
[OcppOperation] Sent requirement (success): [2,"531531539","StopTransaction",{"meterStop":2,"timestamp":"2022-02-24T13:54:20.000Z","transactionId":-1}]
[OcppClientSocket] get pong
[OcppOperation] Sent requirement (success): [2,"531531539","StopTransaction",{"meterStop":2,"timestamp":"2022-02-24T13:54:20.000Z","transactionId":-1}]
[OcppClientSocket] get pong
[OcppOperation] Sent requirement (success): [2,"531531539","StopTransaction",{"meterStop":2,"timestamp":"2022-02-24T13:54:20.000Z","transactionId":-1}]

One thing that I understand here is, whenever a request is being sent (in my case heartbeat) and a proper .conf() response is not coming back. The code retries until timeout. But if another request like Start/Stop transaction is made within that time period, it fails.
Look at the following console logs -
[OcppOperation] Sent requirement (success): [2,"531531540","Heartbeat",{}]
[OcppClientSocket] get pong
Trig HIGH **I am triggering the authorize function here**
EV_CHARGE_PIN set to high
[OcppOperation] Sent requirement (success): [2,"531531540","Heartbeat",{}]
[OcppClientSocket] get pong
[OcppOperation] Sent requirement (success): [2,"531531540","Heartbeat",{}]
[OcppEngine] Discarding operation due to timeout: [OcppOperation] I am a Authorize
[OcppOperation] Sent requirement (success): [2,"531531540","Heartbeat",{}]
[OcppClientSocket] get pong

@matth-x How to deal with this?

Hi @niravbhandari2000 @valerio-2020
Thank you for the feedback! I admit that the console output is not 100% clear here. The message
[OcppOperation] Sent requirement (success): [...]

means that the OCPP library assumes that the message was sent successfully. But it actually doesn't know and just waits for the response from the destination with a timeout and retry mechanism. That explains why one operation appears multiple times on the log.
The log in https://github.com/matth-x/ArduinoOcpp/issues/50#issue-1149183983 looks completely normal. The log in https://github.com/matth-x/ArduinoOcpp/issues/50#issuecomment-1049885314 actually shows a bug, because the library tries to resend with a different OCPP message (the transactionId differs). Thank you for the report! I will investigate it and come back to you. https://github.com/matth-x/ArduinoOcpp/issues/50#issuecomment-1049912159 shows that different operations can have different timeouts. A Heartbeat message waits longer when the EVSE is offline, however the Authorize message has a quick timeout, because the EV driver shouldn't be waiting for more than 30 seconds after presenting the NFC card in case the EVSE is offline. So the Authorize operation will just be discarded in the meantime. You can see how to control timeouts in ArduinoOcpp.cpp. If you need a custom timeout, just copy the contents of authorize(...) into your implementation and set the parameters according to your needs.

Checked it and the bug in https://github.com/matth-x/ArduinoOcpp/issues/50#issuecomment-1049912159 is already addressed in the develop branch


add script to create stub config

Codecov Report

Merging #111 into release-0.2 will not change coverage.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             release-0.2    #111   +/-   ##
=============================================
  Coverage           39.6%   39.6%
  Complexity           599     599
=============================================
  Files                140     140
  Lines               4421    4421
  Branches             324     324
=============================================
  Hits                1751    1751
  Misses              2542    2542
  Partials             128     128

Continue to review full report at Codecov.

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


How to recognize an object's end point automatically?

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{ R200 / F200 / SR300 / ZR300 / D400 }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
{Win (8.1/10) / Linux (Ubuntu 14/16/17) / MacOS

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC/Raspberry Pi/ NVIDIA Jetson / etc..

SDK Version
{ legacy / 2.. }

Language
{C/C#/labview/nodejs/opencv/pcl/python/unity }

Segment
{Robot/Smartphone/VR/AR/others }

Issue Description
<Describe your issue / question / feature request / etc..>
I'm going to use the measure.cpp code. Is there a way to automatically grab both ends of an object other than to measure the length with the mouse cursor? I hope there's at least a hint.

Hi @HyeYumKim  Programs that automatically measure between points without user input typically generate a bounding box around the object so that only coordinates within the bounding box are considered.  Examples of this approach are the RealSense SDK's example program box_dimensioner_multicam and 'Example 2' of the RealSense TensorFlow wrapper, both of which are for Python.
box_dimensioner_multicam

TensorFlow Wrapper - Example 2

Hi @HyeYumKim  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


fix pod termination issue when kubelet mounted as symlink

Pull request checklist

Pull request type

Please check the type of change your PR introduces:

[x] Bugfix
[ ] Feature Enhancement
[ ] Test Automation
[ ] Code Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Community Operator listing
[ ] Other (please describe):

What is the current behavior?

What is the new behavior?

How risky is this change?

[ ] Small, isolated change
[ ] Medium, requires regression testing
[ ] Large, requires functional and regression testing

Image: quay.io/badri_pathak/ibm-spectrum-scale-csi-driver:deletion_test5

Image: quay.io/badri_pathak/ibm-spectrum-scale-csi-driver:deletion_test6

quay.io/badri_pathak/ibm-spectrum-scale-csi-driver:deletion_test7

regression passed:


[Tooltip, Link Preview, Menu, Popover, Listbox] fix content jump on unmount by handling stale anchor reference

closes #1058, #1039
https://github.com/melt-ui/melt-ui/assets/53095479/a1ee3f6c-badf-4fac-8049-8a90ea73249c
This has been an ongoing issue with multiple components--the content jumps to the top left of the page when you unmount the component externally while the content is open when using an out transition on the content and when using an else if block to render the content.
The previous workaround that solved this issue for all components but the tooltip was to introduce sleep(0) before setting the $open state to false. So when the component get unmounted externally while the content is open, svelte can unmount the whole component instead of, for some reason, starting the transition out of the content, at which stage the content loses its anchor and causes the content to jump to the top left of the page.
However, for some reason, adding sleep(0) to the tooltip as a workaround does not work. It requires adding a pretty significant delay (~80ms) to prevent this issue. However adding a significant delay is not preferable.
I dug deeper into this issue and found out that the reason the content jumps to the top left of the page is because in useFloating, the compute function reruns to set the new position of the content as it is transitioning out.
I found out that the client rect of the reference (the anchor) is { top: 0, left: 0 } during the unmounting of the content. The reason for that is that we are holding a reference to the trigger which was already unmounted, but in JavaScript, you can still hold a reference to an html element that is not in the document anymore. An html element that is not the document has client rect of 0s.
So our code that recomputes the position of the content is rerun with a trigger that is "at the top left of the page", but in reality it's no longer in the document.
So we should check if the reference is in the document before computing a new position for the content.
And so this finally solves this issue without having to add delay(0) to so many builders in addition to the delay not working in the case of the tooltip.
Finally :)

For some reason a test in Combobox wasn't passing after removing sleep(0) from closeMenu in listbox/create.ts, even though I just recently added the delay in a PR. I fixed the tests in question

This makes complete sense!


tool: fix --help in update_bindings

Feel free to squash/merge and delete the branch if you're happy


Add automatic support for CORS on http/s imposters

A few people have asked for help with CORS preflight requests. You can support it in mountebank by handling the OPTIONS request, but it has caused enough questions that it'd be good to bake it in.  Here's a recent response:
Reading https://www.html5rocks.com/en/tutorials/cors/, it looks like you'll need to set up an answer to the preflight that looks something like this:
The request they show is:
OPTIONS /cors HTTP/1.1
Origin: http://api.bob.com
Access-Control-Request-Method: PUT
Access-Control-Request-Headers: X-Custom-Header
Host: api.alice.com
Accept-Language: en-US
Connection: keep-alive
User-Agent: Mozilla/5.0...
and the response is
Access-Control-Allow-Origin: http://api.bob.com
Access-Control-Allow-Methods: GET, POST, PUT
Access-Control-Allow-Headers: X-Custom-Header
Content-Type: text/html; charset=utf-8
which could work as something like this in mountebank (typed into email so probably JSON mistakes):
{
"predicates": [{
"equals": {
"method": "OPTIONS"
}
}],
"responses": [{
"is": {
"headers": {
"Access-Control-Allow-Origin": "${ALLOW-ORIGIN}",
"Access-Control-Allow-Methods": "GET, POST, PUT",
"Access-Control-Allow-Headers": "${ALLOW-HEADERS}"
}
},
"_behaviors": {
"copy": [
{
"from": { "headers": "Access-Control-Allow-Origin" },
"into": "${ALLOW-ORIGIN},
"using": { "method": "regex", "selector": ".+" }
},
{
"from": { "headers": "Access-Control-Allow-Headers" },
"into": "${ALLOW-HEADERS},
"using": { "method": "regex", "selector": ".+" }
}
]
}
}]
}
You don't have to use the copy behavior (which was just released this week and requires v1.8) if you want to hard-code for the specific request, but it allows you to always respond with what the client asked for. There's a few other options listed on the link above based on what the server provides.

I do this myself, but what if I want the option to NOT have a CORS response?  would it be something like:

pass a useCORS flag to the server on start up
if flag present then use the copy stuff above to respond the the initial CORs request automatically
else  behave as was before this feature was introduced

Does that sound right?

Yes that's exactly right, thanks for clarifying. This should be a root-level imposter configuration flag:
{
    "protocol": "http",
    "port": 3000,
    "useCORS": true,
    "stubs": [...]
}

Should also remove the FAQ when implemented


Multivalue fields not visible in test manager or visual studio 2015

We have added multi-values fields on a work item this is visible in tfs 2017 update 1 (webview)  but not visible to the user that is accessing the platform via test manager and/or visual studio.

I see the same issue.

Just found #6. If this is still true it would be helpful to mention the lack of support for Visual Studio in the readme/homepage.

Thanks for the feedback. This work is now scheduled for this and similar extensions.

As in #6 extensions can only be used in the web version of the product.


Cannot set force_override via knife node edit

Description
From the code, it seems like one cannot edit force_override properties via knife. Is there a reason for this?
Chef Version
12.19.36
Platform Version
OS X 10.12.3
Replication Case
Add a force_override object via knife node edit -a nodename alongside other precedences like default. The following should be the output:

Node not updated, skipping node save

As explained on StackOverflow, all levels other than normal are wiped and rebuilt every run so this is not possible.

@coderanger Do you think it would be good to remove the other precedence levels other than normal from https://github.com/chef/chef/blob/master/lib/chef/knife/core/node_editor.rb#L60-L70? I could work on a PR for that.

So this is kind of an awkward intersection between low-level API tooling and "what the user actually wants". The knife * edit commands are all intended to be pretty direct mappings to the API. You can actually edit other levels, and it would get saved back up to the server, but then chef-client would happily ignore it. We've tried to find a balance in node edit specifically because it is the most commonly used (indeed, the only one that should even be used in a non-emergency situation). I don't have a good answer this, but yes we should probably think more holistically about the UX of that command and either let you edit all levels even if some don't work, or otherwise don't even bother presenting the others in the editor.

or otherwise don't even bother presenting the others in the editor.

@coderanger What do you think about removing the -a option when editing:
$ knife node edit
USAGE: knife node edit NODE (options)
    -a, --all                        Display all attributes when editing
...


Add basic skeleton for Integrations CLI with type checking command

Description
Per issue #31, this PR adds a basic CLI with a type checking command. The purpose of this PR is to add a place where commands can be organized and added to an existing tool, without needing to repeat that operations work. As such, it does not supply every sub-command mentioned in the issue, but does deliver a minimal type-checking command that can deliver some immediate value.
In a future PR, tests will need to be added. This was written somewhat quickly due to immediate need.
Issues Resolved
Closes #31. Sub-commands as detailed in the issue can be added as separate feature-request issues later.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@YANG-DB how can we get mobility on this?


Refetch service list after Epinio service creation

The service list would need to exist in order to catch the emitted event.

If the service list didn't exist, it also wouldn't need to catch the emitted event. Because it would just get the events whenever it loads and that would be fine.

I have updated the PR to destroy the event listener. I didn't specify an event listener because this doc https://vuejs.org/v2/api/#vm-off said all listeners should be destroyed if none is specified.

While working through another issue I've quickly fixed this, and improved it for the edit case - https://github.com/rancher/dashboard/commit/295c37d04d3738516d0619cbb23a80fcc07e2fa9


Can't resolve image in seperate folder

Hello,
   html-bundler-webpack-plugin  Can't resolve src\static\images\Logo.png in the file src\views\index.html

It's called in this eta template that:
<header>
	<img src="../static/images/Logo.png" />
</header>

That is then referenced in this view:
<!DOCTYPE html>
<html lang="en">
	<head>
		<title>Test</title>
		<%~ include('./src/components/head.eta') %>
	</head>
	<body>
		<%~ include('./src/components/header.eta') %>
	</body>
</html>

And, the file does exist.
Here is the webpack config
'use strict';
const path = require( 'path' );
const HtmlBundlerPlugin = require( 'html-bundler-webpack-plugin' );

module.exports = ( env, argv ) => [
	{
		devtool: ( argv.mode === 'development' ) ? 'inline-source-map' : false,
		output: {
			path: path.resolve( __dirname, 'build' ),
			clean: true
		},
		plugins: [
			new HtmlBundlerPlugin({
				entry: './src/views',
				hotUpdate: 'auto', // doesn't seem to work
				minify: 'auto',
				css: { inline: true }
			})
		],
		module: {
			rules: [
				{
					test: /\.(css|sass|scss)$/,
					use: [ 'css-loader', 'sass-loader' ]
				}
			]
		},
		devServer: {
			hot: false,
			port: 8000,
			allowedHosts: 'auto',
			static: path.resolve( __dirname, 'build' ),
			watchFiles: 'src/**/*',
			client: { progress: true },
			devMiddleware: { writeToDisk: true }
		}
	}
];

Thank you!

Hello @AidanWelch,
can you please create a small repo with reproducible issue. Thank you!

@webdiscus
Of course, here it is

@AidanWelch
to resolve images in HTML you must add the rule for images:
'use strict';
const path = require( 'path' );
const HtmlBundlerPlugin = require( 'html-bundler-webpack-plugin' );

module.exports = ( env, argv ) => [
	{
		devtool: ( argv.mode === 'development' ) ? 'inline-source-map' : false,
		output: {
			path: path.resolve( __dirname, 'build' ),
			clean: true
		},
		plugins: [
			new HtmlBundlerPlugin({
				entry: './src/views',
				hotUpdate: true, // <= works fine, use it only if you don't have a script
				minify: 'auto',
				css: { inline: true }
			})
		],
		module: {
			rules: [
				{
					test: /\.(css|sass|scss)$/,
					use: [ 'css-loader', 'sass-loader' ]
				},
                                // => add the rule for images
				{
					test: /\.(ico|png|jp?g|webp|svg)$/,
					type: 'asset/resource',
					generator: {
						filename: 'img/[name].[hash:8][ext][query]',
					},
				},
			],
		},
                // enable live reload
		devServer: {
			hot: true,
			static: path.join(__dirname, 'build'),
			watchFiles: {
				paths: ['src/**/*.*'],
				options: {
					usePolling: true, // <= use it instead of writeToDisk
				},
			},
		},
	}
];

The hotUpdate can be only true or false. See please the documentation for the hotupdate option.

@webdiscus

to resolve images in HTML you must add the rule for images:

Perfect thank you, I had interpreted the docs to have been saying including the loader was just for additional configuration, as it wasn't shown in the basic example.
As for the issue with hotUpdate, I had tested it with true, I just hadn't looked at it too much.  It was just that my devServer config had hot set to false.


changed image path

I changed the image path to "images/ImageName.fileformat" because without images/ part, the snippet did not work in my project but it did with it, and also I confirmed that the code still worked in your example project so I thought it'd save time for developers in the future if they didn't have to bump into the same issue.

Hi @DrCardamom,
don't know if this is still relevant, but did you read (meanwhile) read through gbis README or the gatsby-image Docs on images?
As it clearly states how to setup a project so that it will load images from the images/ folder here in the README & here in the Gatsby Docs ; ).
And as gbitest works correctly I'm closing this PR. Thanks nevertheless : )!
Best,
Tim.


Standardizing wg-common repository

Hi,
Since there is a constant effort to standardize the WG repositories, as listed here,
the wg-common repository contains a directory called template-folder which defines the metrics template.
Considering the fact that we already have a dedicated repository for metrics, should we remove this directory?

Thanks @ritik-malik
I agree with removing the metric template since it's duplicating what we already have.
The naming convention would be interesting to add to the Community Handbook on the metric page. Can you please make sure that knowledge is preserved before we remove it here?

Sure @GeorgLink ,
Should I add an extra sub heading for the naming convention in the metric page?
Also, do we need an extra heading in Working Group page for standard WG repository template as we discussed earlier?

Good question. I think the repo structure needs a new sub-page. I created a
blank page here:
https://handbook.chaoss.community/community-handbook/community-initiatives/working-groups/wg-repository-structure
The naming convention for metrics can be added to the metric template in
the chaoss/metrics repo, the metric handbook page, or the repo structure
page. Not sure which is the best location

Thank you for creating the page @GeorgLink,
I'll add that repository structure to it (hoping the doc is finalized)
As for the naming convention, I think we could add it to all 3 locations to be safe,
as it would also be helpful for a new contributor looking for guidelines (rather than redirecting user to specific page)
Nevertheless, if you want it in some specific file, please let me know and I will do the same

That's both fine with me.
On Wed, Apr 14, 2021 at 3:24 PM maalik @.***> wrote:

Thank you for creating the page @GeorgLink https://github.com/GeorgLink,
I'll add that repository structure to it (hoping the doc is finalized)
As for the naming convention, I think we could add it to all 3 locations
to be safe,
as it would also be helpful for a new contributor looking for guidelines
(rather than redirecting user to specific page)
Nevertheless, if you want it in some specific file, please let me know and
I will do the same
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/chaoss/wg-common/issues/114#issuecomment-819808296,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACDTSRIREFZ343CQMPDB4ALTIX2Y7ANCNFSM424Z3LKQ
.

--
Georg Link, PhD
(he/him)

PR Merged.


Testing sort price

I just make all the int_drink_price to float_drink_price and pull out the sortPrice and sortDate to the sortFunctions.js file. Then I created the unit testing.

I will checkout this branch and fix the jest tests


C# APIs to get D415 intrinsic

I am looking for a way to get D415's camera intrinsic using RealSense C# APIs.  Can some please help?  Provide a simple example?
I am using SDK version 2.36
Thanks
Raj
Hi @baifanxxx   The '2016 R2' Windows SDK no longer receives technical support from Intel.  Support is provided for the current 'RealSense SDK 2.0' (librealsense), which is also compatible with the SR300.
https://github.com/IntelRealSense/librealsense
If you install the Windows version of RealSense SDK 2.0 then you can access a pre-made executable program called rs-sensor-control.  Because it is an executable, you do not need to compile it and so can run it immediately from the Windows command prompt window.
The command prompt window can be accessed on Windows by going to the text box at the bottom of your Windows screen (the one beside the button where you shut down the computer and typing command into the box to find the launch lnk for the command prompt.
Once in the command prompt window, you can find the sensor-control program by copy and pasting this command into the window:
cd C:\Program Files (x86)\Intel RealSense SDK 2.0\tools
This will take you to the RealSense SDK 2.0's "Tools" sample program directory.
After making certain that you have your RealSense camera plugged in, enter the command below to run rs-sensor-control to access the intrinsics and extrinsics by entering a series of option choices on your keyboard:
rs-sensor-control
A guide to using rs-sensor-control with SR300 is in the link below:
https://github.com/IntelRealSense/librealsense/issues/5134#issuecomment-546641014
Please let us know if you also need a way to access the intrinsics through C3 in RealSense SDK 2.0.
Originally posted by @MartyG-RealSense in https://github.com/IntelRealSense/librealsense/issues/6935#issuecomment-664535759

Hi @rajrajeswaran   Is the Get Video Stream Intrinsics code snippet in the link below from the C# wrapper's "C# Cookbook" documentation useful to you in your goal to get camera intrinsics with C# code, please?
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/csharp/Documentation/cookbook.md#get-video-stream-intrinsics

Thank you @MartyG-RealSense .  Truly appreciate the help.


Enabling batch processing support, Adding new Python API

With RPP 0.2 Release this PR building with no errors. Check CI logs.


Bump IREE to 7850ea99eebadf84e91963da12a49236fdd613f5

These tests were added in https://github.com/nod-ai/iree-amd-aie/pull/795

Probably this commit:
https://github.com/llvm/llvm-project/commit/3ad0148020ca91cc288bffd8ad36e25f7555a3bb#diff-72ebcdb4d3db4feaffadbb116379626ea14f4383014ef24792e2b6c37765143d
Annoyingly there isn't a single example of using linalg.matmul in any python tests in MLIR upstream.
Makes me wonder if these tests will easy to maintain going forward, or if we should disable this directory for now and reconsider it at a later point.

Probably this commit:
llvm/llvm-project@3ad0148#diff-72ebcdb4d3db4feaffadbb116379626ea14f4383014ef24792e2b6c37765143d
Annoyingly there isn't a single example of using linalg.matmul in any python tests in MLIR upstream.
Makes me wonder if these tests will easy to maintain going forward, or if we should disable this directory for now and reconsider it at a later point.

Just saw your comment after sending mine :) yeah, I think we should probably want to disable the tests unless @makslevental has a better idea to refactor these tests.


Test of cookie name and value length

Added 2 tests of max cookie name and length.

Actually the complete cookie line (including options) must not exceed 4k but this is better than no check at all. Perhaps a len(name)+len(value) check would do the trick?


Dates and Excel

We've had feedback from a number of people who are using Excel to manage their .csv files that when you open a .csv Excel automatically converts the date from yyyy-mm-dd to dd-mm-yyyy.
It is possible to reformat the date back to yyyy-mm-dd via the cell format menu (cmd+1 on a Mac, CTRL+1 on Windows). But it is inconvenient having to repeat this step each time.

There are some free .csv editors which may be able to help. We've not investigated this, but these look promising:

CsVed (Windows)
CSV Pad (Windows / Linux)
Table Tool (Mac OS)

If you must use Excel, you can change the settings by following these steps:

Highlight the date columns.
Select “format” (Ctrl + 1 on a windows machine).
Select “date” and choose the correct formatting.

Once you’re ready to publish the register, save the file as a CSV and upload it.
Unfortunately, the next time you open the file the date formatting can revert, but so long as you correct it just before uploading, the formatting on the live version will be correct.


StudentFinanceCalculator: Remove 2018 dates, add 2020 dates and adhere to the style guide

Originally raised as #4238 and then reverted in #4242 as I was too quick for departmental fact-check. Raising this again for a new Heroku preview link.

From @OrcaTom: "This has been approved by the department this morning so can be deployed."


Set up Java Spring Boot project for backend

Create Java Spring Boot project with necessary dependencies using Maven.

If you want to create it fast,
Step1] Go to Spring Initializr website--> https://start.spring.io/ ,
Step2]  Select, Project as maven , your Spring boot version, and fill Project metadata info and starter dependencies whichever you want to use .
Step3] Download this file from the website extract it and import it in Eclipse.
And you are good to go.

Thank you for the tip, @shubhampawar13 ! This is our first Spring Boot project, and we are currently looking into how to set up the project properly. Feel free to follow along while we develop the web app.


added RD florin-cardasim

Docs Build status updates of commit 405d50a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

rd/florin-cardasim.yml
:white_check_mark:Succeeded

rd/index.yml
:white_check_mark:Succeeded

rd/map.yml
:white_check_mark:Succeeded

rd/media/profiles/florin-cardasim.jpg
:white_check_mark:Succeeded

rd/toc.yml
:white_check_mark:Succeeded

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


Making a C# binding from Dynamic Swift framework

I'm trying to use Dynamic in Visual Studio with C# which involves using a tool called sharpie which consumes a .framework's header files, but in the Dynamic source code i see no header files. I am not used to using swift so i don't know if this is conventional, but i was hoping you could assist by helping my construct the header file or if you could provide the headers or even better a constructed .framework file from the source code?

There are no header files because this is Swift, and Objective Sharpie, as its name suggests, is for Objective C. You can't bind this framework because it's for Swift. If you needed to get a private API and you're using Objective C, you would just use that, there's no need to use this.
Having said that, you could potentially write your own framework library in Swift, use this library to get the values you want, and write a proxy that does output Objective C headers that Objective Sharpie can use.
https://learn.microsoft.com/en-us/xamarin/ios/platform/binding-swift/walkthrough
This should get you started.

Just wanted to pop in and say I ran into a similar problem earlier this year when working on a Maui app. Hopefully this helps anyone else who needs to call something in Swift from Maui. That being said, I do need help making my windows transparent so the first part of this will be help for others and the second part is me asking for help myself. I needed a way to adjust the system volume programatically. I found this library but it was in swift and I needed to call it from C#. The solution to this was to add C declarations to the end of the file. I took the methods from his extension and put it into a new swift file in XCode.
For example, one of the methods is named getSystemVolume:
private func getSystemVolume() -> Float
{
    // Code in the method..
}

I then added the following to the bottom of the file for each method I needed to access.
@_cdecl("getMainVolume")
public func getMainVolume() -> Float {
    return getSystemVolume()
}

I compiled this to a dylib called libMacAudioController.dylib and copied that to /usr/local/lib/.
To call this method from the Maui app I added the following code.
[DllImport("/usr/local/lib/libMacAudioController.dylib")]
private static extern float getMainVolume();

Now I'm back on the hunt for a solution as I need to make one of the windows in my app transparent. I'm hoping this library could help with that but not sure yet. I think the examples in the readme are a great start. I just don't know how to get a reference to the window in maui and pass that to the dylib (once I make it).
// This would change from:
extension UIWindow {
    var nsWindow: NSObject? {
        var nsWindow = Dynamic.NSApplication.sharedApplication.delegate.hostWindowForUIWindow(self)
        if #available(macOS 11, *) {
            nsWindow = nsWindow.attachedWindow
        }
        return nsWindow.asObject
    }
}

// To something like this and I would pass in a reference to the window instead of using self:
function getWindowReference(THIS_WAS_SELF_BEFORE: SomeType) -> NSObject
{
    var nsWindow = Dynamic.NSApplication.sharedApplication.delegate.hostWindowForUIWindow(THIS_WAS_SELF_BEFORE)
    if #available(macOS 11, *) {
        nsWindow = nsWindow.attachedWindow
    }
    return nsWindow.asObject
}

Basically, I need a transparent window so the user can watch something behind it while training. This window fades from transparent to black based on the client's brainwaves (if they are doing at the correct frequency and microvolts the client will be able to see the video on the screen, if not the screen will be black).
If anyone has tried this before or encountered a similar issue and could point me in the right direction I'd greatly appreciate it.


Use X-Forwarded-For header in example

For HTTP websites using reCAPTCHA, the captcha requests will be HTTPS. This means that users using an HTTP proxy will have a different remote IP than that seen by the captcha server (since HTTP request will go through the proxy, but not HTTPS requests). The website should probably look at the X-Forwarded-For header (if present) to get the remote IP.
The X-Forwarded-For header is easily spoofable, but it still seems like a better approach than breaking captchas for proxy users (which is a large fraction of Android traffic: https://developer.chrome.com/multidevice/data-compression).

Closing super old issues. Please re-raise if still relevant.


package name/namespace

No strong personal opinion, but I noticed the "complexity" name is already colonized in a few of the big repos (https://repology.org/project/complexity/versions) and figured it was worth a mention while this is young :)

@abathur much appreciated (especially now, when it's easier to change!)
Keep your eyes peeled – I'll be circulating this internally to see if members of the team who worked on this might have recommendations. I also wouldn't complain if you (or others) had ideas in mind.
I would like to highlight that (at least in the very near term) it'll remain language-agnostic and avoid building an AST/interpretation of the source being analyzed. I can't say we won't ever factor in line length, and I can't say what sorts of scoring algorithms we may shift to. Again, it's all... quite early stages (as is the case with most projects hacked together in under a week)!


Roll Flutter Engine from 6a75cb6a6a57 to ee35d0bdcf69 (1 revision)

https://github.com/flutter/engine/compare/6a75cb6a6a57...ee35d0bdcf69
2024-12-17<EMAIL_ADDRESS>Roll Skia from dca47129cf2e to f784f78a5669 (3 revisions) (flutter/engine#57242)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

AutoRoller is stopped; closing the active roll.


[Mobile bug] you can't swipe left or right on the top featured items

Description
try swiping left or right on the top featured items, nothing happens
Reproduction steps
video for reference: https://imgur.com/a/5S4YWhs
App version
1.6.0
Operating system
google pixel 7
Logs
No response
Please confirm the following

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] If related to a provider, I have checked the site and it works, but not the app.

I just did some further testing with this, and it does look like you can swipe them left or right, but its super finicky. Maybe a small area triggers it by the title? would be nice if it was the whole tile

Available on Release 1.6.3


Wrong Pending Action when an order has status "Initiated"

When an order has status Initiated the Pending Action should be "Pending Review by CMO"

Provided mockup:

Started looking into it.

Pending action corrected and created a pull request.

Thank you. But what happens if the order is accepted or canceled? What will be the status? If an order has status "Canceled"
pending action should be "There are not further pending actions".
If an order is "Approved" the pending action should be Pending Shipment Preparation

Thank you for providing more inputs on this. Will make changes accordingly.

Pending action corrected for cancelled, approved and pending review status.
Pull request has been created.


Roll Flutter Engine from 89c775963926 to aebc0021cd18 (1 revision)

https://github.com/flutter/engine/compare/89c775963926...aebc0021cd18
2024-03-18<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from Ow67Jf4AHxeapVlCa... to I5fL_9DJQBS1Bydbz... (flutter/engine#51482)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from Ow67Jf4AHxea to I5fL_9DJQBS1
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Moar testing

DISCUSSION! Running our two_ghe test takes too much memory/cpu for the (free) GHA runner, which cancels the test. Googling around found https://github.com/actions/runner-images/issues/6680 which explains it. This implies our options are:

Splash cash for bigger runners
Honey I shrunk the test
Not run the two_ghe test (at least comment it so it doesn't run automatically on CI)

I think option 3 is the best combination of low cost but still allows us to run the test locally. @mitchute wat do?
Some of the tests weren't running because the paths were outdated. This PR:

Fixes the paths

And DRYed up the paths

Added some assertions to the network tests

And handled the fact that we now re-write the sys-param files in-place

Revived the GHE test that was commented

@vtnate my first question is why the two ghe test is consuming so much memory/resources? I'm not necessarily expecting you to have an immediate answer, but GHEDesigner should be pretty capable of handling GHE with several thousand boreholes. If we are attempting GHE that are HUGE, then I say, yes, let's shrink it. If not, there must be some other issue.

Thanks @mitchute, that's good context. I'll dig into the profiling to see where this is blowing up. GHA doesn't tell me if the problem is memory or cpu, just that it's one of those. Nor does GHA tell me what the limits are, only that we're over them. 🙄


Importing geometry in gmsafir

Dears,
I have to model industrial steel buildings and I am trying to import the geometry in gmsafir proceeding as follows:

creating the unifilar geometry in Autocad;
exporting in .igs;
create a new .geo file in Gmsafir;
merging the .geo file with the .igs geometry.

At the end of this procedure I have a .geo file on which I can work as usual but I noticed that:

the .geo file doesn't save the geometry once closed and reopened (it's always necessary to merge the .igs file);
working this way, it seems that the pre-processor gmsafir goes slowly when editing the .geo file with the merged geometry in;
I am not able to select the geometry entities grouped by colors or autocad original layers (this would help me in assigning beam section types to the 3D structural model).

Attached, it is an example of the geometry I need to import.
geometry example.zip
Is there a more convenient way to do this, avoiding to create the geometry point-by-point in gmsafir?
Many thanks for your attention and kind support.
Rosario

You do it the correct way:
1/ open a blank .geo file, declare it with "OpenCascade" kernel
2/ do a merge with your .igs file
For a weird reason, Gmsh does not write the merge in the .geo file.
In your .geo file, after the line "SetFactory("OpenCASCADE");", write the following line:
Merge "STRUTTURA EDIFICIO Q_REV02.igs";
It will open correctly everytime you open the project.
For the slow behavior, it is due to the very large number of beams in your structure.
Though I tested a 1D meshing and it is quite fast.

Solved. Thank you very much.


Fix passing of execution options to git.

Execution options were not propagated in some cases. This PR should fix most most parts relevant for Theia.

@kittaakos, please review.

@AlexTugarev, let me know if you need a new release right now.

@kittaakos, actually I don't like you to do that in your free time!

Thanks @kittaakos!


feat(tabs and timepicker): added support for tabindex sr and keyboard access

I added some support for keyboard, screen reader and keyboard access, as an effort to get more 508 compliant.

Closing due to age and mixture of features - feel free to open separate PRs for implementing accessibility support for the timepicker and tabs, one per feature/component.


Enable Pull-Request builds for readthedocs

See https://docs.readthedocs.io/en/stable/guides/autobuild-docs-for-pull-requests.html

Should be done now :)

A shown in #21, it is working.


Add Polycode 0.8.4

@vitorgalvao I made those changes - Let me know if there are more.

Looks good. Could you please squash your commits?

Done in https://github.com/caskroom/homebrew-cask/commit/e65b021514e86daeeb26c462bb8c5e72fbac99af.


Resource tracking and destruction

Implements automatic management of the resources. Works just like RAII.
Closes #288, #617
User API changes:

there is no such thing as  factory.delete_something() any more
Renderer and Factory accept all handles by reference to avoid cloning
Factory works with RawBuffer type natively now instead of Buffer<()>
need to call device.after_frame() after glfw.swap_buffers()

TODO:

[X] infrastructure (handle::Manager)
[X] Buffer and ArrayBuffer
[X] Shader and Program
[X] FrameBuffer and Surface
[X] Texture and Sampler
[X] update the device (https://github.com/gfx-rs/gfx_device_gl/pull/10)
[X] cleanup resources at after_free()
[X] update the macros (https://github.com/gfx-rs/gfx_macros/pull/5)
[X] update the examples (https://github.com/gfx-rs/gfx_examples/pull/9)
[X] verify resources to be deleted

Nice!

Looks good so far.

LGTM, but I would like @bjz or @bvssvni to take a look too.

Looks good.

Is this still blocked?

No, I forgot to change the issue status. It's all ready.
Regards,
Dzmitry

On Mar 8, 2015, at 6:23, Sven Nilsen<EMAIL_ADDRESS>wrote:
Is this still blocked?
—
Reply to this email directly or view it on GitHub.

Ok, I'll merge!


Docs: Add serialization tutorial.

Fixes #
Proposed Changes
Adding a serialization tutorial
Any background context you want to provide?
The serialization of custom-defined classes is one of the core parts that distinguish HPX.
However, this feature is nowhere documented. It can only be inferred from the examples folder.
This tutorial adds a very simple example on serialization.
Checklist
Not all points below apply to all pull requests.

[ ] I have added a new feature and have added tests to go along with it.
[ ] I have fixed a bug and have added a regression test.
[ ] I have added a test using random numbers; I have made sure it uses a seed, and that random numbers generated are valid inputs for the tests.

Can one of the admins verify this patch?

add to whitelist

I see that hpx::find_here was moved from its usual location
https://github.com/STEllAR-GROUP/hpx/runs/6602647295?check_suite_focus=true#step:5:745
I made the tutorial on my 1.7.1 version
I have included runtime.hpp for the pipeline to pass.

I rendered it.
It looks malformed, but so are all other docs on my machine
I suppose it's fine?
Serializing user-defined types — HPX 1.8.0 documentation.pdf

I rendered it. It looks malformed, but so are all other docs on my machine I suppose it's fine? Serializing user-defined types — HPX 1.8.0 documentation.pdf

This is how the docs should look: https://hpx-docs.stellar-group.org/latest/html/index.html

I rendered it. It looks malformed, but so are all other docs on my machine I suppose it's fine? Serializing user-defined types — HPX 1.8.0 documentation.pdf

This is how the docs should look: https://hpx-docs.stellar-group.org/latest/html/index.html

@dimitraka could you please help @John98Zakaria to set up his build environment?

You should not have this issue, since you didn't change anything in the format of the docs. Did you try building the docs before adding your documentation? If so, did you have this issue?
In any case, make sure you use the following versions:
sphinx==3.5.4
breathe==4.16.0
sphinx-book-theme==0.1.7
docutils==0.16

You should not have this issue, since you didn't change anything in the format of the docs. Did you try building the docs before adding your documentation? If so, did you have this issue?
In any case, make sure you use the following versions: sphinx==3.5.4 breathe==4.16.0 sphinx-book-theme==0.1.7 docutils==0.16

Are you sure about the versions ?
pip is not happy about it
ERROR: breathe 4.16.0 has requirement Sphinx<3.1,>=3.0, but you'll have sphinx 3.5.4 which is incompatible.

Serializing user-defined types — HPX 1.8.0 documentation.pdf
Looks perfect now.

Serializing user-defined types — HPX 1.8.0 documentation.pdf
Now with bitwise serialization.

@John98Zakaria one last thing: your new example fails compiling on Windows (see: here, for instance). Please add a return 0; at the end of main() to fix the issue.

@John98Zakaria one last thing: your new example fails compiling on Windows (see: here, for instance). Please add a return 0; at the end of main() to fix the issue.

I thought adding return 0 explicitly was a bad practice, as some systems use other codes to indicate success.
I hope this pipeline will be clean

@John98Zakaria one last thing: your new example fails compiling on Windows (see: here, for instance). Please add a return 0; at the end of main() to fix the issue.

I thought adding return 0 explicitly was a bad practice, as some systems use other codes to indicate success.
I hope this pipeline will be clean

Normally it is perfectly fine not to return anything from main(), as in this case it behaves as if it returned 0. However when #including hpx_main.hpp on Windows we add a nasty #define main hpx::user_main, i.e. it's not really main() anymore. For this reason, the compiler complains about the missing return 0;.

@John98Zakaria now our spell check is unhappy, it complains about:
docs/sphinx/examples/serialization.rst:136: arithmatic  ==> arithmetic
examples/quickstart/custom_serialization.cpp:28: soley  ==> solely
examples/quickstart/custom_serialization.cpp:28: compatibity  ==> compatibility

Congratulations, your first PR to the HPX repository has just been merged! As a 'thank you' we offer a free STE||AR-Group t-shirt to all of our first-time contributors. If you are interested in receiving one, please get back to me directly so we can set up the delivery.