Occasionally, an error occurs when using walrus get-wal to exchange SUI for WAL.

What happened?
success
walrus 1.0.1-4ee494150c61
https://github.com/zktx-io/walrus-sites-ga-example/actions/runs/11492671138/job/31987113256#step:6:191
https://suiscan.xyz/testnet/tx/9WHC9LCB2fRgcQbLUM4CLTaCqyvtKYXmKy4HT2S766kj
error 1
walrus 1.0.1-4ee494150c61
https://github.com/zktx-io/walrus-sites-ga-example/actions/runs/11492472863/job/31986597864#step:6:192

https://suiscan.xyz/testnet/tx/A491zFsznnv2ypThFAkvjJWREuekmbYm1rF9BH7n3863 (but success)
error 2
https://github.com/zktx-io/walrus-sites-ga-example/actions/runs/11493420070/job/31993531890#step:6:194

https://suiscan.xyz/testnet/tx/ByA5ZmTvCzFrvRfngX5KA6PDAL6oFsqr3Y53yVL7M7KE (failure)
abort
https://github.com/zktx-io/walrus-sites-ga-example/actions/runs/11493420070/job/31993265133#step:6:191

https://suiscan.xyz/testnet/tx/7cHYNesnoVXYz3NQFfR5g1ZCnBKSo19XCRjEJf7VaqcM
Search terms
/issues?q=get-wal
Steps to reproduce
https://github.com/zktx-io/walrus-sites-ga-example/actions/runs/11492472863/job/31986597864#step:6:192
Deviation steps
No response
Relevant log output
No response
Version

[X] walrus and site-builder are up to date.

If applicable, what browsers are you seeing the problem on?
No response
Code of Conduct

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

Hello @daoauth . The problem may have arisen because the contract providing the WAL exchange ran out of coin, due to some heavy bot action. Should be fine now. Can you confirm?

Hello @daoauth . The problem may have arisen because the contract providing the WAL exchange ran out of coin, due to some heavy bot action. Should be fine now. Can you confirm?

I understand in which situations this occurs. However, is the reason why the Walrus CLI returns a failure even after a successful exchange the same as well?
error 1
walrus 1.0.1-4ee494150c61
https://github.com/zktx-io/walrus-sites-ga-example/actions/runs/11492472863/job/31986597864#step:6:192

https://suiscan.xyz/testnet/tx/A491zFsznnv2ypThFAkvjJWREuekmbYm1rF9BH7n3863 (but success)

https://suiscan.xyz/testnet/tx/A491zFsznnv2ypThFAkvjJWREuekmbYm1rF9BH7n3863 (but success)

I don't see any received wal here, so does not look like a success?

Ok. Thanks. Unfortunately all this bot activity is limiting legitimate use cases!


Installation and usage Guide.

Codecov Report

Merging #94 (940d38e) into dev (a63bad2) will increase coverage by 100.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           dev       #94        +/-   ##
==========================================
+ Coverage     0   100.00%   +100.00%
==========================================
  Files        0         5         +5
  Lines        0       388       +388
==========================================
+ Hits         0       388       +388

Impacted Files
Coverage Δ

...r.Blazor/Extensions/ServiceCollectionExtensions.cs
100.00% <0.00%> (ø)

...Blazor/Cropper.Blazor/Extensions/EnumExtensions.cs
100.00% <0.00%> (ø)

...r/Cropper.Blazor/Components/CropperComponent.razor
100.00% <0.00%> (ø)

...ropper.Blazor/Components/CropperComponent.razor.cs
100.00% <0.00%> (ø)

...Blazor/Cropper.Blazor/Services/CropperJsInterop.cs
100.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Error when running a policy simulation

Open any VM, click on Policy -> Policy Simulation!

blocks to test some tables in #1890

Now it's working...I'm closing this issue!


Add kind demo deployment

Signed-off-by: Nikolay Nikolaev<EMAIL_ADDRESS>PR Details
Add kind deployment folder for easier demonstration of Kuma.
Description
A script to implement a step by step deployment of Kuma and the Demo.
Motivation and Context
Provide a lightweight deployment option for exploring Kuma.
Full changelog

Adds the kind folder with the script and the kind cluster configuration

please update the master README to include kind


Hardware/Embedded section

Before submitting a bunch of PRs under "librarry, it's probably worth considering adding for hardware. Or should these go under Framework? Here's the relevant ones of the top of my head:

https://github.com/apache/mynewt-nimble
https://github.com/arduino-libraries/ArduinoBLE
https://docs.zephyrproject.org/latest/connectivity/bluetooth/index.html
https://docs.micropython.org/en/latest/library/bluetooth.html
Proprietary stacks like BlueKitchen & Packetcraft

Also, Nordic's nRF Connect SDK was mentioned. But many vendors have their own stacks SiLabs, Renesas, etc. Novelbits has a good list, albeit outdated.

Good call @beriberikix I think we can consider creating new section like we did for Android or iOS and under there start listing the libs, sdks, etc. So it's way easier to read. At least for the one that provide both hardware and software.
For the remaining probably worth list them under platforms or frameworks, not sure which fits better, wdyt?

I started tweaking the list and introducing new section for specific hardware related libs
https://github.com/dotintent/awesome-ble/blob/main/README.md


Added if statement to check if error is nil

I missed to add the if statement in the code so we always print the default case.

@hectorj2f snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1480-1

Codecov Report

Merging #1480 into master will decrease coverage by 0.16%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #1480      +/-   ##
==========================================
- Coverage   60.52%   60.35%   -0.17%
==========================================
  Files         118      118
  Lines       11123    11124       +1
==========================================
- Hits         6732     6714      -18
- Misses       3748     3765      +17
- Partials      643      645       +2

Impacted Files
Coverage Δ

migration/migration.go
54.5% <0%> (-1.01%)
:arrow_down:

remoteworkitem/github.go
77.14% <0%> (-22.86%)
:arrow_down:

models/transaction.go
50% <0%> (-20%)
:arrow_down:

remoteworkitem/scheduler.go
53.65% <0%> (-9.76%)
:arrow_down:

Continue to review full report at Codecov.

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

[test]


fix: Allow object types for updating a document

Describe your changes

Allows setting embedded documents and arrays in update fields

const updatedPublisher: Publisher = {
    totalPublished: 24,
    name: "Urban books"
}

const publisherUpdate: UpdateFields<Books> = {
    $set: {
        publisher: updatedPublisher
    }
}

const categoryUpdate: UpdateFields<Books> = {
    $set: {
        categories: ["classic", "literature"]
    }
}

How best to test these changes

Unit tests

Issue ticket number and link
closes #271

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (7fa6b30) 89.85% compared to head (113e11b) 89.85%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #278   +/-   ##
=======================================
  Coverage   89.85%   89.85%
=======================================
  Files          29       29
  Lines        5146     5146
  Branches      599      599
=======================================
  Hits         4624     4624
  Misses        521      521
  Partials        1        1

Impacted Files
Coverage Δ

src/types.ts
90.71% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@adilansari does this also allow you to use the syntax that doesn't use $set?
For example:
const updatedPublisher: Publisher = {
    totalPublished: 24,
    name: "Urban books"
}

const publisherUpdate: UpdateFields<Book> = {
    publisher: updatedPublisher
}

const categoryUpdate: UpdateFields<Book> = {
    categories: ["classic", "literature"]
}

Yes. By default, $set gets added if no operator is specified.


Feature Request: Station announcement block

Is your feature request related to a problem? Please describe.
In older versions of this mod, an announcement would play before the door closed, but this feature has been removed in the new version.
Describe the solution you'd like
This block is capable of broadcasting specified announcements to players within a set range in a set manner.
Examples include train approach, arrival, and door closing announcements.
The block setup page:
Platform: (select platform)
Train approach broadcast content: (text)
When this announcement will be made before the train arrives: (select the length of time 0s-5min)
Train arrival broadcast content: (text)
Whether to enable it: (check box)
Content of door closing announcement: (text)
When this announcement will be broadcast before the train departs: (select the length of time 0s-5min)
Broadcast range: (select range, e.g. 5*5)
Whether to display the broadcast content in the chat bar: (check box)
Additional Information
If voice is enabled in the settings, the block can play a voice synthesized with the specified text, just like the train announcements.
For example: "列车即将进站，请小心列车与站台之间的空隙，本次列车去往xxx及沿途各站。The train is arriving,please mind the gap between the train and the platform.This train will stop service at xxx station."
(This is the Beijing MTR broadcast, the content of the broadcast in simplified Chinese and English is almost the same as MTR)
My English is not very good, sorry.

But...Sometimes Train schedule sensor can help you a lot...(doge)

Hello! You can join our discord and you can speak Chinese there as most of our staff can speak the language. This way your issue can get solved. Thanks! https://discord.gg/V5Ff5BXG.
Please go to #bug-reports.

Thank you for your reply!
I've joined Discord and this is not a bug report, but I didn't find a place to submit a suggestion.
------------------ 原始邮件 ------------------
发件人:                                                                                "jonafanho/Minecraft-Transit-Railway"                                                                                @.>;
发送时间: 2022年1月21日(星期五) 上午10:41
@.>;
<EMAIL_ADDRESS>主题: Re: [jonafanho/Minecraft-Transit-Railway] Feature Request: Station announcement block (Issue #270)
Hello! You can join our discord and you can speak Chinese there as most of our staff can speak the language. This way your issue can get solved. Thanks! https://discord.gg/V5Ff5BXG.
Please go to #bug-reports.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: @.***>

As people mentioned, you can use the train schedule sensor with command blocks.


Open Base Dir Restriction

SassBinary.php: 135
file_exists('/etc/alpine-release') ? 'linux-musl' : 'linux';
On bin/console sass:build -> critical Error because System didnt allow to check this path.
Fixed it by hardcoding the variable to "linux"

Hey @PROXCLOUT ,
I suppose running it via sudo (with admin permissions) should work for you?
Do you have any ideas on how to fix this? Could you try something like this if (is_readable('/etc/alpine-release') && file_exists('/etc/alpine-release')) - probably it will work for you?
Also, the exact error message would help with this. And could you share your OS info?
Please, feel free to open a PR if you have a solution on how to fix it.


Godep restore fails even though the package is in $GOPATH

As you know, because China's GFW we can not access golang.org. I git clone the package to GOPATH. It used to work, but in the new godep:
godep: error downloading dep (golang.org/x/crypto/bcrypt): unrecognized import path "golang.org/x/crypto/bcrypt"
Error determining repo root for golang.org/x/crypto/blowfish
godep: error downloading dep (golang.org/x/crypto/blowfish): unrecognized import path "golang.org/x/crypto/blowfish"```

It seems godep will ping golang.org no matter it is already downloaded or not.

Where did you git clone the package to?

	cd ${GOPATH}/src/golang.org/x
	git clone https://github.com/golang/crypto.git

I believe this ping is part of the golang.org/x/tools/go/vcs package which godep uses.


refactor: Config parsing & precedence

This is a fairly impactful PR as it involves a breaking change as well as a lot of code changes related to pkg/config which impacts every command. Some key pointers:
Global & local config
Previously, we maintain 2 config scope: global & local config. Local config can be empty. This is the precedence for config values:

accept value from flag
read from local
read from global

Because of this, we can also save things in the local config to override the global config. For example, $ hookdeck project use --local will store workspace_id value in the local config so that future commands in this scope will use the selected project. In this case, the local config file could be as short as:
workspace_id = "tm_123"

Changes
This PR removes the concept of global & local config. There's only 1 singular config. If there's a config within the local scope ($PWD/.hookdeck/config.toml) or if the user provides the --config /path/to/config.toml flag, then the CLI will use this config file only and ignore the global config file should one exist.
Test & refactor
Besides code to make the changes in the section above, I also refactored pkg/config with 2 main concerns:

Make the code more testable (for example, using ConfigFS interface to mock different filesystem scenarios)
Reduce public API for the package to the minimum

With that, I also added quite a bit of tests to ensure things behave correctly. Some main shoutouts:

TestGetConfigPath will test that the CLI will choose the correct config file from different user input / filesystem scenarios (whether config flag is passed, whether a local config exists, etc)

TestInitConfig will test what the final config looks like with different config files. You can see different scenarios in pkg/config/testdata. There's a README that gives some explanation for each scenario. Please feel free to add more if there's anything you'd like to test.

[ ] Add more config scenarios. Something I haven't considered: backward compatibility.

[ ] Should we consider adding config versioning moving forward?

[ ] The tests currently place a very strong emphasis on profile. There's no test for other config cases like LogLevel, Base URLs, etc. Is there anything you'd like to test more? Feel free to add your own if you'd like, or comment here.

It would be good to understand why we're considering this change.

@leggetter hey so I've been thinking and I'm curious what you think about this.
There's this use case that I'm imagining but I don't know if it's something worth supporting / considering.
Say there's an engineering organization using Hookdeck. They may have multiple different Hookdeck projects for different workflows. They may also separate environments (dev, staging, production) via projects, or even Hookdeck organization itself.
So, as a developer of said organization, I may want to do multiple things:

in project A repo, I'd like to run $ hookdeck listen 3000 to proxy events related to this project
navigate to project B repo, I'd like to run $ hookdeck listen 4000 to proxy events related to this project

Or even more complicated use case, in a monorepo with both project A & B, I'd like to run some arbitrary command to proxy events for both A and B to their corresponding ports of 3000 and 4000. Say make dev or something and the whole dev environment is up.
I wonder if we'd like to spend time now trying to come up with solutions for this, or if it's a future conversation? I would imagine this has an impact on the config file setup.

I remembered taking some inspiration from the Doppler CLI where they need to solve this problem. They have some sort of "profile - directory" mapping within their global config file. It's an interesting solution. I didn't love their CLI as a user but I can understand the complexity.
Ultimately, I'm just taking a step back and re-evaluating what problem the local $PWD/.hookdeck/config.toml solves. Maybe we (or mainly I) may have lost the plot a bit where we discuss the details instead of relating to a use case or problem? 😅

@alexluong - I think the approach we're taking here, making global and local config mutually exclusive, is the right approach 👍 It means the scenarios you cover are still possible and avoids any unexpected side effects by global config being inherited, especially when there are very few things to configure!
I think that the fact we support different config files and profiles within the same config file is potentially powerful, but I wonder if anybody uses it right now. Food for thought, and no action is required on this at present.
I like CLIs (and other tools) that dynamically pick up local config and use it (e.g. detects a hookdeck.config.toml and uses it). So, maybe that's an approach we take in the future.
I don't think we need to discuss anything further in this PR. However, there's likely a few things to work out in #102

I like CLIs (and other tools) that dynamically pick up local config and use it (e.g. detects a hookdeck.config.toml and uses it). So, maybe that's an approach we take in the future.

We already do this. It automatically picks up .hookdeck/config.toml locally from where you run the CLI.

I like CLIs (and other tools) that dynamically pick up local config and use it (e.g. detects a hookdeck.config.toml and uses it). So, maybe that's an approach we take in the future.

We already do this. It automatically picks up .hookdeck/config.toml locally from where you run the CLI.

Oh. Interesting!

I don't think we need to discuss anything further in this PR. However, there's likely a few things to work out in https://github.com/hookdeck/hookdeck-cli/pull/102

Totally, I just wanted to pause to make sure the approach is right. This PR is against #102 branch anyway, so I'll open more PRs to continue implementing everything mentioned in that description.

@alexluong and additional thought on supporting the commuting of config to source control - if we want to support that then no co credentials should be within the config file.

@leggetter I think the main thing is that we don't really use the config much besides credentials right now, so I don't think it's recommended to committing config files. If we do have more extensible configuration in the future, it may make sense to separate config vs credentials?

@leggetter I think the main thing is that we don't really use the config much besides credentials right now, so I don't think it's recommended to committing config files. If we do have more extensible configuration in the future, it may make sense to separate config vs credentials?

I'd love to have local project selection and to be able to check that in.

I'd love to have local project selection and to be able to check that in.

So should we separate the config into "config" and "profiles" where profile will have secrets and config are configuration that can be checked in to version control?

@alexluong I think we are going out of scope here. We are just trying to fix the precedence. Being able to check in the config is a good idea but I reckon best to open a different issue?

@alexbouchardd yeah that's fair. In that case, any input on the PR and how we should proceed here? cc @leggetter

@alexluong Ok, I agree splitting out the config can be out of scope for this issue.
But I think we should bring the --local config back and apply it to login and project use. Otherwise, we remove it here and then bring it back in another PR in the very near future.

Hey @leggetter, I've been playing around with the idea of bringing the --local config back as you suggested.
I think it may not make sense for project use because you need the full config to work, so it has to start with login command. Otherwise, after you run hookdeck project use --local, we must copy the current credentials and store it in the local config file. That could work but it may be unexpected and lead to potential API keys leakage on GitHub.
As for login, it's a bit tricky. First, just to explain the flow of how the CLI works:
1: user runs command (say hookdeck login)
2: CLI parses global flags into Config struct
3: Config.InitConfig will run, using the flags to determine local vs global config file
4: CLI parses command-specific flags
5: command logic
So, if we want to support login --local flag, we will need a mechanism to change the config file used in step 5, after the program has already parses the original config file in step 3. It's doable. The only potential concern is what if the user is running in an environment where they don't have write permission in the global config path. The program will fail, even though it won't need that permission. But this is an edge case, so we can potentially acknowledge and move on?
There's already a way to login and save to a local config by specifying the config file. So essentially:
hookdeck login --local will be equivalent to hookdeck login --config ./.hookdeck/config.toml
Obviously this is subpar DX and should not be the final solution. Just curious what you think our next step should be regarding this flow.

@leggetter soo it seems this PR's scope is not documented in #102. I think #102 requirements were part of a discussion with @alexbouchardd where we discussed some functional or behavior points. This PR is a more "internal" change where technically it doesn't affect how it's used for most users.
This PR changes how we parse config from "merging local & global" into "either local or global".
It is a breaking change, along with several other breaking changes from #102, so I figured it should be done together to avoid multiple breaking changes at once.


Help!! NetPad fails to launch on my Mac

Machine: MacBook Pro
Chip: Apple M2 Max
Memory: 96GB
OS: Ventura 13.2.1
I have downloaded the latest version of the zip on my Mac (M2).

After unzipping and clicking on the app I get the following dialog!!

I've tried downloading multiple times in case the zip was corrupted, but get the same dialog.
I have the following .NET SDKs installed

Please advise

Closing... read the troubleshooting guide and the suggestion worked for me


Misskey accounts unable to follow

I have 2 Misskey instances and was able to locate and request to follow both of my accounts, but neither was able to successfully follow back. In Takahē I can see that I am following them and they are following me, but in Misskey it shows that following the Takahē account is still pending - it appears communication isn't getting back to Misskey to tell it that the follow successfully went through.

So, the problem with federation where it fails on the other end is that I don't know what we need to fix about our Accept.Follow messages without some insight from someone who can peer into the Misskey database - as far as I know, we try to match Mastodon quite closely, but we have some subtle differences in our context and URLs that might (?) be the issue.
Anyway, all this is to say, this is totally a valid bug, but also one we cannot solve without a Misskey person around.

@andrewgodwin I'm using my own ActivityPub implementation and requests from Takahe side come with invalid Accept: [application/json] header and I respond 400 to it, not sure why some other software accept that header

Well, I checked the code and see the problem on my side too: you are sending generic application/xml and application/json Accept headers in host-meta and webfinger requests, while correct content type is application/xrd+xml and application/jrd+json respectively. But generic content-types should be acceptable too, I added generic types as fallbacks and now federation should work, but I think some other implementations may expect correct types too.

Aha, I didn't spot the extended mimetypes for those endpoints in the webfinger spec! I'll update our end to return them too. Thanks for spotting that!

(I do think it's important to accept them generically, as some people are static-hosting those two endpoints and I doubt their static servers will send the exact right mimetype)

@vitalyster You also said request from us come with Accept: application/json, but it should be Accept: application/ld+json in all our signed-fetch code - what URL were we trying to hit with the wrong header?

I think all these generic requests came from host-meta/webfinger requests so now it is fixed.
But this issue should be open because we solve different issue but original Misskey issue still not triaged :)

OK! Let me know how I can help - I appreciate you looking into this.

I have the same behavior with my Akkoma instances (follows from Akkoma to Takahē succeed but the acceptance is not processed so they are never known to be accepted by Akkoma).
So far, I haven’t found any useful logging about this, but will report here if I find it…

Hi, I'm exploring interoperability between Misskey and Takahē now and encountered the same issue. This still occurs on Firefish (previously, Calckey) which is a fork of Misskey.
I set up a test Misskey server and tried to follow Takahē account and found the following error on the Misskey's server log:
{"level":30,"time":1691901041198,"pid":167,"hostname":"web-76b84b9549-r6mdl","reqId":"req-145","req":{"method":"POST","url":"/users/9ichcwe2gv/inbox","hostname":"misskey.shuuji3.xyz","remoteAddress":"<IP_ADDRESS>","remotePort":36758},"msg":"incoming request"}
{"level":30,"time":1691901041203,"pid":167,"hostname":"web-76b84b9549-r6mdl","reqId":"req-145","res":{"statusCode":202},"responseTime":4.589717864990234,"msg":"request completed"}
VERB 1	[queue inbox]	active id=3 attempts=2/8 age=10ms
VERB 1	[queue inbox]	{
  "id": "https://misskey.shuuji3.xyz/follows/9icii7p8im#accept",
  "type": "Accept",
  "actor": "https://takahe.social/<EMAIL_ADDRESS>  "object": {
    "id": "https://misskey.shuuji3.xyz/follows/9icii7p8im",
    "type": "Follow",
    "actor": "https://misskey.shuuji3.xyz/users/9ichcwe2gv",
    "object": "https://takahe.social/<EMAIL_ADDRESS>  }
}
WARN 1	[queue inbox]	failed(UnrecoverableError: skip: signerHost(takahe.social) !== activity.id host(misskey.shuuji3.xyz) id=3 attempts=1/8 age=29ms activity=https://misskey.shuuji3.xyz/follows/9icii7p8im#accept

So Misskey is dropping the final Accept ActivityPub response to the Follow request from the Takahē server.
On the other hand, Mastodon returns this Accept object in response to the same follow action:
VERB 1	[queue inbox]	active id=10 attempts=2/8 age=7ms
VERB 1	[queue inbox]	{
  "id": "https://mastodon.social/users/shuuji3#accepts/follows/",
  "type": "Accept",
  "actor": "https://mastodon.social/users/shuuji3",
  "object": {
    "id": "https://misskey.shuuji3.xyz/follows/9id2cc6uj7",
    "type": "Follow",
    "actor": "https://misskey.shuuji3.xyz/users/9ichcwe2gv",
    "object": "https://mastodon.social/users/shuuji3"
  }
}
INFO 1	[remote ap]	Accept: https://mastodon.social/users/shuuji3#accepts/follows/

I suspect id is not properly composed. I'm still learning ActivityPub spec and am not confident about the signing process etc. but will try solving this issue because it prevents these relatively popular servers from following the Takahē account in the first stage.

Ahh fascinating, misskey is validating that the signing host matches the object ID - which would be true for every other activitypub server except Takahē, since we obvious have the varied hostnames.
I think fixing this would involve making the AP IDs of these objects just match the actor hostname - they are invented at JSON creation time rather than stored in the database, so I don't think that's too difficult?

Thanks for the hint.:+1: Yes, we need to choose the correct hostname here. I'll look into the places around the inbox and follow models.

So this is happening again to me.
Talking on fedi<EMAIL_ADDRESS>said:

okay i can instantly tell you what the issue is! the accept activity needs its own id for the accept activity, coming from the takahe host. you are not allowed to reuse the follow activity you received for that

(Apparently someone else made the same mistake)
Are we allowed to make up a non-existent URL for this, or does it have to actually validate? If we need a real URL for it, does it need to exist in the DB or can we synthesize one based on the Following list and maybe some clever crypto?

You can make up URLs (including by adding fragments to the end of them), but I thought we did do that specifically for this here: https://github.com/jointakahe/takahe/blob/e577d020ee9857eb78fab4664b6abc436172c099/users/models/follow.py#L278

Yeah, but for LD signatures, it has to be one of Takahē's URLs, not the remote server's.
In the above data, the Accept activity has the URL of https://misskey.shuuji3.xyz/follows/9icii7p8im#accept despite the fact that it originates at takahe.social.

Ahhhh, right! We can switch that to self.uri then and easily fix this.
(also, another reason to drop LD sigs)


Docs.MS Release Updates for spring-cloud-starter-azure-eventhubs-kafka

Update docs metadata and targeting for release of spring-cloud-starter-azure-eventhubs-kafka

Docs Build status updates of commit e2bece2:
:clock10: Full build: the average full build time is 88 min(s) 5 sec(s), this is based on the last 741 build(s) for this repository.

Close this PR since all the commits have been moved https://github.com/Azure/azure-docs-sdk-java/pull/1232/.


Allow search strings to escape special chars ' ', ':' and '-' using ''

Hi.
First thank you for developing this package, really nice to use.
This PR fixes issue https://github.com/ddworken/hishtory/issues/65 , and allows a user to search for strings containing the special characters ' ', '-' & ':' by escaping them with a '\'.
It would seem running your suite test requires specific items and permissions(?), but this builds and works fine for me in bash on Ubuntu 22.04, and since it only affects internal workings of hishtory there is no reason to believe it wont work on any other platform as well...
Please advise if I have misunderstood something regarding how to run the test suite so that I can fix this PR and do better next time.

Sorry about the messy branching, that happened as I was attempting to sign the commit, which caused the branch and merge...

Thank you! Merging into a separate branch so I can add tests, but I'll get this merged to master ASAP.


When Game Streaming to the Legion go running Bazzite either from Moonlight or Steam link there's a lag spike every 5min

The Bazzite OS / Linux platform its based on seems to do a network check every 5mins which results in huge spikes and dropped frames like clockwork.
No amount of changing the streaming settings fixes it, I'm not at all skilled enough to work the fault out but from what I gather it seems to be the bssid settings.
SteamOS does not have this problem but, other than that its flawless.

Just adding to this to second the issue, I'm also experiencing the same periodic network stutter when streaming on a Legion Go running the most up-to-date Bazzite. I've tried disabling wifi power save but that hasn't seemed to do anything to improve the streaming.

Just adding to this to second the issue, I'm also experiencing the same periodic network stutter when streaming on a Legion Go running the most up-to-date Bazzite. I've tried disabling wifi power save but that hasn't seemed to do anything to improve the streaming.

So I figured it out in the end, should of updated the ticket
run this in terminal:
nmcli -f in-use,ssid,bssid,signal,bars  dev wifi
All nearby wifi networks will show up find the network you want (your wifi router) the address will look something like this
TP-link XX:XX:XX:XX:XX:XX
Copy the address only and paste it in set manual BSSID which is under the wifi network settings, this will lock your device to that router and stop it searching every 5 minutes.

Thanks for the tip, adding the BSSID seems to have worked for the time being!
I'd still leave the ticket open though, I have a mesh wifi network and the issue is still outstanding - with multiple access points with the same network ID, I think the expected behavior is that it should hop between them without the network jitter we're observing without having to force a lock onto one.

Seems to be the same for chiaki-ng in my experience and here: https://github.com/streetpea/chiaki-ng/issues/395#issuecomment-2315672503

Just adding to this to second the issue, I'm also experiencing the same periodic network stutter when streaming on a Legion Go running the most up-to-date Bazzite. I've tried disabling wifi power save but that hasn't seemed to do anything to improve the streaming.

So I figured it out in the end, should of updated the ticket
run this in terminal:
nmcli -f in-use,ssid,bssid,signal,bars dev wifi
All nearby wifi networks will show up find the network you want (your wifi router) the address will look something like this
TP-link XX:XX:XX:XX:XX:XX
Copy the address only and paste it in set manual BSSID which is under the wifi network settings, this will lock your device to that router and stop it searching every 5 minutes.

I tried it but had the same heavy stutter. I am using a mesh as well. Having two wifi networks with the same SSID.


[QUESTION] Chaining unique rules

Prerequisites

[X] Have read and understood: https://github.com/Maatwebsite/Laravel-Excel/blob/3.1/.github/SUPPORT.md
[X] Checked if your Laravel Excel version is still supported: https://docs.laravel-excel.com/3.1/getting-started/support.html#supported-versions
[X] Checked that your question isn't already asked before.
[X] Filled in the entire issue template

Versions

PHP version: 7.3.6
Laravel version: 5.8.30
Package version: 3.1.17

Description
I have a row validation set ( with heading rows ) like this:
public function rules(): array 	{ 		return [ 			'last_name' => Rule::unique('employees', 'last_name'),  		]; 	}
I would like to chain this with an or rule so that it will validate if both the last_name and the birth_date column both are unique. Is there a way to do this?

These rules are just Laravel validation rules behind the scenes. I would suggest opening a question on a forum like Laracasts or Stackoverflow for this.


What is the 1.0.0-beta5-11855 default project.json and Startup.cs?

With David's help I got the project to run yesterday however I still have the old dependencies set from RC and the Startup.cs file.
I'm wondering if you guys can post the latest project.json and Startup.cs so I can get my code adjusted, especially since the framework is going through re-structure, so the project is still broken.
My list of dependencies is, are the all ok?:
"dependencies": {
"EntityFramework.SqlServer": "7.0.0-beta5-",
"EntityFramework.Commands": "7.0.0-beta5-",
"Microsoft.AspNet.Mvc": "6.0.0-beta5-",
"Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-beta5-",
"Microsoft.AspNet.Authentication.Cookies": "1.0.0-beta5-",
"Microsoft.AspNet.Authentication.Facebook": "1.0.0-beta5-",
"Microsoft.AspNet.Authentication.Google": "1.0.0-beta5-",
"Microsoft.AspNet.Authentication.MicrosoftAccount": "1.0.0-beta5-",
"Microsoft.AspNet.Authentication.Twitter": "1.0.0-beta5-",
"Microsoft.AspNet.Diagnostics": "1.0.0-beta5-",
"Microsoft.AspNet.Diagnostics.Entity": "7.0.0-beta5-",
"Microsoft.AspNet.Identity.EntityFramework": "3.0.0-beta5-",
"Microsoft.AspNet.Server.IIS": "1.0.0-beta5-",
"Microsoft.AspNet.Server.WebListener": "1.0.0-beta5-",
"Microsoft.AspNet.StaticFiles": "1.0.0-beta5-",
"Microsoft.AspNet.Tooling.Razor": "1.0.0-beta5-",
"Microsoft.Framework.Configuration.Json": "1.0.0-beta5-",
"Microsoft.Framework.Configuration.UserSecrets": "1.0.0-beta5-",
"Microsoft.Framework.CodeGenerators.Mvc": "1.0.0-beta5-",
"Microsoft.Framework.Logging": "1.0.0-beta5-",
"Microsoft.Framework.Logging.Console": "1.0.0-beta5-*"
},
I am getting the following error on load:
The type or namespace name 'IOptions' could not be found (are you missing a using directive or an assembly reference?)
public IOptions AppSettings { get; private set; }

I get it resolved, it was related to https://github.com/aspnet/Announcements/issues/27


Get instance data in host defined functions with component model

Feature
Provide instance (Instance struct) or instance data to host defined functions in component model.
Benefit
In #2491, it is suggested to bind the instance data to the closure passed to Func::wrap to store per-instance data. However, this will not work for instances in component model because to bind a function (let host export a function to be called by guests), one need to configure LinkerInstance (e.g., use LinkerInstance::func_wrap or similar methods). Yet, there is only a single linker set up for instantiating all the instances in a store, so there is no way to configure per-instance data.
Providing host function instance and instance data will let host function able to get data tied to the instance that calls the function, or let host perform a nested call to a guest function, etc.
Implementation
I think a possible implementation is to let the function passed to LinkerInstance::func_wrap to be able to take Caller instead of StoreContextMut. The non-component model counterpart Func::wrap takes AsContextMut to achieve this, and I'm not sure why func_wrap takes StoreContextMut instead. Then, we can expose the instance stored in the Caller struct. Of course, this all rely on the assumption that Caller can be retrieve in calls to component host.

You mention that a single linker is used for a store, but that's not quite accurate because you can use any number of linkers to instantiate within a Store. In that sense you can still provide per-function state within the Linker. Otherwise though I'll also note that the question there was in reference to the C API and the Rust API is a bit different. In Rust the closures in Linker are Fn meaning you don't get mutable access to closed-over-state. Instead that sort of information typically goes within the T of a Store<T> which you do get mutable access to.
So, if possible, the recommendation is to store per-instance information into a T in Store<T> and only if necessary store per-instance information within the closures passed to a Linker. Does that work for you?

I'll also note that the question there was in reference to the C API and the Rust API is a bit different.

Sorry for not stating the question clearly. I'm using the rust API. Otherwise

So, if possible, the recommendation is to store per-instance information into a T in Store and only if necessary store per-instance information within the closures passed to a Linker. Does that work for you?

I'm a little bit confused here because I thought there can be multiple instances inside a single store.  My setup is as follows:
First I create a global Engine and Store:
fn init() {
  engine = Engine::new(config)?;
  store = Store::new(...);
  linker = Linker::new(&engine);
  MyWasmWorld::add_to_linker(&mut linker, ...)?;
  ...
}

Then, when a plugin (guest program) is loaded, I load the wasm file and instantiate the component
fn load_plugin_from_path(file_path: &str) {
  Component::from_file(engine, file_path)?;
  let (_, instance) = MyWasmWorld::instantiate(&mut store, &component, &linker)?;
  ...
}

My understanding is that load_plugin_from_path can be called multiple time to instantiate multiple plugins in the same store, so I'll need a way to identify which instance is calling the host function.
Or should I use multiple stores for different plugins? But even then, I still need to get the Instance handle to get its exports so I cn call guest functions or inspect its memory, is that correct?

Oh, I think I get what you are suggesting, I can create one linker each time I instantiate a plugin. Let me try if that works.

Ah yes it's possible to put lots of instances in the same store. The downside of that approach is that you can't incrementally delete instances within the store, it's an all-or-nothing operation (e.g. you can't unload just one plugin, you'd have to unload all of them).
If possible I'd recommend having a Store-per-plugin. With the component abstraction it's not actually necessary to have everything in one store as that's primarily there for core wasm instance linking and shared memory, which the component model doesn't support.
Storing state per-linker would still work, however, if that works for you!

@alexcrichton, not sure if this is the best place to ask the question, but is there a clean way to call guest functions from without a host function? (I'm not currently using the component model, if that makes a difference).
 To do so, they rely on an allocate function exported from the wasm-module. I know I can dynamically get the export and do all the checking, but is there a way to do this at link-time?
It would be nice if there was a way for Linker::instantiate to check for exports in addition to imports in a way that would enable me to make safe static calls back into the module.
Should I be thinking about allocation differently? Is there another way to do this? Please advise if there's a better place to post too.

I'll follow up on https://github.com/bytecodealliance/wasmtime/pull/9525 as this probably isn't the best place to continue this discussion (but no worries!)


Fix for #41 - BSOD if no IVSHMEM device is found but UseIVSHMEM is set

Hi @duncanthrax ,
I'm merging this fix for a stupid bug I made in IVSHMEM that was reported in #41
I've tested it on 2 VMs and it seems to work fine.
When you have time can you sign and release it?
Thanks

I'm at the desk, will do now :)

Thank you! :)


[BACKEND] Don't keep registers alive across __assertfail calls

Related to pytorch/pytorch#120452
Inductor uses device asserts in release mode as a way to report indexing errors to the user. In the linked issue it was noted that this has a very significant impact on register usage, which really hurts occupancy.
From nvdisasm's register liveness report, we noticed that the call to __assertfail generated by triton results in a register usage increase above whatever the current register usage was before the assert failure. This PR just lets llvm and ptxas know that the function doesn't return and so live variables don't need to be preserved.
I do this by adding Attribute::NoReturn to __assertfail's declaration in LLVM. I also add +ptx80 to the feature set of the target machine, which allows NVPTX to generate the .noreturn attribute in ptx.
For the kernel in the linked issue, register usage decreased from 103 to 64 and bandwidth increased from 260 GB/s to 335 GB/s on my machine.
cc @amjames

Not sure what the best way to test for this would be.

The main feature is reduced register usage, so testing n_regs would work but I expect this would add work every time the llvm or ptxas version changes.
We could test the llvm IR to see an unreachable is inserted after the __assertfail call, but this only appears in the optimized non-mlir llvm code which I don't think is saved anywhere.

Any suggestions?


Where is the documentation for all the settings used in the example site?

Hi,
In  the example website config: https://github.com/xianmin/hugo-theme-jane/blob/master/exampleSite/config.toml there are quite a few params that I cannot find any documentation on. I am looking at this list of configuration params which is supposedly the complete list: https://gohugo.io/getting-started/configuration/
one example of a param not in the list is [param.gitment], but there seems to be quite a few not in the list. Where do I find the documentation on all available params.
Also, your theme uses gitment which turns issue tracking on github into a comment system. Are you aware of anything like that for butbucket.org? I am hoping to get gohugo working with jane on bitbucket.org.
Thanks!

Never mind. I didn't realize that the theme I was using was adding all of those additional params. I understand now so I am closing this issue.


Pod Install not possible

Hello,
it appears Pod installation is not possible.
[!] Unable to find a specification for SRAttractionsMap
Thanks and best regards
Cristiano

Hi Howard!
Sorry, but I was not able to reproduce your issue. Maybe you can try once more? And check if you have the minimum deployment target 11.0.


Do you have any plan to support monoflex?

Is there any plan to support the model deployment of 3D target detection? When deploying monoflex, we encountered many pytorch operations that tensorrt does not support, such as edge_ indices. view(b, -1, 1, 2). float(),output_ cls[k, :, edge_indice_k[:, 1], edge_ indice_ k[:, 0]] += edge_ cls_ Output [K,:,: edge_lens [k]] and so on。

It seems MonoFlex is not supported in MMDetection3D yet.
https://github.com/open-mmlab/mmdetection3d/issues/1362
I will do it as soon as they release the model.

thank you for the reply！


[Bug]: Official way of Nuxt 3 integration is out of date but here's how to get it working

version
3.0.1
Link to minimal reproduction
NA
Steps to reproduce
NA
What is expected?
NA
What is actually happening?
NA
System Info
No response
Any additional comments?
Official way of Nuxt 3 integration is out of date but here's how to get it working -

Install

npm i -D unplugin-tailwindcss-mangle tailwindcss-patch

Use the vite plugin in nuxt.config.ts

import utwm from 'unplugin-tailwindcss-mangle/vite';

export default defineNuxtConfig({
   .... // Other cofigurations
  vite:{
    plugins: [ process.env.NODE_ENV === "production" ? utwm() : undefined ]
  },
})

create tailwindcss-mangle.config.ts

import { defineConfig } from "tailwindcss-patch";

export default defineConfig({
  patch: {
    output: {
      filename: "./.tw-patch/tw-class-list.json",
      loose: true,
      removeUniversalSelector: true
    },
    tailwindcss: {
      config: "tailwind.config.js",
      cwd: __dirname,
    },
  },
});

Patch tailwind

npx tw-patch install

Extract the classes -

npx tw-patch extract

Build

npm run build

And you are good to go, you can start the preview. I got into few issues after build as the class specificity was messed up because of the class names generated by the plugin. I saw we can specify our custom class name generator functions too, but I didn't play with it much. I removed few classes from the tw-class-list.json which were causing issue for me and it did the job for me.
Thank you @sonofmagic For this awesome engineering.

Hey, @idesignzone @Jing-sir I think this solves our issues. Hail Vue & Nuxt !!

I followed this tutorial but it doesn't work, I checked the tw-class-list.json file after running npm run build there is only an empty array

I followed this guide but it didn't work, I checked the tw-class-list.json file after running npm run build there is only an empty array and the following message appears during production build: [plugin unplugin-tailwindcss-mangle] Sourcemap is likely to be incorrect: a plugin (unplugin-tailwindcss-mangle) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help

You have to run the patch and then run the extract command to populate that empty array.


Added beamer implementation of sign-in-routing scenario

https://github.com/flutter/uxr/pull/45 with the new directory structure introduced in #42

@ slovnicki can you reply here saying @googlebot I consent.

@googlebot I consent.


Failing because loadOptions and loadPlugins was renamed

https://github.com/michael-ciniawsky/postcss-load-options/commit/372bfd2b278021268cd115bdff5453c179958955
https://github.com/michael-ciniawsky/postcss-load-plugins/commit/39125f0ae3b564fd2868cf2ec719426d9fcf018d

Fixed in postcss-load-config v1.0.0-beta


New Binary Build required

Could I request a new binary build since there have been a number of fixes since 2012. Im very much a Java developer (that is why Im using com4j) and don't know how to use VisualStudio and would prefer not to have to try and build it myself, If it was pure Java it would be fine but com4j is not pure Java although the user base is very much pure Java devlopers so its quite an ask to request use of Visual Basic when dont want to change anything just get a recent build of com4j

I second that request! We are very much dependent on the fix for the Double type that was added in https://github.com/kohsuke/com4j/commit/c3d85484ca67852fe7b844de53018ee5b0f229ee - can someone perform a Maven release for version 2.2?

+1

+1

@kohsuke, any update on this?
As I said, I'm happy to help out with performing the release, but I assume that someone would have to add me to the Sonatype OSS account (for me to be able to do so). Also, I'm not sure if the new release would have to be signed with the same key pair as the previous releases, or if I could release with my own keys.

Is there any way to help speed this along? We are getting to a point where we would like to get rid of our work-arounds and depend on an updated COM4J version that has all the latest fixes. I'm happy to help in any way I can.


Integrate microsites in framework

To accomplish a Landscape Documentation UI that gathers multiple components (like Gardener, Gardener Dashboard, Machine Controller Manager and etc.) in the form of microsites, most simply we need a frame (header with navigation and footer) and we need a mechanism to combine those multiple microsites into one. In the end we should have a website that has different documentation components built separately.

Not anymore in the backlog


Update abmetrix service definitions for new version

Description of the Change
The newest version of abmetrix moves to a periodic trigger rather than a long-lived daemon. This PR updates the service file(s) to match those included in the BaseOS version.

Huh, do we have any prior art for this?
Would you like to (or have you already) tested this on a real agent?

The prior art for this change is matching the definitions of other timer-based services in titus-executor as well as basing the service files off the same service for the Netflix base OS.
I haven't tested this on a real agent deployment yet, but would be interested in doing so. Happy to follow any instructions around how to perform such a test.

@sargun this (testing this locally) is another great use case for the titus-standalone binary.
@siow4096 please ping me on slack and let's coordinate an adhoc test, as we currently don't have an easy way to test it without putting this change on a dev stack.

I don't think this is going to work without more changes to docker_linux.go:106.
Look for qualifiedUnitName, and you can see we hard code .service because we assume that is all we will ever be starting.
For this change, we would not start the service, and instead start the timer, and let it start the service.

As discussed, this PR is now obsolete with the new changes to make abmetrix behave as it did before (as a daemon)


Image does not show sharply as well as fmx original canvas engine

Left FMX canvas, Right Skia canvas
Version 3.0 is great, thanks for your contribution. But the image quality is not same as fmx canvas?

Hi @PonyPC!
Try changing the Form.Quality property, try select HighPerformance and HighQuality to see the difference.

I have test for 3 different options for quality property. As you can see, the first "o" of skia is not smooth under performance. And both quality and default are blurry.
Platform: Windows

Hi, I tested again for diff TSkSamplingOptions with UseCubic, I think maybe we should set True to TSkSamplingOptions.High or TSkSamplingOptions.Medium.

@PonyPC
In Skia4Delphi, there are 3 types of sampling in the following order of quality:

Nearest
Linear
Cubic

So a possible solution would be to use Cubic. The problem is that Skia's Cubic doesn't work the way you might think.

First you must fill in parameter B and C, you used 0, I like to use Cubic Catmull-Rom (B: 0; C: 1/2), which is what GIMP uses when you select Cubic method.
Skia's Cubic cannot be used directly to downscale an image with a factor greater than 2, the consequence is to deface the image. That's why the results are totally different from Cubic from GIMP or Photoshop. I tried using Cubic 2 months ago, I even opened a bug-report for Google Skia developers: Poor quality of resize with cubic sampling. The Google engineer suggests doing multiple resizes with scales of at most 2 until you reach the desired size. The problem is that the performance of this was very bad and as much as the final result has improved, it was not as good as the Cubic from GIMP / Photoshop.

Therefore, at first we ruled out using Skia's Cubic.
On the other hand, Linear is a great filter, but it blurs the image a bit.
About these results:

It seems to be working as intended. In HighQuality, despite blurring a little, it's better than FMX. What I could do at first is change using TSkSamplingOptions.High instead of TSkSamplingOptions.Medium, to use BiLinear sampling.
Remembering that no matter how good the sampling filter is, we will never have a result as good as an SVG. I highly advise replacing all these types of images with SVG.

Thanks for the advice. Downscale the scenery image over 2 factors may not be noticeable, but the text or detail will be intermittently. See the "English" below, some parts are thin than 1 pixel, and not clearly for reading.

In photoshop we can render the text by sharply or smoothing for clearly. Although downscaling over 2 factors is not perfect like OpenGL, but still good for reading and noticing photo details. I'm doing video playing on TImage so it's impossible to use SVG.

This is a previously reported issue in Skia/Xamarin/Chrome. There are several topics about this, for example: https://bugs.chromium.org/p/chromium/issues/detail?id=562162
So far it is not considered a bug, it is the expected operation of the Linear algorithm. As you yourself suggested, the best choice is to switch to Cubic. We did performance tests and there was no impact. However, we will refuse your pull request as the values of parameters B and C are not ideal. Instead, we opted for Mitchell (B = 1/3, C = 1/3), which is Skia's default Cubic. Learn more about Cubic: https://entropymine.com/imageworsener/bicubic/


Update readme for using with Metrics API

So with the @_exports gone, the following is not true anymore right?
import PrometheusMetrics // Auto imports Prometheus too, but adds the swift-metrics compatibility

?

I'm wondering if there is a reason to have the two in separate modules really btw...
Does not really cost much to have just Prometheus and it also implement the Metrics it is "shared currency" API after all, wdyt @weissi
// Finding those as I'm trying to use it today btw :-)

Fixed in https://github.com/MrLotU/SwiftPrometheus/commit/31d6964f7240125b07235a1f75e2601dbea74680. Though I'm still not sure how to handle this. I know for a fact that Vapor uses @_exported a lot. I also think that in this specific usecase, it doesn't have many of the drawbacks it normally gives you.
The reason I separated the two is because I don't want to pressure people into using the swift-metrics APIs becuase in my case, the standalone Prometheus APIs give you more power.
Curious to hear input on this though. CC @weissi

Usually, I'd say I agree with @ktoso that one module would probably be better. But the point @MrLotU makes sense (that there might be users who need more power than the 'currency API' gives you).
Regarding the @_exported import: What exactly are the things that you would need to have exported? I thought unless you're a special prometheus power-user you'd just live off the API that SwiftMetrics gives you?
So what I was thinking (please correct me if I'm wrong), you'd do in your main.swift
import Metrics
import PrometheusMetrics

PrometheusMetrics.bootstrap(....)

but in all other files, you'd just do
import Metrics

// use the metrics

So rephrasing the question: If you are the "normal" case and you want to use SwiftMetrics with Prometheus as a backend, why would you ever want any of the symbols from Prometheus?

Usually, I'd say I agree with @ktoso that one module would probably be better. But the point @MrLotU makes sense (that there might be users who need more power than the 'currency API' gives you).

There seems to be a misunderstanding here I think?
It can be:

1 module
swift-metrics handler implementations
the PromCounter et al types
users pick whichever they

And users should:

use the powerful apis if they want, sure!
do bootstrap the

If you are the "normal" case and you want to use SwiftMetrics with Prometheus as a backend, why would you ever want any of the symbols from Prometheus?

There is no one "normal case" I'd argue, there are two:

a library; never even has access to Prometheus -- uses SwiftMetrics
an end user app:

should bootstrap PrometheusMetrics.bootstrap(....)
MAY want to use the PromGauge types in some places, since e.g. it provides add/sub which SwiftMetrics does not ( https://github.com/apple/swift-metrics/issues/36 ), or similar "has more features" cases
in other places is totally fine with plain Counter etc, since those sources are then maybe easier to rip into mini libraries etc etc.

Usually, I'd say I agree with @ktoso that one module would probably be better. But the point @MrLotU makes sense (that there might be users who need more power than the 'currency API' gives you).

There seems to be a misunderstanding here I think?
It can be:

1 module
swift-metrics handler implementations
the PromCounter et al types
users pick whichever they

And users should:

use the powerful apis if they want, sure!
do bootstrap the

If you are the "normal" case and you want to use SwiftMetrics with Prometheus as a backend, why would you ever want any of the symbols from Prometheus?

There is no one "normal case" I'd argue, there are two:

a library; never even has access to Prometheus -- uses SwiftMetrics

an end user app:

should bootstrap PrometheusMetrics.bootstrap(....)
MAY want to use the PromGauge types in some places, since e.g. it provides add/sub which SwiftMetrics does not ( apple/swift-metrics#36 ), or similar "has more features" cases
in other places is totally fine with plain Counter etc, since those sources are then maybe easier to rip into mini libraries etc etc.

@ktoso Yes, you're totally right, agree with you. I was worried about the 'pollution' of the namespace by having both the Prometheus APIs as well as the 'Prometheus for SwiftMetrics boostrapping' bits imported. However I think that concern is mostly moot because there are two cases:

user uses the SwiftLog API (the "normal" case): apart from one file (where they bootstrap), they only ever import Metrics, so they wouldn't see the direct Prometheus APIs
they are a power Prometheus user and use the Prometheus APIs directly: The pollution is restricted to just one function (the Prometheus.bootstrap function) which is acceptable.

So in hindsight I think this should just be one module.

Gave this a whirl at #9, if someone's already working on this I'm happy to defer to that!

Awesome work on #9 ! I left a review there. @ktoso @weissi I would greatly appreciate if the two of you could also give it a quick look 😄


upgrade steps?

couldn't find them in the readme.

https://github.com/chainpoint/chainpoint-node/wiki/Frequently-Asked-Questions#how-do-i-upgrade-a-node


remove third-party DelegatedShare

Codecov Report
Base: 79.51% // Head: 81.33% // Increases project coverage by +1.81% :tada:

Coverage data is based on head (6fff994) compared to base (157a718).
Patch has no changes to coverable lines.

:exclamation: Current head 6fff994 differs from pull request most recent head c920b9f. Consider uploading reports for the commit c920b9f to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
+ Coverage   79.51%   81.33%   +1.81%
==========================================
  Files           3        3
  Lines          83       75       -8
  Branches       23       19       -4
==========================================
- Hits           66       61       -5
+ Misses         17       14       -3

Impacted Files
Coverage Δ

contracts/RewardableDelegationPod.sol
100.00% <ø> (+8.10%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


GPU requirements OOM

Hi,
Just wanted to get some insights why this model takes up so much GPUs as compared to other projects like MultiNERF? Even with fp16 it is really compute hungry. Just wanted to understand from the curiosity perspective. Any leads are appreaciated.

Unclear which subproject you are referring to.


add sendable to support concurrency

Sendable is Swift's way of handling concurrency
After enabling strict checking I noticed some places in the codebase that had this warning
Since a lot of the libraries we are using haven't enforced the sendable protocol, I silenced those warnings by adding preconcurrency.
We still have a potential concurrency error with how we handle performInitialNavigationSetup.
Here's the reference for this https://developer.apple.com/documentation/swift/sendable

Hey @angiemugo , what's the concurrency issue with @performInitialNavigationSetup?

Hey @angiemugo , what's the concurrency issue with @performInitialNavigationSetup?

Instance methods of non-Sendable types cannot be marked as '@Sendable'; this is an error in Swift 6 we have this warning. Navigation Model type is unsafe and prone to data races. Off the top of my head, I would want to isolate it to its own actor and not expose NavData to be mutated the way we are right now.


HUGE PROBLEM

OK so I have a huge problem iphone 7 is not supported lol jk.
Ok real problem, there is no where to donate to such a wonderful and dedicated man.

Not code related #162 #64

Donate to a charity of your choice.

Close this please

Whoa there guys, @natezoom wants to donate to @kpwn and not a charity.


vagrant box remove leaves backing store image in libvirt

BTW, Excellent plugin.
This issue may be more of a request for a warning for the user.  I am using Opensuse 13.2 with vagrant 1.7.2, libvirt 1.2.9 and vagrant-libvirt 0.0.26.  I had been using Kiwi to generate Vagrant boxes and could not figure out why my vm was missing the changes after a 'vagrant up'.
Running
vagrant box add Vagrant-box.json
does not create the base image in the libvirt pool.  Once I ran vagrant up for a simple configuration, both the original box is pushed to libvirt and a new image is created for this configuration.  This image uses the original image as a qcow2 backing store.  This is ideal.
Now, my original box wasn't ideal so I regenerated a new box with Kiwi.  I then run
vagrant destroy
vagrant box remove Vagrant-box
The problem is that the vagrant destroy removes the image in libvirt pool for the actual vm, but the vagrant box remove does not remove the original image used as a backing store.  When I do a subsequent
vagrant box add Vagrant-box.json
I believe I have added a new base image, but this is not the case.  I repeated this twice to verify.  As a result, I kept looking for the problem elsewhere until I started mounting qcow2 images to figure out what was happening.
I'll guess that you may not want to remove a base image from the libvirt pool since other images could be using it.  For that, I would ask that vagrant box remove give a warning that the base image in the libvirt pool is not removed.  Another possibility is having vagrant box add fail if the image already exists.    The workaround is virsh vol-delete --pool default <Base_Image.img>.  However, either of those warnings would have helped.

thansk. it is in progress.

https://github.com/pradels/vagrant-libvirt/issues/85

looks like any solution of this issue will generate more problem. so -any new ideas and comments to issue n85

Hi Pronix,
I was simply hoping for an exception if the box already exists and does not match the same box in the ~/vagrant.d directory.  In handle_box_image.rb line 137, the return is searching for the matching volume and will not upload the new image.  I don't know if libvirt exposes file sizes of images (not perfect, but an improvement over the current situation).  Raising an exception based on a failed image comparison just prior to the find_matching would do the trick.  Or simply removing the image from libvirt if the comparison fails and let the rest of the logic work as normal.
If removing the image causes cascading failures and other issues, then a message "Basebox image mismatch - use "virsh vol-delete image"  would be helpful.  Sorry that I didn't see issue #85.
Eric

i will check version. Should be helpful
On 1 May 2015 19:41, "swiftgist"<EMAIL_ADDRESS>wrote:

Hi Pronix,
I was simply hoping for an exception if the box already exists and does
not match the same box in the ~/vagrant.d directory. In handle_box_image.rb
line 137, the return is searching for the matching volume and will not
upload the new image. I don't know if libvirt exposes file sizes of images
(not perfect, but an improvement over the current situation). Raising an
exception based on a failed image comparison just prior to the
find_matching would do the trick. Or simply removing the image from libvirt
if the comparison fails and let the rest of the logic work as normal.
If removing the image causes cascading failures and other issues, then a
message "Basebox image mismatch - use "virsh vol-delete image" would be
helpful. Sorry that I didn't see issue #85
https://github.com/pradels/vagrant-libvirt/issues/85.
Eric
—
Reply to this email directly or view it on GitHub
https://github.com/pradels/vagrant-libvirt/issues/350#issuecomment-98185089
.


'Clean' PKCS7 print_certs without the subject= & issuer= text lines

Please could you consider a 'clean' version of print_certs that only outputs the encoded certificate data, without adding the subject= & issuer= text lines before each encoded certificate block?
openssl.exe pkcs7 -print_certs -in CAChain.p7b -out CAChain.cer
The print_certs output for OpenSSL 3.0.0 7 sep 2021 is like this:
subject=DC = com, DC = domain, CN = InterCA
issuer=CN = RootCA
-----BEGIN CERTIFICATE-----
MIIGOzCCBCOgAwIBAgITZAAAAAhW1x9LPsw9uAABAAAACDANBgkqhkiG9w0BAQ0F
ADAWMRQwEgYDVQQDEwtNb211c1Jvb3RDQTAeFw0yMTAzMDUxMTM5MjhaFw00MTAz
~~
VMcF0teVDY1SgDyKhOEGn51jd3/9nVGLH+ck7Z7CzGAHwCRKAJjo2LcqzxC636Jc
HIiLRoD6DbEZYO1BvzFz
-----END CERTIFICATE-----

subject=CN = RootCA
issuer=CN = RootCA
-----BEGIN CERTIFICATE-----
MIIFMDCCAxigAwIBAgIQObxqmJ06R5ROVDx+9QHPFjANBgkqhkiG9w0BAQ0FADAW
MRQwEgYDVQQDEwtNb211c1Jvb3RDQTAgFw0yMTAzMDUxMTEzMjNaGA8yMDUwMTIy
~~
XjMus6H50cB0GZWzKJc87SgTi+4X484bjHyuMtFhsdisEukkYFxQ+6fsdX7qNU8A
/GZDXYQvybS7gxf2desxCEedxecMVrGH2isp+37/uMP+lndo
-----END CERTIFICATE-----

The  'clean' version would be simply:
-----BEGIN CERTIFICATE-----
MIIGOzCCBCOgAwIBAgITZAAAAAhW1x9LPsw9uAABAAAACDANBgkqhkiG9w0BAQ0F
ADAWMRQwEgYDVQQDEwtNb211c1Jvb3RDQTAeFw0yMTAzMDUxMTM5MjhaFw00MTAz
~~
VMcF0teVDY1SgDyKhOEGn51jd3/9nVGLH+ck7Z7CzGAHwCRKAJjo2LcqzxC636Jc
HIiLRoD6DbEZYO1BvzFz
-----END CERTIFICATE-----

-----BEGIN CERTIFICATE-----
MIIFMDCCAxigAwIBAgIQObxqmJ06R5ROVDx+9QHPFjANBgkqhkiG9w0BAQ0FADAW
MRQwEgYDVQQDEwtNb211c1Jvb3RDQTAgFw0yMTAzMDUxMTEzMjNaGA8yMDUwMTIy
~~
XjMus6H50cB0GZWzKJc87SgTi+4X484bjHyuMtFhsdisEukkYFxQ+6fsdX7qNU8A
/GZDXYQvybS7gxf2desxCEedxecMVrGH2isp+37/uMP+lndo
-----END CERTIFICATE-----

Thanks
M

The fix for this was merged so I think this can be closed.


adding web.config to repo

no secrets, and removed only difference between servers

I put the Server header up another level in IIS, so now the server configs are identical. Since there are no secrets - because we don't need database access - we can add this to our public repo.


Malformed version number string raised in sort_versions

I have a container with tags
["latest", "test-stash-68ec25", "test-stash-862ece"]

which causes the sort_versions function to raise
16:08:09 web.1  | 2017-04-21 16:08:09 - ArgumentError - Malformed version number string -stash-68ec25:
16:08:09 web.1  |       /usr/local/lib/ruby/site_ruby/2.3.0/rubygems/version.rb:207:in `initialize'
16:08:09 web.1  |       /usr/local/lib/ruby/site_ruby/2.3.0/rubygems/version.rb:199:in `new'
16:08:09 web.1  |       /usr/local/lib/ruby/site_ruby/2.3.0/rubygems/version.rb:199:in `new'
16:08:09 web.1  |       /server.rb:81:in `block in sort_versions'
16:08:09 web.1  |       /server.rb:81:in `each'
16:08:09 web.1  |       /server.rb:81:in `sort_by'
16:08:09 web.1  |       /server.rb:81:in `sort_versions'
16:08:09 web.1  |       /server.rb:111:in `container_tags'

Removing the call to sort_versions from container_tags fixed this for me.

yea, that method is super fragile (only supports semantic versioned tags). I need to make it a bit more resilient to tags that aren't semver based.
Thanks for the bug report @slillibri, I'll see if I can find some time to fix that for you this week. (or you could send a Pull Request 😉 )

Hi, just to say I am also hitting this with tags named "2016.09_02", I tried to have a look if I could submit a Pull Request but I have no Ruby experience and doesn't look super easy having a quick glance of the sort_versions method.
However, might be only a small change, at least in my case - I guess it would be to restrict the valid_version_numbers regex to only match the semantic versioning you are talking about, and then append a naturally sorted version of whatever other tags are there - we chose ours intact so a natural sort would do the right thing, and from a quick Python trial I would guess Ruby would too :)
>>> versions = ["2017.02_07", "2016.01_03", "2016.10_02", "2017.01_14"]
>>> versions.sort()
>>> versions
['2016.01_03', '2016.10_02', '2017.01_14', '2017.02_07']

@elsmorian can you check with parabuzzle/craneoperator:2.1.5 and see if this is working now?

I can confirm I no longer hit this and the UI loads and populates fine, thanks very much for the update!
Our tags (as described above) are not being sorted, would be super handy to have even the non-semantic tags attempt to be sorted!

I have attempted https://github.com/parabuzzle/craneoperator/pull/34 which might help!?

fixed in 2.1.8.


Add new pictures & texts: Keep polling the API for messages & images frequently

This is an important one as well: the app should poll for new messages & texts several times (once per minute?)

Polls every 20 seconds

thanks, man !


Feat: Discover Answers: A Blog-Style FAQ

Describe the feature
@SUGAM-ARORA I want to make the FAQ page similar to that of blog page. Kindly assign this issue to me.
Add ScreenShots

Record

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

@Ojas-Arora Issue assigned to you


WIP: Client NG III

[x] define PrimaryClientModule interface
[ ] Build transaction funding/change functionality
[ ] Also expose it via the global context so state machines can generate refund txns

Codecov Report
Patch coverage has no change and project coverage change: -0.27 :warning:

Comparison is base (04bd696) 63.57% compared to head (42d7cff) 63.31%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1855      +/-   ##
==========================================
- Coverage   63.57%   63.31%   -0.27%
==========================================
  Files         136      136
  Lines       25896    26012     +116
==========================================
+ Hits        16464    16470       +6
- Misses       9432     9542     +110

Impacted Files
Coverage Δ

fedimint-client/src/lib.rs
100.00% <ø> (ø)

fedimint-client/src/module/mod.rs
6.25% <0.00%> (-35.42%)
:arrow_down:

fedimint-client/src/sm/executor.rs
76.35% <0.00%> (-2.23%)
:arrow_down:

modules/fedimint-ln-client/src/lib.rs
5.71% <0.00%> (-2.99%)
:arrow_down:

modules/fedimint-mint-client/src/lib.rs
5.71% <0.00%> (-2.99%)
:arrow_down:

modules/fedimint-wallet-client/src/lib.rs
5.71% <0.00%> (-2.99%)
:arrow_down:

... and 8 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


CircleAvatar image doesn't display in Android Emulator

Figure 1： my code,
Figure 2：the problem，the second and third picture is not displayed,
gif 3：another page, I found that the image was covered by the page and could not be scrolled
the link can't work for me https://github.com/flutter/flutter/commit/0b389fc92e6cd81c4207aa3efcfc3bbf8251c65c
my Flutter version: 0.8.2

Please add the output of flutter doctor -v.

What emulator are you using? Have you tried on a different device or emulator?

i'm trying

What emulator are you using? Have you tried on a different device or emulator?

just now, I have tried device: ONE PLUS 3T and xiaomi 5, CircleAvatar image can work.
but the two emulator in the image below, CircleAvatar image cannot be displayed.

What emulator are you using? Have you tried on a different device or emulator?

just now, I have tried device: ONE PLUS 3T and xiaomi 5, CircleAvatar image can work.
but the two emulator in the image below, CircleAvatar image cannot be displayed.

Thanks a lot for checking!

https://github.com/flutter/flutter/issues/22952#issuecomment-428992385 might be worth a try

This isn't reproduced on

flutter doctor -v
[√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [Version 10.0.19041.84], locale en-US)
    • Flutter version 1.12.13+hotfix.8 at C:\Code\flutter_stable
    • Framework revision 0b8abb4724 (4 weeks ago), 2020-02-11 11:44:36 -0800
    • Engine revision e1e6ced81d
    • Dart version 2.7.0

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Code\SDK
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = C:\Code\SDK
    • Java binary at: C:\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    • All Android licenses accepted.

[√] Android Studio (version 3.6)
    • Android Studio at C:\Code\android-studio
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] VS Code (version 1.43.0)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.8.1

[√] Connected device (1 available)
    • SM M305F • 32003c30dc19668f • android-arm64 • Android 10 (API 29)

• No issues found!

Code Sample
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Material App',
      theme: ThemeData.dark(),
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Material App Bar'),
      ),
      body: Center(
        child: CircleAvatar(
          radius: 50.0,
          backgroundImage: NetworkImage("https://i.imgur.com/C5xknx8.png"),
        ),
      ),
      floatingActionButton: FloatingActionButton(
        child: Icon(Icons.add),
        onPressed: () {},
      ),
    );
  }
}

if you're still experiencing this problem, please create a new issue and provide the information required in the template.
Thank you


feat(build): testing build

Issue #, if available:
Description of changes:
-Testing build
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 66290878ffc38e2d7d746184c2ea3bbc6aa8106d
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v1
Commit ID: 66290878ffc38e2d7d746184c2ea3bbc6aa8106d
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Adding some integration tests

Just a start at creating integration tests.

@alteryx-sezell In order to add a github action, refer to .github/workflows/quality-checks.yml within this file, there are "jobs" that are defined. These jobs can either run in parallel (black-lint, flake8-lint, and pydocstyle-lint), or can be dependent on some other job being successful before it runs (unit-test needs clause).
I imagine the integration test job would look just like the unit-test job, but would be reliant on the unit test job completing and would come right after it.


Bug in ValidationSequence of if-then-else

Describe the bug
IfKeyword, ThenKeyword and ElseKeyword all have the same ValidationSequence value. This means, that then and else might be validated before if (if they appear earlier in the document), will silently valid regardless of if, and then the whole schema is always valid.
To Reproduce
using Manatee.Json;
using Manatee.Json.Schema;
using Manatee.Json.Serialization;
using System;

using ManateeJsonSerializer = Manatee.Json.Serialization.JsonSerializer;

namespace test
{
    class Program
    {
        static void Main(string[] args)
        {
            var val = JsonValue.Parse(@"
{
   ""else"": {
     ""required"": [""b""]
   },
   ""then"": {
     ""required"": [""c""]
   },
   ""if"": {
     ""required"": [""a""]
   }
}");
            var ser = new ManateeJsonSerializer();
            var schema = ser.Deserialize<JsonSchema>(val);
            var js = new[]
            {
                @"{""a"": 1, ""c"": 2}",
                @"{""b"": 1, ""c"": 2}",
                @"{""b"": 1}",
                @"{""a"": 1, ""b"": 2, ""c"": 3}",
                @"{""a"": 1, ""b"": 2}",
                @"{""a"": 1}",
            };
            foreach (var j in js)
            {
                SchemaValidationResults validationResult = schema.Validate(JsonValue.Parse(j));
                Console.WriteLine("{0}: {1}", j, validationResult.IsValid);
            }
        }
    }
}

Should print False on the last two jsons, prints True for all of them.
Possible Fix
Bump ThenKeyword and ElseKeyword to have ValidationSequence value of 2. Could this interfere with any other "2's"? I don't think so.
I can draft a PR if wanted; I noticed there are no tests for if-then-else, this might be a good start :).

I think that's due to how I implemented it.  if actually validates everything. else and then don't actually do anything during validation.
So it works, just not how you might think.

First of all, thanks for pointing me to json-everything, I'll definitely take a look and perhaps switch! And thanks for all your work on these packages.
Regarding the bug, it's definitely there. As I mentioned above, the two last jsons in the example shouldn't validate (as they fulfil the if but not the then), but they do.
The implementation is divided among if, then and else: if validates and stores the result (as bool) in the context, and then then and else look for that result. If it matches their condition, then they validate; but if it's missing (because the if wasn't validated yet), they just skip. Looking at the code in json-everything, it seems quite similar, so I would expect this bug to appear there as well.

I've added a test (through much debate) to the test suite.
https://github.com/json-schema-org/JSON-Schema-Test-Suite/pull/437

I have created a v13.0.3 branch.  The fix should be merged into that, and then I can pull into master an publish.


bitcask may not work on Windows

File dead lock

Bitcask: Threads conflict using data/log files during log rotation on multi-thread operation
Badger does not have such issue on Windows.


not working with laravel 11

Problem 1
- league/glide-symfony 1.0.0 requires symfony/http-foundation ^2.3 -> found symfony/http-foundation[v2.3.0, ..., v2.8.52] but these were not loaded, likely because it conflicts with another require.
- league/glide-symfony[1.0.1, ..., 1.0.2] require symfony/http-foundation ^2.3|^3.0 -> found symfony/http-foundation[v2.3.0, ..., v2.8.52, v3.0.0, ..., v3.4.47] but these were not loaded, likely because it conflicts with another require.
- league/glide-symfony 1.0.3 requires symfony/http-foundation ^2.3|^3.0|^4.0 -> found symfony/http-foundation[v2.3.0, ..., v2.8.52, v3.0.0, ..., v3.4.47, v4.0.0, ..., v4.4.49] but these were not loaded, likely because it conflicts with another require.
- league/glide-symfony 1.1.0 requires symfony/http-foundation ^2.3|^3.0|^4.0|^5.0|^6.0 -> found symfony/http-foundation[v2.3.0, ..., v2.8.52, v3.0.0, ..., v3.4.47, v4.0.0, ..., v4.4.49, v5.0.0, ..., v5.4.35, v6.0.0, ..., v6.4.4] but these were not loaded, likely because it conflicts with another require.
- league/glide-symfony[1.0.4, ..., 1.1.1] require symfony/http-foundation ^2.3|^3.0|^4.0|^5.0 -> found symfony/http-foundation[v2.3.0, ..., v2.8.52, v3.0.0, ..., v3.4.47, v4.0.0, ..., v4.4.49, v5.0.0, ..., v5.4.35] but these were not loaded, likely because it conflicts with another require.
- league/glide-laravel 1.0.0 requires league/glide-symfony ^1.0 -> satisfiable by league/glide-symfony[1.0.0, ..., 1.1.1].
- Root composer.json requires league/glide-laravel * -> satisfiable by league/glide-laravel[1.0.0].

Wrong repo, please see https://github.com/thephpleague/glide-laravel


Property status in LogisticsGoodsReceiptById, version 3.0.0

Enumeration Cancelled is missing for property status in LogisticsGoodsReceiptById.
GoodsReceiptStatusType in papiNet xml has the following enumerations

Cancelled
Original
Replaced

OK, let's add the enum (enumeration) value Cancelled to LogisticsGoodsReceiptById.status.

Done, see commit f1ce32f.
@larsolofsson please close this issue if you agree with the updates.

However, this will be overwritten later by the result of issue #177.


Add kubelayer from JekyllPreview

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

94 of 120 (78.33%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+6.02%) to 68.454%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/kubelayer/kubelayer.go
94
120
78.33%

Totals

Change from base Build<PHONE_NUMBER>:
6.02%

Covered Lines:
217

Relevant Lines:
317

💛  - Coveralls


panic  when we try to get the redis result as some specific datatype

I am looking into this library to use it in one of my projects and i found that when we do client.Do operation and it returns RedisResult and when we use redisResult.AsBool() this return bool value of the result or error but when i looked into the method i found that when result is not actually bool the program will panic as i found at message.go#615.
I found this and i found it is a bad practice.
The method is already sending the error so we can easily return error why panic?
Is there any reason?
I also looked at the Command Response Cheatsheet but still, mistakes happen and for that program should not panic instead error should be returned and it will be handled by the library user and then he will find out that response of redis is not in the data type they wished for.
Please  answer if it's a valid question
Otherwise i found this package amazing and loved the command builder you guys have provided also looking into other features

Hi @smit245,
As you mentioned, using functions like AsBool() to parse a mismatched response data type is a programming mistake. That is exactly the reason why we make it panic instead of returning an error.

I was also burned by this multiple times. Often, this happens in DoMulti calls where the order of the results is important. Testing doesn't help much because mocked rueidis is controlled by the programmer. It might return wrong result types that happen to match the expectations of the code you're testing.
I think this should be changed to returning an error. It is a programming mistake, but it happens at runtime and causes outages in the worst case if panic is not recovered. At least with errors it allows code to continue to run and defers the problem to metrics/logs to notify the user about buggy behaviour.
And it's simply not idiomatic. Library code should panic only in very rare cases. It makes sense to panic in constructors to terminate the application before it even launches. Standard library even does this and it's ok usually. But panicking later is bad practice in almost all cases.

I've also run into issues with panics during development, where I wasn't sure what type method to use on RedisResult values. I do think the panic's shouldn't be too bad of a problem once you figure it out in development and I personally wouldn't rely on this proposal.
I was thinking making this behavior configurable could be done by adding a command before the final type method
Something like this
Add a noPanic boolean that determines if it should not panic (false by default, keep current behavior)
type RedisResult struct {
	err error
	val RedisMessage

	noPanic bool
}

add a NP (No Panic) method to RedisResult that sets the noPanic value to true
func (r RedisResult) NP() RedisResult {
	r.noPanic = true
	return r
}

a handle panic method that can be put into any RedisResult method that panics
func (r RedisResult) handlePanic(err error) error {
	if e := recover(); e != nil {
		err = e.(error)
	}
	return err
}

Example of its potential usage in ToArray
// ToArray delegates to RedisMessage.ToArray
func (r RedisResult) ToArray() (v []RedisMessage, err error) {
	if r.err != nil {
		err = r.err
	} else {
		v, err = r.val.ToArray()
	}
	if r.noPanic {
		err = r.handlePanic(err)
	}
	return
}

And then finally, in application code we can do this. This will ensure the error is recovered from the panic and returned in the err value
values, err := c.Do(ctx, c.B().Mget().Key("k1", "k2").Build()).NP().ToArray()

Does this seem like a workable solution to prevent panics while not having to break existing behavior with current users? It would be opt-in for anyone that wants to use the no panic behavior

Hi @kevinxmorales, thank you for the proposal. But I think it will be better to use a global environment variable to toggle the behavior instead, because people may not want to change their code when it panics on production.

@rueian
I have an option,
If you have seen some packages of golang like entgo they have provided methods with X suffix which does not return error instead panics.
Like if the meth is Get() then the panicking verson of method is GetX().

To summarize, we have three proposals now:

client.Do(ctx, cmd).NP().AsBool()
client.Do(ctx, cmd).NP().AsBoolNP()
An implicit global env toggle

What about just adding new option to ClientOption? Something like NoPanics. Ideally, no panics should be the default but that would be backwards incompatible.

What about just adding new option to ClientOption? Something like NoPanics. Ideally, no panics should be the default but that would be backwards incompatible.

I thought about that too, but I realized that it also requires code changes to toggle the behavior if users know nothing about the option before being bitten.

To summarize, we have three proposals now:

client.Do(ctx, cmd).NP().AsBool()
client.Do(ctx, cmd).AsBoolNP()
An implicit global env toggle

In addition, we can also enhance the rueidis mock to assert return types according to the cmds passed in.

The 1st one is good because it is backward compatible and easily usable.
Instead of NP() use NonPanic() so that everyone understands
Otherwise it

.AsBool() .MustBool(), .AsInt() .MustInt() etc. Prefixing Must* for asserting and panic'ing is a convention I've seen in a few projects. Probably a pattern worth considering.  Sounds a bit better than NP, NonPanic.

https://pkg.go.dev/github.com/jmoiron/sqlx#DB.MustBegin
https://pkg.go.dev/github.com/spf13/viper#MustBindEnv
I follow it here myself: https://github.com/knadh/koanf/blob/master/getters.go#L118.

Hi @knadh,
Prefixing Must* is a good convention for removing the error from the function signature entirely.
However, we still need errors to be returned here, such as redis errors and IO errors. Having a function with a Must* prefix but still returning an error may look weird:
func MustBool() (bool, error)

Hi @rueian, Did we end up deciding on the proposal here?
Also, Nice to see you here @knadh :)  big fan

After considering on this for several months, I now tend to adapt the original proposal: return an error instead of panic.
The proposal indeed simplifies everything.

Solved by #555


计算机领域学术排名

@唐杰THU: UCLA一个教授搞的计算机领域h-index最高的1000人，号称包括 1 个诺贝尔，34个图灵，73个美国工程院院士，19个科学院院士，335个acm fellow，183个ieee fellow （应该是一个人有多个头衔）

"the index h, defined as the number of papers with citation number higher or equal to h, as a useful index to characterize the scientific output of a researcher."

大清两人,Microsoft 38,CMU42,MIT29,Stanford33,Berkeley26,UIUC16,Cornell17,Princeton11,Gatech17,UAustin12,Caltech3,UWisc12,UCLA25,UM12,Columbia17,UCSD37,UMaryland14,Harvard5,UPenn7,Brown4,Purdue6,Rice7,USC15,Yale4,Duke6,Oxford5,Cambridge6,Toronto10,Google13

CSRankings.org 的计算机科学高校排名依据的是院校在计算机科学各领域顶级会议发表的论文数量。它将计算机科学分为了 4 个门类：AI、Systems、Theory、Interdisciplinary Areas。在 AI 这一门类下，我们查询了世界范围内、亚洲范围内、美国以及欧洲的高校排名情况。在世界范围内，清华大学排名第4，CMU 居榜首。在亚洲范围内，6 所来自中国的高校进入了排名。【全球人工智能学科高校排名】CMU居榜首，清华大学第4

IEEE昨天公布了2018年的Fellow名单，一共新增296名Fellow，其中华人80位、中国大陆17人。
当选的中国大陆 Fellow 分别来自10 所中国大陆的大学和研究机构，其中清华大学共有5人当选，上海交通大学3人、北京大学1人、华中科技大学2人、西安交通大学1人、中科院微电子所1人、吉林大学1人、西安电子科技大学1人、中国科学院大学1人、上海微系统与信息技术研究所1人

笔者限于研究方向只对以下三人感兴趣：

清华 Tong Zhou
上海交大 Xinping Guan
上海交大 Minyi Guo

Sanu Mathew
Intel Corporation
Hillsboro, OR, USA

for leadership in computer arithmetic datapath and security circuits

https://www.ieee.org/membership_services/membership/fellows/2017_elevated_fellows.pdf

https://www.ieee.org/membership_services/membership/fellows/2016_elevated_fellows.pdf
Alan Gatherer
Huawei
Plano, TX, USA

for contributions to systems-on-chip for 3G and 4G cellular systems

Shih-Lien Lu
Intel Corporation
Portland, OR, USA

for contributions to low-voltage microarchitecture and approximate computing

Shugong Xu
Intel Labs Research
Santa Clara, CA, USA

for contributions to the improvement of wireless networks efficiency

Ronald Azuma
Intel Laboratories
Santa Clara, CA, USA

for contributions to augmented reality

Henning Braunisch
Intel Corporation
Phoenix, AZ, USA

for contributions to high-bandwidth microprocessor packaging

https://www.ieee.org/membership_services/membership/fellows/2016_elevated_fellows.pdf
Alan Gatherer
Huawei
Plano, TX, USA

for contributions to systems-on-chip for 3G and 4G cellular systems

Shih-Lien Lu
Intel Corporation
Portland, OR, USA

for contributions to low-voltage microarchitecture and approximate computing

Shugong Xu
Intel Labs Research
Santa Clara, CA, USA

for contributions to the improvement of wireless networks efficiency

Ronald Azuma
Intel Laboratories
Santa Clara, CA, USA

for contributions to augmented reality

Henning Braunisch
Intel Corporation
Phoenix, AZ, USA

for contributions to high-bandwidth microprocessor packaging

https://www.ieee.org/membership_services/membership/fellows/2015_elevated_fellows.pdf
Frank Effenberger
Huawei Technologies, Inc.
Bridgewater, NJ, USA

for contributions to passive optical networking standards and technology

Ravishankar Iyer
Intel Corporation
Hillsboro, OR, USA

for contributions to computer architecture and cache/memory systems

Hong Jiang
Intel Corporation
Santa Clara, CA, USA

for leadership in parallel multimedia computing architectures and systems

Debendra Mallik
Intel Corporation
Chandler, AZ, USA

for contributions to microprocessor packaging

Christopher Auth
Intel Corporation
Hillsboro, OR, USA

for contributions to strained silicon transistor technology

$ cat 201*-contributions.txt | grep "education"
[2015]for contributions to mixed-technology micro-systems education
[2015]for professional leadership and contributions to engineering education
[2015]for contributions to entrepreneurship in engineering education
[2015]for contributions to international development of engineering education
[2016]for leadership in increasing student interest in STEM education
[2016]for contributions to engineering education research
[2016]for contributions to signal processing education, algorithms for adaptive filtering, and hyperspectral imaging
[2016]for contributions to active learning methods in engineering education
[2016]for contributions to computer science and electrical engineering education
[2017]for contributions to education in renewable energy integration and smart grid
[2017]for contributions to engineering education through international technical competitions
[2017]for contributions to education in power systems and application of power electronics
[2017]for leadership and contributions to power engineering education
[2017]for leadership in defense technology and management of educational institutions
[2018]for educational contributions to electromagnetic compatibility and reverberation chambers
[2018]for contributions to expanding minority participation in power systems education
[2018]for contributions to global on-line engineering education
[2018]for contributions to education in power system modeling and protection
[2018]for advancements in computer science education

[2015]for contributions to software measurement and product line engineering
[2015]for contributions to virtualization technologies in adaptive and parallel computing
[2015]for contributions to discrete event systems for resource allocation

[2017]for contributions to computational algorithms for kernel methods
[2017]for contributions to computer systems resource utilization and efficiency

[2018]for contributions to the theory and applications of hard real-time multicore computing
[2018]for contributions in computer architecture performance analysis and modeling
[2018]for contributions to reservation-based real-time scheduling

胡向东
计算机系统结构
国家高性能集成电路（上海）设计中心

“申威410”四核64位通用处理器 中标麒麟操作系统

孙凝晖
计算机系统结构
中国科学院计算技术研究所

曙光一号并行计算机
计算所-华为联合实验室

吴汉明
微电子技术
芯创智（北京）微电子有限公司

芯创智（北京）微电子

郑纬民
计算机系统结构
清华大学

《计算机系统结构(第二版)》

https://www.ccf.org.cn/tc/zwmd/txjg/


Added a problem plusminus

I think this PR can be closed.

I think this PR can be closed.

Thanks @cclauss.


Unified framework product name

In #487 I added a Cocoa framework target. At the time, I chose TyphoonOSX as the target/scheme name, since I didn't know any better. This has a downside: OS X developers have to use
import TyphoonOSX instead of just import Typhoon, which can be confusing.
I've seen from other examples that it's unnecessary for the iOS/Mac frameworks to have a separate product name, so I changed the Cocoa framework's name to be Typhoon as well. This way, the import statement is the same on both platforms. I have also removed the unnecessary artifacts (extra header, Info.plist)
I know that the product name thing is not a huge change, but it is definitely less confusing for developers.
This change also appears to help with #459: I've successfully integrated Typhoon in a test project using Carthage. To verify this, just run carthage build --no-skip-current from the project folder (it might take a while, just let it sit there).

Wow! That sounds awesome! :clap:  I'll review and merge soon


Replace maxflow implementation for licence compatibility purposes

As shown in the current version of this repo, the maxflow implementation is based on v3.04 of Yuri Boykov and Vladimir Kolmogorov code (see https://pub.ist.ac.at/~vnk/software.html):
https://github.com/masadcv/torchmaxflow/tree/eb1feb192dff053890d005c7c396b6dd11f3e7ba/torchmaxflow/maxflow-v3.04.src
The code is licensed under GPL which is incompatible with the permissive licence used in this repo:
https://github.com/masadcv/torchmaxflow/blob/main/LICENSE
Other implementation of the Boykov-Kolmogorov maxflow algorithm exist, e.g. in OpenCV and Boost. These have been wrapped for exmaple here:
https://github.com/luiscarlosgph/grabcut/tree/main/inc/grabcut

This has been resolved. I was able to use OpenCV v2.4 version of graphcut. Since it is also BSD-3 clause license, it is in-line with this library.

Nice. From what I can see, the code is essentially the same in the latest version of OpenCV:
https://github.com/opencv/opencv/blob/4.x/modules/imgproc/include/opencv2/imgproc/detail/gcgraph.hpp
A diff
https://www.diffnow.com/report/x4ptn
shows that you may only need to add 2 asserts here:
https://github.com/masadcv/torchmaxflow/blob/551aa0915fddb7234b0b1be3a9249df66a6e5644/torchmaxflow/graphcut.h#L167-L170
to be on par with the latest OpenCV:
https://github.com/opencv/opencv/blob/9aa647068b2eba4a34462927b1878353dfd3df69/modules/imgproc/include/opencv2/imgproc/detail/gcgraph.hpp#L155-L160
You can then update your README to reassure people that this is the same as recent OpenCV.

Many thanks for detailed overview of changes required! I somehow missed this path in latest opencv.
All updated now!


Create UKD-UKD-S6 (C WP3.4) six month plan for Oct'24 to March'25

Review

[x] In plan to Mar'24

what worked well?
what did not work well?
what can we improve?
what should we keep?
what should we drop?

[x] Review of WP brief objectives

[x] Review of SRD

[x] Review Risk/Opportunities Register

Planning

[x] Review previous 6 month plan kanban
* close tickets, remove duplicates as necessary
[x] Shift any outstanding tickets from previous plan if appropriate
[x] Update the release kanban for the 6 month period
[x] Add Rubin in-kind reporting tasks
[ ] Add Commissioning tasks
[ ] create tickets for latest 6 month objectives if necessary
[ ] Identify any  task/ milestone/ deliverable dependencies with other LSST:UK WP tasks.
* Note any such dependencies on relevant Kanban tickets

08/OCT/24

see WP wiki page for mins of six month review

22/OCT/24

tickets moved into next 6 month period