Too many arguments, expected arguments "command"

When calling Drupal Console commands using Robo, the following error is thrown:
[Symfony\Component\Console\Exception\RuntimeException]
Too many arguments, expected arguments "command".

...

[DigipolisGent\DrupalConsole\DrupalConsoleStack]  Exit code 1  Time 4.087s

Happens for example on the following Drupal Console commands:
<?php

class RoboFile extends \Robo\Tasks {

  use DigipolisGent\Robo\Task\DrupalConsole\loadTasks;

  protected function drupal() {
    return $this->taskDrupalConsoleStack('../../vendor/bin/drupal');
  }

  function update() {
    $this->drupal()
      ->uri('mywebsite.example.com')
      ->configImport()
      ->run();
  }
}

<?php

use \Symfony\Component\Yaml\Yaml;

class RoboFile extends \Robo\Tasks {

  use DigipolisGent\Robo\Task\DrupalConsole\loadTasks;

  protected $config_yaml;

  protected function drupal() {
    return $this->taskDrupalConsoleStack('../../vendor/bin/drupal');
  }

  function installSite() {
    $this->drupal()
      ->uri($this->config('site_uri'))
      ->siteName('My Website')
<EMAIL_ADDRESS>      ->langcode('en')
      ->accountName('admin')
      ->accountPass('admin123')
<EMAIL_ADDRESS>      ->dbType('mysql')
      ->dbHost($this->config('db_host'))
      ->dbName($this->config('db_name'))
      ->dbUser($this->config('db_user'))
      ->dbPass($this->config('db_pass'))
      ->dbPrefix($this->config('db_prefix'))
      ->siteInstall('my_website_profile')
      ->run();
  }

  protected function config($key, $default = null) {
    $config = $this->getConfig();
    if (array_key_exists($key, $config)) {
      return $config[$key];
    }
    return $default;
  }

  protected function getConfig() {
    if (empty($this->config_yaml)) {
      $this->config_yaml = Yaml::parse(__DIR__ . '/config.yml');
    }
    return $this->config_yaml;
  }
}

This problem can be solved by changing:
$this->arguments .= null == $value ? '' : ' ' . static::escape($value);
... into:
$this->arguments .= null == $value ? '' : '="' . static::escape($value) . '"';
But this is Robo-code... see below:
trait CommandArguments
{

  ...

    public function option($option, $value = null)
    {
        if ($option !== null and strpos($option, '-') !== 0) {
            $option = "--$option";
        }
        $this->arguments .= null == $option ? '' : ' ' . $option;
        $this->arguments .= null == $value ? '' : ' ' . static::escape($value);
        return $this;
  }

  ...

}

Should the Robo Drupal Console integration do a workaround for this?

Thanks for reporting this! I've talked this over with @Jelle-S  We can work around this, and will probably have to, because ATM we think this is because commands defined with symfony console, only accept options with --option=value instead of --option value.
We think we can whip up a workaround sometime next week, so stay tuned. We'll try to get this propagated to robo itself as well (and symfony).

I just ran into this too. It just occurred to me this morning that Drupal Console is running Symfony Commands, so http://robo.li/tasks/Base/#symfonycommand might be useful too?

I created #7 to have a quickfix for this issue.
@dustinleblanc your suggestion looks interesting. But it would mean quite a big rewrite. I might revisit that is the future. Thanks for your suggestion!

@dustinleblanc I've created a follow-up issue for your fix, which should be inherently better, but too much of a refactor for us to do right now (we're creating our entire D8 workflow atm, that's work enough). See #7  and thanks for alerting us to that possibility!
A PR is always welcome though :)


Report state on screen

When i change OnOff value to true or false (from firebase or web update) it doesnt sync immediately on this screenshot.
Go back to home screen an re enter to device show updated value no problem.
How can i see device position immediately?

This is an application limitation.


Search ignores "translated" parameter

Searching for "english translated" used to only return galleries that were english language and had been translated from another language, it seems to now include galleries that do not have the language:translated tag, so you get western works included in the search results.
This can be bypassed by changing "translated" to "language:translated" when searching, so a typical search might become "glasses english language:translated", resulting in galleries that have glasses and were translated into english.

That‘s the behaviour of ehentai web server. EhViewer can do nothing about it.


Type Hints Missing In containerservice

Package Name: azure-mgmt-containerservice
Package Version: tested 31.0.0 and 28.0.0
Operating System: MacOS Sonoma 14.6.1
Python Version: python 3.9

Describe the bug
I am able to use type hints with vscode for most resources in the package. However managed_clusters and agent_pools refuses to display any type hints.
To Reproduce
Steps to reproduce the behavior:

pip install azure-mgmt-containerservice in a vscode env
dot walk the two listed objects.

Expected behavior
I would expect it to recognize the method signature like this:
(method) list: ((**kwargs: Any) -> Iterable[azure.mgmt.containerservice.v2022_02_02_preview.models._models_py3.ManagedClusterSnapshot]) | ((**kwargs: Any) ->

Screenshots
it can be subtle, but the two I am referring to are white text, indicating no type hints, where as the others are yellow.

Additional context
I am using python in a conda setup.

@pkrauss-prot thanks for bringing to our attention, the team will take a look and respond as soon as possible.

@ChenxiJiang333 please help on this issue

@pkrauss-prot, it's because the client's properties managed_clusters & agent_pools got their type hints compressed when they have too many alternative invocations. It's not an issue of SDK and does not affect its function.


Browser blocks script loading on demo page

Go to https://jcubic.pl/sysend.php and open console. You will see the next errors:
sysend.php:1 Mixed Content: The page at 'https://jcubic.pl/sysend.php' was loaded over HTTPS, but requested an insecure script 'http://jcubic.pl/sysend.js'. This request has been blocked; the content must be served over HTTPS.
Mixed Content: The page at 'https://jcubic.pl/sysend.php' was loaded over HTTPS, but requested an insecure resource 'http://terminal.jcubic.pl/iframe.html'. This request has been blocked; the content must be served over HTTPS.

Oh, thanks for notify me didn't tested when I move to ssl.


Refactor vscode-mssql sql bindings logic to sql bindings ext

This PR brings over the logic that we have in vscode-mssql. The full end to end of user right-clicking the table name in object explorer works as expected.
The main concern when bringing over some of the logic was that the AzureFunctionService addSqlBinding would require us to also have a dependency on STS as well as azureFunctionsContracts.
I choose to not move over this specific code (yet) but can move over in separate PR.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

42 of 193 (21.76%)  changed or added relevant lines in 4 files are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.2%) to 48.042%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/sql-bindings/src/common/utils.ts
6
26
23.08%

extensions/sql-bindings/src/services/azureFunctionsService.ts
0
49
0.0%

extensions/sql-bindings/src/common/azureFunctionsUtils.ts
13
95
13.68%

Files with Coverage Reduction
New Missed Lines
%

extensions/sql-bindings/src/common/parseJson.ts
4
0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
15000

Relevant Lines:
29599

💛  - Coveralls


[1.4 alpha] crash during mushroom patch stage of betterworldgen with oversized worlds

in the 1.4 alpha, tried making a custom world 16800x3200 (also tried 16800x4800 to match normal world aspect ratio, and 12600x3200 to be less oversized).
consistently crashes at the point covered in the attached log.
client.log
the only mod i have that should be interacting with content at all is amulet of many minions.
normal sized worlds seem to generate fine, as do custom sized worlds within the bounds of normal large worlds (i tried 7400x2100 successfully).

Should be fixed in the latest version


Feature/add ceo news

Codecov Report

Merging #44 (f8914c7) into master (d94bcd4) will increase coverage by 1.22%.
The diff coverage is 93.97%.

@@            Coverage Diff             @@
##           master      #44      +/-   ##
==========================================
+ Coverage   94.04%   95.27%   +1.22%
==========================================
  Files          17       21       +4
  Lines         319      402      +83
==========================================
+ Hits          300      383      +83
  Misses         19       19

Flag
Coverage Δ

ga_ci
95.27% <93.97%> (?)

unittests
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

cad_tickers/util/utils.py
98.14% <ø> (ø)

cad_tickers/news/ceo/utils.py
88.00% <88.00%> (ø)

cad_tickers/news/ceo/main.py
95.65% <95.65%> (ø)

cad_tickers/news/ceo/__init__.py
100.00% <100.00%> (ø)

cad_tickers/news/ceo/spiel_class.py
100.00% <100.00%> (ø)

... and 1 more

Continue to review full report at Codecov.

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


Added code for project dayforces

Dayforces is an employee management website

go through the updated readme file to know ur mistakes and raise another pr (project description is missing)


Code font renders č,š,ž with inverted carons

Č, Š, Ž are rendered normally both by hand-drawn and normal font, while in code font their carons get inverted. Issue occurs both for lowercase and uppercase letters.

We're tracking this over here: https://github.com/excalidraw/excalidraw/issues/8327
We'll fix.


Create style for tooltip hovers without links

Case: no link, only tooltip
e.g. dotted line

Keeping track of this in https://github.com/ugent-library/biblio-backoffice/issues/806


feat: add the ability to create a PR with the incoming changelog

Hello,
This PR follows https://github.com/nuxt/nuxt/issues/20675.
It's a first draft because I'm not sure on how we must handle the PR. In fact, have we to reuse code from the release, create a new condition or a new command?
Also, we need to:

[ ] Add the base branch into the config file (or maybe there is already a base branch and I don't see it)
[ ] Add a way for the user to provide a template for the changelog header
[ ] Add a way to customize the branch name
[ ] Add a way to change the user that create the commit (name and email)

Support for workspace will coming after #18 is finished.

I think for first step, we can introduce a updateGithubIssue utility, it can search for github issues and update first with v{x.y.z} title or create a new one. Dealing with branches for PR can be next step :)

I think for first step, we can introduce a updateGithubIssue utility, it can search for github issues and update first with v{x.y.z} title or create a new one. Dealing with branches for PR can be next step :)

Ok, if I understand well, you can to have an command to add changelog to an issue and another one to add changelog to a PR which also update package version?

@pi0 can you tell me if direction is correct before I continue to create code?
Still wip but I want to be sure that I'm not doing something wrong!

Hello @danielroe, could you please review this PR when you have a bit of time? Thanks a lot!


Terminal python version and VScode Displayed version are not the same.

Hi, the version stated in the lower blue ribbon is 3.6.4 32-bit. In terminal,it shows 2.7 version when typed python --version. I have installed pandas but can not import, with error showing "    import pandas as pd
ModuleNotFoundError: No module named 'pandas'

@Indra12345 Please Open an new bug using the bug template, and provide details about your environment. There isn't enough information here to you.

