[FLINK-8067] User code ClassLoader not set before calling ProcessingTimeCallback

What is the purpose of the change
This pull request sets the user code class loader for the thread factory
Brief change log

Sets the user code class loader for the thread factory

Verifying this change
This change is already covered by existing tests*.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@pnowojski I've tried but it seams it's hard to do this. The class loader can not be accessed out of the class. @GJL any suggestion? Or need to test?

@yanghua why is it difficult? Can not you create more or less similar test to @GJL's testSetsUserCodeClassLoader from here: https://github.com/apache/flink/pull/4980/files. With couple side notes:

build MockEnvironment using MockEnvironmentBuilder with a custom user class loader - do not use mockito for that
create a stream task (reusing one of the implementation in StreamTaskTest.java or create a new one)
register a timer service, wait for it's triggering and assert the user class loader in ProcessingTimeCallback#onProcessingTime

cc @pnowojski please review this, thanks~

@pnowojski  test error has fixed~

cc @pnowojski does this PR look good to you?

👍 Yes, I have already approved it on github:

pnowojski approved these changes 23 hours ago

Thanks for the contribution! Merged.


Kubernetes stack

Docker composed stack has been removed https://github.com/vardius/go-api-boilerplate/issues/7
Fix makefile, remove generic tasks https://github.com/vardius/go-api-boilerplate/issues/1
Add kubernetes stack
Fix docker image from scratch

Codecov Report

Merging #8 into master will increase coverage by 0.41%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
+ Coverage   52.13%   52.55%   +0.41%
==========================================
  Files          18       18
  Lines         374      352      -22
==========================================
- Hits          195      185      -10
+ Misses        157      151       -6
+ Partials       22       16       -6

Impacted Files
Coverage Δ

...g/common/application/security/identity/identity.go
73.33% <ø> (+12.35%)
:arrow_up:

...on/infrastructure/commandbus/memory/command_bus.go
28.57% <21.05%> (+7.51%)
:arrow_up:

...common/infrastructure/eventbus/memory/event_bus.go
28.57% <80%> (+7.51%)
:arrow_up:

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 3ce93f3...7004da8. Read the comment docs.


Make it clear in the readme that this used to be Netlify CMS

Is your feature request related to a problem? Please describe.

I got an update about this project, but didn't know what it was anymore
Describe the solution you'd like

Some mention in readme that the old name / acknowledgement is Netlify CMS
Describe alternatives you've considered

There's already the tags, but they're easy to miss, but you definitely could put it in the description too?
Additional context

I used Netlify CMS a while in the past but wasn't aware of the rename

Good idea @Haroenv. Are you willing to open a PR?


Aggregating multiple BOHB-runs

@mlindauer @KEggensperger
How should multiple BOHB-runs be aggregated in one report? I remember that last time we talked this through, we decided to simply gather all data on a per-budget basis.
Should there be meta-information on the individual BOHB-runs?
Example:
Two BOHB-runs with budgets 10, 20, 40. I aggregate by just throwing all runs into the respective budget and I end up with one BOHB-run with budgets 10, 20, 40.
Also, if there are not the same budget's for some reason, I currently plan to just throw a ValueError. Do you agree?
Example of different budgets:
Two BOHB-runs, one with budgets 10, 20, 40; the other with budgets 5, 10, 40.
Should I somehow try to aggregate them?
ToDo:

[ ] refactor temporary folder structure to avoid having to use os.basename in every subroutine when working with BOHB-folders
[x] add MetaData-entry
[x] add option and datastructure in CLI
[ ] aggregate and check for unmatching budgets
[ ] while we're at it, also count NaN's and None's, integrate a crash-cost and add to MetaData

Fixed in 1.3.2


[RELEASE]  RELEASE.2022-08-11T00-30-48Z impacts the docs

The bugfix release, RELEASE.2022-08-11T00-30-48Z, has PRs that impact the docs:

[ ] mc ping is modified (this command is currently not documented) (PR #4163)
[x] mc admin top is renamed to mc support top (PR #4191) (already a docs issue at  #526)

Add mc ping to docs for the sake of completeness, but not as priority work.


Azure-ai-ml: Output wrongfully requires the output to be a file instead of folder.

Package Name:  azure-ai-ml
Package Version: 1.15.0
Operating System: windows
Python Version:  3.11

Describe the bug
In the following link it is specified that I can supply an output folder for a batch prediction like this:
https://learn.microsoft.com/en-us/azure/machine-learning/how-to-access-data-batch-endpoints-jobs?view=azureml-api-2&tabs=sdk#create-jobs-with-data-outputs
data_path = "batch-jobs/my-unique-path"
output = Output(type=AssetTypes.URI_FOLDER, path=f"{default_ds.id}/paths/{data_path})

job = ml_client.batch_endpoints.invoke(
   endpoint_name=endpoint.name,
   inputs={ "heart_dataset": input },
   outputs={ "score": output }
)

But when I do this I'm hit with the following error which states that it needs to be a file. This doesn't make sense to me since I want to use it for outputting multiple files like here: https://learn.microsoft.com/en-us/azure/machine-learning/how-to-deploy-model-custom-output?view=azureml-api-2&tabs=python#create-a-scoring-script
HttpResponseError: The Job request provided has the following validation errors. Please resolve them and try again.
Errors:
[
  {
    "PropertyName": "OutputData.Values[0].JobOutputType",
    "ErrorMessage": "Job output type must be 'uri_file'.",
    "AttemptedValue": "uri_folder",
    "ErrorCode": "PredicateValidator"
  }
]

Content: {
  "error": {
    "code": "UserError",
    "severity": null,
    "message": "The Job request provided has the following validation errors. Please resolve them and try again.\nErrors:\n[\n  {\n    \"PropertyName\": \"OutputData.Values[0].JobOutputType\",\n    \"ErrorMessage\": \"Job output type must be 'uri_file'.\",\n    \"AttemptedValue\": \"uri_folder\",\n    \"ErrorCode\": \"PredicateValidator\"\n  }\n]\n",
    "messageFormat": null,
    "messageParameters": null,
    "referenceCode": null,
    "detailsUri": null,
    "target": null,
    "details": [],
    "innerError": {
      "code": "BadArgument",
      "innerError": {
        "code": "ArgumentInvalid",
        "innerError": {
          "code": "InvalidInputArguments",
          "innerError": null
        }
      }
    },
    "debugInfo": null,
    "additionalInfo": null
  },
  "correlation": {
    "operation": "647da9fb8a3337d978c3bb7950dac655",
    "request": "ab349cea7d170b19"
  },
  "environment": "westeurope",
  "location": "westeurope",
  "time": "2024-04-17T14:14:31.512581+00:00",
  "componentName": "managementfrontend",
  "statusCode": 400
}

To Reproduce
Steps to reproduce the behavior:
1.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Hi @banibrata-de . I can see that you have been assigned. Have you been able to replicate? :-)

For extra context: https://feedback.azure.com/d365community/idea/6040f886-4409-ef11-a73c-6045bd7e8707

Hey @diondrapeck @banibrata-de . Sorry for tagging you if your are not the correct for this but do you have any update?


Made printing errors a generic function, added strlen to calculate the length automatically

@gkbrk Thanks man , looks great :+1:


Debug error in getParticipantData

Error message in console logs: Error in getParticipantData TypeError: r.split is not a function. This happened when I logged in using my username as "James", which exists. May be an error with retrieving data from a previously completed file.

[ ] Need to write a cypress test in which a user returns, and check that we properly recover existing data about them.

Replicated bug by:

Starting player 'James'
Stashing participantData/James.jsonl somewhere safe
Deleting tajriba.json and restarting the server
Making sure James.jsonl was in the participantData folder
Starting player 'James' again.

The error seems to be because we did not pass an encoding to const data = fs.readFileSync(fileName, "utf8");, and so it returned a buffer instead of a string.
Also noticed in fixing this that we are not reading the prior data properly either.


Documentation error, bad information for getDataReadyStatus

In the process of debugging the FRC library error - previous issue, I implemented scd4x.getDataReadyStatus(dataRdy);
The .h file says      * @param dataReady If last 11 bits are 0 data not ready, else data ready
So I implemented this but it didn't work. Printing out the dataReady byte shows that a value of 0x8006 indicates valid data.   When the FRC command failed, I would get results of 8000 and 0, but in both cases, the data was bad.
I don't really know what to test for because I don't know if the 0x8006 is stable.  Could some of the other bits change and still be valid?  For now, I'm just checking for 11 zeroes after the leading bit because that's closest to what the documentation says but it's misleading.
Linus's Law, which states that “given enough eyeballs, all bugs are shallow.  Cathedral and Bazaar

Thanks for the report.
I fully agree that the documentation, resp interface is misleading and hard to understand.
data is ready if the last 11 bits are not 0. The upper 5 bits should be ignored entirely. Please see the pseudo code on how to use it.
        uint16_t data_ready = read_word() & 0x07FF;
        if  (data_ready > 0) {...}

Of course "last bits" depends on whether your're looking it as big-endian or little-endian and if last means the highest order bits or the lowest order bits.  It's really unclear.  Should define b0 as the right-most bit, and say bits b10-b0 should have a value greater than 0 indicates data ready. Or give an example.

Yes "last bits" is a inaccurate term for CPUs. As for now just return what we get from the sensor. I will open a ticket to change that to provide a better interface for the user

DataReady interface is updated


Doesn't validate required fields

In my case, I've got an object that had a field incorrectly declared as required
/v2/api-docs generated JSON
"ClassA": {
    "type": "object",
    "required": [
         "field1"
          ]
     ...
     }

And this is what the actual YAML contract has in it:
ClassA:
    properties:
      field1:
        $ref: "#/definitions/Class1"
      field2:
        type: "integer"
        format: "int64"
      field3:
        type: "boolean"

And this is my Java test class:
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@RunWith(SpringRunner.class)
public class ApplicationTests {

	@LocalServerPort
	int serverPort;

	@Test
	public void contextLoads() {
	}

	@Test
	public void validateThatImplementationMatchesDocumentedSpecification() throws URISyntaxException {
		String designFirstSwagger = Paths.get(ApplicationTests.class.
				getResource("/spec/swagger.yaml").toURI()).toString();
		SwaggerAssertions.assertThat("http://localhost:"+serverPort+"/v2/api-docs?group=Api")
				.isEqualTo(designFirstSwagger);
	}
}

Hi,
woud you like to create a PR?

Hi,
I haven't fixed it yet, first I wanted to check whether this is a config thing I'm missing or there's any reason why it doesn't check that the required fields are the same.

No sry, this check is not implemented yet.

@RobWin I see here the problem is that the Model interface doesn't expose the a getRequired() method, which only exists in the ModelImpl class :(

You could add it here: https://github.com/RobWin/assertj-swagger/blob/master/src/main/java/io/github/robwin/swagger/test/DocumentationDrivenValidator.java#L124


Build sky_engine Dart SDK summary bundle on FlutterEngine.download().

This PR has following changes relative to the previous version.

Check for .packages existence an running pub.

Checking for expected conditions in summary.dart and printing errors instead of assert and crash.

Starting Building Dart SDK summary... progress only if the file is not up to date.

@pq @devoncarew

LGTM!

Please make sure to include the original version's commit message as well, or at least point to it in the commit message, so future archeologists can figure out what you mean by "previous version". :-)

@Hixie OK, I've updated the PR description.

thanks!


Partion failed to reszie

[Enter feedback here]
partition is failed to resize.  after resize it don't take a new size. I tried it multiple times.

Document Details

Number  Start   End     Size    File system  Name  Flags
14      1049kB  5243kB  4194kB                     bios_grub
15      5243kB  116MB   111MB   fat32              boot, esp
 1      116MB   32.2GB  32.1GB  ext4

(parted) resizepart
Partition number? 1
Warning: Partition /dev/sdc1 is being used. Are you sure you want to continue?
Yes/No? yes
End?  [512MB]? 512GB
**Error: The location 512GB is outside of the device /dev/sdc.**

I tried 250 GB, It doesn't work.

Name                                                               Gb
-----------------------------------------------------  ----
AVDA-Demo_DataDisk_0                                   512

Reference :MS Doc Refernce
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 06c61c5a-d9e4-742b-36e5-b9effa33d903
Version Independent ID: cb9dbd59-460d-a1a0-9863-5213d6a1093e
Content: Expand virtual hard disks on a Linux VM - Azure Virtual Machines
Content Source: articles/virtual-machines/linux/expand-disks.md
Service: virtual-machines
Sub-service: disks
GitHub Login: @roygara
Microsoft Alias: rogarana

@SandyWare I'd recommend posting your question in https://azure.microsoft.com/en-us/support/community/ since it's not directly related to the documentation. We'll follow up there. We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


make_widget implementation

We thought of some refinement on this with Johan. Merging this, and will iterate after.


[stable/oauth2-proxy] Update image to 5.0.0

https://github.com/pusher/oauth2_proxy/releases
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/approve

/lgtm


Can Azure Firewall FAQ page be updated with this limitation please?

Hi, can the following article https://docs.microsoft.com/en-us/azure/firewall/firewall-faq please have another question and answer added as this detail appears to be missing in all documentation.
Example Q = "How many Azure Firewalls can be provisioned in a VNet?"
Example A = "Azure Firewall currently only supports deployment of a single Azure Firewall instance per VNet."

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

ID: 6bba1b4d-cf65-c0a2-9bb6-4ff7896f0a15
Version Independent ID: 7ab0db77-e78d-de58-369f-641782327264
Content: Azure Firewall FAQ
Content Source: articles/firewall/firewall-faq.md
Service: firewall
GitHub Login: @vhorne
Microsoft Alias: victorh

@LucianFrango , Appreciate your patience. The doc has been edited accordingly and it would take some time for the changes to get reflected over the doc.
We are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


added time stepping item

Is this in an issue in AMRClaw/GeoClaw?

I just added it as an issue in amrclaw ...


f# not shown in status bar

fresh windows 10
downloaded latest alpha build, installed ionide f# extension
create a file testing.fsx
file is coloured, F# shows in 'change language' UI, but not in status bar (others like php, js do)

This is because ionide does not contribute an alias for their language contribution.

@alexandrudima starting with you for the core side

If we should add anything just let me know.

@Krzysztof-Cieslak you could add at one alias when you contribute the language.
e.g.:
...
"contributes": {
	"languages": [{
		"id": "fsharp",
		"aliases": [ "F#" ],
		"extensions": [ ".fs", ".fsx", ".fsi" ],
		"configuration": "./fsharp.configuration.json"
...

We will also change some logic on our side that if the alias key is missing we pick up the id.

@bpasero Wondering why we show something in the 'change language' UI then?

@jrieken that is very likely our own F# coloring?

@jrieken This is weird, I see the issue in source code (where the latest contribution of a language gets to determine its name), but I cannot reproduce when running out of development.

Scratch that, I mixed up the .vscode-oss-dev vs .code-oss-build-dev folders. I can reproduce.

@bpasero No further work needed on your side.

@alexandrudima thanks! love those comments ;)


Can not find option Groq for generator

Description
I installed verba via pip. But when i go to config, generator settting, i can not find the option to choose Groq
Installation

[x ] pip install goldenverba
[ ] pip install from source
[ ] Docker installation

If you installed via pip, please specify the version: 2.0.0
Weaviate Deployment

[x ] Local Deployment
[ ] Docker Deployment
[ ] Cloud Deployment

Configuration

Reader: txt
Chunker: Recursive
Embedder: SentenceTransformer
Retriever: Hybrid
Generator:  Groq
Steps to Reproduce
As you can see in the image, there is no option to use Groq in Generator setting.

Hey, thanks for your issue! Right now it's only available on the dev branch but will be published to the main soon, I'll let you know 😄

Done! 🚀


Update variable type in _webui_round_to_memory_block to resolve sing-comp warning

The PR enables sing-compare errors. And will attempt to solve some of them when there is time.
We should eventually resolve all the warnings/errors to follow best practices and to make things more robust.
Some of them already cause problems when trying to use webui source files directly with some C interop languages.
I think lots are easy fixes. If someone wants to append to this PR, we can do it as a tandem work. Or, if it is preferred to take one category of the errors and submit them as separate PR it will also be helpful.

To improve the approach on this, I'm going to close #374 and open an issue instead of a PR. There I'll also try to add better instructions on how people can help and test.
Doing it that way should be less blocking and allow us to progress step by step.


Incorrect syntax highlight of async on arrow functions

From @hh10k on July 30, 2016 13:4

VSCode Version: 1.3.1
OS Version: Windows 10

Steps to Reproduce:

Within a .js or .ts file, add an async lambda function like async () => {}
Observe that the async does not have the expected keyword color, as it would when used before function():

Copied from original issue: Microsoft/vscode#9976

Duplicate of #172 and #168.

Fixed by #257


[DOCS ISSUE] Page: Accessing the database directly

Syntax error in code, methods self should have a return statement.
 methods (self) {
    return {
async addNewDog(req, initialInfo) {

Also, it is unclear how to actually do this step: "For example, if we had a dog adoption website that used an external API, we may want to update dog pieces periodically with adoption status. This may be using a command line task that is run regularly by a cron job."
So, how would you do that kind of command-line task? How do you get access to the module and invoke addNewDog?
Best regards

Good catch re: the syntax error. Feel free to send a PR if you wish.
There is coverage of how to write a task here:
https://v3.docs.apostrophecms.org/reference/module-api/module-overview.html#tasks-self
It is a bit buried here, we should add an "advanced topics" page about tasks. Good example there though.


Redux form widgets onChange

Hi ,
I am using redux form widgets in my project. In redux-from site we have onBlur() example.
I want to use OnChange event instead of blur.
Is it possible? if yes Please provide syntax for onChange.
<Field           name="hobbies"           component={Multiselect}           defaultValue={[]}           onBlur={() => props.onBlur()}           data={[ 'Guitar', 'Cycling', 'Hiking' ]}/>

You can use change for that: http://redux-form.com/6.4.3/docs/api/ActionCreators.md/#-change-form-string-field-string-value-any-

👆 what @MichalZalecki said


It's possible to save the audio during speech to text?

Maybe like,
SwiftSpeech.RecordButton()
    .swiftSpeechRecordOnHold(sessionConfiguration:animation:distanceToCancel:)
    .onRecognizeLatest(update: $text)
    .onFinal(saveTo: url)

SwiftSpeech doesn't support such functionality. To record and recognize audio simultaneously, you will have to dive deeper into the AVAudioEngine class. Here's a tutorial on how to record audio and save it to a file using AVAudioEngine. You'll also find the implementation of SwiftSpeech.SpeechRecognizer helpful.
Besides, I would like to point out that SwiftSpeech is designed for projects that want to integrate a speech recognition feature where the actual audio doesn't matter (such as for searching or text input). For projects that do care about the recorded audio (such as audio recorders or IM apps), it's better to copy SpeechRecognizer.swift into your project and start working based on that.

Yeah, for some case, the actual audio doesn't matter is absolutely true, but there's some cases like voice memo or journal, audio is important and user'd like to play back for some memory.
And it actually need very few code changes,
audio = AVAudioFile(forWriting: url, settings: settings)
audio.write(from: buffer)

Also I know it's not builtin feature in SwiftSpeech is not because it requires too much change, but it's not designed for,  I just like to bring up some cases that audio is kinda critical either, thanks for you great work on SwiftSpeech BTW.


ValueError: Attention Sinks does not support Flash Attention in QWen models, please use use_flash_attn=False in AutoModelForCausalLM.from_pretrained.

Ubuntu 22.04
The demo script is as follows：
`import torch
from transformers import AutoTokenizer, TextStreamer, GenerationConfig
from attention_sinks import AutoModelForCausalLM
model_id = "/home/work/projects/model/Qwen-7B"
model = AutoModelForCausalLM.from_pretrained(
model_id,
device_map="auto",
torch_dtype=torch.float16,
attention_sink_size=4,
attention_sink_window_size=252,
trust_remote_code=True,
use_flash_attn=False
)
model.eval()
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
tokenizer.pad_token_id = tokenizer.eos_token_id
text = "保持身体健康有多种方式"
input_ids = tokenizer.encode(text, return_tensors="pt").to(model.device)
streamer = TextStreamer(tokenizer)
generation_config=GenerationConfig(
use_cache=True,
min_new_tokens=100_000,
max_new_tokens=1_000_000,
penalty_alpha=0.6,
top_k=5,
pad_token_id=tokenizer.pad_token_id,
eos_token_id=tokenizer.eos_token_id,
)
generated_tokens = model.generate(
input_ids,
generation_config,
streamer=streamer,
)
output_text = tokenizer.decode(generated_tokens[0], skip_special_tokens=True)`
Even though I added use_flash_attn=False in AutoModelForCausalLM.from_pretrained，still get this error：
ValueError: Attention Sinks does not support Flash Attention in QWen models, please use use_flash_attn=False in AutoModelForCausalLM.from_pretrained.
pip list：

Hello!
I can indeed reproduce this, it seems related to this commit: https://huggingface.co/Qwen/Qwen-7B/commit/f7bc352f27bb1c02ee371a4576942a7d96c8bb97
Which changed the modeling files for QWen. I think you'll have more success if you set revision=... and pick an older commit, e.g. "d135dce78bceb52e63e0d2cec4b9b38952fc2cd6".

Tom Aarsen

I've resolved it in #33, and packaged it in a new release: 0.4.0. You can install it like normal, e.g. pip install -U attention_sinks.
Hope this helps.

Tom Aarsen

I've resolved it in #33, and packaged it in a new release: 0.4.0. You can install it like normal, e.g. pip install -U attention_sinks.
Hope this helps.

Tom Aarsen

Thank you for your reply, but when I upgrade the attention_sinks's version, the error still occurs:

I've resolved it in #33, and packaged it in a new release: 0.4.0. You can install it like normal, e.g. pip install -U attention_sinks.
Hope this helps.

Tom Aarsen

Thank you very much for your reply. After the upgrade, the problem was solved.

I'm glad to hear it!


Gradle Kotlin support

Could you please add the support for Gradle Kotlin DSL? It's at the same time better supported in IDEA and is now an official default language for the new Gradle projects.
I find it much more maintainable because the code autocompletion works fine, contrary to the Groovy DSL. Readability has improved a lot in the last few years.

I know there are people who use it, though I really don't know very many who do. Supporting this would involve duplicating or replacing all Gradle file generation across the project. And not only that, it's already hard enough to provide instructions for new users when they could be using gdx-setup or gdx-liftoff. Imagine if one person needs gdx-setup (Gradle) help, another needs gdx-liftoff (Gradle) help, and a third needs gdx-liftoff (Kotlin) help. The instructions range from subtly different to totally incompatible.

The Tower of Babel (Hebrew: מִגְדַּל בָּבֶל, Mīgdal Bāḇel) narrative in Genesis 11:1–9 is an origin myth and parable meant to explain why the world's peoples speak different languages.
According to the story, a united human race speaking a single language and migrating eastward, comes to the land of Shinar (שִׁנְעָר). There they agree to build a city and a tower with its top in the sky. Yahweh, observing their city and tower, confounds their speech so that they can no longer understand each other, and scatters them around the world.

In short, you aren't building anything big if you can't agree on a language... Right now only Kotlin megafans within the libGDX community seem to be the ones adopting the Kotlin DSL. Unless there suddenly appear many more Kotlin experts willing to help with mysterious and frustrating issues faced by new users, adding generation support for the Kotlin DSL is a wasted effort. A large wasted effort.
I'm closing this because I do not plan to implement this myself. If someone decided to PR this in a pristine, perfectly-wrapped package with a big red ribbon, I might merge it if I felt confident the PR submitter would still be around to fix things later. I am not suggesting anyone should go out and do that unless they really want to.

Fair enough, thanks


Remove .vscode folder

Remove obsolete folders and files

Hey! Hope you're doing well. Can you assign this issue to me. I can work on this

Hey can you assign me this issue, I can work on this

Hey there, I could work on this issue. Can you please assign it to me?

Hey  there, i can fix this, could you please assign it to me

hello there, can you assign me this issue, I am starting as an open-source developer and I think this might be a good start.


Fix coalesce with type intersection

Closes #5474
The problem was a specific codepath, that was trying to
get_rel_path_output out of a NullRelation for a type intersection
path.
The fix is basically saying "this path does not have storage info",
so the codepath can hit the handler for NullRelation.
This fix was easy write, very hard to find.

And maybe add a proper raise or assert to get_ptrref_storage_info for this case, instead of letting it just hit a bad dereference?

I've done this in the other PR already.


Basic SWEET32 checking (kinda)

This change adds a new command line parameter, --sweet32count which will cause the application to send up to 10,000 HEAD requests to the target server. If keep-alive limiting is in place, this should show it (unless it's > 10,000).
This currently only prints a warning, as we can't say it is actually vulnerable, just could be. Anything thing this doesn't (currently) do is verify that the server is using 3DES (this may be added later). This option is off by default, and intended for those that know why they are using it.
The output will look something like this:
SWEET32: Checking number of requests accepted...
...
[I] SWEET32: Connection terminated after 50 requests (SSL Reconnected)

Coverage remained the same at 40.952% when pulling f8b383ea4e80a5072acffa797fe6da188381eef6 on sweet32 into 645b02f10cd15c8bfca5ef7666f58e8cc5960767 on master.

Coverage remained the same at 40.952% when pulling 1a5edc7cb4957cc2776e87c69ef62220f9dc5a47 on sweet32 into 645b02f10cd15c8bfca5ef7666f58e8cc5960767 on master.

Coverage remained the same at 40.952% when pulling 1b9e5a18174e251a07e9910ce75f777edb718880 on sweet32 into 645b02f10cd15c8bfca5ef7666f58e8cc5960767 on master.


Regression in 1.2.0, cannot run individual tests

I found a new test for not released escape sequence in toml-test and was surprised that my parser didn't fail the test as I haven't yet implemented it in my library yet.
From my initial test it seems like I cannot select tests anymore in version 1.2.0, instead all tests are always skipped
❯ /home/awvwgk/projects/src/git/toml-fortran/_build/subprojects/toml-test-1.1.0/toml-test -testdir /home/awvwgk/projects/src/git/toml-fortran/subprojects/toml-test-1.2.0/tests -run valid/string/escape-esc -- _build/test/toml2json
FAIL valid/string/escape-esc
     line 1: bad escape char
        | esc = "\e There is no escape! \e"
        |------^
     ERROR STOP

     Error termination. Backtrace:
     #0  0x55f464b7e121 in toml2json
     	at ../test/toml2json.f90:54
     #1  0x55f464b7c28e in main
     	at ../test/toml2json.f90:17

     Exit 1

     input sent to parser-cmd:
       esc = "\e There is no escape! \e"

     output from parser-cmd (stderr):
       line 1: bad escape char
          | esc = "\e There is no escape! \e"
          |------^
       ERROR STOP

       Error termination. Backtrace:
       #0  0x55f464b7e121 in toml2json
       	at ../test/toml2json.f90:54
       #1  0x55f464b7c28e in main
       	at ../test/toml2json.f90:17

       Exit 1

     want:
          <empty>

toml-test [_build/test/toml2json]: tests from "/home/awvwgk/projects/src/git/toml-fortran/subprojects/toml-test-1.2.0/tests":   0 passed,  1 failed, 322 skipped
❯ /home/awvwgk/projects/src/git/toml-fortran/_build/subprojects/toml-test-1.2.0/toml-test -testdir /home/awvwgk/projects/src/git/toml-fortran/subprojects/toml-test-1.2.0/tests -run valid/string/escape-esc -- _build/test/toml2json
toml-test [_build/test/toml2json]: tests from "/home/awvwgk/projects/src/git/toml-fortran/subprojects/toml-test-1.2.0/tests":   0 passed,  0 failed, 322 skipped

Note, having an selection which results in no run of toml-test could raise an error.

This test is loaded only when you use the -version next flag; since this behaviour isn't in any published/versioned TOML specification yet (it can still change – unlikely, but not impossible – and this also makes it easier for TOML implementations to target specific versions if they want to).
Unless I missed something, I think this is behaving as intended.

Ehm, sorry, that should have been the -toml next flag. Relevant usage part:
-toml         Select TOML version to run tests for. Supported versions are
              "1.0.0" and "next" (which includes changes which aren't in a
              "tagged" TOML version yet). Defaults to 1.0.0.


Review feedback on test fixtures proposal

What
Review any feedback we receive on the test fixtures proposal.
Why
We have submitted the test fixtures proposal for feedback on the original issue. The deadline for comments is 5pm on 4th August, so we should review the comments after that.

The proposal generally got good feedback and most queries were handled by the existing approach. The following are the suggestions/questions that weren’t handled:
Making the fixtures.json an object rather than an array
This is recommended by the GDS API guidance (https://www.gov.uk/guidance/gds-api-technical-and-data-standards#use-json) and makes it easier for us to add additional properties in the future
This seems like a sensible suggestion to make our implementation more future-proof and reduce the possibility that we need to make any breaking changes.
I’m also going to suggest we add the component name into the fixtures JSON so users don’t need to analyse the file path to get the component name.
Handling caller
It looks like the fieldset component is the only component to support caller. It doesn’t currently have an alternative option that I can see (e.g: passing HTML via a html attribute).
It looks like the options are:

We don’t support caller in the fixtures, but all other examples are tested
We add a html param and example to the fieldset component

@36degrees @hannalaakso I've added 2 suggestions above for the queries we got on the proposal. Would be good to get your opinions (especially on the caller section)

Making the fixtures.json an object rather than an array
This is recommended by the GDS API guidance (https://www.gov.uk/guidance/gds-api-technical-and-data-standards#use-json) and makes it easier for us to add additional properties in the future
This seems like a sensible suggestion to make our implementation more future-proof and reduce the possibility that we need to make any breaking changes.
I’m also going to suggest we add the component name into the fixtures JSON so users don’t need to analyse the file path to get the component name.

All of this sound sensible to me 👍🏻

Handling caller
It looks like the fieldset component is the only component to support caller. It doesn’t currently have an alternative option that I can see (e.g: passing HTML via a html attribute).

Huh. I am surprised, I thought we had a few components that supported it! We have an open issue to make it possible to call the details component (#941) and I think there's a few other components where it would make sense (inset text, warning text?)

It looks like the options are:
We don’t support caller in the fixtures, but all other examples are tested

I think we could still consider adding tests for the caller functionality, but equally I think this is something we could look at adding this in the future? I don't see it as a hard requirement for the initial implementation. However, suggest if we do so we make it a top-level property of the fixture object, rather than treating it as a special case in options:
{
  "examples": [
    {
      "name": "default",
      "options": {
        "legend": {
          "text": "What is your address?"
         }
      },
      "caller": "
Hello world
",
      "html": "<fieldset class=\"govuk-fieldset\">\n<legend class=\"govuk-fieldset__legend\">What is your address?</legend>\n
Hello World
\n</fieldset>"
    }
  ]
}

We add a html param and example to the fieldset component

I think we should do this regardless, as I think we should be treating call as an enhancement – there should always be a way of outputting the same HTML using the options alone. Where users are looking to mimic our API, this means this is possible in templating languages that don't have an equivalent to {% call %}.

Added the following implementation details to the relevant cards:

The fixture.json file is an object with the following properties: name, examples (https://github.com/alphagov/govuk-frontend/issues/1895)
Stretch goal: add caller param to options (suggestion is to add this as a top-level option, not something within the options object) (https://github.com/alphagov/govuk-frontend/issues/1895)
Add a html param and example to the fieldset component. It uses call, but should have an alternative (https://github.com/alphagov/govuk-frontend/issues/1894)


Implement more standard library procedures & functions

refreshDisplay() Important This should suspend the thread and trigger the re-draw of the display (as happens on an input, for example). Necessary for e.g. Snake, otherwise the screen isn't updated until the program exits.
pause(milliseconds: int)
clock(): int  // returns number of ticks

clearConsole()  //Does same as the button does, but programmatically

random(): float // in range 0 <= x < 1
randomInt(low: int, high: int)

parseAsInt(s: string) (boolean, int)  //Boolean indicates whether successful or not
parseAsFloat(s: string) (boolean, int)  //Boolean indicates whether successful or not

typeof(x: Any) - returns the type name as a string

Any others from the original compiler?

Moving readKey etc into new ticket

I have moved readKey and related into a new ticket #514

I think that clearConsole and refreshDisplay (maybe more) do not have entries in the Symbols.


Remove repositories that are not participating in Hacktoberfest 2021 from the list.

This is a really good task for beginners, you can help with this awesome list by checking the repositories list.
If you find a repository that:

Is not available anymore
Is not being maintained anymore (11+ months of inactivity)
Is not accepting pull requests anymore for hacktoberfest 2021
Pull requests are not counting for hacktoberfest
Repositories that are "only to add your name" or something that's clearly an attempt to simply +1 your pull request count for October.

For hacktoberfest 2021 maintainers have to opt-in their repositories to the event to make pull request count
Maintainers can do it in two ways:

By adding the topic hacktoberfest to their repository
Or by adding the label hacktoberfest-accepted to pull requests.

You can make a pull request removing one or more of these repositories.

Everyone can work on this issue, feel free to open pull requests.

Hey @OtacilioN,
I have raised PR #402 for the same...
Pls review it and merge if sounds good...


[Feature Request]: Create MLFlow Callback handler

Feature Description
As an intermediate step to designing a robust callback system meant for tracing, logging, metrics collection in an async and concurrent setting, let's first implement more consumers of the callback system.
MLFlow is a good first step.
Other candidates:

CometML
ClearML
Evaluator, a new component of LlamaIndex that provides various mechanisms for collecting human feedback on output quality

I will also attempt to better understand the requirements for callbacks, and perhaps think of more use-cases, outside of those mentioned.
Reason
No response
Value of Feature
No response

Not sure why this issue was closed? Is this a "wont-implement" for llama-index?


539 fails to compile the model

brand new user here... day 1.  having some problems getting any output at all.  followed instructions on github, downloaded latest amd drivers (have an rx6700xt), install went fine.  however every attempt at just clicking "generate image" with default params regardless of model selected fails with error.  for example:
Found device AMD Radeon RX 6700 XT. Using target triple rdna2-unknown-windows.
Using tuned models for prompthero/openjourney/fp16/vulkan://00000000-0a00-0000-0000-000000000000.
Downloading (…)cheduler_config.json: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 308/308 [00:00<00:00, 308kB/s]
loading existing vmfb from: C:\shark\euler_scale_model_input_1_512_512fp16.vmfb
WARNING: [Loader Message] Code 0 : windows_read_data_files_in_registry: Registry lookup failed to get layer manifest files.
loading existing vmfb from: C:\shark\euler_step_1_512_512fp16.vmfb
WARNING: [Loader Message] Code 0 : windows_read_data_files_in_registry: Registry lookup failed to get layer manifest files.
Inferring base model configuration.
Cannot initialize model with low cpu memory usage because `accelerate` was not found in the environment. Defaulting to `low_cpu_mem_usage=False`. It is strongly recommended to install `accelerate` for faster and less memory-intense model loading. You can do so with:

pip install accelerate
.
Downloading (…)_model.safetensors";: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 3.44G/3.44G [10:00<00:00, 5.72MB/s]
Downloading (…)ain/unet/config.json: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 743/743 [00:00<00:00, 743kB/s]
Retrying with a different base model configuration
Cannot initialize model with low cpu memory usage because `accelerate` was not found in the environment. Defaulting to `low_cpu_mem_usage=False`. It is strongly recommended to install `accelerate` for faster and less memory-intense model loading. You can do so with:

pip install accelerate
.
Loading Winograd config file from  C:\Users\gilberts\.local/shark_tank/configs/unet_winograd_vulkan.json
Retrying with a different base model configuration
Cannot initialize model with low cpu memory usage because `accelerate` was not found in the environment. Defaulting to `low_cpu_mem_usage=False`. It is strongly recommended to install `accelerate` for faster and less memory-intense model loading. You can do so with:

pip install accelerate
.
Retrying with a different base model configuration
Cannot initialize model with low cpu memory usage because `accelerate` was not found in the environment. Defaulting to `low_cpu_mem_usage=False`. It is strongly recommended to install `accelerate` for faster and less memory-intense model loading. You can do so with:

pip install accelerate
.
Retrying with a different base model configuration
Traceback (most recent call last):
  File "gradio\routes.py", line 374, in run_predict
  File "gradio\blocks.py", line 1017, in process_api
  File "gradio\blocks.py", line 835, in call_function
  File "anyio\to_thread.py", line 31, in run_sync
  File "anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread
  File "anyio\_backends\_asyncio.py", line 867, in run
  File "apps\stable_diffusion\scripts\txt2img.py", line 116, in txt2img_inf
  File "apps\stable_diffusion\src\pipelines\pipeline_shark_stable_diffusion_utils.py", line 220, in from_pretrained
  File "apps\stable_diffusion\src\models\model_wrappers.py", line 383, in __call__
SystemExit: Cannot compile the model. Please create an issue with the detailed log at https://github.com/nod-ai/SHARK/issues
Found device AMD Radeon RX 6700 XT. Using target triple rdna2-unknown-windows.
Using tuned models for wavymulder/Analog-Diffusion/fp16/vulkan://00000000-0a00-0000-0000-000000000000.
Downloading (…)cheduler_config.json: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 346/346 [00:00<00:00, 346kB/s]
loading existing vmfb from: C:\shark\euler_scale_model_input_1_512_512fp16.vmfb
WARNING: [Loader Message] Code 0 : windows_read_data_files_in_registry: Registry lookup failed to get layer manifest files.
loading existing vmfb from: C:\shark\euler_step_1_512_512fp16.vmfb
WARNING: [Loader Message] Code 0 : windows_read_data_files_in_registry: Registry lookup failed to get layer manifest files.
Inferring base model configuration.
Cannot initialize model with low cpu memory usage because `accelerate` was not found in the environment. Defaulting to `low_cpu_mem_usage=False`. It is strongly recommended to install `accelerate` for faster and less memory-intense model loading. You can do so with:

pip install accelerate
.
Downloading (…)_pytorch_model.bin";: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 3.44G/3.44G [09:53<00:00, 5.80MB/s]
Downloading (…)ain/unet/config.json: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 877/877 [00:00<00:00, 876kB/s]
Retrying with a different base model configuration
Cannot initialize model with low cpu memory usage because `accelerate` was not found in the environment. Defaulting to `low_cpu_mem_usage=False`. It is strongly recommended to install `accelerate` for faster and less memory-intense model loading. You can do so with:

pip install accelerate
.
Loading Winograd config file from  C:\Users\gilberts\.local/shark_tank/configs/unet_winograd_vulkan.json
Retrying with a different base model configuration
Cannot initialize model with low cpu memory usage because `accelerate` was not found in the environment. Defaulting to `low_cpu_mem_usage=False`. It is strongly recommended to install `accelerate` for faster and less memory-intense model loading. You can do so with:

pip install accelerate
.
Retrying with a different base model configuration
Cannot initialize model with low cpu memory usage because `accelerate` was not found in the environment. Defaulting to `low_cpu_mem_usage=False`. It is strongly recommended to install `accelerate` for faster and less memory-intense model loading. You can do so with:

pip install accelerate
.
Retrying with a different base model configuration
Traceback (most recent call last):
  File "gradio\routes.py", line 374, in run_predict
  File "gradio\blocks.py", line 1017, in process_api
  File "gradio\blocks.py", line 835, in call_function
  File "anyio\to_thread.py", line 31, in run_sync
  File "anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread
  File "anyio\_backends\_asyncio.py", line 867, in run
  File "apps\stable_diffusion\scripts\txt2img.py", line 116, in txt2img_inf
  File "apps\stable_diffusion\src\pipelines\pipeline_shark_stable_diffusion_utils.py", line 220, in from_pretrained
  File "apps\stable_diffusion\src\models\model_wrappers.py", line 383, in __call__
SystemExit: Cannot compile the model. Please create an issue with the detailed log at https://github.com/nod-ai/SHARK/issues

Can you try with --clear_all flag?

I have the same issue on fresh attempt at installing.
No directory structure is created. Nothing is downloaded.
"--clear_all" tag clears the files but repeats the issue again on that run. Tried custom checkpoints, tried 1-4 model as custom checkpoint. Constant fail.
Have no idea whatsoever how to find the Model Ids to try them (why isn't there a drop-down box? or why can't I just put them in a folder to use?).

@c0mpylicious There is a drop-down box to select models. Can you try to select models from there? Can you try if "stabilityai/stable-diffusion-2-1-base" works?

@c0mpylicious There is a drop-down box to select models. Can you try to select models from there? Can you try if "stabilityai/stable-diffusion-2-1-base" works?

it does ont work with any models

Have a look at the solution to my issue, you seem to be getting same errors.

My comment about drop-down boxes was about having one for the Huggingface Model ID part of the form.
I did try a few of the drop-down models on the left. They all end up with same error as above. Although they did attempt to download  different files; "model.safetensors (3.46gb)"  downloaded when attempting stable-diffusion-2-1-base. Still led to the same errors. Using a pre-downloaded sd-v1-4.ckpt as a custom model also led to the same error.
Running the "pip install accelerate" again in the venv did remove that warning at least.
I will note that I am now running the git cloned repository instead of the .exe as the .exe didn't seem to do anything except launch the gradio, which had nothing (no files) to work with.
I will attempt the solution by @consolation1 now.

Credit goes to @yzhang93 for figuring it out.

I am still seeing this error on a Radeon 6600 when using a HuggingFace model id, even after adding --local_tank_cache=.
Using stabilityai/stable-diffusion-2-1 from the dropdown works:
Using C:\shark\cache as local shark_tank cache directory.
vulkan devices are available.
cuda devices are not available.
Running on local URL:  http://<IP_ADDRESS>:8080

To create a public link, set `share=True` in `launch()`.
Found device AMD Radeon RX 6600. Using target triple rdna2-unknown-windows.
Using tuned models for stabilityai/stable-diffusion-2-1/fp16/vulkan://00000000-0a00-0000-0000-000000000000.
torch\jit\_check.py:172: UserWarning: The TorchScript type system doesn't support instance-level annotations on empty non-base types in `__init__`. Instead, either 1) use a type annotation in the class body, or 2) wrap the type in `torch.jit.Attribute`.
  warnings.warn("The TorchScript type system doesn't support "
loading existing vmfb from: C:\shark\euler_scale_model_input_1_512_512fp16.vmfb
WARNING: [Loader Message] Code 0 : windows_read_data_files_in_registry: Registry lookup failed to get layer manifest files.
loading existing vmfb from: C:\shark\euler_step_1_512_512fp16.vmfb
WARNING: [Loader Message] Code 0 : windows_read_data_files_in_registry: Registry lookup failed to get layer manifest files.
WARNING: [Loader Message] Code 0 : windows_read_data_files_in_registry: Registry lookup failed to get layer manifest files.
WARNING: [Loader Message] Code 0 : windows_read_data_files_in_registry: Registry lookup failed to get layer manifest files.
WARNING: [Loader Message] Code 0 : windows_read_data_files_in_registry: Registry lookup failed to get layer manifest files.
Loaded vmfbs from cache and successfully fetched base model configuration.
50it [00:13,  3.67it/s]
100%|████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00,  1.94it/s]

But trying to load hakurei/waifu-diffusion fails:
Using C:\shark\cache as local shark_tank cache directory.
vulkan devices are available.
cuda devices are not available.
Running on local URL:  http://<IP_ADDRESS>:8080

To create a public link, set `share=True` in `launch()`.
Found device AMD Radeon RX 6600. Using target triple rdna2-unknown-windows.
Using tuned models for hakurei/waifu-diffusion/fp16/vulkan://00000000-0a00-0000-0000-000000000000.
torch\jit\_check.py:172: UserWarning: The TorchScript type system doesn't support instance-level annotations on empty non-base types in `__init__`. Instead, either 1) use a type annotation in the class body, or 2) wrap the type in `torch.jit.Attribute`.
  warnings.warn("The TorchScript type system doesn't support "
loading existing vmfb from: C:\shark\euler_scale_model_input_1_512_512fp16.vmfb
WARNING: [Loader Message] Code 0 : windows_read_data_files_in_registry: Registry lookup failed to get layer manifest files.
loading existing vmfb from: C:\shark\euler_step_1_512_512fp16.vmfb
WARNING: [Loader Message] Code 0 : windows_read_data_files_in_registry: Registry lookup failed to get layer manifest files.
Inferring base model configuration.
Cannot initialize model with low cpu memory usage because `accelerate` was not found in the environment. Defaulting to `low_cpu_mem_usage=False`. It is strongly recommended to install `accelerate` for faster and less memory-intense model loading. You can do so with:

pip install accelerate

.
torch\fx\node.py:250: UserWarning: Trying to prepend a node to itself. This behavior has no effect on the graph.
  warnings.warn("Trying to prepend a node to itself. This behavior has no effect on the graph.")
Loading Winograd config file from  C:\shark\cacheconfigs/unet_winograd_vulkan.json
100%|███████████████████████████████████████████████████████████████████████████████████| 107/107 [00:00<00:00, 811B/s]
100%|█████████████████████████████████████████████████████████████████████████████████| 107/107 [00:00<00:00, 1.10kB/s]
Retrying with a different base model configuration
Cannot initialize model with low cpu memory usage because `accelerate` was not found in the environment. Defaulting to `low_cpu_mem_usage=False`. It is strongly recommended to install `accelerate` for faster and less memory-intense model loading. You can do so with:

pip install accelerate

.
Retrying with a different base model configuration
Cannot initialize model with low cpu memory usage because `accelerate` was not found in the environment. Defaulting to `low_cpu_mem_usage=False`. It is strongly recommended to install `accelerate` for faster and less memory-intense model loading. You can do so with:

pip install accelerate

.
Retrying with a different base model configuration
Cannot initialize model with low cpu memory usage because `accelerate` was not found in the environment. Defaulting to `low_cpu_mem_usage=False`. It is strongly recommended to install `accelerate` for faster and less memory-intense model loading. You can do so with:

pip install accelerate

.
Retrying with a different base model configuration
Traceback (most recent call last):
  File "gradio\routes.py", line 374, in run_predict
  File "gradio\blocks.py", line 1017, in process_api
  File "gradio\blocks.py", line 835, in call_function
  File "anyio\to_thread.py", line 31, in run_sync
  File "anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread
  File "anyio\_backends\_asyncio.py", line 867, in run
  File "apps\stable_diffusion\scripts\txt2img.py", line 116, in txt2img_inf
  File "apps\stable_diffusion\src\pipelines\pipeline_shark_stable_diffusion_utils.py", line 220, in from_pretrained
  File "apps\stable_diffusion\src\models\model_wrappers.py", line 383, in __call__
SystemExit: Cannot compile the model. Please create an issue with the detailed log at https://github.com/nod-ai/SHARK/issues

I can't find any more detailed log.

@nonemouse This path C:\shark\cacheconfigs/unet_winograd_vulkan.json is not correct. Make sure you pass in --local_tank_cache=C:/shark/cache/

@yzhang93 , thanks for the help.  I tried your suggestion and it does not seem to make a difference beyond changing that path to C:/shark/cache/configs/unet_winograd_vulkan.json:
Using C:/shark/cache/ as local shark_tank cache directory.
vulkan devices are available.
cuda devices are not available.
Running on local URL:  http://<IP_ADDRESS>:8080

To create a public link, set `share=True` in `launch()`.
Found device AMD Radeon RX 6600. Using target triple rdna2-unknown-windows.
Using tuned models for hakurei/waifu-diffusion/fp16/vulkan://00000000-0a00-0000-0000-000000000000.
torch\jit\_check.py:172: UserWarning: The TorchScript type system doesn't support instance-level annotations on empty non-base types in `__init__`. Instead, either 1) use a type annotation in the class body, or 2) wrap the type in `torch.jit.Attribute`.
  warnings.warn("The TorchScript type system doesn't support "
loading existing vmfb from: C:\shark\euler_scale_model_input_1_512_512fp16.vmfb
WARNING: [Loader Message] Code 0 : windows_read_data_files_in_registry: Registry lookup failed to get layer manifest files.
loading existing vmfb from: C:\shark\euler_step_1_512_512fp16.vmfb
WARNING: [Loader Message] Code 0 : windows_read_data_files_in_registry: Registry lookup failed to get layer manifest files.
Inferring base model configuration.
Cannot initialize model with low cpu memory usage because `accelerate` was not found in the environment. Defaulting to `low_cpu_mem_usage=False`. It is strongly recommended to install `accelerate` for faster and less memory-intense model loading. You can do so with:

pip install accelerate

.
torch\fx\node.py:250: UserWarning: Trying to prepend a node to itself. This behavior has no effect on the graph.
  warnings.warn("Trying to prepend a node to itself. This behavior has no effect on the graph.")
Loading Winograd config file from  C:/shark/cache/configs/unet_winograd_vulkan.json
100%|█████████████████████████████████████████████████████████████████████████████████| 107/107 [00:00<00:00, 1.47kB/s]
100%|█████████████████████████████████████████████████████████████████████████████████| 107/107 [00:00<00:00, 1.55kB/s]
Retrying with a different base model configuration
Cannot initialize model with low cpu memory usage because `accelerate` was not found in the environment. Defaulting to `low_cpu_mem_usage=False`. It is strongly recommended to install `accelerate` for faster and less memory-intense model loading. You can do so with:

pip install accelerate

.
Retrying with a different base model configuration
Cannot initialize model with low cpu memory usage because `accelerate` was not found in the environment. Defaulting to `low_cpu_mem_usage=False`. It is strongly recommended to install `accelerate` for faster and less memory-intense model loading. You can do so with:

pip install accelerate

.
Retrying with a different base model configuration
Cannot initialize model with low cpu memory usage because `accelerate` was not found in the environment. Defaulting to `low_cpu_mem_usage=False`. It is strongly recommended to install `accelerate` for faster and less memory-intense model loading. You can do so with:

pip install accelerate

.
Retrying with a different base model configuration
Traceback (most recent call last):
  File "gradio\routes.py", line 374, in run_predict
  File "gradio\blocks.py", line 1017, in process_api
  File "gradio\blocks.py", line 835, in call_function
  File "anyio\to_thread.py", line 31, in run_sync
  File "anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread
  File "anyio\_backends\_asyncio.py", line 867, in run
  File "apps\stable_diffusion\scripts\txt2img.py", line 116, in txt2img_inf
  File "apps\stable_diffusion\src\pipelines\pipeline_shark_stable_diffusion_utils.py", line 220, in from_pretrained
  File "apps\stable_diffusion\src\models\model_wrappers.py", line 383, in __call__
SystemExit: Cannot compile the model. Please create an issue with the detailed log at https://github.com/nod-ai/SHARK/issues

Just an FYI to above... Shark has been working for a while, but failed after a clean install of Shark git directories and clearing all my .local cache folders e.g. Hugginface, shark_tank etc. Then encountered the same issue "SystemExit: Cannot compile the model'' (using the nodai_shark git python repository and not exe). From the above discussion noticed that my<EMAIL_ADDRESS>no longer contained the directory "\shark_tank". Manually created this and it all now works. Windows 11 Pro.

I installed shark on another computer today, I had to manually create the directory for the cache location I was passing to it, or as mentioned above; manually adding the .local one worked.

I tried creating the shark_tank directory in the default location also and it did not help; I still got the same error when i used a Huggingface model ID.
I also tried downloading a .ckpt file and putting it in the models directory and using that.  This gave a different error:
Using C:/shark/cache/ as local shark_tank cache directory.
vulkan devices are available.
cuda devices are not available.
Running on local URL:  http://<IP_ADDRESS>:8080

To create a public link, set `share=True` in `launch()`.
Found device AMD Radeon RX 6600. Using target triple rdna2-unknown-windows.
Tuned models are currently not supported for this setting.
torch\jit\_check.py:172: UserWarning: The TorchScript type system doesn't support instance-level annotations on empty non-base types in `__init__`. Instead, either 1) use a type annotation in the class body, or 2) wrap the type in `torch.jit.Attribute`.
  warnings.warn("The TorchScript type system doesn't support "
loading existing vmfb from: C:\shark\euler_scale_model_input_1_512_512fp16.vmfb
WARNING: [Loader Message] Code 0 : windows_read_data_files_in_registry: Registry lookup failed to get layer manifest files.
loading existing vmfb from: C:\shark\euler_step_1_512_512fp16.vmfb
WARNING: [Loader Message] Code 0 : windows_read_data_files_in_registry: Registry lookup failed to get layer manifest files.
Diffusers' checkpoint will be identified here :  C:/shark/models/wd-1-4-anime_e2
Loading diffusers' pipeline from original stable diffusion checkpoint
global_step key not found in model
Downloading (…)_encoder/config.json: 100%|████████████████████████████████████████████████████| 633/633 [00:00<?, ?B/s]
huggingface_hub\file_download.py:129: UserWarning: `huggingface_hub` cache-system uses symlinks by default to efficiently store duplicated files but your machine does not support them in C:\Users\Username\.cache\huggingface\hub. Caching files will still work but in a degraded version that might require more space on your disk. This warning can be disabled by setting the `HF_HUB_DISABLE_SYMLINKS_WARNING` environment variable. For more details, see https://huggingface.co/docs/huggingface_hub/how-to-cache#limitations.
To support symlinks on Windows, you either need to activate Developer Mode or to run Python as an administrator. In order to see activate developer mode, see this article: https://docs.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development
Downloading (…)"model.safetensors";: 100%|████████████████████████████████████████| 1.36G/1.36G [02:08<00:00, 10.6MB/s]
transformers\modeling_utils.py:402: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly.  To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
torch\_utils.py:776: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly.  To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
  return self.fget.__get__(instance, owner)()
torch\storage.py:899: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly.  To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
  storage = cls(wrap_storage=untyped_storage)
safetensors\torch.py:98: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly.  To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
Traceback (most recent call last):
  File "gradio\routes.py", line 374, in run_predict
  File "gradio\blocks.py", line 1017, in process_api
  File "gradio\blocks.py", line 835, in call_function
  File "anyio\to_thread.py", line 31, in run_sync
  File "anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread
  File "anyio\_backends\_asyncio.py", line 867, in run
  File "apps\stable_diffusion\scripts\txt2img.py", line 116, in txt2img_inf
  File "apps\stable_diffusion\src\pipelines\pipeline_shark_stable_diffusion_utils.py", line 220, in from_pretrained
  File "apps\stable_diffusion\src\models\model_wrappers.py", line 340, in __call__
  File "apps\stable_diffusion\src\utils\utils.py", line 427, in preprocessCKPT
  File "diffusers\pipelines\stable_diffusion\convert_from_ckpt.py", line 1097, in load_pipeline_from_original_stable_diffusion_ckpt
  File "diffusers\pipelines\stable_diffusion\convert_from_ckpt.py", line 789, in convert_open_clip_checkpoint
KeyError: 'cond_stage_model.model.text_projection'

I'm not sure if that is related or should be a different issue.

I tried again with the latest build 568, which fixes the issue where --local_tank_cache needs to be provided, but otherwise with that build I am still experiencing the same behavior:

Using stabilityai/stable-diffusion-2-1 from the dropdown works.
Using "None" in the dropdown and entering the model id hakurei/waifu-diffusion fails with SystemExit: Cannot compile the model. `
Using the downloaded wd-1-4-anime_e2.ckpt  fails with KeyError: 'cond_stage_model.model.text_projection'

After some more research I think the problem I am having, at least with the downloaded checkpoint, is this issue which looks like it was recently fixed in diffusers.


Implemented model and method for getting user related information and updated README

Implemented model and method for getting user related information.
Updated README with link to the endpoint documentation on Zendesk Core API.

@aheritier updated README with User Related Information as sub-item of Users

yes another thing we should do @caionovaes ...

Awesome 🍯

@aheritier Hey. Sorry but I'm still getting the hang of opensource. Should I be the one to close the PR or do I leave it to you?

Hi @caionovaes
The team will do it, just need to wait for another review
BR

Hi @aheritier. Sorry for my ignorance but having submitted a PR and having it accepted by the team wouldn't I appear as a contributor? Notice me, hahaha.

it's strange @caionovaes Maybe a bug in GitHub. You should effectively appear in https://github.com/cloudbees/zendesk-java-client/graphs/contributors

Bummer. I can't help but think I did something wrong because it is my first contribution in code.

@aheritier I actually just made commits with a different e-mail by accident. after adding the other e-mail I was automatically added to the contributors as well. happy new year. cheers


Update Dockerfile for easy cache

Update Dockerfile for easy cache

 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.


Unable to find where to purge cache

I've been clicking around in the Azure portal Front Door resource for some time now trying to find ANY of the referenced ways to purge cache and I cannot find them.  Could you please be more specific as to where this option exists?

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

ID: 2973ab88-1258-8a80-1344-07a9e0063951
Version Independent ID: c0cff4d9-d7fd-7b25-52da-9cbe5dda3ba8
Content: Azure Front Door Service - caching
Content Source: articles/frontdoor/front-door-caching.md
Service: frontdoor
GitHub Login: @sharad4u
Microsoft Alias: sharadag

@dtzar
Thanks for your feedback! We will investigate and update as appropriate.

@sharad4u could you take a look at this request?

There is a 'Purge' button on the Front Door Designer page, next to the 'Save' button.


Suggestion: ability to set certain browsers to only appear with certain rules (URIs/protocols/domains), like Android

According to this proposal, if I open any normal link, I would see the following example browsers:
Chrome, Edge, Firefox
If I open a rule-matching link (like https://steamcommunity.com/sharedfiles/filedetails/?id=1644959932), I would see the following browsers:
Chrome, Edge, Firefox, Steam
This way, I can choose whether I want to open this Steam link in my browser (e.g, if I want to use a Chrome extension's feature for the Steam website), or if I want to open it in my Steam client (e.g, to subscribe to the item since I am already logged in there)
This is not the only use case for this type of feature. For example, I can choose whether to open a Discord link in my client (main account), or the Edge browser (university account).
This means that I don't have to see a browser/icon I rarely use (clutter) every time I use Hurl.
However, It also means that I when I do need that browser/icon, I have the option easily available, rather than having to painstakingly type it into the Run box.
This is how Android does things (app URL associations), and it's perfect UX in my opinion.
(To note, I did try using the recently released rulesets feature to replicate this behaviour, and tested the match, but nothing seems to actually happen when I click a rule-matching link, so I'm not sure what the feature does exactly / it's not working for me)

Bumping this one, 100%. Only thing I miss from Browser Chooser 2 is this Steam functionality.
Also @sjain882 how did you get Steam working? I used explorer.exe to run steam://openurl/{url} originally in BC2, but now I cannot.

Bumping this one, 100%. Only thing I miss from Browser Chooser 2 is this Steam functionality.
Also @sjain882 how did you get Steam working? I used explorer.exe to run steam://openurl/{url} originally in BC2, but now I cannot.

I made a C# program that does exactly that, and it works just fine:
namespace SteamOpener
{
    internal class Program
    {
        static void Main(string[] args)
        {
            System.Diagnostics.Process.Start("explorer.exe", "steam://openurl/" + args[0]);
        }
    }
}


Question: Collect docker metrics from remote docker host

Hello,
I would like to collect docker metrics on my local device from a docker engine which is running on a remote device.
Does anyone know how to use the [inputs.docker] plugin in telegraf with tcp endpoint?
What do I need to set up/configure on the docker daemon from the remote deivce and what do I need to set up/configure on the device from where I want to collect the data? Telegraf will be running in a docker container.
I have tried to set the ExecStart=/usr/bin/dockerd -H fd:// -H tcp://<IP_ADDRESS>:2375 in the docker.service file for systemd as described in https://docs.docker.com/engine/reference/commandline/dockerd/ it is not working.
Can someone help?

@dockerize8 thanks! The docker input for telegraf is documented here: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker#docker-input-plugin
You might have more luck opening this in the https://github.com/influxdata/telegraf repo.


daemon.Attach refactoring

https://github.com/docker/docker/blob/master/daemon/attach.go

The Attach function in the daemon package is exported but not used anywhere else than within the package itself.
The Attach function takes a very long list of arguments which could/should be simplified
The Attach function uses promise.Go when it could just execute its body and wait on the waitgroup since that's how it's being used in the package anyway.

+8,000,000

do it do it do it, we also have a special place in our hearts for those who
can change things in attach without knocking down all the dominoes
On Thu, Mar 26, 2015 at 8:41 PM, Brian Goff<EMAIL_ADDRESS>wrote:

+8,000,000
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/issues/11854#issuecomment-86807532.

@mattetti It used in builder/internals.go btw. But you're right it's awful.

@LK4D4 is it cool if I were to refactor the code so we have a cleaner exported API only used by builder/internals.go, can we also safely assume that nobody is using these libs directly?

Drone has a kinda copy pasted version of this attach but it's from a few
releases ago, make me wanna pull my hair out
On Thursday, March 26, 2015, Matt Aimonetti<EMAIL_ADDRESS>wrote:

@LK4D4 https://github.com/LK4D4 is it cool if I were to refactor the
code so we have a cleaner exported API only used by builder/internals.go,
can we also safely assume that nobody is using these libs directly?
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/issues/11854#issuecomment-86841432.

I would say if someone is relying on this they should switch to whatever
better version you have in mind
On Thursday, March 26, 2015, Jessica Frazelle<EMAIL_ADDRESS>wrote:

Drone has a kinda copy pasted version of this attach but it's from a few
releases ago, make me wanna pull my hair out
On Thursday, March 26, 2015, Matt Aimonetti<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:

@LK4D4 https://github.com/LK4D4 is it cool if I were to refactor the
code so we have a cleaner exported API only used by builder/internals.go,
can we also safely assume that nobody is using these libs directly?
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/issues/11854#issuecomment-86841432.

Great, thanks @jfrazelle I'll try to find some time to do some cleanup, the scope of this task is quite limited so it should be doable :)

@mattetti famous last words.

Cleanest API I could come up with so far:
func (daemon *Daemon) Attach(cont *daemon.Container, stdin io.ReadCloser, stdout, stderr io.Writer) error {}
Instead of having a bunch of conditions everywhere, I would like to use ioutil.Discard when we don't care about a writer, is that cool?
Finally, is the lack of tests around attach due to the difficulty of writing such tests, or am I missing something?
I can't seem to run the tests (or build the package), because I can't figure out how to generate this package: cannot find package "github.com/docker/docker/autogen/dockerversion"
I guess I'm supposed to run my dev env inside docker which I didn't do :(

Ya we have some auto generated files so people can use gcc go, we used to
use compile time variables but I digress, the easiest way to build docker
is inside docker with our makefile and hack scripts. There is documentation
on building on docs.docker.com but brief overview
make shell
Pops you into a shell inside the dev container
Make binary
Makes a binary and it's locally in your bundles folder
Make test-unit
Runs unit tests and so on and so forth
On Friday, March 27, 2015, Matt Aimonetti<EMAIL_ADDRESS>wrote:

Cleanest API I could come up with so far:
func (daemon *Daemon) Attach(cont *daemon.Container, stdin io.ReadCloser,
stdout, stderr io.Writer) error {}
Instead of having a bunch of conditions everywhere, I would like to use
ioutil.Discard when we don't care about a writer, is that cool?
Finally, is the lack of tests around attach due to the difficulty of
writing such tests, or am I missing something?
I can't seem to run the tests (or build the package), because I can't
figure out how to generate this package: cannot find package "
github.com/docker/docker/autogen/dockerversion"
I guess I'm supposed to run my dev env inside docker which I didn't do :(
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/issues/11854#issuecomment-86867713.

You can build it locally but it's requires a lot of packages for static
linking various things and unless you are running on linux you can't really
build a real binary without them (btrfs-tools, aufs-tools, libapparmor, etc
etc)
On Friday, March 27, 2015, Jessica Frazelle<EMAIL_ADDRESS>wrote:

Ya we have some auto generated files so people can use gcc go, we used to
use compile time variables but I digress, the easiest way to build docker
is inside docker with our makefile and hack scripts. There is documentation
on building on docs.docker.com but brief overview
make shell
Pops you into a shell inside the dev container
Make binary
Makes a binary and it's locally in your bundles folder
Make test-unit
Runs unit tests and so on and so forth
On Friday, March 27, 2015, Matt Aimonetti<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:

Cleanest API I could come up with so far:
func (daemon *Daemon) Attach(cont *daemon.Container, stdin io.ReadCloser,
stdout, stderr io.Writer) error {}
Instead of having a bunch of conditions everywhere, I would like to use
ioutil.Discard when we don't care about a writer, is that cool?
Finally, is the lack of tests around attach due to the difficulty of
writing such tests, or am I missing something?
I can't seem to run the tests (or build the package), because I can't
figure out how to generate this package: cannot find package "
github.com/docker/docker/autogen/dockerversion"
I guess I'm supposed to run my dev env inside docker which I didn't do :(
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/issues/11854#issuecomment-86867713.

Also sorry we test a lot of things with integration-cli tests which shell
out to docker. Those are in the integration-cli for theres a file w attach
in the name
You run those tests w
make test-integration-cli
You can run a single test w
TESTFLAGS='-run TestAttach' make test-integration-cli
On Friday, March 27, 2015, Jessica Frazelle<EMAIL_ADDRESS>wrote:

You can build it locally but it's requires a lot of packages for static
linking various things and unless you are running on linux you can't really
build a real binary without them (btrfs-tools, aufs-tools, libapparmor, etc
etc)
On Friday, March 27, 2015, Jessica Frazelle<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','jess@docker.com');>> wrote:

Ya we have some auto generated files so people can use gcc go, we used to
use compile time variables but I digress, the easiest way to build docker
is inside docker with our makefile and hack scripts. There is documentation
on building on docs.docker.com but brief overview
make shell
Pops you into a shell inside the dev container
Make binary
Makes a binary and it's locally in your bundles folder
Make test-unit
Runs unit tests and so on and so forth
On Friday, March 27, 2015, Matt Aimonetti<EMAIL_ADDRESS>wrote:

Cleanest API I could come up with so far:
func (daemon *Daemon) Attach(cont *daemon.Container, stdin
io.ReadCloser, stdout, stderr io.Writer) error {}
Instead of having a bunch of conditions everywhere, I would like to use
ioutil.Discard when we don't care about a writer, is that cool?
Finally, is the lack of tests around attach due to the difficulty of
writing such tests, or am I missing something?
I can't seem to run the tests (or build the package), because I can't
figure out how to generate this package: cannot find package "
github.com/docker/docker/autogen/dockerversion"
I guess I'm supposed to run my dev env inside docker which I didn't do :(
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/issues/11854#issuecomment-86867713.

Thanks @jfrazelle super useful, I got the tests to run and I get how they work now.  Do you setup a dev env inside a container and mount the shared source code?  Sorry for the newbie questions, I feel that I should know that already :(

Nah these are great questions, we were actually all comparing our
environments the other day.
Personally I use vim locally with vim-go, and go imports in save. But I
don't have anything fancy as far as compile on save, maybe somebody else
some secret sauce.
On Friday, March 27, 2015, Matt Aimonetti<EMAIL_ADDRESS>wrote:

Thanks @jfrazelle https://github.com/jfrazelle super useful, I got the
tests to run and I get how they work now.  Do you setup a dev env inside a
container and mount the shared source code? Sorry for the newbie questions,
I feel that I should know that already :(
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/issues/11854#issuecomment-87005047.

If you wanna get really fancy I bet if you edit the makefile docker run to
include -v $HOME/.vimrc:/root/.vimrc:ro -v $HOME/.vim:/root/.vim:ro
Then make shell, and apt-get install vim, there's about a 99% chance all
your plugins work
On Friday, March 27, 2015, Jessica Frazelle<EMAIL_ADDRESS>wrote:

Nah these are great questions, we were actually all comparing our
environments the other day.
Personally I use vim locally with vim-go, and go imports in save. But I
don't have anything fancy as far as compile on save, maybe somebody else
some secret sauce.
On Friday, March 27, 2015, Matt Aimonetti<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:

Thanks @jfrazelle https://github.com/jfrazelle super useful, I got the
tests to run and I get how they work now.  Do you setup a dev env inside a
container and mount the shared source code? Sorry for the newbie questions,
I feel that I should know that already :(
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/issues/11854#issuecomment-87005047.

Hey guys, so are we supposed to consider this issue as claimed?

ping @mattetti
Are you working on this?

Feel free to take this issue, I started working on it, but my free time is so limited that I don't want to block anyone interested in refactoring this code.

Thanks, I'll "have a GO" then :smile:
#dibs

@aneshas any update on this? :)

Hey, sorry, I've been busy lately, totally forgot I claimed this issue, I'm sorry. Someone else can take it, I apologise once again

thanks! I'll take it then!

@runcom any update :wink: ?

Been doing other things sorry for this :/ would you have this a go?

@runcom I've added this in my "To look list" but I think we should remove the status/claimed for now then :wink:

This has been hugely cleaned up. Closing as fixed.


[Reproducers] Copy over access/modification time in the FileCollector.

Copy over access and modification time for the files included in the
reproducer. This is needed to pass tests that check the integrity of
object files based on their time stamp.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@364457 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit c5e41504e79863dce949277578db0419bec63fbc)

@swift-ci please test and merge


How to handle import/export of workflows with custom tasks

Branching from #702:

Define what behaviors depend on the task being standard or not (e.g. import/export of a workflow is not guaranteed to work for non-standard tasks - we should at least raise a warning, or maybe even fail).
EDIT: depending on the choice made in https://github.com/fractal-analytics-platform/fractal-server/issues/721, we may not have to raise any warning/error.

As of 01f7486, we have a warning when exporting a workflow which includes workflow tasks. This will be enough for the current issue, and I'm opening a new issue to decide whether this should be simply a server-side warning or it should actually affect the server response during workflow import/export.

At this stage, displaying a user warning when exporting from Fractal web listing the custom tasks that are used could optionally be done. Not very critical for the time being though.

At this stage, displaying a user warning when exporting from Fractal web listing the custom tasks that are used could optionally be done. Not very critical for the time being though.

Agreed.
Also note that warnings are to be handled client-side (e.g. in fractal-web), cause a warning in the endpoint will only be visible in the fractal-server logs.


"roundtrip" retrieval not working

Hi
I tried a 'roundtrip' retrieval:

US20210277002 gives me a list of smiles.

Selecting one of these smiles as query, eg. "CC1COCCN1C1=CC(C2=C(S(=O)(=O)NC3CC3)C=CC=C2)=C2C=NN(C3=NNC=C3)C2=N1" from page 114 does not seem to give me back the patent.

My script works fine with the example query_smiles "CC1(C)C2(C)CC2CC1CC1C(CO)(C)C1" from the examples directory.
I further note that all chirality has been stripped, and that smiles need to be specifically kekulised, as per following, is that correct? It's worth stating that explicitly somewhere, think it should be as follows?
    molecule = Chem.MolFromSmiles(query_smiles)
    Chem.RemoveStereochemistry(molecule)           #NB chirality not present in db
    Chem.RemoveHs(molecule)
    Chem.Kekulize(molecule)
    query_smiles = Chem.MolToSmiles(molecule,kekuleSmiles=True)

Thank you!

Hi @shortydutchie,
Sorry for the late reply, and thanks for pointing out this problem.
It should now be fixed. You can try the latest version of the notebook molecule_query.ipynb, with your query_smiles:
"CC1COCCN1C1=CC(C2=C(S(=O)(=O)NC3CC3)C=CC=C2)=C2C=NN(C3=NNC=C3)C2=N1".
For information, the issue was that when using grep to search for the string "CC1COCCN1c1cc(-c2ccccc2S(=O)(=O)NC2CC2)c2cnn(-c3cc[nH]n3)c2n1", I forgot to escape the characters [ and ].
The query smiles should not be kekulized, and the stereo-chemistry must be removed.
As you suggested, I added this in the notebook.
Best,
Lucas

Hi Lucas,
Many thanks for this, it is much appreciated. I'll have a play hopefully
soon.
Best,
W
On Tue, 26 Nov 2024, 15:47 Lucas Morin, @.***> wrote:

Hi @shortydutchie https://github.com/shortydutchie,
Sorry for the late reply, and thanks for pointing out this problem.
It should now be fixed. You can try the latest version of the notebook
molecule_query.ipynb
https://github.com/DS4SD/PatCID/blob/main/examples/molecule_query.ipynb,
with your query_smiles:
"CC1COCCN1C1=CC(C2=C(S(=O)(=O)NC3CC3)C=CC=C2)=C2C=NN(C3=NNC=C3)C2=N1".
For information, the issue was that when using grep to search for the
string "CC1COCCN1c1cc(-c2ccccc2S(=O)(=O)NC2CC2)c2cnn(-c3cc[nH]n3)c2n1", I
forgot to escape the characters [ and ].
The query smiles should not be kekulized, and the stereo-chemistry must be
removed.
As you suggested, I added this in the notebook.
Best,
Lucas
—
Reply to this email directly, view it on GitHub
https://github.com/DS4SD/PatCID/issues/2#issuecomment-2501214727, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AO3HKETZUUDUCPXAHKQLNQT2CSJ2ZAVCNFSM6AAAAABOSP5XQGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBRGIYTINZSG4
.
You are receiving this because you were mentioned.Message ID:
@.***>


[To rel/0.12] [IOTDB-1442] Time filter & TTL is not used during the construction of ClusterTimeGenerator

https://issues.apache.org/jira/browse/IOTDB-1442

Good job.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_152fe44b-e359-4238-9ae1-e480b8c1cd7d/pull/1 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-archive-test-target_152fe44b-e359-4238-9ae1-e480b8c1cd7d.git

Docs Build status updates of commit 6217355:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-BuildPermissionInsufficientError] Your repository https://github.com/VSC-Service-Account/docs-archive-test-source has enabled Docs Build service account. It seems that at least one of the account, e2ebd1, does not have Read permission to the repo. Please ask your repo admin to grant correct permission to service accounts (refer to this document: https://review.docs.microsoft.com/en-us/engineering/projects/ops/engdocs/how-to-grant-service-account-permission-in-your-repository?branch=master) and then retry the build.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Use common migration disabled function.

Summary
The long list of stub functions aren't necessary and are beginning to get in the way when adding new ones. Use a common parameterized handler instead.
Test Plan

Codecov Report

Merging #677 (57c0ee6) into develop (4892476) will increase coverage by 0.20%.
The diff coverage is 88.88%.

@@             Coverage Diff             @@
##           develop     #677      +/-   ##
===========================================
+ Coverage    52.13%   52.33%   +0.20%
===========================================
  Files           23       23
  Lines         3654     3640      -14
===========================================
  Hits          1905     1905
+ Misses        1489     1474      -15
- Partials       260      261       +1

Impacted Files
Coverage Δ

idb/postgres/postgres_migrations.go
35.63% <88.88%> (+4.93%)
:arrow_up:

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 4892476...57c0ee6. Read the comment docs.


C++ refactor

I want to continue developing cpm c++ on the main branch since i'm sure this is not gonna break a thing

essential features hasn't been implemented yet, can't merge yet.


In nested sort demo, there's no way to change the depth (parent/child relationship)

Let's say there is a tree structure like this:
A
|--B
|--C
|  |--D

It's not possible to move B below C (and its child D) but still keep it the direct children of A.
Another case is that for D, it's not possible to move it to the place which its parent is A (same as B, C) and below C
Please check jQuery Nested Set as an example which all above mentioned things can be done
http://ilikenwf.github.io/example.html

+1

=1 badly need this

Nested functionality was moved to https://github.com/danielstocks/react-sortable/tree/feature/nested and it was not maintained with new releases. I will put it back on backlog.


test: install koji-compose.py

And use it from its installed location in test/cmd/koji.sh.

openstack failed for some unknown reason but that is irrelevant.


feat: Add SEO & site-map jekyll plugins

This PR refactors project organization and adds plugins for SEO as follows:

removed unused static fonts, switched font-awesome to remote script
added jekyll site-map plugin to generate site-map for search engine easy crawling & referencing
added jekyll seo plugin to handle link preview and SEO properly

The site builds exactly the same way as before, this is strictly to remove unused static files and improves SEO.

Nice one, SEO and some cleaning 👍


Bump Gateway API to v1.0.0

What would you like to be added:
Now that The Gateway API is GA and v1.0.0 is out, we should bump the Gateway API dependencies to v1.0.0 as well.
/area dependency

/area dependency


timer: add method to clear interrupt flag

This change is trivial, but longer term it would be good to have a standard listen/unlisten/clear functions for all peripherals from a usability perspective

bors r+


[Bug]: When the CLI 3.44.1 database migration file is repeatedly run dev serve, an error is displayed and the program terminates

Please confirm that you have:

[X] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
[X] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?
App
Expected behavior
The shopify app dev can run normally, and the development work can be carried out normally
Actual behavior
When the CLI 3.44.1 database migration file is repeatedly run dev serve, an error is displayed and the program terminates

Stack trace
No response
Reproduction steps

config a MySQL 5.7 server confiugration in shopify context.
Works fine on first run and stores Store Shopify Session
At this point the shopify_sessions_migrations table in MySQL has been created
But re-running shopify app dev will show the error in the screenshot, this problem should be an emergency

Operating System
Ubuntu 20.04
Shopify CLI version (check your project's package.json if you're not sure)
3.44.1
Shell
Bash
Node version (run node -v if you're not sure)
v18.14.2
What language and version are you using in your application?
Ruby-3.0.0

Hi, thanks for opening this, I'll tag @Shopify/client-libraries-app-templates so they can take a look at this.

I am getting the same error thrown from the the shopify-app-session-storage-mysql package.


Create Log File

Derp. This already gets logged to: /var/log/auth.log. No need to duplicate the effort.


Letsencrypt Renew

Hello.
We bought a company a while ago. They use letsencrypt to renew the certificate. The automatic updates stopped working and i havnt put enough time on it (i know) to solve it. but i go in and renew it every 3:rd month. But now when it was time for renewal i get stuck even from the beginning when i open up letsencrypt... We never use letsencrypt for our customers otherwise so we are not that good with it. but it says:
"Error: Exception Invalid URI: The URI scheme is not valid"
Please help how i could fix this.. i see that aacme-v01.api.letsencrypt.org is still operationable.
See picture below

If i take yes or no it doesnt matter. But the URI disappears when i do that. See pic below.

Hi, Let's Encrypt have shut down their old API so you need to upgrade your version of win-acme immediately. Check out the upgrade guide on the win-acme website (particularly the upgrade to 2.0), you need to use the import renewals option.

https://www.win-acme.com/manual/upgrading/to-v2.0.0


WIP: joint topo and TS plot

Work in Progress.
API examples:
ts_args = {"hline":[0], "gfp":True}
topomap_args = {"vmin":-400, "vmax":400, "times":[.07, .11]}

f1 = joint_plot(evoked, title="Faces");
f2 = joint_plot(evoked, title="Faces",
               ts_args=ts_args, topomap_args=topomap_args
              );

Close because due to extensive reworking.


Pipeline config

Pipeline config changes to deploy application Staging live and Production live-1.

No longer relevant


[BEAM-103][BEAM-130] Make Flink Source Parallel and Checkpointed

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x ] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[ x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one

CC: @mxm for the Flink parts
CC: @tgroh for the tests, I thought you could have something to say about that since you started the doc about better testing
I created a new TestCountingSource in the runner-flink package because I didn't want to depend on the data flow runner. Maybe we should move this to a common package.

R: @mxm @tgroh @dhalperi
[I'll take a look too just to get a sense of what you're doing for sources ;)]

Great @aljoscha 👍 I think that brings us full compatibility with the Source API. I've made some minor comments but looks great all in all.

@mxm Thanks for the review! Let's see what the experts have to say about the source splitting thing.

I addressed the comments.
@mxm I still have some SuppressWarnings("unchecked") in UnboundedSourceWrapper. Not sure if we can get rid of those. The problem is that that UnboundedSource.split() returns a list of ? extends UnboundedSource and also that Reader.checkpoint returns a CheckpointMark while the checkpoint mark coder that I get from the source is of generic type CheckpointMarkT. @dhalperi are there plans to change that latter problem, or maybe some reasons for it being that way?

Thanks for the update @aljoscha.
Regarding the split generation of the source. I think what we will have to do is to put a Mapper with parallelism 1 in front of the source. That mapper will generate the splits and send them downstream to the actual source. In Flink we can't determine the runtime parallelism beforehand so I think this is the way to go if we only want to generate splits once and achieve the best partitioning of the splits.

@mxm That approach would get us into deep trouble, IMHO, because it would mean that we have sources in operators that don't behave as sources, which is problematic because of the way the Flink source interface works. I.e. that the source run() method never returns but pushes out data.
I pushed a new commit that instead always requires that a parallelism be set on the FlinkPipelineOptions with sensible defaults. There should now always be a valid parallelism available in the UnboundedSourceWrapper constructor.

Thanks for fixing. That's a sensible approach to go with a default parallelism in the PipelineOptions!

LGTM

@tgroh I changed the test, is this what you had in mind?

Yeah, that looks good.

Alright, thanks all for reviewing! 😃  I'll merge it now.


Also link to libraries on other systems

This has been tested on DragonFly BSD.
It is assumed to be the same on FreeBSD and many other BSDs which
use X11.

Thanks!