Interface for json

I updated this PR so that it works again.
I want to finish this work since the d.ts file is so much easier to maintain.
One approach is to land this as is and then

[ ] Remove the .json file and have the build tools get a json object from this file.
[ ] Update the build tools to operate directly on the tree?
[ ] Switch to use tval

I'm not sure how this ever worked before. It has a chicken and egg problem. To generate the ParseTreeVisitor we need to read the d.ts file and convert that which depends on the ParseTreeVisitor :'(
I could use the traceur.syntax.ParseTreeVisitor which is pretty sucky.

I'm closing this for now.


Topic/issue26

What does this PR do?

rephrases one of the instructions in the readme

What issues does this PR fix or reference?
#26
The PR fulfills these requirements:
[X] Tests for the proposed changes have been added/updated.
[X] Code linting and formatting was performed.
Functionality Before

readme instruction for agent configuration was a bit confusing

Functionality After

readme instructions were modified for clarity

Hi @valon-loshaj, thanks for the suggestion. Can you fix the style so that CI passes?

Actually, I'm closing this as it is superseded by #29.

Sounds good, thanks for closing this one out. We'll be referencing this repo during a company workshop coming up. This repo is super helpful!


Adds support for Postgres 13

Checklist

[X] I've run make from the root directory to see all Dockerfiles are created successfully.
[X] I've updated the documentation if necessary.

Motivation and Context
Postgres 13 is GA as of September 24th, 2020 - https://www.postgresql.org/about/news/postgresql-13-released-2077/
Description
This PR follows the pattern of https://github.com/circleci/circleci-images/pull/442 when Postgres 12 was officially added. The logic for determining which PostGIS version to use now checks for versions greater than or equal to 12 for forward compatibility. (PostGIS 2.x is not supported on PG 13 at all)

Such a great first PR to this repository. Thank you!

Narrowed this down to OpenJDK and PostgreSQL being the problems. OpenJDK was already failing, PG is failing due to the new images not being in production yet.


CreatePolygon before applyToMesh dispose of existing polygon and crea…

From the stable version 3.0 BABYLON.Mesh.DOUBLESIDE no longer worked with CreatePolygon. This appears to be because vertexData.applyToMesh no longer changes an existing mesh. Hence the change which deletes the existing mesh polygon and creates a new mesh to apply new vertexData to. Also following Jerome's suggestion the equality checks ==0, ==1, == -1 have been changed to allow for possible floating point errors.

I do not merge not because the PR is broken but because I want first to understand why apply to mesh does not affect data to an existing mesh

OK will wait to see if you can find what's happening. In case you have not already spotted it the PG that no longer works is http://playground.babylonjs.com/#4G18GY#2 and the topic where I first put the question is
http://www.html5gamedevs.com/topic/31797-solved-createpolygon-doubleside-no-longer-works/
but why I think you may not have found it I have no idea.

Ok I found the bug!

I close this PR and I will merge your change on VertexData independently


Update or replace django-braces

We use the package django-braces in edx/edx-analytics-dashboard. This package was last released in 2019 and it hasn't yet added support for Django3.2. Please follow the guidance in https://openedx.atlassian.net/wiki/spaces/AC/pages/3036972032/Handling+Outdated+Dependencies to resolve the problem this poses for the Open edX Django 3.2 upgrade.

I think she's still out for another day or two, but I can go ahead and assign it to you.  Thanks for looking into this!

Was closed as a duplicate of https://github.com/edx/upgrades/issues/23

@magajh Just checking if you had a chance to look into this.

Hi @natabene!
A [PR](https://github.com/brack3t/django-braces/pull/265 that adds support for Django 3.2 was opened a while ago, all the tests seem to be passing just fine.  I opened a new issue asking the supporters for a review on it. I'll keep you updated

@magajh Thanks so much for an update and for your help!

Do we have a release by any chance?

Django-braces 1.15.0 was released with Django 3.2 support which is now being used in openedx/edx-analytics-dashboard.
Marking this as Done and closing the issue now.
@magajh thanks for your help on this issue.


Sampler.sample_qubo should explicitly call out that non-unique interactions are added

Application
In Ocean, Q = {('a', 'b'): -1, ('b', 'a'): 1} is equivalent to Q = {('a', 'b'): 0}. In the BQM-as-polynomial formulation this is (hopefully) clear.
However, for those users who are used to thinking of QUBOs as matrices, a common point of confusion is whether the matrix should be upper-triangular or symmetric, and whether the biases are added, ignored or treated separately.
Proposed Solution
In the docstring for the BQM, we call out the addition explicitly. We should also add this to the docstring for Sampler.sample_qubo.
Additional Context
There may be other places in the documentation that we should call this out. @vgoliber

Other places where this could be addressed:

Sampler.sample_ising
Glossary entry for QUBO currently says "A QUBO problem is defined using an upper-diagonal matrix Q, which is an N x N upper-triangular matrix of real weights..."  Users may find this contradictory to what the software requires (we can provide a matrix that is not upper-diagonal) and how it interprets it. [https://docs.ocean.dwavesys.com/en/latest/glossary.html#term-qubo].
Glossary entry for Ising does not address this, so could be added there for the J coefficients.


deployment to s3 - Tasks is not defined

Hi, I found your script to deploy a react app to s3.
I followed it, copied the script to run.js, but I am running into this issue:
ReferenceError: tasks is not defined
at Object. (/Users/me/Repo/repo/subrepor/run.js:1:63)
Any ideas ??

see https://github.com/kriasoft/react-static-boilerplate/issues/195#issuecomment-276237810


Add tag page

This adds a Tags page under Catalog that lists tags sorted by use and allow search

Oops -- also upgraded packages and dotnet


Fix notice on CmsController.php

Notice: Undefined variable: shop_sql in /override/controllers/front/CmsController.php on line 93

Hi,
thank you for your contribution.
I'm going to remove the Notice in a few hours.. I need to do a bit of refactoring on this piece of code, as the concatenation on an empty string  sounds bad
Will inspect better ASAP

Plz remove the .= operator on line 9 and substitute with simple = and I'll merge your patch
Thanks

Done, but i don't agree.
Concatenation on empty string is allowed!
It's just on undefined string, it's not allowed.
Display an undefined string is not allowed too.

I agree about the concatenation being allowed on empty string.. but what is the need for a concatenation ??
these lines are inizializing the var:

empty
OR
valorized

this code is intended to be equivalent to a ternary operator
$var = (IF) ? '' : value

Can you redo the PR against dev branch?
Thanks

Merged, tnx


[Bug] [Lineage] Lineage result wrong

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
When using CEP feature.  some part of the result is not according to the actual relation.
What you expected to happen
the right result
How to reproduce
use CEP.
Anything else
Class RelMdExpressionLineage, this calcite support for lineage, is possible use it to calculate lineage?
Version
dev
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

[X] #1489


Add import / isinstance benchmarks

Approved but how sure are we that these are accurate? Eg because BaseModel is imported elsewhere and so cached (maybe that's the point)?

Good question - I believe codspeed runs each function in an isolated manner such that these should work as benchmarks, but I'm not sure. I figure I'll get more info on my next PR where I try to improve these metrics!

Working on https://github.com/pydantic/pydantic/issues/9711


https://wiki.developer.mozilla.org/zh-CN/docs/Learn/Getting_started_with_the_web

Request type

[ ] Please close this issue, I accidentally submitted it without adding any details
[x] New documentation
[ ] Correction or update

Details

https://wiki.developer.mozilla.org/zh-CN/docs/Learn/Getting_started_with_the_web
This page is implanted with malicious ads.

Reverted. Thanks.


Improve API for getting JSON options that ignore prefixes during serialization

Description
During #583 I tried to make all JsonSerializerOptions instances static. There is one place left after that where instances aren't cached, which is IgnorePropertiesWithPrefix along with the associated test. This PR fixes that by caching instances in a dictionary
Considerations

If consumers require differing options set on JsonSerializerOptions (apart from the modifier), that would have to be part of the cache key
Could have chosen to go with ConcurrentDictionary, but that doesn't provide mutual exclusion for instantiating the options to cache
The cache is unbounded and items never expire, could use a MemoryCache instead, depends on expected invocation pattern. Same problem as above in terms instantiation

Related Issue(s)

N/A

Verification

[x] Your code builds clean without any errors or warnings
[ ] Manual testing done (required)
[x] Relevant automated test added (if you find this hard, leave it and we'll help out)
[x] All tests run green

Documentation

[ ] User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

I like that this manages the lifecycle of the options for you (even though that makes configuration kind of limited/bad...). But in the end this feels like a silly API to have public at all IMO

I'm fine with that as well, maybe it would belong alongside JsonSerializerPermissive instead then? JsonSerializerIgnorePrefix. Another option is perhaps to just not offer this as a public API, only obsolete the old one with a message saying to implement it themselves?
I searched through public altinn repos and couldn't find a single use, not from other projects on Github either (studio etc).
I think I like this best:

Implement SerializeIgnorePrefix as an internal function
Obsolete the public type with a message saying to implement it themselves

I agree this is a great candidate for functionality that can be internal.


Making the EditView more resuable

This is a tracking issue for stuff that has to be done to make it easier/possible to use the EV in other GTK applications.

We'll need GTK subclassing for this one, will look into that.


How to exclude fields from method return value based on query parameters?

Discussed in https://github.com/prisma/prisma/discussions/23947

Originally posted by Cat7373 April 24, 2024
Question
My model is defined as follows:
model User {
  id       Int      @id @default(autoincrement())
  name     String   @unique
  password String
  regionId Int
  role     Role
  addtime  DateTime
  regUid   Int?
  lock     Boolean
}

When querying using findMany, the return value is defined as follows:
const r = await prisma.user.findMany({ omit: { password: true } })

As you can see, there is no password field.

I'm trying to write a general utility method whose return value is deduced as follows:
async function testQuery<M, A extends Prisma.Args<M, 'findMany'>>(model: M, queryParams: A) {
  return await (model as any).findMany({ ...queryParams }) as Result<M, A, 'findMany'>
}

const r = await testQuery(usePrisma().user, { omit: { password: true } })

As you can see, the password field was not successfully excluded.
Please help, how to define the parameters and return values of testQuery so that parameter exclusion can be handled correctly, thank you.
How to reproduce (optional)
No response
Expected behavior (optional)
No response
Information about Prisma Schema, Client Queries and Environment (optional)

generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["omitApi"]
}

datasource db {
  provider          = "mysql"
  url               = env("DATABASE_URL")
  shadowDatabaseUrl = env("SHADOW_DATABASE_URL")
}

enum Role {
  ADMIN
  USER
}

model User {
  id       Int      @id @default(autoincrement())
  name     String   @unique
  password String
  regionId Int
  role     Role
  addtime  DateTime
  regUid   Int?
  lock     Boolean
}

OS: MacOS
Database: MySQL
Node.js version: v21.7.3

Environment variables loaded from .env
prisma                  : 5.13.0
@prisma/client          : 5.13.0
Computed binaryTarget   : darwin-arm64
Operating System        : darwin
Architecture            : arm64
Node.js                 : v21.7.3
Query Engine (Node-API) : libquery-engine b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b (at node_modules/.pnpm/@prisma+engines<EMAIL_ADDRESS>Schema Engine           : schema-engine-cli b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b (at node_modules/.pnpm/@prisma+engines@5.13.0/node_modules/@prisma/engines/schema-engine-darwin-arm64)
Schema Wasm             : @prisma/prisma-schema-wasm 5.13.0-23.b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b
Default Engines Hash    : b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b
Studio                  : 0.500.0
Preview Features        : omitApi

@Cat7373 also mentioned that setting the select field is valid:
const r = await testQuery(usePrisma().user, { select: { id: true, name: true } })

In other words, it may be that the new omit has not been adapted yet.
@SevInf  shared a workaround show below
First, I can confirm the issue on our side. The problem seems to be TS infering type of A to be broader that it actually is. Second, I have a workaround for you until the problem is fixed from our side. You need to add a const modifier to A in your testQuery definition, like this:
async function testQuery<M, const A extends Prisma.Args<M, 'findMany'>>(model: M, queryParams: A) {
  return (await (model as any).findMany({ ...queryParams })) as Prisma.Result<M, A, 'findMany'>
}

I'm going to close this issue. Here the problem was not in Prisma but in user's types (or arguably perhaps TypeScript) which we don't control and have no way to influence. Either marking the A generic in the testQuery function as const, or adding as const to the object with query params make TypeScript infer the exact type and prevent it from widening. The best we could do is make this code not type check at all rather than falling back to the default selection, but I don't believe we could change anything on our side to make it work the way the user expected.
Please don't hesitate to re-open the issue if you think this is wrong and we could have done something, or if you'd prefer this to be an error as I suggested above.


to update io.read_table_to_peaks

def read_table_to_peaks(infile,
                        has_header=True, mz_col=1, rtime_col=2, intensity=(11,21), feature_id=None,
                        full_extract=True, max_col=21,
                        delimiter='\t'):
    '''
    Read a text feature table, and
    return list of peaks, e.g. [ {
        'id_number': 555,
        'mz': 133.0970,
        'apex': 654,
        'height': 14388.0,
        }, ... ]

    full_extract: to keep all fields in output as strings, only if has_header.
    feature_id: if None, create id for each peak/feature.
    '''
    def _make_id(ii, mz, rt):
        return 'F' + str(ii) + '_' + str(round(mz, 6)) + '@' + str(round(rt, 2))

    list_peaks = []
    w = open(infile).readlines()
    if has_header:
        header = w[0].rstrip().split(delimiter)[:max_col]
        w = w[1:]
    ii = 0
    for line in w:
        a = line.split(delimiter)[:max_col]   # not rstrip, so trailing EOL will be carried forward
        if len(a) >= max(mz_col, rtime_col):
            mz, rt = float(a[mz_col]), float(a[rtime_col])
            intensities = [float(x) for x in a[intensity[0]: intensity[1]]]
            if feature_id != None:
                fid = a[feature_id].strip()
            else:
                ii += 1
                fid = _make_id(ii, mz, rt)
            peak = {'id_number': fid, 'id': fid,
                    'mz': mz, 'rtime': rt, 'apex': rt,
                    'representative_intensity': sum(intensities) / max(1, len(intensities))}
            if has_header and full_extract:
                # will remove redundant fields
                peak2 = dict(zip(header, a))
                peak2.update(peak)
                peak = peak2

            list_peaks.append( peak )

    return list_peaks

This change has been added. Closing this issue.


Base Filtering Engine (BFE)

The bfe service is disabled by default, how do I enable it in docker?
This is necessary for testing.

Hi @rgadeevm, to help our team understand your issue, would you be able to provide more details on your use case:

You mentioned you are using the BFE service for testing, can you expand on how this service will be used for testing?
Which version of Windows Server are you running on your host? What version are you running for your image?
What environment are you running in? (standalone, AKS etc.)

Closing due to staleness. @rgadeev if you can provide the details requested by Judy we can open this back up.

/reopen

Our use case is: we have a 3rd party vendor software that runs on Windows. We are attempting to modernize this application using Windows Containers.
The problem is this vendor software has a hardcoded check on startup for Windows Firewall Rules that it attempts to check and open for its use if closed. Since the BFE service is disabled by default in Windows Containers, the firewall rule check fails, and the vendor software comes to a stop.
This is the error as of the image: mcr.microsoft.com/windows:10.0.17763.973
PS C:\> Get-Service -Name "BFE" | Start-Service
Start-Service : Service 'Base Filtering Engine (BFE)' cannot be started due to the following error: Cannot start service BFE on computer '.'.
At line:1 char:27
+ Get-Service -Name "BFE" | Start-Service
+                           ~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service], ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand

PS C:\>

This is a huge show stopper for us so any advise to unblock would be greatly appreciated!

Hi @Judyliu-ms, @cwilhit,
Is it possible to discuss this further in a formal capacity?
We want to assess the Windows Container product team's long-term vision for these services, and if there are any suggested options or workarounds for customers within Windows Container ecosystem.
Any insight, advise, or understanding would be greatly appreciated! 🙏🙏🙏
Thank you for your ongoing efforts to make Windows Containers better!
CC: @msuthar09

@vrapolinario We also met the same issue @rrmistry mentioned, is it good to re-open this?

@wizpresso-steve-cy-fan , let me know if you are interested in collaborating to brainstorm ideas.
For our use case, 1 year down the line, we had to abandon Windows Containers altogether. But solving this is still very much needed.


Produce  macro-averaged F1-score (MF1) results

Hi!
In the paper (Results section), you mentioned that the performance is evaluated using two metrics: accuracy and the macro-averaged F1-score (MF1). But when I run main.py, I get only accuracy metric results.
'''
total_acc.append(labels.eq(predictions.detach().argmax(dim=1)).float().mean())
'''
Can you let me know how MF1 is calculated as well?
Thanks in advance.

Hi,
you get them eventually in the classification report.
If you wish to see the F1-score at each run, you can check our implementation here.

Thank you!


Fix test_clicking_submit_input_posts_empty_value_if_value_not_present

In Chrome, the default value for an input type="submit is "Submit". However in Firefox its "Submit Query".

@jsfehler thanks for contribute.


[Open for all] Add Header and Footer

Add header and footer as reusable component so that It can just be rendered wherever required.

Dependent of issue #3 [ First This issue needs to be resolved ]

Can we use any react library? Ex. Material UI, Semantic UI

Hey @codewithvk yes, You can use material UI

I want to work on that. can you assign me?

can to assign this to me

Hey @codewithvk as this issue is dependent on #3. I request you to please finish that one. Also we can't assign more than one issue at once to anybody. So waiting for your PR for the previous one :)
Hey @sreechand2002 you can go ahead with this one one @codewithvk finishes the dependent issue. Meanwhile you can explore on its implementation, I am assigning it to you. Happy Learning :)

@Kajol-Kumari I already Made pr for #3. You can check.

@Kajol-Kumari I already Made pr for #3. You can check.

Ah, I saw it late. No worries more issue are coming for grab :)

Hi @Kajol-Kumari  I wanna work on this.

Hey @Aaryan8751 you can go ahead with this one. Please make sure to add the test the code and do the following:

create a folder with name header_and_footer.
Make a folder under this with your name and put the header and footer files in there after testing.

This is required as we would be picking up the best style and use it in our website. If you need any further clearance, pleaselet me know.
Happy Coding :)

@Kajol-Kumari  may I use reactstrap, font awesome?

@Kajol-Kumari I have added the header and footer and have also made a pull request.

Here is the screenshot of the page Please have a look.


Coding Style - Add indentation within a namespace

After several pull requests, we would like to raise a coding style concern around the indentation within a namespace. The OCIO Coding Style mentions that there is no indentation in a namespace. While coding new features we discovered that the rule introduces some readability complexity because it flattens the code.
Below is an example using a code snippet from the coding style:
OCIO_NAMESPACE_ENTER
{

namespace
{

int MungeMyNumbers(int a, int b)
{
    int x = a + b;

    if (a == 0 || b==0)
    {
        x += 1;
        x += 2;
    }
    else
    {
        for (int i=0; i<16; ++i)
        {
            x += a * i;
        }
    }
    return x;
}

} // anonymous

void DoSomething()
{
    const int res = MungeMyNumbers(1, 4);
    …
}

}

Adding indentations ease the reading of the source code:
OCIO_NAMESPACE_ENTER
{
    namespace
    {
        int MungeMyNumbers(int a, int b)
        {
            int x = a + b;

            if (a == 0 || b==0)
            {
                x += 1;
                x += 2;
            }
            else
            {
                for (int i=0; i<16; ++i)
                {
                    x += a * i;
                }
            }
            return x;
        }
    } // anonymous

    void DoSomething()
    {
        const int res = MungeMyNumbers(1, 4);
        …
    }
}

Most of the existing code is currently adding indentations. So, we propose to change the coding style to have indentation within a namespace.
Please let us know if you agree to change that rule in the OCIO Coding Style.

I also prefer NOT indenting namespaces. Indenting does ease readability when scanning through code, but  it also shortens available characters if you're following a stricter line-length in the agreed upon code style (OCIO source generally limits to 80 chars).
BUT, as you said @hodoulp , much of the existing code does indent namespaces, and I would support sticking with whatever the majority of the code is already doing, since the biggest style rule tends to be following the existing style.
+1 for using clang-format

Agree that most of the coding style rules are based on personal preferences from the original devs. However, I tried to present a concrete example of unnecessary complexity.
The fact that most of the existing code is indented is a strong argument to update the coding style. The change could at most add 1-2 indentations (i.e. max of 8 characters), it should not drastically change a line.
Note: Most of the time, the 80-character limit is coming from original printer limitations. With modern IDE's and monitors (and no more need for printings) increase the limit is not an issue. However, that's not the topic of the discussion.
Note: Here, at Autodesk, the synColor coding style is to add indentations (i.e. 2 characters), and few years ago, we moved to a 100-character limit.

+1 for using clang-format


rb-inotify-0.9.7.gem is corrupt

I have previously downloaded a working version of rb-inotify-0.9.7.gem to my local Maven repository, but new colleagues that start on our project are getting a corrupt rb-inotify-0.9.7.gem from the proxy repository now, so we have had to give them copies of our local working version.
I found that ~/.m2/repository/rubygems/rb-inotify/0.9.7/rb-inotify-0.9.7.gem is actually an HTML file instead of a tar archive, containing the following:
<!DOCTYPE html>

        <meta charset="utf-8">

        <meta content="NOW" name="expires">
        <meta content="index, follow, all" name="GOOGLEBOT">
        <meta content="index, follow, all" name="robots">

        <meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport">

This doesn't look right.

I just looked at http://rubygems-proxy.torquebox.org/releases/rubygems/rb-inotify/0.9.7/rb-inotify-0.9.7.gem and it redirects to a gem file, i.e. a tar-file
which repo url are you using (there are several public proxies) ? or are you using the mavengem wagon from https://github.com/torquebox/mavengem/tree/master/mavengem-wagon ?
the html looks like a domain parking page - might be the DNS service which can not resolve the domain and delivers a domain parking page (or so as I did not inspect the park.js file to find out)

We have a Nexus instance proxying http://rubygems-proxy.torquebox.org/releases/ and I just found out we proxy an old codehaus.org repository and that proxy also contains rubygems:rb-inotify:0.9.7 and it was higher on the repo priority list. So, I'm sorry, false alert. I disabled the proxy for the old codehaus.org repo in our Nexus instance and now all seems fine again. Sorry for the noise.

@breun actually I am glad it is not our server again. no problem for the noise


[astromania] Contact us styling

Describe the Feature you want to end
I would like to enhance contact us

Expected behavior
it helps us increasing user experience

Screenshots (optional)

Additional context (optional )

@MohitGupta121 Kindly, assign this to me.

I want you to do this small small changes in 1 single PR, not in multiple PR's

I want you to do this small small changes in 1 single PR, not in multiple PR's

If they all are from same project file,I can do as you mentioned. But they are from different right? So, how can I work on 1 PR


bugfix: query equivalence for time_range, filter ops, and calculations

Which problem is this PR solving?

Closes #275

Short description of the changes
The QuerySpec 'equivalence' functionality introduced in #236 to suppress diffs failed to detect changes in time_range, filter_combination, and calculation.

Codecov Report

Merging #282 (fafd7de) into main (bd2676d) will increase coverage by 0.23%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #282      +/-   ##
==========================================
+ Coverage   80.52%   80.75%   +0.23%
==========================================
  Files          42       42
  Lines        3512     3523      +11
==========================================
+ Hits         2828     2845      +17
+ Misses        566      562       -4
+ Partials      118      116       -2

Impacted Files
Coverage Δ

client/query_spec.go
27.77% <100.00%> (+4.84%)
:arrow_up:

client/type_helpers.go
91.89% <100.00%> (+3.89%)
:arrow_up:

honeycombio/data_source_query_specification.go
94.67% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add /picsum command using Lorem Picsum API

Command Name
/picsum
Public API Resource
https://picsum.photos/
Description
I'd like to learn making Discord Bots for Hacktoberfest by creating a command called /picsum. It will return a random stock image provided from the api.
Implementation Details

Add a new javascript file in the commands folder
Use axios fetch the data from your public API
Format the data in a readable way and send it to the user
Use the discord.js docs to get started

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@thieleju Pls let me know if I did this correctly this time 😅

@AloyBranCheung Yes, you did everything correctly! 😄

@AloyBranCheung Well done!
I approved your pr #86 and labeled it with the hacktober-accepted label.
Keep contributing ❤


[1.12.2] Some models are missing

Please use the search functionality before reporting an issue. Also take a look at the closed issues!
Issue description:
Some item/block models are gone, they are invisible so no missing texture error in JEI and the creative tab.
Example: Digital Miner, Flamethrower, and jetpack.
Steps to reproduce:

Install Mekanism and JEI

Version (make sure you are on the latest version before reporting):
Forge: 2795
Mekanism: 1.12.2-<IP_ADDRESS>9
Other relevant version: JEI_1.12.2-<IP_ADDRESS>
If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)
[gist/pastebin/etc link here]

