add cron job to automatically update reddit profile pictures

like we currently do for twitter, instagram, and flickr in cron.py. should be straightforward.
example mastodon user page with an out of date, broken profile picture: https://brid.gy/mastodon/<EMAIL_ADDRESS>

the mastodon part here still needs work. it's getting a 404 back from the /api/v1/accounts/[id] API c all for pretty much every single user, not just ones that have been deleted. maybe it needs username instead of id? or vice versa?

yup that was it, i was passing handle<EMAIL_ADDRESS>to get_actor(), but it needs numeric account id. working now!

mastodon is done. narrowing title to reddit. current blocker is that reddit uses the praw library, which we haven't set it up mocking for in tests yet, and it's not looking easy. hopefully doable though.

Deployed Reddit, but it's not working, fetching user info from the API never returns anything in prod. Odd though, it works fine locally, with the same API app and users.

Fixed!


Add CFN support for IAM IDP

Issue #, if available:
Description of changes:
To sync with recent change of adding CFN support for IAM IDP
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Closing this one in favor of https://github.com/aws-cloudformation/aws-cloudformation-resource-provider-qbusiness/pull/58
which has all the latest changes.


Page alias can't be created when unique constrained foreign key relations

We have a page type CustomerPage, and users connected to that with parental key in User:
customer = ParentalKey('CustomerPage', blank=True, null=True, on_delete=models.CASCADE, related_name='users',
                           verbose_name=_('customer'))

We are running multi-site setup, where all sites share the same customer pages. They are located under the main site, and all other sites are supposed to use these as aliases. However, when trying to create an alias from a customer page to another site, it will fail with an error:
IntegrityError at /admin/pages/1/copy/
duplicate key value violates unique constraint "base_user_email_key"
DETAIL:  Key<EMAIL_ADDRESS>already exists.

More specifically, the error happens in django-modelcluster's getattr(self, relation).commit() where it will call original_manager.add(item, bulk=False).
site-packages/modelcluster/fields.py, line 210, in commit
This seems to be a bug for me. I would expect that alias pages don't try to create new instances of related items, but instead rely on original items already in the parent page. Any ideas how we should approach to solve this are welcome.
Technical details

Python version: 3.8
Django version: 3.2.6
Wagtail version: 2.15.1
Browser version: Safari 15

I guess Page.exclude_fields_in_copy = ['users',] could be used here to ignore parental key but unfortunately it does not work for aliases because of hard coded exclude_fields in Page.create_alias() and Page.update_aliases(). They both have the same FIXME comment:
# FIXME: Switch to the same fields that are excluded from copy

Quickly testing that if exclude_fields_in_copy are included in exclude_fields on the above methods and dropped in Page.with_content_json() aliasing and updating aliases seems to work and excluded fields are ignored. Do you see any gotchas here or could this be a viable solution?

Let's treat this as the issue for the FIXME
There are other cases that get tripped up, the latest -- https://github.com/wagtail/wagtail/pull/7857/files/f09e4e4c0f8b2215118c1818818070f6ab8f9c25..30be60eeb44a114ef2909b0305c06f3cc6e2a3f3#diff-131da701ebff77c03de56bb7ff4b43d307531db394c9905efbc57ca418ce6a59


Dashboard: todos by #tag (view?)

Intending here to just get a conversation going about the following for consideration down the road:
Right now, Dashboard sorts tasks by priority and puts them into two "Today" sections, each with prioritized items.
One of the things that I have heard frequently from people is that they like to have certain tasks to work on in certain blocks of time. It may be that they have several clients and they have timeblocked an hour for each client. Or it could be things to do at #work or #home or whatever.
It feels to me like it would be nice if there was a dashboard view that had items segregated by hashtag. So, I could see all the #ClientA items together sorted by priority, and when I get to my ClientA timeblock, I just work through that list.
For example:
ClientA Tasks:
- [ ] !! Send invoice to #ClientA
- [ ] Work on proposal for #ClientA

Questions:
Is this an option in the xcallback and a "button" next to the "refresh" button switches into that view?
Is it a setting to draw this way by default?
What to do when a task has multiple tags?
Should it be just #hashtags or also @mentions?
Thoughts @jgclark ?

First, remember that there's a setting to show the two today parts merged into one: that may prove relevant.
I think there are at least 2 different feature requests here:

Sorting to display same tags/mentions together.

Q: Does a priority indicator override this?
The current design wasn't done to allow sub-headings within the task list. Adding it would bring quite a lot of complexity in the display logic for counts and filtering.

Filtering to show particular tag/mentions. I assume this would need to be a text field above the main table.

Q: Do tasks with priority indicators still get shown?

Yes, the setting to combine Today into 1 is indeed useful.
Good questions. I don't think priority overrides, but the tasks are definitely sorted secondarily by priority. Seems like this would require substantial work and it's not in your workflow. So maybe we should let this request sit and see if there are others later who suggest similar.

I have since added a tags/mentions section, with a setting for just a single one of those.
It might be easier to extend that section to do some of things you're suggesting here.


Pdf size issue

some devices creating the same content pdf in different sizes..some times get the file around 400kb and some times it more than 4MB...is there any solution for that ?

Never encountered this issue, will look into it

me to

It is relatively large on Android 11, and Android 9 is normal


FancyZones does not place window in zone unless you drag a mouse

Microsoft PowerToys version
0.66.0
Installation method
PowerToys auto-update, Microsoft Store
Running as admin
No
Area(s) with issue?
FancyZones
Steps to reproduce

Have FancyZone
Setup zones
Place any window inside any zone
Hold the window by mouse
Press Shift key
Nothing happens

But if you drag window by at least one pixel - window snaps correctly
https://user-images.githubusercontent.com/12271104/212610152-e326b997-e0cf-4664-a4ff-218ba267a357.mp4
✔ Expected Behavior
Window snaps to zone correctly
❌ Actual Behavior
Window does not snap unless you drag it
Other Software
Windows 11 latest stable.
The bug happens in all windows of apps of all types (UWP, Win32, WinUI 2/3).

Are you still experiencing this issue? /needinfo

Yes. version 0.85.1.
Video without mouse cursor movement, the bug persists:
Details

https://github.com/user-attachments/assets/e53ef8f9-091b-4b69-84b5-b9adc4a95418

Video with mouse cursor movement, all works:
Details

https://github.com/user-attachments/assets/3deec730-1ff5-4dff-af10-deca1dbc50cc


Improving text content under blog in the website

https://1drv.ms/i/c/3eafba334c127cda/Ecd_psXsPPJAglWsGMWbz0oBxYKi3UtTxfT1_JqXtiOxAg?e=2XV8B0
here i want to add more descriptive content which will make it more interesting and inviting to the viewers
thank you

@PreetiTamana  go ahead with this


Support Yarn install

Description:
Nowadays, many JavaScript developers install their packages through npm or yarn. However, currently we do not support yarn install. To improve the developer experience, it would be great if we could also support yarn install
Why:
yarn install v1.22.4
info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
error Workspaces can only be enabled in private projects.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

@blurfx Thank you for your comment!

Each package manager has a different way of managing dependencies
When it comes to this question, could you elaborate on it?

If I understand it correctly, In my view, we can manage dependencies with yarn.lock file without having package-lock.json. Also, yarn supports installing packages with package-lock.json. https://classic.yarnpkg.com/blog/2018/06/04/yarn-import-package-lock/  But they recommend using yarn.lock instead of package-lock.json. The reason why user can't install packages using yarn, because we have workspace config in the package.json. So if we resolve this issue, I think we can support yarn install.
https://github.com/yarnpkg/yarn/issues/8580
https://github.com/TexteaInc/json-viewer/pull/143
https://github.com/yarnpkg/yarn/issues/8580#issuecomment-1483520779

I don't believe it is necessary for a single project to support multiple package managers at the same time. However, if there are benefits to switching to another package manager, I believe it would be a good decision to explore this option.
I will close this issue for now. Please reopen this issue if we can find the benefits of the replacement.


Dropped config on restart

I've got a few HASPone units going, but they seem to drop their config on a reboot of HA or the device itself.
I have to re-run automations to get things looking right again, this used to be automatic - have i missed a step?
Any advice you can offer would be greatly appreciated.

What configuration is being dropped?  The configuration of the device itself (the items seen on the web admin page), or blueprint config?  Something else?

