Unmatching taproot addresses between sparrow and hiro

Bug report
The user C҉Y҉B҉E҉R҉ D҉E҉M҉O҉N҉ 6.6.69 has been trying to import his 12 word seed phrase into hiro but the generated taproot addresses don't match what they see in sparrow for some reason they provided these details and that the same happened in xverse as well
I copied the xpub key from the screen shots here hope this helps in any way
xpub6Bi5rtkW36GeL1RPeGxZGEgP1HpjfeUqbuA58JHbENftwV5NpcbjvBfw325NUHxLnmmHGNagxZ1VvSDgD45u9aAyRbTSnK7txsP3eLeUJyR

Here are the addresses in the Addresses tab that they are on

Here are my wallets settings, and where I click to view the seed to import into Hiro

I then import the 12 word seed phrase into Hiro
But none of the accounts line up with the addresses from Sparrow and it shows no BTC balance or inscriptions in any of them
I can even "View Secret Key" and confirm that it is the exact same seed phrase from Sparrow
I made more accounts in Hiro to see if any inscriptions would show up but they dont.  And the addresses it generates do not match my sparrow addresses containing inscriptions.  The addresses Hiro generates are as follows:
bc1pu5dy2zr0csmvk20p0n0hlxtdgmdgra0fh2v7xstl03s5w2lrp35qjv2y2n
bc1pw9ylsux5n8dgyjxm5yx7055zdv4zhnu2nu4zm072s86q8l68t9gql3l7kx
bc1pxkla9lv2qpvq569tcau5jp2xr9nl69wx2ppqwjxskmazlv7p2klqldk89f
bc1puhekm4zg4yctgr36vqcj07e64xhfjdkxuugxxrscvc2aqljg7c7svztseu
bc1pdx2w248wsr8dhe0sdtamt3v2qmyscuzpjzzrutwr0pxnqgar2jyqk04r9v
And those are the ordinals receiving addresses (not the regular BTC addresses).  Copied from here:

But neither the accounts' ordinals addresses nor regular BTC addresses line up with what's in sparrow
I hope that is enough info to start troubleshooting
And here are the addresses from my Sparrow wallet that contain inscriptions, which dont appear in Hiro (in case you need to copy/paste them):
bc1p9gjlk7h0j9235crals0k85mgavjup2xfu4ng6tc7kwdrrdwm24nquueasj
bc1pvcn5j22x38hsv9w5kvx9rc0cswdlge4hylz0dkz3664rhyju8djqsmd5zy
bc1p7jy0vvzknzu7enhquuj4w72ygeyzslvhj26h80jsjeds0y7t2hdsx4xhwl
bc1pt98fkm9zqfcqjrrydzx8ha78y7qw0trhkqlmpvhzgtr9xgx6xpksuq6rys
bc1pra9dj2lqmpx8dpu5sdhpahhrujfauh2a4hjhdeqzm2dd7usndwjq434mjj

I tested now with a 12 word

I think it's quite likely the user entered a passphrase, which will yield different keys:

Closing as not a wallet bug

Confirmed on Discord this user indeed had a passphrase


a problem occurred when trying to clone the repository.

On running the command
git tfs clone http://your-tfs-server:8080/tfs/your-collection $/your-tfvc-repo
Got the below error message
2019-10-04 00:21:02.0283 [Debug] GitTfs.Core.GitTfsException: error: a problem occurred when trying to clone the repository. Try to solve the problem described below.
In any case, after, try to continue using command git tfs fetch
---> System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> There was an error generating the XML document. ---> Specified cast is not valid.
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.LoadWorkItem(Int32 id, Int32 rev, Nullable1 asof, IWorkItemRowSets& witem)    at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem..ctor(WorkItemStore store, Uri uri)    at Microsoft.TeamFoundation.VersionControl.Client.Changeset.get_WorkItems()    at GitTfs.VsCommon.TfsHelperBase.BuildTfsChangeset(Changeset changeset, IGitTfsRemote remote)    at GitTfs.VsCommon.TfsHelperBase.<GetChangesets>d__46.MoveNext()    at GitTfs.Core.GitTfsRemote.FetchWithMerge(Int32 mergeChangesetId, Boolean stopOnFailMergeCommit, Int32 lastChangesetIdToFetch, IRenameResult renameResult, String[] parentCommitsHashes)    at GitTfs.Core.GitTfsRemote.FindRemoteAndFetch(Int32 parentChangesetId, Boolean stopOnFailMergeCommit, Boolean mergeChangeset, IRenameResult renameResult, String& omittedParentBranch)    at GitTfs.Core.GitTfsRemote.ProcessMergeChangeset(ITfsChangeset changeset, Boolean stopOnFailMergeCommit, String& parentCommit)    at GitTfs.Core.GitTfsRemote.FetchWithMerge(Int32 mergeChangesetId, Boolean stopOnFailMergeCommit, Int32 lastChangesetIdToFetch, IRenameResult renameResult, String[] parentCommitsHashes)    at GitTfs.Core.GitTfsRemote.Fetch(Boolean stopOnFailMergeCommit, Int32 lastChangesetIdToFetch, IRenameResult renameResult)    at GitTfs.Commands.Fetch.DoFetch(IGitTfsRemote remote, Boolean stopOnFailMergeCommit)    at GitTfs.Commands.Fetch.FetchRemote(Boolean stopOnFailMergeCommit, IGitTfsRemote remote)    at GitTfs.Commands.Fetch.Run(Boolean stopOnFailMergeCommit, String[] args)    at GitTfs.Commands.Clone.Run(String tfsUrl, String tfsRepositoryPath, String gitRepositoryPath)    --- End of inner exception stack trace ---    at GitTfs.Util.GitTfsCommandRunner.Run(GitTfsCommand command, IList1 args)
at GitTfs.GitTfs.Main(GitTfsCommand command, IList1 unparsedArgs)    at GitTfs.GitTfs.Run(IList1 args)
at GitTfs.Program.Main(String[] args)
2019-10-04 00:21:02.0423 [Error] error: a problem occurred when trying to clone the repository. Try to solve the problem described below.
In any case, after, try to continue using command git tfs fetch

We are trying to clean up old/stale issues. As this issue hasn't seen any updates (or progress with pull requests) in quite a while, the issue will be closed. In case further information is provided, we can revisit that and reopen the issue again.


Is this project still being worked on?

Hi, i would love to contribute to this project (mainly a customizable config, so we can use different languages and time formats).
Would be great to know if this is still considered an active project.
Cheers!

@sphrases Hi, yes you can contribute to this project and I'll be glad to know you more.


added women safety laws documentation

corresponds to issue -> #4  @swapnilsparsh

@Sloth-Panda
Make the documentation in more systematic way as one photo is below the other and refork the code as you are using old repo.

@Sloth-Panda
Make the documentation in more systematic way as one photo is below the other and refork the code as you are using old repo.

@swapnilsparsh you want the 2 phtos to take full width then? Why I need to refork I can just update from upstream?

@swapnilsparsh you want the 2 phtos to take full width then? Why I need to refork I can just update from upstream?

@swapnilsparsh you want the 2 phtos to take full width then? Why I need to refork I can just update from upstream?

Fix the photos and rebase the code.

@swapnilsparsh you want the 2 phtos to take full width then? Why I need to refork I can just update from upstream?

Fix the photos and rebase the code.


Special case implementation of Expr that reduces to bool.

Hi!
Love the library. I am currently mapping my Expr<T> into Expr<bool> and would like to avoid providing a hashmap with true in it. Would it be an idea for something along the lines of the snippet below (naming tbd) to directly return a boolean?
impl Expr<bool> {
  pub fn evaluate_bool(self) -> bool {
    ...
  }
}

This would be cleaner (and maybe slightly faster) than
expr.map(|f| f.do_stuff()).evaluate(&[(true, true)].iter().cloned().collect())
// vs
expr.map(|f| f.do_stuff()).evaluate_bool()

Hi @arlyon,
I'm happy to add convenience APIs like this -- I can review a PR if you'd like to put one together! I might make the name slightly more descriptive: something like evaluate_with_bool_terminals() or something of the sort (if I understand correctly).
Just as a tangential thought, I wonder if an API like evaluate_with<F: Fn(T) -> bool>(&self, f: F) -> bool would make sense? (The function would provide the truth value for each variable.) This essentially would fold the map above into the evaluate and avoid constructing the intermediate Expr. It could even be the basis for evaluate() -- the hashmap lookup is just one possible closure to plug into the generic. Thoughts?

Hi @arlyon,
I'm happy to add convenience APIs like this -- I can review a PR if you'd like to put one together! I might make the name slightly more descriptive: something like evaluate_with_bool_terminals() or something of the sort (if I understand correctly).
Just as a tangential thought, I wonder if an API like evaluate_with<F: Fn(T) -> bool>(&self, f: F) -> bool would make sense? (The function would provide the truth value for each variable.) This essentially would fold the map above into the evaluate and avoid constructing the intermediate Expr. It could even be the basis for evaluate() -- the hashmap lookup is just one possible closure to plug into the generic. Thoughts?

evaluate_with sounds like a great idea.
I was also thinking about something (unrelated) like
impl<T> From<T> for Expr<T> {
  // Expr::Terminal
}

I'll open some PRs and we can continue discussion there. Thanks for the quick reply :)

evaluate_with sounds like a great idea.
I was also thinking about something (unrelated) like
impl<T> From<T> for Expr<T> {
  // Expr::Terminal
}

I'll open some PRs and we can continue discussion there. Thanks for the quick reply :)

Sounds good! The From impl seems reasonable as well.

Sounds good! The From impl seems reasonable as well.

This issue is closed with #13, #14 and #15, I think. I've bumped the version to 0.4.2 and published it to crates.io as well.
Thanks again for your contributions!

This issue is closed with #13, #14 and #15, I think. I've bumped the version to 0.4.2 and published it to crates.io as well.
Thanks again for your contributions!


Implement Kerberos authentication support for Hive Catalog

Change proposed

Introduce support for HMS behind kerberize environment, to enable this feature we need to add catalog config hive.kerberos-authorization=true

Resolves #135

Hi @Fokko I added new change as commented, could you help review it again
Also, As I tested more on HMS behind Kerberize we found out that it's required the thrift client to be re-create every time we open a new connection, So that the implementation was change a bit to handle this case. The mentioned change is in this commit https://github.com/apache/iceberg-python/pull/766/commits/a7b8b1c5daa8bdc9ed66153d224ea24e9c438d74

LGTM+1
I had something very similar to this patched locally. It would be good to get merged asap

Hi @yothinix do you mind rebasing with main? I think this is very close to being merged, I can work with you to get it through.

Hi @kevinjqliu Thank you for look into this PR, I just rebased the PR branch to latest main branch as requested.

It would be really great if this could make it into 0.8. :)


SPS Commerce Style Guide

