[Web] Use workbox-strategies for flutter web

Use Case
Worbox Strategies can be very useful while developing for the web, especially for PWAs. Flutter already implements the use of service workers, but it can be customized at a greater level and can improve the efficiency of flutter web apps with the various stragies provided by workbox.
Implementation
Arguments can be passed to the flutter command line tool build web command defining the prebuilt strategy to be used.
OR
The workbox API can be directly integrated into flutter.

cc @dnfield

@sidrao2006 if you want to write your own service worker you are in no way obligated to use the autogenerated one (which is really just an 80% solution).
We have discussed supporting an online-first mode too FWIW, but we're not going to provide "direct integration" of another JavaScript service worker library.

If you have specific features you would like integrated into the service worker, then by all means file issues for those and we can consider them.

@jonahwilliams thanks for replying.
Writing my own service worker is a tedious job. If flutter auto generates the service worker using workbox strategies, the work will be efficient as well as easy. Flutter can optimize the files as needed which is specified during the build

"workbox strategies" is not a specific feature request though, what sort of functionality are you looking for?

Well, @jonahwilliams different projects have different needs. I just want to be able to power all the projects with the best optimised service worker easily.

We're not going to blanket implement different service worker caching strategies unless there is some demand for them. Just because something was implemented elsewhere does not provide evidence that it will be useful in Flutter

Ok thanks a lot

@jonahwilliams , there is now an implementation of --pwa-strategy. So, will workbox strategies be implemented as well?


The quickstart documentation references 7.2.0 but it doesn't seem to be available

I just thought i'd point out when i click the link to the docs it brings me to a version of the documents that instructs me to install "org.kodein.di:kodein-di:7.2.0" however 7.1.0 appears to be the latest version available in jcenter.

7.2.0 is the dev (unstable) version and usually comes with a suffix at the end.


How can I try out the editing features shown in the demo?

Thank you for open-sourcing this work; it's really cool! How can I try out the editing features shown in the demo? Could you provide some guidance?

Thanks for your interest in our work, we're currently rushing for a deadline. We'll release the editing code in the next few weeks.


Bump version of nodejs

16 is also an LTS, and is the current active LTS.
Triggered by code-server package needing a newer version of nodejs!

Can't seem to run freeze.py locally :( Anyone who can do it for me?

Try https://github.com/jupyterhub/repo2docker/pull/1173

@manics yay ty! I've merged that, rebased this on top, ran it and got tests to pass. Thanks for making that PR


Empty model list after creating new crud and adding an item

Bug report
What I did:
With a fresh Laravel installation, I installed Backpack and added a location model and crud for it. I used the following tutorial site about tags just with another model name:
https://laravel-backpack.readme.io/v3.4/docs/crud-example
What I expected to happen:
I expected a list of models with create/update/delete actions.
What happened:
Creating and updating works, but the model list is always empty. I created multiple models with the crud form, but the list stays empty and I don't know where to look. The data was successfully saved to the database.
What I've already tried to fix it:
I don't really know where to look for this. I did not change the created controller.
Backpack, Laravel, PHP, DB version:
Backpack base: 0.9.5
Backpack crud: 3.4.11
Laravel: 5.6.23
PHP: 7.1.17 on Homestead, Mysql also from Homestead
This is the created setup method from the LocationCrudController:
public function setup()
    {

        /*
        |--------------------------------------------------------------------------
        | BASIC CRUD INFORMATION
        |--------------------------------------------------------------------------
        */
        $this->crud->setModel('App\Models\Location');
        $this->crud->setRoute(config('backpack.base.route_prefix') . '/location');
        $this->crud->setEntityNameStrings('location', 'locations');

        /*
        |--------------------------------------------------------------------------
        | BASIC CRUD INFORMATION
        |--------------------------------------------------------------------------
        */

        $this->crud->setFromDb();
}

Alright, I "figured" it out. I didn't see that external scripts were blocked and since I block all external requests, also datatables.net was blocked.
It would be awesome if backpack would not rely on any external sources for scripts/fonts/...

Glad you figured it out @KuenzelIT . Yes, we're trying to figure out how to avoid CDNs in the future. Cheers!


