Add hacker-slides to Presentations

Project URL
https://github.com/msoedov/hacker-slides
Category
Presentations
Description
Add hacker-slides to Presentations category.
Why it should be included to awesome-markdown (optional)
It's a minimal UI, provides side-by-side editor and preview, allows
writing in mostly pure Markdown with addition of a couple of special
comments for configuring effects, etc.
Checklist

[x] Only one project/change is in this pull request
[x] Addition in alphabetical order
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Warning

:warning:
Found 1 link issue, a project collaborator will take care of these, thanks :)

Link issue by awesome_bot

Line
Status
Link

161
Error
https://markable.in/  Failed to open TCP connection to markable.in:443 (Connection refused - connect(2) for "markable.in" port 443)

  Generated by :no_entry_sign: Danger


Add Doc "How to participate in developer meetings"

Add Doc "How to participate in developer meetings"

You need to make changes based on the dev branch.


Jwt claims based auth example. No client auth required.

Thanks for all the hard work you have been putting into this project.
Is there a simple example available with the following scenario:
Client app does not need to be authorized.
There is a simple custom jwt service available using default jwt middleware. Tokens include claims.
Client posts login creds to /login endpoint which ocelot proxies to auth service. Token is returned via ocelot to client.
All further requests include token in header.
Ocelot can check claims for each endpoint and proxy or reject accordingly.
If request is authed it is proxied to relevant service with the token, and the service endpoint rechecks claim and responds accordingly.
The examples that I find on the web all seem to be client auth only without claims. Or still use core 1.0
I’m drowning a bit as this is all new to me and would appreciate it if someone could point me in the right direction.
Thanks

@darnoldi thanks for your interest in the project! :) Have you read the documentation around authentication. This shows you how you can use your tokens with Ocelot.
Check out the Authentication aceptance tests https://github.com/ThreeMammals/Ocelot/blob/develop/test/Ocelot.AcceptanceTests/AuthenticationTests.cs they show how you can set this up.
Let me know if this doesnt help.

Thanks for the quick response.
I think what I am battling to understand the most is:
My ConfigureServices for my auth service is
` public void ConfigureServices(IServiceCollection services)
{
// ===== Add our DbContext ========
services.AddDbContext();
        // ===== Add Identity ========
        services.AddIdentity<IdentityUser, IdentityRole>()
            .AddEntityFrameworkStores<AuthDbContext>()
            .AddDefaultTokenProviders();

        // ===== Add Jwt Authentication ========
        JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Clear(); // => remove default claims

        var authenticationProviderKey = "TestKey";

        services
            .AddAuthentication(options =>
            {
                options.DefaultAuthenticateScheme = JwtBearerDefaults.AuthenticationScheme;
                options.DefaultScheme = JwtBearerDefaults.AuthenticationScheme;
                options.DefaultChallengeScheme = JwtBearerDefaults.AuthenticationScheme;

            })
            .AddJwtBearer(authenticationProviderKey , cfg =>
            {
                cfg.RequireHttpsMetadata = false;
                cfg.SaveToken = true;
                cfg.TokenValidationParameters = new TokenValidationParameters
                {
                    ValidIssuer = Configuration["JwtIssuer"],
                    ValidAudience = Configuration["JwtIssuer"],
                    IssuerSigningKey = new SymmetricSecurityKey(Encoding.UTF8.GetBytes(Configuration["JwtKey"])),
                    ClockSkew = TimeSpan.Zero // remove delay of token when expire
                };
            });

`
Should it be the same in the ocelot service and all protected API services?
Also, your documentation shows to add authenticationProviderKey, do I add this for auth service and ocelot or just auth?
Thanks again.

If it helps, my code is here: https://github.com/darnoldi/ShoesOnContainers
Thanks again

If it helps, my code is here: https://github.com/darnoldi/ShoesOnContainers
Thanks again

@darnoldi are you still having problems? I took a quick look at your code and it seems OK.
This part sets up the authentication provider (middleware)
var authenticationProviderKey = "TestKey";

            services.AddAuthentication()
                .AddJwtBearer(authenticationProviderKey, cfg =>
                {
                    cfg.RequireHttpsMetadata = false;
                    cfg.SaveToken = true;
                    cfg.TokenValidationParameters = new TokenValidationParameters
                    {
                        ValidIssuer = Configuration["JwtIssuer"],
                        ValidAudience = Configuration["JwtIssuer"],
                        IssuerSigningKey = new SymmetricSecurityKey(Encoding.UTF8.GetBytes(Configuration["JwtKey"])),
                        ClockSkew = TimeSpan.Zero // remove delay of token when expire
                    };
                });

and you are using the authentication provider (middleware) here..
{
        "DownstreamHostAndPorts": [
            {
                "Host": "localhost",
                "Port": 6377
            }
        ],
        "DownstreamPathTemplate": "/",
        "UpstreamPathTemplate": "/",
        "UpstreamHttpMethod": ["Post"],
        "ReRouteIsCaseSensitive": false,
        "DownstreamScheme": "http",
        "AuthenticationOptions": {
            "AuthenticationProviderKey": "TestKey",
            "AllowedScopes": []
        }
    },

With this setup any requests of type POST to "/" on Ocelot must pass through the authentication provider. In your case you are using a JWT provider which means the request must have a header authorization: bearer {token} and the token must be valid based on your authentication provider settings.
You have not set any AllowedScopes so Ocelot will not check if the token has specific scopes on it and deny access based on this.
I think all headers are then proxied to the downstream service so this should all be fine!

Thanks for the feedback, I will play around a bit more and get back to you.

Closing as no activity, feel free to reopen :)


Typo in redis-csv output module causes binary field overwriting prior fields in the output

In output_modules/module_redis_csv.c line 185, when copying FS_BINARY type field's value to the output buffer, the code is:
		hex_encode_str(out, (unsigned char *)f->value.ptr,
			       f->len);

This mistake (typo?) will cause that, when configured --output-fields to value like saddr,timestamp_str,data, the final output will only contain data field value -- saddr and timestamp_str values which have been copied to the out buffer will be overwritten by the above code mistakenly.
The bug could be stably re-produced by the current HEAD code. Have tested the obvious bugfix method (of replacing out to dataloc) and that resolved the issue well.

This was resolved by #573.


AXI4 regression and coverage document

I am able to run regression for the alpha cases (i.e M2S1 F2F/F2H) would like to get instructions to run the regression for the full configurations for:

AXI4 and AXI4 multi interfaces on one channel
AXI4-Stream
AXI4-Lite

Please include how to turn on coverage (line/conditional/toggle/branch) on the alpha cases and regression runs

READMEs and scripts exist in the 0.9.2 drop in the llink/dv/aximm and llink/dv/axist repositories.

Able to run regression with 0.9.3 using grid script, this script should be modified for running on local grids. Ended up separating run and results as 2 different scripts.


Feedback for 5.702 version UI with multiple accounts

Hi,
here are a few issues I noticed with the new UI of 5.702 compared to 5.6 when using multiple mail accounts.
In essence I suggest to bring back the option for some kind of overview page that lists all accounts, since this gives much better overview and more direct access to the accounts. It should be displayed whenever the back button is pressed inside the top hierarchy of an account or the combined inbox.
I do appreciate the new UI for navigating within accounts but the overview page still has a useful place.
Advantages:

Direct access by using the back button, no need to open the burger menu, scroll up, and use a dropdown to select the account (1 button press instead of 4 complex actions)
Direct navigation to unread and marked messages and folderlist
Fast overview of new and starred messages without a combined inbox

Thanks for considering this. Keep up the great work.
Environment
K-9 Mail version:
5.702
Android version:
9
Account type (IMAP, POP3, WebDAV/Exchange):
IMAP

+1
Please also bring back the "manually sync all"-button on the overview-page:
In 5.600, it was possible to manually sync all folders with one click on the overview-page;
in 5.70x, every folder has to be synced separately, which is really tedious.

Duplicate of #4405


Remote certificate is invalid according to the validation procedure

Hello,
I'm spinning up a new IIS server and after running win-acme I'm getting this error. I'm super new to this particular certificate server so any help would be greatly appreciated!!!
Entire error:  (AuthenticationException): The remote certificate is invalid according to the validation procedure.
Wrapped in HttpRequestException: The SSL connection could not be established, see inner exception.

You haven't provided a lot of context around this error, but the message speaks for itself, it's unable to connect to some HTTPS uri. If you run with --verbose it should be pretty easy to see which endpoint it's trying to connect to.


disable nodeintegration

The main purpose of this PR is to disable nodeIntegration and strengthen the security measures in Falcon's frontend. To achieve this, I had to refactor some of the login code (so I took the opportunity to fix #260).
I've also included 2 other small fixes:

https://github.com/plotly/falcon-sql-client/commit/2e09698214fe8abed33138d6b1190f5aa2eef7fb (issue #451, query panel doesn't open for non-sql connectors)
https://github.com/plotly/falcon-sql-client/commit/2344f2cbd132401f17cc410b6cbd2a85471717a4 (rebased PR #422))

@tarzzz  could you review this PR, please?
@scjody are you OK with the changes in https://github.com/plotly/falcon-sql-client/commit/6100bba37fe1ed71788a63336c262df2a4e86047 and https://github.com/plotly/falcon-sql-client/commit/f3629210815f37998baf4af856983d142673a69c ? With these changes, we send the cookies db-connector-auth-enabled, db-connector-client-id and db-connector-user over HTTP.
@kndungu I think you'll be interested in reviewing the following commits (related to security in an electron app):

to capture the event new-window:

https://github.com/plotly/falcon-sql-client/commit/5fff06692effe7b4c95e83100f94b51d96165f1c
https://github.com/plotly/falcon-sql-client/commit/90e5f7d1b4ec44f5f416418d22db28ddb566a171
https://github.com/plotly/falcon-sql-client/commit/9778cac9e8c277488d6314350f454edf9b63d665

to disable nodeIntegration:

https://github.com/plotly/falcon-sql-client/commit/ce0be6252c3e650b5755aa227705f12ce8d921c4

@scjody yes, db-connector-auth-enabled works as you described.

