Sending Attachments

Hey bruv, how do you send attachments using slash-create? My current code is this and it is not working as it sends "[Name] is thinking..." error. Also, checked the other ways of sending attachments like "new discord.MessageAttachment" thingy while I checked the docs and got the same error too.  Hope you help. :shipit:
const {
    SlashCommand,
    CommandContext,
    CommandOptionType
} = require("slash-create");
const discord = require("discord.js");
const config = require("../config.json");
const Canvas = require("canvacord").Canvacord;
const {client} = require("..");

module.exports = class PhComment extends SlashCommand{
    constructor(creator) {
        super(creator, {
            name: "phcomment",
            description: "Send a pornhub comment.",
            guildIDs: config.guildId,
            deferEphemeral: false,
            defaultPermission: true,
            options: [
                {
                    name: "text",
                    description: "The text you want to generate.",
                    required: true,
                    type: CommandOptionType.STRING
                }
            ]
        });

        this.filename = __filename;
    }

    async run(ctx){
        const author = ctx.user;
        const img = author.dynamicAvatarURL('png');

        try{
            const attachment = await Canvas.phub({username: author.username, message: ctx.options.text , image: img });

            return new discord.MessageAttachment(attachment, 'image.png');

        } catch(e){
            console.log(e);
        }
    }
}```

You can attach a file when responding to an interaction in MessageOptions.
Use in this context draws similarities to #98 and #163 when interacting with different libraries.

You can attach a file when responding to an interaction in MessageOptions.
Use in this context draws similarities to #98 and #163 when interacting with different libraries.

Send an example of how i can use

https://github.com/Snazzah/slash-create/pull/39#issue-841144768
Or
return {
  embeds: [embed],
  file: {
    name: `wild.png`,
    file: readFileSync(`./images/wild.png`)
   }
};

await Canvas.trigger(img).then((attachment) => {
                return{
                    content: "Hope you like!",
                    embeds: [embed],
                    file: {
                        name:"triggered.gif",
                        file: Buffer.from(`${attachment}`);
                    }
                };
            });```
So I did this and I'm using canvacord. it doesnt sends the attachment. is it the issue of slash-create or i still dont got how to use it?

The attachment return response is a buffer. You don't need to put that in a string and remake it.

So how Should I send it up? I tried using the file name system too but it showed "invalid file".

await Canvas.trigger(img).then((attachment) => {
    return {
        content: "Hope you like!",
        embeds: [embed],
        file: {
            name:" triggered.gif",
            file: attachment
        }
    };
});

Thanks a ton, I will try it out and will let you know if it works.

OK so I wrote a new code and it now sends "[Bot name] is thinking...". Any reasons why?

Here is my new code.
const axios = require("axios");
const {
    SlashCommand,
    CommandContext,
    CommandOptionType
} = require("slash-create");
const discord = require("discord.js");
const config = require("../config.json");
const Canva = require("canvacord").Canvacord;

