Add algorithms, Command Line, Compression, Concurrency

See it here
Begins #375
[WIP]
I am not changing the output of the existing sections in this work, so basics still contains these recipes as well.  Plan is to remove existing sections once the categories are complete.

btw, if you ever need reviewing, feel free to ping me on gitter!

@AndyGauge this starts to look awesome.
Just few thoughts.

rendering on http://www.yetanother.site/rust-cookbook/ is a little wonky (missing icons etc. what version of mdbook did you use?)
there are some broken links and tables here and there. this leads me back to an idea to incorporate more lints to travis (link checker, markdown lint and aspell) so we do not need to spend any more time on rendering and link veriffication after each PR (especually major ones like this one)
do you have any thoughts where do we put tables (do webkeep them at all, split to smaller and smaller chunks)? The oroginal ones are not intended for this level of nesting and keeping them in sync will be even bigger chore than before. Maybe lets generate them on the fly?
I'm not sure if using {include} this much by hand will not make the maintenance and contribution more error prone (maybe we could just add each example to the SUMMARY.md directly or propose some changes to mdBook itself).

I'm really interested on your thoughts!

@budziq Thank you for the kind words.
I'm using https://github.com/rust-lang-nursery/mdBook/pull/682 as mdBook.  It is a work in progress.  The lastest version was before I incorporated relative path checking.
I haven't addressed the brokeness inside of the old categories.  I"m trying to address dead links as I go, but this PR is far from finished.  I expect to do a final manual pass once it is complete to address the broken tables and links.  I am all for link verification post processing, but not blocking progress forward.
I'm hoping to generate tables on the fly eventually.  If we keep mdBook I'm happy to write a TOC generator.
I'm hoping this much include syntax will be replaced eventually with a generator, but the idea is to break it up first.  I envision a layout file, either TOML or YAML that generates everything.
Again, I do appreciate the thoughts.  Last few days have been hacking away at mdBook and not the cookbook.

I tottally agree.
I'll try to find some time to add linkcheckers and linters to CI next week.  It has been bugging me for some time already.
The layout file sounds interesting please feel free to make a braindump with the details somewhere (possibly a separate issue in the repo might be a good place for discussion and getting help from contributors)

@budziq  btw: https://github.com/Michael-F-Bryan/mdbook-linkcheck

Very cool! Thanks!

FYI, #356 is open for checking links

@ludwigpacifici Yep, I've opened it a long while ago and it has been nagging me since then ;) I hope to find some time to address it mid next week.

I'm thinking about redoing the includes so I can release this on mdbook 0.1.7

@AndyGauge This is a fantastic step forward! Just a few notes going through:

Concurrency: the "threads" vs "parallel tasks" is slightly confusing -- perhaps "explicit threads" vs "data parallelism" or something would be better?

Data structures

I'm not sure that lazy_static should go here -- at least for me, it's not super-connected to data structures. It's a really tricky one.
I didn't quite get the "custom" subcategory. Maybe just "bit manipulation"? (Are these subcategories also trying to map onto crates.io?)

Date/time

The "Duration" category seems to include more than just duration-related stuff, e.g. the "examine the date and time" example is not about durations.
The "convert a local time ..." example isn't about parsing/displaying, I think -- more like timezone calculation?

Development tools

I don't think "error handling" should go here; development tools are more about the development process itself (like debugging), whereas error handling is part of the actual application logic.

Encoding

The "strings" category feels a little too generic -- I'd have a hard time guessing what was in it. Similarly with "complex data types"
The relationship with "text processing" is a bit tricky, too

Web programming

I don't think "scraping web pages" should be a category -- better to break down into finer-grained pieces
Should use "URL" rather than "Uniform Resource Location" IMO; it's a ubiquitous acronym
For "Clients", the "Using APIs" category name is a bit unclear

@aturon I had a tough time fitting all the recipes into categories--I may just need to create memory management and move lazy static there.  Some of the series that I created were meant to divide the recipes in half to make them easier to digest.  Sometimes the categories didn't fit the recipes.  In Time/date, it probably makes sense to make a third series.
Can we petition crates.io to make an error handling category?  Since we can't stuff it anywhere else in the cookbook I'll create a new root category for it.

@aturon I've worked through each of the comments, though some of them don't have great solutions.  Did you want to review the updates?

Please consider the following changes ...

Development tools does not seem to be the right place for Versioning. I'd rather see a separate category called change management (perhaps under development tools).

Rename Encoding to Encoding / Decoding. Though technically correct placement of CSV processing and Structured data seems to be a little awkward. Perhaps create a separate category called Structured Data?

@sandeep-datta Thank you for your review!
I actually do think Development tools is the right place for Versioning.  I feel that change management might refer to state machines and not the development process.  I'm wrong a lot though.
I certainly could see Encoding being renamed to Encoding / Decoding.  I'll probably do that.  We are trying to align the cookbook with the crates.io categories: https://crates.io/categories
I'd like to avoid creating extra categories.

I have never heard of change management being used in that sense but I think I should have said Configuration Management in the first place.

I'd like to avoid creating extra categories.

Well this is unfortunate but understandable. You may be already doing this but if I were you I'd make sure to look at the crates already using the chosen categories. If you were to look at the crates with "version" in their name you'd notice that most of them could have used a more appropriate category. I, for one, don't believe the list of categories on crates.io is complete by any means. But you be the judge.
Thanks again for all the hard work that you have put into this PR regardless of what you decide.


"WHERE WE PLANT" heading not visible

"WHERE WE PLANT" heading is not visible in smaller screen sizes due to contrast with the background. I would like to work on it.

@prashantsingh181 assigned

#147


msolve: 0.6.6 -> 0.6.7

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/algebraic-solving/msolve/releases.
meta.description for msolve is: Library for polynomial system solving through algebraic methods
meta.homepage for msolve is: https://msolve.lip6.fr
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.6.7 with grep in /nix/store/ksj2faqgm2rlwdaifj77sgm3mccs540p-msolve-0.6.7
found 0.6.7 in filename of file in /nix/store/ksj2faqgm2rlwdaifj77sgm3mccs540p-msolve-0.6.7

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

msolve

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ksj2faqgm2rlwdaifj77sgm3mccs540p-msolve-0.6.7 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A msolve https://github.com/r-ryantm/nixpkgs/archive/b29e3ae839a43c0441daf4cb9bb66730c9525ea7.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/b29e3ae839a43c0441daf4cb9bb66730c9525ea7#msolve

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ksj2faqgm2rlwdaifj77sgm3mccs540p-msolve-0.6.7
ls -la /nix/store/ksj2faqgm2rlwdaifj77sgm3mccs540p-msolve-0.6.7/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

msolve

Maintainer pings
cc @wegank for testing.

Result of nixpkgs-review pr 328449 run on aarch64-darwin 1

1 package built:

msolve


Unregister per-vnode stats when cleanly shutting down.

This removes the stats on a happy path terminate, however if the vnode crashes the terminate callback will not be executed.
The vnode manager currently monitors vnodes for exits and cleans up per-vnode msgq stats, but we need to extend the vnode manager to clean up non-core stats as well.
RIAK-2312

+1 9af448c

@borshop merge


hires not work

I don't know if this is an issue related to hiresfix. It works perfectly fine for me on the latest version of webui


JoyPixels/Twemoji, and IE?

Is there any way to use emoji from another library like JoyPixels?

Not currently. Emoji Button uses the actual Unicode emoji sequences, so they will always appear in the operating system's native style.

Avoiding opening another issue, I wanted to see if the built-in OS emoji looked worked in IE and it doesn't seem to load the script properly. Is there any IE polyfill for Emoji-Button or is it just unsupported?

Oops! Looks like I was using arrow functions in the demo so it wasn't loading on IE. I fixed the demo so it loads in IE - IE11, at least - though I noticed a few quirks under IE. I will see if I can get a VM set up to try to debug some of the IE11 issues.

I just released version 2.5.3 which should have fixed IE11 support.


Add images for Wiki and README

Any images left in the issues are given an automatic URL by github. This url can then be used within the documentation of the repository, as described here. Since I find it inconsistent that I can easily drag in resources to the issues editor, but not in the documentation, and because I don't want to host random images for this repository in yet another image host, I will be leaving any images needed here. Feel free to add diagrams, screenshots, or GIFs that might help document the use and structure of Mirador.

These seem helpful. Where are they being added? :)

Been working on documentation :)


configurability of domain boundaries for zoom

add ability to set domain boundaries. closes #570

Sorry for the late response. I merged this PR and fixed to zoom out based on the new options zoom.x.min/max. I think it makes zooming behaviour more intuitive. Thanks.


Extended injector

Q
A

Bugfix?
❌

Breaks BC?
❌

New feature?
✔

Issues
Closes #888

2627 Segmentation fault      (core dumped) vendor/bin/phpunit --coverage-clover=coverage.clover

😟


CLI should check that docker is installed

If docker is not installed, make an appropriate output line, rather than logging to stderr and failing to analyze.

Fixed by D70


Setup GHA CI

A first version of this is up and running. I've even add a badge to the readme!
Unfortunately I've had to disable it for now. The current work in progress is partially about establishing a link between Tyrian and Indigo, which means I'm using an "in development" version of Indigo that isn't available publicly yet.
I'll re-enable after the next release when Tyrian will work off a stable Indigo version.


Addressed comments on toolversions file and arguments for scripts.

Summary of changes:

Updated the layout of tool metadata file (.toolversions). Changes include config names are alphabetical, each config name begins with functionality followed by OS, and reduce the overlap in config values.
Ensured arguments to scripts are all required. Thus removing the need for named arguments.

Comments that were not addressed yet revolve around adding helpers.  I marked these as "Pending" in https://github.com/ravimeda/corefx/pull/9
Hence to make efficient use of your time, please focus on .toolversions changes, parsing of toolversions info, and arguments passed to scripts.

Please follow https://github.com/ravimeda/corefx/pull/9


Project Feedback For Todo List

Give feedback on my parent's project based on clean code best practices.

Hi @AliShahSafdari   😊,
Good job so far! 👏

Kindly, Please consider taking another look at your project. I have some suggestions to make your project better.

Highlights

✔ Usesd more module.
✔ Used the correct Git Flow
✔ No Linter Errors
✔ The Pull Request has a proper title and description.

Suggestion To Changes ♻
Check the comments under the review.
Optional suggestions

Mske sure that the design is looks likes on the demo

Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you take them into account as they can make your code better.
Cheers, and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Remember to tag me in your question so I can receive the notification.