I've checked login to Plotly Cloud works in the desktop and web apps.


Disable basic completions

Hey, this is awesome!  :D I downloaded and compiled it and it works nicely!
I did notice that it's excluding both lang-gdscript and autocomplete+ default completions and I don't think you want to exclude autocomplete+ default completions (maybe that's just me), but I added some config that allows you to disable the lang-gdscript completions.
If you want, add atom.config.set('lang-gdscript.disableBasicCompletions', true) in your code and then you won't need to exclude lower completions.
Hope this helps!

I'm also really excited about the completion service. I would like to utilize it for a vim plugin one day!

Thanks! Now in the package settings there is the possibility to Include all, Exclude all or to Exclude lang-gdscript only lower priority suggestions.


not an issue, just a tip for working with tailwind + maud

i apologize for creating an issue if it is inappropriate, but i couldn't find a better place to put this tip. if you are working with tailwind + maud and are using the tailwind vscode extension, you can set the following configuration option to get the tailwind autocompletion and hover docs in your maud code:
{
  "tailwindCSS.experimental.classRegex": [
    ["\\w+((?:\\.\\s*\\S+\\s*)*)", "\\.\"?([^.\"]+)\"?"]
  ]
}

thank you for the wonderful library! :)

I didn't get this to work. Are there any other settings you changed?

This was extremely helpful. Perhaps it would make sense to include this in official docs?

For neovim users if using lspconfig:
require('lspconfig').tailwindcss.setup({ filetypes = { ..., 'rust' }, init_options = { userLanguages = { ..., rust = "html" } }, })


fix(frontend): During startup, enable text field, but disable submit …

…#182
Removed the disabled attribute from text box and add it to button.
The button would be disabled until the model is initialised.(verified it through console)

Hi @rbren yeah the two way binding has been resolved. Can we close this issue and the pull request.

@Yashwanth-Chandrakumar I still see that line deleted

Will look into it and check whether it causes any problem?

@rbren Checked it throughly there are no issues due to that line. But in order to achieve two way binding we can add that line for sync with state and the UI.

Looks like this issue is fixed now. Sorry for the extra work, appreciate you opening a PR!

Thank you!


Uncaught ReferenceError: preact is not defined

Hello I could use some help. I'm using preact X -alpha 2 and getting the following error
index.js:32 Uncaught ReferenceError: preact is not defined
    at Module../src/index.js (index.js:32)
    at __webpack_require__ (bootstrap:63)
    at Object.2 (preact-app.bundle.js:20420)
    at __webpack_require__ (bootstrap:63)
    at bootstrap:195
    at bootstrap:195

index.js
import {h, render} from 'preact';
const App = () => {
  return (
    <div>
Hello app
    </div>
  );
};
render(<App />, document.getElementById("my-preact-app"));

package.json
"dependencies": {
"preact": "^10.0.0-alpha.2"
}

.babelrc
{
  "presets": [
    [
      "@babel/env",
      {
        "targets": {
          "browsers": ["last 2 versions", "safari >= 7"]
        }
      }
    ]
  ],
  "plugins": [
    [
      "@babel/plugin-transform-react-jsx",
      {
        "pragma": "preact.h"
      }
    ],
    "@babel/plugin-syntax-dynamic-import"
  ]
}

The error is labeled when the render() is called.

I could console log
console.log(h, render)

and can see that there are functions returned, however
console.log preact gives me undefined.

I think your babel pragma needs to just be 'h', not 'preact.h'

OOH that did it!!!

Nice!
Yeah, makes sense. You're no longer keeping preact in the global namespace though.
Also verified that preact-cli is correctly configured for this 👍
Closing, but please follow up if there are any other issues~!


fix: get background task working on ios

I couldn't get #1147 working on my end kinda got it working with this hack but it is far from perfect.

I think this should be combined with @jlw4049's pr

I think so as well though I don't want to mess his PR up, also see my code review comments there are minor things that might need a look at


Support configuring SSE-KMS

Description of change

Add 2 new CLI flags and pass them to S3:

--server-side-encryption <aws:kms|aws:kms:dsse>
--sse-kms-key-id example-key-id

Add response headers check that panics in case they do not reflect expected settings (panic is guaranteed to happen before fsync() returns);
Add client tests for happy cases of writes with all possible combinations of SSE settings
Add a fuse test for happy case of a write with settings being checked by S3 (enforced by session policy)
Add fork tests for unhappy cases of writes with logs verification (\1 inexistent key, \2 no permissions to use a key);
Add fork tests for unhappy cases of read with logs verification (no permissions to use a key)

Relevant issues: not linking yet to avoid accidental closing of an issue
Does this change impact existing behavior?
This is not a breaking change.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).

hey team, this is ready for a review! pls let me know if it makes sense to move some of the testing to a separate PR (e.g. all of the fork tests as it is 325 lines)
cc @sauraank, @dannycjones, @passaro

pls let me know if it makes sense to move some of the testing to a separate PR (e.g. all of the fork tests as it is 325 lines)

Rather than separate the testing, the way I'd probably break it down would be to split into:

Client changes (everything in mountpoint-s3-client/)
FUSE connector changes (everything in mountpoint-s3/)


Can you create a stand-alone repo for cjellyfish?

I am wrapping it in a ruby gem: https://github.com/gihnius/jellyfish
please.

hm, in theory yeah, but there is still a bit of Python-specific stuff in there, and probably needs to be more to better handle Unicode (something I'd been working on lately)
I'd be fine #ifdefing that stuff out though, let me take a look in the next few days

also worth mentioning that the tests are already factored out if you want to use those

looked at this a bit more, I think the best way would be to have something like
#ifdef CPYTHON
#include "Python.h"
#define UNICODE_T Py_UNICODE
#endif
etc.
but I know next to nothing about Ruby's C API, would you be able to provide the equivalent?

OK this is spun out now.  feel free to open issues/PRs there https://github.com/sunlightlabs/cjellyfish


All Fine but one issue

Frontend part is fantastic
but how would you manage the content.....
I mean you are not going to tell the user to write the code.
how would you manage the content
I mean there should be a admin panel right to manage the content from where the user can easily add, remove or update the content, that admin panel should also be build on reactJS for ease.

No your understanding is very much enough
What I am trying to say is that
Frontend works great and gives a nice vibes but
how would you connect frontend to your backend
I came across and found out that many developers use expressJS to connect
backend to their frontend
Thanks
Regards
Sukun Sharma
On Tue, Jun 25, 2024, 14:31 Moamal Alaa @.***> wrote:

Hi @sukun94 https://github.com/sukun94,
Firstly, I would like to thank you for your time and feedback.
Regarding content management, I completely agree that an admin panel would
be essential for managing content efficiently. My current focus was on
building the front end, and I utilized some free designs available on
Figma, which limited my ability to fully develop an admin panel.
Unfortunately, I have only a basic understanding of UI/UX design
principles, which also constrained my ability to create a comprehensive
admin panel.
Thank you again for your feedback and understanding.
—
Reply to this email directly, view it on GitHub
https://github.com/Moamal-2000/e-commerce/issues/21#issuecomment-2188330204,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD7UNLOJHGTPLJHJ2KRAKTDZJEU5FAVCNFSM6AAAAABJ27TDV6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBYGMZTAMRQGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

I appreciate your point about connecting the front-end to the back-end. At this stage, my focus has been primarily on learning frontend development, and I haven't delved into backend technologies like ExpressJS yet. Since this project is primarily educational for me and not intended as a fully functional website, I've concentrated on implementing my front-end skills based on the provided designs.
However, I understand the importance of backend/frontend integration in real-world applications, and I plan to explore backend technologies in the future to complement my frontend knowledge. Your suggestion about ExpressJS is noted, and I'll keep it in mind as I continue to learn.

ok now I understand ☺ thank you
On Tue, Jun 25, 2024, 15:40 Moamal Alaa @.***> wrote:

I appreciate your point about connecting the front-end to the back-end. At
this stage, my focus has been primarily on learning frontend development,
and I haven't delved into backend technologies like ExpressJS yet. Since
this project is primarily educational for me and not intended as a fully
functional website, I've concentrated on implementing my front-end skills
based on the provided designs.
However, I understand the importance of backend/frontend integration in
real-world applications, and I plan to explore backend technologies in the
future to complement my frontend knowledge. Your suggestion about ExpressJS
is noted, and I'll keep it in mind as I continue to learn.
—
Reply to this email directly, view it on GitHub
https://github.com/Moamal-2000/e-commerce/issues/21#issuecomment-2188474828,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD7UNLJAPZMQSBU6LHDPQC3ZJE5CRAVCNFSM6AAAAABJ27TDV6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBYGQ3TIOBSHA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Add GH actions to assemble a multiarch manifest for amd64 rocks

This PR adds a gh action job which will build each rocks in this repository for each architecture it supports (currently only amd64) and generates a multiarch manifest for each rock annotated with the supported architecture.
The images are pushed on every build, but the  multiarch manifests are pubilshed to ghcr.io on merges to main

TLDR on caching:  github-actions allows you to cache anything from the worker machine, and import that cache later.  The strategy here is to store into the cache on push to main.  When the push occurs, we build the rocks and store the build state from lxd into the cache.  The next branch that comes along derived from main, can restore that cache.  If one rock changes, but the other does not -- we get the benefit of the cache to not wait for the rebuild of the unchanged one
The key to the cache is based off the name of the rock and  filehash of the directory containing the rockcraft.yaml
All of this was inheritted from the operator-workflow version of build-rocks since i couldn't get the merges in there.
I imagine as a TODO -- we'd like these actions to become a workflow that can be reused on other k8s projects (dns, localpv, etc...)


Fix out-of-bounds detection

Fixed out-of-bounds detection in draw_label!.

Codecov Report
Attention: Patch coverage is 0% with 19 lines in your changes missing coverage. Please review.

Project coverage is 50.20%. Comparing base (925d220) to head (fe829ab).

Files with missing lines
Patch %
Lines

src/drawing.jl
0.00%
19 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #4      +/-   ##
==========================================
- Coverage   50.41%   50.20%   -0.21%
==========================================
  Files           6        6
  Lines         240      241       +1
==========================================
  Hits          121      121
- Misses        119      120       +1

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


API for decoupled backchannel authentication

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Secondary Button/input bar

We need to fix issue with secondary input bar that is "refreshing", right after we click search.

needed event.prevent default()


Doc Feedback - use Azure Cloud Shell?  Manifest access?

Exactly the level of detail I am looking for.  But I had one question...
I have an Azure account, which provide portal access and the az cli as shown below.  That is the cloud shell you named?
Presuming so, is there any way to provide the manifest using the cloud shell?
My objective: get Kubernetes running on existing (running) container strictly from portal, with no downloads

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

ID: d4af71a4-648e-580f-7e86-94ce05196de5
Version Independent ID: 134b8ba0-b085-076a-d2e1-16d0ddff5586
Content: Kubernetes on Azure tutorial - Deploy a cluster - Azure Kubernetes Service
Content Source: articles/aks/tutorial-kubernetes-deploy-cluster.md
Service: azure-kubernetes-service
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

@valhuber
Thanks for your feedback! We will investigate and update as appropriate.

@valhuber
Azure Cloud Shell is a web-based shell environment provided by Azure, which allows you to manage your Azure resources using the Azure CLI, PowerShell, or other command-line tools.
Regarding your question, you can certainly provide the Kubernetes manifest using the Azure Cloud Shell. You can create a Kubernetes deployment by running the kubectl create command and passing in your manifest file as an argument. Here's an example command:
Copy code
kubectl create -f path/to/your/manifest.yml
Replace path/to/your/manifest.yml with the actual path to your Kubernetes manifest file. This command will create the Kubernetes resources defined in the manifest.
To access the Azure Cloud Shell, you can click on the "Cloud Shell" button in the Azure portal. It is located in the top right-hand corner of the portal. Alternatively, you can access the Azure Cloud Shell directly by navigating to the URL https://shell.azure.com/ in your web browser.
Note that while you can manage your Azure resources using the Azure Cloud Shell, it is also possible to manage your resources using the Azure portal without downloading any additional tools. To create a Kubernetes cluster in the Azure portal, you can follow the steps outlined in the official Azure documentation here: https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough-portal

@valhuber
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


[KED-2933] Feat/keep the logging config in a global variable in kedro.framework.project

Description

Configure logging at the top of the framework setup workflow, and make it accessible as a global variable from kedro.framework.project import LOGGING, similar to how PACKAGE_NAME is configured:
https://github.com/quantumblacklabs/kedro/blob/master/kedro/framework/project/__init__.py#L194-L199
As a result, the ParallelRunner shouldn't need access to the session to get the logging configuration (in order to bootstrap each parallel subprocess), but simply import global variable. See the code for ParallelRunner, especially
https://github.com/quantumblacklabs/kedro/blob/master/kedro/runner/parallel_runner.py#L287-L308
Related to: https://jira.quantumblack.com/browse/KED-2780
https://jira.quantumblack.com/browse/KED-2933
Development notes

Checklist

[x] Read the contributing guidelines
[x] Opened this PR as a 'Draft Pull Request' if it is work-in-progress
[ ] Updated the documentation to reflect the code changes
[ ] Added a description of this change in the RELEASE.md file
[ ] Added tests to cover my changes

The logging config is quite tightly related to the ConfigLoader, in this PR we tried to re-create the logic used by config.py in project by importing _get_config_from_patterns. Although this solution somewhat works _get_config_from_patterns and the like are intended as methods/interfaces for ConfigLoader so i'm unsure if this is a suitable solution? We also import _convert_paths_to_absolute_posix from context but @MerelTheisenQB agreed this could probably be moved to utils.
Some discussions are needed on the best approach for this.

To add to @SajidAlamQB 's comment above: the tricky part here is that to instantiate logging, the ConfigLoader is needed to fetch the logging configuration files. We looked at how we can achieve the same thing without instantiating a ConfigLoader but instead moving/calling the necessary methods from project/__init__.py. But as Sajid explained the methods called are still very tightly coupled to the config loader and so the question is whether we should be calling those methods at this point in the flow at all.


It randomly raises an indexerror.

The printed 0 value works but when the value changes from 0 to 51, it raises an annoying indexerror.

I tried printing the length of one[0], didn't even work.

I tried printing the length of one[0], didn't even work.


angular 2-rc.1 boilerplate update

Updated bin to lastest angular 2 version
http://www.webpackbin.com/VyU4S8LGW

Thanks a bunch, will change as soon as I get a chance :)