It solved with newest python.  I had 3.6 but works with 3.7.


Update source-control-integration.md

Add precise description which Id property of a Managed Identity is required for an Azure AD role assignment

@SnehaSudhirG
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@AmigaTeenageRiot - Thank you for your inputs and patience. We are looking into it and awaiting confirmation from the Engineering team.

@SnehaSudhirG - Do you have updates from the engineering team?

emailed @SnehaSudhirG

This doc update is taken separately in another PR. Hence closing this PR. #please-close


Weibull known shape model

Closes #29
Add Weibull distribution and model with known shape
Still working on the correct parameterization. The parameter recovery is not working as expected.

The wikipedia and the scipy distribution is now synced up
The parameter names are that of the paper. However the paper uses a different parameterization than the wikipedia page
Paper Section 2.11: https://web.archive.org/web/20090529203101/http://www.people.cornell.edu/pages/df36/CONJINTRnew TEX.pdf


Increased powercap of allomancy and feruchemy to 100

Changes proposed in this pull request:
Changed allomancy power cap to 100
Changed feruchemy power cap to 100

Going to close this one, but we will be increasing the power cap a little bit :)


Small cleanup in the licensed checks github action workflow

There is no go code in this repo, those env vars came from a template workflow that included references to some private repos.

The licensed-ci GitHub Action has created a pull request containing license metadata updates based on the changes in this branch.
Please review the pull request for any additional changes required and merge when ready.


\ensuremath

I'd love for \ensuremath to work. It can really just be ignored in KaTeX, and it helps when translating things from proper LaTeX documents.

Agreed. This would be easy to add once we have \ifmmode via #3385. Then \def\ensuremath#1{\ifmmode#1\else$#1$\fi} should work. Perhaps it's time for me to revise #3385.


CarbonDeFi - add to celo network

Entry type

Update - add celo chain carbondefi

App info
URL: https://carbondefi.xyz
Ethereum: https://app.carbondefi.xyz
Sei: https://sei.carbondefi.xyz
Celo: https://celo.carbondefi.xyz
Name: CarbonDeFi - no update
Description: N/A - no update
Icon: N/A - no update
Homepage: N/A - no update
Twitter: N/A - no update
GitHub: N/A - no update
Discord: N/A - no update
App supports batching multiple transactions via Safe: yes
Supported networks
- Mainnet
- Celo
- Sei (not currently supported by Safe)

Revision checks

[x] Used smart contracts were audited.
[x] You have implemented the app using the Safe Apps SDK
[x] Your Safe App includes a manifest.json file at the root with the required data – please paste the link to manifest.json here – apps without a manifset WILL NOT be accepted.

Ethereum: https://app.carbondefi.xyz/manifest.json
Sei: https://sei.carbondefi.xyz/manifest.json
Celo: https://celo.carbondefi.xyz/manifest.json

[x] The app can be loaded as a custom Safe App in the Apps section of https://app.safe.global.
[x] The app auto-connects to the Safe as a wallet
[x] It doesn't try to connect to the browser wallet (e.g. MetaMask)
[x] You are able to trigger and execute one transaction with a Safe.
[x] RPC requests are optimized (not triggering many requests in a very short time period).

Audit document
https://docs.carbondefi.xyz/carbon-defi/security-and-audits
https://github.com/bancorprotocol/carbon-contracts/tree/dev/docs/audits
Code for review
https://github.com/bancorprotocol/carbon-contracts
Team information
N/A - no change

Added, thanks!

@katspaugh thanks! Just flagging that if possible, could you please directly forward the user to celo.carbondefi.xyz instead of app.carbondefi.xyz? That way, they don't have to manually change network to celo in order for the Safe app to connect.

We can't but you can redirect them yourself.


Issue with TIMECLIP

On a Timecliped-Bucketized-gts, FILLVALUE will insert values outside of the clip's range: (Script)
Workaround: reclip after FILLVALUE (Script). Is it the expected behaviour ?

TIMECLIP will limit the datapoints to those ticks within the specified range. If the GTS is bucketized it will retain its original bucketization parameters (lastbucket, bucketspan, bucketcount), so my guess is that your GTS was bucketized then timeclipped instead of timeclipped then bucketized.
If you want to limit the buckets to those within a given range simply do a BUCKETIZE with the correct parameters, the range will be [ lastbuccket - bucketcount * bucketspan + 1, lastbucket ].


Broken link to Contributors Guide in CONTRIBUTING.md file

The link to the contributors guide in the CONTRIBUTING.md file is broken. It currently points to a non-existent page and results in a 404 error.
Steps to Reproduce:

Navigate to the CONTRIBUTING.md file in the repository.
Click on the hyperlink for the contributors guide.
Observe the 404 error page.

Expected Behavior:
The link should direct users to the correct contributors guide page.
Actual Behavior:
The link directs to a 404 error page.
Link Causing Issue:
contributors guide
Suggested Fix:
Update the link to point to the correct URL for the contributors guide. If the correct URL is not known, please provide the correct path or update the documentation accordingly.

Thanks for raising this! Will fix this one


[refactor] Use CR manager.Runnable to start Ansible servers

Currently, the proxy server is starting the server manually, but we can use controller runtime Runnables to do this for us.
I have also just added another server that is started manually in the custom-metrics PR https://github.com/operator-framework/operator-sdk/pull/5438. The API server should also be started with Runnables.

Getting started tips from slack. Ty to @ryantking
package metrics

type Server struct {
    Addr string
    Port uint
}

func NewServer(addr string, port uint) Server { /* ... */ }

func (srv Server) Run(ctx context.Context) error {
    // run the server
}

That will implement the controller-runtime manager.Runnable interface
<EMAIL_ADDRESS>Then before you start the manager, you just “Add” the runnable
<EMAIL_ADDRESS>


Local created Swift Package cannot using locally

Hi everyone!
multiplatformSwiftPackage {     outputDirectory(File(projectDir,"presentationPackage"))     packageName(project.name)     swiftToolsVersion("5.3")     targetPlatforms {         iOS { v("13") }     }     distributionMode { local() } }
This is my config for create swift package, it's ok when using remote package(publish to github). But when i add to package manager from local file it not working, import in swift get "No such module " error

Hi haitrvn, is there any alternative to use local spm for your case?

Hi haitrvn, is there any alternative to use local spm for your case?
Sorry for the late response, it just doesn't work with local SPM import, so i use FAT iOS Framework instead


⚠ Bofrost.fr has degraded performance

In 1279cca, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1219 ms

Resolved: Bofrost.fr performance has improved in 0fc02b8 after 50 minutes.


[Documentation] Add missing existing feature parts to sections and reduce time for adoption by provide minimal example configurations

Add missing existing feature parts to sections:

Pre-Requisites section is missing VPC, RDS, SES, CFN S3 (without setting these up a user can get stuck)
Parameters section is missing CFN s3
Tear Down section is missing Pre-Requisites AWS resources that are not part of the stack. (making the user's aws repo unclean)

Reduce time for adoption by:

including minimal simple configurations of VPC and RDS for quick start up. It took 1 week for me to setup things up properly as there was nothing available. Let's make it less tricky for users and contributors to adopt the start up of Trapheus.
Cost considerations section is missing. People will adopt the tool more if they know how to try it without or less cost.
links to resources (for faster adoption from new contributors)

This should have the lables [documentation] [good first issue].

I will work on this.

@stationeros @RiyaJohn would you mind taking a short look at this issue and reviewing the accompanying PR as well:  https://github.com/intuit/Trapheus/pull/17/commits/9d87d42cef410732e39066fb2d58229db571c32f ?
@namitad I believe you would do this by default.
Can we kindly move this forward?


Fix incorrect args in custom tagging example

Original code example declares tag_string as the argument for comma_joiner, however, the body of comma_joiner expects an iterable of Tag objects named tags.

Thanks!


Data on nuscenes

First, appreciate for open source this project.
Could you elaborate which dataset is needed on https://www.nuscenes.org/download to reproduce this work?

Hi. Please download all splits of Trainval in Full dataset (v1.0), including the sweeps set.

To replicate our performance, we recommend also downloading OpenDV-YouTube dataset from DriveAGI if possible. You can start with a few YouTubers like J Utah. Feel free to let us know if you encounter any troubles.

Hi. Please download all splits of Trainval in Full dataset (v1.0), including the sweeps set.  To replicate our performance, we recommend also downloading OpenDV-YouTube dataset from DriveAGI if possible. You can start with a few YouTubers like J Utah. Feel free to let us know if you encounter any troubles.

Hi, I also want to experiences the pretrained model to see the generated videos based on NuScenes. Howerver I enconter a problem seemingly from dataset.
Loading model from ckpts/vista.safetensors
Global seed set to 23
Traceback (most recent call last):
File "/data/workspace/code/Vista-main/sample.py", line 254, in
img = load_img(each_path, opt.height, opt.width)
File "/data/workspace/code/Vista-main/sample.py", line 197, in load_img
image = Image.open(file_name)
File "/root/anaconda3/envs/vista/lib/python3.9/site-packages/PIL/Image.py", line 3277, in open
fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/data/workspace/data/nuScenes/samples/CAM_FRONT/n008-2018-08-01-15-16-36-0400__CAM_FRONT__1533151514512404.jpg'
I only download the first two of all parts.
Could you please provide a more detailed dataset organization structure after that  I have downloaded all of the 10 parts of Nuscenes. (I note that all part files have directory'sample','sweep', should I manually merge them into the same directory?)

Hi @MulitiByte, thanks for your interest. Yes, I think you need to merge them all to fit the annotations.

Hi @MulitiByte, thanks for your interest. Yes, I think you need to merge them all to fit the annotations.

Thank you so much for your kind an patient reply. I have successfully  tested on my own machine. And I have some more questions, I set the configurations for sampling as follows:
action='free',
n_rounds=1,
n_frames=16,
n_conds=3,
seed=46,
height=320,
width=576,
cfg_scale=2.5,
cond_aug=0.0,
n_steps=50,
rand_gen=True, low_vram=False
Some produced videos are a little unnatural, could you please provide some advice acorrding to your practical experiences to help to improve the quality? Thanks a lot !
(BTW:  dose the parameter n_conds means using the first three frames as the condition for the whole 16 frames under this config?)

Hi @MulitiByte, I think the main factor is the number of frames you use. It is not recommended to set n_frames less than 25 if you have enough GPT memory.

I'm closing this issue due to its inactivity. Free feel to reopen it if you have further questions.


[Feature Request] Missing Korean character

The character 렌 shows up as a ?.  It would be great to get this added to Outfox.  I found a stepchart for the song Siren by Sunmi, but the original Korean title 사이렌 does not work because of the missing character.
Thanks!

Lots of Hangul syllables seem to be missing in Appearance/Themes/_fallback/Fonts/_korean 24px.ini. There are 11,172 Hangul syllables in total according to Wikipedia, but only 249 are defined in _korean.ini.

I have spent the last two days fixing up tje texture font generator and with @hanubeki's help have restored many of the missing korean glyphs.
i will take the time to redo all the fonts as they are woefully out of date, and missing a lot of glyphs that should be in the game.
This issue is fixed in 4.8.6 which will be out shortly. Thanks for reporting and giving me a kick up the backside to finally fix this issue.

This has been present in sm since 3.x days so its nice to finally be shot of it for now.

Thanks, that will be great!  Years back I made my own pack of glyphs which
could be added as a custom font - it's much easier to have it supported out
of the box

This is fixed in 4.8.6 and will be out around the middle of next week.

In terms of fonts that might be useful, I have what seems to be some Greek characters in one of my sims:
Ψηλά τακούνια
Κατερίνα τικούδη
If it's easy to add, can we get some or all of the Greek alphabet added as well?

Already done in 4.9.0 test them though, will be interesting to see.

Love it.  Should I wait and see, or do you have an early access build I can
look at?  Windows 10 if the answer is I can alpha test it.

Got another glyph request - thought piggybacking on an existing issue, even a closed one, would keep things simpler.
How about Armenian?
Թե աղջիկ լինեիր
https://zenius-i-vanisher.com/v5.2/viewsimfile.php?simfileid=26514


[BUG] Camera Resolution is 640x480 on Fire HD 10 gen 7 and 9, also very dark picture

Describe the bug
On several separate Amazon Fire HD 10 gen 7 and also on one gen 9 I have, with the current version, and also with all old versions even from thanksmister, the issue that the cam only finds 640x480 as resolution but the spec for the devices give way more megapixles.
It does not matter if i select front or back camera
Picture is very dark and basically unusable.
I gladly supply what is needed for troubleshooting in form of logs or what ever or even send the hardware for testing.

Duplicate of #6 ... by you!


Is it possible to add face and hand keypoints?

Hi,
Thanks for the great work for retargeting. In addition to pose keypoints, is it possible to add face and hand keypoints?
Thanks.

OpenPose supports 2D face and hand keypoint detection.
3D pose estimation of face and hand is not supported in this project.

Maybe 3d pose and retargeting of face and hand can be supported in the future in this project.


Order page inputs

In order page: name and address fields should update order object.

The UI was redesigned and bug no longer exist.


Add support for more card sizes

It would definitely be a huge improvement to support more than the default card size. However, this could be complicated to implement properly.

How does a datasource define what size its cards are?
Should the size be one of several pre-defined options, or completely custom?

Considering augmenting the @template column with a size specification like you would do with images, e.g. {{ image.png:32x32 }}. So it could go like @template:token, or @template:standard.
This solution has the benefit of being tied directly to the data, and not something that is specified when executing the script. So it's pretty clear, I think. This also opens up for potentially allowing completely custom sizes later on- maybe through the definitions file.


FetchContent Improvements

Summary
This patch series makes it possible to consume more library from the system, by leveraging the new  FIND_PACKAGE_ARGS facility for FetchContent.
With the way msgpack is now included, I can now finally compile this repo without any extra patches.
Test plan
It compiles :)
Fixes: https://github.com/facebookexperimental/object-introspection/issues/359