git: worktree, add Grep() method for git grep

This change implemented grep on worktree with options to match ignoring case, invert match and specify pathspec. Also, a commit hash or reference can be used to specify the worktree to search.

Changed GrepOptions to accept precompiled regexp objects for Pattern and PathSpec
Moved the file iteration and pattern matching code to a separate private function findMatchInFiles()
Changed the table test struct format
Updated compatibility doc


Fixed Markdown styling for third-tier heading

Third-tier headings were not rendered correctly by GitHub because they were missing a space. I also removed some colons for consistency because all other H3 headings were not using colons.

Oh, right, thanks


ci: fix action failures

Fix issues causing actions to report errors.

@stevenh I changed the settings of the repo, github action jobs should run without approval now :)

Don't worry about the auto commit failure, it's just because tou don't have the rights from a fork :)
And ignore codecov :)
But Windows & mac tests would be nice ^^

Don't worry about the auto commit failure, it's just because tou don't have the rights from a fork :) And ignore codecov :) But Windows & mac tests would be nice ^^

Yep, there seemed to be a way to do it but that requires contributors to make changes there end, so too high a barrier
I'm now looking to skip it when a fork is detected.

Ok so node 12 is really old and the major version bumps didn't go quite to plan. Might want to consider dropping support for node 12 in the future.

@stevenh you can remove node 12 compat, good idea!

@stevenh you can remove node 12 compat, good idea!

Got it working for now, will do that later.

Oh wow, wasn't expecting that to just pass, still had lots of debug in there.
I'll make sure I use a draft for work in progress


ISPN-10446 Protobuf resource

[x] CRUD
[x] Errors
[x] Docs

https://issues.redhat.com/browse/ISPN-10446

@gustavonalle the error stuff is not present ...

@gustavonalle ready for review

@oraNod Docs here ...

@gustavonalle I reported the changes
I did not push any change when I was answering the comments

there are checkstyle errors and I messed up in commits, comming @gustavonalle

doc is outdated

@gustavonalle yes, before going into docs yet with don, I wanted to validate the code and API

@karesti The "Changes Required" label still apply, at least until the docs are right :)

I updated the docs @gustavonalle and @oraNod
Do we need to do the changes @wburns talks about in this PR ?

@karesti yes, we need to delegate to the executor

appart from that, any other thing ? could don review the docs so far ? @oraNod @gustavonalle

@karesti hey, I've got the docs open here as we speak :grinning: they look really great! I'm doing an edit pass now and trying things out. won't be long.

@gustavonalle updated

LGTM, I can merge after CI and Dan's review

@gustavonalle changes done

Integrated into master, thanks @karesti !


Add support for affixes loot table

Purist can now choose item affixes from regular game loot table instead of farming duplicate and using the forge.
The name of the affix is added to the context menu.
Theory crafting made easy!!
Updated documentation
https://github.com/hguy/TQVaultAE/blob/affixes-tables/documentation/AFFIXES.md
https://github.com/hguy/TQVaultAE/blob/affixes-tables/README.md
Prefix

Suffix

Artefact completion bonus

Relic and charm completion bonus

Socketed relic and charm completion bonus

Remove affixes

Broken affixes when available

Support of second relic completion bonus change

You can switch affixes display by name/effect

This is very impressive!

Does it respects the game's limitations (Hallowed only on helmets) or is it free for all?

Does it respects the game's limitations (Hallowed only on helmets) or is it free for all?

this join the loottable with the related itemid  (ItemId -> tableId -> AffixId) over all available DLC, so it should !

@EtienneLamoureux It actualy doesn't look at loot table that are "for alll". only those that are explicitely linked to items.


Fix CI step that prepares built framework artifact

Commit 938fe91 contained two different issues:

There was a typo carthage-build-framework instead of carthage-built-framework;
We actually required two levels of directories to provide the desired effect of the GitHub artifact not containing a zip file at the top level.

This fixes those issues.

Thanks for the feedback @maratal, I'll be sure to do that next time 🙂


Use Rails caching for current_event

