"Enhance README for Improved User Engagement"

Description :
This pull request enhances the README file to improve user engagement and overall presentation. The enhancements include  Shield Badges , table for Discord link and a ReadMe Typing SVG image: 'Welcome-to-Uber-like-app'. Also added instructions for 'How to Contribute'.
Issue Identification:#28
All Submissions:

[x] Have you followed the guidelines stated in [README.md](https://github.com/visheshrwl/Uber-like/tree
/main#how-to-contribute) file?
[x] Have you checked to ensure there aren't any other open Pull Requests for the desired changed?

Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

After these steps, you're ready to open a pull request.
a. Give a descriptive title to your PR.

b. Describe your changes.

c. Put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if such).

Hey @Anchal-C09 ! 👋
First off, I want to extend a huge thank you to all of you for your amazing contributions to this project! Your support and hard work mean a lot, and I truly appreciate everything you do. 🙏
I have a small favor to ask: if you think I’ve been helpful and supportive throughout your contributions, I would be honored if you could nominate me by filling out this form: Nominate me.
Your nomination would mean the world to me, and it’s a great way to help me continue supporting our awesome community. Thanks again for all the amazing work, and let's keep making great things happen! 🚀
Best,
Vishesh


hello-world: simplify to unconditional "Hello, World!"

The introductory exercise should require as little Rust knowledge as
necessary. We'd like to introduce cargo test here since it will be
used for all exercises, but introducing Option is too much.
https://github.com/exercism/x-common/issues/520

I wouldn't recommend merging this until the corresponding change is made in x-common.
Let's get it ready to go before then.

I'm in favour of simplification but looking at this got me thinking. Strings in rust are not simple, while the classic tutorial work with a simple println!("Hello, world!"); here we have to call .to_string() or .into() or String::from() to satisfy the test.
If the purpose of this exercise is just to test that everything works then I'm starting to lean in the direction to use a primitive type here, a bool could work with something like this:
pub fn everything_works() -> bool {
    true
}

At this point however we have no connection to the common description. So another approach could be accepting a static string slice in the test. No conversion to String required but the type signature could be confusing or hard to guess if we don't provide a stub.
pub fn hello() -> &'static str {
    "Hello, World!"
}

Thoughts?

Hmm, good point. I would say there are various measures we can take to lighten the load. We might combine some of these measures:

static str, so we don't have to do to_string
provide a stub
provide a failing implementation that says "Goodbye, world" - then the student only has to change the Goodbye to Hello, should give the idea.

Let's take all three. Note that using &'static str did not require any change to the test.

OK, take a look at that comment. Feel free to suggest changes to the wording.

Looks good to me, but keep in mind that I am not a native English speaker :)

Also removed Some/None from the config.json for hello-world.


Release of Full Upper-Limb Model

Dear Myosuite team,
During the workshop at ICRA, Vikash had mentioned that the full upper-limb model will be released soon. Has that already been released? If not, when could we expect it to be released?
Thank you,
Regards,
Rejin

Hi @rejinjohnvarghese,
the full arm model is planned for release in July. Stay tuned.


Gcode thumbnail process keeps crashing

Microsoft PowerToys version
0.66.0
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
File Explorer: Preview Pane
Steps to reproduce
Install PowerToys 0.66.0 or 0.67.0
Enable Gcode file preview
Check event viewer

✔ Expected Behavior
Not this many errors in event viewer
❌ Actual Behavior
Lots of unhandled exception errors
Other Software
No response
Update
Issue seems to have been caused by pull request #22217

After reinstalling, I still experience this issue even on 0.67.0

I still get this issue after diasabling gcode thumbnail preview

I can confirm this issue, and I believe I know WHY this is happening...
As pointed out by @HTMLdu, the changes made by @stefansjfw on #22217 caused this problem, and the reason is that the provider can return null, like here:
https://github.com/microsoft/PowerToys/blob/c180150d5413c58f8ab7a4eed551dd0ab71ec52e/src/modules/previewpane/GcodeThumbnailProvider/GcodeThumbnailProvider.cs#L41-L46
Yet the caller will always try and save a thumbnail (which can be null), like here:
https://github.com/microsoft/PowerToys/blob/c180150d5413c58f8ab7a4eed551dd0ab71ec52e/src/modules/previewpane/GcodeThumbnailProvider/Program.cs#L28-L30
I'm not sure of the reason for that code change, however it seems all thumbnail provider suffer from this issue!

This is being fixed as we speak. Thanks for reporting the issue

@pedrolamas Can you pass me some .gcode file that was causing a crash for you ? Thanks in advance

@crutkas I just tested 0.67.1 and I don't see any more crashes on the Event Log, so to me this issue is now fixed! Thank you and @stefansjfw for the quick fix!! 🙂

@crutkas I just tested 0.67.1 and I don't see any more crashes on the Event Log, so to me this issue is now fixed! Thank you and @stefansjfw for the quick fix!! 🙂

Thank you once again for all the help :)

This issue has been fixed in the 0.67.1 release. Please update PowerToys to get it. Thank you!


chore: expose few FastInvoker implementations

Codecov Report

Merging #35 (f540923) into main (df1eff3) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
+ Coverage   87.55%   87.62%   +0.06%
==========================================
  Files          17       17
  Lines        1061     1067       +6
==========================================
+ Hits          929      935       +6
  Misses         91       91
  Partials       41       41


Mobile app uses a different icon for "All messages" than the desktop app

In the mobile app, the icon for "All messages" is a globe, whereas it is a list in the desktop app. This makes the mobile app a little confusing at first for users familiar with the desktop app. It would be helpful if the mobile app also used the list icon.

Thanks! I expect this to be fixed in the new Flutter mobile app.


[docs] Reword palette intention and fix format

[x] I have followed (at least) the PR section of the contributing guide.

@oliviertassinari Thanks for the suggestions, they all make sense. Pushed new changes :)

@DDDDDanica Great :)

@oliviertassinari

I have used the TypeScript definition as a baseline
export interface PaletteColor {
  light: string;
  main: string;
  dark: string;
  contrastText: string;
}

I'm missing the context of this comment, but that definition looks incorrect. main is required, but everything else should be optional.

@mbrookes Regarding the palette color, there are two types, one for the theme argument, and one for the final theme object. I have shared the type of the latter.

@DDDDDanica Thanks!

Anyone have a view as to whether this change should have been reverted as suggested?
https://github.com/mui-org/material-ui/pull/21477#discussion_r441804150

@mbrookes Sorry, I'm going to start ignoring the label. It's not helping anyone.


Access from Android app

Hi there,
I'm developing an application for chrome os which works with pc/sc card reader. Is there any way to call pc/sc apis from an android app?

Hello, currently there's no such possibility. Could you please explain your use case in a more detail, so that we would better understand the goal and priorities? Thanks.

Hi @emaxx-google
We're developing an Android application for chromebook which needs to read smart cards tag id.
What solution do you recommend?
Unfortunately, chrome os doesn't support USB Host, so we can't connect to card reader directly from Android app.

Hi @emaxx-google We're developing an Android application for chromebook which needs to read smart cards tag id. What solution do you recommend? Unfortunately, chrome os doesn't support USB Host, so we can't connect to card reader directly from Android app.

@alizarei95 Yes, sadly I don't think there's a good option for Android applications at the moment.
Current alternatives are writing a Chrome Extension instead. There are also ongoing efforts to expose access to Isolated Web Apps.

@emaxx-google
Is it possible to connect to connector app directly from extension? Or a middleware app is needed?

If you need PC/SC, then direct communication is possible and is exactly what you need - see https://github.com/GoogleChromeLabs/chromeos_smart_card_connector/blob/main/docs/index-third-party-application-developer.md and https://github.com/GoogleChromeLabs/chromeos_smart_card_connector/blob/main/docs/connector-app-api.md.
To suppress warnings in the Connector's UI, you'll want to allowlist your extension ID in our config with "known" clients: https://github.com/GoogleChromeLabs/chromeos_smart_card_connector/blob/main/third_party/pcsc-lite/naclport/server_clients_management/src/known_client_apps.json
P.S. As for the role of the middleware, it's mostly for letting the OS do high-level operations like "authenticate in TLS using the smart card" (https://developer.chrome.com/docs/extensions/reference/certificateProvider/ is used for the OS to talk to the middleware). Right now we don't let other extensions use the middleware's capabilities.

I checked sample projects in this repo, but all of them using manifest v2, is there any sample based on mv3?
I'm new in chrome extensions and I don't have any idea how to import connector js library in service worker.
@emaxx-google

@alizarei95 You're right, we lack the examples at the moment. I've filed #1051 to track this.
In a nutshell, you need to use google-smart-card-client-library-es-module.js (distributed on Github with every release). You can load it as an ES module, and then use like other examples to call the API methods:
import {GoogleSmartCard} from './google-smart-card-client-library-es-module.js';

Closing this as there's no current plan to provide PC/SC to Android apps on ChromeOS.
In case of further questions regarding the Extension development, please file separate issues.


Added support for Right To Left languages

Now we are able to use Segmentio framework for RTL languages also.

hey @christianvershkov,
sorry for such a delay. and thanks for the support!


fix: change reference from open-next to @opennextjs/aws

change reference from open-next to @opennextjs/aws in every
package.json in the example repos. let me know if anything else needs to change.

The build failed on example/ after updating the pnpm version to 9. For some reason it was not creating its own node_modules folder. Might be a bug with pnpm itself, as I was not able to build the example/ locally either. Trying to revert the pnpm version now

If there are different package versions across multiple apps, pnpm may get confused and cause problems.

There's also: https://github.com/opennextjs/opennextjs-aws/blob/main/examples/app-router/package.json#L17C5-L17C32

If there are different package versions across multiple apps, pnpm may get confused and cause problems.

Yeah but it should fail everywhere, not just on the example package. And keeping it on the old lockfile seems to do the trick

There's also: https://github.com/opennextjs/opennextjs-aws/blob/main/examples/app-router/package.json#L17C5-L17C32 Sorry, wrong link. Why doesn't pages-router have the open-next dependency?

I'm not even sure why there is a dep on open-next. It seems that it's not even used

Yea, I'm not sure why it's a dep either. A mistake a long time ago? The examples/ app builds open next internally via node ../../packages/open-next/dist/index.js build

We can keep it for now, this would allow us to type the config file properly and maybe later add some custom adapter.
That would be great to add this in the e2e test as well

