Add support for Path in CheckpointSaver

Adds support for Path objects alongside str, per #1573. Additional tests were added to explicitly test __init__ of CheckpointSaver, since #1573 talks about subclassing.

Related to #1573

Before submitting

[x] Have you read the contributor guidelines?
[x] Is this change a documentation change or typo fix? If so, skip the rest of this checklist.
[x] Was this change discussed/approved in a GitHub issue first? It is much more likely to be merged if so.
[x] Did you update any related docs and document your change?
[x] Did you update any related tests and add any new tests related to your change? (see testing)
[x] Did you run the tests locally to make sure they pass?
[x] Did you run pre-commit on your change? (see the pre-commit section of prerequisites)

😞 Not sure what went wrong with Jenkins, does it need some permission to checkout from my fork?

@cojennin Thanks for the contribution! The Jenkins issue on our end -- the tests ran and look good.

Looks good to me! Thanks for the contribution, @cojennin!


⚠ Bofrost.be has degraded performance

In 0b597ff, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1131 ms

Resolved: Bofrost.be performance has improved in 54a284c.


Missing releasedate tag in nfo.

I have not run Javinizer in a while... I just updated to latest and see it's no longer creating  tag in the NFO file.
However, I do see  tag.
Was this intentional change? Reason?
And is it configurable?
Thanks for all your work.

It was changed to premiered to conformat with the latest Kodi standards.

Ah ok. I wasn't aware Kodi changed their standards.


Combine Tested function with Assert not working

Love the new assert functionality.  When testing it out, I came across this, where test result is not printed.
Everything in this screenshot is working as it should:

But if I nest the function I'm trying to test with 'Assert', the result is not printed

I will double check this as well, but I think you're missing a closing brace on the replEquals lines at the end - and I did notice as I was putting it in that we end up not printing this as an error. I'm still thinking on the best way of representing this.
That might help, but I do also suspect that I'm not always going to parse a suitable response from procedures. I have been experimenting with overloaded procedures though, so we should be getting closer.

Ah, yes, this looks like it'll be fixed when I do the next release, which will hopefully be in the next few hours


Add IGF school to JetBrains

Add Maryville University to Jet brains

@BeataLotos I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host igf.edu not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


Default argparser for Trainer

Before submitting

[X] Was this discussed/approved via a Github issue? (no need for typos, doc improvements)
[X] Did you read the contributor guideline?
[ ] Did you make sure to update the docs?
[X] Did you write any new necessary tests?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

What does this PR do?
Adds a default argument parser for Trainer(#916)
Closes #916
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Hello @skepticleo! Thanks for updating this PR.

In the file tests/test_trainer.py:

Line 859:1: W293 blank line contains whitespace
Line 913:1: W293 blank line contains whitespace

How about a class method cosntruct:
class Trainer(...):
    @classmethod
    def create_from_args(cls):
        args = ArgParser(...)
        # generate the arguments
        # parse the arguments as hparams
        return cls(hparams)

so later you just call trainer = Trainer.create_from_args() and done lol

let's keep this to another PR :)

let's keep this to another PR :)

in this release or another?

@skepticleo mind rebasing so we can merge?
:)

merged in #1023 for time-sensitive rebase

@Borda is attributing author for that commit

https://www.git-tower.com/learn/git/faq/change-author-name-email


Set up CD via travis

Right now I'm publishing manually from the terminal. This is error prone and should stop, so we should do continuous deployment via travis.

Done in #31.


Feature: hooks for image loads / uploads for URL preprocessing / postprocessing

In markdown documents we often have relative URLs to images which should be customly mapped to some download_url before display. On the other direction as well, it would be nice to support a hook for uploading images to a directory (with a custom code) and replacing the base64 datauri with an absolute or relative URL to the newly uploaded image (base directory would often be the images directory). For uploads this functionality would be similar to how we upload images in GitHub issue comments: the file is uploaded to the server and then the URL is used (except in GitHub the absolute URLs are used, whereas in a small blog/website context, being able to use relative URLs along with a base directory for images is more natural)

