🦒 colab

Thanks for the project ❤ I made a colab. 🥳 I hope you like it. https://github.com/camenduru/LLaVA-colab

Great work!!! ...
I just ran both Colab files. Works fine. But models are not downloading and not showing in the Gradio drop-down too.

Thanks ❤ @AmmarFahmy please watch this https://www.youtube.com/watch?v=o7zQAa0NPds

Thanks ❤ @AmmarFahmy please watch this https://www.youtube.com/watch?v=o7zQAa0NPds

Yes great .. worked fine.

Thank you! Wondering if you would like to add 13B with 4bit as well? We made it work with T4 and 15GB CPU RAM on HF Space. So theoretically it should work for Colab as well? 13B-4bit seems to be both faster and more accurate than 7B-8bit. (will get some numbers later)
https://huggingface.co/spaces/badayvedat/LLaVA

Hi @haotian-liu 👋 Colab Free T4 has only 12.7 GB CPU RAM 😭 so I can only fit llava-v1.5-7b with a max_shard_size='5GB'  model.
from llava.model.builder import load_pretrained_model
model_path = "liuhaotian/llava-v1.5-7b"
tokenizer, model, image_processor, context_len = load_pretrained_model(
    model_path=model_path,
    model_base=None,
    model_name=model_path.split("/")[-1],
    load_8bit=False,
    load_4bit=False
)

out_folder = "/content/model8"
model.save_pretrained(out_folder, max_shard_size='5GB', safe_serialization=False)
tokenizer.save_pretrained(out_folder)

https://huggingface.co/4bit/llava-v1.5-7b-5GB/tree/main
I will try the same thing with liuhaotian/llava-v1.5-13b

Maybe not possible  😐
https://huggingface.co/4bit/llava-v1.5-13b-8bit/tree/main
https://huggingface.co/4bit/llava-v1.5-13b-5GB/tree/main

@camenduru
Nuh it is possible. Not sure what is different, but I created a new one with 3gb-shard here: liuhaotian/llava-v1.5-13b-shard3gb.

🥳 wow cool 🔥 maybe transformers version idk 😋 I will add to the repo thanks ❤

@camenduru Thanks! Also featured the link to Colab on our README :)

thanks ❤

Hi all! Thank you for doing such amazing things!

Any chances to get LLaVA 1.6 working on Colab?
Is there a possibility to add an "Undo" button, as at https://huggingface.co/spaces/merve/llava-next ? That would be really helpful!
How about context extension? Is that really possible?


refine Users ❤  🚀

We appreciate your support if you or your organization is using refine. You are welcome to leave replies about your product and organization here, which could become the confidence of maintainers, communication, and undecided watchers.
Recommended reply format:
- Product：
- Company or Organization: (if any)
- Link: (if any)
- Screenshot: (if any)

Product: Prototype on Ecommerce using (admin (refine ), ecom (next.js)  ,  strapi (BE) , stripe (payment) )
Company or Organization: Worshipsong Band
Link: (not yet deployed)
Youtube : https://youtu.be/5f8GTzu_h-Y

Product: SaaS for startups (Under construction Right now) (hasura, paddle, react) and obviously, Refine!
Company or Organization: Treecho Corp
Link: (not yet deployed)
Screenshot : see image

Product：Credit Risk Rating Banking Application
Company or Organization: Latize Pte Ltd
Link: http://ulysses2.ddns.net/ (demo version)
Screenshot:

@omeraplak does this count as an hacktoberfest contrib if we create a tutorial for refine?

@omeraplak does this count as an hacktoberfest contrib if we create a tutorial for refine?

Creating a document will definitely count as a contribution. What kind of thing are you planning to do?

Getting Started / Creating a project vid tutorials

@omeraplak Here's my video: https://youtu.be/9pfmJV8JZfU
My Blog: https://dev.to/learnearnfun/introduction-to-refine-5c0h

Hope that counts!

@omeraplak Do the above count? Will i get swag?

Hey @hridaya423 ,
Thank you! We'll send a swag kit! Can you reach us on Discord?

I already have joined the refine server :-)


2.0: FTS - Index API

https://github.com/couchbaselabs/couchbase-lite-apiv2/commit/faae551be9144d090a1326d692733ff570dbee09

This is covered by #1342


MacOS support?

Is it possible to embedd an icon for executables/binaries for MacOS?

Currently this is not possible; but I will maybe leave this issue open as a feature request idea, maybe someone some day will want to start developing this, or something...? On my side, first of all, I don't even have a personal Mac machine, so I don't know how to test this feature even if I wanted to try developing it.

Currently this is not possible; but I will maybe leave this issue open as a feature request idea, maybe someone some day will want to start developing this, or something...? On my side, first of all, I don't even have a personal Mac machine, so I don't know how to test this feature even if I wanted to try developing it.

Hi @Muddz. In order to have an icon for your app, you can create an "app-bundle". No embedding is needed for that.

Huge thanks @mc51 for the explanation! ❤ in such case, IIUC I am assuming I can probably close this issue for now, as it seems to be not really a use case for rsrc (?). If anyone thinks otherwise, please open a new issue referencing this one! (I might miss it if you write a comment here asking to reopen, as I don't track this project actively, so please open a new issue for better visibility to make sure it's not lost in the noise.)


[E2E] Add aggregate feature importance tests for responsibleaitoolbox-classification-model-assessment notebook

Adding e2e aggregate feature importance tests for responsibleaitoolbox-classification-model-assessment notebook.
Moving utils to parent folder so that it can be used by dashboard-e2e and widget e2e.

I tried to mode utils folder under /apps but lead to lint error.


Pretrained checkpoints have lower results than article results

Hi, I'm learning a lot from your ideas.I downloaded the Voicebank/DEMAND checkpoint and got the following results: pesq=2.88 stoi=0.87 si-sdr=18.5 Is it the difference in enhancement settings that's causing this?
Current settings:
mode : storm, corrector : ald, corrector-steps : 1, snr : 0.5, N : 50

Hi, I got exactly the same results as yours. Did you finally figure it out?

Hi, I got exactly the same results as yours. Did you finally figure it out?

Hi, you can reduce sampling step N to 20-30.

Hi, I got exactly the same results as yours. Did you finally figure it out?

Hi, you can reduce sampling step N to 20-30.

Sorry, I just saw your message. Do you mean if we reduce the inference steps from 50 (by default) to 20 or 30, then we can get higher results like what was shown in the paper? Thanks for your clarifications in advance.
Btw, did you have any chance to use their other pretrained checkpoint trained on WSJ0+Chime3? I also got lower results than article results, but tried to figure it out.


Core: Bind and document iterator API virtual methods

Resolves godotengine/godot-proposals#5096.

This is documented here, but I think it's not enough. This is one of Godot's secret features. Binding and documentation facilitates better discoverability, autocompletion, and static checks. See also #89639, the bug still exists only because it is not obvious that the _iter_get() argument does not have Array wrapper, unlike _iter_init() and _iter_next().

Since in my opinion this is a simple, small, but useful addition and since there are two approvals, I moved milestone to 4.4.

Thanks!


how to show a bunch of videos in one page

hey,
i am trying to show a few videos in one page using ngFor
but the buttons are just working for the first video i choose to play.
i tried to create an array of players but it still not working.
any idea?

hi @adaror
you should save the "player" (with the (ready) event) object for each video in order to add customized buttons for each video.
<youtube-player
   (ready)="savePlayer($event)">
</youtube-player>


Branding Update: Progress Bar

Background: #FBF9FC
No Gradient
Bar color progress in terra cotta #D6743F

It feels off that the progress bar already indicates progress when you hit Step 1, considering you haven't actually done anything yet. Can we update this so that the bar doesn't start moving forward til you hit Step 2?


update from docker.elastic.co got unauthorized: authentication required

ouroboros    | 2019-03-21 22:48:12 : DEBUG : dockerclient : Checking tag: docker.elastic.co/beats/filebeat:6.5.4
ouroboros    | 2019-03-21 22:48:12 : DEBUG : image : Sending supplied auth config
ouroboros    | 2019-03-21 22:48:16 : DEBUG : connectionpool : http://localhost:None "POST /v1.35/images/create?tag=6.5.4&fromImage=docker.elastic.co%2Fbeats%2Ffilebeat HTTP/1.1" 500 117
ouroboros    | 2019-03-21 22:48:16 : CRITICAL : dockerclient : Invalid Credentials. Exiting
ouroboros    | 2019-03-21 22:48:16 : ERROR : base : Job "Initial run interval container update for unix://var/run/docker.sock (trigger: date[2019-03-21 22:47:55 CDT], next run at: 2019-03-21 22:47:55 CDT)" raised an exception
ouroboros    | Traceback (most recent call last):
ouroboros    |   File "/usr/local/lib/python3.7/site-packages/docker/api/client.py", line 256, in _raise_for_status
ouroboros    |     response.raise_for_status()
ouroboros    |   File "/usr/local/lib/python3.7/site-packages/requests/models.py", line 940, in raise_for_status
ouroboros    |     raise HTTPError(http_error_msg, response=self)
ouroboros    | requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+docker://localhost/v1.35/images/create?tag=6.5.4&fromImage=docker.elastic.co%2Fbeats%2Ffilebeat
ouroboros    |
ouroboros    | During handling of the above exception, another exception occurred:
ouroboros    |
ouroboros    | Traceback (most recent call last):
ouroboros    |   File "/usr/local/lib/python3.7/site-packages/pyouroboros/dockerclient.py", line 79, in _pull
ouroboros    |     return_image = self.client.images.pull(tag, auth_config=self.config.auth_json)
ouroboros    |   File "/usr/local/lib/python3.7/site-packages/docker/models/images.py", line 441, in pull
ouroboros    |     repository, tag=tag, stream=True, **kwargs
ouroboros    |   File "/usr/local/lib/python3.7/site-packages/docker/api/image.py", line 400, in pull
ouroboros    |     self._raise_for_status(response)
ouroboros    |   File "/usr/local/lib/python3.7/site-packages/docker/api/client.py", line 258, in _raise_for_status
ouroboros    |     raise create_api_error_from_http_exception(e)
ouroboros    |   File "/usr/local/lib/python3.7/site-packages/docker/errors.py", line 31, in create_api_error_from_http_exception
ouroboros    |     raise cls(e, response=response, explanation=explanation)
ouroboros    | docker.errors.APIError: 500 Server Error: Internal Server Error ("Get https://docker.elastic.co/v2/beats/filebeat/manifests/6.5.4: unauthorized: authentication required")
ouroboros    |
ouroboros    | During handling of the above exception, another exception occurred:
ouroboros    |
ouroboros    | Traceback (most recent call last):
ouroboros    |   File "/usr/local/lib/python3.7/site-packages/apscheduler/executors/base.py", line 125, in run_job
ouroboros    |     retval = job.func(*job.args, **job.kwargs)
ouroboros    |   File "/usr/local/lib/python3.7/site-packages/pyouroboros/dockerclient.py", line 296, in update
ouroboros    |     updateable, depends_on_containers, hard_depends_on_containers = self.socket_check()
ouroboros    |   File "/usr/local/lib/python3.7/site-packages/pyouroboros/dockerclient.py", line 255, in socket_check
ouroboros    |     latest_image = self.pull(current_tag)
ouroboros    |   File "/usr/local/lib/python3.7/site-packages/pyouroboros/dockerclient.py", line 178, in pull
ouroboros    |     return self._pull(tag)
ouroboros    |   File "/usr/local/lib/python3.7/site-packages/pyouroboros/dockerclient.py", line 94, in _pull
ouroboros    |     exit(1)
ouroboros    |   File "/usr/local/lib/python3.7/_sitebuiltins.py", line 26, in call
ouroboros    |     raise SystemExit(code)
ouroboros    | SystemExit: 1

