fix bug when recevie quroum timeout msg

when a libra node reach timeout status in consensus round,it will broadcasts the timeout msg with it's current round。when the other node receive quorum timeout msgs，it will sort the timeout msg by round of the timeout msg , and the node will use the smallest of round of the sorted msg as it's new round , which case a a panic in the condition :
eg:
there are three node on the net , Namely a/b/c ，and the round of them values 4/5/6，and all of they highest_qc_round was 3 ,and all of them are timeout，and receive timeout msg from each。for example，node c receive quorum timeout msgs then sorted them.Therefor, it will use round 4 as the new round ,and use the method of "update_current_round",which will case panic if the ,because the new_round is smaller than the current_round cause by the code “ assert!(new_round > self.current_round,）”.
so , i think it is can solve the problem by use the bigest round in the method “update_received_timeout" which more reasonable

@huitseeker  ,please have a review?


Implement a transform that crops audio to a given length

The offset can be randomized, as long as the output has the specified length
Like https://github.com/Spijkervet/torchaudio-augmentations/blob/d044f9d020e12032ab9280acf5f34a337e72d212/torchaudio_augmentations/augmentations/random_resized_crop.py#L5
The idea is that one can have a chain of transforms, and some of them change the input length, but the final length should be fixed. That is where this transform is handy.

@iver56  Hello, is this issue still opening? I would like to take it.

Hi :) Yes, go ahead

@iver56 Do you want to close this issue?


[WIP]feat: add project

Signed-off-by: moweiwei<EMAIL_ADDRESS>
What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for reviewers:

Does this PR introduced a user-facing change?

Additional documentation, usage docs, etc.:

Codecov Report

Merging #234 (b75ec73) into master (2d45c2b) will increase coverage by 0.18%.
The diff coverage is 90.90%.


Dsmr hourly gas usage.

Description: Add an hourly derivative of the gas meter reading to show gas usage rate. Now also uses the unknown state instead of None for values that are not available yet.
Checklist:
If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

If the code does not interact with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] Tests have been added to verify that the new code works.

Top 💃 🐬


Bug 2071019: Rebase against v2.5.1

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2071019
Diff https://github.com/kubernetes-sigs/vsphere-csi-driver/compare/v2.5.1...gnufied:upstream-v251

/retest

The failure here looks like those coming from - https://github.com/kubernetes-sigs/vsphere-csi-driver/issues/1653

Changelog: https://docs.vmware.com/en/VMware-vSphere-Container-Storage-Plug-in/2.5/rn/vmware-vsphere-container-storage-plugin-25-release-notes/index.html

@gnufied lgtm, but you might want to run go mod vendor again (for me it changes the ./vendor).

/bugzilla refresh

BTW, both driver & syncer are exposing metrics now [1], so we could start scraping them in 4.11.
[1] https://docs.vmware.com/en/VMware-vSphere-Container-Storage-Plug-in/2.0/vmware-vsphere-csp-getting-started/GUID-65817276-3F34-4E45-92A0-831316AEC853.html


Merge pull request #1 from aurbroszniowski/master

Update from original (1.0.5)

getting latest 1.0.5


Is it possible to have a keras API for PhasedLSTM similar to CuDNNLSTM?

Is it possible to have a keras API for PhasedLSTM similar to CuDNNLSTM?

@abinashsinha330 Can you please add more details to know whether you are looking for a feature or a support kind of questions that are good to be on Stackoverflow? thanks

Correct me if I am wrong, I think it would be counted as a new feature since I am requesting an API similar to CuDNNLSTM that we have in keras.
Basically, I am asking if we can expect an APi called CuDNNPhasedLSTM sometime in future?

I think PhasedLSTM or its Cudnn implementation are widely used like normal LSTM and GRU. This means we won't contain them in the core Keras API.
Alternatively you can propose this request to tensorflow/addons repository, which is the place for hosting additional APIs that is not in Keras or TF API.


⚠ SolarQuery has degraded performance

In 7e4a5f1, SolarQuery ($SOLARQUERY_URL) experienced degraded performance:

HTTP code: 200
Response time: 2457 ms

Resolved: SolarQuery performance has improved in 525c345 after 23 minutes.


bug(mat-select): arrow icon(Chevron Down) is not placed properly in IE

Reproduction
Steps to reproduce:

Open following example in IE - https://material.angular.io/components/select/examples#select-value-binding
Click on the dropdown
Select none
Check the arrow placement when there is nothing selected in mat-select

Expected Behavior
Arrow icon should be aligned properly with the floating label which is currently happening in chrome.

Actual Behavior
Arrow icon is not aligned properly with floating label

Environment

Angular: 12
CDK/Material: "@angular/material": "^12.0.1", "@angular/cdk": "^12.0.1"
Browser(s): IE, Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Windows

For time being, I have added a workaround for this issue -
.mat-select-trigger {
   float: right;
}

@iKrishnaSahu a head's up: Angular support for IE is deprecated and will be removed by Angular v13.

Since IE11 support is ending in v13, I don't see us realistically fixing this between now and then.


Update limit-storage-consumption.md for zh-cn

StorageQuota-->ResourceQuota

Thanks, please squash your commits into a single one. Refer to:
https://kubernetes.io/docs/contribute/new-content/open-a-pr/#squashing-commits

Thanks, please squash your commits into a single one. Refer to: https://kubernetes.io/docs/contribute/new-content/open-a-pr/#squashing-commits

I have reopened a PR #47144
/close


v7.3.0 Release notes (missing)

Don't know where else to post this, but the release notes for v7.3.0 are missing. Can someone post the changes, please? Many thanks and sorry for posting this as an issue ... Please close if required.

@skuske Sorry about the delay. We'll try to get them out later today.

@paulb777 No worries + many thanks!

Published now. https://firebase.google.com/support/release-notes/ios
Thanks for the heads-up!


PowerToys Run doesn't launch apps properly. It only launches ≈50% of the apps correctly, or at all

Microsoft PowerToys version
0.68.1
Installation method
GitHub
Running as admin
Yes
Area(s) with issue?
PowerToys Run
Steps to reproduce
Launch for example Opera GX, it gives the following

Similar issues seem to appear many times using PowerToys Run. This issue isn't present using the alternative app, FlowLauncher.
✔ Expected Behavior
Opera GX or any other app, to open properly.
❌ Actual Behavior
It didn't open.

Other Software
No response

/bugreport

PowerToysReport_2023-03-27-22-58-47.zip
I think this here should be it. I don't know whether it shows the bugs on P-Run, because I switched it off in favor of Flow until it's fixed

Weird, I uploaded all the necessary author feedback.

Are you still experiencing this issue? /needinfo


[🐛] Android Orientation still Turned by 90 degrees

Description
So i am in version 7.1.2 and the issue wherein the image taken from launchCamera is rotated by 90 degrees is still present. i added includeExtra and it doesn't have any rotation information at all. It is very similar to this issue: 2022

any solution for this?

I upgraded the version of the package to the latest 7.2.2, but it didn't work
The workaround for me was to handle the exifdata from app side using exifreader and detect if the "orientation" key is present or not.
If it is present rotate it using @bam.tech/react-native-image-resizer.
uploading the response after correcting the orientation gave me the correct version of the image


Improve User Profile Page

Enhance the user profile section with editable fields and image uploads. Make sure to use the providers correctly.

hey! I want to work on this this project
can u assign it to me ?

hey! I want to work on this this project can u assign it to me ?

Hey sure @Amitkumarkoli


multiple_dcs_test unreliable

It's hard to validate this test, because it frequently times out.

Cannot reproduce this anymore.


[Bug] Unable to get available memory

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
doris version: 3.0.0
os version:Red Hat Enterprise Linux Server release 6.9
os kernel version: 2.6.32-696.el6.x86_64
What's Wrong?
Unable to get available memory
What You Expected?
This problem can be resolved.
How to Reproduce?
Running doris 3.0.0 in Red Hat Enterprise Linux Server release 6.9
Anything Else?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

Error info:
W20240729 13:59:02.071385  8441 mem_info.cpp:262] Failed to get available memory, set MAX_INT.
W20240729 13:59:02.171766  8441 mem_info.cpp:262] Failed to get available memory, set MAX_INT.
W20240729 13:59:02.272140  8441 mem_info.cpp:262] Failed to get available memory, set MAX_INT.
W20240729 13:59:02.372510  8441 mem_info.cpp:262] Failed to get available memory, set MAX_INT.
W20240729 13:59:02.472910  8441 mem_info.cpp:262] Failed to get available memory, set MAX_INT.
W20240729 13:59:02.573290  8441 mem_info.cpp:262] Failed to get available memory, set MAX_INT.
W20240729 13:59:02.673674  8441 mem_info.cpp:262] Failed to get available memory, set MAX_INT.
W20240729 13:59:02.774067  8441 mem_info.cpp:262] Failed to get available memory, set MAX_INT.
W20240729 13:59:02.874433  8441 mem_info.cpp:262] Failed to get available memory, set MAX_INT.
W20240729 13:59:02.974812  8441 mem_info.cpp:262] Failed to get available memory, set MAX_INT.
W20240729 13:59:03.075184  8441 mem_info.cpp:262] Failed to get available memory, set MAX_INT.
W20240729 13:59:03.175570  8441 mem_info.cpp:262] Failed to get available memory, set MAX_INT.
W20240729 13:59:03.275955  8441 mem_info.cpp:262] Failed to get available memory, set MAX_INT.
W20240729 13:59:03.376328  8441 mem_info.cpp:262] Failed to get available memory, set MAX_INT.
W20240729 13:59:03.476724  8441 mem_info.cpp:262] Failed to get available memory, set MAX_INT.
W20240729 13:59:03.577096  8441 mem_info.cpp:262] Failed to get available memory, set MAX_INT.
W20240729 13:59:03.677474  8441 mem_info.cpp:262] Failed to get available memory, set MAX_INT.
W20240729 13:59:03.777868  8441 mem_info.cpp:262] Failed to get available memory, set MAX_INT.


[cmap] Documentation of cmap table lacks information on normalization