Getting the same thing with both the Atomic Deconstructor and the Digital Miner.  The Digital Miner is fine if placed in world, but invisible in an inventory slot.

duplicate of #5205

Alright closing this duplicate.


Add blockchain document loader integration

Hello! To mirror the blockchain data document loader in the Python LangChain project, we've created a blockchain data document loader for LangChain.js that utilizes the sort.xyz free API (and includes more functionality).
The document loader includes three types of blockchain data requests:

Latest transactions for an Ethereum, Polygon, or Ethereum Testnet (Goerli) contract
Metadata for an NFT
Arbitrary SQL created by the user for querying blockchain data and using the result in a document

We have a number of tutorials planned for how to use LangChain.js with the new blockchain document loader in this PR.
This PR includes a great set of examples (with all three requests types above), tests, and docs. We believe this PR is ready for review.
Please respond with any feedback. We're excited to get this PR into the community and start work on tutorials and documentation to further expand on use cases!

Thanks! Left a few comments

Hey @zuketo, it was almost there and I couldn't push to the sortxyz repo directly, so I opened #1918 and will merge this in that PR. Thank you for the hard work and patience! Will plan to get it out in tomorrow's release.

Hey @jacoblee93 thanks for your help here with the PR! I got one of your feedback items addressed but got sidetracked before fixing the other suggestions, I rather use your PR now, thanks again!