Btw i think we should probably add a line here https://github.com/opennextjs/opennextjs-aws/blob/dd9c10b2569367c4a0ebb03ee6ae42b354ea4f6a/packages/open-next/package.json#L8
I think right now it won't work with npx, we'll need to add "@opennextjs/aws": "./dist/index.js"
We should keep the open-next one for compatibility for people who install open-next locally

> node ../../packages/open-next/dist/index.js build --streaming --build-command "npx turbo build"

node:internal/modules/cjs/loader:1080
  throw err;
  ^

Error: Cannot find module '/home/runner/work/opennextjs-aws/opennextjs-aws/packages/open-next/dist/index.js'

Hmm this is strange, did the folder structure change at all when this was migrated to the new org?

@khuezy Found it it's the --filter just before in the github actions

Great catch! Easy to miss that step,


Security vulnerability: missing SSL hostname validation

GitHub Security Lab (GHSL) Vulnerability Report: GHSL-2020-095
The GitHub Security Lab team has identified potential security vulnerabilities in em-imap.
We are committed to working with you to help resolve these issues. In this report you will find everything you need to effectively coordinate a resolution of these issues with the GHSL team.
If at any point you have concerns or questions about this process, please do not hesitate to reach out to us at<EMAIL_ADDRESS>(please include your GHSL-2020-095).
If you are NOT the correct point of contact for this report, please let us know!
Summary
Missing hostname validation allows an attacker to perform a man in the middle attack against users of the library.
Product
em-imap
Tested Version
v0.5
Missing SSL/TLS certificate hostname validation
em-imap uses the library eventmachine in an insecure way that allows an attacker to perform a man in the middle attack against users of the library.
Impact
An attacker can assume the identity of a trusted server and introduce malicious data in an otherwise trusted place.
Remediation
Implement hostname validation.
Resources
To trigger the vulnerability, a simple TLS enabled listening daemon is sufficient as described in the following snippets.
# Add a fake DNS entry to /etc/hosts.
$ echo "<IP_ADDRESS> test.imap.gmail.com" | sudo tee -a /etc/hosts

# Create a certificate.
$ openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365 -nodes

# Listen on port 993 with TLS enabled.
$ openssl s_server -key key.pem -cert cert.pem -accept 993
Using auto DH parameters
Using default temp ECDH parameters
ACCEPT
-----BEGIN SSL SESSION PARAMETERS-----
MFUCAQECAgMDBALAMAQABDB6rCbPKv6fm6PV8kaehPOpnJS6alzqvMImVDzjsSHm
ll1shwxJqlreT6XL5va01tahBgIEXsJTeqIEAgIcIKQGBAQBAAAA
-----END SSL SESSION PARAMETERS-----
Shared ciphers:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA256:DHE-RSA-CAMELLIA256-SHA256:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES256-SHA:DHE-RSA-CAMELLIA256-SHA:AES256-GCM-SHA384:AES256-SHA256:CAMELLIA256-SHA256:AES256-SHA:CAMELLIA256-SHA:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-CAMELLIA128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES128-SHA:DHE-RSA-CAMELLIA128-SHA:AES128-GCM-SHA256:AES128-SHA256:CAMELLIA128-SHA256:AES128-SHA:CAMELLIA128-SHA
CIPHER is ECDHE-RSA-AES256-GCM-SHA384
Secure Renegotiation IS supported

Create a sample client with the following contents:
require 'rubygems'
require 'em-imap'

EM::run do
  client = EM::IMAP.new('test.imap.gmail.com', 993, true)
  client.connect.errback do |error|
    puts "Connecting failed: #{error}"
  end.callback do |hello_response|
    puts "Connecting succeeded!"
    puts hello_response
  end.bothback do
    EM::stop
  end
end

Run the example client to see a connection being performed in the listening daemon initialized in the previous steps.
# Run the example client.
$ ruby em-imap-client.rb

References
CWE-297: Improper Validation of Certificate with Host Mismatch
GitHub Security Advisories
We recommend you create a private GitHub Security Advisory for these findings. This also allows you to invite the GHSL team to collaborate and further discuss these findings in private before they are published.
Credit
This issue was discovered and reported by GHSL team member @agustingianni (Agustin Gianni).
Contact
You can contact the GHSL team at<EMAIL_ADDRESS>please include the GHSL-2020-095 in any communication regarding this issue.
Disclosure Policy
This report is subject to our coordinated disclosure policy.

CVE-2020-13163

Hello @ConradIrwin we have been working with the folks from em-http-request and I think we have reached a good patch for this issue that may be usable in your library. If you decide to implement it, I would love to help you with the testing.
You can find more information in the thread at https://github.com/igrigorik/em-http-request/issues/339
Thanks.

Thanks! That's great news. I'm going to check back in ~2 weeks and see whether there's a solution that has been upstreamed to eventmachine itself (as I don't think em-imap has any users, I'd rather wait and fix this properly than go through a few rounds of patches)
Sent via Superhuman<EMAIL_ADDRESS>)
On Wed, May 27, 2020 at 1:50 AM, Agustin Gianni <<EMAIL_ADDRESS>> wrote:

Hello @ ConradIrwin ( https://github.com/ConradIrwin ) we have been working
with the folks from em-http-request and I think we have reached a good
patch for this issue that may be usable in your library. If you decide to
implement it, I would love to help you with the testing.
You can find more information in the thread at igrigorik/ em-http-request#339
( https://github.com/igrigorik/em-http-request/issues/339 )
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (
https://github.com/ConradIrwin/em-imap/issues/25#issuecomment-634522065 ) ,
or unsubscribe (
https://github.com/notifications/unsubscribe-auth/AAAXAQB3MLJFR4GRB33ZW7LRTTH47ANCNFSM4NEOHWZA
).

@agustingianni Implemeted a fix based on the information you provided
Thank you

🛠 A fix has been provided for this issue. Please reference: https://github.com/418sec/em-imap/pull/1
🔥 This fix has been provided through the https://huntr.dev/ bug bounty platform.

Bug Bounty
We have opened up a bounty for this issue on our bug bounty platform. Want to solve this vulnerability? Go to https://huntr.dev/
We will submit a pull request directly to your repository with the fix as soon as possible. Want to learn more? Go to https://github.com/418sec/huntr 📚
Automatically generated by @huntr-helper...


[Bug]: M1 run firefox test error...

Bug description
I'm try to ..
import puppeteer, { Product, LaunchOptions, Browser, Page } from 'puppeteer-core';
const launch  = async function(url: string ,options) {
  let brower: Browser
  let page: Page
  const _opts = {
    // args: ['--no-sandbox', '--disable-setuid-sandbox'],
    // executablePath: process.env.PUPPETEER_EXECUTABLE_PATH,
    args: ['-wait-for-browser'],
    executablePath: '/Applications/Firefox.app/Contents/MacOS/firefox',
    product: "firefox" as Product,

    ...options,
  }
  brower = await puppeteer.launch(_opts)
  page = await brower.newPage()
  page.goto(url)
  return {
    brower,
    page,
    close: () => {
      brower.close()
    }
  }
}

export default launch

It run the fixfox but error
ProtocolError: Protocol error (Runtime.callFunctionOn): Cannot find context with specified id callFunctionOn@chrome://remote/content/cdp/domains/content/Runtime.jsm:218:15
    execute@chrome://remote/content/cdp/domains/DomainCache.jsm:101:25
    receiveMessage@chrome://remote/content/cdp/sessions/ContentProcessSession.jsm:84:45

test('show page', async() => {
> 18 |     const text  = await ctx.page.$eval('h3', node => node.outerHTML)
Puppeteer version
14.1.1
Node.js version
v14.18.2
npm version
8.8.0
What operating system are you seeing the problem on?
macOS
Relevant log output
$ jest
 FAIL  __tests__/firefox.ts
  ● Test suite failed to run

    Your test suite must contain at least one test.

      at onResult (../../../node_modules/@jest/core/build/TestScheduler.js:175:18)
      at ../../../node_modules/@jest/core/build/TestScheduler.js:304:17
      at ../../../node_modules/emittery/index.js:260:13
          at Array.map (<anonymous>)
      at Emittery.Typed.emit (../../../node_modules/emittery/index.js:258:23)

 FAIL  __tests__/components.spec.ts (5.873 s)
  ● new page › show page

    ProtocolError: Protocol error (Runtime.callFunctionOn): Cannot find context with specified id callFunctionOn@chrome://remote/content/cdp/domains/content/Runtime.jsm:218:15
    execute@chrome://remote/content/cdp/domains/DomainCache.jsm:101:25
    receiveMessage@chrome://remote/content/cdp/sessions/ContentProcessSession.jsm:84:45

      16 |   })
      17 |   test('show page', async() => {
    > 18 |     const text  = await ctx.page.$eval('h3', node => node.outerHTML)
         |                   ^
      19 |     // console.log(text);
      20 |     expect(text).toEqual('Components')
      21 |     // await ctx.page.reload({

      at node_modules/puppeteer-core/src/common/Connection.ts:304:16
      at CDPSession.send (node_modules/puppeteer-core/src/common/Connection.ts:300:12)
      at ExecutionContext._evaluateInternal (node_modules/puppeteer-core/src/common/ExecutionContext.ts:254:44)
      at ExecutionContext.evaluateHandle (node_modules/puppeteer-core/src/common/ExecutionContext.ts:193:17)
      at ElementHandle.evaluateHandle (node_modules/puppeteer-core/src/common/JSHandle.ts:194:42)
      at Object.internalHandler.queryOne (node_modules/puppeteer-core/src/common/QueryHandler.ts:68:38)
      at ElementHandle.$ (node_modules/puppeteer-core/src/common/JSHandle.ts:1072:25)
      at ElementHandle.$eval (node_modules/puppeteer-core/src/common/JSHandle.ts:1110:38)
      at DOMWorld.$eval (node_modules/puppeteer-core/src/common/DOMWorld.ts:212:21)
      at Object.<anonymous> (__tests__/components.spec.ts:18:19)

Test Suites: 2 failed, 2 total
Tests:       1 failed, 1 total
Snapshots:   0 total
Time:        6.511 s, estimated 8 s
Ran all test suites.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

@Kujo-Jotaro-AAAAA you should await the call to page.goto. Does that fix the issue for you?

no..   page.goto has been timeout
TimeoutError: Navigation timeout of 30000 ms exceeded

      56 |                 case 2:
      57 |                     page = _a.sent();
    > 58 |                     return [4, page.goto('http://localhost:1234', {
         |                                     ^
      59 |                             waitUntil: 'networkidle0'
      60 |                         })];

I'm use PUPPETEER_PRODUCT=firefox npm i puppeteer
puppeteer v14.1.1
expect(await ctx.page.title()).toEqual("my-title")

It reported a mistake
ProtocolError: Protocol error (Runtime.callFunctionOn): Cannot find context with specified id callFunctionOn@chrome://remote/content/cdp/domains/content/Runtime.jsm:218:15

It's my config
 const browser = await puppeteer.launch({
    args: ['-wait-for-browser'],
    executablePath: '/Applications/Firefox.app/Contents/MacOS/firefox',
    product: "firefox" as Product,
  })

TimeoutError: Navigation timeout of 30000 ms exceeded
  56 |                 case 2:
  57 |                     page = _a.sent();
> 58 |                     return [4, page.goto('http://localhost:1234', {
     |                                     ^
  59 |                             waitUntil: 'networkidle0'
  60 |                         })];

In your original message you didn't mention that you are using networkidle0. Note that this setting is not supported with Firefox. And as such it's expected to run into a timeout because this specific event will never be sent out by Firefox. See issue #5841 for details covering this scenario.

ProtocolError: Protocol error (Runtime.callFunctionOn): Cannot find context with specified id callFunctionOn@chrome://remote/content/cdp/domains/content/Runtime.jsm:218:15

What kind of URL are you loading here? Is it the one from localhost or another one that you may wanna share with us?
It would be great to get a trace log attached. Therefore please set the dumpio option to true when launching the browser, and also set the Firefox preference remote.log.level to Trace. Then run your test again and attach the log output to this issue. Thanks!

set the dumpio option to true when launching the browser, and also set the Firefox preference remote.log.level to Trace

I update my options
    const _opts = {
      args: ['-wait-for-browser'],
      product: "firefox" as Product,
      headless: false,
      slowMo: 250,
      dumpio: true,
    }

it can't worked...
  ProtocolError: Protocol error (Runtime.callFunctionOn): Target closed.

    > 22 |     const iframeHandle = await page.$('body')

I don't see that you have set the mentioned Firefox preference. The log output should then give way more lines. And I would need a bit more than just this single line. To reproduce a small testcase would be helpful as well.

im using flaresolverr and got this same error on my raspberry pi 4. works fine on my desktop pc (amd64)

@realivanjx which URL are you navigating to? Is it causing a COOP navigation? See https://github.com/puppeteer/puppeteer/issues/8385#issuecomment-1135470259 in how to generate a log file that could be used to further investigate the issue.
Also not sure what you are referencing with this same error. Is it Cannot find context with specified id?


Disable policy tree test if preconditions are not right

no-ec and no-bulk both break the test.

[ ] documentation is added or updated
[x] tests are added or updated

1.1.1 does not have no-bulk, and with no-ec all tests are passed.

Not mine :grin:

ping for second review. This needs to be merged ASAP.

Merged to all branches.


Proper division rings

This introduces division rings, and migrates quaternions to make them lawful.
(this is based on the topic/algebra-integration-3 branch which should be merged first!)

Current coverage is 47.90% (diff: 0.00%)

Merging #612 into topic/algebra-integration-3 will increase coverage by 0.10%

@@           topic/algebra-integration-3       #612   diff @@
=============================================================
  Files                              170        171     +1
  Lines                            11097      11105     +8
  Methods                           9564       9568     +4
  Messages                             0          0
  Branches                          1533       1537     +4
=============================================================
+ Hits                              5304       5320    +16
+ Misses                            5793       5785     -8
  Partials                             0          0

Powered by Codecov. Last update ec9983c...b582854

Closing this, a new version is coming.


Persist sorting in library

In the user library, similarly to how 'display columns' selections are saved, save which column is sorted when a user clicks it. Automatically load that sorting preference when library is visited.

@fishstik I've implemented this in d52db488a35a2f0eb6c4f18de340fa839511adf1, will deploy the change after CI passes. Thanks for the suggestion, sorry it took me a while! :)

awesome, nice work!


Cleanup & Update Project Page

Shorten titles.
Check for errors & readability on projects.

Under the Current tab:
FACT: just an idea
DoD: concluded, need to post results.
IronHacks merging Transparency
Business impact: concluded
GUAC_alytics, Windracers, conversational AI, UAV: not showing,
Energy: concluded, needs to display better. Publications aren't showing, should be found in Zotero. New name. The formatting needs correction. Reach out to Shatayu.

Current -> All -> Concluded

[ ] Create a project template for future projects.

New & Updated projects to be put on project page:

Conversational AI
UAVs/ Windracers
New IronHacks


Cannot use theme. Github pages build fails when the theme is added to _config.yml, as specified in readme..

Error:  Logging at level: debug Configuration file: /github/workspace/./_config.yml Theme<EMAIL_ADDRESS>github-pages 231 | Error: The<EMAIL_ADDRESS>theme could not be found.

Forgot to replace theme with remote_theme. Documentation is ok.


Spark cli user command

Supersedes #567,#568
With the User command is possible by cli to run these actions on users :
'create', 'activate', 'deactivate', 'changename', 'changeemail', 'delete', 'password', 'list', 'addgroup', 'removegroup'
Available options :
'-i' => 'User id'
'-u' => 'User name'
'-e' => 'User email'
'-n' => 'New username'
'-m' => 'New email'
'-g' => 'Group name'
1. create a new user
./spark shield:user create -u newuser -e<EMAIL_ADDRESS>2. activate a user
by username : ./spark shield:user activate -u username
or
by email : ./spark shield:user activate -e<EMAIL_ADDRESS>3. deactivate a user
by username : ./spark shield:user deactivate -u username
or
by email : ./spark shield:user deactivate -e<EMAIL_ADDRESS>4. change user name
by username : ./spark shield:user changename -u username -n newusername
or
by email : ./spark shield:user changename -e<EMAIL_ADDRESS>-n newusername
5. change user email
by username : ./spark shield:user changeemail -u username -m<EMAIL_ADDRESS>or
by email : ./spark shield:user changeemail -e<EMAIL_ADDRESS>-m<EMAIL_ADDRESS>6. delete a user
by user id : ./spark shield:user delete -i 123
or
by username : ./spark shield:user delete -u user
or
by email : ./spark shield:user delete -e<EMAIL_ADDRESS>7. change a user password
by username : ./spark shield:user password -u username
or
by email : ./spark shield:user password -e<EMAIL_ADDRESS>8. list users
List all users : ./spark shield:user list
or filter by username and/or email ./spark shield:user list -u user -e<EMAIL_ADDRESS>9. add a user to a group
by username : ./spark shield:user addgroup -u username -g mygroup
or
by email : ./spark shield:user addgroup -e<EMAIL_ADDRESS>-g mygroup
10. remove a user from a group
by username : ./spark shield:user removegroup -u username -g mygroup
or
by email : ./spark shield:user removegroup -e<EMAIL_ADDRESS>-g mygroup
All the options are optional and if the username or email are not passed on command line, a prompt will ask the user for the necessary information to complete the required task. The data inserted are validated and every operation asks for a confirmation too proceed.

@robertogerola Thanks, can you write the php unit test for this PR?
see :
https://github.com/codeigniter4/CodeIgniter4/tree/develop/tests#resources

@codeigniter4/core-team
Is it okay the option like -nu newusername.
Generally an option is made of - and a single letter (e.g., -n), or -- and word(s) (e.g. --namespace).

Personally, i would choose short options with single letters and -, or long options with word(s) and --. If I'm not mistaken, from posix?, -nu would mean the short option -n followed by the value u, OR a combination of short options -n and -u.

Hello, just made the changes : -n for new username and -m for new email.
Regarding the request to write the unit tests, I'd need some guidance, please.
The command actions heavily rely on user input and to test these I have to simulate via MockBuilder the user input, right ?
I think it would require some effort to write the tests and due to the user input interaction I think I have to modify the code in several points and make it more complex.
Where can I find some examples how to use MockBuilder to simulate to user cli input ? I found something in the setup unit test command, but it is not very clear to me how to use it, because I have many requests of users input.
Many thanks !

The command actions heavily rely on user input and to test these I have to simulate via MockBuilder the user input, right ?

You don't need to use MockBuilder. You could use the database during testing.
Is there any command that does not need user input?
CI 4.2 does not provide a way to write tests for methods that require user input, such as CLI::prompt(), CLI::wait(), and CLI::input().

Thanks for the command argument change, I think that is the correct way to handle it.

CI 4.2 does not provide a way to write tests for methods that require user input, such as CLI::prompt(), CLI::wait(), and CLI::input(). So it is difficult to write such tests.

I remember someone raised this issue, but I couldn't find PR/IS CI4 threads on GitHub.
Do you mean that we can advance this PR without testing?

CI 4.3 provide a way to write tests for methods that require user input.
It seems difficult to write test for this PR without CI 4.3.

Do you mean that we can advance this PR without testing?

It is not good to have no test at all, so if there are commands without user input,
it is not difficult to write tests for them.
We use mocking the test target because there is no other way.
https://github.com/codeigniter4/shield/blob/44bbf2c88128deae72dad5bc5becb4010d234bb4/tests/Commands/SetupTest.php#L44-L50
But I don't think it is good practice. Because mock is not a true product code.

CI 4.3 was released, so you can write tests for CLI input.
https://codeigniter4.github.io/CodeIgniter4/testing/overview.html#testing-cli-input
I think we can skip the tests for CI 4.2 and below.

CI 4.3 was released, so you can write tests for CLI input.
https://codeigniter4.github.io/CodeIgniter4/testing/overview.html#testing-cli-input

It was wrong. 4.3 is not enough to write tests for this command.
I rewrite the command to improve testability. See #833

Closed by #833


aws envConfig AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY not being recognized

Running terraformer inside docker on ec2, the environment variables are not being given priority order.  Whats happening is the  Amazon EC2 instance, IAM role for Amazon EC2 instance is being used instead.
I pass into docker run -e  AWS_SECRET_ACCESS_KEY=xxx -e AWS_ACCESS_KEY_ID=xxxx -e AWS_SESSION_TOKEN=xxxx at run time and assign terraformer as entrypoint in my dockerfile.  However when terraformer executes the EC2 instance IAM role credentials are being used and NOT the environment variables passed in.
According to AWS docs for go sdk the  default credential provider chain to find AWS credentials is:
1)Environment variables.
2) Shared credentials file.
3) If your application is running on an Amazon EC2 instance, IAM role for Amazon EC2. https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html
However this doesn't appear to be the case for me.

I see in code terraformer override env params
here https://github.com/GoogleCloudPlatform/terraformer/blob/master/providers/aws/aws_service.go#L38-L40
@meshuga Can you please write why we need this?

It's needed in a case when a user provides credentials with MFA requirement since TF itself is unable to handle this case. I think it's too naive solution and should be improved although can't see why it would affect the order of credential provider chain.
I'd need to recreate the scenario and debug it but for now I added a small adjustment - now shared config state is driven by env variable (https://github.com/GoogleCloudPlatform/terraformer/blob/master/providers/aws/aws_service.go#L34), that could cause misbehaviour described in the issue. More info: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/sessions.html#creating-sessions

In current versions, you need to pass --profile= to get it to work with the env vars.


Remove testing modules/structure

Move the testing stuff (Karma et al) out of the default setup.  They're an optional extra for now.
Creating a rehab-testing NPM module which we could optionally install would be an elegant solution for including them where needed.

I'm looking into this as we speak.


Fixes #1042:RPM repo still uses HTTP, not HTTPS

Description
Type of fix : Bug Fix
Reason : Fixes bug in documentation
Link to the issue this PR fixes : https://github.com/projectcalico/calico/issues/1042

the Test succeeds in the local environment but fails at semaphoreci. Below are logs from my machine.
Running ["LinkCheck", "ImageCheck", "HtmlCheck", "ScriptCheck"] on ["/_site"] on *.html...
Checking 1214 external links...
Ran on 952 files!
HTML-Proofer finished successfully.
docker run -ti -e JEKYLL_UID=`id -u` --rm -v $PWD/_site:/_site/ quay.io/calico/htmlproofer /_site --assume-extension --check-html --empty-alt-ignore --url-ignore "#"
Running ["LinkCheck", "ImageCheck", "HtmlCheck", "ScriptCheck"] on ["/_site"] on *.html...

Checking 1674 external links...
make: [htmlproofer] Error 137 (ignored)
# Rerun htmlproofer across _all_ files, but ignore failure, allowing us to notice legacy docs issues without failing CI
docker run -v $PWD:/calico --entrypoint /bin/sh -ti garethr/kubeval:0.1.1 -c 'find /calico/_site/master -name "*.yaml" |grep -v config.yaml | xargs /kubeval'
Unable to find image 'garethr/kubeval:0.1.1' locally
0.1.1: Pulling from garethr/kubeval
e110a4a17941: Pull complete
90e467a1ca31: Pull complete
514b4bc8c47d: Pull complete
Digest: sha256:0c8716cec21c30642815cdce5ec14cedee98d876d6e268b2ecdd5dc84cf45142
Status: Downloaded newer image for garethr/kubeval:0.1.1
The document /calico/_site/master/getting-started/kubernetes/installation/hosted/calico.yaml is a valid ConfigMap
The document /calico/_site/master/getting-started/kubernetes/installation/hosted/calicoctl.yaml is a valid Pod
The document /calico/_site/master/getting-started/kubernetes/installation/hosted/kubeadm/1.5/calico.yaml is a valid ConfigMap
The document /calico/_site/master/getting-started/kubernetes/installation/hosted/kubeadm/1.6/calico.yaml is a valid ConfigMap
The document /calico/_site/master/getting-started/kubernetes/installation/hosted/kubernetes-datastore/calico-networking/1.7/calico.yaml is a valid ConfigMap
The document /calico/_site/master/getting-started/kubernetes/installation/hosted/kubernetes-datastore/calicoctl.yaml is a valid Pod
The document /calico/_site/master/getting-started/kubernetes/installation/hosted/kubernetes-datastore/policy-only/1.7/calico.yaml is a valid ConfigMap
The document /calico/_site/master/getting-started/kubernetes/installation/hosted/rbac-kdd.yaml is a valid ClusterRole
The document /calico/_site/master/getting-started/kubernetes/installation/manifests/skydns.yaml is a valid Service
The document /calico/_site/master/getting-started/kubernetes/installation/policy-controller.yaml is a valid Deployment
The document /calico/_site/master/getting-started/kubernetes/installation/rbac.yaml is a valid ClusterRole
The document /calico/_site/master/getting-started/kubernetes/tutorials/stars-policy/manifests/00-namespace.yaml is a valid Namespace
The document /calico/_site/master/getting-started/kubernetes/tutorials/stars-policy/manifests/01-management-ui.yaml is a valid Namespace
The document /calico/_site/master/getting-started/kubernetes/tutorials/stars-policy/manifests/02-backend.yaml is a valid Service
The document /calico/_site/master/getting-started/kubernetes/tutorials/stars-policy/manifests/03-frontend.yaml is a valid Service
The document /calico/_site/master/getting-started/kubernetes/tutorials/stars-policy/manifests/04-client.yaml is a valid Namespace
The document /calico/_site/master/getting-started/kubernetes/tutorials/stars-policy/policies/allow-ui-client.yaml is a valid NetworkPolicy
The document /calico/_site/master/getting-started/kubernetes/tutorials/stars-policy/policies/allow-ui.yaml is a valid NetworkPolicy
The document /calico/_site/master/getting-started/kubernetes/tutorials/stars-policy/policies/backend-policy.yaml is a valid NetworkPolicy
The document /calico/_site/master/getting-started/kubernetes/tutorials/stars-policy/policies/default-deny.yaml is a valid NetworkPolicy
The document /calico/_site/master/getting-started/kubernetes/tutorials/stars-policy/policies/frontend-policy.yaml is a valid NetworkPolicy
Rahuls-MacBook-Pro:calico rakrup$

@rakrup Thank you very much for your contribution! We will review this carefully. Apologies for the issues with the Contributor's license agreement and the discrepancies between the local htmlproofer and the Semaphore job. We will update CONTRIBUTING_DOCS.md to clarify these areas. Thanks again and we will get back to you soon.

+1 for this change but it looks like the binaries server isn't responding over HTTPS right now, I'll get someone to look into that.

binaries.projectcalico.org is responding on HTTPS now, so I think that means that this PR could be merged - @fasaxc ?

Was trying to squash all the commits for the checkin together and resulted into a series of commits being added to this pull request. Is it normal ? any help regarding this ?

What command did you run, exactly?
Given how small the change was, the easiest way to fix is to cut a new branch from master and then reapply your changes manually.

I was trying a rebase. Will probably what you suggested

Opening a single clean commit based pull request for the issue. Closing this one.


Live Server doesn't serve file if dist and root contain same folder hierarchy

If the dist and project root include the same folder structure Live Server doesn't serve the included file(s), really strange.
node: v16.18.1
npm: 8.19.2

It seems it wasn't realted to Live Server, after I cleared the Chrome cache It works well!


imrpovements to gps tutorial

make it easier to install the packages
update the link to Sonoma Raceway

Thanks!


Fee Estimate Receipt Update - Waiver Amount

As an applicant
I want to know that my first 3 hours of search time have been waived
so that I know I am being charged appropriately

Assumptions & Scope
What are the assumptions for this story?
What is IN scope?
Updating text in the receipt to notify applicant that the first 3 hours of search was waived.
What is NOT in scope?
Acceptance Criteria
Scenario 1: Waived $ Figure, Locating and Retrieving - 3 hours or more

GIVEN an applicant has paid their fee estimate, or outstanding balance
AND the fee includes locating and retrieving figures greater than or equal to 3 hours
WHEN the receipt is generated
THEN the $ waived value for locating and retrieving will show a value of 90.00

Scenario 2: Waived $ Figure, Locating and Retrieving - Less than 3 hours

GIVEN an applicant has paid their fee estimate, or outstanding balance
AND the fee includes locating and retrieving figures less than  3 hours
WHEN the receipt is generated
THEN the $ waived value for locating and retrieving will show a value of 30.00 x the qty

Dependencies? What is the impact of this dependency? (If so, link dependency in the ticket, make it visible in a team´s backlog)
Validation Rules? (If yes, list here)
Design
@xxx - please link the Design here
Definition of Ready

[ ] Is there a well articulated User Story?
[ ] Is there Acceptance Criteria that covers all scenarios (happy/sad paths)?
[ ] If there is a user interface, is there a design?
[ ] Does the user story need user research/validation?
[ ] Does this User Story needs stakeholder approval?
[ ] Design / Solution accepted by Product Owner
[ ] Is this user story small enough to be completed in a Sprint? Should it be split?
[ ] Are the dependencies known/ understood? (technical, business, regulatory/policy)
[ ] Has the story been estimated?

Definition of Done

[ ] Passes developer unit tests
[ ] Passes peer code review
[ ] If there's a user interface, passes UX assurance
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Confirm Test cases built and succeeding
[ ] No regression test failures
[ ] Test coverage acceptable by Product Owner
[ ] Ticket ready to be merged to master or story branch
[ ] Developer to list Config changes/ Update documents and designs
[ ] Can be demoed in Sprint Review
[ ] Tagged as part of a Release
[ ] Feature flagged if required
[ ] Change Management activities done?

From refinement - this ticket will just cover the receipt portion for the auto-waived 3 hours of search. We will create a seperate ticket to display fee waiver amount, if the applicant is granted a partial fee waiver.

Tested and all values and quantities are calculated and displayed correctly on the receipt.


Fastlane get provisioning profile not working for enterprise using 2FA

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

Unable to fetch provisioning profile using 2FA auth for enterprise account (also multiple teams). Getting could not find app identifier which exists in apple developer portal. Required certificate is installed in the keychain as well.
Command executed

fastlane run get_provisioning_profile app_identifier:<app_identifier> output_path:<output_path> api_key_path:<key_path> team_id:<team_id> username:
Complete output when running fastlane, including the stack trace and command used

 [✔] 🚀
[17:38:31]: fastlane detected a Gemfile in the current directory
[17:38:31]: However, it seems like you didn't use `bundle exec`
[17:38:31]: To launch fastlane faster, please use
[17:38:31]:
[17:38:31]: $ bundle exec fastlane run get_provisioning_profile app_identifier: output_path: team_id: username:
[17:38:31]:
[17:38:31]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[17:38:34]: --------------------------------------
[17:38:34]: --- Step: get_provisioning_profile ---
[17:38:34]: --------------------------------------
+-------------------------------------+-----------------------------------------------+
|                              Summary for sigh 2.176.0                               |
+-------------------------------------+-----------------------------------------------+
| app_identifier                      | <app_identifier>            |
| api_key_path                        | <key_path> |
| team_id                             | <team_id>                                    |
| username                            | <email_id>                       |
| adhoc                               | false                                         |
| developer_id                        | false                                         |
| development                         | false                                         |
| skip_install                        | false                                         |
| force                               | false                                         |
| ignore_profiles_with_different_name | false                                         |
| skip_fetch_profiles                 | false                                         |
| skip_certificate_verification       | false                                         |
| platform                            | ios                                           |
| readonly                            | false                                         |
| fail_on_name_taken                  | false                                         |
+-------------------------------------+-----------------------------------------------+
[17:38:34]: Creating authorization token for App Store Connect API
[17:38:34]: Fetching profiles...
[17:38:37]: Verifying certificates...
[17:38:37]: No existing profiles found, that match the certificates you have installed locally! Creating a new provisioning profile for you
[17:38:37]:
[17:38:37]: ==========================================
[17:38:37]: Could not find App ID with bundle identifier '<app_identifier>'
[17:38:37]: You can easily generate a new App ID on the Developer Portal using 'produce':
[17:38:37]:
[17:38:37]: fastlane produce -u <email_id> -a <app_identifier> --skip_itc
[17:38:37]:
[17:38:37]: You will be asked for any missing information, like the full name of your app
[17:38:37]: If the app should also be created on App Store Connect, remove the --skip_itc from the command above
[17:38:37]: ==========================================
[17:38:37]:
[!] Could not find App with App Identifier '<app_identifier>'

Environment

 🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.15.7

Ruby
2.5.8

Bundler?
false

Git
git version 2.24.3 (Apple Git-128)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.15.7 (19H524)

Ruby Lib Dir
<EMAIL_ADDRESS>

OpenSSL Version
OpenSSL 1.1.1f  31 Mar 2020

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
12.4

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8export
🚫

fastlane files:
`./Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

import('utils/globals')
import('utils/lanehelper')

xcode_select XCODE_PATH
UI.message "Shutting down all simulators"
`xcrun simctl shutdown all &> /dev/null`

default_platform(:ios)
platform :ios do
    # Runs before any actions - used to setup the environment
    desc "Common setup for all lanes"
    before_all do |lane, options|
        # Built-in function detecting if fastlane is running on a CI environment
        if is_ci
            setup_jenkins
            `killall -9 com.apple.CoreSimulator.CoreSimulatorService`
        end
    end # sets up defaults before all lanes run

    lane :lint do
       do_lint
    end

    desc "Lane tests"
    lane :tests do
        execute_tests
    end # executes tests

    desc "Lane uitests"
    lane :uitests do
        execute_ui_tests
    end # executes ui tests

    desc "Lane for coverage"
    lane :coverage do |options|
        execute_coverage(options)
    end # executes coverage

    desc "Lane for building application"
    # This lane works if import_certs is called beforehand
    lane :build do |options|
        build_signed_app(release:options[:enterprise])
    end # executes builds the signed app

    desc "Lane for building test application"
    # This lane works if import_certs is called beforehand
    lane :build_for_testing do |options|
        build_signed_app_for_testing(enterprise:options[:enterprise])
    end # executes builds the signed app

    desc "Bumps build number"
    lane :bump_build do
        increment_build_number(xcodeproj: PROJECT)
    end #

    desc "Changes version number"
    lane :change_version_number do |required|
        increment_version_number(version_number: required[:new_version], xcodeproj: PROJECT)
    end #

    desc "Clean commit and push"
    lane :clean_commit_push do |options|
        clean_build_artifacts
        commit_version_bump(message: "[skip ci] Committed build number bump", xcodeproj: PROJECT)
        push_to_git_remote(
            remote_branch: options[:remote_branch],
            local_branch: options[:local_branch],
            no_verify: true
        )
    end #

    desc "build signed app for Appetize"
    lane :build_for_appetize do |options|
        build_signed_app_for_appetize(appName: options[:appName])
    end #
end # ios lane selections

No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.176.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.2.0

slack-notifier
2.3.2

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.7.0

terminal-table
1.8.0

plist
3.5.0

CFPropertyList
3.0.2

addressable
2.7.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-cursor
0.7.1

tty-spinner
0.9.3

artifactory
3.0.15

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

faraday_middleware
1.0.0

gh_inspector
1.1.3

mini_magick
4.10.1

naturally
2.2.0

rubyzip
2.3.0

security
0.1.3

xcpretty-travis-formatter
1.0.0

bundler
2.1.4

simctl
1.6.8

uber
0.1.0

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mini_mime
1.0.2

signet
0.14.0

httpclient
2.8.3

google-api-client
0.38.0

nanaimo
0.3.0

colored2
3.1.2

claide
1.0.3

atomos
0.1.3

xcodeproj
1.19.0

public_suffix
4.0.6

tty-screen
0.8.1

babosa
1.0.4

excon
0.78.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.3

ruby2_keywords
0.0.2

faraday
1.1.0

faraday-cookie_jar
0.0.7

fastimage
2.2.0

json
2.3.1

dotenv
2.7.6

jwt
2.2.2

declarative
0.0.20

multi_json
1.15.0

os
1.1.1

memoist
0.16.2

googleauth
0.14.0

rake
13.0.1

digest-crc
0.6.1

google-cloud-errors
1.0.1

google-cloud-env
1.4.0

google-cloud-core
1.5.0

google-cloud-storage
1.29.1

emoji_regex
3.2.1

aws-eventstream
1.1.0

aws-sigv4
1.2.2

aws-partitions
1.388.0

jmespath
1.4.0

aws-sdk-core
3.109.1

aws-sdk-kms
1.39.0

aws-sdk-s3
1.83.1

mini_portile2
2.4.0

nokogiri
1.10.10

generated on: 2021-03-02

Yeah, and won't be able for now.

@jainsid24 Your issue is confusing: You are writing that you are using 2FA auth for enterprise account, but at the same time   having api_key_path:<key_path> in your code. As @Katsz mentions, Apple has not enabled the App Store Connect API for Enterprise accounts, therefore this simply won't work. Please use standard Apple ID login.


navigationItem.titleView is not shown after presenting

Reproduce:

InPopupViewController1.m , set titleView in viewDidLoad
 self.navigationItem.titleView = [UIButton buttonWithType:UIButtonTypeInfoLight];

Build and run the example project, tap the first row on the table view. You can see that the titleView is not shown.

Now tap the "Next" bar item on the opened view controller, and then tap the "Back" arrow, now you can see that the titleView is shown.

I found this bug on my iPhone 6 Plus which installed iOS 8.4, I also tested in iPhone Simulator 9.0/9.1/9.2 and it worked fine.
After debugging, I found that the titleView was removed from popupController's navigationBar after presenting popupController. This is so strange. Maybe it is an iOS bug.
Temporary Fix:
Re-add titleView to navigationBar when viewDidAppear, or reset navigationItem.titleView:
- (void)viewDidAppear:(BOOL)animated
{
    [super viewDidAppear:animated];

    // BugFix: navigationBar's titleView is not shown after presenting STPopupController.
    // See: https://github.com/kevin0571/STPopup/issues/60
    if (self.popupController) {
        UIView *titleView = self.popupController.navigationBar.topItem.titleView;
        if (titleView && !titleView.superview) {
            // Re-add titleView to the navigationBar
            // [self.popupController.navigationBar addSubview:titleView];

            // Or: invoke -[STPopupController updateNavigationBarAniamted]
            self.navigationItem.titleView = titleView;
        }
    }
}

Related to #59 . Will look into this issue.

@kevin0571 Did you try to set titleView on iOS9 device? I have no device running iOS 9, maybe it's a previous iOS bug.

Yes, I tried. Works well on iOS 9.


Is waitForSelector meant to be run before or after goto ?

Steps to reproduce
Tell us about your environment:

Puppeteer version: 1.13

Platform / OS version: OS X

URLs (if applicable): 		urls: [["https://www.mars-hydro.com/","led-grow-light","?","limit=25"]],

Node.js version: 10.15.3

What steps will reproduce the problem?
Please include code that reproduces the issue.
let b = require('puppeteer').launch()
b
.then(b=>{ return b.newPage() })
.then(p=>{ return p.goto("https://www.mars-hydro.com/led-grow-light?limit=25").then(p=>{p}) })
.then(p=>{ return p.waitForSelector('#products-list') }) // p.waitForSelector isn't a function

What is the expected result?
let b = require('puppeteer').launch()
b
.then(b=>{ return b.newPage() })
.then(p=>{ return p.waitForSelector('#products-list').then(p=>{return  }) // p.waitForSelector is a function ???
.then(p=>{ return p.goto("https://www.mars-hydro.com/led-grow-light?limit=25") })

Are you meant to set up page logic before going to a url or something or how does it work??
Answer:
1st problem
I was returning promises not the returns of promises
2nd problem
page.goto() doesn't return the page object, it returns a resource object or something idk the point?
so this is the right code
let b = require('puppeteer').launch()
b
.then(b=>{ return b.newPage().then(p=>{return p}) })
.then(p=>{ return p.goto("https://www.mars-hydro.com/led-grow-light?limit=25").then(a=>{p}) })
.then(p=>{ return p.waitForSelector('#products-list').then(a=>{return p}) }) // p.waitForSelector isn't a function

Answer:
1st problem
I was returning promises not the returns of promises
2nd problem
page.goto() doesn't return the page object, it returns a resource object or something idk the point?
so this is the right code
let b = require('puppeteer').launch()
b
.then(b=>{ return b.newPage().then(p=>{return p}) })
.then(p=>{ return p.goto("https://www.mars-hydro.com/led-grow-light?limit=25").then(a=>{p}) })
.then(p=>{ return p.waitForSelector('#products-list').then(a=>{return p}) })


GetSelector - elements with number ids

Bug Report
Prerequisites

[x] Can you reproduce the problem in a MWE?
[x] Are you running the latest version of AngleSharp?  (non-alpha, 0.14.0)
[ ] Did you check the FAQs to see if that helps you?
[x] Are you reporting to the correct repository? (there are multiple AngleSharp libraries, e.g., AngleSharp.Css for CSS support)
[ ] Did you perform a search in the issues?

For more information, see the CONTRIBUTING guide.
Description
GetSelector provides an "#id" selector starting with a number, which is invalid if you try to use it later.
(Reference: ) https://css-tricks.com/ids-cannot-start-with-a-number/
Steps to Reproduce
See tests in branch.
Expected behavior:
 --> [id='1st']
Actual behavior:
 --> #1st
Environment details: .NET Core, Windows/Linux
Possible Solution
Hi, I've used the GetSelector utility many times on a few different websites.
I recently tried a new website with some funky web standards.
This page has many elements that begin with a number, or are all numbers. (Like id = '0ab12cd3', possibly generated by some tool.)
I have a fork with a branch for a possible fix:
https://github.com/AngleSharp/AngleSharp/compare/master...robert-baldini:getselector-id-with-numbers
CSS id selectors that start with a number need to be escaped. (And sure enough, if you try QuerySelector("#1st"), you'll get an error. It fails for other tools also.)
The easiest way to escape it would be like: [id='0ab12cd3'] or [id='1st']
I tried to keep it consistent with the existing behavior, so id will normally be passed back as "#id", unless it's neccesary to escape. The alternative would be to pass back the id with always using the square brackets.

Good finding! Can you make a PR with the proposed fix? Much welcome!
:beers:

Sorry for the delay. The pull request should be ready in a couple minutes.
I was doing some research and I found a better reference for CSS escape requirements.
A leading digit, like #1, does need to be escaped. So should the id -1, or +1. And a few other characters too.
The easiest solution, to preserve the id with minimal escape, is to just select with the id attribute: [id='-1'] or [id='+1']
Would there be any problems if the default behavior changes from #identifier to [id='identifier']?

Personally, I think the get selector should be as minimal and nice as possible.
IIRC there is a function in AngleSharp to check if its a valid CSS selector ID. Maybe if we use this we can distinguish the two cases (valid ->#..., invalid -> [id="..."]).


Add offset to loot tracker API

Signed-off-by: Tomas Slusny<EMAIL_ADDRESS>

This allows for someone to work with data in chunks and is basically requirement for displaying any larger amounts of loot tracker data on website in future (either by paginating the data or just fetching fixed size chunks async)


Include and If Expressions

When attempting to use if expressions with include the following error is thrown:
TemplatesNotFound: Tried to select from an empty list of templates.
The following setup works as expected:
{% if self.title() != "Login" %}
{% include 'message.html' %}
{% endif %}

But when using include with if expressions like the following, the error is thrown.
{% include 'message.html' if self.title() != "Login" %}

The second example is invalid syntax.  What made you think that was possible?

I thought it might work after looking through if expressions in the docs and seeing the following example.
{% extends layout_template if layout_template is defined else 'master.html' %}

A conditional expression must contain an else; you've only written two thirds of the expression.

Note that the Jinja2 docs for if expressions also says:

The else part is optional. If not provided, the else block implicitly evaluates into an undefined object:

So the include has to be completed that way, in your original example:
{% include 'message.html' if self.title() != "Login" ignore if missing %}

Before 2.11, in the Trac project we used the equivalent of:
{% include 'message.html' if self.title() != "Login" ignore missing %}

After #710 though, it seems the following must be used:
{% if self.title() != "Login" %}
{% include 'message.html' ignore missing %}
{% endif %}

I'm not sure it's possible to write an inline conditional statement with ignore missing after 2.11.

Trac #13242.


faster test, replacing divide op

filters_test: 56.8s -> 41s

Wowzah, didn't think that would make such a big difference. Excellent catch, this is brilliant.


Added limit test for ByPredicate.getAllValues()

Resolves #180.
When having 5 results, tests whether a limit of 0-5 returns those amounts and whether 6 also returns 5.

The codecov failure seems to be related to a master build that failed earlier (which was due to some internal problem at travis and/or codecov).


Stack based scheduling for dynamic runtime

Is your feature request related to a problem? Please describe.
Problem 1:
When running the following:
df = df.with_column("A", expensive_func(df["B"]))
df = df.where(~df["A"].is_null())

# Call .show() with an explicit limit here, but this is equivalent to running .show(10) which implicitly appends a limit to the plan
df.limit(10).show()

Our current execution engine has to run expensive_func on all partitions, run the filter on all partitions before we can retrieve the first 10 rows. This is because our scheduling is currently based on a static execution plan.
Problem 2:
When running a shuffle, our current static execution plan will schedule a local map operation to hash, followed by a global shuffling, followed by a local reduce step:
[WINDOW 1 - Partition-level operations]
(serialize)
[GLOBAL SHUFFLE - Map]
(serialize)
[GLOBAL SHUFFLE - Shuffle]
(serialize)
[GLOBAL SHUFFLE - Reduce]
(serialize)
[WINDOW 2 - Partition-level operations]

However, this results in multiple serialization steps between these steps. Ideally, we can reduce the number of serializations by merging the Map and Reduce when the preceding/subsequent windows like so, cutting down the number of steps where we have to serialize from 4 to 2:
[WINDOW 1 - Partition-level operations + Map]
(serialize)
[GLOBAL SHUFFLE - Shuffle]
(serialize)
[WINDOW 2 - Reduce + Partition-level operations]

However, our current static scheduling is not sophisticated enough to perform this merging.
Solution:
Instead of statically generating the execution plan, we can instead maintain a set of stacks (one for each partition in the current window of execution) and do scheduling dynamically.
This allows us to add operations that need to be run onto the stack, and drain the stack to fuse these operations when we are ready to execute them.
This solves Problem 1 because the Limit node can now selectively drain stacks and terminate execution early once it has enough rows to satisfy the requested number of rows.
This solves Problem 2 because we can now merge the Map step with the preceding window simply by adding the map operation onto the stacks from the previous step, and merge the Reduce step with the subsequent window by adding the reduce operation onto the stacks for the new window.
TODO: @samster25 to elaborate on the solution

Implemented and merged as the default runner by @xcharleslin !


{AKS} az aks install-cli: Automatically add the downloaded binaries to system path on windows

Related command

az aks install-cli
Description

Automatically add the installation directories of the binaries downloaded through the az aks install-cli command to the search path (user environment variable PATH) on the windows platform.

In this example, the latest versions of kubectl and kubelogin are downloaded to the corresponding default paths, and these paths are automatically added to the user environment variable PATH, so that users can directly use these tools in a new command line session.

The installation directories are appended to the user environment variable, avoiding the need for administrator privileges to write system environment variables.
Although the variable PATH is updated in append mode, there is still a certain risk that PATH will be truncated if it exceeds the length limit.
The implementation is by querying the registry key HKCU\Environment, parsing the result and setting the new value through setx in the default shell cmd. If any error occurs in this process, it should not have any side effects, and will fall back to prompting the user to manually configure the search path (like it used to be).
This change has no effect on the linux platform.

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

AKS

The following is a guide to test the preview azure-cli on windows.

Install Python3 on windows, 3.10.9 installer (64-bit).

Setup a virtual environment for python.

Making python-related changes in the virtual environment will not affect python in the system environment.
After testing, deleting the created folder will remove all python-related changes made in the virtual environment.

Open cmd and type python -m venv azenv, this will create a folder named azenv, which is the entrance of the virtual environment, under current working directory.

Activate the virtual environment via .\azenv\Scripts\activate.

In case you want to exit the virtual environment, type deactivate.

Install preview azure-cli-core and azure-cli, download the wheel packages from pipeline artifact (pypi).
Unzip the zip file, install azure-cli-core first, then azure-cli.
pip install <path-to-wheels>\azure_cli_core-2.43.0.postxxxx-py3-none-any.whl
pip install <path-to-wheels>\azure_cli-2.43.0.postxxxx-py3-none-any.whl

Test whatever you want.

After the test, delete the entire virtual environment by deleting the folder azenv.


[EVENT] July 11th - Members Talk evening @ TBC

Head organizer: Jessica
Co organizer: Fan
Slides/Moderation:
Speaker support:
Location:
Speaker: Tamara
Talk:
MONTH BEFORE

[ ] Define Speakers
[ ] Send Speakers guidelines email
[ ] Announce event with speakers, location, gender policy, photo policy on meetup page
[ ] Define hosts & collect host information
[ ] Send Host guidelines email
[ ] Organise Food/ drinks
[ ] Tweet event when announced
[ ] Check with speaker if coaches are needed and search for coaches

TWO WEEKS BEFORE

[ ] Retweet event
[ ] Check with speaker about installation instructions/reading material and update announcement
[ ] Update meetup announcement with agenda, networking breaks, if snacks or drinks will be available
[ ] Check-in with hosts and ask if support is needed for reception

WEEK BEFORE

[ ] Remind attendees to install requirements with comment and/or message on meetup
[ ] Send coaches the workshop/relevant material
[ ] Dry run with speaker

WEEK OF THE EVENT

[ ] Tweet after event
[ ] Ask host if attendees list is needed and/or special location directions
[ ] Double check with host: microphone (if needed), soft drinks, power plugs, internet
[ ] Send to host to print PyLadies arrow signs
[ ] Print [feedback forms](feedback forms)
[ ] Prepare introduction slides past example

DAY OF THE EVENT
(arrive 30-60 minute before event starts)

[ ] Check projector, microphone, table setup, power extensions, recording if available
[ ] Support speaker(s) to test equipment
[ ] Stick PyLadies signs to guide attendees the location
[ ] Hang up or put out print outs with the WIFI (or find a similar solution)
[ ] Manage reception, give name tags if available
[ ] During the COVID 19 pandemic (and perhaps later) there might be additional health checks such as vaccination status or proof of a recent test to allow entry

DURING THE EVENT

[ ] Do introduction and Community announcements
[ ] Take photos of all the speakers and audience
[ ] Tweet about it (or after the event with photos)

AFTER THE EVENT

[ ] Tweet after event (if not done during the event)
[ ] Upload photos to google drive (you need to be part of the google group to access this)
[ ] Open PR with resources to this repository
[ ] Email sponsors & host to thank them
[ ] Copy feedback forms to feedback spreadsheet
[ ] Adjust guides if valuable feedback came up

Speaker will fill in the form when she has the information, I have emailed Plan D from our hosting list to see if they can host :)

@Gigi1111 FYI as they put you as a contact :) Let me know if you want to collaborate on this one!

sure, I'd love to

happy to take on some of these, specially the non-social media related ones :)

@marimeireles how about prepping the slides? Are you also interested in doing speaker support (ie listening through a dry run and giving feedback?)


Firebase images not showing

Describe the bug
Some images not showing because their url contain % characters
To Reproduce
Steps to reproduce the behavior:

Use addImageBlobHook with firebase storage url https://firebasestorage.googleapis.com/v0/b/**.appspot.com/o/images%2Fimage.png?alt=media

{
  "error": {
    "code": 400,
    "message": "Invalid HTTP method/URL pair."
  }
}

Expected behavior
%2F is replaced with a / and link is broken. Not all characters should be encoded.
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser: Chrome
Version: 91

@Aryqs-Ipsum
If you can't bring the image, I don't think it's an editor's issue, is there any other factor?

The image works. only, when I import it via the editor hook, the url is serialized.

@Aryqs-Ipsum
It's weird.. Can you give me the your hook function code?

Yes ..
methods: {
  async onImageUpload(blob, callback) {
    this.imageUploaderOpen = true
    const imageUrl = await this.$refs.uploader.getImageUrl(blob)
    callback(imageUrl, '')
  }
},
mounted() {
  this.$refs.toastuiEditor.editor.removeHook('addImageBlobHook')
  this.$refs.toastuiEditor.editor.addHook('addImageBlobHook', this.onImageUpload)
}

And I've add these lines to temporary fix the problem (in the hook after the callback) :
this.editableContent = this.editableContent.replaceAll(BUCKET_URL + '/', BUCKET_URL + '%2F')
this.updateTextEditor()

@Aryqs-Ipsum
The bug has been fixed and released in v3.0.1.


Make all versions the same level in the ChangeLog.

Please, make all versions the same level headers, because otherwise it seems that 1.0.1, 1.0.2 and 1.0.3 are subsections of 1.1.0.
And this is breaks automatic changelog parser at https://allmychanges.com/p/web/angular bootstrap/

Thanks for taking the time to do this.  Unfortunately, we switched changelog generators (or a version changed somewhere) and this got missed.
That said, you should rely on the format of the last few entries as the official format or this is going to break again with the next release.  We'll need to look at the changelog generator to see if/how we can control this.
Finally, I would be VERY wary of third party changelog parsers for exactly this reason - you will always (ok, usually always) get the correct information from our official copy of the changelog and we cannot guarantee the information hosted by any other site.

This needs to make the appropriate changes to https://github.com/angular-ui/bootstrap/blob/master/misc/changelog.tpl.md as well.

Oh cool. So it is a template.  That makes things easier.

Should I reformat changelog to make all versions level 1 header and sections in description, level 2?
As I see, template uses these levels.

Ok, I've fixed formatting according to template.

This LGTM, but given the sheer number of changes I'd like another set of eyes.

LGTM

Thank you, guys!


false positive in variable-name rule

There is a false positive in the variable-name issue.
My code:
    var localStorageItem = ...;
    try {
        JSON.parse(localStorageItem);
     } catch (SyntaxError) {
         return null;
     }

SyntaxError gives the error:
variable name must be in camelcase or uppercase
It should not.

you're assigning the error value to a new var named SyntaxError... what do you expect instead? do you want to disable this rule for all catch statements?
#522 is probably the right way to deal with this

You are correct, this is not a false positive.
I was reading SyntaxError as a class reference, not as a variable reference. I blame too much time coding Java. Sorry for the false issue.


Xcode projects admin

Hi @fventre thank you for reporting an issue. Could you please provide more information about what are you encountering?
🙏


HARVESTER: fix unitIput component data sync

Summary

Fixes problems caused by modifications to the UnitInput component.
PR
Fixes #

Occurred changes and/or fixed issues

Technical notes summary

Areas or cases that should be tested

Areas which could experience regressions

Screenshot/Video

Looks like there's crossover with https://github.com/rancher/dashboard/pull/6070

#6070 fixes a bunch of instances of div's with input listeners causing issues, but missed this particular case so I think this PR is still worth merging.


[ENG-1268] Add auth URL options for reddit ads and google

#666  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @RajatPawar and the rest of your teammates on  Graphite


how can I solve this problem

I installed nuxt js aos to get quick response but I get this error how can I make it disappear quick solution

what version of nuxt-aos are you using?

@egidiusmengelberg  problem solved I updated nuxt js to the latest version

What version of nuxt-aos do you have installed?

Thats weird. I'll investigate this week. Maybe something specific when using pnpm.

This Issue happens in below version
"nuxt": "^3.13.0",
"nuxt-aos": "^1.2.5"

i also face the same issue, i have:
"nuxt": "^3.13.2",
"nuxt-aos": "^1.2.5",

yeah I know, unfortunately I do not have the time to investigate. I would use a nuxt plugin to enable aos in your app.
https://stackoverflow.com/questions/71484930/using-aos-with-nuxt3


Faker-lite gem?

Since we're Namespacing for clarity (#1318), this opens the opportunity to release a Faker-Lite gem, which could only include the absolute basic generators (e.g. just Address, Alphanumeric, Date, Lorem, Number,  Name, Time)
I imagine that there are a lot of projects that don't need to have the entire set of Faker generators for their tests/mockups/seeds and having a simplified stripped-down version for them could be useful to them.
Thoughts?

I'm not opposed... another option is to move namespaces into faker-* gems.

I was also thinking the same thing, but I think it's nice having the full generator package available as the default. Gives developers an easier way to add some fun into their projects.

I agree that it's nice to have everything available by default, but it seems to me that the typical pattern of gem packaging is to have basename-* gems for extras rather than a basename-lite gem.

If we do go that route, adding the faker gem could automatically pull in all the other 'official' plug-in gems and a faker-core gem, which would still allow for getting everything by default

Yeah, I like that idea.

Though, it should be noted that splitting it up like that would break FakerBot #1505 though since, that's planned on being merged into here, we could do extra fancy stuff with it (eg. part of faker-core, and it can suggest plug-ins that aren't installed)

I like the idea of splitting the namespaces in gems, because we can isolate responsibilities. How would we communicate this change in our README.md? What about starting by opening a PR to suggest the README.md changes and then we go from there?

I'll take a stab at this, but anybody else is welcome to give it a shot as well. :)
I'm thinking we could use this is a V2 effort, including replacing the positional arguments with keyword arguments, and using YARD for documentation.

#603 and #1330 (github apparently didn't like your links)

Edited :)

We should probably rename this ticket to something a bit more descriptive.

So here's my first stab at breaking faker up into multiple gems... first, there's the core gem that all the other faker-* gems will use:
https://github.com/ruby-faker/core
Here's the first of the faker-* gems:
https://github.com/ruby-faker/image
Perhaps the additional gems should also provide all the classes in a namespace. E.g., faker-image would have Faker::Image::Avatar instead of just Faker::Avatar.
The main faker gem would have a dependency on faker-core and all the others.
We would probably want to figure out a method to get the documentation from all the gems into one place. I have a domain we could use for that, if, for example, we wanted to use a rake task to build all the YARD docs and host it via Netlify.
Thoughts on all of the above?

Sounds like a lot of work to get done and I'm excited to help move things forward.
Is faker-ruby a new GitHub community?

I meant GitHub organization.

Yeah, it's a new org... I figured it made sense to use one if we are going to have a bunch of faker-related gems. That said, I'm not 100% convinced this is the way to go. :)

For instance, how would this work with namespace aliases, like comics and movies?

The organization idea is a great idea.
Regarding the namespace aliases, there are two possible solutions that I see right now:

We should stop doing namespace aliases (I am not a big fan of namespace aliases)
Have the same code in separate gems (sounds like we might have duplications?)

We could have the faker-comics gem which would add everything from the Comics namespace to the top level. So in essence, the new gems would be our namespacing. Though what about generators like HarryPotter which depending on who you talk too would be in faker-movies or faker-books. Then again, that could just fall into faker-harry-potter.

Hey guys,
I feel it is a good idea to break it down into smaller parts. I'm in if you need/want help.
Still, I just have to ask:

Doing this split adds complexity to the maintainability and for "users" to find what they want. Is it really worth it?

Yeah, this is my concern... having worked on it and thought about it over the weekend, I get the feeling it adds complication without much benefit.

Aye. I really only see two things needed. Faker "Full" for developers who want all the generators, and faker "Light" for developers who just need the basics.

I'm not so convinced that is useful. Are people really struggling with the size of the gem or the number of generators in it?
If the problem is just the number of generators that are available, maybe it's as simple as curating the docs better? Perhaps in that case even namespaces are unnecessary?

is there a way to measure the use of these generators?

Well, at best, I'd say that the original idea of having a "lite" or "core" version of this gem is nice.
People who only want the basic stuff (lorem ipsum texts, numbers, images, ...) could have them with the faker-core gem.
And people who want more costumized texts like Star Wars characters would install a faker-full gem.
I personally don't see any benefit in spliting faker in more than these two gems.
What do you guys think?

I'm sorry, I don't see the benefit of splitting it even into two gems.

Just catching up on the thread here- I'm afraid I have to agree, splitting the gem into namespaces seems to me like it would create more complexity than it would solve. I'm not sure the size of the gem is a problem at present, plus, given most people run it on their test envs, it sounds sensible to have everything out of the box.

Aye, and for those who really do need just the basics can fork and strip out what they don't need.


Improve meeting-wide list of speakers

[ ] Add a filter for the content object type of the speaker's LoS. Possible types according to the models.yml are motion, motion_block, assignment, topic and mediafile, but AFAIK the last one is not used anywhere in the client, so we only need a filter for the first four.
[ ] Exchange the current flag icon in front of the content object's title with the appropriate icon for the content object type:

Motion: assignment
Motion block: widgets
Assignment: how_to_vote
Topic: today

This issue concerns the contribution page


Website validation gives incorrect answer for empty fields

Go to https://amy.software-carpentry.org/workshops/event/2016-07-11-ttt-scipy.
Click 'validate event'.
Error message reports 'helper' and 'eventbrite' are invalid.

Both are present, but empty.

If helper is empty, it's invalid.
The behavior for eventbrite is slightly off, I'll fix it.

But helper can legitimately be an empty list, can't it? If there
weren't any helpers?


Bug in member implementation of 'flip' (else statement missing)

fixed in pr-121

Fixed in latest release, 0.6.24.

c.c. @owenkaser


How does routes works ?

@nWidart Im using your package ands works great so far. But im having issues including some of the modules routes in my root app.  Some routes works as expected, i have created a modules call indicators.   There I have a created a controller called "tendencies". Im able to get to the index method "app.url/indicators/tendencies" fine. But When I try to store I get a MethodNotAllowedHttpException error message. ( im using request for validation by the way).
Thanks in advance.

Hello,
That's a laravel exception meaning you're trying to post to a route defined a GET for instance, ie there's a mismatch in the route methods (get,post,put,delete,...).
Make sure the route definition is correct.

Thats the thing, I dont know hot to include the module controller in the app routes or a resource ?
Route::resource('reports', 'Module::Controller') ? How should I do that ?

Just like you would in a laravel app, by specifying the namespace. Your modules are namespaced, so for example if you have this controller : Modules\Product\Http\Controllers\ProductController, your route would use that:
Route::resource('reports', 'Modules\Product\Http\Controllers\ProductController')

Great ! thanks a lot @nWidart. Working fine. About the route provider, I have to generate the route provider with the artisan command and nothing else ? Its, any config envolve ?

Just generate it yes, and then you need to load it. This can happen in the module.json file, there's a providers key. Or you could just load it the usual way in config/app.php.

Great thanks a lot ! I didnt find this info at the docs, could be very usefull. Ready to close this one.

Good idea! I'll have to find a spot on the docs where to put this information, maybe a new page. 🤔


Error at starting

Microsoft PowerToys version
0.57.2
Running as admin

[X] Yes

Area(s) with issue?
Awake
Steps to reproduce
2022-04-16.txt
✔ Expected Behavior
No response
❌ Actual Behavior
Didn't start
Other Software
No response

/bugreport

[2022-04-16 11:23:28.1824] [FATAL]
Exception
System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.
   Source: PowerToys.PowerLauncher
   TargetAssembly: PowerToys.PowerLauncher, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null
   TargetModule: PowerToys.PowerLauncher.dll
   TargetSite: Double WindowTop()
   at PowerLauncher.MainWindow.WindowTop()
   at PowerLauncher.MainWindow.InitializePosition()
   at PowerLauncher.MainWindow.OnLoaded(Object sender, RoutedEventArgs e)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
   at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
   at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)
   at System.Windows.Interop.HwndTarget.OnResize()
   at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Environment

Command Line: "C:\Program Files\PowerToys\modules\launcher\PowerToys.PowerLauncher.dll" -powerToysPid 12932 --started-from-runner
Timestamp: 04/16/2022 11:23:28
Wox version: <IP_ADDRESS>
OS Version: Microsoft Windows NT 10.0.19044.0
IntPtr Length: 8
x64: True
CLR Version: 6.0.3
Installed .NET Framework:

v2.0.50727 2.0.50727.4927 SP2
v3.0 3.0.30729.4926 SP2
v3.5 3.5.30729.4926 SP1
v4 Client 4.8.04084
v4 Full 4.8.04084
v4.0 Client <IP_ADDRESS>

Bug report will still be useful.

I was having an issue starting it up as well. Looked at the logs and saw that it was the Shell plugin giving issues. I disabled that and now everything is working fine. Log file attached.
2022-04-21.txt


Bug with chaining Request.filter

Request(...).filter(...).filter

applies NSPredicate only from last filter, it is a bug. We should

deny chaining .filter.filter
add those chaning options

Request(...).filter(...).or(...)
Request(...).filter(...).and(...)

or and and

connected a bit to #1


Cannot deploy Kibana as NodeJS application when Shield plugin is enabled

I am trying to deploy Kibana on bluemix PaaS.
https://www.elastic.co/downloads/kibana
Since Kibana is a NodeJs application, it can be deployed as such on bluemix. All i have to do is

Provide a simple manifest.yml file that details the app name and a couple of other things

Provide a Procfile which has just one line as web: bin/kibana --port=$PORT

and thus i can run Kibana on bluemix PaaS. Note that this is pushed via cloudfoundry.
Also, i was able to install the marvel and sense plugins for Kibana.
Now, i installed the shield plugin. This plugin requires and ssl key and an ssl cert file to run. The path to these files must be provided in the kibana.yml file.
After installation, i tested the shield plugin natively and it worked just fine.
Here is the layout of the directory structure
bin(d)
config(d)
installedPlugins(d)
node_modules(d)
sslFiles(d)
manifest.yml
Procfile

(d) represents directories. he sslFiles folder contains the ssl key and ssl cert files.
Before i could push to bluemix, i knew that the paths ti the ssl files would have to be relative to the app in bluemix, so in the kibana.yml i specified those as
kibana.ssl.key:app/sslFiles/kibana.key
kibana.ssl.cert:app/sslFiles/kibana.cert

i did this as in bluemix, i could see the following directory structure
app(d)
    bin(d)
    config(d)
    installedPlugins(d)
    node_modules(d)
    sslFiles(d)
    manifest.yml
    Procfile

Indentation represents containment. So i pushed it to bluemix PaaS using cloudfoundry, but now i get
502 Bad Gateway: Registered endpoint failed to handle the request.
error. I tried changing the paths to sslFiles/kibana.key but then i got a staging error
cannot find path sslFiles/kibana.key
What is responsible for my 502 error? Is it the path to the sslFiles? If so, how can i properly provide the paths?
here is my cloudfoundry version
cf version 6.18.1+a1103f0-2016-05-24

@fraenkel @sykesm @DanLavine Here's a question about Bluemix on the cf-release repo which you may wish to take a look at.

If you have a technical problem or question with Bluemix, please use the supported mechanisms.
See https://developer.ibm.com/bluemix/support/


RUSTC_WRAPPER not used in cargo clippy?

Problem
I'm using sccache to help improve CI times for a crate. However, my cargo clippy jobs report 0 attempts against the cache (via sccache --show-stats) even though there are compilation rules being performed. Same pattern works for my actual builds.
Steps

Install sccache
RUSTC_WRAPPER=sccache cargo clippy
sccache --show-stats

Should show non-zero stats.
Possible Solution(s)
Call rustc through clippy the same way compiler commands are called.
Notes
Output of cargo version:
cargo 1.38.0 (23ef9a4ef 2019-08-20)

Clippy itself uses RUSTC_WRAPPER.  We are looking to change that in #7533, which should fix sccache caching for dependencies.  Caching for the root crates probably still won't work, though I'm not sure what the behavior will be.  Closing in favor of https://github.com/rust-lang/rust-clippy/issues/3840 and #7533, which should address this.

Clippy itself uses RUSTC_WRAPPER. We are looking to change that in #7533, which should fix sccache caching for dependencies. Caching for the root crates probably still won't work, though I'm not sure what the behavior will be. Closing in favor of rust-lang/rust-clippy#3840 and #7533, which should address this.

@ehuss, I haven't looked in depth through what #7533 is doing, but when I build it and use it to run clippy, nothing is being cached. Are there further steps than addressing the RUSTC_WRAPPER issue for clippy to be able to use sccache?

Clippy will also need to be updated to use it.


Shift Control C does nothing

Sketch 3.4, OSX El Captain.
Have .sketch file with variables

Plugin says

And then pressing shift + control + C does nothing with selected layer

Fixed. Thanks.


(Debug builds) Reproducible crash at buffer_manager.rs:59 with S16NE stereo input device downmixing to mono

If you have a stereo input device that uses S16 data, and request a mono stream, cubeb_coreaudio_rs will reproducibly crash in debug builds if the sound level is high enough that the addition on buffer_manager.rs:59 overflows.
I believe the addition there should be a saturating_add, instead. (or ideally an average?)
For example, using https://github.com/mutexlox-signal/test-coreaudio-rs/ hooked up to a BlackHole 2-channel input (which is fed from a stereo youtube video):
thread '<unnamed>' panicked at src/backend/buffer_manager.rs:59:31:
attempt to add with overflow
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at library/core/src/panicking.rs:221:5:
panic in a function that cannot unwind
stack backtrace:
   0:        0x104858654 - std::backtrace_rs::backtrace::libunwind::trace::hbebc8679d47bdc2c
                               at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
   1:        0x104858654 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a2e9637943241aa
                               at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:        0x104858654 - std::sys::backtrace::_print_fmt::he430849680584674
                               at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:65:5
   3:        0x104858654 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h243268f17d714c7f
                               at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:40:26
   4:        0x1048706b4 - core::fmt::rt::Argument::fmt::h0d339881c25f3c31
                               at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/fmt/rt.rs:173:76
   5:        0x1048706b4 - core::fmt::write::hb3cfb8a30e72d7ff
                               at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/fmt/mod.rs:1182:21
   6:        0x104856760 - std::io::Write::write_fmt::hfb2314975de9ecf1
                               at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/io/mod.rs:1827:15
   7:        0x104859730 - std::sys::backtrace::BacktraceLock::print::he14461129ccbfef5
                               at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:43:9
   8:        0x104859730 - std::panicking::default_hook::{{closure}}::h14c7718ccf39d316
                               at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:269:22
   9:        0x104859354 - std::panicking::default_hook::hc62e60da3be2f352
                               at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:296:9
  10:        0x10485a1f4 - std::panicking::rust_panic_with_hook::h09e8a656f11e82b2
                               at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:800:13
  11:        0x104859b1c - std::panicking::begin_panic_handler::{{closure}}::h1230eb3cc91b241c
                               at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:667:13
  12:        0x104858ae0 - std::sys::backtrace::__rust_end_short_backtrace::hc3491307aceda2c2
                               at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:168:18
  13:        0x10485980c - rust_begin_unwind
                               at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:665:5
  14:        0x104877e60 - core::panicking::panic_nounwind_fmt::runtime::h5290ab2b4897aadc
                               at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/panicking.rs:112:18
  15:        0x104877e60 - core::panicking::panic_nounwind_fmt::h91ee161184879b56
                               at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/panicking.rs:122:5
  16:        0x104877ed8 - core::panicking::panic_nounwind::heab7ebe7a6cd845c
                               at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/panicking.rs:221:5
  17:        0x104878008 - core::panicking::panic_cannot_unwind::hedc43d82620205bf
                               at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/panicking.rs:309:5
  18:        0x1047f3c50 - cubeb_coreaudio::backend::audiounit_input_callback::h98caba4ee54ce43a
                               at /Users/miriam/cubeb-rs/cubeb-sys/libcubeb/src/cubeb-coreaudio-rs/src/backend/mod.rs:481:1
  19:        0x106dae5b0 - _AUGenericOutputFactory
  20:        0x1878143d4 - <unknown>
  21:        0x187811a8c - <unknown>
  22:        0x187997850 - <unknown>
  23:        0x184fa1f94 - __pthread_joiner_wake
thread caused non-unwinding panic. aborting.

Additionally, it isn't clear to me that addition is the right way to mix the two stereo channels into a mono channel? Even if we did saturating add, it would clip if both channels picked up an input >= half of the maximum size, for example.
I think averaging is the way to go here. cc @Pehrsons , who has touched similar stuff recently.

also cc @padenot as the author of this function  (https://github.com/mozilla/cubeb-coreaudio-rs/commit/8ad4d4d672043054dbdeafae814af647cce3a939)

It really depends on if the two channels are correlated. We should divide by two for sure, but the right solution is to use f32.