The documentation of the cmap table lacks information on the Unicode normalization that font consumers should be applying while using cmap tables to map characters to glyphs, and that font producers can rely on when constructing cmap tables and lookups in GSUB and GPOS tables.
Unicode normalization is relevant in two ways:
– It defines canonical decompositions of characters, such as U+00E4 “ä” to U+0061 “a” + U+0308 “◌̈”. In the absence of information about normalization, font producers have to provide entries for both precomposed and decomposed forms, and then either handle both in subsequent lookups or apply their own normalization.
– It defines canonical ordering of marks, which brings sequences of certain marks (those with a non-zero combining class) into a defined order. In the absence of information about normalization, font producers have to be prepared to handle such marks in any order in ligature or contextual lookups, and font consumers such as shaping engines have to be prepared to handle such marks in any order in cluster validation (see bug #568 for an example of their failure to do so).

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

ID: 86923ff4-2b60-9144-e2b4-77cdb36fd698
Version Independent ID: ea221e53-f51a-8233-3c0b-d416e5360623
Content: cmap - Character To Glyph Index Mapping Table - Typography
Content Source: typographydocs/opentype/spec/cmap.md
Product: typography

I'm inclined to think this would be better considered a shaping spec issue rather than a font file format issue. If nothing else, it needs to be informed by consideration of shaping specs.
For example, U+09CB has a canonical decomposition to U+09C7 + U+09BE, and appropriate treatment of that needs to be considered in the context of a spec for Bengali shaping.
So, in the general case, I think this expands well beyond the scope of the OT spec itself, and it doesn't make sense to treat Latin precomposed characters as special.
I'll leave this open for future consideration as an OT issue. If you'd like the issue remapped to a shaping spec page, that can be done.

A specification for a file format is rather pointless if it leaves the interpretation of its data structures up to the imagination of its readers. How to handle Unicode normalization is an issue for OpenType font producers and font consumers in general, and so it needs to be documented in the core spec.
Shaping engine documentation then needs to be updated to clarify how it handles mismatches between the overall approach to normalization and its own assumptions, but that’s a separate step.

I don't think there's any ambiguity about interpretation of data structures in the cmap table: if a client searches for and finds a mapping for U+00E4, it will get a default glyph ID. That's completely unambiguous.
There may be ambiguity about how to process Unicode character sequences prior to making cmap lookups. And that may result in ambiguity for font developers about what cmap entries should be included. But that's not really separate from ambiguity as to what ccmp or other substitutions might be needed. It's all just one aspect of the need for script-implementation / shaping specs beyond the core OT spec.
If there were some general principle regarding normalization that would make sense as a default assumption across all scripts, then I could perhaps see that as being valid to include in the OT spec. The only such principle I can think of that would be safe to make at this point would be:

When creating a Unicode encoding 'cmap' subtable, font developers should not make any assumptions regarding how applications will handle Unicode normalization during the text layout process. Thus, 'cmap' entries should be included for precomposed characters and also for each of the characters in the canonically-equivalent decomposition. There may be additional factors that need to be considered on a script-by-script basis, such as whether a font needs to include certain glyph substitutions using 'ccmp' or other features. These are outside the scope of this specification.

If that's along the lines of what you had in mind, that could be added in the Recommendations chapter.

I don't think there's any ambiguity about interpretation of data structures in the cmap table: if a client searches for and finds a mapping for U+00E4, it will get a default glyph ID. That's completely unambiguous.

This is locally correct, and at the same time useless in the broader context of creating interoperable fonts, font producers, and font consumers.

When creating a Unicode encoding 'cmap' subtable, font developers should not make any assumptions regarding how applications will handle Unicode normalization during the text layout process. Thus, 'cmap' entries should be included for precomposed characters and also for each of the characters in the canonically-equivalent decomposition. There may be additional factors that need to be considered on a script-by-script basis, such as whether a font needs to include certain glyph substitutions using 'ccmp' or other features. These are outside the scope of this specification.

If that's along the lines of what you had in mind, that could be added in the Recommendations chapter.

No, that’s not what I have in mind. What I have in mind is a specification that’s comprehensive enough that newcomers can develop an interoperable rendering system based on it, and that font producers know what they have to do to create interoperable fonts. Reality is that renderers will be presented with text that’s in NFC, or in NFD, or unnormalized, and some rendering systems normalize and others don’t, and some shaping engines assume their own normalized forms that are incompatible with Unicode normalization. This reflects that Microsoft and ISO have failed to deliver a spec that enables interoperability.

This reflects that Microsoft and ISO have failed to deliver a spec that enables interoperability.

i agree with one qualification: I'd say specs, not spec. The OT/OFF specs are definitely not complete specifications for purposes of ensuring interoperable fonts and layout implementations for display of Unicode text. Since the 1990s, there has always been a big gap in regards to shaping and script-specific implementation requirements. You're absolutely right that

renderers will be presented with text that’s in NFC, or in NFD, or unnormalized

And there is no guarantee of interoperability when

some rendering systems normalize and others don’t, and some shaping engines assume their own normalized forms that are incompatible with Unicode normalization

with no common specification followed in all rendering implementations. I absolutely agree that this is required and that such specs should be developed.
The whole thing is going to be fairly complex. There are two interfaces to consider:

The DrawText() API, which takes a Unicode string that might be NFC, NFD or unnormalized
The interface between the rendering engine and a font. This has subcomponents:

The cmap entries lookups that will get made—may be affected by normalization, bidi mirroring or other factors
The (mandatory) features that will get applied over sub-ranges of the string, based on the string content and certain higher-level meta-information, including layout orientation, bidi levels and language.
The stages in which lookups associated with features will get processed.
The transforms to glyph sequences that the rendering engine will perform before any of the stages of lookup processing

There will be several details here that will need script-specific treatment.
All such details need a common specification to ensure interoperability. But IMO that's too much to cram into the core OT spec. There are already some snippets (e.g., OMPL and related info), but I'd be more inclined to move those out of the OT spec into some separate companion specs than to add more of this type of content. Because until all of the above details are specified, there is no assurance of interop.

This is an area worth exploring and improving.
As I understand it, currently HarfBuzz is the only implementation that tries to reconcile Unicode Normalization with OpenType shaping, by trying to figure out what equivalent sequence to the input the font can handle and use that. I think it's a good cause to try to formalize that and encourage other shaping engines to implement.

The HarfBuzz implementation closely follows the Unicode Normalization Algorithm, but is tailored to work with various script-specific OpenType shapers:
https://github.com/harfbuzz/harfbuzz/blob/master/src/hb-ot-shape-normalize.cc
I can put that in a pseudo-code form if there is interest.

@behdad I would be interested to see that, we were also planning to investigate font-guided normalisation approaches, so it would make sense not to reinvent the wheel.


Can i use scipy instead of pynio engine in xarray

I am trying to read a hdf5 file. But there is an error for the line:
data = xr.open_dataset(filename, engine='pynio')
Error:- ValueError: unrecognized engine pynio must be one of: ['netcdf4', 'scipy', 'rasterio', 'store']
I am using windows 11 and unable to install pynio in anaconda. Can i use scipy instead of pynio in the above command??

I'd look into h5py which should work on Windows.
This FAQ in the xarray docs might be a good starting point.

If the files are .hdf then what engine to use??

The xarray FAQ linked above has info on what backends/engines will work for various file types (including HDF5).  The link should take you directly to that portion of the FAQ, but you may need to search a bit if not.
If you have further usage questions regarding xarray, I'd suggest posting in the xarray GitHub Discussions.
Closing since this is more of an xarray question.


Set background color white for smoke plots

Changed the lowest value colors be actual white instead of pale blue for both integrated smoke and near surface smoke.
The following plots show the changes of the actual white (left) and original pale blue color (right):

Please review.

@kayeekayee Do you have the necessary permissions to merge the PR? If so, go for it! :)
If not, let me know and I will fix that.


torch.clamp issue due to update of pytorch 1.12.0

Since torch.clamp was updated in 1.12.0, the latest version of Pytorch, torch.clamp's min, max argument should be loaded on same device with input tensor. https://github.com/pytorch/pytorch/pull/77035
I got an error with PyTorch 1.12.0 in  this line, https://github.com/microsoft/Swin-Transformer/blob/b720b4191588c19222ccf129860e905fb02373a7/models/swin_transformer_v2.py#L156
Error :
backbones/SwinV2.py:153, in WindowAttention.forward(self, x, mask)
    151 # cosine attention
    152 attn = (F.normalize(q, dim=-1) @ F.normalize(k, dim=-1).transpose(-2, -1))
--> 153 logit_scale = torch.clamp(self.logit_scale, max=torch.log(torch.tensor(1. / 0.01))).exp()
    154 attn = attn * logit_scale
    156 relative_position_bias_table = self.cpb_mlp(self.relative_coords_table).view(-1, self.num_heads)

RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument max in method wrapper_clamp_Tensor)

In 1.11.0 this line works without problems because there was no argument-type promotion before 1.12.0!
but now, guess it should be fixed.

I have simply solved it as follows:
153 logit_scale = torch.clamp(self.logit_scale, max=torch.log(torch.tensor(1. / 0.01)).to(self.logit_scale).get_device()).exp()

I solved it as follows:


Improve error message when there is input is not closed in tsx

The case is: I copied something from html file to tsx file, there is some inputs that are not closed(which is legal in html, but not in jsx):
let TestComponent = React.createClass({
    getInitialState: function() {
        return {
            name: ""
        };
    },
    render: function() {
        return (
            <div>
                <input type="text" name="name">
            </div>
        );
    },
});

When compiled, the error message is:
components/test.tsx(17,1): error TS17002: Expected corresponding JSX closing tag for 'div'.

The line number is wrong, and it's not div that is not closed.
It is easy to find the error for this code, but it's hard to find which tags are not closed when there are too much code.

Oddly, using the language service, I get at least two different error messages.

Would you find it more helpful if the original tag was underlined instead?


Change language and functionality of methods of sending. Closes #98

Edits language on how to send to codefendant and add option for codef to sign on paper, then add the logic for changing that. Closes #98
Test 1:

User has 2 codefendants
Codef 1 will sign on device
Codef 2 will sign on paper
Get to the end
Codef 2 signature is not asked for
Codef 2 name appears in doc

Test complete. Works as expected.  Issue on the final screen display if signing on paper should be its own symbol indicating not waiting and not anything wrong. Issue #91


result preview

[x] I am on the latest Cerebro.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name:
Cerebro.app version:
Relevant information from devtools (See above how to open it):

Issue

in v.0.2.8, i don't have this problem.
but in v.0.3.0.alpha & alpha2 i meet this problem

Related: #285


Update README.md

In the next pull request, please add a link to the actual challenge in the readme


[Bug][Pool S/W] Failed to initialize a block from given inputs due to Invalid block header

🐛 Bug Report

