Configure resource-based policy for Lambdas in update operations

Moved the AddPermission invocation from the sources controller to the CloudWatch Events client, which covers us for update operations now, in addition to creations. Needing the permission is a result of creating the target -- so it's cleaner to make this call here. Keeping the AwsLambdaClient separate, because it's still a helpful abstraction and I'm anticipating calling it directly in a future PR.

Codecov Report

Merging #270 into master will decrease coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #270      +/-   ##
==========================================
- Coverage   85.82%   85.78%   -0.04%
==========================================
  Files          16       16
  Lines         395      394       -1
  Branches       48       48
==========================================
- Hits          339      338       -1
  Misses         56       56

Impacted Files
Coverage Δ

...ion/curator-service/api/src/controllers/sources.ts
88.60% <ø> (-0.29%)
:arrow_down:

...rator-service/api/src/clients/aws-events-client.ts
100.00% <100.00%> (ø)

verification/curator-service/api/src/index.ts
83.75% <100.00%> (ø)

Continue to review full report at Codecov.

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

 Integrate deployed Lambda functions with staging environment services


Ability to edit ranks right on the "View Results" (or other convenient place)

Functioning good enough via the modal


feature to export and import list with parameters

Hi!
When I install something I use the --interactive (-i) parameter with winget to show the install gui, to configure / view / supervise the installer. It is somehow possible to implement this option, to freely add / customize the install / uninstall commands parameters? Now you only can input the app id and thats it, from the script it is added automatically these parameters: --accept-source-agreements --accept-package-agreements -h.
I know that installing softs with these parameters will speed up the process, but what do you think about it?
Thank you!

Hi, thanks for your comment.
This tool is mainly used to install apps automatically with a list of apps for example. We could use a way to allow the fact that apps  install without the silent option.
Feel free to change the command in the script and try yourself to see if your setup can work, and we will think about the best way to implement your request :)


Fix for aodh

Finally, we found a way to make aodh jobs green.
There are two main problems:

the tests for postresql are running no matter
we specify backed to MySQL, hence we pass bindep.txt
to install the dependencies,
the mysqld file in RHEL containers contains some
extra capabilities requirements in order to run,
which requires container to be deployed with
--privileged or --cap-add SYS_NICE options [1][2].

[1] https://bugs.mysql.com/bug.php?id=91395
[2] https://unix.stackexchange.com/a/303424

Thank you Szymon!


Include the comment for Vocabulary values in the model

Classes and class fields all retain their comments as a http://www.w3.org/2000/01/rdf-schema#comment property in the model document, so it is possible to preserve the comments when generating code bindings from the model. It would be really nice if vocabulary values also preserved their comment descriptions so that users reading the bindings can see how they should be used.

Looks like this is fixed with the new spec-parser


Update the OTLP-Arrow bridge to demonstrate use of per-request authorization

The former examples/bridge now includes the use of per-request metadata.

I will avoid replacing the prior example, leave it (with batch processor) and add this example as a new one, since batch processor is incompatible with per-request metadata.


{train,valid,test}_prefixes.txt shouldn't be empty

If these files have been written as empty, subsequent ReadyCorpus objects pointing to that directory will have empty datasets. These files shouldn't be written if empty. If they already exist and are empty, they shouldn't be read.

In which situations do these files get written as empty?

One instance is if you create a Corpus object but haven't done the preprocessing yet. So it ties into the Issue #50  where you shouldn't be able to have empty Corpora.

If the text files are emtpy, there will be a warning when the Corpus object is created, as per issue #50


astraeus package unknown

Instrument
No response
What happened?
While installing the latest version of Eureka using pip setup.py install, there is a package called astraeus that can't be downloaded.
Error traceback output
Installed /home/siegfried/anaconda3/lib/python3.8/site-packages/astroquery-0.4.7.dev8076-py3.8.egg
Searching for astraeus@ git+https://github.com/kevin218/Astraeus@main
Reading https://pypi.org/simple/astraeus/
Couldn't find index page for 'astraeus' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.org/simple/
No local packages or working download links found for astraeus@ git+https://github.com/kevin218/Astraeus@main
error: Could not find suitable distribution for Requirement.parse('astraeus@ git+https://github.com/kevin218/Astraeus@main')
What operating system are you using?
Windows subsystem for Linux on windows 10
What version of Python are you running?
Python 3.8.3
What Python packages do you have installed?
All packages in a conda environment called eureka according to setup.py
Code of Conduct

[X] I agree to follow this project's Code of Conduct

If the recommended install instructions for Eureka! aren't working to install Astraeus, you might try the Astraeus install instructions separately: https://kevin218.github.io/Astraeus/#installation
Let us know if that also doesn't work.

Are you sure you're following our installation instructions closely? There are no pip setup.py install instructions. You should be doing something more like pip install '.[jwst]'

If you haven't seen the installation instructions yet, they're here: https://eurekadocs.readthedocs.io/en/latest/installation.html