Hi Christian, any news about it?
It would be cool a boilerplate with the latest Angular2 release (now RC4).  Thanks :)


Mkae python-daemon a core requirement

Previously, it was only required to run the tests. Though given that
luigi is useless without it, I move it as a requirement for the whole
package (like it it in debian).

@Tarrasch can you remove ipdb from requirement.txt at same time? I put it there for debugging unit test, I did meant to commit that.
Sorry, for the six library, I need to sync more often with master.

That's cool. We all make mistakes! :)


routing not working as expected

class Default(Controller):
    @param('foo')
    @route(lambda req: "foo" in req.kwargs)
    def POST_foo(self, **kwargs):
        pout.v(req)
        return {}

    @param('bar')
    @param('che')
    @route(lambda req: "foo" not in req.kwargs)
    def POST_no_foo(self, **kwargs):
        pout.v(req)
        return {}

I expected POSTing with foo would go to POST_foo and POSTing without foo would go to POST_no_foo but everything was going to POST_no_foo, I'm not sure why.

Turns out, order matters, while the above didn't work, this did:
class Default(Controller):
    @route(lambda req: "foo" in req.kwargs)
    @param('foo')
    def POST_foo(self, **kwargs):
        pout.v(req)
        return {}

    @route(lambda req: "foo" not in req.kwargs)
    @param('bar')
    @param('che')
    def POST_no_foo(self, **kwargs):
        pout.v(req)
        return {}

Notice that @route is now the first decorator, or farthest from the actual handle method. What was happening is POST_foo would fail because foo wasn't an argument, so a 400 response was returned because it was missing a parameter.

Turns out, order matters, while the above didn't work, this did:
class Default(Controller):
    @route(lambda req: "foo" in req.kwargs)
    @param('foo')
    def POST_foo(self, **kwargs):
        pout.v(req)
        return {}

    @route(lambda req: "foo" not in req.kwargs)
    @param('bar')
    @param('che')
    def POST_no_foo(self, **kwargs):
        pout.v(req)
        return {}

Notice that @route is now the first decorator, or farthest from the actual handle method. What was happening is POST_foo would fail because foo wasn't an argument, so a 400 response was returned because it was missing a parameter.


New install problem - 2 issues 1) no ssh 2) no udev rules created

Fresh install today of both images available for pi

ssh was not enabled by default

image adsb-receiver_2.6.0_dump1090-mutability_raspbian-stretch-lite.img
Only one I tried .. did not create udev rules

Noted the following in /var/log/dump1090-mutability.log
---------Cut---------------------
Please fix the device permissions, e.g. by installing the udev rules file rtl-sdr.rules
Error opening the RTLSDR device: Permission denied
Sat Dec  2 11:44:08 2017 EST  dump1090-mutability v1.15~dev starting up.
Using sample converter: UC8, integer/table path
Found 1 device(s):
0: unable to read device details
usb_open error -3
Please fix the device permissions, e.g. by installing the udev rules file rtl-sdr.rules
Error opening the RTLSDR device: Permission denied
---------Cut---------------------
Bus 001 Device 005: ID 0bda: Realtek Semiconductor Corp. RTL2838 DVB-T
Bus 001 Device 004: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Manually Added :  /etc/udev/rules.d/rtl-sdr.rules
With the following below:

SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2838", MODE:="0666"
rebooted ..
Working .

Script now downloads the file rtl-sdr.rules from the rtl-sdr repository if it does not exist locally.
Fix thanks to abcd567's post which @anarchydude linked.


a new pr test for CLA(do not merge)

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

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


Are null and undefined valid inputs to scale / domain ?

Context: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/38314
We're unsure if the categorical .scale and .domain methods should be defined to accept null and undefined, e.g. https://github.com/DefinitelyTyped/DefinitelyTyped/pull/38314#issuecomment-533307715
What is the authors' opinion?

An ordinal scale “accepts” null and undefined (as in it does not throw an error), but these values are implicitly coerced to strings before use, and so are considered equivalent to "null" and "undefined" respectively.
https://observablehq.com/d/8aa6d6a50ca27793
In a type-safe context, I would not consider the scale function or the scale.domain method as accepting null or undefined; only string and array of string respectively.


Ubuntu version?

From the changelog it looks like there used to be an Ubuntu version. Is it possible to make an Ubuntu version of the images? Thanks!

Hi, I think so, I was thinking to add also alpine linux
Just curiosity, that's the motivation? I mean, the core is almost the same, you have compatible tools (apt, apt-get)

Pretty much entirely due to the lack of gcc-5 on Debian. I've found some hacky workarounds, but I'd prefer just using Ubuntu across the board for all my Docker containers (easier for me to copy-paste Dockerfiles)

Actually it's done https://cloud.docker.com/repository/docker/trzeci/emscripten-ubuntu
In meantime docker added multistage build which simplified this movement.
Cheers!


ability to define paginator accordingly to documentation

refs: #3326
problem: at the moment the only way to define the page length is using a multi dimensional array either:
setPageLengthMenu([[100, 200, 300]]);
//or
setPageLengthMenu([[100, 200, 300],['label1', 'label2', 'label3']]);

In the documentation: https://backpackforlaravel.com/docs/4.1/crud-cheat-sheet#page-length the suggested way is: setPageLengthMenu([100, 200, 300]); and that will fail.
Instead of just changing the docs, I think that the way that docs describes is the way I see most developers wanting to edit their paginator, just provide custom options to select as a simple array.
this PR should now allow, with backward compatibility:
setPageLengthMenu([100, 200, 300]);
setPageLengthMenu(100);
setPageLengthMenu([100 => 'a', 200 => 'b', 300 => 'c']);

Also added tests for this scenarios

A new inspection was created.