Hi @AliShahSafdari
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Highlights
Linters are passing 👍
The project is running successfully 👍
PR is well descriptive 👍
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me @joel-kalema in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Hi @AliShahSafdari
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Highlights
Linters are passing 👍
The project is running successfully 👍
PR is well descriptive 👍
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me @joel-kalema in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Remove particle by id

Thanks your work. I'm having a lot of fun with the library :)
I found the need to remove an specific particle that I'm keeping track by its id.
When I add the particle world.add(particle, id)
I can later access it with world.particle(id)
Removing the particle though, it only can be done by its world's index.
My current around  is setting the particle id particle.id = id,  and then I iterate over all world particles to find its index:
getParticleIndex(id) {
        for (let index = 0; index < world.particleCount; index++) {
            if (world.particle(index).id === id) {
                return index
            }
        }
        return -1
    }

Following the style of world.add() it seems that it would make sense that world.remove() could be used by  an id as well.

Thanks @xavivives . You are right, and I also found another bug there that can make the id/name out of sync. Will fix it soon. Thanks for reporting.

Hey @xavivives , I made a quick fix. Please update to v0.6.3 and see if it works for you.
Note that world.remove(...) is now split into world.removeBody and world.removeParticle.
Take a look at the quick test cases here as examples:
https://github.com/williamngan/pts/blob/master/src/test/Physics.spec.ts
Thanks!

Fantastic! I can confirm it works.
I created another issue with a similar problem ^^
Missing way to check if a named particle exists #49


Updated makefile

code changes for running tests in gitlab.

Merging this change as Vitaly confirmed that it works in gitlab : https://<IP_ADDRESS>/plattform/koin/demo-terraform-nomad-minio/-/blob/master/.gitlab-ci.yml


Declare web component in solid typescript

have been tried implement web component in solid typescript but i dont really know how to declare the component name, it show an error like this.

i have tried to declare it on file declaration.d.ts like this.

is there any way to declare web component name in solid typescript ?, thanks!.

I think the problem is that works on the global namespace and it needs to work on Solid's. I've done it the way posted above in the past but that was back when we were too polluting the global namespace like React.
So perhaps:
declare module "solid-js" {
  namespace JSX {
    interface IntrinsicElements {
      "component1-component": any
    }
  }
}

thanks for your reply. so i've implement it and now it shows different error like this.

this is my declaration.d.ts file look like.

but i found out if i declare it on component file like this.

this works, but i dont know if this is a good practice or not.

Honestly, TypeScript differentiating between this confuses me. Anyone with TS experience with custom elements can chime in. @trusktr maybe.

You should be able to perform this module augmentation in a declaration file (.d.ts) which will make it available everywhere in your app. The trick is to also import 'solid-js' in that declaration file. Without the import, the new module declaration clobbers the existing one instead of extending it. Here is an example: https://codesandbox.io/s/solid-counter-forked-ulhhj?file=/my-web-components.d.ts
Please also note codesandbox falls down sometimes dealing with this stuff - reloading usually fixes it.

works perfectly, thanks!.

Chiming in with a potential improvement on the ideas/code snippets in this thread:
There was a discussion/thread in a WC library called Shoelace on how to use the components in Solid.
As part of that discussion, @justinfagnani (a member of the Lit team at Google) offered the below declaration file snippet as a way to get even better type annotations on web components used in Solid.

I figured out how to get good typings for all custom elements that are added to HTMLElementTagNameMap without having to add each individually to 'solid-js'.JSX.IntrinsicElements and without using any for the type.
declare module 'solid-js' {
  namespace JSX {
    type ElementProps<T> = {
      // Add both the element's prefixed properties and the attributes
      [K in keyof T]: Props<T[K]> & HTMLAttributes<T[K]>;
    }
    // Prefixes all properties with `prop:` to match Solid's property setting syntax
    type Props<T> = {
      [K in keyof T as `prop:${string & K}`]?: T[K];
    }
    interface IntrinsicElements extends ElementProps<HTMLElementTagNameMap> {
    }
  }
}

You can see in the Solid playground that an element with foo: number causes an error with a binding of prop:foo={'hello'}, which is what we want:
Solid Playground Link

^(Link to Justin's comment for more context)
It's also worth noting, that this will only work for web component libraries that add their components to the global HTMLElementTagNameMap interface as demonstrated in the above Solid playground link, however. This is something that Shoelace does for its components, but you'll want to check your desired component library for this addition.
Hope it helps anyone still passing by on this thread!

If you extend 'solid-js'.Component (instead of HTMLElement as above), here's some half-working code:
declare module "solid-js" {
  namespace JSX {
    type ElementProps<T> = {
      [K in keyof T]: T[K] extends Component<infer P> ? P : never
    }

    interface IntrinsicElements extends ElementProps<HTMLElementTagNameMap> {}
  }
}

Unfortunately this code does not error if you pass props to a component that has no props, like function MyComp(): JSX.Element { ... }. Unfortunately I'm not good enough at TypeScript to figure out the solution. Some thoughts on where I gave up:
The default generic on Component is {}, which I can't differentiate from a populated prop using conditional types. In other words:
    type ElementProps<T> = {
      [K in keyof T]: T[K] extends Component<infer P>
        ? P extends Record<string, never>
          ? boolean // this is never hit
          : P
        : never // though this is hit, which correctly yields errors if, say, you pass a string to an number prop
    }

For now I think I'll just have two HTMLElementTagNameMaps - one for Components with props, and one for Components without props. I haven't tried it yet though.

@ryansolid Any plans or information to support this in solidjs? Or at least a documentation note, that using web components with typescript requires this?

There was a documentation note at one point about what I posted above. But, looking now it doesn't seem to have made it to the new Docs. So I think there could be a note about how to declare web components in the TS section.
Opened an issue: https://github.com/solidjs/solid-docs-next/issues/823


Updating urgent known issue

OPS Build status updates of commit f229489:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/hololens-known-issues.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Pull Content form CQ5.6 to AEM6.2

Is it possible to pull Content from CQ5.6 into the AEM6.2?
When it is possible, which grabbit version has to be installed on CQ5.6 and
which grabbit version has to be installed on AEM6.2.
Are there special settings to do within the grabbit configurations on the System?
I successfully pulled from CQ5.6 to CQ5.6 and from AEM6.2 to AEM6.2.

That would be great.  I hope you get a resounding yes on you question.  I've been messing around with it for a few days now and have yet to get it running on 5.6.1 at all.  6.2 seems to accept jobs but they all fail, and the logs show no detail (even in trace).  Anyway, hoping that it is possible.  Would love to start with a fresh repo, and not have to 'migrate'.

Hey @simageye @RJHend!
Maybe, and no. Grabbit's protocol can only "talk" to another Grabbit of the same major version, and if you look at AEM Support you will notice that no major version of Grabbit supports both AEM 6.2, and CQ 5.6. That said, I have heard via https://github.com/TWCable/grabbit/issues/156 that there might be some success in installing 3.0.5 on AEM 6.2. When I tried, incompatible versions of Joda Time prevented Grabbit's installation, so dscirto might have had to mess around with things. That said, 3.0.5 on AEM6.2 is certainly relatively uncharted territory.
Other than that, for particular nodes between 5.6, and AEM 6.x (mostly DAM related), you will run into node definition incompatibilities. Grabbit is a sync tool, and does not provide AEM migration capability. Bonafide migration tools such as crx2oak, or Package Manager will handle these nodes.
If you get beyond those two hurdles, Grabbit should still be able to help you.

Thanks for all this fast answers. We decided to use the standard replication agent which uses the "durbo" protocol. We are record the stream from CQ5.6 to a file and when the replication is finished, we are playing it to AEM6.2. So far, we are not manipulating the stream for filter actions.
I am closing the thread now as "will not be solved".


Mention @types/office-js, too

It would be good to mention on this article that in addition to the CDN JS location, developers can find IntelliSense by doing npm install --save-dev @types/office-js

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

ID: 6d96e111-017c-a77b-9326-f64e83936921
Version Independent ID: 5ab2ade4-18c5-ebe1-18d4-abff3d4059df
Content: Referencing the JavaScript API for Office library from its content delivery network (CDN)
Content Source: docs/develop/referencing-the-javascript-api-for-office-library-from-its-cdn.md
Product: office 365
GitHub Login: @o365devx
Microsoft Alias: o365devx

@Zlatkovsky Do you want to make that change and open a PR to merge it, or do you want one of our writers to do it? @ElizabethSamuel-MSFT

I'll let one of the dev writers do it :-).  I just noticed it when perusing the docs, so figured I'd try out the "send feedback" button and let you know that it would be a good thing to add.

OK, I added them all as assignees.

Added note to this effect: https://github.com/OfficeDev/office-js-docs-pr/pull/366

@Zlatkovsky, It appears @Rick-Kirkham added the requested information and that change has gone live. Closing the issue.


[beneficiary view] amount claimed doesn't update

I've refreshed the page, but still didn't update.

It seems to round to numbers like 1,2,3, without decimals. Might be an issue on utils.

It seems to round to numbers like 1,2,3, without decimals. Might be an issue on utils.

It is. In fact, there's a few issues here https://github.com/impactMarket/utils/blob/main/src/useBeneficiary.tsx#L94
All this parseNumber should actually be parseFloat

@obernardovieira I'm trying to solve this but, even though the transaction is successful, the data returned from the useBeneficiary hook won't update even if I refresh the page.
In front-end we're just printing the data that comes from that hook directly.


Building libcamera-apps with ubuntu 22 server on RPI4

Firstly thank you very much for the hard work,
I am trying to build libcamera-apps on ubuntu 22 running on my rpi4. When I issue cmake .. under build directory, I get the following error:
-- Platform: arm64
-- Checking for module 'libcamera'
--   No package 'libcamera' found
CMake Error at /usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:603 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:825 (_pkg_check_modules_internal)
CMakeLists.txt:48 (pkg_check_modules)
Appearently it complains about not finding libcamera. But however I did install libcamera0 and libcamera-dev packages that comes with the apt-get.
Any ideas on how to point the cmake script in the right direction?
I also made a dpkg query to see which files were installed by libcamera0 and libcamera-dev packages.
Best Regards,
Can Altineller
$ dpkg-query -L libcamera-dev /. /usr /usr/include /usr/include/libcamera /usr/include/libcamera/ipa /usr/include/libcamera/ipa/ipa_controls.h /usr/include/libcamera/ipa/ipa_interface.h /usr/include/libcamera/ipa/ipa_module_info.h /usr/include/libcamera/libcamera /usr/include/libcamera/libcamera/bound_method.h /usr/include/libcamera/libcamera/buffer.h /usr/include/libcamera/libcamera/camera.h /usr/include/libcamera/libcamera/camera_manager.h /usr/include/libcamera/libcamera/control_ids.h /usr/include/libcamera/libcamera/controls.h /usr/include/libcamera/libcamera/event_dispatcher.h /usr/include/libcamera/libcamera/event_notifier.h /usr/include/libcamera/libcamera/file_descriptor.h /usr/include/libcamera/libcamera/formats.h /usr/include/libcamera/libcamera/framebuffer_allocator.h /usr/include/libcamera/libcamera/geometry.h /usr/include/libcamera/libcamera/libcamera.h /usr/include/libcamera/libcamera/logging.h /usr/include/libcamera/libcamera/object.h /usr/include/libcamera/libcamera/pixel_format.h /usr/include/libcamera/libcamera/property_ids.h /usr/include/libcamera/libcamera/request.h /usr/include/libcamera/libcamera/signal.h /usr/include/libcamera/libcamera/span.h /usr/include/libcamera/libcamera/stream.h /usr/include/libcamera/libcamera/timer.h /usr/include/libcamera/libcamera/version.h /usr/lib /usr/lib/aarch64-linux-gnu /usr/lib/aarch64-linux-gnu/pkgconfig /usr/lib/aarch64-linux-gnu/pkgconfig/camera.pc /usr/lib/aarch64-linux-gnu/v4l2-compat.so
also:
$ dpkg-query -L libcamera0 | grep -v usr\/share /. /usr /usr/lib /usr/lib/aarch64-linux-gnu /usr/lib/aarch64-linux-gnu/gstreamer-1.0 /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstlibcamera.so /usr/lib/aarch64-linux-gnu/libcamera /usr/lib/aarch64-linux-gnu/libcamera/ipa_proxy_linux /usr/lib/aarch64-linux-gnu/libcamera/ipa_rkisp1.so /usr/lib/aarch64-linux-gnu/libcamera/ipa_rpi.so /usr/lib/aarch64-linux-gnu/libcamera/ipa_vimc.so /usr/lib/aarch64-linux-gnu/libcamera.so.0.1.0 /usr/lib/aarch64-linux-gnu/libcamera.so.0

I can be wrong too, but when compiling libcamera-apps you should also use libcamera from soure compil.
The source code is much further.

From the documentation, you could try setting CMAKE_MODULE_PATH to /usr/lib/aarch64-linux-gnu/libcamera/ explicitly.  I'm not sure why find-package does not locate the library, it could be something specific in the Ubuntu distribution.

You might get a more detailed answer if you post this query in their support forums as well.

I did compile, and installed (as root) libcamera, and now I am able to compile - somewhat - libcamera-apps.
Thank you.


WIP: Resource pages for DS4OS book

Implement functionality for issue #17

Please review & try it... it should be sufficient for now.
If OK, then merge & deploy please.

Please review & try it... it should be sufficient for now.
If OK, then merge & deploy please.


Fix bug in windigo_signatures.pl

There was a bug when I run this script related f option.

Can't call method "f" on an undefined value at

I found out that f is an option and have to use with -. So I changed all from f to -f in the code.
And fixing typo, from $dssh to $bssh.
I checked this script works.
Would you please check this commit?

Actually, f is defined in the original script, it's not -f.
I won't be supporting and accepting pull requests to that file.
See #7


ci: Remove lint rule invariant_booleans

The rule is deprecated, and is scheduled for removal in a future version of Dart linter: https://dart-lang.github.io/linter/lints/invariant_booleans.html

Oh I opened #2287 as well, will close that in a bit in favor of this, tho we should update the title as this is a change on a package and not just CI related

@spydon can we do a minor release for this package? AudioPlayers depends on this and this makes the CI fail :)