Move the caching of current_event and schedule into the controller layer
This allows you to use a cache and have all processes return the same
values (unless you're using memory store).

I'm dragging my feet on this because I want to give it a little closer look. I'm gonna go through the other PRs and come back to this one... I hope that doesn't screw up merging stuff..


It's not an issue, a clarification request

I have used the tool to parse "Activity Monitor" instrument and to my shock I was able to see parsed data, I don't know how you achieved this, but till now I have never seen even a single bit of data extracted from Instrument's trace files across multiple tools, commands etc including your's when I tried last year. So, first of all, hats off to you for achieving this.
Now the problem I'm facing is to identify the columns compared to the extracted data.
I have created below sheet pertaining data along with few of the headers I was able to identify compared to the trace file.
Parsed Sheet :
https://docs.google.com/spreadsheets/d/16xl9VLEVCgjDb1VfSYAtyb3an0Dixug_wu5ltc3wUO0/edit?usp=sharing
Trace File :
https://drive.google.com/file/d/1dkNxflP93_WxXSOmyrIIiCZH9RbUrR3w/view?usp=sharing

right click the table header in Instruments. I guess some columns are hidden by default.

I had already enabled all the options, but few of the extracted data points are not understandable.

Refer the example below,

Matching CPU usage and CPU time for a specific timestamp, I was able extract few of the column headers, but if you notice in the graph data, there are lot of headers whose data points are not matching the extracted data(Since the graph on Instruments showcases the whole device usage & not app specific). Hence I was unable to match those column headers.
Request to please suggest any other way to identify the data points from the extracted data.
Thanks & Regards

Thanks for your reply, I was able to finally identify the columns using one of the schemas available within the trace file.

This was exactly matching the number of columns from the extracted data.

I don't have time to look into this and I am afraid this can be a difficult question.
XRAnalysisCoreReadCursorColumnCount and XRAnalysisCoreReadCursorGetValue functions are in XRAnalysisCore, which is a quite low-level in the whole thing (kind of like the CoreData or some ORM framework in a typical app). There is still some distance between it and the graphs and tables presented by Instrument.app, where a lot of data processing, calculating or summarizing can happen.
As for the internal metadata about the columns, I think you can try looking into fullTextSearchSpec. Since it can format column values, it must have some information about the data type of columns and fortunately ids or names that can give you hints about what they are about.


Soften requirement on jrmajor/fluent

Is it safe to make this change? I can't benefit from your work improving the performance on laravel-php

Yes, it's a typo. Thank you!


#23 Detect custom template.md

Closes #23 Detect custom template.md

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Fix #23

What is the current behavior? (You can also link to an open issue here)

New decision files are created from default templates.

What is the new behavior (if this is a feature change)?

New decision files are created from custom template if the file {basePath}/template.md exists.

Other information:

Codecov Report

Merging #24 into master will decrease coverage by 0.32%.
The diff coverage is 60.00%.

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
- Coverage   91.40%   91.08%   -0.33%
==========================================
  Files          24       24
  Lines         512      516       +4
  Branches       44       45       +1
==========================================
+ Hits          468      470       +2
- Misses         27       28       +1
- Partials       17       18       +1

Impacted Files
Coverage Δ

src/lib/create.ts
92.30% <60.00%> (-7.70%)
:arrow_down:

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 93a9987...d3e63c2. Read the comment docs.

Thanks for PR.


Visualize.py on any images

Hi. Is there a way to use visualize.py on any images without annotations? @yhenon please

https://github.com/hs7251912/RetinaNet_pytorch_saplingDetection/blob/master/detect_single_image.py

this has finally been added: https://github.com/yhenon/pytorch-retinanet/blob/master/visualize_single_image.py

@yhenon  where is the csv file in visuvalize_single_image.py, its not in Readme also


docs: add refcount documentation

add short description
add description
add link to image
add example
Closes #4715

Pull Request Test Coverage Report for Build 8460

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 96.659%

Totals

Change from base Build 8457:
0.0%

Covered Lines:
5208

Relevant Lines:
5388

💛  - Coveralls


Build budget app

Pull Request Description:
This pull request introduces the implementation of the Ruby on Rails capstone project. The project is a mobile web application for managing budgets, allowing users to track their transactions and expenses by category.
Changes Made:

Set up the repository and project tools.
Created models based on the ERD diagram, including validations and tests.
Implemented authentication and authorization using Devise.
Created the category page where users can view and manage their categories, including the total amount of transactions for each category.
Implemented the transactions page for each category, displaying a list of transactions ordered by the most recent, along with the total amount for the category.
Added functionality to add new categories and transactions through dedicated form pages.
Ensured adequate testing coverage for the application.
Deployed the project online.
Recorded a video demonstrating the project features, including a description of the project, a demo of the functionalities, and highlighting interesting pieces of code.

Additional Changes:

Followed the design guidelines provided, including colors, typography, and layout.
Used Postgres as the database for the project.
Implemented input validation to enhance security and prevent malicious actions.
Chose a view template engine (.erb, .slim, .haml) for rendering views.

Please review the changes and provide feedback.

please in case of any change, you can reach out to me on Slack or Zoom, I am available.
it is almost the deadline so I am on edge


caveats: Differentiate zsh completion files and function files

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew tests with your changes locally?

When installing a file to zsh/site-functions directory, it is assumed this is a zsh completion file,
and the zsh completion caveat is printed after installation.
But not all files in the zsh/site-functions directory are completion files.
Some are files for functions that can be loaded on demand with zsh's autoload command.

Edit Keg.completion_installed to search specifically for files in the zsh/site-functions
directory starting with an underscore only (By convention, zsh completion files start with an underscore)
Add Keg.zsh_functions_installed to search for non-completion files in the zsh/site-functions
Add Caveats.zsh_functions_caveats to print a caveat if non-completion files have been installed
to zsh/site-functions

What software installs ZSF functions and what are they used for? Thanks!

@MikeMcQuaid Zsh plugins and frameworks use zsh functions, and they are basically command line commands for zsh.
My little project uses a zsh function to override and enhance a command.

Fair warning, I can't directly test these changes since I don't have a Mac with me; sorry :(

Weird, my newer commits disappeared 😕

@MikeMcQuaid Zsh plugins and frameworks use zsh functions, and they are basically command line commands for zsh.
My little project uses a zsh function to override and enhance a command.

My little project uses a Fish function to override and enhance a command.

@zachwhaley To make a core change we'll probably want a few example projects rather than just your personal one. Could you link to a few? Thanks!

Honestly, I don't think I'll be able to find a lot of examples for this, outside of zsh specific programs.
This PR and PR #1615 were created from issue #1594 and the discussion there.
This PR is addressing issue #1594, and I added PR #1615 from @apjanke comments about advising the user that something went to a directory that may not be on their path
For PR #1615 that path would be the users $fish_function_path
Since I thought these changes wouldn't be very big, I thought I might as well give it a try :)
Thanks!

I did manage to find some packages that could utilize this.
Here are a list of packages that install a zsh script to some location on the system, and then ask user to source that file, but instead could install those scripts to zsh/site-functions and ask the user to run an autoload on their script, like what is done in my project.  I haven't verified this to be the case for every package, but it seems sensible.

zsh-autosuggestion
zsh-git-prompt
zsh-history-substring-search
zsh-navigation-tools
zsh-syntax-highlighting

Perfect, thanks for explaining so well. Happy to merge this when conflicts with your other (merged) PR are resolved and would ❤ PRs for those formulae to use this after that.

Thanks again for your contribution to Homebrew!  You rock!


Misleading doc for ExtractTextPlugin's allChunks option

Documentation says that setting allChunks=true will generate single css file for the whole bundle, but in practice it's not true.
With allChunks=true we still have one css file per entry but styles are extracted not only from initial chunk of entry but from all entry chunks. It allows to completely remove styles embeded into JS files but still on per entry basis. Without allChunks=true styles are extracted from initial chunk only, leaving other styles in JS files.
Documentation of extract-text-webpack-plugin package itself is a little bit vague according to this. It's says about initial chunk vs all chunks extraction but says nothing about is it per entry or whole bundle extraction.
I think current behavior is fine, but documentation should be updated.
PS Not sure if we really need bundle-level css extraction, but maybe it also should be allowed with an additional option.

fixed


Added Rugby solution

Have you read the Contribution Guidelines?
Yes
Description
Added Riya-C++ Folder.
In Riya-C++ Folder, I added 1 solution file (Rugby.cpp) and 1 editor screenshot (Riya_rugby.png)
Plz, merge my pull request under completion of Hacktoberfest 2021.
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.

Related Issue no. #93
Fixes Issue #93

Merged @rk1091 🚀


Planetary computer (PC) notebook suggestion for subscription only products

Hi DEA team,
First, I love the addition of the Planetary computer notebook. However, some PC products require an API subscription key to open (more permissioned).
If you could provide some suggestions or code as to how to implement this in the current notebook (if feasible) that would be fantastic.
For example, accessing S1 radar RTC data would be ace (https://planetarycomputer.microsoft.com/dataset/sentinel-1-rtc ). Here's a discussion that may be relevant (https://github.com/microsoft/PlanetaryComputer/discussions/167) - I hit a dead end there even though I have a PC account and API key..
Cheers,
Will

Hey @wwoodgate! Yeah, I have to admit I chose products for this notebook that didn't require a key to avoid this whole issue... 😅 It's a great idea though - some guidance on accessing data that requires an API key would be really useful to include here. Will have a think and see what we can work out!

@wwoodgate Any chance you could share some extra details about what issues you've run into with the Planetary Computer API keys? I might have a theory about what's going wrong, and want to test it out.

Hey @robbibt, I always got stuck with the "HTTPError: 403 Client Error: Forbidden for url: ..."  when searching the item collection, even after adding a custom header with my API key:
Create custom headers including the Authorization header with the API key
headers = {
'Authorization': f'Bearer {api_key}',
}
Initialize the STAC client
client = Client.open(stac_api_url, headers=headers)
But I've never done anything like this before so didn't have a working example to go by.

Hey @wwoodgate, I've been able to load data from Sentinel-1 on the Sandbox - here's the steps I followed:

Register for a Planetary Computer account, then sign into the Developer Portal: https://planetarycomputer.developer.azure-api.net/  (more info here)
Under "Subscriptions", you should see "Primary key" - copy the primary API key (this page took a while to load for me):

On the DEA Sandbox, launch a new terminal:

Type planetarycomputer configure. When prompted, paste in your copied API key:

Now you should be able to load Sentinel-1 data via the Sandbox. For example:

import pystac_client
import planetary_computer
import odc.stac

# Open a client pointing to the Microsoft Planetary Computer data catalogue
catalog = pystac_client.Client.open(
    "https://planetarycomputer.microsoft.com/api/stac/v1",
    modifier=planetary_computer.sign_inplace,
)

# Search for data
bbox = (153.110, -26.841, 153.153, -26.803)
search = catalog.search(
    collections=["sentinel-1-rtc"], bbox=bbox, datetime="2023-08-01/2023-09-09"
)
items = search.item_collection()
print(f"Found {len(items)} items")

# Load Sentinel-1 data with ODC STAC
ds = odc.stac.load(
    items,
    bbox=bbox,
    bands=["vv", "vh"],
    crs="utm",
    resolution=10,
    groupby="solar_day",
    # chunks={},
)

ds

Nailed it @robbibt ! This works perfectly. I'll teach this in tomorrow's prac :)
No issues and didn't need to restart the notebook, very smooth.
Many thanks!!
Will


Extension Request: Dance

[x] Extension name: Dance
[x] Extension GitHub or homepage: https://github.com/71/dance

Thanks for opening an extension request!
We are currently in the process of switching extension marketplaces and transitioning over to Open VSX.
Once https://github.com/eclipse/openvsx/issues/249 is implemented, we can fully make this transition. Therefore, we are no longer accepting new requests for extension requests.
We suggest installing the VSIX file and then installing into code-server as a temporary workaround. See docs for more info.


Adds support for includes files to tweak latex

This change adds two default config files for adding latex styling to
the header of a template and prepending before the content. This won't
affect compiling directly from latex, since we use tectonic rather than
pandoc for this.
This also uses the new configurability to produce nicer formatting of
from markdown templates.

Force pushed to resolve merge conflict