certificate verify failed (Faraday::SSLError)

Hello,
I would like to ask if you would please assist with the following error:
[me@web504 my-scripts]$ letsencrypt_webfaction --contact<EMAIL_ADDRESS>--domains cloud.me.com --public ~/webapps/owncloud/htdocs/
/home/me/.rbenv/versions/2.3.0/lib/ruby/2.3.0/net/http.rb:933:in `connect_nonblock': SSL_connect returned=1 errno=0 state=error: certificate verify failed (Faraday::SSLError)
    from /home/me/.rbenv/versions/2.3.0/lib/ruby/2.3.0/net/http.rb:933:in `connect'
    from /home/me/.rbenv/versions/2.3.0/lib/ruby/2.3.0/net/http.rb:863:in `do_start'
    from /home/me/.rbenv/versions/2.3.0/lib/ruby/2.3.0/net/http.rb:852:in `start'
    from /home/me/.rbenv/versions/2.3.0/lib/ruby/2.3.0/net/http.rb:1398:in `request'
    from /home/me/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:82:in `perform_request'
    from /home/me/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:40:in `block in call'
    from /home/me/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:87:in `with_net_http_connection'
    from /home/me/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:32:in `call'
    from /home/me/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/faraday-0.9.2/lib/faraday/request/url_encoded.rb:15:in `call'
    from /home/me/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/faraday-0.9.2/lib/faraday/rack_builder.rb:139:in `build_response'
    from /home/me/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in `run_request'
    from /home/me/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/faraday-0.9.2/lib/faraday/connection.rb:140:in `head'
    from /home/me/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/faraday-0.9.2/lib/faraday.rb:99:in `method_missing'
    from /home/me/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/acme-client-0.3.0/lib/acme/client/faraday_middleware.rb:92:in `get_nonce'
    from /home/me/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/acme-client-0.3.0/lib/acme/client/faraday_middleware.rb:85:in `pop_nonce'
    from /home/me/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/acme-client-0.3.0/lib/acme/client/faraday_middleware.rb:11:in `call'
    from /home/me/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/faraday-0.9.2/lib/faraday/rack_builder.rb:139:in `build_response'
    from /home/me/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in `run_request'
    from /home/me/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/faraday-0.9.2/lib/faraday/connection.rb:177:in `post'
    from /home/me/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/acme-client-0.3.0/lib/acme/client.rb:25:in `register'
    from /home/me/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/letsencrypt_webfaction-0.0.2/lib/letsencrypt_webfaction/application.rb:65:in `register_key!'
    from /home/me/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/letsencrypt_webfaction-0.0.2/lib/letsencrypt_webfaction/application.rb:20:in `run!'
    from /home/me/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/letsencrypt_webfaction-0.0.2/exe/letsencrypt_webfaction:5:in `<top (required)>'
    from /home/me/.rbenv/versions/2.3.0/bin/letsencrypt_webfaction:23:in `load'
    from /home/me/.rbenv/versions/2.3.0/bin/letsencrypt_webfaction:23:in `'
[me@web504 my-scripts]$

Thank you!

Thanks for the report! Could you post the output of running curl -v https://acme-v01.api.letsencrypt.org/ on your server?

I am indeed on a newer WF server, and following is the output of command you mentioned:
[me@web504 ~]$ curl -v https://acme-v01.api.letsencrypt.org/

Trying 2a02:26f0:7b:185::3d5...
Connected to acme-v01.api.letsencrypt.org (2a02:26f0:7b:185::3d5) port 443 (#0)
ALPN, offering http/1.1
Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
successfully set certificate verify locations:
CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
TLSv1.2 (OUT), TLS header, Certificate Status (22):
TLSv1.2 (OUT), TLS handshake, Client hello (1):
TLSv1.2 (IN), TLS handshake, Server hello (2):
TLSv1.2 (IN), TLS handshake, Certificate (11):
TLSv1.2 (IN), TLS handshake, Server key exchange (12):
TLSv1.2 (IN), TLS handshake, Server finished (14):
TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
TLSv1.2 (OUT), TLS change cipher, Client hello (1):
TLSv1.2 (OUT), TLS handshake, Finished (20):
TLSv1.2 (IN), TLS change cipher, Client hello (1):
TLSv1.2 (IN), TLS handshake, Finished (20):
SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
ALPN, server accepted to use http/1.1
Server certificate:
subject: CN=*.api.letsencrypt.org; O=INTERNET SECURITY RESEARCH GROUP; L=Mountain View; ST=California; C=US
start date: Jun 26 17:05:45 2015 GMT
expire date: Jun 25 17:05:45 2018 GMT
subjectAltName: acme-v01.api.letsencrypt.org matched
issuer: C=US; O=IdenTrust; OU=TrustID Server; CN=TrustID Server CA A52
SSL certificate verify ok.

GET / HTTP/1.1
Host: acme-v01.api.letsencrypt.org
User-Agent: curl/7.47.1
Accept: /

< HTTP/1.1 200 OK
< Server: nginx
< Content-Type: text/html
< Content-Length: 2175
< Last-Modified: Tue, 13 Oct 2015 15:42:36 GMT
< ETag: "561d266c-87f"
< X-Frame-Options: DENY
< Strict-Transport-Security: max-age=604800
< Accept-Ranges: bytes
< Expires: Tue, 23 Feb 2016 16:16:05 GMT
< Cache-Control: max-age=0, no-cache, no-store
< Pragma: no-cache
< Date: Tue, 23 Feb 2016 16:16:05 GMT
< Connection: keep-alive
<

Boulder: The Let's Encrypt CA

Boulder

    The Let's Encrypt CA

This is an ACME Certificate Authority running Boulder.

This is a programmatic endpoint, an API for a computer to talk to. You should probably be using a specialized client to utilize the service, and not your web browser. See <tt>https://letsencrypt.org/</tt> for help.

If you're trying to use this service, note that the starting point, the directory, is available at this URL: <tt>https://acme-v01.api.letsencrypt.org/directory</tt>.

      Service Status (letsencrypt.status.io)

      Check with us on Twitter

* Connection #0 to host acme-v01.api.letsencrypt.org left intact
[me@web504 ~]$

That looks just as expected. I've sent a request to Webfaction for short term access to a newer server to see if I can reproduce this. I'll follow up to this ticket with the results.
If you feel ambitious (and know some Ruby), I'd suggest trying to check out the repo and using the Pry debugger to take a look at the exact cert message. Make sure that you use the stage LE server per the readme so that you don't get locked out for a week.

Thank you for looking into this!
I'm not great with programming languages at all, so I'll wait for further updates and please let me know if I can help with the current issue any further.

Sounds good! Thanks for your patience. This is a fairly new utility, so I'm still hammering out the issues like this one.

I got access to a newer server, but am unable to easily reproduce. Could I get you to try a couple of things?
First, could I get the output of echo $SSL_CERT_FILE?
Second, could you try running SSL_CERT_FILE=/etc/ssl/certs/ca-bundle.crt letsencrypt_webfaction [remainder of arguments]?
Thanks!

Hello!
First command results in a blank output, and the second one results in the following:
https://gist.github.com/keenam/9c55a664d9739bd3e921

The second command looks much better. Now it is failing to verify the domain.
The client is creating a folder called .well-known in the public directory. Could you verify that this file is accessible from the broader internet?

I made sure that there is access from the internet and now the get the following output on 2md command:
LetsEncrypt Webfaction has generated a new certificate for me.com. The certificates have been placed in /home/me/le_certs/me.com/20160224143346. You now need to request installation from the WebFaction support team.
Go to https://help.webfaction.com, log in, and paste the following text into a new ticket:
Please apply the new certificate in /home/me/le_certs/me.com/20160224143346 to me.com. Thanks!
Using the command without the preceding "SSL_CERT_FILE=/etc/ssl/certs/ca-bundle.crt" still presents the same error.

Then you are good to go! Just make sure that you prepend that environment variable to any cron jobs. I'll add a note to the readme about this.
Thanks!

For future reference, I've added troubleshooting steps here: https://github.com/will-in-wi/letsencrypt-webfaction/wiki/Troubleshooting

@keenam did this work for you in the end?


Fixed some maven warnings.

Just some basic maven fixes.

I'll test this when I get home, looks good to be merged.


Disable mandatory-copy-propagation (-Onone only)

This feature degrades the debugging experience and causes a large
number of unit test failures.
These were both known issues, but our planned debugger improvements
won't be ready for a while. Until then, we'll leave the feature under
a compiler option, and developers can adopt it at there own speed for
now when they are ready to fix lifetime issues in their code.
rdar://76177280 (Disable mandatory-copy-propagation (-Onone only))

@swift-ci test

Build failed
Swift Test OS X Platform
Git Sha - b1b2eff0758591ea04ffaea82a3617c544728ef8

@swift-ci clean test

Build failed
Swift Test Linux Platform
Git Sha - b1b2eff0758591ea04ffaea82a3617c544728ef8

@swift-ci test linux

Build failed
Swift Test OS X Platform
Git Sha - b1b2eff0758591ea04ffaea82a3617c544728ef8

This test failure is to be blocking other PR's too: Swift(iphonesimulator-x86_64).IDE.complete_where_clause.swift

@swift-ci smoke test macOS

I reverted the issue causing the test failure:
https://github.com/apple/swift/pull/36743


Bower version 1.7.3 jump breaks development install

bower has moved to version 1.7.3, this breaks the development install described in the README.md. Running npm install doesn't collect some of the modules that bower needs.
After some experimentation, this might be restricted to npm & nodejs from EPEL in Centos 7
$ python setup.py js

running js

module.js:340
    throw err;
          ^
Error: Cannot find module 'optimist'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/tmp/jupyterhub/node_modules/bower/node_modules/bower-config/lib/util/rc.js:3:16)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
Traceback (most recent call last):
  File "setup.py", line 297, in <module>
    main()
  File "setup.py", line 294, in main
    setup(**setup_args)
  File "/usr/lib64/python3.4/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib64/python3.4/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python3.4/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "setup.py", line 179, in run
    env=env,
  File "/usr/lib64/python3.4/subprocess.py", line 561, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['bower', 'install', '--allow-root', '--config.interactive=false']' returned non-zero exit status 8