Add dojo-chess as example project

Up to this point, dojo-chess has been using a dependency on dojo with a remote link, so the version isn't updated automatically. Since this project is also referenced in the Dojo book, it's vital to keep the project updated as the dojo version updates.
Currently, dojo-chess supports the latest nightly, which uses the StorageSize trait instead of SerdeLen. However, I've noticed that there's an ongoing PR #877 that aims to transition from this part to SchemaIntrospection.
Therefore, I've created this PR to add the dojo-chess dependency directly from the dojo code (placing it within the examples). This seems especially relevant given the frequent changes at the moment. Feel free to give opinion about this suggestion :)
If this PR will merge, also edit Dojo book at relevant part.

close this cus opened #1064


Broken Link to NanoServer example Dockerfile

The link to the NanoServer example Dockerfile at the bottom of the document leads to an error:
The 'dotnet/dotnet-docker' repository doesn't contain the 'src/sdk/2.1/nanoserver-1909/amd64/Dockerfile' path in 'main'.

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

ID: c1a1a7bd-e5cd-aa5a-c21a-196cfbce495c
Version Independent ID: c89f33c7-6572-38ad-6a53-9cb6ed610c1d
Content: Windows Container Base Images
Content Source: virtualization/windowscontainers/manage-containers/container-base-images.md
Product: windows-server
Technology: windows-containers
GitHub Login: @mattbriggs
Microsoft Alias: mabrigg

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Select element rendering twice

Hello, I am using select element with filterrific and it is rendered twice:

It happens once I do the $('select').material_select(); and I don't really know what's going on.
The haml code looks like (same for the other select):
.input-field
    = f.select :with_status, @filterrific.select_options[:status_for_select]
    = f.label 'Status'

Might be that the material_select() fn is doing something weird?

@elbecita I'm not aware about haml can you share a HTML version of this through code pen may be?

Looks like your own CSS is causing it to show the original select when it should be hidden.


New verify and create functions are needed for NamespaceMerkleTreeInclusionProof.

A new verify function is needed to verify a single share via a NamespaceMerkleTreeInclusionProof defined in celestia-specs.
This function should take (i) a NMT root of type namespace.IntervalDigest, (ii) a hash function of type hash.Hash, (iii) a proof of type NamespaceMerkleTreeInclusionProof and (iv) a share of type Share, and output a boolean and an error that is (true, nil) if the share is committed by the NMT root inside the NMT and the proof of type NamespaceMerkleTreeInclusionProof is correct.
Similarly, a new create function is needed to create a NamespaceMerkleTreeInclusionProof. This function should take the index of the Share inside the NMT and output the NamespaceMerkleTreeInclusionProof corresponding to the share.

What is wrong with the existing verify method? I think this was implemented even before the spec defined this.
https://github.com/celestiaorg/nmt/blob/1d72cffd9fb40ecea93660be2e19ca3c1ecea53f/proof.go#L209

This function should take (i) a NMT root of type namespace.IntervalDigest

Note that this type got removed as per #48.

Similarly, a new create function is needed to create a NamespaceMerkleTreeInclusionProof. [...]

Similarly, what is wrong with:
https://github.com/celestiaorg/nmt/blob/1d72cffd9fb40ecea93660be2e19ca3c1ecea53f/nmt.go#L122

NamespaceMerkleTreeInclusionProof as defined in celestia-specs is different from the proof of type Proof that is currently defined. @evan-forbes and I were actually thinking that NamespaceMerkleTreeInclusionProof as defined in the specs should be changed to match the existing Proof struct rather than writing two new functions and defining a new proof struct matching the specs. This should be discussed with @adlerjohn who has written the spec.

I think what is missing in the specs is a range proof for the whole namespace which is needed for what is called application proofs in the LL paper.
IMO, implementation-wise it does not make much sense to then implement the single inclusion proof not as a range proof then as well (with start, end = i, i+1, the range including one leaf only).
This is also related: https://github.com/celestiaorg/celestia-specs/issues/48

Is the requested modification in this issue still required?

I don't think so. cc @evan-forbes for confirmation


How to do clean model.forward() with tensor input and tensor output with TensorRT-LLM?

similar issue here: https://github.com/NVIDIA/TensorRT-LLM/issues/158
The ModelRunner defined here seems to only have a generate function, which includes so many complicated operations defined here: https://github.com/NVIDIA/TensorRT-LLM/blob/main/tensorrt_llm/runtime/generation.py  , with no clean model.forward()
What if I simply want to use TensorRT-LLM to do a simple model forward, with simple input tensor, and get simple tensor output logits? Just like this

We don't have such example now. You could get logit here https://github.com/NVIDIA/TensorRT-LLM/blob/main/tensorrt_llm/runtime/generation.py#L2238-L2261.

Hi @brisker, please try model unit test here https://github.com/NVIDIA/TensorRT-LLM/blob/main/tests/model/test_llama.py. I think this probably can meet your needs.
@byshiue You can assign thsi issue to me.

@StudyingShao
there are three forward in the file you mentioned.
first : https://github.com/NVIDIA/TensorRT-LLM/blob/main/tests/model/test_llama.py#L114   --------this is just for build trt-network
the rest two:
https://github.com/NVIDIA/TensorRT-LLM/blob/main/tests/model/test_llama.py#L301
https://github.com/NVIDIA/TensorRT-LLM/blob/main/tests/model/test_llama.py#L381
------ these two are just huggingface model forward, not trt-llm-engine forward

Hi @brisker , Tensorrt-LLM uses Tensorrt as inferencing framework. The usage differs from PyTorch which is used by HuggingFace.
There is no explicit model.forward() in Tensorrt-LLM, but you can utilize
https://github.com/NVIDIA/TensorRT-LLM/blob/main/tests/model/test_llama.py#L360-L365
to achieve the same functionality.


[Android] Quick Action always requires device to be unlocked on Android 12

On Android 12+, quick actions are created with NotificationPendingIntent.createIntent which uses PendingIntent.getActivities
https://github.com/invertase/notifee/blob/f78a56518b1fe0dab060e96c2a1f145e41b7363a/android/src/main/java/app/notifee/core/NotificationPendingIntent.java#L89-L94
According to Android documentation, a notification action that launches an activity requires the user to unlock their device.

If a notification action causes an app to launch an activity or send a direct reply, users must unlock the device before the app can invoke that notification action.

In this example from Android's documentation for creating a "Snooze" action, they're using PendingIntent.getBroadcast, which executes the snoozing without launching the activity, and doesn't require the user to unlock their phone.
Intent snoozeIntent = new Intent(this, MyBroadcastReceiver.class);
snoozeIntent.setAction(ACTION_SNOOZE);
snoozeIntent.putExtra(EXTRA_NOTIFICATION_ID, 0);
PendingIntent snoozePendingIntent =
        PendingIntent.getBroadcast(this, 0, snoozeIntent, 0);

