Reserve price for the first vault shows as 0 on fractional art

https://fractional.art/vaults/0x3f49438561dd2f11b4f47f4117770de6c565aaf7

The reservePrice is correct. There isn't a price set. VLT1 holders need to set it on their own. Currently no VLT1 holder has voted on a reservePrice, which is why it is 0.
This does NOT mean that somebody might purchase the vault for free.
At least 50% of VLT1 (number of VLT1, not number of holder addresses) must vote on a price before the vault is eligible for an auction.
If we want to set an inital reserve price, we will need a TX to be made when the safe is created.

Ok it just means that if El col collected a valuable NFT, someone could theoretically buy the vault for 5 ETH. If all the vault raises is 5 ETH then it won't have enough to pay for the next vault. 0.5% of 5ETH = 0.25 ETH < vault tx costs is max 0.5ETH.
To ensure elcol raises enough for the next vault, (at least 10ETH) it should use its vlt1 token to set the price at 20ETH

There are two cases:

ElCol sells 100% of the tokens, and raises 10ETH. Which means that it got the funds it needed to deploy a new vault from the operating fee.
ElCol sells more than 50%, less than 100% of the tokens, and the vault is auctioned. The ElCol would get the funds from the tokens, shares of the auction price at this point, that it still holds.

Note that the smallest share a holder can have is 1/1000.

Agree
Elcol needs to sell 100% of the tokens to have the funds to pay for the next vault. The rest of the ETH raised is used to buy NFTs. If someone owns most of the supply of the token at 50%, they can bring the reserve price to near 0. If no one bids in the auction, there are basically no proceeds for El col for holding the token. Which means that El raised < 10ETH, which in turn means it has < 0.5ETH to pay for the next vault

They can only drive the price down by 1%, from whatever the initial price was. IE, if we set 20ETH, we are stuck with it. Checkout min reserve factor.
A majority holder could set the price very low, but to do so they would need to purchase the majority of the tokens.

In that case we could set it at 10 ETH
In cases for example where 51% of tokens have been sold, someone could be majority shareholder at 50%, and so be able to set the price very low. If sold at that price, it means El col would not have raised enough to deploy a new vault, because it only raised around 5.1 ETH, 95% of which was used to mint NFTs.


Implementation plan for the gRPC xDS APIs

Description:
$title

According to the initial research, we have to first implement the name resolving mechanism for gRPC with DNS and xDS like grpc-java did. Currently, I'm working on that.
Our initial feature will be the load balancing feature with xDS, then we can parallelly implement the other xDS features as mentioned here.

IMO, it would be better to follow approach 01 because unlike other approaches it won’t arise any dependency issues.

Since we have the Any type support ATM, we can consider approach 03 to implement this use case.

To implement this xDS feature, we have to add the CLI improvements mentioned here https://github.com/ballerina-platform/ballerina-standard-library/issues/2799. But addressing these CLI improvements is not enough to implement the xDS API.
Previously, when we were developing the Any type support, we did not add the deserializing logic to the 'any:unpack API because we did not have the proto descriptors at the record level. So, our solution was to return a deserialized anonymous record and the 'any:unpack API just does the relevant type conversions. However, when we develop the xDS API, there are messages that are not included in the main service descriptor. Solving that message invisibility is the main motivation to do these CLI improvements https://github.com/ballerina-platform/ballerina-standard-library/issues/2799. But these CLI improvements would not solve the entire problem because still, we cannot find the descriptor information when we receive a message as a bytes array at the gRPC level. So, to solve this, we should add deserializing logic to the 'any:unpack API because it has the descriptor information along with the message.
The proposed solution is as follows:

'any:Any contains the type URL and the message data as bytes
'any:unpack API deserialize the byte data (
The second parameter of the 'any:unpack API has the type information. And for a record, it contains the descriptor details too.

@daneshk @shafreenAnfar @dilanSachi FYI


Can't run Fabrica on Ubuntu 16.10

I can’t this up and running on Ubuntu 16.10
I keep getting:
[Fabrica] Waiting for 'timpress_wp' container...
More than 360 seconds elapsed while waiting for WordPress container to start.
‘timpress’ being my slug
Anyone have this problem?

I also ran into this, a file permission issue was to blame.
Try making the www/ directory and change ownership to www-data:www-data before running the ./setup.rb command inside the fabrica directory like so:
mkdir www && sudo chown www-data:www-data www
Explanation
The [fabricaRoot]/www folder containing the webroot docker volume gets ownership root:root when created in the host file system by the docker daemon. These permissions passes thru to the wp container, causing the install to fail due to folder ownership of /var/www/html (passed thru from [fabricaRoot]/www) being root:root.
By manually creating the directory with the correct permissions beforehand, the setup scripts inside the container (which runs as the user www-data) will have the necessary permissions to go through with the setup procedure.

Thanks @RockPaperPencil, that was in fact the issue! We ended up making things a bit differently and keeping the www folder owner as the host user and changing the container www-data user UID and GID to same values as the host user. This way we can avoid that sudo (and typing passwords) on the setup process or handling files in that folder in the host, and, since Linux only looks at the UID and GID for permissions, the container assumes that owner is in fact www-data.
@WebRuin can you please clone the new version and try again?

Yes, thanks

Works great now

@tiojoca Not exactly sure what you mean when you say "changing the container www-data user UID and GID to same values as that user."  Do you mean changing the group of the parent folder ei: fabrica-project to www-data?

I got it... Thanks

The folders permissions aren't modified. Since the www folder is now created by the setup script, it will have the same permissions as the user running it. Only the numeric UID and GID that are attributed to the Docker user and group www-data are changed so that they're the same as the UID and GID of the host user who running setup.
Is it working well for you now @WebRuin ?


[WIP] addressing issues

Addressing Github issues.

I was thinking to use this in particular in the exercises where we create branches. At every workshop we have 2-3 participants who create branches from the "wrong place". And then don't know how to recover (#217). So we either show how to recover or we make it more bulletproof (or both).

OK


Version 4.2.0

Adding optimizations for speed ups to creation and inserts
Adding internal record of safe attributes for faster lookups, increases memory footprint for speed (thanks to Jonas Irgens Kylling)
Adding all additional methods specific to Box as protected keys
Fixing merge_update from incorrectly calling __setattr__ which was causing a huge slowdown (thanks to Jonas Irgens Kylling)
Fixing copy and __copy__ not copying box options

Coverage decreased (-0.1%) to 99.875% when pulling bd91787fd3eeb905e8405d9625f0d7023b30106f on development into<PHONE_NUMBER>24443866ceb1bfbb012b30aab3e5cb on master.


create ribbon toolbar in DotSpatial needs recompilation

The DotSpatial default control UI is plain looking, to get to the ribbon look, do we need to build ribbon UI ourselves then recompile DotSpatial? I found this link to the DotSpatial.Plugins.Ribbon 1.4.29 that looks pertinent, but it is quite old, is this an abandoned effort?

No idea who created it but it did not belong to DotSpatial itself. And if you read the link you posted it was abandoned.

Maybe its time for a new control. The MapWindow ribbon looks fantactic.


<A-d> can't bring up floating terminal

Version confirmation

[ ] Confirm

Neovim version
NVIM0.8.2
Operating system/version
archlinux,dwm
Terminal name/version
alacritty
$TERM environment variable
No response
Branch info
main (Default/Latest)
Fetch Preferences
SSH (use_ssh = true)
How to reproduce the issue
用A-d调不出浮动terminal.
Expected behavior
看展示效果图,可以调出浮动终端,
Actual behavior
No response
Additional information
No response

How does neovim respond when executing :execute v:count . "ToggleTerm direction=float" in command mode?

<A-d> does bring up floating terminal for me.

@Jint-lzxy ,刚试了一下,用 :execute v:count . "ToggleTerm direction=float" 可以调出来.

刚试了一下,用 :execute v:count . "ToggleTerm direction=float" 可以调出来.

Then your terminal does not correctly pass the escape sequence to neovim instance. Looks like you are using alacritty. Have you set alt_send_esc: true?
If it's not the case then if you press <A-d> in showkey -a what do you see?

@Jint-lzxy If it's not the case then if you press  in showkey -a what do you see?
在终端里执行showkey -a 然后 没有输出.用别的快捷键(C-r)试了一下有输出.
另外请问:set alt_send_esc: true应该在哪里设置呢?

另外请问:set alt_send_esc: true应该在哪里设置呢?

normally u should find the config file in ~/.config/alacritty/alacritty.yml

在终端里执行showkey -a 然后 没有输出.用别的快捷键(C-r)试了一下有输出.
Then the alt-related sequences are not escaped correctly.

另外请问:set alt_send_esc: true应该在哪里设置呢?
This is a problem with your terminal, so check https://github.com/alacritty/alacritty#configuration

我查了一下,这个是设置了的.

Actually U should try another terminal to check if it's terminal's problem or not first.

Then this is an issue related to alacritty. Can this issue be reproduced on other terminals? If not, please open an issue in their repo.

好的,谢谢!


Phrase Query

Initialize Phrase Query specification

@dichotommy I've added a specific part about hard separators! :)


balanced_low_0 Related Issue During Inference

Hi, I noticed in scripts/eval/bbh.sh, if two or more CUDA devices are available, for example, CUDA_VISIBLE_DEVICES=0,1, it will give "Expected all tensors to be on the same device, but found at least two devices" error. If using auto instead of balanced_low_0 for device_map, then it is fine. I am wondering probably I am missing something? Thanks!

Hi - are you still having this issue? I recommend using vllm if you can, since it is much faster.


Inline trivial lambda bindings, to beta-reduce later on for smaller scripts