Adding the SPS Commerce style guide and ruleset.

Thanks for sending this great style guide in!


can't import locust in jupyterlab

python:3.10.4
jupyterlab:3.4.0 and 3.4.2
ipykernel:6.13.0
no error reported and the ipykernel keep busy...

Maybe related to this? https://github.com/ipython/ipython/issues/4771
I dont think there is much for us to do, it is most likely a gevent / ipython issue.


When the view opened first-time show overlay with helpful info

Here I am trying to reflect on the user's feedback regarding the fact that the toggling of the exp for the plots is not clear.

The suggestion is to use overlays the first time the view has been opened.
In relation to https://github.com/iterative/vscode-dvc/issues/2373
EXPs

Plots

We are going in circle a bit. We discussed overlay already. Before we do them, let's try some other ideas. (e.g. space under the table, empty screent's etc)


make documentation for BACnet read, rpm, and write methods

make sure to include developer documentation for docker setup which is required for unit tests


Add support for DG11: optional attributes

Some countries including France fill the DG11 data group. See docs here.
It contains optional information like:

Place of birth
Permanent address
Telephone
Profession

It would be great to support disclosure of those attributes in the circuit. This would include:

In including DG11 when it's present in the commitment during registration
Revealing selectively some bytes of it during disclosure, like it's done with DG1

Hello @0xturboblitz I'm Daniel from Costa Rica! I have over 3 years of experience as a software engineer, I'm making my first contributions to OSS in web3 and blockchain projects, and I would like to help solve this issue! This is my 2nd ODHack!

Nice! dm me if you have any questions

@0xturboblitz sure! I think you forgot to assign me the issue btw

Hi, can you describe how you would tackle it before I assign it to you?

I am a complete beginner and I am curious where to start for ODHack issues > ?

Can I be assigned this issue? I’ll update the circuits to include the attributes as instructed both during registration/disclosure. I’ll send a draft pr within 24 hours. Thank you

Thank you  sir🙏🏾

Good day sir @0xturboblitz ,  sorry I’m just getting back to you. I started solving this but I got sick and had to stop(seriously sick). I’m still sick as I type this, please kindly reassign this issue to someone else.🙏🏾 I’ll take up another task in the next OD hack if I feel better by then. I apologize once more please. Thank you for understanding.

Closing it right now as:

It's quite low priority, we don't see good use cases now
Only some countries put this data
Adding DG11 to the commitment only when it's included would increase the complexity of the registration and disclosure circuits significantly


Add willEnterViewport method

This would be helpful to prep the element before it comes in to view. I wonder if one tracking viewport height above and below would be helpful to monitor this change.

Offsets are meant for this purpose. https://github.com/stutrek/scrollMonitor#offsets

👍


Residual print icon

@TheMarex - the print icon is showing here but disappears when you click the language button.

Fixed.


Create release/develop/coop shortcuts for launch FAF game without client

Please open an issue with a proper description

This is proper description


Javascript Debug Terminal

Type: Bug
code:
debugger
console.log('it\'s test.')
console.log('it\'s test.')
console.log('it\'s test.')

click javascript debug terminal and execute node filename.js

click F11 to continue the execution, it cannot continue debug and exit

but click F10 two times at the beginning, then click F11, it works correctly

VS Code version: Code 1.86.2 (Universal) (903b1e9d8990623e3d7da1df3d33db3e42d80eda, 2024-02-13T19:42:13.651Z)
OS version: Darwin x64 19.6.0
Modes:

/jsDebugLogs

it cannot continue debug and exit
Can you explain more?

Please collect trace logs using the following instructions:

If you're able to, add "trace": true to your launch.json and reproduce the issue. The location of the log file on your disk will be written to the Debug Console. Share that with us.
⚠ This log file will not contain source code, but will contain file paths. You can drop it into https://microsoft.github.io/vscode-pwa-analyzer/index.html to see what it contains. If you'd rather not share the log publicly, you can email it to<EMAIL_ADDRESS>

See https://github.com/nodejs/node/issues/50059


Redfish:  Check GPU States

In systems with GPUs present,  verify State is one of:

Absent
Enabled
UnavailableOffline

[ ] Under review https://gerrit.openbmc-project.xyz/#/c/openbmc/openbmc-test-automation/+/24207/


Staging

[x] Routes for each page
[x] Google auth Middleware
[x] Dashboard showing currentlyEnrolled, progress, exploreNew
[x] Courses page with admin decided courses
[x] Explore page, ability to search playlist from youtube and preview it on the video player before enrolling into it
[x] Video player with video description and all playlist video in a Menu
[x] Global State to store userId which will be used for Firestore using useContext()
[x] Firestore Basic Integration

This looks good to me. Please proceed

Penultimate Week Progress ---> (2 - 6 August )


fix: remove UPX because MacOS doesn't allow it

https://developer.apple.com/forums/thread/51828

https://github.com/upx/upx/issues/253#issuecomment-1227670569


Add EXTEND-QUEUE-P

@mfiano Please review - this is the solution for DFPQ, if it looks OK to you, then I'll copy it to DFSPQ and update the documentation.

Looks good to me at glance.

Looks good to me at glance.

OK. Care to pull the branch someday and give it a try locally?

OK. Care to pull the branch someday and give it a try locally?

I can do that tomorrow.

I can do that tomorrow.

Pushed a new commit that contains updates to both queues, as well as a README update.
Fixes #3

Pushed a new commit that contains updates to both queues, as well as a README update.
Fixes #3


str.replace is not a function

I am using a PHP-Laravel API together with Next.js on an application.  I keep getting the same error of "str.replace not a function" in this manner { status:  'error', message:  'str.replace is not a function', data:  null }. I would appreciate any form of assistance. Attached are screenshot of my codes and the respective error messages.

Error message when Pay button is clicked.

PHP-Laravel Code

PHP-Laravel Code Continuation

Logged data in Larvel Logger

@paulyeb I could replicate the issue. To proceed, I will recommend you update the package and try again. If, any issue is encountered, please share in detail how to replicate. Thanks


Implement preview functionality demo

Please wait for the https://github.com/Enngage/KenticoCloudDeliveryTypeScriptSDK/issues/23.

https://github.com/Enngage/KenticoCloudDeliveryTypeScriptSDK/issues/23 is fixed...does this PR need to be updated as well or is it ready to be reviewed?

It is ready to be reviewed.


Why was PLUS/PRO feature added?

Why was PLUS/PRO feature added? Really sad to see this kind of bait and switch...

This is not a bait and switch. Karate open-source remains free and under the MIT license. Users/teams/Enterprise can continue to download and use Karate open-source using Maven, Gradle, Standalone Jar, Docker, NPM and JBang.
For the in-IDE experience there are two pricing tiers PLUS and PRO.
We need our users to appreciate Karate Labs is not in the game of market valuation and wants to scale a company on strong values and principles.


Add support for Windows share experience

More details on this https://blogs.windows.com/windowsdeveloper/2017/04/06/new-share-experience-windows-10-creators-update/

I'll take this up :)

Here's the official image from the Segoe font:

(Source)

Closed by #3306


Add validation to the social and game channel text fields

Is your feature request related to a problem? Please describe.
Currently you are able to enter anything into the text fields in the social and game channel sections of the app. For example, you can enter a facebook link into the Youtube textfield under Social Channels.
Describe the solution you'd like
It would be good to add validation to the text fields so that for example, if the social channel is for facebook it will either only take a username or a facebook url
The social links are shown as static text in the app but they are displayed on wavi.ng as clickable icons. See https://wavi.ng/@barbara

https://wavi.ng/@correspondingdinosaur

Video showing list of channels
https://user-images.githubusercontent.com/69275762/156787755-8e5e473b-11af-4506-baba-a6e7c7603148.mov

Hi @tinashe404 I would like to work on this, if its up for grabs.

Hi, I am Palak Jain, a contributor to OpenForce 2022. I would like to work on this issue. I would be making a PR as soon as I am done with resolving the issue. Thank you.

Hi @Pal18jain,  Just a heads up as I am also working on this issue and I believe issues are given first come first serve.
@tinashe404

We will assign the tickets for 3 max. We take PR as first server/the best approach

Hi @tinashe404 @yahu1031, I am Keyur Gandhi, a contributor to OpenForce 2022. I would like to work on this issue. I would be making a PR as soon as I am done with resolving the issue. Thank you

@tinashe404 suppose my twitter account url is https://www.twitter.com/keyur45. So I should enter the url or my username (@keyur45) in the text field. Am I right?

@keyurgit45 Yes you are right. And yes, you can check if it's present as one of your forms of validation.


Correct brew installation command

The example doesn't work:
$ brew install mvndaemon/homebrew-mvnd/mvnd
==> Tapping mvndaemon/mvnd
Cloning into '/usr/local/Homebrew/Library/Taps/mvndaemon/homebrew-mvnd'...
remote: Enumerating objects: 81, done.
remote: Counting objects: 100% (81/81), done.
remote: Compressing objects: 100% (43/43), done.
remote: Total 81 (delta 34), reused 66 (delta 21), pack-reused 0
Unpacking objects: 100% (81/81), done.
Tapped 1 formula (109 files, 81.3KB).
Error: mvndaemon/mvnd/mvnd is a head-only formula
Install with `brew install --HEAD mvndaemon/mvnd/mvnd`

Rather than fixing the example, shouldn't we fix the formula instead ?  I don't really see why we'd have to force HEAD here.

Rather than fixing the example, shouldn't we fix the formula instead ?  I don't really see why we'd have to force HEAD here.

I've removed the need for --head.

I've removed the need for --head.


How to get current device MIG model is single or mixed?

I have an A800 device, when I open the MIG model, we can't from dcgm-exporter get a metric know the current device MIG model is single or mixed.

