DRfC not working in AWS 'opt in' regions

AWS has a list of original regions which are all enabled by default, and then a list of 'opt-in' regions which a user must enable.  Some of these opt-in regions have good prices for spot instances and therefore it's desirable to be able to use them.
It appears that DRFC doesn't work in AWS 'opt in regions', RLCoach image exits: -

The suggestion from my research is this is because for opt-in regions the region must be specified when making a request, even to S3, and I assume it isn't in the docker containers today, hence above error.
I tested on an Ubuntu linux machine, first request you can see fails, second request with region specified works: -

Perhaps this could be solved by adding this to the early part of the docker image when running on AWS, becuase this will set the region and then doesn't require you to set it with each command?: -
export AWS_DEFAULT_REGION=$(curl http://<IP_ADDRESS>/latest/meta-data/placement/region)
this would then set the region to the region the instance is running in having queried the metadata service.

I tried fixing it the simple way in DRfC's docker file. Can you check if this is sufficient? (app_region branch)
The DR_AWS_APP_REGION must be set in system.env

Tested successfully, as long as you set AWS_DEFAULT_REGION=eu-south-1 in your terminal window (else some fo the dr-* commands don't work).
Screenshot of running training in Milan: -

Reopened.  As discussed Lars dr-download-custom-files doesn't work without the region being set in the terminal.  I imagine other commands that need to interact with the S3 bucket from within the terminal rather than the docker image would also have the same issue.

@MarkRoss-Eviden - added the environment variable; could you test now.

Tested in Milan (one of the opt in regions) with setting DR_AWS_APP_REGION=eu-south-1 in system.env.
Works great so ready to merge @larsll : -
dr-start-training


External trigger not working

We have an external trigger on the digital input P_0 and we have selected EXT_PE as TRIGGER_SRC.
The IN1_DATA_MONITOR also receives data, but in about 1 second intervals, although the trigger
rate is 10 Hz.
I can't really get a clear picture of the problem. When I remove the trigger, no more data arrives.
But "camonitor DIGITAL_P0_STATE_STATUS”  always shows "High”.

I think this was just a matter of setting the correct PVs in the correct order. If so, please close, otherwise let me know.

Yes, exactly. Thank you for your support.


Adding scaling animation to currently dragging item

Hi, firstly thank you for the great library.
I was wondering if you have any prescribed method of adding scaling animations to an element while being dragged. The :active css selector has been great for the other stylings, but since transformation stylings conflict with the internal stylings for the drag itself, I was wondering if it's possible for me to implement this as well in some other way.
Thanks.

I took a closer look at the examples and see that you already provided an example for this. I added a wrapper styled component to act as the draggable component and applied scaling to the actual component inside. Sorry for raising this unnecessarily.


IPQualityScore IP lookup

This PR adds support for IP lookups via IPQualityScore, a full-featured service with comprehensive IP reputation data.

This looks great! There are some failing tests, though. Could you take a look at them? For attributes not supplied by the API (eg, state_code), the standard behavior is to return the most relevant piece of data (eg, state full name). This behavior probably isn't ideal, but we need to maintain it for consistent behavior across all APIs.

Thanks! Sure, no problem, though can you be more specific about which test failures you're seeing? I've only been testing test/unit/lookups/ipqualityscore_test.rb (which all passes for me) as I've not been able to get the full test suite to run, and when I exclude the test files that break the full suite for me, I see 1 failure and 14 errors across many unrelated tests files.
Relatedly, is the Travis CI integration broken? That would help a lot, if it could be coaxed back to life?

Scratch that, I've managed to get the full suite to run now and can see a bunch of grumbles about a missing ipqualityscore_madison_square_garden fixture file. Will fix.

There you go, full suite now green.

Looks good. Thanks!


Update non-thread-safe data on the main thread

For global maps which are currently used from the main thread
we should make sure that during capturing they are updated on
the main thread as well, to avoid undefined behavior.

This change moves updates of capture data to the main thread.
It also introduces OnCaptureStarted and OnCaptureComplete
callbacks to the listener.

This will have big performance implication and slow down the application quite a bit when streaming in timers. It's always been the goal to process timers and events as fast as possible without blocking the main thread. Through the use of the blockchain data structure, which never migrates elements, a worker thread can append timers while the rendering/main thread displays them without locking.  We are talking 100K timers per second here, scheduling each of them individually seems overkill to me.

Since we are using global variables to store capture data, we should make sure that access to that data is happening on the single thread.

I don't see how the presence of global variables entails the single threaded approach. Also, I think we should move away from globals.

I agree that we need to move away from globals, but this is much larger scope - I am currently trying to fix races in capture process.
For context: CaptureStarted/Complete are introduced to start solving races around Capture::State in order to do that I am moving lifecycle inside CaptureClient and this is the first step for this process.
I moved thread-safe operations back to capture thread, this requires CaptureStarted to block the capture thread until initialization is done on the main thread. ptal.

sorry, I had to force-push this - ptal.

Hi Dimitry, LGTM, thanks for getting rid of the scheduling of address_infos. The only thing is that callstack_event argument being passed by value and incurring one extra move. Let's discuss it offline.

Submitted this one, created #945 as a foolow up, we can continue discussion there.


Writing gleam

I think this broke a couple links in https://gleam.run/documentation/.

The Writing Gleam bullet doesn't have a link
The Getting started goes to https://gleam.run//writing-gleam/ (maybe that's intentional , but weird two /)

Thank you


Cloudflare Domain Renewal

The engineering domain is renewing, but it is billed to the corporate card of an employee who is no longer with us. This ticket has me tracking down new billing info and securing that renewal.

[!WARNING]
Blocking engineering issue 80.

We have updated the billing information and have access to the relevant domain.


HTTPS connections

Once I have an ASP.NET app both working with Azure Dev Spaces and deploying to AKS with Azure Devops Pipelines, how do I enforce an HTTPS connection rather than HTTP on port 80? Many thanks.

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

ID: 25b96907-35cf-ff1f-d7ad-a231aa78418b
Version Independent ID: 620e59a0-5658-9a05-c177-8d0687656e2a
Content: Kubernetes tools tutorial - Visual Studio
Content Source: docs/containers/tutorial-kubernetes-tools.md
Product: visual-studio-windows
Technology: vs-azure
GitHub Login: @ghogen
Microsoft Alias: ghogen

I'm not sure the suggested scenario makes sense - why not use port 443 for HTTPS connections.  Typically, port 80 is used for HTTP and 443 for HTTPS connections.  @simonziegler can you clarify?

Closing - because the docs already use HTTPS in most scenarios, but on port 443 which is how the Dockerfile is set up.  I don't think it makes sense to use port 80 instead of port 443 for HTTPS.


btcpay to v1.12.3, lowercase certthumbprint

follow up on #4334
Addressing the warn:
warn: Configuration:  Setting BTC.lightning is a deprecated format (type=lnd-rest;server=https://<IP_ADDRESS>:8080/;macaroonfilepath=/home/btcpay/admin.macaroon;certthumbprint=9B:5.................), it will work now, but please replace it for future versions with 'type=lnd-rest;server=https://<IP_ADDRESS>:8080/;macaroonfilepath=/home/btcpay/admin.macaroon;certthumbprint=9b5.............'

Tested ok.


Is it possible to define two VaultTemplate in the same application?

Hello,
we wonder if there could be an issue in the way SpringVault configures vaultTemplate.
In the same Spring-boot based application, we would like to have two distinct VaultTemplate instances that target distinct Vault servers with distinct role/secret identifiers.
What we expect.
Before issuing its first request to Vault, the SessionManager logs in to Vault.
So we should see:

request to log in into Vault
first request to Vault
second request to Vault
etc

This sequences of calls should be repeated for every Vault server instance.
What we notice.
There is only one login call (nb: to server1).
Which means that the other VaultTemplate has never logs in, so every subsequent calls fails miserably with a 403 response.
What we suspect.
The AbstractVaultConfiguration is more or less reused. It's perhaps due to the conjunction of "@Configuration", "@Bean" inside the AbstractVaultConfiguration class.
What do you think about this issue?
Our configuration code for server1 (which is duplicated/adapted for server2):
@Configuration
public class VaultServer1Config extends AbstractVaultConfiguration {

    @Value("${vault.server1.url}")
    private String vaultUrl;

    @Value("${vault.server1.provisioning.role-id}")
    private String vaultProvisioningRoleId;

    @Value("${vault.server1.provisioning.secret-id}")
    private String vaultProvisioningSecretId;

    @Override
    @Bean(name = "vaultTemplateServer1")
    public VaultTemplate vaultTemplate() {
        return super.vaultTemplate();
    }

    @Override
    public VaultEndpoint vaultEndpoint() {
        try {
            return VaultEndpoint.from(new URI(vaultUrl));
        } catch (URISyntaxException e) {
            throw new IllegalArgumentException(e.getMessage(), e);
        }
    }

    @Override
    public ClientAuthentication clientAuthentication() {
        AppRoleAuthenticationOptions options = AppRoleAuthenticationOptions
                .builder()
                .path("approle")
                .roleId(AppRoleAuthenticationOptions.RoleId.provided(vaultProvisioningRoleId))
                .secretId(AppRoleAuthenticationOptions.SecretId.provided(vaultProvisioningSecretId))
                .build();

        return new AppRoleAuthentication(options, restOperations());
    }
}

Spring's Abstract…Configuration classes support the typical use-case in which a single endpoint is used with a single configuration object graph (client, session manager, template).
You can configure as many beans as you like but then you can no longer benefit from the AbstractVaultConfiguration infrastructure. Adding multiple beans interferes with bean resolution unless primary beans are declared as @Primary. That being said, you need to declare and wire the SessionManager and VaultTemplate beans in your own configuration.

thanks for clarifying that AbstractVaultConfiguration supports the typical use-case and not all possible use cases. This is not quite clear in documentation.


OMG!!! this is epic, how do I define the root as my entire vault

OMG OMG, been waiting for such a plug in for ages!!
thank so much for taking the time to implement this :)
I can define as a root any subfolder in my vault but how does one define my entire vault as root, it gives me an error it dosent exist
here is my vault structure

thx so much for making my weekend!
Z

Are dendron icon in ribbon bar exist?

yes it does. and I can add a specific folder , ie define my tech folder and it works!

but how does one define the root level as the vault ie

thx so much again
Z

You can set "Vault Path" in "Dendron Tree Settings" to blank string in order to set vault directory to obsidian root directory.  However, if you do that, notes in subdirectory are not added into tree. This behaviour is also occurred in Dendron Visual Studio Code plugin.
To solve this issue we can add all subdirectory as vault. However, currently this plugin does not support multivault. I will implement this feature soon when i have free time.

Newer version of Dendron Tree is released. This release bring support for multi vault. I hope this will fix this issue.

amazing! works like a charm :)
thx so much for your epic work!
Z


about inference time(FPS)?

How do you test the speed of different segmentation models, sometimes, I am a little confused about the speed of some papers description？

I am confused too. i just run model 100 times, batch size is 1, then average them.

I am confused tooo.

Despite the doubts, but some project released the fps test script, such as ShelfNet, CGNet for our research...

And most of the articles report an average of 100 frames for the frames per second (FPS) measurement, this test method may be mostly deployed...


KAFKA-10199: Enable state updater by default

We have already enabled the state updater by default once. However, we ran into issues that forced us to disable it again. We think that we fixed those issues. So we want to enable the state updater again by default.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Merged to trunk and cherry-picked to 3.8


debug panic left in p2p discovery ping code

Overview / Motivation
there's a panic left there in the ping.go file. we should remove it before releasing anything :)
The Task
TODO: Clearly describe the issue requirements here...
Implementation Notes
TODO: Add links to relevant resources, specs, related issues, etc...
Contribution Guidelines
Important: Issue assignment to developers will be by the order of their application and proficiency level according to the tasks complexity. We will not assign tasks to developers who haven't introduced themselves on our Gitter dev channel

Introduce yourself on go-spacemesh dev chat channel - ask our team any question you may have about this task
Fork branch develop to your own repo and work in your repo
You must document all methods, enums and types with godoc comments
You must write go unit tests for all types and methods when submitting a component, and integration tests if you submit a feature
When ready for code review, submit a PR from your repo back to branch develop
Attach relevant issue to PR

done


Change url in favor of the re_path

Changing the URL deprecated method for the re_path method.
#441

Thanks a lot!


Which WYSIWYG editor is used in the project?

This issue is raised in https://forum.groupdocs.com/t/recommended-client-side-editor/7852
Hello,
Can you please tell which which WYSIWYG editor is used in this project? One of the customer tried two types of WYSIWYG editors summernote and trumbowyg. Both give malformed HTML. So, please tell the exact editor used.
Thanks

Hi, @atirtahirgroupdocs in this project we use our own simple WYSIWYG editor based on contenteditable. I believe that GroupDocs.Editor works with any WYSIWYG editor, however, I think that customer might have better luck with https://ckeditor.com/.


WIP: test Jenkins status

Will we have access to the jenkins output?

@duglin Yes of course! I had changed the name of the Jenkins job so they disappeared here, but just go to https://service-catalog-jenkins.appspot.com and you can see the jobs, though everything's currently just being tested out.

Going to change this to skip the walkthrough for now and do unit/integration tests, closing for the time being.


Exec tachikoma update<PHONE_NUMBER>4709

:hamster::hamster::hamster:   Strategy none
Powered by Interval Pull Request as a Service - Tachikoma.io Announcement: 2015-06-28 Updated permissions - Tachikoma.io

Coverage remained the same at 67.647% when pulling 317b57303e19c0daefb3892793abd953e71230eb on pazjacket:tachikoma/update-20180515214709 into ec251e61adc687ae0589e5283f1773ece07521c0 on sanemat:master.

Coverage remained the same at 67.647% when pulling 317b57303e19c0daefb3892793abd953e71230eb on pazjacket:tachikoma/update-20180515214709 into ec251e61adc687ae0589e5283f1773ece07521c0 on sanemat:master.


to_tuple() accepts list

As per issue https://github.com/albu/albumentations/issues/90

fixes #90 thanks!!


Symbols search

This PR inroduces feature of asciimath symbol searching mentioned in #11.
I've parsed the symbols from asciimath-parser library. It adds plugin command called "Insert AsciiMath symbol", which opens search window:

After pressing enter, plugin will insert selected symbol. This can be attached to hotkey, I've landed on Ctrl + M (for Math)
Possible improvements:

Add 3rd array member for the symbol which will be the description, also mentioned in #11.

There are some suggestions that still contain symbols like $2, and I think it is a little weird.
Would it be better to generate such a template:
<asciimath>
<LaTeX_template_with_placeholders>
<render_$1_as_"a"_and_$2_as_"b">

There are some other syntax sugar such as ppfx and ddfx, and we can customize the rendered element.

I'm not sure I completely understand what you are trying to say 😓
Why not just find& replace?
But anyways, I can send a JSON file with $1 & $2 in it so you can try your ideas

I have replaced the json file in my local workspace. I will merge it into the main branch so that you can preview the changes.

Unfortunately, I don't have time right now, I'll check it in approx 8 hours :(
But based on what I see on the screenshot, it's very nice! Thank you!

I'm thinking about adding parameters to the ASCIIMath variation when its placed.
So instead of root it'll be root a b. It think it's more intuitive for the user.

Yes, I'll add the "placeholder" for some symbols, such as \xlongequal, root, limits and so on.

Looks good!

I'm wondering which is better, a, b or $1, $2?

Definitely a and b, dollar ones look like some cryptic syntax


buildah export can not export to STDOUT

[root@fedora tmp]# buildah export  -h
NAME:
   buildah export - Export container's filesystem contents as a tar archive

USAGE:
   buildah export [command options] CONTAINER

DESCRIPTION:
   This command exports the full or shortened container ID or container name to
   STDOUT and should be redirected to a tar file.

OPTIONS:
   --output value, -o value  write to a file, instead of STDOUT

[root@fedora tmp]# buildah export  nginx-working-container-5
ERRO[0000] Refusing to save to a terminal. Use the -o flag or redirect.

This is by design, matches docker export
buildah export nginx-working-container-5 > /tmp/nginx.tar
Should work.  BTW I am thinking of removing export support and leaving this to kpod.  I dropped the patch set to add kpod import.

Understanding it now. Should I close the issue or leave it to you decision is making.

Yes I can close it.


Question: Master to replica

This question might only be somewhat related to the orchestrator itself and it's most likely due to my lack of understanding on building a MySQL cluster. Also it's quite difficult to find straight answer for my question so it must be that my assumptions are fundamentally wrong yet I just want to make sure they really are.
So for test purposes I wanted to create a M -> S -> S topology. I started up 4 "plain" mysql docker containers on the same machine (ports 3307, 3308 and 3309 as well as the "control" (backend) server for orchestrator (3306).

Orchestrator says, no way, these are 3 masters and I'm going to put them into three separate clusters where the first two are going to be named ip:portand the last one is going to be aliased foobar (which is OK, I saw an issue on GH but can't find it now, where it was explained why only 1 out of 3 servers here are going to be aliased and it'll always be the latest one discovered that matches the key condition)
Now I'd like to say, yes I know they are all masters and I want you to take 3308 and 3309 and make them 3307's slaves and again, put them into single cluster.
But.. it doesn't look like this kind of flow is supported as I can't find a command/API endpoint for this purpose? It only allows me to work on existing replicas in the same cluster. Orchestrator wants 3308 and 3309 to already be slaves or am I misreading something?
To shed some more light on my case — I have very little (nearly no) experience with DBA and I wanted to avoid (for starters) any "control" queries that I  have to issue directly to the servers such as setting master, checking gtids, mapping binlogs and whatnot. I just wanted to spin up a server (which by default will always be a master on it's first run) and tell it: forget about your tables, your history and your legacy — you are now becoming a replica of 3307, and I wanted orchestrator to take care of this.
Is there any reference in the docs that I recklessly missed or it wasn't there because that's totally not how replications in mysql works and I'm missing plain basics here?
Thanks

forget about your tables, your history and your legacy — you are now becoming a replica of 3307

@mike-code , yeah, this is exactly the kind of thing orchestrator does not do, unfortunately for you. "stock" orchestrator observers topologies, and can fix failures, but it infers relationships from the state of the topologies.
To elaborate a bit, MySQL doesn't have a concept of a "replication cluster". Servers in a replication topology are just servers that happen to replicate from each other. There's no cluster "entity" in MySQL.  If there's a replicaiton chain, orchestrator analyzes it, can refactor it; it can tell that "ok, these servers belong together until I'm told otherwise".
But it will not:

Decide that two servers belong together if they were never in touch in the first place
Touch your data in any way (orchestrator shouldn't have access to your data). It will not drop tables.

Your question comes at interesting timing because just last week @sougou demonstrated an integration of orchestrator and Vitess. Now, Vitess does exactly those things you wanted: it knows that some servers belong together. It knows_ it should aggregate them together. It knows how they should interact. The orchestrator integration is on a neverending task of making the topology look like what Vitess wants it to look like. If there's "stranded" servers, it will connect them to what it thinks should be the master. It will make replication work. It will ensure all but the master are read-only. etc. etc. etc. See the webinar here: https://youtu.be/JVHi2oN3lxM
Now, I'm not sure if you plan to install Vitess on top of your servers. And for disclosure I now work for PlanetScale, the maintainers of Vitess. The idea, though, is that Vitess will take care of your database infrastructure for you. Right now admittedly setting up vitess has its own toil -- but potentially check it out. https://vitess.io/docs/

Wow that's an exhaustive reply
It looks very promising although the entry curve seems to be quite steep for my use case, or maybe that's just first impression. I don't (yet) need scalability, just a failover system with possibility to easily create new replicas, assign them to an existing "cluster" and/or detach replica from a cluster to become a master of a new "cluster" on it's own -- things like that. I'll study the Vitess docs and try to find something there. Thanks! :)


Computing derived data from props?

Is there a more generic solution that dosen't have to use redux state?
my use case:
http://stackoverflow.com/questions/41139938/efficiently-computing-derived-data-from-react-props

Reselect is generalized enough to work with any parameters you pass it. Doesn't have to be Redux state.


Add web hooks to custom speech sample

Purpose

Showing usage of web hooks for custom speech

Pull Request Type
Adding sample code
[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

//

what is that? Tab at the end

Refers to: samples/batch/csharp/batchclient/failedhttpclientrequestexception.cs:1 in 440768a. [](commit_id = 440768a8032ad2bda5f64143468233ae495096f4, deletion_comment = False)

C# Example Azure function to receive notification (web hook callbacks) from Custom Speech Services

If this is the information to setup webhooks in the sample, I would expect this in the README file of the solution. People usually do not look into readme inside projects.

Refers to: samples/batch/csharp/webhookreceiver/READMEmd.txt:1 in 440768a. [](commit_id = 440768a8032ad2bda5f64143468233ae495096f4, deletion_comment = False)

C# Example Azure function to receive notification (web hook callbacks) from Custom Speech Services

should the file name be "README.md" or "README.txt"?

Refers to: samples/batch/csharp/webhookreceiver/READMEmd.txt:1 in 440768a. [](commit_id = 440768a8032ad2bda5f64143468233ae495096f4, deletion_comment = False)


[Proposal] Helm requirements.yaml could use aliased repositories

Is your feature request related to a problem? Please describe
It's a feature request since it's not blocking us but it takes this deployment out of our desire workflow.
The Helm requirements.yaml is using hardcoded URLs to fetch child charts but we want to use our proxy cache system this could be Nexus, Artifactory, Harbor, CharMuseum,...
Describe the solution you'd like
Helm requirements.yaml support named repositories instead (@stable)
In this way, we can define which is the upstream for @stable. This will be a security improvement for use since we are in control of where the charts come from
The requirements.yaml would look like this
dependencies:
  - name: mysql
    version: 0.15.0
    repository: "@stable"
    condition: mysql.enabled
  - name: postgresql
    version: 3.11.7
    repository: "@stable"
    condition: postgresql.enabled
  - name: rabbitmq
    version: 4.3.1
    repository: "@stable"
    condition: rabbitmq.enabled
  - name: redis
    version: 6.1.4
    repository: "@stable"
    condition: redis.enabled

Describe alternatives you've considered
Additional context

Hello @carlosjgp .
If the repo name is not in the requirements.yaml file, how does helm know where to pick it up?
Is it working with dependencies in Chart.yaml too? in helm 3, the dependencies are now in Chart.yaml (although dependencies in requirements.yaml are still supported too).
Actually i'm wondering if we should maintain the helm 2 syntax or switch everything to helm 3. Are you using helm 3? For now I think helm 2 syntax works with helm 3 but i don't know for how long, and it may induce issues.
For what I can tell, upgrading to  non helm 2 compliant configuration includes:

moving the dependencies to Chart.yaml
upgrading apiVersion to v2 in Chart.yaml

Thanks!

Hi @ptrovatelli ,
Let me answer section by section

If the repo name is not in the requirements.yaml file, how does helm know where to pick it up?

It will fail saying that the repo stable can't be found.
Using @stable and @incubator are pretty safe bets since are the recommended (used on Helm documentation) names for the official Google/K8s/Helm upstreams.
I could understand any reservations on making this change but as far as is documented and it doesn't deviate from the mainstream the flexibility is worth the change.

Is it working with dependencies in Chart.yaml too? in helm 3, the dependencies are now in Chart.yaml (although dependencies in requirements.yaml are still supported too).

Yes. This change is Helm 2 (apiVersion: v1) and Helm 3 (apiVersion: v2, and v1) compatible

Actually i'm wondering if we should maintain the helm 2 syntax or switch everything to helm 3. Are you using helm 3? For now I think helm 2 syntax works with helm 3 but i don't know for how long, and it may induce issues.

I'd recommend to do so, add the field apiVersion: v1 to make it compatible with Helm 3 client but fully migrate to apiVersion: v2 yet since there are few popular tools for GitOps that might not have catch up with the new client release (eg: ArgoCD, the one I'm using at work)
By the way on the helm/charts repo there is a Deprecation timeline so this will need to be changed again

For what I can tell, upgrading to non helm 2 compliant configuration includes...

You are correct. Change API version to v2 and copy and paste the dependencies block from the requirements.yaml
If you use Helm 3 and just change the API version to v2 and run helm dep update (or helm dep build I can't remember) it will do the work for you
Thanks for reviewing my request!

PR raised!

fixed by https://github.com/DefectDojo/django-DefectDojo/pull/1867


Add support for parsing ValueTuple

This would allow writing simple compound expressions (e.g. (Math.Sin(it), Math.Cos(it))) without having to generate a new type.

Hello @glopesdev ,
Could you give us a runnable example just to make sure we check exactly what you need
Best Regards,
Jon

Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Entity Framework Classic • Bulk Operations •  Dapper Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function • SQL Eval Function

Thanks @JonathanMagnan . The example in the question is runnable, but it might not be immediately obvious given the simplicity. Here is a complete example using LINQ-To-Objects:
from x in Enumerable.Range(0, 4)
let theta = x * Math.PI / 2
select (Math.Sin(theta), Math.Cos(theta));

This would probably require extending the parser to handle the evaluation of parenthesized expressions. If the expression inside the parentheses is a comma-separated list, then it would be translated to a call to ValueTuple.Create.
There might be other complications, specifically handling tuple deconstruction syntax and structured equality so I think it's fine marking this as a long-term issue.

We will look at it.
Perharp in the first version, we will try if we can support something like this:
Select("Tuple(Math.Sin(theta), Math.Cos(theta))"))

So the keyword Tuple will help to let us know how to manage value without Field

Hello @glopesdev ,
We looked at this feature but unfortunately, it will be currently too hard to add it.
The way ValueTuple work and alias name are under the hood modified to Item1, Item2 by the compiler, and even more, the way it works when the ValueTuple have more than 7 parameters make everything a little bit too much complex for the time we have.
Our other library (C# Eval Expression) already supports Tuple but doesn't support yet ValueTuple either.
So using this library, you can use syntax like this one:
var c = Eval.Execute("Tuple.Create(1,8)");

But I'm not sure if that will help you to achieve what you want.
So in short, we cannot currently make it happens in this library ;(


DB import command not working without cert_digest under ca_certificates in declarative config

Is there an existing issue for this?

[X] I have searched the existing issues

Kong version ($ kong version)
3.4
Current Behavior
_format_version: '3.0'
_transform: false
ca_certificates:
  - id: 85a67812-678c-5fe5-9ff1-60af91f31b4b
    cert: |
      -----BEGIN CERTIFICATE-----
      ...
      -----END CERTIFICATE-----

Output of kong config db_import:
parse successful, beginning import
Error: Failed importing:
[postgres] primary key violation on key '{id="85a67812-678c-5fe5-9ff1-60af91f31b4b"}'

  Run with --v (verbose) or --vv (debug) for more details

The error message was misleading as the database didn't have any records in the ca_certificates table. However, logging on the database revealed the underlying issue:
ERROR:  null value in column "cert_digest" of relation "ca_certificates" violates not-null constraint
DETAIL:  Failing row contains (85a67812-678c-5fe5-9ff1-60af91f31b4b, 2023-11-28 13:42:58+00, -----BEGIN CERTIFICATE-----
2023-11-28 14:42:58    ..., null, null, 2023-11-28 13:42:58+00).

As a workaround, it's possible to add the "cert_digest" key to the CA certificate, however that is not consistent with the API for which cert_digest is optional and also the DB-less mode which works fine without that key.
Expected Behavior
I expect the db_import command to allow ca_certificates without mentioning cert_digest.
This should either store it in database with a null value (and handle that properly afterwards) or generate a digest on the fly when importing ( as already the case in the API I believe - see https://github.com/Kong/kong/blob/3.4.0/kong/db/schema/entities/ca_certificates.lua#L32 )
Steps To Reproduce
No response
Anything else?
No response

Internal ticket: KAG-3280


Add version number somewhere in the app

I would like to be able to see what version of VoTT I am using somewhere in the app. Specifically, I am talking about the release version that I downloaded and installed.  Like a little "About" menu item that many software have.

Related to #298, #297, #296 :)

Vote to close this .. didnt mention the close in original PR version and updating the PR with close doesnt seem to work afterwards.


Can't get characteristics list of a service

I want to get all characteristics list of a service. Every time I get empty characteristics array. I have used following ways to get characteristics list:

`service.discoverCharacteristics(null, function(error, characteristics) {
      });`

service.once('characteristicsDiscover', (characteristics)=>{      });    service.discoverCharacteristics();

Both of these approaches do not work.

It is solved by setting minSdkVersion to 21 for Android.

Cool that you found a solution! Here the solution was to search for specific characteristics by supplying the uuid.

@nielsswinkels I'm having the same issue even though the minSdkVersion is set to 21.


Assets minification

On my minification branch I'm working on a mechanism (mostly borrowed from Symphony 3) to only have one file for all the CSS and one file for all the JS. This is what I've already achieved:

All JS files are currently condensed into admin-scripts.js which is placed inside manifest/cache.
All CSS files are currently condensed into admin-styles.css which is placed inside manifest/cache.
A new setting is available called minify_assets that turns on/off the whole minification mechanism.
A new setting is available called minified_assets_use_cache that, if set to yes, uses the already existing minified files instead of recreating them on each refresh.
The update/install changes have been already applied.

Please note that I had to exclude manifest/cache from the security rules in .htaccess, otherwise the server wouldn't be able to read the minified files. I'm more than happy to revert that if we find a better place for them!
The future plan is to develop a new delegate that allows developer to add more files from their extension directories to be minified.
(Moreover, it would be a good idea to develop an extension that, once the minification is completed, compress the files and serves them gzipped or simply without spaces, tabs, etc.)
Any opinions/advices?

I think this is a really important addition to the Symphony 2 codebase that will really improve the performance of the backend on slow hosts.

(Moreover, it would be a good idea to develop an extension that, once the minification is completed, compress the files and serves them gzipped or simply without spaces, tabs, etc.)

This is a really nice idea to add compression via extensions – we don't have to bloat the core with an external library but if compression is needed it can be added on top of the core. I like it.

Regarding the security rules. .htaccess rules contain there own magic and I don't know enough about it, but wouldn't one of the following things be possible instead of just exclude the rules:

keep the rules for manifest/cache but allow access to admin-scripts.js and admin-styles.css,
keep the rules for manifest/cache but allow access from the /symphony folder.

Another thing: what about adding a timestamp to files used in the backend to make sure browsers update their cache when the assets were updated. Something like /manifest/cache/admin-scripts.js?time=123455678.
Or maybe the Symphony version number, e. g. /manifest/cache/admin-script.js?version=2.3.0.

Very nice addition. A couple of thoughts:

Would it not be better (as in awesome) if this could be developed in an extension providing asset minification/combination for both the front-end as the back-end admin? Not sure if that's practical/possible but optimizing the back-end admin is (obviously) only half the win :)
How would this work with scripts/styles added by extensions?
A final point re: Nils' suggestion of using a timestamp. Current best practice is to not use a query string (foo.js?123) but add the timestamp to the file name (foo.123.js) as URL's with a query string are not cached in some instances

Personally I'm against integrating on-the-fly minification in the core.
Please take into consideration that there is no need for the Symphony back-end to have on-the-fly minification. The release package is created using a script that can provide all required minifications prior to packaging.
Those using Git clones and front-end javascript / CSS should create a build script for their site that can bring it from development to production with all required optimization.

Personally I'm against integrating on-the-fly minification in the core.

I'm afraid I concur. I worry that this will make debugging a lot more difficult. Have large numbers of HTTP requests been a problem (given that the backend's lack of images means the number of requests is likely far lower than most public web pages).

@remie - I was not thinking clearly because actually, I agree… These optimizations should be done during build-time.

Have large numbers of HTTP requests been a problem

Yes, we've had a lot of trouble on different popular shared hosts here in Germany.
I really like the idea of on the fly minification because we are flooding the backend with different asset files. We already have a long list of core file and just check the source when you added just a few extensions (think of subsections that are doubling the number of requests). If minification is done on the fly (with caching of course) all assets (provided by core and extensions) can be merged (and not just the core assets that could be merged manually when releasing a version).
This feature here comes with a setting to turn it on and off so I don't think this should cause any trouble while debugging.
Beside assets calls to the translation function (via AJAX) are a massive problem.
So for me this is a quite essential feature to keep the backend responsive for our clients.

I really like the idea of on the fly minification because we are flooding the backend with different asset files

I'm not against minification. I'm just saying that with an off-the-shelve product like Symphony, one can best achieve this during build time. There is no need to do this runtime. Why would you want to take the performance hit on the server?
There is no doubt that there are times when on-the-fly minification is useful, so I do encourage extension developers to create this for those in need, but I don't see merit in adding this feature to the core.

I'm not against minification. I'm just saying that with an off-the-shelve product like Symphony, one can best achieve this during build time. There is no need to do this runtime. Why would you want to take the performance hit on the server?

Some thoughts:

The backend is not a real website, thus is not subject to many visits except for a few people. From this point of view, it's not a real performance hit too, because we would also use some sort of a caching mechanism.
While I respect the idea of having build scripts that automatically minify all the files, I think that this is not always the most comfortable solution for everyone.
Virtually every extension has got at least one asset file. If your website uses 40 extensions, this means dozens of extra assets to load = dozens of HTTP requests.

I think it's really important to do that in the core and provide a new delegate that is able to replace all the addStylesheetToHead and addScriptToHead calls, so that all the assets can be minified into two files even when extensions are present.

The backend is not a real website, thus is not subject to many visits except for a few people.

I think this is also an argument against minification, right? Wouldn't HTTP requests no longer be an issue once it's browser cached? Minification is an important thing for the frontend because unique visits are high and repeat visits are low which is the opposite for the backend.
Even if Symphony has 40 or so extensions, only a selection of them (ones that are interface enhancement types) would have assets, right?
I feel we're adding more code to solve a problem that I'm not really sure is all that much of a problem.

I think this is also an argument against minification, right? Wouldn't HTTP requests no longer be an issue once it's browser cached?

Right, as long as it's the browser cache it's not a problem. I didn't think of this side of the coin.

I feel we're adding more code to solve a problem that I'm not really sure is all that much of a problem.

Sorry, I saw that in the Symphony 3 repo and thought it was a good idea for Symphony 2.

I am super appreciative that there are now more brains and eyes on the codebase. The system formerly-known-as Symphony 3 lacked that and I feel having a group of contributors whose skill and expertise I value certainly benefits the project going forward.
The minification implementation on Symphony 3 was my idea and that was one of the things that could have benefited from more critical thinking from my peers.

From memory S3 only minified the javascript that Symphony provided, not extension javascript, so IMO it would make sense to cache it using the method @davidhund suggested as the files wouldn't change unless Symphony was updated.
I think what would be more/equally beneficial would be appending Javascript lower in the DOM order and making proper use of window/dom ready.
Would it be fair to say that this is a nice to have and can be discussed/debated for a 2.3.x release?
We have much to do :)


feat(cloud-sql/postgres): update to V2 sample

Update region tags
Update DB_HOST env. variable to be INSTANCE_HOST
Add INSTANCE_UNIX_SOCKET env. variable

Looking good! Do we want to try to add a functions sample for Ruby? it'll be hard to integrate the two samples together since this one uses Rails.

Changes LGTM. I'll go through the CI logs and if it looks like all the failures are unrelated, I'll admin-hammer this through.


Get hits for the query

Is it possible to get the hits that the query has yielded?
If I run a run a query against ES using curl for example then a value for the total hits is returned, which is different from the size value.
When using Doctrine Search I only get the results, is there a way to get the hit value?  I have looked through the code and have not seen anything obvious.
Thanks, Russell

Apologies I have worked out how to do this using the Search Manager query.


Add transitive reference to PlatformAbstractions

Hey @ryanbrandenburg, can you explain why this is needed and also why it is not in release?

It's needed because PlatformAbstractions was removed as a transitive dependency from a couple of packages that these packages depend on, and it's causing the CoreCLR gate to fail.
As for being in some branches but not in others, we noticed a problem when I pushed to release, someone had force pushed and @pranavkm lost some commits. He's working on it now and I'll take things back into dev when he's got that all resolved.

@pranavkm already merged this in for me.

@pranavkm already merged this in for me.


[move prover]integrate lifetime analysis into bytecode translator

Motivation
This PR integrates the result of lifetime analysis into bytecode to boogie translator.
At the end of each bytecode instruction, we query the analysis result to see if any mutable references become 'dead' at that point. If so, we check that the invariants on the structs/resources these references point to still hold after the mutation is done.
Have you read the Contributing Guidelines on pull requests?
Yes.
Test Plan
Added a test file verify-lifetime.mvir.
Related PRs
https://github.com/libra/libra/pull/2664

@DavidLDill @wrwg @shazqadeer @cbarrettfb

@bors-libra r=wrwg

:pushpin: Commit a7fddae has been approved by wrwg

:hourglass: Testing commit a7fddaebbf590861e1ea83565590cb079bbb0112 with merge 3de25f733df2e46427cd27ac4aa2d284feaefeaa...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: wrwg
Pushing 3de25f733df2e46427cd27ac4aa2d284feaefeaa to master...


Rewriting of functions.md

Initial rewriting of functions.md
Writing introduction texts to each function
Expanding on examples and usage of each function
Listing out styling options and other keyword arguments of each function
Added link to themes.md for more styling options
Rewriting text for better clarity and flow
Formatting fixes in functions.md
Minor formatting fix in legends.md

Superseded by 223e5b6d9232ce1ac936df4e8327c5184b66fe67 and fd79d1fe0d0fd09a317734aac358c7b51aeade36, so closing this PR.


Extension issue

Issue Type: Bug
Extension Name: python
Extension Version: 0.2.3
OS Version: Windows_NT x64 10.0.19042
VSCode version: 1.54.3

VS Code say that miss the fileconfiguration.json.Validation.url must  be a URL ?? what is this ???
Can you help me please ?
Thanks in advance,

should be closed as duplicate of https://github.com/tht13/Python-vscode/issues/43


[DOCFIX] Fuse supports vi/vim

Modify the doc to document it support vi/vim.
Other than vi/vim, other operations which do the append, modify or override still not work.
Cp when destination file exist will file.
Append to a file will fail.
Sed to replace content in a file will fail.
Vi/Vim may just be sepcial case that it internally do create a new file, delete old file, rename the new file to old name operation combinations.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/6157/
Test FAILed.

jenkins, test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/6174/
Test PASSed.

alluxio-bot, merge this please

alluxio-bot, cherry-pick this to branch-2.0 please


Added driver service

No need to set chrome driver in path variable, service will automatically download it.
it will not through path variable error now.

please make sure to remove the pycache file before commiting

It is done now


cmd/trayscale: support showing "This device: node (IP)"

@DeedleFake do you have any outstanding issues to be resolved in this PR?

No, I think it can be merged. I'd still like to get clipboard integration, but that can be handled later. I might create an internal package to abstract things like that that can be handled by Gtk but aren't really tied to it.

Rebased :)


Investigate if we can use keywords like "opa" and "open policy agent" for marketplace search

Currently, the extension can only be found by searching for "rego". While this is alright, it's likely that some users will search for "opa" or "open policy agent" instead, and won't be able to find it, or at least not on the first attempt. We should investigate whether it's possible to add these keywords somewhere. If it isn't, let's create a feature request for that in the Zed project.

If either of these issues gets resolved then searching the extension with other keywords would work:

https://github.com/zed-industries/zed/issues/9066
https://github.com/zed-industries/zed/issues/10598 (doesn't mention search, but if tags are supported I'd imagine it wouldn't be too hard to use it for searching)

Solid research! Sounds like we can't do much about it at this point, but let's keep this open for tracking.


[Bug]: @shopify/app >=3.50.0 includes vulnerable version of express package

Please confirm that you have:

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

In which of these areas are you experiencing a problem?
App
Expected behavior
npm audit should show 0 vulnerabilities when it is finished
Actual behavior
npm audit shows vulnerabilities when it is finished
Verbose output
# npm audit report

express  <4.19.2
Severity: moderate
Express.js Open Redirect in malformed URLs - https://github.com/advisories/GHSA-rv95-896h-c2vc
fix available via `npm audit fix`
node_modules/express
  @shopify/app  <=0.0.0-nightly-20240413160158 || >=3.50.0
  Depends on vulnerable versions of express
  node_modules/@shopify/app

2 moderate severity vulnerabilities

### Reproduction steps

1. `"@shopify/app": "^3"` in your package.json dependencies<EMAIL_ADDRESS>was latest at the time of bug report)
2. run `npm update`
3. see error

### Operating System

All

### Shopify CLI version (check your project's `package.json` if you're not sure)

3.59.0

### Shell

zsh

### Node version (run `node -v` if you're not sure)

v21.6.1

### What language and version are you using in your application?

_No response_

Thanks @darrynten -- we'll be making that upgrade shortly.


bazel/README.md references "envoy-static.stripped.stamped" which doesn't exist

Title: bazel/README.md references envoy-static.stripped.stamped which doesn't exist
Description:
From the instructions for building a Release Build at https://github.com/envoyproxy/envoy/blame/master/bazel/README.md#L333 :

bazel --bazelrc=/dev/null build -c opt //source/exe:envoy-static.stripped.stamped

But when I run this I get:
ERROR: no such target '//source/exe:envoy-static.stripped.stamped': target 'envoy-static.stripped.stamped' not declared in package 'source/exe' defined by /jenkins/src/envoy/source/exe/BUILD

From https://github.com/envoyproxy/envoy/blob/master/ci/do_ci.sh#L17, looks like the correct instructions for a release build are to build //source/exe:envoy-static (line 20), then run strip on the resulting binary (line 32)?
Please confirm and I'm happy to update the README with corrected instructions. Thanks!

I think this was in https://github.com/envoyproxy/envoy/pull/3021, @jmillikin-stripe can probably provide the insight. Yeah, I think a doc fix is the right thing here.

Yes, the docs are out of date -- //source/exe:envoy-static.stripped is the correct path. You can append .stripped to any C++ binary target to get a stripped output, no need to strip manually.


Add Chocolatey packaging back

It seems like choco v0.10.16-beta fixed whatever broke with v0.10.15.

Are you sure its worth maintaining Chocolatey at this point?  It almost seems like fwup should just download the fwup.exe version if it detects its in WSL

What do you mean? I thought Chocolatey was the package manager for Windows.

Its a third party service, and has not reached widespread adoption.  WSL2 eliminates alot of need for it, and Microsoft has announced their own competitor (https://github.com/microsoft/winget-cli).   Also fwup.exe is standalone so its probably overkill packaging it up.
WSL2 is able to run .exe's directly from the Linux Filesystem, so we might consider just downloading the fwup.exe to ~/.fwup/ and invoke it if we need it.  I don't think there is anyone who uses it directly on Windows so it shouldn't break anyone.  They can always directly download fwup.exe as well if they need it.

fwup can't download anything so we'd have to add a script along side it. That seems pretty sketchy, imho, for a script to download a .exe file and run it.
I'd just point out that one of the purposes of using a package manager is to simplify update checks. On non-Windows platforms, fwup comes with a man page and helper scripts, so it's not really one .exe file. I think that given historic constraints on Windows that no one has bothered including the other files.
As for winget, I'm fine switching to it. I'm not sure what's involved. I think that either you or someone else from the community should manage it, though. I'm fine supporting issues, but I just don't have time to keep up to date with whatever the preferred methods are for people using a platform that I don't regularly use.

That is a good point.  Another option is to create a fwup-wsl package and have it contain fwup-wsl.exe.
I don't know what the right solution is.  Each fwup package on Chocolately has only been downloaded ~200 times, so this is a lot of effort for something that really isn't used much.  That said WSL2 will probably increase the demand for it, we just need to figure out a better way to package it.

I'm not sure what to do with the popularity of fwup on Windows. The current Chocolately package is old, so I would suspect that some people have figured that out and ignored it. Also, it's pretty rare for Windows users to contribute back. Perhaps because there are so few of them, don't know. At any rate, I don't know what else to do. It certainly would be nice to have something for Windows.
If you don't want to do anything, that's fine. Perhaps someone else will pop up on this thread.


Resolve new compile warnings

Xcode 14.1
iPad Pro 10.5" iOS 16.1

@mhdostal Do you happen to know why these warnings suddenly started appearing?

@zach suggested it may be because we're using the binary framework.

@philium The only possible reason I could think of is the warnings showed up to me based on how the Swift API was being digested in the toolkit. If it was a local build I did not see the warnings but if the toolkit was using the binary frameworks the warnings showed up.

Yup I'm seeing the same now when building with binaries. Not sure of the reason for the difference.


width and height missing in SVGAttributes?

Hi!
I'm trying to use Solid.js to create an SVG application. Works fine, but VSCode and tsc complain about things like:
Type '{ width: string; height: string; x: string; fill: string; }' is not assignable to type 'SVGAttributes<SVGRectElement>'.   Property 'width' does not exist on type 'SVGAttributes<SVGRectElement>'.
SVGAttributes in fact lacks width and height, so....

I could solve the issue by npm install @types/react-dom and renaming all class attributes to className.
By that, I could also comment then line
// "./node_modules/babel-plugin-jsx-dom-expressions",
in tsconfig.json.

Yeah that's a strange omission. The JSX types have been a real collaborative effort and that somehow seems to be missed since we split out SVG types. I will look at getting this fixed up.
In general you probably don't want to be using the React JSX types as you will likely hit more issues especially around the definition of JSX Elements, refs etc...

Fixed in v0.16.2. If you find anything else unusual like that feel free to open another issue. Admittedly I don't use TypeScript or SVG very much so there is probably still more potential for other similar omissions.

what about href as used in <use href="#airplane" />?

Yeah looking this was a casualty of https://github.com/ryansolid/babel-plugin-jsx-dom-expressions/pull/26
Inheriting from HTMLAttribute used to bring more attributes along. I'm going to diff the old list against MDN SVGAttribute and add the missing ones back.

I've added back those removed unintentionally by that pr in v0.16.3 (including href).


Double-check in SignInManager

While looking through the code of SignInManager.cs I noticed that in PasswordSignInAsync you first call PreSignInCheck and then check IsLockedOut. But inside of PreSignInCheck you already check IsLockedOut. So you end up checking twice if the user is locked out. Is this intentionally so?

Yes this is by design. We want to track the error case where the user is signed in or not which is defined in PreSignInCheck.


[Question]: I'm getting a generic response when using Ollama.

What is your question?
Hi folks, I am using fabric with Olama and phi3:medium. I have a brand new MacBook Pro M4 Max 36GB. I installed fabric using Go and used the script to generate aliases for each pattern.
I think I'm getting a generic response because when I use extract_wisdom it doesn't use the structure given in the pattern. (IDEAS, QUOTES, etc)
I expected to get a generic response if my GPU is not powerful enough. So, I tried piping it through a summary. However, my syntax was incorrect and I just used "summary" rather than "create_summary" - and then it used the correct structure.
So I'm trying to debug why it seems to give me the correct structure when I pipe it through something incorrectly.

Here's what I used:
yt https://www.youtube.com/watch\?v\=5x4s2d3YWak | extract_wisdom
Gave me a generic response, with some details from the transcript but no structure as given in the prompt.
Then I tried:
yt https://www.youtube.com/watch\?v\=5x4s2d3YWak | summary | fabric -sp extract_wisdom
This gives me a result closer to what I expected, with the structure.
Then:
yt https://www.youtube.com/watch\?v\=5x4s2d3YWak | summary
zsh: command not found: summary

This gives an error.
Here's the result of --listmodels:

fabric --listmodels

Available models:

Ollama

	[1]	phi3:medium
	[2]	gemma2:latest
	[3]	gemma:7b
	[4]	dolphin-mixtral:latest
	[5]	llama3.2:latest

I've made some progress. So I created a new model file based on phi3:medium-128K and gave it a context of 32768 based on the instructions in this YouTube video.
I then selected, via fabric --setup, the new model and told fabric that the context was 32768.
However, whilst the #summary and #ideas I get are better, there are no other elements to the structure, things like references or habits.
What am I missing here?


Can not build micropython with lvgl for BOARD=STM32F769DISC

I've post this issue on https://github.com/micropython/micropython/issues/8696 and then I was informed that the error occurs on LVGL part.
In short, the lv_micropython firmaware for STM32F769-DISC can not compile on ubuntu18.04. As the repository https://github.com/lvgl/lv_micropython can not start an issue, I place the issue here.
Please help and find out why I can not build this firmware, thank you very much.

Hi @r00t1900
I think that currently we only support STM32F7DISC, not STM32F769DISC, but I guess it should be pretty easy to add more boards.
@embeddedt - what do you think?

That's correct. We could probably fix the build error easily, but the port will still not be very useful without some work to adapt the F769 display and touchscreen drivers to a MicroPython module, as was done for F746.

@r00t1900 - would you like to try and create a F769 display driver for lv_micropython?

yup I'd like to try it even I am a beginner. I will try :)

yup I'd like to try it even I am a beginner. I will try :)

Let us know if you need any help or advice!


hopefully fix more invalidations

This extends #138. Please see that PR first and help me understand things better if I am not following the correct approach.

I suggest the labels latency and backport-1.8 for this PR.

Bump. Can we get this into Julia v1.8.1?

Bump. Can we get this into Julia v1.8.1?


README updates related to EF

Basic Demo shown for code only solution

Still, I didn't get. how to work with Rules Engine please do explain briefly or else is there any another source to get it.

Still, I didn't get. how to work with Rules Engine please do explain briefly or else is there any another source to get it.

Some helpful links:

Getting Started
The Wiki
And the editor I wrote which you can test live in your browser

FYI: You are responding on a merged PR.


Highlight API: Need to clarify behavior for replaced elements, tables, etc.

This API is intended only to create text highlights.  The explainer should probably clarify the behavior when a range covers replaced elements like images or controls and when multiple table cells are selected.
Specifically I'm referring to the rendering of the highlight and whether we intend to create a "frosted" appearance as images are covered by a highlighted range, etc.

The existing highlight pseudo element spec (https://www.w3.org/TR/css-pseudo-4/#highlight-bounds) talks about a "highlight overlay", one for each type of highlight pseudo, that is rendered on top of "text and replaced content". Since ::highlight is just another type of highlight pseudo element, it will follow the same model. So, for example, if the user is implementing a custom selection with the highlight API, their selection will create a "frosted" appearance over images in the same way that native selection does.


how to realize a custom factor whose algo use its own history data

suppose the algo is:
x_n = max (x_(n-1) + p)
x_n: the factor value at day n
x_(n-1): the factor value at day n-1
p: some other value at day n
I found the CustomFactor can't use it's own as inputs.
thank you.

There's currently no way to write a CustomFactor that depends on its outputs from a previous day, and that's by design.
There are two important reasons for this design choice:

A factor that depends on its previous day's output needs some form of "base case" for the first days it runs. But if you have special handling for the first day, then that usually means that you'll get different results depending on the time range that you run your pipeline over, which means there's no well-defined answer for "what's the value of this factor on this day?".
CustomFactors receive data that's adjusted as of the date that the factor is evaluated. This means that when a corporate action like a split happens, the data that's fed into the factor can be substantially different from the previous day's data. Most incrementally updating computations of the kind you're describing wouldn't handle an event like a split correctly.


Allow BackoffStrategy to be set via flag, document BackoffStrategy.SetConfig

Documents that go-nsq calls SetConfig on BackoffStrategy, allowing
implementors to use config values in their own Calculate implementation.
Allows full_jitter and exponential strategies to be set via the
backoff_strategy flag.

at a quick glance this looks great - curious to hear your thoughts on my response to your question in #125

I just saw it. I don't mind much either way. If a person wanted to use the config they could just
cfg := nsq.NewConfig()
myStrat.cfg = cfg
cfg.Set("backoff_strategy", myStrat)

Because it's so easy to use the config regardless, it doesn't make much sense to expose setConfig and document it, especially because it also clutters the api.

Agreed - let's remove those changes then, thanks!

LGTM


Feature Request: File Preview on file mouseover

Would be nice to have a file preview when mouseover the filename... like in Visual Studio

Can you please provide more information about what this feature would look like and how it would behave

Oops, my bad. VS Code already has this feature. I just had to click on the filename. (I thought I just had to hover over the filename in VStudio (Win), but no I also had to click on the filename.) Closing this.


Rate Limiting After Authentication

Expected Behavior / New Feature
Actual Behavior / Motivation for New Feature
Steps to Reproduce the Problem
I want to use RateLimiting but i want to take requestid from claims. I see RateLimiting  handler runs before authentication handler and ClaimsToHeadersMiddleware handler.   I think we should change order RateLimiting and authentication . I dont trust clear haeder value. Client can change clientid value always and make request to server and can break ratelimiting control. I want to take requestID from in to the claims after authentication.  How can we do?

Specifications

Version:
Platform:
Subsystem:

@osmansonmez yes this makes sense I think, I would accept a PR for this but don't have time to do the work myself atm. I will mark this issue as a new feature.

@harindaka commented on Sep 12, 2019:

this can be exploited to launch a dos attack on a valid client in its current state

Wotta?

mark as experimental maybe?

Can I mark your message as experimental? 😉


Issues with connections

Since I am using ollama over network connections from time to time I get start up error message that server is not available.
But server was just slow to respond or had temporary network issue.
Does oatmeal try few times to reconnect? It would be nice if it would retry at least few times before giving up.

Fixed in v0.8.0. Thanks!


TimeoutError is thrown by net/http on ruby 1.9.3

As a followup to #14 I just added that TimeoutError to the rescue clause. It is raised by net/http on 1.9.3 when one of the timeouts is hit. :smile:
/cc @parkr

Released in 1.3.4.


[contractkit] Metadata URLs that return 301 are not handled

Expected Behavior
If a URL provided for metadata returns a 301, contract kit (And celocli etc) should resolve that.


Refactor deployment script

Move to its own package under deploy/ to reduce
clutter in repo root

Move tests inside deploy/ too

Tests earlier had a recursive dependency - hub.py will call them,
but they will import hub.py to know more about the hub they are
testing! This didn't break because the tests were called via
pytest.main. This did prevent the tests from being used elsewhere.
The tests now are independent, and get just the info they need
from commandline arguments

Temporarily disable the custom home page template test, since I
haven't quite figured out how to pass the information it
needs

Use encrypted YAML file for secret keys
These secret keys were set in GitHub secrets and then
provisioned manually to users who needed to deploy from
their machine:

Auth0 Client ID & Client Secret, to talk to the Auth0
API
PROXY_SECRET_TOKEN, which was used to derive not just the
hub's proxy secret token but many other secrets

This PR puts them in a deployment.config.yaml file,
encrypted with sops and checked-in to the repo.

Fixes https://github.com/2i2c-org/pilot-hubs/issues/139

@GeorgianaElena thanks! I've addressed most of your comments :) But also did some more refactoring...

Thanks @yuvipanda :tada:

There's now several references to hubs.yaml that will need to be rewritten in the docs.

@yuvipanda - I've added a "tasks" section to #139 and added an item to document the changes, also updated the top comment of this so that it no longer resolves the issue on its own (unless you want to add documentation changes to this PR as well?)

I have one general comment for this PR... you are thinking here into splitting the big hubs.yaml file into 3 yaml files representing the 3 clusters? What do you think about having more granularity with each hub being represented by an independent yaml file?
So you would keep these 3 now shorter cluster files and add a dozen of hub yaml files in some "ordered" directory layout...
clusters/
foo.yaml
foo/
hub1.yaml
hub2.yaml
bar.yaml
bar/
hub3.yaml
baz/
I think that will make it easy to isolate each hub caractheristics to deal with them on a daily basis and/or show them in docs, for instance.
Thoughts?
PS: If you already discussed this, feel free to redirect me to that previous conversation).

ok, I've cleaned up the docs, removed references to hubs.yaml - this is ready now.
@damianavila one file per hub is absolutely the way to go! Right now, we rely on the fact that 'staging' is the first hub in the list, and that any failing deploy will stop subsequent deploys, to make sure that we 'test' on staging first. Need to figure out some mechanism for doing that when there's no natural ordering - as will be the case with files. I don't want to end up with 00-staging.yaml, etc though. Some prior discussion in https://github.com/2i2c-org/pilot-hubs/issues/124 but not a lot.

@choldgraf I've added docs too in this PR!

one file per hub is absolutely the way to go!

Glad we agree :wink: and thanks for linking the preexisting issue!

Need to figure out some mechanism for doing that when there's no natural ordering - as will be the case with files. I don't want to end up with 00-staging.yaml, etc though.

Well, maybe adding some priority key (or any other name) in each of those hubs yaml files is the way to go? Then you can put a 100 prio on the staging one and let the others with minor values accordingly to some deployment prioritization... just an idea...

@damianavila or, we can explicitly list 'staging' hubs in a cluster's yaml, making sure those are run first before anything else - the ordering on the rest mostly doesn't matter. What do you think?

Do you want me to explore that in this PR, or in a separate one?

What do you think?

That is another alternative, I like the fact we are not introducing a new key, I do not like the fact there is a privileged hub living in cluster yaml file... but, in fact, the staging one is somehow a special case, so I would not be against that alternative.

Do you want me to explore that in this PR, or in a separate one?

Separate one, tied to the previous issue you shared with me.

+1 on having a separate YAML file per hub. From a hub administrator's perspective, I think this is also much friendlier because we'll have a canonical place to point them to "your hub's configuration is here". (right now, if we add config above a hub, it'll push the line number down so old links won't work anymore)
Also agreed that it doesn't have to be in this PR! This is much welcome improvement as-is :-)

@yuvipanda wanna merge whenever you think it's ready to go?

Yay, thanks @choldgraf, @GeorgianaElena and @damianavila!


Watch memory usage during a 500,000-point scan.

User report:

[At CMS we] started a continuous exposures (one after the other in the speed of 2-3s/image) for Pilatus2M. The exposure lasted about 8 days and generated about 500,000 images. After this long exposures, the system became very slow and showed a high resource usage of bluesky (76% memory). It remained slow even after killing the ipython process by command 'kill -9'. The workstation has to be restarted.

This could be a caproto issue, but I figure we'll start with bluesky + ophyd.sim and start making this more realistic until we can reproduce the leak.
Reported as ticket 2901 in NSLS-II Trac.

Should be resolved via https://github.com/bluesky/bluesky/pull/1513.


Use two round buttons rather than using a context menu for the plus button?

It might be fun to have the (+) button split in two when tapped into 'talk to someone' versus 'create room'?

dup #531


Unable to send message to chat bot from client

Hello all,
I am putting this question here because I am using the sample put up in this repo for the omnichannel-chat-sdk + botframework-webchat set up.
I have copied the sample and then plugged in our companiy's org id, url, and widget id into the configuration settings into our react web app.
I am able to connect to the chat bot and receive messages from them. However, I cannot send messages. I get the "send failed, retry."
I see some CORS issues in the console/network tab.
Is this something I can fix in the client? The implementation of the chat bot itself is being handled by another team and I'm unable to see or change settings there.

What is happening is that we have app insights on our site and it is adding the following headers
access-control-request-headers: bsw-correlationid,bsw-sessionid,request-context,request-id,traceparent
which seems to be forcing an options call instead of a get call and the server is returning a 403 on the call to the connection test
https://ocsdk-prod.azureedge.net/public/connecttest.txt
Any ideas? Thanks!

I added the "no-cors" header to all requests temporarily and was able to make a GET call to the above resource. However, I'm still unable to send a message from a user.
In the debug messages in the console, the message status is simply "failed." I'll post a screenshot shortly.
I made sure I'm on the same versions of the two npm packages required for this. The sample runs fine.

@ferodom I believe app insights' custom headers is preventing messages to be sent. A potential solution would be to not send these headers on those calls.
FYI GET https://ocsdk-prod.azureedge.net/public/connecttest.txt does not require an OPTIONS call which explains why it failed.


Display the app name in the authorize page

Use the app name when it's known and remove the character '@' because it's not the
Fix #177

I still can see null if the name of app is empty:

Also we should never display an external image on steemconnect like that:

External image should go through steemit image proxy. Example:
https://steemitimages.com/128x128/https://byteball.co/img/logo.jpg

Empty app name should not exist, that's why I update the AppForm using antd. No controls were made.
null value shouldn't have been possible in the first place.

@gregory-latinier on production db we have apps with NULL as name. That's seem to be the default value. Even if we change the default value now we should make this PR working for previous apps having NULL.

What do you want to display instead of null ?

When it's null we can show this text Do you want to authorize the application with Steem account @client_id to use your posting role?.

Deployment success but look like app failed to start. Maybe it's related to config vars change.

Can you fix CircleCi errors?


USB boot support for raspberrypicm4-ioboard-sb

@resin-jenkins retest this please

@resin-jenkins retest this please

Passed:

test-raspberrypi0-2w-64
test-raspberrypi3-64
test-revpi-connect
test-revpi-connect-4
test-revpi-core-3

@resin-jenkins retest this please

@resin-jenkins retest this please


⚠ Prueba_Error_500 has degraded performance

In e4e1b8e, Prueba_Error_500 ($URL_ERROR_500) experienced degraded performance:

HTTP code: 500
Response time: 5795 ms

Resolved: Prueba_Error_500 performance has improved in 3b541d3.


WindowCovering: Update cluster definition xml

Problem
What is being fixed?  Examples:

WindowCovering Cluster is outdated and date from ZCL
Define New Attributes and Commands required for Test Event
Rename Attributes and Commands accordingly with the Specs

Change overview
This is the first part of a multiple series of PRs to update the examples for Window Covering in order to simplify code reviews

Update the Window Covering cluster definitions following the last Specifications
Update definition and renaming some functions into EFR32 Window Covering example

Testing
How was this tested? (at least one bullet point required)

Tested via chip-device-ctrl driving the EFR32 window-app example

@andy31415 @mspang @Damian-Nordic @jepenven-silabs ?


Change branding (icon and wallpaper)

Do we need to change? How complex is it? Have time?

Changing the icon is easy. In Images.xcassets just drop in the .png files you want.
Changing the wallpaper is also easy. In that same Images.xcassets, replace the file called CloudBackdropLandscape. However, the app automatically crops the picture for portrait mode viewing, so make sure the image you use will look good cropped.
The current background, btw, is something I bought from a professional photographer for non-profit use. All current cell types stand out well on it including yellow (glider), blue (scout), green (winch) and red (auto-tow). I suggest making sure any replacement image retains that readability.

Changed app icons to the similar icon as the one used in cadets corps and squadron directory that represent Air Cadets Corps.
Looking for a solid color for the background. Any ideas? The background image in current published version of ACGP ETS does not fit well in landscape... Was set by error. At least now we know ;-)

Changing the app wall paper to a plain color - matching the app icon theme.


AssertionError when testing the pre-trained model s3dis_model_best.pth on S3DIS

Firstly, thanks for your work on the Stratified-Transformer.
When testing the pre-trained model s3dis_model_best.pth on S3DIS, the AssertionError of "assert (relative_position_index >= 0).all()" occurs. Since the pre-trained model was trained on S3DIS, running it on S3DIS should have been no problem.
The following four steps are what I have done in testing the pre-trained model on S3DIS.
1. Download S3DIS of the version Stanford3dDataset_v1.2_Aligned_Version

2. Preprocess the downloaded dataset to obtain .npy files

3. Modify the config file of config/s3dis/s3dis_stratified_transformer.yaml
Change the data_root, model_path, and save_foler. Except those, I did not change other settings.
DATA:
....
data_root: dataset/stanford_indoor3d
...
TEST:
...
model_path: pretrained/s3dis_model_best.pth
save_folder: output/test/s3dis/stratified
...
4. Testing
I ran the command: python test.py --config config/s3dis/s3dis_stratified_transformer.yaml

Then, there is the AssertionError. I know it is due to the cRPE mechanism.
Since the pre-trained model was trained on S3DIS, it would be no problem when tested on the same dataset.
Could you please point out in which step I am wrong? Many thanks!

By debugging, after "test 1/7, 1/67, 20/65, 80000/236790", there will be a case that relative_position_index has one negative value: relative_position_index[2842959] = tensor([-1,31,22]), as shown below.

More details.
Assume error_point_idx = 2842959. Then,
xyz[index_0][error_point_idx] = [4.3200, 2.8800, 0.9320]
xyz[index_1][error_point_idx] = [4.6400, 2.8850, 1.0260]
, as shown in the below figures.
According to the #188 code, i.e., relative_position = xyz[index_0] - xyz[index_1]:
relative_position[error_point_idx] = [-0.3200, -0.0050, -0.0940]
According to the #189 code, i.e., relative_position = torch.round(relative_position * 100000) / 100000:
relative_position[error_point_idx] = [-0.3200, -0.0050, -0.0940]
Then, the #190 code, i.e., relative_position_index = (relative_position + 2 * self.window_size - 0.0001) // self.quant_size:
relative_position_index[error_point_idx] = [-1, 31, 22], which will cause the AssertionError in #191 code.

I changed the code for computing relative_position_index
from
  relative_position_index = (relative_position + 2 * self.window_size - 0.0001) // self.quant_size
to
  relative_position_index = (relative_position + 2 * self.window_size) // self.quant_size
This time, the AssertionError is caused by the code: assert (relative_position_index <= 2*self.quant_grid_length - 1).all()
, and error_point_idx = 5045428. Then,
xyz[index_0][error_point_idx] = [4.6400, 2.8860, 1.1470]
xyz[index_1][error_point_idx] = [4.3200, 2.8800, 1.1460]
, as shown in the below figures.
According to the code, i.e., relative_position = xyz[index_0] - xyz[index_1]:
relative_position[error_point_idx] = [0.3200, 0.0060, 0.0010]
According to the code, i.e., relative_position = torch.round(relative_position * 100000) / 100000:
relative_position[error_point_idx] = [0.3200, 0.0060, 0.0010]
According to the modified code, i.e., relative_position_index = (relative_position + 2 * self.window_size) // self.quant_size:
relative_position_index[error_point_idx] = [64, 32, 32], of which the first element exceed the upper bound 63 computed by 2 * self.quant_grid_length - 1. Thus, it will cause the AssertionError.

In my opinion, the code for computing the relative_position_index:
    relative_position_index = (relative_position + 2 * self.window_size - 0.0001) // self.quant_size
has a bug.
It can guarantee all the values of relative_position_index do not exceed the upper bound (63) but cannot ensure that any of them is less than the lower bound (0).
@X-Lai  Do you agree with the above tests and analysis?
Many thanks!

Thank you very much for pointing out this issue! You are correct. There is a bug here.