NotificationCompat.Builder builder = new NotificationCompat.Builder(this, CHANNEL_ID)
        .setSmallIcon(R.drawable.notification_icon)
        .setContentTitle("My notification")
        .setContentText("Hello World!")
        .setPriority(NotificationCompat.PRIORITY_DEFAULT)
        .setContentIntent(pendingIntent)
        .addAction(R.drawable.ic_snooze, getString(R.string.snooze),
                snoozePendingIntent);

A potential solution here may be to use BroadcastReceiver for quick actions that are not launching an activity? (i.e. have launchActivity and getMainComponent set to null) For my use case, I would like the user to be able to Snooze a notification, or "Mark as complete" without needing to unlock their phone.
P.S. Not sure if this is related but I've also noticed pressing any quick action automatically closes the notification drawer, even if I have autoCancel set to false, and launchActivity is null. This makes it harder for users to go through a list of notifications and press the "archive" action on each one since it keeps closing the drawer after each action.

This has not been fixed yet

I assume this is still relevant since there's not been a new release of Notifee since it was raised (haven't got time to check the behaviour directly right now, sorry! 🙏 )

most likely still relevant then yes - still working my way to the surface to give this repo the polish it deserves but getting closer

Not stale

Not stale

still persists

Need this for silent action triggers without opening the app itself.

Not stale

not stale

still persists

Not stale

I don't believe this is stale but I've not had a chance to check it in the latest Notifee releases

Let's see if my pin label and stalebot-ignore-pin-label config changes work here...


Smart range select [feature request]

It would be great to have the following options for the range picker:
smartMonthSelect: boolean // If the first of the month is selected, the end date is automatically selected as the last day of that month.
smartWeekSelect: boolean // If weekStart is selected, the end date is set to the end of that week. This could also be the default behavior when clicking on the week number, if that option is enabled.
addXDays: number, // When a start date is selected it automatically sets the end date, x number of days forward.

I am also need it ,it seem no complect it

If weekStart is selected, the end date is set to the end of that week. I think it is necessartion.so when could be ok?


Add <7b> to the list of merchants

What's the name of your business?
7b crypto broker app
What's the URL of the website?
https://sevenb.io/
Write a brief description of your business/service (max 50 characters)
7b is a crypto broker app with easy-to-use interface
Enter the URL where a Monero mention can be found

https://drive.google.com/drive/folders/1Eshds0nk7_sx4emmRKGB6YPpehiU1qIT?usp=sharing
How do you accept Monero? (choose only one option)

[ ] Monero integrations (github.com/monero-integrations)
[ ] Globee
[+] Native wallet
[ ] Other payment gateaway (Coinpayments, Morphtoken, etc. Please specify)

How would you categorize your business? (choose only one option)

[+] Exchange
[ ] Block Explorer
[ ] Payment Gateway
[ ] Web Hosting
[ ] Tool
[ ] Service
[ ] Goods
[ ] Entertainment

Comment

Add new merchant

PR: #1669.
According to the stricter rules we are adapting when it comes to listing exchanges, i would reject this merchant, but @selsta voiced interest in adding them (see the PR). So it's up to core to decide (@luigi1111).

My comment wasn't in regards of accepting / rejecting this merchant, just that a screenshot is okay as proof that monero is accepted inside an app. If you have different rules for this then ignore my comment.
I don't know anything about this merchant

@selsta @erciccione Hello!
Could you please send me your TG addresses? I will describe you our app and answer all of your questions about it!)

Here is mine - https://t.me/Michael_7b.
Looking forward contacting with you!

Sorry, I don't have Telegram and I don't think I can judge this.

In that case whom can I talk about it?
@luigi1111, can you contact me via TG?

we've already released Monero page on our web-site - https://sevenb.io/currencies/monero.

Guys?

@MichaelSelge. We recently decided to list less exchanges on getmonero and only if they fulfil our requirements. Sadly, your exchange does not for now. Please come back after you'll be more established.
Rejected.


One release late

Hi,
When I release it seems has a release late.. If I deploy the current folder has the good symlink to realeases/<release_id> But the code executed continue to be this of the prev release, if I execut
php bin/console cache:clear -e prod
to clear the cache, the cache is cleared but the code executed is always the one of the prev release.
If I remove all folders of releases directory except the last one, everything is cool, the code executed is the good one...
Anybody have the same problem ?
I use the Symfony3 recipe.
Thanks :)

Sounds like php opcode cache isn't being refreshed.  Are you reloading php-fpm or apache / nginx?

@pdbreen No I don't reload php or Nginx, I will try for the next deploy.
Thanks :)

This is the solution to this problem ! I reload php-fpm after each deploy.
Thanks @pdbreen :)


MahApps.Metro 1.3.x is huge, can we split the icons from the dll?

This was my primary comment, which was for "MahApps.Metro.Resources", please read the second...
Just out of curiosity, after installing the "MahApps.Metro.Resources" nuget package, both Icons.xaml and IconsNonShared.xaml are active and compiled into the final .exe. This blows the size of a simple application with 2x 1MB. On top of that, I assume that only one of each icon is active...  probably undefine which, is this behaviour known? I can't find much documentation on the IconsNonShared.xaml, besides in #2440 and it's not described somewhere I should manually disable this.
What steps will reproduce this issue?
Install MahApps.Metro.Resources nuget package 0.6.1, build application
Expected outcome
After compiling I want to have the icons once, this should increases the .exe size with ~1MB.
--
Environment

MahApps.Metro.Resources 0.6.1
Windows 7
Visual Studio 2015 Update 3
.NET Framework 4.6.1

I can live with it, just disabling the one I don't need, but there might be many people who don't notice what happened.
Thanks for the cool product.

After spending some time with your product, I noticed that in the pre-release a lot has changed.
I like the way the icons are done, this really solve a lot of issues.
BUT the size of MahApps.Metro.dll went from 919KB to 4691KB, which is extreme especially as most applications only use a few. I was considering this project for the next Greenshot version, but the DLL is about 3x as big as the complete application... which would be no go.
Are there any solutions to the size issue, or any plans to at least split the icon from the main library?

@Lakritzator I think no go's are bugs or something else, but yes, the icons will be outsourced https://github.com/MahApps/MahApps.Metro/issues/2580

The no-go is not for MahApps, but for the decision if I will use MahApps in Greenshot.
It doesn't make MahApps bad, it just wouldn't fit to our requirements by increasing the application size 4x for a UI library.
Thanks for the quick answer, I think I didn't find the ticket as I was looking for the wrong keywords.
Closing this, #2580 covers my question!!!!
Thanks again!

I will follow the progress of #2580, as the decision to split doesn't answer how it's split :smile:


flutter clean times out on Runner.xcworkspace clean

Steps to Reproduce

find a mac os machine
install flutter
flutter test
flutter clean
see it times out (after running for 5 hours)

Please see this run for more details:
https://github.com/tianhaoz95/photochat/runs/494113600?check_suite_focus=true#step:8:9
Expected results:
It should cleans up the build in less than 5 minutes
Actual results:
It gets stuck and never returns.

Hi @tianhaoz95
I tried run the commands with your project. It worked fine
% flutter test
% flutter test
00:33 +10: All tests passed!
% flutter clean
Cleaning Xcode workspace...                                         4.4s
Cleaning Xcode workspace...                                         5.8s
Deleting build...                                                   79ms
Deleting .dart_tool...                                               4ms
Deleting Generated.xcconfig...                                       3ms
Deleting flutter_export_environment.sh...                            1ms
Deleting App.framework...                                            6ms
%

Provide please you flutter doctor -v.
 It could be some missing cache?

It should happen to users I would say. Maybe mark as fixed.

oh wait, actually it happened again:
Flutter 1.12.13+hotfix.8 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 0b8abb4724 (4 weeks ago) • 2020-02-11 11:44:36 -0800
Engine • revision e1e6ced81d
Tools • Dart 2.7.0

[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.15.3 19D76, locale en)
    • Flutter version 1.12.13+hotfix.8 at /Users/runner/hostedtoolcache/flutter/1.12.13-hotfix.8-stable/x64
    • Framework revision 0b8abb4724 (4 weeks ago), 2020-02-11 11:44:36 -0800
    • Engine revision e1e6ced81d
    • Dart version 2.7.0

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/runner/Library/Android/sdk
    • Android NDK at /Users/runner/Library/Android/sdk/ndk-bundle
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/runner/Library/Android/sdk
    • Java binary at: /Users/runner/hostedtoolcache/jdk/12.0.2/x64/bin/java
    • Java version OpenJDK Runtime Environment Zulu12.3+11-CA (build 12.0.2+3)
    ✗ Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed instructions.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode_11.3.1.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C505
    • CocoaPods version 1.9.0

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/setup/#android-setup for detailed instructions).

[!] Connected device
    ! No devices available

! Doctor found issues in 3 categories.

also can be found here: https://github.com/tianhaoz95/photochat/runs/498772895?check_suite_focus=true#step:5:9
the full run is here: https://github.com/tianhaoz95/photochat/runs/498772895?check_suite_focus=true

The findings are: running flutter --version && flutter doctor -v right before flutter clean resolves the timeout. However, running it before flutter pub get && flutter test won't.

It would be helpful to know what it's stuck on.
Can you try reproducing with flutter clean --verbose?  I can't seem to expand any of your CI logs.

@jmagman  looks like it's flaky somehow, when I add --verbose it doesn't timeout any more: https://github.com/tianhaoz95/photochat/actions/runs/53369063