The Astraeus package seems to be correctly installed using pip install '.[jwst]'.  After setting the CDRS environment variables, I get the following error message:
/mnt/d/eureka/MyFirstEureka/JWST$ python run_eureka.py
Traceback (most recent call last):
File "/mnt/d/eureka/MyFirstEureka/JWST/run_eureka.py", line 23, in
s2_meta = s2.calibrateJWST(eventlabel, ecf_path=ecf_path)
File "/home/siegfried/anaconda3/envs/eureka/lib/python3.9/site-packages/eureka/S2_calibrations/s2_calibrate.py", line 69, in calibrateJWST
meta = readECF.MetaClass(ecf_path, ecffile)
File "/home/siegfried/anaconda3/envs/eureka/lib/python3.9/site-packages/eureka/lib/readECF.py", line 57, in init
self.read(folder, file)
File "/home/siegfried/anaconda3/envs/eureka/lib/python3.9/site-packages/eureka/lib/readECF.py", line 200, in read
self.inputdir = os.path.join(self.topdir,
AttributeError: 'MetaClass' object has no attribute 'topdir'

It looks like topdir isn't defined in your Stage 2 ECF.
On Fri, Dec 2, 2022, 6:40 AM svaverbe @.***> wrote:

The Astraeus package seems to be correctly installed using pip install
'.[jwst]'. After setting the CDRS environment variables, I get the
following error message:
/mnt/d/eureka/MyFirstEureka/JWST$ python run_eureka.py
Traceback (most recent call last):
File "/mnt/d/eureka/MyFirstEureka/JWST/run_eureka.py", line 23, in
s2_meta = s2.calibrateJWST(eventlabel, ecf_path=ecf_path)
File
"/home/siegfried/anaconda3/envs/eureka/lib/python3.9/site-packages/eureka/S2_calibrations/s2_calibrate.py",
line 69, in calibrateJWST
meta = readECF.MetaClass(ecf_path, ecffile)
File
"/home/siegfried/anaconda3/envs/eureka/lib/python3.9/site-packages/eureka/lib/readECF.py",
line 57, in init
self.read(folder, file)
File
"/home/siegfried/anaconda3/envs/eureka/lib/python3.9/site-packages/eureka/lib/readECF.py",
line 200, in read
self.inputdir = os.path.join(self.topdir,
AttributeError: 'MetaClass' object has no attribute 'topdir'
—
Reply to this email directly, view it on GitHub
https://github.com/kevin218/Eureka/issues/493#issuecomment-1335117863,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFC2C7OIH524Z346CZ2437LWLHN3HANCNFSM6AAAAAASRCWYJQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

All directories are set and eureka runs through its stages,  At the end of stage 2, it stumbles upon an issue with qt:
2022-12-04 18:00:15,489 - stpipe.EurekaSpec2Pipeline - INFO - Saved model in /mnt/d/eureka/data_analysis/stage2/S2_2022-12-04_wasp39b_run7/jwdata0010010_11010_0001_NRS1_uncal_updatedHDR_TINY_injected_calints.fits
2022-12-04 18:00:15,489 - stpipe.EurekaSpec2Pipeline - INFO - Step EurekaSpec2Pipeline done
Generating x1dints figure
QObject::moveToThread: Current thread (0x556bb8db9d70) is not the object's thread (0x556bb22201a0).
Cannot move to target thread (0x556bb8db9d70)
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/siegfried/anaconda3/envs/eureka/lib/python3.9/site-packages/cv2/qt/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb, eglfs, minimal, minimalegl, offscreen, vnc, webgl.
Aborted

This appears to be a problem finding qt. Try this link for possible
solutions:
https://forum.qt.io/topic/111553/solved-qt-qpa-plugin-could-not-find-the-qt-platform-plugin-xcb-in
.
On Sun, Dec 4, 2022, 12:15 PM svaverbe @.***> wrote:

All directories are set and eureka runs through its stages, At the end of
stage 2, it stumbles upon an issue with qt:
2022-12-04 18:00:15,489 - stpipe.EurekaSpec2Pipeline - INFO - Saved model
in
/mnt/d/eureka/data_analysis/stage2/S2_2022-12-04_wasp39b_run7/jwdata0010010_11010_0001_NRS1_uncal_updatedHDR_TINY_injected_calints.fits
2022-12-04 18:00:15,489 - stpipe.EurekaSpec2Pipeline - INFO - Step
EurekaSpec2Pipeline done
Generating x1dints figure
QObject::moveToThread: Current thread (0x556bb8db9d70) is not the object's
thread (0x556bb22201a0).
Cannot move to target thread (0x556bb8db9d70)
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in
"/home/siegfried/anaconda3/envs/eureka/lib/python3.9/site-packages/cv2/qt/plugins"
even though it was found.
This application failed to start because no Qt platform plugin could be
initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb, eglfs, minimal, minimalegl,
offscreen, vnc, webgl.
Aborted
—
Reply to this email directly, view it on GitHub
https://github.com/kevin218/Eureka/issues/493#issuecomment-1336470572,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFC2C7MCQ47AR7FE7IO3FYDWLTGTBANCNFSM6AAAAAASRCWYJQ
.
 Matplotlib can have issues in that case. If that's the case, maybe at least trying to set hide_plots to True in the Stage 2-6 ECFs

No I am working with windows subsystem for linux on a windows 10 laptop.  I am going to look at the link you just sent me.

Ah, I've done that too and unless you've setup forwarding of the Linux display to Windows, then you basically are using a computer without a display and setting hide_plots to True might help. It might not solve all of the problem though.

https://jwst-docs.stsci.edu/
On Mon, Dec 5, 2022, 5:50 AM svaverbe @.***> wrote:

Finally solved the problem by setting hide_plots=True everywhere and
installing pyqt6 via pip install pyqt6.
The pipeline runs correctly on the WASP-39b example. I am now looking
through the documentation files for all stages.
What is the best reference to learn about Webb's instrumentation ?
—
Reply to this email directly, view it on GitHub
https://github.com/kevin218/Eureka/issues/493#issuecomment-1337127227,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFC2C7KKT6UF7JTBKKV4743WLXCIXANCNFSM6AAAAAASRCWYJQ
.
You are receiving this because you commented.Message ID:
@.***>

Also checked the download script for JWST data.  The script uses the package keyring that I  have in my conda environment, but it is entirely clear what I should do next:
python  download_data_JWST_template.py
Traceback (most recent call last):
File "/mnt/d/eureka/MyFirstEureka/jWST/download_data_JWST_template.py", line 38, in
md.login(mast_token)
File "/home/siegfried/anaconda3/envs/eureka/lib/python3.9/site-packages/eureka/lib/mastDownload.py", line 87, in login
Observations.login(mast_token)
File "/home/siegfried/anaconda3/envs/eureka/lib/python3.9/site-packages/astroquery-0.4.7.dev8076-py3.9.egg/astroquery/query.py", line 153, in login
bases[0].login(*args, **kwargs)
File "/home/siegfried/anaconda3/envs/eureka/lib/python3.9/site-packages/astroquery-0.4.7.dev8076-py3.9.egg/astroquery/query.py", line 516, in login
self._authenticated = self._login(*args, **kwargs)
File "/home/siegfried/anaconda3/envs/eureka/lib/python3.9/site-packages/astroquery-0.4.7.dev8076-py3.9.egg/astroquery/mast/core.py", line 66, in _login
return self._auth_obj.login(token, store_token, reenter_token)
File "/home/siegfried/anaconda3/envs/eureka/lib/python3.9/site-packages/astroquery-0.4.7.dev8076-py3.9.egg/astroquery/mast/auth.py", line 67, in login
token = keyring.get_password("astroquery:mast.stsci.edu.token", "masttoken")
File "/home/siegfried/anaconda3/envs/eureka/lib/python3.9/site-packages/keyring-23.11.0-py3.9.egg/keyring/core.py", line 55, in get_password
return get_keyring().get_password(service_name, username)
File "/home/siegfried/anaconda3/envs/eureka/lib/python3.9/site-packages/keyring-23.11.0-py3.9.egg/keyring/backends/fail.py", line 25, in get_password
raise NoKeyringError(msg)
keyring.errors.NoKeyringError: No recommended backend was available. Install a recommended 3rd party backend package; or, install the keyrings.alt package if you want to use the non-recommended backends. See https://pypi.org/project/keyring for details.

All issues solved after downloading the keyring-alt package.  I have downloaded data for WASP-96b and WASP-39b.  I will close the thread here.


Add build flags to tune components

unfortunatelly, it is forbidden to install packages via pip3 in conan CI pipeline.
https://github.com/conan-io/conan-center-index/pull/11819#issuecomment-1193852922
I need flag DILIGENT_NO_RENDER_STATE_NOTATION in order to disable building this module.
Building conan recipe with this module works fine locally... So, in the end, is only needed to pass the conan CI pipeline

What is the reason to disable Imgui?

For modularity. I don't need this module for my purposes...
I can revert changes related to imgui, if you think, it is nuclear diligent-tools functionality

There are dependencies between components. Just removing some component from the build will likely break other things at Diligent Engine level.
If you don't need a component, you can remove it from your build:
set_target_properties(Diligent-Imgui PROPERTIES EXCLUDE_FROM_ALL 1 EXCLUDE_FROM_DEFAULT_BUILD 1)

Sounds good


Feature Request:  Ability to see container ids on main dashboard or inside container details

We currently log to ELK and the machine name passing is the ID of the container, not the container name.  It makes it time-consuming to find which running container needs servicing because we know the ID but not the name.  Thanks!

Note that the container ID is in the URL when you browse container details: http://localhost:9000/#/containers/<ID>. For example:
http://localhost:9000/#/containers/d41db8d3df35f41a08604e1b876c9f1e13234b8f5ea69c09373114ec28095a39
Nevertheless, I think that it could be useful to show it in the container details (the short ID at least). It would be specially useful if portainer is wrapped in the future (see Synctrayzor). I proposed it in #900. However, @deviantony is not convinced about it: https://github.com/portainer/portainer/pull/900#issuecomment-309215769

IMO, this will wait https://github.com/portainer/portainer/issues/568 to be implemented so that you can choose to display the IDs of your container in the list.
We'll keep this issue open to add the container ID to the container details.


Progress indicator updates to match design

In the Gray 10 Theme Mobile-Carbon Design System figma file there is a component called Progress indicator. Design here:
https://www.figma.com/file/O3KSDu2TWpMaazGkgsKqLA/(WIP)-Gray-10-Theme-Mobile---Carbon-Design-System?node-id=12627-270845&t=pExk7dwH4TEEmGNT-4

The design has an accordion option and a dropdown option - dev library has the accordion but not the dropdown variant.

If you have design questions you can slack @LISA or @rjgervacio
If you need any additional information you can slack @kwadwo
@David-Bradshaw

This can be accomplished using Dropdown with icons and iconColor.  See https://github.com/carbon-design-system/carbon-react-native/issues/115


Error with joining player

Hi, if player join on my server, in console is error:
[16:30:49 INFO]: UUID of player Mango is f023f4b2-7d77-3a9f-a9b1-45934966c6f3 [16:30:50 INFO]: Mango[/<IP_ADDRESS>:42124] logged in with entity id 13 at ([Auth]98.57725716045061, 72.0,<PHONE_NUMBER>5359235) [16:30:52 INFO]: Mango lost connection: Internal Exception: io.netty.handler.codec.EncoderException: us.myles.ViaVersion.exception.InformativeException: Please post this error to http://github.com/MylesIsCool/ViaVersion/issues {Type: Chunk, Source #1: us.myles.ViaVersion.protocols.protocol1_12to1_11_1.Protocol1_12To1_11_1$4 (Anonymous), Source #0: us.myles.ViaVersion.protocols.protocol1_12to1_11_1.Protocol1_12To1_11_1$4$1 (Anonymous), Data: [], Packet ID: 32}
and in minecraft client: [Proxy] connerction lost. How to fix it? thanks

Please fill out the issue template fully

What is the output link of /viaversion dump?
https://gist.github.com/e3189b63254e77c1b61781ed0a26296f
Are you using any additional software like BungeeCord? If so, what software and version? (Please list your plugins as well)
BungeeCord ( Waterfall ), 1.12.2
How does this error happen? login? Using an item?
On join the game.
Is there an error in the console? Use pastebin.com. Is there a kick message?
Error: https://hastebin.com/tepegomisu.php
Kick message: [Proxy] Lost connection to server.

Try without SkinRestorer,

Plugins on proxy: BungeeAdminTools, BungeeRcon, BungeeReport, NuVotifier, ServerListPlus, SkinRestorer, SlashServer, UltimateFriends, ViaVersions, YamlerCore

You should only use ViaVersion on BungeeCord OR Spigot, not both.
I'd suggest removing from the Bungee.

without skinrestorer working, thanks


Change param_name to sanitizer

This looks a bit less awkwardly:
load_and_authorize_resource sanitizer: :custom_sanitizer

There could also be a default sanitizer which will permit everything except :id, :updated_at, and :created_at attributes, which, I think, may work well for many simple controllers. Just an idea.

@heaven Thank you for the suggestion, but I think this can add confusion and hint that there should be some sort of Sanitizer class provided. Perhaps the readme shouldn't name the method my_sanitizer as that's not actually an accurate description.
Permitting everything by default is generally a bad idea, and I wouldn't want to encourage it. It's generally best to be explicit about what is allowed to come through.


Add methods to allow generation of critical CSS for a specific route …

…and to allow removal of specific routes from the CSS cache.
This modification exposes some methods allowing the developer to generate specific routes dynamically.  It also allows the developer to clear routes from the cache.  With these added tools, developers can dynamically generate critical CSS without relying on hardcoded routes in critical_path_css.yml.
This could solve this first issue in the backlog.  For example, a user could add all of the URLs for a products resource with the following code snipet:
Product.all.each do |product|
  CriticalPathCss.generate "/product/#{product.id}"
end

It does not allow the user to add controller routes to the config yml, but it gives the developer the tools he/she needs to add all of the routes for a resource to the cache.
It also allows developers to dynamically generate critical CSS for their whole app without having to remember to hard code all of routes in the configuration yml.  Here is a sample implementation of dynamically generated critical CSS
This pull request is completely backward compatible with previous versions.
I look forward to your feedback.

On my first walk-through, this is awesome!!! I'll run this by my team asap, and then we'll merge this in.

After having some time to review, I really am excited about the addition and it should provide great value to the project. Here are a few suggestions:
While convenient, I think we should remove arguments that allow for silent method failure, i.e. routes=nil. I think there's benefit of an error being raised if the developer used/uses the wrong method. Maybe something like:
def self.generate(route)
  Rails.cache.write(route, CssFetcher.new.fetch_route(route), namespace: CACHE_NAMESPACE)
end

def self.clear(route)
  Rails.cache.delete(route, namespace: CACHE_NAMESPACE)
end

def self.clear_matched(routes)
  Rails.cache.delete_matched(routes,namespace: CACHE_NAMESPACE)
end

def self.clear_all
  clear_matched('*')
end

We'll probably need to update anything currently referencing generate to generate_all in this case.
It may be helpful to include _cache to ensure the method's behavior is clear.
Let me know what you think!

Good suggestions.  How important is it to be backward compatible?  Removing the default route=nil from the generate method would break backward compatibility.  We could do something like this:
def generate_for (route)
  Rails.cache.write(route, CssFetcher.new.fetch_route(route), namespace: CACHE_NAMESPACE)
end

We would leave the existing generate method unchanged.  This preserves backward compatibility while removing the default value in the method's argument.
I like the changes to the clear methods.  I think the behavior of clear is clear enough (no pun intended).  The user need not be concerned with the fact that the CSS is stored in the cache.  He/she need only be concerned with the concept that the critical CSS for a given route is being cleared and will no longer be available to fetch without being generated again.
Thoughts?

Hmmmm, It's tough to gauge how many folks are actually using this, but given the issues reported and contributions made, I think we should maintain backwards compatibility until a larger change is requested/introduced. With that being said, I like the idea using generate_for here.
On a side note, I plan to attempt to move away from Penthouse to Critical CSS. This change should produce a major/minor version bump. I'm thinking in the short-term a method_alias could be added for generate_all/generate, while providing a deprecation notice for generate in preparation for the mentioned major/minor version bump. This is all initial thought, however...
Regarding the clear method name changes, I'm fine leaving it as is. I think you make a good point regarding the user not needing to care about how the CSS is being stored.
Once these changes have been completed, we should be good to go to get this PR merged in. Thanks again for the contribution and let me know if you have any other thoughts/feedback.

Now that I think about this some more, I really like the idea of using generate (route) and generate_all.  If I did not have to consider backward compatibility, that is exactly how I would design it.  I know I'm the one who brought up backward compatibility in the first place, but you have the experience with this gem, how important do you think backward compatibility really is in this case?

I just force pushed an update that uses generate_for.  I'm going with the  backward compatible option.  Cheers.

Sorry for the delayed response. I meant to respond yesterday...
After some thought, let's go ahead with the generate(route) and generate_all route. The generate method is only used once in this gem (rake task) and because the method is static, it should be easy for users to update if they are calling this manually in their codebase.
With that being said, the version should be incremented to 0.3.0 because of the above.
Side note, I don't have a preference with generate vs. generate_for.

Okay.  I like generate, so I will make a change and push it up today.

Sorry this took so long.  I just pushed an update to make the changes we suggested.  It looks like there are some merge conflicts.  Would you like to pull them down and resolve them or would you like to take care of it?

I rebased and now we can merge without issue.

This should be ready to merge.  Do you see any issues?

@taranda Sorry for the delay. The work looks solid, but I want to test this locally first due to the absence of a test suite. I'd like to get this merged in by EOW, however.

No worries.  Thanks.

I found two quick things:
First, we need to add expires_in: nil to the generate method's cache write.
Second, Rails.cache.delete_matched actually expects a regular expression when giving a namespace: http://apidock.com/rails/ActiveSupport/Cache/Store/key_matcher. I was getting an error when running the clear_all rake task. This seemed to work for me:
def self.clear_all
  self.clear_matched(/.*/)
end

We may want to make that clear in the documentation as well if clear_matched is used straight up.
Likewise, I stumbled upon that delete_matched is not supported on Memcached, for what it's worth: http://apidock.com/rails/v4.2.7/ActiveSupport/Cache/Store/delete_matched. It maybe worth looking into a different implementation, but I think it's fine for now.
Once these two changes are in, I think this is ready to be merged in.

Hmm.  I changes the clear_all method like you suggested and got an error with Redis.  The Redis cache seems to require strings with wildcards and does not support regex.  It seems the underlying cache implementation affects what we need to pass into delete_cache.   Redis likes '*' and the cache implementation you used for testing likes /.*/.
What caching systems would you like to support?
We could remove the clear_all method entirely.

Could we do something like Rails.cache.clear and pass it the namespace?
I'm fine with removing the method unless there's a huge need for it. I'd like to support as many options as possible.

I think Rails.cache.clear will clear the entire cache.  At least it did with my experiments with a Redis cache.  It may be implementation dependent.   We could remove the clear_all methods and simply add several options to the clear_all rake task that users can uncomment depending on their implementation.
I know Redis likes '*'.  What cache implementation were you using that liked /.*.?

Yeah, Rails.cache.clear by itself will definitely nuke everything. I just wasn't sure if there were any namespace type options to pass to it.
I'm fine with your solution of remove the clear_all methods and the commented options in the rake task. Once that's complete, I can get this merge in.

Those changes have been pushed up.  You may want to retest.

How are things looking?

Sorry for the delay. I think i'll have time to test this later today

No worries.


MVP guidelines for Numerical Input

Proposed Changes
revised all guidelines
Potential Breaking Changes
N\A
Acceptance Criteria
This I don't know 👇

[ ] The proposed changes are covered by unit tests
[ ] The potential breaking changes are clearly identified
[ ] README.md is adjusted to reflect the proposed changes (if relevant)

@jlevesquecoveo to be revised (not urgent)

@gdostie  @aiheon  Ready to merge


Additional Information Required

How do you contact a Microsoft Account Representative and how long does it take to receive the promo code? Thank you!

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

ID: 779619a7-95a8-c775-0538-4f07abb7067e
Version Independent ID: cf930116-3d9d-2075-5291-f819cb17a234
Content: Manage the free Office 365 E1 Trial - Microsoft Teams
Content Source: Teams/e1-trial-license.md
Service: msteams
GitHub Login: @LolaJacobsen
Microsoft Alias: lolaj

@MurtazK thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.

How do you contact a Microsoft Account Representative and how long does it take to receive the promo code? Thank you!
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 779619a7-95a8-c775-0538-4f07abb7067e
Version Independent ID: cf930116-3d9d-2075-5291-f819cb17a234
Content: Manage the free Office 365 E1 Trial - Microsoft Teams
Content Source: Teams/e1-trial-license.md
Service: msteams
GitHub Login: @LolaJacobsen
Microsoft Alias: lolaj

You'd have to contact your 'Microsoft solution provider' to get the promo code. Let me know if you need any help.


Buffer not cleared out when pressing q with startify installed

Describe the bug
If I have startify installed and use the keymap q mapped by lazy.nvim to quit the popup window. If I then press q that startify has mapped to quit, it can't quit because of the buffer from lazy.nvim
Which version of Neovim are you using?
v0.9.0-dev-521+g1c4794944
To Reproduce
Make sure to read https://github.com/folke/lazy.nvim/wiki/Minimal-`init.lua`-to-Reproduce-an-Issue
Steps to reproduce the behavior:

Use the config with nvim -u repro.lua
Open lazy popup with Lazy
Quit it with q
Try to quit startify with q

Expected Behavior
I expect it to quit neovim when pressing q in startify buffer.
Screenshots
https://user-images.githubusercontent.com/5160701/208999455-8c59175e-78ce-41bc-904d-c35334bf724a.mov
You can see from the screenshot that the second time I open neovim and not open a lazy popup window, it is possible to close with q like normal. But when I open a lazy popup window, it is not possible

repro.lua
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "--single-branch",
    "https://github.com/folke/lazy.nvim.git",
    lazypath,
  })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  -- do not remove the colorscheme!
  "folke/tokyonight.nvim",
  "mhinz/vim-startify",
  -- add any other pugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

