Where should we put files on disk necessary for test and run commands?

Existing Solutions:

Maven's best practice seems to just put it in the resources folder e.g. https://stackoverflow.com/questions/2948861/how-to-deal-with-the-test-data-in-junit. The standard directory layout doesn't contain any non-resource test data files https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
Gradle's current advise (as far as I could find at least) also seems to be src/test/resources https://stackoverflow.com/questions/27046642/access-file-in-junit-test-in-gradle-environment
Bazel has data dependencies and runfiles which get copied into the test/run sandbox before execution. Maven and Gradle don't have any standard for this AFAICT

Follow up of https://github.com/com-lihaoyi/mill/pull/3347

Just quoting myself here, to have the idea recorded:
https://github.com/com-lihaoyi/mill/pull/3347#issuecomment-2275147303

I could imaging a dedicated testSandboxResources targets, which automatically get copied into the sandbox when preparing the test run. This can be helpful if the app under test needs some files.
In contrast, to the other resources, which always specify resources meant to be found on the classpath, this new target explicitly is about files in the FS at runtime, but not on the classpath.

https://github.com/com-lihaoyi/mill/pull/3347#issuecomment-2282708085

The reason why I proposed a new testSandboxResouces is the fact that test resources are already bundles up in the main jar and therefore using them directly from the filesystem blurs their correct purpose. This leads to projects having lots of test reosurces in the resouces directory, which will effectively also end up in the jar, but were never supposed to end up there. I think the fact that so many projects use the test resources folder is just convenience. Maven, who invented the src/test/resources folder is simply too hard to customized to use a better location for such resources, to begin with.
In contrast, we could easily make a distinction here, make it easy to do the right thing, and avoid encouraging users to do the not-so-correct thing. resources is supposed to be packaged up in the jar, so the correct usage of these files is via the classpath. (In Maven slang, we're speaking of something like a src/run/resources.) A new type of resources (testSandboxResources or some other name) will never end up in the package. Looks like a better place for resources a test case shall look up at run time from the filesystem. Even if we don't copy them into the sandbox but make the path accessible via a Java sysprop, it looks to me as the cleaner approach.


Sketching: create_* methods should return edges or faces

This is dependent on #211. Instead of returning a reference to the Sketch, edges or faces should be returned to facilitate interactions between topological features.

Resolved by #222


Temporarily disable a signal in a block

I have an application that generates reports from a bunch of sources. When a report is generated, a Blinker signal report_created is called, and one of the receivers sends an email to subscribers of that report type.
It sometimes happens, however, that we want to (re/)generate a large amount of reports. In such cases we don’t want email sending to happen. However, if an actual report gets generated meanwhile by the normal means, i want the receiver to be called, so i can’t just disconnect that receiver.
What i could imagine is something like this:
with report_created.disable():
    generate_a_lot_of_reports()

As far as i understand, this is not possible in the current Blinker version, but please correct me if i’m wrong. Also, if this use case seems valid (ie. not a unicorn case, when only my project needs it) i’m willing to dig deeper and submit a PR for this.

As a workaround, this seems to work, there might be unexpected side effects, e.g. in a threaded environment:
from contextlib import contextmanager

def disable_signal(signal):
    original_receivers = signal.receivers
    signal.receivers = {}

    try:
        yield
    finally:
        signal.receivers = original_receivers

Done in #84


[docs] add tokens docs for designers

Closing this PR due to conflicts, new PR is https://github.com/semrush/intergalactic/pull/504


Allow the date and time pickers to be side by side on larger screens

I have a group of engineers that are complaining about the number of clicks. For example the old control allowed me to put the date and the time next to each other. This meant that they only needed 1 click, now with this new design they need 2.
I know this is knit-picky but could we schedule a feature to allow side by side display?

I mean - and google material design guide lines - date/time picker is a form of confirmation dialog were the user explicitly confirm the action.
Sorry for my bad english.

Was about to create an issue asking if this was possible. I'd also like to be able to inline the calendar so it's displayed all the time within a form.


Specifying the Node project directory with webpack dev middleware

I would like to be able to specify the Node project path when using webpack dev middleware to allow Javascript apps to be included from any location e.g.
Host/
  project.json
  Startup.cs
  Program.cs
App/
  package.json
  webpack.config.js
  src/
  node_modules/

At the moment it can't be changed from the content route. I've made what look like the necessary changes in [a fork] (https://github.com/mattwcole/JavaScriptServices/commit/bd69cb714f5985d1cb59e82d841d807d35787b4e), but ran into another issue packaging the library before I could try it out. Happy to create a pull request if this is deemed useful enough.

This looks good to me!
It's now implemented (pretty much the same as in your fork). I'll publish updated NuGet packages soon.


Unable to lint some specific files using ng lint --files

Hi,
I want to run lint only on some specific files and not the complete directory.
I used this command to run ng lint on a specific file.
npm run lint --files server.js
It lints all the files and not just server.js
Scripts in package.json:

The project is currently on angular 4.

Hello, we reviewed this issue and determined that it doesn't fall into the bug report or feature request category. This issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag angular-cli.
If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.


[flutter_tool] [dap] Forward Flutter progress events to DAP client

Builds can be slow and the legacy debug adapter would handle Flutter's app.progress events to update the toast notification during builds. This was lost in the new adapters - we should only a single "Launching.." notification for the whole progress.
This change listens to app.progress events and forwards those with finished=false to the client if the launch progress is still active.
Fixes https://github.com/Dart-Code/Dart-Code/issues/4938
https://github.com/flutter/flutter/assets/1078012/8c60cf08-e034-4a72-b31e-9c61dca388bf
Pre-launch Checklist

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

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@christopherfujino is Google Testing stuck, or did it only get queued when you approved?

@christopherfujino is Google Testing stuck, or did it only get queued when you approved?

I don't know how that magic works

@christopherfujino definitely seems like it might be stuck now though? 😄

Seems like it's stuck: https://github.com/flutter/flutter/issues/142808


Detach forked repository

Currently this repository is marked as forked from JakeBecker/elixir-ls. This would be perfectly fine if Github didn't treat this kind of repository differently in undesired ways:

It's not possible to search code. This bit me when investigating #309. For example this search says "Sorry, forked repositories are not currently searchable. You could try searching the parent repository."
Commits made in a fork will not count toward your contributions. This is mostly vanity, but might be important to some people.

Github does not intend the forked repos to live on their own, only as a proxy for making contributions to the upstream repo.
This page suggests detaching the fork could be done by contacting Github support:
https://help.github.com/en/github/setting-up-and-managing-your-github-profile/why-are-my-contributions-not-showing-up-on-my-profile#commit-was-made-in-a-fork

Also when you make a pull request, GitHub defaults to merging into JakeBecker/elixir-ls. Then you must hunt for elixir-lsp/elixir-ls. I have avoided submitting to the wrong repository so far.

Yeah I think this makes sense. I will try to contact GitHub support.

And they've already taken care of it 🎊. Thanks for the report!


Allow (un-)pinning of ipns resources.

Allow (un-)pinning of ipns resources via the icon in the same way as ipfs resources.

Thank you for reporting this.
It seems to be possible to pin "current snapshot" of IPNS address via commandline:
> ipfs pin add --progress /ipns/ipfs.git.sexy
Fetched/Processed 12 nodes
pinned Qmazvovg6Sic3m9igZMKoAPjkiVZsvbWWc8ZvgjjK1qMss recursively

Unpinning is bit tricky, as it does not work for IPNS paths:
> ipfs pin rm /ipns/ipfs.git.sexy
Error: invalid 'ipfs ref' path

It needs to be unpinned by referring to immutable multihash:
> ipfs pin rm Qmazvovg6Sic3m9igZMKoAPjkiVZsvbWWc8ZvgjjK1qMss
unpinned Qmazvovg6Sic3m9igZMKoAPjkiVZsvbWWc8ZvgjjK1qMss

That being said, it seems to be doable – it just requires one additional lookup.
I'll look into this.

Done. This feature will be present in v2.0.0alpha3.

v2.0.0alpha3 is ready for install


Notepad++: fix au

https://github.com/lukesampson/scoop-extras/issues/2308

Let's wait for https://github.com/notepad-plus-plus/notepad-plus-plus/issues/6192 to be fixed.

There are two new releases until then... Please merge this and I'll open another pr when https available.


Support rack-style array params in query strings

Commonly in rack applications, array-like structures will be represented in query param pairs by a repeated name suffixed with square brackets e.g. p[]=a&p[]=b.
ruby-jmeter in its current implementation will only allow the last query param pair of an array set to be added to the resulting jmx file i.e. in the case of e.g. p[]=a&p[]=b, only p[]=b is added as an argument.
My PR modifies the parser to support multiple query param pairs with the same name to be added to the jmx, supporting rack endpoints that require an array structure with multiple values.

Great thanks :+1:

Pushed ruby-jmeter 2.13.3 to rubygems.org.

@90kts You're welcome! Your prompt uploading of the gem is very much appreciated! :dancers:

No worries. Have specs will push :)


Inventory Service - Missing Create New Pool

Environment

Application Lab

Describe the bug
Exercise 3 should have step 2 tell the user to click the create new pool button before entering variables for the create pool dialogue.

this is not requirement once the step is updated to use virtual sites.


Update Chalk, and cache Chalk env elaboration through a query

This should fix some of the worst performance problems.

bors r+
I wonder, in theory, which repository is responsible for maintaining the relevant benchmarks? I guess at the moment it's rust-analyzer, via analysis-stats, but I wonder if it makes sense to add some kind of benches to chalk? On the first blush, it seems like no, we need a fully integrated compiler to make meaningful perf measurements.

There's an issue in the Chalk repo for creating benchmarks: https://github.com/rust-lang/chalk/issues/398
I think it is possible to have meaningful benchmarks in the Chalk repo -- we can make Chalk files out of real-life cases.


Make ResNet max_resolution tuneable

🚀 Feature
Perhaps this is my ignorance.. but I am attempting to avoid cropping or downsampling of my 4K sized images.. as they go into Faster R CNN with a ResNet 101 backbone.  Details can be found at https://discuss.pytorch.org/t/how-do-i-avoid-downsampling-with-faster-rcnn-resnet-backbone/79740
I found the max_size= parameter.. but it took only an integer.. which I couldn't not quite understand what that was for.. perhaps I need to use min_size= ?
I'm happy to help update docs pointing out where to go, in order to turn off downsampling.. however I have a feeling this is quite low in the api and no exposed at the levels I am utilizing torchvision..?
Motivation
My GPU has more RAM and I would like to minimize the downsampling and set batch_size to 1.. giving all possible RAM to avoid loss of pixel information as the image enters the training phase.
Pitch
Add either a explanation how to implement, or documentation stating what you must do if it cannot be done with the torchvision library in it's current roadmap.  I think my 6GB card is just the start and many people are starting to process larger than 4K images in training.
Alternatives
Additional context
I was able to run maximum VRAM utilization with batch_size = 1 using this project
https://github.com/jwyang/faster-rcnn.pytorch/tree/pytorch-1.0
Hoping I can port my work to torchvision and get more to do likewise, as it's much cleaner code!  Great work so far

@fmassa Do you think this's worth a PR?

Hi,
Improving the docs would be great!
It is currently possible to define what is the max size of the image that will be fed to Faster R-CNN, as you said via the max_size and min_size.
Their use is the following: the resizing inside Faster R-CNN will be such that it keeps the aspect ratio of the image. So if your image is 4000x8000, and min_size is 200, the images will be rescaled to 200x400.
max_size is used to add an upper bound on the maximum size of the image. For example, if we consider the previous case of a 4000x8000 image, if min_size=200  and max_size=300, then Faster R-CNN will rescale your input to 150x300.
Let me know if it is clear. If you could send a PR clarifying those points it would be great.

Sounds like a plan.  Then I need to verify the model I built using the min-max parameters because when I am overriding the backbone with ResNet... the min / max do not have any affect on memory footprint.. could it be I have tuned down the # of anchors in the RPN so that it is easier to fit within the measly 6GB ?

@EMCP without further information it's hard to know what's going on. But the image resolution for Faster R-CNN can be tuned with the arguments I mentioned

Once I get past the entire tutorial I will verify work and attempt a PR, meanwhile I am a bit stuck with an AssertionError within the CocoEvaluator area... will peak over at pycocotools to see whats up
https://discuss.pytorch.org/t/torchvision-cocoevaluator-data-set-assertionerror/79882

I figured out what I was doing wrong... I have chosen to perform a freezing of the gradients within the backbone.. my mistake now makes the network run on the 6GB card.. but this is not what I want... I want what is now being called "fine-tuning"..
https://discuss.pytorch.org/t/how-do-i-avoid-downsampling-with-faster-rcnn-resnet-backbone/79740/2
When I tried to follow another post regarding fine-tuning , I get shape errors .. likely due to the fact that in that example they create a "Criterion" object nn.CrossEntropyLoss() .. and since that is a classification problem.. not detection.. I need some time to work with the code
       if model_conf["hyperParameters"]["freeze_pretrained_gradients"]:
            print("Using backbone as fixed feature extractor")
            modules = list(backbone_nn.children())[:-1]  # delete the last fc layer.
            backbone_nn = nn.Sequential(*modules)

            # FasterRCNN needs to know the number of
            # output channels in a backbone. For resnet101, it's 2048
            for param in backbone_nn.parameters():
                param.requires_grad = False
            backbone_nn.out_channels = 2048
        else:
            print("Using fine-tuning of the model")
            modules = list(backbone_nn.children())[:-1]  # delete the last fc layer.
            backbone_nn = nn.Sequential(*modules)

            # FasterRCNN needs to know the number of
            # output channels in a backbone. For resnet101, it's 2048
            for param in backbone_nn.parameters():
                param.requires_grad = True
            backbone_nn.out_channels = 2048
        #

now I need to sort my scales.. apparently?
            Using hyperParameters:
{'hyperParameters': {'anchor_ratios': [0.5, 1, 2],
                     'anchor_scales': [4, 8, 16, 32],
                     'batch_size': 1,
                     'display_interval': 100,
                     'epoch_max': 400,
                     'epoch_start': 0,
                     'freeze_pretrained_gradients': False,
                     'learning_decay_gamma': 0.01,
                     'learning_decay_milestones': [5, 10, 45],
                     'learning_decay_step': 15,
                     'learning_rate': 0.005,
                     'learning_weight_decay': 0.0005,
                     'max_size_image': 1080,
                     'min_size_image': 800,
                     'momentum': 0.9,
                     'net': 'wide_resnet101_2',
                     'normalization_mean': [0.485, 0.456, 0.406],
                     'normalization_std': [0.229, 0.224, 0.225],
                     'optimizer': 'sgd',
                     'pooling_size': 7,
                     'rpn_nms_thresh': 0.7,
                     'rpn_post_nms_top_n_train': 5,
                     'rpn_pre_nms_top_n_train': 10,
                     'testing': {'check_epoch': 20,
                                 'check_session': 1,
                                 'enable_visualization': True}},
 'pytorch_engine': {'enable_cuda': True,
                    'enable_multiple_gpus': False,
                    'enable_tfb': True,
                    'num_workers': 1,
                    'resume_checkpoint': False,
                    'resume_checkpoint_epoch': 1,
                    'resume_checkpoint_num': 0,
                    'resume_checkpoint_session': 1,
                    'session': 1},
 'pytorch_engine_scoring': {'enable_cuda': False,
                            'enable_multiple_gpus': False,
                            'enable_tfb': True,
                            'num_workers': 1,
                            'resume_checkpoint': False,
                            'resume_checkpoint_epoch': 1,
                            'resume_checkpoint_num': 0,
                            'resume_checkpoint_session': 1,
                            'session': 1}}
loading annotations into memory...
Done (t=0.01s)
creating index...
index created!
found 5 categories in data
Creating model backbone with wide_resnet101_2
Using fine-tuning of the model
/home/emcp/anaconda3/envs/pytorch_150/lib/python3.7/site-packages/torch/nn/functional.py:2854: UserWarning: The default behavior for interpolate/upsample with float scale_factor will change in 1.6.0 to align with other frameworks/libraries, and use scale_factor directly, instead of relying on the computed output size. If you wish to keep the old behavior, please set recompute_scale_factor=True. See the documentation of nn.Upsample for details.
  warnings.warn("The default behavior for interpolate/upsample with float scale_factor will change "
/opt/conda/conda-bld/pytorch_1587428266983/work/torch/csrc/utils/python_arg_parser.cpp:756: UserWarning: This overload of nonzero is deprecated:
	nonzero(Tensor input, *, Tensor out)
Consider using one of the following signatures instead:
	nonzero(Tensor input, *, bool as_tuple)
Traceback (most recent call last):
  File "/home/emcp/Dev/git/EMCP/faster-rcnn-torchvision/model_components/training.py", line 131, in <module>
    train(data_conf=config_json, model_conf=model_conf)
  File "/home/emcp/Dev/git/EMCP/faster-rcnn-torchvision/model_components/training.py", line 95, in train
    print_freq=model_conf["hyperParameters"]["display_interval"])
  File "/home/emcp/Dev/git/EMCP/faster-rcnn-torchvision/model_components/references/detection/engine.py", line 33, in train_one_epoch
    loss_dict = model(images, targets)
  File "/home/emcp/anaconda3/envs/pytorch_150/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/emcp/anaconda3/envs/pytorch_150/lib/python3.7/site-packages/torchvision/models/detection/generalized_rcnn.py", line 71, in forward
    detections, detector_losses = self.roi_heads(features, proposals, images.image_sizes, targets)
  File "/home/emcp/anaconda3/envs/pytorch_150/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/emcp/anaconda3/envs/pytorch_150/lib/python3.7/site-packages/torchvision/models/detection/roi_heads.py", line 754, in forward
    box_features = self.box_roi_pool(features, proposals, image_shapes)
  File "/home/emcp/anaconda3/envs/pytorch_150/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/emcp/anaconda3/envs/pytorch_150/lib/python3.7/site-packages/torchvision/ops/poolers.py", line 186, in forward
    self.setup_scales(x_filtered, image_shapes)
  File "/home/emcp/anaconda3/envs/pytorch_150/lib/python3.7/site-packages/torchvision/ops/poolers.py", line 156, in setup_scales
    scales = [self.infer_scale(feat, original_input_shape) for feat in features]
  File "/home/emcp/anaconda3/envs/pytorch_150/lib/python3.7/site-packages/torchvision/ops/poolers.py", line 156, in <listcomp>
    scales = [self.infer_scale(feat, original_input_shape) for feat in features]
  File "/home/emcp/anaconda3/envs/pytorch_150/lib/python3.7/site-packages/torchvision/ops/poolers.py", line 143, in infer_scale
    assert possible_scales[0] == possible_scales[1]
AssertionError

Process finished with exit code 1

``


Maskable icon doesn’t respect safe zone

According to the spec, only the circle in the center of the image with a radius of 2/5ths of the image dimensions is guaranteed to be visible. We should adjust the size accordingly.

Seems fine to me

I must have measured wrong. I thought it cut off the corners. nvm.


Add afterLoaded() callback

Original author<EMAIL_ADDRESS>(February 09, 2012 04:58:02)
It is called when model have its attributes loaded from db
Original issue: http://code.google.com/p/activejdbc/issues/detail?id=137

I would like to bump this issue up the priority chain. Would be really useful for converting BLOBs into their original datatype (like a BufferedImage for example). See the nice table by @ericbn in #360

related: #30
fixed, you can get a latest snapshot

http://javalite.io/lifecycle_callbacks


Revised mission

Addes mission

Practice with close, I did not know how to deal with the DCO error.


--environment-variable Key=Value, cannot input double quote in the Value.

I need to set a JSON in the value, tried many formats, my double quote always got removed!
e.g. none of below work! (it works when submitting az command, but lost the double quotes in the env var.)
key='{"foo":"bar"}'
key='{"foo":"bar"}'
key="{"foo":"bar"}"

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

ID: 2e5d1da7-7c4f-c9e6-e4b9-a30407675acf
Version Independent ID: ba32e12d-8283-f980-e1d0-1ca2a75a5152
Content: az container
Content Source: src/azure-cli/azure/cli/command_modules/container/_help.py
Service: container-service
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

@BellaLi was this issue resolved?

@BellaLi, could you share the command you run to set env vars and use them with Azure CLI?
I tested in Bash but couldn't repro:
$ export JSON_ENV='{"foo":"bar"}'
$ echo $JSON_ENV
{"foo":"bar"}
$ az $JSON_ENV --debug
Command arguments: ['{"foo":"bar"}', '--debug']

Azure CLI does receive the JSON correctly.

add to S168

@BellaLi, any update?

Close this issue since there is no response for more than 1 month, please help create a new issue if you still have questions.


Rename CONDUCT to CODE_OF_CONDUCT.md

Description:
We do not want it to be just CONDUCT but rather CODE_OF_CONDUCT.md.
Related issue:
Closes #391
Check list:

[ ] Mark if documentation changes are required.
[ ] Mark if tests were added or updated to cover the changes.

Hello @Tyler887. I am going to close the pull request as duplicate of https://github.com/actions/setup-node/pull/391.


feat(Data/Nat/Prime): some lemmas on primes and powers

This is the first PR in a sequence that adds auxiliary lemmas from the EulerProducts project to Mathlib.
It adds two lemmas on prime numbers and powers:
lemma Nat.Prime.one_le {p : ℕ} (hp : p.Prime) : 1 ≤ p

lemma Nat.Prime.pow_injective {p q m n : ℕ} (hp : p.Prime) (hq : q.Prime)
    (h : p ^ (m + 1) = q ^ (n + 1)) : p = q ∧ m = n

(The first one is for discoverability by exact? in cases one needs 1 ≤ p.)

Thanks!
bors merge


Add FreeBSD support, fix various things

Split BlueZ backend into a separate module (hopefully correctly, please test)
Add FreeBSD backend
Fix #41
Hopefully fix #43 (by not using randomized MAC)

I will merge the PR and add the scan parameter myself. Thanks for the contribution!


Smartymixed mode needs to be within a html tag

In smarty mixed mode the layout breaks if there is smarty code within a html tag and that tag is not contained within another. As in the image its fine if there is an opening div but if that is closed or removed the highlighting breaks. It can be seen in the example on codemirror http://codemirror.net/mode/smartymixed/
just remove the  tag.

Attached patches extend the Smarty mode to support a base (background) mode, and kill the Smartymixed mode.


Make nesting defined behavior, correct documentation regarding standard output

When \g_luabridge_method_int is \c_luabridge_method_write_eighteen_int or \c_luabridge_method_os_execute_int and \luabridgeExecute or \luabridge_now:n appear nested in \g_luabridge_standard_output_filename_str, then \g_luabridge_standard_output_filename_str gets truncated while it is being read by TeX, resulting in undefined behavior.
Currently, we use shell redirection to write \g_luabridge_standard_output_filename_str:
https://github.com/Witiko/lt3luabridge/blob/a906ee54a3d2386589334366446d91c95e3d3b91/lt3luabridge.dtx#L543-L555
Instead, we can capture output, unlink \g_luabridge_standard_output_filename_str, and create a new file \g_luabridge_standard_output_filename_str with the output, in the Lua script \g_luabridge_helper_script_filename_str. This way we don't truncate the original file and the original file will remain intact as long as TeX is holding an open file descriptor to it.
One concern is that we cannot easily capture standard output in Lua, which is what the documentation promises:
https://github.com/Witiko/lt3luabridge/blob/a906ee54a3d2386589334366446d91c95e3d3b91/lt3luabridge.dtx#L97-L101
However, this promise is incorrect, because we capture only the output of print() when \g_luabridge_method_int is \c_luabridge_method_directlua_int, not all standard output:
https://github.com/Witiko/lt3luabridge/blob/a906ee54a3d2386589334366446d91c95e3d3b91/lt3luabridge.dtx#L610-L627
Therefore, we should update the documentation and only capture the output of print() when \g_luabridge_method_int is \c_luabridge_method_write_eighteen_int or \c_luabridge_method_os_execute_int.

Closed by #13 and be8723a.


Add a fluent Stringable Str::of($string)->if() method to allow longer chaining of a Stringable, based on the Stringable itself

This Pull Request adds the ability to use an if() method on an instance of Stringable. This would allow developers to chain more Stringables and keep the code cleaner.
What & why
In certain situations, developers need to modify a fluent Stringable based on the value of the Stringable itself. The when() methods do not allow this, because they accept a boolean, which is based on a condition outside of the Stringable, and not a condition on the contents of the Stringable itself. I think that an example will make this more clear.
Consider the following scenario, where I want to append a value to a string if the string is numeric. In the current situation, we have to do something like this:
$stringable = Str::of('200');

$isNumeric = is_numeric((string) $stringable);

$stringable->when($isNumeric, function ($stringable) {
    return $stringable->append('is numeric');
});
// '200 is numeric'

// Not possible (the first condition will always evaluate to true):
Str::of('200')->when(function ($stringable) {
    return is_numeric((string) $stringable);
}, function ($stringable) {
    return $stringable->append(' is numeric');
});

As you see, we need to extract the Stringable to a separate before before we can make assertions on it. This causes our code code to become more unclear. In particular in cases where there is no need to a separate $stringable, this is needless.
With the new if() method, we could refactor the above example to:
Str::of('200')->if(function ($stringable) {
    return is_numeric((string) $stringable);
}, function ($stringable) {
    return $stringable->append(' is numeric');
});

// '200 is numeric'

Or, even shorter with PHP 7.4 short function calls:
Str::of('200')->if(
    fn ($stringable) => is_numeric((string) $stringable),
    fn ($stringable) => $stringable->append(' is numeric')
    fn ($stringable) => $stringable->append(' is not numeric')
);
// '200 is numeric'

If you only want to modify the string in one of the two cases, you can just pass null instead of a callback. The third parameter can be omitted entirely.
The whole if() method returns a new instance of Stringable, so everything is chainable. That means that you could chain multiple if()s and easily create complex strings.
Example 2
Imagine the following long and boring procedural code:
$stringable = Str::of('200')->append('00');

$isNumeric = is_numeric((string) $stringable);
// true

$stringable = $stringable->when(true, function ($stringable) {
    return $stringable->append(' is a numeric string');
});

$containsLetterA = $stringable->contains('a');
// true

$stringable = $stringable->when($containsLetterA, function ($stringable) {
    return $stringable->append(' and now contains the letter \'a\'');
});

With the if() helper, we can replace it with the following:
Str::of('200')->append('00')
    ->if(fn($stringable) => is_numeric((string) $stringable), fn($stringable) => $stringable->append(' is a numeric string'))
    ->if(fn($stringable) => $stringable->contains('a'), fn($stringable) => $stringable->append(' and now contains the letter \'a\''));

Both will output:
"20000 is a numeric string and now contains the letter 'a'"

It would also allow to perform an action directly inside an array, whereas we otherwise would have to inline the variable and perform the conditions before constructing the array.
$array = [
    'key' => Str::of('200')->append('00')
                ->if(fn($stringable) => is_numeric((string) $stringable), fn($stringable) => $stringable->append(' is a numeric string'))
                ->if(fn($stringable) => $stringable->contains('a'), fn($stringable) => $stringable->append(' and now contains the letter \'a\''));,
];

// Not possible (the first condition will always evaluate to true):
Str::of('200')->when(function ($stringable) {
    return is_numeric((string) $stringable);
}, function ($stringable) {
    return $stringable->append(' is numeric');
});

Why did you pass closure for the first argument here? It will never be called if you look at the when implementation.
What is the problem with this? :
Str::of('something')
    ->when(true, fn($str) => $str->append(' another'))
    ->when(true, fn($str) => $str->append(' thing'));

Why did you pass closure for the first argument here? It will never be called if you look at the when implementation.

It is true that this will never be called and that's also the point of the example. The point was that I'd like like to do something with the string, based on the value of the stringable itself. That's not possible with when(), because you only pass truthy/falsy values and not do a condition based on the contents of the string.

What is the problem with this? :
Str::of('something')
    ->when(true, fn($str) => $str->append(' another'))
    ->when(true, fn($str) => $str->append(' thing'));

The problem is that I want to do a condition on the contents of the Stringable class, which is not possible if you are chaining things ever since you did Str::of().
I added an updated example, which makes it hopefully more clear!

The problem is that I want to do a condition on the contents of the Stringable class, which is not possible if you are chaining things ever since you did Str::of().

What about using pipe ?
Str::of('something')->pipe(function (Stringable $str) {
    return $str
        ->when($condition, fn($str) => $str->append(' another'))
        ->when($condition, fn($str) => $str->append(' thing'));
});

What about using pipe ?

That would indeed be an option, though you need to repeat the condition there.

I'm going to not merge this because the when method is actually updated in the upcoming Laravel 9 release to have special handling for when it is passed a Closure as the first argument. The closure will be evaluated first in Laravel 9, so the solution in this PR will be achievable using the normal when method...


feature: docusaurus kit

Add documentation kit for use in Docusaurus.
See also: https://github.com/catenax-ng/product-edc/pull/780
Brendan Cronin<EMAIL_ADDRESS>Mercedes-Benz Tech Innovation GmbH, legal info/Impressum

Do we have to adapt/extend the changes? I think for the initial KIT documentation it's fine.


Bypass integration for tests

I would like to integrate Req with Bypass for tests. Seems like it should be possible to add a step. Maybe something like Req.default_options/1, just that it has to override base_url instead of being a fallback.
So ideal for me would be something like:
bypass = Bypass.open()
Req.bypass(bypass)
bypass.port => 12345

Req.get!("/bar", base_url: "https://foo.com/")
url => http://localhost:12345/bar

I understand if you don't want to make Bypass a dependency, so a more generic approach would also be an idea:
Req.test_options(base_url: "http://localhost:#{bypass.port}")

Req.get!("/bar", base_url: "https://foo.com/")
url => http://localhost:12345/bar

What do you think?
I would also be happy to contribute if you like the idea.

base_url: "https://foo.com/")