here it happened again with the log from --verbose:
2020-03-14T07:41:10.7131130Z flutter clean --verbose
2020-03-14T07:41:10.7267290Z shell: /bin/bash -e {0}
2020-03-14T07:41:10.7267480Z env:
2020-03-14T07:41:10.7267640Z   JAVA_HOME: /Users/runner/hostedtoolcache/jdk/12.0.2/x64
2020-03-14T07:41:10.7267890Z   JAVA_HOME_12.0.2_x64: /Users/runner/hostedtoolcache/jdk/12.0.2/x64
2020-03-14T07:41:10.7268150Z   FLUTTER_HOME: /Users/runner/hostedtoolcache/flutter/1.12.13-hotfix.8-stable/x64
2020-03-14T07:41:10.7268310Z ##[endgroup]
2020-03-14T07:41:11.1889470Z [  +41 ms] executing: [/Users/runner/hostedtoolcache/flutter/1.12.13-hotfix.8-stable/x64/] git -c log.showSignature=false log -n 1 --pretty=format:%H
2020-03-14T07:41:11.2216850Z [  +47 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
2020-03-14T07:41:11.2218570Z [        ] 0b8abb4724aa590dd0f429683339b1e045a1594d
2020-03-14T07:41:11.2227500Z [        ] executing: [/Users/runner/hostedtoolcache/flutter/1.12.13-hotfix.8-stable/x64/] git describe --match v*.*.* --first-parent --long --tags
2020-03-14T07:41:11.2322570Z [   +9 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
2020-03-14T07:41:11.2323440Z [        ] v1.12.13+hotfix.8-0-g0b8abb472
2020-03-14T07:41:11.2428860Z [  +10 ms] executing: [/Users/runner/hostedtoolcache/flutter/1.12.13-hotfix.8-stable/x64/] git rev-parse --abbrev-ref --symbolic @{u}
2020-03-14T07:41:11.2503920Z [   +7 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
2020-03-14T07:41:11.2504250Z [        ] origin/stable
2020-03-14T07:41:11.2508070Z [        ] executing: [/Users/runner/hostedtoolcache/flutter/1.12.13-hotfix.8-stable/x64/] git ls-remote --get-url origin
2020-03-14T07:41:11.2576880Z [   +6 ms] Exit code 0 from: git ls-remote --get-url origin
2020-03-14T07:41:11.2577400Z [        ] https://github.com/flutter/flutter.git
2020-03-14T07:41:11.3283810Z [  +70 ms] executing: [/Users/runner/hostedtoolcache/flutter/1.12.13-hotfix.8-stable/x64/] git rev-parse --abbrev-ref HEAD
2020-03-14T07:41:11.3369000Z [   +8 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
2020-03-14T07:41:11.3369290Z [        ] stable
2020-03-14T07:41:11.3449340Z [   +7 ms] executing: sw_vers -productName
2020-03-14T07:41:11.3607770Z [  +15 ms] Exit code 0 from: sw_vers -productName
2020-03-14T07:41:11.3608260Z [        ] Mac OS X
2020-03-14T07:41:11.3609860Z [        ] executing: sw_vers -productVersion
2020-03-14T07:41:11.3768330Z [  +15 ms] Exit code 0 from: sw_vers -productVersion
2020-03-14T07:41:11.3768670Z [        ] 10.15.3
2020-03-14T07:41:11.3770130Z [        ] executing: sw_vers -buildVersion
2020-03-14T07:41:11.3928610Z [  +15 ms] Exit code 0 from: sw_vers -buildVersion
2020-03-14T07:41:11.3928890Z [        ] 19D76
2020-03-14T07:41:11.4188230Z [  +25 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
2020-03-14T07:41:11.4188960Z [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
2020-03-14T07:41:11.4189560Z [        ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
2020-03-14T07:41:11.4190840Z [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
2020-03-14T07:41:11.4192390Z [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
2020-03-14T07:41:11.4193290Z [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
2020-03-14T07:41:11.4194820Z [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
2020-03-14T07:41:11.4195520Z [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
2020-03-14T07:41:11.4197040Z [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
2020-03-14T07:41:11.4198090Z [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
2020-03-14T07:41:11.4200300Z [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
2020-03-14T07:41:11.4201120Z [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
2020-03-14T07:41:11.4201860Z [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
2020-03-14T07:41:11.4203500Z [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
2020-03-14T07:41:11.4204270Z [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
2020-03-14T07:41:11.4205220Z [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
2020-03-14T07:41:11.4206320Z [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
2020-03-14T07:41:11.4207360Z [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
2020-03-14T07:41:11.4208630Z [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
2020-03-14T07:41:11.4209520Z [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
2020-03-14T07:41:11.4210510Z [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
2020-03-14T07:41:11.4211710Z [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
2020-03-14T07:41:11.5174600Z [  +95 ms] executing: /usr/bin/xcode-select --print-path
2020-03-14T07:41:11.5252720Z [   +8 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
2020-03-14T07:41:11.5253010Z [        ] /Applications/Xcode_11.3.1.app/Contents/Developer
2020-03-14T07:41:11.5266800Z [   +1 ms] executing: /usr/bin/xcodebuild -version
2020-03-14T07:41:11.6539700Z [ +125 ms] Exit code 0 from: /usr/bin/xcodebuild -version
2020-03-14T07:41:11.6549310Z [   +1 ms] Xcode 11.3.1
2020-03-14T07:41:11.6549560Z            Build version 11C505
2020-03-14T07:41:11.6614010Z [   +6 ms] Cleaning Xcode workspace...
2020-03-14T07:41:11.6713330Z [   +7 ms] executing: [/Users/runner/runners/2.165.2/work/photochat/photochat/photochatapp/ios/] /usr/bin/xcodebuild -list
2020-03-14T07:41:13.6919670Z [+2023 ms] Information about project "Runner":
2020-03-14T07:41:13.6919960Z                Targets:
2020-03-14T07:41:13.6920120Z                    Runner
2020-03-14T07:41:13.6920220Z
2020-03-14T07:41:13.6920380Z                Build Configurations:
2020-03-14T07:41:13.6920550Z                    Debug
2020-03-14T07:41:13.6922360Z                    Release
2020-03-14T07:41:13.6923030Z                    Profile
2020-03-14T07:41:13.6923140Z
2020-03-14T07:41:13.6924210Z                If no build configuration is specified and -scheme is not passed then "Release" is used.
2020-03-14T07:41:13.6924410Z
2020-03-14T07:41:13.6924580Z                Schemes:
2020-03-14T07:41:13.6924740Z                    Runner
2020-03-14T07:41:13.6939770Z [   +2 ms] executing: [/Users/runner/runners/2.165.2/work/photochat/photochat/photochatapp/] /usr/bin/xcodebuild -workspace /Users/runner/runners/2.165.2/work/photochat/photochat/photochatapp/ios/Runner.xcworkspace -scheme Runner -quiet clean
2020-03-14T07:41:15.0396110Z [+1345 ms] Exit code 0 from: /usr/bin/xcodebuild -workspace /Users/runner/runners/2.165.2/work/photochat/photochat/photochatapp/ios/Runner.xcworkspace -scheme Runner -quiet clean
2020-03-14T07:41:15.0536520Z [  +14 ms] Cleaning Xcode workspace... (completed in 3.4s)
2020-03-14T07:41:15.0547990Z [   +1 ms] Cleaning Xcode workspace...
2020-03-14T07:41:15.0555090Z [        ] executing: [/Users/runner/runners/2.165.2/work/photochat/photochat/photochatapp/macos/] /usr/bin/xcodebuild -list
2020-03-14T07:41:16.2564030Z [+1200 ms] Information about project "Runner":
2020-03-14T07:41:16.2564370Z                Targets:
2020-03-14T07:41:16.2564540Z                    Runner
2020-03-14T07:41:16.2564710Z                    Flutter Assemble
2020-03-14T07:41:16.2564830Z
2020-03-14T07:41:16.2564990Z                Build Configurations:
2020-03-14T07:41:16.2565580Z                    Debug
2020-03-14T07:41:16.2566500Z                    Release
2020-03-14T07:41:16.2566730Z                    Profile
2020-03-14T07:41:16.2566850Z
2020-03-14T07:41:16.2567880Z                If no build configuration is specified and -scheme is not passed then "Release" is used.
2020-03-14T07:41:16.2567990Z
2020-03-14T07:41:16.2568160Z                Schemes:
2020-03-14T07:41:16.2568380Z                    Flutter Assemble
2020-03-14T07:41:16.2568650Z                    Runner
2020-03-14T07:41:16.2571560Z [   +1 ms] executing: [/Users/runner/runners/2.165.2/work/photochat/photochat/photochatapp/] /usr/bin/xcodebuild -workspace /Users/runner/runners/2.165.2/work/photochat/photochat/photochatapp/macos/Runner.xcworkspace -scheme Flutter Assemble -quiet clean
2020-03-14T07:41:17.5370640Z [+1279 ms] Exit code 0 from: /usr/bin/xcodebuild -workspace /Users/runner/runners/2.165.2/work/photochat/photochat/photochatapp/macos/Runner.xcworkspace -scheme Flutter Assemble -quiet clean
2020-03-14T07:41:17.5376160Z [        ] executing: [/Users/runner/runners/2.165.2/work/photochat/photochat/photochatapp/] /usr/bin/xcodebuild -workspace /Users/runner/runners/2.165.2/work/photochat/photochat/photochatapp/macos/Runner.xcworkspace -scheme Runner -quiet clean
2020-03-14T13:39:11.7324370Z ##[error]The operation was canceled.
2020-03-14T13:39:11.7634880Z Cleaning up orphan processes
2020-03-14T13:39:11.8471990Z Terminate orphan process: pid (2615) (dart)
2020-03-14T13:39:11.8552430Z Terminate orphan process: pid (2600) (bash)
2020-03-14T13:39:11.8624060Z Terminate orphan process: pid (2203) (adb)

Link to the run: https://github.com/tianhaoz95/photochat/pull/46/checks?check_run_id=507442591#step:9:9

Interesting, it cleared your "Flutter Assemble" workspace but got stuck on Runner.

Will this PR resolve the issue when it makes it to dev/stable channel?

Will this PR resolve the issue when it makes it to dev/stable channel?

No, https://github.com/flutter/flutter/pull/52860 is just to pipe the verbose flag into xcodebuild clean to help debugging issues like yours.
flutter tooling forks out to xcodebuild for various things, and if your CI machine hangs forever on those commands then I'm not sure what to do about that.  This is the only report I've ever seen of xcodebuild clean taking so long and including it in clean has mitigated a lot of Xcode caching bugs for Flutter users.  Maybe the VM is under-resourced?
As a workaround, you can make your own clean script to run instead that deletes the same files and directories, but skips the Xcode workspace clean.
https://github.com/flutter/flutter/blob/a61bff2fcf6c9f5ba9f76947c43e050bfc2bae38/packages/flutter_tools/lib/src/commands/clean.dart#L45-L59

I'm also involved in this situation and all my flutter projects can't be launched, even the Xcode as well, is there now any way to fix it?

Sounds like your Xcode installation is messed up, perhaps trying uninstalling and reinstalling it?  If you can't open Xcode, create a new vanilla iOS project (without Flutter), and launch it, then Flutter doesn't have a chance of working since it's using the same Xcode tooling under the covers.

I just have reinstalled my Xcode and try the flutter clean, but still get stuck in Cleaning Xcode workspace... ,so confused, I wonder when excuting Cleaning Xcode workspace... ,what it is actually cleaning? can I clean these by myself? (maybe delete something)

10000+s, sad...

I'm facing the same issue, is there any progress on this issue?

I'm facing the same issue, is there any progress on this issue?

Enable --verbose when doing flutter clean and share the output.
Check that your xcode scheme are well named.


Strange failure in LOBPCG::Solve()

Summary
I'm experiencing a rather strange and elusive failure coming from LOBPCG::Solve().
In particular, the failure seems to be related to global state.
Error Output
Verification failed: (!err_flag) is false:
 --> Error during setup! Error code: 256
 ... in function: virtual void mfem::HypreSolver::Setup(const mfem::HypreParVector&, mfem::HypreParVector&) const
 ... in file: linalg/hypre.cpp:4034

--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 1.

You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------

Details
In the example code below, there are two functions:

compute_displacement() uses HyprePCG (with HypreBoomerAMG)
compute_eigenmodes() uses HypreLOBPCG (also with HypreBoomerAMG)

The failure occurs when both of those functions are called, and in the order above.
When only one of them is called, or when they are called in the opposite order, the failure does not occur.
Code to Reproduce
Branch to reproduce on v4.7:
https://github.com/mkovaxx/mfem/compare/v4.7...mkovaxx:mfem:repro_lobpcg_failure_v4.7?diff=unified
Branch to reproduce on v4.6:
https://github.com/mkovaxx/mfem/compare/v4.6...mkovaxx:mfem:repro_lobpcg_failure_v4.6?diff=unified
Full Output
lambda: 5.76923e+06
mu: 3.84615e+06
lambda: 5.76923e+06
mu: 3.84615e+06

Solving generalized eigenvalue problem with preconditioning

block size 4

No constraints

Initial eigenvalues lambda   3.79302383078058e+13
Initial eigenvalues lambda   3.89623303887343e+13
Initial eigenvalues lambda   3.91561107726615e+13
Initial eigenvalues lambda   3.97535155522287e+13
Initial residuals 3.406481e+10
Initial residuals 3.440591e+10
Initial residuals 3.485123e+10
Initial residuals 3.551760e+10

Verification failed: (!err_flag) is false:
 --> Error during setup! Error code: 256
 ... in function: virtual void mfem::HypreSolver::Setup(const mfem::HypreParVector&, mfem::HypreParVector&) const
 ... in file: linalg/hypre.cpp:4034

--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 1.

You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------

Oh, I forgot to show the output from HyprePCG. If you set the print level to 2 you'll see something like the following:
Iters       ||r||_C     conv.rate  ||r||_C/||b||_C
-----    ------------    ---------  ------------
    1    1.271104e+01    0.352495    3.524955e-01
    2    8.832897e+00    0.694900    2.449490e-01
    3    7.863157e+00    0.890213    2.180567e-01
    4    8.976724e+00    1.141618    2.489375e-01
    5    1.362136e+01    1.517408    3.777399e-01
    6    2.003127e+01    1.470578    5.554961e-01
    7    2.660074e+01    1.327960    7.376768e-01
    8    3.975854e+01    1.494641    1.102562e+00
    9    6.636014e+01    1.669079    1.840263e+00
   10    1.159455e+02    1.747216    3.215337e+00
   11    2.300191e+02    1.983855    6.378761e+00
   12    4.887783e+02    2.124947    1.355453e+01
   13    1.047534e+03    2.143167    2.904962e+01
   14    1.937653e+03    1.849729    5.373392e+01
   15    3.640353e+03    1.878743    1.009522e+02
   16    5.574089e+03    1.531195    1.545775e+02
   17    1.089281e+04    1.954186    3.020732e+02
   18    2.003481e+04    1.839270    5.555943e+02
   19    3.519839e+04    1.756861    9.761022e+02
   20    6.173170e+04    1.753822    1.711909e+03
   21    1.249866e+05    2.024675    3.466059e+03
   22    3.542020e+05    2.833919    9.822532e+03
   23    5.163013e+05    1.457647    1.431778e+04
   24    6.401169e+05    1.239813    1.775137e+04
   25    1.049374e+06    1.639347    2.910064e+04
   26    1.989593e+06    1.895982    5.517429e+04
   27    3.340518e+06    1.678996    9.263740e+04
   28    6.956915e+06    2.082586    1.929253e+05
   29    4.618615e+07    6.638883    1.280809e+06

I believe PCG is stopping because the errors are growing so rapidly.
Best wishes

@mlstowell This is really helpful, thank you for the detailed explanation! :)
Is there a way to detect these errors early through the public hypre API that doesn't depend on internals such as hypre_error_flag?
Seems like the Solve() methods returning the error code would be a backwards-compatible way for users to detect these errors early. The return type is void right now, so changing that to int wouldn't break existing code.
What do you think?
By the way, I found the mistake in my compute_displacement() code that made the solve diverge... 😅
It had the following erroneous line:
a_form.FormLinearSystem(dirichlet_bdr_marker, ...);

Changing that to the following resolves the problem:
a_form.FormLinearSystem(ess_tdof_list, ...);

I think the fact that a lot of semantically different things (such as boolean attribute marker arrays, DoF lists, etc.) all use the same Array<int> type is pretty error-prone. Seems like this could be mitigated by introducing "strong" type aliases for these semantically different things, e.g. making them thin structs that wrap an Array<int>.

HI, @mkovaxx,
I'm glad you tracked down the solve issue.
For detecting such errors I would recommend looking at the IterativeSolverMonitor, see ex19p for one way to use it. I have not used this class myself so I'm not familiar with its requirements and limits. If you don't want the residuals printed to the screen at every time step you could use a monitor to print them under certain circumstances. This could be used to detect divergent or stagnated solves. It doesn't look like the monitor could halt the solve (although I could have missed this) but at least it could send a warning of some sort.
Regarding the return type from Solve. I can see where that could be useful but the Solver class, which introduces this member function, is an abstract class used for both iterative and direct solvers. It may not be obvious how to distill the various possible error conditions down to a useful return value. This is worth discussing with the team.
I like your idea of using strongly typed arguments to some of these error prone functions. This is certainly a breaking change but it's something we could incorporate in the next major release. I'll try to bring this up with the team as well. If you would be interested in starting a "Discussion" on this matter that would be very helpful.
Best wishes,
Mark

@mlstowell Thanks for the thoughtful response! I'll look into IterativeSolverMonitor to see if that helps.
And yes, I'll start the discussion on tightening type safety around semantically different uses of Array<int>.
Have a productive week! :)


External Resource Health Check Scheduled Jobs

We should periodically check if links to external services are still valid.
For example, Anilist has deleted some links since our initial seeding, resulting in a 404 when the link is clicked from AnimeThemes.
In my opinion, this should be a scheduled job in the console kernel with an underlying action that can be executed in other contexts like within the REPL.

@Luky72069 Done. Feel free to reach out on Discord/Reddit if you need anything.


footer seems to not be completely functional in all resolutions

Describe the bug
As mentioned in #342

@Idrinth I can take this up.


Improve "invalid reference" error message

Use the same error message as is used in docker/reference/reference.go to provide slightly more information about the error.
Relates to https://github.com/docker/docker/issues/25599
ping @dmcgowan ptal

Current coverage is 52.75% (diff: 100%)

Merging #1900 into master will decrease coverage by 10.09%

@@             master      #1900   diff @@
==========================================
  Files           120        120
  Lines         10586      10586
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           6654       5585   -1069
- Misses         3060       4263   +1203
+ Partials        872        738    -134

Powered by Codecov. Last update 9000745...30b4138

ping @aaronlehmann updated the PR; removed the t.Skip() again, and just commented-out the failing test-case, adding a FIXME.

LGTM

LGTM


Instances of the Typogragphy class don't supply a font size.

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
Generate an instance of Typography
final typography = Typography.material2021();
Access a member text style of the instance.
final style = typography.black.displayLarge;
Access its fontSize
print(style.fontSize); // Null
Expected results
Text Styles are assigned their correct Material font size when created by an instance of the Typography class.
Actual results
Font size is null.
If there's a reason why Typography should not set this, then I'd like some kind of utility class to access these sizes, as it would be very useful for creating consistent theming for my app :)
Code sample
Code sample
class MyCustomTheme {
  static ThemeData getTheme() {
    int seedColor = 0xFF5D6CBD;

    ColorScheme cs = ColorScheme.fromSeed(
      seedColor: Color(seedColor),
      primary: Color(seedColor),
    );

    NavigationBarThemeData navigationBarThemeData = NavigationBarThemeData(
      backgroundColor: cs.primary,
      iconTheme: MaterialStateProperty.resolveWith((states) {
        if (states.any((s) => s == MaterialState.selected)) {
          return IconThemeData(color: cs.onPrimaryContainer);
        }
        return IconThemeData(color: cs.surface);
      }),
      labelTextStyle: MaterialStateProperty.all(
        TextStyle(color: cs.onPrimary),
      ),
    );

    AppBarTheme appBarTheme = AppBarTheme(
      backgroundColor: cs.primary,
      titleTextStyle:
          TextStyle(fontSize: 22),
          // I'd prefer to just use Typography().black.titleLarge but
          // fontSize isn't supplied until after the theme is created.
    );

    return ThemeData(
      useMaterial3: true,
      colorScheme: cs,
      navigationBarTheme: navigationBarThemeData,
      appBarTheme: appBarTheme,
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
-- NA
Flutter Doctor output
Doctor output
Flutter 3.10.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision f468f3366c (4 weeks ago) • 2023-07-12 15:19:05 -0700
Engine • revision cdbeda788a
Tools • Dart 3.0.6 • DevTools 2.23.1
    ~/dev/r/serealv2design    main !1  flutter doctor -v                                          ✔
[✓] Flutter (Channel stable, 3.10.6, on Manjaro Linux 6.1.41-1-MANJARO, locale en_GB.UTF-8)
    • Flutter version 3.10.6 on channel stable at /home/tduff/dev/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f468f3366c (4 weeks ago), 2023-07-12 15:19:05 -0700
    • Engine revision cdbeda788a
    • Dart version 3.0.6
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /home/tduff/Android/Sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /opt/android-studio/jbr/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Linux toolchain - develop for Linux desktop
    • clang version 15.0.7
    • cmake version 3.27.0
    • ninja version 1.11.1
    • pkg-config version 1.8.1

[✓] Android Studio (version 2022.3)
    • Android Studio at /opt/android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] Connected device (2 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64 • Android 14 (API 34) (emulator)
    • Linux (desktop)              • linux         • linux-x64   • Manjaro Linux 6.1.41-1-MANJARO

[✓] Network resources
    • All expected network resources are available.

Of course the size is correctly set once the theme data has been applied to the app, but by then I can't actually use it to help create my themes. Would love it if this could be considered for a slight refactor to allow for this workflow, or info on what I'm doing wrong :)

Hi @TDuffinNTU
I see the fontSize is null with default Typography.material2021() as well. But if I set a value via copyWith(), it returns the expected result:
    final typography = Typography.material2021();
    final style = typography.black.displaySmall?.copyWith(fontSize: 20);
    print(style?.fontSize ?? 0);    // output 20

Of course the size is correctly set once the theme data has been applied to the app, but by then I can't actually use it to help create my themes.

If above way is not what you are looking for, can you please share a complete and minimal sample code for this case?

Take the code example I supplied above.
In order to modify the style of textstyles in certain widget themes, for example the AppBar, I need to assign a fontSize (among other things) to the Title's text style otherwise it'll use a default value.
I thought since Typography generates a text theme, it should give me the sizes of these text styles too. But, since all the font sizes for the styles are null I can't use them to fill in the title's text style.
I could just set the sizes manually, and then they'd of course have a size (as your example shows) but then I'd need to manually reference the docs for the font sizes of the text styles which feels a bit weird since if I reference the size of a TextTheme's text style when I fetch it from the build context, it does give a text size.
Let me know if that doesn't make sense. I might be mincing my words here. Thanks :)

As an example of how I would like it to work:
var textTheme = Typography.material2021().black;

var myWidgetTheme = WidgetTheme(
    textStyle = textTheme.displayLarge, // font size is set here so I don't need to figure it out manually!
);

...

var myThemeData = Themedata(
    widgetTheme: myWidgetTheme,
    textTheme: myTextTheme,
    ...
);

I see it now. When using Typography.material2021().black for eg, it will go with a pre-defined theme blackMountainView. But the font size is not declared as it's stated:

"This [TextTheme] provides color but not geometry (font size, weight, etc)"

https://github.com/flutter/flutter/blob/9156f6b5f3aee463400a50eb5b734f18332db7d4/packages/flutter/lib/src/material/typography.dart#L375-L394
I can't find such info in M3 typography specs but consider this as a proposal for more opinions. Thanks!

ThemeData.of() incorporates geometry, like font sizes, into its ThemeData text styles by calling ThemeData.localize(). The geometry is incorporated lazily because its locale-dependent, see Typography.geometryThemeFor(). If you really want to work with textThemes outside of build methods you probably could do the localization step yourself:
ThemeData.localize(theme, theme.typography.geometryThemeFor(category))

Chiming in here...Even having worked on the Dart team, I really don't understand Flutter's philosophy of how to style an app, and that seems like a bigger (design? documentation?) issue that is at the root of this one.
I just ran into this issue because I wanted multiple different ElevatedButton themes in my app, and googled around for best practices, and found someone suggesting to create a MyAppTheme class with a MaterialTheme materialTheme member. (the various button themes then become members of MyAppTheme.) This made overall sense to me, and yet, wasted a ton of my time before I found this github issue because MyAppTheme.materialTheme.textTheme.headlineLarge was null and I had no clue what I was doing wrong.
Peppering a codebase with Theme.of(context).textTheme.copyWith(...) is also highly undesirably to me, and yet, that's what it looks like is the approach used by the material design widgets.
Again, even as an ex Dart team member, I am honestly not sure at all what the preferred approaches are, and if there is documentation on them that I missed, etc. Of course, I also don't know if I am an exception here or more of a typical user.
For now, regardless of best practice etc, I am glad I can call localize myself and that solves my immediate issue. Thanks Hans and Huy!


lua module not found for plugin

I tried to install better-escape.nvim with config=true
I got an error "lua module not found for ..., use config=function() end
is it intended that single file module can't be detected?

That should be automatically detected. Did it not work for some reason?

the plugin was detected with a dev pattern but the local folder had a different name

so the plugin wasn't even found

ok, got it, so all good :)
I did just fix an issue where you'd get a not found error, instead of an error related to loading the module. But probably not related to this.

no most likely not
the issue could be fixed by renaming the folder
haven't updated lazy since I did open this issue


proposal(tab): component inside md-tab but outside mat-tab-body-content

Bug, feature request, or proposal:
proposal?
What is the expected behavior?
Create an area to put some content inside the md-tab but outside the mat-tab-body-content
What is the current behavior?
Everything you put inside a md-tab will be inside the mat-tab-body-content and cannot have a fixed position
What is the use-case or motivation for changing an existing behavior?
I have a scenario with a page that uses tabs to show many "subpages". In this scenario, I need to show a content that is contextual to the selected tab but needs to have a fixed position on the page. If I set position: fixed to this element, as the mat-tab-body-content has a transform: translate3d(0px, 0px, 0px), the component looses it's "fixed" behaviour.
If you look at this Plunker and scroll down the page, you'll see that the "fixed" content inside the tab is scrolled within it.
Which versions of Angular, Material, OS, browsers are affected?
2.0.0-beta-3
Is there anything else we should know?
For now, the way I found to solve this is to create the component outside the tab, and render it based on the selectedIndex of the md-tab-group, but I think this solution is really poor as my parent component needs to know the behaviour of my internal component and if someone change my tabs (let's say create a new tab on the beginning) all of my tab indexes will change.
I don't know if the explanation above was really clear but if you have some doubt just ask me.

This is also interesting for md-card-actions inside a md-tab, when those actions are based on the currently active tab. I'm not sure but I think I had that problem a few times in my app.
I can provide I plunkr if it's not clear what I mean :)

I believe nav-tabs might be what you want here.

Agreed that this sounds like you want some nav-tabs rather than the tab-group

@andrewseguin & @amcdnl
Can you provide a link to nav-tab please ? I can't find it...

@andrewseguin & @amcdnl
Can you provide a link to nav-tab please ? I can't find it...

https://material.angular.io/components/tabs/examples the lowest example


Implement list.index

Sorry, forgot the lock, plz don't review now.
Ready for review.

WIP.

Updated, but don't refactor the common codes in list.index / list.remove.
I modified the seqFindFisrt, and let it returns the first position where it found the element, but got a deadlock, like which we found in other PR.
Should we add a new function, and don't convert it to a seq, or just keep them just like now?

Right, I was thinking that you'd need a new function in seq.go, something like:
// seqFindElem returns the index of the element in elems that is equal to o, or -1 if no element is equal.
seqFindElem(f *Frame, elems []*Object, o *Object) (int, *BaseException)

Updated.

Updated.

Ready for review again.

Updated.


kasada is not working with

const { Agent } = require('@ulixee/unblocked-agent');

(async () => {
  const agent = new Agent({
    // browserEngine: new Chrome113(),
    options: {
      showChrome: true,
    },
  });
  agent.hook({
    onNewBrowser(browser) {
      browser.engine.launchArguments.push('--no-startup-window', '--disable-background-networking');
    },
  });
  const page = await agent.newPage();
  await page.goto('https://www.canadagoose.com/us/en/trillium-parka-heritage-6660L.html');
  await page.waitForLoad('PaintingStable');

  // const outerHTML = await page.mainFrame.outerHTML();
  // const title = await page.evaluate('document.title');
  // const intro = await page.evaluate(`document.querySelector('p').textContent`);
  // console.log(title)
  // await agent.close();
})();

Your setup seems to not include any of the plugins that make the browser look like a consumer browser. You might find it easier to use Hero, which automatically included both the default browser emulator and the human emulator.

i told u i will come back)
lack of examples how to use extensive way, like using agent with default browser emulation and different browsers
example provided is nothing, hard to implement,not all super coders) show how to use power of unlocked, that the way
and expose cdp and how is cast postmessage events??

@pashkasan yeah, this library is not well documented because it's kind of an internal system for Hero (https://github.com/ulixee/hero) (https://ulixee.org/docs/hero). It's meant to be a super-coder library if you want to get low level. Ideally, would love to document it so it can be usable too, but it's hard to use without the niceties of Hero, so it's not currently a high priority.

i can send u private codes of puppetter, how to catch not popup but css popups many sites use it now and lock screen

for sure u need more usabale example how to use power of your project to emulate real user, ua and etc this will grow community and codefor sure  more coders MORE POWER

for sure u need more usabale example how to use power of your project to emulate real user, ua and etc this will grow community and codefor sure more coders MORE POWER

Ah, yes. Would be very helpful. Are you using low level Agent? Not Hero? There's a little more documentation on Hero (although we could certainly use more)

Flow handlers, i  read this article, but not find solution to my question
how to handle event in nodejs
ie window.addEventListener('message', e => {console.log('ev', e);});

for sure u need more usabale example how to use power of your project to emulate real user, ua and etc this will grow community and codefor sure more coders MORE POWER

Ah, yes. Would be very helpful. Are you using low level Agent? Not Hero? There's a little more documentation on Hero (although we could certainly use more)

yes, low level for now, tried you project several times, no luck, but looking to use it with agent, not hero i think it overloaded with command center

what i need = low cpu profile, raw cdp for some moments, browser emulator u implemented with great mitm

Flow handlers, i read this article, but not find solution to my question
how to handle event in nodejs
ie window.addEventListener('message', e => {console.log('ev', e);});

Flow Handlers were an answer to your comment about css popups. If you want to run raw javascript on the page, you would just use page.evaluate("window.addEventListener('message', e => {console.log('ev', e);});")

what i need = low cpu profile, raw cdp for some moments, browser emulator u implemented with great mitm

If you'd like help, maybe the best option is to connect on Discord. I understand your desire to have better documentation on Agent. I'm not sure Agent is going to have a smooth user experience in the near-term though, as almost all of our dom handling is on the Hero side.

yes, but need to catch in nodejs soft
pptr
    const listenForPageEvent = function (page, type) {
        log('listenForPageEvent init for ', page.url());
        return page.evaluate(type => {
            window.addEventListener(type, e => {

                window.onMessageReceivedEvent({
                    type,
                    event: e.data,
                    origin: e.origin
                });
            });
        }, type);
    };

    await page.exposeFunction('onMessageReceivedEvent', e => {

        let event = e.event;

        switch (event) {

	got it

i will do

Your setup seems to not include any of the plugins that make the browser look like a consumer browser. You might find it easier to use Hero, which automatically included both the default browser emulator and the human emulator.

Hey, both of them didnt work...
for ref, I tried using my computer@work , and it did work
but when for example trying to go to nike.com and "add cart" they do some how detect that its a virtualised thing
kasada is really impresive I think they have some interesting way to detect fingerprints

Your setup seems to not include any of the plugins that make the browser look like a consumer browser. You might find it easier to use Hero, which automatically included both the default browser emulator and the human emulator.

Hero fails to emulate ,
also nike.com "Add cart" is failing hard too not that I care much, its just a point that ulixee is being detected somehow
imo you can make a lot of money if you can figure out what they do , and sell your own bot protection and not have many attacks know...
anyways, about kasada, they say that they want to make "Attacking too costly" and "waste attacker resources"
in their blogs.. you may be interested


Project contribution requires PRO fontawesome license

Describe the bug
Running yarn install fails, when you don't have fontawesome PRO account
To Reproduce
Steps to reproduce the behavior:

Clone project 'https://github.com/bancorprotocol/webapp.git bancor-webapp'
Run yarn install
401 Unauthorized error is thrown because of fontawesome PRO dependencies

Expected behavior
All dependecies are installed correctly
Additional context
I think the app should use free dependencies if Bancor team wants other Devs to help them out.
If this is somehow impossible, then at least provide some information in readme about above requirement.

We are aware and plan to migrate away from font awesome

We are aware and plan to migrate away from font awesome

Is there a task for this ? There are tons of libs with icons, but https://heroicons.com/ is one of my favourite ones.


Rename application to edrlab-desktop

In package.json rename app readium-desktop to edrlab-desktop

Also in nodeExternals.js:
https://github.com/readium/readium-desktop/blob/26f2fdae1becdc70638a39dd4e96f76dff0786df/nodeExternals.js#L114
( https://github.com/readium/readium-desktop/blob/master/nodeExternals.js#L114 )

Also TypeScript config path/alias (and all the TS code imports):
https://github.com/readium/readium-desktop/blob/26f2fdae1becdc70638a39dd4e96f76dff0786df/tsconfig.json#L14
( https://github.com/readium/readium-desktop/blob/master/tsconfig.json#L14 )

Also in all the webpack.config.* files where the aforementioned readium-desktop path/alias are used.

Rename alias from "readium-desktop" to "app"


Use new map image

Issue

close #ISSUE_NUMBER

Overview (Required)

Links

Screenshot

Before
After

Sorry, we should use a new image for iOS release!!! 🍎


Reduce handler size in some ActiveJob cases, and fix deserialization inconsistency

This should address #23.
The issue here is that some ActiveJob-enqueued jobs would include the @job ivar in their serialized handler, which is redundant with @job_data and only existed for memoization purposes. We can use Ruby's encode_with API to ensure that we only encode @job_data into the handler.
Including @job also had the side-effect of causing DeserializationErrors and permanently failing jobs in cases where there would otherwise be a retryable NameError. Whether a missing constant should result in a DeserializationError is kind of a separate question, but since ActiveJob's stance seems to be to encode the class name as a string and only .constantize it inside of the perform, I think that it's not surprising behavior to let the NameError (and subsequent retries) occur. DeserializationError is really supposed to be only for cases where we fundamentally can't even attempt the job and allow the normal pattern of exception-handling to occur.

/no-platform


Use files of package.json instead of npmignore

Currently this package have .babelrc file, it will broken my build.

released in 4.0.0


Don't create controller every time when route changes

My controller do some ajax calls and I don't want to do this calls every time. Also controller may have state that will be lost.

Maybe this helps you: http://lhorie.github.io/mithril-blog/put-your-controllers-on-a-diet.html

@xlaywan another neat little trick which will ensure controllers only ever execute once, then persist: http://jsbin.com/sinobu/1/edit?js,output

@barneycarroll, Yeah, I used similar hack)
As I understood, I made mistake of saving the state inside controller instead of model(i'd create model within controller).


(One UI) "Immersive" vs "Full screen" differences (and possibly a way to control this?)

I'm not quite sure how this works, but certain apps trigger a "full screen" mode that is distinct from immersive mode. These apps are usually media apps or games, and this mode blocks gesture navigation from working if the nav/gesture/task bars are hidden, instead showing them the first time you attempt the gesture, and allowing the gesture to function as usual if you repeat it within the short window of time that the bottom bars are visible. This functions this way, even if the status bar is not hidden, and additionally, apps that do not have this property do not behave this way, even if both the status bar and nav bar are hidden. As such, this is distinct and unrelated to immersive mode (which also makes details about this nearly impossible to search for, since almost everyone conflates the two).
Interestingly, from what I can tell, this isn't a hard-coded property of the apps themselves, but rather a system-level status that apps can trigger at-will. For instance, Samsung Browser by default does not trigger this state, but if you navigate to YouTube and play a video (you may also need to put the video into full screen at least once, but you can leave full screen immediately after), the state will be triggered (and some time after the video is stopped, the state seems to be disabled, but this seems to take a bit of waiting). Also, Good Lock modules seem to have a way of changing the behavior of this as well. The Home Up module contains a toggle that allows bottom gestures (home/recents) to work in full screen apps, and the NavStar module has a setting to allow the back gesture to function as well.
What I'm wondering is if SystemUI Tuner might be able to control this state somehow. I'd love for it to be enabled in all apps, similarly to how I can force immersive mode to be enabled in most apps, mainly because it allows you to reliably pull up the taskbar while in immersive mode, without accidentally triggering a home or recents gesture.

That sounds a lot like BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE?
https://medium.com/swlh/modifying-system-ui-visibility-in-android-11-e66a4128898b
Though I guess after https://github.com/aosp-mirror/platform_frameworks_base/commit/a9b8fa272c737f9e9af81b2fa3f70d7530976d03 screwed the old tricks some kind of workaround might be needed.


Error reproduce experiments

Hello,
I am not sure if I should reproduce experiments by this command, I just want to run some tests in ghost paper, so I tried this:
➜  scripts git:(main) ✗ bazel run centralized_queuing cfs
INFO: Analyzed target //experiments/scripts:centralized_queuing (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target //experiments/scripts:centralized_queuing up-to-date:
bazel-bin/experiments/scripts/centralized_queuing
INFO: Elapsed time: 0.588s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
INFO: Build completed successfully, 1 total action
Running CFS experiments...
mount: /dev/cgroup/cpu: cgroup already mounted on /sys/fs/cgroup/systemd.
mount: /dev/cgroup/memory: cgroup already mounted on /sys/fs/cgroup/systemd.
Traceback (most recent call last):
File "/root/.cache/bazel/_bazel_root/7433de7b30d6d58a288c26dfb16d43d1/execroot/com_google_ghost/bazel-out/k8-fastbuild/bin/experiments/scripts/centralized_queuing.runfiles/com_google_ghost/experiments/scripts/centralized_queuing.py", line 94, in
app.run(main)
File "/root/.cache/bazel/_bazel_root/7433de7b30d6d58a288c26dfb16d43d1/execroot/com_google_ghost/bazel-out/k8-fastbuild/bin/experiments/scripts/centralized_queuing.runfiles/my_deps/pypi__absl_py/absl/app.py", line 312, in run
_run_main(main, args)
File "/root/.cache/bazel/_bazel_root/7433de7b30d6d58a288c26dfb16d43d1/execroot/com_google_ghost/bazel-out/k8-fastbuild/bin/experiments/scripts/centralized_queuing.runfiles/my_deps/pypi__absl_py/absl/app.py", line 258, in _run_main
sys.exit(main(argv))
File "/root/.cache/bazel/_bazel_root/7433de7b30d6d58a288c26dfb16d43d1/execroot/com_google_ghost/bazel-out/k8-fastbuild/bin/experiments/scripts/centralized_queuing.runfiles/com_google_ghost/experiments/scripts/centralized_queuing.py", line 86, in main
RunCfs()
File "/root/.cache/bazel/_bazel_root/7433de7b30d6d58a288c26dfb16d43d1/execroot/com_google_ghost/bazel-out/k8-fastbuild/bin/experiments/scripts/centralized_queuing.runfiles/com_google_ghost/experiments/scripts/centralized_queuing.py", line 50, in RunCfs
Run(e)
File "/root/.cache/bazel/_bazel_root/7433de7b30d6d58a288c26dfb16d43d1/execroot/com_google_ghost/bazel-out/k8-fastbuild/bin/experiments/scripts/centralized_queuing.runfiles/com_google_ghost/experiments/scripts/run.py", line 523, in Run
SetUp(experiment.binaries)
File "/root/.cache/bazel/_bazel_root/7433de7b30d6d58a288c26dfb16d43d1/execroot/com_google_ghost/bazel-out/k8-fastbuild/bin/experiments/scripts/centralized_queuing.runfiles/com_google_ghost/experiments/scripts/setup.py", line 158, in SetUp
CopyBinaries(binaries)
File "/root/.cache/bazel/_bazel_root/7433de7b30d6d58a288c26dfb16d43d1/execroot/com_google_ghost/bazel-out/k8-fastbuild/bin/experiments/scripts/centralized_queuing.runfiles/com_google_ghost/experiments/scripts/setup.py", line 137, in CopyBinaries
tmp = UnzipPar()
File "/root/.cache/bazel/_bazel_root/7433de7b30d6d58a288c26dfb16d43d1/execroot/com_google_ghost/bazel-out/k8-fastbuild/bin/experiments/scripts/centralized_queuing.runfiles/com_google_ghost/experiments/scripts/setup.py", line 122, in UnzipPar
with zipfile.ZipFile(GetPar(), "r") as zf:
File "/usr/lib/python3.8/zipfile.py", line 1251, in init
self.fp = io.open(file, filemode)
IsADirectoryError: [Errno 21] Is a directory: '/root/.cache/bazel/_bazel_root/7433de7b30d6d58a288c26dfb16d43d1/execroot/com_google_ghost/bazel-out/k8-fastbuild/bin/experiments/scripts/centralized_queuing.runfiles'
Could you please tell me how to fix it?

same error occurs for other tests in scripts dir

Hi,
Does this also happen when you run the par files directly from the project root? Here is an example:
./bazel-bin/experiments/scripts/centralized_queuing.par

Jack

Closing this. Feel free to reopen if you are still having this issue.

Thank you very much for your help, I found another way to solve it.