Benchmarks are wrong as you're testing very small chunks

Hi.
Your benchmark data is wrong because when you're testing 10kb chunks everything resides in cache and you get very high performance.
For example BenchmarkEncode5x2x1M = 14 GB/s on my laptop with GOMAXPROCS=1, but if I raise chunk size to 1G it becomes 5.5 GB/s. And if I set it to 10000 the result becomes 23.5 GB/s which is over the head :))
5.5 GB/s is still good of course, ISA-L gives something like 5.6 GB/s with the same test on 1 core.
But your numbers are slightly misleading :)

That is why the data size is specified.
You need to consider your cache size and memory throughput yourself.

Since you are encoding data you just prepared, it is very likely the data is in one or another cache.

I don't think so, real-world applications aren't guaranteed to operate on the same small memory range over and over...
Anyway, the first perfomance table in README doesn't state that it's for really small chunks of data so numbers like 100 GB/s look pretty astonishing and I think misleading

Oh, sorry, it states that it's for 1 MB chunks. OK then, can you please tell how did you get 100 GB/s?

There is a benchmark in the package. Not at my computer right now, but Encode... 5x2x1MB or something like it.

Yeah I run it with go test -test.bench=. -test.run=aaaa, the only thing I can't reproduce is the parallel benchmark, -test.cpu=8 and GOMAXPROCS=8 have no effect in my case, the process still only uses 1 core...

@vitalif The numbers are from my AMD desktop, this is from my Intel laptop, 6 cores:
λ go test  -test.v -test.bench ^BenchmarkEncode5x2x1M$ -test.run=None -cpu=1,2,4,8,12
goos: windows
goarch: amd64
pkg: github.com/klauspost/reedsolomon
BenchmarkEncode5x2x1M
BenchmarkEncode5x2x1M               3081            342325 ns/op        21441.72 MB/s
BenchmarkEncode5x2x1M-2             6567            180422 ns/op        40682.52 MB/s
BenchmarkEncode5x2x1M-4            11814             94297 ns/op        77839.47 MB/s
BenchmarkEncode5x2x1M-8            13984             86297 ns/op        85055.64 MB/s
BenchmarkEncode5x2x1M-12           13006             93323 ns/op        78652.09 MB/s
PASS
ok      github.com/klauspost/reedsolomon        10.855s

Latest master.


Why does Grid insert spaces between narrow columns to the right of a wider column? (and how to avoid)

Hi, I'm trying to learn to use Grid and GridRow for text-alignment purposes.
When I use this code, it does what I expect:
    fn view(&self) -> Element<Self::Message> {
        let row = GridRow::with_elements(vec![
            Text::new("x"),
            Text::new("x"),
            Text::new("x"),
            Text::new("x"),
            Text::new("longer string of text"),
        ]);

        let grid = Grid::with_rows(vec![row]).column_width(Length::Fixed(5.0));
        grid.into()
    }

The cells are all together with no space between them.  But if I move the cell with wider text from the last to the first like this:
        let row = GridRow::with_elements(vec![
            Text::new("longer string of text"),
            Text::new("x"),
            Text::new("x"),
            Text::new("x"),
            Text::new("x"),
        ]);

now I get this:

Now instead of the cells being together, they are spaced out.  Why?  Yes I have read the documentation but no I still don't understand the logic.  In both cases I have set the width of all columns to a fixed value of 5.  What if I want both the wider cell to be on the left and also for the cells to have no space between them?  How can I accomplish that?
(Also this is just a single-row example, my use case has multiple rows so the standard iced Row apparently will not meet my need for a grid.)
Thanks!

it seems to be because inside the layout logic it is calculating a min_size like
min_width = if width == f32::INFINITY {
min_width
} else {
min_width.max(width)
};
if the first is the bigger width, the rest will be set to that width. I really am not sure how Grid Really should be done, or what the original author's purpose of Grid was for.


Android apps like google apps, chess.com etc not working

Problem Description
A clear and concise description of what the bug is.
Steps to reproduce the behavior:

mitmdump -s adblock.py --ssl-insecure  --set stream_large_bodies=1000k --no-http2 -p 9443 -q
proxy starts
connect proxy to android, certificates installed to it in correct way.

System Information
Paste the output of "mitmproxy --version" here.
Mitmproxy: 9.0.1
Python:    3.9.13
OpenSSL:   OpenSSL 3.0.7 1 Nov 2022
Platform:  Windows-10-10.0.18363-SP0
some apps like youtube, google lens, chess.com app is not loading in android ,
where chess.com gives error java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
On  youtube it never loads screen, and google lens shows something went wrong error
facebook shows no internet connection.
I also tried --ssl-insecure, --no-http2 etc...
Certificate is installed to correct path.
Error :
Client TLS handshake failed. The client does not trust the proxy's certificate for (apps mentioned here).
Note : certificate is installed to correct path

Search the web for "certificate pinning", there is nothing mitmproxy can do about that. But there are tools https://docs.mitmproxy.org/stable/concepts-certificates/#certificate-pinning


Fixed Inconsistent Alignment of SignUp and Footer Container

Related Issue
[BUG]: Inconsistent Alignment of SignUp and Footer Container #371
Description
This pull request addresses the issue of inconsistent alignment between the SignUp and footer containers. The changes implement vertical alignment for both containers, enhancing the visual flow and overall user experience on the page.
Type of PR

[x] Bug fix : #371

Screenshots / videos (if applicable)

Checklist:

[X] I have performed a self-review of my code
[X] I have read and followed the Contribution Guidelines.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[X] I have commented my code, particularly in hard-to-understand areas.

Additional context:
Aligning the SignUp and footer containers vertically creates a more user-friendly layout and improves the visual hierarchy on the page, leading to a better overall user experience.

@Vin205 Kindly assign me labels for gssoc-ext level1 and hactoberfest-accepted for this PR, if it gets accepted.


update beehive to respond to the new collection flag show page title

basically there is a new flag in honeycomb and how beehive responds to it.

:+1:

:+1:


[BUG] Scroll to top button customization

Description

[!IMPORTANT]
This is a very beginner-friendly issue. Please skip if you have some experience with development and OSS.

The scroll-up button turns transparent when someone hovers over it which is somewhat difficult to spot in places where we might have a dark background. Can you make sure the button is of the same color ?
Screenshots

Browser 🥦
Brave
Checklist ✅

[X] I checked and didn't find similar issue
[X] I have read the Contributing Guidelines
[ ] I am willing to work on this issue (blank for no).

I can work on this issue. Kindly assign it to me.

Hello @tamalCodes, I would like to further discuss on this.
The issue that you're referring to is that the button becomes transparent which leads to visibility issues on a dark background. So you want the button to consistently have a white background. Is this correct?

Hi @Shivangbhatnagar237 , there might be a hover property on the button, it would be better if that property were to be removed.

Hey @tamalCodes, I think this hover property is causing the issue

After removing this hover property:

The button doesn't change and maintains the same styles.  Is this okay?


Add command for generating SBOM

Context
One key aspect of being able to secure your software ecosystem is to know what software you are using in the first place. Various tools and approaches are commonly used to analyze software after the fact, to attempt to determine what comprises a software distribution. However, a more useful approach can be to gather and record this information at the time the software is being built, when conclusions can be made with certainty about the software being used. This information can then be conveyed in a software bill of materials (SBOM) in a shared, standardized metadata format.
West already supports a command that generates a SBOM. The required steps are described here: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/scripts/west_commands/sbom/README.html
Required steps / Implementation details

Go through above link and understand what it does.
See if (and how) can you optimise the generation process.
Implement such command in the east

Definition of Done
Command for SBOM generation is implemented, tested and reviewed.

@SloMusti
Evaluation of current west implementation was done.
Report can be generated with west ncs-sbom command.
On a small-medium sized project this command took about 4.5 minutes.
Output was an html report with a list of all licenses used in the project. For each license it also listed all files that mention it.
It also listed files without detected license texts.
Implementation ideas for east:

It is easy to wrap this with east (and add some text about taking this quite long).
This command could be included in East release process. It should be enabled as an extra flag (due to the time it takes). East should add this as an extra job and move the generated report to the release folder.
Care should be taken from which build folder the is report generated as the output differs. It should probably be generated from some release build of an application image.

This was implemented in #92, however I will keep this issue open for the visibility as I suspect that there will be some more work.


YouTube Video Resize Fix not detected.

I installed YouTube Video Resize Fix and enabled YouTube WPR. But it keeps showing "YouTube WPR is not yet installed" while watching regular YouTube videos and live streams.
Screenshots:

Environment:
MacOS 13.4, Arc Browser(Chromium 144) with Stylus Beta
Enabled scripts and styles as below

Also, it seems that YouTube WPR is not compatible with Always 2 Columns Mode? If I enable WPR, it's not
borderless anymore.

Thanks for bug reporting. It is now fixed. Please update YouTube Video Resize Fix to the latest version (>=0.3.3).

Also, it seems that YouTube WPR is not compatible with Always 2 Columns Mode? If I enable WPR, it's not
borderless anymore.

I think it was because YouTube WPR was not added by YouTube Video Resize Fix due to the bug? Please let me know whether the issue is still there after your update.

It's working flawlessly right now! Really appreciate your work, thanks!


Add Python Solution for Problem Of The Day | 16 January 2023

Comment below if you're interested in working on this issue and would like to be assigned to it.

Hey @ImSaMPro ! I would like to help on this issue.


CH EMED MedicationStatement Identifier as uuid required (Oliver Egger, ahdis)