I was testing the pool s/w in feat/mining-pool branch. mining-pool latest codebase
It seems that Prover cannot found the block due to Invalid block header.
I'm not sure it was caused by lack of hash power on prover, but I cannot found to send a PoolResponse to the operator at all.
(FYI, I added some log to tracking block height, difficulty and nonce.)
2021-12-22T07:10:18.269644Z TRACE Received 'PoolRequest' from <IP_ADDRESS>:4132
2021-12-22T07:10:18.341725Z DEBUG prover.process_pool_request()
2021-12-22 07:10:18.341817883 UTC --> header.mine_once_unchecked() height 71200, target<PHONE_NUMBER>81118, nonce hn1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq5dj2mk
2021-12-22 07:10:20.887372256 UTC posw.mine_once_unchecked(), height 71200, block_header.difficulty_target<PHONE_NUMBER>81118, nonce hn1xsnrwyqmc5l976maevuhlv4ae0tjtyd39q8d5af8kyg4rdptn5zqg7p4mf
2021-12-22 07:10:20.887610660 UTC <-- header.mine_once_unchecked() height 71200, target<PHONE_NUMBER>81118, nonce hn1xsnrwyqmc5l976maevuhlv4ae0tjtyd39q8d5af8kyg4rdptn5zqg7p4mf
2021-12-22T07:10:20.925679Z DEBUG start new block, share_difficulty<PHONE_NUMBER>854775807
2021-12-22T07:10:20.925693Z DEBUG block_header.difficulty_target :<PHONE_NUMBER>81118
2021-12-22T07:10:20.925695Z DEBUG block_header.nonce : hn1xsnrwyqmc5l976maevuhlv4ae0tjtyd39q8d5af8kyg4rdptn5zqg7p4mf
2021-12-22 07:10:20.925699932 UTC block.new(), Initialize a new block
2021-12-22 07:10:20.926271 UTC block.from() Construct the block. header.difficulty_target<PHONE_NUMBER>81118, height 71200
2021-12-22 07:10:20.938687287 UTC PoSW difficulty target is not met. Expected<PHONE_NUMBER>81118, found<PHONE_NUMBER>45470603
2021-12-22 07:10:20.938721456 UTC Invalid block header
2021-12-22T07:10:20.938821Z TRACE cannot found block Failed to initialize a block from given inputs

Steps to Reproduce

Step 1
pull snarkOS testnet2 branch
checkout to feat/mining-pool
build snarkOS
Step 2
run pool operator and 2 prover nodes.
Step 3
check the log

Expected Behavior

Prover find unconfirmed block and send a PoolResponse to the operator.
Your Environment

snarkOS : mining-pool latest codebase
Rust version : rustc 1.57.0 (f1edd0429 2021-11-29)
OS : Ubuntu 20.04

Some analysis:
The proof generating actually works fine. However after a proof is generated and the prover tries to send the whole block back to the operator:
https://github.com/AleoHQ/snarkOS/blob/eb4fd9133b63323ba90efd1be78f32452f8714cc/src/network/prover.rs#L283-L286
That Block::new(...) has a standard validity test, so that also includes difficulty test:
Trace
https://github.com/AleoHQ/snarkVM/blob/7d6e6a12875cd812eac29692353c33f6490790d9/dpc/src/block/block.rs#L68
https://github.com/AleoHQ/snarkVM/blob/7d6e6a12875cd812eac29692353c33f6490790d9/dpc/src/block/block.rs#L139
https://github.com/AleoHQ/snarkVM/blob/7d6e6a12875cd812eac29692353c33f6490790d9/dpc/src/block/block.rs#L163
https://github.com/AleoHQ/snarkVM/blob/7d6e6a12875cd812eac29692353c33f6490790d9/dpc/src/block/header.rs#L230

https://github.com/AleoHQ/snarkVM/blob/7d6e6a12875cd812eac29692353c33f6490790d9/dpc/src/posw/posw.rs#L136-L154
snarkVM tries to verify if the proof in the block header matches the difficulty target of the actual block. However, this is not actually required by shares as they, by design, will not satisfy the actual target most of the times.
I guess the previous testings are done on a non-competitive test chain which has a high raw difficulty target and that concealed this bug until we tried it on the testnet2.

@heejin-github @HarukaMa Thanks for bringing this to our attention! We'll make sure this is fixed before the PR is pushed.

There are still issues:
The operator reports could not deserialize block on PoolResponse.
It looks like when deserializing BlockHeader, there is another is_valid check (snarkVM/dpc/src/block/header.rs, line 375 -> 143 -> 230) so the operator will be unable to deserialize the header. We might need a from_unchecked for BlockHeader as well.


feat(icon): icon modification for svelte.js and svelte.ts

[x] I have read CONTRIBUTING.md
[x] I have read CODE_OF_CONDUCT.md

Thanks for the PR!
Could you please show the example of where 'svelte.js' and 'svelte.ts' are used as filetypes? Maybe some reasonably used filetype plugin or something similar.

With the introduction of svelte runes. Svelte reactivity can be put outside of the normal svelte files like in typescript and javascript files.
See here for more information

This is not about filetypes (what you see printed after executing :=vim.bo.filetype), but about an actual (composite) file extensions. Tracking those for each language is not a goal.
Here is an example of how to customize these extensions on user side:
require('mini.icons').setup({
  extension = {
    ['svelte.js'] = { glyph = '', hl = 'MiniIconsYellow' },
    ['svelte.ts'] = { glyph = '', hl = 'MiniIconsAzure' },
  },
})


ProGuard rules for Flutter

Quite blanket approach to Flutter part but it prevents
https://github.com/flutter/flutter/issues/15100

By default, minifyEnabled should be off. Because we do not know whether third party plugins works or not with proguard.

ok i will disable flags just leave the proguard config.

I really would prefer that we removed files from our template instead of adding more, but...
cc @tvolkert @mravn-google

Write docs instead?

@swavkulinski I think that would be a good alternative, yes. PRs to the website repo are more than welcome. The page to change would likely be android-release-build.md.

https://stackoverflow.com/questions/51342391/how-to-check-obfuscation-results-of-flutter-app


AVRO-2580: Enforce Logical Type and Literal Type Match

Jira

[x] My PR addresses AVRO-2580.
[x] It does not add any dependencies.

Tests

[x] My PR fixes a bug in test_schema parse checking, in which {"type": "long", "logicalType": "date"} was not being caught as a logicalType/type mismatch.
[x] My PR refactors test_schema by:

making example schema readable
splitting test_parse into valid vs invalid checks
Removing dedicated test_decimal_* tests and moving their fixtures so they get run by the generic schema.parse tests.

Commits

[x] My commits all reference Jira issues in their subject lines. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[x] No new functionality that warrants documentation.
[x] All the public functions and the classes in the PR contain docstrings that explain why they do what they do.

Wuff, sorry this got so big in the refactor of test_schema. I think it's worthwhile though; the tests are clearer and a single failure doesn't obscure other downstream failures.


Allow PersonaCrypt to be more user-friendly when force is required to import the pool

Enhancement request.
If – for example – a prior use of the PersonaCrypt device did not end with a clean export, then there should be a more user-friendly way of dealing with the subsequent PCDM-based attempt to log in.
Ideally: do not require command-line use of the zpool command with the force option.
Too little knowledge can be a dangerous thing, if the user assumes that force will be OK in all import situations (beyond PersonaCrypt).
There's a companion issue in trueos/pcdm and it probably makes sense to keep this PersonaCrypt issue separate …

This issue was moved to trueos/trueos-core#71


[http-api] Allow for external calls to manipulate scheduler behaviour state

hallo Mark, I am hanving a look at the http-api branch
which looks nice and wanted to probe
the soundness of the following approach :-)
Would it make sense to let the specific behaviour module change
it's own state on external calls? Smth like:
% scheduler.erl
- callback handle_call( Request :: any(), From :: {tag(), pid()}, State :: any() )
    -> {ReplyType :: atom(), Reply :: any(), State :: any()}

handle_call(Request, From, State) ->
    {Handler, HandlerState} = get_handler(State),
    {reply, Reply, HandlerState} = apply(Handler, handle_call, [Request, From, HandlerState]),
    State = record_update(State, HandlerState),
    {reply, Reply, State}.

This could allow e.g. to enqueue Tasks into the behaviour state,
to be scheduled in the offers callback
Also, not sure if a reply or a noreply would fit better here.
is btw the http-api branch  being developed further?

Hey
The 'http-api' is in a work in progress. If I remember correctly I've got the scheduler to a stage of it working and the executor less so than that. Thinking back the plan was to get the erlang version to an acceptable state and then work on a elixir binding.
I don't do much mesos work any more so am currently struggling to get some free time to work on it.
You suggestion sounds great and I would gladly accept any feedback, PR's etc...
Mark

Hi Mark,
great, thank you for the feedback.
no problem, if I get to that point I'll sure push a PR!

elixir binding
👍

ciao for now...
A.


Updating the Test name and codecov version

Updating the test name to Test-with-coverage
Updating the Codecov version to v3

I'll take care of the merge and let's see what it looks like in the next PR


IPv6 support

by using inet.af/netaddr for ip math, this also enables us to have variable child prefix length.
API Breakage:

change prefix length to uint8 from int
Usage.AvailablePrefixes changed to AvailableSmallestPrefixes

TODO:

[x] write tests for ipv6 addresses and prefixes
[x] decide howto cope with variable child prefix length and the calculation of availablePrefixes.
[x] write integration test with existing production if behavior is the same
[x] remove same child prefix length restriction
[ ] decide what to do with Prefix.childPrefixLength on write to be able to roll back.

The current integration test is based on data from our testing environment, should be done for production data as well.
For comparison #38 should be merged first.
Benchmarks:
name                    old time/op    new time/op    delta
NewPrefixMemory-4         2.30µs ± 1%    1.63µs ± 9%  -28.82%  (p=0.008 n=5+5)
NewPrefixPostgres-4       10.5ms ± 5%    10.1ms ±10%     ~     (p=0.886 n=4+4)
NewPrefixCockroach-4      71.7ms ± 2%    70.6ms ± 3%     ~     (p=0.343 n=4+4)
AcquireIPMemory-4         3.29µs ± 6%    2.83µs ± 5%  -13.94%  (p=0.008 n=5+5)
AcquireIPPostgres-4       14.0ms ±16%    13.5ms ±13%     ~     (p=0.841 n=5+5)
AcquireIPCockroach-4      70.7ms ± 1%    72.3ms ± 2%   +2.31%  (p=0.016 n=5+5)
AcquireChildPrefix1-4     21.6µs ± 2%     6.0µs ± 7%  -72.00%  (p=0.008 n=5+5)
AcquireChildPrefix2-4     87.0µs ±59%     5.8µs ± 2%  -93.35%  (p=0.008 n=5+5)
AcquireChildPrefix3-4     1.30ms ±21%    0.01ms ± 2%  -99.56%  (p=0.008 n=5+5)
AcquireChildPrefix4-4     5.78ms ± 4%    0.01ms ± 9%  -99.90%  (p=0.008 n=5+5)
AcquireChildPrefix5-4     35.3ms ± 4%     0.0ms ± 2%  -99.98%  (p=0.008 n=5+5)
AcquireChildPrefix6-4     7.54µs ± 1%    5.85µs ± 4%  -22.33%  (p=0.008 n=5+5)
AcquireChildPrefix7-4     11.7µs ± 7%     6.1µs ±10%  -47.56%  (p=0.008 n=5+5)
AcquireChildPrefix8-4     25.1µs ± 8%     5.8µs ± 3%  -76.88%  (p=0.008 n=5+5)
AcquireChildPrefix9-4     71.9µs ± 2%     5.7µs ± 1%  -92.11%  (p=0.008 n=5+5)
AcquireChildPrefix10-4     268µs ± 1%       6µs ± 1%  -97.87%  (p=0.016 n=4+5)
PrefixOverlapping-4       1.18µs ± 5%    0.27µs ± 3%   -76.84%  (p=0.008 n=5+5)