@JakeHillion while SYSTEM requires CMake 3.25, removing that won't bring a substantial advantaged since FIND_PACKAGE_ARGS requires CMake 3.24 - see https://cmake.org/cmake/help/latest/module/FetchContent.html From what I gather, that version is still too new for you?
If so, we need to take a different approach, one more akin to what I did for RocksDB in https://github.com/facebookexperimental/object-introspection/pull/373/commits/5a6ef38c376a7ec56c748f76fef647258408c92e - Are you OK with that?

Sorry for not picking up on that. The approach taken with RocksDB seems good (if !find_package then fetchcontent). Could you also create an issue for changing this to FIND_PACKAGE_ARGS when 3.24 is widely available, and link to it from a comment in the CMake in each case? Then hopefully we'll remember to switch. Thanks again for cleaning this up and making it easier to build OI externally.


Update p003-Dot-Product.c

Creating this pull request, to simplify the code, and make it better match the code that's in the book and video. Also adding a dash in-between Dot and Product in the file name/title.

@Devilbinder Since it changes your implementation - what do you think about these changes?

@daniel-kukiela The code is identical to mine in function. However it is not modulare. It will make the follow up tutorials difficult to implement especially with regards to shape and batches. Would not add it.

@daniel-kukiela The code is identical to mine in function. However it is not modulare. It will make the follow up tutorials difficult to implement especially with regards to shape and batches. Would not add it.

Was following the book from front to back, not the inverse. Porting his code as close as possible is a fun challenge. Modularity comes later when he starts using OOP.

Was following the book from front to back, not the inverse. Porting his code as close as possible is a fun challenge. Modularity comes later when he starts using OOP.


NullPointerException

First of all thanks for coding up this lib. It's the only working one that I could find after a lot of digging. 🙏
Possibly the same issue that was fixed here? https://github.com/RainerAppel/cordova-plugin-inapppurchase/compare/master...richmoh:cordova-plugin-inapppurchase:master
Stack trace:
Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{<packagename>/com.android.billingclient.api.ProxyBillingActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.IntentSender android.app.PendingIntent.getIntentSender()' on a null object reference
       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2778)
       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
       at android.app.ActivityThread.-wrap11(ActivityThread.java)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loop(Looper.java:164)
       at android.app.ActivityThread.main(ActivityThread.java:6494)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.IntentSender android.app.PendingIntent.getIntentSender()' on a null object reference
       at com.android.billingclient.api.ProxyBillingActivity.onCreate(ProxyBillingActivity.java:121)
       at android.app.Activity.performCreate(Activity.java:7009)
       at android.app.Activity.performCreate(Activity.java:7000)
       at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2731)
       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
       at android.app.ActivityThread.-wrap11(ActivityThread.java)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loop(Looper.java:164)
       at android.app.ActivityThread.main(ActivityThread.java:6494)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

Here's the raw stacktrace from crashlytics: stacktrace.txt

Thanks, I'm still trying to make it easier to find by Google.
Appreciate the links. Those calls are now done by the Android Billing Library 5 itself and it seems some people get the same issue as you outside of using cordova.
These might help:
https://github.com/stripe/stripe-android/issues/777
https://stackoverflow.com/questions/21932574/from-second-time-in-app-purchase-throwing-exception-in-android
It sounds like this might happen rarely when trying to purchase something that has already been purchased successfully.
Does the plugin return an error message that you can respond to?

@cozycodegh thanks for you quick reply!
It doesn't return an error message and leads to a crash :(
My guess is that it would need to be handled in the android native side of the plugin so that somebody can handle it on the javascript side (without the whole app crashing)

Some debugging questions:
Does the same crash happen when you have included the plugin, but not made any calls?
Or does it only occur after certain calls to the plugin are made?
Has the Google Play pop up come up?
I haven’t been able to reproduce the error.

Unfortunately, it's a bit of a black box. I can't reproduce it either. I have only the crash report posted above from crashlytics...

It looks like an uncommon crash that has something to do with a background process closing, and the billing library crashing afterwards… It could have something to do with the app switching to show a full screen ad.
I'll close this if I can't reproduce, but please re-open the issue if it's happening again, or more to go on for debugging.

Sweet makes sense

Sweet makes sense!

com.android.billingclient.api.ProxyBillingActivity.onCreate
OS version: android8.1.0
Model:Nexus 5X
Fatal Exception: java.lang.RuntimeException
Unable to start activity ComponentInfo{com.****/com.android.billingclient.api.ProxyBillingActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.IntentSender android.app.PendingIntent.getIntentSender()' on a null object reference
android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2778)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:807)
Caused by java.lang.NullPointerException
Attempt to invoke virtual method 'android.content.IntentSender android.app.PendingIntent.getIntentSender()' on a null object reference
com.android.billingclient.api.ProxyBillingActivity.onCreate (com.android.billingclient:billing@@6.0.1:14)
android.app.Activity.performCreate (Activity.java:7009)
android.app.Activity.performCreate (Activity.java:7000)
android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1214)
android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2731)
android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2856)
android.app.ActivityThread.-wrap11
android.app.ActivityThread$H.handleMessage (ActivityThread.java:1589)
android.os.Handler.dispatchMessage (Handler.java:106)
android.os.Looper.loop (Looper.java:164)
android.app.ActivityThread.main (ActivityThread.java:6494)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:438)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:807)

Could it be related to Google's automated bot tests during testing?

It’s a crash in the Google Play Billing Library, and some people say it’s come up on app users’ devices outside of testing.


How to view exported CPU profiling results in Flutter Devtools? (Can PR for doc later)

Hi, I am looking at the CPU profiling results in Flutter devtools. The GUI is super janky, so I want to export it and view externally, just like how we view timelines with Perfetto or chrome://tracing. There does exist an "Export" button, but I am not sure what is the format of the exported data. It looks like plain JSON, and I have tried flamegraph tools without success (surely). The doc https://docs.flutter.dev/tools/devtools/cpu-profiler also does not mention how to use the exported data. A quick google search and Discord search also do not reveal answers.
I am worried this is just an ad-hoc format and no viewers at all support it, that's why I create this issue. Is there anyone who uses export button in the profiling - I wonder what (external) viewer do you usually use?
I am happy to PR for doc once I know how can I use the exported data!

Hi @fzyzcjy
It seems this question is best suited for devtools, so please ask the same there for answers if any. But I will keep this open and label this as a documentation issue for more insights. Thank you!

Thanks! I opened it there as well: https://github.com/flutter/devtools/issues/5849

@fzyzcjy I see https://github.com/flutter/devtools/issues/5849 has been closed. Is it safe to close this issue respectively?


No logs available in case of notarization failure?

The error in #118  recommends to check notarisation error log file, but there seem to be no artefacts that contain log files.
https://github.com/paneron/paneron/actions/runs/7005344337/job/19081172209

@CAMOBAP I remember you’ve worked on CI, is there a simple change that we can make to make sure logs are attached on notarization failure? cc @ribose-jeffreylau

I found the logs. Doh.


Add ability for Accordion to expand a certain item

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
❌

Fixed issues
#16

👍


Invariant Violation: Objects are not valid as a React child (found: object with keys {match, text}).