The inspection completed: 1 updated code elements

A new inspection was created.

A new inspection was created.

The inspection completed: 2 new issues, 8 updated code elements

The inspection completed: 2 new issues, 8 updated code elements

A new inspection was created.

The inspection completed: 2 new issues, 7 updated code elements

A new inspection was created.

A new inspection was created.

Hello @promatik
Thank you very much for spotting that. Indeed, it does not make sound to use 0 and it did not came to my mind, nice catch.
But while having a look at this, I remembered before we added the option to show ALL entries, using [-1 => 'All'], so I decided to push more tests and refactored the code so it would not break even with 0.
Let me know :)
Thanks again man, you rock 👯♂
Pedro

The inspection completed: 3 new issues, 11 updated code elements

The inspection completed: 3 new issues, 11 updated code elements

Todo:

[ ] create a PR for the docs to document all types of parameters

A new inspection was created.

A new inspection was created.

The inspection completed: 12 new issues, 11 updated code elements

The inspection completed: 12 new issues, 11 updated code elements

A new inspection was created.

A new inspection was created.

Link to docs: https://github.com/Laravel-Backpack/docs/pull/209

The inspection completed: 8 new issues, 11 updated code elements

The inspection completed: 8 new issues, 11 updated code elements

@pxpm what do you think about creating a function to avoid repeating the 0 validation and abort(500) so many times?
Something like;
private function abortOnPageLengthZero($value)
{
    if ($value === 0 || (is_array($value) && in_array(0, $value))) {
        abort(500, 'You should not use 0 as a key in paginator. If you are looking for "ALL" option, use -1 instead.');
    }
}

For instance, for setDefaultPageLength instead of;
public function setDefaultPageLength($value)
{
    if ($value !== 0) {
        $this->setOperationSetting('defaultPageLength', $value);
    } else {
        abort(500, 'You should not use 0 as a key in paginator. If you are looking for "ALL" option, use -1 instead.');
    }
}

we could have;
public function setDefaultPageLength($value)
{
    // validate page length
    $this->abortOnPageLengthZero($value);

    $this->setOperationSetting('defaultPageLength', $value);
}

Don't know about the name, it could be abortOnPageLengthZero or validateNonZeroPageLength or just validatePageLength ...

A new inspection was created.

@pxpm getPageLengthMenu also needs to be changed. As it is right now it's not supporting the current multiplicity of possible values.
In this branch in the Monster CRUD this is the result:

Also, it's translating the values, only in case there is a second array, so it doesn't support a system where [10 => 10, -1 => 'backpack::crud.all'].

Hello @promatik the problem you referencend only happens if you add a defaultPageLength that is already on the paginator array, when we move it to be the first in array, we endup with array like: [0 => 10, 2 => 20, 3 => 30]. Notice is missing key "1", when json_encoding it will fail and show like you mentioned.
I'v fixed this by running the array through array_values that will reset the array keys.
About the translation, it will run trans() not matter how you add your paginator because we ALLWAYS convert it to a multi-dimensional array [[a1],[a2]]
Please take in mind that datatables have some kind of internal cache, and you should clear localStorage when testing this out, otherwise it might show you inacurate data after a change in the controller.
Best,
Pedro

The inspection completed: 8 new issues, 11 updated code elements

Please take in mind that datatables have some kind of internal cache, and you should clear localStorage when testing this out, otherwise it might show you inacurate data after a change in the controller.

@pxpm will this caching make this a breaking change? 👀

A new inspection was created.

The inspection completed: 8 new issues, 11 updated code elements

A new inspection was created.

@tabacitu I do not think it is a BC.
What developer have defined now will work the same. We might add this to the docs to be safe, you will only notice any difference if you change paginator.
default backpack:

now changing:
$this->crud->setPageLengthMenu([[50, 100, 300],['backpack::crud.all','f','v']]);

//notice that the `defaultPageLength` still backpack default 10.

//so far so good. now let's get rid of default 10, and make 50 the default.

$this->crud->setDefaultPageLength(50);

That 10 is still "cached" in localStorage. but we don't have it in selectable options, we had it before because it was the default page length.
If you select ANY options of the available options it will reset this cache and will behave fine.
So this problem will apply to everyone that used the crud table atleast one time (will have the cache in LS), and then changes the paginator in crud.
The only way I can think to automate this process is to check if the current defaultPageLength equals the one in LS, if not, reset the LS. I'v just updated this PR with that check. https://github.com/Laravel-Backpack/CRUD/pull/3332/commits/ae3018ad86e54450725d0b5584c94bf47ffcfb2e
Let me know,
Pedro

@pxpm have you seen this comment? https://github.com/Laravel-Backpack/CRUD/pull/3332#issuecomment-739326211
Do you think it's worth?

The inspection completed: 8 new issues, 11 updated code elements

@pxpm have you seen this comment? #3332 (comment)
Do you think it's worth?

Sorry, must have slipped me.
100% agree in refactoring to a new function, I will also update the tests.

Let's do it! Let's create abortIfInvalidPageLength($value)

A new inspection was created.

A new inspection was created.

The inspection completed: 11 new issues, 11 updated code elements

A new inspection was created.

I agree with both of you:

having 20, 10, 30 is weird;
since it was the previous behaviour, let's leave it like this for now and be done with it (20-10-30);

@promatik could you please be the green-lighter here and:

[ ] double-check that everything's working fine (except for that) if we merge this PR as-is;
[ ] create a new issue to solve the ordering in 4.2 (problem for future us);

Let's get this merged!

The inspection completed: 8 new issues, 11 updated code elements

A new inspection was created.

A new inspection was created.

A new inspection was created.

A new inspection was created.

The inspection completed: 9 new issues, 12 updated code elements

The inspection completed: 9 new issues, 12 updated code elements

A new inspection was created.

A new inspection was created.

A new inspection was created.

A new inspection was created.

A new inspection was created.

A new inspection was created.

I just gave this one more time, added a few more checks in tests. Tested & passed.
I think this one is ready for merge, also @tabacitu comment does not apply anymore because the issue described is already fixed here.
Best,
Pedro

I just gave this one more time, added a few more checks in tests. Tested & passed.
I think this one is ready for merge, also @tabacitu comment does not apply anymore because the issue described is already fixed here.
Best,
Pedro

The inspection completed: 9 new issues, 11 updated code elements

The inspection completed: 9 new issues, 11 updated code elements

Merged! Thanks a lot for the great work you guys. This is a relatively big change to an operation that EVERYBODY uses, it gives me a lot of confidence to merge seeing how much you've gone back&forth, that it has unit tests, and everything.
Great work! Tested & merged. Will be available in the next patch update (most likely later today).
Cheers!

Merged! Thanks a lot for the great work you guys. This is a relatively big change to an operation that EVERYBODY uses, it gives me a lot of confidence to merge seeing how much you've gone back&forth, that it has unit tests, and everything.
Great work! Tested & merged. Will be available in the next patch update (most likely later today).
Cheers!


Define scopes using NS_EXTENSIBLE_STRING_ENUM

This is a bit more involved than it seems because right now the session managers take one scope argument as a string, where ideally they would take an array of string values.
The RFC doesn't define how multiple scopes should be concatenated into the scope parameter, so it is provider-specific. Some providers use a space separated scope string, some use a comma separated string, and some only support a single scope.

All done on the develop branch


fix frontend tests; minor readme update

Attempt to fix several test files for the frontend folder, one file remains an issue.
The first run left 23 tests failed and 1 error:

This PR fixes the error and gets down to 6 failed tests, mainly for the SettingsModal file.

Someone with more expertise in Vite/React can hopefully find the cause for issues like this:

I hope the experts take a look at these. :)
@rbren @amanape

Oh, missed to run local linter, will fix asap.

Added a couple more lint fixes that came up via make lint (not my changes 😁 ).

LGTM

Hello @li-boxuan,
would you have time to do a review? 🤗

@tobitege I'd love to but I can't; I am a frontend newbie :)

@tobitege I'd love to but I can't; I am a frontend newbie :)

Same! Fair enough :)

As for the tests related to the settings modal, they are somewhat frustrating to test and update due to the nextui select inputs. Sometimes you must test for the key rather than the value, and sometimes the test DOM does not recognize the dropdown that is opened. I can try to look into later but maybe this can give you some hints (if it is related anyways)

As for the tests related to the settings modal, they are somewhat frustrating to test and update due to the nextui select inputs. Sometimes you must test for the key rather than the value, and sometimes the test DOM does not recognize the dropdown that is opened. I can try to look into later but maybe this can give you some hints (if it is related anyways)

Thanks so much for all your feedback, appreciated!
The tests are inconveniently difficult to get in line, especially when .type is involved, which is asynchronous and can cause "my message" to come back as "mmyy  mmeessaaggee" or completely garbled up. That's the point where I'd use FireEvent instead for the value.
TL;DR: set back to Draft, will give it another go to clean it up more (bring in line across files).

As for the tests related to the settings modal, they are somewhat frustrating to test and update due to the nextui select inputs. Sometimes you must test for the key rather than the value, and sometimes the test DOM does not recognize the dropdown that is opened. I can try to look into later but maybe this can give you some hints (if it is related anyways)

Thanks so much for all your feedback, appreciated! The tests are inconveniently difficult to get in line, especially when .type is involved, which is asynchronous and can cause "my message" to come back as "mmyy mmeessaaggee" or completely garbled up. That's the point where I'd use FireEvent instead for the value.
TL;DR: set back to Draft, will give it another go to clean it up more (bring in line across files).

Yes, these are the scenarios you'd prefer to use fireEvent over userEvent 👍
Though we should update the the latest versions of the testing libraries (user event especially), and see if the issue persists.

All tests passed! 😀  Trick in SettingsModal was using await/async.

Awesome! Thanks fixing them up!
Now we just have to keep it that way 😅


spring-cloud-starter-gateway v4.1.5 (latest) using vulnerable version of spring-webflux