Also, for Markdown editor, when editing source code even when images are embedded as datauris, it would be nice to allow to replace the datauris with some special macros/values (e.g. ![](lexical://tmpimage1.jpg) ) to facilitate manual editing of Markdown using datauri's for image embeds. I guess, this can be somehow implemented in the Markdown plugin, or even in user code, but an example of achieving this would increase the practicality of the Markdown editing mode when working with images

I also found these bugs when trying out image pasting functionality in the Playground:

https://github.com/facebook/lexical/issues/6256
https://github.com/facebook/lexical/issues/5474

Context: I'm building a simplistic single-file 500LOC analog of https://mdxeditor.dev/ for RTF editing of Markdown files stored in GitHub repos, manipulated with GitHub API, supporting uploading/displaying images (available at https://vadimkantorov.github.io/moncms).

Housekeeping is here :P Closed in favor of https://github.com/facebook/lexical/issues/6256


Add pagination to RangeDetailView

Closes #3731

This seems like a small PR
If this solves the issue, should I add any tests in this PR for the same?


fix: allow overriding of StackOverflow configuration

Hey, I just made a Pull Request!
I am currently working on integrating our backstage instance with a private stackoverflow instance.
To make the frontend work I have proxied the private SO API via the proxy functionality.
But for the backend this means that it will try to go out and hit the public DNS and will require authentication.
To combat this I want to be able to configure the proxy URL for the frontend and the public URL for the backend. Therefor I want to be able to override the config when instantiating the search indexer. Like this
  indexBuilder.addCollator({
    schedule,
    factory: StackOverflowQuestionsCollatorFactory.fromConfig(env.config, {
      logger: env.logger,
      baseUrl: env.config.get('stackoverflow.backendBaseUrl'),
      requestParams: {
        tagged: ['my-tag'],
        pagesize: 100,
        order: 'desc',
        sort: 'activity',
      },
    }),
  });

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

@iamEAP looks like you recently approved something in this area.

Not sure why the test run failed. Doesnt seem at all related to the changes i have made.

hi @aitherios this seems to be failing on a single CI run but not for anything i have changed.
Any chance you can re-start the CI?

I gave it a nudge!

Great thanks!
Is this good to merge then?

@aitherios @freben is this ok to merge?

Checking!


#41: update_one tests

#41

Should we create new struct for the error Collision("New content has the same id")? Word "Collision" can be confusing here since it can be caused not only by hash collision but also by wrong caller's code. The idea is that update_one is a quick way to update index without checking all resources in situations when the caller knows for sure that it was changed. E.g. when the caller edits the resource.
So, if the caller doesn't have information that the resource changed, it's a mistake to call this method. But if the resource was changed indeed (timestamp must be changed, too) and new content has same size and same CRC-32 hash — then it's a collision indeed.
We can also split single error into two different errors for clarity, depending on was the timestamp changed or not.

Superseded by #72


Upgrade pulumi-terraform-bridge to v3.81.0

This PR was generated via $ upgrade-provider pulumiverse/pulumi-scaleway --kind=bridge --target-bridge-version=latest.

Upgrading pulumi-terraform-bridge from v3.80.0 to v3.81.0.

Superseded by #282


[QuickAccent] Add support for Finnish

Summary of the Pull Request
Add Finnish characters to Quick Accent.
PR Checklist

[ ] Closes: There isn't an issue for this yet
[ ] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[ ] Tests: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments
I have added the Finnish language accent characters to Quick Accent.

Validation Steps Performed
I'll be honest, I copied the implementation for Swedish and changed the order (ä is much more common in Finnish). It should work

Hi @tkassala ,
Thanks for opening the PR.
Did you try compiling the changes locally? It doesn't seem to build.
There is also missing the settings page changes. Would you like the PowerToys team to take it from here?


support Buildkite

Python id has an implementation
https://github.com/di/id/blob/main/id/_internal/oidc/ambient.py#L117

done


Investigate adding views or download information for workflows

Is your feature request related to a problem? Please describe.
Seeing how many people have looked at or downloaded a workflow can help users determine which workflows are likely of higher quality.
Describe the solution you'd like
In the UI, we should surface some information regarding usage of a workflow. This could be as simple as how many views a page for a workflow gets, or how many times a zip bundle is downloaded. We could possibly also use how many times our API is called (TRS/proprietary)
┆Issue is synchronized with this Jira Story
┆Issue Type: Story
┆Sprint: Backlog
┆Issue Number: DOCK-1533

Might be able to seed this with information from google analytics

Some ideas. Downloading doesn't make much sense in our case. I think it would be cooler to have views and launches.
Views

could simply be the number of page views for a tool/workflow (might be able to use Google Analytics)
count of the TRS endpoints being called
a combination

Launches

a count for the number of clicks of our launch with buttons
a count of launching using our CLI
a combination

I made a doc on the google drive (under storytimes)

https://docs.google.com/document/d/1o_SKfRZHBNgaj2H6_BfLt7N6rrWBgYKMcBLU-XnWwUE/edit

https://github.com/dockstore/dockstore/issues/3781


chore: update dependencies

refs https://github.com/pallets/markupsafe/issues/284
let's see if this fixes the container.

this appeared to work in the dev cloud project.


Styles update

Update styles of documentation site to be in accordance with buildingsmart styles as per buildingsmart.org

Logos and color schemes can be found in buildingsmart.org source css files and in the intranet under references. If the logos are not of high enough quality across multiple devices, we will require vectorized versions.

A new styleguide has been issued by buildingsmart which can be divided into the following categories
[ ] Logos
[ ] Colors
[ ] Font
The site needs to be updated accordingly

.svg format logos required in styleguide along with source files for fonts.


Bug :  From Binding Falis When Using Complex Object

The Problem
The model binder does not work with requests that have a colloction.
When running the the sample below the PricingTiers colloction is empty.
Here is the steps/sample to reproduce the issue:

Program.cs

using FastEndpoints;

var builder = WebApplication.CreateBuilder(args);

builder.Services.AddFastEndpoints();

var app = builder.Build();

app.UseFastEndpoints();

app.Run();

CreateProductEndpoint.cs

public class CreateProductRequest
{

    [FromForm]
    public required ProductDto Product { get; set; }

    public class ProductDto
    {
        public required IFormFile Image { get; set; }
        public required IEnumerable<PricingTierDto> PricingTiers { get; set; }
    }

    public class PricingTierDto
    {
        public required uint Tier { get; set; }
        public required decimal Price { get; set; }
    }
}

public class CreateProductEndpoint : Endpoint<CreateProductRequest>
{

    public override void Configure()
    {
        Post("/products");
        AllowAnonymous();
        AllowFormData();
    }

    public override async Task HandleAsync(CreateProductRequest req, CancellationToken ct)
    {

        if (!req.Product.PricingTiers.Any())
            ThrowError(p => p.Product.PricingTiers, "Pricing Tiers is empty");

        // Some other logic

        await SendOkAsync(ct);
    }
}

Here is the request screenshot:

The Workaround
Introduce a string property in the collection;

CreateProductEndpoint.cs

public class CreateProductRequest
{

    [FromForm]
    public required ProductDto Product { get; set; }

    public class ProductDto
    {
        public required IFormFile Image { get; set; }
        public required IEnumerable<PricingTierDto> PricingTiers { get; set; }
    }

    public class PricingTierDto
    {
       //  workaround
        public required string Hack { get; set; }

        public required uint Tier { get; set; }
        public required decimal Price { get; set; }
    }
}

public class CreateProductEndpoint : Endpoint<CreateProductRequest>
{

    public override void Configure()
    {
        Post("/products");
        AllowAnonymous();
        AllowFormData();
    }

    public override async Task HandleAsync(CreateProductRequest req, CancellationToken ct)
    {

        if (!req.Product.PricingTiers.Any())
            ThrowError(p => p.Product.PricingTiers, "Pricing Tiers is empty");

        // Some other logic

        await SendOkAsync(ct);
    }
}

Here is the request screenshot:

Enviroment
Version : FastEndpoints - 5.32.0
Framework : .NET9

i can't seem to reproduce the problem.
copy/pasted your code and i get correct request model.
can you check again and if still doesn't work, attach a repro project i can have a look at?

Thank you for the quick response,
What you are testing is the workaround not the actual bug.
if remove the string property it won't bind the colloction.

fixed in v<IP_ADDRESS>-beta
thanks for reporting 🙏
note there's some minor breaking changes in this version due to upgrading to xunit v3.
have a look at the changelog. shouldn't take more than a few minutes to migrate.


Transforming streamlines

@oesteban told me this transforms surfaces. Why not streamlines?
If I am interested in contributing something like that, where should I start looking?

I assume we are talking of nonparametric streamlines :)
@effigies - does the new surface API facilitate the representation of streamlines as PointSets?

I don't know enough about streamlines to know how smoothly it will fit into the CoordinateImage API, but that largely disentangles the topology from the coordinates, so it seems likely we can find something similar.


Single request per session option

If there are complex CSRF parameters (e.g. name of the parameter is also of a unique value), currently, native Burp session management doesn't support handling them. When I want to configure it manually, and use as part of Active scanner, there are many more requests in session tracer. Would it be possible to somehow bind this extender to session manager, so that a request would be used only once per valid session? At the moment, when I have 2 tabs of CPH, each of which is set to replace "a value returned by issuing a single request", there are many extra requests made, whereas 1 or 2 per the entire session would be all that is necessary.
Many thanks

Hi, @Hipapheralkus!
If I understand this correctly, the existing caching mechanism should allow you to do this:

Configure a CPH tab to watch for the the response that sets the CSRF token:

Configure a second tab to use the first tab's cached value:


⚠ Thumbnails API Endpoint has degraded performance

In e1b40ae, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 1207 ms

Resolved: Thumbnails API Endpoint performance has improved in 7e92059 after 16 minutes.


batch: clean up query manager status when query done

maintain a HashMap in QueryManager (queryId -> QueryExecution). When QueryResultFetcher finished a query, go to QueryManager and delete corresponding QueryExecution.

Could you provoid more details about this?

Could you provoid more details about this?

I'm thinking whethe we should store the QueryExecution in QueryManager. So that when ctrl-c cancel a query, we can have more information to operate on.

When ctrl-c is received, we should call the cancel method of query runner, which stops the running query.

When ctrl-c is received, we should call the cancel method of query runner, which stops the running query.

Yes. But the problem is how to find corresponding query. QueryManager is for one FE node, ctrl-c is for one session.

Just store the current running query id in session?

Per postgresql protocol, ctrl-c will issue a new connection send the cancel request with PID. Therefore, it's not easy to let pg protocol aware of query id.

Just store the current running query id in session?

I think I get your point. Seems ok.
So the query execution will not be stored in Query Manager. For future we might need export some running info from frontend. I guess we still need it. But I agree that this issue is not meaningful now.


Documentation Fix

This is a fix to some of the documentation to make it more accurate to how the project is actually built.
Suggestions and Modifications Welcome.

found a few more things I had to add...


Game crash

Hello, my game crashed. According to the logs, your mod is to blame.
Minecraft version: 1.21.1
Fabric version: 0.16.9
NBT Editor version: 2.0.2
Crash log (on the website mclo.gs): https://mclo.gs/l5IBsmM
Crash log (on the github): https://gist.github.com/MacroVoid/28eeff22b45702121f40ef89dadc5b1b
Crash log №2: https://mclo.gs/iWi843u or https://gist.github.com/MacroVoid/e0b8361d8b4af1727e5f7ec100dc05b3

Do you remember what you were doing right before the game crashed?
ViaFabricPlus was also briefly mentioned in the crash log - are you able to replicate this crash without it? (There may be a mod conflict)

When moving enchanted items from one slot to another with the mouse. I don't know if ViaFabricPlus is involved in this


set openning state to false for TextInput onChangeText

Is this getting merged?

Added in this commit thank you @manpreet1990


OP kicks players[Bug] Forge 1.20.1 Server

Describe the Bug
If I install this mod onto my server, it kicks anyone and everyone who is OPed out. Deleted my down all my mods one by one to find this as the issue
Reproduction Steps

Create a Forge 1.20.1 Server
Add Create Unlimited mod to server and client
Join server
OP yourself with the server terminal
Get kicked

Expected Result
Kicked from the game, back on server list. Cannot rejoin unless unOPed.

Screenshots and Videos
No response
Log
https://gist.github.com/wabbitking1234/4be188752f3220171a049761b872240a
Operating System
Windows 11
Mod Build
0.5.0
Minecraft Version
1.20.1
Modloader
Forge
Modloader Version
47.2.0
Other Mods
Just this one
Additional Context
No response

Trying to fix this, but due to Minecraft not wanting to give me the actual error, it's a little difficult. Just know that it's being worked on.

Thanks for the knowledge! I really loved this mod on my singleplayer worlds, and Absolutely liked that you ported NTL into 1.20.1. It would be nice if you could notify me somehow if you fix it.
Also, kinda unrelated though, it is godly fun when you mix this with Create Interactive's train derailment. Weeeee goes the player as he gets cannon fired off to who knows where beyond the build limit due to incredibly cursed train rail placement.

new lukewarm-fix is out on curse and modrinth.


Remove "End user experience section"

This section provides no information of any use to the reader.  It just arbitrarily lists some information and says nothing about the associated user experience.

@billmath : May we have your view on this suggested text removal?

#sign-off

@JeremyTBradshaw  Did you mean to close this pull request? It was approved by the writer, but I can't merge anything because you closed it. If you can reopen this pull request, I can go ahead and do the merge. Thanks!

@eross-msft : Looks like the author has removed their entire windowsserverdocs fork, thereby removing any and all branches attached to that fork.
The only way to recreate the PR would be for any other user to replicate the changes in their own repo and open a new PR.

Then again, the change is fairly simple, simple removal of a coherent dozen lines.

@illfated  I noticed that, too. I'm guessing it's that the contributor thought the process ended with the "sign off" text. Unfortunately, I don't think it can be resurrected even on the contributor's side...I think it would have to be created new again. If the contributor doesn't respond and recreate the pull request, would you want to do it for them? Thanks!

Sure, not a problem. Should only take a dozen minutes.

@eross-msft @illfated Woops! Very sorry about the prematurely closure.  I was cleaning up my forks after another PR of mine was merged earlier.  Will try not to repeat this again.

@JeremyTBradshaw   It definitely happens. Thank you so much for taking the time to make the change in the first place!


Non-trivial-solution tests

This PR implements a check that my driver test is always returning a non-trivial solution.
Currently, the test is not passing. @marcovc can you give me a hint, why this might be the case?

Yes. There these two outstanding PRs that have some fixes. Do you mind if I wait for them to get in and then rebase this PR on top of master? Or can I merge them to this PR first?

I did the merge into this PR quickly. I hope I have it done correctly.
Not sure whether this was smart, as it might result in merge conflicts later. But at least, we can now debug it a little bit easier...

The problem was that you're calling the solver in the token pair:
token_pair=('token0', 'token1'),

while your json has no such tokens.
I fixed it, but I would suggest that this PR's doesn't get merged as it is (since it includes the other 2 that are still being reviewed). Might be better to discard this one, and create a new one cherry picking just the 3 relevant commits?


Load local files

Within my plugins src file i have the "main/html" which the webview loaded. I have created an "images" and a "css" folder within "src" and am trying to load them into "main.html" but am getting "Not allowed to load local resource".
What is the correct way to load external local css, images etc?

@Nineswiss, you can't do that because the Sketch plugin (once built) has no idea that the src folder exists. You would need to put those files under the "resources" folder for them to be usable.
If you want a clean separate and automated from src and dist, then you'd have to use something like webpack to manage that.
If this answers your question, please close this issue. If not, then please reply with a followup question.

I'm missing something here. I have the following layout:
resources/window.html
resources/css/bootstrap.css
resources/js/jquery.js

And in window.html I am trying to load those css and JS files:
<link rel="stylesheet" href="./css/bootstrap.css">

<script src="./js/jquery.js"></script>

But I don't think they are loading. What am I missing here?

@scuster1-chwy what if these files are created at runtime (i.e. exported layers of an artboard)? Can I still populate the resource folder at runtime so that I can load files with relative path instead of file:///?


Inconsistent execution times for Prisma Generate command

EDIT 2024-07-18
I've observed significant variations in execution times in the same schema/model, which don't seem to correlate directly with any changes in the schema or known factors. The command is intermittently running significantly faster or slower without a clear cause.
Bug description
Hello, I got a fairly large schema with ~ 201 models, and 69 views, and I was used to waiting ~ 75s to prisma generate to run, but today, I added a new model, and it suddenly went faster again, now it's generating in about 12s (17s real time)
I've added the gist with the before/after schema in a gist
There's basically jsut a few new fields and a new table:

How to reproduce

Add the before.prisma schema
Run prisma generate
check time
Add the after.schema schema
Run prisma generate
compare time

Expected behavior
To be slower?! Just kidding, but there's something srange somewhere.
Prisma information
schemas: https://gist.github.com/renatocron/444ded8be1efebd54d8c088eb7a07260
Environment & setup

OS: Linux
Database: Postgres
Node.js version: 18
CPU:  AMD x86, cpu fixed at cpu MHz 4049.734 Ryzen 7 3700X

Prisma Version
Prisma v5.15.0

This is the perfect Friday evening issue - doesn't make any sense at all, so let's dive in 🤡
On first look I can not confirm what you are seeing:
PS C:\Users\Jan\Documents\throwaway\24529> npx prisma generate --schema before.prisma
Prisma schema loaded from before.prisma

✔ Generated Prisma Client (v5.15.0) to .\node_modules\@prisma\client in 196.35s

Start using Prisma Client in Node.js (See: https://pris.ly/d/client)

...

vs.
PS C:\Users\Jan\Documents\throwaway\24529> npx prisma generate --schema after.prisma
Prisma schema loaded from after.prisma

✔ Generated Prisma Client (v5.15.0) to .\node_modules\@prisma\client in 201.70s

Start using Prisma Client in Node.js (See: https://pris.ly/d/client)

...

So both are pretty slow.
This was on my completely overloaded local Windows, so confirming again in a cloud Ubuntu machine:
npx prisma generate --schema before.prisma
Prisma schema loaded from before.prisma

✔ Generated Prisma Client (v5.15.0) to ./node_modules/@prisma/client in 12.05s

Start using Prisma Client in Node.js (See: https://pris.ly/d/client)
...

vs
npx prisma generate --schema after.prisma
Prisma schema loaded from after.prisma

✔ Generated Prisma Client (v5.15.0) to ./node_modules/@prisma/client in 71.71s

Start using Prisma Client in Node.js (See: https://pris.ly/d/client)

That is not like on my Windows machine, but also not what you reported before.
I double checked that I did not misname the files:
gitpod /workspace/prisma-repro-24529 (main) $ ls -l
total 416
-rw-r--r-- 1 gitpod gitpod 207533 Jun 14 16:14 after.prisma
-rw-r--r-- 1 gitpod gitpod 205187 Jun 14 16:14 before.prisma

🙈

Great, as soon as I add some more eyes, they suddenly behave differently:
time npx prisma generate --schema before.prisma &&
Prisma schema loaded from before.prisma

✔ Generated Prisma Client (v5.15.0) to ./node_modules/@prisma/client in 27.85s

Start using Prisma Client in Node.js (See: https://pris.ly/d/client)
...

real    0m35.474s
user    0m41.355s
sys     0m2.864s

time npx prisma generate --schema after
.prisma
Prisma schema loaded from after.prisma

✔ Generated Prisma Client (v5.15.0) to ./node_modules/@prisma/client in 31.33s

Start using Prisma Client in Node.js (See: https://pris.ly/d/client)
...

real    0m37.711s
user    0m46.096s
sys     0m2.755s

Can you confirm again @renatocron that you are seeing after.prisma being generated faster than before.prisma? Thanks.

Yep, @janpio still happening, I'm not crazy!
before md5sum: a58ac883ff2b75435a9b77b27a0cc298  prisma/schema.prisma
after md5sum: 4dc76b8cafbb66fc4c84614151b8a1d7  prisma/schema.prisma

I even copied from your repo, instead of my gist (same hash, not diff in there)
I've added one more, and run again
real	0m16.365s
user	0m20.227s
sys	0m2.258s
even faster :boom: hahaha

Hello,
Just an update, as I saw the unconfimred flag. I got an AMD Ryzen 7 3800X 8-Core Processor server, and tested again:

asdf install nodejs  18.19.0
asdf global nodejs  18.19.0
git clone https://github.com/janpio/prisma-repro-24529.git
npm i

before.prisma
time npx prisma generate --schema before.prisma
Prisma schema loaded from before.prisma

✔ Generated Prisma Client (v5.15.0) to ./node_modules/@prisma/client in 74.97s

Start using Prisma Client in Node.js (See: https://pris.ly/d/client)
```
import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
```
or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate)
```
import { PrismaClient } from '@prisma/client/edge'
const prisma = new PrismaClient()
```

See other ways of importing Prisma Client: http://pris.ly/d/importing-client

┌─────────────────────────────────────────────────────────────┐
│  Deploying your app to serverless or edge functions?        │
│  Try Prisma Accelerate for connection pooling and caching.  │
│  https://pris.ly/cli/--accelerate                           │
└─────────────────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────────────┐
│  Update available 5.15.0 -> 5.15.1                      │
│  Run the following to update                            │
│    npm i --save-dev prisma@latest                       │
│    npm i @prisma/client@latest                          │
└─────────────────────────────────────────────────────────┘

real	1m22.290s
user	1m28.576s
sys	0m2.765s

after.prisma
time npx prisma generate --schema after.prisma
Prisma schema loaded from after.prisma

✔ Generated Prisma Client (v5.15.0) to ./node_modules/@prisma/client in 19.34s

Start using Prisma Client in Node.js (See: https://pris.ly/d/client)
```
import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
```
or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate)
```
import { PrismaClient } from '@prisma/client/edge'
const prisma = new PrismaClient()
```

See other ways of importing Prisma Client: http://pris.ly/d/importing-client

┌─────────────────────────────────────────────────────────────┐
│  Deploying your app to serverless or edge functions?        │
│  Try Prisma Accelerate for connection pooling and caching.  │
│  https://pris.ly/cli/--accelerate                           │
└─────────────────────────────────────────────────────────────┘

real	0m27.968s
user	0m33.640s
sys	0m2.757s

Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         43 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  16
  On-line CPU(s) list:   0-15
Vendor ID:               AuthenticAMD
  Model name:            AMD Ryzen 7 3800X 8-Core Processor
    CPU family:          23
    Model:               113
    Thread(s) per core:  2
    Core(s) per socket:  8
    Socket(s):           1
    Stepping:            0
    Frequency boost:     enabled
    CPU max MHz:         3900.0000
    CPU min MHz:         2200.0000
    BogoMIPS:            7799.63
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf
                          rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext
                         perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves
                          cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmlo
                         ad vgif v_spec_ctrl umip rdpid overflow_recov succor smca sme sev sev_es
Virtualization features:
  Virtualization:        AMD-V
Caches (sum of all):
  L1d:                   256 KiB (8 instances)
  L1i:                   256 KiB (8 instances)
  L2:                    4 MiB (8 instances)
  L3:                    32 MiB (2 instances)
NUMA:
  NUMA node(s):          1
  NUMA node0 CPU(s):     0-15
Vulnerabilities:
  Itlb multihit:         Not affected
  L1tf:                  Not affected
  Mds:                   Not affected
  Meltdown:              Not affected
  Mmio stale data:       Not affected
  Retbleed:              Mitigation; untrained return thunk; SMT enabled with STIBP protection
  Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl and seccomp
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:            Mitigation; Retpolines, IBPB conditional, STIBP always-on, RSB filling, PBRSB-eIBRS Not affected
  Srbds:                 Not affected
  Tsx async abort:       Not affected

Now again, on an Intel(R) Xeon(R) E-2288G CPU @ 3.70GHz
before.prisma
time npx prisma generate --schema before.prisma
Prisma schema loaded from before.prisma

✔ Generated Prisma Client (v5.15.0) to ./node_modules/@prisma/client in 73.22s

Start using Prisma Client in Node.js (See: https://pris.ly/d/client)
```
import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
```
or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate)
```
import { PrismaClient } from '@prisma/client/edge'
const prisma = new PrismaClient()
```

See other ways of importing Prisma Client: http://pris.ly/d/importing-client

┌─────────────────────────────────────────────────────────────┐
│  Deploying your app to serverless or edge functions?        │
│  Try Prisma Accelerate for connection pooling and caching.  │
│  https://pris.ly/cli/--accelerate                           │
└─────────────────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────────────┐
│  Update available 5.15.0 -> 5.15.1                      │
│  Run the following to update                            │
│    npm i --save-dev prisma@latest                       │
│    npm i @prisma/client@latest                          │
└─────────────────────────────────────────────────────────┘

real	1m17.353s
user	1m21.976s
sys	0m1.123s

after.prisma
time npx prisma generate --schema after.prisma
Prisma schema loaded from after.prisma

✔ Generated Prisma Client (v5.15.0) to ./node_modules/@prisma/client in 12.80s

Start using Prisma Client in Node.js (See: https://pris.ly/d/client)
```
import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
```
or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate)
```
import { PrismaClient } from '@prisma/client/edge'
const prisma = new PrismaClient()
```

See other ways of importing Prisma Client: http://pris.ly/d/importing-client

┌─────────────────────────────────────────────────────────────┐
│  Deploying your app to serverless or edge functions?        │
│  Try Prisma Accelerate for connection pooling and caching.  │
│  https://pris.ly/cli/--accelerate                           │
└─────────────────────────────────────────────────────────────┘

real	0m16.985s
user	0m20.775s
sys	0m1.080s

 Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         39 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  16
  On-line CPU(s) list:   0-15
Vendor ID:               GenuineIntel
  Model name:            Intel(R) Xeon(R) E-2288G CPU @ 3.70GHz
    CPU family:          6
    Model:               158
    Thread(s) per core:  2
    Core(s) per socket:  8
    Socket(s):           1
    Stepping:            13
    CPU max MHz:         5000.0000
    CPU min MHz:         800.0000
    BogoMIPS:            7399.70
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology n
                         onstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowpr
                         efetch cpuid_fault epb invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xs
                         aveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d arch_capabilities
Virtualization features:
  Virtualization:        VT-x
Caches (sum of all):
  L1d:                   256 KiB (8 instances)
  L1i:                   256 KiB (8 instances)
  L2:                    2 MiB (8 instances)
  L3:                    16 MiB (1 instance)
NUMA:
  NUMA node(s):          1
  NUMA node0 CPU(s):     0-15
Vulnerabilities:
  Itlb multihit:         KVM: Mitigation: VMX disabled
  L1tf:                  Not affected
  Mds:                   Not affected
  Meltdown:              Not affected
  Mmio stale data:       Mitigation; Clear CPU buffers; SMT vulnerable
  Retbleed:              Mitigation; Enhanced IBRS
  Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl and seccomp
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:            Mitigation; Enhanced IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
  Srbds:                 Mitigation; Microcode
  Tsx async abort:       Mitigation; TSX disabled

From your results, the only strange thing is that your cloud Ubuntu machine got the results the inverted (after is the ~ 73.22s like mine before is on AMD or Intel), which make things even stranger.
What is the node version and hardware specs? Is this even remotely possible to affect this (as I understand, the JS part of prisma is mostly a bind to the rust lib)

I got some news.
I've added 5 schemas to https://github.com/renatocron/prisma-repro-24529
Each one of them, has few tables, in just one table. The time really increases when I added a new FK to my "user" table (that already has many incoming FKs) but for each table I usually include 3 fks (created by, updated by, removed by), the slow down really increase when I added the second FK
If i add a empty field, from the user table ("pessoa") back to the new table, the generate time goes back again to ~20s.
before.prisma 11.72s (this has just the new table, no FK's)
after-1.prisma 11.64s (this has the new table, with new fks, but no FK to Pessoa)
after-2.prisma 20.83s (new FK to pessoa, "criador")
after-3.prisma 63.40s (new FK to pessoa, "atualizador")
after-4.prisma 56.17s
after-5.prisma 13.48s
diff from after-1 to after-2 (9 secs increase)

diff from after-2 to after-3 (42 secs increase)

Hope this helps to understand what's is the issue

Just another update, I've keep working and adding new tables with more refences to ours users table, it keep going up/down randomly (but consistently over the same schema, no matter what I change in the file order, naming, etc)

Files after-6-just-new-tables.prisma and after-7-one-more-table.prisma added to the repo.

Hi @janpio I know you've been busy, but can you reevaluate the tags? Is there anything I can do to confirm this bug?

Performance Analysis Update: Foreign Key Impact on prisma generate
Key Finding: User Table Foreign Key Bottleneck
I've identified a significant correlation between foreign key relationships to the user table and prisma generate performance. The crucial discovery is that removing user-related FKs (created_by, updated_by, deleted_by) dramatically improves generation time.
Test Setup

Created strip-fk.pl to systematically remove relations
Database structure:

233 models
241 foreign keys referencing the user table

Test schemas:

Original schema
Reduced schema (user FKs removed)

Benchmark Results

Prisma Version
Node Version
Original Schema
Reduced Schema
Improvement

v5.20.0
v18.19.0
149.49s
4.17s
35.85x faster

v5.20.0
v20.17.0
72.04s
3.09s
23.31x faster

v5.21.1
v20.17.0
18.07s
3.18s
5.68x faster

v5.21.1
v18.19.0
140.61s
4.03s
34.89x faster

Key Observations

Node.js Version Impact

Node v20.17.0 significantly outperforms v18.19.0
Same Prisma version (v5.20.0) shows ~50% improvement with newer Node

Prisma Version Improvements

v5.21.1 shows major performance gains over v5.20.0
Most dramatic with Node v20.17.0 (72.04s → 18.07s)

Foreign Key Impact

Removing user table FKs consistently yields 95%+ performance improvement
Suggests potential optimization opportunity in how Prisma handles multiple references to the same table

Questions for the Prisma Team

Is the dramatic performance impact of multiple FKs to the same table an expected behavior?
This is crucial to know, as if this is a know issue, I could validate the FK's on insert/update by triggers, and maybe use prisma extensions to load the data back without modifying too much the fetch data.
Are there plans to optimize the handling of frequently referenced tables (like user tables)?
Could this be related to how Prisma resolves circular dependencies during code generation?
What's the recommended approach for schemas with many audit/tracking fields (created_by, updated_by, etc.)?

Reproducibility
All test files and scripts are available in the reproduction repository. The results are consistently reproducible across multiple runs.


[EXPLORER] Timer is not accurate

Describe the bug
When seeing the page for a pending transaction, the timer runs. When the transaction is received by the user, the time shown may be much less than what the timer was showing. Unsure if this is due to the local timer running and the site not querying often enough, or if it's due to a difference in time of the chains.
To Reproduce
Steps to reproduce the behavior:

Go to https://testnet.amarok.connextscan.io/
Open a processing transaction
See timer running while it's processing
Wait until transaction is received
See error (time difference between previously running timer and new time taken)

Expected behavior
The timer should be more accurate and maybe account for time differences between chains. Don't know how technically possible this is.
Screenshots
https://discord.com/channels/454734546869551114/1037738006779535370/1037738598033805362

Closing as dduplicate of https://github.com/connext/nxtp/issues/2010
We are polling a function that has latency, and may instead fake it, optimize what we have, or poll subgraphs directly


Add Hyper-V Virtualization Client support

Hi!
I developed a feature to add support for creating Hyper-V clients. Could you evaluate?
PR: #118

PR changes are already available on the dev branch.
https://github.com/Commvault/cvpysdk/blob/dev/cvpysdk/client.py#L1309


Enforce no star imports

Follow up from this: https://github.com/dylibso/chicory/pull/182#discussion_r1464807326
As we see more contributors coming to the repo it's not unusual to see big diffs for small changes due to the different IDE settings.
This PR prohibits the usage of star imports(which is anyhow a good practice) and enforces it through Spotless.
cc. @lburgazzoli

Makes sense.


setenv not effective, and 'deny' still loads page

Using ModSecurity 2.9.2 on Apache 2.4.33. I've simplified the situation as far as possible, but have run into a wall. I'm working within a virtualhost config. Here's what I'm trying to do:
SecAction "pass,setenv:TESTPAGE=1,id:10001001"
Header always set X-Debug "IsTest" env=TESTPAGE

With no other rules, this should always set the X-Debug header, but it doesn't. To try to figure out why, first I deleted the SecAction and just did this:
RewriteRule .* - [E=TESTPAGE]
Header always set X-Debug "IsTest" env=TESTPAGE

Sure enough, the header was set in that case, so I know headers are working and environment variables can be set/checked. Then I tried this:
SecAction "deny,status:503,setenv:TESTPAGE=1,id:10001001"
And indeed I got a 503 http code, so I know the SecAction is being processed. Given those two things, the only possibility is that ModSec is failing to set the environment variable as it should, but I don't know of any reason why that should be the case.
Also, it appears that 'deny' is not actually preventing the page from loading.  It changes the http status code, but doesn't block processing.  This wasn't the case in the past, but I don't know when it changed.

It appears this has something to do with using mod_proxy_fcgi (which we use to serve php scripts via php-fpm).  When I test on straight html files, the setenv does appear to work.  However, the status codes don't work.  When I set 'deny' for an html file, it returns 404, regardless of the status code I specify.  (As I mentioned, status codes work properly on php files, but the 'deny' doesn't prevent processing.  So, two separate problems here?

Hi @nathanstretch,
That may or may not be a problem. ModSecurity interacts with other modules in a sequence. Depending on the modules orders, the fcgi will be executed prior to ModSecurity. Therefore reading the empty env var.
Regarding the incorrect status code, it will be better if you could share yours debug log.

Can you provide more info on what modules would prevent mod security from setting environment variables?  Regarding status codes, what debug log are you referring to?


chore(app): fixing some bugs in code

:tada: This PR is included in version 2.15.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.15.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add some special handling for Option and Option with "get"

I'm not sure how you feel about special casing stuff like this - the first crack I'd taken was to add get_as_deref and get_as_ref, requiring a return type argument, but then discovered that 99% of what I (selfishly) needed for a client project was covered by this much simpler solution.  The only case that isn't covered is Option<CompactString> -> Option<&str> but I don't think it's realistic to handle every case in every third-party crate out there.

@mcronce thanks for your suggestion. I ended up with more explicit options instead of automatic type inference. See examples in tests.


Argument 1 passed to Discord\Discord::__construct() must be of the type array,

PHP Catchable fatal error:  Argument 1 passed to Discord\Discord::__construct() must be of the type array, string given, called in /home/Dramiel/Dramiel.php on line 82 and defined in /home/Dramiel/vendor/team-reflex/discord-php/src/Discord/Discord.php on line 282
I'm stumped, error came out of nowhere after a bot restart
Line in question
$discord = new Discord($config["bot"]["token"]);
config section
$config["bot"] = array(
"name" => "TWINKIE NUMBA UN", // Discord name for your bot
"game" => "USA #1",
"trigger" => "!", // what trigger is used for commands
"token" => "token", //enter the token for your app https://discordapp.com/developers/applications/me
);

$discord = new Discord(["token" => $config["bot"]["token"]]);
^ fix


Update and expand

Chris & Mark's quickstart branch.

I'm going to update this to 2.0.0 and merge after the release of that version.


SE: fix spacing in sophie.sh

Background

Motivation for a problem or that which needs to be built.

The newlines, spacing, and indentation within code & comments seems erratic to most people. It's just a product of my unorthodox (possibly temporary) editing environment, right now. The spacing needs to get fixed so it reads and looks better for everyone involved.
Proposal

Blueprint to resolve or implement.

[x] I'd prefer tabs for the indentations to be honest. Spaces for alignment. But I feel like many people out there will not get it/will be using spaces so I'm OK with spaces to reduce friction, right now.

[x] A single space between the comments and the # that starts the comment.

[x] No newline between a comment and the line of code after it.

[x] Extra non-necessary newlines that are separating sequential lines, should be removed

In general, just make it look good to a programmer.

Fixed with e36d258.
Note that from now on:

4 spaces for indentation.
If there are more than 2 lines between an if and fi then add empty line after if and before fi.


not working with PWAs or other standalone sites

take https://devdocs.io/ as an example, it can be installed as an app and when launched Chrome opens an installed web app as its own top level app on macOS/Windows/etc.
while using said apps I find this extension often doesn't work, maybe it is trying to move my current tab to a window of a web app that it can't be moved to (you can only open things on that domain in the same installed web app so something on github.com can't be moved to a standalone installed web app for photos.google.com, etc.)
otherwise I really like how simple and effective this extension is; thanks!

Seems like this is hard to repoduce as sometimes the webapp "tab" is not targeted for moving tabs.
But nonetheless having a web app open seems to break the moving tab funcionality, even after closing them (corrupted tab locations etc?)


deploy-tre script fails with error "Error: GoModulesBuilder:Build - Builder Failed: stat /builds/horizon/platform-verticals/reference/aws-service-catalog-sample-pipeline/service-catalog-engine-for-terraform-os/lambda-functions/terraform_open_source_parameter_parser/terraform_open_source_parameter_parser: directory not found"

Hello Team,
When i am running script for deployment and when command "sam build" runs it fails with error "Error: GoModulesBuilder:Build - Builder Failed: stat /builds/horizon/platform-verticals/reference/aws-service-catalog-sample-pipeline/service-catalog-engine-for-terraform-os/lambda-functions/terraform_open_source_parameter_parser/terraform_open_source_parameter_parser: directory not found".
Go version : go version go1.20.7
No changes is made in template.yaml for CodeUri section but still it fails.
PFB the error logs:
$ sam --version
SAM CLI, version 1.100.0
$ aws --version
aws-cli/2.13.20 Python/3.11.5 Linux/6.0.7-301.fc37.x86_64 exe/x86_64.alpine.3 prompt/off
$ python3.9 -V
Python 3.9.13
$ pip3 --version
pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11)
$ export PATH=$PATH:/usr/local/go/bin
$ which go
/usr/local/go/bin/go
$ go version
go version go1.20.7 linux/amd64
$ /pipeline/treinstall
$TRE_REPO_LOCATION = 'https://github.com/aws-samples/service-catalog-engine-for-terraform-os.git'
AWS_REGION : eu-west-1
$AWS_REGION = eu-west-1
Clone the Terraform Reference Engine code from github.
Cloning into 'service-catalog-engine-for-terraform-os'...
10:52:19 [INFO] [treinstall] cleaning template.yml file so to copy customized template.yaml
copying customized template.yml file into TRE directory
10:52:19 [INFO] [treinstall] current profile information for troubleshooting in case of publish errors
{
"UserId": "AROAVRDUU2NP36G2CFAUV:GitLabRunner-327317-145418590",
"Account": "380349240159",
"Arn": "arn:aws:sts::380349240159:assumed-role/csc-runner-default/GitLabRunner-327317-145418590"
}
running the deploy-tre script
AWS account:<PHONE_NUMBER>59
AWS region: eu-west-1
Creating a Python virtual environment
Building the ServiceCatalogTerraformOSParameterParser function
go: creating new go.mod: module terraform_open_source_parameter_parser
go: to add module requirements and sums:
go mod tidy
go: finding module for package github.com/aws/aws-sdk-go/aws
go: finding module for package github.com/aws/aws-sdk-go/aws/arn
go: finding module for package github.com/stretchr/testify/mock
go: finding module for package github.com/aws/aws-lambda-go/lambda
go: finding module for package github.com/aws/aws-sdk-go/aws/credentials
go: finding module for package github.com/aws/aws-sdk-go/aws/credentials/stscreds
go: finding module for package github.com/aws/aws-sdk-go/aws/session
go: finding module for package github.com/aws/aws-sdk-go/service/s3
go: finding module for package github.com/aws/aws-sdk-go/service/s3/s3manager
go: finding module for package github.com/hashicorp/hcl/v2/hclparse
go: finding module for package github.com/hashicorp/terraform-config-inspect/tfconfig
go: downloading github.com/stretchr/testify v1.8.4
go: downloading github.com/hashicorp/terraform-config-inspect v0.0.0-20230925220900-5a6f8d18746d
go: downloading github.com/aws/aws-lambda-go v1.41.0
go: downloading github.com/hashicorp/hcl/v2 v2.19.1
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading github.com/aws/aws-sdk-go v1.47.2
go: found github.com/aws/aws-lambda-go/lambda in github.com/aws/aws-lambda-go v1.41.0
go: found github.com/aws/aws-sdk-go/aws in github.com/aws/aws-sdk-go v1.47.2
go: found github.com/aws/aws-sdk-go/aws/arn in github.com/aws/aws-sdk-go v1.47.2
go: found github.com/aws/aws-sdk-go/aws/credentials in github.com/aws/aws-sdk-go v1.47.2
go: found github.com/aws/aws-sdk-go/aws/credentials/stscreds in github.com/aws/aws-sdk-go v1.47.2
go: found github.com/aws/aws-sdk-go/aws/session in github.com/aws/aws-sdk-go v1.47.2
go: found github.com/aws/aws-sdk-go/service/s3 in github.com/aws/aws-sdk-go v1.47.2
go: found github.com/aws/aws-sdk-go/service/s3/s3manager in github.com/aws/aws-sdk-go v1.47.2
go: found github.com/hashicorp/hcl/v2/hclparse in github.com/hashicorp/hcl/v2 v2.19.1
go: found github.com/hashicorp/terraform-config-inspect/tfconfig in github.com/hashicorp/terraform-config-inspect v0.0.0-20230925220900-5a6f8d18746d
go: found github.com/stretchr/testify/mock in github.com/stretchr/testify v1.8.4
go: downloading github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f
go: downloading github.com/zclconf/go-cty v1.13.0
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/go-test/deep v1.0.3
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading github.com/google/go-cmp v0.3.1
go: downloading github.com/stretchr/objx v0.5.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/jmespath/go-jmespath v0.4.0
go: downloading github.com/agext/levenshtein v1.2.2
go: downloading github.com/apparentlymart/go-textseg/v15 v15.0.0
go: downloading github.com/mitchellh/go-wordwrap v1.0.0
go: downloading github.com/kr/pretty v0.1.0
go: downloading github.com/kylelemons/godebug v1.1.0
go: downloading github.com/apparentlymart/go-textseg v1.0.0
go: downloading golang.org/x/net v0.17.0
go: downloading github.com/sergi/go-diff v1.0.0
go: downloading github.com/apparentlymart/go-textseg/v13 v13.0.0
go: downloading golang.org/x/text v0.13.0
go: downloading github.com/kr/text v0.1.0
go: downloading github.com/jmespath/go-jmespath/internal/testify v1.5.1
go: downloading gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
go: downloading gopkg.in/yaml.v2 v2.2.8
Building the Lambda code
Collecting wheel
Obtaining dependency information for wheel from https://files.pythonhosted.org/packages/fa/7f/4c07234086edbce4a0a446209dc0cb08a19bb206a3ea53b2f56a403f983b/wheel-0.41.3-py3-none-any.whl.metadata
Downloading wheel-0.41.3-py3-none-any.whl.metadata (2.2 kB)
Downloading wheel-0.41.3-py3-none-any.whl (65 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.8/65.8 kB 674.9 kB/s eta 0:00:00
Installing collected packages: wheel
Successfully installed wheel-0.41.3
[notice] A new release of pip is available: 23.2.1 -> 23.3.1
[notice] To update, run: pip install --upgrade pip
Collecting boto3>=1.26.105 (from -r lambda-functions/state_machine_lambdas/requirements.txt (line 1))
Obtaining dependency information for boto3>=1.26.105 from https://files.pythonhosted.org/packages/72/01/eded6bd8244670f1609743a0e63e097d86d8f79801d323fc18b00267cf20/boto3-1.28.77-py3-none-any.whl.metadata
Downloading boto3-1.28.77-py3-none-any.whl.metadata (6.7 kB)
Collecting botocore>=1.29.105 (from -r lambda-functions/state_machine_lambdas/requirements.txt (line 2))
Obtaining dependency information for botocore>=1.29.105 from https://files.pythonhosted.org/packages/56/05/f8d8d52d15e713909facb6a13276822fea04da16e3d4de08c8860c9884c7/botocore-1.31.77-py3-none-any.whl.metadata
Downloading botocore-1.31.77-py3-none-any.whl.metadata (6.1 kB)
Collecting jmespath<2.0.0,>=0.7.1 (from boto3>=1.26.105->-r lambda-functions/state_machine_lambdas/requirements.txt (line 1))
Downloading jmespath-1.0.1-py3-none-any.whl (20 kB)
Collecting s3transfer<0.8.0,>=0.7.0 (from boto3>=1.26.105->-r lambda-functions/state_machine_lambdas/requirements.txt (line 1))
Obtaining dependency information for s3transfer<0.8.0,>=0.7.0 from https://files.pythonhosted.org/packages/5a/4b/fec9ce18f8874a96c5061422625ba86c3ee1e6587ccd92ff9f5bf7bd91b2/s3transfer-0.7.0-py3-none-any.whl.metadata
Downloading s3transfer-0.7.0-py3-none-any.whl.metadata (1.8 kB)
Collecting python-dateutil<3.0.0,>=2.1 (from botocore>=1.29.105->-r lambda-functions/state_machine_lambdas/requirements.txt (line 2))
Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 4.9 MB/s eta 0:00:00
Collecting urllib3<2.1,>=1.25.4 (from botocore>=1.29.105->-r lambda-functions/state_machine_lambdas/requirements.txt (line 2))
Obtaining dependency information for urllib3<2.1,>=1.25.4 from https://files.pythonhosted.org/packages/d2/b2/b157855192a68541a91ba7b2bbcb91f1b4faa51f8bae38d8005c034be524/urllib3-2.0.7-py3-none-any.whl.metadata
Downloading urllib3-2.0.7-py3-none-any.whl.metadata (6.6 kB)
Collecting six>=1.5 (from python-dateutil<3.0.0,>=2.1->botocore>=1.29.105->-r lambda-functions/state_machine_lambdas/requirements.txt (line 2))
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Downloading boto3-1.28.77-py3-none-any.whl (135 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 135.8/135.8 kB 9.1 MB/s eta 0:00:00
Downloading botocore-1.31.77-py3-none-any.whl (11.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.3/11.3 MB 36.7 MB/s eta 0:00:00
Downloading s3transfer-0.7.0-py3-none-any.whl (79 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.8/79.8 kB 8.6 MB/s eta 0:00:00
Downloading urllib3-2.0.7-py3-none-any.whl (124 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.2/124.2 kB 23.1 MB/s eta 0:00:00
Installing collected packages: urllib3, six, jmespath, python-dateutil, botocore, s3transfer, boto3
Successfully installed boto3-1.28.77 botocore-1.31.77 jmespath-1.0.1 python-dateutil-2.8.2 s3transfer-0.7.0 six-1.16.0 urllib3-2.0.7
[notice] A new release of pip is available: 23.2.1 -> 23.3.1
[notice] To update, run: pip install --upgrade pip
SAM CLI now collects telemetry to better understand customer needs.
You can OPT OUT and disable telemetry collection by setting the
environment variable SAM_CLI_TELEMETRY=0 in your shell.
Thanks for your help!
Learn More: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-telemetry.html
Building codeuri: /builds/horizon/platform-verticals/reference/aws-service-catalog-sample-pipeline/service-catalog-engine-for-terraform-os/lambda-functions/provisioning-operations-handler runtime: python3.9 metadata: {} architecture: x86_64 functions: TerraformEngineProvisioningHandlerLambda, TerraformEngineTerminateHandlerLambda
Running PythonPipBuilder:ResolveDependencies
Running PythonPipBuilder:CopySource
Building codeuri: /builds/horizon/platform-verticals/reference/aws-service-catalog-sample-pipeline/service-catalog-engine-for-terraform-os/lambda-functions/terraform_open_source_parameter_parser runtime: go1.x metadata: {} architecture: x86_64 functions: ParameterParser, ExternalParameterParser
Running GoModulesBuilder:Build
Build Failed
Error: GoModulesBuilder:Build - Builder Failed: stat /builds/horizon/platform-verticals/reference/aws-service-catalog-sample-pipeline/service-catalog-engine-for-terraform-os/lambda-functions/terraform_open_source_parameter_parser/terraform_open_source_parameter_parser: directory not found
Cleaning up project directory and file based variables
00:00
ERROR: Job failed: exit code 1
KINDLY HELP.

base docker image is of alpine and packages installed are : bash
py-pip
jq
figlet
go
wget
unzip
git
gawk
build-base
python3
py3-pip
zlib-dev
readline-dev
ncurses-dev
openssl-dev
sqlite-dev
tk-dev
gdbm-dev
libc-dev
bzip2
# Required for testing with go
gcompat
libc-dev
zip
gcc
# Required for information layer serverless apps local development
make
openssl
# Used with aws-cli
curl
groff \

@zillidan @smaly-amazon this error had come before also. https://github.com/aws-samples/service-catalog-engine-for-terraform-os/issues/27. Please help


Feature Request: Offline FCC Callsign Lookup

Requested by N4ADK:
User request for offline FCC database dips similar to those provided in the online NCO Dashboard.  Due to the volume of data, will need to consider data structure or possibly leveraging the existing MySQL installation provided in Vagrant.

Server-side processing is coming together.  Using a script to aggregate the data from the 3 tables which receive our nightly updates to the FCC database, all into one CSV file, which will probably be limited to once-weekly regeneration due to processing time and resources required.  No client-side stuff yet.

Server-side code implemented last night.  Initial client side code (for database downloads only) is in commit e78a570.

Feature is implemented.  Needs further enhancements for speed.  Proposing two or three separate tables in the database.  One containing call signs of spotters who have participated in our nets in the past (approx 500 as of right now) and our team members, another with all "4" region call signs and all call signs registered in VA, MD, NC, and DC, and a third with all other call signs.  This should expedite the search process which is currently requiring around 10 seconds on average.  What say you, @rbarden ?

Fully implemented!


Visual Studio 2019 build error

When building with Visual Studio 2019 IDE the following errors are returned:
Error: \(default\)/GLFW/deps: No such file or directory
Error: \(default\)/GLFW/include: No such file or directory

Commit: 0467ce48c840799f6dd02eb753e21a933bfca378
Build System: Ninja

This issue seems to be resolved.


1.21?

Doesn't seem to have an effect on 1.21, perhaps the file structure for replacing vanilla structures has changed for datapacks.

Doesn't seem to have an effect on 1.21, perhaps the file structure for replacing vanilla structures has changed for datapacks.

Yeah that's why im asking for a port.

Maybe you are confused. Just because I posted a comment, doesn't mean you have to respond. I am well aware you are asking for a port, it's the point in the issue you made. The reason I commented was to further the issue, maybe suggest why it might not be working.
That being said, I have since got it working but it's not a consistent fix. For what ever reason the datapack version doesn't change the structures.

There was a slight change in the form of the datapack structure. I am working on the fix now.

There was a slight change in the form of the datapack structure. I am working on the fix now.

Perfect!

I have completed the update, and both the mods, and the datapacks are updated on both modrinth and curseforge. If i missed anything, please let me know.


File sector start addresses are 16 bits long (well, maybe only 9)

Brother 120k starting sector addresses are actually two bytes long.  I'm sure there are prettier C++ish ways to express this, but there you go.

Yup, there are, but this is perfectly good enough. Thanks!


Optionally support emitting errors and test failures using Github Actions reporter format (like SwiftLint)

We run our Xcode builds on GitHub actions and use xcbeautify to make the logs better.  However if a test fails or there is a compile error we have to dig through the logs to find the issue.  It is possible for tools to emit log messages in a format that Github Actions can interpret.
See https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#logging-commands
SwiftLint has a --reporter option that causes it to emit issues in this format (https://github.com/realm/SwiftLint/blob/master/Source/SwiftLintFramework/Reporters/GitHubActionsLoggingReporter.swift) this makes running SwiftLint in Github Actions work really well.
It would are great it xcbeautify also had the option of reporting errors like this.

Thanks for reporting. Just a note that I’ve seen this. I’ll take a look when I have time to work on this again.

Hi @thii! Are you still looking for help with this? Are there any plans (how) to implement this?
I'd like to help where I can to get this merged, so I'd appreciate some context on the state of this request.

I've created this draft PR: #107.
I'd appreciate some initial reviews and guidance on how to iterate the proposed implementation.
I've tested it on my project; right now, I'm noticing some errors around duplicate compiler warning/error output and test formatting. I'm also seeing annotations related to 3P dependencies- not sure if that's helpful and/or desired.

This looks really interesting but I'm not quite sure if I'm using this new renderer correctly. Is there an example somewhere what this would look like in a GH action with a test failure?
I've triggered an action with a failing test here and the result looks like this:

This is what this same error looked like before this change:

Sure, the error is a bit more obvious but given the length of our logs (thousands of lines) this change isn't what I was hoping for.
I suspect the github-actions format error report should be showing up elsewhere in the GH action UI but I can't see any difference between the two runs. Is perhaps something on our setup preventing this from properly propagating?

@orj @cpisciotta @thii Apologies for the direct ping but you might not get notified for comments on closed issues.

Hey @finestructure! Sorry for the delayed response! You'll find the annotations in the summary section of a GitHub Actions run.
In your case, it's here. Annotations that tie to a specific file and line number will show as an inline comment; in your case, there's an example here.
I've been meaning to publish better docs on this, and I will very soon! I've been working with Apple to resolve some issues that I found while doing this work, so some of it is still "under development." I'd also like to iterate on the format of the console logs, since it was a first pass at a very different format of the pre-existing renderer.
Let me know how else I can help, and please provide any feedback if you have any!

Let me know if you're not seeing the annotations via those links. They seem to point to different examples than I wanted.

Hey @finestructure! Sorry for the delayed response! You'll find the annotations in the summary section of a GitHub Actions run.

Oooh... I've been so used to click through this screen to get to the details that I don't even look at what's there anymore 🤦♂😄
This is a great change, it'll make dealing with test features so much easier. Thank you! ❤

BTW, inside GH action runs GITHUB_WORKFLOW is set. So this mode could even be the default and use the normal ANSI colour terminal mode if it isn't set and the annotations otherwise. Just a thought!


Request: Smoother Transitions and matching text colours

Thanks so much for making this work so quickly! It really is amazing! I was wondering whether it might be possible to have the text change colour depending on the dynamic theme colour to make it visible? i.e. for darker colours, the text becomes pretty much invisible and switching to white text would solve this! Also the colour transitions are still visibly laggy and I have no clue whether its possible to change that but may as well add it to the feedback :)

Can you share examples of unreadable text?
I don't think there is anything I can do to improve the transitions

Ok cool about the transitions, they're definitely really good! I've attached some examples of stuff I think doesn't look quite so legible.

To complement the baove, it looks less jarring in the smaller screenshots shown but with the black background of the central section, it looks worse (and also on the friends section, the thinner text makes it look worse as well).

None of your screenshots look like how it should render. There must be something wrong in your setup, the text color should not be blue.

The one thing I did was change the .woff2 file used? Could that cause this?

I don't think so. Check your config-xpui.ini and make sure the order of the .js is correct dribbblish.js|dribbblish-dynamic.js

Hmm, I had dribbblish-dynamic after dribbblish but there were a couple of other extensions in between. However, first I reinstalled the theme using the install script editing it to save as a new theme and then that new theme had the (I assume intended) white text. Then when I switched themes back to my slightly customised theme the text was white so it all looks fine now. Maybe I installed it wrong.

Having said that, the issue originally discussed may still persist for lighter coloured songs? e.g. below? Is this also an issue with my render?

share a song so I can reproduce it

Freaky Friday (feat. Chris Brown)
Lil Dicky, Chris Brown
This is the song that got me the above.

Also the song "Rising" by "Surfaces" gets this:

Hmmm, I'll do a full reset of the theme and slowly readd the custom bits and see where it breaks. I'll update the issue once I work it out. Thanks for all the help! Really appreciate it.

The colors were wrong in my previous snapshots of "Rising" by "Surfaces", I had messed up the js locally. You are correct the color is too light.

Ah, ok good to know I don't need to reset everything :). Is this something you'd look to change in future updates?
P.S. while I'm at it, can I ask which UI elements correspond to which of the 4 fonts?

The reason is that the color extractor fails to get a "vibrant" one.
Can you try changing lines 238-239 to this (muted in 3rd position)
    cols = isLight(mainColorBg) ? ["Vibrant", "DarkVibrant", "Muted", "LightVibrant"]
                                : ["Vibrant", "LightVibrant", "Muted", "DarkVibrant"]

To confirm is that lines 228-229 (or 238-239) in dribblish-dynamic.js?

If so, that hasn't made any changes to either of the two songs with too light backgrounds.

You need to run spicetify apply after the change

Hiya, yep I changed the dribbblish.js in extensions and the one in the actual theme folder. Also applied and no change.

Hiya, yep I changed the dribbblish-dynamic.js in both the extensions folder and the actual theme folder, ran spicetify apply and there was no change.

With the change it should peak the purple from the cover

Hi, sorry for the delay! I Tried it a bit later without changing anything and the changes came through so maybe I just didn't reapply properly. One thing I noted was the two songs I flagged to you were fixed but the song "Brick by brick" by the Arctic Monkeys still has a colour issue (too bright white background colour) as does the rest of the album. I haven't yet downloaded the recent release so will correct this if that fixes it!

This is what I have for that song, looks good to me.


i18n(fr): Update github.mdx

What kind of changes does this PR include?

Translated content

Description

What does this PR change? Give us a brief description.
I updated the translation of the page github.mdx in French

LGiTM!


Remove Curso do React Native implementando CRUD

This link is not working

This link is not working

It doesn't work or not can be visible due to registration? Could you confirm this?. I don't want to sign up to review this deletion

It doesn't work or not can be visible due to registration? Could you confirm this?. I don't want to sign up to review this deletion

doesn't work, I have an account on this site and the link redirects to the main page


Increase analysis server version to 1.20.1

So clients can detect when the workaround for #29414 is not required.

It occurs to me that we should have a changelog section in the spec, to be able to call out to readers when a specific feature was added -

I haven't seen the Gerrit version of this PR yet. It ought to be automatically created, but if not you might try using git cl upload.

... we should have a changelog section in the spec ...

That's probably true :-), but I don't think that we need to hold up this CL because of it.

It occurs to me that we should have a changelog section in the spec

A changelog would be great, since there are often behaviour changes clients might want to be aware of (for ex. if you started coding today against the current SDK, you might not know about things like this, so anyone using an older SDK than you might have weird bugs). That said, I think keeping a reliable list of behaviour changes might be a lot of effort!

I haven't seen the Gerrit version of this PR yet

https://dart-review.googlesource.com/c/sdk/+/51400
I did try to git cl upload it, but discovered I don't have any of that set up on my personal MacBook so figured this was easiest (for me 😉) for now.

I can't merge here so I've submitted in Gerrit. Maybe it's worth creating a changelog file somewhere as a start - if it's there, at least there's somewhere to add notes about changes like this. Even if not complete, there's probably value?


Some icons are barely visible in dark mode

What is the user problem or growth opportunity you want to see solved?
The black/dark blue coloured icons in the bottom navigation bar and in the achievements section are barely visible in dark mode.
How do you know that this problem exists today? Why is this important?
No response
Who will benefit from it?
No response
Anything else you would like to add?
Screenshots
Bottom Navigation Bar

Achievements Fragment
Information icons are not very much visible, especially in the STATISTICS section:

What could be a possible fix for this? New icons?

Separate resource files for both light and dark mode exist in the app already. Just the colours in the resource files for the dark mode need to be changed so that they comply with the UI guidelines for dark mode and the icons are visible.

For the colour scheme: The official Android documentation for dark mode recommends Material Design Components. The typography and iconography section uses white colour for the icons on the surface colour (labelled as 4). So, black colour may not be an appropriate choice from the UI guidelines point of view as well.

we can change the icons as a dark mode.

Can i be assigned to this issue?

 Thanks and looking forward to your bug fixes! 🙂

Hi!, is this issue still open? I wanna try it :), btw, could you give me more details?

 Thanks and looking forward to your bug fixes! 🙂

Hi! I am Shashwat Kedia, an undergrad freshman at the Indian Institute Of Technology, Madras. I am new to open source and would love to solve this issue. Is the issue open? @nicolas-raoul

@ShashwatKedia It is yours, thanks! :-)

Hi! I have solved the issue, please confirm if the icons look good enough.

I've created a PR here at #5410. Kindly review @nicolas-raoul @sivaraam


Adds service control options for Windows service.

StartType               string ("automatic")  - start service. Constants: ServiceStartDisabled, ServiceStartManual, ServiceStartDisabled
OnFailure               string ("noaction" )  - action to perform on service failure. Constants: OnFailureRestart, OnFailureReboot, OnFailureNoAction
OnFailureDelayDuration  string ( "1s" )       - delay before restarting the service, time.Duration string.
OnFailureResetPeriod    int ( 10 )            - reset period for errors, seconds.

Fixes kardianos/service#226
Fixes kardianos/service#207
Fixes kardianos/service#103

Coverage remained the same at 12.799% when pulling bd7f78f7308ebe862b9aa8eb8d809c6bdcb24b58 on jdevelop:feature/windows-service-control-parameters into ef35c563203c809a5c48a2310ca90430c064e7c3 on kardianos:master.

We've been running this for about a month in production now and I've not observed any obvious issues. Would love to see it merged :)

Would love to use this feature in a new release. @jdevelop @kardianos can you share the next release date?


DS-950: OAI should respect metadata.hidden... config properties.

Code looks good, and was approved during PR reviews today in #dspace


Test + docs: model/network/ddf.py

Issue description
Unit tests for deepreg/model/network/ddf_dvf.py, in pytest style.

func build_ddf_dvf_model

Type of Issue
Please delete options that are not relevant.

[x] Documentation update
[x] Test request
[x] Linting request

What's the expected result?
Unit tests for func input outputs, lint and docs.

Hi @acasamitjana @RemiDelaunay @NMontanaBrown , following the PR #140, the dvf model is merged with ddf model.
I added tests for ddf_dvf_forward, but the tests for build_ddf_dvf_model is still needed.
I suggest to build the model and check the models' inputs and outputs' shapes for both DDF and DVF modes.


Fix image url

@jackahl please feel free to merge these changes after you approve them. Thank you!

@jackahl please feel free to merge these changes after you approve them. Thank you!

I am not allowed to:

Maybe you could give me permissions? :-)

@jackahl it looks like the permission changes worked.


CSS not rendering

Hi,
Not sure why, maybe it's just me, but all of a sudden the css is not rendering at all?
Everything appears to be OK, ie css scripts load, but nothing seems to be computed.
Here's a screencap from Chromium (same on Chrome and FireFox for me here).
Anyone else seen this behavior?

+1
Same here!

@rudijs @sprijk thank you for reporting your issue. Please let me know which version you're running. See bottom of the page for the corresponding git revision. Do you remember which git revision which worked for you? That would help a lot.

it happens on both konradkleine/docker-registry-frontend:latest & konradkleine/docker-registry-frontend:v1 in my case. I did have a registry:2 container it linked to, and no v1, but not sure if that's related to this issue.

@kwk I'm git revision: ff69f40
Sorry I don't have the previously working revision, I'm currently only using this on a vagrant VM and I've destroyed the earlier one.

I'm getting this as well. Git revision ff69f40. Running Safari Version 8.0.6 (10600.6.3) (OS X 10.10.3). I'm seeing this on the console: "Unexpected CSS token: :". It says the issue is on line 1 but, of course, the css is compressed so there is only one line.

+1
Same here

I'm working on it...

+1 sry I bothered you on twitter for an already declared issue ;)

@rudijs can you confirm that none of the default bootstrap CSS is loading? I think only the toastr and our custom CSS is loaded but not the bootstrap CSS. A quick build of older revisions shows me the same issue here. Therfore I assume some of the external dependencies like Grunt / Bower / NPM have changed in some way. I'm looking into the build output.

@kwk Here's a screen cap from Chromium just now.
The red arrow points to the styles, where nothing seems to be computed.
This suggests Bootstrap is not bootstrapping?
I'm not a bootstrap user (Foundation or Material Design mostly), so I'm not sure where to look exactly other than the dev tools tab.
If you have other suggestions where to look just let me know and I'll have a dig.

@kwk Here's a shot of inspecting the 'Repositories' text element

@kwk CSS is getting http 200 status OK

It looks like the grunt build step is kicking bootstrap's CSS out. Maybe it thinks it is unused or it cannot find a proper CDN for it I don't know yet but I'm on it. This behavior is new.

I've temporarily fixed the issue and a build should be available in the next hour on the docker hub. Please test the build and report that my change fixed the issue for you as well.

Ready to use images are available now from the docker hub. Please pull and re-run your containers and let me know what you find out.

Works, thanks!
Op 25 jun. 2015 13:46 schreef "Konrad Kleine"<EMAIL_ADDRESS>
Ready to use images are available now from the docker hub. Please pull and
re-run your containers and let me know what you find out.
—
Reply to this email directly or view it on GitHub
https://github.com/kwk/docker-registry-frontend/issues/53#issuecomment-115218642
.

@kwk Thanks Konrad!

LGTM

Thank you @rudijs  @sprijk @far-blue @acaranta @so0k @kuvi-innovations for reporting this bug and for testing it for me!

Thx for working on it ;)

Hi,
I'm using NGINX proxy as a docker container but for me html, css and javascript is not working. this is the snapshot...

Anyone getting like this?

This does not appear to be fixed and docker pull says I'm on the latest version...


build/build.sh

[READ] For Firebase C++ SDK issues, please report to Firebase C++ open-source
Once you've read this section and determined that your issue is appropriate for this repository, please delete this section.
[REQUIRED] Please fill in the following fields:

Which Firebase Sample: _____ (Auth, Database, etc.)
Firebase C++ SDK version: _____
Additional SDKs you are using: _____ (Facebook, AdMob, etc.)
Platform you are using the SDK on: _____ (Mac, Windows, or Linux)
Platform you are targeting: _____ (iOS, Android, and/or desktop)

[REQUIRED] Please describe the issue here:
(Please list the full steps to reproduce the issue. Include device logs, and stack traces if available.)
Steps to reproduce:
What's the issue repro rate? (eg 100%, 1/5 etc)
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.

[READ] For Firebase C++ SDK issues, please report to Firebase C++ open-source
Once you've read this section and determined that your issue is appropriate for this repository, please delete this section.
[REQUIRED] Please fill in the following fields:

Which Firebase Sample: _____ (Auth, Database, etc.)
Firebase C++ SDK version: _____
Additional SDKs you are using: _____ (Facebook, AdMob, etc.)
Platform you are using the SDK on: _____ (Mac, Windows, or Linux)
Platform you are targeting: _____ (iOS, Android, and/or desktop)

[REQUIRED] Please describe the issue here:
(Please list the full steps to reproduce the issue. Include device logs, and stack traces if available.)
Steps to reproduce:
What's the issue repro rate? (eg 100%, 1/5 etc)
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.

docs/content/github/site-policy/github-privacy-statement.md

There doesn't appear to be anything actionable in this issue.


fixing broken BRW template

Somehow git broke the BRW_template.h5 ?

Thanks to github for keeping us on our toes?


FlutterTextInputPluginTest ios_debug_sim is super flakey

Not sure whether something in these tests changed recently or they were added. But these are flaking a ton, which because of how the iOS/macOS shards are combined requires a lot of reruns
See: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8733779925902450529/+/u/test:_Tests_for_ios_debug_unopt_sim/stdout

If I had to guess it would be the ARC migration @cbracken , as I dont think any other recent changes impact the iOS backend.

Calling uikit from non main thread as a result of text plugin deallocation:
Main Thread Checker: UI API called on a background thread: -[UIView removeFromSuperview]
PID: 41701, TID: 316718, Thread name: io.flutter.105.profiler, Queue name: com.apple.root.default-qos.overcommit, QoS: 0
Backtrace:
4   libios_test_flutter.dylib           0x000000014021eacd -[FlutterTextInputPlugin dealloc] + 27
5   libobjc.A.dylib                     0x00007ff800055228 _ZN11objc_object17sidetable_releaseEbb + 204
6   libios_test_flutter.dylib           0x0000000140203f3a -[FlutterEngine .cxx_destruct] + 135
7   libobjc.A.dylib                     0x00007ff800035766 _ZL27object_cxxDestructFromClassP11objc_objectP10objc_class + 83
8   libobjc.A.dylib                     0x00007ff80004ddfc objc_destructInstance + 61
9   CoreFoundation                      0x00007ff8004a286b -[NSObject(NSObject) __dealloc_zombie] + 159
10  libios_test_flutter.dylib           0x00000001401fbfca -[FlutterEngine dealloc] + 334
11  libobjc.A.dylib                     0x00007ff800055228 _ZN11objc_object17sidetable_releaseEbb + 204
12  libios_test_flutter.dylib           0x0000000140204d89 _ZNSt3_fl10__function6__funcIZ30-[FlutterEngine startProfiler]E3$_0NS_9allocatorIS2_EEFN7flutter13ProfileSampleEvEEclEv + 69
13  libios_test_flutter.dylib           0x000000014089e056 _ZNSt3_fl10__function6__funcIZNK7flutter16SamplingProfiler16SampleRepeatedlyEN3fml9TimeDeltaEE3$_0NS_9allocatorIS6_EEFvvEEclEv + 40
14  libios_test_flutter.dylib           0x000000014042e746 _ZN3fml15MessageLoopImpl10FlushTasksENS_9FlushTypeE + 156
15  libios_test_flutter.dylib           0x0000000140434c8a _ZN3fml17MessageLoopDarwin11OnTimerFireEP16__CFRunLoopTimerPS0_ + 26
16  CoreFoundation                      0x00007ff8003ea4a5 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
17  CoreFoundation                      0x00007ff8003ea032 __CFRunLoopDoTimer + 801
18  CoreFoundation                      0x00007ff8003e97b6 __CFRunLoopDoTimers + 243
19  CoreFoundation                      0x00007ff8003e4028 __CFRunLoopRun + 2108
20  CoreFoundation                      0x00007ff8003e3409 CFRunLoopRunSpecific + 557
21  libios_test_flutter.dylib           0x0000000140434dc7 _ZN3fml17MessageLoopDarwin3RunEv + 65
22  libios_test_flutter.dylib           0x000000014042e664 _ZN3fml15MessageLoopImpl5DoRunEv + 22
23  libios_test_flutter.dylib           0x0000000140433ca5 _ZNSt3_fl10__function6__funcIZN3fml6ThreadC1ERKNS_8functionIFvRKNS3_12ThreadConfigEEEES7_E3$_0NS_9allocatorISC_EEFvvEEclEv + 135
24  libios_test_flutter.dylib           0x0000000140433a47 _ZZN3fml12ThreadHandleC1EONSt3_fl8functionIFvvEEEEN3$_08__invokeEPv + 27
25  libsystem_pthread.dylib             0x00000001049091d3 _pthread_start + 125
26  libsystem_pthread.dylib             0x0000000104904bd3 thread_start + 15

This was exacerbated by ARC migration https://github.com/flutter/engine/pull/55954
Fix was https://github.com/flutter/engine/pull/55957


Fix the Readme

Change the Readme title so its more clear and add some description. This message is styled with Markdown

Working on this now

Included in pre-release v0.0.1-alpha


The Set Variable and If commands don't properly show ObjectVariable data

Describe the bug
When you set a variable for these commands to work with, the Data field just shows empty lines.
To Reproduce

Create a Flowchart with two ObjectVariables
Add a block with a Set Variable command
Under Conditions, set the variable to one of the ObjectVariables in the flowchart
See as the Data field is empty
You'll get similar results when doing this with the If command

Expected behavior
The data field for ObjectVariables to let you select wither a variable or a specific Object
Versions & Platform (please complete the following information):

Unity version: 2020.1.4f1
Fungus Version: 3.14
Editor OS: Win 10
Build Platform: Standalone

Additional Context
The same issue happens with custom variable types.

If this helps, it looks like the object variable is just missing its propertyDrawer. Duplicating GameObjectVariableDrawer and just rewriting stuff to use Object solved this for me.

@pansam14 Thank you very much! That solved the issue for me as well ^_^


FPutObject method error with use ssl

FPutObject return error is: XML syntax error on line 1: element  closed by ]]
nginx config:
location ~^/storage {
                 proxy_buffering off;
                 proxy_set_header Host $host;
                 rewrite ^/storage/(.*)$ /$1 break;
                 proxy_pass http://<IP_ADDRESS>:10005;
           }

10005 was minio 9000 port
minio version: RELEASE.2022-02-26T02-54-46Z
sdk version: github.com/minio/minio-go/v7
my upload code:
client, err := minio.New(endPoint.Host, &minio.Options{
		Creds:  credentials.NewStaticV4(minioResp.AccessKeyID, minioResp.SecretAccessKey, minioResp.SessionToken),
		Secure: true,
	})
	if err != nil {
		return "", "", utils.Wrap(err, "")
	}
	_, err = client.FPutObject(context.Background(), minioResp.BucketName, newName, filePath, minio.PutObjectOptions{ContentType: newType})
	if err != nil {
		return "", "", utils.Wrap(err, "")
	}

@wangchuxiao-dev minio-go error means it did not get the expected answer. Most likley there is an issue in your configuration (it looks like it is receving HTML and not XML from MinIO)
By the way, you cannot modify the request path in your load balancer, https://docs.min.io/docs/setup-nginx-proxy-with-minio.html


Handle per namespace default posture implementation

Follows up #602
Closes #595
flowchart LR
	G[/Watch KSP/] <--> C
	A[/Watch NameSpace Annotation/] --> X(Add/Modified)--> B[[Map Namespace -> Default Posture]] <==> C[Endpoint Default Posture ] --> D[Enforcement Decision]
	A --> Y(Delete) -.Delete Map Element.-> B
	E[/Log Event/] <--> B
	E --> F[Decide Posture Log/Alert]
	B <-.On Delete.-> H[[Global Posture]]
	C <-.If not in map.-> H

Signed-off-by: daemon1024<EMAIL_ADDRESS>

@daemon1024 , few points:

Can you specify a sample policy for applying security posture at namespace level?
we need a way to show defaultPosture and namespacePosture using karmor cli tool.

Added a document about default posture with details about configuration and example at https://github.com/daemon1024/KubeArmor/blob/default-posture-ns/getting-started/default_posture.md
Ref https://github.com/kubearmor/KubeArmor/pull/602#pullrequestreview-901588739

For DefaultPosture structures, RWLocks are used.
However, I couldn't see RLock and RUnlock. Where can we use those read locks?

Updated doc to use configuration file
Using regular mutex lock instead of RWMutex now


ODBC/JDBC Meatdata Enumeration

Name: Tiffany Lam
Company: Dremio
Wondering if Metadata Enumeration documented here is also an available feature for a JDBC based SDK connector?

In addition, looking at the Tableau Snowflake example (screenshot), the workbook there appears to be other selectable options like "Warehouse". Is this an implementation example of Metadata Enumeration? If not, could you please let me know how that can be accomplished in the connector?

Tracking internally : 1262383

@tifflhl Hey Tiffany, The Metadata Enumeration documented there are for ODBC only, I am working on writing documentation for JDBC Metadata Enumeration, will let you know when I am done. thanks

@tifflhl Please refer to the new JDBC Metadata Enumeration section at https://tableau.github.io/connector-plugin-sdk/docs/metadata-enumeration, I am going to close thisfo r now, feel free to reopen if you still have questions.


Add new "paint" action

We should add a new action in _ai_github_utilities.py in the function solve_github_issue. The action is called "paint" and is only invoked if the user explictly asked for painting or drawing a picture or comic. The action will call a new function "paint_image" which takes the prompt as input and stores and image to disk and adds the image file to the github repository.
To implement the underlying functionality of paint_image, we should take over the create function from here: https://github.com/haesleinhuepf/darth-d/blob/main/darth_d/_create.py and the images_from_url_responses from https://github.com/haesleinhuepf/darth-d/blob/main/darth_d/_utilities.py . The paint_image function should go into _ai_github_utilities.py. The images_from_url_responses should go into _utilities.py .
git-bob think about how to implement this in the python code in this repository.

Modify the code so that is uses PIL image instead of numpy arrays for the image handling.
git-bob comment on how to implement this.

How would the create function look like? You can take it from here: https://github.com/haesleinhuepf/darth-d/blob/main/darth_d/_create.py
git-bob comment on how to to this

Awesome! git-bob implement this, but remove the decorator "jupyter_displayable_output"


Mouse wheel shortcut to change the landmark's size

Notes by @jabooth:
Landmark size is currently normalised by the total size of the asset. This is pretty much the most sensible thing we can do, but does mean that in the cases of image databases the perceptive size of the landmarks can change quite a lot between different assets (as the object being annotated is sometimes larger or smaller in the frame of the asset).
As a result, it's quite common that the user needs to make little adjustments to the landmark scale frequently. This currently requires mousing down to the bottom left of the UI.
Maybe we could have a keyboard modifier + wheel shortcut for landmark size? Say ctrl + wheel?

+ and - keyboard shortcuts already exists for this (maybe not documented in help)

Ah yes indeed they are - just missing from the help screen.

Just thinking, but maybe an hybrid of what you suggested without a keyboard modifier, but we could add scrolling over the range element to resize as well. I feel it's now a pretty standard behaviour that people would expect. What do you think ?

Ah that's a nice idea actually, I like it!

Cool, I'll try and get it working in the morning then.


node.js update

The plugin "homebridge-switchbot" requires Node.js version of ^14.21.1 || ^16.18.1 || ^18.12.1 which does not satisfy the current Node.js version of v16.18.0. You may need to upgrade your installation of Node.js - see https://homebridge.io/w/JTKEF
Updating node.js via the homebridge terminal (following the instructions here https://github.com/homebridge/homebridge/wiki/How-To-Update-Node.js) runs smoothly and I‘m prompted to restart homebridge. After a restart, node.js is updated to v18.12.1 and I can install the updated version of the plugin.
The problem is that every time the container is restarted (Home Assistant is restarts/reboots), node.js is rolled back to v16.18.0 and i receive the same prompt as beforeThe plugin "homebridge-switchbot" requires Node.js version of ^14.21.1 || ^16.18.1 || ^18.12.1 which does not satisfy the current Node.js version of v16.18.0. You may need to upgrade your installation of Node.js - see https://homebridge.io/w/JTKEF
is there a way for me to definitively update the node.js version, or does that need to be done through an update to this addon?

I was able to update node.js via the homebridge terminal following the instructions here https://github.com/homebridge/homebridge/wiki/How-To-Update-Node.js - this runs smoothly and updates node.js, but the active version of node.js remains unchanged according to the UI even after restarting homebridge
the terminal then suggested running hb-service rebuild —all (use after updating Node.js) - this generates the error Cannot find module yallist , but the active version of node.js was updated according to the UI
when I try to update the plugin mentioned above now I get the same error Cannot find module yallist
so basically I messed up - any help would be highly appreciated
I can provide more info (logs) if needed

I've pushed a new version that updates the Homebridge container to the latest release, can you give this another try and let me know if it solved your issue? Thanks!

I've confirmed that the current version has node.js v18.13.0 so you should be good to go.

Hello, thank you for the add-on and thank you for previously updating it to the latest node.js release.
Unfortunately as plugins are updated they keep requiering the latest version of node.js, which if i understand correctly can not be updated by the user of this add-on.
My homebridge plugins are now requiring 18.16.0 at least (the current version is 18.17.1).
Is there a way for me to update node.js for this add-on? If i try to do so via the Homebridge terminal, nothing happens.

I don't think there's an easy way to make node user-updateable and persist the update. I should have some time to get this addon updated again in a few weeks.

Thank you for your reply and your time.


BuiltinHint: implement squash dict utils

We need to implement squash dict utils for our builtin hint processor.
Rust reference: https://github.com/lambdaclass/cairo-vm/blob/main/vm/src/hint_processor/builtin_hint_processor/squash_dict_utils.rs

assign me

assign me

assigned


bo4 structures are not cancelling when they extend into biomes where they are not listed as customstructures (even with 0.0 rarity)

Title says it all really, seems to be only checking the starting location is valid - which was not the case in v6 OTG.
(Using v8.3_r1)

Thanks! Cannot reproduce this with v8.3_r4, feel free to reopen if you can still reproduce it.