Merged with #1918!


Feature request: Hex color code

Is it possible to include support for the standard hex colorcode, say #228b22 for forest green.

You can propose a PR


UI Improvements

Some general UI improvements and bug fixes

Changed the active users UI to be a button with a dropdown menu
Created a new DropDown component (currently used for ActiveUsersIndicator and ListItem)
Fixed instances of long names messing up UI

Room name and Item names will now be cutoff with "..." when they get too long

Added titles (tooltips) for names (the ones that might be cutoff) and icon buttons
Added IconButton hover effect (adds a dark gray circle behind the button if enabled)
Fixed issue where item text in editor would extend past item boundaries on some browsers
Added (optional) toggle effect to IconButton

Now when you click on a dropdown menu button or a button that triggers a modal, the button will visually stay "toggled" while the menu/modal is open

Fixed issue where the editor BoundaryToolbar would disappear when either the X or Y input boxes was empty

Here's how the names now get cutoff:

Here's the new active users list:

Everything looks good, the addition of the dropdown to show connected users is a nice touch and makes the interface look clean. Looks good to merge.


Actually print GLASGOW_HASKELL in the comments

Currently, the Haddock pages for vector-th-unbox have a bug in which the __GLASGOW_HASKELL__ macro gets expanded to an actual number within comments (see here for example, note #if 706 == 704). I attempt to solve this CPP oddity... with more CPP oddities. I know that both gcc and clang support push_macro and pop_macro, so this should be portable.

@RyanGlScott I opted to use a named Haddock section and simply doing #undef __GLASGOW_HASKELL__  at the end of the file. Thanks for the report though!


A bug regarding the naming of newly created documents

Type: Bug
I'm not sure if it's caused by historical files. When updating to the latest version of VScode, there is a problem of naming errors when adding files. This is not an accident. It will still appear after restarting the application. Steps: There are unsaved files in the program. Untitled-1, Untitled-2, Untitled-3, when you double-click the title bar to add a file, the unnamed file names are confused, and they are not accumulated from Untitled-4.

VS Code version: Code 1.87.2 (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:20:17.278Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-4460  CPU @ 3.20GHz (4 x 3193)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
15.90GB (4.59GB free)

Process Argv
--crash-reporter-id bf8ee165-cc3c-4c5b-bed3-c0511d53507b

Screen Reader
no

VM
0%

Extensions (13)

Extension
Author (truncated)
Version

tongyi-lingma
Ali
1.2.4

codegeex
AMi
2.6.2

vscode-language-pack-zh-hans
MS-
1.87.2024031309

vscode-edge-devtools
ms-
2.1.5

java
red
1.28.1

codelf
unb
11.7.0

intellicode-api-usage-examples
Vis
0.2.8

vscodeintellicode
Vis
1.3.1

vscode-java-debug
vsc
0.56.2

vscode-java-dependency
vsc
0.23.5

vscode-java-pack
vsc
0.25.15

vscode-java-test
vsc
0.40.1

vscode-maven
vsc
0.44.0

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:30992800
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
pydisww1:30991133
cppperfnew:30979542
d34g3935:30971562
fegfb526:30981948
bg6jg535:30979843
ccp2r6:30993542
dsvsc020:30976470
pythonaic:30992952

@bpasero Did we used to track what the next available number was here?
This feels like an insignificant bug, but I'm not sure if it was always this way.

@HiraethJ please provide steps for me to reproduce this issue

@HiraethJ please provide steps for me to reproduce this issue

@bpasero  I don't know how to reproduce this bug 100%. When this problem occurs, I open five or six Untitled files (which I opened before), and then when I close a few of them, the serial numbers of the file names will not be generated in order when I create the files again. When I close all the files and restart vscode, the problem disappears.

Our logic for the counter is quite simple: we start at i = 1 and try to use Untitled-<i> for as long as there is no existing untitled file with that number:
https://github.com/microsoft/vscode/blob/92592894f724df264d4215d94a4f517b32021f1a/src/vs/workbench/services/untitled/common/untitledTextEditorService.ts#L240-L246
In your case it then seems that there are other untitled models around and occupied, so we go to the next available number.
Closing an untitled file should free up the number for be used again.

@bpasero  I know your naming logic for untitled file. You mentioned that I still have closed files. You can see in the picture I submitted above that the file name returns from Untitled-60 to Untitled-8, which is not normal, even if there are unclosed files.

@HiraethJ it is possible that there are untitled text models hanging around, even if not opened in an editor. That is why I was curious about steps to reproduce to see what condition causes these models to be there, even though not showing in an editor.
For example, extensions are free to create untitled text models and not open them, so its possible some extension is causing this.


tensorflow.python.framework.errors_impl.OutOfRangeError

File "/home/saurabh/Documents/InvoiceNet-master/env/lib/python3.7/site-packages/tensorflow/python/eager/context.py", line 2102, in execution_mode
yield
File "/home/saurabh/Documents/InvoiceNet-master/env/lib/python3.7/site-packages/tensorflow/python/data/ops/iterator_ops.py", line 758, in _next_internal
output_shapes=self._flat_output_shapes)
File "/home/saurabh/Documents/InvoiceNet-master/env/lib/python3.7/site-packages/tensorflow/python/ops/gen_dataset_ops.py", line 2610, in iterator_get_next
_ops.raise_from_not_ok_status(e, name)
File "/home/saurabh/Documents/InvoiceNet-master/env/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 6843, in raise_from_not_ok_status
six.raise_from(core._status_to_exception(e.code, message), None)
File "", line 3, in raise_from
tensorflow.python.framework.errors_impl.OutOfRangeError: End of sequence [Op:IteratorGetNext]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/saurabh/Documents/InvoiceNet-master/env/lib/python3.7/site-packages/tensorflow/python/data/ops/iterator_ops.py", line 772, in next
return self._next_internal()
File "/home/saurabh/Documents/InvoiceNet-master/env/lib/python3.7/site-packages/tensorflow/python/data/ops/iterator_ops.py", line 764, in _next_internal
return structure.from_compatible_tensor_list(self._element_spec, ret)
File "/home/saurabh/anaconda3/lib/python3.7/contextlib.py", line 130, in exit
self.gen.throw(type, value, traceback)
File "/home/saurabh/Documents/InvoiceNet-master/env/lib/python3.7/site-packages/tensorflow/python/eager/context.py", line 2105, in execution_mode
executor_new.wait()
File "/home/saurabh/Documents/InvoiceNet-master/env/lib/python3.7/site-packages/tensorflow/python/eager/executor.py", line 67, in wait
pywrap_tfe.TFE_ExecutorWaitForAllPendingNodes(self._handle)
tensorflow.python.framework.errors_impl.OutOfRangeError: End of sequence
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train.py", line 67, in
main()
File "train.py", line 62, in main
early_stop_steps=args.early_stop_steps
File "/home/saurabh/Documents/InvoiceNet-master/invoicenet/common/trainer.py", line 44, in train
train_loss = model.train_step(next(train_iter))
File "/home/saurabh/Documents/InvoiceNet-master/env/lib/python3.7/site-packages/tensorflow/python/data/ops/iterator_ops.py", line 736, in next
return self.next()
File "/home/saurabh/Documents/InvoiceNet-master/env/lib/python3.7/site-packages/tensorflow/python/data/ops/iterator_ops.py", line 774, in next
raise StopIteration
StopIteration

I was able to resolve this by increasing my training data, The training runs with 10 sets (10 .pdf + 10 .json)

Also verify that the number of files distributed to the train and val folders are correct.

what was the trend on decrease in loss? I am training on 400 docs and my loss is ranging between 4.6-3.75


Running Error

Hello,
When I run your code, there is an error. Could you give me some advice?
Thank you
from torchvision import _C
ImportError: /home/aming/anaconda3/envs/dadetection/lib/python3.6/site-packages/torchvision/_C.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe26detail36_typeMetaDataInstance_preallocated_7E

Hello, could you give more details to config your code?

OK, I have solved this problem. But I meet a new problem:
TypeError: slice indices must be integers or None or have an index method

Here, I meet a new error: cudaCheckError() failed : no kernel image is available for execution on the device


Performance issue when patching large files

Try adding all lines of a file with >500 lines. This can easily freeze the UI for over 10 seconds.

I'm attaching some profiling results. You can import them in the IE debugger (don't use the one within sapgui, this failed for me).
It seems like all it's doing is toggling classes, which adds up:

I also feel that the performance gets worse with the size of the diff page, no matter the size of individual files.
patch.zip

Patch UI relies heavily on CSS classes and the rendering engine of SAPGUI browser control is quite slow.
I'm not sure whether there's an easy way to improve the performance without reengineering the UI.
An idea is mentioned here, but I'm not sure whether the suggested techniques are supported by our archaic rendering engine.
https://ultimatecourses.com/blog/stop-toggling-classes-with-js-use-behaviour-driven-dom-manipulation-with-data-states

Looks like it's toggling two things - the add link and the remove link - for each line. The second link isn't necessary, you can just toggle one and style it differently based on whether the line is included.
I guess checkboxes could also be used, though I'm dubious about both the performance and looks of hundreds of checkboxes. It's probably not what they were intended for :)

Just submitted a PR replacing links with cheboxes. I seems like a good idea from both performance and UX perspective.


add list commands for services, environments, assets & variables

fixes #25
I know this issue was assigned to someone else but it seemed to be dormant for some time so I thought I would pick it up to get my feet wet with vscode extensions! I apologise if this is unacceptable and will delete my commits to allow the original assignee to work on it, should that be the case.
Contributing to Twilio

All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.

[x] I acknowledge that all my contributions will be made under the project's license.

@kneekill looks good to me! Thanks for your contribution ✌


Syntax-Behavior Inconsistency

Given this following HTML:
<form id="data-filter">
	<label id="a">
		<select>
			<option value="">Date</option>
		</select>
	</label>
	<label id="b">
		<select>
			<option value="">Time</option>
		</select>
	</label>
	<label id="c">
		Group by
		<select>
			<option value="">Region</option>
		</select>
	</label>
