HPECP brand update

Pre-submission checklist:
Please check each of these after submitting your pull request:

[X] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[X] Is your project closed source or, if it is open source, does your project have at least 300 GitHub stars?
[X] Have you picked the single best (existing) category for your project?
[X] Does it follow the other guidelines from the new entries section?
[X] Have you included a URL for your SVG or added it to hosted_logos and referenced it there?
[X] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[X] Does your project/product name match the text on the logo?
[X] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[ ] ~15 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

Deploy preview for landscape ready!
Built with commit 18936faabe8553f62048189462c0c51e6e3a2289
https://deploy-preview-1760--landscape.netlify.app

LGTM

Hi @joel-bluedata, before we can update the product name on the landscape, please follow the process for changing the name of your Certified Kubernetes product with us. You'll need to fill out a new participation form and open a PR for the name change in the conformance repo.  Let us know if you have any questions! Thanks!

Thanks for the heads-up... sorry about the procedural mistake. I'll find the right folks to handle that and then re-submit.


Auto ticked when started with A1111's WebUI 1.8

It now gets automatically ticked with the starting of the WebUI, and the 'Brightness' will be set to '-1' instead of '0'. Is that a bug?

yes, and the brightness was set to -1 now, but that was set to 0 in previous version, and that was supposed to be 0

Huh. But what could be causing this...? They're indeed set to False and 0 by default.
Can you try moving the ui-config.json file out of the installation folder, see if that does anything? (That file is what the Webui uses to set up the default values of the UIs)

It now gets automatically ticked with the starting of the WebUI, and the 'Brightness' will be set to '-1' instead of '0'. Is that a bug?

Open a1111
Don't do anything, just set the values as you need
Go to Settings -> Defaults

Press View changes, check and press Apply


web console

WIP, preview:

Also enables and test-proof @xmpp/client in the browser

cc @smokku

I'm considering removing the terminal interface in favor of the web interface.
Maintaining both is cumbersome and adding advanced features to the terminal interface is complex.
I'd add a daemon that can run on any machine and have the web interface connect to it so it can be used with c2s TCP, component, later s2s, or any process with an node-xmpp entity running really.
@smokku would you mind?

Sure, go ahead. I have a copy anyway. :)


Does work in iOS 11

Getting wierd navigation issues with iOS 11, doesn’t hide the navbar

Doesn’t work, typo

Doesn't work, would be happy to see this working in iOS 11 too, for large titles.

+1 👍
@iosdevzone


fix: bump edge-runtime to 1.58.1

What kind of change does this PR introduce?
Bump edge-runtime to 1.58.1
BREAKING CHANGE: This PR changes the way eszip is bundled. It should remain in draft status until it is determined to be stable enough.
Changes
1.58.1 (2024-08-29)
Features