Describe the bug
Hi Spring Cloud GW team 🖐
spring-cloud-starter-gateway v4.1.5 relies on spring-webflux v6.1.12 which has CVE-2024-38816. A patch version of spring-webflux v6.1.13 has been released which resolves this vulnerability.
Can spring-cloud-starter-gateway be updated to include the latest version of spring-webflux?
Sample
My current pom file includes:
      <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>3.3.4</version>
        <relativePath/> <!-- lookup parent from repository -->
    </parent>

    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-gateway</artifactId> <!-- resolves to v4.1.5 -->
         </dependency>
    </dependencies>

Thanks for your time =)

Spring Boot manages the framework dependency, not spring cloud


Permission popup appears during app startup on ios

I used this library to get the notification permission on device but every time i install the app or rebuild it, permission popup appears automatically on app startup, however it was not happening when i was on version 1.1.1 . can anyone shed some light?
React native version: 0.59.4
ios device: iOS 12.4.5 (ipod touch)
Development Versions: macOS Catalina 10.15.4
React Native Permissions: "^2.0.0"

@ketan-kumar how did you resolve this, i am getting similair


Replace the restrictive &mut RwTxn by less restrictive &RwTxn

The PR fixes #189 by removing all of the &mut RwTxn requirements by simple &RwTxn. If you want to understand the new possibilities I advise you to look at the example showcase non-mutable-rwtxn.
Doing so allows very cool use cases like:

being able to dump database entries into another one.
write into a database with values from the same database.
[ ] Should we also use a &RwTxn when creating databases?

let wtxn = env.write_txn()?;
for result in database1.iter(&wtxn)? {
    let (k, v) = result?;
    database2.put(&wtxn, k, v)?; // It now compiles and works perfectly 🎉
}

Closed because it is unsafe to implement it like that. We must consider a more restrictive way to let users copy the content from one database into another.


Add support for Postgres jsonb columns

Following on from #72 it should be possible to add support for Postgres jsonb columns similarly to how array columns where added in #66.

Fixed in #82.


What's your plan for Android Q?

Hello fellow FOSS developer, I build the Manyverse app which is also on F-Droid.
Have you heard of Google's schedule to deprecate shared external directories? See this article.
Your app uses Environment.getExternalStorageDirectory() which Google is deprecating in API level 29.
https://github.com/openintents/filemanager/blob/d432d84dbc26b7f12ea4b907f73fb3455a690db6/FileManager/src/org/openintents/filemanager/FileManagerActivity.java#L122
I think this is terrible news from Google, and I'd like to use getExternalStorageDirectory() too. This change in Android Q will affect all File Managers and significantly change the UX and possible features for users. I would like to know if you have any ideas what could be done.

@staltz Probably the only solution is to ask the user for the root uri through the SAF.

A temporary fix could be adding this flag into the manifest:
android:requestLegacyExternalStorage="true"


docs(readme): add @skyra/audio to client libraries

For quite a while now we've been using our own client library for Skyra discord bot but it can also totally be used by other people. It just occurred to me only now to add it to the README here.

Bumping this as it's been 7 days without activity 👀

Bumping this as it's been 7 days without activity 👀

Sorry for the wait. I'm currently busy with exams.

Sorry for the wait. I'm currently busy with exams.


change year to 2024 for license