@lengrongfu, The K8S device plugin (https://github.com/NVIDIA/k8s-device-plugin) offers the following label:

@lengrongfu, The GPU feature discovery (https://github.com/NVIDIA/gpu-feature-discover) offers the "nvidia.com/mig.strategy" node labels. Do you want to see this label as part of the metric output?
Can you tell us your use case?

Thanks, i know this node labels nvidia.com/mig.strategy,  but we use grafana dashboard can't display mig model.
If we need this feature, we can contribute a PR.


Decrease the time it takes to open/close a sub menu

Hi,
I feel like the time it takes to open a sub menu is too big, is it possible to control the time it takes to open/close it?

I just found out about submenuCloseDelay and submenuOpenDelay
Closing this one


Remove requirement for DC key_id and team_id to be secrets

I've done a lot of reading and people generally don't consider these secrets.

/assign @mikehelmick

/lgtm
/approve


Pagination not implemented for project_views

Hi, I was trying to wrap my head around the Wikimedia REST API, when I found this repo. It looks like there is a pagination problem, at least with the method project_views. Step to reproduce:
p =<EMAIL_ADDRESS>Foo Bar")
a = p.project_views(['it.wikipedia'], granularity='hourly', start='2016010100', end='2022060700')

len(a) # 56,377 items
# However most of those are empty, This library inserts all the dates in the range,
# but then there are no data coming from the API for all the time span

# E.g.:
a[datetime.datetime(2021, 2, 11, 15, 0)] #  {'it.wikipedia': None}

Data about such dates are definitely present in the API. The problem is that such an endpoint returns at most 5k items per-call along with an undocumented pagination token (see here for more). Probably, there should be a way to pass it to the API to get the next page (still trying to figure out how).

The limits are there for performance reasons.  The pageviews data has grown in different ways to respond to lots of different user needs, and we need to step back and reorganize it so it's much easier to work with.  Ideally what you're asking for would be available in a projectview yearly dump file, and the API would point that out when you hit one of its limits.  But this isn't something we can patch onto this client code, we have to make some changes on the backend.  Thank you for pointing out the problem.

@floatingpurr: this API is being moved to a new codebase as we speak, and I honestly don't know if the pagination is even implemented.  I wrote the previous version of the API and in that code, pagination was not possible because the data was coming out of Cassandra.  If you asked it for a specific time range, there was no way to say "first 50" or "next 50" or anything like that.  So stay tuned to this task for progress and details if you like, and if I end up learning about it I'll comment here.  But it's low priority for my team right now.
As for dumps, yes there are dumps, but we're also in the middle of a cleanup there.  Sorry for the bad state of everything, I'm trying to raise the priority of this right now: https://dumps.wikimedia.org/other/analytics/
So there's "pageviews complete" which should have monthly and per-project aggregates, but do not yet, making the "complete" part of the name quite ironic.  This is definitely something we're trying to make better.

Hi @milimetric thank you again! I understand the situation. No worries at all. I was just trying to understand what it's currently available :)


Text color used when creating new files/folders is white

Is the bug present when using the default Obsidian theme?
No
Is the bug present when snippets and plugins are disabled?
Yes
Minimal theme version
7.7.1
Describe the bug
When selecting items in the sidebar (files/folders) the accent color for the text in any of the appearances seems to be white (whereas its black or something close for the default theme). When typing out the new file/folder name the text is also white and extremely hard to read. This can be adjusted easily enough with Style Settings and changing "text on accent" but seems like maybe it should be a darker color vs white. To me this is a bug because the white text on the light backgrounds in light mode is basically impossible to read.
Debug info
none.

Some screenshots of what I'm referring to. This is the MacOS appearance but as noted same thing happens with any of them.

我也遇到这个问题了，目前的解决办法是：
关闭插件【Minimal Theme Settings】中的选项【Colorful active states】

Should be fixed in 7.7.2


Add plugin for rule

We only have three rules for now, but would have more in the further. So we have to add the plugin to load rule and run it. it more easier to maintain and develop

fix in https://github.com/WhaleOps/airphin/commit/4a4a849343489d9ad4ef261525d8bbeaf9d8354a


Issues dealing with createObjectURL(file) to stream video

Hi there i'm stuck on this issue using Blob.
I'm trying to stream videos using webtorrent and an external video player.
For now i'm using flowplayer as player.
The problem is that it requires a source to load and play the video.
Here is the thing, i want to stream the video using webtorrent (this part works fine) as its more efficient for high definition streaming and maybe 4K.
But the problem with that is that i got no direct path to the server, and i would like to use the blob path stored on the browser.
But i cant find out why this isnt working for me.
var client = new WebTorrent()
var magnetUri = 'magnet:?xt=urn:btih:2d009baa395c94f6ad30375cfbae87c8cf0e5fff&dn=New+Zealand+in+4K+(Ultra+HD).mp4&tr=wss%3A%2F%2Ftracker.webtorrent.io
    client.add(magnetUri, function (torrent) {
      // Got torrent metadata!
    console.log('Client is downloading:', torrent.infoHash)
    torrent.files.forEach(function (file) {

// Display the file by appending it to the DOM. Supports video, audio, images, and
// more. Specify a container element (CSS selector or reference to DOM node).

function createObjectURL ( file ) {
    if ( window.webkitURL ) {
        return window.webkitURL.createObjectURL( file );
    } else if ( window.URL && window.URL.createObjectURL ) {
        return window.URL.createObjectURL( file );
    } else {
        return null;
    }
}

var url = createObjectURL( file );

On every browser the createObjectURL doesn't work. I've been trying with "objectURL = URL.createObjectURL(blob);" but same issues.
Hope i've been clear enough and hope you guys will take time to help me fix this problem.

Added 15$ Bounty
https://www.bountysource.com/issues/26461772-issues-dealing-with-createobjecturl-file-to-stream-video

You can get the BlobURL by calling the getBlobURL function on the file object.
The file object returned by WebTorrent is very different from the native JavaScript File object.
Example:
var client = new window.WebTorrent()
var magnetUri = 'magnet:?xt=urn:btih:2d009baa395c94f6ad30375cfbae87c8cf0e5fff&dn=New+Zealand+in+4K+(Ultra+HD).mp4&tr=wss%3A%2F%2Ftracker.webtorrent.io'

  client.add(magnetUri, function (torrent) {
    console.log('Client is downloading:', torrent.infoHash)

    torrent.files.forEach(function (file) {
      file.getBlobURL(function (err, url) {
        if (err) throw err
        console.log(url)
      })
    })

  })

You can check out the source: https://github.com/feross/webtorrent/blob/f1d966c24739d982128e247e48cc41f2a82ee30a/lib/file.js#L109-L121

Hi thanks for the fast answer, i’ve already tried the code you sent me but it seems that when i load the page the browser doesn’t get into the function.

Le 5 sept. 2015 à 00:38, Gilles De Mey<EMAIL_ADDRESS>a écrit :
You can get the BlobURL by calling the getBlobURL function on the file object.
The file object returned by WebTorrent is very different from the native JavaScript File object.
Example:
var client = new window.WebTorrent()
var magnetUri = 'magnet:?xt=urn:btih:2d009baa395c94f6ad30375cfbae87c8cf0e5fff&dn=New+Zealand+in+4K+(Ultra+HD).mp4&tr=wss%3A%2F%2Ftracker.webtorrent.io'
client.add(magnetUri, function (torrent) {
console.log('Client is downloading:', torrent.infoHash)
torrent.files.forEach(function (file) {
  file.getBlobURL(function (err, url) {
    if (err) throw err
    console.log(url)
  })
})

})
You can check out the source: https://github.com/feross/webtorrent/blob/f1d966c24739d982128e247e48cc41f2a82ee30a/lib/file.js#L109-L121 https://github.com/feross/webtorrent/blob/f1d966c24739d982128e247e48cc41f2a82ee30a/lib/file.js#L109-L121
—
Reply to this email directly or view it on GitHub https://github.com/feross/webtorrent/issues/423#issuecomment-137872312.

I am struggling with something like this with audio. Is it possible to wrap a previously created video/audio element with file.appendTo() to use streaming? How could we do it in other way?

@insanux it's possible to append to a buffer while it's set as the source of something, but it's not easy and codecs needs to line up and it's strange. I am doing it here: (built) with videos, it works under certain circumstances and not with others. It's still something I am playing a lot with for a video streaming setup I want to create.

@theocousin Any updates?
The Blob URL is only returned once fully loaded. Append-to can stream things using other deps like MediaSourceStream, you could simulate it. Check https://github.com/feross/webtorrent/blob/master/lib/append-to.js

You can use file.renderTo(element) to stream into an existing video or audio tag.
So, if you're using some third-party video player, you need to get the DOM video tag somehow, then call:
file.renderTo(videoTag)

And the video should start to stream before it's fully downloaded.

You can use file.renderTo(element) to stream into an existing video or audio tag.
So, if you're using some third-party video player, you need to get the DOM video tag somehow, then call:
file.renderTo(videoTag)

And the video should start to stream before it's fully downloaded.


Windows-ROOT as truststore

Is there a way to set Windows-ROOT (or any Windows Certificate Store in general) as truststore in openssl?
I think java has some similar feature.
Thanks in advance.

OpenSSL has never had code to load the Windows certificate store itself. It's a somewhat surprising asymmetry given that it does have code to load the system certificate store on *nix and it already is willing to use the Win32 crypto API for some things (like CryptGenRandom).
It's only about 35 lines of code to do this though. Here's some (now rather old) code of mine (not guaranteed, but feel free to use): https://gist.github.com/hlandau/7a9a8146af25a2c972aa1fe400a8a60f
@mattcaswell Do we want this functionality?

You could argue that *nix systems use OpenSSL store mechanisme, not the
other way around.

@hlandau
Thanks for the info and code Hugo.
I did try a similar implementation to what you provided, but was not able to get my connection to work (could be some other issue, checking on it).
As you mentioned, OpenSSL does not have direct code to load from Windows Certificate Store.
Do you know why this is not implemented? Is it because of some known issue or use case limitation?
Just wanted to know from an academic perspective.

Do you know why this is not implemented? Is it because of some known issue or use case limitation?

In general OpenSSL is an open source software which means features get implemented when someone who needs it submits a code that implements the feature. So the answer is that nobody submitted the code that implements Windows cert store support.
Why nobody did that that's another question which we probably cannot answer.

@t8m Would we be interested in this functionality? I have code to do it lying around and it seems like basically anyone using libssl on Windows will need it. I could make a PR.

I do not see why we would not want it. The difficult question would be how that windows cert store will be enabled. I.E. making it enabled by default on Windows might be considered a too big change for 3.1 by some.

The question for me is would this impact the 3.1 development times?

It's not much code. About 35 lines. I already have it from my own projects. Biggest timesink would just be agreeing the API / how it interacts with existing functions.

A minimum provider that does this only needs an OSSL_STORE loader with export capabilities.  That's enough to handle any key where the key data is programmatically accessible (i.e. exportable) and shouldn't be too hard to do.  The main thing will probably be to design the URI scheme and implement its parser.

... when we do design such a URI scheme, we probably should register it properly too.  I know that I've mentioned the sneaky way of avoiding that, but I frankly think making it official is the better move in the long run.

@levitte See #18070? Currently the issue is that SSL_CERT_DIR is interpreted both as a colon-separated list of paths and as a store URI.

Ah, thanks for the reminder.


K-Ninja Browser

K-Ninja - https://user-agents.net/browsers/k-ninja

Closing this pr for the following reasons:

Browser has been dead for over 10 years.

The Testrunner results are failing:

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:<IP_ADDRESS>pre) Gecko/20070215 K-Ninja/2.1.1

Gives me:
an unknown browser based on Gecko 1.8.1 running on Windows XP


ibus libpinyin not translating keypresses

Describe the bug
I can enable the "Chinese - intelligent pinyin" input method in the ibus preferences and select it in the ibus input method selector but when I try to type something in Chinese the character selection box doesn't appear and the text is not modified by the input method.
Steps To Reproduce
Steps to reproduce the behavior:

Select a text input in a program that supports ibus, such as a form input in Firefox
Select the "Chinese - intelligent pinyin" input method
Type something

Expected behavior
The initially typed characters should appear highlighted, and a character selection box containing Chinese characters should appear.
Additional context
Using Cinnamon desktop environment
Notify maintainers
@linsui @ericsagnes
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
jeremy@shelley:~$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.62, NixOS, 23.05 (Stoat), 23.05.4873.8e5e424b1c05`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - nixpkgs: `/home/jeremy/.nix-defexpr/channels/nixpkgs`

I can't reproducible this. Can you share some screeshot or even a screen record?

I found that ibus libpinyin works as expected on KDE on X11 but I have this issue on KDE Wayland, Gnome, Cinnamon, and XFCE. I will check how to do a screen recording tomorrow.

I tested it on GNOME wayland. Not sure why it doesn't work for you.

I can no longer replicate it.

Closing


add DAY_NAMES constant instead of ::Time::RFC2822_DAY_NAME

Fixes #211
before
$ ruby -v
ruby 3.1.0preview1 (2021-11-09 master 5a3b2e6141) [x86_64-darwin20]
$ bundle exec rake
EEEEEEEEEEEEEEEEEE.E.E..E..EEEEEEEEEEEEEEEEEEE...EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE......EEEEEEEEEEEEEEEEEEEEEEEEEEEEEE.......EEEEEEEEEEEEEEEEEEEEEEEE........EEEEEEEEEEEEEEEE.E......EEEEEEEEEEEEEEEEEEEEEEEE.EEEEEEEEEE...

  1) Error:
time extensions#test_0007_calculate business time between different times on the same date (counter clockwise):
NameError: uninitialized constant Time::RFC2822_DAY_NAME

        ::Time::RFC2822_DAY_NAME.map(&:downcase).map(&:to_sym)[num]
              ^^^^^^^^^^^^^^^^^^
    /Users/yuya.tani/Work/8.oss/business_time/lib/business_time/config.rb:195:in `int_to_wday'
    /Users/yuya.tani/Work/8.oss/business_time/lib/business_time/config.rb:124:in `beginning_of_workday'
    /Users/yuya.tani/Work/8.oss/business_time/lib/business_time/time_extensions.rb:29:in `beginning_of_workday'
    /Users/yuya.tani/Work/8.oss/business_time/lib/business_time/time_extensions.rb:47:in `before_business_hours?'
    /Users/yuya.tani/Work/8.oss/business_time/lib/business_time/time_extensions.rb:58:in `roll_forward'
    /Users/yuya.tani/Work/8.oss/business_time/lib/business_time/time_extensions.rb:152:in `business_time_until'
    /Users/yuya.tani/Work/8.oss/business_time/test/test_time_extensions.rb:51:in `block (2 levels) in <top (required)>'
・
・
・
247 runs, 130 assertions, 0 failures, 206 errors, 0 skips

after
$ ruby -v
ruby 3.1.0preview1 (2021-11-09 master 5a3b2e6141) [x86_64-darwin20]
$ bundle exec rake
............................................................................................................................................................................................................
...........................................

Finished in 0.247837s, 996.6228 runs/s, 1557.4753 assertions/s.

247 runs, 386 assertions, 0 failures, 0 errors, 0 skips

Thank you very much!


 I think you shouldn't do that.

https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository

Oh I know, it feels incredibly wrong to check in a private key, doesnt it?
But yeah, Microsoft recommends it for open source libraries. 🤷
Its a result of the fact that strong naming doesn't provide any of the security guarantees it was originally envisioned to.


Update aws-core, http-client-spi, ... to 2.17.155

Updates

software.amazon.awssdk:aws-core
software.amazon.awssdk:http-client-spi
software.amazon.awssdk:netty-nio-client

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

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

Superseded by #102.


Dash "-" in Ticker() name works fine but not when in Tickers()

import yfinance as yf

yf.Ticker("BRK-B").history()  # works

yf.Tickers(["SPY", "BRK-B"]).history()  # AttributeError

Output
[*********************100%***********************]  2 of 2 completed
Traceback (most recent call last):

  File "<ipython-input-21-0337fe26029c>", line 1, in <module>
    yf.Tickers(["SPY", "BRK-B"]).history()

  File "C:\Users\user\AppData\Local\Continuum\miniconda3\lib\site-packages\yfinance\tickers.py", line 64, in history
    return self.download(

  File "C:\Users\user\AppData\Local\Continuum\miniconda3\lib\site-packages\yfinance\tickers.py", line 91, in download
    getattr(self.tickers, symbol)._history = data[symbol]

AttributeError: 'Tickers' object has no attribute 'BRK-B'

Looks like the namedtuple self.tickers in Tickers() renames 'dashed' tickers, here's a minimal example:
from collections import namedtuple as _namedtuple

ticker_objects = {}
for ticker in ["SPY", "BRK-B"]:
    ticker_objects[ticker] = yf.Ticker(ticker)

tickers = _namedtuple(
            "Tickers", ticker_objects.keys(), rename=True
        )(*ticker_objects.values())
print(tickers)

>>> Tickers(SPY=yfinance.Ticker object <SPY>, _1=yfinance.Ticker object <BRK-B>)

The AttributeError happens on line 90 when getattr is called, not sure if this loop is needed but removing fixes the problem:
for symbol in self.symbols:
    getattr(self.tickers, symbol)._history = data[symbol]

I think this issue is strongly related to my PR: #613

A Named Tuple is used for the Tickers().tickers class property and the the inputed tickers are assigned as tuple named keys. these named keys will be subject to the the Python variable name policy.

Officially, variable names in Python can be any length and can consist of uppercase and lowercase letters ( A-Z , a-z ), digits ( 0-9 ), and the underscore character ( _ ). An additional restriction is that, although a variable name can contain digits, the first character of a variable name cannot be a digit.

I run into this issue with the following tickers: 3IN, 888, ITV.L. These are all in the FTSE 250.

Fixed in 0.1.57


how to install newer  version of podman in centos or ubuntu ?

I have been trying to do anything I can to install a newer version of podman ! I thought switching to centos would help !
but I cant get better than 1.4 from the package managers.
whats is the right way of installing latest version of podman on linux the instructipns on the website dont get me more than 1.4
I need that because there is a bug that podman cp , makes a new directory instead of copying files
https://github.com/containers/libpod/issues/3384
I also tried the instructions : Installing development versions of Podman
Ubuntu
The Kubic project provides RC/testing packages for Ubuntu 18.04, 19.04 and 19.10.

. /etc/os-release
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/testing/x${NAME}_${VERSION_ID}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:testing.list"
wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:testing/x${NAME}_${VERSION_ID}/Release.key -O Release.key
sudo apt-key add - < Release.key
sudo apt-get update -qq
sudo apt-get -qq -y install podman
$ sudo apt-get  install podman
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package podman

so I can't find any way to installer a relatively newer version of podman !

@lsm5 Please respond?

CRIU's CI using Podman also fails because it is no longer possible to install Podman from the stable kubic repository.
In the podman dependency tree there is the package containers-image but apt says:
# apt-get install podman containernetworking-plugins
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 podman : Depends: containers-common (>= 0.1.40-9) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
# apt-get install containers-image
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package containers-image is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'containers-image' has no installation candidate

it worth noting the issue I had created a while ago and was closed is still happening (related)
https://github.com/containers/libpod/issues/4769#issuecomment-583018538

i see this issue, working on it...

Fixed.
Leaving the older packaging sources on OBS ended up confusing it so it didn't build anything. I will now rename packaging source files with a .old extension on update. /cc @alitvak69
Let me know if the issue still persists.

CRIU's CI can again install podman on Travis (Ubuntu 18.04).

@medyagh RE: centos, podman 1.8.0 has been built for centos 7 and 8 but I'm fixing some dependencies for centos8 atm. Will update docs once it's done.

@lsm5 thank you for such a fast response, I will try later tonight, is the documentaiton up to date ? if i follow line by line will it get me something working on centos ?
and is it also fixed on ubuntu ?

ubuntu works with the current docs.
docs for centos7 aren't updated yet, but you can do this as root to install podman:
cd /etc/yum.repos.d/
wget https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/CentOS_7/devel:kubic:libcontainers:stable.repo
yum install podman

still working on solving dependency issues for centos8.

@lsm5  I confirm doing this works on centos 7:
run as root:
cd /etc/yum.repos.d/
wget https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/CentOS_7/devel:kubic:libcontainers:stable.repo
yum install podman

[root@podmanexp yum.repos.d]# podman version
Version:            1.8.0-rc1
RemoteAPI Version:  1
Go Version:         go1.13.3
OS/Arch:            linux/amd64

@lsm5 can you plz double check the ubuntu instructions ? last night I tried it on two different ubuntu versions 19.10 and 18.04 on google cloud VMs and they didnt work to install podman if followed instructions from site

on debian 10 I could get podman 1.7
but on centos 7 I get 1.8
1.8 has a bug in it
it would be nice to have option to install whatever version u wish or be consistant across all platforms.

@lsm5 I just tried the ubuntu instructions on the site
. /etc/os-release
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list"
wget -q https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_${VERSION_ID}/Release.key -O- | sudo apt-key add -
sudo apt-key add - < Release.key
sudo apt-get update -qq
sudo apt-get -qq -y install podman"
"
this line gives error : sudo apt-key add - < Release.key
I had to remove that line to make it work for minikube https://github.com/kubernetes/minikube/pull/6515/files#diff-90829e76e906f1c73140c7ded7e1b268R151

@lsm5 can you plz double check the ubuntu instructions ? last night I tried it on two different ubuntu versions 19.10 and 18.04 on google cloud VMs and they didnt work to install podman if followed instructions from site'
is there a way I could install 1.7?

The instructions mentioned at https://podman.io/getting-started/installation worked for me on ubuntu 19.10. Could you please post the exact error that you see?

it would be nice to have option to install whatever version u wish or be consistant across all platforms.

I think I can ensure version consistency for all distros, but picking any version you want (I'm told) isn't doable with OBS.

ah yup, that extra apt-key add needs to be removed. I'll PR for that, thanks

@medyagh I'll be removing the podman 1.8.0 rpm from the stable repo and building a new 1.7.0 (assuming it lets me), so, brace for impact

@medyagh btw, have you reported the bug you found in 1.8 already? Cause 1.8.0 got released just now, and I'd prefer to send that to all distros

would also like 1.7, if available for centos8.

Looks like the initial issue is fixed, closing.

The centos 8 repo is still not working.   I have it enabled and it will not pull the packages when attempting a dnf update.

The package is definitely there (https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_8/x86_64/) but I also fail to install it:
[root@a1bf4120468b yum.repos.d]# dnf install podman-1.8.0-14.1.el8.x86_64
Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 0:04:54 ago on Thu Feb 13 13:45:33 2020.
No match for argument: podman-1.8.0-14.1.el8.x86_64
Error: Unable to find a match: podman-1.8.0-14.1.el8.x86_64

It sees the aarch64 one though. @lsm5 PTAL.

mind retrying please? Also, see https://github.com/containers/podman.io/pull/201

Same issue as before.  I am unable to install any items from that repo.

Same issue as before. I am unable to install any items from that repo.

could you post all the commands you used along with the output messages please?

Hello,
So i followed the instructions, per the website.  Here is an output to show you what is available in dnf.
[root@bender ~]# cat /etc/yum.repos.d/devel\:kubic\:libcontainers\:stable.repo [devel_kubic_libcontainers_stable] name=Stable Releases of Upstream github.com/containers packages (CentOS_8) type=rpm-md baseurl=http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_8/ gpgcheck=1 gpgkey=http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_8/repodata/repomd.xml.key enabled=1 [root@bender ~]# dnf --showduplicates list podman Last metadata expiration check: 0:01:26 ago on Thu 13 Feb 2020 06:28:38 PM EST. Installed Packages podman.x86_64                                                   1.6.4-2.module_el8.1.0+272+3e64ee36                                                   @Stream-AppStream Available Packages podman.x86_64                                                   1.6.4-2.module_el8.1.0+272+3e64ee36                                                   AppStream podman.aarch64                                                  1.8.0-14.1.el8                                                                        devel_kubic_libcontainers_stable podman.src                                                      1.8.0-14.1.el8                                                                        devel_kubic_libcontainers_stable [root@bender ~]#

@johnmmcgee did you disable the container-tools module?
sudo dnf module disable container-tools

We're hitting errors installing on Ubuntu again, after having had issues in the past too.  We don't have time to waste on these issues.  Buold infrastructure should just work and not be broken by packages making new releases.
@lsm5 and @rhatdan: Please remove references to Ubuntu installs other than Ubuntu upstream, and work with upstream Ubuntu to get podman released more often.
We pushed a Podman howto article as part of Vultr's documentation program, and are embarrassed by these breakages.
We won't make the same mistake again.
For other's, Podman installs from the podman project instructions has repeatedly caused us headaches: Use podman from upstream Ubuntu repo's or don't bother and stick with docker.
It has now, for us, reached the point where podman's value add is not enough to justify the additional time.
Ack, this is purely an issue on Ubuntu, and using podman versions not released by Ubuntu.


⚠ ClamAV has degraded performance

In 0a035fd, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 207 ms

Resolved: ClamAV performance has improved in 253db4d.


Update all relevant dependencies to match Dropwizard 2.1.0

Now that Dropwizard 2.1.0 is released, update all BOM dependencies to match its versions (i.e. Dropwizard 2.1.0).

We are already on the same or later versions of everything except Metrics. We're on 4.1.31 and Dropwizard 2.1.0 is on 4.2.9.


Hotfixes for nodes

This will be the ONE-HUNDREDTH-CLOSED-PR

This issue was resolved without these changes. Still merge?

It's a good safety net just in case another node connects to another node


[Load Testing] gherkin/go implementation of test plan #1

Summary
Implementing load test plan #1 using gherkin and go tests.
How to run:

Make sure to have the appropriate gateways and relayminers in localnet_config.yaml (max number is 3 for each)
Edit the relays_stress.feature to match the testing plan to execute

    And a rate of "1" relay requests per second is sent per application
    And the following initial actors are staked:
      | actor       | count |
      | gateway     | 1     |
      | application | 1     |
      | supplier    | 1     |
    And more actors are staked as follows:
      | actor       | actor inc rate | blocks per inc | max actors |
      | gateway     | 1              | 4              | 3          |
      | application | 2              | 4              | 5          |
      | supplier    | 1              | 4              | 3          |

Run the test with the following command:
go test -v -run TestLoadRelays ./load-testing/tests/...

TODO

[x] YAML "manifest" file parsing (@red-0ne )

[x] Funding applications for relays (@red-0ne )

[x] Adding tx assertions (@red-0ne)

[ ] Adding relay assertions (@bryanchriswhite)

See k6 assertions

[x] Guarantee relay/staking tx sequencing (@bryanchriswhite)

[x] Fix claim/proof message sequence number bug

[ ] Assert matching claims & proofs (@bryanchriswhite)

[x] sendTx refactor (@red-0ne )

Currently passing keyname and msgs; passing app account info instead supports simplifying pruning of pending msgs

[ ] Triple-check relayminer_config.yaml scheme (@bryanchriswhite )

[ ] TxClient supporting multiple signers (@bryanchriswhite)

Issue

#20

Type of change
Select one or more:

[ ] New feature, functionality or library
[ ] Bug fix
[ ] Code health or cleanup
[ ] Documentation
[ ] Other (specify)

Testing

[ ] Unit Tests: make go_develop_and_test
[ ] LocalNet E2E Tests: make test_e2e
[ ] DevNet E2E Tests: Add the devnet-test-e2e label to the PR. THIS IS VERY EXPENSIVE, so only do it after all the reviews are complete.
[ ] Documentation changes: make docusaurus_start

Sanity Checklist

[ ] I have tested my changes using the available tooling
[ ] I have commented my code
[ ] I have performed a self-review of my own code; both comments & source code
[ ] I create and referenced any new tickets, if applicable
[ ] I have left TODOs throughout the codebase, if applicable

Status
Successfully simulating (via delays) relays and actor staking.
See: Load Testing doc in notion

gherkin_go_load_testing_2.webm
Next steps

Replace relay simulation with real relay requests (see anvil_stress_test.go; substitute anvil URL w/ supplier endpoint).

Ensure the max_delegated_gateways param in the application module == max number of test gateways.
Distribute relays evenly across all gateways in each batch.
Add some assertions/logging to relay responses (see Load Testing > Notes)

Replace staking simulation with real staking; construct and send messages to stake new actors.

Load actor accounts/keys (probably via cosmos-sdk keyring; see proof module integration tests for an example).
Construct and utilize TxClient with staking messages for corresponding actors.

@red-0ne Can we move this out of draft and merge with main?

@Olshansk I think I covered everything except for a few comments:

I think it's safe to re-review already.

:rotating_light: Do not delete this branch until #521 has changed its base to main :rotating_light:


[BUG] Rich 12.1.0 throws an exception when importing

The latest version of rich (12.1.0) fails to import for me with the following traceback.
Traceback (most recent call last):
  File "xxxxxx.py", line 24, in <module>
    from rich.progress import Progress, BarColumn, TimeRemainingColumn, track
  File "xxxx/my_venv/lib/python3.8/site-packages/rich/progress.py", line 43, in <module>
    from .console import Console, JustifyMethod, RenderableType, Group
  File "xxxx/my_venv/lib/python3.8/site-packages/rich/console.py", line 46, in <module>
    from ._log_render import FormatTimeCallable, LogRender
  File "xxxx/my_venv/lib/python3.8/site-packages/rich/_log_render.py", line 5, in <module>
    from .text import Text, TextType
  File "xxxx/my_venv/lib/python3.8/site-packages/rich/text.py", line 5, in <module>
    from rich.emoji import EmojiVariant
  File "xxxx/my_venv/lib/python3.8/site-packages/rich/emoji.py", line 4, in <module>
    from .jupyter import JupyterMixin
  File "xxxx/my_venv/lib/python3.8/site-packages/rich/jupyter.py", line 4, in <module>
    from .segment import Segment
  File "xxxx/my_venv/lib/python3.8/site-packages/rich/segment.py", line 19, in <module>
    from .cells import (
  File "xxxx/my_venv/lib/python3.8/site-packages/rich/cells.py", line 6, in <module>
    from ._lru_cache import LRUCache
  File "xxxx/my_venv/lib/python3.8/site-packages/rich/_lru_cache.py", line 8, in <module>
    from typing_extensions import OrderedDict
ImportError: cannot import name 'OrderedDict' from 'typing_extensions' (xxxx/my_venv/lib/python3.8/site-packages/typing_extensions.py)

Rich 12.0.1 works fine for me.
This is on Ubuntu 20.04

Looks like I have typing-extensions <IP_ADDRESS> installed.
Requirement already satisfied: typing-extensions~=3.7.4 in ./my_venv/lib/python3.8/site-packages (from tensorflow==2.5.0->untether-ml==0.1.dev0) (<IP_ADDRESS>)

Getting the same error
python version 		    - 3.7.12
rich version 		            - 12.1.0
typing-extension version    - <IP_ADDRESS>

Traceback (most recent call last):
File "xxxx/airflow", line 8, in
sys.exit(main())
File "xxxx/python3.7/site-packages/airflow/main.py", line 40, in main
args.func(args)
File "xxxx/python3.7/site-packages/airflow/cli/cli_parser.py", line 47, in command
func = import_string(import_path)
File "xxxx/python3.7/site-packages/airflow/utils/module_loading.py", line 32, in import_string
module = import_module(module_path)
File "xxxx/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "xxxx/python3.7/site-packages/airflow/cli/commands/user_command.py", line 26, in
from airflow.cli.simple_table import AirflowConsole
File "xxxx/python3.7/site-packages/airflow/cli/simple_table.py", line 22, in
from rich.console import Console
File "xxxx/python3.7/site-packages/rich/console.py", line 46, in
from ._log_render import FormatTimeCallable, LogRender
File "xxxx/python3.7/site-packages/rich/_log_render.py", line 5, in
from .text import Text, TextType
File "xxxx/python3.7/site-packages/rich/text.py", line 5, in
from rich.emoji import EmojiVariant
File "xxxx/python3.7/site-packages/rich/emoji.py", line 4, in
from .jupyter import JupyterMixin
File "xxxx/python3.7/site-packages/rich/jupyter.py", line 4, in
from .segment import Segment
File "xxxx/python3.7/site-packages/rich/segment.py", line 19, in
from .cells import (
File "xxxx/python3.7/site-packages/rich/cells.py", line 6, in
from ._lru_cache import LRUCache
File "xxxx/python3.7/site-packages/rich/_lru_cache.py", line 8, in
from typing_extensions import OrderedDict
ImportError: cannot import name 'OrderedDict' from 'typing_extensions' (xxxx/python3.7/site-packages/typing_extensions.py)

Please try v12.2.0 which bumps typing_extensions

rich 12.3.0 appears to re-introduce this bug at least for me


Chaining .then() breaks unchained .then()s

Summary
If you mix chained and unchained .then() callbacks, the unchained .thens don't get the response parameter.
For example:
const ajaxPromise = axios({
    method: "get",
    url: "https://httpbin.org/get?foo=baz"
}).then(response => {
 // response parameter is set as expected
});

ajaxPromise.then(response => {
 // this gets called when the promise fulfills too,
 // but the response parameter is undefined
});

// however:

const otherPromise = axios({
    method: "get",
    url: "https://httpbin.org/get?foo=baz"
});

otherPromise.then(response => {
 // response parameter is set as expected
});

otherPromise.then(response => {
 // this gets called when the promise fulfills too,
 // response parameter is set as expected
});

Some demos on Codepen.io:
One chained, and 3 unchained callbacks - Only the chained callback gets the response parameter
Two chained, and 3 unchained callbacks - Only the chained callbacks get called? And only one gets the response parameter
No chained callbacks, and 3 unchained callbacks - All 3 callbacks are called with the correct response parameter.
Context

axios version: v0.16.2 (also tested with v0.16.1)
Environment: Chrome 60, OSX El Capitan

That isn't an issue in Axios but it's how promise chaining works.
In this case:
const ajaxPromise = axios({
    method: "get",
    url: "https://httpbin.org/get?foo=baz"
}).then(response => {
 // This return value will be used to resolve `ajaxPromise`
});

ajaxPromise.then(response => {
 // this gets called when the promise fulfills too,
 // but the response parameter is undefined
});

ajaxPromise will resolve with what the callback in the first .then() returns.

Woah! I didn't know that. Thanks for the quick response!


Support uploading widefield images

cc @baiddd it’s not possible to upload wide field images with localisation table because a screenshot is mandatory (but I can visualize by the kaibu plugin that you implemented)

Hi,
Sorry for the late reply. I tried up load png format, but always the same error returned

I tried the integrated screenshot tool in kaibu as well didn't work..

tif format is not suported..I think it would be better to have one or notification which format we should upload. What do you think ?

@baiddd That is because I forgot to merge the PR which fixes the issue, could you try to reload the page now (make sure you see version 0.3.6 in the about page) and test it again?

I tried, was the right version but can't upload it. I can't make any screenshots for the widefield image, and they are still demanded
While I click on preview&screenshot :

While I upload directly :

@baiddd Did you upload the localization table with the widefield image as different samples? If that's the case, that explains the issue. Note that widefield and localization should be placed in the same sample, because they belong to the same field of view, you don't need to create new sample for different modalities or channels.

Hi @baiddd Saw you made another upload with widefield (https://sandbox.zenodo.org/record/879723), I just approved it, however, it seems the tif file was not uploaded properly. I will investigate into it later.

@baiddd Widefield upload feature is fixed now, please try to update your record, I suggest that you try the update feature first, i.e. click the edit icon on the dataset which failed to upload widefield, and then drag & drop the additonal widefield image, then upload it. If not working, let me know, and also try to do a complete new deposit and see if that works.

ok i will keep you posted

@baiddd Widefield upload feature is fixed now, please try to update your record, I suggest that you try the update feature first, i.e. click the edit icon on the dataset which failed to upload widefield, and then drag & drop the additonal widefield image, then upload it. If not working, let me know, and also try to do a complete new deposit and see if that works.

I updated the sample with wf images under v0.3.7:
I coundn't directely drag and drop addutional image into the old sample so I removed the old localization table and upload it again with wf images
There's a error occured though, during the uploading stage

I will shortly try to restart a new deposit

I think error was due to the tif format, png has not this problem

Do you see this also for a new deposit?

I think error was due to the tif format, png has not this problem

Do you see this also for a new deposit?

It's on the way, I will keep you update

I think error was due to the tif format, png has not this problem

Do you see this also for a new deposit?

It's on the way, I will keep you update

@baiddd I guess you already see the email about your new upload, maybe you can try to login and try to approve it?

@baiddd I removed one failed upload from the website: https://sandbox.zenodo.org/record/880270
There is another one which also has issues in display: https://sandbox.zenodo.org/record/879723
Could you elaborate on how did you upload them?

For https://sandbox.zenodo.org/record/880270:
I updated the old deposit by adding WF images: I removed the samples and drop & drag localization table with WF images, then took screenshot and published.
This one  I think I did the same thing to change one tif format to png, but I'm not quite sure, sorry for that

For https://sandbox.zenodo.org/record/880270:
I updated the old deposit by adding WF images: I removed the samples and drop & drag localization table with WF images, then took screenshot and published.
This one  I think I did the same thing to change one tif format to png, but I'm not quite sure, sorry for that

Never mind, for now we only need to make sure complete new upload works. If not, let me know.

@baiddd can you confirm this is working?

This should be supported already, please reopen if not.


Add an authorization for UpdateApplicationDescription

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

Thank you.
/approve


Make NetworkConfig serializable

Describe the feature
The idea of the Config struct used in the CLI is that it is a thin wrapper around existing config structs to the extent possible to lower maintenance, i.e. instead of having to add new config in 2 places, you just add it in one.
Currently though, it is not possible to serialize or deserialize the NetworkConfig struct (or NetworkConfigBuilder) because:

It takes a generic parameter C as a stand-in for the client.
It holds a Box<dyn BlockImport>

There are a few possible paths here:

We try to make NetworkConfigBuilder serializable by moving the non-serializable parts into the build function, or
We make NetworkConfig serializable, which means the networking components need to take the unserializable things separately from the config,
We make a new slimmer version of NetworkConfig that is Serialize and Deserialize, and we have NetworkConfig hold one of these

Additional context
As part of this issue we would also need to deduplicate a few things. Currently we have a PeersConfig as part of the Config struct, but this is also present on NetworkConfig.

I can take this on.


Reversed switch functionality of Syntax function

I used to have this so you had to provide the switch to print pretty syntax but found I was using it by default so reversed the switch so it always prints vertically. 👍

@all-contributors please add @brettmillerb for code, ideas and documentation


[Group 2][Accessible Pressable] Migrate SidebarLinks

HOLD on https://github.com/Expensify/App/issues/16988
Description
Migrate SidebarLinks to use PressableWithoutFeedback

Triggered auto assignment to @abekkala (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero process steps for feature requests for more details.

Hi @roryabraham can you assign me this one, please?

This is done


Two issues when saving

MacBook Pro   OS 10.6.8    Chrome and Firefox

After Saving edits, unlocking the Task, and going to another Task, a dialog box appears with two icons that indicates past edits have not saved, and asks if I want to restore the edits and save them. Clicking on the Restore icon, these edits can be saved, but I know I already saved them before exiting the Task. I believe doing this over writes the last Task, doubling the images. John Whelan has verified several of my Tasks (asked him to do this) and he has reported numerous doubled buildings and roads.

Other times, independent of the above issue, a dialog box appears after pressing the Save button in the top menu:
"Errors occurred while trying to save
Bad Gateway. The proxy server received an invalid response from an upstream server.
Apache/2.4.7 (Ubuntu) Server at www.openstreetmap.org Port 80"  (html tags have been removed for brevity.) (I have a screen shot.)

When Saving after getting this kind of dialog box, the Save button has to be pressed several times. There can be long delays. Eventually the edits Save and I get the white dialog box that shows they are being saved, with the twirly thing, and the blue images in the left column appear.

It sounds like you might be having significant internet problems. Is that possible?

I have high speed internet and haven't had any other issues when I work online in other situations. I thought that, too, but pinged my connection, and it was indeed fast.
On May 22, 2015, at 1:18 AM, Paul Norman wrote:
It sounds like you might be having significant internet problems. Is that possible?
�
Reply to this email directly or view it on GitHub.

Paul,
Are you saying both of these issues could be related to a slow internet connection?
Suzan
On May 22, 2015, at 1:18 AM, Paul Norman wrote:
It sounds like you might be having significant internet problems. Is that possible?
�
Reply to this email directly or view it on GitHub.

Paul,
A number of people are having these issues.
--Saves are not saved and the dialog box giving the choice of Save or Reset appears.
--Also, saves are taking a long time
--Third, I am getting messages that the server is too busy to accept saves.
Like Susan, I have high-speed Internet with service at 6MB to 7MB per second.
But, most important, why is there no page on the web site to make these reports?? Github is a tool for geeks writing software. It is certainly not something that new mappers can use easily. It uses its own internal language with terms that most people don't know ("fork" What does that mean?) .
Both iD and the OSM web site need to be fixed ASAP.

Hi Suzan, the second issue looks like an issue with the OpenStreetMap server, likely that it is overloaded or down. It doesn't look like a problem with your internet connection. I don't know about the first issue. It sounds like you're using the tasking server right?

Hi Gregor,
No idea what the "tasking server" is!
Suzan
On May 22, 2015, at 10:04 AM, Gregor MacLennan wrote:
Hi Suzan, the second issue looks like an issue with the OpenStreetMap server, likely that it is overloaded or down. It doesn't look like a problem with your internet connection. I don't know about the first issue. It sounds like you're using the tasking server right?
�
Reply to this email directly or view it on GitHub.

Sorry I meant to say "Tasking Manager" as in the HOT Tasking Manager. Was wondering what "Task" you refer to in your issue

Oh! Yes, I'm using the Task Manager.
You might call them squares or tiles, but in the Task Manager they are referred to as Task #x, so I was going with what I thought was official language.
On May 22, 2015, at 3:12 PM, Gregor MacLennan wrote:
Sorry I meant to say "Tasking Manager" as in the HOT Tasking Manager. Was wondering what "Task" you refer to in your issue
�
Reply to this email directly or view it on GitHub.

These issues are still prevalent as of May 31, 2015. No solution.

Issue #1, re duplicate items saved - I did some digging into this and will reply to it on issue #2667
Issue #2, re 502 Bad Gateway error is likely that the OSM servers were overloaded.  The overloaded servers could have possibly caused issue #1..


what a very great work! want to know how to join you and make it better?

Having used it for more than a half year. feel quite stable and satisfied, even though it sometimes sucked. Would like to be of help if I could.

Hi @driverless1024 , thanks for the offering. If you wish, maybe you can address some of the open pull requests.


Disable button on submit

Is there a way to disable the submitbutton (or add a disabled class) on submit and re-enable after validation errors?
We've looked through the code but couldn't find a way to implement it.

I'm currently using Material Design Web so I need to manually control some of the classes of my inputs. I added two callback functions to be fired every time an input is marked as valid or invalid (it could be only one callback too).
addedErrorToInput: (input: HTMLInputElement, message: string) => void;
removedErrorFromInput: (input: HTMLInputElement) => void;
Then you call it at the end of addError(input: HTMLInputElement, message: string):
   this.addedErrorToInput(input, message);
And removeError(input: HTMLInputElement):
		 this.removedErrorFromInput(input);
In your JS:
this.validationService.addedErrorToInput = (input, message) => {  // Do whatever you need here   };
validationService.removedErrorFromInput = input => {  // Do whatever you need here  };
I know it's not the perfect way to do it but man it worked very well.


Single pixel images

Working with the data, I came up with images that they have 1x1 resolution. Those images should be removed.

This has been solved by the referenced PR


Add the Omit helper type

Fixes #30455.

@typescript-bot run dt

The only breakages on DefinitelyTyped seem to be

amap-js-api
amap-js-api-indoor-map
amap-js-api-map3d

And those all really come from amap-js-api unnecessarily plopping Omit in the global scope.

A fix is now out to DefinitelyTyped's amap-js-api package.
I used BigTSQuery to partially assess the breakage with the following query
SourceFile:not([externalModuleIndicator]) > TypeAliasDeclaration > Identifier[name=Omit]

BigTSQuery isn't fully up to date (@urish out of curiosity, how recent is the dataset?), but we saw three distinct results:

an old fork of hollowverse (@forabi)
an old revision of ArragroCMS.Examples (thanks @mike-jewell)
this one test case we have in our repository

Also:

There are no global InterfaceDeclarations named Omit
There are no global ClassDeclarations named Omit

We discussed this at #30738 and believe that the breakage can be easily communicated and is more limited than we initially anticipated.

Keys are not limited to keyof T. Is that on purpose?

@levenleven

Should we constrain K in the official definition?

Nah

https://github.com/Microsoft/TypeScript/issues/30738

Exclude doesn't constrain its second type parameter on the first, so we felt like it would be strange to do that with Omit.

Note, if you feel that shouldn't be the case, I'd encourage you to open up a separate issue to discuss it.

@DanielRosenwasser the BigTSQuery dataset has last been updated around June 2018. If you find it useful, I can spend some time updating it

Can Omit please be made strict before 3.5 moves to stable? https://github.com/microsoft/TypeScript/issues/30825

@felixfbecker the definition was intentional.

Exclude doesn't constrain its second type parameter on the first, so we felt like it would be strange to do that with Omit.

But how a bout the case of Pick? Pick do constrain the use case.
Pick: pick members from a group to get a sub-group;
Omit: omit members in a group to get a sub-group;
As you can see, these 2 helper types are somehow complimentary. Looks pretty nature and intuitive when we use them together. How come Omit being permissive and Pick isn't???
When we make comparison, compare Omit with Exclude is like compare egg with chicken.  Exclude is comparable with Extract not `Omit, IMHO.

@DanielRosenwasser

Exclude doesn't constrain its second type parameter on the first, so we felt like it would be strange to do that with Omit.

But how a bout the case of Pick? Pick do constrain the use case.
Pick: pick members from a group to get a sub-group;
Omit: omit members in a group to get a sub-group;
As you can see, these 2 helper types are somehow complimentary. Looks pretty nature and intuitive when we use them together. How come Omit being permissive and Pick isn't???
When we make comparison, compare Omit with Exclude is like compare egg with chicken.  Exclude is comparable with Extract not `Omit, IMHO.

I've ran into a few bugs which would have been caught if K was constrained (like it is for Pick). Any chance of reconsidering this?


Build failed on Windows 10

Build fails on Windows 10 during installation
Steps to reproduce
cargo install shadergarden
Result
 Updating crates.io index
  Downloaded shadergarden v0.2.0
  [...]
  Compiling ffmpeg-sys-next v4.4.0

error: failed to run custom build command for `ffmpeg-sys-next v4.4.0`

Caused by:
  process didn't exit successfully: `C:\Users\ch\AppData\Local\Temp\cargo-installwMnxXw\release\build\ffmpeg-sys-next-b34b3bdb9c46bf88\build-script-build` (exit code: 101)
  --- stdout
  cargo:rerun-if-env-changed=LIBAVUTIL_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-pc-windows-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_pc_windows_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-pc-windows-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_pc_windows_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-pc-windows-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_pc_windows_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR

  --- stderr
  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Command { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"libavutil\"", cause: Os { code: 2, kind: NotFound, message: "Das System kann die angegebene Datei nicht finden." } }', C:\Users\ch\.cargo\registry\src\github.com-1ecc6299db9ec823\ffmpeg-sys-next-4.4.0\build.rs:701:14
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `shadergarden v0.2.0`, intermediate artifacts can be found at `C:\Users\ch\AppData\Local\Temp\cargo-installwMnxXw`

Caused by:
  build failed

This seems to be a build failure of https://github.com/zmwangx/rust-ffmpeg-sys - it says it cannot find libavutil.

Sorry, I didn't mean to close this issue.

Thanks for bringing this to my attention, @carstenheisterkamp! Does building ffmpeg-sys-next alone work on your machine?

Do you have ffmpeg / libavutil installed?

@slightknack I have ffmpeg  installed in c:\ffmpeg\bin and the environment variable set.

Hmm, interesting. I'm not that well-versed in Windows; what it looks like
is that the compiler is having a hard time finding libavutil. Do you
have pkg-config
for locating libraries to compile software against installed?
On Tue, Sep 21, 2021 at 12:33 PM Carsten Heisterkamp <
@.***> wrote:

@slightknack https://github.com/slightknack I have ffmpeg installed in
c:\ffmpeg\bin and the environment variable set.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tonarino/shadergarden/issues/9#issuecomment-923851369,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANCIUGX7K2GEUYFMLCE2EHTUDBNQTANCNFSM5EMORU4A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

No unfortunately not. The standard Windows installation of ffmpeg is just unzipping 3 executables and the docs.  But I found a similar post on reddit which recommends to use the shared version. It  contains a libavutil.dll.a  but did not solve the issue.

Even if you have libavutil.dll.a installed, cargo may not be able to find
it because it uses pkg-config to locate shared library versions. I
found this guide to installing pkg-config on Windows,
let me know if it helps.
ffmpeg is only used for input, so I've pushed a new version that has ffmpeg
as an optional dependency (#10). Try checking out the no-ffmpeg branch
and building from source with the newly-added ffmpeg feature flag
disabled. Hope this helps!
On Thu, Sep 23, 2021 at 10:01 AM Carsten Heisterkamp <
@.***> wrote:

No unfortunately not. The standard Windows installation of ffmpeg is just
unzipping 3 executables and the docs. But I found a similar post on reddit
https://www.reddit.com/r/ffmpeg/comments/jr1poj/missing_libavutil_package/
which recommends to use the shared version. It contains a libavutil.dll.a
but did not solve the issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tonarino/shadergarden/issues/9#issuecomment-925587072,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANCIUGXMXZJ5SAYQFBUXTDDUDLNF5ANCNFSM5EMORU4A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

#10 has been merged, let me know if building without the feature enabled works for you!

Thanks @slighnack but it still doesnt work and it seems to ignore the "optional" since it still tries to compile the ffmpeg features.  When I remove them from the Manifest and ruhn it with cargo it throws new errors like ``[{float}; 2] is not an iterator in  src\util\mod.rs:58:22. May be its my machine and I will double check it on another Windows machine.

Interesting... compiling with --no-default-features should not try to compile the ffmpeg features. I would try the following:

Running rustup update to ensure you're on the latest version of the Rust toolchain
Removing shadergarden and running git clone https://github.com/tonarino/shadergarden again, to get a fresh version
cd'ing into the new shadergarden and running cargo build --no-default-features
If that works, run an example with cargo run --no-default-features -- run demos/life
If that works, install from source using cargo install --path . --force --no-default-features
If installing works, try restarting your shell and running shadergarden --help to verify it's installed
If the installation was successful, try running shadergraph run demos/life

Let me know how that goes, and on which step things stop working, if any. This should work (I've verified this process works on my machine), but then again, I don't have a windows machine on which to reproduce the issue.

Many thanks for the explanation, since I am new to the rust wold I wasnt aware that I need to use the no default flag and assumed that it was handled by the manifest.
Now I get the following error:
[...]
Compiling include_dir v0.6.1  Compiling structopt v0.3.22  Compiling shadergarden v0.2.0  warning: unused import: path::PathBuf --> src\util\mod.rs:2:5   | 2 |     path::PathBuf,   |     ^^^^^^^^^^^^^   |   = note:#[warn(unused_imports)]` on by default
error[E0277]: [{float}; 2] is not an iterator
--> src\util\mod.rs:57:18
|
57 |         for a in [0.0, 1.0] {
|                  ^^^^^^^^^^ borrow the array with & or call .iter() on it to iterate over it
|
= help: the trait Iterator is not implemented for [{float}; 2]
= note: arrays are not iterators, but slices like the following are: &[1, 2, 3]
= note: required because of the requirements on the impl of IntoIterator for [{float}; 2]
= note: required by std::iter::IntoIterator::into_iter
error[E0277]: [{float}; 2] is not an iterator
--> src\util\mod.rs:58:22
|
58 |             for b in [0.0, 1.0] {
|                      ^^^^^^^^^^ borrow the array with & or call .iter() on it to iterate over it
|
= help: the trait Iterator is not implemented for [{float}; 2]
= note: arrays are not iterators, but slices like the following are: &[1, 2, 3]
= note: required because of the requirements on the impl of IntoIterator for [{float}; 2]
= note: required by std::iter::IntoIterator::into_iter
`
[...}

That's weird, I don't get the same error. You can patch this by adding & in front of the arrays for now (i.e. borrowing).  Would you mind letting me know what rust/cargo version you're on by running cargo --version and rustc --version? I'm on:
cargo 1.55.0 (32da73ab1 2021-08-23)
rustc 1.55.0 (c8dfcfe04 2021-09-06)

No problem, thank you for looking into this,
I am on
cargo 1.55.0 (32da73ab1 2021-08-23)
rustc 1.55.0 (c8dfcfe04 2021-09-06)
too.

The iterator error is really interesting, especially given that we're on the same version of cargo/rustc. Regardless, in c234322 I published a patch that I'm pretty sure fixes the error. Let me know if this new version works for you — if it does, I'll publish a new minor release that includes the patches we've added since this issue was opened. Thanks!

Following your above described steps it was compiled successfully and I was able to run the example with cargo run --no-default-features -- run demos/life,  but the application froze after a few sceonds. The shader itself continued, but I was not ablr to move the shader window an the busy cursor appeared. No error message, or similar  in the console.
cargo install --path . --force --no-default-features
was compiled successfully too.
shadergarden --help
Shader Garden 0.2.0
Create evolving gardens of shaders with Lisp and GLSL.
[...]

Point 7: shadergraph run demos/life  did not work but  shadergarden run demos/life. The window containing the shader froze again as described above. Same with all examples. I can be filed as a new issue and this one can be closed.

Glad to hear you got it compiling!
Please file that as a new issue if you have an idea as to why it's happening / have steps to reproduce it. GPU shaders can be resource-intensive, so it could just be that it's too much for the machine to handle. Again, I don't have a Windows machine, so if it's a Windows-specific issue, I'm not sure how much I'll be able to help.


How to deal with varying length video? Thanks

Dear all, I am wondering if TimeSformer can handle different videos with diverse lengths? Is it possible to use mask as the original Transformer? Any ideas, thanks a lot.

@junyongyou Hi Junyong! Let me know if https://github.com/lucidrains/TimeSformer-pytorch/releases/tag/1.2.0 works!

@junyongyou Hi Junyong! Let me know if https://github.com/lucidrains/TimeSformer-pytorch/releases/tag/1.2.0 works!

Excellent. I will try that. Thanks a lot.


Deleting Sensitive Information from Repositories

I think it would be useful to add to the set of auxiliary tools the ability to delete sensitive data from the repository like passwords, etc.
Github has a useful guide that has this command:
 git filter-branch --force --index-filter \
'git rm --cached --ignore-unmatch PATH-TO-YOUR-FILE-WITH-SENSITIVE-DATA' \
--prune-empty --tag-name-filter cat -- --all

and it works great. It would be super cool though if we could have this built into git town. Maybe a command like:
git town shred PATH_TO_FILE. What do you think?
@matthandlersux @kevgo @charlierudolph

Hey @angrygoats, thanks for the suggestion! Interesting functionality. I am, however, against adding this to Git Town for the following reasons:

this goes beyond the scope of Git Town as a tool to automate Git branch management in ways to minimize merge conflicts. I don't want Git Town to become a bloated "everything-and-the-kitchen-sink" tool but stay lean, focused on doing its mission, with a small as possible learning curve. It's okay to use several complementary Git tools as a developer. If anything, we should remove some commands from Git Town at this point  :)
this is for extremely rare use cases, which hopefully never happen at all. Git Town is for everyday use cases and maybe the occasional once-a-month use case.
this doesn't work for public repos, because they cannot alter history. If one does it anyways it's futile. This also shouldn't be needed for repositories that do code reviews.
there is already a single command-line command for Git that does this, plus an apparently pretty well-done tool with an active community. We don't want to fragment the Git tool landscape unnecessarily and reinvent all the thinking, testing, documentation, and optimizations that went into BFG. I am sure there are a ton of edge cases and things to consider here, and we have very little background around any of those.

If you have a need for this functionality, can you just use BFG? If BFG doesn't do what you want, can you send them a pull request with improvements?


HTML data element to jspdf

Hi Team,
I have an issue, my application consists of "Comments" section where user will be able to post his/her opinions and these are stored into database, problem I am facing is I am unable to publish the data in which the user has posted. Here, I am posting the data which the user posted and which i got into pdf.
Data posted by User:
The panel was amazing. We had some great participation!
Members included:
Joe
Jane
Jim
Quote of the day:
I love this app more then golfing! -Jim
Data which i got into pdf:

Can any one help me out in solving this??
Note: The data taken into pdf is from an array element.
Thanks In Advance

Hi there,
Thanks very much for your issue. We're closing many of the old issues while we focus on v2. If you
still think this is a major problem, please reopen.
Many thanks,
James


tutorial for reduxGTM

@johannalee  everything looks great, there's just one thing:
Could you combine all the sections of your tutorial into one file (docs/tutorial/index.md) and use anchor tags to link to each file? This will make it easier for people to just scroll through the entire tutorial without having to go back to the TOC whenever they want to move to a different section. See docs/extensions/index.md for an example of how to do anchoring in Github flavoured markdown.


Better Docs

I have no idea how to get the EXACT replica of the basic usage which is shown on the index page
Like no docs for that, I could get the plugin working but I do not know how to show the dragging element preview to follow the cursor like in the example

The current docs assume a basic level of understanding of ES6 syntax and Webpack (or some other module bundler of your choice). What exactly are you struggling with?

Yep, ES6 I think I know enough, So back to what I'm struggling.
When you click on a item on list to move around. My list item does NOT popup like in the index page it just disappear and a placeholder is shown when the mouse of moved up and down while mouse buttons is still down.
Does that make sense ?

Probably a z-index issue, did you pass in a helperClass and apply some styles to it? Try giving it a higher z-index

let me show you in example
Yep will do, Sometimes this happens.
I click one move it around
I click one more and the  suddenly two items have disappeared
Let me try what you suggested. Thanks

import React from 'react';

if (Meteor.isClient) {
    import {SortableContainer, SortableElement, arrayMove} from "react-sortable-hoc";

    SortableItem = SortableElement(({menuitem}) => (

{menuitem.name}

            {
                menuitem.description && (

{menuitem.description}

                )
            }

    ));

    SortableList = SortableContainer(({items}) => {
        return (

                {items.map((menuitem, index) =>
                    <SortableItem key={'sort -' + menuitem._id + '_index'} index={index} menuitem={menuitem} />
                )}

        );
    });
}

export default class SortableComponent extends React.Component {
    constructor(props) {
      super(props);

        this.state = {
            items: props.data
        }
    }

    onSortEnd(oldIndex, newIndex){
        let items = this.state.items;
        items.splice(oldIndex.newIndex, 0, items.splice(oldIndex.oldIndex, 1)[0]);

        console.log( items );

        Meteor.call('menuitem.updateOrder', items, (err, result) => {
            if (err) {
                alert(err.details);
            }
        });
        this.setState({
            items: items
        });
    }

    render() {
        return (
            Meteor.isClient ? <SortableList items={this.state.items} helperClass={"active"} onSortEnd={this.onSortEnd.bind(this)}/> :
        )
    }
}

if you are seeing the following pic you may see something really weird going on
z-index is totally messed up if a unfixable way 😭

For some reason,
When clicked on an item on the list, the ghostItem is created just before the end of the body tag, which is why the the z-index does not work anymore

Are you using the window as a scroll container or do you have an overflow scrolling container? In case you're using the window, you have to pass in useWindowAsScrollContainer={true}

I'm using just an  element as the container nothing fancy, I used useWindowAsScrollContainer={true} but still get the moving issue just after two list items moving up and down

is this because there are different heights of items inside the container ?

I wish you had the actual examples shown on the websiite inside the exmples/ in this git repo :(

Is there any way you can share a link to this? Either hosting it somewhere or using something along the lines of ngrock.
The height of the items should not matter, this library supports variable item heights.
As to your point about better examples, I'll see what I can do when I get some time to work on that.

I was in a hurry to get something working. So I moved on and used a different drag and drop plugin.
Thanks
On 21 Jun 2016 9:32 pm, at 9:32 pm, "Claudéric Demers"<EMAIL_ADDRESS>wrote:

Is there any way you can share a link to this? Either hosting it
somewhere or using something along the lines of
ngrock.
The height of the items should not matter, this library supports
variable item heights.
As to your point about better examples, I'll see what I can do when I
get some time to work on that.

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/clauderic/react-sortable-hoc/issues/15#issuecomment-227388953


CBS - Logo of the company is missing

ENVIROMENT: production
URL: https://scrapers.peviitor.ro/
Browser: Chrome
Device: PC
OS: Windows 10
STEPS TO REPRODUCE:
1.Open URL in browser
2.Type "CBS" in the search bar
3.Check if the logo of the company is displayed
EXPECTED RESULTS:
The logo must be displayed in the middle of the screen.
ACTUAL RESULTS:
There is no logo displayed.

please retest after website update


Update docstrings and examples (part 5)

Codecov Report
Patch and project coverage have no change.

Comparison is base (74ecc51) 100.00% compared to head (33adbf0) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #374   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          311       311
  Lines         9969      9969
  Branches       975       975
=========================================
  Hits          9969      9969

Files Changed
Coverage Δ

src/gravitorch/utils/seed.py
100.00% <ø> (ø)

src/gravitorch/utils/sysinfo.py
100.00% <ø> (ø)

src/gravitorch/utils/timing.py
100.00% <ø> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[WIP] Webpack 2

This is not intended to be merged.
it depends on https://github.com/webpack/watchpack/pull/33

Closed in favor of https://github.com/zeit/next.js/pull/449


How is the temporal transformer in Model 2 initialized?

Thanks for the great work. I found some details about initialization in Sec 3.4, but I am not sure about the initialization of temporal transformer encoders in Model 2. Are these layers randomly initialized? Thanks.

@taoyang1122  Thanks for you question!
Can you mention which project you're referring to?

Sorry for the confusion. I mean Model 2 in ViViT (Fig. 4). Thanks.

Yes, in Model 2 (Factorized Encoder), temporal encoder is initialized randomly!

Thanks for confirming! Another question is that in Model 2 at the input to the Spatial encoders, are all the input frames sharing the same cls_token or each frame has a sepaprate cls_token? Thanks!

No problem.
Yes.  We create the CLS token inside the vit_body function that we vmap it, thus we use exactly the same set of parameters (including the cls token) to process different frames.

Thanks for your prompt reply. That is really helpful!


Sidebar Links Not Working

Hi - this project looks very promising.
Can you check index,html in Output folder. It seems a number of closing tags are missing eg html, body etc

oops my bad, works fine when running http-server

I sent you a message directly, but perhaps here is a more appropriate location. :) I would agree with GonzoKK that it appears the links from the sidebar nav do no work, without HTTP services running. However, this could really reach its full potential if it can be run locally, and  if you could include a setting for the http root when it's implemented on an http server.  For now, I've been using regex replacement to sub in href=/ with href=./ so that I can have it in directories other than the root.  Can this functionality (perhaps by way of config file) be added?
Contact me if it's a funding matter, as this could be an extremely useful, lightweight tool.
Regards,
Rich Santink


How to add resourcePolicy on ApiGateway?

Hi,
I am playing with rubyonjets. Is there a way to add the resourcePolicy on ApiGateway through the DSL? I am thinking of using it within the organization and would like to restrict access.
Thank you.

Currently, not available. Should be pretty straightforward to add though.
Please use https://community.rubyonjets.com for questions.


Misspelled "Protocal"

It should be Protocol see here :p https://www.dictionary.com/browse/protocal

Thank you for the correction! I will fix it in the next version

It is fixed in version 0.29.

Wow that's fast! Thanks!
On Mon, Sep 9, 2019 at 4:11 PM Yingtao Guo<EMAIL_ADDRESS>wrote:

It is fixed in version 0.29.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/guoyingtao/Mantis/issues/5?email_source=notifications&email_token=ABGTZ27URDO2OONHYJOTCHLQI3J2LA5CNFSM4IU7SII2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6JJX5A#issuecomment-529701876,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABGTZ27M2EHJHM5GG7ZXRNTQI3J2LANCNFSM4IU7SIIQ
.

Wow that's fast! Thanks!


#8 Optimize Git Repo Size

Ended up NOT needing to use this branch.
The pull request will, however, add the GitHub section and folder because 8-optimize-git-repo-size was branched off of GitHub while I was investigating.

Reference #8 for resolution steps.


Compatiblity with React Router 6

Hi, has anyone checked if the library is still working with the new version of React Router?