Given with Bypass we need to hit the network, the bypass server, this base_url is basically ignored. Thus, wouldn't this work for you?
bypass = Bypass.open()
Req.get!("/bar", base_url: "http://localhost:#{bypass.port}")

You could of course provide convenience for it, a ReqBypass plugin:
bypass = Bypass.open()

req =
  Req.new()
  |> ReqBypass.attach()

Req.get!("/bar", bypass: bypass)

(though honestly I'm not sure if it's a big improvement over the super straightforward one using :base_url.)
In any case, I'd avoid Req.default_options/1 and similar solutions as they are mutating global state and thus preventing tests from being async.

No, that would unfortunately not work. The request might be several layers down, so that would force me to always pass down Req.new(base_url: "http://localhost:#{bypass.port}") all places where it is used.
My current solution is using a mock:
#test
def client do
  Req.new(base_url: "http://localhost:12345")
end

# dev
def client do
  Req.new(base_url: "https://foo.com")
end

client = client()
Req.get!(client, url: "/bar")

And in most cases it would still be possible to keep the tests async with an approach like I suggested, if we use Process.get/2 and Process.set/2 to store the base_url.
I know that would not work for tests which spawn tasks, so for cases like that we might need something like Req.bypass_global(bypass). Although that would have the drawback that tests can't be async in those cases. But that is a limitation I also have when I am using a mocking library.