had a stateless functional component
const Comp = (match, text) => (
 ...
)

Which was missing the the {} to extract the props match and text.
Is there already a rule for that?
The correct signature should have been:
const Comp = ({ match, text }) => (

Since an SFC can have props, context arguments, we'd need a linter rule that forced you to name the arguments that, when not destructured - I'm not sure how we could in a practical sense figure out what mistake you made.

Right, I forgot about context.
For my particular case it could also be that I chose to call props match and context text. I understand. That is hard to decipher for the rule.
Couldn't we just assume they are supposed to be called props and context by convention?
At the very least if there are more than 3 params, with whatever name in a SFC then something is off.

I have been thinking about a rule to check parameter names for React lifecycle methods. As I always forget the order of the state vs props and whether it is next or prev.

I think that a separate rule to enforce React-provided parameter names might be the only way to approach this problem.

I'm going to close this, but if someone wanted to make a PR for a rule as described above, that'd be great.


Build on Linux

From the discussion in #448 it seems that AngleSharp currently has problems to build on Linux.
This should be fixed and instructions on how to build on Linux (and Windows, Mac OS) should be provided for completeness (e.g., install .NET Core using ..., clone the code, ... run x).
The instructions should be part of the upcoming documentation.

⚠ ⚠ ⚠
The following content is a WIP
Follow the instructions on the .NET core homepage, e.g., for Ubuntu:
sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893
sudo apt-get update
sudo apt-get install dotnet-dev-1.0.0-preview2-003131

The version of .NET core to be installed can also be obtained from the list of downloads.
Furthermore, due to current limitations in Cake we also require Mono for the Bootstrapper.
sudo apt-get install mono-devel

Clone AngleSharp:
git clone https://github.com/AngleSharp/AngleSharp.git
cd AngleSharp

Enable execution of the build script:
chmod +x build.sh

Run the build script:
./build.sh

The build should complete with all unit tests being run successfully. If anything fails it may be due to an incompatibility of AngleSharp with the installed toolset. Potentially, a more recent version is available. In any case an issue should be filed to get things working properly.

Right now some unit tests are failing on Linux. I will investigate why.
Two regions are impacted:

Encoding (could be bad transport or not/wrong implemented in Mono, e.g., Windows-1252)
Cookie handling (potentially an issue with the CookieContainer in Mono)

I will see if we can get around these issues.

With some minimal changes to the build scripts I was able to build and run the tests on Linux using Mono 4.6.3.

Checkout a fresh copy of "devel".
Substitute nuget.exe in tools as explained above.
Applied pull request #469 to fix default TARGET and avoid dotnet core build.
./build.sh

I got the same test failures. I'll investigate later.

Maybe I should have added the WIP branch I am working on. See PR #469 for the location.

Actually, let's have this for v1. I don't want to make v0.10 dependent on this one.

I think it's pretty easy to get this library build on Linux, if:

the project file is moved to the 2017 csproj format
we don't use cake. With the dotnet command, it's pretty easy to get things building

Well, Cake is of course required, but that should and is not really a problem. Our Cake build uses the dotnet tools of course. Unfortunately, Cake also / still requires Mono.
But this issue is no longer about the build (on Linux) itself, rather just about the documentation (just for completeness).

why is cake required? IMO it's overkill if you could build your library with just 2 lines:
dotnet restore
dotnet build

If you remove multi-platform for most cases yes, but for CI/CD we still want Cake for other things...

Update the version wrt changelog (consistency)
Bundle the NuGet package
Publish the NuGet package

All contained in a single workflow. So why have these two lines (plus X more, e.g., to run tests etc.) if you can just do ./build.sh?
So again don't get me wrong - of course what you describe can be done, but it was always possible. Even prior to dotnet you could trigger the build with either msbuild or xbuild. But since Cake is there (for CI/CD) it should also work on Linux.

OK, just trying to make things a bit easier.

If you remove multi-platform for most cases yes,

FYI, dotnet restore/build/pack will work for multi-platforms. To be clear, building a creating a nupkg for NLog for 11 platforms is  essential one line. (note we use the msbuild syntax here for flexibility)
msbuild /t:Restore,Pack .\src\NLog\ /p:targetFrameworks='"net45;net40-client;net35;netstandard1.3;netstandard1.5;netstandard2.0;sl4;sl5;wp8;monoandroid44;xamarinios10"'

FYI, dotnet restore/build/pack will work for multi-platforms.

Yes I know but how does this solve the documentation issue?

well less (3rd-party) commands makes the documentation easier. The docs could be "like every other .NET (standard) library". (OK, I skipped the release notes and publishing releases)

I agree, but the only command is "./build.sh".
The rest is just how Mono and the right version of NuGet is installed. Some parts (e.g., sudo apt-get install referenceassemblies-pcl) or the NuGet part will be omitted when the multi-platform (see #709) requirements goes away with a single .NET Standard target.
Did you read the proposed documentation extension? It is only touching the installation part to make sure one does not get stuck in that area.

After migrating the devel branch to support .NET core, the build is fine but the tests are failing due to specific .NET core implementation:
Error Message:
 System.PlatformNotSupportedException : The information requested in unavailable on the current platform.
Stack Trace:
   at System.Net.NetworkInformation.LinuxNetworkInterface.get_Speed()
   at AngleSharp.Core.Tests.Helper.IsNetworkAvailable(Int64 minimumSpeed) in /media/sddata/data/AngleSharp/src/AngleSharp.Core.Tests/Helper.cs:line 53
   at AngleSharp.Core.Tests.Helper.IsNetworkAvailable() in /media/sddata/data/AngleSharp/src/AngleSharp.Core.Tests/Helper.cs:line 24

Just tested this on Ubuntu 18.04

Thanks @alexanderuv - I disabled the network tests on Linux as this should not make a difference (the requesters itself are also tested w/o network); tests pass now!
Think this can be closed now ...


[TASK] Implement Core Account Control Features (Receive, Deposit, Transfer, Withdraw)

Description
The goal of this task is to implement essential account control functionalities within the account dashboard, specifically within the account card component. These functionalities include the ability to receive, deposit, transfer, and withdraw funds, providing users with a centralized and streamlined experience for managing their shielded assets.
Details

Receive:
Action: When the user taps on "Receive," a modal will appear, providing the user's note account public key, allowing them to copy and share it for receiving internal transfers.
Future Considerations: In future releases, we may enhance this functionality by enabling users to share their public key directly via private messaging applications like Signal.

Deposit:
Action: When the user taps on "Deposit," they will be redirected to the deposit tab on Hubble Bridge.

Transfer:
Action: When the user taps on "Transfer," they will be redirected to the transfer tab on Hubble Bridge.

Withdraw:
Action: When the user taps on "Withdraw," they will be redirected to the withdraw tab on Hubble Bridge.

Figma Link

Closed in https://github.com/webb-tools/webb-dapp/pull/1811.


Do not cancel downloads behind proxy just because it is slow

PS C:\Dev\git\project> cargo build
 Downloading serde_json v1.0.11
warning: spurious network error (2 tries remaining): [28] Timeout was reached (Operation too slow. Less than 10 bytes/sec transferred the last<PHONE_NUMBER> seconds)
warning: spurious network error (1 tries remaining): [28] Timeout was reached (Operation too slow. Less than 10 bytes/sec transferred the last<PHONE_NUMBER> seconds)
error: unable to get packages from source

Our company proxy is also scanning the downloaded artefacts. While doing so, it still sends some data (5 bytes/sec), probably in order to keep the connection alive.
Cargo thinks this is to slow and stops with an error.
Can we have an option to ignore this check?

You should be able to add global .cargo/config configuration like:
[http]
timeout = 1000000

would that work for your use case?

Unfortunately not. I am already using a very long timeout.
The error message also does not appear after a certain amount of time(out). It is immediately appearing (I assume as soon as the connection is established). I've tried many things, including a local mirror of the crates.io-index. The index seems to be ok, since it is trying to download the first crate.
As said, and as others have reported, I guess it wouldnt be a problem if our proxy wouldn't send any data. But it does, which must trigger some exception in the cargo chain.

Hm this may either be a bug in curl, the proxy, or a timeout in curl that we accidentally aren't configuring? I'm not entirely sure unfortunately :(
If you're using a super long timeout already though and it's failing quickly, then that probably means it's a bug in how we're telling curl about timeouts (maybe we're missing one?)

Curl provides these two options

https://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTLOWSPEEDLIMIT
https://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTLOWSPEEDTIME

An option to override those would probably be enough. Or Cargo sets higher values if a proxy is configured.

It looks like Cargo doesn't currently have the ability to overrides its configuration of low_speed_limit and that may do the trick! (Providing the ability to override that)

Thanks for providing the location. This is exactly our problem since the proxy only sends 5 bytes/sec.
I can try to work on a PR.
Can I just replace my local cargo binary with an updated one for testing? Or is there a better way?

Ah yeah a cargo build in this repository should produce another cargo binary and you should be able to use that one in-place instead of the already installed version

Here´s how to reproduce the issue (adjust tc to your network adapter.
sudo tc qdisc add dev eth0 handle 1: root htb default 11 && sudo tc class add dev eth0 parent 1: classid 1:1 htb rate 5bps && sudo tc class add dev eth0 parent 1:1 classid 1:11 htb rate 5bps
to clear tc call
sudo tc qdisc del dev wlan1 root
How to reproduce

clear cargo download cache

start a cargo build

wait for the crate download to start

execute the tc command to limit bandwith under 10bps

note that the first connection fails with the low-speed...the next retry will timeout because the connection cannot be established quick enough

clear tc


Suggestion: Make default modifier "$" to match other social media

Change stock {symbol} to ${symbol}

@JesseBilsten  Good suggestion!! I've created an additional version with supporting $.
Review here: https://github.com/Wei-Xia/alfred-stock-price-workflow/releases/tag/v0.92


Generate errors for the FlowMods

Such as malformed flow JSON or inexistent datapath

We'll generate:

[ ] error 404 if the DPID does not exist
[ ] error 400 if the body is malformed (invalid fields)
[ ] error 400 if any of the values can't be applied to the flowmod

Invalid fields or fields with invalid values are not yet treated.

If an inexistent field (like an invalid or not implemented action) is sent, a 500 error is returned. A better error code should be returned in such cases.

If an inexistent field (like an invalid or not implemented action) is sent, a 500 error is returned. A better error code should be returned in such cases.

We'll generate:

[ ]  error 404 if the DPID does not exist
[ ]  error 400 if the body is malformed (invalid fields)
[ ]  error 400 if any of the values can't be applied to the flowmod

When testing the last item, to see what was returned when an invalid value was sent (I tried a string where an integer is required) and the return code was 200. Kytos log showed a PackException when trying to pack the string to integer.
So, when the FlowMod is instantiated, the values are not validated, so no error occurs, the FlowMod is put in the controller's buffer and flow_manager returns no error code. The controller, asynchronously, reads the FlowMod from the buffer and, when trying to pack it, receives a PackException. The error is never returned to the user and the controller crashes.

We'll generate:

[ ]  error 404 if the DPID does not exist
[ ]  error 400 if the body is malformed (invalid fields)
[ ]  error 400 if any of the values can't be applied to the flowmod

When testing the last item, to see what was returned when an invalid value was sent (I tried a string where an integer is required) and the return code was 200. Kytos log showed a PackException when trying to pack the string to integer.
So, when the FlowMod is instantiated, the values are not validated, so no error occurs, the FlowMod is put in the controller's buffer and flow_manager returns no error code. The controller, asynchronously, reads the FlowMod from the buffer and, when trying to pack it, receives a PackException. The error is never returned to the user and the controller crashes.


Scan - No validation error when saving empty merchant in Scan details page

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.20-2
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause- Internal Team
Slack conversation:
Action Performed:

Click FAB > Request money > Scan
Create a scan request
Navigate to scan details page
Click Amount and enter amount manually
Click Merchant
Save the empty merchant

Expected Result:
Validation error will appear because merchant is a required field
Actual Result:
There is no validation error when merchant is a required field
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/a719a47c-bd67-4959-ac3a-2ea327e683ed
View all open jobs on GitHub

I agree, closing this out, cc @mountiny for a double check since you worked on this PR.


Add preprocessor logic for Apple builds where symbols are not always available.

Apple builds can fail when certain symbols are not present. This change adds preprocessor checks to guard against these failures.

The symbols are imported with __attribute__((weak)) __attribute__((weak_import)) and we have runtime checks like if (pipe2) {. Why is that not enough? The build pass on my Mac.

Let me close this... imho this is not needed.


Left padding for options

I've been unable to reproduce this issue, or figure out how to solve it. Maybe some one else has dealt with it.
The options for the select appear to have a left padding or margin.

This might be because of some global nested styles that modify the default behaviour of li or ul elements.


Feature request: Use system frida where it exists

I'm using a magisk module that installs frida-server into system/bin and apps that don't have root access can't find the specified path. Can we have support for it? Pressing Custom Friday binary does nothing

Como instalas la apk?


/bin/plutus-playground-server: No such file or directory

Summary
I followed the getting started section, setup the cache, opened nix-shell and tried to open the playground server. All get is an error, that is not specific and I could not find anything in the docs or on the discord server.
Steps to reproduce the behavior
git clone https://github.com/input-output-hk/plutus-apps
cd /etc/nix
sudo nano nix.conf //Setup nix cache
cd plutus-apps && nix-shell
cd plutus-playground-server
plutus-playground-server

Actual Result
[nix-shell:/home/niaz/plutus-apps/plutus-playground-server]# plutus-playground-server
plutus-playground-server: for development use only
/nix/store/fm77y43lzpgnay4pyc48jwpln0lnmrk3-plutus-playground-server/bin/plutus-playground-server: line 10: /bin/plutus-playground-server: No such file or directory

Expected Result
Startup the server.
Describe the approach you would take to fix this
I tried to build the server with
cd plutus-playground-server
stack build plutus-playground-server

This gets stuck on pulling the repository for cardano-wallet.
It has probably something to do with me using the latest commit. But it's not documented which commit is confirmed to work. I only can find information regarding the old repo in plutus
System info
OS: Manjaro
Version: Latest commit (41149926c108c71831cfe8d244c83b0ee4bf5c8a)

Thanks for the issue!
As plutus-playground-server in nix-shell is just a script, the command at 10th line is the following
$(nix-build --quiet --no-build-output ../default.nix -A plutus-apps.haskell.packages.plutus-playground-server.components.exes.plutus-playground-server)/bin/plutus-playground-server webserver "$@"

/bin/plutus-playground-server: No such file or directory error means that the nix-build command returned an empty string and the script tried to execute /bin/plutus-playground-server.
Could you please try to run $(nix-build --quiet --no-build-output ../default.nix -A plutus-apps.haskell.packages.plutus-playground-server.components.exes.plutus-playground-server) in plutus-playground-client directory? not plutus-playground-server.

Thanks for the help! I tried running the command from within the plutus-playground-client and that worked. Running plutus-playground-server still returned the no such file error.
While looking through the issues, I found this one here, which states that I also have to build the server outsider the nix-shell with nix-build -A plutus-playground.server  #195 While doing that I got a different error. Maybe that's the root reason why it does not work on my machine.

Running plutus-playground-server in the plutus-playground-client directory gives me this error.
Running just the nix-build command in the plutus-playground-client directory indeed gives no output.

I also have this error. When running the nix-build command from the script (in the plutus-playground-client directory), it gives a segfault:

I set GC_DONT_GC=1 when running nix-shell to fix the segfaults.

Works for me, thanks!


Added Contribution To CC46 - Asteroids (GyroDodge)

I used gyroscope sensor to control the player and added some sound effects too.
GyroDodge is more fun to play on mobile devices.
play : https://anuraghazra.github.io/GyroDodge/

@anuraghazra Does it only run on android devices? On my iPhone it didn't work.

I don't know because I'm using Android device and I don't have access to an IPhone so i think I might have to consider Support for Safari's javascript deviceorientation api.

Btw can you tell me which Safari version and IPhone you are using?

iPhone X, iOS: 12.1.4

Ohh okay, I think the support is not good.
https://caniuse.com/#search=DeviceOrientation

Ok. Let's merge anyway ❤

Okay thanks! i will try to solve the issue if possible.

Okay i think i can fix it. looks like IOS devices uses ondevicemotion rather than ondeviceorientation event.
https://stackoverflow.com/questions/4378435/how-to-access-accelerometer-gyroscope-data-from-javascript


react-native-matrix-sdk vs matrix-js-sdk which one should I go for?

I need to integrate matrix chat in react native where User

can send/receive text,image and documents(pdf, doc etc.).
can get past messages.
can create rooms.
can login using accessToken, userId, and homeServer.
need to get notifications also.

Are all these features available in this sdk?
Is it okay to use this sdk or should I go for matrix-js-sdk?
Please help me out.

Haven’t used the JS SDK.
I can tell you that the native SDK can handle all the features you have listed.
The JS Sdk is also used to build app.element.io so I guess it should also cover all your use cases.
If you want to see a JS implementation reference check the app Ditto.
However, the JS SDK is probably better documented + currently this SDK is under slicendes that forbids the usage in commercial products, keep this in mind.

@abhishektiwari-kiwi  Another option is rn-matrix (I've been working on it)
It uses the matrix-js-sdk behind the scenes so it doesn't have the benefits of native stuff like react-native-matrix-sdk, but rn-matrix has an option to work in expo as well as a UI pack with an inbox, message view, and composer.
(also rn-matrix is basically an abstracted version of Ditto's code)

@hannojg and @annie-elequin Thank you so much.

@hannojg what do you exactly mean by this?

this SDK is under a license that forbid the usage in commercial products, keep this in mind.
Can we not use this library in our live project even if take risk of using alpha version?

If the app you are building has a commercial purpose, e.g. generating money in the future, you are not allowed to use this SDK in your application. See the license used for distributing this SDK: https://creativecommons.org/licenses/by-nc-sa/2.0/
Even if your app doesn't generate money right now but has the future purpose to do so, the license forbids the usage in your product.
If your app is free of charge and has no commercial purpose it's okay to use the SDK

@hannojg Thank you for your response.
One last question please. just to be fully clear.
Consider the below conditions.

Our app is free to download.
Although, We have subscription feature in our app but that is for some other feature unlock.
Chat is free totally. Even if in future, we don't plan to make Chat feature paid.

So my question is.
Can we now use this sdk to go live or still it's a no no?
Help me out.

According to your specifications, the app has a commercials aspect in it and using this SDK in your product would violate the license. Sorry, but it is a "no no" 😄 I will update this thread once the license changes.


tests: fix type tests for Link, make sure type tests fail in ci and add type tests for union to and difference in params

Tests were failing and were not type checking in ci
Added test cases for to being a union, params being optional if from and to contain the same params

Correct me if I'm wrong, but I believe we aren't testing for external links.
The implementation for the <Link> component checks for external links and sets the href property to whatever the input of to was.
Not sure if that's something that'll be covered by this PR or not, just putting it out there since the types for Link are being touched here.

Maybe we can do sanity check that we allow any string literal type in to. But bare in mind these are only type tests and doesn't test the runtime behaviour. We need both but since I'm touching the types most of the time, that's what I see break the most so I wanted to add some


[Question] laf running on port 18000, did the nginx mapping, application service address but still have the old port number, lead to can't normal debugging

Search before asking

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

Question
控制台地址：http://console.lafyun.127-0-0-1.nio/app-console/#/app/hmnmmx/dashboard/index
服务地址：http://hmnmmx.lafyun.127-0-0-1.nio:18000
导致调试时会报跨域，无法正常调试。

Access to XMLHttpRequest at 'http://hmnmmx.lafyun.127-0-0-1.nio:18000/debug/test' from origin 'http://hmnmmx.lafyun.127-0-0-1.nio' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

不带端口号访问云函数是正常的。
请问怎么修改？
附上配置文件：
# exposed port of laf services
PUBLISH_PORT=18000
PUBLISH_HTTPS_PORT=19443

补充说明， 这个情况是前端加了 反向代理， 所以要将 上图中 publish port 参数改为 实际 反代对外的端口（80），重启服务使其生效即可。


Once Spack 0.21 is released, change the variants on opencascade to avoid building unnecessary modules

^opencascade~draw~visualization~application_framework

With the development branch, for some reason the spec cannot be resolved with all three modules turned off.


python3Packages.wandb: 0.12.11 -> 0.12.14

Description of changes
Upgrade wandb and clean up the derivation a bit.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 168440 run on x86_64-linux 1

3 packages marked as broken and skipped:

python39Packages.spacy
python39Packages.spacy-transformers
python39Packages.textacy

3 packages built:

openai (python39Packages.openai)
python39Packages.spacy-loggers
python39Packages.wandb

If no one objects I'll go ahead and merge tomorrow


non-friendly log info when using MKLDNN in make

set USE_MKL2017 = 1 and USE_MKL2017_EXPERIMENTAL = 1
then run: make clean, it will output like this in the screen:
[wuwei@localhost mxnet]$ make clean
mkdir: missing operand
Try 'mkdir --help' for more information.
--2016-12-19 17:11:48--  https://github.com/dmlc/web-data/raw/master/mxnet/mklml-release/mklml_lnx_2<IP_ADDRESS>61122.tgz
Resolving github.com (github.com)... <IP_ADDRESS>, <IP_ADDRESS>
Connecting to github.com (github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/mklml-release/mklml_lnx_2<IP_ADDRESS>61122.tgz [following]
--2016-12-19 17:11:55--  https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/mklml-release/mklml_lnx_2<IP_ADDRESS>61122.tgz
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... <IP_ADDRESS>
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK

    The file is already fully retrieved; nothing to do.

cp: target ‘./mklml_lnx_2<IP_ADDRESS>61122/license.txt’ is not a directory
basename: missing operand
Try 'basename --help' for more information.
rm -f -r build lib bin *~ */*~ */*/*~ */*/*/*~
cd /home/work/wuwei/project/dmlc/mxnet/dmlc-core; make clean; cd -
make[1]: Entering directory `/home/work/wuwei/project/dmlc/mxnet/dmlc-core'
rm -f line_split.o recordio_split.o input_split_base.o io.o local_filesys.o data.o recordio.o config.o  libdmlc.a test/filesys_test test/dataiter_test test/iostream_test test/recordio_test test/split_read_test test/stream_read_test test/split_test test/libsvm_parser_test test/split_repeat_read_test test/strtonum_test test/logging_test test/parameter_test test/registry_test test/csv_parser_test test/unittest/dmlc_unittest test/unittest/unittest_main.o test/unittest/unittest_json.o test/unittest/unittest_threaditer.o test/unittest/unittest_any.o test/unittest/unittest_array_view.o test/unittest/unittest_serializer.o test/unittest/unittest_logging.o test/unittest/unittest_config.o *~ src/*~ src/*/*~ include/dmlc/*~ test/*~
make[1]: Leaving directory `/home/work/wuwei/project/dmlc/mxnet/dmlc-core'
/home/work/wuwei/project/dmlc/mxnet
cd /home/work/wuwei/project/dmlc/mxnet/ps-lite; make clean; cd -
make[1]: Entering directory `/home/work/wuwei/project/dmlc/mxnet/ps-lite'
rm -rf build  tests/test_connection  tests/test_simple_app  tests/test_kv_app tests/*.d
find src -name "*.pb.[ch]*" -delete
make[1]: Leaving directory `/home/work/wuwei/project/dmlc/mxnet/ps-lite'

i think lots of output info is no need.
i had download https://github.com/dmlc/web-data/raw/master/mxnet/mklml-release/mklml_lnx_2<IP_ADDRESS>61122.tgz but when run make -j4, it will outputs like this:
[wuwei@localhost mxnet]$ make -j4
mkdir: missing operand
Try 'mkdir --help' for more information.
--2016-12-19 17:14:34--  https://github.com/dmlc/web-data/raw/master/mxnet/mklml-release/mklml_lnx_2<IP_ADDRESS>61122.tgz
Resolving github.com (github.com)... <IP_ADDRESS>, <IP_ADDRESS>
Connecting to github.com (github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/mklml-release/mklml_lnx_2<IP_ADDRESS>61122.tgz [following]
--2016-12-19 17:14:35--  https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/mklml-release/mklml_lnx_2<IP_ADDRESS>61122.tgz
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... <IP_ADDRESS>
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK

    The file is already fully retrieved; nothing to do.

cp: target ‘./mklml_lnx_2<IP_ADDRESS>61122/license.txt’ is not a directory
basename: missing operand
Try 'basename --help' for more information.
mkdir: missing operand
Try 'mkdir --help' for more information.
--2016-12-19 17:14:40--  https://github.com/dmlc/web-data/raw/master/mxnet/mklml-release/mklml_lnx_2<IP_ADDRESS>61122.tgz
Resolving github.com (github.com)... <IP_ADDRESS>, <IP_ADDRESS>
Connecting to github.com (github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/mklml-release/mklml_lnx_2<IP_ADDRESS>61122.tgz [following]
--2016-12-19 17:14:41--  https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/mklml-release/mklml_lnx_2<IP_ADDRESS>61122.tgz
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... <IP_ADDRESS>
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK

    The file is already fully retrieved; nothing to do.

cp: target ‘./mklml_lnx_2<IP_ADDRESS>61122/license.txt’ is not a directory
basename: missing operand
Try 'basename --help' for more information.
mkdir: missing operand
Try 'mkdir --help' for more information.
--2016-12-19 17:14:45--  https://github.com/dmlc/web-data/raw/master/mxnet/mklml-release/mklml_lnx_2<IP_ADDRESS>61122.tgz
Resolving github.com (github.com)... <IP_ADDRESS>, <IP_ADDRESS>
Connecting to github.com (github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/mklml-release/mklml_lnx_2<IP_ADDRESS>61122.tgz [following]
--2016-12-19 17:14:54--  https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/mklml-release/mklml_lnx_2<IP_ADDRESS>61122.tgz
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... <IP_ADDRESS>
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response...

repeat N times with the make -j${N}
@zhenlinluo

sorry forget set MKLML_ROOT


HWKAPM-729 | Instrumentation test framework: add option to pull images.

https://issues.jboss.org/browse/HWKAPM-729
@objectiser could you please review!

@pavolloffay LGTM :+1:


Can't find scim disabled hybrid roles with scim2 group pagination

With the fix [1] we are finding the hybrid roles which have been created when the scim is disabled and creating the scim ids for tose hybrid roles when listing the roles. But when we introduce pagination we can't achieve that. The reason is below.

Let's say I have Application/role1, Application/role2 hybrid roles which have scim ids and Application/role3 doesn't have the scim id.
With pagination, if the user request 1 Application role then from scim level (through IDN SCIM GROUP table) only 1 role will be returned it can be Application/role1 or Application/role2. Let's assume Application/role1 is returned
Now if we try to find the scim disabled hybrid roles, Application/role2 also treated as scim disabled role since it is not returned from step 2.

Hence we have decided to remove the logic [1] and add scim ids for all the roles which doesn't have scim id during the server startup/listener level. This will be covered with [1]
[1] https://github.com/wso2/product-is/issues/5702
[2] https://github.com/wso2/product-is/issues/7365

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


python3Packages.soco: 0.23.1 -> 0.23.2

Motivation for this change
Update to latest upstream release 0.23.2
Change log: https://github.com/SoCo/SoCo/releases/tag/v0.23.2
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"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 132588 at 8f3cb847 run on x86_64-linux 1

6 packages built successfully:

beets
beetsExternalPlugins.alternatives
beetsExternalPlugins.copyartifacts
beetsExternalPlugins.extrafiles
python38Packages.soco
python39Packages.soco

Result of nixpkgs-review pr 132588 run on x86_64-linux 1

6 packages built:

beets
beetsExternalPlugins.alternatives
beetsExternalPlugins.copyartifacts
beetsExternalPlugins.extrafiles
python38Packages.soco
python39Packages.soco


develop mode does not respect src structure

Originally reported by: marscher (Bitbucket: marscher, GitHub: marscher)

Assume you have project with a src folder:
#!python

root/
root/setup.py
root/src/my_pkg/__init__.py
....

in setup.py one have mapped the src folder, so it can be found during installation.
#!python

setup( ....
   package_dir = { 'my_pkg' : 'src' }
)

If one tries to install an egg link to the pkg via setup.py develop, this mapping is happily ignored. I'am not sure, if this is an issue either with setuptools or distutils. Symlinking my_pkg to the root fixes the problem.

Bitbucket: https://bitbucket.org/pypa/setuptools/issue/230

@RonnyPfannschmidt has suggested a few options:

symlink the packages during develop install
create shim file
create meta import hook

All of these run into challenges thinking about the total workflow (how are they registered/uninstalled).
If someone could put together a routine or package that demonstrates a technique for installing such a hook, then we can work to devise a workflow around it to use within the develop command and installers.

i documented some of it in https://mail.python.org/pipermail/distutils-sig/2017-September/031498.html
i made a prior implementation in https://github.com/RonnyPfannschmidt/gumby_elf/blob/03391bdf0cc66faaa2a5e034769e557c31974fd9/src/packing.py#L34-L43
i believe the best prospect is building/installing the dist info alongside a bootstrapped and a altered record file

Hi there,
Any updates on this?

No updates, although the packaging standard have developed and now there is some standards for supporting editable installs. Perhaps supporting that PEP could open up opportunities for this use case.

I believe v64.0.3+ solves the problem with package_dir and editable installs reported here.

I'm sorry I tried setuptools 65.5.0 with python 3.10.9 with the case provided by OP and the problem still seems to exist. I ran python setup.py develop and then ran import my_pkg in a python interpreter. I still got the "ModuleNotFoundError: No module named 'my_pkg'" error here.

Hi @gnaggnoyil please note that it is impossible to fix this problem if you are using python setup.py develop. This is well known limitation of develop.
If you want to give it a try to editable install, please use pip install -e .

@abravalheri Hello, I also tried pip install -e . and the result was the same. I also tried to inspect the files that pip installed in my venv and the files seems to be same as those installed through setup.py develop.

In this case, pip might be treating your project with the legacy procedure.
You can try adding pyproject.toml or run pip with the --use-pep517 flag (this is going to be the default in pip 23.1).
If that does not work. Please open a new issue with a minimal example that reproduces your error.

Using the --use-pep517 flag fixed this problem for me.


Mistake in 3.1 False Positives, and False Negatives

Please correct your FP and FN values like that
FP = np.sum((y == 0) & (thresholded_preds == 1))
FN = np.sum((y == 1) & (thresholded_preds == 0))

I have resolved it. Thank you.


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-30-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4730

Questions ?
Please refer to the Backport tool documentation


User model: first_name and last_name are not migrated (yet)

Upstream removed first_name and last_name on the user model and I am still trying to get them back without braking github actions (i.e. the Docker tests) ;-)

Seems to work now


where('column_name', ['array', 'of', 'values'])` does not behave as expected

Laravel Version: 5.5.40
PHP Version: 7.2.6
Database Driver & Version: mysql 5.6

Description:
As mentioned in the title, the below code does not behave as expected.
->where('column_name', ['array', 'of', 'values'])

This appears to silently grab the first value and ignore the rest in effect making the above run as
->where('column_name', 'array')`.

I would expect (and I have a feeling it used to?) this to be transformed silently into the following code or at the very least throw an exception stating that an array was not expected.
->whereIn('column_name', ['array', 'of', 'values'])

Steps To Reproduce:
factory(\App\User::class, 5)->create();
if(count(\App\User::where('id', [1,2,3])->get()) !== 3) {
    throw new \Exception('Ah... where are my people?');
}

There was declined PR for transforming array to whereIn.
But grabbing first array value is strange indeed. It should throw InvalidArgumentException.

@decadence cheers for the info, any idea why it was rejected? (A link to the PR would be awesome, I can't seem to find it by searching). But yeah, I'd be happy with the exception being thrown.
@tiagoacardoso What's up with the thumbs down?

#20470

#19126

any idea why it was rejected?
"because I don't feel it's super clear or known how this will affect wider APIs and methods"

Thanks for the links guys.


Tasksk cannot be submitted twice assertion on hover in playground

When I hover over the circle at the end of this context-specific playground entry for the git tool, the following assertion pops up.

This is pretty reproducible even on non context-specific playgrounds, for me.

Looks like this is a duplicate of #1456 - please close if that's the case.

v0.8.117 or later should contain the fix.


scrollViewWillEndDragging

Hi
I want to  use from scrollViewWillEndDragging in bottom view but it dose not work.
how can i use it?

Hi @J-Arji,
I don't know your use case but i think overlay scroll view delegates may be what you want. If so implement  scrollViewWillEndDragging in "ContainerViewController.swift" in library and delegate to the your view controller. You can add a method to TPProgressDelegate for example.
If you are interested in scroll view inside bottom vc, then i guess it will not work properly because contentOffset is adjusted in the library. Not sure about this. If you still have problems you can share you use case with more details or share a demo project to replicate it.

Hi @J-Arji,
I don't know your use case but i think overlay scroll view delegates may be what you want. If so implement  scrollViewWillEndDragging in "ContainerViewController.swift" in library and delegate to the your view controller. You can add a method to TPProgressDelegate for example.
If you are interested in scroll view inside bottom vc, then i guess it will not work properly because contentOffset is adjusted in the library. Not sure about this. If you still have problems you can share you use case with more details or share a demo project to replicate it.


riverpod_generator : warnings in 2.4.3 - No way to use 2.6.0

Describe the bug
There is a warning when using riverpod_generator 2.4.3 :
'FutureProviderRef' is deprecated and shouldn't be used. will be removed in 3.0.0. Use Ref instead.
Try replacing the use of the deprecated member with the replacement.

Maybe the warning won't be here anymore using the last version : 2.6.0.
The problem is I can't use the last version. When I run flutter pub outdated, it says that it can't be higher than 2.4.3
I use the last version of Flutter on , and I specify the last Dart version in my pubspec.
Note : We can use the version 2.6.0 if we use the master channel
-> And it removes the warning ✅

To Reproduce

Use the stable or dev channel
flutter upgrade
flutter create newriverpodapp
cd newriverpodapp/
flutter pub add --dev riverpod_generator
flutter pub upgrade --major-versions
Check version of riverpod_generator in pubspec.yaml : It is still 2.4.3

Expected behavior
We want to be able to use the version 2.6.0 on this new project.

You should be able to use a dependency_override on analyzer to fix it.
Supporting lower analyzer versions is a pain. I'd have to maintain two versions of Riverpod for months whenever analyzer releases some breaking changes (which is quite often).

You should be able to use a dependency_override on analyzer to fix it.
Supporting lower analyzer versions is a pain. I'd have to maintain two versions of Riverpod for months whenever analyzer releases some breaking changes (which is quite often).

You're not the only package we use.  This is a strange attitude to take when there is no need to be on the latest cutting-edge version of deps.

That's a bit paradoxical, considering the very reason you're complaining about this is because you're trying to be on the latest Riverpod cutting-edge 😛
Generally the problem is fairly easy to fix: Loosen your version constraint
dependencies:
  riverpod: ^2.0.0
  riverpod_annotation: ^2.0.0

dev_dependencies:
  riverpod_generator: ^2.0.0

Pub will pick the most relevant one itself.

That's a bit paradoxical, considering the very reason you're complaining about this is because you're trying to be on the latest Riverpod cutting-edge 😛
Generally the problem is fairly easy to fix: Loosen your version constraint
dependencies:
  riverpod: ^2.0.0
  riverpod_annotation: ^2.0.0

dev_dependencies:
  riverpod_generator: ^2.0.0

Pub will pick the most relevant one itself.

I prefer to be on the latest version, but I don't * require* it ;)

We are using Flutter on the stable channel. Would it be a better solution to have Riverpod's packages always be compatible with the latest stable version of Flutter? I know it's not always feasible and there are a lot of packages that aren't compatible, but Riverpod is such an important and amazing package. We all want to use the latest 😊.
I started a fresh project in Flutter and followed the install instructions for Riverpod and this is the flutter pub outdated's results:

flutter pub outdated (click me)

Package Name                  Current        Upgradable     Resolvable     Latest

direct dependencies: all up-to-date.

dev_dependencies:
custom_lint                   *0.6.8         *0.6.8         *0.6.8         0.6.10
riverpod_generator            *2.4.3         *2.4.3         *2.4.3         2.6.0
riverpod_lint                 *2.3.13        *2.3.13        *2.3.13        2.4.0

transitive dependencies:
characters                    *1.3.0         *1.3.0         *1.3.0         1.3.1
collection                    *1.18.0        *1.18.0        *1.18.0        1.19.1
material_color_utilities      *0.11.1        *0.11.1        *0.11.1        0.12.0
meta                          *1.15.0        *1.15.0        *1.15.0        1.16.0
path                          *1.9.0         *1.9.0         *1.9.0         1.9.1
stack_trace                   *1.11.1        *1.11.1        *1.11.1        1.12.0

transitive dev_dependencies:
_fe_analyzer_shared           *72.0.0        *72.0.0        *72.0.0        76.0.0
analyzer                      *6.7.0         *6.7.0         *6.7.0         6.11.0
async                         *2.11.0        *2.11.0        *2.11.0        2.12.0
custom_lint_builder           *0.6.8         *0.6.8         *0.6.8         0.6.10
custom_lint_core              *0.6.5         *0.6.5         *0.6.5         0.6.10
fake_async                    *1.3.1         *1.3.1         *1.3.1         1.3.2
http_parser                   *4.0.2         *4.0.2         *4.0.2         4.1.1
leak_tracker                  *10.0.5        *10.0.5        *10.0.5        10.0.7
leak_tracker_flutter_testing  *3.0.5         *3.0.5         *3.0.5         3.0.8
lints                         *5.0.0         *5.0.0         *5.0.0         5.1.0
macros                        *0.1.2-main.4  *0.1.2-main.4  *0.1.2-main.4  0.1.3-main.0
matcher                       *0.12.16+1     *0.12.16+1     *0.12.16+1     0.12.17
riverpod_analyzer_utils       *0.5.4         *0.5.4         *0.5.4         0.5.5
shelf                         *1.4.1         *1.4.1         *1.4.1         1.4.2
string_scanner                *1.2.0         *1.2.0         *1.2.0         1.4.0
test_api                      *0.7.2         *0.7.2         *0.7.2         0.7.3
vm_service                    *14.2.5        *14.2.5        *14.2.5        14.3.0
You are already using the newest resolvable versions listed in the 'Resolvable' column.
Newer versions, listed in 'Latest', may not be mutually compatible.

The issue is that riverpod resolves to 2.6.0 while riverpod_generator resolves to 2.5.* .

I am not getting same warning messages as @icodeyou when using generator 2.4.3. I am on stable channel and after update today to 2.6.0  I had warnings of deprecated in defining provider reference and that we need to use the new Ref which I did.
Before dependency updates my providers looked like:
@riverpod
BioChargerAPI biochargerApiClient(BiochargerApiClientRef ref) {...}

Code was then updated to:
@riverpod
BioChargerAPI biochargerApiClient(Ref ref) {...}

Warning I was getting before after change is still  the same:
'AutoDisposeProviderRef' is deprecated and shouldn't be used. will be removed in 3.0.0. Use Ref instead.
Try replacing the use of the deprecated member with the replacement.
Offending line shown below.
typedef BiochargerApiClientRef = AutoDisposeProviderRef<BioChargerAPI>;

I am assuming this is due to riverpod_generator still being version 2.4.3.
Because riverpod_generator >=2.6.0 <3.0.0-dev.2 depends on riverpod_analyzer_utils 0.5.5 which depends on analyzer ^6.9.0, riverpod_generator >=2.6.0 <3.0.0-dev.2 requires analyzer ^6.9.0.
And because analyzer >=6.8.0 depends on collection ^1.19.0 and every version of flutter_test from sdk depends on collection 1.18.0, riverpod_generator >=2.6.0 <3.0.0-dev.2 is incompatible with flutter_test from sdk.
So, because flutter_ng_flex depends on both flutter_test from sdk and riverpod_generator ^2.6.0, version solving failed.

Again I am seeing issues with collections module on flutter sdk being pinned to 1.18.0 I don't see a way out.
It's very possible that I am missing some salient point.

collection is pinned to version 1.18.0 by flutter_test from the flutter SDK.
See SDK version pinning for details.
Because riverpod_lint >=2.3.14 <3.0.0-dev.0 depends on analyzer ^6.9.0 which depends on collection ^1.19.0, riverpod_lint >=2.3.14 <3.0.0-dev.0 requires collection ^1.19.0.
And because every version of flutter_test from sdk depends on collection 1.18.0, riverpod_lint >=2.3.14 <3.0.0-dev.0 is incompatible with flutter_test from sdk.
version solving failed.

I'll look into loosening the analyzer version for riverpod_generator.
But riverpod_lint probably won't be able to upgrade.

When trying to do a dependency_override for analyzer, I get:
Resolving dependencies...
Because analyzer >=6.9.0 depends on macros >=0.1.3-main.0 <0.1.4 which depends on _macros 0.3.3 from sdk, analyzer >=6.9.0 requires _macros 0.3.3 from sdk.
So, because no versions of _macros from sdk match 0.3.3 and stylesnap depends on analyzer ^6.11.0, version solving failed.

Maybe I shouldn't, because the build error is related to the fact that I override the analyzer.
Here is the log :
Resolving dependencies in `/Users/mb/Documents/projects/Flutter/MY_PROJECTS/ALCHEMY/hello_riverpod/MASTERBRANCH`...
Downloading packages...
Got dependencies in `/Users/mb/Documents/projects/Flutter/MY_PROJECTS/ALCHEMY/hello_riverpod/MASTERBRANCH`.
Building package executable... (2.3s)
Built build_runner:build_runner.
[INFO] Generating build script completed, took 157ms
[WARNING] ../../../../../../../.pub-cache/hosted/pub.dev/custom_lint_core-0.6.10/lib/src/node_lint_visitor.g.dart:818:30: Error: Type 'NullAwareElement' not found.
  void visitNullAwareElement(NullAwareElement node) {
                             ^^^^^^^^^^^^^^^^
../../../../../../../.pub-cache/hosted/pub.dev/custom_lint_core-0.6.10/lib/src/node_lint_visitor.g.dart:2160:28: Error: Type 'NullAwareElement' not found.
  final List<_Subscription<NullAwareElement>> _forNullAwareElement = [];
                           ^^^^^^^^^^^^^^^^
../../../../../../../.pub-cache/hosted/pub.dev/custom_lint_core-0.6.10/lib/src/node_lint_visitor.g.dart:2162:33: Error: Type 'NullAwareElement' not found.
      String key, void Function(NullAwareElement node) listener) {
                                ^^^^^^^^^^^^^^^^
../../../../../../../.pub-cache/hosted/pub.dev/custom_lint_core-0.6.10/lib/src/node_lint_visitor.g.dart:3365:42: Error: Type 'NullAwareElement' not found.
  void addNullAwareElement(void Function(NullAwareElement node) listener) {
                                         ^^^^^^^^^^^^^^^^
../../../../../../../.pub-cache/hosted/pub.dev/riverpod_analyzer_utils-0.5.5/lib/src/riverpod_ast/ref_invocation.dart:24:10: Error: The getter 'enclosingElement3' isn't defined for the class 'MethodElement'.
 - 'MethodElement' is from 'package:analyzer/dart/element/element.dart' ('../../../../../../../.pub-cache/hosted/pub.dev/analyzer-6.7.0/lib/dart/element/element.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'enclosingElement3'.
        .enclosingElement3;
         ^^^^^^^^^^^^^^^^^
../../../../../../../.pub-cache/hosted/pub.dev/riverpod_analyzer_utils-0.5.5/lib/src/riverpod_ast/widget_ref_invocation.dart:29:10: Error: The getter 'enclosingElement3' isn't defined for the class 'MethodElement'.
 - 'MethodElement' is from 'package:analyzer/dart/element/element.dart' ('../../../../../../../.pub-cache/hosted/pub.dev/analyzer-6.7.0/lib/dart/element/element.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'enclosingElement3'.
        .enclosingElement3;
         ^^^^^^^^^^^^^^^^^
../../../../../../../.pub-cache/hosted/pub.dev/custom_lint_core-0.6.10/lib/src/node_lint_visitor.g.dart:818:30: Error: 'NullAwareElement' isn't a type.
  void visitNullAwareElement(NullAwareElement node) {
                             ^^^^^^^^^^^^^^^^
../../../../../../../.pub-cache/hosted/pub.dev/custom_lint_core-0.6.10/lib/src/node_lint_visitor.g.dart:820:11: Error: Superclass has no method named 'visitNullAwareElement'.
    super.visitNullAwareElement(node);
          ^^^^^^^^^^^^^^^^^^^^^
../../../../../../../.pub-cache/hosted/pub.dev/custom_lint_core-0.6.10/lib/src/node_lint_visitor.g.dart:2160:28: Error: 'NullAwareElement' isn't a type.
  final List<_Subscription<NullAwareElement>> _forNullAwareElement = [];
                           ^^^^^^^^^^^^^^^^
../../../../../../../.pub-cache/hosted/pub.dev/custom_lint_core-0.6.10/lib/src/node_lint_visitor.g.dart:2162:33: Error: 'NullAwareElement' isn't a type.
      String key, void Function(NullAwareElement node) listener) {
                                ^^^^^^^^^^^^^^^^
../../../../../../../.pub-cache/hosted/pub.dev/custom_lint_core-0.6.10/lib/src/node_lint_visitor.g.dart:3365:42: Error: 'NullAwareElement' isn't a type.
  void addNullAwareElement(void Function(NullAwareElement node) listener) {
                                         ^^^^^^^^^^^^^^^^
[INFO] Precompiling build script... completed, took 2.3s
[SEVERE] Failed to precompile build script .dart_tool/build/entrypoint/build.dart.
This is likely caused by a misconfigured builder definition.

Note : I didn't have this warning before overriding the analyzer.
Note 2 : I still have the build error when I fix Riverpod version to 2.4.3 (without "^")

Even riverpod-2.6.0 itself does not compile on stable flutter
$ flutter --version
Flutter 3.24.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 2663184aa7 (6 weeks ago) • 2024-09-11 16:27:48 -0500
Engine • revision 36335019a8
Tools • Dart 3.5.3 • DevTools 2.37.3

$ git checkout tags/riverpod-v2.6.0

$ dart pub global run melos bs
melos bootstrap
  └> D:\temp\riverpod

Running "flutter pub get" in workspace packages...
Note: this may take a while in large workspaces such as this one.
  ✓ generate_providers
    └> tools/generate_providers
  - riverpod_graph
    └> packages/riverpod_graph
       └> Failed to install.

Resolving dependencies...
Because analyzer >=6.9.0 depends on macros >=0.1.3-main.0 <0.1.4 which depends on _macros 0.3.3 from sdk, analyzer >=6.9.0 requires _macros 0.3.3 from sdk.
So, because no versions of _macros from sdk match 0.3.3 and riverpod_graph depends on analyzer 6.9.0, version solving failed.
You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on analyzer: dart pub add analyzer:^6.8.0
BootstrapException: Failed to install.: riverpod_graph at d:\temp\riverpod\packages\riverpod_graph.

Only the limiting of riverpod version works in projects:
pubspec.yaml:
dependencies:
  riverpod: "<2.6.0"
  flutter_riverpod: "<2.6.0"
  hooks_riverpod: "<2.6.0"
dev_dependencies:
  riverpod_annotation: "<2.6.0"
  riverpod_generator: "<2.6.0"

_macros 0.3.3, is that part of the master channel? When I switch to beta, I still cannot upgrade to analyzer 6.9.0 due to this _macros package...

@icodeyou  6.7.0 isn't compatible with Riverpod since it uses 6.9.0 ;)
My suggestion is to do:
dependency_overrides:
  analyzer: ^6.9.0

@icodeyou 6.7.0 isn't compatible with Riverpod since it uses 6.9.0 ;)
My suggestion is to do:
dependency_overrides:
  analyzer: ^6.9.0

But does this really work with flutter stable? The reason being:
Because every version of flutter_test from sdk depends on collection 1.18.0 and analyzer >=6.8.0 depends on collection ^1.19.0, flutter_test from sdk is incompatible with analyzer >=6.8.0.

Guess I will have to wait for a flutter stable release supporting analyzer > 6.8.0 before updating to Riverpod 2.6.0?


Can provide an interface to show pictures using SDWebImage?

hi dkhamsing,I'm using your DKImageBrowser and using the SDWebImage module,can you provied an interface to show pictures using SDWebImage?
Thanks very much.

hi
not sure this is really in the scope of this project..
but you should give it a try by modify this DKImageBrowser.m:
#import <SDWebImage/UIImageView+WebCache.h>

//...

- (UICollectionViewCell *)collectionView:(UICollectionView *)cview cellForItemAtIndexPath:(NSIndexPath *)indexPath {
  if ((cview==_DKImageCollectionView) &&
        (indexPath.item>1)) {
        [_DKThumbnailCollectionView scrollToItemAtIndexPath:[NSIndexPath indexPathForItem:indexPath.item-1 inSection:0] atScrollPosition:UICollectionViewScrollPositionCenteredHorizontally animated:YES];
  }

  DKImageCell *cell = [cview dequeueReusableCellWithReuseIdentifier:DKBottomCellIdentifer forIndexPath:indexPath];

  //assuming you pass a list of URLs i.e. http://www.domain.com/path/to/image.jpg
  NSString *stringUrl = _DKImageDataSource[indexPath.row];

  //adapted from https://github.com/rs/SDWebImage example
  [cell.DKImageView setImageWithURL:[NSURL URLWithString:stringUrl]
                   placeholderImage:[UIImage<EMAIL_ADDRESS>

  return cell;
}

yes,I can change your source code,but if I do this ,i can't sync your code by cocoapad in the future.

true..


Error: std@put_env at end of each compile

I can't catch where this is coming from yet but each compile run the last line before exit is Error: std@put_env

There only seem to be 3 places in the Haxe compiler where an Error: +? message can be generated,
all in compiler.ml lines: 358, 360 & 597.
The std@put_env string appears in Neko - https://github.com/HaxeFoundation/haxe/blob/development/src/compiler/compiler.ml#L358

@PXshadow links above corrected.

This was an issue with nightly haxelib being incompatible with non-nightly neko, should have been fixed now.

This was an issue with nightly haxelib being incompatible with non-nightly neko, should have been fixed now.

Thanks for the info @tobil4sk !


Compile error with DNS cache disabled [BUG]

Pretty much what the title says:
To Reproduce
#define ipconfigUSE_DNS                   ipconfigENABLE
#define ipconfigUSE_DNS_CACHE             ipconfigDISABLE

I get an error: struct <anonymous>' has no member named 'ucName'

Hey @evpopov, I opened #1131 to fix this issue. I've messaged @tony-josi-aws about this as well.

My first quick-and-dirty fix would have been different than what you did in https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/pull/1131

Hey @evpopov, not an issue that you'd have a different fix for this than I did. In the future feel free to open a PR up with your proposed changes, the team can always discuss the benefits and downsides of an approach in the PR!

Just to let you know, I did apply your changes from https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/pull/1131 to my test machine where I have multiple DUTs that resolve each other by name and everything seems to be running fine.

I'm glad to know that the fix worked for you! Thanks for testing it on your local setup as well!

As a quick test, I completely removed those fields and all code associated with them (which is actually just the 3 lines you touched in https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/pull/1131 )

I believe that pxAddrInfo->xPrivateStorage.ucName holds the string name of the DNS lookup. @tony-josi-aws or @htibosch could probably validate this. Where removing these lines should still work, just potentially cause a DNS lookup to need to occur when connecting to the address.

Could you tell me what pxAddrInfo->ai_canonname and pxAddrInfo->xPrivateStorage.ucName are intended to be used for?

I believe during the DNS cache lookup, for example, in the FreeRTOS_ProcessDNSCache if a valid ppxAddressInfo is provided, it copies all the DNS entries (for example, if ipconfigDNS_CACHE_ADDRESSES_PER_ENTRY > 1) along with ai_canonname  as a linked struct addrinfo. Currently, FreeRTOS_dnslookup or FreeRTOS_dnslookup6 doesn't seem to use it.

Thanks for the explanation @tony-josi-aws