Are you passing REPO_USER and REPO_PASS? Could you share your config and scrub sensitive information

If no response in 24 hours will close pending


Fix bookmarks from NTP

Task/Issue URL: https://app.asana.com/0/1202552961248957/1208094509610766/f
Description
Fixes a bug where clicking on a bookmark after coming from the NTP takes you nowhere
Steps to test this PR

[ ] Install from internal
[ ] Add a bookmark
[ ] From the NTP tap on the bookmarks icon
[ ] On the bookmarks screen, tap on the bookmark
[ ] You should be taken to the bookmark URL

#4923  👈
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @marcosholgado and the rest of your teammates on  Graphite


[REEF-55]: Delayed creation and upload of the global.jar file until the first Evaluator submission on YARN.

Added the GlobalJarUploader class which performs the creation and upload. It is a Callable such that we can move this to a thread in a future version
Moved the actual upload logic from EvaluatorSetupHelper to UploaderToJobFolder

JIRA:
[REEF-55]: https://issues.apache.org/jira/browse/REEF-55

I merged current master into this and verified that it runs on a Windows YARN cluster. @dafrista Given that you did the first code review, can you merge this?

Yes, I'll give it a spin on our Linux YARN cluster and merge.


Suppress output clutter in trash command

Previously, the trash command would print out path information of the items it was deleting. This was unrelated to the verbose log messages trash would print when using the '-v' option, and cluttered the screen with long, AppleScript-style paths to the item in the ~/.Trash directory. For example, when trashing '~/Desktop/delme', trash would print:
folder delme of item .Trash of folder mtorok of folder Users of startup disk

This update suppresses the above messages by redirecting the output the osascript command to delete the file to /dev/null.
Again, this should not change any of the intentional messages trash prints, either in normal operations, or in verbose mode.

My apologies for neglecting this project for so long. I'll be reviewing this pull request in the near future as I prepare a release. I may change it slightly to still print that information in verbose mode.

Thank you again for your contribution, @int3h! My sincerest apologies for the extreme delay in merging your changes.
My previous comment mentioned changing it so it still prints in verbose mode, but it already does, so no change was necessary.


3.0.2 Not Available on Dockerhub

Description
Tags for strapi 3.0.2 show up on https://hub.docker.com/r/strapi/strapi but the actual images don't appear to be present https://hub.docker.com/r/strapi/strapi/tags.
Followup

From now on we are only going to release the new images on docker hub without making releases on this github repository.

It seems this repo isn't being updated for releases anymore, is it still the the best place for strapi/docker issues? Or is the main repo a better place?

Nice catch, We built the images but didn't push them. It should be good now :) Closing the issue
The releases aren't made on github directly as the images don't need to be updatde to release the new versions.

Sweet, thank you.  Looks like a great update.


Update installation instructions

This PR contains work from both myself and @EpicEric.
Closes #3410

Changes made. I updated the Linux instructions based on unreleased ponyup changes. Those changes will be in the next nightly. I'd like to do a release of those changes before these changes are merged.

@Theodus can you give this a quick review?


Warn when the OverloadedStrings extension is unused

Similarly to https://github.com/ndmitchell/hlint/issues/299 this can't catch all cases, but we can be sure that this extension isn't in use when there are no string literals in the file.

I'm a bit more sceptical here - how many files don't have any string literals?

What made me think of this is this: I was moving some functions out of one module and into another, to save some time I copied over all the imports and extensions too, and got the computer to remove the redundant lines. This file happened to contain no string literals but OverloadedStrings wasn't removed.
Of the 501 haskell files in our codebase at least 187 have no string literals in. Hastily tested using ag -G '\.hs$' '"' -l | wc -l and ag -G '\.hs$' '"' -L | wc -l. Although this might be a little higher than average as lots of our code is destined for the FPGA where strings are not representable.
I've just realised that this extension might break in the presence of template Haskell generating string literals, this goes for lots of other redundant language extension warnings too though.

Testing a larger sample, of the haskell files in /nix/store on my machine 25905 files ending in .hs do not contain " and 36259 do.

Hmm, maybe strings aren't as common as I thought! I'll compare to my code base and see if it's similar.

Hmm, in my repos its easily 90+% which have string literals...

How interesting!

Done.


One shot Datum

Would it be possible to add a variant of Datum that doesn't have any notion of refreshing? It's still superior to other types for semantic clarity, but having to cover the inapplicable refresh cases isn't very ergonomic.

I believe you could write a fold-like combinator that handles that case:
import * as D from "@nll/datum/Datum";

const simplifiedFold = <A, B>(onNone: () => B, onSome: (a: A) => B) => D.fold(onNone, onNone, onSome, onSome);

const datum1: D.Datum<string> = D.initial;
const datum1: D.Datum<string> = D.initial;

I'm not sure what you mean by inapplicable though. Do you mean that you aren't using it? In frontend webapp work, which is where I use this datatype most often, the refresh type is useful for showing loading spinners. The type might not be terribly useful if you don't need to know about data being refreshed though.

I'm not sure what you mean by inapplicable though. Do you mean that you aren't using it? In frontend webapp work, which is where I use this datatype most often, the refresh type is useful for showing loading spinners. The type might not be terribly useful if you don't need to know about data being refreshed though.

We already make use of a few helper functions like that where I work. The trouble is that it's semantically unclear if a refresh case is something that really needs to be handled because Datum as-is is the only type we use regardless of whether we need to handle the prospect of refreshes or not (I'd consider using a plain Option even more unclear, having used that previously).
At the moment, Datum has four members:

Initial
Pending
Refresh a
Replete a

And DatumEither essentially has two more, at least when you're at the point of pattern matching over it.
For us, it's very common to want to cover three cases:

Initial
Pending
Replete a (or the split Either equivalent)

So, given a DatumEither, we have to supply six callbacks where really only four should be needed, and the developer has to go wandering off to check if there's a circumstance in which we do ever refresh the data after the initial load. It's unergonomic. Better than things were before we adopted this library, but I think it could be better still with a more diversified set of types available. (Oh, how I wish we could define sum types as cleanly as in Haskell!)

