only video from the library

how to get only videos from the library?

I have the same problems，any one have some ideas?

@abdulkrm & @DullBottle This is not possible at the moment but this is something that's on our roadmap short term :)

Actually https://github.com/Yummypets/YPImagePicker/pull/107 just got merged which is going to enable this feature soon! Thank @portellaa  :)

https://github.com/Yummypets/YPImagePicker/releases/tag/3.0.0 🎉

The new api is
config.libraryMediaType = .video

Enjoy :)


[BEAM-5297] Add propdeps-idea plugin.

Intellij Idea (2018.2.1) does not pick up provided dependencies.

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.
Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---
---

Thanks for this!
Can you elaborate on "does not pick up provided dependencies"?
In IntelliJ 2018.1.6, I see provided hadoop-common being understood fine by IntelliJ in the :beam-sdks-java-io-hadoop-file-system module:

though maybe it's strange that it's listed as Compile-scoped?
I just want to make sure I understand the state of what works and doesn't in IJ.
I did a lot of digging recently because I saw IntelliJ not understanding the provided dependencies above, but the problem was apparently due to some strange interactions between IntelliJ and my local Maven repository (details on my dev list post just now).

Hello Ryan,
I also see files listed as compile scoped, but they don't get picked up as in your setup.

I don't really understand idea internals, but the plugin seems to be adding them PROVIDED scope.
https://github.com/spring-gradle-plugins/propdeps-plugin/blob/master/src/main/groovy/io/spring/gradle/propdeps/PropDepsIdeaPlugin.groovy
Also they list some relevant issues in the comment:
http://youtrack.jetbrains.com/issue/IDEA-107046
http://youtrack.jetbrains.com/issue/IDEA-117668
Applying the plugin solves the problem.
I hope this will helps.
D.

@ryan-williams are you still reviewing this? If not, could you help find another reviewer? For tips, see: https://s.apache.org/beam-owners

sorry, I didn't mean to take any reviewer-locks here; I don't have the ability to approve this change, was just trying to understand it.
I don't know how to evaluate proposed changes to our IntelliJ integration when people seem to get different results locally for reasons no one has been able to characterize (afaik)

LGTM, thanks for the contribution
I see we have usages of provided dependencies in our build, and adding this plugin looks to be consistent with other usages (propdeps, propdeps-maven). I don't know if this will fix all of our IntelliJ woes, but I don't think it will hurt.


No error thrown when saving image after camera roll permission is denied

The bug described in issue #525 is still present in the latest version.
There is also no error when using the Save Image option if the camera roll permission has manually been rejected (in the Settings app).

@ksesong do you have a reproducible repository?
It could help to understand which behaviour it should have.
Does it only happens on iOS?

I haven't tested it in iOS.
I haven't got a reproducible repository, but it is straightforward to test:

Share a local image (url: ...) with Share.open
Use the Save image option in the modal window.
Don't allow access to the permission when requested.
Instead of raising an error (so the .catch callback), the library behaves as if the share was successful (with the .then callback).


feat: Validate that "server" and other definition don't have unrecognized fields.

Current dependencies on/for this PR:

main

PR #1036   👈

This comment was auto-generated by Graphite.


U250 support?

Hi authors,
Just wonder why U250 is not supported, given U200 and U280 are supported? are there any technical challenges when handling U250? If I want to port it to U250, would that be hard?
Best,
Yang

Hi,
We did not have an U250 neither the bandwidth to port the designs.
The challenges is going to be to relocate the CMAC IP and memory controller banks.
Mario

Cool. Thanks, let me give it a try!

HI Mario,
I just ported the rep to U250 based on U200's configure. Now VIO shows everything normal. But when I tried the xdma driver and cmac_stats, /dev does not have xdma0_user or xdma0_xvc appearing, and thus cmac_stats cannot be executed.
Is it any misconfiure in the xdma IP core for U200, as I see in U200:
`
Create instance: xdma_0, and set properties
set xdma_0 [ create_bd_cell -type ip -vlnv xilinx.com:ip:xdma:4.1 xdma_0 ]
set_property -dict [ list
CONFIG.xdma_axi_intf_mm {AXI_Stream}
] $xdma_0
`
While in U280:
`
Create instance: xdma_0, and set properties
set xdma_0 [ create_bd_cell -type ip -vlnv xilinx.com:ip:xdma:4.1 xdma_0 ]
set_property -dict [ list
CONFIG.PCIE_BOARD_INTERFACE {pci_express_x1}
CONFIG.PF0_DEVICE_ID_mqdma {9011}
CONFIG.PF2_DEVICE_ID_mqdma {9011}
CONFIG.PF3_DEVICE_ID_mqdma {9011}
CONFIG.axi_data_width {64_bit}
CONFIG.axilite_master_en {true}
CONFIG.axilite_master_size {8}
CONFIG.axisten_freq {250}
CONFIG.cfg_mgmt_if {false}
CONFIG.coreclk_freq {250}
CONFIG.en_gt_selection {true}
CONFIG.mode_selection {Advanced}
CONFIG.pcie_blk_locn {PCIE4C_X1Y0}
CONFIG.pf0_device_id {9011}
CONFIG.pf0_msi_enabled {false}
CONFIG.pf0_msix_cap_pba_bir {BAR_1}
CONFIG.pf0_msix_cap_table_bir {BAR_1}
CONFIG.pl_link_cap_max_link_speed {2.5_GT/s}
CONFIG.pl_link_cap_max_link_width {X1}
CONFIG.plltype {CPLL}
CONFIG.xdma_axi_intf_mm {AXI_Stream}
CONFIG.xlnx_ref_board {AU280}
] $xdma_0
`
I do not have U280 in hand, and want to get you option -- should I modify U250 xdma setting according to U280 to make cmac_stats work?
Best,
Yang

The porting process is a bit more complex than that. You will need to open the IP integrator and configure the IP manually, there may be more than one IP to reconfigure.
Without going into the process I cannot be of assistance.

Yes, understand. But according to Xilinx spec about U200 and U250 (https://www.xilinx.com/support/documentation/data_sheets/ds962-u200-u250.pdf), they are almost the same except for LUT, BRAM number. They have the same pin constraint; I just changed the cmac group and core selection, and Limago works on U250 with the arpping, ping, and iperf2 applications
But one problem is that the iperf2 application is not consistently working -- after I run iperf2 once for 10second, the next run won't work. I need to rewrite the bitstream to make it work. The arpping and ping always work. Then I notice that the timing constraint is not met, see below

So I guess the unmet timing causes this behavior. Did you see this timing issue your platform? can U200 meet the constraints? It would be great if you can give some suggestions on fixing the timing constraint issue. I am new to FPGA, any specific suggestion to this issue, or tutorials, talks, slides are all good to me.
Best,
Yang

The timing is not that bad, you can try with a different implementation strategy. But the timing is not causing the issue.
The issue you are seeing is a known bug that I am not able to look at the moment Limago/issues#7
I will make the same suggestion the ETH Zurich version is more active and does seems to have the issue.
Alveo U200 and U250 are not the same, they are different FPGAs, look at page 4 and 5 of this document
https://www.xilinx.com/support/documentation/data_sheets/ds962-u200-u250.pdf


CNPHI Export - "Animal Type" Issue.

CNPHI "Animal Type" field doesn't accept Humans.
Looks like we are mapping "host (common name)" to "Animal Type"; can we do so but omit "human"?
CNPHI Field Context:
Field: Specimen Source
Input: Human, Animal, Environment
Field: Animal Type
Input: Bat, Cat, Chicken, Civets, Cow, Dog, Lion, Pangolin, Pig, Pigeon, Tiger, ~Human~

@ddooley any estimated time on when this is could be resolved?
CNPHI will reject "Human" is listed under "Animal Type"; so ideally whenever "Human" is picked for "Specimen Source", "Animal Type" will remain empty.

Ok, I think the fix is in.  Human is moved over to 'Specimen Source'

Beautiful! Thank you!


Strange user interface scale

As shown above.
The monitor's physical resolution is 3840x2160
The actual resolution is 1920x1080(System setting.)
System: OS: Manjaro 18.1.3 Juhraya
GPU: Mesa DRI Intel(R) HD Graphics 500 (Broxton 2x6)
If I choose to use 3840x2160, the UI become even more strange.

I suspect this was caused by DPI scaling, but I didn't find where the related code is.

Yeah DPI scaling is a mess... Dear ImGui does not really support it and editor tried to work around it with limited success. I am working on a PR that implements perfect HDPI support in Dear ImGui: https://github.com/ocornut/imgui/pull/2826. Maybe i should pull in those patches ahead of time into our editor.
#125 related.

Nice!


I no longer see a weekly and monthly progress bar on my annual goal on premium strava with strvistix.

Bug description:
Actual Behavior:
Expected Behavior:
Steps to Reproduce:

...
...
...

Chrome version
Plugin version:
Activities links?:
Console errors? (press F12 to see developer console, and copy paste here):
put console errors here if exist

Link screenshots or youtube video link if necessary:

@bootheelbiker Thanks for reporting this to me
What happen if you disable stravistix in chrome://extensions/ tab?
Do you have any screenshot or other ?
I need more info :) Thanks


Improve error when fetching certificates

Hey :wave:
I was trying to use 0.7.0 in order to verify an SNP attestation report on AWS. I know now that VLEK is used instead of VCEK and found https://github.com/google/go-sev-guest/pull/67. I will comment there as well once I played around with it :)
While using 0.7.0 I got a somewhat confusing error. The error I got was timeout while downloading the VCEK. So I wasted quite a bit of time debugging (non existing network issues). What was actually happening is that the library was trying to fetch https://kdsintf.amd.com/vcek/v1/Milan/00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000?blSPL=3&teeSPL=0&snpSPL=10&ucodeSPL=207 and AMD correctly responded with 404. Currently everything >300 is handled the same. I think we could narrow down the status code a bit and / or inform users about the underlying error while retrying.
AMD seems to honor the status codes documented in Chapter 4.1. So we could test for HTTP 429 and error early otherwise?
Let me know what you think. I am open to put in a PR as well.

Sounds good to me. Happy to review.
On Thu, Aug 3, 2023 at 09:48 Fabian Kammel @.***> wrote:

Hey 👋
I was trying to use 0.7.0 in order to verify an SNP attestation report on
AWS. I know now that VLEK is used instead of VCEK and found #67
https://github.com/google/go-sev-guest/pull/67. I will comment there as
well once I played around with it :)
While using 0.7.0 I got a somewhat confusing error. The error I got was
timeout while downloading the VCEK. So I wasted quite a bit of time
debugging (non existing network issues). What was actually happening is
that the library was trying to fetch
https://kdsintf.amd.com/vcek/v1/Milan/00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000?blSPL=3&teeSPL=0&snpSPL=10&ucodeSPL=207
and AMD correctly responded with 404. Currently everything >300 is
handled the same
https://github.com/google/go-sev-guest/blob/main/verify/trust/trust.go#L105.
I think we could narrow down the status code a bit and / or inform users
about the underlying error while retrying.
AMD seems to honor the status codes documented in Chapter 4.1
https://www.amd.com/system/files/TechDocs/57230.pdf. So we could test
for HTTP 429 and error early otherwise?
Let me know what you think. I am open to put in a PR as well.
—
Reply to this email directly, view it on GitHub
https://github.com/google/go-sev-guest/issues/69, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFL4HFG5I2VX47GDJRVJOTXTPI4VANCNFSM6AAAAAA3DBUQ2E
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


fix: react-route-dom ssr data serialize-javascript

Description
修改了react-router-dom ssr 的时候，当数据中含有script标签导致报错的问题
如图

Related Issue

Types of changes

[ ] Docs change / Dependency upgrade
[ ] Bug fix
[ ] New feature / Improvement
[ ] Refactoring
[ ] Breaking change

Checklist

[ ] I have added changeset via pnpm run change.
[ ] I have updated the documentation.
[ ] I have added tests to cover my changes.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.zhengchuangchuang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Guidance Computer not showing up in GUI

Version of Advanced Rocketry
AdvancedRocketry-1.10.2-1.4.0-8
Have you verified this is an issue in the latest unstable build
Y
Version of LibVulpes
LibVulpes-1.10.2-0.2.8-8-universal
Version of Minecraft
Minecraft 1.10.2
Crash report or log (if applicable)
http://pastebin.com is a good place to put them
crash reports that are put in the issue itself are
hard to read
No crash occured.
Description of the problem
I tried building a rocket with a Guidance computer BUT the Guidance computer doesnt show up in the GUI

The screenshot with the flatland behind is without modifications and
the one with the quartz n stuff is with 18 other mods. So i made sure that the mods are not the problem.

I am sorry if this is false alarm and i missed something but i just wanted to make sure and show this to you.

NOTE: Travelling to another planet/spacestation works if you place a chip in before you build the rocket. Once again. dont know if i missed an update or anything

Is this still a issue? Please comment if it is and i will reopen if if you are unable? We are closing old issues to see what is still relevant and needs to be fixed.

Just a heads-up in case this is still happening, I seem to have gotten this fixed on my personal fork by reverting 44464bf.

Why not find a fix as well and submit a pull request? I know we would appreciate it.
Sent from my iPhone

On Apr 16, 2019, at 7:37 AM, Revemohl<EMAIL_ADDRESS>wrote:
Just a heads-up in case this is still happening, I seem to have gotten this fixed on my personal fork by reverting 44464bf.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

Just a heads-up in case this is still happening, I seem to have gotten this fixed on my personal fork by reverting 44464bf.

Any way to get a copy of the fork i tried reverting it myself but cant get it to work


SendGrid or Amazon SES support?

Any plans for supporting SendGrid or Amazon SES for sending mails?
Sending large quantities of mails from any server requires a bit of work in order to insure they are received properly (not SPAMed) if at all.
Both services have APIs for integration.

If either of these support sending mail over SMTP, you can just configure them using the STAYTUS_SMTP_HOSTNAME, STAYTUS_SMTP_USERNAME and STAYTUS_SMTP_PASSWORD environment variables.


use assembly implementations by default

This probably makes sense for most callers. These both build faster and perform better. Using the fastest implementations by default will also make people less confused when they do their own benchmarks. Instead of the current "c" feature, we can expose a "pure" feature, for applications that want to remove the dependency on the C/assembler toolchain. In both cases, top level applications should generally be the ones to decide which implementations get included, and other libraries should generally avoid making that decision.

dbdf402519ac434bf9839c15fa8293165b7273c2


When calculating direct features use default value if parent missing

For example, if there is a relationship transaction.session_id -> sessions.id and we are calculating a feature transactions: sessions.SUM(transactions.value) any rows for which there is no corresponding session should be given the default value of 0 instead of NaN.
Of course this should not normally occur, but when it does it seems more reasonable to use the default_value.
DirectFeature.default_value is already implemented. We should be able to use the same logic that we do for aggregation features.
https://github.com/Featuretools/featuretools/blob/6f4ffd7ef7ea42f95dbaf3892615717a521299db/featuretools/computational_backends/feature_set_calculator.py#L611-L618

Is there any sample codes that reproduces this problem? I would like to confirm my understanding of this problem.
For example, if transactions.value is [1,2,3,4,float('nan')], SUM(transactions.value) should be 10.0 (ignoring nan). Am I correct?

Here is code that reproduces
import pandas as pd
import featuretools as ft
from featuretools.primitives import Sum

transactions = pd.DataFrame({
    "id": [1, 2, 3, 4],
    "session_id": ["a", "a", "b", "c"],
    "value": [1, 1, 1, 1]
})

sessions = pd.DataFrame({
    "id": ["a", "b"]
})

es = ft.EntitySet()
es.entity_from_dataframe(entity_id="transactions",
                         dataframe=transactions,
                         index="id")
es.entity_from_dataframe(entity_id="sessions",
                         dataframe=sessions,
                         index="id")

es.add_relationship(ft.Relationship(es["sessions"]["id"], es["transactions"]["session_id"]))
es

sum_features = ft.Feature(es["transactions"]["value"], parent_entity=es["sessions"], primitive=Sum)
sessions_sum = ft.Feature(sum_features, entity=es["transactions"])

fm = ft.calculate_feature_matrix(features=[sessions_sum], entityset=es)
fm

the output of fm is
    sessions.SUM(transactions.value)
id
1                                2.0
2                                2.0
3                                1.0
4                                NaN

id 4 should be 0

If no one is working on this, may I take this up?

@seriallazer sure!

I've created a pull-request for the change: https://github.com/FeatureLabs/featuretools/pull/1217.
Can someone please review the changes.
Thanks!


Can I use  MMdetection framework Version 2.x?

Can I use  MMdetection framework Version 2.x?

Yes, you need to upgrade the pretrained model using the Tools/upgrade_model_version.py script and probably modify the configuration file Config/cascade_mask_rcnn_hrnetv2p_w32_20e_v2.py slightly (read the error messages, if any, and simply copy relevant parameters from mmdetection/configs).


Win32 Keyboard: Simplify right-hand CTRL/SHIFT/ALT detection

This seems to add more computation to all the keys when only SHIFT, CTRL, and ALT need anything to be done.
What's the motivation for this chagne?

@walbourn You're right. I have updated the code. I hope now its clearer.


iot-simplified-installer changes admin password on fedora 38

Describe the bug
after boot iot-simplified-installer, when try to login with user admin, and then input the password defined in blueprint, os prompts incorrect password. But can login user admin with the ssh key defined in blueprint
Environment

OS version (/etc/os-release and /etc/redhat-release): fedora-38
osbuild-composer version (rpm -qi osbuild-composer)

To Reproduce
Steps to reproduce the behavior:

build iot-container, define user/password/sshkey in the blueprint.

name = "container"
description = "A base rhel-edge container image"
version = "0.0.1"
modules = []
groups = []

[[packages]]
name = "python3"
version = "*"

[[customizations.user]]
name = "admin"
description = "Administrator account"
password = "**********PASSWORD**********************"
key = "${SSH_KEY_PUB}"
home = "/home/admin/"
groups = ["wheel"]

build iot-simplified-installer

name = "simplified"
description = "A rhel-edge simplified-installer image"
version = "0.0.1"
modules = []
groups = []

[customizations]
installation_device = "/dev/vda"

boot and then login with admin, the password I input is incorrect.

[root@yih-f38 rhel-edge]# ssh<EMAIL_ADDRESS>The authenticity of host '<IP_ADDRESS> (<IP_ADDRESS>)' can't be established.
ED25519 key fingerprint is SHA256:qwJ34cWARtAPqRO8Ehu628l4Chiq8NuKLh++Dtt1PXs.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '<IP_ADDRESS>' (ED25519) to the list of known hosts.
<EMAIL_ADDRESS>password:
Permission denied, please try again.
<EMAIL_ADDRESS>password:
Permission denied, please try again.

Then I used the ssh key to login.
[root@yih-f38 rhel-edge]# ssh -i key/ostree_key<EMAIL_ADDRESS>Script '01_update_platforms_check.sh' FAILURE (exit code '1'). Continuing...
Boot Status is GREEN - Health Check SUCCESS
Last failed login: Tue Jun 27 14:06:41 UTC 2023 from <IP_ADDRESS> on ssh:notty
There were 2 failed login attempts since the last successful login.

Then when I try to run sudo command, the password is still incorrect
[admin@localhost boot]$ sudo cryptsetup luksDump /dev/vda4

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

For security reasons, the password you type will not be visible.

[sudo] password for admin:
Sorry, try again.
[sudo] password for admin:
sudo: 1 incorrect password attempt

Expected behavior
should be able to login with password defined
Additional context
Add any other context about the problem here.

Can you add the ssh key to the root user to login as root and check a couple of things?  I think I've seen this issue before and it's not that the password has changed, it's just something with the password auth.
If you can login as root, can you check the user database with:
getent passwd

and
getend shadow

I suspect that the password hash will match the known password from the blueprint but the password auth wont work.

Forget to add the reason to close this bug:
Per discussion with dev, it's an known issue, workaround is to remove user in commit/container, won't fix it now but will keep it open


[BUG] copado-git-get-mock error on create branch

Current Behavior
While executing the copado-git-get ${createBranch ? '--create ' : ''}"${workingBranch}", it gives an error if the branch is already created.
Expected Behavior
If the branch is already created, it should just checkout, if not it should create it and then checkout.

updated copado-git-get-mock to 2.0.3 which fixes all that.


Configuration on Windows

Hi,
can anyone provide me guidance on how to install this package in windows? Also I'm using Winginx, and maybe this makes it even more hard to find for me.
Thanks in advance

I dont know if that works but you could try to replace an nginx files by the ones at https://github.com/illuspas/nginx-rtmp-win32


✨ Include support for info messages

Details
There have been a few discussion internally in regards to how a message with type info should look like - meaning which sort of icons to use, and how it should look like.
In our team we've now had multiple discussions regarding this, hence we're now just using whatever we have defined in Figma and adding this as a separate element - in order to avoid discussions in the future regarding the "how should this look like".
Also, if it changes, it is now centrally contained 😅.
Example
    <Message variant="info">
      <Message.Title>Information message</Message.Title>
      <Message.Description>Some not that important information message.</Message.Description>
    </Message>

Very nice 👌
This must be synced to Figma: https://www.figma.com/design/64ieYInJRps5diLI1qgJJk/Hedwig-Design-System?node-id=8655-15291&m=dev And Zeroheight: https://hedwig.posten.no/7cc809d17/p/25bceb-message
Snapshot release in pipeline fails, but that's irrelevant for this PR. Merge away