</form>

According to the docs, the following 3 syntaxes should give the same outcome while in the latest version (1.0.4-beta) they are not:
@h |-[#a]-100-[#b]-100-[#c]-| in(form) chain-width(250);

@h |-[#a(250)]-100-[#b(250)]-100-[#c(250)]-| in(form);

@h label in(form) gap(100) outer-gap(0) chain-width(250);

@gsklee thanks for reporting this. We should try this in the new version of GSS (breaking changes, docs coming soon) and see if it's still an issue.
In the meantime, there seems to be some inconsistency between the 3 examples, which might explain some of this.
The 3rd example suggests that the outer-gap should be 0 in all 3, yet the default gap is being used.
Something like this would be more accurate:
@h |[#a]-100-[#b]-100-[#c]| in(form) chain-width(250);
@h |[#a(250)]-100-[#b(250)]-100-[#c(250)]| in(form);
@h label in(form) gap(100) outer-gap(0) chain-width(250);

Thanks for the correction - will be waiting for the new release then.


feat: rebuild site

This pr totally rebuild the site

Bump to latest vuepress
remove unused options and tweaks site/theme config
switch to mathjax from katex
rebuild homepage appearance and try to reuse theme components
add localization for page footer
remove global components and import them per page
avoid using element-plus as it's heavy
use eslint v9 and replace any existing outdated plugins
remove the local docsearch plugin and use the official ones with version:${version} filters
fix tsconfig.json
fix wrong fence code name

After:

Local operation encountered some errors, unable to search

In addition, the logo in the upper left corner is somewhat redundant with the title, so we have removed the display of the title.
The logo and vp hero title on the homepage are also somewhat redundant

Auto closed because syncing this repo with main branch, new works are made at rebuild branch and a new PR has been created


Failed to load resource: net::ERR_NAME_NOT_RESOLVED error on 2fa code authenticate

looks like it is due to https://github.com/vercel/next.js/issues/1362#issuecomment-284454772


[Event Request] Codeunit 5750 Whse.-Create Source Document

The following events are required for this object:
    [IntegrationEvent(false, false)]
    local procedure OnCreateShptLineFromSalesLineBeforeGetSalesHeader(WhseShptHeader: Record "Warehouse Shipment Header"; SalesLine: Record "Sales Line"; WhseShptLineQty: Decimal; WhseShptLineQtyBase: Decimal; AssembleToOrder: Boolean; var IsHandled: Boolean; var Result: Boolean)
    begin
    end;

    local procedure CreateShptLineFromSalesLine(WhseShptHeader: Record "Warehouse Shipment Header"; SalesLine: Record "Sales Line"; WhseShptLineQty: Decimal; WhseShptLineQtyBase: Decimal; AssembleToOrder: Boolean): Boolean
    var
        WhseShptLine: Record "Warehouse Shipment Line";
        SalesHeader: Record "Sales Header";
        IsHandled: Boolean;
        Result: Boolean;
    begin
        //EVENT REQUEST
        IsHandled := false;
        OnCreateShptLineFromSalesLineBeforeGetSalesHeader(WhseShptHeader, SalesLine, WhseShptLineQty, WhseShptLineQtyBase, AssembleToOrder, IsHandled, Result);
        if IsHandled then
            exit(Result);
        //EVENT REQUEST

will be added as a part of local procedure CreateShptLineFromSalesLine in codeunit 5991 "Sales Warehouse Mgt."

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 12439.


Dash forgets user display mode settings

Open dash.
Set dark mode.
Reload the page.

Behavior: dash goes back to lite mode.
Expected: dash to remember user dark mode settings.
It used to work but got broken in most recent deployment.

fixed


[Extend Feature]: Destination - AudioDeviceSelector

Add Output-Device-Selector:

As a poc i added it with useState (only to show you)
import React, {useState} from "react";
import { NodeProps } from "react-flow-renderer";
import Node from "components/Node";
import useDestinationNode from "hooks/nodes/useDestinationNode";

function Destination({ id, type, selected }: NodeProps) {
  useDestinationNode(id);
  const [devices, setDevices]=useState<Array<any>>([])
  navigator.mediaDevices.enumerateDevices()
  .then(function (dev) {
    setDevices(dev.filter(d=>d.kind === 'audiooutput'))
  })
  .catch(function (err) {
    console.log(err.name + ": " + err.message);
  });
  return <Node id={id} inputs={["input"]} type={type} >
    {selected && <select>
      {devices && devices.map(d=><option>{d.label}</option>)}
    </select>}
    </Node>
    ;
}

export default React.memo(Destination);

I was actually thinking about this some time ago. Feel free to open PR with your solution.
One technical note is that navigator.mediaDevices.enumerateDevices() should be called inside some useEffect().

Looks like selecting output device is not supported currently for Web Audio API, see discussion in https://github.com/WebAudio/web-audio-api/issues/2400
I'm closing this issue then.

I see you are not using an additional state-management-library, just context+immer.
You have plannings to introduce one?

There are no performance issues at the moment that I am aware of, so I'm keeping it simple.
Once we need more of the global state management, I'd prefer to use pmndrs/zustand.

I'd prefer to use pmndrs/zustand.

XDD
i rebuilt the whole ledfx-react-app using zustand :)


Change target branch for split monorepo

Changes made in monorepo must be pushed to a different branch in the hyde/hyde repo as composer create-project uses master which may contain breaking changes.

I think only the hyde/framework and hyde/hyde needs this added complexity as of now


MVT Label

Label should be drawn directly from the MVT feature.

All labels are now drawn from the layer style function. Label values will be added as label property to the feature.


插件运行报错

[ERROR] nonebot | Failed to import "nonebot_plugin_memes"
Traceback (most recent call last):
File "/usr/local/bin/nb", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/nb_cli/commands/main.py", line 30, in run
run_bot(file, app)
File "/usr/local/lib/python3.10/site-packages/nb_cli/handlers/deploy.py", line 20, in run_bot
module = importlib.import_module(module_name)
File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/root/nbot/./bot.py", line 58, in
nonebot.load_plugin("nonebot_plugin_memes")
File "/usr/local/lib/python3.10/site-packages/nonebot/plugin/load.py", line 28, in load_plugin
return manager.load_plugin(module_path)

File "/usr/local/lib/python3.10/site-packages/nonebot/plugin/manager.py", line 104, in load_plugin
module = importlib.import_module(name)
File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "/usr/local/lib/python3.10/site-packages/nonebot/plugin/manager.py", line 194, in exec_module
super().exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/usr/local/lib/python3.10/site-packages/nonebot_plugin_memes/init.py", line 12, in
from nonebot.plugin import PluginMetadata
ImportError: cannot import name 'PluginMetadata' from 'nonebot.plugin' (/usr/local/lib/python3.10/site-packages/nonebot/plugin/init.py)

尝试重装本插件，结果是……除了本插件以外的其他插件全部寄了，export没了，得重新装apscheduler和插件
脑仁疼
nbot版本是rc-1

那是别的插件的问题😂
可以暂时把nb降级到beta5版本，因为有些插件还没适配


Question on docker volumes in multiple hosts

Hi @barrachri, thank you very much for the SwarmSpawner, it has helped me a lot!
I have successfully managed to run the Jupyterhub with your spawner, but I have one general question. Since it is a Swarm network, it is most likely that the spawned notebook will be spread across multiple hosts, and there is no guarantee that the same container will be spawned on the same host in the future. What is the strategy to ensure that the same user can access the previously created container?

Hi, what do you mean about accessing the same container?

For each container that is spawned, the user workspace is persisted into a local file system with docker volume based on the guide here. However, this docker volume is only local to each host machine, which means that for multihost configuration, any data in the user workspace is kept only if the future spawning occurs at the same host machine. I hope I make it clearer :)

Ahh ok!
well this is one the issue you have to deal with when you use services.
NFS could be a solution.
Have you thought about using also git?

Checkout the pull request #15.
I think this would help 👍

thanks @wakonp, your pull request would definitely help to solve my issue :)


Balance Checks

Wrote a function for visual balance checks.

Added balance checks using placebo outcomes and visual balance checks


Search is broken

From discord
Uh oh. Docs bug: starting here https://docs.velopack.io/packaging/signing#automate-signing-in-cicd-github-actions
I use the search box in the upper-right corner to look for "AppImage". Several results including this one at the top, which is a 404:
https://docs.velopack.io/packaging/operating-systems/linux/packaging/operating-systems/linux#what-is-an-appimage

fixed


Rich select, selected options dont have css, and problem when using array of objects as options in multiple mode

In t-rich-select, it is not known where to pass the classes for the selected options rendered in the input box when the mode is multiple.
and when we use options as array of objects for multiple mode, like so
                 <t-rich-select                     multiple                     :close-on-select="false"                     :options="categories"                     value-attribute="id"                     text-attribute="name"                     placeholder="Primary categories"                     :value="form.categoryIds"                 />
the selected data is not rendered in the input, although the data is selected.

this above image should look like this

and this also demonstrate how there is no css passed for the rich select when in multiple mode for rendering the selected options but somehow it works in the demo, although its not the exact copy from the demo, the css is not passed even in the exact copy paste from the docs
and i am using the default configs, the below image is from docs, and how i would want it look like locally too

facing the same issue here

your probably missing some css/slot from the default config

I had the same issue but I didn't include any props in my vue-tailwind.js and it seemed to fix it.
My vue-tailwind.js looked like this
import Vue from "vue";
import VueTailwind from "vue-tailwind";
import { TRichSelect } from "vue-tailwind/dist/components";

const settings = {
  "t-rich-select": {
    component: TRichSelect,
  }
};

Vue.use(VueTailwind, settings);

You need to add
selectButtonTagWrapper: 'flex flex-wrap overflow-hidden',
    selectButtonTag: 'bg-blue-500 block disabled:cursor-not-allowed disabled:opacity-50 duration-100 ease-in-out focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-opacity-50 rounded shadow-sm text-sm text-white transition white-space-no m-0.5 max-w-full overflow-hidden h-8 flex items-center',
    selectButtonTagText: 'px-3',
    selectButtonTagDeleteButton: '-ml-1.5 h-full hover:bg-blue-600 hover:shadow-sm inline-flex items-center px-2 transition',
    selectButtonTagDeleteButtonIcon: 'w-3 h-3',

in your settings in either fixedClasses or classes (depending on how you want to customize it in variants).
@alfonsobries: It is missing in the shipment and on the "Customizing" and "Settings" tab.


Remove version: Nikkho.FileOptimizer version <IP_ADDRESS>

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: URL works;


fix: add header lookup example

Pull Request Test Coverage Report for Build 2486

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

Totals

Change from base Build 2479:
0.0%

Covered Lines:
2428

Relevant Lines:
3014

💛  - Coveralls

Pull Request Test Coverage Report for Build 2488

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

Totals

Change from base Build 2479:
0.0%

Covered Lines:
2428

Relevant Lines:
3014

💛  - Coveralls

Pull Request Test Coverage Report for Build 2497

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

Totals

Change from base Build 2479:
0.0%

Covered Lines:
2428

Relevant Lines:
3014

💛  - Coveralls

Pull Request Test Coverage Report for Build 2496

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

Totals

Change from base Build 2479:
0.0%

Covered Lines:
2428

Relevant Lines:
3014

💛  - Coveralls

Pull Request Test Coverage Report for Build 2494

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

Totals

Change from base Build 2479:
0.0%

Covered Lines:
2428

Relevant Lines:
3014

💛  - Coveralls

Pull Request Test Coverage Report for Build 2492

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

Totals

Change from base Build 2479:
0.0%

Covered Lines:
2428

Relevant Lines:
3014

💛  - Coveralls

Pull Request Test Coverage Report for Build 2490

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

Totals

Change from base Build 2479:
0.0%

Covered Lines:
2428

Relevant Lines:
3014

💛  - Coveralls

Pull Request Test Coverage Report for Build 2504

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

Totals

Change from base Build 2479:
0.0%

Covered Lines:
2428

Relevant Lines:
3014

💛  - Coveralls

Pull Request Test Coverage Report for Build 2502

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

Totals

Change from base Build 2479:
0.0%

Covered Lines:
2428

Relevant Lines:
3014

💛  - Coveralls

Pull Request Test Coverage Report for Build 2500

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

Totals

Change from base Build 2479:
0.0%

Covered Lines:
2428

Relevant Lines:
3014

💛  - Coveralls


PostUp and PostDown Scripts

Is your feature request related to a problem? Please describe.
Is there a possibility to introduce PostUp and PostDown scripts.
Similar to #1146 , #1150 , #1151
Describe the solution you'd like
In the configuration files that are generated, introduce the possibility to provide PostUp and PostDown scripts.
Describe alternatives you've considered
Manually adjusting the files.
Additional context

Hey @bensonrlee -- Firezone 0.7 is currently EOL and we won't be able to add support for these. I think the 1.0 gateway should probably solve the use case you're aiming for, but if not, custom iptables rules can always be used too.


Test-Connect/Ping Tests forcing IPv4 is unreliable - assumes GetHostEntry address list is in a specific order

The two tests that verify Test-Connection with IPv4 implicit/explicit options assume that GetHostEntry() returns the AddressList with the IPv4 address as the first entry.
I'm seeing, on Ubuntu 18.04, that the order is reversed, the IPv6 address is reported first.
The test should be updated by searching the IPHostEntry.AddressList for the entry with  AddressFamily -eq InterNetwork.
The failure also occurs on Cent0S 7
Actually, this test has a number of issues:
1: It assumes the address list returned by GetHostEntry and GetHostAddresses have a predictable order.
This means that $var->AddressList[0] is not consistent across OS installations and is not guaranteed to be consistent across runs; at least the API doesn't indicate such.
Likely the best solution for this is to query both API's in BeforeAll, build a lookup table and chagne the Should statements to verify the IP address(es) Test-Connection reports are in the the associated table.
2: It assumes that localhost has an IPV6 address (::1).
Ubuntu 18.04, not domain joined, does not.
The test 'Force IPv6' should be skipped for this case.  Querying in BeforeAll and checking the IP address list is sufficient.
3: It assumes that GetHostByName('localhost') returns the FQDN name.
On the same, clean Ubuntu 18.04 system, the return value is 'localhost'
The test 'ResolveDestination for address' is a NOP for this case.
4: $targetName is used as the starting name in a number of tests; it is localhost
This is a minor note but it makes the tests that reference it misleading.  Using 'localhost' directly would clarify this.

I think the changes in #10697 should cover the stated issues pretty well. The API surface has changed a bit since then as well, so if we find additional issues with either our tests or the cmdlet itself, we can go ahead and reopen / open a new issue as appropriate. 😊


[ARTEMIS-397] Change mqtt connection ttl to be keepalive * 1500 from 750

Fixes: ARTEMIS-397
From mqtt specs:
“If the Keep Alive value is non-zero and the Server does not receive a
Control Packet from the Client within one and a half times the Keep
Alive time period, it MUST disconnect the Network Connection to the
Client as if the network had failed [MQTT-3.1.2-24]. “

Merging thanks!


Memory access fault on constraint creation

(Posted to https://github.com/kripken/ammo.js/issues/421 but I guess this is the new active home?)
The attached simple example A-Frame/Ammo scene has a kinematic parent and dynamic child, with functions (to type into the browser console) to attach (add lock constraint), detach (remove constraint), and move the kinematic parent. Running in Chrome on Windows 10, if physics has moved the dynamic child since loading the HTML, the attach() throws a memory fault at Ammo.destroy(bodyTransform) near the end of the ammo-constraint component createConstraint function.
e.g.
move() (pushes unattached child away) then attach()
throws the fault, while
attach(), move(), move(), detach(), move(), attach() (where the child only moves when attached)
works
The bodyTransform that is destroyed is set near the top of that function:
const bodyTransform = body.getCenterOfMassTransform().inverse().op_mul(targetBody.getWorldTransform());
Does that allocate, or should the function not be destroying it?
If I duplicate the logic of createConstraint() but leave out Ammo.destroy(bodyTransform), (and disable deactivation on child) it seems to work fine. Hopefully not leaking memory.
Thank you.
crash.html.txt

#46 should fix this.


health test switch has 400 error

Describe The Bug:
I just tried enabling "Run Health Test from HomeKit" and turning on the switch, but nothing happened.  I don't think I've done anything unusual when initializing the plugin or anything with the official Flo app.
Logs:
[15/11/2024, 20:04:51] [Flo-by-Moen] Flo Health: Running Health Check. This will take up to 4 mins.
[15/11/2024, 20:04:51] [Flo-by-Moen] Flo error in running health check: Request failed with status code 400

Plugin Config:
{
    "name": "Flo-by-Moen",
    "auth": {...},
    "disableCache": false,
    "showTemperatureAndHumidity": true,
    "enableValveControl": true,
    "showHealthTestSwitch": true,
    "showAuxSwitch": false,
    "treatWarningAsCritical": false,
    "clearOnNoLeak": false,
    "deviceRefresh": 90,
    "offlineTimeLimit": 2,
    "sleepRevertMinutes": 1440,
    "retryErrorDisplay": 3,
    "showFloTemperature": true,
    "showGPMPSIasLight": false,
    "_bridge": {...},
    "platform": "Flo-by-Moen"
}

Environment:

Plugin Version: 1.0.17
Homebridge Version: 1.8.5
Node.js Version: 20.18.0
NPM Version: 10.8.2
Operating System: Debian GNU/Linux Bookworm (12)

Confirmed the bug, correction will be implemented in the next release.

It was fixed in 1.0.18.


Does this support Unifi Protect?

I need a way to pull a frame from my Protect camera using Python, and this seems great, but I'm not sure if this support Unifi Protect.

Afraid not. unifi-video-api is for UniFi Video only and any compatibility with UniFi Protect is completely coincidental and accidental, and I'd be very surprised if there were any.
You've probably seen these already but this is what I came across:

https://github.com/briis/pyunifiprotect
https://github.com/unifi-toolbox/unifi-protect-video-downloader
https://github.com/hjdhjd/homebridge-unifi-protect
https://github.com/briis/unifiprotect

Most of them seem to be Homebridge or Home Assistant integrations but I'm sure they can be repurposed for other use cases.
Good luck!

Afraid not. unifi-video-api is for UniFi Video only and any compatibility with UniFi Protect is completely coincidental and accidental, and I'd be very surprised if there were any.
You've probably seen these already but this is what I came across:

https://github.com/briis/pyunifiprotect
https://github.com/unifi-toolbox/unifi-protect-video-downloader
https://github.com/hjdhjd/homebridge-unifi-protect
https://github.com/briis/unifiprotect

Most of them seem to be Homebridge or Home Assistant integrations but I'm sure they can be repurposed for other use cases.
Good luck!


Sctpbug

reapplying bug fixes that have been overwritten

@mpotterq can you review this change please - it is backing out a line that you added in the named pipe replay

Yeah Elliot and I chatted about this yesterday, I got it backwards when merging the changes and thought that the line was the bug fix, but it actually needs to be taken out


Make TokioMetrics endpoint public

I'm using a function to bundle all my routes for consistency in testing etc that depends on the endpoint types being pub.
-> Also consistency with other middlewares.

Sorry, I have changed it. 🙂


MSID: 92914 Version: 2 DOI: 10.1101/2<IP_ADDRESS>3978

MSID: 92914
Version: 2
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>3978
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=92914
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>3978

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/92914v2
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>3978
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/92914/v2/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

Urgh - this one is a mess.

(Need to check is XSL is still needed for equations in annexe 1)

Urgh - we need an xsl to handle the display equation bug


ndk-sys: Regenerate against NDK r23

Android 12 reached platform stability today, including the first stable release of NDK r23.

Will add some of the new API surface to our safe wrappers in a separate PR. Perhaps it's a good idea to regenerate against identical (r22.1, beta 3) headers first but with newer bindgen, to make the diff more clear? Not that it matters for squash-merges unless we put that in a separate PR too, LMK.
At the same time we might want to start thinking about guarding symbols based on a user-selected version. We could for example have a feature version per NDK or per SDK/API version so that there is a clear up-front contract for the programmer that they can only call certain certain functions if at least some version feature is enabled; that's how the various gtk-rs bindings do it. They have the advantage of directly querying that exact version from pkg-build though, and running into linker errors immediately if things don't match.

I'm generally fine with the PR as is.

At the same time we might want to start thinking about guarding symbols based on a user-selected version. We could for example have a feature version per NDK or per SDK/API version so that there is a clear up-front contract for the programmer that they can only call certain certain functions if at least some version feature is enabled; that's how the various gtk-rs bindings do it. They have the advantage of directly querying that exact version from pkg-build though, and running into linker errors immediately if things don't match.

Is this feature guarding on a per iterm level or generating having different. seperately generated bindings per API version? Does Android NDK provide fine grained metadata to do this?


Feature testing

Merging new React-testing-library front-end tests into dev

Need to first PR into beta


[SPARK-41753][SQL][TEST] Add tests for ArrayZip to check the result size and nullability

What changes were proposed in this pull request?
Adds tests for ArrayZip to check the result size and nullability.
Why are the changes needed?
To make sure they work as expected between non-ANSI and ANSI.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Generated the golden files.

thanks, merging to master!


DEC-209: Dep updates

DEC-209
I added the Pods dir to our gitignore and removed the previously committed versions. This is standard for a cocoapods lib. Not doing so would include not only the 9k lines removed in this PR but another 4-5k lines for the new test pods added here.
There is no functional change caused by removing this dir from the repo as it is equivalent to not committing npm modules while still committing the package.json file.

closing due to bad master starting point


Disabling monitor scale change warning when using two screens

Issue Report Checklist

[ x] Searched the issues page for similar reports
[ x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[ x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ N/A] Could not reproduce inside jupyter qtconsole (if console-related)
[ x] Tried basic troubleshooting (if a bug/error)

[ x] Restarted Spyder
[ x] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ N/A] Tried the other applicable steps from the Troubleshooting Guide

[ x] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
I use two screens with different resolutions. When I drag the Spyder window from one screen to the other, the following message appears:
"A monitor scale change was detected.
We recommend restarting Spyder to ensure that it's properly displayed. If you don't want to do that, please be sure to activate the option
Enable auto high DPI scaling
in Preferences > General > Interface, in case Spyder is not displayed correctly.
Do you want to restart Spyder?"
This warning message appears when the Preferences > General > Interface > Screen resolution setting is set to either "Normal" or "Custom high DPI scaling".
It does not appear when "Enable auto high DPI scaling" is selected, however I do not like the automatic scaling of the window, I prefer when the scaling is the same on both screens.
What steps reproduce the problem?

Open Spyder
With the Preferences > General > Interface > Screen resolution setting set to either "Normal" or "Custom high DPI scaling", drag the window from one screen to the other, which has a different resolution.

What is the expected output? What do you see instead?
I do not want to apply any DPI scaling, as I am perfectly content with how Spyder is displayed on both monitors with the "Normal" setting of the Preferences > General > Interface > Screen resolution menu. Of course I can disable the warning message temporarily by ticking the "Hide this message during the current session" box before clicking the "Dismiss" button of the warning window, but it is kind of tedious having to do it at each session. Is there a way of disabling it permanently?
 You said:

Of course I can disable the warning message temporarily by ticking the "Hide this message during the current session" box before clicking the "Dismiss" button of the warning window, but it is kind of tedious having to do it at each session

Unfortunately, we can't offer an option to hide that warning forever because it would lead to an inconsistent interface if you connect Spyder to different monitors than the ones you describe in this issue.
So, if don't want to take our advice of setting Enable auto high DPI scaling, I'm afraid you'll have to leave with this minor inconvenience, sorry.

Ok no worries, thanks for your response.

Hey @pmassat, thanks for reporting. You said:

Of course I can disable the warning message temporarily by ticking the "Hide this message during the current session" box before clicking the "Dismiss" button of the warning window, but it is kind of tedious having to do it at each session

Unfortunately, we can't offer an option to hide that warning forever because it would lead to an inconsistent interface if you connect Spyder to different monitors than the ones you describe in this issue.
So, if don't want to take our advice of setting Enable auto high DPI scaling, I'm afraid you'll have to live with this minor inconvenience, sorry.

Hi Carlos,
I have the same issue as the original poster, I tried setting "Enable auto high DPI scaling" and restarting Spyder but the error message continues to appear. Is there any way to make this warning disappear??
Thanks in advance!

Given that a lot of people find that warning very annoying and it's also triggered in the wrong circumstances, we will offer an option to not show it again in our next version (5.1.2), to be released shortly.

Even with high dpi autoscaling turned on, there is still a prompt to restart Spyder.  Unfortunately, very often the modal dialog to acknowledge the restart is hidden behind the main window with no means of bringing it to the front.  This locks up Spyder completely necessitating a manual termination of the process and restart.  I personally would find it less annoying if it just did the restart without asking for confirmation.  At the very least the confirmation dialog should not be modal.

@GroovyGeek, please open a new issue about making that dialog non-modal. I understand your point but it's not so easy to do it as it sounds.

Given that a lot of people find that warning very annoying and it's also triggered in the wrong circumstances, we will offer an option to not show it again in our next version (5.1.2), to be released shortly.

Thanks. Now that we work in an increasingly remote environment, the monitor-change-phenomenon happens a lot unfortunately.

Thank you very much for fixing this; much appreciated.


Update Existing Webhook to Automate Payment Marking for Shopify Orders

Description
During the discussion, it was identified that we need to modify the existing webhook functionality to automatically mark orders as approved once payment has been made on Shopify. This will streamline the order approval process and resolve issues encountered in adoc.
Details
Webhook Name: getTransactionAndMarkOrderPaid
Proposed Name: Get Paid Transactions
Topic: order_transactions/create
Format: JSON

Enhancement changes verified and working fine in release 2.23.0. Hence, closing this ticket.


Initial data length requirement for decompressing?

Hi,
I'm just wondering if I always need to store the initial length of the data that is compressed If I want to decompress it later on?  So I always need to store it in two fields I guess?
import me.lemire.integercompression.IntWrapper;
import me.lemire.integercompression.differential.IntegratedBinaryPacking;
import me.lemire.integercompression.differential.IntegratedComposition;
import me.lemire.integercompression.differential.IntegratedIntegerCODEC;
import me.lemire.integercompression.differential.IntegratedVariableByte;

import java.util.Arrays;

public class IntCompressor {

    public static int[] compress(int[] input)
    {
        Arrays.sort(input);
        IntegratedIntegerCODEC codec =  new
                IntegratedComposition(
                new IntegratedBinaryPacking(),
                new IntegratedVariableByte());
        int [] compressed = new int[input.length+1024];

        IntWrapper inputOffset = new IntWrapper(0);
        IntWrapper outputOffset = new IntWrapper(0);
        codec.compress(input, inputOffset, input.length, compressed, outputOffset);
        compressed = Arrays.copyOf(compressed, outputOffset.intValue());

        return compressed;
    }

    public static int[] decompress(int outputLength, int[] compressed)
    {
        int[] decompressed = new int[outputLength];
        IntWrapper recoffset = new IntWrapper(0);
        IntegratedIntegerCODEC codec =  new
                IntegratedComposition(
                new IntegratedBinaryPacking(),
                new IntegratedVariableByte());
        codec.uncompress(compressed, new IntWrapper(0), compressed.length, decompressed, recoffset);

        return decompressed;
    }
}

Will get back to you soon.

I have not forgotten your query.

Sorry about the delay. Please upgrade to the latest version (0.1.6), and try this...
        IntegratedIntCompressor iic = new IntegratedIntCompressor();
        int[] data = ... ; // to be compressed
        int[] compressed = iic.compress(data); // compressed array
        int[] recov = iic.uncompress(compressed); // equals to data

Reopen if this does not meet your needs.


Sending messages with MessageType=1 is not supported

Sending messages with MessageType=1 is not supported？

this also bothers me, I can't forward a type1 message too.

I find a UrlLink file, but it's error to call .say(UrlLink instance), it seems should use the padChat version

Yes, urlLink only support on padChat version at this time, see https://github.com/Chatie/wechaty-puppet/wiki/Compatibility
I will close this issue due to no discussion for months, feel free to reopen this or file a new issue if you have any questions.


[Question] Will it be possible to use this plugin with ionic 6

Presently this plugin will not work with ionic6 and ionic- angular 6 and above

Yes, it works with ionic6.


Client Rectangle Not Updated in attached() in Chrome

clientWidth/clientHeight appear to not be set sometimes within attached() (also happens in ready()). At first I thought it was related to iron-pages, but I was able to create a minimal Plunker that reproduces the problem:
http://plnkr.co/edit/lch33KEQxtEusIrKo79k?p=preview
Note that the advice given here seems to work (see commented out parts in above Plunker), but I feel like a wait should be unnecessary for such a simple case.
This only seems to happen on Chrome, not Firefox or IE.

Cant reproduce in Polymer 1.2.1. I suspect https://github.com/Polymer/polymer/commit/2bffc4c fixed this for you.

JSBin example: http://jsbin.com/kexaho/edit?html,output


Jobs API needs a .NET client

Describe the feature
Since there's a new Jobs API showing up in Dapr in the near future, it should receive support in the .NET client.
As I'm actively advocating for the split out of Dapr client functionality into separate assemblies so that developers can explicitly opt-into those pieces of Dapr they're looking to use and so we can avoid some method naming conflicts (especially once I start hammering out the various specialty state APIs), I thought this would be an excellent place to start as it's quite a lightweight API footprint so far.
Release Note
RELEASE NOTE: ADD Support for Dapr Jobs API

/assign


Add logging statement to print out env vars used by grant loader at the beginning of each run

Chatted with @jrmartino - determined this to be not neccessary


Ingress: PathType is missing

When I enable Ingress I get the following error:
missing required field \"pathType\"
I am running kubernetes on k3s and my kubernetes version is 'v1.23.4+k3s1'.
The version you resolve in the ingress rule is 'networking.k8s.io/v1'. See -> https://github.com/camunda-community-hub/camunda-helm/blob/main/charts/camunda-bpm-platform/templates/_helpers.tpl#L98
But this version seems to require the 'pathType' attribute
https://github.com/camunda-community-hub/camunda-helm/blob/main/charts/camunda-bpm-platform/templates/ingress.yaml#L31
The Kubedashboard  helm plugin for example sets the field to ImplementationSpecific and Portainer does it like this:
            {{- if eq $apiVersion "networking.k8s.io/v1" }}
            pathType: Prefix
            {{- end }}

Both solutions are fine for me. But you can also make this field available by a .Values configuration entry.

The whole ingress resource config is very outdated.
The generated config looks like:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: camunda-bpm-platform
  labels:
    helm.sh/chart: camunda-bpm-platform-7.6.2
    app.kubernetes.io/name: camunda-bpm-platform
    app.kubernetes.io/instance: camunda-bpm-platform
    app.kubernetes.io/version: "7.x.x"
    app.kubernetes.io/managed-by: Helm
spec:
  tls:
    - hosts:
        - camunda-hostname
      secretName: camunda-hostname-tls
  rules:
    - host: camunda-hostname
      http:
        paths:
          - path: /
            backend:
              serviceName: camunda-bpm-platform
              servicePort: 8080

But it should be something like:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: camunda-bpm-platform
  labels:
    helm.sh/chart: camunda-bpm-platform-7.6.2
    app.kubernetes.io/name: camunda-bpm-platform
    app.kubernetes.io/instance: camunda-bpm-platform
    app.kubernetes.io/version: "7.x.x"
    app.kubernetes.io/managed-by: Helm
spec:
  ingressClassName: nginx
  tls:
    - hosts:
        - camunda-hostname
      secretName: camunda-hostname-tls
  rules:
    - host: camunda-hostname
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: camunda-bpm-platform
                port:
                  number: 8080

E.g.

with optional ingressClassName
the tls secretName should be optional
with pathType
with completely different backend configuration


Select doesn't include crucial functionality

Current Behavior
The select component isn't useful for data that may not have unique display names. Say we have a list of warehouses.
warehouses = [
    {
        name: 'Koreatown Warehouse',
        address: 'Los Angeles'
    },
    {
       name: 'Koreatown Warehouse',
       address: 'New York'
    }
]

The current state of the select component would make it impossible to use with data like this.
If you look at this select api, it is much more useful https://v2.vuetifyjs.com/en/api/v-select/#props-items
Items can be passed as an array of objects and user can choose which field will be displayed, and can have a custom key for each row
Expected Behavior
described above sorry
Tamagui Version
not exactly important

Reproduction
not relevant

System Info
not relevant

I concur


What's the purpose of dns providers ?

Hi,
first thanks a lot for this module.
Sorry for the noob question but what's the purpose of using DNS providers ?
let's encrypt as itself doesn't use it if I don't get wrong ?
I want to know the way it works because my dns provider is ovh but my dns zone is managed by a private server.
Many thanks !

Let's encrypt offers two ways to authenticate control over a domain requesting a certificate. One method is via an HTTP request and the other is via a DNS record. There is a dynamic string that needs to be found by the Let's encrypt servers to complete verification and sign your signing request.
This addon does the verification with DNS records and therefore needs access to dynamically insert records.

@Cygnust With v0.4.0 you don't need to use a DNS provider for domain validation. Just choose the HTTP method instead. See the README for more information.


HardwareProjects/SingleBoardComputers

Single Board Computers

Single Board Computers

6 Fantastic Single Board Computers (SBC) compared - Geeky Gadgets

Getting RISC-V (again): Milk-V's Mars CM / Jeff Geerling

#2677 closes #2666


Issue in initializing variables in Ballerina

Description:
Please consider below code.
public type Client client object {

    //JMS connection related objects
    jms:Connection jmsConnection;
    jms:Session jmsSession;
    jms:QueueSender queueSender;

    public function __init(MessageStoreConfiguration storeConfig, boolean
        enableGuranteedDelivery = false, Client? failoverStore = ()) returns error? {
             self.storeConfig = storeConfig;
             check self.intializeMessageSender(storeConfig);
        }

    //init client
    function intializeMessageSender(MessageStoreConfiguration storeConfig) returns error? {

        string providerUrl = storeConfig.providerUrl;
        self.queueName = storeConfig.queueName;

        string? userName = storeConfig["userName"];
        string? password = storeConfig["password"];

        string acknowledgementMode = "AUTO_ACKNOWLEDGE";
        string initialContextFactory = getInitialContextFactory(storeConfig.messageBroker);

        // This initializes a JMS connection with the provider.
        self.jmsConnection = new({
                initialContextFactory: initialContextFactory,
                providerUrl: providerUrl
            });

        // This initializes a JMS session on top of the created connection.
        self.jmsSession = new(self.jmsConnection, {
                acknowledgementMode: acknowledgementMode
            });

        // This initializes a queue sender.
        self.queueSender = new(self.jmsSession, queueName = self.queueName);
    }

}

The variables
jms:Connection jmsConnection;
jms:Session jmsSession;
jms:QueueSender queueSender;

are not recognized as initialized. The user is confused why as he has actually initialized them. This is affecting the user experience because as a programmer, I have called intializeMessageSender function and I am expecting variables are initialized.
Steps to reproduce:
N/A
Affected Versions:
Ballerina version: 0.991.0

According to the spec; this is the expected behaviour. Hence, not a bug.


quick-look-button-tapped

Hey, thanks for this code. However the eventlistener doesn't work on your example or when trying on my end.
Any suggestions?
YOUR CODE:
  <script>
    const arButton = document.querySelector("ar-button");
    arButton.addEventListener("quick-look-button-tapped", () => {
      window.location.href = "https://https://www.nasa.gov/";
    });
  </script>

APPLE DEV CODE which works using a regular A link, but just not using your ar-button
<script>
document.getDocumentbyID("ar-link-2").addEventListener("message", function (event) {
    if (event.data == "_apple_ar_quicklook_button_tapped") {
        window.location.assign("https://google.com");
    }
}, false);
</script>

Any assistance would be great. Thanks!

Should be fixed with #3 , can you confirm?

Hey, thanks so much for taking a look at this.
I just checked on your site and reloaded the js
now the button doesn't send you into AR so I can't confirm if that fixed the link at this point.

@mtdmali 's pull request has been published on npm as version 0.3.0 - @eemaano does it fixed the issue?