I'm not sure how you're having to supply all those callbacks. There is an ergomonic function called squash exported from@nll/datum/DatumEither that looks like it does what you want it to here. I suppose I could look into adding another adt that suits your needs, but I'll have to think about whether I'd ever use it. It's unlikely that I'd want to implement something that I won't dogfood myself. That said, if you wanted to add a new adt to this library via a PR I'd definitely welcome that and offer as much guidance and feedback as possible. My only real requirement is that is passes the build rules (100% test coverage, docs autogenerate, it doesn't add any new dependencies). If you're interested in this let me know.

I decided to see how long it would take me to do a quick copy/paste/modify implementation of your one shot datum idea. Turns out only 10 minutes with tests! I don't have my yubikey on me so I'm not able to publish a version tonight but I'll likely kick out an rc release tomorrow. For now you can check out the docs here to see if it does what you're looking for. Incidentally, I didn't implement OneShotEither and I didn't put much effort into the name. Maybe you've got some better ideas?

This was resolved by 184a8ed8e49043de069e004fb19b44d70fe87c3d and released and published to npm.

Fantastic! Many thanks :smiley:


Version numbers

Please add version numbers of the supported extensions

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

ID: 08d2543f-f47a-e9dc-1f80-1ac5ad7a71ad
Version Independent ID: cc5f4337-01f7-4774-6c26-fda65fadbdbf
Content: Use PostgreSQL extensions in Azure Database for PostgreSQL
Content Source: articles/postgresql/concepts-extensions.md
Service: postgresql
GitHub Login: @rachel-msft
Microsoft Alias: raagyema

@lstak Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

@lstak That's a good suggestion. Since the engine is updated more often than this doc article, I think we should rely upon the version in the output from this query: SELECT * FROM pg_available_extensions;
That list will be most current and easier to maintain than to transcribe in the docs.
Thanks, Jason
#please-close


hardcoded debug folder

currently building a blazor project outputs a config file that has a path fixed to the debug folder, this is incorrect when the developer builds a release or custom build folder, IMHO the process should select the most recent folder that was written to inside the bin the the must current within that folder.
This would allow the output to be current for that instance of the build

Indeed. This will be addressed when we implement publishing - #16


chore(main): release 0.0.43

:robot: I have created a release beep boop
0.0.43 (2024-06-21)
Bug Fixes

deps: update golang.org/x/exp digest to 7f521ea (#292) (6105c07)
deps: update kubernetes packages to v0.30.2 (#291) (25e6ba7)
deps: update module buf.build/gen/go/spectrocloud/spectro-cleanup/protocolbuffers/go to v1.34.2-20240205164452-95dfd137cb54.2 (#290) (ed5b4ee)
deps: update module k8s.io/klog/v2 to v2.130.0 (#293) (86457a3)
deps: update module k8s.io/klog/v2 to v2.130.1 (#301) (89611d8)
deps: update module sigs.k8s.io/cluster-api to v1.7.3 (#288) (aab6436)

Other

bump plugin versions and regenerate chart README (#302) (fe0058a)
bump vsphere plugin version to 0.0.23 (#286) (3e9c252)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.0.43
:sunflower:


test: Add test cases

This change is

/assign @ScorpioCPH

Coverage increased (+6.6%) to 67.215% when pulling b1e3c0effa8654cf2740926cf5389a25d6834024 on gaocegege:test into 4550f1dd9958a02c3a117783958d3bbea26e4f8f on kubeflow:v1alpha2.

Coverage increased (+6.6%) to 67.215% when pulling b1e3c0effa8654cf2740926cf5389a25d6834024 on gaocegege:test into 4550f1dd9958a02c3a117783958d3bbea26e4f8f on kubeflow:v1alpha2.


Post Details - Post with no activity goes back to 1970

Closing issue and migrating to new repo.


Deploy helm chart snapshot to ghcr.io

We can also deploy helm chart snapshot to ghcr.io so we can easily use for testing in other repo

Let me use the commit hash as the tag


retriable: added Storage

Coverage: 84.369% (+0.1%) from 84.225% when pulling 922f0a1323a56922f306726b00d4276b96a6b59e on dissoupov into bd98b98cc604ef6b9f388f94a5b30b7922f8a565 on main.


[Wasm] Memory narrow view button does not appear

https://github.com/nventive/Uno/pull/1058

This issue is no longer occurred on the latest build.
Version: 0.1.0-uno.1+499


Use own private key for provision.virtual

Makes it easier to login into the VM. No need to change the key parameter every time.
Use case: I'm using one tmt call to spawn VM and (re)use the VM for provision connect later.

Test failures are irrelevant, caused by Testing Farm not merging the latest main so tests & code do not match. @thrix, where do we track this issue?


Merge 'GO:0019836 hemolysis by symbiont of host erythrocytes' into parent?

Hello,
GO:0044179 'hemolysis in other organism' is defined as 'The cytolytic destruction of red blood cells, with the release of intracellular hemoglobin, in one organism by another.'
I don't see the the difference with 'GO:0019836 hemolysis by symbiont of host erythrocytes' (The cytolytic destruction of red blood cells, with the release of intracellular hemoglobin, in the host organism by a symbiont. The host is defined as the larger of the organisms involved in a symbiotic interaction.)
(nor with GO:0052331 hemolysis in other organism involved in symbiotic interaction)
I propose merging those 3 terms into the most specific term, 'GO:0019836 hemolysis by symbiont of host erythrocytes'.
@suzialeksander
@fjungo
@pgarmiri
You have commented on previous related tickets or annotated to these terms - let me know of you have any comments on this.
Thanks, Pascale

@FJungo mentions tha we need to take into account venoms - cause hemolysis without being a symbiont.

I agree with that. Most of the case I had to review in a previous ticket were or that type. (peptides produced by frogs/fish that have hemolytic activity against human/rabbit red blood cells. ) https://github.com/geneontology/go-annotation/issues/1379

Thanks ! That wasn't clear at all from the term definitions, but it seems a useful distinction.
Should we have something like:

hemolysis by symbiont
hemolysis by secreted/injected(?) compound

Thanks, Pascale

That sounds reasonable to me. Perhaps, at the second term an example could be added in the end , for example '...such as venom'  pointing to a relevant publication. I could easily find one if you would like.
Thanks,
Penelope

I don't know that the distinction between 'by symbiont' and 'by secreted compound' always exists.
Perhaps @sandyl27 can give input from the bacterial/viral world?

@jimhu-tamu

I'm afraid there are issues with both "secreted" and "symbiont" if we want to be consistent in how toxins are handled. I'm not sure whether hemolysins are represented in what follows, but the examples for microbial toxins in general should be considered.
As noted above, the toxins from frogs and snake venoms can include hemolytic substances. Some are proteins and others may not be. Fire ant venom has hemolytic components that appear to be small molecules.  In some cases this runs into the question of whether predation (or its avoidance) is a form of symbiosis. While some sources consider predation to be symbiosis, I don't think that's the current usage in GO, where the paradigm is a host-symbiont relationship.
It's not clear that all hemolytic toxins are secreted. The Shiga Toxin in E. coli food poisoning outbreaks is made by a prophage. It is thought that the toxin is released when an induced phage kills the host bacterium, which would not be thought of as secretion. Similarly, there are toxins that are found inside spores that may be released during germination.  I don't think it's a hemolysin, but the toxin in Bacillus thuringiensis that's used in GM crops forms intracellular crystalline inclusions. I think the cells have to die to release the toxin.


Support .yml extension

/kind user-story
Which area this user story is related to?
/area library
User Story
As a library consumer, I want the Devfile parser to support Devfile with .yml extension for a Devfile, So that my users can provide a devfile.yml, which is also commonly used for YAML files (even if .yaml is preferred and recommended).
Ideally, the Devfile parser should not make any assumptions about the file name it is provided. It should be able to parse any file path provided.
Currently, trying to parse a devfile.yml file returns the error below. It looks like the parser interprets /path/to/devfile.yml as a folder, as it looks for a /path/to/devfile.yml/devfile.yaml file, which does not exist:
☸ in ~/w/p/d/library on  main [$] via 🐹 v1.19.6
$ ./main /path/to/devfile.yml
parsing devfile from /path/to/devfile.yml
failed to populateAndParseDevfile: failed to read devfile from path '/path/to/devfile.yml/devfile.yaml': open /path/to/devfile.yml/devfile.yaml: not a directory

Acceptance Criteria

[x] It should support any file name - https://github.com/devfile/api/issues/1035#issuecomment-1723384280

[x] If passed a path to a file, the library should not make any assumption about the file names. It should be able to parse any file provided and return an error if it is not a valid Devfile.
[x] If variants of them are present in the same directory, the .yaml one has priority (in places where library is discovering a Devfile)

[x] After this item is done, we'll need other tools, e.g. odo, ODC, and RHTAP, to start supporting .yml extensions. => check that the change does not break current clients
[ ] It should update any relevant documentation to reflect the changes
[x] Demo required

Notes
https://github.com/devfile/api/issues/1035#issuecomment-1723384280
Links

Related to https://github.com/devfile/api/issues/1035
Closes https://github.com/devfile/api/issues/744

Demo recorded and uploaded in the team Shared Drive: Demo > Sprint 2250 > devfile-library-parse-any-file-including-yml.mkv

/reopen
Reopening to have the documentation PR (https://github.com/devfile/devfile-web/pull/106) close it.


Latest update reflects something unexpected...

After installing the following (recent) pre-release..
https://github.com/kiwibrowser/src.next/releases/tag/2878862993
... The password key pops up whenever I'm in a text field most (if not all) the time.
The following image reflects an example of what I'm referring to...
Kiwi Browser - Password Field Popup
... and has never done this (to me) before.
Also, when I'm in a field that does require a username and/or password, the auto fill pop up works (for me) without any issues.
Thank you very much for your time and understanding with this issue and I'm hoping for a solution on the next release (or some guidance as to prevent this from happening).
Please let me know if you require any further information.
~Ibuprophen

I worked on a fix for this today, in the very last build, could you please check if the issue is resolved for you ? (when I tested it was)

The "key" is gone for some text boxes, but not all. For example, the search box on http://duckduckgo.com

@kiwibrowser, It (unfortunately) didn't fix the issue at all for me as it's present in every site I go to like Google, Ancestry, Github, etc...
I also noticed that the "Next NTP" crx extension I was using via the following link...
https://github.com/d3ward/nextntp
... stopped working as well.
If you feel it necessary, I can Uninstall the browser and reinstall it using your most recent pre-release.
I'm not sure if the issue(s) may be carrying over from the one release to the other.
It may be a bit of a pain to set up again, but the issues may (hopefully) be resolved.
I'll await your advice/guidance with this decision my friend as I'd hate to go dive off that pier (so to speak) unnecessarily.
~Ibuprophen

The key pops up in nearly every input field here, version<PHONE_NUMBER>-arm64

Oy Vey... Now my bookmarks just disappeared on top of the other issues @kiwibrowser... :-((
~Ibuprophen

Forgotten to mention about the bookmarks @kiwibrowser...
I even tried to import them from a backup.
They will show until I exit the browser and open it again. Then they're all gone again.
This level of issues are making it frustrating even for a developer like myself.
~Ibuprophen

I managed to reproduce the bookmarks issue, somehow the interface fails to save the changes, I'm investigating the issue

Thank you very much for a quick response and a heads up @kiwibrowser. 👍
~Ibuprophen

@kiwibrowser, It (unfortunately) didn't fix the issue at all for me as it's present in every site I go to like Google, Ancestry, Github, etc...
I also noticed that the "Next NTP" crx extension I was using via the following link...
https://github.com/d3ward/nextntp
... stopped working as well.
If you feel it necessary, I can Uninstall the browser and reinstall it using your most recent pre-release.
I'm not sure if the issue(s) may be carrying over from the one release to the other.
It may be a bit of a pain to set up again, but the issues may (hopefully) be resolved.
I'll await your advice/guidance with this decision my friend as I'd hate to go dive off that pier (so to speak) unnecessarily.
~Ibuprophen

Just an FYI regarding this matter...
I had just found out how to get this specific issue I had going again using an alternative route (via another extension) that, I'm hoping, will keep on working.
~Ibuprophen

@kiwibrowser, can you please provide me with a quick heads-up regarding a release that addresses both the Bookmarks & Key pop-up issue?
Thanks a Bunch My Friend! 👍
~Ibuprophen

@kiwibrowser, please give some great news regarding a release that (at least) addresses the Bookmarks issue.
Thanks a Bunch My Friend! 👍
~Ibuprophen

Would it be possible to separate the two issues being discussed here? I have been experiencing the "key" symbol popup on many non-login text boxes as of several releases ago and it takes up a lot of space for no reason. I am now on version 105.0.5195.33. I don't recall ever seeing it in Kiwi before around mid August. I use an external password manager with Android autofill and I have "save passwords" turned off in settings, so I don't think there's a reason for it to show up at all for me.

It appears that the recent release of the browser seems to have resolved the Key Pop-up issue.
Thanks a Bunch @kiwibrowser! 👍
~Ibuprophen

Big thanks from me too 👍🥂


Add a gitter chat room

it is popular recently.  user/developer can discuss thing together.
if @mission-liao think it is good.  I can help add the room

Thanks for feedback.
I will check the issue list on github in daily basis. But I can't promise that I will monitor the chat room (a chat root usually means an expectation of faster response time). Therefore, I think github-issue is enough for this project.

thanks for your kindly feedback


Upgrade caniuse-api dependency to v2.0.0

Version 2.0.0 of caniuse-api relies on caniuse-lite instead of caniuse-db, which saves 6.5 MB of disk space in the node_modules folder.

I know, I wrote that patch (and maintain caniuse-lite). 😄
The current release candidate of cssnano (and by extension, postcss-merge-rules) already use it! We have to wait a little longer until 4.0 goes live "for real" but you can check it out by npm i cssnano@next. 👍
https://github.com/ben-eb/cssnano/releases/tag/v4.0.0-rc.0

Thank you!


Clean up unused variables

The variables "project" and "environment" were only used for tagging.
This limits the module to use a specific set of tags, which might not fit all use cases.
The user can still provide an arbitrary set of tags that fits their needs, via the tags variable.
I've still left the "domain" tag, as it does represent something relevant in the module.
Fixes #28

@duboisph fixed


Enhance NetworkImage

Description

Error handling when image url is invaild or not found.
iOS and Android support when loading.
Overall code refactoring.

Test Plan
none.
Related Issues
none.
Tests
none.
Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] Run yarn test or yarn test -u if you need to update snapshot.
[x] Run yarn lint
[x] I am willing to follow-up on review comments in a timely manner.

I'm experiencing strange behavior. See loading logo changes just before image is loaded.
https://user-images.githubusercontent.com/61503739/133429918-46924bbf-4068-4e18-804b-1c8bf1db51f0.mov


tidy up, all tests passing

This PR is the first one which has CI 🎉
The CI uses github actions, you can see the definition of what is running here: https://github.com/ICLRandD/Blackstone/blob/master/.github/workflows/main.yml
Every time a PR is opened, it will run, making it easy to keep the tests working etc.
In this PR i've cleaned up a few function names which don't use PEP8 snake case style, as well as adding a mock test for the legislation linker, because it makes get requests to a website, which we shouldn't do if we are running this on every commit.

FYI @ICLRandD


String variable?

I'm embarrassed to ask this, but how does one create a simple string variable?
I'd like to fill the array below with a string:
+ Response 401 (application/vnd.api+json)

    Something back.

    + Attributes (object)
        + errors (array[My Var Here, My Second Var Here])

I'd like the response to look like the following in JSON:
{
  "errors": [
    "My var value here!",
    "My second var value here!"
  ]
}

Maybe you are searching for array[string]?
+ Response 401 (application/vnd.api+json)

    Something back.

    + Attributes (object)
        + errors (array[string])

You can also add the two sample values, for example:
+ Response 401 (application/vnd.api+json)
    + Attributes (object)
        + errors (array)
            + `My var value here!`
            + `My second var value here!`

I'd like to reopen the issue.
yes, it is possible to specify the "example values" in this way, but the schema is generated without item type:
  + Response 422 (application/json)

    + Attributes
        + `errors` (array, required) - List of Validation Errors
            + `password couldn't be empty` (string)
            + `email must be a valid email` (string)

The Body Example:
{
  "errors": [
    "password couldn't be empty",
    "email must be a valid email"
  ]
}

The json-schema:
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "errors": {
      "type": "array",
      "description": "List of Validation Errors"
    }
  },
  "required": [
    "errors"
  ]
}

So, the schema must be fixed.

@DScheglov What type of schema are you looking for, could you provide an example please?

Hey, @kylef
The full sample is bellow:
FORMAT: 1A

# User Management

## Sign Up [POST /sign-up]

Creates a new user

+ Request (application/json)

    + Attributes (object)
        + `email`<EMAIL_ADDRESS>(string, required) - User E-Mail
        + `password`: `SomeRandomPa55word!` (string, required) - User Password

+ Response 200 (application/json)

    + Attributes
        + One Of
            + data (object, fixed-type)
                + `id`: `79d3d4a4-491f-4f07-b971-a4891d6e0208` (string, required) - Id of User Account
                + `email`<EMAIL_ADDRESS>(string, required) - User E-Mail
                + `token`: `<some-jwt>` (string, required) - Access Token
                + `refreshToken`: `<some-jwt>` (string, required) - Refresh Token
            + error (object, fixed-type)
                + code: `EPASSWORD_TOO_SHORT` (enum, required) - The Error Code
                    + `EPASSWORD_TOO_SHORT`
                    + `EPASSWORD_TOO_SIMPLE`
                    + `EPASSWORD_TOO_WIDELY_USED`
                    + `EUSER_IS_ALREADY_REGISTERED`
                + message: `Password is too short` (string, required) - The Error Message

+ Response 400

        Bad Request

+ Response 404

        Not Found

+ Response 422 (application/json)

    + Attributes
        + `errors` (array[string], required) - List of Validation Errors
            + `password couldn't be empty` (string)
            + `email must be a valid email` (string)

+ Response 500

        Internal Error

The screenshot from the Apiary Editor

and what JSON Schema are you looking for? I'm asking for the schema as its not clear what you are trying to achieve.

@kylef
oh, my bad ...
The expected schema is:
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "errors": {
      "type": "array",
      "items": {
         "type": "string"
      },
      "description": "List of Validation Errors"
    }
  },
  "required": [
    "errors"
  ]
}

The items is described here: https://json-schema.org/understanding-json-schema/reference/array.html#items

Oh, actually it seems it is another bug, doesn't related the sampling for string arrays, because the items is not generated even if samples are not specified.
Sorry for that.

If you use the fixed-type keyword on the array definition an items fixing the type to string should end up in the schema:
## Errors (object)
+ `errors` (array[string], fixed-type, required) - List of Validation Errors
    + `password couldn't be empty` (string)
    + `email must be a valid email` (string)

The documentation for this part can be found in:
https://apiblueprint.org/documentation/mson/cheatsheet.html#arrays
I will note that there will be two differences between the generated schema and your example:

The generator will wrap the items components in an anyOf. There's an optimisation to remove this in https://github.com/apiaryio/drafter/pull/789 which hasn't yet been deployed to Apiary.
A description will not be present in generated JSON Schemas. The JSON Schema's are generated for validation only and not documentation purposes

@kylef ,
@kylef
Thank you for fast answer.
But it seems excessive to specify fixed-type after array[Type], or not?
If someone doesn't want to specify the items type they can just omit it and specify just array.
So, actually it is just an opinion.
Thank you for your answser and for the Project.


test: add tests for git root detection

This commit also allows the in_prepared_repo harness to pass its directory to the function it wraps, which is necessary to check the root directory.
This helps with validation and checks of the git root directory, should help with avoiding the problem that cropped up in #575.

Keep up the great work 🥳


[Suggestion] Tool to replace/upgrade a chain of conduits

When progressing through the different tiers of power and fluid conduits there always comes the time, when you have to rip out all your old stuff and replace them with higher tier conduits.
I propose a tool, that works similar to the Wand of Equal Trade from Thaumcraft - only for conduits.
It would probably have to have different Modes for Fluids, Energy and possibly AE, just like the YETA wrench. Then on click it would try to traverse the network of the selected conduit type and replace each with a previously selected type in the players inventory remembering the connection settings and ideally giving out a chat massage, if it runs out of conduits before finishing the whole network. That last part is only, so that you don't end up with incompatible conduits next to each other without noticing.

that's a really cool but remembering the conduit setting ? that's one hard thing to do , however you can just use the Conduit Probe to copy/paste a setting from one conduit to another from the same tier
for now Yeta wrench + Conduit Probe is more than enough because it's so easy to get the highest energy tier once you get access to ender pearls

I like this idea.
Then again, EnderIO only has 3 conduit tiers, so you'll not replace them that often.

try held higher conduit in your hand and simply click on lower conduit:)


[Bug] Massive Server Lag

Minecraft Version

[ ] 1.12.2 (End of support)
[ ] 1.16.5
[ ] 1.18.2
[ ] 1.19.2
[X] 1.20/1.20.1

What happened?

Server lag even when no maids spawned in the world

Relevant log output
https://spark.lucko.me/vhlgmNIh6x

Contact Details
No response

The link has expired

oVgVHMHttB.sparkprofile.zip


[SPARK-49204][SQL][FOLLOWUP] Fix IndexOutOfBoundsException when dealing with surrogate pairs

What changes were proposed in this pull request?
Modified the StringLocate ICU codepath and added a codepoint count check for the provided offset.
Why are the changes needed?
Currently, doing the following throws an java.lang.IndexOutOfBoundsException.
select position('asd' COLLATE UNICODE, 'a', 10)

while the correct behavior is to return an false match result (0).
Does this PR introduce any user-facing change?
Yes, fixes the java.lang.IndexOutOfBoundsException error.
How was this patch tested?
New test cases in this PR.
Was this patch authored or co-authored using generative AI tooling?
No

Adding @uros-db to take a look.

I think you misunderstood the nature of the fix here.
As stated in the description, the addressed issue is only for UNICODE code path (for non empty strings).

yes, I see the fix in this PR is regarding non-empty patterns - however, please add these tests with empty patterns as well

@stevomitric Highly likely this GA Run / Protobuf breaking change detection and Python CodeGen check is not related to your changes. Could you re-run this failed GA only.

All tests passed. Pinging @MaxGekk

Checks passed. @MaxGekk

+1, LGTM. Merging to master.
Thank you, @stevomitric and @uros-db for review.

@stevomitric Just to double check, only master suffers from the issue, correct?


Docstring improvements

Changes

Improvements to the codebase docstrings to provide additional information
Added a new example to show the top level validation process
Updated the setup.py build to 0.3.1

Codecov Report
Base: 99.65% // Head: 99.66% // Increases project coverage by +0.01% :tada:

Coverage data is based on head (976d78f) compared to base (b28bea2).
Patch coverage: 100.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@                Coverage Diff                 @@
##           v0.3.1-release      #54      +/-   ##
==================================================
+ Coverage           99.65%   99.66%   +0.01%
==================================================
  Files                  27       27
  Lines                 863      890      +27
==================================================
+ Hits                  860      887      +27
  Misses                  3        3

Impacted Files
Coverage Δ

yamlator/cmd/outputs/json_output.py
100.00% <ø> (ø)

yamlator/cmd/outputs/table_output.py
100.00% <ø> (ø)

yamlator/cmd/outputs/yaml_output.py
100.00% <ø> (ø)

yamlator/validators/any_type_validator.py
100.00% <ø> (ø)

yamlator/validators/base_validator.py
100.00% <ø> (ø)

yamlator/validators/builtin_type_validator.py
100.00% <ø> (ø)

yamlator/validators/core.py
100.00% <ø> (ø)

yamlator/validators/entry_point_validator.py
100.00% <ø> (ø)

yamlator/validators/enum_type_validator.py
100.00% <ø> (ø)

yamlator/validators/list_validator.py
100.00% <ø> (ø)

... and 13 more

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

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


Point XVIZStyleParser API doc to the right md file

Fix #359.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Note: I haven't tested this by building the docs; I made the change on github.com.

Looks good to me, thanks for the contribution.


Successfully build the source code

@MBhavishya @koustavpan You may have already cloned the repo by now. Going further, the task is to compile/build and test that source code by running:
yarn build
yarn test

in the terminal.
Seek help from @qur786 in order to set up the development environment if needed.
Setting up the VSCode dev container is a convenient way to move forward. Ref: https://code.visualstudio.com/docs/remote/containers. It involves installing Docker.
You may want to refer to https://github.com/manufac-analytics/inchi#how-to-use-this-library as well if you can't install Docker for some reason. Low RAM (<= 4 GB) may not work well with Docker.

Please comment on this issue when you are done.

Successfully ran the yarn build and test commands.

Successfully ran the yarn build and test commands.

Done with issued task, successfully ran the commands.


Maybe package dependencies removal problem

I am just playing with vcpkg. I installed the packages boost-test and boost-spirit.
A lot of other boost packages were installed. I then decided to remove the boost-test and boost-spirit. However their dependencies are still in buildtrees folder, and vcpkg thinks they are not installed.
I verified this by issuing the vcpkg list command.
Besides boost ones, I only installed curl and curlpp.

<vcpkg-root>\buildtrees is only a working folder while building the port.
vcpkg uses the <vcpkg-root>\installed\<triplet>\ folder when used with your development tools.
You can either delete the folders in buildtrees manually, or use the --clean-after-build option to have them automatically removed after the port is successfully built, or leave them there if you have the disk space.
Note: --clean-after-build deletes the port download file in <vcpkg-root>\downloads, package files in <vcpkg-root>\packages\<port><triplet> and the <vcpkg-root>\buildtrees folder after successful build of each port.

--clean-after-build deletes the port download file in \downloads

does this also apply if enviromnent variable VCPKG_DOWNLOADS is set ?

Thank you for a reply. Wonder why GitHub doesn't notify me via email like in the past that someone commented something.
Just thought that my ticket were ignored completely. Now I will check everything I reported just to be sure.

--clean-after-build deletes the port download file in \downloads

does this also apply if environment variable VCPKG_DOWNLOADS is set ?

@Neumann-A  Yes, I found this out by accident one day. LOL looking backup.

I have a common folder set VCPKG_DOWNLOADS=D:\Git\vcpkg.downloads for all the instances of vcpkg I have installed (vs2017 prod and test, vs2019 prod and test).
I was testing the different command line options for vcpkg  and used the --clean-after-build option.
It not only deleted the port source download but all the downloaded port sources.
Luckily I keep a backup of this folder in my daily backup scheme.

@timautry: vcpkg should probably not clean a globally set download folder.  Is there another options which does not affect the download folder? If not there should probably be an issue opened about that behavior.

@Neumann-A
I did a quick test with these results:

I created and instance
vcpkg install bzip2:x64-windows
/buildtrees, /downloads and /packages all have folders with contents relating to bzip2
The downloads folder also has the appropriate downloaded tools needed by vcpkg
vcpkg install zlib:x64-windows --clean-after-build
6 /buildtrees has both bzip2 and zlib folders, bzip2 has all the original contents, zlib only has the logs created during the build, no source, debug or release folders
/packages still has the bzip2 folder but as expected no zlib folder
/downloads was completely clean except /tools and /temp folders
in essence as you mentioned the /downloads should have only deleted the zlib download, not the  bzip2 and the tool download, aka the 7zip, nuget and powershell downloads.
I will submit an issue for this... https://github.com/microsoft/vcpkg/issues/11528
Thank you very much and have a wonderful weekend.


VS2017 make fails

I have set the 64-bit target in CMake but it seemed doesn't work. Does this library support to be generated by VS2017?

Yes, I use VS 2017 too.
Which errors did you get?

@janbender What generator are you using? I am using -G "Visual Studio 15 2017 Win64", but when I try compiling I get a complaint that the paths are too deep (what year is it again?). I'm wondering if you are using a different generator and so don't run into this?
      Build started 4/2/2018 5:18:29 PM.
4>      Project "D:\projects\InteractiveComputerGraphics\SPlisHSPlasH\extern\PositionBasedDynamics\src\ExternalProject_PositionBasedDynamics\extern\Discregrid\src\ExternalProject_Discregrid-build\CMakeFiles\CMakeTmp\cmTC_5273d.vcxproj" on node 1 (default targets).
4>      PrepareForBuild:
4>        Creating directory "cmTC_5273d.dir\Debug\".
4>        Creating directory "D:\projects\InteractiveComputerGraphics\SPlisHSPlasH\extern\PositionBasedDynamics\src\ExternalProject_PositionBasedDynamics\extern\Discregrid\src\ExternalProject_Discregrid-build\CMakeFiles\CMakeTmp\Debug\".
4>        Creating directory "cmTC_5273d.dir\Debug\cmTC_5273d.tlog\".
4>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(321,5): error MSB3491: Could not write lines to file "cmTC_5273d.dir\Debug\cmTC_5273d.tlog\cmTC_5273d.lastbuildstate". The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. [D:\projects\InteractiveComputerGraphics\SPlisHSPlasH\extern\PositionBasedDynamics\src\ExternalProject_PositionBasedDynamics\extern\Discregrid\src\ExternalProject_Discregrid-build\CMakeFiles\CMakeTmp\cmTC_5273d.vcxproj] [D:\projects\InteractiveComputerGraphics\SPlisHSPlasH\extern\PositionBasedDynamics\src\ExternalProject_PositionBasedDynamics-build\ExternalProject_Discregrid.vcxproj]
4>      Done Building Project "D:\projects\InteractiveComputerGraphics\SPlisHSPlasH\extern\PositionBasedDynamics\src\ExternalProject_PositionBasedDynamics\extern\Discregrid\src\ExternalProject_Discregrid-build\CMakeFiles\CMakeTmp\cmTC_5273d.vcxproj" (default targets) -- FAILED.
4>
4>      Build FAILED.

I use the same generator. Did you try to use a shorter base path like "D:\projects\ICG\SPlisHSPlasH"? I never had this problem before but I will try to find a better solution.

Hello! I have tried several times after that but it seemed doesn't work...Here is my generator information.("Visual Studio 15 2017 win64")
3>Performing update step for 'ExternalProject_PositionBasedDynamics'
1>No patch step for 'ExternalProject_CompactNSearch'
1>Performing configure step for 'ExternalProject_CompactNSearch'
3>No patch step for 'ExternalProject_PositionBasedDynamics'
1>CMake Error : error : generator : Visual Studio 15 2017 Win64
1>Does not match the generator used previously: Visual Studio 15 2017
1>Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.
1>Done building project "ExternalProject_CompactNSearch.vcxproj" -- FAILED.
4>------ Build started: Project: StaticBoundaryDemo, Configuration: Debug x64 ------
3>Performing configure step for 'ExternalProject_PositionBasedDynamics'
3>CMake Error : error : generator : Visual Studio 15 2017 Win64
3>Does not match the generator used previously: Visual Studio 15 2017
3>Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.
3>Done building project "ExternalProject_PositionBasedDynamics.vcxproj" -- FAILED.
5>------ Build started: Project: DynamicBoundaryDemo, Configuration: Debug x64 ------
4>   Creating library E:/SPlisHSPlasH/Demos/StaticBoundaryDemo/Debug/StaticBoundaryDemo_d.lib and object E:/SPlisHSPlasH/Demos/StaticBoundaryDemo/Debug/StaticBoundaryDemo_d.exp
5>Simulation_d.lib(Constraints.obj) : fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'x64'
5>Done building project "DynamicBoundaryDemo.vcxproj" -- FAILED.
4>SPlisHSPlasH_d.lib(FluidModel.obj) : error LNK2019: unresolved external symbol "public: __cdecl CompactNSearch::NeighborhoodSearch::NeighborhoodSearch(double,bool)" (??0NeighborhoodSearch@CompactNSearch@@QEAA@N_N@Z) referenced in function "public: void __cdecl SPH::FluidModel::initModel(unsigned int,class Eigen::Matrix<double,3,1,0,3,1> *,class Eigen::Matrix<double,3,1,0,3,1> *,unsigned int)" (?initModel@FluidModel@SPH@@QEAAXIPEAV?$Matrix@N$02$00$0A@$02$00@Eigen@@0I@Z)
4>SPlisHSPlasH_d.lib(FluidModel.obj) : error LNK2019: unresolved external symbol "public: void __cdecl CompactNSearch::NeighborhoodSearch::resize_point_set(unsigned int,double const *,unsigned __int64)" (?resize_point_set@NeighborhoodSearch@CompactNSearch@@QEAAXIPEBN_K@Z) referenced in function "public: virtual void __cdecl SPH::FluidModel::reset(void)" (?reset@FluidModel@SPH@@UEAAXXZ)
4>SPlisHSPlasH_d.lib(Emitter.obj) : error LNK2001: unresolved external symbol "public: void __cdecl CompactNSearch::NeighborhoodSearch::resize_point_set(unsigned int,double const *,unsigned __int64)" (?resize_point_set@NeighborhoodSearch@CompactNSearch@@QEAAXIPEBN_K@Z)
4>SPlisHSPlasH_d.lib(FluidModel.obj) : error LNK2019: unresolved external symbol "public: void __cdecl CompactNSearch::NeighborhoodSearch::find_neighbors(bool)" (?find_neighbors@NeighborhoodSearch@CompactNSearch@@QEAAX_N@Z) referenced in function "public: void __cdecl SPH::FluidModel::updateBoundaryPsi(void)" (?updateBoundaryPsi@FluidModel@SPH@@QEAAXXZ)
4>SPlisHSPlasH_d.lib(Simulation.obj) : error LNK2001: unresolved external symbol "public: void __cdecl CompactNSearch::NeighborhoodSearch::find_neighbors(bool)" (?find_neighbors@NeighborhoodSearch@CompactNSearch@@QEAAX_N@Z)
4>SPlisHSPlasH_d.lib(SimulationDataPCISPH.obj) : error LNK2001: unresolved external symbol "public: void __cdecl CompactNSearch::NeighborhoodSearch::find_neighbors(bool)" (?find_neighbors@NeighborhoodSearch@CompactNSearch@@QEAAX_N@Z)
4>SPlisHSPlasH_d.lib(FluidModel.obj) : error LNK2019: unresolved external symbol "public: void __cdecl CompactNSearch::NeighborhoodSearch::z_sort(void)" (?z_sort@NeighborhoodSearch@CompactNSearch@@QEAAXXZ) referenced in function "public: void __cdecl SPH::FluidModel::performNeighborhoodSearchSort(void)" (?performNeighborhoodSearchSort@FluidModel@SPH@@QEAAXXZ)
4>E:\SPlisHSPlasH-master\SPlisHSPlasH-master\extern\install\CompactNSearch\lib\CompactNSearch_d.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
4>E:\SPlisHSPlasH-master\SPlisHSPlasH-master\bin\StaticBoundaryDemo_d.exe : fatal error LNK1120: 4 unresolved externals
4>Done building project "StaticBoundaryDemo.vcxproj" -- FAILED.
6>------ Skipped Build: Project: ALL_BUILD, Configuration: Debug x64 ------
6>Project not selected to build for this solution configuration
========== Build: 1 succeeded, 4 failed, 12 up-to-date, 1 skipped ==========

I'm not sure what's happening so I tried to use "Visual Studio 15 2017" but it still failed.
I am confused about the error message 5>Simulation_d.lib(Constraints.obj) : fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'x64'. Does that mean the project included some lib compiled in x86 machine or there is something wrong of my configuration?(I used "Visual Studio 15 2017 win64" generator and the solution platforms is x64 exactly )

It seems that Cmake mixed x86 and x64 stuff. Did you try to generate it in a complete new and clean directory?

Hello,
I am having trouble generating the cmake cache using Visual Studio. Could you tell me which configurations you used in Visual Studio to generate the chache?

CMake 3.9.5, Configuration "Visual Studio 15 2017 Win64"

I had this issue. It was because I'd run cmake without specifying the generator first. Clearing the cache doesn't suffice. You have to remove the external project files that were built (i.e. make a fresh clone). File this one under user error.


merge from arlac77/template-github,arlac77/template-kronos-component

package.json

chore(deps): add ^13.0.2 remove ^13.0.1 (devDependencies.documentation)

Codecov Report

Merging #737 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #737   +/-   ##
=======================================
  Coverage   81.48%   81.48%
=======================================
  Files           7        7
  Lines         378      378
  Branches       16       16
=======================================
  Hits          308      308
  Misses         70       70

Continue to review full report at Codecov.

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


Make it possible to apply separate transformations to data splits

Currently when we do the following, the same transformations are applied to the training, validation and test set.
transforms = Compose([...])
fsdd = TorchFSDDGenerator(version='master', transforms=transforms)
train_set, val_set, test_set = fsdd.train_val_test_split(test_size=0.15, val_size=0.15)

This obviously isn't ideal as there are some transformations (such as data augmentations) that you might want to apply to different splits.

Closed as this is actually already possible by doing the following.
transforms = {'train': Compose([...]), 'val': Compose([...]), 'test': Compose([...])}

# Load splits
fsdd = TorchFSDDGenerator(version='master')
train_set, val_set, test_set = fsdd.train_val_test_split(test_size=0.15, val_size=0.15)

# Set transforms
train_set.transforms = transforms['train']
val_set.transforms = transforms['val']
test_set.transforms = transforms['test']


Can Adldap::search and Adldap::auth()->attempt but cannot Auth::attempt

Laravel Version: 5.6
Adldap2-Laravel Version: v4.0.6
PHP Version: 7.2
LDAP Type: Active Directory

config/auth.php:

        'users' => [
            'driver' => 'adldap', // was eloquent
            'model' => App\Models\User::class,
        ]

adldap_auth:
return [

    /*
    |--------------------------------------------------------------------------
    | Connection
    |--------------------------------------------------------------------------
    |
    | The LDAP connection to use for laravel authentication.
    |
    | You must specify connections in your `config/adldap.php` configuration file.
    |
    | This must be a string.
    |
    */

    'connection' => env('ADLDAP_CONNECTION', 'default'),

    /*
    |--------------------------------------------------------------------------
    | Provider
    |--------------------------------------------------------------------------
    |
    | The LDAP authentication provider to use depending
    | if you require database synchronization.
    |
    | For synchronizing LDAP users to your local applications database, use the provider:
    |
    | Adldap\Laravel\Auth\DatabaseUserProvider::class
    |
    | Otherwise, if you just require LDAP authentication, use the provider:
    |
    | Adldap\Laravel\Auth\NoDatabaseUserProvider::class
    |
    */

    'provider' => Adldap\Laravel\Auth\DatabaseUserProvider::class,

    /*
    |--------------------------------------------------------------------------
    | Rules
    |--------------------------------------------------------------------------
    |
    | Rules allow you to control user authentication requests depending on scenarios.
    |
    | You can create your own rules and insert them here.
    |
    | All rules must extend from the following class:
    |
    |   Adldap\Laravel\Validation\Rules\Rule
    |
    */

    'rules' => [

        // Denys deleted users from authenticating.

        Adldap\Laravel\Validation\Rules\DenyTrashed::class,

        // Allows only manually imported users to authenticate.

        // Adldap\Laravel\Validation\Rules\OnlyImported::class,

    ],

    /*
    |--------------------------------------------------------------------------
    | Scopes
    |--------------------------------------------------------------------------
    |
    | Scopes allow you to restrict the LDAP query that locates
    | users upon import and authentication.
    |
    | All scopes must implement the following interface:
    |
    |   Adldap\Laravel\Scopes\ScopeInterface
    |
    */

    'scopes' => [

        // Only allows users with a user principal name to authenticate.
        // Remove this if you're using OpenLDAP.
        Adldap\Laravel\Scopes\UpnScope::class,

        // Only allows users with a uid to authenticate.
        // Uncomment if you're using OpenLDAP.
        // Adldap\Laravel\Scopes\UidScope::class,

    ],

    'usernames' => [

        /*
        |--------------------------------------------------------------------------
        | LDAP
        |--------------------------------------------------------------------------
        |
        | Discover:
        |
        |   The discover value is the users attribute you would
        |   like to locate LDAP users by in your directory.
        |
        |   For example, using the default configuration below, if you're
        |   authenticating users with an email address, your LDAP server
        |   will be queried for a user with the a `userprincipalname`
        |   equal to the entered email address.
        |
        | Authenticate:
        |
        |   The authenticate value is the users attribute you would
        |   like to use to bind to your LDAP server.
        |
        |   For example, when a user is located by the above 'discover'
        |   attribute, the users attribute you specify below will
        |   be used as the username to bind to your LDAP server.
        |
        */

        'ldap' => [

            'discover' => 'samaccountname',

            'authenticate' => 'distinguishedname',

        ],

        /*
        |--------------------------------------------------------------------------
        | Eloquent
        |--------------------------------------------------------------------------
        |
        | The value you enter is the database column name used for locating
        | the local database record of the authenticating user.
        |
        | If you're using a `username` column instead, change this to `username`.
        |
        | This option is only applicable to the DatabaseUserProvider.
        |
        */

        'eloquent' => 'UserLogin',

        /*
        |--------------------------------------------------------------------------
        | Windows Authentication (SSO)
        |--------------------------------------------------------------------------
        |
        | Discover:
        |
        |   The 'discover' value is the users attribute you would
        |   like to locate LDAP users by in your directory.
        |
        |   For example, if 'samaccountname' is the value, then your LDAP server is
        |   queried for a user with the 'samaccountname' equal to the value of
        |   $_SERVER['AUTH_USER'].
        |
        |   If a user is found, they are imported (if using the DatabaseUserProvider)
        |   into your local database, then logged in.
        |
        | Key:
        |
        |    The 'key' value represents the 'key' of the $_SERVER
        |    array to pull the users account name from.
        |
        |    For example, $_SERVER['AUTH_USER'].
        |
        */

        'windows' => [

            'discover' => 'samaccountname',

            'key' => 'AUTH_USER',

        ],

    ],

    'passwords' => [

        /*
        |--------------------------------------------------------------------------
        | Password Sync
        |--------------------------------------------------------------------------
        |
        | The password sync option allows you to automatically synchronize users
        | LDAP passwords to your local database. These passwords are hashed
        | natively by Laravel using the bcrypt() method.
        |
        | Enabling this option would also allow users to login to their accounts
        | using the password last used when an LDAP connection was present.
        |
        | If this option is disabled, the local database account is applied a
        | random 16 character hashed password upon every login, and will
        | lose access to this account upon loss of LDAP connectivity.
        |
        | This option must be true or false and is only applicable
        | to the DatabaseUserProvider.
        |
        */

        'sync' => env('ADLDAP_PASSWORD_SYNC', false),

        /*
        |--------------------------------------------------------------------------
        | Column
        |--------------------------------------------------------------------------
        |
        | This is the column of your users database table
        | that is used to store passwords.
        |
        | Set this to `null` if you do not have a password column.
        |
        | This option is only applicable to the DatabaseUserProvider.
        |
        */

        'column' => 'password',

    ],

    /*
    |--------------------------------------------------------------------------
    | Login Fallback
    |--------------------------------------------------------------------------
    |
    | The login fallback option allows you to login as a user located on the
    | local database if active directory authentication fails.
    |
    | Set this to true if you would like to enable it.
    |
    | This option must be true or false and is only
    | applicable to the DatabaseUserProvider.
    |
    */

    'login_fallback' => env('ADLDAP_LOGIN_FALLBACK', false),

    /*
    |--------------------------------------------------------------------------
    | Sync Attributes
    |--------------------------------------------------------------------------
    |
    | Attributes specified here will be added / replaced on the user model
    | upon login, automatically synchronizing and keeping the attributes
    | up to date.
    |
    | The array key represents the users Laravel model key, and
    | the value represents the users LDAP attribute.
    |
    | This option must be an array and is only applicable
    | to the DatabaseUserProvider.
    |
    */

    'sync_attributes' => [

        'name' => 'cn'

    ],

    /*
    |--------------------------------------------------------------------------
    | Logging
    |--------------------------------------------------------------------------
    |
    | User authentication attempts will be logged using Laravel's
    | default logger if this setting is enabled.
    |
    | No credentials are logged, only usernames.
    |
    | This is usually stored in the '/storage/logs' directory
    | in the root of your application.
    |
    | This option is useful for debugging as well as auditing.
    |
    | You can freely remove any events you would not like to log below,
    | as well as use your own listeners if you would prefer.
    |
    */

    'logging' => [

        'enabled' => true,

        'events' => [

            \Adldap\Laravel\Events\Importing::class => \Adldap\Laravel\Listeners\LogImport::class,
            \Adldap\Laravel\Events\Synchronized::class => \Adldap\Laravel\Listeners\LogSynchronized::class,
            \Adldap\Laravel\Events\Synchronizing::class => \Adldap\Laravel\Listeners\LogSynchronizing::class,
            \Adldap\Laravel\Events\Authenticated::class => \Adldap\Laravel\Listeners\LogAuthenticated::class,
            \Adldap\Laravel\Events\Authenticating::class => \Adldap\Laravel\Listeners\LogAuthentication::class,
            \Adldap\Laravel\Events\AuthenticationFailed::class => \Adldap\Laravel\Listeners\LogAuthenticationFailure::class,
            \Adldap\Laravel\Events\AuthenticationRejected::class => \Adldap\Laravel\Listeners\LogAuthenticationRejection::class,
            \Adldap\Laravel\Events\AuthenticationSuccessful::class => \Adldap\Laravel\Listeners\LogAuthenticationSuccess::class,
            \Adldap\Laravel\Events\DiscoveredWithCredentials::class => \Adldap\Laravel\Listeners\LogDiscovery::class,
            \Adldap\Laravel\Events\AuthenticatedWithWindows::class => \Adldap\Laravel\Listeners\LogWindowsAuth::class,
            \Adldap\Laravel\Events\AuthenticatedModelTrashed::class => \Adldap\Laravel\Listeners\LogTrashedModel::class,

        ],
    ],

];

adldap:
<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Connections
    |--------------------------------------------------------------------------
    |
    | This array stores the connections that are added to Adldap. You can add
    | as many connections as you like.
    |
    | The key is the name of the connection you wish to use and the value is
    | an array of configuration settings.
    |
    */

    'connections' => [

        'default' => [

            /*
            |--------------------------------------------------------------------------
            | Auto Connect
            |--------------------------------------------------------------------------
            |
            | If auto connect is true, Adldap will try to automatically connect to
            | your LDAP server in your configuration. This allows you to assume
            | connectivity rather than having to connect manually
            | in your application.
            |
            | If this is set to false, you **must** connect manually before running
            | LDAP operations.
            |
            */

            'auto_connect' => env('ADLDAP_AUTO_CONNECT', true),

            /*
            |--------------------------------------------------------------------------
            | Connection
            |--------------------------------------------------------------------------
            |
            | The connection class to use to run raw LDAP operations on.
            |
            | Custom connection classes must implement:
            |
            |  Adldap\Connections\ConnectionInterface
            |
            */

            'connection' => Adldap\Connections\Ldap::class,

            /*
            |--------------------------------------------------------------------------
            | Schema
            |--------------------------------------------------------------------------
            |
            | The schema class to use for retrieving attributes and generating models.
            |
            | You can also set this option to `null` to use the default schema class.
            |
            | For OpenLDAP, you must use the schema:
            |
            |   Adldap\Schemas\OpenLDAP::class
            |
            | For FreeIPA, you must use the schema:
            |
            |   Adldap\Schemas\FreeIPA::class
            |
            | Custom schema classes must implement Adldap\Schemas\SchemaInterface
            |
            */

            'schema' => Adldap\Schemas\ActiveDirectory::class,

            /*
            |--------------------------------------------------------------------------
            | Connection Settings
            |--------------------------------------------------------------------------
            |
            | This connection settings array is directly passed into the Adldap constructor.
            |
            | Feel free to add or remove settings you don't need.
            |
            */

            'connection_settings' => [

                /*
                |--------------------------------------------------------------------------
                | Account Prefix
                |--------------------------------------------------------------------------
                |
                | The account prefix option is the prefix of your user accounts in LDAP directory.
                |
                | This string is prepended to authenticating users usernames.
                |
                */

                'account_prefix' => env('ADLDAP_ACCOUNT_PREFIX', ''),

                /*
                |--------------------------------------------------------------------------
                | Account Suffix
                |--------------------------------------------------------------------------
                |
                | The account suffix option is the suffix of your user accounts in your LDAP directory.
                |
                | This string is appended to authenticating users usernames.
                |
                */

                'account_suffix' => env('ADLDAP_ACCOUNT_SUFFIX', ''),

                /*
                |--------------------------------------------------------------------------
                | Domain Controllers
                |--------------------------------------------------------------------------
                |
                | The domain controllers option is an array of servers located on your
                | network that serve Active Directory. You can insert as many servers or
                | as little as you'd like depending on your forest (with the
                | minimum of one of course).
                |
                | These can be IP addresses of your server(s), or the host name.
                |
                */

                'domain_controllers' => explode(' ', env('ADLDAP_CONTROLLERS', 'ad4.network.company.com')),

                /*
                |--------------------------------------------------------------------------
                | Port
                |--------------------------------------------------------------------------
                |
                | The port option is used for authenticating and binding to your LDAP server.
                |
                */

                'port' => env('ADLDAP_PORT', 389),

                /*
                |--------------------------------------------------------------------------
                | Timeout
                |--------------------------------------------------------------------------
                |
                | The timeout option allows you to configure the amount of time in
                | seconds that your application waits until a response
                | is received from your LDAP server.
                |
                */

                'timeout' => env('ADLDAP_TIMEOUT', 5),

                /*
                |--------------------------------------------------------------------------
                | Base Distinguished Name
                |--------------------------------------------------------------------------
                |
                | The base distinguished name is the base distinguished name you'd
                | like to perform query operations on. An example base DN would be:
                |
                |        dc=corp,dc=acme,dc=org
                |
                | A correct base DN is required for any query results to be returned.
                |
                */

                'base_dn' => env('ADLDAP_BASEDN', ''),

                /*
                |--------------------------------------------------------------------------
                | Administrator Account Suffix / Prefix
                |--------------------------------------------------------------------------
                |
                | This option allows you to set a different account prefix and suffix
                | for your configured administrator account upon binding.
                |
                | If left empty or set to `null`, your `account_prefix` and
                | `account_suffix` options above will be used.
                |
                */

                'admin_account_prefix' => env('ADLDAP_ADMIN_ACCOUNT_PREFIX', ''),
                'admin_account_suffix' => env('ADLDAP_ADMIN_ACCOUNT_SUFFIX', ''),

                /*
                |--------------------------------------------------------------------------
                | Administrator Username & Password
                |--------------------------------------------------------------------------
                |
                | When connecting to your LDAP server, a username and password is required
                | to be able to query and run operations on your server(s). You can
                | use any user account that has these permissions. This account
                | does not need to be a domain administrator unless you
                | require changing and resetting user passwords.
                |
                */

                'admin_username' => env('ADLDAP_ADMIN_USERNAME', ''),
                'admin_password' => env('ADLDAP_ADMIN_PASSWORD', ''),

                /*
                |--------------------------------------------------------------------------
                | Follow Referrals
                |--------------------------------------------------------------------------
                |
                | The follow referrals option is a boolean to tell active directory
                | to follow a referral to another server on your network if the
                | server queried knows the information your asking for exists,
                | but does not yet contain a copy of it locally.
                |
                | This option is defaulted to false.
                |
                */

                'follow_referrals' => false,

                /*
                |--------------------------------------------------------------------------
                | SSL & TLS
                |--------------------------------------------------------------------------
                |
                | If you need to be able to change user passwords on your server, then an
                | SSL or TLS connection is required. All other operations are allowed
                | on unsecured protocols.
                |
                | One of these options are definitely recommended if you
                | have the ability to connect to your server securely.
                |
                */

                'use_ssl' => env('ADLDAP_USE_SSL', true),
                'use_tls' => env('ADLDAP_USE_TLS', false),

            ],

        ],

    ],

];

env
ADLDAP_CONTROLLERS=ad4.network.company.com
ADLDAP_BASEDN="DC=network,DC=company,DC=com"

ADLDAP_ADMIN_USERNAME=ldapuser
ADLDAP_ADMIN_PASSWORD=password
<EMAIL_ADDRESS>
ADLDAP_LOGIN_FALLBACK=true
ADLDAP_AUTO_CONNECT=false
<EMAIL_ADDRESS>

Route

Route::get('/', function () {

    dd(Auth::attempt(['UserLogin' => 'sgarwood', 'password' => 'mypersonalpassword'])); // returns false
    dd(Adldap::search()->users()->find('Seb Garwood')->getCommonName()); // Works
    dd(Adldap::search()->where('cn', '=', 'Seb Garwood')->get()); // Works
});

Any help is much appreciated, I have been ripping my hair out for the past 2 days!!

Hey @sgarwood,
First issue is your sync_attributes. You're not syncing your users username:
// Current
'sync_attributes' => [

    'name' => 'cn'

],

// Should be
'sync_attributes' => [

    'userlogin' => 'samaccountname',
    'name' => 'cn',
],

This can cause an exception that you may not see, but is visible in your application logs.
I'll keep looking through you configs, but give that a go first.

Hi,
Thanks for the swift response.
Unfortunately that did not resolve it.
However when I checked the logs I can see at some point this, with some set of crednetials (not sure which ones I've changed so many since then) did actually work.
[2018-02-14 15:36:20] local.INFO: User 'Seb Garwood' has been successfully found for authentication.
[2018-02-14 15:36:20] local.INFO: User 'Seb Garwood' is being synchronized.
[2018-02-14 15:36:20] local.INFO: User 'Seb Garwood' has been successfully synchronized.
[2018-02-14 15:36:20] local.INFO: User 'Seb Garwood' is authenticating with username: 'CN=Seb Garwood,OU=Company Admins,OU=Company People,DC=network,DC=hgf,DC=com'
[2018-02-14 15:36:20] local.INFO: User 'Seb Garwood' has failed LDAP authentication.
[2018-02-14 15:36:23] local.INFO: User 'Seb Garwood' has been successfully found for authentication.
[2018-02-14 15:36:23] local.INFO: User 'Seb Garwood' is being synchronized.
[2018-02-14 15:36:23] local.INFO: User 'Seb Garwood' has been successfully synchronized.
[2018-02-14 15:36:23] local.INFO: User 'Seb Garwood' is authenticating with username: 'CN=Seb Garwood,OU=Company  Admins,OU=Company People,DC=network,DC=hgf,DC=com'
[2018-02-14 15:36:23] local.INFO: User 'Seb Garwood' has failed LDAP authentication.


Docspec is dead

This is the last of it, and I'm done for tonight. :)
A look at the diffs is pretty minor.

OT: Have you seen the todo I deleted in 13b3f49? Was it still valid?

Yes, I saw that. Thanks. The behavior appears to have gone away at some point.


Create a mediarestore command to reflect mediabackup (From TODO.md)

https://github.com/django-dbbackup/django-dbbackup/blob/5bb44b8a7ca4ae4bb973a88b44cf938431a88795/TODO.md

:+1:

Is someone working on this ?

I don't think anyone picked it up as a project yet.

It is not in my priorities because outside of FileSystemStorage mediarestore is useless. Backup a cloud ...
But I know it could be very useful for development files for example. So if you really need it, do not hesitate to tell us.

Thanks for your answer. In the case of my application https://github.com/StamusNetworks/scirius, I've got django objects and I've got a a list of directories with data provided by users. This data is essential for the application and I can not just have the Django objects. Si if I want to offer a real backup/restore to the user I need to be able to backup and restore this directories and the db at the same time.

@regit : Mediarestore is coming, unstable here: https://github.com/ZuluPro/django-dbbackup/tree/mediarestore


feat: add storage-calculator support to actions-handler

Checklist

[ ] Affected Issues have been mentioned in the Closing issues section
[ ] Documentation has been written/updated
[ ] PR title is ready for inclusion in changelog

To remove the storage-calculator from core, there needs to be a way for a storage-calculator running in the remote cluster to send messages to core.
This PR adds support to the actions-handler to be able to process storage updates from remote clusters, which will sit idle for the time being until the remote component can be released.
Additional functions have been added to the existing storage-calculator service in core to label namespaces with the enabled/disabled status prior to its removal. And the lagoon build function has been extended to provide the storageCalc field in builds so that remote-controller will eventually be able to set this label in the future.

Closing issues
N/A

I'd like to try and get this merged in before the next release if possible.
This is just adding support for a remote storage-calculator (https://github.com/uselagoon/storage-calculator) to be able to update storage in the API to the actions-handler, it won't do anything until the remote component comes is properly released


[WIP] Testing infrastructure (closes #297)

These commits provide configuration, documentation and several things more for facilitating the creation and maintenance of tests.
They are the implementation of https://github.com/ArkEcosystem/ark-desktop/issues/297.

This is WIP, but I'd be grateful for any comment

This is a good start.
I think that if the goal is to also refactor the apps index.html file, setting up the e2e tests for what's being refactored, beforehand, will make the process hopefully a bit easier to verify the refactor.

Sounds good! +5 👍🏻
Yeah @SBero, that would help a lot..


Sound not working in release mode

I've tried using a custom ringtone sound by using ringtonePath: system_ringtone_default,

I've also placed my custom ringtone file in your package's android/app/src/main/res/raw folder by renaming it to system_ringtone_default.mp3

Funny thing is, the custom ringtone actually works in debug mode, while the app is on foreground, background, locked screen, and even while terminated. But in release mode, I was unable to play the custom ringtone file. When I push the notification, it goes without any sound, completely silent.

please try using another name

I have the same issue.

I have the same Issue .


Add winget remove as an alias command for winget uninstall

Description of the new feature / enhancement
Most popular package managers (apt, dnf) have remove as the argument to uninstall/remove the packages from the system. I feel winget should also provide this functionality. This seems very easy to implement, and shouldn't take much time.
Cheers!
Proposed technical implementation details
When the argument parser reads remove, call the method to uninstall! As simple as that!

If anyone has any strong opinions on aliases, i.e, if any others should be added, please post a comment on the linked PR

See also: #2430


Modify routes name and overriding controllers

Hello,
I'm searching the way to :

Modify route name, example : rename route ../api/contacts to api/persons
Override a controller specific action for a given entity. example : to format returned string of a entity property.

Thanks for informations.

Call method initShortName in resource service with arguments: ["persons"]
https://api-platform.com/doc/1.0/api-bundle/controllers#using-a-custom-controller
Create custom action, next call method initCollectionOperations or initItemOperations (depends what you want achieve)

Thanks, first works like a charm
Second is harder to implements but looks like to fit :

Set the custom controller
Using services and above methods specify on which exposed entity apply the custom controller

If I understood all of this :)

Hello again, I'm having this issue.
Here is my controller :
// src\Nucleus\ContactBundle\Controller\EchangeController.php

<?php

namespace Nucleus\ContactBundle\Controller;

use Dunglas\ApiBundle\Controller\ResourceController;
use Symfony\Component\HttpFoundation\Request;

class EchangeController extends ResourceController
{
    public function cgetAction(Request $request)
    {
        $this->get('logger')->info('This is my custom controller.');
        return parent::cgetAction($request);
    }
}

And here is my service config file for the part of this controller call :
    resource.collection_operation.echange_cget:
      class:   "Dunglas\ApiBundle\Api\Operation\Operation"
      public:  false
      factory: [<EMAIL_ADDRESS>"createItemOperation" ]
      arguments:
          -<EMAIL_ADDRESS>          -    [ "CGET"]
          -    "/echanges"
          -    "NucleusContactBundle:Echange:cget"
          -    "filteredEchanges"
          -    # Context (will be present in Hydra documentation)
               "@type":       "hydra:Operation"
               "hydra:title": "A custom operation"
               "returns":     "xmls:string"

    resource.echange:
        parent:    "api.resource"
        arguments: [ "Nucleus\\ProspectBundle\\Entity\\Echange" ]
        calls:
            - [ "initCollectionOperations", [ [<EMAIL_ADDRESS>] ]
        tags:      [ { name: "api.resource" } ]

I tried every possibilities in service resource.collection_operation.echange_cget on how to call controller, no changes, createNotFoundException from ResourceController is always returned.
Any idea ? Thanks

@3kynox try using GET instead of CGET for the 2nd argument.

Thanks for answer @bwegrzyn but no changes, same error returned.

The fix suggested by @bwegrzyn should work. Have you cleared the cache?

Hi Dunglas, yes, I clear the cache every time I make any change in services.
I replaced CGET to GET. I moved my controller to another bundle where concerned entities resides (src\Nucleus\ProspectBundle\Controller\EchangeController.php).
Now my services looks like that :
    resource.collection_operation.echange_cget:
        class:   "Dunglas\ApiBundle\Api\Operation\Operation"
        public:  false
        factory: [<EMAIL_ADDRESS>"createItemOperation" ]
        arguments:
            -<EMAIL_ADDRESS>            -    [ "GET" ]
            -    "/echanges"
            -    "NucleusProspectBundle:Echange:cget"
            -    "filteredEchanges"
            -    "@type":       "hydra:Operation"
                 "hydra:title": "A custom operation"
                 "returns":     "xmls:string"

    resource.echange:
        parent:    "api.resource"
        arguments: [ "Nucleus\\ProspectBundle\\Entity\\Echange" ]
        calls:
            - method:    "initNormalizationContext"
              arguments:  [{ groups: [ "echanges" ] }]
            - method:    "initDenormalizationContext"
              arguments:  [{ groups: [ "echanges" ] }]
            - method:    "initCollectionOperations"
              arguments: [[<EMAIL_ADDRESS>]]
        tags:      [ { name: "api.resource" } ]

EchangeController got no new changes except namespace who had changed :

namespace Nucleus\ProspectBundle\Controller;

Using 1.1@beta of API-Bundle.
Tested with 2 projects, one using micro-framework, and one with full-stack Symfony project.
Still facing 404 Not Found - createNotFoundException.

Ok, finaly I can call my controller.
My dump mistake was I'm using "ROUTE NAME" parameter from my client instead of "PATH" parameter. It's a little confusing.
Anyway, I"m in need now to check now in my cget action custom call if a nested collection property (named 'rdv') is empty or not, and only displays results wich got this value empty.
Any example could be given achieving this or something like ?
Not a lot custom controller examples are available.
Also, while doing new v2 documentation, it could be great get more examples for everyone.
Thanks a lot !

Hi, I have a similar problem.
[http_response_code 500]
Error: Call to a member function getRouteName() on string
Any ideas to fix it ?
My services :
    resource.egpo_comments.collection_operation.cget:
        class:   "Dunglas\ApiBundle\Api\Operation\Operation"
        public:  false
        factory: [<EMAIL_ADDRESS>"createCollectionOperation" ]
        arguments:
            -<EMAIL_ADDRESS>              # Resource
            -    [ "GET" ]                              # Methods
            -    "/egpos/{id}/comments"                 # Path
            -    "AppBundle:EgpoComment:cget"           # Controller
            -    "www_egpo_comment"                     # Route name
            -    "@type":       "hydra:Operation"
                 "hydra:title": "A custom operation"
                 "returns":     "xmld:string"

    resource.egpoComment:
        parent:    "api.resource"
        arguments: [ "AppBundle\Entity\EgpoComment" ]
        calls:
            -      method:    "initCollectionOperations"
                   arguments: [ [ "resource.egpo_comments.collection_operation.cget" ] ]
        tags:      [ { name: "api.resource" } ]


Atom properties (Alias, Isotop (atomic mass) and Radical) are not implemented in Macro

Steps to Reproduce

Go to Molecules
Load from file: Atom properties (Alias, Isotop (atomic mass) and Radical) are not implemented in Macro.zip

Switch to Macro mode

Actual behavior
Alias, Isotop (atomic mass) and Radical are not shown on the Macro canvas

Expected behavior
Alias, Isotop (atomic mass) and Radical are shown on the Macro canvas

Versions

Ketcher Version 2.26.0-rc.1 Build at 2024-10-04; 18:45:04
Indigo Toolkit Version 1.25.0-rc.1.0-g704673fcb-wasm32-wasm-clang-19.0.0
Chrome Version 129.0.6668.90 (Official Build) (64-bit)
Win10

Issue found while testing: https://github.com/epam/ketcher/issues/5359

Not a but since no options where planed to be implemented


Added missing icons

This change is

Reviewed 5 of 6 files at r1.
Review status: 5 of 6 files reviewed at latest revision, 1 unresolved discussion.

a discussion (no related file):
Are these the new outline icons? Or the old v1 icons?

Comments from Reviewable

Reviewed 1 of 6 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable

Review status: all files reviewed at latest revision, 1 unresolved discussion.

a discussion (no related file):
Previously, romrell4 (Eric Romrell) wrote…
> Are these the new outline icons? Or the old v1 icons?

I got them from Kate

Comments from Reviewable

Review status: 5 of 6 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Reviewed 1 of 1 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


feat: upload sym files to s3 symsrv

No more warning about symbol store being too large
No need to update change version number
Faster crash processing times for apps that contain large amounts of symbols

Backend isn't ready yet


Enum from value deriving

Yeah! Tests are green :)

Found a bug in production, lemme see if I can add a test for that as well.

Sorry for getting back on this so late, Travis says:
  Line   src/helpers.php
 ------ -------------------------------------------------------
  346    Call to an undefined method Fpp\Deriving::useValue().

ping @paales