Got it, thank you for extra context.
I don't plan to add Bypass integration at the moment. I don't plan to add any other global state based functionality either.
Even though the Req struct creation is perhaps deep in your code, you can still instrument it. In other words, write Req.bypass yourself. Perhaps something like this, using pdict:
def Foo do
  def client do
    Req.new(base_url: "...")
    |> run_bypass()
  end

  if Mix.env() == :test do
    def setup_bypass(bypass) do
      Process.put(:req_bypass, bypass)
    end

    defp run_bypass(request) do
      if bypass = Process.get(:req_bypass) do
        base_url = "http://localhost:#{bypass.port}"
        put_in(request.options.base_url, base_url)
      else
        request
      end
    end
  else
    defp run_bypass(request), do: request
  end
end

Thanks, that would work perfectly!


Forum Rep Points

rank users by forum reputation (0-99)

Figure out "A" (activity)
It's the number of active users (someone that posted, commented, or voted on the forum on that quarter moon cycle)

Rep points to distribute on that quarter cycle == 1/10th of A (1/10th is a setting on Constitution)
Distribute according to rank: 99th receives 99 times more
Example:
This quarter, 100 users were active (of a total of 1000 ranked users) on the Forum
A = 100, we are distributing 100
Rank 99 users will get 99 x 10 / TOTAL = 1
Rank 98 users will get 98 x 10 / TOTAL = 1
Rank 97 users will get 97 x 10 / TOTAL = 1
Rank 96 users will get 96 x 10 / TOTAL = 1
Rank 95 users will get 95 x 10 / TOTAL = 1
Rank 94 users will get 94 x 10 / TOTAL = 1
Rank 93 users will get 93 x 10 / TOTAL = 1
Rank 92 users will get 92 x 10 / TOTAL = 1
Rank 91 users will get 91 x 10 / TOTAL = 1
Rank 90 users will get 90 x 10 / TOTAL = 1
Rank 89 users will get 89 x 10 / TOTAL = 0 (rounded down)
...
SUM(1+2+3...+98+99) x 10 / SUM
Step 1: Figure out forum rep points with voting etc