Sorry, should have been more clear.
All the text labels and button presses I've added are not sent to the device and I have to manually rerun my automation to populate the device again. Otherwise it connects and just has blank buttons on all pages.
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Allen Derusha @.>
Sent: Saturday, May 15, 2021 1:11:22 PM
To: HASwitchPlate/HASPone @.>
Cc: Oli Passey @.>; Author @.>
Subject: Re: [HASwitchPlate/HASPone] Dropped config on restart (#99)
What configuration is being dropped? The configuration of the device itself (the items seen on the web admin page), or blueprint config? Something else?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/HASwitchPlate/HASPone/issues/99#issuecomment-841648485, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB3DCDJ225LLMXP2PWWRFT3TNZQGVANCNFSM44LL3ADA.

Can you take a look at this procedure and see if that resolves anything?

No duplicate devices have been created, but in troubleshooting today i saw v1.0.2 was available.
Upgrading has seemed to solve it, i can now reboot the device and they'll automatically populate as before.
Not sure what the exact problem ended up being - but hey - working now.
Thanks for the advice 👍


Python code argument parsing

According to the suggested method, the argument parsing process has changed in the python codes.

Other than that, nice job. Looks good to me


Move e2e tests to cucumber

Cucumber offers simple way to describe tests, avoid boilerplate and share test scenarios across SDKs. So lets move to it!
Alvin has forked nemtechs project with e2e tests so we can build atop of that: https://github.com/proximax-storage/nem2-e2e-tests
For the time being I will create copy of the tests and slowly roll-out tests as they are implemented and working. Once current e2e tests are covered by cucumber I will drop them.

OH and lets use groovy for the tests. it is good opportunity to ensure that API is good for groovy developers as stuff looks a bit different through the groovy lens


feat/internet_connection_service

This PR includes:

The service that determines the application has an active internet connection

LGTM!


Client time sync

Currently if the system gets an internet connection it will synchronize its time automatically, but it has no realtime clock, so the time will be lost on reboot. If it does not get internet access it will never get the correct time. Also the timezone needs to be set correctly for this.
This can be awkward for things like including the time in filenames etc.
Ideally, the system should synchronize local time with the client when it connects.

Working when pressing resync command in command palette, needs to happen automatically and be added to updater.


NodeJS/TypeScript Client Library

Hi, We wrote a client sdk in nodejs/typescript for the FauxAPI. You can find it here. Would it be a good thing to include the library in your project? If so, is a pull request the best approach for that?

I've added references to your library to the main documentation - thanks for the awesome contribution!


Revert changes to submodule as it doesn't build for 16.10

Summary of the Pull Request
What is this about:
What is include in the PR:
How does someone test / validate:
Quality Checklist

[ ] Linked issue: #xxx
[ ] Communication: I've discussed this with core contributors in the issue.
[ ] Tests: Added/updated and all pass
[ ] Installer: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Docs: Added/ updated
[ ] Binaries: Any new files are added to WXS / YML

[ ] No new binaries
[ ] YML for signing for new binaries
[ ] WXS for installer for new binaries

Contributor License Agreement (CLA)
A CLA must be signed. If not, go over here and sign the CLA.

do we need to revert to an older version? why not keep using the updated one?

@yuyoyuppe

do we need to revert to an older version? why not keep using the updated one?

It partially reverts https://github.com/microsoft/PowerToys/pull/11592

https://github.com/microsoft/PowerToys/pull/11549#issuecomment-855513241


Specify license

Please specify a license under which this module is released.
In some jurisdictions, lack of an explicit license implies copyright without terms of use, which can be an unnecessary hindrance during due diligence (as you probably intended for this module to be used openly).
If you're looking for suggestions: MIT or WTFPL would suit nicely.
See https://github.com/isaacs/tap-consumer/issues/4

Since this module is deprecated, it's a bad idea to be using it anyway.
Please use node-tap instead.

For completeness: it's a second-tier dependency, so I cannot choose whether it's included in my own project but legal cares about the entire dependency tree. I guess I'll ping the module owner.
Thanks for your prompt reply, @isaacs.


Switch builds to stable toolchain

See my comments in #635 about maybe updating to a more recent nightly instead.

Nightly instead.

I don't understand why cargo is trying to update the lockfile here. It doesn't do that locally.

Oh!


[Event Hubs] Turn back on min/max testing

https://github.com/Azure/azure-sdk-for-js/pull/30421 disabled min/max testing for Event Hubs because the min/max testing script uses a simple vitest config that doesn't work for Event Hubs tests. See https://github.com/Azure/azure-sdk-for-js/issues/30578 for details.
This issue tracks turning it back on once https://github.com/Azure/azure-sdk-for-js/issues/30578 is addressed.

This has been addressed


[backport] Remove duplicated entry in reference

Backport of #6571

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 61188b4f22fd20d500b610e28ca8e61302582379, target branch v5) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

LGTM! The CI failure is not relevant to this PR.


current version 2019.04.73 still missing dependencies on debian stretch

Could you please eliminate the downgrade dependencies for strech?
Depends: libfontconfig1 (>= 2.11.94) but 2.11.0-6.7+b1 is to be installed
Depends: libstdc++6 (>= 7) but 6.3.0-18+deb9u1 is to be installed
Thanks

Same problem in trisquel (ubuntu xenial) libstdc++6 (>= 7)


Cannot get past "Unknown slot type" error

After following to the letter, I STILL get this error after configuring the Interaction model on the developer console. (see pic)
What am I missing??

Make sure 'name' in 'SearchIntent' slot is in lowercase, as well as click 'Add' after entering Custom Slot before hitting Next

I FOUND IT
There was an extra space at the end of "SEARCH"


Support order of constructor arguments

What's changed?
Added ReorderMethodArgumentsVisitor.visitNewClass to reorder constructor arguments too.
What's your motivation?
Needed in

https://github.com/openrewrite/rewrite-migrate-java/pull/338

Closed in favor of

https://github.com/openrewrite/rewrite/pull/3713


Key Error Issue

I'm trying to run Cellrank on my own dataset following the tutorial. I can make it all the way to cr.tl.terminal_states() where I get this error:
Traceback (most recent call last):
  File "/app/cellrank/cellrank/tl/_init_term_states.py", line 99, in _initial_terminal
    kernel = PrecomputedKernel(key, adata=adata, backward=backward)
  File "/app/cellrank/cellrank/tl/kernels/_precomputed_kernel.py", line 59, in __init__
    transition_matrix = _read_graph_data(adata, transition_matrix)
  File "/app/cellrank/cellrank/ul/_utils.py", line 220, in _read_graph_data
    raise KeyError(f"Unable to find key `{key!r}` in `adata.obsp` or `adata.uns`.")
KeyError: "Unable to find key `'T_fwd'` in `adata.obsp` or `adata.uns`."

I have tried multiple fixes but can't figure out where the issue is coming from. Please advise. I included my python script.
cell_rank_issue.zip

Hi @carynwillis ,
could you please tell me which version of CellRank you're using by running import cellrank, print(cellrank.__version__).
From what I can from the script you've provided, everything seems to be in order. In cellrank/tl/_init_term_states.py, we specifically catch the KeyError (which is used to determine whether to use an already computed transition matrix or not), see here.
If the version is lower than 1.1.0, I'd update it (this shouldn't really happen in 1.1.0, though you might way a day, 1.2.0 is most likely coming out later today.
To fix this without updating, try running:
cr.tl.transition_matrix(adata, weight_connectivities=0.2)
cr.tl.terminal_states(adata, cluster_key='leiden')

I am using version 1.1.0. I tried the fix above as well and got an error with the first line (cr.tl.transition_matrix(adata, weight_connectivities=0.2)):
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/app/cellrank/cellrank/tl/_transition_matrix.py", line 81, in transition_matrix
    **kwargs,
  File "/app/cellrank/cellrank/tl/kernels/_velocity_kernel.py", line 289, in compute_transition_matrix
    **kwargs,
  File "/app/cellrank/cellrank/ul/_utils.py", line 280, in wrapper
    return dispatch(args[0])(*args[1:], **kwargs)
  File "/app/cellrank/cellrank/tl/kernels/_velocity_kernel.py", line 571, in <lambda>
    lambda **kwargs: _run_in_parallel(_run_deterministic, **kwargs)
  File "/app/cellrank/cellrank/tl/kernels/_velocity_kernel.py", line 367, in _run_in_parallel
    )(**_filter_kwargs(fn, **kwargs))
  File "/app/cellrank/cellrank/ul/_parallelize.py", line 115, in wrapper
    return res if extractor is None else extractor(res)
  File "/app/cellrank/cellrank/tl/kernels/_velocity_kernel.py", line 364, in <lambda>
    extractor=lambda res: _reconstruct_one(np.concatenate(res, axis=-1), conn, ixs),
  File "/app/cellrank/cellrank/tl/kernels/_utils.py", line 207, in _reconstruct_one
    close_to_1 = np.isclose(probs.sum(1), 1.0)
  File "<__array_function__ internals>", line 6, in isclose
  File "/opt/conda/lib/python3.7/site-packages/numpy/core/numeric.py", line 2297, in isclose
    x = x * ones_like(cond)
  File "/opt/conda/lib/python3.7/site-packages/numpy/matrixlib/defmatrix.py", line 218, in __mul__
    return N.dot(self, asmatrix(other))
  File "<__array_function__ internals>", line 6, in dot
ValueError: shapes (17091,1) and (17091,1) not aligned: 1 (dim 1) != 17091 (dim 0)

I can try again tomorrow with 1.2.0 as well.

@carynwillis 1.2.0 is up, https://github.com/theislab/cellrank/commit/cda144f75e9169b50170e59406e046cbe19fd1d4 should have fixed the
ValueError: shapes (17091,1) and (17091,1) not aligned: 1 (dim 1) != 17091 (dim 0)