Hi Khaled (@khaledatia25),
I'm really sorry, my ticket wasn't precise enough :-(
Will you be able to adjust the copyright dates? I forgot to mention that.
You can search for the following and that should be enough:

SPDX-FileCopyrightText: Copyright (c) 2022-2023 Orange
Copyright (c) 2023 Orange

Thank you very much


feat: a⁻¹ * b = 1 → a = b

and other basic lemmas.
From PFR

Do we already have the iff version for all of these lemmas?
bors d+

Yes. They are mul_inv_eq_one/mul_inv_eq_one₀ and inv_mul_eq_one/inv_mul_eq_one₀ for the first two, and the ones in the docstrings for the other four.
maintainer merge

Thanks!
bors merge

Sorry, muscle memory.
bors merge


Fix rotation of 2D lights

Fixes #3772.

CC @karroffel, might become relevant in your gles2 code at some point if you copy that part from the 2.1 branch.

Yeah, lately I did some other changes to rendering stuff and I guess they should all be ported to GLES2 too, to keep compatibility.

Awesome, this will make a lot of people happy!

Thanks!

While it's great to have rotating lights fixed, it seems to introduce another issue:

This is the very same scene opened with this MR applied (right) and previous version.

Only from the image I can't tell what's hqppening. Are you using occluders? rotated lights?
A minimal reproduction project showing what changes would be very welcome.

@JFonS minimal reproduction project.

@lekoder Awesome, I will take a look.

Ok, I found a solution for this, but it doesn't look pretty.
In canvas.glsl:
mat3 inverse_light_matrix = mat3(inverse(light_matrix));
inverse_light_matrix [0] = normalize(inverse_light_matrix [0]);
inverse_light_matrix [1] = normalize(inverse_light_matrix [1]);
inverse_light_matrix [2] = normalize(inverse_light_matrix [2]);
vec2 light_vec = (inverse_light_matrix * vec3(light_uv_interp.zw,0.0)).xy; //for normal mapping

This should probably be better done in CPU but I'm not familiar enough with the 2D rasterizer to do it myself.

mat3 inverse_light_matrix = mat3(inverse(light_matrix));
vec2 light_vec = (mat3(normalize(inverse_light_matrix[0]),normalize(inverse_light_matrix[1]),normalize(inverse_light_matrix[2])) * vec3(light_uv_interp.zw,0.0)).xy;

Works for me. @JFonS will you set up new MR for this?

Now that Godot 3.1 has been released, we only plan to cherry-pick critical bug fixes to the 3.0 branch, unless there is very strong support in favor of a specific non-critical issue. Removing cherrypick label for 3.0.


Prisma Error

Hi Prisma Team! Prisma Migrate just crashed.
Command
db pull
Versions

Name
Version

Platform
windows

Node
v16.15.0

Prisma CLI
4.1.1

Engine
8d8414deb360336e4698a65aa45a1fbaf1ce13d8

Error
Error: [libs\datamodel\connectors\dml\src\model.rs:494:29] Hi there! We've been seeing this error in our error reporting backend, but cannot reproduce it in our own tests. The problem is that we have a primary key in the model `art_entrada_stock_auto` that uses the column `estado_lote` which we for some reason don't have in our internal representation. If you see this, could you please file an issue to https://github.com/prisma/prisma so we can discuss about fixing this. -- Your friendly prisma developers.

hi @paulolima1212 — are you using SQL Server? We fixed something that looks like your problem, the fix will be released in Prisma 4.2.

Great news, I'm so glad for your attention.
Thanks so much.
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Tom Houlé @.>
Sent: Tuesday, August 9, 2022 8:14:51 AM
To: prisma/prisma @.>
Cc: paulolima1212 @.>; Mention @.>
Subject: Re: [prisma/prisma] Prisma Error (Issue #14694)
hi @paulolima1212https://github.com/paulolima1212 — are you using SQL Server? We fixed something that looks like your problem, the fix will be released in Prisma 4.2.
—
Reply to this email directly, view it on GitHubhttps://github.com/prisma/prisma/issues/14694#issuecomment-1209001852, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYKE3I6ARC4LSDGERRLQ36TVYIAOXANCNFSM554ULUNA.
You are receiving this because you were mentioned.Message ID: @.***>

Prisma 4.2.0 is out. Can you please try upgrading and report if the error is solved? That would help us a lot. Thanks.

Hi,
Could you tell me what's happening with the prisma import?
Thank you, for your attention.
[image: image.png]
On Thu, Aug 18, 2022 at 10:02 AM Joël Galeran @.***>
wrote:

Closed #14694 https://github.com/prisma/prisma/issues/14694 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/prisma/prisma/issues/14694#event-7212403038, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AYKE3IYAFWLBCVD2CNWCICDVZX3ZBANCNFSM554ULUNA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
[image: facebook] https://www.facebook.com/profile.php?id=100035159916807
[image: linkedin] https://www.linkedin.com/in/plima1212
[image: instagram] http://instagram.com/paulo_lima1212?utm_source=qr
Paulo Lima
DBA SqlServer
Information Tecnology | AutoTech Informática
910970570 | 910970570
@.***
Rua Vasco da Gama, 109, Braga, Esposende, Portugal

@paulolima1212
I guess you are trying to show something from an image?
Unfortunately, the image is not attached and only shows as [image: image.png]
Please provide the image / more details so we can help.

I just installed prisma, but the type is not recognized. All new
installations.
On Mon, Aug 29, 2022 at 3:08 PM Joël Galeran @.***>
wrote:

@paulolima1212 https://github.com/paulolima1212
I guess you are trying to show something from an image?
Unfortunately, the image is not attached and only shows as [image:
image.png]
Please provide the image / more details so we can help.
—
Reply to this email directly, view it on GitHub
https://github.com/prisma/prisma/issues/14694#issuecomment-1230359887,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYKE3IZIYY6BNZZK5LC7BETV3S77BANCNFSM554ULUNA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
[image: facebook] https://www.facebook.com/profile.php?id=100035159916807
[image: linkedin] https://www.linkedin.com/in/plima1212
[image: instagram] http://instagram.com/paulo_lima1212?utm_source=qr
Paulo Lima
DBA SqlServer
Information Tecnology | AutoTech Informática
910970570 | 910970570
@.***
Rua Vasco da Gama, 109, Braga, Esposende, Portugal

Thank you for your help.
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Joël Galeran @.>
Sent: Monday, August 29, 2022 5:09:26 PM
To: prisma/prisma @.>
Cc: paulolima1212 @.>; Mention @.>
Subject: Re: [prisma/prisma] Prisma Error (Issue #14694)
I'm unsure exactly what problem you have, it seems unrelated to this issue, so opening a discussion or an issue with more details would help.
Make sure to run prisma generate and try restarting the TypeScript language server or your IDE.
—
Reply to this email directly, view it on GitHubhttps://github.com/prisma/prisma/issues/14694#issuecomment-1230526537, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYKE3I7FIQCSNVK6YVGTV5LV3TODNANCNFSM554ULUNA.
You are receiving this because you were mentioned.Message ID: @.***>


Open api for third party access

Use laravel sanctum for third party requests

[ ] Integrate laravel sanctum for third party requests

[ ] Update endpoints for api access

The development has started on branch 6


pypi deploy too large (>100MB)

Deployment for v1.0.0 failed as it was larger than 100MB..
We may need to move some of the atlases to be downloaded separately (like the cnn models)..

This was partially solves when we moved nnunet models to zenodo, and should be fully resolved with https://github.com/khanlab/hippunfold/pull/269


hoverfly and powermock removal

Description
Hopefully(?), the final PR for the junit 5 migration at least in the webservice.
This follows https://github.com/dockstore/dockstore/pull/5297
Turns out the migration of hoverfly was easy and powermock plus easy mock are no longer used in this repo (possibly CLI only), so removing those was easy as well.
This also bans junit5 going forward via the enforcer plugin
Review Instructions
Like the previous PR, probably just see that the trend of tests stays positive.
i.e. same number of tests before and after this PR with similar code coverage
Issue
Final https://github.com/dockstore/dockstore/issues/5284
Security
None known
Please make sure that you've checked the following before submitting your pull request. Thanks!

[x] Check that you pass the basic style checks and unit tests by running mvn clean install
[x] Ensure that the PR targets the correct branch. Check the milestone or fix version of the ticket.
[x] Follow the existing JPA patterns for queries, using named parameters, to avoid SQL injection
[x] If you are changing dependencies, check the Snyk status check or the dashboard to ensure you are not introducing new high/critical vulnerabilities
[x] Assume that inputs to the API can be malicious, and sanitize and/or check for Denial of Service type values, e.g., massive sizes
[x] Do not serve user-uploaded binary images through the Dockstore API
[x] Ensure that endpoints that only allow privileged access enforce that with the @RolesAllowed annotation
[x] Do not create cookies, although this may change in the future
[x] If this PR is for a user-facing feature, create and link a documentation ticket for this feature (usually in the same milestone as the linked issue). Style points if you create a documentation PR directly and link that instead.

(could probably address some remaining sonarcloud stuff)


chore(main): release 1.3.1

:robot: I have created a release beep boop
1.3.1 (2024-07-12)
Bug Fixes

Correct buffer updating for diagnostic highlights (38045d3)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.3.1
:sunflower:


Notebook Cell Statusbar items are always re-created, ending up with duplicates (including built-in items)

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: Insiders
OS Version: Mac

Basically when i have a statusbar item (extension that contributes statusbar items), VS Code re-creates all of the statusbar items for all cells.
This causes ALL statubar items in all cells to flicker (as its destroyed and re-created) & we also end up with duplicates.
@rebornix @roblourens /cc

Flickering UI
Duplicate statusbar items

See below (from latest VS Code Insiders, can also replicate in latest main branch)
Note how we end up with two language pickers in statusbar.

After the fix (re-use instead of re-creating & only create what we need):

The power tools don't seem to provide line numbers anymore so I tried switching the language mode around to repro and couldn't so I'm not sure if that's good enough for verification

I think it's sufficient to mess around with it and not see any dupes. And there were random reports of dupes earlier and I haven't heard that in awhile.


[FLINK-947] Add a declarative expression API

This one is quite big. So you should check out the documentation, skaldic, examples and test cases to see how the API works.

Great additions! Really looking to trying it out. :)

Very very nice work! I've played around a bit with it and the first impression is very good.
+1 to merge the pull request. The change is very big, but stable enough to be merged to master. Not merging it soon would probably cause a lot of work on @aljoscha side.

One more thing, the maven module is called "flink-linq". Are we certain that we can use the name LINQ without problems here?

Yeah, I'm not sure about linq as well. I like the name but realise that it might be problematic. What do the others think. I could call it "flink-expressions".
I will add documentation about which types are supported and a good error message for unsupported types as @rmetzger mentioned.

To me, flink-expressions sounds much better than linq and it mitigates the risk of law suites :)


The source command is not available in all shells

The backward compatible way to source load-omnibus-toolchain.sh is using . which is available in /bin/sh.
Fixes #141

👍


fix: remove sol-hint warnings after check

:notebook: Overview
Removes linter warnings for asserted conditions. Use of assembly is allowed, so using caps for immutables (which sol-hint does not consider as constants). Removed warnings for complex fallback  with comment for complex and payable/non-payable fallback methods.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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 98.948%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1032

Relevant Lines:
1038

💛  - Coveralls


Privacy manifest file for iOS is missing

To ensure a smooth app update and avoid App Store rejection, kindly consider adding a privacy manifest to your library. This helps developers reflect data collection practices in our own manifests.
Apple documentation.

Any progress on this one? The deadline is week.  @deniza

There is a prepared opened pull request for this https://github.com/deniza/app_tracking_transparency/pull/49.
Btw, is there a sense of adding privacy.xconfig file for the plugin, if it doesn't track anything and moreover, isn't listed by apple?
https://developer.apple.com/support/third-party-SDK-requirements/

Thanks for reporting this issue. We are calling a function that retrieves device's advertising identifier. So technically we are collecting some kind of deviceId data. The thing is; if you are using this library, you probably also use a package to display ads such as google_mobile_ads. Every ads framework out there use advertising identifier to track devices. Long story short: your final app bundle will include a PrivacyInfo.xcprivacy file that fulfills the requirements anyway. At least, that's how I understand it.

@deniza some applications do not necessarily have ad. libraries implemented. Integration of the analytics/marketing providers, like for example Adjust or facebook_app_events will require having your library app_tracking_transparency by Apple itself. So I think it will be anyway to merge the PR and make sure your only and unique package helps community.
We apreaciate your support!

On a second thought, calling an api to request IDFA  is not a necessity for the main purpose of this library. There are other packages accomplishing this. Maybe its the right time to remove this function from the package and create a blank PrivacyPolicy file as suggested. What do you think? @bazmichal

@deniza I think that there are still a lot of developers using it specifically for this purpose and additionally, some of them are not aware of Privacy manifests yet, so there will be definitely more people seeking for that in advance while trying to push their apps into the App Store.
Obviously its yours decision, but in case you would like to remove this, I would personally ensure a smooth transition documentation for users, since anyway, your package is the main player in terms of IDFA and tracking.

Library update to 2.0.5 fixes privacy policy issue for Apple. Thanks to everyone for the contributions. 🚀


first pull request

Description 📜
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Fixes # <issue_number_here>

Type of change 📝

[ ] Audio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Video (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[ ] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev (Flutter, Java, Kotlin)
[ ] Backend Dev (Java, .NET, Python)
[ ] C/CPP
[ ] Competitive Programming
[ ] Cyber Security
[ ] DSA
[ ] Database
[ ] Datascience with Python
[ ] Datascience with R
[ ] Frontend Dev (HTML, CSS, JS)
[ ] Frontend Dev (React, Angular, Vue)
[ ] Golang
[ ] Interview Prep
[ ] Java
[ ] JavaScript
[ ] MERN
[ ] Machine Learning
[ ] Open Source
[ ] Python
[ ] Rust
[ ] Statistics
[ ] UI/UX

Checklist ✅

[ ] I follow Contributing Guidelines & Code of conduct of this project.
[ ] I have performed a self-review of my own code or work.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] My changes generates no new warnings.
[ ] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

first  request

Hey harsh, actually I don't want to merge your first PR in demo repo. Lets save it for the big day 📆

okk sir


Inconsistency in updating test case status in ADO

@alexneo2003  I can make sure that there is something wrong and requesting you to have a look .
i have tried many times and able to reproduce this issue.
Note :- All the test cases Ids are different
Either its testRun / testResults , I am able to reproduce in both the scenarios
Seems like there is a bug where if the test case once fail / blocked n in next run its passes , the status of the test case remains fail / block though in actual it is pass
steps to reproduce :
Execute the test which fail in execution.
Test status in ADO is fail ( thats fine )
Fix the test case and run it again , this time test is passing
Expected Result :- the failed test case status should change from fail to pass
Actual result : Remains Fail

First two (from bottom) was runned with publishTestResultsMode: 'testResult' config
second two (from bottom) was runned with publishTestResultsMode: 'testRun' config

as you can see TC status was changed from failed to success

First two (from bottom) was runned with publishTestResultsMode: 'testResult' config second two (from bottom) was runned with publishTestResultsMode: 'testRun' config

as you can see TC status was changed from failed to success

Ya but its not consistent @alexneo2003  I am using it since 1 week and can say this , could you please try to execute it multiple times n see .
n would you mine to share the API and the way you are updating the status please .
Thanks

What api request?) All updates performed from this reporter

I means to say in the reporter itself you might be doing some operation  to update the status of the test cases  right ?
Const patchDocument = [
op:?
Path:?
values :?
]

I mean that I wrote sample test with TC Id of existing in ADO TC.
I use code like expect(true).toBe(true) for successful test and expect(true).toBe(false) for failed test. Run it one by one and check result in ADO.
I don't used any additional request from reporter or another cheating to update status

Ok let me rephrase my question,
i am asking about ADO api that your are using in the reporter  to connect and update the status of a test case in test plan of the azure
I am interested in the logic that you have written in your reporter

At this moment you write message at issue in repository which store source code of reporter 🤔 you can explore it as long as you can

Sure, please keep this issue open , I will try few more times , Thanks

any updates?


Upgrade to Node 8.14.0

Pull Request Test Coverage Report for Build 2722

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 ?%

Totals

Change from base Build 2683:
0.0%

Covered Lines:

Relevant Lines:
0

💛  - Coveralls


Add conf threshold as parameter in berkeley tm

@Purg PTAL, this is an old MR but has a minor change that's worth landing


Update Getting Started doc code to produce expected outputs

Expected Behavior
The commands in Getting Started
 should output { "hear": "Hello World!" } as shown in the doc.
Actual Behavior

Run your fist board outputs only warnings:

(node:43383) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
(Use node --trace-warnings ... to show where the warning was created)

The doc is missing the instruction to add "type": "module" to package.json to avoid the error:

/Users/jorgebar/my-breadboard/hello.js:1
import { base, board } from "@google-labs/breadboard";
^^^^^^
SyntaxError: Cannot use import statement outside a module