name                    old alloc/op   new alloc/op   delta
NewPrefixMemory-4         1.80kB ± 0%    1.44kB ± 0%  -20.00%  (p=0.008 n=5+5)
NewPrefixPostgres-4       6.13kB ± 1%    5.77kB ± 1%   -6.00%  (p=0.029 n=4+4)
NewPrefixCockroach-4      7.42kB ± 3%    7.17kB ± 4%     ~     (p=0.200 n=4+4)
AcquireIPMemory-4         2.31kB ± 0%    2.16kB ± 0%   -6.57%  (p=0.008 n=5+5)
AcquireIPPostgres-4       10.8kB ± 1%    10.9kB ± 1%     ~     (p=0.595 n=5+5)
AcquireIPCockroach-4      12.5kB ± 0%    12.5kB ± 1%     ~     (p=0.175 n=4+5)
AcquireChildPrefix1-4     15.5kB ± 0%     4.6kB ± 0%  -70.26%  (p=0.008 n=5+5)
AcquireChildPrefix2-4     48.3kB ± 0%     4.6kB ± 0%  -90.45%  (p=0.008 n=5+5)
AcquireChildPrefix3-4      698kB ± 0%       5kB ± 0%  -99.34%  (p=0.008 n=5+5)
AcquireChildPrefix4-4     2.75MB ± 0%    0.00MB ± 0%  -99.83%  (p=0.008 n=5+5)
AcquireChildPrefix5-4     12.7MB ± 1%     0.0MB ± 0%  -99.96%  (p=0.008 n=5+5)
AcquireChildPrefix6-4     5.24kB ± 0%    4.61kB ± 0%  -12.06%  (p=0.008 n=5+5)
AcquireChildPrefix7-4     7.18kB ± 0%    4.61kB ± 0%  -35.81%  (p=0.008 n=5+5)
AcquireChildPrefix8-4     15.5kB ± 0%     4.6kB ± 0%  -70.26%  (p=0.008 n=5+5)
AcquireChildPrefix9-4     48.3kB ± 0%     4.6kB ± 0%  -90.45%  (p=0.008 n=5+5)
AcquireChildPrefix10-4     202kB ± 0%       5kB ± 0%  -97.71%  (p=0.008 n=5+5)
PrefixOverlapping-4         432B ± 0%        0B       -100.00%  (p=0.008 n=5+5)

name                    old allocs/op  new allocs/op  delta
NewPrefixMemory-4           41.0 ± 0%      20.0 ± 0%  -51.22%  (p=0.008 n=5+5)
NewPrefixPostgres-4          150 ± 0%       128 ± 0%  -14.38%  (p=0.029 n=4+4)
NewPrefixCockroach-4         164 ± 2%       143 ± 2%  -12.54%  (p=0.029 n=4+4)
AcquireIPMemory-4           49.0 ± 0%      39.0 ± 0%  -20.41%  (p=0.008 n=5+5)
AcquireIPPostgres-4          267 ± 0%       257 ± 0%   -3.82%  (p=0.008 n=5+5)
AcquireIPCockroach-4         290 ± 0%       278 ± 1%   -4.00%  (p=0.008 n=5+5)
AcquireChildPrefix1-4        113 ± 0%        70 ± 0%  -38.05%  (p=0.008 n=5+5)
AcquireChildPrefix2-4        113 ± 0%        70 ± 0%  -38.05%  (p=0.008 n=5+5)
AcquireChildPrefix3-4        290 ±14%        70 ± 0%  -75.88%  (p=0.008 n=5+5)
AcquireChildPrefix4-4      3.41k ±11%     0.07k ± 0%  -97.95%  (p=0.008 n=5+5)
AcquireChildPrefix5-4      80.1k ± 4%      0.1k ± 0%  -99.91%  (p=0.008 n=5+5)
AcquireChildPrefix6-4        109 ± 0%        70 ± 0%  -35.78%  (p=0.008 n=5+5)
AcquireChildPrefix7-4        109 ± 0%        70 ± 0%  -35.78%  (p=0.008 n=5+5)
AcquireChildPrefix8-4        113 ± 0%        70 ± 0%  -38.05%  (p=0.008 n=5+5)
AcquireChildPrefix9-4        113 ± 0%        70 ± 0%  -38.05%  (p=0.008 n=5+5)
AcquireChildPrefix10-4       122 ± 1%        70 ± 0%  -42.53%  (p=0.008 n=5+5)
PrefixOverlapping-4         24.0 ± 0%       0.0       -100.00%  (p=0.008 n=5+5)

We now have a constant time for Prefix allocation, regardless of length, and smaller memory footprint and allocations.
@droid42 @mwindower @Gerrit91 this is still WIP, but would appreciate an early review. This would bring us a large step forward.

Raised a PR in https://github.com/inetaf/netaddr/pull/61 to move my childprefix logic upstream

Codecov Report

Merging #36 (dfc70f3) into master (26f8663) will decrease coverage by 0.48%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##           master      #36      +/-   ##
==========================================
- Coverage   75.34%   74.86%   -0.49%
==========================================
  Files           8        8
  Lines         572      545      -27
==========================================
- Hits          431      408      -23
  Misses         73       73
+ Partials       68       64       -4

Impacted Files
Coverage Δ

prefix_helper.go
64.00% <64.00%> (ø)

prefix.go
75.57% <83.87%> (+0.92%)
:arrow_up:

Continue to review full report at Codecov.

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