I have updated to 1.2.0 but I'm still getting errors when trying to run cr.tl.transition_matrix(adata, weight_connectivities=0.2):
`Traceback (most recent call last):
File "/opt/conda/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
self.run()
File "/opt/conda/lib/python3.7/multiprocessing/process.py", line 99, in run
self._target(*self._args, **self._kwargs)
File "/opt/conda/lib/python3.7/multiprocessing/managers.py", line 597, in _run_server
server.serve_forever()
File "/opt/conda/lib/python3.7/multiprocessing/managers.py", line 173, in serve_forever
sys.exit(0)
SystemExit: 0
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.7/multiprocessing/util.py", line 300, in _run_finalizers
finalizer()
File "/opt/conda/lib/python3.7/multiprocessing/util.py", line 224, in call
res = self._callback(*self._args, **self._kwargs)
File "/opt/conda/lib/python3.7/multiprocessing/util.py", line 133, in _remove_temp_dir
rmtree(tempdir)
File "/opt/conda/lib/python3.7/shutil.py", line 494, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/opt/conda/lib/python3.7/shutil.py", line 452, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/opt/conda/lib/python3.7/shutil.py", line 450, in _rmtree_safe_fd
os.unlink(entry.name, dir_fd=topfd)
OSError: [Errno 16] Device or resource busy: '.nfs8059248500d0aaa50003447a'
Traceback (most recent call last):
File "", line 1, in
File "/opt/conda/lib/python3.7/site-packages/cellrank/tl/_transition_matrix.py", line 80, in transition_matrix
**kwargs,
File "/opt/conda/lib/python3.7/site-packages/cellrank/tl/kernels/_velocity_kernel.py", line 294, in compute_transition_matrix
**kwargs,
File "/opt/conda/lib/python3.7/site-packages/cellrank/ul/_utils.py", line 279, in wrapper
return dispatch(args[0])(*args[1:], **kwargs)
File "/opt/conda/lib/python3.7/site-packages/cellrank/tl/kernels/_velocity_kernel.py", line 576, in
lambda **kwargs: _run_in_parallel(_run_deterministic, kwargs)
File "/opt/conda/lib/python3.7/site-packages/cellrank/tl/kernels/_velocity_kernel.py", line 372, in _run_in_parallel
)(_filter_kwargs(fn, **kwargs))
File "/opt/conda/lib/python3.7/site-packages/cellrank/ul/_parallelize.py", line 114, in wrapper
return res if extractor is None else extractor(res)
File "/opt/conda/lib/python3.7/site-packages/cellrank/tl/kernels/_velocity_kernel.py", line 369, in
extractor=lambda res: _reconstruct_one(np.concatenate(res, axis=-1), conn, ixs),
File "/opt/conda/lib/python3.7/site-packages/cellrank/tl/kernels/_utils.py", line 209, in _reconstruct_one
f"Matrix is not row-stochastic. "
ValueError: Matrix is not row-stochastic. The following rows don't sum to 1: [25, 32, 238, 323, 337, 366, 502, 571, 781, 1095, 1096, 1301, 1436, 1441, 1502, 1751, 2021, 2079, 2093, 2404, 2408, 2596, 2747, 2770, 2792, 3288, 3313, 3357, 3444, 3917, 3984, 4033, 4256, 4567, 4631, 4676, 4815, 4989, 5029, 5053, 5134, 5387, 5867, 5958, 6005, 6006, 6170, 6223, 6300, 6412, 6486, 6558, 6583, 6921, 7012, 7057, 7101, 7156, 7560, 7630, 7642, 7647, 7755, 7813, 7886, 8094, 8203, 8277, 8284, 8299, 8350, 8372, 8492, 8499, 8588, 8948, 9124, 9788, 9951, 9952, 9992, 10037, 10138, 10886, 10957, 11079, 11083, 11200, 11685, 11777, 11809, 11923, 11926, 12178, 12231, 12707, 12715, 12996, 13048, 13063, 13459, 13710, 13741, 13863, 13995, 14039, 14147, 14189, 14339, 14432, 14527, 14637, 14915, 15077, 15318, 15379, 15408, 15593, 15694, 15910, 16033, 16046, 16157, 16167, 16176, 16344, 16350]

I remember encountering this a while back (mostly because of numba, see this comment), but I though I had fixed it but not using numba for the outermost parallelization.
I'd try these 3 things (in this order):

before running the program, disabling numba - this has to be done before importing cellrank as:

import os
os.environ["NUMBA_DISABLE_JIT"] = "1"

# your imports go below

chaning the backend by running cr.tl.transition_matrix(adata, weight_connectivities=0.2, backend='threading')
if using n_jobs=... in cellrank.tl.transition_matrix, set it to 1

If none of these work, I will make a branch where I try what's in the comment above, i.e. make an explicit copy of the matrix as
probs = csr_matrix((data[0].copy(), mat.indices, mat.indptr))
cors = csr_matrix((data[1].copy(), mat.indices, mat.indptr))

Hi @carynwillis , any success on this yet?

I have not had any success with the 3 steps above. I realized I did do Steps 1 and 2 together in the same run. Should they be done together or separate?

I have not had any success with the 3 steps above. I realized I did do Steps 1 and 2 together in the same run. Should they be done together or separate?

It could be done both ways, but since separately they didn't work, they are unlikely to work combined - you should try the fix I've implemented in #488 - hope that helps.

Maybe something specific about the transition matrix is going wrong here - @michalk8, don't we have some built in checks for connectedness of the graph and reducibility of the matrix? Could look into that.


use yarn instead of npm

@aslakhellesoy
Use yarn instead of npm to run scripts to avoid the awful npm log. Also use && instead of ; so it stops executing if the unit tests fail.
yarn test v0.24.5
$ yarn run mocha && yarn run cucumber --
yarn run v0.24.5
$ mocha

  Coordinate
    ✓ should calculate the distance from itself
    1) should calculate the distance from another coordinate along X axis

  1 passing (8ms)
  1 failing

  1) Coordinate should calculate the distance from another coordinate along X axis:

      AssertionError: 0 == 1000
      + expected - actual

      -0
      +1000

      at Context.it (test/coordinate.test.js:15:12)

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.

vs
><EMAIL_ADDRESS>test /Users/charlesrudolph/projects/shouty.js
> npm run mocha; npm run cucumber --

><EMAIL_ADDRESS>mocha /Users/charlesrudolph/projects/shouty.js
> mocha

  Coordinate
    ✓ should calculate the distance from itself
    1) should calculate the distance from another coordinate along X axis

  1 passing (7ms)
  1 failing

  1) Coordinate should calculate the distance from another coordinate along X axis:

      AssertionError: 0 == 1000
      + expected - actual

      -0
      +1000

      at Context.it (test/coordinate.test.js:15:12)

npm ERR! Darwin 16.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "mocha"
npm ERR! node v7.3.0
npm ERR! npm  v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>mocha: `mocha`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>mocha script 'mocha'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the Shouty package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     mocha
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs Shouty
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls Shouty
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/charlesrudolph/.npm/_logs/2017-06-22T12_49_58_129Z-debug.log

><EMAIL_ADDRESS>cucumber /Users/charlesrudolph/projects/shouty.js
> cucumber-js

Feature: Hear Shout

    Shouts have a range of approximately 1000m

  Scenario: In range shout is heard
  ✔ Given Lucy is at 0, 0
  ✔ And Sean is at 0, 900
  ✔ When Sean shouts
  ✔ Then Lucy should hear Sean

  Scenario: Out of range shout is not heard
  ✔ Given Lucy is at 0, 0
  ✔ And Sean is at 0, 1100
  ✔ When Sean shouts
  ✖ Then Lucy should hear nothing

Failures:

1) Scenario: Out of range shout is not heard - features/hear_shout.feature:11
   Step: Then Lucy should hear nothing - features/hear_shout.feature:15
   Step Definition: features/step_definitions/shout_steps.js:30
   Message:
     AssertionError: 1 == 0
         + expected - actual

         -1
         +0

         at CustomWorld.<anonymous> (/Users/charlesrudolph/projects/shouty.js/features/step_definitions/shout_steps.js:31:12)

2 scenarios (1 failed, 1 passed)
8 steps (1 failed, 7 passed)
0m00.004s

npm ERR! Darwin 16.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "cucumber" "--"
npm ERR! node v7.3.0
npm ERR! npm  v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>cucumber: `cucumber-js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>cucumber script 'cucumber-js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the Shouty package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     cucumber-js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs Shouty
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls Shouty
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/charlesrudolph/.npm/_logs/2017-06-22T12_49_58_944Z-debug.log
npm ERR! Test failed.  See above for more details.

Thanks! Actually we want yarn test to show the output for both mocha and cucumber, so people can start the training getting familiar with both.
Not sure the semicolon will work on Windows though...

Using the && makes the feature tests run only if and only if the unit tests pass.

Closing as appears to have been updated separately


[Bug]  Can't get userData on iOS when user tapped on custom notification action

[REQUIRED] Please fill in the following fields:

Pre-built SDK from the website or open-source from this repo: website
Firebase C++ SDK version: 7.0.2
Problematic Firebase Component: Messaging
Other Firebase Components in use: Analytics
Platform you are using the C++ SDK on: Unity
Platform you are targeting: iOS

[REQUIRED] Please describe the issue here:
Unity didn't get any message data if user tapped on custom notification action button if application was fully closed.  I'm not quite sure is this issue valid on iOS 12.0 and lower, but potentially this issue happened on iOS 13.0 and higher. My device working on iOS 14.4
Steps to reproduce:

Add NotificationExtensionsService to your Xcode project.
Declare custom actions. UNNotificationAction should have options setted to UNNotificationActionOptions.
Send notification payload with categoryIdentifier, that add custom action buttons in presented notification.
Check if application fully closed.
Tap on custom notification action button.
When application was fully loaded you didn't get any message data.