Generating boards with JavaScript outputs empty object:

(node:43457) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
(Use node --trace-warnings ... to show where the warning was created)
{}

Specifications

Version: Node.js v20.14.0

I wonder if we're better off just deleting this guide. It's code-rotted quite a bit. Maybe a fresh start focusing on Visual Editor, WDYT?

Let's do it! (Created #2213)


connect() fails with EACCES error when CONFIG_NET_USRSOCK is enabled.

It seems that there is a bug that causes connect() to fail with an EACCES error when CONFIG_NET_USRSOCK is enabled.
This bug appears to have been introduced in the PR of https://github.com/apache/nuttx/pull/7291
When a UDP socket is created and connect() is executed, between usrsock_setup_request_callback() and do_connect_request(),
the USRSOCK_EVENT_SENDTO_READY event is sent by the usock daemon for that created socket, it seems that do_connect_request() will return EACCES.
Since a UDP socket can be sent anytime upon creation, it is a regular case that a USRSOCK_EVENT_SENDTO_READY event is sent at this time.
Therefore, I think the problem is that conncet() causes an error when the USRSOCK_EVENT_SENDTO_READY event is sent during the above gap.
Could you please consider a countermeasure?

@zhhyu7 could you take look?

@zhhyu7 could you take look?

ok, let me take a look.

@SPRESENSE Which driver is used to read the usrsock request event in this scenario?  when the USRSOCK_REQUEST_SOCKET case, please try to combine the response with the event like https://github.com/apache/nuttx/blob/master/drivers/usrsock/usrsock_rpmsg_server.c#L300


Add linear orders

:cat: :+1:
This may need some checks but it works for orders (BTCUSDT) :L

Fixed suggestions


FileSystemDataFeed.ScheduleEnumerator performance fix

On Windows, backtesting speed improvements ranged from 3x to 8x (especially with single symbol algorithms)

You may want to run the 400 symbol benchmark as well. I believe  the count check was added to prevent memory overflow.

Also, consider what may happen if the algorithm thread takes a longer on each time step compared to the data feed.

Today I ran a test algorithm with 400 symbols from Jan 1998 to Mar 2016 (only AddEquity x 400, with an empty OnData method), the fixed version was marginally faster and memory usage was never more than double (max 300MB, it looks like the bounded BlockingCollection is working fine)
AddEquity 400 symbols (after perf fix):
20160512 13:55:54 Trace:: Debug: Algorithm Id:(BenchmarkTest) completed in 8336.65 seconds at 74k data points per second. Processing total of 616,083,755 data points.
AddEquity 400 symbols (before perf fix):
20160512 16:30:25 Trace:: Debug: Algorithm Id:(BenchmarkTest) completed in 8627.52 seconds at 71k data points per second. Processing total of 616,083,755 data points.
Tonight I'll repeat the test adding a Thread.Sleep(1) in OnData to slow down the algo thread and see how it behaves.

After some more tests I realized that ScheduleEnumerator is ok and this fix is not a good solution.


Add python3-geographiclib to python.yaml

Signed-off-by: Alexander Xydes<EMAIL_ADDRESS>Please add the following dependency to the rosdep database.
Package name:
python3-geographiclib
Package Upstream Source:
https://sourceforge.net/p/geographiclib/code/ci/release/tree/
Purpose of using this:
Python3 version of the python-geographiclib package which implements the geographiclib package in python. This package is used to solve some geodesic problems.
Distro packaging links:
Links to Distribution Packages

Debian: https://packages.debian.org/

https://packages.debian.org/search?suite=all&section=all&arch=any&searchon=names&keywords=geographiclib

Ubuntu: https://packages.ubuntu.com/

https://packages.ubuntu.com/search?suite=all&section=all&arch=any&keywords=python3-geographiclib&searchon=names

Fedora: https://src.fedoraproject.org/browse/projects/

https://packages.fedoraproject.org/pkgs/GeographicLib/python3-GeographicLib/

Arch: https://www.archlinux.org/packages/

https://archlinux.org/packages/community/any/python-geographiclib/

Gentoo: https://packages.gentoo.org/

not available

macOS: https://formulae.brew.sh/

not available

Alpine: https://pkgs.alpinelinux.org/packages

not available

OpenSUSE: https://software.opensuse.org/

https://software.opensuse.org/package/python3-geographiclib?search_term=python3-geographiclib

NixOS/nixpkgs: https://search.nixos.org/packages

https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=geographiclib

Tested locally
axydes@lord-snow: ~ $ rosdep resolve python3-geographiclib --os=debian:stretch
#apt
python3-geographiclib
axydes@lord-snow: ~ $ rosdep resolve python3-geographiclib --os=ubuntu:focal
#apt
python3-geographiclib
axydes@lord-snow: ~ $ rosdep resolve python3-geographiclib --os=fedora:36
#yum
python3-GeographicLib
axydes@lord-snow: ~ $ rosdep resolve python3-geographiclib --os=arch:2022.01.01
#pacman
python-geographiclib
axydes@lord-snow: ~ $ rosdep resolve python3-geographiclib --os=opensuse:15.4
#zypper
python3-geographiclib
axydes@lord-snow: ~ $ rosdep resolve python3-geographiclib --os=nixos:unstable
#nix
python3Packages.geographiclib

@mabelzhang I saw that package before but didn't see the python tags in the metadata. Sorry about that.
I know nothing about Gentoo, so I can't really confirm any more than you have based on the metadata on that package index.
I've added it.
Note: according to that package index entry, the sci-geosciences/GeographicLib package is "testing" not "stable"
rosdep resolve python3-geographiclib --os=gentoo:stage3
#portage
sci-geosciences/GeographicLib


missing bindings for XAudio2

Hi,
Any particular reason why the XAudio2 bindings are missing?

The same reason as any missing binding, which is that either nobody has put in the effort yet to bind it, or I haven't reviewed the PR to add the bindings.


Bluetooth: Allow to configure background scan window and interval

Applications may require different scan windows and interval depending
on expected re-connection time or peer devices advertising parameters.
Default to GAP recommended slow values.
Signed-off-by: Szymon Janc<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master   #10244   +/-   ##
=======================================
  Coverage   53.04%   53.04%
=======================================
  Files         214      214
  Lines       26184    26184
  Branches     5644     5644
=======================================
  Hits        13889    13889
  Misses      10024    10024
  Partials     2271     2271

Impacted Files
Coverage Δ

subsys/bluetooth/host/hci_core.c
2.47% <ø> (ø)
: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 c028769...93e556a. Read the comment docs.


Server unable to load function with custom command

CommandAPI version
CommandAPI 2.2 on Paper-166 (1.14.4)
also tried it with a Spigot version from GetBukkit.org
Describe the bug
The server is unable load a mcfunction file with a custom command.
The command it self works as intended.
My code
(Copied from documentation)
@Override
    public void onLoad() {
        //Commands which will be used in Minecraft functions are registered here

        CommandAPI.getInstance().register("killall", new LinkedHashMap<>(), (sender, args) -> {
            //Kills all enemies in all worlds
            Bukkit.getWorlds()
                    .forEach(w -> w.getLivingEntities()
                            .forEach(e -> e.setHealth(0))
                    );
        });
    }

Error
[23:32:31 ERROR]: Couldn't load function at test:functions/with.mcfunction
java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: Whilst parsing command on line 1: Unknown command at position 0: <--[HERE]
	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) ~[?:1.8.0_191]
	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) ~[?:1.8.0_191]
	at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:604) ~[?:1.8.0_191]
	at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577) ~[?:1.8.0_191]
	at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:443) ~[?:1.8.0_191]
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[?:1.8.0_191]
	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) ~[?:1.8.0_191]
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) ~[?:1.8.0_191]
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) ~[?:1.8.0_191]
Caused by: java.lang.IllegalArgumentException: Whilst parsing command on line 1: Unknown command at position 0: <--[HERE]
	at net.minecraft.server.v1_14_R1.CustomFunction.a(CustomFunction.java:77) ~[patched_1.14.4.jar:git-Paper-166]
	at net.minecraft.server.v1_14_R1.CustomFunctionData.lambda$a$2(CustomFunctionData.java:168) ~[patched_1.14.4.jar:git-Paper-166]
	at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602) ~[?:1.8.0_191]
	... 6 more

Log-file:
latest.log

Not the dev, but can you upload the .mcfunction file?

Issue Status
Firstly, sorry for waiting SO LONG before actually responding or doing something about it. I've been busy with other work, so I hope you'll forgive the delay.
I've done my initial testing to get a clearer idea of what the issue is and can confirm that 1.14.4 servers cannot load a custom command from a .mcfunction command (@Minenash Nice of you to ask for the .mcfunction file, but this is no longer necessary now knowing the nature of the issue.)
When I did my initial testing, the error I got in the console was different, but I believe it links to the same issue.
So what's the problem?
Minecraft 1.14.3 changed how functions in .mcfunction files are evaluated during the server startup sequence. When a command is given to the CommandAPI, it runs a permission check to ensure that the sender of the command can run the command. In order to run the permission check, it retrieves the CommandSender object that you all know and love from the Bukkit API.
Prior to 1.14.3, the CommandSender object would be returned (even if it was like a "dummy" commandsender), however now, it throws an UnsupportedOperationException. Which of course, makes sense - the startup sequence is trying to evaluate each command to check its validity, but the CommandAPI can't do that if the command sender is non-existent, which is indeed the case.
When will this be fixed?
No idea. Actually, right now. During the process of writing this response, I've resolved the issue.

The original reason I asked is when I write my function files, there's often a 0-width character at the beginning of the file, and this has happen to some people I know. Glad it had been resolved, though!


The ramdajs.com/docs/'s Filter input is not smart enough for filtering what I really want.

When searching o in Filter input of ramdajs.com/docs/, what I really want is R.o, but it is not on top of the result list. Can anyone optimize the filter algorithm?

this issue probably belongs in the ramda.github.io repo

yes, I'll open a new issue in ramda.github.io.


Menu Item Select values do not scroll

When making a multiItemSelect navigation type, the options in the values select field do not scroll. This means you can't see the options beyond where the modal ends. I have tried this on Safari 15.5 and Chrome 104.0.5112.79.