A long-overdue continuation of #4219.
The back-story is that we wanted to have a flag that removes traces for slightly smaller scripts without changing the source code. However, #4219 only ignores the trace text and more or less keeps the trace bindings intact, only removing trace messages and reducing little CPU usage at run time.
To inline and later beta-reduce the new definition for actual smaller scripts, we would need a very specific case in trivialTerm:
https://github.com/input-output-hk/plutus/blob/c8c5183f7facd967d48fe07b3b14465b8dd48fe7/plutus-tx-plugin/src/PlutusTx/Compiler/Builtins.hs#L312-L325
TyAbs _ _ _ (LamAbs _ _ _ (LamAbs _ n _ (Var _ n'))) | n ^. theUnique == n' ^. theUnique -> True

This can be generalized as followed like in this PR:
TyAbs _ _ _ t  -> trivialTerm t
LamAbs _ _ _ t -> trivialTerm t

Meaning we would like to inline (to later beta reduce) trivial lambda bindings. This looks pretty scary at a glance without any depth check or concrete definition of triviality, but early experiments suggest that there are not many such bindings in practice:
https://github.com/input-output-hk/plutus-apps/pull/219.
I guess this is more of an issue with code samples than an actual PR. Would love to receive some inputs before continuing it. Another adventurous line is to try inlining bindings that are applications, like in:
https://github.com/input-output-hk/plutus/blob/c8c5183f7facd967d48fe07b3b14465b8dd48fe7/plutus-tx-plugin/test/Plugin/NoTrace/Spec.hs#L48-L51
Pre-submit checklist:

Branch

[ ] Tests are provided (if possible)
[x] Commit sequence broadly makes sense
[x] Key commits have useful messages
[x] Relevant tickets are mentioned in commit messages
[x] Formatting, materialized Nix files, PNG optimization, etc. are updated

PR

[x] (For external contributions) Corresponding issue exists and is linked in the description
[x] Self-reviewed the diff
[x] Useful pull request description
[ ] Reviewer requested

This is a bit subtle, and we need to be careful about the reasoning. If you've got time to think more about this I have some suggestions, otherwise I might just push some tweaks to this branch.

I'm going to write a patch, sorry. I need to write a bit about the tradeoffs, better for me to do it!

@michaelpj Yeah, I did run out of my depth there. I only felt scared inlining deep lambdas and that was it... I guess I can test your upcoming patch in different places to see if anything strange happens.

Done and merged separately.


add x-of unit tests

Codecov Report

Merging #109 (b729f58) into main (e228a4d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #109   +/-   ##
=======================================
  Coverage   90.21%   90.21%
=======================================
  Files          69       69
  Lines        3782     3782
=======================================
  Hits         3412     3412
  Misses        265      265
  Partials      105      105

Flag
Coverage Δ

unittests
90.21% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


zenith: 0.8.2 -> 0.9.0

0.9.0 has "not built by default" support for nvidia gpu but I didn't figure out yet how to build it. I'll address it in another PR.
Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

/nix/store/14knjny0mplcs3js2ivr9vjzdwcznsx6-zenith-0.8.2	  34.8M
/nix/store/1jwqjrk3w4fnqi3nacf84nlc6raavhd6-zenith-0.9.0	  33.8M

It should build for aarch64 this time.

It doesn't build on aarch64. Help would be very welcome.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-in-distress/3604/21

As a start, I'd try to split to two different PRs the update vs "Make this work for aarch64".

@doronbehar done, this PR is the update and the aarch64 stuff is in #88616.

Thank you very much for your time.

Thanks!


some problems about log when messeages from the group aren't include links

some problems about log when messeages from the group aren't include links

fixed in https://github.com/bdim404/HackerNews-Summarize-Telegram-Bot/pull/42


Context window size can be specified for provider + model

Description
Context window size can be specified for provider + model
When provider+model is not known, the default size will be used.
(Please note that Azure OpenAI != OpenAI now!)
Type of change

[ ] Refactor
[x] New feature
[x] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.43%. Comparing base (732f648) to head (ff97507).
Report is 6 commits behind head on main.

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #802   +/-   ##
=======================================
  Coverage   94.42%   94.43%
=======================================
  Files          55       55
  Lines        2027     2029    +2
=======================================
+ Hits         1914     1916    +2
  Misses        113      113

Files
Coverage Δ

ols/app/models/config.py
95.95% <100.00%> (+0.01%)
:arrow_up:

ols/constants.py
100.00% <ø> (ø)

/retest


Add the Distribute>Stores functionality for Windows UWP apps

I am trying to use App Center to release my UWP app to InTune such that I can distribute the app to my users. As it turns out this is only available if your app was written for Android or IOS. I find this to be very intuitive as you would think that App Center (now Microsoft owned) would support Microsoft technologies first.
My request is that I would like App Center to be my one stop shop for application distribution regardless of platform.
Without this feature, I am forced to use the InTune Powershell SDK to write a Powershell script to release the app to InTune within Azure Devops, which I have not proven yet, and is just conceptual. This means that for all my Android apps, I use App Center for dev/test/prod distributions. For my dev Windows apps I use App Center. But, for my prod Windows apps, I use a home grown Powershell script in Azure Devops. This inconsistency doesn't feel great to me.
I believe this to be heavily related to Issue #383, but is really taking it up a notch and asking for the ability to release to both Windows Store and InTune.
I had previously spoken to Ali Farahnak, who recommended I submit this issue. He could probably provide even more context, as we had a really great conversation discussing my options.

Hi,
Thanks for submitting a feature request.

Hi,
Thanks for submitting a feature request.

Thank you for the response Zakeelm.

I was amazed to find out that Microsoft does support Apple's AppStore, Google's Play Store, but not its own Windows Store. No wonder that it doesn't become more popular when even MS doesn't take its own store seriously. It's like the people from Coca Cola can only buy Pepsi at work. 😉

I was amazed to find out that Microsoft does support Apple's AppStore, Google's Play Store, but not its own Windows Store. No wonder that it doesn't become more popular when even MS doesn't take its own store seriously. It's like the people from Coca Cola can only buy Pepsi at work. 😉
I am also wondering why I have the option to distribute to a store for an UWP application if it's not supported:

This screenshot is from my UWP application's build settings.

I agree with everything you said in your comment @ramondeklein!

Is there any update on this issue? We were planning to use this feature, but we found out that store distribution is not yet supported even though this issue was opened more than a year ago @Zakeelm @Oddj0b @dpaulino

Is there any update on this issue? We were planning to use this feature, but we found out that store distribution is not yet supported even though this issue was opened more than a year ago @Zakeelm @Oddj0b @dpaulino

I'm using Azure Pipelines and releasing to the store directly using a pipeline extension. It does exactly what I need.

Is there any update on this issue? We were planning to use this feature, but we found out that store distribution is not yet supported even though this issue was opened more than a year ago @Zakeelm @Oddj0b @dpaulino

I'm using Azure Pipelines and releasing to the store directly using a pipeline extension. It does exactly what I need.

Are you deploying to Microsoft Intune directly from azure? or you mean appcenter?

I'm deploying to the regular Microsoft Store

@dpaulino @hamidAbdalrahmanM
I have been on a few calls initiated by support tickets through Microsoft trying to figure out how to do this or to find a work around. I haven't had much luck. My ultimate goal is also to upload the application to Intune. I would be willing to use App Center to deploy it to Intune, but given the lack of response I doubt that will ever be an option.
In the calls, the best answer that I have gotten is to use the PowerShell SDK to upload the application to Intune using Azure Devops. A link to the reference documentation below. I gave it a pretty solid effort to adapt and make the sample labelled "Upload iOS LOB Application" to work with an Android application in our environment with no luck.
I am curious, does the verification time that delays your release to the Windows Store cause any issues in your environment @dpaulino ?
https://github.com/microsoft/Intune-PowerShell-SDK/tree/master/Samples

I agree with this, it should be a feature that is provided out of the box! How can MS support Play Store, App Store but not it's own offering of Windows Store?!
I know the current roadmap suggests the team are looking to improve the stability of App Center, but its there likely to be any movement on this at all in the (near) future? Seems like any progress has been abandoned...

+1 for this feature request!


Demo purposes/merge andreea mircea

Guys, it is looking good. I think we could tweak it to make it more generic and clean it up a bit. Even if there is no chance to do those changes, we can merge it to the dev branch and then fix those things after the demo.
Thanks!

@AndreeaDora, @borzamircea  - I agree with the above - I suggest you will take care of the case when the env var is not supplied. A proper message should be displayed.


Add an option to use specific address as a source of funds in protx rpc commands (otherwise use payoutAddress/operatorPayoutAddress)

Alternative to #2579
Pros:

no need to mix (fundAdddress can be pre-funded via PS if needed though);
PS is a really bad option for register_fund;
easy to manage fundAdddress per masternode (monitor its usage etc.).

Cons:

will merge all inputs belonging to fundAdddress each time (but this is probably ok and shouldn't cause any issues in most cases);
need to keep enough coins in fundAdddress (but amounts are tiny).

Testing this locally and noticed that ProTxs fail when too many inputs are present for the given address. TX simply gets too large. Something like https://github.com/codablock/dash/commit/ef16993728b1e21b4d276f110ec5fb916712faa3 helps. This might also be useful in general as we shouldn't merge inputs when not explicitly requested by a user.

Tests were failing. https://github.com/codablock/dash/commit/7239a3aa5f10a772466e8733a08772ccf78c9cf6 and https://github.com/codablock/dash/commit/74a56ea344f59c4c7aafdf6978a69d74f6e88560 should fix them.


Sendgrid updates

Updated Sendgrid package to the latest.
Updates test suite to use latest packages. This also fixes the compatibility with NUnit 3 and VS2017.

Fixes issue #50

Added to nuget https://www.nuget.org/packages/FluentEmail.SendGrid/2.0.1


Not able to setup selenoid on Mac M1

I am trying to setup selenoid on Mac M1.
I have tried following steps, but I am not able to get selenoid container up.

Selenoid container exits with following command

2023-08-31 12:59:25 2023/08/31 07:29:25 [-] [INIT] [Loading configuration files...] 2023-08-31 12:59:25 2023/08/31 07:29:25 [-] [INIT] [/usr/bin/selenoid: browsers config: read error: open /etc/selenoid/browsers.json: no such file or directory]

I have tried this:
Created a browsers.json at above path with following content:
{

  "firefox": {

    "default": "latest",

    "versions": {

      "latest": {

        "image": "selenoid/firefox:latest"

      }

    }

  },

  "chrome": {

    "default": "latest",

    "versions": {

      "latest": {

        "image": "selenoid/chrome:latest"

      }

    }

  }

}

—————————————————————————————————————
2. Followed steps here to start selenoid using binary.
chmod +x cm_darwin_arm64
./cm_darwin_arm64 selenoid start --vnc

Gives me following error:
Failed to initialize: [can not access Docker: make sure you have Docker installed and current user has access permissions]`

While I am able to run docker commands
docker ps

CONTAINER ID   IMAGE                                 COMMAND                  CREATED      STATUS                    PORTS                    NAMES

672ec9e3872e   aerokube/selenoid-ui:latest-release   "/selenoid-ui --sele…"   2 days ago   Up 30 minutes (healthy)   <IP_ADDRESS>:8080->8080/tcp   selenoid-ui

docker images

REPOSITORY                           TAG              IMAGE ID       CREATED         SIZE

aerokube/selenoid                    latest           5be16d471a91   3 weeks ago     17.3MB

aerokube/selenoid                    latest-release   58f712004c5c   5 weeks ago     17.3MB

I have also created docker group in Mac settings and added my user there.
—————————————————————————————————————

I tried docker pull and run latest image, but ended up with same browsers.json file missing error.

I am not sure if the issue is M1 specific, but selenoid setup works fine on Windows and Non M1 Mac with documented commands.
Can someone help?

@shivanishinde-trilio you are mounting browsers.json incorrectly inside Selenoid container. But you can also run Selenoid as a binary just launching ./selenoid -config browsers.json and it will work with Docker containers.

@vania-pooh Could you please clarify which is the selenoid binary you are referring to? And steps to get this binary?

@shivanishinde-trilio binaries are attached to every release: https://github.com/aerokube/selenoid/releases

Seems to be related to https://github.com/aerokube/selenoid/issues/795.

@vania-pooh Is selenoid supporting Mac M1 now?

@ashwink-tech Selenoid binaries work on Mac M1 but e.g. Chrome images will not work.

@shivanishinde-trilio can you please share the docker-compose.yml file for the same...


ARTEMIS-1397 Removing Netty Copied classes

instead of duplicating a buffer from Netty, this will use an existing Wrapped Unpooled Buffer
Which will in turn use Unsafe Properly.

@michaelandrepearce  / @franz1981  I don't really see much gain on saving the ByteBuf instance. Maybe page.write would create a few more instances.. but I doubt it would really matter here.
I would rather accept the little weight caused then having to maintain Unsafe just for that.

@michaelandrepearce this is following up after #1561

@michaelandrepearce fancy doing your first merge?

@clebertsuconic yup lets, step me through the process, good chance to learn.

@clebertsuconic just for record, i don't have issue with the class @franz1981 made, its more the very recent change that brought in the UnsafeByteBufUtil.java just so they could move package, for OSGI. Id much rather if that class is needed we request Netty to make its method public.

@michaelandrepearce I think the right thing is to use the Netty Buffer Like I am doing now... reusing the instance.. just to call wrap.. not even Netty guys mind about that...
If we really need it.. we could maybe convince Netty guys to provide a wrap method on a buffer, so we could always reuse the same instance.

@clebertsuconic @michaelandrepearce  the reason behind that class was to have more stable latencies on hot paths with no data-sync enabled: if not reused it creates a big amount of garbage when you have bursts of writes.
With data-sync it won't make a big difference if you don't have a very fast disk...
Anyway I trust your the decision about it guys :)

@franz1981 i agree with you, any chance we can get netty guys, to either take your class, or to get netty to make the methods you use in UnsafeByteBufUtil set to public? So we don't have to have a full copy of UnsafeByteBufUtil in artemis just to sort some OSGI issue?

@franz1981  we can have it back.. just would need to have it properly at Netty exposed.. either have your class, a super class we can easily extend.. or whatever is needed.

@clebertsuconic @michaelandrepearce I've just posted on Netty's gitter what we have on Artemis, to see if there is any chance to have it directly on Netty (I will do the PR if I'll receive positive feedbacks) :+1:

@franz1981 +100 thanks for doing that really appreciated it’s a good feature.


Create a NAS2D Project in Projects tab

Creating a project in the Projects tab will allow for easier creation and assigning of tasks and let others know who has what task(s) currently checked out so there is no duplicate work being done.
More Info:
https://help.github.com/en/articles/about-project-boards

Ahh yes, I've ignored that tab for far too long. I suppose it's time.
Guess I have a bit of reading and experimenting to do.

Speaking of, I need to decide which PR to merge and which to reject (between 167 and 169). They're basically the same changes.

You mean #166 and #167, which both deal with Mixer. Not to be confused with #169, which deals with Renderer.

@cugone, are you able to assign an issue to yourself? There's a link for that on the top right of each Issue page. I'm not certain if you would have access to it though, as you've never been added to the LairWorks organization. That might be what we're really after to avoid duplicate effort.
The Project tab is also a good idea. We should probably try using more of these GitHub features. I suspect the Project tab is more useful when you have a large backlog of tasks, with milestones for each, which you want to distribute among a team of programmers. I haven't used it yet, so it's hard to say. We're probably at a point where we can start making use of something like that.

@DanRStevens

...are you able to assign an issue to yourself?

No I can not as I am a lowly contributor not a collaborator nor an org member. I would not have write access without manual intervention: https://help.github.com/en/articles/project-board-permissions-for-an-organization.

I've updated this so that you're now a collaborator. I haven't done much with GitHub projects but willing to learn and see how effective it is. Almost all of my development efforts on GitHub have been a sort of lone wolf type of deal.

I assume with collaborator status, you can now create branches and PR right from the original repository, and don't need to work from a fork of it. That might make pulling in updates changes slightly easier.

Well, the project board is created, so I guess this should be closed now.
We haven't yet used it really, nor learned how to use it, though that seems to be another matter.


Cluster type telemetry

Adds information about whether a cluster is Azure, Minikube or 'other' to command telemetry.
IMPORTANT NOTE TO SELF: Do not merge until we have updated the disclosure statement in the readme! Disclosure updated.

LGTM.


Problems installing on ubuntu 1804

trying to install on a VM that use a proxy to get web access to the 'Net.
rful011@secmgrtst01:~$ python3 -m pip install elastalert
Defaulting to user installation because normal site-packages is not writeable
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:852)'),)': /simple/elastalert/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:852)'),)': /simple/elastalert/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:852)'),)': /simple/elastalert/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:852)'),)': /simple/elastalert/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:852)'),)': /simple/elastalert/
Could not fetch URL https://pypi.org/simple/elastalert/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/elastalert/ (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:852)'),)) - skipping
ERROR: Could not find a version that satisfies the requirement elastalert (from versions: none)
ERROR: No matching distribution found for elastalert
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:852)'),)) - skipping

I have seen this sort of thing before and it is usually caused by issues with the way requests are made to the proxy (squid).
I have the following env vars:
rful011@secmgrtst01:~$ env | grep proxy
https_proxy=https://squid.auckland.ac.nz:3128/
http_proxy=http://squid.auckland.ac.nz:3128/
no_proxy=auckland.ac.nz

Any suggestion to work around this.  I am no python expert!

https://qiita.com/noguhiro2002/items/bbc8f4aecebc1e16e1ed

https://github.com/Yelp/elastalert/issues/3178

thanks for the pointer to elastalert2 I will try that


[Snapshot Interop] Add Changes in Snapshot Status Flow for remote sto…

Description
Changes in Snapshot Status API required for Snapshot interoperability with Remote Store.
Related Issues
This change is dependent on Lock Manager changes and Create Snapshot API changes.
Check List

[x]  New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff
[x] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

I am mostly fine with the changes, just wanted to understand the requirement of new method in the repository interface.
Also, build is failing. Please fix it.

We can use the presence of blob name in shard container as a way to determine whether we need to read shallowCopy shard metadata file or full copy shard metadata file.
Also lets create a interface/base class which both RemoteStoreShardShallowCopySnapshot and BlobStoreIndexShardSnapshot can implement or extend and we can return that interface/base class object from loadShardSnapshotStatus method.

Earlier, to get shard snapshot status , getShardSnapshotStatus used to read snap-UUID file and return BlobStoreIndexShardSnapshot. But now with remote store interoperability, depending on whether the shard belongs to index with remote store enabled or not, has to read either shallow-snap-UUID or snap-UUID and return RemoteStoreShardShallowCopySnapshot or BlobStoreIndexShardSnapshot respectively.

add skip-changelog label to the PR and fix the build failures. changes LGTM otherwise.

All the test failures are flaky .
Test Result (5 failures / +4)

    org.opensearch.remotestore.RemoteStoreBackpressureIT.testWritesRejectedDueToTimeLagBreach
    org.opensearch.remotestore.SegmentReplicationRemoteStoreIT.testCancellation
    org.opensearch.remotestore.SegmentReplicationRemoteStoreIT.testCancellation
    org.opensearch.remotestore.SegmentReplicationRemoteStoreIT.testCancellation
    org.opensearch.remotestore.SegmentReplicationRemoteStoreIT.testCancellation


Bump PHPs

cc @fancyremarker

@krallin : As a heads up, I'm not sure if tzdata would be expected to be installed by any customer images that are based on aptible/php, but if so, I believe this would be the first build against the aptible/ubuntu:16.04 image that no longer includes tzdata (i.e., the image built from this Travis run). This was an issue for some customers using aptible/ruby (see aptible/docker-ruby#29) — so I figured I'd mention here.


update governance

Update our public governance document.
TODOs:

[ ] now that new governance is adopted, set a deadline for current maintainer team members to volunteer for steering council. Once steering council membership finalized, update doc/overview/people.rst
[ ] the sections on "the project" and "institutional partners" were not included in the proposed restructuring. For now I've left them in place. If folks disagree with that course of action, I think we could summarize the "institutional partners" content at the start of the "institutional partners" list on doc/overview/people.rst instead.

the sections on "the project" and "institutional partners" were not included in the proposed restructuring. For now I've left them in place.

I agree with this. However note that I have not been employed by "Max Planck Institute für Bildungsforschung" since 2024-07-14. So I guess this triggered the "1 year grace period" for them until they are moved to "former partners". Shall I create an event for this on our mne steering council calendar?


client-ng: add operation log

Builds on  #2251
This PR adds a log of all operation IDs that also allows the creator to add meta data. This meta data can be used by module clients to indicate the high level intent behind the operation helping with interpreting the associated state machines.

Closing in favor of #2270 which builds on top, so I don't have to rebase two PRs all the time.


the calculation of the LGN response

Hi, I would like to ask about the calculation  of responses of the LGN units. In the gcal model script,
on_weights = pattern.Composite(generators=[centerg,surroundg],operator=numpy.subtract)
off_weights = pattern.Composite(generators=[surroundg,centerg],operator=numpy.subtract)
the size is 256*256. Based on the equation (2) in the Stevens et al.(2013) of J.Neurosci, for the
response function of LGN units, the numerator part is about the sum of weights times image point
values. My problem is, in the model script, the radius of  the connection field from Retina sheet to either LGN ON sheet or LGN OFF sheet, is 0.375,  but I am not sure, how to choose the image points in
this range. Since the retina density is chosen as 24 in the script , the total units of the retina sheet
is 60 if I set the area as 1. This is to say, there are no more than 60 image pixels while 256 weights,
so how to find the counterpart weight of one image point to do the calculation ?  Thanks for your attention.

I'm not sure precisely what you are asking, but if you run the script in the simulator you should be able to see the actual array sizes involved for all sheets and all weights, and hopefully that will clarify things.  You might not be including the buffer area that gets added to the outside of each sheet to ensure that no connection is ever cropped off.

Thanks. I need to find out, e.g. the data of the connection field.

Sorry for disturbing , I have to clarify my question and would like to ask again, since I still confused by  this calculation. According to the equation  (2) in the Stevens et al.(2013) of J.Neurosci, for the response function of LGN units. The numerator part is about the sum of weights times stimuli values. In the script the weights are generated by the below :
on_weights = pattern.Composite(generators=[centerg,surroundg],operator=numpy.subtract)
off_weights = pattern.Composite(generators=[surroundg,centerg],operator=numpy.subtract)
I open the data and the size of  weights are 256256. However, the size of  retina sheet is much smaller than 256256, which means the points for the stimulus are much less than 256*256, so it seems that there are not enough points for stimuli used to multiply the weights. Or I misunderstand something. So
could you help explain it ?

@jlstevens , can you please check your published simulation to report the sizes of the LGN, Retina, and the LGN receptive fields on the retina?  In no case will the LGN RFs on the retina be larger than the retina itself.

I'll have a look.
My suspicion is that the resolution of 256x256 is what you see when you look at the imagen pattern (i.e for viewing) as I am fairly sure you'll see very different numbers once the pattern is turned into weights for a connection field.
I don't believe we have any such nice (i.e power of 2) numbers for any of the CFs.

Hi, I am not sure. The script I run is from /topographica/models/stevens.jn13/gcal.ty.  The commands are:
centerg   = pattern.Gaussian(size=0.07385,aspect_ratio=1.0,
output_fns=[transferfn.DivisiveNormalizeL1()])
surroundg = pattern.Gaussian(size=0.29540,aspect_ratio=1.0,
output_fns=[transferfn.DivisiveNormalizeL1()])
on_weights = pattern.Composite(generators=[centerg,surroundg],operator=numpy.subtract)
off_weights = pattern.Composite(generators=[surroundg,centerg],operator=numpy.subtract)
I run the script and open the data of these weights and the size of the weights is 256 * 256 .
Do you mean for the connection fields, only a part of these weights is used and approximately equal
to the entire weights ? How is the normalization factors used in the actual weights? Are they same
with the ones for the entire weights ?

Ah, I see why you are confused!  The weights and input patterns are created by ImaGen, which is a library that allows you to specify resolution-independent patterns like in a vector drawing program like Illustrator or Inkscape. The on_weights here are not 256 * 256 or any other array shape; they don't have any specific resolution at this stage. If you call them using on_weights() they will be rendered into a default-sized array of 256 * 256, but you could just as easliy call them with on_weights(xdensity=5,ydensity=1000), and you'd get a different array.  The array size hasn't yet been chosen, at this point.
You need to look at the actual network in memory if you want to see the specific array of values that is used during simulation, using something like topo.sim.LGNOn.cfs[0,0] (not sure of exact syntax, and can't check easily, but should be something like that that you can find by tab completion).  Or you can inspect the size of the weights visually in the GUI.  But here you're just getting the abstract mathematical specification of the pattern, not the specific array being used.

Now I see it, thank you so much !!


Output toggle showing map instead of js

In your demonstration on the front page, it shows the respective .js file being split against the .ts version. However when I activate it ctrl+shift+m, it gives me the .js.map file.
Oh, I should add that I'm using the latest version 2.15.12

Thanks :rose:

Thank YOU for being so quick :smile:


Decode Solidity error statement properly

Decode Solidity error, similar to function and event. From https://blog.soliditylang.org/2021/04/21/custom-errors/

Starting from Solidity v0.8.4, there is a convenient and gas-efficient way to explain to users why an operation failed through the use of custom errors. Until now, you could already use strings to give more information about failures (e.g., revert("Insufficient funds.");), but they are rather expensive, especially when it comes to deploy cost, and it is difficult to use dynamic information in them.
Custom errors are defined using the error statement, which can be used inside and outside of contracts (including interfaces and libraries).

This link might be useful https://docs.soliditylang.org/en/latest/control-structures.html#panic-via-assert-and-error-via-require to decode more errors.

Decode for selector 0x08c379a0  (Error(string)) has been implemented in

#6 (#88)

Custom errors definitions are described in https://docs.soliditylang.org/en/latest/control-structures.html#revert.
Essentially, it needs abi decoding of memory arguments https://docs.soliditylang.org/en/latest/abi-spec.html#function-selector-and-argument-encoding.

Preliminary analysis of REVERT error selectors in Contract Dataset 4ce3987.

Fixed in #104.


Us21634

Modified SAML identity provider configuration to accept an add_new property, which is true by default, and determines whether to add new shadow users automatically or not.

[Brittany, Sanjeev]
We should add a unit/integration test which sets add_new property to true/false and asserts expected behavior when authentication succeeds.

authN success, shadow user does not exist, add_new=false
authN success, shadow user does not exist, add_new=true


qt5: could not find the qt platform plugin "cocoa" in ""

Issue description
Running into this on Dwarf Therapist on macOS. Here is the text:
qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

abort trap: 6

Steps to reproduce
$ nix-build '<nixpkgs>' -A dwarf-fortress-packages.dwarf-therapist-original
$ ./result/Applications/DwarfTherapist.app/Contents/MacOS/DwarfTherapist
qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

abort trap: 6

I have discovered a robust way for running Qt applications without installing them globally in https://github.com/NixOS/nixpkgs/issues/30551#issuecomment-346319767

Ok that could be helpful! Still with things like nix run it seems like there is an expectation that you shouldn't have to install things for them to work.

This is true, and this should definitely be possible to achieve at least when qtbase plugins are sufficient for the application. The only difficulty with implementing this that I know is that Qt loads all plugins that it can find, but it should only be allowed to find compatible plugins (built against the same revision of qtbase), and it probably shouldn't load the same plugin twice (when it appears in multiple search paths).
Nixpkgs support Qt plugins thanks to https://github.com/ttuegel/qtbase/commit/efad4548aeeb7218600ca2188307bd9668c93d7c. May @ttuegel had an alternative idea when he reverted it in https://github.com/ttuegel/qtbase/commit/20ab8e8d4bde38e83e9b50c6b457e4a517975417?

This actually should be handled better with:
https://github.com/NixOS/nixpkgs/pull/54525

I get "Could not load the Qt platform plugin "cocoa" in "" even though it was found." running a unit test from qtcreator. Any ideas how this might be resolved?

I have the latest version of speedcrunch.
I am using UBuntu 18.04. When I start speedcrunch I got this error:
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

same issue when running qdigidoc4
/nix/store/k9mfjxm301y32z4m1r9gz5zl4r056n3a-qdigidoc-4.1.0/bin  qdigidoc4
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

[1]    26252 abort      qdigidoc4

The
nix-env -iA nixpkgs.qt5.qtbase
export XDG_DATA_DIRS=$HOME/.nix-profile/share:$XDG_DATA_DIRS

indeed fixes it

this is a stale bug https://github.com/NixOS/nixpkgs/issues/65399

I spent hours on this and dived into my system....
In my case there is no cocoa folder in usr/local/cellar/qt5/5.14.1/plugins/platforms


feat(analytics-chart): things we need from konnect-vitals [MA-2557]

Summary
https://konghq.atlassian.net/browse/MA-2557

Resources

Creating a package docs

@filipgutica I think we're exporting these two files twice (once from src/utils/index, once from the root src/index)
export * from './constants'
export * from './colors'


Test unicast DNS-SD as well as multicast, with both Avahi and mDNSResponder, on Ubuntu 20.04

Test unicast DNS-SD as well as multicast, with both Avahi and mDNSResponder, on Ubuntu 20.04

Add matrix.dns_sd_mode as 'unicast' or 'multicast', used in job name and results filenames
For now, unicast DNS-SD testing is not supported on Windows and macOS
Add api.testsuite.nmos.tv and mocks.testsuite.nmos.tv to /etc/hosts (as per https://github.com/AMWA-TV/nmos-testing/blob/master/test_data/BCP00301/README.md#hosts-files)
Stomp on /etc/resolv.conf (systemd-resolve --set-dns didn't replace only add) to ensure that only the mock DNS server is used and restart the Avahi or mDNSResponder daemon (reloading and/or invalidating/flushing systemd-resolve and nscd caches between test suite runs was found to be unnecessary)
Configure nmos-cpp-node to timeout registration requests (after 5s) and retry long-running DNS-SD queries (after 10s), well before the testing tool's DNS_SD_ADVERT_TIMEOUT (30s by default)
Run the testing tool with elevated permissions when testing unicast DNS-SD (unfortunately necessitating quick hack of pip install-ing packages as root)
Note the domain names passed to run_nmos_testing.sh mustn't have trailing dots to avoid "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'api.testsuite.nmos.tv.'. (_ssk.c:1131)" from e.g. IS-07-02 test_05

Unrelated changes:

Update to conan-cmake 0.18.1 to support Visual Studio 2022 (a.k.a. "17", or "MSVC 19.31.31105.0" as now installed on GitHub windows-latest runnner)
However, switch to windows-2019 rather than windows-latest (now an alias for windows-2022) because there aren't yet any Conan binary packages for VS 2022 and testssl.sh is consistently failing with "Fatal error: No IPv4/IPv6 address(es) for "nmos-api.local" available" on the newer virtual environment
Add host_addresses to config because on Windows I'm seeing "No matching mDNS announcement" failures in IS-04-02 and IS-04-03 and a second "Registered address" in the nodeoutput log for the "vEthernet (nat)" adapter, despite it being disabled in the "windows setup" step...
Use latest https://github.com/DannyBen/kojo which means whitespace-only lines due to indented imports are gone

Commit caabf8e resolves failures for Avahi unicast via the suggestion made by @wsneijers in https://github.com/sony/nmos-cpp/issues/128, without any apparent effect on the mDNSResponder results. However, we still need to do a bit of digging...

@lo-simon This is as far as I'm going to take this for now. I've resquashed all the commits to tell a sensible story, with the main work to enable unicast DNS-SD testing in the first two commits separate from the bug fix for Avahi. I've finally excluded the mDNSResponder unicast job because of the intermittent failures. But I believe the local testing we've done with unicast DNS-SD with mDNSResponder after the bug fix is encouraging... If https://github.com/AMWA-TV/nmos-testing/pull/677 is merged soon, I'll force push once more to use master rather than the PR branch.


Review SDK configuration for possible unit tests

One-Pager
Do a code review of the repo, and backfill any pieces that are not yet tested by the E2E/smoke tests and would be a good candidate for unit tests. (It's possible that there aren't any)

Renamed to mirror https://github.com/honeycombio/honeycomb-opentelemetry-java/issues/114


Iteration Plan for April 2018

This plan captures our work in April. This is a 4-week iteration. We will ship our April Update in early May. The highlights include: a preview of a more flexible editor layout (since we didn't get to it in March), a better experience when changing settings, and several new APIs for extension authors.
Endgame

April 23th: Code freeze for the endgame
April 27th: Endgame done

The endgame details for this iteration are tracked in #48372.
Plan Items
Below is a summary of the top level plan items.
Legend of annotations:

Mark
Description

:runner:
work in progress

:hand:
blocked task

:muscle:
stretch goal for this iteration

:red_circle:
missing issue reference

:large_blue_circle:
more investigation required to remove uncertainty

:black_circle:
under discussion within the team

Install

[ ] :runner: :muscle: Provide a VS Code snap package #5458 @tyriar

Workbench

[ ] :runner: Preview for grid layout for editors #14909 @bpasero
[ ] :runner: Explore improving settings experience #41040 @roblourens
[x] Explore enabling view contributions to the activity bar #43645 @sandy081
[x] Unbundle bundled language packs #45663 @dbaeumer @sandy081 @ramya-rao-a
[x] Quick box improvements for multi-step inputs #48116 @chrmarti
[x] Problems view support to exclude errors for some files/folders #22289 @sandy081

Editor

[x] Ship a new version of the Monaco editor @alexandrudima @rebornix

Terminal

[ ] :runner: Enable multi-plexing of terminals #46192 @tyriar

Source Control

[x] Support custom view contributions to the Git viewlet #45686 @joaomoreno
[x] Provide a protocol handler that clones a git repository and opens VS Code #45685 @joaomoreno

Languages
JavaScript/TypeScript

[x] Adopt TypeScript 2.8.x #48008 @mjbvz
[x] Explore moving Organize Import to be a code action #46647 @mjbvz
[x] Support Organize Import on save #46678 @mjbvz
[x] Provide an NPM script explorer view that can run/debug scripts as tasks @egamma

CSS/HTML/JSON

[x] Support regions in CSS folding provider #46591 @octref
[x] Polish path completion #46644 #46639 @octref
[x] :muscle: Explore how to provide cross-file $ variable completions in SCSS and LESS #6734 @octref
[x] Investigate how to use MDN data to power our language servers Microsoft/vscode-css-languageservice#68 @octref @aeschli
[x] :muscle: Explore how users could extend CSS support through settings #47775 @octref
[x] Expose API from JSON language server vscode-json-languageservice#18 @aeschli
[x] Restrict handling to documents with file: and untitled: schemes #48777 @octref
[x] Make the supported schemes explicit for JSON @egamma

Markdown

[x] Restrict handling to documents with file: and untitled: schemes #48777 @mjbvz

Extensions

[x] Extension install - detect incomplete installations @sandy081
[x] Document what document URIs extensions should handle @jrieken
[x] Review and ensure that bundled extensions handle non file based resource schemes @team
[x] Add a resource scope for global settings @sandy081

Extension Contributions

[x] Sublime configuration settings importer #45984 @tsalinger @sandy081

Debug

[x] Polish LogPoints support #46821 @isidorn
[x] Provide setting to enable/disable show value hover only #47466 @isidorn
[x] Launch Debug Adapters in extension host #45129 @weinand

API

[x] Provide API to register a protocol handler #45685 @joaomoreno
[x] Finalize the FileSystemProvider API #47475 @jrieken
[x] Finalize FoldingProvider API #47808 @aeschli
[ ] :runner: Consolidate Debug Adapter launch API @weinand
[x] Finalize WebView API #43713 @mjbvz @jrieken
[x] Finalize Task execution API @dbaeumer
[x] Make it easier for extension authors to deal with non-file-based URI schemes #21886 @jrieken
[x] Explore support to resolve an unresolved response items (completions, code lens) when using the language API through commands #44846 @jrieken

Serviceability

[x] Process explorer as a separate renderer window #41045 @rmacfarlane

Engineering

[x] Continue adoption of electron 2.0 @tyriar @bpasero
[x] Automate adoption of new electron builds @bpasero
[x] Move off spectron for the smoke test #47471 @joaomoreno

Documentation

[ ] :runner: Continue to refresh videos on the website #45924 @auchenberg

Deferred Items

:runner: Allow user level installs on Windows #534 @joaomoreno
:runner: Finalize API to support computing definition locations #10037 @mjbvz
Provide API for hierarchical document symbols, to enable early adopters @jrieken

@kieferrm Any updates on floating window support plans? I'm seriously considering buying a bottle of champagne to have on hand, in case it appears here sometime soon!
🍾

Quick comment. I am a lurker who likes to read these each month. However had a hard time finding this one as it is not part of the April Milestone

@bpasero we need feature #14909 !!!!!
We neeeeeeed it!!!!
;-))


Cannot lauch script

When i try to launch the script with python i get :
Error while checking gmail: module 'aiosmtplib.esmtp' has no attribute 'ESMTP'
Error while checking yandex: module 'aiosmtplib.esmtp' has no attribute 'ESMTP'
Error while checking mailDe: module 'aiosmtplib.esmtp' has no attribute 'ESMTP'
Yahoo:

<EMAIL_ADDRESS>Error while checking tutby: Cannot connect to host profile.tut.by:443 ssl:True [SSLCertVerificationError: (1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'profile.tut.by'. (_ssl.c:997)")]

Please help me through

Hey, what versions of Python and aiosmtplib do you have?

Hello,
I work about Python  3 and Windows 7 Professionnal and mail cat not
fonctionne
Thanks,
Le jeu. 6 avr. 2023 à 12:34, Soxoj @.***> a écrit :

Hey, what versions of Python and aiosmtplib do you have?
—
Reply to this email directly, view it on GitHub
https://github.com/sharsil/mailcat/issues/29#issuecomment-1498854383,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5XLAAMIIJ5XX7ZJV3SR3C3W72L45ANCNFSM6AAAAAAVENGS2M
.
You are receiving this because you authored the thread.Message ID:
@.***>

@Salomeaser please, send a full log of last mailcat version execution with errors

Outdated, closing.


[forwardport] UAE

It looks like the forwardport didn't happen for these two commits.
https://github.com/rancher/rancher/issues/30151

Verified on master-head, commit a31eecf and 2.5-head, commit e2e530c
I am seeing inconsistent  "UAE" region support between master-head and 2.5-head.
On the master-head branch, it listed two regions, 1. "UAE North" and 2. "UAE Central. but 2.5-head has only "UAE North",


Current day not displayed on activity load

Hi,
Sorry by advance, english isn't my natural language and I'm new!
So, my problem is when I call another activity with your calendar implemented, I need to touch the calendar to display the selected current day. I currently add only the xml and not other (except findViewById programmatically).
I wanted to display the current day selected when the activity load, it's possible? Did I make a mistake or  I forgot something?
Thanks by advance!
AerWyn81

Hi, so you have an existing activity and when a user clicks a button a new activity opens with calendar? Can you tell me exactly how you open the calendar so that I can have a go?
In any case, you can call the invalidate() method to redraw the calendar onResume() and onCreate() though it shouldn't be necessary. Give that a go. All views have invalidate which basically means redraw the calendar. If that doesn't work you can also just set the current date as well. Mean while I can try debugging things to see why it is not automatically set.

Hi,
Thanks for your fast reply.
So, yes when a user clicks a button a new activity opens with calendar. Currently, there is no code to show the calendar, I just implemented it in xml and displayed it thanks to setContentView(layout) in the onCreate().
In my code :
private CompactCalendarView calendar;
calendar = (CompactCalendarView) findViewById(R.id.iiuh_calendar);
calendar.setFirstDayOfWeek(Calendar.MONDAY);
calendar.setUseThreeLetterAbbreviation(true);

I tried to add calendar.invalide() in onCreate() but nothing has changed. Did I miss something? I always need to touch the calendar a first time for trigger the selection of the current day.
AerWyn81

Did you try to call the setCurrentDate() method as well onCreate and onResume methods? That will select the current date programatically.
There is also a problem with events displaying? It would be great if you can upload an example project of what you currently have? Then I can have a look to debugg things further.

Hi,
Yep I tried but nothing has changed. Here an example of my code :
private ViewFlipper viewFlipper;
private CompactCalendarView calendarView;
private Button button;
private long mLastClickTime = 0;
private SimpleDateFormat date = new SimpleDateFormat("dd-MM-yyyy", Locale.getDefault());

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);

    initViews();

    button.setOnTouchListener(new View.OnTouchListener() {
        @Override
        public boolean onTouch(View v, MotionEvent event) {
            if (SystemClock.elapsedRealtime() - mLastClickTime < 500) { //prevent from spamTouching
            }
            else {
                mLastClickTime = SystemClock.elapsedRealtime();
                viewFlipper.showNext(); //show calendar
                calendarView.setCurrentDate(Calendar.getInstance().getTime()); //I don't know what to put inside setCurrentDate(), a date, yeah, but.. ?
                calendarView.invalidate(); //refresh calendar

                //test event
                try {
                    Event ev1 = new Event(Color.BLUE,date.parse("17-05-2017").getTime()); //french locale
                    calendarView.addEvent(ev1,true);
                } catch (ParseException e) {
                    e.printStackTrace();
                }
            }
            return false;
        }
    });

}

//init views
public void initViews()
{
    viewFlipper = (ViewFlipper) findViewById(R.id.viewflipper);
    calendarView = (CompactCalendarView) findViewById(R.id.compactcalendar_view);
    button = (Button) findViewById(R.id.button);
}

@Override
protected void onResume() {
    super.onResume();
}

XML :

<ViewFlipper
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_below="@id/button"
    android:id="@+id/viewflipper">

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Hi"/>

    <com.github.sundeepk.compactcalendarview.CompactCalendarView
        xmlns:app="http://schemas.android.com/apk/res-auto"
        android:id="@+id/compactcalendar_view"
        android:layout_width="368dp"
        android:paddingRight="10dp"
        android:paddingLeft="10dp"
        android:layout_height="250dp"
        app:compactCalendarTargetHeight="250dp"
        app:compactCalendarTextSize="12sp"
        app:compactCalendarBackgroundColor="#ffe95451"
        app:compactCalendarTextColor="#fff"
        app:compactCalendarCurrentSelectedDayBackgroundColor="@android:color/transparent"
        app:compactCalendarCurrentDayBackgroundColor="#B71C1C"
        app:compactCalendarMultiEventIndicatorColor="#fff"
        tools:layout_editor_absoluteY="0dp"
        tools:layout_editor_absoluteX="8dp"/>
</ViewFlipper>

When I show the calendar, as you will see, you will need to touch 1 time the calendar for display the currentDay. What is surprising, if I add an event, for example tomorrow, the event is displayed, don't need the first touch.
AerWyn81

Umm ok I see your using ViewFlipper not used it within that. That might be causing some problem. Will need to investigate, though it does seem a little odd it would have an effect on such a specific thing. I would suggest to see if it works in another layout type like relative layout as a test. I'll try and have a look some time tomorrow to see if I can replicate the problem.

Thanks!
I just tried with a ViewSwitcher,  RelativeLayout same problem. For RelativeLayout, my test was to use the method hideCalendar() to hide the calendar on the onCreate() and I show it back after touching the button. I always need to touch the calendar for display the selected current day.
AerWyn81

Can you comment out the hideCalendar() call in onCreate()? Does it work? If it works, I would suggest replacing the  hideCalendar() with using a tree observer like this:
https://github.com/SundeepK/CompactCalendarView/blob/c006a769bdaad74f96a126189745e16d72d2db84/sample/src/main/java/sundeepk/github/com/sample/CompactCalendarTab.java#L174
Instead of showCalendarWithAnimation, you want to hide. But the rest of the code will be the same. So now the calendar will auto hide onCreate and then when you click button you can show again.

Hi,

Can you comment out the hideCalendar() call in onCreate()? Does it work?

Is that what you asked me? Nope, that doesn't work.
On activity load :

After activity load -> touching calendar :

After activity load -> touching calendar -> click on the button :

After activity load -> touching calendar -> click on the button -> retouching calendar :

Do you understand?
Thanks for your patience!
AerWyn81

Thanks, I'll try and create a demo project with the code and layout your provided earlier and see how I can reproduce the problem. Would be a plus if you already have a demo app that I can launch directly?

Hi,
Of course, you can find a demo CalendarTest here :
CalendarTest.zip
If you need other things, tell me.
AerWyn81

Ok so I just realised that you have set: app:compactCalendarCurrentSelectedDayBackgroundColor="@android:color/transparent". This means that the current selected day color will be transparent. This is why you are not seeing anything selected onCreate(). If you change the color to black for example:
app:compactCalendarCurrentSelectedDayBackgroundColor="#000" you will see the today with a black color selected. Select another day and you will see that day selected in black. This will leave the current day showing instead of the black color.
The current selected day color takes priority over the current day color and because its transparent, it colors over the current day color. I hope that makes sense.

Hi,
Ok I understood. That did the trick. Wow sorry..  Is there a solution to "remove" or bypass compactCalendarCurrentSelectedDayBackgroundColor? This is why I set it transparent because in my app, I don't need to display the current selected day background :/.
Thanks you so much!
AerWyn81

Sorry for the late delay, but yes there might be a work around.
Use thise property:
https://github.com/SundeepK/CompactCalendarView/blob/master/library/src/main/res/values/attrs.xml#L30 in the xml.
Just set compactCalendarShouldSelectFirstDayOfMonthOnScroll to false to prevent it to automatically select the first day of the month on scroll. Keep the current selected day as transparent color. This might just work but I haven't tested it.
If it doesn't then you can easily clone the code and import the libaray to your project and simple delete one line of code to acheive what you want.
Simply need to remove this line:
https://github.com/SundeepK/CompactCalendarView/blob/master/library/src/main/java/com/github/sundeepk/compactcalendarview/CompactCalendarController.java#L883
Hope that help.

Hi,
It's ok!
Just set compactCalendarShouldSelectFirstDayOfMonthOnScroll to false to prevent it to automatically select the first day of the month on scroll. Keep the current selected day as transparent color. This might just work but I haven't tested it.
I tried already this thing and this doesn't work : set compactCalendarShouldSelectFirstDayOfMonthOnScroll to false + color.transparent. And as you said before, the transparent color take priority on currentDayBackground. I think when calendar load, the compactCalendarCurrentDayBackgroundColor is set, and after, above, the compactCalendarCurrentSelectedDayBackgroundColor that's why the current day isn't selected, and if I touch an other day, the compactCalendarCurrentSelectedDayBackgroundColor change to it and display me correctly the compactCalendarCurrentDayBackgroundColor. Wow I don't know if you will understand here, that was a very bad english syntax.
I will try your second method tomorrow and tell you if that work!
Thanks,
AerWyn81

Hi,
Ok, so, with your trick, I removed the fact where a user could select a date. That's a great job ! But.. When calendar load, it doesn't display the current selected day background.
AerWyn81

Ok, I'll create a branch for you with the required changes. Then you can simply clone the project and use it in yuor project. Maybe I missed something. But this will solve the problem for you.

Hi,
Wow thanks for your investment and patience.
AerWyn81

So I created a branch @help/#199_disable_selectable_day. Should be able to git fetch and then switch to branch. Or go here: https://github.com/SundeepK/CompactCalendarView/tree/%40help/%23199_disable_selectable_day
Basically, now the selectable day should be removed and the only day that is highlighted is the current day. Is that what you wanted? If not then left me know. I have some time over the next day to solve this issue.

Hi,
That's exactly what I wanted ! So much thanks for your time ! That helped me so much !
A last thing.. (sorry)
As you can see, there 3 events for these 3 days.

When I select a date with event :

The dot (for an event you know) below the date goes below. I guess it's because the date is still selectable but just not show, right? Or it's a problem with my code? I didn't touch other things since my last code.
AerWyn81

Do you want to disable selecting days completely. So user can only see the calendar and events. And when user selects a day, nothing is selected? I made another change, do a git pull from the branch. Basically I commented a line which handles a user clicking the calendar. Hope this solves the problem?

Hi,
Wow I'm bad in english, ahah, nope, do you see the dot below the 18 ? It is lower when selected.
Sorry.
AerWyn81

Do you have shouldDrawIndicatorsBelowSelectedDays() method called on the calendar any where? This method allows you to draw the selected day highlight and then draw the dot below it like you have shown. This makes sense if you have a color for selected day. Having transparent will show like yours.
Why not disable selecting all together on click? The user cant see the selected day anyway. So if you use the latest code I have provided it disables on click and will solve the problem as well. And you will also see all your events. But you just cant highlight them - which is what I think you want right?

I made some more changes. This covers the case where by if you want transparent color and also still want to select days and it will always show the event on a selected day. Hope that helps.

Hi,
Do you have shouldDrawIndicatorsBelowSelectedDays() method called on the calendar any where? This method allows you to draw the selected day highlight and then draw the dot below it like you have shown. This makes sense if you have a color for selected day. Having transparent will show like yours.
Yep, I had write this. I commented this line, and now when I select a date with event, the dot disappears. I want to show it even if the day was clicked, (when user come back on the calendar).
Why not disable selecting all together on click? The user cant see the selected day anyway. So if you use the latest code I have provided it disables on click and will solve the problem as well. And you will also see all your events. So the latest code I have committed on the branch will show all events but you just can't tap and highlight any days.
Yep but I need to trigger an event when user click on a date with event.
Or do you want transparent selected day. Where the user is able to select the event, but not able to see the current selected day, but still receive a callback in your code?
All is fine actually! I just want try to fix this dot below date with event, just because I'm maniac.. Because when I click on a date, this dot is not at the same height compared to the others, as you can see on my lasts screenhots.
Hope you understand..
AerWyn81

I made some more changes here:
https://github.com/SundeepK/CompactCalendarView/tree/%40help/%23199_disable_selectable_day
Please try it and git it a go.

Hi,
That's all ! You did all, thanks you for your patience and all!
You are a really great developer and this project, a good adaptable calendar!
Thanks !!!
AerWyn81


WIP: Registry support for HDF5

This pull request modifies the IO registry to support container types, which currently only includes HDF5.
The changes have not yet been documented, and there are further tests that need to be included. The reason to open a WIP PR right now is the changes hit a milestone in that a "sniffer" was successful, and to trigger the full test suite across architectures we support.
The changes were modeled approximately after the compression support. However, a container may or may not be compressed, and a container may have higher level constructs, so lumping them under those models was not correct.
The h5py.File object does not quack like a regular IO object in Python. To make this work with the current framework, it was necessary to mix with BytesIO (n.b. other io types like Buffered* and RawIOBase or IOBase did not work). I did not obviously see an approach in h5py to test e.g. readable. What's important here is that the h5py.File model is not of a file but instead a h5py.Group so there are some differences in expectation.
At the moment, though I don't fully understand the inner workings, I believe format interaction will need to be via fh.raw (see the sniffer test).
@ebolyen if you're able, a quick pass through this would be greatly appreciated.
Please complete the following checklist:

[x] I have read the contribution guidelines.

[ ] I have documented all public-facing changes in the changelog.

[ ] This pull request includes code, documentation, or other content derived from external source(s). If this is the case, ensure the external source's license is compatible with scikit-bio's license. Include the license in the licenses directory and add a comment in the code giving proper attribution. Ensure any other requirements set forth by the license and/or author are satisfied.

It is your responsibility to disclose code, documentation, or other content derived from external source(s). If you have questions about whether something can be included in the project or how to give proper attribution, include those questions in your pull request and a reviewer will assist you.

[X] This pull request does not include code, documentation, or other content derived from external source(s).

Note: This document may also be helpful to see some of the things code reviewers will be verifying when reviewing your pull request.

I don't think this is actually necessary anymore. It was a good dive into the registry, but we can handle the IO directly without adding complexity here.


Allow non-official match data

Right now TOA's partnership with FIRST disallows them to post any match data that wasn't submitted directly to FIRST.  This results in pages like https://theorangealliance.org/teams/10298 that have basically no data for all the years the team has existed.  Having most data missing defeats the whole purpose of TOA in the first place.  TOA really needs to consider either:

Re-negotiating with FIRST to allow posting of this match data. (maybe just put something like "This data was not pulled directly from FIRST and therefore the accuracy of said data is not guaranteed by FIRST.")
Not being affiliated with FIRST.

Either way, something needs to change if TOA wants to be relevant/useful.  It deeply saddens me to see so much effort go into this project but have it be in vain thus far do to sooooo much missing data.

Hi @qwertychouskie  as of right now anyone can submit League, Scrimmages and Off-seasons to us at<EMAIL_ADDRESS>and these events will be posted.  However events that are from League Tournaments, Qualifiers, Super Qualifiers and Region/State Championship must be submitted to FIRST where TOA is able to pick this data up.  If you are not seeing Data on TOA for Velocity Vortex until now, feel free to contact us at either<EMAIL_ADDRESS>or<EMAIL_ADDRESS>and will work with you on getting this data.
At our next meeting with FIRST I will be bringing up a Data Recovery Plan for events that are Pre Velocity Vortex.  I am sorry for any inconvenience and if you will submit a list of these events that are not showing up. Please separate out League Meets, Scrimmages and Off Season, as those events can be sent to us via the method described above.


unify impl

The old implementation was a bit ugly. This extracts the API specific parts to the request, stream and pipeline methods and keeps the "core" clean.
Fixes broken .pipeline benchmark.
Slightly improves .pipeline perf by changin the res type from PassThrough to Readable. Also open up for further future optimizations.

This the the last refactoring I have on my list.


Aggregate PR

Aggregate of the following PRs:
https://github.com/wildfly/wildfly/pull/16870
https://github.com/wildfly/wildfly/pull/16864

Closing as individual PRs merged.


RethinkDB example fundamentally flawed in a cluster

Hi,
First of all, thanks for the sample! It's helping me to kickstart a project. However, if someone would run more than one replica of the socket.io server, horrible things would start happening, as instead of using a RethinkDB changefeed - which is one of the main reasons why people use RethinkDB in the first place - it just emits a message with changes which the specific server received. For example,

user 1 is connected with socket.io to server 1
user 2 posts data which get load balanced to server 2
server 2 saves data and emits a socket.io message
user 1 receives nothing

So all calls like messageService.sendCreateMessage('post', post); should be removed, and socket.io connection needs to be replaced with something like
function on_user_connected( ... ) {
    r.table("posts").changes().run(rConnection).then(function(cursor) {
        cursor.each(function (err, item) {
            ioServer.emit('post created or deleted or updated', JSON.stringify(item, null, 2));
        }
    };
}

I haven't worked up a specific solution yet, but I might post a more specific sample later.

I'm looking forward to your pull request :)

Heh. I'll see what I can do, I just wanted to make sure I'm not misunderstanding something about the application's design, as I'm new to Express. :)


grpc: 1.33.2 -> 1.34.0

Motivation for this change
https://github.com/grpc/grpc/releases/tag/v1.34.0
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[X] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

@GrahamcOfBorg build python3Packages.grpcio python3Packages.grpcio-tools


Question about trimap

Hi, thanks for your excellent work. And I have a question, that is, in your training code, you still pass a trimap parameter to the function. So is Trimap-free algorithm still need trimap in training process but not need in inference process?

Hi, thanks for your attention.
We use the trimap to calculate the detail loss during training.
If you have ground truth alpha, it is easy for you to generate a trimap by using dilation and erosion, as:
from scipy.ndimage import grey_dilation, grey_erosion

trimap = (matte >= 0.9).astype('float32')
not_bg = (matte > 0).astype('float32')

d_size = self.im_size // 256 * random.randint(10, 20)
e_size = self.im_size // 256 * random.randint(10, 20)

trimap[np.where((grey_dilation(not_bg, size=(d_size, d_size))
    - grey_erosion(trimap, size=(e_size, e_size))) != 0)] = 0.5

where matte is the ground truth alpha normalized to [0, 1], d_size and e_size are the hyper-params.

So I can call this a trimap, right ?

The contents in m_d is the same as the trimap, but the pixel values in m_d are different with the trimap. Following is an example of the trimap:

In the image, white == 1, gray == 0.5, black == 0.

I got it. Thanks for your quick reply!


GetMediaDevice does not work on new Macbook Pro

It worked on my old Macbook Pro, but failed on my new one.
================ Best Fit ================
Not found
panic: failed to find the best driver that fits the constraints

Seems to be the camera, because if I replace the 'camera' with 'videotest', then there's no error anymore. Maybe the new Macbook pro needs a new video driver?

Seems to be the camera, because if I replace the 'camera' with 'videotest', then there's no error anymore. Maybe the new Macbook pro needs a new video driver?

The new Macbook pro is MacBook Pro (16-inch, 2019)

The new Macbook pro is MacBook Pro (16-inch, 2019)

@rivercheng thanks for reporting! This issue seems to be similar to https://github.com/pion/mediadevices/issues/287. Which version of mediadevices are you using? Could you try to pull the latest change which contains the fix, https://github.com/pion/mediadevices/issues/287?
If that still doesn't fix it, could you try to run ffmpeg -f avfoundation -framerate 30 -i default, it should give us a list of supported formats by your camera. Very likely, we just need to add another mapping from AVFoundation to mediadevices.

@rivercheng thanks for reporting! This issue seems to be similar to https://github.com/pion/mediadevices/issues/287. Which version of mediadevices are you using? Could you try to pull the latest change which contains the fix, https://github.com/pion/mediadevices/issues/287?
If that still doesn't fix it, could you try to run ffmpeg -f avfoundation -framerate 30 -i default, it should give us a list of supported formats by your camera. Very likely, we just need to add another mapping from AVFoundation to mediadevices.

I can confirm I am also experiencing this issue with the same computer model. I'm using the most recent version of mediadevices. When I run that command, I see
[avfoundation @ 0x7f8051814c00] Selected pixel format (yuv420p) is not supported by the input device.
[avfoundation @ 0x7f8051814c00] Supported pixel formats:
[avfoundation @ 0x7f8051814c00]   uyvy422
[avfoundation @ 0x7f8051814c00]   yuyv422
[avfoundation @ 0x7f8051814c00]   nv12
[avfoundation @ 0x7f8051814c00]   0rgb
[avfoundation @ 0x7f8051814c00]   bgr0

I can confirm I am also experiencing this issue with the same computer model. I'm using the most recent version of mediadevices. When I run that command, I see
[avfoundation @ 0x7f8051814c00] Selected pixel format (yuv420p) is not supported by the input device.
[avfoundation @ 0x7f8051814c00] Supported pixel formats:
[avfoundation @ 0x7f8051814c00]   uyvy422
[avfoundation @ 0x7f8051814c00]   yuyv422
[avfoundation @ 0x7f8051814c00]   nv12
[avfoundation @ 0x7f8051814c00]   0rgb
[avfoundation @ 0x7f8051814c00]   bgr0

^ just wanted to bump as i have the same issues as well

^ just wanted to bump as i have the same issues as well

@nrwinner thanks for the extra information! From the output, mediadevices support both uyvy422 and yuyv422. The FFmpeg mapping can be found here, https://github.com/FFmpeg/FFmpeg/blob/c810a9502cebe32e1dd08ee3d0d17053dde44aa9/libavdevice/avfoundation.m#L53-L80. The mapping is matched to what mediadevices has, https://github.com/pion/mediadevices/blob/master/pkg/avfoundation/AVFoundationBind/AVFoundationBind.m#L140-L145.
In https://github.com/pion/mediadevices/pull/295, I added another nv12 support, which I hope it can detect this format in avfoundation layer. Also, I added some warnings in avfoundation so that we can see what formats are skipped.
@daniel-d-truong @rivercheng @nrwinner could any of you try the PR? At least, if it still doesn't work, it should give you some warnings that can be useful to debug this further. Thanks!

@nrwinner thanks for the extra information! From the output, mediadevices support both uyvy422 and yuyv422. The FFmpeg mapping can be found here, https://github.com/FFmpeg/FFmpeg/blob/c810a9502cebe32e1dd08ee3d0d17053dde44aa9/libavdevice/avfoundation.m#L53-L80. The mapping is matched to what mediadevices has, https://github.com/pion/mediadevices/blob/master/pkg/avfoundation/AVFoundationBind/AVFoundationBind.m#L140-L145.
In https://github.com/pion/mediadevices/pull/295, I added another nv12 support, which I hope it can detect this format in avfoundation layer. Also, I added some warnings in avfoundation so that we can see what formats are skipped.
@daniel-d-truong @rivercheng @nrwinner could any of you try the PR? At least, if it still doesn't work, it should give you some warnings that can be useful to debug this further. Thanks!

@lherman-cs Just tried it and it works for me! It can read my webcam camera now. I am noticing another issue though, where when I plug in an external USB camera, the library doesn't detect that input (when I run mediadevices.EnumerateDevices(), only the internal laptop webcam shows. This might be better as a separate issue since this was an issue before the PR as well, but yeah just thought I'd let you know.

@lherman-cs Just tried it and it works for me! It can read my webcam camera now. I am noticing another issue though, where when I plug in an external USB camera, the library doesn't detect that input (when I run mediadevices.EnumerateDevices(), only the internal laptop webcam shows. This might be better as a separate issue since this was an issue before the PR as well, but yeah just thought I'd let you know.

@daniel-d-truong Thanks for trying it! I'll keep your issue on a different thread, and will fix it in a different PR.

@lherman-cs  After pulling the master, now the error is
"panic: NV12 is not supported"

I think this is caused in NewDecoder() (pkg/frame/decode.go). FormatNV12 is not supported there.

I'm seeing something different - after pulling the new version, EnumerateDevices will now show my camera(s) and stream, err := mediadevices.GetUserMedia(mediadevices.MediaStreamConstraints{}) doesn't error out anymore, but calling stream.GetTracks yields an empty array 😦

I'm seeing the same. I did see the warnings you added @lherman-cs, I pasted the entire trace here in the event you find it helpful.
2021-02-08 09:22:16.936 test[28878:1490490] [WARNING] skipping  -2126619224x-2126619224 since it's not supported
2021-02-08 09:22:16.937 test[28878:1490490] [WARNING] skipping  -2126619224x-2126619224 since it's not supported
2021-02-08 09:22:16.937 test[28878:1490490] [WARNING] skipping  -2126619224x-2126619224 since it's not supported
2021-02-08 09:22:16.937 test[28878:1490490] [WARNING] skipping  -2126619224x-2126619224 since it's not supported
2021-02-08 09:22:16.937 test[28878:1490490] [WARNING] skipping  -2126619224x-2126619224 since it's not supported
2021-02-08 09:22:16.937 test[28878:1490490] [WARNING] skipping  -2126619224x-2126619224 since it's not supported
2021-02-08 09:22:16.937 test[28878:1490490] [WARNING] skipping  -2126619224x-2126619224 since it's not supported
2021-02-08 09:22:16.937 test[28878:1490490] [WARNING] skipping  -2126619224x-2126619224 since it's not supported
2021-02-08 09:22:16.937 test[28878:1490490] [WARNING] skipping  -2126619224x-2126619224 since it's not supported
2021-02-08 09:22:16.937 test[28878:1490490] [WARNING] skipping  -2126619224x-2126619224 since it's not supported
2021-02-08 09:22:16.937 test[28878:1490490] [WARNING] skipping  -2126619224x-2126619224 since it's not supported
2021-02-08 09:22:16.937 test[28878:1490490] [WARNING] skipping  -2126619224x-2126619224 since it's not supported
2021-02-08 09:22:16.937 test[28878:1490490] [WARNING] skipping  -2126619224x-2126619224 since it's not supported
2021-02-08 09:22:16.937 test[28878:1490490] [WARNING] skipping  -2126619224x-2126619224 since it's not supported
2021-02-08 09:22:16.937 test[28878:1490490] [WARNING] skipping  -2126619224x-2126619224 since it's not supported
2021-02-08 09:22:16.937 test[28878:1490490] [WARNING] skipping  -2126619224x-2126619224 since it's not supported
2021-02-08 09:22:16.937 test[28878:1490490] [WARNING] skipping  -2126619224x-2126619224 since it's not supported
2021-02-08 09:22:16.937 test[28878:1490490] [WARNING] skipping  -2126619224x-2126619224 since it's not supported
panic: NV12 is not supported

I'm sorry for the miss 😓. https://github.com/pion/mediadevices/pull/298 should fix this, also added a unit test to cover this.

@nrwinner @rivercheng do you mind trying it again?

@lherman-cs  Thanks a lot. :) Now it works. However, the following error happened.
unexpected fault address 0x355e5fa0
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x1 addr=0x355e5fa0 pc=0x406ac25]
goroutine 17 [running, locked to thread]:
runtime.throw(0x44b83a4, 0x5)
/usr/local/go/src/runtime/panic.go:1116 +0x72 fp=0xc000058d70 sp=0xc000058d40 pc=0x4037d12
runtime.sigpanic()
/usr/local/go/src/runtime/signal_unix.go:749 +0x3e5 fp=0xc000058da0 sp=0xc000058d70 pc=0x404bfc5
runtime.memmove(0xc000300000, 0x35550020, 0x96000)
/usr/local/go/src/runtime/memmove_amd64.s:332 +0x3c5 fp=0xc000058da8 sp=0xc000058da0 pc=0x406ac25
runtime.gobytes(0x35550020, 0x96000, 0x0, 0x0, 0x0)
/usr/local/go/src/runtime/string.go:311 +0x97 fp=0xc000058de0 sp=0xc000058da8 pc=0x4051dd7
github.com/pion/mediadevices/pkg/avfoundation._Cfunc_GoBytes(...)
_cgo_gotypes.go:200
github.com/pion/mediadevices/pkg/avfoundation.onData.func1(0x35550020, 0x96000, 0x0, 0x40182d4, 0x7000066ec848)
/Users/chengw/go/pkg/mod/github.com/pion/mediadevices@v0.1.15-0.20210209020436-217e634f7e24/pkg/avfoundation/avfoundation_callback_darwin.go:21 +0x59 fp=0xc000058e18 sp=0xc000058de0 pc=0x41e5bd9
github.com/pion/mediadevices/pkg/avfoundation.onData(0xc00000f6e8, 0x35550020, 0x96000)
/Users/chengw/go/pkg/mod/github.com/pion/mediadevices@v0.1.15-0.20210209020436-217e634f7e24/pkg/avfoundation/avfoundation_callback_darwin.go:21 +0x37 fp=0xc000058e68 sp=0xc000058e18 pc=0x41e49f7
github.com/pion/mediadevices/pkg/avfoundation._cgoexpwrap_87856562e38d_onData(0xc00000f6e8, 0x35550020, 0x96000)
_cgo_gotypes.go:220 +0x3d fp=0xc000058e90 sp=0xc000058e68 pc=0x41e499d
runtime.call32(0x0, 0x7000066ec7b0, 0x7000066ec848, 0x18)
/usr/local/go/src/runtime/asm_amd64.s:540 +0x3e fp=0xc000058ec0 sp=0xc000058e90 pc=0x406807e
runtime.cgocallbackg1(0x0)
/usr/local/go/src/runtime/cgocall.go:332 +0x1a5 fp=0xc000058f58 sp=0xc000058ec0 pc=0x4007425
runtime.cgocallbackg(0x0)
/usr/local/go/src/runtime/cgocall.go:207 +0xc5 fp=0xc000058fc0 sp=0xc000058f58 pc=0x40071c5
runtime.cgocallback_gofunc(0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/runtime/asm_amd64.s:794 +0x9b fp=0xc000058fe0 sp=0xc000058fc0 pc=0x40697fb
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1374 +0x1 fp=0xc000058fe8 sp=0xc000058fe0 pc=0x4069a81

It's working for me now, thanks a lot! 🤩

@lherman-cs Thanks a lot. :) Now it works. However, the following error happened.
unexpected fault address 0x355e5fa0
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x1 addr=0x355e5fa0 pc=0x406ac25]
goroutine 17 [running, locked to thread]:
runtime.throw(0x44b83a4, 0x5)
/usr/local/go/src/runtime/panic.go:1116 +0x72 fp=0xc000058d70 sp=0xc000058d40 pc=0x4037d12
runtime.sigpanic()
/usr/local/go/src/runtime/signal_unix.go:749 +0x3e5 fp=0xc000058da0 sp=0xc000058d70 pc=0x404bfc5
runtime.memmove(0xc000300000, 0x35550020, 0x96000)
/usr/local/go/src/runtime/memmove_amd64.s:332 +0x3c5 fp=0xc000058da8 sp=0xc000058da0 pc=0x406ac25
runtime.gobytes(0x35550020, 0x96000, 0x0, 0x0, 0x0)
/usr/local/go/src/runtime/string.go:311 +0x97 fp=0xc000058de0 sp=0xc000058da8 pc=0x4051dd7
github.com/pion/mediadevices/pkg/avfoundation._Cfunc_GoBytes(...)
_cgo_gotypes.go:200
github.com/pion/mediadevices/pkg/avfoundation.onData.func1(0x35550020, 0x96000, 0x0, 0x40182d4, 0x7000066ec848)
/Users/chengw/go/pkg/mod/github.com/pion/mediadevices@v0.1.15-0.20210209020436-217e634f7e24/pkg/avfoundation/avfoundation_callback_darwin.go:21 +0x59 fp=0xc000058e18 sp=0xc000058de0 pc=0x41e5bd9
github.com/pion/mediadevices/pkg/avfoundation.onData(0xc00000f6e8, 0x35550020, 0x96000)
/Users/chengw/go/pkg/mod/github.com/pion/mediadevices@v0.1.15-0.20210209020436-217e634f7e24/pkg/avfoundation/avfoundation_callback_darwin.go:21 +0x37 fp=0xc000058e68 sp=0xc000058e18 pc=0x41e49f7
github.com/pion/mediadevices/pkg/avfoundation._cgoexpwrap_87856562e38d_onData(0xc00000f6e8, 0x35550020, 0x96000)
_cgo_gotypes.go:220 +0x3d fp=0xc000058e90 sp=0xc000058e68 pc=0x41e499d
runtime.call32(0x0, 0x7000066ec7b0, 0x7000066ec848, 0x18)
/usr/local/go/src/runtime/asm_amd64.s:540 +0x3e fp=0xc000058ec0 sp=0xc000058e90 pc=0x406807e
runtime.cgocallbackg1(0x0)
/usr/local/go/src/runtime/cgocall.go:332 +0x1a5 fp=0xc000058f58 sp=0xc000058ec0 pc=0x4007425
runtime.cgocallbackg(0x0)
/usr/local/go/src/runtime/cgocall.go:207 +0xc5 fp=0xc000058fc0 sp=0xc000058f58 pc=0x40071c5
runtime.cgocallback_gofunc(0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/runtime/asm_amd64.s:794 +0x9b fp=0xc000058fe0 sp=0xc000058fc0 pc=0x40697fb
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1374 +0x1 fp=0xc000058fe8 sp=0xc000058fe0 pc=0x4069a81

@rivercheng
can temporarily revert https://github.com/pion/mediadevices/commit/d86fc4a3e92f120a390079974298902465533685
I remember the webrtc example worked when I changed my laptop to new macbook pro at the beginning of this year. Spent some time to debug, only to find the default frame format was changed to I420. And YUY2 still works by far.

@rivercheng @nrwinner could you try the fix from https://github.com/pion/mediadevices/pull/302. Thanks to @zyxar, the issue should be fixed now.


Use correct filename case for keywords.txt

Use of filename case other than exactly keywords.txt causes the file to not be recognized by the Arduino IDE on a filename case-sensitive OS such as Linux.
Reference:
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords

Ok thanks @per1234 !


Run cc loader on Databricks

Once we have a notebook ready to load data from CC, move it onto Databricks and try to run it there. One key point is to understand how we can mount / store temporary data to be accessed by the notebook.

Closing this ticket and moving the details to another ticket in the cc-pipeline repo here


.lyrics() method always returns "No result was found".

I've seen the other closed issue saying that sometimes it works and sometimes it doesn't and you said that's the disadvantage of scraping (I don't really know what's scraping in programming). But with me, it never worked. It's always "No result was found."

Seems weird. Would be helpful if you say more about where you ran the code but I'll try my best. :)

Closing this as it is stale.

same problem!!

same problem!!

Create a new issue elaborating your problem, I'll try to help you.


Add Jammy compatibility

One possible approach to do this is use the new dependency workflow in #290 to regenerate the latest version of the dependency for both bionic and jammy.
What this might look like:

Emulate the dependency workflow locally
Create a branch with the dependency removed from buildpack.toml and run the standard workflow from that branch.

done

Reopening. Not done, since the buildpack needs to:
(A) Be marked with jammy compatibility
(B) Include at least one Jammy dep
(C) Run integration tests on jammy

@joshuatcasey I think the easiest/fastest way to do this is to make a PR with all of the dependencies removed from buildpack.toml, then re-run the dependency github action from that branch.
Personally I think that's easier than running it locally, but it's the same result either way