Very nice to see this progressing!
Here some proposals for aligning names a bit more to standard terms used in ip address/cidr calculation space (https://docs.python.org/3/library/ipaddress.html#networks-as-containers-of-addresses):

extractPrefix              -> subnet
extractPrefixFromSet -> nextFreeSubnet
availablePrefixes       -> subnetCount
childPrefixLength       -> subnetPrefixLength

Thanks for looking at my code.
regarding availablePrefixes/subnetCount calculation:
The algorithm of netaddr.IPSet.Prefixes will return a slice of Prefixes as packed as possible like so:
func TestPrefix(t *testing.T) {
	prefix, _ := netaddr.ParseIPPrefix("<IP_ADDRESS>/22")
	remove, _ := netaddr.ParseIPPrefix("<IP_ADDRESS>/28")
	remove2, _ := netaddr.ParseIPPrefix("<IP_ADDRESS>/28")

	var ipset netaddr.IPSet

	ipset.AddPrefix(prefix)
	ipset.RemovePrefix(remove)
	ipset.RemovePrefix(remove2)
	for _, p := range ipset.Prefixes() {
		t.Logf("prefix:%s", p)
	}
}
    ip_test.go:35: prefix:<IP_ADDRESS>/28
    ip_test.go:35: prefix:<IP_ADDRESS>/27
    ip_test.go:35: prefix:<IP_ADDRESS>/26
    ip_test.go:35: prefix:<IP_ADDRESS>/25
    ip_test.go:35: prefix:<IP_ADDRESS>/28
    ip_test.go:35: prefix:<IP_ADDRESS>/27
    ip_test.go:35: prefix:<IP_ADDRESS>/26
    ip_test.go:35: prefix:<IP_ADDRESS>/25
    ip_test.go:35: prefix:<IP_ADDRESS>/23

So in this case subnetCount would be 9 which will suggest we are short in subnets, and after acquiring one more subnet, we will have eventually a higher subnetCount.

We could return a slice from availablePrefixes containing a histogram of prefix length and how often they are available. The slice should be sorted by prefix length - to the end user we could show e.g. that a /24 is the biggest availablePrefix. WDYT?
Like this:

type AvailablePrefix struct {
  PrefixLength uint8
  Count uint32
}

AvailablePrefixes []AvailablePrefix

I think this is a reasonable approach, albeit its still difficult to have a simple understanding how much space is left from a ui perspektive.

Added the first gardener ipv6 compatibility test: https://github.com/gardener/gardener/pull/3391

Added the first gardener ipv6 compatibility test: https://github.com/gardener/gardener/pull/3391


Specification compatibility improvements

I've notices some unchecked boxes in spec compatibility in README, and decided to give it a try.
I've fixed 3 items from the checklist:

added octal scalar number parsing: 0o [0-7]+ (base 8 integers), finishing spec 2.19 (Integers)
fixed empty content parsing (spec 7.2)
added support for BOM parsing, and spec 5.1 and 5.2 examples

Additionally, I've fixed some test issues that occurred on my windows machine with Polish language, namely normalizing line-endings and locale-specific parsing.
I've wanted to finish off full spec example set, but didn't get any more time and so I'm opening the PR as-is for now.

Greate works. Thank you very much.
I will merge them.
( By the way, I may fix the following two points later.

ReplaceLineEndings is an API that is not in the .
Base 8 integers is correct, but it may cause unexpected behavior. You may consider making it an optional behavior.

At any rate, I think it is a big improvement. Thanks.


deprecate clef and remove from released binaries

⚠ Requests for support in an issue-format will be closed immediately. For support questions, we welcome you to our Discord.

Task
Acceptance criterea

Related #2858

closing this as duplicate - handled at https://github.com/ethersphere/bee/pull/4252


CLI and the American Spelling of Color

multicolor init would be a frequent error for most people using this.
The spelling of color there. For most APIs, developer tools I think it's more common to use the American spelling over the brit spelling.

via @bl4ckdu5t.
It may be helpful to add support for color as well.

Great idea, have scheduled for 0.6.5 on Monday :+1: :muscle:

To go a little further on this, I've also published an American friendly npm package https://www.npmjs.com/package/multicolor

Great @davemackintosh


Improvement

Added status code 429 Exception
Added created/updated time in ZonedDateTime format

👋 thank you for showing interest in this project.
but do we really need ZonedDateTime ? i don't think so because the developer using the library can easily parse that thing i didn't find it useful
however your update 1.Added status code 429 Exception is reasonable so you have to remove the ZonedDateTime so i can merge the request also kindly revert the changes in pom.xml  regarding version because it gets changed in major updates
if you wish you can update the documentation too.

@shivam1608  I have seen most of the developers were using ZonedDateTime. Which will be very useful for comparison/verification/Time-related wait etc......, I was using your Lib for a very long back thought this thing is missing, what do u feel. Also the String createdAt & String updatedAt are still available.  After ur confirmation i can will update the PR

nice work 👍will be usable in the next release
till then you can use main-SNAPSHOT as version if you want to use before release


[INSTALL] The mongodb binaries aren't downloaded and installed on Archlinux

System information

OS Platform and Distribution - ArchLinux x86_64:
Python version - 3.10.13:
FiftyOne version - 0.23.2:
FiftyOne installed from - pip:

Commands to reproduce
$ fiftyone

Describe the problem
The mongodb database binaries which are supposed to be shipped with fiftyone by the fiftyone-db auxilliary package aren't downloaded and installed:
$> ls .venv/lib/python3.10/site-packages/fiftyone/db/
__init__.py  __pycache__/

Thus running fiftyone fails:
$> fiftyone
Traceback (most recent call last):
  File "/home/user/test/.venv/lib/python3.10/site-packages/fiftyone/core/odm/database.py", line 200, in establish_db_conn
    _db_service = fos.DatabaseService()
  File "/home/user/test/.venv/lib/python3.10/site-packages/fiftyone/core/service.py", line 80, in __init__
    self.start()
  File "/home/user/test/.venv/lib/python3.10/site-packages/fiftyone/core/service.py", line 209, in start
    super().start()
  File "/home/user/test/.venv/lib/python3.10/site-packages/fiftyone/core/service.py", line 118, in start
    + self.command,
  File "/home/user/test/.venv/lib/python3.10/site-packages/fiftyone/core/service.py", line 238, in command
    DatabaseService.find_mongod(),
  File "/home/user/test/.venv/lib/python3.10/site-packages/fiftyone/core/service.py", line 286, in find_mongod
    raise ServiceExecutableNotFound("Could not find `mongod`")
fiftyone.core.service.ServiceExecutableNotFound: Could not find `mongod`

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/user/test/.venv/bin/fiftyone", line 5, in <module>
    from fiftyone.core.cli import main
  File "/home/user/test/.venv/lib/python3.10/site-packages/fiftyone/__init__.py", line 25, in <module>
    from fiftyone.__public__ import *
  File "/home/user/test/.venv/lib/python3.10/site-packages/fiftyone/__public__.py", line 16, in <module>
    _foo.establish_db_conn(config)
  File "/home/user/test/.venv/lib/python3.10/site-packages/fiftyone/core/odm/database.py", line 206, in establish_db_conn
    raise FiftyOneConfigError(
fiftyone.core.config.FiftyOneConfigError: MongoDB could not be installed on your system. Please define a `database_uri` in your `fiftyone.core.config.FiftyOneConfig` to connect to yourown MongoDB instance or cluster

I looked into the fiftyone-db setup.py and it's failing here.
$> cat /etc/os-release

NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

The ID=arch isn't in the LINUX_DOWNLOADS dict.
But the installation of fiftyone-db fails silently.

Hi @jakubhejhal, if you can share which download url should be used for arch I can add the entry and publish a patch. Though because Arch Linux is a rolling release distribution it's hard to guarantee support

I downloaded the latest ubuntu binaries and copied them to site-packages/fiftyone/db:
tar -xzvf mongodb-linux-x86_64-ubuntu2204-7.0.4.tgz
cp -r bin ~/.venv/lib/python3.10/site-packages/fiftyone/db/

And that seems to fixed the issue. But as you said, arch is rolling release and I have no idea if arch may decide to upgrade some underlying mongodb dependencies.
I tried to list the linked libraries that the ubuntu mongodb uses:
$> objdump -p .venv/lib/python3.10/site-packages/fiftyone/db/bin/mongod

...

Dynamic Section:
  NEEDED               libcurl.so.4
  NEEDED               liblzma.so.5
  NEEDED               libresolv.so.2
  NEEDED               libcrypto.so.3
  NEEDED               libssl.so.3
  NEEDED               libm.so.6
  NEEDED               libgcc_s.so.1
  NEEDED               libc.so.6
  NEEDED               ld-linux-x86-64.so.2

Which all seem to be very widely used libs, so I guess nothing should break?

Had the same issue and ubuntu binaries are working for me. As another solution (I don't know the consequences of it) falling back to the system mongod binaries can be used by checking the if it is in the $PATH. I am willing to contribute if you think it is logical.

Hi @zadobudak I believe that would be useful! A contribution would be great! That would be a more reliable approach.
Pardon the delay @jakubhejhal. I think @zadobudak's is a bit more reliable. I think the fiftyone-db should only attempt installing officially supported downloads.
Generally speaking, we recommend configuring a database_uri for the best experience if FiftyOne is used frequently as it avoids subprocess management of the db.

I had a similar problem on Red Hat. The way you are parsing the os-release file with csv.reader doesn't work if there are empty lines in the file. The file on Red Hat 8 seems to have an empty line after BUG_REPORT_URL causing the parsing to fail.
$ cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="8.6 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.6"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.6 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/red_hat_enterprise_linux/8/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.6
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.6"

This leads to it failing to download the mongodb binaries.

I had a similar problem on Red Hat. The way you are parsing the os-release file with csv.reader doesn't work if there are empty lines in the file. The file on Red Hat 8 seems to have an empty line after BUG_REPORT_URL causing the parsing to fail.
$ cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="8.6 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.6"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.6 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/red_hat_enterprise_linux/8/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.6
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.6"

This leads to it failing to download the mongodb binaries.

Thanks for reporting this! Fixed in fiftyone-db==1.1.1

@benjaminpkane hello I am a little late but I found 2 solutions for the problem and implement it will send it here for contribution however I have one question in my mind which one is a better way?

[https://github.com/voxel51/fiftyone/blob/develop/fiftyone/core/service.py#L233](core service.py) uses find_mongod and directing to the system mongod binary is possible from here. Since if there is no mongod binary in specified path we can add a fallback search in system path.
[https://github.com/voxel51/fiftyone/blob/develop/package/db/setup.py#L98](db package setup.py) in here if we cannot find the downloads in os release info it passes silently. If it is not present in the specified packages we can symlink or copy the system binary into the directory which fiftyone.constants tells.
At this point im not really sure about which one is a better solution. Since this is a problem of db package changing different parts of the code seems not logical however I feel like 1st approach is better for changing system binaries paths etc.
What do you think?


Feature/embedded models

ALL CONTRIBUTIONS WILL BE REVIEWED BY AT LEAST ONE OF OUR FRONTEND TEAM MEMBERS.

Technical description

Related to

This PR is related to Name your issue
About Tests

Tested on the following devices

Steps to reproduce

Screenshots (optional):
This Pull Request template has been written and generated by Monk JS repository.

Keeping branch for code but closing experimental Pull-Request.


Adding download count tracking to project downloads

After talking with Vineet, we think it would be a good idea to track the number of project downloads for each project so that when the U24 grant comes due for renewal we have some additional concrete statistics on usage.
If may also be good to also add this same tracking to sample downloads, if it is simple to extend that tracking functionality.

Added in #157


build: move the exercises at the end of the file

When reading the build.zig file, it is IMHO very inconvenient to scroll down the big chunk of code where all the exercises are defined.
I think that the exercises variable definition should be moved at the end of the file.

Good idea!

As long as we have our test issues, we can put this change in the back.


SourceLink.Embed.AllSourceFiles has incorrect dependency

SourceLink.Embed.AllSourceFiles 2.5.0 is shipping with:
    <dependencies>
      <group targetFramework=".NETStandard1.4">
        <dependency id="NETStandard.Library" version="1.6.1" exclude="Build,Analyzers" />
      </group>
    </dependencies>

Because there are no files under /lib in the nupkg, it doesn't make sense to have a <dependency> element. It doesn't matter what the project's target framework is. Besides being unnecessary, it's even harmful. It causes any .NET Framework project that uses it to start including these DLLs in the build output:
Microsoft.Win32.Primitives.dll
System.AppContext.dll
System.Console.dll
System.Diagnostics.DiagnosticSource.dll
System.Diagnostics.Tracing.dll
System.Globalization.Calendars.dll
System.IO.Compression.dll
System.IO.Compression.ZipFile.dll
System.IO.dll
System.IO.FileSystem.dll
System.IO.FileSystem.Primitives.dll
System.Net.Http.dll
System.Net.Sockets.dll
System.Reflection.dll
System.Runtime.dll
System.Runtime.Extensions.dll
System.Runtime.InteropServices.dll
System.Runtime.InteropServices.RuntimeInformation.dll
System.Security.Cryptography.Algorithms.dll
System.Security.Cryptography.Encoding.dll
System.Security.Cryptography.Primitives.dll
System.Security.Cryptography.X509Certificates.dll
System.Xml.ReaderWriter.dll

Worse, it causes .NET Framework projects to start hitting https://github.com/Microsoft/msbuild/issues/2707 and failing to build with

SGEN : error : An attempt was made to load an assembly with an incorrect format: %userprofile%\.nuget\packages\system.net.http\4.3.0\ref\net46\System.Net.Http.dll

The workaround is for me to add IncludeAssets="build", but I shouldn't need it:
    <PackageReference Include="SourceLink.Embed.AllSourceFiles" Version="2.5.0" IncludeAssets="build" PrivateAssets="all" />

Happily accepting pull requests. I'm simply doing a dotnet pack.
https://github.com/ctaggart/SourceLink/blob/master/build.ps1#L57-L59

Cool, can do!

@jnm2 And while you are making pull requests. If you know how best to incorporate https://github.com/NuGet/Home/issues/4142#issuecomment-341867400, that would be cool too.

@ctaggart In this or another package? It's just copy+parse into any desired <PropertyGroup> in the csproj.

Quick q: what's the point of this line, since the shared project seems to be empty?
https://github.com/ctaggart/SourceLink/blob/5b8dac5eaf20f2b6e5ebc4d1e96a452d87c2bb96/SourceLink.Embed.AllSourceFiles/SourceLink.Embed.AllSourceFiles.csproj#L13

@jnm2, I didn't even notice it until now. I'm not sure it is needed. Is it causing issues?

cc @GeertvanHorrik

No issues, it was just a thing I had to follow up on and make sure it wasn't influencing the build in some way that wasn't occurring to me.

I think is just structure in case we wish to share anything between the SourceLink.Embed projects.

Standardization is exactly the reason for that.

I'm now testing without the <dependency> line, but if I need to remove the whole dependency group we may run into https://github.com/NuGet/Home/issues/5132 and need a nuspec. (With the Pack target, not as bad as it sounds.)

Oh good, leaving the empty dependency group isn't a problem other than a cosmetic one. (Makes it look in the package browser like it can only be installed into netstandard1.4-compatible projects.) What's your preference, with or without?

No, I'm wrong. The package manager UI is smart enough to hide empty dependency groups.

Is there a way to do an integration test that verifies that no extra DLLs end up in a net46 project's build output when this package is added?

This isn't very contributor-friendly 😀 but I don't have a better suggestion besides pointing the nuget.config to the bin folder (which is what contributors like me will do anyway).
https://github.com/ctaggart/SourceLink/blob/5b8dac5eaf20f2b6e5ebc4d1e96a452d87c2bb96/build.ps1#L71-L74
I spotted the same problem in other packages, so here's the complete fix: https://github.com/ctaggart/SourceLink/compare/master...jnm2:fix_package_dependencies
I'd just be happier with an integration test. Should I mess around with that in the Tests project?

@jnm2 Permission to remove that section from the build.ps1.

Also, when you submit a pull request and after I tag it, All the builds from AppVeyor will be accessible on their feed if you want to try them out before I publish to nuget.org.
AppVeyor builds:
https://ci.appveyor.com/project/ctaggart/sourcelink
NuGet Feed:
https://ci.appveyor.com/nuget/sourcelink

I'm going to try for a super simple integration test before the PR if that's okay.

https://github.com/ctaggart/SourceLink/pull/284


Can hydration be synchronous?

It's impossible to use one-way binding in component through data() with asyncronous store hydration
// LocalStorage
setting = 2

// ~/store/settings.js
export const state = () => ({
  setting: 1
})

// ~/pages/settings.vue
data() {
  return {
    setting: this.$store.state.settings.setting // setting = 1
  }
}

created() {
  window.console.log(this.$store.state.settings.cardsNumber) // setting = 1
  setTimeout(() => {
    window.console.log(this.$store.state.settings.cardsNumber) // setting = 2 (!)
  }, 1000)
}

How about this
data() {
return {
store: eval({ setting: this.$store.state.settings.setting })
}
}

Terrible. Because eval. Because hack.
My non-lib temporary solution:
function getLocal(path, fallback) {
  if (!window && !window.localStorage) return fallback
  return JSON.parse(localStorage.getItem(path)) || fallback
}

function setLocal(state, prefix, key, value) {
  state[key] = value
  if (!window && !window.localStorage) return
  localStorage.setItem(`${prefix}.${key}`, JSON.stringify(value))
}

export const state = () => ({
  setting: getLocal('settings.setting', 1)
})

export const mutations = {
  update(state, settings) {
    for (let s = 0; s < settings.length; s++) {
      setLocal(state, 'settings', settings[s][0], settings[s][1])
    }
  }
}

ahhhhhhhhhhhhhh omg I got wrong. I didn't get enough sleep.
Okay I will add new functions & options for that. Thank you

+1 to this.
I use this for showing GDPR notices, and it will show a flash of the notice on load currently.

I'm testing some designs for this function. please wait for it <3


Add OneZero importer

Is your feature request related to a problem? Please describe.
There is no OneZero in the list of importers
Describe the solution you'd like
Add the OneZero to the list.
Additional context
Because OneZero works with OTP there is a need to develop a new flow in Caspion that retrieves OTP sms code from the user as a pop up modal.
The israeli scrapers library has an api to retrieve a long lived token so after Caspion get the sms code it can retrieve that token and save it in the config

Very good!
Can you describe how you plan to implement it? To save time on the review phase if we find out we disagree about the way it is implemented...

It is not stale #628


Not scrolling when on hover an iframe

Hi,
I love to use this amazing plugin hoever after lot of tries I can't find a solution. for this particular problem..In this example why the Perfect Scrollbar is not working?
http://stackoverflow.com/questions/42305137/how-to-prevent-stop-scrolling-hovering-an-iframe-perfect-scrollbar
Thanks

I've started a bounty for it...none knows a good reason for this issue. Could anyone here please help me?
Thanks

I had the same problem, please help.

+1

It's because the scroll event is consumed in the iframe. Please refer to the iframe example.
https://github.com/noraesae/perfect-scrollbar/blob/master/examples/iframe.html

@utatti, 404 when trying to view example. Does perfect-srollbar work correctly with iframes? It works on small screen devices.


ncaught (in promise): Error: Can't resolve all parameters for Addoffer2Page: ([object Object], [object Object], ?). Error: Can't resolve all parameters for Addoffer2Page: ([object Object], [object Object], ?).

Augury: 1.23.0
Date: Sat, 19 Oct 2019 14:03:24 GMT
OS: Win32
Demo test application:
-- Git repository for demo app showing the issue (optional but very helpful for difficult issues).
-- If a code snippet will completely show the issue, please include it.
Description of issue:
-- Include (clipped) screenshot images if possible.
Angular version (required): ???
Steps to reproduce:

Additional details:

@esraariad Please provide more info on the issue.


Struggling to incorporate custom javascript into a page

Hi,
I'd like to be able to incorporate JS canvas elements into my pages to show interactive content. I'd like to keep the JS separate and have it be pulled in by Jekyll when the site is built, roughly in line with this approach.
http://blog.emmatosch.com/2016/03/09/using-custom-javascript-in-jekyll-blogs.html
So far I've not been able to do this with jekyll-now. The Javascript file doesn't seem to be folded into the site no matter where I put it. Is there something I'm missing? Are there resources anywhere that would explain how to do this?

Extra clarification: I'm using jekyll-now in conjunction with the Github Pages blogging platform.
Also: I've identified a workaround: creating a dedicated JS directory on the site that has nothing to do with the Jekyll environment and referencing that in the pages. However, I'd love to know a better way of handling this kind of content, if one is available.
My thanks in advance for any help you can provide.


Use m.css for generating doxygen docs

Here is the output:  http://moderncppstarter-mcss-docs.surge.sh/index.html
Addresses https://github.com/TheLartians/ModernCppStarter/issues/47 (although a bit indirectly).
Also, note that right now, these are pending:

[x] The Pages and Files tabs have empty content, as m.css does not include undocumented entities by default in the output. We need to fix this by adding related documentation.
[x] Previously Doxygen was filled using env variables, ex: @DOXYGEN_PROJECT_ROOT@, but now they have to be hardcoded. Maybe this can be improved.

@TheLartians I made the change to pass CMake variables to Doxygen.
Additionally, I also got the Pages section working. Plus I also added sample code to get started with configuring the navbar more easily.
Before:

After:

However, the Files section is still empty. I am still not sure why. If you have time, could you try it out? If not, maybe I'll revisit this later sometime.

Super, thanks for the quick updates! I'll take a look into the files section as soon as I have some time as well.

So apparently the option M_SHOW_UNDOCUMENTED allows us to disable the feature that hides undocumented objects (including directories, files and namespaces), which allows us to create the files page without explicitly documenting directories. This also allows us to document classes again without needing to explicitly document outer namespaces. I prefer this setting, as it makes it easier for users to start and add documentation to their projects.
However to do so, I needed to fix a small bug in m.css that caused a crash when the option was enabled. Therefore we are currently using my local fork of m.css to build the docs. I've opened a PR with the fix that I hope it will be resolved soon.

Nice updates. It feels much better now. 🔥

The disadvantage is that all files now appear in the "Files" section, event those without any documentation relevance.

Perhaps, is there a way we can include files based on extension? Say only .c, .h, .cpp, .cc and .hpp?

Glad to hear that! :)
Not sure if it's possible to filter by file type and depending on the project it might even be desirable to document certain files that aren't relevant for us. It would be nice if there was an option to simply hide files that contain no documentation info and cannot be parsed by Doxygen. IMO though the current solution of showing more than necessary is good enough for the starter and users that are serious about docs can eventually disable M_SHOW_UNDOCUMENTED.

Yeah, I also agree that enabling M_SHOW_UNDOCUMENTED is a fair choice for a starter template.
I think we can go ahead with using your fork of m.css. It seems the PRs in the original repo are not merged so frequently, so that might take a while.

Good point, I'll make a quick change to the comment and will go ahead with merging the PR.

After updating the dependencies in the CI script the new docs are live and look way better. 🚀
Thank you for the contribution!


--device /dev/snd 'error gathering device information while adding custom device "/dev/snd"'

When I try to run add a sound device of my host to my docker container I have the error:
docker run -it --rm --device /dev/snd ubuntu
FATA[0000] Error response from daemon: Cannot start container 709637ad0e5d02baa94148f0af7ea4daaa109ad9ce831044ad2cfb29b5f98911: error gathering device information while adding custom device "/dev/snd":not a device node

The only way I can have my sound works is mapping each device inside of my /dev/snd using --device and using a --privileged flag
docker run -it --rm --device /dev/snd/controlC0 --privileged ubuntu

Info:
OS: Ubuntu Trusty 14.04.02
Linux shadow 3.16.0-34-generic #47~14.04.1-Ubuntu SMP Fri Apr 10 17:49:16 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

docker version

Client version: 1.6.0
Client API version: 1.18
Go version (client): go1.4.2
Git commit (client): 4749651
OS/Arch (client): linux/amd64
Server version: 1.6.0
Server API version: 1.18
Go version (server): go1.4.2
Git commit (server): 4749651
OS/Arch (server): linux/amd64

docker info

Containers: 0
Images: 886
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 929
 Dirperm1 Supported: true
Execution Driver: native-0.2
Kernel Version: 3.16.0-34-generic
Operating System: Ubuntu 14.04.2 LTS
CPUs: 4
Total Memory: 7.696 GiB
Name: shadow
ID: ZIKB:GRCM:MZIA:7OMM:T4CK:GWR3:V4MC:KCRR:3V3U:ZXT7:MMHG:C2XG
WARNING: No swap limit support`

@ricardoseriani Works for me on master.

Indeed, #10745 didn't make it into 1.6.0, so this is only available from either master builds (https://master.dockerproject.com/), or waiting for 1.7.0.

So, we can close this.
Fixed by #10745

yay for 1.7.0 :D

My mistake..
I thought that it was included in 1.6.0


Cannot display IMGUI

Not implemented.
But I think it's essential for CharaStudio and ConfigurationManagerRuntimeUnityEditor.

Implemented IMGUI capture with reference to KKS_VR.
KKS_VR uses shader to display UGUI and IMGUI on one screen, However, Shader is difficult, so simply display IMGUI in front.

Unable to operate ConfiguraitonManager with hand controller.

CharaStudio may not need IMGUI. I was able to display CharaStudio by adjusting the settings of UGUI.

I was able to display it.
However, it is difficult to operate using the hand controller.
Incompatible with the method of interrupting UnityEngine.Input.
At first, I misunderstood that it was necessary to run CharaStudio.
But not necessary. So stop supporting IMGUI.
MEMO:
RuntimeUnityEditor may open Notepad. You can't see the notepad in VR, and the notepad inhibits clicking.

Supported in #6.


the package can not be used

when i run these codes in spyder:
# Load your usual SpaCy model (one of SpaCy English models)
import spacy
nlp = spacy.load('en')

# Add neural coref to SpaCy's pipe
import neuralcoref
neuralcoref.add_to_pipe(nlp)

# You're done. You can now use NeuralCoref as you usually manipulate a SpaCy document annotations.
doc = nlp(u'My sister has a dog. She loves him.')

doc._.has_coref
doc._.coref_clusters

they said name "doc" is not defined

Were there any errors thrown during the execution of this script? Can you paste the full error stack trace?


Import Aliases does not work at all

Support guidelines

[X] I've read the support guidelines

I've found a bug and checked that ...

[X] ... the documentation does not mention anything about my problem
[X] ... there are no open or closed issues that are related to my problem

Description
Import Aliases feature does not work on v.1.1.0
Expected behaviour
it should import aliases to the database
Actual behaviour
after importing, the finished email with "323 aliases had validation failures" and 0 being imported.
beside that "429 TOO MANY REQUESTS" if you want to try to upload the csv even though you just tried it once.
Steps to reproduce
create simple csv file
like the template:
alias,description,recipients
booking<EMAIL_ADDRESS>Docker info
Client: Docker Engine - Community
 Version:    24.0.2
 Context:    default
 Debug Mode: false

Server:
 Containers: 11
  Running: 11
  Paused: 0
  Stopped: 0
 Images: 15
 Server Version: 24.0.2
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 3dce8eb055cbb6872793272b4f20ed16117344f8
 runc version: v1.1.7-0-g860f061
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: builtin
 Kernel Version: 4.15.0-213-generic
 Operating System: Ubuntu 18.04.6 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 2
 Total Memory: 1.899GiB
 Name: d1
 ID: 3290eba2-4ce4-4726-97ed-xxxxxx
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  <IP_ADDRESS>/8
 Live Restore Enabled: false

WARNING: No swap limit support

Docker Compose config
No response
Logs
no log file even though in debug mode.

Additional info
No response

I tried to import aliases exported from another anonaddy instances.
I got the following screen:

and the following line on the logs:
<IP_ADDRESS> - - [27/Jun/2024:19:38:38 +0200] "POST /settings/aliases/import HTTP/1.1" 429 6632 "https://mydomain.com/settings/data" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"

I had chance to play with this a little more.
First, the Import Aliases function has a rate limit of 1 per minute.
This means that if you click the "Import Alias Data" button once and then click on it again within the same minute, you get an HTTP 429 ("too many requests") error. Only after 1 minute has gone by since you last clicked it you can try again without getting that error.
When I performed my first test on it, I probably clicked on the button after selecting the wrong file, got another type of error which I disregarded because it was due to my mistake, then tried again shortly after and got the "too many requests" error that I reported in my previous post.
But I have to say that the reason for the "too many requests" error is not very clear and if you first get another type of error you would naturally try to fix your mistake and retry within a minute.
I have now given another try importing the file I had exported from another Addy.io instance and got the error "The aliases import file has invalid headers, please use the template provided above.".
Then I looked at the exported file and realised its headers are completely different from those required by the import function.
I intuitively gave it for granted that the export and import format were the same, to allow a user to export from an instance and import into another one. But clearly that's not the case.
So I manually modified the exported csv file to make it comply with the import template and then I managed to successfully import it.
@xanthos84's you made a first attempt which resulted in 323 validation failures. Then you probably made another attempt within a minute getting the "too many requests" error. If you try again after more than one minute you shouldn't encounter the same error.
While the 323 validation failures are difficult to debug considering that the operation seems to produce no logs. But maybe looking at the actual file you are trying to import it's possible to find out what could cause the failure.
@willbrowningme although I managed to resolve my issues and woudn't call them a bug, I can see that some choices may be a bit counterintuitive and/or mislead users into reporting issues.
As an improvement on this, I can give the following suggestions, thay you may (or may not) wish to implement:

increase a bit the rate limit on the import aliases function so to still avoid abuse but at the same time allow users to retry immediately if they got an error
or alternatively impose a rate limit only on successful alias imports, so that users can retry immediately after an error
or alternatively clearly state on the UI that you can import only once per minute
...or disable the import button with a countdown from 60s to 0 after clicking on it
make the export and import csv templates compatible, so that it's easier to export from an instance and import into another one


searx: 1.0.0 -> 1.1.0

Description of changes

Things done

Built on platform(s)

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

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ofborg test searx
Fails for me:
uwsgi[825]: --- no python application found, check your startup logs for errors ---

Weird, but I can reproduce it. I was running it with runInUwsgi = false; , which works fine. Maybe the uwsgi part in the nixos module needs to be overhauled as well.

for me works with:
environment.systemPackages = with pkgs; [
  searx uwsgi
];

for me works with:
environment.systemPackages = with pkgs; [
  searx uwsgi
];

There is already a environment.systemPackages = [ cfg.package ]; declaration in the module file, which means the only thing that should be used from your lines is uwsgi itself. It hints to me that there are some uwsgi paths that are not pointing to the nix-store, but I cannot find any.
Including uwsgi into systemPackages seems wrong to me.


[DCA] Add external_metrics_provider.endpoint config

Add a new external_metrics_provider.endpoint config in
datadog-cluster.yaml and a DD_EXTERNAL_METRICS_PROVIDER_ENDPOINT
environment variable to override the default Datadog API endpoint to
query external metrics from, in place of the global DATADOG_HOST. It
also makes the external metrics provider respect the DD_SITE setting if
DD_EXTERNAL_METRICS_PROVIDER_ENDPOINT is not set.

@olivielpeau any further feedback, or do you think we can get this merged before the freeze on Friday?

@olivielpeau any further feedback, or do you think we can get this merged before the freeze on Friday?


Pls explain shortly what`s the benefits over dos/32a

subj

dos32pae is not a full DOS extender like dos32a, so a comparison doesn't make much sense. The (only) benefit of PAE paging is that access to extended memory beyond the 4 GB barrier is simple and straigthforward.


Brett suppliers/pricing tier

@vishal-bluebash - Other than the turbolinks stuff this is looking good.

What about tests?

we are using this branch on production


Error reading 'metrics' and 'state'

Hi, I am using spritespin on online shop based on Magento 2. I installed it via npm in separate module. Sometimes after page reload, when I resize the window I am starting to get lots of errors of two kinds:
Uncaught TypeError: Cannot read properties of undefined (reading 'state')
at getState (state.ts:10:21)
at getPluginState (state.ts:27:17)
at getState$$1 (input-drag.ts:18:10)
at jQuery.fn.init.onInit (input-drag.ts:32:17)
at HTMLDivElement. (utils.ts:50:12)
at HTMLDivElement.dispatch (jquery.js:5232:27)
at HTMLDivElement.elemData.handle (jquery.js:4884:29)
at Object.trigger (jquery.js:5136:13)
at Object.jQuery.event.trigger (jquery-migrate.js:633:22)
at HTMLDivElement. (jquery.js:5866:18)
and
render-360.ts:18 Uncaught TypeError: Cannot read properties of undefined (reading 'metrics')
at jQuery.fn.init.onDraw (render-360.ts:18:38)
at HTMLDivElement. (utils.ts:50:12)
at HTMLDivElement.dispatch (jquery.js:5232:27)
at HTMLDivElement.elemData.handle (jquery.js:4884:29)
at Object.trigger (jquery.js:5136:13)
at Object.jQuery.event.trigger (jquery-migrate.js:633:22)
at HTMLDivElement. (jquery.js:5866:18)
at Function.each (jquery.js:376:20)
at jQuery.fn.init.each (jquery.js:142:18)
at jQuery.fn.init.trigger (jquery.js:5865:16)
Errors occur on window resize, this one with 'metrics' property is repeating thousands of times.
Even when the errors occurs, image is still spinning correctly, but I need to get rid of those errors in console :)

i can not reproduce it, at least not in the current responsive example
https://spritespin.ginie.eu/samples/#/basics-responsive
It seems like there is logic active on spritespin element, that no longer have the spritespin state. Do you happen to create and remove the spritespin instances? If you remove them, how do you do that?

As I see, we use spritespin on fotorama gallery. There are some js calculations with image sizes when page is resized. After page reloads there is short period of time, when whole spritespin 'data' object is undefined and this is the moment, when the errors are thrown. I am not sure if this recalculations on fotorama can remove instance of spritespin.

i suspect that during resize the spritespin instances are recreated somwhere in your code. You must ensure to destroy the spritespin instances when the elements are removed/recreated. Do you have an example or the page where i can see it in action?

As i found, there are no errors, when I delete responsive: true option

but you still might have a memory leak. In the console take a look how many instances you have before and after resize
SpriteSpin.instances


Docker Compose Example?

Hi katalon community and devs!
I have a small contribution. I noticed out of all the ci yaml files, there was no docker-compose, so I made a real nice and easy one. All you need to do is add the docker-compose.yml file to the top level of your project.
docker-compose.yml
version: "3.7"
services:
  katalon:
    image: katalonstudio/katalon:latest
    container_name: katalon
    hostname: katalon
    volumes:
      - .:/katalon/katalon/source
    entrypoint: katalon-execute.sh
    command: -propertiesFile=/katalon/katalon/source/console.properties

Notice the command only needs a properties file which should already exist at the top level of your project, if not add it and use the code below. Probably best to remove empty variables from the file if they are unused.
console.properties
browserType=Chrome (headless)
retry=0
testSuitePath=Test Suites/TS_RegressionTest
executionProfile=default
deviceId=
kobitonDeviceId=
qTestDestId=
qTestDestType=
remoteWebDriverType=Selenium
remoteWebDriverUrl=

Then you may simply run docker-compose up and voila!
I believe this is the easiest way to run a katalon test through Docker locally, the equivalent docker command is quite large and hard to read.
Here is another way to do the same without the properties file. However it is not as dynamic as using the properties file as you would have to edit the docker-compose.yml file.
docker-compose.yml
version: "3.7"
services:
  katalon:
    image: katalonstudio/katalon:latest
    container_name: katalon
    hostname: katalon
    volumes:
      - .:/katalon/katalon/source
    entrypoint: katalon-execute.sh
    command:
      - -browserType="Chrome"
      - -retry=0
      - -statusDelay=15
      - -testSuitePath="Test Suites/TS_RegressionTest"

I would also like to see this as an example in katalon-studio/docker-images Readme file as another use-case. This would be consistent with most docker images readme files because why not have a docker-compose example.
Enjoy!

Thank you for this detailed instructions. I'll add this to the README and the sample repository.


feat(fmt): add all_params config - same as all but split single param too

Motivation
Closes #9173

for backward compatibility reasons multiline_func_header="all fmt does not write single params on new line (at param level there's params_first which writes on new line regardless number of params and params_first_multi which writes only multi params on new lines)
add a new config multiline_func_header="all_params to write params on new lines even if there's a single param (adding such won't break existing formatters)

Solution

LFG! Thanks :)


Madpack: Move unit tests + refactor minor code

Unit tests for get_rev_num and is_rev_gte moved to the correct
location
GPDB 5/6 version extraction made more general
Bare except in get_rev_num replaced with specific exceptions

SUCCESS

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/278/

Tested reinstall as well successful&unsuccessful upgrade on postgres. LGTM +1


[FLINK-18663][rest] Fix the exception occurred on AbstractHandler#handleException but not handled

What is the purpose of the change
https://issues.apache.org/jira/browse/FLINK-18663
Fix the exception occurred on AbstractHandler#handleException but not handled, then JM not exit.
Brief change log
Fix the exception occurred on AbstractHandler#handleException but not handled, then JM not exit.
Verifying this change
no
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)

@tillrohrmann  @zentol  please take a look, if you have time

This isn't covering everything what needed to be done. This is missing the explicit catch of NullPointerExceptions, and the checking for the termination future under the lock to ensure we don't start processing requests during a shutdown.

@zentol Should we open a new jira to discuss the checking for the termination future under the lock to ensure we don't start processing requests during a shutdown ?

@Tartarus0zm Let's covert it in this ticket, as a separate commit.

@zentol on this PR, a new commit for check the termination future ?

@Tartarus0zm yes, in this PR.

@zentol I add a new commit for check the termination future, please take a look

@zentol  I has fix, please take a look again

@zentol Is there anything else I need to do?


Adding DtoD support to CUDA shared memory feature 2

Continuation of @rarzumanyan work in #58.
The python client's wrapper present in the previous PR didn't work correctly, as it was missing some information, but everything else worked well. The interface has also changed, using a signature for DtoD that mimics the existing one from HtoD and allows for batching inputs in a single shared memory region.
I've tested the implementation using both: DtoD and HtoD cuda shared memory. If tests are required before the merge, I would appreciate a guide towards the direction as to how to implement them, as the way that I tested the DtoD implementation required extra dependencies (pycuda) to get inputs to the GPU. Tests were done against the most recent commit in tritonserver's main branch as of submitting this PR.

Functionality implemented with the support for DLPack. Closing.


LIST on Direct Message crash

The deamon will crash if a user inputs a LIST command for any reason when connecting to the DMServer
data: LIST                                                                                │··························
                                                                                │··························
/mnt/mpathag/scratch/node/discordIRCd/server.js:693                                               │··························
    const channels = discordClient.guilds.get(discordID).channels.array();                        │··························
                                                        ^                                         │··························
                                                                                │··························
TypeError: Cannot read property 'channels' of undefined                                           │··························
    at listCommand (/mnt/mpathag/scratch/node/discordIRCd/server.js:693:57)                       │··························
    at /mnt/mpathag/scratch/node/discordIRCd/server.js:933:25                                     │··························
    at Array.forEach (native)                                                                     │··························
    at Socket.<anonymous> (/mnt/mpathag/scratch/node/discordIRCd/server.js:779:19)                │··························
    at emitOne (events.js:96:13)                                                                  │··························
    at Socket.emit (events.js:189:7)                                                              │··························
    at readableAddChunk (_stream_readable.js:176:18)                                              │··························
    at Socket.Readable.push (_stream_readable.js:134:10)                                          │··························
    at TCP.onread (net.js:551:20)

Right, that is because that server will never have channels. I'll build in a check to prevent this from happening.


Update client3:circe, client3:core, ... to 3.9.2

About this PR
📦 Updates

com.softwaremill.sttp.client3:circe
com.softwaremill.sttp.client3:core
com.softwaremill.sttp.client3:http4s-backend

from 3.9.1 to 3.9.2
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.softwaremill.sttp.client3" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.softwaremill.sttp.client3" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #153.


[Bug] Tokens become invalid -- no re-login

After any one re-boot of the MC Client, the log-in token becomes invalid, and when it does you get the "invalid token" error instead of being asked to log-in again. The only work-around at the moment is to delete the tokens.json under /.minecraft (or similar) to regenerate it and to force the mod to take a new log-in after each client reboot.
I haven't had this issue much until recently, but I do have TFA activated on my account, so I suspect that TFA or a recent discord update may have triggered this issue.
Also, on erroneous log-in (i.e. wrong pw), the mod just errors and doesn't let you make a new log-in attempt either.
Is there a way to let the mod re-attempt logins? Also, is there a way to move the login phase out of Mod Initialization Phase 2 and into the running game itself?
One more related issue: if you do not have a valid login, trying to use the DCE features (mainly the GUI button presses) will crash the client. If the above re-log-in attempts are implemented, could the DCE redirect the user to try another log-in attempt instead of crashing them?

Same
i'm 1.7.10

Same 1.10.2

Same 1.8.9


Enable Git LFS

We will need this to have better screenshot testing with paparazzi for #7
We used these to inspire ourselves for these tests:

https://github.com/DroidKaigi/conference-app-2022/pull/97/files
https://github.com/slackhq/circuit/pull/204/files

Documentation: https://docs.github.com/en/repositories/working-with-files/managing-large-files/about-large-files-on-github

@soulcramer Can you confirm me the expected locations of these images in our repo?
They mention **/snapshots/**/*.png
Also, we might as well add CI checks for that.

By the way, what is the workflow for snapshot testing?
Should they always run on PRs? And who is responsible for generating the golden images? (the CI, or the local machine of the dev)

Yes this is the correct path.

By the way, what is the workflow for snapshot testing?
I think we will stay with the workflow we were using until now: The test run on every PR and fail the PR if its fail, wait for the screenshot to be regenerated in the PR  by the dev.

Ultimately it would be ideal imo that the CI is responsible of that since with our current process nothing can stop the dev from uploading new screenshots when uploading his first patchset which would make this test unnecessary 😞

Ok, we'll have to work on a custom workflow then, because it's not very clear to me what should be executed and when it should be or not.


RWD - Add fixed width for sidebar with filters on products listing

@karolbzik cannot reproduce this one seems to be fixed

Yeah It's been fixed in the pre-demo MR. Sorry for leaving it in.


Deprecated: trim() with PHP 8.2

I have updated my project to PHP 8.2 and the warning has started to appear. My brainmaestro/composer-git-hooks version of is v2.8.5
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /vendor/brainmaestro/composer-git-hooks/src/helpers.php on line 54

I have fixed this and it has been merged to master but it was not tagged yet, I have no idea why.

@BrainMaestro – Can we get this tagged please. 🙏🏻 🙂

@ZejdCicak you're right. I already saw your merged. The commit id was 3d197c4. But I don't know how we can generate a new tag.


Distinguish between My Courses and Other Courses

It would be nice to have 2 tabs in Courses View:
http://xxxxx.classroom.mumuki.io/#/courses

My Courses Tab , where you see related courses (based on teacher-course relation)
Other Courses Tab (non-related courses)

Now that we have different roles - teachers, headmasters and janitors - this should not be an issue anymore, since teacher will only see courses that are actually related to them.


feat: upgrade native sdk <IP_ADDRESS>

Update native sdk <IP_ADDRESS> dependencies

This pull request is trigger by bot, you can checkout this branch and update it.

Examples built:

https://download.agora.io/demo/test/agora_rtc_engine_android_6.1.1-sp.41121_20231114105016.zip
https://download.agora.io/demo/test/agora_rtc_engine_ios_6.1.1-sp.41121_20231114104704.zip
https://download.agora.io/demo/test/agora_rtc_engine_macos_6.1.1-sp.41121_20231114104653.zip
https://download.agora.io/demo/test/agora_rtc_engine_windows_6.1.1-sp.41121_20231114104257.zip

This comment is commented by bot, do not edit it directly

Examples built:

https://download.agora.io/demo/test/agora_rtc_engine_android_6.1.1-sp.41121_20231115035720.zip
https://download.agora.io/demo/test/agora_rtc_engine_ios_6.1.1-sp.41121_20231115040059.zip
https://download.agora.io/demo/test/agora_rtc_engine_macos_6.1.1-sp.41121_20231115035536.zip
https://download.agora.io/demo/test/agora_rtc_engine_windows_6.1.1-sp.41121_20231115035350.zip

This comment is commented by bot, do not edit it directly


Disqus not showing up on some of the posts

Expected Behavior
Disqus integration works all the time
Current Behavior
Disqus integration doesn't work, or the template falls apart on some posts using latest version of this template.
Example:
https://skarlso.github.io/2018/03/15/kubernetes-distributed-application/ -- disqus isn't showing up
https://skarlso.github.io/2017/12/04/commit-build-deploy/ -- disqus does show up but is mangled.
Possible Solution
No idea why. :(
I tried moving in content-single.html this:
</article>
{{ .Render "comments" }}
{{ .Render "prev-next" }}

like this
  {{ .Render "comments" }}
</article>
{{ .Render "prev-next" }}

That seemed to have worked for the the kubernetes post, but suddenly, this post: https://skarlso.github.io/2018/01/13/furnace-massive-update/ does no longer have a disqus link.
Steps to Reproduce or Template with Error (for bugs)

Context
Always
Your Environment
Hugo Version:
Browser:
Chrome, Safari, Firefox
Desktop or Mobile:
Both
Link to your project:
Source: https://github.com/Skarlso/blogsource

Somebody?

I found that when I specify these:
description = "Keep your git forks updated"
featured = "git_updater.png"
featuredalt = "Octokit"
featuredpath = "date"
linktitle = ""

Even if empty, the disqus link will work. /shrug


Use python3 env

We use ecmd-pdbg (https://github.com/open-power/ecmd-pdbg) in openbmc . recently openbmc infrastructure is completely moved to python3 and we are getting errors using just python env. so moving this to python3 env

@kahnevan @janssens2 please review and merge so i can update the sha1 on the ecmd-pdbg side to latest


MONGODB-CR credentials missing in the user document

Before I upgraded my db to a sharded one I could connect with authentication.
After sharded and confirming it works via command line I updated the hostname to the query router of the sharded mongo instance and now I am getting the error

[MongoConnectionException] Failed to connect to: queryrouter0.example.com:27017: Authentication failed on database 'admin' with username 'maxrosecollins': auth failed`

I have created a StackOverflow question with more details

Can anyone help?

Hello,
Looks like somebody already replied on Stack overflow with correct answer.
Sorry for late reply,
Thanks.


Two finger swipe

Can i get vertical swipe to work with two fingers. It is working fine with one finger but i need two finger swipe as single touch is used for another purpose. I tried putting swipe_max_touches  to 0 to get access to unlimited touches but it does'nt seem to work

Actually it can be done by setting poiner number to 2.
var myElement = document.getElementById('container1'); var mc = new Hammer(myElement); mc.get('swipe').set({ direction: Hammer.DIRECTION_VERTICAL, pointers : 2}); mc.on("swipe", function(ev) {     console.log('swiped', ev); });


"Get items" should be in the "ListItems" section

Based on the name and functionality, I would assume this should go in the "ListItems" section (since that is where "Get item" is located), rather than the "Lists" section.

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

ID: 6e70cdc2-b1b1-183d-4ee1-6082f91018c6
Version Independent ID: 4beee916-2de5-5594-eb6f-725edc256229
Content: Retrieve items from a SharePoint list - Microsoft Graph v1.0
Content Source: api-reference/v1.0/api/listitem-list.md
Product: sharepoint
Technology: microsoft-graph
GitHub Login: @JeremyKelley
Microsoft Alias: JeremyKelley

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.