So the issue isn't actually that the select options are not scrollable, it's that they have a max height of 300px, but the options don't show beyond the modal due to the overflow-hidden class on the modal. Removing the overflow-hidden class from the modal seems to resolve the issue.


fix canvas incorrect attributes

This will not build, the attrs are put the correct way following h types. If this does not render well it seems to be a Vue 3 bug


chat.langchain.dev demo broken

Hi, I'd like to try the demo, but I get a 500 error when asking a question.

yes, it's same to me.


Design a Pokemon object

As a Pokemon Trainer, I want to be able to track and see the statistics of my specific Pokemon, so that I can see the results of my training and effort reflected.
Acceptance Criteria:

[ ] Create a UML diagram that includes a Pokemon object
[ ] The Pokemon object must represent a single specific Pokemon, not a general species of Pokemon
[ ] The Pokemon object must include all relevant statistics of a specific Pokemon

@startuml

title Classes - Class Diagram

class Pokemon {
  +int hp
  +int attack
  +int defense
  +int special
  +int speed
  +int level
  +int xp
}

class PokedexEntry {
  +int id
  +string speciesName
  +float catchRate
  +string imageURL
}

class PokemonTrainer {
  +string trainerId
}

class PokemonTeam {

}

PokemonTrainer -- PokemonTeam: controls

PokemonTeam --o "1..6" Pokemon: contains

PokemonTrainer -- "0..*" Pokemon: has captured

Pokemon -- PokedexEntry

@enduml


Nemo 2000/update staging onboarding module 4

Ticket(s)
2000 Update Staging Onboarding Module 4 (Intermediate level Eng)
https://airtable.com/appfJZShN8K4tcWHU/tblXQZfKPAJIjV4cL/viwIjoZvmwBFobRhy/rec0iWM7dkCTxJc1Y?blocks=hide
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Description
Pasted from request details:
Update Staging Onboarding Module 4 to match Figma:

Remove the glossary button under bug reports
Update teams list: remove old icons and text
Add cards and modals with team descriptions
Change Team heading
Move the Any questions section to the bottom

Screenshots
Before

After

Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation (if applicable)
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works (if applicable)
[x] New and existing unit tests pass locally with my changes

Let's keep consistent spacing between the icons and the copy. The team icons and the team names should have more space between them. Compare to the other buttons with icons and text.


Add minute interval on Android

Summary
Add minute interval on Android, thanks to @BenderBRodrigez and @e1ferapontov to contribute with this feature

Test Plan

Run example App on Android and test if minute interval works on time picker with mode default and spinner
What's required for testing (prerequisites)?
What are the steps to reproduce (after prerequisites)?
Compatibility

OS
Implemented

Android
✅

Checklist

[X] I have tested this on a device and a simulator
[X] I added the documentation in README.md
[ ] I mentioned this change in CHANGELOG.md
[X] I updated the typed files (TS and Flow)
[X] I added a sample use of the API in the example project (example/App.js)

Thanks for picking it up!

@luancurti this was a little harder than I anticipated but I did some refactors and it should be running smooth now; can you please take a look at this and test it out? Thanks!

@luancurti this was a little harder than I anticipated but I did some refactors and it should be running smooth now; can you please take a look at this and test it out? Thanks!

@vonovak sounds good to me, thanks for help!

@vonovak tested in iOS and Android and everything is working ok!  I re-request your review and I think you can approve this PR.


add support for "new" keyword and override properties

instead of just throwing an exception in VerifyKeyUniqueness if two properties have the same name, lets first see if those objects inherit from one another.  This will let you have a virtual property that is override and use the new keyword.  We take the derived most class in this case and use that for serialization.

Thank you for nice PR, but I've failed to merge because it looks that it does not solve hiding problem...

Could you push or post test cases you used?
Can I interpret this PR that it solves the problem the serializer ignore re-defined (hidden or marked with new) members in derived class? If so, VerifyKeyUniqueness is not suitable because it only handle members marked with custom attributes.

I tried to test your PR with following types:
	public class HidingBase
	{
		public string SameType { get; set; }
		public string ShouldBeInt32 { get; set; }
	}

	public class HidingBaseMarked
	{
		[MessagePackMember( 0 )]
		public string SameType { get; set; }

		[MessagePackMember( 1 )]
		public string ShouldBeInt32 { get; set; }
	}

	public class HidingNotMarked : HidingBase
	{
		public new string SameType { get; set; }
		public new int ShouldBeInt32 { get; set; }
	}

	public class HidingMarkedOnDerived : HidingBase
	{
		[MessagePackMember( 0 )]
		public new string SameType { get; set; }

		[MessagePackMember( 1 )]
		public new int ShouldBeInt32 { get; set; }
	}

	public class HidingMarkedOnBase : HidingBaseMarked
	{
		public new string SameType { get; set; }

		public new int ShouldBeInt32 { get; set; }
	}

	public class HidingMarkedOnBoth : HidingBaseMarked
	{
		[MessagePackMember( 0 )]
		public new string SameType { get; set; }

		[MessagePackMember( 1 )]
		public new int ShouldBeInt32 { get; set; }
	}

This PR looks solve same as #161, so close this PR.
Thank you for great work and sorry for too-late response/discussion.


created and ready called twice

Hi,
I fully expect the response to this issue to be "yeah, don't do that" or some such, but I figured I'd see what people say anyway. FWIW, I have changed the way things are done now, so it's not an actual problem for our development, but it did cause some quite odd behaviour and had us scratching our heads for a while.
I have a content script that essentially replaces the entire contents of the page it's executed on. The method I used to do this was to empty the document, and build up head and body elements.
The replacement page is contained in an index.html file - so that that portion of the app can be developed without using an extension, using a server to debug (accelerates the development cycle).
To get the new page inside the newly emptied page, the content script injects an 'import' link tag for index.html, then extracts the head and body from there, and adds them to the new head and body.
That seemed to work ok. I realised that 'import' link tags aren't like #include in cpp, in that they don't simply replace themselves with the content, which is why I copied out the html contents. However, I also realised that the javascript that is imported by the tag is executed immediately.
It is the behaviour of executing the javascript immediately that I think causes the problems we found.
The index.html page is fairly simple, with just one polymer element - ie it has an import link tag for the element in the head, and the polymer element itself in the body.
There's no actual javascript in index.html, so I had thought it might not actually execute anything. Furthermore, I understand that importing an element twice was of no consequence since Polymer knows the elements have been registered already and doesn't do anything.
However, we were finding that the created and ready functions were being called twice, and were likely the cause of all sorts of problem that we had trouble understanding.
The problem that made us suspect what was happening, and investigate a fix, was that element properties seemed to be changing back to their initialised values. We encountered the problem when we endeavoured to fix an error where we were using 'self' as a 'shared variable'. We have the Polymer() constructor inside an anonymous function in which we define private functions that don't belong in the prototype; but mistakenly put 'self' in that scope too, and initialised it in created. This worked for elements that only have a single instance, but when we used that same practice for elements that have multiple instances, we ran into trouble. We decided to stop doing that for all elements, even those with single instances. Ironically, that was actually making those elements work, and when we used self locally to each function that had call-back functions, everything became wildly unpredictable, and a day-long search for the issue ensued.
Well, that's the story. As I intimated, it's quite a 'corner-case', but I'd thought I'd get people's thoughts on the real reasons behind what was happening - as I say, it was mostly instinct that lead me to realise where the problem lay, and I've not really understood exactly what was happening with the import tag.
So, if you import an html file, does it actually perform imports that are inside that html file? As I mentioned, our index.html file has no javascript in it at all, and no script tags either.
I think I have my (mis)understanding from the following page, particularly the bit about considering the import content 'inert' - from that I assumed that the sub-import wouldn't take immediate effect, though, thinking about it more, it surely must :
http://www.html5rocks.com/en/tutorials/webcomponents/imports/
(I wish that page had links on the titles :/)

Think of content as inert until you call upon its services. Take a normal,
dynamically created stylesheet:
var link = document.createElement('link');
link.rel = 'stylesheet';
link.href = 'styles.css';
The browser won't request styles.css until link is added to the DOM:
document.head.appendChild(link); // browser requests styles.css
Another example is dynamically created markup:
var h2 = document.createElement('h2');
h2.textContent = 'Booyah!';
The h2 is relatively meaningless until you add it to the DOM.
The same concept holds true for the import document. Unless you append
it's content to the DOM, it's a no-op. In fact, the only thing that
"executes" in the import document directly is

Closing this issue due to age and the release of version 1 of Polymer - please feel free to re-open if this is incorrect.


batch size

Hi
Thanks for sharing great work!!
I have a simple question regarding training

How can I increas the 'batch size' to higher than '1' ?
what batch size did you use for training in the paper?

Best regards,
HDJ

Hi Thanks for sharing great work!!
I have a simple question regarding training

How can I increas the 'batch size' to higher than '1' ?
what batch size did you use for training in the paper?

Best regards, HDJ

We use batchsize =1, and keep the original audio length and face motion length. If you want to increase batchsize per gpu > 1, please modify dataset class, pad the data and add padding_mask.


withData url parameter is not populated by getInitialProps

When withData calls the fetchData function from getInitialProps, the third parameter is empty.

Et c'était quoi le problème mon amour?
2017-02-22 9:21 GMT-05:00 Felix-Antoine Paradis<EMAIL_ADDRESS>
Closed #10 https://github.com/simplehub/henri/issues/10 via 622f8c0
https://github.com/simplehub/henri/commit/622f8c0cd2e63bdca1e710b2857d7162ff5c98ed
.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/simplehub/henri/issues/10#event-972614262, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ASRLdSZyVhnHLt5_fdScRURawEKH1MxOks5rfESGgaJpZM4MIrsf
.


xIisMimeTypeMapping: Move localization strings to strings.psd1 file

We should move the localization strings to a strings.psd1 file. See the localization https://dsccommunity.org/guidelines/localization/

#513


Add Alamein International University

aiu.edu.eg

@01-BlackHawk-11 Pull request merged. Thank you!