I think we have that already

Step 2: Rank forum rep points with ranking algorithm 99-0 as usual

Normal ranking

Step 3: Every 1/4 moon cycle, distribute reputation points based on forum rep points, number of people playing

rep points available == number of people active over same period
period rep points = # number of ranked people
1/10th of that number
rep points are integers

Data Required

Number of active users in period - keep size in size table
Points of each active user
Rank of each active user

Step 1: Figure out forum rep points with voting etc - I think we have that already
Step 2: Rank forum rep points with ranking algorithm 99-0 as usual
Step 3: Every 1/4 moon cycle, distribute reputation points based on forum rep points, number of people playing
// rep points available == number of people active over same period
// period rep points = # number of ranked people
// 1/10th of that number
// rep points are integers
Data Required

Number of active users in period
Points of each active user
Rank of each active user

Hello I have a question about the implementation of the active users, I think there are two ways to check if someone is active.

The first one is to create an active table and check if an user is there, and then when distributing points delete this table's entries.
The second one is to have a singleton to store the last time the points distribution has been run, and based on that check if the user is active during this running 1/4 of moon cycle

which one should I use?

Well, from the definition of "active", it says someone that posted, commented, or voted on the forum on that quarter moon cycle. So, can you check on the postcomment_table and vote_table during that cycle period, and get a unique list of all accounts mentioned on author_name_account or account fields?
Regarding the rounding for distribution, we're talking about:
With A =1000, we're distributing 100 points among the most ranked users (one user per percentile):
TOTAL = n(n+1)/2 for n=99 ranks, we have 4851 bits
Rank 99 gets:
99*100 / 4851 = 2.0408... rounds to 2
Rank 98 gets:
98100 / 4851 = 2.0202... rounds to 2
.....
Rank 50 gets:
50100 / 4851 = 1.0307... rounds to 1
.....
Rank 10 gets
10*100 / 4851 = 0.2061... rounds to 0
Does that make sense?

Lets start with a higher number 100% and make a depreciation curve that starts in november and makes this number 1/2 every 90 days.
This needs to be built in from the start so that we don't have to wait on this.

Algorithm for points decay based on the amount of active users:
If we have < 1000 active users: 100% active points distributed
If we have < 10000 : 50% points
If we have between 10000 and 100.000: 20% points
if we have above 100.000: 10% points

DEPLOY LOG Issue #109

/scripts/seeds.js run forum settings scheduler

./scripts/seeds.js updatePermissions

/scripts/seeds.js test forum settings scheduler

EOSIO_NETWORK=telosTestnet ./scripts/seeds.js deploy forum settings scheduler

EOSIO_NETWORK=telosTestnet ./scripts/seeds.js updatePermissions

❯ cleosm get account tlosto.seeds
created: 2019-12-19T19:33:23.500
permissions:
     owner     1:    1 EOS6kp3dm9Ug5D3LddB8kCMqmHg2gxKpmRvTNJ6bDFPiop93sGyLR
        active     1:    1 EOS6kp3dm9Ug5D3LddB8kCMqmHg2gxKpmRvTNJ6bDFPiop93sGyLR, 1<EMAIL_ADDRESS>           execute     1:    1 EOS6H8Xd2iKMa3KEF4JAQLbHAxkQcyrYgWXjrRJMsY5yEr2Ws7DCj, 1 cycle.seeds@active
           purchase     1:    1 EOS75DmTxcnpvhjNekfKQzLrfwo44muPN6YPPX49vYPot4Qmo5cTo

cleos -u "https://test.hypha.earth" push action settgs.seeds reset "{}" -p settgs.seeds@active

cleos -u "https://test.hypha.earth" push action cycle.seeds reset "{}" -p cycle.seeds@active

cleos -u "https://test.hypha.earth" push action cycle.seeds start "{}" -p cycle.seeds@active

# NOTE: these run at moon cycles / 4 --> 637200 seconds
# Start time: Oct 16 2020 new moon -><PHONE_NUMBER> unix timestamp

1603513860

EOSIO_NETWORK=telosMainnet ./scripts/seeds.js deploy forum settings scheduler

EOSIO_NETWORK=telosMainnet ./scripts/seeds.js updatePermissions

cleos -u "https://node.hypha.earth" push action settgs.seeds reset "{}" -p settgs.seeds@active

cleos -u "https://node.hypha.earth" push action cycle.seeds configop '{
	"id":"forum.rank",
	"action":"rankforums",
	"contract":"forum.seeds",
	"period":"637200",
	"starttime":"1603513860"
}' -p cycle.seeds@active

cleos -u "https://node.hypha.earth" push action cycle.seeds configop '{
	"id":"forum.giverp",
	"action":"givereps",
	"contract":"forum.seeds",
	"period":"637200",
	"starttime":"1603513860"
}' -p cycle.seeds@active

Deployed

I am not sure the algorithm is correct because it depends on how many people we have in total - so it's not 1 user 1 bucket
Our buckets are 0 - 99, there's 100 buckets
Inside of 1 bucket, people split equally
Meaning
If AB = amount for my bucket, then each member of the buckets gets AB/NB points. NB is the number of people in this bucket right now.
How we distribute the number per bucket is 100 buckets, the 99 gets 99x  the 1 bucket.


Missing spec test for permissive defined type

There is no rspec for permissive defined type

Just created the PR #131

Issue fixed


feat: add cmp-async-path

I sorted the sources in the top block. Hope that's alright, if not I can exclude these changes.

Thanks for your contribution. Just note that the sorting is automatically handled by an action. Therefore, manually sorting your changes is not required


Add various potential redirects for issue reporting.

Add three potential redirects to .htaccess as per https://github.com/apache/incubator-netbeans/pull/493

Must this be merged too or does the other one make this one obsolete?

Obsolete now!


Improvements to Duplicates

Some thoughts and ideas on duplicates and how their handled:

The Duplicates pill label next to a game's title could be clickable and reveal a list of games that are flagging the clicked game as having duplicates. This would help with unchecking other games / games' files to reduce backing up duplicate data. How detailed should this list be, I'm not sure. For example, should it also include the specific duplicated files in question, or only provide a list of games? Perhaps the games shown in this list could also be clickable and scroll the UI to that game and open its list of files if not already opened.

If all games (or their specific duplicated files) are unchecked which contribute to a given game of interest as being flagged as having duplicates, should the duplicates pill be hidden on the remaining checked game? If two or more games are checked and share duplicates, it makes sense to keep the pill label shown on both. I think these duplicate labels should reflect the state of if duplicate data would be backed up instead of if games with duplicate rules exist regardless of their checked state.

There seems to be issues with games displaying the duplicates pill label even though its list of files shows "Duplicated" next to some items. Also, which games show the duplicates pill next to their title changes depending on the order in which the games were scanned.

ludusavi-v0.11.0-post.16+b91a9d8-win64

Good idea. This could just apply a filter to the main list (like the search function does), rather than having a separate list.
That makes sense. I think I'd rather just fade the badge than hide  it entirely, though.
Could you give me a specific example of how to reproduce these issues?

https://user-images.githubusercontent.com/25013746/187464758-e81fcdc8-fc2f-48a4-8fdc-87c2dbd928ad.mp4
I'm not sure what's going on but, first time around I go from top to bottom for the three Trackmania titles that contain duplicates and only the first two show the Duplicates label. Next launch I go from the third to the first game and now the last two show the Duplicates label.
ludusavi-v0.11.0-post.21+4280cd6-win64

Thanks, that should be fixed now.

Preview:

https://user-images.githubusercontent.com/4934192/229978290-fbcbe797-0cc3-4e09-ba21-976e2e55d131.mp4


Decoder::new_vorbis should be defined when feature = "symphonia-vorbis"

Feature symphonia-vorbis disables Decoder::new_vorbis which is inconvenient, but also breaks feature being additive.

good point, PRs welcome!


[move] type layout generation from modules

Add code in the move-binary-format crate to create a MoveTypeLayout from a CompiledModule
In the cli, add new generate struct-layout command that leverages this functionality to dump layouts in YAML format
The eventual goal is to have the CLI spit out YAML that can be used directly by serde-generate to create typed struct bindings in any language supported by serde-generate

Overall logic makes sense to me. The only question I have is shall we panic vs return error on some certain scenarios. To me I would be more inclined to return with errors instead of panic as caller might be hard to implement a panic catcher. Say we use this tool in parallel execution where we try to resolve layouts in parallel, we can have multiple threads invoking into this library and panicing would be really hard to recover in this scenario.

Yep, that makes sense to me. Because the GetModule trait can fail, we should propagate that to the caller.

Sounds good! I'll commander this PR and add the error propagation logic.

This landed in #9073


Settings view color bug

The install packages tab of the settings view has a search box for finding new packages, and the text within this box is hard-coded with colors.  If you highlight the text in the box, it is impossible to read.

Seems to happen with most dark themes. Maybe good to fix it on a Core level.


Cannot find table rule and default data source with logic tables

Question
（default-data-source-name）table join （broadcast-table） error
Content
<sharding:standard-strategy id="databaseStrategy" sharding-column="buss_num" precise-algorithm-ref="dbShardingRule" />

<sharding:data-source id="shadingDataSource">
	<sharding:props>
		<prop key="sql.show">true</prop>
	</sharding:props>
	<sharding:sharding-rule data-source-names="ds0,ds1" default-data-source-name="ds0">
		<sharding:table-rules>
			<sharding:table-rule logic-table="user" actual-data-nodes="ds$->{0..1}.user"
			 database-strategy-ref="databaseStrategy" />
			<sharding:table-rule logic-table="classes" actual-data-nodes="ds$->{0..1}.classes"
			 database-strategy-ref="databaseStrategy" />
			 <sharding:table-rule logic-table="mark" actual-data-nodes="ds$->{0..1}.mark"
			 database-strategy-ref="databaseStrategy" />
		</sharding:table-rules>
		<sharding:binding-table-rules>
            <sharding:binding-table-rule logic-tables="user,classes,mark" />
        </sharding:binding-table-rules>
		<sharding:broadcast-table-rules >
			<sharding:broadcast-table-rule table="school_config"/>
		</sharding:broadcast-table-rules>
	</sharding:sharding-rule>
</sharding:data-source>

exception:
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:

### Error updating database. Cause: org.apache.shardingsphere.core.exception.ShardingException: Cannot find table rule and default data source with logic tables: '[inter_user , school_config]'
### The error may involve com.inter_user .deleteImportData-Inline
### The error occurred while setting parameters
### SQL: delete from inter_user where date = ? and school IN (SELECT SLAVE_ID FROM school_config WHERE PARENT_ID = ?)
### Cause: org.apache.shardingsphere.core.exception.ShardingException: Cannot find table rule and default data source with logic tables: '[inter_user , school_config ]'
version：