-- add anything else here
vim.opt.termguicolors = true
-- do not remove the colorscheme!
vim.cmd([[colorscheme tokyonight]])

Log
Please include any related errors from the Noice log file. (open with :Lazy log)

Lazy log

```
lazy.nvim (H)   Install (I)   Update (U)   Sync (S)   Clean (X)   Check (C)   Log (L)   Restore (R)   Profile (P)   Debug (D)   Help (?)
Total: 4 plugins
Breaking Changes (1)
● lazy.nvim 2.78ms   init.lua
fd1fbef feat(checker): defer checker to after VeryLazy to make sure nvim-notify and others are loaded (33 minutes ago)
58f0876 fix: removed spell again from site. not needed. can download in config/spell (2 hours ago)
94d0125 fix(rtp): keep site in rtp (2 hours ago)
6dbcdce chore(build): auto-generate vimdoc (2 hours ago)
1fb10b9 docs: 'cmd' repeat twice (#75) (2 hours ago)
472a091 chore(main): release 5.2.0 (#55) (3 hours ago)
f0e1b85 feat: make hover easy to override (3 hours ago)
2ab6518 fix(keys): feedkeys should include pending keys. Fixes #71 (3 hours ago)
d34a02d ci: Update issue templates (3 hours ago)
2fd78fb fix(help): sort tags files for readmes so tags work properly. Fixes #67 (3 hours ago)
eab449b build: added .repro and debug to .gitignore (3 hours ago)
b7c489b fix(loader): lua modules can be links instead of files. Fixes #66 (5 hours ago)
7a57ea2 chore(build): auto-generate vimdoc (6 hours ago)
c228908 fix(health): don't show warning on module=false (6 hours ago)
b68f94b ci: Update issue templates (6 hours ago)
bbebb67 ci: Update issue templates (6 hours ago)
95fc814 chore(build): auto-generate vimdoc (6 hours ago)
876f7bd feat(loader): allow to add extra paths to rtp reset. Fixes #64 (6 hours ago)
a345649 fix(cache): if we can't load from the cache modpath, find path again instead of erroring right away (7 hours ago)
bbace14 fix(git): only mark a plugin as dirty if an update changed the commit HEAD. Fixes #62 (7 hours ago)
a939243 fix(checker): allow git checks only for non-pinned plugins (#61) (7 hours ago)
57bea32 chore(build): auto-generate vimdoc (7 hours ago)
ff24f49 fix(loader): source rtp /plugin files after loading start plugins. Fixes (7 hours ago)
b802729 chore(build): auto-generate vimdoc (10 hours ago)
9dfefac docs: fixed indentation of auto-generated code blocks (10 hours ago)
71b2e2f docs: lazy works on all OSs now (10 hours ago)
232232d fix(ui): install command can have plugins as a parameter (10 hours ago)
4ca3039 feat(loader): warn when mapleader is changed after init (11 hours ago)
540847b fix: strip / from dirs. Fixes #60 (11 hours ago)
86eaa11 fix(git): dereference tag refs. Fixes #54 (11 hours ago)
e95da35 feat(util): utility method to get sync process output (11 hours ago)
3c3a711 chore(build): auto-generate vimdoc (13 hours ago)
44f80a7 feat(plugin): allow plugin files only without a main plugin module. Fixes #53 (13 hours ago)
f5734f5 chore(build): auto-generate vimdoc (13 hours ago)
3814883 fix(ui): set current win only when its valid (13 hours ago)
3a7b8c8 chore(main): release 5.1.0 (#30) (22 hours ago)
3606d62 fix: add after directories to rtp to make after/ftplugin and others work. Fixes #47 (22 hours ago)
b193f96 fix(spec): only process a spec once (22 hours ago)
7be46bc style: removed unused requires (23 hours ago)
897d6df fix: add filetype to window buffer. (#41) (24 hours ago)
14300b3 chore(build): auto-generate vimdoc (24 hours ago)
78e9d6c docs: add a note about mapleader (24 hours ago)
06ac8bd perf(ui): clear existing extmarks before rendering (25 hours ago)
ffcd0ab fix(loader): source filetype.lua before plugins. Fixes #35 (25 hours ago)
9d12cdc fix(git): don't run git log for submodules. Fixes #33 (26 hours ago)
06ffcf5 chore(build): auto-generate vimdoc (26 hours ago)
7fb0652 docs: added docs on update checker (26 hours ago)
1f86cb3 chore(build): auto-generate vimdoc (26 hours ago)
3cffb2a docs: added change detection to the readme (26 hours ago)
6c767a6 feat: added options to configure change detection. Fixes #32 (26 hours ago)
cd162f3 chore(build): auto-generate vimdoc (26 hours ago)
941df31 feat(ui): make the windoww size configurable. Fixes #34 (26 hours ago)
5298441 fix: use nvim_feekeys instead of nvim_input for keys handler. Fixes #28 (27 hours ago)
2927b05 docs: added lincense (28 hours ago)
4d78203 chore(main): release 5.0.1 (#17) (29 hours ago)
1371a14 fix(build): use the shell to execute build commands (29 hours ago)
ffabe91 fix(cache): if mod is loaded already in the loader, then return that (29 hours ago)
316503f fix: dont autoload cached modules when module=false (30 hours ago)
992c679 fix: always set Config.me regardless of reset rtp (30 hours ago)
df6c986 fix: add neovim libs to rtp for treesitter parsers etc (31 hours ago)
49b69b7 chore(build): auto-generate vimdoc (31 hours ago)
e9d3a73 fix: default logs are now since 3 days ago to be in line with the docs (31 hours ago)
4234322 chore(build): auto-generate vimdoc (32 hours ago)
6e32759 fix: deepcopy lazyspec before processing (32 hours ago)
ec0f8d0 docs: added config.dev.path to the example (32 hours ago)
6404d42 fix: move re-sourcing check to the top (32 hours ago)
ddf36d7 fix: checker should not error on non-existing dirs (32 hours ago)
50ba619 test: fix tests (32 hours ago)
f78d8bf fix: show error when merging, but continue (32 hours ago)
b8a0055 chore(build): auto-generate vimdoc (33 hours ago)
1754056 fix: use jobstart instead of system to open urls (33 hours ago)
5ecc988 docs: use https to bootstrap lazy (33 hours ago)
ae644a6 fix: only run updated checker for installed plugins. Fixes #16 (34 hours ago)
7225b05 chore(build): auto-generate vimdoc (34 hours ago)
17fd57a docs: added docs for statusline and count (34 hours ago)
48a596e chore(build): auto-generate vimdoc (35 hours ago)
dfe8a65 docs: removed extra performance section (35 hours ago)
1fa2d87 docs: moved my dots to structuring plugins (35 hours ago)
9916318 chore(build): auto-generate vimdoc (35 hours ago)
abe026a docs: added section on performance (35 hours ago)
82aea47 chore(build): auto-generate vimdoc (35 hours ago)
72d66cd docs: updated lua stuff (35 hours ago)
ca43018 chore(build): auto-generate vimdoc (35 hours ago)
36cb7ea docs: migration guide (35 hours ago)
2f59ead chore(main): release 5.0.0 (#12) (35 hours ago)
dbcf675 chore(build): auto-generate vimdoc (35 hours ago)
b906ad9 docs: added windows to supported platforms (35 hours ago)
cb87aa3 ci: run tests on linux only for nw (2 days ago)
75a36f3 chore(build): auto-generate vimdoc (2 days ago)
af87108 fix(util): fixed double slashes (2 days ago)
62c1542 fix(cache): normalize paths (2 days ago)
bb1c2f4 feat: added support for Windows (2 days ago)
198963f feat: utility method to normalize a path (2 days ago)
a189883 fix: check for installed plugins with plain find (2 days ago)
833b387 chore(build): auto-generate vimdoc (2 days ago)
ff89319 docs: removed dots from features (2 days ago)
b7bf18a style: spelling (2 days ago)
66dad89 chore(build): auto-generate vimdoc (2 days ago)
0c0b8b7 docs: todo (2 days ago)
92fd0d4 docs: updated installation and structuring plugins (2 days ago)
1baa92f docs: added docs on <cr> and <K> (2 days ago)
d827d8a docs: collapse semver examples (2 days ago)
1e16363 chore(build): auto-generate vimdoc (2 days ago)
980cfa9 docs: added config example when not using a Nerd Font (2 days ago)
713dcb6 build: added markdownlint config (2 days ago)
706fe6f chore(build): auto-generate vimdoc (2 days ago)
5ed9855 feat: added completion for all lazy commands (2 days ago)
b462787 docs: added optional plugins to docs for commands and methods (2 days ago)
f29f3d2 chore(build): auto-generate vimdoc (2 days ago)
1efa710 feat: added module=false to skip auto-loading of plugins on require (2 days ago)
55d194c chore(build): auto-generate vimdoc (2 days ago)
bac34cc docs: added section on uninstalling (2 days ago)
c065ca2 chore(build): auto-generate vimdoc (2 days ago)
2dd6230 feat: added :Lazy load foobar.nvim to load a plugin (2 days ago)
8a0da3b config: move lazy cache to state/nvim/lazy/cache (2 days ago)
7eb6034 chore(build): auto-generate vimdoc (2 days ago)
6567580 chore: todo (2 days ago)
6f00cde docs: typos (2 days ago)
faac2dd perf(cache): cache loadfile and no find modpaths without package.loaders (2 days ago)
32f2b71 fix(cache): do a fast check to see if a cached modpath is still valid. find it again otherwise (2 days ago)
1fe43f3 fix(ui): focus Lazy window when auto-installing plugins in VimEnter (2 days ago)
d4aee27 feat!: removed the LazyUpdate etc commands. sub-commands only from now on (3 days ago)
Log (1)
● tokyonight.nvim 0.1ms  start
8b55a47 fix: revert last change (22 hours ago)
ce92e5b chore(docs): auto generate vimdoc (23 hours ago)
1356b20 fix: always clear before setting colorscheme (23 hours ago)
Clean (1)
○ lazy.nvim
Loaded (1)
● vim-startify 0.35ms  start
</pre>
</details>

I think this isn't a problem with the mapping
I just checked and the mapping is exactly the same as it was before opening the buffer
perhaps some autocommands get deleted if you leave and reenter the buffer or sth like that

This is indeed not a problem with lazy. I assume startify simply doesnt exit Neovim when another buffer or window has been created in the meantime

This is indeed not a problem with lazy. I assume startify simply doesnt exit Neovim when another buffer or window has been created in the meantime

The startify mapping works perfectly fine if I use :q<CR>, :close<CR> or anything like that on the lazy buffer

As I said, startify checks if any other buffers are present: https://github.com/mhinz/vim-startify/blob/81e36c352a8deea54df5ec1e2f4348685569bed2/autoload/startify.vim#L1008
When you close the Lazy window, a new buffer (3) gets created, by something. I can assure you it's not Lazy that's doing that.
Because there's then 2 buffers left, startify wont close Neovim. as I mentioned before

As I said, startify checks if any other buffers are present: https://github.com/mhinz/vim-startify/blob/81e36c352a8deea54df5ec1e2f4348685569bed2/autoload/startify.vim#L1008
When you close the Lazy window, a new buffer (3) gets created, by something. I can assure you it's not Lazy that's doing that.
Because there's then 2 buffers left, startify wont close Neovim. as I mentioned before

I tried to look into this a bit more, and I think I found the issue. I don't know why it happens, but I assume it has something to do with vim.api.nvim_win_close(). It states in the docs that The buffer will hidden, even if 'hidden' is not set..
If I change the order of the functions to close the window, and then delete the buffer if it is valid, the issue not there anymore. I think there is something weird happening if the buffer is deleted before the window is closed.
diff --git a/lua/lazy/view/init.lua b/lua/lazy/view/init.lua
index b2fcbb9..e82f644 100644
--- a/lua/lazy/view/init.lua
+++ b/lua/lazy/view/init.lua
@@ -102,12 +102,12 @@ function M.show(mode)
     M._buf = nil
     vim.diagnostic.reset(Config.ns, buf)
     vim.schedule(function()
-      if vim.api.nvim_buf_is_valid(buf) then
-        vim.api.nvim_buf_delete(buf, { force = true })
-      end
       if vim.api.nvim_win_is_valid(win) then
         vim.api.nvim_win_close(win, true)
       end
+      if vim.api.nvim_buf_is_valid(buf) then
+        vim.api.nvim_buf_delete(buf, { force = true })
+      end
     end)
   end

Would you be willing to accept a PR with that change @folke ?


ESP8266 is not showing as a member on FTS Server

i have succesfull connected to wifi and fts server and the steps below are working.
the ESP is sending the COT every 10 secends.
But i cant see the device in the member list and cant send commands to the device like "Roger" and "callRESET"
Step 1
The device connects via long TCP connection and sends a ping COT [t-x-c-t].
Step 2
Then after 10s it sends an update COT [a-f-G-U-C-I].
Step 3
Then for every 8 ping COTS 1 update COT will be sent in a loop as long as the TCP connection is active.

It should show the device on the lat="0.00000000" lon="0.00000000" but can't update since there is no GPS module.
What version of FTS and what version of the sketch are you using? in ESP8266_TAK_v<IP_ADDRESS>.ino I have a callRESTART but don't have a callRESET function.
Check out the static void replyToServer(void* arg) method and the static void handleData(void* arg, AsyncClient* client, void *data, size_t len) method.
let me know if you still have an issue.

Hi, thanks for the trobleshooting. Iam using FTS 1.9.9 maybe there is a problem with sending CoT at the moment?
Using the v<IP_ADDRESS> sketch
the device is not in the map tried to find it with wintak client and civ android.

I checked the static void replyToServer(void* arg) method and changed all four lines to this
sprintf(message, "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?><event version=\"2.0\" uid=\"S-1-5-21-1568504889-667903775-1938598950-%d\" type=\"a-f-G-U-C-I\" time=\"%s\" start=\"%s\" stale=\"%s\" how=\"h-g-i-g-o\"><point lat=\"0\" lon=\"0\" hae=\"0\" ce=\"9999999\" le=\"9999999\"/><detail><takv version=\"<IP_ADDRESS>\" platform=\"WinTAK-CIV\" os=\"ESP8266 OS\" device=\"ESP8266 Device using WinTAK COT\"/><contact callsign=\"TFPU4-Relail-1\" endpoint=\"*:-1:stcp\"/><uid Droid=\"Droid_%d\"/><__group name=\"Red\" role=\"Team Member\"/><status battery=\"69\"/><track course=\"0.00000000\" speed=\"0.00000000\"/></detail></event>", IMEI_NO, TIME, START, STALE, IMEI_NO, IMEI_NO);
after that the ESP is shown as member on the FTS server but disconnects after a few seconds and is not connecting again as member

Hmmm it's working for me on FTS 1.9.9 are you using it over LAN or on the actual internet? Port 4242 gets used on LAN for direct private chats.
If you try trigger the events via public chat it should work. Not sure why the ping is not updating though. If it still doesn't work for you then I'll upload the exact sketch I'm running now

Hi, iam using it via Internet so all traffic should be sent over Port 8087.
I tried triggering callRESTART or Roger over the "All Group Chat" an nothing happended. device is not restarting or internal LED blinkin.
would be nice if you could upload your current running version :)

I added the version I was testing

Thanks. With this version, the esp is showing up as a member after it boots up for a second.
After one second Shows as offline in atak and if i sent commands via the Group chat nothing happended

I think the device goes to stale so you will have to add the correct date via:
#define TIME "2022-04-12T13:31:00.000Z"
#define START "2022-04-12T13:31:00.000Z"
#define STALE "2022-04-12T13:31:00.000Z"

I will add an auto date function sometime in the future but I am busy with exams at the moment.
Regarding the commands I think the problem is the msgStr = (char*)data; variable it needs to use the (uint8_t*)data and  len variables passed through handleData(void* arg, AsyncClient* client, void *data, size_t len) but I could only pass is with reference to the data as a char* using safestrings. The solution may be to use a better TCP library or try find a way to get a string using (uint8_t*)data and  len but at the moment I have no idea.
It was working for me because I don't have much activity on port 8087 so my string var was able to get the Roger and callRESTART commands but the length could be anything so it's not a good solution the msgStr var must use the (uint8_t*)data and  len vars to get a reliable string reading. Strings are known to be problems with embedded devices.
I will have to think about it but perhaps in the meantime you could try find a reliable solution?


Method for next scheduled cron job

It would be really helpful to have a function that showed next schedule cron job or something similar.

Hello @carlitoTheDeveloper, I created a similar library which allows you to get the next schedule time as a Date object.
Since this is my first open source project, I would really appreciate any feedback. You can find it here: https://github.com/P4sca1/cron-schedule


Improve performance

Hi — I'm trying this plugin out and am finding it to be substantially more fickle than the other RegExp highlighters I've used.
Two things I'm noticing a lot are (1) that the highlight does not show up until the cursor has moved past a pattern, and (2) that there can be highlight artifacts after a pattern no longer exists.
Here's a couple examples. I have highlights on model and empir. In the first screenshot, I've typed model and the cursor is at the l, but the highlight has not appeared.

In the second screenshot the cursor is actually a space past the the end of the word and the highlight still hasn't appeared (this behavior is less common but does occur).

In the third, I've deleted empir but the border is still being drawn on the place where the pattern started.

Plugin is off to to great start!

Hi! Thank you for trying out the plugin and reporting an issue :) really appreciate it
I will prioritize these for the next release as I have also noticed some of these.

@daeh let me know if with the new release you find the performance improved. If you find any more issues with this, feel free to leave another issue. Really appreciate the contributions to the project :)


[Refactor] add RawSendBytes, SerializedBytes and CompressedBytes for exchange sink

RawSendBytes: origional bytes of chunks to be sent;
SerializedBytes: size of chunks afer serialized, may be encoded for integer and binary columns;
CompressedBytes: size of chunks after compressed.
Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[x] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.2
[x] 3.1
[x] 3.0
[x] 2.5

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:disappointed: fail : 0 / 14 (00.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/exec/pipeline/exchange/exchange_sink_operator.cpp
0
14
00.00%
[442, 443, 444, 670, 671, 694, 695, 697, 703, 709, 712, 725, 730, 731]

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:disappointed: fail : 0 / 14 (00.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/exec/pipeline/exchange/exchange_sink_operator.cpp
0
14
00.00%
[442, 443, 444, 670, 671, 694, 695, 697, 703, 709, 712, 725, 730, 731]

@mergify backport abtest

@mergify backport branch-3.1

@mergify backport branch-3.0

@mergify backport branch-3.2


Bug: Incomplete Text Rendering in 'Learn More' Popup for Featured Projects.

I will implement the necessary changes to resolve the issue...could you assign me for this issue.

@synthiaekka assigned this issue to you.
Make sure to join discord server and complete this issue in the next 2 days.

@vivekvardhan2810 please assign me with this task i will make necessary changes to solve the issues.
I've also noticed if I toggle the font-family CSS attribute in the console on and off it remedies the appearance... Additionally if I refresh the page (instead of using the on-site navigation) it also seems to render properly. I've not been able to replicate this on another machine with the latest version of Chrome, but it is consistent across my development and test environments. The only extensions I am using are Disconnect, AdBlock, PageSpeed Insights, an RSS reader, and Javascript Quickswithcer... All other browsers appear to behave as expected.

@synthiaekka assigned this issue to you.
Make sure to join discord server and complete this issue in the next 2 days.
Okay!


Support invidious (youtube proxy) as a workaround to signing in

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm requesting a feature unrelated to a specific site
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
Due to #10128, you need to either sign in (cookies from browser) or have an unblocked IP.
This is true even if you pass in an invidious link where it defaults to extracting information from YouTube and fails.
I propose that we instead use the invidious API where possible to extract the data instead when given an invidious instance link.
API: https://docs.invidious.io/api/
Notes: Invidious companion is currently in the works which should make this even easier in the future.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', '-f', 'm4a', '--embed-metadata', '-o', '%(id)s.%(ext)s', '--', 'kGATkUHSVCQ']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [65cf46cdd]
[debug] Lazy loading extractors is disabled
[debug] Python 3.13.1 (CPython x86_64 64bit) - Linux-6.11.11-300.fc41.x86_64-x86_64-with-glibc2.40 (OpenSSL 3.2.2 4 Jun 2024, glibc 2.40)
[debug] exe versions: ffmpeg 7.0.2 (setts), ffprobe 7.0.2
[debug] Optional libraries: Crypto-broken 2.6.1, brotli-1.1.0, certifi-2023.05.07, requests-2.32.3, sqlite3-3.46.1, urllib3-1.26.20
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests
[debug] Loaded 1837 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp)
[youtube] Extracting URL: kGATkUHSVCQ
[youtube] kGATkUHSVCQ: Downloading webpage
[youtube] kGATkUHSVCQ: Downloading ios player API JSON
[youtube] kGATkUHSVCQ: Downloading mweb player API JSON
ERROR: [youtube] kGATkUHSVCQ: Sign in to confirm you’re not a bot. Use --cookies-from-browser or --cookies for the authentication. See  https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp  for how to manually pass cookies. Also see  https://github.com/yt-dlp/yt-dlp/wiki/Extractors#exporting-youtube-cookies  for tips on effectively exporting YouTube cookies
  File "/home/acheong/.local/lib/python3.13/site-packages/yt_dlp/extractor/common.py", line 742, in extract
    ie_result = self._real_extract(url)
  File "/home/acheong/.local/lib/python3.13/site-packages/yt_dlp/extractor/youtube.py", line 4541, in _real_extract
    self.raise_no_formats(reason, expected=True)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/acheong/.local/lib/python3.13/site-packages/yt_dlp/extractor/common.py", line 1276, in raise_no_formats
    raise ExtractorError(msg, expected=expected, video_id=video_id)

@gptlang Please do not abuse Invidious instances for downloading, they are already getting IP blocked a lot faster than you downloading with yt-dlp. All this selfish act will do is result in the Invidious instance going down and being unusable for everyone. Please just learn to change your IP address yourself.

Agreed. Closing as off scope.

@absidue I host my own invidious instance. I don't think it'd be wrong to download from my own instance. Using the API would mean that you won't be able to use most public instances for downloading since they disable it explicitly to prevent abuse.

@gptlang Support will not be added. You are free to write a plugin that you can use to download from your own instance.


visable borders

Newb here, I made a simple border function. This is my first pull request. I spent some time trying to make the lines end at the corners but decided to keep it simple. I think it would be nice to be able to toggle these borders. Thanks for creating this project.

You forgot to add the border colour into the config.

It's cool to take care of the mass for collision detection with the border, but I think it's better to have a border shaped as a rectangle.
Please look at my PR


[Proposal] Type Override Annotation Syntax for Individual Columns

This is another thing we talked about a long time ago but was postponed and then forgotten.
Motivation
In some contexts in the query macros, we cannot infer either the type or the nullability of a column that results from an expression:
For Postgres, we infer column nullability (whether to emit T or Option<T> for a column) based on NOT NULL constraints, which we can only look up if the column originated from a table (which includes aggregate columns). While Postgres always tells us the type of a column, for columns that are purely the result of an expression or come from more than one table, e.g. UNION or COALESCSE(), we simply cannot infer whether the column is never null or may be null--the simplest example being select 1.
For SQLite, the situation is even more awkward. Because it is dynamically typed (for the same column across multiple rows of a query, each field may be an entirely different type), the only way we can know what type a column is likely to be is if it originates from a table, in which case we can look up the type affinity of that column. For nullability, it's the same situation as Postgres, we can only determine it based on if the column has a declared NOT NULL constraint.
Proposal
For solving these specific problems, I propose we use SQL's support for arbitrary sigils in identifiers to allow per-column type overrides:
select 1 as "id: i32"

Since we currently require column names to at least be parseable as Rust raw identifiers, this is a backwards-compatible feature.
I think this syntax is decent because it looks like either type ascription or typing syntax for variable/argument bindings. When the macro sees this it ignores the type and nullability of the column and emits the given type instead.
We also discussed a syntax specifically to resolve nullability, which may be less error-prone than fully specifying the type but doesn't help SQLite users:
select 1 as "id:nonnull"

I think since nonnull is most likely to not appear as an actual type, we could special case this. Or maybe we have something completely different like "id!" to mark a not-null column.

I think since nonnull is most likely to not appear as an actual type, we could special case this. Or maybe we have something completely different like "id!" to mark a not-null column.

how about "id?" to mark it as nullable

@Freax13 I feel like that would confuse things considering what ? means in Rust. I'm in favor of id! since that's also what GraphQL does.

how about "id?" to mark it as nullable

I think that's actually what we've settled on, along with id: _ to disable the compile-time check (only allowed in query_as!(), in which case it behaves like query_as_unchecked!()).

Or better id: i32! would be NOT NULL and id: i32 would be NULL, and id! when the type is inferred.

I think that's the opposite of what Rust users have come to expect; the nullable type should be the one that's called out. Obviously id: Option<i32> would always be allowed as well but I think a shorthand for that would be nice.
?Type and Type? are both pretty common for other langs that support first-class nullable types so I don't think it would come as a complete surprise to most people. It's a completely different context than the ? operator normally appears in anyway.
I'd suggest making it a prefix instead (i.e. ?id) but that is syntactically ambiguous with named bind parameters in SQL context which we'd like to support at some point.

field as "field?" - forces Option<_>
field as "field!" - forces removal of Option<_>
field as "field: Type" - explicit type used
field as "field: _" - uses the declared rust type instead of inferring from the query ( so this only works with query_as! ) which has the effect of removing the compile-time type equivalency check and relying on the runtime type check

Seconded.


[FEATURE] Update Support our Program section

Detailed description
The Support our Program section is displaying mocked program 👇

We need to update them by adding official programs.
Context
We should update the mocked content from the Figma/Next.js migration.
Possible implementation
Update the <SupportOurProgram /> component.
Additional information
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi @mkubdev I would like to try and update this section, here's an outline of what I'll do. Its based from the Figma/Next.js migration template that @vinzvinci showed me. let me know if its alright, ill submit a PR right away :))

This looks good to me already 😸


Not authorized to send Apple events in Python script

I have a python script that calls an applescript using py-applescript (https://github.com/rdhyee/py-applescript). That applescript queries OmniFocus for a variety of data.
The python script runs from the command line with no problem.
However, from xbar, it generates the following error (with some fluff truncated): "

exit status 1: Traceback (most recent call last):
...
...
File "....pyenv/versions/3.8.1/lib/python3.8/site-packages/py_applescript-1.0.1-py3.8.egg/applescript/init..py", line 90, in run
File "....pyenv/versions/3.8.1/lib/python3.8/site-packages/py_applescript-1.0.1-py3.8.egg/applescript/init..py", line 65, in _unpackresult
applescript.ScriptError: Not authorized to send Apple events to OmniFocus. (-1743) app='OmniFocus' range=140-191

I've checked the Security preferences pane, to make sure that the xbar has all possible automation privileges. Right now, the only checkboxes available under xbar are "Audirvana.app" and "System Events.app" (both of which I expect to be there). I also call Audirvana using applescript, but that applescript is embedded in a bash script, not a python script that uses py-applescript.
It seems like some permissions are not being granted 'through' xbar and python, but since the script runs OK from the command line, I don't really know how to troubleshoot further. Ideas?
Thanks.

@ZBiener thanks for reporting this. @leaanthony looks like we need to look into entitlements etc.

It looks like we need to get code signing working to allow this.

Code signing seems to have been taken care of (right?), but I still get the same errors. Are there any other suggestions for where I might look to solve this? Thanks.

I'll put this on my todo @ZBiener


Fix ideal foreground for some color styles

Here, look at this:

For the most styles, it looks better with a white title (in my opinion)

Seems like there's an unrelated change to the input dialog in this PR

Sorry, i've removed that.

thx @Alkalinee

Hm, this is a "breaking change", at least visually, how should we handle this?

This seems to be happening for a short period of time. The last time I used MA.M [August - September '14] with one of the above accents [Cyan], the text was white. :-/


Added missing migration.

I've just found out that you've missed a migration and created it.

Duplicate #411


Prop types not showing correctly in template when using different casing in template and defineProps?

Not sure if it's just me, but I have this issue where if I define a prop with camelCase, and then I assign a value in the template of the parent component using kebab-case, hovering over the attribute will show the type of my input instead of the type of the actual prop. Using camelCase instead will show the correct typing on hover.
Child Component (tried using type declaration, runtime declaration and non script setup method with defineComponent)

Parent Component:

On v0.31.1

1 | 2 !== '1' | '2'

Sorry, I think you missed my point. Using camel-case, IntelliSense thinks my-prop has the type of whatever I put. Notice how when I put my-prop="2", when I hover over my-prop, it says string. Similar to when I put :my-prop=2, it thought my-prop is a number where it should've been 1 | 2 instead. It's only when I used myProp when it correctly identifies it as 1 | 2

But even if I use kebab-case, even when I provide a value with an invalid type, the red wiggly lines correctly show up. Only when I hover over the attribute it shows the wrong type as shown in my screenshots.

Oh you mean this

:eyes:
You should mark this, it was not clear to me on first look, sry for noise

My bad, will update my screenshots

Similar to above, when I use snake_case for naming my props in the script section and kebab-case for using them in the template, it seems Volar is not able to make the link:

Error when using CreateFormFilter component

Props defined on CreateFormFilter component
If I change the props to camelCase, the error disappears. However, snake_case should also work, as Vue has support for it as per this lint rule. Additionally, compiling with vue-cli-service build works, with no errors.

@jacobprudhomme unfortunately snake_case is currently intentionally not supported, because it will makes type computation and codegen more complicate.

Now we show both casing hover info.

For go further use case you can setting vueCompilerOptions.strictTemplates = true, it only allow define prop as camelCase  so that avoid this problem.


fix: image download (DEV-4321) (DEV-4318)

resolves DEV-4321, DEV-4318

The compound viewer does not pass any attachedProject to the image components. I also would prefer to get the attached project by a state.

Should be ok now


fix(docs): link to tamagui config

Hi, thanks natew for this guide, it shows various ways to use tamagui styled system, it's really helpful.
There was juste a 404 on the link to tamagui config file in starter.
Thanks for your work

Oh good catch, thank you.


Do not build the NSIS installer

Hello,
I would like to be able to generate my app without afterwards building the NSIS Installer. - I am using my own Squirrel Installer in my case.
Is it possible?
Thank you.

Never mind. I found out how: in my package.json file
    "win": {
      "target": "dir"
    },

Good evening.

Instead of creating a new issue for each issue or question you have, try using the gitter chat. We want to keep issues for legitimate confirmed issues.

I wasn't aware there was a Gitter for this repo. Apologies.

No worries. It was created rather recently


Fixed #7. The alert appeared behind the keyboard.

Made keyWindow public so users can set their own parent view. This allows anyone to apply keyboard constraints as they want to.
An example how a user could use this;
import UIKit
import SPAlert

class ViewController: UIViewController {

    @IBOutlet weak var inputField: UITextField!

    @IBOutlet weak var wrapperView: UIView!

    override func viewDidLoad() {
        super.viewDidLoad()

        // attachKeyboardConstraint()

        inputField.becomeFirstResponder()
    }

    @IBAction func textField(_ sender: Any) {
        let alertView = SPAlertView(title: "Added to Library", message: nil, preset: SPAlertPreset.done)
        alertView.keyWindow = wrapperView
        alertView.present()
    }

}

Good day! Sorry long response.
Many thanks for work, it good idea!
I am publish new version 2.0, you can merge from last master and add your code again?


Fix a couple of typos

s/tokenziation/tokenization

good morning work friends, continue before their financial accounts are removed, take their last account balance in Indonesia and outside Indonesia
Sent from my Redmi 4A
On Sawrav Chowdhury @.***>, Jun 3, 2021 12:13 AM wrote:
@sawravchy approved this pull request.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/google-research/bert/pull/1166#pullrequestreview-674475484, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFQHH7FVMYIYTFBBSLXLLQTTQZREJANCNFSM4TLGNTYA.


Improve building of the bpf/ directory

Add datapath permutations for the overlay programs, now that they have optional macros
Shift the datapath permutation building into a separate build_all target
Add the build_all bpf/ directory build target to the jenkins precheck
Don't build all permutations of the datapath by default when running make.

This change is

test-me-please

Coverage increased (+0.01%) to 41.961% when pulling 832b0512c1126efe94093a34f9a1c047dcbb74a3 on joestringer:submit/improve-bpf-compilation into 9da04ac9e1bda225689c08e614143be2e4a70915 on cilium:master.

I guess the jenkins-precheck isn't the right place for this, given the lack of clang in the docker compose environment. Will need to rethink where to run the full BPF permutations build, or maybe add another compose container for this.

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

@joestringer what makes this WIP still? It has passed the CI.


It is not possible to add inherited scenes into Godot 4 TileSet Scene Collection

Godot version
v4.0.alpha2.official [79077e6c1]
System information
Windows 10
Issue description
When using node inheritance, and attempting to add an inherited scene to TileSet's Scene Collection, an error is raised :
Invalid PackedScene for TileSetScenesCollectionSource: res://child.tscn. Root node should extend Control or Node2D.
Even if the root scene is Node2D in the base scene.
Are inherited scenes unsupported, or is this a bug?
Steps to reproduce

Create a scene with Node2D as root.
Create another scene, that inherits from the first scene.
Drag the second scene into a TileSet's Scene Collection
An error is printed into the output, and the TileSet now contains an invalid entry: "Tile with Invalid Scene"

Minimal reproduction project
No response

I encountered the same bug.
I found the origin while exploring the code but I have no idea how to solve it.
From set_scene_tile_scene the call to get_node_type(0) returns an empty string:
https://github.com/godotengine/godot/blob/master/scene/resources/tile_set.cpp#L4551
Because SceneState::get_node_type returns an empty string when it's an instanced type:
https://github.com/godotengine/godot/blob/master/scene/resources/packed_scene.cpp#L1302-L1304
So ClassDB::is_parent_class(type, "Control") || ClassDB::is_parent_class(type, "Node2D") will always be false

Any Updates?

Godot 4.14 is still like this...

cc @groud


Program can not exit normally

MFC Project Program can not exit normally

How did you create your MFC Project Program? Do you think the problem is related to SuperElastix/elastix?

@N-Dekker
I used new version  it show ;i'm found the problem itk threadpool (itk5).

@N-Dekker
I used new version  it show ;i'm found the problem itk threadpool (itk5).

Thank you @GreateLi As you found the problem is in ITK5 threadpool, I assume that it is not a specific SuperElastix/elastix problem, and I'll close your issue.
Of course, if you think it's an ITK problem, you might still submit to https://github.com/InsightSoftwareConsortium/ITK/issues but then you must be more specific, and tell us exactly how we could reproduce the problem.
Kind regards, Niels


Wasmtime.WasmtimeException: Unable to create a callback with a return type of type 'System.UInt32' (and also with Uint64)

I am calling a c# function from WASM that should return an unsigned int or long, but for some reason Wasmtime throws an exception at runtime. Signed int and long work fine.

According to the AssemblyScript docs (here) the u32 and u64 types in AssemblyScript become i32 and i64 in WebAssembly.


pre_cache delayed job

Hey, I have my Photo model as you can see below, and I would like to have the 4 different image sizes created when a new photo is uploaded, or there abouts. I was wondering if there's been any attempt to use something like celery to have a background queue for generating images?
thanks.
class Photo(models.Model):
	user = models.ForeignKey(User)
	title = models.CharField(max_length = 100, blank=True)
	description = models.TextField(blank=True)
	is_active = models.BooleanField(default=False)
	original_image = models.ImageField(upload_to = imagefield_upload_to)

	thumbnail = ImageSpec(
		processors = [
			resize.Crop(width=100, height=100),
			Adjust(sharpness=1.2),
		],
		image_field = 'original_image',
		format = 'JPEG',
		quality = 85,
		pre_cache = True,
		cache_to = 'photos/t',
	)

	large_image = ImageSpec(
		processors = [
			resize.Fit(width=1024, height=1024),
			Adjust(sharpness=1.2),
		],
		image_field = 'original_image',
		format = 'JPEG',
		quality = 85,
		pre_cache = True,
		cache_to = 'photos/l',
	)

	medium_image = ImageSpec(
		processors = [
			resize.Fit(width=640, height=640),
			Adjust(sharpness=1.2),
		],
		image_field = 'original_image',
		format = 'JPEG',
		quality = 85,
		pre_cache = True,
		cache_to = 'photos/m',
	)

	small_image = ImageSpec(
		processors = [
			resize.Fit(width=240, height=240),
			Adjust(sharpness=1.2),
		],
		image_field = 'original_image',
		format = 'JPEG',
		quality = 85,
		pre_cache = True,
		cache_to = 'photos/s',
	)

	def __unicode__(self):
		return u'%s by %s' % (self.title, self.user.username)

I haven't done it but it shouldn't be very difficult. What you want, I think, is actually to not pre cache them. Then have your celery task generate the files by accessing the url property or calling _create()—though now that you've exposed this use case, I'm thinking we should probably rename _create() to a non-underscore method. Maybe generate()?

yeah, something like generate_file() probably makes more sense. I'll have to read up on how to work with celery but it seems that tinkering with the function _post_save_handler() will be the way to go about it.

I don't think you need to change any IK internals—you should be able to do what you want by wiring up your own post_save signal receiver.

I've gotten this far now after playing with it a bit https://gist.github.com/1342723 , but it gives me this error on the celery worker and then crashes it
[2011-11-06 18:06:14,661: ERROR/MainProcess] Thread 'TaskHandler' crashed: AttributeError("'ImageSpecFile' object has no attribute 'source_file'",)
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/celery/concurrency/processes/pool.py", line 221, in run
    return self.body()
  File "/usr/local/lib/python2.6/dist-packages/celery/concurrency/processes/pool.py", line 270, in body
    put(task)
  File "/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/db/models/fields/files.py", line 140, in __getstate__
    return {'name': self.name, 'closed': False, '_committed': True, '_file': None}
  File "/usr/local/lib/python2.6/dist-packages/django_imagekit-1.0.2-py2.6.egg/imagekit/models.py", line 254, in name
    filename = self.source_file.name
AttributeError: 'ImageSpecFile' object has no attribute 'source_file'

I think that this
send_task("photos.models.generate_resized_images", [instance])

means that the instance will have to be serialized and deserialized. Instead, why don't you try just passing the primary key of the instance and then, in the task, retrieving the model using it?

I updated my code to do as you said, and it's now working perfectly! thanks a heap! (I've updated my gist if you wanted to use it as an example in documentation or something)

The only problem with generating the image sizes with a post_save handler when created is that imagekit will delete all your image spec files when the model instance is saved in the future. And because pre_cache isn't True, they won't get recreated.

@davelowe Yeah, that's a problem. Please create a separate issue.


Remove tapret commitments

This is an alternative to #232 where we solve ambiguity in the radical way by removing support for tapret commitments

Closed in favor of https://github.com/RGB-WG/rgb-core/pull/232


[stable/prometheus-operator] Prometheus default rules not generated with helm template command

Describe the bug
I use helm template to generate all the manifest files and the prometheus default rules manifest files aren't generated
Version of Helm and Kubernetes:
Helm: 2.15.1
Kubernetes: 1.13.11
Which chart:
stable/prometheus-operator
What happened:
With helm template command, the prometheus default rules manifest files aren't generated
What you expected to happen:
With helm template command, the prometheus default rules manifest files have to be generated
How to reproduce it (as minimally and precisely as possible):
helm fetch --untar stable/prometheus-operator
mkdir prometheus-operator/manifests
helm template prometheus-operator --name test --namespace monitoring --output-dir prometheus-operator/manifests -f prometheus-operator/values.yaml

Anything else we need to know:

Rules files are different between different versions of Kubernetes, so you must use the --kube-version flag

It works, thank you!
BTW, a little explanation about this point in README wouldn't be too much.

Good point - feel free to open a PR to get that information added. It is rather difficult to get this in myself because of the requirements about PR merges in this repo.


Name change of substation section element does not update Terminal and ConnectivityNode

As a user of OpenSCD I want to be sure that a name change of the substation elements is reflected in the Terminal and ConnectivityNode elements.
Reproduce

open any SCL with single line diagram
change any bay name
see result in the single line diagram

Todo
For the name change action of Substation/Voltagelevel/Bay, check if Terminals/ConnectivityNodes are using the "old" name and replace the name with the new name.

@JakobVogelsang will add more requirements


Failed to build AkamaiOPEN-edgegrid-C-Sharp Open API on OSX

Hello,
I installed Visual Studio on my Mac and I tried to build the "AkamaiOPEN-edgegrid-C-Sharp" packagge (GitHub - akamai-open/AkamaiOPEN-edgegrid-C-Sharp ) but it failed to build with the below errors. I'm hoping someone know the solution for it. I google for solutions but couldn't find anything useful. I do see the package "System.Net.Http" is included in the build file but I don't know why it's still complaining. Thanks much!
From build file:

<Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
<Reference Include="System" />
<Reference Include="System.Net" />
<Reference Include="System.Net.Http" />

Error outputs:
XBuild Engine Version 14.0
Mono, Version <IP_ADDRESS>
Copyright (C) 2005-2013 Various Mono authors
Build started 8/5/2016 3:35:52 PM.

Project "/Users/avu/Work/GIT/AkamaiOPEN-edgegrid-C-Sharp/Akamai.EdgeGrid.Auth.sln" (default target(s)):
Target ValidateSolutionConfiguration:
Building solution configuration "Debug|Any CPU".
Target Build:
Project "/Users/avu/Work/GIT/AkamaiOPEN-edgegrid-C-Sharp/EdgeGridAuth/EdgeGridAuth.csproj" (default target(s)):
Target PrepareForBuild:
Configuration: Debug Platform: AnyCPU
Target ResolveAssemblyReferences:
/Library/Frameworks/Mono.framework/Versions/4.4.2/lib/mono/4.5/Microsoft.Common.targets:  warning : Reference 'System.Net.Http, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
HintPath attribute not found
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /Library/Frameworks/Mono.framework/Versions/4.4.2/lib/mono/4.0-api, assembly named 'System.Net.Http' not found.
For searchpath {PkgConfig}
Considered System.Net.Http, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL, but could not find in any pkg-config files.
For searchpath {GAC}
Considered 'System.Net.Http, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL', but an assembly with the specific version not found.
For searchpath {RawFileName}
Considered 'System.Net.Http, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL' as a file, but the file does not exist
For searchpath bin/Debug/
Considered '/Users/avu/Work/GIT/AkamaiOPEN-edgegrid-C-Sharp/EdgeGridAuth/bin/Debug/System.Net.Http' as a file, but the file does not exist
Considered '/Users/avu/Work/GIT/AkamaiOPEN-edgegrid-C-Sharp/EdgeGridAuth/bin/Debug/System.Net.Http.exe' as a file, but the file does not exist
Considered '/Users/avu/Work/GIT/AkamaiOPEN-edgegrid-C-Sharp/EdgeGridAuth/bin/Debug/System.Net.Http.dll' as a file, but the file does not exist
/Library/Frameworks/Mono.framework/Versions/4.4.2/lib/mono/4.5/Microsoft.Common.targets:  warning : Reference 'System.Net.Http.WebRequest, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
HintPath attribute not found
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /Library/Frameworks/Mono.framework/Versions/4.4.2/lib/mono/4.0-api, assembly named 'System.Net.Http.WebRequest' not found.
For searchpath {PkgConfig}
Considered System.Net.Http.WebRequest, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL, but could not find in any pkg-config files.
For searchpath {GAC}
Considered 'System.Net.Http.WebRequest, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL', but an assembly with the specific version not found.
For searchpath {RawFileName}
Considered 'System.Net.Http.WebRequest, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL' as a file, but the file does not exist
For searchpath bin/Debug/
Considered '/Users/avu/Work/GIT/AkamaiOPEN-edgegrid-C-Sharp/EdgeGridAuth/bin/Debug/System.Net.Http.WebRequest' as a file, but the file does not exist
Considered '/Users/avu/Work/GIT/AkamaiOPEN-edgegrid-C-Sharp/EdgeGridAuth/bin/Debug/System.Net.Http.WebRequest.exe' as a file, but the file does not exist
Considered '/Users/avu/Work/GIT/AkamaiOPEN-edgegrid-C-Sharp/EdgeGridAuth/bin/Debug/System.Net.Http.WebRequest.dll' as a file, but the file does not exist
Target GenerateSatelliteAssemblies:
No input files were specified for target GenerateSatelliteAssemblies, skipping.
Target GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
Target CoreCompile:
Tool /Library/Frameworks/Mono.framework/Versions/4.4.2/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:full /debug+ /optimize- /out:obj/Debug/Akamai.EdgeGrid.Auth.dll ClientCredential.cs EdgeGridV1Signer.cs Utils.cs IRequestSigner.cs Properties/AssemblyInfo.cs /target:library /define:"DEBUG;TRACE" /nostdlib /reference:/Library/Frameworks/Mono.framework/Versions/4.4.2/lib/mono/4.0-api/System.dll /reference:/Library/Frameworks/Mono.framework/Versions/4.4.2/lib/mono/4.0-api/System.Net.dll /reference:/Library/Frameworks/Mono.framework/Versions/4.4.2/lib/mono/4.0-api/System.Xml.Linq.dll /reference:/Library/Frameworks/Mono.framework/Versions/4.4.2/lib/mono/4.0-api/System.Data.DataSetExtensions.dll /reference:/Library/Frameworks/Mono.framework/Versions/4.4.2/lib/mono/4.0-api/Microsoft.CSharp.dll /reference:/Library/Frameworks/Mono.framework/Versions/4.4.2/lib/mono/4.0-api/System.Data.dll /reference:/Library/Frameworks/Mono.framework/Versions/4.4.2/lib/mono/4.0-api/System.Xml.dll /reference:/Library/Frameworks/Mono.framework/Versions/4.4.2/lib/mono/4.0-api/System.Core.dll /reference:/Library/Frameworks/Mono.framework/Versions/4.4.2/lib/mono/4.0-api/mscorlib.dll /warn:4
EdgeGridV1Signer.cs(24,18): error CS0234: The type or namespace name Http' does not exist in the namespaceSystem.Net'. Are you missing System.Net.Http' assembly reference?   Task "Csc" execution -- FAILED   Done building target "CoreCompile" in project "/Users/avu/Work/GIT/AkamaiOPEN-edgegrid-C-Sharp/EdgeGridAuth/EdgeGridAuth.csproj".-- FAILED   Done building project "/Users/avu/Work/GIT/AkamaiOPEN-edgegrid-C-Sharp/EdgeGridAuth/EdgeGridAuth.csproj".-- FAILED   Task "MSBuild" execution -- FAILED   Done building target "Build" in project "/Users/avu/Work/GIT/AkamaiOPEN-edgegrid-C-Sharp/Akamai.EdgeGrid.Auth.sln".-- FAILED Done building project "/Users/avu/Work/GIT/AkamaiOPEN-edgegrid-C-Sharp/Akamai.EdgeGrid.Auth.sln".-- FAILED Build FAILED. Warnings: /Users/avu/Work/GIT/AkamaiOPEN-edgegrid-C-Sharp/Akamai.EdgeGrid.Auth.sln (default targets) -> (Build target) -> /Users/avu/Work/GIT/AkamaiOPEN-edgegrid-C-Sharp/EdgeGridAuth/EdgeGridAuth.csproj (default targets) -> /Library/Frameworks/Mono.framework/Versions/4.4.2/lib/mono/4.5/Microsoft.Common.targets (ResolveAssemblyReferences target) ->   /Library/Frameworks/Mono.framework/Versions/4.4.2/lib/mono/4.5/Microsoft.Common.targets:  warning : Reference 'System.Net.Http, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL' not resolved   /Library/Frameworks/Mono.framework/Versions/4.4.2/lib/mono/4.5/Microsoft.Common.targets:  warning : Reference 'System.Net.Http.WebRequest, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL' not resolved Errors: /Users/avu/Work/GIT/AkamaiOPEN-edgegrid-C-Sharp/Akamai.EdgeGrid.Auth.sln (default targets) -> (Build target) -> /Users/avu/Work/GIT/AkamaiOPEN-edgegrid-C-Sharp/EdgeGridAuth/EdgeGridAuth.csproj (default targets) -> /Library/Frameworks/Mono.framework/Versions/4.4.2/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) ->   EdgeGridV1Signer.cs(24,18): error CS0234: The type or namespace nameHttp' does not exist in the namespace System.Net'. Are you missingSystem.Net.Http' assembly reference?
2 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.7505610

Hi,
It's late..
In my case (Mac 10.12.2, Visual Studio Preview 3, mono 4.8.0),
Project > Add NuGet Packages.. > then input "Microsoft HTTP Client Libraries" > Add Package.
I also had same error as you tested it


SAK-30334 Incorporate NYU's "favorites" changes

Since this work covers multiple areas of Sakai, I've split it into 3 independent commits (and I've tested that they work individually).  I've put some background and screenshots of the changes in the JIRA (https://jira.sakaiproject.org/browse/SAK-30334)
CC'ing @jeffpasch and @kyleblythe to answer any questions about the visual design.

Could you squash this 3 commits into a single one?

@juanjmerono No problem.  I've squashed those now and attached the JIRA id.
@SedueRey Thanks for checking it out!  I've moved that breakpoint declaration into defaults.scss.  I named it after the "more sites" feature (since it's specific to that feature).  Happy to name it to something else if you have a better idea:
https://github.com/sakaiproject/sakai/commit/21c0baf1846d95cbf5d0d0f8d0b078f97c8e6f59#diff-0018a005228d6217ce40b9adeb3a1e30R19
Cheers,
Mark

LGTM, great name :) ... I liked last name too hehehe. I had no problem on that


Wrong error line reported with multiple -st-from declarations in :import

:import {
    -st-from: "./valid/path.st.css";
    -st-from: "./invalid/path.st.css";
    -st-default: Component;
}

Error is reported on first -st-from when the second -st-from is the invalid one.
:import {
    -st-from: "./invalid/path.st.css";
    -st-from: "./valid/path.st.css";
    -st-default: Component;
}

Does not report anything on multiple -st-from declarations

@talh78 - Diagnostics are issued by stylable as a rule. Please open the issue there. The main issue IMO is that multiple -st-from should not be allowed.


Interchange linalg generic op to move reduction loops to inner loops

During dispatchLinalgOnTensor we only tile outer parallel loops so if
the parallel loops are not outer loop we may skip tiling some ops which
will prevent them from being distributed onto several workgroups.

fwiw LGTM +2 👍


FileNotFoundError in demo_prepare.ipynb

Bug Report
Description
The repo's Instructions say: "We recommend you start by navigating to the notebooks directory on the left panel and go through the demo_prepare.ipynb".
When executing code cell 5 in that notebook
populate_settings = {"display_progress": True}

ephys.EphysRecording.populate(**populate_settings)

a FileNotFoundError occurs.
Reproducibility
Repository environment created with Dev Containers extension.
Navigate to demo_prepare.ipynb notebook, select kernel and execute code.
Error stack:
Output exceeds the [size limit](command:workbench.action.openSettings?[). Open the full output data [in a text editor](command:workbench.action.openLargeOutput?5cae5363-0515-4d6b-9fe4-f0979c9a6448)
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
Cell In[5], line 3
      1 populate_settings = {"display_progress": True}
----> 3 ephys.EphysRecording.populate(**populate_settings)

File /usr/local/lib/python3.9/site-packages/datajoint/autopopulate.py:241, in AutoPopulate.populate(self, suppress_errors, return_exception_objects, reserve_jobs, order, limit, max_calls, display_progress, processes, make_kwargs, *restrictions)
    237 if processes == 1:
    238     for key in (
    239         tqdm(keys, desc=self.__class__.__name__) if display_progress else keys
    240     ):
--> 241         error = self._populate1(key, jobs, **populate_kwargs)
    242         if error is not None:
    243             error_list.append(error)

File /usr/local/lib/python3.9/site-packages/datajoint/autopopulate.py:292, in AutoPopulate._populate1(self, key, jobs, suppress_errors, return_exception_objects, make_kwargs)
    290 self.__class__._allow_insert = True
    291 try:
--> 292     make(dict(key), **(make_kwargs or {}))
    293 except (KeyboardInterrupt, SystemExit, Exception) as error:
    294     try:

File /usr/local/lib/python3.9/site-packages/element_array_ephys/ephys_acute.py:291, in EphysRecording.make(self, key)
    289 def make(self, key):
    290     """Populates table with electrophysiology recording information."""
...
     43     "No valid full-path found (from {})"
     44     " for {}".format(root_directories, relative_path)
     45 )

FileNotFoundError: No valid full-path found (from [PosixPath('/workspaces/workflow-array-ephys/example_data/raw'), PosixPath('/workspaces/workflow-array-ephys/example_data/processed')]) for subject5/session1

Expected Behavior
The data should be downloaded first then used to populate the database.

Thanks for the report @vncntprvst.

Instructions were accidentally added to the readme to suggest that the tutorials can be run locally.  We recommend using GitHub Codespaces for tutorials which will have the example data automatically mounted.  I will update the readme accordingly.

We will be adding a tutorial.ipynb notebook shortly that provides a more comprehensive overview of the Element and Workflow.

Once you are ready to run the workflow on your data, you can set up the workflow locally or on GitHub Codespaces.


Added a program to find day and date

A python program which asks year and month from user and returns  calendar of that month.

Too basic. Try to make a genuine contribution.


Add startup event to fetch public node API URLs

Here's our directory of public nodes: https://github.com/neurobagel/menu/blob/main/neurobagel_public_nodes.json
TODO:

[x] add app lifespan event logic to fetch JSON of public nodes from above location

[x] should also include logic to get a union of the locally defined nodes and the public node URLs, and store it in a variable (probably a dict, maybe FEDERATION_NODES or QUERY_NODES?) that can be used by the API

[x] needs test

[x] if fetching from remote node directory fails, raise warning + just use the locally defined ones for federation

[x] needs test

[x] should appropriately handle node URL values with or without trailing '/'

[x] rename internal variable name for local nodes

[x] final dictionary should not have duplicate node URLs in it

[x] rename env file to fed.env to distinguish it from node API .env file

:rocket: Issue was released in v0.1.0 :rocket:


fix: examples package.json and update lockfile

Noticed these were broken on develop, seems like the ava tests fail, though. I think it might have to do with the workspaces-js update? cc @volovyk-s
Figured I'd make this fix in a separate PR and to ensure the CI is broken on this branch

Is the test passing locally? It's possible that too many beforeEach tries to launch sandbox hit some resource limitation on CI.

@austinabell I saw this failure as well. We do not need that script, since it is just a part of build:non-fungible-token.


Updated AEP README.md title

Incorrectly titled the AEP API README.md as "Adobe Identity Management Service" (copy/past from IMS README.md)

@tsilver can you review/merge this please?


Should we be running as root inside the container?

Would it be better from a security perspective to run tomcat in the container as a non-root user?
I was going to see if I could make the UID a packer variable, so those that want to can define a UID at build-time, but I'm not sure what that itself is best practice either - not sure what the normal pattern would be here.

Have added a speculative PR that explains what I'm talking about


Add a lint check for incorrectly indented code blocks.

Fixed a problem reported by the link check.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: geeknoid
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [geeknoid]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: geeknoid, sdake
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [geeknoid]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Name change: "sneakers" to "shipshop"

sneakers not available as a GH organization and already exists as a
popular Ruby project

Not moving forward with this name


k8s/watchers: stop init of local endpoint in success case

If we can get a local copy of the CEP we no longer need to keep getting
it from Kubernetes.
Fixes: 469475ba4f0b ("watchers/endpointsynchronizer: do not delete CEP on initialization")
Signed-off-by: André Martins<EMAIL_ADDRESS>do not perform useless GETs of Cilium Endpoints

test-me-please

Coverage decreased (-0.04%) to 36.976% when pulling c7aad694edda4e38d4314c51e41e3f2c886c94ed on pr/do-not-init-in-success into 2e1859ca2cafb656dc635c6fb58aeeea8e62e928 on master.


Running Multiple Programs with Tesseract

Environment
Version: 4.00.00alpha
Commit Hash: ad5ee18415bf59b9f5d1fd1806cb3aad3f18f381
Platform: Linux ryan-VirtualBox 4.4.0-83-generic #106-Ubuntu SMP Mon Jun 26 17:54:43 UTC 2017 x86_64 x86_64 GNU/Linux
Current Behavior:
Running four programs that use the TessBaseAPI class will cause some of them to lock up indefinitely and never finish processing. There will also be a number of cores running at 100% indefinitely, where the number of cores is equal to the amount of locked processes. This is using the alpha release with the TessBaseAPI initialized with the parameter OEM_LSTM_ONLY. The environment variable OMP_THREAD_LIMIT=1 was also used, but doesn't seem to stop this issue from happening.
Expected Behavior:
That any number of programs using the TessBaseAPI object should be able to run simultaneously without locking up some of the processes and cores indefinitely.
Suggested Fix:
I don't actually know enough about the codebase itself to to suggest a fix, but would be interested in more information or a workaround.

 Supposing your are using the capi, you can set a timeout for the ProcessPage.
if (!TessBaseAPIProcessPage( api, image, 0, "", NULL, 2000, renderer)) {
            std::cout << "Error during processing" << std::endl;
}

if after 2000ms the api is not able to process the page, it will skip the processing. So no processing...
I'm trying to figure out if by setting OMP_THREAD_LIMIT=1 in the shell could help really when relying on the capi/c++ api

@ryan-cahill  Please test with the latest code and report if you are still facing this isuue.

This a known issue.
The solution is to turn off OpemMP at compile time with --disable-oppenmp (autotools build) or at run-time with OMP_THREAD_LIMIT=1 tesseract....


How to work with THREADSTACK0?

I need to take address by THREADSTACK0, and I do not found something like GetThreadStack0 in c#

There's no feature which supports it now. If you could lead me to some open source example I could take a look


Consider publishing to pypi?

I was thinking about building something very similar myself, and I'm delighted to learn that I don't have to. The code looks well made and straightforward. Would you consider publishing this anytime soon? I'm happy to assist with any coding/tests/documentation.

@HandcartCactus sorry for the very late response.
This GitHub repository was for a quick project, but I'd be happy to push to pypi and proceed further with your help, whenever you're available.

No worries! As the project owner, I assume you'll want to have control over the PyPI repo. The first step would be to make an authenticated account on pypi.org, if you do not already. Authenticating your account requires you to save some recovery codes in a file somewhere and getting a TOTP app. I'm using FreeOTP, which you can get for free off the google play store or FDroid app store.
More info here: https://blog.pypi.org/posts/2024-01-01-2fa-enforced/
https://pypi.org/help/#totp (includes a list of TOTP apps)
I'm also capable of publishing the package myself, if you prefer.

Sure, you can publish the package
I'll be adding you as a contributor.

Sounds good. I'll maintain a to-do checklist above.


Feature: customizable before send handler for sqlalchemy plugin.

In the example app I'm currently overriding this:
class SQLAlchemyConfig(_SQLAlchemyConfig):
    @staticmethod
    async def before_send_handler(message: "Message", _: "State", scope: "Scope") -> None:
        session = cast("AsyncSession | None", scope.get(SESSION_SCOPE_KEY))
        try:
            if session is not None:
                if message["type"] == "http.response.start":
                    if 200 <= message["status"] < 300:
                        await session.commit()
                    else:
                        await session.rollback()
        finally:
            if session is not None and message["type"] in SESSION_TERMINUS_ASGI_EVENTS:
                await session.close()
                del scope[SESSION_SCOPE_KEY]  # type:ignore[misc]

Probably not a universal thing that everyone would want, so making it optionally configurable could support my case and leave default behavior for others.

yup i dont think its a universal thing. Its clever and helpful - but it might be a problem for users who dont expect this behaviour. I agree that allowing users to customize the hook is a good addition.