Pinning bower to 1.7.2 in packages.json works for the moment, and I have asked about the issue in the bower live support. e.g. 659602e7dbf1a7203a09326be1f14ed820bfa385
Here is my version information
python3.4 -c "import IPython; print(IPython.sys_info())"
{'commit_hash': '8ff8693',
 'commit_source': 'installation',
 'default_encoding': 'UTF-8',
 'ipython_path': '/usr/lib/python3.4/site-packages/IPython',
 'ipython_version': '4.0.3',
 'os_name': 'posix',
 'platform': 'Linux-3.10.0-327.4.4.el7.x86_64-x86_64-with-centos-7.2.1511-Core',
 'sys_executable': '/usr/bin/python3.4',
 'sys_platform': 'linux',
 'sys_version': '3.4.3 (default, Jun 19 2015, 05:46:30) \n'
                '[GCC 4.8.3 20140911 (Red Hat 4.8.3-9)]'}

I've traced this back to an issue with the older version of npm which ships with EPEL for CentOS 7. I'm closing this and will take the bug to the EPEL package maintainer for npm.

The bower maintainers have withdrawn 1.7.3 for the moment until this is sorted out.


SLO test in kubernetes

Run SLO tests in kubernetes

[ ] With some special action
[ ] Auto (PR/Merge/Daily)

@rekby
CI example is here: https://github.com/ydb-platform/ydb-nodejs-sdk/blob/main/.github/workflows/slo.yml
Workload sample and description is here: https://github.com/ydb-platform/ydb-nodejs-sdk/tree/main/slo-workload
As you can see from the repository, you will need to create a directory for the workload package and provide a Dockerfile inside it.


Community section pagination

Community elements to include pagination of easy to navigate number

5/6 per page
should utilise current layout flex structure
Pure Javascript implementation, no frameworks or package installs

@manni8436 is tackling this one 🦾 Legend!

Look forward to the challenge 😄

@manni8436 I thought I'd just drop you a quick message. I've restructured the card generation code a bit and some of the changes could help with pagination. If you look at createParticipantesCards in main.js, it takes the list of participants and some other inputs and generates the cards to add them to the index page. It optionally takes an array of indexes which will define which participants to generate cards for.
So if you gave it an index array of [0,..,participants.length-1] it would generate cards for all participants. If however you gave it an array of [0,1,2,3,4] it would only show the first 5 participants, [5,6,7,8,9] then next 5 and so on.
Hopefully that's helpful :).


hotfix/v0.13.5

Change executing permissions to python scripts inside scripts/
Add Python shebang to get_org_code_numbers
Update README.md to reflect changes and bump version

Good to go after I solved the README.md TOC issue.


feat: rds recovery new instance from backup supported

这个 PR 实现什么功能/修复什么问题:
支持从备份新建实例

[x] 功能、bugfix描述
[ ] 冒烟测试
[ ] 单元测试编写

是否需要 backport 到之前的 release 分支:

release/3.4

/area region
/cc @zexi

Codecov Report

Merging #8876 (3970cfc) into master (f502c67) will increase coverage by 11.92%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #8876       +/-   ##
===========================================
+ Coverage    5.92%   17.84%   +11.92%
===========================================
  Files         817       88      -729
  Lines      127584     8847   -118737
===========================================
- Hits         7553     1579     -5974
+ Misses     119353     7095   -112258
+ Partials      678      173      -505

Flag
Coverage Δ