org.apache.shardingsphere
sharding-jdbc-core
4.0.0-RC2

how to configure？can you tell me the question?thank you!

@terrymanu If you have time, please analyze it for me. I'm lost

@chyangxi Table inter_user and school_config don't exist in <sharding:table-rules>, please configure this.

@chyangxi Table inter_user and school_config don't exist in <sharding:table-rules>, please configure this.

'inter_user' use defalt data source,don't sharding .'school_config' use broadcast rule,same in every database .i don't need sharding table,only some table data sharding database,'inter_user 'use defalt. i really don't how to configure ...help me,please,thank you.

Can you just paste your sharding rule here?

@terrymanu
@Component
public class ShardingDatabaseRule implements PreciseShardingAlgorithm {
private Logger log = LoggerFactory.getLogger(ShardingDatabaseRule.class);
@Override
public String doSharding(Collection<String> availableTargetNames, PreciseShardingValue<String> shardingValue) {
	log.debug("sharding begin shardingValue:{}",shardingValue);
	int bussNumHash = shardingValue.getValue().hashCode();
	int targetValue =bussNumHash  % availableTargetNames.size();
	String valueOf = String.valueOf(targetValue);
	for (String targetDB : availableTargetNames) {
		if(targetDB.endsWith(valueOf)){
			log.debug("sharding end targetDB:{}",targetDB );
			return targetDB;
		}
	}
	log.info(" end no sharding");
	return null;
}

@menghaoranss
Is duplicated?

@menghaoranss
Is duplicated?

This issue is similar to #4043 , namespace configuration should also support empty strategy.
I will try to fix it.

@chyangxi
You can modify the configuration of <sharding-table-rules> like this:
<sharding:sharding-rule data-source-names="ds0,ds1" default-data-source-name="ds0">
	<sharding:table-rules>
		<sharding:table-rule logic-table="user" actual-data-nodes="ds$->{0..1}.user"
			 database-strategy-ref="databaseStrategy" />
		<sharding:table-rule logic-table="classes" actual-data-nodes="ds$->{0..1}.classes"
			 database-strategy-ref="databaseStrategy" />
		<sharding:table-rule logic-table="mark" actual-data-nodes="ds$->{0..1}.mark"
			 database-strategy-ref="databaseStrategy" />
	</sharding:table-rules>
	<sharding:binding-table-rules>
            <sharding:binding-table-rule logic-tables="user,classes,mark" />
        </sharding:binding-table-rules>
        <!--
	<sharding:broadcast-table-rules >
			<sharding:broadcast-table-rule table="school_config"/>
	</sharding:broadcast-table-rules>
        -->
</sharding:sharding-rule>

just don't configure broadcast-table-rules , then table inter_user and school_config will use
default data source.

Is this issue resolved now? if it is, we should close it now.
@menghaoranss @chyangxi

Is this issue resolved now? if it is, we should close it now.
@menghaoranss @chyangxi

@kimmking  I tried to run with the above configuration, I think it can solve this problem.


Add Assets in collections codesamples

Brief description: Added collection property to asset .NET and cURL codesamples (no JS samples as JS SDK changes are not ready yet)
GitHub or Jira issue URL: https://kontent-ai.atlassian.net/browse/CTC-2138
When do you need the code to go public? On 19.9. (public release)
Is the pull request complete and ready for review? Yes

Hi @AdamZ-Kontent, thanks for the PR! Looks good. I look forward to having it complete with the code samples for the JS SDK, but this is a good start. :)


python312Packages.openai: 1.43.0 -> 1.44.0

Description of changes
Update to latest version. No changes that effect build.
Diff: https://github.com/openai/openai-python/compare/refs/tags/v1.43.0...v1.44.0
Changelog: https://github.com/openai/openai-python/releases/tag/v1.44.0
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 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.

Add a :+1: reaction to pull requests you find important.


Android can we use multiple MapViews in an app

I have two separate activities having their own MapViews and their objects. And i have implemented same scene file in them. Now when i load first activity it loads the map successfully. But when i load second acitivty app get stuck/crashes or it do not load the second mapview in that activity. Can you please guide if we can use multiple MapViews in an app in two separate activities? I get following logcat when app crash/stuck
06-13 16:55:06.012 27456-28615/com.tpl.tplmaps I/Adreno-ES20: <validate_vertex_attrib_state:60>: validate_vertex_attrib_state: No vertex attrib is enabled in a draw call!
06-13 16:55:09.578 27456-27619/com.tpl.tplmaps D/Tangram: TANGRAM tangram.cpp:154: resize: 1080 x 1536
06-13 16:55:09.580 27456-27619/com.tpl.tplmaps W/Adreno-ES20: <core_glBindVertexArrayOES:288>: GL_INVALID_OPERATION
06-13 16:55:09.595 27456-27619/com.tpl.tplmaps D/Tangram: TANGRAM tangram.cpp:154: resize: 1080 x 1536
06-13 16:55:09.612 27456-27456/com.tpl.tplmaps I/ActivityMain: onLocationChanged(): Location received by Provider <fused>, PRIORITY: PRIORITY_HIGH_ACCURACY, IsBetter = true
06-13 16:55:10.800 27456-27619/com.tpl.tplmaps D/Tangram: TANGRAM tangram.cpp:154: resize: 1080 x 1411
06-13 16:55:12.100 27456-27456/com.tpl.tplmaps E/libEGL: call to OpenGL ES API with no current context (logged once per thread)
06-13 16:55:12.152 27456-27619/com.tpl.tplmaps D/Tangram: TANGRAM tangram.cpp:154: resize: 1080 x 1536

                                                          --------- beginning of crash
06-13 16:55:14.210 27456-27619/com.tpl.tplmaps A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x29d in tid 27619 (GLThread 2732)
06-13 16:55:16.928 29217-29217/com.tpl.tplmaps D/FirebaseApp: com.google.firebase.auth.FirebaseAuth is not linked. Skipping initialization.
06-13 16:55:16.935 29217-29217/com.tpl.tplmaps D/FirebaseApp: Initialized class com.google.firebase.iid.FirebaseInstanceId.
06-13 16:55:16.935 29217-29217/com.tpl.tplmaps D/FirebaseApp: com.google.firebase.crash.FirebaseCrash is not linked. Skipping initialization.

Multiple MapView instances in a single app is not supported right now. It's on the roadmap, I would estimate that it will be available within a month.

Closing as duplicate of #757.


Build fixes

Fixes a link error on Ubuntu 18.04
Fixes a compile warning

I built subspace on my desktop and got a couple errors/warnings. These changes seem to repair them, but let me know what you think. For the memaccess warning I default initialized only the stuff related to ChannelControlBlock, but happy to put default values into everything, if you want.
CC=clang bazel build //...
Starting local Bazel server and connecting to it...
INFO: Analyzed 17 targets (81 packages loaded, 3789 targets configured).
INFO: Found 17 targets...
INFO: From Compiling common/channel.cc:
common/channel.cc: In member function 'absl::lts_20211102::StatusOr<subspace::SharedMemoryFds> subspace::Channel::Allocate(const toolbelt::FileDescriptor&, int, int)':
common/channel.cc:207:27: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct subspace::ChannelControlBlock'; use assignment or value-initialization instead [-Wclass-memaccess]
  207 |   memset(ccb_, 0, ccb_size);
      |                           ^