Relevant Code:
As I understand, this issue happend just because on iOS 13.0 and higher, function application:didFinishLaunchingWithOptions: no longer gets launchOptions when user launches application from custom notification action button. So on iOS 13.0+ we never gets any message data on Unity side.
I'm not quite sure, but I see only one solution of this issue. Add else brach handling in firebase-cpp-sdk/messaging/src/ios/messaging.mm inside function:

- (void)userNotificationCenter:(UNUserNotificationCenter *)notificationCenter
didReceiveNotificationResponse:(UNNotificationResponse *)response
         withCompletionHandler:(void (^)())completionHandler {
  if (::firebase::messaging::MessagingIsInitialized()) {
    NSDictionary *userInfo = [[[[response notification] request] content] userInfo];
#if !defined(NDEBUG)
    ::firebase::LogInfo("FCM: userInfo: %s.", userInfo.description.UTF8String);
#endif
    ::firebase::messaging::g_message_notification_opened = true;
    ::firebase::messaging::NotifyApplicationAndServiceOfMessage(userInfo);
    id<UNUserNotificationCenterDelegate> user_delegate = ::firebase::messaging::g_user_delegate;
    [user_delegate userNotificationCenter:notificationCenter
           didReceiveNotificationResponse:response
                    withCompletionHandler:completionHandler];
  }
  else
  {
      if (@available(iOS 13.0, *))
      {
          ::firebase::messaging::g_launch_notification = userInfo;
      }
  }
}

Hey folks,
I did an experiment awhile ago and did notice some different behavior in Firebase Unity SDK and Firebase iOS SDK when NotificationExtensionsService is in use.
The internal bug to track this: b/182008240
While the issue you reported is when the app is fully closed, the inconsistent behavior I found was when the app is in foreground though. But I suspect that is related to the issue you reported

SDK/Sample
Foreground Behavior
Background Behavior

iOS Advanced Sample
Notification in system tray
Notification in system tray

Unity quickstart with modification
OnMessageReceived, no notification in system tray
Notification in system tray

I will mark it as a bug for further investigation.


[DOCS] Fix list formatting and add default

Documentation changes

Correct list formatting for decorate_events
Add kafka default to partition_assignment_strategy and another reference to Kafka documentation. (I didn't add a deep link to content, but rather a general note that some of our settings map to a kafka setting.)

The formatting change is related to general plugin doc cleanup and quality. The Kafka changes are in response to questions from the field.

@dedemorton This PR is part of the plugin quality initiative that you started.
I added a note referencing Kafka doc based on questions that came up today. I didn't see any other examples of NOTES in the plugin documentation. but it  built locally without error, so it seemed to work.


Radio component checked prop isn't working

Describe the bug
The checked prop in the <Radio /> component doesn't seem to be working. ~ Docs

Reproduction
https://github.com/themesberg/flowbite-svelte/blob/main/src/routes/docs/components/forms.md#radio-buttons
Flowbite version and System Info
-

Thanks.


Missing translation in fr

Not sure how adding translation is supposed to work, but I added two missing translations I had to add in one of my project

Not sure how adding translation is supposed to work
hey @lekoala I think transifex is still the way to go
https://docs.silverstripe.org/en/4/contributing/translations/
https://www.transifex.com/silverstripe/silverstripe-framework/dashboard/

Hi @lekoala, as mentioned by @lerni these translations should be submitted to Transifex, and from there will be automatically pulled into the module during the next release. Take a look at the documentation for more details.


Add my profiles README.md

Please describe your issue?
Adding my profile's README.md

@akhilesh-w go for it:)


[0.21 regression] Broken support for handling ~/path in static file routes

That's regression introduced in #743

Fixed


refactor(updater): updater gracefully handles errors

Motivation

Updater currently crashes all the time when txs error out instead of handling gracefully like processor and relayer.
Solution

Apply channel/run_report_err pattern (same as relayer and processor) to updater. Updater now spawns one task for producing and submitting updates using self.run_report_err(...). If tx submission errors out, that will be caught and retried with exponential backoff.
PR Checklist

[ ] Added Tests (N/A)
[x] Updated Documentation
[ ] Updated CHANGELOG.md for the appropriate package (N/A)

Also, should we get some tests in place for updater?

@lattejed we found unit tests for agents to have relatively little utility compared to e2e. Reviving local-env will largely fill the testing gap :)


Filter order incorrect: .IllegalStateException: There was a problem retrieving the current GrailsWebRequest

Hi folks, using spring-security-core:3.0.3 and grails 3.1.0 - whenever I do a force refresh (cntrl+f5) I get a stacktrace vomit from grails (see below). The rest of my grails app has view overrides for the login pages, and one scaffolded class. Since I can't modify web.xml in grails 3 - how can I correct the filter ordering issue?
Grails application running at http://localhost:8080 in environment: development
ERROR org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/].[grailsDispatcherServlet] - Servlet.service() for servlet grailsDispatcherServlet threw exception
java.lang.IllegalStateException: There was a problem retrieving the current GrailsWebRequest. This usually indicates a filter ordering issue (the 'springSecurityFilterChain' filter-mapping element must be positioned after the 'grailsWebRequest' element when using @Secured annotations).
    at grails.plugin.springsecurity.web.access.intercept.AnnotationFilterInvocationDefinition.determineUrl(AnnotationFilterInvocationDefinition.groovy:90) ~[spring-security-core-3.0.3.jar:na]
    at grails.plugin.springsecurity.web.access.intercept.AbstractFilterInvocationDefinition.getAttributes(AbstractFilterInvocationDefinition.groovy:72) ~[spring-security-core-3.0.3.jar:na]
    at org.springframework.security.access.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:196) ~[spring-security-core-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:123) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.groovy:53) ~[spring-security-c.3.jar:na]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:149) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:205) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]

    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.groovy:62) ~[spring-security-core-3.0.3.jar:na]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:91) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:213) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.a.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:719) [tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:467) [tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:390) [tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:317) [tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:445) [tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:304) [tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:181) [tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:521) [tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1096) [tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674) [tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500) [tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456) [tomcat-embed-core-8.0.30.jar:8.0.30]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_45]
    at java.util.concurrent.ThreadPoolExecutor$WorkerreadPoolExecutor.java:617) [na:1.8.0_45]
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-8.0.30.jar:8.0.30]
    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_45]
ERROR org.apache.catalina.core.ContainerBase.[Tomcat].[localhost] - Exception Processing ErrorPage[errorCode=404, location=/error]
java.lang.IllegalStateException: There was a problem retrieving the current GrailsWebRequest. This usually indicates a filter ordering issue (the 'springSecurityFilterChain' filter-mapping element must be positioned after the 'grailsWebRequest' element when using @Secured annotations).
    at grails.plugin.springsecurity.web.access.intercept.AnnotationFilterInvocationDefinition.determineUrl(AnnotationFilterInvocationDefinition.groovy:90) ~[spring-security-core-3.0.3.jar:na]
    at grails.plugin.springsecurity.web.access.intercept.AbstractFilterInvocationDefinition.getAttributes(AbstractFilterInvocationDefinition.groovy:72) ~[spring-security-core-3.0.3.jar:na]
    at org.springframework.security.access.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:196) ~[spring-security-core-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:123) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) ~[spring-security-web-4LEASE.jar:4.0.3.RELEASE]
    at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.groovy:53) ~[spring-security-core-3.0.3.jar:na]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:149) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:205) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]

    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.groovy:62) ~[spring-security-core-3.0.3.jar:na]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:91) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:213) ~[spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
    at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176) ~[spring-security-web-4.0ASE.jar:4.0.3.RELEASE]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:719) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:467) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:390) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:317) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:445) [tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:304) [tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:181) [tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:521) [tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1096) [tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674) [tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500) [tomcat-embed-core-8.0.30.jar:8.0.30]
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:14mcat-embed-core-8.0.30.jar:8.0.30]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_45]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_45]
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-8.0.30.jar:8.0.30]
    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_45]

I get exactly the same, also with spring-security-core:3.0.3 and grails 3.1.0.  Despite that the application keeps on working.  I'd be very interested in a solution to this.

It's complaining about errorCode=404, location=/error - did you remove the url mapping for code 404 ("404"(view:'/notFound') ?

Hi Burt,

  This was my UrlMappings.groovy:
  class UrlMappings {
      static mappings = {
          "/$controller/$action?/$id?(.$format)?"{
              constraints {
                  // apply constraints here
              }
          }

       //"/"(view:"/index")

      "/"(controller:"home")
       "500"(view:'/error')
      "404"(view:'/notFound') }

  }
  -----------------------------------
  I changed it to:
  class UrlMappings {

      static mappings = {
          "/$controller/$action?/$id?(.$format)?"{
              constraints {
                  // apply constraints here
              }
          }
                                              ** commented out entry
  removed
          "/"(view:'/home/index')  ** change
          "500"(view:'/error')
          "404"(view:'/notFound')
      }
  }
  ----------------------------------
  Now everything is fine.

  The problem persisted even after I removed //"/"(view:"/index")
  .  It did map correctly to /home/index, though, as it always did.
  Only after changing the "/" mapping to "/"(view:'/home/index') did
  the problem go away.

  On another note, grails install-templates only copies three files
  over:
  Copied AsyncController.groovy to location

