code labs 'Your first Flutter App' - documentation update

https://codelabs.developers.google.com/codelabs/flutter-codelab-first#6
Step 7 'Add navigation rail' is missing the instruction to update the home reference within MaterialApp from GeneratorPage() to MyHomePage().
Without this change then the learner will not see the addition of the SafeArea and Expanded section. Suggest that the following instruction is added to the documentation:
Make the following change:
lib/main.dart
`
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return ChangeNotifierProvider(
create: (context) => MyAppState(),
child: MaterialApp(
title: 'Namer App',
theme: ThemeData(
useMaterial3: true,
colorScheme: ColorScheme.fromSeed(seedColor: Colors.red),
),
home: MyHomePage(),     // ← Change to this.
),
);
}
}
`

I just realised what happened, I am using Visual Studio Code and decided not to copy and paste any code from the 'You first Flutter app' tutorial so did a refactor of MyHomePage to GeneratorPage which renamed the reference in MyApp MaterialApp widget also.
My mistake, thank you for the very quick response and apologies for wasting your time.

No issues @podrob :) Don't let this discourage you from raising issues if you see them


Web UI Job View of Plans Not Working Behind IAP

I'm seeing something strange where the "live plan" view via the console UI has strange behavior where sometimes the full plan doesn't display (especially for larger plans). I used your terraform module for GCE setup. If I bypass IAP, everything is showing correctly.
I know it was mentioned here that this is due to IAP stripping off the bearer authorization header.
Any ideas for a workaround? Could I put nginx in front of the atlantis docker container to deal with the authorization header issue somehow?

Hi @scott-standard, thanks for raising this issue. I'm currently not aware of any workaround to bypass this issue, there probably are ways to solve it but it might add some 'magic/complexity' to your deployment.

Hi @scott-standard I would assume you still face this issue correct, or did you manage to by-pass it? It seems to be an implication between Atlantis itself and IAP combined with the Global Load Balancer. Is it ok if I close the issue on this repo?


Added ch-and-kafka

A docker compose recipe to demo ch and kafka interaction

 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.Avin Zhang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@nellicus

@avinzhang apologies, this slipped through. do you mind adding the related README.md for this recipe and update the list at https://github.com/ClickHouse/examples/blob/main/docker-compose-recipes/README.md ?


statistic: more stable test for query test

Signed-off-by: lhy1024<EMAIL_ADDRESS>
What problem does this PR solve?
Issue Number: close #10380
Problem Summary:
query test is unstable, for write request statistics it will be occasionally inaccurate
What is changed and how it works?
What's Changed:
Add more detections while being compatible with occasional redundant qps statistics
Check List
Tests

Unit test
Integration test
Manual test

rm t.log
for i in {1..100}
do
    cargo test --package tests --test integrations -- raftstore::test_stats::test_query_stats --exact --nocapture &>> t.log
    sleep 1
done
cat t.log | grep panic

there is only panic with No address added out of total 1 resolved

Release note
None

/cc @hicqu @nolouch @Yisaer

/run-tests

/merge

/run-tests

/rebuild

/run-tests

/rebuild


Connector: directory connector [Source/Destination]

Resource name
directory
Resource link
https://en.wikipedia.org/wiki/Directory_(computing)
Connector type
Source
Expected connector behavior
We already have the file connector, so this is the logical next step. Just point to a directory and let conduit do its job.
Usecases:

Backups mainly
People that use something like obsidian, and want to backup all files into S3
Move files all files from an S3 bucket into a folder.

Oh @nickchomey hello! I was thinking about fsnotify aswell, sad that doesn't include adding new files. I remember reading somewhere that air also had good filewatching capabilities.
I'd like to do this connector soon at some point, looks very fun to program!

FYI I've added this (and other connector requests) to our internal connectors' project where we prioritize all connector requests. We'll let you know once we figure when we're going to work on this.


Bugfix BotFrameworkAdapter.createConversation

The API endpoint for creating conversations requires a Conversation object parameter, and as such the SDK function requires additional parameters including members and potentially topicName and activity as well per:
https://docs.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-connector-api-reference?view=azure-bot-service-4.0#create-conversation
https://docs.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-connector-api-reference?view=azure-bot-service-4.0#conversation-object

Addresses #531.
@Stevenic @benbrown @tomlm @stevengum do you think you could take a quick look at this? Seems pretty straightforward but looking forward to your feedback - cheers!

 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.:x: mecampbellsoup sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Suggestions about rewards #1

Hello, I have some suggestions for your plugin:

An option for a reward is not necessarily to give an item, but an option for a command to be executed, for example: giving money to a player or earning a rank

Hopefully you will find them interesting and maybe it will happen on the plugin.
Baba.

bump

Alongside with the menu mentioned in the suggestion #2, we can make it so you can make the item give a command instead of the item itself.


S and P did not show up, is that normal?

Well I found this. But that’s too far between them 😱


Start as boy character?

Is there a line I can edit to make the script select the male twin in the beginning? Sorry if this is the wrong place to ask, I am not familiar with github. Script working perfectly, but I would prefer to start as the male character. Thanks (:

sorry i am stupid and very tired. I figured it out


IE rgba bug

I'm trying to keep the "0." in an rgba value to fix an IE bug.
rgba(0,0,0,.2)

I need to keep the "0" before before the decimal point
rgba(0,0,0,0.2)

How do I do this?
p.s. I'm using gulp-minify-css

@joshmedeski there's no way I'm afraid although we should have a compatibility switch for it.
Could you

let me know which version of IE it affects - I assume it's at least IE9 as rgba is not supported in earler versions;
point me to a testcase (codepen / jsfiddle).

I've started this bug fix journey here: https://github.com/zurb/foundation/issues/6443
At this point I've turned off the magnification so you won't see the bug live, but the RGBA values didn't work on IE9, 10 & 11 ;(

Ok, we'll have a new compatibility option. Stay tuned.

:+1: thanks @jakubpawlowicz

@joshmedeski I've retested rgba and it works fine for me on IE10 & IE11. Not sure about IE9 as I don't have access to it now.
However looking at your comment https://github.com/zurb/foundation/issues/6443#issuecomment-91269226 I noticed there's no space in rgba(255,255,255,.4)transparent transparent, which apparently does not work in IE. We have a switch called spaceAfterClosingBrace - https://github.com/jakubpawlowicz/clean-css#how-to-set-compatibility-mode -  which does that so please turn it off for the time being and I'll fix its behavior in the meantime, which apparently was not extensively tested on IE.

@jakubpawlowicz I couldn't pinpoint the exact problem but this did the trick! Thanks for helping squish this bug.
Let me know if/when you fix the IE settings ;)

Sure, I should have something ready over the weekend.

It's fixed in master now, following the investigation outcomes:

it apparently does not work in IE9 where removing the space will always break content.
in IE 10 it works only inside background, transform and src properties.

Can still be turned on with --compatibility *,-properties.spaceAfterClosingBrace switch.


Fatal Error: v8::ToLocalChecked

Hello!
I'm tried to launch ntl in the folder doesn't containing a package.json file and got fatal error on output.
FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal

Yeah, I got a different error but a terrible one too. I'll add a better error message :blush: thanks for reporting


FIX for image-snapshot being broken && FIX snapshots

by actually serving content (no file://)

@ndelangen could be a memory issue but here is what chrome logs:
https://circleci.com/gh/storybooks/storybook/95407
Googling implied maybe it was<EMAIL_ADDRESS>but downgrading to 1.11 doesn't seem to have helped.


Fix navigation menu being covered by map menu options

Clicking on the navigation menu while in the map view leads to the navigation menu being covered up by the map menu (so the user cannot access the Specimens tab). This is likely a quick z-index fix.

This could be changed 3 places. in the react widgets, the theme or in your site.
It made best sense to do it in the widgets i found.

Ahh . i only just now realise that it is because we did custom styling of your menu dropdown. Anyway, above should fix it either way.

Can confirm now fixed due to the push to the widget! Thanks


Notification problems on Windows 10 Pro 1809

Windows 10 Pro 1809, Android Messages 1.0.1.
The app doesn't show in the "Notifications and Action Settings" list. It used to, but no longer does, even if I remove and reinstall it. So I don't get the "toast popup" style notifications that I prefer. Because of this, I enabled the audio notification within the AM app itself and have relied on that for a while. However, I've now disabled them within the app, and Windows still dings at me when I get a text message. Something seems off about the notifications now.

I noticed this too.


connect more than 4 controller

Can this library connect more than 4 devices?

Yes. You can use the index property of the Controller to set a value between 0 and 3. Also check the examples.
I will be closing this issue, since it is not related to any label.


fix: enable live reloading title of doc

Motivation
Fix enable live reloading when doc title is changed #1213
Have you read the Contributing Guidelines on pull requests?
Yes.
Test Plan
Local Testing. The blog is working locally after changes without any errors or warnings.
Demo Video Before Changes
Demo Video After Changes
Related PRs
N.A

Please rebase. And also, don't just reload when title is changed. I think we should also reload for other metadata cases :)
For example
https://docusaurus.io/docs/en/doc-markdown#markdown-headers
hide_title and sidebar_label

@endiliey  Made the changes 👍

Hey, @endiliey I just realized that I did a git merge instead of a rebase. Will it be an issue? If yes then I can re-submit the PR. My Bad, It's my first PR for an open source package 😥.

@tusharf5 Merging is fine, the more important thing is you have the latest code within your branch.

@endiliey I've pushed the changes that you suggested. : )

did u test it out again ? im on vacation so my response is slow

Oh okay : ) and yeah I've tested it out, it works as expected. (live reloads for the specified metadata attributes) @endiliey

ok. lets ship it. 🔥🔥 u ready ? 👀

Thank you : )

Nah, thanks to you as the contibutor😛👍


gulpfile.babel.js support #3043

Solves #3043. Used the same style of code as used for multiple Jakefile detection.

Hi @Klemensas, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

@dbaeumer Moving to February

This should be now implemented using the new task contribution support which is available since end March

As stated, this should be implemented using the task contribution point.


cannot query events - forbidden

Installed the SDK and I am able to query alerts, assets, investigations, users... but have not been able to query events.
Using the sample script available in the docs (https://github.com/secureworks/taegis-sdk-python/blob/main/docs/querying_events.md)  --tried both delta and US2 environments.
Let me know what else I can try.  Will keep poking around in the mean time.
Thanks!
script response below.
`

Traceback (most recent call last):
File "/home/jorge/Taegis/./events.py", line 15, in
results = service.events.subscription.event_query("FROM process EARLIEST=-1d | head 10", options=options)
File "/home/jorge/.local/lib/python3.10/site-packages/taegis_sdk_python/services/events/subscriptions.py", line 41, in event_query
result = self.service.execute_subscription(
File "/home/jorge/.local/lib/python3.10/site-packages/taegis_sdk_python/service_core.py", line 178, in execute_subscription
graphql_field = self.get_ws_schema().subscription_type.fields.get(endpoint)
File "/home/jorge/.local/lib/python3.10/site-packages/taegis_sdk_python/utils.py", line 142, in wrapper
result = future.result()
File "/usr/lib/python3.10/concurrent/futures/_base.py", line 458, in result
return self.__get_result()
File "/usr/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
raise self._exception
File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/jorge/.local/lib/python3.10/site-packages/taegis_sdk_python/utils.py", line 138, in run_async
return asyncio.run(coro(*args, **kwargs))
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()
File "/home/jorge/.local/lib/python3.10/site-packages/taegis_sdk_python/service_core.py", line 117, in get_ws_schema
async with client:
File "/home/jorge/.local/lib/python3.10/site-packages/gql/client.py", line 658, in aenter
return await self.connect_async()
File "/home/jorge/.local/lib/python3.10/site-packages/gql/client.py", line 632, in connect_async
await self.transport.connect()
File "/home/jorge/.local/lib/python3.10/site-packages/gql/transport/websockets_base.py", line 490, in connect
self.websocket = await asyncio.wait_for(
File "/usr/lib/python3.10/asyncio/tasks.py", line 445, in wait_for
return fut.result()
File "/usr/lib/python3.10/asyncio/tasks.py", line 650, in _wrap_awaitable
return (yield from awaitable.await())
File "/home/jorge/.local/lib/python3.10/site-packages/websockets/legacy/client.py", line 655, in await_impl_timeout
return await self.await_impl()
File "/home/jorge/.local/lib/python3.10/site-packages/websockets/legacy/client.py", line 662, in await_impl
await protocol.handshake(
File "/home/jorge/.local/lib/python3.10/site-packages/websockets/legacy/client.py", line 329, in handshake
raise InvalidStatusCode(status_code, response_headers)
websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 403

`

Hello @spaniard-usa ,
From the looks of your error message, the API call seems to be failing at the introspection layer.  The SDK queries the gateway for a schema to help build and validate before sending your specific call to the server.  This would not be a failing on any implementation of your code or the SDK.
I have tried this code segment with both "delta" and "US2" with a number of different roles without issue:
from taegis_sdk_python.services import GraphQLService
from taegis_sdk_python.services.events.types import EventQueryOptions

service = GraphQLService(environment="US2")
options = EventQueryOptions(
    timestamp_ascending=True,
    page_size=1000,
    max_rows=1000,
    skip_cache=True,
    aggregation_off=False,
)

results = service.events.subscription.event_query(
    """
    FROM process EARLIEST=-1d | head 10
    """,
    options=options
)
print(results)

If you are still receiving the error, can you open a ticket with Taegis product support so we can look at your account and user specifics?

Just opened a ticket through Taegis support. :)

@spaniard-usa I was finally able to replicate the issue on my end.  I believe I have found the issue and released a fix in v1.0.0-alpha9, could you update the sdk package and try the events search again?
I am removing the x-tenant-context-xxxxx Sec-WebSocket-Protocol header when a tenant_id is not explicitly set.  That fixed it in my replication test.
I appreciate your patience and assistance in tracking this issue.

:) Test was successful with 1.0.0a9.
Thank you for the help!!

I ran into this issue as well, I thought that a tenant_id was necessary not optional so that this API call would be allowed.
But it seems it was not needed, thanks for reporting the issue @spaniard-usa


[gha] retire v1.3 release

Motivation
retire release-1.3 as it is no longer in prod.  add releas-1.5 to next release.
Test Plan
no test besides lint in CI.

/land

:broken_heart: Test Failed - ci-test

/land


Suggest use SHA-512 for security concern

I can't accept this change either, as used of SHA-1 is defined in various specs.

@coheigea Thanks for your feedback, our tool report that as a vulnerability issue because SHA1 is a broken hash algorithm, there is a paper published in 2005 https://www.iacr.org/archive/crypto2005/36210017/36210017.pdf to prove SHA1 is no longer secure. So our tool suggests using SHA-256/ SHA-512 instead for security concern~


PythonPackages: add rig + sentinel

Motivation for this change
Rig is a python module used in Neural Network research.  Sentinel is a dependency.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Can this be backported to 19.03?


docs: fix atom.set usage

Hi @thihathit . Thank you for the fixes!
I'll merge this PR, and I'll kindly close your other PR, then merge master onto website.


Code for TSA adapter designs

Thank you for your great work on TSA.
I note that in the TSA paper, different adapter topologies and parameterisation were studied. I'm interested in replicating those additional studies but it seems like the released code defaults to the best configurations and left out the implementation for alternative designs. May I check if my understanding is correct or did I miss something?

Thanks for the nice words and questions!
We currently only released the code for the best configuration of TSA as I didn't have too much time for the alternative options of adapters at that moment. But we are planning to release the code for alternative designs of adapters (as you can see the code) and will do soon!
Best,
WH

Hi Wei Hong!
Any updates on this? I am also interested in replicating the additional studies. If the code is not ready for publication yet, maybe you could post only the snippet that goes into adaptors.py!

Hi all,
Many thanks for your interests and patience!
I have updated the code for including different options of task-specific adapters. See https://github.com/VICO-UoE/URL#cross-domain-few-shot-learning-with-task-specific-adapters for more details. Let me know if any questions!
Best,
WH


on press current location showing blank list

I have clicked on current location but it's showing blank list check the link https://snack.expo.io/Skd57d2r-
Pleas help me

I have the same issue as well.

you have to remove renderDescription after that resolve your problem

You saved me !! thanks :)


Add support for custom inline elements

org.commonmark.parser.DelimiterProcessor only supports inline elements with symmetric delimiters, like * and _ (or ~~ for strikethrough). I'd like to write an extension for inline elements with asymmetric delimiters (in my case, {}), but this is not possible with the current design.
I have considered using a org.commonmark.parser.PostProcessor, but I'd like my extension to be parsed with the same precedence as other inline elements.

Hey! So if we changed DelimiterProcessor to allow the start and end delimiter to be different, would that be enough for your use case?
Would be good to know a little bit more about what {} would need. E.g. * and _ use the concept of left and right-flanking delimiter runs. Would you want the same to apply to {}?

Changing DelimiterProcessor to support different delimiters would be useful. I think it would also be fair to say all DelimiterProcessors are bound by left/right flanking rules.
At a higher level, how would someone add support for inline elements parsed with the same precedence as a link or code span? One concrete example would be using commonmark with javadoc-like tools. How would you parse {@code foo} or {@link SomeClass}?

Cool, let's do that change for DelimiterProcessor and see how well it works for the above case. Do you want to have a go at it? It should be fairly straightforward, and I can give you pointers if you're stuck.
For {@code foo} or {@link SomeClass}, it seems like you could already do that in a post-processing step by looking at the literals of the parsed Text nodes, and then splitting up the text nodes and inserting your own nodes in between.
If you'd want to do it by participating in the inline parsing (and there's good reasons for that), we'd need to add new APIs. There would need to be some way to trigger it (e.g. { in the above case), and then the custom inline parser could consume as many characters as it needs from the input, and then return control. That would be in line with how InlineParserImpl currently works.

Has this (asymmetrical delimiters) been implemented yet?

Fixed, DelimiterProcessor can now specify different opening and closing delimiter characters. See DelimiterProcessorTest for an example using {}.
@jleyba Could you build from master and check to see if that works for your use case?

Released in 0.5.0.


chore(helm): add support for annotations in secret resources

SUMMARY
Request to add support to enable annotations to secret resources. We have a specific use case as we use a secrets management tool to manage our Kubernetes secrets, but that requires annotations to be added to the secrets.
I think others could benefit from this as common use cases for annotating secrets include:
Providing Additional Context: Annotations can store additional information about the secret, such as a description of its contents, the purpose of the secret, or information about how it was generated.
Integration with Tools: Many tools and systems that integrate with Kubernetes use annotations to store configuration or state information. For example, a tool that manages secret rotation might use annotations to store the last rotation date.
Versioning Information: Annotations can be used to hold versioning information, especially if the secret is part of a CI/CD pipeline.
Security Markings: In some cases, annotations might be used to hold security-related metadata, like compliance tags or access policies. However, it's important to remember that annotations are not a substitute for proper access control.
This PR adds a new entry in the values.yaml file called secretAnnotations and updates the secrets templates to support annotations. If users add custom annotations in the values.yaml file, they will be added to the secret resources and vice versa.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS
Run helm template with custom annotations in the values.yaml file.  This will generate the template yaml files with annotations in kind secret resources.

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

@ronballesteros are you still working on this PR? If so, please rebase it and check the review comment.

I think I can close this one out as I just created template files for the secrets I needed for our CD to deploy and then used the configOverrides option in the chart to import them in.
Thanks for reviewing.

Thanks @ronballesteros 👍


Support KSP

~ https://github.com/google/ksp

KSP won't be stable enough for our ecosystem in the near future, the JetBrains' statement about kapt being in maintenance mode is irrational having such issues unresolved for years:

https://github.com/google/ksp/issues/31
https://github.com/google/ksp/issues/37
https://github.com/google/ksp/issues/358
https://github.com/google/ksp/issues/431
[...] And much more to be fair about several bugs

Closing this for now as moving to KSP is not an option.


Fix NSUrlCredential tests on reference platform

Trying to create a NSURLCredential without an identity should return nil. The default persistence when creating with trust should be NSURLCredentialPersistenceForSession.
Fixes #774

@msft-Jeyaram is added to the review. #Closed

:shipit:

:shipit:

:clock1:

:shipit:

:shipit:


Can't enable components via manifest generation (--set doesnt work for me)

Bug description
In the --help page for Istio 1.9 CLI it shows that I should be able to run the following:
istioctl manifest generate --set components.policy.enabled=true

If I run that exact command, however, I get an error stating:
Error: could not unmarshal merged YAML: unknown field "policy" in v1alpha1.IstioComponentSetSpec.

What I'd actually like to pass in though is the following:
istioctl manifest generate --set components.egressGateways.enabled=true

But this results in a different but equally confusing error:
Error: could not unmarshal merged YAML: json: cannot unmarshal object into Go value of type []json.RawMessage

Any guidance here would be much appreciated.
[X] Docs
[X] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
Expected behavior
Manifest should be generated with ConfigMap including provided options.
Steps to reproduce the bug
Run: istioctl manifest generate --set components.policy.enabled=true 2>&1 | head which should allow you easily see the error I am seeing.
Version (include the output of istioctl version --remote and kubectl version --short and helm version --short if you used Helm)
1.9.0
How was Istio installed?
Generated a manifest and applied using Flux v2 GitOps tool. Essentially the same as kubectl apply -f
Environment where the bug was observed (cloud vendor, OS, etc)
Amazon EKS, Amazon Linux 2.0

Mixer components (components.policy and components.telemetry) have been removed since istio 1.8: https://istio.io/latest/news/releases/1.8.x/announcing-1.8/#deprecations
Egressgateway component is a list, to set it with command line: istioctl manifest generate --set components.egressGateways[0].enabled=true --set components.egressGateways[0].name=istio-egressgateway. The doc needs to be updated.


[DOC] Implement dataset module and add new documentation

Discuss:
how make documentation more readable for all:
Sugestion: separe advanced concepts and make it visual
how to simplify the code at examples.
Sugestion: preprocess outside code

Related issue #102

@felipeffm  as we've talked today, I think it would be nice to have a structure similar to sktime, with one function for each dataset
I liked the idea of having a file with common plotting functions used in the documentation examples as you are implementing. Thank you very much for proposing this PR :)

might this also be relevant?
https://github.com/sktime/sktime/pull/4333

might this also be relevant? sktime/sktime#4333

yes! Felipe told me he won't be able to finish this PR due to bandwidth limitation, I'm planning to implement it inheriting BaseObject  from skbase - now potentially BaseDataset from sktime. I can imagine that this sktime's PR still need some work, and all datasets would need to be adapted, isn't it?

I can imagine that this sktime's PR still need some work, and all datasets would need to be adapted, isn't it?

Yes, that's right - it is just a design study at the moment, not even a fully developed API. It was created for the benefit of some contributors who were considering to work on this but then abandoned the project.
So, if you create an API in prophetverse and it looks good and adaptable, I would very much also like to adapt it for sktime. Or, if you even implement such an interface in sktime first, and then "inherit" it in prophetverse, that would be even nicer! Either would be appreciated, as I also do not have bandwidth for the data sets module at the moment.

Alright, I'll implement it in sktime and then use it in Prophetverse. I'm currently on vacation and should start working on that in about 2 weeks.


Setup localazy

The goal of this PR is setup all we need for the new translation process:

adds localazy cli
config localazy cli with localazy.json file
add script to translate new keys with openai

requirement to use those tools:

create a localazy.keys.shared-business.json containing write and read keys to your localazy project
create a .env file with OPENAI_API_KEY

localazy.keys*.json file should contains:
{
  "writeKey": "REPLACE THIS BY YOUR LOCALAZY PROJECT WRITE KEY",
  "readKey": "REPLACE THIS BY YOUR LOCALAZY PROJECT READ KEY",
}

How to download keys updated on localazy:
yarn localazy download shared-business -k localazy.keys.shared-business.json

How to upload new keys to localazy: (will be setup automatically in github actions)
yarn localazy upload shared-business -k localazy.keys.shared-business.json

How to translate with AI
yarn ai-translate
# and press `y` to confirm you want to translate missing key to a language

@Epimodev Just added LOCALAZY_SHARED_BUSINESS_READ_KEY and LOCALAZY_SHARED_BUSINESS_WRITE_KEY


Update catalog from remote repository ?

Hi
I use catalog from my remote repository and include configuration like this into settings.gradle:
dependencyResolutionManagement {
    versionCatalogs {
        create("libs") {
            from("com.example:catalog:1.+")
        }

        repositories {
            maven {
                url 'https://artifactory.example.com/artifactory/repo/'
            }
        }
    }
}

Is it possible to update catalog from repo instead of *.toml file ?
Unfortunately, -SNAPSHOT suffix doesn't work for versionCatalogs.
Thanks.

No that wouldn't work as the catalog is hosted in a repository, and you can't change it in that repository.
You could however use the plugin the update the toml file that you publish, though you would need to do some special setup, #65 has some ideas around this.

Thanks for reply, @hvisser
When I update versions in toml file in my catalog project and re-publish, that's does not matter. Project that use catalog can't update (re-download) new version of toml even if it is snapshot. I need explicitly remove catalog dependency from gradle cache to get edition of the same version of catalog.

If the issue is that the dependency isn't updating for you, then that might be a Gradle issue, not something related to this plugin, since that is a core Gradle feature.

Yeah, I guess. I thought that maybe you know how to solve this issue. So, any way, thanks.


Support workspaces option in deno.json

To apply different import maps for sub-directories.

Imports are now managed in the root configuration file so we don't need this.


gymnasium_basic_usage.py | Problem running it

Hi, I recently installed RotorPy (Running on Windows | Python 3.11.9) and wanted to use the RL/ML features you propose.
I tried to run "gymnasium_basic_usage.py" and got the following error:
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
PS D:\Documents\ASU\RotorPy\rotorpy\examples> python .\gymnasium_basic_usage.py
Traceback (most recent call last):
File "D:\Documents\ASU\RotorPy\rotorpy\examples\gymnasium_basic_usage.py", line 51, in
observation, info = env.reset(initial_state='random')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: OrderEnforcing.reset() got an unexpected keyword argument 'initial_state'
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Do you have any idea from where this could come from?
Thanks,
Val

Same Issue:
Traceback (most recent call last):
File "ppo_hover_train.py", line 62, in
observation, info = env.reset(initial_state='random', options={'pos_bound': 2, 'vel_bound': 0})
TypeError: reset() got an unexpected keyword argument 'initial_state'

Thanks for bringing this to my attention. @valgau-asu or @RoboDD can you tell me what versions of gymnasium you're running?

Thanks for bringing this to my attention. @valgau-asu or @RoboDD can you tell me what versions of gymnasium you're running?

Hi @spencerfolk,
Thanks for quick reply. My versions of gymnasium is 1.0.0.
~/rotorpy/examples$ python
Python 3.8.10 (default, Jul 29 2024, 17:02:10)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gymnasium
>>> gymnasium.__version__
'1.0.0'

Ok I was able to replicate the error by upgrading to gymnasium==1.0.0. I suspect they might have changed some things since the initial version I installed when developing the gym environment.
As a band-aid solution I specified a compatible version of gymnasium in the setup.py. You can see the version in<PHONE_NUMBER>4c358005878f2306bbd9c433b4abf9
It's older but still has the main functionality offered by the gymnasium package.
I'm going to keep this issue open because I'd like to one day make the environment compatible with future versions of gymnasium. If anyone figures out the future-proof fix feel free to open a PR.

My temporal solution:
ppo_hover_train.py, modify these lines:
# Reset the environment
# observation, info = env.reset(initial_state='random', options={'pos_bound': 2, 'vel_bound': 0})
observation, info = env.reset(options={'initial_state': 'random', 'pos_bound': 2, 'vel_bound': 1})

quadrotor_enviroments.py, modify these lines:
def reset(self, seed=None, options={'initial_state':'random', 'pos_bound': 2, 'vel_bound': 0}):
...............
        #! add two lines to force assign parameter after super().reset(seed=seed)
        options={'initial_state':'random', 'pos_bound': 2, 'vel_bound': 0}
        initial_state = 'random'
...............

Then, I can run the given PPO train and eval scripts. It seems reset function can not have initial_state as an argument.

Thank you for the answer! It worked on my end.


max_time argument for rollup to allow for updating old rollups based on an interval

We have a high amount of data that we rollup and for that we have to rollup day-by-day, e.g.
(0..365).reverse.each do |n|
  Model.where("created_at < ?", n.days.ago).rollup("key")
end

But a new problem we have is that some of that old data has changed and we have to recalculate it all, day-by-day. We can't do
Model.where("created_at < ?", n.days.ago).rollup("key", clear: true)

as that deletes all the rollups for that key every time it runs. We initially then tried
(0..365).reverse.each do |n|
  # delete all data on that day
  Rollup.where(name: "key", time: n.days.ago.date).delete_all

  # re-rollup that day
  Model.where("created_at < ?", n.days.ago).rollup("key")
end

But that also doesn't work because of max_time https://github.com/ankane/rollup/blob/master/lib/rollup/aggregator.rb#L54
So I thought of having max_time as an argument, that way I can:
(0..365).reverse.each do |n|
  # delete all data on that day
  Rollup.where(name: "key", time: n.days.ago.date).delete_all

  # re-rollup that day
  Model.where("created_at < ?", n.days.ago).rollup("key", max_time: (n+1).days.ago.to_date)
end

I understand this is rather specific, would appreciate your thoughts here,
Thanks!

Hey @dudadornelles, thanks for the PR (and the great description/context)! I think it may be better to add a range option so deleting previous rollups isn't needed.
365.times do |n|
  Model.rollup("key", range: n.days.ago.all_day)
end

Thoughts?

Yeah that is a lot cleaner, working on it!

opened https://github.com/ankane/rollup/pull/7


Run root Docker as the current user

Reapplication of 3539eff338352aba83dbae9e7b310d6a7d9a7d56 but this time we only add the --user argument for root Docker. Rootless Docker behaves the same as Podman and doesn't need the --user flag; in fact it breaks builds if you add it.
I also added a comment for the :z flag.

IMO a better solution than messing around with Docker/Podman is Apptainer, which is explicitly designed for this use case and takes care of exposing mounts etc. for you. Unfortunately people are unlikely to have it installed already so we're probably in an "everyone uses shitty Bash scripts because Bash is already there" sort of situation. :-/

FWIW, this version works on my Mac.

The Release new ISA When merging a PR still fails.  I recognize why this is happening.  We'll try to figure out how to fix this.

It won't pass because it's running from my fork.
If you run it manually for master it should work though. I think the configuration needs to be changed a bit, I'm not a GitHub actions pro though....

I fixed up the workflow and it's working as it should now.


Add issue templates

based off https://github.com/remarkjs/.github/tree/c669bbe44cd9ed1960e36c5fb172f4d03f7911c2/.github/ISSUE_TEMPLATE

replaces references to remark with xdm.
removes links to github discussions since they aren't enabled on this repo, and instead adds a question template
Adds potential starts for codesandbox and stackblitz (these appear to be not fully functional due to ESM support gaps in these platforms, alternative ideas are welcome)

Thanks for the feedback @wooorm!
Updated to use the micromark template, also updated the codesandbox to use evalutate sync which does appear to work consistently in the sandboxed env.

Awesome!


How to run the examples?

I'm following the toplevel README, and for mask list examples I get:
react/create-react-app
react/gatsby-themed-site
react/next.js
svelte/svelte-app
vanillajs/monolith
vue/nuxt-app
vue/quasar-app
vue/vue-cli-app
yew/todomvc
communication/dist
communication/src-tauri
flutter_example/lib
flutter_example/src-tauri
flutter_example/test
flutter_example/web
mint-tauri-starter/public
mint-tauri-starter/source
mint-tauri-starter/src-tauri
mint-tauri-starter/tests
reason-react/src
reason-react/src-tauri

but mask run example communication gives
sh: line 0: shopt: globstar: invalid shell option name
unknown project ./communication

and mask run example communication/dist yields:
sh: line 0: shopt: globstar: invalid shell option name
unknown project communication/communication/dist

Also, how would I use these samples as a starter for my own project, without cloning it in the root of a tauri clone?

This is now a smoke tests repo rather than an example repo. You'll probably want to just use the tauri init command or the create-tauri-app NPM package.
The communication smoke test was removed, you'll have success running one of the others.


Docker Compose does not run with new image windows-2022 with Docker 23.00 - The current Compose file version is not compatible with your engine version.

Description
I think docker compose v2 2.15.1 is not compatible with Docker 23.00 shipped with the new windows image ( https://github.com/actions/runner-images/blob/win22/20230206.1/images/win/Windows2022-Readme.md )
I think docker compose 2.16.0 should be integrated into the new windows-2022 image:
https://github.com/docker/compose/releases/tag/v2.16.0
I always get the following error since the new image is used:
##[error]The current Compose file version is not compatible with your engine version. Please upgrade your Compose file to a more recent version, or set a COMPOSE_API_VERSION in your environment.
##[error]The process 'C:\ProgramData\Chocolatey\bin\docker-compose.exe' failed with exit code 1
Platforms affected

[X] Azure DevOps
[ ] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

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

Image version and build link
Runner Image
Image: windows-2022
Version: 20230206.1
Included Software: https://github.com/actions/runner-images/blob/win22/20230206.1/images/win/Windows2022-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/win22%2F20230206.1
Is it regression?
Yes it still worked in
20230129.1
Expected behavior
The error: [error]The current Compose file version is not compatible with your engine version. Please upgrade your Compose file to a more recent version, or set a COMPOSE_API_VERSION in your environment.
should not occur and the compose command should work
Actual behavior
The error occurs: [error]The current Compose file version is not compatible with your engine version. Please upgrade your Compose file to a more recent version, or set a COMPOSE_API_VERSION in your environment.
Repro steps
In Azure-DevOps I use in the pipeline:
  - task: DockerCompose@0
    displayName: Run services
    inputs:
     containerregistrytype: 'Container Registry'
     dockerComposeFile: 'build/docker/docker-compose.yml'
     dockerComposeFileArgs: 'DOCKER_BUILD_SOURCE=$(System.DefaultWorkingDirectory)'
     action: 'Run services'
     buildImages: false

My docker-compose (docker-compose.yml) file looks like this (details changed):
version: '3.0'

services:
  sqlserver:
    image: willh/mssql-server-windows-developer:latest
    container_name: sqlserver
    shm_size: 4gb
    ports:
      - "1433:1433"
    environment:
      - ACCEPT_EULA=Y
      - SA_PASSWORD=a(!)Passcode

I did some adjustments to my pipeline and my docker-compose.yml file but that did not help.
More details here: https://stackoverflow.com/questions/75399574/azure-devops-compose-error-the-current-compose-file-version-is-not-compatible

hello, @meneasysoft! thank you for reporting. we will take a look.

v2.16.0 will be a part of the next release

Is there a workaround available?
When is the next release planned?

Thank you for the information about v2.16.0 being part of the next release.
My pipelines do not work any more until this is fixed.
I would also like to know whether there is a workaround or not and how long it will take for the next release.
Please also make sure that v2.16.0 will fixes the described issue. I am not able to see if this helps for myself. It is just my hope that this will help, looking at the release notes of docker-compose v2.16.0.

Will the fix be available on windows-2019?
I experience the same issue on it

It should be available by the end of the week on all OSes

Should this already work again?
With the following image the problem still is occuring:
Version: 20230214.1
Included Software: https://github.com/actions/runner-images/blob/win22/20230214.1/images/win/Windows2022-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/win22%2F20230214.1

Deployed

Operating System
Microsoft Windows Server 2019
10.0.17763
Runner Image
Image: windows-2019
Version: 20230214.1

Still getting this issue:
The current Compose file version is not compatible with your engine version. Please upgrade your Compose file to a more recent version, or set a COMPOSE_API_VERSION in your environment.
My docker-compose:
version: "3.9"
services:
  sql-server-db:
    container_name: my-mssql
    image: my-mssql-image:latest
    ports:
      - "1433:1433"
    environment:
      SA_PASSWORD: "***************"
      ACCEPT_EULA: "Y"

Can anyone confirm that this release works?

I still have the same issue windows-2022 image.
So i can not confirm that this works.
There is still an issue and I am disappointed that this issue was closed without verifying that the actual problem was solved.

Yeah it's a great issue when someone thinks that they control over some issues they can't get past & blaming them instead of themselves. I'm accountable for mine: just a reaction. On Feb 20, 2023 12:23 AM, meneasysoft @.***> wrote:
I still have the same issue windows-2022 image.
So i can not confirm that this works.
There is still an issue and I am disappointed that this issue was closed without verifying that the actual problem was solved.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Yeah it's a great issue when someone thinks that they control over some issues they can't get past & blaming them instead of themselves. I'm accountable for mine: just a reaction. On Feb 20, 2023 12:23 AM, meneasysoft @.> wrote: I still have the same issue windows-2022 image. So i can not confirm that this works. There is still an issue and I am disappointed that this issue was closed without verifying that the actual problem was solved. —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.>

-> I corrected my comment and apologize if this was misunderstood.

Hi, I seem to have the same issue on the windows-2019.
Exception in thread Thread-21:
Traceback (most recent call last):
  File "threading.py", line 950, in _bootstrap_inner
  File "threading.py", line 888, in run
  File "compose\cli\log_printer.py", line 202, in watch_events
  File "compose\project.py", line 626, in yield_loop
  File "compose\project.py", line 594, in build_container_event
  File "compose\container.py", line 44, in from_id
  File "docker\utils\decorators.py", line 19, in wrapped
The current Compose file version is not compatible with your engine version. Please upgrade your Compose file to a more recent version, or set a COMPOSE_API_VERSION in your environment.
  File "docker\api\container.py", line 774, in inspect_container
  File "docker\utils\decorators.py", line 46, in inner
  File "docker\api\client.py", line 237, in _get
  File "requests\sessions.py", line 543, in get
  File "requests\sessions.py", line 530, in request
  File "requests\sessions.py", line 643, in send
  File "requests\adapters.py", line 439, in send
  File "urllib3\connectionpool.py", line 670, in urlopen
  File "urllib3\connectionpool.py", line 392, in _make_request
  File "http\client.py", line 1255, in request
  File "http\client.py", line 1301, in _send_request
Aborting on container exit...
##[error]PowerShell exited with code '1'.

I have tested several docker images and repo and assume that is an issue with docker-compose.
Depending on the docker-image, it sometimes works, sometimes not.
The given message "The current Compose file version is not compatible with your engine version." is wrong and do not point to the error.
I think that docker-compose do compare the builder-version of the image with the version of the executor, because I could solve the issue for me by re-building my image on the agent.
I couldn't find any reported issue in docker-compose, so I would be glad if someone could confirm it.
Regards, Éric.

Nothing solved for hosted agents Windows 2019 and 2022
The only possible workaround is to run Powershell script downloading correct version of docker-compose.exe and then another script to run downloaded  docker-compose.exe with all needed commands and parameters

I figured out a workaround:
Calling docker-compose invokes the version installed via Chocolatey.
which docker-compose
/c/ProgramData/Chocolatey/bin/docker-compose

and as you can see here - that's the old version:
C:\ProgramData\Chocolatey\bin\docker-compose.exe --version
docker-compose version 1.29.2, build 5becea[4]

Looking at the install docker script for windows runners I figured out the path where docker-compose 2.16 is installed.
If I call C:\ProgramData\docker\cli-plugins\docker-compose.exe up instead of docker-compose up it works for me.

Can confirm that replacing the DockerCompose@0 task with a PowerShell task that explicitly calls the latest Docker Compose from C:\ProgramData\docker\cli-plugins works.
- task: PowerShell@2
      displayName: Run Docker-Compose
      inputs:
        targetType: 'inline'
        script: C:\ProgramData\docker\cli-plugins\docker-compose.exe -f docker-compose.yml up -d

Thanks @mathias-kogler-snkeos for the suggestion.

Thanks @mathias-kogler-snkeos for pointing to the error.
You may also use 'dockerComposePath' to avoid rewriting all tasks.
- task: DockerCompose@0
  displayName: Run services
  inputs:
    action: Run services
    projectName: docker-compose
    ....
    dockerComposePath: 'C:\ProgramData\docker\cli-plugins\docker-compose.exe'

Fun fact:
docker compose version
docker-compose version

an returning different versions:
Docker Compose version v2.16.0
docker-compose version 1.29.2

This means, instead of using the absolut path, you could call "docker compose".

thanks
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows
From: Éric @.>
Sent: Wednesday, February 22, 2023 9:48 AM
To: @.>
Cc: @.>; @.>
Subject: Re: [actions/runner-images] Docker Compose does not run with new image windows-2022 with Docker 23.00 - The current Compose file version is not compatible with your engine version. (Issue #7080)
Thanks @mathias-kogler-snkeoshttps://github.com/mathias-kogler-snkeos for pointing to the error.
You may also use 'dockerComposePath' to avoid rewriting all tasks.

task: @.***
displayName: Run services
inputs:
action: Run services
projectName: docker-compose
....
dockerComposePath: 'C:\ProgramData\docker\cli-plugins\docker-compose.exe'

Fun fact:
docker compose version
docker-compose version
an returning different versions:
Docker Compose version v2.16.0
docker-compose version 1.29.2
This means, instead of using the absolut path, you could call "docker compose".
—
Reply to this email directly, view it on GitHubhttps://github.com/actions/runner-images/issues/7080#issuecomment-1440288511, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2T4AWTPJ6L2KUJTFNFER6LWYYYMHANCNFSM6AAAAAAUWYF6HM.
You are receiving this because you commented.Message ID: @.***>


Out of date info

Who owns the text about EF here?
https://dotnetfoundation.org/projects?type=project&ps=10&pn=2

@divega?

I am working on a PR 😄 (It is Open Source!!)

@ErikEJ I sent a PR yesterday fixing EF page: https://github.com/dotnet/foundation/blob/master/projects/entity-framework.md

I also just submitted a PR https://github.com/dotnet/foundation/pull/128 - I will probably get latest and update based on your changes then

@carloscds  "Entity Framework Core, for .NET Core" - not true, also runs on .NET Framework (and other .NET platforms)

Comments made in @ErikEJ PR. I think I prefer to split it into two projects, or keep it the way it was with incremental improvements.

I will adjust the existig text in the foundation repo


add

remember to add ...

add https://www.codecademy.com/learn/learn-python

remember to add  http://cnki.net


Extensions to test for MW 1.43 version

Of course, it would be good to verify that every extension in Canasta works with MW 1.43, but there are certain extensions where their current compatibility with MW 1.43 seems especially in doubt. This is a list of those extensions, along with the reason for each. Note that this list does not include those extensions for which there is already an issue tracker to remove, or conisder removing, it.
Extensions whose current status is "unmaintained":

https://www.mediawiki.org/wiki/Extension:Collection

Extensions whose current status is "beta":

https://www.mediawiki.org/wiki/Extension:MediaUploader
https://www.mediawiki.org/wiki/Extension:OpenGraphMeta
https://www.mediawiki.org/wiki/Extension:Semantic_Drilldown
https://www.mediawiki.org/wiki/Extension:SimpleChanges

Extensions that are LTS-supporting only, and not yet listed as supporting MW 1.43:

By WikiTeq:

https://www.mediawiki.org/wiki/Extension:EditAccount
https://www.mediawiki.org/wiki/Extension:Lingo
https://www.mediawiki.org/wiki/Extension:LinkTarget
https://www.mediawiki.org/wiki/Extension:LockAuthor
https://www.mediawiki.org/wiki/Extension:MassMessageEmail
https://www.mediawiki.org/wiki/Extension:MyVariables

By Professional Wiki:

https://www.mediawiki.org/wiki/Extension:Bootstrap
https://www.mediawiki.org/wiki/Extension:Maps
https://www.mediawiki.org/wiki/Extension:SimpleBatchUpload
https://www.mediawiki.org/wiki/Extension:SubPageList

Finally, there is CodeMirror, which is currently moving from version 5 to version 6 - and I don't know which, if either, version works with MW 1.43:

https://www.mediawiki.org/wiki/Extension:CodeMirror

@tosfos - any thoughts on SimpleChanges, or the six WikiTeq extensions?

@pastakhov - same question to you about the WikiTeq extensions, and also about CodeMirror. What is the best branch/commit to use for CodeMirror, for MW 1.43?


chart: Sync up with longhorn-manager deployment files

It should be against the v1.0.1 branch.

Michael had updated the related files. Sorry for this duplicate PR.


Replace staticfiles tag with static to fix django 2.1 deprecation warning

Description
Since 2.1 release Django deprecated statcifiles tag in favour of static. For more information please check Features deprecated in 2.1
Type of change

Bug fix (non-breaking change which fixes an issue)

Coverage remained the same at 73.739% when pulling 2d0ce2bc8302fa7c6c31d2c81e98c633901234dd on fix/fix-django-warnings into 58e657456541f003724af0f40312c9fed27d3854 on develop.


flex strict mode

When strict=True and the payload can't be deserialized into the hint, raise instead of returning the value untouched.

@dotboris @marier-nico I changed this PR considerably:

Instead of strict as a bool, I used a system similar to str.encode() where you can write e.g. encode(errors='ignore').
I added a deprecation warning around the default value to encourage users to either specify raise or ignore. I think the default should become raise at some point, but I don't want to introduce breaking changes.


[MAT-1685] Checking episode of care argument

Overriding the default PATIENT calculation type to EPISODE_OF_CARE when the passed in episode_of_care option is set to true.
When CQM::Measure.calculation_method is set to EPISODE_OF_CARE, the uploaded measure's details page will display relavent text (box highlighting mine):

Submitter:

[x] This pull request describes why these changes were made.
[x] Internal ticket for this PR: MAT-1685
[ ] Internal ticket links to this PR
[x] Code diff has been done and been reviewed
[x] Tests are included and test edge cases
[x] Tests have been run locally and pass

Reviewer 1:
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

Reviewer 2:
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

Can we get this integrated to bonnie so that we can get this to UAT server this morning.


about two stage centerpoint

I'm sorry to bother you.
I'd like to ask if the idea of 4.1 two stage centerpoint in this article has not been implemented in centerpoint Kitti. Because I didn't find them in the repo. We look forward to your reply.
The article idea as follow:
We extract one point-feature from the 3D center of each face of the predicted bounding box. Note that the bounding box center, top and bottom face centers all project to the same point in map-view. We thus only consider the four outward-facing box-faces together with the predicted object center. For each point, we extract a feature using bilinear interpolation from the backbone map-view output M. Next, we concatenate the extracted point-features and pass them through an MLP. The second stage predicts a class-agnostic confidence score and box refinement on top of one-stage CenterPoint's prediction results.

Hi, yes, this repo only includes the first part. you can refer to this repo https://github.com/tianweiy/CenterPoint/blob/master/det3d/models/detectors/two_stage.py to see how we implement two stage on Waymo.
I tried this on KITTI a while ago and it is not much better than the first stage one so I didn't implement it here. I would suggest combining with other two stage approaches like PVRCNN for the best result.


Error when uploading linked template.yaml

Demo
Amazon Chime SDK Chat Demo
Describe the bug
Downloading the linked template.yaml file vs. doing a git clone creates an error
To Reproduce
Steps to reproduce the behavior:

Under Deploying the solution, right click on template.yaml in step 3 and select "Save Link As..."
Click on "Save"
Perform steps 1,2, and 3.
You will get the following error when you try to create the stack:  Template format error: YAML not well-formed. (line 149, column 65)

Expected behavior
If you perform the same procedure using the template.yaml downloaded using git clone, you do not get the error.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: MacOS 11.6.2
Browser Firefox
Version 91.4.0esr

@albrich-me I dont think the "Save Link As" feature is downloading the template.yml the way that you expect it is.
The only way to download that file is to clone the repo.


Add new contracts to artifacts to export

Pull Request Test Coverage Report for Build 2014

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

Totals

Change from base Build 2010:
0.0%

Covered Lines:
511

Relevant Lines:
511

💛  - Coveralls


Update Password

Describe the feature you'd like
Add Option in Settings to update user password
Would you like to work on the issue?

[x] Yes

@iamareebjamal this is implemented on server as well so can i work on this ?

already working on it #1355 :D

#1355  is already implemented . @aggarwalpulkit596  Please close this issue


Formatting to new version of black.

Reformatting changes only, done by running black on the quantum_rpg directory.

How about running it on the whole of unitary at once? Just so that everything is consistent and at the same formatter.


How to render line breaks?

Hello, and thank you for this project.
I am trying to render some HTML from a rich text component (react-quill). However, all HTML that goes through your lib becomes inline, line breaks are completely ignored and this gives a result of text and lists all sitting on the same line.
Is it possible to force your interpreter to render line breaks as they would normally be in unstyled html?
Other than that, I have tried styling the elements with display: 'block', to no avail.
Thank you very much for your time!

By default, browsers collapse whitespace into a single space. If you would like to disable this behavior, try  and let me know if that helps

Hello again, and thank you for taking the time.
Adding collapse={false} did nothing unfortunately, this is the result for const html = "
Text

listitem1

listitem2

";

When adding a
 tag like this const html = "
Text

listitem1

listitem2

";
, I instead get this:

Anything at this point helps.
Thanks!

When I add that HTML snippet it renders as expected for me:
    <Page size="LETTER">

        {`<p>Text</p><ul><li>listitem1</li><li>listitem2</li></ul>`}

    </Page>

Perhaps you have an older version of one of the dependencies or some kind of style conflict. Let me know if you can determine why it's behaving differently for you.

Perhaps you have flexDirection: 'row' for a parent element?

Closing for now but let me know if there's more that I can help with.


How to convert old ktrain model(pre 0.21.4) to the latest ktrain without retraining

Hi,
We have an old model trained with ktrain (0.21.4). We have the .h5 file and the .preproc file. However, we have lost a reference to the data that we used to train it(perhaps even the training code). :(
We have now been tasked to upgrade all our libraries like ktrain to solve security violations. Is there a way of converting the above files to be compatible with the latest ktrain libraries?
For additional context, the original model was trained with ktrain 0.21.4 + TF 2.2. I was able to bring it up to ktrain 0.25.4 and TF 2.11. But some dependencies like scikit-learn and numpy still have some security violations. So I may have to move to the latest ktrain if possible.
I did have a look at this advice: https://github.com/amaiya/ktrain/commit/e98f8ac8e147090936ab2062bc0869bd0590c144#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
But I could not find the text mentioned. Perhaps the first question, is, that it looks like a binary format which shows up wierdly in a normal text editor. how do I edit that file in a proper way. Secondly, what I have is below which seems different from the instructions above(as my file may be much older). Let me know if I can edit this and make things work
�cktrain.text.preprocessor
Transformer
q )�q}q(X   cq]q(X   dateqX   originqX   otherqX   summaryqX   titleq	eX   maxlenq
K@X   langqX   enqX
   multilabelq
�X   preprocess_train_calledq�X
   label_encoderqcsklearn.preprocessing.label
LabelEncoder
q)�q}q(X   classes_qcnumpy.core.multiarray
_reconstruct
qcnumpy
ndarray
qK �qCbq�qRq(KK�qcnumpy
dtype
qX   U7q���qRq(KX   <qNNNKKKtq b�C�d   a   t   e               o   r   i   g   i   n       o   t   h   e   r           s   u   m   m   a   r   y   t   i   t   l   e           q!tq"bX   _sklearn_versionq#X   0.21.3q$ubX
   model_nameq%X   distilbert-base-uncasedq&X   nameq'X
   distilbertq(X   configq)NX
   model_typeq*ctransformers.modeling_tf_distilbert
TFDistilBertForSequenceClassification
q+X   tokenizer_typeq,ctransformers.tokenization_distilbert
DistilBertTokenizer
q-X   tok_dctq.NX   max_featuresq/M'X   ngram_rangeq0KX
   batch_sizeq1NX   use_with_learnerq2�ub.

Appreciate any advice you can offer. Thanks!

Hi @RAbraham : Yes, you should be able to edit it to successfully upgrade to the latest versions of ktrain and transformers.  I would recommend using an editor like vim or emacs, which may make it easier to locate what needs to be changed.  When v0.26 of ktrain was released, a number of users used vim or emacs to successfully edit/convert older preproc files to work with newer versions of transformers and ktrain.
I will close this issue, but, if you have problems, please don't hesitate to respond in this thread.

Hi @amaiya
thank you very much for your quick response. I will use vim. I was looking at the instructions and saw
   - change `transformers.configuration_distilbert` to `transformers.models.distilbert.configuration_distilbert`
    - change `transformers.modeling_tf_auto` to `transformers.models.auto.modeling_tf_auto`
    - change `transformers.tokenization_auto` to `transformers.models.auto.tokenization_auto

I don't see the text mentioned above in my preproc file(I've also pasted it above for your reference). Do I need to change anything if that's the case?

It's probably because another version of ktrain switched to TFAutoModel and AutoTokenizer.  But, the process should be the same.  The overall goal is to translate the existing module locations in your .preproc file to the new module locations in the current version of transformers, and things should just work.    So transformers.tokenization_distilbert in your file might be changed to transformers.models.distilbert.tokenization_distilbert (or maybe transformers.models.distilbert.tokenization_distilbert_fast):
(base) user@machine:$ pwd
/home/user/mambaforge/lib/python3.9/site-packages/transformers/models/distilbert
(base) user@machine:$ ls
configuration_distilbert.py  __init__.py  modeling_distilbert.py  modeling_flax_distilbert.py  modeling_tf_distilbert.py  __pycache__  tokenization_distilbert_fast.py  tokenization_distilbert.py

I'll try it out and let you know. Thanks!


Fix missing remote address in Tang logs

The HTTP logs from Tang in this container image do not contain the remote IP address.
Example:
<unknown> GET /adv/ => 200 (../src/tangd.c:71)

Tang inspects the REMOTE_ADDR environment variable (which normally gets populated when using systemd sockets). Since the container doesn't use systemd sockets, the REMOTE_ADDR doesn't get populated, and Tang falls back to displaying <unknown>.
This PR contains one commit to fix this issue by setting REMOTE_ADDR to be equivalent to SOCAT_PEERADDR. Using system instead of exec is required to support shell commands (setting the environment variable).

This is great! Thank you, @yehy4.
LGTM; merging.

Thank you for maintaining this image and making it available! :)


Remove import/mongo code

Say goodbye to it all:

/dao
/feed-exporter
/feed-processor
Any references to Mongo

Still runs!
Pivotal story: 92967136

Looks Great to Me.


F841 unused-variable false negative?

$ cat foo.py
class TestFoo(object):
    def test(self, tmpdir):
        _test = []
        assert tmpdir$ flake8 foo.py
foo.py:3:9: F841 local variable '_test' is assigned to but never used
$ ruff --isolated --select F841 foo.py

variables starting with _ are not detected as unused in ruff but in flake8.
I detected this as prior it had a # noqa: F841 comment which was removed by RUF100 when I compared any leftovers with flake8.

This is intentional! You should be able to change dummy-variable-rgx to ignore this.


containerd start fail after machine restart

hi,

seems opened immaturely by mistake?

I wonder which file is broken and how can we avoid this?

This would be from the event log that is persisted to disk.  We had changes merged in to skip when this happens so it should not be an issue anymore:
https://github.com/containerd/containerd/commit/3b3a98cca1d0023a2005141948508cd610d72485


infersharpaction should be updated

.github/workflows/infersharp.yml includes the step:
https://github.com/EliahKagan/NuHello/blob/9b410e1dd0dc54617cdea318f4b62b2c1ad8117d/.github/workflows/infersharp.yml#L39-L43
.github/dependabot.yml includes:
https://github.com/EliahKagan/NuHello/blob/9b410e1dd0dc54617cdea318f4b62b2c1ad8117d/.github/dependabot.yml#L11-L14
Therefore, Dependabot should open pull requests for updates to microsoft/infersharpaction. Yet it remains at 1.4, even though 1.4.1 came out in May. (1.5 came out today, but I wouldn't expect the PR to be generated for that yet.)
Looking into the problem, the dependency graph reveals that infersharpaction is listed as a detected dependency of the project, but that, of my GitHub Actions workflows, Dependabot is only regarding codeql.yml as a manifest file. This seems like a bug in Dependabot or GitHub.
This issue narrowly tracks the status of the infersharp update in this repository. If I get it updated, even manually, I may close this, or I may broaden it. In either case, this is not a substitute for reporting/fixing the underlying problem.

Removing dependabot.yml (#24) and immediately bringing it back (#25) seems to have fixed the specific problem, and Dependabot has made a PR for the update to 1.5 (#27).


withTaskCancellationHandler(handler:operation:) is deprecated

In a project Im using 1.0.0-ALPHA-5 and it complains that  withTaskCancellationHandler(handler:operation:) is deprecated.
For AsynFunction and AsynSequence.
'withTaskCancellationHandler(handler:operation:)' is deprecated:
renamed to 'withTaskCancellationHandler(operation:onCancel:)'

Use 'withTaskCancellationHandler(operation:onCancel:)' instead

Is this on purpose or is there something wrong with the project?

Hi! Thanks for the report. This wasn't really on purpose.
Somewhere along the way Apple changed the signature of this function and recently deprecated the old one.
The next release will use the non deprecated version 😄.

Thanks for the quick fix! It sort of stood out because the compiler gave me those two errors.
Because I use Koin in my project I'm on Kotlin 1.8.1, do I also get the update then?

The next release will probably come with Kotlin 1.8.21. However since there haven't been any API changes in KMP-NativeCoroutines you could just update the Swift implementation (while keeping an older version for your Kotlin code).

FYI the fix has been published in v1.0.0-ALPHA-8.


Set dir and lang on fireplace pages (bug 1155826)

It makes the spinner go in the right direction.

r? @ngokevin

Added some tests.

I updated this to always set lang and dir regardless of the app in https://github.com/mozilla/zamboni/commit/7bfc43d422edc0061484ec924e9727d0a274b55c.


Fixed #29563 -- SQLite support for chunked reads

Fixed a bug that enabled Queryset.iterator() in SQLite in contrary to
the documentation. Updated the documentation and enabled the
can_use_chunked_reads flag in SQLite.
https://code.djangoproject.com/ticket/29563
I have yet to incorporate the latest feedback from the ticket comments, but I'm opening this now to get the CI tests.

Split the request into two commits as per the feedback: one fixes the logic bug in execute_sql(), the second enables the can_use_chunked_reads flag for SQLite.

I think the test in the first commit should mock can_use_chunked_reads to False rather than rely on skipping, otherwise the test won't run for any of the builtin database engines.
The second commit should have a docs/releases/2.2.txt note as well as a .. versionchanged:: 2.2 annotation.

Good idea, I've updated the test.
I added a bullet to the 2.2 release notes and the annotation as well. Let me know if it should go into more detail. I kept it brief.


Add optional audience param to validation functions

Add optional audience param to validation functions so we can validate token which include the 'aud' claim.

I prefer to have it in place for two reasons:

what you see is whats in use
if we would like to add more param we will not have to change all places to key-param (like: "token=tok, audience=audience, ...)


trackerStream.isFinish() ?

Hi!
I have a question about this part of the documentation:

Shared Methods

tracker.finish()

Marks the tracker as completed. With a TrackerGroup this marks all of its components as completed.
Marks all of the components of this tracker as finished, which in turn means that tracker.completed() for this will now be 1.
This will result in one or more change events being emitted.

It states that every tracker does implement .finish(). However in the code, TrackerStream extends stream.Transform and then delegates complete and addWork to its tracker attribute. I do not see any .finish() method defined anywhere. Am I missing something ?
I am currently writing a typings definition for this module and this causes me some issues.

It's been almost a year, could you confirm or not that the TrackerStream has a .finish method ?

no, it does not, the docs are wrong.


Added selinux-policy macros.

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[X] The toolchain has been rebuilt successfully (or no changes were made to it)
[X] The toolchain/worker package manifests are up-to-date
[X] Any updated packages successfully build (or no packages were changed)
[X] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[X] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[X] All package sources are available
[X] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json)
[X] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[X] All source files have up-to-date hashes in the *.signatures.json files
[X] sudo make go-tidy-all and sudo make go-test-coverage pass
[X] Documentation has been updated to match any changes to the build system
[X] Ready to merge

Summary

Some of our packages like openvswitch-selinux-policy depend on selinux-policy RPM macros, which are missing in our packages. This PR adds the missing macros into the selinux-policy-devel package.
Change Log

Added selinux-policy RPM macros.

Does this affect the toolchain?

No.
Test Methodology

Local package build and installation.

@pebenito, could you help me out deciphering what might still be wrong with openvswitch. Originally, the installation would fail, because the post-install script was trying to run an unexpanded macro. Now the installation succeeds, but semodule seems to be unhappy and return this:
Failed to resolve typeattributeset statement at /var/lib/selinux/targeted/tpm/modules/200/openvswitch-custom/cil:8

No idea what's that about, unfortunately.


iLO version update for HPE DL380 Gen9 platform

HPE updated it's iLO version from 2.78 to 2.79 on 2021-11-25. (Who releases updates on Thanksgiving?):
https://support.hpe.com/hpesc/public/swd/detail?swItemId=MTX_97f5079671c84a11ac776a92cb
Please update master & ansible-eol branches to use new iLO version, as HPE support is requesting we update to that version prior to them resolving any outstanding HW issues.

OK added


Sirenia doesn't retry discoverd SetLeader

v20160721.2
I'll email you the logs as there were too big.
flynn ps gives the error

unknown_error: Something went wrong

Dashboard doesn't show any apps
Prior to the issues I had pushed an update and I got the application deployed message but then there was a mixture of old and new releases running at the same time, and more that there processes than there should have been i.e 4 not 3.

Looks like there was a network interruption that triggered some churn in the postgres cluster that in turn triggered a bug. I will fix the bug, you can run this command on a server which should remediate the problem:
curl -XPUT -d '{"id":"0b55f4a66bc45df5b53b5a459ca59b8d"}' localhost:1111/services/postgres/leader

OK just trying on one of the nodes, should I be doing it on all 3? As flynn ps still give the same error

One node is all that's needed. What does curl localhost:1111/services/postgres/leader return?

{"code":"object_not_found","message":"no leader found","retry":false}

Okay, please provide the output of these two commands as well:
curl localhost:1111/services/postgres/meta

curl localhost:1111/services/postgres/instances

meta
{"data":{"generation":6,"init_wal":"1/3480C040","primary":{"id":"0b55f4a66bc45df5b53b5a459ca59b8d","addr":"<IP_ADDRESS>:5432","proto":"tcp","meta":{"FLYNN_APP_ID":"a0fd914f-53f4-4085-83c8-cf0353da5827","FLYNN_JOB_ID":"cluster2-0b0d56a9-2d8a-4a6b-984a-9ac789c6f5a6","FLYNN_PROCESS_TYPE":"postgres","FLYNN_RELEASE_ID":"2efb0c45-138c-47ed-a114-8f3c8646eed4","POSTGRES_ID":"f102b6d8-63ba-4a38-9d8e-bb984cf2096b"}},"sync":{"id":"6f355af4241dedfdc428e3391409de32","addr":"<IP_ADDRESS>:5432","proto":"tcp","meta":{"FLYNN_APP_ID":"a0fd914f-53f4-4085-83c8-cf0353da5827","FLYNN_JOB_ID":"cluster3-ccda5dad-4171-4f2c-b8d4-d2f044921d5c","FLYNN_PROCESS_TYPE":"postgres","FLYNN_RELEASE_ID":"2efb0c45-138c-47ed-a114-8f3c8646eed4","POSTGRES_ID":"b7abe638-a163-4593-bea0-ed84a3ceea2b"},"index":7165},"async":[],"deposed":[{"id":"088265de1d3a9c1153dbfb1ad30e3e4f","addr":"<IP_ADDRESS>:5432","proto":"tcp","meta":{"FLYNN_APP_ID":"a0fd914f-53f4-4085-83c8-cf0353da5827","FLYNN_JOB_ID":"cluster3-f66c96c1-c7be-421c-9e89-f55a39fa4ffa","FLYNN_PROCESS_TYPE":"postgres","FLYNN_RELEASE_ID":"2efb0c45-138c-47ed-a114-8f3c8646eed4","POSTGRES_ID":"a84151a0-2686-4b03-85f0-cfac27d561f1"}},{"id":"81709621d2aec678b1ed50e75e9cdf25","addr":"<IP_ADDRESS>:5432","proto":"tcp","meta":{"FLYNN_APP_ID":"a0fd914f-53f4-4085-83c8-cf0353da5827","FLYNN_JOB_ID":"cluster1-0930a97c-9e85-4cf3-ab97-3f903f440f52","FLYNN_PROCESS_TYPE":"postgres","FLYNN_RELEASE_ID":"2efb0c45-138c-47ed-a114-8f3c8646eed4","POSTGRES_ID":"0d082731-9c3a-4224-8751-3712a55dadc1"}},{"id":"f6e8461b617d1521cb863f05f4ae311e","addr":"<IP_ADDRESS>:5432","proto":"tcp","meta":{"FLYNN_APP_ID":"a0fd914f-53f4-4085-83c8-cf0353da5827","FLYNN_JOB_ID":"cluster2-06e79422-02f5-4015-bab5-f341b3cbf2d9","FLYNN_PROCESS_TYPE":"postgres","FLYNN_RELEASE_ID":"2efb0c45-138c-47ed-a114-8f3c8646eed4","POSTGRES_ID":"8f42dbb2-8800-4125-a573-a1686b23818f"}},{"id":"4c68404073457ffb5d1c89cbbd992004","addr":"<IP_ADDRESS>:5432","proto":"tcp","meta":{"FLYNN_APP_ID":"a0fd914f-53f4-4085-83c8-cf0353da5827","FLYNN_JOB_ID":"cluster3-2e8cbad5-ce7b-4c7e-b978-9f25cf29cd89","FLYNN_PROCESS_TYPE":"postgres","FLYNN_RELEASE_ID":"2efb0c45-138c-47ed-a114-8f3c8646eed4","POSTGRES_ID":"ea05037d-7b4f-47df-8f6e-3c089e45ebb4"}},{"id":"312caf344faf39ac89ac46df5dc043c0","addr":"<IP_ADDRESS>:5432","proto":"tcp","meta":{"FLYNN_APP_ID":"a0fd914f-53f4-4085-83c8-cf0353da5827","FLYNN_JOB_ID":"cluster1-055f61b6-63d8-44db-af6e-3bf22cc998c2","FLYNN_PROCESS_TYPE":"postgres","FLYNN_RELEASE_ID":"2efb0c45-138c-47ed-a114-8f3c8646eed4","POSTGRES_ID":"20e8d4db-d536-4eee-87f2-c4ddef28ed75"}}]},"index":7273}

instances
[{"id":"6f355af4241dedfdc428e3391409de32","addr":"<IP_ADDRESS>:5432","proto":"tcp","meta":{"FLYNN_APP_ID":"a0fd914f-53f4-4085-83c8-cf0353da5827","FLYNN_JOB_ID":"cluster3-ccda5dad-4171-4f2c-b8d4-d2f044921d5c","FLYNN_PROCESS_TYPE":"postgres","FLYNN_RELEASE_ID":"2efb0c45-138c-47ed-a114-8f3c8646eed4","POSTGRES_ID":"b7abe638-a163-4593-bea0-ed84a3ceea2b"},"index":7229},{"id":"0b55f4a66bc45df5b53b5a459ca59b8d","addr":"<IP_ADDRESS>:5432","proto":"tcp","meta":{"FLYNN_APP_ID":"a0fd914f-53f4-4085-83c8-cf0353da5827","FLYNN_JOB_ID":"cluster2-0b0d56a9-2d8a-4a6b-984a-9ac789c6f5a6","FLYNN_PROCESS_TYPE":"postgres","FLYNN_RELEASE_ID":"2efb0c45-138c-47ed-a114-8f3c8646eed4","POSTGRES_ID":"f102b6d8-63ba-4a38-9d8e-bb984cf2096b"},"index":7254}]

Okay, please post the output of:
curl -v -XPUT -H "Content-Type: application/json" -d '{"id":"0b55f4a66bc45df5b53b5a459ca59b8d"}' localhost:1111/services/postgres/leader

* Hostname was NOT found in DNS cache
*   Trying <IP_ADDRESS>...
* Connected to localhost (<IP_ADDRESS>) port 1111 (#0)
> PUT /services/postgres/leader HTTP/1.1
> User-Agent: curl/7.35.0
> Host: localhost:1111
> Accept: */*
> Content-Type: application/json
> Content-Length: 41
>
* upload completely sent off: 41 out of 41 bytes
< HTTP/1.1 307 Temporary Redirect
< Discoverd-Index: 7287
< Discoverd-Peers: <IP_ADDRESS>:1111,<IP_ADDRESS>:1111,<IP_ADDRESS>:1111
< Location: http://<IP_ADDRESS>:1111/services/postgres/leader
< Date: Wed, 03 Aug 2016 18:37:16 GMT
< Content-Length: 0
< Content-Type: text/plain; charset=utf-8
<
* Connection #0 to host localhost left intact

Ah! Add a -L to the command and run it again.

* Hostname was NOT found in DNS cache
* Could not resolve host: Content-Type
* Closing connection 0
curl: (6) Could not resolve host: Content-Type
* Hostname was NOT found in DNS cache
*   Trying <IP_ADDRESS>...
* Connected to localhost (<IP_ADDRESS>) port 1111 (#1)
> PUT /services/postgres/leader HTTP/1.1
> User-Agent: curl/7.35.0
> Host: localhost:1111
> Accept: */*
> Content-Length: 41
> Content-Type: application/x-www-form-urlencoded
>
* upload completely sent off: 41 out of 41 bytes
< HTTP/1.1 307 Temporary Redirect
< Discoverd-Index: 7287
< Discoverd-Peers: <IP_ADDRESS>:1111,<IP_ADDRESS>:1111,<IP_ADDRESS>:1111
< Location: http://<IP_ADDRESS>:1111/services/postgres/leader
< Date: Wed, 03 Aug 2016 18:38:41 GMT
< Content-Length: 0
< Content-Type: text/plain; charset=utf-8
<
* Connection #1 to host localhost left intact

Hmm, if it didn't redirect, change the URL to http://<IP_ADDRESS>:1111/services/postgres/leader

* Hostname was NOT found in DNS cache
* Could not resolve host: Content-Type
* Closing connection 0
curl: (6) Could not resolve host: Content-Type
* Hostname was NOT found in DNS cache
*   Trying <IP_ADDRESS>...
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 1111 (#1)
> PUT /services/postgres/leader HTTP/1.1
> User-Agent: curl/7.35.0
> Host: <IP_ADDRESS>:1111
> Accept: */*
> Content-Length: 41
> Content-Type: application/x-www-form-urlencoded
>
* upload completely sent off: 41 out of 41 bytes
< HTTP/1.1 200 OK
< Discoverd-Index: 7288
< Discoverd-Peers: <IP_ADDRESS>:1111,<IP_ADDRESS>:1111,<IP_ADDRESS>:1111
< Date: Wed, 03 Aug 2016 18:40:14 GMT
< Content-Length: 0
< Content-Type: text/plain; charset=utf-8
<
* Connection #1 to host <IP_ADDRESS> left intact

Okay, check if it is working now.

yep flynn ps and dashboard are working still have the wrong amount of web processes though
Dashboard shows
checkout_expire 0
cron 0
run_workers 2
web 1
but ps shows
cluster1-81e99bd4-85ce-4871-8fb8-0058ae518a1f  checkout_expire  up     7 hours ago    4aefff56-7514-4999-93a1-2d75d172d929
cluster1-97a951df-4453-40a6-9e5f-3324579f1de6  cron             up     7 hours ago    4aefff56-7514-4999-93a1-2d75d172d929
cluster1-e7c5443a-04d6-4e11-9079-41f7edb008ac  run_workers      up     7 hours ago    4aefff56-7514-4999-93a1-2d75d172d929
cluster2-38aa3907-723f-43d0-97b0-809e18b2d4cc  run_workers      up     7 hours ago    4aefff56-7514-4999-93a1-2d75d172d929
cluster1-bf75fbb4-4541-4779-a3a3-b9130e0b27c6  web              up     7 hours ago    4aefff56-7514-4999-93a1-2d75d172d929
cluster2-d3b7ee77-6db6-41f3-87d5-67f78f57b2ad  web              up     7 hours ago    4aefff56-7514-4999-93a1-2d75d172d929
cluster3-6f61a7ac-f26c-4d88-b70b-ba09a4ae9543  web              up     7 hours ago    4aefff56-7514-4999-93a1-2d75d172d929
cluster2-88915008-a688-4dc9-88f6-8b15018bf0df  run_workers      up     6 hours ago    cb98da5c-7937-48f2-856e-d7762fbab71c
cluster1-47966fb8-5551-4d71-85a4-f08793b8ae1c  run_workers      up     6 hours ago    cb98da5c-7937-48f2-856e-d7762fbab71c
cluster3-f0ba4e6c-cddc-4356-a914-3df57e9dabbc  web              up     3 minutes ago  cb98da5c-7937-48f2-856e-d7762fbab71c

You can scale down the old release with flynn scale -r $OLD_RELEASE. The deploy probably coincided with the network interruption (or perhaps caused it), which in turn caused the deploy to not complete. We have some plans to make the deployer more robust.

(The dashboard is showing only the current scale for the current release)

so just tried flynn scale -r 4aefff56-7514-4999-93a1-2d75d172d929
but still have
cluster1-81e99bd4-85ce-4871-8fb8-0058ae518a1f  checkout_expire  up     7 hours ago     4aefff56-7514-4999-93a1-2d75d172d929
cluster1-97a951df-4453-40a6-9e5f-3324579f1de6  cron             up     7 hours ago     4aefff56-7514-4999-93a1-2d75d172d929
cluster1-e7c5443a-04d6-4e11-9079-41f7edb008ac  run_workers      up     7 hours ago     4aefff56-7514-4999-93a1-2d75d172d929
cluster2-38aa3907-723f-43d0-97b0-809e18b2d4cc  run_workers      up     7 hours ago     4aefff56-7514-4999-93a1-2d75d172d929
cluster1-bf75fbb4-4541-4779-a3a3-b9130e0b27c6  web              up     7 hours ago     4aefff56-7514-4999-93a1-2d75d172d929
cluster2-d3b7ee77-6db6-41f3-87d5-67f78f57b2ad  web              up     7 hours ago     4aefff56-7514-4999-93a1-2d75d172d929
cluster3-6f61a7ac-f26c-4d88-b70b-ba09a4ae9543  web              up     7 hours ago     4aefff56-7514-4999-93a1-2d75d172d929
cluster2-88915008-a688-4dc9-88f6-8b15018bf0df  run_workers      up     7 hours ago     cb98da5c-7937-48f2-856e-d7762fbab71c
cluster1-47966fb8-5551-4d71-85a4-f08793b8ae1c  run_workers      up     7 hours ago     cb98da5c-7937-48f2-856e-d7762fbab71c
cluster3-f0ba4e6c-cddc-4356-a914-3df57e9dabbc  web              up     13 minutes ago  cb98da5c-7937-48f2-856e-d7762fbab71c

Oh, you'll need to specify web=0 run_workers=0 checkout_expire=0

Ah yes that's sorted it. Thanks.

The bug that caused this is now fixed, thanks for reporting it!


Sublime Text 3 provides a better place to store cache

Thank you for the helpful module.
Sublime Text 3 provides a function sublime.cache_path() for the common cache directory. I'd like to let this package use the directory not the User directory to keep the User directory clean.

https://www.sublimetext.com/docs/3/api_reference.html

@seanliang thanks! I believe this can be closed.


[FEATURE] Progress bar

This is a very simple progress bar implementation. We will be able to implement this much more professionally with the new yolk API, but until then, this will work.

LGTM

Thanks for fixing the deps 😅


Issue with the implementation of loading/saving keras models

I have an issue with the way the saving and loading a model is implemented in Keras. When you save your model, the parameters specified while compiling are stored along with the model. I think, only model architecture and the weights should be saved as a model. So, that when loaded, the model can be compiled with new cost-function/ optimizer/ evaluation metric. This is just a suggestion. Please tell me if you have any suggestions as to this.

https://github.com/keras-team/keras/blob/master/keras/engine/saving.py
model.save("foo.hdf5", include_optimizer=False)

Thanks, that solved it.

I went through the above code, but model only including or excluding optimizer option is there. I think, this should be provided for loss and evaluation metric too. Would appreciate your comments@brge17 @fchollet

I have the same question , and now I load the model and then compile model with new evaluation metrics or loss function.

Feel free to submit a PR for the loss and metrics


Bidspolice

outputs all raw data to maps
normalized data to nrom-{method}
label- replaced with feature-

TODO: make sure asymmetry and regional scripts can read these new outputs


blue exhibit imagemap background and variations

[ ] regular background with normal gate and with painting (beginning)
[ ] background with destroyed gate and with painting (miso soup used on gate)
[ ] background with destroyed gate and without painting (taken painting)

current goal: add the gate to these portraits

Variation 1: When player first enters room, gate is rusty and painting is there

Variation 2: When player uses miso soup ladle on gate, gate is destroyed and painting is there, player can take painting

Variation 3: When player takes painting, gate is destroyed and painting is gone (in player's inventory)

@funnyboy044 credit?

@funnyboy044 credit?

Optimistic Duckling


[DO NOT MERGE] Test RC provider packages

This looks good. Can we check how we can test the Kubernetes RC ?

yup, we need to automate testing KPO

@phanikumv, Need to test it with the wheel link like we have done previously.  Got the wheel link will test it

We tested this and found no issues. Closing.


build.sh hangs on Mono test code - Ubuntu Desktop 14.04.3 LTS

Attached Build Log.
kbuild.txt

Does it happen consistently? Lots of tests are disabled on Mono precisely for this reason. We might have to disable some more.
It's really a Mono issue, since the hang happens after all tests have been executed and the xunit runner has exited.

Sorry for the delayed response, working on multiple fronts..

Does it happen consistently?

Yes.

We might have to disable some more.

Consider adding an argument to build "skipmonotests"
Q: Do you have a build script that builds Kestrel directly against CoreFx build output binaries?

Consider adding an argument to build "skipmonotests"

It's already there :grin: Set this environment variable: KOREBUILD_TEST_SKIPMONO=1

Q: Do you have a build script that builds Kestrel directly against CoreFx build output binaries?

@clrjunkie No, we use packages. If you have a build that produces packages then it should be trivial to integrate using a custom feed.

@cesarbs Thank!
@davidfowl I understand and accept but I also have further thoughts on the subject.
I'm opening a new issue to discuss them.

@cesarbs
Is there a build instructions page? It might be good idea to add a list of all the environment vars controlling the build process.

@clrjunkie There's isn't one at this time, but indeed it'd be a good idea to document these things.

@davidfowl are there any issues with running kestrel using dotnet cli? looking for the bare minimum setup to dev test outside VS

@cesarbs Let's continue to disable tests on Mono to unblock the CI runs.
@clrjunkie You can check out some samples for running apps with dotnet CLI here: https://github.com/davidfowl/dotnetcli-aspnet5

@muratg
Hallelujah!
See message at the end: dotnet/cli#799

Looks like we can close this.


Add msvc17

Resolves #66.

Have to look into this further. The vs2022 seems to be much more complicated due to the new x64 version of everything.


HOW TO use aws profile for taskcat 0.9.8

When I run taskcat test run, taskcat always uses default profile to access AWS System Manager. I can't set a profile for it with the newest version 0.9.8 and got error permission denied to access ssm if the default profile doesn't have permission for AWS System Manager. I am working with multiple accounts and profiles; I need to change the default profile access key and id. It's take a lot time. How to set a profile in this case?
.taskcat.yml
general:
  s3_bucket: test-bucket
  auth:
    default: myaccount
project:
  name: my-cfn-project
  auth:
    default: myaccount
tests:
  default:
    auth:
      default: myaccount
    template: ./ecs.yml
    parameters:
      EnvironmentName: Test
      VPCStackName: TestVPC

@HienNguyenAsnet  - it's not immediately clear what pain you're experiencing. However, you can set the default profile in the global config at ~/.taskcat.yml
general:
  auth:
    default: profile-for-everything

In your case where you need the test-specific profile to be something different, here's a sample config file.
project:
  name: my-cfn-project
tests:
  default:
    auth:
      default: profile-with-access-to-ssm
    template: ./ecs.yml
    parameters:
      EnvironmentName: Test
      VPCStackName: TestVPC

Please @ me if you have any further questions. Thanks!

Currently, taskcat on my machine got the error ValidationError None is not of type 'object'. I can't run anything. I will try it later. Thanks

same issue, taskcat do not accept any profile configuration, it always uses the default profile.
please update documentation. how to use configure "auth:" option as well

the aws profile option sould be supported in all sub-commands, and should be consistented.

some subcommands don't support "AWS_PROFILE"
some subcommands support "AWS_PROFILE" but with different option "-a" or "--aws-profile"
some subcommands support "AWS_PROFILE" but with different option " -p" or "--profiles"

$ taskcat test clean --help |grep -i profile
...
  -a AWS_PROFILE, --aws-profile AWS_PROFILE
                        aws profile to use for deletion

$ taskcat test run --help |grep -i profile |grep -i profile

$ taskcat test list --help |grep -i profile
...
  -p PROFILES, --profiles PROFILES
                        comma separated list of aws profiles to search


What versions iOS  UraniumUI are supported ?

Hello guys,
Demo UraniumApp does not start on version iOS 12 (Could not create an native instance of the type 'UIKit.UIHoverGestureRecognizer').
UIHoverGestureRecognizer is support iOS 13+.
I understand correctly that the UraniumUI only works on iOS 13+ ?

Sorry for the late reply. I missed that issue.
We didn't make any custom configuration. The project configuration is the default configuration by MAUI templates:
https://github.com/enisn/UraniumUI/blob/d4ec5e8b2d13019d3d88e4e4924c9eee0726a432/src/UraniumUI/UraniumUI.csproj#L18-L23
So it seem's the min ios version is 14.2

Understood, thank you very much.


Reading the Document field (LOB type) from the Employee File (9) in the demodb database results in error ADAGE35000: Record buffer too short.

I'm experimenting with the store/softwareag/adabas-ce:6.7.0 docker image. Reading the Document field (LOB type) from the Employee File (9) in the demodb database results in error ADAGE35000: Record buffer too short.
Would you be able to supply me with a code example that demonstrates retrieving document LOBs from the Employee file in the demodb database.

Close after 20 days

Adabas v6.7.1 Docker community edition is out now.


Add callback function for options parsing

This allows a callback function to be passed to cli:add_option or cli:add_flag.  The callback function is called when the option or flag is parsed by cliargs.
local out= {}

local function printVersion(key, value, altkey)
  print('myapp version 1.0')
  os.exit(0)
end

local function setOutFile(key, value, altkey)
  out.key = key
  opts.altkey = altkey
  out.value= value
end

local cli = require 'cliargs'
cli:set_name('myapp')
cli:add_flag('-v, --version', 'print the version and exit', printVersion)
cli:add_option('-o, --output=FILE', 'specify output file', '/dev/stdout',  setOutFile)

local args = cli:parse()

print('args.o: ' .. args.o)
print('out.key: ' .. out.key)
print('out.altkey: ' .. out.altkey)
print('out.value: ' .. outfile)

$ lua myapp.lua --output myfile
args.o: myfile
out.key: output
out.altkey: o
out.value: myfile

$ lua myapp.lua -o myfile
args.o: myfile
out.key: o
out.altkey: output
out.value: myfile

$ lua myapp.lua --version
myapp version 1.0

Also fixes issue #29

Looking good, just two trivial notes (which I won't mind fixing myself).

I incorporated your feedback and did a rebase.
Using --version will use the callback.
$ lua example.lua --version
cli_example.lua: version 1.2.1

Using -v will use the normal if arg.v then ... end, which requires a dummy argument for it to work in the example.
$ lua example.lua -v dummy_arg
cli_example.lua: version 1.2.1

Otherwise you will get:
$ lua example.lua -v
cli_example.lua: error: bad number of arguments; 1-4 argument(s) must be specified, not 0; re-run with --help for usage.

The parse method takes an argument noprint to prevent output to stdout. I think this option should be forwarded to the callbacks.
An alternative could be to have the callbacks return nil, after which parsing continues, or a string, after which the string is being printed and parsing stopped. (check goes into the callback, but flow-control remains within the parse method in that case)

Update: It should return nil + message. To comply with the remainder of the code.
parse returns either the parsed arguments table, or nil + message. If the noprint parameter is given, then the message hasn't been printed yet and the application can decide for itself how to handle the situation. If noprint was omitted, the text is being printed, but also still returned.
So; to stay consistent the callbacks should never call os.exit() but return either true or nil + msg. In the former case parsing continues, in the latter case the msg is printed (unless noprint was provided) and then parsing stops by returning nil + msg.

I agree with @Tieske in that it's better to have a more formal API for the callbacks to adhere to (i.e. returning true on success, or nil + string on error) instead of being responsible (and even caring) about the flow of the program. However, I think we have 3 cases and not two:

parsing should proceed after the callback is invoked - we return true
parsing should stop after the callback is invoked - we return false
parsing should stop and indicate a failure after the callback is invoked - we return nil, message

Because, in the example of --version, the callback should abort the parsing of the arguments, but it's not really an error. If we do return nil and some error message from the callback, how would cliargs not think it's a genuine error and keep from printing it to stdout? (assuming noprint isn't on)
The thing I don't like about this is that it's now confusing to the caller; the parser will stop in the latter two cases, but we can no longer rely on the uniform local args, errmsg = cli:parse() signature because in the case of number 2 up there, errmsg will be nil. Does that even make sense?

What we have here is much better than the current state so I'm pulling this in until we figure out a better API.
Thanks guys. This is the last pending PR, I will be pushing a rock update soon.

If callbacks to the three-case thing you described, then the parse method should adhere to that as well.
Currently using a --help option will print the help output, and then return nil + helpmsg. (so technically --help is considered an error)

This is not really any different than previous behaviors of lua_cliargs.  The parse function already returns non nil on success, and nil, msg on error.  To my knowledge the --help option has always returned nil, msg, which has always meant that --help was considered an error.  This is not necessarily uncommon amongst command line programs, I've seen other cases where --help returns non-zero, which is an error (but I can't remember where).  If --help is to return 0, then it would probably need to exit early by calling os.exit(0).

My remark was not based on possible differences with the current behavior. Just a remark that the return values of the parse method could be cleaned up in a similar manner.
I don't think any option should ever prematurely call os.exit. The promise is that it returns parsed arguments or a message. It should never take over control from the main program imo.


Add token-auth for managing access for the clients to the server

Currently, clients are asked for password at first connection, subsequent requests are completed without authentication based on client ip, making it more prone to MITM (Man In The Middle) attack. We need to add a Token based auth to track down the users and remove access if needed.

This seems almost impossible with Vanilla JS. We must reconsider of including a SPA in our go binary
. This issue is open for contributions


Error 1366: Incorrect string value when ldap user has "ř" in his givenName

Gitea Version
1.16.0+dev-454-g118fbd943
Git Version
2.27.0
Operating System
CentOS Stream 8
How are you running Gitea?
Run nightly binary.
Database
MySQL
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://gist.github.com/xvybihal/3bfb56f88532a6f32fee09b88fb57835
Description
I have ldap (AD) as an authentication source. User synchronization is enabled.
When user logins for the first time and has character "ř" in his givenName, the user is not able to login. For example "Ondřej".
When the givenName in ldap is changed from "Ondřej" to "Ondrej", login is working as expected.
Screenshots
No response

Oh, i feel silly. This in NOT gitea issue. The database/table charset and collation was totally wrong.