aFlag
17.84% <ø> (+11.92%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/util/billing/billingcycle.go

pkg/cloudcommon/db/virtualresource.go

pkg/compute/models/cloudaccount_saml.go

pkg/keystone/models/identity_provider.go

pkg/mcclient/options/k8s/configmap.go

pkg/multicloud/esxi/storage.go

pkg/lbagent/models/modelset.go

pkg/mcclient/options/dbinstance_skus.go

pkg/compute/models/initdb.go

pkg/util/fernetool/fernet.go

... and 711 more

Continue to review full report at Codecov.

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

/lgtm
/approve


Support optional resource bundles

This moves CocoaPods to use resource bundles, but fallsback for other
integration methods.

Could you elaborate on why the images conflict? I generally think that having them in a bundle for the cocoapods target is a good idea but would prefer keeping the framework targets as they are right now, where images are included directly rather than inside another bundle.

What about getting rid of the bundle target, adding a preprocessor definition to the framework targets and doing #if framework_definition_thing when loading the images, loading from the current bundle when it's true and loading from the resource bundle when it's not (cocoapods)? Should also work with carthage since that builds using the targets defined in the project file afaik.

That would be fine with me, we could also do it without the compiler flag if we were ok just adding a check for if the resource bundle we're trying to find is nil. I assume the overhead from that would be trivial

Neither solution is ideal but let's go with what you're saying. When updating your PR please also use the urlForResource method on NSBundle rather than working with the bundle URL directly.

Updated!

Thanks!
--
Keith Smiley

On May 1, 2018, at 03:03, Jonas Gessner<EMAIL_ADDRESS>wrote:
Merged #90.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Navigating between pages rerenders source page

Context
What's your version of nuqs?
^1.17.1

Next.js information (obtained by running next info):
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 23.3.0: Wed Dec 20 21:31:00 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T6020
Binaries:
  Node: 18.18.2
  npm: 9.8.1
  Yarn: 1.22.19
  pnpm: N/A
Relevant Packages:
  next: 14.1.3
  eslint-config-next: 14.1.3
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.4.2
Next.js Config:
  output: N/A

Are you using:

❌ The app router
✅ The pages router
❌ The basePath option in your Next.js config
❌ The experimental windowHistorySupport flag in your Next.js config

Description

Navigating between pages renders both the source page and the target page. I would expect only the target page to render.
Reproduction

// pages/a.tsx
export default function A() {
  const [page] = useQueryState("page");
  console.info("[page a]", page);

  return <Link href="/b?page=b">b</Link>;
}

// pages/b.tsx
export default function B() {
  const [page] = useQueryState("page");
  console.info("[page b]", page);

  return <Link href="/a?page=a">a</Link>;
}

Navigate to /a.
[page a] null

Click on the link to b.
...
[page a] b
[page b] b

Click on the link to a.
...
[page b] a
[page a] a

As you can see both source and target pages are being rendered when I would expect only the target page to render.
If I replace useQueryState with useRouter it behaves as expected. Either I have misunderstood something about nuqs or this is a bug.

The first render on page a is from the URL sync mechanism. For some reason, the pages router won't unmount the source page until after navigation has finished (possibly for transition purposes), and when nuqs picks up a URL change, it sends the info to all mounted hooks, which includes the previous page.
For the record, the behaviour in the app router is even weirder: the source page behaves as expected, but the target page mounts and renders first with no search params (as it was before clicking the link), then navigation occurs, and the state is updated with the correct values from the URL.
You can see all of this by enabling logging.

Ah, that is annoying. Would it not be possible to somehow attach the current pathname to the hooks (on mount) and then always compare the current pathname with the hook pathname before propagating changes? At least for the pages router. The app router behaviour seems more difficult to address.

This custom hook solves the problem for me:
export default function useSafeQueryState(key, options?) {
  const [state, setState] = useQueryState(key, options);
  const [safeState, setSafeState] = useState(state);
  const [pathname, setPathname] = useState<string>();
  const router = useRouter();

  useEffect(() => {
    // Set pathname on mount
    setPathname(router.pathname);
  }, []);

  useEffect(() => {
    function onRouteChangeStart(url) {
      // Clear pathname when starting to navigate to a different page
      if (!url.startsWith(pathname)) {
        setPathname(null);
      }
    }

    router.events.on('routeChangeStart', onRouteChangeStart);

    return () => {
      router.events.off('routeChangeStart', onRouteChangeStart);
    };
  }, [pathname, router.events]);

  useEffect(() => {
    if (
      router.pathname !== pathname ||
      state !== safeState ||
      JSON.stringify(state) !== JSON.stringify(safeState)
    ) {
      return;
    }

    setSafeState(state);
  }, [pathname, router.pathname, safeState, state]);

  return [safeState, setState];
}

@mateogianolio Thanks for this snippet. We were having a similar issue were every state on our website which used useQueryState() renders one more time with the default value before a page transition, resulting in a UI flash most noticeable on slower devices.
I hope something like this is fixed or added to a future release of the library.

This custom hook solves the problem for me:
export default function useSafeQueryState(key, options?) {
  const [state, setState] = useQueryState(key, options);
  const [safeState, setSafeState] = useState(state);
  const [pathname, setPathname] = useState<string>();
  const router = useRouter();

  useEffect(() => {
    // Set pathname on mount
    setPathname(router.pathname);
  }, []);

  useEffect(() => {
    function onRouteChangeStart(url) {
      // Change pathname when starting to navigate to a different page
      setPathname(url.split('?')[0]);
    }

    router.events.on('routeChangeStart', onRouteChangeStart);

    return () => {
      router.events.off('routeChangeStart', onRouteChangeStart);
    };
  }, [pathname, router.events]);

  useEffect(() => {
    if (
      pathname !== router.pathname ||
      state === safeState ||
      JSON.stringify(state) === JSON.stringify(safeState)
    ) {
      return;
    }

    setSafeState(state);
  }, [pathname, router.pathname, safeState, state]);

  return [safeState, setState];
}

EDIT: Accidentally reversed equality check in useEffect EDIT 2: Fixed setting of pathname after testing

Im using next 13.5.6 where asPath is actually what we want to use instead of pathname, so the hook became like this:

@hamzaboularbah interesting. I'm on 13.5.6 and I didn't have to change anything and it worked fine. What were you experiencing? Maybe I missed it. Thanks.

@jmnunezizu Oh my bad, the issue arises when you have dynamic routes.
Say for example you have a page /something/123/list with 123 as a dynamic id (let's call it somethingId), in this case when you call the hook in that route, the url from onRouteChangeStart  will be /something/123/list which means that the pathname state will also be that. But the router.pathname will be /something/[somethingId]/list.
So when you run pathname !== router.pathname will always be true and you will not update the state, hence using router.asPath that contains the actual values similar the the url string.
I mean in your case if you don't have a dynamic route with this hook, it should be fine since router.pathname and router.asPath will be the same.

@mateogianolio Thanks for this snippet. We were having a similar issue where every state on our website that used useQueryState() rendered one more time with the default value before a page transition, resulting in a UI flash most noticeable on slower devices.
I hope something like this is fixed or added on a future release of the library.

Hello ! do we have more information about it pls ? @franky47

For the reason why this happens, see this explanation by Tim Neutkens: https://x.com/timneutkens/status/1795809805774250336
Now for solutions in nuqs, I'd have to dive deeper into the issue, but I don't have a lot of free time at the moment.

Closing as the codebase (and Next.js itself) has evolved a lot since this was first opened. Feel free to reopen / comment if still relevant.


Update version check logic

VersionChecker only checks if the latest version equals to the version of GEI CLI a user is using .i.e. curVersion == latestVersion:
https://github.com/github/gh-gei/blob/baf18dc45e7264ca644bc2fd659372b09ac744a8/src/Octoshift/Services/VersionChecker.cs#L22-L30
This PR will change the logic to check if the current version is older than the latest version.

[ ] Did you write/update appropriate tests
[ ] Release notes updated (if appropriate)
[ ] Appropriate logging output
[ ] Issue linked
[ ] Docs updated (or issue created)
[ ] New package licenses are added to ThirdPartyNotices.txt (if applicable)

@timrogers I've updated RELEASENOTES.md 😄
Could you please review this PR again? 🙇
Thanks!


fix(41299): Support Intl.NumberFormat.formatToParts in ES2018

Fixes #41299

I have moved formatToParts to ES2018, and subsequently removed esnext.intl.d.ts, as it was empty after the migration. Everything seems OK, but I'd like a second set of eyes to check if I have completed all of the redirections and removals properly.

Thanks @Scharkee - I've taken this and merged it into 4.5 with https://github.com/microsoft/TypeScript/pull/45647


Document Ethereum signMessage part

Please add documentation of how to achieve equivalent of https://docs.ethers.io/v5/api/signer/#Signer-signMessage

Hi, thanks for the question!
Take a look at signing section here https://github.com/Tangem/tangem-sdk-android#sign
Also, we have a demo project https://github.com/Tangem/tangem-sdk-android/tree/master/tangem-demo
Let me know if you have other questions.

I'd like to add that you should provide 256 bit hash to sign with secp256k1 curve. For Ethereum you should hash your message with Keccak256.
Signature from card might be not canonical (have "high S" value) so you should also canonicalize it first, most crypto libraries can do that.


Check for multiple selectors with 'images' attribute

The default option for 'images' is for any img tag on the page. If I want to check against a background image, I need to set 'images' to the class of the elements that have a background image (or any images with that class).
Is there a way to tell BackgroundCheck to check against all img tags AND a certain class for background images?
One solution is to attribute a class for both img tags and elements with background images I want to check, but It would be better (cleaner) to use multiple selectors.

i need this one too. it would be great if it supports multiple selectors. i need it to select some child elements in my fixed navigation.

Check #40 there's a solution there.


Type Errors when copying the example

I've copied & pasted the example from the example folder but got some type errors from typescript from both the WriteRelationshipsRequest and checkPermissionRequest
However, if I add "as any" to the parameters just to get it to compile, the functions work as expected, so it appears to be just something wrong with the type defs.

The CheckPermissionRequest error

And the WriteRelationshipsRequest

@MarceloPeresToi can you provide the version of typescript you're using? I haven't been able to repro the errors using the latest released version (4.9.4)

Of course! My bad!
I'm using 4.5.2

Thanks! I tested again with 4.5.2 and still can't repro.
What's odd is that the error for the CheckPermissionRequest line in the original report shows Type: '{ oneofKind: undefined; }' is not assignable... but the line itself has oneofKind: 'fullyConsistent',.
To rule out IDE setup, can you try running tsc from the command line and see if you get the same errors?

Sorry, I've just realized 4.5.2 was on my other project. The one breaking is using 4.4.3.
I ran the tsc and got the same errors still

Just checked again and I'm using version 4.5.5. Running tsc got me the same errors

It's weird because I'm explicitly passing 'fullyConsistent' as value and for some reason it treat it as undefined...
consistency: v1.Consistency.create({
   requirement: {
     oneofKind: 'fullyConsistent',
     fullyConsistent: true,
   },
}),

Type '{ oneofKind: undefined; }' is not assignable to type '{ oneofKind: "minimizeLatency"; minimizeLatency: boolean; } | { oneofKind: "atLeastAsFresh"; atLeastAsFresh: ZedToken; } | { oneofKind: "atExactSnapshot"; atExactSnapshot: ZedToken; } | { ...; }'.

Property 'fullyConsistent' is missing in type '{ oneofKind: undefined; }' but required in type '{ oneofKind: "fullyConsistent"; fullyConsistent: boolean; }'.```

I've tried with typescript 4.5.5 and am also using authzed-node v0.10.0 but still no repro. I'm not seeing anything obvious to try next. Perhaps try deleting your node_modules directory and re-installing?


Reformatting a URL resulting in (link) not moving

PR where we're running into this: https://github.com/vercel/turbo/pull/8492

Specifically, we're trying to move the URL diagnostic to the bottom, but the (link) isn't coming down to format with the text output that's been moved.
Caveat: It's possible that I'm holding it wrong and not realizing it. I'm fairly new to Rust. I asked one of my teammates who is very Rustacean for help, though, and they weren't able to sort things out. It's entirely possible that this works and we weren't able to glean it from the documentation.

The code generating that is https://github.com/zkat/miette/blob/main/src/handlers/graphical.rs#L252-L268
I don't see an error code in your message: I think this is probably happening because you're not setting an error code, which miette kind of expects.
For example, in your case I would use #[diagnostic(code("invalid-env-prefix"), url("https://turbo.build/messages/invalid-env-prefix))] and that should do what you want?

ah, looking at your PR, yeah, I would just remove the url(...) from the diagnostic definition, if your entire purpose is to move things down into the help area.
If you want to then linkify that link yourself, you can just grab https://github.com/zkat/miette/blob/main/src/handlers/graphical.rs#L260-L264 to generate a terminal link, and use https://docs.rs/supports-hyperlinks/latest/supports_hyperlinks/ for detecting hyperlink support.

Sounds great and thank you for the help! Will give that a go.
Sorry for bringing in a non-issue! 😄 Will close.

No problem. Hopefully that's all it was. And don't worry about it: a footgun is a footgun. Sorry for the trouble it caused!


It lets me pass when it shouldn't

Challenge Waypoint: Inherit Styles from the Body Element has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11) AppleWebKit/601.1.56 (KHTML, like Gecko) Version/9.0 Safari/601.1.56.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

Hello World

@jebalert thanks for posting this issue!
Your code is correct and passes all the tests. Not sure what is this issue about so I'll close it. Feel free to reopen if you still experience problems, thanks.

Please review the Guidelines for Contributing, thank you!.


Uncaught TypeError: Cannot read properties of undefined (reading 'call')

git: https://github.com/afeichuanqi/webpack_federation
This error will be reported when using the federated module. Various methods have been tried, but they are useless

Solution: check whether commonjs is set in the module in tsconfig. If it is, it will not recognize import and cause the remote package to fail to load

Thank you for creating this issue. However, issues need to follow one of our templates so that we can clearly understand your particular circumstances.
Please help us by recreating the issue using one of our templates.
Please fill out all fields, we can't help you without it


Epson XP-800 not listed in the tool

MY model is not listed in your ink reset tool  Epson XP-800

Please check the README.


"Blocking a single IP address" docs should suggest to add "Allow All" rule also for IPv6

This article should also suggest an "Allow All" rule for IPv6.
I followed the Blocking a single IP address example and I had the issue that if users where using IPv6 address they were being blocked.
This article mentions that we should add an "Allow All" rule with <IP_ADDRESS>/0 for IPv4 but it should also mention that we should add an "Allow All" rule with ::/0 for IPv6.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d90bbf62-44f9-30a6-d6ea-bbf776f6efc5
Version Independent ID: b3961eac-6c70-b345-f48c-e4c0ec67059c
Content: Azure App Service access restrictions - Azure App Service
Content Source: articles/app-service/app-service-ip-restrictions.md
Service: app-service
GitHub Login: @ccompy
Microsoft Alias: ccompy

@donquijotedelamancha Thanks for the feedback! We are currently investigating and will update you shortly.

@donquijotedelamancha Thanks again for the feedback! As its mentioned "To learn more about CIDR notation, you can read Classless Inter-Domain Routing " Just to confirm if there is anything specific you are looking for.

@donquijotedelamancha  We will close this out but if you feel you have more to share on this issue please let us know.


Fix integration tests

Description

The Kubernetes Airflow provider and dbt Core released new versions in the last 24 hours, both of which broke Cosmos. This puts an upper version limit on the packages while we work to address those breaking changes.
Related Issue(s)

Breaking Change?

No
Checklist

[ ] I have made corresponding changes to the documentation (if required)
[ ] I have added tests that prove my fix is effective or that my feature works

This was released as part of 1.1.3:
https://pypi.org/project/astronomer-cosmos/1.1.3/
https://github.com/astronomer/astronomer-cosmos/releases/tag/astronomer-cosmos-v1.1.3


Provide a background job that tracks alive participants based on heartbeat endpoint.

Create a background job that iterates through all participants present in ParticipantsCache and calls their heartbeat endpoints (this should be paralleled).
Add two properties to config:

Number of times the service cannot respond.
Duration between calls.

Track the number of unsuccessful calls inside some counter and once it reaches the limit mark them somehow (but don't touch the cache) - in the future there will be an extra event saved in DB (ParticipantEventType#Joined / ParticipantEventType#Disconnected) based on which we will make a distinguishment (this is not in the scope of the task).
Even if the participant is marked as inactive, there still need to be calls performed in order to know when the participant went up again.
Provide unit tests. You may stub the HTTP client in the way I did with the ClientStub class and load balancers tests.
Not important information in terms of this task:
There is a huge problem in multi-node configuration with work distribution. The desired solution would split these heartbeat calls between multiple panda nodes. There are two potential solutions:
- master-slave configuration (I believe we can avoid this) - one node responsible for all health checks.
- master-master configuration - the problem with this approach is dealing with dynamic panda nodes scaling. Even if we track the number of running panda nodes and use e.g. modulo of participant ID (in order to pick participants the particular node needs to check ) we would still lose the counters state during adding/removing new panda instances. The potential solution would be to keep these counters in the database (together with the last update timestamp), if we would perform writes only on health check fail - there is a chance we won't kill the database. If we would add Redis one day - it can work even better than Mongo.

https://github.com/pandafolks/panda/pull/27 <- The first part, refactoring and preparing the code base for actual feature implementation


Firebase Auth integration testing

Integration tests for the coroutines wrappers around Firebase Auth.

Proposed strategy for tests is:

organise tests into separate instrumentedIntegrationTests gradle configuration/source set/tasks,
launch Firebase emulator from gradle before running above tasks
make API call to emulator to add/remove data between tests but keep emulator running
shut down emulator at end of tests

This should ideally be encapsulated into a gradle plugin, which would have the potential to be a useful, publishable independent project.
This is not a hard requirement for this issue, however.

Alternative to point 1 in the above strategy is to move the code to a new gradle module. The module would be an android library and the tests would be in the usual androidTests source set.
This would make these tests isolated and easier to run separately, giving more granularity in exactly which PRs they run on.
The downside is of course, more complexity in the build, but the plan is to modularize anyway eventually, so it's a step along that road.

These strategies need a way to pass the ports/host from the running emulators to the tests

A simpler, MVP version would be to move the tests to a new gradle subproject or source set, remove the test task from the subproject level check task, and have a simple shell script which starts the emulator, runs the tests just for that subproject, and stops the emulator.

Death by a thousand cuts as usual in Android dev; it's painful to use the com.google.gms.google-services plugin in more than one gradle project because it expects to find google-services.json in the root or source folder of each project it's applied to and those paths are hard-coded. The plugin converts the json into Android resources which are used when initializing FirebaseApp from a Context. This is needed in tests.
Options:

Copy google-services.json into each project that needs it. Fragile.
Move google-services.json into the root directory and use a gradle copy task to copy it into each project. Less fragile, but I don't like copying files into source directories or project directories.
Move the Firebase integration code back into the :app project and integration test it there. The tests need to be isolated somehow though, because they rely on the emulator running, and we don't want to wait for that to startup for other emulator tests.

It seems like there's a built-in, but not well documented solution: Android test modules! We can create a subproject that applies the com.android.test plugin and this project can then only run instrumented tests. The tests can be written against another module, and will use that module's resources. This article has more details, but there's not much more to know.

Just for documentation's sake, there's another way this could work: move google-services.json into an Android library project which applies the com.google.gms.google-services plugin. This should be the only subproject which applies this plugin and should contain the only copy(ies) of google-services.json. Any project that needs to use any Google services, particularly Firebase, depends on this Android library.
This is probably the way I'll need to end up doing it eventually, for better modularization, but the current setup is fine for now.

Closed by #129


Mention debian + ubuntu packages, link Minigalaxy

Maybe we should link to https://repology.org/project/lgogdownloader/versions as well, or embed their status image

I think using the badge below should be a better solution.
It does also provide information about arch linux and many more distribution.
Alternative the  badge can be used, which is much smaller.

I give up.


BitmapData.draw(drawable) should ignore drawable's transform

As reported by Guru AS3 on slack, and confirmed by me, the docs (and the Flash behavior) state that:

The source display object does not use any of its applied transformations for this call. It is treated as it exists in the library or file, with no matrix transform, no color transform, and no blend mode.

This means the below should draw a round circle into the Bitmapdata. It does on the Flash target, but it draws an oval in neko (I didn't check other targets.)
    var circle = new Shape();
    circle.graphics.beginFill(0xff0000);
    circle.graphics.drawCircle(25,25,25);
    circle.scaleY = 0.25;
    var bd = new BitmapData(50,50,true,0x333333);
    bd.draw(circle);
    addChild(new Bitmap(bd));

Well i found where it comes from: https://github.com/openfl/openfl/blob/develop/openfl/display/BitmapData.hx#L462
When i removed that copyMatrix it started working the same for both flash, html5 and windows.
I also found the commit of this particular feature: https://github.com/openfl/openfl/commit/4b7e96918ddb93251701a37d5b40674af815c543
by @jgranick. Not sure why you needed this but it really breaks the behavior on different platforms.
All that is just for simple matrix transform but there is also __worldTransform, __worldColorTransform and blend mode that are copied frome the original source.

The matrix is fixed in the latest development branch, still need to fix alpha and colortransform


Add TransformSequenceGenerator

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

Project coverage is 100.00%. Comparing base (89e77e5) to head (8b9e148).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #444   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          128       129    +1
  Lines         3902      3919   +17
  Branches       274       274
=========================================
+ Hits          3902      3919   +17

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


Testing labels

Details
Testing the labeler
Checklist

[ ] Validate name matches <platform>_<mitre att&ck technique>_<short description> nomenclature
[ ] CI/CD jobs passed ✔
[ ] Validated SPL logic.
[ ] Validated tags, description, and how to implement.
[ ] Verified references match analytic.

Labels worked on a fork! Woo!


Documentation site

To make Chameleon easier to use, I think a documentation site made with Vitepress would probably be best.
This could be done in either a docs/ directory in this repository or in a separate repository.

I am eager to contribute  , can I maintain or contribute with documentation part?

I am eager to contribute , can I maintain or contribute with documentation part?

Hi @aditya4567uk, this issue is very large and requires a lot of internal/operational knowledge of the project.
I am not sure this is the best issue for a new contributor. Additionally, I have already begun work on this issue but haven't gotten the time to complete it yet.
Thanks for your interest in contributing!


ENH: update package version

Hi! This is the friendly automated conda-forge-webservice.
I've started a version update as instructed in #143.
I'm currently searching for new versions and will update this PR shortly if I find one! Thank you for waiting!
Fixes #143

@conda-forge-admin rerender

@conda-forge-admin rerender

@conda-forge-admin rerender

@conda-forge-admin restart ci


Feature/accommodation time

Adds a base_extra_time column to Student so that professors can set a baseline extra time to give a student on all their assignments (e.g. for accommodation purposes)
Add join_date and exit_date to Student to capture if a student is in the class or not when an assignment is due for the purposes of generating grade reports
Change default -> server_default and enable compare_server_default so that alembic picks up on defaults in migrations
Add automatic type migration to alembic, which will catch and migrate if a column type is changed
Add uvicorn cli args to start.py, including reloader

looks like some of the same files are changed in versions as the other PR (makes sense), but I wonder what the effect will be.  If they are identical, the probably no conflict?


⚠ Hartman Foundation has degraded performance

In 014d8d9, Hartman Foundation (https://gordonhartman.com/) experienced degraded performance:

HTTP code: 200
Response time: 2394 ms

Resolved: Hartman Foundation performance has improved in f9191ac.


Comparison between vault-controller by Kelsey Hightower

Hello,
I read the design of both kubernetes-vault and vault-controller (https://github.com/kelseyhightower/vault-controller). It seems to me that both the approaches are pretty similar but I would love to get your feedback on what you think is better/worse in your approach as compared to Kelsey's?
Thanks

Hey,
Thank you for your interest in this project 😄
Here are the key differences between kubernetes-vault and vault-controller.

Kubernetes-vault uses the AppRole backend to authenticate against Vault. This means that the init container will need the roleID of the service and pair that with the secretID injected by kubernetes-vault to retrieve a token.
In contrast, vault-controller does not have any authentication.
With kubernetes-vault, access permissions to secrets are configured in Vault and for a given roleID, it is restricted to those policies.
In contrast, with vault-controller, as long as a pod has a valid policy name in the vaultproject.io/policies annotation, it can request a token with that policy. That means, it might not be possible to control/limit access to certain secrets from 1 place (vault).
Kubernetes-vault uses the kubernetes API to watch for new pods. This means that in order to run multiple instances of kubernetes-vault, we need to elect a leader using raft to watch for pods and use gossip to discover each other. Operationally, the system is designed to be simple to operate and run, but some might argue that leader-election and gossip introduces more complications into the software.
In contrast, vault-controller is stateless, since the init containers are responsible for making the call to the vault-controller.
In terms of communication between the init container and the controller, kubernetes-vault uses https (using a self-signed certificate generated within the init-container), while vault-controller uses http.
Kubernetes-vault supports metrics collection using Prometheus, where as vault-controller does not have any metrics collection facility.
Kubernetes-vault allows you to use TLS using Vault as the CA or some external CA in all the places where TLS is supported (communication with Vault, accessing the metrics endpoint), while everything is over http for vault-controller.

In my option, I believe kubernetes-vault to be a superior solution, as it is secure by default, allows operational visibility through metrics and uses the AppRole auth backend which is designed for these type of workflows.

Wow, thats a lot. Thanks for getting back with the details.
Can you also point out some things that you wish kubernetes-vault had that vault-controller has? In other words, it definitely looks superior but I am trying to figure out if both solutions are suited for specific use cases or is it just that kubernetes-vault has everything plus some more than vault-controller and it's only because of Kelsey that his repo has more stars/forks?

Kubernetes-vault definitely have more features compared to `vault-controller. The best way would be to test both out on a test cluster to see which one works best for you.
If you do run into any problems, feel free to open an issue :smile:

Awesome thanks! I will definitely do that :)


Introduce an option to configure where duplicated tabs open

Hi, I know this issue is closed, but I actually find it annoying. I liked that duplicate tabs would open at the end... not next to the one that is duplicated. Can you please provide setting, where this can be changed between two options?

Originally posted by @noheromen in https://github.com/microsoft/terminal/issues/14521#issuecomment-1654527281

Discussed as a team. We should make duplicate tab respect the existing setting to open new tabs at the current index or at the end of the list.

Hi @carlos-zamora, asking this just for my own clarity..we need to make the duplicate tab consider the existing setting called 'Position of newly created tabs', right? If yes, then perhaps we can rename it to 'Position of newly created and duplicated tabs' if that seems appropriate.


Save trace plots in calib/util_trace/ instead of raw/

I am not sure if it was intended, but all functions save their products in calib/ except for util_trace(). From my point-of-view it would make more sens to keep the raw/ directory clean and save the trace plots in calib/.

Thanks @avigan! That makes more sense indeed 👍


Add docblock deprecated method in InteractsWithInput

The function str is calling function string and makes the same functionality

No need to deprecate - it's just an alias.


push() with useDispatch hook semi-functional with react-redux-firebase

Relevant packages below:
 "connected-react-router": "6.0.0",
 "firebase": "^7.14.5",
 "history": "^4.10.1",
 "react": "^16.13.1",
 "react-dom": "^16.13.1",
 "react-firebaseui": "^4.1.0",
 "react-redux": "^7.2.0",
 "react-redux-firebase": "^3.4.0",
 "react-router": "^5.2.0",
 "react-router-dom": "^5.2.0",
 "react-scripts": "3.4.1",
 "redux": "^4.0.5",
 "redux-firestore": "^0.13.0",

What's occurring
Using dispatch(push('/url')) does not redirect to a new page unless used within a callback of the StyledFirebaseAuth ui component.
The component that works after successful login looks like this:


Hot-update.json 404.

<EMAIL_ADDRESS>Environment
kx yapily-ui-dashboard-698f774889-bgxdj sh
/src $ npx nuxi info
npx: installed 1 in 1.85s
Nuxi 3.2.3                                                                                10:17:58
10:17:59
RootDir: /src                                                                                10:17:59
Nuxt project info:                                                                                10:17:59

Operating System: Linux
Node Version:     v14.21.1
Nuxt Version:     2.16.1
Nitro Version:    -
Package Manager<EMAIL_ADDRESS>Builder:          webpack
User Config:      ssr, head, css, buildModules, env, publicRuntimeConfig, plugins, modules, styleResources, telemetry, router, serverMiddleware, build, watchers
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Reproduction
Every deployment now. npm run build
Describe the bug
Basically can't find this file
/_nuxt/171b24e9608b53bc36dd.hot-update.json
The filename changes with each build / deployment but it always seems to be this file /_nuxt/ x.hot-update.json
Additional context
(App is behind a VPN so can't provide access)
Logs
No response

Would you provide a reproduction? 🙏

Hi. We can't reproduce it locally. Only on Dev. Any files I can add here that will help?

I'm confused, because you said that "the filename changes with each build / deployment". I was assuming that this issue is present in production, but you're saying you can only reproduce in development?

Hey @danielroe I got a reproduction of this  here
https://github.com/nuxt/nuxt/discussions/19978

using NODE_ENV set to production stops the reloading, but we want to deploy this in development environment and NODE_ENV is set to development

Are you running nuxt build with NODE_ENV set to development?

Yeah it's set to development for our development build,


rbenv local: How to check .ruby-version automatically

In PowerShell, there seems to be no hooks for cd or other functions, cmdlet to work.
How should our rbenv check the .ruby-version every time you change into a directory?
Do we have to implement rbenv rehash like in rbenv ?

Yes, I have come up with a good solution just like rbenv rehash, wait me to implement now

Done. Just the same way as rbenv
But not too gracefully, because we are on Windows!

I've completely resolved this issue by using fake ruby.exe and shims


Windows Store port?

Hi, I'm using your emulator to test my bots, but the electron apps update style is really painful. It would be awesome if you could port it in the Windows Store with the desktop bridge, to make it easy to download and update it

Thanks for the good suggestion @manuelelucchi.

No problem!

Hi @manuelelucchi ,
Thanks for the suggestion, but we currently have no plans to port the Emulator to the Windows Store.


GH-43183: [C++] Add date{32,64} to date{32,64} cast

Rationale for this change
This one seems to be missing, see https://github.com/apache/arrow/issues/43183

What changes are included in this PR?

Are these changes tested?

I'm not sure what the best place is to test this, please advise
Are there any user-facing changes?

GitHub Issue: #43183

@Fokko Thank you for your effort!
I think LGTM. For more detailed review, @kou (reviewed similar casting logic implementations I did before) or @felipecrv might be able to take a look.

Thanks for jumping in here @llama90 appreciate it 👍


Feature Request: Change visible portion of the map

I would like to change the visible portion of the map after the map initially rendered.
https://github.com/Nicolapps/mapkit-react/blob/main/support.md#visible-portion-of-the-map-1
One example where this could be useful:
I render a map with only one marker, which is draggable.
On dragEnd, I would like to update the center of the map to be the position of the moved marker. Also I might want to adjust the zoom level and zoom back to the default level after the user finished moving the marker. I would like to also have the option to decide, if this changes happen with a animation of not.
https://developer.apple.com/documentation/mapkitjs/map/2973936-setregionanimated

I have the same need in one of my projects (CMU Map), and I implement it using the map ref:
https://github.com/Nicolapps/cmumap/blob/9c056c88687b3da5f27bf0ccb1fa7c2ea6213105/src/pages/[[...slug]].tsx#L71
This works well for my use case. One other way that this could be implemented would be for mapkit-react to export its own functions through the ref, alongside the mapkit.Map object, but this would likely necessitate a breaking API change on our side (users of mapkit-react would need to change the way that they access the mapkit.Map ref).
Do you have some needs that would better be addressed if mapkit-react exposes its own methods for some actions, instead of letting the user use the ones from MapKit JS? One thing that would be better is if there is a need some day to support React Native through the same API, but this is not something that exists currently.

Hi @Nicolapps thank you so much for your example! This does indeed looks quite nice already. However, working with states instead of refs is in lot cases more straightforward and improves readability of large code bases a lot. Therefore I would prefer, to add a option to directly allow passing the properties to the  and listen for their updates.
I did a sample implementation in #50, not saying that this is the way to do, though you get a good idea, of how I thought to implement this. The regionUpdateAnimates is definitely something we could discuss, and also the usage of the functions in the useEffects, but I would prefer having something quite similar.

This works also:
mapRef.current?.setCenterAnimated(new window.mapkit.Coordinate(selectedPoint.lat, selectedPoint.lon));


Add return_different option to VOCDetectionDataset

Merge after #124
A boolean array that indicates difficulty of a bounding box is necessary for evaluation.
I added an option to make VOC Dataset to return the difficulty array.

The title of this PR should be Add return_difficult option (typo)?

Right.
Thanks for pointing that out.

LGTM


submit a PR at flipace/lovli.js

https://github.com/flipace/lovli.js looks like a starter kit that could be a good fit for redux-bootstrap.

Awesome :smile: sorry about not doing a lot of work on the project over the last couple of weeks inversify is taking all my time but I'm working on a chrome app that uses redux-bootstrap. Once I'm done I will use a lot of the code in the redux-bootstrap example app.

Closing this issue for now. I'm working on an updated example with webpack will be available soon.


Feature/zonal partitioning

Merges in master branch
Fixes minor merge-conflicts in config-store

Pull Request Test Coverage Report for Build 0187cf68-514d-4086-b38e-b09d17ce1c4a

379 of 565 (67.08%)  changed or added relevant lines in 25 files are covered.
86 unchanged lines in 20 files lost coverage.
Overall coverage increased (+0.1%) to 57.206%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

common/persistence/client/bean.go
2
3
66.67%

common/persistence/client/factory.go
4
6
66.67%

common/persistence/nosql/factory.go
8
10
80.0%

common/persistence/nosql/shardingPolicy.go
52
54
96.3%

common/persistence/sql/factory.go
3
5
60.0%

common/dynamicconfig/configstore/config_store_client.go
11
14
78.57%

common/elasticsearch/interfaces.go
10
13
76.92%

common/persistence/persistence-tests/matchingPersistenceTest.go
0
4
0.0%

service/matching/matchingEngine.go
16
20
80.0%

common/persistence/sql/sqlConfigStore.go
9
15
60.0%

Files with Coverage Reduction
New Missed Lines
%

common/persistence/client/bean.go
1
58.0%

client/history/client.go
2
38.1%

client/history/metricClient.go
2
45.3%

common/membership/hashring.go
2
83.54%

common/persistence/nosql/nosqlHistoryStore.go
2
69.93%

common/task/weightedRoundRobinTaskScheduler.go
2
89.64%

service/history/execution/mutable_state_builder.go
2
68.77%

common/cache/lru.go
3
90.73%

common/persistence/nosql/nosqlplugin/cassandra/workflow.go
3
59.1%

common/persistence/statsComputer.go
3
93.57%

Totals

Change from base Build 0187c55e-68ca-461b-9a6b-40bb530e98a5:
0.1%

Covered Lines:
86701

Relevant Lines:
151559

💛  - Coveralls


Demo update safari fix

#303

Codecov Report

Merging #316 (f9e48dc) into demo-update (9264f1c) will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           demo-update     #316   +/-   ##
============================================
  Coverage        77.96%   77.96%
============================================
  Files               84       84
  Lines             2369     2369
  Branches           404      404
============================================
  Hits              1847     1847
  Misses             421      421
  Partials           101      101

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


Faster elfeed-search-update

Save the value of the corresponding elfeed-entry in text-property and
only call elfeed-search-print-entry-function when the entry has changed
or we have encountered a new entry.
On my system, with ~7000 elfeed-search-entries this reduces the time of
elfeed-search-update with a small number of changes from ~0.70s to ~0.03s.

In current state, if window-width or any parameter for the elfeed-search-print-entry-function has changed in the meantime, the un-updated rows and updated rows will look inconsistent. For such a situation, I have added an option for a 'reset argument which clears the buffers before proceeding.


TestDataObject - equals() method "behaviour" + hashCode()

When trying to upgrade vertx-lang-groovy to 2.5.x, some tests show java.lang.AssertionError: null because of the equals() method of TestDataObject.
Currently the method is like this:
  @Override
  public boolean equals(Object obj) {
    if (obj instanceof TestDataObject) {
      TestDataObject that = (TestDataObject) obj;
      return Objects.equals(foo, that.foo) && bar == that.bar && wibble == that.wibble;
    }
    return false;
  }

The Assertion passes if the method is changed to something like this:
  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    TestDataObject that = (TestDataObject) o;
    return getBar() == that.getBar() &&
      Double.compare(that.getWibble(), getWibble()) == 0 &&
      Objects.equals(getFoo(), that.getFoo());
  }

Also, implementing hashCode() to TestDataObject would be interesting because of the use of Sets in tests.

why is it passing with this method instead of the actual one ?

Digging a little more, I realized that equals() wasn't the problem, but the absence of hashCode() method. CollectionTCKImpl uses LinkedHashSet, and without hashCode(), contains(Object o) returns false even if objects are equals due to internal behaviour of (Linked)HashSet.
Basically is because of Java equals() and hashCode() Contract.

Just tested with:
  @Override
  public boolean equals(Object obj) {
    if (obj instanceof TestDataObject) {
      TestDataObject that = (TestDataObject) obj;
      return Objects.equals(foo, that.foo) && bar == that.bar && wibble == that.wibble;
    }
    return false;
  }

and:
  @Override
  public int hashCode() {
    return Objects.hash(getFoo(), getBar(), getWibble());
  }

And it worked. So equals() doesn't necessarily needs to be updated. Current code and the one I suggested are fine. But hashCode() is needed.

can you make a PR for hashcode ?

PR submitted
https://github.com/vert-x3/vertx-codegen/pull/223


BugFix: Changes made in style.css to follow vocabulary css style rules.

Fixes

Fixes #289 by @SisiVero

Description
There have been changes made in style.css file to follow the correct styling methods mentioned in vocabulary.css.
Tests
1.Open the style.css file.
2.Check the styling method:
i)There are two different sections divided by an empty line
ii)First section contains layout styles while the second one contains visual styles.
Screenshots
These screenshots represents only a small section of code where the changes have been made.
Before:

After:

Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main or master).
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no
visible errors.

Developer Certificate of Origin

For the purposes of this DCO, "license" is equivalent to "license or public domain dedication," and "open source license" is equivalent to "open content license or public domain dedication."

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

@SumaiyaaRq If you comment on the original Issue I can assign you!

@possumbilities Thanks for reviewing & approving!


Components like fidicials, symbols, and other components marked as exclude from BOM being included in BOM

In the last few boards I have submitted to PCBWay it is including things like fidicials, netties, mounting holes, testpoints, and other items that should not be included in the BOM. In fact they have the attribute set "Exclude from bill of materials" in the footprint.
These need to be honored by the plugin since I kept getting questioned as to if they're not to be included or not.

Hi,We have just updated the latest version of the kicad plug-in, which can obtain all component information. You could try it.
If you still meet problems,please send mail to<EMAIL_ADDRESS>Regards

here's a fix: in thread.py after "for i, f in enumerate(footprints):"
add "if f.HasProperty('exclude_from_bom') : continue"
(as this is python code this should be indented using spaces to the save level as the next line)

Using KiCad 8.0.4, and pcbway plugin v1.0.0, the items marked exclude from BOM are still included. This is causing time lost in questions about parts not required.


[SR-11542] bad diagnostic when function invoked with trailing closure syntax and default args after closure

Previous ID
SR-11542

Radar
rdar://problem/55806391

Original Reporter
@weissi

Type
Bug

Additional Detail from JIRA

Votes
0

Component/s
Compiler

Labels
Bug, DiagnosticsQoI

Assignee
@gregomni

Priority
Medium

md5: 3a7dc68bd8326dd7437f59d25f32964e

Issue Description:
The following program might not be quite correct (because the trailing closure syntax is used but it's not actually the last argument)
func test(_ body: () -> Void, file: StaticString = #file, line: UInt = #line) {}

test {}

The diagnostic however is pretty bad:
$ swift repro.swift
repro.swift:3:1: error: cannot invoke 'test' with an argument list of type '(() -> ())'
test {}
^
repro.swift:3:1: note: expected an argument list of type '(() -> Void, file: StaticString, line: UInt)'
test {}
^

it claims that it can't invoke test with an argument list of () -> () which totally works though 🙂

Swift 5.10, this now compiles successfully, as the combination of trailing closures and arguments with defaults are handled better.


Revert "[GPII-4068]: Improve CouchDB rollouts with Istio's retry policy, lifecycle hooks"

Reverts gpii-ops/gpii-infra#489.
Changes from my PR does not seem to be related, but looks like it made Istio 404 issues much worse:
https://gitlab.com/gpii-ops/gpii-infra/-/jobs/299639651
https://gitlab.com/gpii-ops/gpii-infra/-/jobs/300369074

LGTM

LGTM


siac renter load does not exist despite docs saying it does

https://github.com/NebulousLabs/Sia/blob/861c9ecb7b88864daadd11cbfcd851464d6308d9/siac/README.md#renter-tasks
Just scroll down a bit and you'll find that it says there is a siac renter load is a command. This does not exist in the latest Sia client I just downloaded from here
I really need this feature. It seems like it may have existed before.

For others who are looking for a way to download from another machine:
You have to take the entire renter folder and copy that to the other machine. There are plans to make a better way to do this later, however, this is the only way for now.
Just ping me if you have any questions.

I've updated your comment to link directly to the relevant section, and using a commit hash so that it won't change even if we update the docs later.
This functionality did indeed exist a while back. We removed it because we wanted to rethink how to best implement file sharing. It's definitely a priority for us, but there is much work to be done before it's ready for release.


Extending custom prefix autocompleter

I took your advice and used the custom autocompleter example (code below). Now I can complete the sesame prefixes in the PREFIX section.
There are a some issues I could use some help on still.

I want to refresh the prefixes each time I open a tab, or when the endpoint changes. Prefixes are associated with a repository which can vary from query to query, and namespaces might be updated periodically.

I could have sworn there was some version of YASQE where if I typed a prefix in the query the prefix definition was added to the PREFIX section automatically. This is not happening. done

I would like to complete prefixes used in the query. So I type "?foo a too" and it offers "tooth:" (and if I accept adds it to the prefixes section). done

Best,
Alan
```javascript``
YASGUI.YASQE.defaults.sparql.callbacks.success =  function(data){console.log("success", data);};
/* Adapted from https://gist.github.com/LaurensRietveld/3549c02f5727346ae89c#file-init-js to get
prefixes from a sesame endpoint */
/**

We use most of the default settings for the property and class autocompletion types. This includes:

the pre/post processing of tokens

detecting whether we are in a valid autocompletion position

caching of the suggestion list. These are cached for a period of a month on the client side.
*/

var getAutocompletionsArrayFromSesameCsv = function(csvString) {
var completionsArray = [];
csvString.split("\n").splice(1).forEach(function(url) {//remove first line, as this one contains the projection variable
url=url.replace("\r","");
headerprefix = url.split(",")
completestring= headerprefix[0] + ": <" + headerprefix[1] + ">";
completionsArray.push(completestring);
});
sorted=completionsArray.sort();
minusfirst=sorted.splice(1);
return minusfirst;
}
var customPrefixCompleter = function(yasqe) {
//we use several functions from the regular prefix autocompleter (this way, we don't have to re-define code such as determining whether we are in a valid autocompletion position)
yasqe.on("change", function() {
YASGUI.YASQE.Autocompleters.prefixes.appendPrefixIfNeeded(yasqe, 'customPrefixCompleter');
});
var returnObj = {
// we don't complete unless we've typed at least 3 characters,
// are not in the middle of a token, are not immediately after
// a token which has invalid characters for a prefix or we're
// in whitespace.
isValidCompletionPosition: function(){var token = yasqe.getCompleteToken();
return(token.string.length > 2 &&
!(token.type == "ws")&&
!(yasqe.getCursor().ch < token.end) &&
token.string.match(/^[0-9A-Za-z_]+$/)
)},
// token.state.queryType lets us know whether we are in the
// query body or before it. If before we do the usual
// otherwise don't show or include the URI in the completion.
postProcessToken: function(token,suggestedString)
{ if (token.state.queryType)
return(suggestedString.replace(/:.*/,":"))
else
return(suggestedString)
},
preProcessToken: function(token) {return YASGUI.YASQE.Autocompleters.prefixes.preprocessPrefixTokenForCompletion(yasqe, token)},
appendPrefixIfNeeded: function(yasqe, completerName) {return YASGUI.YASQE.Autocompleters.prefixes.appendPrefixIfNeeded(yasqe,completerName)} }
//In this case we assume the properties will fit in memory. So, turn on bulk loading, which will make autocompleting a lot faster
returnObj.bulk = true;
returnObj.async = true;

//and, as everything is in memory, enable autoShowing the completions
returnObj.autoShow = true;

returnObj.persistent = "customPrefixes";//this will store the sparql results in the client-cache for a month.
returnObj.get = function(token, callback) {
$.ajax({
    data: {},
    url: "http://<IP_ADDRESS>:8080/openrdf-sesame/repositories/OHDRL20150416/namespaces",
    headers: {Accept: "text/csv"},//ask for csv. Simple, and uses less bandwidth
    success: function(data) {
	callback(getAutocompletionsArrayFromSesameCsv(data));
    }
});
}
return returnObj;

}
//now register our new autocompleter
YASGUI.YASQE.registerAutocompleter('customPrefixCompleter', customPrefixCompleter);
YASGUI.YASQE.defaults.autocompleters=['customPrefixCompleter']

Ah, good to see the other issues are resolved. About the first one: there is a public yasqe command (not documented I see), which initializes the autocompleter. You'd probably get away with simply re-initializing the autocompleter when the endpoint changes:
yasqe.autocompleters.init('customPrefixCompleter',customPrefixCompleter);  (this command is already automatically set to execute when you open a new tab)
I also suggest to remove the returnObj.persistent = ... line, considering yasqe instances won't share the same autocompletions.
As a result, on page load, the autocompleter always executes the get request (contrary to fetching it from localstorage if they're stored there).


Error

Hello, i try this code but i have a error at the moment send mail
{"type":"error","response":"Allowed only XMLHttpRequest."}

Hi @ocerecedo.
This script works only with AJAX requests. You can remove AJAX check from these lines https://github.com/nk-o/ajax-contact-form/blob/master/ajax-contact-form.php#L64-L67


Update build setup

Added .editorconfig settings file to auto-configure editors to use spaces, remove trailing spaces, etc.
Also, I am moving the vendor.js scripts over to the WordPress theme. This will allow bower and grunt to manage all version updates and building in one locations with the other dependencies.

Also, see incoming PR on ASU-Web-Standards-Wordpress-Theme for the other half of this updated build process.

Ugh, Ok. So moving those dependencies to the WordPress theme breaks our tests. I need to rethink what I am doing here.

We need these vendor files as part of the ASU Web Standards, more than just the WordPress theme will need them. So because of that they need to stay here, now there is totally room for improvement considering they are right now just all statically put together in one file.

your editor config stuff should probably get merged in if you want to seperate that out into another PR 👍


[Collaboration] Weapon Statistics in Player Guide

Feature: Optimisation and Enhancement of Crafting System + Additional Features
Description
Implement weapon statistics in player guide screen.
Milestones
List of steps that need to be completed for this task.

[x] General Concept/Design (Oct 9th)
[x] User Testing (Oct 10th)
[x] Updating Design Based on Feedback (Oct 11th)
[x] Final Iteration/Implementation (Oct 12th)

Completion Deadline: Oct 12th
Documentation
TBA
Members

Enoe (Jolo) Gapusan (@jgapusan)
Lachlan Benson (@LachlanBenson)

hey @LachlanBenson where would i be able to find the most up to date statistics for all your weapons?

@jgapusan You should be able to find the most up to date weapon statistics in
source/core/assets/configs/Weapons.json
This contains all of the statistics you should require for the player guide.
Is this what you were after?

@LachlanBenson yea that looks about right!

i didn't include craftable information but does this look ok ?

I think this should be fine because there is 'how to craft' features implemented into the crafting menu already so we don't really have a need to double up on those instructions here.
Thanks for implementing this for us!

no worries thx for your help !


Docker: Explain how to use cockroach commands from CLI

I wish you guys can update the tutorial for ppl who have instantiated CRDB in docker or in any case where they aren't able to install cockroach globally to leverage the cockroach command.
For Ex)
cockroach user set maxroach => is also equivalent as docker exec -it roach1 ./cockroach user set maxroach
or even get into bash by docker exec -it roach1 ./cockroach bash
Thanks :)

Thanks for opening this issue, @lykfe. We're working on a Windows binary, which will drastically simplify the usage/deployment process on Windows. I'm optimistic that'll happen soon, but if it doesn't, we'll be sure to add this additional guidance.

Windows binary is available at this point. We don't have plans to expand the build an app tutorials to cover docker guidance.


Add more content in HomePage

Is your feature request related to a problem? Please describe.
Yes
Describe the solution you'd like
Adding more content to the homepage attract the student or the viewer to get in touch with the counsellor
Describe alternatives you've considered
Adding similar content related to the counsellor's
Please assign me this issue under GSSOC'23. So, that I can start working on it.

I can help you add more content in your home page related to counselor's so assign me this issue under GSSOC'23 so that i can
start working on it

please assign me this issue under GSSoC'23.


Error in YPImagePickerExample for swift 5

Showing Recent Messages
:-1: Multiple commands produce '/Users/esmaeil/Library/Developer/Xcode/DerivedData/YPImagePickerExample-fmxnsnafskomcqhhrpyzocijrwuj/Build/Products/Debug-iphoneos/YPImagePickerExample.app/Frameworks/Stevia.framework':

Target 'YPImagePickerExample' has copy command from '/Users/esmaeil/Downloads/YPImagePicker-master/Carthage/Build/iOS/Stevia.framework' to '/Users/esmaeil/Library/Developer/Xcode/DerivedData/YPImagePickerExample-fmxnsnafskomcqhhrpyzocijrwuj/Build/Products/Debug-iphoneos/YPImagePickerExample.app/Frameworks/Stevia.framework'
That command depends on command in Target 'YPImagePickerExample': script phase “[CP] Embed Pods Frameworks”

Solved error

What did you do to solve the error @momeni1367 ?

This should be solved by now :) Feel free to reopen if needed.

how did u solved this?


SOCKS5 outbound (server)

Thank you for your fantastic work! SOCKS5 outbound (server) feature is working prefectly!


Add some kind of activate to do both select and connect in one go similar to web3React

Is your feature request related to a problem? Please describe.
The select/connect API is a bit frustrating if wou need to do both in 1 function. Because of this, to work with the library, you need to give up a lot of control.
Describe the solution you'd like
Similar to Web3React, I suggest adding some kind of activate function where we could just pass the wallet, and the promise returns the activated walletAdapter.
const adapter = await activate(phantomWallet);

const { publicKey } = adapter;

The benefit of having something like this, is that everything would still be managed through and in the logic of the hooks, while the connect can just happen async while returning the user info and adapter.
Web3React Source: https://github.com/NoahZinsmeister/web3-react/blob/be1a23e290f208e5edc7490b7010e5a9561448e6/packages/core/src/manager.ts#L122
Describe alternatives you've considered
/
Additional context
I have tried this in our codebase, and it seems to work pretty nicely. If I have time, I might clean this up and write a PR if this is something that you guys like to see.

Yeah, I'd like to see how you've implemented this. And just to check, have you tried using autoConnect in the React context?
web3-react doesn't really have a concept of "selecting" a wallet, so it's not clear to me yet what problem you want to solve for.

@Superjo149 do you have any more info on this?

Closing for now since there's been no response. Please comment if you want to reopen!


Excessive warnings with Grid Search

Suppress excessive warnings when using area under curve metric for grid search (this metric gives much better results).
It's normal that some parameter combinations during the grid search yield ill-posed training sets, but this generates a lot of warnings.
Sklearn resets the warning filters so this is very tricky.

Manuel suggested:
Instead of sklearn try another hyper-param optimizer (hyper-opt, optuna)


Invalid id: undefined on v3_accounts channel

Hello, i am trying to use the v3_accounts channel. The endpoint i use is: wss://api.dydx.exchange/v3/ws
The data i send is:
{
"type":"subscribe",
"channel":"v3_accounts",
"accountNumber":"0",
"apiKey":"ABC",
"passphrase":"DEF",
"timeStamp":"2022-12-06T15:07:09.597Z",
"signature":"DADASDASDASDADS"
}

The signature is made with theese information:
2022-12-06T15:07:09.597ZGET/ws/accounts
And signed with the api secret. But the result i get is:
{"type":"error","message":"Invalid id: undefined","connection_id":"3be1f960-05a0-4ccb-a2a4-a67055fd9e47","message_id":1}
Did i miss something or is "Invalid id: undefined" an internal error?
I left the connection_id in case you want to review internally.

running into this same issue.
any success?


Allow koji-related testing when koji module not installed

This is what I meant earlier @pbabinca - now the tests/plugins/test_koji.py test runs.

Could tests/koji/__init__.py be mocked with flexmock? If not, I'm fine with merging this. @bkabrda can you take a look please?

AFAIK there's no way to improve this with flexmock, I would do it like this as well. So LGTM.

It seems like you can't flexmock() anything that doesn't already exist in some form. The idea here is to make it exist in the most minimal form, and flexmock() it to use what we want while testing.

LGTM then


Transform clusterRadius from meters to pixels

Hi, I'm using your plugin 'markercluster' and it works great
But I have a question regarding the maxClusterRadius option
Is there any way it can be converted to meters,
Or can I just pass meters and convert it to pixels,
I have read somewhere that I would need to make, inverse of map.distance() - get the map width from map.getSize(), calculate the length (in meters) of a horizontal line crossing the map center and do a bit of math to get the meter-to-pixel ratio for the current zoom level
Could someone help out a bit?
How to reproduce

Leaflet version I'm using: 1.3.4
Leaflet.MarkerCluster version I'm using: latest

Seriously, pal?
https://gis.stackexchange.com/questions/377033/leaflet-geodata-marker-clustering-and-intersection

Sorry, I was searching for this urgently so thats why I posted it multiple times :/


Hosted Agent ran longer than the maximum time of 60 minutes

@setuc @cindyweng while running 3rd pipeline(Inner / Outer Loop: Moving to Production - Azure DevOps) Showing error The job running on agent Hosted Agent ran longer than the maximum time of 60 minutes while Test deployment. What should i do ? any suggestions ??
Thank you.

@lokierao Can you connect with me offline on this? We might offer a solution for you.

@setuc : Sure I can connect offline. Please send me a meeting invite to<EMAIL_ADDRESS>

Hi @setuc , Sure we will connect offline.


First delegation property based on STS generation

Actual generators aren't implemented for now

@dnadales please also have a look as you have the most experience with STS - based properties. I might be doing things in a too complicated way

Oh, btw @mgudemann @JaredCorduan don't forget to add a property to check:
hk ∈ getStDelegs d ==> Map.lookup (mkRwdAcnt hk) (getRewards d) == Map.lookup (mkRwdAcnt hk) (getRewards d')

We have an operator for logical implication BTW, so we might want to use that in the future.


[macos] "Enable Trash" setting only works if "Confirm Delete" Setting is enabled

VSCode Version: Version 1.28.2 (1.28.2) 7f3ce96ff4729c91352ae6def877e59c561f4850
OS Version: MacOS Mojave 10.14.1 (18B75)

Steps to Reproduce:

Go to settings, make sure Enable Trash is checked
Also make sure Confirm Delete is not checked
Use cmd + delete to delete a file in the explorer
Notice the dialog with Delete Permanently working comes up.
Click Delete Permanently and notice the file doesn't go to the trash.
Go back to settings and check Confirm Delete in the Explorer section
Delete a file
Notice the different dialog notifying about sending the file to the trash.

Both of these settings need to be enabled on MacOS to have files go to the trash which seems a bit misleading at best, but I did just lose a day's worth of work because of this.  My Enable Trash Setting was enabled, but my file was deleted permanently.

Does this issue occur when all extensions are disabled?: Yes

Related issue: #32078

@cgoy-nvidia I cannot reproduce this with your steps, with explorer.confirmDelete: false I am never seeing a dialog popping up when deleting from the explorer via keybindings. That is the expected behaviour, no?

Suppose no.  Sorry for the noise.


bug: Paragraph text not wrapped, no horizontal scrollbars with long generated code lines

Cody Version
6.0.0-nightly
IDE Information
IntelliJ IDEA 2024.1.1 (Ultimate Edition)
Build #IU-241.15989.150, built on April 29, 2024
Licensed to Sourcegraph / Dominic Cooney
Subscription is active until February 28, 2025.
Runtime version: 17.0.10+1-b1207.14 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.4.1
Kotlin analyzer version: 2.0.0-ij241.15989-9
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 12
Metal Rendering is ON
Registry:
ide.experimental.ui=true
markdown.open.vcs.log.link=true
llm.generate.commit.summary=true
Non-Bundled Plugins:
com.jetbrains.space (241.15989.9)
google-java-format (<IP_ADDRESS>)
DevKit (241.15989.199)
io.intellij-sdk-thread-access (2.2.1)
com.intellij.ml.llm (241.15989.156)
com.jetbrains.packagesearch.intellij-plugin (241.0.9)
com.sourcegraph.jetbrains (6.0.0-nightly)
Kotlin: 241.15989.150-IJ
Describe the bug
When Cody generates long lines of code, the following paragraphs wrap at that extended line length so you can't read them. There's no horizontal scrollbar so you can't scroll to see them.

Expected behavior

Paragraphs wrap to the width of the sidebar
There's a horizontal scrollbar, or wrapping?, so you can read the generated code

Additional context
No response

Looks like our Markdown renderer has a problem with code blocks inside a list. Here's an example:

Show me a bulleted list of operations to implement Forth, and under each bullet show me some Java code illustrating implementation approaches.

Implementing Forth, a stack-based programming language, in Java can be achieved by following these operations:

1. **Stack Implementation**
   - Use a `java.util.Stack` or create a custom stack implementation.
   - Example using `java.util.Stack`:
     ```java
     Stack<Object> stack = new Stack<>();
     stack.push(10); // Push value 10 onto the stack
     Object value = stack.pop(); // Pop the top value from the stack
     ```

Here's another prompt from @vdavid which produces the scrolling problem without a bulleted list.

Is this issue being actively worked on?


How to import 3D models onto a webpage and apply multiple textures on the fly

Hi
I am looking to build something on the lines of the link below-
https://www.kajariaceramics.com/tile_visualizer/ceramic_south.html
The user can change various floor and wall textures. I have been looking to use A-Frame and Three.js for this but i have failed. Can anyone guide me on the process of building something on these lines?
We have a design team that would work and create 3D designs. We would like to import them onto the webpage and allow users to edit them.

I can't help you with this here – I'd suggest the A-Frame Slack or the A-Frame tag on Stack Overflow.


Documentation: theming concerns

For non-RHElement themes like Bootstrap, we need to advise developers and themers to manage their own link colors. We noticed that link colors on saturated backgrounds can be hard to see based on the default blue link color provided by the browser, or theme, or Bootstrap, etc.
This looks pretty gross

We need to advise developers to include styles like this to make the links look better.
[color="dark"] a,
[color="darkest"] a,
[color="complement"] a,
[color="accent"] a {
    color: white;
    text-decoration: underline;
}

This looks better using the above styles.

In RHElement based themes, the color contrast issues will be handled by this code in the theme.
a {
    color: var(--rh-broadcasted--color--ui-link);
}

a:visited {
    color: var(--rh-broadcasted--color--ui-link--visited);
}

a:hover {
    color: var(--rh-broadcasted--color--ui-link--hover);
}

a:focus {
    color: var(--rh-broadcasted--color--ui-link--focus);
}

This is also a really good reason for having a generic component that people can drop in, and it comes equipped with "nice" styles for basic HTML tags.
<rh-card>
  <rh-generic slot="content">

Hello I'm using Overpass and i'm all brand-standards-like

Me too! no extra styles required here.

  </rh-generic>
</rh-card>

@starryeyez024, as we talked about today, the need for handling CSS in this way is because the elements in the <slot> are styled on their way in, and cannot be influenced by the component's ShadowDOM CSS (or ShadyCSS)—except for the first-child to my knowledge [1].
So the options are...

the consumer developer will have to add CSS like:

a {
    color: var(--rh-broadcasted--color--ui-link);
}

the consumer dev will have to use some sort of "generic" content component (I prefer rh-content) to append this type of generic element CSS to the  on the fly.

the consumer dev will have a RH Elements theme already handling these generic elements styles.

All of these are opt-in. But, if the consumer dev doesn't do any of these, then the content in the <slot> is added at their own risk  (i.e. potentially clashing contrast, styles, etc.).
Also, my new PR, at your request, should also allow devs to target/scope these generic CSS styles too.
Notes:
[1] I would love to be proven wrong!

@KrystalMoore16, we need to add this to our documentation.


Filter options need to position-agnostic

Describe the bug
In the 27092019 release, it is possible to confuse the parser when specifying multiple values for --exclude or --include. Here is an example:
$ tapis jobs outputs download --cwd --exclude wc-sample.txt wc_out 9e74b852-0e1f-4363-8c09-5ab9f5299797-007
tapis jobs outputs download: error: the following arguments are required: <job_uuid>

To Reproduce
Steps to reproduce the behavior:

See above

Expected behavior

It should be possible to specify multiple values for exclude.
The position of exclude (or include) in the command-line formulation should never matter

The root cause is in the parser.add_argument for ExcludeFiles (and similar for IncludeFiles. Instead of the current parser.add_argument('--nargs', nargs='+') form, we must change the CLI behavior so that each exclude or include must be specified parser.add_argument('--append-action', action='append').
The new CLI formulation would look like:
$ tapis jobs outputs download --cwd --exclude wc-sample.txt --exclude wc_out 9e74b852-0e1f-4363-8c09-5ab9f5299797-007


VueJS - blog tutorial

Create a blog using Vue, GraphQL and Apollo

Two tutorials really, both dealing with a blog app but using different technologies with Vue : )


crash with ender io 5.2.60+

reported this problem on the ender io github, they claim its because of sledgehammer so im reporting this here https://github.com/SleepyTrousers/EnderIO/issues/5458

Try setting recipe-factory-stacktrace to false in the config.
That Mixin may no longer be valid for newer EnderIO versions

yup, that fixed it. thanks.

That Mixin may no longer be valid for newer EnderIO versions

Would be useful to add this information in the config file for future reference :)


Impose EOL character

Resolves #51.

Codecov Report

Merging #106 (7fec686) into main (52e1bc9) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #106   +/-   ##
=======================================
  Coverage   88.59%   88.59%
=======================================
  Files           7        7
  Lines         149      149
=======================================
  Hits          132      132
  Misses         17       17

Continue to review full report at Codecov.

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


Typo in Proving Universality

Describe the Issue
In Proving Universality

This suggests a naive approach to solving our problem: we could apply $R_z(a) = e^{i bZ}$ followed by $R_x(b) = e^{i a X}$.

Should be

This suggests a naive approach to solving our problem: we could apply $R_z(2b) = e^{i bZ}$ followed by $R_x(2a) = e^{i a X}$.


browsermobproxy on Chrome starts driver several times

due to the https://github.com/SeleniumHQ/selenium/issues/5299 we have to add proxy as options into the capabilities before driver start.
as result browsermob proxy is restarted 3 times for chrome.
Moreover chrome doesn't have enabled proxy settings after all!

https://github.com/qaprosoft/carina/pull/513


Gmail cannot load ("Not secure")

Describe the Bug*
`This browser or app may not be secure. Learn more
Try using a different browser. If you’re already using a supported browser, you can refresh your screen and try again to sign in.`
To Reproduce

Go to 'gmail.com'
Log in
See error

Expected Behavior
Gmail Interface
Screenshots

Environment
Windows 10 Most Recent
Beaker v1.0.0-prerelease.4
Additional Context

Haha wowww yep it looks like this

If we can figure out how they're detecting us, we can try to get around that, but otherwise I dont know what we can do.
We ought to put some kind of warning in the URL bar like "This service may not be secure. Your emails will be readable by Google."

Change the user-agent

Not working.
пн, 6 лип. 2020 о 22:39 Simon Risberg<EMAIL_ADDRESS>пише:

Change the user-agent
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/beakerbrowser/beaker/issues/1749#issuecomment-654453610,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANSSYYTHAGPLAN6JPXS3TU3R2IY7LANCNFSM4OBQKSYA
.

Gravit Designer's desktop linux app (also based on electron) had the same issue,
they "fixed" it by opening google-oauth dialog in the "real" browser instead of pop-up window with login+password


Add hooks to AbstractCreateOperation for library users

PR description
Add hooks for a successful contract create, a failed contract create, and an invalid contact create. Users of the library will be able to customize create responses without having to replace core logic.
Fixed Issue(s)

Changelog added.  @diega @jflo can you review?

A Listener would have imposed another field to do an indirect dispatch against and another object to preserve identity.
Here's an example of what it will do once new code hits hedera: https://github.com/hashgraph/hedera-services/blob/96ac267a596d611b650ecec98bc29d190e3c85bb/hedera-node/hedera-smart-contract-service-impl/src/main/java/com/hedera/node/app/service/contract/impl/exec/operations/CustomCreate2Operation.java#L68C1-L74
The Operations are all loaded in at EVM create time, and live for the duration of the EVM.  Composition over inheritance would make it more interesting.  If more of these hook requests come in for different operations I'll look into a EVM wide listener that can be registered.
One advantage of this setup is that if if there are no custom overrides (like in the Ethereum Mainnet setup) the hotspot compiler will elide the entire call away in time.  (first noticing it's monomrphic it will attempt to inline it, then when it's inlining an empty method it will disappear).


cygwin_exception::open_stackdumpfile

I encountered an abnormal exit
0 [main] redis-server 1999 cygwin_exception::open_stackdumpfile: Dumping stack trace to redis-server.exe.stackdump

What system version do you have?
Redis only supports 64-bit Windows

OS: Windows Server 2016 Datacenter
Version: 1607
OS Version: 14393.1884
System Type: 64-bit OS
The version of the package I am running is Redis-7.2.4-Windows-x64-msys2

I haven't been able to reproduce it. Please change the system.

Okay, I got it.
My server is still running both 3.0.504 and <IP_ADDRESS> due to legacy architecture issues. Also, I installed RedisJson, which may cause some problems.
So far, it hasn't encountered any errors.


Popover or Menu anchored to a Button is broken when wrapping the button in Tooltip

Describe the bug
When wrapping a <Tooltip> around a <Button> that has a <Popover>/<Menu> connected to it, the Popover/Menu won't open and you get this error:
Uncaught TypeError: Cannot read property 'contains' of null
Steps to reproduce the bug
A reproduction of the bug can be found here
Expected behavior
That the Popover/Menu shows up.
Specifications

Version: 0.13.0
Browser: Google Chrome Version 91.0.4472.164
OS: MacOS 11.4

Additional context
A possible workaround atm is to use useState instead of useRef and set the anchor element when the button is clicked.

Thanks for reporting this!
I don't think we have actually tested this combination, but this is most likely due to the outsideClick check we have in both components here and here
We are preparing a release today with some updates and fixes, but we'll try to see if we can get a quick fix here or if you want to make a PR with the fix? Should be ok with just a check for if anchorEl is defined. 👼

Yes, that seems to be the issue. I can make a PR with the fix :)

Well, that doesn't really fix the issue. The error disappears but the Popover/Menu won't even open.
I can't spend any more time on this today and I'm leaving on vacation today, so it will be a little while before I can look into this again.

Well, that doesn't really fix the issue. The error disappears but the Popover/Menu won't even open.
I can't spend any more time on this today and I'm leaving on vacation today, so it will be a little while before I can look into this again.

Ah, no problem! We'll have a look at it :)
Thanks for your contribution and have a good vacation! ☀ 👍


use canonical name for box

Signed-off-by: Raghavendra Talur<EMAIL_ADDRESS>

Hello contributor, thanks for submitting a PR for this project!
I am the bot who triggers "standard-CI" builds for this project.
As a security measure, I will not run automated tests on PRs that are not from white-listed contributors.
In order to allow automated tests to run, please ask one of the project maintainers to review the code and then do one of the following:

Type ci test please on this PR to trigger automated tests for it.
Type ci add to whitelist on this PR to trigger automated tests for it and also add you to the contributor white-list so that your future PRs will be tested automatically.
If you are planning to contribute to more than one project, maybe it's better to ask them to add you to the project organization, so you'll be able to run tests for all the organization's projects.

Thanks @raghavendra-talur! I had to look up this setting to remember what it does. https://www.vagrantup.com/docs/vagrantfile/machine_settings.html
Just to be sure I understand: because we also specify config.vm.box_url, I understand this is basically an arbitrary value of our choosing?

@stu-gott

Just to be sure I understand: because we also specify config.vm.box_url, I understand this is basically an arbitrary value of our choosing?

the condition is like this
if vm.box exists
    skip download from given url
else
   download from given url and name as vm.box

As this box url is same as what we get when we do vagrant box add centos/7 and many users might already have it, I suggest we keep it same. If not, there would be two large files with different names but same content.

@rmohr objections against merging this?

ok to test

Thanks