In file included from common/channel.cc:5:
./common/channel.h:132:8: note: 'struct subspace::ChannelControlBlock' declared here
  132 | struct ChannelControlBlock {          // a.k.a CCB
      |        ^~~~~~~~~~~~~~~~~~~
ERROR: /home/maeve/subspace/client/BUILD.bazel:24:8: Linking client/client_test failed: (Exit 1): gcc failed: error executing command (from target //client:client_test) /usr/bin/gcc @bazel-out/k8-fastbuild/bin/client/client_test-2.params

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
bazel-out/k8-fastbuild/bin/_solib_k8/libcommon_Slibsubspace_Ucommon.so: error: undefined reference to 'shm_open'
bazel-out/k8-fastbuild/bin/_solib_k8/libcommon_Slibsubspace_Ucommon.so: error: undefined reference to 'shm_unlink'
collect2: error: ld returned 1 exit status
INFO: Elapsed time: 34.645s, Critical Path: 5.08s
INFO: 402 processes: 126 internal, 276 linux-sandbox.
FAILED: Build did NOT complete successfully

It's strange that the memset warning hasn't been seen on anything I've used.  It looks like a false positive to me because the CCB is POD and not constructed.  Replacing the memset with an assignment from a constructed ChannelControlBlock is a memberwise copy but I guess that will be a bunch of memcpy calls.  We actually shouldn't need the memset as the memory is going to be zeroed out when it's mmapped in (POSIX mmap requirement).  So everything in the CCB will be set to zero.
I've removed the memset from the CCB and it seems to work fine, but thanks for the work you did.
Thanks for the link options fix for the the common library.  I've added them and pushed the changes.
Can you pull a new version to see if that fixes your issues?


[decomp] texture

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

56 of 105 (53.33%)  changed or added relevant lines in 11 files are covered.
16 unchanged lines in 6 files lost coverage.
Overall coverage decreased (-0.06%) to 68.529%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

decompiler/IR2/AtomicOpTypeAnalysis.cpp
5
7
71.43%

decompiler/analysis/insert_lets.cpp
4
6
66.67%

game/kernel/klink.cpp
2
5
40.0%

decompiler/IR2/FormExpressionAnalysis.cpp
22
27
81.48%

game/kernel/kmachine.cpp
6
12
50.0%

decompiler/IR2/Form.cpp
7
18
38.89%

decompiler/analysis/atomic_op_builder.cpp
0
20
0.0%

Files with Coverage Reduction
New Missed Lines
%

decompiler/IR2/AtomicOpTypeAnalysis.cpp
1
74.23%

goalc/compiler/IR.cpp
1
95.53%

common/cross_os_debug/xdbg.cpp
2
75.19%

decompiler/IR2/Form.cpp
2
69.36%

game/kernel/Ptr.h
4
80.77%

goalc/compiler/compilation/Type.cpp
6
90.63%

Totals

Change from base Build<PHONE_NUMBER>:
-0.06%

Covered Lines:
37698

Relevant Lines:
55010

💛  - Coveralls


space between elements

🛠 Fixes Issue
Fixes #16

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📷 Screenshots

Thank you for your contribution! :tada:


Recommit neutron proposal after nova proposal

On first commit, the neutron proposal didn't have the
nova authentication credentials yet, so we need to
commit neutron again after nova.

if that works, +1


Allow latest TinyMCE

Fixes #929. TinyMCE was not compiling with Sprockets 4 because of an issue in the tinymce-rails gem.
The current gemspec locks to version 4 of tinymce-rails, so to get the fix we need to bump to version 5, which required a few other changes.
There are a few deprecation warnings with the new version. These have not been addressed. (see image)

Tests pass, except where affected by #930. For a build that includes the patch for that issue submitted in #931, see here. That build includes one failure as the result of a segmentation fault in a version of the sassc-rails gem, unrelated to this issue.

Hi @brian-kephart
tinymce-rails was updated 6 hours ago. Could you pls test it again?

@owen2345 thanks for the fast response. This PR was submitted after tinymce-rails was already updated, so the build already includes the new version. The test failures are the result of an update to Rack as described in #930 and have nothing to do with this PR. I can't make those pass without either merging that PR or locking the version of Rack in the Gemfile.
I made a branch on my fork that includes both PRs, and you can see the build results in the last link in my message above. If you merge #931 or another fix for #930, I'll merge the changes into this branch. That should trigger a passing build. Please let me know if there's anything else I can do.

Hi @brian-kephart
I was working in the fix and I have this PR: https://github.com/owen2345/camaleon-cms/pull/934
I tested in local with rails 4x, 5x, 6x, ruby 3.3, 3.5, 3.6 and sprokects 3x / 4.0 and all worked well. Could you pls test it with your application?
Cheers!

My tests pass with the new version, but production is broken. I thought it might be due to CDN caching since you change the TinyMCE installation option from :compile to :copy so those assets are no longer versioned (and I had the later version of TinyMCE installed previously), but even after invalidating my CDN assets the problems remain.

I figured out why my app doesn't work with the current version. I deploy to Heroku. On deploy, Heroku runs rake assets:precompile followed by rake assets:clean. With the TinyMCE installation option set to :copy instead of compile, the TinyMCE assets don't get versioned during precompilation, so running rake assets:clean deletes them. This is in addition to the CDN caching problem referred to in my previous comment.
So, the current version doesn't work on Heroku and has issues with CDNs. We should seek a solution that leaves that option set to :compile. I see three possibilities for this:

Use the latest TinyMCE. There are some breaking changes within TinyMCE, but if these are handled in the Camaleon update there might not be any breaking changes experienced by Camaleon users. For example, I have a codesample plugin enabled that required no changes to work with this PR.
Try to get tinymce-rails maintainers to backport the Sprockets 4 fix from the 5.x branch to the 4.x branch and release a version.
Try and make the 4.x version compile in another way. Here's the commit introducing Sprockets 4 support in version 5.x.

Any thoughts?

Hi @brian-kephart
thanks for testing! I think the option #2 is more confortable if we clone the old version, make changes for sprockes 4 and use it in the CMS. What do you think?
Note: If we use tinymce new version, will break several thinks because they changed several things on how to use tinymce.
Regards!

@owen2345 I think that's reasonable. The new TinyMCE seems to work fine for a basic Camaleon installation, but anyone hooking into it with their own scripts could see problems. I'm submitting a request to tinymce-rails to backport to the 4.x branch, so we'll see what the maintainer says.

I went ahead and merged the recent CMS changes into this branch for testing, in case we ever revisit tinymce-rails 5. All tests appear to pass, except for a segfault in the sassc gem when using Ruby 2.5.

Actually, the tests all pass on my CI. I'm not sure why the Ruby 2.5 job segfaults here.


Add qwik framework section for declaring state

Nice ! I wanted to add this framework !
Thanks for your contribution !


use dropdown-menu in dashboard tables

Feature-request
Description
Actions in the single rows of tables are single buttons at the moment. This use much space and doesn't scale very well. So a dropdown-menu should be used, where all buttons are collected.

Add basic dropdown-menu. Not really fancy at the moment, but better than the old variant with multiple buttons.


Mic-4911/update components for lookup configuration

Mic-4911/update components for lookup configuration
Updates remaining components for lookup table configuration updates.

Category: Refactor
JIRA issue: MIC-4911
Research reference:

Changes and notes
-updates components for lookup configuration
-adds new distribution subclass
Verification and Testing
Successfully ran full simulation

can you lint this real quick before I review?


Remote text referencing seeing

JIRA: https://openedx.atlassian.net/browse/MA-1940

PR Cover Letter

[ ] A detailed description of the changes in the body of the PR
[ ] If available, a link to the relevant JIRA ticket in the body of the PR

[PROJ-XXXX](https://openedx.atlassian.net/browse/PROJ-XXXX)

Sandbox

[ ] Build a sandbox for your branch and add a link here

Testing

[ ] i18n
[ ] RTL
[ ] Unit, integration, acceptance tests as appropriate
[ ] Analytics
[ ] Performance
[ ] Database migrations are backwards-compatible

Reviewers
If you've been tagged for review, please check your corresponding box once you've given the :+1:.

[ ] Code review #1
[ ] Code review #2
[ ] UI strings/error msgs review
[ ] UX review
[ ] Accessibility review
[ ] Product review

DevOps assistance
If it's needed, or even if you suspect it might be needed, do any/all these things as early as possible. Don't surprise devops right before merging! For example, touching envs/aws.py or or envs/common.py are dead giveaways that you'll need assistance when pushing your changes out. Things that require devops attention include, but are not limited to:

configuration changes
feature flags
migrations
Ways to get devops attention, pick-and-choose whichever is most appropriate for your specific PR:
[ ] Tag devops on your PR (@edx/devops), either for review (more specific to devops = better) or just a general FYI
[ ] File a support ticket

FYI: Tag anyone who might be interested in this PR here.
Post-review

[ ] Squash commits

Current coverage is 45.83%

Merging #662 into master will not affect coverage as of c345d0a

@@            master    #662   diff @@
======================================
  Files          418     418
  Stmts        30919   30919
  Branches         0       0
  Methods
======================================
  Hit          14172   14172
  Partial          0       0
  Missed       16747   16747

Review entire Coverage Diff as of c345d0a

Powered by Codecov. Updated on successful CI builds.

@catong fixed

:+1:

:+1:


Nested classes introduce invalid $ref values

VERSION:
5.0.0-rc2
STEPS TO REPRODUCE:
Create a class within a class such as the following:
public class OuterClass {
  public class InnerClass { }
}

Within the controller, have a method such as the following that accepts the inner class as a parameter:
public async Task<ActionResult> DoSomething(Guid id, string something, [FromBody]OuterClass.InnerClass) {
  //Something
  return Ok();
}

The swagger output (looking at the OpenApi 3.0.1 output) when pasted into https://editor.swagger.io/ will generally work great, but the above will show an error of "$ref values must be RFC3986-compliant percent-encoded URIs"
Specifically, the output in offending line will read:

$ref: '#/Api-v1-Controllers-Api-DoSomething+InnerClass

Notably, it's the '+' that's throwing the error - changing this to a '-' resolves it without issue.
EXPECTED RESULT:
I'd expect to see an RFC3986-compliant value in each generated $ref value, specifically one without a '+' in it.
ACTUAL RESULT:

$ref: '#/Api-v1-Controllers-Api-DoSomething+InnerClass

ADDITIONAL DETAILS
Nothing else comes to mind, but happy to answer any questions as you have them.

I'm seeing the + as well.

This is still happened as of version 6.2.3
Azure APIM is rejecting the generated open API due to this issue.


feat: support vite / nuxt app preview

Try to implement preview features with minimal code, but coc seems missing some key function so I can't keep going. Please check TODO notes in preview.ts.

Thanks for your time. I will refer to it. 🙇


BSSID missing

If I select a new network to connect, why is BSSID field empty and I have to manually write it?

An option to use BSSID has been added. The rationale for not copying the BSSID is that many public networks are composed of multiple access points sharing the same SSID. Locking to a specific BSSID would break client roaming on such networks.

i understand but in that case is possible to manualy delete the bssid, which is less work than search the bssid and write it manually. for example i use public networks in the oposite way. i want to connect to one bssid only. i hope that your option will be a sollution to my problem. thank you


[rev2.0WHS] Not Working - Receiver and Right Hand Transmitter Soldered

Hello,
I am rather new to soldering on PCB's and flashing firmware. I have done the following:

I have soldered the transmitter and the right hand transmitter.
I have flashed the QMK firmware on Arduino (2 Pro Micro 5V Arduinos, tested with both).
I have flashed the firmware on the transmitter and the receiver using the docker compose setup.
Once the transmitter is plugged in, only the Arduino green LED lights up.

Currently no key presses work on the keyboard. I have checked the connections with a multimeter and currently I am at a loss.
Can the firmware flash without the YJ-14015 module being soldered on properly?
How could I proceed with troubleshooting from this point onward?
Edit: I've ditched the initial right hand PCB altogether and soldered a new one. Here is a GitHub repository with pictures of all the components: https://github.com/aliasboink/rev2.0WHS_pictures

I've measured several things, among those being the voltage on the module. It's roughly 2.9V on the transmitter PCB and about 3.33V on the receiver (VCC to GND on YJ-14015)

The columns all have roughly 3V.
The rows all basically ground (pull down resistor I presume?).
Every column goes to 0 upon a keypress, specifically testing with K35 in my case for the most apart.
Any idea what could be the issue?

Do you happen to have stable power source (i.e new batteries)? Lately the YJ-14015 modules are power-hungry.

Yep, using new batteries, they measure 3V.


operation-name attributes to be checked for Attribute correctness

In v2.0.0, all operations are added with a constraint to have minLength: 6. This need to be tested for correctness in Acceptance section under
Service Layer :: Attribute correctness

[x] /v1/redirect-info-about-approval-status-changes

subscriber-operation

Fixed as part of issue #191


Fix code block formatting

Category

[x] Content fix
[ ] New article

What's in this Pull Request?
Fix code formatting for HTML and XML content described.
Guidance
No guidance needed.

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/sp-add-ins/update-add-in-web-components-in-sharepoint.md
:white_check_mark:Succeeded
View

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.

thx @junian, appreciated and sorry for the small delay on this.


Basic Recursion Questions

Description
Basic recursion questions
Domain
C/CPP
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


Tag Zebra v1.0.0-beta.3 release

During Sprint 25, we need to tag the Zebra 1.0.0-beta.3 release for the work completed during Sprint 24.

Currently blocked on PRs that fix serious sync issues:

#3200
#3206


Read-only mode

First of all, great job on this project.
Browsing through the configuration, I'm not quite certain if it's possible to allow read-only mode, whether globally or per-user.
Is it possible, and if so, how?

Not possible yet, but it's a good suggestion. I'll keep it no the radar.

I think that's a good idea, if it happens I can see it being a good alternative to https://github.com/lrsjng/h5ai

Have you gotten around to working on this by any chance?

Not yet, but it's pretty high on my list, along with searching.

Read-only mode is now available in 5.1.0. Set readOnly: true in your config to try it out!
The UI in that could certainly be improved, but I have to templatize a few HTML files first for that, which I'll do later.


Update README.md

Remove redundant --save (default is already true), swap to shorthand i for installs.

Thanks!


Created unit tests for requests-state service

PV https://www.pivotaltracker.com/story/show/145296713

@miq-bot add_label fine/no
@miq-bot add_label test

Just tests, no UX review needed.


New version: SphericalGeometry v1.0.0

Registering package: SphericalGeometry
Repository: https://github.com/rjdverbeek-tud/SphericalGeometry.jl
Created by: @rjdverbeek-tud
Version: v1.0.0
Commit: 02dc934c51dc8389b08e3dab0831915d5f6c5643
Reviewed by: @rjdverbeek-tud
Reference: https://github.com/rjdverbeek-tud/SphericalGeometry.jl/issues/5

@rjdverbeek-tud please see the message above.  Once you fix the automerge issues you can register again the new revision without changing the version number and this pull request will be automatically updated.  However, why does this package depend on Documenter at all?  That's usually not a runtime dependency.
[noblock]


Add adviseme command

added slo 'umbrella command'
added slo init command that initialises the slo portion of the manifest
added slo report command that reads the manifest and attempts to get current service level indicators and compares outputs
added providers for AWS and GCP

roadmap issue: https://github.com/reliablyhq/roadmap/issues/52

Oh my, could this be squashed and rebased by any chance? It'd help the review :)

If this is a single feature, I expect a clean history.  This history is just not clean as it is. cc @mick-roper


Revert "PHP maintainer team"

Reverts NixOS/nixpkgs#85575

Why? Please motivate in commit message.

I was planning to merge #85026 before #85575 and then had a email asking "why isn't this merged yet" and I thought "yes, I was planning to merge that by now".
So I merged #85575 before #85026 which created huge conflicts in #85026.
So I reverted #85575, merged #85026, rebased and resolved the conflicts and created/merged #86342 to introduce the maintainer team.

Can we please refrain from merging our own unreviewed PRs in the future?

Sure, but it was blocking me from doing actually useful things that I sensed was way more critical to get in. If you feel that a revert commit of metadata is something that later was going to be re-added is bad I'll be more careful in the future.
And there's a decent explanation in the comment above.


find doesn't work for apifs entries

Something like
find ~/

doesn't recurse as expected. This is probably an issue with type ID and entry schema stuff.

Wasn't this fixed by https://github.com/puppetlabs/wash/pull/739?

Nah, still an issue.


how to show less number pages in the paginate?

In the moment i have that pagination...

....that is not good for small device.
how to show less number pages in the paginate?
for example:

OR

is there possible adaptation for small devices?

Use jekyll-paginate-v2 and you'll be able to specify this yourself:
# Copied from https://github.com/iBug/iBug-source/blob/master/_config.yml
paginate: null
paginate_path: "/blog/:num/"
pagination:
  enabled: true
  per_page: 8
  permalink: "/:num/"
  title: ":title - Page :num of :max"
  limit: 0
  sort_field: "date"
  sort_reverse: true
  trail:
    before: 3
    after: 3

Thanks! :) I know but that not work in the github pages... I need it for jekyll-paginate in the minimal-mistakes

Not with jekyll-paginate. It's been abandoned. The only solution is to switch to Paginate V2. You can build your site with GitHub Actions.

where can i read about GitHub Actions more?

That kind of question is better asked Google, though here it is.
https://help.github.com/en/actions

you mean the https://github.com/marketplace/actions/jekyll-action?

Check Jekyll’s docs. They explain how to use GitHub Actions to build the site.
https://jekyllrb.com/docs/continuous-integration/github-actions/

Thank you! I already found it... I read

Thank You all of you... it does work well.
Close the issue


Not translate some words / html tags

Is there a way to not translate some words? For example, I am translating html, but tags like < strong > are translated as well.
I could remove the tags and translate only the text, but in some cases tags are important. For example, "Eu quero < strong > comprar < /strong > um carro" (portuguese), if you are going to translate separately "Eu quero", "comprar", "um carro", translation will be different than translating it entirely.
For example, the translated phrase "I want to buy a car", "I want to" would be "I want", not being correct when putting everything back together: "I want buy a car". Translating with html tags this problem does not happen. Look here.
So I ask: is it possible not to translate some words, or is it at least possible to do this with html tags?

@gleidsonh can you show the code you used to translate this sentence?

@gleidsonh can you show the code you used to translate this sentence?

@gleidsonh I'm closing the issue since there was no feedback from you


RSTP stream goes black after a while and i have no audio

Howdy all! so i have a Wyze Cam V2. i set it up using the RSTP firmware in Homebridge Camera FFMPEG. it does stream, but after a while, it goes black. it is also of note that Audio isnt working for this either. i cant get audio to stream in the home app.
here is my config,
},                 {                     "name": "Family Room Camera",                     "motion": true,                     "videoConfig": {                         "source": "-rtsp_transport tcp -i<EMAIL_ADDRESS>                        "stillImageSource": "-i<EMAIL_ADDRESS>-vframes 1 -r 1",                         "maxStreams": 6,                         "maxWidth": 1280,                         "maxHeight": 720,                         "packetSize": 752,                         "maxFPS": 15,                         "audio": true,                         "acodec": "libopus",                         "debug": true                     }                 }
here is my debug when i start the stream
`[libopus @ 0x7fe7c800de00] Trying to remove 216 more samples than there are in the queue
[rtp @ 0x7fe7c801ea00] Non-monotonous DTS in output stream 1:0; previous: 123798, current: 116070; changing to 123798. This may result in incorrect timestamps in the output file.
frame=   40 fps= 31 q=34.0 Lsize=      79kB time=00:00:02.60 bitrate= 248.0kbits/s dup=6 drop=4 speed=2.04x
video:77kB audio:5kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Input file #0 (rtsp://NOYOUDONT:DONTPLS@NOT.YOUR.BUSINESS/JK):
  Input stream #0:0 (video): 46 packets read (586621 bytes); 39 frames decoded;
  Input stream #0:1 (audio): 21 packets read (22400 bytes); 21 frames decoded (22400 samples);
  Total: 67 packets (609021 bytes) demuxed
Output file #0 (srtp://<IP_ADDRESS>:60287?rtcpport=60287&localrtcpport=60287&pkt_size=752):
  Output stream #0:0 (video): 40 frames encoded; 40 packets muxed (79146 bytes);
  Total: 40 packets (79146 bytes) muxed
Output file #1 (srtp://<IP_ADDRESS>:52690?rtcpport=52690&localrtcpport=52690&pkt_size=752):
  Output stream #1:0 (audio): 139 frames encoded (44480 samples); 140 packets muxed (5142 bytes);
  Total: 140 packets (5142 bytes) muxed
60 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x7fe7c671e740] Statistics: 0 seeks, 149 writeouts
[AVIOContext @ 0x7fe7c6720400] Statistics: 0 seeks, 141 writeouts
[libx264 @ 0x7fe7c801de00] frame I:1     Avg QP:42.02  size: 10532
[libx264 @ 0x7fe7c801de00] frame P:39    Avg QP:34.07  size:  1759
[libx264 @ 0x7fe7c801de00] mb I  I16..4: 19.8% 79.5%  0.7%
[libx264 @ 0x7fe7c801de00] mb P  I16..4:  0.9%  0.7%  0.0%  P16..4:  7.1%  0.2%  0.2%  0.0%  0.0%    skip:91.0%
[libx264 @ 0x7fe7c801de00] 8x8 transform intra:65.8% inter:93.3%
[libx264 @ 0x7fe7c801de00] coded y,uvDC,uvAC intra: 6.2% 21.8% 0.5% inter: 0.4% 3.0% 0.0%
[libx264 @ 0x7fe7c801de00] i16 v,h,dc,p: 36% 29% 16% 19%
[libx264 @ 0x7fe7c801de00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 35%  6% 53%  1%  1%  1%  1%  1%  1%
[libx264 @ 0x7fe7c801de00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 43% 10% 22%  8%  4%  3%  3%  5%  2%
[libx264 @ 0x7fe7c801de00] i8c dc,h,v,p: 88%  5%  6%  0%
[libx264 @ 0x7fe7c801de00] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x7fe7c801de00] ref P L0: 78.1% 13.1%  6.3%  2.5%
[libx264 @ 0x7fe7c801de00] kb/s:237.44
Exiting normally, received signal 15.
[11/7/2019, 10:39:24 AM] [Camera-ffmpeg] Stopped streaming`
this is the debug when the stream goes dark...
[libx264 @ 0x7fa7ae803a00] frame= 540 QP=29.28 NAL=2 Slice:P Poc:80  I:130  P:796  SKIP:7234 size=2234 bytes
[rtp @ 0x7fa7ad801c00] Sending NAL 1 of len 209 M=0
[rtp @ 0x7fa7ad801c00] Sending NAL 1 of len 176 M=0
[rtp @ 0x7fa7ad801c00] Sending NAL 1 of len 170 M=0
[rtp @ 0x7fa7ad801c00] Sending NAL 1 of len 289 M=0
[rtp @ 0x7fa7ad801c00] Sending NAL 1 of len 314 M=0
[rtp @ 0x7fa7ad801c00] Sending NAL 1 of len 317 M=0
[rtp @ 0x7fa7ad801c00] Sending NAL 1 of len 318 M=0
[rtp @ 0x7fa7ad801c00] Sending NAL 1 of len 416 M=1
[rtp @ 0x7fa7ac015800] Non-monotonous DTS in output stream 1:0; previous: 1770222, current: 1762494; changing to 1770222. This may result in incorrect timestamps in the output file.
[rtp @ 0x7fa7ac015800] Non-monotonous DTS in output stream 1:0; previous: 1770222, current: 1763454; changing to 1770222. This may result in incorrect timestamps in the output file.
frame=  541 fps= 14 q=35.0 size=    1297kB time=00:00:37.29 bitrate= 284.8kbits/s dup=6 drop=11 speed=0.98x
[libopus @ 0x7fa7ac016a00] Queue input is backward in time
[rtp @ 0x7fa7ac015800] Non-monotonous DTS in output stream 1:0; previous: 1790970, current: 1783266; changing to 1790970. This may result in incorrect timestamps in the output file.
[rtp @ 0x7fa7ac015800] Non-monotonous DTS in output stream 1:0; previous: 1790970, current: 1784226; changing to 1790970. This may result in incorrect timestamps in the output file.
[rtp @ 0x7fa7ac015800] Non-monotonous DTS in output stream 1:0; previous: 1790970, current: 1785186; changing to 1790970. This may result in incorrect timestamps in the output file.
[rtp @ 0x7fa7ac015800] Non-monotonous DTS in output stream 1:0; previous: 1790970, current: 1786146; changing to 1790970. This may result in incorrect timestamps in the output file.
[rtp @ 0x7fa7ac015800] Non-monotonous DTS in output stream 1:0; previous: 1790970, current: 1787106; changing to 1790970. This may result in incorrect timestamps in the output file.
[rtp @ 0x7fa7ac015800] Non-monotonous DTS in output stream 1:0; previous: 1790970, current: 1788066; changing to 1790970. This may result in incorrect timestamps in the output file.
[rtp @ 0x7fa7ac015800] Non-monotonous DTS in output stream 1:0; previous: 1790970, current: 1789026; changing to 1790970. This may result in incorrect timestamps in the output file.
[rtp @ 0x7fa7ac015800] Non-monotonous DTS in output stream 1:0; previous: 1790970, current: 1789986; changing to 1790970. This may result in incorrect timestamps in the output file.
[libopus @ 0x7fa7ac016a00] Queue input is backward in time
[rtp @ 0x7fa7ac015800] Non-monotonous DTS in output stream 1:0; previous: 1790970, current: 1790946; changing to 1790970.

Oh! i am running homebridge on a 2012 mac mini running macOS 10.14.6 :)

I have exactly the same problem. I've even changed the video processor but no way, it turns black anyway


DO NOT INSTALL THIS APP!

I completely agree with this.

I completely agree with this.

It's insane how many people are being taken by this scam. Everyone tells me "But a trusted friend told me it was okay" but they don't realize that's how this scam works. It's a pyramid scheme where 1 person thinks they make money by inviting their friend and it just goes down the line until everyone gets screwed. Everything in the 1 pager is a complete lie, it's a centralized platform running on servers owned by one guy @diamondhands and he awarded himself 8 million coins valued by him at (1.8 billion) so he can charge people $170 a coin to sell them one but offers no way to transact it back and all the outside services that are allowing you to sell it are just arranging ripoff deals between you and someone else based on the price fixed by @diamondhands and not the actual supply and demand of the coin. There is no stability, no expandability, the entire platform is a giant cash grab by someone who has done it before and is outside of the United States on purpose so he can just take the money and run.
It's mind blowing this already has robbed people of $350 billion and caused a lot of celebrities to throw away their brand screwing their followers thinking it's legit. However, many of them I suspect got big pay days for just accepting their token on the side since they obviously wouldn't want them selling the clout since they need that falsely boosted clout pre-public launch to ensure their audience buys them and send BTC to @diamondhands.
My god people get really dumb when they think they are going to get money even if it doesn't make any sense.

@Barnacules Do you really think people put $350 billion into this? Not even close... 🤣
Why don't you take time to explain how this Electron app, that simply loads bitclout.com, is capable of installing malware or "intercepting anything" rather than spreading FUD?

@Barnacules Do you really think people put $350 billion into this? Not even close... 🤣
Why don't you take time to explain how this Electron app, that simply loads bitclout.com, is capable of installing malware or "intercepting anything" rather than spreading FUD?

Doesn't matter what this application does, it still loads this scam website and that by itself makes this app bad.

Please back any claims or comments with verifiable facts or don't bother commenting. This isn't a reddit board.

Please back any claims or comments with verifiable facts or don't bother commenting. This isn't a reddit board.

Everything that's been said is correct in my opinion. It's a scam website so this application just should just not be trusted. I think you may be the one that needs to check the facts about this website.

@Barnacules Luckily, this repo has the (basic) source code, so no need to install any binary -- you can build right from source! 😀

They should be jailed for this.
#bitcloutscam

They should be jailed for this.
#bitcloutscam

They definitely should be.

That's one way to look at it. The other is that you are leaping to conclusions. The only way to know is to keep digging and wait. You talk about what could be, but you do not know what is or will be. Thanks for your concerns but be more professional and don't spam in the Github.
As one of the most vocal skeptics/citics that is part of the community, I guarantee that I have done more to help people understand risks than you have. If you convert your youtube video into a report, I would take a look but not adding to your stats there. I'm sure you are mostly conflating risk with scam, like most ppl are doing.

Hey everyone, GitHub is not an appropriate place to have these discussions. Please take them elsewhere.

Really surprised at how many people are so aggressively attacking this. This is literally just an electron app currently. Nothing fishy at all.

Really surprised at how many people are so aggressively attacking this. This is literally just an electron app currently. Nothing fishy at all. If you're worried about BitClout, then don't buy any. You can still use the app.

that is not the reason, what we are attacking is the pyramid scheme behind it.

Really surprised at how many people are so aggressively attacking this. This is literally just an electron app currently. Nothing fishy at all. If you're worried about BitClout, then don't buy any. You can still use the app.

that is not the reason, what we are attacking is the pyramid scheme behind it.

That's fine. but find a room. This is not the place.

Like how the people attacking it have minecraft code on their commits. Facebook and twitter, etc., are pyramid schemes, because you have no control over your own value.

Like how the people attacking it have minecraft code on their commits. Facebook and twitter, etc., are pyramid schemes, because you have no control over your own value.

What do Minecraft plugins got to do with this? Please look into this scam before you get scammed. Trying to defend Bitclout is quite disgusting.

 Explain what Bitclout does that makes
it a "pyramid scheme", that other social media platforms don't also do? If
you mean spending or burning crypto to enter the blockchain and gain
bitclout balance, your argument would validate bitcoin, uniswap, defi, and
any crypto or digital currency is also a pyramid scheme along side any ap
that requires a payment. Where are your facts? So if a bank, tech company,
government, etc. does it and steals your value it's ok and normal, but
bitclout is a pyramid scheme... Who made bitcoin? How many other currencies
have no owner?
On Thu, Apr 22, 2021, 8:57 AM Aerial-Knight-Studios <
@.***> wrote:

Like how the people attacking it have minecraft code on their commits.
Facebook and twitter, etc., are pyramid schemes, because you have no
control over your own value.
What do Minecraft plugins got to do with this? Please look into this scam
before you get scammed. Trying to defend Bitclout is quite disgusting.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bitclout/desktop/issues/2#issuecomment-824865017, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ATYEEQ26SFJXEEEIEEE54WDTKATMRANCNFSM43HSDNHA
.

 Explain what Bitclout does that makes it a "pyramid scheme", that other social media platforms don't also do? If you mean spending or burning crypto to enter the blockchain and gain bitclout balance, your argument would validate bitcoin, uniswap, defi, and any crypto or digital currency is also a pyramid scheme along side any ap that requires a payment. Where are your facts? So if a bank, tech company, government, etc. does it and steals your value it's ok and normal, but bitclout is a pyramid scheme... Who made bitcoin? How many other currencies have no owner?
…
On Thu, Apr 22, 2021, 8:57 AM Aerial-Knight-Studios < @.***> wrote: Like how the people attacking it have minecraft code on their commits. Facebook and twitter, etc., are pyramid schemes, because you have no control over your own value. What do Minecraft plugins got to do with this? Please look into this scam before you get scammed. Trying to defend Bitclout is quite disgusting. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATYEEQ26SFJXEEEIEEE54WDTKATMRANCNFSM43HSDNHA .

looks like someone didn't do any research

@maebeam @diamondhands0 can comments be locked here please?

@maebeam @diamondhands0 can comments be locked here please?

so you want other people to be scammed? do some research. you will find out what goes on with bitclout.

 Explain what Bitclout does that makes it a "pyramid scheme", that other social media platforms don't also do? If you mean spending or burning crypto to enter the blockchain and gain bitclout balance, your argument would validate bitcoin, uniswap, defi, and any crypto or digital currency is also a pyramid scheme along side any ap that requires a payment. Where are your facts? So if a bank, tech company, government, etc. does it and steals your value it's ok and normal, but bitclout is a pyramid scheme... Who made bitcoin? How many other currencies have no owner?
…
On Thu, Apr 22, 2021, 8:57 AM Aerial-Knight-Studios < @.***> wrote: Like how the people attacking it have minecraft code on their commits. Facebook and twitter, etc., are pyramid schemes, because you have no control over your own value. What do Minecraft plugins got to do with this? Please look into this scam before you get scammed. Trying to defend Bitclout is quite disgusting. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATYEEQ26SFJXEEEIEEE54WDTKATMRANCNFSM43HSDNHA .

looks like someone didn't do any research

Did they delete their comments lol

You are aware you have no credence? Explain what Bitclout does that makes it a "pyramid scheme", that other social media platforms don't also do? If you mean spending or burning crypto to enter the blockchain and gain bitclout balance, your argument would validate bitcoin, uniswap, defi, and any crypto or digital currency is also a pyramid scheme along side any ap that requires a payment. Where are your facts? So if a bank, tech company, government, etc. does it and steals your value it's ok and normal, but bitclout is a pyramid scheme... Who made bitcoin? How many other currencies have no owner?
…
On Thu, Apr 22, 2021, 8:57 AM Aerial-Knight-Studios < @.***> wrote: Like how the people attacking it have minecraft code on their commits. Facebook and twitter, etc., are pyramid schemes, because you have no control over your own value. What do Minecraft plugins got to do with this? Please look into this scam before you get scammed. Trying to defend Bitclout is quite disgusting. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATYEEQ26SFJXEEEIEEE54WDTKATMRANCNFSM43HSDNHA .

looks like someone didn't do any research

Did they delete their comments lol

yea, lol.


Ensure that BridgedTypeArray is indirectly returned

On Windows ARM64, how a struct value type is returned is sensitive to conditions including whether a user-defined constructor exists, etc. See
https://learn.microsoft.com/en-us/cpp/build/arm64-windows-abi-conventions?view=msvc-170#return-values
That caused a calling convention mismatch between the non-USED_IN_CPP_SOURCE (Swift) side and the USE_IN_CPP_SOURCE (C++) side and a crash.
Add this constructor so that the calling convention matches.
This is a fix for the OnoneSimplification crash in
https://github.com/swiftlang/swift/issues/74866#issuecomment-2319618579
and is a partial fix for
https://github.com/swiftlang/swift/issues/74866#issuecomment-2319618579

@swift-ci please test

Excellent detective work tracking down this issue. I expect this is going to affect pretty much any C++ class type that we bridge  over to Swift, so the risk of regressing here is fairly high. Can we think of any way to make sure that these types are handled uniformly, even if it's just fixing them all and documenting the pattern so we know what to do in the future (and why)?

Yeah, a very good point!
I'm curious why we need to use #ifdef USED_IN_CPP_SOURCE to hide certain types (the LLVM types?) from the Swift side (I just haven't understood that yet). I assume that there are good reasons for that but I wonder if there could be some alternative ways now that we know about this issue.
I also wonder if there is a way to statically force this constraint (struct is indirectly returned as value) using static_assert or something but I'm not sure if there are ways to express the constraint in C++ itself.
If there are no alternative solution, I'd at least vote for the low-tech approach of "just fixing them all and documenting the pattern so we know what to do in the future (and why)". If that requires a lot of manual editing, I'd be happy to help with that (or I may just end up doing that :)

@swift-ci please test macOS platform

Thanks. Merged! Yes, I think 6.0 also needs this because SwiftCompilerSources is enabled on 6.0 for all OSes/CPUs including Windows ARM64. Unless the alternative seems better, I'd like to defer cherrypicking this to 6.0 until SwiftCompilerSources becomes fully functional (that is, https://github.com/swiftlang/swift/issues/74866 is resolved)

I agree that it makes sense to defer cherry-picking until we have all of the changes needed to make it fully functional

I'm curious why we need to use #ifdef USED_IN_CPP_SOURCE to hide certain types

This is the "PURE" bridging mode. To workaround some problems with C++ interop. See https://github.com/swiftlang/swift/pull/69039.
Last time I tried, I could only build with the pure mode on windows.


support for Thunderbird 125

First of all thanks for this great addon.
I'm wondering if there are any plans to make this addon compatible with the upcoming Thunderbird 125 and following releases.

I'll support each new release as it comes. I believe the next official release will be 127.
I updated the add-on to support 125 and 127 in version 5.2.0.
The new version is under review on the Thunderbird add-on site, but in the meantime, you can download the xpi file from here.
https://github.com/pqrs-org/disable-draganddrop-tb/releases/tag/v5.2.0