Support CentOS Storage SIG repository

To declare this via all.yml, ie.
ceph_origin: repository
ceph_repository: sigs
Note: Vagrant boxes got issues on the default scsi if using RHEL8/9 based need to change it to other types under the VirtualBox storage controller to get rid of issues in my test to work using virtio, more info on this . Alter line 522 in Vagrantfile, like the following.
vb.customize ['storagectl', :id,
'--name', 'OSD Controller',
'--add', 'virtio']
RHEL9-based distro got still issues few python modules with the CentOS SIG.

A further note on the Ceph version per SIG support currently:
Centos 7 (jewel, luminous, nautilus)
Centos 8 (octopus, pacific)
Centos 8 Stream/Rocky 8/Alma 8 (nautilus, octopus, pacific, quincy)
Centos 9 Stream (pacific, quincy) but still got issues on python3-jwt and python3-routes. Hope SIGs will fix this.
CentOS 6 and below not supported as per SIG repo.

@guits done as per request. Can you please check if the commit message will suffice? Thanks.

Would it be better to use the existing ceph SIG packages instead of configuring the SIG repository manually ? (which wouldn't benefits from the CentOS mirrorlist)
# dnf search centos-release-ceph
Last metadata expiration check: 0:01:03 ago on Wed Sep 28 13:05:57 2022.
===================================================================================================== Name Matched: centos-release-ceph ======================================================================================================
centos-release-ceph-nautilus.noarch : Ceph Nautilus packages from the CentOS Storage SIG repository
centos-release-ceph-octopus.noarch : Ceph Octopus packages from the CentOS Storage SIG repository
centos-release-ceph-pacific.noarch : Ceph Pacific packages from the CentOS Storage SIG repository
centos-release-ceph-quincy.noarch : Ceph Quincy packages from the CentOS Storage SIG repository

@dsavineau initially that's the plan, however, was changed when supposedly able to install even to the RHEL, and to AlmaLinux 9 which doesn't have SIGs support. Else will do that way then.

@dsavineau initially that's the plan, however, was changed when supposedly able to install even to the RHEL, and to AlmaLinux 9 which doesn't have SIGs support. Else will do that way then.

What's the initial goal of this PR? Adding AlmaLinux support? Or Ceph SIG repository support? Or both?

@dsavineau initially that's the plan, however, was changed when supposedly able to install even to the RHEL, and to AlmaLinux 9 which doesn't have SIGs support. Else will do that way then.

What's the initial goal of this PR? Adding AlmaLinux support? Or Ceph SIG repository support? Or both?
Maybe the focus is on Ceph SIG repository support via the binary packages as per suggested. Currently got issues on CentOS 8 upon testing (as the repos url moved to the vault) supposedly modified the code, and been doing something lately.

AlmaLinux perhaps will be on separate PR.

It seems the binary packages of SIG mirrors not working upon further testing on different distros, which still need to be manually altered the baseurl - same to this PR.
i.e on Rocky...
Error: Failed to download metadata for repo 'centos-ceph-quincy': Cannot prepare internal mirrorlist: No URLs in mirrorlist
Default mirrorlist/baseurl of the SIG binary package.
cat /etc/yum.repos.d/CentOS-Ceph-Quincy.repo
# CentOS-Ceph-Quincy.repo
...
[centos-ceph-quincy]
name=CentOS-$releasever - Ceph Quincy
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=storage-ceph-quincy
#baseurl=http://mirror.centos.org/$contentdir/$releasever/storage/$basearch/ceph-quincy/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage

[centos-ceph-quincy-test]
....

[centos-ceph-quincy-source]
name=CentOS-$releasever - Ceph Quincy Source
baseurl=http://vault.centos.org/$contentdir/$releasever/storage/Source/ceph-quincy/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage

Check the content directory variable.
cd /etc/dnf/vars;grep . *
contentdir:pub/rocky
sigcontentdir:pub/sig

Checking the version and OS architecture.
/usr/libexec/platform-python -c 'import dnf, json; db = dnf.dnf.Base(); print(json.dumps(db.conf.substitutions, indent=2))'
{
  "arch": "x86_64",
  "basearch": "x86_64",
  "releasever": "8"
}

In short, even the contentdir of Rocky does not exist on the base URL of CentOS. The mirrorlist only works if using the 8-stream but not on 8 releasever as per above error. I still need to be manually altered though.
If you agree maybe a separate PR for SIG-binary-based packages as well, based on the above issues and unless that package (centos-release-ceph-) has been corrected as only working well on 8-stream/9-stream.

It seems the binary packages of SIG mirrors not working upon further testing on different distros, which still need to be manually altered the baseurl - same to this PR.
If you agree maybe a separate PR for SIG-binary-based packages as well, based on the above issues and unless that package (centos-release-ceph-) has been corrected as only working well on 8-stream/9-stream.

Disregard my previous comment (quoted here). Modified lately to use the SIG binary packages, however, modified the baseurl and mirrorlist to non 8-Stream.
CentOS 8 not working and AlmaLinux. For 9 distros got issues on ceph-mgr-dashboard which got dependencies issues on python3-jwt and python3-routes.
In summary, only support Centos 8-Stream and Rocky 8 which works well.

we probably need to add tests for this


Bluetooth problems when overclocking

When overclocking to 250MHz, I can only connect to bluetooth audio the very first time after powering on the Pico W.
After a reset (pulling RUN low), I can't reconnect.  At lower clock speeds this works fine.
Changing cyw43_bus_pio_spi.c as follows:
-    sm_config_set_clkdiv_int_frac(&config, CLOCK_DIV, CLOCK_DIV_MINOR);
+    const int clock_mhz = clock_get_hz(clk_sys) / MHZ;
+    const int clock_div = (clock_mhz < 170) ? 2 : (1 + clock_mhz / 85);
+    sm_config_set_clkdiv_int_frac(&config, clock_div, 0);

fixes it, but given this problem must be related just to some kind of reset, and I don't recall having issues with a 250MHz overclock doing WiFi with a Pico W, this fix seems extreme.

can only connect to bluetooth audio

Which direction? Source or sink or both? i.e. Is the Pico playing audio or is it connecting to a speaker to play audio? The latter I assume?

Sink - Pico playing audio from my iPhone.  I'm running https://github.com/Gadgetoid/galactic-bluetooth-audio but with an overclock set in main()

I was going to mark this as fixed by https://github.com/raspberrypi/pico-sdk/pull/1521
But overclocking to 250 seems to work fine for me without having to adjust the pio divisor. It's somewhat curious that the a2dp_sink_demo now needs to be overclocked to work properly but that's another issue.
I don't now why pulling run low would affect things. I tried this and it reconnected fine.
I'll mark this as fixed as your original issue (having to hack the code to set the divisor) has now been fixed and I can't seem to repro the problem with a2dp_sink_demo. Please reopen if you disagree.

As this is in the realms of overclocking maybe it was related to the exact hardware I was running on.
Anyway, now there is the dynamic divider option for the CYW43 PIO that could easily be worked around if necessary so I agree with closing this issue.


Improve Level API a bit

Part of https://github.com/rinja-rs/rinja/issues/30.
It already improves the situation a bit. Not sure if the rest is worth improving or not though.

There is still the original Level. I'm still wondering if nest should return a non-Copy type which would contain a mutable reference to the calling Level or something along the line. Really not clear about it...

Fixed CI. :)


[5.3] [WIP] Add InteractsWithMail trait

Usage (working so far):
        $this->seeMail(function (Mail $m) {
<EMAIL_ADDRESS>              ->subject('Please confirm your email');
        });

You can assert the body of the mail contains a link in HTML:
        $this->seeMail(function (Mail $with) use ($url) {
            $with->htmlLink($url);
        });

Type hinting the variable in the closure gives you IDE auto completion.

I really like this, but I'd like some feedback as well.

I really like your approach. Would you be so kind as to add some DocDlocks for InteractsWithMail and Mail classes, please?

@CristianLlanos yes, of course, once this is approved I'll add all the docs, etc. And many more methods.

Can you not use the Mailable spys?