version up the Deno codebase to 1.45.2 (#389) (82588d6)

support declarative style fetch handler (#400) (5d4a9b4)

Bug Fixes

deps: bump openssl from 0.10.64 to 0.10.66 (#397) (b27190c)

sb_core: expose web compression/decompression stream API (#398) (14f3f92)

base: connections for inspector sessions should be upgradeable to the websocket (#399) (53061f6)

sb_graph: failed to deserialize in the v1.1 migration phase due to specifying the wrong type (#403) (e41c1b6)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 60.019%

Files with Coverage Reduction
New Missed Lines
%

internal/gen/keys/keys.go
5
12.9%

Totals

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

Covered Lines:
6362

Relevant Lines:
10600

💛  - Coveralls


Enhancement: btn-pill

In the fashion of .badge-pill, adding .btn-pill to .btn

Thanks, but we'll pass on this.


[MM-35700] Accept drag and dropping on a thread view

Summary
Allow users to drag and drop files on a thread while on the CRT Panel
Ticket Link
MM-35700
Release Note

Fixed drag and drop files on a thread while on CRT Panel

No sure about drag-drop overlay taking the fullscreen. IMO overlay should appear only for RHS. Adding @matthewbirtch for UX review.

Agree, the overlay should only take up the thread itself - the same way we do in the RHS when dragging a file in to a thread viewed in the RHS.
For clarity, this is the area where the overlay should be:

Other than that, I think it's good. I'll super glad to get this in!

@matthewbirtch is it ok if the thread's title is not covered by the overlay?

@matthewbirtch is it ok if the thread's title is not covered by the overlay?

It's fine for now if that makes it easier, however that makes it inconsistent with how it works on the RHS

I've been trying to do an easy fix, but it is built differently than the RHS so it is always the full grid or just the cell. So in order to do it properly we'd need to either change it from grid to something else for positioning or do a custom overlay for this case.
but I feel both cases are a bit too much for the gain. So I think it might make sense to leave it as part of the thread cell and have the title out. Let me know your thoughts on it, but if you agree we could send it to QA and merge.

I've been trying to do an easy fix, but it is built differently than the RHS so it is always the full grid or just the cell. So in order to do it properly we'd need to either change it from grid to something else for positioning or do a custom overlay for this case.
but I feel both cases are a bit too much for the gain. So I think it might make sense to leave it as part of the thread cell and have the title out. Let me know your thoughts on it, but if you agree we could send it to QA and merge.

Yep, all good with me

Thanks @Willyfrog
Works great on Thread view.
Seeing one issue with RHS - no longer shows overlay treatment when dragging and dropping a file.

@jgilliam17 should be fixed now


Squircle button decoration

Looking for a button decoration to give it squircle corners (g3 curvature continuity) instead of just rounded corners. Will improve the native look on iOS.

#13914

This looks like a dupe of https://github.com/flutter/flutter/issues/13914.


Board Selection for Configurator

The web configurator is driven by Boards.json, and the activate board is set in .env. The problem is that there's no simple way to have that board set by changing the board configuration files in the main firmware. We could do something at build time to change the .env values, but that seems unnecessary.
Instead, I think we should set that information in the BoardConfig.h file. In the configurator, we should pull that value and use it to determine which board in Boards.json to use.
Then we can reimplement the pin restrictors for the Pico, add a full RP2040 profile for most custom boards that just use every pin, and allow the creation of custom boards for anything that doesn't fit those two.

Hi @jbarket ,
As a note - This project is no longer maintained. Please check out the Community Edition project and post your feature request there. The Community Edition issues section can be found here: https://github.com/OpenStickFoundation/GP2040-CE/issues


Modifier.requiredWidth take only half of required width inside Row

Compose 1.1.1, jvmTarget = 15, win10
So I expected that first and last box will take their size and middle one will grab free space between them and change it's size when Window size changed. And that's ok what middle box get space under last row element but should requiredWidth work like that?
fun main() = application {

    val state = rememberWindowState(size = DpSize(600.dp, 600.dp), position = WindowPosition(Alignment.Center))

    Window(state = state, onCloseRequest = ::exitApplication , title = "MainWindow") {

        Box(Modifier.fillMaxSize()) {

            Row {
                Box(Modifier.width(200.dp).fillMaxHeight().border(4.dp, Color.Red)) {Text("width 200.dp", Modifier.padding(start = 10.dp, top = 10.dp))}
                Box(Modifier.fillMaxSize().border(4.dp, Color.Green)) {Text("fillMaxSize", Modifier.align(Alignment.Center))}
                Box(Modifier.requiredWidth(200.dp).fillMaxHeight().border(4.dp, Color.Blue)) {Text("width 200.dp", Modifier.padding(start = 10.dp, top = 10.dp))}
            }

        }
    }

}

Modifier.weight


copr: Add test for enum/set support on First aggr

Signed-off-by: Xuanwo<EMAIL_ADDRESS>What problem does this PR solve?
Add unit test for enum/set support on First aggr
Check List
Tests

Unit test
Integration test

Release note

/cancel

/rebuild

/run-all-tests


bump<EMAIL_ADDRESS>

Yet another framework update.

Adds a panic catch (that may or may not work, need to see) for this crash: https://fabric.io/we-are-set-inc/ios/apps/io.textile.wallet/issues/5b982b6d6007d59fcd61a83a?time=last-thirty-days
Does not set services like TextileService to nil on Stop()... have a hunch this may be the root cause of a few of these crashes from trying to access de-allocated objects (EXC_BAD_ACCESS KERN_INVALID_ADDRESS)

Wanna try and get this into the store release, so gonna merge -- not a lot to review here anyway.


Large images OoM errors

On 24GB NVIDIA 3090 card if I go ONE(!) pixel above 768 width I get this, what hardware will work for the large image generation?

imagine "a flower" -w 1920 -h 1080
Received 1 prompt(s) and 0 input image(s). Will repeat the generations 1 times to create 1 images.
Generating   1/1: "a flower" 1920x1080px negative-prompt:"Ugly, duplication, duplicates, mutilation, deformed, mutilated, mutation, twisted body, disfigured, bad anatomy, out of frame, extra fingers, mutated hands, poorly drawn hands, extra limbs, malformed limbs, missing arms, extra arms, missing legs, extra legs, mutated hands, extra hands, fused fingers, missing fingers, extra fingers, long neck, small head, closed eyes, rolling eyes, weird eyes, smudged face, blurred face, poorly drawn face, mutation, mutilation, cloned face, strange mouth, grainy, blurred, blurry, writing, calligraphy, signature, text, watermark, bad art," seed:813847340 prompt-strength:7.5 steps:15 sampler-type:k_dpmpp_2m
100%|| 15/15 [00:01<00:00,  7.59it/s]7.84it/s]7.83it/s]                                                                                0%|                                                                                | 0/10 [00:00<?, ?it/s]
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 160.00 MiB (GPU 0; 23.70 GiB total capacity; 4.42 GiB already allocated; 137.38 MiB free; 4.49 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

well that's disappointing. easily works on my 11gb 2090. Can go much larger as well.  You sure nothing else was using gpu at the time? Can you run it outside the imaginairy shell so we get the full stack trace?

do you have xformers installed? 10.0 has xformers as a dependency now.

Take that back - ran now just fine but outputs is ...well a bit underwhelming
https://transfer.sh/H8eoIl/3.jpg

Sphinx at Pyramids of Giza (Egypt), tourist attraction, overlook, perfect light, beautiful, stunning, travel picture

Tried more prompts but it somehow always blurred.

This is the 'regular' output (upscaled).

Related question - most of the time when I use imaginairy the produced jpgs (even upscaled) are small files (40kB), now I get 2048x2048 and about 450kB) with this command - what am I missing?
imagine "Lively sunny landscape of an egyptian village realistic detailed digital art by Maxwell Boas Jessica Rossier Christian Dimitrov Anton Fadeev trending on Artstation CGSociety rendered in Unreal Engine 4k HQ" -w 768 -r5 --upscale --model SD-2.1 --steps 100

Those blurry images look like the "composition" images, not the final image. Something is wrong. I'd like to see the entire terminal output after you run the command to understand better.

The final image is in "generated"

OK, will send soon - why is the filesize in upscaled directory so different for identical prompt on different machines?

I have trouble saving the upscaled image in Python especially - i.e.
prompts = [
ImaginePrompt(pp,
upscale=True,
width=768,
height=512,
init_image=LazyLoadingImage(filepath=room_local),
init_image_strength=0.29,
model="SD-2.1",
steps=80
) ]
    for result in imagine(prompts):
        filename = uuid.uuid4()
        filename_f = f"{filename}.jpg"
        result.save(f"{img_out_folder}/{filename_f}")

Seems to save the smaller image (not upscaled)

Got the full size images to work now. Generated/ Upscaled is the right folder :)

Still struggling to get the Upscaled version extracted with Python :(

Is there any good way to save an upscaled image with Python?
I can see how the Upscaling runs (upscale=True,) but the resulting image saved in Python is not upscaled with the below code. How can I access it? (not a Python aficionado and it works for me in command line)
So far it seems this catches:
for result in imagine(prompts):
# do something
result.save("my_image.jpg")
or
imagine_image_files(prompts, outdir="./my-art")

apologies for not responding sooner. result.images["upscaled"]

I think all questions are answered here. Let me know if otherwise.


Application Exception - Runtime Error

Sorry but, i'm almost finish with my ideas, how to fix this....
I've have Ubuntu 16.04 installation via last script (no Docker and no Mail Server), install run smoothly, everything's ok with setup with web interface, but after rebooting of system I have this error :
Application Exception
Runtime Error
A runtime error has occurred
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed (for security reasons).
and this is only after Restart of machine.... please give me some advise or some points to repair this

Hello @agisofttm I think your mysql server didn't start after reboot, please check status of this service. And you can look at the logs (/var/log/onlyoffice/web.log).

Hello @Carazyda,
Thanks for the points. Everything run smooth now, except OCR Plugin in Document server, but everything is fine. Thanks again.


How do I get object IDs?

Summary
I am trying to learn about this program, and make a few changes for this project I'm working on at school. Right now, I'm trying to change the font on the text tool. I know the API tells me how to manually change things like Font-family and such, but I really can't wrap my head around how to actually do it! Where do i get the correct ID for changeTextStyle(id)? I'm guessing it has something to do with the activeObjectId or something, but I don't know how to find it!
Version
react image editor 3.15.2
Additional context
I'm working in React

@ZuupahGeek
Thank you for the question.
If you use the addText API, you must save the id in the returned Promise.

Oh, I get it now! Thank you for the response!
A follow-up question, if I may! The way I call the addText, I have to make my own instance on a button, for example! Is there a way I can "adjust" the original addText, that is in the node modules, rather than making another one?

@ZuupahGeek
React requires access to the instance and use the API.
I think you can bring an instance to the getInstance API and use it.


Handle proxy getting stuck when upstream stops responding midway

Handle proxy getting stuck when upstream stops responding midway

@googlebot I signed it!

@googlebot I signed it!


Merge index.html and work.html into one page

As we saw during the peer-to-peer review this two pages should be merged into a single html file.

Ok thanks,  It will be fixed in next version today


MySQL full join issue

MySQL doesn’t support full join, maybe as a query builder, it should automatically transform into multiple subjoins ?

Please be more specific. What kind of SQL doesn't work with mysql and what would be equal mysql compatible query? Is there any pitfalls like if there are multiple full joins?
If it can be done in a compatible manner so that returned data matches the data returned for example by postgres full join I don't see any reason why it couldn't be implemented.

.fullOuterJoin() produce full outer join query with dialect set to mysql
however there is no such thing as full outer join in mysql, and it throws syntax error.
The workaround is to use multiple subjoins to replace direct query: full outer join.
If you only notify users of how full outer join is only avaliable in certain sql languages, then it might defeat the purpose of using knex.

The workaround is to use multiple subjoins to replace direct query: full outer join.

Please give an example exactly how will that replacing query be?

If you only notify users of how full outer join is only avaliable in certain sql languages, then it might defeat the purpose of using knex.

There are many places in knex where this is the case. Throwing an error is just fine in that case, but ofcourse if there is a single query which returns the same results for mysql and it is possible to implement, then that would be a better solution. For example sqlite3 multi-insert is transformed query.

i see
full outer join example
basically something like knex.leftJoin().union(builder=>builder.rightJoin())

If there is good integration test that it actually works the same way also with more complex full joins etc. I would happily accept pull request implementing this 👍


any guide doc to run this project?

any guide doc to run this project?

Not yet. There's still a lot that needs to be polished before Saffron is ready for public use. I'm working on this thing full time, and I'm hoping to have an Alpha version ready by the end of the month.

good news


putty app is not working as expected.

Hey bro =D
This distro is amazing, thanks.
I have an issue when trying to connect to any ip using putty, simply nothing happens.
Would you be so kind to take a look ?
Thanks in advance.

Hello! Can you detail me all the steps u did?

Hello! Can you detail me all the steps u did?

Please Close this,  I've fixed it.
Thanks.


[test] GitHub Actions Support for Catloop LibOS

Description
This PR introduces support in GitHub actions for Catloop LibOS

Merging this PR because it concerns changes on the GitHub Actions scripts.


Possible race condition with iOS Firestore and security permissions on new document's sub-collection

I wrote this first here, not knowing if it was my poor choice of permissions approach:
https://stackoverflow.com/questions/52673952/missing-or-insufficient-permissions-on-newly-created-documents-sub-collection
... but since it works on Android and when iOS is offline, I am starting to suspect a bug.

Xcode version: 10.0
Firebase SDK version: 5.9.0
Firebase Component: Firestore
Component version: 0.13.4

The code creates a document then (upon segue) immediately attempts to query/listen to a subcollection of that document, and it fails with a permissions error. Upon immediate retry it works. It works when offline (and it also works with Android.)
Steps to reproduce:

Setup permissions as below
Create a document in /events
Attempt to query/listen to a subcollection /events/{ID}/notes (which does not yet exist.)
Fails with permissions problems
Retry ... and it works (although it still does not exist) but gets updates when added to.

Relevant Code:
// Access granted... via ownership
function accessGranted() {
  return resource.data.userId == request.auth.uid;
}
function accessGrantedTo(container,rootId) {
  return get(/databases/$(database)/documents/$(container)/$(rootId)).data.userId == request.auth.uid;
}

// Events...
match /events/{event} {
  allow read, update, delete: if accessGranted();
  allow create: if request.auth.uid != null;
}
match /events/{event}/notes/{note} {
  allow read, update, delete: if accessGrantedTo("events",event);
  allow create: if accessGrantedTo("events",event);
}

Hey, sorry for the late response on this. This is almost definitely a bug, but it may not be an iOS one. Can you move it over to Firebase Support?


Add CITATION.cff

See https://github.com/cimm-kzn/3D-MIL-QSAR/issues/20

We have multiple citations for TeachOpenCADD, depending on which portion of the platform is being used as described in this section: https://github.com/volkamerlab/teachopencadd#citation
CITATION.cff does not support multiple citations per se, see https://github.com/citation-file-format/citation-file-format/issues/339
We could use CITATION.cff for the code DOI (zenodo) only and hope users still find their way to our citation README section to find out which papers to cite?
For now, provide the paper-based README citation section only. Adding CITATION.cff still up for discussion.


16 Ensure CI execution of Niwot site

Adds an existence check for the test output

problem with the rm -f vs rm is that if the files does not exist it will fail with just the rm command. Seeing that it runs, I can only assume the file will exist.

@robkooper Indeed, I'm not very excited by just rm - but at least in this case, all we want if the file to not exist when the test is run, so if it already doesn't, that's fine.
I'm hoping this is a stop-gap measure before we put a better regression test system in place.


examples: add minimap plugin example

couldn't find a dedicated example so created one.

Coverage remained the same at 76.413% when pulling a29246711d122801dcf6f73c57d99773873c4997 on minimap-example into 76da2dee83519b412e576769dc727e3649173828 on master.


Line Chart error if only one Data point (Cannot read property 'x' of undefined)

If you attempt to render a LineChart with only one point in the dataset, ChartJS throws an error "Uncaught TypeError: Cannot read property 'x' of undefined " The issue exists in the splineCurve helper as there are not two points to compare.
A JS Bin here shows what happens: http://jsbin.com/qodicofoqa/1/edit?html,js,output

Duplicate #509


Do sanity checks in parallel

It could be 8x faster ;-)

That is right. And thanks to the power of D Quote easy to do


Setup the new auto-release CircleCI Release

Description

To adapt the monorepo structure and support auto-release for plugin
The old process

Every time main is updated -> Check if __version__.py is updated, if so trigger a sync job
Check if the version is on PyPI - if not - trigger - Send a POST request to CircleCI to trigger publish_kedro pipeline
Twine for PyPI / Another request for GitHub Release

The Current Flow

Whenever main get updated, it checked if any of the repositories need to do a release (By looping all __version__ and compare to PyPI)
Another CircleCI pipeline is triggered with the pipeline parameter (release_version and release_package) which triggers the build and publish workflow.

Development notes

release_package & release_version replace the release_kedro :True to handle multiple repositories
Refactor and combine a few bash scripts into 1 Python script
Put some documentation back into code about how to create the token
A successful CI build on CCI
[ ] Update documentation on Confluence for plugins

The credential on CCI are token generated on PyPI, I don't know where's the best place to document this information, maybe I will document how I do the testing locally on Confluence.
Extra tips:
I only realise I can trigger a pipeline on main with the UI, which should help you to "unit test" some individual workflow. (So you don't have to make a thousand dummy commits to trigger the job 😅)

Testings are done locally with Personal Token, we have a separate set of tokens saved in CircleCI - some links are written in docstring to guide how to create these tokens.
Checklist

[x] Opened this PR as a 'Draft Pull Request' if it is work-in-progress
[ ] Updated the documentation to reflect the code changes
[ ] Added a description of this change in the relevant RELEASE.md file
[ ] Added tests to cover my changes

No idea why getting PermissionError only on Python3.10 + Windows, @MerelTheisenQB any idea? I remember you have fixed some bug in CI that only fails on Python3.10 + Windows+ before.

E                   PermissionError: Forbidden
../../miniconda/envs/kedro_plugins/lib/python3.10/site-packages/s3fs/core.py:548: PermissionError

Hmm strange.. I think I solved those issues at the time by running tests sequentially instead of in parallel. But it's odd it's just the one test now..

Let's solve this unittest issue for 3.10 separately


767 add option to bias the patch extraction for label sampler -- DRAFT!

Fixes #767
Proposed Changes

"patch_sampler" key in config is now a dict, where multiple options can be passed in (such as "enable_padding", "padding_mode", and so on)
parseConfig updated to include defaults for patch_sampler
added option to ensure class_weights are used to bias the label sampler

Checklist

[x] I have read the CONTRIBUTING guide.
[x] My PR is based from the current GaNDLF master .
[x] Non-breaking change (does not break existing functionality): provide as many details as possible for any breaking change.
[x] Function/class source code documentation added/updated.
[x] Code has been blacked for style consistency.
[x] If applicable, version information has been updated in GANDLF/version.py.
[x] If adding a git submodule, add to list of exceptions for black styling in pyproject.toml file.
[x] Usage documentation has been updated, if appropriate.
[x] Tests added or modified to cover the changes; if coverage is reduced, please give explanation.
[x] If customized dependency installation is required (i.e., a separate pip install step is needed for PR to be functional), please ensure it is reflected in all the files that control the CI, namely: python-test.yml, and all docker files [1,2,3].

@sarthakpati - the OpenFL tests seem to be broken, and need a separate PR (in addition to #772).

This is ready for review, but I am unsure how to proceed WRT the failing OpenFL tests.


Update download doc for v24.08.1 [skip ci]

follow up of https://github.com/NVIDIA/spark-rapids/pull/11352

build

build


Refactor AutoNLP model card to include benchmark name + metadata

PR submitted here: https://github.com/huggingface/autonlp-backend/pull/318


Add support for named colors from Svg Specification v.1.1

Added named colors from section 4.4 Recognized color keyword names in specification https://www.w3.org/TR/SVG/types.html#ColorKeywords

closes https://github.com/praeclarum/NGraphics/issues/47

Nice!!


Fixup The Cross Build of SwiftSyntax

Propagate DCMAKE_Swift_COMPILER_TARGET with the host architecture of the
variant we're trying to build so CMake will forward the correct -arch

which is to say, the triple of the host we're trying to build against,
not the machine that it's building on currently.

Resolves rdar://80383591, SR-14904

@swift-ci smoke test

@swift-ci smoke test

⛵


[UIKit] [details screen] bookmark icon should be filled with white color in the dark mode

Set dark mode in the phone settings
Open Radzima app - > any object on the main page
Select bookmark icon
Actual result: bookmark filled with black color in the dark mode
Expected result: bookmark filled with white color in the dark mode

https://user-images.githubusercontent.com/92754953/182866855-25593c89-6e52-4439-9f1a-b042b702bd27.mp4

@vitali5070 Also, icon is dark on bottom sheet when bookmark is unselected.

Tested on iPhone X (iOS 15.5, build 1.4.2 from TestFlight)


Update changelog.rst

Fix (150) URL typos

Description
Of the +600 links to github in changelog, 150 of them are wrong, which I assume was unintended?
It raises the question: are these links machine inserted?

It raises the question: are these links machine inserted?
I think it comes from https://github.com/litestar-org/polyfactory/blob/0032b5e962906239ecd4c4bd7276dc0d9e9f142d/pyproject.toml#L353

@Alc-Alc I've added a fix as a separate commit

I assume the failing mypy and pyright tests can be ignored, as they seem not to relate to changes made in this PR.


Unify documentation to use @storybook/jest

What Changed
I'm not entirely positive which repo is the correct one, but the code and tests use @storybook/jest, so that's the one I'm guessing is correct.
Checklist
Check the ones applicable to your change:

[ ] Ran yarn update-all
[ ] Tests are updated
[X] Documentation is updated

Change Type
Indicate the type of change your pull request is:

[ ] maintenance
[X] documentation
[ ] patch
[ ] minor
[ ] major

Actually now that I look at the code, maybe it really is @storybook/jest instead...

Actually now that I look at the code, maybe it really is @storybook/jest instead...

Great catch, as always @IanVS ! Thank you so much for the contribution!


feat: Add apply_parallel function to RunGroupBy

A few speed improvements for large groupby operations

Adds the apply_parallel function to  RunGroupBy which parallelises the apply operation
Enable run_append to append DataFrame's formatted  like the result of run.timeseries()

While the use-case of the former is more obvious, being able to append pd.Dataframes often result in fewer calls to scmdata.ScmRun which can be expensive if performed at the bottom of a loop that is performed a lot of times. This arises in the case where the inner function of a groupby operation uses native pandas functionality. Without this optimisation, one must always convert back to an ScmRun object e.g.:
def inner(run: scmdata.ScmRun) -> scmdata.ScmRun:
    return run.process_over("variable", "sum", as_run=True)

res: scmdata.ScmRun = my_data.groupby("region", inner)

But his optimisation would allow for:
def inner(run: scmdata.ScmRun) -> pd.DataFrame:
    return run.process_over("variable", "sum", as_run=False)

res: scmdata.ScmRun = my_data.groupby("region", inner)

which doesn't require the extra conversion from DataFRame -> ScmRun before appending
The diff is quite busy as I added type-hints at the same time. Let me know if you would like me to split out the type hints.
Pull request
Please confirm that this pull request has done the following:

[x] Tests added
[x] Documentation added (where applicable)
[ ] Example added (either to an existing notebook or as a new notebook, where applicable)
[ ] Changelog in '/changelog' added

I've tested the functionality, but not the typing. It would be great if you could take a look

@mikapfl forgot to tag you in the previous comment

I've tested the functionality, but not the typing. It would be great if you could take a look

ndc-quantification type-checks out of the box with this branch. Amazing, I fully expected some fallout, but everything's just fine.

You get some warnings error: Unused "type: ignore" comment  [unused-ignore], because it can now figure out more types! Yay!

Great! I'll get this merged then


Email in Representative Card

@meganrm @nathanmwilliams
Per #78 - removed email icon and wrote out the email in the representative card.
All my programming experience has been in my solo businesses (https://crosswordhobbyist.com and https://mywordsearch.com), and the way I would test my code (releasing to a test domain) was easier for a solo business but doesn't work when working collaboratively.  Could you point me at a tutorial for setting up a test server that I could use to test future changes?  Or do you have some testing set up for Town Hall Project?  This change seemed straightforward, but I wasn't able to test it so I might have missed something.
I'd like to create the contact form from #78 and get rid of the couple other instances of mailto on the site.  If you could help me get testing set up, I'll get started right away.

@JSP64 For webdev stuff your best bet is to use a local server.  Pushing to a remote testing server is a giant PITA once you start making tons of changes.
What OS are you running?  If you want something super quick and easy for mac or pc you can use a standalone server like https://www.cesanta.com/products/binary  It'll work find for this project, but won't work for a traditional LAMP/MEAN stack setup.  If you're on linux then you should probably use apache or nginx.

Thanks for this, a few things:
We are currently working on the development branch, so make PRs in the dev branch and not to master.
For running locally, the firebase tools: firebase serve. The readme has the info on both contributing and running locally.


Please add full text search to the documentation

Adding search to reactrouter.com would significantly reduce time spent looking for the correct function / component

@raed667, Lemme check

@raed667, Bro, can you explain on which page of the docs you mean?
Is it this one, https://reactrouter.com/en/main ??

Yes, it should search all the pages of reactrouter.com.


Cesar dev branch. Debugging and General homogeneous Issing Hamiltonian

This commits implements a general Hamiltonian given a tuple of dimensions (x,y,z), so for a linear chain of 4 atoms in the x direction we call the function Ising_matrix((4,1,1)). This function supports until 12 atoms, more than that an the Hamiltonian matrix becomes too big to be supported for a computer (or the qbraid server).
Also this commits includes the debugs in code that have been already written.

With the last commit the code is able to generate a hamiltonian given only a list of connectivities.


Finalize requirements for user front end including authentication

meeting with Brendan, Mikhail, Humair

@HeatherAck to set up time with Brendan and Mikhail now that Brendan's back from COP27


Updates to the unstable capture/tracing/spoofing API

This is related to the ongoing work on Yukon. This pull request restructures the advanced network diagnostics API (which is marked as unstable) and adds support for capture, tracing, and spoofing for CAN and serial transports. Spoofing for UDP is not yet available because it is not a blocker.
Merging this PR will trigger a release of v1.2.0.b1 (beta).

Pull Request Test Coverage Report for Build 37445808

0 of 0   changed or added relevant lines in 0 files are covered.
83 unchanged lines in 7 files lost coverage.
Overall coverage increased (+0.02%) to 95.373%

Files with Coverage Reduction
New Missed Lines
%

/home/appveyor/projects/pyuavcan/pyuavcan/transport/udp/_ip/_v4.py
1
98.04%

/home/appveyor/projects/pyuavcan/pyuavcan/application/heartbeat_publisher.py
3
90.91%

/home/appveyor/projects/pyuavcan/pyuavcan/transport/can/_can.py
10
93.17%

/home/appveyor/projects/pyuavcan/pyuavcan/transport/serial/_serial.py
11
92.73%

/home/appveyor/projects/pyuavcan/pyuavcan/transport/udp/_udp.py
12
92.06%

/home/appveyor/projects/pyuavcan/pyuavcan/transport/udp/_tracer.py
18
84.35%

/home/appveyor/projects/pyuavcan/pyuavcan/transport/udp/_ip/_link_layer.py
28
82.35%

Totals

Change from base Build 37319472:
0.02%

Covered Lines:
11719

Relevant Lines:
12133

💛  - Coveralls

Pull Request Test Coverage Report for Build 37445808

0 of 0   changed or added relevant lines in 0 files are covered.
83 unchanged lines in 7 files lost coverage.
Overall coverage increased (+0.02%) to 95.373%

Files with Coverage Reduction
New Missed Lines
%

/home/appveyor/projects/pyuavcan/pyuavcan/transport/udp/_ip/_v4.py
1
98.04%

/home/appveyor/projects/pyuavcan/pyuavcan/application/heartbeat_publisher.py
3
90.91%

/home/appveyor/projects/pyuavcan/pyuavcan/transport/can/_can.py
10
93.17%

/home/appveyor/projects/pyuavcan/pyuavcan/transport/serial/_serial.py
11
92.73%

/home/appveyor/projects/pyuavcan/pyuavcan/transport/udp/_udp.py
12
92.06%

/home/appveyor/projects/pyuavcan/pyuavcan/transport/udp/_tracer.py
18
84.35%

/home/appveyor/projects/pyuavcan/pyuavcan/transport/udp/_ip/_link_layer.py
28
82.35%

Totals

Change from base Build 37319472:
0.02%

Covered Lines:
11719

Relevant Lines:
12133

💛  - Coveralls


extensions & tests

New String regex extensions as discussed in #896:
func matches(regex: NSRegularExpression) -> Bool
func replacingOccurrences(of pattern: String, with template: String, range searchRange: Range<String.Index>? = nil) -> String
func replacingOccurrences(of regex: NSRegularExpression, with template: String, range searchRange: Range<String.Index>? = nil) -> String
static func ~= (lhs: String, rhs: NSRegularExpression) -> Bool

Once I get the thumbs up I'll add the changelog.
Checklist

[x] I checked the Contributing Guidelines before creating this request.
[x] New extensions are written in Swift 5.0.
[x] New extensions support iOS 10.0+ / tvOS 9.0+ / macOS 10.10+ / watchOS 2.0+, or use @available if not.
[x] I have added tests for new extensions, and they passed.
[x] All extensions have a clear comments explaining their functionality, all parameters and return type in English.
[x] All extensions are declared as public.
[ ] I have added a changelog entry describing my changes.

          1 Warning

:warning:
The source files have been modified. Please consider adding a CHANGELOG entry if necessary.

          4 Messages

:book:
Thank you for submitting a pull request to SwifterSwift. The team will review your submission as soon as possible.

:book:
iOS: Executed 704 tests, with 0 failures (0 unexpected) in 21.876 (23.276) seconds

:book:
tvOS: Executed 667 tests, with 0 failures (0 unexpected) in 5.781 (6.542) seconds

:book:
macOS: Executed 518 tests, with 0 failures (0 unexpected) in 4.572 (4.842) seconds

  Generated by :no_entry_sign: Danger

OK, I moved replacingOccurrences w/ pattern to StringProtocol. Tests and changelog were updated too.


Possible circular import from ShardedModelV2

🐛 Describe the bug
Running the Examples (language/gpt) worked a few weeks ago, after pulling I now get a circular import error (full trace below).
Thank you for any help. -Kastan
Colossalai should be built with cuda extension to use the FP16 optimizer
If you want to activate cuda mode for MoE, please install with cuda_ext!

train_gpt.py 4 <module>
"train_gpt.py", line 4
> import colossalai

...envs/col_ai_v4/lib/python3.8/site-packages/colossalai/__init__.py 1 <module>"/u/kastanday/.conda/envs/nice_base/envs/col_ai_v4/lib/python3.8/site-packages/colossalai/__init__.py", line 1
> from .initialize import (initialize, launch, launch_from_openmpi,

...s/col_ai_v4/lib/python3.8/site-packages/colossalai/initialize.py 18 <module>"/u/kastanday/.conda/envs/nice_base/envs/col_ai_v4/lib/python3.8/site-packages/colossalai/initialize.py", line 18
> from colossalai.amp import AMP_TYPE, convert_to_amp

.../col_ai_v4/lib/python3.8/site-packages/colossalai/amp/__init__.py 9 <module>"/u/kastanday/.conda/envs/nice_base/envs/col_ai_v4/lib/python3.8/site-packages/colossalai/amp/__init__.py", line 9
> from .torch_amp import convert_to_torch_amp

.../lib/python3.8/site-packages/colossalai/amp/torch_amp/__init__.py 5 <module>"/u/kastanday/.conda/envs/nice_base/envs/col_ai_v4/lib/python3.8/site-packages/colossalai/amp/torch_amp/__init__.py", line 5
> from .torch_amp import TorchAMPOptimizer, TorchAMPModel, TorchAMPLoss

...ib/python3.8/site-packages/colossalai/amp/torch_amp/torch_amp.py 12 <module>"/u/kastanday/.conda/envs/nice_base/envs/col_ai_v4/lib/python3.8/site-packages/colossalai/amp/torch_amp/torch_amp.py", line 12
> from colossalai.nn.optimizer import ColossalaiOptimizer

...s/col_ai_v4/lib/python3.8/site-packages/colossalai/nn/__init__.py 1 <module>"/u/kastanday/.conda/envs/nice_base/envs/col_ai_v4/lib/python3.8/site-packages/colossalai/nn/__init__.py", line 1
> from .layer import *

...ai_v4/lib/python3.8/site-packages/colossalai/nn/layer/__init__.py 7 <module>"/u/kastanday/.conda/envs/nice_base/envs/col_ai_v4/lib/python3.8/site-packages/colossalai/nn/layer/__init__.py", line 7
> from .moe import *

...4/lib/python3.8/site-packages/colossalai/nn/layer/moe/__init__.py 1 <module>"/u/kastanday/.conda/envs/nice_base/envs/col_ai_v4/lib/python3.8/site-packages/colossalai/nn/layer/moe/__init__.py", line 1
> from .experts import Experts, FFNExperts, TPExperts

...v4/lib/python3.8/site-packages/colossalai/nn/layer/moe/experts.py 8 <module>"/u/kastanday/.conda/envs/nice_base/envs/col_ai_v4/lib/python3.8/site-packages/colossalai/nn/layer/moe/experts.py", line 8
> from colossalai.zero.init_ctx import no_shard_zero_decrator

...col_ai_v4/lib/python3.8/site-packages/colossalai/zero/__init__.py 6 <module>"/u/kastanday/.conda/envs/nice_base/envs/col_ai_v4/lib/python3.8/site-packages/colossalai/zero/__init__.py", line 6
> from colossalai.zero.sharded_model.sharded_model_v2 import ShardedModelV2

...python3.8/site-packages/colossalai/zero/sharded_model/__init__.py 1 <module>"/u/kastanday/.conda/envs/nice_base/envs/col_ai_v4/lib/python3.8/site-packages/colossalai/zero/sharded_model/__init__.py", line 1
> from .sharded_model_v2 import ShardedModelV2

.../site-packages/colossalai/zero/sharded_model/sharded_model_v2.py 11 <module>"/u/kastanday/.conda/envs/nice_base/envs/col_ai_v4/lib/python3.8/site-packages/colossalai/zero/sharded_model/sharded_model_v2.py", line 11
> from colossalai.engine.ophooks import register_ophooks_recursively

...l_ai_v4/lib/python3.8/site-packages/colossalai/engine/__init__.py 1 <module>"/u/kastanday/.conda/envs/nice_base/envs/col_ai_v4/lib/python3.8/site-packages/colossalai/engine/__init__.py", line 1
> from ._base_engine import Engine

...v4/lib/python3.8/site-packages/colossalai/engine/_base_engine.py 11 <module>"/u/kastanday/.conda/envs/nice_base/envs/col_ai_v4/lib/python3.8/site-packages/colossalai/engine/_base_engine.py", line 11
> from colossalai.engine.schedule import BaseSchedule, NonPipelineSchedule, PipelineSchedule, InterleavedPipelineSchedule

...ib/python3.8/site-packages/colossalai/engine/schedule/__init__.py 2 <module>"/u/kastanday/.conda/envs/nice_base/envs/col_ai_v4/lib/python3.8/site-packages/colossalai/engine/schedule/__init__.py", line 2
> from ._pipeline_schedule import PipelineSchedule, InterleavedPipelineSchedule, get_tensor_shape

...8/site-packages/colossalai/engine/schedule/_pipeline_schedule.py 15 <module>"/u/kastanday/.conda/envs/nice_base/envs/col_ai_v4/lib/python3.8/site-packages/colossalai/engine/schedule/_pipeline_schedule.py", line 15
from colossalai.utils import switch_virtual_pipeline_parallel_rank
from colossalai.utils.cuda import get_current_device
> from colossalai.zero.sharded_model.sharded_model_v2 import ShardedModelV2

from ._base_schedule import BaseSchedule

def get_tensor_shape():

switch_virtual_pipeline_parallel_rank: <function switch_virtual_pipelin... [66]get_current_device: <function get_current_device at 0x7f69675b0550>

ImportError:
cannot import name 'ShardedModelV2' from partially initialized module 'colossalai.zero.sharded_model.sharded_model_v2' (most likely due to a circular import) (/u/kastanday/.conda/envs/nice_base/envs/col_ai_v4/lib/python3.8/site-packages/colossalai/zero/sharded_model/sharded_model_v2.py)

Environment
Colossal-AI installed from source.
$ pip list

bcrypt             3.2.2
certifi            2022.6.15
cffi               1.15.1
cfgv               3.3.1
charset-normalizer 2.1.0
click              8.1.3
colorama           0.4.5
colossalai         0.1.7
commonmark         0.9.1
cowsay             4.0
cryptography       37.0.4
distlib            0.3.4
fabric             2.7.0
filelock           3.7.1
huggingface-hub    0.8.1
identify           2.5.1
idna               3.3
invoke             1.7.1
nodeenv            1.7.0
numpy              1.23.0
packaging          21.3
paramiko           2.11.0
pathlib2           2.3.7.post1
Pillow             9.2.0
pip                22.1.2
platformdirs       2.5.2
pre-commit         2.19.0
pretty-errors      1.2.25
psutil             5.9.1
pycparser          2.21
Pygments           2.12.0
PyNaCl             1.5.0
pyparsing          3.0.9
PyYAML             6.0
regex              2022.6.2
requests           2.28.1
rich               12.4.4
setuptools         61.2.0
six                1.16.0
tokenizers         0.12.1
toml               0.10.2
torch              1.12.0+cu116
torchaudio         0.12.0+cu116
torchvision        0.13.0+cu116
tqdm               4.64.0
transformers       4.20.1
typing_extensions  4.3.0
urllib3            1.26.9
virtualenv         20.14.1
wheel              0.37.1

$ nvcc --version
...
Cuda compilation tools, release 11.6, V11.6.112

Thanks for your feedback. We have noticed the potential circular import.
How can I reproduce your bug?

Hi @feifeibear,
Here are details to reproduce:
In the GPT language example (ColossalAI/examples/language/gpt), I used a default config (expecting 8 GPUs to be utilized).
python train_gpt.py --host $(hostname | cut -c 1-7) --config gpt2_configs/gpt2_3d.py

To launch Colossal-AI, I used launch_from_slurm() in a 2 node, 4 gpu-per-node HPC environment (that I already setup and ssh-ed into).
For completeness, my full batch script looks like this:
#!/bin/bash -l

#SBATCH --job-name=pdg_viz_gpu
#SBATCH --partition=gpuA40x4
#SBATCH --account=bbki-delta-gpu
#SBATCH --time=4:00:00

#SBATCH --nodes=2
#SBATCH --gpus-per-task=4
#SBATCH --gpus-per-node=4

echo "Starting on hostname: $(hostname | cut -c 1-7)"

# echo " "
echo "  JobID:= " $SLURM_JOB_ID
echo "  Nodelist:= " $SLURM_JOB_NODELIST
echo "  Number of nodes:= " $SLURM_JOB_NUM_NODES
echo "  GPUs per node:= " $SLURM_GPUS_ON_NODE
echo "  CPUss per node:= " $SLURM_CPUS_ON_NODE
echo "  Ntasks per node:= "  $SLURM_NTASKS_PER_NODE
echo "  (this used to be broken, but now worksl) Slurm NPROCS:= "  $SLURM_NPROCS

export DATA=~/colossal_ai/raw_json_backup/train_data_FINAL.json

conda activate col_ai_v4
echo "done activating col_ai_v4"

# colossalai run -host gpub046 --nproc_per_node=4
echo "sleeping 5 secs, waiting for nodes to be ready..."
sleep 5

python train_gpt.py --host $(hostname | cut -c 1-7) --config gpt2_configs/gpt2_3d.py

This was done using a fresh install of Colossal-AI, as of yesterday's status on git.
Any assistance or temporary troubleshooting would be greatly appreciated so I can make use of my short-term access to GPUs. Best, Kastan

Hi @feifeibear any luck with this? Are you able to reproduce it? I'm still facing this with the most recent code in Main. Thanks.

@KastanDay I hope the merged PR will resolve your problem. If the problem still exist, do not hesitate to contact me!

Hi thanks for the merged PR!
Unfortunately, after updating I see the exact same error I initially reported.
To ensure I applied your PR I double-checked it was installed. I pulled main, installed with pip3 install . and re-ran the gpt2 example in examples/language/gpt/train.gpt.py.
Thanks!

I guess you did not uninstall the old version
At the directory of ColossalAI
pip uninstall colossalai && pip install .

pip list | grep colossalai
you can see the version of ColossalAI. For example, my current version is
colossalai                   0.1.8+torch1.10cu11.3

That fixed it! Thanks a million. You were essentiall right, I was just activating an outdated conda environment in my slurm script.
Thanks and goodnight.

At some point, the main branch really has the problem you mentioned.
Thanks for your patience, and we will keep improving the project.


Modified the Request a Parse Error Message

Hi there,
I made a small change to the functionality in Request.jsx
It looks something like this

All I did was use the 'errorText' attribute built into 'TextField' from material-ui.
I also cleared the entered value after submission because the text from the floating label would overlap with the number.
I know this was not listed as an issue, but it was quick and I think it's an improvement to the UI/UX , albeit very small.

I took interest in this project since I know about Yasp, and I think it'd be a solid way for me to learn/practice React. I had no idea you would be redesigning the UI. I'm still in the early stages with React, but I would like to continue contributing.

push your new commit?


The SAVE button on the profile page does not work

Describe the bug
I added a profile image, a background image, an LN address and pressed SAVE
To Reproduce
Steps to reproduce the behavior:
Try it for yourself
Expected behavior
I expected it to save.
Desktop (please complete the following information):

OS: [e.g. iOS]
Chrome on MacOS

possibly related to https://github.com/v0l/snort/issues/173

No feedback on the button that's all, it does work


Add configuration options

withThemeProvider(Provider, {options})

Any chance to ship that in the near future?
I'd love to be able to set the plugin up so that only the selected theme name is passed to ThemeProvider as props, instead of themeObject.


AppDeamon Warnings when starting qolsysgw in Home Assistant

I have installed Qolsys Gateway with HACS.
Location of Install is /homeassistant/appdaemon/apps/qolsysgw and my apps.yaml file is below
qolsys_panel:
  module: gateway
  class: QolsysGateway
  panel_host: ip
  panel_token: token

But when AppDeamon starts I get following warnings, can you please let me know if I am missing a configuration or two ?
023-12-12 06:13:50.391936 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/gateway.py - ignoring
2023-12-12 06:13:50.393177 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/qolsys/utils.py - ignoring
2023-12-12 06:13:50.394080 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/qolsys/exceptions.py - ignoring
2023-12-12 06:13:50.395149 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/qolsys/control.py - ignoring
2023-12-12 06:13:50.396352 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/qolsys/sensors.py - ignoring
2023-12-12 06:13:50.397533 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/qolsys/events.py - ignoring
2023-12-12 06:13:50.399021 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/qolsys/observable.py - ignoring
2023-12-12 06:13:50.399795 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/qolsys/partition.py - ignoring
2023-12-12 06:13:50.401171 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/qolsys/config.py - ignoring
2023-12-12 06:13:50.402107 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/qolsys/state.py - ignoring
2023-12-12 06:13:50.403181 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/qolsys/socket.py - ignoring
2023-12-12 06:13:50.404291 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/qolsys/actions.py - ignoring
2023-12-12 06:13:50.405361 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/mqtt/utils.py - ignoring
2023-12-12 06:13:50.406112 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/mqtt/exceptions.py - ignoring
2023-12-12 06:13:50.407320 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/mqtt/updater.py - ignoring
2023-12-12 06:13:50.408183 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/mqtt/listener.py - ignoring

Hello!
This one shouldn't appear as a warning:
023-12-12 06:13:50.391936 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/gateway.py - ignoring

As it is being loaded as module:
qolsys_panel:
  module: gateway

So this is surprising.
The others are expected as they are files that are used by the application, but AppDaemon expects 1 app = 1 file, which I did not want to do for obvious reasons of code organization.

Oh I see - yeah strange that AppDeamon did not even load gateway.py in that case. Would you know of a workaround ?

Is your apps.yaml located at /homeassistant/appdaemon/apps.yaml ?

Sorry for my late reply - yeah I managed to fix it - new AppDeamon apps.yaml location was the problem.


VsLoadingFn error.

Hi, I got an error when used the VsLoadingFn. The version of alpha is ^0.2.0-beta.39, just install with npm install vuesax-alpha.

<div ref="captchaDom" class="validate-code-image">
    <img :src="captchaCode" @click="getCaptcha" />
</div>

import { ref, reactive, onMounted } from "vue";
import { VsLoadingFn } from "vuesax-alpha";

const captchaCode = ref("");
const captchaDom = ref<HTMLElement>();

onMounted(() => {
  getCaptcha();
});
const getCaptcha = () => {
  const loadingInstance = VsLoadingFn({
    target: captchaDom,
  });
  captcha()
    .then((res) => {
      captchaCode.value = res.data.image;
    })
    .catch((err) => {
      console.log(err);
    })
    .finally(() => {
      loadingInstance.close();
    });
};

And there is an error message: Module '"vuesax-alpha"' has no exported member 'VsLoadingFn'. Did you mean to use 'import VsLoadingFn from "vuesax-alpha"' instead?ts(2614)

Thanks for reporting the error.
I fixed it and released version v0.2.0-beta.40.
Let's try it <3

And there is an error message: Module '"vuesax-alpha"' has no exported member 'VsLoadingFn'. Did you mean to use 'import VsLoadingFn from "vuesax-alpha"' instead?ts(2614)

If you use volar, please add the global component type definition to compilerOptions.types in tsconfig.json.
// tsconfig.json
{
  "compilerOptions": {
    // ...
    "types": ["vuesax-alpha/global"]
  }
}

And there is an error message: Module '"vuesax-alpha"' has no exported member 'VsLoadingFn'. Did you mean to use 'import VsLoadingFn from "vuesax-alpha"' instead?ts(2614)

If you use volar, please add the global component type definition to compilerOptions.types in tsconfig.json.
// tsconfig.json
{
  "compilerOptions": {
    // ...
    "types": ["vuesax-alpha/global"]
  }
}

Thanks. Vuesax is very nice and beautiful UI framework!!!

vs-rate documentation is missing the code example

vs-rate documentation is missing the code example

ok i'll update soon


Balanced tree

Coverage decreased (-0.03%) to 99.921% when pulling ea2fa8f3c74d126ffa82bb7c7d6b2777f2b2e481 on Casey0Kane:balanced-tree into c1988143dbdbc10c1c58c393fcfc4d273931fbad on W-Ely:master.


Add Scotty "hello world" template

This template provides a very basic Scotty application skeleton. The code in Main has been cribbed from the Scotty documentation on Hackage.

@laser Seems good to me. Not to be a pest, but I've found it to be best practice to split out a library from my web applications for the test suite and the like. Would that be "too much" for this template or otherwise not to your taste?

@bitemyapp -
My intent was to limit the number of files produced by this template - but I have no problem splitting things up a little. Does something like:
.
├── app
│   └── Main.hs
├── stuff.cabal
├── src
│   └── Lib.hs
├── stack.yaml

...align with what you were thinking?

@laser more or less, but this template would probably benefit from less noise anyway. It'll match the Scotty example better with only a Main.hs anyway.

@bitemyapp - Sounds good. Thanks for reviewing. Anything further to do on this branch, then (on my end)?

@laser probably not, but do you know why the gitignore files never have terminal newlines? Drives me nuts.

Thanks for the code and the review!


trim whitespace from HTTP header value

fix for issue #487

Thanks for the PR @speedpat -- just one comment on the implementation. :)

Any update on this @speedpat?

replaced by pull request #495


Remove scorecard-check GitHub Action

Resolves #27
Description

Scorecard-CI is specific to OLM. Since we're not using OLM as our install methodology, this check can be removed.
This was already removed in a PR from PCF/CFO

Unfortunately the check is still failing

PR check is currently broken, to be addressed in another PR.
This PR looks good, merging.


Add avif image support

Avif is a new image format that can reduce image sizes by 50% of even WebP image sizes.  Currently supported by Chrome > v85 and will soon have support in other browsers.   This will help to increase performance and minimize asset sizes.
Here's a great write-up about it:
https://jakearchibald.com/2020/avif-has-landed/

Sorry, was cleaning up my branches and didn't realize it was going to auto-close this PR.

Sorry, was cleaning up my branches and didn't realize it was going to auto-close this PR.

Thanks for providing a great 11ty template! I'm happy to contribute 🍻

Thanks for providing a great 11ty template! I'm happy to contribute 🍻

Thank you very much!

Thank you very much!


Service worker: delete index.html from cache in onupdatefound event

Is your proposal related to a problem?

When the service worker in registerServiceWorker.(js|ts ) is enabled it provides very useful PWA benefits.
However, in a production build it also caches the index.html file which references the names & hashes of the outputted JS chunks by the webpack build. When a new build is created, new chunks and hashes are generated, however, the service worker at the client keeps the old index.html and looks for the old chunks, which completely breaks the app as no JS can be obtained.
Describe the solution you'd like
The registration of the service worker in registerServiceWorker.ts already detects new content available from the server and logs a prompt to refresh in the console. In the onupdatefound event here there is an assumption that old content has been purged, when in fact even after closing all tabs and hard reloading I keep seeing this message and when I check the cache in DevTools and the network I see it's coming from the service worker. Other issues can be found here #7121 #4674 #5316 which can't get past this issue as well.
At the event handler as well as the console log of New content is available; please refresh., it would be better if index.html is manually deleted from the cache using the Cache API, the cache key seems to be in the form of workbox-precache-https://mysite.io/.
Describe alternatives you've considered
Turning the service worker off takes away a lot of benefits and PWA functionality, so it's not really an option as proposed in other issues related to this.
Many thanks :)

I'm experiencing same problems last weeks. Service worker cache includes old index.html with references to old assets (js/css).

Hi @ketysek
What I use temporarily is:
const WORKBOX_CACHE_KEY = `workbox-precache-https://${window.location.hostname}/`;

const clearFromCache = async (requests: string[]) => {
  if ('caches' in self) {
    const cache = await caches.open(WORKBOX_CACHE_KEY);
    if (cache) {
      await Promise.all(requests.map(r =>
        cache.delete(r)
      ));

      requests.forEach(r => {
        console.log(`Cache => delete[${r}]`);
      });
    }
  }
}

which I have added to this snippet found here
to produce:
if (navigator.serviceWorker.controller) {
                // At this point, the old content will have been purged and
                // the fresh content will have been added to the cache.
                // It's the perfect time to display a 'New content is
                // available; please refresh.' message in your web app.
                console.log('New content is available; please refresh.');

                clearFromCache(['/index.html']);

              }

However, it runs on every single request for some reason and I am not sure why, since it seems that should only be ran when new content is available.

@dimitar-nikovski I think it's because you clear it from cache but not from service worker ... so with every request service worker ads it again ... and again and so on :-)

@ketysek actually the cache is where workbox stores all of the files under its own workbox-precache-https://${window.location.hostname}/ namespace.
I manged to get it all sorted by adding process.env.BUILD_TIME - new Date() on every build. I did it in ejected config/.env.js, but it can also be done in the webpack define plugin, again when ejected. The hashes of the chunks change on every build anyway, so what I do is then in the above clearFromCache I check the time the file was cached and then if it's before the last build I delete it.

Our project is currently affected by this as well. Wouldn't it be a good default implementation if this was enabled by default? Correct me if I am wrong, but when we deploy the application the bundler creates new bundle names which will break any cached index.html.

This issue should be high priority IMO.
All it takes is for a developer to include serviceWorker.register();, deploying that version, people visiting that version of the site, pushing a new update and now the app is broken for everyone, that previously visited that site. Seems like something really bad!
And the worst part: afaik the serviceWorker can't be easily disabled for people that are already affected by this.

@tobias-tengler agreed about the priority, this has caused me massive pain in production

Soo....?

This issue should be high priority IMO.
All it takes is for a developer to include serviceWorker.register();, deploying that version, people visiting that version of the site, pushing a new update and now the app is broken for everyone that previously visited that site. Seems like something really bad!
And the worst part: afaik the serviceWorker can't be easily disabled for people that are already affected by this.

How has this not been solved yet? It's a major issue.

please fix

Are there any updates on this issue? I dont want to eject my application to fix the issue.

We also made many workarounds. This is really important for a clean solution.
It would be enough to have some function
oldSWCaches.delete('index.html")
Where I am able to call at any place.

If anyone still having this issue, this may help you if it's OK to eject config scripts (hopefully we can modify workbox config without ejecting in the next CRA versions ) :
        new WorkboxWebpackPlugin.GenerateSW({
          // ...
          runtimeCaching: [
            {
              urlPattern: /index\.html/,
              handler: 'NetworkFirst',
              options: {
                networkTimeoutSeconds: 5
              }
            }
          ]
        }),

more info here :
https://developers.google.com/web/tools/workbox/modules/workbox-webpack-plugin#generateSW-runtimeCaching

Does this not mean, that when we have active and waiting service worker, the active one may take immediately the html from the waiting one? Will this not cause errors?

Finally I found a solution, You can chech here at Step 5:
https://dev.to/atonchev/flawless-and-silent-upgrade-of-the-service-worker-2o95
Basically, you need copy the content of the new service worker into the old one.
Cheers!

Would be curious if @jeffposnick has any advice on this. It happens with all of our CRA PWA apps.

import { clientsClaim } from "workbox-core";
import { precacheAndRoute } from "workbox-precaching";
import { NavigationRoute, registerRoute, Route } from "workbox-routing";
import { NetworkFirst } from "workbox-strategies";

clientsClaim();
precacheAndRoute(self.__WB_MANIFEST);

const navigationRoute = new NavigationRoute(
    new NetworkFirst({
        cacheName: "navigations",
    }),
);

const imageAssetRoute = new Route(
    ({ request }) => {
        return request.destination === "image";
    },
    new NetworkFirst({
        cacheName: "image-assets",
    }),
);

registerRoute(navigationRoute);
registerRoute(imageAssetRoute);

finally i found solution about this problem.

import { clientsClaim } from "workbox-core";
import { precacheAndRoute } from "workbox-precaching";
import { NavigationRoute, registerRoute, Route } from "workbox-routing";
import { NetworkFirst } from "workbox-strategies";

clientsClaim();

precacheAndRoute(self.__WB_MANIFEST);

const navigationRoute = new NavigationRoute(
    new NetworkFirst({
        cacheName: "navigations",
    }),
);

const imageAssetRoute = new Route(
    ({ request }) => {
        return request.destination === "image";
    },
    new NetworkFirst({
        cacheName: "image-assets",
    }),
);

registerRoute(navigationRoute);
registerRoute(imageAssetRoute);

finally i found solution.
this code(service-worker.js) is only image cache.(include font)
i dont know.. why font cached


Unable to use command line winxp component

Description
Unable to use command line winxp component, everything worked fine 3 days ago.
If possible, please allow the xp component to exist by default.
Platforms affected

[ ] Azure DevOps
[X] GitHub Actions

Virtual environments affected

[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 10.15
[ ] macOS 11
[ ] macOS 12
[ ] Windows Server 2019
[X] Windows Server 2022

Image version and build link
https://github.com/inaryart/test-actions/runs/7805719506?check_suite_focus=true
Is it regression?
na
Expected behavior
Can successfully install xp components
Actual behavior
Failed to install xp components
Repro steps

local machine
If you have enterprise version vs2022 on your machine you can successfully install xp components using following command:

"C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe" modify --add "Microsoft.VisualStudio.Component.WinXP" --installpath="C:\Program Files\Microsoft Visual Studio\2022\Enterprise" --quiet

Then use the following command dir C:\ProgramData\Microsoft\VisualStudio\Packages to find
Microsoft.Windows.XPSupport.Msi.versionxxxxxxxxxxxxxxxxx

github actions

If executing the same command in github actions does not install correctly
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the workflow will run
on:
  # Triggers the workflow on push or pull request events but only for the "main" branch
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]

  # Allows you to run this workflow manually from the Actions tab
  workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
  # This workflow contains a single job called "build"
  build:
    # The type of runner that the job will run on
    runs-on:  windows-2022

    # Steps represent a sequence of tasks that will be executed as part of the job
    steps:
      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
      - uses: actions/checkout@v3
      - name: Run a multi-line script
        shell: cmd
        run: |
          attrib "C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe"
          "C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe" modify --add "Microsoft.VisualStudio.Component.WinXP" --installpath="C:\Program Files\Microsoft Visual Studio\2022\Enterprise" --quiet
           dir C:\ProgramData\Microsoft\VisualStudio\Packages

Hi @inaryart, thank you, we will take a look.

Hey @inaryart.
I am not able to reproduce the issue:
runs-on: windows-2022
    steps:
      - run: |
          Set-Location "C:\Program Files (x86)\Microsoft Visual Studio\Installer\"
          $InstallPath = "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"
          $componentsToAdd = @(
            "Microsoft.VisualStudio.Component.WinXP"
          )
          [string]$workloadArgs = $componentsToAdd | ForEach-Object {" --add " +  $_}
          $Arguments = ('/c', "vs_installer.exe", 'modify', '--installPath', "`"$InstallPath`"",$workloadArgs, '--quiet', '--norestart', '--nocache')
          $process = Start-Process -FilePath cmd.exe -ArgumentList $Arguments -Wait -PassThru -WindowStyle Hidden
          if ($process.ExitCode -eq 0)
          {
              Write-Host "components have been successfully added"
              Get-ChildItem C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.Windows.XPSupport.*
          }
          else
          {
              Write-Host "components were not installed"
              exit 1
          }

@al-cheb you can check this link of mine, it is not installed https://github.com/inaryart/test-actions/runs/7805719506?check_suite_focus=true

Were you able to reproduce the issue with my code snippet above?

@al-cheb you can check this link of mine, it is not installed https://github.com/inaryart/test-actions/runs/7805719506?check_suite_focus=true

Were you able to reproduce the issue with my code snippet above?

winxp is not installed, check this: https://github.com/inaryart/test-actions/runs/7806411425?check_suite_focus=true

Could you please use my code  snippet that I mentioned in https://github.com/actions/runner-images/issues/6067#issuecomment-1213069040 ?

.WinXP

Please remove test1


Add error scenarios in Diagnostic tool

What this PR does / why we need it:
This PR is to add error scenarios in diagnostic tool.
Which issue(s) this PR fixes (optional, in fixes #(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
None
Special notes for your reviewer:
Tested with K8S cluster deployed in IBM Cloud Kubernetes Service(IKS).

If there is network problem in middle of diagnostic tool execution:
$ ./ibm-cos-diag --pvc-name test-pvc-sample-tls --namespace default --pod-name s3fs-test-pod-diag
****Checking access to cluster****
> nodes are accessible... ok

****ibmcloud-object-storage-plugin pod status****
Unable to connect to the server: net/http: TLS handshake timeout

****ibmcloud-object-storage-driver pods status****
The connection to the server c7.us-south.containers.cloud.ibm.com:25594 was refused - did you specify the right host or port?

****Default storage class list****
The connection to the server c7.us-south.containers.cloud.ibm.com:25594 was refused - did you specify the right host or port?

****Inspecting Storage-class "ibmc-s3fs-standard-cross-region"****
> Unable to inspect storage class... not ok
> Error: The connection to the server c7.us-south.containers.cloud.ibm.com:25594 was refused - did you specify the right host or port?

****ServiceAccounts****
The connection to the server c7.us-south.containers.cloud.ibm.com:25594 was refused - did you specify the right host or port?
The connection to the server c7.us-south.containers.cloud.ibm.com:25594 was refused - did you specify the right host or port?

****ClusterRole****
The connection to the server c7.us-south.containers.cloud.ibm.com:25594 was refused - did you specify the right host or port?
The connection to the server c7.us-south.containers.cloud.ibm.com:25594 was refused - did you specify the right host or port?

****ClusterRoleBinding****
The connection to the server c7.us-south.containers.cloud.ibm.com:25594 was refused - did you specify the right host or port?
The connection to the server c7.us-south.containers.cloud.ibm.com:25594 was refused - did you specify the right host or port?
The connection to the server c7.us-south.containers.cloud.ibm.com:25594 was refused - did you specify the right host or port?

*****Collecting ibm-cos-plugin-diag logs*****

*****Analyzing ibm-cos-plugin-diag logs*****
> No Error

****Collecting provisioner log****
> Provisioner log cannot be fetched... not ok

****Inspecting PVC "test-pvc-sample-tls"****
> Unable to inspect storage pvc... not ok
> Error: The connection to the server c7.us-south.containers.cloud.ibm.com:25594 was refused - did you specify the right host or port?

*****Collecting driver logs*****

****Inspecting POD "s3fs-test-pod-diag"****
> Unable to inspect pod... not ok
> Error: The connection to the server c7.us-south.containers.cloud.ibm.com:25594 was refused - did you specify the right host or port?


After deploy event not fired if using stages

I have custom tasks fired after deploy event. They are set in .rocketeer/events.php.
use Rocketeer\Facades\Rocketeer;
Rocketeer::after("deploy", function($task) {
    Rocketeer::execute("htaccess");
    Rocketeer::execute("dotenv");
});

Everything works ok if I do not use any stages. However if I add something to stages array in .rocketeer/stages.php deployment work ok but the above tasks are not executed anymore.
return array(
	/* 'stages'  => array(), */ /* With this everything works */
	'stages'  => array('staging', 'production'), /* With this tasks are not executed */
	'default' => 'staging'
);

Rocketeer fresh install from http://rocketeer.autopergamene.eu/versions/rocketeer.phar

If you try with Rocketeer::after('deploy', ['htaccess', 'dotenv']) you get the same thing?


Branch 1.6

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

Can one of the admins verify this patch?

@thinkborm can you please close the pull request? Thanks.


fix(docs): link to Stackdriver Error Reporting

Link previously went nowhere, now it goes to product page.
Main docs page is here: https://cloud.google.com/error-reporting/docs/

[x] Appropriate docs were updated

Fixes #422  🦕

@googlebot I signed it!

👋 thanks for the patch @techieshark, we have a template that generates this README.md file, rather than updating README.md, we should update this file:
https://github.com/googleapis/nodejs-logging-winston/blob/master/.readme-partials.yaml
Otherwise, looks good to me 👍 ]

Thanks @bcoe I made a new PR which edits the proper file.


Cannot run my circleci workflow with latest (or older) orb versions

Orb Version
2.0.0
1.1.0
Describe the bug
Everything was working fine I believe 24 hours ago. Today is another day, and the job validate started failing at the init stage as it uses the module_path as an argument and not as the global option -chdir. Some people have noticed that too and two PRs could be fixing this issue I believe.
Because I can't control the TF version to be used with the executor used for the various orb jobs, I am just at the mercy of the terraform orb and terraform:light docker image combo. If the combination is a failing one, so are my workflows.
To Reproduce

Create a workflow
Add the orb job validate to that workflow
run it

Expected behavior
I would expect it to work or give me a chance to set the tag of the docker image used as the executor so that when using an older orb version I can tell it to use the according TF version.

Closing as this has been temporarily fixed in 2.0.1

As this wasn't explicitly called out, we fixed this by locking down our terraform version which we hadn't before today when everything broke...
jobs:
  tf:
    executor:
      name: terraform/default
      image: hashicorp/terraform:0.14.6
     ...


[Suggestion] Change Config.x Files To Show Configuration Icon

I find it quite interesting that when I type Config.js or Config.json, it replaces it with the JS or JSON icon instead of a configuration icon, which would be preferable over the language on files like those. This suggestion is to suggest that the configuration icon shows up over the language for files named config.*.

[x] I'm sure this issue is not a duplicate.

vscode does not support glob for icon themes. When it will, we can discuss this again.

@JimiC We could still dig around it and define global prefixes as a filename.

Still not fond of the idea. After all config.js is a js file and config.json is a json file. If we start with this then we will have to cover all variants of config.*.js and config.*.json filenames.

I think the same way as @JimiC. Anyway, this is something that the user can customize for himself using our custom associations. I wouldn't walk this path because then we should have to cover other different use cases like utils.*  and so on. My vote is negative in this case.

Personally, I would have no use cases for that, but I'm not bothered when this will be implemented.


feat(ui): replace navigation with test explorer

Description

This PR changes the navigation to match the test explorer in VSCode extension:

remove all vue reactivity from ws client files and file ids, only reactivity in state is required: the server will not handle backpressure on the client and so the current version will hang when there are a lot of files and tests (tested with test/core)
use only 1 detail panel in the navigation with a virtual scroll: included useVirtualScroll from VueUse, we need to use another vue library since the tasks will have children (suite/tests...) (with children expanded the VueUse virtual scroll will not handle the height properly)
load files on ws open event, sorting the files received in the initial call, this way we don't need to sort them, sort will be done only once
added setInterval to collect the summary state in composables/test-state.ts (this PR will not use composables/summary.ts): we need to adjust the timeout, we cannot use setTimeout  approach, the server will not handle backpressure and the ui can miss a lot of ticks (check _collect function in composables/test-state.ts)
logic to load file children using just the id and reload the task when the id changes
allow @vitest/ws-client to change the reactivity based on the data (check VitestClientOptions and createClient), the current version will use reactive for all, that's, files, file ids and state
filter by status
TODO: use vue virtual scroller

Maybe we need to move the logic to collect global state to the server, this way the client will just receive the data to be displayed in the ui.

Second run: the server finished and the client still processing incoming data

Second run: the CPU 100%, once server finish only 1 core (without dev tools)

Vitest Browser tests (preview provider)

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[ ] It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
[ ] Ideally, include a test that fails without this PR but passes with it.
[ ] Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.

Tests

[ ] Run the tests with pnpm test:ci.

Documentation

[ ] If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

[ ] Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

Latest changes:

updated the components and removed New** components (ListView should be also removed)
test-state.ts moved to summary.ts
right now we need to manually start the RAF collect loop, I'll try to start/stop when required

There are 2 todos in the code @sheremet-va  :

since we need to start manually in the code the RAF loop, we need to check if the server is still running, for example a page refresh once finished or while running: check if the code here is fine checkFinished
when running some test (one file/test/suite) or just filtering and running, the dashboard will show all the files, whereas in the server we only have the test we run: we can switch the behavior to match the server output (we also need to check browser, but should be fine) => clearResults

I'm going to include vue-virtual-scroller with recycler sroller and variable size mode (iirc @patak-dev  did a great work at elk.zone)

Included summary in details panel, the ui tests checking for old layout where we have 4 panels, now we have only 1.

Now tasks also being filtered:

I'm going to submit a new PR with latest changes in main, you can check this video.
These are the pending stuff (can be progressive):

store filter in session to restore it on page refresh
add openedTreeItems  logic, right now removed in Explorer.vue
add sintax hightlight to the tasks when searching
allow run tests not just the file (will require some changes in the runner and ws-client)
show all subtasks whenOnly Tests  is not checked and the files/suites match the search and there are no tests matching the search

To run some ui tests:

fork the repo, uncheck Copy the main branch only, clone to your local and checkout [userquin/feat-add-test-explorer-ui](https://github.com/vitest-dev/vitest/tree/userquin/feat-add-test-explorer-ui)  branch
2 ) build vitest, from root run pnpm install --frozen-lockfile
3 ) to run test/core, from root folder run cd test/core && pnpm vitest --ui --open
to run test/browser, from root folder run cd test/browser && nr test:browser:preview

closing, superseded by  #5907


plot with image as background

Reported by ansley b manke on 14 Jul 2011 18:05 UTC
this topic has been bounced around a bit, as in Also in this query to the Users List,
http://www.pmel.noaa.gov/maillists/tmap/ferret_users/fu_2011/msg00544.html
and Jing made a start at it. Jing's email of 5/23/2006 on this said,
Hi Ansley
Here is the short description.

To overlay an image (e.g, a logo) to your gif output, add the following code to
the GIFFlush function (in gif.c) before saving your figure to a gif file.

   /* Load the logo image */
   FILE *inLog;
   gdImagePtr logImg;
   inLog = fopen("/home/porter/jing/FERRET/xgks/src/lib/noaalogo_s.gif","rb");
   logImg = gdImageCreateFromGif(inLog);
   /* Copy the logo to your figure meta->image */
   gdImageCopy(meta->image, logImg, 0, 0, 0, 0, logImg->sx, logImg->sy);
   fclose(inLog);

Through the function gdImageCopy, you can control the position of you logo and which
part of your logo to copy.

 gdImageCopy(gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h)

The dstX and dstY arguments specify the point in the destination image to which the region will be copied.
The srcX and srcY arguments specify the upper left corner of the region in the source image.
The w and h arguments specify the width and height of the region.

This is in gif.c and makes calls to the GD library.
What Jing described did not take into account making the Ferret plot transparent so that it is laid down on top of the background image.  The steps I used to do this are

Make the calls to reset Ferret plot's background color (white or black) to transparent.
Open the image to underlay and copy it to the output image.
Copy the transparent-ized Ferret plot on the output image.

This is checked in as xgks/src/lib/gif_with_background.c
Still to do: add qualifiers to the FRAME command to send in an image path and settings for the image size and location; and within the graphics routine to use image types other than gif.
Because this is done in the gd library, we're thinking that we'll want to wait and do this instead using Cairo when we get that integrated into Ferret.
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1869

Modified by ansley.b.manke on 14 Jul 2011 18:07 UTC


adding the contributing section

I added a short section how contributing to the README. It is mostly about installing, so maybe the title should be different.
Let me know if this is useful, I can create a similar updated for xnd and gumath
I tested the installation on my OSX

Perhaps the conda instructions could go into INSTALL.txt, which is about installing a local version, too.

oh, yes, I missed this file. I can add the conda option there
btw. I used conda, since was having problem with python3 setup.py install on my osx


fix(powerbi): fix access token expiry

Powerbi returns an expiry time for the access
token which is currently ignored.
This causes all api calls to fail after 60 minutes, which is the timeout returned by PowerBI.
This commit fixes the bug by creating a new token
once the old one expires.
Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@siddiquebagwan-gslab fixed

@siddiquebagwan-gslab seems that CI is stuck - is there a way to trigger it to run? (I tried to close and reopen the PR but that just removed your approval so now I need you to approve again)

@siddiquebagwan-gslab seems that CI is stuck - is there a way to trigger it to run? (I tried to close and reopen the PR but that just removed your approval so now I need you to approve again)

Hi @elish7lapid
Please execute ../gradlew :metadata-ingestion:lintFix from metadata-ingestion directory and fix the lint error


0000-01-02-kimmaga.md

layout: slide
title: "Welcome to our second slide!"
Your text
Use the left arrow to go back!

good


no aura authorities

apologies for the noob question, but I'm working through the tutorial and trying to modify the chainspec.  I've just backed up and re-run through these tutorials:

https://substrate.dev/docs/en/tutorials/create-your-first-substrate-chain
https://substrate.dev/docs/en/tutorials/start-a-private-network

to refresh on chain specs, and I'm on https://substrate.dev/cumulus-workshop/#/en/1-prep/2-chain-spec?id=adjust-the-chain-spec
I notice we have:
        "palletGrandpa": {
          "authorities": []
        },

ready to be filled out, but unlike in the previous tutorials, there is no aura authorities - is that just a version difference?   In the "start a private network" tutorial we had:
      "palletAura": {
        "authorities": [
          "5FfBQ3kwXrbdyoqLPvcXRp7ikWydXawpNs2Ceu3WwFdhZ8W4",
          "5EhrCtDaQRYjVbLi7BafbGpFqcMhjZJdu8eW8gy6VRXh6HDp"
        ]
      },
      "palletGrandpa": {
        "authorities": [
          [
            "5G9NWJ5P9uk7am24yCKeLZJqXWW6hjuMyRJDmw4ofqxG8Js2",
            1
          ],
          [
            "5CRZoFgJs4zLzCCAGoCUUs2MRmuD5BKAh17pWtb62LMoCi9h",
            1
          ]
        ]
      },

I'd be very grateful if anyone can explain the reason.  maybe palletAura just not necessary for this particular tutorial?

Thanks for referring to the tutorials before asking your question. That makes int not a noob question :)
In both of those tutorials, you are using the Substrate node template which uses Aura/Grandpa consensus and no session rotation.
In this cumulus workshop, you are modifying the spec for a Polkadot node. Polkadot is different than the node template in some ways that you are noticing. Polkadot uses Babe/Grandpa consensus and does use session rotation.
The easy-to-understand difference is the Babe vs Arua. You've correctly observed that there is no aura section in the Polkdaot spec. Look for the babe section instead.
The harder-to-understand part is about session rotation. In the node template the authorities will use the same keys forever. This is nice and simple and a good way to start learning. But it is not great for production because the authority would have no recourse if their key got compromised, and key rotation is generally a good cryptographic best-practice. To solve this Polkdot uses the Sessions pallet. So instead of configuring your authority keys directly in the Babe and Grandpa pallets, you instead configure them in the Sessions pallet. Find that section in the config, and use the tutorial to help you understand how to update the spec.
For general reading on Polkadot's session keys, check out https://wiki.polkadot.network/docs/en/learn-keys#session-keys

wow! thanks @JoshOrndorff for the detailed explanation - very much appreciated


Ensure mypy execution always returns a 0 status code

The test suite is broken because you decided to integrate a highly pedantic linter onto the main branch without fixing any of the issues it raised.
My change here provides the mypy feedack into CI logs that are actionable and can be remediated at your leisure.
I utilized type hints during development to provide a valuable signal to my future self and other engineers working on the code.
Conforming to linter rules that I did not even know about during development does not mean that the utilization of typing in Python, which is I will remind you totally optional and only enforced by conventions and linting tools, is incorrect or indicates quality issues.
Are there specific bugs and design problems that you are aware of that are being pointed out by this mypy execution that cannot and should not be safely ignored to roll up the remaining test outputs into a positive/negative outcome?
And if so, why have you let them ride for 45 days and counting?
Why do you believe that leaving the test suite in an intentionally broken state when it actually works is the correct course of action?

Its a caveat emptor for any readers not to put too much stock in the type hints. They convey the intent well enough but should not be relied on as precise syntax yet. I'd say this interaction is evidence of the test having the desired effect (oiling the wheel).

The codebase works right now, full stop, no questions asked but you are forcing it to present itself as broken for no reason

Like you said, typing is optional so anyone with an understanding of these things would know mypy failing isn't and indicator of brokenness

You are still somehow missing the point.
The software totally works right now.
You are artificially broadcasting a signal that it does not for no reason.

Why do you want this? What are you achieving?

Are you high?
You continue to evade the fundamental questions:

Does the software work?
Will fixing these type hint linter violations improve utility and/or user experience?
If it is so important, why have you not do not it?

It probably boils down to stylistic difference here. As I recall, you prefer a decisive "knockout punch" whereas I don't mind a few ugly, misshapen stepping stones along the path (however long that path turns out to be). Just trying to have an honest and open discussion here.

Does the software work?
yes
Will fixing these type hint linter violations improve utility and/or user experience?
yes
If it is so important, why have you not done it?
because the software functions correctly, its hard to prioritize changes that are more or less superficial. Even still, ux is benefited by the honesty about the shortcomings in the current state of the type hints; this is provided by the failing test as well as the vscode extension recommendations that turn on mypy inline linting.

If the software functions correctly, then how can it affect the UX (User Experience)? Have you confused UX with DX (Developer Experience)?

In this particular product (and my larger, likely controversial, personal view) the line between User and Developer is pretty blurred and only going to blur further as we seek to create an environment where users are encouraged and empowered to solve their own problems. (in my view, thats the whole purpose of open source software)

Okay, so explain how conforming to these linter violations are going to improve the utility and user experience?

Given there are several major abstractions in the code base (extensive mixin use, dynamic configuration, event bus), we need to ensure the correctness of the typing of the methods and helpers that comprise our API before we can realistically expect external contribution. Anything else is putting the cart before the horse but there isn't even a pressing need to drive said cart yet so 🤷

I can be persuaded to immediately contribute my efforts to slay these dragons.

Slay away good sire 🐴 ⚔

May have lost the plot here but you are still saying that keeping the test suite intentionally broken for no reason is the move?

Communication is key 🔑

Did we get DJ Khaled involved or are we still writing software professionally?

Superseded by #463


Vite 4 error

Could you update the peerDependencies to include Vite 4?

Updated in v1.1.1

Thank you!


Error: Couldn't scan the drives: An unknown error occurred

Etcher version:
1.1.1
Operating system and architecture:
Windows 10 64bit version 1703
Image flashed:
Never got to the point to open a image to use
Do you see any meaningful error information in the DevTools?
Don't have any DevTools on my gaming system.
Only error message I have is from Etcher itself:
Top left of pop up box is:  Error
Main body of pop up box is:
Couldn't scan the drives: An unknown error occurred
Error: Couldn't scan the drives: An unknown error occurred

I tried Windows 64bit Etcher download, Windows 32bit Etcher download, and Windows Portal Etcher download.  All of the Windows versions give me the same error message.
I tried running the program both in normal without admin and launch as admin and didn't change anything.
Version 1.0.0 worked fine on my system.

Finally got the log option:
-1501911979411_log.txt

Please see https://github.com/resin-io/etcher/issues/1665#issuecomment-320034516 and let us know if that fixes it for you.
Closing (for now) as duplicate of #1646

Yes that as a ok work around, but shouldn't the application be able to do this on its own?

Yes, we're planning to release a new version of Etcher soon with this fix included. Thanks for confirming that the fix works for you :-)


Taxa(genus and species) resources: Update and modify corresponding DS metadata files

Now that PB-jekyll site serves genus and species resources from the DS metdata (https://github.com/legumeinfo/datastore-metadata/edit/main/Arachis/GENUS/about_this_collection/description_Arachis.yml, etc.), it needs to be both updated and corrections made to links, etc.
SD: Doing the updates.
ADF: To teach SD how to update the autocontent after the metadata files are modified.

Genus file (https://github.com/legumeinfo/datastore-metadata/blob/main/Arachis/GENUS/about_this_collection/description_Arachis.yml):
Gigwa link to https://dev.peanutbase.org/gigwa/
GCVit to https://dev.peanutbase.org/tools/gcvit
GCV to https://dev.peanutbase.org/tools/gcv/instructions
Germplasm to https://germplasm-map.legumeinfo.org/#?zoom=5&maxRecs=200&taxonQuery=&traitOverlay=&traitScale=global&country=&geocodedOnly=false&traitExcludeUnchar=false&limitToMapExtent&lat=-11.70&lng=-59.08&mapHeight=350&baseMap=ESRI - NatGeo (default, reference map)&ne_lat=-4.083452772038619&ne_lng=-36.34277343750001&sw_lat=-19.103648251663632&sw_lng=-81.82617187500001
**Think about any additions to currently listed resources.


10/21 Manual Review: Onboarding

Outdated: “Currently all work in the lab is being performed remotely due to the COVID-19 pandemic. All access to SMAST facilities requires prior approval from Gavin, Mike Marino, and Eric Lyonnais. No work is to be performed on site until further notice.”
5.2 - is the “A work in progress” link to the onboarding checklist still a work in progress?
Add guide for “who to talk to if...” ? could be useful
5.5.1 - should also mention that lab meetings are hybrid
5.5.3 - I believe a couple of the main campus parking lots allow free parking (parking lot 18 for sure, Charlton College of Business as well I think, not exactly sure which)
Add international students onboarding

Gavin recommended adding Zoom account upgrades to onboarding materials

text on remote work updated/removed.

text linking to onboarding checklist changed

A guide for “who to talk to if...” ? is referenced in the SMAST resources page, but it is currently out of date. GF to check with MM about an updated org chart version.

5.5.1 text changes to mention that lab meetings are hybrid

5.5.3 parking text for main campus general so that clear options exist for parking without permit.

Still to do:

[ ] add Zoom account upgrade info to onboarding checklists
[ ] select parts of the international student document that are valid and integrate into onboarding checklist


fix: footer for smaller screensizes

#205
Please mark it as hacktoberfest accepted. Thanks.

please don't create pr until assigned


Sidebar filters layout messed up

Can you elaborate on the issue, what should it look like?

Hey, like this https://i.imgur.com/xjuSASD.png , it's bugged on FF.

Hi there, just wondering which version of Firefox? Seems fine on latest version

Firefox developer edition(Quantum)

From: David James<EMAIL_ADDRESS>Sent: Sunday, October 8, 2017 8:10:11 AM
To: Jasius/Windows-theme
Cc: Mindaugas; Author
Subject: Re: [Jasius/Windows-theme] Sidebar filters layout messed up (#186)
Hi there, just wondering which version of Firefox? Seems fine on latest version
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Jasius/Windows-theme/issues/186#issuecomment-334983704, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKhSC567PbTsGiNsQrJ2oDgW_ffoQPXFks5sqFkzgaJpZM4PxXq_.

Hi, If you just want to the buttons to be in one single line (), you can add style="white-space: nowrap;" to the parent list-item, or create a helper class .text-nowrap { white-space: nowrap } and add it to parent list-item. Since different browsers render fonts differently, Its just a matter of few pixels that last inline-block button is coming in next line.

@vikasverma92 thanks, I'll look into this.

Apparently it was new FF engine bug.


How to use it in Nuxt.js

ReferenceError
document is not defined

i think it because nuxt load dist/index.js , not load'dist/ssr.index.js

ok, it work, set ssr: false
plugins: [
    { src: '~/plugins/vue-js-toggle-button.js', ssr: false }
  ],

But with ssr: false it means plugin doesn't support ssr, plugin should be updated and shouldn't refer to document when running on server side

What worked for me was including the generated ssr dist file instead of the default. I don't know how or why a separate file is generated but it works for me 🤷♂
For example in a nuxt plugin:
Before:
import Vue from 'vue';
import VueJsToggleButton from 'vue-js-toggle-button';

Vue.use(VueJsToggleButton);

After:
import Vue from 'vue';
import VueJsToggleButton from 'vue-js-toggle-button/dist/ssr.index';

Vue.use(VueJsToggleButton);

Not working when I run nuxt start

@EdwinHoksberg You saved my day! if you need anything from my API let me know!

@euvl @EdwinHoksberg's solution of loading vue-js-toggle-button/dist/ssr.index should be added to the SSR part of the readme, without it you have to disable SSR or you run into a document is not defined error

Not working when I run nuxt start

It's the same issue.
Is there any solution?


Fixes to Instance Handler implementation

This PR makes various changes to the implementations of the InstanceHandler (the EngineController and ReplicaController) to fix several bugs that currently exist in their logic:

A call to getProcessManagerClient in the ReplicaController now has the proper error check in order to avoid a panic from a nil pointer dereference.
When handling deletion, the EngineController and ReplicaController will only attempt deletion of the associated Instance if InstanceManagerName is set to indicate that an associated Instance does exist. This avoids issues with being unable to delete Volumes, Engines, and Replicas due to the InstanceHandler not being able to find a nonexistent Instance.
enqueueInstanceManagerChange has been modified to avoid filtering InstanceManagers by Node and filtering the Replicas individually, ensuring that any Replicas that are updated by the live streaming updates from the InstanceManagerController are able to be handled on the correct ReplicaController.

LGTM.

Avoid calling GetInstanceManager when the field InstanceManagerName is not set.