/home/chris/Work/projects/grails/g3demo/src/main/templates/scaffolding/AsyncController.groovy
| Copied AsyncSpec.groovy to location
/home/chris/Work/projects/grails/g3demo/src/main/templates/scaffolding/AsyncSpec.groovy
| Copied ScaffoldedController.groovy to location
/home/chris/Work/projects/grails/g3demo/src/main/templates/scaffolding/ScaffoldedController.groovy
| Template installation complete
  I want to change mainly the gsp files generated.

  I've had this before long ago and found a solution, but can't
  remember what it was.  Any idea?

  Thanks for your quick response that led to the solution.

  Regards,

  Chris
  On 04/02/16 11:10, Burt Beckwith wrote:

  It's complaining about errorCode=404, location=/error
    - did you remove the url mapping for code 404 ("404"(view:'/notFound')
    ?
  —
    Reply to this email directly or view
      it on GitHub.

--

Chris Malan
<EMAIL_ADDRESS>Try to relax and enjoy the crisis.
-- Ashleigh Brilliant

Hi there- this is my URLmappings:
class UrlMappings {
static mappings = {
    "/$controller/$action?/$id?(.$format)?"{
        constraints {
            // apply constraints here
        }
    }

    "/lock"(view:"/login/lock")
    "/login"(view:"/login/auth")
    "/register"(view:"/login/register")

    "/"(view:"/index")
    "500"(view:'/error')
    "404"(view:'/notFound')
    "403"(view:'/auth/denied')
}

}
But I can't believe I didnt make the connection between the 404 and the error. So what was happening was that I had a bootstrap css file that was referencing some fonts. I had allowed the font path in my static rules:
grails.plugin.springsecurity.controllerAnnotations.staticRules = [
...
[pattern: '/error',                 access: ['permitAll']],
...
[pattern: '//fonts/', 			access: ['permitAll']],
...
]
But I didnt realize my font files werent actually in my app, so would give a legitmate 404. But in grails attempting to render the 404 page - it was throwing the spring security error. Fixing the 404 , by correctly moving the fonts to the right lcoation removed the exception and stacktrace - but this makes me think that any "legitimate" 404 page that is permitted by a static rule with throw this stack trace?

I can reproduce this pretty easily - just have a path in your static rules that allows "permit-all" - but actually results in a 404. e.g:
grails.plugin.springsecurity.controllerAnnotations.staticRules = [
...
[pattern: '/foo', 					access: ['permitAll']],
...
]
Then make a call to /foo via curl/browser, and spring security will post the above exception.

@chrismalan that's a bug in the scaffolding plugin - you should report an issue in that project. Looking at the source of the command it's expecting that the GSPs are under src/main/templates/scaffolding like the Groovy templates are, but they're not in the plugin at all. I assume those are coming from the https://github.com/grails3-plugins/fields plugin but the files aren't getting copied from there.

Hi Burt,

  Thanks for this.  The code at
  https://github.com/grails3-plugins/scaffolding/tree/master/src/main/templates/scaffolding
  shows only the three files that get installed in the master
  branch.  The gsp files are in the bintray branch and much older.
  Nothing in the fields plugin code.

  On 05/02/16 06:09, Burt Beckwith wrote:

  @chrismalan that's a bug in the
    scaffolding plugin - you should report an issue in that project.
    Looking at the source
      of the command it's expecting that the GSPs are under src/main/templates/scaffolding
    like the Groovy templates are, but they're not in the plugin at
    all. I assume those are coming from the https://github.com/grails3-plugins/fields
    plugin but the files aren't getting copied from there.
  —
    Reply to this email directly or view
      it on GitHub.

--

Chris Malan
<EMAIL_ADDRESS>Afternoon very favorable for romance.  Try a single person for a change.

About the "There was a problem retrieving the current GrailsWebRequest. This usually indicates a filter ordering issue (the 'springSecurityFilterChain' filter-mapping element must be positioned after the 'grailsWebRequest' element when using @Secured annotations)."  This happens in a brand new project as soon as Spring Security Core has been installed and not a thing done to change the project at all.  It happens sometimes, sometimes it doesn't.  Obviously, it has to do with Spring Security Core and not something the programmer did or didn't do.

I have an update witha work around. It seems the root cause of this issue is from this related issue: https://jira.grails.org/browse/GPSPRINGSECURITYCORE-253 - What is happening is that when you hit an unauthorized or missing page that is covered by the rules defined by grails.plugin.springsecurity.controllerAnnotations.staticRules = [ .. ] spring security is routing directly to the tomcat error pages rather than the correct grails pages IF your error pages are using any sort of grails layout.
Work around:
To force the correct routing, you need to update your url mappings to use a controller, and not just a view:
 "400"(controller: "error", action: "invalid") "500"(controller: "error", action: "denied") "403"(controller: "error", action: "denied") "404"(controller: "error", action: "notFound")
and have a basic controller like so:
`class ErrorController {
def error() {
    render view: 'error'
}

def invalid() {
    render view: 'error'
}

def denied() {
    render view: 'denied'
}

def notFound() {
    render view: 'notFound'
}

}`
And additionally in your application.groovy set:
grails.plugin.springsecurity.adh.errorPage = null

Jason,

  Thanks for this.  I now have very nice error pages.  However, when
  starting up I still get these two errors:
  ERROR
  org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/].[grailsDispatcherServlet]
  - Servlet.service() for servlet grailsDispatcherServlet threw
  exception
  java.lang.IllegalStateException: There was a problem retrieving
  the current GrailsWebRequest. This usually indicates a filter
  ordering issue (the 'springSecurityFilterChain' filter-mapping
  element must be positioned after the 'grailsWebRequest' element
  when using @Secured annotations).
  and
  ERROR org.apache.catalina.core.ContainerBase.[Tomcat].[localhost]
  - Exception Processing ErrorPage[errorCode=404, location=/error]
  java.lang.IllegalStateException: There was a problem retrieving
  the current GrailsWebRequest. This usually indicates a filter
  ordering issue (the 'springSecurityFilterChain' filter-mapping
  element must be positioned after the 'grailsWebRequest' element
  when using @Secured annotations).

  They don't happen later on and has no influence on the
  application.

  With no web.xml I don't know how to order these two filters
  correctly.  The location=/error shouldn't happen as
  grails.plugin.springsecurity.adh.errorPage = null is in
  application.groovy.  Oh, yes, I also removed the renders from the
  error controller.

  Chris Malan

  On 17/02/16 14:52, Jason Lambert wrote:

  I have an update witha work around. It seems the root cause of
    this issue is from this related issue: https://jira.grails.org/browse/GPSPRINGSECURITYCORE-253
    - What is happening is that when you hit an unauthorized or
    missing page that is covered by the rules defined by
    grails.plugin.springsecurity.controllerAnnotations.staticRules =
    [ .. ] spring security is routing directly to the tomcat error
    pages rather than the correct grails pages IF your error pages
    are using any sort of grails layout.
  Work around:
    To force the correct routing, you need to update your url
    mappings to use a controller, and not just a view:

      "400"(controller: "error", action: "invalid")
      "500"(controller: "error", action: "denied")
      "403"(controller: "error", action: "denied")
      "404"(controller: "error", action: "notFound")
  and have a basic controller like so:
  `class ErrorController {
  def error() {
render view: 'error'

}
def invalid() {
render view: 'error'
}
def denied() {
render view: 'denied'
}
def notFound() {
render view: 'notFound'
}
  }`
  And additionally in your application.groovy set:
  grails.plugin.springsecurity.adh.errorPage = null
  —
    Reply to this email directly or view
      it on GitHub.

--

Chris Malan
<EMAIL_ADDRESS>Don't you wish you had more energy... or less ambition?

Fixed in v3.0.4

Thanks! Checked and my issues are all resolved.

Worked like a treat. I'm not seeing the exception anymore. Appreciate your work.


@angular-devkit: Filter project names

Permit to get only the required project names.
This should permit to add some new behaviours in angular-cli to complete the --project option, for example a new --libraries-only option for the build, lint and test commands.

Is there an issue with AppVeyor ? This PR doesn't impact NgPackagr Build, and test-large is ok on my computer.

The test timeouts were recently adjusted.  Try rebasing against master to pick up the changes.

@clydin looks like it's not. Anyway do you have some feedbacks on this PR ?