@taylorotwell yes, however (and please correct me if I'm wrong) but that fake doesn't test that the view was generated or other characteristics like the from address or the subject, and it doesn't work outside of the mailable interface. While this catches the swift message just before it is sent and let you test things in more detail.

Personally I wouldn't test it this way. I would just create a new mailable instance, call the ->build() method and then inspect the mailable to see that the proper data is set on the instance.

Well I'm using this method (and the other one I PR) in this test:
        // ...
        $token = $this->seeAndGetInDatabase('tokens', [
            'email' =><EMAIL_ADDRESS>        ]);

        $tokenUrl = route('token', $token);

        $this->seeMail(function (Mail $with) use ($tokenUrl) {
<EMAIL_ADDRESS>                ->htmlLink($tokenUrl);
        });

        // ...

I'm testing that I generate a token and that the token URL is sent to the user's email.
With the fake I can test that I'm triggering the mailable, and I can then unit test the mailable, but I don't see a way to describe the full feature that the token needs to be sent to the user's email. Because I could forget to send the URL or send a wrong one, etc.
Anyway, I'm just PR something I find useful for my projects, but it's your call.

I would rather not take this approach. I would rather try to have test helpers around Mailables that after you call the build method you can inspect the view / data / subject, etc. and verify it is all correct.


ARROW-8426: [Rust] [Parquet] - Add more support for converting Dicts

This adds more support for:

When converting Arrow -> Parquet containing an Arrow Dictionary,
materialize the Dictionary values and send to Parquet to be encoded with
a dictionary or not according to the Parquet settings (deliberately not supporting
converting an Arrow Dictionary directly to Parquet DictEncoding, and right now this only supports String dictionaries)
When converting Parquet -> Arrow, noticing that the Arrow schema
metadata in a Parquet file has a Dictionary type and converting the data
to an Arrow dictionary (right now this only supports String dictionaries)

I'm not sure if this is in a good enough state to merge or not yet, please let me know @nevi-me !

Parquet's dictionary encoding is a complexity on its own. My understanding's that after a certain size, the dictionary no longer grows, but the additional values are stored the normal way. I'm still to spend more time on parquet-mr and the format.
I think the approach of not forcing Arrow dictionaries to have Parquet dictionary encoding is good.

also only supports Int32 index types in this commit, also removes NULLs

Do you want to work on other index types and supporting primitive Arrow dictionaries? We could keep this PR open for longer; as long as it's not blocking any additional unit of work.

Do you want to work on other index types and supporting primitive Arrow dictionaries? We could keep this PR open for longer; as long as it's not blocking any additional unit of work.

Yup, I'm happy to do that! I'll be rebasing, addressing feedback, and adding to this on Wednesday.

Status update: The other index types are done, but primitive dictionaries are not yet.

@vertexclique @nevi-me I'm feeling stuck on converting primitive dictionaries...
I have a solution that works for one key/value type, but I tried to expand that to all the types and it involves listing out all the possible combinations (😱) and overflows the stack (😱😱😱).
I have tried to find a different abstraction, though, and the type checker doesn't like anything I've come up with. Do you have any suggestions?

@vertexclique @nevi-me I'm feeling stuck on converting primitive dictionaries...
I have a solution that works for one key/value type, but I tried to expand that to all the types and it involves listing out all the possible combinations (😱) and overflows the stack (😱😱😱).
I have tried to find a different abstraction, though, and the type checker doesn't like anything I've come up with. Do you have any suggestions?

@carols10cents  -- one idea I had which might be less efficient at runtime but possibly be less complicated to implement, would be to use the arrow cast kernels here: https://github.com/apache/arrow/blob/master/rust/arrow/src/compute/kernels/cast.rs
So rather than going directly from ParquetType to DesiredArrowType we could go from ParquetType --> CanonicalArrowType and then from CanonicalArrowType --> DesiredArrowType
So for example, to generate a Dictionary<UInt8, Utf8> from a parquet column of Utf8 you could always create Dictionary<Uint64, Utf8> and then use cast to go to the desired arrow type
Does that make sense?

@carols10cents -- one idea I had which might be less efficient at runtime but possibly be less complicated to implement, would be to use the arrow cast kernels here: https://github.com/apache/arrow/blob/master/rust/arrow/src/compute/kernels/cast.rs
So rather than going directly from ParquetType to DesiredArrowType we could go from ParquetType --> CanonicalArrowType and then from CanonicalArrowType --> DesiredArrowType
So for example, to generate a Dictionary<UInt8, Utf8> from a parquet column of Utf8 you could always create Dictionary<Uint64, Utf8> and then use cast to go to the desired arrow type
Does that make sense?

Not really, because I am using the cast kernels in the Converter: 4b59fc9 (#8402) in the style of the other converters in that file, so I'm not sure how to rearrange that to reduce complexity :-/ Could you possibly put together a code sketch of what you mean?

Not really, because I am using the cast kernels in the Converter: 4b59fc9 (#8402) in the style of the other converters in that file

That code seems to be using cast as part of the implementation of casting dictionary keys, very similar to the way cast does internally: https://github.com/apache/arrow/blob/master/rust/arrow/src/compute/kernels/cast.rs#L979-L982
I was trying to suggest rather than making some sort of generic Convert<> function  there was a function like:
convert_parquet_column(col_iter) --> ArrayRef
Where the choice of type for ArrayRef is entirely based on the type of col_iter (the parquet type, not the desired arrow type). And then use the cast kernel to go to the specific Arrow type that is needed

I've botched this branch a bit with my rebase on the parquet branch.
I rebased it against the parquet branch, but then I started getting stack overflows on datafusion and parquet.
I've established that my safest path back to the parquet branch is to first rebase against one of my branches by https://github.com/nevi-me/arrow/compare/ARROW-7842-cherry...integer32llc:dict
@carols10cents please let me know what you think.
I was trying to get everything up-to-date before I look at this PR locally (want to try Andrew's cast approach)

@carols10cents @alamb I think the whole reader logic needs replumbing ... There's at least a 1:1 mapping between Parquet types and Arrow types, and we can cast from Arrow types to other Arrow types based on the Arrow metadata. This is a less complex path, because one of the things I've been concerned about is that I/we are going to struggle a lot when we get to deeply-nested reads.
I previously didn't understand your needs re. dictionary support between Parquet > Arrow > DataFusion. I now have context, so I can make decisions better.
My plan was to remove trait CastRecordReader altogether, and instead use Arrow casts.
I prefer Arrow casts because they handle transparent casts of dyn Array & DataType::ANY instead of the combinatoral CastRecordReader.
I've now done this in https://github.com/integer32llc/arrow/pull/3, but I left a lot of TODOs which I'd love for us to address so we don't carry the tech debt of cast converters.
The tests all pass now 🎊

@nevi-me thank you so so so much! The code is SO much nicer now. I rebased this branch on the rust-parquet-arrow-writer branch, cherry-picked your latest commit, and made some further changes. I was able to get rid of the CastConverters and CastRecordReader!!
I left comments on the spots that I'm not sure how to resolve...
And yes, as you noted, I cherry-picked the "We need a custom comparison of ArrayData" commit from your ARROW-7842-cherry branch so that more tests would work on this branch. Do you think that commit is ready to go, even if the other commits on that branch aren't?

@nevi-me Rebased and fixed the last few things! I pulled the comment fix into its own PR, thanks for the tip on CI. Hoping for all greens now!

Merged


how to get the grayscale output?

in the V1 pipeline on huggingface, we used to get a grayscale output. Can anyone tell me how we can get the grayscale output for the V2 model?

Hi, we also provide the option to download the grayscale depth map in our V2 online demo.

yes, indeed. I am using your model for a project, and I would like to be able to have that grayscale depth map directly in my colab notebook, if you understand what I mean. right now, I am using the pipeline on huggingface for V1, I wanted to know how I can do this for V2. Thank You.

We have added the grayscale option in our running script: https://github.com/DepthAnything/Depth-Anything-V2/blob/4b8b3e4bb029567a5fcb477eaa430620970f0977/run.py#L62-L63

so basically, I have to pass it as an argument with the run.py file? Or I guess I could directly just take that part of the code and remove the trinkets? Please let me know if I am correct. Thanks a Lot!


chore(caip): banxa file caip19s renamed to assetid

Banxa ramp - Caip19s renamed to assetId for consistency.

These changes are included in: https://github.com/shapeshift/lib/pull/622

Not needed as changes are included in: https://github.com/shapeshift/lib/pull/622


Fix(#major); Curve finance; Add sidechains + update revenue and APR logic

APR Formula:

Mainnet:

Staked_Output_Token = GAUGE_WORKING_SUPPLY
Daily_Reward_Emissions =  INFLATION_RATE * GAUGE_RELATIVE_WEIGHT * BALANCER_TOKEN_PRICE * 86_400

APR = (Daily_Reward_Emissions / (TVL) * (Staked_Output_Token / Output_Token_Supply)) * 100 * 365

Sidechain (NetworksInfo)

Staked_Output_Token = GAUGE_TOTAL_SUPPLY
Daily_Reward_Emissions =  INFLATION_RATE_OF_CURRENT_WEEK * BALANCER_TOKEN_PRICE * 86_400 * 0.4

APR = (Daily_Reward_Emissions / (TVL) * (Staked_Output_Token / Output_Token_Supply)) * 100 * 365

Added following chains support to Curve:

[x] Arbitrum
[x] Aurora
[x] Avalanche
[x] Fantom
[x] Gnosis
[x] Harmony
[x] Moonbeam
[x] Optimism
[x] Polygon

Polygon failed to sync btw :(

Look at swap swap-0x0000656acd8d8256f9847f83a2de71d0abf11be7a1e5598e9efa47bd357555aa-1 on fantom. Tokens don’t match the actual ones that got swapped :(
It definitely has to do with the order of the tokens


Compute gradients in Oklab color space

This is the simple port of https://www.shadertoy.com/view/ttcyRS to compute quad gradients in Oklab as discussed in https://github.com/iced-rs/iced/discussions/2043. I have very little experience with iced internals nor wgsl in general, so don't hesitate to redo as you see fit.

I added a small example to experiment with the outcome. What I also noticed is that the stop order is somewhat confusing because the first stop at 0.0 does not denote the left but the right side. Not sure if that is intentional or a bug …

What I also noticed is that the stop order is somewhat confusing because the first stop at 0.0 does not denote the left but the right side. Not sure if that is intentional or a bug …

It depends on the specified angle.
If you want 0.0 to denote the left, you can add/subtract 180 degrees.
I'm agree with you that an angle of zero should have 0.0 on the left though.

Let me give that a shot.

@bungoboingo ^

LGTM, tested on MacOS (m1) & windows 10, no issues.

Hopefully I didn't break anything. Give it a test, let me know, and we can merge this!

Also from my side, thanks for picking it up. Since you also do the phase shift by pi to have start on the left side, do you consider it … weird as well?

@matze You are right. In the web, it seems an angle of 0 "points up".
@bungoboingo I have fine-tuned/simplified the Radians::to_direction logic to reproduce this behavior in 90cbab18b95a2a90a6a527280a6ca461203ea1b3. Does the new logic make sense? Or have I misunderstood the purpose of the helper? I think it works.

I'm fine with adjusting it to be more consistent with expectations, I went off this 👇  diagram for current behavior, although maybe OP means it should be flipped? Math appears to be correct to me!

@bungoboingo Makes sense! We have to keep in mind that the Y axis is inverted in iced, so the angle increasing clock-wise seems correct.
I think the angle defining the end position of the gradient makes more sense than the start. Now it's just a matter of choosing whether a 0 angle denotes the (1, 0) position or the (0, 1). Since it seems trivial, let's just do what CSS does; for familiarity.


Fix #1896: Use nullptr instead of NULL

Fixes the compiler error reported in #1896.

This is not desired, the codebase does not use nullptr, I've included a header to ensure NULL is available. I'm not sure why I didn't get an email from travis to notify me about these compile errors.


[fluent] Add simple ComboBox implementation

I think we can implement ComboBoxItem when ListItem merge into Dev

I think we can implement ComboBoxItem when ListItem merge into Dev

I'm not sure about this... It's said they are the same thing, but I doubt it... Maybe we can do this kind of things later, when we implement more components, then pick up the common parts.

ListItem was merged into dev，you can try the ListItem component

Ok, I'll try it later


[Google Drive] Don't show file previews cleared toast while reindexing files

Description
Because of the less important File previews cache cleared! toast the more important and animated toast Rebuilding files index... is not shown while performing Reindex Files Cache action.
This patch fixes it.
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

@pernielsentikaer Small patch. I was about to push it in https://github.com/raycast/extensions/pull/1546 but it was merged before I could push it. 😅

Sorry about that @vishaltelangre 😄


Would it be possible to port to mineclone?

I would like to use the mod with mineclone but it depends on the default mod. I tried a little to make it work but without sucess.
I would to like on it more but need some hints where to look and what to do.

@Thorgrimson see #191. What more would be needed to make it work w/ mineclone?

I would like to use the mod with mineclone but it depends on the default mod

This should only be an optional dependency now, after #182, in the best case you would just have to add a recipe for the table-saw and register some nodes
Not sure though how the api will change after #191 but it shouldn't be harder than that


Add License

Since you seem to have this published so that other people can use the code: I couldn't find a license declaration, it would be great if you could add a license to the project (e.g. MIT or Apache 2.0).
Here you can find information on how to apply the license to your project: https://choosealicense.com/licenses/mit/

How to apply this license
Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.

Thank you!

Sure, I'm happy to do so!


Re-Designed Starto documentation

What type of PR is this?

Designing Docs

What this PR does / why we need it:

Re-Designed Starto documentation

More details

Added highlights (Emphasis)
Added additional badges
Updated Go report from A to A+ from goreportcard.com
Structured All related links
Added Index

will this documentation be considered ?


Installer stuck waiting for Ansible

Expression of Error
Infrastructure successfully provisions, but the installer goes into an infinite loop waiting for Ansible to be ready (to execute the Ansible scripts).
Version Affected
Encountered on v1.1. Likely affects earlier versions.
Cause of Error
If you SSH onto the created instance and check the Launch Template log at /var/log/tower-forge.log, you will see this error at the bottom:
curl: (28) Failed to connect to bootstrap.pypa.io port 443 after 132513 ms: Couldn't connect to server
python3: can't open file '/home/ec2-user/get-pip.py': [Errno 2] No such file or directory
/usr/bin/python3: No module named pip
/root/tower-forge.sh: line 15: ansible: command not found

rm: cannot remove 'get-pip.py': No such file or directory

The Launch Template installs Ansible via pip. The failure to install pip means Ansible cannot be installed which means we can never satisfy the exit criteria of the infinite 'wait for Ansible to be ready' loop.
Workarounds and Remaining Errors
Running the following commands on the instance will result in Ansible being installed:
cd /home/ec2-user
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py

Unfortunately, this does not seem to cause the infinite loop to break. You must ctrl+C the Terraform deployment and run it again via terraform apply. This will allow Ansible installation to start.
Another error is thrown at the pyyaml installation step - TBD what is causing this:
│ TASK [Install pyyaml (needed by seqerakit)] ************************************
│ fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unable to find any of pip3 to use.  pip needs to be installed."}

Update:
Deleting the EC2 instance within AWS and rerunning terraform apply (after uncommenting the overwrite flags in 005_parameter_store.tf) resulted in a successful e2e flow.
Mitigation Approach
Discussion ongoing with team stakeholders re: best approach to make this part of the process more defensive:

I favour a loop in the Launch Template (similar to the loop used to check for Ansible) that will look for the presence of get-pip.py before continuing.
A sleep command at the start of the LT may introduce enough of a lag to compensate for any race condition re: the EC2 trying to download a file before it has the necessary connectivity.
Other?

Running both commands with && in one line:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3 get-pip.py
should work, the second command will only run when the file is downloaded.

Wrong assumption. This actually fixes the issue:
     # Wait until the get-pip.py file is available       while [ ! -f get-pip.py ]       do         sleep 1       done

@adriannavarrobetrian this is the snippet I was using for my patch attempt.
      timeout 15s bash -c \
        'until [ -f //home/ec2-user/get-pip.py ]; do
          echo "Trying to curl get-pip.py"
          curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
          sleep 1
        done'

Logic: I don't want the machine getting stuck in an infinite startup loop because that'll make diagnosing more difficult to diagnose if we cant jump onto the box (note: since the AMI should already have SSH running, I'm not sure if an infinite loop in the LT would preclude one being able to SSH onto the node at the same time).
With that said, I'd personally rather allow the LT to fail-through and get everything else done -- we'll know something is wrong anyways due to the subsequent "Waiting for Ansible" loop.
Alternatively, we could consider loading up the CloudWatch agent at the start (like we do with TowerForge-created AWS Batch CEs) before the pip logic -- this would allow us to emit some status messages to a CloudWatch-accessible log.
Thoughts?

@gwright99 We can do something like this:
`counter=0
while [ ! -f get-pip.py ] && [ $counter -lt 10 ]; do
echo "File not found, retrying download..."
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sleep 1
counter=$((counter+1))
done
if [ $counter -eq 10 ]; then
echo "Failed to download file after 10 attempts."
fi`

I'm ok with this. Do you want to put together the PR for your first contribution to the project?


sigs -i -o

Coverage decreased (-0.0%) to 91.51% when pulling f5cb3f02f3096287aef8ca30c8be105889582f2e on matiu:airgapped02 into 58eadeb443a58b5987efdcfa385f49172a4a7578 on bitpay:master.

Coverage increased (+0.45%) to 91.96% when pulling 70b0d3e668a13a1adac180b7c4d4ac8d1fd86a92 on matiu:airgapped02 into 58eadeb443a58b5987efdcfa385f49172a4a7578 on bitpay:master.


[feature] assert on ambiguity config when using deepspeed

OK, so please consider this setup:
[...]
deepspeed_config:
  deepspeed_multinode_launcher: standard
  deepspeed_config_file: ds_config.json
  gradient_accumulation_steps: 2
  zero3_init_flag: true
  zero_stage: 2
  zero3_save_16bit_model: true
distributed_type: DEEPSPEED
[...]

and ds_config.json:
{
    "fp16": {
        "enabled": true
    },
    "zero_optimization": {
        "stage": 3,
        "stage3_gather_16bit_weights_on_model_save": false,
        "offload_optimizer": {
            "device": "none"
        },
        "offload_param": {
            "device": "none"
        }
    },
    "gradient_clipping": 1.0,
    "train_batch_size": "auto",
    "train_micro_batch_size_per_gpu": "auto",
    "gradient_accumulation_steps": 10,
    "steps_per_print": 2000000
}

as you can see we have a potential difficult situation here as there are the same configs defined in multiple places. e.g. zero3_save_16bit_model, gradient_accumulation_steps, zero_stage, etc. with values that don't match! And the user isn't the wiser which of them prevail.
Here is my proposal:
If deepspeed_config_file is provided, Accelerate should assert on any other configs that will collide with it. And unless I'm missing some details, I think the only valid (unique) entries of deepspeed_config that aren't in the DS config file are:
deepspeed_config:
  deepspeed_multinode_launcher: standard
  deepspeed_config_file: ds_config.json
  zero3_init_flag: true
distributed_type: DEEPSPEED

and any other deepspeed_config entries create ambiguity and should be asserted on.

OK, but then we have the auto feature which is useful when things are set elsewhere. So the categorical proposition I made above is probably incorrect. Yet, as you can see from the test case I presented - there is a massive mismatch between the 2 config files and accelerate doesn't assert on that at all. This situation makes debugging extremely painful since I can never be sure if I changed the right config and I'm testing the right combination. And yes, I can look at the logs, but this is not conducive for easy debug.
for context: I spent several days debugging a bad memory leak in m4, triggered by zero.Init and I had to switch multiple flags on/off while doing the debug many times again and again.
Thank you!

cc @pacman100

Hello @stas00 , thank you for providing detailed issue.
One important thing to note from current design standpoint being that when using accelerate config command to fill out the questionnaire, if user chooses to provide deepspeed_config_file then other options aren't asked at all and therefore doesn't lead to ambiguity scenario. Below is the questionnaire flow along with the final yaml config file when using deepspeed_config_file entry:

Therefore, when user is willing to provide the deepspeed_config_file, only zero3_init_flag entry is asked and others are ignored as they will be part of the json config file that user provides. This avoids any ambuiguity scenario. A bit weird that the config file you shared has location deepspeed_config_file along with other entries.

Thank you for explaining your design, @pacman100

A bit weird that the config file you shared has the location deepspeed_config_file along with other entries.

It didn't. That's not how we configure accelerate - we have various config templates that we manually tweak. I use docs/code to figure out which other config params we can use.
I think relying on output of a certain program to never change and requiring a user to re-run an interview for every tiny change in setup is not the most user-friendly solution.
If the config's correctness depends on a user not tampering with the config file, then it shouldn't be a text file, but some binary format, but of course that would be madness.
Is it very difficult to validate the incoming configuration and assert on any conflicts? e.g. as I identified the low-hanging fruit would be to refuse any but zero3_init_flag config entries when deepspeed_config_file is used. That would solve any ambiguity at once.

Hello @stas00, please let us know if the above PR addresses the requirements of this issue

Thank you, @pacman100 - I will review it today.
I realized we have the same issue with the mixed_precision config - Accelerate probably should assert when it's configured and ds_config is used, no? as this is another source of ambiguity

realized we have the same issue with the mixed_precision config - Accelerate probably should assert when it's configured and ds_config is used, no? as this is another source of ambiguity

Done


Cleaner to have a linked topic.

Instead of "Descriptions" throughout the page, it might be cleaner to merge them with the topic header.

Thank you for the idea, done.

:)


Expand multipv search for matein1s

Currently, if a puzzle candidate has >5 possible mates in 1, https://github.com/ornicar/lichess-puzzler/blob/6e64dbcf31cb56841c784c772bff7d0166f59396/generator/generator.py#L43-L47 will return true and it becomes a valid puzzle even if there is a mate in 2 at pv=6 because multipv=5 is hard-coded.
Example: https://lichess.org/training/c2XBo. Move the rook anywhere on the b-file(b3,4,5,6,7,8) and it is mate in 1. However, you can also move it to b1 or a2 for a mate in 2. We don't see this because we're limited at multlipv=5.
We need to search deeper for the first non-mate in 1 move and get its eval to deem whether the puzzle is a good candidate.
I have found 1288 bad matein1 puzzles in the current set that should be removed. https://gist.github.com/allanjoseph98/98c40e628e4310f652d3d342e5236b61

Good find!
So we have to:

[x] Merge this (doing so now)
[ ] Mark the incorrect puzzles you found
[ ] Ensure all puzzle generator instances are updated
[ ] Look for any new incorrect puzzles generated in the meantime

@allanjoseph98 Can you please run your scan one more time on the latest database dump, to see if any new incorrect puzzles were added before the generators were updated?

https://gist.github.com/allanjoseph98/ed39835c2fff0e003f4f9ec8c58cb890

Thanks!
All marked and won't be selected anymore. To keep URLs intact, they're still reachable via the id.

Sorry, my checker was only running on puzzles tagged "matein1". I saw https://lichess.org/forum/lichess-feedback/multiple-solutions-to-puzzle and re-ran it on any puzzle tagged with mate and there are more puzzles to mark: https://gist.github.com/allanjoseph98/d06ec1c5a61f8409892defd0cf7e3406
The good news is the generator was fixed with the PR so nothing else needs to be updated. Sorry for the trouble.

Thanks! All done.


[Obsidian] Open in New Tab doesn't work

Extension
https://www.raycast.com/KevinBatdorf/obsidian
Description
No matter if I open the searched note in a new tab or not, it opens the note in an already used tab
Steps To Reproduce

have a tab open in obsidian
search note with obsidian raycast extension
open note in new tab
note gets opened in already used tab, instead of new tab

Current Behaviour
No response
Expected Behaviour
It should open a new tab

I gave it a try just now and it seems fine to me. Can anyone else reproduce it?
https://github.com/raycast/extensions/assets/1478421/8dad4450-f016-4f1b-afb5-3a6716f35ef5

I've tried as well, it also works as expected.

Found the problem, the plugin: "close similar Tabs" seems to disable this
feature :(
thanks for your help!
Am Mi., 31. Jan. 2024 um 10:32 Uhr schrieb FServais <
@.***>:

I've tried as well, it also works as expected.
—
Reply to this email directly, view it on GitHub
https://github.com/raycast/extensions/issues/10469#issuecomment-1918720116,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWEDVYSVCDXGGUP5CTDJGALYRIFQ7AVCNFSM6AAAAABCSWINEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJYG4ZDAMJRGY
.
You are receiving this because you authored the thread.Message ID:
@.***>


Update protobuf definitions for insights rpc

What this PR does / why we need it:

Add GetInsightPieChartData definition.
Rename GetInsightData to GetInsightMetricsData.
Propose to determine the type of response by the type of graph. This is because the processing of the request may differ depending on the content of the graph, but the format of the response is the same for the same graph type

So I named GetInsightDataPointsResponse , not GetInsightMetricsDataResponse

Which issue(s) this PR fixes:
Ref #1436
Does this PR introduce a user-facing change?:

NONE

Thanks for your pull request. Nice.
Let me check this tomorrow.

Thanks for your pull request. Nice.
Let me check this tomorrow.

@nghialv  Thanks for your reviews, fixed :D

@nghialv  Thanks for your reviews, fixed :D

Great! Thank you.
/approve

Great! Thank you.
/approve


Poppins font

Hello,
I have tried to use Poppins font, and some letters are not appearing at all.
I have even tried to build the font manually as described in pdfmake documentation, it's the same result.
gulp buildFonts
here is a screenshot:

you can reproduce it just by adding a simple text to the pdf.
I know this has nothing to do with this repo, but any idea why it's happening, only with that font.
Thanks

Well after looking into it more and more, I have stumbled into a solution that fixed the font problem.

To keep poppins installed on your pc and have no trouble in web browser you have to edit the ttf files with transtype and rename correctly the standard font.

Poppins renamed.zip
I guess it's a font problem after all.


Run Async in SQL lab is not working..

Expected results
query success..
Actual results
error message, The query exceeded the 30 seconds timeout.
Checklist
Make sure these boxes are checked before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

I found missing column allow_run_async, when /api/v1/database is called.
So, I temporarily modified it as below,
dataEndpoint={
          '/api/v1/database/?q=' +
          '(keys:!(none),' +
          'columns:!(id,database_name,backend,allow_run_async),' +
          'filters:!((col:expose_in_sqllab,opr:eq,value:!t)),' +
          'order_columns:database_name,order_direction:asc)'
        }

Then it worked well. Please check it. :smile:

Hi @wooram1125,
I'll submit a fix for it.


Facet wrapping

Definitely interested in this feature, also having different scales for different facets. I didn't immediately see how to do this.

Indeed, we don't have a free-scales feature at the moment, but we can look at adding it when we add facet-wrapping.

Hey!
I recently started using plotly express, just wondering if there is any momentum on this feature yet?
I was trying to generate a facetted scatter plot using a single dimension/column which has about 80-90 unique entries using facet_col in px.scatter() but it throws a value error.

I am also very interested in having the equivalent of seaborn's col_wrap parameter. In the meantime, is there any workaround for achieving this behavior with plotly express? I regularly need to plot > 10 subplots and don't have another variable to use for row facetting.

Could you introduce a new column("row_number") into your data frame that would be used to break apart into rows?

@chriddyp Thanks for the suggestion, that would work around the problem for my own visualization needs.
One of the reasons I am interested in plotly express is for teaching people new to programmatic data visualization. For this purpose it would be great if there is a wrapping parameter, since that would be easier to understand.

Hmm, maybe I misunderstood the proposed workaround initially... I just tried adding row numbers to simulate col_wrap=3 and ended up with the plot below:

Initially, I thought that empty columns would be removed and wrapped around like in this mockup:

The current plotly express behavior makes more sense than what I was thinking, but I am suspecting this means I misunderstood what you meant when you proposed the workaround @chriddyp and @nicolaskruchten. In this example, how would you add row numbers to the "Sun, Sat, Thur, and Fri" observations to achieve the desired wrap around behavior?

Yeah... This is going to be a pretty rough workaround until we implement this for real: you'd have to provide your own row and column, and on top of that you wouldn't get per-subplot titles, you'd be stuck with the per-column and per-row "row_number=1" type labelling, unless you added your own annotations.

OK, I've got a working version of PX with a new facet_num_cols kwarg that results in this (and is incompatible with facet_row and marginal*... should be in the next version of plotly! Thanks for the nudge :)

Beautiful! Thanks for your responsiveness!


influxdb.client.InfluxDBClientError: 200:

Hi,
I am using influxdb (2.3.0) client with Python 3.4.3
When I write data to InfluxDB 0.9 I get error - influxdb.client.InfluxDBClientError: 200.

However, data is written correctly in InfluxDB.
Also, the same script works fine with influxdb (2.1.0 and 2.2.0) client and Python 3.4.3
I also copy-pasted JSON file (I tried to write in with client) to the browser and it was written successfully to Influx.
Please let me know if you need more info or something else.
I am more than happy to help.
Also, thanks for your work.
Svetomir

@svetomir Hello :)
The HTTP return codes changed in 0.9.0-rc30 what RC version of InfluxDB are you using?
If you update to 0.9.0-rc30, everything should work as expected.

Hi,
I was using InfluxDB 0.9.0-rc29, upgraded to rc31.
Works as expected.
Thanks ;)


docs(chapter): Add chapter on development and computing environments

Overview
All about development environments. Currently there's a Computing environment section. We'll probably need to revamp this to be a development/computing environments

[ ] #36
[ ] #35
[ ] #34
[ ] #9

@nikiburggraf to create a skeleton for this chapter

Link the empty section docs on the related issues for each section


testing

Type: Incorrect
Summary:
testing
Details:
test
Resolution:
test
Affected definitions:

navigation-common 1.0.0

You can review the change introduced to the full definition at ClearlyDefined.


data class w/ @Parcelize support for activity intent/fragment argument?

Is it currently possible to use it like this:
MyDataClass(val id: Int, val fullName: String)

val someValue: MyDataClass by argumentDelegate()

If your data class will have Parcelable implementation (via @Parcelize or own impl) then yes, it is possible.
Functionality related to the android system restrictions (in this case Bundle)


Contact us Send button fixed

The contact us button which was not properly aligned on smaller screen sizes has been fixed.

We don't accept Pull Request on master branch. Please, make one on develop branch.

Hello @deepakpathania Thanks for your work, but we accept all PR in develop branch only and not directly in master.
We're in process of having the doc for this in place, and sorry that it caused you trouble. Please do the changes, and submit another one.


BUG: fixing the size of message box and adding visible border to it

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
before

after

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Its-Aman-Yadav actually i deleted the forked repo, because i wasnt able to figure out how to add changes that you have made in original repo after i forked it, and now i created a new fork and added those same changes

I want to work on that issue please assign me the issue


Fixes #3664 - default upgradeStrategy and residency for persistent volumes

According to #3664 a PUT on a non-existing app would cause a validation error due to missing upgradeStrategy and residency which are required for such an app.

@aquamatthias could you let me know if both of new tests are the way you imagined them to be?

Please rebase


Fix DNS test for some SUSE-based images

Modify _no_permission_pattern of ping.py to suit more scenarios
Add sudo=True when running the command of "pidof ping" for SUSE-based images
Raise RepoNotExistException if there is no enabled repo in SUSE image

@lubaihua33 please rebase main branch, thanks.


[Spec Deviation] The detail mapping value of an error type should be a frozen value

Description:
As per the spec (v0.990:2019-01-16) "An error value contains the following information:
a detail, which is a frozen mapping providing additional information about the error"
Currently, the detail map is not frozen
@test:Config {
    groups: ["broken"]
}
function testErrorTypeDescriptorBroken() {
    error <string, map<anydata>> error1 = error("Error Three", { cause: "Core Error" });
    error1.detail().stacktrace = "xyz"; // Should fail
}

Affected Versions:
0.990.2

As per the error constructor expression section,
The result of evaluating detail-expr is cloned using the Clone abstract operation
and then frozen using the Freeze abstract operation.

This depends on

https://github.com/ballerina-platform/ballerina-lang/issues/13205 since the detail needs to be restricted to pure value to allow freeze/clone
https://github.com/ballerina-platform/ballerina-lang/issues/14480 since we need to be able to clone and freeze a map/record with errors


Overwrite the output file if it already exists.

Overwrite the output file when the output file name was explicitly passed in.
Keep previous behavior if no filename is specified.
#401

Can we fix this implicitly, without adding another command line argument? (ie. Detect that the user has passed in a filename and then overwrite option based on that?)

It looks good otherwise!

@conniey I removed the command line argument and instead used a flag to overwrite when a filename was passed in.

@conniey I have changed it to use IApiPortOptions instead of flags.

LGTM. Thanks!


cant connect obs

I can not connect my obs when I try it says invalid stream I have all the settings set and followed the instructions.

i have fixed it also streamlabs is better i found out at least for me i dont get much broken stuff

found out topaz streamer was connected and i for got to dissconnect


fix zsh-autosuggestions submodule (location changed)

Hi @naibaf0 , your PR got merged in the community maintained fork of this repo.
zsh-users is an organization dedicated to host Zsh community projects and therefore became the rational home for a community maintained version of prezto.


Everything service is not running

Are you submitting a bug report?
Yes
(write your answer here)

Steps to reproduce

installed everything search as a service
downloaded last version of Wox portable
ran Wox and activated the everything plugin
getting the error: Everything service is not running

Wox Error Window text

(paste here)
Detailed logs

(drop your log file here)
Screenshots (optional)

(drop your screenshot here)

Hey how's it going.
Which version of everything search you are using? I tested the portable version with everything downloaded from the upstream repo here(64bit): https://github.com/Wox-launcher/Wox/releases/download/v1.3.524/Everything-<IP_ADDRESS>6.x64-Setup.exe
Seems to working. Let me know how you go (obviously need to enable the plugin in Wox's settings and make sure the everything service is running in Services).

Hey! Thank you for your reply. I was using Everything 1.4.x but with the version you linked everything works correctly. Since I don't see many advantages of using the latest version of Everything I'm good with using the version you suggested.
Thank you for your help! :)


Integration with custom Overlapped/IOCP handles on Windows

I want to use a TAP-Windows device via libuv but it seems impossible to integrate properly (without extra threads). I propose to add a facility which allows the application to associate IOCP-capable handles with the IOCP handle used by libuv and receive callbacks when GetQueuedCompletionStatusEx returns associated events.
The interface could look something like this:
HANDLE uv_loop_get_iocp_handle(uv_loop_t *);

typedef struct uv_overlapped_t {
    ...
    // Contained OVERLAPPED structure is exposed to users
    OVERLAPPED overlapped;
    ...
} uv_overlapped_t;

typedef void (*uv_overlapped_cb)(uv_overlapped_t *);

int uv_overlapped_init(uv_loop_t *, uv_overlapped_t *, uv_overlapped_cb callback);
void uv_overlapped_close(uv_overlapped_t *);

This would be used like this:

The application calls uv_overlapped_init. The newly initialized uv_overlapped_t structure includes an OVERLAPPED structure which the application will write and read before/after I/O operations as appropriate.
The application calls uv_loop_get_iocp_handle() to retrieve the IOCP handle used by the event loop and then uses CreateIoCompletionPort() to associate their HANDLE to the IOCP handle.
After that the application can start I/O operations. Whenever libuv retrieves an event associated with that OVERLAPPED instance it will call the callback provided to uv_overlapped_init().
The application calls uv_overlapped_close() when it is done with all I/O operations associated with that OVERLAPPED structure.
The application is responsible to wait for any associated ongoing I/O operations to complete before calling uv_overlapped_close(). This restriction is imposed by IOCP design, because so long as there is potential that an event will be returned, the OVERLAPPED structure must still be valid and libuv must be able to handle events associated with it.

For uv_overlapped_t objects, asynchronous uv_close() with a callback does not make sense because only the application knows which I/O operations are in progress and when they have all completed.
Actually, it is not even technically necessary for uv_overlapped_close to exist because libuv does not need to keep track of uv_overlapped_t objects. But if uv_overlapped_t is to inherit from uv_handle_t then a close is needed to remove it from the handle list.

We should perhaps consolidate these feature requests, since there's also #1688 and a couple PR attempts.


[Broker] Fix errors will be ignored when checkGC.

Motivation
check GC ignores errors when executing tryToDeletePartitionedMetadata in the non-persistent topic, which can cause us to not find the corresponding problem when debugging.
Modifications

Fix errors will be ignored when check GC.
Make partition topic exist to pure async.

Verifying this change

[x] Make sure that the change passes the CI checks.

Documentation

[x] no-need-doc

/pulsarbot rerun-failure-checks

/pulsarbot rerun-failure-checks


[Task]: Google Sheets UQI CRUD generation flow and other issues

Is there an existing issue for this?

[X] I have searched the existing issues

SubTasks

Generate CRUD flow creates incorrect queries
When existing actions have bindings in spreadsheet url and name, the form UI should switch to JSON mode
Update and insert row(s) should disregard any previous projection selection

Closed via #14225


use #include "" for headers inside the package and #include <> for others in storage sdk

all done in PR https://github.com/Azure/azure-sdk-for-cpp/pull/1243 except DataLake and File protocol layer


Update OpenLane stable tag -> 2022.08.25

Signed-off-by: vijayank88<EMAIL_ADDRESS>Update OpenLane stable tag -> 2022.08.25

@vvbandeira
yonga-can-controller design missing the tagged commit ID.
What to do now?

Remove from CI list?
Is there option to recover user repo commit ID?
CI log as follows

+ nice ./scripts/run-design.sh yonga-can-controller

[INFO] Setup flow for design yonga-can-controller/yonga-can-controller.

Submodule 'designs/yonga-can-controller' (https://github.com/yongatek/caravel_yonga-can-controller) registered for path 'designs/yonga-can-controller'

Cloning into<EMAIL_ADDRESS>
fatal: remote error: upload-pack: not our ref 7767c49dd583c660140baf731a4f04b1d19b374c

fatal: the remote end hung up unexpectedly

Fetched in submodule path 'designs/yonga-can-controller', but it did not contain 7767c49dd583c660140baf731a4f04b1d19b374c. Direct fetching of that commit failed.

script returned exit code 1


Win32 maximize for issue #1499

Note that I haven't altered the changelog as that has been removed from the readme.

This patch uses tabs and I think spaces are the standard in GLFW.

Spaces are indeed standard, I've switched them.

This sentence adds cross-links with #1499.

I won't merge this fix but it did lead me to the cause of #1499 and a bonus bug. Thank you!
At first I thought the fix shouldn't work as the win32.maximized boolean is only used for disambiguation inside the WM_SIZE handler and isn't set during creation (the bonus bug). #1499 is caused by the content scale adjustment call to SetWindowPos during window creation, which both undoes the maximization from creating the window with WS_MAXIMIZE and causes the boolean to be updated early enough.
711b9694a133ef338482ae75ada724e3a9915d91 switches to SetWindowPlacement for adjusting the normal window rect without breaking initial maximization.

Excellent fix, good find!


remove white spaces.

What type of PR is this?

Which issue does this PR fix:
What does this PR do / Why do we need it:
If an issue # is not available please add repro steps and logs from aws-gateway-controller showing the issue:
Testing done on this change:

Automation added to e2e:

Will this PR introduce any new dependencies?:

Will this break upgrades or downgrades. Has updating a running cluster been tested?:
Does this PR introduce any user-facing change?:

remove white spaces.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3169

Relevant Lines:
9958

💛  - Coveralls


Changes to explicit tiles list as per #529

As per the discussion in #529

@stvno would love for you to review this as well. Pretty big refactor.

Pull Request Test Coverage Report for Build 1509

184 of 661 (27.84%)  changed or added relevant lines in 9 files are covered.
7 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.5%) to 45.123%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

provider/postgis/postgis.go
0
4
0.0%

cmd/tegola/cmd/cache/flags.go
7
21
33.33%

cmd/tegola/cmd/root.go
3
23
13.04%

cmd/tegola/cmd/cache/format.go
17
59
28.81%

cmd/tegola/cmd/cache/tile_name.go
23
72
31.94%

cmd/tegola/cmd/cache/tile_list.go
36
89
40.45%

cmd/tegola/cmd/cache/seed_purge.go
54
135
40.0%

cmd/tegola/cmd/cache/worker.go
0
88
0.0%

cmd/tegola/cmd/cache/cache.go
44
170
25.88%

Files with Coverage Reduction
New Missed Lines
%

cache/s3/s3.go
2
71.71%

provider/gpkg/binary_header.go
2
100.0%

cmd/tegola/cmd/root.go
3
29.79%

Totals

Change from base Build 1485:
-0.5%

Covered Lines:
5491

Relevant Lines:
12169

💛  - Coveralls

Pull Request Test Coverage Report for Build 1509

184 of 661 (27.84%)  changed or added relevant lines in 9 files are covered.
7 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.5%) to 45.123%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

provider/postgis/postgis.go
0
4
0.0%

cmd/tegola/cmd/cache/flags.go
7
21
33.33%

cmd/tegola/cmd/root.go
3
23
13.04%

cmd/tegola/cmd/cache/format.go
17
59
28.81%

cmd/tegola/cmd/cache/tile_name.go
23
72
31.94%

cmd/tegola/cmd/cache/tile_list.go
36
89
40.45%

cmd/tegola/cmd/cache/seed_purge.go
54
135
40.0%

cmd/tegola/cmd/cache/worker.go
0
88
0.0%

cmd/tegola/cmd/cache/cache.go
44
170
25.88%

Files with Coverage Reduction
New Missed Lines
%

cache/s3/s3.go
2
71.71%

provider/gpkg/binary_header.go
2
100.0%

cmd/tegola/cmd/root.go
3
29.79%

Totals

Change from base Build 1485:
-0.5%

Covered Lines:
5491

Relevant Lines:
12169

💛  - Coveralls

The reason it’s failing on 1.9.x is because strings.Builder was introduced in 1.10.x. So, I will need to change this.

@gdey pull request looks good! I made some minor comment, logging and usage instruction formatting changes. All non functional.


Cannot set external redirect on AGW v2

Describe the bug
When using the commands to update rules and url path rules any redirections do not flow through to the AGW.
Related command
$redirectConfig = az network application-gateway redirect-config create `
        --gateway-name $appGatewayName `
        --resource-group $resourceGroupName `
        --name "$rule-Redirect" `
        --type Temporary `
        --target-url $ruleToUrlMap[$rule] `
        --include-query-string false `
        --include-path false `
        --query id `
        --output tsv

az network application-gateway rule update `
        --gateway-name $appGatewayName `
        --resource-group $resourceGroupName `
        --name $rule `
        --redirect-config "$rule-Redirect" `
        --no-wait

Errors
No errors, CLI shows everything successful
Issue script & Debug output
N/A
Expected behavior
Expected:
Expecting the redirect to be selected for this rule, but it does not show in portal or respected when navigating via the browser.
I do see the redirectConfiguration in the az network application-gateway rule show
Environment Summary
azure-cli                         2.67.0
core                              2.67.0
telemetry                          1.1.0
Extensions:
bastion                            0.2.5
Dependencies:
msal                              1.31.0
azure-mgmt-resource               23.1.1
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\jorda.azure\cliextensions'
Python (Windows) 3.12.7 (tags/v3.12.7:0b05ead, Oct  1 2024, 02:44:45) [MSC v.1941 32 bit (Intel)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response

Thank you for opening this issue, we will look into it.

@yonzhan can see you removed the bug status, this not expected functionality within the az cli yet?

from your screenshot, i found "routing rule", should we leverage the commands under az network application-gateway routing-rule?

Wouldn't that one create a new rule? I want to update an existing path-based rule from a backend pool to a redirect.
The context here is that I have servers which run during the day which I want to redirect to a maintenance page when we are doing maintenance on the system (without shutting down the VMs because we're working in them)

az network application-gateway routing-rule group has update command as well

I'm struggling to see how that supports passing a redirect configuration from the documentation here: https://learn.microsoft.com/en-us/cli/azure/network/application-gateway/routing-rule?view=azure-cli-latest#az-network-application-gateway-routing-rule-update.

may i know how did you create that "rule", which cli command?

So i created the normal AGW rules via portal.
Im trying to update one of those rules from a BE pool to a redirect.
I tried this:
$redirectConfig = az network application-gateway redirect-config create `
        --gateway-name $appGatewayName `
        --resource-group $resourceGroupName `
        --name "$rule-Redirect" `
        --type Temporary `
        --target-url $ruleToUrlMap[$rule] `
        --include-query-string false `
        --include-path false `
        --query id `
        --output tsv

az network application-gateway rule update `
        --gateway-name $appGatewayName `
        --resource-group $resourceGroupName `
        --name $rule `
        --redirect-config "$rule-Redirect" `
        --no-wait

I can see the rule in the agw show cli but it doesnt reflect in the portal or when i hit the listener

the rule is based on TCP/TLS or HTTP/HTTPS?

HTTPS

could you please provide the output of az network application-gateway rule show?

{
  "etag": "W/\"687c5fd4-e274-4865-a6b4-7cf91638ee9e\"",
  "httpListener": {
    "id": "/subscriptions/3199e3e5-0e7c-4eb0-8637-c2910cc3a08e/resourceGroups/rg-client-caas-nonprd-auseast-agw/providers/Microsoft.Network/applicationGateways/agw-client-caas-nonprd-auseast/httpListeners/PublicIntegrationI1",
    "resourceGroup": "rg-client-caas-nonprd-auseast-agw"
  },
  "id": "/subscriptions/3199e3e5-0e7c-4eb0-8637-c2910cc3a08e/resourceGroups/rg-client-caas-nonprd-auseast-agw/providers/Microsoft.Network/applicationGateways/agw-client-caas-nonprd-auseast/requestRoutingRules/PublicIntegrationI1",
  "name": "PublicIntegrationI1",
  "priority": 101,
  "provisioningState": "Succeeded",
  "resourceGroup": "rg-client-caas-nonprd-auseast-agw",
  "ruleType": "PathBasedRouting",
  "type": "Microsoft.Network/applicationGateways/requestRoutingRules",
  "urlPathMap": {
    "id": "/subscriptions/3199e3e5-0e7c-4eb0-8637-c2910cc3a08e/resourceGroups/rg-client-caas-nonprd-auseast-agw/providers/Microsoft.Network/applicationGateways/agw-client-caas-nonprd-auseast/urlPathMaps/PublicIntegrationI1",
    "resourceGroup": "rg-client-caas-nonprd-auseast-agw"
  }
}


Non reflective dll in a reflective dll injection

Hi,
Not a issue, just a clarification: Can we call this implemenation as reflective loading? The provided mydll.nim does not have a custom loader implementation; A reflective dll injection requires a reflective dll.

Sorry did not check your loader!


clause.Set MergeClause is not merged correctly

When adding a clause.Set to the db.Statement don't merge the original clause expression, but overwrites it.
Currently code
func (set Set) MergeClause(clause *Clause) {
	copiedAssignments := make([]Assignment, len(set))
	copy(copiedAssignments, set)
	clause.Expression = Set(copiedAssignments)
}

Maybe  this can fix it
func (set Set) MergeClause(clause *Clause) {
	copiedAssignments := make([]Assignment, len(set))
	copy(copiedAssignments, set)
	if s, ok := clause.Expression.(Set); ok {
		clause.Expression = append(s, copiedAssignments...)
	} else {
		clause.Expression = Set(copiedAssignments)
	}
}

I have got the same problem


can't install express generator.

Hello,
I am child in expressjs and try to install on my mac followed instruction from express website.
I have installed node via homebrew. Currently, node version on my mac is v11.1.0. After that i used $ npm install express-generator -g to install express generator and got error like permission denied on node_module folder. Therefore i have used $ sudo npm install -g express-generator - command to run as root . then i saw
/Users/htwin/.npm-packages/bin/express -> /Users/htwin/.npm-packages/lib/node_modules/express-generator/bin/express-cli.js

<EMAIL_ADDRESS>updated 1 package in 0.819s

seems like installed is it and i tried to test express command $ express -h and i got command not found msg.
WKMSG2074265:myapp htwin$ express -h
-bash: express: command not found
How to install express command on mac ?
Please help.
Thank you.
Htet

Hi @htethtetwin!  Often times global installs fail because of permissions issues on your global node_modules install location.  Your best option in my opinion is to never install modules globally, just install them where you need them.  In this case you could do this:
$ mkdir myproject && cd myproject
$ npm install express-generator
$ ./node_modules/.bin/express

The .bin directory is created by npm for any modules you install locally, so that is a nice way to manage these without cluttering up your global node modules.  Hope that helps!


[azure-cognitiveservices-speech]: Speech Recognition with an audio file

Package Name:  azure-cognitiveservices-speech
Package Version: 1.15.0
Operating System: Ubuntu 20.04
Python Version: 3.8.5 64bits

Describe the bug
I'm getting the following error when trying to complete the 08 - Speech.ipynb notebook in the mslearn-ai900:
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-10-884de35ac39c> in <module>
      8
      9 # Configure speech recognizer
---> 10 speech_config = SpeechConfig(cog_key, cog_location)
     11 audio_config = AudioConfig(filename=audio_file) # Use file instead of default (microphone)
     12 speech_recognizer = SpeechRecognizer(speech_config, audio_config)

~/.local/lib/python3.8/site-packages/azure/cognitiveservices/speech/speech.py in __init__(self, subscription, region, endpoint, host, auth_token, speech_recognition_language)
     57             speech_recognition_language: OptionalStr = None):
     58
---> 59         self._impl = self._get_impl(impl.SpeechConfig, subscription, region, endpoint, host, auth_token,
     60                 speech_recognition_language)
     61

~/.local/lib/python3.8/site-packages/azure/cognitiveservices/speech/speech.py in _get_impl(config_type, subscription, region, endpoint, host, auth_token, speech_recognition_language)
    148             if endpoint is not None or host is not None or auth_token is not None:
    149                 raise ValueError(generic_error_message)
--> 150             _impl = config_type._from_subscription(subscription, region)
    151         elif region is not None and auth_token is not None:
    152             if endpoint is not None or host is not None or subscription is not None:

RuntimeError: Exception with an error code: 0x5 (SPXERR_INVALID_ARG)
[CALL STACK BEGIN]

/home/hamza/.local/lib/python3.8/site-packages/azure/cognitiveservices/speech/libMicrosoft.CognitiveServices.Speech.core.so(+0x211d2b) [0x7fd25cc49d2b]
/home/hamza/.local/lib/python3.8/site-packages/azure/cognitiveservices/speech/libMicrosoft.CognitiveServices.Speech.core.so(+0x1a29ae) [0x7fd25cbda9ae]
/home/hamza/.local/lib/python3.8/site-packages/azure/cognitiveservices/speech/libMicrosoft.CognitiveServices.Speech.core.so(speech_config_from_subscription_internal+0xd5) [0x7fd25cb780bd]
/home/hamza/.local/lib/python3.8/site-packages/azure/cognitiveservices/speech/_speech_py_impl.so(+0xd94fc) [0x7fd25d5294fc]
/usr/bin/python3(PyCFunction_Call+0xfa) [0x5f305a]
/usr/bin/python3(_PyObject_MakeTpCall+0x296) [0x5f3446]
/usr/bin/python3(_PyEval_EvalFrameDefault+0x5dc0) [0x56f600]
/usr/bin/python3(_PyFunction_Vectorcall+0x1b6) [0x5f5e56]
/usr/bin/python3(_PyEval_EvalFrameDefault+0x5757) [0x56ef97]
/usr/bin/python3(_PyEval_EvalCodeWithName+0x26a) [0x56822a]
/usr/bin/python3(_PyFunction_Vectorcall+0x393) [0x5f6033]
/usr/bin/python3() [0x59b764]
/usr/bin/python3(_PyObject_MakeTpCall+0x1ff) [0x5f33af]
/usr/bin/python3(_PyEval_EvalFrameDefault+0x598a) [0x56f1ca]
/usr/bin/python3(_PyEval_EvalCodeWithName+0x26a) [0x56822a]
/usr/bin/python3(PyEval_EvalCode+0x27) [0x68c1e7]
/usr/bin/python3() [0x5ff1f4]
[CALL STACK END]

To Reproduce
Here's the full code:
import os
from playsound import playsound
from azure.cognitiveservices.speech import SpeechConfig, SpeechRecognizer, AudioConfig

# Get spoken command from audio file
file_name = 'light-on.wav'
audio_file = os.path.join('data', 'speech', file_name)

# Configure speech recognizer
speech_config = SpeechConfig(cog_key, cog_location)
audio_config = AudioConfig(filename=audio_file) # Use file instead of default (microphone)
speech_recognizer = SpeechRecognizer(speech_config, audio_config)

# Use a one-time, synchronous call to transcribe the speech
speech = speech_recognizer.recognize_once()

# Play audio and show transcribed text
playsound(audio_file)
print(speech.text)

Never mind. I confused cog_location with cog_endpoint.


Commit_log processing note: track latest open

It's important to ignore when certain open for certain partition and certain stream has delayed timestamp. It's improper behavior and must be handled (all that opens must be dropped, and further events also), e.g.
t1(13, open) - ok
t2(1, open) - drop (out of order)
t1(13, checkpointed) ok
t2(1, checkpointed) - drop (no open->checkpointed transition)
Actually, that behaviour is specified in the: https://github.com/bwsw/t-streams/blob/master/src/main/scala/com/bwsw/tstreams/agents/consumer/subscriber/TransactionBuffer.scala

with tests (2 + 4 hrs)

ref. ServerLastTransactionTestSuit


Fix nl2br filter example

Replaces undefined name autoescape with the eval_ctx attribute of the same name.
Fixes #1769

Fixed along with a typo in #2045

In #2054 actually.


Add several translations for Latin American Spanish

I added and updated several translations for Latin American Spanish. A lot of these can probably apply to ES-Spanish as well, but I only worked on this one today. Let me know if you find any errors or need clarification.
Also, I didn't check if you have a way to handle accented characters? There were several used in other translations so I included them in mine.
Thanks!!
-Sara // W/S/C

Thank you for contributing, @saramartinez :+1:


shortwave: 3.2.0 -> 4.0.1, move to by-name

Changelog:
https://gitlab.gnome.org/World/Shortwave/-/blob/main/data/de.haeckerfelix.Shortwave.metainfo.xml.in.in?ref_type=heads#L78
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

(shortwave:117290): Gtk-WARNING **: 12:58:25.730: Could not load image '___object_18___
                    ': Error opening file /home/aleksana/.cache/nixpkgs-review/pr-352786/___object_18___
                    : No such file or directory
 ERROR mdns_sd::service_daemon > Failed to send SearchStarted(_googlecast._tcp.local.)(repeating:true): sending on a closed channel

screenshots

Will take a look later

It refused to connect when VPN enabled.


The Digsite quest

the step where it asks me to search the cupboard for a rock pick, it wont progress to the next step which should be to search for a specimen jar, which doesnt even show up in the list of steps.

Should be fixed with https://github.com/Zoinkwiz/quest-helper/commit/af395fbc8fd9a74b6aa989de688e0afe194279b4, thanks.


Use http:// instead of git:// for cryptomilk

In many companies, the git:// protocol is blocked by corporate firewall. To circumvent that, use http:// instead of git://

@salasoom @lindstro BTW, I have just tested "https://" instead of "http://" and that seems to work as well. I leave it up to you guys to decide which protocol to use.

@mohamed Interesting.  We have the exact reverse problem at LLNL, where pushes over https are blocked, and we have to use git+ssh.  But I see no particular issue with changing the protocol for cmocka.
@salasoom Do you agree?

@lindstro You don't need to push over https. This is simply pulling from the cmocka repo. I hope that LLNL doesn't block read-only https access.

@mohamed Right.  I was merely pointing out that our default protocol is git+ssh so we can push new zfp code to GitHub.  That's probably why we're not using https for pulling cmocka, but as you note, we should be able to do so without problem.

We can go with https here. I will rebase the branch against develop, and amend the commit to use https.

Codecov Report

Merging #33 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop      #33   +/-   ##
========================================
  Coverage    92.43%   92.43%
========================================
  Files           46       46
  Lines         2248     2248
========================================
  Hits          2078     2078
  Misses         170      170

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 24ee287...048bbe8. Read the comment docs.


Port to python3

http://fedora.portingdb.xyz/pkg/python-txsocksx/ :smile:

I've been blocked on the (lack of) tooling. If someone else wants to take it up, that's fine. Parsley on python 3 doesn't support parsing bytes or network protocols yet, which is a prerequisite.

@habnabit @meeja: have you ever performed a complete analysis of what would be needed in order to port txsocks to py3?
on GlobaLeaks this is becoming a requirement in relation to ubuntu 18.04 that will have natively py3; Thei announced it with ubuntu 16.04 and now they seems more near. :(
\cc @ncommander @fpietrosanti

@unk2k I appreciate the effort, but this isn't "support". The tests fail, and it isn't configured to run 3.x on travis anyway.

I am working on this. Will have a patch ready for the grammar.py part soon. It will be backwards compatible with Python2.

A small introduction. I am heading Python3 port of the tahoe-lafs project [ https://github.com/tahoe-lafs/tahoe-lafs ] for which txsocksx is a dependency via foolscap [ https://github.com/warner/foolscap ]. Hence porting txsocksx to Python3 is an upstream requirement for tahoe-lafs.
I am trying to do a cross 2-3 compatible port using six .
I am working on the tests now and got the grammar unit test passing on 2 and 3 (3.5). In another week I should have all the unit tests passing and should be able to raise a PR.
Thanks :-)

@evilaliv3 txtorcon has its own Python2+Python3 SOCKS5 client -- so for txtorcon anyway, you don't need txsocksx any more. If someone wanted to split this out and release it as its own Twisted python2 + python3 SOCKS5 client, that's cool :) -- not that it's currently doing some custom SOCKS opcodes that Tor uses and does NOT do any server-side things at all. Nor SOCKS4a. So it's not "a txsocksx replacement", it's "enough SOCKS5 so txtorcon can work".

@pythonhacker Would you mind sharing a quick update on your fork? Did you run into any roadblocks? I am interested in picking up where you left off if there is more work complete.

I think what I would consider the right direction to take this project in is to use siosocks as the thing backing the implementation of the protocol instead of parsley.
I've been working off and on with getting parsley dealing with bytes on python 3, probably by way of getting something set up for sans-IO workflows. I haven't finished it enough to post a new release, but I could publish my work in progress if that's at all tempting. I still think formal grammars for network protocols is a great idea, but I wouldn't want to stall this project on that. siosocks exists right now, and is good enough for this use case.

For a quick fix I went and used the txtorcon client endpoint :)
The changes were minimal.
I agree that using siosoks would be nice.

there is an (attempt at) a sans-io socks5 implementation in txtorcon .. if anyone was motivated to rip that out and improve, that'd be amazing! (and I'd be happy to depend on it instead of an "internal" implementation). Note this is not a complete SOCKS implementation, it's pretty specific to SOCKS5 needs for Tor ...


CARTHAGE SUPPORT.

https://github.com/andreamazz/BubbleTransition/pull/8
You may have to update your pods.

I don't want open new issue for this question, maybe can reopen the current. I get this error:
xcodebuild: error: Scheme Pods-DemoTests-BubbleTransition is not currently configured for the build action.

Hi @jadsonlourenco
Let me check this right away

Wait, you get this error doing what? A plain carthage update on your project?

Ok, I'm confused. xcodebuild -project BubbleTransition.xcodeproj -scheme BubbleTransition runs fine, carthage build --no-skip-current doesn't. Any idea?

Never mind, solved it, checkout the latest version. I'll include the prebuilt archive in the next release

Hey @andreamazz now works fine thank you!

:+1:


Avoid extra tagging when merging unversioned PRs

Change-type: patch
Signed-off-by: Kyle Harding<EMAIL_ADDRESS>

I self-certify!


CSS animation added

Title and Issue number

CSS bubble animation
Close #4668

Checklist:

[x] I have mentioned the issue number in my Pull Request.

@MohitGupta121  @TusharKesarwani  please review this pr under GSSOC'23


7 Days to Die Alpha 18 Server on windows 2016

Bug Report
System Information

Operating System (Windows server 2016 Version 10.0.14393)
AMP version and build date (v<IP_ADDRESS>, built 16/10/2019 17:26)
Which AMP release stream you're using (Mainline)

I confirm:

[x ] that I have searched for an existing bug report for this issue.
[x ] that I am using the latest available version of AMP.
[x ] that my operating system is up-to-date.

Symptoms
When I start the server true ADS/AMP it hits my CPU at 100% and the ram usage stops adding up at +- 3GB.
*All CPU & RAM usages is taken out of windows Task manager.
I have left this for 30 min but the server does not finish starting up.
The console Shows the start settings and some times the map type:
Console output:
"*** Server version: Alpha 18 (b155) Compatibility Version: Alpha 18
*** Dedicated server only build
Server IP: ...(Removed for my safety)
Server port: 27016
Max players: 50
Game mode: GameModeSurvival
World: RWG
Game name: ****(Removed for my safety)
Difficulty: 1
Press 'help' to get a list of all commands. Press 'exit' to end session."
The abort button works.
The update button works. (Game is updated to the latest update)
When I remote the server and use the startdedicated.bat provided by steam with the server files,
the server starts up in 20sec and is playable ( I can then connect to the server from my copy of the game).
It only uses 15% CPU on start up and goes to 1.6% CPU when up and RAM is 3.4GB when up.
First start up took 2min for map gen.
*All CPU & RAM usages is taken out of windows Task manager.
The server does not even produce a log file at all when trying to start the server with ADS.
This is a huge issue for me because I cant even show you a log of why it fails with ADS.
AMP Log shows :
[Core Info]            : Starting AMP version <IP_ADDRESS> (TITAN), built 16/10/2019 17:26
[Core Info]            : Stream: Mainline (Release) - built by CUBECODERS/buildbot on CCL-DEV
[Core Warning]         : Current time zone is set to South Africa Standard Time - Servers should ideally be UTC to avoid time-zone related issues
[Core Info]            : OS: Windows / x86_64
[Core Info]            : CPU: Intel(R) Xeon(R) CPU E3-1240 v6 @ 3.70GHz (4C/8T)
[Core Info]            : AMP Instance ID: ******
[Core Info]            : Checking for AMP updates...
[ModuleLoader Info]    : Loaded SevenDaysModule version <IP_ADDRESS> by CubeCoders Limited
[ModuleLoader Info]    : Loaded FileManager version <IP_ADDRESS> by CubeCoders Limited
[ModuleLoader Info]    : Loaded EmailSender version <IP_ADDRESS> by CubeCoders Limited
[ModuleLoader Info]    : Loaded WebRequestPlugin version <IP_ADDRESS> by CubeCoders Limited
[ModuleLoader Info]    : Loaded LocalFileBackupPlugin version <IP_ADDRESS> by CubeCoders Limited
[ModuleLoader Info]    : SevenDaysModule requests dependency steamcmdplugin...
[ModuleLoader Info]    : Loaded steamcmdplugin version <IP_ADDRESS> by CubeCoders Limited
[ModuleLoader Info]    : SevenDaysModule requests dependency RCONPlugin...
[ModuleLoader Info]    : Loaded RCONPlugin version <IP_ADDRESS> by CubeCoders Limited
[Core Info]            : Licence Present: AMP Professional Edition (Licenced to ****)
[WebServer Info]       : Websockets are enabled.
[WebServer Warning]    : RouterTimer@10Hz with 2 jobs started
[WebServer Info]       : Webserver started on <IP_ADDRESS>:8088
[Core:Anonymous Activity] : Authentication attempt for user Admin from <IP_ADDRESS>
[Core:Anonymous Activity] : Authentication success
[System:Admin Activity] : Starting the application.
[SevenDays:Admin Info] : Connecting to telnet ...:27016
[SevenDays:Admin Info] : 72d2 RCON Connected OK
Reproduction
I did a clean install:
*1 Created 2nd 7 Days to Die Instance.
*2 Filled in all configuration under "Server Config"
3 Under "Updates Config" I switched on "Use experimental release stream"
4 Started update under "Status"
5 Press Start server.
6 CPU Shows 100% usage under ADS
7 Click on console only see:
" Server version: Alpha 18 (b155) Compatibility Version: Alpha 18
*** Dedicated server only build
Server IP: ...(Removed for my safety)
Server port: 27016
Max players: 50
Game mode: GameModeSurvival
World: RWG
Game name: ****(Removed for my safety)
Difficulty: 1
Press 'help' to get a list of all commands. Press 'exit' to end session."
*8 Login to server with RDP. and Check Task manager.
*9 I see 7DaysToDieServer.exe is running at 100% cpu usage
*10 Leave server alone for 30min. Nothing changed in:
*Console
*Task Manager
*Server is not showing in game on server list.
*11 Under "Status" I click "Abort"
*12 Server stops. Confirmed by Server's Task manager
*13 On server using RDP. I navigate to "C:\AMPDatastore\Instances\SevenDays02\7d2d\294420"
*14 I run startdedicated.bat
15 I wait for CPU Usage to drop to 1.% usage.(Takes +-2min)
*16 Check in game server list and find my server
*17 Join with no problems.
*18 End task 7DaysToDieServer.exe
*19 Go back to ADS and start *5 again same result up to *10

You need the nightly build right now for A18

Closed as issue already addressed in nightly, pending release.


Add more frequency methods

I already have my own codeigniter-tasks package which includes all the points mentioned in this repo's vision (including performance commands) and I would like to participate in completing this repo.
I will start my pull requests in batches ( for easy review ) depending on the quick response from the maintainers.
My first pull request will be adding missing frequency methods which i think are very useful.
Changed Methods are:

hourly() : I think it's better to add minutes as an optional parameter to specify the exact minute instead of setting it to zero by default.

 $schedule->hourly();        // Will Run hour at xx:00
 $schedule->hourly(15);    // Will Run hour at xx:15

New Methods are:

everyHour(hour = 1, minute = null)
This method is useful for scheduling jobs to run every x hours. if minute is not passed it will be set to zero.

 $schedule->everyHour(3) // Will Run Every 3 hours at xx:00
 $schedule->everyHour(3,15) // Will Run Every 3 hours at xx:15

betweenHours(from , to)
Run the task between specific hours by using pure cron expression (from-to).

 $schedule->betweenHours(6,10)  // Will run between hours 6 and 10

hours( array[] )
Run the task at specific hours passed as an array. Time should be passed by at() method.

 $schedule->hours( [12,16] )  // Will run on hour 12 and on hour 16.

everyMinute( minute = null )
This method is useful for scheduling jobs to run every x minutes. if minute is not passed it will be set to * (every minute).

 $schedule->everyMinute() // Will run every minute
 $schedule->everyMinute(20) // Will run every 20 minutes

This method changed the implementation for the following methods everyFiveMinutes(),everyFifteenMinutes() and everyThirtyMinutes().

betweenMinutes(from , to)
Run the task between specific minutes by using pure cron expression (from-to).

 $schedule->betweenMinutes(15,30)  // Will run between minutes 15 and 30

minutes( array[] )
Run the task at specific minutes passed as an array.

 $schedule->minutes( [0,10,30] )  // Will run on minutes 0, 10 and 30

days( array[] )
Run the task at specific days passed as an array. as per cron specifications 0 is sunday and 6 is saturday

 $schedule->days( [0,4] )  // Will run on Sunday and Thursday

daysOfMonth( array[] )
Run the task at specific days of the month passed as an array.

 $schedule->daysOfMonth( [1,15] )  // Will run on day 1 and day 15

months( array[] )
Run the task at specific month passed as an array.

 $schedule->months( [1,7] )  // Will run on January and July

In Addition, I think the following should be added to the vision of this repo :

Task's callbacks should be added (after, before, onSuccess, onFailure) which are very important and very useful.

$schedule->call( function(){  /* Some Code */ } )
     ->before( function() {
               // Do Something
         })
     ->after( function( $output ) {
               // Do Something
         })
     ->onSuccess( function() {
               // Do Something
         })
     ->oFailure( function() {
               // Do Something
         });

Overlapping Option, to avoid running multiple instances of the same task using locks files.

$schedule->call( function(){  /* Some Code */ } )
     ->onlyOne();

These look great. Thanks! We definitely welcome additional contributors on this. I have not had as much time as desired lately to get this wrapped up.
We do need some tests added to https://github.com/lonnieezell/codeigniter4-tasks/blob/develop/tests/unit/FrequenciesTraitTest.php though, in order to merge this.

I love this! So excited to hear you have the feature set completed, and I agree with your method of chunking PRs. If you will work on adding the test methods I will see if I can get the GitHub Actions working from forks. Been on my long list, but this is a good motivator.

Thank you @lonnieezell & @MGatner for your quick responses.
I already added an updated test file.
Also, I noticed that method quarterly() set the month to "/3" which I think is not an accepted standard cron expression ( this is my reference for all my cron expressions https://crontab.guru/ ), it should be set to "*/3". The same applies to everyFiveMinutes(), everyFifteenMinutes() and everyThirtyMinutes().


I trained using the tree dataset(300 images)

I trained using the tree dataset.
We proceeded with 300 images of trees, but the generation did not go well.
I would like to know your experience of training with trees.

300 images seems not enough for well training, especially there is no significant domain features like face in your training data. I suggest to use at least thousands images and train for enough iterations.


Add Server Side Rendering research and demos

Criteria: SSR
Candidates: All

Basic examples added for Vue.js. Vue still needs an end-to-end example showing how a pre-render on the server can hand off rendering to a Vue instance in the browser for SPA functionality.

Examples added for react. Includes an example using next.js to show a universal app.

Vue still needs an end-to-end example showing how a pre-render on the server can hand off rendering to a Vue instance in the browser for SPA functionality

nuxt.js example added for this.

Angular Universal is angular's officially supported solution for SSR.


WIP: Documentation build process

Do not merge
Using the setup linked to in a comment by @ThomasWaldmann on #660 as a base, this PR allows local building of the documentation in html format, (pdf)latex and epub formats as well as checking of external links. This requires that GNU Make and python are both installed locally, as well as the pip packages Sphinx and sphinx_rtd_theme. Navigate to /docs and run make help to see a list of valid targets.

Thanks for picking it up Ben! How about we add a README.md file to the docs folder with info on what this folder is and how to build the docs locally? If it makes any difference, I don’t think we’ll need any other build formats than html locally.

If you consider facts about your development/documentation process as documentation also, you could just have a "development" section there to put such stuff.

Hi, I've created a fork, and moved all docs into a 'developers' sub-directory in the docs/ folder.

I think its good to have all the docs in one place along side other getting started guides etc. Maybe this is a break with convention? Readthedocs website has the docs organised in this way.
I've drafted a 'How to contribute to documentation', this explains how to make small changes on github or build the documents locally for bigger changes. Only a early draft...
Also drafted a 'Documentation style guide' which provides guidance on how best to write documentation and also lists the Travis tests.
Add travis tests...this got complicated...the tools are mainly built for .md files so I've used pandoc to temporarily convert all the .rst to .md
Using awesome_bot & textlint to travis test dead links and grammar, spelling, style. There's lots more things we could test...don't want the tests to be too pedantic, most set to warnings only(?)
I had to set sudo: required in travis - this slows the build time, maybe other issues with doing this?
Hopefully this will help implement https://github.com/hoodiehq/hoodie/pull/671 and https://github.com/hoodiehq/hoodie/pull/660 - let me know your thoughts, lots of potential changes - and I'm new to a lot of this! :ear: :smile:

The build is currently failing because of dead links... sometimes you need to break things to make them better  :worried:

I've got the tests to all pass! lots of changes as described in previous comment https://github.com/hoodiehq/hoodie/pull/694

@fozy81 I think we go all the relevant bits merged, right? So we can close this PR?


Is it meant to create databases for sites with Facebook widgets?

Okay, so this is a weird one. Every time I run a link to a page with an embedded Facebook widget in it, a database is created in the Obsidian config directory. In the example below, aresaflowers.com, helstonrailway.co.uk and (I guess) youtube.com are the ones I mean:
laura@lauralaptop:~/.var/app/md.obsidian.Obsidian/config/obsidian/IndexedDB$ ls -hl
total 0
drwx------ 1 laura laura 152 Apr 15 19:28 app_obsidian.md_0.indexeddb.leveldb
drwx------ 1 laura laura 112 Apr 15 14:48 app_static.obsidian.md_0.indexeddb.leveldb
drwx------ 1 laura laura  78 Apr  1 01:40 https_www.arenaflowers.com_0.indexeddb.leveldb
drwx------ 1 laura laura  92 Apr 15 21:58 https_www.helstonrailway.co.uk_0.indexeddb.leveldb
drwx------ 1 laura laura  98 Apr  1 01:31 https_www.youtube.com_0.indexeddb.leveldb

Is that expected behaviour? I've tested by watching the timestamps update by going to helstonrailway.co.uk and it definitely happens when I run "paste and auto fetch title".
Here is the top of one of the log files inside the database directory above:
laura@lauralaptop:~/.var/app/md.obsidian.Obsidian/config/obsidian/IndexedDB/https_www.helstonrailway.co.uk_0.indexeddb.leveldb$ cat 000003.log
� 6>
F��Тw�"https_www.helstonrailway.co.uk_0@1EappsFacebookFeedCacheOf�j2

2�������

Infuriatingly, I can't replicate this in the sandbox vault with just your plugin installed. And yet, if I use my main vault with all plugins disabled except this one, and with the default theme, the phenomenon still occurs! Weird!
Any ideas? Thanks for your help!

Hi Laura, Which version of this plugin are you running in each of the vaults?

Also in your main vault when you disable plugins, do you close all notes and then restart obsidian? Some plugin changes don’t take effect until after note re-opening or Obsidian re-opening, as I understand it.

Hiya Clare. 1.2.5 on both. Yes, I restarted. Hmm... :)


This occurs on all our files.
Additionally, the monaco.d.ts that gets generated and formatted by the TypeScript version we have installed has no whitespace indentation at all.

Consider using https://github.com/vvakame/typescript-formatter instead.

cc @jrieken

that's the one we use - it's just being used from within a gulp plugin

This is a very strange bug, and it caused the exact same problem for me.
Note that if you've already installed a version of typescript later than 2.0.3, even after updating package.json you'll have to run npm install typescript and you should see --<EMAIL_ADDRESS>   It looks like a bug in Typescript, and a pretty bad one since it was introduced during a new patch release, which should only be for bug fixes and no changes to functionality.

Microsoft/TypeScript#11852


[WIP][SPARK-40759][SQL] Migrate type check failures of time window onto error classes

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

Still WIP, will fix test fail later

+1, LGTM. Merging to master.
Thank you, @LuciferYang.


Add ability to prove a program as well

At the moment, we only execute the Miden assembly program. We should add the ability to prove and also to verify a program.
Proving a Miden program in lib.rs
We can add the feature as another function, pub fn prove_program and also have the program, the inputs and the output_count as function inputs.
The problem so far is, that we can't return a tuple or a complex struct from Rust to the frontend using wasm-bindgen, see https://stackoverflow.com/questions/75064800/how-to-return-a-tuple-to-frontend-from-wasm
There are solutions, but I was not able to implement them in #50
Another problem is that there is no info about the trace or the time exposed in Miden v0.3. So we don't know how many cycles or how long it took, see https://github.com/0xPolygonMiden/examples/issues/29. The problem with the duration of the proving step could be solved by adding a timestamp to the frontend.
Proving a Miden program in the App.tsx
We add another function like for run_program. The return values so far are the stack_output and the overflow_addresses.
However, we do not get the proof or any other info yet to print, see above.
In an ideal world, we would get some info while the proving step is executed, like the info that is logged when you prove via the CLI.
Open questions to clarify in the working group
Maybe the ability to prove is enough for this iteration, but if not we need to answer

What do we want to output while proving?
What do we want to output during proving?
How do we want to show the proof?

Any opinions / ideas on the above @grjte or @Overcastan ?

For now, I would aim to show the same output as we show in the CLI when proving

That would be nice, indeed. Unfortunately, those metrics are not exposed when you import Miden.
We would need access to that logger here:
https://github.com/0xPolygonMiden/miden-vm/blob/9c8af67a7768b920772b3a42d89947f7f639e089/miden/src/cli/prove.rs#L46-L50
But importing Miden VM v0.3. and using miden::prove:: does not expose this logger. Do you know a way how to access the logger? I mean it does not even log, when we don't use the Miden CLI I assume.


Replace all occurrences of a substring in a string

Definition of done:

Clear code should be written.
Comments will be really appreciable.
Add minimum 2 test cases to test the code.
Add you code under Python/Data Structure and Algorithms/<ProgramName.py>
Make sure to add the Screenshot of Program Testing in the comment while merging the PR

@jatinkumar027 assign it to me

Sure. done


Tooltip is not displayed correctly in 0.24.1

Duplicate Check

[X] I have searched the opened issues and there are no duplicates

Describe the bug
Instead of tooltip, some text with tooltip properties is displayed.
Code sample
Code
import math

import flet as ft

def main(page):

    text = ft.Text(
        value="Hover to see tooltip",
        tooltip=ft.Tooltip(
            message="This is tooltip",
            padding=20,
            border_radius=10,
            text_style=ft.TextStyle(size=20, color=ft.colors.WHITE),
            gradient=ft.LinearGradient(
                begin=ft.alignment.top_left,
                end=ft.alignment.Alignment(0.8, 1),
                colors=[
                    "0xff1f005c",
                    "0xff5b0060",
                    "0xff870160",
                    "0xffac255e",
                    "0xffca485c",
                    "0xffe16b5c",
                    "0xfff39060",
                    "0xffffb56b",
                ],
                tile_mode=ft.GradientTileMode.MIRROR,
                rotation=math.pi / 3,
            ),
        ),
    )

    page.add(text)

ft.app(target=main)

To reproduce

Run repro code
Hover mouse over text
Instead of tooltip see this:

Expected behavior
I expected to see tooltip with gradient.
Screenshots / Videos

Captures
[Upload media here]

Operating System
macOS
Operating system details
macOS
Flet version
0.24.1
Regression
Yes, it used to work in a previous Flet version (please specify the version in additional details)
Suggestions
It used to work when Tooltip used to be a Control (0.21.2)
Logs
Logs
[Paste your logs here]

Additional details
No response

Here is the output on my end:

Was issue with my environment


Support for 2024.2 EAP?

IDEA's early access version 2024.2 is out and it's reporting that this plugin is "marked as incompatible". I can't tell if this is a code problem or some missing metadata.
It looks like #43 was mostly metadata, hopefully support for 2024.2 will be just as easy?

@PagerTreadmillAttic no way to know until we try ;) We'll find someone to take a look soon, unless you want to try locally and contribute?

I've already checked out the source, but I don't know Scala or IntelliJ plugin development, so I'm not sure when I'll be able to do it myself. If I can find the time to figure it out, I'll open a PR!