module.exports = class Trigger extends SlashCommand{
    constructor(creator) {
        super(creator, {
            name:"trigger",
            description: "Trigger your avatar.",
            guildIDs: config.guildId,
            defaultPermission: true,
            deferEphemeral: false,
            options: [
                {
                    name: "user",
                    description: 'The user you want to trigger the avatar of.',
                    type: CommandOptionType.USER,
                    required: false
                }
            ]
        });
    }

    async run(ctx){
        const user = await ctx.users.get(`${ctx.options.user}`) ?? ctx.user;
        const img = user.dynamicAvatarURL('png');
        await Canva.trigger(img).then((attachment) => {
            return {
                content: '.',
                file: {
                    name: 'triggered.gif',
                    file: attachment
                }
            };
        });
    }
}```

const attachment = await Canvas.trigger(img);
return {
    content: "Hope you like!",
    embeds: [embed],
    file: {
        name: "triggered.gif",
        file: attachment
    }
};

If you still have problems, you should consult the documentation or join the server.

Omg, Thank you!! it worked!!


Fix generation of getters in interfaces to return interface types when using generateInterfaces

This fixes the issue reported here: https://github.com/Netflix/dgs-codegen/commit/b67272fef9223a9ca444bc7e2b9af2aa0b295e72#commitcomment-49733582

@marceloverdijk - This PR fixes the issue reported here : https://github.com/Netflix/dgs-codegen/commit/b67272fef9223a9ca444bc7e2b9af2aa0b295e72#commitcomment-49733582

Thx! Once merged and released I can upgrade from 4.4 to 4.5.


Force quit on consecutive geometry tasks (com.google.maps.api.android.lib6.impl.as cannot be cast to android.view.ViewGroup)

Describe the bug
Received the following error when two subsequent location tasks are being rendered: the map doesn't render and we see this in the stack trace:
java.lang.ClassCastException: com.google.maps.api.android.lib6.impl.as cannot be cast to android.view.ViewGroup
  at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:537)
  at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:272)
  at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1943)
  at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1839)
  at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:1782)
  at androidx.fragment.app.FragmentManager$5.run(FragmentManager.java:565)
  at android.os.Handler.handleCallback(Handler.java:958)
  at android.os.Handler.dispatchMessage(Handler.java:99)
  at android.os.Looper.loopOnce(Looper.java:205)
  at android.os.Looper.loop(Looper.java:294)
  at android.app.ActivityThread.main(ActivityThread.java:8177)
  at java.lang.reflect.Method.invoke(Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)

I placed breakpoints at the exact line where the crash occurs and inspected the thing that was failing to cast as a ViewGroup. It turns out that the crash happens when it tries to render the compass of all things!
It happens specifically when I try to render the DrawAreaTaskFragment before or after a drop pin LOI task.
When I just have a Draw Area LOI task and no other, then it seems to work
To Reproduce
Steps to reproduce the behavior:

Publish a survey with the default capture location task and then an ad-hoc LOI task (e.g. capture location again).
Zoom in and start a job, then see that the first task, the default capture task, is broken with a white screen.

Expected behavior

The map is rendered.

This is unfortunately blocking the end to end tests as well as exasperated by the fact that we always have a capture location task as the first task by default, since ad-hoc surveys will always put the loiTask afterwards

Ok, I found the problem, it is so silly...
https://github.com/google/ground-android/blob/4b6a9d4e95d10899a42ecaea9319e0971e737421/ground/src/main/java/com/google/android/ground/ui/datacollection/tasks/point/DropPinTaskFragment.kt#L47
Here we create a RowLayout with a generated ID that is usually 0x5, that is, it returns the next ID that has not been assigned. However, when we go to render it here, the GoogleMapsFragment is also rendered on the page, so when we try to look for the container by ID, there is a Compass element on the GoogleMaps which also has ID 0x5, so at render time, it finds the Compass element, i.e., com.google.maps.api.android.lib6.impl.as, from the GoogleMapsFragment instead of the newly created RowLayout!
https://github.com/google/ground-android/blob/4b6a9d4e95d10899a42ecaea9319e0971e737421/ground/src/main/java/com/google/android/ground/ui/datacollection/tasks/point/DropPinTaskFragment.kt#L50
When I arbitrarily added 10,000 to the ID, the crash is prevented, hence I believe this is an ID conflict problem.
The fix is to fuzz the ID numbers to decrease the chance of collisions, or somehow get it to always find the RowLayout element every time, maybe there's a different add we could do? Not really sure.


PHP 7.2+ updates

Is this still maintained?
I wonder if it'll worth spending time patching up this library to better play with more or less recent versions of PHP. Specifically there was a failing test, IIRC.

I'm not aware of any compatibility issues. Anything specific you are looking to change?


DSA key generation fails with legacy API for keys smaller than 1024.

This report is based on OpenSSL 3 alpha 13.
.NET's DSA current DSA key generation code, which has yet to be converted to EVP_PKEY, fails when testing with OpenSSL 3 (alpha 13) for key sizes less than 1024.  (Specifically, it fails with 512 and 512+64 (576))
int32_t CryptoNative_DsaGenerateKey(DSA** dsa, int32_t bits)
{
    if (!dsa)
    {
        assert(false);
        return 0;
    }

    *dsa = DSA_new();
    if (!(*dsa))
    {
        return 0;
    }

    if (!DSA_generate_parameters_ex(*dsa, bits, NULL, 0, NULL, NULL, NULL) ||
        !DSA_generate_key(*dsa))
    {
        DSA_free(*dsa);
        *dsa = NULL;
        return 0;
    }

    return 1;
}

When this fails the top error on the stack is error:05000072:dsa routines::bad ffc parameters.
Trying to step through to figure out where the problems arise wasn't being very fruitful.  One piece of suspect code:
https://github.com/openssl/openssl/blob/88df2c0b3d6162971304c06a240deb9320c9ae67/crypto/dsa/dsa_gen.c#L60-L69
Since (seed: NULL, seed_len: 0) worked in the past, it seems like the check maybe wants to be more complex (e.g. all bits < 1024 want to be FIPS 186-2, but 1024 only wants to be 186-2 when forced?)
Noticing that (seed: NULL, seed_len: 20) doesn't trip any validation errors I tried that to go down the 182-2 path, but then I feel like generation failed because it ended up in the 186-4 routine.  Perhaps this was fixed in #14508?

I tried a quick/naive conversion to the EVP_PKEY routines, but that also didn't work.  (I didn't try a previously succeeding test to see if I just failed in my conversion.)

I can see this being pretty low priority:

It's DSA, a nearly dead algorithm.
It's using massively undersized keys for 2021.
It's using now-deprecated API.

But thought I'd point it out for compatibility, since effort seems to have gone in to maintaining FIPS 186-2 DSA support.

With #14508 the EVP_PKEY generation should work fine and use the old method. However similar change was not done in DSA_generate_parameters_ex() as you've correctly found out above.


[mysql] Mysql-cdc adapt mariadb.

This PR fixed 2398

PTAL @ruanhang1993 @leonardBang ~

Thanks @ThisisWilli for the great work, add to my TODO list now.

Hi @ThisisWilli, thanks for your great contribution! Could you please rebase this PR with latest master branch? You may need to rename some packages like from com.ververica.cdc to org.apache.flink.cdc.
cc @leonardBang

Hi @ThisisWilli, thanks for your great contribution! Could you please rebase this PR with latest master branch? You may need to rename some packages like from com.ververica.cdc to org.apache.flink.cdc.
cc @leonardBang

@yuxiqian I'll find time to finish this work in mid-May.

hello
en how about this fix going

hello en how about this fix going

still in progress now, maybe finish in the end of June.

@ThisisWilli Would you like to continue work for this PR？


2 Line Cleanup.

Removed == true from two lines. Nothing else left to do :+1:

Psst @Cr4xy You should really add another collaborator to this repo so they don't have to make pull requests every time. wink wink :smile:

@MastaCoder he added us as collaborators, yes.... but that doesnt mean we can control the repo..  We need write access to be able to merge our own PRs..  So @Cr4xy it would be nice that only the verified devs.   And also add Mastacoder as collabotator

`	// Live console developed by MastaCoder! (simplified by SALVATION)
if (config.liveConsole == true) {
process.stdout.write("\033[K\rSpawned: " + spawnedCount + " | Total: " + totalScore + " | Average: " + avgScore + " | Highest: " + highestScore + " | Time: " + currentSeconds);
} else {
console.log(debugObj);
}
}, config.statusDelay);`
that would reduce some of the code

Erase to end of line:
\033[K

9 lines of fewer code...

@Salvationdk I can't remove it because it will cause some issues. I actually added these lines on purpose.
process.stdout.write writes out the thing we want, it is basically console.log but without formatting. \r just overwrites that one line that it was on. But then this issue comes in, since it only replaces the characters that are there.
So if your bot goes from 1000 mass down to 44, there will be extra numbers at the end of the line because it hasn't removed those in the line remove. When the 10 second interval runs, it will add a couple spaces a the end of the line so it will remove those numbers. Why didn't I just keep the spaces there forever? Idk, possibly for future expanding ideas this will help :+1:

process.stdout.write("\033[K\rSpawned: " + spawnedCount + " | Total: " + totalScore + " | Average: " + avgScore + " | Highest: " + highestScore + " | Time: " + currentSeconds);
this will overwrite the entire line and also the extra trailing numbers each time it is written to console..

that is why i added the \033[K

Ah shit I probably should have read it more. Sorry!

:)

i have trouble setting up my fork and github to commit pulls. so i just type the changes here :)

@Salvationdk Done :)

sweet.

10 fewer lines :)

how is that for your OCD :p

two tumbs up bitch :D

Another better PR was made for this :)


Problem: Don't know the patterns that should be used when building an interpreter

Solution: Research the patterns and how they should be used
SuccessCriteria: There is a ccomment in this issue that lists the patterns that will be used, and includes some pseudo code to show the developers initial thought process

Let's refine the success criteria so that the document is listed in this Github issue, rather than part ofthe codebase. Documents in Git repos can get stale and this leads to confusion. If it's in an issue then it's very clear that it's only related to the issue and that it may no longer be valid/relevant.
This does not mean that we don't have design docs, they should be added to the repo after they're implemented (at some future stage we haven't decided on yet), to explain the design.

Patterns to use in building the interpreter
A list of the patterns that will most likely used in building the interpreter. These are not final, this is more of an exploratory list.
Factory Pattern:
https://sourcemaking.com/design_patterns/factory_method
Take in an AST for a class, and returns its interpreter
This will be a chain of factories, each contained within each other, used to build up the entire tree.
In practice:
There will be a single factory that represents the highest node, it gets passed an AST that represents tbe program that will be run
Each factory will have access to the factories required to build the child interpreter classes, required by the class that they build
This happens all the way down the chain, until you get to the lowest level in the tree. At which point it returns that object, causing a cascade back up.
Think of it as graph traversal within the factory.
Repository Pattern:
https://msdn.microsoft.com/en-us/library/ff649690.aspx
Store and load an AST from storage.
In practice:
ASTs will be build ahead of time, and certain ASTs will only reference the IDs of other ASTs, not their full tree.
This means that we can have references, rather than having to build a full tree and parse that each time it's run.
Interpreter Pattern:
https://sourcemaking.com/design_patterns/interpreter
Use a class to represent each node in the AST
In practice:
Classes are build up in a composite manner. They each implement a single "interpret" function that takes in a "Context" object.
"Context" is key value map that contains all the properties the tree can access
When interpret is called, it runs the interpreter all the way down the tree
NB: "Context" is still a vague concept, this will need to be explored further, possibly during a prototype stage
FlyWeight Pattern:
https://en.wikipedia.org/wiki/Flyweight_pattern
Build a complex object only one, then returns references to it later.
In practice:
ValueObjects will often get reused in this system. And we don't need to build a new one each time, we can reuse them to make things easier, faster.
This will live within the repository. Ie, the repostiory will have a caching layer (only at run-time).

Good enough for now, closing issue, but adding a label so it's easy to find.

Opening this issue again.
Found a list of DQL patterns suggested by Martin Fowler.
http://martinfowler.com/dslCatalog/
Given his track record, I recommend that these are reviewed and possibly distilled, it can only help us avoid mistakes.

Research on Martin Fowlers Patterns:
There's too much here to give a full breakdown of each pattern. Most of these patterns aren't new concepts, they're just names given to already existing concepts in interpreter and compiler design. Nearly all of the patterns make sense, which is a sign that we're on the right track.
There are a few nice ideas, which we should keep in mind for future.

Generation Gap, separate generated code from custom code via inheritance
Context variable is responsible for scope
Notification object, that collects all errors from validating a modelled DSL object, rather than stopping at the first one
Our repos are really symbol tables, a way to reference objects outside of the current definiton tree
Object scoping, bare references should resolve to the current object, rather than the global space

We've got a solid idea of the patterns to use in building an interpreter now. Time to close this issue.


New jetstream clustering  -what about super clusters with gateways?

Hi,
I've just read about (have not played with yet) the RAFT-based clusters in Jetstream. It seems a bit similar to NATS cluster in that each cluster member sees and can communicate with all other members.
In NATS, we also have super-clusters with gateway nodes and the group-queue logic is such that a server will always try to serve local queue subscribers first and only fail-over when a local queue subscriber is not found. The server will pick the cluster with the lowest RTT. This is extremely helpful when you have multiple locations and run a separate cluster in each location and have those clusters "combined" in a super-cluster.
How can I achieve a similar goal with Jetsream?
Thanks,
Dmitry

The data lives in one specific cluster only so we can’t exactly service it from your nearest cluster
how sever when creating streams you have some options. By default the stream is placed in the cluster you connect to so it’s near. You can specify a specific cluster for placing a stream with —cluster.
A final option is to create arbitrary tags for your node - ssd, east, west, etc - and when placing a stream you can say it has to be in nodes with ssd, or east or whatever.
It’s not quite as flexible as the geo failover queue subs - for now data has to be in tbe same cluster - but it’s helpful already.
We also just landed data replication so you can create a read only mirror of another stream in a nearby cluster.

Thanks for your detailed response. You said: "for now data has to be in the same cluster - but it’s helpful already". Are you planning to address this in the future releases or is it a fundamental property of the design and will stay the way it is with this respect?

I suspect its fairly fundemantal in keeping the replication performant, when you publish a message we have to get a quorum of nodes to have comitted it to disk - so we want that to be fast.  If they were US/EU spread, it would really suck.
I did some Active-Active replication experiments -  has a bunch of constraints - but 2 streams can mirror each other in a circle and this works, lots of limitations and BUTs in there though.
We'll after GA keep itterating quite quickly on a lot of these things based on feedback, customer demand and just wanting to do the right thing.  But where we are today we're getting what we have stable and shipping in a couple of weeks with that.

Thanks!
From: R.I.Pienaar<EMAIL_ADDRESS>Sent: February-26-21 9:34 AM
To: nats-io/jetstream<EMAIL_ADDRESS>Cc: RYUMKIN Dmitry<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [nats-io/jetstream] New jetstream clustering -what about super clusters with gateways? (#482)
I suspect its fairly fundemantal in keeping the replication performant, when you publish a message we have to get a quorum of nodes to have comitted it to disk - so we want that to be fast. If they were US/EU spread, it would really suck.
I did some Active-Active replication experiments - has a bunch of constraints - but 2 streams can mirror each other in a circle and this works, lots of limitations and BUTs in there though.
We'll after GA keep itterating quite quickly on a lot of these things based on feedback, customer demand and just wanting to do the right thing. But where we are today we're getting what we have stable and shipping in a couple of weeks with that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/nats-io/jetstream/issues/482#issuecomment-786683190, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS727KXZ4SU2HBFEOJG7YFLTA6WM5ANCNFSM4YHMQXHA.


[Question] where can i find the client id and secret in my provider?

Hi @tomasvotava,
Thanks for this wonderful tool. I was wondering where I can find the specific parameters from my provider, e.g GitHub or Microsoft since this is not mentioned in the docs.

Hi, thanks a lot!
Each login provider would have a documentation describing how to get your client credentials. Look for something like create oauth app, e.g.:

Github
Microsoft
Google


Slow scrolling while changing index on iOS

On iOS when the pan gesture started on indexes, then this is not scrolling fast. But when pan gesture reached to some specific index it scroll very fast to that section.

How many data?
Can you provide example?

@usamaazam10

if you need scroll fast, you can modify the delay time, but it may be stuck.


Methods for class

All Book class properties visible in the diagram should be defined and set up in the constructor method.
All Label class properties visible in the diagram should be defined and set up in the constructor method.

Pull request Aprroved! 🎉
Great job!!


dt passed to update is not affected by timescale

https://github.com/buckle2000/tick/blob/master/tick.lua#L45

Currently, setting tick.timescale to 2 only affects the dt internal to the library.  This means that love.update will be called twice as often but with the same fixed dt value.  So I don't think it's correct to also double the dt value, otherwise the game would simulate 4 times faster instead of 2.

Yes, I see.


change timeslots in day calendar to 10min

Hey,
Can I change timeslots to every 10 min in day calendar?

Set step to 10


404 error in css and js files

Next version
13.5
upgraded to 14 but still error persist
About the error
Getting 404 error on CSS and JS files as seen in network tab. This doesn't always occur. On the same deploy it sometimes occur while other time it doesn't. Before, rebuilding had done immediate fix (didn't occur about for a day after rebuild) but now even rebuilding is not doing a immediate fix.
Why 404?
I downloaded the build directory from Netlify and I found that when the error occurs the requested file is not in the requested path (the file doesn't exist anywhere in the build directory) BUT when it the app is working well, then the file requested is the file that is in the build directory. What is the main concern is under same build being deployed sometimes it requests the unavailable file while other time it requests the correct file.
What I found after digging in
When I visit the deploy preview URL of Netlify it works well. But for my custom domain (lets say domain.com) the CSS/JS file request sent is inconsistent.
I tried pointing the domain from domain.com to app.domain.com and test.domain.com and it worked well there too but when I repoint to domain.com it again broke.
Then, hosted the next app to my server with  domain.com added and there it is working well.
So, is this Netlify caching issue under domain.com?
Steps to Reproduce
The error is inconsistent and can't be reproduced.

Hi @sebakthapa
We are already aware of this issue and implemented changes to prevent it from happening again in the future, but are still in the process of cache purges to get out of problematic state for sites affected by it. You can force this for your sites by triggering a redeploy or following https://docs.netlify.com/platform/caching/#purge-by-site yourself as mass purge we are performing might take some time until it handle your site(s).

Will redeploy work?
I am asking because it has been almost a week since I first encountered this issue and I have redeployed it multiple times. Before, redeploy/rebuild fixed the problem for about a day or two but yesterday, after around ( 31 Jul 2024 09:15:00 GMT) the issue was never resolved even on rebuild.

We are already aware of this issue and implemented changes to prevent it from happening again in the future

When was the new changes implemented?
I am afraid if purging the cache or a redeploy today would work because it wasn't working yesterday.

No, I didn't have any redeploy after that time. I'll give it a try.


can you make it so it brings you to a website

What is your question?
I know this is done with the credits but
how do you do this in a song? or when you die?

With source, just do CoolUtil.browserLoad(link). With lua, I don't know.

@PrismLight
oh, well thanks
i'll go see if that works
and if not then... idk whats after

where would I put CoolUtil.browserLoad(yes, I put the link here don't even ask)

You can find public function endSong():Void for the end of the song.

You can find public function endSong():Void for the end of the song.

where do I put the code in CoolUtil.hx? that's what I meant. sorry for the inconvenience

You can find public function endSong():Void for the end of the song.

where do I put the code in CoolUtil.hx? that's what I meant. sorry for the inconvenience

You don't put it in CoolUtil.hx. the reason CoolUtil. is in there is because the FUNCTION is from CoolUtil.hx.

You can find public function endSong():Void for the end of the song.

where do I put the code in CoolUtil.hx? that's what I meant. sorry for the inconvenience

You don't put it in CoolUtil.hx. the reason CoolUtil. is in there is because the FUNCTION is from CoolUtil.hx.

then where do I put it (I do not do Haxe coding I am most experienced with Lua)

You can find public function endSong():Void for the end of the song.

where do I put the code in CoolUtil.hx? that's what I meant. sorry for the inconvenience

You don't put it in CoolUtil.hx. the reason CoolUtil. is in there is because the FUNCTION is from CoolUtil.hx.

then where do I put it (I do not do Haxe coding I am most experienced with Lua)

You'll have to find the related function for what you want to do. For example, if you want to direct the player to the website when they die, put it in doDeathCheck in PlayState.hx

You can find public function endSong():Void for the end of the song.

where do I put the code in CoolUtil.hx? that's what I meant. sorry for the inconvenience

You don't put it in CoolUtil.hx. the reason CoolUtil. is in there is because the FUNCTION is from CoolUtil.hx.

then where do I put it (I do not do Haxe coding I am most experienced with Lua)

You'll have to find the related function for what you want to do. For example, if you want to direct the player to the website when they die, put it in doDeathCheck in PlayState.hx

cool


Question:Error! colabfold-conda directory is not present in .

However, you do see the folder exis using ls
Computational environment

OS: [e.g. Ubuntu 20.04, Windows11 & WSL2, ]
CUDA version if Linux (Use nvidia-smi to check) Cuda 11.7

To Reproduce
bin        colabfold-conda  matplotlib                 stereo_chemical_props.txt.1  update_linux.sh
colabfold  conda            stereo_chemical_props.txt  stereo_chemical_props.txt.2
Expected behavior
A clear and concise description of what you expected to happen.

Try
# change directory to your colabfold_batch directory
cd /path/to/colabfold_batch
# Do not forget '.' after './update_linux.sh'
./update_linux.sh .

thanks for your reply. Already tried cd to the colab_batch folder and double check the line still got the same error.
I rerun the installation, it's the same issue.
For now, i think i can keep the update by re installation.when there is a significant release
Thanks,
Hu
---- Replied Message ----
| From | Yoshitaka @.> |
| Date | 07/04/2022 01:14 |
| To | @.> |
| Cc |<EMAIL_ADDRESS>|
| Subject | Re: [YoshitakaMo/localcolabfold] Question:Error! colabfold-conda directory is not present in . (Issue #93) |
Try
change directory to your colabfold_batch directory
cd /path/to/colabfold_batch
Do not forget '.' after './update_linux.sh'
./update_linux.sh .
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Error in importing

import  { DefaultLayout }   from '@coreui/react'; this gives me
 React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports. error.

You cannot import import { DefaultLayout } from '@coreui/react'; since it is placed in src/containers


Cannot set store twice in single action

If store.tasks is not defined, this fails:
<button
  onClick={() => {
    if (typeof props.store.tasks === 'undefined') {
      // set the store once
      props.store.tasks = [];
    }

    // expect tasks to be defined
    props.store.tasks.push({ name: 'A new task' });
  }}
>
  Add a task
</button>

Because the first props.store.tasks = [] doesn't update the store before the next line store.tasks.push is called. The order is:

Call props.store.tasks = []
The collect HOC has setState called with the new store. But, React will wait for the other synchronous code to finish before triggering a re-render, so...
The event handler code continues, but props.store hasn't yet been updated (React is waiting for this code to finish) so props.store.tasks is still undefined and props.store.tasks.push() fails.

Using the global store instead of the one passed in as props resolves this, but it's not great DX to have the rule "when reading from the store, use props.store, when setting in the store, use the global store".
And what if I want to do two things with the passed in task object? I can't get a reference to this in the global store.
Is it time to name them differently? Does that help?

Note to self: this is a breaking change, because a user may have implemented a workaround (I did in scatter-bar) which will then break.


Add gatsby-source-graphql

Reason for change

Add the ability to source content from the manifold GraphQL API.
I was going to convert a component as well in this PR as an example but it sounds like we might be holding off on that due to slowness in the GraphQL API. Is that correct? Just inferring that from the product page conversion being closed. maybe @dangodev can clarify?
How will we integrate this into docs ? Once components are converted to GraphQL, instead of having example components fetch their own data, use the *-view component for display and use a Gatsby staticQuery to load data at build time and pass that to the components.
Testing

when running the docs in dev mode, go to /___graphql. the entire GraphQL API should be exposed via on the manifoldApi node.
Example:
{
  manifoldApi {
  # Query the Manifold API here
    products (first: 10) {
      edges {
        node {
          displayName
          logoUrl
        }
      }
    }
  }
}

it sounds like we might be holding off on that due to slowness in the GraphQL API. Is that correct?

Yes; we need GraphQL to be faster before using it in our web components. But in regards to GraphQL, I think getting things set up early is great, but in this scenario I have thoughts (below)

How will we integrate this into docs ?

Honestly, the mocking should go away eventually. That was all a hack to get the catalog components working without auth. There’s a bigger problem of the catalog components not working on marketing pages.
In that light, I think piping all the data through Gatsby is probably not what we want, long-term? The components should fetch their own data. The fact that we had to mock them was probably a red flag more than anything. So mocking GraphQL in this PR… I’m not sure if we’ll need this?

So we should close this PR then @dangodev? :P

So we should close this PR then @dangodev? :P

I hate to say it, but I think it’s best 😞. But feel free to keep the branch or code around as we may need this in the future! Just not for our UI components

no problem, sometimes things change :)


Feature: per listener configs for authentication/authorization

I've never seen a use case that couldn't work around the fact that authentication/authorization configs are global and not per listener.
But still, it makes so much sense to allow per listener configs. We need to fix that initial design decision not to do that.

Totally useful! We currently use mosquitto this way. Cluster local apps connect over 1883 without authentication. Websocket listener is exposed via an Ingress and is authenticated.


Editor 19115-2 ISO 19119 service taxonomy

No codelist showing

There is no codelist showing when trying to create a Gemini (Service) metadata record either:

The ISO Service Category issue was resolved, it affects the INSPIRE and GEMINI profiles.
https://github.com/Esri/geoportal-server-catalog/commit/346ab068156c83ce64bfe385d01e6b20c5b0d32e


Doc : performance-and-scalability

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities
To ask questions about how to use Istio, please visit https://discuss.istio.io)
Bug description
In performance documentation : https://istio.io/latest/docs/ops/deployment/performance-and-scalability/
some minor points which may be updated to bring more clarity

In Summary section there is line : The Envoy proxy adds 2.65 ms to the 90th percentile latency.
but also on the same page under section Latency for Istio 1.9.4 we see :  Inside the mesh, a request traverses the client-side proxy and then the server-side proxy. In the default configuration of Istio 1.9.4 (i.e. Istio with telemetry v2), the two proxies add about 2.65 ms and 2.91 ms to the 90th and 99th percentile latency  which indicates the additional latency is because of 2 proxies and not per proxy level.

Additionally, lines referring an older version may be removed to avoid confusion from this page : As of Istio 1.7, a proxy consumes about 0.5 vCPU per 1000 requests per second. whereas in Summary, it says : The Envoy proxy uses 0.35 vCPU and 40 MB memory per 1000 requests per second going through the proxy

[X] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
Expected behavior
Steps to reproduce the bug
NA
Version (include the output of istioctl version --remote and kubectl version --short and helm version --short if you used Helm)
NA
How was Istio installed?
NA
Environment where the bug was observed (cloud vendor, OS, etc)
NA
Additionally, please consider running istioctl bug-report and attach the generated cluster-state tarball to this issue.
Refer cluster state archive for more details.

cc @mandarjog do we have a new owner for this page?


moodle: mount single volume at /bitnami

Since bitnami/moodle:3.3.0-r4 we can mount a single volume for persistence at /bitnami. It would be nice to have this included in your pull-request

looks good and it's a great idea, so now one can use local volumes (k8s 1.7) which are limited to one mount per pod.


CEODEV: Unexpected behavior when editing shp project

THis may happen for other types of projects as well.
If you create a shapefile project, then go to edit it, clicking the 'next' button makes you go to the review screen. also only 'project overview' is in the top navigation.

This is not an issue. Full edit has not yet been deployed.


Custom JWT payload

Oh maaan, didn't notice that there is already a PR for that. However I still think this is more complete solution than the other for the reasons below. You decide. :)
This PR adds an ability to pass an object to JWT authenticator so that you can store in your token necessary information.
The existing payload key is replaced by custom key defined in the authenticator's configuration userKey. As payload says nothing about what it stores it seemed reasonable to make it configurable and what's more some scenarios may require storing user ID under specific key.
generate method gets second argument which is raw object which is gonna be the token's payload. It doesn't change the existing behaviour so any static data specified in options key in JWT's configuration will be still there.
attempt method gets third argument which is a function receiving a user on which you can base your token's payload. The function should return an object which goes straight to the generate method (see above). For example you can put there user roles.
If this goes through it will be mandatory to include userKey: 'payload' in the default JWT configuration. Defaulting it to payload in the code is more hacky than introducing new configuration variable. Also it won't change anything in the existing codebases so if you don't bother about custom payload you don't have to do anything.
I'll be happy to see suggestions on how to make it better.

Coverage increased (+0.4%) to 97.966% when pulling 73419879c6520bdd6fbe1f90b603b1a780adad6d on marines:feature-custom-jwt-payload into cfec3c236a5dc115441285706e70c35c002e3b27 on adonisjs:develop.

How is it going with the PR?

@thetutlage Any news? Without the ability to put data in JWT token JWT auth is hardly useful.

Done in https://github.com/adonisjs/adonis-auth/commit/2e413fe8643141f4d3752f4df04bd936bd65638d


Add ENV overrides for default configuration file

Related to #9
@gregjan will these ENV overrides work for you?

These ENV overrides look great to me, and thanks to Joe (@atz) for feedback testing the Docker container.


[Do Not Merge] Update to latest perflib

Waiting for this to be fixed and pushed: https://issuetracker.google.com/issues/122713143

Update: since this is taking time to get fixed upstream I added a patched overlay file until then.


feat: Add css style gaps

Describe your PR, what does it fix/add?
gaps can be configured via css syntax:
gaps_out = 5 -> 5 all
gaps_out = 5, 10 -> 5 top and bottom, 10 right and left
gaps_out = 5, 10, 15, 20 -> 5 top, 10 right, 15 bottom, 20 left
Note: for workspace rules I used a whitespace as delimiter e.g. 5 10 15 20 (without comma)
wiki mr: https://github.com/hyprwm/hyprland-wiki/pull/473
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)

existing configurations work as expected -> one number does the same
changes the output of hyprctl workspacerules. -> instead of 1 number it will print 4

Is it ready for merging, or does it need work?
A quick check for formatting and naming should suffice ( i hope :P )

Yeah, I thought about that one, and perfectly reasonable, gives me some time to make sure I didn't accidentally break something.

Alright, updated to hyprlang.
There is one problem I have.
Currently a wrong gradient only creates a log, not a red banner error, as I have implemented the same custom data type, css gaps will also not cause a red banner.

Yeah, that's why I was asking if this might be a missed interaction between the custom data types. It doesn't cause an error on main either, so it's not what I added.

add it for the user's sake I guess

Alright, how do you invoke HyprError within the set (GradientSet, CssGapSet) functions?
I tried the addParseError, but it doesn't do anything, I assume that is because this is separate from the regular parsing, e.g. after everything else is parsed.
Perhaps a separate way to display the error?

just return an error in the handler via the Hyprlang::ParseResult

That's what I tried to explain. The returned error isn't handled properly. The gradient handler returns the error, just like the now implemented css gaps.

fixed in hyprlang. Use hyprlang-git and it should pop up.

Awesome :) the error works now for custom types.
Now the only thing that only causes logs is the workspace rules.
-> bordersize caused a crash before on stoi, I put a try catch around it and logged the error.
-> gaps, both cause a log
Perhaps another PR later on can expand the workspace rules to also cause a banner error.

I guess yea. Is this ready for review?

I would say so.


update prod deployment

I also enabled sonar debug logging to track down why some scans were failing on the server side, but I wasn't able to reproduce it after enabling it

closing in favor of #69


Reveal and select target on desktop

When appName is ‘finder’, ‘explorer’, or ‘desktop’, open a window on the desktop to the containing folder and select the target instead of opening the target file. Currently only handled on Mac and Windows.

+1


⭐ Golden Edition - Issue with JSON to YAML Converter Paste Input Height

I have checked the following:

[X] I use the newest version of bruno.
[X] I've searched existing issues and found nothing related to my issue.

Describe the bug
In the DevTools JSON to YAML Converter window, the default height is currently very small, making it difficult to view and edit content comfortably. At present, only one line of text is visible at a time, which limits usability and requires constant scrolling to review content.
.bru file to reproduce the bug
No response
Screenshots/Live demo link

Thanks for reporting this @swagfin !
We'll have this fixed in the upcoming release.

This issue has been resolved in v1.34.1, so I'm closing this ticket.


fix mirorred 360 video stream

Panoramic 360 video stream is rendering mirrored and should be flipped to reflect reality.

Works using a-videosphere in https://github.com/conix-center/ARENA-core/commit/9ca7c7d1150b17ab23a199ec3d02ce2e7fe579b0


Improve playground & add LayoutArrangement.debugDescription

Added more playground pages for:

Simple Layout Demos
Animation (from animations.md)
React.js/Elm-like rendering example (Counter.xcplaygroundpage)
Animation failure reported in https://github.com/linkedin/LayoutKit/issues/88 (Test.xcplaygroundpage).

And for debugging purpose, I also added LayoutArrangement.debugDescription.

Current coverage is 92.56% (diff: 0.00%)

Merging #89 into master will decrease coverage by 0.24%

@@             master        #89   diff @@
==========================================
  Files            53         53
  Lines          3046       3054     +8
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           2827       2827
- Misses          219        227     +8
  Partials          0          0

Powered by Codecov. Last update e13111a...ebfc91b


[Intro to iOS] Week 1 Assignment Done

My app is ready. Please review. /cc @thecodepath @codepathreview

I'm looking at your readme, is it correct that you did all the required stories but none of the optionals?

No, all the optionals listed are ones that I did, I also added a little description after each one about my approach to them.
I'll reformat the README to make that a little bit more clear.

:+1: nice work. The point of this homework was to explore a simple example of a full MVC application with a RESTful API. For each point in the homework feedback checklist, I'll either confirm that you're on the right track with the implementation, or I'll provide some feedback:

missing .gitignore file
I love M13ProgressSuite
Nice code styling. The New York Times has a good summary of appropriate Objective-C coding conventions, you should take a quick look here.
Nice work with the header files. You should always try to minimize the number of properties and methods in the header files and move all private properties and methods into the class extension (the @interface block in the .m file).
In future homework, we will cover how to implement models that can deserialize from an NSDictionary. It might be interesting to check out the Mantle project for a lightweight ORM.
Your custom Movie cell should have a property called movie. In the custom setter of movie, you should configure the various labels and images. This decouples your custom cells from the table view controllers.
Nice work loading the images asynchronously.
Nice work setting up the proper modes for the images so that they are not stretched.
Nice work implementing the error message on network failure.

In general, you should challenge yourself to create visually polished applications. That's where you'll find all the rough edges of the iOS framework and earn the next level of mastery.
--dirk


CVE-2022-21681. updated marked, disable unsupported opts

CVE Link 🔗
CVE-2022-21680
CVE-2022-21681
Notes ✍

marked was updated - link;
Unsupported options were disabled;

This is just used in two examples, and the version upgraded here is not compatible. I see the fix is available a few majors before 6, can you try only upgrading the dep to the minimal fixed version to see if that is sufficient? Otherwise we may need to find a new dep for those examples or change the examples to something else.


incorrect observations in README.md

In the Observations section of README.md, it is stated that:

As expected Armadillo with internal BLAS/LAPACK wrappers performance is pretty poor.

This is incorrect, as the meaning of the "internal wrapper" is wrong. There is either a wrapper for an external library, or there isn't.  A re-implementation of a function is not an "internal" wrapper, but simply internal functionality. The correct wording for the quoted problematic statement should be:

Armadillo without the use of OpenBLAS or MKL wrappers obtains poor performance. However, when the wrappers for OpenBLAS or MKL are enabled within Armadillo, the performance is virtually the same as for the other libraries.

Hello, you are right indeed, I will modify, thanks for noticing me and for your great work on Armadillo.


Fix spaceless tag deprecation

Fixes #143

Thanks for this. Do we need to set a Twig constraint in composer.json?

Yes, as the apply tag was added in Twig 2.9. I added a commit.


Add support for MultipartBody filename parameter

Is your feature request related to a problem? Please describe.
Since filename parameter isn't supported, hacky code is required to call multipart request with filename.
    multipart.add_or_replace_part('file"; filename="sample.png', "image/png", content)

Describe the solution you'd like
Add support for MultipartBody filename parameter.
 def add_or_replace_part(self, part_name: str, content_type: str, part_value: T, filename: Optional[str] = None) -> None:

Describe alternatives you've considered
N/A
Additional context
C# and Java have supported filename already.

Thanks for raising this @kaakaa
Any chance this is this something you would be willing/interested in submitting a PR to resolve?

Yes, sure. I'll send PR later. And I might be enable to do the same for go library.


Added comments for Base image, Workdir

Description

...  Added comments for Base image and Working directory in dockerfile.
...
...

Related issue(s)

@mukulsrmcse Thanks, but for now I will mark it as invalid, but you know what, we have an issue for Hacktoberfest for this Dockerfile so feel free to contribute -> https://github.com/asyncapi/generator/issues/399
We are taking active part in Hacktoberfest. I recommend you reading https://www.asyncapi.com/blog/hacktoberfest-2020 that explains how to contribute to our project. There is a long list of issues you could pick up, many trivial/easy ones as the one that you just did, but these ones bring value to us. Next week we will also host office hours in case you would like to do some pair programming with us.


help command that lists all commands (for discoverability)

>>> dvc --help
Unimplemented or unrecognized command: --help

usage: dvc [--version] [--help] command [<args>]

These are common DVC commands:

start a working area
    init           Initialize dvc over a directory (should already be a git dir).
    run            Run command.
    import         Import file to data directory.
    remove         Remove data item from data directory.

synchronize data between remote and local
    data sync      Synchronize data file with cloud (cloud settings already setup).
-

Duplicate issue created by mistakes (github returned error on submit but created message)


when I

READ THIS FIRST: If you are having trouble getting MNE-Python to work with
your own data, you should ask for help on the
MNE Forum.
Our GitHub issue tracker is only used to report bugs and suggest improvements
to MNE-Python. For any other questions, please use the forum.
Usage questions that are posted as GitHub issues are usually closed without
being answered. See
the FAQ entry on filing bug reports
for more guidance. If you're pretty sure your problem is a bug in MNE-Python,
please delete this section and fill in the headings below, replacing the
placeholder text with your own responses. Surround any code samples with triple
backticks above and below the code block (see
the GitHub guide to markdown
for help with issue formatting). Alternatively, you can put your MWE in a
public gist and link to it in this issue.
Describe the bug
Replace this text with a description of the bug.
Steps to reproduce
Replace this text with a code snippet or minimal working example MWE to
replicate your problem, using one of the built-in datasets, preferably the
one called sample. If you can't replicate on a built-in dataset, provide also
a link to a small, anonymized portion of your data that does yield the error.
Expected results
Replace this text with a description of what you expected to happen.
Actual results
Replace this text with the actual output, traceback, screenshot, or other
description of the results.
Additional information
Replace this text with the output of mne.sys_info().

已收到，谢谢

my code show :
def get_data(path):

    rawEEG = read_raw_edf(path, preload=False)
	epochs_data, event_dict = mne.events_from_annotations(rawEEG)
    print(event_dict)

and I I have a lot of EDF files,When I use the code above to open a file,my event id dict show:
Used Annotations descriptions: [' Bad Signal', 'äº§ç\x94\x9fè§\x89é\x86\x92', 'ä»°å\x8d§', 'å\x81\x9cæ\xad¢ PSG', 'å\x8f³', 'å\x8f³ä¸\x8a', 'å\x90¯å\x8a¨ PSG', 'å·¦', 'æ\x9b´æ\x94¹', 'æ°§å\x87\x8fé¥±å\x92\x8c', 'ç\x9d¡ç\x9c\xa0å\x88\x86æ\x9c\x9f, ä½\x93ä½\x8d, æ°§å\x87\x8fé¥±å\x92\x8c, å\x91¼å\x90¸æ\x9a\x82å\x81\x9c', 'é\x98»å¡\x9eå\x9e\x8bå\x91¼å\x90¸ä¸\x8dè¶³', 'é\x98»å¡\x9eå\x9e\x8bå\x91¼å\x90¸æ\x9a\x82å\x81\x9c', 'é\x98»æ\x8a\x97']

and then, i use EDFbrowser to open this file:

this characters  is normal.
but when i open other file,show me result:
{'Ambulatory Start Recording': 1, 'Ambulatory Started.': 2, 'Auto-Staging Montage Error': 3, 'Breath Hold (10 seconds)': 4, 'Close Eyes (30 seconds)': 5, 'EEG arousal': 6, 'Eye Blinks X5': 7, 'Eyes Left and Right X5': 8, 'Eyes Up and Down X5': 9, 'Flex Left Foot': 10, 'Flex Right Foot': 11, 'Gain/Filter Change': 12, 'Grit Teeth or Chew (5 seconds)': 13, 'Lights Off': 14, 'Lights On': 15, 'Montage:TREX - Sleep, Ref': 16, 'Nasal Breathing (10 seconds)': 17, 'Normal Breathing': 18, 'Open Eyes (30 seconds)': 19, 'Oral Breathing (10 seconds)': 20, 'Recording Analyzer - ECG': 21, 'Recording Analyzer - QEEG': 22, 'Simulate Snore or Hum (5 seconds)': 23, 'Sleep stage N1': 24, 'Sleep stage N2': 25, 'Sleep stage N3': 26, 'Sleep stage R': 27, 'Sleep stage W': 28, 'Start Recording': 29, 'Started Analyzer - Sleep Events': 30, 'Stopped Analyzer - Sleep Events': 31}

now,I have about 1000+ EDF files, but a lot of them show garbled characters, is this the error of the original file?
Can you avoid this kind of mistake

I think we are using a character encoding scheme which does not support international characters. This might be a bug, because the EDF specification mentions that annotations can contain any UTF8 character.

Can you try changing 'latin-1' to 'utf8' here? Note that there is a comment stating that decoding to UTF leads to errors sometimes.

yes,my changed code looks like this:
# use of latin-1 because characters are only encoded for the first 256
# code points and utf-8 can triggers an "invalid continuation byte"
# error
# triggers = re.findall(pat, tals.decode('latin-1'))
triggers = re.findall(pat, tals.decode('utf8'))

and result show:
{' Bad Signal': 1, '产生觉醒': 2, '仰卧': 3, '停止 PSG': 4, '右': 5, '右上': 6, '启动 PSG': 7, '左': 8, '更改': 9, '氧减饱和': 10, '睡眠分期, 体位, 氧减饱和, 呼吸暂停': 11, '阻塞型呼吸不足': 12, '阻塞型呼吸暂停': 13, '阻抗': 14}

Now that the bug has been identified, can we add a parameter to change the coding directly for read_RAW_EDF or events_from_annotations

@TTyb let's see if this change breaks any tests in #10963.

@cbrnr thank you,i will focus on https://github.com/mne-tools/mne-python/pull/10963.

已收到，谢谢


Google Oauth for authentication

Using google oauth we will authenticate our login/signup form .
For that i need to have access of database. so for that kindly add me to the  project .
My email is<EMAIL_ADDRESS>

Congratulations, @NIveX2169! 🎉 Thank you for creating your issue. Your contribution is greatly appreciated and we look forward to working with you to resolve the issue. Keep up the great work!We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our contributing guidelines

Added. Please check :) @NIveX2169

Yes i have received it.

update @NIveX2169 ?

Sorry I was busy ... I will do it by this Sunday is it fine to you?

No issues, kinda important issue tho. Make sure to drop the PR by sunday EOD :)

What's the update @NIveX2169 ? Been 2 weeks now :/

Hii @NIveX2169 could you drop the PR by EOD?

One issue at a time @harini-1597 :/

hello @pooranjoyb, I could work on this is the mean time.

hello @pooranjoyb, I could work on this is the mean time.
email<EMAIL_ADDRESS>
Yes @pooranjoyb  let him do ...

@pooranjoyb If no one is currently working, then I am interested to this issue.
Kindly assign to me.

Hello @pooranjoyb I need to access database for this. Could you please add me to the supabase project.
email<EMAIL_ADDRESS>

Hello @pooranjoyb I need to access database for this. Could you please add me to the supabase project. email<EMAIL_ADDRESS>
Invite sent. Please check mail.

Hello @pooranjoyb, I have decided to use google cloud to enable google auth screen, and then integrate it to supabase. So does this project already have an existing google cloud project.

Hello @pooranjoyb, I have decided to use google cloud to enable google auth screen, and then integrate it to supabase. So does this project already have an existing google cloud project.

Yes I have integrated that you can simply remove that ....go to Google console add up details ...and then remove details from supabase ....

You are going to use jwt for authentication right!!


More adjustments for plot app

Based on the conversation I had with @hongsudt yesterday, there are a few more things to address for the plot app. These are taken from some of the PR comments I previously left and others from discussion about error handling strategies.

[x] add a margin at the top of each graph
[x] defining chaise-config as <script src='/chaise/chaise-config.js'></script>

This will always use the chaise-config that's at the server root (the one used by master). This is fine for deployments using master (dev, staging, production) but makes it harder for us to test chaise config features and changes because our config will be ignored.
In the below issue, I use the above syntax for sample-navbar.html, but that's for an example. In that case, the html file can be root or 4 levels deep, so the developer would have to hardcode chaise config based on location to the sample.html .
I think in this case, we want the webapps to use a relative path that assumes the apps will be in a folder structure like:

/html/chaise/chaise-config.js
/html/deriva-webapps/<webapp>

this comment goes with issue #67

[ ] regarding the session check, we need to rethink the error handling strategy in this case.

We can't simply assume the user needs to be logged in to view the data, some of the presented data could be accessible anonymously
if we were to use the Reference API in ermrestJS, this more robust error handling that chaise has would be used. We have checks in ermrest.resolve to handle some of these cases to better provide errors for the users.

[ ] consider the case that Mike raised about formatting values

we had a function to strip values from a string and parse them into an integer, this might have worked for a very specific case, but in general this will most likely not be the case
either this "function" to modify the input is a configuration
OR, we define a strategy that plot app will always use that's more globally safe and data modelers will have to align their data to that strategy

The PR #80 contains the above adjustments.


[FLINK-26692][e2e] migrate TpcdsTestProgram.java to new source

What is the purpose of the change
As described in FLINK-26692, we should migrate TpcdsTestProgram.java to new source.
Verifying this change

e2e test

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

Hi @zhuzhurk @wanglijie95 , This PR is ready, can you take a look when you are convenient ?

Thanks for review @zhuzhurk @wanglijie95 . I've addressed all your comments. Please take a look..

I found that after changing to new source, tpcds runs slower than before. This is probably mainly because the new csv source is slower than the legacy CsvTableSource. It only took 20 min before, and now it takes 30 min. I think we need to wait for FLINK-26760 to have a conclusion before merging this pr.

I found that after changing to new source, tpcds runs slower than before. This is probably mainly because the new csv source is slower than the legacy CsvTableSource. It only took 20 min before, and now it takes 30 min. I think we need to wait for FLINK-26760 to have a conclusion before merging this pr.

I agree. The way that parsing csv data between CsvInputFormat.java#L87 which legacy csv source used and CsvReaderFormat.java#L193 which new csv source used is quite different, may be we can reuse the parse method of CsvInputFormat in CsvReaderFormat.


Move mutations on a single recombinant match above parents

Currently mutations get pushed below the recombination node, which is probably less parsimonious that putting them on the branches back to the parents.

See #86 e.g.


Hooked up gov checkbox in new bot dialog.

Fix for #1281
===
NOTE: Still waiting on docs link & need to add entry in changelog

Pull Request Test Coverage Report for Build 2063

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 51.621%

Totals

Change from base Build 2053:
0.0%

Covered Lines:
4593

Relevant Lines:
8315

💛  - Coveralls


ExceptionLayoutRendererTests.cs vs ExceptionTests.cs

Hi @Xharze
The folder LayoutRenderers under project 'NLog.UnitTests.netfx45' has a file
ExceptionLayoutRendererTests.cs and ExceptionTests.cs
I think those file should be merged? (ExceptionLayoutRendererTests.cs is inconsistent named)

Yes, these files should be merged to have consistent test names


FireBase-Messaging resolves dependency to a flagged potential performance issue version

Please fill in the following fields:
Unity editor version: 2018.4.18f1
Firebase Unity SDK version: 6.14.0, 6.14.1
.unitypackage & UPM
Firebase plugins in use (Auth, Database, etc.): Analytics, Crashlytics, Dynamic Links, Messaging, InstanceID, Remote Config
Additional SDKs you are using (Facebook, AdMob, etc.): Facebook, IronSource etc
Platform you are using the Unity editor on (Mac, Windows, or Linux): Mac, WIndows
Platform you are targeting (iOS, Android, and/or desktop): iOS, Android
Scripting Runtime (Mono, and/or IL2CPP): IL2CPP
Please describe the issue here:
Resolving dependencies loads a potential performance issue dependency on Android flagged by FireBase: https://firebase.google.com/support/release-notes/android#messaging_v20-1-5
Does not repro on 6.9.0 (.unityPackage) or 6.13.0 (.unityPackage/UPM)
Please answer the following, if applicable:
What's the issue repro rate? (eg 100%, 1/5 etc)
100% repro by Force Resolving Dependencies in Unity Editor

Fixed as of 25th of May 2020.
On all version: 6.9.0 -> 6.14.1


Mentioned your project

I really love this library and using webtorrent for signaling made me add an serverless p2p implementation in godot.
Since i got the idea from your project i mentioned you 🥇
See: https://github.com/freehuntx/godot-matcha

Looks really cool, thanks for sending! Glad to see the ideas spreading to other platforms.


Amkette Evo Gamepad Pro 2 controller for android is reporting wrong values for axis

Godot version:
Godot 3.2.1
OS/device including version:
Windows 10 Pro
Issue description:
Amkette Evo Gamepad Pro 2 controller for android is reporting wrong values for joypad axis, I have an Xbox one controller which works just fine.
Steps to reproduce:
Connect Amkette Evo Gamepad Pro 2 controller to android and try adding axis input in Input Map and check the values for left and right analog joystick
Minimal reproduction project:

Related to #8368?

@Calinou  That issue seems like an additional feature addon. Also on further inspecting half of the well known Xbox one controller buttons are not working

Godot uses the SDL2 game controller database for controller mappings. This device is not in the list, so it is not currently expected to work. In order for this device to work in Godot, please create a mapping with one of the tools listed (such as Steam), and submit a pull request.

@aaronfranke But even the well known Xbox one controller buttons are mapped wrongly? Am I missing something?
For example when I set a mapping for Xbox X button none of the buttons in my controller responds to that event. But when I set mapping for Xbox Y button the X button in my controller responds for that event.

@vickylance I don't know why your Xbox One controller is not working. Is it recognized by your OS? Does it work in other games and in Steam?
In any case, I've shown you how to create and submit mappings for controllers, please do so for your Amkette Evo Gamepad Pro 2 so at least that controller will work :)

@aaronfranke yes I used xbox accessories app to test the inputs and everything was working fine all the buttons were correct and also it works in all the games correctly.
I will look into how to submit mappings for Amkette Evo Gamepad Pro 2

@aaronfranke  @Calinou  I tested with my xbox one controller using SDL 2 gamepad tool and everything is working fine and I also see that my Xbox one controlller's guid 030000005e040000fd02000003090000 is already present in this file gamecontrollerdb.txt but still godot is mapping wrongly for my xbox one controller. Is by any chance Godot not using the latest mappings from that file?

Is by any chance Godot not using the latest mappings from that file?

Yes, Godot is stuck on SDL 2.0.4 mappings from https://github.com/gabomdq/SDL_GameControllerDB (which were removed from that repository recently).

Yes, Godot is stuck on SDL 2.0.4 mappings

Not exactly. Godot doesn't support the new features of SDL 2.0.6 but we still benefit from the majority of bindings of gamecontrollerdb.txt which do not use those features. Those who do need the features don't work indeed.


allowNTLMCredentialsForAllDomains causes the application to terminate.

Since the electron v0.34.1 version, when this feature was launched, I'm trying to use it in Windows 10, but causes the application to terminate.
No error message is shown

Are you perhaps calling this API before ready has fired?

Assuming this is the case, please reopen if not.

I'm sorry, I forgot to answer .. Yes this was the case, thank you.


Add link to BUGS syntax BNF definition

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
999

Relevant Lines:
1395

💛  - Coveralls


Update clawback-primitive-guide.md

Some 404 errors .clvm renamed to .clsp

Hey @EmilioLucky , thank you very much for catching this and providing the fix.
We do, however, require that all commits to the repos are signed and verified. Would you be able to sign and resubmit the PR?
https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits
Let us know if you run into any issues and we appreciate the contribution!

Hey @EmilioLucky , thank you very much for catching this and providing the fix.
We do, however, require that all commits to the repos are signed and verified. Would you be able to sign and resubmit the PR?
https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits
Let us know if you run into any issues and we appreciate the contribution

to be included in upcoming pr


Allow getMemberStatus to have balance of 0.0 DAC tokens

Members who have voted and have 0.0 DAC should be considered as members.
https://github.com/eosdac/memberclient/blob/dev/src/store/user/getters.js#L49-L54
    if(getters.getDacBalance !== null && getters.getAgreedTermsVersion){
        return 'member'
    }
    else{
        return 'pending'
    }

at eosdac you're considered an active member only if you have a positive eosdac balance.

@piecesnbits oh really? Ok well if that's the case, then we can close this issue then 👍

:-)


⚠ Bofrost.be has degraded performance

In 5db4e75, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 938 ms

Resolved: Bofrost.be performance has improved in da379ae.


Make scope work over the weave network

It doesn't mix with --net=host

could perhaps use weave expose to get a weave IP for the host.

Finally resolved with #302


mySQL database addon on pause!

hello everyone! the mySQL database addition is on pause as i HAVE MADE THE SERVER, BUT IT HAS PROBLEMS CONNECTING!
thank you for understanding.

Never found a real use and also kinda a waste of time, sorry guys


Remove sonatypeRelease commands

So we can remove the https://github.com/apache/incubator-pekko/blob/main/build.sbt#L20-L24 boilerplate from our projects

@mdedetrich there is a compile issue - https://github.com/pjfanning/sbt-pekko-build/actions/runs/7640330139/job/20815229903?pr=8

@pjfanning Its now fixed


install, debians: Mention removing repository

While testing @hidmic's work on plumbing drake-ros into our codebase
\cc @cottsay

Thanks! Incorporated suggested changes via GitHub UI


feat port: Logic.Equiv.Embedding

ee0c179cd3c8a45aa5bffbf1b41d8dbede452865

Does subtype_prod_equiv_sigma_subtype have a missing align?
Otherwise, this looks good to me.
bors merge


DF-548:Integration for Archives details page

Ticket URL: https://national-archives.atlassian.net/browse/DF-548
About these changes
Add new archive details page
How to check these changes

Navigate to Catalogue Search - Find an archive bucket,
select the archive record from the search results

Before assigning to reviewer, please make sure you have

[x] Checked things thoroughly before handing over to reviewer.
[x] Checked PR title starts with ticket number as per project conventions to help us keep track of changes.
[x] Ensured that PR includes only commits relevant to the ticket.
[x] Waited for all CI jobs to pass before requesting a review.
[x] Added/updated tests and documentation where relevant.

Merging PR guidance
Follow docs\developer-guide\contributing.md
Deployment guidance
Follow docs\infra\environments.md

Changing title to summary_title

We've never used the exclusive title attribute from the api response, until now in this PR.
The changes from title to summary_title were corrected over here to reflect what the API returned and used in the code base, the earlier def title was returning summaryTitle
There is also a new test case for this PR def test_title:

Changing catalogue_source to source

The data extracted is from source.value which negates the earlier notion that its value is exclusive for Catalogue/CAT. Therefore with this change of name it would accommodate - same name as api, and the purpose of distinguishing  Catalogue records from Archive records.

Front-end changes (scss and template contents)

These changes are brought it from another branch to be integrated with the API response. No PR for this, as it was discussed to do integrate it with the API response. This is the merge commit of integrating HTML,CSS in this PR.
Thanks @ababic its a good point and will take with any similar upcoming tickets which requires a new page.

Hi @TNA-Allan. The only outstanding thing here not is the unit tests for the new Record class methods:

Separately, I would say that these new Record methods definitely require unit tests. Maybe with so much going on in each method, it might actually be good to move the "XML to dataclass instance conversion" logic to the dataclasses themselves (e.g. by adding a from_xml_string() classmethod)

NOTE: If you did move the conversion logic to the dataclasses, I think you'd have an easier time writing unit tests.

Hi @TNA-Allan. The only outstanding thing here is the unit tests for the new Record class methods:

Separately, I would say that these new Record methods definitely require unit tests. Maybe with so much going on in each method, it might actually be good to move the "XML to dataclass instance conversion" logic to the dataclasses themselves (e.g. by adding a from_xml_string() classmethod)

NOTE: If you did move the conversion logic to the dataclasses, I think you'd have an easier time writing unit tests.

The tests for the new Record class methods are available in etna/records/tests/test_models.py - its collapsed as the diff is large.  As such these tests are integrated with the API in the tests than to test the new dataclass separately which is without the API integration. Thoughts?

The tests for the new Record class methods are available in etna/records/tests/test_models.py - its collapsed as the diff is large. As such these tests are integrated with the API in the tests than to test the new dataclass separately which is without the API integration. Thoughts?

Okay, thanks for that. I did miss those. I'll leave that up to you then. Even if you refactored, you would still want some integration tests. For the most part, you would just be throwing strings at method and checking the output (so, no API mocking etc needed).

Approving with optional suggestions on the XML conversion refactoring (You could add a 'Tech debt ticket' to the Jira backlog for this, and tackle it later)

Sure, Thanks Andy.


Missing Type Annotations

There are missing type annotations for some functions in this library.
The typing module does not exist on CircuitPython devices so the import needs to be wrapped in try/except to catch the error for missing import. There is an example of how that is done here:
try:
    from typing import List, Tuple
except ImportError:
    pass

Once imported the typing annotations for the argument type(s), and return type(s) can be added to the function signature. Here is an example of a function that has had this done already:
def wrap_text_to_pixels(
    string: str, max_width: int, font=None, indent0: str = "", indent1: str = ""
) -> List[str]:

If you are new to Git or Github we have a guide about contributing to our projects here: https://learn.adafruit.com/contribute-to-circuitpython-with-git-and-github
There is also a guide that covers our CI utilities and how to run them locally to ensure they will pass in Github Actions here: https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/check-your-code In particular the pages: Sharing docs on ReadTheDocs and Check your code with pre-commit contain the tools to install and commands to run locally to run the checks.
If you are attempting to resolve this issue and need help, you can post a comment on this issue and tag both @foamyguy and @kattni or reach out to us on Discord: https://adafru.it/discord in the #circuitpython-dev channel.
The following locations are reported by mypy to be missing type annotations:

[ ] adafruit_requests.py:44
[ ] adafruit_requests.py:52
[ ] adafruit_requests.py:55
[ ] adafruit_requests.py:64
[ ] adafruit_requests.py:85
[ ] adafruit_requests.py:116
[ ] adafruit_requests.py:119
[ ] adafruit_requests.py:129
[ ] adafruit_requests.py:145
[ ] adafruit_requests.py:190
[ ] adafruit_requests.py:207
[ ] adafruit_requests.py:240
[ ] adafruit_requests.py:347
[ ] adafruit_requests.py:369
[ ] adafruit_requests.py:377
[ ] adafruit_requests.py:382
[ ] adafruit_requests.py:401
[ ] adafruit_requests.py:458
[ ] adafruit_requests.py:472
[ ] adafruit_requests.py:517
[ ] adafruit_requests.py:609
[ ] adafruit_requests.py:613
[ ] adafruit_requests.py:617
[ ] adafruit_requests.py:621
[ ] adafruit_requests.py:625
[ ] adafruit_requests.py:629
[ ] adafruit_requests.py:640
[ ] adafruit_requests.py:648
[ ] adafruit_requests.py:657
[ ] adafruit_requests.py:660
[ ] adafruit_requests.py:666
[ ] adafruit_requests.py:677
[ ] adafruit_requests.py:691
[ ] adafruit_requests.py:696
[ ] adafruit_requests.py:701
[ ] adafruit_requests.py:706
[ ] adafruit_requests.py:711
[ ] adafruit_requests.py:716

Submitted PR #87 to address

closed by #87

@FoamyGuy while working on #94 I saw there are still 42 mypy errors in adafruit_requests.py, so you might consider reopening this issue.
To reproduce, you can apply this diff to the pre-commit config on main (e.g. the run below was on 26b2411780f69edece156c25476359242446bac0):
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 1b9fadc..f6745f9 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -40,3 +40,10 @@ repos:
         files: "^tests/"
         args:
         - --disable=missing-docstring,consider-using-f-string,duplicate-code
+- repo: https://github.com/pre-commit/mirrors-mypy
+  rev: v0.930
+  hooks:
+  - id: mypy
+    files: ^(adafruit_requests.py)
+    additional_dependencies:
+    - types-ujson

and then run:
(.env) gitpod /workspace/Adafruit_CircuitPython_Requests $ pre-commit run mypy --all-files
mypy.....................................................................Failed
- hook id: mypy
- exit code: 1

adafruit_requests.py:115: error: Need type annotation for "socket"
adafruit_requests.py:118: error: Need type annotation for "_headers" (hint: "_headers: Dict[<type>, <type>] = ...")
adafruit_requests.py:216: error: Argument 1 to "_recv_into" of "Response" has incompatible type "memoryview"; expected "bytearray"
adafruit_requests.py:230: error: Unsupported operand types for > ("int" and "None")
adafruit_requests.py:230: note: Left operand is of type "Optional[int]"
adafruit_requests.py:231: error: Incompatible types in assignment (expression has type "Optional[int]", variable has type "int")
adafruit_requests.py:261: error: Incompatible types in assignment (expression has type "int", variable has type "None")
adafruit_requests.py:266: error: Unsupported operand types for > ("int" and "None")
adafruit_requests.py:267: error: Incompatible types in assignment (expression has type "None", variable has type "int")
adafruit_requests.py:272: error: Unsupported operand types for - ("None" and "int")
adafruit_requests.py:272: error: Incompatible types in assignment (expression has type "int", variable has type "None")
adafruit_requests.py:321: error: Incompatible types in assignment (expression has type "str", variable has type "bytes")
adafruit_requests.py:322: error: Incompatible types in assignment (expression has type "str", variable has type "bytes")
adafruit_requests.py:324: error: Incompatible types in assignment (expression has type "int", variable has type "None")
adafruit_requests.py:345: error: Incompatible types in assignment (expression has type "bytes", variable has type "None")
adafruit_requests.py:345: error: Argument 1 to "join" of "bytes" has incompatible type "bytes"; expected "Iterable[Union[ByteString, memoryview]]"
adafruit_requests.py:345: note: Following member(s) of "bytes" have conflicts:
adafruit_requests.py:345: note:     Expected:
adafruit_requests.py:345: note:         def __iter__(self) -> Iterator[Union[ByteString, memoryview]]
adafruit_requests.py:345: note:     Got:
adafruit_requests.py:345: note:         def __iter__(self) -> Iterator[int]
adafruit_requests.py:346: error: Incompatible return value type (got "None", expected "bytes")
adafruit_requests.py:356: error: Incompatible types in assignment (expression has type "str", variable has type "None")
adafruit_requests.py:356: error: Argument 2 to "str" has incompatible type "Optional[str]"; expected "str"
adafruit_requests.py:357: error: Incompatible return value type (got "None", expected "str")
adafruit_requests.py:370: error: Incompatible types in assignment (expression has type "_RawResponse", variable has type "None")
adafruit_requests.py:373: error: Argument 1 to "load" has incompatible type "None"; expected "SupportsRead[Union[str, bytes]]"
adafruit_requests.py:377: error: "None" has no attribute "read"
adafruit_requests.py:383: error: The return type of a generator function should be "Generator" or one of its supertypes
adafruit_requests.py:413: error: Need type annotation for "_open_sockets" (hint: "_open_sockets: Dict[<type>, <type>] = ...")
adafruit_requests.py:414: error: Need type annotation for "_socket_free" (hint: "_socket_free: Dict[<type>, <type>] = ...")
adafruit_requests.py:477: error: Item "None" of "Optional[SSLContext]" has no attribute "wrap_socket"
adafruit_requests.py:535: error: "Dict[str, str]" has no attribute "encode"
adafruit_requests.py:537: error: No overload variant of "__getitem__" of "list" matches argument type "Dict[str, str]"
adafruit_requests.py:537: note: Possible overload variants:
adafruit_requests.py:537: note:     def __getitem__(self, SupportsIndex) -> Dict[str, str]
adafruit_requests.py:537: note:     def __getitem__(self, slice) -> List[Dict[str, str]]
adafruit_requests.py:537: note:     def __getitem__(self, SupportsIndex) -> Dict[str, str]
adafruit_requests.py:537: note:     def __getitem__(self, slice) -> List[Dict[str, str]]
adafruit_requests.py:537: note:     def __getitem__(self, SupportsIndex) -> Dict[str, str]
adafruit_requests.py:537: note:     def __getitem__(self, slice) -> List[Dict[str, str]]
adafruit_requests.py:537: note:     def __getitem__(self, SupportsIndex) -> Dict[str, str]
adafruit_requests.py:537: note:     def __getitem__(self, slice) -> List[Dict[str, str]]
adafruit_requests.py:545: error: Name "json_module" already defined (by an import)
adafruit_requests.py:583: error: Incompatible types in assignment (expression has type "Dict[<nothing>, <nothing>]", variable has type "Optional[List[Dict[str, str]]]")
adafruit_requests.py:600: error: Incompatible types in assignment (expression has type "str", variable has type "int")
adafruit_requests.py:615: error: Argument 5 to "_send_request" of "Session" has incompatible type "Optional[List[Dict[str, str]]]"; expected "List[Dict[str, str]]"
adafruit_requests.py:633: error: Incompatible types in assignment (expression has type "None", variable has type "socket")
adafruit_requests.py:659: error: Incompatible types in assignment (expression has type "Response", variable has type "None")
adafruit_requests.py:662: error: Incompatible types in assignment (expression has type "Response", variable has type "None")
adafruit_requests.py:697: error: Need type annotation for "_socket"
adafruit_requests.py:699: error: Need type annotation for "settimeout"
adafruit_requests.py:700: error: Need type annotation for "send"
adafruit_requests.py:701: error: Need type annotation for "recv"
adafruit_requests.py:702: error: Need type annotation for "close"
adafruit_requests.py:731: error: Argument 2 to "Session" has incompatible type "_FakeSSLContext"; expected "Optional[SSLContext]"
adafruit_requests.py:733: error: Argument 2 to "Session" has incompatible type "_FakeSSLContext"; expected "Optional[SSLContext]"
adafruit_requests.py:748: error: Item "None" of "Optional[Session]" has no attribute "request"
adafruit_requests.py:761: error: Item "None" of "Optional[Session]" has no attribute "request"
adafruit_requests.py:766: error: Item "None" of "Optional[Session]" has no attribute "request"
adafruit_requests.py:771: error: Item "None" of "Optional[Session]" has no attribute "request"
adafruit_requests.py:776: error: Item "None" of "Optional[Session]" has no attribute "request"
adafruit_requests.py:781: error: Item "None" of "Optional[Session]" has no attribute "request"
adafruit_requests.py:786: error: Item "None" of "Optional[Session]" has no attribute "request"
Found 49 errors in 1 file (checked 1 source file)

I saw that the number of errors decreases to 42 after #94.

@kevincon thanks for the heads up. It is okay for the library not to completely pass mypy testing at this point.
We have not added mypy to the CI checks yet. When the time comes to do that (once we have most of the typing "low hanging fruit" done accross all libraries) then we'll have a discussion amongst the team to determine what settings and configuration we'll use for mypy when we add it to CI which may change which specific mypy warnings and how many of them we'll see on any given library.


MemoryError: Large memory requirement for dynamic biosphere matrix

With complexer systems, the RAM requirement for the dynamic diagonalized biosphere matrix is very high, leading to memory error on computer with 16GB RAM.
We should consider storing this matrix in a smaller dataformat: e.g. change 64-bit float to 32-bit float

fixed in 060a6b1


chore: build for arm

Description
Currently, if we build and deploy this charm on ARM, the deployed charm has an incompatible workload. This PR attempts to fix that.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[x] I have added tests that validate the behaviour of the software
[x] I validated that new and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Currently the efforts to build self-signed certificates on arm lead to frequent CI failures, I'm not eager to add this to notary as well honestly. Should we even attempt to build on arm for the time being?

The way I see it we either fix it or remove it from the workflow entirely. The reason we are getting arm errors is because we hadn't released it for gocert, and now that we have a new charm we had to release for it too. This morning I published this charm on arm, and following this change we should never get an ARM failure again.


OpenSSL does not have a valid ctags keg nor a valid formula for RCM

Just ran the script this morning on a brand new laptop with El Capitan 10.11.3 on iTerm2 and here is the output I received:
==> Summary
🍺  /usr/local/Cellar/openssl/1.0.2f: 466 files, 11.9M
Error: /usr/local/Cellar/ctags is not a valid keg
Error: No available formula with the name "rcm"
failed

The full output from laptop.log can be found here.

I've encountered with the exactly same issue.

#449 appears to be the fix? But should probably keep this issue open to make sure that when it is fixed, this issue disappears

@acconrad I have just experienced the very same issue on a brand new machine.

Got this today — clean install of OSX El Capitan 10.11.3 and latest XCode.
Any ideas on a fix?
Thanks.

The same happen to me on a brand new machine. Running brew tap thoughtbot/formulae and rerun the scripts like suggested by @chrism seems to fix it.


Add liveliness probe to Wordpress installer

Signed-off-by: Sam Myers<EMAIL_ADDRESS>

@sam-myers can you cherry pick to the 1.7 branch too?

@harsh-px done
https://github.com/portworx/torpedo/commit/a674075ac8e4237657fa507b9d4ec42461f48acd


Improving items container UI and clickable favorite buttons.

I want to contribute by Improving items container UI and will reduce the size of items of the container and clickable favorite buttons.

another candidate is also working on a similar to this issue so at this time I cant assign it to you.


Exception when calling AddDbContextPool more than once

My Web API connects to two DbContexts (let's call them DbA and DbB). I have updated the code to make use of the new AddDbContextPool method available in EF 2.0. When I run the Web API and an instance of DbB is retrieved through Dependency Injection, I get the following exception:
Exception message:

System.ArgumentException: 'Expression of type 'Microsoft.EntityFrameworkCore.DbContextOptions`1[DbB]' cannot be used for constructor parameter of type 'Microsoft.EntityFrameworkCore.DbContextOptions`1[DbA]''

Stack trace:

   at System.Dynamic.Utils.ExpressionUtils.ValidateOneArgument(MethodBase method, ExpressionType nodeKind, Expression arguments, ParameterInfo pi, String methodParamName, String argumentParamName, Int32 index)
   at System.Dynamic.Utils.ExpressionUtils.ValidateArgumentTypes(MethodBase method, ExpressionType nodeKind, ReadOnlyCollection`1& arguments, String methodParamName)
   at System.Linq.Expressions.Expression.New(ConstructorInfo constructor, IEnumerable`1 arguments)
   at System.Linq.Expressions.Expression.New(ConstructorInfo constructor, Expression[] arguments)
   at Microsoft.EntityFrameworkCore.Internal.DbContextPool`1.CreateActivator(DbContextOptions options)
   at Microsoft.EntityFrameworkCore.Internal.DbContextPool`1..ctor(DbContextOptions options)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, ServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(IServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitSingleton(SingletonCallSite singletonCallSite, ServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(IServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.<>c__DisplayClass22_0.<RealizeService>b__0(ServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.<>c__2`1.<AddDbContextPool>b__2_1(IServiceProvider p)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, ServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(IServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(IServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.<>c__DisplayClass22_0.<RealizeService>b__0(ServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
   at WebAPI.Startup.<Configure>d__3.MoveNext() in C:\Users\xxx\Source\Repos\WebAPI\src\WebAPI\Startup.cs:line 159

Steps to reproduce
//In ConfigureServices()
services
    .AddEntityFrameworkSqlServer()
    .AddDbContextPool<DbA>(options => /*options here*/)
    .AddDbContextPool<DbB>(options => /*options here*/);

//In Configure()
var context = app.ApplicationServices.GetRequiredService<WebApiDbContext>();

The exception is thrown independently of the order in which AddDbContextPool is called. Interestingly, calling AddDbContext instead of the second call to AddDbContextPool throws the same exception, but calling AddDbContext instead of the first call does not throw an exception.
I have tried using DbContextOptions<T> explicitly in the DbContext constructors as described here, but it still throws an exception.
Further technical details
EF Core version: 2.0.0
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 10
IDE: Visual Studio 2017 (15.3.2)

Duplicate of #9433

Hi @jbergasa. We are gathering information on the use of EF Core pre-release builds. You reported this issue shortly after the release of 2.0.0 RTM. It would be really helpful if you could let us know:

Did you consider testing your code against the pre-release builds?
Was there anything blocking you from using pre-release builds?
What do you think could make it easier for you to use pre-release builds in the future?

Thanks in advance for any feedback. Hopefully this will help us to increase the value of pre-release builds going forward.


SwingUpdateManager's design is suboptimal

Is your feature request related to a problem? Please describe.
Opening a "Show References" window is pretty slow, taking about half a second.
I tried increasing the minDelay in DockingWindowManager's creation of a SwingUpdateManager to a large number, and it correspondingly increased the time it took to open the window to about 2x the minDelay (I imagine because one delayed update does work that fires off a second one).
Unfortunately, decreasing minDelay from 100 did not have a noticeable effect on speed, so for now, waiting for SwingUpdateManager's timer is not a significant component of the latency to open the window.  And of course, the whole point of SwingUpdateManager is to make things faster by avoiding repeatedly updating the same component.
However, the approach of adding an artificial delay is fundamentally suboptimal compared to explicitly tracking when the code is done updating things and requesting an update at that point.  If the rest of the process were better optimized in the future, the timer delay could come to represent a larger fraction of the overall latency.  A 100ms delay is not that much, but it is noticeable, especially if multiple delays are stacked.
Describe the solution you'd like
Ideally the code would explicitly track when it's ready to update, to avoid any artificial delay.
Describe alternatives you've considered
The minDelay could just be reduced to a lower number, if and when other optimizations justify it.  But any delay is worse than no delay.

The SwingUpdateManager's strength is in its simplified interface.  Its goal is to allow clients to easily buffer requests for work without requiring any knowledge of threading, timers or work scheduling.
The base use case of the update manager is for clients to simply call update() whenever a request for work arrives.   If there are no pending requests, then the work will happen immediately.  Thus, work is only buffered if a second request arrives while the update manager is currently performing the client task.
If the minimum delay is too low, then work will happen much more frequently, reducing the benefits of the update manager's buffering.  Again, the minimum delay does not come into play if the update manager is not busy and the 'update() method is called.  However, if updateLater() is called, then the delay will be honored.
It seems the real issue here is that the Show References to is slow to appear.   You stated that it takes roughly 500ms for the window to appear.  This value is below what most people consider to be sluggish in a UI, which is about 750ms.   Is this delay causing an interruption to your workflow?

Closing due to inactivity.


list number of devices statically

currently you need an ofxKinect object to list the number of devices.
it would be great if you could do:
ofxKinect::getNumDevices();

You can call one of the static functions. I just made a commit so the kinectContext is inited whenever a static function is called. So now these work:

ofxKinect::numTotalDevices();
ofxKinect::numAvailableDevices();

Check the develop branch.


Readarr support

It would be great to have it support Readarr

This takes about 100 hours. I'm not doing it anytime soon. Pull Requests welcome.


Move ImportState to idb/postgres/

Codecov Report

Merging #527 (8addd6c) into develop (2a74327) will increase coverage by 0.02%.
The diff coverage is 75.00%.

@@             Coverage Diff             @@
##           develop     #527      +/-   ##
===========================================
+ Coverage    32.79%   32.81%   +0.02%
===========================================
  Files           24       24
  Lines         4855     4857       +2
===========================================
+ Hits          1592     1594       +2
  Misses        3031     3031
  Partials       232      232

Impacted Files
Coverage Δ

idb/postgres/postgres.go
27.03% <75.00%> (+0.07%)
:arrow_up:

Continue to review full report at Codecov.

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


Notion & Linear Icon

Can you please create 2 brand icons for those companies?

Search "notion" and "linear" in new version


Feature Request: Disable Sandbox Notifications

As title says, It would be great to have a feature where one can disable notification edits for the namespace: User:Name/Sandbox , User:Name/sandbox.

Would it be better to have the option to disable notifications for a pre-defined list of pages? Or maybe matching regex? It would likely have a (minor) performance impact though if the list was big, I'd imagine.

Currently, there are no plans to add a feature to exclude specific pages. However, specific namespaces can be excluded using the $wgDiscordDisabledNS option.


Unable to remove specific keybindings

Check for existing issues

[X] Completed

Describe the bug / provide steps to reproduce it
I noticed that you cannot remove specific keybindings. If you remove a keybinding from the custom keybinding config, it will fall back to the default one. The problem I have is that in my Czech keyboard layout, I type { with alt-b and } with alt-n, and there are default keybindings for these combinations, so I cannot type { in Zed right now.
To solve this, I would suggest either:

Allowing to pass an empty string, false, or null as a keybinding command, so that these keybinds wouldn't block the default OS behavior.
Don't fall back to default keybindings.

Environment
Zed 0.66.0 – /Applications/Zed.app
macOS 13.0
architecture arm64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue
No response

On mac/german using alt-v prints this character: √ which I personally like to use in quick notes to mark as something completed. Zed currently has
"alt-v": ["editor::MovePageUp", { "center_cursor": true }],

which I'd like to deactivate.

Alt+<character> should probably not be used for any shortcuts by default. Alt+V is like Shift+V, it's already used for typing characters.

Any update on this? It's been the top-ranked defect issue for quite some time now and makes the software unusable for people which use certain keyboard layouts.

After half a year, Zed is still unusable for a large number of europeans developers :( . Could we at least get a response from the devs that they are aware of this issue and some estimate on when this might get fixed -- or at least some statement about its priority?

@JosephTLyons

Hey all, I brought this up with the team today in our meeting.  It seems like everyone agreed that this is not great, so sorry for dropping the ball here.  I'll update the issue when I know where the fix might land.

Closing this issue as this should be availabe in 0.94.x.

@JosephTLyons Hi, the problem is still relevant (#1540).