@filipesilva So, as I said in https://github.com/angular/devkit/issues/730#issuecomment-383220270, this PR is, in my opinion, still relevant even if it's not the solution for #730.
In fact, in any mono-repository mixing apps and libs, the CI could be tricky to manage, as we need two separated workflows : one for applications, and one for libraries. When using a unique versioning for a set of libraries, bumping version number, testing, building and releasing should be done for a set of libraries at once. It could be for all the libraries in the project, or for a specific subset (for example, all the libraries associated with a given scope (https://github.com/angular/devkit/pull/646 should help a lot on this thanks to @Brocco ).
By adding a filtering solution, we could, instead of just running a bunch of ng commands, run the target on a specific subset of our choice, which should lead to better performances and readability.
Even for applications, we have some cases where we could have specific sets which should have their own CI process separated from the others (for example, a bunch of applications used for one domain).
For now, we have to write some scripts around angular-cli in order to do this kind of thing, what seems to me to be a cheap workaround.
https://github.com/angular/angular-cli/pull/10397 is just a first usage example, which would need some more work.

Sorry @noelmace - this got lost when we moved back to the angular/angular-cli repo. If you still think this pull request is relevant, could you please re-base on that repo and open a new PR there? Thanks and sorry for the extra churn.


CET 1.31.2: exEntitySpawner.Spawn() and exEntitySpawner.SpawnRecord() crash the game v2.12

Any attempt to spawn anything using exEntitySpawner crashes the game.

The game always crashes when I try to open CET in game but not while outside the game in the main menu

Splendid!
Thank you very much :)


camera calibration

Can you recommend a source for camera calibration?
Can you explain the camera calibration part in detail?

take it!
calibration.txt


[Snyk] Security upgrade electron from 8.3.0 to 11.2.1

Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

package.json
package-lock.json

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

611/1000  Why? Recently disclosed, Has a fix available, CVSS 6.5
Improper Input Validation SNYK-JS-ELECTRON-1064555
Yes
No Known Exploit

726/1000  Why? Recently disclosed, Has a fix available, CVSS 8.8
Use After Free SNYK-JS-ELECTRON-1064558
Yes
No Known Exploit

726/1000  Why? Recently disclosed, Has a fix available, CVSS 8.8
Use After Free SNYK-JS-ELECTRON-1064561
Yes
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Will break if we update, closing for now, as the project is not being worked

Will break if we update, closing for now, as the project is not being worked


The resourcepack lags me!

(This is a note which will soon be ported to the Wiki)
If the resourcepack lags you, please disable resourcepack downloading in the edit page of the server in your Minecraft Multiplayer tab.

Ported to Wiki - issue closed


map[interface{}]interface{} when created in yaegi doesn't return keys as you would expect

When you use yaegi to create a map[interface{}]interface{} type in script and use it outside of the script. It doesn't populate the key with the correct type or value at all it looks like. map[string]interface{} however seems to work fine.
This means it fails a test where I compare it directly as below.
The following code fails a test (can also be found at https://github.com/aubelsb2/yaegiissue1 )
C:\Users\arran_w\GolandProjects\yaegiissue1>go version
go version go1.16 windows/amd64

module yaegiissue1

go 1.16

require (
	github.com/google/go-cmp v0.5.5
	github.com/traefik/yaegi v0.9.14
)

package yaegi

import (
	"context"
	"github.com/traefik/yaegi/interp"
	"github.com/traefik/yaegi/stdlib"
)

func Run(ctx context.Context, then string) (interface{}, error) {
	i := interp.New(interp.Options{})

	i.Use(stdlib.Symbols)

	_, err := i.EvalWithContext(ctx, `
var data interface{} = nil
`)
	if err != nil {
		return nil, err
	}

	_, err = i.EvalWithContext(ctx, then)
	if err != nil {
		return nil, err
	}

	res, err := i.Eval("data")
	if err != nil {
		return nil, err
	}

	return res.Interface(), nil
}

package yaegi

import (
	"context"
	"github.com/google/go-cmp/cmp"
	"testing"
	"time"
)

func TestRunThen(t *testing.T) {
	type Each struct {
		Name           string
		Code           string
		ExpectedResult interface{}
		ExpectedError  error
	}
	for _, each := range []*Each{
		{Name: "Replace data with a return interface version", ExpectedError: nil, ExpectedResult: map[interface{}]interface{}{"T": (1)}, Code: `data = map[interface{}]interface{}{"T": 1}`},
		{Name: "Replace data with a return string version", ExpectedError: nil, ExpectedResult: map[string]interface{}{"T": (1)}, Code: `data = map[string]interface{}{"T": 1}`},
	} {
		t.Run(each.Name, func(t *testing.T) {
			ctx, cf := context.WithTimeout(context.Background(), 1*time.Minute)
			defer cf()
			actualResult, err := Run(ctx, each.Code)
			if err != each.ExpectedError {
				t.Errorf("Error with error. Expected %v got %v", each.ExpectedError, err)
			}
			if diff := cmp.Diff(actualResult, each.ExpectedResult); diff != "" {
				t.Errorf("Data doesn't match: %v", diff)
			}
		})
	}

}

Expected result:
$ go test
=== RUN   TestRunThen
=== RUN   TestRunThen/Replace_data_with_a_return_string_version
=== RUN   TestRunThen/Replace_data_with_a_return_interface_version
--- PASS: TestRunThen (0.00s)
    --- PASS: TestRunThen/Replace_data_with_a_return_string_version (0.00s)
    --- PASS: TestRunThen/Replace_data_with_a_return_interface_version (0.00s)
PASS

Got:
$ go test
=== RUN   TestRunThen
--- FAIL: TestRunThen (0.01s)
=== RUN   TestRunThen/Replace_data_with_a_return_interface_version
    yaegi_test.go:29: Data doesn't match:   map[interface{}]interface{}{
        + 	string("T"):

With v0.12.0, I tested the following in interactive:
$ yaegi
> var data interface{} = nil
: 0x14000112130
> data = map[interface{}]interface{}{"T": 1}
: map[T:1]
> data = map[string]interface{}{"T": 1}
: map[T:1]

So to me it works correctly now.


Add Trace-extension configuration settings

ToDo:

Add new preferences settings that will take two parameters a) path to the executable b) port on which user would like to spawn the server.
Implement an event-listener that will monitor the changes in trace-server preferences.
Spawn the server at the start of the application and/or whenever the preferences settings are modified?---Need more investigation on this.

The draft of the preferences UI can be seen in the image attached. Any feedback is much appreciated.

@bhufmann @mirsky-work Front-end users having control over starting and stopping the trace server seems inconsistent with the tool responsibilities and also how it is expected to be used. Here are a couple examples where users having control of the trace server doesn't make sense:

A trace server providing traces to multiple clients simultaneously (any client could brake the other's sessions)
A single user connecting to and reading traces from several different remote servers (these servers don't "belong" to the user)

From my perspective, it makes sense that users would be able to configure which server(s) they want to connect to (like you can configure the list of servers the Ubuntu package manager pulls from), but not that any user could start/stop servers from the front end.
I vote for keeping configuring/managing the server in the command line for now. Semantically, trace server management is a very different set of responsibilities.

@ebugden I think we need to distinguish the 2 cases

a trace server is deployed as a service and shared by multiple users, i.e. cloud deployment
a dedicated trace server per user (and per Theia instance) that runs where the workspace is.

The cloud deployment (case 1) is long term goal and I agree that starting, stopping and configuration of the trace server is not the responsibility of the user and the user can't have control over the server.
Case 2 is similar how language servers and debug servers work. There is one server per user (per Theia instance), which is obviously not shared between users. This is the case that is currently under development. The trace server should be automatically be started when the user opens a trace and stopped when it's not needed anymore (like language servers).
As far as I understood, giving the user the option to start and stop its trace server is to due to some issues with automatically starting/stopping the server and that solution is for the short-term. @ankusht-work @mirsky-work could you please provide some details?
Overall, I think the trace server management development is incremental. This increment of allowing a local deployment, configuring the location of the trace server executable, the port configuration and providing an way to start/stop the trace server is an improvement and a step forward. It's understood that the journey doesn't end there.

@ebugden : As Bernd mentioned, this work is intended for a single-user/single-server scenario. We will have to re-visit this when we add the multi-user use case. IMO, for now, this approach is slightly better than having to run the server via CLI.

The motivation behind this feature is to simplify the work-flow for the users, focusing on the local use-case and server-per-user. The Path in the screenshot above is for a filesystem local to the workspace. In the future we'll need to add a URL field to allow connecting to an already running server (remote, or local). IMO, explicitly starting the server will be useful in the future to distinguish between the two use-cases, and I believe it's a viable incremental improvement, even if we consider doing so automatically.

Sounds good, I'm convinced! I agree that this makes sense as a quality of life improvement for the one server per user use case.
In the future I think it's possible that users:

Could get annoyed if configuration settings change
Could be comparing local and remote traces simultaneously

But we can cross those bridges when we get there.

Could the configuration settings section be labeled "Trace Viewer Server"? It's more specific.

Could the configuration settings section be labeled "Trace Viewer Server"? It's more specific.

But settings are of the Trace Viewer plugin. One of the settings is the server details, but there might be others, related purely to the front-end, e.g., timestamp formatting.

Settings are of the Trace Viewer plugin. One of the settings is the server details, but there might be others, related purely to the front-end, e.g., timestamp formatting.

I agree that future additional settings can be unrelated to the trace server, but unless adding these are planned for the near future, specifying that these are "Trace Viewer Server" settings adds clarity and reassurance for users in the meantime.
If more general settings are added later, it's quick to change the name back to "Trace Viewer" in the same pull request that adds those new settings.


METRICS: P0: Queries/Documentation to detect Bot not responds

Seeing if Artur can take this one.

Artur/Kamran/Yochay and I agree - this is the same as Timeout, for which a document was created..


Store athens image in gomods/athens ecr repo

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm


meson: fixes for using libdicom as a subproject

Add an override_dependency() call for libdicom.  This is the modern way of propagating dependencies out of subprojects, allowing a parent project to use dependency('libdicom') rather than dependency('libdicom', fallback : ['libdicom', 'libdicom_dep']).
Also skip the dist script if we're a subproject.  Dist scripts can't be used in subprojects before Meson 0.58.0, and in our case, it's not clear that it makes sense to do so.  The parent project probably doesn't want to ship our documentation, may not have vendored our dotfiles, and may not want us skipping files they did choose to vendor.

Sorry for the delay -- my household is full of covid. It's been a difficult few weeks :(


Followed Games

For the next update, is it possible to add the Followed Game feature on the menu so we can check streams for specific games directly from the menu instead of searching for it?

+1 for this

:+1: from me too. Right now I have to either use the Twitch app on my phone, or login to the Twitch website to follow a game.

Yeah, I think this issue should be closed now.

I would agree if the followed games feature would be fully implemented, which right now isn't the case.

I would agree if the followed games feature would be fully implemented, which right now isn't the case.

Yes, that's why I left this thread open.

We still need a follow/unfollow button.

This hasn't been implemented yet, because the way Twitch has built this feature into their API is terribly inconsistent (/rant). I need to write a special data adapter first - just for the game following mechanic.


goat: Add -e --extra-option

This adds a new option to goat that allows passing raw options to clang, which the "-m" option doesn't allow.
Example usage: -e="--target=aarch64-arm-none-eabi"

Could you fix the lint? Thank you


Support pasting codes as "XXX-XXX"

Is your feature request related to a problem? Please describe.
By my understanding, splitting a code into 2 parts is done for better user readability. This library supports and even suggests, configuring the input as "XXX-XXX". I think it's a problem that a code with a hyphen or space in the middle cannot be pasted into the field.
Describe the solution you'd like
Accept pasting of "XXX-XXX" and "XXX XXX" (and possibly other formats)
Describe alternatives you've considered
-
Additional context
I can have a shot at implementing this if others agree that this makes sense.

@necky2 thanks for bringing that up. While I still can't think of a great solution for this, there's a workaround such as handling onPaste event.
That would require a change on the current implementation, because it's always calling the library's default pasteListener.
If I allow for the user/developer setting up a custom paste event listener over the default library behavior, then it should be possible. I'm also not sure whether or not input.selectionStart and input.selectionEnd should be managed during this act of pasting a code with a decorative character.

Any update on this? Even just allowing me to reformat the pasted value before the built-in pasteListener is called should be sufficient for my use case.

Any update on this? Even just allowing me to reformat the pasted value before the built-in pasteListener is called should be sufficient for my use case.

I removed the hyphen from the emails that I send to customers, problem "solved". If you get this issue moving and support is added for this, I would still appreciate that.

I removed the hyphen from the emails that I send to customers, problem "solved". If you get this issue moving and support is added for this, I would still appreciate that.

In our case, it's not a hyphen in between the code groups, but rather a prefix at the start of the code. Something like A-12345. Just to add to the list of use cases.

Hey all @necky2 @buffalom @trm217 @cschmatzler @zfm-andreasmatuszewski
This turned into a new feature as of 1.4.0:
<InputOTP pasteTransformer={(pasted) => pasted.replaceAll('-', '')} ...>
Just upgrade it npm i input-otp@latest.
It's also updated in the docs.

Working flawlessly, thank you ❤


fix(obstacle_avoidance_planner): fix inf loop in mpt

Description
fix inf loop in mpt because of diverged elastic band

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Codecov Report

:exclamation: No coverage uploaded for pull request base (beta/v0.3.9@f2c64f2). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@              Coverage Diff              @@
##             beta/v0.3.9    #127   +/-   ##
=============================================
  Coverage               ?   0.00%
=============================================
  Files                  ?      16
  Lines                  ?    2872
  Branches               ?       0
=============================================
  Hits                   ?       0
  Misses                 ?    2872
  Partials               ?       0

Flag
Coverage Δ

differential
0.00% <0.00%> (?)

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Could the backend report vacuous nodes through the execute response ?

This issue originates from https://github.com/runtimeverification/evm-semantics/issues/1944
We would like if possible the backend to report if the current executed node is vacuous.
A minimal example written in the Foundry integration of KEVM was tested.
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.8.13;

import "forge-std/Test.sol";

contract VacuousTest is Test {
    function test_unreachable(bool flag) public {
        vm.assume(false);
        assert(false);
    }
}

It can be stored in evm-semantics/tests/foundry/test
Then
kevm foundry-kompile
kevm foundry-prove --test VacuousTest.test_unreachable

It features a call to vm.assume(false) which stucks the execution at this line, when the K cell is roughly:
<k> #foundry_assume ~> false </k>
Currently, the next_cterms that is decoded from pyk is an empty list, so pyk deduces that the execution is stuck at this point. But we would like, if possible, the backend to be able to automatically return a new status code vacuous (or related) if the current node is vacuous.
I attached the return of the test ran with the kevm foundry integration and adding the --debug to be able to see the requests and response with the haskell backend (split in 2 to circumvent the Github file size limit). We can see that the depth-bound status code is returned with a first depth of 2, then of 0 in the last response that contains the depth-bound status code. In the two cases the response contains the #foundry_assume false.
dump_part1.txt
dump_part2.txt
Please ask me for additional information / files if needed.
Thanks !

Would you also happen to have the bug report tar file? This would make it easier to test and validate any changes.

Thanks for looking into that @goodlyrottenapple !
Please find the bug report attached
bug_report.tar.gz

@iFrostizz it would be good to make an integration test in pyk, and generate the bug report for that integration test first. That way the test submitted to the backend can be much smaller and they can make a smaller test for this new feature. You can open a draft PR in pyk with the new test, nad it can be added here: https://github.com/runtimeverification/pyk/blob/1d76cf579daa3dc8f05a337dfce6cb925212d37d/src/tests/integration/kcfg/test_simple.py#L25
Then you can generate the bug report associated with it by running the test with this line uncommented: https://github.com/runtimeverification/pyk/blob/1d76cf579daa3dc8f05a337dfce6cb925212d37d/src/pyk/testing/_kompiler.py#L60

This minimal example should be against a much smaller definition than KEVM for the backend team to work with, so that the test is focused on just this particular issue.

I pushed the minimal test on: https://github.com/runtimeverification/pyk/compare/master..vacuous-test-repro
And here is the bug-report
Please tell me if it doesn't describe the issue correctly, but it seems like applying a falsy constraint thanks to the ensures clause was close enough to a <k> foundry_assume ~> false </k> and we correctly get the depth-bound with a depth of 0 in the response.
We may want to modify the test so that it can include the ExecuteResult.reason = StopReason.VACUOUS or something related to make sure that the backend actually returns the expected stop reason.

I'm not sure we need a new stop reason. Surely the backend should just return stuck in this instance?

We want to be able to distinguish stuck and vacuous in the pyk libaryr because it affects the way the usre interprets the proof state. We can always feed the same result back into the simplify endpoint and see #Bottom come back, but the backend has already computed that it's vacuous so we should just report that information back.
So, short answer is that yes, we do want a separate return type if possible. A proof that passes because a branch becomes vacuous is something we want to warn the user of, because it could be an error in their specification.

From my investigation, the old backend cannot actually distinguish between stuck and vacuous. From the logs I can see that the backend checks the ensures predicate once unified and finds false and therefore aborts. However, as far as I can tell, it doesn't store this failure in any special way, compared to e.g. failing to unify with the LHS.

Closed by #3637


Always start playing from 0 seconds, cannot play the specified position , when click wavesurfer

Wavesurfer.js version(s):
4.2.0
Browser and operating system version(s):
Chrome  86.0.4240.183
MacOS 10.15.7
Code needed to reproduce the issue:
the size of  the audio files is 98m

Hi! Can you reproduce your problem with an example, maybe with codesandbox?

if the backend parameter not 'WebAudio' it does not work

@zhangzygit can you provide a link to the audio file in question for testing?

@zhangzygit can you provide a link to the audio file in question for testing?

backend: 'WebAudio'

@thijstriemstra , have you eventually solved the issue? what the cause was?

I believe the problem is how HTMLMediaElement behaves while setting its internal currentTime when the server serving audio files is not configured properly. Changing currentTime creates a byte range request for the server asking for a part of the audio file - and if this fails, the player sets currentTime to 0 by default.
I struggled for a while with this since I had to keep audio files only available for logged in users which meant I had to serve the files with my own implementation. IIRC when I correctly handled the byte range requests Wavesurfer also began to work.
See this StackOverflow answer for reference.


Removes unused imports from code block

Summary
Removed unused variable from code block.
Details and comments
QuantumRegister and ClassicalRegister are imported in example, but not otherwise used in the code example.
(Also resolves issue opened in https://github.com/Qiskit/documentation/pull/2056)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
26 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.03%) to 88.826%

Files with Coverage Reduction
New Missed Lines
%

crates/accelerate/src/two_qubit_decompose.rs
1
91.45%

crates/qasm2/src/lex.rs
7
91.48%

crates/qasm2/src/parse.rs
18
95.77%

Totals

Change from base Build<PHONE_NUMBER>1:
-0.03%

Covered Lines:
74120

Relevant Lines:
83444

💛  - Coveralls


Refactor 24.04 fix ngc-release-test workflow

Refactor ngc-release-test workflow to correspond to resent changes in main CI workflow

There is no CI run. Could we manually trigger the NGC release testing workflow to confirm it's working?

@DwarKapex Could you please address my comments above?

There is no CI run. Could we manually trigger the NGC release testing workflow to confirm it's working?

@DwarKapex Just to clarify that we should manually trigger the "NGC release testing" workflow (ngc-release-testing.yaml) to verify that it is functional. The presubmit CI (ci.yaml) is now running but it does not verify the NGC workflow.

I just found that there is indeed a manual trigger: https://github.com/NVIDIA/JAX-Toolbox/actions/runs/8608117056 😁
However, it looks like a experimental run as most of the jobs in that run were cancelled.

I just found that there is indeed a manual trigger: https://github.com/NVIDIA/JAX-Toolbox/actions/runs/8608117056 😁 However, it looks like an experimental run as most of the jobs in that run were cancelled.

Here is an automatic run tirggered externally: https://github.com/NVIDIA/JAX-Toolbox/actions/runs/8610029132


Moment.js might produce big bundles

Moment.js is well known for a very high size
There are many issues around this https://github.com/moment/moment/issues/2373
I saw that vue-good-table uses moment only to format dates in a couple of places
A good alternative for such operations is https://github.com/date-fns/date-fns
With date-fns you can import only the functions you need (e.g format) and not import the whole library to do this operation. This helps a lot reducing the overall vue-good-table size when used in production.
Update:
Here is some proof:
Simple app (vue-cli wepback with vue only)

As you can see the vendor file has 60kb which contains only Vue basically
Same app with a very basic vue-good-table added

Size went up from 60kb up to 688 kb because of moment.js

Thank you for bringing this up @cristijora. Makes a lot of sense. Looking into it.

v1.5.2 replaced moment with date-fns parse/format functions. Thank you @cristijora for the recommendation!


Support for the termux android app

Termux does not work well with binary wheels. I havn't find a way to make it work on termux. However, it works on ubuntu inside termux. First, you need to install the AnLinux app, then install a chrooted ubuntu, everything should work out of the box.

I would like to install revChatGPT on Termux, which depends on curl_cffi. I manually installed curl_cffi with the following modifications:

Installed rust and binutils.
Modified preprocess/download_so.py, setting LIBDIR = '/data/data/com.termux/files/usr'.
Commented out delocate-wheel dist/*.whl in the makefile.
Finally, generated dist/curl_cffi-0.5.7-cp37-abi3-linux_aarch64.whl and installed it using pip.

I hope this information is helpful.

@commiyou I tries it with old curl_cffi-0.5.7 source but there is same errornas https://github.com/yifeikong/curl_cffi/issues/121

I would like to install revChatGPT on Termux, which depends on curl_cffi. I manually installed curl_cffi with the following modifications:

Installed rust and binutils.
Modified preprocess/download_so.py, setting LIBDIR = '/data/data/com.termux/files/usr'.
Commented out delocate-wheel dist/*.whl in the makefile.
Finally, generated dist/curl_cffi-0.5.7-cp37-abi3-linux_aarch64.whl and installed it using pip.

I hope this information is helpful.

can you share the curl-cffi whl file?

@Almaz-Kabirov you also need to compile the corresponding libcurl-impersonate-chrome.so.4 shared library via curl-impersonate and place it in Termux's $PREFIX/lib folder, then only edit the makefile for **curl_cffi and can compile the curl_cffi.whl file.
Check my discussion in install gpt4free in Termux to get started. I can send the build script later when I have time.

According to this thread, it seems that the default manylinux wheel if not suitable for termux environment. I will build special wheels and put them in GitHub releases in the future.

Did anyone encountered libpthread not found error?


TimeSeries Catalog produces duplicate entries on separate pages

When testing RADAR client against a copy of an LRL database, I found that the time series catalog produced duplicate entires for some timeseries (example CARI2.Flow.Inst.6Hours.0.OHRFC-0hrQPF on the second and third pages of the catalog with default settings). It seems to be some issue with how the cursor is handled because if I increase the page size to encompass all of the results, I do not receive duplicates.

This should be fixed in #188


Support if! versus if

This presents some challenges because if performs some kind of inference.  For example, consider this:
(defcolumns X Y A)
(defconstraints c1 () (if (eq! X Y) A))
(defconstraints c () (if (eq X Y) A))

Both constraints compile down to the same underlying form.  One solution to this issue would be to remove use of if altogether from the constraints.  That way, we can reinterpret its meaning as we see fit.

Another good example:
(defcolumns (X :binary@loob) (Y :binary@bool) A)
(defconstraints c1 () (if X A))
(defconstraints c2 () (if Y A))

These generate different constraints.  The first is: if X == 0 then A whilst the second is if Y != 0 then A.

Fixed as part of #393


stacking modulations to FM feedback doesn't work

try modulating the same parameter from multiple sources, and i found glitchy behavior with FM feedback.

indeed a problem with stacked modulations to 1 destination. i was not accounting for previously processed modulations to a given destination, so the delta would be incorrect and the recalc period would overshoot. then undershoot, then overshoot, creating a horrible high freq triangle wave in modulations that are stacked.


Only getting summary for interface methods

Hey, thanks for making this plugin. I've noticed that it doesn't seem to work for interface methods though? It only generates the summary section and not detect the parameters / return value.
/// <summary>
///
/// </summary>
int Generate(int level);

It does appear to work for the implemented method:
/// <summary>
///
/// </summary>
/// <param name="level"></param>
/// <returns></returns>
public int Generate(int level)
{
}

I've noticed that it seems consistent for method stubs.

@Mitsugaru Thanks for the code sample, helped me a lot.


Callback without sigma parser

Is it possible to apply a callback function when not using a parser to read from .json or .gexf file?

Believe I managed to do what I need by modifying the sigma.js code.

If I understand correctly, your aim is to read a GEXF or JSON without using sigma's parser plugins for these file types? Using HTML5's FileReader API, it is pretty straightforward to read a file and work with its contents after loading has succeeded.

No sorry, I did not make myself very clear. I wanted to use a callback function when making a graph directly in javascript rather than importing a .json or .gexf file.

Alright - you could simply create a function which fills a graph object with nodes and edges (in whichever way you want to do it), which then initializes sigma using that graph when the object has been populated?


Bug: Bitmap font XML not phrased and exported correctly

Description
With Cache Buster, Compression and Mipmaps turned on, Bitmap font cannot be correctly phrased in the manifest. This causes error when loading the bundle.
Steps to Reproduce

Taking Pixi's Bitmap Text example with Desyel font, put them into a game-screen bundle folder.

Some basic pipes settings as:

pipes: [
	...pixiPipes({
		resolutions: { high: 3, default: 2, low: 1 },
		manifest: {
			trimExtensions: true
		},
	}),
],

Run asset pack
Load the generated manifest and bundle, Pixi should pickup and load the Bitmap font from the XML

await PIXI.Assets.init({
	basePath: 'public/assets',
	manifest,
	texturePreference: { resolution: [window.devicePixelRatio, 1], format: ['webp', 'png'] },
});
await PIXI.Assets.loadBundle('game-screen');

Current Behaviour
desyel.png got phrased correctly, exported as all resolutions and formats with hashes, but desyel.xml was not phrased and simply got copied to the output folder.

In desyel.xml, it still reference the desyel.png:
<font>
    <info  ... />
    <common .../>
    <pages>
        <page id="0" file="desyrel.png"/>
    </pages>

When running PIXI.Assets.loadBundle('game-screen'), PIXI cannot find desyrel.png (because it's phrased to desyrel-F3uydg.png etc), 404 error occurs.
Expected Behaviour
desyel.xml should get phrased into all resolutions, formats with hashes, and each reference to its corresponding texture. Similar to how the spine atlas gets phrased.

Checking the Pixi.js Bitmap test-assets, each bitmap texture has its own data file (XML, FNT, etc), although the data files are exactly the same, only the texture filename changed.

Pixi's Side Solution?
I think this can also be fixed on Pixi's side. We always have ONE XML with different textures. When Pixi reads the XML and sees desyel.png, for example, it should reference back to the manifest and try to load the correct texture from the manifest.

@Zyie Any plan to fix it? As it's the only bug that keeps us from using Asset Pack.

Hey @furic yes i do plan to fix this, sorry it's taken a while, will hopefully get to this soon

Hi :) any update on this please? @Zyie


My documents folder

📝 Provide a description of the new feature
What is the expected behavior of the proposed feature?  What is the scenario this would be used?
video game save file location being changed.  I currently play a game where i believe the game saves are being stored in the my documents folder but what im wanting to do is change the location of the my documents to a shared drive so i can play on my other computer and continue where i left off on the 1st computer.

If you'd like to see this feature implemented, add a 👍 reaction to this post.

Please contact your game publisher for this.


Master specification support updates

Weve significantly limited our api prior to our v3 release, the spec support needs to be updated to reflect binary support, removal of catalog/ssts, and currently known caveats.

I believe this is now resolved.


[Prefix] Always pass io=outs to Pkg.add

@giordano does this solve a specific / known issue?

Not showing the output of Pkg.add when verbose=false


Relax activerecord version

dependencies versions in gems should be flexible enough to allow bundler fulfil all the versions specified in an app's Gemfile.
The <= 3.2.19 constraint for activerecord made impossible to install the latest rails security update that comes with activerecord <IP_ADDRESS>

Apart of my comment, :+1:

:+1: