[Feature Request] Assistants API integration/example with Azure OpenAI

Confirm this is a feature request for the Node library and not the underlying OpenAI API.

[X] This is a feature request for the Node library

Describe the feature or improvement you're requesting
I understand there is an Azure specific SDK, but I've built a lot of my app using this library and believe this shouldn't be too hard to integrate and maintains parity with the openai python SDK.
From this example, it looks like the python SDK can handle this pretty easily:
from openai import AzureOpenAI

# Load the environment variables - These are secrets.
load_dotenv()

api_URI = os.getenv("OPENAI_URI")
api_KEY = os.getenv("OPENAI_KEY")
api_version = os.getenv("OPENAI_VERSION")
deployment_name = os.getenv("OPENAI_DEPLOYMENT_NAME")

# Create an OpenAI Azure client
client = AzureOpenAI(api_key=api_key,
        api_version=api_version,
        azure_endpoint=api_endpoint)

That's all it takes and then all the "beta" assistant methods are available:
assistant = client.beta.assistants.create()
thread = client.beta.threads.create()
message = client.beta.threads.messages.create()
# etc.

Source: https://github.com/Azure-Samples/azureai-samples/tree/main/scenarios/Assistants/assistants-api-in-a-box
If this can't be achieved or isn't in the roadmap through this node library, I'd rather make my own REST methods rather than try to use 2 different libraries
Additional context
No response

cc @kristapractico

@rattrayalex Thanks for your reply.
Unfortunately I already  tried to initialize a client with azure on v4.28.4.
I regularly initialize Azure clients, and the same client will be able to use regular chat completions as expected, but It's not apparent to me how the API call gets constructed when using the Azure options.

What code did you use and what problems did you run into?

What code did you use and what problems did you run into?

Thanks for prompting me to code as I tried to reproduce with a simpler approach.
I figured out that the baseURL needs to be modified to be compatible with Assistants API.
from:
https://github.com/openai/openai-node/blob/6175eca426b15990be5e5cdb0e8497e547f87d8a/examples/azure.ts#L24
to
baseURL = `https://${resource}.openai.azure.com/openai`;

Can I make a PR to update the Azure example?
import OpenAI from 'openai';

(async () => {
  const model = process.env.DEPLOYMENT_NAME;
  const resource = process.env.API_RESOURCE;
  const apiVersion = process.env.API_VERSION;
  const apiKey = process.env.ASSISTANTS_API_KEY;

  const options = {
    defaultQuery: {
      'api-version': apiVersion,
    },
    defaultHeaders: {
      'api-key': apiKey,
    },
    apiKey: apiKey, // error without this
    baseURL: `https://${resource}.openai.azure.com/openai/deployments/${model}`,
  };
  const openai = new OpenAI(options);

  console.log('Streaming:');
  const stream = await openai.chat.completions.create({
    model,
    messages: [{ role: 'user', content: 'Say hello!' }],
    stream: true,
  });

  for await (const part of stream) {
    process.stdout.write(part.choices[0]?.delta?.content ?? '');
  }
  process.stdout.write('\n');

  try {
    openai.baseURL = `https://${resource}.openai.azure.com/openai`;
    const response = await openai.beta.assistants.list({
      order: 'desc',
      limit: 20,
    });
    console.log('List:', response);
  } catch (error) {
    console.error('Error listing Assistants:', error);
  }

  const url = `https://${resource}.openai.azure.com/openai/assistants?order=desc&limit=20&api-version=2024-02-15-preview`;
  const fetchOptions = {
    method: 'GET',
    headers: {
      'Content-Type': 'application/json',
      'OpenAI-Beta': 'assistants=v1',
      'api-key': apiKey,
    },
  };

  fetch(url, fetchOptions)
    .then(response => response.json()) // Convert the response to JSON
    .then(data => console.log(data)) // Log the data
    .catch(error => console.error('Error:', error)); // Log any errors
})();

Ah, I see. A PR adding an azure-assistants.ts file would be welcome.

Hello, friends, can we add proxy interfaces to the code? Similar to using python
/os.environ["http_proxy"] = "http://xxx.xxxxxx:port"

@naichalun that is not on-topic for this thread. I'd ask you to open another, but the answer is here: https://github.com/openai/openai-node?tab=readme-ov-file#configuring-an-https-agent-eg-for-proxies


Upgrade com.google.cloud.bigdataoss:gcsio dependency to 2.2.16

When trying to use gcsio client through gRPC (on Dataflow, use_grpc_for_gcs flag), the current version (2.2.16) fails with:
Caused by: java.lang.RuntimeException: Could not stage /var/folders/1b/0t6djpxj5n72_pbmtv4z3ffh010wzc/T/classes15993232808130966042.zip to gs://{bucket}/temp/staging/classes-0Lf2iFDqMLc10z77LXWOZ0kDsXI9nV6I-2TrG4_e2tU.jar
	at org.apache.beam.runners.dataflow.util.PackageUtil.tryStagePackageWithRetry(PackageUtil.java:196)
	at org.apache.beam.runners.dataflow.util.PackageUtil.stagePackageSynchronously(PackageUtil.java:153)
	... 6 more
Caused by: java.io.IOException: Upload failed for 'gs://{bucket}/temp/staging/classes-0Lf2iFDqMLc10z77LXWOZ0kDsXI9nV6I-2TrG4_e2tU.jar'
        ...
	Caused by: java.io.IOException: Caught exception for 'gs://{bucket}/temp/staging/classes-0Lf2iFDqMLc10z77LXWOZ0kDsXI9nV6I-2TrG4_e2tU.jar'
		at com.google.cloud.hadoop.gcsio.GoogleCloudStorageGrpcWriteChannel$UploadOperation$SimpleResponseObserver.onError(GoogleCloudStorageGrpcWriteChannel.java:586)
        ...
	Caused by: io.grpc.StatusRuntimeException: INVALID_ARGUMENT: An x-goog-request-params request metadata property must be provided for this request.
		at io.grpc.Status.asRuntimeException(Status.java:539)
		... 18 more

Upgrading it to latest (2.2.16) fixes the issue.
Transient dependencies also move a couple of CVEs to out-of-range:

CVE-2023-32732
CVE-2023-32731
CVE-2023-1428
CVE-2022-3510
CVE-2022-3509
CVE-2022-3171
CVE-2021-22573

So it is a clear step in the right direction.

Found existing issue that wanted to update this dependency: https://github.com/apache/beam/issues/25777
I am going to try this with larger (>40mb) JARs, though, since it is apparently what broke 2.2.8 before.

I tried it with a >200mb JAR (https://mvnrepository.com/artifact/org.apache.beam/beam-sdks-java-extensions-sql-expansion-service/2.49.0) and it worked fine.
R: @johnjcasey

Run SQL_Java11 PreCommit

Run Java_PVR_Flink_Batch PreCommit

Run Java_PVR_Flink_Batch PreCommit

Run Java_PVR_Flink_Batch PreCommit

seems like unrelated flake

Run Java_IOs_Direct PreCommit

Run SQL_Java17 PreCommit

assign set of reviewers


554- Contradictory constraints should emit no data

Description
Contradictory constraints can - via the reductive walker in some circumstances - emit all data points, as if unconstrained.
Changes

Change the reductive process to emit no data when contradictory constraints are encountered
Ensure the reductive process backtracks (or exits) immediately in the above scenario
Tests introduced for changes to behaviour in both reductive walker and where contradictions are checked (FixedFieldBuilder)

Resolves #554

This PR does not appear to fix the issue in #544
it still generates the same 6 lines of data

It would probably be useful to have javadoc comments on the complicated tests explaining what they are testing.

It would probably be useful to have javadoc comments on the complicated tests explaining what they are testing.

I see the point here, should there be a standard we try and adhere to? I personally prefer self documenting code as it saves the need to read documentation to understand each test or piece of code. To me it's a bit of a design smell if tests or production code are complicated to the degree that they need comment.
Not a one size that fits all of course.


Injecting darkmode.css for Messenger when appropriate

Pre-flight Checklist
Please ensure you've completed all of the following.

[x] I have read the Contributing Guidelines for this project.
[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I updated the version package Updating

Description of Change
This is mostly a proof of concept.
Currently, none of the services display their dark themes even with the system in dark mode, Ferdium in dark mode, and the universal dark mode feature turned on. It's long bothered me that some recipes have darkmode.css files but don't seem to be injected anywhere. So I tested out making some changes to webview.js, to inject the CSS if it's detected that the system is in dark mode. It seems to work. I am proposing that the previous snippet be added to all recipes if they have a darkmode.css file.
To me, it seems this would solve the dark mode issue (assuming we have a functional darkmode.css file). But I do wish to be cautious and see what more senior and knowledgeable contributors think before I proceed.

Added note:
The original darkmode.css for Messenger doesn't work at all. I stole one from Instagram. It also doesn't work that well, but at least you can see some changes to show that the CSS is being injected properly during dark mode, and not injected during light mode. As a proof of concept.
It seems like most of the darkmode.css files would need changes as I've struggled finding one that works perfectly. Perhaps they're outdated as they seem to have just been copied from Franz and not updated since. That would be what I look at next, to see if I can update and fix them.


[CSL-1901] Create tests for EpochPages, EpochSlots.

https://iohk.myjetbrains.com/youtrack/issue/CSL-1901
In the future we need to consider improving generateValidExplorerMockableMode.

@akegalj Fixed the review changes you requested except for one. Left a comment there.


Enable code coverage reports to codecov

/retest

/approve
LGTM

I agree with @vojtechszocs's comments above. @karelhala can we follow up? For now this LGTM.

/lgtm


Allow variables to be set to other, global variables

Mihai needs this for issue #424 in reach

Currently, variables can replace each other, but you can't use a variable when defining another variable.
We can add a limited version of this in which variables declared in a previous scope can be used in the current one.
This handles your example in which you want to use a global variable to initialize a local one.
I believe this could be accomplished by replacing this (see link below) Map concatenation with something fancier that inspects the values
of variables and replaces mentions of variables declared in a parent scope.
Currently what this Map concatenation does is replace a variable in a parent scope with a variable with the same
name declared in a descendant scope, without inspecting it.
The relevant code is here:
https://github.com/clulab/processors/blob/0b24ceac75e739f90bde29c93e9b980809660680/main/src/main/scala/org/clulab/odin/impl/RuleReader.scala#L208-L212


Add 'Jobs' to veteran profile

A Veteran should have the ability to mark themselves as looking for a job.
If they are looking for a job a menu should appear allowing them to:

Upload their resume
Request a resume review
Request mock interviews

Additionally staff should be able to pull a report of all veterans looking for work.

Closing due to redesign


Nested contexts

I am making a spaceship game which currently doesn't use DI, but I have read about this framework and would like to use it. Some basic info about my game:

Each player has one ship.
Ships can be docked inside bigger ships.
Local co-op support.

I was thinking about making each ship a context - that way I could inject ship configuration, player input etc. to the ship's submodules (which are sub transforms of the ship). The ship may be nested when docked.
This does however not seem to be entirely achievable using Inconspicuous.
How would you use Inconspicuous in this case?

You are right, and it's intentional. Contexts and sub-contexts are only responsible for object construction and can not be reconfigured once they are initialized.
My advice is to try to use as much of your existing code as possible, and refactor it into separate injectable services/models/viewmodels in a way that makes sense, e.g. a ShipViewModel that has a property that changes when it's docked, etc.
Inconspicuous.Framework should not dictate how you structure your code. You don't want to tie your game logic to a third-party library!

I'll keep that in mind. Still using a DI framework will probably dictate your code structure to some extent. Inconspicuous also seems a bit different from other Unity DI frameworks so if using it I will be tied to a certain architecture.


Can't find how to ask a question.

Hello, guys. I didn't find info in docs about how can I ask a user a question. I mean I want to ask user for example "Enter your age:" then he enters his age, after that I'll validate it. How can I do this? Thank you in advance!

@RivGames
Hi, I'm not sure if this is the best solution, but something like this

    /**
     * @throws StorageException
     */
    protected function handleChatMessage(Stringable $text): void
    {
        if ($text->value() >= 18) {
            $this->questionSteps();
        } else {
            $this->reply('Access closed');
        }
    }

    /**
     * @throws StorageException
     */
    public function questionSteps(): void
    {
        if ($this->chat->storage()->get('question_step') === 1) {
            $this->sedondQuestion();
        } elseif ($this->chat->storage()->get('question_step') === 2) {
            $this->thirdQuestion();
        }
    }

    /**
     * @throws StorageException
     */
    public function sedondQuestion(): void
    {
        $this->reply('second question');

        $this->chat->storage()->set('question_step', 2);
    }

    public function thirdQuestion(): void
    {
        $this->reply('third question');
    }

I'm not sure about this solution. I want to have a telegram command like /createPost for example then I ask a user "How would you name your post?" he enters a title of post then I retrieve data and validate it and tell him is it correct or not.

@RivGames  like this?

 public function createPost(): void
    {
        $this->chat->message("How would you name your post?")->send();

        $this->chat->storage()->set('create_post', true);
    }

    /**
     * @throws StorageException
     */
    protected function handleChatMessage(Stringable $text): void
    {
        if ($this->chat->storage()->get('create_post')) {
            $validator = Validator::make(['value' => $text->value()], [
                'value' => 'required|string|min:2',
            ]);
            if ($validator->valid()) {
                $this->chat->message('correct')->send();
                $this->chat->storage()->forget('create_post');
            } else {
                $msg = $validator->messages()->all();
                $messages = '';

                foreach ($msg as $error) {
                    $messages .= $error.'
';
                }
                $this->chat->message($messages)->send();
            }
        }
    }

Exactly. Thanks a lot!


adding a new tile (steps)

Here are the steps for adding a new language tile:
In tiles.ts:

[ ] add a unique TID value
[ ] add tile to tilesDB

In assets.ts:

[ ] add an icon to LANGUAGE_TILE section in assets.ts, namespace icondb
[ ] add an entry from new TID value to icon image to map this.reg in the init() function of icons class

In jacs_topwriter.ts

[ ] add code generation

Tiles awaiting implementation (see tiles.ts)
Sensors

[ ]  export const TID_SENSOR_BUTTON_AB = "S5"
[ ]  export const TID_SENSOR_RADIO = "S7"
[ ]  export const TID_SENSOR_MIC = "S8"

Actuators

[ ] export const TID_ACTUATOR_SPEAKER = "A2"


feat(common)!: Release common-3.0.0

Description of the change
Prepare the common library v3.0.0 release
Upgrade information can be found here: https://bjw-s.github.io/helm-charts/docs/app-template/#from-2xx-to-30x
Removed

Fixed

Added

Added support for restartPolicy field on container level. This will allow the use of  https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/.
Added json-schema validation. (⚠ see "Possible drawbacks" section)
Allow referencing secrets and configMaps by identifier in persistence section

Changed

BREAKING 🚨: Default objects (they used to be called main) have been commented out and will therefore no longer provide any (both expected and unexpected) default values.
BREAKING🚨: enableServiceLinks is now disabled by default
BREAKING🚨: Referencing services under Ingress paths has been separated in explicit name and identifier keys.

Benefits

Possible drawbacks
The introduction of the json schema adds additional validations and restrictions on the contents of your chart values. Things may have been missed during the initial schema creation, so if you run in to any unexpected validation errors please raise an issue.
Applicable issues

fixes #233
fixes #266
fixes #206
fixes #123
fixes #281

Additional information

Thanks for your great work! I want to upgrade your chart which is used in https://kolaente.dev/vikunja/helm-chart but am struggling to find an overview of breaking changes, here being the first helpful reference point - is there a changelog of some sort?

Hi! Each chart version has a section in the Chart.yaml file mentioning the (breaking) changes. Since 3.0.0 there haven't been any breaking changes, so all releases past that should be backwards compatible and only add functionality.


Not all errors and exceptions are visible

Product
Hot Chocolate
Version
13.9.11
Link to minimal reproduction
sorry
Steps to reproduce

create dbcontext with multiple constructors
use pooled db context AddPooledDbContextFactory like in the documentation from dataloaders or entity framework

What is expected?
Correct error is clearly visible The DbContext of type 'DbContext' cannot be pooled because it does not have a public constructor accepting a single parameter of type DbContextOptions or has more than one constructor
What is actually happening?
Some internal error of Hot Chocolate is displayed Could not create an instance of the dataloader
Relevant log output
No response
Additional context
No response

can you try with 14?

Do you have feedback on this? Also is there a repro?

Closing this issue as there is not repro or feedback to this issue.


kdb support for Beaker

Here's a first cut at a kdb plugin for Beaker. I've added some support for tables and dicts (at least at the top level) and auto translation is supported with the .bk.g (get) and .bk.s (set) functions. There's autocomplete too for names in the default namespace as well as standard q functions.
I'm including the c.java kdb client from code.kx.com; I think this is OK given their licensing.
Really appreciate any feedback you guys have, especially if there's a better way to handle the json serialization (right now it doesn't support nested Flips or Dicts)

wow thanks this sounds great.
what is this c.java?  is this the license? http://code.kx.com/wsvn/code/kx/kdb%2B/license.txt
in order to take a PR I would need you to sign and return the CLA: http://beakernotebook.com/cla.zip

c.java is the java kdb client that kx distributes - that's the right link to the license. Let me look over the CLA and get back to you.


Add README.md

Create a README.md file describing the project's intent, showing the installation and usage steps. Include badges about build, project health and license too.

Delivered via #10


Use correct kubelet config name

At its current form minikube fails to start with following error:
unknown flag: --AllowedUnsafeSysctls

Renaming it to allowed-unsafe-sysctls works as expected.

/lgtm
@zacharysarah @cody-clark  @afbjorklund  from minikube confirmed too
@amir thank you for sending a PR

/approve


screenshot

can we get a functionality for making screenshots directly from the chat window with a single click?

What's wrong about Print button and then Ctrl + V?

just less comfortable. because mostly you do not want to paste the whole print screen only just a part of a window / programm code, etc..

Well you can get single windows with Alt + Print. But I don't think mattermost is planned/trying to be a screen grabbing tool.

Then use snagit and you can paste your Screenshot with ctrl+v after you selected the Area on you Desktop

That should be supported by external software. You can use it on other applications by its common usage.
For example, there are some ways supported by OS.

Win: Snipping Tool
OS X: Command+Shift+4


Service redirect-service-request-information is not working in testbed

When we send redirect-service-request-information the details of EaTL application will be updated in that particular application .
Problem :
This functionality in RO is working fine in local but it is not working in testbed.

we redeployed the application on .71 testbed server and it worked fine


Add info about image resolution with content trust

Proposed changes
Added info about how image resolution works when content trust is enabled
Unreleased project version (optional)
Engine 1.13
Fixes #1004

This LGTM - cc @aaronlehmann who added this fix.

@cyli can you give this another look-over? I think I addressed your feedback.


FIX: Explicitly cast minDistance to float

Closes #177

@Squadrick could you take a look? Thanks!


refactor(rtc): schedule compaction update

a single operation instead of N uploads and 1 deletion scheduling with write(layer_map) lock releasing in the between. Compaction update will make for a much better place to change how the operation will change in future compared to more general file based operations.
builds upon #5645. solves the problem of difficult to see hopeful correctness w.r.t. other index_part.json changing operations.

Still failing e2e.

Conundrum: do I rebase this branch so I can rebase my #4938 on top of this, or risk the single failing test suite.

Oh noes I had missed mysterious clippy failure.

Then it's e2e again.


Module request: NDI Studio Monitor Control

Describe the feature
NDI Studio monitor on windows has a webserver to change settings via web. Would be nice to control it by Companion
Is this platform dependent (windows, mac, ..)?
Don't know for sure if Studio Monitor on Mac has the webserver.
If documentation is required to implement, do you know where to find it?
HTTP  GET request to http://<IP_ADDRESS>/v1/sources results in a array with NDI Sources, Displays on Studio monitor computer, audio outupt and other ndi monitors (i think)
{"ndi_sources":["LAPTOP-PC7S7504 (Companion)","LAPTOP-PC7S7504 (Countdown Timer 2.0 2)","LAPTOP-PC7S7504 (Countdown Timer 2.0)","LAPTOP-PC7S7504 (Display1)","LAPTOP-PC7S7504 (Display2)"],"audio_devices":["HDMI2K (Intel(R) Display Audio)","Speakers (Realtek High Definition Audio)"],"display_devices":["Monitor 1","Monitor 2","All Monitors"],"controllers":[],"studio_monitors":{"LAPTOP-PC7S7504 (1)":"http://<IP_ADDRESS>/"}}
Posting a JSON object to http://<IP_ADDRESS>/v1/configuration can change the configuration.
Got this working in node-red already, but don't know how to implement it in Companion;
{
'version': 1,
'NDI_source': #SOURCE TO SET,
'window': {
'display_device': #DISPLAY TO SET
}
}
To see all the functions you can set by posting to the http://<IP_ADDRESS>/v1/configuration, just do a HTTP GET to that url. I'ts the current state of the monitor.
Usecases
I use it al lot to mirror speakernotes (display 1) from powerpoint laptops. But if i switch to another machine on my switcher, i have to manually change the input of the Studio Monitor.

@albertorighetto has made this module. We will be reviewing it to include in the core soon.

Since the module for NDI Studio Monitor is now in the core I'm closing this issue.


docs: Add man pages for checkpointctl

This pull request adds man pages for checkpointctl. Similar to CRIU, we use AsciiDoc language and Asciidoctor for generating the man pages.

Codecov Report
Patch and project coverage have no change.

Comparison is base (797f6ce) 78.83% compared to head (0ee82cf) 78.83%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #105   +/-   ##
=======================================
  Coverage   78.83%   78.83%
=======================================
  Files           6        6
  Lines         926      926
=======================================
  Hits          730      730
  Misses        154      154
  Partials       42       42

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Maybe this is a good time to run a spellchecker like codespell.

Maybe this is a good time to run a spellchecker like codespell.

Good idea! I've updated the pull request to enable codespell in CI.

The codespell job is not being triggered.

The codespell job is not being triggered.

It shows up under the lint job here, seems to be working as expected


Allow to access the rest of content after summary

A quick and dirty PR for #716

@opennota
I hate to ask this, but HEAD has drifted quite a bit since this PR. Now that v0.13 has shipped I'd love to merge this in. Would you be able to bring it up to date and repush?

Hi @opennota, would you like to follow up on what @spf13?  Because hugolib/page.go has seen some changes since you made your original Pull Request, it cannot yet be merged directly and need a little more work on your part.  Could you please do that so that @spf13 can merge it for v0.14?
Many thanks!

@opennota I think many would want this. Would be nice if you could revisit this.

Rebased.

Great.
A couple of comments.

The above only supports "manually summaries". Users mix and match these and would expect to use the same template constructs for both.
There is still some "double work"  going on in here. Some of it may be out of scope of this PR (I would assume that, in most cases, one would use either Content or ContentAfterSummary and not both, so Content and TableOfContents could be methods that could be lazily evaulated) -- I would assume that  ContentAfterSummary is called several times, so cache the result, and assume that it will called from multiple go-routines at once. But I have not thought this all through, there may be better ways.

CLA not signed. Closing.


Failed building Tests.

LNK1169	one or more multiply defined symbols found Test
Error LNK2005	"private: static unsigned int Catch::MessageInfo::globalCount" (?globalCount@MessageInfo@Catch@@0IA) already defined in TestFDHalfIndex.obj

fixed by commit/e47d56dd88758244f37cef0cfa4681498714c4db


Reading image by name

Is is possible to read image by name as a string at runtime?

Hello. Everything is same as in native development.
In Android this possible only via reflection.
For iOS / JVM / JS you can write helper to get it by string.

Could you send sample for android and ios?

For iOS you need to know name of bundle. You can view it by path yourModule/build/generated/libres/apple/libres-bundles. For example my bundle is named LibresShared
// common
expect fun MainResImages.getByName(name: String, extension: String): Image

// android
actual fun MainResImages.getByName(name: String, extension: String): Image =
   this::class.java.getDeclaredMethod("get${name.replaceFirstChar { it.uppercase() }}").invoke(this) as Image

// ios
actual fun MainResImages.getByName(name: String, extension: String): Image =
    NSBundle.bundleWithName("LibresShared").image(name, extension)

// usage
MainResImages.images.getByName("example", "png")

But you need to remember that in release build of your Android app if you enable obfuscation, names of variables and methods change and such call will cause a runtime crash.

@Skeptick  thanks for you support.
It looks like  NSBundle.bundleWithName("LibresShared").image(name, extension) returns UIImage instead of Image.
I am having issue at this point

@Skeptick any update regarding this?


remove npm cache

Deploy preview for recalc ready!
✅ Preview
https://recalc-5hr1chziw-tervay.vercel.app
Built with commit c9aed8cda0586cd763903a4284d1d1f54647faff.
This pull request is being automatically deployed with vercel-action


dynamicBullets is not supported in ionic-slides?

Ionic version:  (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[x] 3.x
[ ] 4.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
Current behavior:
dynamicBullets is not supported in ionic-slides?
ionic-slides adopted from swiper.js and swiper.js support dynamicBullets: boolean.
How can I use dynamicBullets in ionic-slides?
I even tried to inject swiper.js into the ionic project and it's not working well. I believe there is a conflict error somewhere in ionic since it was adopted from swiper.js
Expected behavior:
dynamicBullets should be supported for dynamic pagination if there are many images.

+1
It doesn't look like a big task to create a new flag in slides.ts and provide it to the Swiper.

+1

+1


Wrong link to release notes

Is there an existing issue for this?

[X] I have searched the existing issues

URL
https://dotnet.microsoft.com/en-us/download/dotnet/8.0

Browser
Firefox
Description
Wrong link for release notes. The latest according to the page is  8.0.402 but the release notes point elsewhere.
Current link : https://github.com/dotnet/core/blob/main/release-notes/8.0/8.0.8/8.0.8.md
Expected link : https://github.com/dotnet/core/blob/main/release-notes/8.0/8.0.8/8.0.402.md
This for release date  September 24, 2024
Additional context
No response

Thank you for your feedback @Serge-N.
The release notes link is related to the 8.0.8 release in this case, not the SDK. However, your comment makes me think whether we do want to include specific SDK release notes. @rbhanda what do you think? I don't think we link to the SDK release notes from the releases.json files, do we?


Added log prefix

New Pull Request Checklist

[ ] I have read and understood the CONTRIBUTING guide

[ ] I have read the Documentation

[ ] I have searched for a similar pull request in the project and found none

[ ] I have updated this branch with the latest master to avoid conflicts (via merge from master or rebase)

[ ] I have added the required tests to prove the fix/feature I am adding

[ ] I have updated the documentation (if necesarry)

[ ] I have run the tests and they pass

[ ] I have run the lint and it passes (pod lib lint)

This merge request fixes / reffers to the following issues: ...
Pull Request Description
...

I think this can be achieved by customizing log formatter.
for example,
https://github.com/ainopara/Stage1st-Reader/blob/develop/Vendors/CrashlyticsLogger/DDErrorLevelFormatter.m

tks


Release new version to PyPi

The current version listed there does not declare the anyio dependency whereas the file currently in the repo does.

This project is dead?

It's not.

Pushed.

The PyPI release <IP_ADDRESS> does not have a corresponding git tag in the source code.

Sigh git didn't push it.
It does now.


Fixed rotation for rectangle displays and added backlight

The last rotation PR only worked on square displays. This works on rectangle ones too. :)

Added a basic digitalio based backlight control so we can use the 1.3" TFT bonnet properly.


Add new parameter 'environment', ...

...to pass environment variables to the executed query commands.

Thought it's about time for a small improvement...

Hi Dirk, nice to hear from you! How are your automation efforts going?
To be quite honest, I have not used Puppet in years, let alone this module. How about I'll transfer ownership and maintenance to your account or to a recommind account? I'd also give you ownership/permissions to publish new versions of this module to the PuppetForge (if that is possible, right now, I'm not if or how PuppetForge supports this).

I'm fine with that (guess I need to setup a forge account first).

Okay, we'll do the GitHub transfer first. There is a small complication here. I cannot transfer the repo to your account because your account already has a repo with the exact same name (your fork of this repo). So you need to delete that fork from your GH account first, keeping your changes (from this pull request) somewhere else for a while. When you have deleted your fork, I'll transfer this repo to your account. This works very nice and smooth with GH, I've done it a couple times before. All issues and PRs are transferred, too and GH will even create a HTTP(s) redirects for all URLs with basti1302/puppet-wait-for to dhs-rec/puppet-wait-for.
I'd say we'll sort out PuppetForge when the GitHub transfer is finished.

Yes, worked fine. Didn't have a fork, since I cloned it directly. The change is on a branch.

Perfect. If you find out how to transfer ownership in PuppetForge, let me know. I did not find an obvious way just by looking at the PuppetForge web UI  o_0

OK, I'll check that tomorrow.

Hmm, I also see no way of transferring module ownership in the forge.


feat(scope): Pass CLI arguments to karma.config.js. Closes #1561

Set up config object with CLI arguments, before passing it to karma config

Thanks, this looks good, just one thing could you reformat your commit message to
feat(config): Pass CLI arguments to `karma.config.js`.

Closes #1561

Done

@Dignifiedquire any idea what does CI failures mean? Seem to be unrelated.

There were the following issues with your Pull Request

Commit: eb03db6913aa926da70f3d98eac96f719bbf7fd9

Commits must be in the following format: %{type}(%{scope}): %{description}

Commit: e410911908bf677acba10c547190c70e702f75e5

Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at http://karma-runner.github.io/0.13/dev/git-commit-msg.html

This message was auto-generated by https://gitcop.com

@Dignifiedquire I rebased the fork to keep it in sync with upstream, hence the warning above about cla. Anything I can do about it?

@Dignifiedquire Any idea what that AppVeyor failure means?

@danielsiwiec According to the Travis logs, it appears to be failing some eslint checks:
test/unit/config.spec.js
42:33  error  Requires a space after "{"               block-spacing
42:77  error  Requires a space before "}"              block-spacing
148:70  error  Block must not be padded by blank lines  padded-blocks

Looking at the history of the AppVeyor build, it doesn't seem like it has ever passed?

@scottohara Yeah, I just noticed that and just fixed it. I was puzzled by the AppVeyor failure though:
Specify a project or solution file. The directory does not contain a project or solution file.

Any idea what it means?

@danielsiwiec Apvoyer is not properly set up, still working on that, that's why it's failing.
Everything else looks good now, thanks :octocat:


Add notebooks submodule redo docker

The workflow case must just be changed, then this PR is good.

Ah, sorry, I forgot to push the commit!


Adjust HEALTHCHECK parameters to be used without amp-pilot

It seems that without amp-pilot, we need to let more time to the container before kill them, especially at amp startup period.
With amp 'min' we strange behavior due to service restarting to quickly.

i investigated a little and i saw that the application are killed when they are starting if they spend too much time to be ready, letting them in the bad shape and some of them are not able anymore to start or block some port even started. It's weird.
amp-pilot didn't kill applications, it just wait to launch them, that was the difference, we can have sort delay to wait, but not to kill.
the best soution will be yours: having the dependencies management at service api level, in the meantime, we can raise the healthcheck delay to let more time to the application to start.

Done. testing, removing all images locally and pulling them all to start amp min

tests done and ok.

@freignat91: Awesome, pulling latest images. Just to confirm ... this is just for the --min set right now, correct? Or have all the images been updated?

It's just for amp min, i have updated nginx and amp-ui because i use them for tests.
you're right, better to update all. I'm going to update all the other images this afternoon.

done for amp services images excepted consul, kafka-manager, amp-pilot and the ones which have been already done

Since we will be using etecd instead of consul as our backend k/v store, I'd like to eliminate any other dependencies we might have on consul, such as storing reverse proxy configuration settings or anything else we were considering using it for, and remove it from the swarm script.

About Consul, we have now only amp-pilot and amp-ui that use it. Nginx doesn't need Consul, it had just a upstream service Consul to reverse proxy Consul, but i have already removed it. So ningx has now no dependency with Consul.
About amp-pilot, it's ok for amp 'min', but for the full amp, we need to modify third products images to remove all amp-pilot trace in it. Could be done by Nicolas next week.
About amp-ui, we have to think how we want to update it:
I can update it to use tasks status instead of consul status for now (fast way to have it working as it was before removing Consul)
The target is perhaps more to use the amp api to get services health and be able to create, delete, update them.
?

tested full amp platform without consul:
all services are up after a while
Logs are visible in Kibana
Grafana starts and show dashboard, but no data in there
amp-ui works (logs, containers details, ...) but doesn't show services status (all set to unknown)

According to logs the telemetry worker issue come from telegraf-worker which started with kafka not readay, but is it-self considered as ready, so it does't restart and stay in a bad shape.
To be fixed by Nicolas next week
logs:
Fri Aug 12 2016 15:57:34	2016/08/12 13:57:34 Started the kafka consumer service, peers: [zookeeper:2181], topics: [telegraf]
Fri Aug 12 2016 15:57:34	2016/08/12 13:57:34 Kafka Consumer Error: kafka: error while consuming telegraf/-1: zk: node does not exist
Fri Aug 12 2016 15:57:50	2016/08/12 13:57:50 Output [influxdb] buffer fullness: 0 / 1000 metrics. Total gathered metrics: 0. Total dropped metrics: 0.
Fri Aug 12 2016 15:58:00	2016/08/12 13:58:00 Output [influxdb] buffer fullness: 0 / 1000 metrics. Total gathered metrics: 0. Total dropped metrics: 0.

Here is a workaround: kill the telemetry-worker container, then the service restart it and after a short while we have all the data in grafana dashboard

the problem with telegraf is not related to kafka, but to zookeeper (zk: node does not exist)
It's probably because the zookeeper service is started after the telegraf service in the swarm script, I'll change the order.
If Kafka is not available, then telegraf should fail, which is a good behavior (Swarm will launch a new one, and all will be fine once Kafka is up)

@ndegory Please look at influxdb. It takes a long time to start:
$ ./swarm start --min
$ ./swarm monitor

It looks like run.sh has the potential to be optimized for a faster start, there shouldn't be anything related to amp-pilot in run.sh anymore, and the HEALTHCHECK can be more optimally tuned.

@ndegory

I'll change the order.

Please don't change the order. The point is to see how well we can tune the retry intervals so that we can trust docker 1.12 to still reliably ensure all the services eventually start. In other words if one service reports that it is unhealthy because its upstream dependency is not available, docker will retry to start the service according to its healthcheck retry policy. At some point, the upstream service itself will be running and healthy, which means the downstream service should now succeed on start. The point of tuning is to have reasonable delays on intervals (not too short or there is a lot of churn, but not too excessively long that time is wasted, which adds up to very lengthy delays in the system if there is a long chain of dependencies).

@ndegory I also want to emphasize that all updates to the swarm script need to go through a PR. We are no longer pushing updates to master for the very reason that changes might happen without me or anyone being aware. The PR process is so that there is the opportunity to approve or reject a change. Thanks!

@subfuzion no worries, I prefer to go through PR anyway :)
I did some tests on my side, the order is not a good fix.
What happens is that in certain conditions (zookeeper up but Kafka not ready), telegraf doesn't initialize the input correctly but doesn't fail (it fails when zookeeper is down). There's nothing we can do in the healthcheck, unless we implement a complicated mechanism where we scan the log of the container to trap that kind of issues (or empty buffer, which is symptomatic), but I wouldn't recommend going this way.
I'll see if I can fix the telegraf plugin source, and at least I'll create a bug on the influxdata repo.

I have a patch ready, but after a dozen of retries, I'm unable to trigger the issue anymore... I'll keep the patch in case the issue occurs again. Please also pull the latest telegraf image, I've made changes recently.

@ndegory, thanks for your analysis and the updated image. 👍


php not croping

hi thanks a lot for your work is just what i need.
unfortunatelly i do have a problem:
the file in original size is saved in the img folder... the cropped file no...
the php file is just the original one... is probably a noob question...
can u help me?

the log it give is just "error"

i just intalled the example page not changing anything ... and is still having errors
http://www.fanta-trade.eu/fanta-trade-3/cropper-master/examples/crop-avatar/index.php
in the browser console is showing a 500 (Internal Server Error) on the crop.php file

Please check your php_error.log file.

hi man thanks... but no error are showing...

What's your php version?

5.3.10

Requires PHP 5.5+
https://github.com/fengyuanchen/cropper/blob/master/examples/crop-avatar/README.md

i see
i try to install the 5.5
sorry


Godot 4.1.1 bad quality on ortho camera and Forward+

Godot version
v4.1.1.stable.mono.official [bd6af8e0e]
System information
Godot v4.1.1.stable.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1660 Ti with Max-Q Design (NVIDIA; <IP_ADDRESS>34) - Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 Threads)
Issue description
In a simple 3d scene with SDFGI enabled and shadows enabled there are two problems with orthographic camera which is not present on perspective camera
1- there is dot pattern on screen texture. seems like something is wrong with shadows.
2- My model has glowing parts, which causes lighter lines on ground.
Two screenshots with orthographic and perspective cameras;
Ortho:

perspective (Which looks great):

Steps to reproduce
you can use attached scene , change camera type to see difference
Minimal reproduction project
lowpoly.zip

update:

For future reference, this is a duplicate of https://github.com/godotengine/godot/issues/58332.


Replace api.ai mentions with Dialogflow in README

Proposed changes:

Replaced api.ai mentions with Dialogflow in README

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

Thanks for correcting that :+1:


some mods based on .23

Changes based on release 0.23 experiences.

:broom: Update some incorrect information as well as try to clarify a few locations that I found unclear.

/kind

Fixes #

Release Note

Docs

/lgtm
/approve

/approve
again, after #12


feat: cli scaffolding

Current dependencies on/for this PR:

main

PR #2

PR #3   👈

This stack of pull requests is managed by Graphite.


feat: static call support in aztec.nr and acir-simulator

WIP

Benchmark results
Metrics with a significant change:

note_trial_decrypting_time_in_ms (8): 14.5 (-87%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit 16158031 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,412
179,524
716,068

l1_rollup_calldata_gas
221,728
866,500
3,448,180

l1_rollup_execution_gas
314,215
984,240
3,667,837

l2_block_processing_time_in_ms
1,163 (+1%)
4,341
17,318 (+1%)

note_successful_decrypting_time_in_ms
304 (+2%)
961
3,710 (+3%)

note_trial_decrypting_time_in_ms
:warning: 14.5 (-87%)
89.4 (-7%)
149 (+8%)

l2_block_building_time_in_ms
18,148
71,901
288,880

l2_block_rollup_simulation_time_in_ms
13,035
51,601
207,859

l2_block_public_tx_process_time_in_ms
5,087
20,224
80,778

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
14,921 (+9%)
29,288 (+12%)

note_history_successful_decrypting_time_in_ms
2,444 (-2%)
4,598 (-3%)

note_history_trial_decrypting_time_in_ms
93.4 (-48%)
211 (-5%)

node_database_size_in_bytes
17,346,640
33,222,736 (+1%)

pxe_database_size_in_bytes
29,923
59,478

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
308
44,481
26,193

private-kernel-ordering
194 (+1%)
44,513
14,929

base-rollup
1,403
128,970
881

root-rollup
82.2
4,088
677

private-kernel-inner
410
71,640
26,193

public-kernel-private-input
242
32,615
26,193

public-kernel-non-first-iteration
241
32,657
26,193

merge-rollup
7.58
2,608
881

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
2 leaves
8 leaves
16 leaves
32 leaves
128 leaves
64 leaves
512 leaves
1024 leaves
2048 leaves
8192 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.2
11.2 (+7%)
12.8 (+1%)
16.8 (-1%)
22.8
63.9
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.9
17.5
23.0
31.6
47.0
143
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.593
0.627 (+6%)
0.541 (+1%)
0.521 (-1%)
0.477
0.440
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
N/A
N/A
N/A
74.2
47.4
239
460
895
3,556

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
N/A
N/A
N/A
159
96.0
543
1,055
2,079
8,223

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
0.459
0.487
0.437
0.431
0.427
0.427

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
N/A
N/A
N/A
104
56.6
350 (+1%)
688 (+1%)
1,359
5,418

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
N/A
N/A
N/A
197
104
691
1,363
2,707
10,771

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
0.494
0.496
0.478 (+1%)
0.474
0.472
0.472

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
56.5
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
94.1
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
0.578
N/A
N/A
N/A
N/A
N/A
N/A
N/A

Miscellaneous
Transaction sizes based on how many contracts are deployed in the tx.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
15,575
37,974

Transaction processing duration by data writes.

Metric
0 new commitments
1 new commitments

tx_pxe_processing_time_ms
547 (+1%)
1,370

Metric
0 public data writes
1 public data writes

tx_sequencer_processing_time_ms
0.491 (-15%)
627


[ci-skip] CI improvements

Codecov Report

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

@@           Coverage Diff           @@
##           master     #123   +/-   ##
=======================================
  Coverage   42.02%   42.02%
=======================================
  Files          11       11
  Lines         207      207
=======================================
  Hits           87       87
  Misses        120      120

Continue to review full report at Codecov.

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


horizon/cmd: fix migration checks

We can't run the migration checks on every single command like horizon db init and horizon db migrate themselves. This PR removes cobra.OnInitialize() and places initConfig() at commands where we need it.

Would be great to have some tests (at least for this specific command).


error adding anchor inputs: error fetching anchor outpoint: no tx found

Tried to use pullanchor command for 2 force closed channels. One was force closed by peer around 3 weeks ago with  low fee. The other channel was force closed by my using chantools forceclose. Using pullanchor command without api flag returned for both CPFP attempts: "error adding anchor inputs: error fetching anchor outpoint: no tx found". The transactions are visible on Blockstream explorer, though. Using --apiurl https://mempool.space/api worked as expected.

That just means the bitcoind node backing the default API (blockstream.info) has too small of a mempool and the force close transactions therefore were discarded. Good to know that there is an alternative API available. But I don't feel like switching the default right now as mempool.space had some stability issues quite recently.


Issue using ng-file-upload and http-auth-interceptor

http-auth-interceptor (https://github.com/witoldsz/angular-http-auth/blob/master/src/http-auth-interceptor.js) is a very small and popular way of intercepting API 401 messages, asking for authentication, and if ok, retries a queued up $http request.
When ng-file-upload triggers the 401, it breaks..
I think angular-http-auth tries to resend the waiting $http, but the object itself is not how it should, or it have been changed somehow..
The error I am getting is:
TypeError: Cannot read property 'addEventListener' of undefined
    at config.headers.__setXHR_ (vendor.js:85820)
    at vendor.js:19539
    at forEach (vendor.js:9636)
    at executeHeaderFns (vendor.js:19537)
    at mergeHeaders (vendor.js:19573)
    at $http (vendor.js:19450)
    at retryHttpRequest (vendor.js:85653)
    at Object.retryAll (vendor.js:85684)
    at Object.loginConfirmed (vendor.js:85587)
    at Authentication.setLoggedIn (_main.js:36)

Where vendor.js:85820 is https://github.com/danialfarid/ng-file-upload/blob/7.2.1/src/upload.js#L40
I have tried with Upload.upload, and Upload.http, a stripped down version of my Upload look like this;
file = @data.files && @data.files[0] || null
Upload.upload(
  {
    url: "#{baseUrl}/content/post/"
    fields: {data: 'data here'},
    file: file
    fileFormDataName: 'asset'
    headers: {
      'X-CSRFToken': $cookies.get('csrftoken')
    }
  })
  .success (data, status, headers, config) =>
    @okCreate()

The xhr object at upload.js#L40 looks like this when it doesnt work;
Object
fields: Object
file: null
fileFormDataName: "asset"
headers: Object
method: "POST"
paramSerializer: ngParamSerializer(params)
transformRequest: (data)
transformResponse: Array[1]
url: "/_/api/content/post/"
__proto__: Object

and like this when it works (ie, when I'm authenticated and not getting a 401 that http-auth-interceptor tries to queue up)..
 Or does this looks like a bug in ng-file-upload or http-auth-interceptor?
versions:

7.2.1 of ng-file-upload
1.2.1 of http-auth-interceptor
1.4.5 of angularjs

First fileFormDataName is deprecated in 7.2.1.
It seems like http-auth-interceptor is overwriting the XMLHttpRequest but it does not implement the xhr.upload causing this error, so you can open a bug on their side.

Thanks!
I'll fix the fileFormDataName and created an issue on the other..

Hi guys!
I have the same issue with TypeError: Cannot read property 'addEventListener' of undefined
When we use angular http interceptor we can "intercept" 401 status and save http-config of the last request
responseError: function(rejection) {
          case 401:
               var httpRequestConfig = rejection.config;

But if we want to retry to send THIS http-request again
$http(httpRequestConfig).then(successCallback, errorCallback);

unfortunately get the error message about  'addEventListener' of undefined
As you can see there are no any overwriting the XMLHttpRequest

I have looked at the source code and IMHO there are some issues with
if (window.XMLHttpRequest && !(window.FileAPI && FileAPI.shouldLoad)) {
  window.XMLHttpRequest.prototype.setRequestHeader = (function (orig) {
    return function (header, value) {
      if (header === '__setXHR_') {
        var val = value(this);
        // fix for angular < 1.2.0
        if (val instanceof Function) {
          val(this);
        }
      } else {
        orig.apply(this, arguments);
      }
    };
  })(window.XMLHttpRequest.prototype.setRequestHeader);
}

and
    config.headers.__setXHR_ = function () {
      return function (xhr) {
        if (!xhr) return;
        config.__XHR = xhr;
        if (config.xhrFn) config.xhrFn(xhr);
        xhr.upload.addEventListener('progress', function (e) {
          e.config = config;
          notifyProgress(getNotifyEvent(e));
        }, false);
        //fix for firefox not firing upload progress end, also IE8-9
        xhr.upload.addEventListener('load', function (e) {
          if (e.lengthComputable) {
            e.config = config;
            notifyProgress(getNotifyEvent(e));
          }
        }, false);
      };
    };

Hi again!
I've added example at https://jsfiddle.net/alexedu/4na60fpd/
Please have a look at it

Fixed at version 8.0.4


Whitelist of images to be imported

We should allow a list of images to be imported, so not all images get imported under all circumstances.
Specifically, we for example might be only interested in loading the pause container on the workers without having to load velum, salt-minion, salt-api, salt-master... So in this context we could run container-feeder sles12/pause and only the images provided in this list would be imported.

As the container-feeder is started from a service, maybe we could solve it with a drop-in unit, or maybe with some configuration file (ie, /etc/container-feeder/images)...

I would not invest more resources into container-feeder. Once we have the SUSE registry in place the images will be automatically pulled by kubernetes based on the manifest files loaded on the node.


[Documentation] Combining OTA provider on Linux with OTA requestor on esp32

Documentation issues
Documentation on Testing the OTA Requestor / Provider on Linux / ESP32 would be helpful
I have tried the following but OTA does not appear to be working for me.
##Terminal 1 (running esp2 ota requestor app)
cd connectedhomeip/examples/ota-requestor-app/esp32
idf.py menuconfig #here I set the wifi access point ssid and password
idf.py build
idf.py -p /dev/ttyUSB1 flash monitor

##Terminal 2 (running the linux OTA provider)
I create an ota image from the esp32 lighting app and start the linux OTA provider
./src/app/ota_image_tool.py create -v 0xDEAD -p 0xBEEF -vn 1 -vs "1.0" -da sha256 examples/lighting-app/esp32/build/ota_data_initial.bin /tmp/esp2-image.bin
./src/app/ota_image_tool.py show /tmp/esp2-image.bin
out/chip-ota-provider-app --discriminator 22 --secured-device-port 5565 --KVS /tmp/chip_kvs_provider --filepath /tmp/esp2-image.bin

##Terminal 3 (running the chip tool OTA commands)
I join the esp32 OTA-requestor to the fabric and then I join the OTA-provider to the same fabric
I set the appropriate ACL on the OTA provider
I then initiate the sw update on the OTA requestor
examples/chip-tool/out/debug/chip-tool pairing onnetwork-long 0x1234567890 20202021 3840
examples/chip-tool/out/debug/chip-tool pairing onnetwork-long 0xDEADBEEF 20202021 22
examples/chip-tool/out/debug/chip-tool accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": null, "targets": [{"cluster": 41, "endpoint": null, "deviceType": null}]}]' 0xDEADBEEF 0
examples/chip-tool/out/debug/chip-tool otasoftwareupdaterequestor announce-ota-provider 0xDEADBEEF 0 0 0 0x1234567890 0

This results in
OTA Provider receiveing QueryImage
Generating an updateToken
Generating an URI: bdx://00000000DEADBEEF//tmp/esp2-image.bin
Sending the response message
However, the esp32 ota-requestor app receives a response but does not show any logging for updating the image or compatible software version
chip[DMG]: Received Command Response Data, Endpoint=0 Cluster=0x0000_0029 Command=0x0000_0001
echo-devicecallbacks: PostAttributeChangeCallback - Cluster ID: '0x0000_002A', EndPoint ID: '0x00', Attribute ID: '0x0000_0002'
echo-devicecallbacks: Unhandled cluster ID: 0x0000_002A

### Platform

esp32, other, core (please add to version below)

### Anything else?

_No response_

Closed. Got it working using chip-repl

The above steps generally look right. @carol-apple @jmartinez-silabs could you take a look, please?


Typing becomes unusably slow

VSCode Version: 1.18
OS Version: Win10

Steps to Reproduce:

Use VS Code for editing.

Bug: When editing, the CPU usage of Code.exe on 1 thread goes to 100% and typing becomes unusably slow. I have to restart VS Code to fix it, but then then later it starts to repro again. This only started reproing in the past day or so. Pressing enter on a line takes 3 seconds or so to process, i.e. editing becomes unusable. I used the Toggle Developer Tools to capture a performance snapshot, but it completely froze after interacting with the UI so I had to terminate Code. It said most of the processing was in Scripting. The screenshot shows me just pressing the Enter button once. Let me know if there's a better way to diagnose what is going wrong.

Reproduces without extensions: Yes

Can you save the profile and upload it?

How do I save the performance profile info? I was searching for a way to save the performance info when the entire UI permanently froze (the screenshot is of the frozen UI) and I had to restart it.

I think you can right click on the UI and use "save profile"

It didn't repro today with 1.18.1. Maybe it's fixed? You can close this and I could re-activate if I get another repro.

@sean-mcmanus @roblourens  Here is how to do a CPU profile and save it:

To get a CPU profile of the renderer process:

Run F1 > Toggle Developer Tools
Go to the three dots burger menu
Choose More Tools > JavaScript Profiler
Start a new CPU profile
Do the actions that lead to slowness
Save the CPU profile to a file and attach it


roadmapping

@todo
milestone1

[x] datdot#4 2019.08.23-2019.08.24 | p2p hosting jam :-)
[x] datdot#8 spec: write down p2p hosting idea
[x] add more todo's :D
[x] get access to the underlying hypercores of the archive (to get the root)
[x] figure out why @polkadot/api doesn't work properly
[x] datdot#9 spec: summarize idea to prepare for grant
[x] datdot#7 spec: apply & submit for web3 foundation grant
[x] build/assemble team
[x] datdot#10 spec: refine datdot specification
[x] datdot#11 spec: formalize datdot specification
[x] datdot#12 2019.10.15 | email thread with @okdistribute
[x] datdot#5 2019.10.14,2019.10.16 | osaka datdot jam
[x] datdot#26 2019.10.21 | video call with @okdistribute and @RangerMauve from the datproject
[x] datdot#13 2019.10.29 | video call with @RangerMauve
[x] datdot#19 spec: summarize current spec
[x] datdot#20 spec: formalize summary spec of datdot
[x] datdot#21 spec: prepare spec after merge of grant pull request
[x] datdot#15 2019.12.06-12:00pm UTC-0 | play partner meeting
[x] datdot#18 2019.12.26-12:00pm UTC-0 | play partner meeting
[x] datdot#17 2020.01.07-12:00pm UTC-0 | play partner meeting
[x] datdot#3 2020.01.14-12:00pm UTC-0 | weekly partner meeting
[x] datdot#25 2020.01.21-08:00pm UTC-0 | weekly partner meeting
[x] datdot#27 2020.02.04-08:00pm UTC-0 | next datdot sync
[x] datdot#28 2020.02.11-08:00pm UTC-0 | datdot sync
[x] choose logo

inspiration1
inspiration2
inspiration3

[x] datdot#30 2020.02.18-08:00pm UTC-0 | datdot sync
[x] datdot#31 2020.02.25-08:00pm UTC-0 | datdot sync
[x] datdot#36 2020.02.27-17:00pm UTC-0 | dat comm comm call
[x] datdot#35 2020.03.03-06:00am UTC-0 | datdot sync
[x] datdot#42 2020.03.10-19:00Z (=UTC-0) | datdot sync | CANCELED
[x] datdot#43 2020.03.17-19:00Z (=UTC-0) | datdot sync
[x] datdot-research#9 2020.03.23-08:00am | consult with mafintosh
[x] datdot#44 2020.03.24-19:00Z (=UTC-0) | datdot sync
[x] datdot#46 2020.03.31-19:00Z (=UTC-0) | datdot sync
[x] datdot#47 2020.04.07-19:00Z (=UTC-0) | datdot sync
[x] datdot#48 2020.04.14-19:00Z (=UTC-0) | datdot sync
[x] datdot#50 2020.04.21-19:00Z (=UTC-0) | datdot sync
[x] datdot#49 2020.04.28-19:00Z (=UTC-0) | datdot sync
[x] clean up repos a bit and bring issues up2date and relate them
[x] datdot#51 2020.05.05-19:00Z (=UTC-0) | datdot sync
[x] datdot#55 2020.05.12-19:00Z (=UTC-0) | datdot sync
[x] datdot#61 2020.05.19-19:00Z (=UTC-0) | datdot sync
[x] datdot#62 2020.05.26-19:00Z (=UTC-0) | datdot sync
[x]  datdot#63 2020.06.02-19:00Z (=UTC-0) | datdot sync
[x] datdot#64 2020.06.09-19:00Z (=UTC-0) | datdot sync
[x] datdot#65 2020.06.16-19:00Z (=UTC-0) | datdot sync
[ ] datdot#22 spec: make presentable spec after public w3f wave4 announcement
[ ] close datdot-node-rust#12 What is this? after posting link to latest specification in datdot-research
[ ] create milestones and issues for 3 months from the [datdot concept]
[ ] transition as many of our hackmd's into github repo readmes and/or issues
[ ] update our sequence diagram and combine it with the substrate API you have written down and with the brotli encoding will all put it into a first draft of some kind of official "specification" which i will add to the datdot-research repo
[ ] datdot#16 specify datdot api
[ ] datdot#38 iframe api
[ ] update project description in readme by linking to the latest specification in datdot-research
[ ] datdot#34 plan datdot presentation event
(https://hackmd.io/@serapath/BkAx8J8cH#/) and assign tasks to team members
[ ] datdot#14 package datdot in docker app
[ ] datdot#24 encoding compatible hypercores
[ ] datdot#32 post project updates
[ ] datdot#29 web3 grant status updates

[ ] datdot-research#1 roadmapping
[ ] datdot-chain#1 roadmapping
[ ] datdot-service#1 roadmapping

[ ] datdot#45 overflow funding model
[ ] datdot#52 package manager
[ ] datdot#59 datdot-os

[ ] datdot#41 datdot default apps

[ ] datdot#69 multichain management
[ ] datdot#53 idea for printing swag/stickers
[ ] datdot#37 2020.Q3.?? | dat consortium call
[ ] datdot#23 user feedback and community channels
[ ] use changelog of like playproject-io/roadmapping

[ ] finalized/implemented spec versions
[ ] in progress/next spec version
[ ] future/backlog spec version

[ ] datdot-research#5 ensure quality of datdot service

milestone2
...
milestone3
...
backlog

[ ] datdot-tcir#1 roadmapping

[x] milestone1

[x] datdot#4 2019.08.23-2019.08.24 | p2p hosting jam :-)
[x] datdot#8 spec: write down p2p hosting idea
[x] add more todo's :D
[x] get access to the underlying hypercores of the archive (to get the root)
[x] figure out why @polkadot/api doesn't work properly
[x] datdot#9 spec: summarize idea to prepare for grant
[x] datdot#7 spec: apply & submit for web3 foundation grant
[x] build/assemble team
[x] datdot#10 spec: refine datdot specification
[x] datdot#11 spec: formalize datdot specification
[x] datdot#12 2019.10.15 | email thread with @okdistribute
[x] datdot#5 2019.10.14,2019.10.16 | osaka datdot jam
[x] datdot#26 2019.10.21 | video call with @okdistribute and @RangerMauve from the datproject
[x] datdot#13 2019.10.29 | video call with @RangerMauve
[x] datdot#19 spec: summarize current spec
[x] datdot#20 spec: formalize summary spec of datdot
[x] datdot#21 spec: prepare spec after merge of grant pull request
[x] datdot#15 2019.12.06-12:00pm UTC-0 | play partner meeting
[x] datdot#18 2019.12.26-12:00pm UTC-0 | play partner meeting
[x] datdot#17 2020.01.07-12:00pm UTC-0 | play partner meeting
[x] datdot#3 2020.01.14-12:00pm UTC-0 | weekly partner meeting
[x] datdot#25 2020.01.21-08:00pm UTC-0 | weekly partner meeting
[x] datdot#27 2020.02.04-08:00pm UTC-0 | next datdot sync
[x] datdot#28 2020.02.11-08:00pm UTC-0 | datdot sync
[x] choose logo

inspiration1
inspiration2
inspiration3

[x] datdot#30 2020.02.18-08:00pm UTC-0 | datdot sync
[x] datdot#31 2020.02.25-08:00pm UTC-0 | datdot sync
[x] datdot#36 2020.02.27-17:00pm UTC-0 | dat comm comm call
[x] datdot#35 2020.03.03-06:00am UTC-0 | datdot sync
[x] datdot#42 2020.03.10-19:00Z (=UTC-0) | datdot sync | CANCELED
[x] datdot#43 2020.03.17-19:00Z (=UTC-0) | datdot sync
[x] datdot-research#9 2020.03.23-08:00am | consult with mafintosh
[x] datdot#44 2020.03.24-19:00Z (=UTC-0) | datdot sync
[x] datdot#46 2020.03.31-19:00Z (=UTC-0) | datdot sync
[x] datdot#47 2020.04.07-19:00Z (=UTC-0) | datdot sync
[x] datdot#48 2020.04.14-19:00Z (=UTC-0) | datdot sync
[x] datdot#50 2020.04.21-19:00Z (=UTC-0) | datdot sync
[x] datdot#49 2020.04.28-19:00Z (=UTC-0) | datdot sync
[x] clean up repos a bit and bring issues up2date and relate them
[x] datdot#51 2020.05.05-19:00Z (=UTC-0) | datdot sync
[x] datdot#55 2020.05.12-19:00Z (=UTC-0) | datdot sync
[x] datdot#61 2020.05.19-19:00Z (=UTC-0) | datdot sync
[x] datdot#62 2020.05.26-19:00Z (=UTC-0) | datdot sync
[x]  datdot#63 2020.06.02-19:00Z (=UTC-0) | datdot sync
[x] datdot#64 2020.06.09-19:00Z (=UTC-0) | datdot sync
[x] datdot#65 2020.06.16-19:00Z (=UTC-0) | datdot sync
[x] datdot#66 2020.08.11-19:00Z (=UTC-0) | datdot sync


Loading 300,000 graphs that doesn't fit into memory

Hi @a-r-j and thanks for your help as always!
I am trying to load ~300,000 graphein protein graphs by pickle.load (then do model.fit() with karate club), like this
import networkx as nx
from karateclub import FeatherGraph
import os
import glob
import pickle
import numpy as np
import pandas as pd

# Load
filepath_list = []

for filepath in glob.iglob('./*p'):
  filepath_list.append(filepath)

filepath_list.sort()

graph_list = []

for graph_path in filepath_list:

    # Load graph

    print("Loading...", graph_path)

    with open(graph_path, 'rb') as f:  # notice the r instead of w
        g_load = pickle.load(f)

    # Convert graph index to integer (required by karateclub)
    g_load_reindex = nx.convert_node_labels_to_integers(g_load)

    graph_list.append(g_load_reindex)

# Fit
model = FeatherGraph()
print("Fitting model...")
model.fit(graph_list)

However, the whole thing doesn't fit into memory.
Do you know a smarter way that can bridge such a huge number of protein graphs to machine learning models?
I am grateful if you can share some hints.
Thank you!

what does model.fit() do under the hood?
if it is running SGD (stochastic gradient descent) on batches of graphs, you don't need to load all graphs into memory at once. you just need to load batch by batch into memory.

Hi @johnnytam100 I had a quick look at the FeatherGraph model. It doesn't appear there are any learnable params from a cursory glance so I think you can simply load batches if your graphs into memory and compute the embeddings. You can probably parallelize it too for greater speed.
You can maybe find some inspiration from the ProteinGraphDataset class which does this (but only for the PyTorch ecosystem):
https://github.com/a-r-j/graphein/blob/e80b7d4ff47c30cab4c7a06e91c9897507f9fb7a/graphein/ml/datasets/torch_geometric_dataset.py#L478

Thank you so much for the advices!!!! 🙇🏻♂


Extractor component of Managed Cloud SDK.

Second part of the Cloud SDK manager code is the extractor with support for tar.gz and zip files.

extractor component.

@elharo, correct, needs to fixed #472


Normalize memrefs with affine_map in a function containing krnl.getref

This PR enable us to normalize memrefs with affine_map in a function containing krnl.getref .
Without this PR, memrefs in this test case are not normalized because krnl.memcpy is not normalizable operation.
To have krnl.getref normalizable, this PR adds a trait of MemRefsNormalizable.
This PR should have been included in https://github.com/onnx/onnx-mlir/pull/322
Reference: https://reviews.llvm.org/D86236

@AlexandreEichenberger Could you review this PR?


Make our notifications form input labels consistent

Note: This is not done yet, its still being worked on.
Overview
Make our form input labels consistent.
Notifications
Slack
Design Details

Change form labels to Service Type, ID, Failure Type, and Webhook URL
Remove the placeholders on ID, and failure type
Add help text to the ID field: Notification IDs are unique, permanent, and cannot be changed later.
Change the select message on failure type to Select... and give that one specific item a color of chef-dark-grey
Remove the button that is encasing the link near the webhook URL input and change that link text to Create Slack Webhook
Make sure the * in required fields is marked as aria-hidden

Screenshots
Before

After
Note: This screenshot is wrong, the failure type label should be title case.

ServiceNow
Design Details

change form labels to Service Type, ID, Failure Type, Webhook URL, ServiceNow Username and ServiceNow Password
Remove placeholder text from ID, and webhook url
Add help text to the ID field: Notification IDs are unique, permanent, and cannot be changed later.
Change the select message on failure type to Select... and give that one specific item a color of chef-dark-grey
Remove label before the sentences about why we need ur username and password
Reduce that warning font size to 11px
Make sure the * in required fields is marked as aria-hidden

Screenshots
Before

After
Note: This screenshot is wrong, the failure type label should be title case.

WebHook
Design Details

Changle form input labels to Service Type, ID, Failure Type, and Webhook URL
Remove placeholder text from ID, and webhook url
Add help text to the ID field: Notification IDs are unique, permanent, and cannot be changed later.
Change the select message on failure type to Select... and give that one specific item a color of chef-dark-grey
Make sure the * in required fields is marked as aria-hidden

Screenshots
Before

After

Node Integrations
aws
Design Details
Screenshots
Before

After
azure
Design Details
Screenshots
Before

After
google
Design Details
Screenshots
Before

After
Node Credentials
ssh
Design Details
Screenshots
Before
After
winrm
Design Details
Screenshots
Before
After
sudo
Design Details
Screenshots
Before
After

this work has been deprioritized.


Indexer Erroring out with Duplicate Entries for Production Build

Hi,
We are trying to run data processing pipeline in Production mode.
Everything seems to be running alright, however, when we check Production Logs, we continue to see following,
indexer_1      | [2021-02-11T21:23:52.46329294Z]: job:bootstrap event:dbr.exec time:1746 μs kvs:[sql:INSERT INTO `address_chain` (`address`,`chain_id`,`created_at`) VALUES ('JYecDLqzKt7DUtrmLXnuk55k2o561AjW7','11111111111111111111111111111111LpoYY','2020-09-10 00:00:00.000000')]
indexer_1      | [2021-02-11T21:23:52.465773084Z]: job:bootstrap event:dbr.exec.exec err:Error 1062: Duplicate entry 'VD4KE3To81AfgGR4RGNooLhR49vRXt3UbWmzskgDuUn27isyK-JYecDLqzKt7DUt' for key 'avm_output_addresses.avm_output_addresses_output_id_addr' kvs:[sql:INSERT INTO `avm_output_addresses` (`output_id`,`address`,`created_at`) VALUES ('VD4KE3To81AfgGR4RGNooLhR49vRXt3UbWmzskgDuUn27isyK','JYecDLqzKt7DUtrmLXnuk55k2o561AjW7','2020-09-10 00:00:00.000000')]
indexer_1      | [2021-02-11T21:23:52.465882991Z]: job:bootstrap event:dbr.exec time:2 ms kvs:[sql:INSERT INTO `avm_output_addresses` (`output_id`,`address`,`created_at`) VALUES ('VD4KE3To81AfgGR4RGNooLhR49vRXt3UbWmzskgDuUn27isyK','JYecDLqzKt7DUtrmLXnuk55k2o561AjW7','2020-09-10 00:00:00.000000')]
indexer_1      | [2021-02-11T21:23:52.466110647Z]: job:bootstrap event:dbr.exec time:3 ms kvs:[sql:INSERT INTO `avm_output_addresses` (`output_id`,`address`,`created_at`) VALUES ('VD4KE3To81AfgGR4RGNooLhR49vRXt3UbWmzskgDuUn27isyK','JYecDLqzKt7DUtrmLXnuk55k2o561AjW7','2020-09-10 00:00:00.000000')]
indexer_1      | [2021-02-11T21:23:52.469401347Z]: job:bootstrap event:dbr.exec.exec err:Error 1062: Duplicate entry '2urSTLvfPC1GpRBvprQvgt4VTB2HJUrxA7iTSW7aFYWSxobN1A' for key 'avm_outputs.PRIMARY' kvs:[sql:INSERT INTO `avm_outputs` (`id`,`chain_id`,`transaction_id`,`output_index`,`asset_id`,`output_type`,`amount`,`locktime`,`threshold`,`group_id`,`payload`,`stake_locktime`,`stake`,`frozen`,`created_at`) VALUES ('2urSTLvfPC1GpRBvprQvgt4VTB2HJUrxA7iTSW7aFYWSxobN1A','11111111111111111111111111111111LpoYY','2k7yszSgGEw25wbK7DApfg9A181NysrTjN245YviqRCWZHcujs',126,'FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z',7,1642588235294,0,1,0,?,1638576000,1,0,'2020-09-10 00:00:00.000000')]
indexer_1      | [2021-02-11T21:23:52.469488256Z]: job:bootstrap event:dbr.exec time:3 ms kvs:[sql:INSERT INTO `avm_outputs` (`id`,`chain_id`,`transaction_id`,`output_index`,`asset_id`,`output_type`,`amount`,`locktime`,`threshold`,`group_id`,`payload`,`stake_locktime`,`stake`,`frozen`,`created_at`) VALUES ('2urSTLvfPC1GpRBvprQvgt4VTB2HJUrxA7iTSW7aFYWSxobN1A','11111111111111111111111111111111LpoYY','2k7yszSgGEw25wbK7DApfg9A181NysrTjN245YviqRCWZHcujs',126,'FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z',7,1642588235294,0,1,0,?,1638576000,1,0,'2020-09-10 00:00:00.000000')]
indexer_1      | [2021-02-11T21:23:52.469850122Z]: job:bootstrap event:dbr.exec time:3 ms kvs:[sql:INSERT INTO `avm_outputs` (`id`,`chain_id`,`transaction_id`,`output_index`,`asset_id`,`output_type`,`amount`,`locktime`,`threshold`,`group_id`,`payload`,`stake_locktime`,`stake`,`frozen`,`created_at`) VALUES ('2urSTLvfPC1GpRBvprQvgt4VTB2HJUrxA7iTSW7aFYWSxobN1A','11111111111111111111111111111111LpoYY','2k7yszSgGEw25wbK7DApfg9A181NysrTjN245YviqRCWZHcujs',126,'FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z',7,1642588235294,0,1,0,?,1638576000,1,0,'2020-09-10 00:00:00.000000')]

The containers are freshly started with MySQL having no data.
Can someone please point us what we are doing wrong?

The message: Error 1062: Duplicate entry -- is not an actual error.

The message: Error 1062: Duplicate entry -- is not an actual error.

Thank you @tasinco for your response. But when we query the indexer around that time, we always get 0,
curl "http://localhost:8080/v2/aggregates?startTime=2020-09-21T00:00:00Z&endTime=2020-10-21T00:00:00Z"

{
  "aggregates": {
    "startTime": "2020-09-21T00:00:00Z",
    "endTime": "2020-10-21T00:00:00Z",
    "transactionVolume": "0",
    "transactionCount": 0,
    "addressCount": 0,
    "outputCount": 0,
    "assetCount": 0
  },
  "startTime": "2020-09-21T00:00:00Z",
  "endTime": "2020-10-21T00:00:00Z"
}

The message: Error 1062: Duplicate entry -- is not an actual error.

There is no data after 2020-09-10 00:00:00.000000 and thats the date in the error too. Can you please suggest whats the issue?

start time is inclusive end time is not..
remove endtime or increase it into the future..

start time is inclusive end time is not..
remove endtime or increase it into the future..

Even if we try without the endTime, we don't get any results after 2020-09-10T00:00:00Z
Please have a look,
[root@ip-172-31-27-19 ~]# curl "http://localhost:8080/v2/aggregates?startTime=2020-09-10T00:00:00Z"
{"aggregates":{"startTime":"2020-09-10T00:00:00Z","endTime":"2021-02-11T22:08:40Z","transactionVolume":"359999999999990210","transactionCount":77,"addressCount":4936,"outputCount":38844,"assetCount":1},"startTime":"2020-09-10T00:00:00Z","endTime":"2021-02-11T22:08:40Z"}

[root@ip-172-31-27-19 ~]#
[root@ip-172-31-27-19 ~]#
[root@ip-172-31-27-19 ~]#
[root@ip-172-31-27-19 ~]# curl "http://localhost:8080/v2/aggregates?startTime=2020-09-11T00:00:00Z"

{"aggregates":{"startTime":"2020-09-11T00:00:00Z","endTime":"2021-02-11T22:08:52Z","transactionVolume":"0","transactionCount":0,"addressCount":0,"outputCount":0,"assetCount":0},"startTime":"2020-09-11T00:00:00Z","endTime":"2021-02-11T22:08:52Z"}
[root@ip-172-31-27-19 ~]#

The duplicate row was not inserted..   The first row that did insert set the timestamp.  You would need the timestamp of the first row.  This is still not an issue.

The duplicate row was not inserted.. The first row that did insert set the timestamp. You would need the timestamp of the first row. This is still not an issue.

Thank you @tasinco for your response. I can totally understand what you are saying that duplicate rows were not inserted. I am confused to understand that why the subsequent rows are not inserted either? The ones after the duplicated row, and how can I resume inserting the rows?

Subsequent non duplicated rows will be inserted..  It is possible that you have not had any new rows added possibly because the node is still bootstrapping.
You can query the db to check what rows were added.

Let the team at GitHub fix your issues asap

You can review: https://github.com/ava-labs/ortelius/blob/master/docs/production.md <- on how to setup ortelius.


added getCurrentPosition on iOS and Android

For issue #138 creating this PR. This requirement is already discussed.  Its a simple implementation with changes done in 3 files.
I have testing them both in android and iOS and works fine without any issue. Very similar to #195 .
Please lemme know if i should do anything with respect to this.
Cheers,
Venkat.

Thanks a lot, @hariom08 !


Unable to stepup the theme on local system.

After following the documentation, I am unable to use the command bash tools/init  in the https://chirpy.cotes.page/posts/getting-started/#option-1-using-the-chirpy-starter
Getting errors while running

bash tools/init

➤ bash tools/init
bash: tools/init: No such file or directory

bundle

➤ bundle
Fetching gem metadata from https://rubygems.org/...........
Resolving dependencies...
Using bundler 2.4.12
Using rexml 3.2.5
Bundler::PermissionError: There was an error while trying to write to `/usr/lib/ruby/gems/3.0.0/cache`. It is likely that you
need to grant write permissions for that path.
  /usr/lib/ruby/3.0.0/bundler/shared_helpers.rb:105:in `rescue in filesystem_access'
  /usr/lib/ruby/3.0.0/bundler/shared_helpers.rb:102:in `filesystem_access'
  /usr/lib/ruby/3.0.0/bundler/source/rubygems.rb:440:in `fetch_gem'
  /usr/lib/ruby/3.0.0/bundler/source/rubygems.rb:427:in `fetch_gem_if_possible'
  /usr/lib/ruby/3.0.0/bundler/source/rubygems.rb:156:in `install'
  /usr/lib/ruby/3.0.0/bundler/installer/gem_installer.rb:54:in `install'
  /usr/lib/ruby/3.0.0/bundler/installer/gem_installer.rb:16:in `install_from_spec'
  /usr/lib/ruby/3.0.0/bundler/installer/parallel_installer.rb:156:in `do_install'
  /usr/lib/ruby/3.0.0/bundler/installer/parallel_installer.rb:147:in `block in worker_pool'
  /usr/lib/ruby/3.0.0/bundler/worker.rb:62:in `apply_func'
  /usr/lib/ruby/3.0.0/bundler/worker.rb:57:in `block in process_queue'
  /usr/lib/ruby/3.0.0/bundler/worker.rb:54:in `loop'
  /usr/lib/ruby/3.0.0/bundler/worker.rb:54:in `process_queue'
  /usr/lib/ruby/3.0.0/bundler/worker.rb:90:in `block (2 levels) in create_threads'

An error occurred while installing public_suffix (5.0.1), and Bundler cannot continue.

In Gemfile:
  html-proofer was resolved to 3.19.4, which depends on
    addressable was resolved to 2.8.4, which depends on
      public_suffix

Bundler::PermissionError: There was an error while trying to write to `/usr/lib/ruby/gems/3.0.0/cache`. It is likely that you
need to grant write permissions for that path.
  /usr/lib/ruby/3.0.0/bundler/shared_helpers.rb:105:in `rescue in filesystem_access'
  /usr/lib/ruby/3.0.0/bundler/shared_helpers.rb:102:in `filesystem_access'
  /usr/lib/ruby/3.0.0/bundler/source/rubygems.rb:440:in `fetch_gem'
  /usr/lib/ruby/3.0.0/bundler/source/rubygems.rb:427:in `fetch_gem_if_possible'
  /usr/lib/ruby/3.0.0/bundler/source/rubygems.rb:156:in `install'
  /usr/lib/ruby/3.0.0/bundler/installer/gem_installer.rb:54:in `install'
  /usr/lib/ruby/3.0.0/bundler/installer/gem_installer.rb:16:in `install_from_spec'
  /usr/lib/ruby/3.0.0/bundler/installer/parallel_installer.rb:156:in `do_install'
  /usr/lib/ruby/3.0.0/bundler/installer/parallel_installer.rb:147:in `block in worker_pool'
  /usr/lib/ruby/3.0.0/bundler/worker.rb:62:in `apply_func'
  /usr/lib/ruby/3.0.0/bundler/worker.rb:57:in `block in process_queue'
  /usr/lib/ruby/3.0.0/bundler/worker.rb:54:in `loop'
  /usr/lib/ruby/3.0.0/bundler/worker.rb:54:in `process_queue'
  /usr/lib/ruby/3.0.0/bundler/worker.rb:90:in `block (2 levels) in create_threads'

An error occurred while installing colorator (1.1.0), and Bundler cannot continue.

In Gemfile:
  jekyll-theme-chirpy was resolved to 6.0.1, which depends on
    jekyll-archives was resolved to 2.2.1, which depends on
      jekyll was resolved to 4.3.2, which depends on
        colorator

Bundler::PermissionError: There was an error while trying to write to `/usr/lib/ruby/gems/3.0.0/cache`. It is likely that you
need to grant write permissions for that path.
  /usr/lib/ruby/3.0.0/bundler/shared_helpers.rb:105:in `rescue in filesystem_access'
  /usr/lib/ruby/3.0.0/bundler/shared_helpers.rb:102:in `filesystem_access'
  /usr/lib/ruby/3.0.0/bundler/source/rubygems.rb:440:in `fetch_gem'
  /usr/lib/ruby/3.0.0/bundler/source/rubygems.rb:427:in `fetch_gem_if_possible'
  /usr/lib/ruby/3.0.0/bundler/source/rubygems.rb:156:in `install'
  /usr/lib/ruby/3.0.0/bundler/installer/gem_installer.rb:54:in `install'
  /usr/lib/ruby/3.0.0/bundler/installer/gem_installer.rb:16:in `install_from_spec'
  /usr/lib/ruby/3.0.0/bundler/installer/parallel_installer.rb:156:in `do_install'
  /usr/lib/ruby/3.0.0/bundler/installer/parallel_installer.rb:147:in `block in worker_pool'
  /usr/lib/ruby/3.0.0/bundler/worker.rb:62:in `apply_func'
  /usr/lib/ruby/3.0.0/bundler/worker.rb:57:in `block in process_queue'
  /usr/lib/ruby/3.0.0/bundler/worker.rb:54:in `loop'
  /usr/lib/ruby/3.0.0/bundler/worker.rb:54:in `process_queue'
  /usr/lib/ruby/3.0.0/bundler/worker.rb:90:in `block (2 levels) in create_threads'

An error occurred while installing concurrent-ruby (1.2.2), and Bundler cannot continue.

In Gemfile:
  jekyll-theme-chirpy was resolved to 6.0.1, which depends on
    jekyll-archives was resolved to 2.2.1, which depends on
      jekyll was resolved to 4.3.2, which depends on
        i18n was resolved to 1.14.1, which depends on
          concurrent-ruby

Bundler::PermissionError: There was an error while trying to write to `/usr/lib/ruby/gems/3.0.0/cache`. It is likely that you
need to grant write permissions for that path.
  /usr/lib/ruby/3.0.0/bundler/shared_helpers.rb:105:in `rescue in filesystem_access'
  /usr/lib/ruby/3.0.0/bundler/shared_helpers.rb:102:in `filesystem_access'
  /usr/lib/ruby/3.0.0/bundler/source/rubygems.rb:440:in `fetch_gem'
  /usr/lib/ruby/3.0.0/bundler/source/rubygems.rb:427:in `fetch_gem_if_possible'
  /usr/lib/ruby/3.0.0/bundler/source/rubygems.rb:156:in `install'
  /usr/lib/ruby/3.0.0/bundler/installer/gem_installer.rb:54:in `install'
  /usr/lib/ruby/3.0.0/bundler/installer/gem_installer.rb:16:in `install_from_spec'
  /usr/lib/ruby/3.0.0/bundler/installer/parallel_installer.rb:156:in `do_install'
  /usr/lib/ruby/3.0.0/bundler/installer/parallel_installer.rb:147:in `block in worker_pool'
  /usr/lib/ruby/3.0.0/bundler/worker.rb:62:in `apply_func'
  /usr/lib/ruby/3.0.0/bundler/worker.rb:57:in `block in process_queue'
  /usr/lib/ruby/3.0.0/bundler/worker.rb:54:in `loop'
  /usr/lib/ruby/3.0.0/bundler/worker.rb:54:in `process_queue'
  /usr/lib/ruby/3.0.0/bundler/worker.rb:90:in `block (2 levels) in create_threads'

An error occurred while installing http_parser.rb (0.8.0), and Bundler cannot continue.

In Gemfile:
  jekyll-theme-chirpy was resolved to 6.0.1, which depends on
    jekyll-archives was resolved to 2.2.1, which depends on
      jekyll was resolved to 4.3.2, which depends on
        em-websocket was resolved to 0.5.3, which depends on
          http_parser.rb

Bundler::PermissionError: There was an error while trying to write to `/usr/lib/ruby/gems/3.0.0/cache`. It is likely that you
need to grant write permissions for that path.
  /usr/lib/ruby/3.0.0/bundler/shared_helpers.rb:105:in `rescue in filesystem_access'
  /usr/lib/ruby/3.0.0/bundler/shared_helpers.rb:102:in `filesystem_access'
  /usr/lib/ruby/3.0.0/bundler/source/rubygems.rb:440:in `fetch_gem'
  /usr/lib/ruby/3.0.0/bundler/source/rubygems.rb:427:in `fetch_gem_if_possible'
  /usr/lib/ruby/3.0.0/bundler/source/rubygems.rb:156:in `install'
  /usr/lib/ruby/3.0.0/bundler/installer/gem_installer.rb:54:in `install'
  /usr/lib/ruby/3.0.0/bundler/installer/gem_installer.rb:16:in `install_from_spec'
  /usr/lib/ruby/3.0.0/bundler/installer/parallel_installer.rb:156:in `do_install'
  /usr/lib/ruby/3.0.0/bundler/installer/parallel_installer.rb:147:in `block in worker_pool'
  /usr/lib/ruby/3.0.0/bundler/worker.rb:62:in `apply_func'
  /usr/lib/ruby/3.0.0/bundler/worker.rb:57:in `block in process_queue'
  /usr/lib/ruby/3.0.0/bundler/worker.rb:54:in `loop'
  /usr/lib/ruby/3.0.0/bundler/worker.rb:54:in `process_queue'
  /usr/lib/ruby/3.0.0/bundler/worker.rb:90:in `block (2 levels) in create_threads'

An error occurred while installing ffi (1.15.5), and Bundler cannot continue.

In Gemfile:
  html-proofer was resolved to 3.19.4, which depends on
    typhoeus was resolved to 1.4.0, which depends on
      ethon was resolved to 0.16.0, which depends on
        ffi

Please help me out...

Solved this issue with changing the default location of the $BUNDLE_PATH to a writable location i.e
export BUNDLE_PATH=~/.gems

and after that running the command
bundle

or
bundle install


Date sorting in species list

The selected species in the specialist observations is not sorted adequately.

check if the dateTime field is filled accordingly in all onservations user, location and species


Issue #127 - Respect SQL Servers Parameter Limit

Changes

The batch_size parameter is now max_batch_size in the macro sqlserver__basic_load_csv_rows()
The macro calc_batch_size() will now return the max_batch_size if it won't exceed SQL Server's parameter limit. Otherwise it returns the maximum size that can run without erroring.

The AzureSQL test failed with an error message suggesting that the test harness is at fault.
Get Token request returned http error: 401 and server response: {"error":"user_password_expired","error_description":"AADSTS50055: The password is expired.\r\nTrace ID: 76d52eea-678e-4005-b537-99184ed16301\r\nCorrelation ID: fa068f34-9802-472c-af90-3c8acc7474d8\r\nTimestamp: 2021-07-15 02:45:34Z","error_codes":[50055],"timestamp":"2021-07-15 02:45:34Z","trace_id":"76d52eea-678e-4005-b537-99184ed16301","correlation_id":"fa068f34-9802-472c-af90-3c8acc7474d8","error_uri":"https://login.microsoftonline.com/error?code=50055","suberror":"user_password_expired","password_change_url":"https://portal.microsoftonline.com/ChangePassword.aspx"}

@dbt-msft/dbt-sqlserver-core Any chance we can get the credentials updated for Azure?

@dbt-msft/dbt-sqlserver-core Any chance we can get the credentials updated for Azure?

done!

@jacobm001 thanks for closing out #127 for us. You'll have made @hz-lschick's day I'm sure.
The logic is great -- my only comment is that currently this won't affect end users, unless they are working off this adapter directly and modify the 200 below to be a bigger number.
{% macro sqlserver__load_csv_rows(model, agate_table) %}
  {{ return(sqlserver__basic_load_csv_rows(model, 200, agate_table) )}}
{% endmacro %}

I propose doing two things:

making the batch_size argument passed to sqlserver__basic_load_csv_rows to be a variable with a default batch size. This would allow users to increase the batch size if they wish in their dbt_project.yml

{% macro sqlserver__load_csv_rows(model, agate_table) %}
  {% set max_batch_size = var("max_batch_size", 200) %}
  {{ return(sqlserver__basic_load_csv_rows(model, max_batch_size, agate_table) )}}
{% endmacro %}

# dbt_project.yml
vars:
  max_batch_size: 400  # or whatever they want?

Perhaps we increase the default max_batch_size to be a number greater than 200 because your new logic will fix things anyway?

I agree. I actually left it this way because I thought we might want to make this available to users, but wasn't sure how the rest of the team felt about it. I've added the logic and set the default to 400 as suggested.

Sorry for the last final push. I realized that now this is configurable we needed some documentation.

@jacobm001 no worries! My last ask is that you edit the CHANGELOG.md to reference this change. I'm going to publish a pre-release version of v0.20.0 later today. If you can get the changelog updated, I can get this change into the pre-release (and thus also into v0.20.0)

@swanderz: I think it makes more sense to merge this in and then have you make the alteration to the changelog in the 0.20.0 PR you have going. There's no way for me to edit the changelog without creating a conflict... I could merge your branch into mine, but that feels rather messy...
Happy to write you the text here if that helps.

@swanderz: I think it makes more sense to merge this in and then have you make the alteration to the changelog in the 0.20.0 PR you have going. There's no way for me to edit the changelog without creating a conflict... I could merge your branch into mine, but that feels rather messy...
Happy to write you the text here if that helps.

I'll handle to weirdness -- don't worry! just make your changes in this branch, and I'll handle it after. Thanks again for your contribution -- glad to have us all on the same "team" now.


version depending action in install script "data-install-2.0.0.php"

you have an action which depends on the version of magento.
Possible Problem: I install this module on an older Magento Version, and update Magento later. Now this code does not get executed.
(Only a guess, I did not review more to see if this is handled somewhere else too (which would be duplicated code?))

@Flyingmana
Let me explain why.
That install script populates some config values.
They represent the js code executed after the main image and media blocks are changed when you select a different combination of attributes.
in a default install of this extension, that code re-initializes the zoom functionality for the images
I had to take this approach because Magento changed the the theme and image zoomer in version 1.9.
So version before 1.9 use the default config values and 1.9+ versions use the values from the install script.
You are right, If you install this extension on 1.8, then upgrad to 1.9 you will have to manually change the config values.
I had no other idea on how to handle this. I'm opened to suggestions.
On the other hand, if you upgrade from 1.8 to 1.9, I'm sure that this will be one of the smallest issues you can have. :smile:

We try to keep the number of possible Issues small for the update^^
this will not affect us but I think its worth to note, as others could really run into this as a problem

I will close this for now since I have no idea on how to tackle this in an other way.


Mention both ACME and LE in documentation

What does this PR do?
This PR update the title of the documentation page related to ACME/Let's Encrypt configuration.
Motivation
There are still a lot of newcomer users who don't know ACME and LEt's encrypt.
We want the documentation to be clear enough for them.
More

~[ ] Added/updated tests~
[x] Added/updated documentation

Additional Notes

Right, but then we should adapt to stay coherent:

The page URL is https://docs.traefik.io/v2.0/https/acme/ => It says "ACME".
The title of the page is currently "Let's Encrypt" (in the page and on the table of content" => It says "Let's Encrypt".
The page starts with You can configure Traefik to use an ACME provider (like Let's Encrypt) for automatic certificate generation. => It clearly explains that Let's Encrypt is using the ACME protocol.
The first configuration example says "enable" ACME.

So it is not clear if the page is about ACME or Let's Encrypt.
By setting the title to "ACME /" first, the goal is to make it clear that it's about ACME,
considering that Let's Encrypt is an ACME implementation.
Alternatively, we could ensure that this page is about ACME protocol only, and add another page which demonstrates how to use Traefik and Let's Encrypt together as an applied use case.

As discussed together: we are closing this issue, as this subject will be worked on as soon as the next ACME provider other than Let's Encrypt will be tested and documented in Traefik.


Use google-github-actions/auth to authenticate against Google Cloud in CI/CD

fixes #903
As reported in #903, the functionality of the google-github-actions/gcloud-setup action changed such that authenticating using service account keys was being deprecated and the google-github-actions/auth action should be used instead. This PR adds in the step to authenticate to GCP using the google-github-actions/auth action in our deploy-hubs.yaml and deploy-grafana-dashboards.yaml workflow files. A few other minor changes come with this PR also:

Versions of the google-github-actions/auth and google-github-actions/gcloud-setup actions have been pinned to the latest version releases. Updating these versions will be handled by dependabot.
An extra "decision" step has been added to the deploy-hubs.yaml workflow to shorten if statements and improve readability
Some unnecessary path triggers were removed from deploy-hubs.yaml also: config/secrets.yaml no longer exists, and dev-requirements.txt does not contain packages required for deployment

Follow-up PR: https://github.com/2i2c-org/infrastructure/pull/1060

I'm going to revert this PR and #1060 until we figure out what's happening as GCP clusters can no longer be deployed


 It is always run 45 to 50 queries on every page. So if my form contains many fields then the page takes too much time to load. So how I resolve this problem. Any cache mechanism can I implement?
Steps To Reproduce
Steps to reproduce the behavior:

Install Laravel Debugbar
Go to Navigate to different pages.
Click on debugger icon(Bottom Left)
See error

Screenshots
Screenshot

@yasir-pasha, Yes, it's possible to reduce the duplicate queries, but I don't think the DB queries are the source of your problem.  If you look at the screenshot, near the top-right of debugbar, it lists 217.35ms as the cumulative time taken to run the database queries.

Closing due to inactivity


Client node is not added to the reserved_peers list

When client node is created using --enable-client looks like it is not added to the reserved_peers list. If --reserved-only option is passed it results in nodes not seeing each other.
I don't quite understand why client node is not set as reserved. Is there some reasoning for it?

@0x7CFE yes as the client only needs to connect to the authorities rather than needing the authorities connect to it. Agreed? Can this be closed?


Autolabel issues

Today Symfony added a template to issues similar to the PR template. See a random example here of the template in action: https://github.com/symfony/symfony/issues/20901
So we can now autolabel issues as "Bug", "Feature", etc.

I think the issue you are referring to is symfony/symfony#20295.

@xabbuh in fact I linked to a random issue that uses the new template ... but your issue may be a better reference because it's the original PR that added the template 👍

Closing because we no longer use a strict template for issues. We now use GitHub templates (https://blog.github.com/2016-02-17-issue-and-pull-request-templates/, https://blog.github.com/2018-05-02-issue-template-improvements/).


add favicon

something like this on the top left of the browser, I got the picture from here https://github.com/pspdev.png

Done

Great, thanks!