ojeee! 💯
Hmm, ZH and Figma syncronizing, perhaps we should've added a small note on how to add that in the best way? As this can be done by any of the contributing peepz? 🤔


fix

PR title
Status
READY/IN DEVELOPMENT/HOLD
Description
A few sentences describing the overall goals of the pull request's commits.
Related PRs
List related PRs against other branches:

branch
PR

other_pr_production
link

other_pr_master
link

Todos

[ ] Tests
[ ] Documentation

Steps to Test or Reproduce
Outline the steps to test or reproduce the PR here.
git pull --prune
git checkout <feature_branch>
pytest --showlocals

Impacted Areas in Application
List general components of the application that this PR will affect:

:white_check_mark: Build ebook_homebrew 1.0.318 completed (commit https://github.com/tubone24/ebook_homebrew/commit/70c8ff27ca by @)


Handle cross-module imports in the TypeFormatter

The TypeFormatter is currently missing the equivalent of this code:
https://github.com/getsentry/symbolic/blob/e65aae37fead8acc0402df63351844ae40ac27a0/symbolic-debuginfo/src/pdb.rs#L935-L945

Actually, that code probably doesn't even work - it's not handling the cross-module part, it only looks inside the current module. The full steps to resolve cross-module indexes are given here: https://docs.rs/pdb/0.7.0/pdb/trait.ItemIndex.html#method.is_cross_module
Implementing this would require giving the TypeFormatter access to all modules.
It looks like the pdb files I've been testing with do not use this feature. If somebody can give me access to one that does, along with an example address that fails to be resolved to the right function signature because of this bug, I can look into fixing it.

Looks like I misread the symbolic code when I filed this. The code does all the right things and should work correctly.
Furthermore, it looks like tests/fixtures/crash.pdb does indeed make use of this feature! For example, the function names for inline frames at rva 0x1315 are currently missing due to this issue.
% pdb-addr2line -Cfi -e tests/fixtures/crash.pdb 0x1315
??
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.13.26128\include\xmemory0:143
??
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.13.26128\include\xmemory0:213
??
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.13.26128\include\xmemory0:1030
??
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.13.26128\include\xstring:3907
std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >::operator=(std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >&&)
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.13.26128\include\xstring:2270

This is now fixed, and the command above works correctly:
% pdb-addr2line -Cfi -e tests/fixtures/crash.pdb 0x1315
std::_Adjust_manually_vector_aligned(void*&, unsigned int&)
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.13.26128\include\xmemory0:143
std::_Deallocate(void*, unsigned int)
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.13.26128\include\xmemory0:213
std::allocator<wchar_t>::deallocate(wchar_t* const, const unsigned int)
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.13.26128\include\xmemory0:1030
std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >::_Tidy_deallocate()
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.13.26128\include\xstring:3907
std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >::operator=(std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >&&)
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.13.26128\include\xstring:2270


Remove black and bandit from pre-commit in favor of ruff

It's just fewer dependencies.
There might be small disparities between bandit and ruff, but it seems simpler to use just one tool. (and it's faster)

Summary by Sourcery
Replace 'black' and 'bandit' with 'ruff' in pre-commit configuration to reduce dependencies and improve performance. Enhance type handling in conversion functions and simplify union type annotations. Clean up unused code and comments, and update test cases for improved readability and compliance with linting rules.
Enhancements:

Replace usage of 'dict' and 'list' with 'Mapping' and 'Iterable' in conversion functions for better type handling.
Simplify union type annotations in Pydantic models using the '|' operator.
Remove unused code and comments across various modules to improve code clarity.
Use 'http.client.OK' instead of hardcoded status codes in test assertions for better readability.
Refactor global variable usage in database setup functions to include 'noqa' comments for linting compliance.

Build:

Remove 'black' and 'bandit' from pre-commit configuration in favor of using 'ruff' for linting and formatting.

Tests:

Update test cases to use 'http.client.OK' for status code assertions.
Modify test logic to use 'next(iter(...))' for accessing elements in sets or lists.

@eddiebergman I am stumped. For whatever reason, it looks like these changes consistently lead to a 137 error (out of memory), before the code is ran. It still works on the main branch (see https://github.com/openml/server-api/actions/runs/11016645991/job/30592658517). Any idea?


Memory Leak due to strong reference to InfiniteCollectionViewDelegate

Hey!
Thank you for your nice infinite layout implementation. I found a possible memory leak in your code. The line:
@IBOutlet open var infiniteDelegate: InfiniteCollectionViewDelegate?
should actually read:
@IBOutlet weak open var infiniteDelegate: InfiniteCollectionViewDelegate?
Otherwise you will have a strong retain cycle if the view controller presenting the collection view is also the delegate of the collection view.
I don't think that this issue is also the case for your overrides of the standard UICollectionView's delegate and data source, because they are defined as weak references by Apple and you don't override this weak with your overrides. BUT: For convenience reasons I would also recommend you to also add weak to those properties (so that everyone knows ;) ).
Apart from that: Keep it up!
Best Regards!

Hi !
Indeed i didn't see that
I've made the fixes thanks to you
Thx for your feedback !


Using EVE on iPhone stuck saying 'Adding Accessory'

I don't know if this is an issue with library or something I'm potentially doing wrong, but I've setup an accessory to act as a Heating Thermostat, and when setup as a standalone accessory trying to add the device to EVE on my iPhone results in it being stuck saying 'Adding Accessory' after I've entered in the accessory PIN.
Initially I started the HAP server with the accessory in a bridge, and the bridge would always pair with the device fine, but sometimes the accessory wouldn't appear. Other times I would pair and the accessory would be visible.
There doesn't seem to be any errors in the console, and it seems to be showing that the pair was successful. This is what shows in the console;
10:18:45.458 [defaultEventExecutorGroup-4-1] INFO com.beowulfe.hap.impl.http.impl.AccessoryHandler - New homekit connection from /<IP_ADDRESS>:49317 10:18:45.461 [nioEventLoopGroup-3-1] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.maxCapacity.default: 262144 10:18:45.476 [defaultEventExecutorGroup-4-1] INFO com.beowulfe.hap.impl.pairing.PairingManager - Starting pair for Test Lightbulb 10:18:45.623 [defaultEventExecutorGroup-4-1] INFO com.beowulfe.hap.impl.http.HomekitClientConnection - 200 /pair-setup 10:18:45.627 [defaultEventExecutorGroup-4-1] DEBUG io.netty.util.internal.Cleaner0 - java.nio.ByteBuffer.cleaner(): available 10:18:50.632 [defaultEventExecutorGroup-4-1] DEBUG com.beowulfe.hap.impl.pairing.PairingManager - Entering second stage of pair for Test Lightbulb 10:18:50.737 [defaultEventExecutorGroup-4-1] INFO com.beowulfe.hap.impl.http.HomekitClientConnection - 200 /pair-setup 10:18:51.140 [defaultEventExecutorGroup-4-1] DEBUG com.beowulfe.hap.impl.pairing.PairingManager - Entering third stage of pair for Test Lightbulb Added pairing for 6a:b3:7d:f4:97:665AC69736-FDCD-4808-824E-A64DDFECD543 10:18:51.253 [defaultEventExecutorGroup-4-1] INFO com.beowulfe.hap.impl.jmdns.JmdnsHomekitAdvertiser - Re-creating service due to change in discoverability to false 10:18:53.261 [defaultEventExecutorGroup-4-1] INFO com.beowulfe.hap.impl.jmdns.JmdnsHomekitAdvertiser - Registering _hap._tcp.local. on port 9124 10:18:55.889 [defaultEventExecutorGroup-4-1] INFO com.beowulfe.hap.impl.http.HomekitClientConnection - 200 /pair-setup 10:18:56.111 [defaultEventExecutorGroup-4-1] INFO com.beowulfe.hap.impl.http.impl.AccessoryHandler - Terminated homekit connection from /<IP_ADDRESS>:49317 10:18:56.123 [nioEventLoopGroup-2-1] INFO io.netty.handler.logging.LoggingHandler - [id: 0x30dc7ed8, /0:0:0:0:0:0:0:0:9124] RECEIVED: [id: 0x0148198a, /<IP_ADDRESS>:49318 => /<IP_ADDRESS>:9124] 10:18:56.124 [defaultEventExecutorGroup-4-2] INFO com.beowulfe.hap.impl.http.impl.AccessoryHandler - New homekit connection from /<IP_ADDRESS>:49318 10:18:56.127 [defaultEventExecutorGroup-4-2] DEBUG com.beowulfe.hap.impl.pairing.PairVerificationManager - Starting pair verification for Test Lightbulb 10:18:56.135 [defaultEventExecutorGroup-4-2] INFO com.beowulfe.hap.impl.http.HomekitClientConnection - 200 /pair-verify 10:18:56.189 [defaultEventExecutorGroup-4-2] DEBUG com.beowulfe.hap.impl.pairing.PairVerificationManager - Completed pair verification for Test Lightbulb 10:18:56.190 [defaultEventExecutorGroup-4-2] INFO com.beowulfe.hap.impl.http.HomekitClientConnection - 200 /pair-verify 10:18:56.194 [defaultEventExecutorGroup-4-2] DEBUG io.netty.util.internal.JavassistTypeParameterMatcherGenerator - Generated: io.netty.util.internal.__matchers__.io.netty.buffer.ByteBufMatcher 10:18:56.230 [defaultEventExecutorGroup-4-2] INFO com.beowulfe.hap.impl.http.HomekitClientConnection - 200 /accessories
I had created by own Auth file and accessory, but I've reverted back to the standard Auth class and Mock Switch classes that came with the library and I still seem to be having the same issues.
I'm starting the server using;
HomekitServer homekit = new HomekitServer(PORT);  HomekitStandaloneAccessoryServer accessoryServer = homekit.createStandaloneAccessory(new MockAuthInfo2(), new MockSwitch()); accessoryServer.start();
My Java project is a MVN project in IntelliJ on a Mac.

Sorry, my fault. I was persisting the data to a JSON file, and the reason the accessory wasn't showing was because it had users registered in the JSON file.


cant cancel a dataset whose name starts with numbers

Reported by Ansley B Manke on 19 Dec 2002 22:10 UTC
yes? set data 12file.nc
yes? show data
yes? can data 12file
** ERROR: unknown data set
See xeq_cancel: uses TM_DIGIT on the filename, which checks the first
character of the name and sees it as a digit, tries to cancel dataset # 12.
Note that if the file were named 1file.nc, we'd cancel dataset #1, whether
that was the request or not.
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/487

Comment by<EMAIL_ADDRESS>on 7 Feb 2003 19:39 UTC
Fixed in  xeq_cancel.F, find_dset_number.F


migrate to manifest v3, update csrf-token extract for compatibility with v3 manifest changes

The webstore no longer allows uploads of v2 manifest extensions. The following changes are for v3 compatiblity, in particular it appears you can no longer easily inject a script into the host page from the content script, which breaks how the csrf token was being extracted.
The CSRF token is now extracted from the preparation entry web request instead of through the script workaround.

No worries! I'll make a build and submit for review tonight. I'll add the store link to the readme.


docs: update and fully flesh out init package

Description

Finally start documenting the injector
Update init package docs to better reflect new docs style
Consolidate init package reference material into single page, bring it out of FAQ

Checklist before merging

[x] Test, docs, adr added or updated as needed
[x] Contributor Guide Steps followed

Commenting the preview URL because netlify overwrites its comment when it cancels the build (due to no changes)
https://deploy-preview-2468--zarf-docs.netlify.app/


pip install pyflux==0.4.13 on mac os failed

I am running Anaconda distributed python 3 on mac and tried to pip install -U pyflux but failed.
Here is the failure info:
My-MacBook-Pro:~ yuanlinwu$ pip install -U pyflux
Collecting pyflux
Using cached pyflux-0.4.13.tar.gz
Requirement already up-to-date: numpy in ./anaconda3/lib/python3.5/site-packages (from pyflux)
Requirement already up-to-date: pandas in ./anaconda3/lib/python3.5/site-packages (from pyflux)
Requirement already up-to-date: scipy in ./anaconda3/lib/python3.5/site-packages (from pyflux)
Collecting numdifftools (from pyflux)
Downloading numdifftools-0.9.20-py2.py3-none-any.whl (3.2MB)
100% |████████████████████████████████| 3.2MB 108kB/s
Requirement already up-to-date: patsy in ./anaconda3/lib/python3.5/site-packages (from pyflux)
Collecting python-dateutil>=2 (from pandas->pyflux)
Downloading python_dateutil-2.6.0-py2.py3-none-any.whl (194kB)
100% |████████████████████████████████| 194kB 201kB/s
Collecting pytz>=2011k (from pandas->pyflux)
Downloading pytz-2016.10-py2.py3-none-any.whl (483kB)
100% |████████████████████████████████| 491kB 181kB/s
Collecting setuptools>=9.0 (from numdifftools->pyflux)
Downloading setuptools-32.3.1-py2.py3-none-any.whl (479kB)
100% |████████████████████████████████| 481kB 197kB/s
Requirement already up-to-date: algopy>=0.4 in ./anaconda3/lib/python3.5/site-packages (from numdifftools->pyflux)
Requirement already up-to-date: six in ./anaconda3/lib/python3.5/site-packages (from patsy->pyflux)
Building wheels for collected packages: pyflux
Running setup.py bdist_wheel for pyflux ... done
Stored in directory: /Users/yuanlinwu/Library/Caches/pip/wheels/e8/fa/52/266ee11592454972ee33d419e2fd746363be9c0ee17e6de25d
Successfully built pyflux
Installing collected packages: setuptools, numdifftools, pyflux, python-dateutil, pytz
Found existing installation: setuptools 27.2.0
Uninstalling setuptools-27.2.0:
Successfully uninstalled setuptools-27.2.0
Rolling back uninstall of setuptools
Exception:
Traceback (most recent call last):
File "/Users/yuanlinwu/anaconda3/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/init.py", line 2603, in get_entry_map
ep_map = self._ep_map
File "/Users/yuanlinwu/anaconda3/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/init.py", line 2574, in getattr
raise AttributeError(attr)
AttributeError: _ep_map
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/yuanlinwu/anaconda3/lib/python3.5/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/Users/yuanlinwu/anaconda3/lib/python3.5/site-packages/pip/commands/install.py", line 342, in run
prefix=options.prefix_path,
File "/Users/yuanlinwu/anaconda3/lib/python3.5/site-packages/pip/req/req_set.py", line 784, in install
**kwargs
File "/Users/yuanlinwu/anaconda3/lib/python3.5/site-packages/pip/req/req_install.py", line 851, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "/Users/yuanlinwu/anaconda3/lib/python3.5/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
isolated=self.isolated,
File "/Users/yuanlinwu/anaconda3/lib/python3.5/site-packages/pip/wheel.py", line 247, in move_wheel_files
prefix=prefix,
File "/Users/yuanlinwu/anaconda3/lib/python3.5/site-packages/pip/locations.py", line 140, in distutils_scheme
d = Distribution(dist_args)
File "/Users/yuanlinwu/anaconda3/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/setuptools/dist.py", line 316, in init
for ep in pkg_resources.iter_entry_points('distutils.setup_keywords'):
File "/Users/yuanlinwu/anaconda3/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/init.py", line 731, in iter_entry_points
entries = dist.get_entry_map(group)
File "/Users/yuanlinwu/anaconda3/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/init.py", line 2606, in get_entry_map
self._get_metadata('entry_points.txt'), self
File "/Users/yuanlinwu/anaconda3/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/init.py", line 2336, in parse_map
for group, lines in data:
File "/Users/yuanlinwu/anaconda3/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/init.py", line 2935, in split_sections
for line in yield_lines(s):
File "/Users/yuanlinwu/anaconda3/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/init.py", line 2202, in yield_lines
for ss in strs:
File "/Users/yuanlinwu/anaconda3/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/init.py", line 2531, in _get_metadata
if self.has_metadata(name):
File "/Users/yuanlinwu/anaconda3/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/init.py", line 1463, in has_metadata
return self.egg_info and self._has(self._fn(self.egg_info, name))
File "/Users/yuanlinwu/anaconda3/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/init.py", line 1823, in _has
return zip_path in self.zipinfo or zip_path in self._index()
File "/Users/yuanlinwu/anaconda3/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/init.py", line 1703, in zipinfo
return self._zip_manifests.load(self.loader.archive)
File "/Users/yuanlinwu/anaconda3/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/init.py", line 1643, in load
mtime = os.stat(path).st_mtime
FileNotFoundError: [Errno 2] No such file or directory: '/Users/yuanlinwu/anaconda3/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg'

It seems the bug is related to some changes on setuptools.
If I use "pip install pyflux==0.4.12", everything is OK.

Can you try again, think should be fixed now

Thanks you, @RJT1990 ! I can pip installed version 0.4.14 successfully now.


[system-probe] auto mount debugfs

What does this PR do?
🚧 Mount debugfs before starting system-probe agent starts. 🚧
cc: @DataDog/burrito @DataDog/agent-core  put it up for early feedback.
Motivation
Mount the directory at start to avoid having customer manually do it.
Additional Notes
The sys-kernel-debug.mount exists in many distribution of linux, but I put it here so we could bundle it in case they don't have it.

@olivielpeau So according to 'man systemd.unit`
UNIT FILE LOAD PATH
Unit files are loaded from a set of paths determined during compilation, described in the two tables below. Unit files found in directories listed earlier override files with the same name in directories lower in the list.
   Table 1.  Load path when running in system mode (--system).
   ┌────────────────────┬─────────────────────────────┐
   │Path                │ Description                 │
   ├────────────────────┼─────────────────────────────┤
   │/etc/systemd/system │ Local configuration         │
   ├────────────────────┼─────────────────────────────┤
   │/run/systemd/system │ Runtime units               │
   ├────────────────────┼─────────────────────────────┤
   │/lib/systemd/system │ Units of installed packages │
   └────────────────────┴─────────────────────────────┘

The /lib/systemd/system stores all files shipped from package managers, and all of them contains sys-kernel-debug.mount, so I think we don't even need that extra file.


PEP 541: Transfer ownership of wafw00f

I would like to take ownership of the PyPi package wafw00f which was originally registered by a contributor Akun (https://github.com/akun) on PyPi, who is not responding to my emails nor keeping the releases updated.

PyPi package: https://pypi.org/project/wafw00f/
PyPi maintainer: https://pypi.org/user/kun/ @akun
Github: https://github.com/EnableSecurity/wafw00f
Author: https://github.com/sandrogauci (me, owner of Enable Security)

The PyPi package is still at v0.9.5 released Jun 14, 2018 while we released v0.9.6 on Feb 20 and more recently v1.0.0 (9 days ago).
My PyPi (and Github) username is sandrogauci.

Yes, this needs to be resolved ASAP. There is a lot of activity on the repository on GitHub (high number of daily visits and clones), so I guess there are a lot of people using this tool.

I've also reached out to @akun at the email address we have on file for that account (which matches the email address published for the github profile).
To qualify as an abandoned project for PEP 541 purposes, the last release needs to be more than 12 months ago, and we're not quite there yet. The github account has no activity for this year, however.

Thanks for the update @jamadden .. yes we could wait for Jun 14 2019. I have emailed @akun myself but no responses were received either.

@sandrogauci @0xInfection @jamadden how to transfer it?

@sandrogauci I added your username sandrogauci in wafw00f's collaborator list

Thanks @akun ! I'm going to close this issue then


Font sometimes flashing

Some Example..
https://youtu.be/reztLS3vomE?t=708
https://developers.google.com/web/updates/2016/02/font-display
https://css-tricks.com/font-display-masses/

To my knowledge this doesn't work in combination with Google Fonts:
https://css-tricks.com/font-display-masses/#article-header-id-4

@LekoArts I don't know it seems to be working, lighthouse "Text is invisible while webfonts are loading" warning gone after this pull request :/

Mhh, let's merge it then ¯_(ツ)_/¯


Types issue

Hi, thank you for creating this library! I saw that you released v2 right as I was looking to integrate Auth0 & Electron.
I'm getting a type error when trying to call getToken() because I'm not passing in any arguments.
The library seems to be generating the following types for the auth object (This is the index.d.ts file in node_modules/electron-auth0-login/dist):
import { Config } from './types';
declare const _default: (config: Config) => {
    getToken: (input: unknown) => Promise<string>;
    isLoggedIn: (input: unknown) => boolean;
    login: (input: unknown) => Promise<string>;
    logout: (input: unknown) => Promise<void>;
};
export = _default;

Thanks for the report. I'll take a look at this later today (maybe tonight).

@ceremonious I've just pushed version 2.0.1, which should fix the types.

Thank you!

Let me know if you have any further issues


Faster block times (3s)

Closes #286
3s block times - upgrade article will include CosmosCache + setup + support to better handle request.

Lit

Bug in CometBFT seems to now actually allow overwriting Tendermint Config's :( so the upgrade is successful, but having issues overwriting the actual timeout now


Typos in README.md

The indefinite article, 'An' maybe redundant when used with the uncountable noun.
The sentence contains a series of three or more words, phrases, or clauses. Inserting a comma to separate the elements.
It appears that you are missing a comma after the introductory phrase.
It appears that the word Unix may be a proper noun in this context. Consider capitalizing the word.
It appears that you have improperly spaced some punctuation. Removing a space.

@googlebot I signed the CLA.

As the README details, MDL is no longer being developed. Check out Material Components for Web for the evolution of the project.


When '%' in my uri ，the marathon_exporter can't running.

When '%' in my uri ，the marathon_exporter can't running.
So , I fix the bug.

I tested with your branch, and even with your last commits, the scrapper does not authenticate properly when using the user/pass provided in the URI and can't fetch all metrics.
You can have a look at this PR, someone already did something similar: #16
Also, note that with fairly recent version of marathon, there's already a prometheus exporter and this node might not be needed anymore: https://mesosphere.github.io/marathon/docs/metrics.html

I tested with your branch, and even with your last commits, the scrapper does not authenticate properly when using the user/pass provided in the URI and can't fetch all metrics.
You can have a look at this PR, someone already did something similar: #16
Also, note that with fairly recent version of marathon, there's already a prometheus exporter and this node might not be needed anymore: https://mesosphere.github.io/marathon/docs/metrics.html

oh, I used  marathon v1.14.x ,it not have prometheus exporter URL path.
Are you build code's ?
I can run the binary file.


Update i/o for huge files

@joezuntz pointed out that RAIL will soon encounter a serious scaling issue if we load entire data files of photometry for any nontrivial sample of galaxies.  This issue can be closed when

[ ] rail.estimation.utils.load_data() provides an iterator to rail.estimation.Estimator.
[ ] rail.estimation.Estimator.pz_pdf is an iterator.
[ ] rail.estimation.Estimator.write_out() is moved to rail.estimation.utils.save_pz_pdf().

(This will also help with TXPipe compatibility when the time comes to extend rail.estimation.Estimator to a rail.summarization.Summarizer structure, for which a placeholder is being constructed for TXPipe development now.)

I was playing with a hacky version of an iterator in the issue/13/parallel_io branch.  It's messy and probably not final, but works.  I'll need to clean it up before we actually think about merging.

Is there a reason to move the write out function from within the class to utils?   It seems easier to have it in the superclass where the data lives, but I can move it outside of the class if that is needed.

Also, keeping the write out within the class would allow for easier custom write outs that override the generic superclass write_out, e.g. say we switch FlexZBoost to output basis coefficients instead of a redshift grid, or K nearest neighbor indices and their Mahalanobis distances, etc..., that can be done within a specific subclass write_out.

@sschmidt23 Thanks for working on this!
Re: write_out function, a couple weeks ago, @joezuntz pointed out that it would be better to separate it from the estimators themselves in terms of how TXPipe could call RAIL, so the file handling is outside the estimator class and can be modified independently.  It doesn't make a big difference for p(z) estimation, but it seems safer in the long run for when the RAIL p(z) estimator class may evolve into an n(z) summarizer wrapping infrastructure we have to write anyway for PZSummarize benchmarking.
I probably should have included links to the 3x2pt-related issues LSSTDESC/TXPipe/#99 and LSSTDESC/txpipe-reanalysis/#24 that motivated this issue.  tl;dr People are starting to write n(z) estimator back-ends and need an interim superclass structure in the context of TXPipe validation, and, if I recall correctly, the thought was that moving the i/o out of the estimator class would make it easier to eventually swap in an evolved version of the RAIL estimator when the time comes.  @joezuntz please correct me if I'm misremembering -- I want to jog my memory but can't seem to find where on GitHub the pseudocode you wrote on that call ended up.
In any case, in that context, it would actually be a feature rather than a bug to impose a uniform file write-out procedure because TXPipe will need to read in the files consistently regardless of the back-end.  But, that won't necessarily prevent the subclasses (for p(z) or n(z)) from writing out to their optimal parameterization because the i/o function at the other end (so an n(z) summarizer or TXPipe stage requiring n(z), respectively) can just run them through qp to make sure they're in its expected parameterization, which would be distinct from the format of the files that the current i/o functions focus on.
(Please speak up if this appears to make no sense!  It's been a sufficiently long day/week that all words feel like gibberish in my mouth.)

I think #16 closed this.


test-release: 0.0.2-0 in 'indigo/distribution.yaml' [bloom]

Increasing version of package(s) in repository test-release to 0.0.2-0:

upstream repository: https://github.com/tom8382/test.git
release repository: https://github.com/tom8382/test-release.git
distro file: indigo/distribution.yaml
bloom version: 0.5.20
previous version for package: null

I assume this was only a test and should not be merged?

yes, this is a test according to the sources.


Add fallback scheme for Raha deeplinks in invite page

it's a little too complicated to explain I think. I don't know if the
custom link is fully reliable either. I can't push this until tomorrow, can
someone merge and deploy for me?
On Mon, Sep 3, 2018, 2:08 PM Rahul Gupta-Iwasaki<EMAIL_ADDRESS>wrote:

@rahulgi approved this pull request.
In src/pages/AcceptInvite.tsx
https://github.com/rahafoundation/raha-web-app/pull/183#discussion_r214576603
:

     Apple and the Apple logo are trademarks of Apple Inc., registered in

     the U.S. and other countries and regions. App Store is a service mark

     of Apple Inc.

     <IntlMessage id="accept_invite_step2" />

       {httpsSchemeDeeplink}

   <IntlMessage id="accept_invite_step2_fallback" />

LGTM, but could we add a comment or something saying why the first link
might not work? Are https links less reliable? What if we just showed them
the second link?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rahafoundation/raha-web-app/pull/183#pullrequestreview-151660588,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPIBTiRgzDkBXyNOtJqHS3-5E52CRhGks5uXLk9gaJpZM4WW0No
.

Oh, I just mean a comment for internal consumption. I haven't been following the issues around https and custom schema deeplinking, so I think it would be useful to have that context when we revisit this.

I won't have access to my laptop today. I can make the change tomorrow but
if mark is going to invite more people today, please merge and deploy for
me and I'll follow up tomorrow.
On Mon, Sep 3, 2018, 2:14 PM Rahul Gupta-Iwasaki<EMAIL_ADDRESS>wrote:

Oh, I just mean a comment for internal consumption. I haven't been
following the issues around https and custom schema deeplinking, so I think
it would be useful to have that context when we revisit this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rahafoundation/raha-web-app/pull/183#issuecomment-418002119,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPIBaIypJp4V7HC7n7tX2nav5vvA2Qkks5uXLqdgaJpZM4WW0No
.

context is available in the Slack thread in dev-troubleshooting if you want
to know right away.
On Mon, Sep 3, 2018, 2:15 PM Tina Roh<EMAIL_ADDRESS>wrote:

I won't have access to my laptop today. I can make the change tomorrow but
if mark is going to invite more people today, please merge and deploy for
me and I'll follow up tomorrow.
On Mon, Sep 3, 2018, 2:14 PM Rahul Gupta-Iwasaki<EMAIL_ADDRESS>wrote:

Oh, I just mean a comment for internal consumption. I haven't been
following the issues around https and custom schema deeplinking, so I think
it would be useful to have that context when we revisit this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rahafoundation/raha-web-app/pull/183#issuecomment-418002119,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPIBaIypJp4V7HC7n7tX2nav5vvA2Qkks5uXLqdgaJpZM4WW0No
.


Add support for unbinding third-party IDs when they are removed from the user account

This is intended to be used with the on_add_user_third_party_identifier and on_remove_user_third_party_identifier module API callbacks added in https://github.com/matrix-org/synapse/pull/15044. That PR also deprecates on_threepid_bind, hence replacing it here.
Recommended to review commit-by-commit. Supercedes #2.
Note: CI is currently completely failing due to this PR requiring Synapse v1.79 (which is yet to be released). But it passes locally :)
Current status: I would like a review on this PR, but we can't merge it until Synapse v1.79 is released with the Module APIs that it requires.

obviously it's a bit lacking in reliability in that there's no retry mechanism etc, but that is probably fine most of the time and fine for a start.

Yeahhhh, I was cribbing off the other method's choice of:
# If there was an error, the IS is likely unreachable, so don't try again.

but we ought to revisit that in an issue - I can imagine there's probably cases where the IS is just overloaded and times out, and we should probably back off and retry a few times.
Additionally, since this method will block Synapse returning requests to the client while it runs, it would be nice to kick off the request to the IS asynchronously and not block Synapse.
...looks like I have some issues to write up.

That's fine, I was thinking more persistent retries to be honest, e.g. if the IS really is down, but (depending on use case) it'd probably be nice if it still sorted itself out eventually. But adding storage to the module sounds like a big chunk of work

Providing storage is actually pretty simple, as Synapse provides DB a run_db_interaction method to modules!
I've created a couple relevant issues:

https://github.com/matrix-org/synapse-bind-sydent/issues/5 (This module blocks Synapse while waiting for Sydent to respond to the bind/unbind request)
https://github.com/matrix-org/synapse-bind-sydent/issues/6 (There are no retries if a request to Sydent fails)

I temporarily modified the CI config in https://github.com/matrix-org/synapse/commit/e157c63f68ef93c0c25d2df0c63f7da0b30f95ca in order to test against the upcoming Synapse v1.79 release. CI passed on that commit, hence this PR should continue to pass CI (and can be merged) once Synapse v1.79 is released (due Tuesday, March 14 2023).

Synapse v1.79.0 has been released, and CI on this PR now passes. We're good to merge.


Recover lost withdrawals

Story
As a user whose incomplete withdrawal was lost due to network reset
I want a clear path to restore or complete that withdrawal
So that my funds are not irretrievably lost
Acceptance Criteria
If feasible:

[ ] Console automatically restores lost withdrawals to my list of withdrawals without any user input

If that is not feasible:

[ ] I can find instructions actions to restore one or more lost withdrawals, in a place I expect, e.g. around the withdrawals tab
[ ] Console acknowledges the possibility of lost withdrawals and explains why they happen

Or

[ ] Console provides a way to upload or paste in the signature bundle to execute the withdrawal completion

Tasks

[ ] Explore and sketch
[ ] Team and stakeholder review
[ ] Visual Design
[ ] Team review
[ ] Etc.

Sketch
Additional details / background info

@rebeccajsimmonds pointed out we already have a tutorial we could link to: https://docs.vega.xyz/mainnet/tutorials/assets-tokens/withdrawing-assets#complete-withdrawal-after-resetupgrade
If we implement https://github.com/vegaprotocol/frontend-monorepo/issues/3955, we could potentially accept an upload of the downloaded file as an input.

Same thing happened to me but thanks to Blackhathacker111 who helped me get recovered my lost funds,message him on telegram his telegram username is https://t.me/Blackhathacker110


metrics: make traffic metrics faster

Before, each r/w we lookup the metric and increment it.
Now, we look it up once and then just increment. The increment is just
Atomic.increment, which on x86 is the same as a simple add, which is
very fast (measured 1ns, but presumably its so fast benchmarking isn't
meaningful).
Since this is on the hot path, this is meaningful.
Given this, I don't think we will ever need to do
https://github.com/istio/ztunnel/pull/927#issuecomment-2060434505.
Also, addressed
https://github.com/istio/ztunnel/pull/927#discussion_r1569021128 and
cleaned up inbound which broke a function up into 2 which made things
more complex, not simpler.

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

test_ztunnel
4f4827e173f3de81c3d6da59ed64d459aabbb63a
link
true
/test test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

In response to a cherrypick label: #940 failed to apply on top of branch "release-1.22":
Applying: metrics: make traffic metrics faster
Using index info to reconstruct a base tree...
M	src/proxy/inbound.rs
M	src/proxy/inbound_passthrough.rs
M	src/proxy/outbound.rs
Falling back to patching base and 3-way merge...
Auto-merging src/proxy/outbound.rs
Auto-merging src/proxy/inbound_passthrough.rs
CONFLICT (content): Merge conflict in src/proxy/inbound_passthrough.rs
Auto-merging src/proxy/inbound.rs
CONFLICT (content): Merge conflict in src/proxy/inbound.rs
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 metrics: make traffic metrics faster
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to a cherrypick label: new issue created for failed cherrypick: #957


[INFRA] verify support float compare

Search before asking

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

Description
When a float type is present in the verifier module, an error will be reported.
Use case
actual.yaml
code: 200
message: success
data:
  - instanceName: provider1
    status: 2
    rate: 1.0

expected.yaml
code: 200
message: success
data:
{{- contains .data }}
  - instanceName: provider1
    status: 2
    rate: 1.0
{{- end }}

result:
ERROR failed to verify the output: /Users/ethan/github.com/skywalking/skywalking-infra-e2e/test/verify/0.actual.yaml, error:
mismatch (-want +got):
  map[interface{}]interface{}{
  	string("code"): int(200),
  	string("data"): []interface{}{
  		map[interface{}]interface{}{
  			string("instanceName"): string("provider1"),
- 			string("rate"):         int(1),
+ 			string("rate"):         float64(1),
  			string("status"):       int(2),
  		},
  	},
  	string("message"): string("success"),
  }

Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

Float is not accurate in many cases. It is better not doing this to avoid false alarm.


License

Could you please add a license to this project?
Some common licenses are explained here: https://choosealicense.com/
I would really love to use this in a project, but its currently not possible since this is technically "All Rights Reserved"

also a README file would be beneficial

This project is currently in development and unusable. The license is cc-zero.
I will add a read me and license once the project is released.
Are you a developer or a user out of curiosity?

I'm a dev

Are you planning on using the sync api for some sort of mod integration or looking to use the internals? Is there some other api I could provide?

We would wanna use it to create a modded Minecraft server network using Velocity and Fabric.
Our goal is to sync the PlayerData across some of our Fabric servers; some have to be not affected in our use case (e.g. Minigame servers) .
Also we are planning to use PostgreSQL to store all PlayerData so it would be very helpful if you could provide an option for that.
Thanks!

Sounds cool! I've been spending this week on SQLib, the database backend for this project. Postgres is in the works! Hopefully I'll have something to show for it soon  here


Create test data for Benchmarking Dataset

Dataset
https://github.com/ebi-ait/hca-ebi-wrangler-central/issues/718
Test Data
Test cell suspension as input to other cell suspension
Test combination of cell lines and specimens as the input cell suspension
https://docs.google.com/spreadsheets/d/1BTp6JPmefLpwCxZct0n7DmLwBLDOJFhkZMdNjTbFym0/edit#gid=570837779

Closing this ticket as the test data is already being tested (for a different dataset). The feature being tested is the same.


Investigate the use of git shallow clones (to build instead tarballs)

See original issue on GitLab
In GitLab by [Gitlab user @jjardon] on Feb 19, 2018, 18:08
Our use case:

We currently builds from tarballs
We'd like to build from git for several different reasons
Problem is that git repos can be much bigger than a simple tarball (for example, linux repo is ~2GB, 175MB with clone with --depth=1)

Downstream issue that depends on this: https://gitlab.com/freedesktop-sdk/freedesktop-sdk/issues/22

In GitLab by [Gitlab user @jjardon] on Feb 19, 2018, 18:08
changed the description

In GitLab by [Gitlab user @tristanvb] on Feb 19, 2018, 18:19
Note more context can be found in conversation here
My suggestion is to try to have the git plugin:

Default to shallow clone, if only fetch is ever needed, meaning the ref is always known

This means that the local source mirror needs to keep all the shallow clones it makes, because one local source cache is shared with every project the user uses, the cloned data would need to be namespaced by a leading directory, possibly named after the commit sha

In the case that bst track or bst workspace open is ever called (this can be known by the plugin already), make a full clone only then.

It's my assumption that this is better behavior in every case, even if occasionally a given git repo needs to be cloned a second time - this is under the assumption that a user is usually only interested in actually working on a few modules out of the 200 or 400 modules which make up the project.
This probably needs some more exploration and thought, but I think it's promising.

In GitLab by [Gitlab user @jjardon] on Apr 9, 2018, 20:15
FYI, flatpak-builder uses shallow clones by default, with an option to disactivate it:

http://docs.flatpak.org/en/latest/flatpak-builder-command-reference.html#idm140696437839552
https://github.com/flathub/org.gnome.Builder/blob/750639f7ddbaf0dc63dc43246b8e8351d57a0810/org.gnome.Builder.json#L786

In GitLab by [Gitlab user @toscalix] on May 29, 2018, 09:42
assigned to [Gitlab user @toscalix]

In GitLab by [Gitlab user @toscalix] on Jun 11, 2018, 09:41
[Gitlab user @jjardon] highlight this in the meeting as a need

In GitLab by [Gitlab user @tristanvb] on Jun 11, 2018, 18:31
It came up during the CAS conversation that we might be able to share the sources after extraction in CAS and share that with peers as an optimization.
If this is done, it will obviate the need for downloading the originating sources unless you are building a very old or very new version of something (because the sources will normally be available in an already unpacked form in a shared CAS).
I think we should ultimately close this issue, but let's leave it open until we know for sure that SourceCache sharing is going to be a "thing" and that it will adequately solve the pain points behind this issue.

In GitLab by [Gitlab user @jjardon] on Jun 11, 2018, 22:47
Not sure I'm missing something, but I think this issue will always apply:

For projects that do not have any dedicated infra at all
For the first time you download the sources even if you use a CAS cache server: download a complete git repo instead a tarball is going to always be more costly (linux repo is more than 2GB, while a tarball is less than 200MB)

In GitLab by [Gitlab user @sstriker] on Jun 12, 2018, 00:21
[Gitlab user @toscalix] can you clarify what "the meeting" refers to?

For projects that do not have any dedicated infra at all

[Gitlab user @jjardon], including an ArtifactCache?  Because if so, the CAS backend would also be used by the SourceCache.

For the first time you download the sources even if you use a CAS cache server: download a complete git repo instead a tarball is going to always be more costly (linux repo is more than 2GB, while a tarball is less than 200MB)

CAS would only contain the staged sources.  Not the full git history.  That is, once #376 is addressed.

In GitLab by [Gitlab user @toscalix] on Jun 12, 2018, 08:10
[Gitlab user @sstriker] a meeting we held on Monday to process some of the bugs and requests already opened by freedesktop-sdk in this buildstream issue tracker.

In GitLab by [Gitlab user @jjardon] on Jun 21, 2018, 09:32
[Gitlab user @sstriker] not sure what you mean by ArtifactCache or SourceCache

CAS would only contain the staged sources.  Not the full git history.  That is, once #376 is addressed.

I guess you mean the internal buildstream cache here? That is fine, still the first time you download the sources for a given repo you will download a lot more stuff (as I said before, from ~2GB to ~150MB in case of the linux kernel)

In GitLab by [Gitlab user @sstriker] on Jun 22, 2018, 15:06
[Gitlab user @jjardon] I mean a shared CAS backed cache.  The idea would be that if anyone has fetched a certain version of a source, it would be stored in CAS.  The next person that comes along picks up the minimal copy from CAS (SourceCache) rather than from the original source location.
Now that said, I think [Gitlab user @tristanvb]'s suggestion, with a configuration option to always fetch full history, is still valid.

In GitLab by [Gitlab user @tristanvb] on Jun 23, 2018, 03:27
Right, this is still a valid enhancement - it was tempting to think that this could be obsoleted by way of sharing a SourceCache, but [Gitlab user @jjardon] makes valid points that this would still be otherwise useful, especially for a bare, infra-less use case.

In GitLab by [Gitlab user @toscalix] on Jun 24, 2018, 14:52
unassigned [Gitlab user @toscalix]

In GitLab by [Gitlab user @jjardon] on Jul 13, 2018, 19:01
changed the description

In GitLab by [Gitlab user @toscalix] on Oct 4, 2018, 10:28
marked this issue as related to freedesktop-sdk/freedesktop-sdk#22

In GitLab by [Gitlab user @toscalix] on Nov 1, 2018, 09:14
marked this issue as related to #487

In GitLab by [Gitlab user @coldtom] on Nov 22, 2018, 22:07
I've recently been hitting an issue with this while trying to build numpy (and indeed many other large git repos) with BuildStream. On poor internet connections I get the following error from git:
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

Looking into it first led me to believe it was due to my git buffer size or a lack of memory, but I get the same issue on multiple machines, both with plenty of memory available. It seems this can also be caused by trying to clone a large repo all at once on poor internet connection, which seems to be likely in my case.
Edit:
I have locally modified the git_tag plugin to use shallow clones and then fetch tags, which should work reasonably reliably in its expected use case. This change still hasn't fully solved my issue, with Fetch jobs taking a few retries, but it works as a temporary fix.

In GitLab by [Gitlab user @jjardon] on Dec 4, 2018, 16:29
[Gitlab user @valentindavid] FWIW, that restriction is fine by me

In GitLab by [Gitlab user @valentindavid] on Dec 5, 2018, 10:50
mentioned in commit e33b906473142b1617cbac5d98cd51003cae835a

In GitLab by [Gitlab user @valentindavid] on Dec 5, 2018, 10:51
mentioned in merge request !989

In GitLab by [Gitlab user @valentindavid] on Dec 5, 2018, 11:37
mentioned in commit 11908d3a437eecee053537c15fe8c5d46acff244

In GitLab by [Gitlab user @valentindavid] on Dec 5, 2018, 11:52
mentioned in commit f82aa5833409ba93c68b6be8ffceebd1b2123d83

In GitLab by [Gitlab user @valentindavid] on Dec 5, 2018, 12:10
mentioned in commit aad0b5afdf2d44b04e9cbfba8e603051269ed517

In GitLab by [Gitlab user @valentindavid] on Dec 5, 2018, 17:44
mentioned in commit 535b9eaee5a4bb7cc6eff116660682d1951c44f9

In GitLab by [Gitlab user @valentindavid] on Dec 5, 2018, 23:11
mentioned in commit cc0d0652071e43bd7abd39494d9cf38892409f17

In GitLab by [Gitlab user @valentindavid] on Dec 13, 2018, 11:43
mentioned in commit d39d4c34bf106469f94b7c01cf5639c42d6358eb

In GitLab by [Gitlab user @valentindavid] on Dec 14, 2018, 11:24
mentioned in commit 540cb67002a1968a92a030cc1cfcdf0e6d8d9b56

In GitLab by [Gitlab user @valentindavid] on Dec 14, 2018, 12:18
mentioned in commit 1daabc1ff6fbbe2297b99bdf775f6e5049ff93bc

In GitLab by [Gitlab user @valentindavid] on Dec 17, 2018, 08:39
mentioned in commit eb688bbf538f37a8ce57309e60e8075e39ff2732

In GitLab by [Gitlab user @valentindavid] on Dec 17, 2018, 09:36
mentioned in commit be7939e6b48ced2dd1294a2c07ebf2b5eb2ac40a

In GitLab by [Gitlab user @valentindavid] on Dec 17, 2018, 09:38
mentioned in commit 052c4c3d4714f45577500db1a2a5ab6dbe34d1a2

In GitLab by [Gitlab user @valentindavid] on Dec 17, 2018, 09:39
mentioned in commit 9d177a7153d7b69e081fa21c347b3b62b920d64d

In GitLab by [Gitlab user @valentindavid] on Jan 2, 2019, 13:28
mentioned in commit b94ef769094bc0bcff6872351adf02fa3c9da4ec

In GitLab by [Gitlab user @valentindavid] on Jan 15, 2019, 23:44
mentioned in commit c28ad50e5dc9b71fb540b2864575954eecde427b

In GitLab by [Gitlab user @valentindavid] on Feb 13, 2019, 09:57
mentioned in commit 58ba6794d6c342e7622ef93c6cd65b8888481352

In GitLab by [Gitlab user @valentindavid] on May 13, 2019, 12:26
mentioned in commit 89bb08bdf79ad8bd818290ce971f85606ac28cc2

In GitLab by [Gitlab user @valentindavid] on May 14, 2019, 10:50
mentioned in commit e1db520ae71444c6c09b673c2dcd07dc8d00b30d

In GitLab by [Gitlab user @valentindavid] on May 14, 2019, 12:07
mentioned in commit 6317deb0612e22608e6b366504cb0ca19ddd92d1

NOTE: This should be moved to a separate repo once git is removed from the core plugins.

The git source in buildstream-plugins does shallow clones (at bst source fetch time and consequently at bst build time), if host git is >= 1.9.0 which is when shallow clones were introduced as a feature in git.
Lets close this.


Remove the use of std::span.

This PR switches from std::span to raw array iteration. This change is necessary because swift-ci's C++ stdlib is somewhat older and does not include this type when building on Linux. See: https://ci.swift.org/job/swift-package-manager-self-hosted-Linux-smoke-test/2992/consoleText

@swift-ci please test


Fix br

fixes:
uncaught (in promise) Error: br is a void element tag and must neither have children nor use dangerouslySetInnerHTML. Check the render method of EntryMarkdownView.

This is a wrong PR problem was in another lib


Building an installation script for picframe setup

I am building a script to include all the necessary steps to get picframe up and running. (Thanks Helge and Paddy!)
The script would reboot where necessary, remembering the next step in the installation sequence.
Everything works.... except I cannot get picframe -i /home/pi/ to run. That means, it runs, doesn't report any errors but doesn't do what it's supposed to do.
This is the header of script to manage the installation sequence.
#!/bin/bash

# Path to store progress and log file
PROGRESS_FILE="/home/pi/install_progress.txt"
LOG_FILE="/home/pi/install_log.txt"
SERVICE_NAME="install_script_service"

# Function to log messages
log_message() {
    echo "$1" | tee -a "$LOG_FILE"
}

# Function to update progress
update_progress() {
    echo "$1" > "$PROGRESS_FILE"
}

# Function to get the last completed step
get_last_completed_step() {
    if [ -f "$PROGRESS_FILE" ]; then
        cat "$PROGRESS_FILE"
    else
        echo "0"
    fi
}

# Function to add a systemd service to resume the script after reboot
add_systemd_service() {
    local script_path=$(realpath "$0")
    SERVICE_FILE="/etc/systemd/system/$SERVICE_NAME.service"
    sudo tee "$SERVICE_FILE" > /dev/null <<EOL
[Unit]
Description=Resume install script after reboot

[Service]
ExecStart=$script_path
Type=oneshot
RemainAfterExit=true

[Install]
WantedBy=multi-user.target
EOL
    sudo systemctl enable $SERVICE_NAME
    log_message "Added systemd service for reboot resume."
}

# Function to remove the systemd service after completion
remove_systemd_service() {
    sudo systemctl disable $SERVICE_NAME
    sudo rm /etc/systemd/system/$SERVICE_NAME.service
    log_message "Removed systemd service after completion."
}

# Function to reboot and resume
reboot_and_resume() {
    add_systemd_service
    update_progress "$1"
    log_message "Rebooting to complete the installation. The script will continue after reboot."
    sudo reboot
    exit 0
}

Then I have all the various parts like
# Main install script

# Get the last completed step
LAST_COMPLETED_STEP=$(get_last_completed_step)

# Step 1: Update the system (if not already done)
if [ "$LAST_COMPLETED_STEP" -lt 1 ]; then
    log_message "Step 1: Updating system..."
    sudo apt-get update && sudo apt upgrade -y
    reboot_and_resume 1
fi

Samba is Step 2 followed by:
# Step 3: Install additional packages
if [ "$LAST_COMPLETED_STEP" -lt 3 ]; then
    log_message "Step 3: Installing additional packages (xwayland, labwc, wlr-randr, etc.)..."
    sudo apt-get install git libsdl2-dev xwayland labwc wlr-randr -y
    reboot_and_resume 3
fi

# Step 4: Update raspi-config settings and reboot
if [ "$LAST_COMPLETED_STEP" -lt 4 ]; then
    log_message "Step 4: Configuring raspi-config settings for boot..."
    sudo raspi-config nonint do_boot_behaviour B2
    reboot_and_resume 4
fi

# Step 5: Set up virtual environment and install Picframe
if [ "$LAST_COMPLETED_STEP" -lt 5 ]; then
    log_message "Step 5: Setting up virtual environment and installing Picframe..."
    mkdir venv_picframe
    python -m venv /home/pi/venv_picframe
    source venv_picframe/bin/activate
    pip install picframe
    # Initialize Picframe and confirm default directories
    if (echo -e "\n\n\n" | picframe -i /home/pi/); then
        log_message "Picframe initialized with default directories."
    else
        log_message "Error: Failed to initialize Picframe."
        exit 1
    fi
    update_progress 5
    log_message "Picframe installation and initialization completed."
fi

I also added the autostart features in Steps 6-8 and all works fine, except for
picframe -i /home/pi/ .
I tried so many things but couldn't come up with a solution.
Surely, there are brighter heads here than me.

Interestingly, it works fine when I put step 5 in a separate script.

Problem solved. The script installed as sudo, not a user pi.

Saves a bit of time: https://www.thedigitalpictureframe.com/the-six-minute-install-script-for-the-pi3d-pictureframe-software-for-your-raspberry-pi/

@sapnho this looks really comprehensive and easy to use, I'm looking forward to trying it out.
PS after a quick glance I just noticed you suggest installing a big, complex java application to check for IP addresses on your local network (for someone not used to logging into their router). You can do something fairly simple with nslookup i.e.
import subprocess
for i in range(1, 255):
    try:
        print(subprocess.check_output(['nslookup', f'192.168.1.{i}']))
    except:
        pass

Hi @paddywwoof, the check_ip script is a neat idea. It probably makes sense to run it as the first step before a reboot, then the output is given in the Terminal. Will do a few checks. Thanks!
The script now runs fine on Pi 3-5. I had a few issues with the script being unreliable, which were due to the network not being available when the command started executing. Raspi-config used to have an option to wait for the network at boot, but that seems to be gone. So now I use a simple function to check for Google.
The other issue was using the correct permissions for certain commands, but that is solved.
It's quite a time saver, especially when you do so many reinstalls for testing on different Pi models as I do.

Hi @sapnho, you just need to run the script on your PC/Mac while the Rasbperry Pi has booted and done all its initial configuration, at which point it should be on the local network. nslookup seems to be a terminal command in linux, macOS and windows, so it should work on any of them.

It just found that arp -a  gives you a full list, making it even simpler. Could you check if it runs on your device?
I already updated the article accordingly.
Thanks for the idea!

Hi, I don't have arp available on this ubuntu laptop but I can install it with sudo apt install net-tools. When I run arp -a it just lists the router on this network as that seems to be the only 'host' (no RPi here!). Presumably if other devices on this network were running server type applications then they would show up. I've not tried running it with windows OS but I think it's available by default.
Paddy

Local IP address. What about hostname -I? That returns expected results on my pi4s as well as a Linux Mint installation.

Yes, but for that you already need to be connected to the Raspberry Pi.

Ah, of course. I obviously didn't pay enough attention to this conversation. Sorry for the noise... :)

@jgodfrey, I wrote the same answer you gave to Paddy as well... :-)

Hi, I don't have arp available on this ubuntu laptop but I can install it with sudo apt install net-tools. When I run arp -a it just lists the router on this network as that seems to be the only 'host' (no RPi here!). Presumably if other devices on this network were running server type applications (such as SSH server) then they would show up. I've not tried running it with windows OS but I think it's available by default.
Paddy

Hmm, so it works on a Mac. More digging needed. Ideally, I would like to avoid a script because it adds complexity.

Hi, I don't have arp available on this ubuntu laptop but I can install it with sudo apt install net-tools. When I run arp -a it just lists the router on this network as that seems to be the only 'host' (no RPi here!). Presumably if other devices on this network were running server type applications (such as SSH server) then they would show up. I've not tried running it with windows OS but I think it's available by default.
Paddy

Could you try ip neigh on your Ubuntu system?

If there is someone here on a Windows system, could you try if arp -a  works in Terminal? Thanks!

arp -a works under Win11 Pro...

Though, I will say that on my Linux Mint laptop, while arp -a returns a number of network devices, there are a lot of devices not shown - including my picture frame. Not sure why that is as I'm not really familiar with the details of arp.

Strange that it doesn't work on Linux. I commented on that in my instructions. But the Linux guys don't need me to tell them how to find an IP address anyway.. :-)

ip neigh gives the same address as arp -a i.e. just the router. I get that running ip or arp on windows 11 too, but there is only an IP address and MAC number - no device name.
Probably agree that you don't need too much details for folk doing all this from a linux machine. Also odd about the pictureframe not showing on linux mint laptop!

@helgeerbe, I guess we can close this thread.

I wanted to comment saying that I read thedigitalpictureframe.com post and was a bit uncomfortable with the requirement that one has to autologin to start the picframe on rpi boot.  (I disabled USB so people can't just plug in a keyboard/mouse, but still, logging in shouldn't be needed).  So in the install script you can just completely not run Step 4 (or set raspi-config to boot to console without login).
Before wayland you could just enable linger and start xinit as a user service with picframe as the command.  But labwc won't start without a tty (and it's surprisingly difficult to mimc the Xwrap options to only give a non-root user access to start with a tty but not allow them to read any tty). So, you can't use a user systemd service and have to use a root systemd service with a User= option to have it change to that user after start.  Then labwc will start.
Also I didn't want to depend on labwc config files in the user's home directory because by default it merges the system configs, so to get around that you can start labwc with the config directory option (and have the files in there with does not pull in the system configs).  And one can use the session (-S) option to avoid creating the startup .sh file and have labwc exit when picframe exits.


use pointcloud msg wrapper in scan ground filter

Description

use pointcloud msg wrapper instead of pcl

Review Procedure

Remarks

Pre-Review Checklist for the PR Author
PR Author should check the checkboxes below when creating the PR.

[ ] Read pull request guidelines
[ ] Code follows coding guidelines
[ ] Assign PR to reviewer

Checklist for the PR Reviewer
Reviewers should check the checkboxes below before approval.

[ ] Commits are properly organized and messages are according to the guideline
[ ] Code follows coding guidelines
[ ] (Optional) Unit tests have been written for new behavior
[ ] PR title describes the changes

Post-Review Checklist for the PR Author
PR Author should check the checkboxes below before merging.

[ ] All open points are addressed and tracked via issues or tickets
[ ] Write release notes

CI Checks

Build and test for PR / build-and-test-pr: Required to pass before the merge.
Build and test for PR / clang-tidy-pr: NOT required to pass before the merge. It is up to the reviewer(s). Found false positives? See the guidelines.
Check spelling: NOT required to pass before the merge. It is up to the reviewer(s). See here if you want to add some words to the spell check dictionary.

@yukke42 :+1:
Please give us the results of CPU load before and after the change.

with pcl      : average rate: 7.087 min: 0.028s max: 0.285s std dev: 0.05503s window: 100
without pcl : average rate: 6.758 min: 0.027s max: 0.292s std dev: 0.05921s window: 100
Loads and Stores are increased...?
with pcl

without pcl

@yukke42 can you change draft to PR?


account.get_balance includes spent UTXO's in balance calculation after IFE

To reproduce:

Bob has 0 funds on the childchain
Alice sends childchain transaction to Bob
Bob starts an inflight exit and piggybacks his output
Bob waits for challenge period and processes his exit
Bob has no more UTXOs, as confirmed by account.get_exitable_utxos
Bob calls account.get_balance to confirm his childchain balance is 0.
account.get_balance includes the the utxo just exited.

The expected behavior of the balance returning 0 is observed after a standard exit, but not after an IFE.
As a user I want to call account.get_balance to see my childchain balance, and not have spent utxos as part of that balance

Thank you for the report!
Yes, the support for IFEs from a "usability standpoint" is incomplete and we should fix it and make consistent with SEs.
(The incompleteness is slightly related to the fact, that an IFE is started in some form of a byzantine condition, whereby the user should not spend on the child chain anymore. But I agree the behavior should be consistent and clean regardless.)
I'd even say that both account.get_utxos (and account.get_balance) and account.get_exitable_utxos should behave on par in terms that they stop showing UTXOs that start exiting, whereas account.get_exitable_utxos requires the exit to be processed.

@pdobacz can you confirm whether your last comment will get implemented? that account.get_exitable_utxos will stop showing UTXOS that have 'started' exiting?

@nicholasmueller
Maybe without delving into that comment, let's reiterate that:
Current
get_utxos should not return UTXOs:

which started a standard exit
get_exitable_utxos should not return UTXOs:
which exited successfully (processed exit) via standard or in-flight exit

Fixed
(my guess at least, depending on product's requirements and your requirements):
get_utxos and get_exitable_utxos should not return UTXOs:

which started a standard exit
which are inputs to a started IFE transaction
which are piggybacked outputs to a started IFE transaction

All of course subject to any finality margin (currently 12 eth blocks) one uses when ingesting events.
But let's give this proposition a round of review with @Pongch @kevsul @jrhite. I'm not sure whether one wouldn't like to see a UTXO that started an exit flagged as such instead. Possibly in one of those endpoints. I think there are discussions on this topic going on right now.


Replace barcode with QR code

@MancunianSam @techncl Just to check - are the design team happy with this change? Just wondering because I'd have thought "barcode" would be more generally understood.

@MancunianSam @techncl Just to check - are the design team happy with this change? Just wondering because I'd have thought "barcode" would be more generally understood.

@suzannehamilton I think so, we had a brief convo on Jira about it and it seemed fine.


Feature request: Simplify pods security hardenings

Because of history and unwillingness to implement needed breaking change Docker and Kubernetes still defaults to root user and not to mention other security hardening which with most of the modern application would be able to work just fine.
Based on my experience most of the applications works just fine with security context like this:
securityContext:
  allowPrivilegeEscalation: false
  capabilities:
    drop:
    - ALL
  runAsGroup: 65534
  runAsNonRoot: true
  runAsUser: 65534
  seccompProfile:
    type: RuntimeDefault

which with they can run on namespace where restricted Pod Security Policy is enforced.
That why it would be nice to have just one setting which can be enabled for Acorn app which will add that security context to deployment and pod-security.kubernetes.io/enforce: restricted label to namespace which it creates.

In additionally I have noticed many apps also works even with readOnlyRootFilesystem: true as long tmpfs is mounted to /tmp meaning something like this on deployment yaml
    volumeMounts:
    - name: tmpfs
      mountPath: /tmp
  volumes:
  - name: tmpfs
    emptyDir:
      sizeLimit: 100Mi

and because it is recommended in NSA: Kubernetes Hardening Guide it would be nice to have setting for it too.

As it stands right now all  apps are ran in namespaces that have the baseline profile set (pod-security.kubernetes.io/enforce=baseline).  If you wish to switch to the restricted profile do acorn install --pod-security-enforce-profile=restricted.  Right now the profile is a global setting. We are open to make that more configurable but it requires careful design to ensure it's done securely per namespace, app, etc.  So right now we leave it as a global administrator level setting.
Going beyond the standard profiles is a bit difficult.  We don't want to limit the amount of users that can use this so doing anything more than baseline profile by default will have a negative effect. What I do think is possible is to do some framework that allows one to configure basically a pod template that will be applied.

If you wish to switch to the restricted profile do acorn install --pod-security-enforce-profile=restricted. Right now the profile is a global setting.

That is already nice feature. However with that profile Acorn should switch to non-root and drop ALL capabilities as those are things which were Kubernetes defaults does not match with restricted policy.
I mean example docker run -it -u nobody:nogroup --cap-drop=ALL mcr.microsoft.com/dotnet/samples:aspnetapp runs just fine but
containers: {
 web: {
  image: "mcr.microsoft.com/dotnet/samples:aspnetapp"
  ports: publish: "80/http"
 }
}

does not because that image defaults to root and even Microsoft is not willing to change that default (yes, I tried on https://github.com/dotnet/dotnet-docker/pull/3139 )

@olljanat Docker allows non-root to bind to <1024 ports.  I'm not sure k8s does that by default, I have to look into it.

k8s does not, k3s does starting on v1.24.2+k3s1 as I managed to get it included https://github.com/k3s-io/k3s/pull/5538

need to discuss with @ibuildthecloud to see what we want to do here

I just thought I'd add, I can't get anything to actually run with the restricted profile. The Deployments generated by acorn do not meet the requirements so you get this kind of thing in the replicaset events and no Pods:
  Warning  FailedCreate  40s               replicaset-controller  Error creating: pods "web-5759d85644-6pnr2" is forbidden: violates PodSecurity "restricted:latest": allowPrivilegeEscalation != false (container "web" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container "web" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or container "web" must set securityContext.runAsNonRoot=true), seccompProfile (pod or container "web" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")
  Warning  FailedCreate  1s (x5 over 39s)  replicaset-controller  (combined from similar events): Error creating: pods "web-5759d85644-mqjwg" is forbidden: violates PodSecurity "restricted:latest": allowPrivilegeEscalation != false (container "web" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container "web" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or container "web" must set securityContext.runAsNonRoot=true), seccompProfile (pod or container "web" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")

I'm not sure if there is a trick I'm missing here to change some config in my Acornfile to make it comply...


Replay Tests: Test support for Record & Replay

Contains
Testing support to Record & Replay through the creation of a new type of test: Replay Tests. It is now possible to write asserts to check game states while a replay is playing. There is also an example test and a template to help in the creation of Replay Tests. For more information, check https://github.com/MovingBlocks/Terasology/wiki/Replay-Tests
How to test
Run one of the tests in ExampleReplayTest or follow the tutorial in the new wiki page about Replay Tests to create your own replay test.
Outstanding before merging

[ ] Since replay tests are "headed" they cannot be run by Jenkins, so it is important that the annotation "@Ignore" is present in every replay test.
[ ] It is known that selecting more than one replay test to run causes issues in the tests that come after the first one, which causes the second test to not run.

Hooray Jenkins reported success with all tests good!

I messed some things up related to git, so I recreated this PR: https://github.com/MovingBlocks/Terasology/pull/3438


Cross browser tests

Fixes the big blocker for running tests in Firefox and Safari. This is an error from usage of ResizeObserver in media-chrome. For whatever reason, Firefox and Safari throw an error around the loop limit being exceeded. Currently having those errors ignored in player.test.js.
Enabled running tests in firefox and webkit via playwright. Can be done by running yarn test --all.
TODO, in no particular order:

[ ] setup tests on CI with playwright https://modern-web.dev/docs/test-runner/browser-launchers/playwright/#using-with-github-actions
[x] fix outstanding tests in safari

running all 3 via playwright takes ~60s, compared to ~25 in just default chrome. It'll likely improve when the tests are fixed because there were a bunch of timeout errors.

awesome!
60s is not too bad
maybe something can also be done with Turborepo, I don't think we use the cache properly yet in GH actions

turborepo could be used to reduce the overall build time on CI, but probably not the test times themselves. The 60s is from running time yarn test --all. I think once the tests are fixed it'll be less since a bunch of the tests timed out. Since I have it set up to run the browsers in parallel, it should be as fast as the slowest browser. On CI, we could even potentially set it up in a matrix to run each browser in a separate build.

With the fixed tests, they now run in ~30s, so, only about 5 seconds slower for all 3 browsers!

Also, can run in specific browsers with playwright, via the built-in flags like yarn test --playwright --browsers webkit chromium

It also works with --watch flag.