ch.fhir.ig.ch-emed#0.2.0 /StructureDefinition-ch-emed-medicationstatement-card.html
Currently the MedicationStatement.identifier is 0..*, however we need to have a unique uuid to identify this MedicationStatement in the exchange format (see CDA-CH-EMED: https://art-decor.org/art-decor/decor-templates--cdachemed-?section=templates&id=2.16.7<IP_ADDRESS>.<IP_ADDRESS>&effectiveDate=2019-12-11T11:31:52&language=en-US). Propose to require one identifier with a uuid (system fixed).
This would also apply to MedicationRequest, MedicationDispense and Observation (for Pharmaceutical Advice).
In addition the document itself needs also uuid as an identifier, since this is related to all EPR exchange format this has been added as a CH-Core issue, see https://github.com/hl7ch/ch-core/issues/95
Oliver Egger, ahdis

agree


v12: Add OpenMP test to gcm_regress

This PR is an attempt to add an OpenMP test to the gcm_regress.j script. It is based on work by @wmputman backengineered to a csh template.
I'm keeping draft for now as I need to test it mainly because I had to do math to figure out how to calculate twice the nodes and half the cores per node. And csh math never is as easy as you hope.

I think this is good. Seems to work (once you can get v12 to be happy 😄 )

Superseded by #640


couchbase: make v3 stubs default

Renamed directories:

couchbase -> couchbase_v2
couchbase_v3 -> couchbase

Fixed in #1194


Wrong paths to javascript files

Hey
According to the Wiki in point 4, you are supposed to include the following:

But I get an error when running the sample project:
Uncaught SyntaxError: Unexpected token < ChartJsInterop.js:1
And I get the above error and one equally about the bootstrap-native.min.js, since I haven't added that to my own project.
I found a CDN for bootstrap-native.minjs
//cdnjs.cloudflare.com/ajax/libs/bootstrap.native/2.0.24/bootstrap-native.min.js
and I can  use the following path:
_content/ChartJs.Blazor/ChartJsInterop.js
to properly get the ChartJsInterop.js.
The charts does seem to work though, even when the above error(s) are present.
When I inspected the errors on my website, they showed 307 internal redirect.
But this doesn't seem to be the case in your example, so maybe that's not really the issue...
What is the intended way to properly refer to the mentioned files?

Also curious about this as I had the same issue. Changing the src path from src="ChartJsInterop.js" to src="_content/ChartJs.Blazor/ChartJsInterop.js" did allow me to be able to locate the file however I get an error on line 3 of ChartJsInterop.js:  Uncaught Reference: Blazor is not defined.

@larshg You are correct in referencing ChartJsInterop.js via the path _content/ChartJs.Blazor/ChartJsInterop.js . The Wiki is mistaken and I will fix that.
I don't really know why Blazor is so forgiving when referencing that file the way I did. Unfortunately I can't find any official documentation about referencing Blazor class library content, but here is what I got:

The comment from @danroth27 in this Blazor issue

When you inspect a Blazor app with Chrome and go to the Sources tab and then to HOSTNAME (e.g. www.iheartblazor.com) you'll find two directories named _framework and _content. The latter directory contains the Blazor class library content and shows you the exact content path as well.

Regarding bootstrap-native.min.js : that file was added by whatever Blazor template I used to create the sample or maybe it is from another project.
It isn't relevant where it comes from, meaning either from static files in wwwroot or from a CDN, as long as it is referenced in index.html
I removed it from my sample and in the index.html I used the CDN url that you found and it worked like it did before, so that is the experience I'm basing my claim on.
So to summarize:

Blazor class library content should be referenced by paths under _content

bootstrap-native.min.js can be referenced in you Blazor app however you want :D

@ghofman2 I can't really reproduce your error. When does that message appear? At runtime or is it just your IDE complaining? I think the CharJsInterop.js file needs to be rewritten but from my basic JS understanding the line 3 is correct.
If possible, upload your code to a GitHub repo and share the link. I'll have a look and let you know if I find anything.

Hey @mariusmuntean did you ever get this working in Blazor 0.7?


implement: questions endpoints

#60

LGTM...
only one thing:
instead of adding tags in createQuestion API...we can have that in updateQuestion API...because it will already be there in updateQuestion. I guess the creator can add tags after creating a question...(after calling createQuestion API), i don't think we need to add tags in this one

But..should'nt we be allowed to add tags to questions when creating them ? I guess updating it just for the sake of adding it would make frontend do two requests for that ? That would be slow I guess

LGTM...
only one thing:
instead of adding tags in createQuestion API...we can have that in updateQuestion API...because it will already be there in updateQuestion. I guess the creator can add tags after creating a question...(after calling createQuestion API), i don't think we need to add tags in this one
thoughts @cjchirag7 ?

I feel it's okay for now, as creation of questions would be much less frequent, than updation.

LGTM...
only one thing:
instead of adding tags in createQuestion API...we can have that in updateQuestion API...because it will already be there in updateQuestion. I guess the creator can add tags after creating a question...(after calling createQuestion API), i don't think we need to add tags in this one
thoughts @cjchirag7 ?

BTW we are inserting into tags table only if tags is provided. So it is optional

@ridhishjain , should we merge now ?

@cjchirag7 Wait for other commits related to questions endpoint..I will push them and then it can be merged at once

LGTM till now

@ridhishjain , you may also review once. So, that we may merge it, if it's fine.


Adding test for integrated terminal font-size overflow

This extends the tests for terminalConfigHelper.
Adds case when terminal font-size is more than max defined.
Fixes #37455
Refs #37636

@Tyriar Hope this helps. 😇

Thanks again @shobhitchittora 😃


Simpler cyclic movement (BackForthMovement)

Sometimes less is more, so I wrote 1 script which handles all the cases CyclicalMovement had. Different patterns are created with ease values. If there's need for different time scales for different movement, this can be achieved via nesting (compositing) multiple BackForthMovements.
Your mileage may vary if this is better solution, but I feel it's more flexible while still very simple. Also I just love ease() function with editor visualization 😄

Here's visualization of usage:

:

Yeah cyclic movement may be better, altough it might also refer constant rotation. I just didn't want name conflict while making this, but in the end it doesn't matter.


Fixing error when user lists component in directory without one

Signed-off-by: Mohammed Zeeshan Ahmed<EMAIL_ADDRESS>What is the purpose of this change? What does it change?

See title

Adding fuction that allows to check if a config file exists
Updating component list to check existence of odo config and fail
if it does not exist
Adding regression tests

Was the change discussed in an issue?
fixes #1485

How to test changes?
$ cd nodejs-ex
$ pwd
/redacted//nodejs-ex
$ odo component list
ACTIVE     NAME            TYPE
*          nodejs-vypi     nodejs
$ cd someotherdir
$ odo component list
 ✗  the current directory does not represent an odo component

/cc @girishramnani

/hold

/test unit

/cc @girishramnani @anmolbabu

/lgtm

/hold cancel


Deployment CRM does not convert bool, NoneType, or Sequence correctly

The issue arises from this line, where the value is substituted inside a quoted string.
While terraform can convert some strings into other types, it does not convert e.g. "[]" to the empty list, "None" to null, "True" to true, nor "False" to false. This leads to errors when deploying AzureBatch, for example, which has a boolean default create_batch_account.
(Tested with terraform version 1.7.1)

closed by #1921


Remove extra formatting when copying and pasting from dpaste

SyntaxError: invalid character in identifier
SyntaxError: invalid syntax
error: cannot format : '\u200b'
Whenever I copy and paste from dpaste into a text editor (xed) then run the code, there is some sort of extra formatting applied to newlines by itself usually. There may be other instances where extra formatting occurs, but I don't remember what it was.
It would be nice to remove this extra formatting from the paste so that it it can easily copy and paste into a text editor and have it return no errors. Each time I need to delete the newline characters by pressing the backspace/delete key twice manually for each newline in the code to resolve the errors.

I don't see the extra formatting that you're talking about, afaik dpaste does not add an extra line at the end of code / pastes.
Could this be related to your issue? https://github.com/linuxmint/xed/issues/195

Quite possibly the same problem but it may happen on a few other text editors so it might be worth testing. But it could be just a text editor problem only so who knows.
The extra characters show up not just at the end of the file for me like others in that issue thread mentioned, it is every time in your code you press the enter key.
For example:
print('hello world')

print('hello again')

Becomes:
print('hello world')
'\u200b'
print('hello again')
'\u200b'

Could you try copying /raw instead, see if that zero-width characters still shows up.
Also what browser are you using?

Wow I did not think about doing that with /raw. It works with /raw but with regular it does not. Firefox.


Disable linting for generated files

Go now has a rough guideline for identifying generated files (also see #226). Update the directives parser to handle this case.

So when you write a code generator, how will you be able to lint the generated output to detect bugs?
At least an option should be available to NOT skip those files if needed.

Yeah, I agree. I will add a flag to force linting.

https://github.com/gogo/protobuf generates a code with many warnings, how can I disable linting those files?

Maybe we should have a flags that allows to skip files, with a regexp on the file name.

Sounds good for me

gogo/protobuf should add the header mentioned in https://github.com/golang/go/issues/13560#issuecomment-288457920

the beggining of auto-generated file.
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: msg.proto

/*
    Package main is a generated protocol buffer package.

    It is generated from these files:
        msg.proto

    It has these top-level messages:
        Msg
*/

I will add support for the generated file comment (haven't had time yet).
The --exclude flag can already be used to skip files.

Hi,
I have the same problem with my own generated files. They on purpose break some rules and I would like to ignore them for some linters (or for all linters if it's not feasible to do for some).
--exclude flag excludes linters, not files. skip ignores whole packages.
I can make them conform to the rules for autogenerated files, but this is not supported by gometalinter, right?
Ideally I would like something like comment directive on a file, e.g. before package directive:
// nolint: lll,dupl

--exclude works on linter messages, not linters. So you can exclude generated files with exclude by using a regex. I do this for things like .*\.pb\.go, ^internal/fakes/, etc.


Update Transition Checker content

https://trello.com/c/Cdcjn2tA
https://finder-front-transition-gemt9f.herokuapp.com/transition-check/questions

@chao-xian This looks good to me. Just to double check, there are a few changes that aren't mentioned in the Trello card - is that intentional?


Make sidebar menu useable on mobile

The sidebar currently looks like this on mobile:

As a user, I may want to check insights on mobile. The menu should have a nice, usable design. It should also be a drop down menu accessible from anywhere on the page (there should still be a menu button at the top when you scroll down).
Acceptance criteria

Menu looks nicer on mobile
Menu is easily accessible from anywhere on website while on mobile

I have the functionality down shown here:
https://user-images.githubusercontent.com/14880163/171059365-511d41e8-eaba-4b4d-9b67-65d93735744e.mp4
But really I don't like  the design of the menu. Feel like it should be more sleek / less spaced out. Also need to think about how the site will look to users not registered/signed in, where user profile button should be on mobile, etc. Not sure of the scope of this card

no longer applicable. closing


Prefix Components With Sh

Rather than writing Dropdown you'd write ShDropdown - maybe making the prefix configurable
This is to prevent accidentally importing the radix component rather than the shadcn component

Hi @RhysSullivan, I just submitted a PR that add the prefix your asking for. I think it's actually a nice feature, let's see what @shadcn thinks about it.

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.


Spark 287037 dot compact mode

https://jira-eng-gpk2.cisco.com/jira/browse/SPARK-287037

I would recommend adding a story for it to showcase it and test it.

I would recommend refactoring the SpaceListItem component as well. For example the renderText function can be simplified in one JSX tag. Maybe it could be abstracted as a sub component (in the same folder). let me know if u have questions about it.

I would recommend adding a story for it to showcase it and test it.

There is already a story, this screenshot is from that.

I would recommend refactoring the SpaceListItem component as well. For example the renderText function can be simplified in one JSX tag. Maybe it could be abstracted as a sub component (in the same folder). let me know if u have questions about it.

Refactoring could be part of a separate story. Feel free to create one.


Filmon-group-1 : Bio issues

Setup: GitHub

[x] created this issue
[x] assigned myself
[x] moved the issue to the project board

Setup: local

[x] pulled the most recent code from main/master
[x] created a new branch for my introduction

Writing the content:

[ ] added my intro file in > /people according to group conventions
[ ] linked to my file from > /README.md according to group conventions

Before pushing my branch:

[x] formatted the code
[x] fixed all spelling mistakes and added new words to the dictionary
[x] fixed all linting mistakes

After pushing my branch:

[ ] created a new PR linked to this issue
[ ] make sure all of the checks passed
[x] assigned someone to review and merge my PR

Hello @filmon-goitom  Good job, I can see you are working , but why did you add your pull request to the project board? we did agree to add only issues.

hollo @samirm00 yes you are right,  but i want to practice in creating new project and following my work on it.


Azure Blob Storage

Add support for Azure Blob Storage in both the platform and runtime components.

Platform part completed by #390


Document the methods on AsyncBufReadExt

Document the methods on AsyncBufReadExt
In particular I need a method that will fill the provided buffer with as much data is available but not wait for further data to arrive.

Docs are definitely needed. THe io design closely mirrors futures::io, you can check that out in the meantime.

In particular I need a method that will fill the provided buffer with as much data is available but not wait for further data to
arrive.

You can do that with .fill_buf(), polling it just once with futures::poll!.

I believe this is no longer relevant as the traits have been moved and documented in embedded-io.


Yahoo Configuration no error messages given related to validations

Environment
Standalone 5.4.0 GA pack
DB - H2
Browser - Chrome Version 61.0.3163.100 (Official Build) (64-bit)
JDK - jdk1.8.0_121
Steps to recreate the issue

Run Standalone IS 5.4.0 GA pack
Try to Register Yahoo as a IDP using Yahoo configuration without giving a value to Client Id and Client secret
Allows to save the IDP

Observation
Even though the client Id and the Client secret are mandatory fields allows to save the IDP. No error message is displayed.

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


clean_ami_name function is no longer supported by packer

Hi, it seems that deprecated clean_ami_name function used in couchbase-ami example is removed in packer 1.5.0 (packer changelog)
Probably clean_resource_name should be used instead https://www.packer.io/docs/templates/engine.html#specific-to-amazon-builders-

Good point! Would you be up for a quick PR to fix this?


Bootstrap error: SyntaxError: export declarations may only appear at top level of a module

Bug Report or Feature Request (mark with an x)
- [X] bug report -> please search issues before submitting
- [ ] feature request

After upgrading angular cli, I am seeing an error which is coming from the use of Bootstrap 4 beta. This error was not there before.

Create a project using bootstrap 4 beta and run it and look at the console in the browser debugger.
Here is a app using including bootstrap:
https://github.com/rajinder-yadav/angular-bootstrap4-beta-error
The log given by the failure.

SyntaxError: export declarations may only appear at top level of a module  scripts.bundle.js:4:20837
	../../../../script-loader/addScript.js/module.exports http://localhost:4200/scripts.bundle.js:49:3
	../../../../script-loader/index.js!../../../../popper.js/dist/popper.min.js http://localhost:4200/scripts.bundle.js:72:1
	__webpack_require__ http://localhost:4200/inline.bundle.js:55:12
	[2] http://localhost:4200/scripts.bundle.js:96:1
	__webpack_require__ http://localhost:4200/inline.bundle.js:55:12
	webpackJsonpCallback http://localhost:4200/inline.bundle.js:26:23
	<anonymous>

Desired functionality.
Should not see the SyntaxError above.
Mention any other details that might be useful.

From the console error output, When I click on ' scripts.bundle.js:4:20837', I am taken to the following line.
webpackJsonp(["scripts"],{

/***/ "../../../../raw-loader/index.js!../../../../bootstrap/dist/js/bootstrap.min.js":
/***/ (function(module, exports) {

This also happens with bootstrap 4 alpha, which didn't happen before and I believe it also breaking the code so that some of the data driven javascript no longer works.

Hi I tracked down the problem, not an issue with angular cli, closing!

How'd you fix it? I'm getting this error too.

I'm getting this from regular bootstrap XD - it's from popperJS not from angular, sorry guys

Use popper javascript files in folder umd.

@rajinder-yadav, of course you are not obliged to but, having already "tracked down the problem" and writing the response here, you probably could have taken a couple more seconds to add a hint towards the solution. Fortunately, the brief hint by @ondra-cenek, helps others to solve this by referencing the dist/umd/popper.js (or a minified version) instead of the popper.js from the default package directory.


[wip] Move InferResets later

Dependencies

fixes #1300
prerequisites: [#1302, #1370, #1388, #1391, #1392]

Checklist

[x] Did you specify the type of improvement?
[x] Did you state the API impact?
[x] Did you specify the code generation impact?
[x] Did you request a desired merge strategy?

Type of Improvement

bug fix

API Impact

No API impact.
Backend Code Generation Impact

Module names may change due to to deduplication/duplication to resolve InferResets.
Desired Merge Strategy

Rebase: You will rebase the PR onto master and it will be merged with a merge commit.

This is currently failing three Chisel tests:

chiselTests.AnnotationNoDedup
chiselTests.LoadMemoryFromFileSpec
chiselTests.CloneModuleSpec

The first two are because of duplication (EliminateTargetPaths) running before InferResets causing names to change. The latter is of unknown cause, but I expect the same thing.
This PR may be good to go if deduplication adds an annotation recording the old module name and (1) duplication uses that when generating the new module and (2) duplication does not change the name if only one instance exists.

@jackkoenig: I'm still cleaning this up, but this is working as far as I can tell. The only failing test on the Chisel side is related to dup/dedup not properly preserving names and tests expecting things to be named a certain way. This is fixable (either with a less brittle Chisel test or with an additional prerequisite PR that adds annotations when something is deduplicated to allow it to be renamed correctly when duplicated), but should be orthogonal to a functional solution for #1300.
I'll un-draft this after I refactor out one additional PR.

@seldridge Is this still needed?

Closed in favor of #1396.


set calledOnce, lastThis, lastArgs after call

addresses #31 by setting memoization toggles only after successful function call.

This looks like a great improvement. Thanks @ChristopherChudzicki. I'll take a better look at it tomorrow

My concern is with recursion, but I am still thinking about it

There could be some strange behaviour if:

first call: a successful memoization function happens with arguments A
second call: an error is thrown with arguments B (what happens to lastResult?)
third call: memoized function is called with A. Is lastResult destroyed by the throw of the second call?

After thinking about this a bit more I think the correct approach is to explicitly manage a try catch. I have created a new branch with tests. It would be great to get your thoughts on it @ChristopherChudzicki
#33

I will close this PR in favour of #33


Bug Report: DownScroll Arrows

Operating system: Windows (x86/x64)
<IP_ADDRESS> FNF - 1.3.1 Kade Engine
When up and down arrows are un-hit on DownScroll, they are flipped.
Screenshot 1:

Screenshot 2:

this was fixed in Nightly2

Oh...

But how you download Nightly2? What even is this?

nvm i found what it is nvm


WIP: BNF language definition

Unfortunately I have no ideas how to detect EBNF that have too weak syntax.


Limit port max to 20000

Some devices dont like things over 60000. Dont let tinkerers shoot themselves in the foot

Ktor issue, nevermind


include: Add MPTCPD_ADDR_FLAG_FULLMESH flag.

Add per-endpoint in-kernel path management MPTCPD_ADDR_FLAG_FULLMESH flag, corresponding
to the kernel API flag MPTCP_PM_ADDR_FLAG_FULLMESH.

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1376

Relevant Lines:
2130

💛  - Coveralls

I updated the MPTCPD_ADDR_FLAG_BACKUP documentation per your recommendations, and removed MPTCPD_ADDR_FLAG_IMPLICIT


Add Read the Docs badge

Closes #46

Codecov Report

Merging #49 (f67a69d) into main (9114a78) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #49   +/-   ##
=======================================
  Coverage   49.70%   49.70%
=======================================
  Files          30       30
  Lines        1175     1175
=======================================
  Hits          584      584
  Misses        591      591

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


LALRPOP warns incompatibility to future version of Rust

Starting with the Rust 1.68 release, we will start seeing this error:
warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.8

Feel free to air your grievances about the things you find lacking from LALRPOP.

@youknowone has already opened a PR upstream for this (and so have others, I think there's three PRs open for this atm). It seems LALRPOP is also used in rustup https://github.com/rust-lang/rustup/issues/3213 so I'm hoping this might result in some activity on it.


Reopened ER_DUP_ENTRY issue

Hello!
I don't know if the closed issues are being watched so I'm mentioning here that I commented an update on #334
If the right flow is to reopen that issue, this one can be deleted.

I'm having the same exactly problem with i18n internationalisation on, every time the server restart the plugin is trying to write wrong queries giving me errors and everything is blocked

Yes its a problem with internationalisation :(

If you have a Strapi install with one locale active and some menu's, try adding a new locale. It fails after that.

Hi @TasosBak @mattialorenzutti and @daan-ef2
Would share strapi versions and what kind of database are you using? This will help with debugging.

Fixed in version v2.2.15

I still experience this issue, using v2.2.15
I had manually removed the duplicate entries from the database, but on startup, I still get:
"[2023-10-05 06:24:59.168] error: insert into navigations (created_at, locale_code, name, slug, updated_at, visible) values ('2023-10-05 06:24:59.160', 'es', 'Main navigation', 'main-navigation-es', '2023-10-05 06:24:59.160', true)
Error: ER_DUP_ENTRY: Duplicate entry 'main-navigation-es' for key 'navigations.navigations_slug_unique'
at Sequence._packetToError (/opt/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
at Query.ErrorPacket (/opt/node_modules/mysql/lib/protocol/sequences/Query.js:79:18)
at Protocol._parsePacket (/opt/node_modules/mysql/lib/protocol/Protocol.js:291:23)
at Parser._parsePacket (/opt/node_modules/mysql/lib/protocol/Parser.js:433:10)
at Parser.write (/opt/node_modules/mysql/lib/protocol/Parser.js:43:10)
at Protocol.write (/opt/node_modules/mysql/lib/protocol/Protocol.js:38:16)
at Socket. (/opt/node_modules/mysql/lib/Connection.js:88:28)
at Socket. (/opt/node_modules/mysql/lib/Connection.js:526:10)
at Socket.emit (node:events:517:28)
at Socket.emit (node:domain:489:12)"

@CodeVoyager I no longer experience this issue. Perhaps there was indeed some migration half-executed. I will reopen if I encounter the issue again. Thanks.


HTTP/2 Prior Knowledge does not appear to work with Http2Codec and Http2ServerDowngrader

Expected behavior
The CleartextHttp2ServerUpgradeHandler should work with both HTTP Upgrade and Prior Knowledge when downgrading HTTP/2 requests internally.
Actual behavior
HTTP Upgrade works, but not Prior Knowledge. In the latter case, nghttp reports: (last_stream_id=0, error_code=PROTOCOL_ERROR(0x01), opaque_data(96)=[HTTP/2 client preface string missing or corrupt. Hex dump for received bytes:<PHONE_NUMBER>00000000])
Steps to reproduce

Fire up io.netty.example.http2.helloworld.server.Http2Server with the modifications described in the next section
Install nghttp
Run nghttp --upgrade --verbose --no-dep http://localhost:8080/; it should succeed
Run nghttp --verbose --no-dep http://localhost:8080/; it fails like so:

[  0.002] Connected
[  0.002] send SETTINGS frame <length=12, flags=0x00, stream_id=0>
          (niv=2)
          [SETTINGS_MAX_CONCURRENT_STREAMS(0x03):100]
          [SETTINGS_INITIAL_WINDOW_SIZE(0x04):65535]
[  0.002] send HEADERS frame <length=33, flags=0x05, stream_id=1>
          ; END_STREAM | END_HEADERS
          (padlen=0)
          ; Open new stream
          :method: GET
          :path: /
          :scheme: http
          :authority: localhost:8080
          accept: */*
          accept-encoding: gzip, deflate
          user-agent: nghttp2/1.23.1
[  0.005] recv SETTINGS frame <length=6, flags=0x00, stream_id=0>
          (niv=1)
          [SETTINGS_MAX_HEADER_LIST_SIZE(0x06):8192]
[  0.005] send SETTINGS frame <length=0, flags=0x01, stream_id=0>
          ; ACK
          (niv=0)
[  0.006] recv GOAWAY frame <length=104, flags=0x00, stream_id=0>
          (last_stream_id=0, error_code=PROTOCOL_ERROR(0x01), opaque_data(96)=[HTTP/2 client preface string missing or corrupt. Hex dump for received bytes:<PHONE_NUMBER>00000000])
Some requests were not processed. total=1, processed=0

Minimal yet complete reproducer code (or URL to code)
Run the Http2Server example code, using the following modified configureClearText method:
    private void configureClearText(SocketChannel ch) {
        final ChannelPipeline p = ch.pipeline();
        final HttpServerCodec sourceCodec = new HttpServerCodec();

        final Http2Codec http2Codec = new Http2CodecBuilder(true, new ChannelInitializer<Channel>() {
            @Override
            protected void initChannel(Channel channel) throws Exception {
                ChannelPipeline p = channel.pipeline();
                p.addLast("downgrader", new Http2ServerDowngrader(true));
                p.addLast("chunk-aggregator", new HttpObjectAggregator(1048576));
                p.addLast("http1-handler", new HelloWorldHttp1Handler("Downgrade"));
            }
        }).build();

        final UpgradeCodecFactory upgradeCodecFactory = new UpgradeCodecFactory() {
            @Override
            public UpgradeCodec newUpgradeCodec(CharSequence protocol) {
                if (AsciiString.contentEquals(Http2CodecUtil.HTTP_UPGRADE_PROTOCOL_NAME, protocol)) {
                    return new Http2ServerUpgradeCodec("server-upgrade-codec", http2Codec);
                } else {
                    return null;
                }
            }
        };

        final HttpServerUpgradeHandler upgradeHandler = new HttpServerUpgradeHandler(sourceCodec, upgradeCodecFactory);

        final CleartextHttp2ServerUpgradeHandler cleartextHttp2ServerUpgradeHandler =
            new CleartextHttp2ServerUpgradeHandler(sourceCodec, upgradeHandler, http2Codec);

        p.addLast(cleartextHttp2ServerUpgradeHandler);

        p.addLast(new SimpleChannelInboundHandler<HttpMessage>() {
            @Override
            protected void channelRead0(ChannelHandlerContext ctx, HttpMessage msg) throws Exception {
                // If this handler is hit then no upgrade has been attempted and the client is just talking HTTP.
                System.err.println("Directly talking: " + msg.protocolVersion() + " (no upgrade was attempted)");
                ChannelPipeline pipeline = ctx.pipeline();
                ChannelHandlerContext thisCtx = pipeline.context(this);
                pipeline.addAfter(thisCtx.name(), null, new HelloWorldHttp1Handler("Direct. No Upgrade Attempted."));
                pipeline.replace(this, null, new HttpObjectAggregator(maxHttpContentLength));
                ctx.fireChannelRead(ReferenceCountUtil.retain(msg));
            }
        });

        p.addLast(new UserEventLogger());
    }

Netty version
Latest 4.1 branch
JVM version (e.g. java -version)
java 8u131
OS version (e.g. uname -a)
macOS 10.12.4

@Scottmitch can you take a look ?

I think I can take a look for this issue!

@chhsiao90 <3... That would be awesome.

Here is my finding, I think it's a little hard to be fixed.
For Conclusion
Currently, CleartextHttp2ServerUpgradeHandler cannot work well with Http2Codec.
How CleartextHttp2ServerUpgradeHandler Works
CleartextHttp2ServerUpgradeHandler will peek the first 24 bytes to see that it's HTTP2 preface or not, and then it will remove it from the pipeline so that the inbound bytes will forward to the handler after CleartextHttp2ServerUpgradeHandler.
What happened when using Http2Codec with CleartextHttp2ServerUpgradeHandler
When channel initialized
The CleartextHttp2ServerUpgradeHandler will add PriorKnowledgeHandler into the pipeline and remove itself from pipeline.
+---------------------------------- Pipeline ---------------------------+
| +------+         +------------------------+                 +------+  |
| | Head |  -->    | PriorKnowledgeHandler  | -->  ..... ->   | Tail |  |
| +------+         +------------------------+                 +------+  |
+-----------------------------------------------------------------------+

And PriorKnowledgeHandler will start to peek (will not consume) the inbound, and determine the protocol and configure pipeline when it knows about the protocol.
When detect HTTP2 connection preface
When PriorKnowledgeHandler found HTTP2 connection preface, it will add handlers for HTTP2 and remove itself. After PriorKnowledgeHandler was removed, the inbound will forward to The handler after PriorKnowledgeHandler <- This is the point.
Here is the steps what handler added/removed.

[PriorKnowledgeHandler] Replace PriorKnowledgeHandler with Http2Codec
[Http2Codec] Add Http2FrameCodec before itself
[Http2FrameCodec] Add Http2ConnectionHandler before itself
[Http2Codec] Add Http2MultiplexCodec before itself
[Http2Codec] Remove itself
And other stuff

After that, the pipeline will look like
(H) -> Head
(T) -> Tail
+---------------------------------- Pipeline -------------------+
| +---+        +-----------------------+                  +---+ |
| | H |  -->  | Http2ConnectionHandler | -->  ..... -->   | T | |
| ----+        +-----------------------+                  +---+ |
+---------------------------------------------------------------+
Outside pipeline
+------------------------+    +------------+             +---+
| PriorKnowledgeHandler | --> | Http2Codec | --> ... --> | T |
+------------------------+    +------------+             +---+

So we can see the inbound bytes was forward to orphan handlers, not forward to Http2ConnectionHandler.
Solution or Workaround
Currently, I don't have any idea about solution or workaround, but will keep think about it.

Are you saying that the inbound bytes are getting forwarded to Http2Codec, even though it has been removed from the pipeline?

Yes, that's what I mean!

It sounds like there's a much deeper design issue here. Why does Netty allow a Handler to pass an event via its ChannelHandlerContext when that Handler is no longer present in the pipeline and therefore does not have a defined position in that pipeline? After all, the ChannelHandlerContext represents a Handler's association with a pipeline--shouldn't it throw an IllegalStateException as soon as you try to do this?
And as for the various HTTP2 pipeline components, do they really need to rely on pipeline mutation so heavily? Your root cause analysis seems like a great example of how complex mutation-oriented programming can be even in a single-threaded context.
As for a fix, can PriorKnowledgeHandler add Http2Codec after itself (instead of calling replace), propagate the data down the pipeline, and then remove itself from the pipeline?

@rschmitt - I address a PR to fix this issue! PTAL

@normanmaurer Can you provide any insight as to whether this may represent a bug in replace and/or the behavior of a ChannelHandlerContext after it has been removed from a pipeline?

@rschmitt sorry I am quite busy atm... Generally speaking I would love to change the contract to throw an IllegalStateException if someone tries to do operations after the handler was removed from the pipeline. That said I think this may break user-code and so is a breaking change so it can not be done in a non major release :/

Right, it would have to be done as an opt-in change. Maybe something like:

Define a system property (io.netty.channel.ChannelHandlerContext.enforcePipelineMembership or something)
Throw an IllegalStateException when the above property is set
When the above property is not set, log an error the first time this illegal state is detected
Run all of Netty's tests with the enforcePipelineMembership property set to ensure that this bug isn't hiding anywhere else in Netty's codebase
Document that passing events to a removed context has undefined behavior and will be made illegal in a future release

@rschmitt @Scottmitch @chhsiao90 https://github.com/netty/netty/pull/7035 is a better fix imho... PTAL

Nevermind let me pull this one in for now...

Fixed by https://github.com/netty/netty/pull/6952

Nevermind let me pull this one in for now...

@normanmaurer - can you explain this change in opinion?

@Scottmitch see what @ejona86 said in https://github.com/netty/netty/pull/7035... We may want to reconsider even remove replace(...) in next major release. But I need to think more about this...


phpPackages: init php56Packages and php70Packages

Since PHP7 package was added quite some time ago, the PHP packages should also reflect this new version. Added php56Packages for php56 and php70Packages for php70.

Did you check if the packages build with PHP 7?
Also when you add php56Packages, just set phpPackages = php56Packages a few lines above to avoid duplication and make it clearer that they are the same currently.

@globin good catch. Somehow it didn't came to my mind, that the extensions most probably will be incompatible (doh!, sorry!). Working on it.

@globin I tested every package now and added PHP 7 supporting packages where available. I'm still pretty new to nix language and I wonder if it might be better to separate the file into two individual files for PHP 5 and PHP 7 packages to avoid version checks and not expose unsupported packages. What is the general strategy here?
To sum up the packages:

Package
PHP 5
PHP 7
Remarks

apcu
apcu40
apcu51
Full PHP 7 support

imagick
imagick31
imagick34
Full PHP 7 support (RC release), imagick34 also compatible with PHP 5

memcache
memcache

No PHP 7 support, probably never will (last updated 2013-04-07)

memcached
memcached22
memcachedPhp7
Unstable PHP 7 support, development branch

xdebug
xdebug23
xdebug24
Full PHP 7 support (RC release), xdebug24 also compatible with PHP 5

zendopcache
zendopcache

PHP 7 support integrated in PHP core (installation during compilation). PHP 5 package now restricted to PHP < 5.5 (integrated into core since PHP 5.5)

zmq
zmq11
zmqPhp7
Unstable PHP 7 support, development branch

xcache
xcache

No PHP 7 support, probably never will (one developer, last updated 2014-09-18)

pthreads
pthreads20
pthreads31
Full PHP 7 support

geoip
geoip

No PHP 7 support, probably never will (last updated 2014-05-01)

redis
redis22
redisPhp7
Unstable PHP 7 support, development branch

composer
composer
composer
Full PHP 7 support

phpcs
phpcs
phpcs
Full PHP 7 support

Removed [WIP] as I am finished and waiting for feedback :)


Set up Kanban Board

Hi,
We are a team of two
@asharanjith
@AhmadiGu
Please click here to see the project we have created.

Hi @asharanjith and @AhmadiGu ,
Good job so far!
You still need to work on some issues to go to the next project, but you are almost there!

Highlights
📌 Descriptive Issue✅
📌 Great working on the setup of the project Kanban board ✅
Required Changes ♻
Check the comments under the review.

[ ] You have set up the board nicely and have cards assigned to team members :+1: :100:  However, Each project requirement should have at least one card in the Kanban board but now the requirement "Create a navigation menu that allows users to open all of the pages you created" does not have a corresponding card in the board so make sure that you create an additional card with this requirement :+1:  and submit this same issue link for review :pray:

Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Hi @asharanjith and @AhmadiGu ,
Good job so far!
You still need to work on some issues to go to the next project, but you are almost there!

Highlights
📌 Descriptive Issue✅
📌 Great working on the setup of the project Kanban board ✅
Required Changes ♻
Check the comments under the review.

[ ] You have set up the board nicely and have cards assigned to team members :+1: :100:  However, Each project requirement should have at least one card in the Kanban board but now the requirement "Create a navigation menu that allows users to open all of the pages you created" does not have a corresponding card in the board so make sure that you create an additional card with this requirement :+1:  and submit this same issue link for review :pray:

Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Hi @Team
Your board setup is complete!
Congratulations! 🎉
Highlights

Good setup   💯

Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
You can also consider:

N/A

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification @prolajumokeoni.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


[DOCS] type-safe-api python example changes .projenrc.py to .projenrc.ts

Describe the issue
I'm trying to use a type-safe-api and pipeline together in a python project. I was having trouble with dependencies, so I followed the example in the type-safe-api developer guide which shows to use nx-monorepo as well in my .projenrc.py. After running projen successfully, any other projen command fails with
👾 default | ts-node --project tsconfig.dev.json .projenrc.ts
node:internal/modules/cjs/loader:1078
  throw err;
  ^

Error: Cannot find module './.projenrc.ts'

Links
https://aws.github.io/aws-prototyping-sdk/developer_guides/type-safe-api/index.html with the python tab.

Thanks for catching this! nx-monorepo only supports using TypeScript to write your .projenrc at present, so the Python and Java .projenrc examples weren't accurate.
I'll update the docs with the .projenrc examples in TypeScript.


JSON object now shown for the connecting links

JSON objects are shown only for the nodes. Is there a way to show a similar kind of object when a connecting link is selected?

Found a way. Closing the issue.


Add safe.directories config

This is an implementation of RFC 3279.
This only uses the CARGO_UNSTABLE_SAFE_DIRECTORIES=true environment variable instead of a -Z flag because -Z flags are loaded after the config files have been loaded.
I didn't feel comfortable trying to allow that to work (config is loaded early to handle aliases).
The config code needing some changing around so that the checks could be placed in one location.
There are two uses here. The normal config loading, and the config loading for the cargo config command.
This also changed because it needs to load the home directory config first instead of last, in order to fetch the safe.directories settings.

@ehuss: no appropriate reviewer found, use r? to override

:umbrella: The latest upstream changes (presumably #10764) made this pull request unmergeable. Please resolve the merge conflicts.


Edit user

Closes #1446

Coverage decreased (-0.02%) to 82.99% when pulling f62591e809a5700eb973abaf1e63be89dc5c92ef on na3d:user-sub-page-base into e39bd2bc623f4d14af77695c18c9d7fb3d00f472 on linode:master.

minor alignment problem

console warning after edit save Warning: flattenChildren(...): Encountered two children with the same key, testusers1. Child keys must be unique; when two children share a key, only the first child will be used.

The flattenChildren problem is on the index page, because of an issue with state management.

Coverage increased (+0.009%) to 83.015% when pulling 20e61e654dc2c9c5f05ca346cd0384652820ed4e on na3d:user-sub-page-base into e39bd2bc623f4d14af77695c18c9d7fb3d00f472 on linode:master.

Coverage increased (+0.009%) to 83.015% when pulling 2fe29641126d8109806b07b75098ffc14552cca1 on na3d:user-sub-page-base into e39bd2bc623f4d14af77695c18c9d7fb3d00f472 on linode:master.

Coverage increased (+0.2%) to 83.25% when pulling 8767ccfc4bb84ad7e976c10497dcb7bda3016b62 on na3d:user-sub-page-base into e39bd2bc623f4d14af77695c18c9d7fb3d00f472 on linode:master.

Coverage increased (+0.2%) to 83.255% when pulling 8767ccfc4bb84ad7e976c10497dcb7bda3016b62 on na3d:user-sub-page-base into e39bd2bc623f4d14af77695c18c9d7fb3d00f472 on linode:master.

Coverage increased (+0.2%) to 83.25% when pulling 4b4730ee40294163e1b1e119d55d43a85d267703 on na3d:user-sub-page-base into e39bd2bc623f4d14af77695c18c9d7fb3d00f472 on linode:master.

Coverage increased (+0.2%) to 83.25% when pulling cc77833567c69cf7a8238699bbc925ff1d0bf784 on na3d:user-sub-page-base into e39bd2bc623f4d14af77695c18c9d7fb3d00f472 on linode:master.


[FEATURE] - Connect using AccessToken generated from a CSP tenant to CSP delegated tenants

What are we doing?
We are developing a solution which can do changes on multiple customer tenants. The solution is for example so far able to manipulate Azure AD and Azure Subscriptions on all customers. We now want to add SharePoint Online to this set of things we can manipulate.
Explanation of the authentication logic

By adding a user (service user) from our tenant to the Azure AD Group “AdminAgents” this user can reach all the customers that are connected to our CSP Partner Center
Using the service user, we interactively login using an Azure AD Application in our own Azure AD Tenant to authenticate using “auth code flow” so that we get a set of tokens (Access and Refresh).

Example URL which we navigate to and login using the service user to create the auth code that is later exchanged for the tokens.
[https://login.microsoftonline.com/common/oauth2/authorize?client_id=&response_mode=form_post&response_type=code id_token&scope=openid profile offline_access https://management.azure.com/.default https://graph.microsoft.com/.default https://app.vssps.visualstudio.com/.default https://vault.azure.net/.default https://api.manage.microsoft.com/.default https://manage.office.com/.default https://analysis.windows.net/powerbi/api/.default https://microsoft.sharepoint-df.com/.default https://print.print.microsoft.com/.default&state=1234&nonce=1]

The refresh tokens are placed in an Azure Key Vault so that we can use this refresh token to create new access tokens for any customer tenant whenever we need them. Typically, we have API’s referencing the secrets in the Key Vault to later use them for creating their own tokens.

What is failing?
When we try to do this same procedure, we are not able to come through and we get access denied 401 problems.
PowerShell example
$customerAccessTokenUri = ('https://login.microsoftonline.com/{0}/oauth2/v2.0/token' -f $TenantId)
$params = @{
grant_type    = "refresh_token";
client_secret = $AOBOAppRegistration.GetNetworkCredential().password
client_id     = $AOBOAppRegistration.'UserName'
refresh_token = $AOBORefreshToken
scope = “https://CSPCustomerTenant.sharepoint.com/.default” # https://microsoft.sharepoint-df.com/.default  - We have tried both
}
$MsgToken = Invoke-RestMethod -Uri $customerAccessTokenUri -Method POST -Body $params
This one connects without any errors
Connect-PnPOnline -Url "https://CSPCustomerTenant.sharepoint.com" -AccessToken $MsgToken.access_token
Test if login is working
Get-PnPSite # <---- This is failing with: The remote server returned an error: (401) Unauthorized.
Other information

AccessToken authentication works fine when first connecting to PNP using a tenant native user and then fetching the AccessToken using the Get-PnPAppAuthAccessToken command. However, we want to do this without a native user.
Creating tokens as described above works perfectly fine when connecting to CSP-customers Graph or Azure API (just using a different scope)
Authenticating using our CSP credentials directly to the customers sharepoint-site through a browser works without any issues.

Is this something that can be done with the current PnP module, or are there improvements that can be done to achieve this? Are we perhaps missing something regarding our setup? Or could there perhaps be limitations within SharePoint regarding this problem?
Edit:
We ended up doing a workaround here. Using our DAP(AOBO) access to create an application/ServicePrincipal and add the required permissions to it, add a certificate and then save the appID and certEncoding in our own keyvault, we are able to use this when authentication to the customer through PNP.
We also had a discussion with Microsoft about this, more or less saying that it won't work using the DAP access directly.

Closing this since its not really a issue.
Has been answered here in the discussion:
https://github.com/pnp/powershell/discussions/2236


fix editing link from embedded graphs; resolves #1191

lgtm. this may need a canonical edit url from backend down the line, but it works for our use cases now

yes, that's a good idea


Hyperlink doesn't work (404 error)

The hyperlink to Microsoft.FeatureManagement documentation in the bottom part of this page doesn't work: it gives a 404 error.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: fa18f095-325a-628d-9c05-551c09f7392e
Version Independent ID: 5db3af04-a314-24fd-6202-772aaa62a28d
Content: Tutorial for using feature flags in a .NET Core app
Content Source: articles/azure-app-configuration/use-feature-flags-dotnet-core.md
Service: azure-app-configuration
GitHub Login: @maud-lv
Microsoft Alias: malev

duplicate

tracking: MicrosoftDocs/azure-docs#104987


Wrapper shouldn't forward handled props to inner component

Currently, react-inform's Form:

handles: onChange, onValidate and value fields
forwards all props to inner component

it probably shouldn't do (2)

Could you explain why it shouldn't do 2?  Without that, normal properties cannot be passed to your form.
If MyReactInform is a wrapped form, and it expects an onSubmit property, this:
<MyReactInform onSubmit={...} />

wouldn't work unless the prop's passed to the wrapper weren't forwarded to the wrapped component.

no-no… you misunderstood :)
it's ok to pass OTHER properties.
I'm talking strictly about those already handled by inform itself. The reasoning is mostly theoretical (oop black-box)
const propsToForward = { ...this.props };
delete props.ToForward.onChange;
delete props.ToForward.onValidate;
delete props.ToForward.value;
…

practical reason: I just saw a developer who tried to attach this onChange to the <form> of internal component :-(

ah, I see.  This makes more sense :) Yeah I think thats valid.  I don't see a reason that the inner component would ever need those.

#16 should take care of it.  Let me know if that works for you.  I won't be releasing immediately, as there are a few more changes I want in there.


Music

This may seem a bit of a stretch, but is there a way to integrate music with shifty. I was inspired by this when a theme called Hyrule got shifted. Nothing would be more enjoyable than hearing a nostalgic Zelda song while coding my life away 🤪

Thanks for submitting this issue @ben-hapip! This is a cool idea, but not one that I will implement in shifty.
You could create your own extension that plays a new track whenever your VS Code color theme changes. Then run your extension alongside shifty to have the experience you're looking for.
🎉


Does group rule take precedence over direct assignment if it assigns a higher license level.

If a group rule assigns a higher license level, does it take precedence over direct assignment.
For example, if the user is added as a stakeholder directly in the organisation and later added to a group which assigns a Basic license, will the group rule take precedence since it assigns a higher licence?

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

ID: e68cbc09-7665-c8cf-e422-4f83f9a56cc7
Version Independent ID: 767f63c4-bfde-7a48-08f2-3beb1437abd1
Content: Remove direct assignments from users - Azure DevOps Services
Content Source: docs/organizations/accounts/remove-direct-assignments.md
Product: devops
Technology: devops-accounts
GitHub Login: @chcomley
Microsoft Alias: chcomley

Hi @Chintunie, Thanks for reaching out. I'm confirming with the PM and will get back to you shortly. Thanks again!


Exception while invoking method 'oauth2/authCodeGrant' Error: Missing parameter: headers

i followed Migrating from 2.x to 3.x, replace new api but failed
'oauth2/authCodeGrant' is a meteor method call.
it seems oauth2-server 3.x change "authCodeGrant" to "authorize".
https://github.com/prime-8-consulting/meteor-oauth2/blob/master/packages/meteor-oauth2-server/server.js#L104.
i've forked this repo, want to upgrade it to 3.x.

https://github.com/prime-8-consulting/meteor-oauth2/blob/master/packages/meteor-oauth2-server/server.js#L164
these fields are missing in req.
req.headers, req.method

after add these line, still no working.
req.headers['content-type'] = 'application/x-www-form-urlencoded';
req.method = 'POST';

curl https://install.meteor.com/ | sh
git clone https://github.com/crapthings/meteor-oauth2
cd meteor-oauth2
git checkout oauth2-server-3
cd examples/resourceServer
meteor npm i
meteor -p 3100

register an account and click "Authorize Button" at section Step A5.1 - Generate Access Tokens

Hi @crapthings, what exactly are you trying to do?  Would be glad to help.

2.4.1 works fine. never mind.


Failed to compile TF 1.15.2 from source code

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 20.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): want install tensorflow from source
TensorFlow version: 1.15.2
Python version: 3.8.2
Installed using virtualenv? pip? conda?: -
Bazel version (if compiling from source): bazel 0.26.1
GCC/Compiler version (if compiling from source): 9.3.0
CUDA/cuDNN version: -
GPU model and memory: GPU: - Memory: 4GB

Describe the problem
Hello, I wanted to build TensorFlow 1.15.2 from source to works with my old non AVX supported CPU( Intel Pentium(R) Dual-Core E5300 2.60GHz). I looked TensorFlow community wheels but not found any TF 1.15.2 with Python 3.8.2 and  without AVX support.
I just downloaded TF 1.15.2 source code from github release, Extract it, According to here I installed dependencies and ...
$ ./configure
WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown".
You have bazel 0.26.1 installed.
Please specify the location of python. [Default is /usr/bin/python3]:

Found possible Python library paths:
  /usr/local/lib/python3.8/dist-packages
  /usr/lib/python3/dist-packages
Please input the desired Python library path to use.  Default is [/usr/local/lib/python3.8/dist-packages]

Do you wish to build TensorFlow with XLA JIT support? [Y/n]:
XLA JIT support will be enabled for TensorFlow.

Do you wish to build TensorFlow with OpenCL SYCL support? [y/N]:
No OpenCL SYCL support will be enabled for TensorFlow.

Do you wish to build TensorFlow with ROCm support? [y/N]:
No ROCm support will be enabled for TensorFlow.

Do you wish to build TensorFlow with CUDA support? [y/N]: n
No CUDA support will be enabled for TensorFlow.

Do you wish to download a fresh release of clang? (Experimental) [y/N]: n
Clang will not be downloaded.

Do you wish to build TensorFlow with MPI support? [y/N]:
No MPI support will be enabled for TensorFlow.

Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native -Wno-sign-compare]:

Would you like to interactively configure ./WORKSPACE for Android builds? [y/N]: n
Not configuring the WORKSPACE for Android builds.

Preconfigured Bazel build configs. You can use any of the below by adding "--config=<>" to your build command. See .bazelrc for more details.
	--config=mkl         	# Build with MKL support.
	--config=monolithic  	# Config for mostly static monolithic build.
	--config=gdr         	# Build with GDR support.
	--config=verbs       	# Build with libverbs support.
	--config=ngraph      	# Build with Intel nGraph support.
	--config=numa        	# Build with NUMA support.
	--config=dynamic_kernels	# (Experimental) Build kernels into separate shared objects.
	--config=v2          	# Build TensorFlow 2.x instead of 1.x.
Preconfigured Bazel build configs to DISABLE default on features:
	--config=noaws       	# Disable AWS S3 filesystem support.
	--config=nogcp       	# Disable GCP support.
	--config=nohdfs      	# Disable HDFS support.
	--config=noignite    	# Disable Apache Ignite support.
	--config=nokafka     	# Disable Apache Kafka support.
	--config=nonccl      	# Disable NVIDIA NCCL support.
Configuration finished

an strange error throws durring compile: /usr/bin/python not found :|
you can see in configure file I selected to use /usr/bin/python3 file so I don't know why it want that file.
ln -s /usr/bin/python3 /usr/bin/python silents the error but after 30 min another error occurred. I saved the details of the second error in here.

@amir28
With Python 3.8 you cannot install TF-1.15, please downgrade python to 3.7 and it should work fine.
(python3.8 is not supported in TF before 2.2).
Please check on pypi, there are no files available for cp38 for 1.15, Only the versions listed by command have (i.e 2.2.0rc1 to rc4) a cp38 whl file available here..Thanks!

Thanks to reply
I another question maybe a little not related to this issue, If I compile master branch using bazel build --config=opt --config=v1 it will compile lastest version of TF 1.x?
I'll downgrade to put 3.7 but It could be great if it works with py 3.8+. Correctly I can't use TF 2.x.
Thanks a lot.

@amir28
Can you please raise a new issue by filling the issue template and close this issue here.Thanks!

Yes, of course.

@amir28 yes, passing --config=v1 will always build the V1 API and behavior. But note that we no longer test and support those from master.

Thanks, but between download and compile lastest release (2.x) with --config=v1 and download and compile lastest 1.x release which one is suggested (which is better)?


Improve metric creation performances

Metric creations should be completely asynchronous. In the carbon plugin If we don't have the metric locally cached, put it in some queue but continue and write the points directly. Not sure if it's better to do that in exists() or in create(). The important point is that points do not get blocked by that, it's totally ok if new metrics appear only after a few minutes.

That's done


contourf example doesn't work on my machine

I can't seem to get any contourf plots to work with mplleaflet. Other plot types (e.g., scatter plots) work fine.
The example runs without any errors on my machine, but it generates a map with only the background layer.
Any ideas for how to debug this?

Hi @shoyer.
I just pushed a fix for this, which is really in mplexporter. Any way you can give it a try when you get a chance?

It works, thanks!

Awesome! Thanks for checking. Updated to new version and pushed to PyPI.

Great!
It might be a good idea to also push tags to github? That makes it a little more obvious that you've made a release.


feat(mdn): init

🎉 Theme for MDN 🎉
MDN Web Docs is an open-source, collaborative project documenting Web platform technologies, including CSS, HTML, JavaScript, and Web APIs.

Few other examples:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/static
https://developer.mozilla.org/en-US/docs/Web/CSS/@layer
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isContextLost
💬 Additional Comments 💬
The linter is complaining for not using complex :not() notation for :root pseudo-class selector, but since the original style is using a chain of :not() notation, we have to stick with that to make the styles work.
🗒 Checklist 🗒

[x] I have read and followed Catppuccin's submission guidelines.
[x] I have made a new directory underneath /styles/<name-of-website> containing the contents of the /template directory.

[x] I have ensured that the new directory is in lower-kebab-case.
[ x I have followed the template and kept the preprocessor as LESS.

[x] I have made sure to update the
userstyles.yml
file with information about the new userstyle.
[x] I have included the following files:

catppuccin.user.css - all the CSS for the userstyle, based on the
template.
assets/mocha.webp, assets/macchiato.webp, assets/frappe.webp and
assets/latte.webp - individual screenshots of the themed website, in all 4
Catppuccin flavors.
catwalk.webp - image of all individual screenshots stitched together,
generated via catwalk.

Can you fix the other lint issues (function-url-quotes)?

I'd love for this theme to get merged! Is there a reason this is still a draft?

Looks great! Two things I noticed:
Color of current page in navbar:

This looks a little too faded to me, maybe a little closer to the color the rest of the navbar links are?
Unthemed input field placeholder text:

(see https://developer.mozilla.org/en-US/docs/Web/CSS/::placeholder)

Unthemed input field placeholder text:

I can't confirm the issue on my side.

Huh, looks the placeholder text is themed in Firefox (which I presume is what you are using) but not in Chrome/Chromium browsers.


Issues with loading a model from checkpoint

Hi,
I'm training an image2image model.
Whenever I load a model from checkpoint, it uses the learning_rate taken epoch 0 and not the one it should use based on ScheduledHyperParamSetter callback.
After some code digging  I found the reason:
Trainer.epoch_num is initialized to config.starting_epoch - 1 (in Trainer constructor).
This is the value that is read by ScheduledHyperParamSetter when the method _get_value_to_set is first called to set params before_train.
(self._callbacks.before_train()   at Trainer:main_loop)
When Trainer self.epoch_num is set to self.config.starting_epoch in the main_loop, it's already too late and the learning_rate will be the one from TrainConfig (either the one the user specified or just the default value)
The value config.starting_epoch is being overridden by JSONWriter based on the last epoch from stat.json
I think the user might expect the learning_rate to be taken from the last epoch.
The user can specify the starting_epoch with TrainConfig (But he'll probably just read it from stat.json, and I don't think he should do that).
Currently, I locally changed
self.trainer.config.starting_epoch = epoch      (JSONWriter:_setup_graph)
To:
self.trainer.config.starting_epoch = self.trainer.epoch_num = epoch

Thanks very much for finding this subtle bug. I think your solution makes sense.


link issue

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
i can not link my ejs file with bootstrap using the  attribute however i tried multiple versions
my code :
the error:

Reduced test cases

What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Microsoft Edge
What version of Bootstrap are you using?
v5.3

Is it working with this CodePen link? If you have the same error, it's probably because cdn.jsdelivr.net is blocked by some network rules: in your company, country, or others.

It can be linked to something like https://github.com/orgs/twbs/discussions/39143 or https://github.com/orgs/twbs/discussions/38782

If that's the case, you can try some Alternative CDNs.

Closing out given this sounds like an isolated incident.


field does not accept dynamic variables

When using the field attribute with v-validate, variables are not parsed as part of the field definition. Expressions are taken as static text instead and not parsed.

Can you share the reproduction codes with jsfiddle (or codepen ... etc) please?

will provide

Close (inactivity)


add edit link to packages / channels / streams

So it's easier to get there and one does not have to go through the full path of package --> channel --> stream every time …

not exactly sure where what should go where here. so you want an edit link to streams directly from the edit package page (full listing then, would load all the streams...)? the items listed on the edit pages already link to their respective edit page.

No, form the "show xxx" pages … so viewing content you can go edit it directly instead of having to go through the whole chain of edit pages again.


Update fungible-asset.mdx

Description
Add section for dispatchable fungible asset.
Checklist

Do all Lints pass?

[x] Have you ran pnpm spellcheck?
[x] Have you ran pnpm fmt?
[x] Have you ran pnpm lint?

Do we need to mention balance as well?

I was a bit hesitant to mention this because it might be a bit too much to cover it here.


cannot close last window

occurs when multiple splits are closed with <C-w><C-o>
Error detected while processing WinClosed Autocommands for "*":
E5108: Error executing lua ...vim/site/pack/packer/start/dimmer.nvim/lua/dimmer/ui.lua:97: Vim:E444: Cannot close last window

function M.win_close()
  local win_id = vim.api.nvim_get_current_win()
  local overlay = state.overlays[win_id]
  if overlay == nil then
    log.trace("win_close - no overlay win_id: " .. win_id)
  else
    vim.api.nvim_win_close(overlay.winid, false) -- error
    log.trace("win_close - overlay closed win_id: " .. win_id)
    state.overlays[win_id] = nil
  end
end

only one event call win_close - overlay closed win_id: 1005
autocmd event wise:
22:18:59 - BufWinLeave
22:18:59 - BufHidden
22:19:00 - BufWinLeave
22:19:00 - BufHidden
22:19:01 - BufWinLeave
22:19:01 - BufHidden


Not working themes and plugins

I try to use all the modified themes and  plugins using this link https://appsdev.cyou/wp-script-api/
Im trying to use the mass embedder
but seems its not working

I try to check the url api
but still white screen

I already try the read me file

but seems its not there

you need wp-core and then edit, all the contents are now free
closing this.

you need wp-core and then edit, all the contents are now free
closing this.


Device report: TERPORT TR95

TERPORT TR95 uses BYK916 chip, the ids are different from nuphy-air60
Bootloader MD5: 2d169670eae0d36eae8188562c1f66e8
I haven't tried writing the firmware
pub const PART_TERPORT_TR95: Part = Part {
flash_size: 61440, // 61440 until bootloader
bootloader_size: 4096,
page_size: 2048,
vendor_id: 0x258a,
product_id: 0x0049,
};

Thank you!


Fix typos

Fix typos

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
To ensure accuracy in future PRs, please see these guidelines.
A quick fix for this PR: rebase it; your next report should be accurate.

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4992

Relevant Lines:
6491

💛  - Coveralls

Thanks


Play again possibility

Currently the client screws up if you go back to the lobby (by clicking back button) after playing a game and then starting a new one.

Now it's possible to go back to the lobby after playing a game. Also fixed a bug that caused UR to not recreate the board every time.


Setup CI and linting

Based on issues: https://github.com/cubed-dev/cubed-xarray/issues/15 & https://github.com/cubed-dev/cubed-xarray/issues/16

Adds a pre-commit-config.yaml file
Adds ruff formatting rules in pyproject.toml
Removes duplicate deps between requirements.txt & pyproject.toml
Adds .github CI file to run pytest daily

@TomNicholas any thoughts about uv vs pip vs mamba?
I have enabled pre-commit CI now.

No preference! Happy to defer to @norlandrhagen 's helpful opinions :)


Dynamic Programming: Climbing Stairs

Hi, I have my code written for this issue. Please assign it to me.

Hello, i have written the codes for this problem using recursion, memoization with recursion, and dynamic programming. Please assign me this problem under hacktoberfest tag

Hello, i have written the codes for this problem using recursion, memoization with recursion, and dynamic programming. Please assign me this problem under hacktoberfest tag

create your own and specify the language will assign you.


[rmkit] update harmony and bufshot

fix harmony not loading saved images (due to trying to save them in color)
fix bufshot to correctly recognize the tablet

testing:

run bufshot from commandline, verifies it saves the screen to fb.png (in grayscale)
run harmony, draw a little bit and then use the menu to click 'save'. after saving the image, use 'load' and click the image to verify it loads. make sure to move /home/root/saved_images/* to a new directory since they may not be compatible with the updated harmony code (and were causing crashes previously)

updated bufshot to use color saving routine: https://github.com/rmkit-dev/rmkit/commit/493916d4112545b2ff6c32a67e3928a9bf7365a9

tested bufshot on rm1/rm2 and verified it's in color. tested harmony on rm1/rm2 and verified images can be saved and loaded properly.
rm1:
rm2:


Ability to pass custom options to handlers

This is very useful. For example your application's handlers could need the
URL of your OAuth provider and it could come from your application settings.
Now you can pass these options to the NsqSubscriber and they'll be passed over
to the handlers when a message arrives:
subscriber = NsqSubscriber.new(
  lookupd: NSQ_LOOKUPD,
  topic: NSQ_TOPIC,
  channel: NSQ_CHANNEL,
  handler_options: {
    oauth_provider: OAUTH_PROVIDER,
    other_custom_stuff: "yes plese"
  }
)

:+1:  :eyes:

chairs


Don't install headers

I believe headers don't need to be installed.

Correct, we should not be installing anything other than the .so file.  This should be changed as far upstream as possible (e.g. master if needed).


[optimize] seata have many chinese  comments

I've provided seta with a shell script to check for Chinese files that appear in.java files。
Many of these documents are annotated in Chinese and need to be translated into English by authors and community members
#! /bin/sh ~
if [ $# -ne 1 ]
	then echo "usage check_CN.sh <dir>"
	exit
fi
{
	function check(){
		for file in `ls $1`
		do
			if [ -d $1"/"$file ]
			then
				check $1"/"$file
			else
				local path=$1"/"$file
				local name=$file
				if [ "${name##*.}" != "java" ]
					then continue
				fi
				if [[ `cat $path | sed 's/[a-zA-Z0-9[:punct:]ø]//g' | grep -v '^[[:space:]]*$'` ]]
					then echo ""
						echo $path
				fi
				cat -n $path | sed 's/[a-zA-Z0-9[:punct:]ø]//g' | grep -v '^[[:space:]]*$'
			fi
		done
	}
}
check $1

use it :
sh check_CN.sh /Users/lizhao/Documents/seata

Anybody do this?I'd like to do it.

Anybody do this?I'd like to do it.

now just update a little of chinese comments, i am looking forward to your help. Thank you

Hello!! Me and my partner kaitithoma want to contribute!! What can we do?

Hello!! Me and my partner kaitithoma want to contribute!! What can we do?
you can remove this Chinese comments in code

Hello!! Me and my partner kaitithoma want to contribute!! What can we do?

Thank you, you can remove these Chinese comments in code


Remove the hard-coded list of chains from the indexer

Ref: https://github.com/graphprotocol/indexer/issues/915
A lot more new chains are coming to the network.  We cannot maintain a list of supported chains in multiple places.  List of supported chains should be derived from the network subgraph or other canonical location.

See also https://github.com/graphprotocol/indexer/issues/905

Speaking with @alex-pakalniskis - we should give more thought to where the source of truth lives in the network. Setting as blocked.

@dwerner on chain, right?  (cc @alex-pakalniskis )


Good first issue tag?

Please make sure that this is a documentation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:doc_template
System information

TensorFlow version: N/A
Doc Link: https://github.com/tensorflow/tensorflow/blob/master/CONTRIBUTING.md

Describe the documentation issue
Is there a 'good first issue' tag similar to the one used in pandas-dev?
https://github.com/pandas-dev/pandas#contributing-to-pandas-
I see there is a contributions welcome tag
https://github.com/tensorflow/tensorflow/labels/stat%3Acontributions welcome
Perhaps I could add a sentence saying that:
If you want to contribute but you're not sure where to start, take a look at the issues with the "contributions welcome" label. These are issues that we believe are particularly well suited for outside contributions and first time contributors, often because we probably won't get to them right now. If you decide to start on an issue, leave a comment so that other people know that you're working on it. If you want to help out, but not alone, use the issue comment thread to coordinate.
I'm sure that could be worded better.
We welcome contributions by users. Will you be able to update submit a PR (use the doc style guide) to fix the doc Issue?

@raybellwaves - We will be adding this over the weekend. :slightly_smiling_face:

I would like to solve this issue.Can I contribute?

Added the tag good first issue, as well as help wanted, and will continue to populate! Thanks for the suggestion -- and please make sure to suggest in comments if you feel that an issue would be a good first project for a newcomer. :slightly_smiling_face:

Hey Please assign me any good firs issue


Extensions malfunction

Type: Performance Issue
Extensions keep disappearing every time I startup the app.
When I download an extension then close the app, the extensions don't show again when I reopen the app. I have been having this issue for the past one month.
VS Code version: Code 1.74.3 (97dec172d3256f8ca4bfb2143f3f76b503ca0534, 2023-01-09T16:59:02.252Z)
OS version: Windows_NT x64 10.0.18362
Modes:
Sandboxed: No

Hi @ammar1204  This issue is related to VS Code, please file it in https://github.com/microsoft/vscode/issues


Fix cicd 2

should update the DOCKER_USER too?
https://github.com/yahoojapan/athenz-authorizer/compare/fix_cicd...fix_cicd_2?expand=1#diff-1d37e48f9ceff6d8030570cd36286a61L12
keep old fix, remove v before processing
tested released OK, https://github.com/WindzCUHK/athenz-authorizer/releases
related https://github.com/yahoojapan/athenz-authorizer/pull/39

Change after we created Athenz user in YJ member.
Maybe your changes is better? But my change keeps backward compatibility...
merged

remove, rename, or fix go.mod for the following tags
v2.0.2
v2.0.1
v2.0.0

???


Table 5965 "Service Contract Header" - Field "Starting Date" - OnValidate

Dear ALAppExtensions Team,
We would like to request the following event publisher in Table 5965 "Service Contract Header" - Field "Starting Date" - OnValidate
var ServContractLine: Record "Service Contract Line"
Best Regards,

Please always put the full detailed signature of the requested events and the parameters passed in the call.
You help us implementing the requests faster when your request contains AL code copied from VSCode instead of screenshots.

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


Deploy lambda functions from AWS Serverless Repo via SAM

I would like to be able to deploy a third-party lambda function published to AWS Serverless Repo as part of a SAM template, e.g. to configure my application to use the Datadog Log Forwarder.
I've found documentation on publishing applications to Serverless Repo using SAM (https://docs.aws.amazon.com/serverlessrepo/latest/devguide/using-aws-sam.html) but consuming Serverless Repo applications with SAM doesn't appear to be supported. Is it possible to add support for this use-case?

Take a look on https://github.com/awslabs/serverless-application-model/blob/develop/versions/2016-10-31.md#awsserverlessapplication

Take a look on AWS::Serverless::Application

Ahh, thank you. I don't know how I missed that the first time around.
Is there a way of getting at the ARN of the lambda function associated with the AWS::Serverless::Application resource, so that we can reference it when creating additional resources in the SAM template?

The underlying Stack didn't defines a output, so I think it's not possible. But you can simply copy the function code and put it into your own stack or nested stack.
You can find the source code here.


feat: enable more certs

Checklist:

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the main branch of freeCodeCamp.
[ ] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

Enables three more certifications in the Chinese curricula.

Confirmation that certificates 7, 8, and 9 are at 100% in Crowdin.

Blocking this until we determine the approach for the embedded videos.


Cannot decode byte '\x72': Data.Text.Internal.Encoding.decodeUtf8: Invalid UTF-8 stream

Just tried you bot, looks awesome!
It crashed after a few lines on a french channel though with this error message:
Cannot decode byte '\x72': Data.Text.Internal.Encoding.decodeUtf8: Invalid UTF-8 stream

Number Six only supports UTF-8. The French IRC channel must be using some other encoding, like ISO 8859-1.


EV Charger: X1/X3-EVC G1.1

Hi there,
My EV charger is an X1/X3-EVC G1.1 (SN starting C1071). I'm getting an 'Unrecognised inverter type' but as it's a single phase installation, do you reckon it might work with the X1 API calls?

Hi. It is problem on my side. C1071 non listed.
I'll add it in next release. But please be prepared to test if everything works with your EVC, it is new type.

Thanks .. will keep you posted after I test :)

Should be fixed in https://github.com/PatrikTrestik/homeassistant-solax-http/releases/tag/v.1.2.5

Connected to EVC successfully. Preliminary testing suggests all working as it should


change user wide configuration file for linux

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:
not applicable, just documentation text edit
In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:
not applicable, just documentation text edit
What is the purpose of your pull request?

[ ] Bug fix
[X ] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
I think the documentation is mentioning the wrong path for the user wide configuration file for linux

No, it's not.


Skipping texture processing as converter.dirname is empty or invalid

I am using usd2gltf to convert a USDZ file to GLTF. The tool works well when I run it in a console, successfully converting the USDZ file with embedded textures. However, when running the same conversion in a FastAPI script, I encounter the following issue where textures are skipped during the conversion:
Skipping texture processing as converter.dirname is empty or invalid.
Logs from FastAPI Execution:

Length of USDZ file content: 9261065 bytes
USDZ file written to temporary path: /tmp/temp_usdz.usdz
Temporary USDZ file size: 9261065 bytes
Running command: /home/ec2-user/venv/bin/usd2gltf -d -i /tmp/temp_usdz.usdz -o ./PS5.glb -f
Standard Output:
Converting: /tmp/temp_usdz.usdz
To: ./PS5.glb
Skipping texture processing as converter.dirname is empty or invalid.
Skipping texture processing as converter.dirname is empty or invalid.
Skipping texture processing as converter.dirname is empty or invalid.
Converted!
GLB file size 2.3 MB without textures

Console Output (Working Scenario):
When running usd2gltf in the console, the conversion works as expected and the textures are embedded:
usd2gltf -d -i "PS5.usdz" -o "PS5.glb"
Console log includes texture embedding:

DEBUG:usd2gltf.converter:Embeded res: FileResource("baked_mesh_93702174_tex0.png")
DEBUG:usd2gltf.converter:Embeded res: FileResource("baked_mesh_93702174_ao0.png")
Converted!
GLB file size 11.3 MB with textures

Environment Details:

•	usd2gltf Version: 0.3.5
•	Python Version: 3.9
•	Operating System: Amazon lightsail running Amazon Linux
•	Execution Environment:
•	Working in console (inside a virtual environment)
•	Issue occurs when running in FastAPI (inside the same virtual environment)

I understood what the problem was.
Running command: /home/ec2-user/venv/bin/usd2gltf -d -i /tmp/temp_usdz.usdz -o ./PS5.glb -f
Wrong OUTPUT
./PS5.glb
Correct OUTPUT
PS5.glb
Funny thing is that the script doesn't have any problem with the wrong path for geometry.bin and successfully converts the file without textures.


Support net6.0 for Tentacle Upgrader

Background
Support net6.0 for Tentacle Upgrader
How to review this PR

Quality :heavy_check_mark:

Pre-requisites

[ ] I have read How we use GitHub Issues for help deciding when and where it's appropriate to make an issue.
[ ] I have considered informing or consulting the right people, according to the ownership map.
[ ] I have considered appropriate testing for my change.

@samdanaei @evolutionise - These were some changes from my original POC that were not included in the final MSI PR. Pulled them out to a separate PR for your reference.


Add free PO file editor

Hey there,
I have added a free PO file editor, it is an online tool for translating PO files for localization with Gettext.

Hi @goranluledzija That's cool! ✨ Many thanks for your contribution here 🎉


Is this all the requirements needs?

sorry new to code,but after install the package in requirements.txt when i run python run_tree_ring_watermark.py --run_name no_attack --w_channel 3 --w_pattern ring --start 0 --end 1000 --with_tracking --reference_model ViT-g-14 --reference_model_pretrain laion2b_s12b_b42k,, it seems always missing packages

Actually, i have few more questions, i don't know which version wandb is needed, i simply run "pip install wandb"
,but seems doesn't work
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "run_tree_ring_watermark.py", line 217, in
main(args)
File "run_tree_ring_watermark.py", line 27, in main
scheduler = DPMSolverMultistepScheduler.from_pretrained(args.model_id, subfolder='scheduler')
File "/mnt/traffic/home/qinyiming/.conda/envs/watermark/lib/python3.8/site-packages/diffusers/schedulers/scheduling_utils.py", line 118, in from_pretrained
config, kwargs = cls.load_config(
File "/mnt/traffic/home/qinyiming/.conda/envs/watermark/lib/python3.8/site-packages/diffusers/configuration_utils.py", line 354, in load_config
raise EnvironmentError(
OSError: stabilityai/stable-diffusion-2-1-base does not appear to have a file named scheduler_config.json.
wandb: 🚀 View run no_attack at: https://wandb.ai/qin1ming77-henan-university/diffusion_watermark/runs/1o9y15xt
wandb: ⭐ View project at: https://wandb.ai/qin1ming77-henan-university/diffusion_watermark
wandb: Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)
wandb: Find logs at: ./wandb/run-20240802_151629-1o9y15xt/logs
wandb: WARNING The new W&B backend becomes opt-out in version 0.18.0; try it out with wandb.require("core")! See https://wandb.me/wandb-core for more information.

can i ask few more questions, if i want to save the images generated in this way and watermarked removed images, do i need to add some code or juest run "python run_tree_ring_watermark.py --run_name no_attack --w_channel 3 --w_pattern ring --start 0 --end 1000 --with_tracking --reference_model ViT-g-14 --reference_model_pretrain laion2b_s12b_b42k" to see the result?

Hi @qym77, sorry for the late reply. I was a little busy with the NeurIPS rebuttal.
I think your problem might be with the package version. Can you check if you are using:
PyTorch == 1.13.0
transformers == 4.23.1
diffusers == 0.11.1

The current code only supports very old diffusers version, but you check this reimplementation for the latest diffusers: https://huggingface.co/spaces/devingulliver/dendrokronos/blob/main/app.py. It's very clean.
For saving the images, you can do something like this: https://github.com/YuxinWenRick/tree-ring-watermark/issues/19#issuecomment-1969269423. But you put them at line 103, and save orig_image_w (watermarked image) and orig_image_w_auged (after attack) separately.
Let me know if you have further questions!

Hi @qym77, sorry for the late reply. I was a little busy with the NeurIPS rebuttal.
I think your problem might be with the package version. Can you check if you are using:
PyTorch == 1.13.0
transformers == 4.23.1
diffusers == 0.11.1

The current code only supports very old diffusers version, but you check this reimplementation for the latest diffusers: https://huggingface.co/spaces/devingulliver/dendrokronos/blob/main/app.py. It's very clean.
For saving the images, you can do something like this: #19 (comment). But you put them at line 103, and save orig_image_w (watermarked image) and orig_image_w_auged (after attack) separately.
Let me know if you have further questions!

sorry to bother u,here are problems still not solved, my PyTorch is 1.10.0，the others is the same version,and does the issue"No module named 'datasets' " really can be solved by "pip install datasets"? because after i run this,it seems install many packages but not you mentioned in the other reply

whats more i get other error is"AttributeError: module 'wandb' has no attribute 'init' ", i think because the wandb version,but actually i dont need to track now,at least. I just want to save the images generated in this way and images after attack,so i set the args.--with_tracking False,but it still have this error

Hi @qym77 , sorry about all the confusion, --with_tracking is a "store_true" argument, if you don't want to use wandb, you can simply delete --with_tracking in your command line.
Let me know if you still have trouble running the code!